16 lines
191 B
Plaintext
16 lines
191 B
Plaintext
|
void main()
|
||
|
{
|
||
|
|
||
|
object oPC = GetExitingObject();
|
||
|
|
||
|
if (!GetIsPC(oPC)) return;
|
||
|
|
||
|
object oItem;
|
||
|
oItem = GetItemPossessedBy(oPC, "pass");
|
||
|
|
||
|
if (GetIsObjectValid(oItem))
|
||
|
DestroyObject(oItem);
|
||
|
|
||
|
}
|
||
|
|