Add copper axe
This commit is contained in:
parent
ebd034bde7
commit
3b95752d74
|
@ -33,6 +33,29 @@ minetest.register_tool("mcl_copper_stuff:pick", {
|
|||
pickaxey = { speed = 5, level = 3, uses = 192 }
|
||||
},
|
||||
})
|
||||
-- Copper Axe
|
||||
minetest.register_tool("mcl_copper_stuff:axe", {
|
||||
description = S("Copper Axe"),
|
||||
_doc_items_longdesc = axe_longdesc,
|
||||
inventory_image = "default_tool_copperaxe.png",
|
||||
wield_scale = wield_scale,
|
||||
groups = { tool=1, axe=1, dig_speed_class=3, enchantability=9 },
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 1.25,
|
||||
max_drop_level=3,
|
||||
damage_groups = {fleshy=9},
|
||||
punch_attack_uses = 96,
|
||||
},
|
||||
on_place = make_stripped_trunk,
|
||||
sound = { breaks = "default_tool_breaks" },
|
||||
_repair_material = "mcl_copper:copper_ingot",
|
||||
_mcl_toollike_wield = true,
|
||||
_mcl_diggroups = {
|
||||
axey = { speed = 5, level = 3, uses = 192 }
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
-- Registering crafts
|
||||
minetest.register_craft({
|
||||
output = "mcl_copper_stuff:pick",
|
||||
|
@ -41,4 +64,13 @@ minetest.register_craft({
|
|||
{"", "mcl_core:stick", ""},
|
||||
{"", "mcl_core:stick", ""},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = "mcl_copper_stuff:axe",
|
||||
recipe = {
|
||||
{"mcl_copper:copper_ingot", "mcl_copper:copper_ingot"},
|
||||
{"mcl_copper:copper_ingot", "mcl_core:stick"},
|
||||
{"", "mcl_core:stick"},
|
||||
}
|
||||
})
|
Loading…
Reference in New Issue