#include "nw_i0_tool" #include "nw_j_assassin" void main() { object oPC = GetPCSpeaker(); // Give the speaker some gold RewardPartyGP(200, oPC); // Give the speaker some XP RewardPartyXP(50, oPC); // Remove items from the player's inventory object oItemToTake; oItemToTake = GetItemPossessedBy(oPC, "it_CastleSupplies"); if(GetIsObjectValid(oItemToTake) != 0) DestroyObject(oItemToTake); // Set the variables aSetPLocalInt(oPC, "CastleSupplies", 2); AdjustAlignment(oPC, ALIGNMENT_GOOD, 10); }