Removed JAI

Removed JAI, added CODI AI.  Fixed encounters & NPCs in Forest of Hope Central.  Fixed Outcast store not opening.  Added Druid Grove & associated NPCS.
This commit is contained in:
Jaysyn904
2022-12-04 01:43:33 -05:00
parent 9a3a98bf52
commit f143ccfc24
353 changed files with 136542 additions and 85666 deletions

View File

@@ -51,7 +51,10 @@ void GrowEm(object oPC)
void main()
{
string sTag;
string sResRef = GetResRef(OBJECT_SELF);
object oNPC;
// User defined OnSpawn event requested?
int nSpecEvent = GetLocalInt(OBJECT_SELF,"X2_USERDEFINED_ONSPAWN_EVENTS");
@@ -470,10 +473,19 @@ void main()
}
// Execute default OnSpawn script.
ExecuteScript("nw_c2_default9", OBJECT_SELF);
//:: Execute OnSpawn script.
if (sResRef == "monst_spider004")
{
//:: Execute drop in from above spawn.
ExecuteScript("nw_c2_dropin9", OBJECT_SELF);
}
else
{
//:: Execute default OnSpawn script.
ExecuteScript("nw_c2_default9", OBJECT_SELF);
}
// Execute PRC OnSpawn script.
//:: Execute PRC OnSpawn script.
ExecuteScript("prc_npc_spawn", OBJECT_SELF);