ropes/shear.lua
bas080 796961b01a Complete rewrite
A big code update. Some features have changes slightly. The goal of this update
is to improve performance on servers. This is achieved by removing ABMs and
using on_timers instead. The amount of times that on_timer is used is also
minimized. Other features include.

- vine register function that allows the registering of side and bottom vines

- Removing vines remove all vines beneath it.

- New vine named Roots
2015-02-10 07:15:16 +01:00

16 lines
388 B
Lua

minetest.register_tool("vines:shears", {
description = "Shears",
inventory_image = "shears.png",
wield_image = "shears.png",
stack_max = 1,
max_drop_level=3,
tool_capabilities = {
full_punch_interval = 1.0,
max_drop_level=0,
groupcaps={
snappy={times={[3]=0.2}, maxwear=0.05, maxlevel=3},
wool={times={[3]=0.2}, maxwear=0.05, maxlevel=3}
}
},
})