@maka/maka-cli 4.12.15 → 4.12.17

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 (159) 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/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/collection.js +1 -1
  109. package/bundle/obf/src/generators/component.js +1 -1
  110. package/bundle/obf/src/generators/config.js +1 -1
  111. package/bundle/obf/src/generators/dbc.js +1 -1
  112. package/bundle/obf/src/generators/dockerfile.js +1 -1
  113. package/bundle/obf/src/generators/hook.js +1 -1
  114. package/bundle/obf/src/generators/kits/_index.js +1 -1
  115. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  117. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  119. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/kit.js +1 -1
  123. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  127. package/bundle/obf/src/generators/layout.js +1 -1
  128. package/bundle/obf/src/generators/maka.gen.js +1 -1
  129. package/bundle/obf/src/generators/methods.js +1 -1
  130. package/bundle/obf/src/generators/package.js +1 -1
  131. package/bundle/obf/src/generators/page.js +1 -1
  132. package/bundle/obf/src/generators/publish.js +1 -1
  133. package/bundle/obf/src/generators/route.js +1 -1
  134. package/bundle/obf/src/generators/service.js +1 -1
  135. package/bundle/obf/src/generators/services/_index.js +1 -1
  136. package/bundle/obf/src/generators/services/openssl.js +1 -1
  137. package/bundle/obf/src/generators/services/translation.js +1 -1
  138. package/bundle/obf/src/maka.js +1 -1
  139. package/bundle/obf/src/templates/meteor/config/docker-compose.yaml +1 -1
  140. package/bundle/obf/src/tool.js +1 -1
  141. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  142. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  143. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  145. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  147. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/https/https.class.js +1 -1
  149. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  150. package/bundle/obf/src/tools/log/log.class.js +1 -1
  151. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/options/options.class.js +1 -1
  153. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  154. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  155. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  157. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  158. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  159. package/package.json +1 -1
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0xdc))/0x1*(parseInt(f(0xbe))/0x2)+-parseInt(f(0xcc))/0x3+-parseInt(f(0xae))/0x4+-parseInt(f(0xbf))/0x5+parseInt(f(0xa9))/0x6*(parseInt(f(0xc1))/0x7)+-parseInt(f(0xcf))/0x8+parseInt(f(0xbd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x6cb72));function a38c(){const n=['53814DAXGmo',',\x20you\x20see\x20','actor','getOtherSide','look','71528TAyzia','apply','You\x20cannot\x20see\x20through','join','OUTSIDE','Below\x20you,\x20','getItem','hasItem','search','write','error','(((.+)+)+)+$','It\x27s\x20just\x20a\x20regular\x20','riddle','currentLocation','24489414ipQkyl','16LfgKlx','3524605ISrJMg','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','7gghttT','Executing\x20\x27Look\x27\x20command.','To\x20the\x20','down','lookOutside','\x27\x20in\x20','Looking\x20at\x20item\x20\x27','inventory','description','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','constructor','2382069ZnwvlY','inspectItem','name','6519320oRZYmC','You\x27re\x20not\x20in\x20a\x20valid\x20room.','verb','\x20inventory.','rooms','execute','Above\x20you,\x20','logger','string','puzzle','toString','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','You\x20cannot\x20see\x20','5878TLcbCx','get','roomType','isValidDirection'];a38c=function(){return n;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xa6;let f=c[d];return f;},a38d(a,b);}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0xaf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0xd9)]()[h(0xb6)](h(0xb9))[h(0xd9)]()[h(0xcb)](a38a)[h(0xb6)](h(0xb9));});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0xd1)]=a38i(0xad);static [a38i(0xc9)]='Examine\x20your\x20surroundings';[a38i(0xd4)](a=[]){const j=a38i;this[j(0xd6)][j(0xb7)](j(0xc2));const b=a[j(0xb1)]('\x20');if(b){if(this[j(0xab)]['inventory'][j(0xb5)](b))return this[j(0xd6)]['write'](j(0xc7)+b+j(0xc6)+this[j(0xab)]['name']+j(0xd2)),this[j(0xcd)](b,this[j(0xab)]['inventory']);else{if(this[j(0xab)][j(0xbc)][j(0xc8)][j(0xb5)](b))return this[j(0xd6)]['write']('Looking\x20at\x20item\x20\x27'+b+'\x27\x20in\x20current\x20room\x20inventory.'),this['inspectItem'](b,this[j(0xab)]['currentLocation'][j(0xc8)]);else return this[j(0xa8)](b)?(this[j(0xd6)][j(0xb7)]('Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27'+b+'\x27.'),this[j(0xc5)](b)):j(0xdb)+b;}}else return this[j(0xd6)][j(0xb7)](this['actor'][j(0xce)]+'\x20is\x20looking\x20around\x20the\x20current\x20room.'),this[j(0xad)]();}[a38i(0xad)](){const k=a38i,a=this[k(0xab)][k(0xbc)];if(!a)return this[k(0xd6)][k(0xb8)](this[k(0xab)]['name']+k(0xda)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';let b=a[k(0xc9)];return a[k(0xd8)]&&(b+='\x0a'+a[k(0xd8)][k(0xbb)]),b;}[a38i(0xc5)](a){const l=a38i,b=this[l(0xab)]['currentLocation'];if(!b)return this[l(0xd6)][l(0xb8)](this['actor']['name']+l(0xda)),l(0xd0);const c=b['exits'][l(0xa6)](a);if(!c)return l(0xca)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0xac)](b);else{if(typeof c===l(0xd7)){d=this[l(0xd3)]&&this[l(0xd3)][c];if(!d)return l(0xc0)+a+'\x22.';}else return'Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}if(d[l(0xa7)]===RoomType[l(0xb2)]){if(a==='up')return l(0xd5)+d[l(0xc9)];else return a===l(0xc4)?l(0xb3)+d[l(0xc9)]:l(0xc3)+a+l(0xaa)+d['description'];}else return l(0xb0);}[a38i(0xcd)](a,b){const m=a38i,c=b[m(0xb4)](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+'\x20here.';return c['description']||m(0xba)+a+'.';}}
1
+ function a38c(){const n=['\x20is\x20looking\x20around\x20the\x20current\x20room.','puzzle','error','(((.+)+)+)+$','\x27\x20in\x20','logger','\x20here.','11276wldhuh','462jTkCYV','down','6349908EPHVDn','getItem','1717770xMEyyb','execute','70Elqbxt','riddle','get','5162prKFrN','join','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','600017haQVZd','look','Examine\x20your\x20surroundings','actor','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','description','getOtherSide','write','You\x20don\x27t\x20see\x20any\x20','Below\x20you,\x20','inventory','You\x20cannot\x20see\x20through','Executing\x20\x27Look\x27\x20command.','10006785WFfJQY','exits','apply','inspectItem','hasItem','Looking\x20at\x20item\x20\x27','currentLocation','rooms','roomType','You\x27re\x20not\x20in\x20a\x20valid\x20room.','lookOutside','isValidDirection','search','\x20inventory.','10IIhkJk','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','toString','\x27\x20in\x20current\x20room\x20inventory.','name','7etuBFL','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','6855024GZmTur','verb','474hhPIzv'];a38c=function(){return n;};return a38c();}const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1ff))/0x1*(parseInt(f(0x1f6))/0x2)+-parseInt(f(0x1ed))/0x3*(parseInt(f(0x1f5))/0x4)+parseInt(f(0x1e3))/0x5*(-parseInt(f(0x1fa))/0x6)+parseInt(f(0x1e8))/0x7*(parseInt(f(0x1eb))/0x8)+parseInt(f(0x20f))/0x9+parseInt(f(0x1fc))/0xa*(parseInt(f(0x202))/0xb)+parseInt(f(0x1f8))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xa3685));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x211)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1e5)]()['search'](h(0x1f1))[h(0x1e5)]()['constructor'](a38a)[h(0x1e1)]('(((.+)+)+)+$');});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1d8;let f=c[d];return f;},a38d(a,b);}export class LookCommand extends Command{static [a38i(0x1ec)]=a38i(0x203);static ['description']=a38i(0x204);[a38i(0x1fb)](a=[]){const j=a38i;this[j(0x1f3)][j(0x209)](j(0x20e));const b=a[j(0x200)]('\x20');if(b){if(this[j(0x205)][j(0x20c)][j(0x1d9)](b))return this[j(0x1f3)]['write'](j(0x1da)+b+j(0x1f2)+this[j(0x205)][j(0x1e7)]+j(0x1e2)),this['inspectItem'](b,this['actor'][j(0x20c)]);else{if(this[j(0x205)][j(0x1db)][j(0x20c)][j(0x1d9)](b))return this['logger'][j(0x209)](j(0x1da)+b+j(0x1e6)),this[j(0x1d8)](b,this['actor'][j(0x1db)]['inventory']);else return this[j(0x1e0)](b)?(this['logger'][j(0x209)](j(0x206)+b+'\x27.'),this[j(0x1df)](b)):'You\x20cannot\x20see\x20'+b;}}else return this[j(0x1f3)]['write'](this[j(0x205)][j(0x1e7)]+j(0x1ee)),this['look']();}['look'](){const k=a38i,a=this[k(0x205)][k(0x1db)];if(!a)return this[k(0x1f3)][k(0x1f0)](this['actor']['name']+k(0x1ea)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';let b=a['description'];return a[k(0x1ef)]&&(b+='\x0a'+a[k(0x1ef)][k(0x1fd)]),b;}[a38i(0x1df)](a){const l=a38i,b=this[l(0x205)]['currentLocation'];if(!b)return this[l(0x1f3)][l(0x1f0)](this[l(0x205)][l(0x1e7)]+l(0x1ea)),l(0x1de);const c=b[l(0x210)][l(0x1fe)](a);if(!c)return l(0x201)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x208)](b);else{if(typeof c==='string'){d=this[l(0x1dc)]&&this[l(0x1dc)][c];if(!d)return l(0x1e9)+a+'\x22.';}else return l(0x1e4)+a+'\x22.';}if(d[l(0x1dd)]===RoomType['OUTSIDE']){if(a==='up')return'Above\x20you,\x20'+d[l(0x207)];else return a===l(0x1f7)?l(0x20b)+d['description']:'To\x20the\x20'+a+',\x20you\x20see\x20'+d[l(0x207)];}else return l(0x20d);}[a38i(0x1d8)](a,b){const m=a38i,c=b[m(0x1f9)](a);if(!c)return m(0x20a)+a+m(0x1f4);return c[m(0x207)]||'It\x27s\x20just\x20a\x20regular\x20'+a+'.';}}
@@ -1 +1 @@
1
- const a39j=a39d;function a39c(){const l=['7624098GzTeLJ','17661titnOf','21651IZPJwM','join','currentLocation','search','3757732syUjnN','context','7826070eRBmKN','244xeMROM','apply','name','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','77544IyElIg','Scene\x20is\x20missing\x20from\x20context.','5624gmxHKQ','filter','8940CdcfHv',':\x20\x22','constructor','length','You\x20say:\x20\x22','703097mUVutj','scene','log','toString','What\x20do\x20you\x20want\x20to\x20say?','verb','(((.+)+)+)+$','description','say','actor'];a39c=function(){return l;};return a39c();}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0xce))/0x1+-parseInt(g(0xde))/0x2+-parseInt(g(0xda))/0x3*(-parseInt(g(0xe1))/0x4)+-parseInt(g(0xe0))/0x5+-parseInt(g(0xd8))/0x6+parseInt(g(0xd9))/0x7*(-parseInt(g(0xc7))/0x8)+parseInt(g(0xc5))/0x9*(parseInt(g(0xc9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xe8474));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xc2;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(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0xd1)]()[i(0xdd)](i(0xd4))[i(0xd1)]()[i(0xcb)](a39a)[i(0xdd)](i(0xd4));});a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0xd3)]=a39j(0xd6);static [a39j(0xd5)]=a39j(0xc4);['context'];constructor(a){super(a),this['context']=a;}['execute'](a){const k=a39j;if(a[k(0xcc)]===0x0)return k(0xd2);const b=a[k(0xdb)]('\x20'),c=this[k(0xd7)],d=this[k(0xdf)][k(0xcf)];if(!d)return this['logger'][k(0xd0)](k(0xc6)),'An\x20error\x20occurred.';const e=d['allActors'][k(0xc8)](f=>f['currentLocation']===c['currentLocation']);for(const f of e){this['logger']['log'](c[k(0xc3)]+'\x20says\x20to\x20'+f[k(0xc3)]+k(0xca)+b+'\x22'),this[k(0xd7)][k(0xdc)][k(0xd6)](f,b);}return k(0xcd)+b+'\x22';}}
1
+ const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x16e))/0x1+parseInt(g(0x178))/0x2+parseInt(g(0x17d))/0x3+-parseInt(g(0x180))/0x4+parseInt(g(0x175))/0x5*(parseInt(g(0x186))/0x6)+parseInt(g(0x18a))/0x7*(parseInt(g(0x181))/0x8)+-parseInt(g(0x17c))/0x9*(parseInt(g(0x188))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xadfce));function a39c(){const m=['logger','7044695HFBsoA','apply','(((.+)+)+)+$','An\x20error\x20occurred.','616190GxdTEM','toString','Scene\x20is\x20missing\x20from\x20context.','scene','log','allActors','actor','2602060EBogRt','filter','say','1308644dXFbtn',':\x20\x22','You\x20say:\x20\x22','currentLocation','657rZquhr','2946141BEhlvT','join','search','3055964yudJOW','8VYdnoW','What\x20do\x20you\x20want\x20to\x20say?','name','context','constructor','12XvAzLJ','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','217910fcrktF'];a39c=function(){return m;};return a39c();}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x18b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x16f)]()[i(0x17f)](i(0x18c))[i(0x16f)]()[i(0x185)](a39a)['search'](i(0x18c));});a39a();import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x16d;let f=c[d];return f;},a39d(a,b);}export class SayCommand extends Command{static ['verb']=a39j(0x177);static ['description']=a39j(0x187);[a39j(0x184)];constructor(a){const k=a39j;super(a),this[k(0x184)]=a;}['execute'](a){const l=a39j;if(a['length']===0x0)return l(0x182);const b=a[l(0x17e)]('\x20'),c=this['actor'],d=this[l(0x184)][l(0x171)];if(!d)return this['logger'][l(0x172)](l(0x170)),l(0x16d);const e=d[l(0x173)][l(0x176)](f=>f['currentLocation']===c[l(0x17b)]);for(const f of e){this[l(0x189)][l(0x172)](c[l(0x183)]+'\x20says\x20to\x20'+f[l(0x183)]+l(0x179)+b+'\x22'),this[l(0x174)]['currentLocation']['say'](f,b);}return l(0x17a)+b+'\x22';}}
@@ -1 +1 @@
1
- const a40i=a40d;function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a40d(a,b);}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1b9))/0x1*(-parseInt(f(0x1a7))/0x2)+-parseInt(f(0x1ad))/0x3+parseInt(f(0x1ae))/0x4+-parseInt(f(0x1ab))/0x5*(parseInt(f(0x1a9))/0x6)+parseInt(f(0x1bc))/0x7+parseInt(f(0x1b0))/0x8+parseInt(f(0x1b3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xb34e0));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1aa)]()[h(0x1b5)](h(0x1a6))['toString']()['constructor'](a40a)[h(0x1b5)](h(0x1a6));});a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0x1a3)]=a40i(0x1b5);static [a40i(0x1bd)]=a40i(0x1b4);['execute'](){const j=a40i,a=this[j(0x1a5)]['currentLocation'][j(0x1b2)]['listItems']();if(a[j(0x1b7)]===0x0)return this[j(0x1b8)][j(0x1b1)](j(0x1a4)+this['actor'][j(0x1af)]+j(0x1bb)),j(0x1b6);const b=a[j(0x1ba)](',\x20');return this[j(0x1b8)][j(0x1b1)](j(0x1a4)+this[j(0x1a5)][j(0x1af)]+j(0x1ac)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}function a40c(){const k=['actor','(((.+)+)+)+$','2TBiGjd','apply','2724NEylyH','toString','11810KyvMdG','\x20found\x20the\x20following\x20items:\x20','3776574PBUvFv','1264888ngkaoM','name','1229560TBXcsR','write','inventory','15110865pHyvFz','Search\x20for\x20items\x20in\x20your\x20area','search','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','length','logger','190051NtcDXy','join','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','7747509zetIWf','description','verb','SearchCommand:\x20'];a40c=function(){return k;};return a40c();}
1
+ function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x188;let f=c[d];return f;},a40d(a,b);}const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x1a1))/0x1*(-parseInt(f(0x196))/0x2)+-parseInt(f(0x1a7))/0x3*(-parseInt(f(0x18f))/0x4)+parseInt(f(0x195))/0x5*(parseInt(f(0x19a))/0x6)+-parseInt(f(0x18a))/0x7*(parseInt(f(0x1a6))/0x8)+-parseInt(f(0x19b))/0x9+parseInt(f(0x19c))/0xa*(-parseInt(f(0x1a2))/0xb)+parseInt(f(0x188))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xf3e66));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(0x192)]()['search'](g(0x19e))[g(0x192)]()[g(0x189)](a40a)[g(0x191)](g(0x19e));});a40a();function a40c(){const j=['currentLocation','776vScopO','actor','search','toString','listItems','logger','5MekoKd','150634UgNdOk','join','inventory','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','9980484FzxXgz','5059620NHMvFJ','11189690gqbeHZ','name','(((.+)+)+)+$','length','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','3uxKQnM','11nEXJyY','SearchCommand:\x20','\x20found\x20the\x20following\x20items:\x20','description','7096KDyqkA','12801MSvZEl','16597044oPlpzx','constructor','11207ClSzNc','You\x20search\x20the\x20area\x20and\x20find:\x20','verb','write'];a40c=function(){return j;};return a40c();}import{Command}from'./command.js';export class SearchCommand extends Command{static [a40h(0x18c)]=a40h(0x191);static [a40h(0x1a5)]='Search\x20for\x20items\x20in\x20your\x20area';['execute'](){const i=a40h,a=this[i(0x190)][i(0x18e)][i(0x198)][i(0x193)]();if(a[i(0x19f)]===0x0)return this[i(0x194)][i(0x18d)]('SearchCommand:\x20'+this[i(0x190)][i(0x19d)]+i(0x1a0)),i(0x199);const b=a[i(0x197)](',\x20');return this[i(0x194)][i(0x18d)](i(0x1a3)+this['actor'][i(0x19d)]+i(0x1a4)+b),i(0x18b)+b;}}
@@ -1 +1 @@
1
- const a41i=a41d;function a41c(){const k=['inventory','puzzle','apply','(((.+)+)+)+$','description','1565968CSjHdn','186895zzeCqk','search','481176IpTfLy','constructor','message','5OPKmho','2XnUuvX','logger','toLowerCase','Attempt\x20to\x20solve\x20a\x20puzzle.','solve','rewardItem','success','currentLocation','1356460qVCvLx','SolveCommand:\x20','join','actor','execute','160290mOTjjK','3150558buYkCy','1657737VOZSiL','verb','write'];a41c=function(){return k;};return a41c();}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x1c4))/0x1*(-parseInt(f(0x1ca))/0x2)+-parseInt(f(0x1bb))/0x3+parseInt(f(0x1c6))/0x4+parseInt(f(0x1c9))/0x5*(parseInt(f(0x1ba))/0x6)+parseInt(f(0x1b4))/0x7+-parseInt(f(0x1c3))/0x8+parseInt(f(0x1b9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x4827b));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x1c0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a['toString']()[h(0x1c5)](h(0x1c1))['toString']()[h(0x1c7)](a41a)['search'](h(0x1c1));});a41a();import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a41d(a,b);}export class SolveCommand extends Command{static [a41i(0x1bc)]=a41i(0x1ce);static [a41i(0x1c2)]=a41i(0x1cd);[a41i(0x1b8)](a){const j=a41i,b=a[j(0x1b6)]('\x20')[j(0x1cc)](),c=this[j(0x1b7)][j(0x1b3)];if(!c||!c[j(0x1bf)])return this[j(0x1cb)]['write']('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c['puzzle'][j(0x1ce)](b,this['actor'][j(0x1be)]);return d[j(0x1b2)]&&c[j(0x1bf)][j(0x1cf)]&&this[j(0x1b7)][j(0x1be)]['addItem'](c[j(0x1bf)][j(0x1cf)]),this[j(0x1cb)][j(0x1bd)](j(0x1b5)+d[j(0x1c8)]),d['message'];}}
1
+ const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x139))/0x1+-parseInt(f(0x13e))/0x2+-parseInt(f(0x132))/0x3+-parseInt(f(0x133))/0x4*(-parseInt(f(0x13b))/0x5)+-parseInt(f(0x148))/0x6+parseInt(f(0x138))/0x7+-parseInt(f(0x13f))/0x8*(-parseInt(f(0x140))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x2bd34));function a41c(){const k=['join','puzzle','search','actor','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','624879yXQhRe','7508FUjEUT','toLowerCase','Attempt\x20to\x20solve\x20a\x20puzzle.','solve','inventory','728035zspkND','65919NChlCR','verb','670qTlOIB','message','description','390440DAiYGd','666032CwuYJv','36IsokNc','rewardItem','(((.+)+)+)+$','logger','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','write','apply','toString','237594EBYrCB'];a41c=function(){return k;};return a41c();}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x12f;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x146)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a['toString']()['search'](h(0x142))[h(0x147)]()['constructor'](a41a)[h(0x12f)]('(((.+)+)+)+$');});a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0x13a)]=a41i(0x136);static [a41i(0x13d)]=a41i(0x135);['execute'](a){const j=a41i,b=a[j(0x149)]('\x20')[j(0x134)](),c=this[j(0x130)]['currentLocation'];if(!c||!c['puzzle'])return this[j(0x143)][j(0x145)](j(0x131)),j(0x144);const d=c[j(0x14a)][j(0x136)](b,this[j(0x130)][j(0x137)]);return d['success']&&c['puzzle'][j(0x141)]&&this[j(0x130)][j(0x137)]['addItem'](c[j(0x14a)][j(0x141)]),this['logger'][j(0x145)]('SolveCommand:\x20'+d['message']),d[j(0x13c)];}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1d6))/0x1+parseInt(f(0x1cb))/0x2+-parseInt(f(0x1d0))/0x3+-parseInt(f(0x1d8))/0x4*(parseInt(f(0x1bc))/0x5)+parseInt(f(0x1d5))/0x6*(-parseInt(f(0x1d7))/0x7)+parseInt(f(0x1bf))/0x8+parseInt(f(0x1c8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x61f71));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x1dd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x1c9)]()['search'](h(0x1c7))[h(0x1c9)]()[h(0x1c1)](a42a)[h(0x1e3)](h(0x1c7));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a42d(a,b);}import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0x1be)]=a42i(0x1d9);static ['description']=a42i(0x1c5);[a42i(0x1bd)](a){const j=a42i;return this[j(0x1c3)]['write'](j(0x1df)+a[j(0x1d2)]('\x20')),this[j(0x1d9)](a);}[a42i(0x1d9)](a){const k=a42i,b=a[k(0x1d2)]('\x20')['toLowerCase'](),c=this[k(0x1dc)][k(0x1e2)];if(!c[k(0x1d4)][k(0x1e1)](b))return this[k(0x1c3)]['write']('Item\x20\x22'+b+k(0x1cf)+c[k(0x1e4)]+k(0x1c6)),'There\x20is\x20no\x20item\x20\x22'+b+k(0x1cc);const d=c['inventory'][k(0x1ce)](b);if(!d)return this[k(0x1c3)]['write'](k(0x1db)+b+k(0x1c2)+c[k(0x1e4)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+k(0x1cc);try{return this[k(0x1dc)]['addInventory'](d),this['logger'][k(0x1d1)](k(0x1ca)+b+k(0x1d3)+this['actor'][k(0x1e4)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c['inventory'][k(0x1de)](b),this[k(0x1c3)][k(0x1d1)]('Successfully\x20removed\x20\x22'+b+'\x22\x20from\x20'+c['name']+k(0x1cd)),k(0x1e0)+b+'.';}catch(e){return this[k(0x1c3)][k(0x1d1)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x1c4)]),k(0x1da)+b+k(0x1c0);}}}function a42c(){const l=['hasItem','currentLocation','search','name','1655495zBWOEI','execute','verb','2808136NmMHHt','\x22\x20is\x20too\x20heavy\x20to\x20carry.','constructor','\x22\x20not\x20retrieved\x20from\x20','logger','message','Pick\x20up\x20an\x20item.','\x20during\x20\x27Take\x27\x20command.','(((.+)+)+)+$','15457689ZWdqMP','toString','Successfully\x20added\x20\x22','921256BwXPOJ','\x22\x20in\x20this\x20room.','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','getItem','\x22\x20not\x20found\x20in\x20','2022231taOGci','write','join','\x22\x20to\x20','inventory','4392594szdlxh','390626JEHfAY','7lfrWsv','4dwYmqd','take','The\x20item\x20\x22','Item\x20\x22','actor','apply','removeItem','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','You\x20have\x20taken\x20the\x20'];a42c=function(){return l;};return a42c();}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x64))/0x1+-parseInt(f(0x70))/0x2*(parseInt(f(0x90))/0x3)+parseInt(f(0x75))/0x4*(parseInt(f(0x76))/0x5)+-parseInt(f(0x8e))/0x6*(parseInt(f(0x82))/0x7)+-parseInt(f(0x7a))/0x8+-parseInt(f(0x66))/0x9*(-parseInt(f(0x8f))/0xa)+parseInt(f(0x7d))/0xb*(parseInt(f(0x7c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x2beea));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x72)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0x81)](h(0x7f))[h(0x8b)]()[h(0x6e)](a42a)[h(0x81)](h(0x7f));});function a42c(){const l=['\x22\x20not\x20retrieved\x20from\x20','(((.+)+)+)+$','toLowerCase','search','8309UYRzkJ','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','actor','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20from\x20','join','execute','message','verb','toString','write','take','1170sJCKID','757810UyNUrt','303BGBEHa','338105qzZhGz','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','9JONgDp','removeItem','inventory','Item\x20\x22','You\x20have\x20taken\x20the\x20','name','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x20during\x20\x27Take\x27\x20command.','constructor','hasItem','3002nrCsUO','getItem','apply','\x22\x20to\x20','logger','4mZfkwU','37485STNXGE','\x22\x20in\x20this\x20room.','Successfully\x20added\x20\x22','currentLocation','2203184jttDmB','There\x20is\x20no\x20item\x20\x22','1332TTfkZn','41327XmOGHl'];a42c=function(){return l;};return a42c();}a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x64;let f=c[d];return f;},a42d(a,b);}import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0x8a)]=a42i(0x8d);static ['description']='Pick\x20up\x20an\x20item.';[a42i(0x88)](a){const j=a42i;return this[j(0x74)][j(0x8c)](j(0x65)+a[j(0x87)]('\x20')),this['take'](a);}['take'](a){const k=a42i,b=a[k(0x87)]('\x20')[k(0x80)](),c=this['actor'][k(0x79)];if(!c[k(0x68)][k(0x6f)](b))return this[k(0x74)][k(0x8c)](k(0x69)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x6b)]+k(0x6d)),k(0x7b)+b+'\x22\x20in\x20this\x20room.';const d=c['inventory'][k(0x71)](b);if(!d)return this[k(0x74)]['write'](k(0x69)+b+k(0x7e)+c[k(0x6b)]+k(0x83)),'There\x20is\x20no\x20item\x20\x22'+b+k(0x77);try{return this[k(0x84)]['addInventory'](d),this[k(0x74)][k(0x8c)](k(0x78)+b+k(0x73)+this['actor']['name']+k(0x85)),c[k(0x68)][k(0x67)](b),this[k(0x74)][k(0x8c)]('Successfully\x20removed\x20\x22'+b+k(0x86)+c[k(0x6b)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x6a)+b+'.';}catch(e){return this[k(0x74)][k(0x8c)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x89)]),'The\x20item\x20\x22'+b+k(0x6c);}}}
@@ -1 +1 @@
1
- function a43c(){const k=['11KkPYrz','join','constructor','4DPpNlF','verb','toString','unequip','name','606327ewOLPU','2637290HeJpwb','toLowerCase','UnequipCommand:\x20','142DYjBYa','6496944poApQO','24240FRMmqr','Unequip\x20an\x20item.','128696BPCwAe','unqeuip','(((.+)+)+)+$','execute','apply','actor','630XeewMh','logger','search','9324252UTRclW','\x20unqeuiped\x20','5268315NsMnVg','description','write'];a43c=function(){return k;};return a43c();}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x1ac))/0x1+-parseInt(f(0x1b0))/0x2*(-parseInt(f(0x1b2))/0x3)+parseInt(f(0x1c5))/0x4*(parseInt(f(0x1bf))/0x5)+-parseInt(f(0x1b1))/0x6+-parseInt(f(0x1bd))/0x7+parseInt(f(0x1b4))/0x8*(parseInt(f(0x1ba))/0x9)+parseInt(f(0x1ad))/0xa*(-parseInt(f(0x1c2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xa64d3));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1a9)]()['search'](h(0x1b6))[h(0x1a9)]()[h(0x1c4)](a43a)[h(0x1bc)](h(0x1b6));});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1a9;let f=c[d];return f;},a43d(a,b);}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x1c6)]=a43i(0x1b5);static [a43i(0x1c0)]=a43i(0x1b3);[a43i(0x1b7)](a){const j=a43i,b=a[j(0x1c3)]('\x20')[j(0x1ae)](),c=this[j(0x1b9)][j(0x1aa)](b);return this[j(0x1bb)][j(0x1c1)](j(0x1af)+this[j(0x1b9)][j(0x1ab)]+j(0x1be)+c),c;}}
1
+ const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0xf7))/0x1+-parseInt(f(0x101))/0x2+parseInt(f(0xf1))/0x3+parseInt(f(0x100))/0x4*(-parseInt(f(0xf5))/0x5)+parseInt(f(0xfc))/0x6+parseInt(f(0xef))/0x7+-parseInt(f(0xed))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x7ce37));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xec;let f=c[d];return f;},a43d(a,b);}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['toString']()['search'](g(0xf2))[g(0xec)]()[g(0x103)](a43a)[g(0xff)]('(((.+)+)+)+$');});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a43h(0xfe);static [a43h(0xf9)]=a43h(0xfb);[a43h(0xfd)](a){const i=a43h,b=a[i(0xf4)]('\x20')[i(0x102)](),c=this['actor'][i(0xfa)](b);return this[i(0xf3)]['write'](i(0xf8)+this[i(0xee)][i(0xf6)]+i(0xf0)+c),c;}}function a43c(){const j=['Unequip\x20an\x20item.','2987514MVyzqV','execute','unqeuip','search','164gubPst','740240SkgiQh','toLowerCase','constructor','toString','1654664nAKbba','actor','4468912NvMguo','\x20unqeuiped\x20','682464UrkrAQ','(((.+)+)+)+$','logger','join','47935mniwRV','name','117740PVSjhR','UnequipCommand:\x20','description','unequip'];a43c=function(){return j;};return a43c();}
@@ -1 +1 @@
1
- function a44c(){const m=['actor','5gNiMaX','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','verb','exits','There\x27s\x20no\x20door\x20named\x20\x22','2456912XrVpBw','toString','name','9416133EbveUL','hasItem','attemptUnlockExit','logger','17805172UaJInq','UnlockCommand:\x20','6CzXzzS','\x22\x20here.','8QSeTtx','length','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','unlock','697047FdTIWu','isValidDirection','error','get','(((.+)+)+)+$','execute','write','\x20is\x20attempted\x20to\x20unlock\x20','description','search','14441ODFjTX','toLowerCase','11987280ibHJRQ','currentLocation','apply','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','constructor','116098ZZTVxR','2802MTOBcP','.\x20Result:\x20'];a44c=function(){return m;};return a44c();}const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x182))/0x1+-parseInt(h(0x193))/0x2*(parseInt(h(0x1a5))/0x3)+-parseInt(h(0x19c))/0x4*(parseInt(h(0x197))/0x5)+-parseInt(h(0x194))/0x6*(parseInt(h(0x18c))/0x7)+-parseInt(h(0x17e))/0x8*(parseInt(h(0x19f))/0x9)+parseInt(h(0x18e))/0xa+parseInt(h(0x1a3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xbd12b));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x19d)]()[j(0x18b)]('(((.+)+)+)+$')[j(0x19d)]()[j(0x192)](a44a)['search'](j(0x186));});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x17d;let f=c[d];return f;},a44d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0x199)]=a44k(0x181);static [a44k(0x18a)]='Unlock\x20a\x20door.';[a44k(0x187)](a){return this['unlock'](a);}[a44k(0x181)](a){const l=a44k;if(a[l(0x17f)]===0x0)return this[l(0x1a2)][l(0x184)]('UnlockCommand:\x20No\x20target\x20specified.'),l(0x180);const b=a[0x0][l(0x18d)](),c=this[l(0x196)][l(0x18f)];if(this[l(0x183)](b)&&c[l(0x19a)]['has'](b)){const d=c[l(0x19a)][l(0x185)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[l(0x18d)]();if(e&&this[l(0x196)]['inventory'][l(0x1a0)](e)){const f=this[l(0x196)]['inventory']['getItem'](e);if(f){const g=c[l(0x1a1)](b,f[l(0x19e)]);return this[l(0x1a2)][l(0x188)](l(0x1a4)+this[l(0x196)]['name']+l(0x189)+b+l(0x195)+g),g;}}return this['logger']['write']('UnlockCommand:\x20'+this['actor'][l(0x19e)]+l(0x191)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this[l(0x1a2)][l(0x188)](l(0x1a4)+b+l(0x198)+c[l(0x19e)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0x17d);}else return this['logger']['write'](l(0x1a4)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c['name']+'.'),l(0x19b)+b+l(0x17d);}}
1
+ const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0xf2))/0x1*(-parseInt(h(0x100))/0x2)+parseInt(h(0xec))/0x3+-parseInt(h(0x109))/0x4*(-parseInt(h(0x10e))/0x5)+parseInt(h(0x10a))/0x6+-parseInt(h(0xfa))/0x7+-parseInt(h(0x10f))/0x8*(-parseInt(h(0xf6))/0x9)+-parseInt(h(0xf5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x4a9bb));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0xef)]()[j(0xf1)](j(0xfb))['toString']()[j(0x104)](a44a)[j(0xf1)](j(0xfb));});a44a();function a44c(){const m=['exits','search','186343GZiOQA','actor','unlock','3223410EVLhoG','1869327ixsDeO','\x22\x20here.','UnlockCommand:\x20','logger','963347AKExtk','(((.+)+)+)+$','attemptUnlockExit','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','unlockItemOrSolution','There\x27s\x20no\x20door\x20named\x20\x22','2uiUmnh','verb','error','inventory','constructor','name','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','currentLocation','.\x20Result:\x20','40876SxkLlj','424368nOzPEs','hasItem','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','length','245YxQlro','8XFNLxh','execute','getItem','write','toLowerCase','description','518214UVRmiT','\x20is\x20attempted\x20to\x20unlock\x20','apply','toString'];a44c=function(){return m;};return a44c();}import{Door}from'../models/door.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xec;let f=c[d];return f;},a44d(a,b);}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0x101)]=a44k(0xf4);static [a44k(0x114)]='Unlock\x20a\x20door.';[a44k(0x110)](a){return this['unlock'](a);}['unlock'](a){const l=a44k;if(a[l(0x10d)]===0x0)return this[l(0xf9)][l(0x102)]('UnlockCommand:\x20No\x20target\x20specified.'),l(0x10c);const b=a[0x0][l(0x113)](),c=this['actor'][l(0x107)];if(this['isValidDirection'](b)&&c['exits']['has'](b)){const d=c[l(0xf0)]['get'](b);if(d instanceof Door){const e=d[l(0xfe)]?.[l(0x113)]();if(e&&this[l(0xf3)]['inventory'][l(0x10b)](e)){const f=this[l(0xf3)][l(0x103)][l(0x111)](e);if(f){const g=c[l(0xfc)](b,f[l(0x105)]);return this[l(0xf9)][l(0x112)]('UnlockCommand:\x20'+this[l(0xf3)][l(0x105)]+l(0xed)+b+l(0x108)+g),g;}}return this[l(0xf9)][l(0x112)]('UnlockCommand:\x20'+this[l(0xf3)]['name']+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),l(0x106);}else return this[l(0xf9)][l(0x112)](l(0xf8)+b+l(0xfd)+c[l(0x105)]+'.'),l(0xff)+b+l(0xf7);}else return this[l(0xf9)][l(0x112)](l(0xf8)+b+l(0xfd)+c[l(0x105)]+'.'),l(0xff)+b+l(0xf7);}}
@@ -1 +1 @@
1
- const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0xc1))/0x1+-parseInt(f(0xb7))/0x2+parseInt(f(0xc7))/0x3+-parseInt(f(0xc3))/0x4+parseInt(f(0xb0))/0x5+-parseInt(f(0xcc))/0x6+-parseInt(f(0xb4))/0x7*(-parseInt(f(0xbc))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xdf74c));function a45c(){const l=['\x20to\x20use.','toString','(((.+)+)+)+$','2682786UKcsmT',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','\x20used\x20','You\x20can\x27t\x20use\x20the\x20','name','9328230prZnVQ','apply','actor','logger','getItem','use','\x27s\x20inventory.','6420810mtqzKE','\x20not\x20retrieved\x20from\x20','constructor','verb','16079DvoclX','execute','You\x20don\x27t\x20have\x20the\x20','2726998mbkrim','search','write','inventory','UseCommand:\x20','4728JqAIRr','toLowerCase','\x20attempted\x20to\x20use\x20','Use\x20an\x20item.','description','904553uJKPdv','hasItem','2428096gBUGRR'];a45c=function(){return l;};return a45c();}function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xad;let f=c[d];return f;},a45d(a,b);}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0xcd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0xc5)]()[h(0xb8)]('(((.+)+)+)+$')[h(0xc5)]()[h(0xb2)](a45a)[h(0xb8)](h(0xc6));});a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0xb3)]=a45i(0xae);static [a45i(0xc0)]=a45i(0xbf);[a45i(0xb5)](a){const j=a45i;return this[j(0xae)](a);}[a45i(0xae)](a){const k=a45i,b=a['join']('\x20')[k(0xbd)]();if(!this[k(0xce)][k(0xba)][k(0xc2)](b))return this[k(0xcf)][k(0xb9)](k(0xbb)+this[k(0xce)][k(0xcb)]+k(0xbe)+b+k(0xc8)),k(0xb6)+b+k(0xc4);const c=this[k(0xce)][k(0xba)][k(0xad)](b);if(!c)return this[k(0xcf)][k(0xb9)](k(0xbb)+b+k(0xb1)+this[k(0xce)]['name']+k(0xaf)),k(0xb6)+b+k(0xc4);if(typeof c['use']==='function'){const d=c['use']();return this[k(0xcf)]['write'](k(0xbb)+this['actor'][k(0xcb)]+k(0xc9)+b+'.'),d;}else return this[k(0xcf)]['write'](k(0xbb)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),k(0xca)+b+'\x20in\x20this\x20way.';}}
1
+ const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x1a6))/0x1+-parseInt(f(0x1a0))/0x2*(parseInt(f(0x1b1))/0x3)+-parseInt(f(0x1a4))/0x4+parseInt(f(0x1a3))/0x5+-parseInt(f(0x1bc))/0x6+-parseInt(f(0x1b6))/0x7*(-parseInt(f(0x1ac))/0x8)+parseInt(f(0x1b0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xc617a));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x1af)]()[h(0x19d)](h(0x19b))['toString']()[h(0x1aa)](a45a)['search'](h(0x19b));});function a45c(){const l=['805932mpzVIS','name','(((.+)+)+)+$','actor','search','UseCommand:\x20','inventory','32iBMwuX',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','\x20used\x20','894635dTbWPv','2946288GZqcrn','\x20not\x20retrieved\x20from\x20','565826DCwwet','\x20in\x20this\x20way.','execute','toLowerCase','constructor','You\x20can\x27t\x20use\x20the\x20','876056KYwpIT','You\x20don\x27t\x20have\x20the\x20','\x20attempted\x20to\x20use\x20','toString','15388281ftuEgD','220074llOYRL','\x20doesn\x27t\x20have\x20a\x20use\x20method.','use','join','logger','98JKXZmJ','getItem','apply','write','\x20to\x20use.','Use\x20an\x20item.'];a45c=function(){return l;};return a45c();}function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x19a;let f=c[d];return f;},a45d(a,b);}a45a();import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a45i(0x1b3);static ['description']=a45i(0x1bb);[a45i(0x1a8)](a){const j=a45i;return this[j(0x1b3)](a);}['use'](a){const k=a45i,b=a[k(0x1b4)]('\x20')[k(0x1a9)]();if(!this[k(0x19c)][k(0x19f)]['hasItem'](b))return this['logger'][k(0x1b9)]('UseCommand:\x20'+this[k(0x19c)][k(0x19a)]+k(0x1ae)+b+k(0x1a1)),k(0x1ad)+b+'\x20to\x20use.';const c=this[k(0x19c)]['inventory'][k(0x1b7)](b);if(!c)return this[k(0x1b5)]['write'](k(0x19e)+b+k(0x1a5)+this[k(0x19c)][k(0x19a)]+'\x27s\x20inventory.'),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x1ba);if(typeof c['use']==='function'){const d=c[k(0x1b3)]();return this[k(0x1b5)]['write'](k(0x19e)+this[k(0x19c)][k(0x19a)]+k(0x1a2)+b+'.'),d;}else return this[k(0x1b5)][k(0x1b9)](k(0x19e)+b+k(0x1b2)),k(0x1ab)+b+k(0x1a7);}}
@@ -1 +1 @@
1
- const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0xb3))/0x1+parseInt(f(0xad))/0x2*(parseInt(f(0xb5))/0x3)+parseInt(f(0xbc))/0x4*(-parseInt(f(0xb7))/0x5)+parseInt(f(0xb2))/0x6+parseInt(f(0xb6))/0x7+parseInt(f(0xb1))/0x8*(-parseInt(f(0xae))/0x9)+-parseInt(f(0xb9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x49365));function a46c(){const l=['getAllRegisteredCommands','search','4IMZqPR','commandMap','200bJdbux','3879peigOQ','constructor','apply','6616oJITxO','2808786gjvNMd','90237JxHOHE','toString','4314UGSRzC','3846605xzVPAH','422935MczRiF','createCommand','3303080eZLhTR'];a46c=function(){return l;};return a46c();}function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0xad;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(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0xb4)]()[h(0xbb)]('(((.+)+)+)+$')['toString']()[h(0xaf)](a46a)[h(0xbb)]('(((.+)+)+)+$');});a46a();export class CommandFactory{static [a46i(0xbd)]={};static['registerCommand'](a,b){const j=a46i;this[j(0xbd)][a]=b;}static[a46i(0xb8)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a46i(0xba)](){const k=a46i;return this[k(0xbd)];}}
1
+ const a46i=a46d;function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0xc2;let f=c[d];return f;},a46d(a,b);}(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0xca))/0x1*(parseInt(f(0xcf))/0x2)+-parseInt(f(0xcc))/0x3*(-parseInt(f(0xce))/0x4)+-parseInt(f(0xc5))/0x5+-parseInt(f(0xcd))/0x6+-parseInt(f(0xd2))/0x7+parseInt(f(0xd0))/0x8+parseInt(f(0xcb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x2a86c));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0xc7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0xc4)]()[h(0xc3)](h(0xc8))['toString']()[h(0xd1)](a46a)[h(0xc3)](h(0xc8));});a46a();function a46c(){const l=['526EUSjaC','1201240HzqzVJ','constructor','1948016cbUMIW','getAllRegisteredCommands','search','toString','95280CwurAf','commandMap','apply','(((.+)+)+)+$','registerCommand','944NcrxST','7485894LcJMJH','228405IDKBdN','2029512rWyCVE','4UpsvKi'];a46c=function(){return l;};return a46c();}export class CommandFactory{static [a46i(0xc6)]={};static[a46i(0xc9)](a,b){const j=a46i;this[j(0xc6)][a]=b;}static['createCommand'](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a46i(0xc2)](){const k=a46i;return this[k(0xc6)];}}
@@ -1 +1 @@
1
- const a47h=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0xbe))/0x1*(-parseInt(f(0xbc))/0x2)+parseInt(f(0xce))/0x3+parseInt(f(0xd6))/0x4+-parseInt(f(0xba))/0x5*(parseInt(f(0xbb))/0x6)+-parseInt(f(0xd7))/0x7*(parseInt(f(0xc3))/0x8)+parseInt(f(0xc7))/0x9+-parseInt(f(0xcf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x8ab5e));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(0xdc)]()['search'](g(0xc6))['toString']()[g(0xcc)](a47a)[g(0xc4)]('(((.+)+)+)+$');});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';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xba;let f=c[d];return f;},a47d(a,b);}function a47c(){const m=['10lTPBra','gauntlets','97085PVCPTd','rifle','sword','INSIDE','description','24wCGVpX','search','content','(((.+)+)+)+$','2445003BozhPy','isStartRoom','book','setPuzzle','helmet','constructor','bodyarmor','2404575feJcRf','10476800Hxmnwo','inventory','roomType','convertToRoomConfig','addItem','puzzle','name','3771100ZlIMpO','1502830BCosih','createItem','createRoom','legarmor','createPuzzle','toString','toUpperCase','items','8270drTsUh','876snWMKl'];a47c=function(){return m;};return a47c();}export class RoomFactory{[a47h(0xd9)](a){const i=a47h,b=this[i(0xd2)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[i(0xde)]['forEach'](e=>{const j=i;d[j(0xd3)](this[j(0xd8)](e));}),c[i(0xd0)]=d;}return a[i(0xd4)]&&c[i(0xca)](this[i(0xdb)](a[i(0xd4)])),c;}['createItem'](a){const k=a47h;switch(a['type']){case'key':return new Key(a[k(0xd5)],a[k(0xc2)]);case k(0xc9):return new Book(a['name'],a['description'],a[k(0xc5)]);case k(0xc0):return new Sword(a[k(0xd5)],a['description']);case k(0xbf):return new Rifle(a[k(0xd5)],a['description']);case k(0xcb):return new Helmet(a[k(0xd5)],a['description']);case k(0xcd):return new BodyArmor(a[k(0xd5)],a[k(0xc2)]);case k(0xda):return new LegArmor(a[k(0xd5)],a['description']);case'boots':return new Boots(a[k(0xd5)],a[k(0xc2)]);case'gloves':return new Gloves(a[k(0xd5)],a[k(0xc2)]);case k(0xbd):return new Gauntlets(a[k(0xd5)],a[k(0xc2)]);default:return new BasicItem(a[k(0xd5)],a[k(0xc2)]);}}[a47h(0xdb)](a){const b=this['createItem'](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const l=a47h,b=a['roomType']&&RoomType[a[l(0xd1)][l(0xdd)]()]?RoomType[a['roomType'][l(0xdd)]()]:RoomType[l(0xc1)];return{'name':a[l(0xd5)],'description':a['description'],'isStartRoom':a[l(0xc8)],'roomType':b};}}
1
+ function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xdd;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(0x103))/0x1+-parseInt(f(0xde))/0x2*(parseInt(f(0xff))/0x3)+-parseInt(f(0xeb))/0x4+-parseInt(f(0xdd))/0x5+parseInt(f(0xf7))/0x6*(-parseInt(f(0xe6))/0x7)+parseInt(f(0xdf))/0x8*(parseInt(f(0xed))/0x9)+parseInt(f(0xfa))/0xa*(parseInt(f(0xf6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x79342));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xf4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0xfc)]()[h(0xee)]('(((.+)+)+)+$')['toString']()[h(0xfb)](a47a)[h(0xee)](h(0xfd));});function a47c(){const o=['3081916wYdxKK','name','9xZomjc','search','setPuzzle','bodyarmor','book','content','convertToRoomConfig','apply','toUpperCase','935dthVtV','5286cWWEmO','gauntlets','legarmor','219590DggRyY','constructor','toString','(((.+)+)+)+$','items','3kblZCz','forEach','type','createPuzzle','26043JNtaGg','901190HaSwuz','1360244sjgtTo','6853736VuUKyJ','addItem','roomType','description','gloves','rewardItem','createRoom','4942JOhvKi','boots','INSIDE','createItem','puzzle'];a47c=function(){return o;};return a47c();}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(0xe5)](a){const j=a47i,b=this[j(0xf3)](a),c=new Room(b);if(a[j(0xfe)]){const d=new Inventory();a['items'][j(0x100)](e=>{const k=j;d[k(0xe0)](this['createItem'](e));}),c['inventory']=d;}return a[j(0xea)]&&c[j(0xef)](this['createPuzzle'](a['puzzle'])),c;}['createItem'](a){const l=a47i;switch(a[l(0x101)]){case'key':return new Key(a[l(0xec)],a[l(0xe2)]);case l(0xf1):return new Book(a['name'],a['description'],a[l(0xf2)]);case'sword':return new Sword(a[l(0xec)],a[l(0xe2)]);case'rifle':return new Rifle(a[l(0xec)],a['description']);case'helmet':return new Helmet(a['name'],a[l(0xe2)]);case l(0xf0):return new BodyArmor(a[l(0xec)],a[l(0xe2)]);case l(0xf9):return new LegArmor(a[l(0xec)],a['description']);case l(0xe7):return new Boots(a[l(0xec)],a[l(0xe2)]);case l(0xe3):return new Gloves(a[l(0xec)],a['description']);case l(0xf8):return new Gauntlets(a[l(0xec)],a[l(0xe2)]);default:return new BasicItem(a['name'],a['description']);}}[a47i(0x102)](a){const m=a47i,b=this[m(0xe9)](a[m(0xe4)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0xf3)](a){const n=a47i,b=a[n(0xe1)]&&RoomType[a[n(0xe1)]['toUpperCase']()]?RoomType[a[n(0xe1)][n(0xf5)]()]:RoomType[n(0xe8)];return{'name':a[n(0xec)],'description':a[n(0xe2)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0x16d))/0x1*(parseInt(h(0x167))/0x2)+parseInt(h(0x157))/0x3*(parseInt(h(0x15d))/0x4)+parseInt(h(0x13f))/0x5*(parseInt(h(0x155))/0x6)+-parseInt(h(0x145))/0x7*(-parseInt(h(0x168))/0x8)+parseInt(h(0x152))/0x9+-parseInt(h(0x153))/0xa+-parseInt(h(0x14a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xc05ce));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x169)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a['toString']()[j(0x161)](j(0x16c))['toString']()[j(0x144)](a48a)[j(0x161)]('(((.+)+)+)+$');});function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x13f;let f=c[d];return f;},a48d(a,b);}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';function a48c(){const s=['apply','getHelpMessage','Available\x20Commands:\x0a','(((.+)+)+)+$','2eisIgl','15VjpGOY','createCommand','drop','player','handleInput','constructor','7MfxqhG','-\x20quit:\x20Exit\x20the\x20game.\x0a','-\x20clear:\x20Clear\x20the\x20screen.\x0a','registerCommand','Welcome,\x20','34213652kZrDBy','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','instance','unlock','currentLocation','lock','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','split','12752181JOOUuz','3641710azNOkW','look','2457534OKzcmD','solve','631662bWdFpO','scene','slice','hasOwnProperty','help','registerCommands','24XeGQtT','name','execute','trim','search','determineStartRoom','take','quit','getWelcomeMessage','getDescription','504302LjPUgG','6861784XuTeZk'];a48c=function(){return s;};return a48c();}export default class Game{static [a48k(0x14c)];[a48k(0x158)];['player'];['currentRoom'];['rooms'];constructor(a,b){const l=a48k;this[l(0x142)]=a,this[l(0x158)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x158)]['initialize'](),this[l(0x142)][l(0x14e)]=this[l(0x162)](),this[l(0x15c)]();}['registerCommands'](){const m=a48k;CommandFactory[m(0x148)](m(0x154),LookCommand),CommandFactory[m(0x148)]('go',GoCommand),CommandFactory[m(0x148)](m(0x163),TakeCommand),CommandFactory[m(0x148)]('use',UseCommand),CommandFactory[m(0x148)]('equip',EquipCommand),CommandFactory[m(0x148)]('unequip',UnequipCommand),CommandFactory[m(0x148)](m(0x156),SolveCommand),CommandFactory[m(0x148)](m(0x141),DropCommand),CommandFactory[m(0x148)](m(0x14d),UnlockCommand),CommandFactory[m(0x148)](m(0x14f),LockCommand),CommandFactory['registerCommand'](m(0x161),SearchCommand),CommandFactory[m(0x148)]('say',SayCommand);}[a48k(0x162)](){const n=a48k;return this[n(0x158)]['determineStartRoom']();}[a48k(0x165)](){const o=a48k;return o(0x149)+this[o(0x142)][o(0x15e)];}static['getInstance'](a,b){const p=a48k;return!Game[p(0x14c)]&&(Game[p(0x14c)]=new Game(a,b)),Game[p(0x14c)];}[a48k(0x143)](a){const q=a48k,b=a[q(0x160)]()[q(0x151)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0x159)](0x1);if(c===q(0x164))return null;if(c==='maka')return q(0x14b);if(c===q(0x15b))return this[q(0x16a)]();if(c==='clear')return'';const e={'actor':this['player'],'rooms':this[q(0x158)]['getRooms'](),'scene':this[q(0x158)]},f=CommandFactory[q(0x140)](c,e);if(f){const g=f[q(0x15f)](d);return g;}return q(0x150)+c+'\x22.';}[a48k(0x16a)](){const r=a48k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x16b);for(const c in a){if(a[r(0x15a)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x166)]()+'\x0a';}}return b+=r(0x147),b+=r(0x146),b;}}
1
+ function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x110;let f=c[d];return f;},a48d(a,b);}const a48j=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x116))/0x1+parseInt(h(0x126))/0x2*(-parseInt(h(0x132))/0x3)+-parseInt(h(0x129))/0x4*(parseInt(h(0x133))/0x5)+-parseInt(h(0x112))/0x6+-parseInt(h(0x13c))/0x7*(-parseInt(h(0x119))/0x8)+-parseInt(h(0x134))/0x9+-parseInt(h(0x117))/0xa*(-parseInt(h(0x142))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x812c0));const a48b=(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;};}()),a48a=a48b(this,function(){const i=a48d;return a48a[i(0x135)]()[i(0x128)]('(((.+)+)+)+$')[i(0x135)]()[i(0x11a)](a48a)[i(0x128)]('(((.+)+)+)+$');});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';function a48c(){const q=['1830510GEnXLr','initialize','toLowerCase','createCommand','216418qmcUUN','510ipDUVM','scene','328dzmjpB','constructor','currentLocation','unlock','getRooms','quit','Available\x20Commands:\x0a','slice','trim','getWelcomeMessage','getInstance','lock','registerCommands','1872378ZykCrW','registerCommand','search','16GzbWot','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','currentRoom','instance','solve','use','say','Welcome,\x20','take','3ykyPMB','625630eMNzbM','6895530FNwUEO','toString','rooms','name','getHelpMessage','look','determineStartRoom','hasOwnProperty','10059pSOrYL','equip','maka','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','-\x20quit:\x20Exit\x20the\x20game.\x0a','drop','595661VdmxWU','getAllRegisteredCommands','player','clear','getDescription'];a48c=function(){return q;};return a48c();}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 [a48j(0x12c)];[a48j(0x118)];[a48j(0x144)];[a48j(0x12b)];[a48j(0x136)];constructor(a,b){const k=a48j;this['player']=a,this[k(0x118)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][k(0x113)](),this[k(0x144)][k(0x11b)]=this[k(0x13a)](),this[k(0x125)]();}[a48j(0x125)](){const l=a48j;CommandFactory['registerCommand'](l(0x139),LookCommand),CommandFactory[l(0x127)]('go',GoCommand),CommandFactory[l(0x127)](l(0x131),TakeCommand),CommandFactory[l(0x127)](l(0x12e),UseCommand),CommandFactory[l(0x127)](l(0x13d),EquipCommand),CommandFactory[l(0x127)]('unequip',UnequipCommand),CommandFactory[l(0x127)](l(0x12d),SolveCommand),CommandFactory[l(0x127)](l(0x141),DropCommand),CommandFactory['registerCommand'](l(0x11c),UnlockCommand),CommandFactory[l(0x127)](l(0x124),LockCommand),CommandFactory['registerCommand'](l(0x128),SearchCommand),CommandFactory['registerCommand'](l(0x12f),SayCommand);}[a48j(0x13a)](){return this['scene']['determineStartRoom']();}[a48j(0x122)](){const m=a48j;return m(0x130)+this['player'][m(0x137)];}static[a48j(0x123)](a,b){const n=a48j;return!Game[n(0x12c)]&&(Game[n(0x12c)]=new Game(a,b)),Game[n(0x12c)];}['handleInput'](a){const o=a48j,b=a[o(0x121)]()['split']('\x20'),c=b[0x0][o(0x114)](),d=b[o(0x120)](0x1);if(c===o(0x11e))return null;if(c===o(0x13e))return o(0x13f);if(c==='help')return this['getHelpMessage']();if(c===o(0x110))return'';const e={'actor':this[o(0x144)],'rooms':this[o(0x118)][o(0x11d)](),'scene':this[o(0x118)]},f=CommandFactory[o(0x115)](c,e);if(f){const g=f['execute'](d);return g;}return o(0x12a)+c+'\x22.';}[a48j(0x138)](){const p=a48j,a=CommandFactory[p(0x143)]();let b=p(0x11f);for(const c in a){if(a[p(0x13b)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[p(0x111)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+=p(0x140),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1d8))/0x1*(-parseInt(f(0x1db))/0x2)+-parseInt(f(0x1df))/0x3+-parseInt(f(0x1da))/0x4+-parseInt(f(0x1d4))/0x5+-parseInt(f(0x1d7))/0x6+-parseInt(f(0x1dd))/0x7+parseInt(f(0x1de))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x3282f));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1d4;var f=c[d];return f;},a49d(a,b);}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1dc)]()[h(0x1d9)](h(0x1d5))['toString']()[h(0x1d6)](a49a)[h(0x1d9)](h(0x1d5));});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a49c(){var i=['(((.+)+)+)+$','constructor','1056270bDMPip','60405lNhmDK','search','1386020SwrGas','2wYIBer','toString','930538GDLjUZ','12190912Ycmxvx','587619GHMiUc','apply','2026035tzlkmI'];a49c=function(){return i;};return a49c();}export*from'./npc.js';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(0x198))/0x1+parseInt(f(0x195))/0x2+parseInt(f(0x194))/0x3+parseInt(f(0x190))/0x4+parseInt(f(0x19a))/0x5*(-parseInt(f(0x18c))/0x6)+parseInt(f(0x197))/0x7*(parseInt(f(0x18f))/0x8)+-parseInt(f(0x193))/0x9*(-parseInt(f(0x192))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x1a762));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x191)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x18e)]()[h(0x199)]('(((.+)+)+)+$')[h(0x18e)]()[h(0x18d)](a49a)['search'](h(0x196));});a49a();function a49c(){var i=['27kmoIlu','5094eSUXpY','367378dwIGHK','(((.+)+)+)+$','4193kOYxVm','205026pJdGIx','search','140ORGZCz','18510UFDfCb','constructor','toString','648VnxFtb','235780GYvVgA','apply','356470HEsPmI'];a49c=function(){return i;};return a49c();}export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x18c;var f=c[d];return f;},a49d(a,b);}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x1cb))/0x1+parseInt(f(0x1c9))/0x2*(parseInt(f(0x1ca))/0x3)+parseInt(f(0x1e5))/0x4*(-parseInt(f(0x1d4))/0x5)+parseInt(f(0x1d8))/0x6*(-parseInt(f(0x1d6))/0x7)+parseInt(f(0x1d1))/0x8*(-parseInt(f(0x1d9))/0x9)+parseInt(f(0x1db))/0xa+parseInt(f(0x1df))/0xb*(parseInt(f(0x1d3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x3d83c));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x1cd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x1d5)]()['search'](h(0x1d7))[h(0x1d5)]()['constructor'](a50a)['search'](h(0x1d7));});a50a();function a50c(){var o=['isLocked','870750hZQFAw','name','Failed\x20to\x20unlock\x20door:\x20','getInstance','11qbAFdh','write','.\x20Used:\x20','unlockItemOrSolution','isLockable','To\x20','468868ejjxfn','logger','checkIfLocked','10JvYZzO','146595ivJJQs','270519sMUsUR','Door\x20created\x20between\x20','apply','roomB','Door\x20unlocked:\x20','attemptUnlock','57704Ikjgwr','roomA','11798964KZGPpp','10BiugbZ','toString','7lqiXHp','(((.+)+)+)+$','2610654HoTkbW','153suDRRT'];a50c=function(){return o;};return a50c();}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x1c7;var f=c[d];return f;},a50d(a,b);}export class Door extends AbstractDoor{[a50i(0x1d2)];[a50i(0x1ce)];[a50i(0x1da)];['unlockItemOrSolution'];[a50i(0x1dc)];[a50i(0x1c7)];[a50i(0x1e3)];constructor(a){var j=a50i;super(),this[j(0x1d2)]=a[j(0x1d2)],this[j(0x1ce)]=a['roomB'],this[j(0x1da)]=a[j(0x1da)]||![],this[j(0x1e2)]=a['unlockItemOrSolution'],this[j(0x1dc)]=a[j(0x1dc)]?capitalCase(a[j(0x1dc)]):j(0x1e4)+a[j(0x1ce)][j(0x1dc)],this[j(0x1c7)]=Logger[j(0x1de)](),this['isLockable']=!!a[j(0x1e2)],this[j(0x1c7)][j(0x1e0)](j(0x1cc)+this[j(0x1d2)]['name']+'\x20and\x20'+this[j(0x1ce)][j(0x1dc)]+'.\x20Is\x20Locked:\x20'+this[j(0x1da)]);}['getOtherSide'](a){var k=a50i;return this['roomA']===a?this[k(0x1ce)]:this[k(0x1d2)];}[a50i(0x1d0)](a){var l=a50i;if(this[l(0x1da)]&&this[l(0x1e2)]&&this['unlockItemOrSolution']===a)return this[l(0x1da)]=![],this[l(0x1c7)][l(0x1e0)](l(0x1cf)+this[l(0x1dc)]+l(0x1e1)+a),!![];return this[l(0x1c7)]['write'](l(0x1dd)+this['name']+'.\x20Used:\x20'+a),![];}[a50i(0x1c8)](){var m=a50i;return this[m(0x1da)];}['checkIfLockable'](){var n=a50i;return this[n(0x1e3)];}}
1
+ var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x1ba))/0x1*(parseInt(f(0x1ca))/0x2)+-parseInt(f(0x1b7))/0x3*(-parseInt(f(0x1c6))/0x4)+-parseInt(f(0x1c4))/0x5*(-parseInt(f(0x1c3))/0x6)+-parseInt(f(0x1b1))/0x7+-parseInt(f(0x1cb))/0x8+-parseInt(f(0x1c1))/0x9+-parseInt(f(0x1b8))/0xa*(-parseInt(f(0x1cd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x26917));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x1bb)]()['search']('(((.+)+)+)+$')[h(0x1bb)]()[h(0x1c0)](a50a)[h(0x1b4)]('(((.+)+)+)+$');});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x1af;var f=c[d];return f;},a50d(a,b);}import{AbstractDoor}from'../types/abstracts.js';function a50c(){var n=['22qCOdCX','attemptUnlock','.\x20Used:\x20','761467SjlkWT','.\x20Is\x20Locked:\x20','roomA','search','getInstance','Door\x20unlocked:\x20','6CazaMx','1738330vOBcGb','unlockItemOrSolution','292ZapvDJ','toString','write','getOtherSide','checkIfLocked','apply','constructor','2518650fBvJiR','\x20and\x20','6aVOmOL','1394585qBYTYK','name','275512IULjFT','isLocked','roomB','isLockable','914YeIGuG','674312MlDald','logger'];a50c=function(){return n;};return a50c();}export class Door extends AbstractDoor{[a50i(0x1b3)];[a50i(0x1c8)];[a50i(0x1c7)];[a50i(0x1b9)];[a50i(0x1c5)];[a50i(0x1cc)];[a50i(0x1c9)];constructor(a){var j=a50i;super(),this[j(0x1b3)]=a[j(0x1b3)],this[j(0x1c8)]=a[j(0x1c8)],this[j(0x1c7)]=a[j(0x1c7)]||![],this[j(0x1b9)]=a[j(0x1b9)],this[j(0x1c5)]=a[j(0x1c5)]?capitalCase(a[j(0x1c5)]):'To\x20'+a[j(0x1c8)][j(0x1c5)],this['logger']=Logger[j(0x1b5)](),this[j(0x1c9)]=!!a[j(0x1b9)],this['logger']['write']('Door\x20created\x20between\x20'+this['roomA']['name']+j(0x1c2)+this['roomB'][j(0x1c5)]+j(0x1b2)+this[j(0x1c7)]);}[a50i(0x1bd)](a){var k=a50i;return this[k(0x1b3)]===a?this[k(0x1c8)]:this[k(0x1b3)];}[a50i(0x1af)](a){var l=a50i;if(this[l(0x1c7)]&&this[l(0x1b9)]&&this[l(0x1b9)]===a)return this['isLocked']=![],this['logger'][l(0x1bc)](l(0x1b6)+this[l(0x1c5)]+'.\x20Used:\x20'+a),!![];return this[l(0x1cc)]['write']('Failed\x20to\x20unlock\x20door:\x20'+this[l(0x1c5)]+l(0x1b0)+a),![];}[a50i(0x1be)](){return this['isLocked'];}['checkIfLockable'](){var m=a50i;return this[m(0x1c9)];}}
@@ -1 +1 @@
1
- const a51k=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x14c))/0x1*(parseInt(f(0x130))/0x2)+-parseInt(f(0x153))/0x3+parseInt(f(0x14a))/0x4+-parseInt(f(0x12f))/0x5*(-parseInt(f(0x154))/0x6)+-parseInt(f(0x14d))/0x7*(-parseInt(f(0x13c))/0x8)+parseInt(f(0x14f))/0x9*(parseInt(f(0x13d))/0xa)+-parseInt(f(0x152))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x7ef6d));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x12d;let f=c[d];return f;},a51d(a,b);}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x149)]()[h(0x141)]('(((.+)+)+)+$')[h(0x149)]()['constructor'](a51a)[h(0x141)]('(((.+)+)+)+$');});function a51c(){const q=['set','getWeight','934450fELjlV','1945116BDhASN','78kjuVbE','Checked\x20for\x20item:\x20','Retrieved\x20details\x20for\x20item:\x20','348675tEEhDM','814onVJXO','apply','Listed\x20items\x20in\x20inventory:\x20','\x20to\x20inventory.','removeItem','\x20from\x20inventory.','write','items','getItem','logger','has','listItems','20504XwyiMh','514570ywVaUt','getInstance','name','join','search','\x20in\x20','hasItem','toLowerCase','map','.\x20Item\x20not\x20found.','Removed\x20item:\x20','get','toString','84260czEqkb','keys','1829NrzmTi','1939YDxXPr','values','63LSVidj'];a51c=function(){return q;};return a51c();}a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];['logger'];constructor(){const i=a51d;super(),this['items']=new Map(),this[i(0x139)]=Logger[i(0x13e)]();}['addItem'](a){const j=a51d;this[j(0x137)][j(0x150)](a[j(0x13f)]['toLowerCase'](),a),this[j(0x139)]['write']('Added\x20item:\x20'+a[j(0x13f)]+j(0x133));}[a51k(0x134)](a){const l=a51k,b=this['getItem'](a);if(b)return this[l(0x137)]['delete'](a[l(0x144)]()),this[l(0x139)][l(0x136)](l(0x147)+a+l(0x135)),b;return this['logger'][l(0x136)]('Failed\x20to\x20remove\x20item:\x20'+a+l(0x146)),null;}[a51k(0x143)](a){const m=a51k,b=this[m(0x137)][m(0x13a)](a['toLowerCase']()),c=[...this['items']['keys']()];return this[m(0x139)][m(0x136)](m(0x12d)+a+m(0x142)+c[m(0x140)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a51k(0x138)](a){const n=a51k,b=this[n(0x137)][n(0x148)](a[n(0x144)]())||null;return b?this[n(0x139)][n(0x136)](n(0x12e)+a+'.'):this['logger']['write']('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+n(0x146)),b;}[a51k(0x13b)](){const o=a51k,a=[...this[o(0x137)][o(0x14b)]()],b=a[o(0x145)](c=>capitalCase(c));return this[o(0x139)][o(0x136)](o(0x132)+b[o(0x140)](',\x20')+'.'),a;}[a51k(0x151)](){let a=0x0;for(const b of this['items']['values']()){a+=b['weight'];}return a;}['getAllItems'](){const p=a51k;return[...this[p(0x137)][p(0x14e)]()];}}
1
+ function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x64;let f=c[d];return f;},a51d(a,b);}function a51c(){const r=['41461xUxdcq','Removed\x20item:\x20','4507479SrDtsN','write','toLowerCase','name','getWeight','Listed\x20items\x20in\x20inventory:\x20','1448MHLtKB','has','\x20from\x20inventory.','set','Retrieved\x20details\x20for\x20item:\x20','addItem','.\x20Item\x20not\x20found.','keys','delete','600FqjbpA','10800jdpdkY','get','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','609510CKygvT','getItem','apply','10VASjCO','5741688gDhJgx','toString','getAllItems','values','\x20in\x20','weight','search','map','hasItem','logger','(((.+)+)+)+$','items','.\x20Exists:\x20','47820190VKtrhK','1955mTGnPs','Checked\x20for\x20item:\x20','Added\x20item:\x20','join','718pKghRt'];a51c=function(){return r;};return a51c();}const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x78))/0x1*(parseInt(f(0x7c))/0x2)+-parseInt(f(0x66))/0x3+parseInt(f(0x8e))/0x4*(-parseInt(f(0x8f))/0x5)+-parseInt(f(0x6a))/0x6+-parseInt(f(0x7d))/0x7*(parseInt(f(0x85))/0x8)+-parseInt(f(0x7f))/0x9*(parseInt(f(0x69))/0xa)+parseInt(f(0x77))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x8fa91));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x68)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x6b)]()['search'](h(0x74))[h(0x6b)]()['constructor'](a51a)[h(0x70)]('(((.+)+)+)+$');});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x75)];[a51i(0x73)];constructor(){const j=a51i;super(),this[j(0x75)]=new Map(),this[j(0x73)]=Logger['getInstance']();}[a51i(0x8a)](a){const k=a51i;this['items'][k(0x88)](a[k(0x82)][k(0x81)](),a),this[k(0x73)][k(0x80)](k(0x7a)+a[k(0x82)]+'\x20to\x20inventory.');}['removeItem'](a){const l=a51i,b=this['getItem'](a);if(b)return this[l(0x75)][l(0x8d)](a[l(0x81)]()),this[l(0x73)]['write'](l(0x7e)+a+l(0x87)),b;return this[l(0x73)][l(0x80)]('Failed\x20to\x20remove\x20item:\x20'+a+l(0x8b)),null;}[a51i(0x72)](a){const m=a51i,b=this[m(0x75)][m(0x86)](a[m(0x81)]()),c=[...this['items'][m(0x8c)]()];return this['logger'][m(0x80)](m(0x79)+a+m(0x6e)+c[m(0x7b)](',\x20')+m(0x76)+b+'.'),b;}[a51i(0x67)](a){const n=a51i,b=this[n(0x75)][n(0x64)](a[n(0x81)]())||null;return b?this[n(0x73)][n(0x80)](n(0x89)+a+'.'):this['logger']['write'](n(0x65)+a+'.\x20Item\x20not\x20found.'),b;}['listItems'](){const o=a51i,a=[...this[o(0x75)][o(0x8c)]()],b=a[o(0x71)](c=>capitalCase(c));return this[o(0x73)][o(0x80)](o(0x84)+b[o(0x7b)](',\x20')+'.'),a;}[a51i(0x83)](){const p=a51i;let a=0x0;for(const b of this['items'][p(0x6d)]()){a+=b[p(0x6f)];}return a;}[a51i(0x6c)](){const q=a51i;return[...this[q(0x75)][q(0x6d)]()];}}
@@ -1 +1 @@
1
- var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x1b4))/0x1+parseInt(f(0x1a9))/0x2*(parseInt(f(0x1b5))/0x3)+parseInt(f(0x1ae))/0x4*(parseInt(f(0x1a1))/0x5)+parseInt(f(0x1a5))/0x6+-parseInt(f(0x1a3))/0x7*(-parseInt(f(0x1b1))/0x8)+-parseInt(f(0x1ac))/0x9+-parseInt(f(0x1aa))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x668bf));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(0x1b6)]()[g(0x1a6)]('(((.+)+)+)+$')[g(0x1b6)]()[g(0x1ab)](a52a)[g(0x1a6)](g(0x1b2));});function a52c(){var k=['search','name','description','194314KZhcPd','18206120JITkOS','constructor','6255360NbYjYf','size','1046956yULFsQ','shape','.\x20Nothing\x20special\x20happens.','208256moNjqP','(((.+)+)+)+$','You\x20use\x20the\x20','804139yNgYnS','18zWPfwk','toString','weight','category','color','texture','15muPIeh','uuid','28HaPVPD','rating','3955542khmclG'];a52c=function(){return k;};return a52c();}a52a();function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1a1;var f=c[d];return f;},a52d(a,b);}import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52h(0x1a2)];[a52h(0x1a7)];['description'];[a52h(0x1ad)];[a52h(0x1b8)];['shape'];[a52h(0x1b9)];[a52h(0x1ba)];[a52h(0x1a4)];[a52h(0x1b7)];constructor(a){var i=a52h;super(),this[i(0x1a7)]=a[i(0x1a7)],this['description']=a[i(0x1a8)],this['size']=a[i(0x1ad)],this[i(0x1b8)]=a['category'],this[i(0x1af)]=a[i(0x1af)],this['color']=a[i(0x1b9)],this[i(0x1ba)]=a['texture'],this[i(0x1a4)]=a[i(0x1a4)],this['weight']=a[i(0x1b7)],this[i(0x1a2)]=a52e();}['use'](){var j=a52h;return j(0x1b3)+this[j(0x1a7)]+j(0x1b0);}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xf3))/0x1+parseInt(f(0xed))/0x2*(-parseInt(f(0xf8))/0x3)+-parseInt(f(0xfa))/0x4+-parseInt(f(0xf7))/0x5+parseInt(f(0xfb))/0x6*(parseInt(f(0xf4))/0x7)+-parseInt(f(0xfe))/0x8*(-parseInt(f(0xe9))/0x9)+-parseInt(f(0xf6))/0xa*(-parseInt(f(0xf9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x803f9));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xff)]()[h(0xf1)](h(0xe5))[h(0xff)]()[h(0xeb)](a52a)[h(0xf1)](h(0xe5));});a52a();function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xe5;var f=c[d];return f;},a52d(a,b);}import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a52c(){var l=['name','22fseYtj','size','rating','color','search','You\x20use\x20the\x20','26200eXnymi','7pWuKNo','texture','1210VJrfVZ','4801505fcySgk','150207ujPCsg','221485VhQlrT','3695376wAjyam','2119422adnRwI','description','weight','1574696wmemEi','toString','category','(((.+)+)+)+$','use','shape','.\x20Nothing\x20special\x20happens.','9KvmXxo','apply','constructor'];a52c=function(){return l;};return a52c();}export class Item extends AbstractItem{['uuid'];['name'];[a52i(0xfc)];[a52i(0xee)];['category'];[a52i(0xe7)];[a52i(0xf0)];['texture'];[a52i(0xef)];['weight'];constructor(a){var j=a52i;super(),this['name']=a[j(0xec)],this['description']=a['description'],this[j(0xee)]=a[j(0xee)],this[j(0x100)]=a['category'],this[j(0xe7)]=a[j(0xe7)],this[j(0xf0)]=a['color'],this[j(0xf5)]=a[j(0xf5)],this[j(0xef)]=a[j(0xef)],this[j(0xfd)]=a['weight'],this['uuid']=a52e();}[a52i(0xe6)](){var k=a52i;return k(0xf2)+this[k(0xec)]+k(0xe8);}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x88))/0x1+-parseInt(f(0x85))/0x2+-parseInt(f(0x83))/0x3+parseInt(f(0x8c))/0x4+parseInt(f(0x86))/0x5*(-parseInt(f(0x93))/0x6)+-parseInt(f(0x80))/0x7*(-parseInt(f(0x8a))/0x8)+parseInt(f(0x8b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x71769));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x8d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0x8f)](h(0x84))[h(0x92)]()[h(0x7e)](a53a)[h(0x8f)](h(0x84));});function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x7e;let f=c[d];return f;},a53d(a,b);}a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0x82)];['_dialogue'];[a53i(0x89)];['scene'];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x82)]=a,this[j(0x81)]=b,this['rooms']=c;}get[a53i(0x94)](){const k=a53i;return this[k(0x82)];}[a53i(0x7f)](){const l=a53i;return this[l(0x81)][Math[l(0x8e)](Math[l(0x87)]()*this[l(0x81)][l(0x95)])];}[a53i(0x91)](a){const m=a53i,b=a[Math[m(0x8e)](Math['random']()*a[m(0x95)])];this[m(0x96)](b['name']);}[a53i(0x96)](a){const n=a53i,b={'actor':this,'rooms':this[n(0x89)],'scene':this['scene']},c=new GoCommand(b);c[n(0x90)]([a]);}}function a53c(){const o=['_dialogue','_name','2639226sbnWip','(((.+)+)+)+$','762042yCQhXX','3125rNsqlf','random','609859xjZVEf','rooms','65904YnKjBp','13767363qCSKOO','2565576LxSsKz','apply','floor','search','execute','autonomousMove','toString','4908NURREx','name','length','moveTo','constructor','speak','574ZzCZBu'];a53c=function(){return o;};return a53c();}
1
+ const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x193))/0x1*(parseInt(f(0x17f))/0x2)+parseInt(f(0x181))/0x3*(-parseInt(f(0x18f))/0x4)+parseInt(f(0x180))/0x5*(-parseInt(f(0x186))/0x6)+-parseInt(f(0x18b))/0x7*(parseInt(f(0x190))/0x8)+parseInt(f(0x182))/0x9+-parseInt(f(0x18d))/0xa+parseInt(f(0x194))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x63125));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x17f;let f=c[d];return f;},a53d(a,b);}const a53b=(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;};}()),a53a=a53b(this,function(){const g=a53d;return a53a[g(0x18e)]()[g(0x196)]('(((.+)+)+)+$')[g(0x18e)]()[g(0x187)](a53a)[g(0x196)](g(0x197));});a53a();import{Player}from'./player.js';function a53c(){const l=['2422206iufUVL','name','rooms','speak','3682986dmtZvY','constructor','moveTo','_dialogue','length','7eOTyfX','_name','7714310FufuiM','toString','4kyrEfI','4293296euctCt','scene','floor','463303atdJMO','17628149pnoXnO','random','search','(((.+)+)+)+$','2hSEHmU','5iEkhHZ','21825ruJiAx'];a53c=function(){return l;};return a53c();}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53h(0x18c)];['_dialogue'];[a53h(0x184)];[a53h(0x191)];constructor(a,b,c,d){const i=a53h;super(d),this[i(0x18c)]=a,this['_dialogue']=b,this[i(0x184)]=c;}get['name'](){return this['_name'];}[a53h(0x185)](){const j=a53h;return this[j(0x189)][Math[j(0x192)](Math[j(0x195)]()*this[j(0x189)][j(0x18a)])];}['autonomousMove'](a){const k=a53h,b=a[Math[k(0x192)](Math[k(0x195)]()*a[k(0x18a)])];this[k(0x188)](b[k(0x183)]);}[a53h(0x188)](a){const b={'actor':this,'rooms':this['rooms'],'scene':this['scene']},c=new GoCommand(b);c['execute']([a]);}}
@@ -1 +1 @@
1
- const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0x196))/0x1*(parseInt(f(0x1ce))/0x2)+-parseInt(f(0x187))/0x3+parseInt(f(0x17f))/0x4*(parseInt(f(0x193))/0x5)+parseInt(f(0x1bc))/0x6*(parseInt(f(0x1c7))/0x7)+-parseInt(f(0x19b))/0x8*(-parseInt(f(0x1ae))/0x9)+parseInt(f(0x1d8))/0xa+-parseInt(f(0x17b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xaf588));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x1ad)]()[h(0x19f)](h(0x192))[h(0x1ad)]()[h(0x1a3)](a54a)[h(0x19f)](h(0x192));});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x17b;let f=c[d];return f;},a54d(a,b);}import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';function a54c(){const C=['inventory','leftHand','removeItem','208kGOKRI','You\x20unequipped\x20','LegArmor','log','search','unequipBySlot','Added\x20','Nexus','constructor','currentWeight','_inventory','Gloves','currentLocation','addItem','apply','values','bind','weight','toString','473733AVBFhe','legs','boots','torso','hat','toLowerCase','Boots','\x20says:\x20\x22','category','write','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','\x20is\x20now\x20listening\x20in\x20room\x20','Max\x20carrying\x20weight\x20must\x20be\x20positive.','Invalid\x20category\x20or\x20slot:\x20','12162faJksY','removeInventory','\x20from\x20player\x27s\x20inventory.','gloves','_equipment','Helmet','You\x20don\x27t\x20have\x20','name','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','ArmArmor','startLocation','4949wEpSoA','\x20in\x20your\x20inventory.','speak','includes','arms','addInventory','equipment','15138wFSejr','BodyArmor','enterRoom','A\x20featureless\x20room','You\x20can\x27t\x20equip\x20','hasItem','You\x20equipped\x20','Shield','getWeight','_maxCarryingWeight','10673350Ridaox','maxCarryingWeight','equip','10899746OvziNS','armarmor','logger','determineEquipmentSlot','16rHqJaW','head','error','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','hear','getInstance','_currentLocation','3436359sIbSWg','unequip','body\x20armor','shield','Hat','initialEquipment','rightHand','leaveRoom','\x20is\x20no\x20longer\x20listeng\x20in\x20','Weapon','feet','(((.+)+)+)+$','349835BJxsFI','playerName','inventoryItems','171OwxitN','arm\x20armor'];a54c=function(){return C;};return a54c();}export class Player extends AbstractPlayer{['_playerName'];[a54i(0x186)];[a54i(0x1a5)];[a54i(0x1c0)];[a54i(0x1d7)]=0x32;['logger'];constructor(a){const j=a54i;super(),this['_playerName']=a[j(0x194)],this[j(0x186)]=a[j(0x1c6)]||new Room({'name':j(0x1a2),'description':j(0x1d1)}),this['_inventory']=new Inventory(),this[j(0x17d)]=Logger[j(0x185)]();if(a?.[j(0x195)])for(const b of a['inventoryItems']){this[j(0x1a5)][j(0x1a8)](b);}this['_equipment']=a?.[j(0x18c)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x1c3)](){return this['_playerName'];}get[a54i(0x1a7)](){const k=a54i;return this[k(0x186)];}set[a54i(0x1a7)](a){const l=a54i;this['_currentLocation']!==a&&(this['leaveRoom'](),this[l(0x1d0)](a)),this['_currentLocation']=a;}get[a54i(0x198)](){const m=a54i;return this[m(0x1a5)];}get[a54i(0x1cd)](){const n=a54i;return this[n(0x1c0)];}set[a54i(0x1cd)](a){const o=a54i;this[o(0x1c0)]=a;}get['maxCarryingWeight'](){const p=a54i;return this[p(0x1d7)];}set[a54i(0x1d9)](a){const q=a54i;a>0x0?this['_maxCarryingWeight']=a:console[q(0x181)](q(0x1ba));}get[a54i(0x1a4)](){const r=a54i;let a=this['_inventory'][r(0x1d6)]();for(const b in this[r(0x1c0)]){const c=this[r(0x1c0)][b];c&&(a+=c['weight']);}return a;}[a54i(0x1cc)](a){const s=a54i;if(this[s(0x1a4)]+a[s(0x1ac)]>this[s(0x1d9)]){this[s(0x17d)]['write']('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(s(0x1c4));}this[s(0x1a5)][s(0x1a8)](a),this['logger'][s(0x1b7)](s(0x1a1)+a[s(0x1c3)]+'\x20to\x20player\x27s\x20inventory.');}[a54i(0x1bd)](a){const t=a54i;if(this['_inventory'][t(0x19a)](a[t(0x1c3)]))return this[t(0x17d)]['write']('Removed\x20'+a[t(0x1c3)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[t(0x17d)]['write']('Failed\x20to\x20remove\x20'+a['name']+t(0x1be)),![];}[a54i(0x1da)](a){const u=a54i;if(!this[u(0x1a5)][u(0x1d3)](a[u(0x1c3)]))return u(0x1c2)+a[u(0x1c3)]+u(0x1c8);if(!this['canEquip'](a))return u(0x1d2)+a[u(0x1c3)]+'.';const b=this['determineEquipmentSlot'](a[u(0x1b6)]);if(!b)return a[u(0x1c3)]+u(0x183);if(this['equipment'][b])return u(0x182)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this['equipment'][b]=a,this['removeInventory'](a),u(0x1d4)+a[u(0x1c3)]+'.';}[a54i(0x188)](a){const v=a54i;let b=a;if(!this[v(0x1cd)][camelCase(b)]){b=this[v(0x17e)](a);if(!b)return v(0x1bb)+a+'.';}return this[v(0x1a0)](b);}['determineEquipmentSlot'](a){const w=a54i;switch(a['toLowerCase']()){case Category[w(0x190)]['toLowerCase']():return w(0x18d);case Category[w(0x1d5)]['toLowerCase']():return w(0x199);case Category[w(0x1a6)][w(0x1b3)]():return w(0x1bf);case Category[w(0x1c1)][w(0x1b3)]():case Category[w(0x18b)][w(0x1b3)]():return w(0x180);case Category[w(0x1b4)]['toLowerCase']():return w(0x191);case Category[w(0x19d)][w(0x1b3)]():return w(0x1af);case Category[w(0x1c5)][w(0x1b3)]():return'arms';case Category[w(0x1cf)]['toLowerCase']():return w(0x1b1);case'weapon':return'rightHand';case w(0x18a):return'leftHand';case w(0x1bf):return w(0x1bf);case'helmet':case w(0x1b2):return'head';case w(0x1b0):return w(0x191);case'leg\x20armor':case'legarmor':return w(0x1af);case w(0x197):case w(0x17c):return w(0x1cb);case w(0x189):case'bodyarmor':case w(0x1b1):return'torso';default:return null;}}['canEquip'](a){const x=a54i;return Object[x(0x1aa)](Category)[x(0x1ca)](a[x(0x1b6)]);}[a54i(0x1a0)](a){const y=a54i,b=this['equipment'][a];if(!b)return y(0x1b8)+a+'\x20slot.';return this[y(0x1cc)](b),this[y(0x1cd)][a]=null,y(0x19c)+b['name']+'.';}['hear'](a,b){const z=a54i;a!==this&&this[z(0x17d)][z(0x19e)](a['name']+z(0x1b5)+b+'\x22');}[a54i(0x1d0)](a){const A=a54i;this[A(0x186)]=a,a['on'](A(0x1c9),this[A(0x184)][A(0x1ab)](this)),this[A(0x17d)][A(0x1b7)](this[A(0x1c3)]+A(0x1b9)+a[A(0x1c3)]);}[a54i(0x18e)](){const B=a54i;this[B(0x186)]&&(this[B(0x186)]['off'](B(0x1c9),this[B(0x184)]['bind'](this)),this['logger']['write'](this[B(0x1c3)]+B(0x18f)+this['_currentLocation'][B(0x1c3)]));}}
1
+ const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0xeb))/0x1+parseInt(f(0xcb))/0x2*(parseInt(f(0xce))/0x3)+-parseInt(f(0xe0))/0x4+parseInt(f(0xdc))/0x5*(-parseInt(f(0xf1))/0x6)+-parseInt(f(0xd8))/0x7*(parseInt(f(0xca))/0x8)+-parseInt(f(0xcf))/0x9+parseInt(f(0xbf))/0xa*(parseInt(f(0xef))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xb6922));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a['toString']()['search'](h(0xf3))[h(0xc3)]()[h(0xd4)](a54a)['search']('(((.+)+)+)+$');});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a54c(){const D=['\x20to\x20player\x27s\x20inventory.','helmet','_playerName','hat','maxCarryingWeight','logger','values','30xifAse','error','You\x20unequipped\x20','hear','toString','arm\x20armor','bind','addItem','category','removeInventory','Gloves','85040AaQbDz','2XbKWWy','head','initialEquipment','3102042osrHjw','12915378vXjFkG','bodyarmor','getInstance','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','name','constructor','rightHand','torso','leftHand','931xMFsaZ','inventoryItems','gloves','log','879520xUSNHj','\x20slot.','A\x20featureless\x20room','removeItem','947168IrSrPY','\x20is\x20now\x20listening\x20in\x20room\x20','hasItem','You\x20equipped\x20','canEquip','enterRoom','armarmor','equipment','Helmet','Nexus','off','861959BHYwsf','weight','currentLocation','equip','14715019GzVowI','arms','12CzelWx','legarmor','(((.+)+)+)+$','body\x20armor','\x20says:\x20\x22','apply','legs','Failed\x20to\x20remove\x20','boots','\x20in\x20your\x20inventory.','_currentLocation','inventory','unequipBySlot','getWeight','You\x20can\x27t\x20equip\x20','startLocation','Added\x20','toLowerCase','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','weapon','leaveRoom','Max\x20carrying\x20weight\x20must\x20be\x20positive.','_inventory','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','write','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','Boots','_equipment','_maxCarryingWeight','\x20from\x20player\x27s\x20inventory.','determineEquipmentSlot','feet'];a54c=function(){return D;};return a54c();}function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xbc;let f=c[d];return f;},a54d(a,b);}import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0x113)];[a54i(0xfb)];[a54i(0x107)];['_equipment'];[a54i(0x10d)]=0x32;['logger'];constructor(a){const j=a54i;super(),this[j(0x113)]=a['playerName'],this['_currentLocation']=a[j(0x100)]||new Room({'name':j(0xe9),'description':j(0xde)}),this[j(0x107)]=new Inventory(),this[j(0xbd)]=Logger[j(0xd1)]();if(a?.[j(0xd9)])for(const b of a[j(0xd9)]){this[j(0x107)][j(0xc6)](b);}this['_equipment']=a?.[j(0xcd)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0xd3)](){const k=a54i;return this[k(0x113)];}get['currentLocation'](){const l=a54i;return this[l(0xfb)];}set[a54i(0xed)](a){const m=a54i;this['_currentLocation']!==a&&(this['leaveRoom'](),this[m(0xe5)](a)),this['_currentLocation']=a;}get[a54i(0xfc)](){const n=a54i;return this[n(0x107)];}get[a54i(0xe7)](){const o=a54i;return this[o(0x10c)];}set[a54i(0xe7)](a){const p=a54i;this[p(0x10c)]=a;}get[a54i(0xbc)](){const q=a54i;return this[q(0x10d)];}set[a54i(0xbc)](a){const r=a54i;a>0x0?this[r(0x10d)]=a:console[r(0xc0)](r(0x106));}get['currentWeight'](){const s=a54i;let a=this[s(0x107)][s(0xfe)]();for(const b in this[s(0x10c)]){const c=this[s(0x10c)][b];c&&(a+=c[s(0xec)]);}return a;}['addInventory'](a){const t=a54i;if(this['currentWeight']+a[t(0xec)]>this[t(0xbc)]){this['logger'][t(0x109)](t(0x10a));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[t(0x107)]['addItem'](a),this['logger'][t(0x109)](t(0x101)+a['name']+t(0x111));}[a54i(0xc8)](a){const u=a54i;if(this[u(0x107)][u(0xdf)](a[u(0xd3)]))return this['logger'][u(0x109)]('Removed\x20'+a[u(0xd3)]+u(0x10e)),!![];return this[u(0xbd)][u(0x109)](u(0xf8)+a[u(0xd3)]+u(0x10e)),![];}[a54i(0xee)](a){const v=a54i;if(!this[v(0x107)][v(0xe2)](a[v(0xd3)]))return'You\x20don\x27t\x20have\x20'+a[v(0xd3)]+v(0xfa);if(!this[v(0xe4)](a))return v(0xff)+a[v(0xd3)]+'.';const b=this[v(0x10f)](a[v(0xc7)]);if(!b)return a['name']+v(0x108);if(this[v(0xe7)][b])return v(0xd2)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[v(0xe7)][b]=a,this['removeInventory'](a),v(0xe3)+a[v(0xd3)]+'.';}['unequip'](a){const w=a54i;let b=a;if(!this[w(0xe7)][camelCase(b)]){b=this[w(0x10f)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this['unequipBySlot'](b);}[a54i(0x10f)](a){const x=a54i;switch(a[x(0x102)]()){case Category['Weapon'][x(0x102)]():return x(0xd5);case Category['Shield'][x(0x102)]():return x(0xd7);case Category[x(0xc9)]['toLowerCase']():return x(0xda);case Category[x(0xe8)][x(0x102)]():case Category['Hat']['toLowerCase']():return'head';case Category[x(0x10b)][x(0x102)]():return x(0x110);case Category['LegArmor'][x(0x102)]():return'legs';case Category['ArmArmor']['toLowerCase']():return x(0xf0);case Category['BodyArmor']['toLowerCase']():return x(0xd6);case x(0x104):return x(0xd5);case'shield':return'leftHand';case x(0xda):return x(0xda);case x(0x112):case x(0x114):return x(0xcc);case x(0xf9):return'feet';case'leg\x20armor':case x(0xf2):return x(0xf7);case x(0xc4):case x(0xe6):return x(0xf0);case x(0xf4):case x(0xd0):case'torso':return'torso';default:return null;}}[a54i(0xe4)](a){const y=a54i;return Object[y(0xbe)](Category)['includes'](a[y(0xc7)]);}[a54i(0xfd)](a){const z=a54i,b=this[z(0xe7)][a];if(!b)return z(0x103)+a+z(0xdd);return this['addInventory'](b),this[z(0xe7)][a]=null,z(0xc1)+b[z(0xd3)]+'.';}[a54i(0xc2)](a,b){const A=a54i;a!==this&&this['logger'][A(0xdb)](a[A(0xd3)]+A(0xf5)+b+'\x22');}['enterRoom'](a){const B=a54i;this[B(0xfb)]=a,a['on']('speak',this['hear'][B(0xc5)](this)),this[B(0xbd)][B(0x109)](this['name']+B(0xe1)+a['name']);}[a54i(0x105)](){const C=a54i;this[C(0xfb)]&&(this[C(0xfb)][C(0xea)]('speak',this[C(0xc2)][C(0xc5)](this)),this[C(0xbd)]['write'](this['name']+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[C(0xfb)]['name']));}}
@@ -1 +1 @@
1
- function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xb3;var f=c[d];return f;},a55d(a,b);}var a55h=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0xb7))/0x1*(-parseInt(f(0xcc))/0x2)+-parseInt(f(0xc5))/0x3*(parseInt(f(0xcb))/0x4)+parseInt(f(0xce))/0x5+parseInt(f(0xc2))/0x6+-parseInt(f(0xc7))/0x7*(-parseInt(f(0xc9))/0x8)+-parseInt(f(0xbc))/0x9+parseInt(f(0xc6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xb41a9));var a55b=(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;};}()),a55a=a55b(this,function(){var g=a55d;return a55a[g(0xb8)]()['search'](g(0xb6))[g(0xb8)]()[g(0xc4)](a55a)['search'](g(0xb6));});a55a();import{Logger}from'../utilities/logger.js';function a55c(){var l=['1317knnOAq','toString','hasItem','successMessage','requiredPhrase','9305757qLWzCh','rewardItem','solved','getInstance','logger','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','8045106yLVJDP','hasRequiredItem','constructor','3YBiMFN','9601040RKDlcy','6450297SWwqbG','write','8TLgbQs','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','4148484dbIhUd','2218XJUJmF','requiredItem','5234630Iycsuk','failureMessage','Puzzle:\x20Correct\x20solution\x20provided.','riddle','(((.+)+)+)+$'];a55c=function(){return l;};return a55c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55h(0xc0)]=Logger[a55h(0xbf)]();[a55h(0xbe)]=![];['requiredItem'];[a55h(0xbb)];[a55h(0xb5)];['rewardItem'];['successMessage'];[a55h(0xb3)];constructor(a){var i=a55h;super(),this['requiredItem']=a[i(0xcd)],this['requiredPhrase']=a[i(0xbb)],this[i(0xb5)]=a[i(0xb5)],this[i(0xbd)]=a[i(0xbd)],this['successMessage']=a['successMessage']||'You\x20solved\x20the\x20puzzle!',this['failureMessage']=a[i(0xb3)]||i(0xca);}[a55h(0xc3)](a){var j=a55h;if(this[j(0xcd)])return a[j(0xb9)](this[j(0xcd)]);return![];}['matchesRequiredPhrase'](a){return this['requiredPhrase']===a;}['solve'](a,b){var k=a55h;if(this[k(0xbe)])return this[k(0xc0)][k(0xc8)](k(0xc1)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this['hasRequiredItem'](b)||this['matchesRequiredPhrase'](a)?(this[k(0xbe)]=!![],this['logger'][k(0xc8)](k(0xb4)),{'success':!![],'message':this[k(0xba)]}):(this[k(0xc0)][k(0xc8)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[k(0xb3)]});}}
1
+ var a55i=a55d;function a55c(){var n=['492218nGERhd','You\x20have\x20already\x20solved\x20this\x20puzzle.','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','requiredPhrase','matchesRequiredPhrase','constructor','successMessage','(((.+)+)+)+$','toString','search','1046744LQWkTK','logger','getInstance','Puzzle:\x20Correct\x20solution\x20provided.','hasItem','requiredItem','write','riddle','2WRPjRw','70980CFeJao','failureMessage','49xOGprj','3042760eCnGMt','apply','3345219UXBwMy','15504010fbxyFf','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','solve','3hsXCkF','solved','3952872dMkGuJ','rewardItem'];a55c=function(){return n;};return a55c();}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xc1;var f=c[d];return f;},a55d(a,b);}(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xd0))/0x1*(-parseInt(f(0xc2))/0x2)+parseInt(f(0xcc))/0x3*(-parseInt(f(0xda))/0x4)+-parseInt(f(0xc6))/0x5+parseInt(f(0xc3))/0x6*(parseInt(f(0xc5))/0x7)+-parseInt(f(0xce))/0x8+-parseInt(f(0xc8))/0x9+parseInt(f(0xc9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x5f10f));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0xc7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0xd8)]()[h(0xd9)](h(0xd7))[h(0xd8)]()[h(0xd5)](a55a)['search'](h(0xd7));});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55i(0xdb)]=Logger[a55i(0xdc)]();[a55i(0xcd)]=![];[a55i(0xdf)];[a55i(0xd3)];[a55i(0xc1)];[a55i(0xcf)];[a55i(0xd6)];[a55i(0xc4)];constructor(a){var j=a55i;super(),this[j(0xdf)]=a[j(0xdf)],this[j(0xd3)]=a[j(0xd3)],this[j(0xc1)]=a[j(0xc1)],this['rewardItem']=a['rewardItem'],this['successMessage']=a[j(0xd6)]||'You\x20solved\x20the\x20puzzle!',this['failureMessage']=a[j(0xc4)]||j(0xca);}['hasRequiredItem'](a){var k=a55i;if(this[k(0xdf)])return a[k(0xde)](this['requiredItem']);return![];}[a55i(0xd4)](a){var l=a55i;return this[l(0xd3)]===a;}[a55i(0xcb)](a,b){var m=a55i;if(this[m(0xcd)])return this[m(0xdb)]['write']('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':m(0xd1)};return this['hasRequiredItem'](b)||this['matchesRequiredPhrase'](a)?(this[m(0xcd)]=!![],this[m(0xdb)][m(0xe0)](m(0xdd)),{'success':!![],'message':this[m(0xd6)]}):(this[m(0xdb)]['write'](m(0xd2)),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0x167))/0x1*(-parseInt(f(0x182))/0x2)+parseInt(f(0x16f))/0x3+-parseInt(f(0x14e))/0x4+-parseInt(f(0x177))/0x5*(parseInt(f(0x15c))/0x6)+parseInt(f(0x156))/0x7+parseInt(f(0x17f))/0x8*(parseInt(f(0x172))/0x9)+parseInt(f(0x14b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x39f79));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x15a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x188)]()[h(0x14f)](h(0x153))[h(0x188)]()[h(0x161)](a56a)[h(0x14f)]('(((.+)+)+)+$');});a56a();function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x14a;let f=c[d];return f;},a56d(a,b);}import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a56c(){const u=['There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','Fetching\x20exit\x20in\x20direction:\x20','values','toString','EAST','setPuzzle','5059940TmSjyI','.\x20Success:\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','1198800RqHbez','search','removeItem','roomType','SOUTH','(((.+)+)+)+$','attemptUnlockExit','checkIfLocked','1624049CFbYcE','write','get','Room\x20created:\x20','apply','hasItem','153924RXQeuH','DOWN','down','emit','NORTH','constructor','description','roomB','roomA','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','name','1OfScdB','inventory','getInstance','west','north','No\x20locked\x20exit\x20found\x20in\x20direction\x20','findExistingDoor','isExitLocked','631614wYdJEm','\x20is\x20locked.\x20Result:\x20','south','9KHwIBf','set','isStartRoom','WEST','Item\x20removed\x20from\x20room\x20','20ircHTQ','puzzle','The\x20','logger','Invalid\x20direction:\x20','addItem','Checking\x20if\x20exit\x20in\x20direction\x20','\x20remains\x20locked.','1118712bohoQk','exits','attemptUnlock','897258ZNKbwl','east','\x20unlocked!'];a56c=function(){return u;};return a56c();}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x17a)]=Logger[a56i(0x169)]();[a56i(0x166)];[a56i(0x162)];[a56i(0x180)]=new Map();['roomType'];['isStartRoom'];[a56i(0x168)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x166)]=a[j(0x166)],this[j(0x162)]=a[j(0x162)],this[j(0x151)]=a['roomType']||RoomType['INSIDE'],a['exits']&&(this[j(0x180)]=a['exits']||new Map()),a[j(0x168)]&&(this[j(0x168)]=a[j(0x168)]),a[j(0x178)]&&(this[j(0x178)]=a['puzzle']),this['isStartRoom']=a[j(0x174)]||![],this[j(0x17a)][j(0x157)](j(0x159)+this[j(0x166)]);}['say'](a,b){const k=a56i;this[k(0x15f)]('speak',a,b);}['addExit'](a,b,c){const l=a56i;let d=this[l(0x16d)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits']['set'](a,d),b['exits'][l(0x173)](this['getOppositeDirection'](a),d);}[a56i(0x154)](a,b){const m=a56i,c=this[m(0x180)][m(0x158)](a);if(c instanceof Door){const d=c[m(0x181)](b);return this[m(0x17a)][m(0x157)](m(0x14d)+a+m(0x14c)+d),d?m(0x179)+c[m(0x166)]+m(0x184):m(0x179)+c[m(0x166)]+m(0x17e);}return this[m(0x17a)][m(0x157)](m(0x16c)+a),m(0x185);}['getExit'](a){const n=a56i;return this[n(0x17a)][n(0x157)](n(0x186)+a),this[n(0x180)][n(0x158)](a);}[a56i(0x16e)](a){const o=a56i,b=this['exits'][o(0x158)](a),c=b instanceof Door&&b[o(0x155)]();return this[o(0x17a)]['write'](o(0x17d)+a+o(0x170)+c),c;}[a56i(0x17c)](a){const p=a56i;this[p(0x168)][p(0x17c)](a),this['logger'][p(0x157)]('Item\x20added\x20to\x20room\x20'+this[p(0x166)]+':\x20'+a[p(0x166)]);}[a56i(0x150)](a){const q=a56i;this[q(0x168)][q(0x15b)](a['name'])?(this[q(0x168)][q(0x150)](a[q(0x166)]),this[q(0x17a)]['write'](q(0x176)+this[q(0x166)]+':\x20'+a[q(0x166)])):this['logger'][q(0x157)](q(0x165)+this[q(0x166)]+':\x20'+a['name']);}[a56i(0x14a)](a){const r=a56i;this[r(0x178)]=a,this['logger'][r(0x157)]('Puzzle\x20set\x20for\x20room\x20'+this[r(0x166)]+':\x20'+a['riddle']);}['getOppositeDirection'](a){const s=a56i;switch(a){case s(0x16b):return Direction[s(0x152)];case s(0x171):return Direction[s(0x160)];case s(0x183):return Direction[s(0x175)];case s(0x16a):return Direction[s(0x189)];case'up':return Direction[s(0x15d)];case s(0x15e):return Direction['UP'];default:throw new Error(s(0x17b)+a);}}[a56i(0x16d)](a){const t=a56i;for(const b of this[t(0x180)][t(0x187)]()){if(b instanceof Door){if(b[t(0x164)]===this&&b[t(0x163)]===a||b[t(0x163)]===this&&b['roomA']===a)return b;}}return undefined;}}
1
+ const a56h=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0x156))/0x1*(parseInt(f(0x11f))/0x2)+parseInt(f(0x14c))/0x3+-parseInt(f(0x152))/0x4+-parseInt(f(0x123))/0x5*(parseInt(f(0x12d))/0x6)+-parseInt(f(0x130))/0x7+parseInt(f(0x147))/0x8+-parseInt(f(0x118))/0x9*(parseInt(f(0x139))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x424ad));const a56b=(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;};}()),a56a=a56b(this,function(){const g=a56d;return a56a[g(0x150)]()[g(0x13c)]('(((.+)+)+)+$')[g(0x150)]()[g(0x11a)](a56a)[g(0x13c)](g(0x142));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a56c(){const t=['getExit','882504TreTsG','exits','inventory','description','checkIfLocked','1151751mUaGTz','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','east','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','toString','values','58384AeDSPO','set','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','south','79528PeTDAV','roomB','34497EtjbVF','north','constructor','No\x20locked\x20exit\x20found\x20in\x20direction\x20','Item\x20added\x20to\x20room\x20','isStartRoom','Puzzle\x20set\x20for\x20room\x20','2NslKEf','attemptUnlockExit','roomA','removeItem','15NGdvzj','The\x20','name','write','down','findExistingDoor','west','getInstance','setPuzzle','attemptUnlock','58452rLaMiD','EAST','speak','1325863fEljvz','WEST','Room\x20created:\x20','puzzle','SOUTH','INSIDE','NORTH','\x20is\x20locked.\x20Result:\x20','Checking\x20if\x20exit\x20in\x20direction\x20','180KirKfw','DOWN','riddle','search','roomType','logger','get','getOppositeDirection','hasItem','(((.+)+)+)+$','say','Invalid\x20direction:\x20','addExit'];a56c=function(){return t;};return a56c();}import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x117;let f=c[d];return f;},a56d(a,b);}export class Room extends AbstractRoom{[a56h(0x13e)]=Logger[a56h(0x12a)]();[a56h(0x125)];[a56h(0x14a)];[a56h(0x148)]=new Map();[a56h(0x13d)];[a56h(0x11d)];[a56h(0x149)]=new Inventory();constructor(a){const i=a56h;super(),this['name']=a[i(0x125)],this[i(0x14a)]=a['description'],this[i(0x13d)]=a['roomType']||RoomType[i(0x135)],a[i(0x148)]&&(this[i(0x148)]=a[i(0x148)]||new Map()),a[i(0x149)]&&(this[i(0x149)]=a[i(0x149)]),a['puzzle']&&(this[i(0x133)]=a[i(0x133)]),this['isStartRoom']=a[i(0x11d)]||![],this[i(0x13e)]['write'](i(0x132)+this['name']);}[a56h(0x143)](a,b){const j=a56h;this['emit'](j(0x12f),a,b);}[a56h(0x145)](a,b,c){const k=a56h;let d=this[k(0x128)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][k(0x153)](a,d),b[k(0x148)][k(0x153)](this[k(0x140)](a),d);}[a56h(0x120)](a,b){const l=a56h,c=this[l(0x148)][l(0x13f)](a);if(c instanceof Door){const d=c[l(0x12c)](b);return this['logger'][l(0x126)](l(0x14d)+a+'.\x20Success:\x20'+d),d?l(0x124)+c['name']+'\x20unlocked!':l(0x124)+c[l(0x125)]+'\x20remains\x20locked.';}return this[l(0x13e)][l(0x126)](l(0x11b)+a),l(0x14f);}[a56h(0x146)](a){const m=a56h;return this[m(0x13e)][m(0x126)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this['exits']['get'](a);}['isExitLocked'](a){const n=a56h,b=this[n(0x148)][n(0x13f)](a),c=b instanceof Door&&b[n(0x14b)]();return this[n(0x13e)][n(0x126)](n(0x138)+a+n(0x137)+c),c;}['addItem'](a){const o=a56h;this[o(0x149)]['addItem'](a),this[o(0x13e)][o(0x126)](o(0x11c)+this[o(0x125)]+':\x20'+a[o(0x125)]);}[a56h(0x122)](a){const p=a56h;this[p(0x149)][p(0x141)](a['name'])?(this[p(0x149)][p(0x122)](a[p(0x125)]),this['logger'][p(0x126)]('Item\x20removed\x20from\x20room\x20'+this[p(0x125)]+':\x20'+a[p(0x125)])):this[p(0x13e)][p(0x126)](p(0x154)+this[p(0x125)]+':\x20'+a['name']);}[a56h(0x12b)](a){const q=a56h;this['puzzle']=a,this[q(0x13e)][q(0x126)](q(0x11e)+this[q(0x125)]+':\x20'+a[q(0x13b)]);}[a56h(0x140)](a){const r=a56h;switch(a){case r(0x119):return Direction[r(0x134)];case r(0x155):return Direction[r(0x136)];case r(0x14e):return Direction[r(0x131)];case r(0x129):return Direction[r(0x12e)];case'up':return Direction[r(0x13a)];case r(0x127):return Direction['UP'];default:throw new Error(r(0x144)+a);}}[a56h(0x128)](a){const s=a56h;for(const b of this[s(0x148)][s(0x151)]()){if(b instanceof Door){if(b['roomA']===this&&b['roomB']===a||b[s(0x117)]===this&&b[s(0x121)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a57k=a57d;function a57c(){const B=['createExitsFromConfig','Failed\x20to\x20add\x20item\x20','generateRoomsFromConfig','createRoom','targetRoom','isStartRoom','rooms','addPuzzleToRoom','Room\x20\x22','exits','9185IQBqFp','currentLocation','getActor','26570rrSzdw','join','\x27s\x20location.\x20Room\x20','453096uMivxo','logger','removeActor','roomFactory','setPuzzle','determineStartRoom','constructor','1552RIepIC','toString','\x22\x20does\x20not\x20exist.','allActors','addItem','3012VIQtTS','keyRequired','get','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','getPlayer','name','addRoom','Added\x20item\x20','18967avwYjn','warn','10WxkxJO','write','Actor\x20with\x20name\x20','3001784bQsxbi','\x20not\x20found\x20in\x20scene.','search','actors','7qRIkwu','Failed\x20to\x20add\x20puzzle.\x20Room\x20','keys','direction','from','114gbuknN','26FYNxHG','994DvxjIc','characterLocations','roomConfiguration','.\x20Room\x20','length','has','removeRoom','player','255WJIgVD','addExit','Removed\x20room\x20from\x20scene:\x20','values','getRooms','\x20already\x20exists\x20in\x20the\x20scene.','(((.+)+)+)+$','\x20found\x20in\x20the\x20scene.','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','addActor','4784KBIbYz','set','Failed\x20to\x20set\x20','connectRooms','setCharacterLocation','initialize','getInstance','addItemToRoom'];a57c=function(){return B;};return a57c();}(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x1d7))/0x1*(parseInt(i(0x1a5))/0x2)+parseInt(i(0x1ae))/0x3*(parseInt(i(0x1b8))/0x4)+-parseInt(i(0x1cd))/0x5*(-parseInt(i(0x1a4))/0x6)+parseInt(i(0x1ed))/0x7*(-parseInt(i(0x1e9))/0x8)+-parseInt(i(0x1d0))/0x9*(-parseInt(i(0x1e6))/0xa)+-parseInt(i(0x1ca))/0xb*(-parseInt(i(0x1dc))/0xc)+parseInt(i(0x1e4))/0xd*(parseInt(i(0x1a6))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x33899));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(0x1d8)]()['search']('(((.+)+)+)+$')[j(0x1d8)]()[j(0x1d6)](a57a)[j(0x1eb)](j(0x1b4));});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a57d(a,b);}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];[a57k(0x1ad)];[a57k(0x1d1)];[a57k(0x1ec)];[a57k(0x1a7)]=new Map();['roomFactory'];constructor(a){const l=a57k;super(),this[l(0x1d3)]=new RoomFactory(),this[l(0x1ad)]=a['player'],this['rooms']=this[l(0x1c2)](a[l(0x1a8)]),this[l(0x1d1)]=Logger[l(0x1be)](),this[l(0x1ec)]=new Map(),this[l(0x1c0)](a[l(0x1a8)]),this['logger'][l(0x1e7)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[l(0x1ef)](this[l(0x1c6)])[l(0x1ce)](',\x20'));}[a57k(0x1bd)](){const m=a57k;this['player'][m(0x1cb)]=this[m(0x1d5)]();}[a57k(0x1c2)](a){const n=a57k;if(!this[n(0x1d3)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[n(0x1d3)][n(0x1c3)](c);b[c[n(0x1e1)]]=d;}return b;}[a57k(0x1c0)](a){const o=a57k;for(const b of a){const c=this[o(0x1c6)][b[o(0x1e1)]];if(b[o(0x1c9)])for(const d of b['exits']){const e=d[o(0x1a2)]['toUpperCase'](),f=d[o(0x1c4)],g=d[o(0x1dd)],h=this[o(0x1c6)][f];h&&c[o(0x1af)](Direction[e],h,g);}}}[a57k(0x1b7)](a){const p=a57k;if(this[p(0x1ec)][p(0x1ab)](a[p(0x1e1)]))throw new Error(p(0x1e8)+a[p(0x1e1)]+p(0x1b3));this[p(0x1ec)][p(0x1b9)](a[p(0x1e1)],a);}[a57k(0x1d2)](a){const q=a57k;if(!this[q(0x1ec)][q(0x1ab)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+q(0x1b5));this['actors']['delete'](a);}[a57k(0x1cc)](a){const r=a57k;return this[r(0x1ec)]['get'](a);}get[a57k(0x1da)](){const s=a57k;return Array[s(0x1a3)](this[s(0x1ec)][s(0x1b1)]());}[a57k(0x1e2)](a){const t=a57k;this['rooms'][a['name']]=a,this[t(0x1d1)][t(0x1e7)]('Added\x20room\x20to\x20scene:\x20'+a[t(0x1e1)]);}[a57k(0x1ac)](a){const u=a57k;return this[u(0x1c6)][a]?(delete this[u(0x1c6)][a],this[u(0x1d1)][u(0x1e7)](u(0x1b0)+a),!![]):(this[u(0x1d1)][u(0x1e7)]('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}[a57k(0x1bf)](a,b){const v=a57k,c=this[v(0x1c6)][b];c?(c[v(0x1db)](a),this[v(0x1d1)][v(0x1e7)](v(0x1e3)+a['name']+'\x20to\x20room\x20'+c[v(0x1e1)])):this[v(0x1d1)]['write'](v(0x1c1)+a['name']+v(0x1a9)+b+v(0x1ea));}[a57k(0x1c7)](a,b){const w=a57k,c=this[w(0x1c6)][b];c?(c[w(0x1d4)](a),this[w(0x1d1)][w(0x1e7)]('Added\x20puzzle\x20to\x20room\x20'+c['name'])):this[w(0x1d1)][w(0x1e7)](w(0x1ee)+b+w(0x1ea));}[a57k(0x1bc)](a,b){const x=a57k,c=this[x(0x1c6)][b];c?(this[x(0x1a7)][x(0x1b9)](a[x(0x1e1)],c),this['logger'][x(0x1e7)](a['name']+'\x20is\x20now\x20in\x20room\x20'+c[x(0x1e1)])):this[x(0x1d1)]['write'](x(0x1ba)+a[x(0x1e1)]+x(0x1cf)+b+x(0x1ea));}['getCharacterLocation'](a){const y=a57k;return this[y(0x1a7)][y(0x1de)](a[y(0x1e1)]);}[a57k(0x1d5)](){const z=a57k,a=[];for(const c in this['rooms']){if(this['rooms']['hasOwnProperty'](c)){const d=this['rooms'][c];d[z(0x1c5)]&&a['push'](d);}}if(a[z(0x1aa)]>0x1)throw new Error(z(0x1b6));if(a[z(0x1aa)]===0x1)return a[0x0];const b=Object[z(0x1ef)](this[z(0x1c6)]);if(b[z(0x1aa)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[z(0x1e5)](z(0x1df)),this['rooms'][b[0x0]];}[a57k(0x1e0)](){return this['player'];}[a57k(0x1b2)](){return this['rooms'];}[a57k(0x1bb)](a,b,c,d){const A=a57k,e=this[A(0x1c6)][a],f=this[A(0x1c6)][c];if(!e)throw new Error(A(0x1c8)+a+A(0x1d9));if(!f)throw new Error(A(0x1c8)+c+A(0x1d9));e[A(0x1af)](b,f,d);}}
1
+ const a57k=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0xd9))/0x1*(-parseInt(i(0xe7))/0x2)+-parseInt(i(0xe3))/0x3*(parseInt(i(0xd6))/0x4)+-parseInt(i(0xa5))/0x5*(-parseInt(i(0xbc))/0x6)+parseInt(i(0xd1))/0x7*(parseInt(i(0xdf))/0x8)+parseInt(i(0xda))/0x9+parseInt(i(0xd0))/0xa*(parseInt(i(0xc9))/0xb)+parseInt(i(0xc8))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x53ea0));function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0xa4;let f=c[d];return f;},a57d(a,b);}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(0xbe)]()[j(0xc4)]('(((.+)+)+)+$')[j(0xbe)]()[j(0xdb)](a57a)[j(0xc4)](j(0xc6));});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a57c(){const C=['warn','keys','108FCCsax','addRoom','toString','\x20to\x20room\x20','values','connectRooms','from','generateRoomsFromConfig','search','roomConfiguration','(((.+)+)+)+$','addItem','10753404FJPaYP','384593tlbwgI','roomFactory','\x22\x20does\x20not\x20exist.','actors','characterLocations','\x20is\x20now\x20in\x20room\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','190JdjCHo','70iQPzvZ','set','get','setPuzzle','has','12oIEzRg','write','addActor','670043QobJnh','153387COthka','constructor','allActors','Failed\x20to\x20add\x20item\x20','createExitsFromConfig','63416JwdCaN','determineStartRoom','direction','currentLocation','673986SpRZrr','logger','push','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','2hhgSzP','rooms','addExit','\x20not\x20found\x20in\x20scene.','length','Failed\x20to\x20set\x20','\x20already\x20exists\x20in\x20the\x20scene.','initialize','keyRequired','toUpperCase','\x20found\x20in\x20the\x20scene.','8615XgjXts','.\x20Room\x20','player','getCharacterLocation','getRooms','\x27s\x20location.\x20Room\x20','addItemToRoom','getActor','createRoom','name','Added\x20puzzle\x20to\x20room\x20','Added\x20item\x20','delete','No\x20actor\x20with\x20name\x20','Removed\x20room\x20from\x20scene:\x20','addPuzzleToRoom','Room\x20\x22','join','Scene\x20initialized\x20with\x20rooms:\x20','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','exits'];a57c=function(){return C;};return a57c();}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57k(0xe8)];[a57k(0xa7)];[a57k(0xe4)];[a57k(0xcc)];[a57k(0xcd)]=new Map();[a57k(0xca)];constructor(a){const l=a57k;super(),this['roomFactory']=new RoomFactory(),this[l(0xa7)]=a[l(0xa7)],this[l(0xe8)]=this[l(0xc3)](a[l(0xc5)]),this[l(0xe4)]=Logger['getInstance'](),this['actors']=new Map(),this['createExitsFromConfig'](a['roomConfiguration']),this[l(0xe4)][l(0xd7)](l(0xb7)+Object[l(0xbb)](this[l(0xe8)])[l(0xb6)](',\x20'));}[a57k(0xee)](){const m=a57k;this[m(0xa7)][m(0xe2)]=this[m(0xe0)]();}[a57k(0xc3)](a){const n=a57k;if(!this[n(0xca)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[n(0xca)][n(0xad)](c);b[c[n(0xae)]]=d;}return b;}[a57k(0xde)](a){const o=a57k;for(const b of a){const c=this['rooms'][b[o(0xae)]];if(b[o(0xb9)])for(const d of b[o(0xb9)]){const e=d[o(0xe1)][o(0xf0)](),f=d['targetRoom'],g=d[o(0xef)],h=this['rooms'][f];h&&c[o(0xe9)](Direction[e],h,g);}}}[a57k(0xd8)](a){const p=a57k;if(this[p(0xcc)][p(0xd5)](a[p(0xae)]))throw new Error('Actor\x20with\x20name\x20'+a[p(0xae)]+p(0xed));this['actors'][p(0xd2)](a['name'],a);}['removeActor'](a){const q=a57k;if(!this[q(0xcc)]['has'](a))throw new Error(q(0xb2)+a+q(0xa4));this[q(0xcc)][q(0xb1)](a);}[a57k(0xac)](a){return this['actors']['get'](a);}get[a57k(0xdc)](){const r=a57k;return Array[r(0xc2)](this[r(0xcc)][r(0xc0)]());}[a57k(0xbd)](a){const s=a57k;this['rooms'][a['name']]=a,this[s(0xe4)]['write']('Added\x20room\x20to\x20scene:\x20'+a['name']);}['removeRoom'](a){const t=a57k;return this[t(0xe8)][a]?(delete this[t(0xe8)][a],this[t(0xe4)]['write'](t(0xb3)+a),!![]):(this[t(0xe4)]['write'](t(0xe6)+a),![]);}[a57k(0xab)](a,b){const u=a57k,c=this[u(0xe8)][b];c?(c[u(0xc7)](a),this[u(0xe4)][u(0xd7)](u(0xb0)+a[u(0xae)]+u(0xbf)+c[u(0xae)])):this[u(0xe4)]['write'](u(0xdd)+a[u(0xae)]+u(0xa6)+b+u(0xea));}[a57k(0xb4)](a,b){const v=a57k,c=this[v(0xe8)][b];c?(c[v(0xd4)](a),this[v(0xe4)][v(0xd7)](v(0xaf)+c[v(0xae)])):this[v(0xe4)][v(0xd7)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+v(0xea));}['setCharacterLocation'](a,b){const w=a57k,c=this['rooms'][b];c?(this[w(0xcd)]['set'](a[w(0xae)],c),this[w(0xe4)][w(0xd7)](a[w(0xae)]+w(0xce)+c[w(0xae)])):this[w(0xe4)]['write'](w(0xec)+a[w(0xae)]+w(0xaa)+b+w(0xea));}[a57k(0xa8)](a){const x=a57k;return this[x(0xcd)][x(0xd3)](a[x(0xae)]);}['determineStartRoom'](){const y=a57k,a=[];for(const c in this[y(0xe8)]){if(this[y(0xe8)]['hasOwnProperty'](c)){const d=this['rooms'][c];d['isStartRoom']&&a[y(0xe5)](d);}}if(a[y(0xeb)]>0x1)throw new Error(y(0xb8));if(a[y(0xeb)]===0x1)return a[0x0];const b=Object[y(0xbb)](this[y(0xe8)]);if(b[y(0xeb)]===0x0)throw new Error(y(0xcf));return console[y(0xba)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[y(0xe8)][b[0x0]];}['getPlayer'](){const z=a57k;return this[z(0xa7)];}[a57k(0xa9)](){const A=a57k;return this[A(0xe8)];}[a57k(0xc1)](a,b,c,d){const B=a57k,e=this[B(0xe8)][a],f=this['rooms'][c];if(!e)throw new Error(B(0xb5)+a+B(0xcb));if(!f)throw new Error('Room\x20\x22'+c+B(0xcb));e[B(0xe9)](b,f,d);}}