Page 1 of 1

Loading technologys seems to be unable to find the recipes

Posted: Wed Mar 22, 2017 6:42 pm
by Erdbeerbaer
I have an probem making my mod (Surfaces_remake). Whenever it wants to load up my tech.lua it shows an random missing recipe error. Can anyone help me with that?

How to enable the loadup of the file? Just go to data.lua and remove the "--" from the last require()

Re: Loading technologys seems to be unable to find the recipes

Posted: Thu Mar 23, 2017 2:23 am
by Nexela
Best guess you are using _ underscore when you should be using the dash -

type = "unlock-recipe",
recipe = "basic_connector"


----

basic = {name = "basic-connector", icon = _gfxpath.icon .. "basic-connector.png", order = _sorting_component .. "-b[connector]-b[basic]"},

Re: Loading technologys seems to be unable to find the recipes

Posted: Thu Mar 23, 2017 9:10 am
by Erdbeerbaer
Did not work....

Re: Loading technologys seems to be unable to find the recipes

Posted: Tue Mar 28, 2017 6:45 pm
by Erdbeerbaer
Anyone else who can help me?

Re: Loading technologys seems to be unable to find the recipes

Posted: Tue Mar 28, 2017 9:25 pm
by Nexela
Your tech.lua file is using _ in places where it is expecting -

You need to make sure you are using the correct one. this is true in effects and possibly tech names etc