paint_tiles
Paints tiles onto a map with automatic autotiling, recomputing shapes from same-kind neighbors. Supports layer selection and dry-run preview.
Instructions
Paint specific tiles onto a map, with automatic autotiling. Each cell is set to its tile id; if that id is an autotile (A1-A4, e.g. a catalog 'kind' base from find_tile), its shape and its neighbours' shapes are recomputed from same-kind adjacency so borders/corners line up. Flat tiles are painted as-is. Defaults to the lower ground layer (0). Higher-level than set_map_tile, which is a single raw tile with no autotiling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | Z-layer 0-5 (default 0 = lower ground; 0-3 tiles, 4 shadow, 5 region id) | |
| mapId | Yes | The ID of the map | |
| tiles | Yes | Cells to paint | |
| dryRun | No | Preview only: return a diff of what would change without writing to disk. |