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)
|
2017-10-19 20:29:41 +02:00
|
|
|
towercrane.max_height = tonumber(minetest.setting_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)
|
2017-10-19 20:29:41 +02:00
|
|
|
towercrane.max_width = tonumber(minetest.setting_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)
|
2017-10-19 20:29:41 +02:00
|
|
|
towercrane.rope_length = tonumber(minetest.setting_get("towercrane_rope_length")) or 40
|
2017-06-08 20:50:42 +02:00
|
|
|
|
|
|
|
-- Recipe available (true/false)
|
2017-07-11 20:15:18 +02:00
|
|
|
towercrane.recipe = tonumber(minetest.setting_get("towercrane_recipe")) or true
|