You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
889B

  1. (import util)
  2. (import lisp)
  3. (import parse)
  4. (import io)
  5. (import database)
  6. (import world)
  7. (create-object 'garden "A Well-Kept Garden" "A french-style garden with topiary in the shape of various animals. A fountain gurgles happily in the middle. A trail leads off into a forest to the north.")
  8. (create-object 'unicorn "a frolicking unicorn" "A white unicorn, with a long spiral horn.")
  9. (create-object 'forest "A Foreboding Forest" "Tall trees bunch around a winding path.")
  10. (create-object 'trail "a trail" "A winding trail.")
  11. (add-alias 'trail 'winding)
  12. (add-alias 'trail 'north)
  13. (add-alias 'trail 'n)
  14. (set-hidden 'trail #t)
  15. (set-enter-message 'trail "You walk along the winding trail...")
  16. (move-object 'you 'garden)
  17. (move-object 'trail 'garden)
  18. (toggle-fixed 'trail)
  19. (set-destination 'trail 'forest)
  20. (move-object 'unicorn 'garden)
  21. (print-room-description (get-container 'you))
  22. (adventure)