Moved Player Tool check from Heartbeat to onEnter & onLevelup. Added Trash Barrel to several areas. Updated ms_name_inc
16 lines
351 B
Plaintext
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);
|
|
}
|
|
}
|