Lankhmar_PRC8/_module/nss/cnv_dooley_1.nss

25 lines
531 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
#include "x0_i0_partywide"
void main()
{
object oActor;
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
// Have "mrdooley" perform a sequence of actions.
oActor = GetObjectByTag("mrdooley");
AssignCommand(oActor, ActionMoveToObject(GetNearestObjectByTag("WP_mrdooley1")));
// Set a local string.
SetLocalString(oPC, "mrdooly1", "1");
SetMapPinEnabled (GetObjectByTag ("WP_Rxbry"), TRUE);
// Give 5 experience (to party) to the PC.
GiveXPToAll(oPC, 5);
}