NWNDS/nwn_dark_sun/at_gerrofreward.nss

25 lines
722 B
Plaintext
Raw Normal View History

//::///////////////////////////////////////////////
//:: FileName at_gerrofreward
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 8/21/2002 11:49:03 AM
//:://////////////////////////////////////////////
#include "nw_i0_tool"
void main()
{
// Give the speaker some gold
GiveGoldToCreature(GetPCSpeaker(), 500);
// Give the speaker some XP
RewardPartyXP(600, GetPCSpeaker());
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "QST_BANDITHEART");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
}