Lankhmar_PRC8/_module/nss/bain_erwan_1.nss

23 lines
477 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
#include "x0_i0_partywide"
void main()
{
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
object oTarget;
SetLocalString(oPC, "bnerwn", "1");
oTarget = GetObjectByTag("Bain");
AssignCommand(GetObjectByTag("Erwan"), SetFacingPoint(GetPosition(oTarget)));
// Give 5 XP (to party) to the PC.
GiveXPToAll(oPC, 5);
// Update all players' journals.
AddJournalQuestEntry("Bain and Erwan", 1, oPC, FALSE, TRUE);
}