mirror of
https://github.com/minetest-mods/ropes.git
synced 2024-12-01 03:44:00 +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
556 B
Lua
16 lines
556 B
Lua
vines = {
|
|
name = 'vines',
|
|
groups = { vines=1, snappy=3, flammable=2 },
|
|
recipes = {}
|
|
}
|
|
|
|
dofile( minetest.get_modpath( vines.name ) .. "/functions.lua" )
|
|
dofile( minetest.get_modpath( vines.name ) .. "/recipes.lua" )
|
|
dofile( minetest.get_modpath( vines.name ) .. "/crafts.lua" )
|
|
dofile( minetest.get_modpath( vines.name ) .. "/nodes.lua" )
|
|
dofile( minetest.get_modpath( vines.name ) .. "/shear.lua" )
|
|
dofile( minetest.get_modpath( vines.name ) .. "/vines.lua" )
|
|
dofile( minetest.get_modpath( vines.name ) .. "/spawning.lua" )
|
|
|
|
print("[Vines] Loaded!")
|