@maka/maka-cli 4.6.17 → 4.6.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/bundle/obf/package.json +31 -31
  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/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kit.js +1 -1
  108. package/bundle/obf/src/generators/layout.js +1 -1
  109. package/bundle/obf/src/generators/maka.gen.js +1 -1
  110. package/bundle/obf/src/generators/methods.js +1 -1
  111. package/bundle/obf/src/generators/package.js +1 -1
  112. package/bundle/obf/src/generators/page.js +1 -1
  113. package/bundle/obf/src/generators/publish.js +1 -1
  114. package/bundle/obf/src/generators/route.js +1 -1
  115. package/bundle/obf/src/generators/service.js +1 -1
  116. package/bundle/obf/src/generators/services/_index.js +1 -1
  117. package/bundle/obf/src/generators/services/openssl.js +1 -1
  118. package/bundle/obf/src/generators/services/translation.js +1 -1
  119. package/bundle/obf/src/maka.js +1 -1
  120. package/bundle/obf/src/tool.js +1 -1
  121. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  122. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  123. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  124. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  125. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  126. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  127. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/https/https.class.js +1 -1
  129. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  130. package/bundle/obf/src/tools/log/log.class.js +1 -1
  131. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/options/options.class.js +1 -1
  133. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  134. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  135. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  137. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  138. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  139. package/package.json +31 -31
@@ -1 +1 @@
1
- const a33j=a33d;(function(a,b){const g=a33d,c=a();while(!![]){try{const d=-parseInt(g(0x103))/0x1+parseInt(g(0x109))/0x2*(parseInt(g(0x119))/0x3)+-parseInt(g(0xf7))/0x4+parseInt(g(0xfb))/0x5*(parseInt(g(0x104))/0x6)+parseInt(g(0x10f))/0x7*(parseInt(g(0x11f))/0x8)+-parseInt(g(0x106))/0x9*(-parseInt(g(0x11b))/0xa)+-parseInt(g(0x10d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x34fb3));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a33d;if(c){const e=c[h(0xf8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const i=a33d;return a33a['toString']()[i(0x112)](i(0x113))[i(0x117)]()['constructor'](a33a)['search'](i(0x113));});a33a();import{Door}from'../models/door.js';function a33c(){const m=['709924qUZKkc','apply','execute','\x20which\x20is\x20not\x20valid.','360dpihFA','\x27s\x20\x27Go\x27\x20command\x20failed:\x20Current\x20room\x20is\x20undefined\x20or\x20null.\x20This\x20is\x20a\x20bug.','description','Unnamed\x20room','\x20moved\x20to\x20room:\x20','\x20\x27Go\x27\x20command\x20failed:\x20Unable\x20to\x20determine\x20the\x20other\x20side\x20of\x20the\x20door.','getExit','\x20is\x20attempting\x20\x27Go\x27\x20command\x20with\x20direction:\x20','288763NmHEXx','31764fhUoMq','actor','54iNusUt','getOtherSide','name','4abfgsN','checkIfLocked','\x22\x20does\x20not\x20exist\x20in\x20current\x20room\x27s\x20exits.','\x22\x20is\x20locked.','7393254pLyJuw','You\x20seem\x20to\x20be\x20nowhere.\x20This\x20is\x20a\x20bug.','18697laXCWU','error','isValidDirection','search','(((.+)+)+)+$','\x20\x27Go\x27\x20command\x20failed:\x20Specified\x20direction\x20\x22','Please\x20specify\x20a\x20direction\x20to\x20go.','currentLocation','toString','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20room\x20you\x27re\x20trying\x20to\x20go\x20to.','397257qtNVQc','write','616910IjMkWJ','You\x20can\x27t\x20go\x20that\x20way.','The\x20door\x20in\x20the\x20direction\x20\x22','logger','1016HERQFR','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20door\x20you\x27re\x20trying\x20to\x20go\x20through.','rooms','\x20\x27Go\x27\x20command\x20failed:\x20Room\x20\x22'];a33c=function(){return m;};return a33c();}import{Command}from'./command.js';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0xf7;let f=c[d];return f;},a33d(a,b);}export class GoCommand extends Command{static ['verb']='go';static [a33j(0xfd)]='Move\x20in\x20the\x20specified\x20direction.';[a33j(0xf9)](a){const k=a33j;return this[k(0x11e)][k(0x11a)](this[k(0x105)]['name']+k(0x102)+a['join']('\x20')),this['go'](a);}['go'](a){const l=a33j;if(a['length']===0x0)return this[l(0x11e)][l(0x11a)](this[l(0x105)][l(0x108)]+'\x27s\x20\x27Go\x27\x20command\x20failed:\x20No\x20direction\x20specified.'),l(0x115);const b=a[0x0]['toLowerCase']();if(!this[l(0x111)](b))return this['logger'][l(0x11a)](this[l(0x105)][l(0x108)]+'\x20attempted\x20to\x20go\x20'+b+l(0xfa)),'That\x20is\x20not\x20a\x20way\x20to\x20go';const c=this[l(0x105)]['currentLocation'];if(!c)return this[l(0x11e)][l(0x110)](this[l(0x105)]['name']+l(0xfc)),l(0x10e);const d=c[l(0x101)](b);if(!d)return this[l(0x11e)][l(0x11a)](this[l(0x105)][l(0x108)]+l(0x114)+b+l(0x10b)),l(0x11c);if(d instanceof Door){if(d[l(0x10a)]())return l(0x11d)+b+l(0x10c);const e=d[l(0x107)](c);if(!e)return this[l(0x11e)][l(0x110)](this[l(0x105)]['name']+l(0x100)),l(0x120);this[l(0x105)][l(0x116)]=e;}else{const f=this[l(0x121)]&&this['rooms'][d];if(!f)return this[l(0x11e)][l(0x110)](this[l(0x105)][l(0x108)]+l(0x122)+d+'\x22\x20not\x20found.'),l(0x118);this[l(0x105)]['currentLocation']=f;}return this['logger'][l(0x11a)](this[l(0x105)]['name']+l(0xff)+(this[l(0x105)][l(0x116)][l(0x108)]||l(0xfe))+'.'),this['actor'][l(0x116)][l(0xfd)];}}
1
+ const a33i=a33d;(function(a,b){const g=a33d,c=a();while(!![]){try{const d=-parseInt(g(0x136))/0x1*(parseInt(g(0x13a))/0x2)+parseInt(g(0x11d))/0x3*(-parseInt(g(0x115))/0x4)+-parseInt(g(0x12d))/0x5+-parseInt(g(0x13c))/0x6+-parseInt(g(0x13f))/0x7*(-parseInt(g(0x117))/0x8)+-parseInt(g(0x13e))/0x9*(-parseInt(g(0x121))/0xa)+parseInt(g(0x138))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xa0b62));const a33b=(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;};}()),a33a=a33b(this,function(){const h=a33d;return a33a[h(0x124)]()['search'](h(0x130))['toString']()[h(0x132)](a33a)[h(0x11c)]('(((.+)+)+)+$');});a33a();function a33c(){const l=['The\x20door\x20in\x20the\x20direction\x20\x22','26fUoQJo','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20door\x20you\x27re\x20trying\x20to\x20go\x20through.','3720438HHwOYz','\x27s\x20\x27Go\x27\x20command\x20failed:\x20Current\x20room\x20is\x20undefined\x20or\x20null.\x20This\x20is\x20a\x20bug.','18HHwTDo','256354PwSguB','\x20is\x20attempting\x20\x27Go\x27\x20command\x20with\x20direction:\x20','error','431092yfUnUA','Please\x20specify\x20a\x20direction\x20to\x20go.','40MSXfyH','actor','description','write','getExit','search','3CHiNvH','You\x20seem\x20to\x20be\x20nowhere.\x20This\x20is\x20a\x20bug.','\x20moved\x20to\x20room:\x20','currentLocation','3105010GlZwAD','verb','checkIfLocked','toString','rooms','execute','\x27s\x20\x27Go\x27\x20command\x20failed:\x20No\x20direction\x20specified.','\x20\x27Go\x27\x20command\x20failed:\x20Unable\x20to\x20determine\x20the\x20other\x20side\x20of\x20the\x20door.','name','Unnamed\x20room','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20room\x20you\x27re\x20trying\x20to\x20go\x20to.','Move\x20in\x20the\x20specified\x20direction.','2527170cQQpyq','\x20\x27Go\x27\x20command\x20failed:\x20Specified\x20direction\x20\x22','\x22\x20does\x20not\x20exist\x20in\x20current\x20room\x27s\x20exits.','(((.+)+)+)+$','length','constructor','\x20attempted\x20to\x20go\x20','toLowerCase','\x20which\x20is\x20not\x20valid.','8193GSTWFQ','logger','13133461tnoCZH'];a33c=function(){return l;};return a33c();}import{Door}from'../models/door.js';import{Command}from'./command.js';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x114;let f=c[d];return f;},a33d(a,b);}export class GoCommand extends Command{static [a33i(0x122)]='go';static ['description']=a33i(0x12c);[a33i(0x126)](a){const j=a33i;return this[j(0x137)][j(0x11a)](this[j(0x118)][j(0x129)]+j(0x140)+a['join']('\x20')),this['go'](a);}['go'](a){const k=a33i;if(a[k(0x131)]===0x0)return this[k(0x137)][k(0x11a)](this['actor'][k(0x129)]+k(0x127)),k(0x116);const b=a[0x0][k(0x134)]();if(!this['isValidDirection'](b))return this[k(0x137)]['write'](this[k(0x118)]['name']+k(0x133)+b+k(0x135)),'That\x20is\x20not\x20a\x20way\x20to\x20go';const c=this[k(0x118)][k(0x120)];if(!c)return this[k(0x137)][k(0x114)](this[k(0x118)][k(0x129)]+k(0x13d)),k(0x11e);const d=c[k(0x11b)](b);if(!d)return this[k(0x137)]['write'](this[k(0x118)]['name']+k(0x12e)+b+k(0x12f)),'You\x20can\x27t\x20go\x20that\x20way.';if(d instanceof Door){if(d[k(0x123)]())return k(0x139)+b+'\x22\x20is\x20locked.';const e=d['getOtherSide'](c);if(!e)return this[k(0x137)][k(0x114)](this[k(0x118)]['name']+k(0x128)),k(0x13b);this[k(0x118)][k(0x120)]=e;}else{const f=this[k(0x125)]&&this['rooms'][d];if(!f)return this[k(0x137)][k(0x114)](this[k(0x118)]['name']+'\x20\x27Go\x27\x20command\x20failed:\x20Room\x20\x22'+d+'\x22\x20not\x20found.'),k(0x12b);this[k(0x118)][k(0x120)]=f;}return this[k(0x137)][k(0x11a)](this[k(0x118)]['name']+k(0x11f)+(this[k(0x118)][k(0x120)][k(0x129)]||k(0x12a))+'.'),this[k(0x118)][k(0x120)][k(0x119)];}}
@@ -1 +1 @@
1
- const a34i=a34d;function a34c(){const l=['\x20Locked\x20the\x20','search','get','inventory','3462JiEcEW','\x22\x20is\x20already\x20locked.','description','isLocked','execute','toString','lock','\x20door.','1725016QlBnvq','logger','toLowerCase','name','has','exits','actor','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','4488651NciZzK','isValidDirection','809526tEehCO','write','LockCommand:\x20','hasItem','1925VBKIIE','(((.+)+)+)+$','1151244HVmOod','currentLocation','apply','LockCommand:\x20No\x20target\x20specified.','1ZnXNPV','344558jKAmtW','length','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','The\x20door\x20named\x20\x22','18190YfklCq','error'];a34c=function(){return l;};return a34c();}(function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0x202))/0x1*(parseInt(f(0x203))/0x2)+-parseInt(f(0x1f8))/0x3+-parseInt(f(0x1fe))/0x4+parseInt(f(0x207))/0x5+parseInt(f(0x20d))/0x6*(parseInt(f(0x1fc))/0x7)+parseInt(f(0x215))/0x8+parseInt(f(0x1f6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x23d3b));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x200)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0x212)]()[h(0x20a)](h(0x1fd))[h(0x212)]()['constructor'](a34a)[h(0x20a)]('(((.+)+)+)+$');});a34a();import{Command}from'./command.js';function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a34d(a,b);}export class LockCommand extends Command{static ['verb']=a34i(0x213);static [a34i(0x20f)]='Lock\x20a\x20door.';[a34i(0x211)](a){const j=a34i;return this[j(0x213)](a);}[a34i(0x213)](a){const k=a34i;if(a[k(0x204)]===0x0)return this[k(0x1ef)][k(0x208)](k(0x201)),k(0x205);const b=a[0x0]['toLowerCase'](),c=this[k(0x1f4)][k(0x1ff)];if(this[k(0x1f7)](b)&&c[k(0x1f3)][k(0x1f2)](b)){const d=c[k(0x1f3)][k(0x20b)](b);if(d[k(0x210)])return k(0x206)+b+k(0x20e);const e=d['unlockItemOrSolution']?.[k(0x1f0)]();return e&&this[k(0x1f4)][k(0x20c)][k(0x1fb)](e)?(d['isLocked']=!![],this[k(0x1ef)][k(0x1f9)]('LockCommand:\x20'+this[k(0x1f4)][k(0x1f1)]+k(0x209)+b+k(0x214)),'You\x20locked\x20the\x20door\x20named\x20\x22'+b+'\x22.'):(this['logger'][k(0x1f9)](k(0x1fa)+this[k(0x1f4)][k(0x1f1)]+k(0x1f5)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.');}else return this[k(0x1ef)][k(0x1f9)]('LockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}}
1
+ const a34i=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0xad))/0x1+-parseInt(f(0xc0))/0x2+parseInt(f(0xcd))/0x3+parseInt(f(0xcf))/0x4*(parseInt(f(0xbe))/0x5)+parseInt(f(0xd1))/0x6+parseInt(f(0xb6))/0x7+-parseInt(f(0xd3))/0x8*(parseInt(f(0xb0))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x78b7d));function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xad;let f=c[d];return f;},a34d(a,b);}const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0xb7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0xc2)]()[h(0xb9)](h(0xc5))[h(0xc2)]()['constructor'](a34a)[h(0xb9)]('(((.+)+)+)+$');});function a34c(){const l=['toString','LockCommand:\x20','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','(((.+)+)+)+$','There\x27s\x20no\x20door\x20named\x20\x22','actor','logger','isValidDirection','\x22\x20is\x20already\x20locked.','execute','error','2735889bjokEo','hasItem','1396fGWcKH','write','3740304gXViJD','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','2486112NJJlpa','get','description','exits','183081TBVXCq','lock','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','72tSmkZH','\x20Locked\x20the\x20','You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.','length','has','name','6257272JeEojz','apply','currentLocation','search','inventory','LockCommand:\x20No\x20target\x20specified.','unlockItemOrSolution','isLocked','5630yypWEE','toLowerCase','49450hwKMyh','Lock\x20a\x20door.'];a34c=function(){return l;};return a34c();}a34a();import{Command}from'./command.js';export class LockCommand extends Command{static ['verb']=a34i(0xae);static [a34i(0xd5)]=a34i(0xc1);[a34i(0xcb)](a){const j=a34i;return this[j(0xae)](a);}[a34i(0xae)](a){const k=a34i;if(a[k(0xb3)]===0x0)return this[k(0xc8)][k(0xcc)](k(0xbb)),k(0xaf);const b=a[0x0][k(0xbf)](),c=this['actor'][k(0xb8)];if(this[k(0xc9)](b)&&c[k(0xd6)][k(0xb4)](b)){const d=c['exits'][k(0xd4)](b);if(d[k(0xbd)])return'The\x20door\x20named\x20\x22'+b+k(0xca);const e=d[k(0xbc)]?.[k(0xbf)]();return e&&this['actor'][k(0xba)][k(0xce)](e)?(d['isLocked']=!![],this[k(0xc8)][k(0xd0)](k(0xc3)+this[k(0xc7)][k(0xb5)]+k(0xb1)+b+'\x20door.'),'You\x20locked\x20the\x20door\x20named\x20\x22'+b+'\x22.'):(this['logger']['write'](k(0xc3)+this['actor'][k(0xb5)]+k(0xc4)+b+'.'),k(0xb2));}else return this[k(0xc8)][k(0xd0)](k(0xc3)+b+k(0xd2)),k(0xc6)+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x1de))/0x1+-parseInt(f(0x1d1))/0x2*(parseInt(f(0x1f2))/0x3)+parseInt(f(0x1dc))/0x4*(parseInt(f(0x1d6))/0x5)+parseInt(f(0x1fc))/0x6*(parseInt(f(0x1d3))/0x7)+-parseInt(f(0x1ea))/0x8+-parseInt(f(0x1e4))/0x9*(-parseInt(f(0x1f5))/0xa)+parseInt(f(0x1f4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x33712));function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x1c4;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(0x1f7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x1c8)]()[h(0x1c6)](h(0x1f6))[h(0x1c8)]()['constructor'](a35a)[h(0x1c6)](h(0x1f6));});a35a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a35i(0x1d4)]='look';static [a35i(0x1c7)]='Examine\x20your\x20surroundings';[a35i(0x1d0)](a=[]){const j=a35i;this[j(0x1d5)][j(0x1f3)](j(0x1ee));const b=a[j(0x1e7)]('\x20');if(b){if(this[j(0x1d7)][j(0x1fb)][j(0x1ca)](b))return this['logger'][j(0x1f3)](j(0x1f0)+b+j(0x1cf)+this[j(0x1d7)][j(0x1c5)]+j(0x1cd)),this['inspectItem'](b,this[j(0x1d7)][j(0x1fb)]);else{if(this[j(0x1d7)]['currentLocation']['inventory']['hasItem'](b))return this[j(0x1d5)][j(0x1f3)](j(0x1f0)+b+j(0x1d8)),this[j(0x1fa)](b,this[j(0x1d7)][j(0x1d9)][j(0x1fb)]);else return this[j(0x1e5)](b)?(this[j(0x1d5)][j(0x1f3)](j(0x1da)+b+'\x27.'),this[j(0x1ef)](b)):j(0x1e3)+b;}}else return this[j(0x1d5)][j(0x1f3)](this[j(0x1d7)][j(0x1c5)]+j(0x1ce)),this[j(0x1eb)]();}[a35i(0x1eb)](){const k=a35i,a=this[k(0x1d7)][k(0x1d9)];if(!a)return this[k(0x1d5)]['error'](this[k(0x1d7)]['name']+k(0x1d2)),k(0x1f1);let b=a['description'];return a[k(0x1e1)]&&(b+='\x0a'+a[k(0x1e1)]['riddle']),b;}[a35i(0x1ef)](a){const l=a35i,b=this[l(0x1d7)]['currentLocation'];if(!b)return this[l(0x1d5)]['error'](this['actor'][l(0x1c5)]+l(0x1d2)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';const c=b[l(0x1e8)][l(0x1e6)](a);if(!c)return l(0x1f9)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x1ed)](b);else{if(typeof c===l(0x1e2)){d=this[l(0x1e0)]&&this[l(0x1e0)][c];if(!d)return l(0x1cb)+a+'\x22.';}else return l(0x1cc)+a+'\x22.';}if(d['roomType']===RoomType[l(0x1db)]){if(a==='up')return'Above\x20you,\x20'+d[l(0x1c7)];else return a===l(0x1c9)?l(0x1f8)+d[l(0x1c7)]:'To\x20the\x20'+a+',\x20you\x20see\x20'+d[l(0x1c7)];}else return l(0x1e9);}[a35i(0x1fa)](a,b){const m=a35i,c=b[m(0x1c4)](a);if(!c)return m(0x1ec)+a+m(0x1df);return c[m(0x1c7)]||m(0x1dd)+a+'.';}}function a35c(){const n=['You\x20cannot\x20see\x20','9hhJXRw','isValidDirection','get','join','exits','You\x20cannot\x20see\x20through','1192288hOyyIp','look','You\x20don\x27t\x20see\x20any\x20','getOtherSide','Executing\x20\x27Look\x27\x20command.','lookOutside','Looking\x20at\x20item\x20\x27','You\x27re\x20not\x20in\x20a\x20valid\x20room.','17457fbLWGp','write','543961XMLgHO','1988180fEZSAG','(((.+)+)+)+$','apply','Below\x20you,\x20','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','inspectItem','inventory','6aPEltK','getItem','name','search','description','toString','down','hasItem','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','\x20inventory.','\x20is\x20looking\x20around\x20the\x20current\x20room.','\x27\x20in\x20','execute','2ZGvylp','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','2336677tjUZKh','verb','logger','4685KNPZsS','actor','\x27\x20in\x20current\x20room\x20inventory.','currentLocation','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','OUTSIDE','388cWkMSX','It\x27s\x20just\x20a\x20regular\x20','307408kOwVMh','\x20here.','rooms','puzzle','string'];a35c=function(){return n;};return a35c();}
1
+ const a35i=a35d;function a35c(){const n=['202580bnUGxu','Executing\x20\x27Look\x27\x20command.','Examine\x20your\x20surroundings','56alpjmU','123546NzShap','roomType','look','inventory','(((.+)+)+)+$','error','It\x27s\x20just\x20a\x20regular\x20','Above\x20you,\x20','logger','write','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','string','62405IPwlSK','toString','description','hasItem','You\x27re\x20not\x20in\x20a\x20valid\x20room.','760140TOtAdt','execute','19294SmyHFt','actor','rooms',',\x20you\x20see\x20','\x20here.','\x27\x20in\x20','988194swkhkJ','constructor','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','inspectItem','\x27\x20in\x20current\x20room\x20inventory.','puzzle','riddle','7PnXLfO','search','verb','currentLocation','lookOutside','name','Looking\x20at\x20item\x20\x27','isValidDirection','211464eENNxz','apply','getItem'];a35c=function(){return n;};return a35c();}(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x1c9))/0x1+parseInt(f(0x1e1))/0x2+-parseInt(f(0x1e5))/0x3+-parseInt(f(0x1e4))/0x4*(parseInt(f(0x1c2))/0x5)+-parseInt(f(0x1cf))/0x6*(-parseInt(f(0x1d6))/0x7)+parseInt(f(0x1de))/0x8+parseInt(f(0x1c7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x22968));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x1c3)]()['search'](h(0x1e9))[h(0x1c3)]()[h(0x1d0)](a35a)[h(0x1d7)](h(0x1e9));});a35a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a35d(a,b);}import{Command}from'./command.js';export class LookCommand extends Command{static [a35i(0x1d8)]=a35i(0x1e7);static [a35i(0x1c4)]=a35i(0x1e3);[a35i(0x1c8)](a=[]){const j=a35i;this['logger'][j(0x1bf)](j(0x1e2));const b=a['join']('\x20');if(b){if(this[j(0x1ca)]['inventory'][j(0x1c5)](b))return this[j(0x1be)][j(0x1bf)]('Looking\x20at\x20item\x20\x27'+b+j(0x1ce)+this['actor']['name']+'\x20inventory.'),this[j(0x1d2)](b,this[j(0x1ca)][j(0x1e8)]);else{if(this[j(0x1ca)][j(0x1d9)]['inventory'][j(0x1c5)](b))return this[j(0x1be)][j(0x1bf)](j(0x1dc)+b+j(0x1d3)),this[j(0x1d2)](b,this[j(0x1ca)][j(0x1d9)]['inventory']);else return this[j(0x1dd)](b)?(this[j(0x1be)][j(0x1bf)]('Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27'+b+'\x27.'),this[j(0x1da)](b)):'You\x20cannot\x20see\x20'+b;}}else return this['logger'][j(0x1bf)](this[j(0x1ca)]['name']+'\x20is\x20looking\x20around\x20the\x20current\x20room.'),this[j(0x1e7)]();}['look'](){const k=a35i,a=this[k(0x1ca)][k(0x1d9)];if(!a)return this[k(0x1be)][k(0x1ea)](this[k(0x1ca)][k(0x1db)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),k(0x1c6);let b=a['description'];return a[k(0x1d4)]&&(b+='\x0a'+a[k(0x1d4)][k(0x1d5)]),b;}[a35i(0x1da)](a){const l=a35i,b=this[l(0x1ca)]['currentLocation'];if(!b)return this['logger'][l(0x1ea)](this['actor'][l(0x1db)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),l(0x1c6);const c=b['exits']['get'](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c['getOtherSide'](b);else{if(typeof c===l(0x1c1)){d=this[l(0x1cb)]&&this[l(0x1cb)][c];if(!d)return l(0x1d1)+a+'\x22.';}else return l(0x1c0)+a+'\x22.';}if(d[l(0x1e6)]===RoomType['OUTSIDE']){if(a==='up')return l(0x1bd)+d[l(0x1c4)];else return a==='down'?'Below\x20you,\x20'+d[l(0x1c4)]:'To\x20the\x20'+a+l(0x1cc)+d[l(0x1c4)];}else return'You\x20cannot\x20see\x20through';}[a35i(0x1d2)](a,b){const m=a35i,c=b[m(0x1e0)](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+m(0x1cd);return c['description']||m(0x1eb)+a+'.';}}
@@ -1 +1 @@
1
- const a36i=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=parseInt(g(0x1f7))/0x1+-parseInt(g(0x1f5))/0x2+-parseInt(g(0x1f4))/0x3*(-parseInt(g(0x207))/0x4)+parseInt(g(0x1f1))/0x5*(parseInt(g(0x200))/0x6)+-parseInt(g(0x1fa))/0x7+parseInt(g(0x1f3))/0x8+-parseInt(g(0x1f6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xa9bdc));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 h=a36d;return a36a['toString']()[h(0x209)](h(0x202))[h(0x1f9)]()[h(0x1fb)](a36a)['search'](h(0x202));});a36a();import{Command}from'./command.js';export class SayCommand extends Command{static [a36i(0x201)]=a36i(0x206);static [a36i(0x203)]=a36i(0x1fe);['context'];constructor(a){super(a),this['context']=a;}[a36i(0x1f0)](a){const j=a36i;if(a[j(0x204)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[j(0x20a)]('\x20'),c=this[j(0x1fd)],d=this[j(0x1fc)][j(0x1ff)];if(!d)return this['logger'][j(0x205)](j(0x1ef)),'An\x20error\x20occurred.';const e=d[j(0x1f8)]['filter'](f=>f[j(0x208)]===c['currentLocation']);for(const f of e){this['logger']['log'](c['name']+'\x20says\x20to\x20'+f['name']+':\x20\x22'+b+'\x22'),this[j(0x1fd)][j(0x208)][j(0x206)](f,b);}return j(0x1f2)+b+'\x22';}}function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a36d(a,b);}function a36c(){const k=['scene','1558062gCjXUV','verb','(((.+)+)+)+$','description','length','log','say','148068EjHiER','currentLocation','search','join','Scene\x20is\x20missing\x20from\x20context.','execute','5jTzwEM','You\x20say:\x20\x22','3964872UgHzqW','93OfUvux','1418092CLSXAa','1367100bHdulB','690207kTmnvn','allActors','toString','7257698gExGGu','constructor','context','actor','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.'];a36c=function(){return k;};return a36c();}
1
+ const a36j=a36d;function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1ae;let f=c[d];return f;},a36d(a,b);}(function(a,b){const g=a36d,c=a();while(!![]){try{const d=parseInt(g(0x1b5))/0x1+parseInt(g(0x1c3))/0x2+-parseInt(g(0x1ae))/0x3*(-parseInt(g(0x1bb))/0x4)+parseInt(g(0x1af))/0x5*(parseInt(g(0x1b3))/0x6)+-parseInt(g(0x1c9))/0x7*(-parseInt(g(0x1ba))/0x8)+-parseInt(g(0x1c8))/0x9*(-parseInt(g(0x1bd))/0xa)+-parseInt(g(0x1bf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x9700a));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a[i(0x1b6)]()[i(0x1c4)]('(((.+)+)+)+$')[i(0x1b6)]()['constructor'](a36a)[i(0x1c4)]('(((.+)+)+)+$');});function a36c(){const m=['actor','An\x20error\x20occurred.','Scene\x20is\x20missing\x20from\x20context.','5057919zltlgp','105FhvXbY','currentLocation','3zObUYB','523750JUUDaA',':\x20\x22','name','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','12dKBcXY','verb','414740RSIeXv','toString','execute','apply','join','384824AadZlG','2092004EuTRoy','context','10nAakpU','logger','20992257OzrLPK','\x20says\x20to\x20','What\x20do\x20you\x20want\x20to\x20say?','length','192232NXOlNb','search'];a36c=function(){return m;};return a36c();}a36a();import{Command}from'./command.js';export class SayCommand extends Command{static [a36j(0x1b4)]='say';static ['description']=a36j(0x1b2);[a36j(0x1bc)];constructor(a){const k=a36j;super(a),this[k(0x1bc)]=a;}[a36j(0x1b7)](a){const l=a36j;if(a[l(0x1c2)]===0x0)return l(0x1c1);const b=a[l(0x1b9)]('\x20'),c=this[l(0x1c5)],d=this[l(0x1bc)]['scene'];if(!d)return this[l(0x1be)]['log'](l(0x1c7)),l(0x1c6);const e=d['allActors']['filter'](f=>f[l(0x1ca)]===c[l(0x1ca)]);for(const f of e){this[l(0x1be)]['log'](c[l(0x1b1)]+l(0x1c0)+f['name']+l(0x1b0)+b+'\x22'),this[l(0x1c5)]['currentLocation']['say'](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x161))/0x1+-parseInt(f(0x15c))/0x2*(parseInt(f(0x153))/0x3)+parseInt(f(0x15d))/0x4+parseInt(f(0x155))/0x5*(-parseInt(f(0x163))/0x6)+-parseInt(f(0x16a))/0x7+-parseInt(f(0x169))/0x8+-parseInt(f(0x16b))/0x9*(-parseInt(f(0x158))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x84ebf));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x15f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()['search'](h(0x166))['toString']()[h(0x156)](a37a)[h(0x157)](h(0x166));});a37a();import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x152;let f=c[d];return f;},a37d(a,b);}export class SearchCommand extends Command{static ['verb']=a37i(0x157);static [a37i(0x164)]=a37i(0x16c);[a37i(0x16d)](){const j=a37i,a=this[j(0x162)][j(0x15b)][j(0x15e)][j(0x160)]();if(a[j(0x152)]===0x0)return this[j(0x165)][j(0x167)]('SearchCommand:\x20'+this['actor'][j(0x159)]+j(0x168)),j(0x15a);const b=a['join'](',\x20');return this[j(0x165)][j(0x167)]('SearchCommand:\x20'+this['actor'][j(0x159)]+j(0x16e)+b),j(0x154)+b;}}function a37c(){const k=['currentLocation','2096816TqzyVL','2029356ldbjRu','inventory','apply','listItems','466562KjEpQc','actor','18UvBkFb','description','logger','(((.+)+)+)+$','write','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','3216576OHQTnd','1891883lNQfQN','12939417LPuQsZ','Search\x20for\x20items\x20in\x20your\x20area','execute','\x20found\x20the\x20following\x20items:\x20','length','3aoAJwf','You\x20search\x20the\x20area\x20and\x20find:\x20','244030yVZobs','constructor','search','10oRQpZH','name','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.'];a37c=function(){return k;};return a37c();}
1
+ const a37i=a37d;function a37c(){const k=['\x20searched\x20the\x20room\x20but\x20found\x20nothing.','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','currentLocation','539952YxLbuf','listItems','3CDXWOn','2945630iEgpWp','description','actor','4826801lcmIkp','12uUBwzQ','1374172poxcWi','logger','Search\x20for\x20items\x20in\x20your\x20area','apply','length','verb','115853ysZYEV','You\x20search\x20the\x20area\x20and\x20find:\x20','inventory','write','name','8828109fPkDHn','\x20found\x20the\x20following\x20items:\x20','constructor','toString','SearchCommand:\x20','180224vkOdMo','(((.+)+)+)+$','search'];a37c=function(){return k;};return a37c();}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0xc2))/0x1*(-parseInt(f(0xbb))/0x2)+-parseInt(f(0xb6))/0x3*(-parseInt(f(0xbc))/0x4)+parseInt(f(0xb7))/0x5+-parseInt(f(0xb4))/0x6+-parseInt(f(0xba))/0x7+-parseInt(f(0xae))/0x8+parseInt(f(0xc7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x65a85));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xac)]()[h(0xb0)](h(0xaf))['toString']()[h(0xab)](a37a)['search'](h(0xaf));});a37a();function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xab;let f=c[d];return f;},a37d(a,b);}import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0xc1)]=a37i(0xb0);static [a37i(0xb8)]=a37i(0xbe);['execute'](){const j=a37i,a=this[j(0xb9)][j(0xb3)][j(0xc4)][j(0xb5)]();if(a[j(0xc0)]===0x0)return this[j(0xbd)][j(0xc5)](j(0xad)+this[j(0xb9)][j(0xc6)]+j(0xb1)),j(0xb2);const b=a['join'](',\x20');return this['logger'][j(0xc5)](j(0xad)+this[j(0xb9)]['name']+j(0xc8)+b),j(0xc3)+b;}}
@@ -1 +1 @@
1
- const a38h=a38d;function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xcb;let f=c[d];return f;},a38d(a,b);}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0xcc))/0x1*(parseInt(f(0xcf))/0x2)+parseInt(f(0xd6))/0x3*(parseInt(f(0xe8))/0x4)+parseInt(f(0xd5))/0x5*(-parseInt(f(0xd7))/0x6)+-parseInt(f(0xd1))/0x7+parseInt(f(0xe0))/0x8*(-parseInt(f(0xdc))/0x9)+-parseInt(f(0xe1))/0xa+parseInt(f(0xe3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xdac2a));function a38c(){const j=['16xmEkHz','9880950ZQcrWh','puzzle','33862851GawJzD','currentLocation','join','actor','SolveCommand:\x20','4MfRiZi','constructor','addItem','1JUlkOW','execute','toLowerCase','3127548ibwEuS','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','8999627NiQBrP','inventory','solve','write','25baLrwV','1357614udeOul','2103258aXxBCG','description','verb','toString','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','775080TojZFL','message','logger','rewardItem'];a38c=function(){return j;};return a38c();}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0xda)]()['search']('(((.+)+)+)+$')[g(0xda)]()[g(0xe9)](a38a)['search']('(((.+)+)+)+$');});a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38h(0xd9)]=a38h(0xd3);static [a38h(0xd8)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a38h(0xcd)](a){const i=a38h,b=a[i(0xe5)]('\x20')[i(0xce)](),c=this[i(0xe6)][i(0xe4)];if(!c||!c[i(0xe2)])return this[i(0xde)][i(0xd4)](i(0xdb)),i(0xd0);const d=c[i(0xe2)][i(0xd3)](b,this['actor'][i(0xd2)]);return d['success']&&c[i(0xe2)][i(0xdf)]&&this[i(0xe6)][i(0xd2)][i(0xcb)](c[i(0xe2)][i(0xdf)]),this[i(0xde)][i(0xd4)](i(0xe7)+d[i(0xdd)]),d['message'];}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0xc5))/0x1+parseInt(f(0xb7))/0x2+-parseInt(f(0xb4))/0x3*(parseInt(f(0xcc))/0x4)+parseInt(f(0xcf))/0x5+-parseInt(f(0xb6))/0x6+parseInt(f(0xb2))/0x7+-parseInt(f(0xbf))/0x8*(-parseInt(f(0xcb))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x75696));function a38c(){const k=['4773790vJpcOB','addItem','5257084bYCqhU','join','594hSWcCm','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','3227952RQQrVR','834954epkQbq','apply','actor','inventory','(((.+)+)+)+$','rewardItem','execute','description','8HuiaKP','search','success','write','message','toString','816227JuyStK','logger','verb','puzzle','currentLocation','toLowerCase','3624408IZbKBV','13956HAabzA','constructor','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.'];a38c=function(){return k;};return a38c();}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0xb8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0xc4)]()[h(0xc0)](h(0xbb))['toString']()[h(0xcd)](a38a)[h(0xc0)](h(0xbb));});a38a();import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xb1;let f=c[d];return f;},a38d(a,b);}export class SolveCommand extends Command{static [a38i(0xc7)]='solve';static [a38i(0xbe)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a38i(0xbd)](a){const j=a38i,b=a[j(0xb3)]('\x20')[j(0xca)](),c=this[j(0xb9)][j(0xc9)];if(!c||!c['puzzle'])return this[j(0xc6)][j(0xc2)](j(0xb5)),j(0xce);const d=c[j(0xc8)]['solve'](b,this[j(0xb9)]['inventory']);return d[j(0xc1)]&&c['puzzle'][j(0xbc)]&&this['actor'][j(0xba)][j(0xb1)](c[j(0xc8)]['rewardItem']),this[j(0xc6)][j(0xc2)]('SolveCommand:\x20'+d['message']),d[j(0xc3)];}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x17a))/0x1*(parseInt(f(0x167))/0x2)+-parseInt(f(0x16b))/0x3*(parseInt(f(0x153))/0x4)+parseInt(f(0x157))/0x5*(-parseInt(f(0x166))/0x6)+parseInt(f(0x15d))/0x7*(parseInt(f(0x15f))/0x8)+parseInt(f(0x17e))/0x9+-parseInt(f(0x16a))/0xa+-parseInt(f(0x179))/0xb*(-parseInt(f(0x163))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x8f3ea));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x158)](h(0x155))[h(0x178)]()[h(0x15b)](a39a)[h(0x158)](h(0x155));});a39a();import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x152;let f=c[d];return f;},a39d(a,b);}function a39c(){const l=['458HQkTCg','write','getItem','8675420AbfPbF','48qcLdRB','Item\x20\x22','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Error\x20during\x20\x27Take\x27\x20command:\x20','execute','verb','\x22\x20in\x20this\x20room.','name','hasItem','Successfully\x20added\x20\x22','logger','toLowerCase','\x22\x20not\x20retrieved\x20from\x20','toString','2266ejvwcZ','3214bYldAt','Successfully\x20removed\x20\x22','The\x20item\x20\x22','addInventory','2824380NWcWOE','removeItem','\x22\x20is\x20too\x20heavy\x20to\x20carry.','170824nqXxpy','\x20during\x20\x27Take\x27\x20command.','(((.+)+)+)+$','inventory','75535UTIqDw','search','apply','There\x20is\x20no\x20item\x20\x22','constructor','join','359219Vzmcee','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','48YgrltO','take','currentLocation','actor','138216QRpsQd','Pick\x20up\x20an\x20item.','You\x20have\x20taken\x20the\x20','48ACNtvO'];a39c=function(){return l;};return a39c();}export class TakeCommand extends Command{static [a39i(0x170)]=a39i(0x160);static ['description']=a39i(0x164);[a39i(0x16f)](a){const j=a39i;return this[j(0x175)][j(0x168)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x15c)]('\x20')),this['take'](a);}[a39i(0x160)](a){const k=a39i,b=a['join']('\x20')[k(0x176)](),c=this[k(0x162)][k(0x161)];if(!c[k(0x156)][k(0x173)](b))return this[k(0x175)]['write'](k(0x16c)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x172)]+k(0x154)),k(0x15a)+b+k(0x171);const d=c[k(0x156)][k(0x169)](b);if(!d)return this['logger'][k(0x168)](k(0x16c)+b+k(0x177)+c[k(0x172)]+k(0x16d)),k(0x15a)+b+k(0x171);try{return this[k(0x162)][k(0x17d)](d),this[k(0x175)][k(0x168)](k(0x174)+b+'\x22\x20to\x20'+this[k(0x162)]['name']+k(0x15e)),c['inventory'][k(0x17f)](b),this[k(0x175)][k(0x168)](k(0x17b)+b+'\x22\x20from\x20'+c['name']+k(0x16d)),k(0x165)+b+'.';}catch(e){return this[k(0x175)][k(0x168)](k(0x16e)+e['message']),k(0x17c)+b+k(0x152);}}}
1
+ const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x11e))/0x1*(parseInt(f(0x124))/0x2)+parseInt(f(0x139))/0x3+parseInt(f(0x121))/0x4*(parseInt(f(0x127))/0x5)+-parseInt(f(0x116))/0x6*(parseInt(f(0x117))/0x7)+-parseInt(f(0x11c))/0x8+-parseInt(f(0x134))/0x9+parseInt(f(0x113))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x4e3af));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const g=a39d;return a39a[g(0x122)]()[g(0x125)]('(((.+)+)+)+$')[g(0x122)]()[g(0x12a)](a39a)[g(0x125)]('(((.+)+)+)+$');});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x113;let f=c[d];return f;},a39d(a,b);}import{Command}from'./command.js';function a39c(){const k=['message','write','\x22\x20to\x20','\x22\x20not\x20retrieved\x20from\x20','description','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','You\x20have\x20taken\x20the\x20','There\x20is\x20no\x20item\x20\x22','4953582IlXXKU','removeItem','toLowerCase','logger','Successfully\x20added\x20\x22','1414887hvVVwM','7664060sizgkz','actor','getItem','978RvrlIE','22988sFdlqy','Pick\x20up\x20an\x20item.','\x22\x20not\x20found\x20in\x20','inventory','\x22\x20in\x20this\x20room.','3619120BUHcjY','Item\x20\x22','123foCLus','join','take','41084gjNqol','toString','Successfully\x20removed\x20\x22','9254qsNQbe','search','The\x20item\x20\x22','25nJIukV','addInventory','name','constructor'];a39c=function(){return k;};return a39c();}export class TakeCommand extends Command{static ['verb']=a39h(0x120);static [a39h(0x12f)]=a39h(0x118);['execute'](a){const i=a39h;return this[i(0x137)]['write'](i(0x131)+a[i(0x11f)]('\x20')),this[i(0x120)](a);}[a39h(0x120)](a){const j=a39h,b=a[j(0x11f)]('\x20')[j(0x136)](),c=this[j(0x114)]['currentLocation'];if(!c[j(0x11a)]['hasItem'](b))return this[j(0x137)][j(0x12c)](j(0x11d)+b+j(0x119)+c[j(0x129)]+'\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+'\x22\x20in\x20this\x20room.';const d=c[j(0x11a)][j(0x115)](b);if(!d)return this[j(0x137)][j(0x12c)](j(0x11d)+b+j(0x12e)+c[j(0x129)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x133)+b+j(0x11b);try{return this['actor'][j(0x128)](d),this['logger'][j(0x12c)](j(0x138)+b+j(0x12d)+this[j(0x114)][j(0x129)]+j(0x130)),c[j(0x11a)][j(0x135)](b),this[j(0x137)][j(0x12c)](j(0x123)+b+'\x22\x20from\x20'+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x132)+b+'.';}catch(e){return this['logger'][j(0x12c)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[j(0x12b)]),j(0x126)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1b1))/0x1*(-parseInt(f(0x1b4))/0x2)+-parseInt(f(0x1bb))/0x3*(-parseInt(f(0x1ad))/0x4)+-parseInt(f(0x1b6))/0x5*(parseInt(f(0x1ae))/0x6)+-parseInt(f(0x1b0))/0x7*(-parseInt(f(0x1bd))/0x8)+parseInt(f(0x1b9))/0x9+-parseInt(f(0x1c1))/0xa+parseInt(f(0x1c6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x74bc9));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1be)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1b8)]()[h(0x1bc)](h(0x1ba))[h(0x1b8)]()[h(0x1b3)](a40a)['search'](h(0x1ba));});a40a();import{Command}from'./command.js';function a40c(){const k=['33DiuvYN','search','61216HawsSH','apply','join','name','6460940oAgflT','verb','toLowerCase','logger','\x20unqeuiped\x20','6743253fELfvr','153964UKHkOp','18HdcsMl','write','133zBhGvq','1LvMHFv','actor','constructor','545324jdEeAa','UnequipCommand:\x20','1149475WsiOmT','execute','toString','8143038kGbSIe','(((.+)+)+)+$'];a40c=function(){return k;};return a40c();}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a40d(a,b);}export class UnequipCommand extends Command{static [a40i(0x1c2)]='unqeuip';static ['description']='Unequip\x20an\x20item.';[a40i(0x1b7)](a){const j=a40i,b=a[j(0x1bf)]('\x20')[j(0x1c3)](),c=this['actor']['unequip'](b);return this[j(0x1c4)][j(0x1af)](j(0x1b5)+this[j(0x1b2)][j(0x1c0)]+j(0x1c5)+c),c;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1b8))/0x1*(-parseInt(f(0x1af))/0x2)+-parseInt(f(0x1bb))/0x3+parseInt(f(0x1c2))/0x4*(-parseInt(f(0x1b6))/0x5)+-parseInt(f(0x1b3))/0x6+-parseInt(f(0x1c1))/0x7+parseInt(f(0x1b2))/0x8*(-parseInt(f(0x1ac))/0x9)+parseInt(f(0x1bd))/0xa*(parseInt(f(0x1ab))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x69e78));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1b4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1c0)]()[h(0x1bf)](h(0x1be))[h(0x1c0)]()[h(0x1b0)](a40a)[h(0x1bf)](h(0x1be));});a40a();function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a40d(a,b);}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x1b1)]=a40i(0x1ad);static ['description']=a40i(0x1b5);[a40i(0x1bc)](a){const j=a40i,b=a[j(0x1b7)]('\x20')['toLowerCase'](),c=this['actor']['unequip'](b);return this['logger'][j(0x1ba)]('UnequipCommand:\x20'+this[j(0x1ae)][j(0x1b9)]+j(0x1c3)+c),c;}}function a40c(){const k=['join','1PaPoci','name','write','1367148kPniTd','execute','40EGVnDh','(((.+)+)+)+$','search','toString','2241568NyrlTq','28IsnJfk','\x20unqeuiped\x20','6521867PNQOKI','432117WRqHUR','unqeuip','actor','980776sXhJIn','constructor','verb','8MvMIMX','1057692LadEnk','apply','Unequip\x20an\x20item.','319415LsjZYS'];a40c=function(){return k;};return a40c();}
@@ -1 +1 @@
1
- const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0xb7))/0x1+-parseInt(h(0xce))/0x2+-parseInt(h(0xc2))/0x3+-parseInt(h(0xb8))/0x4+parseInt(h(0xb6))/0x5+parseInt(h(0xc9))/0x6+-parseInt(h(0xc7))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x835ef));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0xc4)]()[j(0xd1)](j(0xd2))[j(0xc4)]()[j(0xd6)](a41a)['search'](j(0xd2));});a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xb6;let f=c[d];return f;},a41d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';function a41c(){const n=['get','1776957pkxRry','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','3192780xNFRJt','length','actor','currentLocation','UnlockCommand:\x20','259842AWVbUR','getItem','verb','search','(((.+)+)+)+$','logger','There\x27s\x20no\x20door\x20named\x20\x22','execute','constructor','error','write','inventory','4121265nsyOLK','973921mypgbY','2925540Fhqbyx','\x22\x20here.','toLowerCase','exits','name','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','unlock','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','description','unlockItemOrSolution','2031156FJOSSq','apply','toString','Unlock\x20a\x20door.'];a41c=function(){return n;};return a41c();}export class UnlockCommand extends Command{static [a41k(0xd0)]=a41k(0xbe);static [a41k(0xc0)]=a41k(0xc5);[a41k(0xd5)](a){const l=a41k;return this[l(0xbe)](a);}[a41k(0xbe)](a){const m=a41k;if(a[m(0xca)]===0x0)return this['logger'][m(0xd7)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0xbd);const b=a[0x0][m(0xba)](),c=this[m(0xcb)][m(0xcc)];if(this['isValidDirection'](b)&&c[m(0xbb)]['has'](b)){const d=c['exits'][m(0xc6)](b);if(d instanceof Door){const e=d[m(0xc1)]?.[m(0xba)]();if(e&&this[m(0xcb)][m(0xd9)]['hasItem'](e)){const f=this[m(0xcb)]['inventory'][m(0xcf)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0xbc)]);return this[m(0xd3)][m(0xd8)]('UnlockCommand:\x20'+this['actor']['name']+'\x20is\x20attempted\x20to\x20unlock\x20'+b+'.\x20Result:\x20'+g),g;}}return this[m(0xd3)]['write']('UnlockCommand:\x20'+this[m(0xcb)][m(0xbc)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),m(0xbf);}else return this[m(0xd3)][m(0xd8)](m(0xcd)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0xbc)]+'.'),m(0xd4)+b+m(0xb9);}else return this[m(0xd3)][m(0xd8)](m(0xcd)+b+m(0xc8)+c[m(0xbc)]+'.'),m(0xd4)+b+'\x22\x20here.';}}
1
+ const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x142))/0x1+parseInt(h(0x13b))/0x2+-parseInt(h(0x14d))/0x3+-parseInt(h(0x143))/0x4*(parseInt(h(0x129))/0x5)+-parseInt(h(0x13f))/0x6*(-parseInt(h(0x14e))/0x7)+parseInt(h(0x12f))/0x8*(-parseInt(h(0x12c))/0x9)+parseInt(h(0x146))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x77148));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x13d)]()[j(0x130)](j(0x13c))[j(0x13d)]()[j(0x145)](a41a)[j(0x130)](j(0x13c));});function a41c(){const n=['hasItem','logger','There\x27s\x20no\x20door\x20named\x20\x22','UnlockCommand:\x20','711874rHHxkT','(((.+)+)+)+$','toString','exits','6POkacl','actor','unlock','612044WxQxDe','3452eUOFtu','currentLocation','constructor','20001630RHYXPm','apply','isValidDirection','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','description','\x22\x20here.','write','1299705QIDaCB','2469677BVZlRU','Unlock\x20a\x20door.','unlockItemOrSolution','toLowerCase','getItem','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','4560ACCOzW','attemptUnlockExit','.\x20Result:\x20','102924fbWvoN','verb','execute','272wreGPS','search','name','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','inventory','has','error','\x20is\x20attempted\x20to\x20unlock\x20'];a41c=function(){return n;};return a41c();}a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x127;let f=c[d];return f;},a41d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x12d)]=a41k(0x141);static [a41k(0x14a)]=a41k(0x14f);[a41k(0x12e)](a){const l=a41k;return this[l(0x141)](a);}[a41k(0x141)](a){const m=a41k;if(a['length']===0x0)return this[m(0x138)][m(0x135)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0x128);const b=a[0x0][m(0x151)](),c=this[m(0x140)][m(0x144)];if(this[m(0x148)](b)&&c[m(0x13e)][m(0x134)](b)){const d=c[m(0x13e)]['get'](b);if(d instanceof Door){const e=d[m(0x150)]?.[m(0x151)]();if(e&&this['actor'][m(0x133)][m(0x137)](e)){const f=this[m(0x140)][m(0x133)][m(0x127)](e);if(f){const g=c[m(0x12a)](b,f[m(0x131)]);return this[m(0x138)][m(0x14c)](m(0x13a)+this[m(0x140)]['name']+m(0x136)+b+m(0x12b)+g),g;}}return this[m(0x138)]['write']('UnlockCommand:\x20'+this['actor'][m(0x131)]+m(0x132)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this[m(0x138)][m(0x14c)](m(0x13a)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x131)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x14b);}else return this[m(0x138)][m(0x14c)](m(0x13a)+b+m(0x149)+c[m(0x131)]+'.'),m(0x139)+b+m(0x14b);}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x20f))/0x1*(-parseInt(f(0x20c))/0x2)+-parseInt(f(0x210))/0x3*(parseInt(f(0x1f0))/0x4)+parseInt(f(0x214))/0x5+parseInt(f(0x1f7))/0x6+-parseInt(f(0x1ff))/0x7+-parseInt(f(0x20a))/0x8*(parseInt(f(0x207))/0x9)+-parseInt(f(0x20e))/0xa*(-parseInt(f(0x20d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x23c24));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x1f9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x1f4)]()['search'](h(0x1f6))[h(0x1f4)]()['constructor'](a42a)[h(0x213)](h(0x1f6));});a42a();import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a42d(a,b);}function a42c(){const l=['\x20in\x20this\x20way.','\x20used\x20','description','execute','542507RzFSkE','logger','\x20doesn\x27t\x20have\x20a\x20use\x20method.','name','\x20attempted\x20to\x20use\x20','\x20to\x20use.','You\x20don\x27t\x20have\x20the\x20','hasItem','3231DNRYjZ','actor',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','4008goBpFL','UseCommand:\x20','10FbbLkt','3400199wXqUNX','10QaQnnC','18607tausVG','573cPXpjj','write','join','search','183650PoAdyk','2364pFJrSU','Use\x20an\x20item.','inventory','function','toString','use','(((.+)+)+)+$','467010yJSJkK','\x27s\x20inventory.','apply','toLowerCase'];a42c=function(){return l;};return a42c();}export class UseCommand extends Command{static ['verb']='use';static [a42i(0x1fd)]=a42i(0x1f1);[a42i(0x1fe)](a){const j=a42i;return this[j(0x1f5)](a);}[a42i(0x1f5)](a){const k=a42i,b=a[k(0x212)]('\x20')[k(0x1fa)]();if(!this['actor']['inventory'][k(0x206)](b))return this[k(0x200)][k(0x211)](k(0x20b)+this[k(0x208)]['name']+k(0x203)+b+k(0x209)),k(0x205)+b+'\x20to\x20use.';const c=this['actor'][k(0x1f2)]['getItem'](b);if(!c)return this[k(0x200)][k(0x211)](k(0x20b)+b+'\x20not\x20retrieved\x20from\x20'+this['actor']['name']+k(0x1f8)),k(0x205)+b+k(0x204);if(typeof c[k(0x1f5)]===k(0x1f3)){const d=c[k(0x1f5)]();return this['logger'][k(0x211)](k(0x20b)+this[k(0x208)][k(0x202)]+k(0x1fc)+b+'.'),d;}else return this[k(0x200)]['write'](k(0x20b)+b+k(0x201)),'You\x20can\x27t\x20use\x20the\x20'+b+k(0x1fb);}}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x134))/0x1*(-parseInt(f(0x138))/0x2)+-parseInt(f(0x144))/0x3+parseInt(f(0x14b))/0x4*(-parseInt(f(0x133))/0x5)+parseInt(f(0x143))/0x6+parseInt(f(0x139))/0x7*(parseInt(f(0x12d))/0x8)+parseInt(f(0x130))/0x9*(parseInt(f(0x13e))/0xa)+parseInt(f(0x14a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x1c177));function a42c(){const k=['\x20to\x20use.','893241dZoxAT','\x27s\x20inventory.','\x20used\x20','5eqnPhf','95039hZnqyq','use','\x20doesn\x27t\x20have\x20a\x20use\x20method.','logger','4hpgaUr','432019nlSjgO','execute','name','constructor','You\x20don\x27t\x20have\x20the\x20','10MohseV','Use\x20an\x20item.','inventory','toString','apply','54246uveoWJ','434175BoqaKI','join','\x20in\x20this\x20way.','You\x20can\x27t\x20use\x20the\x20','getItem','verb','3260972ElimrS','66372zxevbl','actor','\x20attempted\x20to\x20use\x20','UseCommand:\x20','write','8huxRip','(((.+)+)+)+$'];a42c=function(){return k;};return a42c();}function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x129;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x142)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()['search'](h(0x12e))[h(0x141)]()[h(0x13c)](a42a)['search'](h(0x12e));});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x149)]='use';static ['description']=a42i(0x13f);[a42i(0x13a)](a){return this['use'](a);}[a42i(0x135)](a){const j=a42i,b=a[j(0x145)]('\x20')['toLowerCase']();if(!this[j(0x129)][j(0x140)]['hasItem'](b))return this[j(0x137)][j(0x12c)](j(0x12b)+this[j(0x129)][j(0x13b)]+j(0x12a)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),j(0x13d)+b+j(0x12f);const c=this[j(0x129)][j(0x140)][j(0x148)](b);if(!c)return this[j(0x137)]['write'](j(0x12b)+b+'\x20not\x20retrieved\x20from\x20'+this[j(0x129)][j(0x13b)]+j(0x131)),j(0x13d)+b+j(0x12f);if(typeof c[j(0x135)]==='function'){const d=c['use']();return this[j(0x137)][j(0x12c)](j(0x12b)+this[j(0x129)][j(0x13b)]+j(0x132)+b+'.'),d;}else return this[j(0x137)][j(0x12c)](j(0x12b)+b+j(0x136)),j(0x147)+b+j(0x146);}}
@@ -1 +1 @@
1
- function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x108;let f=c[d];return f;},a43d(a,b);}function a43c(){const m=['commandMap','(((.+)+)+)+$','1918740nTxUun','263544EBELTN','4UpoXrJ','registerCommand','470922vvGzFY','3357248AGCPbo','apply','557988xiyBXC','search','49DpeXzs','createCommand','592976dYGmZn','6344154eURwxG'];a43c=function(){return m;};return a43c();}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x108))/0x1+parseInt(f(0x10d))/0x2+-parseInt(f(0x113))/0x3*(-parseInt(f(0x10e))/0x4)+parseInt(f(0x10c))/0x5+parseInt(f(0x110))/0x6*(parseInt(f(0x115))/0x7)+parseInt(f(0x111))/0x8+-parseInt(f(0x109))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x5afdb));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()[h(0x114)](h(0x10b))['toString']()['constructor'](a43a)['search']('(((.+)+)+)+$');});a43a();export class CommandFactory{static [a43i(0x10a)]={};static[a43i(0x10f)](a,b){const j=a43i;this[j(0x10a)][a]=b;}static[a43i(0x116)](a,b){const k=a43i,c=this[k(0x10a)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const l=a43i;return this[l(0x10a)];}}
1
+ function a43c(){const l=['getAllRegisteredCommands','commandMap','apply','registerCommand','19nKwaOK','1244895lNsbSd','toString','30Tzgzwm','6396131qBCCVS','search','5162820CsGbei','1292EmZMBx','6527848KGoFld','2453697Afnkfb','(((.+)+)+)+$','9642mfbPCL','constructor','70382SJkRPS'];a43c=function(){return l;};return a43c();}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0xcc))/0x1*(-parseInt(f(0xc7))/0x2)+parseInt(f(0xc5))/0x3*(parseInt(f(0xd3))/0x4)+parseInt(f(0xcd))/0x5+parseInt(f(0xd2))/0x6+-parseInt(f(0xd0))/0x7+parseInt(f(0xd4))/0x8+parseInt(f(0xd5))/0x9*(-parseInt(f(0xcf))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x8985b));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xc5;let f=c[d];return f;},a43d(a,b);}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0xce)]()[h(0xd1)](h(0xd6))[h(0xce)]()[h(0xc6)](a43a)[h(0xd1)](h(0xd6));});a43a();export class CommandFactory{static [a43i(0xc9)]={};static[a43i(0xcb)](a,b){const j=a43i;this[j(0xc9)][a]=b;}static['createCommand'](a,b){const k=a43i,c=this[k(0xc9)][a];if(c)return new c(b);return null;}static[a43i(0xc8)](){return this['commandMap'];}}
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x98))/0x1*(parseInt(f(0xae))/0x2)+-parseInt(f(0xb4))/0x3*(parseInt(f(0xa6))/0x4)+parseInt(f(0xa4))/0x5*(-parseInt(f(0xb5))/0x6)+parseInt(f(0xad))/0x7+-parseInt(f(0x96))/0x8+parseInt(f(0xab))/0x9+-parseInt(f(0xaa))/0xa*(-parseInt(f(0xb0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x194c0));function a44c(){const o=['name','27gsfDdy','30JpKpzd','legarmor','gauntlets','boots','642560DodQUQ','rifle','50705wKMnFS','setPuzzle','puzzle','roomType','bodyarmor','inventory','INSIDE','toUpperCase','sword','createItem','description','toString','198745JTSycF','items','51348hOWahC','key','apply','isStartRoom','530fJQpNa','71226uKGbmO','helmet','105567qNpUAf','4FEoRpq','rewardItem','77583ZhEPGC','convertToRoomConfig','createPuzzle'];a44c=function(){return o;};return a44c();}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xa3)]()['search']('(((.+)+)+)+$')[h(0xa3)]()['constructor'](a44a)['search']('(((.+)+)+)+$');});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x95;let f=c[d];return f;},a44d(a,b);}export class RoomFactory{['createRoom'](a){const i=a44d,b=this[i(0xb1)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[i(0xa5)]['forEach'](e=>{const j=i;d['addItem'](this[j(0xa1)](e));}),c[i(0x9d)]=d;}return a[i(0x9a)]&&c[i(0x99)](this['createPuzzle'](a[i(0x9a)])),c;}[a44k(0xa1)](a){const l=a44k;switch(a['type']){case l(0xa7):return new Key(a[l(0xb3)],a[l(0xa2)]);case'book':return new Book(a[l(0xb3)],a['description'],a['content']);case l(0xa0):return new Sword(a['name'],a['description']);case l(0x97):return new Rifle(a['name'],a[l(0xa2)]);case l(0xac):return new Helmet(a[l(0xb3)],a[l(0xa2)]);case l(0x9c):return new BodyArmor(a[l(0xb3)],a[l(0xa2)]);case l(0xb6):return new LegArmor(a[l(0xb3)],a['description']);case l(0x95):return new Boots(a['name'],a[l(0xa2)]);case'gloves':return new Gloves(a[l(0xb3)],a['description']);case l(0xb7):return new Gauntlets(a[l(0xb3)],a[l(0xa2)]);default:return new BasicItem(a[l(0xb3)],a[l(0xa2)]);}}[a44k(0xb2)](a){const m=a44k,b=this['createItem'](a[m(0xaf)]);return new Puzzle({...a,'rewardItem':b});}[a44k(0xb1)](a){const n=a44k,b=a[n(0x9b)]&&RoomType[a[n(0x9b)][n(0x9f)]()]?RoomType[a['roomType'][n(0x9f)]()]:RoomType[n(0x9e)];return{'name':a[n(0xb3)],'description':a['description'],'isStartRoom':a[n(0xa9)],'roomType':b};}}
1
+ const a44i=a44d;function a44c(){const m=['type','sword','2872161NfzFHW','items','createRoom','64zxNgws','gauntlets','roomType','name','search','book','8bwihCn','12458pYYnMV','legarmor','(((.+)+)+)+$','constructor','rifle','toString','forEach','description','4NIAkgI','32520884YDsGje','helmet','12Cglyyb','apply','puzzle','createPuzzle','2333793gioMbk','convertToRoomConfig','inventory','3660345rysaoh','4595970mbkyGk','2353167KdZgQd','createItem','toUpperCase'];a44c=function(){return m;};return a44c();}(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x140))/0x1*(-parseInt(f(0x124))/0x2)+-parseInt(f(0x138))/0x3*(-parseInt(f(0x12c))/0x4)+parseInt(f(0x136))/0x5+-parseInt(f(0x12f))/0x6*(-parseInt(f(0x133))/0x7)+-parseInt(f(0x123))/0x8*(-parseInt(f(0x13d))/0x9)+parseInt(f(0x137))/0xa+-parseInt(f(0x12d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x62ae2));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x129)]()[h(0x144)](h(0x126))[h(0x129)]()[h(0x127)](a44a)['search'](h(0x126));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x123;let f=c[d];return f;},a44d(a,b);}a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0x13f)](a){const j=a44i,b=this[j(0x134)](a),c=new Room(b);if(a[j(0x13e)]){const d=new Inventory();a[j(0x13e)][j(0x12a)](e=>{d['addItem'](this['createItem'](e));}),c[j(0x135)]=d;}return a[j(0x131)]&&c['setPuzzle'](this[j(0x132)](a[j(0x131)])),c;}[a44i(0x139)](a){const k=a44i;switch(a[k(0x13b)]){case'key':return new Key(a[k(0x143)],a['description']);case k(0x145):return new Book(a['name'],a[k(0x12b)],a['content']);case k(0x13c):return new Sword(a['name'],a[k(0x12b)]);case k(0x128):return new Rifle(a[k(0x143)],a['description']);case k(0x12e):return new Helmet(a[k(0x143)],a[k(0x12b)]);case'bodyarmor':return new BodyArmor(a[k(0x143)],a[k(0x12b)]);case k(0x125):return new LegArmor(a['name'],a['description']);case'boots':return new Boots(a[k(0x143)],a[k(0x12b)]);case'gloves':return new Gloves(a[k(0x143)],a['description']);case k(0x141):return new Gauntlets(a[k(0x143)],a['description']);default:return new BasicItem(a[k(0x143)],a[k(0x12b)]);}}[a44i(0x132)](a){const b=this['createItem'](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a44i(0x134)](a){const l=a44i,b=a[l(0x142)]&&RoomType[a[l(0x142)][l(0x13a)]()]?RoomType[a[l(0x142)][l(0x13a)]()]:RoomType['INSIDE'];return{'name':a[l(0x143)],'description':a[l(0x12b)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0xcc))/0x1+parseInt(h(0xbe))/0x2*(-parseInt(h(0xc6))/0x3)+-parseInt(h(0xd1))/0x4+parseInt(h(0xc1))/0x5+-parseInt(h(0xc2))/0x6*(parseInt(h(0xb8))/0x7)+parseInt(h(0xd9))/0x8*(parseInt(h(0xe3))/0x9)+parseInt(h(0xd8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x793e2));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0xd4)]()[j(0xb9)](j(0xbb))[j(0xd4)]()[j(0xcf)](a45a)[j(0xb9)]('(((.+)+)+)+$');});a45a();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';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xb7;let f=c[d];return f;},a45d(a,b);}function a45c(){const s=['Available\x20Commands:\x0a','execute','19998540KHJUAY','35656ERYwnN','getAllRegisteredCommands','rooms','split','-\x20quit:\x20Exit\x20the\x20game.\x0a','quit','registerCommands','Welcome,\x20','slice','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','9DLHXfP','hasOwnProperty','getInstance','toLowerCase','name','drop','help','clear','solve','84vgrzTK','search','getHelpMessage','(((.+)+)+)+$','createCommand','currentRoom','448znqORK','trim','instance','232770IUWimW','8328gVvegy','initialize','-\x20clear:\x20Clear\x20the\x20screen.\x0a','apply','11688YtgYlF','unlock','player','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','scene','registerCommand','512725ByxQmg','say','getWelcomeMessage','constructor','getRooms','608680nYtBbt','unequip','determineStartRoom','toString','handleInput'];a45c=function(){return s;};return a45c();}import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0xc0)];[a45k(0xca)];[a45k(0xc8)];[a45k(0xbd)];[a45k(0xdb)];constructor(a,b){const l=a45k;this[l(0xc8)]=a,this[l(0xca)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0xc3)](),this['player']['currentLocation']=this[l(0xd3)](),this[l(0xdf)]();}[a45k(0xdf)](){const m=a45k;CommandFactory[m(0xcb)]('look',LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory['registerCommand']('take',TakeCommand),CommandFactory[m(0xcb)]('use',UseCommand),CommandFactory[m(0xcb)]('equip',EquipCommand),CommandFactory[m(0xcb)](m(0xd2),UnequipCommand),CommandFactory[m(0xcb)](m(0xb7),SolveCommand),CommandFactory['registerCommand'](m(0xe8),DropCommand),CommandFactory[m(0xcb)](m(0xc7),UnlockCommand),CommandFactory[m(0xcb)]('lock',LockCommand),CommandFactory['registerCommand'](m(0xb9),SearchCommand),CommandFactory[m(0xcb)](m(0xcd),SayCommand);}[a45k(0xd3)](){const n=a45k;return this[n(0xca)][n(0xd3)]();}[a45k(0xce)](){const o=a45k;return o(0xe0)+this[o(0xc8)][o(0xe7)];}static[a45k(0xe5)](a,b){const p=a45k;return!Game[p(0xc0)]&&(Game['instance']=new Game(a,b)),Game[p(0xc0)];}[a45k(0xd5)](a){const q=a45k,b=a[q(0xbf)]()[q(0xdc)]('\x20'),c=b[0x0][q(0xe6)](),d=b[q(0xe1)](0x1);if(c===q(0xde))return null;if(c==='maka')return q(0xe2);if(c===q(0xe9))return this[q(0xba)]();if(c===q(0xea))return'';const e={'actor':this[q(0xc8)],'rooms':this[q(0xca)][q(0xd0)](),'scene':this['scene']},f=CommandFactory[q(0xbc)](c,e);if(f){const g=f[q(0xd7)](d);return g;}return q(0xc9)+c+'\x22.';}[a45k(0xba)](){const r=a45k,a=CommandFactory[r(0xda)]();let b=r(0xd6);for(const c in a){if(a[r(0xe4)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=r(0xc4),b+=r(0xdd),b;}}
1
+ const a45j=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x147;let f=c[d];return f;},a45d(a,b);}(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x161))/0x1*(parseInt(h(0x169))/0x2)+parseInt(h(0x162))/0x3+-parseInt(h(0x168))/0x4*(parseInt(h(0x149))/0x5)+parseInt(h(0x147))/0x6*(-parseInt(h(0x15a))/0x7)+-parseInt(h(0x16a))/0x8+-parseInt(h(0x16f))/0x9+parseInt(h(0x14e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x87716));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const i=a45d;return a45a[i(0x156)]()['search'](i(0x16c))[i(0x156)]()[i(0x175)](a45a)[i(0x152)](i(0x16c));});a45a();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 a45c(){const r=['search','Available\x20Commands:\x0a','unlock','say','toString','createCommand','getAllRegisteredCommands','scene','521801bwEJEz','maka','getHelpMessage','instance','handleInput','clear','drop','509EgHsTV','567735xchnVM','split','currentRoom','solve','registerCommand','getInstance','4lmngma','2716IwAMVk','6016552MkuqjL','currentLocation','(((.+)+)+)+$','getWelcomeMessage','player','293859kcvUaZ','registerCommands','getDescription','trim','unequip','lock','constructor','look','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','getRooms','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','54mkLWBm','-\x20clear:\x20Clear\x20the\x20screen.\x0a','2814190WTgghe','name','hasOwnProperty','execute','toLowerCase','16927520mUMfZj','use','take','determineStartRoom'];a45c=function(){return r;};return a45c();}export default class Game{static [a45j(0x15d)];['scene'];[a45j(0x16e)];[a45j(0x164)];['rooms'];constructor(a,b){const k=a45j;this[k(0x16e)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this['scene']['initialize'](),this[k(0x16e)][k(0x16b)]=this[k(0x151)](),this[k(0x170)]();}[a45j(0x170)](){const l=a45j;CommandFactory[l(0x166)](l(0x176),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[l(0x166)](l(0x150),TakeCommand),CommandFactory[l(0x166)](l(0x14f),UseCommand),CommandFactory[l(0x166)]('equip',EquipCommand),CommandFactory['registerCommand'](l(0x173),UnequipCommand),CommandFactory['registerCommand'](l(0x165),SolveCommand),CommandFactory[l(0x166)](l(0x160),DropCommand),CommandFactory[l(0x166)](l(0x154),UnlockCommand),CommandFactory[l(0x166)](l(0x174),LockCommand),CommandFactory[l(0x166)](l(0x152),SearchCommand),CommandFactory[l(0x166)](l(0x155),SayCommand);}[a45j(0x151)](){const m=a45j;return this[m(0x159)][m(0x151)]();}[a45j(0x16d)](){const n=a45j;return'Welcome,\x20'+this[n(0x16e)][n(0x14a)];}static[a45j(0x167)](a,b){const o=a45j;return!Game[o(0x15d)]&&(Game[o(0x15d)]=new Game(a,b)),Game[o(0x15d)];}[a45j(0x15e)](a){const p=a45j,b=a[p(0x172)]()[p(0x163)]('\x20'),c=b[0x0][p(0x14d)](),d=b['slice'](0x1);if(c==='quit')return null;if(c===p(0x15b))return p(0x179);if(c==='help')return this[p(0x15c)]();if(c===p(0x15f))return'';const e={'actor':this[p(0x16e)],'rooms':this[p(0x159)][p(0x178)](),'scene':this[p(0x159)]},f=CommandFactory[p(0x157)](c,e);if(f){const g=f[p(0x14c)](d);return g;}return p(0x177)+c+'\x22.';}[a45j(0x15c)](){const q=a45j,a=CommandFactory[q(0x158)]();let b=q(0x153);for(const c in a){if(a[q(0x14b)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x171)]()+'\x0a';}}return b+=q(0x148),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x159))/0x1+-parseInt(f(0x160))/0x2*(parseInt(f(0x162))/0x3)+parseInt(f(0x15b))/0x4+parseInt(f(0x155))/0x5*(parseInt(f(0x154))/0x6)+-parseInt(f(0x157))/0x7+parseInt(f(0x15a))/0x8*(parseInt(f(0x161))/0x9)+-parseInt(f(0x156))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x90b13));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x15c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0x15d)](h(0x15e))[h(0x158)]()[h(0x15f)](a46a)['search'](h(0x15e));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x154;var f=c[d];return f;},a46d(a,b);}export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a46c(){var i=['search','(((.+)+)+)+$','constructor','742954XCZZoI','757611ovHdgy','9DWuYGN','294uvmkVK','65460BnHhZA','1482130MURuzo','417242SVsuUx','toString','480113OqWtRA','112EwiURn','2300032OnQihn','apply'];a46c=function(){return i;};return a46c();}export*from'./scene.js';
1
+ function a46c(){var h=['885532pFMWnG','1511496HzxZjN','toString','196477pKhISG','352125rHNbTY','63VaZodi','17162USnSpt','search','11gqKfky','5CrYxVJ','45hxOrjn','constructor','30QXkkgF','238120WgIReE','2632344RRjYsp','(((.+)+)+)+$'];a46c=function(){return h;};return a46c();}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x106))/0x1+-parseInt(f(0xf9))/0x2*(parseInt(f(0xfd))/0x3)+parseInt(f(0x103))/0x4+parseInt(f(0xfc))/0x5*(parseInt(f(0x104))/0x6)+parseInt(f(0xf8))/0x7*(-parseInt(f(0x100))/0x8)+parseInt(f(0xf7))/0x9*(parseInt(f(0xff))/0xa)+-parseInt(f(0xfb))/0xb*(parseInt(f(0x101))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x29cb5));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(0x105)]()['search'](g(0x102))[g(0x105)]()[g(0xfe)](a46a)[g(0xfa)](g(0x102));});a46a();function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xf7;var f=c[d];return f;},a46d(a,b);}export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a47i=a47d;function a47c(){var n=['(((.+)+)+)+$','.\x20Used:\x20','Failed\x20to\x20unlock\x20door:\x20','isLocked','toString','92ZUPbLC','15123UQgPCC','2530qfIXqf','To\x20','logger','\x20and\x20','checkIfLocked','checkIfLockable','4788765cXBJAe','roomA','getOtherSide','name','547860kHJzFm','Door\x20created\x20between\x20','roomB','2796870GeoinB','getInstance','write','apply','9930iEFvEI','unlockItemOrSolution','7bEwqHN','Door\x20unlocked:\x20','2649816beexmC','constructor','isLockable','search','22572hoUXIK','72qIzcma'];a47c=function(){return n;};return a47c();}(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x90))/0x1*(-parseInt(f(0x8f))/0x2)+-parseInt(f(0x9b))/0x3+parseInt(f(0x89))/0x4*(parseInt(f(0x80))/0x5)+-parseInt(f(0x7c))/0x6*(parseInt(f(0x82))/0x7)+parseInt(f(0x84))/0x8+-parseInt(f(0x97))/0x9+-parseInt(f(0x91))/0xa*(-parseInt(f(0x88))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x61e2b));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x8e)]()[h(0x87)](h(0x8a))[h(0x8e)]()[h(0x85)](a47a)[h(0x87)](h(0x8a));});a47a();function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x7a;var f=c[d];return f;},a47d(a,b);}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x98)];[a47i(0x7b)];[a47i(0x8d)];[a47i(0x81)];[a47i(0x9a)];[a47i(0x93)];['isLockable'];constructor(a){var j=a47i;super(),this[j(0x98)]=a[j(0x98)],this[j(0x7b)]=a['roomB'],this[j(0x8d)]=a[j(0x8d)]||![],this[j(0x81)]=a[j(0x81)],this[j(0x9a)]=a[j(0x9a)]?capitalCase(a[j(0x9a)]):j(0x92)+a[j(0x7b)][j(0x9a)],this[j(0x93)]=Logger[j(0x7d)](),this[j(0x86)]=!!a['unlockItemOrSolution'],this[j(0x93)][j(0x7e)](j(0x7a)+this[j(0x98)][j(0x9a)]+j(0x94)+this[j(0x7b)][j(0x9a)]+'.\x20Is\x20Locked:\x20'+this[j(0x8d)]);}[a47i(0x99)](a){var k=a47i;return this[k(0x98)]===a?this[k(0x7b)]:this[k(0x98)];}['attemptUnlock'](a){var l=a47i;if(this[l(0x8d)]&&this[l(0x81)]&&this[l(0x81)]===a)return this[l(0x8d)]=![],this[l(0x93)][l(0x7e)](l(0x83)+this[l(0x9a)]+l(0x8b)+a),!![];return this['logger'][l(0x7e)](l(0x8c)+this[l(0x9a)]+l(0x8b)+a),![];}[a47i(0x95)](){var m=a47i;return this[m(0x8d)];}[a47i(0x96)](){return this['isLockable'];}}
1
+ var a47h=a47d;function a47c(){var n=['.\x20Is\x20Locked:\x20','logger','toString','8435fACtft','isLocked','To\x20','39VccCED','search','attemptUnlock','write','checkIfLocked','2669744fAOvbg','unlockItemOrSolution','.\x20Used:\x20','\x20and\x20','getInstance','roomB','17190BxGXgi','isLockable','checkIfLockable','12058PilsMR','1271826qPIWVx','1704QMDtFj','name','27518juUBPl','Failed\x20to\x20unlock\x20door:\x20','4175eptoOG','Door\x20unlocked:\x20','2140uRRAox','1040DzAISN','roomA'];a47c=function(){return n;};return a47c();}(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x1d7))/0x1+-parseInt(f(0x1db))/0x2*(-parseInt(f(0x1e8))/0x3)+parseInt(f(0x1df))/0x4*(-parseInt(f(0x1dd))/0x5)+-parseInt(f(0x1d8))/0x6+parseInt(f(0x1e5))/0x7*(parseInt(f(0x1d9))/0x8)+parseInt(f(0x1f3))/0x9*(parseInt(f(0x1e0))/0xa)+parseInt(f(0x1ed))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x3835e));var a47b=(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;};}()),a47a=a47b(this,function(){var g=a47d;return a47a[g(0x1e4)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a47a)[g(0x1e9)]('(((.+)+)+)+$');});function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x1d6;var f=c[d];return f;},a47d(a,b);}a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47h(0x1e1)];[a47h(0x1f2)];[a47h(0x1e6)];[a47h(0x1ee)];['name'];[a47h(0x1e3)];['isLockable'];constructor(a){var i=a47h;super(),this['roomA']=a[i(0x1e1)],this[i(0x1f2)]=a[i(0x1f2)],this[i(0x1e6)]=a[i(0x1e6)]||![],this[i(0x1ee)]=a['unlockItemOrSolution'],this['name']=a[i(0x1da)]?capitalCase(a[i(0x1da)]):i(0x1e7)+a[i(0x1f2)][i(0x1da)],this[i(0x1e3)]=Logger[i(0x1f1)](),this[i(0x1f4)]=!!a[i(0x1ee)],this['logger'][i(0x1eb)]('Door\x20created\x20between\x20'+this[i(0x1e1)][i(0x1da)]+i(0x1f0)+this['roomB'][i(0x1da)]+i(0x1e2)+this[i(0x1e6)]);}['getOtherSide'](a){var j=a47h;return this[j(0x1e1)]===a?this['roomB']:this[j(0x1e1)];}[a47h(0x1ea)](a){var k=a47h;if(this['isLocked']&&this[k(0x1ee)]&&this['unlockItemOrSolution']===a)return this['isLocked']=![],this[k(0x1e3)][k(0x1eb)](k(0x1de)+this[k(0x1da)]+k(0x1ef)+a),!![];return this[k(0x1e3)][k(0x1eb)](k(0x1dc)+this[k(0x1da)]+k(0x1ef)+a),![];}[a47h(0x1ec)](){var l=a47h;return this[l(0x1e6)];}[a47h(0x1d6)](){var m=a47h;return this[m(0x1f4)];}}
@@ -1 +1 @@
1
- const a48i=a48d;function a48c(){const r=['apply','Failed\x20to\x20remove\x20item:\x20','getAllItems','get','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','.\x20Item\x20not\x20found.','removeItem','has','\x20in\x20','getWeight','name','toLowerCase','3629800dsHWac','.\x20Exists:\x20','items','2076nJcwyG','join','Checked\x20for\x20item:\x20','898804PVBace','delete','getItem','logger','550yTYbig','map','\x20to\x20inventory.','addItem','4532705SMDiXM','constructor','Listed\x20items\x20in\x20inventory:\x20','(((.+)+)+)+$','514066cZwlzv','search','listItems','1491954pJgCZZ','\x20from\x20inventory.','hasItem','257139AlRCnp','keys','Removed\x20item:\x20','getInstance','write','9527tJdCZw','4ulCCoT','weight'];a48c=function(){return r;};return a48c();}function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x187;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x18b))/0x1+-parseInt(f(0x197))/0x2+parseInt(f(0x19a))/0x3+parseInt(f(0x1a3))/0x4*(parseInt(f(0x193))/0x5)+-parseInt(f(0x188))/0x6*(parseInt(f(0x1a2))/0x7)+parseInt(f(0x1b1))/0x8+-parseInt(f(0x19d))/0x9*(parseInt(f(0x18f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x6f954));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1a5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a['toString']()[h(0x198)](h(0x196))['toString']()[h(0x194)](a48a)[h(0x198)](h(0x196));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0x187)];[a48i(0x18e)];constructor(){const j=a48i;super(),this[j(0x187)]=new Map(),this[j(0x18e)]=Logger[j(0x1a0)]();}[a48i(0x192)](a){const k=a48i;this['items']['set'](a['name']['toLowerCase'](),a),this[k(0x18e)]['write']('Added\x20item:\x20'+a[k(0x1af)]+k(0x191));}[a48i(0x1ab)](a){const l=a48i,b=this[l(0x18d)](a);if(b)return this[l(0x187)][l(0x18c)](a[l(0x1b0)]()),this[l(0x18e)][l(0x1a1)](l(0x19f)+a+l(0x19b)),b;return this[l(0x18e)]['write'](l(0x1a6)+a+l(0x1aa)),null;}[a48i(0x19c)](a){const m=a48i,b=this[m(0x187)][m(0x1ac)](a[m(0x1b0)]()),c=[...this[m(0x187)]['keys']()];return this['logger'][m(0x1a1)](m(0x18a)+a+m(0x1ad)+c[m(0x189)](',\x20')+m(0x1b2)+b+'.'),b;}[a48i(0x18d)](a){const n=a48i,b=this[n(0x187)][n(0x1a8)](a['toLowerCase']())||null;return b?this[n(0x18e)][n(0x1a1)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this['logger'][n(0x1a1)](n(0x1a9)+a+'.\x20Item\x20not\x20found.'),b;}[a48i(0x199)](){const o=a48i,a=[...this[o(0x187)][o(0x19e)]()],b=a[o(0x190)](c=>capitalCase(c));return this[o(0x18e)][o(0x1a1)](o(0x195)+b[o(0x189)](',\x20')+'.'),a;}[a48i(0x1ae)](){const p=a48i;let a=0x0;for(const b of this['items']['values']()){a+=b[p(0x1a4)];}return a;}[a48i(0x1a7)](){const q=a48i;return[...this[q(0x187)]['values']()];}}
1
+ const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x15f))/0x1+-parseInt(f(0x171))/0x2+-parseInt(f(0x15a))/0x3*(parseInt(f(0x172))/0x4)+parseInt(f(0x15b))/0x5+-parseInt(f(0x173))/0x6*(-parseInt(f(0x168))/0x7)+-parseInt(f(0x163))/0x8*(parseInt(f(0x175))/0x9)+parseInt(f(0x160))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x9a5fa));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a[g(0x174)]()['search'](g(0x16a))['toString']()['constructor'](a48a)[g(0x153)]('(((.+)+)+)+$');});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a48c(){const q=['Failed\x20to\x20remove\x20item:\x20','logger','toLowerCase','getItem','2901081ELvAyC','2588260ZvOUnp','write','name','Listed\x20items\x20in\x20inventory:\x20','554480sHJFbo','11355010esYunr','\x20to\x20inventory.','values','3138472zZDomS','keys','items','\x20in\x20','\x20from\x20inventory.','3493zXAkfI','set','(((.+)+)+)+$','join','Checked\x20for\x20item:\x20','map','hasItem','Added\x20item:\x20','get','932962ZZxYNt','4eXBUzo','3012XnqxDf','toString','9zCpomH','Retrieved\x20details\x20for\x20item:\x20','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','weight','search','.\x20Item\x20not\x20found.','removeItem'];a48c=function(){return q;};return a48c();}function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x151;let f=c[d];return f;},a48d(a,b);}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48h(0x165)];[a48h(0x157)];constructor(){const i=a48h;super(),this[i(0x165)]=new Map(),this[i(0x157)]=Logger['getInstance']();}['addItem'](a){const j=a48h;this[j(0x165)][j(0x169)](a[j(0x15d)][j(0x158)](),a),this[j(0x157)][j(0x15c)](j(0x16f)+a['name']+j(0x161));}[a48h(0x155)](a){const k=a48h,b=this[k(0x159)](a);if(b)return this[k(0x165)]['delete'](a[k(0x158)]()),this['logger'][k(0x15c)]('Removed\x20item:\x20'+a+k(0x167)),b;return this['logger'][k(0x15c)](k(0x156)+a+k(0x154)),null;}[a48h(0x16e)](a){const l=a48h,b=this[l(0x165)]['has'](a['toLowerCase']()),c=[...this[l(0x165)]['keys']()];return this[l(0x157)][l(0x15c)](l(0x16c)+a+l(0x166)+c[l(0x16b)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a48h(0x159)](a){const m=a48h,b=this['items'][m(0x170)](a[m(0x158)]())||null;return b?this[m(0x157)][m(0x15c)](m(0x176)+a+'.'):this[m(0x157)][m(0x15c)](m(0x151)+a+m(0x154)),b;}['listItems'](){const n=a48h,a=[...this[n(0x165)][n(0x164)]()],b=a[n(0x16d)](c=>capitalCase(c));return this[n(0x157)][n(0x15c)](n(0x15e)+b[n(0x16b)](',\x20')+'.'),a;}['getWeight'](){const o=a48h;let a=0x0;for(const b of this[o(0x165)][o(0x162)]()){a+=b[o(0x152)];}return a;}['getAllItems'](){const p=a48h;return[...this[p(0x165)][p(0x162)]()];}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x65))/0x1*(parseInt(f(0x74))/0x2)+-parseInt(f(0x7b))/0x3+parseInt(f(0x64))/0x4+parseInt(f(0x72))/0x5+parseInt(f(0x6b))/0x6*(parseInt(f(0x66))/0x7)+-parseInt(f(0x67))/0x8*(parseInt(f(0x69))/0x9)+parseInt(f(0x77))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x83c30));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x75)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0x7a)](h(0x6c))['toString']()[h(0x68)](a49a)[h(0x7a)](h(0x6c));});function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x64;var f=c[d];return f;},a49d(a,b);}function a49c(){var l=['texture','1723930ryzRup','weight','1044dQVHAE','apply','uuid','4032320OMDKOu','category','You\x20use\x20the\x20','search','2980176dkpIOo','description','name','2361012UmrBiH','582PvVXZq','2651719cZqmhP','32ZNTtnr','constructor','1097559rBuyRF','use','6ihLtHP','(((.+)+)+)+$','rating','color','size','shape'];a49c=function(){return l;};return a49c();}a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x76)];[a49i(0x7d)];[a49i(0x7c)];['size'];['category'];[a49i(0x70)];[a49i(0x6e)];['texture'];[a49i(0x6d)];['weight'];constructor(a){var j=a49i;super(),this[j(0x7d)]=a[j(0x7d)],this[j(0x7c)]=a[j(0x7c)],this[j(0x6f)]=a[j(0x6f)],this[j(0x78)]=a[j(0x78)],this[j(0x70)]=a[j(0x70)],this[j(0x6e)]=a[j(0x6e)],this[j(0x71)]=a['texture'],this[j(0x6d)]=a['rating'],this[j(0x73)]=a['weight'],this[j(0x76)]=a49e();}[a49i(0x6a)](){var k=a49i;return k(0x79)+this[k(0x7d)]+'.\x20Nothing\x20special\x20happens.';}}
1
+ function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x100;var f=c[d];return f;},a49d(a,b);}var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x110))/0x1*(parseInt(f(0x112))/0x2)+parseInt(f(0x102))/0x3*(parseInt(f(0x116))/0x4)+-parseInt(f(0x109))/0x5*(parseInt(f(0x118))/0x6)+parseInt(f(0x10f))/0x7*(-parseInt(f(0x10a))/0x8)+parseInt(f(0x105))/0x9*(-parseInt(f(0x11c))/0xa)+parseInt(f(0x107))/0xb*(-parseInt(f(0x11e))/0xc)+parseInt(f(0x101))/0xd*(parseInt(f(0x115))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xcb1a3));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x119)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x10e)]()[h(0x104)]('(((.+)+)+)+$')[h(0x10e)]()[h(0x10b)](a49a)[h(0x104)]('(((.+)+)+)+$');});a49a();import{v4 as a49e}from'uuid';function a49c(){var l=['36LvFpBT','rating','7630370fZhFoV','You\x20use\x20the\x20','520vZmpMC','41296ITCjlI','constructor','uuid','category','toString','2114sxgkkL','10501ezgwfy','shape','106Zaqsoo','.\x20Nothing\x20special\x20happens.','weight','30577274HVRZii','3897172kiVvlW','name','31662LYLKaf','apply','texture','color','204070FuwZbO','description','12QEDdsf','size','13tSUwAu','3byRyQo','use','search'];a49c=function(){return l;};return a49c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x10c)];[a49i(0x117)];[a49i(0x11d)];[a49i(0x100)];[a49i(0x10d)];[a49i(0x111)];[a49i(0x11b)];[a49i(0x11a)];[a49i(0x106)];[a49i(0x114)];constructor(a){var j=a49i;super(),this['name']=a[j(0x117)],this[j(0x11d)]=a[j(0x11d)],this[j(0x100)]=a['size'],this[j(0x10d)]=a[j(0x10d)],this[j(0x111)]=a[j(0x111)],this[j(0x11b)]=a[j(0x11b)],this[j(0x11a)]=a['texture'],this[j(0x106)]=a[j(0x106)],this[j(0x114)]=a['weight'],this[j(0x10c)]=a49e();}[a49i(0x103)](){var k=a49i;return k(0x108)+this[k(0x117)]+k(0x113);}}
@@ -1 +1 @@
1
- const a50h=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x16a))/0x1*(-parseInt(f(0x171))/0x2)+parseInt(f(0x162))/0x3+parseInt(f(0x161))/0x4+-parseInt(f(0x178))/0x5*(-parseInt(f(0x16c))/0x6)+parseInt(f(0x164))/0x7+-parseInt(f(0x165))/0x8*(parseInt(f(0x166))/0x9)+-parseInt(f(0x15f))/0xa*(parseInt(f(0x163))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x4dd9b));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(0x16b)]()[g(0x16e)](g(0x160))[g(0x16b)]()[g(0x16f)](a50a)['search'](g(0x160));});a50a();function a50c(){const m=['moveTo','18TqpUOc','toString','114dVowDh','name','search','constructor','scene','11870SLLTll','rooms','execute','_name','random','floor','autonomousMove','164025jhnvgA','_dialogue','8141790EcQZio','(((.+)+)+)+$','1510312qjGYgl','177006bJduxA','11lfFqVM','1762698yOGwiz','24mWxQuL','215415GHbukv','length','speak'];a50c=function(){return m;};return a50c();}import{Player}from'./player.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x15e;let f=c[d];return f;},a50d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50h(0x174)];[a50h(0x15e)];[a50h(0x172)];[a50h(0x170)];constructor(a,b,c,d){const i=a50h;super(d),this[i(0x174)]=a,this['_dialogue']=b,this['rooms']=c;}get[a50h(0x16d)](){return this['_name'];}[a50h(0x168)](){const j=a50h;return this['_dialogue'][Math[j(0x176)](Math[j(0x175)]()*this[j(0x15e)][j(0x167)])];}[a50h(0x177)](a){const k=a50h,b=a[Math[k(0x176)](Math[k(0x175)]()*a['length'])];this[k(0x169)](b[k(0x16d)]);}['moveTo'](a){const l=a50h,b={'actor':this,'rooms':this['rooms'],'scene':this[l(0x170)]},c=new GoCommand(b);c[l(0x173)]([a]);}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x16d))/0x1*(-parseInt(f(0x169))/0x2)+parseInt(f(0x166))/0x3+parseInt(f(0x16e))/0x4+parseInt(f(0x16c))/0x5*(parseInt(f(0x168))/0x6)+parseInt(f(0x167))/0x7+parseInt(f(0x17a))/0x8*(parseInt(f(0x16f))/0x9)+-parseInt(f(0x163))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x39aa0));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x174)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x176)]()['search']('(((.+)+)+)+$')[h(0x176)]()[h(0x177)](a50a)[h(0x172)]('(((.+)+)+)+$');});a50a();function a50c(){const n=['constructor','moveTo','scene','24904eMTZdb','_dialogue','4021470ywvxPq','length','name','414540zMTakD','2277275WvRVHN','89766IRMvxv','84mGxSEz','autonomousMove','floor','65EESgvw','9696oioHuj','1002404zKBZsk','396JHLpzg','random','speak','search','_name','apply','rooms','toString'];a50c=function(){return n;};return a50c();}function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x163;let f=c[d];return f;},a50d(a,b);}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a50i(0x17b)];['rooms'];[a50i(0x179)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x173)]=a,this[j(0x17b)]=b,this[j(0x175)]=c;}get[a50i(0x165)](){return this['_name'];}[a50i(0x171)](){const k=a50i;return this[k(0x17b)][Math['floor'](Math[k(0x170)]()*this[k(0x17b)]['length'])];}[a50i(0x16a)](a){const l=a50i,b=a[Math[l(0x16b)](Math['random']()*a[l(0x164)])];this[l(0x178)](b['name']);}[a50i(0x178)](a){const m=a50i,b={'actor':this,'rooms':this[m(0x175)],'scene':this[m(0x179)]},c=new GoCommand(b);c['execute']([a]);}}
@@ -1 +1 @@
1
- const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x139))/0x1+parseInt(f(0x138))/0x2+-parseInt(f(0x167))/0x3*(-parseInt(f(0x184))/0x4)+-parseInt(f(0x14b))/0x5*(parseInt(f(0x17a))/0x6)+-parseInt(f(0x16d))/0x7+parseInt(f(0x182))/0x8+-parseInt(f(0x135))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x57412));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 g=a51d;return a51a['toString']()[g(0x153)](g(0x16e))[g(0x171)]()['constructor'](a51a)[g(0x153)](g(0x16e));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x130;let f=c[d];return f;},a51d(a,b);}import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a51c(){const y=['_playerName','6671646IjYETL','getInstance','logger','618302BUXlFT','200434OmoFrH','Hat','You\x20equipped\x20','currentLocation','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','includes','log','\x20is\x20no\x20longer\x20listeng\x20in\x20','You\x20can\x27t\x20equip\x20','inventoryItems','enterRoom','weapon','Max\x20carrying\x20weight\x20must\x20be\x20positive.','bodyarmor','off','speak','Failed\x20to\x20remove\x20','_equipment','5KYOoSc','shield','hasItem','\x20from\x20player\x27s\x20inventory.','rightHand','leaveRoom','torso','Boots','search','maxCarryingWeight','Added\x20','feet','A\x20featureless\x20room','You\x20unequipped\x20','_currentLocation','arm\x20armor','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','ArmArmor','\x20says:\x20\x22','toLowerCase','\x20slot.','Nexus','gloves','category','getWeight','values','leg\x20armor','removeItem','1795971rOZwgk','playerName','BodyArmor','helmet','Removed\x20','hear','1545425ONFlze','(((.+)+)+)+$','determineEquipmentSlot','legarmor','toString','write','Helmet','leftHand','equipment','boots','canEquip','_inventory','currentWeight','2334624lnNfwA','inventory','Shield','LegArmor','removeInventory','weight','legs','\x20is\x20now\x20listening\x20in\x20room\x20','4802600IriqFy','addInventory','4fqDymU','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','name','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','head','Gloves','bind','Invalid\x20category\x20or\x20slot:\x20','addItem','unequipBySlot','Weapon'];a51c=function(){return y;};return a51c();}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51h(0x134)];[a51h(0x159)];[a51h(0x178)];[a51h(0x14a)];['_maxCarryingWeight']=0x32;[a51h(0x137)];constructor(a){const i=a51h;super(),this[i(0x134)]=a[i(0x168)],this[i(0x159)]=a['startLocation']||new Room({'name':i(0x160),'description':i(0x157)}),this['_inventory']=new Inventory(),this[i(0x137)]=Logger[i(0x136)]();if(a?.[i(0x142)])for(const b of a['inventoryItems']){this['_inventory'][i(0x131)](b);}this[i(0x14a)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0x186)](){const j=a51h;return this[j(0x134)];}get[a51h(0x13c)](){const k=a51h;return this[k(0x159)];}set['currentLocation'](a){const l=a51h;this[l(0x159)]!==a&&(this[l(0x150)](),this['enterRoom'](a)),this[l(0x159)]=a;}get[a51h(0x17b)](){return this['_inventory'];}get[a51h(0x175)](){return this['_equipment'];}set[a51h(0x175)](a){this['_equipment']=a;}get[a51h(0x154)](){return this['_maxCarryingWeight'];}set[a51h(0x154)](a){const m=a51h;a>0x0?this['_maxCarryingWeight']=a:console['error'](m(0x145));}get['currentWeight'](){const n=a51h;let a=this[n(0x178)][n(0x163)]();for(const b in this[n(0x14a)]){const c=this[n(0x14a)][b];c&&(a+=c[n(0x17f)]);}return a;}['addInventory'](a){const o=a51h;if(this[o(0x179)]+a[o(0x17f)]>this[o(0x154)]){this['logger']['write'](o(0x13d));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[o(0x178)][o(0x131)](a),this[o(0x137)][o(0x172)](o(0x155)+a[o(0x186)]+'\x20to\x20player\x27s\x20inventory.');}['removeInventory'](a){const p=a51h;if(this[p(0x178)][p(0x166)](a[p(0x186)]))return this['logger'][p(0x172)](p(0x16b)+a[p(0x186)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[p(0x137)][p(0x172)](p(0x149)+a[p(0x186)]+p(0x14e)),![];}['equip'](a){const q=a51h;if(!this[q(0x178)][q(0x14d)](a[q(0x186)]))return'You\x20don\x27t\x20have\x20'+a[q(0x186)]+'\x20in\x20your\x20inventory.';if(!this['canEquip'](a))return q(0x141)+a[q(0x186)]+'.';const b=this[q(0x16f)](a[q(0x162)]);if(!b)return a[q(0x186)]+q(0x15b);if(this[q(0x175)][b])return q(0x187)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[q(0x175)][b]=a,this[q(0x17e)](a),q(0x13b)+a[q(0x186)]+'.';}['unequip'](a){const r=a51h;let b=a;if(!this[r(0x175)][camelCase(b)]){b=this[r(0x16f)](a);if(!b)return r(0x130)+a+'.';}return this[r(0x132)](b);}[a51h(0x16f)](a){const s=a51h;switch(a[s(0x15e)]()){case Category[s(0x133)][s(0x15e)]():return s(0x14f);case Category[s(0x17c)][s(0x15e)]():return s(0x174);case Category[s(0x189)][s(0x15e)]():return s(0x161);case Category[s(0x173)][s(0x15e)]():case Category[s(0x13a)][s(0x15e)]():return s(0x188);case Category[s(0x152)][s(0x15e)]():return s(0x156);case Category[s(0x17d)][s(0x15e)]():return s(0x180);case Category[s(0x15c)][s(0x15e)]():return'arms';case Category[s(0x169)]['toLowerCase']():return s(0x151);case s(0x144):return s(0x14f);case s(0x14c):return'leftHand';case s(0x161):return s(0x161);case s(0x16a):case'hat':return s(0x188);case s(0x176):return s(0x156);case s(0x165):case s(0x170):return'legs';case s(0x15a):case'armarmor':return'arms';case'body\x20armor':case s(0x146):case s(0x151):return'torso';default:return null;}}[a51h(0x177)](a){const t=a51h;return Object[t(0x164)](Category)[t(0x13e)](a[t(0x162)]);}[a51h(0x132)](a){const u=a51h,b=this[u(0x175)][a];if(!b)return u(0x185)+a+u(0x15f);return this[u(0x183)](b),this[u(0x175)][a]=null,u(0x158)+b[u(0x186)]+'.';}[a51h(0x16c)](a,b){const v=a51h;a!==this&&this[v(0x137)][v(0x13f)](a[v(0x186)]+v(0x15d)+b+'\x22');}[a51h(0x143)](a){const w=a51h;this[w(0x159)]=a,a['on'](w(0x148),this[w(0x16c)][w(0x18a)](this)),this[w(0x137)][w(0x172)](this[w(0x186)]+w(0x181)+a[w(0x186)]);}[a51h(0x150)](){const x=a51h;this[x(0x159)]&&(this[x(0x159)][x(0x147)](x(0x148),this[x(0x16c)]['bind'](this)),this[x(0x137)]['write'](this['name']+x(0x140)+this[x(0x159)]['name']));}}
1
+ function a51c(){const A=['torso','feet','error','12zGPNgR','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','body\x20armor','_currentLocation','addItem','arm\x20armor','484754yVRBHF','hasItem','maxCarryingWeight','A\x20featureless\x20room','removeItem','inventoryItems','write','equipment','log','removeInventory','You\x20unequipped\x20','armarmor','_playerName','speak','LegArmor','bodyarmor','search','unequip','addInventory','leaveRoom','rightHand','\x20slot.','ArmArmor','hear','\x20from\x20player\x27s\x20inventory.','equip','8327322Zbmqks','weapon','3717276UtDyHx','Nexus','getInstance','includes','logger','Removed\x20','Weapon','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','6680034GQkPRG','legarmor','off','toLowerCase','756697wVDWKD','\x20says:\x20\x22','category','781UqryXz','bind','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','shield','You\x20don\x27t\x20have\x20','\x20in\x20your\x20inventory.','determineEquipmentSlot','8jycxPW','5BOzCFs','getWeight','gloves','Gloves','enterRoom','currentLocation','Failed\x20to\x20remove\x20','unequipBySlot','inventory','You\x20can\x27t\x20equip\x20','values','_inventory','Shield','toString','name','Added\x20','head','Hat','7639268QQFvGp','arms','leftHand','Boots','\x20to\x20player\x27s\x20inventory.','(((.+)+)+)+$','Invalid\x20category\x20or\x20slot:\x20','159270JrdIjx','legs','BodyArmor','_equipment','Max\x20carrying\x20weight\x20must\x20be\x20positive.','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','_maxCarryingWeight'];a51c=function(){return A;};return a51c();}const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x141))/0x1+parseInt(f(0x119))/0x2*(parseInt(f(0x113))/0x3)+parseInt(f(0x135))/0x4*(-parseInt(f(0xf0))/0x5)+-parseInt(f(0x13d))/0x6+parseInt(f(0x102))/0x7+parseInt(f(0xef))/0x8*(parseInt(f(0x133))/0x9)+parseInt(f(0x109))/0xa*(-parseInt(f(0x144))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x8afe0));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 g=a51d;return a51a['toString']()[g(0x129)](g(0x107))[g(0xfd)]()['constructor'](a51a)['search'](g(0x107));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xef;let f=c[d];return f;},a51d(a,b);}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a51h(0x116)];['_inventory'];['_equipment'];[a51h(0x10f)]=0x32;['logger'];constructor(a){const i=a51h;super(),this[i(0x125)]=a['playerName'],this[i(0x116)]=a['startLocation']||new Room({'name':i(0x136),'description':i(0x11c)}),this[i(0xfb)]=new Inventory(),this[i(0x139)]=Logger[i(0x137)]();if(a?.[i(0x11e)])for(const b of a[i(0x11e)]){this[i(0xfb)][i(0x117)](b);}this['_equipment']=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0xfe)](){return this['_playerName'];}get['currentLocation'](){const j=a51h;return this[j(0x116)];}set[a51h(0xf5)](a){const k=a51h;this[k(0x116)]!==a&&(this[k(0x12c)](),this['enterRoom'](a)),this[k(0x116)]=a;}get[a51h(0xf8)](){return this['_inventory'];}get[a51h(0x120)](){const l=a51h;return this[l(0x10c)];}set[a51h(0x120)](a){const m=a51h;this[m(0x10c)]=a;}get[a51h(0x11b)](){const n=a51h;return this[n(0x10f)];}set[a51h(0x11b)](a){const o=a51h;a>0x0?this[o(0x10f)]=a:console[o(0x112)](o(0x10d));}get['currentWeight'](){const p=a51h;let a=this[p(0xfb)][p(0xf1)]();for(const b in this[p(0x10c)]){const c=this[p(0x10c)][b];c&&(a+=c['weight']);}return a;}['addInventory'](a){const q=a51h;if(this['currentWeight']+a['weight']>this['maxCarryingWeight']){this[q(0x139)][q(0x11f)](q(0x146));throw new Error(q(0x10e));}this[q(0xfb)][q(0x117)](a),this[q(0x139)][q(0x11f)](q(0xff)+a[q(0xfe)]+q(0x106));}[a51h(0x122)](a){const r=a51h;if(this[r(0xfb)][r(0x11d)](a['name']))return this[r(0x139)]['write'](r(0x13a)+a[r(0xfe)]+r(0x131)),!![];return this[r(0x139)][r(0x11f)](r(0xf6)+a[r(0xfe)]+r(0x131)),![];}[a51h(0x132)](a){const s=a51h;if(!this['_inventory'][s(0x11a)](a[s(0xfe)]))return s(0x148)+a[s(0xfe)]+s(0x149);if(!this['canEquip'](a))return s(0xf9)+a[s(0xfe)]+'.';const b=this[s(0x14a)](a[s(0x143)]);if(!b)return a[s(0xfe)]+s(0x13c);if(this[s(0x120)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this['equipment'][b]=a,this[s(0x122)](a),'You\x20equipped\x20'+a[s(0xfe)]+'.';}[a51h(0x12a)](a){const t=a51h;let b=a;if(!this[t(0x120)][camelCase(b)]){b=this[t(0x14a)](a);if(!b)return t(0x108)+a+'.';}return this[t(0xf7)](b);}['determineEquipmentSlot'](a){const u=a51h;switch(a[u(0x140)]()){case Category[u(0x13b)][u(0x140)]():return u(0x12d);case Category[u(0xfc)]['toLowerCase']():return u(0x104);case Category[u(0xf3)][u(0x140)]():return'gloves';case Category['Helmet'][u(0x140)]():case Category[u(0x101)][u(0x140)]():return u(0x100);case Category[u(0x105)][u(0x140)]():return u(0x111);case Category[u(0x127)][u(0x140)]():return'legs';case Category[u(0x12f)][u(0x140)]():return'arms';case Category[u(0x10b)][u(0x140)]():return u(0x110);case u(0x134):return u(0x12d);case u(0x147):return'leftHand';case'gloves':return u(0xf2);case'helmet':case'hat':return u(0x100);case'boots':return u(0x111);case'leg\x20armor':case u(0x13e):return u(0x10a);case u(0x118):case u(0x124):return u(0x103);case u(0x115):case u(0x128):case u(0x110):return u(0x110);default:return null;}}['canEquip'](a){const v=a51h;return Object[v(0xfa)](Category)[v(0x138)](a[v(0x143)]);}[a51h(0xf7)](a){const w=a51h,b=this[w(0x120)][a];if(!b)return w(0x114)+a+w(0x12e);return this[w(0x12b)](b),this[w(0x120)][a]=null,w(0x123)+b[w(0xfe)]+'.';}[a51h(0x130)](a,b){const x=a51h;a!==this&&this[x(0x139)][x(0x121)](a[x(0xfe)]+x(0x142)+b+'\x22');}[a51h(0xf4)](a){const y=a51h;this[y(0x116)]=a,a['on'](y(0x126),this[y(0x130)]['bind'](this)),this['logger']['write'](this['name']+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[y(0xfe)]);}['leaveRoom'](){const z=a51h;this[z(0x116)]&&(this[z(0x116)][z(0x13f)]('speak',this[z(0x130)][z(0x145)](this)),this[z(0x139)][z(0x11f)](this[z(0xfe)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[z(0x116)][z(0xfe)]));}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x8a))/0x1+parseInt(f(0x8d))/0x2+-parseInt(f(0x96))/0x3+-parseInt(f(0x7c))/0x4*(-parseInt(f(0x83))/0x5)+parseInt(f(0x93))/0x6+-parseInt(f(0x82))/0x7*(-parseInt(f(0x8b))/0x8)+-parseInt(f(0x87))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xb6fbd));function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x79;var f=c[d];return f;},a52d(a,b);}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x99)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x85)]()[h(0x97)](h(0x7a))['toString']()[h(0x89)](a52a)[h(0x97)](h(0x7a));});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a52i(0x7b)]();[a52i(0x7d)]=![];['requiredItem'];[a52i(0x8e)];[a52i(0x94)];[a52i(0x80)];['successMessage'];['failureMessage'];constructor(a){var j=a52i;super(),this[j(0x81)]=a[j(0x81)],this[j(0x8e)]=a[j(0x8e)],this['riddle']=a['riddle'],this[j(0x80)]=a[j(0x80)],this['successMessage']=a[j(0x8c)]||j(0x8f),this[j(0x7e)]=a[j(0x7e)]||j(0x84);}[a52i(0x98)](a){var k=a52i;if(this[k(0x81)])return a[k(0x7f)](this[k(0x81)]);return![];}[a52i(0x91)](a){return this['requiredPhrase']===a;}[a52i(0x90)](a,b){var l=a52i;if(this['solved'])return this[l(0x95)]['write'](l(0x88)),{'success':![],'message':l(0x86)};return this['hasRequiredItem'](b)||this['matchesRequiredPhrase'](a)?(this['solved']=!![],this['logger']['write'](l(0x92)),{'success':!![],'message':this['successMessage']}):(this[l(0x95)][l(0x79)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[l(0x7e)]});}}function a52c(){var m=['8QhRiHt','solved','failureMessage','hasItem','rewardItem','requiredItem','39781JFIFcD','867990zobrHI','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','toString','You\x20have\x20already\x20solved\x20this\x20puzzle.','31287573VUpBSH','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','constructor','1370524EOUEHk','2096NrqfJX','successMessage','2424356ngGdIb','requiredPhrase','You\x20solved\x20the\x20puzzle!','solve','matchesRequiredPhrase','Puzzle:\x20Correct\x20solution\x20provided.','5477292JmKETQ','riddle','logger','3317484EJZzHG','search','hasRequiredItem','apply','write','(((.+)+)+)+$','getInstance'];a52c=function(){return m;};return a52c();}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x1bc))/0x1*(parseInt(f(0x1bd))/0x2)+parseInt(f(0x1c1))/0x3+-parseInt(f(0x1c3))/0x4*(-parseInt(f(0x1d3))/0x5)+-parseInt(f(0x1c5))/0x6*(parseInt(f(0x1ca))/0x7)+-parseInt(f(0x1c7))/0x8+parseInt(f(0x1cc))/0x9*(parseInt(f(0x1be))/0xa)+-parseInt(f(0x1b7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xabda8));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1c0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x1d5)](h(0x1cd))[h(0x1c2)]()[h(0x1b5)](a52a)[h(0x1d5)](h(0x1cd));});a52a();function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1b4;var f=c[d];return f;},a52d(a,b);}import{Logger}from'../utilities/logger.js';function a52c(){var m=['169356gTkhFD','write','4144360XcQIcj','requiredPhrase','riddle','28JaNKTl','You\x20solved\x20the\x20puzzle!','29241NDYxFB','(((.+)+)+)+$','hasRequiredItem','Puzzle:\x20Correct\x20solution\x20provided.','successMessage','solve','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','5KLwCqq','logger','search','You\x20have\x20already\x20solved\x20this\x20puzzle.','getInstance','constructor','solved','19337065NZwMJH','hasItem','requiredItem','failureMessage','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','26575VPIzXk','12KdBVCC','3910LbchLF','matchesRequiredPhrase','apply','2519163KLepnV','toString','3292984PJXTyt','rewardItem'];a52c=function(){return m;};return a52c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x1d4)]=Logger[a52i(0x1b4)]();[a52i(0x1b6)]=![];['requiredItem'];[a52i(0x1c8)];[a52i(0x1c9)];[a52i(0x1c4)];['successMessage'];['failureMessage'];constructor(a){var j=a52i;super(),this[j(0x1b9)]=a[j(0x1b9)],this['requiredPhrase']=a[j(0x1c8)],this[j(0x1c9)]=a[j(0x1c9)],this['rewardItem']=a[j(0x1c4)],this[j(0x1d0)]=a['successMessage']||j(0x1cb),this[j(0x1ba)]=a[j(0x1ba)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a52i(0x1ce)](a){var k=a52i;if(this['requiredItem'])return a[k(0x1b8)](this[k(0x1b9)]);return![];}[a52i(0x1bf)](a){return this['requiredPhrase']===a;}[a52i(0x1d1)](a,b){var l=a52i;if(this['solved'])return this[l(0x1d4)]['write'](l(0x1bb)),{'success':![],'message':l(0x1d6)};return this['hasRequiredItem'](b)||this['matchesRequiredPhrase'](a)?(this[l(0x1b6)]=!![],this['logger'][l(0x1c6)](l(0x1cf)),{'success':!![],'message':this[l(0x1d0)]}):(this[l(0x1d4)]['write'](l(0x1d2)),{'success':![],'message':this[l(0x1ba)]});}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x159))/0x1*(-parseInt(f(0x16f))/0x2)+parseInt(f(0x162))/0x3*(-parseInt(f(0x148))/0x4)+-parseInt(f(0x153))/0x5*(parseInt(f(0x163))/0x6)+-parseInt(f(0x16c))/0x7+-parseInt(f(0x16b))/0x8*(parseInt(f(0x147))/0x9)+-parseInt(f(0x178))/0xa*(parseInt(f(0x141))/0xb)+parseInt(f(0x14d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xf1cdc));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0x177)](h(0x145))[h(0x158)]()[h(0x14e)](a53a)['search'](h(0x145));});a53a();function a53c(){const u=['exits','speak','Puzzle\x20set\x20for\x20room\x20','addExit','Item\x20removed\x20from\x20room\x20','\x20is\x20locked.\x20Result:\x20','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','values','say','11TCjimW','Fetching\x20exit\x20in\x20direction:\x20','riddle','addItem','(((.+)+)+)+$','The\x20','531kHscEK','1048xkjXYZ','name','north','east','getOppositeDirection','69625320iVJMGP','constructor','description','write','isStartRoom','hasItem','5eeURQS','roomB','apply','inventory','Room\x20created:\x20','toString','3wOPpbl','roomA','logger','get','puzzle','EAST','setPuzzle','NORTH','INSIDE','21705EujOUC','4219602gBsoMR','emit','down','checkIfLocked','removeItem','SOUTH','Invalid\x20direction:\x20','isExitLocked','91256fOgsbN','280763FNIIDN','south','.\x20Success:\x20','129850eKztgp','\x20remains\x20locked.','set','Checking\x20if\x20exit\x20in\x20direction\x20','getExit','roomType','DOWN','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','search','16944980KXCVkq'];a53c=function(){return u;};return a53c();}import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x140;let f=c[d];return f;},a53d(a,b);}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x15b)]=Logger['getInstance']();[a53i(0x149)];[a53i(0x14f)];[a53i(0x179)]=new Map();[a53i(0x174)];[a53i(0x151)];[a53i(0x156)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x149)]=a[j(0x149)],this[j(0x14f)]=a[j(0x14f)],this[j(0x174)]=a[j(0x174)]||RoomType[j(0x161)],a['exits']&&(this[j(0x179)]=a[j(0x179)]||new Map()),a['inventory']&&(this[j(0x156)]=a[j(0x156)]),a[j(0x15d)]&&(this['puzzle']=a[j(0x15d)]),this[j(0x151)]=a['isStartRoom']||![],this[j(0x15b)][j(0x150)](j(0x157)+this[j(0x149)]);}[a53i(0x140)](a,b){const k=a53i;this[k(0x164)](k(0x17a),a,b);}[a53i(0x17c)](a,b,c){const l=a53i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x179)][l(0x171)](a,d),b[l(0x179)][l(0x171)](this['getOppositeDirection'](a),d);}['attemptUnlockExit'](a,b){const m=a53i,c=this[m(0x179)]['get'](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0x15b)][m(0x150)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0x16e)+d),d?'The\x20'+c[m(0x149)]+'\x20unlocked!':m(0x146)+c[m(0x149)]+m(0x170);}return this[m(0x15b)][m(0x150)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0x176);}[a53i(0x173)](a){const n=a53i;return this[n(0x15b)][n(0x150)](n(0x142)+a),this['exits'][n(0x15c)](a);}[a53i(0x16a)](a){const o=a53i,b=this['exits'][o(0x15c)](a),c=b instanceof Door&&b[o(0x166)]();return this[o(0x15b)][o(0x150)](o(0x172)+a+o(0x17e)+c),c;}['addItem'](a){const p=a53i;this[p(0x156)][p(0x144)](a),this[p(0x15b)]['write']('Item\x20added\x20to\x20room\x20'+this[p(0x149)]+':\x20'+a['name']);}[a53i(0x167)](a){const q=a53i;this[q(0x156)][q(0x152)](a[q(0x149)])?(this[q(0x156)][q(0x167)](a[q(0x149)]),this['logger']['write'](q(0x17d)+this['name']+':\x20'+a[q(0x149)])):this[q(0x15b)][q(0x150)](q(0x17f)+this[q(0x149)]+':\x20'+a['name']);}[a53i(0x15f)](a){const r=a53i;this[r(0x15d)]=a,this[r(0x15b)][r(0x150)](r(0x17b)+this[r(0x149)]+':\x20'+a[r(0x143)]);}[a53i(0x14c)](a){const s=a53i;switch(a){case s(0x14a):return Direction[s(0x168)];case s(0x16d):return Direction[s(0x160)];case s(0x14b):return Direction['WEST'];case'west':return Direction[s(0x15e)];case'up':return Direction[s(0x175)];case s(0x165):return Direction['UP'];default:throw new Error(s(0x169)+a);}}['findExistingDoor'](a){const t=a53i;for(const b of this[t(0x179)][t(0x180)]()){if(b instanceof Door){if(b[t(0x15a)]===this&&b['roomB']===a||b[t(0x154)]===this&&b[t(0x15a)]===a)return b;}}return undefined;}}
1
+ const a53i=a53d;function a53c(){const u=['40nxqNev','set','attemptUnlock','roomB','roomA','apply','897800kYDjLo','exits','4990329qXrXEo','emit','riddle','west','checkIfLocked','north','1351gMfuFt','addItem','get','removeItem','(((.+)+)+)+$','constructor','down','Item\x20removed\x20from\x20room\x20','search','south','getInstance','Fetching\x20exit\x20in\x20direction:\x20','hasItem','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','toString','findExistingDoor','attemptUnlockExit','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','285515FLwCNR','roomType','INSIDE','inventory','logger','speak','EAST','values','name','isStartRoom','description','getExit','SOUTH','puzzle','write','Item\x20added\x20to\x20room\x20','Checking\x20if\x20exit\x20in\x20direction\x20','2324322vEnNdV','Invalid\x20direction:\x20','getOppositeDirection','\x20is\x20locked.\x20Result:\x20','1926554JepiPa','1138956ElMtEu','WEST','setPuzzle','\x20remains\x20locked.','NORTH','DOWN','43296BpGlsv'];a53c=function(){return u;};return a53c();}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xa7))/0x1+parseInt(f(0x99))/0x2+parseInt(f(0x95))/0x3+parseInt(f(0xa1))/0x4*(-parseInt(f(0x84))/0x5)+-parseInt(f(0x9a))/0x6+-parseInt(f(0xaf))/0x7*(-parseInt(f(0xa0))/0x8)+-parseInt(f(0xa9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x8b056));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x80)]()[h(0xb7)](h(0xb3))['toString']()[h(0xb4)](a53a)[h(0xb7)](h(0xb3));});function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x7e;let f=c[d];return f;},a53d(a,b);}a53a();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{[a53i(0x88)]=Logger[a53i(0xb9)]();[a53i(0x8c)];[a53i(0x8e)];[a53i(0xa8)]=new Map();['roomType'];['isStartRoom'];[a53i(0x87)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x8c)]=a['name'],this['description']=a[j(0x8e)],this['roomType']=a[j(0x85)]||RoomType[j(0x86)],a[j(0xa8)]&&(this[j(0xa8)]=a[j(0xa8)]||new Map()),a[j(0x87)]&&(this[j(0x87)]=a['inventory']),a[j(0x91)]&&(this[j(0x91)]=a[j(0x91)]),this['isStartRoom']=a[j(0x8d)]||![],this[j(0x88)][j(0x92)]('Room\x20created:\x20'+this[j(0x8c)]);}['say'](a,b){const k=a53i;this[k(0xaa)](k(0x89),a,b);}['addExit'](a,b,c){const l=a53i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0xa2)](a,d),b[l(0xa8)][l(0xa2)](this[l(0x97)](a),d);}[a53i(0x82)](a,b){const m=a53i,c=this[m(0xa8)][m(0xb1)](a);if(c instanceof Door){const d=c[m(0xa3)](b);return this['logger']['write']('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+'.\x20Success:\x20'+d),d?'The\x20'+c['name']+'\x20unlocked!':'The\x20'+c[m(0x8c)]+m(0x9d);}return this[m(0x88)][m(0x92)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0x83);}[a53i(0x8f)](a){const n=a53i;return this[n(0x88)][n(0x92)](n(0xba)+a),this['exits']['get'](a);}['isExitLocked'](a){const o=a53i,b=this[o(0xa8)][o(0xb1)](a),c=b instanceof Door&&b[o(0xad)]();return this['logger']['write'](o(0x94)+a+o(0x98)+c),c;}[a53i(0xb0)](a){const p=a53i;this[p(0x87)][p(0xb0)](a),this[p(0x88)][p(0x92)](p(0x93)+this[p(0x8c)]+':\x20'+a[p(0x8c)]);}[a53i(0xb2)](a){const q=a53i;this[q(0x87)][q(0x7e)](a[q(0x8c)])?(this[q(0x87)][q(0xb2)](a[q(0x8c)]),this[q(0x88)][q(0x92)](q(0xb6)+this['name']+':\x20'+a['name'])):this[q(0x88)][q(0x92)](q(0x7f)+this[q(0x8c)]+':\x20'+a[q(0x8c)]);}[a53i(0x9c)](a){const r=a53i;this[r(0x91)]=a,this['logger'][r(0x92)]('Puzzle\x20set\x20for\x20room\x20'+this[r(0x8c)]+':\x20'+a[r(0xab)]);}[a53i(0x97)](a){const s=a53i;switch(a){case s(0xae):return Direction[s(0x90)];case s(0xb8):return Direction[s(0x9e)];case'east':return Direction[s(0x9b)];case s(0xac):return Direction[s(0x8a)];case'up':return Direction[s(0x9f)];case s(0xb5):return Direction['UP'];default:throw new Error(s(0x96)+a);}}[a53i(0x81)](a){const t=a53i;for(const b of this[t(0xa8)][t(0x8b)]()){if(b instanceof Door){if(b[t(0xa5)]===this&&b[t(0xa4)]===a||b[t(0xa4)]===this&&b[t(0xa5)]===a)return b;}}return undefined;}}