Files
Amon_PRC8/_module/nss/trash_barrel.nss
Jaysyn904 22d435b0f1 2026/06/09 Update
Moved Player Tool check from Heartbeat to onEnter & onLevelup.
Added Trash Barrel to several areas.
Updated ms_name_inc
2026-06-09 08:41:07 -04:00

16 lines
351 B
Plaintext

// This script will destroy any item placed inside of the trash barrel.
// Place OnClosed of placeable.
// Created by Zunath on August 12, 2007
void main()
{
object oItem = GetFirstItemInInventory(OBJECT_SELF);
while (GetIsObjectValid(oItem))
{
DestroyObject(oItem);
oItem = GetNextItemInInventory(OBJECT_SELF);
}
}