Lankhmar_PRC8/_module/nss/rey_leftie_1.nss

23 lines
478 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, "rylftie", "1");
oTarget = GetObjectByTag("Leftie");
AssignCommand(GetObjectByTag("Rey"), SetFacingPoint(GetPosition(oTarget)));
// Give 5 XP (to party) to the PC.
GiveXPToAll(oPC, 5);
// Update all players' journals.
AddJournalQuestEntry("Rey and Leftie", 1, oPC, FALSE, TRUE);
}