Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. #macros
  2.  
  3. path [uncons [doordx] each2 pop] macro
  4.  
  5. go [ego location geta swap exit swap cat geta dup null eq [[You can't go that way.] quotey show pop]
  6. [ego swap movedx [Your location is: $y.] quotey show]
  7. ifte] macro
  8.  
  9. get [dup location geta ego location geta eq
  10. [dup ego move [You take the $y.] quotey show] [[You don't see the $y.] quotey show] ifte] macro
  11.  
  12. drop [dup ego swap contains [ego location geta movedy [You drop the $y.] quotey show] [[You don't have the $y.] quotey show] ifte] macro
  13.  
  14. #init
  15.  
  16. [hall e study n library w parlor w kitchen s living e hall s porch] path
  17.  
  18. bat hall move
  19. ball study move
  20.  
  21. ego porch move #player agent
  22.  
  23.  
  24. #player commands
  25.  
  26. n go
  27. bat get
  28. e go
  29. bat drop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement