21 lines
582 B
Plaintext
21 lines
582 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: FileName ayla_rewards
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Script Wizard
|
||
|
//:: Created On: 8/26/2003 2:42:57 PM
|
||
|
//:://////////////////////////////////////////////
|
||
|
#include "nw_i0_tool"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
// Give the speaker some gold
|
||
|
RewardPartyGP(200, GetPCSpeaker());
|
||
|
|
||
|
// Give the speaker some XP
|
||
|
RewardPartyXP(100, GetPCSpeaker());
|
||
|
//Make sure the NPC can only give the reward once.
|
||
|
SetLocalInt(OBJECT_SELF, "rewardonce", 1);
|
||
|
|
||
|
}
|