1
0
mirror of https://github.com/veden/Rampant.git synced 2024-12-30 21:19:46 +02:00

limited map processing before switching map

This commit is contained in:
Aaron Veden 2021-12-06 21:57:55 -08:00
parent ef80cb8bac
commit 4eb1f66465
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
2 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ Date: 23. 11. 2021
- Neutral death events that aren't cliffs are no longer processed
- Added support for AbandonedRuins mod
- Victory scent is now processed regardless of current active surface
- Pheromone map processing only does upto 5% of generated chunks on a surface before switching to the next surface
Tweaks:
- Increase chance to upgrade an enemy structure from 5% to 30%
- New enemy regional bases that have two factions now do 75% on one faction and 25% on the faction for building and upgrading enemy structures

View File

@ -993,7 +993,7 @@ script.on_event(defines.events.on_tick,
-- local profiler = game.create_profiler()
local map = universe.activeMap
if (not map) or (universe.processedChunks > #map.processQueue) then
if (not map) or (universe.processedChunks > (#map.processQueue * 0.05)) then
universe.mapIterator, map = next(universe.maps, universe.mapIterator)
if not map then
universe.mapIterator, map = next(universe.maps, universe.mapIterator)