Guest User

Untitled

a guest
Jan 18th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. new Room(
  2. name = 'center room',
  3. description = 'empty square room. Each of the four walls has a door.'
  4. items = [
  5. new Item(
  6. name = 'box',
  7. description = 'plain wooden box with a lid',
  8. canBePickedUp = false,
  9. isContainer = true,
  10. isClosed = true,
  11. items = [
  12. new Item(
  13. name = 'metal key',
  14. description = 'small metal key',
  15. unlocks = 'north door'),
  16. ]),
  17. ],
  18. exits = [
  19. new Exit(
  20. name = 'north door',
  21. description = 'the door leads to another room steeped in darkness'
  22. isLocked = true,
  23. destination = 'dark room'),
  24. ]);
Add Comment
Please, Sign In to add comment