Main      Site Guide    
Smash Tutorial

Sample Adventure: The Trainer

The "coin.sma" File


. You're in a secluded area some distance from the lake shore. Dead leaves are scattered throughout the area. c coin_visible = 1 , There is a coin on the ground here. ^ e Go east. g kobold * 1 Look around. p You see a bunch of dead leaves on the ground, roots exposed from erosion, and lots of gnats flying at your face. * 2 Kick at the leaves. c coin_visible p It's fun, isn't it? C p You found a coin hiding underneath a leaf! s coin_visible = 1 c coin_visible = 1 * 3 Take the coin. p Whatever you say. a coin s coin_visible = 2