Spaces:
Running
Running
|
Download docs/themes.md from 4math/tiled-map-builder: direct link, hf CLI and curl.
- Browser
- Download file 10.5 kB
-
https://huggingface.co/spaces/4math/tiled-map-builder/resolve/main/docs/themes.md
- Command line
-
hf download hf://spaces/4math/tiled-map-builder/docs/themes.md
-
curl -L -o themes.md https://huggingface.co/spaces/4math/tiled-map-builder/resolve/main/docs/themes.md
10.5 kB
| # Themes | |
| <!-- Generated by scripts/gen-docs.mjs from the server's list_themes. Do not edit by hand. --> | |
| A theme is a tile palette: it maps each **role** used by the tools (`walkable_floor`, `wall`, | |
| `hazard_primary`, ...) to one sprite and one tile type. Pass its key to `create_map`. | |
| Display names and descriptions are in French, the language the themes were written in. | |
| **20 themes**, 12 with bundled sprites. Themes without sprites still produce valid | |
| maps; Tiled shows placeholders until the PNGs exist (see [sprite-generation.md](sprite-generation.md)). | |
| Sprites live in `assets/<theme_lowercase>/<role>.png`. | |
| | 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 theme | |
| | Key | Roles | | |
| |---|---| | |
| | `CRYPT` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` | | |
| | `CASTLE` | `walkable_floor`, `walkable_floor_alt`, `wall`, `wall_corner`, `difficult_terrain`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` | | |
| | `WEREWOLF_DEN` | `walkable_floor`, `walkable_floor_alt`, `wall`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor`, `door_closed` | | |
| | `TAVERN_BLOOD_PRINCE` | `walkable_floor`, `walkable_floor_alt`, `wall`, `difficult_terrain`, `obstacle_decor`, `decoration_minor`, `door_closed`, `stairs` | | |
| | `VILLAGE` | `walkable_floor`, `walkable_floor_alt`, `wall`, `difficult_terrain`, `obstacle_decor`, `decoration_minor`, `door_closed` | | |
| | `HAUNTED_FOREST` | `walkable_floor`, `walkable_floor_alt`, `wall`, `difficult_terrain`, `hazard_primary`, `obstacle_decor`, `decoration_minor` | | |
| | `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 | |
| 1. Create `tiled-mcp/src/themes/<name>.ts` exporting a `Theme` (copy an existing one). It must | |
| define at least `walkable_floor` and `wall`. | |
| 2. Register it in `tiled-mcp/src/themes/index.ts`. | |
| 3. Add its prompt entries to `ROLE_VISUALS` and its key to `ThemeKey` in | |
| `tiled-mcp/src/themes/prompts.ts` if you want sprite generation. | |
| 4. Put sprites in `assets/<key_lowercase>/<role>.png` (64x32 floors, 64x64 walls and props), | |
| or generate them. | |
| 5. `npm run build && npm run docs && npm run smoke`. | |