Please fix mod in

Place to get help with not working mods / modding interface.
Post Reply
Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Please fix mod in

Post by Airat9000 »

:? hello people :D

please help in fix mod to work in 13.15

problem in 12.0 info

files
Attachments
GalacticTrade_0.6.6.zip
(163.76 KiB) Downloaded 106 times

daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Please fix mod in

Post by daniel34 »

  • 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)
It is working in 0.13.15, but I haven't tested it much.
Attachments
GalacticTrade_0.6.6.zip
GalacticTrade updated for 0.13
(82.31 KiB) Downloaded 111 times
quick links: log file | graphical issues | wiki

Airat9000
Smart Inserter
Smart Inserter
Posts: 1418
Joined: Fri Mar 28, 2014 12:32 am
Contact:

Re: Please fix mod in

Post by Airat9000 »

daniel34 wrote:
  • 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)
It is working in 0.13.15, but I haven't tested it much.
thanks back in testing

Post Reply

Return to “Modding help”