Wolves and boars slow farming instead of cutting its yield
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
ac73fa996d
commit
29ed3780da
2 changed files with 6 additions and 6 deletions
|
|
@ -1100,10 +1100,10 @@ class HappeningsTest(unittest.TestCase):
|
|||
self.assertNotIn("logs", self.city["stockpile"])
|
||||
self.assertTrue(self.city["cold"])
|
||||
|
||||
def test_wolves_halve_farming_until_fighters_clear_them(self):
|
||||
def test_wolves_slow_farming_until_fighters_clear_them(self):
|
||||
game._minor_threat(self.world, T0, self.rng, "wolves")
|
||||
p = self.world["players"]["ann"]
|
||||
self.assertEqual(game.skill_mods(self.world, game.ACTION_BY_ID["farm_wheat"])["yield"], 0.5)
|
||||
self.assertEqual(game.skill_mods(self.world, game.ACTION_BY_ID["farm_wheat"])["speed"], 2.0)
|
||||
p["xp"]["combat"] = game.XP_TABLE[30]
|
||||
p["hp"] = game.max_hp(p)
|
||||
self.assertIsNone(game.start_action(self.world, p, "clear_wolves", T0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue