LoD_PRC8/_module/nss/bank_heartbeat.nss
Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

15 lines
501 B
Plaintext

void main()
{
object oItem = GetFirstItemInInventory(OBJECT_SELF);
while (OBJECT_INVALID != oItem)
{
if (GetResRef(oItem) == "banktoken1000000") DestroyObject(oItem);
else if (GetResRef(oItem) == "banktoken100000") DestroyObject(oItem);
else if (GetResRef(oItem) == "banktoken10000") DestroyObject(oItem);
else if (GetResRef(oItem) == "banktoken1000") DestroyObject(oItem);
oItem = GetNextItemInInventory(OBJECT_SELF);
}
}