21 lines
351 B
Plaintext
21 lines
351 B
Plaintext
|
|
#include "nw_i0_tool"
|
|
|
|
void main()
|
|
{
|
|
// Give the speaker some gold
|
|
GiveGoldToCreature(GetPCSpeaker(), 250);
|
|
|
|
// Give the speaker some XP
|
|
RewardPartyXP(10, GetPCSpeaker());
|
|
|
|
// Give the speaker the items
|
|
CreateItemOnObject("deadsword", GetPCSpeaker(), 1);
|
|
|
|
object oPC = GetPCSpeaker();
|
|
|
|
|
|
SetLocalString(oPC, "d_temp", "1");
|
|
|
|
}
|