13 lines
251 B
Plaintext
13 lines
251 B
Plaintext
|
// Simply destroy any item placed inside the container.
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oItem = GetInventoryDisturbItem();
|
||
|
int iType = GetInventoryDisturbType();
|
||
|
|
||
|
if(iType == INVENTORY_DISTURB_TYPE_ADDED)
|
||
|
{
|
||
|
DestroyObject(oItem);
|
||
|
}
|
||
|
}
|