Initial Commit
Initial Commit
This commit is contained in:
11
_module/nss/tgw_keycheck002.nss
Normal file
11
_module/nss/tgw_keycheck002.nss
Normal file
@@ -0,0 +1,11 @@
|
||||
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;
|
||||
}
|
Reference in New Issue
Block a user