18 lines
333 B
Plaintext
18 lines
333 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oSelf = OBJECT_SELF;
|
||
|
object oPC = GetLastUsedBy();
|
||
|
if (GetLocalInt(oSelf,"iAmTrapped")!=0)
|
||
|
{
|
||
|
ActionStartConversation(oPC,"_uoa_tchest_tlk",TRUE,FALSE);
|
||
|
return;
|
||
|
}
|
||
|
if (GetLocalInt(oSelf,"iAmLocked")!=0)
|
||
|
{
|
||
|
ActionStartConversation(oPC,"_uoa_tchest_tlk",TRUE,FALSE);
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
|
||
|
}
|