@maka/maka-cli 4.5.35 → 4.5.36

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 (133) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  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 -1
  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/tool.js +1 -1
  117. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  118. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  120. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  122. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  124. package/bundle/obf/src/tools/https/https.class.js +1 -1
  125. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  126. package/bundle/obf/src/tools/log/log.class.js +1 -1
  127. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  129. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  131. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  133. package/package.json +1 -1
@@ -1 +1 @@
1
- const a33j=a33d;(function(a,b){const g=a33d,c=a();while(!![]){try{const d=parseInt(g(0x1e2))/0x1+parseInt(g(0x1ed))/0x2+parseInt(g(0x1f2))/0x3*(-parseInt(g(0x1e7))/0x4)+parseInt(g(0x1da))/0x5+parseInt(g(0x1eb))/0x6*(parseInt(g(0x1e1))/0x7)+parseInt(g(0x1e6))/0x8*(-parseInt(g(0x1ef))/0x9)+-parseInt(g(0x1f3))/0xa*(parseInt(g(0x1f1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x357da));function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x1da;let f=c[d];return f;},a33d(a,b);}const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a33d;if(c){const e=c[h(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const i=a33d;return a33a[i(0x1f9)]()[i(0x1ee)](i(0x1ea))[i(0x1f9)]()['constructor'](a33a)[i(0x1ee)](i(0x1ea));});a33a();import{Command}from'./command.js';function a33c(){const m=['toString','scene','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','actor','1563375eTILjH','join','apply','say','name','What\x20do\x20you\x20want\x20to\x20say?','length','7rVbfER','95626zSXXRV','An\x20error\x20occurred.','verb','logger','688LnDKKm','8bWQCPK','context',':\x20\x22','(((.+)+)+)+$','2052546GYUCqf','currentLocation','445166pOiHjS','search','4590cogvke','You\x20say:\x20\x22','2095027dGspCX','207969YcOJPa','30ymdMUN','Scene\x20is\x20missing\x20from\x20context.','log','description','filter','allActors'];a33c=function(){return m;};return a33c();}export class SayCommand extends Command{static [a33j(0x1e4)]=a33j(0x1dd);static [a33j(0x1f6)]=a33j(0x1fb);[a33j(0x1e8)];constructor(a){const k=a33j;super(a),this[k(0x1e8)]=a;}['execute'](a){const l=a33j;if(a[l(0x1e0)]===0x0)return l(0x1df);const b=a[l(0x1db)]('\x20'),c=this[l(0x1fc)],d=this[l(0x1e8)][l(0x1fa)];if(!d)return this['logger'][l(0x1f5)](l(0x1f4)),l(0x1e3);const e=d[l(0x1f8)][l(0x1f7)](f=>f[l(0x1ec)]===c[l(0x1ec)]);for(const f of e){this[l(0x1e5)][l(0x1f5)](c[l(0x1de)]+'\x20says\x20to\x20'+f[l(0x1de)]+l(0x1e9)+b+'\x22'),this[l(0x1fc)][l(0x1ec)]['say'](f,b);}return l(0x1f0)+b+'\x22';}}
1
+ const a33j=a33d;(function(a,b){const g=a33d,c=a();while(!![]){try{const d=parseInt(g(0x192))/0x1+-parseInt(g(0x175))/0x2*(-parseInt(g(0x183))/0x3)+-parseInt(g(0x173))/0x4*(-parseInt(g(0x18c))/0x5)+parseInt(g(0x176))/0x6*(-parseInt(g(0x174))/0x7)+-parseInt(g(0x178))/0x8*(-parseInt(g(0x17a))/0x9)+parseInt(g(0x177))/0xa+-parseInt(g(0x17c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x8ff30));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a33d;if(c){const e=c[h(0x17e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const i=a33d;return a33a[i(0x18a)]()[i(0x186)]('(((.+)+)+)+$')[i(0x18a)]()[i(0x188)](a33a)[i(0x186)](i(0x172));});function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x172;let f=c[d];return f;},a33d(a,b);}function a33c(){const m=['Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','toString','context','675oAoJkz','logger','You\x20say:\x20\x22','actor','scene','length','100650xFKWdB','(((.+)+)+)+$','30644oQOVfz','14966VzKUtv','46ksddEA','2022MkNTLK','5343370amTAAZ','88mVbMsF','say','611370yVvZUn','execute','14749218MODQao','currentLocation','apply','join','filter',':\x20\x22','Scene\x20is\x20missing\x20from\x20context.','30588CFLpgG','\x20says\x20to\x20','log','search','name','constructor'];a33c=function(){return m;};return a33c();}a33a();import{Command}from'./command.js';export class SayCommand extends Command{static ['verb']=a33j(0x179);static ['description']=a33j(0x189);[a33j(0x18b)];constructor(a){const k=a33j;super(a),this[k(0x18b)]=a;}[a33j(0x17b)](a){const l=a33j;if(a[l(0x191)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[l(0x17f)]('\x20'),c=this[l(0x18f)],d=this['context'][l(0x190)];if(!d)return this[l(0x18d)][l(0x185)](l(0x182)),'An\x20error\x20occurred.';const e=d['allActors'][l(0x180)](f=>f[l(0x17d)]===c[l(0x17d)]);for(const f of e){this[l(0x18d)][l(0x185)](c[l(0x187)]+l(0x184)+f[l(0x187)]+l(0x181)+b+'\x22'),this[l(0x18f)][l(0x17d)][l(0x179)](f,b);}return l(0x18e)+b+'\x22';}}
@@ -1 +1 @@
1
- function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x76;let f=c[d];return f;},a34d(a,b);}function a34c(){const k=['toString','3636678kTNDyt','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','apply','You\x20search\x20the\x20area\x20and\x20find:\x20','logger','845793MmDURc','SearchCommand:\x20','268VgkjaN','1635759RshssN','(((.+)+)+)+$','constructor','30790lgRtVt','35oXIWgD','inventory','search','name','description','write','686486fUjWRb','1414374OKoEjt','execute','length','actor','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','listItems','currentLocation','501064yevLWI'];a34c=function(){return k;};return a34c();}const a34i=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0x78))/0x1+parseInt(f(0x79))/0x2+parseInt(f(0x8a))/0x3+parseInt(f(0x89))/0x4*(-parseInt(f(0x8d))/0x5)+parseInt(f(0x82))/0x6+-parseInt(f(0x8e))/0x7*(parseInt(f(0x80))/0x8)+parseInt(f(0x87))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x83e85));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0x81)]()['search'](h(0x8b))[h(0x81)]()[h(0x8c)](a34a)[h(0x90)](h(0x8b));});a34a();import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a34i(0x90);static [a34i(0x76)]='Search\x20for\x20items\x20in\x20your\x20area';[a34i(0x7a)](){const j=a34i,a=this[j(0x7c)][j(0x7f)][j(0x8f)][j(0x7e)]();if(a[j(0x7b)]===0x0)return this['logger'][j(0x77)](j(0x88)+this['actor'][j(0x91)]+j(0x7d)),j(0x83);const b=a['join'](',\x20');return this[j(0x86)][j(0x77)]('SearchCommand:\x20'+this['actor'][j(0x91)]+'\x20found\x20the\x20following\x20items:\x20'+b),j(0x85)+b;}}
1
+ const a34h=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0xf5))/0x1+parseInt(f(0xf7))/0x2+parseInt(f(0xfa))/0x3+parseInt(f(0xfd))/0x4+parseInt(f(0xfc))/0x5*(-parseInt(f(0xff))/0x6)+-parseInt(f(0xfb))/0x7*(parseInt(f(0x106))/0x8)+-parseInt(f(0xf2))/0x9*(parseInt(f(0x100))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x73eb1));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[g(0xf6)]()[g(0xf9)]('(((.+)+)+)+$')[g(0xf6)]()[g(0xf8)](a34a)[g(0xf9)]('(((.+)+)+)+$');});function a34c(){const j=['toString','1223098XIPXCm','constructor','search','48006zVofxy','3340435KpINcT','557545nkrcSp','3654480mlYFNW','length','12eqHcqh','169270NGJNwX','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','description','actor','logger','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','8RLcSZy','join','name','write','inventory','234zWfYJz','listItems','\x20found\x20the\x20following\x20items:\x20','73955oaoJlb'];a34c=function(){return j;};return a34c();}a34a();function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xf1;let f=c[d];return f;},a34d(a,b);}import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a34h(0xf9);static [a34h(0x102)]='Search\x20for\x20items\x20in\x20your\x20area';['execute'](){const i=a34h,a=this['actor']['currentLocation'][i(0xf1)][i(0xf3)]();if(a[i(0xfe)]===0x0)return this[i(0x104)][i(0x109)]('SearchCommand:\x20'+this['actor'][i(0x108)]+i(0x105)),i(0x101);const b=a[i(0x107)](',\x20');return this[i(0x104)][i(0x109)]('SearchCommand:\x20'+this[i(0x103)][i(0x108)]+i(0xf4)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
@@ -1 +1 @@
1
- function a35c(){const k=['(((.+)+)+)+$','1577106MiuvWV','currentLocation','solve','execute','logger','verb','success','inventory','join','search','3125056xPIDpf','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','Attempt\x20to\x20solve\x20a\x20puzzle.','constructor','actor','description','toString','6cgMElJ','1773250FUhKUq','SolveCommand:\x20','86NEhYaD','rewardItem','message','1029763SXZzjS','4300yekMVw','apply','write','24qHURxe','puzzle','214715SaTdZS','addItem','1917399JGPyUu','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'];a35c=function(){return k;};return a35c();}const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x138))/0x1*(-parseInt(f(0x13c))/0x2)+parseInt(f(0x143))/0x3+-parseInt(f(0x13f))/0x4*(parseInt(f(0x141))/0x5)+parseInt(f(0x135))/0x6*(parseInt(f(0x13b))/0x7)+-parseInt(f(0x12e))/0x8+parseInt(f(0x146))/0x9+-parseInt(f(0x136))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x4e4f9));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x134)]()[h(0x12d)](h(0x145))['toString']()[h(0x131)](a35a)[h(0x12d)]('(((.+)+)+)+$');});function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x129;let f=c[d];return f;},a35d(a,b);}a35a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a35i(0x129)]=a35i(0x148);static [a35i(0x133)]=a35i(0x130);[a35i(0x149)](a){const j=a35i,b=a[j(0x12c)]('\x20')['toLowerCase'](),c=this['actor'][j(0x147)];if(!c||!c[j(0x140)])return this[j(0x14a)][j(0x13e)](j(0x144)),j(0x12f);const d=c[j(0x140)]['solve'](b,this[j(0x132)][j(0x12b)]);return d[j(0x12a)]&&c[j(0x140)][j(0x139)]&&this[j(0x132)]['inventory'][j(0x142)](c['puzzle']['rewardItem']),this[j(0x14a)]['write'](j(0x137)+d[j(0x13a)]),d[j(0x13a)];}}
1
+ function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x15f;let f=c[d];return f;},a35d(a,b);}const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x16d))/0x1+parseInt(f(0x16e))/0x2*(parseInt(f(0x16a))/0x3)+parseInt(f(0x169))/0x4*(parseInt(f(0x178))/0x5)+-parseInt(f(0x17b))/0x6*(parseInt(f(0x161))/0x7)+parseInt(f(0x168))/0x8+parseInt(f(0x17d))/0x9+-parseInt(f(0x167))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x3190f));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x177)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x17a)]()[h(0x160)]('(((.+)+)+)+$')['toString']()[h(0x170)](a35a)[h(0x160)](h(0x171));});a35a();import{Command}from'./command.js';function a35c(){const k=['rewardItem','1960029wEZjZH','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','search','1237208cDUgle','verb','join','logger','puzzle','inventory','2107560vyjxJd','2216008evYWTN','748756pIrbdz','6DMhfaq','actor','toLowerCase','387370Vtxpcu','295922oxruDH','Attempt\x20to\x20solve\x20a\x20puzzle.','constructor','(((.+)+)+)+$','write','solve','message','description','addItem','apply','5XytqLu','execute','toString','6MDbgbn'];a35c=function(){return k;};return a35c();}export class SolveCommand extends Command{static [a35i(0x162)]=a35i(0x173);static [a35i(0x175)]=a35i(0x16f);[a35i(0x179)](a){const j=a35i,b=a[j(0x163)]('\x20')[j(0x16c)](),c=this[j(0x16b)]['currentLocation'];if(!c||!c[j(0x165)])return this[j(0x164)][j(0x172)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0x15f);const d=c[j(0x165)][j(0x173)](b,this['actor'][j(0x166)]);return d['success']&&c['puzzle'][j(0x17c)]&&this['actor']['inventory'][j(0x176)](c[j(0x165)][j(0x17c)]),this[j(0x164)][j(0x172)]('SolveCommand:\x20'+d[j(0x174)]),d['message'];}}
@@ -1 +1 @@
1
- function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x17f;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(0x1a4))/0x1*(-parseInt(f(0x192))/0x2)+-parseInt(f(0x1a1))/0x3+-parseInt(f(0x1a7))/0x4+parseInt(f(0x1a3))/0x5*(-parseInt(f(0x197))/0x6)+parseInt(f(0x17f))/0x7+-parseInt(f(0x188))/0x8+parseInt(f(0x195))/0x9*(parseInt(f(0x199))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x67f86));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a36d;if(c){const e=c[g(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a[h(0x18d)]()['search']('(((.+)+)+)+$')[h(0x18d)]()['constructor'](a36a)[h(0x18f)](h(0x1a6));});a36a();function a36c(){const l=['\x22\x20in\x20this\x20room.','take','removeItem','Successfully\x20removed\x20\x22','logger','401586FvIUhm','join','30TnbJrm','164599gbKuTI','hasItem','(((.+)+)+)+$','2442972SumzgN','510202oTLeFg','Pick\x20up\x20an\x20item.','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','addInventory','\x22\x20is\x20too\x20heavy\x20to\x20carry.','Error\x20during\x20\x27Take\x27\x20command:\x20','You\x20have\x20taken\x20the\x20','currentLocation','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','4601080VhXCKL','The\x20item\x20\x22','\x22\x20from\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Successfully\x20added\x20\x22','toString','description','search','name','\x20during\x20\x27Take\x27\x20command.','10DudszA','write','inventory','13539861qSrTRP','There\x20is\x20no\x20item\x20\x22','654708oLcsIh','apply','10iRQXwx','\x22\x20not\x20found\x20in\x20','actor'];a36c=function(){return l;};return a36c();}import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a36i(0x19d);static [a36i(0x18e)]=a36i(0x180);['execute'](a){const j=a36i;return this['logger']['write'](j(0x181)+a[j(0x1a2)]('\x20')),this[j(0x19d)](a);}[a36i(0x19d)](a){const k=a36i,b=a[k(0x1a2)]('\x20')['toLowerCase'](),c=this[k(0x19b)][k(0x186)];if(!c['inventory'][k(0x1a5)](b))return this[k(0x1a0)][k(0x193)]('Item\x20\x22'+b+k(0x19a)+c[k(0x190)]+k(0x191)),k(0x196)+b+'\x22\x20in\x20this\x20room.';const d=c[k(0x194)]['getItem'](b);if(!d)return this[k(0x1a0)][k(0x193)]('Item\x20\x22'+b+'\x22\x20not\x20retrieved\x20from\x20'+c['name']+k(0x18b)),k(0x196)+b+k(0x19c);try{return this[k(0x19b)][k(0x182)](d),this[k(0x1a0)][k(0x193)](k(0x18c)+b+'\x22\x20to\x20'+this['actor'][k(0x190)]+k(0x187)),c[k(0x194)][k(0x19e)](b),this[k(0x1a0)]['write'](k(0x19f)+b+k(0x18a)+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x185)+b+'.';}catch(e){return this[k(0x1a0)][k(0x193)](k(0x184)+e['message']),k(0x189)+b+k(0x183);}}}
1
+ const a36h=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0xa0))/0x1+parseInt(f(0xb8))/0x2+parseInt(f(0xae))/0x3+-parseInt(f(0xb9))/0x4*(parseInt(f(0xb3))/0x5)+parseInt(f(0x97))/0x6*(-parseInt(f(0xb1))/0x7)+-parseInt(f(0xa7))/0x8*(-parseInt(f(0xb0))/0x9)+parseInt(f(0xb4))/0xa*(parseInt(f(0xa6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xebd5b));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const g=a36d;return a36a[g(0xaf)]()['search']('(((.+)+)+)+$')[g(0xaf)]()[g(0xa9)](a36a)[g(0xaa)](g(0xa3));});a36a();function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x97;let f=c[d];return f;},a36d(a,b);}function a36c(){const k=['\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','constructor','search','getItem','\x22\x20to\x20','currentLocation','582573KQgPly','toString','9qXgoTx','98SaZllE','take','485UDhKLQ','40rIdnNH','description','\x22\x20in\x20this\x20room.','There\x20is\x20no\x20item\x20\x22','2490152BalUNd','68920REiuaq','\x22\x20not\x20retrieved\x20from\x20','You\x20have\x20taken\x20the\x20','execute','Successfully\x20removed\x20\x22','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20not\x20found\x20in\x20','message','Item\x20\x22','369762uUGRgP','join','\x20during\x20\x27Take\x27\x20command.','addInventory','name','\x22\x20is\x20too\x20heavy\x20to\x20carry.','inventory','write','toLowerCase','674549xbtSqM','logger','removeItem','(((.+)+)+)+$','\x22\x20from\x20','actor','5252511JVIkkT','6602760SMavOf'];a36c=function(){return k;};return a36c();}import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']='take';static [a36h(0xb5)]='Pick\x20up\x20an\x20item.';[a36h(0xbc)](a){const i=a36h;return this[i(0xa1)]['write'](i(0xbe)+a['join']('\x20')),this['take'](a);}[a36h(0xb2)](a){const j=a36h,b=a[j(0x98)]('\x20')[j(0x9f)](),c=this[j(0xa5)][j(0xad)];if(!c[j(0x9d)]['hasItem'](b))return this[j(0xa1)][j(0x9e)](j(0xc1)+b+j(0xbf)+c[j(0x9b)]+j(0x99)),j(0xb7)+b+'\x22\x20in\x20this\x20room.';const d=c[j(0x9d)][j(0xab)](b);if(!d)return this[j(0xa1)][j(0x9e)](j(0xc1)+b+j(0xba)+c[j(0x9b)]+j(0xa8)),j(0xb7)+b+j(0xb6);try{return this[j(0xa5)][j(0x9a)](d),this['logger'][j(0x9e)]('Successfully\x20added\x20\x22'+b+j(0xac)+this[j(0xa5)][j(0x9b)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[j(0x9d)][j(0xa2)](b),this[j(0xa1)]['write'](j(0xbd)+b+j(0xa4)+c['name']+j(0xa8)),j(0xbb)+b+'.';}catch(e){return this[j(0xa1)][j(0x9e)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[j(0xc0)]),'The\x20item\x20\x22'+b+j(0x9c);}}}
@@ -1 +1 @@
1
- const a37i=a37d;function a37c(){const k=['actor','4104198HKHHXe','20EWlOmW','UnequipCommand:\x20','2793772mXBeLR','description','14321763bbCaHw','2aQJNDe','10EMLKMq','19115734yAZqKX','join','5210848cWzcQJ','constructor','unqeuip','verb','3wtHsNU','(((.+)+)+)+$','write','unequip','toString','toLowerCase','search','1412682AHTCCD','name','957455BNfXZN','apply'];a37c=function(){return k;};return a37c();}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x1dd))/0x1*(-parseInt(f(0x1e6))/0x2)+parseInt(f(0x1d4))/0x3*(-parseInt(f(0x1e3))/0x4)+-parseInt(f(0x1e1))/0x5*(parseInt(f(0x1db))/0x6)+-parseInt(f(0x1e0))/0x7+parseInt(f(0x1ea))/0x8+-parseInt(f(0x1e5))/0x9*(-parseInt(f(0x1e7))/0xa)+parseInt(f(0x1e8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xc2729));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()['search'](h(0x1d5))[h(0x1d8)]()[h(0x1eb)](a37a)[h(0x1da)]('(((.+)+)+)+$');});a37a();import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1d2;let f=c[d];return f;},a37d(a,b);}export class UnequipCommand extends Command{static [a37i(0x1d3)]=a37i(0x1d2);static [a37i(0x1e4)]='Unequip\x20an\x20item.';['execute'](a){const j=a37i,b=a[j(0x1e9)]('\x20')[j(0x1d9)](),c=this['actor'][j(0x1d7)](b);return this['logger'][j(0x1d6)](j(0x1e2)+this[j(0x1df)][j(0x1dc)]+'\x20unqeuiped\x20'+c),c;}}
1
+ const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x1fc))/0x1*(-parseInt(f(0x1fe))/0x2)+-parseInt(f(0x203))/0x3*(-parseInt(f(0x200))/0x4)+-parseInt(f(0x20a))/0x5*(-parseInt(f(0x1fb))/0x6)+-parseInt(f(0x207))/0x7*(-parseInt(f(0x20c))/0x8)+parseInt(f(0x1f6))/0x9*(-parseInt(f(0x1f9))/0xa)+-parseInt(f(0x20b))/0xb*(-parseInt(f(0x209))/0xc)+-parseInt(f(0x208))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xddae5));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x1fd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x1f4)]()[h(0x204)](h(0x1f1))[h(0x1f4)]()[h(0x1f8)](a37a)['search'](h(0x1f1));});a37a();import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1f1;let f=c[d];return f;},a37d(a,b);}export class UnequipCommand extends Command{static [a37i(0x1f7)]='unqeuip';static [a37i(0x201)]=a37i(0x1f5);[a37i(0x1f2)](a){const j=a37i,b=a[j(0x202)]('\x20')[j(0x205)](),c=this[j(0x1fa)]['unequip'](b);return this['logger'][j(0x1ff)]('UnequipCommand:\x20'+this[j(0x1fa)][j(0x206)]+j(0x1f3)+c),c;}}function a37c(){const k=['\x20unqeuiped\x20','toString','Unequip\x20an\x20item.','9SSzndD','verb','constructor','12761030VaoyQg','actor','12JWPauP','1201973xEqheS','apply','2GBrySA','write','16FafBFK','description','join','402366oRQhfn','search','toLowerCase','name','91pFsmgQ','24992253TJCZwa','12971268TYSdww','2719715GQmUeU','11SaGGeu','122648PtLFVF','(((.+)+)+)+$','execute'];a37c=function(){return k;};return a37c();}
@@ -1 +1 @@
1
- const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0x1c7))/0x1*(parseInt(h(0x1e4))/0x2)+-parseInt(h(0x1eb))/0x3+parseInt(h(0x1ee))/0x4+parseInt(h(0x1cd))/0x5*(parseInt(h(0x1e5))/0x6)+-parseInt(h(0x1da))/0x7*(-parseInt(h(0x1e7))/0x8)+-parseInt(h(0x1c9))/0x9*(-parseInt(h(0x1cb))/0xa)+parseInt(h(0x1d1))/0xb*(-parseInt(h(0x1d0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x83786));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x1d6)]()[j(0x1d3)](j(0x1d4))['toString']()[j(0x1cc)](a38a)[j(0x1d3)](j(0x1d4));});a38a();import{Door}from'../models/door.js';function a38c(){const n=['\x22\x20here.','toString','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','logger','\x20is\x20attempted\x20to\x20unlock\x20','70vItxRd','UnlockCommand:\x20No\x20target\x20specified.','execute','isValidDirection','apply','write','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','name','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','Unlock\x20a\x20door.','94QqJVwd','2966694EaTHvW','has','788560itwKsO','verb','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','exits','2252868tUVgpz','There\x27s\x20no\x20door\x20named\x20\x22','UnlockCommand:\x20','101708SztrpZ','length','unlockItemOrSolution','3316KlWFTO','currentLocation','14499zxZzeJ','unlock','1450XHOSvW','constructor','5vQFWcN','actor','get','108cEhAaR','740135DvmKdh','inventory','search','(((.+)+)+)+$'];a38c=function(){return n;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1c5;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a38k(0x1e8)]=a38k(0x1ca);static ['description']=a38k(0x1e3);[a38k(0x1dc)](a){const l=a38k;return this[l(0x1ca)](a);}[a38k(0x1ca)](a){const m=a38k;if(a[m(0x1c5)]===0x0)return this['logger']['error'](m(0x1db)),m(0x1e0);const b=a[0x0]['toLowerCase'](),c=this[m(0x1ce)][m(0x1c8)];if(this[m(0x1dd)](b)&&c[m(0x1ea)][m(0x1e6)](b)){const d=c['exits'][m(0x1cf)](b);if(d instanceof Door){const e=d[m(0x1c6)]?.['toLowerCase']();if(e&&this[m(0x1ce)][m(0x1d2)]['hasItem'](e)){const f=this[m(0x1ce)][m(0x1d2)]['getItem'](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0x1e1)]);return this['logger'][m(0x1df)](m(0x1ed)+this[m(0x1ce)][m(0x1e1)]+m(0x1d9)+b+'.\x20Result:\x20'+g),g;}}return this['logger']['write'](m(0x1ed)+this[m(0x1ce)][m(0x1e1)]+m(0x1e9)+b+'.'),m(0x1d7);}else return this[m(0x1d8)]['write'](m(0x1ed)+b+m(0x1e2)+c[m(0x1e1)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}else return this[m(0x1d8)][m(0x1df)]('UnlockCommand:\x20'+b+m(0x1e2)+c['name']+'.'),m(0x1ec)+b+m(0x1d5);}}
1
+ const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0x114))/0x1*(parseInt(h(0x127))/0x2)+parseInt(h(0x116))/0x3+-parseInt(h(0x12b))/0x4*(parseInt(h(0x121))/0x5)+-parseInt(h(0x129))/0x6+-parseInt(h(0x128))/0x7*(parseInt(h(0x11b))/0x8)+parseInt(h(0x139))/0x9+parseInt(h(0x13e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xa7f41));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x136)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x131)]()['search'](j(0x12c))['toString']()[j(0x11d)](a38a)[j(0x133)]('(((.+)+)+)+$');});a38a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a38k(0x123)]=a38k(0x132);static [a38k(0x115)]=a38k(0x118);[a38k(0x12a)](a){const l=a38k;return this[l(0x132)](a);}['unlock'](a){const m=a38k;if(a[m(0x13a)]===0x0)return this[m(0x117)][m(0x126)](m(0x13c)),m(0x12e);const b=a[0x0]['toLowerCase'](),c=this[m(0x122)][m(0x124)];if(this[m(0x13b)](b)&&c[m(0x130)][m(0x125)](b)){const d=c['exits'][m(0x12f)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[m(0x120)]();if(e&&this[m(0x122)][m(0x13d)][m(0x11c)](e)){const f=this[m(0x122)]['inventory']['getItem'](e);if(f){const g=c[m(0x11a)](b,f[m(0x137)]);return this['logger'][m(0x119)](m(0x12d)+this[m(0x122)][m(0x137)]+m(0x135)+b+'.\x20Result:\x20'+g),g;}}return this[m(0x117)][m(0x119)]('UnlockCommand:\x20'+this[m(0x122)][m(0x137)]+m(0x11f)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this[m(0x117)][m(0x119)](m(0x12d)+b+m(0x134)+c[m(0x137)]+'.'),m(0x138)+b+m(0x11e);}else return this[m(0x117)]['write'](m(0x12d)+b+m(0x134)+c[m(0x137)]+'.'),m(0x138)+b+m(0x11e);}}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x114;let f=c[d];return f;},a38d(a,b);}function a38c(){const n=['\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','toLowerCase','10RLttVI','actor','verb','currentLocation','has','error','2ZdSOBt','364dceGBu','6652248xqhSbB','execute','1796044gZRhpb','(((.+)+)+)+$','UnlockCommand:\x20','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','get','exits','toString','unlock','search','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','\x20is\x20attempted\x20to\x20unlock\x20','apply','name','There\x27s\x20no\x20door\x20named\x20\x22','6650721nFdeXE','length','isValidDirection','UnlockCommand:\x20No\x20target\x20specified.','inventory','6351130FoqHve','1288978sthITU','description','1443753iTnVpQ','logger','Unlock\x20a\x20door.','write','attemptUnlockExit','69176zYnwou','hasItem','constructor','\x22\x20here.'];a38c=function(){return n;};return a38c();}
@@ -1 +1 @@
1
- const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x147))/0x1+parseInt(f(0x12a))/0x2*(-parseInt(f(0x140))/0x3)+parseInt(f(0x138))/0x4+parseInt(f(0x133))/0x5+-parseInt(f(0x13d))/0x6+-parseInt(f(0x136))/0x7+parseInt(f(0x127))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x3fa40));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[g(0x12c)]()[g(0x132)](g(0x128))[g(0x12c)]()[g(0x13a)](a39a)[g(0x132)](g(0x128));});function a39c(){const k=['UseCommand:\x20','100370VwjOKK','Use\x20an\x20item.','toString','verb','logger','use','actor','inventory','search','2185790gIumKq','\x20doesn\x27t\x20have\x20a\x20use\x20method.','You\x20don\x27t\x20have\x20the\x20','2812852PajcUj','name','851744NeRbPC','\x27s\x20inventory.','constructor','\x20to\x20use.','join','1414566TaLnZL','\x20used\x20','hasItem','15JfXDoB','description','function','write','getItem','\x20in\x20this\x20way.',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','214455MFglLf','\x20not\x20retrieved\x20from\x20','\x20attempted\x20to\x20use\x20','2277160dkUXoL','(((.+)+)+)+$'];a39c=function(){return k;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x125;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class UseCommand extends Command{static [a39h(0x12d)]=a39h(0x12f);static [a39h(0x141)]=a39h(0x12b);['execute'](a){const i=a39h;return this[i(0x12f)](a);}[a39h(0x12f)](a){const j=a39h,b=a[j(0x13c)]('\x20')['toLowerCase']();if(!this[j(0x130)][j(0x131)][j(0x13f)](b))return this[j(0x12e)][j(0x143)]('UseCommand:\x20'+this[j(0x130)]['name']+j(0x126)+b+j(0x146)),j(0x135)+b+j(0x13b);const c=this[j(0x130)]['inventory'][j(0x144)](b);if(!c)return this[j(0x12e)]['write']('UseCommand:\x20'+b+j(0x125)+this['actor'][j(0x137)]+j(0x139)),j(0x135)+b+j(0x13b);if(typeof c[j(0x12f)]===j(0x142)){const d=c[j(0x12f)]();return this[j(0x12e)][j(0x143)](j(0x129)+this[j(0x130)][j(0x137)]+j(0x13e)+b+'.'),d;}else return this[j(0x12e)][j(0x143)](j(0x129)+b+j(0x134)),'You\x20can\x27t\x20use\x20the\x20'+b+j(0x145);}}
1
+ const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x135))/0x1+parseInt(f(0x131))/0x2*(parseInt(f(0x129))/0x3)+-parseInt(f(0x138))/0x4+parseInt(f(0x12d))/0x5*(-parseInt(f(0x12f))/0x6)+-parseInt(f(0x136))/0x7+parseInt(f(0x13a))/0x8*(-parseInt(f(0x13d))/0x9)+parseInt(f(0x140))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x92162));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x130)]()['search'](h(0x12c))['toString']()[h(0x13c)](a39a)[h(0x13f)]('(((.+)+)+)+$');});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x11b;let f=c[d];return f;},a39d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static [a39i(0x123)]=a39i(0x137);static [a39i(0x133)]=a39i(0x124);[a39i(0x132)](a){const j=a39i;return this[j(0x137)](a);}['use'](a){const k=a39i,b=a[k(0x13e)]('\x20')['toLowerCase']();if(!this['actor'][k(0x11d)][k(0x126)](b))return this[k(0x11f)]['write'](k(0x11b)+this[k(0x120)][k(0x128)]+k(0x12b)+b+k(0x13b)),k(0x11c)+b+k(0x134);const c=this['actor'][k(0x11d)][k(0x127)](b);if(!c)return this['logger'][k(0x11e)](k(0x11b)+b+k(0x12e)+this['actor'][k(0x128)]+k(0x121)),k(0x11c)+b+'\x20to\x20use.';if(typeof c[k(0x137)]===k(0x12a)){const d=c[k(0x137)]();return this[k(0x11f)]['write'](k(0x11b)+this['actor'][k(0x128)]+k(0x122)+b+'.'),d;}else return this[k(0x11f)][k(0x11e)](k(0x11b)+b+k(0x139)),k(0x125)+b+'\x20in\x20this\x20way.';}}function a39c(){const l=['(((.+)+)+)+$','5ZoBOvt','\x20not\x20retrieved\x20from\x20','3227304rYrFFJ','toString','10rzBMwu','execute','description','\x20to\x20use.','541325RqYcbH','4454562ptAPsR','use','655548LDNaXN','\x20doesn\x27t\x20have\x20a\x20use\x20method.','6474872ksKpVm',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','constructor','9wGBjmb','join','search','25681310WWQUkK','apply','UseCommand:\x20','You\x20don\x27t\x20have\x20the\x20','inventory','write','logger','actor','\x27s\x20inventory.','\x20used\x20','verb','Use\x20an\x20item.','You\x20can\x27t\x20use\x20the\x20','hasItem','getItem','name','431436OjXnzI','function','\x20attempted\x20to\x20use\x20'];a39c=function(){return l;};return a39c();}
@@ -1 +1 @@
1
- const a40i=a40d;function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xc9;let f=c[d];return f;},a40d(a,b);}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0xcd))/0x1+parseInt(f(0xd6))/0x2*(parseInt(f(0xd4))/0x3)+-parseInt(f(0xd3))/0x4+-parseInt(f(0xd0))/0x5+-parseInt(f(0xd9))/0x6+-parseInt(f(0xcf))/0x7*(-parseInt(f(0xd2))/0x8)+parseInt(f(0xcb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xdfc9c));function a40c(){const l=['7278035skwRwh','registerCommand','956008anpQrK','5187792ogqPbG','3BRPRqN','toString','17354xbIcBr','(((.+)+)+)+$','createCommand','1264776lRrspt','search','getAllRegisteredCommands','27553662nPpbsv','apply','265717GfQTyG','commandMap','63cgFXqK'];a40c=function(){return l;};return a40c();}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xd5)]()['search'](h(0xd7))['toString']()['constructor'](a40a)[h(0xc9)]('(((.+)+)+)+$');});a40a();export class CommandFactory{static ['commandMap']={};static[a40i(0xd1)](a,b){const j=a40i;this[j(0xce)][a]=b;}static[a40i(0xd8)](a,b){const k=a40i,c=this[k(0xce)][a];if(c)return new c(b);return null;}static[a40i(0xca)](){return this['commandMap'];}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x110))/0x1*(-parseInt(f(0x10f))/0x2)+parseInt(f(0x10e))/0x3*(-parseInt(f(0x112))/0x4)+-parseInt(f(0x107))/0x5*(-parseInt(f(0x118))/0x6)+parseInt(f(0x113))/0x7*(-parseInt(f(0x117))/0x8)+-parseInt(f(0x10c))/0x9*(parseInt(f(0x11a))/0xa)+parseInt(f(0x114))/0xb+-parseInt(f(0x115))/0xc*(-parseInt(f(0x10b))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xa6964));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x109)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()[h(0x10d)](h(0x10a))['toString']()[h(0x116)](a40a)[h(0x10d)](h(0x10a));});a40a();function a40c(){const l=['3uVIKmh','207346GVWFFG','9feWlGo','getAllRegisteredCommands','2094796pMqSAm','6039775ZGsUYE','14791656IiUgXR','1099812xHHJYX','constructor','8nYGYUE','42BeGZzS','registerCommand','10VkFnaR','commandMap','250450QsyDTF','createCommand','apply','(((.+)+)+)+$','364gUCCXK','11336697jTsRvG','search'];a40c=function(){return l;};return a40c();}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x107;let f=c[d];return f;},a40d(a,b);}export class CommandFactory{static [a40i(0x11b)]={};static[a40i(0x119)](a,b){this['commandMap'][a]=b;}static[a40i(0x108)](a,b){const j=a40i,c=this[j(0x11b)][a];if(c)return new c(b);return null;}static[a40i(0x111)](){const k=a40i;return this[k(0x11b)];}}
@@ -1 +1 @@
1
- const a41h=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x139))/0x1+-parseInt(f(0x12e))/0x2+-parseInt(f(0x130))/0x3*(parseInt(f(0x148))/0x4)+-parseInt(f(0x12d))/0x5+-parseInt(f(0x13b))/0x6*(parseInt(f(0x14f))/0x7)+parseInt(f(0x13e))/0x8*(-parseInt(f(0x141))/0x9)+parseInt(f(0x153))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x53ac0));const a41b=(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;};}()),a41a=a41b(this,function(){const g=a41d;return a41a['toString']()[g(0x132)](g(0x14e))[g(0x14b)]()[g(0x14c)](a41a)[g(0x132)](g(0x14e));});function a41c(){const n=['rifle','42GYqluG','items','toUpperCase','8AFTMKu','gauntlets','INSIDE','4705956omGNjD','book','legarmor','sword','isStartRoom','createItem','puzzle','273612qlcgys','gloves','inventory','toString','constructor','helmet','(((.+)+)+)+$','38633nBiuJZ','key','createRoom','bodyarmor','13693350jufMmL','rewardItem','boots','866160OWxGbM','810656cIpmZf','content','3rSyIBo','convertToRoomConfig','search','addItem','name','createPuzzle','roomType','type','description','181865ecTZGV'];a41c=function(){return n;};return a41c();}a41a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x12c;let f=c[d];return f;},a41d(a,b);}export class RoomFactory{[a41h(0x151)](a){const i=a41h,b=this[i(0x131)](a),c=new Room(b);if(a[i(0x13c)]){const d=new Inventory();a[i(0x13c)]['forEach'](e=>{const j=i;d[j(0x133)](this['createItem'](e));}),c[i(0x14a)]=d;}return a['puzzle']&&c['setPuzzle'](this[i(0x135)](a[i(0x147)])),c;}[a41h(0x146)](a){const k=a41h;switch(a[k(0x137)]){case k(0x150):return new Key(a[k(0x134)],a[k(0x138)]);case k(0x142):return new Book(a[k(0x134)],a[k(0x138)],a[k(0x12f)]);case k(0x144):return new Sword(a['name'],a[k(0x138)]);case k(0x13a):return new Rifle(a[k(0x134)],a[k(0x138)]);case k(0x14d):return new Helmet(a[k(0x134)],a[k(0x138)]);case k(0x152):return new BodyArmor(a[k(0x134)],a[k(0x138)]);case k(0x143):return new LegArmor(a[k(0x134)],a['description']);case k(0x12c):return new Boots(a['name'],a[k(0x138)]);case k(0x149):return new Gloves(a['name'],a[k(0x138)]);case k(0x13f):return new Gauntlets(a['name'],a[k(0x138)]);default:return new BasicItem(a[k(0x134)],a[k(0x138)]);}}[a41h(0x135)](a){const l=a41h,b=this[l(0x146)](a[l(0x154)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const m=a41h,b=a['roomType']&&RoomType[a[m(0x136)][m(0x13d)]()]?RoomType[a[m(0x136)][m(0x13d)]()]:RoomType[m(0x140)];return{'name':a[m(0x134)],'description':a[m(0x138)],'isStartRoom':a[m(0x145)],'roomType':b};}}
1
+ function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a41d(a,b);}const a41h=a41d;function a41c(){const n=['11692376tNsydW','createItem','key','book','rewardItem','4209429ngRcbq','items','name','createPuzzle','content','toString','12gWguoH','2eZxsGx','puzzle','9ZhXJob','rifle','roomType','search','convertToRoomConfig','legarmor','toUpperCase','setPuzzle','(((.+)+)+)+$','description','322923YyYttw','803770FbgyIG','18710290NjcKNy','866971PXIely','sword','bodyarmor','inventory','4650412choBUz','createRoom','type','constructor','helmet','INSIDE'];a41c=function(){return n;};return a41c();}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x1c1))/0x1+-parseInt(f(0x1b5))/0x2*(parseInt(f(0x1d3))/0x3)+parseInt(f(0x1c8))/0x4+-parseInt(f(0x1c2))/0x5*(-parseInt(f(0x1d9))/0x6)+parseInt(f(0x1c4))/0x7+-parseInt(f(0x1ce))/0x8*(parseInt(f(0x1b7))/0x9)+parseInt(f(0x1c3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xe4d0a));const a41b=(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;};}()),a41a=a41b(this,function(){const g=a41d;return a41a[g(0x1d8)]()['search'](g(0x1bf))[g(0x1d8)]()[g(0x1cb)](a41a)[g(0x1ba)](g(0x1bf));});a41a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a41h(0x1c9)](a){const i=a41h,b=this['convertToRoomConfig'](a),c=new Room(b);if(a['items']){const d=new Inventory();a[i(0x1d4)]['forEach'](e=>{const j=i;d['addItem'](this[j(0x1cf)](e));}),c[i(0x1c7)]=d;}return a[i(0x1b6)]&&c[i(0x1be)](this[i(0x1d6)](a[i(0x1b6)])),c;}[a41h(0x1cf)](a){const k=a41h;switch(a[k(0x1ca)]){case k(0x1d0):return new Key(a[k(0x1d5)],a[k(0x1c0)]);case k(0x1d1):return new Book(a[k(0x1d5)],a[k(0x1c0)],a[k(0x1d7)]);case k(0x1c5):return new Sword(a[k(0x1d5)],a[k(0x1c0)]);case k(0x1b8):return new Rifle(a[k(0x1d5)],a['description']);case k(0x1cc):return new Helmet(a['name'],a[k(0x1c0)]);case k(0x1c6):return new BodyArmor(a[k(0x1d5)],a[k(0x1c0)]);case k(0x1bc):return new LegArmor(a[k(0x1d5)],a[k(0x1c0)]);case'boots':return new Boots(a[k(0x1d5)],a[k(0x1c0)]);case'gloves':return new Gloves(a[k(0x1d5)],a['description']);case'gauntlets':return new Gauntlets(a[k(0x1d5)],a['description']);default:return new BasicItem(a[k(0x1d5)],a[k(0x1c0)]);}}[a41h(0x1d6)](a){const l=a41h,b=this['createItem'](a[l(0x1d2)]);return new Puzzle({...a,'rewardItem':b});}[a41h(0x1bb)](a){const m=a41h,b=a[m(0x1b9)]&&RoomType[a[m(0x1b9)][m(0x1bd)]()]?RoomType[a[m(0x1b9)][m(0x1bd)]()]:RoomType[m(0x1cd)];return{'name':a[m(0x1d5)],'description':a[m(0x1c0)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- function a42c(){const r=['5235OvQBsX','getWelcomeMessage','8627605KbyUxE','scene','hasOwnProperty','execute','1074fbgApA','1EYZKGy','determineStartRoom','equip','10910npngIC','search','-\x20quit:\x20Exit\x20the\x20game.\x0a','(((.+)+)+)+$','4irTCBM','getAllRegisteredCommands','lock','initialize','look','1099113mYNkyv','getHelpMessage','8964180WeLLXs','getDescription','name','54IwSLYs','take','toLowerCase','1197496WmDSNp','slice','quit','Welcome,\x20','help','-\x20clear:\x20Clear\x20the\x20screen.\x0a','registerCommands','registerCommand','say','rooms','8481gBkShf','drop','getRooms','createCommand','toString','unequip','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','instance','player','split','maka','3429378jmqBfQ','currentRoom','solve'];a42c=function(){return r;};return a42c();}const a42j=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=-parseInt(h(0x160))/0x1*(parseInt(h(0x189))/0x2)+parseInt(h(0x16c))/0x3*(parseInt(h(0x167))/0x4)+-parseInt(h(0x18c))/0x5*(-parseInt(h(0x15f))/0x6)+parseInt(h(0x18e))/0x7+parseInt(h(0x174))/0x8*(parseInt(h(0x171))/0x9)+-parseInt(h(0x163))/0xa*(parseInt(h(0x17e))/0xb)+parseInt(h(0x16e))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xd5c42));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 i=a42d;return a42a[i(0x182)]()[i(0x164)]('(((.+)+)+)+$')[i(0x182)]()['constructor'](a42a)[i(0x164)](i(0x166));});a42a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x15f;let f=c[d];return f;},a42d(a,b);}import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a42j(0x185)];[a42j(0x18f)];[a42j(0x186)];[a42j(0x18a)];[a42j(0x17d)];constructor(a,b){const k=a42j;this[k(0x186)]=a,this[k(0x18f)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x18f)][k(0x16a)](),this['player']['currentLocation']=this['determineStartRoom'](),this['registerCommands']();}[a42j(0x17a)](){const l=a42j;CommandFactory[l(0x17b)](l(0x16b),LookCommand),CommandFactory[l(0x17b)]('go',GoCommand),CommandFactory['registerCommand'](l(0x172),TakeCommand),CommandFactory[l(0x17b)]('use',UseCommand),CommandFactory[l(0x17b)](l(0x162),EquipCommand),CommandFactory[l(0x17b)](l(0x183),UnequipCommand),CommandFactory[l(0x17b)](l(0x18b),SolveCommand),CommandFactory[l(0x17b)](l(0x17f),DropCommand),CommandFactory[l(0x17b)]('unlock',UnlockCommand),CommandFactory[l(0x17b)](l(0x169),LockCommand),CommandFactory[l(0x17b)]('search',SearchCommand),CommandFactory['registerCommand'](l(0x17c),SayCommand);}[a42j(0x161)](){const m=a42j;return this[m(0x18f)]['determineStartRoom']();}[a42j(0x18d)](){const n=a42j;return n(0x177)+this['player'][n(0x170)];}static['getInstance'](a,b){const o=a42j;return!Game['instance']&&(Game[o(0x185)]=new Game(a,b)),Game[o(0x185)];}['handleInput'](a){const p=a42j,b=a['trim']()[p(0x187)]('\x20'),c=b[0x0][p(0x173)](),d=b[p(0x175)](0x1);if(c===p(0x176))return null;if(c===p(0x188))return p(0x184);if(c===p(0x178))return this[p(0x16d)]();if(c==='clear')return'';const e={'actor':this['player'],'rooms':this[p(0x18f)][p(0x180)](),'scene':this[p(0x18f)]},f=CommandFactory[p(0x181)](c,e);if(f){const g=f[p(0x191)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}['getHelpMessage'](){const q=a42j,a=CommandFactory[q(0x168)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[q(0x190)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x16f)]()+'\x0a';}}return b+=q(0x179),b+=q(0x165),b;}}
1
+ const a42k=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=-parseInt(h(0xc3))/0x1+-parseInt(h(0xb1))/0x2*(-parseInt(h(0xa3))/0x3)+-parseInt(h(0xb0))/0x4+parseInt(h(0xa4))/0x5*(parseInt(h(0xa7))/0x6)+-parseInt(h(0xa6))/0x7+-parseInt(h(0x99))/0x8*(-parseInt(h(0xa1))/0x9)+-parseInt(h(0xab))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xbb314));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a42d;if(c){const e=c[i(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const j=a42d;return a42a[j(0xb7)]()[j(0xac)](j(0xb5))[j(0xb7)]()[j(0x96)](a42a)[j(0xac)](j(0xb5));});a42a();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';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x95;let f=c[d];return f;},a42d(a,b);}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';function a42c(){const s=['scene','initialize','Welcome,\x20','Available\x20Commands:\x0a','registerCommands','split','take','541142lJmBHb','registerCommand','player','determineStartRoom','instance','getWelcomeMessage','-\x20quit:\x20Exit\x20the\x20game.\x0a','constructor','getInstance','rooms','24pFrUzL','slice','apply','drop','name','equip','createCommand','getDescription','4088358wszsAK','getHelpMessage','2171943uSiLVo','963225mZaizz','execute','3157532serHHa','42pfQBOG','handleInput','currentLocation','solve','12151330whXgPo','search','quit','use','unlock','4740688lHDKba','4HcqULI','getAllRegisteredCommands','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','getRooms','(((.+)+)+)+$','toLowerCase','toString','hasOwnProperty','help','look','say'];a42c=function(){return s;};return a42c();}import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a42k(0xc7)];[a42k(0xbc)];[a42k(0xc5)];['currentRoom'];[a42k(0x98)];constructor(a,b){const l=a42k;this[l(0xc5)]=a,this[l(0xbc)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0xbd)](),this[l(0xc5)][l(0xa9)]=this[l(0xc6)](),this[l(0xc0)]();}['registerCommands'](){const m=a42k;CommandFactory[m(0xc4)](m(0xba),LookCommand),CommandFactory[m(0xc4)]('go',GoCommand),CommandFactory['registerCommand'](m(0xc2),TakeCommand),CommandFactory[m(0xc4)](m(0xae),UseCommand),CommandFactory['registerCommand'](m(0x9e),EquipCommand),CommandFactory[m(0xc4)]('unequip',UnequipCommand),CommandFactory[m(0xc4)](m(0xaa),SolveCommand),CommandFactory[m(0xc4)](m(0x9c),DropCommand),CommandFactory[m(0xc4)](m(0xaf),UnlockCommand),CommandFactory[m(0xc4)]('lock',LockCommand),CommandFactory[m(0xc4)](m(0xac),SearchCommand),CommandFactory[m(0xc4)](m(0xbb),SayCommand);}[a42k(0xc6)](){const n=a42k;return this['scene'][n(0xc6)]();}[a42k(0xc8)](){const o=a42k;return o(0xbe)+this[o(0xc5)][o(0x9d)];}static[a42k(0x97)](a,b){const p=a42k;return!Game[p(0xc7)]&&(Game[p(0xc7)]=new Game(a,b)),Game[p(0xc7)];}[a42k(0xa8)](a){const q=a42k,b=a['trim']()[q(0xc1)]('\x20'),c=b[0x0][q(0xb6)](),d=b[q(0x9a)](0x1);if(c===q(0xad))return null;if(c==='maka')return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0xb9))return this[q(0xa2)]();if(c==='clear')return'';const e={'actor':this[q(0xc5)],'rooms':this['scene'][q(0xb4)](),'scene':this[q(0xbc)]},f=CommandFactory[q(0x9f)](c,e);if(f){const g=f[q(0xa5)](d);return g;}return q(0xb3)+c+'\x22.';}['getHelpMessage'](){const r=a42k,a=CommandFactory[r(0xb2)]();let b=r(0xbf);for(const c in a){if(a[r(0xb8)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xa0)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+=r(0x95),b;}}
@@ -1 +1 @@
1
- function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xd1;var f=c[d];return f;},a43d(a,b);}(function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0xd5))/0x1*(-parseInt(f(0xde))/0x2)+-parseInt(f(0xdd))/0x3*(-parseInt(f(0xd4))/0x4)+parseInt(f(0xdb))/0x5+parseInt(f(0xd6))/0x6+-parseInt(f(0xda))/0x7*(-parseInt(f(0xe0))/0x8)+-parseInt(f(0xd2))/0x9*(-parseInt(f(0xdc))/0xa)+-parseInt(f(0xdf))/0xb*(parseInt(f(0xd7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x4ca4e));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(0xd1)]()[g(0xd3)]('(((.+)+)+)+$')[g(0xd1)]()[g(0xd9)](a43a)[g(0xd3)](g(0xd8));});a43a();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';function a43c(){var h=['16819aHuShD','1735672igDKpt','toString','1989GFxdmu','search','8300ytrwrN','2bIQEzf','3615168kRAfNJ','18444fafLMh','(((.+)+)+)+$','constructor','14SUvLHP','2469525odwkRD','17260PLXWcb','504PEcSZM','403610EObEuS'];a43c=function(){return h;};return a43c();}export*from'./scene.js';
1
+ function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x1d8;var f=c[d];return f;},a43d(a,b);}(function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x1de))/0x1+parseInt(f(0x1d8))/0x2+-parseInt(f(0x1e2))/0x3+parseInt(f(0x1dd))/0x4+-parseInt(f(0x1e4))/0x5*(parseInt(f(0x1df))/0x6)+parseInt(f(0x1d9))/0x7+-parseInt(f(0x1e0))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x55b97));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x1e1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a['toString']()[h(0x1da)](h(0x1db))[h(0x1e3)]()[h(0x1dc)](a43a)[h(0x1da)](h(0x1db));});a43a();export*from'./door.js';function a43c(){var i=['constructor','2221916woCBra','353329epLcXt','741318mwqyjr','3491192BWjgto','apply','1480314apXNuu','toString','5imWizZ','945412ZuMxjo','161021iUKOFu','search','(((.+)+)+)+$'];a43c=function(){return i;};return a43c();}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 +1 @@
1
- var a44i=a44d;(function(a,b){var f=a44d,c=a();while(!![]){try{var d=parseInt(f(0xb2))/0x1*(-parseInt(f(0xa6))/0x2)+parseInt(f(0xa7))/0x3*(parseInt(f(0xc0))/0x4)+-parseInt(f(0xb0))/0x5*(parseInt(f(0xbd))/0x6)+parseInt(f(0xa1))/0x7*(-parseInt(f(0xab))/0x8)+-parseInt(f(0xb5))/0x9+parseInt(f(0xb8))/0xa*(-parseInt(f(0xb9))/0xb)+parseInt(f(0xb6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x8b26f));var a44b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a44d;if(c){var e=c[g(0xaf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){var h=a44d;return a44a[h(0xac)]()[h(0xa2)](h(0xb7))['toString']()['constructor'](a44a)[h(0xa2)](h(0xb7));});a44a();function a44c(){var n=['checkIfLockable','2EPJslr','450WXCVUK','attemptUnlock','unlockItemOrSolution','getOtherSide','3313816huhKwS','toString','getInstance','\x20and\x20','apply','173975daOIpD','isLockable','127431mmSnPQ','checkIfLocked','write','8516727rawdsM','42031548MawsKX','(((.+)+)+)+$','370pOGoCt','137742oAxDAU','name','Failed\x20to\x20unlock\x20door:\x20','.\x20Used:\x20','168rzEvgM','logger','roomA','10856MfRRPb','Door\x20created\x20between\x20','roomB','14jVgcgK','search','isLocked','To\x20'];a44c=function(){return n;};return a44c();}import{Logger}from'../utilities/logger.js';function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0xa1;var f=c[d];return f;},a44d(a,b);}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a44i(0xbf)];[a44i(0xc2)];['isLocked'];[a44i(0xa9)];[a44i(0xba)];[a44i(0xbe)];[a44i(0xb1)];constructor(a){var j=a44i;super(),this['roomA']=a[j(0xbf)],this[j(0xc2)]=a[j(0xc2)],this[j(0xa3)]=a['isLocked']||![],this['unlockItemOrSolution']=a['unlockItemOrSolution'],this[j(0xba)]=a[j(0xba)]?capitalCase(a[j(0xba)]):j(0xa4)+a[j(0xc2)][j(0xba)],this[j(0xbe)]=Logger[j(0xad)](),this[j(0xb1)]=!!a[j(0xa9)],this['logger']['write'](j(0xc1)+this['roomA'][j(0xba)]+j(0xae)+this[j(0xc2)][j(0xba)]+'.\x20Is\x20Locked:\x20'+this[j(0xa3)]);}[a44i(0xaa)](a){var k=a44i;return this[k(0xbf)]===a?this['roomB']:this['roomA'];}[a44i(0xa8)](a){var l=a44i;if(this['isLocked']&&this[l(0xa9)]&&this['unlockItemOrSolution']===a)return this[l(0xa3)]=![],this['logger'][l(0xb4)]('Door\x20unlocked:\x20'+this[l(0xba)]+l(0xbc)+a),!![];return this[l(0xbe)][l(0xb4)](l(0xbb)+this[l(0xba)]+l(0xbc)+a),![];}[a44i(0xb3)](){var m=a44i;return this[m(0xa3)];}[a44i(0xa5)](){return this['isLockable'];}}
1
+ var a44h=a44d;function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0x75;var f=c[d];return f;},a44d(a,b);}(function(a,b){var f=a44d,c=a();while(!![]){try{var d=-parseInt(f(0x7c))/0x1*(-parseInt(f(0x89))/0x2)+parseInt(f(0x8d))/0x3*(-parseInt(f(0x81))/0x4)+parseInt(f(0x8a))/0x5*(-parseInt(f(0x80))/0x6)+-parseInt(f(0x76))/0x7+-parseInt(f(0x8f))/0x8*(parseInt(f(0x83))/0x9)+parseInt(f(0x7a))/0xa+parseInt(f(0x75))/0xb*(parseInt(f(0x7e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xd8ea9));var a44b=(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;};}()),a44a=a44b(this,function(){var g=a44d;return a44a[g(0x92)]()['search'](g(0x87))[g(0x92)]()['constructor'](a44a)['search'](g(0x87));});a44a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a44h(0x84)];[a44h(0x82)];['isLocked'];[a44h(0x86)];[a44h(0x93)];[a44h(0x8c)];[a44h(0x8e)];constructor(a){var i=a44h;super(),this[i(0x84)]=a['roomA'],this[i(0x82)]=a[i(0x82)],this['isLocked']=a['isLocked']||![],this[i(0x86)]=a[i(0x86)],this['name']=a[i(0x93)]?capitalCase(a[i(0x93)]):i(0x77)+a[i(0x82)][i(0x93)],this['logger']=Logger[i(0x79)](),this[i(0x8e)]=!!a[i(0x86)],this[i(0x8c)][i(0x7f)]('Door\x20created\x20between\x20'+this[i(0x84)][i(0x93)]+i(0x7d)+this['roomB'][i(0x93)]+i(0x7b)+this['isLocked']);}['getOtherSide'](a){var j=a44h;return this[j(0x84)]===a?this[j(0x82)]:this[j(0x84)];}[a44h(0x88)](a){var k=a44h;if(this[k(0x8b)]&&this[k(0x86)]&&this[k(0x86)]===a)return this['isLocked']=![],this[k(0x8c)][k(0x7f)]('Door\x20unlocked:\x20'+this['name']+k(0x78)+a),!![];return this[k(0x8c)][k(0x7f)](k(0x85)+this[k(0x93)]+k(0x78)+a),![];}[a44h(0x91)](){return this['isLocked'];}[a44h(0x90)](){var l=a44h;return this[l(0x8e)];}}function a44c(){var m=['358572XbuiUW','5587468NCsnzd','roomB','342CFtJgf','roomA','Failed\x20to\x20unlock\x20door:\x20','unlockItemOrSolution','(((.+)+)+)+$','attemptUnlock','20756nfLCpU','140HYjCnp','isLocked','logger','3deUPeb','isLockable','270328RXwkcc','checkIfLockable','checkIfLocked','toString','name','33ORFDgN','9294033xBDbjf','To\x20','.\x20Used:\x20','getInstance','13803000ygVfBc','.\x20Is\x20Locked:\x20','52aaUFTa','\x20and\x20','18602052SOoyvr','write'];a44c=function(){return m;};return a44c();}
@@ -1 +1 @@
1
- const a45h=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x1bc))/0x1*(parseInt(f(0x1aa))/0x2)+parseInt(f(0x1b9))/0x3*(parseInt(f(0x1ce))/0x4)+-parseInt(f(0x1c3))/0x5*(-parseInt(f(0x1cb))/0x6)+parseInt(f(0x1b3))/0x7*(parseInt(f(0x1b4))/0x8)+-parseInt(f(0x1ab))/0x9+-parseInt(f(0x1c2))/0xa+-parseInt(f(0x1cd))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x3830f));function a45c(){const q=['1127zYPVZC','17040qGITNv','name','values','toString','Failed\x20to\x20remove\x20item:\x20','312162zlwxDY','\x20to\x20inventory.','get','6snUfpn','(((.+)+)+)+$','items','map','logger','Removed\x20item:\x20','350980OoipbC','145HpBbxl','constructor','getInstance','\x20in\x20','weight','Added\x20item:\x20','write','Retrieved\x20details\x20for\x20item:\x20','42516NfpPvb','search','2514270QQpXbR','16xpITAA','Checked\x20for\x20item:\x20','\x20from\x20inventory.','join','delete','addItem','listItems','98308usncgl','1583001FWnnTT','.\x20Exists:\x20','getItem','toLowerCase','.\x20Item\x20not\x20found.','keys','removeItem','Listed\x20items\x20in\x20inventory:\x20'];a45c=function(){return q;};return a45c();}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const g=a45d;return a45a[g(0x1b7)]()[g(0x1cc)](g(0x1bd))['toString']()[g(0x1c4)](a45a)[g(0x1cc)](g(0x1bd));});a45a();import{capitalCase}from'change-case';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1a8;let f=c[d];return f;},a45d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a45h(0x1be)];[a45h(0x1c0)];constructor(){const i=a45h;super(),this[i(0x1be)]=new Map(),this[i(0x1c0)]=Logger[i(0x1c5)]();}[a45h(0x1a8)](a){const j=a45h;this[j(0x1be)]['set'](a[j(0x1b5)][j(0x1ae)](),a),this[j(0x1c0)][j(0x1c9)](j(0x1c8)+a[j(0x1b5)]+j(0x1ba));}[a45h(0x1b1)](a){const k=a45h,b=this[k(0x1ad)](a);if(b)return this[k(0x1be)][k(0x1d2)](a[k(0x1ae)]()),this[k(0x1c0)]['write'](k(0x1c1)+a+k(0x1d0)),b;return this['logger'][k(0x1c9)](k(0x1b8)+a+k(0x1af)),null;}['hasItem'](a){const l=a45h,b=this['items']['has'](a[l(0x1ae)]()),c=[...this[l(0x1be)][l(0x1b0)]()];return this[l(0x1c0)][l(0x1c9)](l(0x1cf)+a+l(0x1c6)+c[l(0x1d1)](',\x20')+l(0x1ac)+b+'.'),b;}[a45h(0x1ad)](a){const m=a45h,b=this[m(0x1be)][m(0x1bb)](a[m(0x1ae)]())||null;return b?this[m(0x1c0)][m(0x1c9)](m(0x1ca)+a+'.'):this[m(0x1c0)]['write']('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),b;}[a45h(0x1a9)](){const n=a45h,a=[...this[n(0x1be)][n(0x1b0)]()],b=a[n(0x1bf)](c=>capitalCase(c));return this['logger']['write'](n(0x1b2)+b[n(0x1d1)](',\x20')+'.'),a;}['getWeight'](){const o=a45h;let a=0x0;for(const b of this[o(0x1be)][o(0x1b6)]()){a+=b[o(0x1c7)];}return a;}['getAllItems'](){const p=a45h;return[...this[p(0x1be)][p(0x1b6)]()];}}
1
+ function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xba;let f=c[d];return f;},a45d(a,b);}const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0xe4))/0x1*(parseInt(f(0xc1))/0x2)+-parseInt(f(0xdf))/0x3*(-parseInt(f(0xe2))/0x4)+parseInt(f(0xd9))/0x5+-parseInt(f(0xbb))/0x6*(parseInt(f(0xd8))/0x7)+parseInt(f(0xc9))/0x8+parseInt(f(0xd2))/0x9*(parseInt(f(0xd3))/0xa)+-parseInt(f(0xd0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x9a850));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0xc7)]()[h(0xc5)](h(0xc6))[h(0xc7)]()['constructor'](a45a)[h(0xc5)]('(((.+)+)+)+$');});a45a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a45c(){const r=['Failed\x20to\x20remove\x20item:\x20','148sCtGsl','map','removeItem','\x20from\x20inventory.','search','(((.+)+)+)+$','toString','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','760488ZShLYb','getItem','.\x20Exists:\x20','.\x20Item\x20not\x20found.','name','Listed\x20items\x20in\x20inventory:\x20','get','29573368ywnqNG','values','1359fqNeWd','67990JMIykl','delete','join','Removed\x20item:\x20','\x20in\x20','2206855BnMAZe','6064670XBoStB','apply','getWeight','logger','getInstance','Retrieved\x20details\x20for\x20item:\x20','2390469qvSCqG','keys','set','4yYkxld','addItem','6827JEheum','items','6YjKnzM','write','toLowerCase','\x20to\x20inventory.','weight'];a45c=function(){return r;};return a45c();}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a45i(0xba)];[a45i(0xdc)];constructor(){const j=a45i;super(),this[j(0xba)]=new Map(),this['logger']=Logger[j(0xdd)]();}[a45i(0xe3)](a){const k=a45i;this[k(0xba)][k(0xe1)](a[k(0xcd)]['toLowerCase'](),a),this[k(0xdc)][k(0xbc)]('Added\x20item:\x20'+a['name']+k(0xbe));}[a45i(0xc3)](a){const l=a45i,b=this[l(0xca)](a);if(b)return this[l(0xba)][l(0xd4)](a[l(0xbd)]()),this[l(0xdc)][l(0xbc)](l(0xd6)+a+l(0xc4)),b;return this[l(0xdc)][l(0xbc)](l(0xc0)+a+l(0xcc)),null;}['hasItem'](a){const m=a45i,b=this[m(0xba)]['has'](a['toLowerCase']()),c=[...this['items']['keys']()];return this[m(0xdc)][m(0xbc)]('Checked\x20for\x20item:\x20'+a+m(0xd7)+c[m(0xd5)](',\x20')+m(0xcb)+b+'.'),b;}['getItem'](a){const n=a45i,b=this[n(0xba)][n(0xcf)](a[n(0xbd)]())||null;return b?this['logger'][n(0xbc)](n(0xde)+a+'.'):this['logger'][n(0xbc)](n(0xc8)+a+n(0xcc)),b;}['listItems'](){const o=a45i,a=[...this['items'][o(0xe0)]()],b=a[o(0xc2)](c=>capitalCase(c));return this[o(0xdc)][o(0xbc)](o(0xce)+b[o(0xd5)](',\x20')+'.'),a;}[a45i(0xdb)](){const p=a45i;let a=0x0;for(const b of this[p(0xba)]['values']()){a+=b[p(0xbf)];}return a;}['getAllItems'](){const q=a45i;return[...this[q(0xba)][q(0xd1)]()];}}
@@ -1 +1 @@
1
- var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x1c4))/0x1*(-parseInt(f(0x1c6))/0x2)+-parseInt(f(0x1b7))/0x3*(-parseInt(f(0x1b6))/0x4)+-parseInt(f(0x1b8))/0x5+parseInt(f(0x1c1))/0x6+parseInt(f(0x1c7))/0x7+-parseInt(f(0x1c0))/0x8+parseInt(f(0x1bc))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x96778));function a46c(){var l=['rating','35314YQuIyY','shape','46MSMOjd','2048200UMbIjN','uuid','description','You\x20use\x20the\x20','apply','category','texture','(((.+)+)+)+$','.\x20Nothing\x20special\x20happens.','size','4OmeluS','1304409Gsxlof','4227475tVUCse','weight','name','search','163089iupSza','constructor','use','color','9584272dOHMAz','6612570gYgrDE','toString'];a46c=function(){return l;};return a46c();}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1b0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x1c2)]()[h(0x1bb)](h(0x1b3))[h(0x1c2)]()[h(0x1bd)](a46a)[h(0x1bb)](h(0x1b3));});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1b0;var f=c[d];return f;},a46d(a,b);}a46a();import{v4 as a46e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a46i(0x1c8)];[a46i(0x1ba)];[a46i(0x1c9)];[a46i(0x1b5)];[a46i(0x1b1)];['shape'];[a46i(0x1bf)];['texture'];[a46i(0x1c3)];['weight'];constructor(a){var j=a46i;super(),this['name']=a[j(0x1ba)],this[j(0x1c9)]=a[j(0x1c9)],this['size']=a['size'],this[j(0x1b1)]=a[j(0x1b1)],this[j(0x1c5)]=a[j(0x1c5)],this[j(0x1bf)]=a[j(0x1bf)],this[j(0x1b2)]=a[j(0x1b2)],this['rating']=a['rating'],this['weight']=a[j(0x1b9)],this[j(0x1c8)]=a46e();}[a46i(0x1be)](){var k=a46i;return k(0x1ca)+this[k(0x1ba)]+k(0x1b4);}}
1
+ var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x1cf))/0x1*(-parseInt(f(0x1d0))/0x2)+parseInt(f(0x1c6))/0x3+-parseInt(f(0x1d2))/0x4*(-parseInt(f(0x1d3))/0x5)+-parseInt(f(0x1c8))/0x6+-parseInt(f(0x1d9))/0x7*(parseInt(f(0x1d5))/0x8)+-parseInt(f(0x1d6))/0x9+-parseInt(f(0x1c9))/0xa*(-parseInt(f(0x1d8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xb5e73));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1ca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0x1cb)](h(0x1cd))['toString']()[h(0x1d7)](a46a)[h(0x1cb)](h(0x1cd));});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1c6;var f=c[d];return f;},a46d(a,b);}function a46c(){var l=['(((.+)+)+)+$','rating','1GhsFoL','854234QvXsmc','uuid','4yyvZMq','549520KroxRh','description','231944IwIkHn','537885SVmEDQ','constructor','7914797zFpWUq','14midehz','name','use','category','texture','size','color','2891244ZnZGHj','shape','3019416oZUTvV','10KrDACf','apply','search','weight'];a46c=function(){return l;};return a46c();}a46a();import{v4 as a46e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a46i(0x1d1)];[a46i(0x1da)];['description'];[a46i(0x1de)];[a46i(0x1dc)];[a46i(0x1c7)];[a46i(0x1df)];[a46i(0x1dd)];['rating'];[a46i(0x1cc)];constructor(a){var j=a46i;super(),this[j(0x1da)]=a['name'],this[j(0x1d4)]=a[j(0x1d4)],this[j(0x1de)]=a[j(0x1de)],this[j(0x1dc)]=a[j(0x1dc)],this[j(0x1c7)]=a['shape'],this[j(0x1df)]=a[j(0x1df)],this['texture']=a['texture'],this[j(0x1ce)]=a[j(0x1ce)],this[j(0x1cc)]=a[j(0x1cc)],this[j(0x1d1)]=a46e();}[a46i(0x1db)](){var k=a46i;return'You\x20use\x20the\x20'+this[k(0x1da)]+'.\x20Nothing\x20special\x20happens.';}}
@@ -1 +1 @@
1
- const a47h=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0xd8))/0x1+parseInt(f(0xd1))/0x2+parseInt(f(0xd9))/0x3+parseInt(f(0xe5))/0x4*(parseInt(f(0xd0))/0x5)+-parseInt(f(0xd2))/0x6+-parseInt(f(0xe1))/0x7*(-parseInt(f(0xe0))/0x8)+-parseInt(f(0xd7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x913fc));function a47c(){const m=['10882593LKxjsZ','541873jBUNMB','2395515VjRBar','scene','search','(((.+)+)+)+$','_dialogue','rooms','length','1143776HDfVgM','28tyNjsT','floor','toString','random','4RVNIBc','1705655FSBLsw','1509278UjdJAE','721038yFiJbn','name','moveTo','constructor','_name'];a47c=function(){return m;};return a47c();}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const g=a47d;return a47a[g(0xe3)]()[g(0xdb)]('(((.+)+)+)+$')[g(0xe3)]()[g(0xd5)](a47a)['search'](g(0xdc));});a47a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xd0;let f=c[d];return f;},a47d(a,b);}export class NPC extends Player{[a47h(0xd6)];['_dialogue'];[a47h(0xde)];['scene'];constructor(a,b,c,d){super(d),this['_name']=a,this['_dialogue']=b,this['rooms']=c;}get[a47h(0xd3)](){const i=a47h;return this[i(0xd6)];}['speak'](){const j=a47h;return this[j(0xdd)][Math[j(0xe2)](Math[j(0xe4)]()*this[j(0xdd)][j(0xdf)])];}['autonomousMove'](a){const k=a47h,b=a[Math[k(0xe2)](Math[k(0xe4)]()*a[k(0xdf)])];this[k(0xd4)](b['name']);}[a47h(0xd4)](a){const l=a47h,b={'actor':this,'rooms':this[l(0xde)],'scene':this[l(0xda)]},c=new GoCommand(b);c['execute']([a]);}}
1
+ const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x1cf))/0x1+-parseInt(f(0x1dc))/0x2+parseInt(f(0x1d8))/0x3+-parseInt(f(0x1da))/0x4+-parseInt(f(0x1d5))/0x5+parseInt(f(0x1d2))/0x6+parseInt(f(0x1db))/0x7*(parseInt(f(0x1df))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xbdef7));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x1d7)]()['search'](h(0x1cb))[h(0x1d7)]()[h(0x1dd)](a47a)[h(0x1d0)](h(0x1cb));});a47a();import{Player}from'./player.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1c9;let f=c[d];return f;},a47d(a,b);}import{GoCommand}from'../commands/go.js';function a47c(){const o=['5838102TTFGxA','autonomousMove','floor','3195655oDEBIy','_dialogue','toString','908574hPCbvs','rooms','5076644fYUtFR','2793OeyYvI','1376940IGivCO','constructor','apply','54440ACUJLY','_name','name','(((.+)+)+)+$','scene','random','moveTo','616333zOWIYO','search','execute'];a47c=function(){return o;};return a47c();}export class NPC extends Player{['_name'];['_dialogue'];[a47i(0x1d9)];['scene'];constructor(a,b,c,d){const j=a47i;super(d),this[j(0x1c9)]=a,this['_dialogue']=b,this[j(0x1d9)]=c;}get['name'](){const k=a47i;return this[k(0x1c9)];}['speak'](){const l=a47i;return this[l(0x1d6)][Math[l(0x1d4)](Math[l(0x1cd)]()*this[l(0x1d6)]['length'])];}[a47i(0x1d3)](a){const m=a47i,b=a[Math[m(0x1d4)](Math[m(0x1cd)]()*a['length'])];this['moveTo'](b[m(0x1ca)]);}[a47i(0x1ce)](a){const n=a47i,b={'actor':this,'rooms':this[n(0x1d9)],'scene':this[n(0x1cc)]},c=new GoCommand(b);c[n(0x1d1)]([a]);}}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x1b5))/0x1+-parseInt(f(0x1a0))/0x2+-parseInt(f(0x1d3))/0x3*(parseInt(f(0x1a7))/0x4)+-parseInt(f(0x1a4))/0x5+-parseInt(f(0x1b1))/0x6*(parseInt(f(0x1b4))/0x7)+-parseInt(f(0x1dc))/0x8*(parseInt(f(0x1c5))/0x9)+-parseInt(f(0x1ec))/0xa*(-parseInt(f(0x1ce))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xc66af));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1d7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1ee)]()[h(0x1e6)](h(0x1db))['toString']()[h(0x1d2)](a48a)[h(0x1e6)](h(0x1db));});function a48c(){const A=['4654011Xjrncz','boots','Added\x20','head','apply','canEquip','feet','Hat','(((.+)+)+)+$','6677768pSUYsR','_equipment','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','You\x20unequipped\x20','startLocation','leftHand','Weapon','includes','_playerName','You\x20can\x27t\x20equip\x20','search','hear','A\x20featureless\x20room','You\x20don\x27t\x20have\x20','arms','Helmet','2351530xfudMm','arm\x20armor','toString','Gloves','\x20is\x20no\x20longer\x20listeng\x20in\x20','values','body\x20armor','error','playerName','addInventory','weight','rightHand','hat','equipment','2023208KUXqtP','inventoryItems','equip','shield','6721945qKtvtQ','determineEquipmentSlot','bind','4pNSIio','_currentLocation','name','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','maxCarryingWeight','toLowerCase','weapon','\x20to\x20player\x27s\x20inventory.','\x20is\x20now\x20listening\x20in\x20room\x20','logger','60JWuEXY','getWeight','enterRoom','207193hJkKRo','677394eDbTvN','unequip','currentWeight','leg\x20armor','_maxCarryingWeight','initialEquipment','currentLocation','write','\x20from\x20player\x27s\x20inventory.','unequipBySlot','gloves','Max\x20carrying\x20weight\x20must\x20be\x20positive.','addItem','\x20in\x20your\x20inventory.','bodyarmor','Removed\x20','9Jioyxn','leaveRoom','Invalid\x20category\x20or\x20slot:\x20','torso','removeInventory','BodyArmor','_inventory','category','Shield','242HENAqD','helmet','ArmArmor','legs','constructor'];a48c=function(){return A;};return a48c();}a48a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x19c;let f=c[d];return f;},a48d(a,b);}import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a48i(0x1e4)];['_currentLocation'];[a48i(0x1cb)];[a48i(0x1dd)];['_maxCarryingWeight']=0x32;['logger'];constructor(a){const j=a48i;super(),this[j(0x1e4)]=a[j(0x1f4)],this[j(0x1a8)]=a[j(0x1e0)]||new Room({'name':'Nexus','description':j(0x1e8)}),this[j(0x1cb)]=new Inventory(),this[j(0x1b0)]=Logger['getInstance']();if(a?.[j(0x1a1)])for(const b of a[j(0x1a1)]){this[j(0x1cb)][j(0x1c1)](b);}this['_equipment']=a?.[j(0x1ba)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a48i;return this[k(0x1e4)];}get[a48i(0x1bb)](){return this['_currentLocation'];}set['currentLocation'](a){const l=a48i;this[l(0x1a8)]!==a&&(this[l(0x1c6)](),this[l(0x1b3)](a)),this[l(0x1a8)]=a;}get['inventory'](){const m=a48i;return this[m(0x1cb)];}get['equipment'](){return this['_equipment'];}set[a48i(0x19f)](a){const n=a48i;this[n(0x1dd)]=a;}get['maxCarryingWeight'](){const o=a48i;return this[o(0x1b9)];}set[a48i(0x1ab)](a){const p=a48i;a>0x0?this[p(0x1b9)]=a:console[p(0x1f3)](p(0x1c0));}get[a48i(0x1b7)](){const q=a48i;let a=this[q(0x1cb)][q(0x1b2)]();for(const b in this['_equipment']){const c=this[q(0x1dd)][b];c&&(a+=c['weight']);}return a;}[a48i(0x1f5)](a){const r=a48i;if(this[r(0x1b7)]+a[r(0x19c)]>this['maxCarryingWeight']){this[r(0x1b0)]['write']('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[r(0x1cb)][r(0x1c1)](a),this[r(0x1b0)][r(0x1bc)](r(0x1d5)+a['name']+r(0x1ae));}[a48i(0x1c9)](a){const s=a48i;if(this[s(0x1cb)]['removeItem'](a[s(0x1a9)]))return this['logger'][s(0x1bc)](s(0x1c4)+a['name']+s(0x1bd)),!![];return this[s(0x1b0)][s(0x1bc)]('Failed\x20to\x20remove\x20'+a[s(0x1a9)]+s(0x1bd)),![];}[a48i(0x1a2)](a){const t=a48i;if(!this[t(0x1cb)]['hasItem'](a['name']))return t(0x1e9)+a[t(0x1a9)]+t(0x1c2);if(!this[t(0x1d8)](a))return t(0x1e5)+a[t(0x1a9)]+'.';const b=this[t(0x1a5)](a[t(0x1cc)]);if(!b)return a['name']+t(0x1aa);if(this[t(0x19f)][b])return t(0x1de)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[t(0x19f)][b]=a,this[t(0x1c9)](a),'You\x20equipped\x20'+a['name']+'.';}[a48i(0x1b6)](a){const u=a48i;let b=a;if(!this[u(0x19f)][camelCase(b)]){b=this[u(0x1a5)](a);if(!b)return u(0x1c7)+a+'.';}return this[u(0x1be)](b);}[a48i(0x1a5)](a){const v=a48i;switch(a[v(0x1ac)]()){case Category[v(0x1e2)][v(0x1ac)]():return v(0x19d);case Category[v(0x1cd)][v(0x1ac)]():return v(0x1e1);case Category[v(0x1ef)][v(0x1ac)]():return v(0x1bf);case Category[v(0x1eb)][v(0x1ac)]():case Category[v(0x1da)][v(0x1ac)]():return v(0x1d6);case Category['Boots'][v(0x1ac)]():return v(0x1d9);case Category['LegArmor'][v(0x1ac)]():return'legs';case Category[v(0x1d0)][v(0x1ac)]():return v(0x1ea);case Category[v(0x1ca)][v(0x1ac)]():return v(0x1c8);case v(0x1ad):return v(0x19d);case v(0x1a3):return v(0x1e1);case v(0x1bf):return v(0x1bf);case v(0x1cf):case v(0x19e):return v(0x1d6);case v(0x1d4):return v(0x1d9);case v(0x1b8):case'legarmor':return v(0x1d1);case v(0x1ed):case'armarmor':return v(0x1ea);case v(0x1f2):case v(0x1c3):case v(0x1c8):return'torso';default:return null;}}[a48i(0x1d8)](a){const w=a48i;return Object[w(0x1f1)](Category)[w(0x1e3)](a[w(0x1cc)]);}['unequipBySlot'](a){const x=a48i,b=this[x(0x19f)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+'\x20slot.';return this['addInventory'](b),this[x(0x19f)][a]=null,x(0x1df)+b['name']+'.';}[a48i(0x1e7)](a,b){a!==this&&this['logger']['log'](a['name']+'\x20says:\x20\x22'+b+'\x22');}[a48i(0x1b3)](a){const y=a48i;this[y(0x1a8)]=a,a['on']('speak',this[y(0x1e7)]['bind'](this)),this[y(0x1b0)][y(0x1bc)](this[y(0x1a9)]+y(0x1af)+a[y(0x1a9)]);}['leaveRoom'](){const z=a48i;this[z(0x1a8)]&&(this['_currentLocation']['off']('speak',this[z(0x1e7)][z(0x1a6)](this)),this[z(0x1b0)]['write'](this['name']+z(0x1f0)+this[z(0x1a8)]['name']));}}
1
+ const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x19f))/0x1+-parseInt(f(0x19a))/0x2*(-parseInt(f(0x17b))/0x3)+parseInt(f(0x176))/0x4+-parseInt(f(0x158))/0x5*(-parseInt(f(0x172))/0x6)+-parseInt(f(0x1ae))/0x7*(-parseInt(f(0x15b))/0x8)+-parseInt(f(0x193))/0x9*(-parseInt(f(0x182))/0xa)+-parseInt(f(0x171))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x5d187));function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x153;let f=c[d];return f;},a48d(a,b);}const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a[g(0x164)]()[g(0x174)]('(((.+)+)+)+$')[g(0x164)]()[g(0x185)](a48a)[g(0x174)](g(0x1a4));});a48a();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{[a48h(0x1a2)];[a48h(0x16d)];['_inventory'];[a48h(0x190)];[a48h(0x18d)]=0x32;['logger'];constructor(a){const i=a48h;super(),this[i(0x1a2)]=a['playerName'],this[i(0x16d)]=a[i(0x1a0)]||new Room({'name':i(0x1a3),'description':'A\x20featureless\x20room'}),this[i(0x154)]=new Inventory(),this[i(0x1aa)]=Logger[i(0x177)]();if(a?.[i(0x179)])for(const b of a[i(0x179)]){this[i(0x154)][i(0x18b)](b);}this[i(0x190)]=a?.[i(0x16e)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const j=a48h;return this[j(0x1a2)];}get['currentLocation'](){const k=a48h;return this[k(0x16d)];}set[a48h(0x194)](a){const l=a48h;this['_currentLocation']!==a&&(this[l(0x1ab)](),this[l(0x16f)](a)),this[l(0x16d)]=a;}get[a48h(0x1ad)](){const m=a48h;return this[m(0x154)];}get['equipment'](){const n=a48h;return this[n(0x190)];}set['equipment'](a){const o=a48h;this[o(0x190)]=a;}get[a48h(0x15f)](){const p=a48h;return this[p(0x18d)];}set['maxCarryingWeight'](a){const q=a48h;a>0x0?this[q(0x18d)]=a:console[q(0x15c)](q(0x15e));}get['currentWeight'](){const r=a48h;let a=this[r(0x154)][r(0x170)]();for(const b in this[r(0x190)]){const c=this[r(0x190)][b];c&&(a+=c[r(0x1a8)]);}return a;}['addInventory'](a){const s=a48h;if(this[s(0x15d)]+a['weight']>this[s(0x15f)]){this[s(0x1aa)][s(0x195)](s(0x165));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[s(0x154)][s(0x18b)](a),this['logger']['write']('Added\x20'+a['name']+s(0x1a1));}[a48h(0x163)](a){const t=a48h;if(this[t(0x154)][t(0x199)](a[t(0x191)]))return this[t(0x1aa)][t(0x195)](t(0x17a)+a[t(0x191)]+t(0x196)),!![];return this['logger'][t(0x195)](t(0x17d)+a[t(0x191)]+t(0x196)),![];}['equip'](a){const u=a48h;if(!this['_inventory']['hasItem'](a['name']))return u(0x1a7)+a[u(0x191)]+'\x20in\x20your\x20inventory.';if(!this[u(0x18c)](a))return u(0x19b)+a[u(0x191)]+'.';const b=this['determineEquipmentSlot'](a[u(0x161)]);if(!b)return a[u(0x191)]+u(0x186);if(this[u(0x16b)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[u(0x16b)][b]=a,this['removeInventory'](a),u(0x160)+a[u(0x191)]+'.';}[a48h(0x169)](a){const v=a48h;let b=a;if(!this[v(0x16b)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[v(0x19c)](b);}[a48h(0x184)](a){const w=a48h;switch(a[w(0x166)]()){case Category[w(0x1a5)][w(0x166)]():return w(0x17e);case Category[w(0x175)][w(0x166)]():return'leftHand';case Category[w(0x18f)][w(0x166)]():return w(0x16c);case Category[w(0x17c)][w(0x166)]():case Category[w(0x157)][w(0x166)]():return w(0x17f);case Category['Boots'][w(0x166)]():return w(0x1ac);case Category[w(0x181)]['toLowerCase']():return w(0x162);case Category[w(0x198)][w(0x166)]():return w(0x1a6);case Category[w(0x189)]['toLowerCase']():return w(0x155);case w(0x187):return w(0x17e);case w(0x173):return'leftHand';case'gloves':return w(0x16c);case w(0x19e):case w(0x188):return'head';case'boots':return w(0x1ac);case'leg\x20armor':case w(0x15a):return'legs';case w(0x180):case w(0x16a):return w(0x1a6);case w(0x183):case'bodyarmor':case w(0x155):return w(0x155);default:return null;}}[a48h(0x18c)](a){const x=a48h;return Object[x(0x168)](Category)[x(0x18a)](a[x(0x161)]);}['unequipBySlot'](a){const y=a48h,b=this[y(0x16b)][a];if(!b)return y(0x19d)+a+'\x20slot.';return this[y(0x18e)](b),this[y(0x16b)][a]=null,y(0x197)+b[y(0x191)]+'.';}['hear'](a,b){const z=a48h;a!==this&&this[z(0x1aa)]['log'](a[z(0x191)]+z(0x159)+b+'\x22');}['enterRoom'](a){const A=a48h;this[A(0x16d)]=a,a['on'](A(0x192),this[A(0x1a9)][A(0x153)](this)),this['logger']['write'](this[A(0x191)]+A(0x167)+a[A(0x191)]);}[a48h(0x1ab)](){const B=a48h;this[B(0x16d)]&&(this[B(0x16d)][B(0x178)]('speak',this[B(0x1a9)]['bind'](this)),this[B(0x1aa)][B(0x195)](this[B(0x191)]+B(0x156)+this[B(0x16d)][B(0x191)]));}}function a48c(){const C=['unequip','armarmor','equipment','gloves','_currentLocation','initialEquipment','enterRoom','getWeight','29516960fMMOua','3810438TUvbnS','shield','search','Shield','2032972gfoSRY','getInstance','off','inventoryItems','Removed\x20','251892fjktFO','Helmet','Failed\x20to\x20remove\x20','rightHand','head','arm\x20armor','LegArmor','10YOZSGN','body\x20armor','determineEquipmentSlot','constructor','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','weapon','hat','BodyArmor','includes','addItem','canEquip','_maxCarryingWeight','addInventory','Gloves','_equipment','name','speak','6180363gQblkA','currentLocation','write','\x20from\x20player\x27s\x20inventory.','You\x20unequipped\x20','ArmArmor','removeItem','8lSLyKE','You\x20can\x27t\x20equip\x20','unequipBySlot','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','helmet','644373kjFFmN','startLocation','\x20to\x20player\x27s\x20inventory.','_playerName','Nexus','(((.+)+)+)+$','Weapon','arms','You\x20don\x27t\x20have\x20','weight','hear','logger','leaveRoom','feet','inventory','7dylPmX','bind','_inventory','torso','\x20is\x20no\x20longer\x20listeng\x20in\x20','Hat','5coYpLH','\x20says:\x20\x22','legarmor','2035416KNakkE','error','currentWeight','Max\x20carrying\x20weight\x20must\x20be\x20positive.','maxCarryingWeight','You\x20equipped\x20','category','legs','removeInventory','toString','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','toLowerCase','\x20is\x20now\x20listening\x20in\x20room\x20','values'];a48c=function(){return C;};return a48c();}
@@ -1 +1 @@
1
- var a49i=a49d;function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xc8;var f=c[d];return f;},a49d(a,b);}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0xdd))/0x1+-parseInt(f(0xe7))/0x2*(parseInt(f(0xcf))/0x3)+parseInt(f(0xdb))/0x4*(parseInt(f(0xd2))/0x5)+-parseInt(f(0xd6))/0x6+-parseInt(f(0xce))/0x7+parseInt(f(0xd3))/0x8*(parseInt(f(0xde))/0x9)+-parseInt(f(0xd5))/0xa*(-parseInt(f(0xda))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x85be6));function a49c(){var m=['failureMessage','search','7513FYckkJ','10880gzxwss','Puzzle:\x20Correct\x20solution\x20provided.','164687YbmsvO','6098949xzIzCX','You\x20solved\x20the\x20puzzle!','successMessage','constructor','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','solve','requiredItem','requiredPhrase','apply','262ADxqTf','(((.+)+)+)+$','write','rewardItem','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','solved','hasRequiredItem','7370461ZRwIBm','12741QYyVsU','logger','riddle','970JSMFGY','8PUTDUx','getInstance','23480XFsqOP','4899708faBjnx','matchesRequiredPhrase'];a49c=function(){return m;};return a49c();}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0xd9)](h(0xc8))['toString']()[h(0xe1)](a49a)[h(0xd9)]('(((.+)+)+)+$');});a49a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a49i(0xd0)]=Logger[a49i(0xd4)]();[a49i(0xcc)]=![];[a49i(0xe4)];[a49i(0xe5)];[a49i(0xd1)];[a49i(0xca)];[a49i(0xe0)];[a49i(0xd8)];constructor(a){var j=a49i;super(),this[j(0xe4)]=a[j(0xe4)],this[j(0xe5)]=a[j(0xe5)],this[j(0xd1)]=a[j(0xd1)],this['rewardItem']=a[j(0xca)],this[j(0xe0)]=a[j(0xe0)]||j(0xdf),this[j(0xd8)]=a[j(0xd8)]||j(0xcb);}['hasRequiredItem'](a){var k=a49i;if(this[k(0xe4)])return a['hasItem'](this[k(0xe4)]);return![];}[a49i(0xd7)](a){return this['requiredPhrase']===a;}[a49i(0xe3)](a,b){var l=a49i;if(this['solved'])return this[l(0xd0)][l(0xc9)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[l(0xcd)](b)||this['matchesRequiredPhrase'](a)?(this['solved']=!![],this[l(0xd0)][l(0xc9)](l(0xdc)),{'success':!![],'message':this[l(0xe0)]}):(this[l(0xd0)][l(0xc9)](l(0xe2)),{'success':![],'message':this[l(0xd8)]});}}
1
+ var a49h=a49d;function a49c(){var m=['requiredItem','hasRequiredItem','search','write','constructor','successMessage','12jZWXgk','hasItem','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','749931xYPUZa','riddle','requiredPhrase','matchesRequiredPhrase','3738464WDMwDj','18zjxOze','2410isbSMf','Puzzle:\x20Correct\x20solution\x20provided.','92068HJlmtY','failureMessage','You\x20have\x20already\x20solved\x20this\x20puzzle.','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','5094480BbKhLz','589885PfKLlD','logger','(((.+)+)+)+$','2UxuKza','toString','getInstance','22hvJtmh','944289xcgxyG','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','rewardItem','16776iITdVH'];a49c=function(){return m;};return a49c();}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x140))/0x1*(parseInt(f(0x138))/0x2)+parseInt(f(0x123))/0x3+-parseInt(f(0x12d))/0x4*(parseInt(f(0x13d))/0x5)+-parseInt(f(0x135))/0x6*(-parseInt(f(0x130))/0x7)+parseInt(f(0x134))/0x8+-parseInt(f(0x126))/0x9*(-parseInt(f(0x136))/0xa)+parseInt(f(0x122))/0xb*(-parseInt(f(0x13c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x3ee4f));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x121;var f=c[d];return f;},a49d(a,b);}var a49b=(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;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0x141)]()[g(0x129)](g(0x13f))[g(0x141)]()[g(0x12b)](a49a)[g(0x129)]('(((.+)+)+)+$');});a49a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a49h(0x13e)]=Logger[a49h(0x121)]();['solved']=![];[a49h(0x127)];[a49h(0x132)];['riddle'];[a49h(0x125)];[a49h(0x12c)];[a49h(0x139)];constructor(a){var i=a49h;super(),this[i(0x127)]=a[i(0x127)],this[i(0x132)]=a[i(0x132)],this[i(0x131)]=a[i(0x131)],this[i(0x125)]=a[i(0x125)],this['successMessage']=a['successMessage']||'You\x20solved\x20the\x20puzzle!',this[i(0x139)]=a[i(0x139)]||i(0x13b);}[a49h(0x128)](a){var j=a49h;if(this[j(0x127)])return a[j(0x12e)](this[j(0x127)]);return![];}['matchesRequiredPhrase'](a){var k=a49h;return this[k(0x132)]===a;}['solve'](a,b){var l=a49h;if(this['solved'])return this[l(0x13e)][l(0x12a)](l(0x12f)),{'success':![],'message':l(0x13a)};return this[l(0x128)](b)||this[l(0x133)](a)?(this['solved']=!![],this['logger']['write'](l(0x137)),{'success':!![],'message':this[l(0x12c)]}):(this[l(0x13e)]['write'](l(0x124)),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x1da))/0x1+-parseInt(f(0x1d0))/0x2*(parseInt(f(0x1e6))/0x3)+parseInt(f(0x1cc))/0x4+-parseInt(f(0x1ee))/0x5+parseInt(f(0x1e4))/0x6*(-parseInt(f(0x1de))/0x7)+parseInt(f(0x1c5))/0x8*(-parseInt(f(0x1cb))/0x9)+parseInt(f(0x1f2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x51ac5));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1f7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x1d8)]()['search']('(((.+)+)+)+$')[h(0x1d8)]()['constructor'](a50a)[h(0x1eb)](h(0x1d6));});a50a();function a50c(){const u=['description','593593gQmddK','riddle','getExit','logger','2338PKcdkh','name','getInstance','speak','setPuzzle','exits','906PmoNlz','roomType','9ikTuSb','\x20unlocked!','say','WEST','emit','search','addItem','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','2096605sTBnJD','inventory','attemptUnlock','\x20is\x20locked.\x20Result:\x20','6707280JQrGCw','write','roomA','Checking\x20if\x20exit\x20in\x20direction\x20','Fetching\x20exit\x20in\x20direction:\x20','apply','checkIfLocked','hasItem','isStartRoom','roomB','attemptUnlockExit','SOUTH','findExistingDoor','isExitLocked','Invalid\x20direction:\x20','set','values','280TMrZXM','INSIDE','west','The\x20','down','Item\x20added\x20to\x20room\x20','89811WXzQVE','53212ktwxxA','puzzle','north','removeItem','82714UOwboB','getOppositeDirection','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','south','Room\x20created:\x20','get','(((.+)+)+)+$','.\x20Success:\x20','toString'];a50c=function(){return u;};return a50c();}import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a50d(a,b);}export class Room extends AbstractRoom{[a50i(0x1dd)]=Logger[a50i(0x1e0)]();['name'];[a50i(0x1d9)];[a50i(0x1e3)]=new Map();[a50i(0x1e5)];['isStartRoom'];['inventory']=new Inventory();constructor(a){const j=a50i;super(),this[j(0x1df)]=a[j(0x1df)],this[j(0x1d9)]=a[j(0x1d9)],this[j(0x1e5)]=a[j(0x1e5)]||RoomType[j(0x1c6)],a[j(0x1e3)]&&(this['exits']=a['exits']||new Map()),a[j(0x1ef)]&&(this['inventory']=a['inventory']),a[j(0x1cd)]&&(this['puzzle']=a[j(0x1cd)]),this[j(0x1fa)]=a[j(0x1fa)]||![],this[j(0x1dd)][j(0x1f3)](j(0x1d4)+this[j(0x1df)]);}[a50i(0x1e8)](a,b){const k=a50i;this[k(0x1ea)](k(0x1e1),a,b);}['addExit'](a,b,c){const l=a50i;let d=this[l(0x1fe)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1e3)][l(0x1c3)](a,d),b['exits'][l(0x1c3)](this[l(0x1d1)](a),d);}[a50i(0x1fc)](a,b){const m=a50i,c=this['exits'][m(0x1d5)](a);if(c instanceof Door){const d=c[m(0x1f0)](b);return this[m(0x1dd)][m(0x1f3)](m(0x1ed)+a+m(0x1d7)+d),d?m(0x1c8)+c[m(0x1df)]+m(0x1e7):m(0x1c8)+c[m(0x1df)]+'\x20remains\x20locked.';}return this['logger'][m(0x1f3)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a50i(0x1dc)](a){const n=a50i;return this[n(0x1dd)]['write'](n(0x1f6)+a),this['exits']['get'](a);}[a50i(0x1ff)](a){const o=a50i,b=this[o(0x1e3)]['get'](a),c=b instanceof Door&&b[o(0x1f8)]();return this[o(0x1dd)][o(0x1f3)](o(0x1f5)+a+o(0x1f1)+c),c;}[a50i(0x1ec)](a){const p=a50i;this['inventory']['addItem'](a),this['logger'][p(0x1f3)](p(0x1ca)+this[p(0x1df)]+':\x20'+a[p(0x1df)]);}[a50i(0x1cf)](a){const q=a50i;this[q(0x1ef)][q(0x1f9)](a[q(0x1df)])?(this[q(0x1ef)][q(0x1cf)](a[q(0x1df)]),this[q(0x1dd)]['write']('Item\x20removed\x20from\x20room\x20'+this[q(0x1df)]+':\x20'+a[q(0x1df)])):this[q(0x1dd)][q(0x1f3)](q(0x1d2)+this[q(0x1df)]+':\x20'+a[q(0x1df)]);}[a50i(0x1e2)](a){const r=a50i;this[r(0x1cd)]=a,this[r(0x1dd)][r(0x1f3)]('Puzzle\x20set\x20for\x20room\x20'+this[r(0x1df)]+':\x20'+a[r(0x1db)]);}[a50i(0x1d1)](a){const s=a50i;switch(a){case s(0x1ce):return Direction[s(0x1fd)];case s(0x1d3):return Direction['NORTH'];case'east':return Direction[s(0x1e9)];case s(0x1c7):return Direction['EAST'];case'up':return Direction['DOWN'];case s(0x1c9):return Direction['UP'];default:throw new Error(s(0x200)+a);}}[a50i(0x1fe)](a){const t=a50i;for(const b of this[t(0x1e3)][t(0x1c4)]()){if(b instanceof Door){if(b[t(0x1f4)]===this&&b['roomB']===a||b[t(0x1fb)]===this&&b[t(0x1f4)]===a)return b;}}return undefined;}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x1ba))/0x1*(parseInt(f(0x1bb))/0x2)+parseInt(f(0x1b7))/0x3+-parseInt(f(0x1bc))/0x4*(-parseInt(f(0x1aa))/0x5)+-parseInt(f(0x1b1))/0x6*(parseInt(f(0x18f))/0x7)+-parseInt(f(0x193))/0x8+parseInt(f(0x190))/0x9*(parseInt(f(0x197))/0xa)+parseInt(f(0x18e))/0xb*(-parseInt(f(0x18b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x84820));function a50c(){const u=['23554UwazUu','76rcLOpo','4WxlyTm','logger','The\x20','west','WEST','(((.+)+)+)+$','Fetching\x20exit\x20in\x20direction:\x20','setPuzzle','apply','Puzzle\x20set\x20for\x20room\x20','exits','1594248luWdal','roomType','down','11gsVatQ','707bLxHan','225wggmaW','set','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','7479056NKdplM','addExit','attemptUnlockExit','addItem','203070xKRxzb','toString','speak','SOUTH','Invalid\x20direction:\x20','isStartRoom','puzzle','values','search','EAST','write','emit','Checking\x20if\x20exit\x20in\x20direction\x20','DOWN','\x20remains\x20locked.','roomA','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','removeItem','INSIDE','1985140TfSASa','findExistingDoor','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','getOppositeDirection','get','name','inventory','27246BzNkqz','constructor','roomB','\x20unlocked!','No\x20locked\x20exit\x20found\x20in\x20direction\x20','north','808122uuaEvs','south','checkIfLocked'];a50c=function(){return u;};return a50c();}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x188)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x198)]()[h(0x19f)](h(0x1c1))[h(0x198)]()[h(0x1b2)](a50a)[h(0x19f)](h(0x1c1));});a50a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x186;let f=c[d];return f;},a50d(a,b);}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a50i(0x1bd)]=Logger['getInstance']();[a50i(0x1af)];['description'];['exits']=new Map();['roomType'];[a50i(0x19c)];['inventory']=new Inventory();constructor(a){const j=a50i;super(),this[j(0x1af)]=a['name'],this['description']=a['description'],this['roomType']=a[j(0x18c)]||RoomType[j(0x1a9)],a['exits']&&(this[j(0x18a)]=a['exits']||new Map()),a[j(0x1b0)]&&(this[j(0x1b0)]=a[j(0x1b0)]),a[j(0x19d)]&&(this[j(0x19d)]=a['puzzle']),this['isStartRoom']=a[j(0x19c)]||![],this[j(0x1bd)][j(0x1a1)]('Room\x20created:\x20'+this['name']);}['say'](a,b){const k=a50i;this[k(0x1a2)](k(0x199),a,b);}[a50i(0x194)](a,b,c){const l=a50i;let d=this[l(0x1ab)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x18a)][l(0x191)](a,d),b[l(0x18a)][l(0x191)](this['getOppositeDirection'](a),d);}[a50i(0x195)](a,b){const m=a50i,c=this['exits'][m(0x1ae)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0x1bd)]['write'](m(0x192)+a+'.\x20Success:\x20'+d),d?m(0x1be)+c[m(0x1af)]+m(0x1b4):m(0x1be)+c[m(0x1af)]+m(0x1a5);}return this['logger'][m(0x1a1)](m(0x1b5)+a),m(0x1ac);}['getExit'](a){const n=a50i;return this['logger'][n(0x1a1)](n(0x186)+a),this[n(0x18a)][n(0x1ae)](a);}['isExitLocked'](a){const o=a50i,b=this[o(0x18a)][o(0x1ae)](a),c=b instanceof Door&&b[o(0x1b9)]();return this[o(0x1bd)]['write'](o(0x1a3)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a50i(0x196)](a){const p=a50i;this[p(0x1b0)][p(0x196)](a),this[p(0x1bd)]['write']('Item\x20added\x20to\x20room\x20'+this['name']+':\x20'+a['name']);}['removeItem'](a){const q=a50i;this['inventory']['hasItem'](a[q(0x1af)])?(this[q(0x1b0)][q(0x1a8)](a[q(0x1af)]),this[q(0x1bd)][q(0x1a1)]('Item\x20removed\x20from\x20room\x20'+this[q(0x1af)]+':\x20'+a['name'])):this['logger'][q(0x1a1)](q(0x1a7)+this[q(0x1af)]+':\x20'+a[q(0x1af)]);}[a50i(0x187)](a){const r=a50i;this['puzzle']=a,this[r(0x1bd)]['write'](r(0x189)+this[r(0x1af)]+':\x20'+a['riddle']);}[a50i(0x1ad)](a){const s=a50i;switch(a){case s(0x1b6):return Direction[s(0x19a)];case s(0x1b8):return Direction['NORTH'];case'east':return Direction[s(0x1c0)];case s(0x1bf):return Direction[s(0x1a0)];case'up':return Direction[s(0x1a4)];case s(0x18d):return Direction['UP'];default:throw new Error(s(0x19b)+a);}}[a50i(0x1ab)](a){const t=a50i;for(const b of this['exits'][t(0x19e)]()){if(b instanceof Door){if(b['roomA']===this&&b[t(0x1b3)]===a||b[t(0x1b3)]===this&&b[t(0x1a6)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a51l=a51d;(function(a,b){const i=a51d,c=a();while(!![]){try{const d=-parseInt(i(0x195))/0x1+parseInt(i(0x18a))/0x2+-parseInt(i(0x17c))/0x3+-parseInt(i(0x1ae))/0x4*(-parseInt(i(0x17b))/0x5)+-parseInt(i(0x190))/0x6*(-parseInt(i(0x187))/0x7)+parseInt(i(0x191))/0x8*(-parseInt(i(0x1c5))/0x9)+parseInt(i(0x1a7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x1dfbb));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a['toString']()[k(0x1be)](k(0x183))[k(0x1bc)]()[k(0x19a)](a51a)[k(0x1be)](k(0x183));});a51a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a51c(){const E=['172252trvBSu','currentLocation','from','getCharacterLocation','Room\x20\x22','get','42zOLOFV','132712FMwIIO','length','targetRoom','apply','227593ZVcAUp','addItem','addPuzzleToRoom','createExitsFromConfig','initialize','constructor','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','values','keyRequired','removeRoom','\x22\x20does\x20not\x20exist.','delete','rooms','warn','write','\x20to\x20room\x20','name','determineStartRoom','1581030JCSqLf','\x20is\x20now\x20in\x20room\x20','generateRoomsFromConfig','\x27s\x20location.\x20Room\x20','connectRooms','Added\x20puzzle\x20to\x20room\x20','getActor','344864gegdqY','characterLocations','actors','exits','hasOwnProperty','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','\x20already\x20exists\x20in\x20the\x20scene.','getRooms','isStartRoom','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','addItemToRoom','Failed\x20to\x20set\x20','removeActor','roomFactory','toString','.\x20Room\x20','search','createRoom','\x20not\x20found\x20in\x20scene.','addExit','Added\x20room\x20to\x20scene:\x20','join','keys','36VHqghy','Scene\x20initialized\x20with\x20rooms:\x20','Removed\x20room\x20from\x20scene:\x20','player','5UYkOGQ','111831dmjWlv','\x20found\x20in\x20the\x20scene.','roomConfiguration','set','getPlayer','Added\x20item\x20','logger','(((.+)+)+)+$','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','allActors','direction','123592UvGUhF','getInstance','has'];a51c=function(){return E;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x178;let f=c[d];return f;},a51d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a51l(0x1a1)];[a51l(0x17a)];[a51l(0x182)];[a51l(0x1b0)];[a51l(0x1af)]=new Map();['roomFactory'];constructor(a){const m=a51l;super(),this[m(0x1bb)]=new RoomFactory(),this['player']=a[m(0x17a)],this[m(0x1a1)]=this[m(0x1a9)](a[m(0x17e)]),this[m(0x182)]=Logger[m(0x188)](),this['actors']=new Map(),this['createExitsFromConfig'](a[m(0x17e)]),this[m(0x182)][m(0x1a3)](m(0x178)+Object[m(0x1c4)](this['rooms'])[m(0x1c3)](',\x20'));}[a51l(0x199)](){const n=a51l;this[n(0x17a)][n(0x18b)]=this[n(0x1a6)]();}['generateRoomsFromConfig'](a){const o=a51l;if(!this['roomFactory'])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[o(0x1bb)][o(0x1bf)](c);b[c[o(0x1a5)]]=d;}return b;}[a51l(0x198)](a){const p=a51l;for(const b of a){const c=this[p(0x1a1)][b[p(0x1a5)]];if(b[p(0x1b1)])for(const d of b[p(0x1b1)]){const e=d[p(0x186)]['toUpperCase'](),f=d[p(0x193)],g=d[p(0x19d)],h=this['rooms'][f];h&&c[p(0x1c1)](Direction[e],h,g);}}}['addActor'](a){const q=a51l;if(this[q(0x1b0)][q(0x189)](a['name']))throw new Error('Actor\x20with\x20name\x20'+a[q(0x1a5)]+q(0x1b4));this[q(0x1b0)][q(0x17f)](a[q(0x1a5)],a);}[a51l(0x1ba)](a){const r=a51l;if(!this[r(0x1b0)]['has'](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x17d));this[r(0x1b0)][r(0x1a0)](a);}[a51l(0x1ad)](a){const s=a51l;return this[s(0x1b0)][s(0x18f)](a);}get[a51l(0x185)](){const t=a51l;return Array[t(0x18c)](this[t(0x1b0)][t(0x19c)]());}['addRoom'](a){const u=a51l;this[u(0x1a1)][a[u(0x1a5)]]=a,this[u(0x182)][u(0x1a3)](u(0x1c2)+a[u(0x1a5)]);}[a51l(0x19e)](a){const v=a51l;return this[v(0x1a1)][a]?(delete this['rooms'][a],this[v(0x182)][v(0x1a3)](v(0x179)+a),!![]):(this[v(0x182)][v(0x1a3)](v(0x1b7)+a),![]);}[a51l(0x1b8)](a,b){const w=a51l,c=this[w(0x1a1)][b];c?(c[w(0x196)](a),this[w(0x182)][w(0x1a3)](w(0x181)+a['name']+w(0x1a4)+c[w(0x1a5)])):this[w(0x182)]['write']('Failed\x20to\x20add\x20item\x20'+a['name']+w(0x1bd)+b+w(0x1c0));}[a51l(0x197)](a,b){const x=a51l,c=this[x(0x1a1)][b];c?(c['setPuzzle'](a),this[x(0x182)][x(0x1a3)](x(0x1ac)+c[x(0x1a5)])):this[x(0x182)][x(0x1a3)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+x(0x1c0));}['setCharacterLocation'](a,b){const y=a51l,c=this[y(0x1a1)][b];c?(this[y(0x1af)][y(0x17f)](a[y(0x1a5)],c),this[y(0x182)][y(0x1a3)](a['name']+y(0x1a8)+c[y(0x1a5)])):this[y(0x182)][y(0x1a3)](y(0x1b9)+a[y(0x1a5)]+y(0x1aa)+b+'\x20not\x20found\x20in\x20scene.');}[a51l(0x18d)](a){const z=a51l;return this[z(0x1af)][z(0x18f)](a[z(0x1a5)]);}[a51l(0x1a6)](){const A=a51l,a=[];for(const c in this[A(0x1a1)]){if(this['rooms'][A(0x1b2)](c)){const d=this[A(0x1a1)][c];d[A(0x1b6)]&&a['push'](d);}}if(a[A(0x192)]>0x1)throw new Error(A(0x19b));if(a['length']===0x1)return a[0x0];const b=Object[A(0x1c4)](this['rooms']);if(b['length']===0x0)throw new Error(A(0x184));return console[A(0x1a2)](A(0x1b3)),this[A(0x1a1)][b[0x0]];}[a51l(0x180)](){const B=a51l;return this[B(0x17a)];}[a51l(0x1b5)](){const C=a51l;return this[C(0x1a1)];}[a51l(0x1ab)](a,b,c,d){const D=a51l,e=this[D(0x1a1)][a],f=this['rooms'][c];if(!e)throw new Error(D(0x18e)+a+D(0x19f));if(!f)throw new Error(D(0x18e)+c+D(0x19f));e[D(0x1c1)](b,f,d);}}
1
+ const a51l=a51d;(function(a,b){const i=a51d,c=a();while(!![]){try{const d=-parseInt(i(0x1af))/0x1*(parseInt(i(0x1c9))/0x2)+parseInt(i(0x194))/0x3+parseInt(i(0x191))/0x4+parseInt(i(0x192))/0x5+-parseInt(i(0x199))/0x6*(-parseInt(i(0x1cf))/0x7)+parseInt(i(0x1c2))/0x8*(-parseInt(i(0x1b7))/0x9)+-parseInt(i(0x1cd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xc850b));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a[k(0x190)]()[k(0x1d3)](k(0x1bc))[k(0x190)]()[k(0x1a1)](a51a)[k(0x1d3)](k(0x1bc));});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x18d;let f=c[d];return f;},a51d(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 a51c(){const D=['17754qgavmQ','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','getPlayer','determineStartRoom','7940880unbteE','createExitsFromConfig','6362622GpdjbF','createRoom','Room\x20\x22','removeRoom','search','removeActor','isStartRoom','\x20already\x20exists\x20in\x20the\x20scene.','\x20to\x20room\x20','characterLocations','\x22\x20does\x20not\x20exist.','Added\x20item\x20','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','toString','3644044BJrcqL','4048395SBGIsP','getCharacterLocation','2372394aPWSNq','Added\x20room\x20to\x20scene:\x20','targetRoom','Failed\x20to\x20add\x20item\x20','Scene\x20initialized\x20with\x20rooms:\x20','6JhoijO','addPuzzleToRoom','has','addActor','getInstance','connectRooms','rooms','player','constructor','addRoom','keys','apply','.\x20Room\x20','allActors','\x20not\x20found\x20in\x20scene.','roomConfiguration','exits','delete','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','Removed\x20room\x20from\x20scene:\x20','join','setPuzzle','50kUxdjF','write','\x27s\x20location.\x20Room\x20','logger','\x20found\x20in\x20the\x20scene.','generateRoomsFromConfig','direction','name','45YqzUnb','roomFactory','warn','Added\x20puzzle\x20to\x20room\x20','keyRequired','(((.+)+)+)+$','No\x20actor\x20with\x20name\x20','\x20is\x20now\x20in\x20room\x20','actors','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','hasOwnProperty','2179208KKYXvS','getRooms','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','get','initialize','values','addExit'];a51c=function(){return D;};return a51c();}export class Scene extends AbstractScene{[a51l(0x19f)];['player'];[a51l(0x1b2)];[a51l(0x1bf)];[a51l(0x1d8)]=new Map();[a51l(0x1b8)];constructor(a){const m=a51l;super(),this[m(0x1b8)]=new RoomFactory(),this[m(0x1a0)]=a[m(0x1a0)],this[m(0x19f)]=this[m(0x1b4)](a[m(0x1a8)]),this['logger']=Logger[m(0x19d)](),this[m(0x1bf)]=new Map(),this[m(0x1ce)](a[m(0x1a8)]),this['logger'][m(0x1b0)](m(0x198)+Object['keys'](this['rooms'])[m(0x1ad)](',\x20'));}[a51l(0x1c6)](){const n=a51l;this[n(0x1a0)]['currentLocation']=this[n(0x1cc)]();}['generateRoomsFromConfig'](a){const o=a51l;if(!this[o(0x1b8)])throw new Error(o(0x1c4));const b={};for(const c of a){const d=this[o(0x1b8)][o(0x1d0)](c);b[c['name']]=d;}return b;}[a51l(0x1ce)](a){const p=a51l;for(const b of a){const c=this[p(0x19f)][b[p(0x1b6)]];if(b[p(0x1a9)])for(const d of b[p(0x1a9)]){const e=d[p(0x1b5)]['toUpperCase'](),f=d[p(0x196)],g=d[p(0x1bb)],h=this[p(0x19f)][f];h&&c[p(0x1c8)](Direction[e],h,g);}}}[a51l(0x19c)](a){const q=a51l;if(this[q(0x1bf)]['has'](a[q(0x1b6)]))throw new Error('Actor\x20with\x20name\x20'+a[q(0x1b6)]+q(0x1d6));this[q(0x1bf)]['set'](a['name'],a);}[a51l(0x1d4)](a){const r=a51l;if(!this['actors'][r(0x19b)](a))throw new Error(r(0x1bd)+a+r(0x1b3));this['actors'][r(0x1aa)](a);}['getActor'](a){const s=a51l;return this[s(0x1bf)][s(0x1c5)](a);}get[a51l(0x1a6)](){const t=a51l;return Array['from'](this['actors'][t(0x1c7)]());}[a51l(0x1a2)](a){const u=a51l;this[u(0x19f)][a[u(0x1b6)]]=a,this['logger'][u(0x1b0)](u(0x195)+a[u(0x1b6)]);}[a51l(0x1d2)](a){const v=a51l;return this[v(0x19f)][a]?(delete this[v(0x19f)][a],this['logger']['write'](v(0x1ac)+a),!![]):(this[v(0x1b2)][v(0x1b0)](v(0x1ca)+a),![]);}['addItemToRoom'](a,b){const w=a51l,c=this[w(0x19f)][b];c?(c['addItem'](a),this[w(0x1b2)][w(0x1b0)](w(0x18e)+a[w(0x1b6)]+w(0x1d7)+c[w(0x1b6)])):this[w(0x1b2)][w(0x1b0)](w(0x197)+a[w(0x1b6)]+w(0x1a5)+b+w(0x1a7));}[a51l(0x19a)](a,b){const x=a51l,c=this[x(0x19f)][b];c?(c[x(0x1ae)](a),this[x(0x1b2)][x(0x1b0)](x(0x1ba)+c[x(0x1b6)])):this[x(0x1b2)][x(0x1b0)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+x(0x1a7));}['setCharacterLocation'](a,b){const y=a51l,c=this[y(0x19f)][b];c?(this['characterLocations']['set'](a[y(0x1b6)],c),this['logger'][y(0x1b0)](a[y(0x1b6)]+y(0x1be)+c['name'])):this[y(0x1b2)]['write']('Failed\x20to\x20set\x20'+a['name']+y(0x1b1)+b+y(0x1a7));}[a51l(0x193)](a){const z=a51l;return this['characterLocations'][z(0x1c5)](a[z(0x1b6)]);}['determineStartRoom'](){const A=a51l,a=[];for(const c in this[A(0x19f)]){if(this[A(0x19f)][A(0x1c1)](c)){const d=this[A(0x19f)][c];d[A(0x1d5)]&&a['push'](d);}}if(a['length']>0x1)throw new Error(A(0x18f));if(a['length']===0x1)return a[0x0];const b=Object[A(0x1a3)](this[A(0x19f)]);if(b['length']===0x0)throw new Error(A(0x1c0));return console[A(0x1b9)](A(0x1ab)),this[A(0x19f)][b[0x0]];}[a51l(0x1cb)](){const B=a51l;return this[B(0x1a0)];}[a51l(0x1c3)](){return this['rooms'];}[a51l(0x19e)](a,b,c,d){const C=a51l,e=this[C(0x19f)][a],f=this[C(0x19f)][c];if(!e)throw new Error(C(0x1d1)+a+C(0x18d));if(!f)throw new Error(C(0x1d1)+c+C(0x18d));e[C(0x1c8)](b,f,d);}}
@@ -1 +1 @@
1
- var a52j=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x1af))/0x1+-parseInt(f(0x1bb))/0x2+parseInt(f(0x1bf))/0x3*(parseInt(f(0x1a1))/0x4)+-parseInt(f(0x193))/0x5*(parseInt(f(0x1a8))/0x6)+parseInt(f(0x18a))/0x7*(-parseInt(f(0x1a2))/0x8)+-parseInt(f(0x1c0))/0x9*(-parseInt(f(0x197))/0xa)+parseInt(f(0x195))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x19858));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1a4)]()[h(0x198)]('(((.+)+)+)+$')[h(0x1a4)]()[h(0x191)](a52a)[h(0x198)](h(0x1a6));});a52a();function a52c(){var E=['Circle','publishDate','Large','apply','326716mYGuQH','LegArmor','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Weapon','19521DQfFWk','207fIjPwd','author','Rifle','20153eiZtan','Boots','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Cup','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Short\x20Sword','name','constructor','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','2910rvhmPK','Medium','1581305GcOczQ','Smooth','69430YIcTjJ','search','Unknown\x20Author','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Tiny','Gloves','description','Yellow','Rectangle','Grey','112IzuUlb','328JLAUSu','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','toString','Book','(((.+)+)+)+$','Common','2064SgTVEV','Gold','use','pageCount','Small','Blade','Brown','100501CyaBHV','Helmet','Rare','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Holy\x20Grail','BodyArmor','Metallic','Legendary'];a52c=function(){return E;};return a52c();}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=a52d;super({'name':a,'description':b,'size':Size[i(0x194)],'category':Category['Unknown'],'shape':Shape[i(0x19f)],'color':Color[i(0x19e)],'texture':Texture['Smooth'],'rating':Rating[i(0x1a7)],'weight':0x1});}[a52j(0x1aa)](){var k=a52j;return this[k(0x19d)];}}export class Sword extends Item{constructor(a,b){var l=a52j;super({'name':a,'description':b,'size':Size[l(0x194)],'category':Category[l(0x1be)],'shape':Shape[l(0x1ad)],'color':Color[l(0x1a0)],'texture':Texture[l(0x1b5)],'rating':Rating[l(0x1a7)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a52j;super({'name':a,'description':b,'size':Size[m(0x1b9)],'category':Category[m(0x1be)],'shape':Shape[m(0x189)],'color':Color[m(0x1ae)],'texture':Texture[m(0x1b5)],'rating':Rating[m(0x1b1)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[n(0x1b0)],'shape':Shape[n(0x1b7)],'color':Color[n(0x1a0)],'texture':Texture['Metallic'],'rating':Rating[n(0x1a7)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a52j;super({'name':a,'description':b,'size':Size[o(0x1b9)],'category':Category[o(0x1b4)],'shape':Shape['Rectangle'],'color':Color[o(0x1a0)],'texture':Texture[o(0x1b5)],'rating':Rating[o(0x1a7)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a52j;super({'name':a,'description':b,'size':Size[p(0x194)],'category':Category[p(0x1bc)],'shape':Shape[p(0x19f)],'color':Color[p(0x1a0)],'texture':Texture['Metallic'],'rating':Rating[p(0x1a7)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[q(0x18b)],'shape':Shape[q(0x1b7)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a52j;super({'name':a,'description':b,'size':Size['Small'],'category':Category[r(0x19c)],'shape':Shape[r(0x1b7)],'color':Color[r(0x1ae)],'texture':Texture[r(0x196)],'rating':Rating[r(0x1a7)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a52j;super({'name':a,'description':b,'size':Size[s(0x194)],'category':Category['ArmArmor'],'shape':Shape[s(0x19f)],'color':Color['Grey'],'texture':Texture[s(0x1b5)],'rating':Rating['Common'],'weight':0x3});}}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x188;var f=c[d];return f;},a52d(a,b);}export class Key extends Item{constructor(a,b){var t=a52j;super({'name':a,'description':b,'size':Size[t(0x19b)],'category':Category['Key'],'shape':Shape[t(0x19f)],'color':Color[t(0x19e)],'texture':Texture[t(0x196)],'rating':Rating['Common'],'weight':0x0});}[a52j(0x1aa)](){var u=a52j;return u(0x1bd);}}export class Weapon extends Item{constructor(a,b){var v=a52j;super({'name':a,'description':b,'size':Size[v(0x194)],'category':Category[v(0x1be)],'shape':Shape[v(0x1ad)],'color':Color[v(0x1a0)],'texture':Texture[v(0x1b5)],'rating':Rating[v(0x1a7)],'weight':0x3});}['use'](){var w=a52j;return w(0x19a);}}export class Book extends Item{[a52j(0x188)];[a52j(0x1b8)];[a52j(0x1ab)];constructor(a,b='A\x20mysterious\x20book.',c=a52j(0x199)){var x=a52j;super({'name':a,'description':b,'size':Size[x(0x194)],'category':Category[x(0x1a5)],'shape':Shape['Rectangle'],'color':Color[x(0x1ae)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x1}),this[x(0x188)]=c,this[x(0x1b8)]=new Date(),this[x(0x1ab)]=0x64;}[a52j(0x1aa)](){var y=a52j;return y(0x18c);}}export class ShortSword extends Item{constructor(){var z=a52j;super({'name':z(0x18f),'description':z(0x18e),'size':Size[z(0x194)],'category':Category[z(0x1be)],'shape':Shape[z(0x1ad)],'color':Color[z(0x1a0)],'texture':Texture[z(0x1b5)],'rating':Rating[z(0x1a7)],'weight':0x3});}[a52j(0x1aa)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var A=a52j;super({'name':'Sniper\x20Rifle','description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size['Large'],'category':Category['Weapon'],'shape':Shape['Rifle'],'color':Color['Brown'],'texture':Texture[A(0x196)],'rating':Rating[A(0x1a7)],'weight':0x5});}[a52j(0x1aa)](){var B=a52j;return B(0x1a3);}}export class HolyGrail extends Item{constructor(){var C=a52j;super({'name':C(0x1b3),'description':C(0x192),'size':Size[C(0x1ac)],'category':Category[C(0x18d)],'shape':Shape['Circle'],'color':Color[C(0x1a9)],'texture':Texture[C(0x1b5)],'rating':Rating[C(0x1b6)],'weight':0x1});}['use'](){var D=a52j;return'You\x20hold\x20the\x20'+this[D(0x190)]+D(0x1b2);}}
1
+ var a52j=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x1cc))/0x1+parseInt(f(0x1d2))/0x2+parseInt(f(0x1cd))/0x3+-parseInt(f(0x1cf))/0x4*(parseInt(f(0x1c1))/0x5)+parseInt(f(0x1c5))/0x6+parseInt(f(0x1ba))/0x7*(-parseInt(f(0x1b3))/0x8)+-parseInt(f(0x1b0))/0x9*(parseInt(f(0x1cb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x39838));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1b5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1de)]()[h(0x1b9)]('(((.+)+)+)+$')['toString']()[h(0x1d7)](a52a)[h(0x1b9)]('(((.+)+)+)+$');});a52a();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=a52d;super({'name':a,'description':b,'size':Size[i(0x1c0)],'category':Category[i(0x1e1)],'shape':Shape[i(0x1d4)],'color':Color[i(0x1dd)],'texture':Texture['Smooth'],'rating':Rating[i(0x1dc)],'weight':0x1});}[a52j(0x1c4)](){return this['description'];}}export class Sword extends Item{constructor(a,b){var k=a52j;super({'name':a,'description':b,'size':Size[k(0x1c0)],'category':Category[k(0x1bc)],'shape':Shape[k(0x1da)],'color':Color[k(0x1d9)],'texture':Texture[k(0x1c8)],'rating':Rating['Common'],'weight':0x3});}}function a52c(){var D=['Grey','Blade','LegArmor','Common','Yellow','toString','Large','Key','Unknown','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Gloves','Circle','4694931sVVXzm','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','BodyArmor','523736UyaGqi','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','apply','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Unknown\x20Author','name','search','14lZvcQQ','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Weapon','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Rifle','author','Medium','38275jtPjuj','Brown','Helmet','use','2448474Uswmgh','Legendary','Tiny','Metallic','publishDate','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','10cmTLwK','341222ykTopz','1184337ARXAqt','Sniper\x20Rifle','140ZlEHTH','pageCount','Cup','24028xxrEGC','A\x20mysterious\x20book.','Rectangle','Smooth','ArmArmor','constructor','Gold'];a52c=function(){return D;};return a52c();}export class Rifle extends Item{constructor(a,b){var l=a52j;super({'name':a,'description':b,'size':Size[l(0x1df)],'category':Category[l(0x1bc)],'shape':Shape[l(0x1be)],'color':Color['Brown'],'texture':Texture['Metallic'],'rating':Rating['Rare'],'weight':0x7});}}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1ad;var f=c[d];return f;},a52d(a,b);}export class Helmet extends Item{constructor(a,b){var m=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[m(0x1c3)],'shape':Shape['Circle'],'color':Color[m(0x1d9)],'texture':Texture[m(0x1c8)],'rating':Rating[m(0x1dc)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a52j;super({'name':a,'description':b,'size':Size[n(0x1df)],'category':Category[n(0x1b2)],'shape':Shape[n(0x1d4)],'color':Color['Grey'],'texture':Texture[n(0x1c8)],'rating':Rating[n(0x1dc)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a52j;super({'name':a,'description':b,'size':Size[o(0x1c0)],'category':Category[o(0x1db)],'shape':Shape[o(0x1d4)],'color':Color['Grey'],'texture':Texture[o(0x1c8)],'rating':Rating[o(0x1dc)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Boots'],'shape':Shape[p(0x1af)],'color':Color[p(0x1c2)],'texture':Texture['Smooth'],'rating':Rating[p(0x1dc)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a52j;super({'name':a,'description':b,'size':Size['Small'],'category':Category[q(0x1ae)],'shape':Shape[q(0x1af)],'color':Color[q(0x1c2)],'texture':Texture[q(0x1d5)],'rating':Rating[q(0x1dc)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a52j;super({'name':a,'description':b,'size':Size[r(0x1c0)],'category':Category[r(0x1d6)],'shape':Shape[r(0x1d4)],'color':Color[r(0x1d9)],'texture':Texture[r(0x1c8)],'rating':Rating[r(0x1dc)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a52j;super({'name':a,'description':b,'size':Size[s(0x1c7)],'category':Category[s(0x1e0)],'shape':Shape['Rectangle'],'color':Color[s(0x1dd)],'texture':Texture[s(0x1d5)],'rating':Rating[s(0x1dc)],'weight':0x0});}[a52j(0x1c4)](){var t=a52j;return t(0x1bd);}}export class Weapon extends Item{constructor(a,b){var u=a52j;super({'name':a,'description':b,'size':Size[u(0x1c0)],'category':Category[u(0x1bc)],'shape':Shape[u(0x1da)],'color':Color['Grey'],'texture':Texture[u(0x1c8)],'rating':Rating[u(0x1dc)],'weight':0x3});}[a52j(0x1c4)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class Book extends Item{[a52j(0x1bf)];[a52j(0x1c9)];[a52j(0x1d0)];constructor(a,b=a52j(0x1d3),c=a52j(0x1b7)){var v=a52j;super({'name':a,'description':b,'size':Size[v(0x1c0)],'category':Category['Book'],'shape':Shape[v(0x1d4)],'color':Color[v(0x1c2)],'texture':Texture[v(0x1d5)],'rating':Rating[v(0x1dc)],'weight':0x1}),this[v(0x1bf)]=c,this[v(0x1c9)]=new Date(),this[v(0x1d0)]=0x64;}[a52j(0x1c4)](){var w=a52j;return w(0x1ad);}}export class ShortSword extends Item{constructor(){var x=a52j;super({'name':'Short\x20Sword','description':x(0x1bb),'size':Size[x(0x1c0)],'category':Category[x(0x1bc)],'shape':Shape[x(0x1da)],'color':Color['Grey'],'texture':Texture[x(0x1c8)],'rating':Rating['Common'],'weight':0x3});}[a52j(0x1c4)](){var y=a52j;return y(0x1b4);}}export class SniperRifle extends Item{constructor(){var z=a52j;super({'name':z(0x1ce),'description':z(0x1b1),'size':Size['Large'],'category':Category['Weapon'],'shape':Shape['Rifle'],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating[z(0x1dc)],'weight':0x5});}['use'](){var A=a52j;return A(0x1ca);}}export class HolyGrail extends Item{constructor(){var B=a52j;super({'name':'Holy\x20Grail','description':B(0x1b6),'size':Size['Small'],'category':Category[B(0x1d1)],'shape':Shape[B(0x1af)],'color':Color[B(0x1d8)],'texture':Texture['Metallic'],'rating':Rating[B(0x1c6)],'weight':0x1});}[a52j(0x1c4)](){var C=a52j;return'You\x20hold\x20the\x20'+this[C(0x1b8)]+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}