create_shop
Create a shop event on a map where players can buy items, weapons, or armor. Define goods, prices, and an optional character sprite.
Instructions
Create a shop event on a map. Uses Shop Processing event commands with a list of goods.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | Map ID | |
| x | Yes | X position | |
| y | Yes | Y position | |
| name | Yes | Event name | |
| goods | Yes | Array of [type, itemId, priceType, price]. type: 0=item, 1=weapon, 2=armor. priceType: 0=standard, 1=custom | |
| characterName | No | Character sprite filename | |
| characterIndex | No | Character sprite index (0-7) |