Recips ....

This commit is contained in:
ConfidentOwl 2022-12-26 20:30:12 +03:00
parent 6cf86adcb2
commit 869144ff58
3 changed files with 37 additions and 1 deletions

View File

@ -362,6 +362,15 @@ for i, value in ipairs(metals_ore_array) do
inventory_image = "owl_tech_stick.png^[colorize:"..metals_ore_array[i][5]..":128",
stack_max = 64,
groups = { craftitem=1 },
--carfte stick
minetest.register_craft({
type = "shapeless",
output = "owl_tech:"..metals_ore_array[i][1].."_stick",
recipe = {"owl_tech:work_file","owl_tech:"..metals_ore_array[i][1].."_ingot","owl_tech:"..metals_ore_array[i][1].."_ingot"},
replacements = {
{"owl_tech:work_file","owl_tech:work_file"},
}
})
})
--Block
minetest.register_node("owl_tech:"..metals_ore_array[i][1].."block", {

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

@ -9,6 +9,33 @@ minetest.register_craftitem("owl_tech:work_hammer", {
description = S("Work hammer"),
_doc_items_longdesc = S("First way to get plater"),
inventory_image = "owl_tech_work_hammer_head.png^owl_tech_hoe_stick.png",
stack_max = 64,
stack_max = 1,
groups = { craftitem = 1 },
})
--Crafte work hammer
minetest.register_craft({
type = "shaped",
output = "owl_tech:work_hammer",
recipe = {
{"owl_tech:iron_ingot","owl_tech:iron_ingot",""},
{"owl_tech:iron_ingot","owl_tech:iron_ingot",""},
{"","mcl_core:stick",""}
}
})
minetest.register_craftitem("owl_tech:work_file", {
description = S("Work file"),
_doc_items_longdesc = S("First way to get plater"),
inventory_image = "owl_tech_work_file.png",
stack_max = 1,
groups = { craftitem = 1 },
})
--Crafte worlk file
minetest.register_craft({
type = "shaped",
output = "owl_tech:work_file",
recipe = {
{"","owl_tech:iron_ingot",""},
{"","owl_tech:iron_ingot",""},
{"","mcl_core:stick",""}
}
})