summaryrefslogtreecommitdiff
path: root/config.lua
blob: df561da2790b87d2ed7289f589760aba8a73a5a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- Maximum crane height in blocks (12..n)
towercrane.max_height = tonumber(minetest.setting_get("towercrane_max_height")) or 24

-- Maximum crane width in blocks (12..n)
towercrane.max_width = tonumber(minetest.setting_get("towercrane_max_width")) or 24

-- Crane rope lenght in block (max_height .. max_height+x)
towercrane.rope_length = tonumber(minetest.setting_get("towercrane_rope_length")) or 24

-- Gain factor for the crane sound (0.0 to 1)
towercrane.gain = tonumber(minetest.setting_get("towercrane_gain")) or 1

-- Recipe available (true/false)
towercrane.recipe = tonumber(minetest.setting_get("towercrane_recipe")) or true