mirror of
https://github.com/minetest-mods/ropes.git
synced 2024-11-24 16:33:48 +01:00
796961b01a
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
16 lines
388 B
Lua
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}
|
|
}
|
|
},
|
|
})
|