Code:
Code: Select all
local coin = {
type = "recipe",
name = "ewrycoin",
ingridients = {
{"iron_plate", 2},
},
result = "ewrycoin",
enabled = true,
}
data:extend({
coin
})
Code: Select all
local coin = {
type = "recipe",
name = "ewrycoin",
ingridients = {
{"iron_plate", 2},
},
result = "ewrycoin",
enabled = true,
}
data:extend({
coin
})
This should work if the result item exists, except for the obvious mistakes (typos) that will cause a crash on loading the game:ewrcraft wrote: Sun Dec 12, 2021 5:51 pm I'm create a mod with item and recipe but recipe don't showing. How I can fix it?
Code:
Code: Select all
local coin = {
type = "recipe",
name = "ewrycoin",
-- ingridients = {
ingredients = {
-- {"iron_plate", 2},
{"iron-plate", 2},
},
result = "ewrycoin",
enabled = true,
}