HiddenTradition_PRC8/_module/nss/at_baldwinplans2.nss
2024-06-20 15:47:42 -04:00

31 lines
824 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName at_baldwinplans2
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 03/07/09 23:03:51
//:://////////////////////////////////////////////
#include "nw_i0_tool"
#include "nw_j_assassin"
void main()
{
// Give the speaker some gold
RewardPartyGP(1000, GetPCSpeaker());
// Give the speaker some XP
RewardPartyXP(300, GetPCSpeaker());
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "it_BaldwinsPlans");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
// Set the variables
aSetPLocalInt(GetPCSpeaker(), "BaldwinsPlans", 2);
}