Main      Site Guide    
Smash Tutorial

Sample Adventure: The Trainer

The "kobold.sma" File


c kobold = 0 . You are standing on the shores of a placid lake. Waves lap the sand at regular intervals. A spooky cave, guarded by a nasty looking kobold, lies to the north. An east-west path travels by it. What next? C kobold = 1 . You are standing on the shores of a placid lake. A spooky cave lies to the north. An east-west path travels by it. The kobold's battle axe is lying here. C . You are standing on the shores of a placid lake. A spooky cave lies to the north. An east-west path travels by it. ^ n Enter the cave. c kobold g cave C p The kobold stops you and lowers his battle axe menacingly. "Trespassing is strictly forbidden!" he growls. ^ e Go east. g rock ^ w Go west. g coin c !kobold * k Attack the kobold. c a:sword p You swing your sword at the kobold, but the monster blocks it with his battle axe. You swing again, this time grazing his forehead. The battle rages on. Finally the kobold gives up and flees. s kobold = 1 C p Without a weapon?? * ste Steal the kobold's battle axe. p Nice try, but the kobold catches you in the act. "Watch it, scum," he grunts. c a:coin * giv Give the kobold a coin. p "Tryin' to bribe me, eh?" the kobold sneers. "It worked. Get on in." You enter the cave. d coin g cave C kobold = 1 * tak Take the battle axe. p Ok. a axe s kobold = 2 * go Go swimming. p Yay! Splash! Splash! Happy! You like swimming.