mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
change SeaCrocodile spawn
This commit is contained in:
parent
fb316e8f66
commit
ea6f09ec88
@ -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],
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user