"Riding A Horse" by John Timmons
Release along with the source text and a website.
The story description is "Creating a horse with the rideable vehicle object and demonstrates some of the possibilities. This example is based on the 'Vehicle Testing Center' example in the Rideable Vehicles extension documentation written by Graham Nelson."
Include Rideable Vehicles by Graham Nelson.
The Meadow is a room. "There is a riding path to the north."
Riding Path is north of the Meadow. "The meadow is off to the south."
The Barn is west of the Meadow.
Some hay is in the barn.
The horse is a rideable animal in the Meadow. The description is "The horse snorts a bit but seems friendly enough. Perhaps it would allow you to ride?" The horse can be fed or unfed.
Instead of mounting the unfed horse:
say "The horse backs away from you and nods its head to the west.";
change the description of the Meadow to "There is a riding path to the north and a barn to the west."
Instead of giving the hay to the horse:
now the horse is fed;
remove the hay from play;
say "The horse cheerfully munches down your offering."
Carry out going somewhere by horse:
say "You ride the horse to . . .".
Instead of going to the Barn by horse:
say "Nope, the horse doesn't want go go to the barn."
After mounting the horse:
say "You settle comfortably on the horse's back."
Instead of dismounting:
say "You think better of it and decide that you would rather ride."