mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
address comments, boost village pop, lower raid chance
This commit is contained in:
parent
da9585205c
commit
3c623c6801
@ -6,8 +6,10 @@ EntityConfig (
|
||||
loot: Uninit,
|
||||
|
||||
hands: TwoHanded(Choice([
|
||||
(2.0, Some(Item("common.items.weapons.sword.cobalt-0"))),
|
||||
(1.0, Some(Item("common.items.weapons.sword.cobalt-0"))),
|
||||
(2.0, Some(Item("common.items.weapons.bow.metal-2"))),
|
||||
(1.0, Some(Item("common.items.weapons.axe.cobalt_axe-0"))),
|
||||
|
||||
])),
|
||||
meta: [
|
||||
SkillSetAsset("common.skillset.village.guard"),
|
||||
|
@ -1,8 +1,9 @@
|
||||
({
|
||||
ActiveMainhand: Choice([
|
||||
(1.0, Some(Item("common.items.weapons.sword.wood-2"))),
|
||||
(1.0, Some(Item("common.items.weapons.sword.iron-0"))),
|
||||
(1.0, Some(Item("common.items.weapons.bow.hardwood-2"))),
|
||||
(1.0, Some(Item("common.items.weapons.axe.steel_axe-0"))),
|
||||
(1.0, Some(Item("common.items.weapons.staff.frostwood_torch"))),
|
||||
]),
|
||||
|
||||
Armor(Chest): Item("common.items.npc_armor.chest.leather_blue"),
|
||||
|
@ -1,4 +1,5 @@
|
||||
([
|
||||
Tree("common.skillset.dungeon.tier-5.sword"),
|
||||
Tree("common.skillset.dungeon.tier-5.bow"),
|
||||
Tree("common.skillset.dungeon.tier-5.axe"),
|
||||
])
|
||||
|
@ -501,7 +501,7 @@ impl Entity {
|
||||
let time_to_move = if time_to_move.is_none() {
|
||||
// Time increment is how long raiders stay at a site about. Is longer for
|
||||
// home site and shorter for target site.
|
||||
let time_increment = if raid_complete { 300.0 } else { 60.0 };
|
||||
let time_increment = if raid_complete { 600.0 } else { 60.0 };
|
||||
Some((time.0 / time_increment).ceil() * time_increment + time_increment)
|
||||
} else {
|
||||
time_to_move
|
||||
|
@ -895,7 +895,7 @@ impl Settlement {
|
||||
let entity_wpos = Vec3::new(wpos2d.x as f32, wpos2d.y as f32, col_sample.alt + 3.0);
|
||||
|
||||
if matches!(sample.plot, Some(Plot::Town { .. }))
|
||||
&& RandomField::new(self.seed).chance(Vec3::from(wpos2d), 1.0 / (50.0 * 40.0))
|
||||
&& RandomField::new(self.seed).chance(Vec3::from(wpos2d), 1.0 / (20.0 * 40.0))
|
||||
{
|
||||
let is_dummy =
|
||||
RandomField::new(self.seed + 1).chance(Vec3::from(wpos2d), 1.0 / 15.0);
|
||||
|
Loading…
Reference in New Issue
Block a user