first.heritage 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326
  1. room(0.1.0):
  2. description: You're in a large square room with grey walls. There is a
  3. large mirror attached to one of the walls
  4. $(require_here:note;There is a note on the floor.)$
  5. $(require_here:box;There is a small box on the floor, in the
  6. center of the room.)$
  7. A south exit leads to the bicycle room. A north exit leads to
  8. another room.
  9. items: box, note, mirror.1
  10. exits: south, north
  11. item(mirror.1):
  12. on_examine: Hey, this is no regular mirror. Strange. When you first look at
  13. it, you see yourself and the walls behind you. But then,
  14. suddently the image changes. You see a street. Tall buildings.
  15. Cars. Many people. Shops. Bicycle riders. Huge advertisement
  16. signs on the buildings. You see this from the point of view of
  17. a person standing on the sidewalk, or perhaps at the entrace of
  18. some shop, and looking outside.
  19. That's not all. Some of the people passing by seem to ignore
  20. you, which makes sense, but many of them stare at you for a bit
  21. longer than you'd expect. Some of then even stop to stare at
  22. you for a few seconds, or move a hand through their hair while
  23. looking at you. Strange.
  24. After a while of seeing this view, the mirror goes back to
  25. showing you the boring walls behind you.
  26. on_break: Why? It's a nice mirror.
  27. on_kick: I suggest you don't. You could cut yourself, and you don't have a
  28. first aid kit.
  29. on_kiss: Come on, you're better than that. Or maybe you just happen to like
  30. mirrors? Okay, fine... there you go. Kissed that mirror. Happy
  31. now?
  32. item(box):
  33. on_examine: It's a black, cube-shaped box. There seems to be no way to open
  34. it. On the top of the box there is a small red button.
  35. The box is tightly glued to the floor.
  36. on_press: You press the box's button. And... nothing exciting. It doesn't
  37. look like anything happened.#(pressed=1)#
  38. item(note):
  39. on_examine: The note's paper is a bit yellow. The text, written in black,
  40. says:
  41. "The place you are exploring is an ancient maze, created by
  42. mysterious beings. Most chances, you were brought here by
  43. mistake. If that is the case, I'm sorry. It's unlikely you find
  44. the way out of here by yourself, but our ancient friends left
  45. us some help. However, read carefully before you attempt to use
  46. it!
  47. Hopefully, unless someone took it, there is a small box in this
  48. room. The button on the top of the box is your way out! If you
  49. press it, an exit door will be opened for you, several rooms
  50. ahead in the maze. It will take you back home to your normal
  51. life.
  52. In addition, near that exit door, a briefcase full of cash will
  53. be waiting. It should contain exactly 1 million dollars. You
  54. can count them to be sure.
  55. If you exit the maze with the money in your hands, you win the
  56. game.
  57. However, there is a catch. Our ancient friends made it so that
  58. if you press the button on that box, someone will die. Someone,
  59. somewhere. It is guaranteed that it will be someone you never
  60. met, and you wouldn't ever meet anyway. It will happen far away
  61. from your home, on the other side of the planet, and you'll
  62. never hear from anyone about this incident, ever. There is a
  63. chance that person will be a killer, but I'm not exactly sure
  64. about this detail, so I can't promise.
  65. Make a wise choice! Good luck!"
  66. allow_take: true
  67. room(0.2.0):
  68. description: It's a kitchen. The equipment is rusty, and there's stench of
  69. rotten food. There is also a table here.
  70. There are north and south exits.
  71. items: table, glass, bread
  72. exits: south, north
  73. item(table):
  74. on_examine: It's a wooden dining table for 6 people. There are signs of
  75. rot all over it.
  76. $(require_here:glass;There is a glass on the table, containing
  77. some transparent fluid.)$
  78. $(require_here:bread;There is a piece of old dry bread on the
  79. table.)$
  80. item(glass):
  81. on_examine: It's a blue, partially transparent glass, made of glass.
  82. $(equals:drank,0;It contains a transparent fluid.)$
  83. $(equals:filled,1;It contains water. Hey! There's also a red
  84. key in there!)$
  85. on_smell: $(equals:drank,0;It has no smell, just like water. But perhaps
  86. poison has no smell either.)$
  87. $(equals:drank,1;No smell. The glass is empty.)$
  88. on_taste: $(equals:drank,0;You taste the liquid carefully. No taste.)$
  89. $(equals:drank,1;Nothing to taste, the glass is empty.)$
  90. on_drink: $(equals:drank,0;You drink the content of the glass. No smell, no
  91. taste. Just like water. Hopefully, this isn't poison.)$
  92. #(drank=1)#
  93. $(equals:drank,1;Nothing to drink, the glass is empty.)$
  94. allow_take: true
  95. item(bread):
  96. on_examine: This is whole bread. Unlike white bread, this is actually
  97. healthy and full of nutrients. Did you know white flour was
  98. invented less than 200 years ago, just to help bakers make more
  99. money? But it's quite useless because it contains empty
  100. carbohydrates, i.e. nearly all the vitamins and minerals are
  101. missing from white bread. Unless you're starving, prefer whole
  102. bread.
  103. But this piece of bread here is hard as a rock and has green
  104. things on it. Must be years old.
  105. $(equals:wrapped,1;It's wrapped in some slightly yellow
  106. paper.)$
  107. on_smell: It smells like a combination of the regular smell of bread, and
  108. these green bacteria or whatever colony has developed on its
  109. surface. Overall, not too bad to eat it if really hungry.
  110. on_eat: Better this than die hungry, isn't it? Mmmmmmmm... can't. I can't
  111. chew it. Is this bread or a piece of rock? Maybe we can find
  112. something more closely resembling food.
  113. allow_take: true
  114. room(0.3.0):
  115. description: This looks like a storage room. There are roughly twenty large
  116. metal containers here. Maybe there are more behind them, it's
  117. hard to see. All the containers look identical, except for two
  118. which look special.
  119. There are south and east exits.
  120. items: containers, blue_container, red_container, blue_lock, red_lock
  121. exits: south, east
  122. item(containers):
  123. on_examine: There are many metal containers here, all roughly a meter wide
  124. and high. Most of them are dark green. But there is one blue
  125. container, and one red container.
  126. item(blue_container):
  127. on_examine: It's a dark blue metal container, roughly a meter wide and a
  128. meter high.
  129. $(equals:lockb,1;It's locked with a huge thick blue metal
  130. lock.)$
  131. $(equals:lockb,0;It's open.)$
  132. $(require_here:right_wing;There's a wing here, specifically a
  133. right wing. Of the kind you can fly with.)$
  134. item(red_container):
  135. on_examine: It's a dark red metal container, roughly a meter wide and a
  136. meter high.
  137. $(equals:lockr,1;It's locked with a huge thick red metal
  138. lock.)$
  139. $(equals:lockr,0;It's open.)$
  140. $(require_here:left_wing;There's a left wing here.)$
  141. item(blue_lock):
  142. on_examine: It's a huge thick blue metal lock.
  143. $(equals:lockb,1;It's locked.)$
  144. $(equals:lockb,0;It's unlocked.)$
  145. on_lock: Can't, it's stuck. The mechanism is too old, or broken.
  146. item(red_lock):
  147. on_examine: It's a huge thick red metal lock.
  148. $(equals:lockr,1;It's locked.)$
  149. $(equals:lockr,0;It's unlocked.)$
  150. on_lock: Can't, it's stuck. The mechanism is too old, or broken.
  151. action(unlock_blue_lock):
  152. succeed: You unlock the blue lock, take it off the container and put it in
  153. your pocket. #(lockb=0)#
  154. require_here: blue_container
  155. require_inventory: blue_key
  156. equals: lockb,1
  157. gain: blue_lock
  158. drop: right_wing
  159. action(unlock_red_lock):
  160. succeed: You unlock the red lock, take it off the container and put it in
  161. your pocket. #(lockr=0)#
  162. require_here: red_container
  163. require_inventory: red_key
  164. equals: lockr,1
  165. gain: red_lock
  166. drop: left_wing
  167. item(right_wing):
  168. on_examine: It's a wing made of several large green leaves tied together
  169. using more green leaves. The leaves are dry, but somehow they
  170. are still green and the wing feels stable. Whoever made it must
  171. be a good wing-maker.
  172. This is a right wing, i.e. for holding or attaching to the
  173. right side of your body.
  174. allow_take: true
  175. item(left_wing):
  176. on_examine: It's a wing made of several large green leaves tied together
  177. using more green leaves. The leaves are dry, but somehow they
  178. are still green and the wing feels stable. Whoever made it must
  179. be a good wing-maker.
  180. This is a left wing, i.e. for holding or attaching to the left
  181. side of your body.
  182. allow_take: true
  183. room(1.3.0):
  184. description: You're in what seems to be a small tool storage room. There
  185. are some rusty gardening tools here, attached to the wall.
  186. $(require_here:shovel;A hoe, a rake and a shovel.)$
  187. $(require_inventory:shovel;A hoe and a rake.)$
  188. $(require_here:glove;There's also a gardening glove on the
  189. floor, near the tools. Where is the other glove?)$
  190. There are west and east exits. Bright light comes from the
  191. east exit. There is also a hatch in the center of the room.
  192. items: hoe, rake, shovel, glove, hatch
  193. exits: west, east, down.5
  194. item(glove):
  195. on_examine: It's a used gardening glove.
  196. You always wanted a nice garden, didn't you? The kids can play
  197. there, and you can read a good book, enjoying the sun and the
  198. wind and a grass. Hey, you can even grow some vegetables.
  199. allow_take: true
  200. item(hatch):
  201. on_examine: $(equals:hatch,0;It's closed.)$
  202. $(equals:hatch,1;It's closed, but it's bent by a shovel stuck
  203. between the hatch door and floor.)$
  204. $(equals:hatch,2;It's open.)$
  205. on_open: $(equals:hatch,0; Ummm using what? There seems to be no handle or
  206. anything to pull.)$
  207. $(equals:hatch,1;You push down the shovel again. The hatch won't
  208. move.)$
  209. $(equals:hatch,2;It's already open.)$
  210. action(open_hatch_using_shovel|open_hatch_with_shovel):
  211. succeed: You push the shovel between the hatch and the floor surrounding
  212. it, and push down the shovel's handle, hoping to push up the hatch
  213. to open it. It slightly bends as you push, but doesn't open.
  214. #(hatch=1)#
  215. fail: You need a closed hatch and a shovel for that.
  216. require_here: hatch
  217. equals: hatch,0
  218. require_inventory: shovel
  219. lose: shovel
  220. action(kick_shovel):
  221. succeed: The hatch cracks open. You take back the shovel. #(hatch=2)#
  222. fail: Where? Which? Why? Please provide a detailed answer by e-mail.
  223. equals: hatch,1
  224. gain: shovel
  225. require_here: hatch
  226. action(pull_shovel|push_shovel):
  227. succeed: You try pulling the shovel. You try pushing the shovel. The hatch
  228. door refuses to open.
  229. equals: hatch,1
  230. require_here: hatch
  231. item(hoe):
  232. on_examine: Very rusty gardening hoe. Looks too heavy to carry around.
  233. item(rake):
  234. on_examine: Very rusty gardening rake. Looks too heavy to carry around.
  235. item(shovel):
  236. on_examine: Very rusty gardening shovel. Looks heavy, but could be useful.
  237. allow_take: true
  238. exit(5):
  239. succeed: You carefully go down the stairs under the hatch.
  240. fail: Can't, the hatch is closed.
  241. equals: hatch,2
  242. room(1.3.-1):
  243. description: You are in a basement. There's a horrible stench in the air.
  244. There are spider webs everywhere, but you can't see any
  245. spiders.
  246. There is a large cabinet here. Made of dark wood. Looks
  247. hand-crafted. There's space for at least 4 drawers in it, but
  248. they're all missing, except for one. The top drawer is still
  249. here.
  250. items: blue_key, drawer, oar
  251. exits: up
  252. item(drawer):
  253. on_examine: This is a wide drawer.
  254. $(require_here:blue_key;There's a blue key in the drawer.)$
  255. $(require_here:oar;There's an oar here, fitting into the drawer
  256. tightly, because it's broken in 3 places.)$
  257. item(blue_key):
  258. on_examine: A blue key.
  259. allow_take: true
  260. item(oar):
  261. on_examine: It's an oar. People use these to steer boats.
  262. $(more_than:oarb,0;This oar, however, is broken.
  263. In !(oarb)! places.)$
  264. allow_take: true