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
24 lines
426 B
Lua
24 lines
426 B
Lua
vines.register_vine( 'vine', {
|
|
description = "Vines",
|
|
is_side_vine = false,
|
|
average_length = 9
|
|
})
|
|
|
|
vines.register_vine( 'root', {
|
|
description = "Roots",
|
|
is_side_vine = false,
|
|
average_length = 5
|
|
})
|
|
|
|
vines.register_vine( 'side', {
|
|
description = "Vines",
|
|
is_side_vine = true,
|
|
average_length = 7
|
|
})
|
|
|
|
vines.register_vine( 'willow', {
|
|
description = "Willow Vines",
|
|
is_side_vine = true,
|
|
average_length = 9
|
|
})
|