Amon_PRC8/_module/nss/rall_open_chest.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

18 lines
256 B
Plaintext

void main()
{
object oPC = GetPCSpeaker();
object oItem;
oItem = GetItemPossessedBy(oPC, "BlackDiamond");
if (GetIsObjectValid(oItem))
DestroyObject(oItem);
object oTarget;
oTarget = GetObjectByTag("rall_chest_plot");
SetLocked(oTarget, FALSE);
}