@maka/maka-cli 4.7.14 → 4.7.15

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 (149) hide show
  1. package/.vs/maka-cli-src/FileContentIndex/f530d0eb-18c4-4b49-9f77-9bef59b119f3.vsidx +0 -0
  2. package/.vs/slnx.sqlite +0 -0
  3. package/bundle/obf/package.json +1 -1
  4. package/bundle/obf/src/command.js +1 -1
  5. package/bundle/obf/src/commands/_index.js +1 -1
  6. package/bundle/obf/src/commands/ai.js +1 -1
  7. package/bundle/obf/src/commands/aws/_index.js +1 -1
  8. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  9. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/csg.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/rbi.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/build/_index.js +1 -1
  22. package/bundle/obf/src/commands/build/build.js +1 -1
  23. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/create.js +1 -1
  25. package/bundle/obf/src/commands/debug.js +1 -1
  26. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  27. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  28. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/_index.js +1 -1
  31. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/play.command.js +1 -1
  33. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/generate.js +1 -1
  71. package/bundle/obf/src/commands/get/_index.js +1 -1
  72. package/bundle/obf/src/commands/get/get.command.js +1 -1
  73. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/help.js +1 -1
  77. package/bundle/obf/src/commands/install.js +1 -1
  78. package/bundle/obf/src/commands/jsdoc.js +1 -1
  79. package/bundle/obf/src/commands/lint.js +1 -1
  80. package/bundle/obf/src/commands/login.js +1 -1
  81. package/bundle/obf/src/commands/logout.js +1 -1
  82. package/bundle/obf/src/commands/logs.js +1 -1
  83. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  84. package/bundle/obf/src/commands/murder.js +1 -1
  85. package/bundle/obf/src/commands/proxy.js +1 -1
  86. package/bundle/obf/src/commands/reconfig.js +1 -1
  87. package/bundle/obf/src/commands/run/_index.js +1 -1
  88. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  89. package/bundle/obf/src/commands/run/run.command.js +1 -1
  90. package/bundle/obf/src/commands/set/_index.js +1 -1
  91. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/set/set.command.js +1 -1
  94. package/bundle/obf/src/commands/ssh.js +1 -1
  95. package/bundle/obf/src/commands/ssl.js +1 -1
  96. package/bundle/obf/src/commands/test.js +1 -1
  97. package/bundle/obf/src/commands/version.js +1 -1
  98. package/bundle/obf/src/error.js +1 -1
  99. package/bundle/obf/src/exec.js +1 -1
  100. package/bundle/obf/src/generator.js +1 -1
  101. package/bundle/obf/src/generators/_index.js +1 -1
  102. package/bundle/obf/src/generators/api.js +1 -1
  103. package/bundle/obf/src/generators/collection.js +1 -1
  104. package/bundle/obf/src/generators/component.js +1 -1
  105. package/bundle/obf/src/generators/config.js +1 -1
  106. package/bundle/obf/src/generators/dbc.js +1 -1
  107. package/bundle/obf/src/generators/dockerfile.js +1 -1
  108. package/bundle/obf/src/generators/hook.js +1 -1
  109. package/bundle/obf/src/generators/kits/_index.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  111. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  112. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  113. package/bundle/obf/src/generators/kits/kit.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  115. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  116. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  117. package/bundle/obf/src/generators/layout.js +1 -1
  118. package/bundle/obf/src/generators/maka.gen.js +1 -1
  119. package/bundle/obf/src/generators/methods.js +1 -1
  120. package/bundle/obf/src/generators/package.js +1 -1
  121. package/bundle/obf/src/generators/page.js +1 -1
  122. package/bundle/obf/src/generators/publish.js +1 -1
  123. package/bundle/obf/src/generators/route.js +1 -1
  124. package/bundle/obf/src/generators/service.js +1 -1
  125. package/bundle/obf/src/generators/services/_index.js +1 -1
  126. package/bundle/obf/src/generators/services/openssl.js +1 -1
  127. package/bundle/obf/src/generators/services/translation.js +1 -1
  128. package/bundle/obf/src/maka.js +1 -1
  129. package/bundle/obf/src/tool.js +1 -1
  130. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  132. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  134. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  136. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  137. package/bundle/obf/src/tools/https/https.class.js +1 -1
  138. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  139. package/bundle/obf/src/tools/log/log.class.js +1 -1
  140. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  141. package/bundle/obf/src/tools/options/options.class.js +1 -1
  142. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  144. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  146. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  148. package/package.json +1 -1
  149. package/.vs/maka-cli-src/FileContentIndex/4c0a1daa-da96-4fc9-bf6f-ad5a9148b26c.vsidx +0 -0
@@ -1 +1 @@
1
- const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x1b3))/0x1+-parseInt(f(0x1c0))/0x2*(parseInt(f(0x1b0))/0x3)+parseInt(f(0x1c5))/0x4+parseInt(f(0x1ca))/0x5+parseInt(f(0x1b8))/0x6+parseInt(f(0x1bf))/0x7+-parseInt(f(0x1c2))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xbc3b7));function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x1af;let f=c[d];return f;},a35d(a,b);}function a35c(){const k=['apply','3654152hISvET','execute','verb','search','description','3453095rqKkjs','constructor','2391777WjWsXX','write','(((.+)+)+)+$','431094YTVRAY','listItems','inventory','name','logger','4088460lqELKn','toString','\x20found\x20the\x20following\x20items:\x20','actor','SearchCommand:\x20','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','Search\x20for\x20items\x20in\x20your\x20area','7804216CPBOcO','2qwUiZT','You\x20search\x20the\x20area\x20and\x20find:\x20','11208824aJNKKZ','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.'];a35c=function(){return k;};return a35c();}const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x1b9)]()[h(0x1c8)](h(0x1b2))['toString']()[h(0x1af)](a35a)[h(0x1c8)]('(((.+)+)+)+$');});a35a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a35i(0x1c7)]=a35i(0x1c8);static [a35i(0x1c9)]=a35i(0x1be);[a35i(0x1c6)](){const j=a35i,a=this['actor']['currentLocation'][j(0x1b5)][j(0x1b4)]();if(a['length']===0x0)return this['logger'][j(0x1b1)](j(0x1bc)+this[j(0x1bb)][j(0x1b6)]+j(0x1bd)),j(0x1c3);const b=a['join'](',\x20');return this[j(0x1b7)][j(0x1b1)](j(0x1bc)+this[j(0x1bb)]['name']+j(0x1ba)+b),j(0x1c1)+b;}}
1
+ function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x75;let f=c[d];return f;},a35d(a,b);}const a35h=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x87))/0x1+parseInt(f(0x8d))/0x2+-parseInt(f(0x8e))/0x3*(parseInt(f(0x8f))/0x4)+parseInt(f(0x79))/0x5+-parseInt(f(0x86))/0x6+parseInt(f(0x75))/0x7*(-parseInt(f(0x85))/0x8)+parseInt(f(0x80))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x88bf4));const a35b=(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;};}()),a35a=a35b(this,function(){const g=a35d;return a35a[g(0x7f)]()[g(0x7d)](g(0x82))[g(0x7f)]()[g(0x76)](a35a)[g(0x7d)](g(0x82));});a35a();import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a35h(0x7d);static ['description']=a35h(0x7e);[a35h(0x8b)](){const i=a35h,a=this[i(0x81)][i(0x89)][i(0x78)]['listItems']();if(a['length']===0x0)return this[i(0x7c)][i(0x7a)](i(0x88)+this[i(0x81)][i(0x83)]+i(0x8c)),i(0x84);const b=a[i(0x8a)](',\x20');return this[i(0x7c)][i(0x7a)](i(0x88)+this['actor'][i(0x83)]+i(0x77)+b),i(0x7b)+b;}}function a35c(){const j=['toString','18302868nZiixY','actor','(((.+)+)+)+$','name','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','8392cWoSdN','789762pswUkT','1004621mybHZe','SearchCommand:\x20','currentLocation','join','execute','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','769670YmabfT','41682KYnCXK','144NtcZXq','5943iCVfmS','constructor','\x20found\x20the\x20following\x20items:\x20','inventory','3343310PAgxDy','write','You\x20search\x20the\x20area\x20and\x20find:\x20','logger','search','Search\x20for\x20items\x20in\x20your\x20area'];a35c=function(){return j;};return a35c();}
@@ -1 +1 @@
1
- const a36i=a36d;function a36c(){const k=['Attempt\x20to\x20solve\x20a\x20puzzle.','toString','180UubNuQ','inventory','toLowerCase','verb','(((.+)+)+)+$','41352AfGMYA','actor','currentLocation','solve','search','logger','success','52GAGvlf','write','7717190qPYFMD','794710GSYNZO','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','execute','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','message','addItem','SolveCommand:\x20','1341641ZGeOQJ','1429428DQvFLd','rewardItem','description','join','apply','6CuXoCi','puzzle','274516fcVUBp','10827qaQynl'];a36c=function(){return k;};return a36c();}(function(a,b){const f=a36d,c=a();while(!![]){try{const d=parseInt(f(0xe2))/0x1+parseInt(f(0xd0))/0x2*(parseInt(f(0xe3))/0x3)+-parseInt(f(0xdb))/0x4+-parseInt(f(0xd3))/0x5+-parseInt(f(0xe0))/0x6*(parseInt(f(0xda))/0x7)+-parseInt(f(0xc9))/0x8*(parseInt(f(0xe6))/0x9)+parseInt(f(0xd2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x50417));function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xc5;let f=c[d];return f;},a36d(a,b);}const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a36d;if(c){const e=c[g(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a[h(0xe5)]()[h(0xcd)]('(((.+)+)+)+$')[h(0xe5)]()['constructor'](a36a)[h(0xcd)](h(0xc8));});a36a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a36i(0xc7)]=a36i(0xcc);static [a36i(0xdd)]=a36i(0xe4);[a36i(0xd5)](a){const j=a36i,b=a[j(0xde)]('\x20')[j(0xc6)](),c=this['actor'][j(0xcb)];if(!c||!c[j(0xe1)])return this[j(0xce)][j(0xd1)](j(0xd4)),j(0xd6);const d=c[j(0xe1)][j(0xcc)](b,this[j(0xca)]['inventory']);return d[j(0xcf)]&&c['puzzle'][j(0xdc)]&&this['actor'][j(0xc5)][j(0xd8)](c['puzzle']['rewardItem']),this['logger'][j(0xd1)](j(0xd9)+d[j(0xd7)]),d['message'];}}
1
+ function a36c(){const j=['1899xdFuUi','27688JZGklW','logger','toLowerCase','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','actor','execute','11452blBCpn','toString','join','(((.+)+)+)+$','rewardItem','description','341558yEiQrn','466380olLjxz','80286YdFZLY','search','constructor','1371255xyWvOB','Attempt\x20to\x20solve\x20a\x20puzzle.','4jRvMDv','SolveCommand:\x20','write','puzzle','133QKVmeE','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','verb','19112700WIwMiG','addItem','message','143MnIdCd','459smKuhN','inventory'];a36c=function(){return j;};return a36c();}const a36h=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0x179))/0x1*(parseInt(f(0x193))/0x2)+-parseInt(f(0x184))/0x3*(-parseInt(f(0x18d))/0x4)+parseInt(f(0x177))/0x5+parseInt(f(0x195))/0x6*(parseInt(f(0x17d))/0x7)+parseInt(f(0x187))/0x8*(-parseInt(f(0x186))/0x9)+-parseInt(f(0x194))/0xa*(parseInt(f(0x183))/0xb)+parseInt(f(0x180))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x83bb5));const a36b=(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;};}()),a36a=a36b(this,function(){const g=a36d;return a36a[g(0x18e)]()[g(0x196)](g(0x190))['toString']()[g(0x197)](a36a)[g(0x196)](g(0x190));});a36a();import{Command}from'./command.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x177;let f=c[d];return f;},a36d(a,b);}export class SolveCommand extends Command{static [a36h(0x17f)]='solve';static [a36h(0x192)]=a36h(0x178);[a36h(0x18c)](a){const i=a36h,b=a[i(0x18f)]('\x20')[i(0x189)](),c=this[i(0x18b)]['currentLocation'];if(!c||!c[i(0x17c)])return this['logger'][i(0x17b)](i(0x17e)),i(0x18a);const d=c[i(0x17c)]['solve'](b,this[i(0x18b)][i(0x185)]);return d['success']&&c[i(0x17c)]['rewardItem']&&this[i(0x18b)][i(0x185)][i(0x181)](c['puzzle'][i(0x191)]),this[i(0x188)][i(0x17b)](i(0x17a)+d[i(0x182)]),d['message'];}}
@@ -1 +1 @@
1
- const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x171))/0x1+parseInt(f(0x167))/0x2+-parseInt(f(0x15b))/0x3*(-parseInt(f(0x151))/0x4)+parseInt(f(0x161))/0x5*(-parseInt(f(0x14d))/0x6)+-parseInt(f(0x152))/0x7+parseInt(f(0x168))/0x8+-parseInt(f(0x16e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xa527e));const a37b=(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;};}()),a37a=a37b(this,function(){const g=a37d;return a37a[g(0x14c)]()[g(0x16a)](g(0x164))[g(0x14c)]()[g(0x15f)](a37a)[g(0x16a)](g(0x164));});a37a();import{Command}from'./command.js';function a37c(){const k=['Pick\x20up\x20an\x20item.','join','execute','take','toString','1344732OZthdH','\x22\x20not\x20retrieved\x20from\x20','inventory','Successfully\x20added\x20\x22','4YnNhHl','973140PVhmHz','The\x20item\x20\x22','\x22\x20from\x20','\x22\x20is\x20too\x20heavy\x20to\x20carry.','toLowerCase','description','Successfully\x20removed\x20\x22','You\x20have\x20taken\x20the\x20','write','1475391rydSwm','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','addInventory','message','constructor','actor','5rXymQt','Item\x20\x22','\x22\x20not\x20found\x20in\x20','(((.+)+)+)+$','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20in\x20this\x20room.','717042DakkSp','9860112WTiqMK','There\x20is\x20no\x20item\x20\x22','search','Error\x20during\x20\x27Take\x27\x20command:\x20','getItem','currentLocation','6386508aCGGZc','name','logger','333600PksVIb','verb','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'];a37c=function(){return k;};return a37c();}function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x148;let f=c[d];return f;},a37d(a,b);}export class TakeCommand extends Command{static [a37h(0x172)]=a37h(0x14b);static [a37h(0x157)]=a37h(0x148);[a37h(0x14a)](a){const i=a37h;return this[i(0x170)]['write'](i(0x165)+a[i(0x149)]('\x20')),this[i(0x14b)](a);}[a37h(0x14b)](a){const j=a37h,b=a[j(0x149)]('\x20')[j(0x156)](),c=this[j(0x160)][j(0x16d)];if(!c[j(0x14f)]['hasItem'](b))return this['logger'][j(0x15a)]('Item\x20\x22'+b+j(0x163)+c[j(0x16f)]+'\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+j(0x166);const d=c['inventory'][j(0x16c)](b);if(!d)return this[j(0x170)][j(0x15a)](j(0x162)+b+j(0x14e)+c['name']+j(0x173)),j(0x169)+b+'\x22\x20in\x20this\x20room.';try{return this[j(0x160)][j(0x15d)](d),this[j(0x170)][j(0x15a)](j(0x150)+b+'\x22\x20to\x20'+this[j(0x160)][j(0x16f)]+j(0x15c)),c[j(0x14f)]['removeItem'](b),this[j(0x170)][j(0x15a)](j(0x158)+b+j(0x154)+c[j(0x16f)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x159)+b+'.';}catch(e){return this[j(0x170)][j(0x15a)](j(0x16b)+e[j(0x15e)]),j(0x153)+b+j(0x155);}}}
1
+ const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0xb6))/0x1*(parseInt(f(0xe2))/0x2)+-parseInt(f(0xcb))/0x3+parseInt(f(0xc8))/0x4*(-parseInt(f(0xc6))/0x5)+parseInt(f(0xbe))/0x6*(-parseInt(f(0xdd))/0x7)+parseInt(f(0xd3))/0x8+parseInt(f(0xd5))/0x9*(parseInt(f(0xc2))/0xa)+parseInt(f(0xba))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xbc8f8));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xb7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xe0)]()[h(0xd8)](h(0xb8))['toString']()[h(0xd6)](a37a)[h(0xd8)](h(0xb8));});a37a();import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xb5;let f=c[d];return f;},a37d(a,b);}export class TakeCommand extends Command{static [a37i(0xca)]=a37i(0xd9);static [a37i(0xbb)]=a37i(0xd4);[a37i(0xb9)](a){const j=a37i;return this[j(0xdb)]['write'](j(0xe3)+a[j(0xcc)]('\x20')),this['take'](a);}[a37i(0xd9)](a){const k=a37i,b=a[k(0xcc)]('\x20')['toLowerCase'](),c=this['actor'][k(0xc4)];if(!c[k(0xd0)]['hasItem'](b))return this[k(0xdb)][k(0xc0)](k(0xc1)+b+k(0xcd)+c['name']+k(0xcf)),'There\x20is\x20no\x20item\x20\x22'+b+k(0xb5);const d=c[k(0xd0)][k(0xd2)](b);if(!d)return this[k(0xdb)][k(0xc0)](k(0xc1)+b+k(0xbf)+c['name']+k(0xd1)),'There\x20is\x20no\x20item\x20\x22'+b+k(0xb5);try{return this[k(0xbd)][k(0xda)](d),this[k(0xdb)]['write'](k(0xbc)+b+k(0xdc)+this['actor']['name']+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c['inventory'][k(0xc7)](b),this[k(0xdb)][k(0xc0)](k(0xdf)+b+k(0xd7)+c[k(0xc3)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0xc5)+b+'.';}catch(e){return this['logger']['write'](k(0xde)+e[k(0xce)]),k(0xc9)+b+k(0xe1);}}}function a37c(){const l=['verb','4012431dQPvGa','join','\x22\x20not\x20found\x20in\x20','message','\x20during\x20\x27Take\x27\x20command.','inventory','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','getItem','7090696ehbVqf','Pick\x20up\x20an\x20item.','9SrFHBA','constructor','\x22\x20from\x20','search','take','addInventory','logger','\x22\x20to\x20','399hSaVRC','Error\x20during\x20\x27Take\x27\x20command:\x20','Successfully\x20removed\x20\x22','toString','\x22\x20is\x20too\x20heavy\x20to\x20carry.','527584PvZlhI','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20in\x20this\x20room.','2BdGujr','apply','(((.+)+)+)+$','execute','26223758jRMyou','description','Successfully\x20added\x20\x22','actor','123348IceUZa','\x22\x20not\x20retrieved\x20from\x20','write','Item\x20\x22','701030nBdIlW','name','currentLocation','You\x20have\x20taken\x20the\x20','117275jEwzHN','removeItem','100KTGgHi','The\x20item\x20\x22'];a37c=function(){return l;};return a37c();}
@@ -1 +1 @@
1
- const a38h=a38d;function a38c(){const j=['4805uqHOxS','actor','1134opPZWO','1367520xsXETp','3300786magtAn','4038FkrusA','1227216rflTeQ','unqeuip','toString','verb','write','search','Unequip\x20an\x20item.','logger','description','(((.+)+)+)+$','78590SWPPOx','7843LtmXNT','execute','join','toLowerCase','12204836cUerNT','UnequipCommand:\x20','unequip','20xzplif'];a38c=function(){return j;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1f5))/0x1*(parseInt(f(0x1e3))/0x2)+parseInt(f(0x1e8))/0x3+-parseInt(f(0x1e7))/0x4+parseInt(f(0x1e4))/0x5*(-parseInt(f(0x1e9))/0x6)+parseInt(f(0x1f9))/0x7+parseInt(f(0x1ea))/0x8+-parseInt(f(0x1e6))/0x9*(parseInt(f(0x1f4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xe578b));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0x1ec)]()[g(0x1ef)](g(0x1f3))[g(0x1ec)]()['constructor'](a38a)[g(0x1ef)](g(0x1f3));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a38d(a,b);}a38a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a38h(0x1ed)]=a38h(0x1eb);static [a38h(0x1f2)]=a38h(0x1f0);[a38h(0x1f6)](a){const i=a38h,b=a[i(0x1f7)]('\x20')[i(0x1f8)](),c=this[i(0x1e5)][i(0x1e2)](b);return this[i(0x1f1)][i(0x1ee)](i(0x1fa)+this['actor']['name']+'\x20unqeuiped\x20'+c),c;}}
1
+ function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x135;let f=c[d];return f;},a38d(a,b);}const a38i=a38d;function a38c(){const k=['(((.+)+)+)+$','1551723iHcqkO','UnequipCommand:\x20','apply','119910aNRlzw','\x20unqeuiped\x20','constructor','Unequip\x20an\x20item.','484Bfwkyc','actor','logger','execute','search','431064euPEnn','14WHsAvH','558662EHunoR','write','1372KWijYz','description','toLowerCase','2aepqvd','unqeuip','1367238RyRTYf','3615kUqmTn','641032MCXQDB'];a38c=function(){return k;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x14b))/0x1+-parseInt(f(0x137))/0x2*(parseInt(f(0x13d))/0x3)+parseInt(f(0x14d))/0x4*(parseInt(f(0x13a))/0x5)+parseInt(f(0x139))/0x6*(parseInt(f(0x14a))/0x7)+parseInt(f(0x13b))/0x8+parseInt(f(0x149))/0x9+parseInt(f(0x140))/0xa*(parseInt(f(0x144))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x45345));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x148)](h(0x13c))['toString']()[h(0x142)](a38a)[h(0x148)](h(0x13c));});a38a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a38i(0x138);static [a38i(0x135)]=a38i(0x143);[a38i(0x147)](a){const j=a38i,b=a['join']('\x20')[j(0x136)](),c=this[j(0x145)]['unequip'](b);return this[j(0x146)][j(0x14c)](j(0x13e)+this[j(0x145)]['name']+j(0x141)+c),c;}}
@@ -1 +1 @@
1
- const a39k=a39d;(function(a,b){const h=a39d,c=a();while(!![]){try{const d=-parseInt(h(0x189))/0x1+parseInt(h(0x162))/0x2*(parseInt(h(0x164))/0x3)+parseInt(h(0x160))/0x4*(parseInt(h(0x16e))/0x5)+-parseInt(h(0x16c))/0x6+parseInt(h(0x17e))/0x7+parseInt(h(0x161))/0x8*(-parseInt(h(0x181))/0x9)+-parseInt(h(0x17a))/0xa*(-parseInt(h(0x166))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x2f377));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a39d;if(c){const e=c[i(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const j=a39d;return a39a[j(0x167)]()[j(0x177)](j(0x16b))[j(0x167)]()[j(0x176)](a39a)[j(0x177)](j(0x16b));});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x15f;let f=c[d];return f;},a39d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a39k(0x174)]='unlock';static ['description']=a39k(0x168);[a39k(0x172)](a){const l=a39k;return this[l(0x184)](a);}[a39k(0x184)](a){const m=a39k;if(a[m(0x185)]===0x0)return this[m(0x186)]['error']('UnlockCommand:\x20No\x20target\x20specified.'),m(0x180);const b=a[0x0][m(0x187)](),c=this[m(0x170)][m(0x163)];if(this[m(0x175)](b)&&c[m(0x169)][m(0x182)](b)){const d=c['exits'][m(0x16d)](b);if(d instanceof Door){const e=d[m(0x183)]?.[m(0x187)]();if(e&&this[m(0x170)][m(0x16a)]['hasItem'](e)){const f=this[m(0x170)][m(0x16a)][m(0x171)](e);if(f){const g=c[m(0x17d)](b,f[m(0x165)]);return this[m(0x186)][m(0x188)](m(0x179)+this[m(0x170)][m(0x165)]+m(0x17b)+b+m(0x173)+g),g;}}return this[m(0x186)]['write'](m(0x179)+this[m(0x170)][m(0x165)]+m(0x15f)+b+'.'),m(0x16f);}else return this[m(0x186)]['write']('UnlockCommand:\x20'+b+m(0x18a)+c[m(0x165)]+'.'),m(0x17f)+b+m(0x178);}else return this[m(0x186)]['write']('UnlockCommand:\x20'+b+m(0x18a)+c[m(0x165)]+'.'),m(0x17f)+b+m(0x178);}}function a39c(){const n=['logger','toLowerCase','write','56811gZZpYe','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','10348PQtfXk','8THjGhn','63230DKesTe','currentLocation','3lrhXVF','name','88khxHic','toString','Unlock\x20a\x20door.','exits','inventory','(((.+)+)+)+$','1042314OkASPH','get','130nBYXpF','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','actor','getItem','execute','.\x20Result:\x20','verb','isValidDirection','constructor','search','\x22\x20here.','UnlockCommand:\x20','167390RJprIV','\x20is\x20attempted\x20to\x20unlock\x20','apply','attemptUnlockExit','2341472kLlcIN','There\x27s\x20no\x20door\x20named\x20\x22','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','1290204zMGZqW','has','unlockItemOrSolution','unlock','length'];a39c=function(){return n;};return a39c();}
1
+ const a39j=a39d;(function(a,b){const h=a39d,c=a();while(!![]){try{const d=parseInt(h(0x136))/0x1*(-parseInt(h(0x147))/0x2)+-parseInt(h(0x143))/0x3*(-parseInt(h(0x145))/0x4)+-parseInt(h(0x14a))/0x5+parseInt(h(0x132))/0x6+parseInt(h(0x123))/0x7*(parseInt(h(0x14c))/0x8)+parseInt(h(0x142))/0x9*(parseInt(h(0x146))/0xa)+parseInt(h(0x148))/0xb*(-parseInt(h(0x141))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x80dab));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x137)]()[i(0x140)](i(0x12b))[i(0x137)]()['constructor'](a39a)[i(0x140)](i(0x12b));});a39a();import{Door}from'../models/door.js';function a39c(){const m=['\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','UnlockCommand:\x20','unlock','search','5885892okRMkg','423iJzugm','2978877csNwOk','write','4hIdzDO','119660fnkPHz','808962lEhnqt','22vfFbaS','toLowerCase','2002760YBuHnd','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','1071976KXIPVS','get','28PYPSoW','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','Unlock\x20a\x20door.','\x22\x20here.','There\x27s\x20no\x20door\x20named\x20\x22','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','\x20is\x20attempted\x20to\x20unlock\x20','name','(((.+)+)+)+$','isValidDirection','hasItem','getItem','has','.\x20Result:\x20','inventory','1334718pcDEhL','currentLocation','exits','attemptUnlockExit','1zsimrg','toString','logger','actor','UnlockCommand:\x20No\x20target\x20specified.','execute','description'];a39c=function(){return m;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x122;let f=c[d];return f;},a39d(a,b);}import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']=a39j(0x13f);static [a39j(0x13c)]=a39j(0x125);[a39j(0x13b)](a){const k=a39j;return this[k(0x13f)](a);}[a39j(0x13f)](a){const l=a39j;if(a['length']===0x0)return this['logger']['error'](l(0x13a)),l(0x128);const b=a[0x0][l(0x149)](),c=this['actor'][l(0x133)];if(this[l(0x12c)](b)&&c['exits'][l(0x12f)](b)){const d=c[l(0x134)][l(0x122)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[l(0x149)]();if(e&&this['actor']['inventory'][l(0x12d)](e)){const f=this[l(0x139)][l(0x131)][l(0x12e)](e);if(f){const g=c[l(0x135)](b,f['name']);return this[l(0x138)][l(0x144)](l(0x13e)+this[l(0x139)]['name']+l(0x129)+b+l(0x130)+g),g;}}return this['logger'][l(0x144)](l(0x13e)+this['actor'][l(0x12a)]+l(0x14b)+b+'.'),l(0x124);}else return this['logger']['write'](l(0x13e)+b+l(0x13d)+c[l(0x12a)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0x126);}else return this[l(0x138)][l(0x144)](l(0x13e)+b+l(0x13d)+c['name']+'.'),l(0x127)+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xb8;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0xc8))/0x1+parseInt(f(0xc3))/0x2*(parseInt(f(0xd4))/0x3)+parseInt(f(0xc4))/0x4+-parseInt(f(0xbc))/0x5+parseInt(f(0xdc))/0x6*(parseInt(f(0xcc))/0x7)+-parseInt(f(0xcf))/0x8+-parseInt(f(0xbb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x3e649));function a40c(){const l=['execute','62859peRPBB',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','hasItem','(((.+)+)+)+$','name','use','You\x20don\x27t\x20have\x20the\x20','UseCommand:\x20','120WJlZEf','getItem','apply','toLowerCase','409536GKWkCF','2020715wQbDom','inventory','You\x20can\x27t\x20use\x20the\x20','constructor','\x20doesn\x27t\x20have\x20a\x20use\x20method.','\x20used\x20','verb','38UmeQrP','1859988sVurtk','toString','\x20to\x20use.','\x20attempted\x20to\x20use\x20','503863dfpozO','actor','description','Use\x20an\x20item.','166929tNGvXw','write','join','1047784erCHIx','\x20in\x20this\x20way.','logger','function'];a40c=function(){return l;};return a40c();}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xc5)]()['search']('(((.+)+)+)+$')[h(0xc5)]()[h(0xbf)](a40a)['search'](h(0xd7));});a40a();import{Command}from'./command.js';export class UseCommand extends Command{static [a40i(0xc2)]='use';static [a40i(0xca)]=a40i(0xcb);[a40i(0xd3)](a){const j=a40i;return this[j(0xd9)](a);}[a40i(0xd9)](a){const k=a40i,b=a[k(0xce)]('\x20')[k(0xba)]();if(!this[k(0xc9)][k(0xbd)][k(0xd6)](b))return this[k(0xd1)][k(0xcd)](k(0xdb)+this['actor'][k(0xd8)]+k(0xc7)+b+k(0xd5)),k(0xda)+b+k(0xc6);const c=this[k(0xc9)]['inventory'][k(0xb8)](b);if(!c)return this[k(0xd1)]['write']('UseCommand:\x20'+b+'\x20not\x20retrieved\x20from\x20'+this[k(0xc9)]['name']+'\x27s\x20inventory.'),k(0xda)+b+'\x20to\x20use.';if(typeof c[k(0xd9)]===k(0xd2)){const d=c[k(0xd9)]();return this[k(0xd1)]['write']('UseCommand:\x20'+this[k(0xc9)]['name']+k(0xc1)+b+'.'),d;}else return this[k(0xd1)][k(0xcd)]('UseCommand:\x20'+b+k(0xc0)),k(0xbe)+b+k(0xd0);}}
1
+ function a40c(){const l=['inventory','507207tUCfVA','1132212NzQIng','toLowerCase','actor','\x20not\x20retrieved\x20from\x20','name','\x20to\x20use.','(((.+)+)+)+$','description','execute','2uXHRKB','\x20doesn\x27t\x20have\x20a\x20use\x20method.','use','You\x20don\x27t\x20have\x20the\x20','UseCommand:\x20','83671sjcSAT','apply','152Rdnnkl','write','908235xhzhNT','\x20attempted\x20to\x20use\x20','4548820rdcuxD','search','function','logger',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','Use\x20an\x20item.','verb','toString','9gbDzxp','105274kmTxfi','\x20in\x20this\x20way.','\x20used\x20','126616inGNkd'];a40c=function(){return l;};return a40c();}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x13a))/0x1+-parseInt(f(0x126))/0x2*(parseInt(f(0x13f))/0x3)+-parseInt(f(0x13d))/0x4+parseInt(f(0x12f))/0x5+-parseInt(f(0x140))/0x6+-parseInt(f(0x12b))/0x7*(parseInt(f(0x12d))/0x8)+parseInt(f(0x139))/0x9*(parseInt(f(0x131))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x1e957));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()[h(0x132)](h(0x123))[h(0x138)]()['constructor'](a40a)[h(0x132)](h(0x123));});a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x11e;let f=c[d];return f;},a40d(a,b);}export class UseCommand extends Command{static [a40i(0x137)]=a40i(0x128);static [a40i(0x124)]=a40i(0x136);[a40i(0x125)](a){const j=a40i;return this[j(0x128)](a);}[a40i(0x128)](a){const k=a40i,b=a['join']('\x20')[k(0x11e)]();if(!this[k(0x11f)][k(0x13e)]['hasItem'](b))return this[k(0x134)]['write'](k(0x12a)+this[k(0x11f)][k(0x121)]+k(0x130)+b+k(0x135)),k(0x129)+b+k(0x122);const c=this['actor']['inventory']['getItem'](b);if(!c)return this[k(0x134)][k(0x12e)](k(0x12a)+b+k(0x120)+this[k(0x11f)][k(0x121)]+'\x27s\x20inventory.'),k(0x129)+b+'\x20to\x20use.';if(typeof c[k(0x128)]===k(0x133)){const d=c['use']();return this[k(0x134)][k(0x12e)](k(0x12a)+this[k(0x11f)][k(0x121)]+k(0x13c)+b+'.'),d;}else return this[k(0x134)]['write'](k(0x12a)+b+k(0x127)),'You\x20can\x27t\x20use\x20the\x20'+b+k(0x13b);}}
@@ -1 +1 @@
1
- const a41i=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x12c;let f=c[d];return f;},a41d(a,b);}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x138))/0x1*(-parseInt(f(0x13d))/0x2)+parseInt(f(0x132))/0x3*(-parseInt(f(0x139))/0x4)+parseInt(f(0x136))/0x5+-parseInt(f(0x12f))/0x6*(-parseInt(f(0x131))/0x7)+-parseInt(f(0x135))/0x8+-parseInt(f(0x12d))/0x9+parseInt(f(0x12e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xec008));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a['toString']()[h(0x13a)]('(((.+)+)+)+$')[h(0x137)]()[h(0x13c)](a41a)[h(0x13a)](h(0x13b));});a41a();function a41c(){const m=['apply','6334016nrgNMT','2601785utYIty','toString','1775DyivKb','4dpZjyP','search','(((.+)+)+)+$','constructor','1030gGcDRm','commandMap','9060426OjgKKA','42624440DpKsqK','477762fDUMmz','registerCommand','7uBbdmu','3549519krRCah','createCommand'];a41c=function(){return m;};return a41c();}export class CommandFactory{static [a41i(0x12c)]={};static[a41i(0x130)](a,b){const j=a41i;this[j(0x12c)][a]=b;}static[a41i(0x133)](a,b){const k=a41i,c=this[k(0x12c)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const l=a41i;return this[l(0x12c)];}}
1
+ function a41c(){const k=['358260BhrAOa','128784ovgeHX','search','constructor','toString','(((.+)+)+)+$','6hYLkNZ','commandMap','getAllRegisteredCommands','696420ibYOxw','73729rkEdTY','registerCommand','597786yrIjTV','548513DxoBUc','309864ijVjHO','apply'];a41c=function(){return k;};return a41c();}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1db;let f=c[d];return f;},a41d(a,b);}const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x1de))/0x1+parseInt(f(0x1e0))/0x2+-parseInt(f(0x1e5))/0x3+-parseInt(f(0x1e4))/0x4+parseInt(f(0x1dd))/0x5+-parseInt(f(0x1ea))/0x6*(parseInt(f(0x1e1))/0x7)+parseInt(f(0x1e2))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x2ef49));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x1e3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x1e8)]()[h(0x1e6)]('(((.+)+)+)+$')[h(0x1e8)]()[h(0x1e7)](a41a)[h(0x1e6)](h(0x1e9));});a41a();export class CommandFactory{static [a41i(0x1db)]={};static[a41i(0x1df)](a,b){this['commandMap'][a]=b;}static['createCommand'](a,b){const j=a41i,c=this[j(0x1db)][a];if(c)return new c(b);return null;}static[a41i(0x1dc)](){return this['commandMap'];}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x107))/0x1*(-parseInt(f(0x110))/0x2)+parseInt(f(0x105))/0x3+parseInt(f(0x10e))/0x4+-parseInt(f(0x103))/0x5*(-parseInt(f(0xfa))/0x6)+-parseInt(f(0xfb))/0x7*(-parseInt(f(0x106))/0x8)+parseInt(f(0x119))/0x9*(-parseInt(f(0xf8))/0xa)+-parseInt(f(0x115))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xcaa93));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xf5;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0x118)](h(0x108))[h(0x116)]()[h(0x109)](a42a)[h(0x118)](h(0x108));});a42a();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 a42c(){const o=['7CgMPkf','key','legarmor','boots','addItem','gloves','description','isStartRoom','7897845EIACGt','convertToRoomConfig','4235091TVkDHJ','388672PZAOtz','348654GZcIqC','(((.+)+)+)+$','constructor','type','setPuzzle','INSIDE','createRoom','1973536RzfHtu','gauntlets','4CXeybR','rewardItem','content','name','createItem','15706691mDdtSi','toString','apply','search','2600757jrUwba','puzzle','createPuzzle','book','roomType','toUpperCase','20KBdXid','items','6TNUZqz'];a42c=function(){return o;};return a42c();}export class RoomFactory{[a42i(0x10d)](a){const j=a42i,b=this[j(0x104)](a),c=new Room(b);if(a[j(0xf9)]){const d=new Inventory();a[j(0xf9)]['forEach'](e=>{const k=j;d[k(0xff)](this[k(0x114)](e));}),c['inventory']=d;}return a[j(0x11a)]&&c[j(0x10b)](this[j(0x11b)](a[j(0x11a)])),c;}[a42i(0x114)](a){const l=a42i;switch(a[l(0x10a)]){case l(0xfc):return new Key(a['name'],a['description']);case l(0xf5):return new Book(a['name'],a[l(0x101)],a[l(0x112)]);case'sword':return new Sword(a[l(0x113)],a[l(0x101)]);case'rifle':return new Rifle(a['name'],a[l(0x101)]);case'helmet':return new Helmet(a[l(0x113)],a[l(0x101)]);case'bodyarmor':return new BodyArmor(a[l(0x113)],a[l(0x101)]);case l(0xfd):return new LegArmor(a[l(0x113)],a[l(0x101)]);case l(0xfe):return new Boots(a[l(0x113)],a['description']);case l(0x100):return new Gloves(a[l(0x113)],a[l(0x101)]);case l(0x10f):return new Gauntlets(a['name'],a[l(0x101)]);default:return new BasicItem(a[l(0x113)],a['description']);}}['createPuzzle'](a){const m=a42i,b=this['createItem'](a[m(0x111)]);return new Puzzle({...a,'rewardItem':b});}[a42i(0x104)](a){const n=a42i,b=a[n(0xf6)]&&RoomType[a['roomType'][n(0xf7)]()]?RoomType[a['roomType'][n(0xf7)]()]:RoomType[n(0x10c)];return{'name':a[n(0x113)],'description':a[n(0x101)],'isStartRoom':a[n(0x102)],'roomType':b};}}
1
+ const a42h=a42d;function a42c(){const n=['name','items','search','110pdOcDs','toString','createPuzzle','8qARgYf','11110548TDHuwV','content','inventory','key','puzzle','2409670tdNpeP','helmet','boots','constructor','(((.+)+)+)+$','7KSfjKY','1OYzUef','createItem','description','forEach','INSIDE','403554ypeZpK','isStartRoom','gauntlets','convertToRoomConfig','892199kRUizM','12783912BpzLgJ','createRoom','setPuzzle','sword','1877022oyvaAN','type','4171860Gfxjni','roomType','rewardItem'];a42c=function(){return n;};return a42c();}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x151))/0x1*(-parseInt(f(0x170))/0x2)+parseInt(f(0x156))/0x3*(-parseInt(f(0x16a))/0x4)+-parseInt(f(0x161))/0x5+parseInt(f(0x16b))/0x6*(-parseInt(f(0x150))/0x7)+parseInt(f(0x15b))/0x8+parseInt(f(0x15f))/0x9+-parseInt(f(0x167))/0xa*(-parseInt(f(0x15a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xe78bf));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x150;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const g=a42d;return a42a[g(0x168)]()[g(0x166)]('(((.+)+)+)+$')[g(0x168)]()[g(0x173)](a42a)[g(0x166)](g(0x174));});a42a();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{[a42h(0x15c)](a){const i=a42h,b=this[i(0x159)](a),c=new Room(b);if(a[i(0x165)]){const d=new Inventory();a[i(0x165)][i(0x154)](e=>{const j=i;d['addItem'](this[j(0x152)](e));}),c[i(0x16d)]=d;}return a[i(0x16f)]&&c[i(0x15d)](this['createPuzzle'](a[i(0x16f)])),c;}[a42h(0x152)](a){const k=a42h;switch(a[k(0x160)]){case k(0x16e):return new Key(a[k(0x164)],a['description']);case'book':return new Book(a[k(0x164)],a[k(0x153)],a[k(0x16c)]);case k(0x15e):return new Sword(a[k(0x164)],a[k(0x153)]);case'rifle':return new Rifle(a['name'],a[k(0x153)]);case k(0x171):return new Helmet(a['name'],a['description']);case'bodyarmor':return new BodyArmor(a['name'],a['description']);case'legarmor':return new LegArmor(a[k(0x164)],a[k(0x153)]);case k(0x172):return new Boots(a[k(0x164)],a[k(0x153)]);case'gloves':return new Gloves(a[k(0x164)],a[k(0x153)]);case k(0x158):return new Gauntlets(a[k(0x164)],a['description']);default:return new BasicItem(a[k(0x164)],a['description']);}}[a42h(0x169)](a){const l=a42h,b=this['createItem'](a[l(0x163)]);return new Puzzle({...a,'rewardItem':b});}[a42h(0x159)](a){const m=a42h,b=a[m(0x162)]&&RoomType[a[m(0x162)]['toUpperCase']()]?RoomType[a[m(0x162)]['toUpperCase']()]:RoomType[m(0x155)];return{'name':a[m(0x164)],'description':a[m(0x153)],'isStartRoom':a[m(0x157)],'roomType':b};}}
@@ -1 +1 @@
1
- const a43k=a43d;(function(a,b){const h=a43d,c=a();while(!![]){try{const d=-parseInt(h(0x214))/0x1*(parseInt(h(0x1fc))/0x2)+-parseInt(h(0x208))/0x3*(-parseInt(h(0x207))/0x4)+-parseInt(h(0x1f2))/0x5+-parseInt(h(0x1f3))/0x6+-parseInt(h(0x21e))/0x7+-parseInt(h(0x200))/0x8+-parseInt(h(0x1ff))/0x9*(-parseInt(h(0x1ef))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xcc4cc));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a43d;if(c){const e=c[i(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const j=a43d;return a43a['toString']()['search'](j(0x21b))[j(0x20c)]()[j(0x212)](a43a)['search'](j(0x21b));});a43a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a43d(a,b);}import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';function a43c(){const s=['toLowerCase','27tFFDrW','9217576HOYptg','search','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','maka','unequip','scene','look','44wZzBYz','357957IvGXfc','rooms','clear','use','toString','registerCommand','take','player','Welcome,\x20','getInstance','constructor','instance','1sDLInj','quit','trim','getHelpMessage','help','name','getWelcomeMessage','(((.+)+)+)+$','equip','split','11188478qirznT','createCommand','Available\x20Commands:\x0a','determineStartRoom','16356310JCxAPC','-\x20quit:\x20Exit\x20the\x20game.\x0a','getRooms','5226800aVWYKF','8472648CyfMPV','registerCommands','unlock','execute','getDescription','apply','currentLocation','handleInput','lock','349142LxpXEF','slice'];a43c=function(){return s;};return a43c();}import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a43k(0x213)];[a43k(0x205)];['player'];['currentRoom'];[a43k(0x209)];constructor(a,b){const l=a43k;this['player']=a,this[l(0x205)]=new Scene({'player':a,'roomConfiguration':b}),this['scene']['initialize'](),this[l(0x20f)][l(0x1f9)]=this[l(0x1ee)](),this['registerCommands']();}[a43k(0x1f4)](){const m=a43k;CommandFactory[m(0x20d)](m(0x206),LookCommand),CommandFactory[m(0x20d)]('go',GoCommand),CommandFactory[m(0x20d)](m(0x20e),TakeCommand),CommandFactory['registerCommand'](m(0x20b),UseCommand),CommandFactory[m(0x20d)](m(0x21c),EquipCommand),CommandFactory['registerCommand'](m(0x204),UnequipCommand),CommandFactory[m(0x20d)]('solve',SolveCommand),CommandFactory['registerCommand']('drop',DropCommand),CommandFactory[m(0x20d)](m(0x1f5),UnlockCommand),CommandFactory[m(0x20d)](m(0x1fb),LockCommand),CommandFactory[m(0x20d)](m(0x201),SearchCommand),CommandFactory[m(0x20d)]('say',SayCommand);}['determineStartRoom'](){const n=a43k;return this[n(0x205)][n(0x1ee)]();}[a43k(0x21a)](){const o=a43k;return o(0x210)+this[o(0x20f)][o(0x219)];}static[a43k(0x211)](a,b){const p=a43k;return!Game[p(0x213)]&&(Game[p(0x213)]=new Game(a,b)),Game[p(0x213)];}[a43k(0x1fa)](a){const q=a43k,b=a[q(0x216)]()[q(0x21d)]('\x20'),c=b[0x0][q(0x1fe)](),d=b[q(0x1fd)](0x1);if(c===q(0x215))return null;if(c===q(0x203))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0x218))return this[q(0x217)]();if(c===q(0x20a))return'';const e={'actor':this['player'],'rooms':this[q(0x205)][q(0x1f1)](),'scene':this[q(0x205)]},f=CommandFactory[q(0x21f)](c,e);if(f){const g=f[q(0x1f6)](d);return g;}return q(0x202)+c+'\x22.';}[a43k(0x217)](){const r=a43k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x220);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x1f7)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+=r(0x1f0),b;}}
1
+ const a43k=a43d;(function(a,b){const h=a43d,c=a();while(!![]){try{const d=-parseInt(h(0x1a4))/0x1*(parseInt(h(0x19c))/0x2)+-parseInt(h(0x192))/0x3+parseInt(h(0x1a0))/0x4+-parseInt(h(0x1b4))/0x5+-parseInt(h(0x1bd))/0x6*(parseInt(h(0x195))/0x7)+-parseInt(h(0x1b5))/0x8+parseInt(h(0x1a6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xeeebd));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a43d;if(c){const e=c[i(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const j=a43d;return a43a[j(0x1ab)]()[j(0x1b7)](j(0x1a7))['toString']()[j(0x1ba)](a43a)['search']('(((.+)+)+)+$');});a43a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x191;let f=c[d];return f;},a43d(a,b);}import{UseCommand}from'./commands/use.js';function a43c(){const s=['apply','1941836XBmlKo','unlock','toLowerCase','determineStartRoom','21zmPkmN','unequip','51716988LYnHwa','(((.+)+)+)+$','scene','registerCommands','equip','toString','quit','Available\x20Commands:\x0a','split','registerCommand','name','instance','getRooms','look','3864615GJDmNc','3271424cKbMgT','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','search','drop','maka','constructor','use','-\x20quit:\x20Exit\x20the\x20game.\x0a','6ByKhxv','rooms','createCommand','trim','5529702LxQIns','hasOwnProperty','initialize','2272368sDNQim','help','lock','getHelpMessage','player','slice','currentLocation','181282eHzUvK','getAllRegisteredCommands','take'];a43c=function(){return s;};return a43c();}import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a43k(0x1b1)];[a43k(0x1a8)];[a43k(0x199)];['currentRoom'];[a43k(0x1be)];constructor(a,b){const l=a43k;this[l(0x199)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0x1a8)][l(0x194)](),this[l(0x199)][l(0x19b)]=this[l(0x1a3)](),this[l(0x1a9)]();}[a43k(0x1a9)](){const m=a43k;CommandFactory['registerCommand'](m(0x1b3),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0x1af)](m(0x19e),TakeCommand),CommandFactory[m(0x1af)](m(0x1bb),UseCommand),CommandFactory[m(0x1af)](m(0x1aa),EquipCommand),CommandFactory[m(0x1af)](m(0x1a5),UnequipCommand),CommandFactory[m(0x1af)]('solve',SolveCommand),CommandFactory[m(0x1af)](m(0x1b8),DropCommand),CommandFactory[m(0x1af)](m(0x1a1),UnlockCommand),CommandFactory[m(0x1af)](m(0x197),LockCommand),CommandFactory[m(0x1af)](m(0x1b7),SearchCommand),CommandFactory['registerCommand']('say',SayCommand);}[a43k(0x1a3)](){const n=a43k;return this[n(0x1a8)]['determineStartRoom']();}['getWelcomeMessage'](){const o=a43k;return'Welcome,\x20'+this[o(0x199)][o(0x1b0)];}static['getInstance'](a,b){const p=a43k;return!Game['instance']&&(Game['instance']=new Game(a,b)),Game[p(0x1b1)];}['handleInput'](a){const q=a43k,b=a[q(0x191)]()[q(0x1ae)]('\x20'),c=b[0x0][q(0x1a2)](),d=b[q(0x19a)](0x1);if(c===q(0x1ac))return null;if(c===q(0x1b9))return q(0x1b6);if(c===q(0x196))return this[q(0x198)]();if(c==='clear')return'';const e={'actor':this[q(0x199)],'rooms':this[q(0x1a8)][q(0x1b2)](),'scene':this[q(0x1a8)]},f=CommandFactory[q(0x1bf)](c,e);if(f){const g=f['execute'](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a43k(0x198)](){const r=a43k,a=CommandFactory[r(0x19d)]();let b=r(0x1ad);for(const c in a){if(a[r(0x193)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+=r(0x1bc),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x151))/0x1*(-parseInt(f(0x15a))/0x2)+parseInt(f(0x152))/0x3+-parseInt(f(0x154))/0x4*(parseInt(f(0x15d))/0x5)+-parseInt(f(0x15c))/0x6*(parseInt(f(0x157))/0x7)+-parseInt(f(0x159))/0x8+-parseInt(f(0x15e))/0x9+parseInt(f(0x155))/0xa*(parseInt(f(0x153))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xbb438));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(0x158)]()[g(0x15f)](g(0x15b))[g(0x158)]()[g(0x156)](a52a)[g(0x15f)]('(((.+)+)+)+$');});a52a();function a52c(){var h=['253WHTOLC','60HTTTlm','909410rJRbnj','constructor','307699oImdVc','toString','2242328cmyeZI','82TcHPub','(((.+)+)+)+$','54kuIznz','65845orQBED','1490895UDUsUK','search','18042zRMuPx','1362615kAwNdJ'];a52c=function(){return h;};return a52c();}export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x151;var f=c[d];return f;},a52d(a,b);}export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1df;var f=c[d];return f;},a52d(a,b);}(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1e8))/0x1*(parseInt(f(0x1e4))/0x2)+-parseInt(f(0x1e2))/0x3+parseInt(f(0x1e1))/0x4*(-parseInt(f(0x1e7))/0x5)+-parseInt(f(0x1e5))/0x6+parseInt(f(0x1eb))/0x7*(parseInt(f(0x1e3))/0x8)+parseInt(f(0x1e6))/0x9+parseInt(f(0x1ea))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x422d3));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(0x1ec)]()[g(0x1df)]('(((.+)+)+)+$')[g(0x1ec)]()[g(0x1e0)](a52a)[g(0x1df)](g(0x1e9));});a52a();export*from'./door.js';export*from'./inventory.js';function a52c(){var h=['875cUILok','355qJYBmP','(((.+)+)+)+$','6071910hlNLkm','38374zvtZpE','toString','search','constructor','9324buliSu','231339grXCrp','608eTvCqP','96bWvyrA','2636010TOsnRV','1697841qHEnVq'];a52c=function(){return h;};return a52c();}export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a44i=a44d;(function(a,b){var f=a44d,c=a();while(!![]){try{var d=parseInt(f(0xb6))/0x1*(-parseInt(f(0xbe))/0x2)+-parseInt(f(0xaf))/0x3+-parseInt(f(0xbf))/0x4+-parseInt(f(0xbb))/0x5+-parseInt(f(0xc4))/0x6*(-parseInt(f(0xb9))/0x7)+parseInt(f(0xb0))/0x8+parseInt(f(0xaa))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xedfa3));var a44b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a44d;if(c){var e=c[g(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){var h=a44d;return a44a['toString']()['search'](h(0xad))[h(0xa8)]()['constructor'](a44a)[h(0xb1)](h(0xad));});a44a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a44c(){var n=['checkIfLocked','toString','isLockable','16003800VUKIDc','roomA','isLocked','(((.+)+)+)+$','To\x20','1894650zhWfMl','6055576MREnMT','search','checkIfLockable','Failed\x20to\x20unlock\x20door:\x20','apply','write','9XQUpEz','.\x20Used:\x20','name','7jwAwvO','getOtherSide','5967230KPkkez','getInstance','attemptUnlock','1428cXzDBA','706780jNbpHn','roomB','unlockItemOrSolution','.\x20Is\x20Locked:\x20','logger','2686350OWpQsD','\x20and\x20','Door\x20created\x20between\x20'];a44c=function(){return n;};return a44c();}function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0xa5;var f=c[d];return f;},a44d(a,b);}export class Door extends AbstractDoor{[a44i(0xab)];[a44i(0xc0)];[a44i(0xac)];[a44i(0xc1)];[a44i(0xb8)];['logger'];[a44i(0xa9)];constructor(a){var j=a44i;super(),this['roomA']=a[j(0xab)],this['roomB']=a[j(0xc0)],this['isLocked']=a[j(0xac)]||![],this['unlockItemOrSolution']=a[j(0xc1)],this['name']=a[j(0xb8)]?capitalCase(a[j(0xb8)]):j(0xae)+a[j(0xc0)][j(0xb8)],this[j(0xc3)]=Logger[j(0xbc)](),this[j(0xa9)]=!!a[j(0xc1)],this[j(0xc3)]['write'](j(0xa6)+this['roomA'][j(0xb8)]+j(0xa5)+this[j(0xc0)][j(0xb8)]+j(0xc2)+this[j(0xac)]);}[a44i(0xba)](a){var k=a44i;return this[k(0xab)]===a?this[k(0xc0)]:this[k(0xab)];}[a44i(0xbd)](a){var l=a44i;if(this[l(0xac)]&&this[l(0xc1)]&&this[l(0xc1)]===a)return this['isLocked']=![],this['logger'][l(0xb5)]('Door\x20unlocked:\x20'+this[l(0xb8)]+l(0xb7)+a),!![];return this[l(0xc3)][l(0xb5)](l(0xb3)+this[l(0xb8)]+l(0xb7)+a),![];}[a44i(0xa7)](){return this['isLocked'];}[a44i(0xb2)](){var m=a44i;return this[m(0xa9)];}}
1
+ var a44i=a44d;(function(a,b){var f=a44d,c=a();while(!![]){try{var d=-parseInt(f(0x1cb))/0x1*(parseInt(f(0x1b6))/0x2)+parseInt(f(0x1d2))/0x3+parseInt(f(0x1d4))/0x4+-parseInt(f(0x1c6))/0x5*(parseInt(f(0x1ce))/0x6)+-parseInt(f(0x1bf))/0x7+-parseInt(f(0x1bb))/0x8*(-parseInt(f(0x1cf))/0x9)+parseInt(f(0x1c9))/0xa*(parseInt(f(0x1b7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x56e0c));var a44b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a44d;if(c){var e=c[g(0x1b9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){var h=a44d;return a44a['toString']()[h(0x1d1)]('(((.+)+)+)+$')[h(0x1c4)]()[h(0x1cc)](a44a)['search'](h(0x1cd));});function a44c(){var o=['5415490LLsocf','roomA','1fwnVtn','constructor','(((.+)+)+)+$','1634466syQqlE','9dvzXXJ','\x20and\x20','search','1639953kqpNlE','checkIfLocked','1499832YBFHOv','getInstance','logger','To\x20','831514UJcTOz','11VbAFTP','isLockable','apply','name','1691528etinMF','unlockItemOrSolution','.\x20Used:\x20','roomB','4414053fnghOE','checkIfLockable','isLocked','attemptUnlock','write','toString','getOtherSide','5PHFtDx','Failed\x20to\x20unlock\x20door:\x20','Door\x20unlocked:\x20'];a44c=function(){return o;};return a44c();}a44a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0x1b4;var f=c[d];return f;},a44d(a,b);}export class Door extends AbstractDoor{[a44i(0x1ca)];['roomB'];[a44i(0x1c1)];['unlockItemOrSolution'];[a44i(0x1ba)];[a44i(0x1b4)];['isLockable'];constructor(a){var j=a44i;super(),this[j(0x1ca)]=a[j(0x1ca)],this[j(0x1be)]=a[j(0x1be)],this[j(0x1c1)]=a['isLocked']||![],this['unlockItemOrSolution']=a[j(0x1bc)],this[j(0x1ba)]=a[j(0x1ba)]?capitalCase(a[j(0x1ba)]):j(0x1b5)+a[j(0x1be)][j(0x1ba)],this[j(0x1b4)]=Logger[j(0x1d5)](),this['isLockable']=!!a[j(0x1bc)],this[j(0x1b4)][j(0x1c3)]('Door\x20created\x20between\x20'+this[j(0x1ca)]['name']+j(0x1d0)+this['roomB'][j(0x1ba)]+'.\x20Is\x20Locked:\x20'+this['isLocked']);}[a44i(0x1c5)](a){var k=a44i;return this[k(0x1ca)]===a?this[k(0x1be)]:this[k(0x1ca)];}[a44i(0x1c2)](a){var l=a44i;if(this['isLocked']&&this['unlockItemOrSolution']&&this[l(0x1bc)]===a)return this[l(0x1c1)]=![],this['logger']['write'](l(0x1c8)+this[l(0x1ba)]+l(0x1bd)+a),!![];return this[l(0x1b4)][l(0x1c3)](l(0x1c7)+this['name']+'.\x20Used:\x20'+a),![];}[a44i(0x1d3)](){var m=a44i;return this[m(0x1c1)];}[a44i(0x1c0)](){var n=a44i;return this[n(0x1b8)];}}
@@ -1 +1 @@
1
- const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x7d))/0x1+parseInt(f(0x72))/0x2*(-parseInt(f(0x6e))/0x3)+-parseInt(f(0x7b))/0x4+parseInt(f(0x7f))/0x5+parseInt(f(0x85))/0x6+-parseInt(f(0x7e))/0x7+-parseInt(f(0x73))/0x8*(-parseInt(f(0x68))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xdd500));function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x67;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(0x8b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a['toString']()[h(0x79)](h(0x83))[h(0x71)]()[h(0x88)](a45a)[h(0x79)](h(0x83));});a45a();import{capitalCase}from'change-case';function a45c(){const r=['hasItem','6PXtECK','\x20in\x20','write','toString','853454pxQVes','3641536rIunxc','Listed\x20items\x20in\x20inventory:\x20','delete','join','toLowerCase','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','search','Checked\x20for\x20item:\x20','1353732XuLIHn','logger','489919EZILdv','5600mAPhrC','2806985qldETY','values','getInstance','.\x20Exists:\x20','(((.+)+)+)+$','getItem','3972774zdrFMd','weight','\x20from\x20inventory.','constructor','Removed\x20item:\x20','name','apply','Added\x20item:\x20','items','keys','27pwRRxu','Failed\x20to\x20remove\x20item:\x20','addItem','\x20to\x20inventory.','get'];a45c=function(){return r;};return a45c();}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a45i(0x8d)];[a45i(0x7c)];constructor(){const j=a45i;super(),this['items']=new Map(),this[j(0x7c)]=Logger[j(0x81)]();}[a45i(0x6a)](a){const k=a45i;this[k(0x8d)]['set'](a[k(0x8a)][k(0x77)](),a),this[k(0x7c)]['write'](k(0x8c)+a[k(0x8a)]+k(0x6b));}['removeItem'](a){const l=a45i,b=this[l(0x84)](a);if(b)return this[l(0x8d)][l(0x75)](a[l(0x77)]()),this[l(0x7c)][l(0x70)](l(0x89)+a+l(0x87)),b;return this['logger'][l(0x70)](l(0x69)+a+'.\x20Item\x20not\x20found.'),null;}[a45i(0x6d)](a){const m=a45i,b=this['items']['has'](a['toLowerCase']()),c=[...this[m(0x8d)]['keys']()];return this[m(0x7c)][m(0x70)](m(0x7a)+a+m(0x6f)+c[m(0x76)](',\x20')+m(0x82)+b+'.'),b;}[a45i(0x84)](a){const n=a45i,b=this[n(0x8d)][n(0x6c)](a[n(0x77)]())||null;return b?this[n(0x7c)][n(0x70)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this['logger']['write'](n(0x78)+a+'.\x20Item\x20not\x20found.'),b;}['listItems'](){const o=a45i,a=[...this['items'][o(0x67)]()],b=a['map'](c=>capitalCase(c));return this[o(0x7c)]['write'](o(0x74)+b['join'](',\x20')+'.'),a;}['getWeight'](){const p=a45i;let a=0x0;for(const b of this[p(0x8d)][p(0x80)]()){a+=b[p(0x86)];}return a;}['getAllItems'](){const q=a45i;return[...this[q(0x8d)][q(0x80)]()];}}
1
+ const a45h=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x11c;let f=c[d];return f;},a45d(a,b);}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x140))/0x1+-parseInt(f(0x12b))/0x2+parseInt(f(0x136))/0x3*(-parseInt(f(0x122))/0x4)+parseInt(f(0x144))/0x5*(parseInt(f(0x137))/0x6)+-parseInt(f(0x12a))/0x7+-parseInt(f(0x13d))/0x8+parseInt(f(0x13f))/0x9*(parseInt(f(0x11c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x46663));function a45c(){const q=['toLowerCase','212664AwGQjN','1242948pqhQhb','\x20to\x20inventory.','toString','logger','Retrieved\x20details\x20for\x20item:\x20','Added\x20item:\x20','3507184sCxNzj','set','5055795JGAJbb','308470ilUMKt','constructor','search','listItems','5NZBZLQ','getItem','Removed\x20item:\x20','30RUeaQM','map','keys','Listed\x20items\x20in\x20inventory:\x20','has','removeItem','20ROrYhZ','join','(((.+)+)+)+$','items','name','.\x20Item\x20not\x20found.','weight','\x20in\x20','3118276PsfaMx','114584TgWjEb','addItem','write','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','getInstance','Checked\x20for\x20item:\x20','Failed\x20to\x20remove\x20item:\x20','values','hasItem','getWeight'];a45c=function(){return q;};return a45c();}const a45b=(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;};}()),a45a=a45b(this,function(){const g=a45d;return a45a['toString']()[g(0x142)](g(0x124))[g(0x139)]()[g(0x141)](a45a)[g(0x142)](g(0x124));});a45a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a45h(0x125)];['logger'];constructor(){const i=a45h;super(),this['items']=new Map(),this['logger']=Logger[i(0x12f)]();}[a45h(0x12c)](a){const j=a45h;this[j(0x125)][j(0x13e)](a['name']['toLowerCase'](),a),this['logger'][j(0x12d)](j(0x13c)+a[j(0x126)]+j(0x138));}[a45h(0x121)](a){const k=a45h,b=this['getItem'](a);if(b)return this[k(0x125)]['delete'](a[k(0x135)]()),this[k(0x13a)]['write'](k(0x146)+a+'\x20from\x20inventory.'),b;return this[k(0x13a)][k(0x12d)](k(0x131)+a+k(0x127)),null;}[a45h(0x133)](a){const l=a45h,b=this[l(0x125)][l(0x120)](a[l(0x135)]()),c=[...this['items'][l(0x11e)]()];return this[l(0x13a)]['write'](l(0x130)+a+l(0x129)+c[l(0x123)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a45h(0x145)](a){const m=a45h,b=this['items']['get'](a[m(0x135)]())||null;return b?this[m(0x13a)][m(0x12d)](m(0x13b)+a+'.'):this[m(0x13a)][m(0x12d)](m(0x12e)+a+m(0x127)),b;}[a45h(0x143)](){const n=a45h,a=[...this[n(0x125)]['keys']()],b=a[n(0x11d)](c=>capitalCase(c));return this[n(0x13a)]['write'](n(0x11f)+b['join'](',\x20')+'.'),a;}[a45h(0x134)](){const o=a45h;let a=0x0;for(const b of this[o(0x125)][o(0x132)]()){a+=b[o(0x128)];}return a;}['getAllItems'](){const p=a45h;return[...this[p(0x125)]['values']()];}}
@@ -1 +1 @@
1
- var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x1db))/0x1*(parseInt(f(0x1e1))/0x2)+-parseInt(f(0x1d4))/0x3*(-parseInt(f(0x1d2))/0x4)+parseInt(f(0x1cf))/0x5*(-parseInt(f(0x1cd))/0x6)+-parseInt(f(0x1d9))/0x7+-parseInt(f(0x1ce))/0x8+-parseInt(f(0x1e0))/0x9+parseInt(f(0x1c9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xec824));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x1cb)]()['search'](h(0x1d5))['toString']()[h(0x1dd)](a46a)[h(0x1d1)]('(((.+)+)+)+$');});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1c7;var f=c[d];return f;},a46d(a,b);}function a46c(){var l=['texture','3867RUcVQG','use','constructor','name','apply','6377391CqXKdE','196ljfdbW','color','size','weight','52755910wjqGrU','.\x20Nothing\x20special\x20happens.','toString','You\x20use\x20the\x20','6QAkggD','11528728RiXLlt','4869110xxpONf','shape','search','15844xPtOEB','uuid','813TocSSr','(((.+)+)+)+$','description','rating','category','13144628XCpsRo'];a46c=function(){return l;};return a46c();}a46a();import{v4 as a46e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a46i(0x1d3)];[a46i(0x1de)];['description'];[a46i(0x1c7)];[a46i(0x1d8)];[a46i(0x1d0)];[a46i(0x1e2)];[a46i(0x1da)];[a46i(0x1d7)];[a46i(0x1c8)];constructor(a){var j=a46i;super(),this[j(0x1de)]=a['name'],this[j(0x1d6)]=a[j(0x1d6)],this[j(0x1c7)]=a[j(0x1c7)],this[j(0x1d8)]=a[j(0x1d8)],this[j(0x1d0)]=a['shape'],this[j(0x1e2)]=a['color'],this[j(0x1da)]=a[j(0x1da)],this[j(0x1d7)]=a[j(0x1d7)],this[j(0x1c8)]=a[j(0x1c8)],this['uuid']=a46e();}[a46i(0x1dc)](){var k=a46i;return k(0x1cc)+this[k(0x1de)]+k(0x1ca);}}
1
+ var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x16a))/0x1+parseInt(f(0x165))/0x2*(parseInt(f(0x15b))/0x3)+-parseInt(f(0x166))/0x4+-parseInt(f(0x15c))/0x5+-parseInt(f(0x153))/0x6*(-parseInt(f(0x163))/0x7)+parseInt(f(0x15f))/0x8*(parseInt(f(0x154))/0x9)+parseInt(f(0x16b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x6d5db));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x160)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x168)]()[h(0x159)](h(0x161))[h(0x168)]()['constructor'](a46a)['search'](h(0x161));});function a46c(){var l=['You\x20use\x20the\x20','weight','216OphnLt','9pPuiML','description','size','.\x20Nothing\x20special\x20happens.','color','search','shape','1128339jEXpCf','3939170xgemea','texture','name','795472zPOsDm','apply','(((.+)+)+)+$','uuid','16709AxTgXn','rating','4AXUmSG','2498496cydlCa','category','toString','use','524899HZvwDf','14477280uCqFKP'];a46c=function(){return l;};return a46c();}function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x151;var f=c[d];return f;},a46d(a,b);}a46a();import{v4 as a46e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a46i(0x162)];[a46i(0x15e)];[a46i(0x155)];[a46i(0x156)];[a46i(0x167)];[a46i(0x15a)];['color'];[a46i(0x15d)];[a46i(0x164)];[a46i(0x152)];constructor(a){var j=a46i;super(),this[j(0x15e)]=a['name'],this[j(0x155)]=a[j(0x155)],this['size']=a[j(0x156)],this['category']=a[j(0x167)],this[j(0x15a)]=a['shape'],this[j(0x158)]=a[j(0x158)],this[j(0x15d)]=a[j(0x15d)],this[j(0x164)]=a[j(0x164)],this[j(0x152)]=a[j(0x152)],this[j(0x162)]=a46e();}[a46i(0x169)](){var k=a46i;return k(0x151)+this['name']+k(0x157);}}
@@ -1 +1 @@
1
- function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xa8;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(0xa9))/0x1+parseInt(f(0xba))/0x2*(parseInt(f(0xb1))/0x3)+-parseInt(f(0xad))/0x4+parseInt(f(0xbe))/0x5*(-parseInt(f(0xb4))/0x6)+-parseInt(f(0xb0))/0x7+-parseInt(f(0xae))/0x8+parseInt(f(0xbc))/0x9*(parseInt(f(0xab))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xee770));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xb5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0xa8)]()[h(0xb7)]('(((.+)+)+)+$')[h(0xa8)]()[h(0xb6)](a47a)['search']('(((.+)+)+)+$');});a47a();function a47c(){const o=['_name','3829968wGetgc','11766488kLpCOI','_dialogue','12513830uXXxNH','3uauMSJ','moveTo','rooms','11742XhckQZ','apply','constructor','search','name','random','1448142hyfbjD','length','1359uGXBsk','speak','3230Pnjhqc','floor','toString','693211RqnMNY','scene','425570LIKoAO'];a47c=function(){return o;};return a47c();}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a47i(0xac)];['_dialogue'];['rooms'];[a47i(0xaa)];constructor(a,b,c,d){const j=a47i;super(d),this[j(0xac)]=a,this[j(0xaf)]=b,this[j(0xb3)]=c;}get[a47i(0xb8)](){const k=a47i;return this[k(0xac)];}[a47i(0xbd)](){const l=a47i;return this[l(0xaf)][Math['floor'](Math[l(0xb9)]()*this['_dialogue'][l(0xbb)])];}['autonomousMove'](a){const m=a47i,b=a[Math[m(0xbf)](Math['random']()*a[m(0xbb)])];this[m(0xb2)](b[m(0xb8)]);}[a47i(0xb2)](a){const n=a47i,b={'actor':this,'rooms':this['rooms'],'scene':this[n(0xaa)]},c=new GoCommand(b);c['execute']([a]);}}
1
+ function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x145;let f=c[d];return f;},a47d(a,b);}const a47h=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x14f))/0x1+parseInt(f(0x151))/0x2*(-parseInt(f(0x159))/0x3)+parseInt(f(0x148))/0x4+-parseInt(f(0x14d))/0x5*(-parseInt(f(0x14a))/0x6)+-parseInt(f(0x155))/0x7+-parseInt(f(0x14c))/0x8+parseInt(f(0x149))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x92401));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(0x146)]()['search']('(((.+)+)+)+$')['toString']()[g(0x145)](a47a)[g(0x157)](g(0x147));});function a47c(){const n=['172266Jmjuon','_name','random','constructor','toString','(((.+)+)+)+$','1423928sdIbUx','2666961sVQRnZ','59676HupCBX','autonomousMove','1068832hYwGRx','335NrEsMH','speak','858977cjtNIk','rooms','34PNmHfM','floor','scene','name','3281957FZgyqM','execute','search','length'];a47c=function(){return n;};return a47c();}a47a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];['_dialogue'];['rooms'];[a47h(0x153)];constructor(a,b,c,d){const i=a47h;super(d),this[i(0x15a)]=a,this['_dialogue']=b,this[i(0x150)]=c;}get['name'](){const j=a47h;return this[j(0x15a)];}[a47h(0x14e)](){const k=a47h;return this['_dialogue'][Math[k(0x152)](Math[k(0x15b)]()*this['_dialogue'][k(0x158)])];}[a47h(0x14b)](a){const l=a47h,b=a[Math[l(0x152)](Math[l(0x15b)]()*a[l(0x158)])];this['moveTo'](b[l(0x154)]);}['moveTo'](a){const m=a47h,b={'actor':this,'rooms':this[m(0x150)],'scene':this[m(0x153)]},c=new GoCommand(b);c[m(0x156)]([a]);}}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x1d6))/0x1+parseInt(f(0x1d4))/0x2+-parseInt(f(0x1b4))/0x3*(-parseInt(f(0x1a2))/0x4)+parseInt(f(0x1ea))/0x5+-parseInt(f(0x1df))/0x6+-parseInt(f(0x19e))/0x7+-parseInt(f(0x1e8))/0x8*(parseInt(f(0x1c5))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x1e45c));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1bb)]()['search'](h(0x1f3))[h(0x1bb)]()[h(0x1c4)](a48a)[h(0x1ba)]('(((.+)+)+)+$');});a48a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x19b;let f=c[d];return f;},a48d(a,b);}import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';function a48c(){const B=['boots','1508346FdnkWl','equip','unequipBySlot','_maxCarryingWeight','4WuQJHy','equipment','arm\x20armor','\x20in\x20your\x20inventory.','_currentLocation','_inventory','helmet','leaveRoom','You\x20don\x27t\x20have\x20','\x20says:\x20\x22','name','includes','arms','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','inventoryItems','A\x20featureless\x20room','addItem','Added\x20','364107LWdNEO','Max\x20carrying\x20weight\x20must\x20be\x20positive.','logger','\x20from\x20player\x27s\x20inventory.','feet','canEquip','search','toString','gloves','legs','Invalid\x20category\x20or\x20slot:\x20','category','error','armarmor','Removed\x20','determineEquipmentSlot','constructor','174420WiFbMt','Failed\x20to\x20remove\x20','values','maxCarryingWeight','playerName','log','\x20is\x20now\x20listening\x20in\x20room\x20','write','torso','hear','apply','currentWeight','Gloves','.\x20You\x20must\x20unequip\x20it\x20first.','head','374296KaIxrh','Weapon','168781EXudIv','Helmet','\x20to\x20player\x27s\x20inventory.','LegArmor','weapon','\x20is\x20no\x20longer\x20listeng\x20in\x20','You\x20equipped\x20','body\x20armor','speak','80610CiJqeJ','You\x20unequipped\x20','removeInventory','_equipment','unequip','addInventory','enterRoom','shield','toLowerCase','120zlrZqb','You\x20can\x27t\x20equip\x20','831555PsRYMV','initialEquipment','leftHand','startLocation','getInstance','hasItem','\x20slot.','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','(((.+)+)+)+$','_playerName','Hat','removeItem','Shield','bodyarmor','legarmor'];a48c=function(){return B;};return a48c();}export class Player extends AbstractPlayer{[a48i(0x1f4)];[a48i(0x1a6)];['_inventory'];[a48i(0x1e2)];[a48i(0x1a1)]=0x32;[a48i(0x1b6)];constructor(a){const j=a48i;super(),this[j(0x1f4)]=a[j(0x1c9)],this[j(0x1a6)]=a[j(0x1ed)]||new Room({'name':'Nexus','description':j(0x1b1)}),this[j(0x1a7)]=new Inventory(),this['logger']=Logger[j(0x1ee)]();if(a?.[j(0x1b0)])for(const b of a['inventoryItems']){this[j(0x1a7)][j(0x1b2)](b);}this[j(0x1e2)]=a?.[j(0x1eb)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a48i(0x1ac)](){return this['_playerName'];}get['currentLocation'](){const k=a48i;return this[k(0x1a6)];}set['currentLocation'](a){const l=a48i;this[l(0x1a6)]!==a&&(this['leaveRoom'](),this['enterRoom'](a)),this[l(0x1a6)]=a;}get['inventory'](){const m=a48i;return this[m(0x1a7)];}get[a48i(0x1a3)](){const n=a48i;return this[n(0x1e2)];}set[a48i(0x1a3)](a){this['_equipment']=a;}get[a48i(0x1c8)](){const o=a48i;return this[o(0x1a1)];}set['maxCarryingWeight'](a){const p=a48i;a>0x0?this[p(0x1a1)]=a:console[p(0x1c0)](p(0x1b5));}get[a48i(0x1d0)](){const q=a48i;let a=this[q(0x1a7)]['getWeight']();for(const b in this['_equipment']){const c=this[q(0x1e2)][b];c&&(a+=c['weight']);}return a;}[a48i(0x1e4)](a){const r=a48i;if(this['currentWeight']+a['weight']>this[r(0x1c8)]){this[r(0x1b6)][r(0x1cc)](r(0x1f2));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this['_inventory'][r(0x1b2)](a),this['logger'][r(0x1cc)](r(0x1b3)+a['name']+r(0x1d8));}[a48i(0x1e1)](a){const s=a48i;if(this[s(0x1a7)][s(0x1f6)](a['name']))return this['logger'][s(0x1cc)](s(0x1c2)+a[s(0x1ac)]+s(0x1b7)),!![];return this['logger'][s(0x1cc)](s(0x1c6)+a[s(0x1ac)]+s(0x1b7)),![];}[a48i(0x19f)](a){const t=a48i;if(!this['_inventory'][t(0x1ef)](a[t(0x1ac)]))return t(0x1aa)+a[t(0x1ac)]+t(0x1a5);if(!this[t(0x1b9)](a))return t(0x1e9)+a[t(0x1ac)]+'.';const b=this[t(0x1c3)](a['category']);if(!b)return a[t(0x1ac)]+t(0x1af);if(this['equipment'][b])return t(0x1f1)+b+t(0x1d2);return this[t(0x1a3)][b]=a,this[t(0x1e1)](a),t(0x1dc)+a['name']+'.';}[a48i(0x1e3)](a){const u=a48i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[u(0x1c3)](a);if(!b)return u(0x1be)+a+'.';}return this['unequipBySlot'](b);}[a48i(0x1c3)](a){const v=a48i;switch(a[v(0x1e7)]()){case Category[v(0x1d5)][v(0x1e7)]():return'rightHand';case Category[v(0x1f7)][v(0x1e7)]():return v(0x1ec);case Category[v(0x1d1)]['toLowerCase']():return v(0x1bc);case Category[v(0x1d7)][v(0x1e7)]():case Category[v(0x1f5)][v(0x1e7)]():return v(0x1d3);case Category['Boots']['toLowerCase']():return'feet';case Category[v(0x1d9)][v(0x1e7)]():return'legs';case Category['ArmArmor'][v(0x1e7)]():return v(0x1ae);case Category['BodyArmor']['toLowerCase']():return v(0x1cd);case v(0x1da):return'rightHand';case v(0x1e6):return'leftHand';case v(0x1bc):return v(0x1bc);case v(0x1a8):case'hat':return'head';case v(0x19d):return v(0x1b8);case'leg\x20armor':case v(0x19c):return v(0x1bd);case v(0x1a4):case v(0x1c1):return v(0x1ae);case v(0x1dd):case v(0x19b):case v(0x1cd):return v(0x1cd);default:return null;}}['canEquip'](a){const w=a48i;return Object[w(0x1c7)](Category)[w(0x1ad)](a[w(0x1bf)]);}[a48i(0x1a0)](a){const x=a48i,b=this['equipment'][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+x(0x1f0);return this[x(0x1e4)](b),this[x(0x1a3)][a]=null,x(0x1e0)+b[x(0x1ac)]+'.';}[a48i(0x1ce)](a,b){const y=a48i;a!==this&&this['logger'][y(0x1ca)](a['name']+y(0x1ab)+b+'\x22');}[a48i(0x1e5)](a){const z=a48i;this[z(0x1a6)]=a,a['on'](z(0x1de),this[z(0x1ce)]['bind'](this)),this['logger'][z(0x1cc)](this[z(0x1ac)]+z(0x1cb)+a[z(0x1ac)]);}[a48i(0x1a9)](){const A=a48i;this[A(0x1a6)]&&(this['_currentLocation']['off'](A(0x1de),this['hear']['bind'](this)),this[A(0x1b6)][A(0x1cc)](this[A(0x1ac)]+A(0x1db)+this[A(0x1a6)]['name']));}}
1
+ const a48i=a48d;function a48c(){const B=['inventoryItems','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','body\x20armor','arms','speak','leg\x20armor','10HggSJs','283473axdpQY','maxCarryingWeight','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','leaveRoom','_playerName','bind','Added\x20','toLowerCase','1087330vuEKJV','unequipBySlot','6tRawpc','initialEquipment','\x20is\x20now\x20listening\x20in\x20room\x20','getWeight','_currentLocation','202411PixwUu','_equipment','You\x20unequipped\x20','off','\x20from\x20player\x27s\x20inventory.','toString','constructor','885934iHdgnf','addInventory','removeItem','\x20says:\x20\x22','determineEquipmentSlot','bodyarmor','(((.+)+)+)+$','You\x20don\x27t\x20have\x20','write','logger','currentLocation','name','_inventory','torso','Nexus','hear','.\x20You\x20must\x20unequip\x20it\x20first.','rightHand','currentWeight','category','addItem','weight','\x20to\x20player\x27s\x20inventory.','boots','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','armarmor','You\x20can\x27t\x20equip\x20','hasItem','values','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','gloves','unequip','You\x20equipped\x20','18973164wBDpqf','weapon','\x20in\x20your\x20inventory.','includes','564iIxiPS','A\x20featureless\x20room','Hat','inventory','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','Removed\x20','search','feet','equipment','legs','apply','ArmArmor','Shield','legarmor','LegArmor','Weapon','Boots','startLocation','head','canEquip','equip','Gloves','3448555STOFhV','enterRoom','BodyArmor','removeInventory','_maxCarryingWeight','24HSRPuz','11049GQVoNc','helmet','4ucFBox'];a48c=function(){return B;};return a48c();}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x1bf))/0x1*(parseInt(f(0x1a8))/0x2)+parseInt(f(0x1a6))/0x3*(-parseInt(f(0x18a))/0x4)+-parseInt(f(0x1b8))/0x5*(parseInt(f(0x1ba))/0x6)+-parseInt(f(0x1c6))/0x7*(parseInt(f(0x1a5))/0x8)+-parseInt(f(0x1b0))/0x9+-parseInt(f(0x1af))/0xa*(-parseInt(f(0x1a0))/0xb)+parseInt(f(0x186))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x53744));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1c4)]()[h(0x190)](h(0x16b))[h(0x1c4)]()[h(0x1c5)](a48a)[h(0x190)](h(0x16b));});a48a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x16a;let f=c[d];return f;},a48d(a,b);}import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a48i(0x1b4)];['_currentLocation'];[a48i(0x171)];[a48i(0x1c0)];[a48i(0x1a4)]=0x32;['logger'];constructor(a){const j=a48i;super(),this[j(0x1b4)]=a['playerName'],this[j(0x1be)]=a[j(0x19b)]||new Room({'name':j(0x173),'description':j(0x18b)}),this['_inventory']=new Inventory(),this[j(0x16e)]=Logger['getInstance']();if(a?.[j(0x1a9)])for(const b of a['inventoryItems']){this['_inventory']['addItem'](b);}this[j(0x1c0)]=a?.[j(0x1bb)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a48i(0x170)](){return this['_playerName'];}get[a48i(0x16f)](){const k=a48i;return this[k(0x1be)];}set[a48i(0x16f)](a){const l=a48i;this[l(0x1be)]!==a&&(this[l(0x1b3)](),this[l(0x1a1)](a)),this[l(0x1be)]=a;}get[a48i(0x18d)](){return this['_inventory'];}get[a48i(0x192)](){const m=a48i;return this[m(0x1c0)];}set[a48i(0x192)](a){const n=a48i;this[n(0x1c0)]=a;}get[a48i(0x1b1)](){const o=a48i;return this[o(0x1a4)];}set['maxCarryingWeight'](a){const p=a48i;a>0x0?this[p(0x1a4)]=a:console['error']('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a48i(0x177)](){const q=a48i;let a=this[q(0x171)][q(0x1bd)]();for(const b in this[q(0x1c0)]){const c=this['_equipment'][b];c&&(a+=c[q(0x17a)]);}return a;}[a48i(0x1c7)](a){const r=a48i;if(this['currentWeight']+a[r(0x17a)]>this[r(0x1b1)]){this['logger'][r(0x16d)](r(0x1b2));throw new Error(r(0x18e));}this[r(0x171)][r(0x179)](a),this[r(0x16e)]['write'](r(0x1b6)+a[r(0x170)]+r(0x17b));}[a48i(0x1a3)](a){const s=a48i;if(this[s(0x171)][s(0x1c8)](a[s(0x170)]))return this[s(0x16e)][s(0x16d)](s(0x18f)+a[s(0x170)]+s(0x1c3)),!![];return this['logger'][s(0x16d)]('Failed\x20to\x20remove\x20'+a[s(0x170)]+s(0x1c3)),![];}[a48i(0x19e)](a){const t=a48i;if(!this['_inventory'][t(0x180)](a[t(0x170)]))return t(0x16c)+a['name']+t(0x188);if(!this[t(0x19d)](a))return t(0x17f)+a[t(0x170)]+'.';const b=this['determineEquipmentSlot'](a[t(0x178)]);if(!b)return a[t(0x170)]+t(0x1aa);if(this['equipment'][b])return t(0x182)+b+t(0x175);return this[t(0x192)][b]=a,this[t(0x1a3)](a),t(0x185)+a[t(0x170)]+'.';}[a48i(0x184)](a){const u=a48i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[u(0x1ca)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[u(0x1b9)](b);}[a48i(0x1ca)](a){const v=a48i;switch(a[v(0x1b7)]()){case Category[v(0x199)]['toLowerCase']():return v(0x176);case Category[v(0x196)][v(0x1b7)]():return'leftHand';case Category[v(0x19f)][v(0x1b7)]():return v(0x183);case Category['Helmet'][v(0x1b7)]():case Category[v(0x18c)]['toLowerCase']():return v(0x19c);case Category[v(0x19a)][v(0x1b7)]():return'feet';case Category[v(0x198)][v(0x1b7)]():return v(0x193);case Category[v(0x195)][v(0x1b7)]():return v(0x1ac);case Category[v(0x1a2)]['toLowerCase']():return v(0x172);case v(0x187):return'rightHand';case'shield':return'leftHand';case v(0x183):return v(0x183);case v(0x1a7):case'hat':return v(0x19c);case v(0x17c):return v(0x191);case v(0x1ae):case v(0x197):return'legs';case'arm\x20armor':case v(0x17e):return v(0x1ac);case v(0x1ab):case v(0x16a):case v(0x172):return v(0x172);default:return null;}}[a48i(0x19d)](a){const w=a48i;return Object[w(0x181)](Category)[w(0x189)](a[w(0x178)]);}[a48i(0x1b9)](a){const x=a48i,b=this[x(0x192)][a];if(!b)return x(0x17d)+a+'\x20slot.';return this[x(0x1c7)](b),this[x(0x192)][a]=null,x(0x1c1)+b[x(0x170)]+'.';}[a48i(0x174)](a,b){const y=a48i;a!==this&&this[y(0x16e)]['log'](a[y(0x170)]+y(0x1c9)+b+'\x22');}[a48i(0x1a1)](a){const z=a48i;this[z(0x1be)]=a,a['on']('speak',this['hear'][z(0x1b5)](this)),this[z(0x16e)][z(0x16d)](this[z(0x170)]+z(0x1bc)+a[z(0x170)]);}[a48i(0x1b3)](){const A=a48i;this[A(0x1be)]&&(this[A(0x1be)][A(0x1c2)](A(0x1ad),this[A(0x174)][A(0x1b5)](this)),this[A(0x16e)][A(0x16d)](this[A(0x170)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this['_currentLocation'][A(0x170)]));}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x81))/0x1+parseInt(f(0x74))/0x2+-parseInt(f(0x6d))/0x3+parseInt(f(0x80))/0x4*(parseInt(f(0x85))/0x5)+parseInt(f(0x76))/0x6*(-parseInt(f(0x86))/0x7)+-parseInt(f(0x6e))/0x8*(parseInt(f(0x7c))/0x9)+-parseInt(f(0x72))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x1f660));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x82)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x6f)]()[h(0x6a)](h(0x7f))[h(0x6f)]()['constructor'](a49a)[h(0x6a)](h(0x7f));});a49a();import{Logger}from'../utilities/logger.js';function a49c(){var n=['135006HulJzz','288ihVZYP','toString','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','solved','1994920pmDgvD','riddle','361118ewYnBy','solve','24SOzUTK','failureMessage','write','requiredItem','hasItem','logger','50751bfirkI','You\x20solved\x20the\x20puzzle!','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','(((.+)+)+)+$','16DEojeo','192207NjuZub','apply','hasRequiredItem','rewardItem','300310lltVdV','64589MxKigx','Puzzle:\x20Correct\x20solution\x20provided.','requiredPhrase','successMessage','search','You\x20have\x20already\x20solved\x20this\x20puzzle.','matchesRequiredPhrase'];a49c=function(){return n;};return a49c();}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x68;var f=c[d];return f;},a49d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger['getInstance']();[a49i(0x71)]=![];[a49i(0x79)];[a49i(0x68)];[a49i(0x73)];[a49i(0x84)];[a49i(0x69)];['failureMessage'];constructor(a){var j=a49i;super(),this[j(0x79)]=a[j(0x79)],this[j(0x68)]=a['requiredPhrase'],this[j(0x73)]=a['riddle'],this[j(0x84)]=a[j(0x84)],this[j(0x69)]=a[j(0x69)]||j(0x7d),this['failureMessage']=a[j(0x77)]||j(0x7e);}[a49i(0x83)](a){var k=a49i;if(this[k(0x79)])return a[k(0x7a)](this[k(0x79)]);return![];}[a49i(0x6c)](a){var l=a49i;return this[l(0x68)]===a;}[a49i(0x75)](a,b){var m=a49i;if(this['solved'])return this[m(0x7b)][m(0x78)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':m(0x6b)};return this['hasRequiredItem'](b)||this[m(0x6c)](a)?(this[m(0x71)]=!![],this[m(0x7b)]['write'](m(0x87)),{'success':!![],'message':this[m(0x69)]}):(this[m(0x7b)][m(0x78)](m(0x70)),{'success':![],'message':this[m(0x77)]});}}
1
+ function a49c(){var n=['17925XTWCKM','apply','successMessage','Puzzle:\x20Correct\x20solution\x20provided.','99tLDBQi','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','1934304MCQXmh','You\x20have\x20already\x20solved\x20this\x20puzzle.','You\x20solved\x20the\x20puzzle!','requiredPhrase','865866lhLOQq','28uWPknz','requiredItem','riddle','(((.+)+)+)+$','failureMessage','12749oMFppq','2YGsMdH','2028rccvMU','logger','solve','matchesRequiredPhrase','constructor','11564090mlCMjJ','solved','search','getInstance','hasItem','rewardItem','toString','write','831928ALtFkI','39828OMWNsK','5020443Celdmr'];a49c=function(){return n;};return a49c();}var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x16a))/0x1*(-parseInt(f(0x163))/0x2)+parseInt(f(0x157))/0x3+-parseInt(f(0x16b))/0x4*(parseInt(f(0x158))/0x5)+parseInt(f(0x15f))/0x6*(-parseInt(f(0x164))/0x7)+-parseInt(f(0x155))/0x8*(parseInt(f(0x15c))/0x9)+-parseInt(f(0x170))/0xa+parseInt(f(0x169))/0xb*(parseInt(f(0x156))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xeeec3));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x153)]()[h(0x14f)]('(((.+)+)+)+$')[h(0x153)]()[h(0x16f)](a49a)[h(0x14f)](h(0x167));});a49a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x14f;var f=c[d];return f;},a49d(a,b);}export class Puzzle extends AbstractPuzzle{['logger']=Logger[a49i(0x150)]();[a49i(0x171)]=![];[a49i(0x165)];[a49i(0x162)];[a49i(0x166)];[a49i(0x152)];['successMessage'];['failureMessage'];constructor(a){var j=a49i;super(),this[j(0x165)]=a[j(0x165)],this[j(0x162)]=a[j(0x162)],this[j(0x166)]=a[j(0x166)],this[j(0x152)]=a[j(0x152)],this[j(0x15a)]=a[j(0x15a)]||j(0x161),this[j(0x168)]=a['failureMessage']||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}['hasRequiredItem'](a){var k=a49i;if(this['requiredItem'])return a[k(0x151)](this[k(0x165)]);return![];}[a49i(0x16e)](a){var l=a49i;return this[l(0x162)]===a;}[a49i(0x16d)](a,b){var m=a49i;if(this[m(0x171)])return this[m(0x16c)][m(0x154)](m(0x15e)),{'success':![],'message':m(0x160)};return this['hasRequiredItem'](b)||this[m(0x16e)](a)?(this['solved']=!![],this[m(0x16c)][m(0x154)](m(0x15b)),{'success':!![],'message':this[m(0x15a)]}):(this['logger']['write'](m(0x15d)),{'success':![],'message':this[m(0x168)]});}}
@@ -1 +1 @@
1
- function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x19c;let f=c[d];return f;},a50d(a,b);}const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x1d7))/0x1*(parseInt(f(0x1ab))/0x2)+parseInt(f(0x1c1))/0x3+-parseInt(f(0x1cf))/0x4*(-parseInt(f(0x1ac))/0x5)+parseInt(f(0x1b4))/0x6+parseInt(f(0x1d2))/0x7+-parseInt(f(0x1b1))/0x8+-parseInt(f(0x1da))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x62c77));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1ad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()[h(0x1d6)](h(0x1bd))[h(0x19e)]()['constructor'](a50a)[h(0x1d6)](h(0x1bd));});a50a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';function a50c(){const u=['south','getOppositeDirection','Checking\x20if\x20exit\x20in\x20direction\x20','write','Item\x20added\x20to\x20room\x20','east','Fetching\x20exit\x20in\x20direction:\x20','name','checkIfLocked','2pXQztL','295crTrHN','apply','INSIDE','getInstance','down','2148360hzpiWE','inventory','attemptUnlockExit','1150452eebyaw','Item\x20removed\x20from\x20room\x20','isExitLocked','DOWN','get','roomB','NORTH','\x20unlocked!','roomType','(((.+)+)+)+$','roomA','puzzle','description','990372nUNtGb','Puzzle\x20set\x20for\x20room\x20','hasItem','findExistingDoor','setPuzzle','exits','Room\x20created:\x20','addExit','riddle','WEST','getExit','emit','speak','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','28004fMKOyf','SOUTH','logger','2878127NjZBQj','EAST','removeItem','isStartRoom','search','243964pmeDTi','set','No\x20locked\x20exit\x20found\x20in\x20direction\x20','8252154gEhdVw','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','west','toString','say','addItem','The\x20'];a50c=function(){return u;};return a50c();}export class Room extends AbstractRoom{['logger']=Logger[a50i(0x1af)]();[a50i(0x1a9)];[a50i(0x1c0)];['exits']=new Map();[a50i(0x1bc)];['isStartRoom'];[a50i(0x1b2)]=new Inventory();constructor(a){const j=a50i;super(),this[j(0x1a9)]=a[j(0x1a9)],this[j(0x1c0)]=a[j(0x1c0)],this[j(0x1bc)]=a[j(0x1bc)]||RoomType[j(0x1ae)],a['exits']&&(this[j(0x1c6)]=a['exits']||new Map()),a[j(0x1b2)]&&(this[j(0x1b2)]=a[j(0x1b2)]),a[j(0x1bf)]&&(this['puzzle']=a[j(0x1bf)]),this['isStartRoom']=a[j(0x1d5)]||![],this[j(0x1d1)][j(0x1a5)](j(0x1c7)+this[j(0x1a9)]);}[a50i(0x19f)](a,b){const k=a50i;this[k(0x1cc)](k(0x1cd),a,b);}[a50i(0x1c8)](a,b,c){const l=a50i;let d=this[l(0x1c4)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits']['set'](a,d),b[l(0x1c6)][l(0x1d8)](this[l(0x1a3)](a),d);}[a50i(0x1b3)](a,b){const m=a50i,c=this[m(0x1c6)][m(0x1b8)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0x1d1)][m(0x1a5)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+'.\x20Success:\x20'+d),d?m(0x1a1)+c[m(0x1a9)]+m(0x1bb):m(0x1a1)+c[m(0x1a9)]+'\x20remains\x20locked.';}return this['logger'][m(0x1a5)](m(0x1d9)+a),m(0x19c);}[a50i(0x1cb)](a){const n=a50i;return this[n(0x1d1)][n(0x1a5)](n(0x1a8)+a),this[n(0x1c6)][n(0x1b8)](a);}[a50i(0x1b6)](a){const o=a50i,b=this[o(0x1c6)]['get'](a),c=b instanceof Door&&b[o(0x1aa)]();return this[o(0x1d1)][o(0x1a5)](o(0x1a4)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}['addItem'](a){const p=a50i;this[p(0x1b2)][p(0x1a0)](a),this[p(0x1d1)]['write'](p(0x1a6)+this[p(0x1a9)]+':\x20'+a[p(0x1a9)]);}['removeItem'](a){const q=a50i;this[q(0x1b2)][q(0x1c3)](a[q(0x1a9)])?(this[q(0x1b2)][q(0x1d4)](a[q(0x1a9)]),this[q(0x1d1)][q(0x1a5)](q(0x1b5)+this['name']+':\x20'+a[q(0x1a9)])):this['logger'][q(0x1a5)](q(0x1ce)+this[q(0x1a9)]+':\x20'+a[q(0x1a9)]);}[a50i(0x1c5)](a){const r=a50i;this['puzzle']=a,this['logger'][r(0x1a5)](r(0x1c2)+this[r(0x1a9)]+':\x20'+a[r(0x1c9)]);}['getOppositeDirection'](a){const s=a50i;switch(a){case'north':return Direction[s(0x1d0)];case s(0x1a2):return Direction[s(0x1ba)];case s(0x1a7):return Direction[s(0x1ca)];case s(0x19d):return Direction[s(0x1d3)];case'up':return Direction[s(0x1b7)];case s(0x1b0):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}['findExistingDoor'](a){const t=a50i;for(const b of this[t(0x1c6)]['values']()){if(b instanceof Door){if(b['roomA']===this&&b[t(0x1b9)]===a||b[t(0x1b9)]===this&&b[t(0x1be)]===a)return b;}}return undefined;}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x1e3))/0x1*(parseInt(f(0x1fd))/0x2)+-parseInt(f(0x1ca))/0x3*(-parseInt(f(0x1d0))/0x4)+parseInt(f(0x1cc))/0x5*(-parseInt(f(0x1d6))/0x6)+parseInt(f(0x1ef))/0x7+-parseInt(f(0x202))/0x8+parseInt(f(0x1d3))/0x9*(parseInt(f(0x205))/0xa)+-parseInt(f(0x1fc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x5e3d6));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x1e0)]()[h(0x1f3)](h(0x1dd))[h(0x1e0)]()['constructor'](a50a)[h(0x1f3)](h(0x1dd));});function a50c(){const u=['setPuzzle','2209795aWQqcl','addItem','SOUTH','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','search','isStartRoom','set','write','roomType','attemptUnlockExit','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','\x20unlocked!','roomB','3727856AMFdyG','262nbmnaH','south','WEST','description','speak','5099432lcmTNo','.\x20Success:\x20','checkIfLocked','570HsIEDj','EAST','findExistingDoor','isExitLocked','Fetching\x20exit\x20in\x20direction:\x20','north','12UiihKk','Room\x20created:\x20','55gtGQTO','INSIDE','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','Checking\x20if\x20exit\x20in\x20direction\x20','614808bpYXSR','inventory','Invalid\x20direction:\x20','116181zZAxyf','values','No\x20locked\x20exit\x20found\x20in\x20direction\x20','211464tUbXCC','get','NORTH','west','The\x20','exits','name','(((.+)+)+)+$','apply','Item\x20removed\x20from\x20room\x20','toString','Puzzle\x20set\x20for\x20room\x20','east','639osMORl','removeItem','riddle','\x20remains\x20locked.','getExit','roomA','logger','\x20is\x20locked.\x20Result:\x20','Item\x20added\x20to\x20room\x20','puzzle','attemptUnlock'];a50c=function(){return u;};return a50c();}a50a();import{Logger}from'../utilities/logger.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1c5;let f=c[d];return f;},a50d(a,b);}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a50i(0x1e9)]=Logger['getInstance']();[a50i(0x1dc)];['description'];['exits']=new Map();['roomType'];['isStartRoom'];[a50i(0x1d1)]=new Inventory();constructor(a){const j=a50i;super(),this[j(0x1dc)]=a[j(0x1dc)],this['description']=a[j(0x200)],this[j(0x1f7)]=a[j(0x1f7)]||RoomType[j(0x1cd)],a['exits']&&(this[j(0x1db)]=a[j(0x1db)]||new Map()),a[j(0x1d1)]&&(this['inventory']=a[j(0x1d1)]),a[j(0x1ec)]&&(this['puzzle']=a[j(0x1ec)]),this['isStartRoom']=a[j(0x1f4)]||![],this[j(0x1e9)]['write'](j(0x1cb)+this[j(0x1dc)]);}['say'](a,b){const k=a50i;this['emit'](k(0x201),a,b);}['addExit'](a,b,c){const l=a50i;let d=this[l(0x1c6)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1db)][l(0x1f5)](a,d),b['exits']['set'](this['getOppositeDirection'](a),d);}[a50i(0x1f8)](a,b){const m=a50i,c=this[m(0x1db)][m(0x1d7)](a);if(c instanceof Door){const d=c[m(0x1ed)](b);return this['logger'][m(0x1f6)](m(0x1f9)+a+m(0x203)+d),d?m(0x1da)+c[m(0x1dc)]+m(0x1fa):'The\x20'+c['name']+m(0x1e6);}return this[m(0x1e9)][m(0x1f6)](m(0x1d5)+a),m(0x1f2);}[a50i(0x1e7)](a){const n=a50i;return this['logger']['write'](n(0x1c8)+a),this[n(0x1db)][n(0x1d7)](a);}[a50i(0x1c7)](a){const o=a50i,b=this['exits'][o(0x1d7)](a),c=b instanceof Door&&b[o(0x204)]();return this[o(0x1e9)][o(0x1f6)](o(0x1cf)+a+o(0x1ea)+c),c;}[a50i(0x1f0)](a){const p=a50i;this[p(0x1d1)][p(0x1f0)](a),this[p(0x1e9)][p(0x1f6)](p(0x1eb)+this['name']+':\x20'+a[p(0x1dc)]);}[a50i(0x1e4)](a){const q=a50i;this['inventory']['hasItem'](a[q(0x1dc)])?(this[q(0x1d1)][q(0x1e4)](a[q(0x1dc)]),this[q(0x1e9)]['write'](q(0x1df)+this['name']+':\x20'+a[q(0x1dc)])):this[q(0x1e9)]['write'](q(0x1ce)+this[q(0x1dc)]+':\x20'+a[q(0x1dc)]);}[a50i(0x1ee)](a){const r=a50i;this[r(0x1ec)]=a,this[r(0x1e9)][r(0x1f6)](r(0x1e1)+this['name']+':\x20'+a[r(0x1e5)]);}['getOppositeDirection'](a){const s=a50i;switch(a){case s(0x1c9):return Direction[s(0x1f1)];case s(0x1fe):return Direction[s(0x1d8)];case s(0x1e2):return Direction[s(0x1ff)];case s(0x1d9):return Direction[s(0x1c5)];case'up':return Direction['DOWN'];case'down':return Direction['UP'];default:throw new Error(s(0x1d2)+a);}}[a50i(0x1c6)](a){const t=a50i;for(const b of this['exits'][t(0x1d4)]()){if(b instanceof Door){if(b[t(0x1e8)]===this&&b[t(0x1fb)]===a||b[t(0x1fb)]===this&&b[t(0x1e8)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a51l=a51d;function a51c(){const E=['(((.+)+)+)+$','actors','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','Failed\x20to\x20add\x20item\x20','has','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','length','from','warn','initialize','player','exits','set','search','2590231VaFxFd','get','characterLocations','No\x20actor\x20with\x20name\x20','allActors','Added\x20item\x20','\x27s\x20location.\x20Room\x20','removeRoom','addPuzzleToRoom','1542798ObTCRi','generateRoomsFromConfig','roomFactory','1902798lGIyfX','name','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','setCharacterLocation','determineStartRoom','rooms','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','values','targetRoom','addExit','setPuzzle','apply','removeActor','Failed\x20to\x20set\x20','1029600rENXqW','hasOwnProperty','7818AXawOw','createExitsFromConfig','15590hOQwlh','getPlayer','getActor','keys','join','constructor','write','roomConfiguration','42tMpsvv','15411480XYdeqk','8fIwVqi','Room\x20\x22','404AaYrZD','keyRequired','isStartRoom','currentLocation','Removed\x20room\x20from\x20scene:\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','direction','getRooms','logger','Added\x20room\x20to\x20scene:\x20','addActor','\x22\x20does\x20not\x20exist.','createRoom','addItemToRoom'];a51c=function(){return E;};return a51c();}(function(a,b){const i=a51d,c=a();while(!![]){try{const d=-parseInt(i(0x1fe))/0x1*(parseInt(i(0x1f6))/0x2)+-parseInt(i(0x1f4))/0x3*(parseInt(i(0x202))/0x4)+-parseInt(i(0x1f2))/0x5+-parseInt(i(0x1e4))/0x6+parseInt(i(0x1d8))/0x7*(-parseInt(i(0x200))/0x8)+parseInt(i(0x1e1))/0x9+parseInt(i(0x1ff))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x37e18));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0x1ef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a['toString']()[k(0x1d7)]('(((.+)+)+)+$')['toString']()[k(0x1fb)](a51a)[k(0x1d7)](k(0x210));});a51a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a51d(a,b);}export class Scene extends AbstractScene{[a51l(0x1e9)];[a51l(0x21a)];[a51l(0x20a)];[a51l(0x211)];[a51l(0x1da)]=new Map();[a51l(0x1e3)];constructor(a){const m=a51l;super(),this['roomFactory']=new RoomFactory(),this['player']=a['player'],this['rooms']=this[m(0x1e2)](a[m(0x1fd)]),this[m(0x20a)]=Logger['getInstance'](),this[m(0x211)]=new Map(),this[m(0x1f5)](a['roomConfiguration']),this[m(0x20a)][m(0x1fc)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x1f9)](this[m(0x1e9)])[m(0x1fa)](',\x20'));}[a51l(0x219)](){const n=a51l;this[n(0x21a)][n(0x205)]=this[n(0x1e8)]();}[a51l(0x1e2)](a){const o=a51l;if(!this[o(0x1e3)])throw new Error(o(0x212));const b={};for(const c of a){const d=this[o(0x1e3)][o(0x20e)](c);b[c[o(0x1e5)]]=d;}return b;}['createExitsFromConfig'](a){const p=a51l;for(const b of a){const c=this['rooms'][b[p(0x1e5)]];if(b[p(0x1d5)])for(const d of b[p(0x1d5)]){const e=d[p(0x208)]['toUpperCase'](),f=d[p(0x1ec)],g=d[p(0x203)],h=this[p(0x1e9)][f];h&&c[p(0x1ed)](Direction[e],h,g);}}}[a51l(0x20c)](a){const q=a51l;if(this[q(0x211)][q(0x214)](a['name']))throw new Error('Actor\x20with\x20name\x20'+a['name']+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x211)][q(0x1d6)](a[q(0x1e5)],a);}[a51l(0x1f0)](a){const r=a51l;if(!this[r(0x211)][r(0x214)](a))throw new Error(r(0x1db)+a+'\x20found\x20in\x20the\x20scene.');this['actors']['delete'](a);}[a51l(0x1f8)](a){const s=a51l;return this[s(0x211)][s(0x1d9)](a);}get[a51l(0x1dc)](){const t=a51l;return Array[t(0x217)](this[t(0x211)][t(0x1eb)]());}['addRoom'](a){const u=a51l;this['rooms'][a[u(0x1e5)]]=a,this[u(0x20a)][u(0x1fc)](u(0x20b)+a[u(0x1e5)]);}[a51l(0x1df)](a){const v=a51l;return this[v(0x1e9)][a]?(delete this[v(0x1e9)][a],this[v(0x20a)]['write'](v(0x206)+a),!![]):(this[v(0x20a)]['write'](v(0x1e6)+a),![]);}[a51l(0x20f)](a,b){const w=a51l,c=this[w(0x1e9)][b];c?(c['addItem'](a),this['logger'][w(0x1fc)](w(0x1dd)+a[w(0x1e5)]+'\x20to\x20room\x20'+c[w(0x1e5)])):this['logger'][w(0x1fc)](w(0x213)+a[w(0x1e5)]+'.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a51l(0x1e0)](a,b){const x=a51l,c=this['rooms'][b];c?(c[x(0x1ee)](a),this[x(0x20a)][x(0x1fc)]('Added\x20puzzle\x20to\x20room\x20'+c[x(0x1e5)])):this[x(0x20a)][x(0x1fc)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a51l(0x1e7)](a,b){const y=a51l,c=this[y(0x1e9)][b];c?(this['characterLocations']['set'](a[y(0x1e5)],c),this[y(0x20a)][y(0x1fc)](a[y(0x1e5)]+'\x20is\x20now\x20in\x20room\x20'+c[y(0x1e5)])):this[y(0x20a)][y(0x1fc)](y(0x1f1)+a['name']+y(0x1de)+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const z=a51l;return this[z(0x1da)][z(0x1d9)](a[z(0x1e5)]);}['determineStartRoom'](){const A=a51l,a=[];for(const c in this[A(0x1e9)]){if(this[A(0x1e9)][A(0x1f3)](c)){const d=this[A(0x1e9)][c];d[A(0x204)]&&a['push'](d);}}if(a[A(0x216)]>0x1)throw new Error(A(0x215));if(a[A(0x216)]===0x1)return a[0x0];const b=Object[A(0x1f9)](this['rooms']);if(b[A(0x216)]===0x0)throw new Error(A(0x207));return console[A(0x218)](A(0x1ea)),this[A(0x1e9)][b[0x0]];}[a51l(0x1f7)](){const B=a51l;return this[B(0x21a)];}[a51l(0x209)](){const C=a51l;return this[C(0x1e9)];}['connectRooms'](a,b,c,d){const D=a51l,e=this[D(0x1e9)][a],f=this['rooms'][c];if(!e)throw new Error('Room\x20\x22'+a+D(0x20d));if(!f)throw new Error(D(0x201)+c+D(0x20d));e[D(0x1ed)](b,f,d);}}
1
+ const a51l=a51d;(function(a,b){const i=a51d,c=a();while(!![]){try{const d=-parseInt(i(0x1ba))/0x1+-parseInt(i(0x1e2))/0x2*(-parseInt(i(0x1c5))/0x3)+-parseInt(i(0x1dc))/0x4+parseInt(i(0x1cc))/0x5*(-parseInt(i(0x1cb))/0x6)+parseInt(i(0x1bd))/0x7+parseInt(i(0x1d5))/0x8+-parseInt(i(0x1f9))/0x9*(-parseInt(i(0x1fe))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xdc80b));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0x1ee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a['toString']()[k(0x1be)](k(0x1bc))[k(0x1f2)]()[k(0x1e7)](a51a)[k(0x1be)]('(((.+)+)+)+$');});a51a();import{Logger}from'../utilities/logger.js';function a51c(){const E=['get','hasOwnProperty','addRoom','Added\x20puzzle\x20to\x20room\x20','write','keys','117945qTJFSO','getRooms','(((.+)+)+)+$','6492213ERvoLP','search','delete','allActors','roomFactory','values','rooms','createRoom','1546377GYSELE','No\x20actor\x20with\x20name\x20','\x20is\x20now\x20in\x20room\x20','direction','Failed\x20to\x20set\x20','Added\x20room\x20to\x20scene:\x20','653862fqhScx','20caJdyd','set','removeRoom','length','Removed\x20room\x20from\x20scene:\x20','Added\x20item\x20','currentLocation','\x20already\x20exists\x20in\x20the\x20scene.','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','4755616qOAUnb','createExitsFromConfig','from','determineStartRoom','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','generateRoomsFromConfig','addExit','2379736bLRCmA','Failed\x20to\x20add\x20item\x20','name','exits','keyRequired','warn','2DpQcAD','toUpperCase','has','Room\x20\x22','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','constructor','setPuzzle','addItem','roomConfiguration','addActor','\x27s\x20location.\x20Room\x20','getPlayer','apply','characterLocations','player','Scene\x20initialized\x20with\x20rooms:\x20','toString','addPuzzleToRoom','Failed\x20to\x20add\x20puzzle.\x20Room\x20','logger','getCharacterLocation','\x22\x20does\x20not\x20exist.','removeActor','801axCnDi','actors','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','Actor\x20with\x20name\x20','setCharacterLocation','1640DKPQlB'];a51c=function(){return E;};return a51c();}import{Direction}from'../types/enums.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a51d(a,b);}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a51l(0x1c3)];[a51l(0x1f0)];[a51l(0x1f5)];['actors'];[a51l(0x1ef)]=new Map();[a51l(0x1c1)];constructor(a){const m=a51l;super(),this['roomFactory']=new RoomFactory(),this['player']=a['player'],this['rooms']=this[m(0x1da)](a[m(0x1ea)]),this[m(0x1f5)]=Logger['getInstance'](),this[m(0x1fa)]=new Map(),this[m(0x1d6)](a['roomConfiguration']),this['logger'][m(0x1b8)](m(0x1f1)+Object[m(0x1b9)](this[m(0x1c3)])['join'](',\x20'));}['initialize'](){const n=a51l;this[n(0x1f0)][n(0x1d2)]=this[n(0x1d8)]();}['generateRoomsFromConfig'](a){const o=a51l;if(!this['roomFactory'])throw new Error(o(0x1fb));const b={};for(const c of a){const d=this[o(0x1c1)][o(0x1c4)](c);b[c[o(0x1de)]]=d;}return b;}['createExitsFromConfig'](a){const p=a51l;for(const b of a){const c=this[p(0x1c3)][b[p(0x1de)]];if(b[p(0x1df)])for(const d of b[p(0x1df)]){const e=d[p(0x1c8)][p(0x1e3)](),f=d['targetRoom'],g=d[p(0x1e0)],h=this['rooms'][f];h&&c[p(0x1db)](Direction[e],h,g);}}}[a51l(0x1eb)](a){const q=a51l;if(this['actors'][q(0x1e4)](a['name']))throw new Error(q(0x1fc)+a[q(0x1de)]+q(0x1d3));this['actors'][q(0x1cd)](a[q(0x1de)],a);}[a51l(0x1f8)](a){const r=a51l;if(!this[r(0x1fa)][r(0x1e4)](a))throw new Error(r(0x1c6)+a+'\x20found\x20in\x20the\x20scene.');this[r(0x1fa)][r(0x1bf)](a);}['getActor'](a){const s=a51l;return this[s(0x1fa)][s(0x1ff)](a);}get[a51l(0x1c0)](){const t=a51l;return Array[t(0x1d7)](this[t(0x1fa)][t(0x1c2)]());}[a51l(0x1b6)](a){const u=a51l;this[u(0x1c3)][a[u(0x1de)]]=a,this[u(0x1f5)][u(0x1b8)](u(0x1ca)+a['name']);}[a51l(0x1ce)](a){const v=a51l;return this[v(0x1c3)][a]?(delete this[v(0x1c3)][a],this[v(0x1f5)][v(0x1b8)](v(0x1d0)+a),!![]):(this[v(0x1f5)][v(0x1b8)](v(0x1d9)+a),![]);}['addItemToRoom'](a,b){const w=a51l,c=this['rooms'][b];c?(c[w(0x1e9)](a),this[w(0x1f5)]['write'](w(0x1d1)+a[w(0x1de)]+'\x20to\x20room\x20'+c[w(0x1de)])):this[w(0x1f5)]['write'](w(0x1dd)+a['name']+'.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a51l(0x1f3)](a,b){const x=a51l,c=this[x(0x1c3)][b];c?(c[x(0x1e8)](a),this[x(0x1f5)]['write'](x(0x1b7)+c[x(0x1de)])):this[x(0x1f5)][x(0x1b8)](x(0x1f4)+b+'\x20not\x20found\x20in\x20scene.');}[a51l(0x1fd)](a,b){const y=a51l,c=this['rooms'][b];c?(this[y(0x1ef)]['set'](a[y(0x1de)],c),this[y(0x1f5)]['write'](a['name']+y(0x1c7)+c[y(0x1de)])):this[y(0x1f5)][y(0x1b8)](y(0x1c9)+a[y(0x1de)]+y(0x1ec)+b+'\x20not\x20found\x20in\x20scene.');}[a51l(0x1f6)](a){const z=a51l;return this[z(0x1ef)]['get'](a['name']);}['determineStartRoom'](){const A=a51l,a=[];for(const c in this['rooms']){if(this[A(0x1c3)][A(0x200)](c)){const d=this[A(0x1c3)][c];d['isStartRoom']&&a['push'](d);}}if(a[A(0x1cf)]>0x1)throw new Error(A(0x1d4));if(a[A(0x1cf)]===0x1)return a[0x0];const b=Object[A(0x1b9)](this[A(0x1c3)]);if(b[A(0x1cf)]===0x0)throw new Error(A(0x1e6));return console[A(0x1e1)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0x1c3)][b[0x0]];}[a51l(0x1ed)](){const B=a51l;return this[B(0x1f0)];}[a51l(0x1bb)](){const C=a51l;return this[C(0x1c3)];}['connectRooms'](a,b,c,d){const D=a51l,e=this[D(0x1c3)][a],f=this[D(0x1c3)][c];if(!e)throw new Error(D(0x1e5)+a+D(0x1f7));if(!f)throw new Error(D(0x1e5)+c+D(0x1f7));e['addExit'](b,f,d);}}
@@ -1 +1 @@
1
- var a53j=a53d;(function(a,b){var f=a53d,c=a();while(!![]){try{var d=-parseInt(f(0xee))/0x1+-parseInt(f(0xdf))/0x2*(-parseInt(f(0xc5))/0x3)+parseInt(f(0xe7))/0x4+parseInt(f(0xb6))/0x5+parseInt(f(0xc9))/0x6*(-parseInt(f(0xc4))/0x7)+parseInt(f(0xe3))/0x8*(-parseInt(f(0xcc))/0x9)+-parseInt(f(0xcd))/0xa*(-parseInt(f(0xe8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x53389));var a53b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a53d;if(c){var e=c[g(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){var h=a53d;return a53a['toString']()[h(0xed)](h(0xea))[h(0xdd)]()[h(0xc8)](a53a)[h(0xed)](h(0xea));});a53a();function a53d(a,b){var c=a53c();return a53d=function(d,e){d=d-0xb5;var f=c[d];return f;},a53d(a,b);}import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a53d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[i(0xda)],'shape':Shape['Rectangle'],'color':Color[i(0xd5)],'texture':Texture[i(0xd9)],'rating':Rating[i(0xd4)],'weight':0x1});}[a53j(0xe6)](){var k=a53j;return this[k(0xe2)];}}export class Sword extends Item{constructor(a,b){var l=a53j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[l(0xc3)],'shape':Shape[l(0xdc)],'color':Color[l(0xbc)],'texture':Texture[l(0xc2)],'rating':Rating[l(0xd4)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a53j;super({'name':a,'description':b,'size':Size[m(0xe4)],'category':Category[m(0xc3)],'shape':Shape[m(0xd8)],'color':Color[m(0xbe)],'texture':Texture['Metallic'],'rating':Rating[m(0xc0)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a53j;super({'name':a,'description':b,'size':Size[n(0xcb)],'category':Category[n(0xba)],'shape':Shape[n(0xdb)],'color':Color[n(0xbc)],'texture':Texture[n(0xc2)],'rating':Rating[n(0xd4)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a53j;super({'name':a,'description':b,'size':Size[o(0xe4)],'category':Category[o(0xbb)],'shape':Shape[o(0xb5)],'color':Color[o(0xbc)],'texture':Texture[o(0xc2)],'rating':Rating[o(0xd4)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a53j;super({'name':a,'description':b,'size':Size[p(0xcb)],'category':Category[p(0xd2)],'shape':Shape[p(0xb5)],'color':Color['Grey'],'texture':Texture[p(0xc2)],'rating':Rating[p(0xd4)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a53j;super({'name':a,'description':b,'size':Size[q(0xcb)],'category':Category[q(0xd3)],'shape':Shape['Circle'],'color':Color[q(0xbe)],'texture':Texture[q(0xd9)],'rating':Rating[q(0xd4)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a53j;super({'name':a,'description':b,'size':Size[r(0xb8)],'category':Category['Gloves'],'shape':Shape[r(0xdb)],'color':Color[r(0xbe)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a53j;super({'name':a,'description':b,'size':Size[s(0xcb)],'category':Category[s(0xc6)],'shape':Shape[s(0xb5)],'color':Color[s(0xbc)],'texture':Texture[s(0xc2)],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a53j;super({'name':a,'description':b,'size':Size[t(0xe5)],'category':Category['Key'],'shape':Shape[t(0xb5)],'color':Color[t(0xd5)],'texture':Texture[t(0xd9)],'rating':Rating['Common'],'weight':0x0});}['use'](){var u=a53j;return u(0xb7);}}export class Weapon extends Item{constructor(a,b){var v=a53j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[v(0xc3)],'shape':Shape[v(0xdc)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[v(0xd4)],'weight':0x3});}[a53j(0xe6)](){var w=a53j;return w(0xd7);}}function a53c(){var F=['Common','Yellow','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Rifle','Smooth','Unknown','Circle','Blade','toString','A\x20mysterious\x20book.','6ErZRJG','Sniper\x20Rifle','Gold','description','16tniocx','Large','Tiny','use','1022756iVjlkj','11325424kSDvua','Book','(((.+)+)+)+$','apply','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','search','60769TzkENl','Rectangle','138185EsaJKF','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Small','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Helmet','BodyArmor','Grey','Holy\x20Grail','Brown','pageCount','Rare','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Metallic','Weapon','91EgypVx','216555HCBtJG','ArmArmor','name','constructor','206958FNZeTc','Cup','Medium','3057363FZrvmQ','10GzQGkC','author','publishDate','Short\x20Sword','Unknown\x20Author','LegArmor','Boots'];a53c=function(){return F;};return a53c();}export class Book extends Item{[a53j(0xce)];[a53j(0xcf)];[a53j(0xbf)];constructor(a,b=a53j(0xde),c=a53j(0xd1)){var x=a53j;super({'name':a,'description':b,'size':Size[x(0xcb)],'category':Category[x(0xe9)],'shape':Shape['Rectangle'],'color':Color[x(0xbe)],'texture':Texture['Smooth'],'rating':Rating[x(0xd4)],'weight':0x1}),this[x(0xce)]=c,this['publishDate']=new Date(),this[x(0xbf)]=0x64;}['use'](){var y=a53j;return y(0xb9);}}export class ShortSword extends Item{constructor(){var z=a53j;super({'name':z(0xd0),'description':z(0xec),'size':Size['Medium'],'category':Category[z(0xc3)],'shape':Shape[z(0xdc)],'color':Color[z(0xbc)],'texture':Texture['Metallic'],'rating':Rating[z(0xd4)],'weight':0x3});}[a53j(0xe6)](){var A=a53j;return A(0xd7);}}export class SniperRifle extends Item{constructor(){var B=a53j;super({'name':B(0xe0),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[B(0xe4)],'category':Category[B(0xc3)],'shape':Shape['Rifle'],'color':Color['Brown'],'texture':Texture[B(0xd9)],'rating':Rating[B(0xd4)],'weight':0x5});}[a53j(0xe6)](){var C=a53j;return C(0xc1);}}export class HolyGrail extends Item{constructor(){var D=a53j;super({'name':D(0xbd),'description':D(0xd6),'size':Size[D(0xb8)],'category':Category[D(0xca)],'shape':Shape[D(0xdb)],'color':Color[D(0xe1)],'texture':Texture[D(0xc2)],'rating':Rating['Legendary'],'weight':0x1});}[a53j(0xe6)](){var E=a53j;return'You\x20hold\x20the\x20'+this[E(0xc7)]+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}
1
+ var a53j=a53d;(function(a,b){var f=a53d,c=a();while(!![]){try{var d=parseInt(f(0x206))/0x1+-parseInt(f(0x1f1))/0x2*(-parseInt(f(0x207))/0x3)+parseInt(f(0x1f0))/0x4*(-parseInt(f(0x20a))/0x5)+-parseInt(f(0x1ef))/0x6*(parseInt(f(0x1fd))/0x7)+-parseInt(f(0x1df))/0x8+parseInt(f(0x201))/0x9+parseInt(f(0x1e2))/0xa*(parseInt(f(0x1ee))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x6b1af));var a53b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a53d;if(c){var e=c[g(0x20f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){var h=a53d;return a53a[h(0x1fe)]()[h(0x1db)](h(0x1e9))[h(0x1fe)]()[h(0x1f8)](a53a)[h(0x1db)](h(0x1e9));});a53a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a53d;super({'name':a,'description':b,'size':Size[i(0x1e7)],'category':Category[i(0x1f7)],'shape':Shape[i(0x1f5)],'color':Color[i(0x1e4)],'texture':Texture[i(0x200)],'rating':Rating[i(0x20c)],'weight':0x1});}[a53j(0x1e1)](){var k=a53j;return this[k(0x202)];}}export class Sword extends Item{constructor(a,b){var l=a53j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Weapon'],'shape':Shape['Blade'],'color':Color[l(0x1ec)],'texture':Texture[l(0x1fb)],'rating':Rating[l(0x20c)],'weight':0x3});}}function a53d(a,b){var c=a53c();return a53d=function(d,e){d=d-0x1da;var f=c[d];return f;},a53d(a,b);}export class Rifle extends Item{constructor(a,b){var m=a53j;super({'name':a,'description':b,'size':Size[m(0x211)],'category':Category[m(0x1f2)],'shape':Shape['Rifle'],'color':Color[m(0x204)],'texture':Texture[m(0x1fb)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a53j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[n(0x1f4)],'shape':Shape[n(0x1e8)],'color':Color[n(0x1ec)],'texture':Texture[n(0x1fb)],'rating':Rating[n(0x20c)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a53j;super({'name':a,'description':b,'size':Size[o(0x211)],'category':Category[o(0x1fc)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[o(0x20c)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a53j;super({'name':a,'description':b,'size':Size[p(0x1e7)],'category':Category[p(0x1e3)],'shape':Shape[p(0x1f5)],'color':Color[p(0x1ec)],'texture':Texture[p(0x1fb)],'rating':Rating[p(0x20c)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a53j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[q(0x209)],'shape':Shape[q(0x1e8)],'color':Color[q(0x204)],'texture':Texture[q(0x200)],'rating':Rating[q(0x20c)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a53j;super({'name':a,'description':b,'size':Size[r(0x1ea)],'category':Category[r(0x214)],'shape':Shape[r(0x1e8)],'color':Color[r(0x204)],'texture':Texture['Smooth'],'rating':Rating[r(0x20c)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a53j;super({'name':a,'description':b,'size':Size[s(0x1e7)],'category':Category[s(0x210)],'shape':Shape[s(0x1f5)],'color':Color['Grey'],'texture':Texture[s(0x1fb)],'rating':Rating[s(0x20c)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a53j;super({'name':a,'description':b,'size':Size[t(0x1de)],'category':Category[t(0x203)],'shape':Shape[t(0x1f5)],'color':Color['Yellow'],'texture':Texture[t(0x200)],'rating':Rating['Common'],'weight':0x0});}[a53j(0x1e1)](){var u=a53j;return u(0x1ff);}}export class Weapon extends Item{constructor(a,b){var v=a53j;super({'name':a,'description':b,'size':Size[v(0x1e7)],'category':Category[v(0x1f2)],'shape':Shape['Blade'],'color':Color[v(0x1ec)],'texture':Texture[v(0x1fb)],'rating':Rating[v(0x20c)],'weight':0x3});}['use'](){var w=a53j;return w(0x1dd);}}export class Book extends Item{[a53j(0x1e6)];[a53j(0x20b)];[a53j(0x212)];constructor(a,b='A\x20mysterious\x20book.',c=a53j(0x213)){var x=a53j;super({'name':a,'description':b,'size':Size[x(0x1e7)],'category':Category[x(0x1f3)],'shape':Shape[x(0x1f5)],'color':Color['Brown'],'texture':Texture[x(0x200)],'rating':Rating[x(0x20c)],'weight':0x1}),this[x(0x1e6)]=c,this[x(0x20b)]=new Date(),this[x(0x212)]=0x64;}[a53j(0x1e1)](){return'There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22';}}function a53c(){var E=['587709HbJCFr','42027jmshPl','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Boots','5lexnGD','publishDate','Common','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Holy\x20Grail','apply','ArmArmor','Large','pageCount','Unknown\x20Author','Gloves','Sniper\x20Rifle','search','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Tiny','5400600LaDXTB','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','use','28750BRpCwE','LegArmor','Yellow','Blade','author','Medium','Circle','(((.+)+)+)+$','Small','name','Grey','Cup','1595SOnwQu','73518HrkPzr','2633324CZWpLr','68ILRNhT','Weapon','Book','Helmet','Rectangle','Legendary','Unknown','constructor','Gold','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Metallic','BodyArmor','287szIIAG','toString','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Smooth','7142328LLOowr','description','Key','Brown','Short\x20Sword'];a53c=function(){return E;};return a53c();}export class ShortSword extends Item{constructor(){var y=a53j;super({'name':y(0x205),'description':y(0x20d),'size':Size['Medium'],'category':Category[y(0x1f2)],'shape':Shape[y(0x1e5)],'color':Color['Grey'],'texture':Texture[y(0x1fb)],'rating':Rating['Common'],'weight':0x3});}[a53j(0x1e1)](){var z=a53j;return z(0x1dd);}}export class SniperRifle extends Item{constructor(){var A=a53j;super({'name':A(0x1da),'description':A(0x1e0),'size':Size[A(0x211)],'category':Category['Weapon'],'shape':Shape['Rifle'],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x5});}[a53j(0x1e1)](){var B=a53j;return B(0x208);}}export class HolyGrail extends Item{constructor(){var C=a53j;super({'name':C(0x20e),'description':C(0x1fa),'size':Size[C(0x1ea)],'category':Category[C(0x1ed)],'shape':Shape['Circle'],'color':Color[C(0x1f9)],'texture':Texture[C(0x1fb)],'rating':Rating[C(0x1f6)],'weight':0x1});}[a53j(0x1e1)](){var D=a53j;return'You\x20hold\x20the\x20'+this[D(0x1eb)]+D(0x1dc);}}