Lankhmar_PRC8/_module/nss/bg_10xp_100gld.nss

23 lines
456 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
#include "x0_i0_partywide"
#include "nw_i0_plot"
void main()
{
// Get the PC who is in this conversation.
object oPC = GetPCSpeaker();
// Only fire once.
if ( GetLocalInt(GetModule(), "DO_ONCE__" + GetTag(OBJECT_SELF)) )
return;
SetLocalInt(GetModule(), "DO_ONCE__" + GetTag(OBJECT_SELF), TRUE);
// Give 100 gold (to party) to the PC.
GiveGoldToCreature(oPC, 100);
GiveXPToAll(oPC, 10);
PlayOldTheme();
}