Amon_PRC8/_module/nss/pentexiting.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

26 lines
655 B
Plaintext

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);
}
}