Factorio World


Mod that changes the world generation to be a real-world map.

Content
a month ago
0.14 - 2.0
13.6K
Environment

g Console message

8 months ago
(updated 8 months ago)

When any change is made to runtime settings, a message is printed to the console:

You shouldn't change the world=gen settings after you started a savegame. This will break the generating for new parts of the map.
The change is ignored for now, but will take effect when restarting the game.
Return them to what they were, or risk smegging up your save!
Your settings were:
Scale = 6
Spawn: North America, United States, New York; x = 2064, y = 406
Use large map = false
Repeat map = true

Factorio World does not have runtime variables to change and the map gen settings are startup settings, so not sure why this message appears.

7 months ago

It seems that this message can be provoked with the P.U.M.P. mod. Whenever you place pumpjacks on an oil field using it, this message is displayed.

3 months ago

Just comment out line 36 to 45 in control.lua

--[[script.on_event(defines.events.on_runtime_mod_setting_changed, function(event)
    game.print("You shouldn't change the world-gen settings after you started a savegame. This will break the generating for new parts of the map.")
    game.print("The change is ignored for now, but will take effect when restarting the game.")
    game.print("Return them to what they were, or risk smegging up your save!")
    game.print("Your settings were: ")
    game.print("Scale = " .. scale)
    game.print("spawn: " .. spawn_settings.position .. "; x = " .. spawn_settings.x .. ", y = " .. spawn_settings.y)
    game.print("Use large map = " .. (use_large_map and "true" or "false"))
    game.print("Repeat map = " .. (repeat_map and "true" or "false"))
end)]]
a month ago

Factorio World does seem to have runtime variables, most of these https://github.com/TheOddler/FactorioWorld/blob/master/settings.lua are in runtime-global, not startup...

Was annoyed by the message and tried this https://github.com/TheOddler/FactorioWorld/pull/29, seems to work - feel free to merge or discard.

a month ago

Thank you for the pull request! Just merged it, and about to make a new release.

a month ago

Thanks a lot, hope it fixes all that! :-)

a month ago

Release done :D Yea hopefully that fixed it, didn't test very extensively, so let me know if there's anything going wrong still. And thank you so much for the PR, great to see people still care about this mod :D

23 days ago

Man, I do care about your mod :) https://ibb.co/9k2xdxjr
It is great, and you left instructions to apply another picture, which is even better. Many thanks!

23 days ago

Oh damn that's amazing! So cool and makes me happy to see people really running with it :D

New response