Lankhmar_PRC8/_module/nss/cnv_ul_dr_kos.nss

23 lines
354 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
#include "x0_i0_partywide"
void main()
{
object oTarget;
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
SetLocalString(oPC, "hnchqst", "1");
// Give 5 experience (to party) to the PC.
GiveXPToAll(oPC, 5);
oTarget = GetObjectByTag("kosdoor");
SetLocked(oTarget, FALSE);
AssignCommand(oTarget, ActionOpenDoor(oTarget));
}