Initial commit
Initial commit [v9.7]
This commit is contained in:
13
_module/nss/trashcan.nss
Normal file
13
_module/nss/trashcan.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
void main()
|
||||
{
|
||||
object oItem;
|
||||
oItem = GetFirstItemInInventory(OBJECT_SELF);
|
||||
while(GetIsObjectValid(oItem))
|
||||
{
|
||||
SetPlotFlag(oItem,FALSE);
|
||||
SetIsDestroyable(TRUE,FALSE,FALSE);
|
||||
DestroyObject(oItem,0.0);
|
||||
oItem = GetNextItemInInventory(OBJECT_SELF);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user