diff --git a/examples/trade.gamebook b/examples/trade.gamebook new file mode 100644 index 0000000..51a887f --- /dev/null +++ b/examples/trade.gamebook @@ -0,0 +1,14 @@ += Introduction +Testing trade of things. You can buy things using +[count gold]Gold[/count] of which you start with [set gold]100[/set]. +You also have an [collect item]Inventory[/item]. At start you carry +a [add item]sword[/add]. + +* 1 start +You can buy a [found item]shield[/found] here for [cost gold]50[/cost] Gold. +There is also a [found item]chain mail[/found] costing [cost gold]150[/cost]. +You can pick up some [found item]spiderweb[/found] for free. +You can go on to the end at [[theend]]. + +* theend +It ends here. diff --git a/expected/items.html b/expected/items.html index 7378e5f..5d0a1b9 100644 --- a/expected/items.html +++ b/expected/items.html @@ -99,8 +99,8 @@ if (this.gamebook) {