AOC_PRC8/_module/nss/trash_can.nss
Jaysyn904 5e558169a0 Initial Commit
Initial Commit
2025-04-03 11:24:16 -04:00

16 lines
349 B
Plaintext

void main()
{
object oPC = GetLastClosedBy();
object oItem = GetFirstItemInInventory(OBJECT_SELF);
while (GetIsObjectValid(oItem))
{
if ((GetResRef(oItem)!="div_key")&&(GetResRef(oItem)!="divine_note"))
{
DestroyObject(oItem);
}
oItem = GetNextItemInInventory(OBJECT_SELF);
}
PlaySound("gui_quick_erase");
}