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

27 lines
412 B
Plaintext

void main()
{
object oPC = GetPCSpeaker();
object oTarget;
oTarget = GetObjectByTag("greshdr");
AssignCommand(oTarget, ActionCloseDoor(oTarget));
SetLocked(oTarget, TRUE);
oTarget = GetObjectByTag("lrdgdoor2");
AssignCommand(oTarget, ActionCloseDoor(oTarget));
SetLocked(oTarget, TRUE);
object oItem;
oItem = GetItemPossessedBy(oPC, "msrsmap");
if (GetIsObjectValid(oItem))
DestroyObject(oItem);
}