LoT_PRC8/_module/nss/kq8.nss

28 lines
776 B
Plaintext
Raw Normal View History

2023-09-25 21:32:17 -04:00
//::///////////////////////////////////////////////
//:: 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);
}