Initial Commit
Initial Commit [v1.01]
This commit is contained in:
25
_module/nss/pentexiting.nss
Normal file
25
_module/nss/pentexiting.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
void main()
|
||||
{
|
||||
object oExiting = GetExitingObject();
|
||||
if (GetTag(oExiting) == "Pent1")
|
||||
{
|
||||
SetLocalInt(GetModule(), "PentTrapped", GetLocalInt(GetModule(),"PentTrapped")-1);
|
||||
}
|
||||
if (GetTag(oExiting) == "Pent2")
|
||||
{
|
||||
SetLocalInt(GetModule(), "PentTrapped", GetLocalInt(GetModule(),"PentTrapped")-1);
|
||||
}
|
||||
if (GetTag(oExiting) == "Pent3")
|
||||
{
|
||||
SetLocalInt(GetModule(), "PentTrapped", GetLocalInt(GetModule(),"PentTrapped")-1);
|
||||
}
|
||||
if (GetTag(oExiting) == "Pent4")
|
||||
{
|
||||
SetLocalInt(GetModule(), "PentTrapped", GetLocalInt(GetModule(),"PentTrapped")-1);
|
||||
}
|
||||
if (GetTag(oExiting) == "Pent5")
|
||||
{
|
||||
SetLocalInt(GetModule(), "PentTrapped", GetLocalInt(GetModule(),"PentTrapped")-1);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user