there are a few bugs related to this, no icons being displayed in the recipe unlocks, as well as a crash when hovering over them related to RecipeSlot::createToolTip, the recipes are also not unlocked when the research is completed, however the recipies work fine on their own (when not being enabled by a tech research)
Screenshot of GUI:
icons should be iron ore, copper ore, stone and coal, but are not displayed
[Oxyd] Crash when hovering mod-recipe that crafts base items
-
- Burner Inserter
- Posts: 16
- Joined: Fri Jul 17, 2015 11:36 pm
- Contact:
[Oxyd] Crash when hovering mod-recipe that crafts base items
- Attachments
-
- Resource-Conversions_0.1.0.zip
- mod file
- (10.98 KiB) Downloaded 148 times
Re: Crash when hovering over mod-recipe that crafts base items
Please upload the log of the crash.
-
- Burner Inserter
- Posts: 16
- Joined: Fri Jul 17, 2015 11:36 pm
- Contact:
Re: Crash when hovering over mod-recipe that crafts base items
Here you go!
- Attachments
-
- factorio-current.log
- log file of crash
- (5.13 KiB) Downloaded 153 times
Re: [Oxyd] Crash when hovering mod-recipe that crafts base items
This part of your data.lua is wrong:
It is meant to be recipe = "copper-to-coal", etc – without the {}'s around the string. If you get rid of the {}'s, it works just fine.
Fixed in 0.13.11 – Factorio will correctly refuse to load with an invalid data.lua like that.
Code: Select all
{
type = "unlock-recipe",
recipe = {"iorn-to-copper"}
},
{
type = "unlock-recipe",
recipe = {"copper-to-coal"}
},
{
type = "unlock-recipe",
recipe = {"coal-to-stone"}
},
{
type = "unlock-recipe",
recipe = {"stone-to-iron"}
},
Fixed in 0.13.11 – Factorio will correctly refuse to load with an invalid data.lua like that.
-
- Burner Inserter
- Posts: 16
- Joined: Fri Jul 17, 2015 11:36 pm
- Contact: