Changed folder name.
Changed folder name.
This commit is contained in:
26
_module/nss/leetentrance.nss
Normal file
26
_module/nss/leetentrance.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
void main()
|
||||
{
|
||||
object oPC = GetEnteringObject();
|
||||
|
||||
|
||||
SendMessageToPC(oPC, "Although there are no chickens to be seen, you see a trough full of chicken feed.");
|
||||
|
||||
SendMessageToPC(oPC, "There are hundreds of chicken tracks, and even a few feathers here and there, but no chickens.");
|
||||
object Egg = GetItemPossessedBy(oPC, "Egg");
|
||||
if (Egg == OBJECT_INVALID){return;}
|
||||
object Feed = GetItemPossessedBy(oPC, "Feed");
|
||||
if (Feed == OBJECT_INVALID){return;}
|
||||
object Skull = GetItemPossessedBy(oPC, "Skull");
|
||||
if (Skull == OBJECT_INVALID){return;}
|
||||
object Feather = GetItemPossessedBy(oPC, "Feather");
|
||||
if (Feather == OBJECT_INVALID){return;}
|
||||
DestroyObject(Egg);
|
||||
DestroyObject(Feed);
|
||||
DestroyObject(Skull);
|
||||
DestroyObject(Feather);
|
||||
DelayCommand(1.2, SendMessageToPC(oPC, "Suddenly, a vortex opens underneath you, and you are sucked into it!"));
|
||||
location vortex = GetLocation(oPC);
|
||||
location chicken = GetLocation(GetWaypointByTag("chicken"));
|
||||
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect( VFX_FNF_IMPLOSION), vortex);
|
||||
DelayCommand(3.0, AssignCommand(oPC, JumpToLocation(chicken)));
|
||||
}
|
Reference in New Issue
Block a user