Mod i've made making an error

Place to get help with not working mods / modding interface.
tmr_2000
Burner Inserter
Burner Inserter
Posts: 17
Joined: Fri Apr 03, 2015 4:07 pm
Contact:

Mod i've made making an error

Post by tmr_2000 »

I've made this mod and it's not working. After consulting the factorio log i get an error i do not know what means or how to fix. (i am new to modding)

Code: Select all

   1.088 Error Util.cpp:58: __cargo_plane__/data.lua:3: __cargo_plane__/prototypes/recipes.lua:41: '}' expected (to close '{' at line 36) near '{'
Here the whole mod is attached aswell.
Can someone please fix it and expain to me what's wrong. Thank you!
Attachments
cargo_plane_1.0.0.zip
(1.38 MiB) Downloaded 100 times
daniel34
Global Moderator
Global Moderator
Posts: 2761
Joined: Thu Dec 25, 2014 7:30 am
Contact:

Re: Mod i've made making an error

Post by daniel34 »

You are missing a comma after line 40 of recipes.lua {"advanced-circuit",100}, and another one after effects = "propellor", "plane-control-unit", in technologies.lua line 24.

Then recipes.lua line 22 should be plastic-bar instead of plastic, and entities.lua line 7 should be minable = {mining_time = 1, result = "cargo-plane"}, instead of cargo-ship (or you are missing the item for cargo-ship).

You are also missing an entity for the plane-control-unit or flight-control-unit (you have different names for that, stick to one).
quick links: log file | graphical issues | wiki
Post Reply

Return to “Modding help”