Spoiler
float currentDayfloat currentTimebegin gameMode; Updates journal when player approaches Onyx Caverns.if ( player.getDistance socOnyxCavernsMarker <= 800 ) && ( getStage socQuestJesan == 35 ) setstage socQuestJesan 40endif; Timer for NPCs to appear.if ( getStage socQuestJesan 60 ) && ( set currentDay to gameDaysPassed set currentTime to gameHourendifif ( getStage socQuestJesan 60 ) && ( gameDaysPassed >= currentDay + 1 ) if gameHour >= currentTime socWarielRef.disable socCaptainRef.enable socCorruptSoldierARef.enable socCorruptSoldierBRef.enable setstage socQuestJesan 65 endifendifend