23 lines
456 B
Plaintext
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();
|
|
}
|
|
|