mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Test
This commit is contained in:
parent
526386e51c
commit
8978bc9dc4
@ -576,17 +576,6 @@ pub fn apply_scatter_to(canvas: &mut Canvas, _rng: &mut impl Rng, calendar: Opti
|
||||
)
|
||||
},
|
||||
},
|
||||
ScatterConfig {
|
||||
kind: TallCactus,
|
||||
water_mode: Ground,
|
||||
permit: |b| matches!(b, BlockKind::Grass),
|
||||
f: |_, col| {
|
||||
(
|
||||
close(col.temp, 1.0, 0.25).min(close(col.humidity, 0.0, 0.1)) * MUSH_FACT * 1.5,
|
||||
None,
|
||||
)
|
||||
},
|
||||
},
|
||||
ScatterConfig {
|
||||
kind: BarrelCactus,
|
||||
water_mode: Ground,
|
||||
@ -598,6 +587,17 @@ pub fn apply_scatter_to(canvas: &mut Canvas, _rng: &mut impl Rng, calendar: Opti
|
||||
)
|
||||
},
|
||||
},
|
||||
ScatterConfig {
|
||||
kind: TallCactus,
|
||||
water_mode: Ground,
|
||||
permit: |b| matches!(b, BlockKind::Grass),
|
||||
f: |_, col| {
|
||||
(
|
||||
close(col.temp, 1.0, 0.25).min(close(col.humidity, 0.0, 0.1)) * MUSH_FACT * 1.5,
|
||||
None,
|
||||
)
|
||||
},
|
||||
},
|
||||
ScatterConfig {
|
||||
kind: RoundCactus,
|
||||
water_mode: Ground,
|
||||
|
Loading…
Reference in New Issue
Block a user