Lankhmar_PRC8/_module/nss/enter_close_mdor.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

22 lines
282 B
Plaintext

void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
object oTarget;
oTarget = GetObjectByTag("myrtocash");
AssignCommand(oTarget, ActionCloseDoor(oTarget));
SetLocked(oTarget, TRUE);
oTarget = GetObjectByTag("Myrra");
DestroyObject(oTarget, 0.0);
}