Aantioch_Infernum/_module/nss/king_give_3.nss
Jaysyn904 22947ad4b6 Initial Upload
Initial Upload
2023-08-08 16:22:17 -04:00

28 lines
857 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName king_give_3
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 22/11/2003 16:07:04
//:://////////////////////////////////////////////
#include "nw_i0_tool"
void main()
{
int DoOnce = GetCampaignInt("warlord_head",GetTag(OBJECT_SELF),GetPCSpeaker());
if (DoOnce==1) return;
// Give the speaker some gold
GiveGoldToCreature(GetPCSpeaker(), 5000);
// Give the speaker some XP
RewardPartyXP(5000, GetPCSpeaker(),FALSE);
object oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "warlordshead"); // Place item Tag here
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
SetCampaignInt("warlord_head",GetTag(OBJECT_SELF),1,GetPCSpeaker());
}