75 lines
1.6 KiB
Lua
75 lines
1.6 KiB
Lua
|
minetest.register_item(":",
|
||
|
{
|
||
|
type = "none",
|
||
|
wield_image = "hand.png",
|
||
|
wield_scale = {x=1,y=1,z=3.5},
|
||
|
tool_capabilities =
|
||
|
{
|
||
|
max_drop_level = 0,
|
||
|
full_punch_interval = 0.4,
|
||
|
|
||
|
groupcaps =
|
||
|
{
|
||
|
oddly_breakable_by_hand = {times={[1]=3.50,[2]=2.00,[3]=0.70}, uses=0},
|
||
|
snappy = {times={[3]=1.00}, uses=0, maxlevel=1},
|
||
|
crumbly = {times={[2]=4.50, [3]=1.80}, uses=0, maxlevel=1},
|
||
|
},
|
||
|
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 =
|
||
|
{
|
||
|
cracky = {times={[1]=1.80, [2]=1.00,[3]=0.50}, uses=0, maxlevel=1},
|
||
|
crumbly = {times={[2]=2.50, [3]=0.80}, uses=0, maxlevel=1},
|
||
|
},
|
||
|
damage_groups = {fleshy = 5, cracky = 8},
|
||
|
}
|
||
|
})
|
||
|
|
||
|
minetest.register_item("main:pickaxe_stone",
|
||
|
{
|
||
|
type = "none",
|
||
|
wield_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:ax_steel",
|
||
|
{
|
||
|
type = "none",
|
||
|
wield_image = "main_pickaxe_stone.png",
|
||
|
tool_capabilities =
|
||
|
{
|
||
|
max_drop_level = 1,
|
||
|
full_punch_interval = 0.4,
|
||
|
|
||
|
groupcaps =
|
||
|
{
|
||
|
choppy = {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 = 8},
|
||
|
}
|
||
|
})
|