ropes/init.lua

27 lines
876 B
Lua
Raw Normal View History

vines = {
name = 'vines',
2015-02-09 02:12:47 +01:00
}
2017-01-29 19:41:02 +01:00
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" )
2013-09-12 15:04:02 +02:00
print("[Vines] Loaded!")