-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.lua
45 lines (34 loc) · 1.32 KB
/
settings.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
otherworlds.settings = {}
-- general
otherworlds.settings.crafting = {
-- set to false to remove crafting recipes
enable = minetest.settings:get_bool("otherworlds.crafting", true)
}
-- space_asteroids
otherworlds.settings.space_asteroids = {
-- set to false to prevent space mapgen
enable = minetest.settings:get_bool("otherworlds.space", true),
-- minimum height of space layer
YMIN = tonumber(minetest.settings:get("otherworlds.space.ymin") or 5000),
-- maximum height for space layer
YMAX = tonumber(minetest.settings:get("otherworlds.space.ymax") or 6000)
}
-- redsky_asteroids
otherworlds.settings.redsky_asteroids = {
-- set to false to prevent redsky mapgen
enable = minetest.settings:get_bool("otherworlds.redsky", true),
-- minimum height of redsky layer
YMIN = tonumber(minetest.settings:get("otherworlds.redsky.ymin") or 6000),
-- maximum height for redsky layer
YMAX = tonumber(minetest.settings:get("otherworlds.redsky.ymax") or 7000)
}
-- gravity
otherworlds.settings.gravity = {
-- set to true to enable gravity
enable = minetest.settings:get_bool("otherworlds.gravity", false)
}
-- increase or decrease change of ores appearing in asteroids
otherworlds.settings.ore_chance = {
-- default ore chance is multiplied by following value
value = tonumber(minetest.settings:get("otherworlds.ore_chance") or 27)
}