29 lines
821 B
Plaintext
Raw Permalink Normal View History

//::///////////////////////////////////////////////
//:: FileName at_archbish3
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 03/08/14 14:28:30
//:://////////////////////////////////////////////
#include "nw_i0_tool"
#include "nw_j_assassin"
void main()
{
// Give the speaker some gold
RewardPartyGP(500, GetPCSpeaker());
// Give the speaker some XP
RewardPartyXP(200, GetPCSpeaker());
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "it_ArchbishopsBody");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
// Set the variables
aSetPLocalInt(GetPCSpeaker(), "ArchbishopQuest", 3);
}