Spawner, Creature & Item work

Spawner work.  Creatures & placeables in Kobold cave now respawn.  Placeables in Forest of Hope: South now respawn.  Fixed up a few more items & creatures.
This commit is contained in:
Jaysyn904
2022-12-07 00:12:34 -05:00
parent 16a00a66f5
commit cc1ba32b9c
101 changed files with 9683 additions and 98621 deletions

View File

@@ -4,7 +4,7 @@
// void main (){}
#include "pqj_inc"
int ParseFlagValue(string sName, string sFlag, int nDigits, int nDefault);
int ParseSubFlagValue(string sName, string sFlag, int nDigits, string sSubFlag, int nSubDigits, int nDefault);
@@ -143,12 +143,26 @@ int SpawnCheckPCs(object oSpawn)
}
}
//
//:: Checks for non-completion of "The Outcasts" quest.
if (nCheckPCs == 5)
{
//:: Check Journal Quest Entry
int nQuest = RetrieveQuestState("outcasts", oPC);
if (nQuest <= 2)
{
//:: Quest Entry is less than 3, Spawn!
nProcessSpawn = TRUE;
}
}
//:: Checks for non-completion of "The Outcasts" quest.
//:: #52 - Spawn if Drusilla isn't dead
if (nCheckPCs == 52)
{
// Check Journal Quest Entry
int nQuest = GetLocalInt(oPC, "VengefulDruid");
int nQuest = RetrieveQuestState("VengefulDruid", oPC);
if (nQuest <= 89)
{
// Quest Entry is less to or equal to 89, Spawn!