This commit is contained in:
Forrest 2026-10-07 14:50:55 -04:00
parent 215e24e246
commit bbd8012fff
16 changed files with 510 additions and 213 deletions

View file

@ -394,7 +394,6 @@ func _breach(r: GameTestRunner, sim: FarmSim, player: PlayerCharacter) -> void:
inside = inside and pen.has_point(sim.animals.position(id))
r.check(inside and _at_loose_spots(sim) and sim.animals.pen_open,
"every penned animal is in the pen and every loose one at its spot (the pen still open: the gate is gone)")
r.check(sim.review_panel._body.text.contains("The pen is open"), "the morning review says the pen is open")
var e: Dictionary = s.night_log[s.night_log.size() - 1]
r.check(e["animals_lost"] == 0 and e["animals_strayed"] >= 2, "the night's record: %s" % [e])
# Retry: lose one to a thief tonight (the only way to lose an animal), fall, and the morning