1
0
mirror of https://github.com/minetest/minetest_game.git synced 2024-12-23 07:10:19 +01:00

Put y_max above y_min in mapgen registrations (#2051)

Switch y_max and y_min for flowers, fireflies and default
This commit is contained in:
Ezhh 2018-02-25 11:25:34 +00:00 committed by SmallJoker
parent 283636bfdb
commit 280f1b1c39
3 changed files with 124 additions and 124 deletions

File diff suppressed because it is too large Load Diff

View File

@ -144,8 +144,8 @@ minetest.register_decoration({
"rainforest", "rainforest",
"rainforest_swamp" "rainforest_swamp"
}, },
y_min = -1,
y_max = 31000, y_max = 31000,
y_min = -1,
decoration = "fireflies:firefly", decoration = "fireflies:firefly",
}) })
@ -166,7 +166,7 @@ minetest.register_decoration({
"rainforest", "rainforest",
"rainforest_swamp" "rainforest_swamp"
}, },
y_min = -1,
y_max = 31000, y_max = 31000,
y_min = -1,
decoration = "fireflies:firefly", decoration = "fireflies:firefly",
}) })

View File

@ -15,8 +15,8 @@ local function register_mgv6_flower(name)
octaves = 3, octaves = 3,
persist = 0.6 persist = 0.6
}, },
y_min = 1,
y_max = 30, y_max = 30,
y_min = 1,
decoration = "flowers:"..name, decoration = "flowers:"..name,
}) })
end end
@ -34,8 +34,8 @@ local function register_mgv6_mushroom(name)
octaves = 3, octaves = 3,
persist = 0.6 persist = 0.6
}, },
y_min = 1,
y_max = 30, y_max = 30,
y_min = 1,
decoration = "flowers:"..name, decoration = "flowers:"..name,
spawn_by = "default:tree", spawn_by = "default:tree",
num_spawn_by = 1, num_spawn_by = 1,
@ -55,8 +55,8 @@ local function register_mgv6_waterlily()
octaves = 3, octaves = 3,
persist = 0.7 persist = 0.7
}, },
y_min = 0,
y_max = 0, y_max = 0,
y_min = 0,
schematic = minetest.get_modpath("flowers").."/schematics/waterlily.mts", schematic = minetest.get_modpath("flowers").."/schematics/waterlily.mts",
rotation = "random", rotation = "random",
}) })
@ -95,8 +95,8 @@ local function register_flower(seed, name)
persist = 0.6 persist = 0.6
}, },
biomes = {"grassland", "deciduous_forest", "floatland_grassland"}, biomes = {"grassland", "deciduous_forest", "floatland_grassland"},
y_min = 1,
y_max = 31000, y_max = 31000,
y_min = 1,
decoration = "flowers:"..name, decoration = "flowers:"..name,
}) })
end end
@ -115,8 +115,8 @@ local function register_mushroom(name)
persist = 0.66 persist = 0.66
}, },
biomes = {"deciduous_forest", "coniferous_forest"}, biomes = {"deciduous_forest", "coniferous_forest"},
y_min = 1,
y_max = 31000, y_max = 31000,
y_min = 1,
decoration = "flowers:"..name, decoration = "flowers:"..name,
}) })
end end
@ -135,8 +135,8 @@ local function register_waterlily()
persist = 0.7 persist = 0.7
}, },
biomes = {"rainforest_swamp", "savanna_shore", "deciduous_forest_shore"}, biomes = {"rainforest_swamp", "savanna_shore", "deciduous_forest_shore"},
y_min = 0,
y_max = 0, y_max = 0,
y_min = 0,
schematic = minetest.get_modpath("flowers") .. "/schematics/waterlily.mts", schematic = minetest.get_modpath("flowers") .. "/schematics/waterlily.mts",
rotation = "random", rotation = "random",
}) })