Advertisement
vurt834

VURT834'S Quest Game Source Code

Mar 24th, 2024 (edited)
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 170.45 KB | None | 0 0
  1. <!--Saved by Quest 5.8.6836.13983-->
  2. <asl version="580">
  3. <include ref="English.aslx" />
  4. <include ref="Core.aslx" />
  5. <template name="UnrecognisedCommand">[Error]: Unrecognized command</template>
  6. <template name="UnresolvedObject">You don't see anything resembling the image you have in your mind as you scan the room.</template>
  7. <game name="Escape From Briarwood Hospital">
  8. <inherit name="theme_retro" />
  9. <gameid>77928bfe-b66d-4f24-950b-77c77c46faf3</gameid>
  10. <version>1.0</version>
  11. <firstpublished>2022</firstpublished>
  12. <author>Charles Chadwick</author>
  13. <category>Surreal</category>
  14. <feature_advancedscripts />
  15. <appendobjectdescription type="boolean">false</appendobjectdescription>
  16. <showdescriptiononenter />
  17. <gridmap />
  18. <defaultforeground>LawnGreen</defaultforeground>
  19. <backgroundimage type="string"></backgroundimage>
  20. <defaultlinkforeground>LawnGreen</defaultlinkforeground>
  21. <underlinehyperlinks type="boolean">false</underlinehyperlinks>
  22. <enablehyperlinks type="boolean">false</enablehyperlinks>
  23. <marginscolour>Black</marginscolour>
  24. <panestheme>Nature</panestheme>
  25. <customstatuspane />
  26. <statusandcompassattop />
  27. <showcommandbar />
  28. <borderlesscursor />
  29. <showborder type="boolean">false</showborder>
  30. <bordercolour>LawnGreen</bordercolour>
  31. <attr name="feature_pictureframe" type="boolean">false</attr>
  32. <setcustompadding type="boolean">false</setcustompadding>
  33. <showlocation type="boolean">false</showlocation>
  34. <classiclocation type="boolean">false</classiclocation>
  35. <customlocationcolour>Black</customlocationcolour>
  36. <customlocationtextcolour>LawnGreen</customlocationtextcolour>
  37. <feature_asktell />
  38. <feature_lightdark />
  39. <feature_advancedwearables />
  40. <autodescription type="boolean">false</autodescription>
  41. <changeroom_newline />
  42. <command_newline />
  43. <autodisplayverbs />
  44. <clearscreenonroomenter type="boolean">false</clearscreenonroomenter>
  45. <showtitle type="boolean">false</showtitle>
  46. <mapexitcolour>LawnGreen</mapexitcolour>
  47. <mapsize type="int">1000</mapsize>
  48. <mapscale type="int">20</mapscale>
  49. <commandcursor><![CDATA[>]]></commandcursor>
  50. <feature_limitinventory />
  51. <commandpane />
  52. <defaultfont>'Lucida Console', Monaco, monospace</defaultfont>
  53. <turnoffinventory />
  54. <respondtogridclicks type="boolean">false</respondtogridclicks>
  55. <setcustomwidth type="boolean">false</setcustomwidth>
  56. <custompaddingleft type="int">0</custompaddingleft>
  57. <custompaddingright type="int">0</custompaddingright>
  58. <customwidth type="int">1500</customwidth>
  59. <feature_devmode />
  60. <custompaddingtop type="int">0</custompaddingtop>
  61. <ogg type="string"></ogg>
  62. <defaultfontsize type="int">9</defaultfontsize>
  63. <AudioStatus type="boolean">false</AudioStatus>
  64. <colourblend type="boolean">false</colourblend>
  65. <showscore type="boolean">false</showscore>
  66. <turnoffsavebutton type="boolean">false</turnoffsavebutton>
  67. <customlocationbordercolour>Black</customlocationbordercolour>
  68. <menuforeground>LawnGreen</menuforeground>
  69. <menuhoverbackground>LawnGreen</menuhoverbackground>
  70. <IntroShown type="boolean">false</IntroShown>
  71. <GameStartAudio type="boolean">false</GameStartAudio>
  72. <start type="script">
  73. JS.uiHide ("#txtCommandDiv")
  74. JS.eval ("$('#customLocation').hide();")
  75. JS.panesVisible (false)
  76. playhtmlaudio ("intro theme.ogg")
  77. game.code = "" + GetRandomInt(1000, 9999)
  78. centerimage ("ansi intro screen.gif")
  79. centerimage ("enter button push.gif")
  80. wait {
  81. JS.panesVisible (true)
  82. // JS.uiShow ("#location")
  83. JS.eval ("$('#customLocation').show();")
  84. stophtmlaudio
  85. }
  86. </start>
  87. <roomenter type="script">
  88. </roomenter>
  89. <scopebackdrop type="script">
  90. </scopebackdrop>
  91. <inituserinterface type="script"><![CDATA[
  92. JS.uiHide ("#txtCommandDiv")
  93. JS.ShowGrid (0)
  94. JS.eval ("var el = document.getElementById('txtCommand');el.placeholder = ' ';var css = '::-webkit-input-placeholder {color: green;}' + ':-moz-placeholder {color: green;}' + '::-moz-placeholder {color: green;}' + ':-ms-input-placeholder {color: green;}' + '::placeholder {color: green;}';var style = document.createElement('style');style.type = 'text/css';style.innerHTML = css;el.appendChild(style);")
  95. text = "color:lawngreen;font-family:'" + game.defaultwebfont + "';font-size: 10px"
  96. savetext = "color:lawngreen;font-family:'" + game.defaultwebfont + "';font-size: 8px"
  97. background = "background:black"
  98. button = "padding:2px;background:black;border:ridge lawngreen 1px;border-radius: 9px;"
  99. JS.setCommands ("Map;Help;Room;Save")
  100. JS.setCss ("#verblinkmap", button + ";" + text)
  101. JS.setCss ("#verblinkhelp", button + ";" + text)
  102. JS.setCss ("#verblinkroom", button + ";" + text)
  103. JS.setCss ("#verblinksave", button + ";" + text)
  104. JS.setCustomStatus ("<BR>[Pills taken]: [" + player.pills + "/99]<BR><BR>")
  105. request (SetInterfaceString, "PlacesObjectsLabel=[Objects in Room]")
  106. request (SetInterfaceString, "CompassLabel=[Go Direction]")
  107. JS.setCss (".ui-accordion-header", "border:ridge lawngreen;" + background + ";" + text)
  108. JS.setCss (".ui-accordion-content", "border:ridge lawngreen;" + background + ";" + text)
  109. JS.eval ("$('head').append('<style>.ui-accordion-content .ui-button { " + text + " !important; " + button + " !important; }</style>');")
  110. JS.setCss (".accordion-header-text", text)
  111. JS.eval ("$('#gamePanes').width(280);")
  112. JS.setCss ("#cmdCompassU", "display:none")
  113. JS.setCss ("#cmdCompassD", "display:none")
  114. JS.setCss ("#cmdCompassIn", "display:none")
  115. JS.setCss ("#cmdCompassOut", "display:none")
  116. JS.setCss ("#compassAccordion", "width: 150px;border:ridge #000000 1px")
  117. JS.setInterfaceString ("ContinueLabel", "<span style='font-family: \"Press Start 2P\", cursive, Lucida Console, Monaco, monospace; font-size: 12pt; color: lawngreen;'>Press enter to continue...</span>")
  118. JS.eval ("var style = document.createElement('style'); style.textContent = \"li.ui-selected { background-color: lawngreen !important; color: black !important; font-weight: bold !important; font-size: 120% !important; }\"; document.head.appendChild(style);")
  119. JS.eval ("document.head.appendChild(document.createElement('style')).textContent = '.ui-button:active, .ui-icon:active { background-color: lawngreen !important; color: black !important; } .ui-button:active span, .ui-icon:active span { color: black !important; } .ui-button:focus, .ui-icon:focus { outline: none; color: black; }';")
  120. JS.eval ("document.head.appendChild(document.createElement('style')).textContent = '#commandPane:active { background-color: lawngreen !important; color: black !important; } #commandPane:focus { outline: none; color: black; }';")
  121. JS.eval ("$('head').append('<style>#customLocation { display: flex; justify-content: center; align-items: center; background-color: green; color: lawngreen; font-family: \"Press Start 2P\"; font-size: 10pt; text-align: center; line-height: normal; height: 100%; border: solid lawngreen; }</style>');")
  122. JS.eval ("var customBarHTML = '<table width=\"100%\" style=\"height: 100%;\"><tr style=\"height: 100%;\"><td id=\"customLocation\" style=\"display: flex; justify-content: center; align-items: center; height: 100%;\">Briarwood Hospital</td><td id=\"altlocation\" align=\"right\"></td></tr></table>'; $('#location').parent().html(customBarHTML);")
  123. JS.eval ("$('head').append('<style>.ui-button {padding: 2px !important;background: black !important;border: ridge lawngreen 1px !important;border-radius: 9px !important;}.ui-button span {color: lawngreen !important;font-family: \"" + game.defaultwebfont + "\" !important;font-size: 10px !important;}</style>')")
  124. // mouse pointer and link selector code
  125. cursor = GetFileURL("Normal pixelated green.cur")
  126. selectCursor = GetFileURL("Link Select.cur")
  127. JS.eval ("document.body.style.cursor = 'url(\"" + cursor + "\"), auto';")
  128. JS.eval ("document.body.addEventListener('mouseover', function(event) { if(event.target.tagName === 'A') { event.target.style.cursor = 'url(\"" + selectCursor + "\"), pointer'; } else { event.target.style.cursor = 'url(\"" + cursor + "\"), auto'; } }, true);")
  129. JS.eval ("var css = '*::-webkit-scrollbar { height: 10px; width: 10px !important; } *::-webkit-scrollbar-track { border-radius: 5px !important; background-color: #000000 !important; border: 2px solid #00F300 !important; } *::-webkit-scrollbar-thumb { border-radius: 5px !important; background-color: #00F300 !important; } *::-webkit-scrollbar-button { display: none !important; }'; var style = document.createElement('style'); style.type = 'text/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); } document.head.appendChild(style);")
  130. JS.eval ("$('.ui-icon').css('background-image', 'url(" + GetFileURL("ui-icons_02560_256x240.png") + ")')")
  131. ]]></inituserinterface>
  132. <giftest type="script">
  133. JS.set ("displayGif", 'var gifContainer=document.createElement("div");gifContainer.style.display="flex";gifContainer.style.justifyContent="center";gifContainer.style.alignItems="center";gifContainer.style.height="100vh";var gifImage=document.createElement("img");gifImage.src="https://i.imgur.com/jZAO6KK.gif";gifImage.width=854;gifImage.height=480;gifImage.style.objectFit="contain";var containerWrapper=document.createElement("div");containerWrapper.style.display="flex";containerWrapper.style.justifyContent="center";containerWrapper.style.alignItems="center";containerWrapper.style.width="100%";containerWrapper.style.height="100%";containerWrapper.appendChild(gifImage);gifContainer.appendChild(containerWrapper);document.body.innerHTML="";document.body.appendChild(gifContainer);')
  134. JS.run (JS.get("displayGif"))
  135. </giftest>
  136. <changedpov type="script">
  137. InitPOV (oldvalue, game.pov)
  138. </changedpov>
  139. </game>
  140. <command name="save">
  141. <pattern type="string">^save$</pattern>
  142. <script>
  143. if (HasAttribute(game, "questplatform")) {
  144. if (game.questplatform = "desktop") {
  145. request (RequestSave, "")
  146. }
  147. else {
  148. JS.saveGame ()
  149. }
  150. }
  151. else {
  152. request (RequestSave, "")
  153. }
  154. game.suppressturnscripts = true
  155. </script>
  156. </command>
  157. <object name="entry to a psychiatric ward">
  158. <inherit name="editor_room" />
  159. <isroom />
  160. <descprefix>You are in</descprefix>
  161. <objectslistprefix type="string"></objectslistprefix>
  162. <attr name="grid_label" type="string"></attr>
  163. <attr name="grid_fill">Black</attr>
  164. <attr name="grid_label_colour">LawnGreen</attr>
  165. <attr name="grid_border">LawnGreen</attr>
  166. <AudioIsPlaying type="boolean">false</AudioIsPlaying>
  167. <visited type="boolean">false</visited>
  168. <grid_render />
  169. <attr name="grid_parent_offset_x" type="int">0</attr>
  170. <attr name="grid_parent_offset_y" type="int">0</attr>
  171. <alias>Briarwood Hospital</alias>
  172. <dropdestination type="object">entry to a psychiatric ward</dropdestination>
  173. <description type="script"><![CDATA[
  174. firsttime {
  175. ClearScreen
  176. msg ("You have just awoken on the floor of a dimly lit hallway. You find yourself in Briarwood Hospital's psychiatric ward, but that's all you remember. The details of why you're here elude you, leaving you feeling nervous, paranoid, and ill at ease. As you glance around, you notice an eerie silence; no one seems to be nearby. The hallway is sparsely furnished, with a few ratty chairs lining the walls.. A bulletin board stands ahead, with a note tacked onto it that simply says, \"hello.\" There's more writing on the note, but from your current position, you can't read it. To the south is the exit leading out of the ward, tempting you to escape this uneasy place. To the north lies a hallway.<BR><BR>")
  177. picture ("entryway 1.jpg")
  178. }
  179. otherwise {
  180. ClearScreen
  181. msg ("You are in the Briarwood Hospital psychiatric ward. The hallway is sparsely furnished, with a few ratty chairs lining the walls. A bulletin board stands ahead with a note tacked onto it that says 'hello,' along with some smaller writing. To the south is the exit door for the ward, and to the north is a hallway.<BR>")
  182. picture ("entryway 1.jpg")
  183. }
  184. ]]></description>
  185. <beforefirstenter type="script">
  186. playhtmlaudio ("entry to a psych ward theme.ogg")
  187. </beforefirstenter>
  188. <beforeenter type="script">
  189. </beforeenter>
  190. <enter type="script">
  191. </enter>
  192. <firstenter type="script">
  193. </firstenter>
  194. <exit alias="south" to="entry section with unit door">
  195. <inherit name="southdirection" />
  196. <lockmessage>Y</lockmessage>
  197. <grid_render />
  198. </exit>
  199. <exit alias="north" to="entry to a psychiatric ward 2">
  200. <inherit name="northdirection" />
  201. <grid_render />
  202. </exit>
  203. <object name="bulletin board">
  204. <inherit name="editor_object" />
  205. <scenery />
  206. <look type="script">
  207. msg ("It's an average bulletin board, home to a thousand pushpin pricks, old staples, and pieces of tape. Pinned to the board is a note with \"hello\" scrawled in large letters.")
  208. </look>
  209. </object>
  210. <object name="note">
  211. <inherit name="editor_object" />
  212. <displayverbs type="stringlist">
  213. <value>Look at</value>
  214. </displayverbs>
  215. <look type="script"><![CDATA[
  216. ClearScreen
  217. msg ("You look at the note. It is a message from an unknown narrator, an uncertain being with an ambiguous presence. What the note's narrative portends is hard to determine, but it seems to suggest what this place promises to deliver: benefits for a painful price.<BR>")
  218. picture ("entry to psychiatric ward note.jpeg")
  219. msg ("<BR>")
  220. EnterToContinue
  221. ]]></look>
  222. </object>
  223. <object name="player">
  224. <inherit name="editor_object" />
  225. <inherit name="editor_player" />
  226. <attr name="feature_usegive" type="boolean">false</attr>
  227. <pills type="int">0</pills>
  228. <maxpills type="int">99</maxpills>
  229. <attr name="grid_fill">Green</attr>
  230. <SaveLocation type="object">entry to a psychiatric ward</SaveLocation>
  231. <look type="script">
  232. </look>
  233. </object>
  234. </object>
  235. <object name="entry section with unit door">
  236. <inherit name="editor_room" />
  237. <attr name="grid_label" type="string"></attr>
  238. <attr name="grid_fill">Black</attr>
  239. <attr name="grid_label_colour">LawnGreen</attr>
  240. <attr name="grid_border">LawnGreen</attr>
  241. <visited type="boolean">false</visited>
  242. <grid_render />
  243. <alias>Briarwood Hospital</alias>
  244. <description type="script"><![CDATA[
  245. ClearScreen
  246. if (unit door.locked = true) {
  247. JS.eval ("$('#txtCommand').val('');")
  248. msg ("You stand before the main door of the psychiatric unit. As you look at it, you feel like time is slipping away. To the left of the door, there is a keypad. To the north lies the entryway to the ward, beckoning you to explore further.<BR>")
  249. picture ("unit door-closed.jpg")
  250. }
  251. else if (unit door.locked = false) {
  252. JS.eval ("$('#txtCommand').val('');")
  253. msg ("You are standing at the main door of the psychiatric unit. Adjacent to the door is a keypad, and the door is open. To the north is a hallway. To the south, you see the entryway to the ward.<BR>")
  254. picture ("unit door-open.jpg")
  255. }
  256. ]]></description>
  257. <exit alias="north" to="entry to a psychiatric ward">
  258. <inherit name="northdirection" />
  259. <grid_render />
  260. </exit>
  261. <object name="keypad">
  262. <inherit name="editor_object" />
  263. <drop type="boolean">false</drop>
  264. <feature_usegive />
  265. <displayverbs type="stringlist">
  266. <value>Look at</value>
  267. <value>Use</value>
  268. </displayverbs>
  269. <inventoryverbs type="stringlist">
  270. <value>Look at</value>
  271. </inventoryverbs>
  272. <isroom />
  273. <used type="boolean">false</used>
  274. <look type="script"><![CDATA[
  275. ClearScreen
  276. msg ("It is an average looking keypad. If the correct code is entered, the door to the ward will open.<BR><BR><img src=\"https://i.imgur.com/mf7BQNQl.jpg\"><BR>")
  277. ]]></look>
  278. <use type="script"><![CDATA[
  279. if (keypad.used = true) {
  280. msg ("<BR>The door is open already...there's no point in using the keypad again.<BR>")
  281. }
  282. else {
  283. JS.panesVisible (false)
  284. JS.eval ("$('#txtCommand').val('');")
  285. JS.eval ("$(function () {var a=runCommand;runCommand=function(){sendCommand($(\"#txtCommand\").val());runCommand=a;};});")
  286. ClearScreen
  287. OutputTextNoBr ("Enter code:")
  288. get input {
  289. if (result = game.code) {
  290. ClearScreen
  291. JS.uiHide ("#txtCommandDiv")
  292. msg ("\"You enter the code onto the keypad, and the door opens automatically.<BR>")
  293. set (keypad, "used", true)
  294. UnlockExit (unit door)
  295. play sound ("unit door opening-loud.mp3", true, false)
  296. JS.uiShow ("#txtCommandDiv")
  297. wait {
  298. ClearScreen
  299. JS.panesVisible (true)
  300. ShowRoomDescription
  301. }
  302. }
  303. else {
  304. ClearScreen
  305. msg ("Invalid entry.<BR>")
  306. wait {
  307. ClearScreen
  308. JS.panesVisible (true)
  309. ShowRoomDescription
  310. }
  311. }
  312. }
  313. }
  314. ]]></use>
  315. </object>
  316. <exit name="unit door" alias="south" to="hallway 4">
  317. <inherit name="southdirection" />
  318. <locked />
  319. <lockmessage>That way is locked. You need a keycard to open it. The nurses always have it...if only you did too...</lockmessage>
  320. </exit>
  321. <object name="sign">
  322. <inherit name="editor_object" />
  323. <scenery />
  324. <look>The sign says that this is a restricted area.</look>
  325. <visible />
  326. <displayverbs type="stringlist">
  327. <value>Look at</value>
  328. </displayverbs>
  329. <inventoryverbs type="stringlist">
  330. <value>Look at</value>
  331. </inventoryverbs>
  332. <drop type="boolean">false</drop>
  333. </object>
  334. </object>
  335. <object name="hallway 4">
  336. <inherit name="editor_room" />
  337. <description type="string"></description>
  338. <attr name="grid_label" type="string"></attr>
  339. <attr name="grid_fill">Black</attr>
  340. <attr name="grid_label_colour">LawnGreen</attr>
  341. <attr name="grid_border">LawnGreen</attr>
  342. <visited type="boolean">false</visited>
  343. <attr name="grid_render" type="boolean">false</attr>
  344. <alias>Briarwood Hospital</alias>
  345. <exit alias="north" to="entry section with unit door">
  346. <inherit name="northdirection" />
  347. </exit>
  348. </object>
  349. <object name="entry to a psychiatric ward 2">
  350. <inherit name="editor_room" />
  351. <attr name="grid_fill">Black</attr>
  352. <attr name="grid_label_colour">LawnGreen</attr>
  353. <attr name="grid_border">LawnGreen</attr>
  354. <attr name="grid_label" type="string"></attr>
  355. <visited type="boolean">false</visited>
  356. <grid_render />
  357. <alias>Briarwood Hospital</alias>
  358. <description type="script"><![CDATA[
  359. ClearScreen
  360. msg ("You are in the second section of the psychiatric ward entryway. To the west through an open door is the kitchen. You hear the hum of the refrigerator coming from there. To the north is the nurse's station. To the south is the entryway. You hear the ticking of the clock in the hallway.<BR><BR><img src=\"https://i.imgur.com/iYI9iSel.jpg\"><BR>")
  361. ]]></description>
  362. <beforeenter type="script">
  363. </beforeenter>
  364. <enter type="script">
  365. </enter>
  366. <exit alias="south" to="entry to a psychiatric ward">
  367. <inherit name="southdirection" />
  368. <grid_render />
  369. </exit>
  370. <object name="clock">
  371. <inherit name="editor_object" />
  372. <displayverbs type="stringlist">
  373. <value>Look at</value>
  374. </displayverbs>
  375. <inventoryverbs type="stringlist">
  376. <value>Look at</value>
  377. </inventoryverbs>
  378. <drop type="boolean">false</drop>
  379. <look type="script"><![CDATA[
  380. ClearScreen
  381. w = GetRandomInt(1, 12)
  382. x = GetRandomInt(10,59)
  383. y = GetRandomInt(1,2)
  384. if (y = 1) {
  385. ClearScreen
  386. msg ("The clock is unremarkable. It looks like any old one you'd see in a hospital anywhere, though the reliability of the device is questionable. The time is " + w + ":" + x + " AM...plenty of time to limp along....<BR><BR><img src='https://i.imgur.com/iWd7Z2s.gif'><BR><BR>")
  387. wait {
  388. do (game.pov.parent, "description")
  389. }
  390. }
  391. else if (y = 2) {
  392. ClearScreen
  393. msg ("The clock is unremarkable. It looks like any old one you'd see in a hospital anywhere, though the reliability of the device is questionable. The time is " + w + ":" + x + " PM...plenty of time to limp along....<BR><BR><img src='https://i.imgur.com/iWd7Z2s.gif'><BR><BR>")
  394. wait {
  395. do (game.pov.parent, "description")
  396. }
  397. }
  398. ]]></look>
  399. </object>
  400. <exit alias="west" to="kitchen">
  401. <inherit name="westdirection" />
  402. <grid_render />
  403. </exit>
  404. <exit alias="north" to="nurses station with hallway junction">
  405. <inherit name="northdirection" />
  406. <grid_render />
  407. </exit>
  408. <object name="sign1">
  409. <inherit name="editor_object" />
  410. <alias>sign</alias>
  411. <look type="script"><![CDATA[
  412. ClearScreen
  413. msg ("You take a closer look at the sign. You think that the sign, while perhaps being a safety warning, is a proper metaphor for your need to get out of this hospital.<BR><img src=\"https://i.imgur.com/RgStIgqm.jpg\">")
  414. ]]></look>
  415. </object>
  416. </object>
  417. <object name="kitchen">
  418. <inherit name="editor_room" />
  419. <attr name="grid_label" type="string"></attr>
  420. <attr name="grid_fill">Black</attr>
  421. <attr name="grid_label_colour">LawnGreen</attr>
  422. <attr name="grid_border">LawnGreen</attr>
  423. <visited type="boolean">false</visited>
  424. <grid_render />
  425. <alias>Briarwood Hospital</alias>
  426. <description type="script"><![CDATA[
  427. ClearScreen
  428. msg ("You are in an old kitchen. It is relatively clean, and a refrigerator emits a low hum. In the center stands a long table, where you see a tape player and a clipboard with a piece of paper clipped to it. A handful of chairs line the table. To the west is the first section of the hospital hallway, and to the south, you find the TV lounge.<BR><BR><img src=\"https://i.imgur.com/RB7gSR4.jpg\"><BR>")
  429. if (refrigerator.isopen) {
  430. ClearScreen
  431. msg ("You are in an old kitchen that is relatively clean. A refrigerator emits a low hum and inside it is a Dictaphone microcassette recorder. In the center of the room stands a long table, featuring a tape player and a clipboard with a piece of paper clipped to it. A handful of chairs line the table. To the west, you see the first section of the hospital hallway, and to the south lies the TV lounge.<BR><BR><img src=\"https://i.imgur.com/rTvGrzTl.jpg\"><BR>")
  432. }
  433. else {
  434. ClearScreen
  435. msg ("You are in an old kitchen. It is relatively clean, and a refrigerator emits a low hum. In the center stands a long table, where you see a tape player and a clipboard with a piece of paper clipped to it. A handful of chairs line the table. To the west is the first section of the hospital hallway, and to the south, you find the TV lounge.<BR><BR><img src=\"https://i.imgur.com/RB7gSR4.jpg\"><BR>")
  436. }
  437. ]]></description>
  438. <beforeenter type="script">
  439. </beforeenter>
  440. <firstenter type="script">
  441. playhtmlaudio ("entry to a psych ward music.ogg")
  442. </firstenter>
  443. <exit alias="east" to="entry to a psychiatric ward 2">
  444. <inherit name="eastdirection" />
  445. <grid_render />
  446. </exit>
  447. <object name="refrigerator">
  448. <inherit name="editor_object" />
  449. <inherit name="openable" />
  450. <displayverbs type="stringlist">
  451. <value>Look at</value>
  452. <value>Open</value>
  453. </displayverbs>
  454. <inventoryverbs type="stringlist" />
  455. <drop type="boolean">false</drop>
  456. <feature_container />
  457. <isroom type="boolean">false</isroom>
  458. <scenery type="boolean">false</scenery>
  459. <take type="boolean">false</take>
  460. <look type="script">
  461. if (not refrigerator.isopen) {
  462. ClearScreen
  463. msg ("You see an average refrigerator...shrouded in darkness. You feel a deep sense of unease, as if its countenance finds solace inside your inner core. That is, its aura is already a part of you.")
  464. picture ("refrigerator.jpg")
  465. EnterToContinue
  466. }
  467. else if (not Contains (refrigerator,audio tape)) {
  468. ClearScreen
  469. msg ("Now that it no longer contains the tape it was meant to give you, which was its purpose in being, it now serves no purpose at all. Thus, it is ruined. But isn't everything? Eventually at least.")
  470. picture ("refrigerator broken.jpg")
  471. EnterToContinue
  472. }
  473. else if (refrigerator.isopen) {
  474. ClearScreen
  475. msg ("You open the refrigerator and see two pieces of fruit, a note inside, and a cassette tape. Undoubtedly, there is something of importance to hear on the tape. Let it speak to you.")
  476. picture ("refrigerator interior.jpg")
  477. EnterToContinue
  478. }
  479. </look>
  480. <openscript type="script">
  481. ClearScreen
  482. HelperOpenObject (refrigerator)
  483. msg ("You open the refrigerator and see two pieces of fruit, a note inside, and a cassette tape. Undoubtedly, there is something of importance to hear on the tape. Let it speak to you.")
  484. picture ("refrigerator interior.jpg")
  485. EnterToContinue
  486. </openscript>
  487. <closescript type="script">
  488. msg ("The refrigerator door emits a grating squeak as you close it.")
  489. HelperCloseObject (refrigerator)
  490. </closescript>
  491. <object name="audio tape">
  492. <inherit name="editor_object" />
  493. <inherit name="container_open" />
  494. <take />
  495. <feature_usegive />
  496. <usemenuprompt>tape player</usemenuprompt>
  497. <drop type="boolean">false</drop>
  498. <insert>You must use this on something.</insert>
  499. <put>You must use this on something.</put>
  500. <attr name="feature_container" type="boolean">false</attr>
  501. <displayverbs type="stringlist">
  502. <value>Look at</value>
  503. <value>Take</value>
  504. </displayverbs>
  505. <takemsg>You pick up the tape, and its secrets.</takemsg>
  506. <inventoryverbs type="stringlist">
  507. <value>Look at</value>
  508. <value>Insert into tape player</value>
  509. </inventoryverbs>
  510. <look type="script"><![CDATA[
  511. if (Got(audio tape)) {
  512. ClearScreen
  513. PrintCentered ("The tape is in your hand, ready to be heard, but you need something to articulate its voice.")
  514. EnterToContinue
  515. }
  516. else {
  517. ClearScreen
  518. msg ("It appears to be a standard consumer-grade audio tape. Based on the label, one might guess that the tape contains some kind of message. However, the title is ambiguous enough that it's hard to imagine what the message might contain.<br/><BR><BR>")
  519. picture ("audio tape cu.jpg")
  520. EnterToContinue
  521. }
  522. ]]></look>
  523. <use type="script">
  524. msg ("A tape isn't of much use without something to play it on.")
  525. </use>
  526. <insertintotapeplayer type="script"><![CDATA[
  527. MoveObject (audio tape, tape player)
  528. HelperCloseObject (tape player)
  529. msg ("You insert the audio tape into the tape player.<BR>")
  530. ]]></insertintotapeplayer>
  531. <selfuseon type="scriptdictionary">
  532. <item key="tape player"><![CDATA[
  533. ClearScreen
  534. msg ("You put the audio tape into the tape player and hit play...<BR>")
  535. picture ("tape playing.gif")
  536. msg ("<BR>")
  537. TextFX_Typewriter ("<BR><BR>Listen to this message that I have for you, and only you. I exist only for the weary and the wounded. The vibrations of my voice will create for you the freedom that you crave. I am the antidote to your fears. Take the offering that I manifest for you here and in every room. The gift is of my body. I will continue to give you the restoration that you seek, if only you will continue to listen to my story. No one is here but me...I am your new dawn.", 55)
  538. play sound ("kitchen-tape.mp3", true, false)
  539. msg ("<BR>")
  540. play sound ("pill-manifestation.mp3", false, false)
  541. TextFX_Unscramble ("A pill of Clozapine materializes on the table.", 75, 1)
  542. MakeObjectVisible (clozapine)
  543. ]]></item>
  544. </selfuseon>
  545. </object>
  546. </object>
  547. <object name="tape player">
  548. <inherit name="editor_object" />
  549. <inherit name="container_open" />
  550. <drop type="boolean">false</drop>
  551. <take />
  552. <feature_container />
  553. <displayverbs type="stringlist">
  554. <value>Look at</value>
  555. </displayverbs>
  556. <open />
  557. <inventoryverbs type="stringlist">
  558. <value>Look at</value>
  559. <value>Press play</value>
  560. </inventoryverbs>
  561. <close />
  562. <isopen />
  563. <takemsg>You pick up the tape player, and slide it into your pocket.</takemsg>
  564. <listchildren type="boolean">false</listchildren>
  565. <look type="script"><![CDATA[
  566. if (Got(tape player)) {
  567. ClearScreen
  568. PrintCentered ("The tape player sits in your pocket, waiting to be awoken from its energized slumber. Whenever you need to listen, it can speak in the voices of others. You suspect that its batteries will never die, just like everything in this place. You can't see anything ever dying here.")
  569. EnterToContinue
  570. }
  571. else {
  572. ClearScreen
  573. msg ("The tape player appears ordinary and unassuming, yet it emits a cognitive resonance that captivates the mind. Whether it was used yesterday or a thousand years ago is unknown, but it seems to be in working order. Play a tape to find out.<BR><BR>")
  574. picture ("tape player.jpg")
  575. }
  576. ]]></look>
  577. <playtape type="script"><![CDATA[
  578. if (Contains (tape player,audio tape)) {
  579. JS.panesVisible (false)
  580. ClearScreen
  581. msg ("You put the audio tape into the tape player and hit play...<BR>")
  582. EnterToContinueImage
  583. wait {
  584. ClearScreen
  585. TextFX_Typewriter ("<BR><BR>Listen to this message that I have for you, and only you. I exist only for the weary and the wounded. The vibrations of my voice will create for you the freedom that you crave. I am the antidote to your fears. Take the offering that I manifest for you here and in every room. The gift is of my body. I will continue to give you the restoration that you seek, if only you will continue to listen to my story. No one is here but me...I am your new dawn.", 55)
  586. play sound ("kitchen vo.mp3", true, false)
  587. msg ("<BR>")
  588. JS.uiShow ("#txtCommandDiv")
  589. wait {
  590. JS.uiHide ("#txtCommandDiv")
  591. ClearScreen
  592. JS.panesVisible (true)
  593. TextFX_Unscramble ("A pill of Clozapine materializes on the table.", 50, 1)
  594. play sound ("pill manifestation.mp3", true, false)
  595. MakeObjectVisible (clozapine)
  596. JS.uiShow ("#txtCommandDiv")
  597. }
  598. }
  599. }
  600. else {
  601. ClearScreen
  602. msg ("There is no tape in the tape player. You can't play thin air.<BR>")
  603. EnterToContinue
  604. }
  605. ]]></playtape>
  606. </object>
  607. <object name="clozapine">
  608. <inherit name="editor_object" />
  609. <visible type="boolean">false</visible>
  610. <attr name="feature_edible" type="boolean">false</attr>
  611. <drop type="boolean">false</drop>
  612. <displayverbs type="stringlist">
  613. <value>Look at</value>
  614. <value>Swallow</value>
  615. </displayverbs>
  616. <inventoryverbs type="stringlist">
  617. <value>Look at</value>
  618. <value>Drop</value>
  619. <value>Swallow</value>
  620. </inventoryverbs>
  621. <look><![CDATA[{img:clozapine.jpeg}<br/><br/>It's a small yellow pill with the number 100 stamped to it. It's called Clozapine, and it's one of the antipsychotic medications you take. Clozapine is classified as an atypical antipsychotic drug because it binds to serotonin as well as dopamine receptors. Clozapine is an antagonist at the 5-HT2A subunit of the serotonin receptor, putatively improving depression, anxiety, and the negative cognitive symptoms associated with schizophrenia.]]></look>
  622. <takemsg>You pick up the pill and slip it into your pocket.</takemsg>
  623. <dropmsg>You take the pill out of your pocket and drop it on the floor.</dropmsg>
  624. <not_all />
  625. <take type="script"><![CDATA[
  626. MakeObjectInvisible (clozapine)
  627. msg ("<BR>You swallow the pill and feel a building sense of reality and relief.<BR>")
  628. play sound ("pill-taking-sound.mp3", false, false)
  629. IncreaseObjectCounter (player, "pills")
  630. ]]></take>
  631. <swallow type="script"><![CDATA[
  632. pilltake
  633. MakeObjectInvisible (clozapine)
  634. ClearScreen
  635. play sound ("pill taking sound-high.mp3", false, false)
  636. msg ("<BR>You swallow the pill and feel a building sense of reality and relief.<BR>")
  637. ]]></swallow>
  638. </object>
  639. <exit alias="south" to="TV room">
  640. <inherit name="southdirection" />
  641. <grid_render />
  642. </exit>
  643. <object name="clipboard">
  644. <inherit name="editor_object" />
  645. <displayverbs type="stringlist">
  646. <value>Look at</value>
  647. </displayverbs>
  648. <inventoryverbs type="stringlist">
  649. <value>Look at</value>
  650. </inventoryverbs>
  651. <drop type="boolean">false</drop>
  652. <takemsg>There's no need to take that...</takemsg>
  653. <look type="script"><![CDATA[
  654. ClearScreen
  655. msg ("<img src=\"https://i.imgur.com/gxl5PmMl.jpg\"><BR>")
  656. ]]></look>
  657. </object>
  658. <object name="fruit">
  659. <inherit name="editor_object" />
  660. <look>The fruit is perplexing: two apples, one rotten and one fresh.</look>
  661. <scenery />
  662. </object>
  663. </object>
  664. <object name="storage">
  665. <inherit name="editor_room" />
  666. <attr name="grid_fill">Black</attr>
  667. <attr name="grid_label_colour">LawnGreen</attr>
  668. <attr name="grid_border">LawnGreen</attr>
  669. <alias>Briarwood Hospital</alias>
  670. <object name="throne room flag">
  671. <inherit name="editor_object" />
  672. </object>
  673. </object>
  674. <object name="TV room">
  675. <inherit name="editor_room" />
  676. <attr name="grid_label" type="string"></attr>
  677. <attr name="grid_fill">Black</attr>
  678. <attr name="grid_label_colour">LawnGreen</attr>
  679. <attr name="grid_border">LawnGreen</attr>
  680. <visited type="boolean">false</visited>
  681. <grid_render />
  682. <alias>Briarwood Hospital</alias>
  683. <dropdestination type="object">TV room</dropdestination>
  684. <description type="script"><![CDATA[
  685. ClearScreen
  686. msg ("You are in the TV room, which also serves as a group therapy room. A plethora of chairs are strewn about, facing in random directions. An old-fashioned TV sits in the corner of the room, displaying only static on its screen. On the wall hangs an unsettling picture of two wolves attacking each other, adding a sense of contained menace to the space. To the north, you see the entrance to the kitchen.<BR><BR><img src=\"https://i.imgur.com/XWnBIlsl.jpg\">")
  687. ]]></description>
  688. <exit alias="north" to="kitchen">
  689. <inherit name="northdirection" />
  690. <grid_render />
  691. </exit>
  692. <object name="television">
  693. <inherit name="editor_object" />
  694. <displayverbs type="stringlist">
  695. <value>Look at</value>
  696. <value>Use</value>
  697. </displayverbs>
  698. <inventoryverbs type="stringlist">
  699. <value>Look at</value>
  700. </inventoryverbs>
  701. <drop type="boolean">false</drop>
  702. <feature_switchable />
  703. <feature_usegive />
  704. <look type="script"><![CDATA[
  705. ClearScreen
  706. msg ("This appears to be a fairly old television, complete with dials and a woodgrain finish. It's turned on but is only showing static.<BR><BR><img src=\"https://i.imgur.com/zEDgoWjl.jpg\">")
  707. ]]></look>
  708. <use type="script"><![CDATA[
  709. if (GetBoolean(television, "used")) {
  710. msg ("You manipulate the dials on the television, but unlike before, you are unable to find a working channel.")
  711. }
  712. else {
  713. ClearScreen
  714. JS.uiHide ("#txtCommandDiv")
  715. msg ("You begin to fiddle with the channel knobs on the TV, but each channel shows nothing but static. Suddenly, one of the channels you arrive at begins to emit a voice.<BR<BR>")
  716. SetTimeout (6) {
  717. msg ("<img src=\"https://i.imgur.com/g92lkCp.gif\"><BR><BR>")
  718. TextFX_Typewriter ("Look into my bones and discover who you really are. When you first arrived here, I knew why you had come. Maybe I'll let you know why you're here a little later. There's a difference between let and tell. Tell is not restrictive. Someone decides to tell you and then you know, it was never yours and never will be. With let you are being given permission to take something. If you reject my offerings, then escape is not possible. You'll never get out of here. I'll keep talking to you as you go along, reminding you that I'm here and that your total healing lies with me. ", 55)
  719. play sound ("book-talking-audio.mp3", true, false)
  720. msg ("<BR>")
  721. play sound ("pill-manifestation.mp3", false, false)
  722. TextFX_Unscramble ("A pill of Trilafon materializes on the ground.", 75, 1)
  723. MakeObjectVisible (trilafon)
  724. SetObjectFlagOn (television, "used")
  725. JS.uiShow ("#txtCommandDiv")
  726. }
  727. }
  728. ]]></use>
  729. </object>
  730. </object>
  731. <object name="bookcase room">
  732. <inherit name="editor_room" />
  733. <attr name="grid_label" type="string"></attr>
  734. <attr name="grid_fill">Black</attr>
  735. <attr name="grid_label_colour">LawnGreen</attr>
  736. <attr name="grid_border">LawnGreen</attr>
  737. <alias>Briarwood Hospital</alias>
  738. <dropdestination type="object">bookcase room</dropdestination>
  739. <description type="script"><![CDATA[
  740. firsttime {
  741. ClearScreen
  742. play sound ("breeze.mp3", false, false)
  743. msg ("You find yourself in a small room. Books are the building materials that this room is made of: books not made for reading. A paperback lies at your feet. Its cover and pages are in bad shape from repeated readings. It has been waiting for you. There is a breeze in the room even though there are no windows or ventilation that you can see. You wonder both where this room is and if there is anything outside at all.<BR><BR>")
  744. picture ("bookcase room2.jpg")
  745. }
  746. otherwise {
  747. if (Got(book)) {
  748. ClearScreen
  749. msg ("You find yourself in a small room. Books are the building materials that this room is made of: books not made for reading. There is a breeze in the room even though there are no windows or ventilation that you can see. ")
  750. picture ("bookcase room2.jpg")
  751. }
  752. else if (not Got(book)) {
  753. ClearScreen
  754. msg ("You find yourself in a small room. Books are the building materials that this room is made of: books not made for reading, A paperback lies at your feet. Its cover and pages are in bad shape from repeated readings. It has been waiting for you. There is a breeze in the room even though there is no discernable outside, windows, or ventilation.")
  755. picture ("bookcase room2.jpg")
  756. }
  757. }
  758. ]]></description>
  759. <object name="book">
  760. <inherit name="editor_object" />
  761. <feature_usegive />
  762. <take />
  763. <read>You need to use the book in order to read it.</read>
  764. <usestandardverblist />
  765. <look type="script"><![CDATA[
  766. if (Got(book)) {
  767. picture ("book cu.jpg")
  768. msg ("<BR>You are holding the book...it's begging to be read.<BR><BR>")
  769. }
  770. else if (not Got(book)) {
  771. picture ("book on floor.jpg")
  772. msg ("<BR>The book is at your feet, next to a couple of burning candles. It looks highly used, and has a small illustration on the cover. Its title reads 'Briarwood Hospital Patient Handbook.'<BR><BR>")
  773. }
  774. ]]></look>
  775. <use type="script"><![CDATA[
  776. ClearScreen
  777. picture ("book look at.jpg")
  778. msg ("<BR>You open the book and hear a voice...<BR><BR>")
  779. TextFX_Typewriter ("Look into my bones and discover who you really are. When you first arrived here, I knew why you had come. Maybe I'll let you know why you're here a little later. There's a difference between let and tell. Tell is not restrictive. Someone decides to tell you and then you know, it was never yours and never will be. With let you are being given permission to take something. If you reject my offerings, then escape is not possible. You'll never get out of here. I'll keep talking to you as you go along, reminding you that I'm here and that your total healing lies with me. ", 55)
  780. play sound ("book-talking-audio.mp3", true, false)
  781. msg ("<BR>")
  782. play sound ("pill-manifestation.mp3", false, false)
  783. TextFX_Unscramble ("A pill of Trilafon materializes on the table.", 75, 1)
  784. MakeObjectVisible (trilafon)
  785. ]]></use>
  786. </object>
  787. <object name="trilafon">
  788. <inherit name="editor_object" />
  789. <attr name="feature_edible" type="boolean">false</attr>
  790. <visible type="boolean">false</visible>
  791. <look><![CDATA[{img:trilafon.jpg}<br/><br/>This medication is used to treat certain mental/mood disorders (such as schizophrenia, manic phase of bipolar disorder, schizoaffective disorder). This medicine helps you to think more clearly, feel less nervous, and take part in everyday life. It can reduce aggressive behavior and the desire to hurt yourself/others. It may also help to decrease hallucinations (such as hearing/seeing things that are not there). Perphenazine is a psychiatric medication (antipsychotic-type) that works by helping to restore the balance of certain natural substances (such as dopamine) in the brain.]]></look>
  792. <take />
  793. <useindividualverblist type="boolean">false</useindividualverblist>
  794. <displayverbs type="stringlist">
  795. <value>Look at</value>
  796. <value>Take</value>
  797. <value>Swallow</value>
  798. </displayverbs>
  799. <usestandardverblist />
  800. <inventoryverbs type="stringlist">
  801. <value>Look at</value>
  802. <value>Drop</value>
  803. <value>Swallow</value>
  804. </inventoryverbs>
  805. <takemsg>You pick up the pill, and hold it in your hand while you gaze at it.</takemsg>
  806. <swallow type="script">
  807. play sound ("pill-taking-sound.mp3", false, false)
  808. TextFX_Unscramble ("You swallow the Trilfon and experience greater quiet in your mind. And you are transported back to the TV room...", 100, 10)
  809. wait {
  810. SetObjectFlagOn (trilafon, "swallowec")
  811. MakeObjectInvisible (trilafon)
  812. play sound ("teleport-sound.mp3", false, false)
  813. MoveObject (book, storage)
  814. MoveObject (player, TV room)
  815. }
  816. </swallow>
  817. </object>
  818. </object>
  819. <verb>
  820. <property>swallow</property>
  821. <pattern>swallow</pattern>
  822. <defaultexpression>"You can't swallow " + object.article + "."</defaultexpression>
  823. </verb>
  824. <object name="nurses station with hallway junction">
  825. <inherit name="editor_room" />
  826. <attr name="grid_label" type="string"></attr>
  827. <attr name="grid_fill">Black</attr>
  828. <attr name="grid_label_colour">LawnGreen</attr>
  829. <attr name="grid_border">LawnGreen</attr>
  830. <visited type="boolean">false</visited>
  831. <grid_render />
  832. <alias>Briarwood Hospital</alias>
  833. <description type="script"><![CDATA[
  834. if (GetBoolean(diagram, "lookedat")) {
  835. ClearScreen
  836. stop sound
  837. msg ("You are at the nurses' station. It's composed of a desk with random office supplies scattered about upon it, seeming like someone just dropped everything and left in a hurry. The diagram you looked at is still lying there. A couple of office chairs are pushed against the desktop. To the right of the desk there is a sign. There is a door to the north that opens to the interior of the nurses' station, where many important items are kept. To the east and west are two hallways. To the south is the hallway by the kitchen.<BR><BR>")
  838. picture ("nurses station.jpg")
  839. }
  840. else if (not GetBoolean(diagram, "lookedat")) {
  841. ClearScreen
  842. stop sound
  843. msg ("You are at the nurses' station. It's composed of a desk with random office supplies scattered about upon it, seeming like someone just dropped everything and left in a hurry. There is a diagram on the desk that catches your eye...its subject matter and style appear peculiar, like it doesn't belong in its present context. A couple of office chairs are pushed against the desktop. There is a sign to the right of the desk, and also behind the desk is the door to the inside of the nurses' station, where important items are kept. To the east and west are two hallways. To the south is the hallway by the kitchen.<BR><BR>")
  844. picture ("nurses station.jpg")
  845. }
  846. ]]></description>
  847. <object name="diagram">
  848. <inherit name="editor_object" />
  849. <drop type="boolean">false</drop>
  850. <displayverbs type="stringlist">
  851. <value>Look at</value>
  852. </displayverbs>
  853. <inventoryverbs type="stringlist">
  854. <value>Look at</value>
  855. </inventoryverbs>
  856. <look type="script"><![CDATA[
  857. firsttime {
  858. ClearScreen
  859. picture ("erics drawing-tv surveillance.jpg")
  860. msg ("<BR>You see the picture, and hear it speak to you...<BR><BR>")
  861. TextFX_Typewriter ("I know more than you know. What you see here is how, I, see. But the question really is, how many do I see? What are they, really? Are they kind...? Are they evil...? The point is that when they come here, their true purpose is to find, and undo, the curse that has rendered them alone in the universe. More importantly, however, is that I see every aspect of their transformations. I see, and I control. Don't ever forget that. And also, don't ever forget that behind a door, the key to my death, might manifest.", 55)
  862. play sound ("eric-drawing-narration.mp3", true, false)
  863. SetObjectFlagOn (diagram, "lookedat")
  864. msg ("<BR>")
  865. play sound ("pill-manifestation.mp3", false, false)
  866. TextFX_Unscramble ("A pill of Loxapine materializes on the counter.", 75, 1)
  867. MakeObjectVisible (loxapine)
  868. }
  869. otherwise {
  870. ClearScreen
  871. picture ("erics drawing-tv surveillance.jpg")
  872. msg ("<BR>You look at the drawing, but it no longer speaks to you.")
  873. }
  874. ]]></look>
  875. </object>
  876. <object name="loxapine">
  877. <inherit name="editor_object" />
  878. <visible type="boolean">false</visible>
  879. <look><![CDATA[{img:loxapine image.jpg}<br/><br/>Loxapine is used to treat the symptoms of schizophrenia (a mental illness that causes disturbed or unusual thinking, loss of interest in life, and strong or inappropriate emotions). Loxapine is in a group of medications called conventional antipsychotics. It works by decreasing abnormal excitement in the brain.]]></look>
  880. <attr name="feature_edible" type="boolean">false</attr>
  881. <displayverbs type="stringlist">
  882. <value>Look at</value>
  883. <value>Take</value>
  884. <value>Swallow</value>
  885. </displayverbs>
  886. <inventoryverbs type="stringlist">
  887. <value>Look at</value>
  888. <value>Drop</value>
  889. <value>Swallow</value>
  890. </inventoryverbs>
  891. <swallow type="script"><![CDATA[
  892. play sound ("pill-taking-sound.mp3", false, false)
  893. msg ("You swallow the Loxapine and feel the aura of your suffering decrease slightly.<BR>")
  894. MakeObjectInvisible (loxapine)
  895. SetObjectFlagOn (loxapine, "swallowed")
  896. ]]></swallow>
  897. </object>
  898. <exit alias="south" to="entry to a psychiatric ward 2">
  899. <inherit name="southdirection" />
  900. <grid_render />
  901. </exit>
  902. <exit alias="northwest" to="inside of nurses station">
  903. <inherit name="northdirection" />
  904. <runscript type="boolean">false</runscript>
  905. <locked />
  906. <scenery type="boolean">false</scenery>
  907. <grid_render />
  908. <lockmessage>The door to the nurse's station is locked. A sign on the door reads: "Unmedicated patients will be denied entry."</lockmessage>
  909. <script type="script">
  910. </script>
  911. </exit>
  912. <object name="desk">
  913. <inherit name="editor_object" />
  914. <scenery />
  915. <look>The desk is large and affixed to the floor, like one in any doctor's office. It has a couple of office chairs up against it, presumably for nurses to sit on...whenever the ward last had nurse's. It also has an elevated countertop where patients could fill out paperwork, be handed medication to take, etc. The desk in front of the office chairs has various office supplies strewn about upon it, along with a diagram on a piece of paper.</look>
  916. </object>
  917. <object name="office chairs">
  918. <inherit name="editor_object" />
  919. <look>These are a couple of ratty old office chairs; highly used. You can imagine various staff sitting there for countless hours, scraping away the bones of their hands filling out infinite paperwork. In your mind, you can see them sitting there for thousands of years, each generation of nurses dying and being replaced, all to the purpose of minding the patients, scribbling out their paperwork, and scanning their little vacuum packs of pills.</look>
  920. <scenery />
  921. </object>
  922. <exit alias="north" to="quadrangle 1">
  923. <inherit name="eastdirection" />
  924. <grid_render />
  925. </exit>
  926. </object>
  927. <object name="inside of nurses station">
  928. <inherit name="editor_room" />
  929. <attr name="grid_label" type="string"></attr>
  930. <attr name="grid_fill">Black</attr>
  931. <attr name="grid_label_colour">LawnGreen</attr>
  932. <attr name="grid_border">LawnGreen</attr>
  933. <visited type="boolean">false</visited>
  934. <grid_render />
  935. <alias>Briarwood Hospital</alias>
  936. <exit alias="southeast" to="nurses station with hallway junction">
  937. <inherit name="northeastdirection" />
  938. <grid_render />
  939. </exit>
  940. </object>
  941. <object name="quadrangle 1">
  942. <inherit name="editor_room" />
  943. <attr name="grid_label" type="string"></attr>
  944. <attr name="grid_fill">Black</attr>
  945. <attr name="grid_label_colour">LawnGreen</attr>
  946. <attr name="grid_border">LawnGreen</attr>
  947. <visited type="boolean">false</visited>
  948. <grid_render />
  949. <alias>Briarwood Hospital</alias>
  950. <description type="script"><![CDATA[
  951. firsttime {
  952. ClearScreen
  953. msg ("You are in one section of the hallway. You hear a droning sound in your mind, or is it real? In front of you you see a poster tacked to the wall that is more peculiar than your average one, along with a fire extinguisher. There is a piece of strange art to your side. To your other side are a drinking fountain and a fire axe that's mounted on the wall. To the east is the nurse's station, and to the north is the next section of hallway with the patient bedrooms.<BR><BR>")
  954. picture ("quadrangle 1.jpg")
  955. msg ("<BR>")
  956. play sound ("black hole sound.mp3", false, false)
  957. }
  958. otherwise {
  959. ClearScreen
  960. msg ("You are in one section of the hallway. In front of you you see a poster tacked to the wall that seems more peculiar than your average one, along with a fire extinguisher. There is a piece of art to your side. While initially dismissing it as just some stock art you'd see in any hospital or hotel room, from the corner of your eye it looks like it may be more than that. To your other side are a drinking fountain and a fire axe that's mounted on the wall. To the east is the nurse's station, and to the north is the next section of hallway with the patient bedrooms.<BR><BR>")
  961. picture ("quadrangle 1.jpg")
  962. msg ("<BR>")
  963. }
  964. ]]></description>
  965. <exit alias="south" to="nurses station with hallway junction">
  966. <inherit name="westdirection" />
  967. <grid_render />
  968. </exit>
  969. <object name="poster">
  970. <inherit name="editor_object" />
  971. <displayverbs type="stringlist">
  972. <value>Look at</value>
  973. </displayverbs>
  974. <takemsg>The poster is glued to the wall, so you can't take it.</takemsg>
  975. <scenery type="boolean">false</scenery>
  976. <inventoryverbs type="stringlist">
  977. <value>Look at</value>
  978. </inventoryverbs>
  979. <drop type="boolean">false</drop>
  980. <look type="script"><![CDATA[
  981. firsttime {
  982. ClearScreen
  983. msg ("What a strange poster. Why would the staff of the ward tack this to the wall? You feel as if it is trying to convey a cryptic message to you.<BR><BR>")
  984. picture ("poster with heads.jpg")
  985. }
  986. otherwise {
  987. ClearScreen
  988. msg ("You contemplate the unusual artwork...<BR><BR>")
  989. picture ("poster with heads.jpg")
  990. }
  991. ]]></look>
  992. </object>
  993. <object name="fire axe">
  994. <inherit name="editor_object" />
  995. <isroom type="boolean">false</isroom>
  996. <scenery />
  997. <displayverbs type="stringlist">
  998. <value>Look at</value>
  999. </displayverbs>
  1000. <inventoryverbs type="stringlist">
  1001. <value>Look at</value>
  1002. </inventoryverbs>
  1003. <drop type="boolean">false</drop>
  1004. <takemsg>There is no need to take the axe.</takemsg>
  1005. <feature_usegive />
  1006. <look type="script">
  1007. msg ("It is an average looking fire axe, intended to be used during a fire of course.")
  1008. </look>
  1009. <use type="script">
  1010. msg ("There is no need to use the fire axe. After all, there is no fire.")
  1011. </use>
  1012. </object>
  1013. <object name="art">
  1014. <inherit name="editor_object" />
  1015. <scenery type="boolean">false</scenery>
  1016. <displayverbs type="stringlist">
  1017. <value>Look at</value>
  1018. </displayverbs>
  1019. <inventoryverbs type="stringlist">
  1020. <value>Look at</value>
  1021. </inventoryverbs>
  1022. <drop type="boolean">false</drop>
  1023. <takemsg>You can't take the artwork without severely damaging it, since it is firmly connected to the wall.</takemsg>
  1024. <look type="script"><![CDATA[
  1025. firsttime {
  1026. ClearScreen
  1027. msg ("As you contemplate the unusual artwork, your head begins to ache. What would this kind of art be doing in a hospital psychiatric unit, you wonder. Does its image have anything to do with you peculiar situation?<BR>")
  1028. picture ("woman on tv in hallway in frame.jpg")
  1029. }
  1030. otherwise {
  1031. ClearScreen
  1032. msg ("You contemplate the unusual artwork.<BR>")
  1033. picture ("woman on tv in hallway in frame.jpg")
  1034. }
  1035. ]]></look>
  1036. </object>
  1037. <exit alias="north" to="quadrangle 2">
  1038. <inherit name="northdirection" />
  1039. <grid_render />
  1040. </exit>
  1041. <object name="drinking fountain">
  1042. <inherit name="editor_object" />
  1043. <look>The drinking fountain looks like any old one you'd see anywhere. It is noticeably old and corroded.</look>
  1044. <scenery />
  1045. <displayverbs type="stringlist">
  1046. <value>Look at</value>
  1047. </displayverbs>
  1048. <inventoryverbs type="stringlist">
  1049. <value>Look at</value>
  1050. </inventoryverbs>
  1051. <drop type="boolean">false</drop>
  1052. <feature_usegive />
  1053. <takemsg>The drinking fountain is connecated to the wall, and so cannot be taken.</takemsg>
  1054. <use type="script">
  1055. msg ("You attempt to use the drinking fountain, but it is inoperable.")
  1056. </use>
  1057. </object>
  1058. <object name="fire extinguisher">
  1059. <inherit name="editor_object" />
  1060. <drop type="boolean">false</drop>
  1061. <look>The fire extinguisher looks the same as any other one you'd find in a commercial space. It is firmly attached to the wall.</look>
  1062. <scenery />
  1063. <displayverbs type="stringlist">
  1064. <value>Look at</value>
  1065. </displayverbs>
  1066. <inventoryverbs type="stringlist">
  1067. <value>Look at</value>
  1068. </inventoryverbs>
  1069. <feature_usegive />
  1070. <takemsg>There's no reason to take the fire extinguisher...it's bulky and heavy. And besides, there's no fire.</takemsg>
  1071. <use type="script">
  1072. msg ("There is no need to use the fire extinguisher. There is no fire to put out.")
  1073. </use>
  1074. </object>
  1075. <object name="axe">
  1076. <inherit name="editor_object" />
  1077. <look>It is an average looking fire axe, intended to be used during a fire of course.</look>
  1078. <scenery />
  1079. <takemsg>There is no need to take the axe.</takemsg>
  1080. <feature_usegive />
  1081. <use type="script">
  1082. msg ("There is no need to use the fire axe. After all, there's no fire.")
  1083. </use>
  1084. </object>
  1085. <object name="fountain">
  1086. <inherit name="editor_object" />
  1087. <scenery />
  1088. <look>The drinking fountain looks like any old one you'd see anywhere. It is noticeably old and corroded.</look>
  1089. <takemsg>The drinking fountain is connecated to the wall, and so cannot be taken.</takemsg>
  1090. <drop type="boolean">false</drop>
  1091. <displayverbs type="stringlist">
  1092. <value>Look at</value>
  1093. </displayverbs>
  1094. <inventoryverbs type="stringlist">
  1095. <value>Look at</value>
  1096. </inventoryverbs>
  1097. <feature_usegive />
  1098. <use type="script">
  1099. msg ("You attempt to use the drinking fountain, but it is inoperable.")
  1100. </use>
  1101. </object>
  1102. <object name="artwork">
  1103. <inherit name="editor_object" />
  1104. <scenery type="boolean">false</scenery>
  1105. <displayverbs type="stringlist">
  1106. <value>Look at</value>
  1107. </displayverbs>
  1108. <inventoryverbs type="stringlist">
  1109. <value>Look at</value>
  1110. </inventoryverbs>
  1111. <drop type="boolean">false</drop>
  1112. <takemsg>You can't take the artwork without severely damaging it, since it is firmly connected to the wall.</takemsg>
  1113. <look type="script"><![CDATA[
  1114. firsttime {
  1115. ClearScreen
  1116. msg ("As you contemplate the unusual artwork, your head begins to ache. What would this kind of art be doing in a hospital psychiatric unit, you wonder. Does its image have anything to do with you peculiar situation?<BR>")
  1117. picture ("woman on tv in hallway in frame.jpg")
  1118. }
  1119. otherwise {
  1120. ClearScreen
  1121. msg ("You contemplate the unusual artwork.<BR>")
  1122. picture ("woman on tv in hallway in frame.jpg")
  1123. }
  1124. ]]></look>
  1125. </object>
  1126. </object>
  1127. <object name="quadrangle 2">
  1128. <inherit name="editor_room" />
  1129. <attr name="grid_label" type="string"></attr>
  1130. <attr name="grid_fill">Black</attr>
  1131. <attr name="grid_label_colour">LawnGreen</attr>
  1132. <attr name="grid_border">LawnGreen</attr>
  1133. <visited type="boolean">false</visited>
  1134. <grid_render />
  1135. <alias>Briarwood Hospital</alias>
  1136. <description type="script"><![CDATA[
  1137. stop sound
  1138. ClearScreen
  1139. msg ("You're in a dark hallway. On the left hand wall are some chairs that look like they've had a lot of use, with tears and black stains in their cloth upholstry. On the right hand wall is a warning sign, and next to it is a switch with a speaker alongside it. The hallway is dim, and is lit by a vertical neon lamp up ahead. To the northwest is a door, and to the northeast is another door. To the west is the hallway leading to the nurses' station, and to the north is another section of hallway.<BR><BR>")
  1140. picture ("dark hospital hallway.jpg")
  1141. ]]></description>
  1142. <exit alias="south" to="quadrangle 1">
  1143. <inherit name="southdirection" />
  1144. <grid_render />
  1145. </exit>
  1146. <exit name="bedroom1door" alias="northeast" to="art therapy room">
  1147. <inherit name="northeastdirection" />
  1148. <locked type="boolean">false</locked>
  1149. <lockmessage>The door is locked tight. There must be some way to open it though.</lockmessage>
  1150. </exit>
  1151. <exit name="bedroom2door" alias="northwest" to="writers room">
  1152. <inherit name="northwestdirection" />
  1153. <locked type="boolean">false</locked>
  1154. <lockmessage>The door is locked tight. There must be some way to open it though.</lockmessage>
  1155. </exit>
  1156. <object name="switch">
  1157. <inherit name="editor_object" />
  1158. <inherit name="switchable" />
  1159. <look><![CDATA[You see a switch next to a speaker. Who knows what will happen when you press it?<br/><br/>{img:speaker and switch on wall.jpg}]]></look>
  1160. <attr name="feature_usegive" type="boolean">false</attr>
  1161. <displayverbs type="stringlist">
  1162. <value>Look at</value>
  1163. <value>Switch on</value>
  1164. <value>Switch off</value>
  1165. </displayverbs>
  1166. <inventoryverbs type="stringlist">
  1167. <value>Look at</value>
  1168. <value>Use</value>
  1169. </inventoryverbs>
  1170. <switchonmsg> </switchonmsg>
  1171. <drop type="boolean">false</drop>
  1172. <takemsg>The switch is attached to the wall...you cannot take it.</takemsg>
  1173. <feature_switchable />
  1174. <use type="script">
  1175. </use>
  1176. <onswitchon type="script"><![CDATA[
  1177. firsttime {
  1178. ClearScreen
  1179. picture ("sound_wave.gif")
  1180. msg ("<BR>The speaker emits a voice...<BR><BR>")
  1181. TextFX_Typewriter ("This corridor is a vein for your blood, and I flow through it. See me...in the chambers in which I live.", 55)
  1182. play sound ("quadrangle-2-voiceover.mp3", true, false)
  1183. msg ("<BR>")
  1184. UnlockExit (bedroom1door)
  1185. UnlockExit (bedroom2door)
  1186. msg ("Both nearby bedroom doors unlock...")
  1187. play sound ("quadrangle-2-doors.mp3", false, false)
  1188. }
  1189. otherwise {
  1190. msg ("You flip the switch, but nothing happens.")
  1191. }
  1192. ]]></onswitchon>
  1193. </object>
  1194. <object name="speaker">
  1195. <inherit name="editor_object" />
  1196. <scenery />
  1197. </object>
  1198. <object name="chairs1">
  1199. <inherit name="editor_object" />
  1200. <alias>chairs</alias>
  1201. <scenery />
  1202. </object>
  1203. <object name="neon lamp">
  1204. <inherit name="editor_object" />
  1205. <scenery />
  1206. </object>
  1207. <object name="lamp">
  1208. <inherit name="editor_object" />
  1209. <scenery />
  1210. </object>
  1211. <exit alias="north" to="quadrangle 3">
  1212. <inherit name="northdirection" />
  1213. <grid_render />
  1214. <runscript />
  1215. <script type="script">
  1216. stophtmlaudio
  1217. playhtmlaudio ("quadrangle 3 music.ogg")
  1218. MoveObject (player, quadrangle 3)
  1219. </script>
  1220. </exit>
  1221. </object>
  1222. <object name="art therapy room">
  1223. <inherit name="editor_room" />
  1224. <attr name="grid_label" type="string"></attr>
  1225. <attr name="grid_fill">Black</attr>
  1226. <attr name="grid_label_colour">LawnGreen</attr>
  1227. <attr name="grid_border">LawnGreen</attr>
  1228. <visited type="boolean">false</visited>
  1229. <grid_render />
  1230. <alias>Briarwood Hospital</alias>
  1231. <description type="script"><![CDATA[
  1232. if (not IsSwitchedOn(device)) {
  1233. ClearScreen
  1234. msg ("You are in what appears to be a room that is (or was) used by patients to do art therapy. Empty easels stand around the room, with only one holding a painting. The painting looks to be unfinished, almost as if someone abandoned its production in a hurry. There seems to be a general lack of any generation of art in the room at all, since in addition to the empty easels there are empty frames hung all over the walls. On the ground is a cup with some dirty brushes in it, and behind the unfinished painting is some kind of device plugged into the wall. It has a switch on it that is currently turned to the off position.<BR><img src=\"https://dsm01pap003files.storage.live.com/y4me9yAnz3UKxH6fH55J0rWOzkFeB0kBgaBdXqwdCBvq7ifB-LGOKcYrrjqVnPqinm3wAQpHkxuIIFLWpslwRmYCseEslo8b839BjMHOQLdlA8Kk26z_SR3NYkj-Af-h4DCILWdH6BkFlH9vfyaO2IxG-T8V1an9bjyrsoGbFUc7PyyedjlgZc6P0U9Mpkan8nh?width=700&height=400&cropmode=none\" width=\"700\" height=\"400\" /><BR>")
  1235. }
  1236. else if (IsSwitchedOn(device)) {
  1237. ClearScreen
  1238. msg ("You are in what appears to be a room that is (or was) used by patients to do art therapy. Empty easels stand around the room, with only one holding a painting. The painting shows a screaming figure buried in abstraction. Aside from that, there seems to be a general lack of any generation of art in the room at all, since in addition to the empty easels there are empty frames hung all over the walls are empty frames. On the ground is a cup with some dirty brushes in it, and behind the unfinished painting is some kind of device plugged into the wall. It has a switch on it that is currently turned to the on position.<BR><BR>")
  1239. picture ("art therapy room with screaming painting.jpg")
  1240. }
  1241. ]]></description>
  1242. <enter type="script">
  1243. </enter>
  1244. <exit alias="southwest" to="quadrangle 2">
  1245. <inherit name="southwestdirection" />
  1246. <grid_render />
  1247. </exit>
  1248. <object name="device">
  1249. <inherit name="editor_object" />
  1250. <inherit name="switchable" />
  1251. <feature_switchable />
  1252. <switchonmsg> </switchonmsg>
  1253. <switchoffmsg>You turn off the device.</switchoffmsg>
  1254. <displayverbs type="stringlist">
  1255. <value>Look at</value>
  1256. <value>Switch on</value>
  1257. <value>Switch off</value>
  1258. </displayverbs>
  1259. <takemsg>It's pointless to take the device. Without power, it's useless, and its purpose is ambiguous.</takemsg>
  1260. <drop type="boolean">false</drop>
  1261. <look type="script"><![CDATA[
  1262. ClearScreen
  1263. msg ("This is some kind of electrical device. It is plugged in to a power transformer that is connected to the wall. Both of them appear corroded with age. The device has a switch on it.<BR><img src=\"https://dsm01pap003files.storage.live.com/y4mCKMRSXsJzQFqoRssCk1etmGcg3_t9nUBRlI3FNF9TKYeIRt3I5GIjDB1a_96yc6Er9vOG2rNVk0cIDClioxpQI1RKeIZ8aG54HrMpmf1AUDXBzuHT6KfZeJn7oikUT3_yB3ltNwz7fo6ouukYgkxk1QAL-Jfh4HyzjoQsDfqCEOritMRo686JkscEmetstb0?width=640&height=400&cropmode=none\" width=\"640\" height=\"400\" /><BR>")
  1264. msg ("<BR>")
  1265. ]]></look>
  1266. <onswitchon type="script"><![CDATA[
  1267. firsttime {
  1268. ClearScreen
  1269. picture ("screaming painting.jpg")
  1270. PrintCentered ("<BR>You turn on the device, and the unfinished paiting completes itself, taking on a frightening visage. It begins to speak...<BR>")
  1271. play sound ("1 sec silence.mp3", true, false)
  1272. play sound ("1 sec silence.mp3", true, false)
  1273. play sound ("1 sec silence.mp3", true, false)
  1274. play sound ("1 sec silence.mp3", true, false)
  1275. TextFX_Typewriter ("What you see is one of my bodies. Not the only one, but one locked into terror. I have no choice but to scream. My vocation is the absorption of all of your negative emotions and cognitions. When you feel ill at ease, this is what I become, and it is what possesses you, albeit temporarily. Here is a token of my generosity. It will relieve you of this form. It will save you from my horrific distortions, but only sometimes. You still have a ways to go, but I will be with you...whether you choose it or no.", 55)
  1276. play sound ("art-therapy-room-vo.mp3", true, false)
  1277. msg ("<BR>")
  1278. TextFX_Unscramble ("A pill of mirtazapine materializes on the counter.", 75, 1)
  1279. play sound ("pill-manifestation.mp3", false, false)
  1280. MakeObjectVisible (amitriptyline)
  1281. }
  1282. otherwise {
  1283. msg ("You turn on the device, but it seems to have no effect on anything.")
  1284. }
  1285. msg ("<BR><BR>")
  1286. ]]></onswitchon>
  1287. <onswitchoff type="script">
  1288. </onswitchoff>
  1289. </object>
  1290. <object name="amitriptyline">
  1291. <inherit name="editor_object" />
  1292. <visible type="boolean">false</visible>
  1293. <inventoryverbs type="stringlist">
  1294. <value>Look at</value>
  1295. <value>Drop</value>
  1296. <value>Swallow</value>
  1297. </inventoryverbs>
  1298. <displayverbs type="stringlist">
  1299. <value>Look at</value>
  1300. <value>Take</value>
  1301. <value>Swallow</value>
  1302. </displayverbs>
  1303. <take />
  1304. <takemsg>You pick up the pill and put it into your pocket.</takemsg>
  1305. <dropmsg>Even though you probably shouldn't drop the pill, you do anyway.</dropmsg>
  1306. <visited />
  1307. <grid_render />
  1308. <swallow type="script">
  1309. play sound ("pill-taking-sound.mp3", false, false)
  1310. msg ("You take the amitriptyline and feel a palpable sense of renewal...")
  1311. MakeObjectInvisible (amitriptyline)
  1312. SetObjectFlagOn (amitriptyline, "swallowed")
  1313. </swallow>
  1314. <look type="script"><![CDATA[
  1315. ClearScreen
  1316. picture ("Amitriptyline box.jpg")
  1317. msg ("<BR>This medication is used to treat mental/mood problems such as depression. It may help improve mood and feelings of well-being, relieve anxiety and tension, help you sleep better, and increase your energy level. This medication belongs to a class of medications called tricyclic antidepressants. It works by affecting the balance of certain natural chemicals (neurotransmitters such as serotonin) in the brain. Due to the frequency and prominence of side effects, amitriptyline is generally considered a second-line therapy for this indication.<BR>")
  1318. ]]></look>
  1319. </object>
  1320. </object>
  1321. <object name="writers room">
  1322. <inherit name="editor_room" />
  1323. <dark />
  1324. <attr name="grid_label" type="string"></attr>
  1325. <attr name="grid_fill">Black</attr>
  1326. <attr name="grid_label_colour">LawnGreen</attr>
  1327. <attr name="grid_border">LawnGreen</attr>
  1328. <visited type="boolean">false</visited>
  1329. <grid_render />
  1330. <alias>Briarwood Hospital</alias>
  1331. <description type="script"><![CDATA[
  1332. if (GetBoolean(typewriter, "used")) {
  1333. ClearScreen
  1334. msg ("You see a desk with a lamp illuminating a typewriter. Bizarrely, the light coming through the window seems to suddenly illuminate itself too. The window implies that an outside to the building exists, but besides a silhouette of a tree and the pure white light, you cannot see anything at all beyond the walls of the room. There is a bookcase with old books lining its shelves, an old couch, and a coffee table with an empty glass upon it. Through the half-light to the northwest is an iron gate that leads to a room filled with illumination.<BR><BR><img src=\"https://dsm01pap003files.storage.live.com/y4mZ25rRaNX0_PQbCy8U5fbqYjhn0fyQ5AB3GTY9oh-NAYZN7PQ_bE4HkD19Ryt-QtsNeqBbuFLSI8YBbk2WLjJ8U05nS5k28GHYXVjwFPL5kBloHgqZqnX7jhL3rw0E1PSm0bVVWrY_8yV_gGsps7_Q_USSfrT0tVgQ6tnwAD35cE-2gYeigEZC-ztUQSnY4MD?width=700&height=400&cropmode=none\" width=\"700\" height=\"400\" /><BR>")
  1335. }
  1336. else if (not GetBoolean(typewriter, "used")) {
  1337. ClearScreen
  1338. msg ("You see a desk with a lamp illuminating a typewriter. Bizarrely, the light coming through the window seems to suddenly illuminate itself too. The window implies that an outside to the building exists, but besides a silhouette of a tree and the pure white light, you cannot see anything at all beyond the walls of the room. There is a bookcase with old books lining its shelves, an old couch, and a coffee table with an empty glass upon it. Through the half-light to the northwest is a iron gate with an automatic lock that's shut tight. The room beyond is in darkness.<BR><BR><img src=\"https://dsm01pap003files.storage.live.com/y4maWMwBtWLxCEn0ibn8Rh894XbV3gjIDyFx-PwcXgR3dSe1EKwAPeqRpDpteoiavmM3CzYYJitdGI2GJE2GFp3YvcSpGF73VMV2PGeb8MdvBq8iKjcDGWguVxCuAJgPzYVOzhsH-vYTrokjhBAAwNHpJ219velAnRKLg_3OYXcPpCZAamWs3krGDRZirhBPq_x?width=688&height=388&cropmode=none\" width=\"688\" height=\"388\" /><BR>")
  1339. // picture ("dark study.jpg")
  1340. }
  1341. ]]></description>
  1342. <darkroomdescription type="script"><![CDATA[
  1343. ClearScreen
  1344. msg ("The room is oppressively dark. Its gloom is a grainy and animated collage of oppressive feeling. Through the darkness' lack, one's fears can expand into all areas of the mind. The hallway's light extends slightly into the chamber, illuminating a light switch on the wall by the door.<BR><BR><img src=\"https://i.imgur.com/SBbuSRQ.gif\">")
  1345. ]]></darkroomdescription>
  1346. <exit alias="southeast" to="quadrangle 2">
  1347. <inherit name="southeastdirection" />
  1348. <grid_render />
  1349. </exit>
  1350. <object name="light switch">
  1351. <inherit name="editor_object" />
  1352. <inherit name="switchable" />
  1353. <usedefaultprefix />
  1354. <feature_switchable />
  1355. <feature_lightdark />
  1356. <lightstrength>weak</lightstrength>
  1357. <lightsource />
  1358. <displayverbs type="stringlist">
  1359. <value>Look at</value>
  1360. <value>Switch on</value>
  1361. <value>Switch off</value>
  1362. </displayverbs>
  1363. <inventoryverbs type="stringlist">
  1364. <value>Look at</value>
  1365. <value>Switch on</value>
  1366. <value>Switch off</value>
  1367. </inventoryverbs>
  1368. <switchoffmsg>You flip the switch, and the room goes dark.</switchoffmsg>
  1369. <look type="script">
  1370. if (not IsSwitchedOn(light switch)) {
  1371. msg ("You cannot see the light switch very well, but you're able to ascertain that it is there by touch alone.")
  1372. }
  1373. else {
  1374. msg ("It's a light switch.")
  1375. }
  1376. </look>
  1377. <onswitchon type="script"><![CDATA[
  1378. ClearScreen
  1379. JS.panesVisible (false)
  1380. JS.uiHide ("#txtCommandDiv")
  1381. msg ("You flip the light switch, and the room is illuminated.")
  1382. play sound ("light-switch-on.mp3", true, false)
  1383. ClearScreen
  1384. JS.panesVisible (true)
  1385. JS.uiHide ("#txtCommandDiv")
  1386. msg ("You see a desk with a lamp illuminating a typewriter. Bizarrely, the light coming through the window seems to suddenly illuminate itself too. The window implies that an outside to the building exists, but besides a silhouette of a tree and the pure white light, you cannot see anything at all beyond the walls of the room. There is a bookcase with old books lining its shelves, an old couch, and a coffee table with an empty glass upon it. Through the half-light to the northwest is a iron gate that's shut tight. The room beyond is in darkness.<BR><BR>")
  1387. picture ("dark study.jpg")
  1388. SetLight (writers room)
  1389. ]]></onswitchon>
  1390. <onswitchoff type="script">
  1391. SetDark (writers room)
  1392. </onswitchoff>
  1393. <flip type="script"><![CDATA[
  1394. ClearScreen
  1395. play sound ("light-switch-on.mp3", false, false)
  1396. msg ("You see a desk with a lamp illuminating a typewriter. Bizarrely, the light coming through the window seems to suddenly illuminate itself too. The window implies that an outside to the building exists, but besides a silhouette of a tree and the pure white light, you cannot see anything at all beyond the walls of the room. There is a bookcase with old books lining its shelves, an old couch, and a coffee table with an empty glass upon it. Through the half-light to the northwest is a iron gate with an automatic lock that's shut tight. The room beyond is in darkness.<BR><BR>")
  1397. picture ("dark study.jpg")
  1398. SetLight (writers room)
  1399. SwitchOn (light switch)
  1400. ]]></flip>
  1401. </object>
  1402. <object name="typewriter">
  1403. <inherit name="editor_object" />
  1404. <inherit name="surface" />
  1405. <attr name="feature_container" type="boolean">false</attr>
  1406. <hidechildren />
  1407. <feature_usegive />
  1408. <drop type="boolean">false</drop>
  1409. <usedefaultprefix type="boolean">false</usedefaultprefix>
  1410. <displayverbs type="stringlist">
  1411. <value>Look at</value>
  1412. <value>Use</value>
  1413. </displayverbs>
  1414. <takemsg>There's no need to take the typewriter. What are you going to do, put it in one of your pockets?</takemsg>
  1415. <inventoryverbs type="stringlist">
  1416. <value>Look at</value>
  1417. <value>Use</value>
  1418. </inventoryverbs>
  1419. <look type="script"><![CDATA[
  1420. if (GetBoolean(typewriter, "used")) {
  1421. ClearScreen
  1422. msg ("It is an antique typewriter...mid-twentieth century. It looks as if it has gotten a lot of use by the many different people who have passed through this room...hammering away at its keys with their fragile fingers. It contains a typewritten page.<BR><BR><img src=\"https://dsm01pap003files.storage.live.com/y4m7SHZJCnYv1WGHgWYdMy8OelHUGGPHJlp-JzjUJE0TPuCMyuszsxsZcHz5e02agz0KI6J4mA54thcBOqcVE_6Mh2tA0kXMZuavHzNYg2b6POeMhnZx8a1mwg9MkNwYWDLBT2HFoTlI2jNdIsJKKQuBOjSyRY2fL6gv9OnpGFZopj8PtWSBcqUwMyo6WFvc_S9?width=574&height=376&cropmode=none\" width=\"574\" height=\"376\" /><BR>")
  1423. }
  1424. else {
  1425. ClearScreen
  1426. msg ("It is an antique typewriter...mid-twentieth century. It looks as if it has gotten a lot of use by the many different people who have passed through this room...hammering away at its keys with their fragile fingers. The paper the device contains is blank.<BR><BR><img src=\"https://dsm01pap003files.storage.live.com/y4mbvG7568JbCtUQ0mzt5rJPUIbGE3_SvL7okkOv4H3yEhWHLV_3PwsGylNe2Hlkzm4xe44mdfRgvBgrltIbFHxbnmjmk5roBmnn5FSnl2nYT3uX8RQo0bhfINT7JtQDUmbuLl2Lai9D_R68HpEPk7VWnRRDcPcqlZGMhq2W3YiMbH1S4lCGHyajTMEF1hkg0B5?width=588&height=388&cropmode=none\" width=\"588\" height=\"388\" /><BR>")
  1427. }
  1428. ]]></look>
  1429. <use type="script"><![CDATA[
  1430. if (GetBoolean(typewriter, "used")) {
  1431. msg ("The paper in the typewriter has already been typed on, and you can see no blank paper lying around. It wouldn't make much sense to type anything.<BR>")
  1432. }
  1433. else {
  1434. ClearScreen
  1435. msg ("The typewriter begins to type by itself...")
  1436. JS.uiHide ("#txtCommandDiv")
  1437. play sound ("1 sec silence.mp3", true, false)
  1438. play sound ("1 sec silence.mp3", true, false)
  1439. ClearScreen
  1440. JS.panesVisible (false)
  1441. msg ("<a href=\"https://imgur.com/lEAJwf4\"><img src=\"https://i.imgur.com/lEAJwf4.gif\" title=\"source: imgur.com\" /></a>")
  1442. src = "https://onedrive.live.com/download?cid=D21866242AF2EAD6&resid=D21866242AF2EAD6%21227&authkey=ADNXMmD-5yfwxHw"
  1443. msg ("<audio src='" + src + "' autoplay />")
  1444. play sound ("1 sec silence.mp3", true, false)
  1445. TextFX_Typewriter ("You are a living narrative. You exist because of the stories you tell yourself, and the stories you tell about yourself to others. You are a living fiction, and your presence on earth is a fiction. All of us are surrounded by lies. The world can be a lie. One might ask, what is a world? Is the house in which you live a world? If so, then home would be a lie. And if a cage was a world, then it would be a lie as well. I am changing the world as we speak...spinning a fictitious story for you that will change this unfolding horror. Am I lying? Only a fool would lie. I suppose then that we're all fools. Fools that live in the darkness of truth. Enter the darkness and live with me.", 60)
  1446. play sound ("32s02.mp3", true, false)
  1447. play sound ("5-sec-silence.mp3", true, false)
  1448. play sound ("1 sec silence.mp3", true, false)
  1449. play sound ("5-sec-silence.mp3", true, false)
  1450. play sound ("1 sec silence.mp3", true, false)
  1451. ClearScreen
  1452. msg ("An iron gate opens, and the lights flicker on in the room that it lies beyond it.")
  1453. src2 = "https://onedrive.live.com/download?cid=D21866242AF2EAD6&resid=D21866242AF2EAD6%21228&authkey=AMmZc6DhxosTMdw"
  1454. msg ("<audio src='" + src2 + "' autoplay />")
  1455. play sound ("5-sec-silence.mp3", true, false)
  1456. SetObjectFlagOn (typewriter, "used")
  1457. UnlockExit (jaildoor)
  1458. do (game.pov.parent, "description")
  1459. JS.uiShow ("#txtCommandDiv")
  1460. JS.panesVisible (true)
  1461. }
  1462. ]]></use>
  1463. </object>
  1464. <object name="typewriter paper">
  1465. <inherit name="editor_object" />
  1466. <visible type="boolean">false</visible>
  1467. <alias>paper</alias>
  1468. <scenery />
  1469. </object>
  1470. <exit name="jaildoor" alias="northwest" to="chapel">
  1471. <inherit name="northwestdirection" />
  1472. <locked type="boolean">false</locked>
  1473. <lockmessage>The gate is locked. There must be some way to open it...</lockmessage>
  1474. <grid_render />
  1475. </exit>
  1476. </object>
  1477. <object name="chapel">
  1478. <inherit name="editor_room" />
  1479. <attr name="grid_label" type="string"></attr>
  1480. <attr name="grid_fill">Black</attr>
  1481. <attr name="grid_label_colour">LawnGreen</attr>
  1482. <attr name="grid_border">LawnGreen</attr>
  1483. <visited type="boolean">false</visited>
  1484. <grid_render />
  1485. <alias>Briarwood Hospital</alias>
  1486. <description type="script"><![CDATA[
  1487. ClearScreen
  1488. msg ("You are in the hospital's chapel. The entropy that has affected the room has eaten away its interior. There are some windows on the wall look upon pure white...nothing is visible through them. Debris litters the floor. Some pews used to stand proudly within the room, but since have fallen into disrepair. There is an old crucifix hung above the altar, with the latter being a filthy old oaken table. Strangely, a decrepit payphone siands in the center of the room.<BR>")
  1489. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4mKK-hmDZqYu1z_XBFnSF_sWyxykl9PDkKLrWNLoYD8KTTktN1BpOCFM_IG-qI1VMP0fd2HEiNTKwmubw4NNTC-Xzlk8Yez_0FjdfEZqFDEu7X9lSLpwZixoycyaF_9rfGHhFfBYjqF8CKtYNYRSAHyYogAV53Vlo9BxSkde7dGHmEL4a95oBvVEs0vIdpOrPZ?width=500&height=500&cropmode=none\" width=\"500\" height=\"500\" />")
  1490. ]]></description>
  1491. <exit alias="southeast" to="writers room">
  1492. <inherit name="southeastdirection" />
  1493. <grid_render />
  1494. </exit>
  1495. <object name="phone">
  1496. <inherit name="editor_object" />
  1497. <displayverbs type="stringlist">
  1498. <value>Look at</value>
  1499. <value>Use</value>
  1500. </displayverbs>
  1501. <inventoryverbs type="stringlist" />
  1502. <feature_usegive />
  1503. <drop type="boolean">false</drop>
  1504. <look type="script"><![CDATA[
  1505. ClearScreen
  1506. msg ("The phone is old and rusted. The handset looks like it hasn't been picked up for millennia.<BR><BR><img src=\"https://dsm01pap003files.storage.live.com/y4mrWw0ObXVhFdgVJrxT92tZLixl4oQPnHM9damUVsEjPT4uJnDtiQdKSU5uVl1FOYuqE3h7ImFNkQGXuH-3gDDuTpOHyeZSSgQ1C_vmr4dydvS6wYJ5N-k65McZarwb8yywLX-xnNsTPT1uK-YnIaqLzwevDBHChgyQXAkCoiM1tk61IwCarAu6fa9q9GqnYpv?width=700&height=525&cropmode=none\" width=\"700\" height=\"525\" /><BR>")
  1507. ]]></look>
  1508. <use type="script"><![CDATA[
  1509. if (GetBoolean(phone, "used")) {
  1510. ClearScreen
  1511. JS.uiHide ("#txtCommandDiv")
  1512. msg ("<BR>You pick up the phone's receiver to use it...")
  1513. play sound ("1 sec silence.mp3", true, false)
  1514. play sound ("phone out of order.mp3", true, false)
  1515. msg ("<BR>But it seems to be out of order...<BR>")
  1516. JS.uiShow ("#txtCommandDiv")
  1517. }
  1518. else if (not GetBoolean(phone, "used")) {
  1519. ClearScreen
  1520. JS.uiHide ("#txtCommandDiv")
  1521. JS.panesVisible (false)
  1522. msg ("<BR><img src=\"https://i.imgur.com/ccBQde4.gif\"><BR><BR>You start to pick up the phone's receiver, but it starts ringing before you can...<BR><BR>")
  1523. play sound ("payphone ring.mp3", true, false)
  1524. msg ("You pick it up...")
  1525. play sound ("phone pick up.mp3", true, false)
  1526. play sound ("1 sec silence.mp3", true, false)
  1527. ClearScreen
  1528. src3 = "https://onedrive.live.com/download?cid=D21866242AF2EAD6&resid=D21866242AF2EAD6%21233&authkey=AArpt0IrJentLwk"
  1529. msg ("<audio src='" + src3 + "' autoplay />")
  1530. play sound ("1 sec silence.mp3", true, false)
  1531. play sound ("1 sec silence.mp3", true, false)
  1532. TextFX_Typewriter ("An auditory hallucination is like an evil spell...it is a curse that is cast upon you by nature. If you have one, then you will have many, and you likely will hear them for your entire life. It is similar to a radio station you'd rather not listen to. They are ugly sounds that emerge from noise, and they are unwanted. A peaceful unfolding broadcast is interrupted by the vulgar sounds of disorder and madness. In that case, what you hear is not what you hear at all. My voice is flowing through you via a direct line to the void. Lucky you. And from the void comes your relief. Do not reject it. In fact, I recommend that you love it. Take this gift from me and heal. See you next time. Talk to you later.", 55)
  1533. play sound ("15.1s.mp3", true, false)
  1534. play sound ("15.1s.mp3", true, false)
  1535. play sound ("15.1s.mp3", true, false)
  1536. msg ("<BR>You slam down the phone receiver...<BR>")
  1537. play sound ("phone slam.mp3", true, false)
  1538. play sound ("1 sec silence.mp3", true, false)
  1539. ClearScreen
  1540. JS.panesVisible (true)
  1541. TextFX_Unscramble ("<BR>And a pill materializes on the ground...", 50, 1)
  1542. play sound ("pill manifestation.mp3", true, false)
  1543. msg ("<BR>")
  1544. JS.uiShow ("#txtCommandDiv")
  1545. MakeObjectVisible (imipramine)
  1546. SetObjectFlagOn (phone, "used")
  1547. }
  1548. ]]></use>
  1549. </object>
  1550. <object name="imipramine">
  1551. <inherit name="editor_object" />
  1552. <visible type="boolean">false</visible>
  1553. <take />
  1554. <takemsg>You pick up the pill and place it in your pocket...</takemsg>
  1555. <dropmsg>You might not want to drop that, but alas, you do it anyway.</dropmsg>
  1556. <look type="script"><![CDATA[
  1557. ClearScreen
  1558. picture ("imipramine.jpg")
  1559. msg ("<BR>Imipramine tablets are used to treat depression. It is in a class of medications called tricyclic antidepressants. It treats depression by increasing the amounts of certain natural substances in the brain that are needed to maintain mental balance.<BR>")
  1560. ]]></look>
  1561. <swallow type="script"><![CDATA[
  1562. msg ("<BR>You swallow the imipramine pill and feel a newfound sense of mental balance...<BR>")
  1563. play sound ("pill-taking-sound.mp3", false, false)
  1564. MakeObjectInvisible (imipramine)
  1565. SetObjectFlagOn (imipramine, "swallowed")
  1566. ]]></swallow>
  1567. </object>
  1568. </object>
  1569. <object name="quadrangle 3">
  1570. <inherit name="editor_room" />
  1571. <attr name="grid_label" type="string"></attr>
  1572. <attr name="grid_fill">Black</attr>
  1573. <attr name="grid_label_colour">LawnGreen</attr>
  1574. <attr name="grid_border">LawnGreen</attr>
  1575. <visited type="boolean">false</visited>
  1576. <grid_render />
  1577. <alias>Briarwood Hospital</alias>
  1578. <description type="script"><![CDATA[
  1579. ClearScreen
  1580. msg ("You are in a long hallway. It is eerily lit with flourescent lights whose illuminations on the walls taper off into soft shadows. There's a large door at the very end. To the east is another door. On the ground is a piece of paper with writing on it. You feel a powerful sense of deja vu...and an even deeper sense of the bleak energies that color the floor, the walls, and everything else here. Your intuition tells you that this is not a hallway, but a problem to be solved. Even if the solution lies elsewhere.<BR>")
  1581. picture ("hallway with paper on floor.jpg")
  1582. ]]></description>
  1583. <enter type="script">
  1584. </enter>
  1585. <beforeenter type="script">
  1586. </beforeenter>
  1587. <onexit type="script">
  1588. </onexit>
  1589. <firstenter type="script">
  1590. </firstenter>
  1591. <exit name="door to quad2" alias="south" to="quadrangle 2">
  1592. <inherit name="southdirection" />
  1593. <locked type="boolean">false</locked>
  1594. <visible />
  1595. <grid_render />
  1596. <runscript />
  1597. <script type="script">
  1598. stophtmlaudio
  1599. playhtmlaudio ("entry to a psychiatric ward music.ogg")
  1600. MoveObject (player, quadrangle 2)
  1601. </script>
  1602. </exit>
  1603. <exit name="quad3door" alias="north" to="quadrangle 4">
  1604. <inherit name="northdirection" />
  1605. <locked type="boolean">false</locked>
  1606. <grid_render />
  1607. <runscript type="boolean">false</runscript>
  1608. <script type="script">
  1609. </script>
  1610. </exit>
  1611. <object name="message">
  1612. <inherit name="editor_object" />
  1613. <alias>piece of paper</alias>
  1614. <displayverbs type="stringlist">
  1615. <value>Look at</value>
  1616. <value>Read</value>
  1617. </displayverbs>
  1618. <feature_usegive />
  1619. <look type="script">
  1620. msg ("The paper looks like it's been here for quite a long time, and was put here on purpose. There is something written on it.")
  1621. </look>
  1622. <read type="script"><![CDATA[
  1623. ClearScreen
  1624. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4m9165OMkK6ECk9Y7Fd0bzO8-QQRighe_qLX9l8jM8ehTHrrLYkzJq_W5GyU4FGy9t8k3xUCcusmL48YJEkl56zj1JiVhsQ9KlH8CV5wwyK9Wo9FABpORUMIK0ctui81TMbs6205hs3A0MXMpN5abgTFXHudzejmK4Q5X0PSx3VyhiNAbJHVWx-Cn6QefHOqAN?width=1000&height=547&cropmode=none\" width=\"1000\" height=\"547\" /><BR>")
  1625. wait {
  1626. ShowRoomDescription
  1627. }
  1628. ]]></read>
  1629. <use type="script"><![CDATA[
  1630. ClearScreen
  1631. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4m9165OMkK6ECk9Y7Fd0bzO8-QQRighe_qLX9l8jM8ehTHrrLYkzJq_W5GyU4FGy9t8k3xUCcusmL48YJEkl56zj1JiVhsQ9KlH8CV5wwyK9Wo9FABpORUMIK0ctui81TMbs6205hs3A0MXMpN5abgTFXHudzejmK4Q5X0PSx3VyhiNAbJHVWx-Cn6QefHOqAN?width=1000&height=547&cropmode=none\" width=\"1000\" height=\"547\" /><BR>")
  1632. wait {
  1633. ShowRoomDescription
  1634. }
  1635. ]]></use>
  1636. </object>
  1637. <exit name="doortothroneroom" alias="east" to="throne room">
  1638. <inherit name="eastdirection" />
  1639. <locked type="boolean">false</locked>
  1640. <grid_render />
  1641. </exit>
  1642. </object>
  1643. <object name="quadrangle 4">
  1644. <inherit name="editor_room" />
  1645. <attr name="grid_label" type="string"></attr>
  1646. <attr name="grid_fill">Black</attr>
  1647. <attr name="grid_label_colour">LawnGreen</attr>
  1648. <attr name="grid_border">LawnGreen</attr>
  1649. <visited type="boolean">false</visited>
  1650. <grid_render />
  1651. <alias>Briarwood Hospital</alias>
  1652. <onexit type="script">
  1653. </onexit>
  1654. <description type="script"><![CDATA[
  1655. if (computer terminal.openexteriordoor = true) {
  1656. ClearScreen
  1657. msg ("The passageway turns a corner, and you find yourself, strangely, in a dimly lit school hallway. Lines of lockers stretch on into deep perspective on either side of you. There is a locker door hanging ajar, leading into a passageway. In front of you is a door that hangs open, emitting an efffulgence of light.<BR>")
  1658. msg ("<img src=\"https://i.imgur.com/r0pkJvj.jpg\">")
  1659. }
  1660. else {
  1661. ClearScreen
  1662. msg ("The passageway turns a corner, and you find yourself, strangely, in a dimly lit school hallway. Lines of lockers stretch on into deep perspective on either side of you. There is a locker door hanging ajar, leading into a passageway. The door at the end of the hall is locked tight.<BR>")
  1663. msg ("<img src=\"https://i.imgur.com/HXSTjgn.jpg\">")
  1664. }
  1665. ]]></description>
  1666. <enter type="script">
  1667. </enter>
  1668. <exit name="quadrangle 4 door" alias="south" to="quadrangle 3">
  1669. <inherit name="southdirection" />
  1670. <locked type="boolean">false</locked>
  1671. <lockmessage>That way is locked. You need to fall into a machine to open it.</lockmessage>
  1672. <grid_render />
  1673. </exit>
  1674. <exit name="quadrangle 5 door" alias="north" to="quadrangle 5">
  1675. <inherit name="northdirection" />
  1676. <locked type="boolean">false</locked>
  1677. <lockmessage>That way is locked. You must use a computer to open it.</lockmessage>
  1678. <grid_render />
  1679. </exit>
  1680. <exit name="computer room door" alias="east" to="computer room">
  1681. <inherit name="eastdirection" />
  1682. <locked type="boolean">false</locked>
  1683. <visible />
  1684. <grid_render />
  1685. </exit>
  1686. <object name="locker door">
  1687. <inherit name="editor_object" />
  1688. <inherit name="openable" />
  1689. <feature_container />
  1690. <scenery type="boolean">false</scenery>
  1691. <look type="script">
  1692. if (GetBoolean(variable1, "true")) {
  1693. msg ("The locker door is old and rusty. It looks to be open.")
  1694. }
  1695. </look>
  1696. <openscript type="script"><![CDATA[
  1697. msg ("<BR>You open the locker door and flourescent light streams out. Through the locker is a passageway leading east.<BR>")
  1698. MakeExitVisible (computer room door)
  1699. UnlockExit (computer room door)
  1700. ]]></openscript>
  1701. <closescript type="script"><![CDATA[
  1702. msg ("<BR>You close the locker door, and the light coming from the passageway it guards dies away.")
  1703. MakeExitInvisible (computer room door)
  1704. LockExit (computer room door)
  1705. ]]></closescript>
  1706. </object>
  1707. </object>
  1708. <object name="throne room">
  1709. <inherit name="editor_room" />
  1710. <attr name="grid_label" type="string"></attr>
  1711. <attr name="grid_fill">Black</attr>
  1712. <attr name="grid_label_colour">LawnGreen</attr>
  1713. <attr name="grid_border">LawnGreen</attr>
  1714. <visited type="boolean">false</visited>
  1715. <grid_render />
  1716. <alias>Briarwood Hospital</alias>
  1717. <description type="script"><![CDATA[
  1718. JS.eval ("$('#txtCommand').val('');")
  1719. ClearScreen
  1720. msg ("You are in a throne room. Before you sits an ornate chair, surrounded by lit candles. Someone of great power, or someone who thought that they had great power, sat here. Whether this person was alive or dead, we'll never know. Or maybe this place decided that they were no longer needed? In front of the chair is a film projector sitting on an antique table.<BR>")
  1721. picture ("throne room.jpg")
  1722. ]]></description>
  1723. <enter type="script">
  1724. </enter>
  1725. <onexit type="script">
  1726. </onexit>
  1727. <firstenter type="script">
  1728. </firstenter>
  1729. <exit name="throne room door" alias="west" to="quadrangle 3">
  1730. <inherit name="westdirection" />
  1731. <locked type="boolean">false</locked>
  1732. <lockmessage>That way is locked. You must finish your conversation, then you will be able to leave.</lockmessage>
  1733. <runscript type="boolean">false</runscript>
  1734. <grid_render />
  1735. </exit>
  1736. <object name="film projector">
  1737. <inherit name="editor_object" />
  1738. <inherit name="switchable" />
  1739. <feature_switchable />
  1740. <switchedon type="boolean">false</switchedon>
  1741. <drop type="boolean">false</drop>
  1742. <displayverbs type="stringlist">
  1743. <value>Look at</value>
  1744. </displayverbs>
  1745. <inventoryverbs type="stringlist">
  1746. <value>Look at</value>
  1747. </inventoryverbs>
  1748. <onswitchoff type="script">
  1749. </onswitchoff>
  1750. <look type="script"><![CDATA[
  1751. msg ("<BR>The film projector is nothing out of the ordinary. It is covered with dust.There is a reel of film loaded into it. It seems to be able to run, with a switch on the side that you can use to turn it on and play the film that is in it. It looks like the projector can play the film on loop.<BR> ")
  1752. ]]></look>
  1753. <onswitchon type="script">
  1754. </onswitchon>
  1755. <turnon type="script"><![CDATA[
  1756. if (GetBoolean(goodbye, "said")) {
  1757. msg ("<BR>The old projector refuses to turn on, as if its body has lost its soul.<BR>")
  1758. }
  1759. else if (not GetBoolean(goodbye, "said")) {
  1760. ClearScreen
  1761. picture ("projector.gif")
  1762. picture ("horror woman.gif")
  1763. msg ("<BR>You turn the projector on and it comes to life. Its scratchy motor, with its worn out belts, rumbles while the reels begin to squeakily turn. The room fills with light, and you cover your eyes with your hand momentarily. A woman appears in the projected image, and says \"If you speak with me, I will unlock the door to this room for you. Be sure to ask me every question and bid me goodbye. If you do not, then you will be stuck here forever.\"<BR>")
  1764. LockExit (throne room door)
  1765. MakeObjectVisible (woman)
  1766. SwitchOn (film projector)
  1767. }
  1768. ]]></turnon>
  1769. <turnoff type="script"><![CDATA[
  1770. if (ListContains(ScopeVisible(), woman)) {
  1771. msg ("<BR>You attempt to turn off the projector, but it refuses.<BR>")
  1772. }
  1773. else if (not IsSwitchedOn(film projector)) {
  1774. msg ("<BR>You can't turn off something that isn't on.<BR>")
  1775. }
  1776. ]]></turnoff>
  1777. </object>
  1778. <object name="woman">
  1779. <inherit name="editor_object" />
  1780. <usedefaultprefix type="boolean">false</usedefaultprefix>
  1781. <visible type="boolean">false</visible>
  1782. <displayverbs type="stringlist">
  1783. <value>Look at</value>
  1784. </displayverbs>
  1785. <drop type="boolean">false</drop>
  1786. <speak type="script"><![CDATA[
  1787. ClearScreen
  1788. JS.panesVisible (false)
  1789. picture ("horror woman.gif")
  1790. msg ("<BR>The woman says: \"Ask me three questions, and then you may proceed...don't forget to say goodbye to me before I leave...not doing so is extremely rude.\"<BR>")
  1791. JS.setCss ("#txtCommandDiv a", "color:green;")
  1792. JS.setInterfaceString ("ContinueLabel", "Press any key to continue...")
  1793. wait {
  1794. talkinginthroneroom
  1795. }
  1796. ]]></speak>
  1797. <conversation1 type="script">
  1798. msg ("hello")
  1799. </conversation1>
  1800. <mainconversation type="script"><![CDATA[
  1801. ClearScreen
  1802. picture ("horror woman.gif")
  1803. msg ("<BR>")
  1804. TextFX_Typewriter ("I have no name, yet I am familiar to you. To open the next portal, you must quiz me on all topics. If you do not, then you cannot proceed. Where I live there is no language, so you are lucky to be able to speak with me.", 100)
  1805. msg ("<BR>")
  1806. topics = Split ("How is it that you can become my own voice;What is the nature of this maze;How do I defeat you", ";")
  1807. switch (result) {
  1808. case (How is it that you can become my own voice) {
  1809. msg ("<BR>")
  1810. wait {
  1811. TextFX_Typewriter ("Conversation1", 100)
  1812. }
  1813. SetObjectFlagOn (conversation1, "asked")
  1814. }
  1815. case (What is the nature of this maze) {
  1816. msg ("<BR>")
  1817. wait {
  1818. TextFX_Typewriter ("Conversation2", 100)
  1819. }
  1820. SetObjectFlagOn (conversation2, "asked")
  1821. }
  1822. case (How do I defeat you) {
  1823. msg ("<BR>")
  1824. TextFX_Typewriter ("Conversation2", 100)
  1825. wait {
  1826. SetObjectFlagOn (conversation3, "asked")
  1827. }
  1828. }
  1829. }
  1830. ]]></mainconversation>
  1831. <look type="script">
  1832. ClearScreen
  1833. picture ("")
  1834. </look>
  1835. <mainmenu type="script"><![CDATA[
  1836. picture ("ansi menu.jpg")
  1837. get input {
  1838. switch (result) {
  1839. case (4) {
  1840. msg ("goodbye<BR>")
  1841. SetObjectFlagOn (goodbye, "said")
  1842. }
  1843. default {
  1844. msg ("you need to answer")
  1845. }
  1846. }
  1847. }
  1848. ]]></mainmenu>
  1849. </object>
  1850. <object name="question1">
  1851. <inherit name="editor_object" />
  1852. <visible type="boolean">false</visible>
  1853. </object>
  1854. <object name="question2">
  1855. <inherit name="editor_object" />
  1856. <visible type="boolean">false</visible>
  1857. </object>
  1858. <object name="question3">
  1859. <inherit name="editor_object" />
  1860. <visible type="boolean">false</visible>
  1861. </object>
  1862. <object name="goodbye">
  1863. <inherit name="editor_object" />
  1864. <visible type="boolean">false</visible>
  1865. </object>
  1866. </object>
  1867. <object name="quadrangle 5">
  1868. <inherit name="editor_room" />
  1869. <attr name="grid_label" type="string"></attr>
  1870. <attr name="grid_fill">Black</attr>
  1871. <attr name="grid_label_colour">LawnGreen</attr>
  1872. <attr name="grid_border">LawnGreen</attr>
  1873. <grid_render />
  1874. <visited type="boolean">false</visited>
  1875. <alias>Briarwood Hospital</alias>
  1876. <description type="script"><![CDATA[
  1877. ClearScreen
  1878. msg ("You enter a hallway in a dungeon. The idea of a hospital having a dungeon evokes an uncanny logic...a deep and dark irony. The hallway is filled with rocks and other debris, with a greasiness to its brick walls. A torch is lit here and there...who maintains them is unknown. Perhaps they have been burning forever. To the northeast lies a dark passageway, with another extending off to the northwest. Both transition into inky blackness. To the south lies the school hallway.<BR>")
  1879. msg ("<img src=\"https://i.imgur.com/NY76dy9.jpg\">")
  1880. ]]></description>
  1881. <exit alias="south" to="quadrangle 4">
  1882. <inherit name="southdirection" />
  1883. <grid_render />
  1884. </exit>
  1885. <exit alias="northeast" to="modern hospital bedroom">
  1886. <inherit name="northeastdirection" />
  1887. <grid_render />
  1888. </exit>
  1889. <exit alias="northwest" to="quadrangle 6">
  1890. <inherit name="northwestdirection" />
  1891. <grid_render />
  1892. </exit>
  1893. </object>
  1894. <object name="computer room">
  1895. <inherit name="editor_room" />
  1896. <attr name="grid_label" type="string"></attr>
  1897. <attr name="grid_fill">Black</attr>
  1898. <attr name="grid_label_colour">LawnGreen</attr>
  1899. <attr name="grid_border">LawnGreen</attr>
  1900. <pilltaken type="boolean">false</pilltaken>
  1901. <visited type="boolean">false</visited>
  1902. <grid_render />
  1903. <alias>Briarwood Hospital</alias>
  1904. <description type="script"><![CDATA[
  1905. ClearScreen
  1906. JS.eval ("$('#txtCommand').val('');")
  1907. msg ("You are in an old room containing an antiquated computer mainframe, humming away as if it was invented yesterday, surrounded by tape machines. The tape readers sound operative due to them exuding the sounds of some sort of cooling system, built to chill the artefacts of another era. A small terminal, with a monitor and keyboard, plus a humble office chair, beckon your use.<BR><img src=\"https://dsm01pap003files.storage.live.com/y4mMTul9hONXxGxoZoWY5vY9rdVEEt-_OJ-e9ByTlVJfiVsKXFdxoRNkiIx4p6Zjj3PuxfzC6QIQZ2pyPtmS-ZgmiI70YLkY7BfYpefIr6EFkX_eNrgms86VJ_xopd4l57DU9zreVcOPUhbbduG10ySWLHeNFc1mVUlt09TmkiJjr1pRiJg8BPYs-7JdvRLDC-i?width=900&height=601&cropmode=none\" width=\"900\" height=\"601\" />")
  1908. ]]></description>
  1909. <firstenter type="script">
  1910. </firstenter>
  1911. <enter type="script"><![CDATA[
  1912. src = "https://onedrive.live.com/download?cid=D21866242AF2EAD6&resid=D21866242AF2EAD6%21314&authkey=AJTlQaAMPr9fR7A"
  1913. msg ("<audio src='" + src + "' autoplay loop />")
  1914. ]]></enter>
  1915. <exit name="exit to quadrangle 4" alias="west" to="quadrangle 4">
  1916. <inherit name="westdirection" />
  1917. <locked type="boolean">false</locked>
  1918. <runscript type="boolean">false</runscript>
  1919. <visible />
  1920. <grid_render />
  1921. <script type="script">
  1922. </script>
  1923. </exit>
  1924. <object name="computer terminal">
  1925. <inherit name="editor_object" />
  1926. <feature_usegive />
  1927. <feature_switchable />
  1928. <displayverbs type="stringlist">
  1929. <value>Look at</value>
  1930. <value>Use</value>
  1931. </displayverbs>
  1932. <drop type="boolean">false</drop>
  1933. <selections type="int">0</selections>
  1934. <inventoryverbs type="stringlist">
  1935. <value>Look at</value>
  1936. <value>Use</value>
  1937. </inventoryverbs>
  1938. <switchonmsg>The computer terminal comes to life, having slept, waiting for its next user.</switchonmsg>
  1939. <switchoffmsg>The terminal turns off...to slumber until it is needed again.</switchoffmsg>
  1940. <openexteriordoor type="boolean">false</openexteriordoor>
  1941. <look type="script"><![CDATA[
  1942. ClearScreen
  1943. msg ("It looks to be a standard computer terminal of its master's unknown era, with a monitor, keyboard, and comfortable office chair waiting for its next partner.<BR>")
  1944. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4mkU1AK_WRrz1pe3YMw2Ie_tpQUO5aJFo0lhHVtab4_8ZNPaatkkZsKmIom-oLN_t_j3OKNwTxnGLuPF0NvJ9L1B2E3L6V5gF5U7raKH0TERzdw-wCPv88bzRAbVKK70Y_wxAeJT6lRhk8EiDh0fIUHob7WIQPLCEyi4bOXkpz6Z0ZLQfhrrnqI3OG_c4-V4UA?width=800&height=546&cropmode=none\" width=\"800\" height=\"546\" /><BR>")
  1945. ]]></look>
  1946. <use type="script"><![CDATA[
  1947. JS.panesVisible (false)
  1948. ClearScreen
  1949. picture ("computer reels spinning.gif")
  1950. msg ("<BR>The tape reels surrounding the computer terminal come to life, and it starts to boot up.<BR>")
  1951. wait {
  1952. stop sound
  1953. computerbootup
  1954. }
  1955. ]]></use>
  1956. </object>
  1957. <object name="office chair">
  1958. <inherit name="editor_object" />
  1959. <visible />
  1960. <scenery />
  1961. <displayverbs type="stringlist">
  1962. <value>Look at</value>
  1963. </displayverbs>
  1964. <feature_usegive />
  1965. <look type="script"><![CDATA[
  1966. ClearScreen
  1967. msg ("The chair has seen a great deal of use. The floor it lies upon is somewhat dirty, and its upholstery has stains and dirt here and there. But, it seems fit to sit in.<BR>")
  1968. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4mVokHdSEE5LVmR9EKbEsMSHrsr5qS690HHJVzdiiTtKTe2Bm8CR9kM1u_92_RRGyhW9-ggADH6mY6byWO5V5oRWaC7ejmLIJh8tx2aX0yQRccaf4kZJvVuclt1Gn2tgcr39oPJY5chaqceHDVR_wkMDftUksRl5dizmYZNG3nrEAGcCBjDQFHcaSkmxZVIvt1?width=800&height=619&cropmode=none\" width=\"800\" height=\"619\" />")
  1969. ]]></look>
  1970. <use type="script">
  1971. msg ("You can sit in it if you use the computer terminal.")
  1972. </use>
  1973. </object>
  1974. <object name="computer mainframe">
  1975. <inherit name="editor_object" />
  1976. <scenery />
  1977. <feature_usegive />
  1978. <look type="script"><![CDATA[
  1979. ClearScreen
  1980. msg ("The computer mainframe is a hulking and ancient looking supercomputer...long obsolete. Even though this hospital and its maze are eternal...what is ancient is perfectly suited to it. Nothing can be eternal without things that exist that both embody and withstand age and decay. The inner workings of this mainframe are inscrutable, but from where does the maze spring? Perhaps from inside this object, but perhaps also not.<BR><BR>")
  1981. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4msFvdqjfjRy5mGGsnU3pM6LBnbcTh-6kbZpRvCsXkTwmP0N-W9esCfY-Aa7MPIThGhtjGjl9K4xlvzVhI5-1D4sVIIVHDkqHJ9fgyrd1WVQWClO5S_soFW0Wksb6FZt7nMQssMGfsXZwUCm27LJFB6Lz4kr8o7G5YGFyLdDo_jAclRJPUELy2yfYIYOsA4T7B?width=800&height=600&cropmode=none\" width=\"800\" height=\"600\" />")
  1982. ]]></look>
  1983. <use type="script">
  1984. msg ("The computer can't be used directly...you have to use the computer terminal to access it.")
  1985. </use>
  1986. </object>
  1987. <object name="tape machines">
  1988. <inherit name="editor_object" />
  1989. <scenery />
  1990. <feature_usegive />
  1991. <look type="script"><![CDATA[
  1992. ClearScreen
  1993. msg ("You see multiple magnetic tape reading machines, capable of storing computer data. They are undoubtedly for storing the information used by the computer mainframe in this room. It's a mystery to you what magnetic illusions are contained within them.<BR>")
  1994. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4m8em5sN2RpDWXjB7ofcOU4bwKdmvOMVNOKMPUhWmLCLJwKdfivhbfCmXutof2qQ6aHeiH8j0elLxANCSvmWRixyF6Udr-KSq2HJ_V4kiB-RUJ2jJWZgXA_8fnFXW3OFJ6TO9Bcq2hVRgyuv8sP-KhGsZLjN2-jYPEqYpIGpCLEeROqoyIhBa2cTMBTPKMMnGP?width=800&height=534&cropmode=none\" width=\"800\" height=\"534\" />")
  1995. ]]></look>
  1996. <use type="script">
  1997. msg ("The tape readers will not work without something to control them.")
  1998. </use>
  1999. </object>
  2000. <object name="tape machine">
  2001. <inherit name="editor_object" />
  2002. <usedefaultprefix type="boolean">false</usedefaultprefix>
  2003. <scenery />
  2004. <feature_usegive />
  2005. <look type="script"><![CDATA[
  2006. ClearScreen
  2007. msg ("It's a magnetic tape reader, capable of storing computer data. They are undoubtedly for storing the information used by the computer mainframe in this room. It's a mystery to you what magnetic illusions are contained within it.<BR>")
  2008. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4myxn-nIRAb8N15HkBvi9Z3YUYlttR8VfwzUklxSHDJNyvT-1uAXl7l2WlwU3m8NmFMuJYjKA-rIgnvCxqqHTrAAeNscRzyQo6L33n8f54UaNb5GFArGvz_1uY89rhgvtcgjTfCYWA1bhp0Qw9aQ4xpAd5fMMWMBWB6BvHHI3yAweJAazvEoWKid_xpHt1BUIG?width=800&height=605&cropmode=none\" width=\"800\" height=\"605\" />")
  2009. ]]></look>
  2010. <use type="script">
  2011. msg ("The tape reader will not work without something to control it.")
  2012. </use>
  2013. </object>
  2014. <object name="keyboard">
  2015. <inherit name="editor_object" />
  2016. <scenery />
  2017. <feature_usegive />
  2018. <look type="script"><![CDATA[
  2019. ClearScreen
  2020. msg ("It's a keyboard that looks highly used. The keys are worn down, and somewhat dirty. It seems operable however.<BR>")
  2021. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4mny56Lja_DWyHkTHgiMLucLyFZ0Sxi3mFr6FLwOo62xEiUV_4trtUsl7kHYm46fjV5ozsicCkBK02Owgnv0erxAuLv5jGLkXk3qbjD-P4Kvij3ZVcTTRBshdbuZY0SRVyvFILURzRGGUfJPpjx-U32lJ9SR6mzoo7SdhGNSdvigdkBgwndpQjzf39skwRj4_t?width=751&height=734&cropmode=none\" width=\"751\" height=\"734\" />")
  2022. ]]></look>
  2023. <use type="script">
  2024. msg ("You can use the keyboard if you use the computer terminal.")
  2025. </use>
  2026. </object>
  2027. <object name="monitor">
  2028. <inherit name="editor_object" />
  2029. <scenery />
  2030. <feature_usegive />
  2031. <use type="script">
  2032. msg ("You can use the monitor if you use the computer terminal.")
  2033. </use>
  2034. <look type="script"><![CDATA[
  2035. ClearScreen
  2036. msg ("The terminal monitor is primitive. Monochrome and ASCII characters only. Outside of the hospital, it would likely have limited use.<BR><img src=\"https://dsm01pap003files.storage.live.com/y4mF-cu_41S6SR5ZK3AMPwlupZqTXPaEFxiB2zoNMGRbqVYHT9xq8Wr4Vwwcum-zZRgX4FAGj-GZX58TUL12Rt2W_s2etUrRrobIYAFE-Q-8yKIbDL1GdAlxvtqttForVMaQzKQp98CSg4OGGzdlNy218o9bFHpWfrDrwWmRL_6LoXt3wVSRPzLqDdNmrdyXLUE?width=600&height=546&cropmode=none\" width=\"600\" height=\"546\" />")
  2037. ]]></look>
  2038. </object>
  2039. <object name="computer monitor">
  2040. <inherit name="editor_object" />
  2041. <scenery />
  2042. <feature_usegive />
  2043. <look type="script"><![CDATA[
  2044. ClearScreen
  2045. msg ("The terminal monitor is primitive. Monochrome and ASCII characters only. Outside of the hospital, it would likely have limited use.<BR><img src=\"https://dsm01pap003files.storage.live.com/y4mF-cu_41S6SR5ZK3AMPwlupZqTXPaEFxiB2zoNMGRbqVYHT9xq8Wr4Vwwcum-zZRgX4FAGj-GZX58TUL12Rt2W_s2etUrRrobIYAFE-Q-8yKIbDL1GdAlxvtqttForVMaQzKQp98CSg4OGGzdlNy218o9bFHpWfrDrwWmRL_6LoXt3wVSRPzLqDdNmrdyXLUE?width=600&height=546&cropmode=none\" width=\"600\" height=\"546\" />")
  2046. ]]></look>
  2047. <use type="script">
  2048. msg ("You can use the monitor if you use the computer terminal.")
  2049. </use>
  2050. </object>
  2051. <object name="mainframe">
  2052. <inherit name="editor_object" />
  2053. <scenery />
  2054. <feature_usegive />
  2055. <use type="script">
  2056. msg ("The computer can't be used directly...you have to use the computer terminal to access it.")
  2057. </use>
  2058. <look type="script"><![CDATA[
  2059. ClearScreen
  2060. msg ("The computer mainframe is a hulking and ancient looking supercomputer...long obsolete. Even though this hospital and its maze are eternal...what is ancient is perfectly suited to it. Nothing can be eternal without things that exist that both embody and withstand age and decay. The inner workings of this mainframe are inscrutable, but from where does the maze spring? Perhaps from inside this object, but perhaps also not.<BR><BR>")
  2061. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4msFvdqjfjRy5mGGsnU3pM6LBnbcTh-6kbZpRvCsXkTwmP0N-W9esCfY-Aa7MPIThGhtjGjl9K4xlvzVhI5-1D4sVIIVHDkqHJ9fgyrd1WVQWClO5S_soFW0Wksb6FZt7nMQssMGfsXZwUCm27LJFB6Lz4kr8o7G5YGFyLdDo_jAclRJPUELy2yfYIYOsA4T7B?width=800&height=600&cropmode=none\" width=\"800\" height=\"600\" />")
  2062. ]]></look>
  2063. </object>
  2064. <object name="computer">
  2065. <inherit name="editor_object" />
  2066. <scenery />
  2067. <feature_usegive />
  2068. <look type="script"><![CDATA[
  2069. ClearScreen
  2070. msg ("The computer mainframe is a hulking and ancient looking supercomputer...long obsolete. Even though this hospital and its maze are eternal...what is ancient is perfectly suited to it. Nothing can be eternal without things that exist that both embody and withstand age and decay. The inner workings of this mainframe are inscrutable, but from where does the maze spring? Perhaps from inside this object, but perhaps also not.<BR><BR>")
  2071. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4msFvdqjfjRy5mGGsnU3pM6LBnbcTh-6kbZpRvCsXkTwmP0N-W9esCfY-Aa7MPIThGhtjGjl9K4xlvzVhI5-1D4sVIIVHDkqHJ9fgyrd1WVQWClO5S_soFW0Wksb6FZt7nMQssMGfsXZwUCm27LJFB6Lz4kr8o7G5YGFyLdDo_jAclRJPUELy2yfYIYOsA4T7B?width=800&height=600&cropmode=none\" width=\"800\" height=\"600\" />")
  2072. ]]></look>
  2073. <use type="script">
  2074. msg ("The computer can't be used directly...you have to use the computer terminal to access it.")
  2075. </use>
  2076. </object>
  2077. <object name="tape reader">
  2078. <inherit name="editor_object" />
  2079. <usedefaultprefix type="boolean">false</usedefaultprefix>
  2080. <scenery />
  2081. <look type="script"><![CDATA[
  2082. ClearScreen
  2083. msg ("It's a magnetic tape reader, capable of storing computer data. They are undoubtedly for storing the information used by the computer mainframe in this room. It's a mystery to you what magnetic illusions are contained within it.<BR>")
  2084. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4myxn-nIRAb8N15HkBvi9Z3YUYlttR8VfwzUklxSHDJNyvT-1uAXl7l2WlwU3m8NmFMuJYjKA-rIgnvCxqqHTrAAeNscRzyQo6L33n8f54UaNb5GFArGvz_1uY89rhgvtcgjTfCYWA1bhp0Qw9aQ4xpAd5fMMWMBWB6BvHHI3yAweJAazvEoWKid_xpHt1BUIG?width=800&height=605&cropmode=none\" width=\"800\" height=\"605\" />")
  2085. ]]></look>
  2086. </object>
  2087. <object name="tape readers">
  2088. <inherit name="editor_object" />
  2089. <usedefaultprefix type="boolean">false</usedefaultprefix>
  2090. <scenery />
  2091. <feature_usegive />
  2092. <look type="script"><![CDATA[
  2093. ClearScreen
  2094. msg ("You see multiple magnetic tape reading machines, capable of storing computer data. They are undoubtedly for storing the information used by the computer mainframe in this room. It's a mystery to you what magnetic illusions are contained within them.<BR>")
  2095. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4m8em5sN2RpDWXjB7ofcOU4bwKdmvOMVNOKMPUhWmLCLJwKdfivhbfCmXutof2qQ6aHeiH8j0elLxANCSvmWRixyF6Udr-KSq2HJ_V4kiB-RUJ2jJWZgXA_8fnFXW3OFJ6TO9Bcq2hVRgyuv8sP-KhGsZLjN2-jYPEqYpIGpCLEeROqoyIhBa2cTMBTPKMMnGP?width=800&height=534&cropmode=none\" width=\"800\" height=\"534\" />")
  2096. ]]></look>
  2097. <use type="script">
  2098. msg ("The tape readers will not work without something to control them.")
  2099. </use>
  2100. </object>
  2101. <object name="computer tape readers">
  2102. <inherit name="editor_object" />
  2103. <scenery />
  2104. <feature_usegive />
  2105. <look type="script"><![CDATA[
  2106. ClearScreen
  2107. msg ("You see multiple magnetic tape reading machines, capable of storing computer data. They are undoubtedly for storing the information used by the computer mainframe in this room. It's a mystery to you what magnetic illusions are contained within them.<BR>")
  2108. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4m8em5sN2RpDWXjB7ofcOU4bwKdmvOMVNOKMPUhWmLCLJwKdfivhbfCmXutof2qQ6aHeiH8j0elLxANCSvmWRixyF6Udr-KSq2HJ_V4kiB-RUJ2jJWZgXA_8fnFXW3OFJ6TO9Bcq2hVRgyuv8sP-KhGsZLjN2-jYPEqYpIGpCLEeROqoyIhBa2cTMBTPKMMnGP?width=800&height=534&cropmode=none\" width=\"800\" height=\"534\" />")
  2109. ]]></look>
  2110. <use type="script">
  2111. msg ("The tape readers will not work without something to control them.")
  2112. </use>
  2113. </object>
  2114. <object name="computer tape reader">
  2115. <inherit name="editor_object" />
  2116. <usedefaultprefix type="boolean">false</usedefaultprefix>
  2117. <scenery />
  2118. <feature_usegive />
  2119. <look type="script"><![CDATA[
  2120. ClearScreen
  2121. msg ("It's a magnetic tape reader, capable of storing computer data. They are undoubtedly for storing the information used by the computer mainframe in this room. It's a mystery to you what magnetic illusions are contained within it.<BR>")
  2122. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4myxn-nIRAb8N15HkBvi9Z3YUYlttR8VfwzUklxSHDJNyvT-1uAXl7l2WlwU3m8NmFMuJYjKA-rIgnvCxqqHTrAAeNscRzyQo6L33n8f54UaNb5GFArGvz_1uY89rhgvtcgjTfCYWA1bhp0Qw9aQ4xpAd5fMMWMBWB6BvHHI3yAweJAazvEoWKid_xpHt1BUIG?width=800&height=605&cropmode=none\" width=\"800\" height=\"605\" />")
  2123. ]]></look>
  2124. <use type="script">
  2125. msg ("The tape reader will not work without something to control it.")
  2126. </use>
  2127. </object>
  2128. <object name="keyboard keys">
  2129. <inherit name="editor_object" />
  2130. <scenery />
  2131. </object>
  2132. <object name="keys">
  2133. <inherit name="editor_object" />
  2134. <scenery />
  2135. </object>
  2136. <object name="computer keys">
  2137. <inherit name="editor_object" />
  2138. <scenery />
  2139. </object>
  2140. <object name="computer key">
  2141. <inherit name="editor_object" />
  2142. <scenery />
  2143. </object>
  2144. <object name="key">
  2145. <inherit name="editor_object" />
  2146. <attr name="feature_usegive" type="boolean">false</attr>
  2147. <scenery />
  2148. <use type="script">
  2149. </use>
  2150. </object>
  2151. <object name="keyboard key">
  2152. <inherit name="editor_object" />
  2153. <scenery />
  2154. </object>
  2155. <object name="nardil">
  2156. <inherit name="editor_object" />
  2157. <feature_usegive />
  2158. <take />
  2159. <displayverbs type="stringlist">
  2160. <value>Look at</value>
  2161. <value>Swallow</value>
  2162. </displayverbs>
  2163. <visible type="boolean">false</visible>
  2164. <look type="script"><![CDATA[
  2165. ClearScreen
  2166. msg ("Nardil is a drug that performs miracles. It heals those who are awake yet walk in sleep. It cuts through the molasses of the depressive mundane. It restores novelty where it formerly existed<BR><BR><img src=\"https://dsm01pap003files.storage.live.com/y4m4KBghqKbSRc4PH0HwZmuUF_o1b5NDVgeVycHBRzRkiuK54D9mdUAd8_FkD9aVAsGEEP3Vz09mpSl93oGCTblM7Qos9pwg8AAafCDPgu-gSA3jv8NQ-6wrK8szBBaTlgYk4TIzLCptB3_2RkEnYBkoJPgWcZt9CkiboL3Ft75vb-mXtVJJgGKW47QkguQnDdN?width=660&height=645&cropmode=none\" width=\"660\" height=\"645\" />")
  2167. ]]></look>
  2168. <swallow type="script">
  2169. ClearScreen
  2170. JS.panesVisible (false)
  2171. JS.uiHide ("#txtCommandDiv")
  2172. msg ("You swallow the pill and begin to feel more alive.")
  2173. MakeObjectInvisible (Molindone)
  2174. play sound ("pill taking sound-high.mp3", true, false)
  2175. play sound ("3-sec-silence.mp3", true, false)
  2176. pilltake
  2177. computer room.pilltaken = true
  2178. ClearScreen
  2179. JS.panesVisible (true)
  2180. JS.uiShow ("#txtCommandDiv")
  2181. ShowRoomDescription
  2182. </swallow>
  2183. </object>
  2184. </object>
  2185. <command name="Map">
  2186. <pattern type="string">map</pattern>
  2187. <script>
  2188. ClearScreen
  2189. JS.panesVisible (false)
  2190. JS.ShowGrid (1000)
  2191. Grid_SetCentre (0, 0)
  2192. wait {
  2193. JS.ShowGrid (0)
  2194. JS.panesVisible (true)
  2195. ClearScreen
  2196. if (HasScript (game.pov.parent, "description")) {
  2197. do (game.pov.parent, "description")
  2198. }
  2199. else {
  2200. ShowRoomDescription
  2201. }
  2202. }
  2203. </script>
  2204. </command>
  2205. <object name="modern hospital bedroom">
  2206. <inherit name="editor_room" />
  2207. <attr name="grid_label" type="string"></attr>
  2208. <attr name="grid_fill">Black</attr>
  2209. <attr name="grid_label_colour">LawnGreen</attr>
  2210. <attr name="grid_border">LawnGreen</attr>
  2211. <pilltaken type="boolean">false</pilltaken>
  2212. <visited type="boolean">false</visited>
  2213. <grid_render />
  2214. <alias>Briarwood Hospital</alias>
  2215. <description type="script"><![CDATA[
  2216. if (hospital bedroom 2 door.locked = true) {
  2217. ClearScreen
  2218. msg ("You are in a modern hospital bedroom. Everything seems untouched. If someone was here, they made sure to restore their surroundings before they departed. In the corner, there is a wheelchair, and next to it, an IV bag is hung up beside a neatly made bed. The IV bag has been drained dry. On a plastic chair next to the bed, there is a book. In the northwest, there is an outline of some sort of passage in the wall, though it is closed.<BR>")
  2219. msg ("<img src=\"https://i.imgur.com/Ipkgx6gl.jpg\">")
  2220. }
  2221. else {
  2222. ClearScreen
  2223. msg ("You find yourself in a modern hospital bedroom. Everything appears untouched. If someone was here, they made sure to restore their surroundings before departing. In the corner, there is a wheelchair, and nearby, an IV bag hangs up next to a neatly made bed. The IV bag has been drained dry. On a plastic chair next to the bed, there is an open book. To the northwest, there is an open passageway.<BR>")
  2224. msg ("<img src=\"https://i.imgur.com/Ipkgx6gl.jpg\">")
  2225. }
  2226. ]]></description>
  2227. <onexit type="script">
  2228. </onexit>
  2229. <firstenter type="script">
  2230. </firstenter>
  2231. <enter type="script"><![CDATA[
  2232. src = "https://onedrive.live.com/download?cid=D21866242AF2EAD6&resid=D21866242AF2EAD6%21317&authkey=ANd8PRign3BOdKE"
  2233. msg ("<audio src='" + src + "' autoplay loop />")
  2234. ]]></enter>
  2235. <exit name="hospital bedroom 2 door" alias="northwest" to="hospital bedroom 2">
  2236. <inherit name="northwestdirection" />
  2237. <locked type="boolean">false</locked>
  2238. <lockmessage>That way is closed.</lockmessage>
  2239. <grid_render />
  2240. </exit>
  2241. <object name="journal">
  2242. <inherit name="editor_object" />
  2243. <alias>journal</alias>
  2244. <usedefaultprefix type="boolean">false</usedefaultprefix>
  2245. <displayverbs type="stringlist">
  2246. <value>Look at</value>
  2247. <value>Read</value>
  2248. </displayverbs>
  2249. <feature_usegive />
  2250. <drop type="boolean">false</drop>
  2251. <takemsg>There's no reason to take the journal. It has only one entry after all. What lasting entertainment could be obtained from reading that over and over again?</takemsg>
  2252. <visible />
  2253. <read type="script"><![CDATA[
  2254. ClearScreen
  2255. JS.panesVisible (false)
  2256. msg ("<img src=\"https://i.imgur.com/D6bBqAJl.jpg\"><BR>")
  2257. wait {
  2258. ClearScreen
  2259. msg ("<img src=\"https://i.imgur.com/WTGQWWxl.jpg\"><BR>")
  2260. wait {
  2261. ClearScreen
  2262. JS.uiHide ("#txtCommandDiv")
  2263. msg ("A section of wall opens in the bedroom. It leads to yet another bedroom.")
  2264. play sound ("stone slab sliding-high.mp3", true, false)
  2265. play sound ("1 sec silence.mp3", true, false)
  2266. ClearScreen
  2267. UnlockExit (hospital bedroom 2 door)
  2268. JS.uiShow ("#txtCommandDiv")
  2269. JS.panesVisible (true)
  2270. ShowRoomDescription
  2271. }
  2272. }
  2273. ]]></read>
  2274. <look type="script"><![CDATA[
  2275. ClearScreen
  2276. msg ("It is a journal...worn with use. Its age you cannot guess. The owner is undoubtedly long departed, and it begs of you to decipher its pages.<BR>")
  2277. msg ("<img src=\"https://i.imgur.com/LtQhhfIl.jpg\">")
  2278. ]]></look>
  2279. <use type="script"><![CDATA[
  2280. ClearScreen
  2281. msg ("You pick up the book and open it in order to read it. Amongst the scribblings and scrawled writing on the pages, you surmise that it is a journal...<BR>")
  2282. wait {
  2283. ClearScreen
  2284. msg ("<img src=\"https://i.imgur.com/D6bBqAJ.jpg\"><BR>")
  2285. wait {
  2286. ClearScreen
  2287. msg ("<img src=\"https://i.imgur.com/WTGQWWx.jpg\"><BR>")
  2288. wait {
  2289. do (game.pov.parent, "description")
  2290. }
  2291. }
  2292. }
  2293. ]]></use>
  2294. </object>
  2295. <exit alias="southwest" to="quadrangle 5">
  2296. <inherit name="southwestdirection" />
  2297. <grid_render />
  2298. </exit>
  2299. </object>
  2300. <object name="hospital bedroom 2">
  2301. <inherit name="editor_room" />
  2302. <attr name="grid_fill">Black</attr>
  2303. <attr name="grid_label_colour">Green</attr>
  2304. <attr name="grid_border">Green</attr>
  2305. <attr name="grid_label" type="string"></attr>
  2306. <attr name="grid_borderwidth" type="int">1</attr>
  2307. <visited type="boolean">false</visited>
  2308. <grid_render />
  2309. <alias>Briarwood Hospital</alias>
  2310. <description type="script"><![CDATA[
  2311. ClearScreen
  2312. msg ("This is a second hospital bedroom, albeit entropic, with a rusting bed with its mattress almost completely decayed. A beat up and corroded wheelchair lies to the side of the bed. It feels almost as though someone died in here, yet no corpse remains. There are a television and VCR in the corner. To the south is the more modern hospital bedroom. An odd pairing these two rooms make.<BR>")
  2313. msg ("<img src=\"https://i.imgur.com/aYYQKacl.jpg\">")
  2314. ]]></description>
  2315. <enter type="script">
  2316. </enter>
  2317. <exit alias="southeast" to="modern hospital bedroom">
  2318. <inherit name="southeastdirection" />
  2319. <grid_render />
  2320. </exit>
  2321. <object name="vcr2">
  2322. <inherit name="editor_object" />
  2323. <inherit name="switchable" />
  2324. <inherit name="container_open" />
  2325. <attr name="feature_usegive" type="boolean">false</attr>
  2326. <visible />
  2327. <alias>VCR</alias>
  2328. <displayverbs type="stringlist">
  2329. <value>Look at</value>
  2330. <value>Switch on</value>
  2331. </displayverbs>
  2332. <attr name="feature_container" type="boolean">false</attr>
  2333. <feature_switchable />
  2334. <attr name="feature_player" type="boolean">false</attr>
  2335. <switchonmsg>You press the power button on the VCR, and it comes to life.</switchonmsg>
  2336. <switchoffmsg>There's point in switching it off...at least your mind in its melancholy tells you that.</switchoffmsg>
  2337. <close type="boolean">false</close>
  2338. <open type="boolean">false</open>
  2339. <isopen />
  2340. <use type="script">
  2341. </use>
  2342. <look type="script"><![CDATA[
  2343. if (IsSwitchedOn(vcr2)) {
  2344. ClearScreen
  2345. msg (" The VCR looks old, and is potentially one of the first models ever produced; undoubtedly obsolete. It is turned on.<BR>")
  2346. msg ("<img src=\"https://i.imgur.com/3IIeE81.jpg\">")
  2347. }
  2348. else if (not IsSwitchedOn(vcr2)) {
  2349. ClearScreen
  2350. msg ("The VCR looks old, and is potentially one of the first models ever produced; undoubtedly obsolete. It is turned off. It looks like it has the potential to function however, since it doesn't seem to be damaged in any way.<BR>")
  2351. msg ("<img src=\"https://i.imgur.com/3IIeE81.jpg\">")
  2352. }
  2353. ]]></look>
  2354. <addscript type="script">
  2355. </addscript>
  2356. <onswitchoff type="script">
  2357. SwitchOn (vcr2)
  2358. </onswitchoff>
  2359. </object>
  2360. <object name="television1">
  2361. <inherit name="editor_object" />
  2362. <inherit name="switchable" />
  2363. <alias>television</alias>
  2364. <scenery type="boolean">false</scenery>
  2365. <drop type="boolean">false</drop>
  2366. <displayverbs type="stringlist">
  2367. <value>Look at</value>
  2368. </displayverbs>
  2369. <watch type="string"></watch>
  2370. <feature_switchable />
  2371. <switchedon />
  2372. <look type="script"><![CDATA[
  2373. if (ListContains(ScopeVisible(), videotape1)) {
  2374. ClearScreen
  2375. msg ("The television is old...static dances across its scratched glass screen. On the floor is an old VCR. A labyrinth of wires go this way and that across the floor, with two haphazardly plugged into the back of the unit. The scene reminds one of if a pack of scurrying rats tried to set up the technology to entertain humans.There is a tape on the floor...the label has something written on it. The writing is clear enough to read.<BR>")
  2376. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4mRXfMhgiJ3ZSFpU6lgKbvrlj0-HwAvIcvLUOrvqPn8w1ZeJFh9zD8xYT-foaBKMz5YE_b9UrNddnJIOC0Hhfe5PLBMv22SnSVeiau06QI-UYew6tBRpcvw93H5EOjndJ5B7mSBAfY4ALA1BXlJ7ZxmmiPMvbg7p8MCFvhB1wnT-_qVVWnF4no-itoAJ2gJ-Tz?width=800&height=600&cropmode=none\" width=\"800\" height=\"600\" />")
  2377. }
  2378. else {
  2379. ClearScreen
  2380. msg ("The television is old...static dances across its scratched glass screen. On the floor is an old VCR. A labyrinth of wires go this way and that across the floor, with two haphazardly plugged into the back of the unit. The scene reminds one of if a pack of scurrying rats tried to set up the technology to entertain humans.<BR>")
  2381. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4mCGCxCMLFcb28uQeK5rB6PqCaTF2LwlS2p3S1jDsFZBvKd7fXTbcNAlZFHcUH4i_uXi9v9ux2b659woc44DdR29Hd87osRbPDkclXxC20lI2rOHBa0QQRnRuA0QDtsLRfdhLIBhNvazbO6OAgLCK_2blM34yjKNw_l0Z2aFFlxeMxVqQF15dMwc9l3vRvrDSj?width=800&height=600&cropmode=none\" width=\"800\" height=\"600\" />")
  2382. }
  2383. ]]></look>
  2384. <onswitchoff type="script">
  2385. msg ("There's point in switching it off...at least your mind in its melancholy tells you that.")
  2386. SwitchOn (television1)
  2387. </onswitchoff>
  2388. </object>
  2389. <object name="videotape1">
  2390. <inherit name="editor_object" />
  2391. <inherit name="container_open" />
  2392. <alias>videotape</alias>
  2393. <scenery type="boolean">false</scenery>
  2394. <open type="boolean">false</open>
  2395. <attr name="feature_container" type="boolean">false</attr>
  2396. <close type="boolean">false</close>
  2397. <isopen />
  2398. <displayverbs type="stringlist">
  2399. <value>Look at</value>
  2400. <value>Play</value>
  2401. </displayverbs>
  2402. <take type="boolean">false</take>
  2403. <inventoryverbs type="stringlist">
  2404. <value>Look at</value>
  2405. <value>Use</value>
  2406. <value>Drop</value>
  2407. <value>Put</value>
  2408. </inventoryverbs>
  2409. <visible type="boolean">false</visible>
  2410. <feature_usegive />
  2411. <drop type="boolean">false</drop>
  2412. <attr name="feature_edible" type="boolean">false</attr>
  2413. <look type="script"><![CDATA[
  2414. ClearScreen
  2415. msg ("The tape is old, as is obvious by the damage to the label stuck to the top of it. \"THE ABSORPTION OF ABSORPTION.01\" is written in a messy fashion on the label.<BR>")
  2416. msg ("<img src=\"https://dsm01pap003files.storage.live.com/y4mEFIKTB20YB6fVwE6oI8Kuy57mLRyON211RLFVJ9HKafptcNUSqtO9KCDSYS37gYNEdOMga5vKDsCKLYuHu3oiXzm0C1E3Hf7SXW6z10gZZxJol2MNXAzKQMO30r9uqs9bWsPipTZKfwPyA9ZKYuLpfuQqouyrwnTFeVeO7KFyBRrBBeZplyeJ2qxLCVGpxnj?width=800&height=534&cropmode=none\" width=\"800\" height=\"534\" />")
  2417. ]]></look>
  2418. <onopen type="script">
  2419. </onopen>
  2420. <insertintovcr type="script">
  2421. if (IsSwitchedOn(vcr2)) {
  2422. }
  2423. </insertintovcr>
  2424. <ontake type="script">
  2425. SetObjectFlagOn (videotape1, "true")
  2426. </ontake>
  2427. <play type="script"><![CDATA[
  2428. if (IsSwitchedOn(vcr2)) {
  2429. if (not GetBoolean(videotape1, "played")) {
  2430. ClearScreen
  2431. msg ("<img src=\"https://i.imgur.com/079y9iC.gif\"><BR>You pick up the videotape and give it a gentle push into the VCR. The VCR produces some whirring a clicking sounds and begins to play.<BR>")
  2432. wait {
  2433. ClearScreen
  2434. JS.panesVisible (false)
  2435. JS.uiHide ("#txtCommandDiv")
  2436. msg ("<CENTER><img src='https://i.imgur.com/V0wR2wz.gif' width='854' height='480'><BR><img src=\"https://i.imgur.com/emL6tmI.gif\"></CENTER>")
  2437. wait {
  2438. ClearScreen
  2439. msg ("<CENTER><img src='https://i.imgur.com/CbWe4lz.gif' width='854' height='480' /><BR><img src=\"https://i.imgur.com/emL6tmI.gif\"></CENTER>")
  2440. wait {
  2441. ClearScreen
  2442. msg ("<CENTER><img src='https://i.imgur.com/zyGNl2C.gif' width='854' height='480' /><BR><img src=\"https://i.imgur.com/emL6tmI.gif\"></CENTER>")
  2443. wait {
  2444. ClearScreen
  2445. msg ("<CENTER><img src='https://i.imgur.com/xhN8CHX.gif' width='854' height='480' /><BR><img src=\"https://i.imgur.com/emL6tmI.gif\"></CENTER>")
  2446. wait {
  2447. ClearScreen
  2448. msg ("<CENTER><img src='https://i.imgur.com/zQuBgtG.gif' width='854' height='480' /><BR><img src=\"https://i.imgur.com/emL6tmI.gif\"></CENTER>")
  2449. wait {
  2450. MakeObjectInvisible (videotape1)
  2451. JS.uiShow ("#txtCommandDiv")
  2452. ClearScreen
  2453. msg ("<img src=\"https://i.imgur.com/11m9kMF.gif\"><P>The tape ends and the image bleeds into static. You've witnessed the absorption of Absorption.01.")
  2454. play sound ("tv static.mp3", false, false)
  2455. wait {
  2456. ClearScreen
  2457. JS.uiHide ("#txtCommandDiv")
  2458. TextFX_Unscramble ("A pill of Molindone appears on the floor.", 50, 1)
  2459. play sound ("general materialization sound.mp3", true, false)
  2460. msg ("<BR>")
  2461. MakeObjectVisible (Molindone)
  2462. SetObjectFlagOn (videotape1, "played")
  2463. ShowRoomDescription
  2464. JS.uiShow ("#txtCommandDiv")
  2465. JS.panesVisible (true)
  2466. }
  2467. }
  2468. }
  2469. }
  2470. }
  2471. }
  2472. }
  2473. }
  2474. }
  2475. else if (not IsSwitchedOn(vcr2)) {
  2476. msg ("The VCR must be turned on before you can play a tape.")
  2477. }
  2478. ]]></play>
  2479. <use type="script"><![CDATA[
  2480. if (IsSwitchedOn(vcr2)) {
  2481. if (not GetBoolean(videotape1, "played")) {
  2482. ClearScreen
  2483. msg ("<img src=\"https://i.imgur.com/079y9iC.gif\"><BR>You pick up the videotape and give it a gentle push into the VCR. The VCR produces some whirring a clicking sounds and begins to play.<BR>")
  2484. wait {
  2485. stop sound
  2486. ClearScreen
  2487. JS.panesVisible (false)
  2488. JS.uiHide ("#txtCommandDiv")
  2489. msg ("<CENTER><img src='https://i.imgur.com/jZAO6KK.gif' width='854 height='480' /\"><BR><img src=\"https://i.imgur.com/emL6tmI.gif width='854' height='480' /\"></CENTER><")
  2490. wait {
  2491. ClearScreen
  2492. msg ("<CENTER><img src='https://i.imgur.com/CbWe4lz.gif' width='854' height='480' /><BR><img src=\"https://i.imgur.com/emL6tmI.gif\"></CENTER>")
  2493. wait {
  2494. ClearScreen
  2495. msg ("<CENTER><img src='https://i.imgur.com/zyGNl2C.gif' width='854' height='480' /><BR><img src=\"https://i.imgur.com/emL6tmI.gif\"></CENTER>")
  2496. wait {
  2497. ClearScreen
  2498. msg ("<CENTER><img src='https://i.imgur.com/xhN8CHX.gif' width='854' height='480' /><BR><img src=\"https://i.imgur.com/emL6tmI.gif\"></CENTER>")
  2499. wait {
  2500. ClearScreen
  2501. msg ("<CENTER><img src=\"https://i.imgur.com/fTElUar.gif\" width='854' height='480' /><BR><img src=\"https://i.imgur.com/emL6tmI.gif\"></CENTER>")
  2502. wait {
  2503. MakeObjectInvisible (videotape1)
  2504. JS.uiShow ("#txtCommandDiv")
  2505. ClearScreen
  2506. msg ("<img src=\"https://i.imgur.com/11m9kMF.gif\"><P>The tape ends and the image bleeds into static. You've witnessed the absorption of Absorption.01.")
  2507. play sound ("tv static.mp3", false, false)
  2508. wait {
  2509. ClearScreen
  2510. JS.uiHide ("#txtCommandDiv")
  2511. TextFX_Unscramble ("A pill of Molindone appears on the floor.", 50, 1)
  2512. play sound ("general materialization sound.mp3", true, false)
  2513. msg ("<BR>")
  2514. MakeObjectVisible (Molindone)
  2515. SetObjectFlagOn (videotape1, "played")
  2516. ShowRoomDescription
  2517. JS.uiShow ("#txtCommandDiv")
  2518. JS.panesVisible (true)
  2519. }
  2520. }
  2521. }
  2522. }
  2523. }
  2524. }
  2525. }
  2526. }
  2527. }
  2528. else if (not IsSwitchedOn(vcr2)) {
  2529. msg ("The VCR must be turned on before you can play a tape.")
  2530. }
  2531. ]]></use>
  2532. <watch type="script"><![CDATA[
  2533. if (IsSwitchedOn(vcr2)) {
  2534. if (not GetBoolean(videotape1, "played")) {
  2535. ClearScreen
  2536. msg ("<img src=\"https://i.imgur.com/079y9iC.gif\"><BR>You pick up the videotape and give it a gentle push into the VCR. The VCR produces some whirring a clicking sounds and begins to play.<BR>")
  2537. wait {
  2538. stop sound
  2539. ClearScreen
  2540. JS.panesVisible (false)
  2541. JS.uiHide ("#txtCommandDiv")
  2542. msg ("<CENTER><img src='https://i.imgur.com/jZAO6KK.gif' width='854 height='480' /\"><BR><img src=\"https://i.imgur.com/emL6tmI.gif width='854' height='480' /\"></CENTER><")
  2543. wait {
  2544. ClearScreen
  2545. msg ("<CENTER><img src='https://i.imgur.com/CbWe4lz.gif' width='854' height='480' /><BR><img src=\"https://i.imgur.com/emL6tmI.gif\"></CENTER>")
  2546. wait {
  2547. ClearScreen
  2548. msg ("<CENTER><img src='https://i.imgur.com/zyGNl2C.gif' width='854' height='480' /><BR><img src=\"https://i.imgur.com/emL6tmI.gif\"></CENTER>")
  2549. wait {
  2550. ClearScreen
  2551. msg ("<CENTER><img src='https://i.imgur.com/xhN8CHX.gif' width='854' height='480' /><BR><img src=\"https://i.imgur.com/emL6tmI.gif\"></CENTER>")
  2552. wait {
  2553. ClearScreen
  2554. msg ("<CENTER><img src=\"https://i.imgur.com/fTElUar.gif\" width='854' height='480' /><BR><img src=\"https://i.imgur.com/emL6tmI.gif\"></CENTER>")
  2555. wait {
  2556. MakeObjectInvisible (videotape1)
  2557. JS.uiShow ("#txtCommandDiv")
  2558. ClearScreen
  2559. msg ("<img src=\"https://i.imgur.com/11m9kMF.gif\"><P>The tape ends and the image bleeds into static. You've witnessed the absorption of Absorption.01.")
  2560. play sound ("tv static.mp3", false, false)
  2561. wait {
  2562. ClearScreen
  2563. JS.uiHide ("#txtCommandDiv")
  2564. TextFX_Unscramble ("A pill of Molindone appears on the floor.", 50, 1)
  2565. play sound ("general materialization sound.mp3", true, false)
  2566. msg ("<BR>")
  2567. MakeObjectVisible (Molindone)
  2568. SetObjectFlagOn (videotape1, "played")
  2569. ShowRoomDescription
  2570. JS.uiShow ("#txtCommandDiv")
  2571. JS.panesVisible (true)
  2572. }
  2573. }
  2574. }
  2575. }
  2576. }
  2577. }
  2578. }
  2579. }
  2580. }
  2581. else if (not IsSwitchedOn(vcr2)) {
  2582. msg ("The VCR must be turned on before you can play a tape.")
  2583. }
  2584. ]]></watch>
  2585. </object>
  2586. <object name="journal1">
  2587. <inherit name="editor_object" />
  2588. <alias>journal</alias>
  2589. <feature_usegive />
  2590. <drop type="boolean">false</drop>
  2591. <displayverbs type="stringlist">
  2592. <value>Look at</value>
  2593. <value>Read</value>
  2594. </displayverbs>
  2595. <read type="script"><![CDATA[
  2596. if (not ListContains(ScopeVisible(), videotape1)) {
  2597. JS.panesVisible (false)
  2598. ClearScreen
  2599. msg ("<CENTER><img src=\"https://dsm01pap003files.storage.live.com/y4mn7OJGCwGn88aFE-Uxvk8VyBPBS8J4PmVlzkc9UOPT2Mqr6j4yqKn3S5QljFKHT6VOuZozJFOWd_JUK_x9ykVCIb6voyfx1FYlNpJ__aqpC9Pu7RgodGk5e-HiC9LGxDUQNvUl0DCAgww5NwC34JuRCZe0xFeeiT3cQXgNUrnizl3_Leq1KUrxHgexN2MhJkQ?width=594&height=750&cropmode=none\" width=\"594\" height=\"750\" /></CENTER><BR>")
  2600. wait {
  2601. ClearScreen
  2602. msg ("<CENTER><img src=\"https://dsm01pap003files.storage.live.com/y4mymNUfwWuINDr6TEI1SOtvmQJYaPUlP6edeSsoVE6Bw1ZnCwS0fPF7jJwLdD2vhnwWgiupS7wHED6rmd2WMKf1--TG7EP0PXfuLan84cjFru2_udhmTSX2rWfpmbVyp_YxCGzxIMX_YEk_XUsu4xK2anI0xSbouMDTBH7x4zaKieI7Fcw0E4YDaqWZuM-JqTP?width=594&height=750&cropmode=none\" width=\"594\" height=\"750\" /></CENTER><BR>")
  2603. wait {
  2604. ClearScreen
  2605. msg ("<CENTER><img src=\"https://dsm01pap003files.storage.live.com/y4mb7IuWrFMQ1aMZ-3_HgDJr9v5ptdC8xsy0tbzcl7n4dMnqPBpeC7vIx520V80hkc9QatQF_4l0jhi2Dj9bU1noFzGo_19qWxOqPPRsNGaggtNimYFNOJPTwJRpXLbNKWl7CdDY0Pg8sN1mcNemg6MiwdyNLXL-fT0xf6ncgssHqM44jfF4n9ZhhHagnDKK5n3?width=475&height=600&cropmode=none\" width=\"594\" height=\"750\" /></CENTER><BR>")
  2606. wait {
  2607. ClearScreen
  2608. JS.uiHide ("#txtCommandDiv")
  2609. TextFX_Unscramble ("A videotape materializes in the room.", 50, 1)
  2610. play sound ("general materialization sound.mp3", true, false)
  2611. SetTimeout (1) {
  2612. msg ("<BR>")
  2613. MakeObjectVisible (videotape1)
  2614. if (HasScript (game.pov.parent, "description")) {
  2615. do (game.pov.parent, "description")
  2616. }
  2617. else {
  2618. msg (GetRoomDescription())
  2619. }
  2620. JS.uiShow ("#txtCommandDiv")
  2621. JS.panesVisible (true)
  2622. }
  2623. }
  2624. }
  2625. }
  2626. }
  2627. else {
  2628. JS.panesVisible (false)
  2629. ClearScreen
  2630. msg ("<CENTER><img src=\"https://dsm01pap003files.storage.live.com/y4mn7OJGCwGn88aFE-Uxvk8VyBPBS8J4PmVlzkc9UOPT2Mqr6j4yqKn3S5QljFKHT6VOuZozJFOWd_JUK_x9ykVCIb6voyfx1FYlNpJ__aqpC9Pu7RgodGk5e-HiC9LGxDUQNvUl0DCAgww5NwC34JuRCZe0xFeeiT3cQXgNUrnizl3_Leq1KUrxHgexN2MhJkQ?width=594&height=750&cropmode=none\" width=\"594\" height=\"750\" /></CENTER><BR>")
  2631. wait {
  2632. ClearScreen
  2633. msg ("<CENTER><img src=\"https://dsm01pap003files.storage.live.com/y4mymNUfwWuINDr6TEI1SOtvmQJYaPUlP6edeSsoVE6Bw1ZnCwS0fPF7jJwLdD2vhnwWgiupS7wHED6rmd2WMKf1--TG7EP0PXfuLan84cjFru2_udhmTSX2rWfpmbVyp_YxCGzxIMX_YEk_XUsu4xK2anI0xSbouMDTBH7x4zaKieI7Fcw0E4YDaqWZuM-JqTP?width=594&height=750&cropmode=none\" width=\"594\" height=\"750\" /></CENTER><BR>")
  2634. wait {
  2635. ClearScreen
  2636. msg ("<CENTER><img src=\"https://dsm01pap003files.storage.live.com/y4mb7IuWrFMQ1aMZ-3_HgDJr9v5ptdC8xsy0tbzcl7n4dMnqPBpeC7vIx520V80hkc9QatQF_4l0jhi2Dj9bU1noFzGo_19qWxOqPPRsNGaggtNimYFNOJPTwJRpXLbNKWl7CdDY0Pg8sN1mcNemg6MiwdyNLXL-fT0xf6ncgssHqM44jfF4n9ZhhHagnDKK5n3?width=475&height=600&cropmode=none\" width=\"475\" height=\"600\" /></CENTER><BR>")
  2637. wait {
  2638. JS.panesVisible (true)
  2639. if (HasScript (game.pov.parent, "description")) {
  2640. do (game.pov.parent, "description")
  2641. }
  2642. else {
  2643. msg (GetRoomDescription())
  2644. }
  2645. }
  2646. }
  2647. }
  2648. }
  2649. ]]></read>
  2650. <look type="script"><![CDATA[
  2651. ClearScreen
  2652. msg ("This is another journal, like in the previous bedroom. Though this one emits a mysterious light, beckoning you to read it.<BR><BR><img src=\"https://dsm01pap003files.storage.live.com/y4m01dFV-2PTjy1bst057ciaZT2pv7ba2YPwYrpEWp1Zrqf4h6YMP4rX_Y0ATAeDdYKOxTbcBhKZdyxiDluJm7IgIUmgDHpNeDbJNCvytNPPnH87-n6m8SuhW1KvlLiFPPBWZoBuyrYzUc1fBrHdVpLxjLcAIvXvyJsrPACnoRQ3jIK8zorbGVa_329Wn0ep2Ub?width=800&height=500&cropmode=none\" width=\"800\" height=\"500\" />")
  2653. ]]></look>
  2654. <use type="script"><![CDATA[
  2655. if (not ListContains(ScopeVisible(), videotape1)) {
  2656. JS.panesVisible (false)
  2657. ClearScreen
  2658. msg ("<CENTER><img src=\"https://i.imgur.com/2QYAaz6.jpg\"></CENTER><BR>")
  2659. wait {
  2660. ClearScreen
  2661. msg ("<CENTER><img src=\"https://i.imgur.com/bMKWzLi.jpg\"></CENTER><BR>")
  2662. wait {
  2663. ClearScreen
  2664. msg ("<CENTER><img src=\"https://i.imgur.com/QgiZRgD.jpg\"></CENTER><BR>")
  2665. wait {
  2666. JS.uiHide ("#txtCommandDiv")
  2667. ClearScreen
  2668. JS.panesVisible (true)
  2669. TextFX_Unscramble ("A videotape materializes in the room.", 50, 1)
  2670. play sound ("pill-manifestation.mp3", false, false)
  2671. SetTimeout (5) {
  2672. JS.uiShow ("#txtCommandDiv")
  2673. MakeObjectVisible (videotape1)
  2674. if (HasScript (game.pov.parent, "description")) {
  2675. do (game.pov.parent, "description")
  2676. }
  2677. else {
  2678. msg (GetRoomDescription())
  2679. }
  2680. }
  2681. }
  2682. }
  2683. }
  2684. }
  2685. else {
  2686. JS.panesVisible (false)
  2687. ClearScreen
  2688. msg ("<CENTER><img src=\"https://i.imgur.com/2QYAaz6.jpg\"></CENTER><BR>")
  2689. wait {
  2690. ClearScreen
  2691. msg ("<CENTER><img src=\"https://i.imgur.com/bMKWzLi.jpg\"></CENTER><BR>")
  2692. wait {
  2693. ClearScreen
  2694. msg ("<CENTER><img src=\"https://i.imgur.com/QgiZRgD.jpg\"></CENTER><BR>")
  2695. wait {
  2696. ClearScreen
  2697. JS.panesVisible (true)
  2698. if (HasScript (game.pov.parent, "description")) {
  2699. do (game.pov.parent, "description")
  2700. }
  2701. else {
  2702. msg (GetRoomDescription())
  2703. }
  2704. }
  2705. }
  2706. }
  2707. }
  2708. ]]></use>
  2709. </object>
  2710. <object name="Molindone">
  2711. <inherit name="editor_object" />
  2712. <visible type="boolean">false</visible>
  2713. <not_all />
  2714. <drop type="boolean">false</drop>
  2715. <feature_usegive />
  2716. <displayverbs type="stringlist">
  2717. <value>Look at</value>
  2718. <value>Swallow</value>
  2719. </displayverbs>
  2720. <look type="script"><![CDATA[
  2721. ClearScreen
  2722. msg ("Molindone is an inhibitor of magical thinking. It reduces cognitive distortions, and desolidifies personal obstacles. In the context of the maze, it has these alternative properties. Side effects for medications administered at Briarwood Hospital are non-existant, per the 1979 decree of the watcher.<BR><BR><img src=\"https://dsm01pap003files.storage.live.com/y4mwGPddZX6rM_xAJPzhYeHs6dwGzuputn_0vMNkDLzF-OQNBIdd8CS5b-DOQx5afBwo8lMye2WVhWqB9xBqnHp3o44olOc96vvychhqiCPneaQ4mEiKEgLMHeUqdBdL0hKufaP2Yeflf7BEpsZ4DnXiiFU_hj93xweY0Wuy7R8_e8a1Pq-4YhBBEuzHJ5538KD?width=660&height=495&cropmode=none\" width=\"660\" height=\"495\" />")
  2723. ]]></look>
  2724. <swallow type="script">
  2725. ClearScreen
  2726. JS.panesVisible (false)
  2727. JS.uiHide ("#txtCommandDiv")
  2728. msg ("You swallow the pill and feel a building sense of reality and relief.")
  2729. MakeObjectInvisible (Molindone)
  2730. play sound ("pill taking sound-high.mp3", true, false)
  2731. play sound ("3-sec-silence.mp3", true, false)
  2732. pilltake
  2733. set (modern hospital bedroom, "pilltaken", true)
  2734. ClearScreen
  2735. JS.panesVisible (true)
  2736. JS.uiShow ("#txtCommandDiv")
  2737. ShowRoomDescription
  2738. </swallow>
  2739. <take type="script">
  2740. ClearScreen
  2741. JS.panesVisible (false)
  2742. JS.uiHide ("#txtCommandDiv")
  2743. msg ("You swallow the pill and feel a building sense of reality and relief.")
  2744. MakeObjectInvisible (Molindone)
  2745. play sound ("pill taking sound.mp3", true, false)
  2746. play sound ("1 sec silence.mp3", false, false)
  2747. pilltake
  2748. set (modern hospital bedroom, "pilltaken", true)
  2749. ClearScreen
  2750. JS.panesVisible (true)
  2751. JS.uiShow ("#txtCommandDiv")
  2752. </take>
  2753. <use type="script">
  2754. ClearScreen
  2755. JS.panesVisible (false)
  2756. JS.uiHide ("#txtCommandDiv")
  2757. msg ("You swallow the pill and feel a building sense of reality and relief.")
  2758. MakeObjectInvisible (Molindone)
  2759. play sound ("pill taking sound.mp3", true, false)
  2760. play sound ("1 sec silence.mp3", false, false)
  2761. pilltake
  2762. set (modern hospital bedroom, "pilltaken", true)
  2763. ClearScreen
  2764. JS.panesVisible (true)
  2765. JS.uiShow ("#txtCommandDiv")
  2766. </use>
  2767. </object>
  2768. </object>
  2769. <verb>
  2770. <property>play</property>
  2771. <pattern>play</pattern>
  2772. <defaultexpression>"You can't play " + object.article + "."</defaultexpression>
  2773. </verb>
  2774. <object name="scenery">
  2775. <inherit name="editor_room" />
  2776. <alias>Briarwood Hospital</alias>
  2777. <object name="wall">
  2778. <inherit name="editor_object" />
  2779. <scenery />
  2780. <look>The wall looks dirty and worn with age. Other than that, there is nothing remarkable about it.</look>
  2781. </object>
  2782. <object name="chairs">
  2783. <inherit name="editor_object" />
  2784. <look>The chairs are beat up and old. They might of at one time been comfortable to sit on, but the years have ruined them. They sit in a sad row next to the bulletin board.</look>
  2785. <scenery />
  2786. </object>
  2787. <object name="chair">
  2788. <inherit name="editor_object" />
  2789. <alias>chair</alias>
  2790. <look>The chair is beat up and old. It might of at one time been comfortable to sit on, but the years have ruined it.</look>
  2791. <scenery />
  2792. </object>
  2793. <object name="door">
  2794. <inherit name="editor_object" />
  2795. <isroom type="boolean">false</isroom>
  2796. <scenery />
  2797. <look>It looka to be an average looking door. Sometimes going through a door is like entering a gateway into your own mind, where you find that up is down and down is up. Or, at the same time, perhaps not.</look>
  2798. </object>
  2799. </object>
  2800. <command name="Help">
  2801. <pattern>Help</pattern>
  2802. <script><![CDATA[
  2803. msg ("These are the instructions.<BR>")
  2804. ]]></script>
  2805. </command>
  2806. <command name="Room">
  2807. <pattern>room</pattern>
  2808. <script>
  2809. do (game.pov.parent, "description")
  2810. </script>
  2811. </command>
  2812. <verb>
  2813. <property>watch</property>
  2814. <pattern>watch</pattern>
  2815. <defaultexpression>"You can't watch " + object.article + "."</defaultexpression>
  2816. </verb>
  2817. <verb>
  2818. <property>playintapeplayer</property>
  2819. <pattern>play in tape player</pattern>
  2820. <defaultexpression>"You can't play in tape player " + object.article + "."</defaultexpression>
  2821. </verb>
  2822. <verb>
  2823. <property>insertintotapeplayer</property>
  2824. <pattern>insert into tape player</pattern>
  2825. <defaultexpression>"You can't insert into tape player " + object.article + "."</defaultexpression>
  2826. </verb>
  2827. <verb>
  2828. <property>playtape</property>
  2829. <pattern>play tape</pattern>
  2830. <defaultexpression>"You can't play tape " + object.article + "."</defaultexpression>
  2831. </verb>
  2832. <object name="quadrangle 6">
  2833. <inherit name="editor_room" />
  2834. <visited type="boolean">false</visited>
  2835. <grid_render />
  2836. <attr name="grid_label" type="string"></attr>
  2837. <attr name="grid_fill">Black</attr>
  2838. <attr name="grid_label_colour">LawnGreen</attr>
  2839. <attr name="grid_border">LawnGreen</attr>
  2840. <alias>Briarwood Hospital</alias>
  2841. <description type="script"><![CDATA[
  2842. ClearScreen
  2843. msg ("<img src=\"https://i.imgur.com/a8y9XPsl.jpg\">")
  2844. ]]></description>
  2845. <exit alias="east" to="museum of trauma">
  2846. <inherit name="eastdirection" />
  2847. <grid_render />
  2848. </exit>
  2849. <exit alias="southeast" to="quadrangle 5">
  2850. <inherit name="southeastdirection" />
  2851. <grid_render />
  2852. </exit>
  2853. </object>
  2854. <object name="museum of trauma">
  2855. <inherit name="editor_room" />
  2856. <visited type="boolean">false</visited>
  2857. <grid_render />
  2858. <attr name="grid_label" type="string"></attr>
  2859. <attr name="grid_fill">Black</attr>
  2860. <attr name="grid_label_colour">LawnGreen</attr>
  2861. <attr name="grid_border">LawnGreen</attr>
  2862. <alias>Briarwood Hospital</alias>
  2863. <description type="script"><![CDATA[
  2864. ClearScreen
  2865. msg ("You have entered the Museum of Trauma. Here, our visitors deposit their most vile yet transformative experiences, which are then frozen in glass and framed. These exhibits serve as warnings to others, cautioning them against venturing where others have suffered. They can also be seen as a warning, or perhaps even a promise of freedom.Trauma runs deep beneath the ground, unseen but firmly rooted. It resists all attempts at excavation. If you choose to bury your pain here, it becomes sustenance for an insatiable hunger. This is where the Banyan Tree thrives. Before you, three paintings stand. Gaze upon them and discover a path leading to numerous chambers<BR><BR><img src=\"https://briarwood.sfo2.cdn.digitaloceanspaces.com/images/trauma-museum/trauma%20museum%20gallery.jpg\">")
  2866. ]]></description>
  2867. <enter type="script">
  2868. </enter>
  2869. <object name="left painting">
  2870. <inherit name="editor_object" />
  2871. <displayverbs type="stringlist">
  2872. <value>Look at</value>
  2873. </displayverbs>
  2874. <isroom />
  2875. <look type="script"><![CDATA[
  2876. ClearScreen
  2877. PrintCentered ("We met down by the Banyan Tree, where I beckoned for you to enter, so that you could solve your pain and ultimately destroy me. I have opened a gateway for you...so that you can see.<BR><BR>")
  2878. picture ("painting 1.jpg")
  2879. msg ("<BR>")
  2880. play sound ("portal opening sound effect.mp3", true, false)
  2881. picture ("enter button push.gif")
  2882. wait {
  2883. ClearScreen
  2884. MakeExitVisible (left painting exit)
  2885. ShowRoomDescription
  2886. }
  2887. ]]></look>
  2888. </object>
  2889. <object name="center painting">
  2890. <inherit name="editor_object" />
  2891. <displayverbs type="stringlist">
  2892. <value>Look at</value>
  2893. </displayverbs>
  2894. <look type="script"><![CDATA[
  2895. ClearScreen
  2896. PrintCentered ("Inside the Banyan Tree, my trauma plagues me. The branches of the tree spread without limit, extending my pain indefinitely. I have opened a portal, so that you can see the you that is me.<BR><BR><img src=\"https://briarwood.sfo2.cdn.digitaloceanspaces.com/images/trauma-museum/painting%202.jpg\"><BR><BR>")
  2897. ]]></look>
  2898. </object>
  2899. <object name="right painting">
  2900. <inherit name="editor_object" />
  2901. <look type="script"><![CDATA[
  2902. ClearScreen
  2903. PrintCentered ("Your task lies twisted around the Banyan Tree, where the maze is you.<BR><BR><img src=\"https://briarwood.sfo2.cdn.digitaloceanspaces.com/images/trauma-museum/painting%203.jpg\"")
  2904. ]]></look>
  2905. </object>
  2906. <exit alias="west" to="quadrangle 6">
  2907. <inherit name="westdirection" />
  2908. <grid_render />
  2909. </exit>
  2910. <exit name="left painting exit" alias="northwest" to="left painting">
  2911. <inherit name="northwestdirection" />
  2912. <runscript />
  2913. <visible type="boolean">false</visible>
  2914. <scenery type="boolean">false</scenery>
  2915. <script type="script">
  2916. play sound ("teleport-sound.mp3", false, false)
  2917. MoveObject (player, three gateways)
  2918. </script>
  2919. </exit>
  2920. <object name="three gateways">
  2921. <inherit name="editor_room" />
  2922. <description type="script"><![CDATA[
  2923. ClearScreen
  2924. msg ("You are in a vast gallery facing three open doorways. Two windows, so effulgent that you are blinded to what lies beyond their exterior, shine before you. While the doors have infinite depth, the windows lead nowhere. The hall is luxurious and well-kept, while oddly, a beautiful sort of debris covers the floor. This museum gallery is its own exhibit and is the monarch here, where its subjects are the doors. Each one leads to a different exhibit.<BR><BR>")
  2925. // msg ("<img src=\"https://briarwood.sfo2.cdn.digitaloceanspaces.com/images/trauma-museum/trauma%20museum%20room%20with%20doors.jpg\">")
  2926. picture ("trauma museum room with doors.jpg")
  2927. ]]></description>
  2928. <object name="left room exhibit 1">
  2929. <inherit name="editor_room" />
  2930. <description type="script">
  2931. ClearScreen
  2932. picture ("banyan tree in ice block.jpg")
  2933. </description>
  2934. <exit alias="southeast" to="three gateways">
  2935. <inherit name="southeastdirection" />
  2936. </exit>
  2937. </object>
  2938. <exit alias="northwest" to="left room exhibit 1">
  2939. <inherit name="northwestdirection" />
  2940. </exit>
  2941. <exit alias="north" to="left room exhibit 2">
  2942. <inherit name="northdirection" />
  2943. </exit>
  2944. <object name="left room exhibit 2">
  2945. <inherit name="editor_room" />
  2946. <description type="script">
  2947. ClearScreen
  2948. picture ("banyan tree with two wolves.jpg")
  2949. </description>
  2950. <exit alias="south" to="three gateways">
  2951. <inherit name="southdirection" />
  2952. </exit>
  2953. </object>
  2954. <object name="left room exhibit 3">
  2955. <inherit name="editor_room" />
  2956. <description type="script">
  2957. ClearScreen
  2958. picture ("banyan tree in junkyard.jpg")
  2959. </description>
  2960. <exit alias="southwest" to="three gateways">
  2961. <inherit name="southwestdirection" />
  2962. </exit>
  2963. </object>
  2964. <exit alias="northeast" to="left room exhibit 3">
  2965. <inherit name="northeastdirection" />
  2966. </exit>
  2967. </object>
  2968. </object>
  2969. <object name="IntroRoom">
  2970. <inherit name="editor_room" />
  2971. <description type="script">
  2972. ShowIntro
  2973. game.IntroShow = true
  2974. MoveObject (player, player.SaveLocation)
  2975. </description>
  2976. </object>
  2977. <type name="theme_retro">
  2978. <defaultbackground>Black</defaultbackground>
  2979. <defaultforeground>Lawngreen</defaultforeground>
  2980. <defaultlinkforeground>Lawngreen</defaultlinkforeground>
  2981. <defaultfont>'Lucida Console', Monaco, monospace</defaultfont>
  2982. <defaultwebfont>Press Start 2P</defaultwebfont>
  2983. <menufontsize type="int">14</menufontsize>
  2984. <menufont>'Lucida Console', Monaco, monospace</menufont>
  2985. <menubackground>Black</menubackground>
  2986. <menuforeground>Lawngreen</menuforeground>
  2987. <menuhoverbackground>GreenYellow</menuhoverbackground>
  2988. </type>
  2989. <function name="talkinginthroneroom"><![CDATA[
  2990. JS.eval ("$('#txtCommand').val('');")
  2991. ClearScreen
  2992. picture ("ansi menu.jpg")
  2993. msg ("<BR>")
  2994. JS.eval ("$(function () {var a=runCommand;runCommand=function(){sendCommand($(\"#txtCommand\").val());runCommand=a;};});")
  2995. get input {
  2996. if (result = "1") {
  2997. if (GetBoolean(question1, "answered")) {
  2998. msg ("<BR>You've asked that question already...you will not hear the answer again. Ask another.")
  2999. wait {
  3000. talkinginthroneroom
  3001. }
  3002. }
  3003. else if (not GetBoolean(question1, "answered")) {
  3004. ClearScreen
  3005. picture ("question 1 response in throne room.jpg")
  3006. wait {
  3007. SetObjectFlagOn (question1, "answered")
  3008. talkinginthroneroom
  3009. }
  3010. }
  3011. }
  3012. else if (result = "3") {
  3013. if (GetBoolean(question3, "answered")) {
  3014. msg ("<BR>You've asked that question already...you will not hear the answer again. Ask another.")
  3015. wait {
  3016. talkinginthroneroom
  3017. }
  3018. }
  3019. else if (not GetBoolean(question3, "answered")) {
  3020. ClearScreen
  3021. picture ("question 3 response in throne room.jpg")
  3022. wait {
  3023. SetObjectFlagOn (question3, "answered")
  3024. talkinginthroneroom
  3025. }
  3026. }
  3027. }
  3028. else if (result = "4") {
  3029. if (GetBoolean(question1, "answered")) {
  3030. if (GetBoolean(question2, "answered")) {
  3031. if (GetBoolean(question3, "answered")) {
  3032. ClearScreen
  3033. picture ("goodbye screen.jpg")
  3034. wait {
  3035. ClearScreen
  3036. JS.panesVisible (true)
  3037. msg ("As the woman retracts her hand back into the screen, you hear \"You may continue your exploration. All portals have been opened.\" The projector shuts off and the screen goes blank. You hear the latch of the door re-open. In the corridor beyond, you hear another door open as well.")
  3038. SwitchOff (film projector)
  3039. SetObjectFlagOn (goodbye, "said")
  3040. MakeObjectInvisible (woman)
  3041. UnlockExit (throne room door)
  3042. UnlockExit (quad3door)
  3043. UnlockExit (door to quad2)
  3044. wait {
  3045. HandleCommand ("look", null)
  3046. }
  3047. }
  3048. }
  3049. }
  3050. }
  3051. else {
  3052. msg ("<BR>You have not asked all of the questions. I will not allow you to conclude our conversation, or proceed at all, until you do. Saying goodbye prematurely is uncalled for.")
  3053. wait {
  3054. talkinginthroneroom
  3055. }
  3056. }
  3057. }
  3058. else if (result = "2") {
  3059. if (not GetBoolean(question2, "answered")) {
  3060. ClearScreen
  3061. picture ("question 2 response in throne room.jpg")
  3062. wait {
  3063. SetObjectFlagOn (question2, "answered")
  3064. talkinginthroneroom
  3065. }
  3066. }
  3067. else if (GetBoolean(question2, "answered")) {
  3068. msg ("<BR>You've asked that question already...you will not hear the answer again. Ask another.")
  3069. wait {
  3070. talkinginthroneroom
  3071. }
  3072. }
  3073. }
  3074. else {
  3075. msg ("<BR>That is not a question. Saying nonsense, or saying nothing at all, gets you nowhere. Try again.")
  3076. wait {
  3077. talkinginthroneroom
  3078. }
  3079. }
  3080. }
  3081. ]]></function>
  3082. <function name="computerbootup"><![CDATA[
  3083. ClearScreen
  3084. JS.uiHide ("#txtCommandDiv")
  3085. msg ("<img src=\"https://i.imgur.com/R0ogfGU.gif\">")
  3086. SetTimeout (5) {
  3087. computeroperation
  3088. }
  3089. ]]></function>
  3090. <function name="email"><![CDATA[
  3091. JS.eval ("$('#txtCommand').val('');")
  3092. ClearScreen
  3093. play sound ("computer beep sound.mp3", false, false)
  3094. msg ("<img src=\"https://i.imgur.com/V6btGc9.jpg\">")
  3095. JS.eval ("$(function () {var a=runCommand;runCommand=function(){sendCommand($(\"#txtCommand\").val());runCommand=a;};});")
  3096. get input {
  3097. if (result = "1") {
  3098. ClearScreen
  3099. msg ("<img src=\"https://i.imgur.com/FHDfaHQ.jpg\">")
  3100. wait {
  3101. IncreaseObjectCounter (computer terminal, "selections")
  3102. email
  3103. }
  3104. }
  3105. else if (result = "2") {
  3106. ClearScreen
  3107. msg ("<img src=\"https://i.imgur.com/vKFD6I5.jpg\">")
  3108. wait {
  3109. IncreaseObjectCounter (computer terminal, "selections")
  3110. email
  3111. }
  3112. }
  3113. else if (result = "3") {
  3114. ClearScreen
  3115. msg ("<img src=\"https://i.imgur.com/cN18bhU.jpg\">")
  3116. wait {
  3117. IncreaseObjectCounter (computer terminal, "selections")
  3118. email
  3119. }
  3120. }
  3121. else if (result = "4") {
  3122. ClearScreen
  3123. msg ("<img src=\"https://i.imgur.com/Ci0M7cn.jpg\">")
  3124. wait {
  3125. IncreaseObjectCounter (computer terminal, "selections")
  3126. email
  3127. }
  3128. }
  3129. else if (result = "5") {
  3130. ClearScreen
  3131. msg ("<img src=\"https://i.imgur.com/AN8FEvX.jpg\">")
  3132. wait {
  3133. IncreaseObjectCounter (computer terminal, "selections")
  3134. email
  3135. }
  3136. }
  3137. else if (result = "x") {
  3138. computeroperation
  3139. }
  3140. else {
  3141. msg ("<BR>Invalid entry!<br>")
  3142. wait {
  3143. email
  3144. }
  3145. }
  3146. }
  3147. ]]></function>
  3148. <function name="patientlog"><![CDATA[
  3149. ClearScreen
  3150. msg ("<img src=\"https://i.imgur.com/24NUKRO.jpg\">")
  3151. wait {
  3152. IncreaseObjectCounter (computer terminal, "selections")
  3153. computeroperation
  3154. }
  3155. ]]></function>
  3156. <function name="allofus"><![CDATA[
  3157. ClearScreen
  3158. play sound ("computer beep.mp3", false, false)
  3159. msg ("<img src='https://i.postimg.cc/c4GPh931/all-of-us.jpg'>")
  3160. wait {
  3161. IncreaseObjectCounter (computer terminal, "selections")
  3162. computeroperation
  3163. }
  3164. ]]></function>
  3165. <function name="userprofiles"><![CDATA[
  3166. JS.eval ("$('#txtCommand').val('');")
  3167. ClearScreen
  3168. play sound ("computer beep sound.mp3", false, false)
  3169. msg ("<img src=\"https://i.imgur.com/nqlw4GA.jpg\">")
  3170. JS.eval ("$(function () {var a=runCommand;runCommand=function(){sendCommand($(\"#txtCommand\").val());runCommand=a;};});")
  3171. get input {
  3172. result = LCase(result)
  3173. if (result = "1") {
  3174. play sound ("computer beep.mp3", false, false)
  3175. ClearScreen
  3176. msg ("<img src=\"https://i.imgur.com/5vG1UC0.jpg\">")
  3177. wait {
  3178. IncreaseObjectCounter (computer terminal, "selections")
  3179. userprofiles
  3180. }
  3181. }
  3182. else if (result = "2") {
  3183. ClearScreen
  3184. play sound ("computer beep.mp3", false, false)
  3185. msg ("<img src=\"https://i.imgur.com/5ZK2DS2.jpg\">")
  3186. wait {
  3187. IncreaseObjectCounter (computer terminal, "selections")
  3188. userprofiles
  3189. }
  3190. }
  3191. else if (result = "3") {
  3192. ClearScreen
  3193. play sound ("computer beep.mp3", false, false)
  3194. msg ("<img src=\"https://i.imgur.com/xAFHBmx.jpg\">")
  3195. wait {
  3196. IncreaseObjectCounter (computer terminal, "selections")
  3197. userprofiles
  3198. }
  3199. }
  3200. else if (result = "4") {
  3201. ClearScreen
  3202. play sound ("computer beep.mp3", false, false)
  3203. msg ("<img src=\"https://i.imgur.com/Zv24uyJ.jpg\">")
  3204. wait {
  3205. IncreaseObjectCounter (computer terminal, "selections")
  3206. userprofiles
  3207. }
  3208. }
  3209. else if (result = "x") {
  3210. computeroperation
  3211. }
  3212. else if (result = "5") {
  3213. ClearScreen
  3214. play sound ("computer beep.mp3", false, false)
  3215. msg ("<img src=\"https://i.imgur.com/I95j9u6.jpg\">")
  3216. wait {
  3217. IncreaseObjectCounter (computer terminal, "selections")
  3218. userprofiles
  3219. }
  3220. }
  3221. else {
  3222. msg ("<BR>Invalid entry..<BR>")
  3223. wait {
  3224. userprofiles
  3225. }
  3226. }
  3227. }
  3228. ]]></function>
  3229. <function name="computeroperation"><![CDATA[
  3230. JS.eval ("$('#txtCommand').val('');")
  3231. ClearScreen
  3232. play sound ("computer beep sound.mp3", false, false)
  3233. msg ("<img src='https://i.postimg.cc/wBP68fz6/computer-menu.jpg'>")
  3234. JS.eval ("$(function () {var a=runCommand;runCommand=function(){sendCommand($(\"#txtCommand\").val());runCommand=a;};});")
  3235. JS.uiShow ("#txtCommandDiv")
  3236. get input {
  3237. result = LCase(result)
  3238. if (result = "1") {
  3239. ClearScreen
  3240. email
  3241. }
  3242. else if (result = "2") {
  3243. patientlog
  3244. }
  3245. else if (result = "3") {
  3246. modem
  3247. }
  3248. else if (result = "4") {
  3249. userprofiles
  3250. }
  3251. else if (result = "5") {
  3252. obituaries
  3253. }
  3254. else if (result = "6") {
  3255. allofus
  3256. }
  3257. else if (result = "x") {
  3258. if (computer terminal.selections >= 15) {
  3259. ClearScreen
  3260. msg ("<img src='https://i.postimg.cc/Qt7F9VZ5/logout-screen.jpg'>")
  3261. wait {
  3262. ClearScreen
  3263. JS.uiHide ("#txtCommandDiv")
  3264. TextFX_Unscramble ("A pill of Molindone appears on the floor.", 50, 1)
  3265. play sound ("general materialization sound.mp3", true, false)
  3266. play sound ("3-sec-silence.mp3", false, false)
  3267. msg ("<BR>")
  3268. MakeObjectVisible (nardil)
  3269. ShowRoomDescription
  3270. JS.uiShow ("#txtCommandDiv")
  3271. JS.panesVisible (true)
  3272. }
  3273. }
  3274. else {
  3275. msg ("<BR>You must thoroughly explore all the options in the computer before exiting.<BR>")
  3276. wait {
  3277. computeroperation
  3278. }
  3279. }
  3280. }
  3281. else {
  3282. JS.uiHide ("#txtCommandDiv")
  3283. msg ("<BR>Invalid entry.<BR>")
  3284. SetTimeout (2) {
  3285. computeroperation
  3286. }
  3287. }
  3288. }
  3289. ]]></function>
  3290. <function name="obituaries"><![CDATA[
  3291. JS.eval ("$('#txtCommand').val('');")
  3292. ClearScreen
  3293. play sound ("computer beep sound.mp3", false, false)
  3294. msg ("<img src=\"https://i.imgur.com/Q9jAhjd.jpg\">")
  3295. JS.eval ("$(function () {var a=runCommand;runCommand=function(){sendCommand($(\"#txtCommand\").val());runCommand=a;};});")
  3296. get input {
  3297. result = LCase(result)
  3298. if (result = "1") {
  3299. play sound ("computer beep.mp3", false, false)
  3300. ClearScreen
  3301. msg ("<img src=\"https://i.imgur.com/of2UA3J.jpg\">")
  3302. wait {
  3303. IncreaseObjectCounter (computer terminal, "selections")
  3304. obituaries
  3305. }
  3306. }
  3307. else if (result = "2") {
  3308. ClearScreen
  3309. play sound ("computer beep.mp3", false, false)
  3310. msg ("<img src=\"https://i.imgur.com/UGOM8r7.jpg\">")
  3311. wait {
  3312. IncreaseObjectCounter (computer terminal, "selections")
  3313. obituaries
  3314. }
  3315. }
  3316. else if (result = "x") {
  3317. computeroperation
  3318. }
  3319. else {
  3320. msg ("<BR>Invalid entry.<BR>")
  3321. wait {
  3322. obituaries
  3323. }
  3324. }
  3325. }
  3326. ]]></function>
  3327. <function name="modem"><![CDATA[
  3328. ClearScreen
  3329. JS.uiHide ("#txtCommandDiv")
  3330. play sound ("computer beep.mp3", false, false)
  3331. msg ("<img src=\"https://i.imgur.com/75MkQc7.gif\">")
  3332. SetTimeout (15) {
  3333. play sound ("modem sound.mp3", true, false)
  3334. ClearScreen
  3335. msg ("<img src=\"https://i.imgur.com/ybVyYnY.gif\">")
  3336. play sound ("32s02.mp3", true, false)
  3337. play sound ("hang up sound.mp3", false, false)
  3338. JS.uiShow ("#txtCommandDiv")
  3339. wait {
  3340. IncreaseObjectCounter (computer terminal, "selections")
  3341. computeroperation
  3342. }
  3343. }
  3344. ]]></function>
  3345. <function name="pilltake">
  3346. IncreaseObjectCounter (player, "pills")
  3347. JS.setCustomStatus ("[Pills taken]: [" + player.pills + "/99]")
  3348. </function>
  3349. <function name="centerimage" parameters="filename"><![CDATA[
  3350. msg ("<center><img src=\"" + GetFileURL(filename) + "\" /></center>")
  3351. ]]></function>
  3352. <function name="playhtmlaudio" parameters="file"><![CDATA[
  3353. src = GetFileURL(file)
  3354. msg ("<audio src='" + src + "' autoplay loop />")
  3355. ]]></function>
  3356. <function name="stophtmlaudio">
  3357. JS.eval ("$('audio').remove();")
  3358. </function>
  3359. <function name="EnterToContinue"><![CDATA[
  3360. filename = "enter button push.gif"
  3361. msg ("<center><img src=\"" + GetFileURL(filename) + "\" /></center>")
  3362. wait {
  3363. ClearScreen
  3364. ShowRoomDescription
  3365. }
  3366. ]]></function>
  3367. </asl>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement