Delete a map and its entry in the tree
delete_mapRemove a map's JSON file and its MapInfos entry, blocking the deletion when events on other maps still transfer here unless force is set.
Instructions
Remove data/MapNNN.json and clear its MapInfos slot — the other half of create_map, and the call that lets a build script tidy the prototypes it made on the way to the version it wanted. It refuses while some event on another map still transfers the player there, because that is a door into a map that is gone, and it lists those events so the caller can decide; force deletes anyway and still lists them. Both files are backed up first, so undo_writes puts the map file and its tree entry back together.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Delete even though events lead here; the reply names them | |
| mapId | Yes | ||
| dryRun | No | Report what would go, and what points here, without writing |