Nether tool changes as overrides and change uses

master
Dirkfried 2022-02-04 15:49:40 +01:00
parent 9518e76900
commit 4e767ee9cd
1 changed files with 12 additions and 28 deletions

View File

@ -71,64 +71,48 @@ minetest.override_item("sickles:scythe_steel", {
groups = { scythe = 2, scythe_uses = 140 },
})
-- FIXME - TMP - these should only be overrides!
minetest.register_tool(":nether:pick_nether", {
description = "Nether Pickaxe",
inventory_image = "nether_tool_netherpick.png",
--Nether tools
minetest.override_item("nether:pick_nether", {
tool_capabilities = {
full_punch_interval = 0.5,
max_drop_level=3,
groupcaps={
cracky = {times={[1]=1.80, [2]=0.8, [3]=0.4}, uses=200, maxlevel=3},
},
damage_groups = {fleshy=7},
cracky = {times={[1]=1.80, [2]=0.8, [3]=0.4}, uses=50, maxlevel=3},
},
sound = {breaks = "default_tool_breaks"},
groups = {pickaxe = 1},
damage_groups = {fleshy=7},
},
})
minetest.register_tool(":nether:shovel_nether", {
description = "Nether Shovel",
inventory_image = "nether_tool_nethershovel.png",
wield_image = "nether_tool_nethershovel.png^[transformR90",
minetest.override_item("nether:shovel_nether", {
tool_capabilities = {
full_punch_interval = 0.9,
max_drop_level=3,
groupcaps={
crumbly = {times={[1]=1.0, [2]=0.4, [3]=0.25}, uses=200, maxlevel=3},
crumbly = {times={[1]=1.0, [2]=0.4, [3]=0.25}, uses=50, maxlevel=3},
},
damage_groups = {fleshy=5},
},
sound = {breaks = "default_tool_breaks"},
groups = {shovel = 1},
})
minetest.register_tool(":nether:axe_nether", {
description = "Nether Axe",
inventory_image = "nether_tool_netheraxe.png",
minetest.override_item("nether:axe_nether", {
tool_capabilities = {
full_punch_interval = 0.7,
max_drop_level=1,
groupcaps={
choppy={times={[1]=1.9, [2]=0.7, [3]=0.4}, uses=200, maxlevel=3},
choppy={times={[1]=1.9, [2]=0.7, [3]=0.4}, uses=50, maxlevel=3},
},
damage_groups = {fleshy=8},
},
sound = {breaks = "default_tool_breaks"},
groups = {axe = 1},
})
minetest.register_tool(":nether:sword_nether", {
description = "Nether Sword",
inventory_image = "nether_tool_nethersword.png",
minetest.override_item("nether:sword_nether", {
tool_capabilities = {
full_punch_interval = 0.5,
max_drop_level=1,
groupcaps={
snappy={times={[1]=1.5, [2]=0.6, [3]=0.2}, uses=200, maxlevel=3},
snappy={times={[1]=1.5, [2]=0.6, [3]=0.2}, uses=100, maxlevel=3},
},
damage_groups = {fleshy=15},
},
sound = {breaks = "default_tool_breaks"},
groups = {sword = 1},
})