describe_tile
Decode raw RPG Maker MZ tile ids into sheet, autotile kind, shape, and geometry. Optionally include a tileset id to check transparency and tell if an opaque base tile is needed.
Instructions
Decode a raw RPG Maker MZ tile id into its tileset sheet (A1–A5, B–E), and for autotiles its kind + shape slot (0–47) and autotile geometry (floor/wall/waterfall). Read-only inspection helper — raw tile ids are opaque integers, this makes one legible. Returns { tileId, empty, sheet, sheetIndex, autotile, kind?, shape?, autotileType? }. Pass tilesetId to also inspect the sheet PNG and report transparent (true = the tile is see-through and needs an opaque base tile on a lower layer; painting it on layer 0 alone shows the map void) + transparentPercent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tileId | Yes | The raw tile id to decode | |
| tilesetId | No | Tileset id — when given, also report the tile transparency (needs-a-base) flag |