find one rock at any depth

A new rock mode looks for the one highlighted rock anywhere between the
surface and the mantle: the overlay shows the columns that hold it, the
cursor label how deep it starts, and Find nearest the nearest such
column. It can be chosen only while one rock is highlighted, and while
it is on, clicking a rock in the legend highlights that one instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-08 21:35:24 +03:00
parent df0b8d815a
commit 75d734c2d6
5 changed files with 94 additions and 24 deletions

View File

@@ -71,6 +71,7 @@ Options:
| =--overlay NAME= | turn on an overlay: =landform=, =climate=, =province=, =upheaval=, =strata=, =rock=; repeatable |
| =--opacity F= | overlay opacity, 0 to 1; default 0.5 |
| =--rock-depth N= / =--rock-y Y= | rocks at N blocks under the surface, or at height Y |
| =--rock-any= | the one highlighted rock at any depth |
| =--highlight ROCK= | highlight a rock, e.g. =chalk=; repeatable |
| =--find= | find the nearest highlighted rock on start |
| =--probe X Z= | probe the column at block X, Z on start |
@@ -95,7 +96,8 @@ The map fills the middle of the window, between two panels.
to probe it again.
- With /Rock under cursor/ on, a label by the cursor names the rock
under it, as the Rocks section is set (at the surface, at a depth, or
at a height).
at a height). At any depth, it gives the Y of the rock's topmost block
and how far down that is, or says the column has none.
The further out you zoom, the coarser the terrain is sampled: every
block when zoomed in close, one in 32 when far out. Only what is on screen is computed;
@@ -135,7 +137,10 @@ when nothing is left to compute, the viewer sleeps.
- /Rock under cursor/ turns the cursor label on and off.
- *Rocks*: finding rock.
- Choose where to look: at the /Surface/, at a /Depth below
surface/, or /At Y/, and set the depth or Y.
surface/, or /At Y/, and set the depth or Y. /Any depth/ looks for
one rock anywhere from the surface down to the mantle; it can be
chosen while exactly one rock is highlighted, and while it is on,
clicking a rock in the legend highlights that one instead.
- The legend lists every rock with its share of the visible map,
while the Rock overlay is on.
- Click rocks in the legend to highlight them. With any highlighted,