28 lines
776 B
Plaintext
28 lines
776 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: FileName kq8
|
|
//:://////////////////////////////////////////////
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Script Wizard
|
|
//:: Created On: 5/23/2009 2:47:48 PM
|
|
//:://////////////////////////////////////////////
|
|
#include "nw_i0_tool"
|
|
|
|
void main()
|
|
{
|
|
// Give the speaker some gold
|
|
RewardPartyGP(100000, GetPCSpeaker());
|
|
|
|
// Give the speaker some XP
|
|
RewardPartyXP(50000, GetPCSpeaker());
|
|
|
|
|
|
// Remove items from the player's inventory
|
|
object oItemToTake;
|
|
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "golanjournal");
|
|
if(GetIsObjectValid(oItemToTake) != 0)
|
|
DestroyObject(oItemToTake);
|
|
// Set the variables
|
|
SetLocalInt(GetPCSpeaker(), "kq", 200);
|
|
|
|
}
|