22 lines
313 B
Plaintext
22 lines
313 B
Plaintext
|
|
|
|
void main()
|
|
{
|
|
|
|
ExecuteScript("ke_lukigen",OBJECT_SELF);
|
|
|
|
object oPC = GetLastOpenedBy();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
if (GetItemPossessedBy(oPC, "PulPrivate1")== OBJECT_INVALID)
|
|
return;
|
|
|
|
object oItem;
|
|
oItem = GetItemPossessedBy(oPC, "PulPrivate1");
|
|
|
|
if (GetIsObjectValid(oItem))
|
|
DestroyObject(oItem);
|
|
|
|
}
|