39 lines
319 B
Plaintext
39 lines
319 B
Plaintext
|
|
|
|
|
|
void main()
|
|
{
|
|
location lLoc = GetLocation(OBJECT_SELF);
|
|
SetPlotFlag(OBJECT_SELF, FALSE);
|
|
object item = GetFirstItemInInventory(OBJECT_SELF);
|
|
while (GetIsObjectValid(item)){
|
|
DestroyObject(item);
|
|
CreateObject(OBJECT_TYPE_ITEM, "brokenloot", lLoc);
|
|
item=GetNextItemInInventory(OBJECT_SELF);
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|