31 lines
824 B
Plaintext
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);
|
|
|
|
}
|