2020-01-03 11:54:49 +01:00
|
|
|
--[[
|
|
|
|
|
|
|
|
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)
|
2021-03-13 20:14:37 +01:00
|
|
|
towercrane.max_height = tonumber(minetest.settings:get("towercrane_max_height")) or 32
|
2017-06-07 22:33:19 +02:00
|
|
|
|
2018-01-03 13:37:03 +01:00
|
|
|
-- Maximum crane width in blocks (8..n)
|
2021-03-13 20:14:37 +01:00
|
|
|
towercrane.max_width = tonumber(minetest.settings:get("towercrane_max_width")) or 32
|
2017-06-07 22:33:19 +02:00
|
|
|
|
2017-06-08 20:50:42 +02:00
|
|
|
-- Crane rope lenght in block (max_height .. max_height+x)
|
2021-03-13 20:14:37 +01:00
|
|
|
towercrane.rope_length = tonumber(minetest.settings:get("towercrane_rope_length")) or 40
|
2017-06-08 20:50:42 +02:00
|
|
|
|
|
|
|
-- Recipe available (true/false)
|
2021-03-13 20:14:37 +01:00
|
|
|
towercrane.recipe = tonumber(minetest.settings:get("towercrane_recipe")) or true
|