Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 20:24:01 -04:00
parent 4e16ca63ca
commit 5197ad9a4d
7741 changed files with 5391820 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
void main()
{
object oPC = GetEnteringObject();
int oItem = GetHitDice(oPC);
if (oItem >= 20)
{
object oSound = GetObjectByTag("falling");
SoundObjectPlay(oSound);
SendMessageToPC(oPC, "The floor is falling apart beneath you!.");
effect eBUMP = EffectVisualEffect(VFX_FNF_SCREEN_SHAKE);
ApplyEffectToObject(DURATION_TYPE_INSTANT,eBUMP,oPC, 3.0);
object oDrop = GetWaypointByTag("lichentrance");
//jump the PC to the destination
SendMessageToPC(oPC, "You have fallen into a secret chamber!");
DelayCommand(3.0,AssignCommand (oPC,JumpToObject(oDrop)));
}
}