create_inn
Adds an inn event to a map that presents a yes/no choice, verifies gold, and fully recovers the party if payment is made.
Instructions
Create an inn event on a map. Shows a choice (Yes/No), checks gold, and recovers all if the player can pay.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapId | Yes | Map ID | |
| x | Yes | X position | |
| y | Yes | Y position | |
| name | Yes | Event name | |
| cost | No | Cost to stay at the inn (default 50) | |
| characterName | No | Character sprite filename | |
| characterIndex | No | Character sprite index (0-7) |