PGCC_PRC8/_module/nss/vtw_toomanyitems.nss
Jaysyn904 e51634d39b Initial upload
Initial upload.
2024-10-09 14:17:22 -04:00

21 lines
576 B
Plaintext

int StartingConditional()
{
object oAnvil = GetNearestObjectByTag("pAnvilOfWonder");
//Look for anvil object
if (oAnvil != OBJECT_INVALID)
{
//Make sure an item is on the anvil
object oItem = GetFirstItemInInventory(oAnvil);
if (oItem != OBJECT_INVALID)
{
//Make sure no extra items are on the anvil
object oNext = GetNextItemInInventory(oAnvil);
if (oNext == OBJECT_INVALID)
{
return FALSE;
}
}
}
return TRUE;
}