towercrane/config.lua

24 lines
654 B
Lua
Raw Normal View History

--[[
Tower Crane Mod
===============
Copyright (C) 2017-2020 Joachim Stolberg
LGPLv2.1+
See LICENSE.txt for more information
]]--
2018-01-03 13:37:03 +01:00
-- Maximum crane height in blocks (8..n)
towercrane.max_height = tonumber(minetest.setting_get("towercrane_max_height")) or 32
2018-01-03 13:37:03 +01:00
-- Maximum crane width in blocks (8..n)
towercrane.max_width = tonumber(minetest.setting_get("towercrane_max_width")) or 32
-- Crane rope lenght in block (max_height .. max_height+x)
towercrane.rope_length = tonumber(minetest.setting_get("towercrane_rope_length")) or 40
-- Recipe available (true/false)
towercrane.recipe = tonumber(minetest.setting_get("towercrane_recipe")) or true