hello people
please help in fix mod to work in 13.15
problem in 12.0 info
files
Please fix mod in
Please fix mod in
- Attachments
-
- GalacticTrade_0.6.6.zip
- (163.76 KiB) Downloaded 108 times
Re: Please fix mod in
- 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)
- Attachments
-
- GalacticTrade_0.6.6.zip
- GalacticTrade updated for 0.13
- (82.31 KiB) Downloaded 113 times
Re: Please fix mod in
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)