Improved tree hanging and cedar distribution

This commit is contained in:
Joshua Barretto 2021-09-01 12:09:15 +01:00
parent 1b0cb40d94
commit 71826bccae
2 changed files with 8 additions and 8 deletions

View File

@ -48,7 +48,7 @@ impl ForestKind {
ForestKind::Baobab => 0.4..0.9, ForestKind::Baobab => 0.4..0.9,
ForestKind::Oak => -0.35..0.45, ForestKind::Oak => -0.35..0.45,
ForestKind::Chestnut => -0.35..0.45, ForestKind::Chestnut => -0.35..0.45,
ForestKind::Cedar => -1.0..0.1, ForestKind::Cedar => -0.65..0.15,
ForestKind::Pine => -1.8..-0.2, ForestKind::Pine => -1.8..-0.2,
ForestKind::Birch => -0.7..0.25, ForestKind::Birch => -0.7..0.25,
ForestKind::Mangrove => 0.4..1.6, ForestKind::Mangrove => 0.4..1.6,

View File

@ -350,7 +350,7 @@ impl TreeConfig {
leaf_vertical_scale: 1.0, leaf_vertical_scale: 1.0,
proportionality: 0.0, proportionality: 0.0,
inhabited: false, inhabited: false,
hanging_sprites: &[(0.0005, SpriteKind::Beehive)], hanging_sprites: &[(0.0002, SpriteKind::Apple), (0.00015, SpriteKind::Beehive)],
} }
} }
@ -398,7 +398,7 @@ impl TreeConfig {
leaf_vertical_scale: 0.2, leaf_vertical_scale: 0.2,
proportionality: 1.0, proportionality: 1.0,
inhabited: false, inhabited: false,
hanging_sprites: &[(0.0005, SpriteKind::Beehive)], hanging_sprites: &[(0.00015, SpriteKind::Beehive)],
} }
} }
@ -422,7 +422,7 @@ impl TreeConfig {
leaf_vertical_scale: 0.4, leaf_vertical_scale: 0.4,
proportionality: 0.0, proportionality: 0.0,
inhabited: false, inhabited: false,
hanging_sprites: &[(0.0005, SpriteKind::Beehive)], hanging_sprites: &[(0.00015, SpriteKind::Beehive)],
} }
} }
@ -446,7 +446,7 @@ impl TreeConfig {
leaf_vertical_scale: 0.2, leaf_vertical_scale: 0.2,
proportionality: 1.0, proportionality: 1.0,
inhabited: false, inhabited: false,
hanging_sprites: &[(0.0005, SpriteKind::Beehive)], hanging_sprites: &[(0.00005, SpriteKind::Beehive)],
} }
} }
@ -470,7 +470,7 @@ impl TreeConfig {
leaf_vertical_scale: 0.5, leaf_vertical_scale: 0.5,
proportionality: 0.5, proportionality: 0.5,
inhabited: false, inhabited: false,
hanging_sprites: &[(0.0005, SpriteKind::Beehive)], hanging_sprites: &[(0.00015, SpriteKind::Beehive)],
} }
} }
@ -494,7 +494,7 @@ impl TreeConfig {
leaf_vertical_scale: 0.3, leaf_vertical_scale: 0.3,
proportionality: 1.0, proportionality: 1.0,
inhabited: false, inhabited: false,
hanging_sprites: &[(0.0005, SpriteKind::Beehive)], hanging_sprites: &[(0.0001, SpriteKind::Beehive)],
} }
} }
@ -517,7 +517,7 @@ impl TreeConfig {
leaf_vertical_scale: 0.6, leaf_vertical_scale: 0.6,
proportionality: 0.0, proportionality: 0.0,
inhabited, inhabited,
hanging_sprites: &[(0.0005, SpriteKind::Beehive)], hanging_sprites: &[(0.00025, SpriteKind::Apple), (0.00025, SpriteKind::Beehive)],
} }
} }
} }