ludic.wildlife (17.10): count the steps refused and turned from

The count is wildlife_turned(), the 75-degree fallback an animal takes when the way was not enough. It is a measure only and is not saved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-27 22:38:37 +03:00
parent ab84a5f936
commit 297578705e
2 changed files with 5 additions and 0 deletions

View file

@ -58,6 +58,7 @@ export state WildlifeState {
wl_dice: Rng = rng_new(97)
wl_hold: bool = false # staged: nobody thinks, everybody keeps their speed
wl_spot_ask: WildSpot = new WildSpot
wl_turned: int = 0 # steps refused and turned 75 degrees instead: the fallback, counted
}
function wl_sp_all(wildlife_st: WildlifeState) -> []WildSpecies {