ludic.wildlife: painted habitats and ranges through the port (habitat_in, range_at), the rule where none is painted

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-29 20:35:13 +03:00
parent 668a9ecf69
commit cc24409d87
10 changed files with 170 additions and 32 deletions

View file

@ -0,0 +1,7 @@
bump: minor
type: feature
**`ludic.wildlife`: a map may paint where a species lives.** Two new `WildlifeWorld` members, both with
defaults that change nothing: `habitat_in(sp, x, z)` answers 1 inside a species' painted habitat, 0
outside and -1 where the map paints none (the kind's rule stands), and `range_at(sp, k, r)` fills the
map's k-th painted range, which is set out as painted and draws no dice. Spots, ranges, fills and
newcomers keep to the paint (`wildlife_habitat_of`, `wildlife_find_spot_of`), never under water.