2015-12-31 11:01:14 +01:00
|
|
|
minetest.register_item(":", {
|
|
|
|
type = "none",
|
|
|
|
wield_image = "wieldhand.png",
|
|
|
|
wield_scale = {x=1,y=1,z=2.5},
|
|
|
|
tool_capabilities = {
|
|
|
|
full_punch_interval = 0.9,
|
|
|
|
max_drop_level = 0,
|
|
|
|
groupcaps = {
|
|
|
|
crumbly = {times={[2]=3.00, [3]=0.70}, uses=0, maxlevel=1},
|
|
|
|
snappy = {times={[3]=0.40}, uses=0, maxlevel=1},
|
|
|
|
oddly_breakable_by_hand = {times={[1]=3.50,[2]=2.00,[3]=0.70}, uses=0}
|
|
|
|
},
|
|
|
|
damage_groups = {fleshy=2},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-06-05 13:13:09 +02:00
|
|
|
-- wood
|
2015-12-31 11:01:14 +01:00
|
|
|
|
2016-05-04 19:11:53 +02:00
|
|
|
minetest.register_tool("default:simple_hammer", {
|
2016-06-05 13:13:09 +02:00
|
|
|
description = "Simple Hammer",
|
2015-12-31 11:01:14 +01:00
|
|
|
inventory_image = "default_basic_hammer.png",
|
|
|
|
tool_capabilities = {
|
|
|
|
max_drop_level=3,
|
|
|
|
groupcaps= {
|
2016-03-19 12:23:35 +01:00
|
|
|
cracky={times={[2]=2.00, [3]=1.00}, uses=10, maxlevel=1},
|
2015-12-31 11:01:14 +01:00
|
|
|
choppy={times={[2]=1.50, [3]=1.00}, uses=20, maxlevel=1}
|
|
|
|
},
|
2016-06-05 13:13:09 +02:00
|
|
|
damage_groups = {fleshy=1},
|
2015-12-31 11:01:14 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-06-05 13:13:09 +02:00
|
|
|
-- flint
|
|
|
|
|
2016-03-19 12:31:49 +01:00
|
|
|
minetest.register_tool("default:flint_pick", {
|
2016-06-05 13:13:09 +02:00
|
|
|
description = "Flint Pick",
|
2016-03-19 12:31:49 +01:00
|
|
|
inventory_image = "default_flint_pick.png",
|
|
|
|
tool_capabilities = {
|
|
|
|
max_drop_level=3,
|
|
|
|
groupcaps= {
|
|
|
|
cracky={times={[2]=1.50, [3]=0.80}, uses=50, maxlevel=1},
|
|
|
|
choppy={times={[2]=1.50, [3]=1.00}, uses=20, maxlevel=1}
|
|
|
|
},
|
2016-06-05 13:13:09 +02:00
|
|
|
damage_groups = {fleshy=2},
|
2016-03-19 12:31:49 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-06-05 13:13:09 +02:00
|
|
|
-- stone
|
|
|
|
|
2015-12-31 11:01:14 +01:00
|
|
|
minetest.register_tool("default:axe_stone", {
|
2016-06-05 13:13:09 +02:00
|
|
|
description = "Stone Axe",
|
2015-12-31 11:01:14 +01:00
|
|
|
inventory_image = "default_axe_stone.png",
|
|
|
|
tool_capabilities = {
|
|
|
|
max_drop_level=3,
|
|
|
|
groupcaps= {
|
|
|
|
cracky={times={[3]=1.50}, uses=5, maxlevel=1},
|
|
|
|
choppy={times={[2]=3.50, [3]=1.10}, uses=10, maxlevel=1}
|
|
|
|
},
|
2016-06-05 13:13:09 +02:00
|
|
|
damage_groups = {fleshy=1},
|
2015-12-31 11:01:14 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-06-05 13:13:09 +02:00
|
|
|
-- iron
|
|
|
|
|
2016-02-09 12:15:59 +01:00
|
|
|
minetest.register_tool("default:axe", {
|
2016-06-05 13:13:09 +02:00
|
|
|
description = "Iron Axe",
|
2016-02-09 12:15:59 +01:00
|
|
|
inventory_image = "default_axe.png",
|
|
|
|
tool_capabilities = {
|
|
|
|
max_drop_level=3,
|
|
|
|
groupcaps= {
|
|
|
|
choppy={times={[1]=1.00, [2]=0.40, [3]=0.30}, uses=70, maxlevel=1}
|
|
|
|
},
|
2016-06-05 13:13:09 +02:00
|
|
|
damage_groups = {fleshy=2},
|
2016-02-09 12:15:59 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-02-20 12:44:42 +01:00
|
|
|
minetest.register_tool("default:saw", {
|
2016-06-05 13:13:09 +02:00
|
|
|
description = "Iron Saw",
|
2016-02-20 12:44:42 +01:00
|
|
|
inventory_image = "default_saw.png",
|
|
|
|
tool_capabilities = {
|
|
|
|
max_drop_level=3,
|
|
|
|
groupcaps= {
|
|
|
|
choppy={times={[1]=0.30, [2]=0.20, [3]=0.10}, uses=70, maxlevel=1}
|
|
|
|
},
|
2016-06-05 13:13:09 +02:00
|
|
|
damage_groups = {fleshy=1},
|
2016-02-20 12:44:42 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-01-05 12:41:24 +01:00
|
|
|
minetest.register_tool("default:pick", {
|
2016-06-05 13:13:09 +02:00
|
|
|
description = "Iron Pick",
|
2016-01-05 12:41:24 +01:00
|
|
|
inventory_image = "default_pick.png",
|
|
|
|
tool_capabilities = {
|
|
|
|
max_drop_level=3,
|
|
|
|
groupcaps= {
|
|
|
|
cracky={times={[1]=1.90, [2]=0.50, [3]=0.30}, uses=50, maxlevel=1},
|
|
|
|
choppy={times={[2]=3.50, [3]=1.10}, uses=50, maxlevel=1}
|
|
|
|
},
|
2016-06-05 13:13:09 +02:00
|
|
|
damage_groups = {fleshy=2},
|
2016-01-05 12:41:24 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-01-24 12:42:37 +01:00
|
|
|
minetest.register_tool("default:shovel", {
|
2016-06-05 13:13:09 +02:00
|
|
|
description = "Iron Shovel",
|
2016-01-24 12:42:37 +01:00
|
|
|
inventory_image = "default_shovel.png",
|
|
|
|
tool_capabilities = {
|
|
|
|
max_drop_level=3,
|
|
|
|
groupcaps= {
|
|
|
|
crumbly={times={[1]=0.90, [2]=0.40, [3]=0.20}, uses=100, maxlevel=1}
|
|
|
|
},
|
2016-06-05 13:13:09 +02:00
|
|
|
damage_groups = {fleshy=1},
|
2016-01-24 12:42:37 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-06-05 13:13:09 +02:00
|
|
|
-- copper
|
|
|
|
|
|
|
|
minetest.register_tool("default:pick_copper", {
|
|
|
|
description = "Copper Pick",
|
|
|
|
inventory_image = "default_pick_copper.png",
|
|
|
|
tool_capabilities = {
|
|
|
|
max_drop_level=3,
|
|
|
|
groupcaps= {
|
|
|
|
cracky={times={[1]=1.00, [2]=0.30, [3]=0.20}, uses=150, maxlevel=1},
|
|
|
|
hard={times={[2]=2.30, [3]=1.50}, uses=50, maxlevel=100},
|
|
|
|
choppy={times={[2]=3.50, [3]=1.10}, uses=50, maxlevel=50}
|
|
|
|
},
|
|
|
|
damage_groups = {fleshy=3},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
-- diamond
|
|
|
|
|
|
|
|
minetest.register_tool("default:pick_diamond", {
|
|
|
|
description = "Diamond Pick",
|
|
|
|
inventory_image = "default_pick_diamond.png",
|
|
|
|
tool_capabilities = {
|
|
|
|
max_drop_level=3,
|
|
|
|
groupcaps= {
|
|
|
|
cracky={times={[1]=0.40, [2]=0.30, [3]=0.20}, uses=150, maxlevel=1},
|
|
|
|
hard={times={[1]=1.90, [2]=1.00, [3]=0.7}, uses=150, maxlevel=1},
|
|
|
|
choppy={times={[2]=3.50, [3]=1.10}, uses=100, maxlevel=1}
|
|
|
|
},
|
|
|
|
damage_groups = {fleshy=3},
|
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
-- other
|
|
|
|
|
2015-12-31 11:01:14 +01:00
|
|
|
minetest.register_tool("default:knife", {
|
2016-06-05 13:13:09 +02:00
|
|
|
description = "Knife",
|
2015-12-31 11:01:14 +01:00
|
|
|
inventory_image = "default_knife.png",
|
|
|
|
tool_capabilities = {
|
|
|
|
max_drop_level=3,
|
|
|
|
groupcaps= {
|
|
|
|
leaves={times={[1]=0.10}, uses=1000, maxlevel=1},
|
|
|
|
choppy={times={[3]=2.00}, uses=50, maxlevel=1}
|
|
|
|
},
|
2016-06-05 13:13:09 +02:00
|
|
|
damage_groups = {fleshy=7},
|
2015-12-31 11:01:14 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_tool("default:knife_big", {
|
2016-06-05 13:13:09 +02:00
|
|
|
description = "Knife (big)",
|
2015-12-31 11:01:14 +01:00
|
|
|
inventory_image = "default_knife.png",
|
|
|
|
wield_scale = {x = 1.5, y=1.5, z = 1},
|
|
|
|
tool_capabilities = {
|
|
|
|
max_drop_level=3,
|
|
|
|
groupcaps= {
|
|
|
|
leaves={times={[1]=0.05}, uses=1000, maxlevel=1},
|
|
|
|
choppy={times={[3]=2.00}, uses=50, maxlevel=1}
|
|
|
|
},
|
2016-06-05 13:13:09 +02:00
|
|
|
damage_groups = {fleshy=8},
|
2015-12-31 11:01:14 +01:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
2016-04-21 17:02:36 +02:00
|
|
|
minetest.register_tool("default:shears", {
|
|
|
|
description = "Shears",
|
|
|
|
inventory_image = "default_shears.png",
|
2015-12-31 11:01:14 +01:00
|
|
|
tool_capabilities = {
|
|
|
|
max_drop_level=3,
|
|
|
|
groupcaps= {
|
|
|
|
leaves={times={[1]=0.10}, uses=1000, maxlevel=1},
|
|
|
|
choppy={times={[3]=2.00}, uses=50, maxlevel=1}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|