The first one happens because `remove_node` is called
directly, calling `remove_node` for the vine below,
calling `remove_node` for the vine below, calling...
The second one happens because `get_item_group`
returns 0 for groups not set, and 0 is a truthy
value in Lua, so the code always removes the bottom
node regardless of its group rating. This interacted
funnily with doors wanting to remove their top node,
while vines wanted to remove their bottom nodes.
- Easily lets vines spawn on nodes that have the unique vine group name
- Updated README.md that explains the groups spawning feature.
- Made groups variable local to the registration function and not part of the
namespace
- API update. No longer uses ABM's except for the ones that are used in
plants_lib ( performance increase )
- New jungle vine that spawns on jungle trunks/tree
- Code reordering, file renaming an overall more structured and DRY-er approach.
Conflicts:
README.md
- Defines biome in the vines_register function. Thus spawning.lua can be
removed.
- Vines destroy when a nearby( 3x3 ) leave is dug. They do not drop. To gather
vines one still has to use the shears.
- Soft depends on moretrees. Allows the overriding of the leave nodes. This is
required for removing th vines when the leaves destruct.
- Registered a new vine named "vines:jungle" Spawns on jungle tree trunks.
Either on the moretrees jungles and the default jungletree nodes.
- Textures for the jungle vines.
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