@maka/maka-cli 4.5.45 → 4.5.47

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 (134) 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/options/options.class.js +1 -1
  129. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  130. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  131. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  132. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  134. 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(0x7f))/0x1+parseInt(g(0x80))/0x2*(parseInt(g(0x7c))/0x3)+parseInt(g(0x6c))/0x4*(parseInt(g(0x86))/0x5)+-parseInt(g(0x6d))/0x6+-parseInt(g(0x79))/0x7+parseInt(g(0x72))/0x8*(parseInt(g(0x76))/0x9)+parseInt(g(0x7d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x9af5d));function a33c(){const l=['apply','\x20says\x20to\x20','context','constructor','description',':\x20\x22','52pnUBSs','4712676YMqPpM','currentLocation','verb','toString','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','8CVtnlV','length','An\x20error\x20occurred.','execute','8670168qEtQbj','name','logger','6549725BpKwhF','search','actor','3oRzXNC','1170330IztMnq','join','236991etKQYB','2247098IvAdUY','filter','You\x20say:\x20\x22','log','say','Scene\x20is\x20missing\x20from\x20context.','149575wcgNmD','scene'];a33c=function(){return l;};return a33c();}const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a33d;if(c){const e=c[h(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const i=a33d;return a33a[i(0x70)]()[i(0x7a)]('(((.+)+)+)+$')['toString']()[i(0x8b)](a33a)[i(0x7a)]('(((.+)+)+)+$');});a33a();import{Command}from'./command.js';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x6b;let f=c[d];return f;},a33d(a,b);}export class SayCommand extends Command{static [a33j(0x6f)]=a33j(0x84);static [a33j(0x8c)]=a33j(0x71);[a33j(0x8a)];constructor(a){super(a),this['context']=a;}[a33j(0x75)](a){const k=a33j;if(a[k(0x73)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[k(0x7e)]('\x20'),c=this[k(0x7b)],d=this[k(0x8a)][k(0x87)];if(!d)return this[k(0x78)][k(0x83)](k(0x85)),k(0x74);const e=d['allActors'][k(0x81)](f=>f[k(0x6e)]===c[k(0x6e)]);for(const f of e){this['logger'][k(0x83)](c[k(0x77)]+k(0x89)+f['name']+k(0x6b)+b+'\x22'),this['actor'][k(0x6e)]['say'](f,b);}return k(0x82)+b+'\x22';}}
1
+ const a33j=a33d;(function(a,b){const g=a33d,c=a();while(!![]){try{const d=-parseInt(g(0x172))/0x1+parseInt(g(0x174))/0x2+parseInt(g(0x18d))/0x3*(parseInt(g(0x18b))/0x4)+parseInt(g(0x191))/0x5+parseInt(g(0x184))/0x6*(parseInt(g(0x18a))/0x7)+parseInt(g(0x176))/0x8*(parseInt(g(0x185))/0x9)+-parseInt(g(0x18f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x610f5));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a33d;if(c){const e=c[h(0x179)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const i=a33d;return a33a[i(0x17a)]()['search'](i(0x189))[i(0x17a)]()[i(0x181)](a33a)[i(0x18e)](i(0x189));});function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x171;let f=c[d];return f;},a33d(a,b);}a33a();function a33c(){const l=['6xEsINt','9uujYiB','log','context','length','(((.+)+)+)+$','1061564WZTFSy','356uWkhWN','execute','2634IVCKZw','search','5199820OTmKos','verb','2094420sBXsgm','allActors','469994chBhjP','actor','1286192rIEfYZ','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','766072xKxEio','say','filter','apply','toString','\x20says\x20to\x20','currentLocation','An\x20error\x20occurred.','name','join','What\x20do\x20you\x20want\x20to\x20say?','constructor',':\x20\x22','logger'];a33c=function(){return l;};return a33c();}import{Command}from'./command.js';export class SayCommand extends Command{static [a33j(0x190)]=a33j(0x177);static ['description']=a33j(0x175);[a33j(0x187)];constructor(a){super(a),this['context']=a;}[a33j(0x18c)](a){const k=a33j;if(a[k(0x188)]===0x0)return k(0x180);const b=a[k(0x17f)]('\x20'),c=this['actor'],d=this[k(0x187)]['scene'];if(!d)return this[k(0x183)][k(0x186)]('Scene\x20is\x20missing\x20from\x20context.'),k(0x17d);const e=d[k(0x171)][k(0x178)](f=>f[k(0x17c)]===c[k(0x17c)]);for(const f of e){this[k(0x183)][k(0x186)](c['name']+k(0x17b)+f[k(0x17e)]+k(0x182)+b+'\x22'),this[k(0x173)][k(0x17c)][k(0x177)](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}
@@ -1 +1 @@
1
- const a34h=a34d;function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x158;let f=c[d];return f;},a34d(a,b);}(function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0x158))/0x1+parseInt(f(0x160))/0x2+parseInt(f(0x15d))/0x3+-parseInt(f(0x163))/0x4+-parseInt(f(0x171))/0x5+-parseInt(f(0x16e))/0x6*(-parseInt(f(0x16f))/0x7)+parseInt(f(0x170))/0x8*(parseInt(f(0x16a))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x3f5f0));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(0x172)]()['search'](g(0x16c))[g(0x172)]()[g(0x166)](a34a)[g(0x16d)](g(0x16c));});a34a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a34h(0x15f)]=a34h(0x16d);static [a34h(0x16b)]=a34h(0x169);[a34h(0x159)](){const i=a34h,a=this['actor'][i(0x165)][i(0x168)][i(0x167)]();if(a[i(0x15c)]===0x0)return this[i(0x161)]['write'](i(0x15a)+this[i(0x15e)]['name']+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),i(0x173);const b=a['join'](',\x20');return this[i(0x161)]['write'](i(0x15a)+this[i(0x15e)][i(0x162)]+i(0x15b)+b),i(0x164)+b;}}function a34c(){const j=['You\x20search\x20the\x20area\x20and\x20find:\x20','currentLocation','constructor','listItems','inventory','Search\x20for\x20items\x20in\x20your\x20area','20529nutDPN','description','(((.+)+)+)+$','search','78wDqRuV','137067QQviqL','1160DvUfsR','1161100MLBieI','toString','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','368103YDouFi','execute','SearchCommand:\x20','\x20found\x20the\x20following\x20items:\x20','length','1043892sjsOeg','actor','verb','270604fcfcnJ','logger','name','834692SIupqa'];a34c=function(){return j;};return a34c();}
1
+ const a34i=a34d;function a34c(){const k=['inventory','actor','476pWRQSw','57446AQPpvO','search','listItems','toString','name','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','1759625QRseZa','verb','SearchCommand:\x20','1625040iBLkqo','17969170pVBnqP','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','16rbsZwm','apply','3675411qvsLso','logger','11PBCRUJ','(((.+)+)+)+$','1609032NbCmYt','write','constructor','28NarEeJ','currentLocation','description','You\x20search\x20the\x20area\x20and\x20find:\x20','28845XVNKTn'];a34c=function(){return k;};return a34c();}function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x149;let f=c[d];return f;},a34d(a,b);}(function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0x152))/0x1*(-parseInt(f(0x15a))/0x2)+parseInt(f(0x14f))/0x3+parseInt(f(0x159))/0x4*(parseInt(f(0x156))/0x5)+-parseInt(f(0x163))/0x6+-parseInt(f(0x160))/0x7+-parseInt(f(0x149))/0x8*(-parseInt(f(0x14b))/0x9)+-parseInt(f(0x164))/0xa*(parseInt(f(0x14d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x801b5));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x14a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a['toString']()['search'](h(0x14e))[h(0x15d)]()[h(0x151)](a34a)[h(0x15b)](h(0x14e));});a34a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a34i(0x161)]='search';static [a34i(0x154)]='Search\x20for\x20items\x20in\x20your\x20area';['execute'](){const j=a34i,a=this['actor'][j(0x153)][j(0x157)][j(0x15c)]();if(a['length']===0x0)return this[j(0x14c)][j(0x150)](j(0x162)+this[j(0x158)]['name']+j(0x165)),j(0x15f);const b=a['join'](',\x20');return this['logger'][j(0x150)]('SearchCommand:\x20'+this[j(0x158)][j(0x15e)]+'\x20found\x20the\x20following\x20items:\x20'+b),j(0x155)+b;}}
@@ -1 +1 @@
1
- function a35c(){const k=['execute','description','verb','toString','9ZQvGwn','write','toLowerCase','actor','addItem','solve','2352820KmVtUH','2209767UbMrQD','message','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','puzzle','29814GnAdJT','Attempt\x20to\x20solve\x20a\x20puzzle.','rewardItem','apply','10mqGzLd','1243160vkbOWd','2053884jHcJPc','success','2066628uCJEVy','SolveCommand:\x20','203588agxchM','28EYGthy','currentLocation','constructor','(((.+)+)+)+$'];a35c=function(){return k;};return a35c();}const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x19b))/0x1*(-parseInt(f(0x1a6))/0x2)+-parseInt(f(0x1a1))/0x3+parseInt(f(0x1a5))/0x4*(parseInt(f(0x19f))/0x5)+parseInt(f(0x1a3))/0x6+parseInt(f(0x197))/0x7+-parseInt(f(0x1a0))/0x8*(-parseInt(f(0x1ae))/0x9)+-parseInt(f(0x196))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x6544a));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x19e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x1ad)]()['search'](h(0x1a9))[h(0x1ad)]()[h(0x1a8)](a35a)['search'](h(0x1a9));});a35a();function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x194;let f=c[d];return f;},a35d(a,b);}import{Command}from'./command.js';export class SolveCommand extends Command{static [a35i(0x1ac)]='solve';static [a35i(0x1ab)]=a35i(0x19c);[a35i(0x1aa)](a){const j=a35i,b=a['join']('\x20')[j(0x1b0)](),c=this[j(0x1b1)][j(0x1a7)];if(!c||!c[j(0x19a)])return this['logger'][j(0x1af)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0x199);const d=c[j(0x19a)][j(0x195)](b,this['actor']['inventory']);return d[j(0x1a2)]&&c[j(0x19a)][j(0x19d)]&&this[j(0x1b1)]['inventory'][j(0x194)](c[j(0x19a)][j(0x19d)]),this['logger'][j(0x1af)](j(0x1a4)+d[j(0x198)]),d['message'];}}
1
+ const a35i=a35d;function a35c(){const k=['execute','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','6082285MyfAAr','4250tzxiRx','rewardItem','constructor','search','currentLocation','addItem','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','message','toString','1875736essuAI','Attempt\x20to\x20solve\x20a\x20puzzle.','SolveCommand:\x20','97050lVVqpU','20xIdQZL','838889EBWRCs','solve','success','3yTbmcs','2764orEdoh','406DHRXCc','(((.+)+)+)+$','actor','description','inventory','toLowerCase','write','puzzle','2847784CzywqK','verb','logger','apply','10128708APwzlj'];a35c=function(){return k;};return a35c();}(function(a,b){const f=a35d,c=a();while(!![]){try{const d=parseInt(f(0x1ab))/0x1+-parseInt(f(0x1c9))/0x2*(parseInt(f(0x1ae))/0x3)+parseInt(f(0x1af))/0x4*(-parseInt(f(0x1c0))/0x5)+-parseInt(f(0x1a9))/0x6*(-parseInt(f(0x1b0))/0x7)+parseInt(f(0x1b8))/0x8+-parseInt(f(0x1bc))/0x9+parseInt(f(0x1aa))/0xa*(parseInt(f(0x1bf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x8f9dc));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x1c8)]()['search'](h(0x1b1))[h(0x1c8)]()[h(0x1c2)](a35a)[h(0x1c3)](h(0x1b1));});a35a();import{Command}from'./command.js';function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x1a8;let f=c[d];return f;},a35d(a,b);}export class SolveCommand extends Command{static [a35i(0x1b9)]=a35i(0x1ac);static [a35i(0x1b3)]=a35i(0x1ca);[a35i(0x1bd)](a){const j=a35i,b=a['join']('\x20')[j(0x1b5)](),c=this[j(0x1b2)][j(0x1c4)];if(!c||!c[j(0x1b7)])return this[j(0x1ba)][j(0x1b6)](j(0x1c6)),j(0x1be);const d=c[j(0x1b7)][j(0x1ac)](b,this[j(0x1b2)][j(0x1b4)]);return d[j(0x1ad)]&&c[j(0x1b7)][j(0x1c1)]&&this[j(0x1b2)][j(0x1b4)][j(0x1c5)](c['puzzle']['rewardItem']),this['logger']['write'](j(0x1a8)+d[j(0x1c7)]),d[j(0x1c7)];}}
@@ -1 +1 @@
1
- const a36i=a36d;function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x192;let f=c[d];return f;},a36d(a,b);}(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0x1a3))/0x1+-parseInt(f(0x1b6))/0x2*(parseInt(f(0x1b5))/0x3)+-parseInt(f(0x196))/0x4+parseInt(f(0x1b1))/0x5*(-parseInt(f(0x1a7))/0x6)+-parseInt(f(0x1b9))/0x7+-parseInt(f(0x197))/0x8*(-parseInt(f(0x195))/0x9)+parseInt(f(0x19d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x7a0fe));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a36d;if(c){const e=c[g(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a[h(0x1a5)]()[h(0x1ae)](h(0x1b0))[h(0x1a5)]()[h(0x1bb)](a36a)['search']('(((.+)+)+)+$');});function a36c(){const l=['hasItem','Successfully\x20removed\x20\x22','9LqURBl','2831828CjydOb','4700152mjOben','description','apply','actor','\x20during\x20\x27Take\x27\x20command.','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','31030770dxzVVA','\x22\x20in\x20this\x20room.','toLowerCase','inventory','Successfully\x20added\x20\x22','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','780069bUimeV','removeItem','toString','The\x20item\x20\x22','6ugiLMt','addInventory','\x22\x20from\x20','\x22\x20to\x20','join','Item\x20\x22','name','search','You\x20have\x20taken\x20the\x20','(((.+)+)+)+$','1263595qrRVnF','currentLocation','take','\x22\x20not\x20found\x20in\x20','1398849cgqMsc','2jbwYZi','\x22\x20not\x20retrieved\x20from\x20','logger','6885214ZjmffA','write','constructor','There\x20is\x20no\x20item\x20\x22'];a36c=function(){return l;};return a36c();}a36a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a36i(0x1b3);static [a36i(0x198)]='Pick\x20up\x20an\x20item.';['execute'](a){const j=a36i;return this[j(0x1b8)][j(0x1ba)](j(0x1a2)+a[j(0x1ab)]('\x20')),this['take'](a);}[a36i(0x1b3)](a){const k=a36i,b=a[k(0x1ab)]('\x20')[k(0x19f)](),c=this[k(0x19a)][k(0x1b2)];if(!c[k(0x1a0)][k(0x193)](b))return this[k(0x1b8)][k(0x1ba)](k(0x1ac)+b+k(0x1b4)+c['name']+k(0x19b)),k(0x192)+b+k(0x19e);const d=c[k(0x1a0)]['getItem'](b);if(!d)return this['logger'][k(0x1ba)](k(0x1ac)+b+k(0x1b7)+c[k(0x1ad)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x192)+b+k(0x19e);try{return this[k(0x19a)][k(0x1a8)](d),this[k(0x1b8)][k(0x1ba)](k(0x1a1)+b+k(0x1aa)+this[k(0x19a)][k(0x1ad)]+k(0x19c)),c[k(0x1a0)][k(0x1a4)](b),this[k(0x1b8)][k(0x1ba)](k(0x194)+b+k(0x1a9)+c[k(0x1ad)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x1af)+b+'.';}catch(e){return this[k(0x1b8)]['write']('Error\x20during\x20\x27Take\x27\x20command:\x20'+e['message']),k(0x1a6)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
1
+ const a36h=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d=parseInt(f(0xec))/0x1+-parseInt(f(0x104))/0x2*(-parseInt(f(0xf7))/0x3)+parseInt(f(0xfe))/0x4*(parseInt(f(0x113))/0x5)+-parseInt(f(0xef))/0x6+parseInt(f(0xf0))/0x7+-parseInt(f(0x10b))/0x8*(parseInt(f(0x106))/0x9)+-parseInt(f(0xf6))/0xa*(parseInt(f(0xfd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x1f7d7));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['toString']()[g(0x105)](g(0xed))['toString']()['constructor'](a36a)[g(0x105)](g(0xed));});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xea;let f=c[d];return f;},a36d(a,b);}a36a();function a36c(){const k=['description','currentLocation','Pick\x20up\x20an\x20item.','24XlpsZQ','search','25506KmdHUz','getItem','take','\x22\x20in\x20this\x20room.','\x22\x20from\x20','176RuGnWU','name','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','inventory','verb','There\x20is\x20no\x20item\x20\x22','Item\x20\x22','\x22\x20to\x20','565kPLdIp','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','execute','209711YqtvCc','(((.+)+)+)+$','logger','632568BqbsGB','1252566LEtfFa','You\x20have\x20taken\x20the\x20','actor','\x22\x20is\x20too\x20heavy\x20to\x20carry.','message','\x22\x20not\x20retrieved\x20from\x20','3316130CAJojs','12951uwcmBh','write','Successfully\x20removed\x20\x22','hasItem','\x20during\x20\x27Take\x27\x20command.','removeItem','11FpJLRN','6652KKcNuU','join','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'];a36c=function(){return k;};return a36c();}import{Command}from'./command.js';export class TakeCommand extends Command{static [a36h(0x10f)]=a36h(0x108);static [a36h(0x101)]=a36h(0x103);[a36h(0xeb)](a){const i=a36h;return this['logger'][i(0xf8)](i(0xea)+a['join']('\x20')),this['take'](a);}[a36h(0x108)](a){const j=a36h,b=a[j(0xff)]('\x20')['toLowerCase'](),c=this['actor'][j(0x102)];if(!c['inventory'][j(0xfa)](b))return this[j(0xee)]['write'](j(0x111)+b+'\x22\x20not\x20found\x20in\x20'+c[j(0x10c)]+j(0xfb)),j(0x110)+b+j(0x109);const d=c[j(0x10e)][j(0x107)](b);if(!d)return this[j(0xee)][j(0xf8)](j(0x111)+b+j(0xf5)+c[j(0x10c)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x110)+b+j(0x109);try{return this[j(0xf2)]['addInventory'](d),this[j(0xee)]['write']('Successfully\x20added\x20\x22'+b+j(0x112)+this[j(0xf2)]['name']+j(0x100)),c[j(0x10e)][j(0xfc)](b),this[j(0xee)][j(0xf8)](j(0xf9)+b+j(0x10a)+c[j(0x10c)]+j(0x10d)),j(0xf1)+b+'.';}catch(e){return this[j(0xee)][j(0xf8)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[j(0xf4)]),'The\x20item\x20\x22'+b+j(0xf3);}}}
@@ -1 +1 @@
1
- const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x1b7))/0x1*(-parseInt(f(0x1ad))/0x2)+-parseInt(f(0x1bb))/0x3+parseInt(f(0x1a7))/0x4*(parseInt(f(0x1b2))/0x5)+-parseInt(f(0x1b3))/0x6*(parseInt(f(0x1a4))/0x7)+parseInt(f(0x1b8))/0x8+-parseInt(f(0x1aa))/0x9+parseInt(f(0x1ac))/0xa*(parseInt(f(0x1ab))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x4e0bb));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const g=a37d;return a37a[g(0x1af)]()[g(0x1b0)]('(((.+)+)+)+$')['toString']()[g(0x1a6)](a37a)['search'](g(0x1a8));});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a37d(a,b);}a37a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a37h(0x1ae)]='unqeuip';static [a37h(0x1a5)]=a37h(0x1b6);['execute'](a){const i=a37h,b=a['join']('\x20')[i(0x1ba)](),c=this[i(0x1a3)][i(0x1a9)](b);return this[i(0x1b4)][i(0x1b1)](i(0x1b5)+this[i(0x1a3)]['name']+i(0x1b9)+c),c;}}function a37c(){const j=['\x20unqeuiped\x20','toLowerCase','1138479oEwgRT','actor','3514Erveql','description','constructor','29104EnVbBz','(((.+)+)+)+$','unequip','863199WnhOQi','11486519gBcRpX','10rFFrWH','8nFnwzZ','verb','toString','search','write','290RtUtFb','5946NZyruc','logger','UnequipCommand:\x20','Unequip\x20an\x20item.','111719SLJGBQ','2185600iyrINU'];a37c=function(){return j;};return a37c();}
1
+ function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x195;let f=c[d];return f;},a37d(a,b);}const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x198))/0x1+-parseInt(f(0x1a5))/0x2+parseInt(f(0x19b))/0x3+-parseInt(f(0x1ab))/0x4*(parseInt(f(0x199))/0x5)+-parseInt(f(0x19f))/0x6+-parseInt(f(0x1a1))/0x7+parseInt(f(0x1a8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x26da5));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x1a2)]()[h(0x1a6)](h(0x1aa))[h(0x1a2)]()[h(0x1ac)](a37a)['search'](h(0x1aa));});a37a();import{Command}from'./command.js';function a37c(){const k=['toString','apply','description','146484pIBJko','search','UnequipCommand:\x20','4589056rDXJTV','verb','(((.+)+)+)+$','8iEGWGp','constructor','Unequip\x20an\x20item.','logger','actor','execute','163629bvkSIr','708255CcuviS','\x20unqeuiped\x20','910599MfIpyw','unequip','join','unqeuip','665238bIlzhU','name','608846OvqqNg'];a37c=function(){return k;};return a37c();}export class UnequipCommand extends Command{static [a37i(0x1a9)]=a37i(0x19e);static [a37i(0x1a4)]=a37i(0x1ad);[a37i(0x197)](a){const j=a37i,b=a[j(0x19d)]('\x20')['toLowerCase'](),c=this[j(0x196)][j(0x19c)](b);return this[j(0x195)]['write'](j(0x1a7)+this[j(0x196)][j(0x1a0)]+j(0x19a)+c),c;}}
@@ -1 +1 @@
1
- const a38k=a38d;function a38c(){const n=['error','actor','currentLocation','getItem','2167160BFkIOI','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','UnlockCommand:\x20','There\x27s\x20no\x20door\x20named\x20\x22','1oOoFPf','toString','constructor','22uCpzlp','23242308WamDQk','name','.\x20Result:\x20','2345448GvVKCX','verb','12vGKpdA','write','24BpdRtZ','Unlock\x20a\x20door.','logger','isValidDirection','toLowerCase','(((.+)+)+)+$','exits','search','hasItem','1776594wbEtnb','1145060yUNzVP','2509381EikBvk','execute','\x22\x20here.','unlock','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','unlockItemOrSolution','get','2793046wtbIhi','inventory','9jKcwMR','description','length','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','apply'];a38c=function(){return n;};return a38c();}(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0x127))/0x1*(-parseInt(h(0x117))/0x2)+-parseInt(h(0x13b))/0x3+parseInt(h(0x12e))/0x4+parseInt(h(0x10f))/0x5*(-parseInt(h(0x130))/0x6)+parseInt(h(0x110))/0x7*(-parseInt(h(0x132))/0x8)+-parseInt(h(0x119))/0x9*(parseInt(h(0x123))/0xa)+-parseInt(h(0x12a))/0xb*(-parseInt(h(0x12b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xb0112));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x10f;let f=c[d];return f;},a38d(a,b);}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x128)]()[j(0x139)](j(0x137))[j(0x128)]()[j(0x129)](a38a)['search'](j(0x137));});a38a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a38k(0x12f)]=a38k(0x113);static [a38k(0x11a)]=a38k(0x133);[a38k(0x111)](a){const l=a38k;return this[l(0x113)](a);}[a38k(0x113)](a){const m=a38k;if(a[m(0x11b)]===0x0)return this[m(0x134)][m(0x11f)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0x124);const b=a[0x0][m(0x136)](),c=this[m(0x120)][m(0x121)];if(this[m(0x135)](b)&&c[m(0x138)]['has'](b)){const d=c[m(0x138)][m(0x116)](b);if(d instanceof Door){const e=d[m(0x115)]?.[m(0x136)]();if(e&&this['actor'][m(0x118)][m(0x13a)](e)){const f=this[m(0x120)][m(0x118)][m(0x122)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0x12c)]);return this[m(0x134)]['write']('UnlockCommand:\x20'+this[m(0x120)][m(0x12c)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+m(0x12d)+g),g;}}return this['logger']['write'](m(0x125)+this[m(0x120)][m(0x12c)]+m(0x114)+b+'.'),m(0x11c);}else return this[m(0x134)][m(0x131)](m(0x125)+b+m(0x11d)+c[m(0x12c)]+'.'),m(0x126)+b+m(0x112);}else return this[m(0x134)][m(0x131)](m(0x125)+b+m(0x11d)+c[m(0x12c)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x112);}}
1
+ const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x16f))/0x1*(-parseInt(h(0x172))/0x2)+parseInt(h(0x169))/0x3+-parseInt(h(0x16a))/0x4+-parseInt(h(0x174))/0x5+parseInt(h(0x17a))/0x6*(-parseInt(h(0x166))/0x7)+-parseInt(h(0x162))/0x8*(-parseInt(h(0x176))/0x9)+parseInt(h(0x161))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xdc0b1));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x16e)]()[j(0x186)](j(0x173))['toString']()['constructor'](a38a)[j(0x186)](j(0x173));});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x15e;let f=c[d];return f;},a38d(a,b);}function a38c(){const m=['name','unlock','get','7IMXvpt','currentLocation','description','4780566ATIqNu','1376348DhAIJZ','unlockItemOrSolution','apply','has','toString','75vFBOBK','.\x20Result:\x20','attemptUnlockExit','9654bvIDxp','(((.+)+)+)+$','8196055EgIzvY','There\x27s\x20no\x20door\x20named\x20\x22','3267htQcHE','hasItem','write','getItem','309684KwBAQs','inventory','Unlock\x20a\x20door.','verb','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','actor','exits','length','UnlockCommand:\x20','error','toLowerCase','\x22\x20here.','search','logger','isValidDirection','\x20is\x20attempted\x20to\x20unlock\x20','844150mwUhBI','19752JcRTDD'];a38c=function(){return m;};return a38c();}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a38k(0x17d)]=a38k(0x164);static [a38k(0x168)]=a38k(0x17c);['execute'](a){return this['unlock'](a);}[a38k(0x164)](a){const l=a38k;if(a[l(0x181)]===0x0)return this['logger'][l(0x183)]('UnlockCommand:\x20No\x20target\x20specified.'),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][l(0x184)](),c=this['actor'][l(0x167)];if(this[l(0x15f)](b)&&c[l(0x180)][l(0x16d)](b)){const d=c[l(0x180)][l(0x165)](b);if(d instanceof Door){const e=d[l(0x16b)]?.[l(0x184)]();if(e&&this['actor'][l(0x17b)][l(0x177)](e)){const f=this['actor']['inventory'][l(0x179)](e);if(f){const g=c[l(0x171)](b,f[l(0x163)]);return this[l(0x15e)]['write'](l(0x182)+this[l(0x17f)][l(0x163)]+l(0x160)+b+l(0x170)+g),g;}}return this[l(0x15e)][l(0x178)](l(0x182)+this['actor'][l(0x163)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this['logger'][l(0x178)](l(0x182)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x163)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0x185);}else return this[l(0x15e)][l(0x178)]('UnlockCommand:\x20'+b+l(0x17e)+c[l(0x163)]+'.'),l(0x175)+b+l(0x185);}}
@@ -1 +1 @@
1
- const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x145))/0x1+parseInt(f(0x149))/0x2+-parseInt(f(0x147))/0x3+parseInt(f(0x166))/0x4*(-parseInt(f(0x153))/0x5)+parseInt(f(0x15c))/0x6*(-parseInt(f(0x15f))/0x7)+parseInt(f(0x15d))/0x8*(parseInt(f(0x155))/0x9)+parseInt(f(0x150))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xc6787));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(0x15e)]()['search'](g(0x14e))[g(0x15e)]()['constructor'](a39a)[g(0x163)](g(0x14e));});function a39c(){const k=['You\x20can\x27t\x20use\x20the\x20','description','verb','name','534ksScls','24URuASm','toString','553EpdaHd','getItem','\x20doesn\x27t\x20have\x20a\x20use\x20method.','inventory','search','logger','actor','57616cyFqms','244430enLVvP','hasItem','833802dofcEL','execute','495106FInDbT','\x20in\x20this\x20way.','You\x20don\x27t\x20have\x20the\x20','UseCommand:\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','(((.+)+)+)+$','write','14808870geJISu','\x20not\x20retrieved\x20from\x20','\x20used\x20','515evobTA','\x27s\x20inventory.','3292506PKaitg','use','Use\x20an\x20item.'];a39c=function(){return k;};return a39c();}a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x145;let f=c[d];return f;},a39d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static [a39h(0x15a)]=a39h(0x156);static [a39h(0x159)]=a39h(0x157);[a39h(0x148)](a){const i=a39h;return this[i(0x156)](a);}[a39h(0x156)](a){const j=a39h,b=a['join']('\x20')['toLowerCase']();if(!this[j(0x165)]['inventory'][j(0x146)](b))return this[j(0x164)][j(0x14f)](j(0x14c)+this[j(0x165)][j(0x15b)]+'\x20attempted\x20to\x20use\x20'+b+j(0x14d)),j(0x14b)+b+'\x20to\x20use.';const c=this[j(0x165)][j(0x162)][j(0x160)](b);if(!c)return this[j(0x164)][j(0x14f)](j(0x14c)+b+j(0x151)+this[j(0x165)]['name']+j(0x154)),j(0x14b)+b+'\x20to\x20use.';if(typeof c['use']==='function'){const d=c[j(0x156)]();return this[j(0x164)][j(0x14f)]('UseCommand:\x20'+this[j(0x165)]['name']+j(0x152)+b+'.'),d;}else return this['logger'][j(0x14f)]('UseCommand:\x20'+b+j(0x161)),j(0x158)+b+j(0x14a);}}
1
+ const a39i=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xca;let f=c[d];return f;},a39d(a,b);}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0xda))/0x1+-parseInt(f(0xee))/0x2*(parseInt(f(0xcd))/0x3)+-parseInt(f(0xd4))/0x4*(-parseInt(f(0xd2))/0x5)+-parseInt(f(0xef))/0x6+-parseInt(f(0xea))/0x7*(parseInt(f(0xe8))/0x8)+parseInt(f(0xce))/0x9*(parseInt(f(0xf3))/0xa)+-parseInt(f(0xe2))/0xb*(-parseInt(f(0xf1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x9f08f));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0xd5)]()[h(0xe6)](h(0xd9))[h(0xd5)]()[h(0xdb)](a39a)[h(0xe6)](h(0xd9));});a39a();function a39c(){const l=['You\x20can\x27t\x20use\x20the\x20','84yKIYfa','inventory','30ylQenU','execute','\x20doesn\x27t\x20have\x20a\x20use\x20method.','verb','1788942htlnuF','271098nGXPzw','\x20not\x20retrieved\x20from\x20','toLowerCase',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','160soVtNX','\x20used\x20','146224LrgqrN','toString','join','apply','\x27s\x20inventory.','(((.+)+)+)+$','1254677jClQqA','constructor','\x20to\x20use.','write','\x20attempted\x20to\x20use\x20','Use\x20an\x20item.','actor','getItem','93071XWrYKY','function','name','UseCommand:\x20','search','use','5034352INWyOQ','hasItem','7GYpqfV','You\x20don\x27t\x20have\x20the\x20','\x20in\x20this\x20way.','logger','2gJhIHx','4182282CIZXWj'];a39c=function(){return l;};return a39c();}import{Command}from'./command.js';export class UseCommand extends Command{static [a39i(0xcc)]=a39i(0xe7);static ['description']=a39i(0xdf);[a39i(0xca)](a){const j=a39i;return this[j(0xe7)](a);}[a39i(0xe7)](a){const k=a39i,b=a[k(0xd6)]('\x20')[k(0xd0)]();if(!this[k(0xe0)][k(0xf2)][k(0xe9)](b))return this[k(0xed)]['write']('UseCommand:\x20'+this[k(0xe0)][k(0xe4)]+k(0xde)+b+k(0xd1)),k(0xeb)+b+k(0xdc);const c=this['actor']['inventory'][k(0xe1)](b);if(!c)return this['logger'][k(0xdd)](k(0xe5)+b+k(0xcf)+this[k(0xe0)][k(0xe4)]+k(0xd8)),k(0xeb)+b+k(0xdc);if(typeof c[k(0xe7)]===k(0xe3)){const d=c[k(0xe7)]();return this[k(0xed)]['write'](k(0xe5)+this['actor']['name']+k(0xd3)+b+'.'),d;}else return this[k(0xed)][k(0xdd)]('UseCommand:\x20'+b+k(0xcb)),k(0xf0)+b+k(0xec);}}
@@ -1 +1 @@
1
- const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0xe5))/0x1+parseInt(f(0xe3))/0x2*(-parseInt(f(0xe6))/0x3)+parseInt(f(0xe7))/0x4*(-parseInt(f(0xe2))/0x5)+parseInt(f(0xdd))/0x6+parseInt(f(0xea))/0x7*(-parseInt(f(0xe4))/0x8)+-parseInt(f(0xed))/0x9+-parseInt(f(0xe8))/0xa*(-parseInt(f(0xdf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x59f1c));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0xe0)]()[g(0xe9)](g(0xde))[g(0xe0)]()[g(0xdc)](a40a)[g(0xe9)]('(((.+)+)+)+$');});function a40c(){const k=['1489824OYVqpA','constructor','4160364YIlNsY','(((.+)+)+)+$','165NdGwBi','toString','registerCommand','1394625DyneDt','22886tHWKfG','297680TpCYmp','493240nKvjYt','141VYlHcq','4xQLlwQ','283020sUphQh','search','49Exccem','createCommand','commandMap'];a40c=function(){return k;};return a40c();}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xdc;let f=c[d];return f;},a40d(a,b);}a40a();export class CommandFactory{static [a40h(0xec)]={};static[a40h(0xe1)](a,b){const i=a40h;this[i(0xec)][a]=b;}static[a40h(0xeb)](a,b){const j=a40h,c=this[j(0xec)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){return this['commandMap'];}}
1
+ const a40i=a40d;function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x136;let f=c[d];return f;},a40d(a,b);}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x148))/0x1*(parseInt(f(0x144))/0x2)+parseInt(f(0x145))/0x3*(-parseInt(f(0x141))/0x4)+-parseInt(f(0x143))/0x5+parseInt(f(0x147))/0x6+-parseInt(f(0x138))/0x7*(-parseInt(f(0x140))/0x8)+-parseInt(f(0x13a))/0x9*(parseInt(f(0x146))/0xa)+parseInt(f(0x136))/0xb*(parseInt(f(0x149))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x9a48d));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x13b)]()[h(0x13e)](h(0x13c))[h(0x13b)]()[h(0x142)](a40a)[h(0x13e)](h(0x13c));});a40a();export class CommandFactory{static [a40i(0x137)]={};static[a40i(0x13f)](a,b){const j=a40i;this[j(0x137)][a]=b;}static['createCommand'](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a40i(0x139)](){return this['commandMap'];}}function a40c(){const k=['828hcyNOo','constructor','139355ZSEndP','16QkyikL','11091dtsGMI','310ZquqVc','4218036xfWJfc','134833UnrYrP','12RghwqU','22709698cdAnMx','commandMap','5509973VbzYwG','getAllRegisteredCommands','305100CjGsRI','toString','(((.+)+)+)+$','apply','search','registerCommand','8fdBItZ'];a40c=function(){return k;};return a40c();}
@@ -1 +1 @@
1
- const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x1b2))/0x1+-parseInt(f(0x1ce))/0x2+-parseInt(f(0x1d6))/0x3+parseInt(f(0x1b4))/0x4*(-parseInt(f(0x1c3))/0x5)+-parseInt(f(0x1c0))/0x6+parseInt(f(0x1d3))/0x7*(-parseInt(f(0x1cf))/0x8)+parseInt(f(0x1c5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb3f61));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x1c4)]()[h(0x1c2)]('(((.+)+)+)+$')[h(0x1c4)]()[h(0x1d2)](a41a)['search'](h(0x1ca));});function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1b1;let f=c[d];return f;},a41d(a,b);}a41a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a41c(){const o=['bodyarmor','createPuzzle','name','7836918zYIZEV','key','search','50IIRzsA','toString','39458889zzyOOz','inventory','legarmor','addItem','convertToRoomConfig','(((.+)+)+)+$','createItem','description','toUpperCase','1016870MDGGMQ','130288Wtxtmr','puzzle','gauntlets','constructor','483WWcTFi','INSIDE','rifle','488871RhFpbl','content','createRoom','54701gXqpVX','apply','196488GwAGUm','type','sword','rewardItem','roomType','helmet','book','items','gloves'];a41c=function(){return o;};return a41c();}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{[a41i(0x1b1)](a){const j=a41i,b=this[j(0x1c9)](a),c=new Room(b);if(a[j(0x1bb)]){const d=new Inventory();a[j(0x1bb)]['forEach'](e=>{const k=j;d[k(0x1c8)](this['createItem'](e));}),c[j(0x1c6)]=d;}return a['puzzle']&&c['setPuzzle'](this[j(0x1be)](a[j(0x1d0)])),c;}[a41i(0x1cb)](a){const l=a41i;switch(a[l(0x1b5)]){case l(0x1c1):return new Key(a[l(0x1bf)],a['description']);case l(0x1ba):return new Book(a[l(0x1bf)],a[l(0x1cc)],a[l(0x1d7)]);case l(0x1b6):return new Sword(a[l(0x1bf)],a[l(0x1cc)]);case l(0x1d5):return new Rifle(a['name'],a[l(0x1cc)]);case l(0x1b9):return new Helmet(a[l(0x1bf)],a[l(0x1cc)]);case l(0x1bd):return new BodyArmor(a[l(0x1bf)],a[l(0x1cc)]);case l(0x1c7):return new LegArmor(a[l(0x1bf)],a[l(0x1cc)]);case'boots':return new Boots(a[l(0x1bf)],a[l(0x1cc)]);case l(0x1bc):return new Gloves(a[l(0x1bf)],a[l(0x1cc)]);case l(0x1d1):return new Gauntlets(a[l(0x1bf)],a['description']);default:return new BasicItem(a[l(0x1bf)],a[l(0x1cc)]);}}['createPuzzle'](a){const m=a41i,b=this[m(0x1cb)](a[m(0x1b7)]);return new Puzzle({...a,'rewardItem':b});}[a41i(0x1c9)](a){const n=a41i,b=a[n(0x1b8)]&&RoomType[a[n(0x1b8)][n(0x1cd)]()]?RoomType[a[n(0x1b8)][n(0x1cd)]()]:RoomType[n(0x1d4)];return{'name':a[n(0x1bf)],'description':a['description'],'isStartRoom':a['isStartRoom'],'roomType':b};}}
1
+ const a41h=a41d;function a41c(){const n=['719748kWBMYP','isStartRoom','bodyarmor','helmet','setPuzzle','12438yFESQA','(((.+)+)+)+$','puzzle','8810kUmaPi','roomType','name','legarmor','196746rYUJxo','toUpperCase','194556OLnXtB','toString','boots','createRoom','164752fjxbzu','constructor','forEach','gloves','search','type','140gNRiGq','content','createItem','book','rewardItem','createPuzzle','inventory','rifle','1950375oMUMMA','addItem','convertToRoomConfig','453630wSBYEk','3GaSIiY','description','items','sword'];a41c=function(){return n;};return a41c();}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x197))/0x1+-parseInt(f(0x184))/0x2*(parseInt(f(0x185))/0x3)+parseInt(f(0x189))/0x4+-parseInt(f(0x181))/0x5+parseInt(f(0x195))/0x6+parseInt(f(0x1a1))/0x7*(-parseInt(f(0x19b))/0x8)+parseInt(f(0x18e))/0x9*(parseInt(f(0x191))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x32860));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(0x198)]()[g(0x19f)](g(0x18f))[g(0x198)]()[g(0x19c)](a41a)['search']('(((.+)+)+)+$');});function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x17d;let f=c[d];return f;},a41d(a,b);}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(0x19a)](a){const i=a41h,b=this[i(0x183)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[i(0x187)][i(0x19d)](e=>{const j=i;d[j(0x182)](this[j(0x1a3)](e));}),c[i(0x17f)]=d;}return a[i(0x190)]&&c[i(0x18d)](this[i(0x17e)](a[i(0x190)])),c;}['createItem'](a){const k=a41h;switch(a[k(0x1a0)]){case'key':return new Key(a[k(0x193)],a['description']);case k(0x1a4):return new Book(a['name'],a['description'],a[k(0x1a2)]);case k(0x188):return new Sword(a[k(0x193)],a['description']);case k(0x180):return new Rifle(a[k(0x193)],a[k(0x186)]);case k(0x18c):return new Helmet(a[k(0x193)],a['description']);case k(0x18b):return new BodyArmor(a[k(0x193)],a['description']);case k(0x194):return new LegArmor(a[k(0x193)],a[k(0x186)]);case k(0x199):return new Boots(a[k(0x193)],a[k(0x186)]);case k(0x19e):return new Gloves(a[k(0x193)],a[k(0x186)]);case'gauntlets':return new Gauntlets(a[k(0x193)],a['description']);default:return new BasicItem(a[k(0x193)],a[k(0x186)]);}}['createPuzzle'](a){const l=a41h,b=this[l(0x1a3)](a[l(0x17d)]);return new Puzzle({...a,'rewardItem':b});}[a41h(0x183)](a){const m=a41h,b=a['roomType']&&RoomType[a[m(0x192)][m(0x196)]()]?RoomType[a[m(0x192)][m(0x196)]()]:RoomType['INSIDE'];return{'name':a[m(0x193)],'description':a[m(0x186)],'isStartRoom':a[m(0x18a)],'roomType':b};}}
@@ -1 +1 @@
1
- function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xdf;let f=c[d];return f;},a42d(a,b);}const a42j=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=parseInt(h(0xe7))/0x1+-parseInt(h(0x107))/0x2*(parseInt(h(0xe4))/0x3)+-parseInt(h(0xee))/0x4*(parseInt(h(0xdf))/0x5)+parseInt(h(0xec))/0x6*(parseInt(h(0x110))/0x7)+parseInt(h(0x10b))/0x8*(-parseInt(h(0x10e))/0x9)+parseInt(h(0x113))/0xa+parseInt(h(0xfe))/0xb*(parseInt(h(0xfc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xde126));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(0x10d)]()[i(0xef)](i(0x106))['toString']()[i(0xf3)](a42a)['search'](i(0x106));});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';import{CommandFactory}from'./factories/commandF.js';function a42c(){const r=['createCommand','registerCommand','say','look','11352lonbMf','Welcome,\x20','12UpAXGF','search','unequip','rooms','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','constructor','slice','handleInput','getAllRegisteredCommands','determineStartRoom','split','take','unlock','getRooms','3912WlZjQR','drop','3245tsqRaf','getInstance','player','execute','clear','initialize','help','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','(((.+)+)+)+$','64ymRkRD','instance','maka','quit','430232uhhyid','registerCommands','toString','207lNgBSs','use','4228VmBnSp','name','scene','13485210QFGCAt','700835RdQpmw','getHelpMessage','getDescription','currentRoom','solve','117408PphJsz','getWelcomeMessage','hasOwnProperty','1231917sjHQlL'];a42c=function(){return r;};return a42c();}export default class Game{static [a42j(0x108)];[a42j(0x112)];[a42j(0x100)];[a42j(0xe2)];[a42j(0xf1)];constructor(a,b){const k=a42j;this['player']=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this['scene'][k(0x103)](),this['player']['currentLocation']=this[k(0xf7)](),this[k(0x10c)]();}[a42j(0x10c)](){const l=a42j;CommandFactory[l(0xe9)](l(0xeb),LookCommand),CommandFactory[l(0xe9)]('go',GoCommand),CommandFactory['registerCommand'](l(0xf9),TakeCommand),CommandFactory[l(0xe9)](l(0x10f),UseCommand),CommandFactory['registerCommand']('equip',EquipCommand),CommandFactory['registerCommand'](l(0xf0),UnequipCommand),CommandFactory[l(0xe9)](l(0xe3),SolveCommand),CommandFactory[l(0xe9)](l(0xfd),DropCommand),CommandFactory['registerCommand'](l(0xfa),UnlockCommand),CommandFactory[l(0xe9)]('lock',LockCommand),CommandFactory[l(0xe9)](l(0xef),SearchCommand),CommandFactory[l(0xe9)](l(0xea),SayCommand);}[a42j(0xf7)](){const m=a42j;return this[m(0x112)][m(0xf7)]();}[a42j(0xe5)](){const n=a42j;return n(0xed)+this[n(0x100)][n(0x111)];}static[a42j(0xff)](a,b){const o=a42j;return!Game[o(0x108)]&&(Game[o(0x108)]=new Game(a,b)),Game[o(0x108)];}[a42j(0xf5)](a){const p=a42j,b=a['trim']()[p(0xf8)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[p(0xf4)](0x1);if(c===p(0x10a))return null;if(c===p(0x109))return p(0x105);if(c===p(0x104))return this[p(0xe0)]();if(c===p(0x102))return'';const e={'actor':this[p(0x100)],'rooms':this[p(0x112)][p(0xfb)](),'scene':this[p(0x112)]},f=CommandFactory[p(0xe8)](c,e);if(f){const g=f[p(0x101)](d);return g;}return p(0xf2)+c+'\x22.';}[a42j(0xe0)](){const q=a42j,a=CommandFactory[q(0xf6)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[q(0xe6)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0xe1)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
1
+ const a42j=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=-parseInt(h(0x82))/0x1*(-parseInt(h(0x9b))/0x2)+-parseInt(h(0xac))/0x3*(parseInt(h(0x84))/0x4)+parseInt(h(0xa1))/0x5*(parseInt(h(0xa7))/0x6)+-parseInt(h(0x89))/0x7*(parseInt(h(0x93))/0x8)+parseInt(h(0x85))/0x9*(parseInt(h(0xa0))/0xa)+parseInt(h(0x8f))/0xb*(-parseInt(h(0x8a))/0xc)+parseInt(h(0xa9))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x2fade));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(0x79)]()[i(0x76)](i(0x97))[i(0x79)]()[i(0xa2)](a42a)['search'](i(0x97));});function a42c(){const r=['839870bllflT','10235yvKpkH','constructor','unlock','solve','Available\x20Commands:\x0a','clear','366DjKNWQ','look','5255458zPlIpl','help','determineStartRoom','105gmEkvP','search','Welcome,\x20','rooms','toString','createCommand','player','drop','lock','instance','say','getWelcomeMessage','getAllRegisteredCommands','1263tpukao','registerCommand','28276yKKQbF','27bZHelj','toLowerCase','take','-\x20quit:\x20Exit\x20the\x20game.\x0a','97643XTVrRB','11604biPqvl','registerCommands','trim','quit','equip','935hGPnwN','maka','hasOwnProperty','-\x20clear:\x20Clear\x20the\x20screen.\x0a','152yKEDwb','getRooms','execute','currentLocation','(((.+)+)+)+$','unequip','use','handleInput','14LhiQrj','scene','getInstance','getHelpMessage','getDescription'];a42c=function(){return r;};return a42c();}a42a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x76;let f=c[d];return f;},a42d(a,b);}import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a42j(0x7e)];[a42j(0x9c)];[a42j(0x7b)];['currentRoom'];[a42j(0x78)];constructor(a,b){const k=a42j;this[k(0x7b)]=a,this[k(0x9c)]=new Scene({'player':a,'roomConfiguration':b}),this['scene']['initialize'](),this[k(0x7b)][k(0x96)]=this[k(0xab)](),this[k(0x8b)]();}['registerCommands'](){const l=a42j;CommandFactory[l(0x83)](l(0xa8),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory['registerCommand'](l(0x87),TakeCommand),CommandFactory[l(0x83)](l(0x99),UseCommand),CommandFactory[l(0x83)](l(0x8e),EquipCommand),CommandFactory[l(0x83)](l(0x98),UnequipCommand),CommandFactory[l(0x83)](l(0xa4),SolveCommand),CommandFactory[l(0x83)](l(0x7c),DropCommand),CommandFactory['registerCommand'](l(0xa3),UnlockCommand),CommandFactory[l(0x83)](l(0x7d),LockCommand),CommandFactory[l(0x83)](l(0x76),SearchCommand),CommandFactory[l(0x83)](l(0x7f),SayCommand);}[a42j(0xab)](){const m=a42j;return this[m(0x9c)][m(0xab)]();}[a42j(0x80)](){const n=a42j;return n(0x77)+this[n(0x7b)]['name'];}static[a42j(0x9d)](a,b){const o=a42j;return!Game[o(0x7e)]&&(Game[o(0x7e)]=new Game(a,b)),Game[o(0x7e)];}[a42j(0x9a)](a){const p=a42j,b=a[p(0x8c)]()['split']('\x20'),c=b[0x0][p(0x86)](),d=b['slice'](0x1);if(c===p(0x8d))return null;if(c===p(0x90))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===p(0xaa))return this[p(0x9e)]();if(c===p(0xa6))return'';const e={'actor':this[p(0x7b)],'rooms':this['scene'][p(0x94)](),'scene':this[p(0x9c)]},f=CommandFactory[p(0x7a)](c,e);if(f){const g=f[p(0x95)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a42j(0x9e)](){const q=a42j,a=CommandFactory[q(0x81)]();let b=q(0xa5);for(const c in a){if(a[q(0x91)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x9f)]()+'\x0a';}}return b+=q(0x92),b+=q(0x88),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0xa7))/0x1+-parseInt(f(0xa8))/0x2+parseInt(f(0xac))/0x3*(-parseInt(f(0xa4))/0x4)+parseInt(f(0xa9))/0x5+-parseInt(f(0xa3))/0x6+-parseInt(f(0xa2))/0x7*(parseInt(f(0xa1))/0x8)+parseInt(f(0x9f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xa0a93));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0xa0)]()['search'](h(0xa5))['toString']()[h(0xa6)](a43a)[h(0xab)](h(0xa5));});a43a();export*from'./door.js';function a43c(){var i=['35jnknWE','5872080bvyxuA','884132YDhdiR','(((.+)+)+)+$','constructor','624023aFuHxC','644906Ujnggq','6228860qfhNss','apply','search','6wCeNVZ','16015194RuBsvm','toString','1996792ldtfKr'];a43c=function(){return i;};return a43c();}export*from'./inventory.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x9f;var f=c[d];return f;},a43d(a,b);}export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0xf8))/0x1*(-parseInt(f(0xf3))/0x2)+-parseInt(f(0xfa))/0x3*(-parseInt(f(0xf4))/0x4)+parseInt(f(0xf6))/0x5*(parseInt(f(0xf1))/0x6)+-parseInt(f(0xf2))/0x7+-parseInt(f(0xed))/0x8+-parseInt(f(0xf7))/0x9+parseInt(f(0xf9))/0xa*(parseInt(f(0xf0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x5a68c));function a43c(){var i=['54jXZFza','1513862EPDGSL','222QIIAsF','2809252eELrjS','apply','45915qepHoM','4604031azYrUy','1555vQHJCo','4455970YZWmZV','3qqKtCU','(((.+)+)+)+$','2440168WwJVHV','constructor','search','11IpPikD'];a43c=function(){return i;};return a43c();}var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a['toString']()[h(0xef)](h(0xfb))['toString']()[h(0xee)](a43a)[h(0xef)]('(((.+)+)+)+$');});a43a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xed;var f=c[d];return f;},a43d(a,b);}export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a44h=a44d;(function(a,b){var f=a44d,c=a();while(!![]){try{var d=-parseInt(f(0x83))/0x1*(-parseInt(f(0x84))/0x2)+-parseInt(f(0x6b))/0x3*(-parseInt(f(0x7d))/0x4)+-parseInt(f(0x6e))/0x5+parseInt(f(0x7c))/0x6*(-parseInt(f(0x6d))/0x7)+parseInt(f(0x70))/0x8*(-parseInt(f(0x6a))/0x9)+-parseInt(f(0x80))/0xa*(-parseInt(f(0x81))/0xb)+parseInt(f(0x7a))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x74cf2));function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0x6a;var f=c[d];return f;},a44d(a,b);}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(0x86)]()['search']('(((.+)+)+)+$')[g(0x86)]()[g(0x71)](a44a)[g(0x7e)](g(0x82));});a44a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a44c(){var n=['10gIzLSe','isLocked','toString','getInstance','180zwyReV','1299Nqxner','write','7edDRJV','1890860AhfVch','logger','233992vbmFyG','constructor','checkIfLockable','roomA','Failed\x20to\x20unlock\x20door:\x20','name','To\x20','unlockItemOrSolution','.\x20Used:\x20','isLockable','21862176GrJgkD','.\x20Is\x20Locked:\x20','4616742VqLSfL','1724vRCwpH','search','roomB','1930730pHaiGs','11TjRIXl','(((.+)+)+)+$','1903pJyVdf'];a44c=function(){return n;};return a44c();}export class Door extends AbstractDoor{['roomA'];[a44h(0x7f)];[a44h(0x85)];[a44h(0x77)];[a44h(0x75)];[a44h(0x6f)];[a44h(0x79)];constructor(a){var i=a44h;super(),this[i(0x73)]=a[i(0x73)],this['roomB']=a[i(0x7f)],this['isLocked']=a[i(0x85)]||![],this['unlockItemOrSolution']=a[i(0x77)],this['name']=a[i(0x75)]?capitalCase(a['name']):i(0x76)+a[i(0x7f)][i(0x75)],this[i(0x6f)]=Logger[i(0x87)](),this[i(0x79)]=!!a[i(0x77)],this[i(0x6f)][i(0x6c)]('Door\x20created\x20between\x20'+this['roomA'][i(0x75)]+'\x20and\x20'+this[i(0x7f)][i(0x75)]+i(0x7b)+this['isLocked']);}['getOtherSide'](a){var j=a44h;return this[j(0x73)]===a?this[j(0x7f)]:this[j(0x73)];}['attemptUnlock'](a){var k=a44h;if(this[k(0x85)]&&this[k(0x77)]&&this[k(0x77)]===a)return this[k(0x85)]=![],this[k(0x6f)][k(0x6c)]('Door\x20unlocked:\x20'+this[k(0x75)]+k(0x78)+a),!![];return this[k(0x6f)][k(0x6c)](k(0x74)+this[k(0x75)]+k(0x78)+a),![];}['checkIfLocked'](){var l=a44h;return this[l(0x85)];}[a44h(0x72)](){var m=a44h;return this[m(0x79)];}}
1
+ function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0x19c;var f=c[d];return f;},a44d(a,b);}var a44i=a44d;function a44c(){var o=['2yxQqjt','search','85vRXAbz','699971LZYPfR','71644iEyIfh','.\x20Used:\x20','checkIfLocked','4777794cGBVmN','(((.+)+)+)+$','Failed\x20to\x20unlock\x20door:\x20','roomB','getOtherSide','isLocked','7YxuWWA','3168088UjxDhm','Door\x20created\x20between\x20','\x20and\x20','checkIfLockable','1111QQwkDT','4005702tOyTUt','attemptUnlock','.\x20Is\x20Locked:\x20','unlockItemOrSolution','logger','isLockable','write','78430FAOHJX','getInstance','To\x20','roomA','name','apply','1433973OFKSOP'];a44c=function(){return o;};return a44c();}(function(a,b){var f=a44d,c=a();while(!![]){try{var d=parseInt(f(0x1ac))/0x1+parseInt(f(0x1a9))/0x2*(parseInt(f(0x1a8))/0x3)+-parseInt(f(0x1ad))/0x4*(-parseInt(f(0x1ab))/0x5)+parseInt(f(0x1bc))/0x6+parseInt(f(0x1b6))/0x7*(-parseInt(f(0x1b7))/0x8)+-parseInt(f(0x1b0))/0x9+parseInt(f(0x1a2))/0xa*(-parseInt(f(0x1bb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x693c6));var a44b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a44d;if(c){var e=c[g(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){var h=a44d;return a44a['toString']()[h(0x1aa)](h(0x1b1))['toString']()['constructor'](a44a)[h(0x1aa)](h(0x1b1));});a44a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a44i(0x1a5)];[a44i(0x1b3)];['isLocked'];[a44i(0x19e)];[a44i(0x1a6)];['logger'];[a44i(0x1a0)];constructor(a){var j=a44i;super(),this[j(0x1a5)]=a[j(0x1a5)],this[j(0x1b3)]=a['roomB'],this[j(0x1b5)]=a['isLocked']||![],this[j(0x19e)]=a[j(0x19e)],this['name']=a[j(0x1a6)]?capitalCase(a[j(0x1a6)]):j(0x1a4)+a[j(0x1b3)][j(0x1a6)],this[j(0x19f)]=Logger[j(0x1a3)](),this[j(0x1a0)]=!!a['unlockItemOrSolution'],this['logger'][j(0x1a1)](j(0x1b8)+this[j(0x1a5)][j(0x1a6)]+j(0x1b9)+this['roomB']['name']+j(0x19d)+this[j(0x1b5)]);}[a44i(0x1b4)](a){var k=a44i;return this[k(0x1a5)]===a?this[k(0x1b3)]:this[k(0x1a5)];}[a44i(0x19c)](a){var l=a44i;if(this[l(0x1b5)]&&this['unlockItemOrSolution']&&this[l(0x19e)]===a)return this[l(0x1b5)]=![],this[l(0x19f)][l(0x1a1)]('Door\x20unlocked:\x20'+this[l(0x1a6)]+l(0x1ae)+a),!![];return this[l(0x19f)][l(0x1a1)](l(0x1b2)+this[l(0x1a6)]+l(0x1ae)+a),![];}[a44i(0x1af)](){var m=a44i;return this[m(0x1b5)];}[a44i(0x1ba)](){var n=a44i;return this[n(0x1a0)];}}
@@ -1 +1 @@
1
- const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x121))/0x1*(parseInt(f(0x119))/0x2)+parseInt(f(0x10b))/0x3+parseInt(f(0x112))/0x4*(parseInt(f(0x106))/0x5)+-parseInt(f(0x101))/0x6*(parseInt(f(0xfe))/0x7)+-parseInt(f(0x128))/0x8*(-parseInt(f(0x103))/0x9)+-parseInt(f(0x11d))/0xa*(-parseInt(f(0x114))/0xb)+parseInt(f(0x10e))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xb5457));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x118)]()['search'](h(0x117))[h(0x118)]()[h(0x124)](a45a)['search'](h(0x117));});a45a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a45i(0x126)];[a45i(0x100)];constructor(){const j=a45i;super(),this[j(0x126)]=new Map(),this[j(0x100)]=Logger[j(0x11f)]();}[a45i(0x102)](a){const k=a45i;this['items'][k(0x115)](a[k(0x107)][k(0x10c)](),a),this[k(0x100)][k(0x110)](k(0x10f)+a[k(0x107)]+'\x20to\x20inventory.');}[a45i(0x120)](a){const l=a45i,b=this['getItem'](a);if(b)return this[l(0x126)]['delete'](a[l(0x10c)]()),this[l(0x100)]['write']('Removed\x20item:\x20'+a+l(0x122)),b;return this['logger'][l(0x110)](l(0x123)+a+l(0x113)),null;}[a45i(0x108)](a){const m=a45i,b=this[m(0x126)][m(0x109)](a[m(0x10c)]()),c=[...this[m(0x126)][m(0x11a)]()];return this[m(0x100)][m(0x110)]('Checked\x20for\x20item:\x20'+a+m(0x116)+c[m(0x105)](',\x20')+m(0x125)+b+'.'),b;}['getItem'](a){const n=a45i,b=this[n(0x126)]['get'](a['toLowerCase']())||null;return b?this[n(0x100)][n(0x110)](n(0x104)+a+'.'):this[n(0x100)][n(0x110)](n(0x11b)+a+n(0x113)),b;}[a45i(0x10d)](){const o=a45i,a=[...this[o(0x126)][o(0x11a)]()],b=a[o(0x11c)](c=>capitalCase(c));return this[o(0x100)][o(0x110)](o(0x111)+b[o(0x105)](',\x20')+'.'),a;}[a45i(0x127)](){const p=a45i;let a=0x0;for(const b of this['items'][p(0x10a)]()){a+=b['weight'];}return a;}[a45i(0xff)](){const q=a45i;return[...this['items'][q(0x10a)]()];}}function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xfe;let f=c[d];return f;},a45d(a,b);}function a45c(){const r=['.\x20Item\x20not\x20found.','22umxtzk','set','\x20in\x20','(((.+)+)+)+$','toString','398HQlOGw','keys','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','map','3972410JZOfoq','apply','getInstance','removeItem','4817eDHFJJ','\x20from\x20inventory.','Failed\x20to\x20remove\x20item:\x20','constructor','.\x20Exists:\x20','items','getWeight','94056eKPBwp','213577VLZhob','getAllItems','logger','240vwOyTt','addItem','45xKtMiY','Retrieved\x20details\x20for\x20item:\x20','join','32290mVyNeo','name','hasItem','has','values','1541706pXsBzk','toLowerCase','listItems','2455428EHlWQj','Added\x20item:\x20','write','Listed\x20items\x20in\x20inventory:\x20','836YXranO'];a45c=function(){return r;};return a45c();}
1
+ function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xbd;let f=c[d];return f;},a45d(a,b);}function a45c(){const r=['Listed\x20items\x20in\x20inventory:\x20','.\x20Item\x20not\x20found.','261153PVGIVD','56TQivwr','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','get','has','(((.+)+)+)+$','weight','50037FPYlhK','map','addItem','values','26870Mtngrq','Failed\x20to\x20remove\x20item:\x20','Retrieved\x20details\x20for\x20item:\x20','join','\x20from\x20inventory.','Added\x20item:\x20','search','.\x20Exists:\x20','211505UqubMn','490104NCLcYU','keys','toString','apply','hasItem','2948DeUbez','getInstance','152spsNJh','Checked\x20for\x20item:\x20','constructor','toLowerCase','\x20in\x20','getAllItems','delete','Removed\x20item:\x20','getItem','12mcppDG','write','1056380ZyNSJt','23262SaZxSc','set','logger','items','name'];a45c=function(){return r;};return a45c();}const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0xd6))/0x1+-parseInt(f(0xe3))/0x2+parseInt(f(0xc8))/0x3*(-parseInt(f(0xea))/0x4)+-parseInt(f(0xc7))/0x5+-parseInt(f(0xc5))/0x6*(parseInt(f(0xe2))/0x7)+parseInt(f(0xd0))/0x8*(parseInt(f(0xcf))/0x9)+-parseInt(f(0xda))/0xa*(-parseInt(f(0xe8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x27846));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0xe5)]()[h(0xe0)](h(0xd4))['toString']()[h(0xbe)](a45a)[h(0xe0)](h(0xd4));});a45a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a45i(0xca)];constructor(){const j=a45i;super(),this[j(0xcb)]=new Map(),this['logger']=Logger[j(0xe9)]();}[a45i(0xd8)](a){const k=a45i;this[k(0xcb)][k(0xc9)](a[k(0xcc)]['toLowerCase'](),a),this[k(0xca)]['write'](k(0xdf)+a[k(0xcc)]+'\x20to\x20inventory.');}['removeItem'](a){const l=a45i,b=this[l(0xc4)](a);if(b)return this[l(0xcb)][l(0xc2)](a[l(0xbf)]()),this['logger'][l(0xc6)](l(0xc3)+a+l(0xde)),b;return this['logger']['write'](l(0xdb)+a+l(0xce)),null;}[a45i(0xe7)](a){const m=a45i,b=this[m(0xcb)][m(0xd3)](a['toLowerCase']()),c=[...this[m(0xcb)][m(0xe4)]()];return this['logger'][m(0xc6)](m(0xbd)+a+m(0xc0)+c[m(0xdd)](',\x20')+m(0xe1)+b+'.'),b;}[a45i(0xc4)](a){const n=a45i,b=this['items'][n(0xd2)](a[n(0xbf)]())||null;return b?this['logger'][n(0xc6)](n(0xdc)+a+'.'):this[n(0xca)][n(0xc6)](n(0xd1)+a+n(0xce)),b;}['listItems'](){const o=a45i,a=[...this[o(0xcb)]['keys']()],b=a[o(0xd7)](c=>capitalCase(c));return this[o(0xca)]['write'](o(0xcd)+b[o(0xdd)](',\x20')+'.'),a;}['getWeight'](){const p=a45i;let a=0x0;for(const b of this[p(0xcb)][p(0xd9)]()){a+=b[p(0xd5)];}return a;}[a45i(0xc1)](){const q=a45i;return[...this[q(0xcb)][q(0xd9)]()];}}
@@ -1 +1 @@
1
- var a46i=a46d;function a46c(){var l=['11372976wSetxU','uuid','toString','25361Hnrfgw','233929uWlnmU','apply','name','62073730rGxHcN','rating','565257dCPsCi','You\x20use\x20the\x20','size','use','(((.+)+)+)+$','shape','2826PNyOkh','8890995TDFLrG','category','.\x20Nothing\x20special\x20happens.','4546287oWsRWE','32jVXYHh','description','2VlLSOn','color','texture','constructor'];a46c=function(){return l;};return a46c();}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x117))/0x1*(parseInt(f(0x10f))/0x2)+parseInt(f(0x11c))/0x3*(parseInt(f(0x10d))/0x4)+parseInt(f(0x123))/0x5+parseInt(f(0x122))/0x6*(parseInt(f(0x116))/0x7)+parseInt(f(0x113))/0x8+parseInt(f(0x126))/0x9+-parseInt(f(0x11a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xe6c99));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x115)]()['search'](h(0x120))['toString']()[h(0x112)](a46a)['search'](h(0x120));});a46a();import{v4 as a46e}from'uuid';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x10d;var f=c[d];return f;},a46d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a46i(0x114)];['name'];[a46i(0x10e)];[a46i(0x11e)];[a46i(0x124)];[a46i(0x121)];[a46i(0x110)];[a46i(0x111)];[a46i(0x11b)];['weight'];constructor(a){var j=a46i;super(),this[j(0x119)]=a[j(0x119)],this[j(0x10e)]=a[j(0x10e)],this[j(0x11e)]=a[j(0x11e)],this['category']=a[j(0x124)],this['shape']=a[j(0x121)],this[j(0x110)]=a[j(0x110)],this['texture']=a['texture'],this['rating']=a['rating'],this['weight']=a['weight'],this[j(0x114)]=a46e();}[a46i(0x11f)](){var k=a46i;return k(0x11d)+this[k(0x119)]+k(0x125);}}
1
+ var a46i=a46d;function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xb6;var f=c[d];return f;},a46d(a,b);}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0xc3))/0x1*(parseInt(f(0xbf))/0x2)+parseInt(f(0xc9))/0x3*(parseInt(f(0xba))/0x4)+-parseInt(f(0xcc))/0x5+parseInt(f(0xcf))/0x6+parseInt(f(0xb8))/0x7*(parseInt(f(0xc4))/0x8)+parseInt(f(0xcd))/0x9*(parseInt(f(0xd0))/0xa)+-parseInt(f(0xc6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x80386));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()['search']('(((.+)+)+)+$')[h(0xc1)]()['constructor'](a46a)[h(0xbd)](h(0xca));});function a46c(){var l=['apply','18836268ZVqQBB','shape','color','9DBxlap','(((.+)+)+)+$','size','3139510ljtdxi','41319OyJXsb','You\x20use\x20the\x20','3649632TueKVH','1010fVtzkV','rating','.\x20Nothing\x20special\x20happens.','7iYCyAo','category','949036luZzoO','uuid','name','search','texture','892318CBZxAT','weight','toString','description','1hWhTIE','5084648YeYDgQ'];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(0xbb)];[a46i(0xbc)];[a46i(0xc2)];[a46i(0xcb)];[a46i(0xb9)];[a46i(0xc7)];['color'];['texture'];['rating'];[a46i(0xc0)];constructor(a){var j=a46i;super(),this['name']=a[j(0xbc)],this[j(0xc2)]=a['description'],this[j(0xcb)]=a['size'],this[j(0xb9)]=a['category'],this[j(0xc7)]=a[j(0xc7)],this[j(0xc8)]=a[j(0xc8)],this[j(0xbe)]=a[j(0xbe)],this[j(0xb6)]=a[j(0xb6)],this[j(0xc0)]=a[j(0xc0)],this[j(0xbb)]=a46e();}['use'](){var k=a46i;return k(0xce)+this[k(0xbc)]+k(0xb7);}}
@@ -1 +1 @@
1
- function a47c(){const n=['moveTo','constructor','random','search','(((.+)+)+)+$','scene','279TiLvhB','length','566790BHLjAt','speak','15XykGWF','rooms','53194rFaNbX','execute','3115275yHdZac','287pIfWWj','_name','autonomousMove','name','203152RcxWGp','_dialogue','1108162zaztHh','65372oaIRsm','264kgTZuG','toString','149934HbdsIb','floor','apply'];a47c=function(){return n;};return a47c();}const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x91))/0x1+-parseInt(f(0x88))/0x2+parseInt(f(0x86))/0x3*(parseInt(f(0x92))/0x4)+parseInt(f(0x8a))/0x5+parseInt(f(0x95))/0x6*(-parseInt(f(0x8b))/0x7)+-parseInt(f(0x8f))/0x8*(-parseInt(f(0x82))/0x9)+parseInt(f(0x84))/0xa*(parseInt(f(0x93))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xa92ec));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x97)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x94)]()[h(0x7f)](h(0x80))[h(0x94)]()[h(0x99)](a47a)[h(0x7f)]('(((.+)+)+)+$');});a47a();function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x7e;let f=c[d];return f;},a47d(a,b);}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a47i(0x8c)];['_dialogue'];[a47i(0x87)];['scene'];constructor(a,b,c,d){const j=a47i;super(d),this[j(0x8c)]=a,this[j(0x90)]=b,this[j(0x87)]=c;}get[a47i(0x8e)](){return this['_name'];}[a47i(0x85)](){const k=a47i;return this[k(0x90)][Math['floor'](Math[k(0x7e)]()*this[k(0x90)][k(0x83)])];}[a47i(0x8d)](a){const l=a47i,b=a[Math[l(0x96)](Math[l(0x7e)]()*a['length'])];this[l(0x98)](b[l(0x8e)]);}[a47i(0x98)](a){const m=a47i,b={'actor':this,'rooms':this['rooms'],'scene':this[m(0x81)]},c=new GoCommand(b);c[m(0x89)]([a]);}}
1
+ const a47i=a47d;function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xf4;let f=c[d];return f;},a47d(a,b);}(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x103))/0x1*(-parseInt(f(0xfe))/0x2)+-parseInt(f(0xf8))/0x3+-parseInt(f(0x102))/0x4+-parseInt(f(0x109))/0x5*(parseInt(f(0xff))/0x6)+-parseInt(f(0x104))/0x7+parseInt(f(0xf5))/0x8*(-parseInt(f(0xf9))/0x9)+parseInt(f(0xf7))/0xa*(parseInt(f(0xfb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x1d4be));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xfd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()[h(0x101)](h(0x100))[h(0xf4)]()[h(0x108)](a47a)[h(0x101)](h(0x100));});a47a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a47i(0x107)];['_dialogue'];[a47i(0x10a)];[a47i(0x10d)];constructor(a,b,c,d){const j=a47i;super(d),this['_name']=a,this[j(0xfa)]=b,this[j(0x10a)]=c;}get[a47i(0x105)](){const k=a47i;return this[k(0x107)];}['speak'](){const l=a47i;return this[l(0xfa)][Math[l(0x10e)](Math[l(0xfc)]()*this[l(0xfa)][l(0xf6)])];}[a47i(0x106)](a){const m=a47i,b=a[Math[m(0x10e)](Math['random']()*a['length'])];this['moveTo'](b[m(0x105)]);}[a47i(0x10c)](a){const n=a47i,b={'actor':this,'rooms':this[n(0x10a)],'scene':this['scene']},c=new GoCommand(b);c[n(0x10b)]([a]);}}function a47c(){const o=['toString','634320nGKWWe','length','298460kEfDmD','432033VJqjWp','9GNuWxU','_dialogue','363HTGNFX','random','apply','6toWtBr','6aVcFOv','(((.+)+)+)+$','search','693104hsXVTU','64569AufjWU','743281DBaqDz','name','autonomousMove','_name','constructor','842265SVItIm','rooms','execute','moveTo','scene','floor'];a47c=function(){return o;};return a47c();}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x10e))/0x1+-parseInt(f(0x14d))/0x2*(parseInt(f(0x109))/0x3)+-parseInt(f(0x10b))/0x4*(-parseInt(f(0x119))/0x5)+parseInt(f(0x140))/0x6+parseInt(f(0x120))/0x7+-parseInt(f(0x11f))/0x8*(-parseInt(f(0x159))/0x9)+-parseInt(f(0x14b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x20a71));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x11b)]()[h(0x12d)](h(0x15d))[h(0x11b)]()[h(0x129)](a48a)['search']('(((.+)+)+)+$');});a48a();import{camelCase}from'change-case';function a48c(){const A=['\x20is\x20now\x20listening\x20in\x20room\x20','maxCarryingWeight','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','armarmor','Weapon','leg\x20armor','currentLocation','leaveRoom','error','body\x20armor','_playerName','811578eGCoye','addInventory','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','apply','equipment','You\x20equipped\x20','Added\x20','leftHand','inventoryItems','log','write','3632830fUqqyg','category','2gIzoBS','arm\x20armor','unequip','Gloves','weapon','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','enterRoom','Hat','head','startLocation','canEquip','hasItem','1202031vniIsX','removeItem','Removed\x20','getWeight','(((.+)+)+)+$','name','logger','currentWeight','bind','194937HVYpnc','removeInventory','16FbDsSZ','hear','weight','81057TWevpt','Invalid\x20category\x20or\x20slot:\x20','\x20is\x20no\x20longer\x20listeng\x20in\x20','A\x20featureless\x20room','Max\x20carrying\x20weight\x20must\x20be\x20positive.','initialEquipment','arms','shield','_inventory','gloves','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','71035ujhyOj','_maxCarryingWeight','toString','unequipBySlot','determineEquipmentSlot','Boots','8mztIUj','1087100FewWMq','_currentLocation','toLowerCase','off','legarmor','legs','rightHand','addItem','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','constructor','You\x20unequipped\x20','_equipment','torso','search','You\x20don\x27t\x20have\x20','values','\x20from\x20player\x27s\x20inventory.','Nexus','boots','hat','speak'];a48c=function(){return A;};return a48c();}function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x109;let f=c[d];return f;},a48d(a,b);}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{[a48i(0x13f)];[a48i(0x121)];[a48i(0x116)];['_equipment'];[a48i(0x11a)]=0x32;[a48i(0x15f)];constructor(a){const j=a48i;super(),this[j(0x13f)]=a['playerName'],this[j(0x121)]=a[j(0x156)]||new Room({'name':j(0x131),'description':j(0x111)}),this['_inventory']=new Inventory(),this[j(0x15f)]=Logger['getInstance']();if(a?.['inventoryItems'])for(const b of a[j(0x148)]){this['_inventory'][j(0x127)](b);}this[j(0x12b)]=a?.[j(0x113)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a48i(0x15e)](){const k=a48i;return this[k(0x13f)];}get[a48i(0x13b)](){const l=a48i;return this[l(0x121)];}set[a48i(0x13b)](a){const m=a48i;this[m(0x121)]!==a&&(this[m(0x13c)](),this[m(0x153)](a)),this[m(0x121)]=a;}get['inventory'](){return this['_inventory'];}get['equipment'](){return this['_equipment'];}set[a48i(0x144)](a){const n=a48i;this[n(0x12b)]=a;}get[a48i(0x136)](){return this['_maxCarryingWeight'];}set['maxCarryingWeight'](a){const o=a48i;a>0x0?this[o(0x11a)]=a:console[o(0x13d)](o(0x112));}get[a48i(0x160)](){const p=a48i;let a=this[p(0x116)][p(0x15c)]();for(const b in this[p(0x12b)]){const c=this[p(0x12b)][b];c&&(a+=c[p(0x10d)]);}return a;}[a48i(0x141)](a){const q=a48i;if(this[q(0x160)]+a[q(0x10d)]>this[q(0x136)]){this[q(0x15f)][q(0x14a)](q(0x137));throw new Error(q(0x118));}this[q(0x116)]['addItem'](a),this[q(0x15f)][q(0x14a)](q(0x146)+a['name']+'\x20to\x20player\x27s\x20inventory.');}[a48i(0x10a)](a){const r=a48i;if(this['_inventory'][r(0x15a)](a[r(0x15e)]))return this[r(0x15f)][r(0x14a)](r(0x15b)+a['name']+r(0x130)),!![];return this[r(0x15f)][r(0x14a)]('Failed\x20to\x20remove\x20'+a['name']+r(0x130)),![];}['equip'](a){const s=a48i;if(!this[s(0x116)][s(0x158)](a[s(0x15e)]))return s(0x12e)+a[s(0x15e)]+'\x20in\x20your\x20inventory.';if(!this[s(0x157)](a))return'You\x20can\x27t\x20equip\x20'+a['name']+'.';const b=this[s(0x11d)](a[s(0x14c)]);if(!b)return a[s(0x15e)]+s(0x128);if(this['equipment'][b])return s(0x142)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[s(0x144)][b]=a,this[s(0x10a)](a),s(0x145)+a[s(0x15e)]+'.';}[a48i(0x14f)](a){const t=a48i;let b=a;if(!this[t(0x144)][camelCase(b)]){b=this[t(0x11d)](a);if(!b)return t(0x10f)+a+'.';}return this[t(0x11c)](b);}['determineEquipmentSlot'](a){const u=a48i;switch(a[u(0x122)]()){case Category[u(0x139)][u(0x122)]():return u(0x126);case Category['Shield']['toLowerCase']():return u(0x147);case Category[u(0x150)][u(0x122)]():return u(0x117);case Category['Helmet']['toLowerCase']():case Category[u(0x154)]['toLowerCase']():return u(0x155);case Category[u(0x11e)][u(0x122)]():return'feet';case Category['LegArmor'][u(0x122)]():return'legs';case Category['ArmArmor'][u(0x122)]():return u(0x114);case Category['BodyArmor']['toLowerCase']():return u(0x12c);case u(0x151):return u(0x126);case u(0x115):return u(0x147);case'gloves':return'gloves';case'helmet':case u(0x133):return u(0x155);case u(0x132):return'feet';case u(0x13a):case u(0x124):return u(0x125);case u(0x14e):case u(0x138):return'arms';case u(0x13e):case'bodyarmor':case u(0x12c):return u(0x12c);default:return null;}}['canEquip'](a){const v=a48i;return Object[v(0x12f)](Category)['includes'](a[v(0x14c)]);}[a48i(0x11c)](a){const w=a48i,b=this[w(0x144)][a];if(!b)return w(0x152)+a+'\x20slot.';return this[w(0x141)](b),this[w(0x144)][a]=null,w(0x12a)+b[w(0x15e)]+'.';}['hear'](a,b){const x=a48i;a!==this&&this['logger'][x(0x149)](a[x(0x15e)]+'\x20says:\x20\x22'+b+'\x22');}[a48i(0x153)](a){const y=a48i;this['_currentLocation']=a,a['on']('speak',this[y(0x10c)][y(0x161)](this)),this[y(0x15f)][y(0x14a)](this['name']+y(0x135)+a[y(0x15e)]);}[a48i(0x13c)](){const z=a48i;this[z(0x121)]&&(this[z(0x121)][z(0x123)](z(0x134),this[z(0x10c)][z(0x161)](this)),this['logger'][z(0x14a)](this[z(0x15e)]+z(0x110)+this[z(0x121)]['name']));}}
1
+ const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x1f0))/0x1+parseInt(f(0x1e9))/0x2*(parseInt(f(0x19d))/0x3)+-parseInt(f(0x1f4))/0x4+parseInt(f(0x1d8))/0x5*(parseInt(f(0x1f1))/0x6)+parseInt(f(0x1ec))/0x7+-parseInt(f(0x1f2))/0x8+-parseInt(f(0x1ea))/0x9*(parseInt(f(0x1c1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x36a56));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a['toString']()['search'](h(0x1a7))[h(0x1bf)]()[h(0x1a2)](a48a)['search'](h(0x1a7));});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';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x197;let f=c[d];return f;},a48d(a,b);}import{AbstractPlayer}from'../types/abstracts.js';function a48c(){const D=['_currentLocation','leaveRoom','bind','LegArmor','name','ArmArmor','bodyarmor','removeInventory','\x20to\x20player\x27s\x20inventory.','playerName','body\x20armor','leftHand','determineEquipmentSlot','Gloves','BodyArmor','140605uNXoRr','equipment','addInventory','Weapon','\x20in\x20your\x20inventory.','\x20is\x20now\x20listening\x20in\x20room\x20','You\x20can\x27t\x20equip\x20','Helmet','addItem','You\x20don\x27t\x20have\x20','enterRoom','Max\x20carrying\x20weight\x20must\x20be\x20positive.','\x20from\x20player\x27s\x20inventory.','weight','write','values','helmet','10654Agjeig','2915982IbMAXz','.\x20You\x20must\x20unequip\x20it\x20first.','2792167mTxgSW','rightHand','hasItem','includes','412674qiNlKw','90dDzEHl','2472640iBKBsK','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','316396wYXgov','toLowerCase','Shield','inventoryItems','You\x20unequipped\x20','\x20is\x20no\x20longer\x20listeng\x20in\x20','unequip','15lxyGLF','unequipBySlot','Added\x20','gloves','maxCarryingWeight','constructor','\x20slot.','head','boots','Removed\x20','(((.+)+)+)+$','Invalid\x20category\x20or\x20slot:\x20','weapon','currentWeight','_inventory','torso','category','hear','initialEquipment','legs','shield','getWeight','_equipment','startLocation','arms','getInstance','canEquip','currentLocation','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','error','Boots','leg\x20armor','speak','_maxCarryingWeight','toString','Hat','20DQygJS','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','feet','logger','legarmor','apply','equip','_playerName'];a48c=function(){return D;};return a48c();}export class Player extends AbstractPlayer{[a48i(0x1c8)];[a48i(0x1c9)];[a48i(0x1ab)];['_equipment'];[a48i(0x1be)]=0x32;[a48i(0x1c4)];constructor(a){const j=a48i;super(),this[j(0x1c8)]=a[j(0x1d2)],this[j(0x1c9)]=a[j(0x1b4)]||new Room({'name':'Nexus','description':'A\x20featureless\x20room'}),this[j(0x1ab)]=new Inventory(),this[j(0x1c4)]=Logger[j(0x1b6)]();if(a?.[j(0x199)])for(const b of a[j(0x199)]){this[j(0x1ab)][j(0x1e0)](b);}this[j(0x1b3)]=a?.[j(0x1af)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a48i(0x1cd)](){const k=a48i;return this[k(0x1c8)];}get['currentLocation'](){const l=a48i;return this[l(0x1c9)];}set[a48i(0x1b8)](a){const m=a48i;this[m(0x1c9)]!==a&&(this['leaveRoom'](),this[m(0x1e2)](a)),this['_currentLocation']=a;}get['inventory'](){const n=a48i;return this[n(0x1ab)];}get[a48i(0x1d9)](){const o=a48i;return this[o(0x1b3)];}set[a48i(0x1d9)](a){const p=a48i;this[p(0x1b3)]=a;}get['maxCarryingWeight'](){const q=a48i;return this[q(0x1be)];}set['maxCarryingWeight'](a){const r=a48i;a>0x0?this[r(0x1be)]=a:console[r(0x1ba)](r(0x1e3));}get['currentWeight'](){const s=a48i;let a=this['_inventory'][s(0x1b2)]();for(const b in this[s(0x1b3)]){const c=this[s(0x1b3)][b];c&&(a+=c['weight']);}return a;}['addInventory'](a){const t=a48i;if(this[t(0x1aa)]+a[t(0x1e5)]>this[t(0x1a1)]){this[t(0x1c4)][t(0x1e6)](t(0x1b9));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[t(0x1ab)][t(0x1e0)](a),this[t(0x1c4)][t(0x1e6)](t(0x19f)+a['name']+t(0x1d1));}[a48i(0x1d0)](a){const u=a48i;if(this[u(0x1ab)]['removeItem'](a['name']))return this[u(0x1c4)]['write'](u(0x1a6)+a['name']+u(0x1e4)),!![];return this[u(0x1c4)][u(0x1e6)]('Failed\x20to\x20remove\x20'+a[u(0x1cd)]+u(0x1e4)),![];}[a48i(0x1c7)](a){const v=a48i;if(!this[v(0x1ab)][v(0x1ee)](a[v(0x1cd)]))return v(0x1e1)+a['name']+v(0x1dc);if(!this['canEquip'](a))return v(0x1de)+a[v(0x1cd)]+'.';const b=this[v(0x1d5)](a[v(0x1ad)]);if(!b)return a[v(0x1cd)]+v(0x1c2);if(this[v(0x1d9)][b])return v(0x1f3)+b+v(0x1eb);return this[v(0x1d9)][b]=a,this[v(0x1d0)](a),'You\x20equipped\x20'+a[v(0x1cd)]+'.';}[a48i(0x19c)](a){const w=a48i;let b=a;if(!this[w(0x1d9)][camelCase(b)]){b=this[w(0x1d5)](a);if(!b)return w(0x1a8)+a+'.';}return this[w(0x19e)](b);}['determineEquipmentSlot'](a){const x=a48i;switch(a[x(0x197)]()){case Category[x(0x1db)][x(0x197)]():return x(0x1ed);case Category[x(0x198)][x(0x197)]():return'leftHand';case Category[x(0x1d6)][x(0x197)]():return x(0x1a0);case Category[x(0x1df)][x(0x197)]():case Category[x(0x1c0)][x(0x197)]():return x(0x1a4);case Category[x(0x1bb)][x(0x197)]():return x(0x1c3);case Category[x(0x1cc)][x(0x197)]():return x(0x1b0);case Category[x(0x1ce)]['toLowerCase']():return x(0x1b5);case Category[x(0x1d7)][x(0x197)]():return x(0x1ac);case x(0x1a9):return x(0x1ed);case x(0x1b1):return x(0x1d4);case'gloves':return'gloves';case x(0x1e8):case'hat':return x(0x1a4);case x(0x1a5):return x(0x1c3);case x(0x1bc):case x(0x1c5):return'legs';case'arm\x20armor':case'armarmor':return x(0x1b5);case x(0x1d3):case x(0x1cf):case x(0x1ac):return x(0x1ac);default:return null;}}[a48i(0x1b7)](a){const y=a48i;return Object[y(0x1e7)](Category)[y(0x1ef)](a[y(0x1ad)]);}['unequipBySlot'](a){const z=a48i,b=this[z(0x1d9)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+z(0x1a3);return this[z(0x1da)](b),this[z(0x1d9)][a]=null,z(0x19a)+b[z(0x1cd)]+'.';}['hear'](a,b){const A=a48i;a!==this&&this[A(0x1c4)]['log'](a['name']+'\x20says:\x20\x22'+b+'\x22');}[a48i(0x1e2)](a){const B=a48i;this['_currentLocation']=a,a['on'](B(0x1bd),this[B(0x1ae)][B(0x1cb)](this)),this[B(0x1c4)][B(0x1e6)](this[B(0x1cd)]+B(0x1dd)+a[B(0x1cd)]);}[a48i(0x1ca)](){const C=a48i;this['_currentLocation']&&(this[C(0x1c9)]['off']('speak',this['hear'][C(0x1cb)](this)),this[C(0x1c4)][C(0x1e6)](this[C(0x1cd)]+C(0x19b)+this[C(0x1c9)]['name']));}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0xff))/0x1+parseInt(f(0xe4))/0x2+parseInt(f(0xe3))/0x3+parseInt(f(0xeb))/0x4*(-parseInt(f(0xf7))/0x5)+parseInt(f(0x103))/0x6*(-parseInt(f(0x100))/0x7)+-parseInt(f(0xfe))/0x8*(-parseInt(f(0xf2))/0x9)+parseInt(f(0xe5))/0xa*(parseInt(f(0xfb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x3cf61));function a49c(){var m=['requiredItem','(((.+)+)+)+$','You\x20have\x20already\x20solved\x20this\x20puzzle.','search','1096dCdLLE','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','constructor','solved','logger','matchesRequiredPhrase','You\x20solved\x20the\x20puzzle!','427824iyBRwH','failureMessage','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','apply','write','25IyNWIV','getInstance','requiredPhrase','solve','11XoLdOP','toString','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','8QihhZA','329005KOKrUS','1516095sJxASl','successMessage','riddle','6WZhbZm','rewardItem','517137tAxdYs','340410UHHPAe','4065370RcTaNP','Puzzle:\x20Correct\x20solution\x20provided.'];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(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0xfc)]()['search'](h(0xe8))['toString']()[h(0xed)](a49a)[h(0xea)]('(((.+)+)+)+$');});a49a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xe2;var f=c[d];return f;},a49d(a,b);}export class Puzzle extends AbstractPuzzle{['logger']=Logger[a49i(0xf8)]();[a49i(0xee)]=![];[a49i(0xe7)];[a49i(0xf9)];[a49i(0x102)];[a49i(0xe2)];[a49i(0x101)];[a49i(0xf3)];constructor(a){var j=a49i;super(),this[j(0xe7)]=a[j(0xe7)],this[j(0xf9)]=a[j(0xf9)],this[j(0x102)]=a['riddle'],this[j(0xe2)]=a[j(0xe2)],this['successMessage']=a[j(0x101)]||j(0xf1),this[j(0xf3)]=a[j(0xf3)]||j(0xfd);}['hasRequiredItem'](a){var k=a49i;if(this[k(0xe7)])return a['hasItem'](this['requiredItem']);return![];}['matchesRequiredPhrase'](a){return this['requiredPhrase']===a;}[a49i(0xfa)](a,b){var l=a49i;if(this[l(0xee)])return this[l(0xef)]['write'](l(0xec)),{'success':![],'message':l(0xe9)};return this['hasRequiredItem'](b)||this[l(0xf0)](a)?(this['solved']=!![],this[l(0xef)]['write'](l(0xe6)),{'success':!![],'message':this[l(0x101)]}):(this[l(0xef)][l(0xf6)](l(0xf4)),{'success':![],'message':this['failureMessage']});}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1c4))/0x1*(parseInt(f(0x1bf))/0x2)+parseInt(f(0x1d0))/0x3*(-parseInt(f(0x1cd))/0x4)+-parseInt(f(0x1ce))/0x5+parseInt(f(0x1d8))/0x6+parseInt(f(0x1c6))/0x7+-parseInt(f(0x1d4))/0x8*(-parseInt(f(0x1c9))/0x9)+parseInt(f(0x1dd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x34352));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1d9)]()[h(0x1cb)](h(0x1de))[h(0x1d9)]()[h(0x1d1)](a49a)[h(0x1cb)](h(0x1de));});function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1bf;var f=c[d];return f;},a49d(a,b);}a49a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a49c(){var n=['constructor','You\x20have\x20already\x20solved\x20this\x20puzzle.','solved','59928tPGlKm','requiredPhrase','rewardItem','write','2243514rXCkth','toString','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','requiredItem','logger','2260100UiqrrP','(((.+)+)+)+$','6658mDgwpn','failureMessage','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','hasRequiredItem','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','54klVguI','solve','834204EDQypV','apply','riddle','81HOVyXx','Puzzle:\x20Correct\x20solution\x20provided.','search','hasItem','1952AKlzCt','1947480sKLLrd','successMessage','21rLtjNZ'];a49c=function(){return n;};return a49c();}export class Puzzle extends AbstractPuzzle{['logger']=Logger['getInstance']();['solved']=![];[a49i(0x1db)];[a49i(0x1d5)];[a49i(0x1c8)];[a49i(0x1d6)];[a49i(0x1cf)];[a49i(0x1c0)];constructor(a){var j=a49i;super(),this['requiredItem']=a['requiredItem'],this[j(0x1d5)]=a[j(0x1d5)],this[j(0x1c8)]=a[j(0x1c8)],this[j(0x1d6)]=a[j(0x1d6)],this[j(0x1cf)]=a[j(0x1cf)]||'You\x20solved\x20the\x20puzzle!',this['failureMessage']=a[j(0x1c0)]||j(0x1da);}[a49i(0x1c2)](a){var k=a49i;if(this['requiredItem'])return a[k(0x1cc)](this[k(0x1db)]);return![];}['matchesRequiredPhrase'](a){var l=a49i;return this[l(0x1d5)]===a;}[a49i(0x1c5)](a,b){var m=a49i;if(this[m(0x1d3)])return this['logger'][m(0x1d7)](m(0x1c1)),{'success':![],'message':m(0x1d2)};return this[m(0x1c2)](b)||this['matchesRequiredPhrase'](a)?(this[m(0x1d3)]=!![],this[m(0x1dc)][m(0x1d7)](m(0x1ca)),{'success':!![],'message':this['successMessage']}):(this[m(0x1dc)][m(0x1d7)](m(0x1c3)),{'success':![],'message':this[m(0x1c0)]});}}
@@ -1 +1 @@
1
- const a50h=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x102))/0x1*(parseInt(f(0x116))/0x2)+-parseInt(f(0x114))/0x3*(parseInt(f(0x131))/0x4)+parseInt(f(0x139))/0x5*(-parseInt(f(0x12a))/0x6)+parseInt(f(0x11d))/0x7+parseInt(f(0x130))/0x8+parseInt(f(0x132))/0x9*(-parseInt(f(0x112))/0xa)+parseInt(f(0x123))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x58701));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xff;let f=c[d];return f;},a50d(a,b);}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const g=a50d;return a50a[g(0x117)]()[g(0x13c)](g(0x134))['toString']()['constructor'](a50a)[g(0x13c)](g(0x134));});a50a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a50c(){const t=['emit','6fWzaWL','isStartRoom','write','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','DOWN','Item\x20added\x20to\x20room\x20','3288808FQLaHd','44oPucmj','9mZedxh','addExit','(((.+)+)+)+$','hasItem','logger','down','get','2197885KdxPZx','puzzle','Fetching\x20exit\x20in\x20direction:\x20','search','west','Room\x20created:\x20','Puzzle\x20set\x20for\x20room\x20','The\x20','description','90947tkxmXL','Item\x20removed\x20from\x20room\x20','findExistingDoor','INSIDE','roomType','attemptUnlock','isExitLocked','\x20unlocked!','speak','NORTH','values','say','getOppositeDirection','removeItem','\x20is\x20locked.\x20Result:\x20','WEST','6964520HGyDIQ','riddle','27963ckbsJH','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','6CaSUGm','toString','getExit','exits','roomB','name','checkIfLocked','526001wCOMsp','inventory','addItem','Invalid\x20direction:\x20','east','EAST','15261378aFbqoN','setPuzzle','roomA','Checking\x20if\x20exit\x20in\x20direction\x20','\x20remains\x20locked.','.\x20Success:\x20'];a50c=function(){return t;};return a50c();}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a50h(0x136)]=Logger['getInstance']();[a50h(0x11b)];[a50h(0x101)];[a50h(0x119)]=new Map();['roomType'];['isStartRoom'];[a50h(0x11e)]=new Inventory();constructor(a){const i=a50h;super(),this['name']=a[i(0x11b)],this[i(0x101)]=a['description'],this[i(0x106)]=a[i(0x106)]||RoomType[i(0x105)],a['exits']&&(this[i(0x119)]=a[i(0x119)]||new Map()),a[i(0x11e)]&&(this[i(0x11e)]=a[i(0x11e)]),a[i(0x13a)]&&(this[i(0x13a)]=a['puzzle']),this['isStartRoom']=a[i(0x12b)]||![],this[i(0x136)][i(0x12c)](i(0x13e)+this[i(0x11b)]);}[a50h(0x10d)](a,b){const j=a50h;this[j(0x129)](j(0x10a),a,b);}[a50h(0x133)](a,b,c){const k=a50h;let d=this[k(0x104)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0x119)]['set'](a,d),b['exits']['set'](this[k(0x10e)](a),d);}['attemptUnlockExit'](a,b){const l=a50h,c=this['exits'][l(0x138)](a);if(c instanceof Door){const d=c[l(0x107)](b);return this[l(0x136)][l(0x12c)](l(0x115)+a+l(0x128)+d),d?l(0x100)+c['name']+l(0x109):l(0x100)+c['name']+l(0x127);}return this[l(0x136)][l(0x12c)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a50h(0x118)](a){const m=a50h;return this[m(0x136)][m(0x12c)](m(0x13b)+a),this['exits'][m(0x138)](a);}[a50h(0x108)](a){const n=a50h,b=this['exits'][n(0x138)](a),c=b instanceof Door&&b[n(0x11c)]();return this['logger'][n(0x12c)](n(0x126)+a+n(0x110)+c),c;}[a50h(0x11f)](a){const o=a50h;this['inventory'][o(0x11f)](a),this[o(0x136)][o(0x12c)](o(0x12f)+this[o(0x11b)]+':\x20'+a['name']);}['removeItem'](a){const p=a50h;this[p(0x11e)][p(0x135)](a[p(0x11b)])?(this[p(0x11e)][p(0x10f)](a['name']),this['logger'][p(0x12c)](p(0x103)+this['name']+':\x20'+a[p(0x11b)])):this[p(0x136)][p(0x12c)](p(0x12d)+this[p(0x11b)]+':\x20'+a[p(0x11b)]);}[a50h(0x124)](a){const q=a50h;this[q(0x13a)]=a,this['logger'][q(0x12c)](q(0xff)+this[q(0x11b)]+':\x20'+a[q(0x113)]);}['getOppositeDirection'](a){const r=a50h;switch(a){case'north':return Direction['SOUTH'];case'south':return Direction[r(0x10b)];case r(0x121):return Direction[r(0x111)];case r(0x13d):return Direction[r(0x122)];case'up':return Direction[r(0x12e)];case r(0x137):return Direction['UP'];default:throw new Error(r(0x120)+a);}}['findExistingDoor'](a){const s=a50h;for(const b of this[s(0x119)][s(0x10c)]()){if(b instanceof Door){if(b['roomA']===this&&b[s(0x11a)]===a||b[s(0x11a)]===this&&b[s(0x125)]===a)return b;}}return undefined;}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x143))/0x1+-parseInt(f(0x13b))/0x2*(parseInt(f(0x13d))/0x3)+-parseInt(f(0x147))/0x4+parseInt(f(0x133))/0x5*(-parseInt(f(0x14c))/0x6)+parseInt(f(0x145))/0x7+-parseInt(f(0x149))/0x8*(-parseInt(f(0x140))/0x9)+parseInt(f(0x13e))/0xa*(-parseInt(f(0x12e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xe8efc));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x136)]()[h(0x168)](h(0x13c))[h(0x136)]()[h(0x146)](a50a)[h(0x168)](h(0x13c));});a50a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';function a50c(){const u=['logger','16fSrYhB','speak','checkIfLocked','220488lVQQGd','attemptUnlock','.\x20Success:\x20','apply','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','north','setPuzzle','findExistingDoor','exits','addExit','puzzle','roomB','emit','attemptUnlockExit','SOUTH','WEST','riddle','say','inventory','EAST','Invalid\x20direction:\x20','getExit','getInstance','write','description','Checking\x20if\x20exit\x20in\x20direction\x20','get','search','west','south','getOppositeDirection','roomA','7447pVCTia','\x20unlocked!','east','name','roomType','5lDpsHh','hasItem','values','toString','isExitLocked','Item\x20added\x20to\x20room\x20','The\x20','Fetching\x20exit\x20in\x20direction:\x20','10916XdicPr','(((.+)+)+)+$','591yJOPZN','20730CbwYyp','Item\x20removed\x20from\x20room\x20','8033796mrLweb','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','addItem','1056124uLUoxR','NORTH','11839681hzgHmf','constructor','4253168ATKbKz'];a50c=function(){return u;};return a50c();}function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x12b;let f=c[d];return f;},a50d(a,b);}export class Room extends AbstractRoom{[a50i(0x148)]=Logger[a50i(0x163)]();[a50i(0x131)];[a50i(0x165)];['exits']=new Map();[a50i(0x132)];['isStartRoom'];[a50i(0x15f)]=new Inventory();constructor(a){const j=a50i;super(),this[j(0x131)]=a[j(0x131)],this[j(0x165)]=a[j(0x165)],this[j(0x132)]=a[j(0x132)]||RoomType['INSIDE'],a[j(0x155)]&&(this[j(0x155)]=a['exits']||new Map()),a[j(0x15f)]&&(this[j(0x15f)]=a[j(0x15f)]),a[j(0x157)]&&(this[j(0x157)]=a[j(0x157)]),this['isStartRoom']=a['isStartRoom']||![],this[j(0x148)][j(0x164)]('Room\x20created:\x20'+this[j(0x131)]);}[a50i(0x15e)](a,b){const k=a50i;this[k(0x159)](k(0x14a),a,b);}[a50i(0x156)](a,b,c){const l=a50i;let d=this[l(0x154)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits']['set'](a,d),b[l(0x155)]['set'](this[l(0x12c)](a),d);}[a50i(0x15a)](a,b){const m=a50i,c=this[m(0x155)][m(0x167)](a);if(c instanceof Door){const d=c[m(0x14d)](b);return this[m(0x148)][m(0x164)](m(0x151)+a+m(0x14e)+d),d?'The\x20'+c[m(0x131)]+m(0x12f):m(0x139)+c['name']+'\x20remains\x20locked.';}return this['logger'][m(0x164)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0x150);}[a50i(0x162)](a){const n=a50i;return this['logger'][n(0x164)](n(0x13a)+a),this[n(0x155)]['get'](a);}[a50i(0x137)](a){const o=a50i,b=this['exits']['get'](a),c=b instanceof Door&&b[o(0x14b)]();return this['logger'][o(0x164)](o(0x166)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a50i(0x142)](a){const p=a50i;this[p(0x15f)][p(0x142)](a),this[p(0x148)][p(0x164)](p(0x138)+this[p(0x131)]+':\x20'+a[p(0x131)]);}['removeItem'](a){const q=a50i;this[q(0x15f)][q(0x134)](a['name'])?(this['inventory']['removeItem'](a[q(0x131)]),this[q(0x148)][q(0x164)](q(0x13f)+this[q(0x131)]+':\x20'+a[q(0x131)])):this[q(0x148)][q(0x164)](q(0x141)+this[q(0x131)]+':\x20'+a[q(0x131)]);}[a50i(0x153)](a){const r=a50i;this[r(0x157)]=a,this[r(0x148)][r(0x164)]('Puzzle\x20set\x20for\x20room\x20'+this[r(0x131)]+':\x20'+a[r(0x15d)]);}['getOppositeDirection'](a){const s=a50i;switch(a){case s(0x152):return Direction[s(0x15b)];case s(0x12b):return Direction[s(0x144)];case s(0x130):return Direction[s(0x15c)];case s(0x169):return Direction[s(0x160)];case'up':return Direction['DOWN'];case'down':return Direction['UP'];default:throw new Error(s(0x161)+a);}}['findExistingDoor'](a){const t=a50i;for(const b of this[t(0x155)][t(0x135)]()){if(b instanceof Door){if(b['roomA']===this&&b[t(0x158)]===a||b[t(0x158)]===this&&b[t(0x12d)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a51l=a51d;function a51c(){const D=['roomFactory','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','keyRequired','length','warn','Added\x20puzzle\x20to\x20room\x20','\x27s\x20location.\x20Room\x20','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','Scene\x20initialized\x20with\x20rooms:\x20','Added\x20room\x20to\x20scene:\x20','285873DXoitq','rooms','removeActor','170438KPCeUs','getCharacterLocation','6phWlPs','(((.+)+)+)+$','write','Failed\x20to\x20set\x20','name','exits','62290FoJAMo','player','join','apply','characterLocations','has','1170tTpMqW','Room\x20\x22','push','No\x20actor\x20with\x20name\x20','addActor','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','targetRoom','logger','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','from','Failed\x20to\x20add\x20item\x20','delete','roomConfiguration','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','getRooms','createExitsFromConfig','36PYbBVz','addItem','\x20already\x20exists\x20in\x20the\x20scene.','\x20is\x20now\x20in\x20room\x20','440650pIRuub','get','\x22\x20does\x20not\x20exist.','toString','\x20not\x20found\x20in\x20scene.','determineStartRoom','addRoom','values','initialize','Actor\x20with\x20name\x20','248705MFsubU','set','hasOwnProperty','515648tucvRK','920850eBkCBh','addPuzzleToRoom','isStartRoom','setPuzzle','actors','generateRoomsFromConfig','search','setCharacterLocation','.\x20Room\x20','addExit','constructor','createRoom','getInstance'];a51c=function(){return D;};return a51c();}(function(a,b){const i=a51d,c=a();while(!![]){try{const d=parseInt(i(0xbd))/0x1+parseInt(i(0xdf))/0x2+parseInt(i(0xba))/0x3*(-parseInt(i(0xdb))/0x4)+parseInt(i(0xe9))/0x5*(parseInt(i(0xbf))/0x6)+parseInt(i(0xa3))/0x7+parseInt(i(0xa2))/0x8+-parseInt(i(0xcb))/0x9*(-parseInt(i(0xc5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x8fb75));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a[k(0xe2)]()[k(0xa9)](k(0xc0))[k(0xe2)]()[k(0xad)](a51a)[k(0xa9)](k(0xc0));});function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xa0;let f=c[d];return f;},a51d(a,b);}a51a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a51l(0xbb)];['player'];[a51l(0xd2)];['actors'];[a51l(0xc9)]=new Map();[a51l(0xb0)];constructor(a){const m=a51l;super(),this[m(0xb0)]=new RoomFactory(),this['player']=a[m(0xc6)],this['rooms']=this[m(0xa8)](a[m(0xd7)]),this['logger']=Logger[m(0xaf)](),this[m(0xa7)]=new Map(),this['createExitsFromConfig'](a[m(0xd7)]),this['logger'][m(0xc1)](m(0xb8)+Object['keys'](this['rooms'])[m(0xc7)](',\x20'));}[a51l(0xe7)](){const n=a51l;this[n(0xc6)]['currentLocation']=this[n(0xe4)]();}[a51l(0xa8)](a){const o=a51l;if(!this[o(0xb0)])throw new Error(o(0xb1));const b={};for(const c of a){const d=this[o(0xb0)][o(0xae)](c);b[c[o(0xc3)]]=d;}return b;}[a51l(0xda)](a){const p=a51l;for(const b of a){const c=this['rooms'][b[p(0xc3)]];if(b[p(0xc4)])for(const d of b['exits']){const e=d['direction']['toUpperCase'](),f=d[p(0xd1)],g=d[p(0xb2)],h=this[p(0xbb)][f];h&&c['addExit'](Direction[e],h,g);}}}[a51l(0xcf)](a){const q=a51l;if(this[q(0xa7)]['has'](a[q(0xc3)]))throw new Error(q(0xe8)+a[q(0xc3)]+q(0xdd));this[q(0xa7)][q(0xa0)](a[q(0xc3)],a);}[a51l(0xbc)](a){const r=a51l;if(!this['actors'][r(0xca)](a))throw new Error(r(0xce)+a+'\x20found\x20in\x20the\x20scene.');this[r(0xa7)][r(0xd6)](a);}['getActor'](a){const s=a51l;return this['actors'][s(0xe0)](a);}get['allActors'](){const t=a51l;return Array[t(0xd4)](this[t(0xa7)][t(0xe6)]());}[a51l(0xe5)](a){const u=a51l;this['rooms'][a[u(0xc3)]]=a,this[u(0xd2)]['write'](u(0xb9)+a['name']);}['removeRoom'](a){const v=a51l;return this[v(0xbb)][a]?(delete this[v(0xbb)][a],this[v(0xd2)][v(0xc1)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0xd2)][v(0xc1)](v(0xb7)+a),![]);}['addItemToRoom'](a,b){const w=a51l,c=this['rooms'][b];c?(c[w(0xdc)](a),this['logger'][w(0xc1)]('Added\x20item\x20'+a[w(0xc3)]+'\x20to\x20room\x20'+c['name'])):this[w(0xd2)]['write'](w(0xd5)+a[w(0xc3)]+w(0xab)+b+'\x20not\x20found\x20in\x20scene.');}[a51l(0xa4)](a,b){const x=a51l,c=this['rooms'][b];c?(c[x(0xa6)](a),this['logger']['write'](x(0xb5)+c['name'])):this[x(0xd2)][x(0xc1)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+x(0xe3));}[a51l(0xaa)](a,b){const y=a51l,c=this[y(0xbb)][b];c?(this[y(0xc9)][y(0xa0)](a[y(0xc3)],c),this[y(0xd2)][y(0xc1)](a['name']+y(0xde)+c['name'])):this[y(0xd2)][y(0xc1)](y(0xc2)+a[y(0xc3)]+y(0xb6)+b+y(0xe3));}[a51l(0xbe)](a){const z=a51l;return this['characterLocations'][z(0xe0)](a[z(0xc3)]);}[a51l(0xe4)](){const A=a51l,a=[];for(const c in this[A(0xbb)]){if(this[A(0xbb)][A(0xa1)](c)){const d=this[A(0xbb)][c];d[A(0xa5)]&&a[A(0xcd)](d);}}if(a[A(0xb3)]>0x1)throw new Error(A(0xd8));if(a[A(0xb3)]===0x1)return a[0x0];const b=Object['keys'](this[A(0xbb)]);if(b[A(0xb3)]===0x0)throw new Error(A(0xd0));return console[A(0xb4)](A(0xd3)),this[A(0xbb)][b[0x0]];}['getPlayer'](){const B=a51l;return this[B(0xc6)];}[a51l(0xd9)](){return this['rooms'];}['connectRooms'](a,b,c,d){const C=a51l,e=this[C(0xbb)][a],f=this[C(0xbb)][c];if(!e)throw new Error(C(0xcc)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(C(0xcc)+c+C(0xe1));e[C(0xac)](b,f,d);}}
1
+ const a51l=a51d;(function(a,b){const i=a51d,c=a();while(!![]){try{const d=parseInt(i(0x1f2))/0x1+-parseInt(i(0x1f6))/0x2+parseInt(i(0x1e7))/0x3*(parseInt(i(0x1da))/0x4)+parseInt(i(0x1d9))/0x5*(-parseInt(i(0x1f4))/0x6)+parseInt(i(0x1eb))/0x7*(-parseInt(i(0x1d8))/0x8)+-parseInt(i(0x1d7))/0x9+-parseInt(i(0x202))/0xa*(-parseInt(i(0x206))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x34091));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a[k(0x1dc)]()[k(0x20f)](k(0x1f0))[k(0x1dc)]()[k(0x218)](a51a)[k(0x20f)](k(0x1f0));});a51a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a51c(){const E=['463372GZBICd','exits','getRooms','Failed\x20to\x20add\x20item\x20','apply','Failed\x20to\x20set\x20','characterLocations','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','createExitsFromConfig','getCharacterLocation','direction','Scene\x20initialized\x20with\x20rooms:\x20','11150tctNeC','logger','Added\x20item\x20','values','4631AnEyde','roomConfiguration','getInstance','get','currentLocation','setCharacterLocation','set','determineStartRoom','roomFactory','search','push','Added\x20room\x20to\x20scene:\x20','Room\x20\x22','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','getPlayer','delete','\x22\x20does\x20not\x20exist.','constructor','player','keys','actors','write','getActor','\x20not\x20found\x20in\x20scene.','generateRoomsFromConfig','length','\x20already\x20exists\x20in\x20the\x20scene.','allActors','1427634YAYyeZ','6560mSyfOL','50OoYgSf','13732bEkyAu','removeActor','toString','\x27s\x20location.\x20Room\x20','addExit','addPuzzleToRoom','addRoom','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','removeRoom','addItem','warn','.\x20Room\x20','No\x20actor\x20with\x20name\x20','15ksngXX','addItemToRoom','has','rooms','763ggaFsE','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Removed\x20room\x20from\x20scene:\x20','name','toUpperCase','(((.+)+)+)+$','keyRequired','279219FkIlOy','isStartRoom','43782Yjuniu','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'];a51c=function(){return E;};return a51c();}import{AbstractScene}from'../types/abstracts.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a51d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a51l(0x1ea)];[a51l(0x1cd)];[a51l(0x203)];[a51l(0x1cf)];[a51l(0x1fc)]=new Map();[a51l(0x20e)];constructor(a){const m=a51l;super(),this[m(0x20e)]=new RoomFactory(),this['player']=a[m(0x1cd)],this[m(0x1ea)]=this[m(0x1d3)](a['roomConfiguration']),this[m(0x203)]=Logger[m(0x208)](),this[m(0x1cf)]=new Map(),this[m(0x1fe)](a[m(0x207)]),this['logger']['write'](m(0x201)+Object[m(0x1ce)](this[m(0x1ea)])['join'](',\x20'));}['initialize'](){const n=a51l;this[n(0x1cd)][n(0x20a)]=this[n(0x20d)]();}['generateRoomsFromConfig'](a){const o=a51l;if(!this[o(0x20e)])throw new Error(o(0x214));const b={};for(const c of a){const d=this[o(0x20e)]['createRoom'](c);b[c[o(0x1ee)]]=d;}return b;}[a51l(0x1fe)](a){const p=a51l;for(const b of a){const c=this[p(0x1ea)][b[p(0x1ee)]];if(b[p(0x1f7)])for(const d of b[p(0x1f7)]){const e=d[p(0x200)][p(0x1ef)](),f=d['targetRoom'],g=d[p(0x1f1)],h=this['rooms'][f];h&&c[p(0x1de)](Direction[e],h,g);}}}['addActor'](a){const q=a51l;if(this['actors'][q(0x1e9)](a[q(0x1ee)]))throw new Error('Actor\x20with\x20name\x20'+a[q(0x1ee)]+q(0x1d5));this[q(0x1cf)][q(0x20c)](a[q(0x1ee)],a);}[a51l(0x1db)](a){const r=a51l;if(!this[r(0x1cf)]['has'](a))throw new Error(r(0x1e6)+a+'\x20found\x20in\x20the\x20scene.');this['actors'][r(0x216)](a);}[a51l(0x1d1)](a){const s=a51l;return this[s(0x1cf)]['get'](a);}get[a51l(0x1d6)](){const t=a51l;return Array['from'](this['actors'][t(0x205)]());}[a51l(0x1e0)](a){const u=a51l;this[u(0x1ea)][a[u(0x1ee)]]=a,this[u(0x203)][u(0x1d0)](u(0x211)+a[u(0x1ee)]);}[a51l(0x1e2)](a){const v=a51l;return this[v(0x1ea)][a]?(delete this[v(0x1ea)][a],this[v(0x203)]['write'](v(0x1ed)+a),!![]):(this[v(0x203)][v(0x1d0)](v(0x1f5)+a),![]);}[a51l(0x1e8)](a,b){const w=a51l,c=this['rooms'][b];c?(c[w(0x1e3)](a),this['logger'][w(0x1d0)](w(0x204)+a[w(0x1ee)]+'\x20to\x20room\x20'+c[w(0x1ee)])):this[w(0x203)]['write'](w(0x1f9)+a[w(0x1ee)]+w(0x1e5)+b+w(0x1d2));}[a51l(0x1df)](a,b){const x=a51l,c=this['rooms'][b];c?(c['setPuzzle'](a),this[x(0x203)][x(0x1d0)]('Added\x20puzzle\x20to\x20room\x20'+c['name'])):this[x(0x203)][x(0x1d0)](x(0x1ec)+b+x(0x1d2));}[a51l(0x20b)](a,b){const y=a51l,c=this[y(0x1ea)][b];c?(this[y(0x1fc)][y(0x20c)](a[y(0x1ee)],c),this[y(0x203)][y(0x1d0)](a[y(0x1ee)]+'\x20is\x20now\x20in\x20room\x20'+c[y(0x1ee)])):this[y(0x203)]['write'](y(0x1fb)+a['name']+y(0x1dd)+b+'\x20not\x20found\x20in\x20scene.');}[a51l(0x1ff)](a){const z=a51l;return this[z(0x1fc)][z(0x209)](a[z(0x1ee)]);}[a51l(0x20d)](){const A=a51l,a=[];for(const c in this['rooms']){if(this[A(0x1ea)]['hasOwnProperty'](c)){const d=this['rooms'][c];d[A(0x1f3)]&&a[A(0x210)](d);}}if(a[A(0x1d4)]>0x1)throw new Error(A(0x213));if(a['length']===0x1)return a[0x0];const b=Object[A(0x1ce)](this[A(0x1ea)]);if(b[A(0x1d4)]===0x0)throw new Error(A(0x1e1));return console[A(0x1e4)](A(0x1fd)),this[A(0x1ea)][b[0x0]];}[a51l(0x215)](){const B=a51l;return this[B(0x1cd)];}[a51l(0x1f8)](){const C=a51l;return this[C(0x1ea)];}['connectRooms'](a,b,c,d){const D=a51l,e=this[D(0x1ea)][a],f=this[D(0x1ea)][c];if(!e)throw new Error(D(0x212)+a+D(0x217));if(!f)throw new Error(D(0x212)+c+D(0x217));e[D(0x1de)](b,f,d);}}
@@ -1 +1 @@
1
- var a52j=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x225))/0x1+parseInt(f(0x1f4))/0x2*(parseInt(f(0x206))/0x3)+parseInt(f(0x219))/0x4+parseInt(f(0x200))/0x5+-parseInt(f(0x1f0))/0x6*(parseInt(f(0x1f3))/0x7)+parseInt(f(0x1f7))/0x8+-parseInt(f(0x1fa))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xee6de));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x224)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x1f1)](h(0x216))['toString']()[h(0x20e)](a52a)[h(0x1f1)](h(0x216));});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['Medium'],'category':Category['Unknown'],'shape':Shape[i(0x1f5)],'color':Color[i(0x1f2)],'texture':Texture[i(0x1ff)],'rating':Rating['Common'],'weight':0x1});}[a52j(0x1f6)](){var k=a52j;return this[k(0x1fe)];}}export class Sword extends Item{constructor(a,b){var l=a52j;super({'name':a,'description':b,'size':Size[l(0x220)],'category':Category[l(0x210)],'shape':Shape[l(0x21d)],'color':Color[l(0x221)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a52j;super({'name':a,'description':b,'size':Size[m(0x21a)],'category':Category[m(0x210)],'shape':Shape[m(0x1fb)],'color':Color['Brown'],'texture':Texture[m(0x222)],'rating':Rating[m(0x20f)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a52j;super({'name':a,'description':b,'size':Size[n(0x220)],'category':Category['Helmet'],'shape':Shape[n(0x21c)],'color':Color[n(0x221)],'texture':Texture[n(0x222)],'rating':Rating[n(0x21f)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a52j;super({'name':a,'description':b,'size':Size[o(0x21a)],'category':Category['BodyArmor'],'shape':Shape['Rectangle'],'color':Color[o(0x221)],'texture':Texture[o(0x222)],'rating':Rating[o(0x21f)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a52j;super({'name':a,'description':b,'size':Size[p(0x220)],'category':Category[p(0x21b)],'shape':Shape[p(0x1f5)],'color':Color[p(0x221)],'texture':Texture[p(0x222)],'rating':Rating[p(0x21f)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a52j;super({'name':a,'description':b,'size':Size[q(0x220)],'category':Category['Boots'],'shape':Shape[q(0x21c)],'color':Color[q(0x208)],'texture':Texture[q(0x1ff)],'rating':Rating[q(0x21f)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a52j;super({'name':a,'description':b,'size':Size[r(0x20a)],'category':Category[r(0x1fd)],'shape':Shape['Circle'],'color':Color[r(0x208)],'texture':Texture[r(0x1ff)],'rating':Rating[r(0x21f)],'weight':0x1});}}function a52c(){var E=['You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Small','pageCount','A\x20mysterious\x20book.','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','constructor','Rare','Weapon','Cup','Unknown\x20Author','\x20aloft,\x20feeling\x20its\x20immense\x20power.','ArmArmor','publishDate','(((.+)+)+)+$','Sniper\x20Rifle','Book','1047916vbnxXB','Large','LegArmor','Circle','Blade','name','Common','Medium','Grey','Metallic','Gold','apply','1126754AYPliE','Holy\x20Grail','12HBrDjC','search','Yellow','5400115EGvLRm','2ULjaQV','Rectangle','use','8105192DHxxMr','Legendary','author','16620930RYYBWz','Rifle','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Gloves','description','Smooth','5099455HlveSN','Key','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','You\x20hold\x20the\x20','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','2833479EeHROb','Tiny','Brown'];a52c=function(){return E;};return a52c();}export class Gauntlets extends Item{constructor(a,b){var s=a52j;super({'name':a,'description':b,'size':Size[s(0x220)],'category':Category[s(0x214)],'shape':Shape[s(0x1f5)],'color':Color[s(0x221)],'texture':Texture[s(0x222)],'rating':Rating[s(0x21f)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a52j;super({'name':a,'description':b,'size':Size[t(0x207)],'category':Category[t(0x201)],'shape':Shape['Rectangle'],'color':Color['Yellow'],'texture':Texture[t(0x1ff)],'rating':Rating[t(0x21f)],'weight':0x0});}[a52j(0x1f6)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var u=a52j;super({'name':a,'description':b,'size':Size[u(0x220)],'category':Category['Weapon'],'shape':Shape[u(0x21d)],'color':Color['Grey'],'texture':Texture[u(0x222)],'rating':Rating[u(0x21f)],'weight':0x3});}['use'](){var v=a52j;return v(0x203);}}export class Book extends Item{[a52j(0x1f9)];[a52j(0x215)];['pageCount'];constructor(a,b=a52j(0x20c),c=a52j(0x212)){var w=a52j;super({'name':a,'description':b,'size':Size[w(0x220)],'category':Category[w(0x218)],'shape':Shape[w(0x1f5)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating[w(0x21f)],'weight':0x1}),this[w(0x1f9)]=c,this[w(0x215)]=new Date(),this[w(0x20b)]=0x64;}['use'](){var x=a52j;return x(0x205);}}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1ef;var f=c[d];return f;},a52d(a,b);}export class ShortSword extends Item{constructor(){var y=a52j;super({'name':'Short\x20Sword','description':y(0x20d),'size':Size[y(0x220)],'category':Category[y(0x210)],'shape':Shape[y(0x21d)],'color':Color['Grey'],'texture':Texture[y(0x222)],'rating':Rating['Common'],'weight':0x3});}['use'](){var z=a52j;return z(0x203);}}export class SniperRifle extends Item{constructor(){var A=a52j;super({'name':A(0x217),'description':A(0x1fc),'size':Size['Large'],'category':Category[A(0x210)],'shape':Shape[A(0x1fb)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating[A(0x21f)],'weight':0x5});}[a52j(0x1f6)](){var B=a52j;return B(0x209);}}export class HolyGrail extends Item{constructor(){var C=a52j;super({'name':C(0x1ef),'description':C(0x202),'size':Size[C(0x20a)],'category':Category[C(0x211)],'shape':Shape['Circle'],'color':Color[C(0x223)],'texture':Texture['Metallic'],'rating':Rating[C(0x1f8)],'weight':0x1});}[a52j(0x1f6)](){var D=a52j;return D(0x204)+this[D(0x21e)]+D(0x213);}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x203))/0x1*(parseInt(f(0x1f2))/0x2)+parseInt(f(0x21b))/0x3+-parseInt(f(0x20a))/0x4+parseInt(f(0x21a))/0x5+parseInt(f(0x1f0))/0x6*(-parseInt(f(0x1f3))/0x7)+-parseInt(f(0x21d))/0x8+parseInt(f(0x1f8))/0x9*(parseInt(f(0x1f9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xb4154));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0x1fa)]()['search'](g(0x202))[g(0x1fa)]()[g(0x20c)](a52a)['search'](g(0x202));});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 h=a52d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[h(0x1ec)],'shape':Shape['Rectangle'],'color':Color['Yellow'],'texture':Texture[h(0x1ed)],'rating':Rating[h(0x213)],'weight':0x1});}[a52i(0x216)](){var j=a52i;return this[j(0x217)];}}export class Sword extends Item{constructor(a,b){var k=a52i;super({'name':a,'description':b,'size':Size[k(0x218)],'category':Category[k(0x20f)],'shape':Shape['Blade'],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a52i;super({'name':a,'description':b,'size':Size[l(0x214)],'category':Category[l(0x20f)],'shape':Shape[l(0x1fb)],'color':Color[l(0x21f)],'texture':Texture[l(0x209)],'rating':Rating[l(0x1f5)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a52i;super({'name':a,'description':b,'size':Size[m(0x218)],'category':Category[m(0x1f1)],'shape':Shape[m(0x20b)],'color':Color[m(0x215)],'texture':Texture['Metallic'],'rating':Rating[m(0x213)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a52i;super({'name':a,'description':b,'size':Size[n(0x214)],'category':Category[n(0x208)],'shape':Shape[n(0x206)],'color':Color['Grey'],'texture':Texture[n(0x209)],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a52i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['LegArmor'],'shape':Shape[o(0x206)],'color':Color[o(0x215)],'texture':Texture[o(0x209)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a52i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[p(0x21c)],'shape':Shape['Circle'],'color':Color[p(0x21f)],'texture':Texture['Smooth'],'rating':Rating[p(0x213)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a52i;super({'name':a,'description':b,'size':Size[q(0x20e)],'category':Category[q(0x212)],'shape':Shape[q(0x20b)],'color':Color[q(0x21f)],'texture':Texture[q(0x1ed)],'rating':Rating[q(0x213)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a52i;super({'name':a,'description':b,'size':Size[r(0x218)],'category':Category[r(0x1fe)],'shape':Shape[r(0x206)],'color':Color[r(0x215)],'texture':Texture[r(0x209)],'rating':Rating[r(0x213)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a52i;super({'name':a,'description':b,'size':Size[s(0x1f7)],'category':Category['Key'],'shape':Shape[s(0x206)],'color':Color[s(0x1f6)],'texture':Texture['Smooth'],'rating':Rating[s(0x213)],'weight':0x0});}['use'](){var t=a52i;return t(0x1ee);}}function a52c(){var C=['Helmet','118exEOtD','336SbCWge','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Rare','Yellow','Tiny','18csxVwN','5343730wejKLw','toString','Rifle','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Sniper\x20Rifle','ArmArmor','Book','Gold','You\x20hold\x20the\x20','(((.+)+)+)+$','12909lEOBTL','publishDate','pageCount','Rectangle','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','BodyArmor','Metallic','4310332yZTjpS','Circle','constructor','Cup','Small','Weapon','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Gloves','Common','Large','Grey','use','description','Medium','Unknown\x20Author','4930480gpXsWe','1102245SitmZf','Boots','6575336ghogjT','Blade','Brown','Legendary','A\x20mysterious\x20book.','Holy\x20Grail','author','Unknown','Smooth','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','name','68346smabKB'];a52c=function(){return C;};return a52c();}export class Weapon extends Item{constructor(a,b){var u=a52i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Weapon'],'shape':Shape[u(0x21e)],'color':Color[u(0x215)],'texture':Texture[u(0x209)],'rating':Rating['Common'],'weight':0x3});}[a52i(0x216)](){var v=a52i;return v(0x1f4);}}export class Book extends Item{[a52i(0x1eb)];[a52i(0x204)];['pageCount'];constructor(a,b=a52i(0x1e9),c=a52i(0x219)){var w=a52i;super({'name':a,'description':b,'size':Size[w(0x218)],'category':Category[w(0x1ff)],'shape':Shape[w(0x206)],'color':Color[w(0x21f)],'texture':Texture[w(0x1ed)],'rating':Rating[w(0x213)],'weight':0x1}),this[w(0x1eb)]=c,this[w(0x204)]=new Date(),this[w(0x205)]=0x64;}[a52i(0x216)](){var x=a52i;return x(0x210);}}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1e9;var f=c[d];return f;},a52d(a,b);}export class ShortSword extends Item{constructor(){var y=a52i;super({'name':'Short\x20Sword','description':y(0x207),'size':Size['Medium'],'category':Category['Weapon'],'shape':Shape[y(0x21e)],'color':Color[y(0x215)],'texture':Texture[y(0x209)],'rating':Rating[y(0x213)],'weight':0x3});}[a52i(0x216)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var z=a52i;super({'name':z(0x1fd),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[z(0x214)],'category':Category[z(0x20f)],'shape':Shape[z(0x1fb)],'color':Color[z(0x21f)],'texture':Texture[z(0x1ed)],'rating':Rating[z(0x213)],'weight':0x5});}[a52i(0x216)](){return'You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22';}}export class HolyGrail extends Item{constructor(){var A=a52i;super({'name':A(0x1ea),'description':A(0x1fc),'size':Size['Small'],'category':Category[A(0x20d)],'shape':Shape[A(0x20b)],'color':Color[A(0x200)],'texture':Texture[A(0x209)],'rating':Rating[A(0x220)],'weight':0x1});}['use'](){var B=a52i;return B(0x201)+this[B(0x1ef)]+B(0x211);}}