Prepwell

v1.0.0
com.rowhousesoftware/prepwell Checked 2 days ago Published 9 days ago

Prep 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.

ParameterTypeDescription
hoursintegerSession length in hours. Default 3.
map_typestringPick 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_levelintegerParty level. Read from the request if left out, else 3.
party_sizeintegerNumber of player characters. Default 4.
requeststringThe 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'.
seedstringAny word. The same seed and settings always draw the same map.
systemstringdnd5e2024 (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.

ParameterTypeDescription
map_ref *objectThe map_ref that prep_session_map gave back, unchanged.
session *objectThe session JSON, in the shape prep_session_map gave.
hoursintegerSession length in hours. Default 3.
memoryobjectOptional campaign memory, so returning people and thread ids can be checked: {npcs: [{name, role}], threads: [{id, text, status}]}.
party_levelintegerParty level. Read from the request if left out, else 3.
party_sizeintegerNumber of player characters. Default 4.
requeststringThe 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'.
systemstringdnd5e2024 (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.