32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName vathekqaction
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 12/20/2004 10:49:02 PM
|
|
//:://////////////////////////////////////////////
|
|
#include "nw_i0_tool"
|
|
|
|
void main()
|
|
{
|
|
// Give the speaker some gold
|
|
GiveGoldToCreature(GetPCSpeaker(), 1500);
|
|
|
|
// Give the speaker some XP
|
|
RewardPartyXP(500, GetPCSpeaker());
|
|
|
|
// Give the speaker the items
|
|
CreateItemOnObject("bps_armour_lathf", GetPCSpeaker(), 1);
|
|
CreateItemOnObject("bps_wep_lathwill", GetPCSpeaker(), 1);
|
|
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "BPS_Plt_SoulV");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
ActionTakeItem(oItemToTake, GetPCSpeaker());
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "BPS_Plt_BodyV");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
ActionTakeItem(oItemToTake, GetPCSpeaker());
|
|
}
|