@maka/maka-cli 4.5.27 → 4.5.28

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 (139) hide show
  1. package/.eslintrc.json +2 -1
  2. package/bundle/obf/package.json +24 -22
  3. package/bundle/obf/src/command.js +1 -1
  4. package/bundle/obf/src/commands/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -0
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -0
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/jsdoc.js +1 -1
  73. package/bundle/obf/src/commands/lint.js +1 -1
  74. package/bundle/obf/src/commands/login.js +1 -1
  75. package/bundle/obf/src/commands/logout.js +1 -1
  76. package/bundle/obf/src/commands/logs.js +1 -1
  77. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  78. package/bundle/obf/src/commands/murder.js +1 -1
  79. package/bundle/obf/src/commands/proxy.js +1 -1
  80. package/bundle/obf/src/commands/reconfig.js +1 -1
  81. package/bundle/obf/src/commands/run/_index.js +1 -1
  82. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  83. package/bundle/obf/src/commands/run/run.command.js +1 -1
  84. package/bundle/obf/src/commands/set/_index.js +1 -1
  85. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  86. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/set.command.js +1 -1
  88. package/bundle/obf/src/commands/ssh.js +1 -1
  89. package/bundle/obf/src/commands/ssl.js +1 -1
  90. package/bundle/obf/src/commands/test.js +1 -1
  91. package/bundle/obf/src/commands/version.js +1 -1
  92. package/bundle/obf/src/error.js +1 -1
  93. package/bundle/obf/src/exec.js +1 -1
  94. package/bundle/obf/src/generator.js +1 -1
  95. package/bundle/obf/src/generators/_index.js +1 -1
  96. package/bundle/obf/src/generators/api.js +1 -1
  97. package/bundle/obf/src/generators/collection.js +1 -1
  98. package/bundle/obf/src/generators/component.js +1 -1
  99. package/bundle/obf/src/generators/config.js +1 -1
  100. package/bundle/obf/src/generators/dbc.js +1 -1
  101. package/bundle/obf/src/generators/dockerfile.js +1 -1
  102. package/bundle/obf/src/generators/hook.js +1 -1
  103. package/bundle/obf/src/generators/kit.js +1 -1
  104. package/bundle/obf/src/generators/layout.js +1 -1
  105. package/bundle/obf/src/generators/maka.gen.js +1 -1
  106. package/bundle/obf/src/generators/methods.js +1 -1
  107. package/bundle/obf/src/generators/package.js +1 -1
  108. package/bundle/obf/src/generators/page.js +1 -1
  109. package/bundle/obf/src/generators/publish.js +1 -1
  110. package/bundle/obf/src/generators/route.js +1 -1
  111. package/bundle/obf/src/generators/service.js +1 -1
  112. package/bundle/obf/src/generators/services/_index.js +1 -1
  113. package/bundle/obf/src/generators/services/openssl.js +1 -1
  114. package/bundle/obf/src/generators/services/translation.js +1 -1
  115. package/bundle/obf/src/maka.js +1 -1
  116. package/bundle/obf/src/templates/meteor/template/template.css.scss +3 -0
  117. package/bundle/obf/src/templates/react/component/component.css.scss +3 -0
  118. package/bundle/obf/src/templates/react/hook/hook.css +3 -0
  119. package/bundle/obf/src/templates/react/hook/hook.css.scss +3 -0
  120. package/bundle/obf/src/templates/react/hook/hook.js.jsx +1 -1
  121. package/bundle/obf/src/templates/react/hook/hook.js.tsx +1 -1
  122. package/bundle/obf/src/tool.js +1 -1
  123. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  124. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  125. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  126. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  127. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  129. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/https/https.class.js +1 -1
  131. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  132. package/bundle/obf/src/tools/log/log.class.js +1 -1
  133. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  135. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  137. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  138. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  139. package/package.json +24 -22
@@ -1 +1 @@
1
- const a31i=a31d;function a31c(){const k=['805284jQltyu','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','listItems','30hYGfTs','734327LcklDn','638395mubYoP','length','(((.+)+)+)+$','7RHOPkr','inventory','description','write','1827yMXysf','join','actor','execute','verb','169164dcomDC','logger','3oeoark','Search\x20for\x20items\x20in\x20your\x20area','8952tntXKL','5738220pawELW','4axUBhh','\x20found\x20the\x20following\x20items:\x20','167744afHQci','currentLocation','search','name','constructor','You\x20search\x20the\x20area\x20and\x20find:\x20','apply','toString'];a31c=function(){return k;};return a31c();}(function(a,b){const f=a31d,c=a();while(!![]){try{const d=parseInt(f(0x93))/0x1+parseInt(f(0x9b))/0x2*(-parseInt(f(0x95))/0x3)+-parseInt(f(0x99))/0x4*(parseInt(f(0xa9))/0x5)+parseInt(f(0xa3))/0x6*(parseInt(f(0x8a))/0x7)+parseInt(f(0x97))/0x8*(-parseInt(f(0x8e))/0x9)+-parseInt(f(0xa7))/0xa*(parseInt(f(0xa8))/0xb)+parseInt(f(0x98))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x22cf8));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a31d;if(c){const e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const h=a31d;return a31a[h(0xa2)]()[h(0x9d)](h(0x89))[h(0xa2)]()[h(0x9f)](a31a)['search'](h(0x89));});a31a();import{Command}from'./command.js';class SearchCommand extends Command{static [a31i(0x92)]=a31i(0x9d);static [a31i(0x8c)]=a31i(0x96);[a31i(0x91)](){const j=a31i,a=this[j(0x90)][j(0x9c)][j(0x8b)][j(0xa6)]();if(a[j(0x88)]===0x0)return this[j(0x94)][j(0x8d)]('SearchCommand:\x20'+this[j(0x90)][j(0x9e)]+j(0xa5)),j(0xa4);const b=a[j(0x8f)](',\x20');return this[j(0x94)]['write']('SearchCommand:\x20'+this[j(0x90)][j(0x9e)]+j(0x9a)+b),j(0xa0)+b;}}function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x88;let f=c[d];return f;},a31d(a,b);}export{SearchCommand};
1
+ function a33c(){const k=['SearchCommand:\x20','toString','currentLocation','logger','898630LNeUfl','actor','search','join','constructor','write','Search\x20for\x20items\x20in\x20your\x20area','335292WHlEnj','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','567402qQyBJB','159196RhKPvL','1551772vFwaAv','name','inventory','verb','execute','80CpqomX','You\x20search\x20the\x20area\x20and\x20find:\x20','14ImyRsZ','802370CrWeHv','683892dzDgnG','length','apply'];a33c=function(){return k;};return a33c();}const a33i=a33d;(function(a,b){const f=a33d,c=a();while(!![]){try{const d=parseInt(f(0x1b8))/0x1+-parseInt(f(0x1c1))/0x2+-parseInt(f(0x1b7))/0x3+-parseInt(f(0x1b9))/0x4+parseInt(f(0x1c9))/0x5+parseInt(f(0x1b5))/0x6*(parseInt(f(0x1c0))/0x7)+-parseInt(f(0x1be))/0x8*(-parseInt(f(0x1c2))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x38b70));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a33d;if(c){const e=c[g(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const h=a33d;return a33a[h(0x1c6)]()[h(0x1cb)]('(((.+)+)+)+$')[h(0x1c6)]()[h(0x1b2)](a33a)[h(0x1cb)]('(((.+)+)+)+$');});a33a();function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a33d(a,b);}import{Command}from'./command.js';export class SearchCommand extends Command{static [a33i(0x1bc)]=a33i(0x1cb);static ['description']=a33i(0x1b4);[a33i(0x1bd)](){const j=a33i,a=this[j(0x1ca)][j(0x1c7)][j(0x1bb)]['listItems']();if(a[j(0x1c3)]===0x0)return this[j(0x1c8)][j(0x1b3)](j(0x1c5)+this[j(0x1ca)][j(0x1ba)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0x1b6);const b=a[j(0x1cc)](',\x20');return this[j(0x1c8)][j(0x1b3)](j(0x1c5)+this[j(0x1ca)][j(0x1ba)]+'\x20found\x20the\x20following\x20items:\x20'+b),j(0x1bf)+b;}}
@@ -1 +1 @@
1
- const a32h=a32d;(function(a,b){const f=a32d,c=a();while(!![]){try{const d=parseInt(f(0x126))/0x1+-parseInt(f(0x120))/0x2+parseInt(f(0x133))/0x3*(parseInt(f(0x127))/0x4)+parseInt(f(0x11d))/0x5+-parseInt(f(0x12c))/0x6*(-parseInt(f(0x11b))/0x7)+parseInt(f(0x12f))/0x8+-parseInt(f(0x12d))/0x9*(parseInt(f(0x125))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0xa592e));const a32b=(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;};}()),a32a=a32b(this,function(){const g=a32d;return a32a[g(0x130)]()[g(0x12a)]('(((.+)+)+)+$')[g(0x130)]()[g(0x122)](a32a)[g(0x12a)](g(0x128));});a32a();function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x11b;let f=c[d];return f;},a32d(a,b);}function a32c(){const j=['6468bijSBy','2313CBmjwC','actor','1298432lGRYkh','toString','message','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','12141uzxUXX','4123BKOgux','rewardItem','1758415HfnRhm','write','join','2323324YCnAhE','SolveCommand:\x20','constructor','puzzle','addItem','5690aYXhpV','250341ZFZlbn','580xNbJWE','(((.+)+)+)+$','solve','search','success'];a32c=function(){return j;};return a32c();}import{Command}from'./command.js';class SolveCommand extends Command{static ['verb']=a32h(0x129);static ['description']='Attempt\x20to\x20solve\x20a\x20puzzle.';['execute'](a){const i=a32h,b=a[i(0x11f)]('\x20')['toLowerCase'](),c=this[i(0x12e)]['currentLocation'];if(!c||!c['puzzle'])return this['logger'][i(0x11e)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),i(0x132);const d=c[i(0x123)][i(0x129)](b,this[i(0x12e)]['inventory']);return d[i(0x12b)]&&c[i(0x123)][i(0x11c)]&&this[i(0x12e)]['inventory'][i(0x124)](c[i(0x123)][i(0x11c)]),this['logger'][i(0x11e)](i(0x121)+d[i(0x131)]),d[i(0x131)];}}export{SolveCommand};
1
+ const a34h=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0xd8))/0x1+parseInt(f(0xf1))/0x2*(-parseInt(f(0xed))/0x3)+parseInt(f(0xe4))/0x4*(parseInt(f(0xdc))/0x5)+parseInt(f(0xf2))/0x6*(parseInt(f(0xe0))/0x7)+-parseInt(f(0xe2))/0x8+-parseInt(f(0xde))/0x9+parseInt(f(0xee))/0xa*(-parseInt(f(0xe6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xe9077));const a34b=(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;};}()),a34a=a34b(this,function(){const g=a34d;return a34a['toString']()['search']('(((.+)+)+)+$')[g(0xdd)]()[g(0xe7)](a34a)['search'](g(0xea));});function a34c(){const j=['join','56PIAJij','rewardItem','11753027rPfgWT','constructor','SolveCommand:\x20','inventory','(((.+)+)+)+$','execute','addItem','30apyAVb','30nOQqud','toLowerCase','solve','36904MypLDg','5193990iVdMmG','1830634FOZknZ','actor','message','logger','387895CxRqqx','toString','301986BwDRqS','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','14fFZtZJ','puzzle','2161104gacxHg'];a34c=function(){return j;};return a34c();}a34a();import{Command}from'./command.js';function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xd8;let f=c[d];return f;},a34d(a,b);}export class SolveCommand extends Command{static ['verb']='solve';static ['description']='Attempt\x20to\x20solve\x20a\x20puzzle.';[a34h(0xeb)](a){const i=a34h,b=a[i(0xe3)]('\x20')[i(0xef)](),c=this[i(0xd9)]['currentLocation'];if(!c||!c[i(0xe1)])return this[i(0xdb)]['write']('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),i(0xdf);const d=c[i(0xe1)][i(0xf0)](b,this['actor']['inventory']);return d['success']&&c['puzzle'][i(0xe5)]&&this[i(0xd9)][i(0xe9)][i(0xec)](c[i(0xe1)][i(0xe5)]),this[i(0xdb)]['write'](i(0xe8)+d[i(0xda)]),d[i(0xda)];}}
@@ -1 +1 @@
1
- function a33c(){const l=['write','Successfully\x20removed\x20\x22','11754920wlLQib','hasItem','join','8lTiIqs','\x22\x20is\x20too\x20heavy\x20to\x20carry.','9bNKdCu','addInventory','name','inventory','take','296776MtwHlH','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','You\x20have\x20taken\x20the\x20','\x22\x20not\x20retrieved\x20from\x20','2645512UpTdjA','logger','Successfully\x20added\x20\x22','2442396bCCQPO','\x22\x20to\x20','Pick\x20up\x20an\x20item.','apply','35PJaVEH','actor','description','toString','getItem','removeItem','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','7594566UTsrOJ','search','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Item\x20\x22','66477Unzqlp','57612NuTmed','\x22\x20in\x20this\x20room.','There\x20is\x20no\x20item\x20\x22'];a33c=function(){return l;};return a33c();}const a33i=a33d;(function(a,b){const f=a33d,c=a();while(!![]){try{const d=-parseInt(f(0x148))/0x1+-parseInt(f(0x141))/0x2*(-parseInt(f(0x15e))/0x3)+parseInt(f(0x14f))/0x4+-parseInt(f(0x153))/0x5*(parseInt(f(0x15f))/0x6)+parseInt(f(0x15a))/0x7+-parseInt(f(0x14c))/0x8*(-parseInt(f(0x143))/0x9)+-parseInt(f(0x13e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x8c794));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a33d;if(c){const e=c[g(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const h=a33d;return a33a[h(0x156)]()[h(0x15b)]('(((.+)+)+)+$')[h(0x156)]()['constructor'](a33a)[h(0x15b)]('(((.+)+)+)+$');});a33a();import{Command}from'./command.js';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x13b;let f=c[d];return f;},a33d(a,b);}class TakeCommand extends Command{static ['verb']='take';static [a33i(0x155)]=a33i(0x151);['execute'](a){const j=a33i;return this[j(0x14d)]['write'](j(0x149)+a[j(0x140)]('\x20')),this[j(0x147)](a);}['take'](a){const k=a33i,b=a[k(0x140)]('\x20')['toLowerCase'](),c=this[k(0x154)]['currentLocation'];if(!c[k(0x146)][k(0x13f)](b))return this['logger'][k(0x13c)](k(0x15d)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x145)]+'\x20during\x20\x27Take\x27\x20command.'),k(0x13b)+b+k(0x160);const d=c[k(0x146)][k(0x157)](b);if(!d)return this[k(0x14d)][k(0x13c)]('Item\x20\x22'+b+k(0x14b)+c['name']+k(0x15c)),k(0x13b)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0x154)][k(0x144)](d),this[k(0x14d)]['write'](k(0x14e)+b+k(0x150)+this[k(0x154)]['name']+k(0x159)),c[k(0x146)][k(0x158)](b),this[k(0x14d)][k(0x13c)](k(0x13d)+b+'\x22\x20from\x20'+c['name']+k(0x15c)),k(0x14a)+b+'.';}catch(e){return this[k(0x14d)][k(0x13c)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e['message']),'The\x20item\x20\x22'+b+k(0x142);}}}export{TakeCommand};
1
+ const a35h=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=parseInt(f(0x9d))/0x1+-parseInt(f(0xae))/0x2*(parseInt(f(0xb5))/0x3)+parseInt(f(0x9e))/0x4*(parseInt(f(0x93))/0x5)+-parseInt(f(0xa3))/0x6+parseInt(f(0x92))/0x7+-parseInt(f(0xa4))/0x8+parseInt(f(0xb2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x26282));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(0xaa)]()['search'](g(0x9b))[g(0xaa)]()['constructor'](a35a)[g(0x91)]('(((.+)+)+)+$');});a35a();function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x90;let f=c[d];return f;},a35d(a,b);}import{Command}from'./command.js';export class TakeCommand extends Command{static [a35h(0x9c)]='take';static [a35h(0xa8)]=a35h(0xad);[a35h(0x95)](a){const i=a35h;return this[i(0xa7)]['write'](i(0xb4)+a[i(0xa2)]('\x20')),this['take'](a);}[a35h(0xa0)](a){const j=a35h,b=a[j(0xa2)]('\x20')[j(0xb3)](),c=this[j(0xac)][j(0xa5)];if(!c[j(0x9f)]['hasItem'](b))return this[j(0xa7)][j(0xa9)](j(0xa6)+b+'\x22\x20not\x20found\x20in\x20'+c['name']+'\x20during\x20\x27Take\x27\x20command.'),j(0x97)+b+j(0x94);const d=c[j(0x9f)]['getItem'](b);if(!d)return this[j(0xa7)][j(0xa9)](j(0xa6)+b+j(0x90)+c[j(0xab)]+j(0xb0)),'There\x20is\x20no\x20item\x20\x22'+b+'\x22\x20in\x20this\x20room.';try{return this[j(0xac)]['addInventory'](d),this[j(0xa7)][j(0xa9)]('Successfully\x20added\x20\x22'+b+j(0xa1)+this[j(0xac)][j(0xab)]+j(0x98)),c['inventory'][j(0x9a)](b),this[j(0xa7)][j(0xa9)]('Successfully\x20removed\x20\x22'+b+'\x22\x20from\x20'+c[j(0xab)]+j(0xb0)),j(0xaf)+b+'.';}catch(e){return this[j(0xa7)][j(0xa9)](j(0xb1)+e[j(0x99)]),j(0x96)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}function a35c(){const k=['search','851599xrUEsn','5nUvJOv','\x22\x20in\x20this\x20room.','execute','The\x20item\x20\x22','There\x20is\x20no\x20item\x20\x22','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','message','removeItem','(((.+)+)+)+$','verb','207672TbGchq','694588uTirJG','inventory','take','\x22\x20to\x20','join','668754OczHAU','1026864KXMnmB','currentLocation','Item\x20\x22','logger','description','write','toString','name','actor','Pick\x20up\x20an\x20item.','90836vVzmGc','You\x20have\x20taken\x20the\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Error\x20during\x20\x27Take\x27\x20command:\x20','673227JwSbRQ','toLowerCase','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','12WMWorI','\x22\x20not\x20retrieved\x20from\x20'];a35c=function(){return k;};return a35c();}
@@ -1 +1 @@
1
- function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xd1;let f=c[d];return f;},a34d(a,b);}const a34i=a34d;function a34c(){const k=['(((.+)+)+)+$','599973vHqKgG','50aVeqou','write','verb','3448214PZnQkb','11KEBSSh','constructor','toString','description','unequip','440BJWKYC','search','4914960emckwK','445650BUHPRI','actor','apply','execute','2jgayvI','3879dPTKNE','toLowerCase','4144284wHVBmh','\x20unqeuiped\x20','8152WzuiHg','22050TGimbd','name','UnequipCommand:\x20'];a34c=function(){return k;};return a34c();}(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0xdb))/0x1*(parseInt(f(0xd1))/0x2)+parseInt(f(0xd7))/0x3*(parseInt(f(0xe5))/0x4)+-parseInt(f(0xdc))/0x5*(parseInt(f(0xe8))/0x6)+-parseInt(f(0xdf))/0x7+-parseInt(f(0xd6))/0x8*(-parseInt(f(0xd2))/0x9)+-parseInt(f(0xe7))/0xa*(-parseInt(f(0xe0))/0xb)+-parseInt(f(0xd4))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xb92b1));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0xe2)]()['search'](h(0xda))[h(0xe2)]()[h(0xe1)](a34a)[h(0xe6)](h(0xda));});a34a();import{Command}from'./command.js';class UnequipCommand extends Command{static [a34i(0xde)]='unqeuip';static [a34i(0xe3)]='Unequip\x20an\x20item.';[a34i(0xeb)](a){const j=a34i,b=a['join']('\x20')[j(0xd3)](),c=this[j(0xe9)][j(0xe4)](b);return this['logger'][j(0xdd)](j(0xd9)+this[j(0xe9)][j(0xd8)]+j(0xd5)+c),c;}}export{UnequipCommand};
1
+ function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1b4;let f=c[d];return f;},a36d(a,b);}const a36i=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0x1bb))/0x1+parseInt(f(0x1cb))/0x2+-parseInt(f(0x1bd))/0x3*(parseInt(f(0x1ca))/0x4)+parseInt(f(0x1ba))/0x5+-parseInt(f(0x1c6))/0x6*(parseInt(f(0x1b9))/0x7)+-parseInt(f(0x1b5))/0x8*(-parseInt(f(0x1c4))/0x9)+parseInt(f(0x1c2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xc6220));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a36d;if(c){const e=c[g(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a[h(0x1bc)]()[h(0x1b6)]('(((.+)+)+)+$')['toString']()['constructor'](a36a)['search']('(((.+)+)+)+$');});a36a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a36i(0x1b7)]=a36i(0x1bf);static [a36i(0x1c7)]=a36i(0x1c3);[a36i(0x1b8)](a){const j=a36i,b=a[j(0x1c5)]('\x20')[j(0x1c0)](),c=this['actor'][j(0x1b4)](b);return this['logger'][j(0x1be)]('UnequipCommand:\x20'+this[j(0x1c8)][j(0x1c9)]+'\x20unqeuiped\x20'+c),c;}}function a36c(){const k=['8478153OJmZqy','join','30BvlbEr','description','actor','name','480Qndkhb','851446VPnJco','unequip','8vccKZb','search','verb','execute','1718885dvNxJi','4381985uZhkiv','143237gmRxVr','toString','18741lYrzjA','write','unqeuip','toLowerCase','apply','6880670yTfTUc','Unequip\x20an\x20item.'];a36c=function(){return k;};return a36c();}
@@ -1 +1 @@
1
- const a35k=a35d;(function(a,b){const h=a35d,c=a();while(!![]){try{const d=parseInt(h(0x1e2))/0x1*(-parseInt(h(0x1f4))/0x2)+parseInt(h(0x1e0))/0x3*(parseInt(h(0x1d5))/0x4)+-parseInt(h(0x1ce))/0x5+-parseInt(h(0x1ec))/0x6*(parseInt(h(0x1d9))/0x7)+-parseInt(h(0x1db))/0x8+parseInt(h(0x1ee))/0x9+-parseInt(h(0x1ef))/0xa*(-parseInt(h(0x1e4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x6b506));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a35d;if(c){const e=c[i(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const j=a35d;return a35a['toString']()[j(0x1ed)](j(0x1dc))[j(0x1d7)]()[j(0x1e6)](a35a)[j(0x1ed)]('(((.+)+)+)+$');});a35a();function a35c(){const n=['description','1014ELUhDP','search','487800vPGwwu','2010evDayO','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','inventory','getItem','80auYdbA','toLowerCase','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','\x20is\x20attempted\x20to\x20unlock\x20','UnlockCommand:\x20No\x20target\x20specified.','error','hasItem','554295NLTCsP','get','\x22\x20here.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','unlock','exits','.\x20Result:\x20','1052CIXjJP','execute','toString','verb','23541OUzKdR','name','1939880sbHkKm','(((.+)+)+)+$','has','write','UnlockCommand:\x20','3270FEulow','actor','15590HtygJo','unlockItemOrSolution','89969BYkqAN','isValidDirection','constructor','There\x27s\x20no\x20door\x20named\x20\x22','apply','logger','attemptUnlockExit'];a35c=function(){return n;};return a35c();}function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a35d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';class UnlockCommand extends Command{static [a35k(0x1d8)]=a35k(0x1d2);static [a35k(0x1eb)]='Unlock\x20a\x20door.';[a35k(0x1d6)](a){const l=a35k;return this[l(0x1d2)](a);}[a35k(0x1d2)](a){const m=a35k;if(a['length']===0x0)return this[m(0x1e9)][m(0x1f9)](m(0x1f8)),m(0x1f1);const b=a[0x0][m(0x1f5)](),c=this[m(0x1e1)]['currentLocation'];if(this[m(0x1e5)](b)&&c[m(0x1d3)][m(0x1dd)](b)){const d=c[m(0x1d3)][m(0x1cf)](b);if(d instanceof Door){const e=d[m(0x1e3)]?.[m(0x1f5)]();if(e&&this[m(0x1e1)][m(0x1f2)][m(0x1fa)](e)){const f=this['actor'][m(0x1f2)][m(0x1f3)](e);if(f){const g=c[m(0x1ea)](b,f[m(0x1da)]);return this[m(0x1e9)]['write'](m(0x1df)+this['actor'][m(0x1da)]+m(0x1f7)+b+m(0x1d4)+g),g;}}return this[m(0x1e9)][m(0x1de)](m(0x1df)+this[m(0x1e1)]['name']+m(0x1f0)+b+'.'),m(0x1f6);}else return this[m(0x1e9)][m(0x1de)](m(0x1df)+b+m(0x1d1)+c[m(0x1da)]+'.'),m(0x1e7)+b+m(0x1d0);}else return this[m(0x1e9)][m(0x1de)](m(0x1df)+b+m(0x1d1)+c[m(0x1da)]+'.'),m(0x1e7)+b+m(0x1d0);}}export{UnlockCommand};
1
+ const a37k=a37d;(function(a,b){const h=a37d,c=a();while(!![]){try{const d=-parseInt(h(0x10d))/0x1*(-parseInt(h(0x121))/0x2)+-parseInt(h(0x114))/0x3*(-parseInt(h(0x115))/0x4)+-parseInt(h(0x12b))/0x5*(-parseInt(h(0x110))/0x6)+-parseInt(h(0x11a))/0x7+parseInt(h(0x10b))/0x8+parseInt(h(0x125))/0x9+-parseInt(h(0x12a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xefd34));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x10b;let f=c[d];return f;},a37d(a,b);}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a37d;if(c){const e=c[i(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const j=a37d;return a37a[j(0x113)]()[j(0x10c)](j(0x12e))[j(0x113)]()[j(0x123)](a37a)[j(0x10c)]('(((.+)+)+)+$');});a37a();import{Door}from'../models/door.js';function a37c(){const n=['6835iJeQRa','logger','attemptUnlockExit','(((.+)+)+)+$','verb','\x22\x20here.','exits','error','\x20is\x20attempted\x20to\x20unlock\x20','apply','12446536DkxnsA','search','1319vsuRNX','getItem','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','7386MuCKtY','has','isValidDirection','toString','10227GiDkHP','668jTAVRD','There\x27s\x20no\x20door\x20named\x20\x22','hasItem','unlock','actor','5365759JqbhhS','inventory','write','description','unlockItemOrSolution','name','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','1816iUSnkG','UnlockCommand:\x20No\x20target\x20specified.','constructor','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','13228902ZdqQrX','currentLocation','toLowerCase','UnlockCommand:\x20','.\x20Result:\x20','47265660vkyqpb'];a37c=function(){return n;};return a37c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a37k(0x12f)]=a37k(0x118);static [a37k(0x11d)]='Unlock\x20a\x20door.';['execute'](a){const l=a37k;return this[l(0x118)](a);}[a37k(0x118)](a){const m=a37k;if(a['length']===0x0)return this['logger'][m(0x132)](m(0x122)),m(0x10f);const b=a[0x0][m(0x127)](),c=this[m(0x119)][m(0x126)];if(this[m(0x112)](b)&&c['exits'][m(0x111)](b)){const d=c[m(0x131)]['get'](b);if(d instanceof Door){const e=d[m(0x11e)]?.[m(0x127)]();if(e&&this[m(0x119)][m(0x11b)][m(0x117)](e)){const f=this[m(0x119)][m(0x11b)][m(0x10e)](e);if(f){const g=c[m(0x12d)](b,f[m(0x11f)]);return this['logger']['write'](m(0x128)+this[m(0x119)][m(0x11f)]+m(0x133)+b+m(0x129)+g),g;}}return this[m(0x12c)][m(0x11c)](m(0x128)+this[m(0x119)][m(0x11f)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),m(0x124);}else return this[m(0x12c)][m(0x11c)](m(0x128)+b+m(0x120)+c[m(0x11f)]+'.'),m(0x116)+b+m(0x130);}else return this[m(0x12c)][m(0x11c)](m(0x128)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x11f)]+'.'),m(0x116)+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- const a36i=a36d;function a36c(){const l=[',\x20which\x20is\x20not\x20in\x20their\x20inventory.','909304mBPJyQ','5PMsfwv','write','description','4966698AEkTaT','toLowerCase','toString','actor','constructor','\x20to\x20use.','1510089GFgkEM','join','search','584498Tokvqs','(((.+)+)+)+$','4449716UVThlO','getItem','\x27s\x20inventory.','You\x20don\x27t\x20have\x20the\x20','inventory','\x20used\x20','use','\x20not\x20retrieved\x20from\x20','4938592JxDMzN','\x20attempted\x20to\x20use\x20','execute','logger','name','verb','\x20doesn\x27t\x20have\x20a\x20use\x20method.','3TofwaM','function','14646933llgWqN','UseCommand:\x20','apply'];a36c=function(){return l;};return a36c();}(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0xd4))/0x1+-parseInt(f(0xeb))/0x2+-parseInt(f(0xe5))/0x3*(parseInt(f(0xd6))/0x4)+-parseInt(f(0xec))/0x5*(-parseInt(f(0xcb))/0x6)+-parseInt(f(0xd1))/0x7+parseInt(f(0xde))/0x8+parseInt(f(0xe7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xac2d6));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a36d;if(c){const e=c[g(0xe9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a[h(0xcd)]()[h(0xd3)](h(0xd5))['toString']()[h(0xcf)](a36a)['search'](h(0xd5));});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xca;let f=c[d];return f;},a36d(a,b);}a36a();import{Command}from'./command.js';class UseCommand extends Command{static [a36i(0xe3)]=a36i(0xdc);static [a36i(0xca)]='Use\x20an\x20item.';[a36i(0xe0)](a){const j=a36i;return this[j(0xdc)](a);}[a36i(0xdc)](a){const k=a36i,b=a[k(0xd2)]('\x20')[k(0xcc)]();if(!this[k(0xce)][k(0xda)]['hasItem'](b))return this[k(0xe1)][k(0xed)](k(0xe8)+this[k(0xce)][k(0xe2)]+k(0xdf)+b+k(0xea)),k(0xd9)+b+'\x20to\x20use.';const c=this[k(0xce)][k(0xda)][k(0xd7)](b);if(!c)return this[k(0xe1)][k(0xed)](k(0xe8)+b+k(0xdd)+this[k(0xce)][k(0xe2)]+k(0xd8)),k(0xd9)+b+k(0xd0);if(typeof c[k(0xdc)]===k(0xe6)){const d=c[k(0xdc)]();return this['logger'][k(0xed)](k(0xe8)+this[k(0xce)][k(0xe2)]+k(0xdb)+b+'.'),d;}else return this[k(0xe1)][k(0xed)](k(0xe8)+b+k(0xe4)),'You\x20can\x27t\x20use\x20the\x20'+b+'\x20in\x20this\x20way.';}}export{UseCommand};
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x19f))/0x1+-parseInt(f(0x1a8))/0x2+parseInt(f(0x1a6))/0x3*(parseInt(f(0x193))/0x4)+parseInt(f(0x188))/0x5+-parseInt(f(0x19b))/0x6*(-parseInt(f(0x18e))/0x7)+-parseInt(f(0x190))/0x8+-parseInt(f(0x195))/0x9*(parseInt(f(0x18f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xa4a81));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1a0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x1a2)](h(0x1a3))['toString']()[h(0x189)](a38a)[h(0x1a2)](h(0x1a3));});a38a();import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x184;let f=c[d];return f;},a38d(a,b);}function a38c(){const l=['\x20used\x20','\x20not\x20retrieved\x20from\x20','4997655pRZYbj','constructor','name','toLowerCase','description','verb','2568307yUhCrn','8090SMbwJm','756640GStKXq','logger','use','1416JsWKeB','function','2097tiQylS','inventory','actor','Use\x20an\x20item.','\x20doesn\x27t\x20have\x20a\x20use\x20method.','You\x20don\x27t\x20have\x20the\x20','6tuholG','execute','UseCommand:\x20','You\x20can\x27t\x20use\x20the\x20','308065YRHkjl','apply','\x20to\x20use.','search','(((.+)+)+)+$','\x20in\x20this\x20way.','getItem','8586FymKPm','join','2228010XZmoMm','\x20attempted\x20to\x20use\x20','write'];a38c=function(){return l;};return a38c();}export class UseCommand extends Command{static [a38i(0x18d)]=a38i(0x192);static [a38i(0x18c)]=a38i(0x198);[a38i(0x19c)](a){const j=a38i;return this[j(0x192)](a);}[a38i(0x192)](a){const k=a38i,b=a[k(0x1a7)]('\x20')[k(0x18b)]();if(!this[k(0x197)][k(0x196)]['hasItem'](b))return this['logger'][k(0x185)](k(0x19d)+this[k(0x197)]['name']+k(0x184)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x1a1);const c=this[k(0x197)][k(0x196)][k(0x1a5)](b);if(!c)return this[k(0x191)]['write']('UseCommand:\x20'+b+k(0x187)+this[k(0x197)][k(0x18a)]+'\x27s\x20inventory.'),k(0x19a)+b+k(0x1a1);if(typeof c[k(0x192)]===k(0x194)){const d=c[k(0x192)]();return this[k(0x191)][k(0x185)](k(0x19d)+this[k(0x197)][k(0x18a)]+k(0x186)+b+'.'),d;}else return this[k(0x191)][k(0x185)]('UseCommand:\x20'+b+k(0x199)),k(0x19e)+b+k(0x1a4);}}
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x18b))/0x1*(-parseInt(f(0x189))/0x2)+-parseInt(f(0x18c))/0x3+parseInt(f(0x190))/0x4+-parseInt(f(0x18a))/0x5+-parseInt(f(0x18f))/0x6+parseInt(f(0x196))/0x7*(parseInt(f(0x18e))/0x8)+parseInt(f(0x192))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xe7603));function a37c(){const m=['getAllRegisteredCommands','2mZaYXv','553975dQddrP','184187HuFQgr','5409060LenvJd','(((.+)+)+)+$','8yeahdV','6318042naCPlj','6312828TWAjxv','registerCommand','7382862AlBPoX','search','constructor','commandMap','11901393ySinNm','toString','apply'];a37c=function(){return m;};return a37c();}function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x188;let f=c[d];return f;},a37d(a,b);}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x197)]()[h(0x193)](h(0x18d))[h(0x197)]()[h(0x194)](a37a)[h(0x193)](h(0x18d));});a37a();class CommandFactory{static [a37i(0x195)]={};static[a37i(0x191)](a,b){const j=a37i;this[j(0x195)][a]=b;}static['createCommand'](a,b){const k=a37i,c=this[k(0x195)][a];if(c)return new c(b);return null;}static[a37i(0x188)](){const l=a37i;return this[l(0x195)];}}export{CommandFactory};
1
+ function a39c(){const k=['search','getAllRegisteredCommands','1125341RpfhGD','13RnRMSC','toString','constructor','28892aoZcTT','3377979shtGyH','5SsJeHW','commandMap','1115644qASrQu','createCommand','3793914RDuwbA','656178qHQNpu','registerCommand','3TzhvYD','24aEBzxG','5613320pzPTyh'];a39c=function(){return k;};return a39c();}const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x1cc))/0x1*(-parseInt(f(0x1cf))/0x2)+-parseInt(f(0x1c6))/0x3*(-parseInt(f(0x1c1))/0x4)+-parseInt(f(0x1bf))/0x5*(-parseInt(f(0x1c4))/0x6)+-parseInt(f(0x1cb))/0x7*(-parseInt(f(0x1c7))/0x8)+-parseInt(f(0x1c3))/0x9+-parseInt(f(0x1c8))/0xa+parseInt(f(0x1d0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x5d66c));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 g=a39d;return a39a['toString']()[g(0x1c9)]('(((.+)+)+)+$')[g(0x1cd)]()[g(0x1ce)](a39a)[g(0x1c9)]('(((.+)+)+)+$');});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1bf;let f=c[d];return f;},a39d(a,b);}a39a();export class CommandFactory{static [a39h(0x1c0)]={};static[a39h(0x1c5)](a,b){const i=a39h;this[i(0x1c0)][a]=b;}static[a39h(0x1c2)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a39h(0x1ca)](){const j=a39h;return this[j(0x1c0)];}}
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x18d))/0x1+parseInt(f(0x171))/0x2+parseInt(f(0x185))/0x3*(-parseInt(f(0x16d))/0x4)+parseInt(f(0x174))/0x5+parseInt(f(0x17f))/0x6+parseInt(f(0x16b))/0x7*(-parseInt(f(0x179))/0x8)+-parseInt(f(0x17b))/0x9*(parseInt(f(0x17e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x4db02));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x167)](h(0x17a))[h(0x188)]()['constructor'](a38a)[h(0x167)](h(0x17a));});a38a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x167;let f=c[d];return f;},a38d(a,b);}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a38c(){const o=['bodyarmor','2639yeRCCA','key','331000AESRIG','convertToRoomConfig','setPuzzle','toUpperCase','1175292AQyzyd','INSIDE','rewardItem','1445955vWGwKj','sword','inventory','description','book','5512uILMda','(((.+)+)+)+$','2204487ACmbFl','name','gauntlets','30EVNQko','3094242rewSfy','type','content','helmet','items','puzzle','12LhcQUf','apply','createItem','toString','roomType','gloves','boots','createPuzzle','251248rliTTP','search','createRoom','isStartRoom'];a38c=function(){return o;};return a38c();}export class RoomFactory{[a38i(0x168)](a){const j=a38i,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[j(0x183)]){const d=new Inventory();a[j(0x183)]['forEach'](e=>{const k=j;d['addItem'](this[k(0x187)](e));}),c[j(0x176)]=d;}return a[j(0x184)]&&c[j(0x16f)](this[j(0x18c)](a['puzzle'])),c;}[a38i(0x187)](a){const l=a38i;switch(a[l(0x180)]){case l(0x16c):return new Key(a[l(0x17c)],a[l(0x177)]);case l(0x178):return new Book(a[l(0x17c)],a[l(0x177)],a[l(0x181)]);case l(0x175):return new Sword(a[l(0x17c)],a['description']);case'rifle':return new Rifle(a[l(0x17c)],a[l(0x177)]);case l(0x182):return new Helmet(a[l(0x17c)],a['description']);case l(0x16a):return new BodyArmor(a[l(0x17c)],a[l(0x177)]);case'legarmor':return new LegArmor(a['name'],a['description']);case l(0x18b):return new Boots(a[l(0x17c)],a[l(0x177)]);case l(0x18a):return new Gloves(a[l(0x17c)],a[l(0x177)]);case l(0x17d):return new Gauntlets(a['name'],a[l(0x177)]);default:return new BasicItem(a[l(0x17c)],a[l(0x177)]);}}[a38i(0x18c)](a){const m=a38i,b=this[m(0x187)](a[m(0x173)]);return new Puzzle({...a,'rewardItem':b});}[a38i(0x16e)](a){const n=a38i,b=a[n(0x189)]&&RoomType[a['roomType'][n(0x170)]()]?RoomType[a[n(0x189)][n(0x170)]()]:RoomType[n(0x172)];return{'name':a[n(0x17c)],'description':a[n(0x177)],'isStartRoom':a[n(0x169)],'roomType':b};}}
1
+ const a40k=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x116))/0x1*(parseInt(f(0x114))/0x2)+-parseInt(f(0xf9))/0x3+-parseInt(f(0x110))/0x4+parseInt(f(0x103))/0x5*(parseInt(f(0x10b))/0x6)+parseInt(f(0x11b))/0x7+parseInt(f(0x107))/0x8+-parseInt(f(0x102))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x978c0));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xfb)]()[h(0xfe)]('(((.+)+)+)+$')[h(0xfb)]()[h(0x100)](a40a)['search'](h(0xfa));});a40a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a40c(){const o=['INSIDE','sword','search','apply','constructor','roomType','5550912QpfYqA','45PNbnEh','gloves','toUpperCase','rifle','6680600eQGamO','isStartRoom','inventory','legarmor','129528eJwcQy','puzzle','name','gauntlets','key','233004JBjsYS','createItem','description','items','166BbyecY','book','11621qUQZoa','convertToRoomConfig','boots','addItem','content','3219433DUQlAT','type','createPuzzle','3474222TGJmrQ','(((.+)+)+)+$','toString'];a40c=function(){return o;};return a40c();}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xf9;let f=c[d];return f;},a40d(a,b);}import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const i=a40d,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[i(0x113)]){const d=new Inventory();a[i(0x113)]['forEach'](e=>{const j=i;d[j(0x119)](this[j(0x111)](e));}),c[i(0x109)]=d;}return a[i(0x10c)]&&c['setPuzzle'](this[i(0x11d)](a[i(0x10c)])),c;}[a40k(0x111)](a){const l=a40k;switch(a[l(0x11c)]){case l(0x10f):return new Key(a[l(0x10d)],a[l(0x112)]);case l(0x115):return new Book(a[l(0x10d)],a[l(0x112)],a[l(0x11a)]);case l(0xfd):return new Sword(a[l(0x10d)],a['description']);case l(0x106):return new Rifle(a[l(0x10d)],a['description']);case'helmet':return new Helmet(a['name'],a[l(0x112)]);case'bodyarmor':return new BodyArmor(a[l(0x10d)],a[l(0x112)]);case l(0x10a):return new LegArmor(a[l(0x10d)],a[l(0x112)]);case l(0x118):return new Boots(a[l(0x10d)],a[l(0x112)]);case l(0x104):return new Gloves(a['name'],a[l(0x112)]);case l(0x10e):return new Gauntlets(a[l(0x10d)],a['description']);default:return new BasicItem(a[l(0x10d)],a[l(0x112)]);}}['createPuzzle'](a){const m=a40k,b=this[m(0x111)](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a40k(0x117)](a){const n=a40k,b=a['roomType']&&RoomType[a[n(0x101)]['toUpperCase']()]?RoomType[a[n(0x101)][n(0x105)]()]:RoomType[n(0xfc)];return{'name':a[n(0x10d)],'description':a['description'],'isStartRoom':a[n(0x108)],'roomType':b};}}
@@ -1 +1 @@
1
- const a39k=a39d;(function(a,b){const h=a39d,c=a();while(!![]){try{const d=parseInt(h(0x96))/0x1*(parseInt(h(0x8c))/0x2)+-parseInt(h(0xa2))/0x3+parseInt(h(0x90))/0x4+parseInt(h(0x91))/0x5*(parseInt(h(0xa3))/0x6)+-parseInt(h(0xb2))/0x7*(-parseInt(h(0xab))/0x8)+parseInt(h(0xa5))/0x9+parseInt(h(0xac))/0xa*(-parseInt(h(0xa6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x764e4));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x88;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a39d;if(c){const e=c[i(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const j=a39d;return a39a[j(0xb0)]()['search']('(((.+)+)+)+$')[j(0xb0)]()[j(0x97)](a39a)[j(0xa8)]('(((.+)+)+)+$');});a39a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';function a39c(){const s=['handleInput','scene','look','-\x20quit:\x20Exit\x20the\x20game.\x0a','createCommand','getDescription','2LaSVPY','getAllRegisteredCommands','quit','use','2018836bVXLEV','2099645jkuINu','apply','drop','determineStartRoom','-\x20clear:\x20Clear\x20the\x20screen.\x0a','873571ngcXIg','constructor','getWelcomeMessage','lock','registerCommands','getRooms','instance','take','currentRoom','getInstance','toLowerCase','hasOwnProperty','634050PgGDza','6WUFkVq','execute','3200049AivJVv','25647787Pkldde','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','search','equip','say','6990216IzKVQg','10LdAQsn','slice','registerCommand','trim','toString','player','7VAnrVZ','getHelpMessage','unlock','initialize','unequip','clear'];a39c=function(){return s;};return a39c();}import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a39k(0x9c)];[a39k(0xb9)];[a39k(0xb1)];[a39k(0x9e)];['rooms'];constructor(a,b){const l=a39k;this[l(0xb1)]=a,this[l(0xb9)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0xb5)](),this[l(0xb1)]['currentLocation']=this[l(0x94)](),this['registerCommands']();}[a39k(0x9a)](){const m=a39k;CommandFactory['registerCommand'](m(0x88),LookCommand),CommandFactory[m(0xae)]('go',GoCommand),CommandFactory['registerCommand'](m(0x9d),TakeCommand),CommandFactory[m(0xae)](m(0x8f),UseCommand),CommandFactory[m(0xae)](m(0xa9),EquipCommand),CommandFactory['registerCommand'](m(0xb6),UnequipCommand),CommandFactory[m(0xae)]('solve',SolveCommand),CommandFactory[m(0xae)](m(0x93),DropCommand),CommandFactory['registerCommand'](m(0xb4),UnlockCommand),CommandFactory[m(0xae)](m(0x99),LockCommand),CommandFactory[m(0xae)](m(0xa8),SearchCommand),CommandFactory[m(0xae)](m(0xaa),SayCommand);}[a39k(0x94)](){const n=a39k;return this[n(0xb9)][n(0x94)]();}[a39k(0x98)](){const o=a39k;return'Welcome,\x20'+this[o(0xb1)]['name'];}static[a39k(0x9f)](a,b){const p=a39k;return!Game[p(0x9c)]&&(Game['instance']=new Game(a,b)),Game['instance'];}[a39k(0xb8)](a){const q=a39k,b=a[q(0xaf)]()['split']('\x20'),c=b[0x0][q(0xa0)](),d=b[q(0xad)](0x1);if(c===q(0x8e))return null;if(c==='maka')return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c==='help')return this[q(0xb3)]();if(c===q(0xb7))return'';const e={'actor':this['player'],'rooms':this[q(0xb9)][q(0x9b)](),'scene':this[q(0xb9)]},f=CommandFactory[q(0x8a)](c,e);if(f){const g=f[q(0xa4)](d);return g;}return q(0xa7)+c+'\x22.';}[a39k(0xb3)](){const r=a39k,a=CommandFactory[r(0x8d)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0xa1)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x8b)]()+'\x0a';}}return b+=r(0x95),b+=r(0x89),b;}}
1
+ const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x184))/0x1*(parseInt(h(0x17c))/0x2)+-parseInt(h(0x190))/0x3*(parseInt(h(0x175))/0x4)+-parseInt(h(0x16f))/0x5+-parseInt(h(0x18d))/0x6*(parseInt(h(0x18c))/0x7)+parseInt(h(0x19e))/0x8*(-parseInt(h(0x16e))/0x9)+-parseInt(h(0x189))/0xa+-parseInt(h(0x186))/0xb*(-parseInt(h(0x185))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x7a608));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x18a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x196)]()[j(0x16c)](j(0x193))[j(0x196)]()[j(0x17d)](a41a)[j(0x16c)](j(0x193));});a41a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';function a41c(){const s=['22368082ellJIU','toLowerCase','drop','6005510fSojAi','apply','determineStartRoom','203GzwIvC','73218KjTjdi','name','scene','1452855GMWmQG','hasOwnProperty','instance','(((.+)+)+)+$','lock','getWelcomeMessage','toString','-\x20quit:\x20Exit\x20the\x20game.\x0a','createCommand','player','registerCommands','execute','Available\x20Commands:\x0a','rooms','8SfACCI','quit','look','solve','unlock','getHelpMessage','clear','search','take','4707117ZeCpbI','3790430jLLPhL','getDescription','initialize','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','use','unequip','8EUAzHk','say','registerCommand','getInstance','getRooms','currentRoom','Welcome,\x20','723122jBBvnt','constructor','handleInput','equip','-\x20clear:\x20Clear\x20the\x20screen.\x0a','slice','help','maka','1EtSSXD','24QDMErL'];a41c=function(){return s;};return a41c();}import{LockCommand}from'./commands/lock.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x167;let f=c[d];return f;},a41d(a,b);}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a41k(0x192)];[a41k(0x18f)];[a41k(0x199)];[a41k(0x17a)];[a41k(0x19d)];constructor(a,b){const l=a41k;this[l(0x199)]=a,this[l(0x18f)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x18f)][l(0x171)](),this[l(0x199)]['currentLocation']=this[l(0x18b)](),this[l(0x19a)]();}['registerCommands'](){const m=a41k;CommandFactory[m(0x177)](m(0x167),LookCommand),CommandFactory[m(0x177)]('go',GoCommand),CommandFactory[m(0x177)](m(0x16d),TakeCommand),CommandFactory[m(0x177)](m(0x173),UseCommand),CommandFactory[m(0x177)](m(0x17f),EquipCommand),CommandFactory[m(0x177)](m(0x174),UnequipCommand),CommandFactory['registerCommand'](m(0x168),SolveCommand),CommandFactory['registerCommand'](m(0x188),DropCommand),CommandFactory[m(0x177)](m(0x169),UnlockCommand),CommandFactory[m(0x177)](m(0x194),LockCommand),CommandFactory['registerCommand'](m(0x16c),SearchCommand),CommandFactory[m(0x177)](m(0x176),SayCommand);}[a41k(0x18b)](){const n=a41k;return this[n(0x18f)][n(0x18b)]();}[a41k(0x195)](){const o=a41k;return o(0x17b)+this[o(0x199)][o(0x18e)];}static[a41k(0x178)](a,b){const p=a41k;return!Game[p(0x192)]&&(Game[p(0x192)]=new Game(a,b)),Game[p(0x192)];}[a41k(0x17e)](a){const q=a41k,b=a['trim']()['split']('\x20'),c=b[0x0][q(0x187)](),d=b[q(0x181)](0x1);if(c===q(0x19f))return null;if(c===q(0x183))return q(0x172);if(c===q(0x182))return this[q(0x16a)]();if(c===q(0x16b))return'';const e={'actor':this['player'],'rooms':this[q(0x18f)][q(0x179)](),'scene':this['scene']},f=CommandFactory[q(0x198)](c,e);if(f){const g=f[q(0x19b)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a41k(0x16a)](){const r=a41k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x19c);for(const c in a){if(a[r(0x191)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x170)]()+'\x0a';}}return b+=r(0x180),b+=r(0x197),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0xcb))/0x1*(-parseInt(f(0xd2))/0x2)+parseInt(f(0xd4))/0x3+-parseInt(f(0xd7))/0x4+parseInt(f(0xc9))/0x5*(parseInt(f(0xcd))/0x6)+parseInt(f(0xcf))/0x7*(-parseInt(f(0xd1))/0x8)+parseInt(f(0xd0))/0x9+parseInt(f(0xd3))/0xa*(parseInt(f(0xc8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xa2cd3));function a40c(){var i=['7702569ohDAMu','6326352vTztIe','8vTcUWe','4npKVeu','10xIpiSG','1436901ojOIuR','search','apply','1041384rLpzyk','9104755ziCtkW','437455zPfJbA','toString','78517gtMxfM','(((.+)+)+)+$','12hYbyRT','constructor'];a40c=function(){return i;};return a40c();}var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0xd6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a['toString']()[h(0xd5)](h(0xcc))[h(0xca)]()[h(0xce)](a40a)['search'](h(0xcc));});function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0xc8;var f=c[d];return f;},a40d(a,b);}a40a();export*from'./door.js';export*from'./inventory.js';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
+ (function(a,b){var f=a42d,c=a();while(!![]){try{var d=parseInt(f(0xb8))/0x1*(-parseInt(f(0xb1))/0x2)+parseInt(f(0xbc))/0x3+parseInt(f(0xb7))/0x4+parseInt(f(0xb5))/0x5+-parseInt(f(0xba))/0x6+-parseInt(f(0xb2))/0x7*(parseInt(f(0xb3))/0x8)+parseInt(f(0xbe))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x5fd4b));var a42b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a42d;if(c){var e=c[g(0xb6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){var h=a42d;return a42a['toString']()['search']('(((.+)+)+)+$')[h(0xb9)]()[h(0xb4)](a42a)[h(0xbb)](h(0xbd));});a42a();export*from'./door.js';function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0xb1;var f=c[d];return f;},a42d(a,b);}export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a42c(){var i=['246guULdp','161BaHgZA','130072CUDKEa','constructor','3246530CqZPSB','apply','988784wwMzGt','5749dWxxzn','toString','4415892ZIheje','search','67659UNzOqy','(((.+)+)+)+$','11614806THZvPJ'];a42c=function(){return i;};return a42c();}export*from'./scene.js';
@@ -1 +1 @@
1
- function a41d(a,b){var c=a41c();return a41d=function(d,e){d=d-0x9b;var f=c[d];return f;},a41d(a,b);}var a41i=a41d;(function(a,b){var f=a41d,c=a();while(!![]){try{var d=-parseInt(f(0xa3))/0x1*(-parseInt(f(0x9c))/0x2)+parseInt(f(0x9f))/0x3+parseInt(f(0xa2))/0x4*(parseInt(f(0xb0))/0x5)+parseInt(f(0x9d))/0x6*(-parseInt(f(0xbb))/0x7)+parseInt(f(0xb7))/0x8*(parseInt(f(0xae))/0x9)+parseInt(f(0xa6))/0xa+parseInt(f(0xb6))/0xb*(-parseInt(f(0xa0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xac0d9));var a41b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a41d;if(c){var e=c[g(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){var h=a41d;return a41a['toString']()[h(0xb8)]('(((.+)+)+)+$')[h(0xba)]()[h(0xa4)](a41a)['search'](h(0xaf));});a41a();import{Logger}from'../utilities/logger.js';function a41c(){var o=['logger','Door\x20created\x20between\x20','unlockItemOrSolution','getInstance','445869kSDugD','(((.+)+)+)+$','5860805TulPla','.\x20Used:\x20','name','.\x20Is\x20Locked:\x20','Failed\x20to\x20unlock\x20door:\x20','\x20and\x20','22leWRXH','40EcLWfW','search','roomB','toString','2628451flTCDj','roomA','1466tvBThj','12FJlCsD','isLockable','696369iWalBC','16096152EQgDoS','Door\x20unlocked:\x20','4qlFkgv','1853dpHVtt','constructor','write','11281690EYtPbW','checkIfLocked','apply','isLocked'];a41c=function(){return o;};return a41c();}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a41i(0x9b)];[a41i(0xb9)];[a41i(0xa9)];[a41i(0xac)];[a41i(0xb2)];[a41i(0xaa)];[a41i(0x9e)];constructor(a){var j=a41i;super(),this[j(0x9b)]=a[j(0x9b)],this[j(0xb9)]=a[j(0xb9)],this[j(0xa9)]=a[j(0xa9)]||![],this[j(0xac)]=a['unlockItemOrSolution'],this[j(0xb2)]=a['name']?capitalCase(a[j(0xb2)]):'To\x20'+a[j(0xb9)][j(0xb2)],this[j(0xaa)]=Logger[j(0xad)](),this['isLockable']=!!a[j(0xac)],this[j(0xaa)][j(0xa5)](j(0xab)+this[j(0x9b)][j(0xb2)]+j(0xb5)+this[j(0xb9)]['name']+j(0xb3)+this[j(0xa9)]);}['getOtherSide'](a){var k=a41i;return this['roomA']===a?this[k(0xb9)]:this[k(0x9b)];}['attemptUnlock'](a){var l=a41i;if(this['isLocked']&&this[l(0xac)]&&this[l(0xac)]===a)return this['isLocked']=![],this[l(0xaa)][l(0xa5)](l(0xa1)+this[l(0xb2)]+l(0xb1)+a),!![];return this[l(0xaa)][l(0xa5)](l(0xb4)+this['name']+l(0xb1)+a),![];}[a41i(0xa7)](){var m=a41i;return this[m(0xa9)];}['checkIfLockable'](){var n=a41i;return this[n(0x9e)];}}
1
+ var a43h=a43d;(function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x1a2))/0x1*(-parseInt(f(0x1b3))/0x2)+parseInt(f(0x1a7))/0x3+parseInt(f(0x1bc))/0x4+parseInt(f(0x1b8))/0x5+parseInt(f(0x1bd))/0x6+-parseInt(f(0x1aa))/0x7+parseInt(f(0x1b6))/0x8*(-parseInt(f(0x1bb))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x7d39c));var a43b=(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;};}()),a43a=a43b(this,function(){var g=a43d;return a43a[g(0x1ac)]()[g(0x1ab)](g(0x1a9))[g(0x1ac)]()[g(0x1b9)](a43a)[g(0x1ab)]('(((.+)+)+)+$');});a43a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a43c(){var m=['unlockItemOrSolution','attemptUnlock','4348744uhyBIM','isLockable','4096315FJyzHn','constructor','Failed\x20to\x20unlock\x20door:\x20','18jttHeU','3722320rZcYig','1150524JJnMpw','name','94893hsjtsO','\x20and\x20','roomB','.\x20Is\x20Locked:\x20','write','2568057QAjJTA','logger','(((.+)+)+)+$','7054040ICUowb','search','toString','Door\x20unlocked:\x20','isLocked','Door\x20created\x20between\x20','To\x20','checkIfLockable','roomA','4iRFCUY'];a43c=function(){return m;};return a43c();}function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x1a1;var f=c[d];return f;},a43d(a,b);}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a43h(0x1a4)];['isLocked'];['unlockItemOrSolution'];[a43h(0x1a1)];[a43h(0x1a8)];[a43h(0x1b7)];constructor(a){var i=a43h;super(),this['roomA']=a[i(0x1b2)],this[i(0x1a4)]=a['roomB'],this['isLocked']=a['isLocked']||![],this[i(0x1b4)]=a['unlockItemOrSolution'],this[i(0x1a1)]=a[i(0x1a1)]?capitalCase(a['name']):i(0x1b0)+a['roomB']['name'],this[i(0x1a8)]=Logger['getInstance'](),this[i(0x1b7)]=!!a['unlockItemOrSolution'],this[i(0x1a8)][i(0x1a6)](i(0x1af)+this[i(0x1b2)][i(0x1a1)]+i(0x1a3)+this['roomB'][i(0x1a1)]+i(0x1a5)+this[i(0x1ae)]);}['getOtherSide'](a){var j=a43h;return this['roomA']===a?this[j(0x1a4)]:this[j(0x1b2)];}[a43h(0x1b5)](a){var k=a43h;if(this[k(0x1ae)]&&this['unlockItemOrSolution']&&this[k(0x1b4)]===a)return this[k(0x1ae)]=![],this['logger'][k(0x1a6)](k(0x1ad)+this['name']+'.\x20Used:\x20'+a),!![];return this['logger'][k(0x1a6)](k(0x1ba)+this[k(0x1a1)]+'.\x20Used:\x20'+a),![];}['checkIfLocked'](){var l=a43h;return this[l(0x1ae)];}[a43h(0x1b1)](){return this['isLockable'];}}
@@ -1 +1 @@
1
- const a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x140))/0x1+-parseInt(f(0x142))/0x2*(parseInt(f(0x13c))/0x3)+-parseInt(f(0x14d))/0x4+-parseInt(f(0x14e))/0x5*(parseInt(f(0x14f))/0x6)+parseInt(f(0x14a))/0x7+-parseInt(f(0x159))/0x8*(parseInt(f(0x144))/0x9)+parseInt(f(0x13e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xc8bca));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['toString']()[g(0x14c)](g(0x153))[g(0x156)]()[g(0x160)](a42a)[g(0x14c)](g(0x153));});a42a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a42c(){const q=['name','873jCMETY','get','hasItem','listItems','Added\x20item:\x20','Failed\x20to\x20remove\x20item:\x20','9825102aiZDjP','getAllItems','search','2658892aPvBVU','5188765TpVmns','6WZPiIv','delete','getItem','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','(((.+)+)+)+$','items','Removed\x20item:\x20','toString','set','addItem','60152gFYtKb','join','getWeight','Retrieved\x20details\x20for\x20item:\x20','removeItem','Checked\x20for\x20item:\x20','toLowerCase','constructor','map','has','\x20from\x20inventory.','keys','logger','\x20in\x20','.\x20Exists:\x20','\x20to\x20inventory.','572259EagNMB','values','6147430wUJdrs','.\x20Item\x20not\x20found.','1617214KkduKe','write','4uhyMsk'];a42c=function(){return q;};return a42c();}function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x138;let f=c[d];return f;},a42d(a,b);}export class Inventory extends AbstractInventory{[a42h(0x154)];[a42h(0x138)];constructor(){const i=a42h;super(),this[i(0x154)]=new Map(),this[i(0x138)]=Logger['getInstance']();}[a42h(0x158)](a){const j=a42h;this['items'][j(0x157)](a[j(0x143)][j(0x15f)](),a),this['logger'][j(0x141)](j(0x148)+a[j(0x143)]+j(0x13b));}[a42h(0x15d)](a){const k=a42h,b=this[k(0x151)](a);if(b)return this[k(0x154)][k(0x150)](a[k(0x15f)]()),this[k(0x138)][k(0x141)](k(0x155)+a+k(0x163)),b;return this[k(0x138)]['write'](k(0x149)+a+k(0x13f)),null;}[a42h(0x146)](a){const l=a42h,b=this[l(0x154)][l(0x162)](a[l(0x15f)]()),c=[...this[l(0x154)][l(0x164)]()];return this[l(0x138)][l(0x141)](l(0x15e)+a+l(0x139)+c[l(0x15a)](',\x20')+l(0x13a)+b+'.'),b;}[a42h(0x151)](a){const m=a42h,b=this[m(0x154)][m(0x145)](a['toLowerCase']())||null;return b?this[m(0x138)][m(0x141)](m(0x15c)+a+'.'):this[m(0x138)]['write'](m(0x152)+a+m(0x13f)),b;}[a42h(0x147)](){const n=a42h,a=[...this[n(0x154)][n(0x164)]()],b=a[n(0x161)](c=>capitalCase(c));return this[n(0x138)][n(0x141)]('Listed\x20items\x20in\x20inventory:\x20'+b['join'](',\x20')+'.'),a;}[a42h(0x15b)](){const o=a42h;let a=0x0;for(const b of this[o(0x154)][o(0x13d)]()){a+=b['weight'];}return a;}[a42h(0x14b)](){const p=a42h;return[...this['items'][p(0x13d)]()];}}
1
+ function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x156;let f=c[d];return f;},a44d(a,b);}const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x160))/0x1+-parseInt(f(0x174))/0x2+-parseInt(f(0x157))/0x3*(parseInt(f(0x171))/0x4)+-parseInt(f(0x15a))/0x5*(-parseInt(f(0x173))/0x6)+parseInt(f(0x177))/0x7+-parseInt(f(0x162))/0x8+parseInt(f(0x158))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x7bf59));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x17f)]()[h(0x163)]('(((.+)+)+)+$')[h(0x17f)]()['constructor'](a44a)[h(0x163)](h(0x176));});a44a();function a44c(){const r=['has','get','listItems','\x20to\x20inventory.','getWeight','weight','473656gwfAZo','\x20from\x20inventory.','5646cnSMNX','2014214CGbAIh','\x20in\x20','(((.+)+)+)+$','1795885FLVWEf','.\x20Item\x20not\x20found.','Checked\x20for\x20item:\x20','toLowerCase','items','Added\x20item:\x20','getInstance','Retrieved\x20details\x20for\x20item:\x20','toString','map','6xhlyNW','15165414jFCdsJ','keys','885dugVek','apply','values','.\x20Exists:\x20','getItem','write','504103eZNLJu','logger','6884712sCslfZ','search','set','hasItem','addItem','name','join','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','Removed\x20item:\x20'];a44c=function(){return r;};return a44c();}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a44i(0x161)];constructor(){const j=a44i;super(),this['items']=new Map(),this[j(0x161)]=Logger[j(0x17d)]();}[a44i(0x166)](a){const k=a44i;this[k(0x17b)][k(0x164)](a[k(0x167)][k(0x17a)](),a),this['logger']['write'](k(0x17c)+a[k(0x167)]+k(0x16e));}['removeItem'](a){const l=a44i,b=this[l(0x15e)](a);if(b)return this[l(0x17b)]['delete'](a[l(0x17a)]()),this['logger']['write'](l(0x16a)+a+l(0x172)),b;return this[l(0x161)]['write']('Failed\x20to\x20remove\x20item:\x20'+a+l(0x178)),null;}[a44i(0x165)](a){const m=a44i,b=this[m(0x17b)][m(0x16b)](a[m(0x17a)]()),c=[...this[m(0x17b)][m(0x159)]()];return this[m(0x161)][m(0x15f)](m(0x179)+a+m(0x175)+c['join'](',\x20')+m(0x15d)+b+'.'),b;}['getItem'](a){const n=a44i,b=this['items'][n(0x16c)](a[n(0x17a)]())||null;return b?this[n(0x161)][n(0x15f)](n(0x17e)+a+'.'):this[n(0x161)][n(0x15f)](n(0x169)+a+n(0x178)),b;}[a44i(0x16d)](){const o=a44i,a=[...this[o(0x17b)][o(0x159)]()],b=a[o(0x156)](c=>capitalCase(c));return this[o(0x161)][o(0x15f)]('Listed\x20items\x20in\x20inventory:\x20'+b[o(0x168)](',\x20')+'.'),a;}[a44i(0x16f)](){const p=a44i;let a=0x0;for(const b of this[p(0x17b)][p(0x15c)]()){a+=b[p(0x170)];}return a;}['getAllItems'](){const q=a44i;return[...this[q(0x17b)][q(0x15c)]()];}}
@@ -1 +1 @@
1
- var a43i=a43d;(function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x12c))/0x1+-parseInt(f(0x11e))/0x2*(-parseInt(f(0x12f))/0x3)+parseInt(f(0x133))/0x4*(-parseInt(f(0x128))/0x5)+-parseInt(f(0x124))/0x6*(-parseInt(f(0x121))/0x7)+-parseInt(f(0x126))/0x8*(-parseInt(f(0x12d))/0x9)+-parseInt(f(0x125))/0xa*(parseInt(f(0x118))/0xb)+parseInt(f(0x12a))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x89eb2));function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x117;var f=c[d];return f;},a43d(a,b);}function a43c(){var l=['rating','apply','1818NYiGzm','8635170uLqFrB','48rqMhqP','(((.+)+)+)+$','5KvBjpF','uuid','5721348XmPXkh','You\x20use\x20the\x20','546413FzTXTL','1178190NtBiiH','description','665715oBTeFW','category','size','color','4417264Lpfdio','.\x20Nothing\x20special\x20happens.','11GUkcdU','shape','use','texture','toString','name','8XZytAV','weight','constructor','21469UhVgfl'];a43c=function(){return l;};return a43c();}var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x11c)]()['search'](h(0x127))[h(0x11c)]()[h(0x120)](a43a)['search'](h(0x127));});a43a();import{v4 as a43e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a43i(0x129)];[a43i(0x11d)];[a43i(0x12e)];['size'];[a43i(0x130)];[a43i(0x119)];[a43i(0x132)];[a43i(0x11b)];[a43i(0x122)];[a43i(0x11f)];constructor(a){var j=a43i;super(),this['name']=a[j(0x11d)],this['description']=a[j(0x12e)],this[j(0x131)]=a[j(0x131)],this[j(0x130)]=a[j(0x130)],this[j(0x119)]=a[j(0x119)],this[j(0x132)]=a[j(0x132)],this[j(0x11b)]=a[j(0x11b)],this[j(0x122)]=a[j(0x122)],this['weight']=a[j(0x11f)],this[j(0x129)]=a43e();}[a43i(0x11a)](){var k=a43i;return k(0x12b)+this['name']+k(0x117);}}
1
+ function a45c(){var l=['14823sPOocb','20MmKwUV','search','name','.\x20Nothing\x20special\x20happens.','color','texture','12VkOIcG','shape','730XSpcQg','8963480ifJquu','You\x20use\x20the\x20','use','toString','apply','size','description','24EjWekb','80113MLCaIV','(((.+)+)+)+$','category','rating','weight','2174514bCalsS','13679FmuhmM','653571TkLCPG','20JytSAO','3308256blIVEn'];a45c=function(){return l;};return a45c();}var a45i=a45d;(function(a,b){var f=a45d,c=a();while(!![]){try{var d=-parseInt(f(0xe6))/0x1*(-parseInt(f(0xe8))/0x2)+-parseInt(f(0xe7))/0x3*(parseInt(f(0xdf))/0x4)+-parseInt(f(0xeb))/0x5*(-parseInt(f(0xe5))/0x6)+-parseInt(f(0xe9))/0x7+parseInt(f(0xd8))/0x8+-parseInt(f(0xea))/0x9*(parseInt(f(0xd7))/0xa)+-parseInt(f(0xe0))/0xb*(-parseInt(f(0xd5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xc6c7b));var a45b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a45d;if(c){var e=c[g(0xdc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){var h=a45d;return a45a[h(0xdb)]()[h(0xec)](h(0xe1))[h(0xdb)]()['constructor'](a45a)[h(0xec)](h(0xe1));});function a45d(a,b){var c=a45c();return a45d=function(d,e){d=d-0xd3;var f=c[d];return f;},a45d(a,b);}a45a();import{v4 as a45e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];['name'];[a45i(0xde)];[a45i(0xdd)];[a45i(0xe2)];[a45i(0xd6)];[a45i(0xd3)];[a45i(0xd4)];[a45i(0xe3)];[a45i(0xe4)];constructor(a){var j=a45i;super(),this[j(0xed)]=a['name'],this[j(0xde)]=a[j(0xde)],this['size']=a[j(0xdd)],this[j(0xe2)]=a[j(0xe2)],this[j(0xd6)]=a[j(0xd6)],this[j(0xd3)]=a['color'],this['texture']=a[j(0xd4)],this[j(0xe3)]=a[j(0xe3)],this['weight']=a[j(0xe4)],this['uuid']=a45e();}[a45i(0xda)](){var k=a45i;return k(0xd9)+this[k(0xed)]+k(0xee);}}
@@ -1 +1 @@
1
- const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x1a1))/0x1+parseInt(f(0x1a3))/0x2+-parseInt(f(0x1a0))/0x3*(parseInt(f(0x1ac))/0x4)+parseInt(f(0x19e))/0x5+-parseInt(f(0x1a5))/0x6+parseInt(f(0x1ad))/0x7*(parseInt(f(0x1b3))/0x8)+-parseInt(f(0x19d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xe3244));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()[h(0x1b1)](h(0x1aa))[h(0x1af)]()[h(0x1ae)](a44a)[h(0x1b1)]('(((.+)+)+)+$');});a44a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x19c;let f=c[d];return f;},a44d(a,b);}function a44c(){const o=['20kCQqZI','7iOEgLb','constructor','toString','execute','search','moveTo','11449288yrZMIa','rooms','speak','27819351FbFrbC','8001180USLdRA','random','154731fdWkrz','963363hPIuwZ','scene','1230700ExywIb','name','1984884ZpGSuA','floor','_name','length','apply','(((.+)+)+)+$','_dialogue'];a44c=function(){return o;};return a44c();}export class NPC extends Player{[a44i(0x1a7)];[a44i(0x1ab)];[a44i(0x1b4)];[a44i(0x1a2)];constructor(a,b,c,d){const j=a44i;super(d),this[j(0x1a7)]=a,this[j(0x1ab)]=b,this[j(0x1b4)]=c;}get['name'](){const k=a44i;return this[k(0x1a7)];}[a44i(0x19c)](){const l=a44i;return this[l(0x1ab)][Math[l(0x1a6)](Math[l(0x19f)]()*this['_dialogue']['length'])];}['autonomousMove'](a){const m=a44i,b=a[Math[m(0x1a6)](Math[m(0x19f)]()*a[m(0x1a8)])];this[m(0x1b2)](b[m(0x1a4)]);}[a44i(0x1b2)](a){const n=a44i,b={'actor':this,'rooms':this[n(0x1b4)],'scene':this[n(0x1a2)]},c=new GoCommand(b);c[n(0x1b0)]([a]);}}
1
+ const a46i=a46d;function a46c(){const o=['length','15880116BGyFIB','name','3188636TMbEak','toString','moveTo','4byIMWi','21ytOAnT','floor','(((.+)+)+)+$','execute','_dialogue','random','6301673fnhift','6onhIGX','constructor','search','rooms','_name','2734925VVfbuJ','198988eqbCMu','8AGvGue','10ssgEMp','apply','440380tzTuIU','scene','5496345NplsTu'];a46c=function(){return o;};return a46c();}(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x18f))/0x1*(parseInt(f(0x198))/0x2)+parseInt(f(0x199))/0x3*(parseInt(f(0x18b))/0x4)+parseInt(f(0x1a5))/0x5+-parseInt(f(0x1a0))/0x6*(-parseInt(f(0x19f))/0x7)+-parseInt(f(0x18c))/0x8*(parseInt(f(0x191))/0x9)+parseInt(f(0x18d))/0xa*(-parseInt(f(0x195))/0xb)+-parseInt(f(0x193))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x6e6c1));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x196)]()[h(0x1a2)](h(0x19b))[h(0x196)]()[h(0x1a1)](a46a)['search'](h(0x19b));});a46a();import{Player}from'./player.js';function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x18b;let f=c[d];return f;},a46d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a46i(0x19d)];[a46i(0x1a3)];[a46i(0x190)];constructor(a,b,c,d){const j=a46i;super(d),this[j(0x1a4)]=a,this[j(0x19d)]=b,this[j(0x1a3)]=c;}get['name'](){const k=a46i;return this[k(0x1a4)];}['speak'](){const l=a46i;return this[l(0x19d)][Math['floor'](Math[l(0x19e)]()*this['_dialogue'][l(0x192)])];}['autonomousMove'](a){const m=a46i,b=a[Math[m(0x19a)](Math[m(0x19e)]()*a['length'])];this[m(0x197)](b[m(0x194)]);}['moveTo'](a){const n=a46i,b={'actor':this,'rooms':this[n(0x1a3)],'scene':this['scene']},c=new GoCommand(b);c[n(0x19c)]([a]);}}
@@ -1 +1 @@
1
- const a45h=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x243))/0x1*(parseInt(f(0x1fc))/0x2)+parseInt(f(0x246))/0x3+parseInt(f(0x227))/0x4*(-parseInt(f(0x239))/0x5)+parseInt(f(0x1fd))/0x6*(-parseInt(f(0x219))/0x7)+parseInt(f(0x210))/0x8+parseInt(f(0x20e))/0x9+-parseInt(f(0x231))/0xa*(parseInt(f(0x22d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xc2f73));function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a45d(a,b);}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[g(0x21e)]()[g(0x236)](g(0x1f0))[g(0x21e)]()[g(0x228)](a45a)[g(0x236)](g(0x1f0));});function a45c(){const A=['feet','boots','leaveRoom','leftHand','hear','Removed\x20','4741058EiIaHW','shield','name','canEquip','armarmor','toString','removeItem','Added\x20','currentLocation','weapon','values','Weapon','log','\x20is\x20now\x20listening\x20in\x20room\x20','572FrVBZC','constructor','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','rightHand','includes','legarmor','19998605HwfezB','\x20from\x20player\x27s\x20inventory.','addInventory','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','10kmerCQ','getWeight','logger','speak','_equipment','search','write','_inventory','11755wnNDeT','enterRoom','ArmArmor','torso','determineEquipmentSlot','equipment','\x20in\x20your\x20inventory.','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','Nexus','hasItem','518186SWOEOH','BodyArmor','maxCarryingWeight','3147183TITXLR','_maxCarryingWeight','toLowerCase','\x20is\x20no\x20longer\x20listeng\x20in\x20','currentWeight','Hat','addItem','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','(((.+)+)+)+$','head','_playerName','Gloves','removeInventory','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','inventoryItems','unequipBySlot','getInstance','Invalid\x20category\x20or\x20slot:\x20','unequip','startLocation','4VFjHsL','6DGGbgK','.\x20You\x20must\x20unequip\x20it\x20first.','hat','bodyarmor','body\x20armor','legs','helmet','gloves','weight','arms','initialEquipment','category','arm\x20armor','equip','\x20to\x20player\x27s\x20inventory.','Helmet','_currentLocation','7203069JnRwCn','Boots','5954776dRjqul','Max\x20carrying\x20weight\x20must\x20be\x20positive.','LegArmor'];a45c=function(){return A;};return a45c();}a45a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a45h(0x1f2)];['_currentLocation'];[a45h(0x238)];['_equipment'];[a45h(0x247)]=0x32;['logger'];constructor(a){const i=a45h;super(),this[i(0x1f2)]=a['playerName'],this['_currentLocation']=a[i(0x1fb)]||new Room({'name':i(0x241),'description':'A\x20featureless\x20room'}),this[i(0x238)]=new Inventory(),this['logger']=Logger[i(0x1f8)]();if(a?.[i(0x1f6)])for(const b of a[i(0x1f6)]){this[i(0x238)]['addItem'](b);}this['_equipment']=a?.[i(0x207)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a45h(0x21b)](){const j=a45h;return this[j(0x1f2)];}get[a45h(0x221)](){return this['_currentLocation'];}set[a45h(0x221)](a){const k=a45h;this[k(0x20d)]!==a&&(this[k(0x215)](),this[k(0x23a)](a)),this[k(0x20d)]=a;}get['inventory'](){const l=a45h;return this[l(0x238)];}get[a45h(0x23e)](){const m=a45h;return this[m(0x235)];}set[a45h(0x23e)](a){this['_equipment']=a;}get['maxCarryingWeight'](){const n=a45h;return this[n(0x247)];}set[a45h(0x245)](a){const o=a45h;a>0x0?this[o(0x247)]=a:console['error'](o(0x211));}get[a45h(0x24a)](){const p=a45h;let a=this[p(0x238)][p(0x232)]();for(const b in this[p(0x235)]){const c=this[p(0x235)][b];c&&(a+=c[p(0x205)]);}return a;}[a45h(0x22f)](a){const q=a45h;if(this[q(0x24a)]+a['weight']>this[q(0x245)]){this['logger']['write'](q(0x1ef));throw new Error(q(0x229));}this[q(0x238)][q(0x1ee)](a),this[q(0x233)][q(0x237)](q(0x220)+a[q(0x21b)]+q(0x20b));}['removeInventory'](a){const r=a45h;if(this[r(0x238)][r(0x21f)](a['name']))return this[r(0x233)][r(0x237)](r(0x218)+a[r(0x21b)]+r(0x22e)),!![];return this[r(0x233)][r(0x237)]('Failed\x20to\x20remove\x20'+a[r(0x21b)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a45h(0x20a)](a){const s=a45h;if(!this['_inventory'][s(0x242)](a['name']))return'You\x20don\x27t\x20have\x20'+a[s(0x21b)]+s(0x23f);if(!this[s(0x21c)](a))return'You\x20can\x27t\x20equip\x20'+a[s(0x21b)]+'.';const b=this[s(0x23d)](a[s(0x208)]);if(!b)return a[s(0x21b)]+s(0x1f5);if(this['equipment'][b])return s(0x240)+b+s(0x1fe);return this['equipment'][b]=a,this[s(0x1f4)](a),'You\x20equipped\x20'+a[s(0x21b)]+'.';}[a45h(0x1fa)](a){const t=a45h;let b=a;if(!this[t(0x23e)][camelCase(b)]){b=this[t(0x23d)](a);if(!b)return t(0x1f9)+a+'.';}return this[t(0x1f7)](b);}['determineEquipmentSlot'](a){const u=a45h;switch(a[u(0x248)]()){case Category[u(0x224)]['toLowerCase']():return u(0x22a);case Category['Shield']['toLowerCase']():return u(0x216);case Category[u(0x1f3)][u(0x248)]():return u(0x204);case Category[u(0x20c)][u(0x248)]():case Category[u(0x24b)][u(0x248)]():return u(0x1f1);case Category[u(0x20f)][u(0x248)]():return u(0x213);case Category[u(0x212)][u(0x248)]():return u(0x202);case Category[u(0x23b)][u(0x248)]():return'arms';case Category[u(0x244)][u(0x248)]():return u(0x23c);case u(0x222):return u(0x22a);case u(0x21a):return'leftHand';case u(0x204):return'gloves';case u(0x203):case u(0x1ff):return u(0x1f1);case u(0x214):return u(0x213);case'leg\x20armor':case u(0x22c):return u(0x202);case u(0x209):case u(0x21d):return u(0x206);case u(0x201):case u(0x200):case'torso':return u(0x23c);default:return null;}}['canEquip'](a){const v=a45h;return Object[v(0x223)](Category)[v(0x22b)](a[v(0x208)]);}[a45h(0x1f7)](a){const w=a45h,b=this['equipment'][a];if(!b)return w(0x230)+a+'\x20slot.';return this['addInventory'](b),this['equipment'][a]=null,'You\x20unequipped\x20'+b[w(0x21b)]+'.';}[a45h(0x217)](a,b){const x=a45h;a!==this&&this[x(0x233)][x(0x225)](a['name']+'\x20says:\x20\x22'+b+'\x22');}[a45h(0x23a)](a){const y=a45h;this[y(0x20d)]=a,a['on'](y(0x234),this['hear']['bind'](this)),this[y(0x233)][y(0x237)](this[y(0x21b)]+y(0x226)+a[y(0x21b)]);}[a45h(0x215)](){const z=a45h;this['_currentLocation']&&(this[z(0x20d)]['off'](z(0x234),this[z(0x217)]['bind'](this)),this[z(0x233)][z(0x237)](this[z(0x21b)]+z(0x249)+this[z(0x20d)][z(0x21b)]));}}
1
+ const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x21f))/0x1*(-parseInt(f(0x235))/0x2)+-parseInt(f(0x20e))/0x3*(-parseInt(f(0x245))/0x4)+-parseInt(f(0x209))/0x5*(-parseInt(f(0x247))/0x6)+-parseInt(f(0x20f))/0x7*(parseInt(f(0x211))/0x8)+-parseInt(f(0x1fe))/0x9+parseInt(f(0x243))/0xa+-parseInt(f(0x241))/0xb*(parseInt(f(0x239))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x1b121));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x21a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x23a)]()['search'](h(0x236))[h(0x23a)]()[h(0x1e9)](a47a)['search'](h(0x236));});a47a();function a47c(){const D=['A\x20featureless\x20room','helmet','legs','initialEquipment','write','2716ecmPxz','(((.+)+)+)+$','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','\x20slot.','180HWqLcq','toString','Nexus','playerName','Invalid\x20category\x20or\x20slot:\x20','hasItem','shield','removeItem','69355mTLIHR','values','1188400bpUgqK','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','567004EKZtmH','head','606786cYlXrv','Shield','bind','constructor','equipment','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','log','addInventory','_inventory','inventory','leg\x20armor','_playerName','bodyarmor','\x20from\x20player\x27s\x20inventory.','\x20in\x20your\x20inventory.','hear','determineEquipmentSlot','boots','canEquip','LegArmor','removeInventory','Weapon','enterRoom','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','146385GqxLap','You\x20can\x27t\x20equip\x20','torso','You\x20unequipped\x20','Added\x20','leaveRoom','Hat','category','_equipment','\x20is\x20now\x20listening\x20in\x20room\x20','startLocation','5mFLpzs','toLowerCase','inventoryItems','leftHand','error','3ywpHhS','7kMCLhk','currentLocation','1587160tnOuzy','Gloves','BodyArmor','_maxCarryingWeight','logger','_currentLocation','speak','feet','arms','apply','addItem','includes','weight','gloves','43nwtzpI','\x20to\x20player\x27s\x20inventory.','equip','getInstance','getWeight','.\x20You\x20must\x20unequip\x20it\x20first.','off','armarmor','maxCarryingWeight','\x20says:\x20\x22','currentWeight','legarmor','You\x20equipped\x20','name','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','unequipBySlot','unequip'];a47c=function(){return D;};return a47c();}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1e7;let f=c[d];return f;},a47d(a,b);}import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a47i(0x216)];[a47i(0x1ee)];[a47i(0x206)];[a47i(0x214)]=0x32;[a47i(0x215)];constructor(a){const j=a47i;super(),this['_playerName']=a[j(0x23c)],this[j(0x216)]=a[j(0x208)]||new Room({'name':j(0x23b),'description':j(0x230)}),this['_inventory']=new Inventory(),this['logger']=Logger[j(0x222)]();if(a?.[j(0x20b)])for(const b of a[j(0x20b)]){this['_inventory'][j(0x21b)](b);}this['_equipment']=a?.[j(0x233)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a47i;return this[k(0x1f1)];}get['currentLocation'](){const l=a47i;return this[l(0x216)];}set[a47i(0x210)](a){const m=a47i;this['_currentLocation']!==a&&(this[m(0x203)](),this[m(0x1fc)](a)),this[m(0x216)]=a;}get[a47i(0x1ef)](){const n=a47i;return this[n(0x1ee)];}get[a47i(0x1ea)](){const o=a47i;return this[o(0x206)];}set[a47i(0x1ea)](a){const p=a47i;this[p(0x206)]=a;}get['maxCarryingWeight'](){const q=a47i;return this[q(0x214)];}set[a47i(0x227)](a){const r=a47i;a>0x0?this[r(0x214)]=a:console[r(0x20d)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a47i(0x229)](){const s=a47i;let a=this[s(0x1ee)][s(0x223)]();for(const b in this[s(0x206)]){const c=this[s(0x206)][b];c&&(a+=c['weight']);}return a;}[a47i(0x1ed)](a){const t=a47i;if(this[t(0x229)]+a[t(0x21d)]>this['maxCarryingWeight']){this['logger'][t(0x234)](t(0x1eb));throw new Error(t(0x22d));}this[t(0x1ee)][t(0x21b)](a),this[t(0x215)][t(0x234)](t(0x202)+a[t(0x22c)]+t(0x220));}[a47i(0x1fa)](a){const u=a47i;if(this[u(0x1ee)][u(0x240)](a[u(0x22c)]))return this[u(0x215)][u(0x234)]('Removed\x20'+a[u(0x22c)]+u(0x1f3)),!![];return this['logger']['write']('Failed\x20to\x20remove\x20'+a[u(0x22c)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a47i(0x221)](a){const v=a47i;if(!this['_inventory'][v(0x23e)](a[v(0x22c)]))return'You\x20don\x27t\x20have\x20'+a['name']+v(0x1f4);if(!this['canEquip'](a))return v(0x1ff)+a[v(0x22c)]+'.';const b=this['determineEquipmentSlot'](a[v(0x205)]);if(!b)return a[v(0x22c)]+v(0x244);if(this[v(0x1ea)][b])return v(0x237)+b+v(0x224);return this['equipment'][b]=a,this[v(0x1fa)](a),v(0x22b)+a[v(0x22c)]+'.';}[a47i(0x22f)](a){const w=a47i;let b=a;if(!this['equipment'][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return w(0x23d)+a+'.';}return this[w(0x22e)](b);}[a47i(0x1f6)](a){const x=a47i;switch(a[x(0x20a)]()){case Category[x(0x1fb)][x(0x20a)]():return'rightHand';case Category[x(0x1e7)]['toLowerCase']():return x(0x20c);case Category[x(0x212)][x(0x20a)]():return x(0x21e);case Category['Helmet'][x(0x20a)]():case Category[x(0x204)]['toLowerCase']():return x(0x246);case Category['Boots'][x(0x20a)]():return'feet';case Category[x(0x1f9)][x(0x20a)]():return x(0x232);case Category['ArmArmor']['toLowerCase']():return x(0x219);case Category[x(0x213)][x(0x20a)]():return x(0x200);case'weapon':return'rightHand';case x(0x23f):return x(0x20c);case'gloves':return x(0x21e);case x(0x231):case'hat':return x(0x246);case x(0x1f7):return x(0x218);case x(0x1f0):case x(0x22a):return x(0x232);case'arm\x20armor':case x(0x226):return x(0x219);case'body\x20armor':case x(0x1f2):case x(0x200):return x(0x200);default:return null;}}[a47i(0x1f8)](a){const y=a47i;return Object[y(0x242)](Category)[y(0x21c)](a[y(0x205)]);}[a47i(0x22e)](a){const z=a47i,b=this[z(0x1ea)][a];if(!b)return z(0x1fd)+a+z(0x238);return this['addInventory'](b),this[z(0x1ea)][a]=null,z(0x201)+b[z(0x22c)]+'.';}['hear'](a,b){const A=a47i;a!==this&&this[A(0x215)][A(0x1ec)](a[A(0x22c)]+A(0x228)+b+'\x22');}[a47i(0x1fc)](a){const B=a47i;this[B(0x216)]=a,a['on'](B(0x217),this[B(0x1f5)]['bind'](this)),this[B(0x215)]['write'](this[B(0x22c)]+B(0x207)+a[B(0x22c)]);}[a47i(0x203)](){const C=a47i;this[C(0x216)]&&(this[C(0x216)][C(0x225)](C(0x217),this['hear'][C(0x1e8)](this)),this[C(0x215)][C(0x234)](this[C(0x22c)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this['_currentLocation']['name']));}}
@@ -1 +1 @@
1
- var a46h=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0xe9))/0x1+parseInt(f(0xe6))/0x2+parseInt(f(0xf5))/0x3+parseInt(f(0xef))/0x4+parseInt(f(0xea))/0x5*(parseInt(f(0xe8))/0x6)+-parseInt(f(0xf7))/0x7+parseInt(f(0xe3))/0x8*(parseInt(f(0xf6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xc24b0));var a46b=(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;};}()),a46a=a46b(this,function(){var g=a46d;return a46a['toString']()[g(0xe4)](g(0xfc))[g(0xec)]()[g(0xf3)](a46a)[g(0xe4)](g(0xfc));});a46a();function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xe0;var f=c[d];return f;},a46d(a,b);}function a46c(){var l=['toString','solved','rewardItem','859948jOmHnw','solve','riddle','logger','constructor','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','3212562pIhdVC','8140563vULWje','6275878ANpoQV','write','hasItem','matchesRequiredPhrase','requiredPhrase','(((.+)+)+)+$','Puzzle:\x20Correct\x20solution\x20provided.','successMessage','getInstance','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','8ktzZBi','search','requiredItem','1438780HuFYJO','hasRequiredItem','12IxZpdd','1319786YAreQH','256065utCNur','failureMessage'];a46c=function(){return l;};return a46c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a46h(0xf2)]=Logger[a46h(0xe1)]();[a46h(0xed)]=![];[a46h(0xe5)];[a46h(0xfb)];[a46h(0xf1)];[a46h(0xee)];[a46h(0xe0)];['failureMessage'];constructor(a){var i=a46h;super(),this[i(0xe5)]=a[i(0xe5)],this[i(0xfb)]=a['requiredPhrase'],this[i(0xf1)]=a[i(0xf1)],this[i(0xee)]=a[i(0xee)],this['successMessage']=a[i(0xe0)]||'You\x20solved\x20the\x20puzzle!',this[i(0xeb)]=a[i(0xeb)]||i(0xe2);}[a46h(0xe7)](a){var j=a46h;if(this['requiredItem'])return a[j(0xf9)](this[j(0xe5)]);return![];}[a46h(0xfa)](a){return this['requiredPhrase']===a;}[a46h(0xf0)](a,b){var k=a46h;if(this[k(0xed)])return this[k(0xf2)]['write'](k(0xf4)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[k(0xe7)](b)||this[k(0xfa)](a)?(this[k(0xed)]=!![],this[k(0xf2)]['write'](k(0xfd)),{'success':!![],'message':this[k(0xe0)]}):(this[k(0xf2)][k(0xf8)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[k(0xeb)]});}}
1
+ var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=parseInt(f(0x13f))/0x1*(parseInt(f(0x141))/0x2)+-parseInt(f(0x13b))/0x3*(parseInt(f(0x138))/0x4)+parseInt(f(0x13d))/0x5*(parseInt(f(0x13a))/0x6)+-parseInt(f(0x146))/0x7+-parseInt(f(0x150))/0x8+parseInt(f(0x137))/0x9+parseInt(f(0x149))/0xa*(-parseInt(f(0x13e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x23485));function a48c(){var m=['logger','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','toString','apply','getInstance','1568700JvXasX','2132yMdTvt','You\x20solved\x20the\x20puzzle!','3354isuikq','453joHoUl','riddle','1595iGNKik','11qUTPNa','213093rYEZWJ','rewardItem','2xFAXtZ','You\x20have\x20already\x20solved\x20this\x20puzzle.','matchesRequiredPhrase','write','(((.+)+)+)+$','389823VJQqUo','constructor','requiredItem','825810goUJMN','failureMessage','Puzzle:\x20Correct\x20solution\x20provided.','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','solved','hasRequiredItem','requiredPhrase','1619552OpePYe','hasItem','search','successMessage','solve'];a48c=function(){return m;};return a48c();}var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x134)]()[h(0x152)](h(0x145))['toString']()[h(0x147)](a48a)['search'](h(0x145));});a48a();function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x131;var f=c[d];return f;},a48d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a48i(0x132)]=Logger[a48i(0x136)]();[a48i(0x14d)]=![];[a48i(0x148)];[a48i(0x14f)];[a48i(0x13c)];[a48i(0x140)];[a48i(0x153)];[a48i(0x14a)];constructor(a){var j=a48i;super(),this[j(0x148)]=a[j(0x148)],this[j(0x14f)]=a['requiredPhrase'],this[j(0x13c)]=a[j(0x13c)],this['rewardItem']=a[j(0x140)],this[j(0x153)]=a[j(0x153)]||j(0x139),this[j(0x14a)]=a[j(0x14a)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}['hasRequiredItem'](a){var k=a48i;if(this[k(0x148)])return a[k(0x151)](this[k(0x148)]);return![];}[a48i(0x143)](a){return this['requiredPhrase']===a;}[a48i(0x131)](a,b){var l=a48i;if(this[l(0x14d)])return this['logger'][l(0x144)](l(0x14c)),{'success':![],'message':l(0x142)};return this[l(0x14e)](b)||this[l(0x143)](a)?(this[l(0x14d)]=!![],this[l(0x132)][l(0x144)](l(0x14b)),{'success':!![],'message':this[l(0x153)]}):(this[l(0x132)][l(0x144)](l(0x133)),{'success':![],'message':this[l(0x14a)]});}}
@@ -1 +1 @@
1
- const a47i=a47d;function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xd4;let f=c[d];return f;},a47d(a,b);}(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x103))/0x1*(-parseInt(f(0xf4))/0x2)+-parseInt(f(0x107))/0x3+parseInt(f(0xe8))/0x4*(-parseInt(f(0x106))/0x5)+-parseInt(f(0xf3))/0x6+-parseInt(f(0xef))/0x7*(-parseInt(f(0xf0))/0x8)+parseInt(f(0x102))/0x9*(-parseInt(f(0xfe))/0xa)+parseInt(f(0xde))/0xb*(-parseInt(f(0x101))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xeaf7f));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()[h(0x100)]('(((.+)+)+)+$')['toString']()[h(0xe6)](a47a)[h(0x100)]('(((.+)+)+)+$');});a47a();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';export class Room extends AbstractRoom{[a47i(0xd6)]=Logger[a47i(0xf5)]();[a47i(0xfd)];[a47i(0xeb)];[a47i(0x10a)]=new Map();['roomType'];[a47i(0xdf)];[a47i(0xe4)]=new Inventory();constructor(a){const j=a47i;super(),this[j(0xfd)]=a[j(0xfd)],this['description']=a[j(0xeb)],this['roomType']=a[j(0x10f)]||RoomType[j(0xe0)],a['exits']&&(this['exits']=a[j(0x10a)]||new Map()),a[j(0xe4)]&&(this['inventory']=a[j(0xe4)]),a[j(0x10c)]&&(this[j(0x10c)]=a[j(0x10c)]),this[j(0xdf)]=a['isStartRoom']||![],this[j(0xd6)][j(0xff)]('Room\x20created:\x20'+this['name']);}[a47i(0xda)](a,b){const k=a47i;this[k(0xe1)]('speak',a,b);}[a47i(0x104)](a,b,c){const l=a47i;let d=this[l(0xf8)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x10e)](a,d),b['exits'][l(0x10e)](this[l(0xe7)](a),d);}[a47i(0xdd)](a,b){const m=a47i,c=this[m(0x10a)][m(0x10d)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this['logger'][m(0xff)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0xd4)+d),d?m(0xea)+c[m(0xfd)]+m(0xfb):m(0xea)+c['name']+m(0xe5);}return this[m(0xd6)][m(0xff)](m(0xfa)+a),m(0xdb);}[a47i(0xfc)](a){const n=a47i;return this['logger'][n(0xff)](n(0x105)+a),this[n(0x10a)][n(0x10d)](a);}[a47i(0xe2)](a){const o=a47i,b=this['exits'][o(0x10d)](a),c=b instanceof Door&&b[o(0xd8)]();return this[o(0xd6)][o(0xff)](o(0xe9)+a+o(0xd7)+c),c;}['addItem'](a){const p=a47i;this[p(0xe4)][p(0xed)](a),this['logger']['write'](p(0xf2)+this[p(0xfd)]+':\x20'+a[p(0xfd)]);}[a47i(0xee)](a){const q=a47i;this[q(0xe4)]['hasItem'](a[q(0xfd)])?(this[q(0xe4)][q(0xee)](a['name']),this[q(0xd6)][q(0xff)]('Item\x20removed\x20from\x20room\x20'+this['name']+':\x20'+a[q(0xfd)])):this['logger']['write']('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this['name']+':\x20'+a['name']);}[a47i(0x10b)](a){const r=a47i;this['puzzle']=a,this[r(0xd6)][r(0xff)]('Puzzle\x20set\x20for\x20room\x20'+this[r(0xfd)]+':\x20'+a['riddle']);}[a47i(0xe7)](a){const s=a47i;switch(a){case'north':return Direction[s(0x109)];case s(0xe3):return Direction[s(0xec)];case s(0xf7):return Direction[s(0xf9)];case'west':return Direction['EAST'];case'up':return Direction['DOWN'];case s(0xd9):return Direction['UP'];default:throw new Error(s(0xd5)+a);}}[a47i(0xf8)](a){const t=a47i;for(const b of this[t(0x10a)][t(0xf6)]()){if(b instanceof Door){if(b[t(0xdc)]===this&&b[t(0xf1)]===a||b[t(0xf1)]===this&&b[t(0xdc)]===a)return b;}}return undefined;}}function a47c(){const u=['There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','roomA','attemptUnlockExit','1208867LjrcdX','isStartRoom','INSIDE','emit','isExitLocked','south','inventory','\x20remains\x20locked.','constructor','getOppositeDirection','1139648yhwqbc','Checking\x20if\x20exit\x20in\x20direction\x20','The\x20','description','NORTH','addItem','removeItem','7CygBBU','14554088MglEAq','roomB','Item\x20added\x20to\x20room\x20','5892102sUYtfX','14ScKttI','getInstance','values','east','findExistingDoor','WEST','No\x20locked\x20exit\x20found\x20in\x20direction\x20','\x20unlocked!','getExit','name','930qhDXLg','write','search','84otclKn','30213tBKvkb','253328zsmjTH','addExit','Fetching\x20exit\x20in\x20direction:\x20','5xIXHdm','845151TwznrF','apply','SOUTH','exits','setPuzzle','puzzle','get','set','roomType','.\x20Success:\x20','Invalid\x20direction:\x20','logger','\x20is\x20locked.\x20Result:\x20','checkIfLocked','down','say'];a47c=function(){return u;};return a47c();}
1
+ function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x119;let f=c[d];return f;},a49d(a,b);}const a49i=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0x12c))/0x1*(parseInt(f(0x12d))/0x2)+parseInt(f(0x12a))/0x3*(-parseInt(f(0x11d))/0x4)+-parseInt(f(0x12b))/0x5*(parseInt(f(0x13c))/0x6)+parseInt(f(0x125))/0x7+-parseInt(f(0x126))/0x8+-parseInt(f(0x137))/0x9*(-parseInt(f(0x14c))/0xa)+parseInt(f(0x157))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x1c910));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a['toString']()['search'](h(0x13e))[h(0x130)]()[h(0x129)](a49a)['search']('(((.+)+)+)+$');});a49a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a49c(){const u=['180AQrrgM','write','(((.+)+)+)+$','getOppositeDirection','attemptUnlockExit','\x20remains\x20locked.','Puzzle\x20set\x20for\x20room\x20','NORTH','roomB','roomType','INSIDE','.\x20Success:\x20','attemptUnlock','riddle','roomA','WEST','1343190sjYfKo','west','name','DOWN','addExit','Invalid\x20direction:\x20','No\x20locked\x20exit\x20found\x20in\x20direction\x20','speak','north','isExitLocked','south','4942025tShkSi','inventory','addItem','removeItem','hasItem','Fetching\x20exit\x20in\x20direction:\x20','6284dwWkSu','down','values','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','The\x20','say','exits','Item\x20removed\x20from\x20room\x20','57001RlaJyh','1018152GarimL','puzzle','\x20unlocked!','constructor','255ztQEKM','22910MMcrjY','76465plljDg','2ufUxij','findExistingDoor','logger','toString','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','setPuzzle','emit','get','isStartRoom','Item\x20added\x20to\x20room\x20','9XdIusz','description','apply','set','east'];a49c=function(){return u;};return a49c();}import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a49i(0x12f)]=Logger['getInstance']();[a49i(0x14e)];[a49i(0x138)];[a49i(0x123)]=new Map();[a49i(0x145)];[a49i(0x135)];[a49i(0x158)]=new Inventory();constructor(a){const j=a49i;super(),this[j(0x14e)]=a[j(0x14e)],this['description']=a['description'],this[j(0x145)]=a[j(0x145)]||RoomType[j(0x146)],a[j(0x123)]&&(this[j(0x123)]=a[j(0x123)]||new Map()),a[j(0x158)]&&(this[j(0x158)]=a['inventory']),a[j(0x127)]&&(this['puzzle']=a['puzzle']),this[j(0x135)]=a[j(0x135)]||![],this[j(0x12f)]['write']('Room\x20created:\x20'+this[j(0x14e)]);}[a49i(0x122)](a,b){const k=a49i;this[k(0x133)](k(0x153),a,b);}[a49i(0x150)](a,b,c){const l=a49i;let d=this[l(0x12e)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x123)][l(0x13a)](a,d),b[l(0x123)][l(0x13a)](this[l(0x13f)](a),d);}[a49i(0x140)](a,b){const m=a49i,c=this[m(0x123)][m(0x134)](a);if(c instanceof Door){const d=c[m(0x148)](b);return this[m(0x12f)][m(0x13d)](m(0x131)+a+m(0x147)+d),d?m(0x121)+c[m(0x14e)]+m(0x128):m(0x121)+c[m(0x14e)]+m(0x141);}return this[m(0x12f)][m(0x13d)](m(0x152)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}['getExit'](a){const n=a49i;return this[n(0x12f)][n(0x13d)](n(0x11c)+a),this['exits'][n(0x134)](a);}[a49i(0x155)](a){const o=a49i,b=this[o(0x123)]['get'](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0x12f)][o(0x13d)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a49i(0x119)](a){const p=a49i;this[p(0x158)][p(0x119)](a),this['logger'][p(0x13d)](p(0x136)+this[p(0x14e)]+':\x20'+a[p(0x14e)]);}[a49i(0x11a)](a){const q=a49i;this[q(0x158)][q(0x11b)](a['name'])?(this[q(0x158)][q(0x11a)](a[q(0x14e)]),this[q(0x12f)][q(0x13d)](q(0x124)+this['name']+':\x20'+a['name'])):this[q(0x12f)][q(0x13d)](q(0x120)+this[q(0x14e)]+':\x20'+a[q(0x14e)]);}[a49i(0x132)](a){const r=a49i;this[r(0x127)]=a,this['logger'][r(0x13d)](r(0x142)+this[r(0x14e)]+':\x20'+a[r(0x149)]);}['getOppositeDirection'](a){const s=a49i;switch(a){case s(0x154):return Direction['SOUTH'];case s(0x156):return Direction[s(0x143)];case s(0x13b):return Direction[s(0x14b)];case s(0x14d):return Direction['EAST'];case'up':return Direction[s(0x14f)];case s(0x11e):return Direction['UP'];default:throw new Error(s(0x151)+a);}}['findExistingDoor'](a){const t=a49i;for(const b of this[t(0x123)][t(0x11f)]()){if(b instanceof Door){if(b[t(0x14a)]===this&&b['roomB']===a||b[t(0x144)]===this&&b['roomA']===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a48l=a48d;(function(a,b){const i=a48d,c=a();while(!![]){try{const d=parseInt(i(0xbe))/0x1+-parseInt(i(0xb9))/0x2+-parseInt(i(0xf5))/0x3+parseInt(i(0xc5))/0x4*(parseInt(i(0xdc))/0x5)+parseInt(i(0xba))/0x6+-parseInt(i(0xe6))/0x7*(parseInt(i(0xe7))/0x8)+parseInt(i(0xb5))/0x9*(parseInt(i(0xf9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xa8da6));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a48d;if(c){const e=c[j(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const k=a48d;return a48a[k(0xf4)]()[k(0xb2)](k(0xd3))[k(0xf4)]()[k(0xcc)](a48a)['search']('(((.+)+)+)+$');});a48a();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xae;let f=c[d];return f;},a48d(a,b);}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 a48c(){const D=['(((.+)+)+)+$','addExit','allActors','player','getRooms','Added\x20room\x20to\x20scene:\x20','currentLocation','hasOwnProperty','removeRoom','5cExobx','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','generateRoomsFromConfig','toUpperCase','addItem','apply','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','delete','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','2773211GfSbRP','24AydheF','rooms','characterLocations','setCharacterLocation','keyRequired','roomConfiguration','isStartRoom','roomFactory','get','getActor','getInstance','Removed\x20room\x20from\x20scene:\x20','Room\x20\x22','toString','2415594ZlItFn','write','direction','warn','1601450OQojAv','Failed\x20to\x20set\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','addItemToRoom','name','search','addRoom','exits','45TGkaOc','keys','\x27s\x20location.\x20Room\x20','logger','2238198JqkJks','6225930hOrgxV','join','\x20not\x20found\x20in\x20scene.','from','1374645DivalF','Failed\x20to\x20add\x20item\x20','Actor\x20with\x20name\x20','push','No\x20actor\x20with\x20name\x20','set','length','2365652lBVgSw','actors','\x22\x20does\x20not\x20exist.','getPlayer','initialize','determineStartRoom','has','constructor','setPuzzle','connectRooms','Scene\x20initialized\x20with\x20rooms:\x20','\x20found\x20in\x20the\x20scene.','\x20already\x20exists\x20in\x20the\x20scene.','createExitsFromConfig'];a48c=function(){return D;};return a48c();}export class Scene extends AbstractScene{[a48l(0xe8)];[a48l(0xd6)];[a48l(0xb8)];[a48l(0xc6)];[a48l(0xe9)]=new Map();['roomFactory'];constructor(a){const m=a48l;super(),this[m(0xee)]=new RoomFactory(),this[m(0xd6)]=a['player'],this[m(0xe8)]=this['generateRoomsFromConfig'](a[m(0xec)]),this[m(0xb8)]=Logger[m(0xf1)](),this[m(0xc6)]=new Map(),this['createExitsFromConfig'](a['roomConfiguration']),this[m(0xb8)]['write'](m(0xcf)+Object['keys'](this['rooms'])[m(0xbb)](',\x20'));}[a48l(0xc9)](){const n=a48l;this[n(0xd6)][n(0xd9)]=this[n(0xca)]();}[a48l(0xdf)](a){const o=a48l;if(!this[o(0xee)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[o(0xee)]['createRoom'](c);b[c[o(0xb1)]]=d;}return b;}[a48l(0xd2)](a){const p=a48l;for(const b of a){const c=this[p(0xe8)][b[p(0xb1)]];if(b[p(0xb4)])for(const d of b['exits']){const e=d[p(0xf7)][p(0xe0)](),f=d['targetRoom'],g=d[p(0xeb)],h=this['rooms'][f];h&&c[p(0xd4)](Direction[e],h,g);}}}['addActor'](a){const q=a48l;if(this[q(0xc6)][q(0xcb)](a[q(0xb1)]))throw new Error(q(0xc0)+a[q(0xb1)]+q(0xd1));this['actors'][q(0xc3)](a[q(0xb1)],a);}['removeActor'](a){const r=a48l;if(!this['actors'][r(0xcb)](a))throw new Error(r(0xc2)+a+r(0xd0));this[r(0xc6)][r(0xe4)](a);}[a48l(0xf0)](a){const s=a48l;return this[s(0xc6)][s(0xef)](a);}get[a48l(0xd5)](){const t=a48l;return Array[t(0xbd)](this[t(0xc6)]['values']());}[a48l(0xb3)](a){const u=a48l;this[u(0xe8)][a[u(0xb1)]]=a,this['logger'][u(0xf6)](u(0xd8)+a[u(0xb1)]);}[a48l(0xdb)](a){const v=a48l;return this[v(0xe8)][a]?(delete this[v(0xe8)][a],this[v(0xb8)][v(0xf6)](v(0xf2)+a),!![]):(this[v(0xb8)][v(0xf6)](v(0xde)+a),![]);}[a48l(0xb0)](a,b){const w=a48l,c=this['rooms'][b];c?(c[w(0xe1)](a),this[w(0xb8)]['write']('Added\x20item\x20'+a['name']+'\x20to\x20room\x20'+c['name'])):this['logger'][w(0xf6)](w(0xbf)+a[w(0xb1)]+'.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}['addPuzzleToRoom'](a,b){const x=a48l,c=this[x(0xe8)][b];c?(c[x(0xcd)](a),this[x(0xb8)][x(0xf6)]('Added\x20puzzle\x20to\x20room\x20'+c[x(0xb1)])):this['logger'][x(0xf6)](x(0xdd)+b+x(0xbc));}[a48l(0xea)](a,b){const y=a48l,c=this[y(0xe8)][b];c?(this['characterLocations']['set'](a['name'],c),this[y(0xb8)][y(0xf6)](a[y(0xb1)]+'\x20is\x20now\x20in\x20room\x20'+c[y(0xb1)])):this[y(0xb8)][y(0xf6)](y(0xae)+a[y(0xb1)]+y(0xb7)+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const z=a48l;return this[z(0xe9)][z(0xef)](a['name']);}[a48l(0xca)](){const A=a48l,a=[];for(const c in this[A(0xe8)]){if(this[A(0xe8)][A(0xda)](c)){const d=this[A(0xe8)][c];d[A(0xed)]&&a[A(0xc1)](d);}}if(a[A(0xc4)]>0x1)throw new Error(A(0xe5));if(a['length']===0x1)return a[0x0];const b=Object[A(0xb6)](this[A(0xe8)]);if(b['length']===0x0)throw new Error(A(0xaf));return console[A(0xf8)](A(0xe3)),this[A(0xe8)][b[0x0]];}[a48l(0xc8)](){return this['player'];}[a48l(0xd7)](){const B=a48l;return this[B(0xe8)];}[a48l(0xce)](a,b,c,d){const C=a48l,e=this[C(0xe8)][a],f=this[C(0xe8)][c];if(!e)throw new Error(C(0xf3)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error('Room\x20\x22'+c+C(0xc7));e[C(0xd4)](b,f,d);}}
1
+ const a50k=a50d;function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x16a;let f=c[d];return f;},a50d(a,b);}(function(a,b){const i=a50d,c=a();while(!![]){try{const d=parseInt(i(0x1ad))/0x1*(parseInt(i(0x1a3))/0x2)+-parseInt(i(0x16f))/0x3+parseInt(i(0x180))/0x4*(-parseInt(i(0x16e))/0x5)+-parseInt(i(0x171))/0x6+parseInt(i(0x1a7))/0x7*(-parseInt(i(0x1ac))/0x8)+-parseInt(i(0x175))/0x9*(-parseInt(i(0x176))/0xa)+parseInt(i(0x19c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xac6e5));const a50b=(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;};}()),a50a=a50b(this,function(){const j=a50d;return a50a[j(0x16b)]()['search'](j(0x19a))[j(0x16b)]()[j(0x19b)](a50a)[j(0x17b)](j(0x19a));});function a50c(){const D=['player','14tAvzMY','Added\x20puzzle\x20to\x20room\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','\x20already\x20exists\x20in\x20the\x20scene.','join','4152208NFNLzb','9388kMKwRa','roomFactory','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','hasOwnProperty','addItem','addExit','exits','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','Room\x20\x22','characterLocations','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','warn','write','push','Scene\x20initialized\x20with\x20rooms:\x20','toString','allActors','has','2809455FRHgbE','24339AvZuUe','addItemToRoom','3694488fjLwop','values','keyRequired','set','3300489NYBFhY','20BJxwYh','get','direction','\x20not\x20found\x20in\x20scene.','Added\x20room\x20to\x20scene:\x20','search','removeActor','Removed\x20room\x20from\x20scene:\x20','getPlayer','logger','4QUaJKs','generateRoomsFromConfig','initialize','toUpperCase','getActor','determineStartRoom','addPuzzleToRoom','roomConfiguration','getCharacterLocation','setCharacterLocation','\x20found\x20in\x20the\x20scene.','keys','getRooms','length','\x27s\x20location.\x20Room\x20','name','\x20is\x20now\x20in\x20room\x20','.\x20Room\x20','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','actors','setPuzzle','Actor\x20with\x20name\x20','removeRoom','Failed\x20to\x20set\x20','\x20to\x20room\x20','addRoom','(((.+)+)+)+$','constructor','17037537UewLND','No\x20actor\x20with\x20name\x20','rooms','addActor','Failed\x20to\x20add\x20item\x20','Failed\x20to\x20add\x20puzzle.\x20Room\x20','delete','138WuoAfL','createExitsFromConfig','from'];a50c=function(){return D;};return a50c();}a50a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a50k(0x19e)];[a50k(0x1a6)];[a50k(0x17f)];[a50k(0x193)];['characterLocations']=new Map();[a50k(0x1ae)];constructor(a){const l=a50k;super(),this[l(0x1ae)]=new RoomFactory(),this[l(0x1a6)]=a[l(0x1a6)],this[l(0x19e)]=this[l(0x181)](a[l(0x187)]),this[l(0x17f)]=Logger['getInstance'](),this[l(0x193)]=new Map(),this[l(0x1a4)](a[l(0x187)]),this['logger'][l(0x1b9)](l(0x16a)+Object[l(0x18b)](this[l(0x19e)])[l(0x1ab)](',\x20'));}[a50k(0x182)](){const m=a50k;this['player']['currentLocation']=this[m(0x185)]();}[a50k(0x181)](a){const n=a50k;if(!this[n(0x1ae)])throw new Error(n(0x192));const b={};for(const c of a){const d=this[n(0x1ae)]['createRoom'](c);b[c[n(0x18f)]]=d;}return b;}[a50k(0x1a4)](a){const o=a50k;for(const b of a){const c=this[o(0x19e)][b[o(0x18f)]];if(b[o(0x1b3)])for(const d of b[o(0x1b3)]){const e=d[o(0x178)][o(0x183)](),f=d['targetRoom'],g=d[o(0x173)],h=this[o(0x19e)][f];h&&c[o(0x1b2)](Direction[e],h,g);}}}[a50k(0x19f)](a){const p=a50k;if(this[p(0x193)][p(0x16d)](a[p(0x18f)]))throw new Error(p(0x195)+a['name']+p(0x1aa));this[p(0x193)][p(0x174)](a['name'],a);}[a50k(0x17c)](a){const q=a50k;if(!this[q(0x193)][q(0x16d)](a))throw new Error(q(0x19d)+a+q(0x18a));this['actors'][q(0x1a2)](a);}[a50k(0x184)](a){const r=a50k;return this['actors'][r(0x177)](a);}get[a50k(0x16c)](){const s=a50k;return Array[s(0x1a5)](this['actors'][s(0x172)]());}[a50k(0x199)](a){const t=a50k;this['rooms'][a[t(0x18f)]]=a,this['logger'][t(0x1b9)](t(0x17a)+a[t(0x18f)]);}[a50k(0x196)](a){const u=a50k;return this[u(0x19e)][a]?(delete this[u(0x19e)][a],this[u(0x17f)][u(0x1b9)](u(0x17d)+a),!![]):(this[u(0x17f)][u(0x1b9)](u(0x1b7)+a),![]);}[a50k(0x170)](a,b){const v=a50k,c=this[v(0x19e)][b];c?(c[v(0x1b1)](a),this['logger']['write']('Added\x20item\x20'+a['name']+v(0x198)+c['name'])):this['logger']['write'](v(0x1a0)+a[v(0x18f)]+v(0x191)+b+v(0x179));}[a50k(0x186)](a,b){const w=a50k,c=this['rooms'][b];c?(c[w(0x194)](a),this[w(0x17f)]['write'](w(0x1a8)+c[w(0x18f)])):this[w(0x17f)][w(0x1b9)](w(0x1a1)+b+w(0x179));}[a50k(0x189)](a,b){const x=a50k,c=this[x(0x19e)][b];c?(this[x(0x1b6)][x(0x174)](a[x(0x18f)],c),this['logger']['write'](a[x(0x18f)]+x(0x190)+c[x(0x18f)])):this[x(0x17f)]['write'](x(0x197)+a[x(0x18f)]+x(0x18e)+b+x(0x179));}[a50k(0x188)](a){const y=a50k;return this[y(0x1b6)][y(0x177)](a[y(0x18f)]);}[a50k(0x185)](){const z=a50k,a=[];for(const c in this['rooms']){if(this[z(0x19e)][z(0x1b0)](c)){const d=this['rooms'][c];d['isStartRoom']&&a[z(0x1ba)](d);}}if(a[z(0x18d)]>0x1)throw new Error(z(0x1b4));if(a[z(0x18d)]===0x1)return a[0x0];const b=Object['keys'](this['rooms']);if(b[z(0x18d)]===0x0)throw new Error(z(0x1a9));return console[z(0x1b8)](z(0x1af)),this[z(0x19e)][b[0x0]];}[a50k(0x17e)](){const A=a50k;return this[A(0x1a6)];}[a50k(0x18c)](){const B=a50k;return this[B(0x19e)];}['connectRooms'](a,b,c,d){const C=a50k,e=this[C(0x19e)][a],f=this[C(0x19e)][c];if(!e)throw new Error(C(0x1b5)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(C(0x1b5)+c+'\x22\x20does\x20not\x20exist.');e[C(0x1b2)](b,f,d);}}
@@ -1 +1 @@
1
- var a49j=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x168))/0x1+parseInt(f(0x174))/0x2+-parseInt(f(0x178))/0x3+-parseInt(f(0x161))/0x4*(-parseInt(f(0x17d))/0x5)+parseInt(f(0x165))/0x6+parseInt(f(0x188))/0x7+-parseInt(f(0x18a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x2996c));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x182)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0x186)](h(0x180))['toString']()['constructor'](a49a)[h(0x186)](h(0x180));});a49a();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=a49d;super({'name':a,'description':b,'size':Size[i(0x189)],'category':Category[i(0x16b)],'shape':Shape[i(0x164)],'color':Color[i(0x185)],'texture':Texture['Smooth'],'rating':Rating[i(0x16c)],'weight':0x1});}[a49j(0x17e)](){var k=a49j;return this[k(0x187)];}}function a49c(){var D=['pageCount','Short\x20Sword','Blade','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','A\x20mysterious\x20book.','Large','257438DyuOmX','Grey','Rifle','Metallic','696162XlPzFd','Gloves','Circle','Holy\x20Grail','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','90uFLOTk','use','LegArmor','(((.+)+)+)+$','Smooth','apply','publishDate','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Yellow','search','description','1923670rrylyX','Medium','348408hLyPgo','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','author','BodyArmor','Boots','44776GmnRcL','Brown','Unknown\x20Author','Rectangle','821490jFLaIg','You\x20hold\x20the\x20','Helmet','295983dQxodT','Weapon','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Unknown','Common','Rare'];a49c=function(){return D;};return a49c();}export class Sword extends Item{constructor(a,b){var l=a49j;super({'name':a,'description':b,'size':Size[l(0x189)],'category':Category[l(0x169)],'shape':Shape[l(0x170)],'color':Color[l(0x175)],'texture':Texture[l(0x177)],'rating':Rating[l(0x16c)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a49j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[m(0x169)],'shape':Shape[m(0x176)],'color':Color[m(0x162)],'texture':Texture[m(0x177)],'rating':Rating[m(0x16d)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a49j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[n(0x167)],'shape':Shape[n(0x17a)],'color':Color[n(0x175)],'texture':Texture['Metallic'],'rating':Rating[n(0x16c)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a49j;super({'name':a,'description':b,'size':Size[o(0x173)],'category':Category[o(0x18d)],'shape':Shape[o(0x164)],'color':Color[o(0x175)],'texture':Texture[o(0x177)],'rating':Rating[o(0x16c)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a49j;super({'name':a,'description':b,'size':Size[p(0x189)],'category':Category[p(0x17f)],'shape':Shape[p(0x164)],'color':Color['Grey'],'texture':Texture[p(0x177)],'rating':Rating[p(0x16c)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a49j;super({'name':a,'description':b,'size':Size[q(0x189)],'category':Category[q(0x160)],'shape':Shape['Circle'],'color':Color[q(0x162)],'texture':Texture[q(0x181)],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a49j;super({'name':a,'description':b,'size':Size['Small'],'category':Category[r(0x179)],'shape':Shape[r(0x17a)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a49j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['ArmArmor'],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[s(0x177)],'rating':Rating[s(0x16c)],'weight':0x3});}}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x160;var f=c[d];return f;},a49d(a,b);}export class Key extends Item{constructor(a,b){var t=a49j;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category['Key'],'shape':Shape[t(0x164)],'color':Color[t(0x185)],'texture':Texture[t(0x181)],'rating':Rating['Common'],'weight':0x0});}[a49j(0x17e)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var u=a49j;super({'name':a,'description':b,'size':Size[u(0x189)],'category':Category[u(0x169)],'shape':Shape[u(0x170)],'color':Color[u(0x175)],'texture':Texture[u(0x177)],'rating':Rating[u(0x16c)],'weight':0x3});}[a49j(0x17e)](){var v=a49j;return v(0x16a);}}export class Book extends Item{[a49j(0x18c)];[a49j(0x183)];['pageCount'];constructor(a,b=a49j(0x172),c=a49j(0x163)){var w=a49j;super({'name':a,'description':b,'size':Size[w(0x189)],'category':Category['Book'],'shape':Shape[w(0x164)],'color':Color[w(0x162)],'texture':Texture[w(0x181)],'rating':Rating[w(0x16c)],'weight':0x1}),this['author']=c,this['publishDate']=new Date(),this[w(0x16e)]=0x64;}[a49j(0x17e)](){return'There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22';}}export class ShortSword extends Item{constructor(){var x=a49j;super({'name':x(0x16f),'description':x(0x171),'size':Size[x(0x189)],'category':Category[x(0x169)],'shape':Shape[x(0x170)],'color':Color[x(0x175)],'texture':Texture[x(0x177)],'rating':Rating[x(0x16c)],'weight':0x3});}[a49j(0x17e)](){var y=a49j;return y(0x16a);}}export class SniperRifle extends Item{constructor(){var z=a49j;super({'name':'Sniper\x20Rifle','description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[z(0x173)],'category':Category[z(0x169)],'shape':Shape[z(0x176)],'color':Color[z(0x162)],'texture':Texture[z(0x181)],'rating':Rating[z(0x16c)],'weight':0x5});}['use'](){var A=a49j;return A(0x17c);}}export class HolyGrail extends Item{constructor(){var B=a49j;super({'name':B(0x17b),'description':B(0x18b),'size':Size['Small'],'category':Category['Cup'],'shape':Shape[B(0x17a)],'color':Color['Gold'],'texture':Texture[B(0x177)],'rating':Rating['Legendary'],'weight':0x1});}['use'](){var C=a49j;return C(0x166)+this['name']+C(0x184);}}
1
+ var a51j=a51d;(function(a,b){var f=a51d,c=a();while(!![]){try{var d=parseInt(f(0x161))/0x1*(-parseInt(f(0x172))/0x2)+-parseInt(f(0x16f))/0x3*(parseInt(f(0x16e))/0x4)+parseInt(f(0x157))/0x5+-parseInt(f(0x173))/0x6+-parseInt(f(0x14d))/0x7+-parseInt(f(0x149))/0x8*(-parseInt(f(0x155))/0x9)+-parseInt(f(0x152))/0xa*(-parseInt(f(0x165))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x502af));var a51b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a51d;if(c){var e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){var h=a51d;return a51a[h(0x176)]()[h(0x148)](h(0x147))[h(0x176)]()['constructor'](a51a)[h(0x148)]('(((.+)+)+)+$');});a51a();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=a51d;super({'name':a,'description':b,'size':Size[i(0x16a)],'category':Category[i(0x171)],'shape':Shape[i(0x167)],'color':Color[i(0x175)],'texture':Texture[i(0x168)],'rating':Rating[i(0x15b)],'weight':0x1});}[a51j(0x15a)](){var k=a51j;return this[k(0x166)];}}export class Sword extends Item{constructor(a,b){var l=a51j;super({'name':a,'description':b,'size':Size[l(0x16a)],'category':Category[l(0x14a)],'shape':Shape[l(0x178)],'color':Color[l(0x14f)],'texture':Texture[l(0x15e)],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a51j;super({'name':a,'description':b,'size':Size[m(0x153)],'category':Category[m(0x14a)],'shape':Shape[m(0x160)],'color':Color[m(0x151)],'texture':Texture[m(0x15e)],'rating':Rating[m(0x14e)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a51j;super({'name':a,'description':b,'size':Size[n(0x16a)],'category':Category[n(0x170)],'shape':Shape['Circle'],'color':Color[n(0x14f)],'texture':Texture[n(0x15e)],'rating':Rating[n(0x15b)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a51j;super({'name':a,'description':b,'size':Size['Large'],'category':Category['BodyArmor'],'shape':Shape[o(0x167)],'color':Color['Grey'],'texture':Texture[o(0x15e)],'rating':Rating[o(0x15b)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a51j;super({'name':a,'description':b,'size':Size[p(0x16a)],'category':Category['LegArmor'],'shape':Shape[p(0x167)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a51j;super({'name':a,'description':b,'size':Size[q(0x16a)],'category':Category['Boots'],'shape':Shape['Circle'],'color':Color[q(0x151)],'texture':Texture['Smooth'],'rating':Rating[q(0x15b)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a51j;super({'name':a,'description':b,'size':Size['Small'],'category':Category[r(0x174)],'shape':Shape[r(0x164)],'color':Color[r(0x151)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a51j;super({'name':a,'description':b,'size':Size[s(0x16a)],'category':Category[s(0x17b)],'shape':Shape['Rectangle'],'color':Color[s(0x14f)],'texture':Texture[s(0x15e)],'rating':Rating[s(0x15b)],'weight':0x3});}}function a51d(a,b){var c=a51c();return a51d=function(d,e){d=d-0x146;var f=c[d];return f;},a51d(a,b);}export class Key extends Item{constructor(a,b){var t=a51j;super({'name':a,'description':b,'size':Size[t(0x150)],'category':Category[t(0x158)],'shape':Shape['Rectangle'],'color':Color[t(0x175)],'texture':Texture[t(0x168)],'rating':Rating[t(0x15b)],'weight':0x0});}[a51j(0x15a)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var u=a51j;super({'name':a,'description':b,'size':Size[u(0x16a)],'category':Category[u(0x14a)],'shape':Shape['Blade'],'color':Color['Grey'],'texture':Texture[u(0x15e)],'rating':Rating['Common'],'weight':0x3});}['use'](){var v=a51j;return v(0x16c);}}export class Book extends Item{[a51j(0x162)];[a51j(0x179)];[a51j(0x177)];constructor(a,b=a51j(0x169),c=a51j(0x15d)){var w=a51j;super({'name':a,'description':b,'size':Size[w(0x16a)],'category':Category[w(0x154)],'shape':Shape[w(0x167)],'color':Color[w(0x151)],'texture':Texture['Smooth'],'rating':Rating[w(0x15b)],'weight':0x1}),this['author']=c,this['publishDate']=new Date(),this[w(0x177)]=0x64;}[a51j(0x15a)](){return'There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22';}}export class ShortSword extends Item{constructor(){var x=a51j;super({'name':x(0x15f),'description':x(0x163),'size':Size[x(0x16a)],'category':Category[x(0x14a)],'shape':Shape[x(0x178)],'color':Color[x(0x14f)],'texture':Texture['Metallic'],'rating':Rating[x(0x15b)],'weight':0x3});}[a51j(0x15a)](){var y=a51j;return y(0x16c);}}function a51c(){var D=['Large','Book','3358143wwocev','You\x20hold\x20the\x20','1202545BJNqKg','Key','Legendary','use','Common','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Unknown\x20Author','Metallic','Short\x20Sword','Rifle','27bYQICR','author','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Circle','65219JUvdzg','description','Rectangle','Smooth','A\x20mysterious\x20book.','Medium','Small','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','apply','4OLsWQd','777618vgtNQc','Helmet','Unknown','14572FZzUeJ','477978ICarbs','Gloves','Yellow','toString','pageCount','Blade','publishDate','name','ArmArmor','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Holy\x20Grail','(((.+)+)+)+$','search','8GuJJWZ','Weapon','Gold','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','2937585qwpEPq','Rare','Grey','Tiny','Brown','1130hOzCBa'];a51c=function(){return D;};return a51c();}export class SniperRifle extends Item{constructor(){var z=a51j;super({'name':'Sniper\x20Rifle','description':z(0x17c),'size':Size[z(0x153)],'category':Category[z(0x14a)],'shape':Shape[z(0x160)],'color':Color['Brown'],'texture':Texture[z(0x168)],'rating':Rating[z(0x15b)],'weight':0x5});}[a51j(0x15a)](){var A=a51j;return A(0x14c);}}export class HolyGrail extends Item{constructor(){var B=a51j;super({'name':B(0x146),'description':B(0x15c),'size':Size[B(0x16b)],'category':Category['Cup'],'shape':Shape[B(0x164)],'color':Color[B(0x14b)],'texture':Texture[B(0x15e)],'rating':Rating[B(0x159)],'weight':0x1});}[a51j(0x15a)](){var C=a51j;return C(0x156)+this[C(0x17a)]+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}