exits.heritage 798 B

12345678910111213141516171819202122232425
  1. /* License: CC0 */
  2. /* Sometimes, exits need to be treated in a special way. For example, an exit leading to a non-standard location, or an exit that can't be left without a special item such as a key */
  3. exit(1):
  4. fail: I can't leave the house yet. Despite my fear, I should really tell my parents who I truly am. Perhaps I could leave them a note...
  5. require_location: 0.0.-1, note
  6. new_location: 10.0.-1
  7. exit(2):
  8. fail: I don't want to go back home...
  9. equals: can_go_home,1
  10. new_location: 999.999.999
  11. exit(3):
  12. fail: The door is locked.
  13. equals: door_bell_rang,1
  14. exit(4):
  15. fail: It's rude to leave without saying goodbye.
  16. equals: said_goodbye_friend,1
  17. exit(5):
  18. fail: I can't just go to her bedroom, show a little respect!
  19. equals: friend_house_access,1