18 lines
460 B
Plaintext
18 lines
460 B
Plaintext
|
int StartingConditional()
|
||
|
{
|
||
|
object oPC = GetPCSpeaker();
|
||
|
|
||
|
object oItem = GetFirstItemInInventory(oPC);
|
||
|
int nValue;
|
||
|
while (GetIsObjectValid(oItem))
|
||
|
{
|
||
|
if (GetLocalInt(oItem, "Prototype") == TRUE)
|
||
|
{
|
||
|
if (GetLocalString(oItem, "Type") == "Ammo" && GetTag(oItem) == "NW_WAMBU001") return TRUE;
|
||
|
return FALSE;
|
||
|
}
|
||
|
oItem = GetNextItemInInventory(oPC);
|
||
|
}
|
||
|
return FALSE;
|
||
|
}
|