PWE_PRC8/_module/nss/destroycrystal.nss
Jaysyn904 ee1dc35889 Initial Commit
Initial Commit
2025-04-03 10:29:41 -04:00

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);
}