End make recips for pic and etc ...
This commit is contained in:
parent
869144ff58
commit
56edaf2eba
|
@ -153,6 +153,15 @@ for i, value in ipairs(metals_ore_array) do
|
|||
stack_max = 64,
|
||||
groups = { craftitem=1 },
|
||||
})
|
||||
--Cafte dust
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "owl_tech:"..metals_ore_array[i][1].."_dust",
|
||||
recipe = {"owl_tech:work_mortar","owl_tech:"..metals_ore_array[i][1].."_ingot"},
|
||||
replacements = {
|
||||
{"owl_tech:work_mortar","owl_tech:work_mortar"},
|
||||
}
|
||||
})
|
||||
--dirt dust
|
||||
minetest.register_craftitem("owl_tech:"..metals_ore_array[i][1].."_dirt_dust", {
|
||||
description = S(metals_ore_array[i][2].. " dirt dust"),
|
||||
|
@ -199,7 +208,7 @@ for i, value in ipairs(metals_ore_array) do
|
|||
pickaxey = { speed = 6, level = 4, uses = metals_ore_array[i][6]*2}
|
||||
},
|
||||
})
|
||||
-- make pick head
|
||||
--Pick head
|
||||
minetest.register_craftitem("owl_tech:pick_head_"..metals_ore_array[i][1], {
|
||||
description = S("Pick head "..metals_ore_array[i][1]),
|
||||
_doc_items_longdesc = S("Pick head use for crafte pick in any place"),
|
||||
|
@ -207,11 +216,21 @@ for i, value in ipairs(metals_ore_array) do
|
|||
stack_max = 64,
|
||||
groups = { craftitem=1 },
|
||||
})
|
||||
--Crafte pick head
|
||||
minetest.register_craft({
|
||||
type = "shaped",
|
||||
output = "owl_tech:pick_head_"..metals_ore_array[i][1],
|
||||
recipe = {
|
||||
{"owl_tech:"..metals_ore_array[i][1].."_plate","owl_tech:"..metals_ore_array[i][1].."_ingot","owl_tech:"..metals_ore_array[i][1].."_ingot"},
|
||||
{"owl_tech:work_file","","owl_tech:work_hammer",},
|
||||
{"","",""}
|
||||
}
|
||||
})
|
||||
--Crafte pick from pick head
|
||||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "owl_tech:pick_"..metals_ore_array[i][1],
|
||||
recipe = {"owl_tech:pick_head"..metals_ore_array[i][1],"mcl_core:stick"}
|
||||
recipe = {"owl_tech:pick_head_"..metals_ore_array[i][1],"mcl_core:stick"}
|
||||
})
|
||||
--axe
|
||||
minetest.register_tool("owl_tech:axe_".. metals_ore_array[i][1], {
|
||||
|
@ -247,7 +266,17 @@ for i, value in ipairs(metals_ore_array) do
|
|||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "owl_tech:axe_"..metals_ore_array[i][1],
|
||||
recipe = {"owl_tech:axe_head"..metals_ore_array[i][1],"mcl_core:stick"}
|
||||
recipe = {"owl_tech:axe_head_"..metals_ore_array[i][1],"mcl_core:stick"}
|
||||
})
|
||||
--Crafte head
|
||||
minetest.register_craft({
|
||||
type = "shaped",
|
||||
output = "owl_tech:axe_head_"..metals_ore_array[i][1],
|
||||
recipe = {
|
||||
{"owl_tech:"..metals_ore_array[i][1].."_plate","owl_tech:"..metals_ore_array[i][1].."_ingot",""},
|
||||
{"owl_tech:"..metals_ore_array[i][1].."_ingot","owl_tech:work_hammer",""},
|
||||
{"owl_tech:work_file","",""}
|
||||
}
|
||||
})
|
||||
--Sword
|
||||
minetest.register_tool("owl_tech:sword_"..metals_ore_array[i][1], {
|
||||
|
@ -282,7 +311,17 @@ for i, value in ipairs(metals_ore_array) do
|
|||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "owl_tech:sword_"..metals_ore_array[i][1],
|
||||
recipe = {"owl_tech:sword_head"..metals_ore_array[i][1],"mcl_core:stick"}
|
||||
recipe = {"owl_tech:sword_head_"..metals_ore_array[i][1],"mcl_core:stick"}
|
||||
})
|
||||
--Crafte sword head
|
||||
minetest.register_craft({
|
||||
type = "shaped",
|
||||
output = "owl_tech:sword_head_"..metals_ore_array[i][1],
|
||||
recipe = {
|
||||
{"","owl_tech:"..metals_ore_array[i][1].."_plate",""},
|
||||
{"owl_tech:work_file","owl_tech:"..metals_ore_array[i][1].."_plate","owl_tech:work_hammer"},
|
||||
{"","",""}
|
||||
}
|
||||
})
|
||||
--shovel
|
||||
minetest.register_tool("owl_tech:shovel_"..metals_ore_array[i][1], {
|
||||
|
@ -307,10 +346,10 @@ for i, value in ipairs(metals_ore_array) do
|
|||
},
|
||||
})
|
||||
--Shovel head
|
||||
minetest.register_craftitem("owl_tech:shovel_head"..metals_ore_array[i][1], {
|
||||
minetest.register_craftitem("owl_tech:shovel_head_"..metals_ore_array[i][1], {
|
||||
description = S("Shovel head "..metals_ore_array[i][1]),
|
||||
_doc_items_longdesc = S("Shovel head use for crafte pick in any place"),
|
||||
inventory_image = "(owl_tech_pick_head.png^[colorize:"..metals_ore_array[i][5]..":128)",
|
||||
inventory_image = "(owl_tech_shovel_head.png^[colorize:"..metals_ore_array[i][5]..":128)",
|
||||
stack_max = 64,
|
||||
groups = { craftitem=1 },
|
||||
})
|
||||
|
@ -318,7 +357,17 @@ for i, value in ipairs(metals_ore_array) do
|
|||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "owl_tech:shovel_"..metals_ore_array[i][1],
|
||||
recipe = {"owl_tech:shovel_head"..metals_ore_array[i][1],"mcl_core:stick"}
|
||||
recipe = {"owl_tech:shovel_head_"..metals_ore_array[i][1],"mcl_core:stick"}
|
||||
})
|
||||
--Crafte sword head
|
||||
minetest.register_craft({
|
||||
type = "shaped",
|
||||
output = "owl_tech:shovel_head_"..metals_ore_array[i][1],
|
||||
recipe = {
|
||||
{"owl_tech:work_file","owl_tech:"..metals_ore_array[i][1].."_plate","owl_tech:work_hammer"},
|
||||
{"","owl_tech:"..metals_ore_array[i][1].."_ingot",""},
|
||||
{"","",""}
|
||||
}
|
||||
})
|
||||
--Hoe
|
||||
minetest.register_tool("owl_tech:hoe_"..metals_ore_array[i][1], {
|
||||
|
@ -353,7 +402,17 @@ for i, value in ipairs(metals_ore_array) do
|
|||
minetest.register_craft({
|
||||
type = "shapeless",
|
||||
output = "owl_tech:hoe_"..metals_ore_array[i][1],
|
||||
recipe = {"owl_tech:hoe_head"..metals_ore_array[i][1],"mcl_core:stick"}
|
||||
recipe = {"owl_tech:hoe_head_"..metals_ore_array[i][1],"mcl_core:stick"}
|
||||
})
|
||||
--Crafte hoe head
|
||||
minetest.register_craft({
|
||||
type = "shaped",
|
||||
output = "owl_tech:hoe_head_"..metals_ore_array[i][1],
|
||||
recipe = {
|
||||
{"owl_tech:work_file","owl_tech:"..metals_ore_array[i][1].."_plate",""},
|
||||
{"owl_tech:work_hammer","owl_tech:"..metals_ore_array[i][1].."_ingot",""},
|
||||
{"","",""}
|
||||
}
|
||||
})
|
||||
--stick
|
||||
minetest.register_craftitem("owl_tech:"..metals_ore_array[i][1].."_stick", {
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 5.0 KiB |
|
@ -4,7 +4,7 @@ local S = minetest.get_translator(minetest.get_current_modname())
|
|||
local name = minetest.get_current_modname()
|
||||
local path = minetest.get_modpath(name)
|
||||
--owl_tech_work_hammer_head.png owl_tech_hoe_stick.png
|
||||
|
||||
--Work hammer
|
||||
minetest.register_craftitem("owl_tech:work_hammer", {
|
||||
description = S("Work hammer"),
|
||||
_doc_items_longdesc = S("First way to get plater"),
|
||||
|
@ -22,6 +22,7 @@ minetest.register_craft({
|
|||
{"","mcl_core:stick",""}
|
||||
}
|
||||
})
|
||||
--Work file
|
||||
minetest.register_craftitem("owl_tech:work_file", {
|
||||
description = S("Work file"),
|
||||
_doc_items_longdesc = S("First way to get plater"),
|
||||
|
@ -39,3 +40,21 @@ minetest.register_craft({
|
|||
{"","mcl_core:stick",""}
|
||||
}
|
||||
})
|
||||
--Work mortar
|
||||
minetest.register_craftitem("owl_tech:work_mortar", {
|
||||
description = S("Work mortar"),
|
||||
_doc_items_longdesc = S("First way to get dusts"),
|
||||
inventory_image = "owl_tech_mortar.png",
|
||||
stack_max = 1,
|
||||
groups = { craftitem = 1 },
|
||||
}) --"mcl_core:stone"
|
||||
--Crafte worlk file
|
||||
minetest.register_craft({
|
||||
type = "shaped",
|
||||
output = "owl_tech:work_mortar",
|
||||
recipe = {
|
||||
{"","owl_tech:iron_ingot",""},
|
||||
{"mcl_core:stone","owl_tech:iron_ingot","mcl_core:stone"},
|
||||
{"mcl_core:stone","mcl_core:stick","mcl_core:stone"}
|
||||
}
|
||||
})
|
Loading…
Reference in New Issue