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

@@ -222,6 +222,29 @@ int SpawnCheckCustom(object oSpawn)
}
//:: Checks for stage 98 or lower (Drusilla's not dead) for the "Vengeful Druid quest" */
//:: Checks for non-completion of "The Outcasts" quest
if (nSpawnCheckCustom == 53)
{
//:: Initialize major variables
object oArea = GetArea(OBJECT_SELF);
object oPC = GetFirstObjectInArea(oArea);
//:: Cycle through PCs in Area
while (oPC != OBJECT_INVALID)
{
//:: Check quest stage
if ( RetrieveQuestState("outcasts", oPC) <= 3 )
{
nProcessSpawn = TRUE;
//SendMessageToPC(oPC, "Spawn Processed");
SetLocalInt(oSpawn, "SpawnProcessed", TRUE);
}
oPC = GetNextObjectInArea(oArea);
}
}
//:: Checks for non-completion of "The Outcasts" quest
// -------------------------------------------
// Only Make Modifications Between These Lines