12 lines
284 B
Plaintext
12 lines
284 B
Plaintext
|
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;
|
||
|
}
|