Restore old chaos.

This commit is contained in:
Joshua Yanovski 2019-08-22 01:01:13 +02:00
parent 16ad7ba042
commit 139933194c
2 changed files with 3 additions and 3 deletions

View File

@ -317,7 +317,7 @@ impl<'a> Sampler for ColumnGen<'a> {
snow_moss,
temp.sub(CONFIG.snow_temp)/*.div(CONFIG.snow_temp.neg())*/
.sub((marble - 0.5) * 0.05)
.mul(1.0)
.mul(256.0)
),
// 0 to tropical_temp
grass,
@ -352,7 +352,7 @@ impl<'a> Sampler for ColumnGen<'a> {
snow_moss,
temp.sub(CONFIG.snow_temp)/*.div(CONFIG.snow_temp.neg())*/
.sub((marble - 0.5) * 0.05)
.mul(1.0)
.mul(256.0)
),
// 0 to tropical_temp
rainforest,

View File

@ -668,7 +668,7 @@ impl SimChunk {
// Sharply decreases (towards 0.35) when temperature is near desert_temp (from below),
// then saturates just before it actually becomes desert. Otherwise stays at 1.
.mul(
temp_old.sub(CONFIG.desert_temp)
temp_old.sub(0.45)
.neg()
.mul(12.0)
.max(0.35)