set_map_tile
Set a raw tile ID at specified coordinates and layer for RPG Maker MZ maps. Directly edits tile data, bypassing autotile and passability checks.
Instructions
Set a single raw tile ID at (x, y) on a given z-layer (0-5). Note: tile IDs are raw engine integers; this is a low-level primitive without autotile/passability awareness.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X tile position | |
| y | Yes | Y tile position | |
| layer | Yes | Z-layer 0-5 (0-1 lower, 2-3 upper, 4 shadow, 5 region) | |
| mapId | Yes | The ID of the map | |
| dryRun | No | Preview only: return a diff of what would change without writing to disk. | |
| tileId | Yes | Raw tile ID |