Spaces:
Running
Running
Sync from GitHub 964d9e3
Browse filesThis view is limited to 50 files because it contains too many changes. Β See raw diff
Files changed (50)
- CHANGELOG.md+26
- CONTRIBUTING.md+3-3
- README.md+27-26
- assets/electronique/decoration_minor.png β assets/electronic/decoration_minor.pngRenamed
- assets/electronique/difficult_terrain.png β assets/electronic/difficult_terrain.pngRenamed
- assets/electronique/door_closed.png β assets/electronic/door_closed.pngRenamed
- assets/electronique/hazard_primary.png β assets/electronic/hazard_primary.pngRenamed
- assets/electronique/obstacle_decor.png β assets/electronic/obstacle_decor.pngRenamed
- assets/electronique/stairs.png β assets/electronic/stairs.pngRenamed
- assets/electronique/walkable_floor.png β assets/electronic/walkable_floor.pngRenamed
- assets/electronique/walkable_floor_alt.png β assets/electronic/walkable_floor_alt.pngRenamed
- assets/electronique/wall.png β assets/electronic/wall.pngRenamed
- assets/electronique/wall_corner.png β assets/electronic/wall_corner.pngRenamed
- assets/inonde/decoration_minor.png β assets/flooded/decoration_minor.pngRenamed
- assets/inonde/difficult_terrain.png β assets/flooded/difficult_terrain.pngRenamed
- assets/inonde/door_closed.png β assets/flooded/door_closed.pngRenamed
- assets/inonde/hazard_primary.png β assets/flooded/hazard_primary.pngRenamed
- assets/inonde/obstacle_decor.png β assets/flooded/obstacle_decor.pngRenamed
- assets/inonde/stairs.png β assets/flooded/stairs.pngRenamed
- assets/inonde/walkable_floor.png β assets/flooded/walkable_floor.pngRenamed
- assets/inonde/walkable_floor_alt.png β assets/flooded/walkable_floor_alt.pngRenamed
- assets/inonde/wall.png β assets/flooded/wall.pngRenamed
- assets/inonde/wall_corner.png β assets/flooded/wall_corner.pngRenamed
- assets/glaciaire/decoration_minor.png β assets/glacier/decoration_minor.pngRenamed
- assets/glaciaire/difficult_terrain.png β assets/glacier/difficult_terrain.pngRenamed
- assets/glaciaire/door_closed.png β assets/glacier/door_closed.pngRenamed
- assets/glaciaire/hazard_primary.png β assets/glacier/hazard_primary.pngRenamed
- assets/glaciaire/obstacle_decor.png β assets/glacier/obstacle_decor.pngRenamed
- assets/glaciaire/stairs.png β assets/glacier/stairs.pngRenamed
- assets/glaciaire/walkable_floor.png β assets/glacier/walkable_floor.pngRenamed
- assets/glaciaire/walkable_floor_alt.png β assets/glacier/walkable_floor_alt.pngRenamed
- assets/glaciaire/wall.png β assets/glacier/wall.pngRenamed
- assets/glaciaire/wall_corner.png β assets/glacier/wall_corner.pngRenamed
- docs/client-setup.md+1-1
- docs/sprite-generation.md+4-4
- docs/themes.md+50-50
- docs/tools.md+5-5
- docs/troubleshooting.md+1-1
- maps/README.md+5-5
- maps/reseau-electronique-repaire-hacker.tmj β maps/hacker-lair.tmjRenamed+30-30
- maps/forteresse-glace-etage.tmj β maps/ice-fortress.tmjRenamed+33-33
- maps/exemple-crypte-nemotron.tmj β maps/nemotron-crypt-example.tmjRenamed+8-8
- maps/caverne-aquatique.tmj β maps/water-cavern.tmjRenamed+9-9
- package-lock.json+3-3
- package.json+3-1
- scripts/README.md+5-4
- scripts/create-aquatic-map.mjs+11-11
- scripts/create-electronic-hacker-map.mjs+10-10
- scripts/create-glacier-map.mjs+14-14
- scripts/gen-docs.mjs+10-10
12345# Changelog## 0.4.1Walking reachability: a map can load correctly and still not be explorable. Suggested in12345678910111213141516171819202122232425262728293031# Changelog## 0.5.0Everything is in English: theme keys, names and descriptions, sprite folders and example maps.### Changed- Ten theme keys were French and are now English: `GLACIAIRE` -> `GLACIER`, `INONDE` -> `FLOODED`,`VOLCAN` -> `VOLCANO`, `FORET` -> `DARK_FOREST`, `HIVER` -> `WINTER`, `PRINTEMPS` -> `SPRING`,`ETE` -> `SUMMER`, `AUTOMNE` -> `AUTUMN`, `FUTURISTE` -> `FUTURISTIC`, `ELECTRONIQUE` -> `ELECTRONIC`.The MCP tools list only the English keys and answer an old key with its replacement("Theme 'GLACIAIRE' was renamed 'GLACIER'"); `getTheme()` in the builder API and the web APIstill accept the old keys.- Every theme has an English display name and description (for example "Mournevald Crypt","Werewolf Den", "Frozen Tundra").- Sprite folders, sprite ids and tileset names follow the new keys (`assets/glacier/`,`assets/flooded/`, `assets/electronic/`, ...). A map saved before 0.5.0 with one of the renamedthemes points at the old folder: save it again, or rename the folder in its tileset paths.- Example maps have English file names and contents: `water-cavern.tmj`, `ice-fortress.tmj`,`hacker-lair.tmj` and `nemotron-crypt-example.tmj`.### Added- `npm test` runs every offline suite once; `npm run test:loop` runs them 5 times in a row.- The smoke test loops over all 20 themes: English key, name and description, each layout presetbuilds a map the player can walk with no warning, and a saved map finds its sprites.## 0.4.1Walking reachability: a map can load correctly and still not be explorable. Suggested in
7 unmodified lines8910111213141524 unmodified lines404142434445467 unmodified lines```bashnpm installnpm run build # compile tiled-mcp/src to tiled-mcp/distnpm run smoke # 38 offline end-to-end checks; must stay greennpm run smoke:http # hosted mode checks; must stay greennpm run docs # regenerate docs/tools.md and docs/themes.md after changing tools or themesnpm run inspect # try tools by hand in the MCP Inspectornpm run preview -- maps/<file>.tmj # look at a map without Tiled24 unmodified lines## Pull requests1. One topic per pull request.2. `npm run build && npm run smoke && npm run smoke:http` passes, and `npm run docs` shows no unexpected diff.3. Update the README or `docs/` when behaviour changes, and add a line to `CHANGELOG.md`.By contributing you agree that your contribution is licensed under the [MIT license](LICENSE).7 unmodified lines8910111213141524 unmodified lines404142434445467 unmodified lines```bashnpm installnpm run build # compile tiled-mcp/src to tiled-mcp/distnpm test # every offline suite: 96 + 96 (legacy coordinates) + 39 checks; must stay greennpm run test:loop # the same 5 times in a row, to catch flaky failuresnpm run docs # regenerate docs/tools.md and docs/themes.md after changing tools or themesnpm run inspect # try tools by hand in the MCP Inspectornpm run preview -- maps/<file>.tmj # look at a map without Tiled24 unmodified lines## Pull requests1. One topic per pull request.2. `npm run build && npm test` passes, and `npm run docs` shows no unexpected diff.3. Update the README or `docs/` when behaviour changes, and add a line to `CHANGELOG.md`.By contributing you agree that your contribution is licensed under the [MIT license](LICENSE).
142 unmodified lines14314414514614714814966 unmodified lines2162172182192202212222232242252262272282292302312322332342352362372382392402415 unmodified lines24724824925025125225325424 unmodified lines27928028128228328428528624 unmodified lines311312313314315316317142 unmodified linescd Tiled-MCP-Servernpm install # installs the server workspacenpm run build # compiles tiled-mcp/src to tiled-mcp/distnpm run smoke # optional: 38 offline end-to-end checks```Then register the server with your MCP client. With **Claude Code**, from the repository folder:66 unmodified lines| Theme key | Display name | Setting | Sprites ||---|---|---|---|| `CRYPT` | Crypte mournevaldienne | Burial vaults, cracked flagstones, poison vents | β || `CASTLE` | Castel Von Drak | Black marble halls, throne room, grand stairs | β || `WEREWOLF_DEN` | TaniΓ¨re de loups-garous | Damp caves, bones, blood pools | β || `TAVERN_BLOOD_PRINCE` | Auberge du Prince Sanglant | Tavern interior, oak tables, hearth | β || `VILLAGE` | Village mournevaldien | Wet cobblestones, half-timbered houses, well | β || `HAUNTED_FOREST` | ForΓͺt de Drakenmark | Dark undergrowth, brambles, parasitic mist | β || `MAUSOLEUM` | MausolΓ©e | Veined marble, fallen-angel statues, urns | β || `BLOOD_TOMB` | Tombeau de sang | Ritual sanctuary, bleeding runes, altar | β || `AQUATIC` | Eaux Croupies | Stagnant water, water lilies, sunken ruins | β || `GLACIAIRE` | Toundra GlacΓ©e | Black ice, frozen statues, thin ice | β || `INONDE` | Cote Inondee | Drowned city, kelp, deep currents | β || `ELECTRONIQUE` | Reseau Electronique | Circuit boards, cables, mainframe cores | β || `VOLCAN` | Pente Volcanique | Lava flows, obsidian, ash | β || `FORET` | Foret Sombre | Twisted woods, quicksand, standing stones | β || `HIVER` | Plaine Enneigee | Snowfields, frozen lakes, cairns | β || `PRINTEMPS` | Prairie Printaniere | Flowering meadows, streams, maypole | β || `ETE` | Plaine Estivale | Golden wheat, cracked earth, scarecrows | β || `AUTOMNE` | Foret d'Automne | Russet leaves, bog mire, mushrooms | β || `DESOLATION` | Terre Desolee | Ash pits, charred trees, ruins | β || `FUTURISTE` | Cite Futuriste | Chrome, neon, plasma leaks, server racks | β |β sprites bundled in `assets/` Β· β no sprites yet: the maps are valid and Tiled shows placeholders until you [generate the sprites](docs/sprite-generation.md).5 unmodified lines<img src="assets/castle/stairs.png" alt="castle stairs" height="64"><img src="assets/werewolf_den/obstacle_decor.png" alt="boulder" height="64"><img src="assets/aquatic/hazard_primary.png" alt="deep water" height="64"><img src="assets/glaciaire/obstacle_decor.png" alt="frozen statue" height="64"><img src="assets/electronique/obstacle_decor.png" alt="mainframe core" height="64"><img src="assets/mausoleum/obstacle_decor.png" alt="fallen angel statue" height="64"></p>24 unmodified linesMap building is free and offline. Generating new sprites calls FLUX.1-dev through Hugging Face Inference Providers and **costs money per sprite**. The tools never overwrite an existing sprite unless you pass `force`, and the batch script asks for `--yes`:```bashnode scripts/gen-theme-set.mjs VOLCAN --dry-run # free: shows what would be generatednode scripts/gen-theme-set.mjs VOLCAN --yes # paid: about 10 sprites```Read **[docs/sprite-generation.md](docs/sprite-generation.md)** before you start.24 unmodified lines| Command | What it does ||---|---|| `npm run build` | Compile the server || `npm run smoke` | Start the server and run 62 offline end-to-end checks || `npm run start:web` | Start the hosted mode (web page and MCP over HTTP) on port 7860 || `npm run smoke:http` | Test the hosted mode offline, with a stand-in for the AI model || `npm run inspect` | Open the server in the [MCP Inspector](https://github.com/modelcontextprotocol/inspector) |142 unmodified lines14314414514614714814966 unmodified lines2162172182192202212222232242252262272282292302312322332342352362372382392402415 unmodified lines24724824925025125225325424 unmodified lines27928028128228328428528624 unmodified lines311312313314315316317318142 unmodified linescd Tiled-MCP-Servernpm install # installs the server workspacenpm run build # compiles tiled-mcp/src to tiled-mcp/distnpm test # optional: every offline test suite (96 + 96 + 39 checks)```Then register the server with your MCP client. With **Claude Code**, from the repository folder:66 unmodified lines| Theme key | Display name | Setting | Sprites ||---|---|---|---|| `CRYPT` | Mournevald Crypt | Burial vaults, cracked flagstones, poison vents | β || `CASTLE` | Castle Von Drak | Black marble halls, throne room, grand stairs | β || `WEREWOLF_DEN` | Werewolf Den | Damp caves, bones, blood pools | β || `TAVERN_BLOOD_PRINCE` | Blood Prince Inn | Tavern interior, oak tables, hearth | β || `VILLAGE` | Mournevald Village | Wet cobblestones, half-timbered houses, well | β || `HAUNTED_FOREST` | Drakenmark Forest | Dark undergrowth, brambles, parasitic mist | β || `MAUSOLEUM` | Mausoleum | Veined marble, fallen-angel statues, urns | β || `BLOOD_TOMB` | Blood Tomb | Ritual sanctuary, bleeding runes, altar | β || `AQUATIC` | Stagnant Waters | Stagnant water, water lilies, sunken ruins | β || `GLACIER` | Frozen Tundra | Black ice, frozen statues, thin ice | β || `FLOODED` | Flooded Coast | Drowned city, kelp, deep currents | β || `ELECTRONIC` | Electronic Network | Circuit boards, cables, mainframe cores | β || `VOLCANO` | Volcanic Slope | Lava flows, obsidian, ash | β || `DARK_FOREST` | Dark Forest | Twisted woods, quicksand, standing stones | β || `WINTER` | Snowy Plain | Snowfields, frozen lakes, cairns | β || `SPRING` | Spring Meadow | Flowering meadows, streams, maypole | β || `SUMMER` | Summer Plain | Golden wheat, cracked earth, scarecrows | β || `AUTUMN` | Autumn Forest | Russet leaves, bog mire, mushrooms | β || `DESOLATION` | Desolate Land | Ash pits, charred trees, ruins | β || `FUTURISTIC` | Futuristic City | Chrome, neon, plasma leaks, server racks | β |β sprites bundled in `assets/` Β· β no sprites yet: the maps are valid and Tiled shows placeholders until you [generate the sprites](docs/sprite-generation.md).5 unmodified lines<img src="assets/castle/stairs.png" alt="castle stairs" height="64"><img src="assets/werewolf_den/obstacle_decor.png" alt="boulder" height="64"><img src="assets/aquatic/hazard_primary.png" alt="deep water" height="64"><img src="assets/glacier/obstacle_decor.png" alt="frozen statue" height="64"><img src="assets/electronic/obstacle_decor.png" alt="mainframe core" height="64"><img src="assets/mausoleum/obstacle_decor.png" alt="fallen angel statue" height="64"></p>24 unmodified linesMap building is free and offline. Generating new sprites calls FLUX.1-dev through Hugging Face Inference Providers and **costs money per sprite**. The tools never overwrite an existing sprite unless you pass `force`, and the batch script asks for `--yes`:```bashnode scripts/gen-theme-set.mjs VOLCANO --dry-run # free: shows what would be generatednode scripts/gen-theme-set.mjs VOLCANO --yes # paid: about 10 sprites```Read **[docs/sprite-generation.md](docs/sprite-generation.md)** before you start.24 unmodified lines| Command | What it does ||---|---|| `npm run build` | Compile the server || `npm test` | Run every offline test suite once; `npm run test:loop` runs them 5 times in a row || `npm run smoke` | Start the server and run 96 offline end-to-end checks, including one loop over all 20 themes || `npm run start:web` | Start the hosted mode (web page and MCP over HTTP) on port 7860 || `npm run smoke:http` | Test the hosted mode offline, with a stand-in for the AI model || `npm run inspect` | Open the server in the [MCP Inspector](https://github.com/modelcontextprotocol/inspector) |
189 unmodified lines190191192193189 unmodified linesyour browser, connected to the server. You can list the tools, call `create_map`, then`generate_crypt_layout`, then `save_to_disk`, and open the file in Tiled.For an automated check, `npm run smoke` runs 39 end-to-end checks without any network access.189 unmodified lines190191192193189 unmodified linesyour browser, connected to the server. You can list the tools, call `create_map`, then`generate_crypt_layout`, then `save_to_disk`, and open the file in Tiled.For an automated check, `npm run smoke` runs 96 end-to-end checks without any network access.
7 unmodified lines8910111213141521 unmodified lines37383940414243447 unmodified lines## When you need it12 of the 20 themes ship with sprites in `assets/`. The other 8 (`VOLCAN`, `FORET`, `HIVER`,`PRINTEMPS`, `ETE`, `AUTOMNE`, `DESOLATION`, `FUTURISTE`) produce valid maps, but Tiled showsplaceholders until their PNGs exist. `list_themes` reports the status of every theme.You also need generation for **contextual variants**, such as an alembic instead of the default21 unmodified lines```bashnpm run buildnode scripts/gen-theme-set.mjs VOLCAN --dry-run # free: lists the sprites it would generatenode scripts/gen-theme-set.mjs VOLCAN --yes # paidnode scripts/gen-theme-set.mjs --missing --dry-run # every theme that lacks sprites```7 unmodified lines8910111213141521 unmodified lines37383940414243447 unmodified lines## When you need it12 of the 20 themes ship with sprites in `assets/`. The other 8 (`VOLCANO`, `DARK_FOREST`, `WINTER`,`SPRING`, `SUMMER`, `AUTUMN`, `DESOLATION`, `FUTURISTIC`) produce valid maps, but Tiled showsplaceholders until their PNGs exist. `list_themes` reports the status of every theme.You also need generation for **contextual variants**, such as an alembic instead of the default21 unmodified lines```bashnpm run buildnode scripts/gen-theme-set.mjs VOLCANO --dry-run # free: lists the sprites it would generatenode scripts/gen-theme-set.mjs VOLCANO --yes # paidnode scripts/gen-theme-set.mjs --missing --dry-run # every theme that lacks sprites```
11 unmodified lines12131415161718192021222324252627282930313233343536378 unmodified lines46474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310411 unmodified lines| Key | Display name | Setting | Roles | Sprites ||---|---|---|---|---|| `CRYPT` | Crypte mournevaldienne | Burial vaults under chapels, cracked flagstones, poison vents from broken sarcophagi. | 10 | bundled (10/10) || `CASTLE` | Castel Von Drak | Black marble and basalt halls, broken stained glass, throne room, grand stairs. | 9 | bundled (9/9) || `WEREWOLF_DEN` | TaniΓ¨re de loups-garous | Damp caves dug into the forest, bone-strewn earth floor, claw-marked rock, blood pools. | 8 | bundled (8/8) || `TAVERN_BLOOD_PRINCE` | Auberge du Prince Sanglant | Dark floorboards, heavy beams, oak tables, crackling hearth. No active traps. | 8 | bundled (8/8) || `VILLAGE` | Village mournevaldien | Rain-soaked cobblestones, shuttered half-timbered houses, abandoned stalls, well and gallows. | 7 | bundled (7/7) || `HAUNTED_FOREST` | ForΓͺt de Drakenmark | Stifling undergrowth of black moss, fallen trunks, parasitic mist that slows walkers. | 7 | bundled (7/7) || `MAUSOLEUM` | MausolΓ©e | Grey-veined marble, fallen-angel statues, funeral urns in niches. No hazards. | 8 | bundled (8/8) || `BLOOD_TOMB` | Tombeau de sang | Deep ritual sanctuary, pulsing bleeding runes, central altar. | 8 | bundled (8/8) || `AQUATIC` | Eaux Croupies | Black stagnant water, water lilies, sunken ruins, haunted marsh. | 10 | bundled (10/10) || `GLACIAIRE` | Toundra GlacΓ©e | Black ice, figures frozen in the ice, frost, haunted tundra. | 10 | bundled (10/10) || `INONDE` | Cote Inondee | Drowned city under the waves, hanging kelp, broken bridges, deep currents. | 10 | bundled (10/10) || `VOLCAN` | Pente Volcanique | Lava flows, cooled black rock, flying ash, active caldera. | 10 | not generated yet (0/10) || `FORET` | Foret Sombre | Twisted woods, thick moss, exposed roots, misty clearings, quicksand. | 10 | not generated yet (0/10) || `HIVER` | Plaine Enneigee | Powder snow, frozen lakes, frosted branches, trappers' huts. | 10 | not generated yet (0/10) || `PRINTEMPS` | Prairie Printaniere | Flowering meadows, clear streams, budding trees, druid circles. | 10 | not generated yet (0/10) || `ETE` | Plaine Estivale | Golden grass, ripe wheat, cloudless heat, abandoned granaries. | 10 | not generated yet (0/10) || `AUTOMNE` | Foret d'Automne | Russet leaves, mushrooms, morning mist, bog mire. | 10 | not generated yet (0/10) || `DESOLATION` | Terre Desolee | Cold ash, charred trees, barren ground, post-cataclysm ruins. | 10 | not generated yet (0/10) || `FUTURISTE` | Cite Futuriste | Chrome, cold neon, holographic panels, dystopian megacity. | 10 | not generated yet (0/10) || `ELECTRONIQUE` | Reseau Electronique | Circuit boards, optic fibre, silent servers, AI cores. | 10 | bundled (10/10) |## Roles per theme8 unmodified lines| `MAUSOLEUM` | `walkable_floor`, `walkable_floor_alt`, `wall`, `difficult_terrain`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `BLOOD_TOMB` | `walkable_floor`, `walkable_floor_alt`, `wall`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed` || `AQUATIC` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `GLACIAIRE` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `INONDE` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `VOLCAN` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `FORET` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `HIVER` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `PRINTEMPS` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `ETE` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `AUTOMNE` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `DESOLATION` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `FUTURISTE` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `ELECTRONIQUE` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` |## Original descriptions**CRYPT** (Crypte mournevaldienne): Caveaux funΓ©raires sous les chapelles, dalles fissurΓ©es, runes mortuaires, gaz toxiques Γ©manant des sarcophages disjoints.**CASTLE** (Castel Von Drak): Marbres noirs, basalte poli, vitraux brisΓ©s, banniΓ¨res frappΓ©es du blason des Von Drak. Salle du trΓ΄ne, escaliers grandioses, candΓ©labres en fer noir.**WEREWOLF_DEN** (TaniΓ¨re de loups-garous): Cavernes humides creusΓ©es dans la forΓͺt de Drakenmark, sol en terre battue jonchΓ© d'ossements, parois rocheuses entaillΓ©es par les griffes, mares de sang frΓ©nΓ©tique prΓ¨s des proies rΓ©centes.**TAVERN_BLOOD_PRINCE** (Auberge du Prince Sanglant): Parquet sombre, enduit fissurΓ©, lourde charpente apparente. Tables rondes en chΓͺne, Γ’tre crΓ©pitant, bar marbrΓ© de taches anciennes. Pas de piΓ¨ges actifs β la peur suffit.**VILLAGE** (Village mournevaldien): PavΓ©s humides luisant sous la pluie perpΓ©tuelle, maisons Γ colombages aux fenΓͺtres closes, Γ©tals de marchΓ© abandonnΓ©s, puits central et potence rouillΓ©e sur la place.**HAUNTED_FOREST** (ForΓͺt de Drakenmark): Sous-bois Γ©touffant de mousses noires, troncs morts couchΓ©s, brumes parasitaires qui s'enroulent autour des chevilles et ralentissent la marche.**MAUSOLEUM** (MausolΓ©e): Marbre veinΓ© de gris, statues d'anges dΓ©chus aux ailes brisΓ©es, urnes funΓ©raires alignΓ©es dans les niches, chuchotements Γ la limite de l'audible.**BLOOD_TOMB** (Tombeau de sang): Sanctuaire profond consacrΓ© aux pactes anciens. Dalles rituelles, runes saignantes qui pulsent au passage, autel central, candΓ©labres en fer noir. Le sang ne sΓ¨che jamais sur ce sol.**AQUATIC** (Eaux Croupies): Eaux noires stagnantes, nΓ©nuphars, ruines submergΓ©es, brume sur l'eau. Marais hantΓ©, pontons pourris, cryptes inondΓ©es.**GLACIAIRE** (Toundra GlacΓ©e): Glace noire, figures gelΓ©es prises dans la glace, givre, stalactites de pierre. Toundra hantΓ©e, pontons de gel, cryptes sous pergΓ©lisol.**INONDE** (Cote Inondee): Villes englouties sous les flots, ruines submergees, algues pendantes, eaux saumustres. Quartiers noyΓ©s, ponts rompus, cryptes immergees.**VOLCAN** (Pente Volcanique): CoulΓ©es de lave, roches noires refroidies, cendres volantes, chaleur Γ©touffante. Caldera active, ponts de basalte, cryptes de cendre.**FORET** (Foret Sombre): Bois sylvains tordus, mousse Γ©paisse, racines apparentes, clairiΓ¨res brumeuses. Foret hantΓ©e, huttes de bΓ»cherons, tombes sous les chΓͺnes.**HIVER** (Plaine Enneigee): Neige poudreuse, lacs gelΓ©s, branches givrΓ©es, brouillard glacial. Toundra hivernale, refuges de trappeurs, tombeaux sous la neige.**PRINTEMPS** (Prairie Printaniere): Champs en fleurs, herbe tendre, ruisseaux clairs, arbres en bourgeon. Prairies ouvertes, cercles de druides, fontaines sacrΓ©es.**ETE** (Plaine Estivale): Herbe dorΓ©e, blΓ©s mΓ»rs, ciel sans nuage, chaleur accablante. Moissons, greniers abandonnΓ©s, ossuaires sous le soleil.**AUTOMNE** (Foret d'Automne): Feuilles rousses, champignons, brume matinale, gibier traquΓ©. Bois automnal, sentiers couverts, tombes sous les Γ©rables.**DESOLATION** (Terre Desolee): Cendres froides, arbres carbonisΓ©s, sols stΓ©riles, ciel gris. Paysage post-cataclysmique, ruines calcinΓ©es, ossuaires Γ ciel ouvert.**FUTURISTE** (Cite Futuriste): MΓ©tal chromΓ©, nΓ©ons froids, panneaux holographiques, gratte-ciel en ruine. Megalopole dystopique, laboratoires secrets, citΓ©s volantes.**ELECTRONIQUE** (Reseau Electronique): Circuits imprimΓ©s, fibres optiques, donnΓ©es en flux, serveurs silencieux. Matrice numΓ©rique, nΕuds de calcul, foyers d'IA.## Adding a theme11 unmodified lines12131415161718192021222324252627282930313233343536378 unmodified lines46474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310411 unmodified lines| Key | Display name | Setting | Roles | Sprites ||---|---|---|---|---|| `CRYPT` | Mournevald Crypt | Burial vaults under chapels, cracked flagstones, poison vents from broken sarcophagi. | 10 | bundled (10/10) || `CASTLE` | Castle Von Drak | Black marble and basalt halls, broken stained glass, throne room, grand stairs. | 9 | bundled (9/9) || `WEREWOLF_DEN` | Werewolf Den | Damp caves dug into the forest, bone-strewn earth floor, claw-marked rock, blood pools. | 8 | bundled (8/8) || `TAVERN_BLOOD_PRINCE` | Blood Prince Inn | Dark floorboards, heavy beams, oak tables, crackling hearth. No active traps. | 8 | bundled (8/8) || `VILLAGE` | Mournevald Village | Rain-soaked cobblestones, shuttered half-timbered houses, abandoned stalls, well and gallows. | 7 | bundled (7/7) || `HAUNTED_FOREST` | Drakenmark Forest | Stifling undergrowth of black moss, fallen trunks, parasitic mist that slows walkers. | 7 | bundled (7/7) || `MAUSOLEUM` | Mausoleum | Grey-veined marble, fallen-angel statues, funeral urns in niches. No hazards. | 8 | bundled (8/8) || `BLOOD_TOMB` | Blood Tomb | Deep ritual sanctuary, pulsing bleeding runes, central altar. | 8 | bundled (8/8) || `AQUATIC` | Stagnant Waters | Black stagnant water, water lilies, sunken ruins, haunted marsh. | 10 | bundled (10/10) || `GLACIER` | Frozen Tundra | Black ice, figures frozen in the ice, frost, haunted tundra. | 10 | bundled (10/10) || `FLOODED` | Flooded Coast | Drowned city under the waves, hanging kelp, broken bridges, deep currents. | 10 | bundled (10/10) || `VOLCANO` | Volcanic Slope | Lava flows, cooled black rock, flying ash, active caldera. | 10 | not generated yet (0/10) || `DARK_FOREST` | Dark Forest | Twisted woods, thick moss, exposed roots, misty clearings, quicksand. | 10 | not generated yet (0/10) || `WINTER` | Snowy Plain | Powder snow, frozen lakes, frosted branches, trappers' huts. | 10 | not generated yet (0/10) || `SPRING` | Spring Meadow | Flowering meadows, clear streams, budding trees, druid circles. | 10 | not generated yet (0/10) || `SUMMER` | Summer Plain | Golden grass, ripe wheat, cloudless heat, abandoned granaries. | 10 | not generated yet (0/10) || `AUTUMN` | Autumn Forest | Russet leaves, mushrooms, morning mist, bog mire. | 10 | not generated yet (0/10) || `DESOLATION` | Desolate Land | Cold ash, charred trees, barren ground, post-cataclysm ruins. | 10 | not generated yet (0/10) || `FUTURISTIC` | Futuristic City | Chrome, cold neon, holographic panels, dystopian megacity. | 10 | not generated yet (0/10) || `ELECTRONIC` | Electronic Network | Circuit boards, optic fibre, silent servers, AI cores. | 10 | bundled (10/10) |## Roles per theme8 unmodified lines| `MAUSOLEUM` | `walkable_floor`, `walkable_floor_alt`, `wall`, `difficult_terrain`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `BLOOD_TOMB` | `walkable_floor`, `walkable_floor_alt`, `wall`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed` || `AQUATIC` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `GLACIER` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `FLOODED` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `VOLCANO` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `DARK_FOREST` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `WINTER` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `SPRING` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `SUMMER` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `AUTUMN` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `DESOLATION` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `FUTURISTIC` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` || `ELECTRONIC` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` |## Original descriptions**CRYPT** (Mournevald Crypt): Burial vaults beneath the chapels, cracked flagstones, funeral runes, toxic gas seeping from broken sarcophagi.**CASTLE** (Castle Von Drak): Black marble, polished basalt, shattered stained glass, banners bearing the Von Drak crest. Throne room, grand staircases, black iron candelabra.**WEREWOLF_DEN** (Werewolf Den): Damp caves dug into the Drakenmark forest, packed-earth floor strewn with bones, rock walls scored by claws, pools of blood near fresh prey.**TAVERN_BLOOD_PRINCE** (Blood Prince Inn): Dark floorboards, cracked plaster, heavy exposed beams. Round oak tables, a crackling hearth, a bar marked with old stains. No active traps: fear is enough.**VILLAGE** (Mournevald Village): Wet cobblestones gleaming under endless rain, half-timbered houses with shuttered windows, abandoned market stalls, a central well and a rusty gallows on the square.**HAUNTED_FOREST** (Drakenmark Forest): Stifling undergrowth of black moss, fallen dead trunks, clinging mists that coil around the ankles and slow every step.**MAUSOLEUM** (Mausoleum): Grey-veined marble, statues of fallen angels with broken wings, funeral urns lined up in niches, whispers at the edge of hearing.**BLOOD_TOMB** (Blood Tomb): A deep sanctuary devoted to ancient pacts. Ritual slabs, bleeding runes that pulse as you pass, a central altar, black iron candelabra. Blood never dries on this floor.**AQUATIC** (Stagnant Waters): Black stagnant water, water lilies, sunken ruins, mist on the water. Haunted marsh, rotten pontoons, flooded crypts.**GLACIER** (Frozen Tundra): Black ice, figures frozen in the ice, frost, stone stalactites. Haunted tundra, frozen pontoons, crypts under the permafrost.**FLOODED** (Flooded Coast): Towns swallowed by the sea, sunken ruins, hanging seaweed, brackish water. Drowned districts, broken bridges, submerged crypts.**VOLCANO** (Volcanic Slope): Lava flows, cooled black rock, drifting ash, stifling heat. Active caldera, basalt bridges, crypts of ash.**DARK_FOREST** (Dark Forest): Twisted woods, thick moss, exposed roots, misty clearings. Haunted forest, woodcutters' huts, graves under the oaks.**WINTER** (Snowy Plain): Powder snow, frozen lakes, frosted branches, freezing fog. Winter tundra, trappers' shelters, tombs under the snow.**SPRING** (Spring Meadow): Fields in bloom, tender grass, clear streams, budding trees. Open meadows, druid circles, sacred fountains.**SUMMER** (Summer Plain): Golden grass, ripe wheat, cloudless sky, crushing heat. Harvest fields, abandoned granaries, ossuaries under the sun.**AUTUMN** (Autumn Forest): Russet leaves, mushrooms, morning mist, hunted game. Autumn woods, leaf-covered paths, graves under the maples.**DESOLATION** (Desolate Land): Cold ash, charred trees, barren ground, grey sky. Post-cataclysm landscape, burnt ruins, open-air ossuaries.**FUTURISTIC** (Futuristic City): Chrome metal, cold neon, holographic panels, ruined skyscrapers. Dystopian megacity, secret laboratories, flying cities.**ELECTRONIC** (Electronic Network): Printed circuits, optical fibres, streaming data, silent servers. Digital matrix, compute nodes, AI cores.## Adding a theme
46 unmodified lines47484950515253329 unmodified lines3833843853863873883897 unmodified lines39739839940040140240311 unmodified lines41541641741841942042146 unmodified lines46846947047147247347446 unmodified lines| `name` | string | yes | Display name of the map, e.g. 'Crypt under the abandoned chapel'. 1..120 chars || `width` | integer | yes | Width in cells, 4..256 (1 cell = 5 ft in tabletop terms). 4..256 || `height` | integer | yes | Height in cells, 4..256. 4..256 || `theme` | `CRYPT`, `CASTLE`, `WEREWOLF_DEN`, `TAVERN_BLOOD_PRINCE`, `VILLAGE`, `HAUNTED_FOREST`, `MAUSOLEUM`, `BLOOD_TOMB`, `AQUATIC`, `GLACIAIRE`, `INONDE`, `VOLCAN`, `FORET`, `HIVER`, `PRINTEMPS`, `ETE`, `AUTOMNE`, `DESOLATION`, `FUTURISTE`, `ELECTRONIQUE` | yes | Theme key from list_themes, e.g. CRYPT || `orientation` | `isometric`, `orthogonal` | no | Defaults to isometric |### list_maps329 unmodified lines| Parameter | Type | Required | Notes ||---|---|---|---|| `theme` | `CRYPT`, `CASTLE`, `WEREWOLF_DEN`, `TAVERN_BLOOD_PRINCE`, `VILLAGE`, `HAUNTED_FOREST`, `MAUSOLEUM`, `BLOOD_TOMB`, `AQUATIC`, `GLACIAIRE`, `INONDE`, `VOLCAN`, `FORET`, `HIVER`, `PRINTEMPS`, `ETE`, `AUTOMNE`, `DESOLATION`, `FUTURISTE`, `ELECTRONIQUE` | yes | Theme key from list_themes || `role` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` | yes | Tile role, e.g. walkable_floor, wall, obstacle_decor || `material` | string | no | || `lighting` | string | no | |7 unmodified lines| Parameter | Type | Required | Notes ||---|---|---|---|| `theme` | `CRYPT`, `CASTLE`, `WEREWOLF_DEN`, `TAVERN_BLOOD_PRINCE`, `VILLAGE`, `HAUNTED_FOREST`, `MAUSOLEUM`, `BLOOD_TOMB`, `AQUATIC`, `GLACIAIRE`, `INONDE`, `VOLCAN`, `FORET`, `HIVER`, `PRINTEMPS`, `ETE`, `AUTOMNE`, `DESOLATION`, `FUTURISTE`, `ELECTRONIQUE` | yes | Theme key from list_themes || `role` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` | yes | Tile role, e.g. walkable_floor, wall, obstacle_decor || `variant` | string | no | Contextual variant slug, e.g. 'alembic' for a laboratory: saved as <role>__<variant>.png and bound to a map with override_tile_image. pattern `^[a-z0-9_]+$` || `material` | string | no | Override of the material description, e.g. 'alchemical workbench with brass alembics' |11 unmodified lines| Parameter | Type | Required | Notes ||---|---|---|---|| `theme` | `CRYPT`, `CASTLE`, `WEREWOLF_DEN`, `TAVERN_BLOOD_PRINCE`, `VILLAGE`, `HAUNTED_FOREST`, `MAUSOLEUM`, `BLOOD_TOMB`, `AQUATIC`, `GLACIAIRE`, `INONDE`, `VOLCAN`, `FORET`, `HIVER`, `PRINTEMPS`, `ETE`, `AUTOMNE`, `DESOLATION`, `FUTURISTE`, `ELECTRONIQUE` | yes | Theme key from list_themes || `force` | boolean | no | Regenerate sprites that already exist (paid again) || `seed` | integer | no | -9007199254740991..9007199254740991 |46 unmodified lines| `name` | string | no | Display name, e.g. 'Miller house'; also the base of the building id. 1..80 chars || `door` | `south`, `east` | no | Footprint edge with the door: south (default, bottom-left face) or east (bottom-right face) || `interior` | boolean | no | Create and link an interior map (default true); false places a building that cannot be entered || `interiorTheme` | `CRYPT`, `CASTLE`, `WEREWOLF_DEN`, `TAVERN_BLOOD_PRINCE`, `VILLAGE`, `HAUNTED_FOREST`, `MAUSOLEUM`, `BLOOD_TOMB`, `AQUATIC`, `GLACIAIRE`, `INONDE`, `VOLCAN`, `FORET`, `HIVER`, `PRINTEMPS`, `ETE`, `AUTOMNE`, `DESOLATION`, `FUTURISTE`, `ELECTRONIQUE` | no | Theme of the interior (default per type: TAVERN_BLOOD_PRINCE, MAUSOLEUM or CASTLE) || `interiorWidth` | integer | no | Interior width in cells (default per type). 5..256 || `interiorHeight` | integer | no | Interior height in cells (default per type). 5..256 || `spriteVariant` | string | no | Use assets/buildings/<type>__<variant>.png instead of <type>.png. pattern `^[a-z0-9_]+$` |46 unmodified lines47484950515253329 unmodified lines3833843853863873883897 unmodified lines39739839940040140240311 unmodified lines41541641741841942042146 unmodified lines46846947047147247347446 unmodified lines| `name` | string | yes | Display name of the map, e.g. 'Crypt under the abandoned chapel'. 1..120 chars || `width` | integer | yes | Width in cells, 4..256 (1 cell = 5 ft in tabletop terms). 4..256 || `height` | integer | yes | Height in cells, 4..256. 4..256 || `theme` | `CRYPT`, `CASTLE`, `WEREWOLF_DEN`, `TAVERN_BLOOD_PRINCE`, `VILLAGE`, `HAUNTED_FOREST`, `MAUSOLEUM`, `BLOOD_TOMB`, `AQUATIC`, `GLACIER`, `FLOODED`, `VOLCANO`, `DARK_FOREST`, `WINTER`, `SPRING`, `SUMMER`, `AUTUMN`, `DESOLATION`, `FUTURISTIC`, `ELECTRONIC` | yes | Theme key from list_themes, e.g. CRYPT || `orientation` | `isometric`, `orthogonal` | no | Defaults to isometric |### list_maps329 unmodified lines| Parameter | Type | Required | Notes ||---|---|---|---|| `theme` | `CRYPT`, `CASTLE`, `WEREWOLF_DEN`, `TAVERN_BLOOD_PRINCE`, `VILLAGE`, `HAUNTED_FOREST`, `MAUSOLEUM`, `BLOOD_TOMB`, `AQUATIC`, `GLACIER`, `FLOODED`, `VOLCANO`, `DARK_FOREST`, `WINTER`, `SPRING`, `SUMMER`, `AUTUMN`, `DESOLATION`, `FUTURISTIC`, `ELECTRONIC` | yes | Theme key from list_themes || `role` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` | yes | Tile role, e.g. walkable_floor, wall, obstacle_decor || `material` | string | no | || `lighting` | string | no | |7 unmodified lines| Parameter | Type | Required | Notes ||---|---|---|---|| `theme` | `CRYPT`, `CASTLE`, `WEREWOLF_DEN`, `TAVERN_BLOOD_PRINCE`, `VILLAGE`, `HAUNTED_FOREST`, `MAUSOLEUM`, `BLOOD_TOMB`, `AQUATIC`, `GLACIER`, `FLOODED`, `VOLCANO`, `DARK_FOREST`, `WINTER`, `SPRING`, `SUMMER`, `AUTUMN`, `DESOLATION`, `FUTURISTIC`, `ELECTRONIC` | yes | Theme key from list_themes || `role` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` | yes | Tile role, e.g. walkable_floor, wall, obstacle_decor || `variant` | string | no | Contextual variant slug, e.g. 'alembic' for a laboratory: saved as <role>__<variant>.png and bound to a map with override_tile_image. pattern `^[a-z0-9_]+$` || `material` | string | no | Override of the material description, e.g. 'alchemical workbench with brass alembics' |11 unmodified lines| Parameter | Type | Required | Notes ||---|---|---|---|| `theme` | `CRYPT`, `CASTLE`, `WEREWOLF_DEN`, `TAVERN_BLOOD_PRINCE`, `VILLAGE`, `HAUNTED_FOREST`, `MAUSOLEUM`, `BLOOD_TOMB`, `AQUATIC`, `GLACIER`, `FLOODED`, `VOLCANO`, `DARK_FOREST`, `WINTER`, `SPRING`, `SUMMER`, `AUTUMN`, `DESOLATION`, `FUTURISTIC`, `ELECTRONIC` | yes | Theme key from list_themes || `force` | boolean | no | Regenerate sprites that already exist (paid again) || `seed` | integer | no | -9007199254740991..9007199254740991 |46 unmodified lines| `name` | string | no | Display name, e.g. 'Miller house'; also the base of the building id. 1..80 chars || `door` | `south`, `east` | no | Footprint edge with the door: south (default, bottom-left face) or east (bottom-right face) || `interior` | boolean | no | Create and link an interior map (default true); false places a building that cannot be entered || `interiorTheme` | `CRYPT`, `CASTLE`, `WEREWOLF_DEN`, `TAVERN_BLOOD_PRINCE`, `VILLAGE`, `HAUNTED_FOREST`, `MAUSOLEUM`, `BLOOD_TOMB`, `AQUATIC`, `GLACIER`, `FLOODED`, `VOLCANO`, `DARK_FOREST`, `WINTER`, `SPRING`, `SUMMER`, `AUTUMN`, `DESOLATION`, `FUTURISTIC`, `ELECTRONIC` | no | Theme of the interior (default per type: TAVERN_BLOOD_PRINCE, MAUSOLEUM or CASTLE) || `interiorWidth` | integer | no | Interior width in cells (default per type). 5..256 || `interiorHeight` | integer | no | Interior height in cells (default per type). 5..256 || `spriteVariant` | string | no | Use assets/buildings/<type>__<variant>.png instead of <type>.png. pattern `^[a-z0-9_]+$` |
5 unmodified lines67891011125 unmodified linesnpm run build && npm run smoke```If it prints `73 passed, 0 failed`, the server works and the problem is in the client setup.## The tools do not appear in my client5 unmodified lines67891011125 unmodified linesnpm run build && npm run smoke```If it prints `96 passed, 0 failed`, the server works and the problem is in the client setup.## The tools do not appear in my client
2 unmodified lines345678910111213141516172 unmodified linesOpen any of these in [Tiled](https://www.mapeditor.org) (File, Open) or render a PNG preview:```bashnpm run preview -- maps/forteresse-glace-etage.tmj```| File | Theme | Size | How it was made ||---|---|---|---|| `exemple-crypte-nemotron.tmj` | `CRYPT` | 20x14 | Built by a Nemotron agent through the MCP tools with an early version of the server. The crypt preset ran on a map smaller than it needs, so some rooms overlap and two doors share a cell; current versions refuse that size (the crypt preset needs 27x18). A prop behind the north door also seals the north room, which `validate_map`'s walking check now reports. Kept as a real agent-made example. || `caverne-aquatique.tmj` | `AQUATIC` | 64x64 | `scripts/create-aquatic-map.mjs` || `forteresse-glace-etage.tmj` | `GLACIAIRE` | 64x64 | `scripts/create-glacier-map.mjs` || `reseau-electronique-repaire-hacker.tmj` | `ELECTRONIQUE` | 64x64 | `scripts/create-electronic-hacker-map.mjs` || `crossroads-village/` | `VILLAGE` and interiors | 40x40 + 7 maps | `scripts/create-village-world.mjs` |`crossroads-village/` is a sample **world**: an outdoor map with six buildings you can enter2 unmodified lines345678910111213141516172 unmodified linesOpen any of these in [Tiled](https://www.mapeditor.org) (File, Open) or render a PNG preview:```bashnpm run preview -- maps/ice-fortress.tmj```| File | Theme | Size | How it was made ||---|---|---|---|| `nemotron-crypt-example.tmj` | `CRYPT` | 20x14 | Built by a Nemotron agent through the MCP tools with an early version of the server. The crypt preset ran on a map smaller than it needs, so some rooms overlap and two doors share a cell; current versions refuse that size (the crypt preset needs 27x18). A prop behind the north door also seals the north room, which `validate_map`'s walking check now reports. Kept as a real agent-made example; its names were translated to English. || `water-cavern.tmj` | `AQUATIC` | 64x64 | `scripts/create-aquatic-map.mjs` || `ice-fortress.tmj` | `GLACIER` | 64x64 | `scripts/create-glacier-map.mjs` || `hacker-lair.tmj` | `ELECTRONIC` | 64x64 | `scripts/create-electronic-hacker-map.mjs` || `crossroads-village/` | `VILLAGE` and interiors | 40x40 + 7 maps | `scripts/create-village-world.mjs` |`crossroads-village/` is a sample **world**: an outdoor map with six buildings you can enter
13 unmodified lines141516171819209 unmodified lines30313233343536373839407 unmodified lines48495051525354555657587 unmodified lines66676869707172737475767 unmodified lines84858687888990919293947 unmodified lines1021031041051061071081091101111127 unmodified lines1201211221231241251261271281291307 unmodified lines1381391401411421431441451461471487 unmodified lines1561571581591601611621631641651667 unmodified lines1741751761771781791801811821831847 unmodified lines19219319419519619719819920020120254 unmodified lines25725825926026126226356 unmodified lines32032132232332432532615 unmodified lines34234334434534634734815 unmodified lines3643653663673683693703 unmodified lines3743753763773783793805 unmodified lines38638738838939039139215 unmodified lines4084094104114124134148 unmodified lines42342442542642742842943043143243343413 unmodified lines"tilesets": [{"firstgid": 1,"name": "electronique-tileset","tilewidth": 64,"tileheight": 32,"tilecount": 10,9 unmodified lines},{"name": "spriteId","value": "electronique.pcb_trace","type": "string"}],"image": "../assets/electronique/walkable_floor.png","imagewidth": 64,"imageheight": 32},7 unmodified lines},{"name": "spriteId","value": "electronique.chip_substrate","type": "string"}],"image": "../assets/electronique/walkable_floor_alt.png","imagewidth": 64,"imageheight": 32},7 unmodified lines},{"name": "spriteId","value": "electronique.server_casing","type": "string"}],"image": "../assets/electronique/wall.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "electronique.circuit_corner","type": "string"}],"image": "../assets/electronique/wall_corner.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "electronique.tangled_cable","type": "string"}],"image": "../assets/electronique/difficult_terrain.png","imagewidth": 64,"imageheight": 32},7 unmodified lines},{"name": "spriteId","value": "electronique.power_surge","type": "string"}],"image": "../assets/electronique/hazard_primary.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "electronique.mainframe_core","type": "string"}],"image": "../assets/electronique/obstacle_decor.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "electronique.blinking_led","type": "string"}],"image": "../assets/electronique/decoration_minor.png","imagewidth": 64,"imageheight": 32},7 unmodified lines},{"name": "spriteId","value": "electronique.biometric_door","type": "string"}],"image": "../assets/electronique/door_closed.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "electronique.access_ladder","type": "string"}],"image": "../assets/electronique/stairs.png","imagewidth": 64,"imageheight": 64}54 unmodified lines"y": 1856,"width": 32,"height": 32,"name": "coffre-donnees-hacker","type": "chest","visible": true,"rotation": 0,56 unmodified lines},{"name": "npcName","value": "Hacker-reseau","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Hacker-reseau","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Hacker-reseau","type": "string"}]3 unmodified lines"x": 784,"y": 1776,"point": true,"name": "securite-1","type": "enemy","visible": true,"rotation": 0,5 unmodified lines},{"name": "npcName","value": "Securite-numerique","type": "string"}]15 unmodified lines},{"name": "npcName","value": "IA-rogue","type": "string"}]8 unmodified lines"properties": [{"name": "theme","value": "ELECTRONIQUE","type": "string"},{"name": "mapName","value": "Reseau Electronique - Repaire Hacker","type": "string"}]13 unmodified lines141516171819209 unmodified lines30313233343536373839407 unmodified lines48495051525354555657587 unmodified lines66676869707172737475767 unmodified lines84858687888990919293947 unmodified lines1021031041051061071081091101111127 unmodified lines1201211221231241251261271281291307 unmodified lines1381391401411421431441451461471487 unmodified lines1561571581591601611621631641651667 unmodified lines1741751761771781791801811821831847 unmodified lines19219319419519619719819920020120254 unmodified lines25725825926026126226356 unmodified lines32032132232332432532615 unmodified lines34234334434534634734815 unmodified lines3643653663673683693703 unmodified lines3743753763773783793805 unmodified lines38638738838939039139215 unmodified lines4084094104114124134148 unmodified lines42342442542642742842943043143243343413 unmodified lines"tilesets": [{"firstgid": 1,"name": "electronic-tileset","tilewidth": 64,"tileheight": 32,"tilecount": 10,9 unmodified lines},{"name": "spriteId","value": "electronic.pcb_trace","type": "string"}],"image": "../assets/electronic/walkable_floor.png","imagewidth": 64,"imageheight": 32},7 unmodified lines},{"name": "spriteId","value": "electronic.chip_substrate","type": "string"}],"image": "../assets/electronic/walkable_floor_alt.png","imagewidth": 64,"imageheight": 32},7 unmodified lines},{"name": "spriteId","value": "electronic.server_casing","type": "string"}],"image": "../assets/electronic/wall.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "electronic.circuit_corner","type": "string"}],"image": "../assets/electronic/wall_corner.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "electronic.tangled_cable","type": "string"}],"image": "../assets/electronic/difficult_terrain.png","imagewidth": 64,"imageheight": 32},7 unmodified lines},{"name": "spriteId","value": "electronic.power_surge","type": "string"}],"image": "../assets/electronic/hazard_primary.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "electronic.mainframe_core","type": "string"}],"image": "../assets/electronic/obstacle_decor.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "electronic.blinking_led","type": "string"}],"image": "../assets/electronic/decoration_minor.png","imagewidth": 64,"imageheight": 32},7 unmodified lines},{"name": "spriteId","value": "electronic.biometric_door","type": "string"}],"image": "../assets/electronic/door_closed.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "electronic.access_ladder","type": "string"}],"image": "../assets/electronic/stairs.png","imagewidth": 64,"imageheight": 64}54 unmodified lines"y": 1856,"width": 32,"height": 32,"name": "hacker-data-chest","type": "chest","visible": true,"rotation": 0,56 unmodified lines},{"name": "npcName","value": "Network Hacker","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Network Hacker","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Network Hacker","type": "string"}]3 unmodified lines"x": 784,"y": 1776,"point": true,"name": "security-1","type": "enemy","visible": true,"rotation": 0,5 unmodified lines},{"name": "npcName","value": "Security Daemon","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Rogue AI","type": "string"}]8 unmodified lines"properties": [{"name": "theme","value": "ELECTRONIC","type": "string"},{"name": "mapName","value": "Electronic Network - Hacker Lair","type": "string"}]
13 unmodified lines141516171819209 unmodified lines30313233343536373839407 unmodified lines48495051525354555657587 unmodified lines66676869707172737475767 unmodified lines84858687888990919293947 unmodified lines1021031041051061071081091101111127 unmodified lines1201211221231241251261271281291307 unmodified lines1381391401411421431441451461471487 unmodified lines1561571581591601611621631641651667 unmodified lines1741751761771781791801811821831847 unmodified lines19219319419519619719819920020120254 unmodified lines25725825926026126226316 unmodified lines28028128228328428528616 unmodified lines30330430530630730830939 unmodified lines34935035135235335435532 unmodified lines38838939039139239339415 unmodified lines41041141241341441541615 unmodified lines43243343443543643743815 unmodified lines45445545645745845946015 unmodified lines47647747847948048148215 unmodified lines4984995005015025035048 unmodified lines51351451551651751851952052152252352413 unmodified lines"tilesets": [{"firstgid": 1,"name": "glaciaire-tileset","tilewidth": 64,"tileheight": 32,"tilecount": 10,9 unmodified lines},{"name": "spriteId","value": "glaciaire.black_ice","type": "string"}],"image": "../assets/glaciaire/walkable_floor.png","imagewidth": 64,"imageheight": 32},7 unmodified lines},{"name": "spriteId","value": "glaciaire.frost_flagstone","type": "string"}],"image": "../assets/glaciaire/walkable_floor_alt.png","imagewidth": 64,"imageheight": 32},7 unmodified lines},{"name": "spriteId","value": "glaciaire.glacial_ice","type": "string"}],"image": "../assets/glaciaire/wall.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "glaciaire.frost_corner","type": "string"}],"image": "../assets/glaciaire/wall_corner.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "glaciaire.cracked_ice","type": "string"}],"image": "../assets/glaciaire/difficult_terrain.png","imagewidth": 64,"imageheight": 32},7 unmodified lines},{"name": "spriteId","value": "glaciaire.thin_ice","type": "string"}],"image": "../assets/glaciaire/hazard_primary.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "glaciaire.frozen_statue","type": "string"}],"image": "../assets/glaciaire/obstacle_decor.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "glaciaire.icicles","type": "string"}],"image": "../assets/glaciaire/decoration_minor.png","imagewidth": 64,"imageheight": 32},7 unmodified lines},{"name": "spriteId","value": "glaciaire.frosted_door","type": "string"}],"image": "../assets/glaciaire/door_closed.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "glaciaire.ice_stairs","type": "string"}],"image": "../assets/glaciaire/stairs.png","imagewidth": 64,"imageheight": 64}54 unmodified lines"y": 1024,"width": 32,"height": 32,"name": "coffre-sur-le-lac","type": "chest","visible": true,"rotation": 0,16 unmodified lines"y": 192,"width": 32,"height": 32,"name": "coffre-ne","type": "chest","visible": true,"rotation": 0,16 unmodified lines"y": 1024,"width": 32,"height": 32,"name": "levier-pont-levis","type": "lever","visible": true,"rotation": 0,39 unmodified lines},{"name": "npcName","value": "Seigneur des Glaces","type": "string"}]32 unmodified lines},{"name": "npcName","value": "Givre-RΓ΄deur","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Givre-RΓ΄deur","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Esprit de Glace","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Esprit de Glace","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Givre-RΓ΄deur","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Givre-RΓ΄deur","type": "string"}]8 unmodified lines"properties": [{"name": "theme","value": "GLACIAIRE","type": "string"},{"name": "mapName","value": "Forteresse de Glace - Donjon Principal v4","type": "string"}]13 unmodified lines141516171819209 unmodified lines30313233343536373839407 unmodified lines48495051525354555657587 unmodified lines66676869707172737475767 unmodified lines84858687888990919293947 unmodified lines1021031041051061071081091101111127 unmodified lines1201211221231241251261271281291307 unmodified lines1381391401411421431441451461471487 unmodified lines1561571581591601611621631641651667 unmodified lines1741751761771781791801811821831847 unmodified lines19219319419519619719819920020120254 unmodified lines25725825926026126226316 unmodified lines28028128228328428528616 unmodified lines30330430530630730830939 unmodified lines34935035135235335435532 unmodified lines38838939039139239339415 unmodified lines41041141241341441541615 unmodified lines43243343443543643743815 unmodified lines45445545645745845946015 unmodified lines47647747847948048148215 unmodified lines4984995005015025035048 unmodified lines51351451551651751851952052152252352413 unmodified lines"tilesets": [{"firstgid": 1,"name": "glacier-tileset","tilewidth": 64,"tileheight": 32,"tilecount": 10,9 unmodified lines},{"name": "spriteId","value": "glacier.black_ice","type": "string"}],"image": "../assets/glacier/walkable_floor.png","imagewidth": 64,"imageheight": 32},7 unmodified lines},{"name": "spriteId","value": "glacier.frost_flagstone","type": "string"}],"image": "../assets/glacier/walkable_floor_alt.png","imagewidth": 64,"imageheight": 32},7 unmodified lines},{"name": "spriteId","value": "glacier.glacial_ice","type": "string"}],"image": "../assets/glacier/wall.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "glacier.frost_corner","type": "string"}],"image": "../assets/glacier/wall_corner.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "glacier.cracked_ice","type": "string"}],"image": "../assets/glacier/difficult_terrain.png","imagewidth": 64,"imageheight": 32},7 unmodified lines},{"name": "spriteId","value": "glacier.thin_ice","type": "string"}],"image": "../assets/glacier/hazard_primary.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "glacier.frozen_statue","type": "string"}],"image": "../assets/glacier/obstacle_decor.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "glacier.icicles","type": "string"}],"image": "../assets/glacier/decoration_minor.png","imagewidth": 64,"imageheight": 32},7 unmodified lines},{"name": "spriteId","value": "glacier.frosted_door","type": "string"}],"image": "../assets/glacier/door_closed.png","imagewidth": 64,"imageheight": 64},7 unmodified lines},{"name": "spriteId","value": "glacier.ice_stairs","type": "string"}],"image": "../assets/glacier/stairs.png","imagewidth": 64,"imageheight": 64}54 unmodified lines"y": 1024,"width": 32,"height": 32,"name": "lake-chest","type": "chest","visible": true,"rotation": 0,16 unmodified lines"y": 192,"width": 32,"height": 32,"name": "north-east-chest","type": "chest","visible": true,"rotation": 0,16 unmodified lines"y": 1024,"width": 32,"height": 32,"name": "drawbridge-lever","type": "lever","visible": true,"rotation": 0,39 unmodified lines},{"name": "npcName","value": "Ice Lord","type": "string"}]32 unmodified lines},{"name": "npcName","value": "Frost Stalker","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Frost Stalker","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Ice Spirit","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Ice Spirit","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Frost Stalker","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Frost Stalker","type": "string"}]8 unmodified lines"properties": [{"name": "theme","value": "GLACIER","type": "string"},{"name": "mapName","value": "Ice Fortress - Main Keep","type": "string"}]
1293 unmodified lines129412951296129712981299130021 unmodified lines132213231324132513261327132859 unmodified lines13881389139013911392139313945 unmodified lines14001401140214031404140514063 unmodified lines14101411141214131414141514165 unmodified lines14221423142414251426142714283 unmodified lines143214331434143514361437143825 unmodified lines14641465146614671468146914701293 unmodified lines"y": 192,"width": 32,"height": 32,"name": "Coffre verrouillé (chambre nord)","type": "chest","visible": true,"rotation": 0,21 unmodified lines"y": 256,"width": 32,"height": 32,"name": "Piège à fléchettes devant la crypte","type": "trap","visible": true,"rotation": 0,59 unmodified lines"x": 304.0,"y": 208.0,"point": true,"name": "Squelette patrouille nef (gauche)","type": "enemy","visible": true,"rotation": 0,5 unmodified lines},{"name": "npcName","value": "Squelette","type": "string"}]3 unmodified lines"x": 368.0,"y": 208.0,"point": true,"name": "Squelette patrouille nef (droite)","type": "enemy","visible": true,"rotation": 0,5 unmodified lines},{"name": "npcName","value": "Squelette","type": "string"}]3 unmodified lines"x": 400.0,"y": 400.0,"point": true,"name": "Bastellus (dort dans la crypte centrale)","type": "enemy","visible": true,"rotation": 0,25 unmodified lines},{"name": "mapName","value": "Crypte sous la chapelle abandonnée","type": "string"}]1293 unmodified lines129412951296129712981299130021 unmodified lines132213231324132513261327132859 unmodified lines13881389139013911392139313945 unmodified lines14001401140214031404140514063 unmodified lines14101411141214131414141514165 unmodified lines14221423142414251426142714283 unmodified lines143214331434143514361437143825 unmodified lines14641465146614671468146914701293 unmodified lines"y": 192,"width": 32,"height": 32,"name": "Locked chest (north chamber)","type": "chest","visible": true,"rotation": 0,21 unmodified lines"y": 256,"width": 32,"height": 32,"name": "Dart trap before the crypt","type": "trap","visible": true,"rotation": 0,59 unmodified lines"x": 304.0,"y": 208.0,"point": true,"name": "Skeleton patrol, nave (left)","type": "enemy","visible": true,"rotation": 0,5 unmodified lines},{"name": "npcName","value": "Skeleton","type": "string"}]3 unmodified lines"x": 368.0,"y": 208.0,"point": true,"name": "Skeleton patrol, nave (right)","type": "enemy","visible": true,"rotation": 0,5 unmodified lines},{"name": "npcName","value": "Skeleton","type": "string"}]3 unmodified lines"x": 400.0,"y": 400.0,"point": true,"name": "Bastellus (asleep in the central crypt)","type": "enemy","visible": true,"rotation": 0,25 unmodified lines},{"name": "mapName","value": "Crypt under the abandoned chapel","type": "string"}]
256 unmodified lines25725825926026126226339 unmodified lines30330430530630730830932 unmodified lines34234334434534634734815 unmodified lines36436536636736836937015 unmodified lines38638738838939039139215 unmodified lines40840941041141241341415 unmodified lines43043143243343443543615 unmodified lines45245345445545645745813 unmodified lines472473474475476477478256 unmodified lines"y": 1024,"width": 32,"height": 32,"name": "sarcophage-submerge","type": "chest","visible": true,"rotation": 0,39 unmodified lines},{"name": "npcName","value": "Seigneur des Abysses","type": "string"}]32 unmodified lines},{"name": "npcName","value": "Rampant des Eaux","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Rampant des Eaux","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Esprit de l'Onde","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Esprit de l'Onde","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Rampant des Eaux","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Rampant des Eaux","type": "string"}]13 unmodified lines},{"name": "mapName","value": "Caverne Aquatique Souterraine","type": "string"}]256 unmodified lines25725825926026126226339 unmodified lines30330430530630730830932 unmodified lines34234334434534634734815 unmodified lines36436536636736836937015 unmodified lines38638738838939039139215 unmodified lines40840941041141241341415 unmodified lines43043143243343443543615 unmodified lines45245345445545645745813 unmodified lines472473474475476477478256 unmodified lines"y": 1024,"width": 32,"height": 32,"name": "sunken-sarcophagus","type": "chest","visible": true,"rotation": 0,39 unmodified lines},{"name": "npcName","value": "Lord of the Depths","type": "string"}]32 unmodified lines},{"name": "npcName","value": "Water Crawler","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Water Crawler","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Wave Spirit","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Wave Spirit","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Water Crawler","type": "string"}]15 unmodified lines},{"name": "npcName","value": "Water Crawler","type": "string"}]13 unmodified lines},{"name": "mapName","value": "Underground Water Cavern","type": "string"}]
1234567891011121710 unmodified lines1723172417251726172717281729{"name": "tiled-mcp-server","version": "0.4.1","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "tiled-mcp-server","version": "0.4.1","license": "MIT","workspaces": ["tiled-mcp"1710 unmodified lines},"tiled-mcp": {"name": "tiled-map-builder-mcp","version": "0.4.1","license": "MIT","dependencies": {"@huggingface/inference": "^4.13.15",1234567891011121710 unmodified lines1723172417251726172717281729{"name": "tiled-mcp-server","version": "0.5.0","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "tiled-mcp-server","version": "0.5.0","license": "MIT","workspaces": ["tiled-mcp"1710 unmodified lines},"tiled-mcp": {"name": "tiled-map-builder-mcp","version": "0.5.0","license": "MIT","dependencies": {"@huggingface/inference": "^4.13.15",
12345613 unmodified lines202122232425{"name": "tiled-mcp-server","version": "0.4.1","description": "Tiled Map Builder MCP: an MCP server that lets AI agents compose isometric Tiled maps, with sample maps, sprites, an agent skill and docs.","private": true,"license": "MIT",13 unmodified lines"preview": "node scripts/render-map-preview.mjs","smoke": "node scripts/smoke-test.mjs","smoke:http": "node scripts/smoke-http.mjs","docs": "node scripts/gen-docs.mjs"},"engines": {12345613 unmodified lines2021222324252627{"name": "tiled-mcp-server","version": "0.5.0","description": "Tiled Map Builder MCP: an MCP server that lets AI agents compose isometric Tiled maps, with sample maps, sprites, an agent skill and docs.","private": true,"license": "MIT",13 unmodified lines"preview": "node scripts/render-map-preview.mjs","smoke": "node scripts/smoke-test.mjs","smoke:http": "node scripts/smoke-http.mjs","test": "node scripts/test-loop.mjs 1","test:loop": "node scripts/test-loop.mjs 5","docs": "node scripts/gen-docs.mjs"},"engines": {
3 unmodified lines456789101112131415163 unmodified lines| Script | npm shortcut | Cost | What it does ||---|---|---|---|| `smoke-test.mjs` | `npm run smoke` | free, offline | Starts the server and runs 73 end-to-end checks over stdio, including the walking checks. Pass `screen` to test the legacy coordinate mode. || `smoke-http.mjs` | `npm run smoke:http` | free, offline | Starts the hosted mode with a scripted stand-in for the AI model: web routes, MCP sessions over HTTP, downloads, isolation, and that every paid call uses the caller's token. || `render-map-preview.mjs` | `npm run preview -- <map.tmj>` | free | Renders a `.tmj` to PNG with object markers. Options: `[out.png] [--width 1600] [--no-markers]`. || `gen-docs.mjs` | `npm run docs` | free | Regenerates `docs/tools.md` and `docs/themes.md` from the server. || `create-aquatic-map.mjs` | `npm run examples` | free | Rebuilds `maps/caverne-aquatique.tmj` with the builder API. || `create-glacier-map.mjs` | `npm run examples` | free | Rebuilds `maps/forteresse-glace-etage.tmj`. || `create-electronic-hacker-map.mjs` | `npm run examples` | free | Rebuilds `maps/reseau-electronique-repaire-hacker.tmj`. || `create-village-world.mjs` | `npm run examples` | free | Rebuilds the sample world `maps/crossroads-village/`: an outdoor map, six buildings and their linked interiors. || `gen-theme-set.mjs` | | **paid** | Generates a theme's missing sprites with FLUX.1-dev. Needs `--yes`; try `--dry-run` first. See [docs/sprite-generation.md](../docs/sprite-generation.md). || `gen-building-sprites.mjs` | | **paid** (`--clean` free) | Generates missing building sprites with FLUX.1-dev (`--yes`, try `--dry-run` first); `--clean` removes leftover background from existing ones. |3 unmodified lines45678910111213141516173 unmodified lines| Script | npm shortcut | Cost | What it does ||---|---|---|---|| `smoke-test.mjs` | `npm run smoke` | free, offline | Starts the server and runs 96 end-to-end checks over stdio, including the walking checks and a loop over every theme. Pass `screen` to test the legacy coordinate mode. || `test-loop.mjs` | `npm test`, `npm run test:loop` | free, offline | Runs every suite above (both coordinate modes and the hosted mode) once, or 5 times in a row with `test:loop` (`node scripts/test-loop.mjs 20` for 20); stops at the first failure. || `smoke-http.mjs` | `npm run smoke:http` | free, offline | Starts the hosted mode with a scripted stand-in for the AI model: web routes, MCP sessions over HTTP, downloads, isolation, and that every paid call uses the caller's token. || `render-map-preview.mjs` | `npm run preview -- <map.tmj>` | free | Renders a `.tmj` to PNG with object markers. Options: `[out.png] [--width 1600] [--no-markers]`. || `gen-docs.mjs` | `npm run docs` | free | Regenerates `docs/tools.md` and `docs/themes.md` from the server. || `create-aquatic-map.mjs` | `npm run examples` | free | Rebuilds `maps/water-cavern.tmj` with the builder API. || `create-glacier-map.mjs` | `npm run examples` | free | Rebuilds `maps/ice-fortress.tmj`. || `create-electronic-hacker-map.mjs` | `npm run examples` | free | Rebuilds `maps/hacker-lair.tmj`. || `create-village-world.mjs` | `npm run examples` | free | Rebuilds the sample world `maps/crossroads-village/`: an outdoor map, six buildings and their linked interiors. || `gen-theme-set.mjs` | | **paid** | Generates a theme's missing sprites with FLUX.1-dev. Needs `--yes`; try `--dry-run` first. See [docs/sprite-generation.md](../docs/sprite-generation.md). || `gen-building-sprites.mjs` | | **paid** (`--clean` free) | Generates missing building sprites with FLUX.1-dev (`--yes`, try `--dry-run` first); `--clean` removes leftover background from existing ones. |
12347 unmodified lines1213141516171874 unmodified lines939495969798995 unmodified lines10510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214358 unmodified lines202203204205206207208209210211212// Example map script: builds maps/caverne-aquatique.tmj (AQUATIC theme, 64x64: flooded cavern with a central lake)// by calling the builder API directly, without an MCP client. It is deterministic:// re-running it reproduces the committed sample map. Run from the repository root// after building the server (npm run build):7 unmodified linesconst theme = getTheme("AQUATIC");const { mapId } = createMap({name: "Caverne Aquatique Souterraine",width: 64,height: 64,theme: theme,74 unmodified linespaintRect(mapId, "ground", 20, 2, 42, 15, "walkable_floor");paintWallBorder(mapId, 20, 2, 42, 15);openWall(31, 15);placeSpawn(mapId, { x: 31, y: 8, role: "enemy", npcName: "Seigneur des Abysses", name: "boss-final" });// SOUTH: rectangular room, player entrancepaintRect(mapId, "ground", 20, 48, 42, 61, "walkable_floor");5 unmodified linespaintLRoom(46, 20, 62, 41, 46, 42, 58, 50, "walkable_floor");paintWallBorder(mapId, 46, 20, 62, 50);openWall(46, 31);placeSpawn(mapId, { x: 54, y: 31, role: "enemy", npcName: "Rampant des Eaux", name: "water-creature-east" });// WEST: L-shaped roompaintLRoom(2, 20, 18, 41, 6, 42, 18, 50, "walkable_floor");paintWallBorder(mapId, 2, 20, 18, 50);openWall(18, 31);placeSpawn(mapId, { x: 10, y: 31, role: "enemy", npcName: "Rampant des Eaux", name: "water-creature-west" });// NORTH-EAST: circular room (radius 7)paintCircleRoom(53, 11, 7, "walkable_floor");paintWallBorder(mapId, 46, 4, 60, 18);openWall(49, 18);placeSpawn(mapId, { x: 53, y: 11, role: "enemy", npcName: "Esprit de l'Onde", name: "water-creature-ne" });// NORTH-WEST: circular room (radius 7)paintCircleRoom(11, 11, 7, "walkable_floor");paintWallBorder(mapId, 4, 4, 18, 18);openWall(14, 18);placeSpawn(mapId, { x: 11, y: 11, role: "enemy", npcName: "Esprit de l'Onde", name: "water-creature-nw" });// SOUTH-EAST: T-shaped roompaintRect(mapId, "ground", 46, 44, 62, 52, "walkable_floor");paintRect(mapId, "ground", 52, 52, 56, 60, "walkable_floor");paintWallBorder(mapId, 46, 44, 62, 60);openWall(49, 44);placeSpawn(mapId, { x: 54, y: 55, role: "enemy", npcName: "Rampant des Eaux", name: "water-creature-se" });// SOUTH-WEST: T-shaped roompaintRect(mapId, "ground", 2, 44, 18, 52, "walkable_floor");paintRect(mapId, "ground", 8, 52, 12, 60, "walkable_floor");paintWallBorder(mapId, 2, 44, 18, 60);openWall(15, 44);placeSpawn(mapId, { x: 10, y: 55, role: "enemy", npcName: "Rampant des Eaux", name: "water-creature-sw" });// ---------- Wide corridors ----------paintRect(mapId, "ground", 30, 16, 34, 47, "walkable_floor"); // N-S58 unmodified lines}// ---------- Objects: only the chest (interactable) ----------placeObject(mapId, { x: 32, y: 32, kind: "chest", name: "sarcophage-submerge" });// ---------- Save the map ----------const mapData = serializeMap(mapId);const outPath = fileURLToPath(new URL('../maps/caverne-aquatique.tmj', import.meta.url));await saveMapFile(mapId, outPath);console.log("Saved:", outPath);12347 unmodified lines1213141516171874 unmodified lines939495969798995 unmodified lines10510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214358 unmodified lines202203204205206207208209210211212// Example map script: builds maps/water-cavern.tmj (AQUATIC theme, 64x64: flooded cavern with a central lake)// by calling the builder API directly, without an MCP client. It is deterministic:// re-running it reproduces the committed sample map. Run from the repository root// after building the server (npm run build):7 unmodified linesconst theme = getTheme("AQUATIC");const { mapId } = createMap({name: "Underground Water Cavern",width: 64,height: 64,theme: theme,74 unmodified linespaintRect(mapId, "ground", 20, 2, 42, 15, "walkable_floor");paintWallBorder(mapId, 20, 2, 42, 15);openWall(31, 15);placeSpawn(mapId, { x: 31, y: 8, role: "enemy", npcName: "Lord of the Depths", name: "boss-final" });// SOUTH: rectangular room, player entrancepaintRect(mapId, "ground", 20, 48, 42, 61, "walkable_floor");5 unmodified linespaintLRoom(46, 20, 62, 41, 46, 42, 58, 50, "walkable_floor");paintWallBorder(mapId, 46, 20, 62, 50);openWall(46, 31);placeSpawn(mapId, { x: 54, y: 31, role: "enemy", npcName: "Water Crawler", name: "water-creature-east" });// WEST: L-shaped roompaintLRoom(2, 20, 18, 41, 6, 42, 18, 50, "walkable_floor");paintWallBorder(mapId, 2, 20, 18, 50);openWall(18, 31);placeSpawn(mapId, { x: 10, y: 31, role: "enemy", npcName: "Water Crawler", name: "water-creature-west" });// NORTH-EAST: circular room (radius 7)paintCircleRoom(53, 11, 7, "walkable_floor");paintWallBorder(mapId, 46, 4, 60, 18);openWall(49, 18);placeSpawn(mapId, { x: 53, y: 11, role: "enemy", npcName: "Wave Spirit", name: "water-creature-ne" });// NORTH-WEST: circular room (radius 7)paintCircleRoom(11, 11, 7, "walkable_floor");paintWallBorder(mapId, 4, 4, 18, 18);openWall(14, 18);placeSpawn(mapId, { x: 11, y: 11, role: "enemy", npcName: "Wave Spirit", name: "water-creature-nw" });// SOUTH-EAST: T-shaped roompaintRect(mapId, "ground", 46, 44, 62, 52, "walkable_floor");paintRect(mapId, "ground", 52, 52, 56, 60, "walkable_floor");paintWallBorder(mapId, 46, 44, 62, 60);openWall(49, 44);placeSpawn(mapId, { x: 54, y: 55, role: "enemy", npcName: "Water Crawler", name: "water-creature-se" });// SOUTH-WEST: T-shaped roompaintRect(mapId, "ground", 2, 44, 18, 52, "walkable_floor");paintRect(mapId, "ground", 8, 52, 12, 60, "walkable_floor");paintWallBorder(mapId, 2, 44, 18, 60);openWall(15, 44);placeSpawn(mapId, { x: 10, y: 55, role: "enemy", npcName: "Water Crawler", name: "water-creature-sw" });// ---------- Wide corridors ----------paintRect(mapId, "ground", 30, 16, 34, 47, "walkable_floor"); // N-S58 unmodified lines}// ---------- Objects: only the chest (interactable) ----------placeObject(mapId, { x: 32, y: 32, kind: "chest", name: "sunken-sarcophagus" });// ---------- Save the map ----------const mapData = serializeMap(mapId);const outPath = fileURLToPath(new URL('../maps/water-cavern.tmj', import.meta.url));await saveMapFile(mapId, outPath);console.log("Saved:", outPath);
12344 unmodified lines9101112131415161718137 unmodified lines1561571581591601611621631641651661671681691701711729 unmodified lines182183184185186187188// Example map script: builds maps/reseau-electronique-repaire-hacker.tmj (ELECTRONIQUE theme, 64x64: hacker lair in a digital network)// by calling the builder API directly, without an MCP client. It is deterministic:// re-running it reproduces the committed sample map. Run from the repository root// after building the server (npm run build):4 unmodified linesimport { fileURLToPath } from 'node:url';import fs from 'node:fs';const theme = getTheme("ELECTRONIQUE");const { mapId } = createMap({name: "Reseau Electronique - Repaire Hacker",width: 64,height: 64,theme: theme,137 unmodified linesplaceSpawn(mapId, { x: 31, y: 42, role: "player", name: "player-start" });// Hacker enemies inside the buildingplaceSpawn(mapId, { x: 26, y: 50, role: "enemy", npcName: "Hacker-reseau", name: "hacker-terminal-1" });placeSpawn(mapId, { x: 37, y: 50, role: "enemy", npcName: "Hacker-reseau", name: "hacker-terminal-2" });placeSpawn(mapId, { x: 31, y: 56, role: "enemy", npcName: "Hacker-reseau", name: "hacker-central" });placeSpawn(mapId, { x: 24, y: 55, role: "enemy", npcName: "Securite-numerique", name: "securite-1" });// Guard enemy near the rune's coreplaceSpawn(mapId, { x: 32, y: 20, role: "enemy", npcName: "IA-rogue", name: "ai-core-guardian" });// ---------- Objects ----------// Data chest in the buildingplaceObject(mapId, { x: 30, y: 58, kind: "chest", name: "coffre-donnees-hacker" });// Stairs (access to the lower level)paintRect(mapId, "ground", 31, 59, 31, 59, "stairs");9 unmodified lines// ---------- Save the map ----------const mapData = serializeMap(mapId);const outPath = fileURLToPath(new URL('../maps/reseau-electronique-repaire-hacker.tmj', import.meta.url));await saveMapFile(mapId, outPath);console.log("Saved:", outPath);12344 unmodified lines9101112131415161718137 unmodified lines1561571581591601611621631641651661671681691701711729 unmodified lines182183184185186187188// Example map script: builds maps/hacker-lair.tmj (ELECTRONIC theme, 64x64: hacker lair in a digital network)// by calling the builder API directly, without an MCP client. It is deterministic:// re-running it reproduces the committed sample map. Run from the repository root// after building the server (npm run build):4 unmodified linesimport { fileURLToPath } from 'node:url';import fs from 'node:fs';const theme = getTheme("ELECTRONIC");const { mapId } = createMap({name: "Electronic Network - Hacker Lair",width: 64,height: 64,theme: theme,137 unmodified linesplaceSpawn(mapId, { x: 31, y: 42, role: "player", name: "player-start" });// Hacker enemies inside the buildingplaceSpawn(mapId, { x: 26, y: 50, role: "enemy", npcName: "Network Hacker", name: "hacker-terminal-1" });placeSpawn(mapId, { x: 37, y: 50, role: "enemy", npcName: "Network Hacker", name: "hacker-terminal-2" });placeSpawn(mapId, { x: 31, y: 56, role: "enemy", npcName: "Network Hacker", name: "hacker-central" });placeSpawn(mapId, { x: 24, y: 55, role: "enemy", npcName: "Security Daemon", name: "security-1" });// Guard enemy near the rune's coreplaceSpawn(mapId, { x: 32, y: 20, role: "enemy", npcName: "Rogue AI", name: "ai-core-guardian" });// ---------- Objects ----------// Data chest in the buildingplaceObject(mapId, { x: 30, y: 58, kind: "chest", name: "hacker-data-chest" });// Stairs (access to the lower level)paintRect(mapId, "ground", 31, 59, 31, 59, "stairs");9 unmodified lines// ---------- Save the map ----------const mapData = serializeMap(mapId);const outPath = fileURLToPath(new URL('../maps/hacker-lair.tmj', import.meta.url));await saveMapFile(mapId, outPath);console.log("Saved:", outPath);
12344 unmodified lines910111213141516171878 unmodified lines97989910010110210311 unmodified lines1151161171181191201217 unmodified lines12913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716879 unmodified lines248249250251252253254255256257258// Example map script: builds maps/forteresse-glace-etage.tmj (GLACIAIRE theme, 64x64: ice fortress with a circular central hall)// by calling the builder API directly, without an MCP client. It is deterministic:// re-running it reproduces the committed sample map. Run from the repository root// after building the server (npm run build):4 unmodified linesimport { fileURLToPath } from 'node:url';import fs from 'node:fs';const theme = getTheme("GLACIAIRE");const { mapId } = createMap({name: "Forteresse de Glace - Donjon Principal v4",width: 64,height: 64,theme: theme,78 unmodified linesopenWall(42, 32); // east// Chest on the central lakeplaceObject(mapId, { x: 32, y: 32, kind: "chest", name: "coffre-sur-le-lac" });// Frozen fountain north of the centre, one cell inside so it does not plug the north openingpaintRect(mapId, "decorations", 32, 24, 32, 24, "obstacle_decor");11 unmodified linespaintRect(mapId, "ground", 15, 2, 48, 16, "walkable_floor");paintWallBorder(mapId, 15, 2, 48, 16);openWall(31, 16);placeSpawn(mapId, { x: 31, y: 6, role: "enemy", npcName: "Seigneur des Glaces", name: "boss-final" });// Boss thronepaintRect(mapId, "decorations", 31, 4, 31, 4, "obstacle_decor");7 unmodified linespaintLRoom(47, 18, 62, 40, 47, 41, 58, 46, "walkable_floor");paintWallBorder(mapId, 47, 18, 62, 46);openWall(47, 31);placeSpawn(mapId, { x: 54, y: 31, role: "enemy", npcName: "Givre-RΓ΄deur", name: "ice-creature-east" });paintRect(mapId, "decorations", 58, 31, 58, 31, "obstacle_decor");// WEST: L-shaped roompaintLRoom(2, 18, 17, 40, 6, 41, 17, 46, "walkable_floor");paintWallBorder(mapId, 2, 18, 17, 46);openWall(17, 31);placeSpawn(mapId, { x: 10, y: 31, role: "enemy", npcName: "Givre-RΓ΄deur", name: "ice-creature-west" });paintRect(mapId, "decorations", 6, 31, 6, 31, "obstacle_decor");// NORTH-EAST: circular room (radius 8)paintCircleRoom(54, 10, 8, "walkable_floor");paintWallBorder(mapId, 46, 2, 62, 18);openWall(49, 18);placeSpawn(mapId, { x: 54, y: 10, role: "enemy", npcName: "Esprit de Glace", name: "ice-creature-ne" });placeObject(mapId, { x: 54, y: 6, kind: "chest", name: "coffre-ne" });// NORTH-WEST: circular room (radius 8)paintCircleRoom(10, 10, 8, "walkable_floor");paintWallBorder(mapId, 2, 2, 18, 18);openWall(14, 18);placeSpawn(mapId, { x: 10, y: 10, role: "enemy", npcName: "Esprit de Glace", name: "ice-creature-nw" });// SOUTH-EAST: T-shaped roompaintTRoom(47, 44, 62, 53, 52, 53, 56, 61, "walkable_floor");paintWallBorder(mapId, 47, 44, 62, 61);openWall(49, 44);placeSpawn(mapId, { x: 54, y: 56, role: "enemy", npcName: "Givre-RΓ΄deur", name: "ice-creature-se" });// SOUTH-WEST: T-shaped roompaintTRoom(2, 44, 17, 53, 8, 53, 12, 61, "walkable_floor");paintWallBorder(mapId, 2, 44, 17, 61);openWall(15, 44);placeSpawn(mapId, { x: 10, y: 56, role: "enemy", npcName: "Givre-RΓ΄deur", name: "ice-creature-sw" });// ---------- Outer ring (belt corridor linking the rooms) ----------paintRect(mapId, "ground", 2, 17, 62, 20, "walkable_floor"); // top79 unmodified linespaintRect(mapId, "ground", 32, 57, 32, 57, "stairs");// ---------- Lever (mechanism) ----------placeObject(mapId, { x: 40, y: 32, kind: "lever", name: "levier-pont-levis" });// ---------- Save the map ----------const mapData = serializeMap(mapId);const outPath = fileURLToPath(new URL('../maps/forteresse-glace-etage.tmj', import.meta.url));await saveMapFile(mapId, outPath);console.log("Saved:", outPath);12344 unmodified lines910111213141516171878 unmodified lines97989910010110210311 unmodified lines1151161171181191201217 unmodified lines12913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716879 unmodified lines248249250251252253254255256257258// Example map script: builds maps/ice-fortress.tmj (GLACIER theme, 64x64: ice fortress with a circular central hall)// by calling the builder API directly, without an MCP client. It is deterministic:// re-running it reproduces the committed sample map. Run from the repository root// after building the server (npm run build):4 unmodified linesimport { fileURLToPath } from 'node:url';import fs from 'node:fs';const theme = getTheme("GLACIER");const { mapId } = createMap({name: "Ice Fortress - Main Keep",width: 64,height: 64,theme: theme,78 unmodified linesopenWall(42, 32); // east// Chest on the central lakeplaceObject(mapId, { x: 32, y: 32, kind: "chest", name: "lake-chest" });// Frozen fountain north of the centre, one cell inside so it does not plug the north openingpaintRect(mapId, "decorations", 32, 24, 32, 24, "obstacle_decor");11 unmodified linespaintRect(mapId, "ground", 15, 2, 48, 16, "walkable_floor");paintWallBorder(mapId, 15, 2, 48, 16);openWall(31, 16);placeSpawn(mapId, { x: 31, y: 6, role: "enemy", npcName: "Ice Lord", name: "boss-final" });// Boss thronepaintRect(mapId, "decorations", 31, 4, 31, 4, "obstacle_decor");7 unmodified linespaintLRoom(47, 18, 62, 40, 47, 41, 58, 46, "walkable_floor");paintWallBorder(mapId, 47, 18, 62, 46);openWall(47, 31);placeSpawn(mapId, { x: 54, y: 31, role: "enemy", npcName: "Frost Stalker", name: "ice-creature-east" });paintRect(mapId, "decorations", 58, 31, 58, 31, "obstacle_decor");// WEST: L-shaped roompaintLRoom(2, 18, 17, 40, 6, 41, 17, 46, "walkable_floor");paintWallBorder(mapId, 2, 18, 17, 46);openWall(17, 31);placeSpawn(mapId, { x: 10, y: 31, role: "enemy", npcName: "Frost Stalker", name: "ice-creature-west" });paintRect(mapId, "decorations", 6, 31, 6, 31, "obstacle_decor");// NORTH-EAST: circular room (radius 8)paintCircleRoom(54, 10, 8, "walkable_floor");paintWallBorder(mapId, 46, 2, 62, 18);openWall(49, 18);placeSpawn(mapId, { x: 54, y: 10, role: "enemy", npcName: "Ice Spirit", name: "ice-creature-ne" });placeObject(mapId, { x: 54, y: 6, kind: "chest", name: "north-east-chest" });// NORTH-WEST: circular room (radius 8)paintCircleRoom(10, 10, 8, "walkable_floor");paintWallBorder(mapId, 2, 2, 18, 18);openWall(14, 18);placeSpawn(mapId, { x: 10, y: 10, role: "enemy", npcName: "Ice Spirit", name: "ice-creature-nw" });// SOUTH-EAST: T-shaped roompaintTRoom(47, 44, 62, 53, 52, 53, 56, 61, "walkable_floor");paintWallBorder(mapId, 47, 44, 62, 61);openWall(49, 44);placeSpawn(mapId, { x: 54, y: 56, role: "enemy", npcName: "Frost Stalker", name: "ice-creature-se" });// SOUTH-WEST: T-shaped roompaintTRoom(2, 44, 17, 53, 8, 53, 12, 61, "walkable_floor");paintWallBorder(mapId, 2, 44, 17, 61);openWall(15, 44);placeSpawn(mapId, { x: 10, y: 56, role: "enemy", npcName: "Frost Stalker", name: "ice-creature-sw" });// ---------- Outer ring (belt corridor linking the rooms) ----------paintRect(mapId, "ground", 2, 17, 62, 20, "walkable_floor"); // top79 unmodified linespaintRect(mapId, "ground", 32, 57, 32, 57, "stairs");// ---------- Lever (mechanism) ----------placeObject(mapId, { x: 40, y: 32, kind: "lever", name: "drawbridge-lever" });// ---------- Save the map ----------const mapData = serializeMap(mapId);const outPath = fileURLToPath(new URL('../maps/ice-fortress.tmj', import.meta.url));await saveMapFile(mapId, outPath);console.log("Saved:", outPath);
21 unmodified lines222324252627282930313233343536373821 unmodified linesMAUSOLEUM: "Grey-veined marble, fallen-angel statues, funeral urns in niches. No hazards.",BLOOD_TOMB: "Deep ritual sanctuary, pulsing bleeding runes, central altar.",AQUATIC: "Black stagnant water, water lilies, sunken ruins, haunted marsh.",GLACIAIRE: "Black ice, figures frozen in the ice, frost, haunted tundra.",INONDE: "Drowned city under the waves, hanging kelp, broken bridges, deep currents.",VOLCAN: "Lava flows, cooled black rock, flying ash, active caldera.",FORET: "Twisted woods, thick moss, exposed roots, misty clearings, quicksand.",HIVER: "Powder snow, frozen lakes, frosted branches, trappers' huts.",PRINTEMPS: "Flowering meadows, clear streams, budding trees, druid circles.",ETE: "Golden grass, ripe wheat, cloudless heat, abandoned granaries.",AUTOMNE: "Russet leaves, mushrooms, morning mist, bog mire.",DESOLATION: "Cold ash, charred trees, barren ground, post-cataclysm ruins.",FUTURISTE: "Chrome, cold neon, holographic panels, dystopian megacity.",ELECTRONIQUE: "Circuit boards, optic fibre, silent servers, AI cores.",};const GROUPS = [21 unmodified lines222324252627282930313233343536373821 unmodified linesMAUSOLEUM: "Grey-veined marble, fallen-angel statues, funeral urns in niches. No hazards.",BLOOD_TOMB: "Deep ritual sanctuary, pulsing bleeding runes, central altar.",AQUATIC: "Black stagnant water, water lilies, sunken ruins, haunted marsh.",GLACIER: "Black ice, figures frozen in the ice, frost, haunted tundra.",FLOODED: "Drowned city under the waves, hanging kelp, broken bridges, deep currents.",VOLCANO: "Lava flows, cooled black rock, flying ash, active caldera.",DARK_FOREST: "Twisted woods, thick moss, exposed roots, misty clearings, quicksand.",WINTER: "Powder snow, frozen lakes, frosted branches, trappers' huts.",SPRING: "Flowering meadows, clear streams, budding trees, druid circles.",SUMMER: "Golden grass, ripe wheat, cloudless heat, abandoned granaries.",AUTUMN: "Russet leaves, mushrooms, morning mist, bog mire.",DESOLATION: "Cold ash, charred trees, barren ground, post-cataclysm ruins.",FUTURISTIC: "Chrome, cold neon, holographic panels, dystopian megacity.",ELECTRONIC: "Circuit boards, optic fibre, silent servers, AI cores.",};const GROUPS = [
CHANGELOG.md+26
CONTRIBUTING.md+3-3
README.md+27-26
assets/electronique/decoration_minor.png β assets/electronic/decoration_minor.pngRenamed


assets/electronique/difficult_terrain.png β assets/electronic/difficult_terrain.pngRenamed


assets/electronique/door_closed.png β assets/electronic/door_closed.pngRenamed


assets/electronique/hazard_primary.png β assets/electronic/hazard_primary.pngRenamed


assets/electronique/obstacle_decor.png β assets/electronic/obstacle_decor.pngRenamed


assets/electronique/stairs.png β assets/electronic/stairs.pngRenamed


assets/electronique/walkable_floor.png β assets/electronic/walkable_floor.pngRenamed


assets/electronique/walkable_floor_alt.png β assets/electronic/walkable_floor_alt.pngRenamed


assets/electronique/wall.png β assets/electronic/wall.pngRenamed


assets/electronique/wall_corner.png β assets/electronic/wall_corner.pngRenamed


assets/inonde/decoration_minor.png β assets/flooded/decoration_minor.pngRenamed


assets/inonde/difficult_terrain.png β assets/flooded/difficult_terrain.pngRenamed


assets/inonde/door_closed.png β assets/flooded/door_closed.pngRenamed


assets/inonde/hazard_primary.png β assets/flooded/hazard_primary.pngRenamed


assets/inonde/obstacle_decor.png β assets/flooded/obstacle_decor.pngRenamed


assets/inonde/stairs.png β assets/flooded/stairs.pngRenamed


assets/inonde/walkable_floor.png β assets/flooded/walkable_floor.pngRenamed


assets/inonde/walkable_floor_alt.png β assets/flooded/walkable_floor_alt.pngRenamed


assets/inonde/wall.png β assets/flooded/wall.pngRenamed


assets/inonde/wall_corner.png β assets/flooded/wall_corner.pngRenamed


assets/glaciaire/decoration_minor.png β assets/glacier/decoration_minor.pngRenamed


assets/glaciaire/difficult_terrain.png β assets/glacier/difficult_terrain.pngRenamed


assets/glaciaire/door_closed.png β assets/glacier/door_closed.pngRenamed


assets/glaciaire/hazard_primary.png β assets/glacier/hazard_primary.pngRenamed


assets/glaciaire/obstacle_decor.png β assets/glacier/obstacle_decor.pngRenamed


assets/glaciaire/stairs.png β assets/glacier/stairs.pngRenamed


assets/glaciaire/walkable_floor.png β assets/glacier/walkable_floor.pngRenamed


assets/glaciaire/walkable_floor_alt.png β assets/glacier/walkable_floor_alt.pngRenamed


assets/glaciaire/wall.png β assets/glacier/wall.pngRenamed


assets/glaciaire/wall_corner.png β assets/glacier/wall_corner.pngRenamed


docs/client-setup.md+1-1
docs/sprite-generation.md+4-4
docs/themes.md+50-50
docs/tools.md+5-5
docs/troubleshooting.md+1-1
maps/README.md+5-5
maps/reseau-electronique-repaire-hacker.tmj β maps/hacker-lair.tmjRenamed+30-30
maps/forteresse-glace-etage.tmj β maps/ice-fortress.tmjRenamed+33-33
maps/exemple-crypte-nemotron.tmj β maps/nemotron-crypt-example.tmjRenamed+8-8
maps/caverne-aquatique.tmj β maps/water-cavern.tmjRenamed+9-9
package-lock.json+3-3
package.json+3-1
scripts/README.md+5-4
scripts/create-aquatic-map.mjs+11-11
scripts/create-electronic-hacker-map.mjs+10-10
scripts/create-glacier-map.mjs+14-14
scripts/gen-docs.mjs+10-10