18 lines
376 B
Plaintext
18 lines
376 B
Plaintext
int StartingConditional()
|
|
{
|
|
int oFlag = 0;
|
|
object oItem = GetFirstItemInInventory(OBJECT_SELF);
|
|
while(GetIsObjectValid(oItem))
|
|
{
|
|
if (GetLocalInt(oItem, "keen_done")==1)
|
|
{oFlag=1;}
|
|
|
|
oItem = GetNextItemInInventory(OBJECT_SELF);
|
|
}
|
|
// Inspect local variables
|
|
|
|
if(!(oFlag == 1))
|
|
return FALSE;
|
|
return TRUE;
|
|
}
|