-
Notifications
You must be signed in to change notification settings - Fork 4
/
mountain.lua
49 lines (47 loc) · 1.33 KB
/
mountain.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
46
47
48
49
---------------------------------------------
-------------MAPGENS
---------------------------------------------
minetest.register_biome({
name = "mountain",
node_dust = "default:snow",
node_top = "default:snowblock",
depth_top = 3,
node_filler = "default:ice",
depth_filler = 50,
node_riverbed = "default:ice",
depth_riverbed = 2,
node_dungeon = "default:ice",
node_dungeon_alt = "default:snowblock",
y_max = 31000,
y_min = 40,
heat_point = 2,
humidity_point = 43,
})
minetest.register_decoration({
name = "variety:ice_mountain_1",
deco_type = "schematic",
place_on = {"default:snowblock", "default:snow"},
place_offset_y = 0,
sidelen = 16,
fill_ratio = 0.003165,
biomes = {"mountain"},
y_max = 31000,
y_min = -20,
schematic = minetest.get_modpath("variety").."/schematics/ice_1.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
minetest.register_decoration({
name = "variety:ice_mountain_2",
deco_type = "schematic",
place_on = {"default:snowblock", "default:snow"},
place_offset_y = 0,
sidelen = 16,
fill_ratio = 0.003165,
biomes = {"mountain"},
y_max = 31000,
y_min = -20,
schematic = minetest.get_modpath("variety").."/schematics/ice_2.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})