Page 1 of 1
modding base - how to make it be save compatible?
Posted: Sun Apr 27, 2014 4:36 pm
by gonzalez6913
I've modded the base folder (saved a backup) but when i go in game and load my game, nothing changed, but when i start a new game, the changes can be seen though, so how do i make what i changed save-compatible?
Re: modding base - how to make it be save compatible?
Posted: Sun Apr 27, 2014 8:48 pm
by cube
If you changed something in the file control.lua, you have to copy it into the save manually.
If you changed recipes, use `game.player.force.resetrecipes()` in console, if you changed technologies, you need `game.player.force.resettechnologies()`.
Also, changing stuff in the base mod is generally not a good idea. When an update comes, it will fail and you will have to reinstall the game (or do some black magic and fix the installation).
For changing small stuff in the game it is best to create a small mod. A bare bones example mod is here:
https://github.com/bluecube/factorio-example-mod .
Re: modding base - how to make it be save compatible?
Posted: Mon Apr 28, 2014 1:00 am
by gonzalez6913
oh... thank you very much!!!
well i did backed it up already. Btw, are there a list of console commands?
Re: modding base - how to make it be save compatible?
Posted: Mon Apr 28, 2014 6:47 am
by ssilk
https://forums.factorio.com/wiki/inde ... le=Modding
But I become now an Euro from you for that, because that could be found by Internet search.
http://bit.ly/1mPN9v1

Re: modding base - how to make it be save compatible?
Posted: Mon Apr 28, 2014 11:23 am
by gonzalez6913
awww thanks! ill try googling harder next time