Can some one help me out with updating this mod for .16?
https://mods.factorio.com/mods/Razorin/Single-Splitter
The author doesn't appear to be active at the moment. I tried updating it myself thinking it'd be pretty easy as it only contains a single items, but when I update the version, I get some weird error saying it doesn't have a "icon size" value and that something to do with Bob's Inserters and Logistics for some reason. When I go in to add the "icon size" value as it desired, it still says it isn't there. I just don't know what it wants.
Help updating Single Splitters for .16
-
- Burner Inserter
- Posts: 14
- Joined: Tue Dec 19, 2017 3:33 am
- Contact:
Re: Help updating Single Splitters for .16
[Koub] Moved to modding help
Koub - Please consider English is not my native language.
Re: Help updating Single Splitters for .16
without taking a look at the 2nd problem, the first one is pretty easy.
With 0.16 each object with a picture now also needs a icon_size = 32/64/128.
For example
icon = "__CoolMod__/Folder/AnotherFolder/AwesomeIconx32.png",
icon_size = 32,
Check the technology and item part of the mod, so in most cases technology.lua and items.lua, maybe entities.lua (not sure about last one)
With 0.16 each object with a picture now also needs a icon_size = 32/64/128.
For example
icon = "__CoolMod__/Folder/AnotherFolder/AwesomeIconx32.png",
icon_size = 32,
Check the technology and item part of the mod, so in most cases technology.lua and items.lua, maybe entities.lua (not sure about last one)
-
- Burner Inserter
- Posts: 14
- Joined: Tue Dec 19, 2017 3:33 am
- Contact:
Re: Help updating Single Splitters for .16
It was the "icon_size" value in the recipe.lua that I missed. Thank you!
-
- Burner Inserter
- Posts: 14
- Joined: Tue Dec 19, 2017 3:33 am
- Contact:
Re: Help updating Single Splitters for .16
New issue. I can launch the game fine now, but when I try to load a save or even make a new game it says "Notice First argument must be a number, table, or string. stack traceback; <box symbol I can't type or c/p>__Single-Splitter__/control.lua:in main chunk". I have tried going into the control.lua and looking at things, first checking line 13 as I assume that's what it meant, but that doesn't fix anything.
-
- Burner Inserter
- Posts: 14
- Joined: Tue Dec 19, 2017 3:33 am
- Contact:
Re: Help updating Single Splitters for .16
Well, removing line 13 from control.lua let's the mod load. However, the single splitter does nothing when placed. :/ Progress I guess.
So it's know, the line in control.lua in question that's causing the issue is: "script.on_event(defines.events.on_preplayer_mined_item, function(event) OnPrePlayerMinedItem(event) end)"
So it's know, the line in control.lua in question that's causing the issue is: "script.on_event(defines.events.on_preplayer_mined_item, function(event) OnPrePlayerMinedItem(event) end)"