Loading technologys seems to be unable to find the recipes

Place to get help with not working mods / modding interface.
Post Reply
Erdbeerbaer
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon Feb 27, 2017 8:24 pm
Contact:

Loading technologys seems to be unable to find the recipes

Post 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()
My english is good but not perfect

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

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

Post 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]"},

Erdbeerbaer
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon Feb 27, 2017 8:24 pm
Contact:

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

Post by Erdbeerbaer »

Did not work....
My english is good but not perfect

Erdbeerbaer
Burner Inserter
Burner Inserter
Posts: 6
Joined: Mon Feb 27, 2017 8:24 pm
Contact:

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

Post by Erdbeerbaer »

Anyone else who can help me?
My english is good but not perfect

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

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

Post 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

Post Reply

Return to “Modding help”