Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new Room(
- name = 'center room',
- description = 'empty square room. Each of the four walls has a door.'
- items = [
- new Item(
- name = 'box',
- description = 'plain wooden box with a lid',
- canBePickedUp = false,
- isContainer = true,
- isClosed = true,
- items = [
- new Item(
- name = 'metal key',
- description = 'small metal key',
- unlocks = 'north door'),
- ]),
- ],
- exits = [
- new Exit(
- name = 'north door',
- description = 'the door leads to another room steeped in darkness'
- isLocked = true,
- destination = 'dark room'),
- ]);
Add Comment
Please, Sign In to add comment