@maka/maka-cli 5.1.1 → 5.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/test/_index.js +1 -1
  100. package/bundle/obf/src/commands/test/jest.sub.cmd.js +1 -1
  101. package/bundle/obf/src/commands/test/mocha.sub.cmd.js +1 -1
  102. package/bundle/obf/src/commands/test/test.command.js +1 -1
  103. package/bundle/obf/src/commands/undo.js +1 -1
  104. package/bundle/obf/src/commands/version.js +1 -1
  105. package/bundle/obf/src/error.js +1 -1
  106. package/bundle/obf/src/exec.js +1 -1
  107. package/bundle/obf/src/generator.js +1 -1
  108. package/bundle/obf/src/generators/_index.js +1 -1
  109. package/bundle/obf/src/generators/api.js +1 -1
  110. package/bundle/obf/src/generators/aws/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/aws.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  113. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  114. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  115. package/bundle/obf/src/generators/collection.js +1 -1
  116. package/bundle/obf/src/generators/component.js +1 -1
  117. package/bundle/obf/src/generators/config.js +1 -1
  118. package/bundle/obf/src/generators/dbc.js +1 -1
  119. package/bundle/obf/src/generators/dockerfile.js +1 -1
  120. package/bundle/obf/src/generators/hook.js +1 -1
  121. package/bundle/obf/src/generators/kits/_index.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  124. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  127. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  128. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/kit.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  132. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  133. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  134. package/bundle/obf/src/generators/layout.js +1 -1
  135. package/bundle/obf/src/generators/maka.gen.js +1 -1
  136. package/bundle/obf/src/generators/methods.js +1 -1
  137. package/bundle/obf/src/generators/package.js +1 -1
  138. package/bundle/obf/src/generators/page.js +1 -1
  139. package/bundle/obf/src/generators/publish.js +1 -1
  140. package/bundle/obf/src/generators/route.js +1 -1
  141. package/bundle/obf/src/generators/service.js +1 -1
  142. package/bundle/obf/src/generators/services/_index.js +1 -1
  143. package/bundle/obf/src/generators/services/openssl.js +1 -1
  144. package/bundle/obf/src/generators/services/translation.js +1 -1
  145. package/bundle/obf/src/maka.js +1 -1
  146. package/bundle/obf/src/tool.js +1 -1
  147. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  148. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  149. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  151. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  152. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  153. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  154. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  155. package/bundle/obf/src/tools/https/https.class.js +1 -1
  156. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  157. package/bundle/obf/src/tools/log/log.class.js +1 -1
  158. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  159. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  160. package/bundle/obf/src/tools/options/options.class.js +1 -1
  161. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  162. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  163. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  164. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  165. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  166. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  167. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  168. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  169. package/package.json +1 -1
@@ -1 +1 @@
1
- function a38c(){const n=['\x20is\x20looking\x20around\x20the\x20current\x20room.','verb','\x27\x20in\x20','You\x20don\x27t\x20see\x20any\x20','6ptkymg','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','getOtherSide','Executing\x20\x27Look\x27\x20command.','924612cPiLGf',',\x20you\x20see\x20','5bUUNYT','\x20here.','Above\x20you,\x20','description','You\x20cannot\x20see\x20through','currentLocation','184MADXDF','lookOutside','puzzle','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','Examine\x20your\x20surroundings','5671127lTlmZg','error','152960CNPjaS','5321620miPMjU','1878777DxUiPJ','roomType','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','To\x20the\x20','string','logger','Looking\x20at\x20item\x20\x27','60MCpAQx','hasItem','You\x27re\x20not\x20in\x20a\x20valid\x20room.','apply','4998071uNBzzr','You\x20cannot\x20see\x20','(((.+)+)+)+$','get','actor','toString','\x27\x20in\x20current\x20room\x20inventory.','write','Below\x20you,\x20','getItem','constructor','369cbweKU','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','11LWObSp','inventory','rooms','inspectItem','down','look','562uVEbRj','name','search'];a38c=function(){return n;};return a38c();}const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0xdb))/0x1*(-parseInt(f(0xc8))/0x2)+-parseInt(f(0xe4))/0x3+-parseInt(f(0xd3))/0x4*(parseInt(f(0xd5))/0x5)+parseInt(f(0xcf))/0x6*(-parseInt(f(0xe0))/0x7)+parseInt(f(0xe2))/0x8*(parseInt(f(0xc0))/0x9)+-parseInt(f(0xe3))/0xa*(parseInt(f(0xc2))/0xb)+parseInt(f(0xb1))/0xc*(parseInt(f(0xb5))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x6f0a0));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0xba)]()[h(0xca)](h(0xb7))[h(0xba)]()[h(0xbf)](a38a)[h(0xca)](h(0xb7));});a38a();import{Door}from'../models/door.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xad;let f=c[d];return f;},a38d(a,b);}import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0xcc)]=a38i(0xc7);static [a38i(0xd8)]=a38i(0xdf);['execute'](a=[]){const j=a38i;this[j(0xaf)][j(0xbc)](j(0xd2));const b=a['join']('\x20');if(b){if(this[j(0xb9)][j(0xc3)][j(0xb2)](b))return this[j(0xaf)][j(0xbc)](j(0xb0)+b+j(0xcd)+this[j(0xb9)][j(0xc9)]+'\x20inventory.'),this[j(0xc5)](b,this[j(0xb9)][j(0xc3)]);else{if(this[j(0xb9)][j(0xda)]['inventory'][j(0xb2)](b))return this[j(0xaf)]['write'](j(0xb0)+b+j(0xbb)),this[j(0xc5)](b,this[j(0xb9)]['currentLocation'][j(0xc3)]);else return this['isValidDirection'](b)?(this['logger'][j(0xbc)](j(0xd0)+b+'\x27.'),this['lookOutside'](b)):j(0xb6)+b;}}else return this['logger'][j(0xbc)](this['actor'][j(0xc9)]+j(0xcb)),this[j(0xc7)]();}[a38i(0xc7)](){const k=a38i,a=this[k(0xb9)][k(0xda)];if(!a)return this[k(0xaf)][k(0xe1)](this['actor']['name']+k(0xe7)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';let b=a[k(0xd8)];return a[k(0xdd)]&&(b+='\x0a'+a[k(0xdd)]['riddle']),b;}[a38i(0xdc)](a){const l=a38i,b=this['actor']['currentLocation'];if(!b)return this['logger'][l(0xe1)](this[l(0xb9)][l(0xc9)]+l(0xe7)),l(0xb3);const c=b['exits'][l(0xb8)](a);if(!c)return l(0xc1)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0xd1)](b);else{if(typeof c===l(0xae)){d=this['rooms']&&this[l(0xc4)][c];if(!d)return l(0xde)+a+'\x22.';}else return l(0xe6)+a+'\x22.';}if(d[l(0xe5)]===RoomType['OUTSIDE']){if(a==='up')return l(0xd7)+d[l(0xd8)];else return a===l(0xc6)?l(0xbd)+d[l(0xd8)]:l(0xad)+a+l(0xd4)+d['description'];}else return l(0xd9);}[a38i(0xc5)](a,b){const m=a38i,c=b[m(0xbe)](a);if(!c)return m(0xce)+a+m(0xd6);return c[m(0xd8)]||'It\x27s\x20just\x20a\x20regular\x20'+a+'.';}}
1
+ const a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1d5))/0x1+parseInt(f(0x1bb))/0x2*(-parseInt(f(0x1b4))/0x3)+-parseInt(f(0x1b8))/0x4+parseInt(f(0x1d7))/0x5+-parseInt(f(0x1c1))/0x6*(parseInt(f(0x1b3))/0x7)+-parseInt(f(0x1c7))/0x8+parseInt(f(0x1d0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x71b4f));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a['toString']()[g(0x1c6)](g(0x1bf))['toString']()[g(0x1cb)](a38a)[g(0x1c6)](g(0x1bf));});a38a();import{Door}from'../models/door.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a38d(a,b);}import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38h(0x1cf)]=a38h(0x1cc);static [a38h(0x1d6)]='Examine\x20your\x20surroundings';[a38h(0x1ab)](a=[]){const i=a38h;this['logger'][i(0x1d1)]('Executing\x20\x27Look\x27\x20command.');const b=a[i(0x1d9)]('\x20');if(b){if(this[i(0x1af)][i(0x1be)][i(0x1ae)](b))return this[i(0x1b7)][i(0x1d1)](i(0x1dd)+b+i(0x1db)+this[i(0x1af)][i(0x1dc)]+i(0x1b1)),this['inspectItem'](b,this[i(0x1af)][i(0x1be)]);else{if(this[i(0x1af)]['currentLocation'][i(0x1be)][i(0x1ae)](b))return this['logger'][i(0x1d1)]('Looking\x20at\x20item\x20\x27'+b+i(0x1ca)),this['inspectItem'](b,this[i(0x1af)]['currentLocation']['inventory']);else return this[i(0x1b5)](b)?(this[i(0x1b7)][i(0x1d1)](i(0x1ba)+b+'\x27.'),this[i(0x1c3)](b)):i(0x1bc)+b;}}else return this['logger'][i(0x1d1)](this[i(0x1af)][i(0x1dc)]+i(0x1c5)),this[i(0x1cc)]();}[a38h(0x1cc)](){const j=a38h,a=this['actor'][j(0x1b0)];if(!a)return this[j(0x1b7)][j(0x1d3)](this[j(0x1af)][j(0x1dc)]+j(0x1c0)),j(0x1c8);let b=a[j(0x1d6)];return a[j(0x1df)]&&(b+='\x0a'+a['puzzle'][j(0x1da)]),b;}[a38h(0x1c3)](a){const k=a38h,b=this[k(0x1af)]['currentLocation'];if(!b)return this['logger'][k(0x1d3)](this['actor'][k(0x1dc)]+k(0x1c0)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';const c=b['exits'][k(0x1d8)](a);if(!c)return k(0x1c9)+a+'\x22.';let d;if(c instanceof Door)d=c[k(0x1ac)](b);else{if(typeof c===k(0x1bd)){d=this[k(0x1b2)]&&this[k(0x1b2)][c];if(!d)return k(0x1d2)+a+'\x22.';}else return k(0x1b6)+a+'\x22.';}if(d[k(0x1ce)]===RoomType[k(0x1ad)]){if(a==='up')return k(0x1c2)+d['description'];else return a==='down'?k(0x1d4)+d[k(0x1d6)]:'To\x20the\x20'+a+',\x20you\x20see\x20'+d[k(0x1d6)];}else return'You\x20cannot\x20see\x20through';}[a38h(0x1cd)](a,b){const l=a38h,c=b[l(0x1de)](a);if(!c)return l(0x1c4)+a+l(0x1b9);return c['description']||'It\x27s\x20just\x20a\x20regular\x20'+a+'.';}}function a38c(){const m=['1561rRALDQ','1212249ILNNej','isValidDirection','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','logger','935280LRwTQO','\x20here.','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','2PkublB','You\x20cannot\x20see\x20','string','inventory','(((.+)+)+)+$','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','4692XhPdkd','Above\x20you,\x20','lookOutside','You\x20don\x27t\x20see\x20any\x20','\x20is\x20looking\x20around\x20the\x20current\x20room.','search','3238864uToLEC','You\x27re\x20not\x20in\x20a\x20valid\x20room.','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','\x27\x20in\x20current\x20room\x20inventory.','constructor','look','inspectItem','roomType','verb','12724785xSJBmF','write','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','error','Below\x20you,\x20','40616DJtYmD','description','1548205bmouEt','get','join','riddle','\x27\x20in\x20','name','Looking\x20at\x20item\x20\x27','getItem','puzzle','execute','getOtherSide','OUTSIDE','hasItem','actor','currentLocation','\x20inventory.','rooms'];a38c=function(){return m;};return a38c();}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x80))/0x1+-parseInt(g(0x6d))/0x2+-parseInt(g(0x69))/0x3+parseInt(g(0x7c))/0x4*(parseInt(g(0x7e))/0x5)+parseInt(g(0x73))/0x6+-parseInt(g(0x74))/0x7+-parseInt(g(0x7d))/0x8*(-parseInt(g(0x68))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x347bd));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x6a)]()[h(0x78)]('(((.+)+)+)+$')[h(0x6a)]()[h(0x70)](a39a)[h(0x78)](h(0x6f));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x65;let f=c[d];return f;},a39d(a,b);}function a39c(){const k=['535365uKIcBW','say','327055fUMPRr','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','actor','context','join','An\x20error\x20occurred.','3438pkCkeq','991467SOshNs','toString','What\x20do\x20you\x20want\x20to\x20say?','scene','51944Tdqemu','allActors','(((.+)+)+)+$','constructor','currentLocation','logger','177828PolEbS','2864946wSgPSJ','\x20says\x20to\x20','execute','name','search','verb','filter','log','12WsXshB','20040YoBEmH'];a39c=function(){return k;};return a39c();}a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39i(0x79)]=a39i(0x7f);static ['description']=a39i(0x81);[a39i(0x65)];constructor(a){super(a),this['context']=a;}[a39i(0x76)](a){const j=a39i;if(a['length']===0x0)return j(0x6b);const b=a[j(0x66)]('\x20'),c=this['actor'],d=this[j(0x65)][j(0x6c)];if(!d)return this['logger'][j(0x7b)]('Scene\x20is\x20missing\x20from\x20context.'),j(0x67);const e=d[j(0x6e)][j(0x7a)](f=>f[j(0x71)]===c[j(0x71)]);for(const f of e){this[j(0x72)]['log'](c['name']+j(0x75)+f[j(0x77)]+':\x20\x22'+b+'\x22'),this[j(0x82)][j(0x71)][j(0x7f)](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}
1
+ const a39j=a39d;function a39c(){const m=['560gxrIcp','5638lTJKzx','9QxcOtv','filter','verb','context','Scene\x20is\x20missing\x20from\x20context.','currentLocation','execute','join','allActors','22AUJjtV',':\x20\x22','say','5034156GGbmjc','logger','toString','name','1058788sHtxaj','263385OnbDMx','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','250ynWACc','You\x20say:\x20\x22','2224033UnZarE','apply','description','search','What\x20do\x20you\x20want\x20to\x20say?','\x20says\x20to\x20','242rJENnq','log','An\x20error\x20occurred.','5388YnQwWz','scene','(((.+)+)+)+$','constructor','8XRkZQH','39985686lGhBsd'];a39c=function(){return m;};return a39c();}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x1f4))/0x1*(parseInt(g(0x1ea))/0x2)+-parseInt(g(0x1f5))/0x3*(parseInt(g(0x1df))/0x4)+parseInt(g(0x1f3))/0x5*(parseInt(g(0x1ed))/0x6)+parseInt(g(0x1e4))/0x7*(parseInt(g(0x1f1))/0x8)+-parseInt(g(0x1e0))/0x9*(parseInt(g(0x1e2))/0xa)+parseInt(g(0x1fe))/0xb*(-parseInt(g(0x1db))/0xc)+parseInt(g(0x1f2))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x6d2c9));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1da;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x1dd)]()[i(0x1e7)](i(0x1ef))[i(0x1dd)]()[i(0x1f0)](a39a)['search'](i(0x1ef));});a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0x1f7)]='say';static [a39j(0x1e6)]=a39j(0x1e1);[a39j(0x1f8)];constructor(a){const k=a39j;super(a),this[k(0x1f8)]=a;}[a39j(0x1fb)](a){const l=a39j;if(a['length']===0x0)return l(0x1e8);const b=a[l(0x1fc)]('\x20'),c=this['actor'],d=this[l(0x1f8)][l(0x1ee)];if(!d)return this[l(0x1dc)][l(0x1eb)](l(0x1f9)),l(0x1ec);const e=d[l(0x1fd)][l(0x1f6)](f=>f['currentLocation']===c[l(0x1fa)]);for(const f of e){this[l(0x1dc)]['log'](c[l(0x1de)]+l(0x1e9)+f[l(0x1de)]+l(0x1ff)+b+'\x22'),this['actor']['currentLocation'][l(0x1da)](f,b);}return l(0x1e3)+b+'\x22';}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x8a))/0x1+-parseInt(f(0x77))/0x2+-parseInt(f(0x8c))/0x3+parseInt(f(0x7e))/0x4*(parseInt(f(0x87))/0x5)+parseInt(f(0x8d))/0x6+-parseInt(f(0x88))/0x7*(-parseInt(f(0x7d))/0x8)+parseInt(f(0x78))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xb0a23));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x76;let f=c[d];return f;},a40d(a,b);}function a40c(){const k=['join','464753ugLJIM','length','1887513bFJuGL','463962vYFPpB','toString','write','2324098SEnVcQ','10570788pLzQcY','verb','apply','listItems','logger','10568SqZOnb','1571464utAQyN','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','actor','execute','description','SearchCommand:\x20','name','constructor','search','10uurtbv','4991DMpOSI'];a40c=function(){return k;};return a40c();}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x7a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()[h(0x86)]('(((.+)+)+)+$')[h(0x8e)]()[h(0x85)](a40a)[h(0x86)]('(((.+)+)+)+$');});a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0x79)]=a40i(0x86);static [a40i(0x82)]='Search\x20for\x20items\x20in\x20your\x20area';[a40i(0x81)](){const j=a40i,a=this[j(0x80)]['currentLocation']['inventory'][j(0x7b)]();if(a[j(0x8b)]===0x0)return this[j(0x7c)][j(0x76)](j(0x83)+this[j(0x80)][j(0x84)]+j(0x7f)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0x89)](',\x20');return this[j(0x7c)][j(0x76)](j(0x83)+this[j(0x80)][j(0x84)]+'\x20found\x20the\x20following\x20items:\x20'+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
1
+ function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x13a;let f=c[d];return f;},a40d(a,b);}const a40h=a40d;function a40c(){const j=['452634NGinhq','logger','442580tRWISF','6hTfALa','613479IWmQpH','execute','currentLocation','name','inventory','join','actor','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','listItems','constructor','write','description','(((.+)+)+)+$','\x20found\x20the\x20following\x20items:\x20','3344960FQGDbt','18geJyDs','search','2862890oTrCQY','176604iEQtXq','SearchCommand:\x20','4uMgnLM','You\x20search\x20the\x20area\x20and\x20find:\x20','toString','2326667pSMfKK'];a40c=function(){return j;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x14f))/0x1+parseInt(f(0x14b))/0x2+parseInt(f(0x145))/0x3+-parseInt(f(0x147))/0x4*(parseInt(f(0x144))/0x5)+-parseInt(f(0x14e))/0x6*(parseInt(f(0x14a))/0x7)+parseInt(f(0x141))/0x8+parseInt(f(0x142))/0x9*(-parseInt(f(0x14d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x4eeed));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0x149)]()[g(0x143)](g(0x13f))[g(0x149)]()[g(0x13c)](a40a)[g(0x143)](g(0x13f));});a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']='search';static [a40h(0x13e)]='Search\x20for\x20items\x20in\x20your\x20area';[a40h(0x150)](){const i=a40h,a=this[i(0x155)][i(0x151)][i(0x153)][i(0x13b)]();if(a['length']===0x0)return this[i(0x14c)]['write'](i(0x146)+this['actor'][i(0x152)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),i(0x13a);const b=a[i(0x154)](',\x20');return this[i(0x14c)][i(0x13d)](i(0x146)+this['actor'][i(0x152)]+i(0x140)+b),i(0x148)+b;}}
@@ -1 +1 @@
1
- const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x146))/0x1+-parseInt(f(0x14b))/0x2*(parseInt(f(0x142))/0x3)+parseInt(f(0x13f))/0x4+parseInt(f(0x152))/0x5+-parseInt(f(0x156))/0x6+-parseInt(f(0x140))/0x7*(parseInt(f(0x144))/0x8)+parseInt(f(0x150))/0x9*(parseInt(f(0x13d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x70676));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x147)]()[h(0x14f)](h(0x13e))[h(0x147)]()['constructor'](a41a)[h(0x14f)](h(0x13e));});function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x13a;let f=c[d];return f;},a41d(a,b);}function a41c(){const k=['solve','inventory','2012550CclNiv','(((.+)+)+)+$','1949040NeNBYS','105847FhMUWp','currentLocation','11229RVibVk','logger','8CWjinf','puzzle','397068yFbwpW','toString','message','join','verb','412MdHNBF','write','rewardItem','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','search','36FKrKEf','toLowerCase','2438640oViEUx','actor','SolveCommand:\x20','success','818130tNRtDC','apply','execute','addItem'];a41c=function(){return k;};return a41c();}a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0x14a)]=a41i(0x13b);static ['description']='Attempt\x20to\x20solve\x20a\x20puzzle.';[a41i(0x158)](a){const j=a41i,b=a[j(0x149)]('\x20')[j(0x151)](),c=this[j(0x153)][j(0x141)];if(!c||!c['puzzle'])return this[j(0x143)][j(0x14c)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0x14e);const d=c[j(0x145)][j(0x13b)](b,this[j(0x153)][j(0x13c)]);return d[j(0x155)]&&c[j(0x145)][j(0x14d)]&&this['actor'][j(0x13c)][j(0x13a)](c[j(0x145)][j(0x14d)]),this[j(0x143)][j(0x14c)](j(0x154)+d[j(0x148)]),d[j(0x148)];}}
1
+ const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x1d3))/0x1+-parseInt(f(0x1d0))/0x2*(-parseInt(f(0x1c4))/0x3)+-parseInt(f(0x1b3))/0x4*(-parseInt(f(0x1cd))/0x5)+parseInt(f(0x1be))/0x6+-parseInt(f(0x1c5))/0x7*(-parseInt(f(0x1d2))/0x8)+-parseInt(f(0x1b9))/0x9*(-parseInt(f(0x1c3))/0xa)+-parseInt(f(0x1cc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xdbe63));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x1b4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x1b8)]()[h(0x1cf)]('(((.+)+)+)+$')['toString']()[h(0x1c6)](a41a)['search'](h(0x1ba));});a41a();import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a41d(a,b);}function a41c(){const k=['apply','execute','toLowerCase','solve','toString','3685491EzYisN','(((.+)+)+)+$','join','verb','write','6708006RilBuk','addItem','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','logger','30mtMDRU','15dGFfaP','14959YuDVHM','constructor','puzzle','success','SolveCommand:\x20','inventory','description','8294341xQYGHC','10dMNnUd','message','search','76132yVquHU','actor','232pHFTxU','1036377dqIwmj','184628EtpjjC'];a41c=function(){return k;};return a41c();}export class SolveCommand extends Command{static [a41i(0x1bc)]='solve';static [a41i(0x1cb)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a41i(0x1b5)](a){const j=a41i,b=a[j(0x1bb)]('\x20')[j(0x1b6)](),c=this[j(0x1d1)]['currentLocation'];if(!c||!c[j(0x1c7)])return this[j(0x1c2)][j(0x1bd)](j(0x1c1)),j(0x1c0);const d=c[j(0x1c7)][j(0x1b7)](b,this[j(0x1d1)][j(0x1ca)]);return d[j(0x1c8)]&&c[j(0x1c7)]['rewardItem']&&this['actor']['inventory'][j(0x1bf)](c[j(0x1c7)]['rewardItem']),this[j(0x1c2)][j(0x1bd)](j(0x1c9)+d[j(0x1ce)]),d[j(0x1ce)];}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x1ac))/0x1+parseInt(f(0x194))/0x2*(-parseInt(f(0x191))/0x3)+parseInt(f(0x195))/0x4+-parseInt(f(0x199))/0x5*(parseInt(f(0x1a7))/0x6)+parseInt(f(0x183))/0x7*(parseInt(f(0x1aa))/0x8)+parseInt(f(0x1ab))/0x9*(parseInt(f(0x18a))/0xa)+-parseInt(f(0x189))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xa4485));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x183;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x192)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x1a2)]()[h(0x18c)]('(((.+)+)+)+$')[h(0x1a2)]()[h(0x19e)](a42a)[h(0x18c)](h(0x1a0));});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a42i(0x190);static [a42i(0x187)]=a42i(0x1ad);[a42i(0x1a4)](a){const j=a42i;return this['logger']['write'](j(0x18d)+a['join']('\x20')),this['take'](a);}[a42i(0x190)](a){const k=a42i,b=a['join']('\x20')[k(0x197)](),c=this['actor'][k(0x198)];if(!c[k(0x18e)][k(0x19c)](b))return this[k(0x18b)][k(0x186)](k(0x19d)+b+k(0x19b)+c['name']+k(0x1a8)),k(0x1a6)+b+k(0x19a);const d=c[k(0x18e)][k(0x196)](b);if(!d)return this['logger'][k(0x186)](k(0x19d)+b+k(0x193)+c[k(0x185)]+k(0x1ae)),k(0x1a6)+b+k(0x19a);try{return this['actor'][k(0x1a5)](d),this['logger'][k(0x186)](k(0x1a3)+b+k(0x188)+this[k(0x19f)][k(0x185)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c['inventory'][k(0x18f)](b),this[k(0x18b)][k(0x186)]('Successfully\x20removed\x20\x22'+b+k(0x184)+c[k(0x185)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this['logger'][k(0x186)](k(0x1a9)+e[k(0x1a1)]),'The\x20item\x20\x22'+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}function a42c(){const l=['actor','(((.+)+)+)+$','message','toString','Successfully\x20added\x20\x22','execute','addInventory','There\x20is\x20no\x20item\x20\x22','7745448HzOfvH','\x20during\x20\x27Take\x27\x20command.','Error\x20during\x20\x27Take\x27\x20command:\x20','664ABxgzg','3311604DUyEuc','1154112mbwAve','Pick\x20up\x20an\x20item.','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','31969IyegEU','\x22\x20from\x20','name','write','description','\x22\x20to\x20','11135212UVOEKA','20RAQGmz','logger','search','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','inventory','removeItem','take','12114THsBDO','apply','\x22\x20not\x20retrieved\x20from\x20','302TdPYkZ','5267016CPkudV','getItem','toLowerCase','currentLocation','5NRtPwn','\x22\x20in\x20this\x20room.','\x22\x20not\x20found\x20in\x20','hasItem','Item\x20\x22','constructor'];a42c=function(){return l;};return a42c();}
1
+ const a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x17f))/0x1+parseInt(f(0x171))/0x2*(-parseInt(f(0x17c))/0x3)+-parseInt(f(0x183))/0x4+-parseInt(f(0x181))/0x5+parseInt(f(0x184))/0x6+parseInt(f(0x17a))/0x7+parseInt(f(0x174))/0x8*(parseInt(f(0x16c))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xcc60f));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const g=a42d;return a42a[g(0x186)]()[g(0x175)]('(((.+)+)+)+$')[g(0x186)]()[g(0x164)](a42a)[g(0x175)]('(((.+)+)+)+$');});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a42h(0x16e)]=a42h(0x169);static [a42h(0x185)]=a42h(0x16b);['execute'](a){const i=a42h;return this[i(0x177)]['write'](i(0x182)+a[i(0x180)]('\x20')),this[i(0x169)](a);}['take'](a){const j=a42h,b=a[j(0x180)]('\x20')[j(0x189)](),c=this['actor'][j(0x166)];if(!c[j(0x178)]['hasItem'](b))return this[j(0x177)][j(0x18a)](j(0x173)+b+j(0x16d)+c[j(0x16a)]+j(0x17b)),j(0x187)+b+j(0x17d);const d=c[j(0x178)][j(0x167)](b);if(!d)return this[j(0x177)][j(0x18a)]('Item\x20\x22'+b+j(0x179)+c[j(0x16a)]+j(0x172)),j(0x187)+b+j(0x17d);try{return this[j(0x163)]['addInventory'](d),this[j(0x177)][j(0x18a)]('Successfully\x20added\x20\x22'+b+j(0x165)+this[j(0x163)][j(0x16a)]+j(0x16f)),c[j(0x178)][j(0x162)](b),this[j(0x177)][j(0x18a)](j(0x170)+b+j(0x168)+c[j(0x16a)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x188)+b+'.';}catch(e){return this[j(0x177)][j(0x18a)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e['message']),j(0x176)+b+j(0x17e);}}}function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x162;let f=c[d];return f;},a42d(a,b);}function a42c(){const k=['\x22\x20is\x20too\x20heavy\x20to\x20carry.','353122KQFQEY','join','1063205REmImx','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','6416956pplLuz','3848586TUSCcJ','description','toString','There\x20is\x20no\x20item\x20\x22','You\x20have\x20taken\x20the\x20','toLowerCase','write','removeItem','actor','constructor','\x22\x20to\x20','currentLocation','getItem','\x22\x20from\x20','take','name','Pick\x20up\x20an\x20item.','9tAHbdu','\x22\x20not\x20found\x20in\x20','verb','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Successfully\x20removed\x20\x22','1304sXLaTH','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Item\x20\x22','9647608WLHcxJ','search','The\x20item\x20\x22','logger','inventory','\x22\x20not\x20retrieved\x20from\x20','4251681aJpNtl','\x20during\x20\x27Take\x27\x20command.','708lkpjTM','\x22\x20in\x20this\x20room.'];a42c=function(){return k;};return a42c();}
@@ -1 +1 @@
1
- function a43c(){const j=['verb','description','361858nSOlBa','name','271655SBTlbA','24blKHKe','12858RQeneb','logger','join','Unequip\x20an\x20item.','(((.+)+)+)+$','125lyUyPQ','10928dnbaIo','toString','toLowerCase','unqeuip','search','write','8sWmwtN','1493316bZtztH','\x20unqeuiped\x20','656670aFcqwB','constructor','execute','unequip','684271wcRaIg'];a43c=function(){return j;};return a43c();}const a43h=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xc5;let f=c[d];return f;},a43d(a,b);}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0xd0))/0x1+-parseInt(f(0xce))/0x2+-parseInt(f(0xd1))/0x3*(parseInt(f(0xd8))/0x4)+-parseInt(f(0xd7))/0x5*(parseInt(f(0xd2))/0x6)+parseInt(f(0xcb))/0x7*(parseInt(f(0xde))/0x8)+parseInt(f(0xc5))/0x9+-parseInt(f(0xc7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x34139));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const g=a43d;return a43a[g(0xd9)]()[g(0xdc)](g(0xd6))['toString']()[g(0xc8)](a43a)[g(0xdc)](g(0xd6));});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43h(0xcc)]=a43h(0xdb);static [a43h(0xcd)]=a43h(0xd5);[a43h(0xc9)](a){const i=a43h,b=a[i(0xd4)]('\x20')[i(0xda)](),c=this['actor'][i(0xca)](b);return this[i(0xd3)][i(0xdd)]('UnequipCommand:\x20'+this['actor'][i(0xcf)]+i(0xc6)+c),c;}}
1
+ const a43i=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xdb;let f=c[d];return f;},a43d(a,b);}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0xef))/0x1+-parseInt(f(0xdd))/0x2+-parseInt(f(0xdf))/0x3+-parseInt(f(0xe1))/0x4+parseInt(f(0xe0))/0x5+-parseInt(f(0xe4))/0x6+parseInt(f(0xeb))/0x7*(parseInt(f(0xe2))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x1a6d6));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0xe8)]()[h(0xe9)](h(0xe7))['toString']()['constructor'](a43a)[h(0xe9)](h(0xe7));});a43a();function a43c(){const k=['toString','search','toLowerCase','364FWfARM','\x20unqeuiped\x20','apply','verb','160679cPOcCF','logger','name','join','42460DhAzfx','actor','555471fMFpyJ','212855hDfKyD','288364XoEpLb','91704BoPYEf','execute','547464CZBXAo','unqeuip','description','(((.+)+)+)+$'];a43c=function(){return k;};return a43c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0xee)]=a43i(0xe5);static [a43i(0xe6)]='Unequip\x20an\x20item.';[a43i(0xe3)](a){const j=a43i,b=a[j(0xdc)]('\x20')[j(0xea)](),c=this[j(0xde)]['unequip'](b);return this[j(0xf0)]['write']('UnequipCommand:\x20'+this['actor'][j(0xdb)]+j(0xec)+c),c;}}
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x108))/0x1+-parseInt(h(0xf3))/0x2+-parseInt(h(0xf5))/0x3*(parseInt(h(0x107))/0x4)+-parseInt(h(0xfa))/0x5*(parseInt(h(0x114))/0x6)+parseInt(h(0x118))/0x7*(-parseInt(h(0x105))/0x8)+parseInt(h(0x100))/0x9*(-parseInt(h(0xf4))/0xa)+parseInt(h(0x116))/0xb*(parseInt(h(0xfb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xcac18));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a['toString']()['search'](j(0x106))['toString']()[j(0xf2)](a44a)[j(0xff)](j(0x106));});a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a44c(){const n=['10YYAasQ','4832736FesiHM','Unlock\x20a\x20door.','write','actor','search','576lxhVql','length','description','getItem','\x22\x20here.','368rpTBtA','(((.+)+)+)+$','1039628rzNnDX','751869YXoVLG','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','inventory','.\x20Result:\x20','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','logger','UnlockCommand:\x20No\x20target\x20specified.','unlockItemOrSolution','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','execute','has','toLowerCase','2524182iOvqhG','exits','209kStklY','name','252455TWUqxr','UnlockCommand:\x20','apply','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','get','constructor','2520674lyzIvW','117080SbFjUK','18YWnTuE','currentLocation','isValidDirection','unlock','There\x27s\x20no\x20door\x20named\x20\x22'];a44c=function(){return n;};return a44c();}function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xf1;let f=c[d];return f;},a44d(a,b);}export class UnlockCommand extends Command{static ['verb']=a44k(0xf8);static [a44k(0x102)]=a44k(0xfc);[a44k(0x111)](a){const l=a44k;return this[l(0xf8)](a);}[a44k(0xf8)](a){const m=a44k;if(a[m(0x101)]===0x0)return this[m(0x10d)]['error'](m(0x10e)),m(0x10c);const b=a[0x0][m(0x113)](),c=this[m(0xfe)][m(0xf6)];if(this[m(0xf7)](b)&&c['exits'][m(0x112)](b)){const d=c[m(0x115)][m(0xf1)](b);if(d instanceof Door){const e=d[m(0x10f)]?.['toLowerCase']();if(e&&this[m(0xfe)]['inventory']['hasItem'](e)){const f=this[m(0xfe)][m(0x10a)][m(0x103)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0x117)]);return this[m(0x10d)][m(0xfd)](m(0x119)+this[m(0xfe)][m(0x117)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+m(0x10b)+g),g;}}return this['logger']['write'](m(0x119)+this[m(0xfe)]['name']+m(0x109)+b+'.'),m(0x11b);}else return this[m(0x10d)][m(0xfd)](m(0x119)+b+m(0x110)+c[m(0x117)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x104);}else return this[m(0x10d)][m(0xfd)](m(0x119)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x117)]+'.'),m(0xf9)+b+m(0x104);}}
1
+ const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0xf2))/0x1+parseInt(h(0xe9))/0x2+-parseInt(h(0x109))/0x3*(parseInt(h(0xef))/0x4)+parseInt(h(0xfa))/0x5*(-parseInt(h(0xf7))/0x6)+-parseInt(h(0xf5))/0x7+parseInt(h(0x10a))/0x8+parseInt(h(0xf1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x20813));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0xe7)]()[j(0xfc)](j(0xe4))['toString']()[j(0x104)](a44a)[j(0xfc)]('(((.+)+)+)+$');});function a44c(){const n=['Unlock\x20a\x20door.','256953rqrUDx','19760ttuynH','execute','(((.+)+)+)+$','hasItem','UnlockCommand:\x20No\x20target\x20specified.','toString','There\x27s\x20no\x20door\x20named\x20\x22','526656MsAXHk','attemptUnlockExit','.\x20Result:\x20','currentLocation','get','name','4gSQpKA','apply','2036250HDxNFk','32729yMcnXY','logger','has','1045499pDSGlC','\x22\x20here.','273516rJhnNK','write','unlockItemOrSolution','10InzVpQ','UnlockCommand:\x20','search','inventory','toLowerCase','exits','actor','unlock','description','error','constructor','verb','\x20is\x20attempted\x20to\x20unlock\x20','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'];a44c=function(){return n;};return a44c();}a44a();import{Door}from'../models/door.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xe3;let f=c[d];return f;},a44d(a,b);}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0x105)]='unlock';static [a44k(0x102)]=a44k(0x108);[a44k(0xe3)](a){const l=a44k;return this[l(0x101)](a);}[a44k(0x101)](a){const m=a44k;if(a['length']===0x0)return this[m(0xf3)][m(0x103)](m(0xe6)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][m(0xfe)](),c=this['actor'][m(0xec)];if(this['isValidDirection'](b)&&c[m(0xff)][m(0xf4)](b)){const d=c[m(0xff)][m(0xed)](b);if(d instanceof Door){const e=d[m(0xf9)]?.['toLowerCase']();if(e&&this['actor'][m(0xfd)][m(0xe5)](e)){const f=this['actor'][m(0xfd)]['getItem'](e);if(f){const g=c[m(0xea)](b,f[m(0xee)]);return this[m(0xf3)][m(0xf8)](m(0xfb)+this[m(0x100)][m(0xee)]+m(0x106)+b+m(0xeb)+g),g;}}return this[m(0xf3)]['write'](m(0xfb)+this[m(0x100)][m(0xee)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this['logger']['write']('UnlockCommand:\x20'+b+m(0x107)+c[m(0xee)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}else return this['logger']['write'](m(0xfb)+b+m(0x107)+c[m(0xee)]+'.'),m(0xe8)+b+m(0xf6);}}
@@ -1 +1 @@
1
- const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x190))/0x1*(parseInt(f(0x1a6))/0x2)+-parseInt(f(0x1aa))/0x3*(parseInt(f(0x193))/0x4)+parseInt(f(0x19c))/0x5*(parseInt(f(0x1a2))/0x6)+parseInt(f(0x1a9))/0x7+parseInt(f(0x18e))/0x8*(-parseInt(f(0x1a5))/0x9)+-parseInt(f(0x19a))/0xa+parseInt(f(0x1ad))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xa5234));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x1a8)]()[h(0x1ac)](h(0x19b))[h(0x1a8)]()[h(0x1ab)](a45a)[h(0x1ac)](h(0x19b));});a45a();function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x18a;let f=c[d];return f;},a45d(a,b);}import{Command}from'./command.js';function a45c(){const l=['toString','1502452mGVHRs','24FGvWoM','constructor','search','17075949tOOvUN','write','\x20doesn\x27t\x20have\x20a\x20use\x20method.','join','Use\x20an\x20item.','execute','name','8615960VLoIDo','logger','307OTyZAA','\x20to\x20use.','function','567712WUrNGl','actor','use','apply','UseCommand:\x20','\x27s\x20inventory.','verb','8812620fEKgKo','(((.+)+)+)+$','5AGSoSW','inventory','hasItem','\x20attempted\x20to\x20use\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','You\x20don\x27t\x20have\x20the\x20','7437486WPXHDJ','\x20not\x20retrieved\x20from\x20','You\x20can\x27t\x20use\x20the\x20','9xQxrih','4974HEGpWJ','\x20used\x20'];a45c=function(){return l;};return a45c();}export class UseCommand extends Command{static [a45i(0x199)]=a45i(0x195);static ['description']=a45i(0x18b);[a45i(0x18c)](a){const j=a45i;return this[j(0x195)](a);}['use'](a){const k=a45i,b=a[k(0x18a)]('\x20')['toLowerCase']();if(!this[k(0x194)]['inventory'][k(0x19e)](b))return this['logger'][k(0x1ae)](k(0x197)+this['actor'][k(0x18d)]+k(0x19f)+b+k(0x1a0)),k(0x1a1)+b+k(0x191);const c=this[k(0x194)][k(0x19d)]['getItem'](b);if(!c)return this[k(0x18f)][k(0x1ae)](k(0x197)+b+k(0x1a3)+this[k(0x194)]['name']+k(0x198)),k(0x1a1)+b+k(0x191);if(typeof c[k(0x195)]===k(0x192)){const d=c[k(0x195)]();return this[k(0x18f)][k(0x1ae)]('UseCommand:\x20'+this[k(0x194)][k(0x18d)]+k(0x1a7)+b+'.'),d;}else return this[k(0x18f)]['write']('UseCommand:\x20'+b+k(0x1af)),k(0x1a4)+b+'\x20in\x20this\x20way.';}}
1
+ const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0xdb))/0x1+parseInt(f(0xf8))/0x2*(parseInt(f(0xed))/0x3)+-parseInt(f(0xf4))/0x4+-parseInt(f(0xdf))/0x5*(-parseInt(f(0xe6))/0x6)+-parseInt(f(0xef))/0x7*(-parseInt(f(0xf3))/0x8)+parseInt(f(0xdd))/0x9*(parseInt(f(0xee))/0xa)+parseInt(f(0xe7))/0xb*(-parseInt(f(0xde))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x3c8d5));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0xe3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a['toString']()[h(0xf6)](h(0xfc))[h(0xe2)]()['constructor'](a45a)['search'](h(0xfc));});function a45c(){const l=['\x20used\x20','141137aSMxce','\x27s\x20inventory.','288SRAtZf','60KWKANN','5ciKnnZ','inventory','\x20to\x20use.','toString','apply','join','You\x20can\x27t\x20use\x20the\x20','197214pKxXdI','263824olgfLq','name','function','hasItem','\x20not\x20retrieved\x20from\x20','getItem','542307Jnrnfp','76150urRYHD','1741551kDQPsh','UseCommand:\x20','\x20doesn\x27t\x20have\x20a\x20use\x20method.','logger','8cFgAqm','1917228QmtWQg','\x20attempted\x20to\x20use\x20','search','actor','2lbhOWK','verb','description','You\x20don\x27t\x20have\x20the\x20','(((.+)+)+)+$','use','\x20in\x20this\x20way.','execute','write'];a45c=function(){return l;};return a45c();}a45a();function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xda;let f=c[d];return f;},a45d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0xf9)]='use';static [a45i(0xfa)]='Use\x20an\x20item.';[a45i(0xff)](a){const j=a45i;return this[j(0xfd)](a);}[a45i(0xfd)](a){const k=a45i,b=a[k(0xe4)]('\x20')['toLowerCase']();if(!this[k(0xf7)][k(0xe0)][k(0xea)](b))return this[k(0xf2)][k(0x100)](k(0xf0)+this['actor'][k(0xe8)]+k(0xf5)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),k(0xfb)+b+'\x20to\x20use.';const c=this['actor'][k(0xe0)][k(0xec)](b);if(!c)return this[k(0xf2)][k(0x100)](k(0xf0)+b+k(0xeb)+this[k(0xf7)]['name']+k(0xdc)),k(0xfb)+b+k(0xe1);if(typeof c['use']===k(0xe9)){const d=c['use']();return this[k(0xf2)]['write']('UseCommand:\x20'+this['actor'][k(0xe8)]+k(0xda)+b+'.'),d;}else return this['logger']['write']('UseCommand:\x20'+b+k(0xf1)),k(0xe5)+b+k(0xfe);}}
@@ -1 +1 @@
1
- const a46h=a46d;function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0xf5;let f=c[d];return f;},a46d(a,b);}(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x100))/0x1*(-parseInt(f(0xfc))/0x2)+parseInt(f(0xfa))/0x3+parseInt(f(0x106))/0x4+-parseInt(f(0xff))/0x5+parseInt(f(0x101))/0x6*(parseInt(f(0x104))/0x7)+parseInt(f(0xf8))/0x8*(parseInt(f(0xfe))/0x9)+parseInt(f(0xfb))/0xa*(-parseInt(f(0x105))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x2a613));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const g=a46d;return a46a['toString']()[g(0xf5)](g(0xf6))[g(0x102)]()[g(0x103)](a46a)[g(0xf5)](g(0xf6));});function a46c(){const k=['271275hQVXCg','1CTCssD','6HwidYu','toString','constructor','1872073kippQt','11jHGVZO','1305428GyIXKT','search','(((.+)+)+)+$','commandMap','9544iIugRs','createCommand','875382QTIAgf','6102260uiVhbu','493506iebNHi','getAllRegisteredCommands','1503UXvymm'];a46c=function(){return k;};return a46c();}a46a();export class CommandFactory{static [a46h(0xf7)]={};static['registerCommand'](a,b){const i=a46h;this[i(0xf7)][a]=b;}static[a46h(0xf9)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a46h(0xfd)](){const j=a46h;return this[j(0xf7)];}}
1
+ const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x1f6))/0x1*(-parseInt(f(0x1ef))/0x2)+-parseInt(f(0x1f1))/0x3+-parseInt(f(0x1ea))/0x4*(parseInt(f(0x1e8))/0x5)+-parseInt(f(0x1ec))/0x6*(-parseInt(f(0x1e6))/0x7)+-parseInt(f(0x1f2))/0x8+-parseInt(f(0x1f4))/0x9+parseInt(f(0x1ee))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xce4f4));function a46c(){const m=['apply','12yFIIyH','toString','3110028cEzgzr','search','57468830gXbwWO','2cwOELy','commandMap','2039691ANJwkf','10682192RvLmHK','registerCommand','10602162pBgqrD','createCommand','712483EbeWAf','getAllRegisteredCommands','7hznnAW','(((.+)+)+)+$','2524175cURbtM'];a46c=function(){return m;};return a46c();}function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a46d(a,b);}const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x1eb)]()[h(0x1ed)]('(((.+)+)+)+$')[h(0x1eb)]()['constructor'](a46a)[h(0x1ed)](h(0x1e7));});a46a();export class CommandFactory{static [a46i(0x1f0)]={};static[a46i(0x1f3)](a,b){const j=a46i;this[j(0x1f0)][a]=b;}static[a46i(0x1f5)](a,b){const k=a46i,c=this[k(0x1f0)][a];if(c)return new c(b);return null;}static[a46i(0x1f7)](){const l=a46i;return this[l(0x1f0)];}}
@@ -1 +1 @@
1
- const a47j=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x183))/0x1+-parseInt(f(0x182))/0x2+-parseInt(f(0x184))/0x3+parseInt(f(0x188))/0x4*(parseInt(f(0x177))/0x5)+-parseInt(f(0x176))/0x6*(-parseInt(f(0x173))/0x7)+-parseInt(f(0x17c))/0x8*(-parseInt(f(0x185))/0x9)+-parseInt(f(0x16d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x59f2d));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const g=a47d;return a47a[g(0x17f)]()[g(0x178)](g(0x186))[g(0x17f)]()['constructor'](a47a)[g(0x178)](g(0x186));});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x16c;let f=c[d];return f;},a47d(a,b);}function a47c(){const m=['toUpperCase','items','toString','addItem','isStartRoom','411814WehWlQ','446845OVXhRr','1838670NBhanh','5776902GwGFLw','(((.+)+)+)+$','roomType','8CsZuoM','inventory','convertToRoomConfig','description','puzzle','2784770PhTBtg','rifle','name','setPuzzle','createPuzzle','book','1313347VTYuDd','boots','createItem','12hceikT','4345PemIdA','search','content','type','gloves','8LiuSnm'];a47c=function(){return m;};return a47c();}import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const h=a47d,b=this[h(0x18a)](a),c=new Room(b);if(a[h(0x17e)]){const d=new Inventory();a[h(0x17e)]['forEach'](e=>{const i=h;d[i(0x180)](this[i(0x175)](e));}),c[h(0x189)]=d;}return a[h(0x16c)]&&c[h(0x170)](this[h(0x171)](a['puzzle'])),c;}[a47j(0x175)](a){const k=a47j;switch(a[k(0x17a)]){case'key':return new Key(a[k(0x16f)],a[k(0x18b)]);case k(0x172):return new Book(a[k(0x16f)],a[k(0x18b)],a[k(0x179)]);case'sword':return new Sword(a[k(0x16f)],a[k(0x18b)]);case k(0x16e):return new Rifle(a[k(0x16f)],a[k(0x18b)]);case'helmet':return new Helmet(a['name'],a[k(0x18b)]);case'bodyarmor':return new BodyArmor(a['name'],a['description']);case'legarmor':return new LegArmor(a[k(0x16f)],a[k(0x18b)]);case k(0x174):return new Boots(a['name'],a[k(0x18b)]);case k(0x17b):return new Gloves(a['name'],a['description']);case'gauntlets':return new Gauntlets(a['name'],a['description']);default:return new BasicItem(a[k(0x16f)],a[k(0x18b)]);}}['createPuzzle'](a){const b=this['createItem'](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a47j(0x18a)](a){const l=a47j,b=a[l(0x187)]&&RoomType[a['roomType'][l(0x17d)]()]?RoomType[a[l(0x187)]['toUpperCase']()]:RoomType['INSIDE'];return{'name':a['name'],'description':a[l(0x18b)],'isStartRoom':a[l(0x181)],'roomType':b};}}
1
+ function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x9b;let f=c[d];return f;},a47d(a,b);}const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0xc1))/0x1*(-parseInt(f(0xb3))/0x2)+-parseInt(f(0xa1))/0x3+-parseInt(f(0xa5))/0x4*(parseInt(f(0xa6))/0x5)+-parseInt(f(0xab))/0x6*(-parseInt(f(0xba))/0x7)+-parseInt(f(0xa9))/0x8+-parseInt(f(0xa7))/0x9*(-parseInt(f(0xbc))/0xa)+-parseInt(f(0xbf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x8b936));function a47c(){const o=['17983Whwpdj','toString','constructor','toUpperCase','createPuzzle','createRoom','gloves','2763408RdHvxT','type','forEach','apply','4pJqfDy','253125vuljwc','27NRFOUb','key','266400WCYyqn','name','22338oWUqIH','search','description','rifle','roomType','content','convertToRoomConfig','isStartRoom','124hlBzUb','createItem','sword','boots','setPuzzle','INSIDE','(((.+)+)+)+$','462RmKyyi','puzzle','2376020cbtrtZ','items','book','5463777lWxXkz','gauntlets'];a47c=function(){return o;};return a47c();}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x9b)]()[h(0xac)](h(0xb9))[h(0x9b)]()[h(0x9c)](a47a)[h(0xac)](h(0xb9));});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0x9f)](a){const j=a47i,b=this[j(0xb1)](a),c=new Room(b);if(a[j(0xbd)]){const d=new Inventory();a[j(0xbd)][j(0xa3)](e=>{const k=j;d['addItem'](this[k(0xb4)](e));}),c['inventory']=d;}return a[j(0xbb)]&&c[j(0xb7)](this['createPuzzle'](a[j(0xbb)])),c;}[a47i(0xb4)](a){const l=a47i;switch(a[l(0xa2)]){case l(0xa8):return new Key(a[l(0xaa)],a[l(0xad)]);case l(0xbe):return new Book(a[l(0xaa)],a[l(0xad)],a[l(0xb0)]);case l(0xb5):return new Sword(a[l(0xaa)],a[l(0xad)]);case l(0xae):return new Rifle(a[l(0xaa)],a[l(0xad)]);case'helmet':return new Helmet(a[l(0xaa)],a[l(0xad)]);case'bodyarmor':return new BodyArmor(a[l(0xaa)],a[l(0xad)]);case'legarmor':return new LegArmor(a[l(0xaa)],a['description']);case l(0xb6):return new Boots(a[l(0xaa)],a[l(0xad)]);case l(0xa0):return new Gloves(a['name'],a[l(0xad)]);case l(0xc0):return new Gauntlets(a[l(0xaa)],a[l(0xad)]);default:return new BasicItem(a['name'],a['description']);}}[a47i(0x9e)](a){const m=a47i,b=this[m(0xb4)](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a47i,b=a['roomType']&&RoomType[a[n(0xaf)][n(0x9d)]()]?RoomType[a['roomType']['toUpperCase']()]:RoomType[n(0xb8)];return{'name':a[n(0xaa)],'description':a['description'],'isStartRoom':a[n(0xb2)],'roomType':b};}}
@@ -1 +1 @@
1
- function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x170;let f=c[d];return f;},a48d(a,b);}const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x180))/0x1*(parseInt(h(0x172))/0x2)+-parseInt(h(0x19b))/0x3*(-parseInt(h(0x195))/0x4)+-parseInt(h(0x1a1))/0x5+-parseInt(h(0x176))/0x6*(-parseInt(h(0x194))/0x7)+parseInt(h(0x17d))/0x8+-parseInt(h(0x18a))/0x9*(-parseInt(h(0x175))/0xa)+parseInt(h(0x186))/0xb*(-parseInt(h(0x17b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x3068d));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x18c)]()[j(0x199)](j(0x181))[j(0x18c)]()[j(0x197)](a48a)[j(0x199)](j(0x181));});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';function a48c(){const s=['4lZidfN','registerCommands','constructor','getDescription','search','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','363861cnztxc','clear','lock','Available\x20Commands:\x0a','getRooms','createCommand','791280IRFHsi','scene','determineStartRoom','instance','getInstance','currentLocation','rooms','82cKrRBj','trim','-\x20quit:\x20Exit\x20the\x20game.\x0a','10sXDPoL','240690uplarY','unlock','drop','slice','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','684MXWMor','use','3025176zyNGRl','equip','handleInput','1198xmNhqa','(((.+)+)+)+$','currentRoom','getWelcomeMessage','split','initialize','54725VFTCzr','player','hasOwnProperty','solve','463041VDjJda','take','toString','look','registerCommand','apply','getHelpMessage','say','quit','execute','7oDncPG'];a48c=function(){return s;};return a48c();}import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0x1a4)];[a48k(0x1a2)];['player'];[a48k(0x182)];[a48k(0x171)];constructor(a,b){const l=a48k;this[l(0x187)]=a,this[l(0x1a2)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x1a2)][l(0x185)](),this['player'][l(0x170)]=this[l(0x1a3)](),this[l(0x196)]();}[a48k(0x196)](){const m=a48k;CommandFactory[m(0x18e)](m(0x18d),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0x18e)](m(0x18b),TakeCommand),CommandFactory['registerCommand'](m(0x17c),UseCommand),CommandFactory['registerCommand'](m(0x17e),EquipCommand),CommandFactory[m(0x18e)]('unequip',UnequipCommand),CommandFactory['registerCommand'](m(0x189),SolveCommand),CommandFactory[m(0x18e)](m(0x178),DropCommand),CommandFactory[m(0x18e)](m(0x177),UnlockCommand),CommandFactory['registerCommand'](m(0x19d),LockCommand),CommandFactory[m(0x18e)](m(0x199),SearchCommand),CommandFactory['registerCommand'](m(0x191),SayCommand);}[a48k(0x1a3)](){const n=a48k;return this[n(0x1a2)]['determineStartRoom']();}[a48k(0x183)](){const o=a48k;return'Welcome,\x20'+this[o(0x187)]['name'];}static[a48k(0x1a5)](a,b){const p=a48k;return!Game[p(0x1a4)]&&(Game[p(0x1a4)]=new Game(a,b)),Game[p(0x1a4)];}[a48k(0x17f)](a){const q=a48k,b=a[q(0x173)]()[q(0x184)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0x179)](0x1);if(c===q(0x192))return null;if(c==='maka')return q(0x19a);if(c==='help')return this['getHelpMessage']();if(c===q(0x19c))return'';const e={'actor':this[q(0x187)],'rooms':this[q(0x1a2)][q(0x19f)](),'scene':this[q(0x1a2)]},f=CommandFactory[q(0x1a0)](c,e);if(f){const g=f[q(0x193)](d);return g;}return q(0x17a)+c+'\x22.';}[a48k(0x190)](){const r=a48k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x19e);for(const c in a){if(a[r(0x188)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x198)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+=r(0x174),b;}}
1
+ const a48k=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x133;let f=c[d];return f;},a48d(a,b);}(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0x161))/0x1+-parseInt(h(0x147))/0x2+-parseInt(h(0x150))/0x3*(parseInt(h(0x141))/0x4)+-parseInt(h(0x133))/0x5*(-parseInt(h(0x14a))/0x6)+parseInt(h(0x135))/0x7+-parseInt(h(0x148))/0x8*(-parseInt(h(0x146))/0x9)+parseInt(h(0x164))/0xa*(parseInt(h(0x139))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x50bd1));function a48c(){const s=['11472970gMznrx','clear','getDescription','Available\x20Commands:\x0a','1230cAAxly','apply','1694910rjimMn','Welcome,\x20','help','say','11UTMGjB','handleInput','split','getRooms','-\x20clear:\x20Clear\x20the\x20screen.\x0a','-\x20quit:\x20Exit\x20the\x20game.\x0a','toString','registerCommand','392jUlFYm','getHelpMessage','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','maka','88002QrLTHp','761904tLxQOZ','296eNJTSF','use','1236lKozFd','unlock','trim','lock','instance','execute','17100hrQJGI','currentLocation','unequip','currentRoom','name','getAllRegisteredCommands','player','search','determineStartRoom','getInstance','(((.+)+)+)+$','scene','take','registerCommands','slice','toLowerCase','constructor','531632zQRpvK','solve','createCommand'];a48c=function(){return s;};return a48c();}const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x13f)]()['search'](j(0x15a))[j(0x13f)]()[j(0x160)](a48a)['search']('(((.+)+)+)+$');});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0x14e)];[a48k(0x15b)];['player'];[a48k(0x153)];['rooms'];constructor(a,b){const l=a48k;this[l(0x156)]=a,this[l(0x15b)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x15b)]['initialize'](),this[l(0x156)][l(0x151)]=this['determineStartRoom'](),this['registerCommands']();}[a48k(0x15d)](){const m=a48k;CommandFactory[m(0x140)]('look',LookCommand),CommandFactory[m(0x140)]('go',GoCommand),CommandFactory[m(0x140)](m(0x15c),TakeCommand),CommandFactory[m(0x140)](m(0x149),UseCommand),CommandFactory[m(0x140)]('equip',EquipCommand),CommandFactory['registerCommand'](m(0x152),UnequipCommand),CommandFactory[m(0x140)](m(0x162),SolveCommand),CommandFactory[m(0x140)]('drop',DropCommand),CommandFactory['registerCommand'](m(0x14b),UnlockCommand),CommandFactory[m(0x140)](m(0x14d),LockCommand),CommandFactory[m(0x140)](m(0x157),SearchCommand),CommandFactory[m(0x140)](m(0x138),SayCommand);}[a48k(0x158)](){const n=a48k;return this[n(0x15b)][n(0x158)]();}['getWelcomeMessage'](){const o=a48k;return o(0x136)+this[o(0x156)][o(0x154)];}static[a48k(0x159)](a,b){const p=a48k;return!Game[p(0x14e)]&&(Game['instance']=new Game(a,b)),Game['instance'];}[a48k(0x13a)](a){const q=a48k,b=a[q(0x14c)]()[q(0x13b)]('\x20'),c=b[0x0][q(0x15f)](),d=b[q(0x15e)](0x1);if(c==='quit')return null;if(c===q(0x145))return q(0x143);if(c===q(0x137))return this[q(0x142)]();if(c===q(0x165))return'';const e={'actor':this[q(0x156)],'rooms':this[q(0x15b)][q(0x13c)](),'scene':this['scene']},f=CommandFactory[q(0x163)](c,e);if(f){const g=f[q(0x14f)](d);return g;}return q(0x144)+c+'\x22.';}[a48k(0x142)](){const r=a48k,a=CommandFactory[r(0x155)]();let b=r(0x167);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x166)]()+'\x0a';}}return b+=r(0x13d),b+=r(0x13e),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1c3))/0x1+-parseInt(f(0x1ba))/0x2+-parseInt(f(0x1b7))/0x3+parseInt(f(0x1bd))/0x4+parseInt(f(0x1b9))/0x5*(parseInt(f(0x1c2))/0x6)+parseInt(f(0x1be))/0x7*(-parseInt(f(0x1bc))/0x8)+parseInt(f(0x1bb))/0x9*(parseInt(f(0x1c0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xd3079));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1b6)]()['search'](h(0x1b8))[h(0x1b6)]()['constructor'](a49a)[h(0x1bf)](h(0x1b8));});a49a();export*from'./door.js';export*from'./inventory.js';function a49c(){var i=['6085764qpKVgy','37870ZQDWMl','search','20YByGdx','apply','6GWjTXn','658225EFwodM','toString','4119975LGTtir','(((.+)+)+)+$','2767815fonASd','2606962GvIvns','5851188nDUFqr','728azPjrl'];a49c=function(){return i;};return a49c();}export*from'./item.js';export*from'./npc.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1b6;var f=c[d];return f;},a49d(a,b);}export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1d4))/0x1*(parseInt(f(0x1d7))/0x2)+parseInt(f(0x1d6))/0x3+parseInt(f(0x1da))/0x4*(parseInt(f(0x1dd))/0x5)+parseInt(f(0x1d3))/0x6+-parseInt(f(0x1e0))/0x7*(-parseInt(f(0x1db))/0x8)+-parseInt(f(0x1df))/0x9+parseInt(f(0x1dc))/0xa*(-parseInt(f(0x1de))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x260a9));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1e1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1d9)]()[h(0x1d8)](h(0x1d5))[h(0x1d9)]()['constructor'](a49a)[h(0x1d8)]('(((.+)+)+)+$');});function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1d3;var f=c[d];return f;},a49d(a,b);}a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a49c(){var i=['apply','567294DmYjWT','26583USMEci','(((.+)+)+)+$','554538YAUksm','18fzpfqo','search','toString','4XEaEhB','8uJFynj','7230zKhOwx','371540TBYUrS','2519AQxMPG','695862mdNccH','1989722bJvXeb'];a49c=function(){return i;};return a49c();}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- function a50c(){var n=['5zqhnnX','12468ypvnDt','1vjPpox','1138461QQVkeT','write','checkIfLockable','isLockable','.\x20Used:\x20','roomB','roomA','358092uWTIuI','Failed\x20to\x20unlock\x20door:\x20','name','.\x20Is\x20Locked:\x20','isLocked','logger','Door\x20created\x20between\x20','unlockItemOrSolution','29557LtWeht','constructor','4747660qShrFH','To\x20','getOtherSide','\x20and\x20','Door\x20unlocked:\x20','search','4711362kbePju','checkIfLocked','(((.+)+)+)+$','128ZLffXS','toString','1195674PXPOQN','getInstance','12eOreOU','1291766xzmfpQ'];a50c=function(){return n;};return a50c();}var a50h=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x1a0))/0x1*(-parseInt(f(0x19a))/0x2)+parseInt(f(0x1a1))/0x3*(parseInt(f(0x19c))/0x4)+parseInt(f(0x19e))/0x5*(parseInt(f(0x195))/0x6)+-parseInt(f(0x19d))/0x7+-parseInt(f(0x198))/0x8*(-parseInt(f(0x1a8))/0x9)+parseInt(f(0x18f))/0xa+parseInt(f(0x18d))/0xb*(-parseInt(f(0x19f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xa04b8));function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x186;var f=c[d];return f;},a50d(a,b);}var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var g=a50d;return a50a[g(0x199)]()['search'](g(0x197))['toString']()[g(0x18e)](a50a)[g(0x194)](g(0x197));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50h(0x1a7)];[a50h(0x1a6)];['isLocked'];[a50h(0x18c)];[a50h(0x187)];['logger'];['isLockable'];constructor(a){var i=a50h;super(),this[i(0x1a7)]=a['roomA'],this[i(0x1a6)]=a[i(0x1a6)],this[i(0x189)]=a[i(0x189)]||![],this[i(0x18c)]=a[i(0x18c)],this[i(0x187)]=a[i(0x187)]?capitalCase(a[i(0x187)]):i(0x190)+a[i(0x1a6)]['name'],this['logger']=Logger[i(0x19b)](),this['isLockable']=!!a[i(0x18c)],this[i(0x18a)][i(0x1a2)](i(0x18b)+this[i(0x1a7)]['name']+i(0x192)+this['roomB'][i(0x187)]+i(0x188)+this[i(0x189)]);}[a50h(0x191)](a){var j=a50h;return this[j(0x1a7)]===a?this[j(0x1a6)]:this['roomA'];}['attemptUnlock'](a){var k=a50h;if(this[k(0x189)]&&this[k(0x18c)]&&this[k(0x18c)]===a)return this[k(0x189)]=![],this['logger'][k(0x1a2)](k(0x193)+this['name']+k(0x1a5)+a),!![];return this[k(0x18a)][k(0x1a2)](k(0x186)+this[k(0x187)]+k(0x1a5)+a),![];}[a50h(0x196)](){var l=a50h;return this[l(0x189)];}[a50h(0x1a3)](){var m=a50h;return this[m(0x1a4)];}}
1
+ var a50h=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x1ba))/0x1+-parseInt(f(0x1b4))/0x2+-parseInt(f(0x1c6))/0x3*(parseInt(f(0x1b5))/0x4)+-parseInt(f(0x1b9))/0x5*(-parseInt(f(0x1bd))/0x6)+-parseInt(f(0x1b0))/0x7+-parseInt(f(0x1bb))/0x8+-parseInt(f(0x1b3))/0x9*(-parseInt(f(0x1c3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xae973));function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x1af;var f=c[d];return f;},a50d(a,b);}var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var g=a50d;return a50a['toString']()[g(0x1c1)](g(0x1bc))['toString']()[g(0x1c7)](a50a)[g(0x1c1)]('(((.+)+)+)+$');});a50a();import{Logger}from'../utilities/logger.js';function a50c(){var n=['isLocked','unlockItemOrSolution','\x20and\x20','534394JwhLDW','getInstance','roomA','36972xnNSAD','2141796Zatkpc','8fKguos','Door\x20unlocked:\x20','name','getOtherSide','10OqPIQy','185195WsuYwD','6250176OuuTFQ','(((.+)+)+)+$','1175844jnXfrY','checkIfLocked','write','roomB','search','To\x20','7770QwyVEJ','logger','isLockable','1132551iROdYl','constructor','attemptUnlock','.\x20Used:\x20'];a50c=function(){return n;};return a50c();}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50h(0x1b2)];[a50h(0x1c0)];[a50h(0x1ca)];['unlockItemOrSolution'];[a50h(0x1b7)];['logger'];[a50h(0x1c5)];constructor(a){var i=a50h;super(),this[i(0x1b2)]=a[i(0x1b2)],this[i(0x1c0)]=a[i(0x1c0)],this['isLocked']=a[i(0x1ca)]||![],this[i(0x1cb)]=a[i(0x1cb)],this[i(0x1b7)]=a[i(0x1b7)]?capitalCase(a[i(0x1b7)]):i(0x1c2)+a[i(0x1c0)][i(0x1b7)],this['logger']=Logger[i(0x1b1)](),this[i(0x1c5)]=!!a[i(0x1cb)],this['logger']['write']('Door\x20created\x20between\x20'+this[i(0x1b2)][i(0x1b7)]+i(0x1af)+this['roomB'][i(0x1b7)]+'.\x20Is\x20Locked:\x20'+this[i(0x1ca)]);}[a50h(0x1b8)](a){var j=a50h;return this[j(0x1b2)]===a?this[j(0x1c0)]:this['roomA'];}[a50h(0x1c8)](a){var k=a50h;if(this[k(0x1ca)]&&this[k(0x1cb)]&&this[k(0x1cb)]===a)return this[k(0x1ca)]=![],this['logger'][k(0x1bf)](k(0x1b6)+this[k(0x1b7)]+k(0x1c9)+a),!![];return this[k(0x1c4)][k(0x1bf)]('Failed\x20to\x20unlock\x20door:\x20'+this[k(0x1b7)]+k(0x1c9)+a),![];}[a50h(0x1be)](){var l=a50h;return this[l(0x1ca)];}['checkIfLockable'](){var m=a50h;return this[m(0x1c5)];}}
@@ -1 +1 @@
1
- const a51h=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a51d(a,b);}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x1d0))/0x1+-parseInt(f(0x1d1))/0x2*(parseInt(f(0x1d7))/0x3)+parseInt(f(0x1e4))/0x4*(-parseInt(f(0x1cf))/0x5)+parseInt(f(0x1e7))/0x6*(-parseInt(f(0x1e8))/0x7)+-parseInt(f(0x1e9))/0x8+-parseInt(f(0x1ce))/0x9*(-parseInt(f(0x1ec))/0xa)+parseInt(f(0x1ca))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xda613));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const g=a51d;return a51a[g(0x1d9)]()[g(0x1eb)](g(0x1cb))[g(0x1d9)]()[g(0x1e2)](a51a)[g(0x1eb)](g(0x1cb));});a51a();import{capitalCase}from'change-case';function a51c(){const q=['121252FENZgP','Failed\x20to\x20remove\x20item:\x20','join','2543334KLeyKY','21bdLKDF','11447544RCkGwc','values','search','46150yqbVLg','weight','keys','getItem','Checked\x20for\x20item:\x20','set','items','64484343ToxnAr','(((.+)+)+)+$','get','.\x20Item\x20not\x20found.','81AakFZS','135IJZelg','658189ClEYft','87370fKwYuB','\x20from\x20inventory.','Listed\x20items\x20in\x20inventory:\x20','getWeight','\x20in\x20','map','57Raogic','removeItem','toString','logger','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','write','getAllItems','Retrieved\x20details\x20for\x20item:\x20','toLowerCase','name','has','constructor','getInstance'];a51c=function(){return q;};return a51c();}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51h(0x1c9)];['logger'];constructor(){const i=a51h;super(),this[i(0x1c9)]=new Map(),this['logger']=Logger[i(0x1e3)]();}['addItem'](a){const j=a51h;this[j(0x1c9)][j(0x1c8)](a[j(0x1e0)]['toLowerCase'](),a),this['logger'][j(0x1dc)]('Added\x20item:\x20'+a[j(0x1e0)]+'\x20to\x20inventory.');}[a51h(0x1d8)](a){const k=a51h,b=this['getItem'](a);if(b)return this[k(0x1c9)]['delete'](a['toLowerCase']()),this[k(0x1da)][k(0x1dc)]('Removed\x20item:\x20'+a+k(0x1d2)),b;return this[k(0x1da)][k(0x1dc)](k(0x1e5)+a+k(0x1cd)),null;}['hasItem'](a){const l=a51h,b=this['items'][l(0x1e1)](a[l(0x1df)]()),c=[...this[l(0x1c9)][l(0x1c5)]()];return this[l(0x1da)][l(0x1dc)](l(0x1c7)+a+l(0x1d5)+c[l(0x1e6)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a51h(0x1c6)](a){const m=a51h,b=this['items'][m(0x1cc)](a['toLowerCase']())||null;return b?this[m(0x1da)][m(0x1dc)](m(0x1de)+a+'.'):this[m(0x1da)]['write'](m(0x1db)+a+m(0x1cd)),b;}['listItems'](){const n=a51h,a=[...this[n(0x1c9)][n(0x1c5)]()],b=a[n(0x1d6)](c=>capitalCase(c));return this['logger'][n(0x1dc)](n(0x1d3)+b[n(0x1e6)](',\x20')+'.'),a;}[a51h(0x1d4)](){const o=a51h;let a=0x0;for(const b of this['items'][o(0x1ea)]()){a+=b[o(0x1c4)];}return a;}[a51h(0x1dd)](){const p=a51h;return[...this[p(0x1c9)][p(0x1ea)]()];}}
1
+ function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a51d(a,b);}const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x1e7))/0x1+-parseInt(f(0x1e3))/0x2*(parseInt(f(0x1ec))/0x3)+parseInt(f(0x1fb))/0x4+-parseInt(f(0x1e8))/0x5*(parseInt(f(0x1f1))/0x6)+-parseInt(f(0x1f8))/0x7*(parseInt(f(0x1e0))/0x8)+-parseInt(f(0x1df))/0x9*(-parseInt(f(0x1e2))/0xa)+-parseInt(f(0x1fd))/0xb*(parseInt(f(0x1f6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xa83db));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x1fc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x1f4)]()['search'](h(0x1e9))[h(0x1f4)]()[h(0x1ea)](a51a)[h(0x1f9)](h(0x1e9));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a51c(){const r=['toString','items','14531028vnEWiF','keys','581SZHkoh','search','Added\x20item:\x20','3592064ProCFr','apply','11xktZhv','values','weight','Failed\x20to\x20remove\x20item:\x20','getWeight','name','join','write','logger','toLowerCase','map','set','.\x20Item\x20not\x20found.','Listed\x20items\x20in\x20inventory:\x20','1431oZVUaH','6560KMmzyV','\x20in\x20','45380jJpGir','611292dKprFS','.\x20Exists:\x20','Removed\x20item:\x20','getItem','962774mQZSzk','32145rYgqNl','(((.+)+)+)+$','constructor','delete','3LwrtOu','has','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','Checked\x20for\x20item:\x20','addItem','288fgoqPd','getAllItems','\x20from\x20inventory.'];a51c=function(){return r;};return a51c();}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x1f5)];[a51i(0x1d9)];constructor(){const j=a51i;super(),this[j(0x1f5)]=new Map(),this['logger']=Logger['getInstance']();}[a51i(0x1f0)](a){const k=a51i;this[k(0x1f5)][k(0x1dc)](a[k(0x1d6)][k(0x1da)](),a),this[k(0x1d9)]['write'](k(0x1fa)+a[k(0x1d6)]+'\x20to\x20inventory.');}['removeItem'](a){const l=a51i,b=this[l(0x1e6)](a);if(b)return this['items'][l(0x1eb)](a[l(0x1da)]()),this[l(0x1d9)]['write'](l(0x1e5)+a+l(0x1f3)),b;return this['logger'][l(0x1d8)](l(0x1d4)+a+l(0x1dd)),null;}['hasItem'](a){const m=a51i,b=this[m(0x1f5)][m(0x1ed)](a['toLowerCase']()),c=[...this['items']['keys']()];return this[m(0x1d9)]['write'](m(0x1ef)+a+m(0x1e1)+c[m(0x1d7)](',\x20')+m(0x1e4)+b+'.'),b;}[a51i(0x1e6)](a){const n=a51i,b=this['items']['get'](a[n(0x1da)]())||null;return b?this[n(0x1d9)][n(0x1d8)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this['logger'][n(0x1d8)](n(0x1ee)+a+n(0x1dd)),b;}['listItems'](){const o=a51i,a=[...this['items'][o(0x1f7)]()],b=a[o(0x1db)](c=>capitalCase(c));return this['logger']['write'](o(0x1de)+b[o(0x1d7)](',\x20')+'.'),a;}[a51i(0x1d5)](){const p=a51i;let a=0x0;for(const b of this[p(0x1f5)][p(0x1fe)]()){a+=b[p(0x1d3)];}return a;}[a51i(0x1f2)](){const q=a51i;return[...this[q(0x1f5)][q(0x1fe)]()];}}
@@ -1 +1 @@
1
- function a52c(){var k=['282205cyOsSp','3YPGJmX','description','(((.+)+)+)+$','47107990uuzjXB','category','uuid','size','3485242KDWOmL','78BZpPuI','texture','You\x20use\x20the\x20','name','rating','weight','toString','constructor','2279336CCwiqG','search','21EqliuL','color','shape','11FHIERd','2400456wWHloL','13160916BBTCWB','1346420vLJSlK'];a52c=function(){return k;};return a52c();}var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1f1))/0x1+-parseInt(f(0x1e0))/0x2+-parseInt(f(0x1f3))/0x3*(-parseInt(f(0x1ef))/0x4)+-parseInt(f(0x1f2))/0x5*(parseInt(f(0x1e1))/0x6)+parseInt(f(0x1eb))/0x7*(parseInt(f(0x1e9))/0x8)+-parseInt(f(0x1f0))/0x9+parseInt(f(0x1f6))/0xa*(parseInt(f(0x1ee))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xd6fb6));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0x1e7)]()['search'](g(0x1f5))['toString']()[g(0x1e8)](a52a)[g(0x1ea)](g(0x1f5));});function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1de;var f=c[d];return f;},a52d(a,b);}a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];[a52h(0x1e4)];[a52h(0x1f4)];[a52h(0x1df)];['category'];[a52h(0x1ed)];['color'];[a52h(0x1e2)];[a52h(0x1e5)];[a52h(0x1e6)];constructor(a){var i=a52h;super(),this['name']=a[i(0x1e4)],this[i(0x1f4)]=a[i(0x1f4)],this[i(0x1df)]=a[i(0x1df)],this[i(0x1f7)]=a[i(0x1f7)],this[i(0x1ed)]=a['shape'],this['color']=a[i(0x1ec)],this['texture']=a['texture'],this[i(0x1e5)]=a[i(0x1e5)],this[i(0x1e6)]=a['weight'],this[i(0x1de)]=a52e();}['use'](){var j=a52h;return j(0x1e3)+this[j(0x1e4)]+'.\x20Nothing\x20special\x20happens.';}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x10b))/0x1*(parseInt(f(0x124))/0x2)+-parseInt(f(0x10c))/0x3+parseInt(f(0x10d))/0x4+parseInt(f(0x11b))/0x5*(-parseInt(f(0x125))/0x6)+-parseInt(f(0x122))/0x7*(-parseInt(f(0x10e))/0x8)+parseInt(f(0x110))/0x9+parseInt(f(0x126))/0xa*(-parseInt(f(0x11a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x6face));function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x10b;var f=c[d];return f;},a52d(a,b);}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x113)]()[h(0x10f)](h(0x115))[h(0x113)]()[h(0x118)](a52a)[h(0x10f)](h(0x115));});a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a52c(){var l=['20SDrKWH','weight','shape','apply','uuid','size','name','511LtCKAu','texture','22HAtEkg','233598aNhsyg','11028020mXuSrS','4196bNUiqg','774426SegMNi','1575736vEhfrt','94120UZTBoP','search','6076467YTXVUh','use','color','toString','category','(((.+)+)+)+$','rating','You\x20use\x20the\x20','constructor','description','11mCxtdZ'];a52c=function(){return l;};return a52c();}export class Item extends AbstractItem{[a52i(0x11f)];[a52i(0x121)];[a52i(0x119)];['size'];[a52i(0x114)];[a52i(0x11d)];[a52i(0x112)];[a52i(0x123)];[a52i(0x116)];[a52i(0x11c)];constructor(a){var j=a52i;super(),this[j(0x121)]=a[j(0x121)],this['description']=a['description'],this[j(0x120)]=a[j(0x120)],this[j(0x114)]=a['category'],this['shape']=a[j(0x11d)],this['color']=a[j(0x112)],this[j(0x123)]=a['texture'],this[j(0x116)]=a[j(0x116)],this[j(0x11c)]=a[j(0x11c)],this[j(0x11f)]=a52e();}[a52i(0x111)](){var k=a52i;return k(0x117)+this[k(0x121)]+'.\x20Nothing\x20special\x20happens.';}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x1e3))/0x1+parseInt(f(0x1e8))/0x2+parseInt(f(0x1f2))/0x3+parseInt(f(0x1f6))/0x4+parseInt(f(0x1f1))/0x5+-parseInt(f(0x1eb))/0x6+-parseInt(f(0x1ec))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x31481));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0x1f5)](h(0x1ed))[h(0x1ef)]()[h(0x1e2)](a53a)['search'](h(0x1ed));});a53a();function a53c(){const n=['apply','_name','constructor','355420gkcASD','length','_dialogue','name','moveTo','446734TXgqDZ','floor','random','1113516NJErXr','2323062LjVbLS','(((.+)+)+)+$','execute','toString','autonomousMove','581570AqBndM','1146066YbQDwu','rooms','speak','search','1412104RkSFKj'];a53c=function(){return n;};return a53c();}import{Player}from'./player.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1e0;let f=c[d];return f;},a53d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0x1e1)];[a53i(0x1e5)];[a53i(0x1f3)];['scene'];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x1e1)]=a,this[j(0x1e5)]=b,this['rooms']=c;}get['name'](){return this['_name'];}[a53i(0x1f4)](){const k=a53i;return this[k(0x1e5)][Math[k(0x1e9)](Math[k(0x1ea)]()*this[k(0x1e5)]['length'])];}[a53i(0x1f0)](a){const l=a53i,b=a[Math[l(0x1e9)](Math[l(0x1ea)]()*a[l(0x1e4)])];this[l(0x1e7)](b[l(0x1e6)]);}[a53i(0x1e7)](a){const m=a53i,b={'actor':this,'rooms':this[m(0x1f3)],'scene':this['scene']},c=new GoCommand(b);c[m(0x1ee)]([a]);}}
1
+ function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x121;let f=c[d];return f;},a53d(a,b);}const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x122))/0x1+parseInt(f(0x121))/0x2+parseInt(f(0x135))/0x3+-parseInt(f(0x12a))/0x4+parseInt(f(0x132))/0x5*(-parseInt(f(0x139))/0x6)+-parseInt(f(0x12e))/0x7*(parseInt(f(0x127))/0x8)+-parseInt(f(0x128))/0x9*(-parseInt(f(0x123))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x2f415));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x12b)]()['search'](h(0x131))[h(0x12b)]()[h(0x12d)](a53a)['search'](h(0x131));});a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a53c(){const n=['rooms','492470TwJIVJ','51034ylBTIY','532610RmBowp','apply','_name','moveTo','8lLEKfu','18OCriNv','random','105840AEsGWm','toString','_dialogue','constructor','1386357BVxeWy','floor','scene','(((.+)+)+)+$','7465zcDmAh','name','speak','702876lhAXPQ','execute','length','autonomousMove','474SNIjiK'];a53c=function(){return n;};return a53c();}export class NPC extends Player{[a53i(0x125)];[a53i(0x12c)];[a53i(0x13a)];[a53i(0x130)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x125)]=a,this[j(0x12c)]=b,this[j(0x13a)]=c;}get[a53i(0x133)](){return this['_name'];}[a53i(0x134)](){const k=a53i;return this[k(0x12c)][Math['floor'](Math[k(0x129)]()*this[k(0x12c)]['length'])];}[a53i(0x138)](a){const l=a53i,b=a[Math[l(0x12f)](Math[l(0x129)]()*a[l(0x137)])];this[l(0x126)](b[l(0x133)]);}[a53i(0x126)](a){const m=a53i,b={'actor':this,'rooms':this[m(0x13a)],'scene':this[m(0x130)]},c=new GoCommand(b);c[m(0x136)]([a]);}}
@@ -1 +1 @@
1
- function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1e3;let f=c[d];return f;},a54d(a,b);}const a54h=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x20d))/0x1+-parseInt(f(0x203))/0x2*(-parseInt(f(0x1f0))/0x3)+-parseInt(f(0x214))/0x4*(parseInt(f(0x1e3))/0x5)+-parseInt(f(0x239))/0x6+-parseInt(f(0x1e4))/0x7*(parseInt(f(0x223))/0x8)+parseInt(f(0x236))/0x9*(parseInt(f(0x1e6))/0xa)+parseInt(f(0x1f1))/0xb*(parseInt(f(0x1f5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x2d88b));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const g=a54d;return a54a['toString']()[g(0x235)](g(0x22c))[g(0x204)]()[g(0x241)](a54a)[g(0x235)](g(0x22c));});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';function a54c(){const B=['torso','currentLocation','hasItem','_currentLocation','leaveRoom','currentWeight','category','BodyArmor','speak','unequipBySlot','2xuDEwp','toString','You\x20don\x27t\x20have\x20','hear','Removed\x20','leftHand','Failed\x20to\x20remove\x20','Boots','ArmArmor','determineEquipmentSlot','189717cCiAtp','name','_playerName','removeItem','leg\x20armor','Helmet','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','627652wPLzex','feet','addInventory','equipment','LegArmor','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','shield','Invalid\x20category\x20or\x20slot:\x20','values','You\x20can\x27t\x20equip\x20','You\x20unequipped\x20','removeInventory','armarmor','write','equip','1096nyCSpi','_maxCarryingWeight','startLocation','bind','arms','canEquip','_inventory','Max\x20carrying\x20weight\x20must\x20be\x20positive.','gloves','(((.+)+)+)+$','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','\x20slot.','getWeight','Hat','_equipment','rightHand','weight','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','search','27ijIZgR','A\x20featureless\x20room','.\x20You\x20must\x20unequip\x20it\x20first.','1653438jnlwTr','\x20says:\x20\x22','arm\x20armor','Gloves','enterRoom','log','\x20from\x20player\x27s\x20inventory.','legs','constructor','10JhBvXP','11949jMTRVs','initialEquipment','626150ZeaEBd','helmet','addItem','inventoryItems','playerName','unequip','toLowerCase','head','bodyarmor','maxCarryingWeight','632943voKIFj','11DVjnJt','hat','legarmor','logger','5054664oMbzBi','Added\x20','error','\x20is\x20no\x20longer\x20listeng\x20in\x20'];a54c=function(){return B;};return a54c();}export class Player extends AbstractPlayer{['_playerName'];[a54h(0x1fc)];['_inventory'];[a54h(0x231)];[a54h(0x224)]=0x32;['logger'];constructor(a){const i=a54h;super(),this[i(0x20f)]=a[i(0x1ea)],this[i(0x1fc)]=a[i(0x225)]||new Room({'name':'Nexus','description':i(0x237)}),this[i(0x229)]=new Inventory(),this[i(0x1f4)]=Logger['getInstance']();if(a?.['inventoryItems'])for(const b of a[i(0x1e9)]){this[i(0x229)][i(0x1e8)](b);}this[i(0x231)]=a?.[i(0x1e5)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54h(0x20e)](){const j=a54h;return this[j(0x20f)];}get[a54h(0x1fa)](){const k=a54h;return this[k(0x1fc)];}set[a54h(0x1fa)](a){const l=a54h;this['_currentLocation']!==a&&(this[l(0x1fd)](),this[l(0x23d)](a)),this[l(0x1fc)]=a;}get['inventory'](){return this['_inventory'];}get[a54h(0x217)](){const m=a54h;return this[m(0x231)];}set[a54h(0x217)](a){const n=a54h;this[n(0x231)]=a;}get[a54h(0x1ef)](){const o=a54h;return this[o(0x224)];}set[a54h(0x1ef)](a){const p=a54h;a>0x0?this[p(0x224)]=a:console[p(0x1f7)](p(0x22a));}get[a54h(0x1fe)](){const q=a54h;let a=this[q(0x229)][q(0x22f)]();for(const b in this[q(0x231)]){const c=this[q(0x231)][b];c&&(a+=c[q(0x233)]);}return a;}[a54h(0x216)](a){const r=a54h;if(this[r(0x1fe)]+a[r(0x233)]>this['maxCarryingWeight']){this[r(0x1f4)]['write'](r(0x213));throw new Error(r(0x22d));}this[r(0x229)][r(0x1e8)](a),this[r(0x1f4)][r(0x221)](r(0x1f6)+a[r(0x20e)]+'\x20to\x20player\x27s\x20inventory.');}[a54h(0x21f)](a){const s=a54h;if(this[s(0x229)][s(0x210)](a['name']))return this[s(0x1f4)][s(0x221)](s(0x207)+a[s(0x20e)]+s(0x23f)),!![];return this[s(0x1f4)][s(0x221)](s(0x209)+a[s(0x20e)]+s(0x23f)),![];}[a54h(0x222)](a){const t=a54h;if(!this['_inventory'][t(0x1fb)](a['name']))return t(0x205)+a['name']+'\x20in\x20your\x20inventory.';if(!this[t(0x228)](a))return t(0x21d)+a[t(0x20e)]+'.';const b=this['determineEquipmentSlot'](a[t(0x1ff)]);if(!b)return a['name']+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this['equipment'][b])return t(0x219)+b+t(0x238);return this[t(0x217)][b]=a,this[t(0x21f)](a),'You\x20equipped\x20'+a[t(0x20e)]+'.';}[a54h(0x1eb)](a){const u=a54h;let b=a;if(!this[u(0x217)][camelCase(b)]){b=this[u(0x20c)](a);if(!b)return u(0x21b)+a+'.';}return this[u(0x202)](b);}['determineEquipmentSlot'](a){const v=a54h;switch(a[v(0x1ec)]()){case Category['Weapon'][v(0x1ec)]():return v(0x232);case Category['Shield'][v(0x1ec)]():return v(0x208);case Category[v(0x23c)]['toLowerCase']():return v(0x22b);case Category[v(0x212)][v(0x1ec)]():case Category[v(0x230)][v(0x1ec)]():return v(0x1ed);case Category[v(0x20a)]['toLowerCase']():return v(0x215);case Category[v(0x218)][v(0x1ec)]():return'legs';case Category[v(0x20b)][v(0x1ec)]():return v(0x227);case Category[v(0x200)][v(0x1ec)]():return v(0x1f9);case'weapon':return v(0x232);case v(0x21a):return'leftHand';case'gloves':return v(0x22b);case v(0x1e7):case v(0x1f2):return'head';case'boots':return v(0x215);case v(0x211):case v(0x1f3):return v(0x240);case v(0x23b):case v(0x220):return'arms';case'body\x20armor':case v(0x1ee):case v(0x1f9):return v(0x1f9);default:return null;}}['canEquip'](a){const w=a54h;return Object[w(0x21c)](Category)['includes'](a[w(0x1ff)]);}[a54h(0x202)](a){const x=a54h,b=this[x(0x217)][a];if(!b)return x(0x234)+a+x(0x22e);return this[x(0x216)](b),this[x(0x217)][a]=null,x(0x21e)+b[x(0x20e)]+'.';}[a54h(0x206)](a,b){const y=a54h;a!==this&&this[y(0x1f4)][y(0x23e)](a['name']+y(0x23a)+b+'\x22');}[a54h(0x23d)](a){const z=a54h;this[z(0x1fc)]=a,a['on']('speak',this[z(0x206)][z(0x226)](this)),this[z(0x1f4)][z(0x221)](this[z(0x20e)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[z(0x20e)]);}['leaveRoom'](){const A=a54h;this[A(0x1fc)]&&(this[A(0x1fc)]['off'](A(0x201),this[A(0x206)][A(0x226)](this)),this[A(0x1f4)]['write'](this[A(0x20e)]+A(0x1f8)+this[A(0x1fc)][A(0x20e)]));}}
1
+ const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0x176))/0x1*(parseInt(f(0x16c))/0x2)+-parseInt(f(0x17d))/0x3+parseInt(f(0x180))/0x4*(-parseInt(f(0x175))/0x5)+parseInt(f(0x18b))/0x6*(-parseInt(f(0x174))/0x7)+parseInt(f(0x140))/0x8+-parseInt(f(0x151))/0x9+parseInt(f(0x149))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xd7b05));function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x13a;let f=c[d];return f;},a54d(a,b);}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x17a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x186)]()[h(0x18a)](h(0x14e))[h(0x186)]()[h(0x150)](a54a)['search'](h(0x14e));});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';function a54c(){const C=['arm\x20armor','575328XUsOCa','BodyArmor','leg\x20armor','4zPoNqD','_equipment','determineEquipmentSlot','shield','legs','arms','toString','_playerName','bind','write','search','475680jobXtV','You\x20can\x27t\x20equip\x20','LegArmor','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','enterRoom','gloves','Failed\x20to\x20remove\x20','removeInventory','head','category','_inventory','equip','toLowerCase','Boots','initialEquipment','speak','maxCarryingWeight','630088lMpRyB','log','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','equipment','weapon','\x20in\x20your\x20inventory.','bodyarmor','Shield','Hat','47585620ezXGtw','\x20to\x20player\x27s\x20inventory.','rightHand','armarmor','torso','(((.+)+)+)+$','feet','constructor','11742813oqxhWV','unequipBySlot','getWeight','leaveRoom','Invalid\x20category\x20or\x20slot:\x20','Removed\x20','hear','_maxCarryingWeight','You\x20unequipped\x20','off','error','ArmArmor','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','name','includes','\x20from\x20player\x27s\x20inventory.','\x20says:\x20\x22','canEquip','logger','currentWeight','inventory','inventoryItems','\x20slot.','hat','Helmet','legarmor','addInventory','18454Hlcdbg','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','_currentLocation','Max\x20carrying\x20weight\x20must\x20be\x20positive.','weight','\x20is\x20no\x20longer\x20listeng\x20in\x20','.\x20You\x20must\x20unequip\x20it\x20first.','helmet','154xKdtgr','1582040KOMQLh','43fZnMoK','currentLocation','leftHand','A\x20featureless\x20room','apply','boots'];a54c=function(){return C;};return a54c();}export class Player extends AbstractPlayer{[a54i(0x187)];['_currentLocation'];[a54i(0x195)];[a54i(0x181)];[a54i(0x158)]=0x32;['logger'];constructor(a){const j=a54i;super(),this[j(0x187)]=a['playerName'],this['_currentLocation']=a['startLocation']||new Room({'name':'Nexus','description':j(0x179)}),this[j(0x195)]=new Inventory(),this['logger']=Logger['getInstance']();if(a?.[j(0x166)])for(const b of a[j(0x166)]){this[j(0x195)]['addItem'](b);}this[j(0x181)]=a?.[j(0x13d)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x15e)](){const k=a54i;return this[k(0x187)];}get['currentLocation'](){const l=a54i;return this[l(0x16e)];}set[a54i(0x177)](a){const m=a54i;this[m(0x16e)]!==a&&(this[m(0x154)](),this[m(0x18f)](a)),this[m(0x16e)]=a;}get[a54i(0x165)](){const n=a54i;return this[n(0x195)];}get[a54i(0x143)](){return this['_equipment'];}set['equipment'](a){const o=a54i;this[o(0x181)]=a;}get[a54i(0x13f)](){const p=a54i;return this[p(0x158)];}set[a54i(0x13f)](a){const q=a54i;a>0x0?this['_maxCarryingWeight']=a:console[q(0x15b)](q(0x16f));}get[a54i(0x164)](){const r=a54i;let a=this[r(0x195)][r(0x153)]();for(const b in this[r(0x181)]){const c=this[r(0x181)][b];c&&(a+=c[r(0x170)]);}return a;}['addInventory'](a){const s=a54i;if(this[s(0x164)]+a[s(0x170)]>this[s(0x13f)]){this[s(0x163)][s(0x189)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(s(0x16d));}this[s(0x195)]['addItem'](a),this[s(0x163)][s(0x189)]('Added\x20'+a[s(0x15e)]+s(0x14a));}['removeInventory'](a){const t=a54i;if(this[t(0x195)]['removeItem'](a['name']))return this['logger'][t(0x189)](t(0x156)+a[t(0x15e)]+t(0x160)),!![];return this['logger']['write'](t(0x191)+a[t(0x15e)]+t(0x160)),![];}[a54i(0x13a)](a){const u=a54i;if(!this[u(0x195)]['hasItem'](a[u(0x15e)]))return'You\x20don\x27t\x20have\x20'+a[u(0x15e)]+u(0x145);if(!this[u(0x162)](a))return u(0x18c)+a['name']+'.';const b=this[u(0x182)](a[u(0x194)]);if(!b)return a[u(0x15e)]+u(0x15d);if(this[u(0x143)][b])return u(0x142)+b+u(0x172);return this[u(0x143)][b]=a,this[u(0x192)](a),'You\x20equipped\x20'+a['name']+'.';}['unequip'](a){const v=a54i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[v(0x182)](a);if(!b)return v(0x155)+a+'.';}return this['unequipBySlot'](b);}['determineEquipmentSlot'](a){const w=a54i;switch(a[w(0x13b)]()){case Category['Weapon'][w(0x13b)]():return w(0x14b);case Category[w(0x147)]['toLowerCase']():return w(0x178);case Category['Gloves'][w(0x13b)]():return w(0x190);case Category[w(0x169)]['toLowerCase']():case Category[w(0x148)]['toLowerCase']():return w(0x193);case Category[w(0x13c)][w(0x13b)]():return w(0x14f);case Category[w(0x18d)]['toLowerCase']():return'legs';case Category[w(0x15c)][w(0x13b)]():return w(0x185);case Category[w(0x17e)][w(0x13b)]():return w(0x14d);case w(0x144):return w(0x14b);case w(0x183):return w(0x178);case w(0x190):return w(0x190);case w(0x173):case w(0x168):return w(0x193);case w(0x17b):return w(0x14f);case w(0x17f):case w(0x16a):return w(0x184);case w(0x17c):case w(0x14c):return w(0x185);case'body\x20armor':case w(0x146):case w(0x14d):return w(0x14d);default:return null;}}[a54i(0x162)](a){const x=a54i;return Object['values'](Category)[x(0x15f)](a[x(0x194)]);}[a54i(0x152)](a){const y=a54i,b=this[y(0x143)][a];if(!b)return y(0x18e)+a+y(0x167);return this[y(0x16b)](b),this[y(0x143)][a]=null,y(0x159)+b[y(0x15e)]+'.';}[a54i(0x157)](a,b){const z=a54i;a!==this&&this[z(0x163)][z(0x141)](a[z(0x15e)]+z(0x161)+b+'\x22');}[a54i(0x18f)](a){const A=a54i;this[A(0x16e)]=a,a['on']('speak',this[A(0x157)][A(0x188)](this)),this[A(0x163)][A(0x189)](this[A(0x15e)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[A(0x15e)]);}['leaveRoom'](){const B=a54i;this[B(0x16e)]&&(this['_currentLocation'][B(0x15a)](B(0x13e),this['hear'][B(0x188)](this)),this[B(0x163)][B(0x189)](this[B(0x15e)]+B(0x171)+this[B(0x16e)][B(0x15e)]));}}
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x14e))/0x1+-parseInt(f(0x135))/0x2*(-parseInt(f(0x144))/0x3)+-parseInt(f(0x134))/0x4*(-parseInt(f(0x13e))/0x5)+parseInt(f(0x142))/0x6*(parseInt(f(0x139))/0x7)+parseInt(f(0x141))/0x8*(parseInt(f(0x14c))/0x9)+-parseInt(f(0x152))/0xa*(-parseInt(f(0x13a))/0xb)+parseInt(f(0x13c))/0xc*(-parseInt(f(0x14a))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x2c7a8));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x13b)]()[h(0x14f)](h(0x155))[h(0x13b)]()[h(0x149)](a55a)['search']('(((.+)+)+)+$');});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a55c(){var n=['2499145JxuXaA','toString','12FxmhZm','getInstance','5qBqakf','hasRequiredItem','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','640688iErHWb','18822VdYuFs','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','3pcksNa','logger','requiredPhrase','hasItem','failureMessage','constructor','4065477aFltWe','successMessage','18SNheRG','Puzzle:\x20Correct\x20solution\x20provided.','245124kJRyAK','search','rewardItem','write','10EJmUPh','matchesRequiredPhrase','apply','(((.+)+)+)+$','359084hZfmuk','130536EkRydV','solved','riddle','requiredItem','441mifEJd'];a55c=function(){return n;};return a55c();}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x134;var f=c[d];return f;},a55d(a,b);}export class Puzzle extends AbstractPuzzle{[a55i(0x145)]=Logger[a55i(0x13d)]();['solved']=![];[a55i(0x138)];[a55i(0x146)];[a55i(0x137)];[a55i(0x150)];[a55i(0x14b)];[a55i(0x148)];constructor(a){var j=a55i;super(),this[j(0x138)]=a[j(0x138)],this[j(0x146)]=a[j(0x146)],this['riddle']=a['riddle'],this[j(0x150)]=a['rewardItem'],this[j(0x14b)]=a[j(0x14b)]||'You\x20solved\x20the\x20puzzle!',this[j(0x148)]=a[j(0x148)]||j(0x143);}[a55i(0x13f)](a){var k=a55i;if(this[k(0x138)])return a[k(0x147)](this[k(0x138)]);return![];}[a55i(0x153)](a){var l=a55i;return this[l(0x146)]===a;}['solve'](a,b){var m=a55i;if(this[m(0x136)])return this[m(0x145)][m(0x151)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this['hasRequiredItem'](b)||this['matchesRequiredPhrase'](a)?(this[m(0x136)]=!![],this[m(0x145)][m(0x151)](m(0x14d)),{'success':!![],'message':this['successMessage']}):(this[m(0x145)][m(0x151)](m(0x140)),{'success':![],'message':this['failureMessage']});}}
1
+ var a55i=a55d;function a55c(){var n=['Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','3739888XyVCwc','50lxXErS','Puzzle:\x20Correct\x20solution\x20provided.','1616013QnGMPC','riddle','7hQWpwa','constructor','490328UFlpat','hasRequiredItem','1409322OlRnFV','5137aPzbec','matchesRequiredPhrase','35SxReux','101604nrbsBm','failureMessage','apply','toString','hasItem','solved','successMessage','103672RFHPGK','logger','solve','253776jxlFNw','requiredPhrase','6gmxBQN','rewardItem','write','requiredItem','getInstance'];a55c=function(){return n;};return a55c();}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x118;var f=c[d];return f;},a55d(a,b);}(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x12f))/0x1*(-parseInt(f(0x122))/0x2)+-parseInt(f(0x131))/0x3+parseInt(f(0x11d))/0x4*(parseInt(f(0x134))/0x5)+-parseInt(f(0x120))/0x6+-parseInt(f(0x12d))/0x7*(parseInt(f(0x128))/0x8)+-parseInt(f(0x12b))/0x9*(parseInt(f(0x129))/0xa)+parseInt(f(0x132))/0xb*(parseInt(f(0x135))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xc02f6));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()['search']('(((.+)+)+)+$')[h(0x119)]()[h(0x12e)](a55a)['search']('(((.+)+)+)+$');});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a55i(0x126)]();[a55i(0x11b)]=![];[a55i(0x125)];[a55i(0x121)];[a55i(0x12c)];[a55i(0x123)];[a55i(0x11c)];[a55i(0x136)];constructor(a){var j=a55i;super(),this['requiredItem']=a[j(0x125)],this[j(0x121)]=a['requiredPhrase'],this[j(0x12c)]=a[j(0x12c)],this[j(0x123)]=a[j(0x123)],this[j(0x11c)]=a[j(0x11c)]||'You\x20solved\x20the\x20puzzle!',this[j(0x136)]=a[j(0x136)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a55i(0x130)](a){var k=a55i;if(this['requiredItem'])return a[k(0x11a)](this[k(0x125)]);return![];}[a55i(0x133)](a){var l=a55i;return this[l(0x121)]===a;}[a55i(0x11f)](a,b){var m=a55i;if(this[m(0x11b)])return this['logger']['write'](m(0x127)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[m(0x130)](b)||this[m(0x133)](a)?(this['solved']=!![],this['logger'][m(0x124)](m(0x12a)),{'success':!![],'message':this[m(0x11c)]}):(this[m(0x11e)][m(0x124)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x199))/0x1*(-parseInt(f(0x188))/0x2)+parseInt(f(0x17d))/0x3+parseInt(f(0x1a4))/0x4*(-parseInt(f(0x185))/0x5)+parseInt(f(0x17e))/0x6*(-parseInt(f(0x19e))/0x7)+-parseInt(f(0x19f))/0x8+parseInt(f(0x1b3))/0x9+-parseInt(f(0x19d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x42bc9));function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x173;let f=c[d];return f;},a56d(a,b);}const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x173)]()[h(0x180)](h(0x1ab))[h(0x173)]()[h(0x1b0)](a56a)['search'](h(0x1ab));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';function a56c(){const u=['apply','north','addExit','get','constructor','No\x20locked\x20exit\x20found\x20in\x20direction\x20','write','395343IOsBJO','toString','addItem','getInstance','Puzzle\x20set\x20for\x20room\x20','hasItem','Fetching\x20exit\x20in\x20direction:\x20','Checking\x20if\x20exit\x20in\x20direction\x20','Item\x20removed\x20from\x20room\x20','down','east','1606257GASqYi','317334kqpHqr','description','search','exits','getOppositeDirection','\x20remains\x20locked.','Room\x20created:\x20','49510DhngeO','Item\x20added\x20to\x20room\x20','getExit','88514IAgPRb','INSIDE','puzzle','say','SOUTH','roomA','setPuzzle','roomB','isExitLocked','\x20unlocked!','set','EAST','DOWN','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','riddle','inventory','roomType','10WDqmiz','isStartRoom','.\x20Success:\x20','\x20is\x20locked.\x20Result:\x20','3124630QCCGCc','42sVryjK','395616wMssnf','attemptUnlock','south','The\x20','WEST','28yjTbjo','logger','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','NORTH','west','name','speak','(((.+)+)+)+$'];a56c=function(){return u;};return a56c();}export class Room extends AbstractRoom{[a56i(0x1a5)]=Logger[a56i(0x175)]();[a56i(0x1a9)];[a56i(0x17f)];[a56i(0x181)]=new Map();[a56i(0x198)];['isStartRoom'];[a56i(0x197)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x1a9)]=a['name'],this['description']=a[j(0x17f)],this[j(0x198)]=a[j(0x198)]||RoomType[j(0x189)],a[j(0x181)]&&(this[j(0x181)]=a[j(0x181)]||new Map()),a[j(0x197)]&&(this[j(0x197)]=a[j(0x197)]),a[j(0x18a)]&&(this['puzzle']=a[j(0x18a)]),this[j(0x19a)]=a[j(0x19a)]||![],this[j(0x1a5)][j(0x1b2)](j(0x184)+this[j(0x1a9)]);}[a56i(0x18b)](a,b){const k=a56i;this['emit'](k(0x1aa),a,b);}[a56i(0x1ae)](a,b,c){const l=a56i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x181)][l(0x192)](a,d),b[l(0x181)]['set'](this[l(0x182)](a),d);}['attemptUnlockExit'](a,b){const m=a56i,c=this[m(0x181)][m(0x1af)](a);if(c instanceof Door){const d=c[m(0x1a0)](b);return this[m(0x1a5)][m(0x1b2)](m(0x195)+a+m(0x19b)+d),d?m(0x1a2)+c[m(0x1a9)]+m(0x191):m(0x1a2)+c[m(0x1a9)]+m(0x183);}return this['logger'][m(0x1b2)](m(0x1b1)+a),m(0x1a6);}[a56i(0x187)](a){const n=a56i;return this[n(0x1a5)]['write'](n(0x178)+a),this[n(0x181)][n(0x1af)](a);}[a56i(0x190)](a){const o=a56i,b=this[o(0x181)]['get'](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0x1a5)][o(0x1b2)](o(0x179)+a+o(0x19c)+c),c;}['addItem'](a){const p=a56i;this['inventory'][p(0x174)](a),this[p(0x1a5)][p(0x1b2)](p(0x186)+this[p(0x1a9)]+':\x20'+a[p(0x1a9)]);}['removeItem'](a){const q=a56i;this['inventory'][q(0x177)](a[q(0x1a9)])?(this[q(0x197)]['removeItem'](a[q(0x1a9)]),this[q(0x1a5)][q(0x1b2)](q(0x17a)+this[q(0x1a9)]+':\x20'+a['name'])):this[q(0x1a5)]['write']('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0x1a9)]+':\x20'+a[q(0x1a9)]);}[a56i(0x18e)](a){const r=a56i;this[r(0x18a)]=a,this[r(0x1a5)][r(0x1b2)](r(0x176)+this[r(0x1a9)]+':\x20'+a[r(0x196)]);}[a56i(0x182)](a){const s=a56i;switch(a){case s(0x1ad):return Direction[s(0x18c)];case s(0x1a1):return Direction[s(0x1a7)];case s(0x17c):return Direction[s(0x1a3)];case s(0x1a8):return Direction[s(0x193)];case'up':return Direction[s(0x194)];case s(0x17b):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}['findExistingDoor'](a){const t=a56i;for(const b of this[t(0x181)]['values']()){if(b instanceof Door){if(b['roomA']===this&&b[t(0x18f)]===a||b['roomB']===this&&b[t(0x18d)]===a)return b;}}return undefined;}}
1
+ const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x1b2))/0x1*(-parseInt(f(0x1bd))/0x2)+parseInt(f(0x1d3))/0x3+parseInt(f(0x1bc))/0x4+parseInt(f(0x1cb))/0x5*(-parseInt(f(0x1df))/0x6)+parseInt(f(0x1e0))/0x7*(-parseInt(f(0x1d6))/0x8)+parseInt(f(0x1d8))/0x9+parseInt(f(0x1b4))/0xa*(-parseInt(f(0x1ba))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x29569));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a['toString']()['search'](h(0x1b9))[h(0x1e1)]()['constructor'](a56a)['search']('(((.+)+)+)+$');});a56a();import{Logger}from'../utilities/logger.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x1ae;let f=c[d];return f;},a56d(a,b);}function a56c(){const u=['DOWN','344328CEYrBF','description','findExistingDoor','2379176XkeQUN','\x20unlocked!','2616570ttLjsm','apply','\x20is\x20locked.\x20Result:\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','say','NORTH','isExitLocked','192HtRwvN','7rDBpoJ','toString','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','attemptUnlockExit','west','write','hasItem','No\x20locked\x20exit\x20found\x20in\x20direction\x20','Checking\x20if\x20exit\x20in\x20direction\x20','values','getInstance','checkIfLocked','removeItem','isStartRoom','Puzzle\x20set\x20for\x20room\x20','59bTIhKo','setPuzzle','1098190xmZAPH','riddle','getExit','INSIDE','inventory','(((.+)+)+)+$','11tVkkXC','set','1117992imMgqx','5486tLepvn','roomB','addExit','addItem','Item\x20added\x20to\x20room\x20','WEST','logger','The\x20','getOppositeDirection','attemptUnlock','roomType','roomA','south','Room\x20created:\x20','42235VFxlJS','name','EAST','puzzle','exits','Invalid\x20direction:\x20','speak'];a56c=function(){return u;};return a56c();}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x1c3)]=Logger[a56i(0x1ea)]();[a56i(0x1cc)];['description'];[a56i(0x1cf)]=new Map();[a56i(0x1c7)];[a56i(0x1b0)];[a56i(0x1b8)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x1cc)]=a[j(0x1cc)],this[j(0x1d4)]=a[j(0x1d4)],this['roomType']=a[j(0x1c7)]||RoomType[j(0x1b7)],a[j(0x1cf)]&&(this[j(0x1cf)]=a['exits']||new Map()),a['inventory']&&(this[j(0x1b8)]=a['inventory']),a[j(0x1ce)]&&(this[j(0x1ce)]=a['puzzle']),this[j(0x1b0)]=a[j(0x1b0)]||![],this[j(0x1c3)][j(0x1e5)](j(0x1ca)+this[j(0x1cc)]);}[a56i(0x1dc)](a,b){const k=a56i;this['emit'](k(0x1d1),a,b);}[a56i(0x1bf)](a,b,c){const l=a56i;let d=this[l(0x1d5)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1cf)][l(0x1bb)](a,d),b[l(0x1cf)][l(0x1bb)](this[l(0x1c5)](a),d);}[a56i(0x1e3)](a,b){const m=a56i,c=this[m(0x1cf)]['get'](a);if(c instanceof Door){const d=c[m(0x1c6)](b);return this['logger'][m(0x1e5)](m(0x1db)+a+'.\x20Success:\x20'+d),d?m(0x1c4)+c['name']+m(0x1d7):m(0x1c4)+c[m(0x1cc)]+'\x20remains\x20locked.';}return this[m(0x1c3)][m(0x1e5)](m(0x1e7)+a),m(0x1e2);}[a56i(0x1b6)](a){const n=a56i;return this['logger'][n(0x1e5)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0x1cf)]['get'](a);}[a56i(0x1de)](a){const o=a56i,b=this[o(0x1cf)]['get'](a),c=b instanceof Door&&b[o(0x1ae)]();return this['logger'][o(0x1e5)](o(0x1e8)+a+o(0x1da)+c),c;}[a56i(0x1c0)](a){const p=a56i;this[p(0x1b8)][p(0x1c0)](a),this['logger'][p(0x1e5)](p(0x1c1)+this['name']+':\x20'+a[p(0x1cc)]);}[a56i(0x1af)](a){const q=a56i;this['inventory'][q(0x1e6)](a[q(0x1cc)])?(this[q(0x1b8)][q(0x1af)](a['name']),this['logger'][q(0x1e5)]('Item\x20removed\x20from\x20room\x20'+this[q(0x1cc)]+':\x20'+a['name'])):this[q(0x1c3)][q(0x1e5)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0x1cc)]+':\x20'+a[q(0x1cc)]);}[a56i(0x1b3)](a){const r=a56i;this[r(0x1ce)]=a,this[r(0x1c3)]['write'](r(0x1b1)+this[r(0x1cc)]+':\x20'+a[r(0x1b5)]);}[a56i(0x1c5)](a){const s=a56i;switch(a){case'north':return Direction['SOUTH'];case s(0x1c9):return Direction[s(0x1dd)];case'east':return Direction[s(0x1c2)];case s(0x1e4):return Direction[s(0x1cd)];case'up':return Direction[s(0x1d2)];case'down':return Direction['UP'];default:throw new Error(s(0x1d0)+a);}}[a56i(0x1d5)](a){const t=a56i;for(const b of this[t(0x1cf)][t(0x1e9)]()){if(b instanceof Door){if(b[t(0x1c8)]===this&&b[t(0x1be)]===a||b[t(0x1be)]===this&&b['roomA']===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=-parseInt(i(0x12d))/0x1+-parseInt(i(0x133))/0x2*(parseInt(i(0x145))/0x3)+-parseInt(i(0x13f))/0x4+parseInt(i(0x11e))/0x5*(parseInt(i(0x136))/0x6)+-parseInt(i(0x149))/0x7*(-parseInt(i(0x10e))/0x8)+parseInt(i(0x141))/0x9+parseInt(i(0x153))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x283d8));function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x10a;let f=c[d];return f;},a57d(a,b);}const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x10b)]()[k(0x13a)](k(0x151))[k(0x10b)]()['constructor'](a57a)['search'](k(0x151));});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a57c(){const E=['from','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','355044GiNZKq','isStartRoom','allActors','1746sGwpqk','No\x20actor\x20with\x20name\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','Scene\x20initialized\x20with\x20rooms:\x20','search','delete','logger','getPlayer','Failed\x20to\x20add\x20puzzle.\x20Room\x20','1298260gMMKtJ','\x27s\x20location.\x20Room\x20','1786482pkBCaa','player','\x22\x20does\x20not\x20exist.','determineStartRoom','3VhUpVm','exits','keyRequired','initialize','14HOWnkq','toUpperCase','apply','Added\x20room\x20to\x20scene:\x20','currentLocation','length','getCharacterLocation','addActor','(((.+)+)+)+$','\x20found\x20in\x20the\x20scene.','929490bfylmG','roomConfiguration','toString','\x20already\x20exists\x20in\x20the\x20scene.','values','1176664ibZnBn','createRoom','addExit','warn','set','Added\x20puzzle\x20to\x20room\x20','\x20not\x20found\x20in\x20scene.','addPuzzleToRoom','write','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','actors','removeActor','characterLocations','Actor\x20with\x20name\x20','roomFactory','\x20to\x20room\x20','2315TcfQre','addItemToRoom','keys','setCharacterLocation','name','Failed\x20to\x20add\x20item\x20','Removed\x20room\x20from\x20scene:\x20','generateRoomsFromConfig','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','has','getInstance','rooms','setPuzzle','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','direction','53435GeLNvC','.\x20Room\x20','Room\x20\x22','createExitsFromConfig'];a57c=function(){return E;};return a57c();}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57l(0x129)];[a57l(0x142)];[a57l(0x13c)];[a57l(0x118)];[a57l(0x11a)]=new Map();[a57l(0x11c)];constructor(a){const m=a57l;super(),this[m(0x11c)]=new RoomFactory(),this[m(0x142)]=a[m(0x142)],this['rooms']=this['generateRoomsFromConfig'](a[m(0x10a)]),this[m(0x13c)]=Logger[m(0x128)](),this[m(0x118)]=new Map(),this[m(0x130)](a[m(0x10a)]),this[m(0x13c)]['write'](m(0x139)+Object[m(0x120)](this['rooms'])['join'](',\x20'));}[a57l(0x148)](){const n=a57l;this[n(0x142)][n(0x14d)]=this[n(0x144)]();}[a57l(0x125)](a){const o=a57l;if(!this[o(0x11c)])throw new Error(o(0x132));const b={};for(const c of a){const d=this[o(0x11c)][o(0x10f)](c);b[c[o(0x122)]]=d;}return b;}['createExitsFromConfig'](a){const p=a57l;for(const b of a){const c=this[p(0x129)][b['name']];if(b[p(0x146)])for(const d of b[p(0x146)]){const e=d[p(0x12c)][p(0x14a)](),f=d['targetRoom'],g=d[p(0x147)],h=this[p(0x129)][f];h&&c[p(0x110)](Direction[e],h,g);}}}[a57l(0x150)](a){const q=a57l;if(this[q(0x118)][q(0x127)](a[q(0x122)]))throw new Error(q(0x11b)+a[q(0x122)]+q(0x10c));this['actors'][q(0x112)](a[q(0x122)],a);}[a57l(0x119)](a){const r=a57l;if(!this[r(0x118)]['has'](a))throw new Error(r(0x137)+a+r(0x152));this[r(0x118)][r(0x13b)](a);}['getActor'](a){const s=a57l;return this[s(0x118)]['get'](a);}get[a57l(0x135)](){const t=a57l;return Array[t(0x131)](this[t(0x118)][t(0x10d)]());}['addRoom'](a){const u=a57l;this[u(0x129)][a[u(0x122)]]=a,this[u(0x13c)][u(0x116)](u(0x14c)+a[u(0x122)]);}['removeRoom'](a){const v=a57l;return this[v(0x129)][a]?(delete this[v(0x129)][a],this['logger']['write'](v(0x124)+a),!![]):(this[v(0x13c)][v(0x116)](v(0x126)+a),![]);}[a57l(0x11f)](a,b){const w=a57l,c=this[w(0x129)][b];c?(c['addItem'](a),this[w(0x13c)][w(0x116)]('Added\x20item\x20'+a[w(0x122)]+w(0x11d)+c[w(0x122)])):this[w(0x13c)][w(0x116)](w(0x123)+a[w(0x122)]+w(0x12e)+b+'\x20not\x20found\x20in\x20scene.');}[a57l(0x115)](a,b){const x=a57l,c=this[x(0x129)][b];c?(c[x(0x12a)](a),this[x(0x13c)]['write'](x(0x113)+c['name'])):this[x(0x13c)][x(0x116)](x(0x13e)+b+x(0x114));}[a57l(0x121)](a,b){const y=a57l,c=this[y(0x129)][b];c?(this[y(0x11a)]['set'](a['name'],c),this[y(0x13c)][y(0x116)](a[y(0x122)]+'\x20is\x20now\x20in\x20room\x20'+c['name'])):this[y(0x13c)][y(0x116)]('Failed\x20to\x20set\x20'+a[y(0x122)]+y(0x140)+b+y(0x114));}[a57l(0x14f)](a){const z=a57l;return this[z(0x11a)]['get'](a[z(0x122)]);}['determineStartRoom'](){const A=a57l,a=[];for(const c in this[A(0x129)]){if(this[A(0x129)]['hasOwnProperty'](c)){const d=this[A(0x129)][c];d[A(0x134)]&&a['push'](d);}}if(a[A(0x14e)]>0x1)throw new Error(A(0x12b));if(a[A(0x14e)]===0x1)return a[0x0];const b=Object[A(0x120)](this['rooms']);if(b[A(0x14e)]===0x0)throw new Error(A(0x117));return console[A(0x111)](A(0x138)),this[A(0x129)][b[0x0]];}[a57l(0x13d)](){const B=a57l;return this[B(0x142)];}['getRooms'](){const C=a57l;return this[C(0x129)];}['connectRooms'](a,b,c,d){const D=a57l,e=this['rooms'][a],f=this['rooms'][c];if(!e)throw new Error(D(0x12f)+a+D(0x143));if(!f)throw new Error(D(0x12f)+c+D(0x143));e[D(0x110)](b,f,d);}}
1
+ const a57k=a57d;function a57c(){const D=['createExitsFromConfig','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','has','218141IXLdza','6OACSiw','setCharacterLocation','length','(((.+)+)+)+$','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','roomFactory','characterLocations','logger','454mgQmZN','player','\x20found\x20in\x20the\x20scene.','connectRooms','isStartRoom','write','setPuzzle','actors','keyRequired','addExit','get','70uQTWXe','addRoom','addPuzzleToRoom','171jXbKfL','values','join','determineStartRoom','.\x20Room\x20','roomConfiguration','warn','\x20is\x20now\x20in\x20room\x20','rooms','currentLocation','39048CouBKY','name','addItem','direction','Added\x20puzzle\x20to\x20room\x20','Added\x20room\x20to\x20scene:\x20','1160138SJWoyA','\x20not\x20found\x20in\x20scene.','targetRoom','Room\x20\x22','getRooms','Failed\x20to\x20add\x20puzzle.\x20Room\x20','toString','push','search','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','createRoom','\x22\x20does\x20not\x20exist.','toUpperCase','addActor','621244vYMTfv','Failed\x20to\x20add\x20item\x20','getInstance','getCharacterLocation','\x20to\x20room\x20','set','constructor','from','generateRoomsFromConfig','exits','keys','allActors','Added\x20item\x20','getPlayer','getActor','2076625RhqIfz','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','hasOwnProperty','1607835UcZnLD','262EExiEF'];a57c=function(){return D;};return a57c();}function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x18c;let f=c[d];return f;},a57d(a,b);}(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x1ce))/0x1*(parseInt(i(0x1c1))/0x2)+parseInt(i(0x1c0))/0x3+parseInt(i(0x1ae))/0x4+-parseInt(i(0x1bd))/0x5+parseInt(i(0x1c6))/0x6*(parseInt(i(0x1a0))/0x7)+-parseInt(i(0x19a))/0x8*(parseInt(i(0x190))/0x9)+parseInt(i(0x18d))/0xa*(-parseInt(i(0x1c5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x41d0f));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const j=a57d;return a57a[j(0x1a6)]()[j(0x1a8)](j(0x1c9))[j(0x1a6)]()[j(0x1b4)](a57a)[j(0x1a8)](j(0x1c9));});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57k(0x198)];[a57k(0x1cf)];['logger'];['actors'];[a57k(0x1cc)]=new Map();['roomFactory'];constructor(a){const l=a57k;super(),this[l(0x1cb)]=new RoomFactory(),this['player']=a[l(0x1cf)],this['rooms']=this[l(0x1b6)](a[l(0x195)]),this[l(0x1cd)]=Logger[l(0x1b0)](),this['actors']=new Map(),this['createExitsFromConfig'](a[l(0x195)]),this[l(0x1cd)][l(0x1d3)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[l(0x1b8)](this[l(0x198)])[l(0x192)](',\x20'));}['initialize'](){const m=a57k;this[m(0x1cf)][m(0x199)]=this[m(0x193)]();}[a57k(0x1b6)](a){const n=a57k;if(!this[n(0x1cb)])throw new Error(n(0x1be));const b={};for(const c of a){const d=this[n(0x1cb)][n(0x1aa)](c);b[c[n(0x19b)]]=d;}return b;}[a57k(0x1c2)](a){const o=a57k;for(const b of a){const c=this[o(0x198)][b[o(0x19b)]];if(b[o(0x1b7)])for(const d of b['exits']){const e=d[o(0x19d)][o(0x1ac)](),f=d[o(0x1a2)],g=d[o(0x1d6)],h=this['rooms'][f];h&&c[o(0x1d7)](Direction[e],h,g);}}}[a57k(0x1ad)](a){const p=a57k;if(this[p(0x1d5)][p(0x1c4)](a['name']))throw new Error('Actor\x20with\x20name\x20'+a[p(0x19b)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[p(0x1d5)][p(0x1b3)](a[p(0x19b)],a);}['removeActor'](a){const q=a57k;if(!this[q(0x1d5)][q(0x1c4)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+q(0x1d0));this[q(0x1d5)]['delete'](a);}[a57k(0x1bc)](a){const r=a57k;return this[r(0x1d5)][r(0x18c)](a);}get[a57k(0x1b9)](){const s=a57k;return Array[s(0x1b5)](this[s(0x1d5)][s(0x191)]());}[a57k(0x18e)](a){const t=a57k;this['rooms'][a[t(0x19b)]]=a,this[t(0x1cd)][t(0x1d3)](t(0x19f)+a['name']);}['removeRoom'](a){const u=a57k;return this['rooms'][a]?(delete this[u(0x198)][a],this[u(0x1cd)][u(0x1d3)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[u(0x1cd)][u(0x1d3)](u(0x1c3)+a),![]);}['addItemToRoom'](a,b){const v=a57k,c=this['rooms'][b];c?(c[v(0x19c)](a),this[v(0x1cd)][v(0x1d3)](v(0x1ba)+a['name']+v(0x1b2)+c['name'])):this[v(0x1cd)][v(0x1d3)](v(0x1af)+a[v(0x19b)]+v(0x194)+b+v(0x1a1));}[a57k(0x18f)](a,b){const w=a57k,c=this['rooms'][b];c?(c[w(0x1d4)](a),this[w(0x1cd)][w(0x1d3)](w(0x19e)+c[w(0x19b)])):this[w(0x1cd)][w(0x1d3)](w(0x1a5)+b+'\x20not\x20found\x20in\x20scene.');}[a57k(0x1c7)](a,b){const x=a57k,c=this[x(0x198)][b];c?(this[x(0x1cc)][x(0x1b3)](a[x(0x19b)],c),this[x(0x1cd)]['write'](a[x(0x19b)]+x(0x197)+c[x(0x19b)])):this[x(0x1cd)][x(0x1d3)]('Failed\x20to\x20set\x20'+a[x(0x19b)]+'\x27s\x20location.\x20Room\x20'+b+x(0x1a1));}[a57k(0x1b1)](a){const y=a57k;return this[y(0x1cc)]['get'](a['name']);}[a57k(0x193)](){const z=a57k,a=[];for(const c in this['rooms']){if(this[z(0x198)][z(0x1bf)](c)){const d=this[z(0x198)][c];d[z(0x1d2)]&&a[z(0x1a7)](d);}}if(a[z(0x1c8)]>0x1)throw new Error(z(0x1ca));if(a[z(0x1c8)]===0x1)return a[0x0];const b=Object[z(0x1b8)](this[z(0x198)]);if(b[z(0x1c8)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[z(0x196)](z(0x1a9)),this[z(0x198)][b[0x0]];}[a57k(0x1bb)](){const A=a57k;return this[A(0x1cf)];}[a57k(0x1a4)](){const B=a57k;return this[B(0x198)];}[a57k(0x1d1)](a,b,c,d){const C=a57k,e=this['rooms'][a],f=this[C(0x198)][c];if(!e)throw new Error(C(0x1a3)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(C(0x1a3)+c+C(0x1ab));e[C(0x1d7)](b,f,d);}}