plantlife_modpack/vines/shear.lua

19 lines
447 B
Lua
Raw Normal View History

-- support for i18n
local S = plantlife_i18n.gettext
2015-02-15 06:00:57 +01:00
minetest.register_tool("vines:shears", {
description = S("Shears"),
2015-02-15 06:00:57 +01:00
inventory_image = "vines_shears.png",
2015-05-28 16:32:45 +02:00
wield_image = "vines_shears.png",
2015-02-15 06:00:57 +01:00
stack_max = 1,
max_drop_level=3,
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=0,
groupcaps={
2017-03-31 05:19:39 +02:00
snappy={times={[3]=0.2}, uses=60, maxlevel=3},
wool={times={[3]=0.2}, uses=60, maxlevel=3}
2015-02-15 06:00:57 +01:00
}
},
})