64 lines
1.6 KiB
Lua
64 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]=4.00}, uses=0, maxlevel=1},
|
|
fleshy = {times={[3]=2.50}, uses=0, maxlevel=1},
|
|
},
|
|
damage_groups = {snappy = 2, fleshy = 2},
|
|
}
|
|
})
|
|
|
|
minetest.register_item("main:supertool", {
|
|
type = "none",
|
|
wield_image = "main_cobble.png",
|
|
wield_scale = {x=1,y=1,z=1},
|
|
tool_capabilities = {
|
|
max_drop_level = 0,
|
|
full_punch_interval = 0,
|
|
|
|
groupcaps = {
|
|
oddly_breakable_by_hand = {times={[1]=0.00,[2]=0.00,[3]=0.00}, uses=0},
|
|
snappy = {times={[1]=0.00, [2]=0.00, [3]=0.00}, uses=0, maxlevel=1},
|
|
cracky = {times={[1]=0.00, [2]=0.00, [3]=0.00}, uses=0, maxlevel=1},
|
|
choppy = {times={[1]=0.00, [2]=0.00, [3]=0.00}, uses=0, maxlevel=1},
|
|
crumbly = {times={[1]=0.00, [2]=0.00, [3]=0.00}, uses=0, maxlevel=1},
|
|
},
|
|
damage_groups = {fleshy = 100},
|
|
}
|
|
})
|
|
|
|
minetest.register_item("main:sword_wood", {
|
|
type = "none",
|
|
wield_image = "main_pickaxe_stone.png",
|
|
tool_capabilities = {
|
|
max_drop_level = 1,
|
|
full_punch_interval = 2.0,
|
|
|
|
groupcaps = {
|
|
fleshy = {times={[2]=1.50,[3]=0.50}, uses=0, maxlevel=1},
|
|
},
|
|
damage_groups = {fleshy = 5, snappy = 4},
|
|
}
|
|
})
|
|
|
|
minetest.register_item("main:sword_stone", {
|
|
type = "none",
|
|
wield_image = "main_pickaxe_stone.png",
|
|
tool_capabilities = {
|
|
max_drop_level = 1,
|
|
full_punch_interval = 0.3,
|
|
|
|
groupcaps = {
|
|
fleshy = {times={[3]=1.50, [2]=0.80,[3]=0.20}, uses=0, maxlevel=1},
|
|
},
|
|
damage_groups = {fleshy = 7, snappy = 5},
|
|
}
|
|
})
|