change SeaCrocodile spawn

This commit is contained in:
floppy 2022-01-25 10:27:25 +01:00
parent fb316e8f66
commit ea6f09ec88
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ SpawnEntry (
rules: [
Pack(
groups: [
(1, (3, 4, "common.entity.wild.aggressive.sea_crocodile")),
(1, (1, 3, "common.entity.wild.aggressive.sea_crocodile")),
],
is_underwater: true,
day_period: [Night, Morning, Noon, Evening],

View File

@ -264,8 +264,8 @@ pub fn spawn_manifest() -> Vec<(&'static str, DensityFn)> {
}),
// Ocean animals
("world.wildlife.spawn.tropical.ocean", |_c, col| {
close(col.temp, CONFIG.tropical_temp, 0.1)
* if col.water_dist.map(|d| d < 1.0).unwrap_or(false) && col.tree_density < 0.1 {
close(col.temp, CONFIG.tropical_temp, 0.1) / 10.0
* if col.water_dist.map(|d| d < 1.0).unwrap_or(false) && col.tree_density == 0.0 {
0.001
} else {
0.0