Amon_PRC8/_module/nss/witchjail1.nss

25 lines
471 B
Plaintext
Raw Permalink Normal View History

2025-04-03 19:00:46 -04:00
void main()
{
object oModule = GetModule();
object oClicker = GetClickingObject();
object oTarget = GetTransitionTarget(OBJECT_SELF);
location lLoc = GetLocation(GetObjectByTag("witchjail"));
location lLoc2 = GetLocation(GetObjectByTag("wizdeny1"));
if((GetLocalInt(GetModule(), "witchkillcampers") == 1))
{
AssignCommand(oClicker,JumpToLocation(lLoc));
}
else
{
AssignCommand(oClicker,JumpToLocation(lLoc2));
}
}