oasis-b

Wiki / Events

Shops and inns

The usual way to build a shop and an inn with event commands.

Shop

Inn

An inn is a few commands in a row:

Show Text: "One night is 50 G. Stay?"
Show Choices: Yes, No
  When Yes:
    Conditional Branch: Gold is at least 50
      Change Gold: -50
      Fadeout Screen
      Play ME: Inn
      Recover All: Entire Party
      Wait: 60 frames
      Fadein Screen
    Else
      Show Text: "You do not have enough money."
  When No:
    Show Text: "Come back any time."