Files
claudeandClaude Opus 5.5 d128a0ddc6
test / test (push) Successful in 1m45s
Cavern biomes: glimmer grove, prism gallery, drowned grotto
The cavern layer gets its own biome table, picked per cell from two 2D
noises so biomes are patches in x and y. Each row names a floor cover,
floor flora, a ceiling chain, giant mushrooms, a pool threshold and a
spawn table (read by strata.spawn_candidates when given x).

- Glimmer grove: mycel turf, glowing glimmercaps (drop glowspores) and
  umbrel mushrooms that fell like trees and give wood.
- Prism gallery: glowing prism clusters on floors and roofs (drop prism
  shards, a material for later gear).
- Drowned grotto: silt floors, glowing dripvines up to 4 long and far
  more water pools.

Flora glows, can be walked through and drops when the block holding it
is dug; a hanging chain goes all at once. Glowspore + wood makes torches.
Names and art are original; df_caverns was only a reference for the idea.

Tests: 6 new cases in tests/caverns.lua (table, coverage, node_at scan,
a generated site per biome, flora support, felling, recipe and spawns);
the layer tests accept cavern biome nodes. 103/103 pass, no ERROR lines.

Closes #70

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 01:25:05 -05:00
..