mirror of
https://github.com/minetest-mods/ropes.git
synced 2024-11-24 16:33:48 +01:00
78b4844c4c
Haven't done vines yet, will likely do that after splitting the mod in two
27 lines
876 B
Lua
27 lines
876 B
Lua
vines = {
|
|
name = 'vines',
|
|
}
|
|
|
|
local rope_length = minetest.setting_get("vines_rope_length")
|
|
if not rope_length then
|
|
rope_length = 50
|
|
end
|
|
vines.ropeLength = rope_length
|
|
|
|
local rope_ladder_length = minetest.setting_get("vines_rope_ladder_length")
|
|
if not rope_ladder_length then
|
|
rope_ladder_length = 50
|
|
end
|
|
vines.ropeLadderLength = rope_ladder_length
|
|
|
|
dofile( minetest.get_modpath( vines.name ) .. "/doc.lua" )
|
|
dofile( minetest.get_modpath( vines.name ) .. "/functions.lua" )
|
|
dofile( minetest.get_modpath( vines.name ) .. "/aliases.lua" )
|
|
dofile( minetest.get_modpath( vines.name ) .. "/crafts.lua" )
|
|
dofile( minetest.get_modpath( vines.name ) .. "/ropeboxes.lua" )
|
|
dofile( minetest.get_modpath( vines.name ) .. "/ladder.lua" )
|
|
dofile( minetest.get_modpath( vines.name ) .. "/shear.lua" )
|
|
dofile( minetest.get_modpath( vines.name ) .. "/vines.lua" )
|
|
|
|
print("[Vines] Loaded!")
|