
Sample Adventure: The Trainer
The "rock.sma" File
. You are at the bottom of a short cliff face. The cliff is roughly
forty feet high; its face is jagged with rocky outcroppings.
Paths lead away to the north and west.
c d:rock
, There is a small rock on the pathway that catches your eye.
^ n Go north.
g tree
^ w Go west.
g kobold
^ u Climb the cliff.
c a:rope
p You throw the rope up the cliff to aid you in your
climb.
c tied_loop
P The loop at the end of the rope hooks around a rock.
You climb up.
g dragon
C
P But it falls back down. You try to climb the cliff
without it, but you don't get very far.
C
p You try to climb up the cliff, but it's too steep for you
to make it.
c a:rope , !tied_loop
* 1 Tie a loop in the rope.
p Ok. There is now a loop in the rope.
s tied_loop = 1
c a:rock
* 2 Throw the rock up the cliff.
p You toss it upwards. It travels half the way up the cliff,
then bounces back down again.
d rock
C
* 3 Pick up the rock.
c !rock
p Ok. It's a really neat rock.
C
p Ok.
s rock = 1
a rock
* 4 Shout, "Hey up there!"
p You hear a faint rumbling in response, but that's it.
Back to the Smash Tutorial Sample Adventure: The Trainer.
Back to the Smash Tutorial.