Skip to content

Commit

Permalink
Mapgen: Use decoration sidelen 16 for jungletrees and junglegrass
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
paramat committed Mar 10, 2017
1 parent 0f0dd0f commit c52ad14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mods/default/mapgen.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,7 @@ function default.register_decorations()
minetest.register_decoration({
deco_type = "schematic",
place_on = {"default:dirt_with_rainforest_litter", "default:dirt"},
sidelen = 80,
sidelen = 16,
fill_ratio = 0.1,
biomes = {"rainforest", "rainforest_swamp"},
y_min = -1,
Expand All @@ -1337,7 +1337,7 @@ function default.register_decorations()
minetest.register_decoration({
deco_type = "schematic",
place_on = {"default:dirt_with_rainforest_litter", "default:dirt"},
sidelen = 80,
sidelen = 16,
fill_ratio = 0.005,
biomes = {"rainforest", "rainforest_swamp"},
y_min = 1,
Expand Down Expand Up @@ -1598,7 +1598,7 @@ function default.register_decorations()
minetest.register_decoration({
deco_type = "simple",
place_on = {"default:dirt_with_rainforest_litter"},
sidelen = 80,
sidelen = 16,
fill_ratio = 0.1,
biomes = {"rainforest"},
y_min = 1,
Expand Down

0 comments on commit c52ad14

Please sign in to comment.