mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Create temperature requirement for giant tree.
Since the giant tree is currently a leafy tree, it looks a bit out of place in colder regions where there's otherwise only pine trees.
This commit is contained in:
parent
c1335e16fe
commit
08ffcdf5a5
@ -1336,7 +1336,9 @@ impl SiteKind {
|
||||
SiteKind::Gnarling => {
|
||||
(-0.3..0.4).contains(&chunk.temp) && chunk.tree_density > 0.75
|
||||
},
|
||||
SiteKind::GiantTree | SiteKind::Tree => chunk.tree_density > 0.4,
|
||||
SiteKind::GiantTree | SiteKind::Tree => {
|
||||
chunk.tree_density > 0.4 && (-0.3..0.4).contains(&chunk.temp)
|
||||
},
|
||||
SiteKind::CliffTown => {
|
||||
(-0.6..0.4).contains(&chunk.temp)
|
||||
&& chunk.near_cliffs()
|
||||
|
Loading…
Reference in New Issue
Block a user