28 lines
740 B
Plaintext
28 lines
740 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName sc_019
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 13/01/2005 11:38:57 AM
|
||
|
//:://////////////////////////////////////////////
|
||
|
int StartingConditional()
|
||
|
{
|
||
|
int oFlag;
|
||
|
object oItem = GetFirstItemInInventory(OBJECT_SELF);
|
||
|
while(GetIsObjectValid(oItem))
|
||
|
{
|
||
|
if (GetLocalInt(oItem, "keen_done")==1)
|
||
|
{oFlag=1;}
|
||
|
|
||
|
oItem = GetNextItemInInventory(OBJECT_SELF);
|
||
|
}
|
||
|
// Inspect local variables
|
||
|
|
||
|
if(!(GetLocalInt(GetModule(), "staff") != 1))
|
||
|
return FALSE;
|
||
|
|
||
|
if(!(oFlag != 1))
|
||
|
return FALSE;
|
||
|
return TRUE;
|
||
|
}
|