Lankhmar_PRC8/_module/nss/bg_10xp_100gld.nss
Jaysyn904 ebc0c6a9b2 Initial commit
Initial commit [v9.7]
2025-04-03 12:54:47 -04:00

23 lines
456 B
Plaintext

#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();
}