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()
Loading technologys seems to be unable to find the recipes
-
- Burner Inserter
- Posts: 6
- Joined: Mon Feb 27, 2017 8:24 pm
- Contact:
Loading technologys seems to be unable to find the recipes
My english is good but not perfect
Re: Loading technologys seems to be unable to find the recipes
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]"},
type = "unlock-recipe",
recipe = "basic_connector"
----
basic = {name = "basic-connector", icon = _gfxpath.icon .. "basic-connector.png", order = _sorting_component .. "-b[connector]-b[basic]"},
-
- Burner Inserter
- Posts: 6
- Joined: Mon Feb 27, 2017 8:24 pm
- Contact:
Re: Loading technologys seems to be unable to find the recipes
Did not work....
My english is good but not perfect
-
- Burner Inserter
- Posts: 6
- Joined: Mon Feb 27, 2017 8:24 pm
- Contact:
Re: Loading technologys seems to be unable to find the recipes
Anyone else who can help me?
My english is good but not perfect
Re: Loading technologys seems to be unable to find the recipes
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
You need to make sure you are using the correct one. this is true in effects and possibly tech names etc