1
0
mirror of https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git synced 2024-12-12 10:13:58 +02:00

Fix missing migration for regrowth surface init and updated one of the mod setting descriptions.

This commit is contained in:
Oarcinae 2024-11-20 16:11:28 -05:00
parent 3a9ade6224
commit b3a697df8c
3 changed files with 8 additions and 3 deletions

View File

@ -1,6 +1,6 @@
---------------------------------------------------------------------------------------------------
Version: 2.1.13
Date: ????
Date: 2024-11-20
Major Features:
- Adding support for secondary spawns on Gleba, Vulcanus and Aquilo. This is still experimental and will likely have some issues. Please report any bugs you find. If you want to use this feature, you must go into the in game GUI and check the enable secondary spawns checkbox for the other planets specifically.
Changes:

View File

@ -94,7 +94,7 @@ oarc-mod-main-force-name=The name of the main force. This is the default team th
oarc-mod-default-surface=The default surface that players will spawn on if they join the main team or if spawning on other surfaces is not enabled.
oarc-mod-scale-resources-around-spawns=This scales resources around every spawn area so far away spawns aren't immediately next to very rich deposits.
oarc-mod-modified-enemy-spawning=This scales the enemy spawning globally based on the allowed spawn distances to avoid every spawn being surrounded by behemoth worms.
oarc-mod-modified-enemy-spawning=This changes and scales enemy spawning in several ways to ensure that each spawn area is safe regardless of evolution level or distance from map center. I highly recommend leaving this feature enabled, as players would likely be overrun by enemies immediately when spawning or landing on new planets.
# oarc-mod-modified-enemy-easy-evo=This is the maximum evolution that the enemies in the warning zone (closest) to a spawn will be FIXED at to ensure all players have a safe start! The warning zone area can be configured via the custom scenario.
# oarc-mod-modified-enemy-medium-evo=This is the maximum evolution that the enemies in the danger zone (next closest) to a spawn will be allowed to reach. Helps ensure players have a safe start! The danger zone area can be configured via the custom scenario.
oarc-mod-minimum-online-time=The minimum time a player must be online before they leave, otherwise their spawn area will be cleaned up.

View File

@ -4,7 +4,12 @@
-- TODO: Hopefully a temporary measure to make sure map center never gets deleted.
-- If we can detect and redirect cargo-pods, then this can be removed.
-- Loop through each surface
-- Regrowth make sure all planet surfaces are initialized first
for _,planet in pairs(game.planets) do
RegrowthInitSurface(planet.name, storage.ocfg.regrowth.enable_regrowth)
end
-- Loop through each surface and ensure the center is marked safe from regrowth.
for _,surface in pairs(game.surfaces) do
if (storage.rg[surface.name] ~= nil) then
for i = -2, 2 do