<div id="content">
WELCOME TO MY SHOP!!!
I have things for sale:
<<if $hascan is false>>1. You see a mysterious unlabled tin can for sale. (25g) [[Buy It?|buycan]]
<<elseif $hascan is true>>1. SOLD!!!
<</if>>
<<if $hasgem is false>>2. You see a sparkling blue gem for sale. (25g) [[Buy It?|buygem]]
<<elseif $hasgem is true>>2. SOLD!!!
<</if>>
You have $gold Gold.
</div><<set $gold to 25>>
<<set $hascan to false>>
<<set $hasgem to false>><div id="content">
<<if $gold gte 25>><<set $hascan to true>><<set $gold to $gold - 25>>You buy the mysterious can!
<<elseif $gold <= 25>>Sorry, you don't have enough Gold!
<</if>>
[[Back to the Shop|Shopfront]]
You have $gold Gold.
</div><div id="content">
<<if $gold gte 25>><<set $hasgem to true>><<set $gold to $gold - 25>>You buy the sparkling gem!
<<elseif $gold <= 25>>Sorry, you don't have enough Gold!
<</if>>
[[Back to the Shop|Shopfront]]
You have $gold Gold.
</div>