Files
claudeandClaude Opus 5.5 3f5c0c6848
test / test (push) Failing after 11m56s
2D liquids: water and lava that flow only on the plane
- strata_core/liquids.lua: strata.register_liquid; water and lava as
  leveled nodeboxes (level 1..64 in param2) moved by a cellular sim on
  z = 0 only: react (lava + water = ashglass), fall up to 3 rows, share
  level with lower side neighbours. Active-set driven; cells wake on
  place/dig next to them, neighbour changes and block load (LBM).
- Buckets: empty, water and lava (3 iron bars at an anvil).
- Mapgen: cave pools resting on a solid floor, water in the upper three
  layers, lava in the underworld (mg.pool_liquid).
- strata_player/swim.lua: liquid physics for the avatar (slower walk,
  reduced gravity, sink cap, hold jump to swim, surface hop), own breath
  with a HUD bubble bar, drowning and lava damage; liquids break falls.
- Placeholder textures for water, lava, ashglass, buckets and bubbles.
- 8 new selftest cases; layer tests treat liquid as open cave.

Closes #22

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