Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
8
_module/nss/jw_platetrap_dis.nss
Normal file
8
_module/nss/jw_platetrap_dis.nss
Normal file
@@ -0,0 +1,8 @@
|
||||
// if trap is disarmed give EXP to someone and turn OFF the associated trigger
|
||||
|
||||
void main()
|
||||
{
|
||||
GiveXPToCreature(GetLastDisarmed(),10);
|
||||
SetLocalInt(GetObjectByTag(GetTag(OBJECT_SELF)+"t"),"trapped",FALSE);
|
||||
DestroyObject(OBJECT_SELF);
|
||||
}
|
||||
Reference in New Issue
Block a user