Lankhmar_PRC8/_module/nss/gv_crbtdggr1.nss

22 lines
465 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
#include "x0_i0_partywide"
void main()
{
// Get the creature who triggered this event.
object oPC = GetPCSpeaker();
// Give 5 XP (to party) to the PC.
GiveXPToAll(oPC, 5);
SetLocalString(oPC, "cbsbnt1", "1");
// Give the speaker the items
CreateItemOnObject("crbtdggr1", GetPCSpeaker(), 1);
// Destroy an object (not fully effective until this script ends).
DelayCommand(4.0, DestroyObject(GetObjectByTag("cbsbnt1")));
}