How to make an alternate recipe for a vanilla item?
Posted: Tue Jul 21, 2015 6:21 pm
I'm trying to make a Stone-to-Steel Furnace mod, and I want to add a recipe that takes a Stone Furnace, Steel, and Stone Bricks to make a Steel Furnace.
How do I have the recipe appear right next to the Steel Furnace icon in the inventory recipe menu?
How do I have the recipe appear right next to the Steel Furnace icon in the inventory recipe menu?
Code: Select all
--------------
--recipe.lua--
--------------
data:extend(
{
{
type = "recipe",
name = "stone-to-steel-furnace",
enabled = "true",
ingredients =
{
{"stone-furnace", 1},
{"steel-plate", 8},
{"stone-brick", 5}
},
result = "steel-furnace"
}
}
)
------------
--item.lua--
------------
data:extend(
{
{
type = "item",
name = "steel-furnace",
icon = "__stone-to-steel-furnace-converter__/furnace-convert.png",
flags = {"goes-to-quickbar"},
subgroup = "smelting-machine",
order = "c[stone-to-steel-furnace]",
place_result = "steel-furnace",
stack_size = 50
}
}
)