EpicValor 6ee16d51cd Tweaked items, creatures, and areas
Added 2 new quests to Displaced Valley connected areas.
2023-10-08 23:57:44 -05:00

28 lines
737 B
Plaintext

//::///////////////////////////////////////////////
//:: FileName deronsafe
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 1
//:://////////////////////////////////////////////
#include "nw_i0_tool"
void main()
{
// Give the speaker some XP
RewardPartyXP(1000, GetPCSpeaker());
// Give the speaker the items
CreateItemOnObject("edricskey", GetPCSpeaker(), 1);
// Remove items from the player's inventory
object oItemToTake;
oItemToTake = GetItemPossessedBy(GetPCSpeaker(), "L_sot");
if(GetIsObjectValid(oItemToTake) != 0)
DestroyObject(oItemToTake);
// Set the variables
SetLocalInt(GetPCSpeaker(), "deronsafe", 1);
}