1
0
mirror of https://github.com/Splizard/minetest-mod-snow.git synced 2025-06-30 07:10:21 +02:00

Plusieurs modifications

- Suppression du biome snow_sand
- Suppression de plusieurs ABMS pour gagner en performance
- Suppression de code obsolète
- Suppression de la mapgen V6
- Génération des sapins à base de schematics
This commit is contained in:
sys4-fr
2018-11-20 19:38:26 +01:00
parent 794fb251ba
commit 854e10f087
13 changed files with 137 additions and 68 deletions

View File

@ -70,7 +70,7 @@ minetest.register_biome({
humidity_point = 40.0,
})
minetest.register_biome({
--[[minetest.register_biome({
name = "snow_biome_sand",
node_top = "default:sand",
@ -83,7 +83,7 @@ minetest.register_biome({
heat_point = 10.0,
humidity_point = 40.0,
})
]]--
--Pine tree.
minetest.register_decoration({
@ -101,7 +101,7 @@ minetest.register_decoration({
y_max = 31000,
y_min = 4,
biomes = {"snowy_grassland", "coniferous_forest", "taiga", "snow_biome_alpine"},
schematic = minetest.get_modpath("snow").."/schematics/pine.mts",
schematic = minetest.get_modpath("snow").."/schematics/snow_pine.mts",
flags = "place_center_x, place_center_z",
})
@ -121,7 +121,7 @@ minetest.register_decoration({
y_max = 31000,
y_min = 4,
biomes = {"snow_biome_forest", "pine_forest"},
schematic = minetest.get_modpath("snow").."/schematics/pine.mts",
schematic = minetest.get_modpath("snow").."/schematics/snow_pine.mts",
flags = "place_center_x, place_center_z",
})
@ -133,7 +133,7 @@ minetest.register_decoration({
y_max = 31000,
y_min = 4,
biomes = {"snow_biome_lush"},
schematic = minetest.get_modpath("snow").."/schematics/pine.mts",
schematic = minetest.get_modpath("snow").."/schematics/snow_pine.mts",
flags = "place_center_x, place_center_z",
})