mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Added birch forest
This commit is contained in:
parent
b09148abee
commit
bce6195479
@ -4,6 +4,6 @@ pub enum ForestKind {
|
||||
Savannah,
|
||||
Oak,
|
||||
Pine,
|
||||
// SnowPine,
|
||||
Birch,
|
||||
Mangrove,
|
||||
}
|
||||
|
@ -71,15 +71,11 @@ pub fn apply_trees_to(canvas: &mut Canvas) {
|
||||
match col.forest_kind {
|
||||
ForestKind::Oak if QUIRKY_RAND.get(seed) % 16 == 7 => &OAK_STUMPS,
|
||||
ForestKind::Oak if QUIRKY_RAND.get(seed) % 19 == 7 => &FRUIT_TREES,
|
||||
ForestKind::Oak | ForestKind::Pine
|
||||
if QUIRKY_RAND.get(seed) % 14 == 7 =>
|
||||
{
|
||||
&BIRCHES
|
||||
},
|
||||
ForestKind::Palm => &PALMS,
|
||||
ForestKind::Savannah => &ACACIAS,
|
||||
ForestKind::Oak => &OAKS,
|
||||
ForestKind::Pine => &PINES,
|
||||
ForestKind::Birch => &BIRCHES,
|
||||
ForestKind::Mangrove => &MANGROVE_TREES,
|
||||
}
|
||||
};
|
||||
|
@ -2213,7 +2213,7 @@ impl SimChunk {
|
||||
(
|
||||
ForestKind::Palm,
|
||||
(CONFIG.desert_hum, 1.5),
|
||||
(CONFIG.tropical_temp, 0.5),
|
||||
(CONFIG.tropical_temp, 1.5),
|
||||
(1.0, 2.0),
|
||||
),
|
||||
(
|
||||
@ -2236,10 +2236,16 @@ impl SimChunk {
|
||||
),
|
||||
(
|
||||
ForestKind::Pine,
|
||||
(CONFIG.desert_hum, 2.0),
|
||||
(CONFIG.forest_hum, 1.25),
|
||||
(CONFIG.snow_temp, 2.5),
|
||||
(0.0, 1.0),
|
||||
),
|
||||
(
|
||||
ForestKind::Birch,
|
||||
(CONFIG.desert_hum, 1.5),
|
||||
(CONFIG.temperate_temp, 1.5),
|
||||
(0.0, 1.0),
|
||||
),
|
||||
];
|
||||
|
||||
candidates
|
||||
|
Loading…
Reference in New Issue
Block a user