Ancordia_PRC8/_module/nss/tgw_keycheck004.nss
Jaysyn904 102ba7dab6 Initial Commit
Initial Commit
2023-09-21 19:51:32 -04:00

12 lines
284 B
Plaintext

int StartingConditional()
{
string sInstance = "004";
string sAgentID = "001";
object oKey = GetObjectByTag("HouseKey"+sInstance);
object oOwner = GetItemPossessor(oKey);
string sOwnerTag = GetTag(oOwner);
if (!((sOwnerTag=="KeyChest" + sAgentID)))
return FALSE;
return TRUE;
}