Prepwell
v1.0.0Prep an RPG session on a real battle map, then check it against the map and rules.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
prep_session_map Draw the map for a session
Draws the map for a tabletop RPG session. Draws a real battle map (fantasy maps by Ink & Torch, starship deck plans by Hull & Hatch) on a square grid, by code, and gives back the picture, every numbered area with exactly which areas connect and by what kind of door (secret doors included), where the party comes in, the encounter budget for the game system and party, and the JSON shape a session for this map uses. Free here: dungeon, cave, floorplan (tavern or house), forest, and the courier, trader and derelict starships.
| Parameter | Type | Description |
|---|---|---|
hours | integer | Session length in hours. Default 3. |
map_type | string | Pick the map yourself. Left out, it's picked from the request (a temple is a dungeon, a mine is a cave, a derelict is a Hull & Hatch derelict). |
party_level | integer | Party level. Read from the request if left out, else 3. |
party_size | integer | Number of player characters. Default 4. |
request | string | The GM's few words: who the party is, what they're after, where. Example: 'level 3, they owe a smuggler money, flooded temple, 3 hours'. |
seed | string | Any word. The same seed and settings always draw the same map. |
system | string | dnd5e2024 (D&D 5e, 2024 rules), pf2e, shadowdark, osr, mothership or traveller. Read from the request if left out. |
check_session Check a session against its map and rules
Checks a session written for a Prepwell map: every area keyed once and no made-up area numbers, exits and 'leads to' lines match the real connections, every secret door is in the key, fights are inside the system's budget (2024 DMG XP, PF2e GM Core XP), every conclusion has two or more clues and the party can still finish if they miss any single clue, and campaign memory (returning people, open thread ids) is used right. It lists every problem it finds. When the session passes, it gives back a link to the one page GM cheat sheet PDF.
| Parameter | Type | Description |
|---|---|---|
map_ref * | object | The map_ref that prep_session_map gave back, unchanged. |
session * | object | The session JSON, in the shape prep_session_map gave. |
hours | integer | Session length in hours. Default 3. |
memory | object | Optional campaign memory, so returning people and thread ids can be checked: {npcs: [{name, role}], threads: [{id, text, status}]}. |
party_level | integer | Party level. Read from the request if left out, else 3. |
party_size | integer | Number of player characters. Default 4. |
request | string | The GM's few words: who the party is, what they're after, where. Example: 'level 3, they owe a smuggler money, flooded temple, 3 hours'. |
system | string | dnd5e2024 (D&D 5e, 2024 rules), pf2e, shadowdark, osr, mothership or traveller. Read from the request if left out. |
list_map_types List the map types
Lists every map type Prepwell can draw for a session, which are free in this connector, and the game systems it checks.