LoT_PRC8/_module/nss/dlg_plott_05.nss

28 lines
806 B
Plaintext
Raw Normal View History

2023-09-25 21:32:17 -04:00
//::///////////////////////////////////////////////
//:: FileName dlg_plott_05
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 5/23/2009 12:59:48 AM
//:://////////////////////////////////////////////
#include "nw_i0_tool"
void main()
{
// Give the speaker some gold
RewardPartyGP(500000, GetPCSpeaker());
// Give the speaker some XP
RewardPartyXP(500000, GetPCSpeaker());
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "iplotgolanjournal");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
// Set the variables
SetLocalInt(GetPCSpeaker(), "iplottkingsquest", 300);
}