fill_map_layer
Fill an entire map layer with a specified tile ID to quickly set base terrain or clear the layer.
Instructions
Fill an entire tile layer of a map with a specific tile ID. Useful for setting base terrain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | The map ID | |
| layer | Yes | Layer index (0-5): 0-1=ground, 2-3=upper, 4=shadow, 5=region | |
| tileId | Yes | Tile ID to fill with (0=clear) |