InsaneProtestor/mods/main/tools.lua
2022-11-21 20:06:10 -05:00

68 lines
1.6 KiB
Lua

minetest.register_item(":", {
type = "none",
wield_image = "hand.png",
wield_scale = {x=1.5,y=2,z=4.5},
tool_capabilities = {
max_drop_level = 0,
full_punch_interval = 0.4,
groupcaps =
{
cracky = {times={[4]=.4}, uses=0, maxlevel=4},
},
damage_groups = {fleshy = 3, snappy = 2},
}
})
minetest.register_item("main:pickaxe_steel", {
type = "none",
wield_image = "main_pickaxe_steel.png",
inventory_image = "main_pickaxe_steel.png",
tool_capabilities = {
max_drop_level = 1,
full_punch_interval = 0.8,
groupcaps =
{
choppy = {times={[1]=0, [2]=0,[3]=0}, uses=0, maxlevel=8},
cracky = {times={[1]=0, [2]=0,[3]=0}, uses=0, maxlevel=8},
crumbly = {times={[1]=0, [2]=0, [3]=0}, uses=0, maxlevel=8},
},
}
})
minetest.register_item("main:pickaxe_stone", {
type = "none",
wield_image = "main_pickaxe_stone.png",
inventory_image = "main_pickaxe_stone.png",
tool_capabilities = {
max_drop_level = 1,
full_punch_interval = 0.8,
groupcaps =
{
cracky = {times={[1]=3.80, [2]=2.00,[3]=1.50}, uses=0, maxlevel=1},
crumbly = {times={[2]=3.50, [3]=1.80}, uses=0, maxlevel=1},
},
damage_groups = {fleshy = 4, cracky = 5},
}
})
minetest.register_item("main:knife_stone_simple", {
type = "none",
wield_image = "main_knife_stone_simple.png",
inventory_image = "main_knife_stone_simple.png",
tool_capabilities =
{
max_drop_level = 1,
full_punch_interval = 0.8,
groupcaps =
{
choppy = {times={[2]=2.00,[3]=1.50}, uses=0, maxlevel=1},
crumbly = {times={[2]=3.50, [3]=1.80}, uses=0, maxlevel=1},
},
damage_groups = {fleshy = 7, choppy = 5},
}
})