-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathgrasslands.lua
124 lines (112 loc) · 3.23 KB
/
grasslands.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
---------------------------------------------
-------------MAPGENS
---------------------------------------------
minetest.register_decoration({
name = "variety:grassland_tree_1",
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
place_offset_y = 1,
sidelen = 16,
fill_ratio = 0.001465,
biomes = {"grassland"},
y_max = 31000,
y_min = -20,
schematic = minetest.get_modpath("variety").."/schematics/grasssland_tree_1.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
minetest.register_decoration({
name = "variety:grassland_bush_1",
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
place_offset_y = 1,
sidelen = 16,
fill_ratio = 0.015365,
biomes = {"grassland"},
y_max = 31000,
y_min = -20,
schematic = minetest.get_modpath("variety").."/schematics/grasssland_bush_1.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
minetest.register_decoration({
name = "variety:grassland_bush_2",
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
place_offset_y = -5,
sidelen = 16,
fill_ratio = 0.015365,
biomes = {"grassland"},
y_max = 31000,
y_min = -20,
schematic = minetest.get_modpath("variety").."/schematics/grasssland_bush_2.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
minetest.register_decoration({
name = "variety:boulder1",
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
place_offset_y = -2,
sidelen = 16,
fill_ratio = 0.0015565,
biomes = {"grassland"},
y_max = 31000,
y_min = -20,
schematic = minetest.get_modpath("variety").."/schematics/boulder1.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
minetest.register_decoration({
name = "variety:boulder2",
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
place_offset_y = -2,
sidelen = 16,
fill_ratio = 0.0015565,
biomes = {"grassland"},
y_max = 31000,
y_min = -20,
schematic = minetest.get_modpath("variety").."/schematics/boulder2.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
minetest.register_decoration({
name = "variety:aspen_tree_g",
deco_type = "schematic",
place_on = {"default:dirt_with_grass"},
place_offset_y = 0,
sidelen = 16,
fill_ratio = 0.002265,
biomes = {"dorwinion"},
y_max = 31000,
y_min = 1,
schematic = minetest.get_modpath("default").."/schematics/aspen_tree.mts",
flags = "place_center_x, place_center_z",
rotation = "random",
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
fill_ratio = 0.2,
biomes = {"grassland"},
decoration = {
"default:grass_1", "default:grass_2",
"default:grass_3", "default:grass_4",
"default:grass_5",
}
})
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_grass"},
sidelen = 16,
fill_ratio = 0.05,
biomes = {"grassland"},
decoration = {
"flowers:rose", "flowers:dandelion_white",
"flowers:tulip", "flowers:chrysanthemum_green",
"flowers:viola", "flowers:dandelion_yellow",
"flowers:geranium", "flowers:mushroom_brown",
}
})