added copper + diamond tools

This commit is contained in:
cale 2016-12-19 10:03:12 +01:00
parent 184874fba8
commit 0ab58a146a
12 changed files with 139 additions and 11 deletions

View File

@ -414,15 +414,6 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = "default:shovel",
recipe = {
{"", "furnace:iron_plate", ""},
{"", "default:string_strong", ""},
{"", "default:stick", ""},
}
})
minetest.register_craft({
output = "default:flint_pick",
recipe = {
@ -432,6 +423,8 @@ minetest.register_craft({
}
})
-- pick
minetest.register_craft({
output = "default:pick",
recipe = {
@ -459,6 +452,8 @@ minetest.register_craft({
}
})
-- axe
minetest.register_craft({
output = "default:axe",
recipe = {
@ -468,6 +463,55 @@ minetest.register_craft({
}
})
minetest.register_craft({
output = "default:axe_copper",
recipe = {
{"default:blade", "furnace:copper_plate", ""},
{"", "default:string_strong", ""},
{"", "default:stick", ""},
}
})
minetest.register_craft({
output = "default:axe_diamond",
recipe = {
{"default:blade", "furnace:diamond_plate", ""},
{"", "default:string_strong", ""},
{"", "default:stick", ""},
}
})
-- shovel
minetest.register_craft({
output = "default:shovel",
recipe = {
{"", "furnace:iron_plate", ""},
{"", "default:string_strong", ""},
{"", "default:stick", ""},
}
})
minetest.register_craft({
output = "default:shovel_copper",
recipe = {
{"", "furnace:copper_plate", ""},
{"", "default:string_strong", ""},
{"", "default:stick", ""},
}
})
minetest.register_craft({
output = "default:shovel_diamond",
recipe = {
{"", "furnace:diamond_plate", ""},
{"", "default:string_strong", ""},
{"", "default:stick", ""},
}
})
-- shears
minetest.register_craft({
output = "default:shears",
recipe = {

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 B

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 343 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 335 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

View File

@ -67,7 +67,7 @@ minetest.register_tool("default:axe", {
tool_capabilities = {
max_drop_level=3,
groupcaps= {
choppy={times={[1]=1.00, [2]=0.40, [3]=0.30}, uses=70, maxlevel=1}
choppy={times={[1]=1.00, [2]=0.40, [3]=0.30}, uses=90, maxlevel=1}
},
damage_groups = {fleshy=2},
}
@ -126,6 +126,42 @@ minetest.register_tool("default:pick_copper", {
}
})
minetest.register_tool("default:axe_copper", {
description = "Copper Axe",
inventory_image = "default_axe_copper.png",
tool_capabilities = {
max_drop_level=3,
groupcaps= {
choppy={times={[1]=0.90, [2]=0.20, [3]=0.10}, uses=150, maxlevel=1}
},
damage_groups = {fleshy=2},
}
})
minetest.register_tool("default:shovel_copper", {
description = "Copper Shovel",
inventory_image = "default_shovel_copper.png",
tool_capabilities = {
max_drop_level=3,
groupcaps= {
crumbly={times={[1]=0.70, [2]=0.30, [3]=0.10}, uses=100, maxlevel=1}
},
damage_groups = {fleshy=1},
}
})
minetest.register_tool("default:saw_copper", {
description = "Copper Saw",
inventory_image = "default_saw_copper.png",
tool_capabilities = {
max_drop_level=3,
groupcaps= {
choppy={times={[1]=0.20, [2]=0.20, [3]=0.10}, uses=120, maxlevel=1}
},
damage_groups = {fleshy=1},
}
})
-- diamond
minetest.register_tool("default:pick_diamond", {
@ -142,6 +178,42 @@ minetest.register_tool("default:pick_diamond", {
}
})
minetest.register_tool("default:axe_diamond", {
description = "Diamond Axe",
inventory_image = "default_axe_diamond.png",
tool_capabilities = {
max_drop_level=3,
groupcaps= {
choppy={times={[1]=0.30, [2]=0.20, [3]=0.10}, uses=150, maxlevel=1}
},
damage_groups = {fleshy=2},
}
})
minetest.register_tool("default:shovel_diamond", {
description = "Diamond Shovel",
inventory_image = "default_shovel_diamond.png",
tool_capabilities = {
max_drop_level=3,
groupcaps= {
crumbly={times={[1]=0.30, [2]=0.20, [3]=0.10}, uses=100, maxlevel=1}
},
damage_groups = {fleshy=1},
}
})
minetest.register_tool("default:saw_diamond", {
description = "Diamond Saw",
inventory_image = "default_saw_diamond.png",
tool_capabilities = {
max_drop_level=3,
groupcaps= {
choppy={times={[1]=0.10, [2]=0.10, [3]=0.10}, uses=120, maxlevel=1}
},
damage_groups = {fleshy=1},
}
})
-- other
minetest.register_tool("default:knife", {

View File

@ -177,6 +177,11 @@ minetest.register_craftitem("furnace:copper_plate", {
inventory_image = "furnace_copper_plate.png",
})
minetest.register_craftitem("furnace:diamond_plate", {
description = "Diamond Plate",
inventory_image = "furnace_diamond_plate.png",
})
-- blocks
minetest.register_node("furnace:iron_block", {
@ -239,6 +244,13 @@ minetest.register_node("furnace:steel_frame", {
minetest.register_craft({
output = "furnace:diamond_rod",
recipe = {
{"furnace:iron_rod", "default:diamond"},
{"furnace:iron_rod", "default:diamond", "default:diamond"},
}
})
minetest.register_craft({
output = "furnace:diamond_plate",
recipe = {
{"furnace:iron_plate", "default:diamond", "default:diamond"},
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B