You'll notice that only the scripts in yellow after the }} and those in white show up to players in the app. For every item listed, you need 3 lines of script players will never see. Luckily, those can be copied and pasted with slight modifications--they need not be written completely each time. So to begin:

* {{ silver >= 5}} Five silver obtains a "Potion of Immense Girth".

The * sets the following line as a choice for the players, while the (hidden from players) {{ silver >= 5}} tells that choice to only appear if the players have 5 or more silver.

Two lines beneath the yellow decision text, we establish the new context if the adventurers choose that decision. The new context is to give the adventurers the potion {{ hasPotion = true }} and also to deduct the price from the pool of currency in the party's possession {{ silver = silver - 5}}.

The white line of text tells the players what they got by choosing the decision, and the **goto Cost** takes us back to the title card (which we named #Cost, but you may name differently), in case they want to purchase additional items from the store.

Eventually, through context elimination (no more currency) adventurers are left with only one choice, shown below.