88 lines
2.0 KiB
Lua
88 lines
2.0 KiB
Lua
|
minetest.register_tool("default:copperpick", {
|
||
|
description = "Copper Pickaxe",
|
||
|
inventory_image = "lottores_copperpick.png",
|
||
|
tool_capabilities = {
|
||
|
full_punch_interval = 1.0,
|
||
|
max_drop_level=1,
|
||
|
groupcaps={
|
||
|
cracky = {times={[1]=4.00, [2]=1.60, [3]=0.80}, uses=20, maxlevel=2},
|
||
|
},
|
||
|
damage_groups = {fleshy=4},
|
||
|
},
|
||
|
})
|
||
|
|
||
|
minetest.register_tool("default:copperaxe", {
|
||
|
description = "Copper Axe",
|
||
|
inventory_image = "lottores_copperaxe.png",
|
||
|
tool_capabilities = {
|
||
|
full_punch_interval = 1.0,
|
||
|
max_drop_level=1,
|
||
|
groupcaps={
|
||
|
choppy={times={[1]=2.50, [2]=1.40, [3]=1.00}, uses=20, maxlevel=2},
|
||
|
},
|
||
|
damage_groups = {fleshy=4},
|
||
|
},
|
||
|
})
|
||
|
|
||
|
minetest.register_tool("default:coppersword", {
|
||
|
description = "Copper Sword",
|
||
|
inventory_image = "lottores_coppersword.png",
|
||
|
tool_capabilities = {
|
||
|
full_punch_interval = 1.25,
|
||
|
max_drop_level=1,
|
||
|
groupcaps={
|
||
|
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=30, maxlevel=2},
|
||
|
},
|
||
|
damage_groups = {fleshy=6},
|
||
|
}
|
||
|
})
|
||
|
|
||
|
minetest.register_tool("default:coppershovel", {
|
||
|
description = "Copper Shovel",
|
||
|
inventory_image = "lottores_coppershovel.png",
|
||
|
wield_image = "lottores_coppershovel.png^[transformR90",
|
||
|
tool_capabilities = {
|
||
|
full_punch_interval = 1.1,
|
||
|
max_drop_level=1,
|
||
|
groupcaps={
|
||
|
crumbly = {times={[1]=1.50, [2]=0.90, [3]=0.40}, uses=30, maxlevel=2},
|
||
|
},
|
||
|
damage_groups = {fleshy=3},
|
||
|
},
|
||
|
})
|
||
|
|
||
|
minetest.register_craft({
|
||
|
output = 'default:copperpick',
|
||
|
recipe = {
|
||
|
{'default:copper_ingot', 'default:copper_ingot', 'default:copper_ingot'},
|
||
|
{'', 'group:stick', ''},
|
||
|
{'', 'group:stick', ''},
|
||
|
}
|
||
|
})
|
||
|
|
||
|
minetest.register_craft({
|
||
|
output = 'default:copperaxe',
|
||
|
recipe = {
|
||
|
{'default:copper_ingot', 'default:copper_ingot'},
|
||
|
{'default:copper_ingot', 'group:stick'},
|
||
|
{'', 'group:stick'},
|
||
|
}
|
||
|
})
|
||
|
|
||
|
minetest.register_craft({
|
||
|
output = 'default:coppersword',
|
||
|
recipe = {
|
||
|
{'default:copper_ingot'},
|
||
|
{'default:copper_ingot'},
|
||
|
{'group:stick'},
|
||
|
}
|
||
|
})
|
||
|
|
||
|
minetest.register_craft({
|
||
|
output = 'default:coppershovel',
|
||
|
recipe = {
|
||
|
{'default:copper_ingot'},
|
||
|
{'group:stick'},
|
||
|
{'group:stick'},
|
||
|
}
|
||
|
})
|