mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
npc_spawn_fixes
This commit is contained in:
parent
375bb5be00
commit
e88d61eb44
@ -9,6 +9,7 @@ SpawnEntry (
|
||||
(80, (1, 1, "common.entity.wild.peaceful.eagle")),
|
||||
// Rare
|
||||
(20, (1, 1, "common.entity.wild.aggressive.archaeos")),
|
||||
(20, (1, 1, "common.entity.wild.aggressive.ntouka")),
|
||||
(20, (1, 1, "common.entity.wild.aggressive.tarantula")),
|
||||
(20, (1, 1, "common.entity.wild.aggressive.ogre")),
|
||||
],
|
||||
|
@ -529,7 +529,7 @@ pub fn apply_spots_to(canvas: &mut Canvas, _dynamic_rng: &mut impl Rng) {
|
||||
entity_radius: f32,
|
||||
// The entities that should be spawned in the spot, from closest to furthest
|
||||
// (count_range, spec)
|
||||
// count_range = number of entities, chosen randomly within this range
|
||||
// count_range = number of entities, chosen randomly within this range (not inclusive!)
|
||||
// spec = Manifest spec for the entity kind
|
||||
entities: &'a [(Range<i32>, &'a str)],
|
||||
}
|
||||
@ -576,7 +576,7 @@ pub fn apply_spots_to(canvas: &mut Canvas, _dynamic_rng: &mut impl Rng) {
|
||||
Spot::RockCircle => SpotConfig {
|
||||
base_structures: Some("spots.rock-circle"),
|
||||
entity_radius: 20.0,
|
||||
entities: &[(-8..1, "common.entity.wild.aggressive.dullahan")],
|
||||
entities: &[(-8..2, "common.entity.wild.aggressive.dullahan")],
|
||||
},
|
||||
Spot::MyrmidonTemple => SpotConfig {
|
||||
base_structures: Some("spots.myrmidon-temple"),
|
||||
@ -623,7 +623,7 @@ pub fn apply_spots_to(canvas: &mut Canvas, _dynamic_rng: &mut impl Rng) {
|
||||
entities: &[
|
||||
(1..2, "common.entity.dungeon.gnarling.mandragora"),
|
||||
(2..6, "common.entity.wild.aggressive.deadwood"),
|
||||
(0..1, "common.entity.wild.aggressive.mossdrake"),
|
||||
(0..2, "common.entity.wild.aggressive.mossdrake"),
|
||||
],
|
||||
},
|
||||
Spot::TrollCave => SpotConfig {
|
||||
|
Loading…
Reference in New Issue
Block a user