Ancordia_PRC8/_module/nss/tgw_keycheck002.nss

12 lines
284 B
Plaintext
Raw Permalink Normal View History

2023-09-21 19:51:32 -04:00
int StartingConditional()
{
string sInstance = "002";
string sAgentID = "001";
object oKey = GetObjectByTag("HouseKey"+sInstance);
object oOwner = GetItemPossessor(oKey);
string sOwnerTag = GetTag(oOwner);
if (!((sOwnerTag=="KeyChest" + sAgentID)))
return FALSE;
return TRUE;
}