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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user