11 lines
151 B
Plaintext
11 lines
151 B
Plaintext
|
void main()
|
||
|
{
|
||
|
object oItem=GetFirstItemInInventory();
|
||
|
|
||
|
if (!GetIsObjectValid(oItem))
|
||
|
{
|
||
|
SetPlotFlag(OBJECT_SELF,FALSE);
|
||
|
DestroyObject(OBJECT_SELF);
|
||
|
}
|
||
|
}
|