Multi-level maps: floors, drops and stairs
A map can have up to 10 floors in one shared 5 ft grid: a cellar under the hall, a gallery that runs round a great room’s walls, a tower climbed by a spiral stair. One-floor maps stay isodelve-map@1 and every older reader keeps working. A map with more than one floor is an isodelve-map@2 document.
How many floors you can use depends on your plan: in the Map Maker, Free maps have 1 floor, Hobby up to 3, Creator and above up to 10. Through the API, Free and Hobby generate 1 floor, Creator up to 3, Business and Platform up to 10. Each floor of a generated dungeon counts as a generation.
Floors and heights
Every floor has an id (a slug such as ground, gallery or cellar), a name, a base and a ceiling, both in 5 ft squares:
baseis the height of the floor’s surface above the ground floor (0). A gallery 20 ft up hasbase: 4; a cellar 10 ft down hasbase: -2. Bases run from -20 to 40 and no two floors share one.ceilingis the headroom above the floor, 2 or more (2 = 10 ft, the height of a full wall).- Floors are listed lowest first.
Where two floors both have floor on the same square, the upper one must sit at least the lower one’s ceiling higher, so no floor cuts through another.
Drops: open squares
A floor can mark squares as open: no floor there, and you see (and can fall) down to the floor below. Galleries, balconies and stairwells are open squares. Every open square needs floor on some lower floor under it, unless it is in a room marked pit (bottomless). The edge between a floor square and a drop usually carries a railing (wall.rail.half.a stone, wall.rail.half.b iron): half height and see-through, half cover at the table.
When a map is drawn, IsoDelve shows the slab’s edge where a floor stops at a drop (floor.edge.a); maps never store it.
Stairs
Stairs join two floors. Each stair names a kit piece, where it stands (at, the north-west square of its footprint, and rot, quarter turns clockwise as for props) and the floors it joins (from, the lower, and to, the upper):
{ "id": "st1", "piece": "stair.spiral.2x2.r4", "at": [12, 6], "rot": 0, "from": "ground", "to": "gallery" }
| Piece | Footprint | Climbs | Notes |
|---|---|---|---|
stair.straight.1x4.r2 |
1 × 4 | 2 squares (10 ft) | Bottom entry south, landing north at rot 0 |
stair.straight.1x6.r3 |
1 × 6 | 3 squares (15 ft) | |
stair.straight.1x8.r4 |
1 × 8 | 4 squares (20 ft) | |
stair.spiral.2x2.r2, .r3, .r4 |
2 × 2 | 2, 3 or 4 squares | Winds round a post standing where its four squares meet. You step on westward from the south-east square (under the landing), climb clockwise round the other three, and step off onto the south-east square of the upper floor, a floor tile there (the landing). Every step edge lies along a grid line; difficult terrain |
stair.curved.4x4.r2, .r3, .r4 |
4 × 4 | 2, 3 or 4 squares | Quarter turn: sweeps round the north-east corner from the east (bottom) to the north (top). Only the 7 squares under the flight are stairwell; the rest of the footprint stays floor on both floors. .r4 is difficult terrain |
stair.curved.5x3.r2, .r3, .r4 |
5 × 3 | 2, 3 or 4 squares | Half turn: east along the south row, round the east end, back west along the north row, so it arrives over where it started. Both entries are on the west side |
The piece’s catalog entry gives its climb path square by square with the height of each square, so a token on the stairs is always on a whole square at a known height. The stair must rise exactly the gap between its two floors, stand on floor on from, have its landing (and a spiral’s landing square) on floor on to, and its stairwell must be open on to. No wall may cross the footprint on from or the stairwell on to, or stand where a token steps on or off.
The checks
Every isodelve-map@2 file passes these checks, in the Map Maker before export, in the API on import, and in a VTT that reads the format: the structure (grid, palette, layer sizes), floors in order with no shared base, no floor cutting through another, stairs that join and fit, drops with something below, diagonal walls that end at wall corners, ids that are unique across the whole map, and everything on whole squares. The JSON Schema is at /v1/schemas/isodelve-map@2.json; the cross-floor checks need code (the engine’s checkMapV2).
The document
{
"format": "isodelve-map@2",
"generatorVersion": "gen-2.0.0",
"seed": "hall-1",
"pack": "ink-stone@1.5.0",
"grid": { "w": 36, "h": 28, "cellFt": 5 },
"palette": ["", "floor.slab.a", "wall.seg.full.a", "wall.rail.half.a", "stair.straight.1x8.r4", "…"],
"floors": [
{ "id": "ground", "name": "Ground", "base": 0, "ceiling": 4, "layers": { "floor": ["…"], "edgeH": ["…"], "edgeV": ["…"], "vertex": ["…"] },
"rooms": [], "corridors": [], "doors": [], "props": [], "lights": [], "traps": [] },
{ "id": "gallery", "name": "Gallery", "base": 4, "ceiling": 2, "layers": { "floor": ["…"], "open": ["…"], "edgeH": ["…"] },
"rooms": [], "corridors": [], "doors": [], "props": [], "lights": [], "traps": [] }
],
"stairs": [{ "id": "st1", "piece": "stair.straight.1x8.r4", "at": [3, 9], "rot": 0, "from": "ground", "to": "gallery" }],
"paths": { "critical": [], "branches": [], "deadEnds": [] },
"stats": { "floors": 2 }
}
One palette serves every floor. Each floor has the same grid layers as an isodelve-map@1 map (floor, floorRot, edgeH, edgeV, vertex, vertexRot) plus open (0 or 1 per square) and, for 45-degree walls, diag and diagDir (1 = “/”, 2 = “\”). A layer that is all zero can be left out. Rooms, corridors, doors, props and lights belong to their floor; their ids are unique across the whole map. To draw one floor with a one-floor tool, take its layers into an isodelve-map@1 grid with the shared palette.
Generating floors (gen-2.0.0, preview)
Send "generatorVersion": "gen-2.0.0" and a floors object to POST /v1/maps/generate:
{ "seed": "hall-1", "size": { "w": 36, "h": 28 }, "generatorVersion": "gen-2.0.0", "floors": { "gallery": true, "cellar": true } }
gallery: an upper floor over the largest room (at least 6 × 6): a walkway along its walls, open in the middle, with railings, reached by a straight stair.galleryRisesets its height, 3 or 4 squares (default 4).cellar: a floor below, reached by a straight stair, with an optional pit.
The ground floor follows the gen-1.3.0 rules, and with no floor features the map is the same as gen-1.3.0’s for that seed and settings. gen-2.0.0 is a preview: its output may still change before it is frozen like the other versions. Small maps (around 20 × 16) may have no room big enough for a gallery; the API then answers 422 generation_failed and says so.
Drawing floors in the Map Maker
The Floors panel on the right lists the map’s floors, top first. Add a floor above or below, rename it, or set its height. Drawing tools work on the floor you have picked; the floor below shows faintly underneath. The Drop tool (X) paints open squares on an upper floor, and railings go round them. The Stairs tool (T) has straight, spiral, curved (quarter turn) and half-turn stairs: they climb from the floor you are on to the next floor up, and the squares above become a stairwell. Stairs join the floor above by themselves: they turn to come out on its floor if they can; if not, they add a landing and a railed walkway out to the nearest floor up there, and if there is no floor above yet they add one 10 ft up. A spiral turns round a post where four squares meet and comes out onto the floor square above the one you stepped on from. The preview shows where they will come out before you click. The Checks list shows anything the export would refuse, and clicking a line takes you to it. Exports draw all floors stacked, or one floor alone.
Art: Ink Stone 1.5.0 has the stairs, railings, slab edges and diagonal walls. Saltwake 1.2.0 has the same pieces in the ship palette, ready for when Saltwake comes to the API; in the Map Maker a Saltwake map stays one deck.