Skip to content

Commit c52ad14

Browse files
committedMar 10, 2017
Mapgen: Use decoration sidelen 16 for jungletrees and junglegrass
Currently jungletrees and junglegrass use sidelen 80 for simplicity, but this results in a more uneven distribution of decorations. A more even distribution helps keep rainforest darker with a more unbroken canopy. This is also more consistent. 80 is based on the default mapchunk size, all other decorations use sidelen 16 or smaller to divide into any mapchunk size.
1 parent 0f0dd0f commit c52ad14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎mods/default/mapgen.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,7 @@ function default.register_decorations()
13241324
minetest.register_decoration({
13251325
deco_type = "schematic",
13261326
place_on = {"default:dirt_with_rainforest_litter", "default:dirt"},
1327-
sidelen = 80,
1327+
sidelen = 16,
13281328
fill_ratio = 0.1,
13291329
biomes = {"rainforest", "rainforest_swamp"},
13301330
y_min = -1,
@@ -1337,7 +1337,7 @@ function default.register_decorations()
13371337
minetest.register_decoration({
13381338
deco_type = "schematic",
13391339
place_on = {"default:dirt_with_rainforest_litter", "default:dirt"},
1340-
sidelen = 80,
1340+
sidelen = 16,
13411341
fill_ratio = 0.005,
13421342
biomes = {"rainforest", "rainforest_swamp"},
13431343
y_min = 1,
@@ -1598,7 +1598,7 @@ function default.register_decorations()
15981598
minetest.register_decoration({
15991599
deco_type = "simple",
16001600
place_on = {"default:dirt_with_rainforest_litter"},
1601-
sidelen = 80,
1601+
sidelen = 16,
16021602
fill_ratio = 0.1,
16031603
biomes = {"rainforest"},
16041604
y_min = 1,

0 commit comments

Comments
 (0)
Please sign in to comment.