@maka/maka-cli 4.6.16 → 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 -32
  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 -32
@@ -1 +1 @@
1
- const a33j=a33d;(function(a,b){const g=a33d,c=a();while(!![]){try{const d=parseInt(g(0xbf))/0x1*(-parseInt(g(0xb3))/0x2)+-parseInt(g(0xb7))/0x3+-parseInt(g(0xb5))/0x4*(-parseInt(g(0xc2))/0x5)+parseInt(g(0xae))/0x6*(-parseInt(g(0xad))/0x7)+-parseInt(g(0xc8))/0x8*(parseInt(g(0xc6))/0x9)+-parseInt(g(0xd2))/0xa+-parseInt(g(0xd4))/0xb*(-parseInt(g(0xb8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x22036));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a33d;if(c){const e=c[h(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const i=a33d;return a33a['toString']()[i(0xc5)]('(((.+)+)+)+$')[i(0xce)]()['constructor'](a33a)[i(0xc5)](i(0xcb));});a33a();function a33c(){const m=['name','792216fpPIcb','36mSzZJy','rooms','\x20\x27Go\x27\x20command\x20failed:\x20Unable\x20to\x20determine\x20the\x20other\x20side\x20of\x20the\x20door.','length','\x20attempted\x20to\x20go\x20','checkIfLocked','The\x20door\x20in\x20the\x20direction\x20\x22','136061KfeIqM','verb','\x22\x20not\x20found.','1231885YoxnnZ','description','That\x20is\x20not\x20a\x20way\x20to\x20go','search','7965gEigIK','toLowerCase','1208dYflrp','\x22\x20does\x20not\x20exist\x20in\x20current\x20room\x27s\x20exits.','write','(((.+)+)+)+$','\x20which\x20is\x20not\x20valid.','\x20\x27Go\x27\x20command\x20failed:\x20Specified\x20direction\x20\x22','toString','apply','actor','getOtherSide','1981460rGXCvw','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20door\x20you\x27re\x20trying\x20to\x20go\x20through.','3411430DTKMIL','\x20moved\x20to\x20room:\x20','Please\x20specify\x20a\x20direction\x20to\x20go.','error','14yWmQTf','508422nAdwZi','\x20is\x20attempting\x20\x27Go\x27\x20command\x20with\x20direction:\x20','\x20\x27Go\x27\x20command\x20failed:\x20Room\x20\x22','logger','currentLocation','4RGjfOa','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20room\x20you\x27re\x20trying\x20to\x20go\x20to.','4RvnImV'];a33c=function(){return m;};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-0xac;let f=c[d];return f;},a33d(a,b);}export class GoCommand extends Command{static [a33j(0xc0)]='go';static [a33j(0xc3)]='Move\x20in\x20the\x20specified\x20direction.';['execute'](a){const k=a33j;return this['logger'][k(0xca)](this[k(0xd0)][k(0xb6)]+k(0xaf)+a['join']('\x20')),this['go'](a);}['go'](a){const l=a33j;if(a[l(0xbb)]===0x0)return this[l(0xb1)][l(0xca)](this[l(0xd0)][l(0xb6)]+'\x27s\x20\x27Go\x27\x20command\x20failed:\x20No\x20direction\x20specified.'),l(0xd6);const b=a[0x0][l(0xc7)]();if(!this['isValidDirection'](b))return this['logger'][l(0xca)](this[l(0xd0)][l(0xb6)]+l(0xbc)+b+l(0xcc)),l(0xc4);const c=this[l(0xd0)][l(0xb2)];if(!c)return this[l(0xb1)][l(0xac)](this['actor']['name']+'\x27s\x20\x27Go\x27\x20command\x20failed:\x20Current\x20room\x20is\x20undefined\x20or\x20null.\x20This\x20is\x20a\x20bug.'),'You\x20seem\x20to\x20be\x20nowhere.\x20This\x20is\x20a\x20bug.';const d=c['getExit'](b);if(!d)return this[l(0xb1)][l(0xca)](this[l(0xd0)]['name']+l(0xcd)+b+l(0xc9)),'You\x20can\x27t\x20go\x20that\x20way.';if(d instanceof Door){if(d[l(0xbd)]())return l(0xbe)+b+'\x22\x20is\x20locked.';const e=d[l(0xd1)](c);if(!e)return this[l(0xb1)][l(0xac)](this[l(0xd0)][l(0xb6)]+l(0xba)),l(0xd3);this[l(0xd0)][l(0xb2)]=e;}else{const f=this[l(0xb9)]&&this[l(0xb9)][d];if(!f)return this['logger'][l(0xac)](this['actor']['name']+l(0xb0)+d+l(0xc1)),l(0xb4);this[l(0xd0)][l(0xb2)]=f;}return this[l(0xb1)]['write'](this['actor'][l(0xb6)]+l(0xd5)+(this['actor']['currentLocation']['name']||'Unnamed\x20room')+'.'),this['actor'][l(0xb2)][l(0xc3)];}}
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(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0x140))/0x1*(parseInt(f(0x138))/0x2)+-parseInt(f(0x12b))/0x3*(-parseInt(f(0x14a))/0x4)+-parseInt(f(0x145))/0x5+-parseInt(f(0x126))/0x6*(-parseInt(f(0x133))/0x7)+parseInt(f(0x131))/0x8*(-parseInt(f(0x135))/0x9)+-parseInt(f(0x13f))/0xa+parseInt(f(0x125))/0xb*(parseInt(f(0x12a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xa53ab));function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x122;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(0x149)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0x12d)]()[h(0x123)](h(0x14b))[h(0x12d)]()[h(0x128)](a34a)[h(0x123)]('(((.+)+)+)+$');});function a34c(){const l=['lock','apply','252524hGypMv','(((.+)+)+)+$','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','The\x20door\x20named\x20\x22','isLocked','search','hasItem','11671AikRYu','3507096tebwGS','exits','constructor','logger','14316QEkzxE','57PTqMok','\x22\x20here.','toString','description','isValidDirection','toLowerCase','4861760HgjcqT','actor','7NBACUr','get','18pEravb','You\x20locked\x20the\x20door\x20named\x20\x22','name','1589550zDzQiw','length','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','verb','Lock\x20a\x20door.','error','\x20Locked\x20the\x20','8476970DniAFl','1FgRNcb','currentLocation','LockCommand:\x20','write','inventory','5523185SKjTIL','\x20door.','has'];a34c=function(){return l;};return a34c();}a34a();import{Command}from'./command.js';export class LockCommand extends Command{static [a34i(0x13b)]='lock';static [a34i(0x12e)]=a34i(0x13c);['execute'](a){const j=a34i;return this[j(0x148)](a);}[a34i(0x148)](a){const k=a34i;if(a[k(0x139)]===0x0)return this[k(0x129)][k(0x13d)]('LockCommand:\x20No\x20target\x20specified.'),k(0x13a);const b=a[0x0][k(0x130)](),c=this['actor'][k(0x141)];if(this[k(0x12f)](b)&&c[k(0x127)][k(0x147)](b)){const d=c[k(0x127)][k(0x134)](b);if(d[k(0x122)])return k(0x14d)+b+'\x22\x20is\x20already\x20locked.';const e=d['unlockItemOrSolution']?.[k(0x130)]();return e&&this[k(0x132)][k(0x144)][k(0x124)](e)?(d[k(0x122)]=!![],this['logger'][k(0x143)]('LockCommand:\x20'+this[k(0x132)][k(0x137)]+k(0x13e)+b+k(0x146)),k(0x136)+b+'\x22.'):(this[k(0x129)][k(0x143)](k(0x142)+this[k(0x132)][k(0x137)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.');}else return this[k(0x129)][k(0x143)](k(0x142)+b+k(0x14c)),'There\x27s\x20no\x20door\x20named\x20\x22'+b+k(0x12c);}}
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 a35c(){const n=['name','69940zzMbsv','\x20here.','5ovxlul','\x27\x20in\x20current\x20room\x20inventory.','684873bBmIPc','verb','\x27\x20in\x20','\x20is\x20looking\x20around\x20the\x20current\x20room.','2gEbXgY','Examine\x20your\x20surroundings','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','write','isValidDirection','getOtherSide','actor','string','riddle','inspectItem','get','729WweAcB','lookOutside','You\x27re\x20not\x20in\x20a\x20valid\x20room.','You\x20don\x27t\x20see\x20any\x20','puzzle','3886116BNMeeK','84616meKqRB','2622656xQXBQE','It\x27s\x20just\x20a\x20regular\x20',',\x20you\x20see\x20','search','execute','(((.+)+)+)+$','toString','1374726wBpyhM','80fjsqoY','join','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','logger','description','constructor','66DPjAnZ','look','getItem','Executing\x20\x27Look\x27\x20command.','inventory','OUTSIDE','Looking\x20at\x20item\x20\x27','apply','roomType','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','10002vkEQPI','down','You\x20cannot\x20see\x20','currentLocation','Above\x20you,\x20'];a35c=function(){return n;};return a35c();}(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x80))/0x1+-parseInt(f(0x84))/0x2*(parseInt(f(0xae))/0x3)+parseInt(f(0x96))/0x4*(-parseInt(f(0x7e))/0x5)+parseInt(f(0x9d))/0x6+parseInt(f(0x95))/0x7*(parseInt(f(0x9e))/0x8)+-parseInt(f(0x8f))/0x9*(parseInt(f(0x7c))/0xa)+parseInt(f(0xa4))/0xb*(parseInt(f(0x94))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x5d6d2));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0xab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x9c)]()[h(0x99)](h(0x9b))[h(0x9c)]()[h(0xa3)](a35a)['search'](h(0x9b));});a35a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x79;let f=c[d];return f;},a35d(a,b);}export class LookCommand extends Command{static [a35i(0x81)]=a35i(0xa5);static [a35i(0xa2)]=a35i(0x85);[a35i(0x9a)](a=[]){const j=a35i;this[j(0xa1)][j(0x87)](j(0xa7));const b=a[j(0x9f)]('\x20');if(b){if(this[j(0x8a)][j(0xa8)]['hasItem'](b))return this[j(0xa1)][j(0x87)]('Looking\x20at\x20item\x20\x27'+b+j(0x82)+this[j(0x8a)][j(0x7b)]+'\x20inventory.'),this[j(0x8d)](b,this['actor'][j(0xa8)]);else{if(this[j(0x8a)]['currentLocation'][j(0xa8)]['hasItem'](b))return this[j(0xa1)][j(0x87)](j(0xaa)+b+j(0x7f)),this[j(0x8d)](b,this[j(0x8a)][j(0x79)][j(0xa8)]);else return this[j(0x88)](b)?(this['logger']['write'](j(0x86)+b+'\x27.'),this[j(0x90)](b)):j(0xb0)+b;}}else return this['logger']['write'](this[j(0x8a)][j(0x7b)]+j(0x83)),this['look']();}[a35i(0xa5)](){const k=a35i,a=this[k(0x8a)][k(0x79)];if(!a)return this[k(0xa1)]['error'](this[k(0x8a)][k(0x7b)]+k(0xad)),k(0x91);let b=a[k(0xa2)];return a[k(0x93)]&&(b+='\x0a'+a[k(0x93)][k(0x8c)]),b;}['lookOutside'](a){const l=a35i,b=this[l(0x8a)][l(0x79)];if(!b)return this['logger']['error'](this[l(0x8a)][l(0x7b)]+l(0xad)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';const c=b['exits'][l(0x8e)](a);if(!c)return l(0xa0)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x89)](b);else{if(typeof c===l(0x8b)){d=this['rooms']&&this['rooms'][c];if(!d)return'There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}else return'Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}if(d[l(0xac)]===RoomType[l(0xa9)]){if(a==='up')return l(0x7a)+d['description'];else return a===l(0xaf)?'Below\x20you,\x20'+d['description']:'To\x20the\x20'+a+l(0x98)+d['description'];}else return'You\x20cannot\x20see\x20through';}[a35i(0x8d)](a,b){const m=a35i,c=b[m(0xa6)](a);if(!c)return m(0x92)+a+m(0x7d);return c['description']||m(0x97)+a+'.';}}
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
- function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xe0;let f=c[d];return f;},a36d(a,b);}const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=-parseInt(g(0xe6))/0x1*(-parseInt(g(0xe1))/0x2)+parseInt(g(0xe4))/0x3+-parseInt(g(0xea))/0x4*(parseInt(g(0xe0))/0x5)+-parseInt(g(0xfa))/0x6+parseInt(g(0xf8))/0x7+-parseInt(g(0xf6))/0x8+parseInt(g(0xf1))/0x9*(parseInt(g(0xf0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x861cf));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a['toString']()[i(0xf3)](i(0xe5))[i(0xf2)]()['constructor'](a36a)[i(0xf3)](i(0xe5));});a36a();function a36c(){const m=[':\x20\x22','747015tKjVuR','4sQGzJx','currentLocation','context','757659WVraqR','(((.+)+)+)+$','407707yRGCXE','An\x20error\x20occurred.','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','execute','16vxmbed','You\x20say:\x20\x22','length','actor','description','apply','13839510BYXhAn','9UebcuU','toString','search','say','log','6871584nUihyz','\x20says\x20to\x20','572474TWeqcl','scene','3166878stFKYX','name'];a36c=function(){return m;};return a36c();}import{Command}from'./command.js';export class SayCommand extends Command{static ['verb']=a36j(0xf4);static [a36j(0xee)]=a36j(0xe8);[a36j(0xe3)];constructor(a){const k=a36j;super(a),this[k(0xe3)]=a;}[a36j(0xe9)](a){const l=a36j;if(a[l(0xec)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a['join']('\x20'),c=this[l(0xed)],d=this[l(0xe3)][l(0xf9)];if(!d)return this['logger']['log']('Scene\x20is\x20missing\x20from\x20context.'),l(0xe7);const e=d['allActors']['filter'](f=>f['currentLocation']===c[l(0xe2)]);for(const f of e){this['logger'][l(0xf5)](c[l(0xfb)]+l(0xf7)+f[l(0xfb)]+l(0xfc)+b+'\x22'),this[l(0xed)][l(0xe2)][l(0xf4)](f,b);}return l(0xeb)+b+'\x22';}}
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 a37h=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1e5;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x1ed))/0x1*(parseInt(f(0x1fe))/0x2)+-parseInt(f(0x1ea))/0x3+-parseInt(f(0x1ef))/0x4*(parseInt(f(0x1ff))/0x5)+-parseInt(f(0x1f0))/0x6+-parseInt(f(0x1f2))/0x7+-parseInt(f(0x1e9))/0x8*(parseInt(f(0x1f9))/0x9)+-parseInt(f(0x1f5))/0xa*(-parseInt(f(0x1fa))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xa07c5));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const g=a37d;return a37a['toString']()[g(0x1f1)]('(((.+)+)+)+$')['toString']()[g(0x1f3)](a37a)['search'](g(0x1fc));});a37a();import{Command}from'./command.js';function a37c(){const j=['(((.+)+)+)+$','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','45754PIUvap','525kYGbKc','Search\x20for\x20items\x20in\x20your\x20area','inventory','\x20found\x20the\x20following\x20items:\x20','listItems','join','134256WRhFEA','3902325ZHtQVU','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','name','35ApYfuF','You\x20search\x20the\x20area\x20and\x20find:\x20','3364Cmozci','3986988WWwUSp','search','8002449twxEKL','constructor','actor','12415730xuOcTD','SearchCommand:\x20','logger','write','360NDfoEV','33yAcEGC','currentLocation'];a37c=function(){return j;};return a37c();}export class SearchCommand extends Command{static ['verb']='search';static ['description']=a37h(0x200);['execute'](){const i=a37h,a=this[i(0x1f4)][i(0x1fb)][i(0x1e5)][i(0x1e7)]();if(a['length']===0x0)return this[i(0x1f7)][i(0x1f8)](i(0x1f6)+this[i(0x1f4)][i(0x1ec)]+i(0x1fd)),i(0x1eb);const b=a[i(0x1e8)](',\x20');return this['logger']['write'](i(0x1f6)+this[i(0x1f4)][i(0x1ec)]+i(0x1e6)+b),i(0x1ee)+b;}}
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 a38i=a38d;function a38c(){const k=['currentLocation','addItem','apply','verb','rewardItem','84477FZtQPG','actor','3907704uuOTqW','puzzle','16PbdVss','solve','381955GchvYn','toString','SolveCommand:\x20','success','4029235beprOP','5091972QGETON','message','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','6BsbQCt','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','toLowerCase','logger','execute','683675OsVGvR','1227060TmwJvQ','search','18bjjClu','inventory','write','constructor','Attempt\x20to\x20solve\x20a\x20puzzle.','join'];a38c=function(){return k;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0xe6))/0x1+-parseInt(f(0xe1))/0x2*(-parseInt(f(0xd3))/0x3)+-parseInt(f(0xd7))/0x4*(-parseInt(f(0xd9))/0x5)+-parseInt(f(0xde))/0x6+-parseInt(f(0xdd))/0x7+parseInt(f(0xd5))/0x8*(parseInt(f(0xe9))/0x9)+-parseInt(f(0xe7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x7af75));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0xda)]()[h(0xe8)]('(((.+)+)+)+$')[h(0xda)]()[h(0xcb)](a38a)[h(0xe8)]('(((.+)+)+)+$');});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xc9;let f=c[d];return f;},a38d(a,b);}a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0xd1)]=a38i(0xd8);static ['description']=a38i(0xcc);[a38i(0xe5)](a){const j=a38i,b=a[j(0xcd)]('\x20')[j(0xe3)](),c=this['actor'][j(0xce)];if(!c||!c[j(0xd6)])return this[j(0xe4)][j(0xca)](j(0xe0)),j(0xe2);const d=c[j(0xd6)][j(0xd8)](b,this[j(0xd4)][j(0xc9)]);return d[j(0xdc)]&&c[j(0xd6)][j(0xd2)]&&this[j(0xd4)]['inventory'][j(0xcf)](c['puzzle'][j(0xd2)]),this[j(0xe4)][j(0xca)](j(0xdb)+d[j(0xdf)]),d[j(0xdf)];}}
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(0x145))/0x1+parseInt(f(0x14c))/0x2*(parseInt(f(0x144))/0x3)+-parseInt(f(0x13c))/0x4+parseInt(f(0x14a))/0x5+parseInt(f(0x14b))/0x6+parseInt(f(0x143))/0x7+-parseInt(f(0x137))/0x8*(parseInt(f(0x136))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xcd255));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x12d;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x13b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()['search'](h(0x13e))['toString']()[h(0x149)](a39a)[h(0x138)](h(0x13e));});function a39c(){const l=['inventory','write','The\x20item\x20\x22','8208487ecvUDJ','3723117gPimFp','500110jhGNUZ','actor','toLowerCase','\x22\x20in\x20this\x20room.','constructor','8314985ypQbyy','6412950WvUfaP','2atWePC','name','Successfully\x20added\x20\x22','description','\x22\x20is\x20too\x20heavy\x20to\x20carry.','Pick\x20up\x20an\x20item.','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','take','verb','addInventory','\x20during\x20\x27Take\x27\x20command.','\x22\x20not\x20found\x20in\x20','execute','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','logger','Item\x20\x22','getItem','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','There\x20is\x20no\x20item\x20\x22','hasItem','You\x20have\x20taken\x20the\x20','Successfully\x20removed\x20\x22','20722851wuZrjg','8KPNlvB','search','removeItem','message','apply','6010304qatbjl','\x22\x20not\x20retrieved\x20from\x20','(((.+)+)+)+$','join'];a39c=function(){return l;};return a39c();}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0x154)]=a39i(0x153);static [a39i(0x14f)]=a39i(0x151);[a39i(0x158)](a){const j=a39i;return this[j(0x12e)][j(0x141)](j(0x12d)+a[j(0x13f)]('\x20')),this['take'](a);}[a39i(0x153)](a){const k=a39i,b=a['join']('\x20')[k(0x147)](),c=this[k(0x146)]['currentLocation'];if(!c['inventory'][k(0x133)](b))return this[k(0x12e)]['write']('Item\x20\x22'+b+k(0x157)+c[k(0x14d)]+k(0x156)),'There\x20is\x20no\x20item\x20\x22'+b+k(0x148);const d=c['inventory'][k(0x130)](b);if(!d)return this[k(0x12e)][k(0x141)](k(0x12f)+b+k(0x13d)+c[k(0x14d)]+k(0x152)),k(0x132)+b+k(0x148);try{return this[k(0x146)][k(0x155)](d),this[k(0x12e)]['write'](k(0x14e)+b+'\x22\x20to\x20'+this['actor'][k(0x14d)]+k(0x131)),c[k(0x140)][k(0x139)](b),this['logger'][k(0x141)](k(0x135)+b+'\x22\x20from\x20'+c[k(0x14d)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x134)+b+'.';}catch(e){return this['logger'][k(0x141)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x13a)]),k(0x142)+b+k(0x150);}}}
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
- function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x92;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;function a40c(){const k=['2028190yjHjMb','786282AFYUAN','write','1565403oIWQyS','unequip','logger','apply','constructor','toString','search','execute','UnequipCommand:\x20','join','toLowerCase','actor','unqeuip','name','141VIhxWv','437731aNFNAD','2025700AxPWtP','5464056DuJdEA','Unequip\x20an\x20item.','1208bXfBFz','(((.+)+)+)+$'];a40c=function(){return k;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0xa0))/0x1*(parseInt(f(0xa5))/0x2)+parseInt(f(0x92))/0x3+-parseInt(f(0xa2))/0x4+-parseInt(f(0xa7))/0x5+parseInt(f(0xa8))/0x6+parseInt(f(0xa1))/0x7+parseInt(f(0xa3))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x8b861));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x97)]()[h(0x98)](h(0xa6))[h(0x97)]()[h(0x96)](a40a)[h(0x98)]('(((.+)+)+)+$');});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a40i(0x9e);static ['description']=a40i(0xa4);[a40i(0x99)](a){const j=a40i,b=a[j(0x9b)]('\x20')[j(0x9c)](),c=this[j(0x9d)][j(0x93)](b);return this[j(0x94)][j(0xa9)](j(0x9a)+this[j(0x9d)][j(0x9f)]+'\x20unqeuiped\x20'+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
- function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xe5;let f=c[d];return f;},a41d(a,b);}const a41k=a41d;function a41c(){const n=['unlock','2447053leeJwH','unlockItemOrSolution','currentLocation','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','constructor','length','UnlockCommand:\x20','38724867NvZxBZ','description','logger','error','toString','There\x27s\x20no\x20door\x20named\x20\x22','1468445LFeXel','attemptUnlockExit','\x22\x20here.','Unlock\x20a\x20door.','toLowerCase','exits','search','has','actor','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','isValidDirection','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','1435dfAMlr','4082400ZFRYqI','hasItem','9603708FVlBIt','UnlockCommand:\x20No\x20target\x20specified.','8jejCnl','inventory','name','(((.+)+)+)+$','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','get','2022YsiRhi','\x20is\x20attempted\x20to\x20unlock\x20','verb','write','getItem','5621232oFpiWv','.\x20Result:\x20','apply'];a41c=function(){return n;};return a41c();}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0xf8))/0x1*(parseInt(h(0x103))/0x2)+parseInt(h(0xf9))/0x3+parseInt(h(0x108))/0x4+-parseInt(h(0xec))/0x5+parseInt(h(0xfb))/0x6+-parseInt(h(0x10c))/0x7*(parseInt(h(0xfd))/0x8)+-parseInt(h(0xe6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xd4c38));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()['search']('(((.+)+)+)+$')[j(0xea)]()[j(0x110)](a41a)[j(0xf2)](j(0x100));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x105)]='unlock';static [a41k(0xe7)]=a41k(0xef);['execute'](a){const l=a41k;return this[l(0x10b)](a);}[a41k(0x10b)](a){const m=a41k;if(a[m(0x111)]===0x0)return this[m(0xe8)][m(0xe9)](m(0xfc)),m(0xf5);const b=a[0x0][m(0xf0)](),c=this[m(0xf4)][m(0x10e)];if(this[m(0xf6)](b)&&c[m(0xf1)][m(0xf3)](b)){const d=c[m(0xf1)][m(0x102)](b);if(d instanceof Door){const e=d[m(0x10d)]?.[m(0xf0)]();if(e&&this['actor'][m(0xfe)][m(0xfa)](e)){const f=this[m(0xf4)][m(0xfe)][m(0x107)](e);if(f){const g=c[m(0xed)](b,f[m(0xff)]);return this[m(0xe8)][m(0x106)](m(0xe5)+this['actor'][m(0xff)]+m(0x104)+b+m(0x109)+g),g;}}return this[m(0xe8)][m(0x106)]('UnlockCommand:\x20'+this[m(0xf4)]['name']+m(0x101)+b+'.'),m(0x10f);}else return this[m(0xe8)][m(0x106)](m(0xe5)+b+m(0xf7)+c[m(0xff)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0xee);}else return this[m(0xe8)]['write']('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0xff)]+'.'),m(0xeb)+b+m(0xee);}}
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(0xa2))/0x1+-parseInt(f(0x85))/0x2+-parseInt(f(0xa4))/0x3*(-parseInt(f(0x97))/0x4)+parseInt(f(0x8e))/0x5*(parseInt(f(0xa5))/0x6)+parseInt(f(0x87))/0x7+-parseInt(f(0x96))/0x8*(parseInt(f(0x94))/0x9)+-parseInt(f(0x9c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xa15ed));function a42c(){const l=['Use\x20an\x20item.','\x20used\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','9wviSsc','\x20doesn\x27t\x20have\x20a\x20use\x20method.','9466792MYUrJM','8zENHyj','\x20not\x20retrieved\x20from\x20','logger','toLowerCase','apply','3531020vueSmE','constructor','toString','inventory','You\x20can\x27t\x20use\x20the\x20','UseCommand:\x20','1192841WzVKJh','search','451989pVzVvy','66Vzyshv','\x20attempted\x20to\x20use\x20','\x27s\x20inventory.','name','\x20to\x20use.','You\x20don\x27t\x20have\x20the\x20','hasItem','1593936PrbNlz','function','3218684xMakdH','write','(((.+)+)+)+$','execute','verb','join','actor','472915tpRDHs','use','\x20in\x20this\x20way.'];a42c=function(){return l;};return a42c();}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x9e)]()[h(0xa3)](h(0x89))[h(0x9e)]()[h(0x9d)](a42a)[h(0xa3)](h(0x89));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x85;let f=c[d];return f;},a42d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x8b)]=a42i(0x8f);static ['description']=a42i(0x91);[a42i(0x8a)](a){const j=a42i;return this[j(0x8f)](a);}[a42i(0x8f)](a){const k=a42i,b=a[k(0x8c)]('\x20')[k(0x9a)]();if(!this['actor'][k(0x9f)][k(0xab)](b))return this[k(0x99)][k(0x88)](k(0xa1)+this[k(0x8d)][k(0xa8)]+k(0xa6)+b+k(0x93)),k(0xaa)+b+k(0xa9);const c=this[k(0x8d)][k(0x9f)]['getItem'](b);if(!c)return this[k(0x99)][k(0x88)](k(0xa1)+b+k(0x98)+this['actor']['name']+k(0xa7)),k(0xaa)+b+k(0xa9);if(typeof c[k(0x8f)]===k(0x86)){const d=c[k(0x8f)]();return this['logger'][k(0x88)](k(0xa1)+this[k(0x8d)][k(0xa8)]+k(0x92)+b+'.'),d;}else return this[k(0x99)][k(0x88)](k(0xa1)+b+k(0x95)),k(0xa0)+b+k(0x90);}}
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
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x1ee))/0x1+-parseInt(f(0x1f8))/0x2*(-parseInt(f(0x1ed))/0x3)+-parseInt(f(0x1f2))/0x4+-parseInt(f(0x1ef))/0x5*(parseInt(f(0x1f0))/0x6)+-parseInt(f(0x1eb))/0x7*(parseInt(f(0x1f6))/0x8)+-parseInt(f(0x1ea))/0x9+parseInt(f(0x1f1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x6f027));function a43c(){const m=['apply','toString','1892200NPxDNw','search','131552ctNlyo','constructor','commandMap','5637906MnKNQy','7oWMXOp','registerCommand','6pTCJUg','769261TdciGz','395VVLVAG','9318soYFUf','10355010OFKkmv','1983892xuuaJx','(((.+)+)+)+$'];a43c=function(){return m;};return a43c();}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1f4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1f5)]()[h(0x1f7)]('(((.+)+)+)+$')[h(0x1f5)]()[h(0x1f9)](a43a)[h(0x1f7)](h(0x1f3));});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a43d(a,b);}export class CommandFactory{static [a43i(0x1fa)]={};static[a43i(0x1ec)](a,b){const j=a43i;this[j(0x1fa)][a]=b;}static['createCommand'](a,b){const k=a43i,c=this[k(0x1fa)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const l=a43i;return this[l(0x1fa)];}}
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 a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0xb5))/0x1+-parseInt(f(0xc6))/0x2*(-parseInt(f(0xb0))/0x3)+-parseInt(f(0xbb))/0x4*(-parseInt(f(0xbe))/0x5)+-parseInt(f(0xbd))/0x6+-parseInt(f(0xb3))/0x7+parseInt(f(0xbf))/0x8+parseInt(f(0xb9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x1b88b));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xd0)]()[h(0xc5)]('(((.+)+)+)+$')['toString']()[h(0xb2)](a44a)[h(0xc5)]('(((.+)+)+)+$');});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 a44c(){const o=['key','createItem','rewardItem','roomType','bodyarmor','apply','legarmor','rifle','helmet','toString','convertToRoomConfig','createPuzzle','puzzle','items','isStartRoom','195aJRGAQ','toUpperCase','constructor','1500905ZKBOrW','content','101349njndMp','gloves','type','forEach','1420362bpfycW','addItem','247896FIpBTf','name','1329330leSGoP','10kchPeD','308472jGygGt','inventory','sword','description','INSIDE','createRoom','search','3910CTElpq'];a44c=function(){return o;};return a44c();}function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xac;let f=c[d];return f;},a44d(a,b);}export class RoomFactory{[a44i(0xc4)](a){const j=a44i,b=this[j(0xd1)](a),c=new Room(b);if(a[j(0xae)]){const d=new Inventory();a[j(0xae)][j(0xb8)](e=>{const k=j;d[k(0xba)](this[k(0xc8)](e));}),c[j(0xc0)]=d;}return a[j(0xad)]&&c['setPuzzle'](this[j(0xac)](a[j(0xad)])),c;}['createItem'](a){const l=a44i;switch(a[l(0xb7)]){case l(0xc7):return new Key(a[l(0xbc)],a[l(0xc2)]);case'book':return new Book(a['name'],a[l(0xc2)],a[l(0xb4)]);case l(0xc1):return new Sword(a[l(0xbc)],a[l(0xc2)]);case l(0xce):return new Rifle(a[l(0xbc)],a['description']);case l(0xcf):return new Helmet(a['name'],a[l(0xc2)]);case l(0xcb):return new BodyArmor(a[l(0xbc)],a[l(0xc2)]);case l(0xcd):return new LegArmor(a[l(0xbc)],a[l(0xc2)]);case'boots':return new Boots(a[l(0xbc)],a['description']);case l(0xb6):return new Gloves(a[l(0xbc)],a[l(0xc2)]);case'gauntlets':return new Gauntlets(a[l(0xbc)],a[l(0xc2)]);default:return new BasicItem(a['name'],a['description']);}}[a44i(0xac)](a){const m=a44i,b=this['createItem'](a[m(0xc9)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0xd1)](a){const n=a44i,b=a[n(0xca)]&&RoomType[a['roomType'][n(0xb1)]()]?RoomType[a['roomType']['toUpperCase']()]:RoomType[n(0xc3)];return{'name':a['name'],'description':a[n(0xc2)],'isStartRoom':a[n(0xaf)],'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 a45j=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x186))/0x1*(parseInt(h(0x19a))/0x2)+-parseInt(h(0x185))/0x3+parseInt(h(0x183))/0x4*(parseInt(h(0x16e))/0x5)+parseInt(h(0x17c))/0x6+parseInt(h(0x172))/0x7*(-parseInt(h(0x18f))/0x8)+-parseInt(h(0x178))/0x9+-parseInt(h(0x196))/0xa*(-parseInt(h(0x17f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x1f87a));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(0x193)]()[i(0x199)](i(0x184))[i(0x193)]()[i(0x16f)](a45a)[i(0x199)](i(0x184));});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';function a45c(){const r=['getAllRegisteredCommands','getWelcomeMessage','lock','determineStartRoom','Available\x20Commands:\x0a','quit','hasOwnProperty','16TEtAIX','execute','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','slice','toString','player','instance','135530MMxEHk','trim','maka','search','21178sMfbiS','getInstance','help','registerCommands','getRooms','470105YqeyEg','constructor','getHelpMessage','say','606907YNXLlh','look','getDescription','currentRoom','createCommand','use','2062584YZABTy','-\x20clear:\x20Clear\x20the\x20screen.\x0a','registerCommand','equip','378306RYISMm','currentLocation','Welcome,\x20','319cdpGBP','clear','scene','name','4ziThEC','(((.+)+)+)+$','404592DyORis','11GSlHmU','initialize'];a45c=function(){return r;};return a45c();}import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x16d;let f=c[d];return f;},a45d(a,b);}import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45j(0x195)];['scene'];['player'];[a45j(0x175)];['rooms'];constructor(a,b){const k=a45j;this[k(0x194)]=a,this[k(0x181)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x181)][k(0x187)](),this[k(0x194)][k(0x17d)]=this['determineStartRoom'](),this[k(0x19d)]();}['registerCommands'](){const l=a45j;CommandFactory['registerCommand'](l(0x173),LookCommand),CommandFactory[l(0x17a)]('go',GoCommand),CommandFactory[l(0x17a)]('take',TakeCommand),CommandFactory['registerCommand'](l(0x177),UseCommand),CommandFactory[l(0x17a)](l(0x17b),EquipCommand),CommandFactory[l(0x17a)]('unequip',UnequipCommand),CommandFactory[l(0x17a)]('solve',SolveCommand),CommandFactory[l(0x17a)]('drop',DropCommand),CommandFactory[l(0x17a)]('unlock',UnlockCommand),CommandFactory[l(0x17a)](l(0x18a),LockCommand),CommandFactory[l(0x17a)](l(0x199),SearchCommand),CommandFactory[l(0x17a)](l(0x171),SayCommand);}[a45j(0x18b)](){const m=a45j;return this[m(0x181)]['determineStartRoom']();}[a45j(0x189)](){const n=a45j;return n(0x17e)+this[n(0x194)][n(0x182)];}static[a45j(0x19b)](a,b){const o=a45j;return!Game[o(0x195)]&&(Game['instance']=new Game(a,b)),Game[o(0x195)];}['handleInput'](a){const p=a45j,b=a[p(0x197)]()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b[p(0x192)](0x1);if(c===p(0x18d))return null;if(c===p(0x198))return p(0x191);if(c===p(0x19c))return this[p(0x170)]();if(c===p(0x180))return'';const e={'actor':this['player'],'rooms':this[p(0x181)][p(0x16d)](),'scene':this['scene']},f=CommandFactory[p(0x176)](c,e);if(f){const g=f[p(0x190)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a45j(0x170)](){const q=a45j,a=CommandFactory[q(0x188)]();let b=q(0x18c);for(const c in a){if(a[q(0x18e)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x174)]()+'\x0a';}}return b+=q(0x179),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',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(0x7b))/0x1*(parseInt(f(0x75))/0x2)+parseInt(f(0x7d))/0x3+parseInt(f(0x79))/0x4+parseInt(f(0x7c))/0x5*(-parseInt(f(0x77))/0x6)+parseInt(f(0x76))/0x7*(parseInt(f(0x82))/0x8)+-parseInt(f(0x80))/0x9+-parseInt(f(0x7a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xb0cf9));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(0x7f)]()[g(0x78)](g(0x7e))[g(0x7f)]()[g(0x81)](a46a)['search']('(((.+)+)+)+$');});a46a();export*from'./door.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x75;var f=c[d];return f;},a46d(a,b);}export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';function a46c(){var h=['15STrCxj','1995363UWRsEQ','(((.+)+)+)+$','toString','177471oijTmQ','constructor','5411712WhDshK','1158wsgueV','7VPHgjR','155910sBQzZN','search','1992128zhxoNd','11827410BuCDrI','285FrHwui'];a46c=function(){return h;};return a46c();}export*from'./room.js';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 a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0xa9))/0x1+-parseInt(f(0x9b))/0x2+parseInt(f(0xa4))/0x3+-parseInt(f(0x9a))/0x4*(parseInt(f(0xb1))/0x5)+-parseInt(f(0xaf))/0x6+parseInt(f(0xb3))/0x7*(parseInt(f(0x9e))/0x8)+parseInt(f(0xa3))/0x9*(parseInt(f(0x9f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x67bb4));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(0xa8)]()[g(0xaa)]('(((.+)+)+)+$')['toString']()[g(0xa0)](a47a)[g(0xaa)](g(0xb0));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a47c(){var m=['.\x20Used:\x20','isLockable','509116IzccvX','385906jExzdQ','roomB','checkIfLockable','32688ZmTeuL','5120nRqlXm','constructor','checkIfLocked','write','4545hpSXry','2273139SFaQkc','unlockItemOrSolution','attemptUnlock','logger','toString','467620BuQVdl','search','isLocked','name','getOtherSide','getInstance','3283134pCwZxx','(((.+)+)+)+$','5RHWTXo','\x20and\x20','1274ESttlL','Door\x20created\x20between\x20','roomA','Failed\x20to\x20unlock\x20door:\x20'];a47c=function(){return m;};return a47c();}function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x95;var f=c[d];return f;},a47d(a,b);}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a47h(0x9c)];[a47h(0xab)];['unlockItemOrSolution'];[a47h(0xac)];[a47h(0xa7)];['isLockable'];constructor(a){var i=a47h;super(),this[i(0x96)]=a[i(0x96)],this[i(0x9c)]=a[i(0x9c)],this[i(0xab)]=a['isLocked']||![],this[i(0xa5)]=a[i(0xa5)],this[i(0xac)]=a[i(0xac)]?capitalCase(a[i(0xac)]):'To\x20'+a[i(0x9c)]['name'],this[i(0xa7)]=Logger[i(0xae)](),this[i(0x99)]=!!a[i(0xa5)],this[i(0xa7)][i(0xa2)](i(0x95)+this[i(0x96)][i(0xac)]+i(0xb2)+this[i(0x9c)]['name']+'.\x20Is\x20Locked:\x20'+this['isLocked']);}[a47h(0xad)](a){var j=a47h;return this[j(0x96)]===a?this[j(0x9c)]:this[j(0x96)];}[a47h(0xa6)](a){var k=a47h;if(this[k(0xab)]&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this[k(0xab)]=![],this[k(0xa7)]['write']('Door\x20unlocked:\x20'+this[k(0xac)]+'.\x20Used:\x20'+a),!![];return this[k(0xa7)][k(0xa2)](k(0x97)+this[k(0xac)]+k(0x98)+a),![];}[a47h(0xa1)](){return this['isLocked'];}[a47h(0x9d)](){var l=a47h;return this[l(0x99)];}}
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 a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x11e))/0x1+-parseInt(f(0x126))/0x2*(parseInt(f(0x124))/0x3)+parseInt(f(0x125))/0x4*(-parseInt(f(0x107))/0x5)+-parseInt(f(0x123))/0x6*(-parseInt(f(0x12c))/0x7)+parseInt(f(0x128))/0x8+parseInt(f(0x11c))/0x9+parseInt(f(0x131))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x42cb3));function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x107;let f=c[d];return f;},a48d(a,b);}const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a[g(0x11a)]()[g(0x122)](g(0x11f))[g(0x11a)]()[g(0x12b)](a48a)[g(0x122)](g(0x11f));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a48c(){const q=['Listed\x20items\x20in\x20inventory:\x20','logger','getWeight','items','weight','.\x20Item\x20not\x20found.','Retrieved\x20details\x20for\x20item:\x20','addItem','toString','has','1135179JxcVLs','values','9558nUaClp','(((.+)+)+)+$','.\x20Exists:\x20','Removed\x20item:\x20','search','12vucUyz','6TDMWTG','116fvXaUt','295384jRxBkQ','Checked\x20for\x20item:\x20','2788048VXOvWE','getInstance','write','constructor','1448013KcSKTB','keys','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','map','toLowerCase','1123510hdarlT','76085vkHEXf','Added\x20item:\x20','\x20to\x20inventory.','\x20from\x20inventory.','join','name','getAllItems','delete','listItems','getItem','set'];a48c=function(){return q;};return a48c();}export class Inventory extends AbstractInventory{[a48h(0x115)];[a48h(0x113)];constructor(){const i=a48h;super(),this['items']=new Map(),this['logger']=Logger[i(0x129)]();}[a48h(0x119)](a){const j=a48h;this[j(0x115)][j(0x111)](a['name'][j(0x130)](),a),this[j(0x113)][j(0x12a)](j(0x108)+a[j(0x10c)]+j(0x109));}['removeItem'](a){const k=a48h,b=this['getItem'](a);if(b)return this[k(0x115)][k(0x10e)](a['toLowerCase']()),this[k(0x113)]['write'](k(0x121)+a+k(0x10a)),b;return this[k(0x113)]['write']('Failed\x20to\x20remove\x20item:\x20'+a+k(0x117)),null;}['hasItem'](a){const l=a48h,b=this[l(0x115)][l(0x11b)](a['toLowerCase']()),c=[...this['items'][l(0x12d)]()];return this[l(0x113)][l(0x12a)](l(0x127)+a+'\x20in\x20'+c[l(0x10b)](',\x20')+l(0x120)+b+'.'),b;}[a48h(0x110)](a){const m=a48h,b=this[m(0x115)]['get'](a['toLowerCase']())||null;return b?this[m(0x113)][m(0x12a)](m(0x118)+a+'.'):this[m(0x113)]['write'](m(0x12e)+a+m(0x117)),b;}[a48h(0x10f)](){const n=a48h,a=[...this['items'][n(0x12d)]()],b=a[n(0x12f)](c=>capitalCase(c));return this[n(0x113)][n(0x12a)](n(0x112)+b[n(0x10b)](',\x20')+'.'),a;}[a48h(0x114)](){const o=a48h;let a=0x0;for(const b of this['items'][o(0x11d)]()){a+=b[o(0x116)];}return a;}[a48h(0x10d)](){const p=a48h;return[...this['items'][p(0x11d)]()];}}
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 a49h=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1f6))/0x1+parseInt(f(0x1f1))/0x2*(parseInt(f(0x1f3))/0x3)+-parseInt(f(0x1e7))/0x4+-parseInt(f(0x1e6))/0x5+-parseInt(f(0x1e5))/0x6*(-parseInt(f(0x1de))/0x7)+parseInt(f(0x1e1))/0x8*(-parseInt(f(0x1ed))/0x9)+-parseInt(f(0x1e8))/0xa*(-parseInt(f(0x1f4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xdba70));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0x1dc)]()[g(0x1ee)](g(0x1e2))[g(0x1dc)]()[g(0x1dd)](a49a)[g(0x1ee)](g(0x1e2));});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a49c(){var k=['You\x20use\x20the\x20','384jpymMA','1446395SDlfVp','774412nQVLPK','680JuSBpf','shape','.\x20Nothing\x20special\x20happens.','uuid','size','738711afNqLq','search','description','weight','3451142pTnHri','texture','3ysXmsx','108460eIJXMS','rating','1194178DvNWof','toString','constructor','28742gegSzN','name','use','8vLCfWi','(((.+)+)+)+$','color'];a49c=function(){return k;};return a49c();}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1dc;var f=c[d];return f;},a49d(a,b);}export class Item extends AbstractItem{[a49h(0x1eb)];[a49h(0x1df)];[a49h(0x1ef)];['size'];['category'];[a49h(0x1e9)];[a49h(0x1e3)];[a49h(0x1f2)];[a49h(0x1f5)];[a49h(0x1f0)];constructor(a){var i=a49h;super(),this[i(0x1df)]=a['name'],this[i(0x1ef)]=a[i(0x1ef)],this['size']=a[i(0x1ec)],this['category']=a['category'],this[i(0x1e9)]=a['shape'],this[i(0x1e3)]=a[i(0x1e3)],this['texture']=a[i(0x1f2)],this[i(0x1f5)]=a[i(0x1f5)],this[i(0x1f0)]=a[i(0x1f0)],this[i(0x1eb)]=a49e();}[a49h(0x1e0)](){var j=a49h;return j(0x1e4)+this[j(0x1df)]+j(0x1ea);}}
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 a50i=a50d;function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x19b;let f=c[d];return f;},a50d(a,b);}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x1aa))/0x1*(parseInt(f(0x19c))/0x2)+parseInt(f(0x1b0))/0x3+parseInt(f(0x1b4))/0x4+-parseInt(f(0x1ab))/0x5*(parseInt(f(0x1ac))/0x6)+-parseInt(f(0x1a1))/0x7+-parseInt(f(0x19d))/0x8*(parseInt(f(0x1b2))/0x9)+parseInt(f(0x1ae))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xbf2b4));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1a5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x1a8)]()[h(0x1a0)](h(0x1a3))[h(0x1a8)]()[h(0x19f)](a50a)[h(0x1a0)](h(0x1a3));});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x1a7)];[a50i(0x1af)];[a50i(0x1a4)];[a50i(0x19b)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x1a7)]=a,this[j(0x1af)]=b,this['rooms']=c;}get[a50i(0x1b1)](){const k=a50i;return this[k(0x1a7)];}[a50i(0x1a6)](){const l=a50i;return this[l(0x1af)][Math[l(0x1a9)](Math[l(0x1ad)]()*this['_dialogue']['length'])];}['autonomousMove'](a){const m=a50i,b=a[Math['floor'](Math[m(0x1ad)]()*a[m(0x1b3)])];this[m(0x19e)](b[m(0x1b1)]);}[a50i(0x19e)](a){const n=a50i,b={'actor':this,'rooms':this[n(0x1a4)],'scene':this[n(0x19b)]},c=new GoCommand(b);c[n(0x1a2)]([a]);}}function a50c(){const o=['name','910386eHxVJc','length','5004404LrqDTQ','scene','483654jWMDSl','8XZjCib','moveTo','constructor','search','9503564oFCAnw','execute','(((.+)+)+)+$','rooms','apply','speak','_name','toString','floor','5FqKwmp','40255uNhVbS','294QvoAfm','random','11449670ZzulMz','_dialogue','4348200eaXkKh'];a50c=function(){return o;};return a50c();}
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 a51i=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x134;let f=c[d];return f;},a51d(a,b);}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x141))/0x1+-parseInt(f(0x15c))/0x2*(parseInt(f(0x13d))/0x3)+-parseInt(f(0x171))/0x4+-parseInt(f(0x15f))/0x5*(parseInt(f(0x13b))/0x6)+parseInt(f(0x18d))/0x7+parseInt(f(0x15a))/0x8+parseInt(f(0x152))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xef3eb));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x14a)]()[h(0x147)](h(0x146))['toString']()[h(0x174)](a51a)[h(0x147)](h(0x146));});a51a();import{camelCase}from'change-case';function a51c(){const C=['546RRlIkb','hasItem','9KLxVGy','equipment','rightHand','write','1324120mbRQVD','removeInventory','weight','helmet','log','(((.+)+)+)+$','search','currentLocation','LegArmor','toString','Invalid\x20category\x20or\x20slot:\x20','Gloves','Nexus','inventoryItems','Weapon','Added\x20','addInventory','9438957jsqMyw','You\x20don\x27t\x20have\x20','ArmArmor','hear','currentWeight','apply','BodyArmor','unequipBySlot','8159512nQAbmE','speak','202054qdsXXD','maxCarryingWeight','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','63570exUBnL','feet','getInstance','torso','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','.\x20You\x20must\x20unequip\x20it\x20first.','_inventory','determineEquipmentSlot','bind','\x20from\x20player\x27s\x20inventory.','addItem','category','removeItem','leftHand','getWeight','_playerName','Shield','Max\x20carrying\x20weight\x20must\x20be\x20positive.','603312EHGube','You\x20unequipped\x20','armarmor','constructor','includes','leg\x20armor','\x20is\x20now\x20listening\x20in\x20room\x20','canEquip','enterRoom','playerName','inventory','Boots','gloves','_currentLocation','legarmor','equip','name','\x20is\x20no\x20longer\x20listeng\x20in\x20','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','arm\x20armor','logger','weapon','arms','Failed\x20to\x20remove\x20','legs','_maxCarryingWeight','shield','Hat','12923666HhZWjk','unequip','_equipment','Helmet','toLowerCase','error','off','You\x20can\x27t\x20equip\x20','leaveRoom','initialEquipment'];a51c=function(){return C;};return a51c();}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0x16e)];[a51i(0x17e)];[a51i(0x165)];['_equipment'];[a51i(0x18a)]=0x32;[a51i(0x185)];constructor(a){const j=a51i;super(),this[j(0x16e)]=a[j(0x17a)],this[j(0x17e)]=a['startLocation']||new Room({'name':j(0x14d),'description':'A\x20featureless\x20room'}),this[j(0x165)]=new Inventory(),this[j(0x185)]=Logger[j(0x161)]();if(a?.[j(0x14e)])for(const b of a['inventoryItems']){this[j(0x165)]['addItem'](b);}this[j(0x18f)]=a?.[j(0x13a)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x181)](){const k=a51i;return this[k(0x16e)];}get['currentLocation'](){const l=a51i;return this[l(0x17e)];}set[a51i(0x148)](a){const m=a51i;this[m(0x17e)]!==a&&(this['leaveRoom'](),this['enterRoom'](a)),this[m(0x17e)]=a;}get[a51i(0x17b)](){return this['_inventory'];}get[a51i(0x13e)](){const n=a51i;return this[n(0x18f)];}set[a51i(0x13e)](a){const o=a51i;this[o(0x18f)]=a;}get[a51i(0x15d)](){const p=a51i;return this[p(0x18a)];}set[a51i(0x15d)](a){const q=a51i;a>0x0?this['_maxCarryingWeight']=a:console[q(0x136)](q(0x170));}get[a51i(0x156)](){const r=a51i;let a=this[r(0x165)][r(0x16d)]();for(const b in this[r(0x18f)]){const c=this['_equipment'][b];c&&(a+=c[r(0x143)]);}return a;}[a51i(0x151)](a){const s=a51i;if(this['currentWeight']+a['weight']>this[s(0x15d)]){this['logger'][s(0x140)](s(0x163));throw new Error(s(0x15e));}this[s(0x165)][s(0x169)](a),this[s(0x185)][s(0x140)](s(0x150)+a[s(0x181)]+'\x20to\x20player\x27s\x20inventory.');}[a51i(0x142)](a){const t=a51i;if(this['_inventory'][t(0x16b)](a['name']))return this['logger'][t(0x140)]('Removed\x20'+a[t(0x181)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[t(0x185)][t(0x140)](t(0x188)+a['name']+t(0x168)),![];}[a51i(0x180)](a){const u=a51i;if(!this[u(0x165)][u(0x13c)](a[u(0x181)]))return u(0x153)+a[u(0x181)]+'\x20in\x20your\x20inventory.';if(!this[u(0x178)](a))return u(0x138)+a['name']+'.';const b=this[u(0x166)](a[u(0x16a)]);if(!b)return a[u(0x181)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[u(0x13e)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+u(0x164);return this[u(0x13e)][b]=a,this[u(0x142)](a),'You\x20equipped\x20'+a[u(0x181)]+'.';}[a51i(0x18e)](a){const v=a51i;let b=a;if(!this[v(0x13e)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return v(0x14b)+a+'.';}return this[v(0x159)](b);}[a51i(0x166)](a){const w=a51i;switch(a[w(0x135)]()){case Category[w(0x14f)]['toLowerCase']():return'rightHand';case Category[w(0x16f)][w(0x135)]():return w(0x16c);case Category[w(0x14c)]['toLowerCase']():return w(0x17d);case Category[w(0x134)][w(0x135)]():case Category[w(0x18c)][w(0x135)]():return'head';case Category[w(0x17c)]['toLowerCase']():return w(0x160);case Category[w(0x149)][w(0x135)]():return w(0x189);case Category[w(0x154)][w(0x135)]():return'arms';case Category[w(0x158)][w(0x135)]():return'torso';case w(0x186):return w(0x13f);case w(0x18b):return w(0x16c);case'gloves':return w(0x17d);case w(0x144):case'hat':return'head';case'boots':return'feet';case w(0x176):case w(0x17f):return'legs';case w(0x184):case w(0x173):return w(0x187);case'body\x20armor':case'bodyarmor':case w(0x162):return w(0x162);default:return null;}}[a51i(0x178)](a){const x=a51i;return Object['values'](Category)[x(0x175)](a[x(0x16a)]);}[a51i(0x159)](a){const y=a51i,b=this[y(0x13e)][a];if(!b)return y(0x183)+a+'\x20slot.';return this[y(0x151)](b),this[y(0x13e)][a]=null,y(0x172)+b['name']+'.';}['hear'](a,b){const z=a51i;a!==this&&this['logger'][z(0x145)](a['name']+'\x20says:\x20\x22'+b+'\x22');}[a51i(0x179)](a){const A=a51i;this[A(0x17e)]=a,a['on']('speak',this[A(0x155)]['bind'](this)),this[A(0x185)]['write'](this['name']+A(0x177)+a[A(0x181)]);}[a51i(0x139)](){const B=a51i;this['_currentLocation']&&(this[B(0x17e)][B(0x137)](B(0x15b),this['hear'][B(0x167)](this)),this[B(0x185)][B(0x140)](this[B(0x181)]+B(0x182)+this[B(0x17e)][B(0x181)]));}}
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(0xf8))/0x1*(-parseInt(f(0x104))/0x2)+-parseInt(f(0xea))/0x3*(-parseInt(f(0xee))/0x4)+parseInt(f(0xfa))/0x5*(-parseInt(f(0xf6))/0x6)+-parseInt(f(0xfb))/0x7*(parseInt(f(0xf3))/0x8)+parseInt(f(0x105))/0x9+-parseInt(f(0xff))/0xa+-parseInt(f(0xf7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x8d83c));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xf2)]()['search'](h(0xe9))['toString']()[h(0xed)](a52a)[h(0x107)](h(0xe9));});a52a();import{Logger}from'../utilities/logger.js';function a52c(){var n=['write','solved','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','2LcLKwj','5021856TIbGzf','requiredItem','search','getInstance','apply','(((.+)+)+)+$','975KSSswc','riddle','requiredPhrase','constructor','11860kGbPNP','hasItem','successMessage','failureMessage','toString','2133704GMhtBu','logger','Puzzle:\x20Correct\x20solution\x20provided.','1828956LGmLqs','3881526gBmoNV','574723RvIZwk','matchesRequiredPhrase','5qRcEAZ','21ROVZSf','You\x20solved\x20the\x20puzzle!','hasRequiredItem','rewardItem','588570YKvhun','You\x20have\x20already\x20solved\x20this\x20puzzle.'];a52c=function(){return n;};return a52c();}import{AbstractPuzzle}from'../types/abstracts.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xe8;var f=c[d];return f;},a52d(a,b);}export class Puzzle extends AbstractPuzzle{['logger']=Logger[a52i(0x108)]();['solved']=![];['requiredItem'];['requiredPhrase'];['riddle'];['rewardItem'];[a52i(0xf0)];[a52i(0xf1)];constructor(a){var j=a52i;super(),this[j(0x106)]=a['requiredItem'],this['requiredPhrase']=a['requiredPhrase'],this[j(0xeb)]=a[j(0xeb)],this[j(0xfe)]=a['rewardItem'],this[j(0xf0)]=a[j(0xf0)]||j(0xfc),this[j(0xf1)]=a[j(0xf1)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a52i(0xfd)](a){var k=a52i;if(this[k(0x106)])return a[k(0xef)](this[k(0x106)]);return![];}[a52i(0xf9)](a){var l=a52i;return this[l(0xec)]===a;}['solve'](a,b){var m=a52i;if(this[m(0x102)])return this[m(0xf4)]['write']('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':m(0x100)};return this[m(0xfd)](b)||this[m(0xf9)](a)?(this[m(0x102)]=!![],this['logger'][m(0x101)](m(0xf5)),{'success':!![],'message':this[m(0xf0)]}):(this[m(0xf4)][m(0x101)](m(0x103)),{'success':![],'message':this[m(0xf1)]});}}
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 a53h=a53d;function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a53d(a,b);}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x21d))/0x1+parseInt(f(0x204))/0x2+parseInt(f(0x20b))/0x3+-parseInt(f(0x21f))/0x4+parseInt(f(0x215))/0x5*(parseInt(f(0x216))/0x6)+parseInt(f(0x211))/0x7*(parseInt(f(0x200))/0x8)+-parseInt(f(0x21b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x994fa));const a53b=(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;};}()),a53a=a53b(this,function(){const g=a53d;return a53a[g(0x223)]()[g(0x20c)](g(0x224))[g(0x223)]()[g(0x228)](a53a)[g(0x20c)](g(0x224));});a53a();function a53c(){const s=['\x20is\x20locked.\x20Result:\x20','SOUTH','Item\x20removed\x20from\x20room\x20','findExistingDoor','north','\x20remains\x20locked.','checkIfLocked','inventory','roomA','getInstance','18640GHbOzi','values','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','write','1963480MZCKLV','DOWN','say','No\x20locked\x20exit\x20found\x20in\x20direction\x20','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','Checking\x20if\x20exit\x20in\x20direction\x20','riddle','1273929RMGBsr','search','description','getOppositeDirection','The\x20','\x20unlocked!','371NMghyu','EAST','Room\x20created:\x20','isStartRoom','1693885Rtohng','18DESrbb','west','exits','isExitLocked','NORTH','16284537styEph','hasItem','994381nFJAMw','roomType','4412920FVyOSW','removeItem','puzzle','Fetching\x20exit\x20in\x20direction:\x20','toString','(((.+)+)+)+$','logger','Puzzle\x20set\x20for\x20room\x20','name','constructor','get','set','addItem','roomB'];a53c=function(){return s;};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';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53h(0x225)]=Logger[a53h(0x1ff)]();[a53h(0x227)];[a53h(0x20d)];[a53h(0x218)]=new Map();[a53h(0x21e)];[a53h(0x214)];[a53h(0x1fd)]=new Inventory();constructor(a){const i=a53h;super(),this['name']=a[i(0x227)],this[i(0x20d)]=a['description'],this[i(0x21e)]=a[i(0x21e)]||RoomType['INSIDE'],a[i(0x218)]&&(this[i(0x218)]=a[i(0x218)]||new Map()),a['inventory']&&(this[i(0x1fd)]=a[i(0x1fd)]),a[i(0x221)]&&(this[i(0x221)]=a[i(0x221)]),this[i(0x214)]=a['isStartRoom']||![],this[i(0x225)][i(0x203)](i(0x213)+this[i(0x227)]);}[a53h(0x206)](a,b){this['emit']('speak',a,b);}['addExit'](a,b,c){const j=a53h;let d=this[j(0x1f9)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[j(0x218)]['set'](a,d),b[j(0x218)][j(0x22a)](this[j(0x20e)](a),d);}['attemptUnlockExit'](a,b){const k=a53h,c=this[k(0x218)][k(0x229)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[k(0x225)][k(0x203)](k(0x202)+a+'.\x20Success:\x20'+d),d?k(0x20f)+c[k(0x227)]+k(0x210):k(0x20f)+c['name']+k(0x1fb);}return this[k(0x225)][k(0x203)](k(0x207)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}['getExit'](a){const l=a53h;return this['logger'][l(0x203)](l(0x222)+a),this[l(0x218)][l(0x229)](a);}[a53h(0x219)](a){const m=a53h,b=this[m(0x218)][m(0x229)](a),c=b instanceof Door&&b[m(0x1fc)]();return this['logger'][m(0x203)](m(0x209)+a+m(0x1f6)+c),c;}[a53h(0x1f4)](a){const n=a53h;this[n(0x1fd)]['addItem'](a),this['logger'][n(0x203)]('Item\x20added\x20to\x20room\x20'+this[n(0x227)]+':\x20'+a[n(0x227)]);}[a53h(0x220)](a){const o=a53h;this[o(0x1fd)][o(0x21c)](a[o(0x227)])?(this[o(0x1fd)][o(0x220)](a['name']),this[o(0x225)][o(0x203)](o(0x1f8)+this[o(0x227)]+':\x20'+a[o(0x227)])):this[o(0x225)][o(0x203)](o(0x208)+this[o(0x227)]+':\x20'+a[o(0x227)]);}['setPuzzle'](a){const p=a53h;this['puzzle']=a,this['logger'][p(0x203)](p(0x226)+this[p(0x227)]+':\x20'+a[p(0x20a)]);}[a53h(0x20e)](a){const q=a53h;switch(a){case q(0x1fa):return Direction[q(0x1f7)];case'south':return Direction[q(0x21a)];case'east':return Direction['WEST'];case q(0x217):return Direction[q(0x212)];case'up':return Direction[q(0x205)];case'down':return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53h(0x1f9)](a){const r=a53h;for(const b of this[r(0x218)][r(0x201)]()){if(b instanceof Door){if(b[r(0x1fe)]===this&&b[r(0x1f5)]===a||b[r(0x1f5)]===this&&b[r(0x1fe)]===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;}}