PWE_PRC8/_module/nss/ats_at_trash_yes.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

13 lines
309 B
Plaintext

void main()
{
object oTrashCan = OBJECT_SELF;
object oPlayer = GetPCSpeaker();
object oItemInTrash = GetFirstItemInInventory(oTrashCan);
while(GetIsObjectValid(oItemInTrash) == TRUE)
{
DestroyObject(oItemInTrash);
oItemInTrash = GetNextItemInInventory(oTrashCan);
}
}