Tweaked items, creatures, and areas

Added 2 new quests to Displaced Valley connected areas.
This commit is contained in:
EpicValor
2023-10-08 23:57:44 -05:00
parent 00c6a80e45
commit 6ee16d51cd
80 changed files with 17672 additions and 4045 deletions

27
_module/nss/deronsafe.nss Normal file
View File

@@ -0,0 +1,27 @@
//::///////////////////////////////////////////////
//:: 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);
}