Lankhmar_PRC8/_module/nss/cnv_dtry_slf_5xp.nss

21 lines
402 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
#include "x0_i0_partywide"
void main()
{
object oSelf = OBJECT_SELF;
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
// Cutscene functions:
SetCutsceneMode(oPC, FALSE);
// Give 5 XP (to party) to the PC.
GiveXPToAll(oPC, 5);
// Destroy an object (not fully effective until this script ends).
DelayCommand(4.5, DestroyObject(oSelf));
}