Level One rework

Revamped Level One: North & Level One: Central to be as close to PnP as possible.  Added Level One: Latrene 3 area.  Added efreeti appearance from CEP3.  Revamped efreeti bottle to be like PnP (no wishes, yet)
This commit is contained in:
Jaysyn904
2023-09-23 22:02:32 -04:00
parent 7832a55868
commit 2e30722043
106 changed files with 40744 additions and 9332 deletions

View File

@@ -2,7 +2,7 @@
//:: Name x2_def_ondeath
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
/*
Default OnDeath script
*/
//:://////////////////////////////////////////////
@@ -12,7 +12,19 @@
void main()
{
object oNPC = OBJECT_SELF;
object oNPC = OBJECT_SELF;
string sResRef = GetResRef(oNPC);
//:: Special handling for Dung Monster
if (sResRef == "ra_dungmonster")
{
float fRejuveTime = HoursToSeconds(24) * d4(1);
SetLocalInt(GetModule(), "DungMonsterActive", FALSE);
SetLocalInt(GetModule(), "DungMonsterDead", TRUE);
ActionDoCommand(DelayCommand(fRejuveTime, SetLocalInt(GetModule(), "DungMonsterDead", FALSE)));
}
// Makes sure armor's droppable flag is set to 0
SetDroppableFlag(GetItemInSlot(INVENTORY_SLOT_CHEST, OBJECT_SELF), 0);