17 lines
272 B
Plaintext
17 lines
272 B
Plaintext
void main()
|
|
{
|
|
|
|
object oPC = GetEnteringObject();
|
|
|
|
if (!GetIsPC(oPC)) return;
|
|
|
|
if (GetItemPossessedBy(oPC, "leadercrystal")== OBJECT_INVALID)
|
|
return;
|
|
|
|
object oItem;
|
|
oItem = GetItemPossessedBy(oPC, "leadercrystal");
|
|
|
|
if (GetIsObjectValid(oItem)) DestroyObject(oItem);
|
|
|
|
}
|