Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, shipped biomes as module data with an export script Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…actor P5-P7); Blend into goes through the world-maps hooks Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sts follow the owner's Debug call for biome tuning Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ADME.md without slices built off README.md marks its World maps and Space text with the same slice markers as help.md. A production build writes the release README (dist/README.md beside main.js) with the off slices' blocks removed, and check:release fails when it holds a marker, an off module's owned string, or any line of an off slice's README blocks; the full build's README must keep them all. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…scale then generator split - Setup wizard: picking Biomes in "What are you mapping?" now makes an overworld through New overworld's path (finishNewOverworld): its region defaults (8 x 8 rect, normal blend), seed, gaps rule and the Biome column. "Make every region now" is offered in the step's Advanced, off. - Modules: ModuleRuntime.scaleSetup (a scale's choices and afterCreate); World maps' Biomes uses it. Core never names the module. - New map: "What are you mapping?" for new top-level maps (not submaps, regions or next to a map), then the scale's generators, Blank first. Generator options are main (owner override 2026-10-12 in placement.ts); Advanced holds the tuning sliders. Scale cards, sliders and choices come from src/ui/mapScaleForm.ts, shared with the wizard; optionsWithTuning resolves options for both. - Worksheet: NewMap.tuning, NewMap.makeAllRegions, Wizard.makeAllRegions rows; test OVERRIDES for the nine NewMap generator options. - Docs: README, help.md, ARCHITECTURE. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # package.json
…ast the overworld's edge Owner bug 2026-10-12: after a wheel zoom, hovering drawn regions said "No region yet" and a click on the top-right empty brick made the region of hex 7, 0, drawn far off to the right with no neighbours to blend with. OverworldLayer.cellAt inverted the child->grid-px transform measured at render, but bakeZoom changes the grid's font size (the grid is in em), so every grid px since was emNow/emThen too big. The drawing is placed in em and stayed right; only the hit test drifted. cellAt now scales back by the em ratio (cellAtGridPoint, pure + tested). Guard: createRegion / setBiomeAt refuse a hex outside the overworld grid (walkIntoHex grows the grid first), and the Regions view offers nothing for the gap past the edge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # package.json
…me and Lock it until locked Owner 2026-10-12: "reroll should be enabled for the newest sector when build is on". createRegion (the one path behind Set biome, the Biome painter, walk into new land, make every region / finishNewOverworld, Generate overworld and arrival) marks the region arrival: open, the GM4 state. The policy (src/workMode.ts: isOpenPlace, regionChangeAction, canChangeRegion) makes changing an open region count as place-biome (Build) and a locked one as reshape (God); reshapeLock, regenerateRegion, the Biome painter and Edit region... all ask it. Edit region... offers Reroll, Settings... and Lock in Build while open; the map view's Reroll/Lock bar shows on open regions. Regions with no arrival key (made before) count as locked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-12) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n the overworld menu; first hand edit locks Super-region (owner 2026-10-12): a new or rerolled region is made on an enlarged canvas, itself plus a margin of its made neighbours' real hexes (and its own locked hexes) held fixed (regionGen NeighbourContext): - draws lean type and name odds toward the context near each cell; - smoothing keeps context types the leaned odds allow; - a shore biome reads each made neighbour's land near each cell instead of one share for its whole side (the owner's coast now continues on the right, below its northern neighbour's land); - patches of a type the neighbours have nearby may start by the seam. Only own cells are written. Per-biome tuning (Debug, Borders & transitions): Neighbour context depth (3) and Neighbour influence (1); 0 gives exactly the old regions (parity snapshots). Owner's region 4, 0 (demo vault): seam continuity 15/22 -> 20/22 edge hexes; the four regions added that session 32/49 -> 45/49. Overworld right-click on an open region: Reroll region / Lock region (main; Reroll needs Build, Lock any mode). An open region locks itself on the first hand edit (paint terrain/icons, region areas, swaps, paths), via the write gate (modeGate.noteHandEdit) with one notice; navigating, viewing, rerolling and generated writes never lock. Extending the world (first biome, new region, walk into new land, arrival) stays Build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ks a new place) Fill / Regenerate terrain writes through setTerrainInFile, the same path as painting; it now passes generated=true: still gated by the work mode, but not reported as a hand edit, so it never auto-locks an open region. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, tooltip, reroll feedback, seams)
User test 2026-10-12 (runs/20261012-131538-demo-world):
1. Toolbar: the neighbour box never shrinks or clips (it hid the flower
behind Build); items hang from the row's top; when the row is still
cramped with the full width (overflow, or a crumb / the map button
squeezed below its own size) it wraps onto a second line (fitTopBar,
is-wrapped). The mode bar and the moved +/- start at the row's measured
bottom (--duckmage-top-band-bottom). Flower petals are 22px on an opaque
card with a hover ring (mapNav.flowerLayout); the hex editor's neighbour
flower scales to 22px tiles too.
2. New land's "same as here" is the region's own biome (walkFromBiome →
hexBiomeAt: Biome column, recorded biome, then terrain), not the biome
its terrain reads as. regionPass uses hexBiomeAt too.
3. Regions-view tooltip reads the last pointer position each frame and
clears on mouseleave (regionsViewTip).
4. Reroll (Edit region…, overworld menu, biome picker) says "Rerolled X.";
Edit region… shows a small preview of the region as it is now.
5. Past-edge regions: the grow path builds the same context as the in-grid
path (test: identical cells). The weak seam came from a fjord's ragged
edge; a seam pass (before islands/patches) gives an own cell the
land/water class its made neighbours across the seam clearly have.
Parity worlds' continuity 92-99% (was 92-98%), 1,5's replay mean
0.76 -> 0.85.
6. Biome painter: one notice per stroke ("Made Demo Bricks 2, 4.").
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rs, mixed biomes
More biomes (owner 2026-10-12: "more mountainous terrain, or one implying
underground caves"):
- Mountains: Highlands, Volcanic peaks, Glacier, Canyon, Mesa; lowlands:
Steppe, Desert, Wasteland, Blighted lands; sea: Reef. Each has a climate
so World biomes places it, transitions and min patches.
- Underground (`layer: underground`, never placed by World biomes, not in
the shipped pool): Caverns, Underdark, Fungal forest, Underground lake,
Mines and halls, Magma caves.
- New shared terrain types (cave floor, solid rock, underground water,
fungus, crystal, mine / hall, chasm, lava, blight) with type fallbacks
so they paint on any palette; eleven matching Expanded terrains, added
once to existing Expanded palettes (ADDED_PRESET_TERRAINS).
- Existing vaults get each new biome note once (BiomeStore seed); the new
surface ones join the shipped "All biomes" pool once.
- Biome pickers are grouped (Surface / Mountains / Water / Underground /
Blank, from each biome's data) with a filter box when long.
Mixed biomes in Edit region… ("Mix biomes…"): pick several biomes with a
weight each, live preview, Apply (same Build/God rule as changing the
biome). Stored readably ("Alpine 2 + Taiga 1") in the overworld's Biome
column and the region note's `biome:`. The region draws from each part by
zone (BlendField.zoned); its settings come from the weighted combination
(biomeCombo.ts). One biome is exactly as before (parity tests).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… biomes in Edit region Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ns; mixes label per line - Underground biomes: narrow blend and no lean toward the made regions next door (neighbour influence 0, context depth 0), or a cave amid forests reads as forest (sandbox check). No patch-size boost: patches ate the cave floor. - Edit region's biome strip is taller so group headings show. - Overworld biome labels: a mix is one part per line. - Sandbox dev tools paintBiome / editRegion for the visual checks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Plain Alpine set on a region ringed by forest regions came out all forest, its peaks never placed: the neighbour lean outweighed the biome's Mix inside the region, and min patches could only paint over types without a minimum (forest has one and filled every cell). - The neighbour lean fades with distance from the seam (new tuning "Neighbour fade", default 1 hex; 0 = no fade). - keepMix (new step 5, only with made neighbours): brings the region's type shares back to its biome's Mix (land/water split by its land share when it has one), the cells farthest from the seams first, growing in clumps. The seam band keeps its land/water and at least half of it keeps the type across the seam; land<->water only changes inside the region; island biomes keep their islands and get no new land; shore biomes are left as placed. New tuning "Keep the mix" (0..1, default 1). - Min patches may paint over a type with its own minimum while the context has pushed it over its Mix share; patches and islands keep the seam band's land/water (islands keep off the band unless the region is all band). - mixDistance: the identity metric (half the summed share differences vs the Mix). tests/measureBiomeIdentity.ts prints rings, the owner's world with 4,2 as Alpine, and every parity world. - Underground biomes: the neighbour-influence 0 / context-depth 0 workaround is removed (no longer needed); narrow blend kept. - Magma caves leads with lava (34, cave 28 + rock 22 still outweigh it), so its overworld hex reads as lava. - No neighbours: unchanged (parity snapshots). Owner continuity test's baseline is now the world made with no context anywhere (38/49), since the surrounding regions are made by the new generator. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rrain The seam-band share keepMix leaves on the neighbours' type (BAND_KEEP, from the biome-identity fix) is now a per-biome tuning param, "Seam band keeps neighbours" (band-keep, 0-1, default 0.5), in the biome page's Debug under Borders & transitions, next to Neighbour fade and Keep the mix. Unset or at 0.5 generation is unchanged (parity tests). Higher: smoother seams; lower: more of the region's own biome. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner 2026-10-12: "when mixing the weights should be zero sum sliders like in the generator tab, make sure that we keep consistent UX for things like this in the future". - src/ui/shares.ts (pure) + src/ui/shareSliders.ts (DOM): the generator page's inline influence sliders, extracted. Same look, 0-100% sliders that always add up to 100, proportional rebalance, wheel nudges 5% (one change once it settles), arrow keys 1%, whole-% readouts. A drag now rebalances from where it started, so dragging one to 100 and back restores the others' split. - Generator page map influence / blend: on ShareSliders, no visible change (regionWeights.rebalance is now a wrapper; parity test against the old implementation). - Edit region > Mix biomes: one share slider per picked biome (with its swatch and remove button), live preview throttled to 120 ms while dragging. Saved as the smallest whole weights that read back as the same percentages (67/33 -> "Alpine 2 + Taiga 1"); a mix whose shares weren't touched keeps its weights as written; old notes read as before. A biome added to a mix gets an equal share. - Blend into <biome>: "this map" vs the biome/generator, on ShareSliders. - README/help updated; tests/shareSliders.test.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The biome page is THE editor: name, colour, Made by, Regions start blank, Type mix and Terrain weights on ShareSliders (whole-percent weights; min patches survive a type dipping to 0%), land share inherited from the mix (dimmed, with the reset), Min islands (one label; "Fewest islands" gone), shore, Climate (Chance stays Debug via its BiomeForm.chance id), transitions, Debug tuning rows on LabeledSlider + ResetButton. Autosaves with the shared save-status line. - Biomes...: Edit... opens the page; Edit generator... only for biomes made by a generator; New biome... (was Add biome...) asks for name, colour and a biome to start from (or nothing), creates the note and opens the page. BiomeFormModal removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…; one footer
- Sliders (S1/S2/S4/S5/S7): background opacity, overlay pattern scale /
opacity / outline width, path type width, settings-tab sliders, Water,
Wiggly borders, generator sliders, path Amount and knobs, wizard tuning
all on LabeledSlider/MultiplierSlider; resets are the one ResetButton.
- Q2: the generator page's terrain "Mix" multiplier is "Bias" (shared
MultiplierSlider), resulting-share column kept; influence/blend stay
ShareSliders.
- Q3: biome pool weights are a MultiplierSlider.
- Q1: % column in the table editor (note ranges until changed, then the
weights; live on weight input, add/remove/reorder; a hand edit redraws an
untouched editor) and World types (live, per tab).
- Q5: no footer button on autosaving editors (table, workflow, path type,
terrain, faction, region-area); the shared save line on them, the biome
page and Edit region's notes. Faction/region-area editors and the terrain
editor now autosave on close; MapModal name saves on change.
- Q6: no confirm for generator delete, table/workflow delete (trash), path
type delete and generator reset (both with an Undo notice), map-data
commands (notice says what changed); map delete is two-click; workflow
results auto-rename ("Name 2"). ConfirmDeleteModal removed; ConfirmModal
only for the module offer and debug mode.
- Q7: every modal footer from HexmakerModal.footer, primary first; one
primary per surface (export choices, Use result/Copy, Roll all, Save
generator, per-row Edit, Apply mix are plain).
- Number fields scrub and clamp (overworld cols/rows/blank hexes, biome
page counts, New map size, palette editor sizes).
- FolderTreePickerModal, GotoHexModal, HexHelpModal extend HexmakerModal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- tests/uiConsistency.test.ts: fails on a range input outside src/ui/, a second primary on a surface (per class, allow-list with reasons), a modal not extending HexmakerModal, a hand-built footer row, or a text reset. - tests/uiControls.test.ts: the kit, the number-box switch, footer order, two-click, save line, % column, auto-rename, the biome page helpers. - README and help: the one biome editor, Bias, pool sliders, "same control everywhere", no confirm boxes. - Smoke: the wizard's tuning reset selector. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- styles.css: LabeledSlider, ResetButton, modal footer, two-click, save line and % column classes; stale footer/confirm/biome-form classes gone; action rows inside content are duckmage-action-row. - Q13 confirmed by the owner (worksheet r2): every slider gets a number box, shown only in debug mode. The alternative switch is dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Region roads and rivers that run on into the next region (an end hex on the shared edge, next to the end of a path of the same type across it) are joined into one overworld line per route and drawn as an SVG over the region bitmaps, in em so zoom bakes keep it. Paths inside one region and region copies of a confirmed overworld path aren't drawn. Width = type width x 0.5; types under 1.25 px (width <= 2) are skipped, by width never by name. Pieces are cached per region (invalidated by the map store's change event), the joined lines per overworld. Hover shows the path name (hit test in the child plane, rescaled by the em ratio). Layers menu: "Paths between regions" (overworlds, main, on by default), added through a generic module-row hook on the panel. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # package.json
…ight Every first region (an empty brick, Set biome..., New region, walking into new land) opens Edit region in new-region mode: biome tiles, Mix biomes, Reroll, Blend, Neighbour influence, borders and seed in Debug, a live preview against the made neighbours, then Create (exactly the preview) or Cancel (nothing written). WalkRegionModal's overworld form and BiomePickerModal are retired. Neighbour influence (0-2, default 1) scales the biome's neighbour-influence tuning per region, stored as neighbour-influence: in the region's map note; rerolls use it. The Biome painter and arrival stay form-free. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e uses it Neighbour influence and Wiggly borders use renderLabeledSlider; Create / Cancel come from the footer helper (Create the only primary of that mode). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… a loaded-machine ceiling Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On: registered with its keys, setting, command and wizard folder; a click on a neighbour is a step; a step marks both hexes visited at once (redecorated, no redraw), one undo with the move, a log line in Play and none in Build; the visited class follows the map (markDecorations, fake DOM); the menus, Add to log and the play log roll target (first in Play). Off: nothing registered; a party token is a plain token (never selected, the form leaves its keys); it still moves with one plain token undo, no visited marks, no saves, no log; no menus, targets or log writers; a map note with visited / show-visited round-trips byte-identical. Also checks release-slices.json (unreleased, hexflower requires it) and that the core files never name the module's ids. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…itor); docs for the play slice C9 opens the play log through the hex editor's Add to log link (the module's log writer) instead of a view method that no longer exists; in a build without the play slice it checks the party token is a plain token, its note keeps token-party and nothing is marked visited. The fresh setup lists play among its slices, so premerge runs C9 on the full build too. CLAUDE.md and ARCHITECTURE.md: the play slice, what stays in the core for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # .github/workflows/ci.yml # ARCHITECTURE.md # CLAUDE.md # release-slices.json # src/modules/runtime.ts # src/slices.d.ts # tests/fixtures/fileSizes.json # tests/moduleBoundary.ts # tests/moduleRegistry.test.ts # tests/placementOwnerTags.test.ts # tests/readmeCommands.test.ts
Every major feature can be switched off for a stable release. The
hexcrawl manual (a pure output feature with one importer) moves from
src/export/manual + exporters/hexcrawlManual.ts to src/modules/manual/
and plugs into the Map export form only through exportForm[]: its Fold
(player version, parts), its file in "Writes:", its button and its line
in "What's in each file". The form and its file names no longer name it:
mapExportFileNames takes the module parts and returns their files by id
(the core `manual` name is gone). Built on, the form is as before; built
off (HEXMAKER_SLICES_OFF=manual) it has PNG and PDF only.
- release-slices.json `manual` (__SLICE_MANUAL__, released), module +
runtime behind the flag, MODULE_DIRS, CI matrix `off:manual`.
- Its placement rows (exportManual, playerEdition, manualPart*) move into
the module, so an off build carries none of its ids.
- owns.strings: the Fold title, button, player label and the part labels
the core never uses ("Encounter tables" and "Index" are core text too).
- README/help text marked <!-- slice:manual -->.
- The form's checkboxes move to export/exportFormControls.ts, and the
exporter loads on first click (dynamic import): a static import made
an import cycle through the PNG renderer's module overlays.
- tests/slice-manual.test.ts (off: PNG/PDF only, no manual file; on: the
form as before, player rename, button options); existing manual tests
behind describeWith/itWith.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ices The smoke context now carries the slices the build under test has (its banner), and C11 asserts the Map export form shows the Hexcrawl manual Fold, button and "(manual)" file exactly when the manual slice is built, and only clicks the manual's button then. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # .github/workflows/ci.yml # ARCHITECTURE.md # CLAUDE.md # README.md # release-slices.json # src/modules/index.ts # src/modules/runtime.ts # src/plugin/commands.ts # src/workMode.ts # tests/fixtures/fileSizes.json # tests/fixtures/pureFiles.json # tests/moduleBoundary.ts # tests/moduleContributionPoints.test.ts # tests/moduleRegistry.test.ts # tests/readmeCommands.test.ts # tests/releaseSlices.test.ts
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> # Conflicts: # .github/workflows/ci.yml # ARCHITECTURE.md # CLAUDE.md # README.md # release-slices.json # src/export/MapExportModal.ts # src/modules/index.ts # src/modules/runtime.ts # src/slices.d.ts # tests/fixtures/pureFiles.json # tests/moduleBoundary.ts # tests/moduleContributionPoints.test.ts # tests/moduleRegistry.test.ts
…ce is built Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… go / Blank (HF8 step 1) New map asks what kind of map before the generator list. A module adds a mode through the new newMapModes contribution (Hex flower: Explore as you go), made by a generator that is never listed (TerrainGeneratorKind .unlisted, filtered by visibleKinds) but still resolves by id, so saves and submap defaults that name procedural:hex-flower keep working. With the hexflower slice off the choice is Generate it now / Blank. The background row and the generator cards move into the new-map-setup surface folder (src/worldgen/newMapSetup/) so the modal shrinks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… gate module Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…uttons and commands Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…s = right-click), narrow modals, isDesktopOnly false Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…rator (HF8 step 2) New map's generator list: a search box over a list that scrolls inside a fixed height (owner C1). Starred and recent generators first, then the engines and your own, then the shipped families and your folders as collapsed groups; each generator one line with a small learned / blend / continues tag, the picked one with its description under it. "Continues X's edge" is said once, above the list. The tree helpers (generatorTree, groupLabel, PRESET_GROUPS) move from the generator page to core src/worldgen/generatorTree.ts so New map works with genpage built off; libraryRows re-exports them. New optional settings starredGenerators / recentGenerators (written only once set). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hes reaching Obsidian's drawer swipe; guard the lift click after a long-press Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…realm of influence (HF8 step 3 = HF6) Explore as you go picks the generator that powers the map (New map's generator list), and "Add another area" puts more generators near, far or really far in one of the six hex directions (a direction another area holds is off, its tooltip naming it). Each area is a realm (realms.ts): influence exp(-k (d/D)^2) with a position-only warp, a seeded pick per hex (borders mix, interiors pure; sharp under Advanced), so coming back to an area gives its terrain again. Each realm rolls on a flower made in memory from its generator's terrain mix (realmFlowers.ts: a seeded 16x16 sample run on the map's palette, the six biggest shares through fillFromShares; blends are weighted sums), its walk kept in hex-flower-at under its name. Map note: explore-realms / explore-blend (module map-note fields; additive, unreleased slice, no migration) and explore-with: "(realms) -> terrain". Play: the party controls show Area: <the area it's in>, opening Change area (generator, where, which way, Reroll the spot and Borders under Advanced; one undo). Map properties lists the areas with Remove and the borders. The palette flower moves to Advanced -> Make your own flower; flower notes keep working there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… a start hex you pick (HF8 step 4 = HF5 part A) A blank Explore as you go map starts (2*sight+1) square (Party sees, 0-3 rings, default 1 ring) through a new TerrainGeneratorKind.sizeFor seam: New map hides its size controls behind the generator's line and gives them back when another generator is picked (the Size row moves to src/worldgen/newMapSetup/sizeRow.ts). The setup shows the map's hexes to pick the party's start (the middle by default; next to a map the shared edge is marked; very big grids get two fields). The start hex and what the party sees from it are filled at creation (startFill with a start and a sight radius), the start always from the home area, and the Party token goes there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e (HF8 step 5, owner C2) makeRoom cuts the growth so no side passes MAX_GRID_SIDE (200; capGrowth in maps/gridGrowth.ts, taking from the side growing more), grows what still fits, and says once a map session: "This map is at the largest size; it won't grow further." Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…; docs (HF8) From driving New map in the hidden sandbox: a realm's own centre is always that realm (the party starts at home, and Area says so); a realm flower puts its biggest walkable terrain on the start cell (no party starting out at sea); the start-hex grid is visible (button specificity) and the direction ring shows the party in the middle; Open in generator only shows for Generate it now. Smoke C10b drives the real form: Terrain -> Explore as you go (3 x 3 size line, 9-hex start grid), a second area north and near from a biome group, a moved start hex, Create; then the map's areas, the realms rule, a walkable start from home's terrains, and five steps north filling from the areas' terrains and growing the map. README and help describe the new flow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An explored map's terrain no longer comes from walking a flower from the neighbouring hex (which made scattered ponds and no big shapes). Each area's generators make a hidden 64x64 tile around its centre, mirrored past the edge; a hex reveals what that land holds, and blends share it in broad patches. The flower only nudges a revealed hex (12%) to a nearby terrain of the same shape (water/land/impassable). Home is anchored so the party starts on land. New party control Peek (explore-peek: on) tints blank hexes faintly with their hidden land for the GM. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…GM peek Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Play's "Start exploring from here…" (hex menu) puts the party token down, fogs the map and reveals what the party sees; each step reveals the sight around the hex entered instead of generating it. Stop lifts the fog and keeps what was seen. Writes only play state (explore-fog, explore-seen, explore-reveal), each as a map-field undo. - Core hooks: PlayHooks.fog (FogView) asked once per render; the grid, areas, labels, badges, names, legend, paths (visibleBranches), GM icons and other tokens skip hidden hexes; Peek draws them faded. - Owner additions (2026-10-26): the party bar's Sees 0·1·2·3 (selected state, stored as Party sees) and Look; the party's own hex clicked is a step in place (partyClick "look" → onLook: no move, no visit, no travel); the GM reveals exactly the hexes picked (Reveal this hex / Hide again, and a "Reveal hexes" brush: the core hexBrush tool, one undo per stroke); Roll this hex fills only that hex. - Export: "Whole map / As the party has seen it" for PNG, PDF table and the hexcrawl manual. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…l coast, chult bench); mobile fog steps; fixes from the runs - C10c-fog (overworld setup: a demo region; real-data: the-coast, and a render bench on chult): Start exploring through the hex menu and its dialog, 3 steps, Sees 2 + a click on the party's own hex (ring 2, token unmoved, one undo), Peek, one distant hex revealed and hidden, a brush drag as one undo, Stop; no map data changed. - C10b: Sees 2 + the party's own hex fills ring 2 with the token unmoved. - Mobile emulation: Start exploring from the long-press menu, the party bar within 390 px, Sees 2 in one tap, a tap on the party's own hex, a finger drag with the Reveal hexes brush. - Fixes found by the runs: Start exploring turns a hidden tokens layer on (the party must be seen); a brush stroke that ends without a click no longer swallows the next click; a hidden hex's tooltip says nothing of it; Start exploring isn't offered on overworlds (their region layer isn't fogged). Help text for the party controls and fog of war. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… the flower's top six Since HF10 a revealed hex comes from the area generators' hidden tile, rare terrains included (overland's desert rocky, trench), so "Rolls on: <top six> NN%" undersold it. The line now reads the area's hidden tile (world.ts RealmWorlds, the same cached tile the preview and the made map use): "Land: mostly grass, hills and mixed forest; also marsh and desert rocky." (describeLand: the biggest up to ~60%, at most three, then the rest over 0.5%). Falls back to the flower's sample when the generator can't run. Smoke C10b parses the new line and checks the start hex's terrain is one the home land names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
User-defined per-hex fields, declared once per world in `<world folder>/Hex fields.md` (fields and place influences) and stored as `## Hexes` columns of each map note, plus a "Field rolls" column. - Typed fields: number, whole number, text, yes/no, choice; a default, a random table to roll, or a formula over the same hex's fields (safe parser: names with spaces, + - * / × ÷, min/max/round…, dice). - Rolled when a hex gets terrain (paint, generate, explore) through MapStore's fill hook (maps/fieldFill.ts, a port), so the fill shares the terrain write's mode gate (explore = discover) and its undo. - New `near: <place type> <radius>` When key (core TableConditionDef). - Place influences: per place type and field, Here and Nearby (fading) add / multiply / set. Places come from terrain names or types, and from notes linked under a hex note's Towns (`place-type:`). - Recalculate fields command: update places (keep rolls and typed values) or roll everything again; one undo step; gated edit-fields. - Hex editor Fields section, hex table columns / filters / field sort, Settings → Hex fields (declarations and influences, written to the note). - New ModeAction edit-fields (Build). Town aggregation and anything economic moved to plan-play-bookkeeping (not built). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… a town, undo); docs Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # styles.css
Records the two hotfixes as merged without taking their code: - 1.5.7's read-only guard (dataStamp, safetyMode) is for 1.5.x meeting a vault updated by a newer build. This line is that newer build: it writes dataFormat 2 itself, so the guard would lock its own vault. - 1.5.8's CacheCatchup redraws maps read from the metadata cache. Here map data comes from MapStore, so its blank-while-indexing bug doesn't apply. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Draft. Tracks everything on
feat/region-notesthat isn't onmaster, i.e. not in the released plugin (last release: 1.5.6). It is not for merging yet. Releases will be cut as feature slices (plan in the KB noteplan-release-slicing), and this PR is the running record of what is unreleased.Unreleased so far (high level)
map:link key, stale body lines moved into the Map data box, and wikilinks for references.npm run premerge) and Obsidian-review CI.In progress
Not decided yet
🤖 Generated with Claude Code