@maka/maka-cli 4.5.50 → 4.5.52

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
- function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x9f;let f=c[d];return f;},a33d(a,b);}function a33c(){const l=['An\x20error\x20occurred.','894958VrPJlA','search','16MyLJyt','actor','814570kauuHp','toString','473yonIOt','apply','scene','1107281VXzJBv','1554KZQuzK','What\x20do\x20you\x20want\x20to\x20say?','join','\x20says\x20to\x20','128206qzlXYA','description','say','execute','16bunFPy','name','2Cvhlma','26181AffjXQ','176700IWDYLQ','30LNYoto','(((.+)+)+)+$',':\x20\x22','Scene\x20is\x20missing\x20from\x20context.','483858oXKygM','verb','log','54hgrifp','context','currentLocation','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.'];a33c=function(){return l;};return a33c();}const a33j=a33d;(function(a,b){const g=a33d,c=a();while(!![]){try{const d=-parseInt(g(0xba))/0x1*(parseInt(g(0xa6))/0x2)+parseInt(g(0xbb))/0x3*(-parseInt(g(0xa8))/0x4)+parseInt(g(0xbd))/0x5*(-parseInt(g(0xc1))/0x6)+parseInt(g(0xaf))/0x7*(-parseInt(g(0xb8))/0x8)+-parseInt(g(0xa1))/0x9*(-parseInt(g(0xaa))/0xa)+parseInt(g(0xac))/0xb*(parseInt(g(0xbc))/0xc)+parseInt(g(0xb4))/0xd*(parseInt(g(0xb0))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x76c6d));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a33d;if(c){const e=c[h(0xad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const i=a33d;return a33a[i(0xab)]()[i(0xa7)](i(0xbe))['toString']()['constructor'](a33a)[i(0xa7)](i(0xbe));});a33a();import{Command}from'./command.js';export class SayCommand extends Command{static [a33j(0x9f)]='say';static [a33j(0xb5)]=a33j(0xa4);[a33j(0xa2)];constructor(a){super(a),this['context']=a;}[a33j(0xb7)](a){const k=a33j;if(a['length']===0x0)return k(0xb1);const b=a[k(0xb2)]('\x20'),c=this['actor'],d=this[k(0xa2)][k(0xae)];if(!d)return this['logger'][k(0xa0)](k(0xc0)),k(0xa5);const e=d['allActors']['filter'](f=>f[k(0xa3)]===c[k(0xa3)]);for(const f of e){this['logger']['log'](c[k(0xb9)]+k(0xb3)+f[k(0xb9)]+k(0xbf)+b+'\x22'),this[k(0xa9)]['currentLocation'][k(0xb6)](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}
1
+ function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x17f;let f=c[d];return f;},a33d(a,b);}const a33j=a33d;(function(a,b){const g=a33d,c=a();while(!![]){try{const d=-parseInt(g(0x194))/0x1+parseInt(g(0x185))/0x2+-parseInt(g(0x19c))/0x3*(-parseInt(g(0x18d))/0x4)+parseInt(g(0x19f))/0x5+-parseInt(g(0x19d))/0x6*(-parseInt(g(0x18a))/0x7)+parseInt(g(0x192))/0x8*(parseInt(g(0x195))/0x9)+-parseInt(g(0x17f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xceca3));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a33d;if(c){const e=c[h(0x1a1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const i=a33d;return a33a[i(0x1a0)]()[i(0x190)](i(0x19a))[i(0x1a0)]()['constructor'](a33a)[i(0x190)](i(0x19a));});function a33c(){const m=['906721lcEdbl','468bAwOMO',':\x20\x22','currentLocation','execute','filter','(((.+)+)+)+$','Scene\x20is\x20missing\x20from\x20context.','2217036YGDPMZ','8958tJfUmM','name','8193500ycNTTV','toString','apply','10807620WezQlW','length','An\x20error\x20occurred.','You\x20say:\x20\x22','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','join','246650vGrgsL','scene','What\x20do\x20you\x20want\x20to\x20say?','say','allActors','567YgqZPL','context','description','4sJPyEx','actor','logger','search','log','32696SyxuvD','\x20says\x20to\x20'];a33c=function(){return m;};return a33c();}a33a();import{Command}from'./command.js';export class SayCommand extends Command{static ['verb']='say';static [a33j(0x18c)]=a33j(0x183);[a33j(0x18b)];constructor(a){const k=a33j;super(a),this[k(0x18b)]=a;}[a33j(0x198)](a){const l=a33j;if(a[l(0x180)]===0x0)return l(0x187);const b=a[l(0x184)]('\x20'),c=this[l(0x18e)],d=this['context'][l(0x186)];if(!d)return this[l(0x18f)][l(0x191)](l(0x19b)),l(0x181);const e=d[l(0x189)][l(0x199)](f=>f['currentLocation']===c[l(0x197)]);for(const f of e){this[l(0x18f)][l(0x191)](c['name']+l(0x193)+f[l(0x19e)]+l(0x196)+b+'\x22'),this[l(0x18e)][l(0x197)][l(0x188)](f,b);}return l(0x182)+b+'\x22';}}
@@ -1 +1 @@
1
- const a34i=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0x1b8))/0x1+parseInt(f(0x1c4))/0x2*(parseInt(f(0x1ca))/0x3)+-parseInt(f(0x1bc))/0x4*(-parseInt(f(0x1be))/0x5)+-parseInt(f(0x1bf))/0x6*(parseInt(f(0x1c7))/0x7)+-parseInt(f(0x1c6))/0x8+-parseInt(f(0x1c5))/0x9+parseInt(f(0x1bd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x56b9d));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a['toString']()[h(0x1c2)](h(0x1bb))[h(0x1d0)]()['constructor'](a34a)[h(0x1c2)](h(0x1bb));});function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a34d(a,b);}a34a();import{Command}from'./command.js';function a34c(){const k=['SearchCommand:\x20','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','38173jBuxgu','logger','Search\x20for\x20items\x20in\x20your\x20area','(((.+)+)+)+$','8sTLmvV','10447370gQFpPJ','827560ywPUgI','5802WEtDrM','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','length','search','apply','305068EjJAHk','5010561UOQVTr','2186456gFrcwC','3311kjUImm','write','actor','6RpCHkD','execute','verb','inventory','\x20found\x20the\x20following\x20items:\x20','name','toString','You\x20search\x20the\x20area\x20and\x20find:\x20'];a34c=function(){return k;};return a34c();}export class SearchCommand extends Command{static [a34i(0x1cc)]=a34i(0x1c2);static ['description']=a34i(0x1ba);[a34i(0x1cb)](){const j=a34i,a=this[j(0x1c9)]['currentLocation'][j(0x1cd)]['listItems']();if(a[j(0x1c1)]===0x0)return this[j(0x1b9)][j(0x1c8)](j(0x1d2)+this[j(0x1c9)][j(0x1cf)]+j(0x1c0)),j(0x1b7);const b=a['join'](',\x20');return this[j(0x1b9)][j(0x1c8)](j(0x1d2)+this[j(0x1c9)][j(0x1cf)]+j(0x1ce)+b),j(0x1d1)+b;}}
1
+ function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x14c;let f=c[d];return f;},a34d(a,b);}const a34h=a34d;function a34c(){const j=['name','logger','33bcpbdK','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','880890CtBHWo','3uTPTEk','4nVLtGe','inventory','84EjOGwV','search','description','1056504YtwJvE','35ErNSZw','\x20found\x20the\x20following\x20items:\x20','279248RUOUiV','14664hGwhpE','listItems','SearchCommand:\x20','actor','2192472vVbJXf','toString','485bJDRnu','join','verb','You\x20search\x20the\x20area\x20and\x20find:\x20','1811cSkkks','constructor','length','write','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','(((.+)+)+)+$','Search\x20for\x20items\x20in\x20your\x20area','136019SPoqoC'];a34c=function(){return j;};return a34c();}(function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0x16c))/0x1*(-parseInt(f(0x159))/0x2)+-parseInt(f(0x158))/0x3*(parseInt(f(0x15e))/0x4)+parseInt(f(0x168))/0x5*(parseInt(f(0x162))/0x6)+parseInt(f(0x15f))/0x7*(parseInt(f(0x161))/0x8)+parseInt(f(0x166))/0x9+parseInt(f(0x157))/0xa*(-parseInt(f(0x155))/0xb)+parseInt(f(0x15b))/0xc*(parseInt(f(0x152))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x31b9c));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(0x167)]()[g(0x15c)](g(0x150))['toString']()[g(0x14c)](a34a)[g(0x15c)](g(0x150));});a34a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a34h(0x16a)]='search';static [a34h(0x15d)]=a34h(0x151);['execute'](){const i=a34h,a=this[i(0x165)]['currentLocation'][i(0x15a)][i(0x163)]();if(a[i(0x14d)]===0x0)return this[i(0x154)]['write'](i(0x164)+this['actor'][i(0x153)]+i(0x156)),i(0x14f);const b=a[i(0x169)](',\x20');return this['logger'][i(0x14e)](i(0x164)+this[i(0x165)][i(0x153)]+i(0x160)+b),i(0x16b)+b;}}
@@ -1 +1 @@
1
- const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=parseInt(f(0xd1))/0x1+-parseInt(f(0xcc))/0x2*(-parseInt(f(0xe5))/0x3)+parseInt(f(0xe4))/0x4*(parseInt(f(0xe3))/0x5)+parseInt(f(0xd0))/0x6+-parseInt(f(0xd7))/0x7*(parseInt(f(0xd5))/0x8)+parseInt(f(0xdd))/0x9*(-parseInt(f(0xc8))/0xa)+-parseInt(f(0xcb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x713a1));function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0xc5;let f=c[d];return f;},a35d(a,b);}const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a['toString']()[h(0xdb)](h(0xcf))[h(0xce)]()[h(0xe0)](a35a)[h(0xdb)]('(((.+)+)+)+$');});a35a();import{Command}from'./command.js';function a35c(){const k=['1419294dbijPd','actor','execute','inventory','3354930tTAzAi','logger','puzzle','4601201ZLdBZm','2wgTlOZ','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','toString','(((.+)+)+)+$','4843146jIektv','21646kaeEEN','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','SolveCommand:\x20','addItem','898256EuLzJg','currentLocation','35euvBBw','join','apply','description','search','verb','9cLjGkF','write','Attempt\x20to\x20solve\x20a\x20puzzle.','constructor','solve','message','340740jhnkEu','28OSqDir'];a35c=function(){return k;};return a35c();}export class SolveCommand extends Command{static [a35i(0xdc)]=a35i(0xe1);static [a35i(0xda)]=a35i(0xdf);[a35i(0xc6)](a){const j=a35i,b=a[j(0xd8)]('\x20')['toLowerCase'](),c=this[j(0xc5)][j(0xd6)];if(!c||!c[j(0xca)])return this[j(0xc9)][j(0xde)](j(0xd2)),j(0xcd);const d=c[j(0xca)][j(0xe1)](b,this[j(0xc5)][j(0xc7)]);return d['success']&&c['puzzle']['rewardItem']&&this[j(0xc5)][j(0xc7)][j(0xd4)](c[j(0xca)]['rewardItem']),this['logger'][j(0xde)](j(0xd3)+d[j(0xe2)]),d[j(0xe2)];}}
1
+ const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=parseInt(f(0xb5))/0x1+-parseInt(f(0xcc))/0x2*(-parseInt(f(0xbe))/0x3)+-parseInt(f(0xbd))/0x4*(-parseInt(f(0xc2))/0x5)+-parseInt(f(0xd2))/0x6*(parseInt(f(0xb7))/0x7)+-parseInt(f(0xbc))/0x8*(parseInt(f(0xba))/0x9)+-parseInt(f(0xd3))/0xa*(parseInt(f(0xc8))/0xb)+-parseInt(f(0xc3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x48b7f));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0xb6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0xd0)]()[h(0xbf)](h(0xcf))[h(0xd0)]()[h(0xc6)](a35a)[h(0xbf)](h(0xcf));});function a35c(){const k=['description','585NVaHLd','4149324zXjTUp','verb','currentLocation','constructor','join','3388OYxRwl','actor','message','solve','800866kimojo','Attempt\x20to\x20solve\x20a\x20puzzle.','addItem','(((.+)+)+)+$','toString','logger','6JmJsZJ','2350KLxcJG','inventory','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','rewardItem','305859YuRNsR','apply','647353kDRfrZ','puzzle','execute','63iAVxix','SolveCommand:\x20','362968lIDpxB','14352gNYjwS','3kRpJLA','search','write'];a35c=function(){return k;};return a35c();}a35a();import{Command}from'./command.js';function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0xb4;let f=c[d];return f;},a35d(a,b);}export class SolveCommand extends Command{static [a35i(0xc4)]=a35i(0xcb);static [a35i(0xc1)]=a35i(0xcd);[a35i(0xb9)](a){const j=a35i,b=a[j(0xc7)]('\x20')['toLowerCase'](),c=this[j(0xc9)][j(0xc5)];if(!c||!c[j(0xb8)])return this['logger'][j(0xc0)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0xd5);const d=c[j(0xb8)][j(0xcb)](b,this[j(0xc9)][j(0xd4)]);return d['success']&&c[j(0xb8)][j(0xb4)]&&this[j(0xc9)]['inventory'][j(0xce)](c[j(0xb8)][j(0xb4)]),this[j(0xd1)][j(0xc0)](j(0xbb)+d[j(0xca)]),d[j(0xca)];}}
@@ -1 +1 @@
1
- const a36i=a36d;function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x123;let f=c[d];return f;},a36d(a,b);}(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0x12e))/0x1+-parseInt(f(0x12c))/0x2+parseInt(f(0x134))/0x3*(parseInt(f(0x148))/0x4)+parseInt(f(0x14b))/0x5*(parseInt(f(0x132))/0x6)+parseInt(f(0x143))/0x7+-parseInt(f(0x124))/0x8*(-parseInt(f(0x12f))/0x9)+-parseInt(f(0x13e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x703f7));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a36d;if(c){const e=c[g(0x127)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a[h(0x145)]()[h(0x135)](h(0x141))[h(0x145)]()['constructor'](a36a)[h(0x135)](h(0x141));});function a36c(){const l=['join','\x22\x20not\x20retrieved\x20from\x20','6mSWkzP','The\x20item\x20\x22','180budIHE','search','\x22\x20to\x20','verb','\x22\x20not\x20found\x20in\x20','\x22\x20from\x20','name','Pick\x20up\x20an\x20item.','Successfully\x20added\x20\x22','actor','132190Zzmlbm','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','message','(((.+)+)+)+$','removeItem','5111365bCmzKR','\x20during\x20\x27Take\x27\x20command.','toString','logger','There\x20is\x20no\x20item\x20\x22','43732JGzTtU','\x22\x20in\x20this\x20room.','getItem','789395lNzRoZ','\x22\x20is\x20too\x20heavy\x20to\x20carry.','take','inventory','616CIbfTr','write','You\x20have\x20taken\x20the\x20','apply','currentLocation','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Item\x20\x22','execute','1817504OQbtVI','hasItem','742973mPlkpm','67869ShDMxn'];a36c=function(){return l;};return a36c();}a36a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a36i(0x137)]='take';static ['description']=a36i(0x13b);[a36i(0x12b)](a){const j=a36i;return this[j(0x146)]['write'](j(0x13f)+a[j(0x130)]('\x20')),this[j(0x14d)](a);}[a36i(0x14d)](a){const k=a36i,b=a[k(0x130)]('\x20')['toLowerCase'](),c=this[k(0x13d)][k(0x128)];if(!c[k(0x123)][k(0x12d)](b))return this['logger'][k(0x125)]('Item\x20\x22'+b+k(0x138)+c[k(0x13a)]+k(0x144)),k(0x147)+b+k(0x149);const d=c[k(0x123)][k(0x14a)](b);if(!d)return this[k(0x146)]['write'](k(0x12a)+b+k(0x131)+c[k(0x13a)]+k(0x129)),k(0x147)+b+k(0x149);try{return this[k(0x13d)]['addInventory'](d),this[k(0x146)][k(0x125)](k(0x13c)+b+k(0x136)+this[k(0x13d)][k(0x13a)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0x123)][k(0x142)](b),this[k(0x146)]['write']('Successfully\x20removed\x20\x22'+b+k(0x139)+c[k(0x13a)]+k(0x129)),k(0x126)+b+'.';}catch(e){return this[k(0x146)][k(0x125)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x140)]),k(0x133)+b+k(0x14c);}}}
1
+ const a36h=a36d;function a36c(){const k=['13203316OxJTvq','(((.+)+)+)+$','249576Nzbvte','name','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','join','write','actor','20619ncRqcn','\x22\x20from\x20','verb','1510vWZVsw','13sLOmVP','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x20during\x20\x27Take\x27\x20command.','2262AjDtCk','22259LSTkqk','Successfully\x20removed\x20\x22','removeItem','3470vwGeDC','Error\x20during\x20\x27Take\x27\x20command:\x20','292nzOfSi','2eTWEUJ','\x22\x20in\x20this\x20room.','The\x20item\x20\x22','logger','49FUIXId','9621KPFTQa','take','11pQrbpl','toString','search','Item\x20\x22','1229244KKrwma','\x22\x20to\x20','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','inventory','\x22\x20not\x20retrieved\x20from\x20','execute','message','description','You\x20have\x20taken\x20the\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'];a36c=function(){return k;};return a36c();}(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0x167))/0x1*(-parseInt(f(0x142))/0x2)+-parseInt(f(0x147))/0x3*(parseInt(f(0x141))/0x4)+-parseInt(f(0x13f))/0x5*(parseInt(f(0x166))/0x6)+parseInt(f(0x146))/0x7*(parseInt(f(0x159))/0x8)+parseInt(f(0x15f))/0x9*(-parseInt(f(0x162))/0xa)+-parseInt(f(0x149))/0xb*(parseInt(f(0x14d))/0xc)+-parseInt(f(0x163))/0xd*(-parseInt(f(0x157))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x3a7f5));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']()['search'](g(0x158))[g(0x14a)]()['constructor'](a36a)[g(0x14b)]('(((.+)+)+)+$');});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x13d;let f=c[d];return f;},a36d(a,b);}a36a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a36h(0x161)]=a36h(0x148);static [a36h(0x154)]='Pick\x20up\x20an\x20item.';[a36h(0x152)](a){const i=a36h;return this['logger'][i(0x15d)](i(0x14f)+a[i(0x15c)]('\x20')),this['take'](a);}[a36h(0x148)](a){const j=a36h,b=a[j(0x15c)]('\x20')['toLowerCase'](),c=this['actor']['currentLocation'];if(!c[j(0x150)]['hasItem'](b))return this[j(0x145)][j(0x15d)](j(0x14c)+b+'\x22\x20not\x20found\x20in\x20'+c[j(0x15a)]+j(0x165)),'There\x20is\x20no\x20item\x20\x22'+b+j(0x143);const d=c[j(0x150)]['getItem'](b);if(!d)return this[j(0x145)][j(0x15d)](j(0x14c)+b+j(0x151)+c[j(0x15a)]+j(0x156)),'There\x20is\x20no\x20item\x20\x22'+b+j(0x143);try{return this[j(0x15e)]['addInventory'](d),this[j(0x145)][j(0x15d)]('Successfully\x20added\x20\x22'+b+j(0x14e)+this[j(0x15e)]['name']+j(0x15b)),c[j(0x150)][j(0x13e)](b),this[j(0x145)][j(0x15d)](j(0x13d)+b+j(0x160)+c[j(0x15a)]+j(0x156)),j(0x155)+b+'.';}catch(e){return this[j(0x145)]['write'](j(0x140)+e[j(0x153)]),j(0x144)+b+j(0x164);}}}
@@ -1 +1 @@
1
- const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0xa0))/0x1+parseInt(f(0xab))/0x2*(parseInt(f(0xa1))/0x3)+parseInt(f(0x9f))/0x4+parseInt(f(0xa9))/0x5+-parseInt(f(0xa4))/0x6*(parseInt(f(0xa7))/0x7)+parseInt(f(0xaa))/0x8+-parseInt(f(0xae))/0x9*(-parseInt(f(0xac))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xdc59b));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(0xa8)]()['search'](g(0xaf))[g(0xa8)]()[g(0x9d)](a37a)[g(0xa2)]('(((.+)+)+)+$');});a37a();import{Command}from'./command.js';function a37c(){const j=['name','logger','constructor','verb','4695316yjvBQO','1791730jgJqqC','176862OJLfml','search','description','84KBnGMs','join','Unequip\x20an\x20item.','264481xkaSEa','toString','2223905NAFpYM','1901344rszufc','12AiqRkm','273850xFUyMX','execute','333XXRAak','(((.+)+)+)+$','actor'];a37c=function(){return j;};return a37c();}function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x9d;let f=c[d];return f;},a37d(a,b);}export class UnequipCommand extends Command{static [a37h(0x9e)]='unqeuip';static [a37h(0xa3)]=a37h(0xa6);[a37h(0xad)](a){const i=a37h,b=a[i(0xa5)]('\x20')['toLowerCase'](),c=this[i(0xb0)]['unequip'](b);return this[i(0xb2)]['write']('UnequipCommand:\x20'+this[i(0xb0)][i(0xb1)]+'\x20unqeuiped\x20'+c),c;}}
1
+ const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0xc6))/0x1+parseInt(f(0xd2))/0x2+-parseInt(f(0xcf))/0x3+-parseInt(f(0xd0))/0x4+-parseInt(f(0xd5))/0x5*(-parseInt(f(0xc9))/0x6)+-parseInt(f(0xc4))/0x7+-parseInt(f(0xd1))/0x8*(-parseInt(f(0xcc))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x7d38c));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xc3;let f=c[d];return f;},a37d(a,b);}function a37c(){const k=['914504PhEwvs','search','join','15AahmJd','Unequip\x20an\x20item.','toString','actor','\x20unqeuiped\x20','toLowerCase','3679956NAOaIV','verb','1005315FqeWju','apply','write','1142874NmUYql','execute','unqeuip','26399862oxZdbi','description','(((.+)+)+)+$','2789970TbXzWM','3952344ieKHzJ','8XVGnyE'];a37c=function(){return k;};return a37c();}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xc7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xd7)]()[h(0xd3)](h(0xce))[h(0xd7)]()['constructor'](a37a)[h(0xd3)](h(0xce));});a37a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a37i(0xc5)]=a37i(0xcb);static [a37i(0xcd)]=a37i(0xd6);[a37i(0xca)](a){const j=a37i,b=a[j(0xd4)]('\x20')[j(0xc3)](),c=this['actor']['unequip'](b);return this['logger'][j(0xc8)]('UnequipCommand:\x20'+this[j(0xd8)]['name']+j(0xd9)+c),c;}}
@@ -1 +1 @@
1
- const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0xb4))/0x1*(-parseInt(h(0xcf))/0x2)+-parseInt(h(0xbb))/0x3+parseInt(h(0xb7))/0x4+parseInt(h(0xc9))/0x5+-parseInt(h(0xb6))/0x6+parseInt(h(0xc6))/0x7+parseInt(h(0xbc))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x70915));function a38c(){const n=['logger','2325880DYOVgb','execute','error','actor','attemptUnlockExit','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','78654mJswkO','(((.+)+)+)+$','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','search','.\x20Result:\x20','toString','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','unlock','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','get','UnlockCommand:\x20','description','name','6AqduOJ','\x20is\x20attempted\x20to\x20unlock\x20','4452630QaPzOY','2323128ATEkrf','currentLocation','apply','length','136443xXFeDo','1475608UYuoda','constructor','Unlock\x20a\x20door.','exits','write','hasItem','There\x27s\x20no\x20door\x20named\x20\x22','toLowerCase','\x22\x20here.','UnlockCommand:\x20No\x20target\x20specified.','1779512nNpcXk','has'];a38c=function(){return n;};return a38c();}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0xd4)]()[j(0xd2)](j(0xd0))[j(0xd4)]()[j(0xbd)](a38a)['search'](j(0xd0));});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xb1;let f=c[d];return f;},a38d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']=a38k(0xd6);static [a38k(0xb2)]=a38k(0xbe);[a38k(0xca)](a){const l=a38k;return this[l(0xd6)](a);}[a38k(0xd6)](a){const m=a38k;if(a[m(0xba)]===0x0)return this[m(0xc8)][m(0xcb)](m(0xc5)),m(0xce);const b=a[0x0][m(0xc3)](),c=this['actor'][m(0xb8)];if(this['isValidDirection'](b)&&c[m(0xbf)][m(0xc7)](b)){const d=c[m(0xbf)][m(0xd8)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[m(0xc3)]();if(e&&this[m(0xcc)]['inventory'][m(0xc1)](e)){const f=this['actor']['inventory']['getItem'](e);if(f){const g=c[m(0xcd)](b,f[m(0xb3)]);return this[m(0xc8)]['write'](m(0xb1)+this['actor'][m(0xb3)]+m(0xb5)+b+m(0xd3)+g),g;}}return this[m(0xc8)][m(0xc0)](m(0xb1)+this[m(0xcc)]['name']+m(0xd7)+b+'.'),m(0xd1);}else return this['logger'][m(0xc0)](m(0xb1)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0xc4);}else return this['logger'][m(0xc0)](m(0xb1)+b+m(0xd5)+c['name']+'.'),m(0xc2)+b+m(0xc4);}}
1
+ const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x92))/0x1*(parseInt(h(0xa6))/0x2)+-parseInt(h(0x95))/0x3*(-parseInt(h(0xaf))/0x4)+parseInt(h(0x8c))/0x5+-parseInt(h(0xaa))/0x6*(parseInt(h(0xa1))/0x7)+-parseInt(h(0x87))/0x8+parseInt(h(0xa8))/0x9+parseInt(h(0x91))/0xa*(parseInt(h(0x99))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xbed8f));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a['toString']()[j(0x85)](j(0x97))['toString']()[j(0xab)](a38a)[j(0x85)](j(0x97));});a38a();import{Door}from'../models/door.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x83;let f=c[d];return f;},a38d(a,b);}function a38c(){const m=['logger','currentLocation','3729440dYJXVA','write','getItem','description','\x20is\x20attempted\x20to\x20unlock\x20','140KxuyBx','451841wWBfBO','get','hasItem','3KVMkiE','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','(((.+)+)+)+$','Unlock\x20a\x20door.','1201849NiSHTo','isValidDirection','error','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','has','toLowerCase','name','actor','14WYaUaz','unlock','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','inventory','exits','6yDwHhs','length','674460WPXgIg','attemptUnlockExit','2853948OYUSJK','constructor','UnlockCommand:\x20No\x20target\x20specified.','There\x27s\x20no\x20door\x20named\x20\x22','execute','6107540cYhPHn','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','unlockItemOrSolution','apply','search','.\x20Result:\x20','6310312jIOymF','UnlockCommand:\x20','\x22\x20here.'];a38c=function(){return m;};return a38c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']=a38k(0xa2);static [a38k(0x8f)]=a38k(0x98);[a38k(0xae)](a){return this['unlock'](a);}[a38k(0xa2)](a){const l=a38k;if(a[l(0xa7)]===0x0)return this[l(0x8a)][l(0x9b)](l(0xac)),l(0x96);const b=a[0x0][l(0x9e)](),c=this[l(0xa0)][l(0x8b)];if(this[l(0x9a)](b)&&c[l(0xa5)][l(0x9d)](b)){const d=c['exits'][l(0x93)](b);if(d instanceof Door){const e=d[l(0x83)]?.[l(0x9e)]();if(e&&this['actor'][l(0xa4)][l(0x94)](e)){const f=this['actor']['inventory'][l(0x8e)](e);if(f){const g=c[l(0xa9)](b,f[l(0x9f)]);return this['logger'][l(0x8d)](l(0x88)+this[l(0xa0)][l(0x9f)]+l(0x90)+b+l(0x86)+g),g;}}return this[l(0x8a)][l(0x8d)]('UnlockCommand:\x20'+this[l(0xa0)][l(0x9f)]+l(0xa3)+b+'.'),l(0xb0);}else return this[l(0x8a)][l(0x8d)]('UnlockCommand:\x20'+b+l(0x9c)+c[l(0x9f)]+'.'),l(0xad)+b+l(0x89);}else return this[l(0x8a)][l(0x8d)](l(0x88)+b+l(0x9c)+c[l(0x9f)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0x89);}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0xd4))/0x1+parseInt(f(0xe2))/0x2*(parseInt(f(0xda))/0x3)+-parseInt(f(0xe6))/0x4*(parseInt(f(0xd9))/0x5)+parseInt(f(0xf0))/0x6*(-parseInt(f(0xd3))/0x7)+-parseInt(f(0xd6))/0x8*(-parseInt(f(0xe0))/0x9)+parseInt(f(0xe5))/0xa+parseInt(f(0xef))/0xb*(-parseInt(f(0xce))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xdc640));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0xeb)]()[h(0xdb)](h(0xd8))[h(0xeb)]()[h(0xde)](a39a)[h(0xdb)]('(((.+)+)+)+$');});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xcc;let f=c[d];return f;},a39d(a,b);}a39a();function a39c(){const k=['204dIZUep','name','UseCommand:\x20','description','toLowerCase','11837cXWuPG','485095cjZSzN','inventory','184NTIKZn','hasItem','(((.+)+)+)+$','5wrAauQ','1878cBuhMB','search','Use\x20an\x20item.','use','constructor','\x20not\x20retrieved\x20from\x20','242901QvreIG','verb','3308IizuNQ','logger',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','14017240aajrvE','2309092QRykrt','write','\x27s\x20inventory.','getItem','apply','toString','You\x20can\x27t\x20use\x20the\x20','\x20in\x20this\x20way.','You\x20don\x27t\x20have\x20the\x20','1300948slFuWJ','186PvBcVL','execute','\x20to\x20use.','actor'];a39c=function(){return k;};return a39c();}import{Command}from'./command.js';export class UseCommand extends Command{static [a39i(0xe1)]=a39i(0xdd);static [a39i(0xd1)]=a39i(0xdc);[a39i(0xf1)](a){return this['use'](a);}[a39i(0xdd)](a){const j=a39i,b=a['join']('\x20')[j(0xd2)]();if(!this[j(0xcd)][j(0xd5)][j(0xd7)](b))return this['logger'][j(0xe7)](j(0xd0)+this['actor']['name']+'\x20attempted\x20to\x20use\x20'+b+j(0xe4)),j(0xee)+b+j(0xcc);const c=this[j(0xcd)][j(0xd5)][j(0xe9)](b);if(!c)return this[j(0xe3)][j(0xe7)](j(0xd0)+b+j(0xdf)+this[j(0xcd)][j(0xcf)]+j(0xe8)),j(0xee)+b+j(0xcc);if(typeof c[j(0xdd)]==='function'){const d=c['use']();return this[j(0xe3)]['write']('UseCommand:\x20'+this[j(0xcd)]['name']+'\x20used\x20'+b+'.'),d;}else return this[j(0xe3)]['write'](j(0xd0)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),j(0xec)+b+j(0xed);}}
1
+ const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0xba))/0x1*(-parseInt(f(0xb3))/0x2)+parseInt(f(0xcc))/0x3+parseInt(f(0xc1))/0x4+-parseInt(f(0xc5))/0x5+parseInt(f(0xbf))/0x6+parseInt(f(0xb0))/0x7+-parseInt(f(0xb5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x2dca8));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()['search'](h(0xb8))[h(0xc0)]()['constructor'](a39a)[h(0xbe)](h(0xb8));});a39a();function a39c(){const l=['toLowerCase','hasItem','You\x20don\x27t\x20have\x20the\x20','\x20in\x20this\x20way.','1411851eUJhdl','UseCommand:\x20','verb','2XdwEhw','Use\x20an\x20item.','1761296KygvEZ','\x20to\x20use.',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','(((.+)+)+)+$','apply','205382rCNzQK','\x27s\x20inventory.','actor','\x20used\x20','search','376482TRyTBX','toString','426476MyVMro','join','\x20attempted\x20to\x20use\x20','write','434620OUzhdf','inventory','logger','name','function','You\x20can\x27t\x20use\x20the\x20','use','986907gajTdI'];a39c=function(){return l;};return a39c();}import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xac;let f=c[d];return f;},a39d(a,b);}export class UseCommand extends Command{static [a39i(0xb2)]=a39i(0xcb);static ['description']=a39i(0xb4);['execute'](a){const j=a39i;return this[j(0xcb)](a);}[a39i(0xcb)](a){const k=a39i,b=a[k(0xc2)]('\x20')[k(0xac)]();if(!this['actor'][k(0xc6)][k(0xad)](b))return this[k(0xc7)][k(0xc4)](k(0xb1)+this[k(0xbc)][k(0xc8)]+k(0xc3)+b+k(0xb7)),k(0xae)+b+k(0xb6);const c=this['actor'][k(0xc6)]['getItem'](b);if(!c)return this[k(0xc7)][k(0xc4)](k(0xb1)+b+'\x20not\x20retrieved\x20from\x20'+this[k(0xbc)]['name']+k(0xbb)),k(0xae)+b+k(0xb6);if(typeof c[k(0xcb)]===k(0xc9)){const d=c[k(0xcb)]();return this[k(0xc7)][k(0xc4)](k(0xb1)+this[k(0xbc)]['name']+k(0xbd)+b+'.'),d;}else return this['logger'][k(0xc4)](k(0xb1)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),k(0xca)+b+k(0xaf);}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x122))/0x1*(-parseInt(f(0x127))/0x2)+-parseInt(f(0x132))/0x3*(parseInt(f(0x126))/0x4)+parseInt(f(0x12a))/0x5+parseInt(f(0x125))/0x6+parseInt(f(0x12d))/0x7+-parseInt(f(0x12e))/0x8*(-parseInt(f(0x12f))/0x9)+-parseInt(f(0x130))/0xa*(parseInt(f(0x123))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x2b36b));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x12b)]()[h(0x128)]('(((.+)+)+)+$')['toString']()[h(0x124)](a40a)['search'](h(0x133));});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x121;let f=c[d];return f;},a40d(a,b);}a40a();function a40c(){const k=['80uaWdDh','1978TMukFA','search','commandMap','1181330igbtFd','toString','getAllRegisteredCommands','768719dBOczC','224JiumCa','31626dJFgBn','3467450uEXKUA','createCommand','29733HATdqo','(((.+)+)+)+$','apply','98YhJmeh','11JwVGyd','constructor','1083426zWLwTD'];a40c=function(){return k;};return a40c();}export class CommandFactory{static [a40i(0x129)]={};static['registerCommand'](a,b){this['commandMap'][a]=b;}static[a40i(0x131)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a40i(0x12c)](){const j=a40i;return this[j(0x129)];}}
1
+ function a40c(){const l=['commandMap','search','(((.+)+)+)+$','91008ikcSFs','registerCommand','createCommand','apply','268696GSrTtR','44BoGiFt','6wQIQQj','6377608NgLEGF','7OFSSzE','4470axvvWm','15291sYbwPp','20847528wmJDYF','332268MhJRBQ','8shbZXt','989635DjTUSB','toString','constructor','getAllRegisteredCommands','1804gGdTtz'];a40c=function(){return l;};return a40c();}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1c4))/0x1*(-parseInt(f(0x1bb))/0x2)+-parseInt(f(0x1c3))/0x3*(parseInt(f(0x1bc))/0x4)+parseInt(f(0x1c5))/0x5*(parseInt(f(0x1bd))/0x6)+parseInt(f(0x1bf))/0x7*(parseInt(f(0x1be))/0x8)+parseInt(f(0x1c1))/0x9*(-parseInt(f(0x1c0))/0xa)+parseInt(f(0x1c9))/0xb*(parseInt(f(0x1cd))/0xc)+parseInt(f(0x1c2))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xc0df7));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1ba;let f=c[d];return f;},a40d(a,b);}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1c6)]()[h(0x1cb)](h(0x1cc))['toString']()[h(0x1c7)](a40a)[h(0x1cb)](h(0x1cc));});a40a();export class CommandFactory{static [a40i(0x1ca)]={};static[a40i(0x1ce)](a,b){this['commandMap'][a]=b;}static[a40i(0x1cf)](a,b){const j=a40i,c=this[j(0x1ca)][a];if(c)return new c(b);return null;}static[a40i(0x1c8)](){const k=a40i;return this[k(0x1ca)];}}
@@ -1 +1 @@
1
- const a41i=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xb7;let f=c[d];return f;},a41d(a,b);}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0xbe))/0x1+parseInt(f(0xd1))/0x2+parseInt(f(0xd3))/0x3+parseInt(f(0xcd))/0x4+-parseInt(f(0xba))/0x5+-parseInt(f(0xc5))/0x6+parseInt(f(0xb9))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x6c86f));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0xb7)]()[h(0xbb)](h(0xd0))[h(0xb7)]()['constructor'](a41a)[h(0xbb)](h(0xd0));});a41a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a41c(){const o=['isStartRoom','rewardItem','4119792souEUc','roomType','inventory','legarmor','description','puzzle','createItem','boots','2722904XXxexB','apply','gauntlets','(((.+)+)+)+$','84522ZWPYTL','toUpperCase','1891356lijvvW','createRoom','items','createPuzzle','type','toString','name','5765221UwScEe','1144695osVSQs','search','convertToRoomConfig','book','816944JGdlWk','helmet','gloves','key','INSIDE'];a41c=function(){return o;};return a41c();}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a41i(0xd4)](a){const j=a41i,b=this[j(0xbc)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[j(0xd5)]['forEach'](e=>{const k=j;d['addItem'](this[k(0xcb)](e));}),c[j(0xc7)]=d;}return a[j(0xca)]&&c['setPuzzle'](this[j(0xd6)](a[j(0xca)])),c;}[a41i(0xcb)](a){const l=a41i;switch(a[l(0xd7)]){case l(0xc1):return new Key(a[l(0xb8)],a[l(0xc9)]);case l(0xbd):return new Book(a[l(0xb8)],a['description'],a['content']);case'sword':return new Sword(a[l(0xb8)],a[l(0xc9)]);case'rifle':return new Rifle(a[l(0xb8)],a['description']);case l(0xbf):return new Helmet(a[l(0xb8)],a['description']);case'bodyarmor':return new BodyArmor(a[l(0xb8)],a[l(0xc9)]);case l(0xc8):return new LegArmor(a[l(0xb8)],a[l(0xc9)]);case l(0xcc):return new Boots(a['name'],a[l(0xc9)]);case l(0xc0):return new Gloves(a[l(0xb8)],a[l(0xc9)]);case l(0xcf):return new Gauntlets(a[l(0xb8)],a[l(0xc9)]);default:return new BasicItem(a[l(0xb8)],a[l(0xc9)]);}}[a41i(0xd6)](a){const m=a41i,b=this['createItem'](a[m(0xc4)]);return new Puzzle({...a,'rewardItem':b});}[a41i(0xbc)](a){const n=a41i,b=a['roomType']&&RoomType[a[n(0xc6)][n(0xd2)]()]?RoomType[a['roomType'][n(0xd2)]()]:RoomType[n(0xc2)];return{'name':a['name'],'description':a['description'],'isStartRoom':a[n(0xc3)],'roomType':b};}}
1
+ const a41l=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0xfb))/0x1+-parseInt(f(0x117))/0x2*(-parseInt(f(0x10e))/0x3)+parseInt(f(0xf9))/0x4+-parseInt(f(0x113))/0x5+-parseInt(f(0x109))/0x6*(-parseInt(f(0xf7))/0x7)+parseInt(f(0x101))/0x8*(-parseInt(f(0xfa))/0x9)+-parseInt(f(0x102))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x186bc));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0xf2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x103)]()['search']('(((.+)+)+)+$')[h(0x103)]()[h(0xff)](a41a)[h(0x106)](h(0xf1));});a41a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xf1;let f=c[d];return f;},a41d(a,b);}function a41c(){const o=['rewardItem','INSIDE','sword','bodyarmor','7UeVTFX','createPuzzle','744960oJlQNW','143199euDXMA','29206pHhSAs','inventory','toUpperCase','helmet','constructor','roomType','40IsEXWD','3631760izopmr','toString','book','key','search','items','boots','1026156uLCWzZ','type','name','setPuzzle','description','27399Uyjchy','puzzle','legarmor','content','forEach','86200iwtCZb','createItem','rifle','convertToRoomConfig','38DCXsas','(((.+)+)+)+$','apply'];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{['createRoom'](a){const i=a41d,b=this[i(0x116)](a),c=new Room(b);if(a[i(0x107)]){const d=new Inventory();a[i(0x107)][i(0x112)](e=>{const j=i;d['addItem'](this[j(0x114)](e));}),c[i(0xfc)]=d;}return a[i(0x10f)]&&c[i(0x10c)](this['createPuzzle'](a[i(0x10f)])),c;}['createItem'](a){const k=a41d;switch(a[k(0x10a)]){case k(0x105):return new Key(a['name'],a[k(0x10d)]);case k(0x104):return new Book(a[k(0x10b)],a[k(0x10d)],a[k(0x111)]);case k(0xf5):return new Sword(a[k(0x10b)],a[k(0x10d)]);case k(0x115):return new Rifle(a[k(0x10b)],a[k(0x10d)]);case k(0xfe):return new Helmet(a['name'],a['description']);case k(0xf6):return new BodyArmor(a['name'],a[k(0x10d)]);case k(0x110):return new LegArmor(a[k(0x10b)],a[k(0x10d)]);case k(0x108):return new Boots(a[k(0x10b)],a[k(0x10d)]);case'gloves':return new Gloves(a[k(0x10b)],a[k(0x10d)]);case'gauntlets':return new Gauntlets(a['name'],a[k(0x10d)]);default:return new BasicItem(a['name'],a['description']);}}[a41l(0xf8)](a){const m=a41l,b=this[m(0x114)](a[m(0xf3)]);return new Puzzle({...a,'rewardItem':b});}[a41l(0x116)](a){const n=a41l,b=a[n(0x100)]&&RoomType[a[n(0x100)][n(0xfd)]()]?RoomType[a[n(0x100)][n(0xfd)]()]:RoomType[n(0xf4)];return{'name':a['name'],'description':a[n(0x10d)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- const a42k=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=-parseInt(h(0xb3))/0x1*(parseInt(h(0xb8))/0x2)+parseInt(h(0xc1))/0x3+-parseInt(h(0xc7))/0x4*(-parseInt(h(0xad))/0x5)+-parseInt(h(0xb0))/0x6*(parseInt(h(0x9e))/0x7)+parseInt(h(0xb5))/0x8+-parseInt(h(0x9a))/0x9+-parseInt(h(0x9b))/0xa*(-parseInt(h(0xb9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x56b93));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a42d;if(c){const e=c[i(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const j=a42d;return a42a[j(0xca)]()[j(0xac)](j(0xa7))['toString']()[j(0x9c)](a42a)['search'](j(0xa7));});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 a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x9a;let f=c[d];return f;},a42d(a,b);}function a42c(){const s=['toString','3469005ehSjFP','670GDQNOF','constructor','look','21EnqIFf','currentRoom','apply','execute','help','determineStartRoom','getHelpMessage','rooms','registerCommands','(((.+)+)+)+$','currentLocation','Available\x20Commands:\x0a','scene','Welcome,\x20','search','5zluyWG','unlock','getDescription','1039806WwhrIs','drop','getWelcomeMessage','19483jHmGvh','getInstance','794568xMPSqW','say','toLowerCase','50IVVQZB','254518zKqLKO','getAllRegisteredCommands','use','createCommand','registerCommand','quit','initialize','name','94926XJCPHF','-\x20quit:\x20Exit\x20the\x20game.\x0a','player','clear','slice','equip','265732TQiaNf','instance','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit'];a42c=function(){return s;};return a42c();}export default class Game{static [a42k(0xc8)];['scene'];[a42k(0xc3)];[a42k(0x9f)];[a42k(0xa5)];constructor(a,b){const l=a42k;this['player']=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0xbf)](),this[l(0xc3)][l(0xa8)]=this[l(0xa3)](),this['registerCommands']();}[a42k(0xa6)](){const m=a42k;CommandFactory[m(0xbd)](m(0x9d),LookCommand),CommandFactory[m(0xbd)]('go',GoCommand),CommandFactory['registerCommand']('take',TakeCommand),CommandFactory[m(0xbd)](m(0xbb),UseCommand),CommandFactory[m(0xbd)](m(0xc6),EquipCommand),CommandFactory[m(0xbd)]('unequip',UnequipCommand),CommandFactory['registerCommand']('solve',SolveCommand),CommandFactory[m(0xbd)](m(0xb1),DropCommand),CommandFactory[m(0xbd)](m(0xae),UnlockCommand),CommandFactory['registerCommand']('lock',LockCommand),CommandFactory[m(0xbd)]('search',SearchCommand),CommandFactory[m(0xbd)](m(0xb6),SayCommand);}[a42k(0xa3)](){const n=a42k;return this[n(0xaa)][n(0xa3)]();}[a42k(0xb2)](){const o=a42k;return o(0xab)+this['player'][o(0xc0)];}static[a42k(0xb4)](a,b){const p=a42k;return!Game[p(0xc8)]&&(Game[p(0xc8)]=new Game(a,b)),Game[p(0xc8)];}['handleInput'](a){const q=a42k,b=a['trim']()['split']('\x20'),c=b[0x0][q(0xb7)](),d=b[q(0xc5)](0x1);if(c===q(0xbe))return null;if(c==='maka')return q(0xc9);if(c===q(0xa2))return this[q(0xa4)]();if(c===q(0xc4))return'';const e={'actor':this[q(0xc3)],'rooms':this[q(0xaa)]['getRooms'](),'scene':this[q(0xaa)]},f=CommandFactory[q(0xbc)](c,e);if(f){const g=f[q(0xa1)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a42k(0xa4)](){const r=a42k,a=CommandFactory[r(0xba)]();let b=r(0xa9);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xaf)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+=r(0xc2),b;}}
1
+ const a42k=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=parseInt(h(0xbd))/0x1+parseInt(h(0x8b))/0x2*(parseInt(h(0x94))/0x3)+-parseInt(h(0x9a))/0x4*(-parseInt(h(0x91))/0x5)+-parseInt(h(0x8c))/0x6+parseInt(h(0xbb))/0x7+parseInt(h(0x96))/0x8+parseInt(h(0xb1))/0x9*(-parseInt(h(0xb5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x1dda7));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a42d;if(c){const e=c[i(0xae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const j=a42d;return a42a[j(0xba)]()[j(0x90)](j(0xac))[j(0xba)]()[j(0x97)](a42a)[j(0x90)](j(0xac));});a42a();import{Scene}from'./models/scene.js';function a42c(){const s=['drop','22956ZiqcVo','719904ClcRzm','getWelcomeMessage','scene','currentRoom','search','5HwYQrN','help','getAllRegisteredCommands','3VxGpaV','player','197720WZBrzg','constructor','use','hasOwnProperty','693068MJTGfE','unequip','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','getInstance','quit','unlock','toLowerCase','initialize','currentLocation','instance','determineStartRoom','getRooms','split','clear','rooms','-\x20clear:\x20Clear\x20the\x20screen.\x0a','execute','equip','(((.+)+)+)+$','look','apply','createCommand','Welcome,\x20','675uOvABQ','name','-\x20quit:\x20Exit\x20the\x20game.\x0a','registerCommands','26710xvZmkd','registerCommand','Available\x20Commands:\x0a','maka','getDescription','toString','767081RPOjKq','getHelpMessage','123545ketYeb'];a42c=function(){return s;};return a42c();}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';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x8a;let f=c[d];return f;},a42d(a,b);}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];['scene'];[a42k(0x95)];[a42k(0x8f)];[a42k(0xa8)];constructor(a,b){const l=a42k;this[l(0x95)]=a,this[l(0x8e)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x8e)][l(0xa1)](),this['player'][l(0xa2)]=this[l(0xa4)](),this[l(0xb4)]();}[a42k(0xb4)](){const m=a42k;CommandFactory['registerCommand'](m(0xad),LookCommand),CommandFactory[m(0xb6)]('go',GoCommand),CommandFactory[m(0xb6)]('take',TakeCommand),CommandFactory[m(0xb6)](m(0x98),UseCommand),CommandFactory['registerCommand'](m(0xab),EquipCommand),CommandFactory[m(0xb6)](m(0x9b),UnequipCommand),CommandFactory[m(0xb6)]('solve',SolveCommand),CommandFactory['registerCommand'](m(0x8a),DropCommand),CommandFactory['registerCommand'](m(0x9f),UnlockCommand),CommandFactory['registerCommand']('lock',LockCommand),CommandFactory[m(0xb6)](m(0x90),SearchCommand),CommandFactory[m(0xb6)]('say',SayCommand);}[a42k(0xa4)](){const n=a42k;return this['scene'][n(0xa4)]();}[a42k(0x8d)](){const o=a42k;return o(0xb0)+this[o(0x95)][o(0xb2)];}static[a42k(0x9d)](a,b){const p=a42k;return!Game[p(0xa3)]&&(Game[p(0xa3)]=new Game(a,b)),Game[p(0xa3)];}['handleInput'](a){const q=a42k,b=a['trim']()[q(0xa6)]('\x20'),c=b[0x0][q(0xa0)](),d=b['slice'](0x1);if(c===q(0x9e))return null;if(c===q(0xb8))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0x92))return this['getHelpMessage']();if(c===q(0xa7))return'';const e={'actor':this[q(0x95)],'rooms':this[q(0x8e)][q(0xa5)](),'scene':this[q(0x8e)]},f=CommandFactory[q(0xaf)](c,e);if(f){const g=f[q(0xaa)](d);return g;}return q(0x9c)+c+'\x22.';}[a42k(0xbc)](){const r=a42k,a=CommandFactory[r(0x93)]();let b=r(0xb7);for(const c in a){if(a[r(0x99)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xb9)]()+'\x0a';}}return b+=r(0xa9),b+=r(0xb3),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x75))/0x1+parseInt(f(0x72))/0x2+-parseInt(f(0x71))/0x3*(parseInt(f(0x76))/0x4)+-parseInt(f(0x77))/0x5+parseInt(f(0x73))/0x6+-parseInt(f(0x78))/0x7*(parseInt(f(0x7c))/0x8)+parseInt(f(0x7b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x245f6));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x7a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a['toString']()['search']('(((.+)+)+)+$')[h(0x70)]()[h(0x6f)](a43a)[h(0x74)](h(0x79));});a43a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a43c(){var i=['(((.+)+)+)+$','apply','1063035jZnuKi','16udzUPl','constructor','toString','3upEOAn','561680AajaWt','453408pvOdtG','search','141780dKapip','400228fvncBI','1165080zrcVXA','469868OYjkHC'];a43c=function(){return i;};return a43c();}function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x6f;var f=c[d];return f;},a43d(a,b);}export*from'./scene.js';
1
+ (function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0xa4))/0x1+parseInt(f(0xa0))/0x2+parseInt(f(0xac))/0x3+parseInt(f(0xa2))/0x4*(parseInt(f(0xa1))/0x5)+parseInt(f(0xa6))/0x6+-parseInt(f(0xa5))/0x7*(parseInt(f(0xaa))/0x8)+-parseInt(f(0xa3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x991f2));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0xa9)]()[h(0xa8)](h(0xad))[h(0xa9)]()[h(0xab)](a43a)['search'](h(0xad));});a43a();export*from'./door.js';export*from'./inventory.js';function a43c(){var i=['apply','search','toString','5723512MxfmWB','constructor','1300467FSuYiW','(((.+)+)+)+$','1398680gEpQbM','25NzsQLx','462700SdzIUr','4379292nhBsEM','1108235lgyCRc','7tXlkPg','7357464mQmuAi'];a43c=function(){return i;};return a43c();}export*from'./item.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xa0;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 a44i=a44d;(function(a,b){var f=a44d,c=a();while(!![]){try{var d=-parseInt(f(0x20c))/0x1+-parseInt(f(0x1f7))/0x2*(-parseInt(f(0x1f6))/0x3)+parseInt(f(0x203))/0x4+parseInt(f(0x1fa))/0x5+parseInt(f(0x202))/0x6*(parseInt(f(0x1fb))/0x7)+parseInt(f(0x204))/0x8+-parseInt(f(0x1f2))/0x9*(parseInt(f(0x201))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x41f59));function a44c(){var n=['85350BRTxzi','39720lIgSRk','2736864fOpNsD','constructor','Failed\x20to\x20unlock\x20door:\x20','roomB','(((.+)+)+)+$','.\x20Used:\x20','To\x20','write','128512ATmELV','isLocked','Door\x20unlocked:\x20','logger','apply','getInstance','5364eJUGmx','.\x20Is\x20Locked:\x20','getOtherSide','roomA','1605TSHocS','2004haDuwB','checkIfLockable','search','2239005CFRSmF','28RXeaGp','attemptUnlock','unlockItemOrSolution','toString','name','isLockable','16680LvHmDB'];a44c=function(){return n;};return a44c();}var a44b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a44d;if(c){var e=c[g(0x1f0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){var h=a44d;return a44a[h(0x1fe)]()[h(0x1f9)](h(0x208))[h(0x1fe)]()[h(0x205)](a44a)[h(0x1f9)](h(0x208));});function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0x1f0;var f=c[d];return f;},a44d(a,b);}a44a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a44i(0x207)];['isLocked'];[a44i(0x1fd)];['name'];[a44i(0x20f)];[a44i(0x200)];constructor(a){var j=a44i;super(),this[j(0x1f5)]=a[j(0x1f5)],this[j(0x207)]=a[j(0x207)],this[j(0x20d)]=a[j(0x20d)]||![],this[j(0x1fd)]=a['unlockItemOrSolution'],this['name']=a[j(0x1ff)]?capitalCase(a[j(0x1ff)]):j(0x20a)+a[j(0x207)][j(0x1ff)],this['logger']=Logger[j(0x1f1)](),this[j(0x200)]=!!a[j(0x1fd)],this[j(0x20f)][j(0x20b)]('Door\x20created\x20between\x20'+this[j(0x1f5)][j(0x1ff)]+'\x20and\x20'+this[j(0x207)][j(0x1ff)]+j(0x1f3)+this['isLocked']);}[a44i(0x1f4)](a){var k=a44i;return this['roomA']===a?this[k(0x207)]:this['roomA'];}[a44i(0x1fc)](a){var l=a44i;if(this['isLocked']&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this[l(0x20d)]=![],this[l(0x20f)]['write'](l(0x20e)+this[l(0x1ff)]+l(0x209)+a),!![];return this[l(0x20f)][l(0x20b)](l(0x206)+this[l(0x1ff)]+l(0x209)+a),![];}['checkIfLocked'](){return this['isLocked'];}[a44i(0x1f8)](){var m=a44i;return this[m(0x200)];}}
1
+ var a44h=a44d;function a44c(){var n=['762elqYOF','roomA','unlockItemOrSolution','6730JAYDte','isLockable','3433016ANYqQS','Door\x20unlocked:\x20','9VzzXaw','getInstance','.\x20Is\x20Locked:\x20','Failed\x20to\x20unlock\x20door:\x20','100779gPlJRN','Door\x20created\x20between\x20','checkIfLocked','14225CGPayI','48eRhmVR','11IpdhgZ','.\x20Used:\x20','logger','(((.+)+)+)+$','To\x20','177982hpQXbk','getOtherSide','attemptUnlock','roomB','write','9505164cSJBZM','\x20and\x20','isLocked','search','toString','628RcQOZI','1266aXNbfm','name'];a44c=function(){return n;};return a44c();}(function(a,b){var f=a44d,c=a();while(!![]){try{var d=parseInt(f(0xd1))/0x1+-parseInt(f(0xe6))/0x2*(parseInt(f(0xe8))/0x3)+parseInt(f(0xe5))/0x4*(parseInt(f(0xd4))/0x5)+parseInt(f(0xd5))/0x6*(parseInt(f(0xdb))/0x7)+-parseInt(f(0xed))/0x8*(-parseInt(f(0xcd))/0x9)+-parseInt(f(0xeb))/0xa*(parseInt(f(0xd6))/0xb)+-parseInt(f(0xe0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x3747b));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(0xe4)]()[g(0xe3)](g(0xd9))[g(0xe4)]()['constructor'](a44a)[g(0xe3)]('(((.+)+)+)+$');});a44a();import{Logger}from'../utilities/logger.js';function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0xcc;var f=c[d];return f;},a44d(a,b);}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a44h(0xe9)];[a44h(0xde)];[a44h(0xe2)];[a44h(0xea)];[a44h(0xe7)];[a44h(0xd8)];[a44h(0xec)];constructor(a){var i=a44h;super(),this[i(0xe9)]=a[i(0xe9)],this[i(0xde)]=a[i(0xde)],this['isLocked']=a[i(0xe2)]||![],this[i(0xea)]=a[i(0xea)],this[i(0xe7)]=a[i(0xe7)]?capitalCase(a[i(0xe7)]):i(0xda)+a[i(0xde)]['name'],this[i(0xd8)]=Logger[i(0xce)](),this['isLockable']=!!a[i(0xea)],this['logger'][i(0xdf)](i(0xd2)+this['roomA']['name']+i(0xe1)+this[i(0xde)][i(0xe7)]+i(0xcf)+this[i(0xe2)]);}[a44h(0xdc)](a){var j=a44h;return this[j(0xe9)]===a?this[j(0xde)]:this[j(0xe9)];}[a44h(0xdd)](a){var k=a44h;if(this[k(0xe2)]&&this[k(0xea)]&&this['unlockItemOrSolution']===a)return this[k(0xe2)]=![],this[k(0xd8)][k(0xdf)](k(0xcc)+this[k(0xe7)]+'.\x20Used:\x20'+a),!![];return this['logger'][k(0xdf)](k(0xd0)+this['name']+k(0xd7)+a),![];}[a44h(0xd3)](){var l=a44h;return this[l(0xe2)];}['checkIfLockable'](){var m=a44h;return this[m(0xec)];}}
@@ -1 +1 @@
1
- const a45i=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x92;let f=c[d];return f;},a45d(a,b);}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0xb3))/0x1*(parseInt(f(0xb9))/0x2)+parseInt(f(0xac))/0x3+parseInt(f(0xa5))/0x4+-parseInt(f(0xb6))/0x5*(-parseInt(f(0x9a))/0x6)+-parseInt(f(0xa0))/0x7*(-parseInt(f(0xb7))/0x8)+-parseInt(f(0xa7))/0x9+-parseInt(f(0x99))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xa2d78));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0xad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x9f)]()[h(0x93)]('(((.+)+)+)+$')[h(0x9f)]()['constructor'](a45a)[h(0x93)](h(0xb5));});a45a();function a45c(){const r=['search','\x20from\x20inventory.','Retrieved\x20details\x20for\x20item:\x20','logger','Failed\x20to\x20remove\x20item:\x20','Removed\x20item:\x20','18273520hDAHhJ','42LlrIyV','listItems','get','getItem','.\x20Item\x20not\x20found.','toString','660674NMsjkR','set','addItem','map','join','4956004CrtbfA','keys','1537155NgUZGN','write','Checked\x20for\x20item:\x20','getAllItems','\x20to\x20inventory.','2480169DOThku','apply','values','items','getWeight','name','Listed\x20items\x20in\x20inventory:\x20','789vAeOqI','toLowerCase','(((.+)+)+)+$','629780pyCEvd','16YAjsDI','delete','1194clPIRn','has','removeItem','Added\x20item:\x20'];a45c=function(){return r;};return a45c();}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a45i(0xaf)];[a45i(0x96)];constructor(){const j=a45i;super(),this[j(0xaf)]=new Map(),this[j(0x96)]=Logger['getInstance']();}[a45i(0xa2)](a){const k=a45i;this[k(0xaf)][k(0xa1)](a[k(0xb1)][k(0xb4)](),a),this[k(0x96)][k(0xa8)](k(0x92)+a['name']+k(0xab));}[a45i(0xbb)](a){const l=a45i,b=this[l(0x9d)](a);if(b)return this['items'][l(0xb8)](a[l(0xb4)]()),this[l(0x96)][l(0xa8)](l(0x98)+a+l(0x94)),b;return this[l(0x96)][l(0xa8)](l(0x97)+a+l(0x9e)),null;}['hasItem'](a){const m=a45i,b=this[m(0xaf)][m(0xba)](a[m(0xb4)]()),c=[...this['items'][m(0xa6)]()];return this['logger'][m(0xa8)](m(0xa9)+a+'\x20in\x20'+c[m(0xa4)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a45i(0x9d)](a){const n=a45i,b=this[n(0xaf)][n(0x9c)](a[n(0xb4)]())||null;return b?this[n(0x96)][n(0xa8)](n(0x95)+a+'.'):this[n(0x96)][n(0xa8)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+n(0x9e)),b;}[a45i(0x9b)](){const o=a45i,a=[...this[o(0xaf)][o(0xa6)]()],b=a[o(0xa3)](c=>capitalCase(c));return this[o(0x96)][o(0xa8)](o(0xb2)+b['join'](',\x20')+'.'),a;}[a45i(0xb0)](){const p=a45i;let a=0x0;for(const b of this[p(0xaf)][p(0xae)]()){a+=b['weight'];}return a;}[a45i(0xaa)](){const q=a45i;return[...this['items'][q(0xae)]()];}}
1
+ const a45i=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x7a;let f=c[d];return f;},a45d(a,b);}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x9a))/0x1*(parseInt(f(0x95))/0x2)+parseInt(f(0x9d))/0x3+-parseInt(f(0x97))/0x4+parseInt(f(0x86))/0x5+parseInt(f(0x99))/0x6*(parseInt(f(0x89))/0x7)+-parseInt(f(0x8b))/0x8*(parseInt(f(0x85))/0x9)+-parseInt(f(0x87))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x2b93b));function a45c(){const r=['items','addItem','name','454VYDsvK','(((.+)+)+)+$','213428KAjxLJ','toLowerCase','102vPStOi','199lypFHq','listItems','toString','913725TCrBfx','apply','removeItem','weight','set','getWeight','Retrieved\x20details\x20for\x20item:\x20','Failed\x20to\x20remove\x20item:\x20','hasItem','logger','map','.\x20Item\x20not\x20found.','write','Added\x20item:\x20','Removed\x20item:\x20','getItem','232803mfUiTL','1497635mrHfWR','2507910hMgTFM','search','5943NxxJpQ','values','56tOchJr','\x20to\x20inventory.','Checked\x20for\x20item:\x20','.\x20Exists:\x20','keys','constructor','join'];a45c=function(){return r;};return a45c();}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x9c)]()[h(0x88)](h(0x96))[h(0x9c)]()[h(0x90)](a45a)['search'](h(0x96));});a45a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a45i(0x92)];[a45i(0x7e)];constructor(){const j=a45i;super(),this['items']=new Map(),this[j(0x7e)]=Logger['getInstance']();}[a45i(0x93)](a){const k=a45i;this[k(0x92)][k(0xa1)](a[k(0x94)][k(0x98)](),a),this['logger']['write'](k(0x82)+a[k(0x94)]+k(0x8c));}[a45i(0x9f)](a){const l=a45i,b=this[l(0x84)](a);if(b)return this['items']['delete'](a['toLowerCase']()),this[l(0x7e)]['write'](l(0x83)+a+'\x20from\x20inventory.'),b;return this[l(0x7e)][l(0x81)](l(0x7c)+a+l(0x80)),null;}[a45i(0x7d)](a){const m=a45i,b=this[m(0x92)]['has'](a['toLowerCase']()),c=[...this['items']['keys']()];return this[m(0x7e)][m(0x81)](m(0x8d)+a+'\x20in\x20'+c['join'](',\x20')+m(0x8e)+b+'.'),b;}[a45i(0x84)](a){const n=a45i,b=this[n(0x92)]['get'](a[n(0x98)]())||null;return b?this[n(0x7e)][n(0x81)](n(0x7b)+a+'.'):this[n(0x7e)][n(0x81)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+n(0x80)),b;}[a45i(0x9b)](){const o=a45i,a=[...this[o(0x92)][o(0x8f)]()],b=a[o(0x7f)](c=>capitalCase(c));return this[o(0x7e)][o(0x81)]('Listed\x20items\x20in\x20inventory:\x20'+b[o(0x91)](',\x20')+'.'),a;}[a45i(0x7a)](){const p=a45i;let a=0x0;for(const b of this[p(0x92)][p(0x8a)]()){a+=b[p(0xa0)];}return a;}['getAllItems'](){const q=a45i;return[...this[q(0x92)][q(0x8a)]()];}}
@@ -1 +1 @@
1
- var a46h=a46d;function a46c(){var k=['size','2260088asxJEC','(((.+)+)+)+$','186960dCBcJW','1488786uUySEn','uuid','10oYiGLu','category','texture','weight','7KWSfZs','toString','2172699FCYWbI','8EVJueS','color','constructor','799196GOoZBw','rating','description','104427uhgdLv','name','shape','search','1528025OSUChf'];a46c=function(){return k;};return a46c();}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x1a7))/0x1+-parseInt(f(0x1b1))/0x2*(-parseInt(f(0x1b7))/0x3)+-parseInt(f(0x1b4))/0x4+parseInt(f(0x1a3))/0x5+parseInt(f(0x1a8))/0x6+parseInt(f(0x1ae))/0x7*(-parseInt(f(0x1a5))/0x8)+parseInt(f(0x1b0))/0x9*(-parseInt(f(0x1aa))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x26233));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0x1af)]()['search'](g(0x1a6))[g(0x1af)]()[g(0x1b3)](a46a)[g(0x1a2)](g(0x1a6));});a46a();import{v4 as a46e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1a0;var f=c[d];return f;},a46d(a,b);}export class Item extends AbstractItem{[a46h(0x1a9)];[a46h(0x1a0)];[a46h(0x1b6)];['size'];[a46h(0x1ab)];['shape'];[a46h(0x1b2)];['texture'];['rating'];[a46h(0x1ad)];constructor(a){var i=a46h;super(),this['name']=a[i(0x1a0)],this['description']=a[i(0x1b6)],this['size']=a[i(0x1a4)],this[i(0x1ab)]=a[i(0x1ab)],this[i(0x1a1)]=a[i(0x1a1)],this[i(0x1b2)]=a['color'],this['texture']=a[i(0x1ac)],this[i(0x1b5)]=a[i(0x1b5)],this[i(0x1ad)]=a[i(0x1ad)],this[i(0x1a9)]=a46e();}['use'](){var j=a46h;return'You\x20use\x20the\x20'+this[j(0x1a0)]+'.\x20Nothing\x20special\x20happens.';}}
1
+ var a46h=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x193))/0x1*(parseInt(f(0x19d))/0x2)+parseInt(f(0x1a2))/0x3*(parseInt(f(0x19a))/0x4)+-parseInt(f(0x1a5))/0x5*(parseInt(f(0x19c))/0x6)+parseInt(f(0x1a7))/0x7+-parseInt(f(0x195))/0x8*(parseInt(f(0x194))/0x9)+-parseInt(f(0x1aa))/0xa*(parseInt(f(0x192))/0xb)+-parseInt(f(0x191))/0xc*(-parseInt(f(0x190))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x3815c));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a['toString']()['search']('(((.+)+)+)+$')[g(0x1a1)]()[g(0x19e)](a46a)['search'](g(0x1a8));});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x190;var f=c[d];return f;},a46d(a,b);}a46a();import{v4 as a46e}from'uuid';function a46c(){var k=['(((.+)+)+)+$','texture','880emYZJe','1781BPXcZL','61356BePxxT','51722cFgWpq','1OmEnTe','68193uJPAAw','368Mnvrwd','name','size','description','color','26944xFBYIM','You\x20use\x20the\x20','41190oWBPDu','222314sGtaqn','constructor','weight','shape','toString','63BLMqII','category','rating','235gQtjwP','uuid','2531221NHeQzW'];a46c=function(){return k;};return a46c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];[a46h(0x196)];[a46h(0x198)];[a46h(0x197)];['category'];[a46h(0x1a0)];[a46h(0x199)];[a46h(0x1a9)];[a46h(0x1a4)];[a46h(0x19f)];constructor(a){var i=a46h;super(),this['name']=a[i(0x196)],this[i(0x198)]=a[i(0x198)],this[i(0x197)]=a[i(0x197)],this[i(0x1a3)]=a[i(0x1a3)],this['shape']=a[i(0x1a0)],this[i(0x199)]=a[i(0x199)],this[i(0x1a9)]=a[i(0x1a9)],this[i(0x1a4)]=a[i(0x1a4)],this[i(0x19f)]=a[i(0x19f)],this[i(0x1a6)]=a46e();}['use'](){var j=a46h;return j(0x19b)+this[j(0x196)]+'.\x20Nothing\x20special\x20happens.';}}
@@ -1 +1 @@
1
- const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x19f))/0x1+-parseInt(f(0x195))/0x2*(parseInt(f(0x1a0))/0x3)+parseInt(f(0x18a))/0x4*(parseInt(f(0x192))/0x5)+parseInt(f(0x189))/0x6*(parseInt(f(0x18d))/0x7)+parseInt(f(0x1a2))/0x8*(parseInt(f(0x18f))/0x9)+parseInt(f(0x197))/0xa+-parseInt(f(0x19d))/0xb*(parseInt(f(0x198))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x39b4f));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x191)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x199)]()['search']('(((.+)+)+)+$')[h(0x199)]()[h(0x19c)](a47a)[h(0x18b)](h(0x1a4));});a47a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a47i(0x18e)];[a47i(0x188)];[a47i(0x19e)];[a47i(0x19b)];constructor(a,b,c,d){const j=a47i;super(d),this[j(0x18e)]=a,this[j(0x188)]=b,this[j(0x19e)]=c;}get['name'](){const k=a47i;return this[k(0x18e)];}[a47i(0x193)](){const l=a47i;return this['_dialogue'][Math[l(0x190)](Math[l(0x196)]()*this[l(0x188)][l(0x19a)])];}[a47i(0x194)](a){const m=a47i,b=a[Math[m(0x190)](Math[m(0x196)]()*a[m(0x19a)])];this[m(0x1a3)](b[m(0x18c)]);}[a47i(0x1a3)](a){const n=a47i,b={'actor':this,'rooms':this['rooms'],'scene':this['scene']},c=new GoCommand(b);c[n(0x1a1)]([a]);}}function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x188;let f=c[d];return f;},a47d(a,b);}function a47c(){const o=['(((.+)+)+)+$','_dialogue','3378gKriUo','554188JDgguj','search','name','4004aPDsWk','_name','9cpPNxk','floor','apply','5QqZcRB','speak','autonomousMove','66LyNyNo','random','3171960txUbvR','47832MjSfuL','toString','length','scene','constructor','1837kqPsMy','rooms','199883jmAexd','7278ZWGCES','execute','3233528DyBonS','moveTo'];a47c=function(){return o;};return a47c();}
1
+ const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x140))/0x1+-parseInt(f(0x14f))/0x2*(parseInt(f(0x13b))/0x3)+parseInt(f(0x13a))/0x4*(parseInt(f(0x142))/0x5)+-parseInt(f(0x13e))/0x6+-parseInt(f(0x144))/0x7+-parseInt(f(0x13f))/0x8+parseInt(f(0x145))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x63d65));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x13c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x143)]()['search'](h(0x149))[h(0x143)]()[h(0x139)](a47a)[h(0x14c)]('(((.+)+)+)+$');});function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x139;let f=c[d];return f;},a47d(a,b);}a47a();import{Player}from'./player.js';function a47c(){const o=['apply','rooms','3728904xLguZR','2487176ErDmBQ','126786elyDLL','scene','2124215PzdYrA','toString','1343762MnqjBm','12576546mmxfsW','_name','_dialogue','length','(((.+)+)+)+$','moveTo','floor','search','name','execute','831486dXaxeX','random','constructor','4VQpsdP','3RhkUUh'];a47c=function(){return o;};return a47c();}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a47i(0x146)];[a47i(0x147)];[a47i(0x13d)];[a47i(0x141)];constructor(a,b,c,d){const j=a47i;super(d),this[j(0x146)]=a,this['_dialogue']=b,this['rooms']=c;}get['name'](){const k=a47i;return this[k(0x146)];}['speak'](){const l=a47i;return this[l(0x147)][Math['floor'](Math[l(0x150)]()*this[l(0x147)][l(0x148)])];}['autonomousMove'](a){const m=a47i,b=a[Math[m(0x14b)](Math[m(0x150)]()*a[m(0x148)])];this[m(0x14a)](b[m(0x14d)]);}[a47i(0x14a)](a){const n=a47i,b={'actor':this,'rooms':this[n(0x13d)],'scene':this[n(0x141)]},c=new GoCommand(b);c[n(0x14e)]([a]);}}
@@ -1 +1 @@
1
- const a48i=a48d;function a48c(){const B=['boots','6581622LOOelq','shield','Gloves','_currentLocation','removeInventory','hear','Helmet','_equipment','Weapon','rightHand','torso','search','Removed\x20','72qkuPyY','.\x20You\x20must\x20unequip\x20it\x20first.','You\x20don\x27t\x20have\x20','head','Failed\x20to\x20remove\x20','equip','arms','Hat','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','\x20says:\x20\x22','\x20is\x20no\x20longer\x20listeng\x20in\x20','apply','name','getInstance','maxCarryingWeight','LegArmor','4325376PwcYfs','You\x20equipped\x20','\x20in\x20your\x20inventory.','_maxCarryingWeight','logger','includes','\x20slot.','4zxiQwt','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','hat','canEquip','inventoryItems','unequipBySlot','\x20to\x20player\x27s\x20inventory.','category','values','BodyArmor','armarmor','body\x20armor','addInventory','toString','hasItem','off','enterRoom','Max\x20carrying\x20weight\x20must\x20be\x20positive.','Nexus','arm\x20armor','write','You\x20unequipped\x20','9hgpbiK','Added\x20','gloves','equipment','Shield','leaveRoom','788081xIxoDA','43986LjThfy','weapon','leftHand','determineEquipmentSlot','legarmor','speak','currentWeight','weight','102lJIsKw','addItem','_inventory','_playerName','feet','helmet','inventory','\x20is\x20now\x20listening\x20in\x20room\x20','\x20from\x20player\x27s\x20inventory.','bind','removeItem','967980bfyuBk','getWeight','4653130FXoJRz','ArmArmor','bodyarmor','2904970UCkYNQ','leg\x20armor','(((.+)+)+)+$','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','toLowerCase','error'];a48c=function(){return B;};return a48c();}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x1de))/0x1+-parseInt(f(0x1d3))/0x2*(-parseInt(f(0x1cb))/0x3)+parseInt(f(0x20e))/0x4*(-parseInt(f(0x1e0))/0x5)+-parseInt(f(0x1ea))/0x6+-parseInt(f(0x1ca))/0x7*(-parseInt(f(0x1f7))/0x8)+-parseInt(f(0x1c4))/0x9*(-parseInt(f(0x1e3))/0xa)+-parseInt(f(0x207))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x922b3));function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a48d(a,b);}const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x202)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x21b)]()[h(0x1f5)](h(0x1e5))[h(0x21b)]()['constructor'](a48a)['search']('(((.+)+)+)+$');});a48a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a48i(0x1d6)];['_currentLocation'];['_inventory'];[a48i(0x1f1)];[a48i(0x20a)]=0x32;[a48i(0x20b)];constructor(a){const j=a48i;super(),this[j(0x1d6)]=a['playerName'],this[j(0x1ed)]=a['startLocation']||new Room({'name':j(0x220),'description':'A\x20featureless\x20room'}),this[j(0x1d5)]=new Inventory(),this[j(0x20b)]=Logger[j(0x204)]();if(a?.[j(0x212)])for(const b of a[j(0x212)]){this[j(0x1d5)]['addItem'](b);}this[j(0x1f1)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a48i;return this[k(0x1d6)];}get['currentLocation'](){const l=a48i;return this[l(0x1ed)];}set['currentLocation'](a){const m=a48i;this[m(0x1ed)]!==a&&(this['leaveRoom'](),this[m(0x21e)](a)),this[m(0x1ed)]=a;}get[a48i(0x1d9)](){return this['_inventory'];}get[a48i(0x1c7)](){return this['_equipment'];}set['equipment'](a){const n=a48i;this[n(0x1f1)]=a;}get[a48i(0x205)](){const o=a48i;return this[o(0x20a)];}set['maxCarryingWeight'](a){const p=a48i;a>0x0?this[p(0x20a)]=a:console[p(0x1e8)](p(0x21f));}get[a48i(0x1d1)](){const q=a48i;let a=this['_inventory'][q(0x1df)]();for(const b in this['_equipment']){const c=this['_equipment'][b];c&&(a+=c['weight']);}return a;}[a48i(0x21a)](a){const r=a48i;if(this[r(0x1d1)]+a[r(0x1d2)]>this['maxCarryingWeight']){this[r(0x20b)][r(0x1c2)](r(0x1ff));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[r(0x1d5)][r(0x1d4)](a),this[r(0x20b)][r(0x1c2)](r(0x1c5)+a['name']+r(0x214));}[a48i(0x1ee)](a){const s=a48i;if(this[s(0x1d5)][s(0x1dd)](a['name']))return this[s(0x20b)]['write'](s(0x1f6)+a[s(0x203)]+s(0x1db)),!![];return this['logger']['write'](s(0x1fb)+a[s(0x203)]+s(0x1db)),![];}[a48i(0x1fc)](a){const t=a48i;if(!this[t(0x1d5)][t(0x21c)](a[t(0x203)]))return t(0x1f9)+a['name']+t(0x209);if(!this['canEquip'](a))return'You\x20can\x27t\x20equip\x20'+a[t(0x203)]+'.';const b=this[t(0x1ce)](a[t(0x215)]);if(!b)return a['name']+t(0x1e6);if(this[t(0x1c7)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+t(0x1f8);return this[t(0x1c7)][b]=a,this[t(0x1ee)](a),t(0x208)+a[t(0x203)]+'.';}['unequip'](a){const u=a48i;let b=a;if(!this[u(0x1c7)][camelCase(b)]){b=this[u(0x1ce)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this['unequipBySlot'](b);}['determineEquipmentSlot'](a){const v=a48i;switch(a[v(0x1e7)]()){case Category[v(0x1f2)][v(0x1e7)]():return v(0x1f3);case Category[v(0x1c8)]['toLowerCase']():return v(0x1cd);case Category[v(0x1ec)][v(0x1e7)]():return v(0x1c6);case Category[v(0x1f0)][v(0x1e7)]():case Category[v(0x1fe)][v(0x1e7)]():return v(0x1fa);case Category['Boots']['toLowerCase']():return v(0x1d7);case Category[v(0x206)][v(0x1e7)]():return'legs';case Category[v(0x1e1)][v(0x1e7)]():return v(0x1fd);case Category[v(0x217)][v(0x1e7)]():return v(0x1f4);case v(0x1cc):return v(0x1f3);case v(0x1eb):return v(0x1cd);case v(0x1c6):return'gloves';case v(0x1d8):case v(0x210):return v(0x1fa);case v(0x1e9):return v(0x1d7);case v(0x1e4):case v(0x1cf):return'legs';case v(0x1c1):case v(0x218):return v(0x1fd);case v(0x219):case v(0x1e2):case v(0x1f4):return v(0x1f4);default:return null;}}[a48i(0x211)](a){const w=a48i;return Object[w(0x216)](Category)[w(0x20c)](a['category']);}[a48i(0x213)](a){const x=a48i,b=this[x(0x1c7)][a];if(!b)return x(0x20f)+a+x(0x20d);return this[x(0x21a)](b),this['equipment'][a]=null,x(0x1c3)+b['name']+'.';}[a48i(0x1ef)](a,b){const y=a48i;a!==this&&this[y(0x20b)]['log'](a[y(0x203)]+y(0x200)+b+'\x22');}[a48i(0x21e)](a){const z=a48i;this['_currentLocation']=a,a['on'](z(0x1d0),this['hear'][z(0x1dc)](this)),this[z(0x20b)]['write'](this[z(0x203)]+z(0x1da)+a[z(0x203)]);}[a48i(0x1c9)](){const A=a48i;this[A(0x1ed)]&&(this[A(0x1ed)][A(0x21d)](A(0x1d0),this[A(0x1ef)][A(0x1dc)](this)),this[A(0x20b)][A(0x1c2)](this['name']+A(0x201)+this[A(0x1ed)][A(0x203)]));}}
1
+ function a48c(){const B=['You\x20unequipped\x20','removeInventory','weight','Hat','ArmArmor','963088gcnKWI','bind','_inventory','addInventory','currentLocation','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','toString','equip','includes','5005773OKXyHO','gloves','BodyArmor','legs','Nexus','leg\x20armor','hear','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','hat','Weapon','canEquip','leftHand','_currentLocation','body\x20armor','Failed\x20to\x20remove\x20','_playerName','arms','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','apply','values','Boots','14719XxjBZN','name','maxCarryingWeight','.\x20You\x20must\x20unequip\x20it\x20first.','logger','Shield','search','unequipBySlot','LegArmor','startLocation','5CxYTEP','log','speak','7960rVfvJY','helmet','_maxCarryingWeight','legarmor','toLowerCase','70GzGiqf','feet','958468QiJvni','equipment','getWeight','_equipment','addItem','currentWeight','260418XQatYu','removeItem','rightHand','131127oqnxsB','playerName','determineEquipmentSlot','initialEquipment','weapon','24zXHlXd','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','\x20from\x20player\x27s\x20inventory.','inventoryItems','getInstance','7546CQwQdN','shield','Gloves','constructor','torso','\x20to\x20player\x27s\x20inventory.','error','You\x20equipped\x20','enterRoom','write','head','off','\x20slot.','(((.+)+)+)+$','inventory','unequip','leaveRoom'];a48c=function(){return B;};return a48c();}const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x1ee))/0x1*(-parseInt(f(0x1a5))/0x2)+parseInt(f(0x1b0))/0x3+parseInt(f(0x1d0))/0x4+-parseInt(f(0x19d))/0x5*(parseInt(f(0x1ad))/0x6)+parseInt(f(0x1a7))/0x7*(-parseInt(f(0x1b5))/0x8)+parseInt(f(0x1d9))/0x9+parseInt(f(0x1a0))/0xa*(-parseInt(f(0x1ba))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x56d1c));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1d6)]()[h(0x1f4)](h(0x1c7))['toString']()[h(0x1bd)](a48a)['search'](h(0x1c7));});a48a();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x19b;let f=c[d];return f;},a48d(a,b);}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a48i(0x1e8)];[a48i(0x1e5)];[a48i(0x1d2)];['_equipment'];[a48i(0x1a2)]=0x32;[a48i(0x1f2)];constructor(a){const j=a48i;super(),this['_playerName']=a[j(0x1b1)],this[j(0x1e5)]=a[j(0x19c)]||new Room({'name':j(0x1dd),'description':'A\x20featureless\x20room'}),this[j(0x1d2)]=new Inventory(),this['logger']=Logger[j(0x1b9)]();if(a?.[j(0x1b8)])for(const b of a['inventoryItems']){this['_inventory'][j(0x1ab)](b);}this[j(0x1aa)]=a?.[j(0x1b3)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a48i(0x1ef)](){return this['_playerName'];}get[a48i(0x1d4)](){return this['_currentLocation'];}set[a48i(0x1d4)](a){const k=a48i;this[k(0x1e5)]!==a&&(this['leaveRoom'](),this['enterRoom'](a)),this['_currentLocation']=a;}get[a48i(0x1c8)](){const l=a48i;return this[l(0x1d2)];}get[a48i(0x1a8)](){const m=a48i;return this[m(0x1aa)];}set[a48i(0x1a8)](a){const n=a48i;this[n(0x1aa)]=a;}get[a48i(0x1f0)](){const o=a48i;return this[o(0x1a2)];}set[a48i(0x1f0)](a){const p=a48i;a>0x0?this['_maxCarryingWeight']=a:console[p(0x1c0)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a48i(0x1ac)](){const q=a48i;let a=this[q(0x1d2)][q(0x1a9)]();for(const b in this[q(0x1aa)]){const c=this[q(0x1aa)][b];c&&(a+=c[q(0x1cd)]);}return a;}[a48i(0x1d3)](a){const r=a48i;if(this[r(0x1ac)]+a['weight']>this[r(0x1f0)]){this['logger'][r(0x1c3)](r(0x1b6));throw new Error(r(0x1ea));}this[r(0x1d2)][r(0x1ab)](a),this[r(0x1f2)]['write']('Added\x20'+a[r(0x1ef)]+r(0x1bf));}[a48i(0x1cc)](a){const s=a48i;if(this[s(0x1d2)][s(0x1ae)](a['name']))return this[s(0x1f2)][s(0x1c3)]('Removed\x20'+a['name']+s(0x1b7)),!![];return this[s(0x1f2)][s(0x1c3)](s(0x1e7)+a[s(0x1ef)]+s(0x1b7)),![];}[a48i(0x1d7)](a){const t=a48i;if(!this[t(0x1d2)]['hasItem'](a[t(0x1ef)]))return'You\x20don\x27t\x20have\x20'+a[t(0x1ef)]+'\x20in\x20your\x20inventory.';if(!this[t(0x1e3)](a))return'You\x20can\x27t\x20equip\x20'+a[t(0x1ef)]+'.';const b=this[t(0x1b2)](a['category']);if(!b)return a[t(0x1ef)]+t(0x1d5);if(this[t(0x1a8)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+t(0x1f1);return this[t(0x1a8)][b]=a,this[t(0x1cc)](a),t(0x1c1)+a[t(0x1ef)]+'.';}[a48i(0x1c9)](a){const u=a48i;let b=a;if(!this[u(0x1a8)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[u(0x1f5)](b);}['determineEquipmentSlot'](a){const v=a48i;switch(a[v(0x1a4)]()){case Category[v(0x1e2)][v(0x1a4)]():return'rightHand';case Category[v(0x1f3)][v(0x1a4)]():return v(0x1e4);case Category[v(0x1bc)][v(0x1a4)]():return v(0x1da);case Category['Helmet'][v(0x1a4)]():case Category[v(0x1ce)]['toLowerCase']():return v(0x1c4);case Category[v(0x1ed)]['toLowerCase']():return v(0x1a6);case Category[v(0x19b)][v(0x1a4)]():return'legs';case Category[v(0x1cf)][v(0x1a4)]():return v(0x1e9);case Category[v(0x1db)][v(0x1a4)]():return'torso';case v(0x1b4):return v(0x1af);case v(0x1bb):return v(0x1e4);case v(0x1da):return v(0x1da);case v(0x1a1):case v(0x1e1):return v(0x1c4);case'boots':return v(0x1a6);case v(0x1de):case v(0x1a3):return v(0x1dc);case'arm\x20armor':case'armarmor':return v(0x1e9);case v(0x1e6):case'bodyarmor':case v(0x1be):return'torso';default:return null;}}['canEquip'](a){const w=a48i;return Object[w(0x1ec)](Category)[w(0x1d8)](a['category']);}[a48i(0x1f5)](a){const x=a48i,b=this[x(0x1a8)][a];if(!b)return x(0x1e0)+a+x(0x1c6);return this[x(0x1d3)](b),this['equipment'][a]=null,x(0x1cb)+b[x(0x1ef)]+'.';}[a48i(0x1df)](a,b){const y=a48i;a!==this&&this['logger'][y(0x19e)](a[y(0x1ef)]+'\x20says:\x20\x22'+b+'\x22');}[a48i(0x1c2)](a){const z=a48i;this['_currentLocation']=a,a['on'](z(0x19f),this[z(0x1df)][z(0x1d1)](this)),this['logger'][z(0x1c3)](this['name']+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[z(0x1ef)]);}[a48i(0x1ca)](){const A=a48i;this[A(0x1e5)]&&(this[A(0x1e5)][A(0x1c5)](A(0x19f),this['hear'][A(0x1d1)](this)),this['logger']['write'](this[A(0x1ef)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this['_currentLocation'][A(0x1ef)]));}}
@@ -1 +1 @@
1
- var a49i=a49d;function a49c(){var m=['getInstance','You\x20have\x20already\x20solved\x20this\x20puzzle.','(((.+)+)+)+$','requiredItem','constructor','Puzzle:\x20Correct\x20solution\x20provided.','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','206180epqaXc','You\x20solved\x20the\x20puzzle!','write','matchesRequiredPhrase','search','10031856LTPCFk','toString','hasRequiredItem','riddle','48xnkmLq','117235rOOCDd','rewardItem','solved','3398130VzfJDe','114dQlinY','successMessage','requiredPhrase','969417qKPkHS','failureMessage','logger','8868tIXhoY','solve','20hzSJxa','7260148mqpITe','apply','hasItem'];a49c=function(){return m;};return a49c();}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0xbf))/0x1*(parseInt(f(0xca))/0x2)+-parseInt(f(0xc3))/0x3+-parseInt(f(0xb6))/0x4+-parseInt(f(0xc0))/0x5*(parseInt(f(0xc4))/0x6)+parseInt(f(0xcd))/0x7+parseInt(f(0xbb))/0x8+-parseInt(f(0xc7))/0x9*(parseInt(f(0xcc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xa0d74));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0xbc)]()[h(0xba)]('(((.+)+)+)+$')[h(0xbc)]()[h(0xd4)](a49a)['search'](h(0xd2));});a49a();import{Logger}from'../utilities/logger.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xb4;var f=c[d];return f;},a49d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a49i(0xd0)]();[a49i(0xc2)]=![];[a49i(0xd3)];['requiredPhrase'];[a49i(0xbe)];[a49i(0xc1)];[a49i(0xc5)];[a49i(0xc8)];constructor(a){var j=a49i;super(),this['requiredItem']=a[j(0xd3)],this[j(0xc6)]=a[j(0xc6)],this[j(0xbe)]=a[j(0xbe)],this[j(0xc1)]=a['rewardItem'],this[j(0xc5)]=a[j(0xc5)]||j(0xb7),this[j(0xc8)]=a[j(0xc8)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a49i(0xbd)](a){var k=a49i;if(this[k(0xd3)])return a[k(0xcf)](this[k(0xd3)]);return![];}[a49i(0xb9)](a){return this['requiredPhrase']===a;}[a49i(0xcb)](a,b){var l=a49i;if(this[l(0xc2)])return this[l(0xc9)][l(0xb8)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':l(0xd1)};return this['hasRequiredItem'](b)||this['matchesRequiredPhrase'](a)?(this['solved']=!![],this[l(0xc9)][l(0xb8)](l(0xb4)),{'success':!![],'message':this[l(0xc5)]}):(this[l(0xc9)][l(0xb8)](l(0xb5)),{'success':![],'message':this['failureMessage']});}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0xdd))/0x1*(parseInt(f(0xc5))/0x2)+parseInt(f(0xd8))/0x3+parseInt(f(0xdb))/0x4+parseInt(f(0xc6))/0x5+-parseInt(f(0xd5))/0x6*(parseInt(f(0xd1))/0x7)+-parseInt(f(0xca))/0x8+-parseInt(f(0xdc))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x8ef9e));function a49c(){var m=['3436HYmfVV','733110oDVbgQ','hasRequiredItem','logger','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','193136blsUdm','toString','apply','(((.+)+)+)+$','matchesRequiredPhrase','write','successMessage','3684037ontvSc','requiredPhrase','rewardItem','search','6FLXIKO','getInstance','riddle','1038891YctvKQ','requiredItem','hasItem','3550532IMVIaI','6297831spoibz','265TKnpPj','failureMessage','Puzzle:\x20Correct\x20solution\x20provided.','solve','solved'];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(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()['search'](h(0xcd))[h(0xcb)]()['constructor'](a49a)[h(0xd4)](h(0xcd));});a49a();import{Logger}from'../utilities/logger.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xc5;var f=c[d];return f;},a49d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a49i(0xc8)]=Logger[a49i(0xd6)]();[a49i(0xe1)]=![];['requiredItem'];['requiredPhrase'];[a49i(0xd7)];[a49i(0xd3)];[a49i(0xd0)];['failureMessage'];constructor(a){var j=a49i;super(),this[j(0xd9)]=a[j(0xd9)],this[j(0xd2)]=a[j(0xd2)],this['riddle']=a[j(0xd7)],this[j(0xd3)]=a[j(0xd3)],this[j(0xd0)]=a[j(0xd0)]||'You\x20solved\x20the\x20puzzle!',this[j(0xde)]=a['failureMessage']||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a49i(0xc7)](a){var k=a49i;if(this[k(0xd9)])return a[k(0xda)](this['requiredItem']);return![];}[a49i(0xce)](a){return this['requiredPhrase']===a;}[a49i(0xe0)](a,b){var l=a49i;if(this['solved'])return this[l(0xc8)][l(0xcf)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this['hasRequiredItem'](b)||this[l(0xce)](a)?(this[l(0xe1)]=!![],this[l(0xc8)][l(0xcf)](l(0xdf)),{'success':!![],'message':this[l(0xd0)]}):(this['logger']['write'](l(0xc9)),{'success':![],'message':this[l(0xde)]});}}
@@ -1 +1 @@
1
- const a50i=a50d;function a50c(){const u=['checkIfLocked','values','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','SOUTH','39418zTAEUC','5663238WdArki','.\x20Success:\x20','south','west','description','\x20remains\x20locked.','emit','INSIDE','1IVmfSp','getExit','EAST','toString','DOWN','The\x20','apply','isStartRoom','3342003pEvAaN','search','Item\x20added\x20to\x20room\x20','getOppositeDirection','Room\x20created:\x20','findExistingDoor','riddle','5779980CbdQgj','attemptUnlock','Fetching\x20exit\x20in\x20direction:\x20','logger','removeItem','constructor','Puzzle\x20set\x20for\x20room\x20','puzzle','\x20is\x20locked.\x20Result:\x20','(((.+)+)+)+$','exits','down','addItem','inventory','north','write','WEST','name','speak','hasItem','get','No\x20locked\x20exit\x20found\x20in\x20direction\x20','getInstance','east','set','roomA','addExit','8046283rNVEky','\x20unlocked!','6170980dcuDpP','setPuzzle','roomB','roomType','6363304mLQZrW'];a50c=function(){return u;};return a50c();}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0xa4))/0x1*(-parseInt(f(0x9b))/0x2)+parseInt(f(0xac))/0x3+parseInt(f(0x92))/0x4+parseInt(f(0xb3))/0x5+-parseInt(f(0x9c))/0x6+-parseInt(f(0x90))/0x7+-parseInt(f(0x96))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xdcc56));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0xa7)]()[h(0xad)](h(0xbc))[h(0xa7)]()[h(0xb8)](a50a)[h(0xad)]('(((.+)+)+)+$');});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 a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x8a;let f=c[d];return f;},a50d(a,b);}export class Room extends AbstractRoom{[a50i(0xb6)]=Logger[a50i(0x8b)]();[a50i(0xc4)];[a50i(0xa0)];[a50i(0xbd)]=new Map();[a50i(0x95)];[a50i(0xab)];['inventory']=new Inventory();constructor(a){const j=a50i;super(),this[j(0xc4)]=a['name'],this[j(0xa0)]=a[j(0xa0)],this[j(0x95)]=a[j(0x95)]||RoomType[j(0xa3)],a['exits']&&(this[j(0xbd)]=a[j(0xbd)]||new Map()),a['inventory']&&(this['inventory']=a[j(0xc0)]),a['puzzle']&&(this[j(0xba)]=a[j(0xba)]),this['isStartRoom']=a[j(0xab)]||![],this[j(0xb6)]['write'](j(0xb0)+this[j(0xc4)]);}['say'](a,b){const k=a50i;this[k(0xa2)](k(0xc5),a,b);}[a50i(0x8f)](a,b,c){const l=a50i;let d=this[l(0xb1)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x8d)](a,d),b[l(0xbd)][l(0x8d)](this['getOppositeDirection'](a),d);}['attemptUnlockExit'](a,b){const m=a50i,c=this[m(0xbd)]['get'](a);if(c instanceof Door){const d=c[m(0xb4)](b);return this[m(0xb6)]['write'](m(0x99)+a+m(0x9d)+d),d?'The\x20'+c[m(0xc4)]+m(0x91):m(0xa9)+c['name']+m(0xa1);}return this[m(0xb6)][m(0xc2)](m(0x8a)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a50i(0xa5)](a){const n=a50i;return this[n(0xb6)][n(0xc2)](n(0xb5)+a),this[n(0xbd)][n(0xc7)](a);}['isExitLocked'](a){const o=a50i,b=this[o(0xbd)][o(0xc7)](a),c=b instanceof Door&&b[o(0x97)]();return this[o(0xb6)][o(0xc2)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0xbb)+c),c;}['addItem'](a){const p=a50i;this[p(0xc0)][p(0xbf)](a),this['logger'][p(0xc2)](p(0xae)+this[p(0xc4)]+':\x20'+a[p(0xc4)]);}[a50i(0xb7)](a){const q=a50i;this[q(0xc0)][q(0xc6)](a[q(0xc4)])?(this['inventory'][q(0xb7)](a[q(0xc4)]),this['logger'][q(0xc2)]('Item\x20removed\x20from\x20room\x20'+this['name']+':\x20'+a[q(0xc4)])):this[q(0xb6)][q(0xc2)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this['name']+':\x20'+a[q(0xc4)]);}[a50i(0x93)](a){const r=a50i;this['puzzle']=a,this[r(0xb6)][r(0xc2)](r(0xb9)+this[r(0xc4)]+':\x20'+a[r(0xb2)]);}[a50i(0xaf)](a){const s=a50i;switch(a){case s(0xc1):return Direction[s(0x9a)];case s(0x9e):return Direction['NORTH'];case s(0x8c):return Direction[s(0xc3)];case s(0x9f):return Direction[s(0xa6)];case'up':return Direction[s(0xa8)];case s(0xbe):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a50i(0xb1)](a){const t=a50i;for(const b of this[t(0xbd)][t(0x98)]()){if(b instanceof Door){if(b[t(0x8e)]===this&&b['roomB']===a||b[t(0x94)]===this&&b[t(0x8e)]===a)return b;}}return undefined;}}
1
+ function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x99;let f=c[d];return f;},a50d(a,b);}const a50h=a50d;function a50c(){const t=['roomA','findExistingDoor','attemptUnlockExit','addExit','getInstance','4gRvXDe','name','Item\x20added\x20to\x20room\x20','write','499165YmRxqe','911151yyRJaa','exits','No\x20locked\x20exit\x20found\x20in\x20direction\x20','Invalid\x20direction:\x20','setPuzzle','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','south','5314230yNWrfU','4yMfgYp','WEST','804501MwWYqf','EAST','.\x20Success:\x20','set','Item\x20removed\x20from\x20room\x20','values','Puzzle\x20set\x20for\x20room\x20','search','constructor','Fetching\x20exit\x20in\x20direction:\x20','roomB','INSIDE','riddle','emit','SOUTH','puzzle','description','isStartRoom','(((.+)+)+)+$','east','roomType','toString','hasItem','697304jEOqWm','attemptUnlock','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','The\x20','Room\x20created:\x20','getOppositeDirection','down','187344KSkcpH','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','removeItem','getExit','checkIfLocked','Checking\x20if\x20exit\x20in\x20direction\x20','get','6606kJqFYg','isExitLocked','inventory','addItem','west','4844MGThyF','logger'];a50c=function(){return t;};return a50c();}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0xd7))/0x1+-parseInt(f(0xb7))/0x2*(-parseInt(f(0xb9))/0x3)+-parseInt(f(0xaa))/0x4*(-parseInt(f(0xae))/0x5)+-parseInt(f(0x9e))/0x6*(parseInt(f(0xa3))/0x7)+parseInt(f(0xd0))/0x8+parseInt(f(0xaf))/0x9+parseInt(f(0xb6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x634e4));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(0xce)]()[g(0xc0)]('(((.+)+)+)+$')[g(0xce)]()[g(0xc1)](a50a)['search'](g(0xcb));});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';export class Room extends AbstractRoom{[a50h(0xa4)]=Logger[a50h(0xa9)]();[a50h(0xab)];[a50h(0xc9)];['exits']=new Map();[a50h(0xcd)];[a50h(0xca)];[a50h(0xa0)]=new Inventory();constructor(a){const i=a50h;super(),this[i(0xab)]=a[i(0xab)],this['description']=a[i(0xc9)],this[i(0xcd)]=a[i(0xcd)]||RoomType[i(0xc4)],a[i(0xb0)]&&(this[i(0xb0)]=a[i(0xb0)]||new Map()),a['inventory']&&(this[i(0xa0)]=a['inventory']),a[i(0xc8)]&&(this[i(0xc8)]=a['puzzle']),this[i(0xca)]=a[i(0xca)]||![],this[i(0xa4)][i(0xad)](i(0xd4)+this[i(0xab)]);}['say'](a,b){const j=a50h;this[j(0xc6)]('speak',a,b);}[a50h(0xa8)](a,b,c){const k=a50h;let d=this[k(0xa6)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][k(0xbc)](a,d),b[k(0xb0)][k(0xbc)](this[k(0xd5)](a),d);}[a50h(0xa7)](a,b){const l=a50h,c=this[l(0xb0)][l(0x9d)](a);if(c instanceof Door){const d=c[l(0xd1)](b);return this[l(0xa4)][l(0xad)](l(0xd2)+a+l(0xbb)+d),d?l(0xd3)+c[l(0xab)]+'\x20unlocked!':l(0xd3)+c[l(0xab)]+'\x20remains\x20locked.';}return this[l(0xa4)]['write'](l(0xb1)+a),l(0xd8);}[a50h(0x9a)](a){const m=a50h;return this['logger'][m(0xad)](m(0xc2)+a),this['exits'][m(0x9d)](a);}[a50h(0x9f)](a){const n=a50h,b=this[n(0xb0)][n(0x9d)](a),c=b instanceof Door&&b[n(0x9b)]();return this[n(0xa4)][n(0xad)](n(0x9c)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}['addItem'](a){const o=a50h;this[o(0xa0)][o(0xa1)](a),this[o(0xa4)][o(0xad)](o(0xac)+this[o(0xab)]+':\x20'+a[o(0xab)]);}[a50h(0x99)](a){const p=a50h;this[p(0xa0)][p(0xcf)](a[p(0xab)])?(this[p(0xa0)][p(0x99)](a[p(0xab)]),this[p(0xa4)]['write'](p(0xbd)+this[p(0xab)]+':\x20'+a[p(0xab)])):this[p(0xa4)]['write'](p(0xb4)+this[p(0xab)]+':\x20'+a[p(0xab)]);}[a50h(0xb3)](a){const q=a50h;this[q(0xc8)]=a,this[q(0xa4)][q(0xad)](q(0xbf)+this[q(0xab)]+':\x20'+a[q(0xc5)]);}[a50h(0xd5)](a){const r=a50h;switch(a){case'north':return Direction[r(0xc7)];case r(0xb5):return Direction['NORTH'];case r(0xcc):return Direction[r(0xb8)];case r(0xa2):return Direction[r(0xba)];case'up':return Direction['DOWN'];case r(0xd6):return Direction['UP'];default:throw new Error(r(0xb2)+a);}}[a50h(0xa6)](a){const s=a50h;for(const b of this['exits'][s(0xbe)]()){if(b instanceof Door){if(b[s(0xa5)]===this&&b[s(0xc3)]===a||b[s(0xc3)]===this&&b['roomA']===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a51l=a51d;(function(a,b){const i=a51d,c=a();while(!![]){try{const d=parseInt(i(0x215))/0x1+parseInt(i(0x216))/0x2+-parseInt(i(0x201))/0x3+-parseInt(i(0x203))/0x4+parseInt(i(0x214))/0x5*(parseInt(i(0x1fc))/0x6)+-parseInt(i(0x213))/0x7+-parseInt(i(0x208))/0x8*(-parseInt(i(0x20f))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xc6c44));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0x1f9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a[k(0x1e8)]()[k(0x1ec)](k(0x1e7))[k(0x1e8)]()[k(0x20e)](a51a)['search']('(((.+)+)+)+$');});a51a();import{Logger}from'../utilities/logger.js';function a51c(){const D=['\x20not\x20found\x20in\x20scene.','search','\x27s\x20location.\x20Room\x20','removeRoom','Failed\x20to\x20add\x20item\x20','getInstance','\x20to\x20room\x20','\x22\x20does\x20not\x20exist.','toUpperCase','join','characterLocations','createExitsFromConfig','No\x20actor\x20with\x20name\x20','actors','apply','addRoom','.\x20Room\x20','48558VOvXQI','Actor\x20with\x20name\x20','Added\x20puzzle\x20to\x20room\x20','roomConfiguration','roomFactory','947964FLzyZZ','removeActor','3398516fLdfkq','from','logger','keyRequired','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','176PeQdBk','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','direction','initialize','values','write','constructor','816417hxtnZR','player','length','Removed\x20room\x20from\x20scene:\x20','8778602kMSFsf','210wlEJRO','884678hzJMgQ','27162bTGMZv','setPuzzle','hasOwnProperty','addActor','has','getPlayer','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','currentLocation','determineStartRoom','getCharacterLocation','\x20already\x20exists\x20in\x20the\x20scene.','Failed\x20to\x20set\x20','keys','addItem','Added\x20item\x20','Room\x20\x22','rooms','name','getRooms','(((.+)+)+)+$','toString','get','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.'];a51c=function(){return D;};return a51c();}import{Direction}from'../types/enums.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1dd;let f=c[d];return f;},a51d(a,b);}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];['player'];[a51l(0x205)];[a51l(0x1f8)];['characterLocations']=new Map();[a51l(0x200)];constructor(a){const m=a51l;super(),this[m(0x200)]=new RoomFactory(),this[m(0x210)]=a[m(0x210)],this[m(0x1e4)]=this['generateRoomsFromConfig'](a['roomConfiguration']),this[m(0x205)]=Logger[m(0x1f0)](),this[m(0x1f8)]=new Map(),this[m(0x1f6)](a[m(0x1ff)]),this[m(0x205)][m(0x20d)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object['keys'](this[m(0x1e4)])[m(0x1f4)](',\x20'));}[a51l(0x20b)](){const n=a51l;this[n(0x210)][n(0x21d)]=this[n(0x21e)]();}['generateRoomsFromConfig'](a){const o=a51l;if(!this[o(0x200)])throw new Error(o(0x21c));const b={};for(const c of a){const d=this[o(0x200)]['createRoom'](c);b[c[o(0x1e5)]]=d;}return b;}[a51l(0x1f6)](a){const p=a51l;for(const b of a){const c=this['rooms'][b['name']];if(b['exits'])for(const d of b['exits']){const e=d[p(0x20a)][p(0x1f3)](),f=d['targetRoom'],g=d[p(0x206)],h=this[p(0x1e4)][f];h&&c['addExit'](Direction[e],h,g);}}}[a51l(0x219)](a){const q=a51l;if(this[q(0x1f8)][q(0x21a)](a[q(0x1e5)]))throw new Error(q(0x1fd)+a[q(0x1e5)]+q(0x1de));this['actors']['set'](a['name'],a);}[a51l(0x202)](a){const r=a51l;if(!this['actors'][r(0x21a)](a))throw new Error(r(0x1f7)+a+'\x20found\x20in\x20the\x20scene.');this['actors']['delete'](a);}['getActor'](a){const s=a51l;return this[s(0x1f8)][s(0x1e9)](a);}get['allActors'](){const t=a51l;return Array[t(0x204)](this[t(0x1f8)][t(0x20c)]());}[a51l(0x1fa)](a){const u=a51l;this[u(0x1e4)][a[u(0x1e5)]]=a,this['logger'][u(0x20d)]('Added\x20room\x20to\x20scene:\x20'+a[u(0x1e5)]);}[a51l(0x1ee)](a){const v=a51l;return this[v(0x1e4)][a]?(delete this[v(0x1e4)][a],this[v(0x205)][v(0x20d)](v(0x212)+a),!![]):(this[v(0x205)][v(0x20d)](v(0x209)+a),![]);}['addItemToRoom'](a,b){const w=a51l,c=this[w(0x1e4)][b];c?(c[w(0x1e1)](a),this[w(0x205)][w(0x20d)](w(0x1e2)+a[w(0x1e5)]+w(0x1f1)+c[w(0x1e5)])):this[w(0x205)][w(0x20d)](w(0x1ef)+a[w(0x1e5)]+w(0x1fb)+b+w(0x1eb));}['addPuzzleToRoom'](a,b){const x=a51l,c=this[x(0x1e4)][b];c?(c[x(0x217)](a),this['logger'][x(0x20d)](x(0x1fe)+c[x(0x1e5)])):this[x(0x205)][x(0x20d)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+x(0x1eb));}['setCharacterLocation'](a,b){const y=a51l,c=this['rooms'][b];c?(this[y(0x1f5)]['set'](a[y(0x1e5)],c),this['logger'][y(0x20d)](a[y(0x1e5)]+'\x20is\x20now\x20in\x20room\x20'+c[y(0x1e5)])):this['logger'][y(0x20d)](y(0x1df)+a[y(0x1e5)]+y(0x1ed)+b+'\x20not\x20found\x20in\x20scene.');}[a51l(0x1dd)](a){const z=a51l;return this[z(0x1f5)]['get'](a['name']);}[a51l(0x21e)](){const A=a51l,a=[];for(const c in this[A(0x1e4)]){if(this[A(0x1e4)][A(0x218)](c)){const d=this['rooms'][c];d['isStartRoom']&&a['push'](d);}}if(a['length']>0x1)throw new Error(A(0x1ea));if(a[A(0x211)]===0x1)return a[0x0];const b=Object[A(0x1e0)](this['rooms']);if(b[A(0x211)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console['warn'](A(0x207)),this[A(0x1e4)][b[0x0]];}[a51l(0x21b)](){const B=a51l;return this[B(0x210)];}[a51l(0x1e6)](){return this['rooms'];}['connectRooms'](a,b,c,d){const C=a51l,e=this[C(0x1e4)][a],f=this['rooms'][c];if(!e)throw new Error('Room\x20\x22'+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(C(0x1e3)+c+C(0x1f2));e['addExit'](b,f,d);}}
1
+ const a51k=a51d;(function(a,b){const i=a51d,c=a();while(!![]){try{const d=-parseInt(i(0xe1))/0x1+parseInt(i(0x108))/0x2+parseInt(i(0x10d))/0x3*(parseInt(i(0xf3))/0x4)+parseInt(i(0x104))/0x5*(-parseInt(i(0xe8))/0x6)+parseInt(i(0xea))/0x7+parseInt(i(0x106))/0x8+-parseInt(i(0x119))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x25571));const a51b=(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;};}()),a51a=a51b(this,function(){const j=a51d;return a51a[j(0xf6)]()[j(0xee)](j(0xe0))[j(0xf6)]()[j(0x103)](a51a)[j(0xee)](j(0xe0));});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xd3;let f=c[d];return f;},a51d(a,b);}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a51c(){const C=['1974150tXZCXd','write','currentLocation','hasOwnProperty','\x20to\x20room\x20','roomConfiguration','createExitsFromConfig','No\x20actor\x20with\x20name\x20','roomFactory','name','getRooms','\x20is\x20now\x20in\x20room\x20','Failed\x20to\x20add\x20item\x20','getInstance','(((.+)+)+)+$','72426YphNPu','Added\x20puzzle\x20to\x20room\x20','targetRoom','toUpperCase','\x20not\x20found\x20in\x20scene.','player','\x22\x20does\x20not\x20exist.','103944rfQDkF','warn','2087582uVAvbX','setCharacterLocation','\x20already\x20exists\x20in\x20the\x20scene.','set','search','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','actors','isStartRoom','addPuzzleToRoom','12LNmpXj','generateRoomsFromConfig','addActor','toString','logger','getActor','allActors','.\x20Room\x20','direction','rooms','Failed\x20to\x20set\x20','from','Room\x20\x22','Added\x20room\x20to\x20scene:\x20','setPuzzle','length','constructor','75ZQMloJ','has','612408Hatopw','removeActor','216346apxGcs','Failed\x20to\x20add\x20puzzle.\x20Room\x20','determineStartRoom','addItemToRoom','Scene\x20initialized\x20with\x20rooms:\x20','221631ZioMhq','characterLocations','addItem','exits','keys','get','\x27s\x20location.\x20Room\x20','\x20found\x20in\x20the\x20scene.','Added\x20item\x20','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','connectRooms','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.'];a51c=function(){return C;};return a51c();}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a51k(0xfc)];[a51k(0xe6)];['logger'];[a51k(0xf0)];[a51k(0x10e)]=new Map();[a51k(0xda)];constructor(a){const l=a51k;super(),this[l(0xda)]=new RoomFactory(),this[l(0xe6)]=a[l(0xe6)],this[l(0xfc)]=this[l(0xf4)](a[l(0xd7)]),this['logger']=Logger[l(0xdf)](),this[l(0xf0)]=new Map(),this[l(0xd8)](a[l(0xd7)]),this[l(0xf7)][l(0xd3)](l(0x10c)+Object[l(0x111)](this['rooms'])['join'](',\x20'));}['initialize'](){const m=a51k;this[m(0xe6)][m(0xd4)]=this['determineStartRoom']();}[a51k(0xf4)](a){const n=a51k;if(!this[n(0xda)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this['roomFactory']['createRoom'](c);b[c[n(0xdb)]]=d;}return b;}[a51k(0xd8)](a){const o=a51k;for(const b of a){const c=this[o(0xfc)][b['name']];if(b[o(0x110)])for(const d of b[o(0x110)]){const e=d[o(0xfb)][o(0xe4)](),f=d[o(0xe3)],g=d['keyRequired'],h=this[o(0xfc)][f];h&&c['addExit'](Direction[e],h,g);}}}[a51k(0xf5)](a){const p=a51k;if(this[p(0xf0)][p(0x105)](a[p(0xdb)]))throw new Error('Actor\x20with\x20name\x20'+a[p(0xdb)]+p(0xec));this[p(0xf0)][p(0xed)](a['name'],a);}[a51k(0x107)](a){const q=a51k;if(!this[q(0xf0)][q(0x105)](a))throw new Error(q(0xd9)+a+q(0x114));this[q(0xf0)]['delete'](a);}[a51k(0xf8)](a){const r=a51k;return this[r(0xf0)]['get'](a);}get[a51k(0xf9)](){const s=a51k;return Array[s(0xfe)](this[s(0xf0)]['values']());}['addRoom'](a){const t=a51k;this[t(0xfc)][a[t(0xdb)]]=a,this['logger'][t(0xd3)](t(0x100)+a[t(0xdb)]);}['removeRoom'](a){const u=a51k;return this[u(0xfc)][a]?(delete this[u(0xfc)][a],this[u(0xf7)][u(0xd3)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[u(0xf7)][u(0xd3)](u(0xef)+a),![]);}[a51k(0x10b)](a,b){const v=a51k,c=this[v(0xfc)][b];c?(c[v(0x10f)](a),this[v(0xf7)]['write'](v(0x115)+a[v(0xdb)]+v(0xd6)+c[v(0xdb)])):this[v(0xf7)][v(0xd3)](v(0xde)+a[v(0xdb)]+v(0xfa)+b+'\x20not\x20found\x20in\x20scene.');}[a51k(0xf2)](a,b){const w=a51k,c=this[w(0xfc)][b];c?(c[w(0x101)](a),this[w(0xf7)][w(0xd3)](w(0xe2)+c[w(0xdb)])):this[w(0xf7)][w(0xd3)](w(0x109)+b+w(0xe5));}[a51k(0xeb)](a,b){const x=a51k,c=this[x(0xfc)][b];c?(this[x(0x10e)][x(0xed)](a['name'],c),this[x(0xf7)][x(0xd3)](a[x(0xdb)]+x(0xdd)+c[x(0xdb)])):this[x(0xf7)][x(0xd3)](x(0xfd)+a['name']+x(0x113)+b+x(0xe5));}['getCharacterLocation'](a){const y=a51k;return this[y(0x10e)][y(0x112)](a[y(0xdb)]);}[a51k(0x10a)](){const z=a51k,a=[];for(const c in this[z(0xfc)]){if(this[z(0xfc)][z(0xd5)](c)){const d=this[z(0xfc)][c];d[z(0xf1)]&&a['push'](d);}}if(a[z(0x102)]>0x1)throw new Error(z(0x116));if(a[z(0x102)]===0x1)return a[0x0];const b=Object[z(0x111)](this[z(0xfc)]);if(b['length']===0x0)throw new Error(z(0x118));return console[z(0xe9)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[z(0xfc)][b[0x0]];}['getPlayer'](){const A=a51k;return this[A(0xe6)];}[a51k(0xdc)](){return this['rooms'];}[a51k(0x117)](a,b,c,d){const B=a51k,e=this[B(0xfc)][a],f=this['rooms'][c];if(!e)throw new Error(B(0xff)+a+B(0xe7));if(!f)throw new Error('Room\x20\x22'+c+'\x22\x20does\x20not\x20exist.');e['addExit'](b,f,d);}}
@@ -1 +1 @@
1
- var a52t=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x183))/0x1*(parseInt(f(0x185))/0x2)+parseInt(f(0x197))/0x3+parseInt(f(0x195))/0x4+-parseInt(f(0x17e))/0x5*(-parseInt(f(0x181))/0x6)+parseInt(f(0x191))/0x7*(parseInt(f(0x194))/0x8)+-parseInt(f(0x1a0))/0x9*(-parseInt(f(0x180))/0xa)+-parseInt(f(0x1a1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xcf72f));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x19c)]()[h(0x179)]('(((.+)+)+)+$')[h(0x19c)]()[h(0x1a2)](a52a)[h(0x179)](h(0x17d));});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(0x16c)],'color':Color[i(0x198)],'texture':Texture[i(0x19e)],'rating':Rating[i(0x18d)],'weight':0x1});}['use'](){var j=a52d;return this[j(0x17c)];}}export class Sword extends Item{constructor(a,b){var k=a52d;super({'name':a,'description':b,'size':Size[k(0x184)],'category':Category[k(0x18a)],'shape':Shape[k(0x177)],'color':Color['Grey'],'texture':Texture[k(0x173)],'rating':Rating[k(0x18d)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a52d;super({'name':a,'description':b,'size':Size['Large'],'category':Category[l(0x18a)],'shape':Shape[l(0x18e)],'color':Color['Brown'],'texture':Texture[l(0x173)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a52d;super({'name':a,'description':b,'size':Size[m(0x184)],'category':Category[m(0x189)],'shape':Shape[m(0x175)],'color':Color['Grey'],'texture':Texture[m(0x173)],'rating':Rating['Common'],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a52d;super({'name':a,'description':b,'size':Size[n(0x19f)],'category':Category[n(0x19a)],'shape':Shape[n(0x16c)],'color':Color[n(0x199)],'texture':Texture[n(0x173)],'rating':Rating[n(0x18d)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a52d;super({'name':a,'description':b,'size':Size[o(0x184)],'category':Category['LegArmor'],'shape':Shape[o(0x16c)],'color':Color['Grey'],'texture':Texture[o(0x173)],'rating':Rating[o(0x18d)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a52d;super({'name':a,'description':b,'size':Size[p(0x184)],'category':Category[p(0x19b)],'shape':Shape['Circle'],'color':Color[p(0x18f)],'texture':Texture[p(0x19e)],'rating':Rating[p(0x18d)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a52d;super({'name':a,'description':b,'size':Size[q(0x18b)],'category':Category['Gloves'],'shape':Shape[q(0x175)],'color':Color['Brown'],'texture':Texture[q(0x19e)],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a52d;super({'name':a,'description':b,'size':Size[r(0x184)],'category':Category[r(0x16d)],'shape':Shape[r(0x16c)],'color':Color[r(0x199)],'texture':Texture[r(0x173)],'rating':Rating[r(0x18d)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a52d;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category[s(0x188)],'shape':Shape[s(0x16c)],'color':Color['Yellow'],'texture':Texture[s(0x19e)],'rating':Rating['Common'],'weight':0x0});}[a52t(0x193)](){var u=a52t;return u(0x172);}}export class Weapon extends Item{constructor(a,b){var v=a52t;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[v(0x18a)],'shape':Shape[v(0x177)],'color':Color[v(0x199)],'texture':Texture[v(0x173)],'rating':Rating['Common'],'weight':0x3});}[a52t(0x193)](){var w=a52t;return w(0x171);}}export class Book extends Item{['author'];[a52t(0x18c)];[a52t(0x178)];constructor(a,b='A\x20mysterious\x20book.',c=a52t(0x170)){var x=a52t;super({'name':a,'description':b,'size':Size[x(0x184)],'category':Category[x(0x196)],'shape':Shape['Rectangle'],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating[x(0x18d)],'weight':0x1}),this[x(0x186)]=c,this[x(0x18c)]=new Date(),this[x(0x178)]=0x64;}[a52t(0x193)](){var y=a52t;return y(0x174);}}function a52c(){var F=['Gold','Smooth','Large','2092842XNOXTO','44865711bzrjUb','constructor','Cup','Rectangle','ArmArmor','\x20aloft,\x20feeling\x20its\x20immense\x20power.','You\x20hold\x20the\x20','Unknown\x20Author','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Metallic','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Circle','apply','Blade','pageCount','search','name','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','description','(((.+)+)+)+$','305fieevn','Holy\x20Grail','10BPknQu','44730kyKKMw','Sniper\x20Rifle','2327GxDzQg','Medium','994lBqZGu','author','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Key','Helmet','Weapon','Small','publishDate','Common','Rifle','Brown','Legendary','2431219KfsEJB','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','use','24NOLEHQ','2899828dJaviZ','Book','3953076uisPTb','Yellow','Grey','BodyArmor','Boots','toString'];a52c=function(){return F;};return a52c();}export class ShortSword extends Item{constructor(){var z=a52t;super({'name':'Short\x20Sword','description':z(0x187),'size':Size['Medium'],'category':Category[z(0x18a)],'shape':Shape[z(0x177)],'color':Color[z(0x199)],'texture':Texture[z(0x173)],'rating':Rating[z(0x18d)],'weight':0x3});}[a52t(0x193)](){var A=a52t;return A(0x171);}}export class SniperRifle extends Item{constructor(){var B=a52t;super({'name':B(0x182),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size['Large'],'category':Category[B(0x18a)],'shape':Shape['Rifle'],'color':Color[B(0x18f)],'texture':Texture[B(0x19e)],'rating':Rating[B(0x18d)],'weight':0x5});}['use'](){var C=a52t;return C(0x17b);}}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x16b;var f=c[d];return f;},a52d(a,b);}export class HolyGrail extends Item{constructor(){var D=a52t;super({'name':D(0x17f),'description':D(0x192),'size':Size[D(0x18b)],'category':Category[D(0x16b)],'shape':Shape['Circle'],'color':Color[D(0x19d)],'texture':Texture['Metallic'],'rating':Rating[D(0x190)],'weight':0x1});}[a52t(0x193)](){var E=a52t;return E(0x16f)+this[E(0x17a)]+E(0x16e);}}
1
+ var a52j=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1a8))/0x1+parseInt(f(0x1a0))/0x2+parseInt(f(0x1a1))/0x3+-parseInt(f(0x19a))/0x4*(parseInt(f(0x183))/0x5)+-parseInt(f(0x1a2))/0x6*(parseInt(f(0x193))/0x7)+-parseInt(f(0x192))/0x8*(-parseInt(f(0x18f))/0x9)+-parseInt(f(0x184))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x24449));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1ab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x19e)]()[h(0x1a7)]('(((.+)+)+)+$')[h(0x19e)]()['constructor'](a52a)[h(0x1a7)](h(0x197));});function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x181;var f=c[d];return f;},a52d(a,b);}a52a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a52d;super({'name':a,'description':b,'size':Size[i(0x1b1)],'category':Category[i(0x1a9)],'shape':Shape[i(0x1b2)],'color':Color[i(0x19b)],'texture':Texture[i(0x18e)],'rating':Rating[i(0x1ac)],'weight':0x1});}[a52j(0x182)](){var k=a52j;return this[k(0x1af)];}}export class Sword extends Item{constructor(a,b){var l=a52j;super({'name':a,'description':b,'size':Size[l(0x1b1)],'category':Category[l(0x198)],'shape':Shape[l(0x1a6)],'color':Color[l(0x1ae)],'texture':Texture[l(0x1b0)],'rating':Rating[l(0x1ac)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a52j;super({'name':a,'description':b,'size':Size[m(0x18a)],'category':Category['Weapon'],'shape':Shape[m(0x1aa)],'color':Color[m(0x1a4)],'texture':Texture[m(0x1b0)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a52j;super({'name':a,'description':b,'size':Size[n(0x1b1)],'category':Category[n(0x191)],'shape':Shape['Circle'],'color':Color['Grey'],'texture':Texture[n(0x1b0)],'rating':Rating[n(0x1ac)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a52j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[o(0x19d)],'shape':Shape[o(0x1b2)],'color':Color[o(0x1ae)],'texture':Texture[o(0x1b0)],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[p(0x19f)],'shape':Shape[p(0x1b2)],'color':Color[p(0x1ae)],'texture':Texture['Metallic'],'rating':Rating[p(0x1ac)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a52j;super({'name':a,'description':b,'size':Size[q(0x1b1)],'category':Category[q(0x1ad)],'shape':Shape[q(0x194)],'color':Color[q(0x1a4)],'texture':Texture['Smooth'],'rating':Rating[q(0x1ac)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a52j;super({'name':a,'description':b,'size':Size[r(0x18b)],'category':Category[r(0x19c)],'shape':Shape[r(0x194)],'color':Color[r(0x1a4)],'texture':Texture[r(0x18e)],'rating':Rating[r(0x1ac)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a52j;super({'name':a,'description':b,'size':Size[s(0x1b1)],'category':Category[s(0x187)],'shape':Shape[s(0x1b2)],'color':Color[s(0x1ae)],'texture':Texture[s(0x1b0)],'rating':Rating[s(0x1ac)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a52j;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category['Key'],'shape':Shape[t(0x1b2)],'color':Color[t(0x19b)],'texture':Texture[t(0x18e)],'rating':Rating[t(0x1ac)],'weight':0x0});}[a52j(0x182)](){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(0x1b1)],'category':Category['Weapon'],'shape':Shape[u(0x1a6)],'color':Color[u(0x1ae)],'texture':Texture['Metallic'],'rating':Rating[u(0x1ac)],'weight':0x3});}[a52j(0x182)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}function a52c(){var C=['Smooth','1976013wcIOQV','You\x20hold\x20the\x20','Helmet','8zftTqe','924497ghFMwY','Circle','Gold','\x20aloft,\x20feeling\x20its\x20immense\x20power.','(((.+)+)+)+$','Weapon','Unknown\x20Author','82084IuNwqZ','Yellow','Gloves','BodyArmor','toString','LegArmor','529968JYNyzA','245613rjAhyZ','12EqbMVt','name','Brown','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Blade','search','8275VyUgnn','Unknown','Rifle','apply','Common','Boots','Grey','description','Metallic','Medium','Rectangle','A\x20mysterious\x20book.','Sniper\x20Rifle','Legendary','author','use','15nWqpwi','838790hhPVXr','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Book','ArmArmor','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Large','Small','Cup','Holy\x20Grail'];a52c=function(){return C;};return a52c();}export class Book extends Item{[a52j(0x181)];['publishDate'];['pageCount'];constructor(a,b=a52j(0x1b3),c=a52j(0x199)){var v=a52j;super({'name':a,'description':b,'size':Size[v(0x1b1)],'category':Category[v(0x186)],'shape':Shape['Rectangle'],'color':Color[v(0x1a4)],'texture':Texture[v(0x18e)],'rating':Rating['Common'],'weight':0x1}),this[v(0x181)]=c,this['publishDate']=new Date(),this['pageCount']=0x64;}[a52j(0x182)](){var w=a52j;return w(0x188);}}export class ShortSword extends Item{constructor(){var x=a52j;super({'name':'Short\x20Sword','description':x(0x1a5),'size':Size['Medium'],'category':Category[x(0x198)],'shape':Shape[x(0x1a6)],'color':Color['Grey'],'texture':Texture[x(0x1b0)],'rating':Rating[x(0x1ac)],'weight':0x3});}[a52j(0x182)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var y=a52j;super({'name':y(0x1b4),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[y(0x18a)],'category':Category[y(0x198)],'shape':Shape[y(0x1aa)],'color':Color['Brown'],'texture':Texture[y(0x18e)],'rating':Rating['Common'],'weight':0x5});}[a52j(0x182)](){var z=a52j;return z(0x189);}}export class HolyGrail extends Item{constructor(){var A=a52j;super({'name':A(0x18d),'description':A(0x185),'size':Size[A(0x18b)],'category':Category[A(0x18c)],'shape':Shape[A(0x194)],'color':Color[A(0x195)],'texture':Texture['Metallic'],'rating':Rating[A(0x1b5)],'weight':0x1});}[a52j(0x182)](){var B=a52j;return B(0x190)+this[B(0x1a3)]+B(0x196);}}