17 lines
396 B
Plaintext
17 lines
396 B
Plaintext
int StartingConditional()
|
|
{
|
|
int iResult = TRUE; // ASG_CCHEST
|
|
object oCChest =GetNearestObjectByTag("ASG_CCHEST");
|
|
object oSelf = OBJECT_SELF;
|
|
if (GetIsObjectValid(oCChest))
|
|
{
|
|
object oItem = GetItemPossessedBy(oCChest,"Parchment");
|
|
// Parchement
|
|
if (GetIsObjectValid(oItem))
|
|
{
|
|
iResult = FALSE;
|
|
}
|
|
}
|
|
return iResult;
|
|
}
|