![Confused :?](./images/smilies/icon_e_confused.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
please help in fix mod to work in 13.15
problem in 12.0 info
files
Code: Select all
"dependencies": ["base >= 0.13"],
"factorio_version" : "0.13",
thanks back in testingdaniel34 wrote:It is working in 0.13.15, but I haven't tested it much.
- I deleted these folders and files (they are not needed, just a copy):
- prototypes\prototypes
- prototypes\graphics
- prototypes\locale
- prototypes\config.lua
- prototypes\control.lua
- prototypes\data.lua
- prototypes\data-final-fixes.lua
- prototypes\info.json
- Fixed the info.json by adding
Code: Select all
"dependencies": ["base >= 0.13"], "factorio_version" : "0.13",
- control.lua
- removed require "defines"
- replaced game.get_player() with game.players[] (a few times)
- replaced game.daytime with game.surfaces["nauvis"].daytime
- added global.gt_base_values["dummy-selection-tool"] = global.gt_base_values["dummy-selection-tool"] or 1 to remove warning message in new game
- prototypes\recipe\trading-chest.lua
- replaced smart-chest with steel-chest
- prototypes\scripts\trading-chest.lua
- removed require "defines"
- replaced game.get_player() with game.players[] (a few times)