AOC_PRC8/_module/nss/holy_check.nss

18 lines
377 B
Plaintext
Raw Permalink Normal View History

2025-04-03 11:24:16 -04:00
int StartingConditional()
{
int oFlag = 0;
object oItem = GetFirstItemInInventory(OBJECT_SELF);
while(GetIsObjectValid(oItem))
{
if (GetLocalInt(oItem, "holyA_done")==1)
{oFlag=1;}
oItem = GetNextItemInInventory(OBJECT_SELF);
}
// Inspect local variables
if(!(oFlag == 1))
return FALSE;
return TRUE;
}