Added Mine & Caverns raise & lower functionality
Added Mine & Caverns raise & lower functionality. Revamped Level 1 events to match PnP. Updated Level 1: Core. Added new Footcatcher trap type. Added Underwater heartbeat to Glop Lake Underwater. Full compile.
This commit is contained in:
51
_module/nss/ra_lvl01_onexit.nss
Normal file
51
_module/nss/ra_lvl01_onexit.nss
Normal file
@@ -0,0 +1,51 @@
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
/*//
|
||||
|
||||
Level 1: The Lair of the Dung Beast
|
||||
onExit script
|
||||
ra_lvl01_onexit.nss
|
||||
|
||||
Wandering Monsters: Check once per 30 minutes on 1d20
|
||||
|
||||
Detections: Faint evil from the whole place; slightly more to the south east.
|
||||
|
||||
Continuous Effects: The stench of this level requires all characters to make
|
||||
a Fortitude save (DC 10) upon entering the level and every 30 minutes
|
||||
thereafter or all rolls are at –2 morale penalty due to the distraction
|
||||
caused by the overpowering smell.
|
||||
|
||||
*///
|
||||
//::////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
void main()
|
||||
{
|
||||
//:: Get the entering object (usually a PC)
|
||||
object oPC = GetExitingObject();
|
||||
|
||||
//:: Clears Level 1 stench message int var,
|
||||
//:: so it will show up again next time they enter
|
||||
DelayCommand(0.0f,DeleteLocalInt(oPC, "DO_ONCE__" + GetTag(OBJECT_SELF)));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user