Hello
I am tweaking a mod to make it more inline with an Idea I have and I need to know what the recipe name for the straight and curved rail's.
In the technology.lua file I find lines like this.
{ type = "unlock-recipe", recipe = "y_loco_desw_recipe",},
I think in order to make rails available I need to add the recipe names to this list of effects.
but I don't know the names and so far I have not been able to find a list of recipe's on the wiki.
if you happen to know how I can find the names for the rails or if you know what they are Please tell me.
thank you.
recipe names.
Re: recipe names.
Look at data/base/prototypes/recipe/recipe.lua You'll find:
Of course, if you mean the modded rails, you'll need to look in the code of the mod you are changing.
Code: Select all
{
type = "recipe",
name = "straight-rail",
enabled = false,
ingredients =
{
{"stone", 1},
{"iron-stick", 1},
{"steel-plate", 1}
},
result = "straight-rail",
result_count = 2
},
{
type = "recipe",
name = "curved-rail",
enabled = false,
ingredients = {{"stone", 4}, {"iron-stick", 4}, {"steel-plate", 4}},
result = "curved-rail",
result_count = 2
},
Re: recipe names.
thank you vary much for your help!!