@maka/maka-cli 4.6.17 → 4.6.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/bundle/obf/package.json +31 -31
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kit.js +1 -1
  108. package/bundle/obf/src/generators/layout.js +1 -1
  109. package/bundle/obf/src/generators/maka.gen.js +1 -1
  110. package/bundle/obf/src/generators/methods.js +1 -1
  111. package/bundle/obf/src/generators/package.js +1 -1
  112. package/bundle/obf/src/generators/page.js +1 -1
  113. package/bundle/obf/src/generators/publish.js +1 -1
  114. package/bundle/obf/src/generators/route.js +1 -1
  115. package/bundle/obf/src/generators/service.js +1 -1
  116. package/bundle/obf/src/generators/services/_index.js +1 -1
  117. package/bundle/obf/src/generators/services/openssl.js +1 -1
  118. package/bundle/obf/src/generators/services/translation.js +1 -1
  119. package/bundle/obf/src/maka.js +1 -1
  120. package/bundle/obf/src/tool.js +1 -1
  121. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  122. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  123. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  124. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  125. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  126. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  127. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/https/https.class.js +1 -1
  129. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  130. package/bundle/obf/src/tools/log/log.class.js +1 -1
  131. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/options/options.class.js +1 -1
  133. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  134. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  135. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  137. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  138. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  139. package/package.json +31 -31
@@ -1 +1 @@
1
- const a33j=a33d;(function(a,b){const g=a33d,c=a();while(!![]){try{const d=-parseInt(g(0x103))/0x1+parseInt(g(0x109))/0x2*(parseInt(g(0x119))/0x3)+-parseInt(g(0xf7))/0x4+parseInt(g(0xfb))/0x5*(parseInt(g(0x104))/0x6)+parseInt(g(0x10f))/0x7*(parseInt(g(0x11f))/0x8)+-parseInt(g(0x106))/0x9*(-parseInt(g(0x11b))/0xa)+-parseInt(g(0x10d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x34fb3));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a33d;if(c){const e=c[h(0xf8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const i=a33d;return a33a['toString']()[i(0x112)](i(0x113))[i(0x117)]()['constructor'](a33a)['search'](i(0x113));});a33a();import{Door}from'../models/door.js';function a33c(){const m=['709924qUZKkc','apply','execute','\x20which\x20is\x20not\x20valid.','360dpihFA','\x27s\x20\x27Go\x27\x20command\x20failed:\x20Current\x20room\x20is\x20undefined\x20or\x20null.\x20This\x20is\x20a\x20bug.','description','Unnamed\x20room','\x20moved\x20to\x20room:\x20','\x20\x27Go\x27\x20command\x20failed:\x20Unable\x20to\x20determine\x20the\x20other\x20side\x20of\x20the\x20door.','getExit','\x20is\x20attempting\x20\x27Go\x27\x20command\x20with\x20direction:\x20','288763NmHEXx','31764fhUoMq','actor','54iNusUt','getOtherSide','name','4abfgsN','checkIfLocked','\x22\x20does\x20not\x20exist\x20in\x20current\x20room\x27s\x20exits.','\x22\x20is\x20locked.','7393254pLyJuw','You\x20seem\x20to\x20be\x20nowhere.\x20This\x20is\x20a\x20bug.','18697laXCWU','error','isValidDirection','search','(((.+)+)+)+$','\x20\x27Go\x27\x20command\x20failed:\x20Specified\x20direction\x20\x22','Please\x20specify\x20a\x20direction\x20to\x20go.','currentLocation','toString','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20room\x20you\x27re\x20trying\x20to\x20go\x20to.','397257qtNVQc','write','616910IjMkWJ','You\x20can\x27t\x20go\x20that\x20way.','The\x20door\x20in\x20the\x20direction\x20\x22','logger','1016HERQFR','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20door\x20you\x27re\x20trying\x20to\x20go\x20through.','rooms','\x20\x27Go\x27\x20command\x20failed:\x20Room\x20\x22'];a33c=function(){return m;};return a33c();}import{Command}from'./command.js';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0xf7;let f=c[d];return f;},a33d(a,b);}export class GoCommand extends Command{static ['verb']='go';static [a33j(0xfd)]='Move\x20in\x20the\x20specified\x20direction.';[a33j(0xf9)](a){const k=a33j;return this[k(0x11e)][k(0x11a)](this[k(0x105)]['name']+k(0x102)+a['join']('\x20')),this['go'](a);}['go'](a){const l=a33j;if(a['length']===0x0)return this[l(0x11e)][l(0x11a)](this[l(0x105)][l(0x108)]+'\x27s\x20\x27Go\x27\x20command\x20failed:\x20No\x20direction\x20specified.'),l(0x115);const b=a[0x0]['toLowerCase']();if(!this[l(0x111)](b))return this['logger'][l(0x11a)](this[l(0x105)][l(0x108)]+'\x20attempted\x20to\x20go\x20'+b+l(0xfa)),'That\x20is\x20not\x20a\x20way\x20to\x20go';const c=this[l(0x105)]['currentLocation'];if(!c)return this[l(0x11e)][l(0x110)](this[l(0x105)]['name']+l(0xfc)),l(0x10e);const d=c[l(0x101)](b);if(!d)return this[l(0x11e)][l(0x11a)](this[l(0x105)][l(0x108)]+l(0x114)+b+l(0x10b)),l(0x11c);if(d instanceof Door){if(d[l(0x10a)]())return l(0x11d)+b+l(0x10c);const e=d[l(0x107)](c);if(!e)return this[l(0x11e)][l(0x110)](this[l(0x105)]['name']+l(0x100)),l(0x120);this[l(0x105)][l(0x116)]=e;}else{const f=this[l(0x121)]&&this['rooms'][d];if(!f)return this[l(0x11e)][l(0x110)](this[l(0x105)][l(0x108)]+l(0x122)+d+'\x22\x20not\x20found.'),l(0x118);this[l(0x105)]['currentLocation']=f;}return this['logger'][l(0x11a)](this[l(0x105)]['name']+l(0xff)+(this[l(0x105)][l(0x116)][l(0x108)]||l(0xfe))+'.'),this['actor'][l(0x116)][l(0xfd)];}}
1
+ const a33i=a33d;function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x188;let f=c[d];return f;},a33d(a,b);}function a33c(){const l=['1547FBKnbN','You\x20seem\x20to\x20be\x20nowhere.\x20This\x20is\x20a\x20bug.','\x20\x27Go\x27\x20command\x20failed:\x20Room\x20\x22','\x22\x20does\x20not\x20exist\x20in\x20current\x20room\x27s\x20exits.','\x20attempted\x20to\x20go\x20','\x20moved\x20to\x20room:\x20','1195984JNywdB','\x27s\x20\x27Go\x27\x20command\x20failed:\x20Current\x20room\x20is\x20undefined\x20or\x20null.\x20This\x20is\x20a\x20bug.','1379022ssqgvJ','toLowerCase','\x27s\x20\x27Go\x27\x20command\x20failed:\x20No\x20direction\x20specified.','\x22\x20not\x20found.','\x20which\x20is\x20not\x20valid.','675516CNjOkf','join','2009817qnEwKp','280286cDEhoJ','10vseDRu','checkIfLocked','write','execute','2tTNvas','\x20is\x20attempting\x20\x27Go\x27\x20command\x20with\x20direction:\x20','(((.+)+)+)+$','rooms','\x20\x27Go\x27\x20command\x20failed:\x20Specified\x20direction\x20\x22','description','logger','name','search','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20room\x20you\x27re\x20trying\x20to\x20go\x20to.','getExit','That\x20is\x20not\x20a\x20way\x20to\x20go','error','Move\x20in\x20the\x20specified\x20direction.','isValidDirection','\x22\x20is\x20locked.','11504QKmISQ','toString','length','actor','Please\x20specify\x20a\x20direction\x20to\x20go.','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20door\x20you\x27re\x20trying\x20to\x20go\x20through.','Unnamed\x20room','5EoHuIm','3945436seEzQw','You\x20can\x27t\x20go\x20that\x20way.','currentLocation'];a33c=function(){return l;};return a33c();}(function(a,b){const g=a33d,c=a();while(!![]){try{const d=-parseInt(g(0x193))/0x1*(-parseInt(g(0x198))/0x2)+parseInt(g(0x190))/0x3+-parseInt(g(0x189))/0x4+-parseInt(g(0x1af))/0x5*(parseInt(g(0x18b))/0x6)+parseInt(g(0x1b3))/0x7*(parseInt(g(0x1a8))/0x8)+parseInt(g(0x192))/0x9+-parseInt(g(0x194))/0xa*(parseInt(g(0x1b0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x26d54));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(0x1a9)]()[h(0x1a0)](h(0x19a))[h(0x1a9)]()['constructor'](a33a)[h(0x1a0)]('(((.+)+)+)+$');});a33a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class GoCommand extends Command{static ['verb']='go';static [a33i(0x19d)]=a33i(0x1a5);[a33i(0x197)](a){const j=a33i;return this[j(0x19e)][j(0x196)](this[j(0x1ab)][j(0x19f)]+j(0x199)+a[j(0x191)]('\x20')),this['go'](a);}['go'](a){const k=a33i;if(a[k(0x1aa)]===0x0)return this[k(0x19e)][k(0x196)](this[k(0x1ab)][k(0x19f)]+k(0x18d)),k(0x1ac);const b=a[0x0][k(0x18c)]();if(!this[k(0x1a6)](b))return this[k(0x19e)][k(0x196)](this['actor'][k(0x19f)]+k(0x1b7)+b+k(0x18f)),k(0x1a3);const c=this[k(0x1ab)][k(0x1b2)];if(!c)return this[k(0x19e)]['error'](this[k(0x1ab)]['name']+k(0x18a)),k(0x1b4);const d=c[k(0x1a2)](b);if(!d)return this['logger'][k(0x196)](this[k(0x1ab)][k(0x19f)]+k(0x19c)+b+k(0x1b6)),k(0x1b1);if(d instanceof Door){if(d[k(0x195)]())return'The\x20door\x20in\x20the\x20direction\x20\x22'+b+k(0x1a7);const e=d['getOtherSide'](c);if(!e)return this['logger']['error'](this[k(0x1ab)][k(0x19f)]+'\x20\x27Go\x27\x20command\x20failed:\x20Unable\x20to\x20determine\x20the\x20other\x20side\x20of\x20the\x20door.'),k(0x1ad);this[k(0x1ab)][k(0x1b2)]=e;}else{const f=this[k(0x19b)]&&this['rooms'][d];if(!f)return this[k(0x19e)][k(0x1a4)](this[k(0x1ab)]['name']+k(0x1b5)+d+k(0x18e)),k(0x1a1);this['actor'][k(0x1b2)]=f;}return this['logger']['write'](this[k(0x1ab)]['name']+k(0x188)+(this[k(0x1ab)]['currentLocation'][k(0x19f)]||k(0x1ae))+'.'),this['actor'][k(0x1b2)]['description'];}}
@@ -1 +1 @@
1
- const a34i=a34d;function a34c(){const l=['\x20Locked\x20the\x20','search','get','inventory','3462JiEcEW','\x22\x20is\x20already\x20locked.','description','isLocked','execute','toString','lock','\x20door.','1725016QlBnvq','logger','toLowerCase','name','has','exits','actor','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','4488651NciZzK','isValidDirection','809526tEehCO','write','LockCommand:\x20','hasItem','1925VBKIIE','(((.+)+)+)+$','1151244HVmOod','currentLocation','apply','LockCommand:\x20No\x20target\x20specified.','1ZnXNPV','344558jKAmtW','length','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','The\x20door\x20named\x20\x22','18190YfklCq','error'];a34c=function(){return l;};return a34c();}(function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0x202))/0x1*(parseInt(f(0x203))/0x2)+-parseInt(f(0x1f8))/0x3+-parseInt(f(0x1fe))/0x4+parseInt(f(0x207))/0x5+parseInt(f(0x20d))/0x6*(parseInt(f(0x1fc))/0x7)+parseInt(f(0x215))/0x8+parseInt(f(0x1f6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x23d3b));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x200)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0x212)]()[h(0x20a)](h(0x1fd))[h(0x212)]()['constructor'](a34a)[h(0x20a)]('(((.+)+)+)+$');});a34a();import{Command}from'./command.js';function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a34d(a,b);}export class LockCommand extends Command{static ['verb']=a34i(0x213);static [a34i(0x20f)]='Lock\x20a\x20door.';[a34i(0x211)](a){const j=a34i;return this[j(0x213)](a);}[a34i(0x213)](a){const k=a34i;if(a[k(0x204)]===0x0)return this[k(0x1ef)][k(0x208)](k(0x201)),k(0x205);const b=a[0x0]['toLowerCase'](),c=this[k(0x1f4)][k(0x1ff)];if(this[k(0x1f7)](b)&&c[k(0x1f3)][k(0x1f2)](b)){const d=c[k(0x1f3)][k(0x20b)](b);if(d[k(0x210)])return k(0x206)+b+k(0x20e);const e=d['unlockItemOrSolution']?.[k(0x1f0)]();return e&&this[k(0x1f4)][k(0x20c)][k(0x1fb)](e)?(d['isLocked']=!![],this[k(0x1ef)][k(0x1f9)]('LockCommand:\x20'+this[k(0x1f4)][k(0x1f1)]+k(0x209)+b+k(0x214)),'You\x20locked\x20the\x20door\x20named\x20\x22'+b+'\x22.'):(this['logger'][k(0x1f9)](k(0x1fa)+this[k(0x1f4)][k(0x1f1)]+k(0x1f5)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.');}else return this[k(0x1ef)][k(0x1f9)]('LockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}}
1
+ const a34i=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0x9a))/0x1*(parseInt(f(0x8f))/0x2)+parseInt(f(0x8e))/0x3*(-parseInt(f(0x99))/0x4)+-parseInt(f(0xa5))/0x5*(parseInt(f(0x91))/0x6)+parseInt(f(0x87))/0x7+-parseInt(f(0xa9))/0x8*(parseInt(f(0x9d))/0x9)+parseInt(f(0xad))/0xa*(parseInt(f(0xb1))/0xb)+-parseInt(f(0xaf))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x58171));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x8b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a['toString']()[h(0xa7)](h(0x96))[h(0xa0)]()['constructor'](a34a)['search'](h(0x96));});a34a();import{Command}from'./command.js';function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x87;let f=c[d];return f;},a34d(a,b);}export class LockCommand extends Command{static [a34i(0xae)]=a34i(0xa8);static [a34i(0x88)]=a34i(0xa3);[a34i(0xa1)](a){const j=a34i;return this[j(0xa8)](a);}[a34i(0xa8)](a){const k=a34i;if(a[k(0x93)]===0x0)return this[k(0x9c)][k(0x98)](k(0x8a)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.';const b=a[0x0][k(0xaa)](),c=this[k(0x8d)]['currentLocation'];if(this[k(0xab)](b)&&c[k(0x9e)][k(0x9f)](b)){const d=c[k(0x9e)][k(0x94)](b);if(d[k(0x8c)])return k(0xa2)+b+k(0x89);const e=d[k(0xa6)]?.[k(0xaa)]();return e&&this[k(0x8d)][k(0xac)][k(0x9b)](e)?(d[k(0x8c)]=!![],this[k(0x9c)][k(0xa4)]('LockCommand:\x20'+this[k(0x8d)][k(0x97)]+'\x20Locked\x20the\x20'+b+'\x20door.'),'You\x20locked\x20the\x20door\x20named\x20\x22'+b+'\x22.'):(this[k(0x9c)][k(0xa4)]('LockCommand:\x20'+this[k(0x8d)][k(0x97)]+k(0x90)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.');}else return this['logger'][k(0xa4)](k(0x95)+b+k(0x92)),k(0xb0)+b+'\x22\x20here.';}}function a34c(){const l=['(((.+)+)+)+$','name','error','820128nxzsgA','5FJFDks','hasItem','logger','277209TcZojP','exits','has','toString','execute','The\x20door\x20named\x20\x22','Lock\x20a\x20door.','write','30105ebRVsy','unlockItemOrSolution','search','lock','56GEarOS','toLowerCase','isValidDirection','inventory','1096760lVYBXO','verb','2850564gPeMbb','There\x27s\x20no\x20door\x20named\x20\x22','11GGPIXO','2030875eQXWLj','description','\x22\x20is\x20already\x20locked.','LockCommand:\x20No\x20target\x20specified.','apply','isLocked','actor','3Hcsval','278990XBfPGM','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','78sPbFTX','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','length','get','LockCommand:\x20'];a34c=function(){return l;};return a34c();}
@@ -1 +1 @@
1
- const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x1de))/0x1+-parseInt(f(0x1d1))/0x2*(parseInt(f(0x1f2))/0x3)+parseInt(f(0x1dc))/0x4*(parseInt(f(0x1d6))/0x5)+parseInt(f(0x1fc))/0x6*(parseInt(f(0x1d3))/0x7)+-parseInt(f(0x1ea))/0x8+-parseInt(f(0x1e4))/0x9*(-parseInt(f(0x1f5))/0xa)+parseInt(f(0x1f4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x33712));function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a35d(a,b);}const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x1f7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x1c8)]()[h(0x1c6)](h(0x1f6))[h(0x1c8)]()['constructor'](a35a)[h(0x1c6)](h(0x1f6));});a35a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a35i(0x1d4)]='look';static [a35i(0x1c7)]='Examine\x20your\x20surroundings';[a35i(0x1d0)](a=[]){const j=a35i;this[j(0x1d5)][j(0x1f3)](j(0x1ee));const b=a[j(0x1e7)]('\x20');if(b){if(this[j(0x1d7)][j(0x1fb)][j(0x1ca)](b))return this['logger'][j(0x1f3)](j(0x1f0)+b+j(0x1cf)+this[j(0x1d7)][j(0x1c5)]+j(0x1cd)),this['inspectItem'](b,this[j(0x1d7)][j(0x1fb)]);else{if(this[j(0x1d7)]['currentLocation']['inventory']['hasItem'](b))return this[j(0x1d5)][j(0x1f3)](j(0x1f0)+b+j(0x1d8)),this[j(0x1fa)](b,this[j(0x1d7)][j(0x1d9)][j(0x1fb)]);else return this[j(0x1e5)](b)?(this[j(0x1d5)][j(0x1f3)](j(0x1da)+b+'\x27.'),this[j(0x1ef)](b)):j(0x1e3)+b;}}else return this[j(0x1d5)][j(0x1f3)](this[j(0x1d7)][j(0x1c5)]+j(0x1ce)),this[j(0x1eb)]();}[a35i(0x1eb)](){const k=a35i,a=this[k(0x1d7)][k(0x1d9)];if(!a)return this[k(0x1d5)]['error'](this[k(0x1d7)]['name']+k(0x1d2)),k(0x1f1);let b=a['description'];return a[k(0x1e1)]&&(b+='\x0a'+a[k(0x1e1)]['riddle']),b;}[a35i(0x1ef)](a){const l=a35i,b=this[l(0x1d7)]['currentLocation'];if(!b)return this[l(0x1d5)]['error'](this['actor'][l(0x1c5)]+l(0x1d2)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';const c=b[l(0x1e8)][l(0x1e6)](a);if(!c)return l(0x1f9)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x1ed)](b);else{if(typeof c===l(0x1e2)){d=this[l(0x1e0)]&&this[l(0x1e0)][c];if(!d)return l(0x1cb)+a+'\x22.';}else return l(0x1cc)+a+'\x22.';}if(d['roomType']===RoomType[l(0x1db)]){if(a==='up')return'Above\x20you,\x20'+d[l(0x1c7)];else return a===l(0x1c9)?l(0x1f8)+d[l(0x1c7)]:'To\x20the\x20'+a+',\x20you\x20see\x20'+d[l(0x1c7)];}else return l(0x1e9);}[a35i(0x1fa)](a,b){const m=a35i,c=b[m(0x1c4)](a);if(!c)return m(0x1ec)+a+m(0x1df);return c[m(0x1c7)]||m(0x1dd)+a+'.';}}function a35c(){const n=['You\x20cannot\x20see\x20','9hhJXRw','isValidDirection','get','join','exits','You\x20cannot\x20see\x20through','1192288hOyyIp','look','You\x20don\x27t\x20see\x20any\x20','getOtherSide','Executing\x20\x27Look\x27\x20command.','lookOutside','Looking\x20at\x20item\x20\x27','You\x27re\x20not\x20in\x20a\x20valid\x20room.','17457fbLWGp','write','543961XMLgHO','1988180fEZSAG','(((.+)+)+)+$','apply','Below\x20you,\x20','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','inspectItem','inventory','6aPEltK','getItem','name','search','description','toString','down','hasItem','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','\x20inventory.','\x20is\x20looking\x20around\x20the\x20current\x20room.','\x27\x20in\x20','execute','2ZGvylp','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','2336677tjUZKh','verb','logger','4685KNPZsS','actor','\x27\x20in\x20current\x20room\x20inventory.','currentLocation','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','OUTSIDE','388cWkMSX','It\x27s\x20just\x20a\x20regular\x20','307408kOwVMh','\x20here.','rooms','puzzle','string'];a35c=function(){return n;};return a35c();}
1
+ const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0xef))/0x1+parseInt(f(0xfe))/0x2+parseInt(f(0xfa))/0x3*(-parseInt(f(0xf4))/0x4)+parseInt(f(0xf3))/0x5+-parseInt(f(0xce))/0x6+parseInt(f(0xf1))/0x7+-parseInt(f(0xd8))/0x8*(parseInt(f(0xee))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x98f1b));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0xd5)]()[h(0xec)](h(0xe2))[h(0xd5)]()[h(0xdc)](a35a)[h(0xec)](h(0xe2));});a35a();function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0xc8;let f=c[d];return f;},a35d(a,b);}import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a35i(0xea)]='look';static [a35i(0xf5)]=a35i(0xcf);[a35i(0xc9)](a=[]){const j=a35i;this[j(0xe7)]['write'](j(0xf0));const b=a[j(0xf6)]('\x20');if(b){if(this[j(0xcd)]['inventory']['hasItem'](b))return this[j(0xe7)][j(0xcb)](j(0xda)+b+j(0xe9)+this[j(0xcd)]['name']+j(0xf9)),this[j(0xfd)](b,this[j(0xcd)][j(0xde)]);else{if(this[j(0xcd)]['currentLocation'][j(0xde)]['hasItem'](b))return this[j(0xe7)][j(0xcb)](j(0xda)+b+j(0xc8)),this[j(0xfd)](b,this['actor']['currentLocation']['inventory']);else return this['isValidDirection'](b)?(this[j(0xe7)][j(0xcb)](j(0xe1)+b+'\x27.'),this['lookOutside'](b)):j(0xcc)+b;}}else return this['logger'][j(0xcb)](this[j(0xcd)]['name']+j(0xfc)),this[j(0xca)]();}[a35i(0xca)](){const k=a35i,a=this[k(0xcd)][k(0xe4)];if(!a)return this[k(0xe7)][k(0xdf)](this['actor'][k(0xf7)]+k(0xe5)),k(0xe0);let b=a[k(0xf5)];return a[k(0x100)]&&(b+='\x0a'+a[k(0x100)][k(0xd9)]),b;}[a35i(0xf8)](a){const l=a35i,b=this[l(0xcd)][l(0xe4)];if(!b)return this[l(0xe7)][l(0xdf)](this['actor'][l(0xf7)]+l(0xe5)),l(0xe0);const c=b[l(0xe6)][l(0xff)](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c[l(0xd1)](b);else{if(typeof c==='string'){d=this[l(0xd3)]&&this['rooms'][c];if(!d)return l(0xe8)+a+'\x22.';}else return l(0xd2)+a+'\x22.';}if(d[l(0xd6)]===RoomType[l(0xeb)]){if(a==='up')return l(0xdd)+d[l(0xf5)];else return a===l(0xe3)?l(0xfb)+d['description']:l(0xf2)+a+',\x20you\x20see\x20'+d[l(0xf5)];}else return'You\x20cannot\x20see\x20through';}[a35i(0xfd)](a,b){const m=a35i,c=b[m(0xd7)](a);if(!c)return m(0xed)+a+m(0xd4);return c[m(0xf5)]||m(0xd0)+a+'.';}}function a35c(){const n=['rooms','\x20here.','toString','roomType','getItem','8xdnMPM','riddle','Looking\x20at\x20item\x20\x27','apply','constructor','Above\x20you,\x20','inventory','error','You\x27re\x20not\x20in\x20a\x20valid\x20room.','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','(((.+)+)+)+$','down','currentLocation','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','exits','logger','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','\x27\x20in\x20','verb','OUTSIDE','search','You\x20don\x27t\x20see\x20any\x20','5195034PLNVjE','246053OamLwN','Executing\x20\x27Look\x27\x20command.','4677323MZxdZG','To\x20the\x20','2992690sLTafV','156268VqjiyB','description','join','name','lookOutside','\x20inventory.','57ftrGqd','Below\x20you,\x20','\x20is\x20looking\x20around\x20the\x20current\x20room.','inspectItem','1914822oQhzRV','get','puzzle','\x27\x20in\x20current\x20room\x20inventory.','execute','look','write','You\x20cannot\x20see\x20','actor','192762XYLOaz','Examine\x20your\x20surroundings','It\x27s\x20just\x20a\x20regular\x20','getOtherSide','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22'];a35c=function(){return n;};return a35c();}
@@ -1 +1 @@
1
- const a36i=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=parseInt(g(0x1f7))/0x1+-parseInt(g(0x1f5))/0x2+-parseInt(g(0x1f4))/0x3*(-parseInt(g(0x207))/0x4)+parseInt(g(0x1f1))/0x5*(parseInt(g(0x200))/0x6)+-parseInt(g(0x1fa))/0x7+parseInt(g(0x1f3))/0x8+-parseInt(g(0x1f6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xa9bdc));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a['toString']()[h(0x209)](h(0x202))[h(0x1f9)]()[h(0x1fb)](a36a)['search'](h(0x202));});a36a();import{Command}from'./command.js';export class SayCommand extends Command{static [a36i(0x201)]=a36i(0x206);static [a36i(0x203)]=a36i(0x1fe);['context'];constructor(a){super(a),this['context']=a;}[a36i(0x1f0)](a){const j=a36i;if(a[j(0x204)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[j(0x20a)]('\x20'),c=this[j(0x1fd)],d=this[j(0x1fc)][j(0x1ff)];if(!d)return this['logger'][j(0x205)](j(0x1ef)),'An\x20error\x20occurred.';const e=d[j(0x1f8)]['filter'](f=>f[j(0x208)]===c['currentLocation']);for(const f of e){this['logger']['log'](c['name']+'\x20says\x20to\x20'+f['name']+':\x20\x22'+b+'\x22'),this[j(0x1fd)][j(0x208)][j(0x206)](f,b);}return j(0x1f2)+b+'\x22';}}function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a36d(a,b);}function a36c(){const k=['scene','1558062gCjXUV','verb','(((.+)+)+)+$','description','length','log','say','148068EjHiER','currentLocation','search','join','Scene\x20is\x20missing\x20from\x20context.','execute','5jTzwEM','You\x20say:\x20\x22','3964872UgHzqW','93OfUvux','1418092CLSXAa','1367100bHdulB','690207kTmnvn','allActors','toString','7257698gExGGu','constructor','context','actor','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.'];a36c=function(){return k;};return a36c();}
1
+ const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=-parseInt(g(0x16d))/0x1+-parseInt(g(0x163))/0x2*(parseInt(g(0x156))/0x3)+parseInt(g(0x166))/0x4*(-parseInt(g(0x168))/0x5)+parseInt(g(0x164))/0x6*(parseInt(g(0x16c))/0x7)+-parseInt(g(0x16f))/0x8+-parseInt(g(0x160))/0x9+parseInt(g(0x15e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x2d3a1));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0x158)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a['toString']()[i(0x15a)](i(0x161))[i(0x159)]()['constructor'](a36a)[i(0x15a)](i(0x161));});a36a();function a36c(){const m=['What\x20do\x20you\x20want\x20to\x20say?','1383jdpzTW','join','apply','toString','search','context','name','description','12346760nnkTDc','currentLocation','3010149EWjBjM','(((.+)+)+)+$','Scene\x20is\x20missing\x20from\x20context.','1370IVrhmN','30ojtxwh',':\x20\x22','4dvmqda','log','655410GKLSTS','scene','allActors','You\x20say:\x20\x22','65002cjMKfe','283222hjkpWl','actor','250456rMPmrp','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','filter','\x20says\x20to\x20','execute','verb'];a36c=function(){return m;};return a36c();}function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x150;let f=c[d];return f;},a36d(a,b);}import{Command}from'./command.js';export class SayCommand extends Command{static [a36j(0x154)]='say';static [a36j(0x15d)]=a36j(0x150);[a36j(0x15b)];constructor(a){const k=a36j;super(a),this[k(0x15b)]=a;}[a36j(0x153)](a){const l=a36j;if(a['length']===0x0)return l(0x155);const b=a[l(0x157)]('\x20'),c=this[l(0x16e)],d=this[l(0x15b)][l(0x169)];if(!d)return this['logger'][l(0x167)](l(0x162)),'An\x20error\x20occurred.';const e=d[l(0x16a)][l(0x151)](f=>f['currentLocation']===c[l(0x15f)]);for(const f of e){this['logger'][l(0x167)](c[l(0x15c)]+l(0x152)+f[l(0x15c)]+l(0x165)+b+'\x22'),this[l(0x16e)][l(0x15f)]['say'](f,b);}return l(0x16b)+b+'\x22';}}
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x161))/0x1+-parseInt(f(0x15c))/0x2*(parseInt(f(0x153))/0x3)+parseInt(f(0x15d))/0x4+parseInt(f(0x155))/0x5*(-parseInt(f(0x163))/0x6)+-parseInt(f(0x16a))/0x7+-parseInt(f(0x169))/0x8+-parseInt(f(0x16b))/0x9*(-parseInt(f(0x158))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x84ebf));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x15f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()['search'](h(0x166))['toString']()[h(0x156)](a37a)[h(0x157)](h(0x166));});a37a();import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x152;let f=c[d];return f;},a37d(a,b);}export class SearchCommand extends Command{static ['verb']=a37i(0x157);static [a37i(0x164)]=a37i(0x16c);[a37i(0x16d)](){const j=a37i,a=this[j(0x162)][j(0x15b)][j(0x15e)][j(0x160)]();if(a[j(0x152)]===0x0)return this[j(0x165)][j(0x167)]('SearchCommand:\x20'+this['actor'][j(0x159)]+j(0x168)),j(0x15a);const b=a['join'](',\x20');return this[j(0x165)][j(0x167)]('SearchCommand:\x20'+this['actor'][j(0x159)]+j(0x16e)+b),j(0x154)+b;}}function a37c(){const k=['currentLocation','2096816TqzyVL','2029356ldbjRu','inventory','apply','listItems','466562KjEpQc','actor','18UvBkFb','description','logger','(((.+)+)+)+$','write','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','3216576OHQTnd','1891883lNQfQN','12939417LPuQsZ','Search\x20for\x20items\x20in\x20your\x20area','execute','\x20found\x20the\x20following\x20items:\x20','length','3aoAJwf','You\x20search\x20the\x20area\x20and\x20find:\x20','244030yVZobs','constructor','search','10oRQpZH','name','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.'];a37c=function(){return k;};return a37c();}
1
+ const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x202))/0x1*(-parseInt(f(0x1f7))/0x2)+-parseInt(f(0x1ed))/0x3+-parseInt(f(0x1f2))/0x4+parseInt(f(0x1fa))/0x5*(-parseInt(f(0x208))/0x6)+parseInt(f(0x1f5))/0x7*(parseInt(f(0x1f4))/0x8)+parseInt(f(0x1f9))/0x9+parseInt(f(0x209))/0xa*(parseInt(f(0x1f0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x919ce));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1ed;let f=c[d];return f;},a37d(a,b);}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const g=a37d;return a37a[g(0x206)]()[g(0x1ee)](g(0x1fb))[g(0x206)]()[g(0x1f8)](a37a)[g(0x1ee)]('(((.+)+)+)+$');});a37a();function a37c(){const j=['constructor','5986170NgtFRW','30ypmBRU','(((.+)+)+)+$','execute','Search\x20for\x20items\x20in\x20your\x20area','listItems','join','logger','currentLocation','1895iqztbu','You\x20search\x20the\x20area\x20and\x20find:\x20','write','inventory','toString','description','978480OpJvdh','10tLZfgf','3471063rvVeBB','search','name','35163623JPFaOq','\x20found\x20the\x20following\x20items:\x20','3954596LHTUWU','SearchCommand:\x20','16VJUncB','215327wPRIpG','actor','214VRCLdK'];a37c=function(){return j;};return a37c();}import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a37h(0x1ee);static [a37h(0x207)]=a37h(0x1fd);[a37h(0x1fc)](){const i=a37h,a=this['actor'][i(0x201)][i(0x205)][i(0x1fe)]();if(a['length']===0x0)return this[i(0x200)][i(0x204)](i(0x1f3)+this[i(0x1f6)][i(0x1ef)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[i(0x1ff)](',\x20');return this[i(0x200)][i(0x204)](i(0x1f3)+this[i(0x1f6)][i(0x1ef)]+i(0x1f1)+b),i(0x203)+b;}}
@@ -1 +1 @@
1
- const a38h=a38d;function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xcb;let f=c[d];return f;},a38d(a,b);}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0xcc))/0x1*(parseInt(f(0xcf))/0x2)+parseInt(f(0xd6))/0x3*(parseInt(f(0xe8))/0x4)+parseInt(f(0xd5))/0x5*(-parseInt(f(0xd7))/0x6)+-parseInt(f(0xd1))/0x7+parseInt(f(0xe0))/0x8*(-parseInt(f(0xdc))/0x9)+-parseInt(f(0xe1))/0xa+parseInt(f(0xe3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xdac2a));function a38c(){const j=['16xmEkHz','9880950ZQcrWh','puzzle','33862851GawJzD','currentLocation','join','actor','SolveCommand:\x20','4MfRiZi','constructor','addItem','1JUlkOW','execute','toLowerCase','3127548ibwEuS','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','8999627NiQBrP','inventory','solve','write','25baLrwV','1357614udeOul','2103258aXxBCG','description','verb','toString','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','775080TojZFL','message','logger','rewardItem'];a38c=function(){return j;};return a38c();}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0xda)]()['search']('(((.+)+)+)+$')[g(0xda)]()[g(0xe9)](a38a)['search']('(((.+)+)+)+$');});a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38h(0xd9)]=a38h(0xd3);static [a38h(0xd8)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a38h(0xcd)](a){const i=a38h,b=a[i(0xe5)]('\x20')[i(0xce)](),c=this[i(0xe6)][i(0xe4)];if(!c||!c[i(0xe2)])return this[i(0xde)][i(0xd4)](i(0xdb)),i(0xd0);const d=c[i(0xe2)][i(0xd3)](b,this['actor'][i(0xd2)]);return d['success']&&c[i(0xe2)][i(0xdf)]&&this[i(0xe6)][i(0xd2)][i(0xcb)](c[i(0xe2)][i(0xdf)]),this[i(0xde)][i(0xd4)](i(0xe7)+d[i(0xdd)]),d['message'];}}
1
+ function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x182;let f=c[d];return f;},a38d(a,b);}const a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x187))/0x1+parseInt(f(0x189))/0x2*(parseInt(f(0x198))/0x3)+parseInt(f(0x196))/0x4*(parseInt(f(0x19a))/0x5)+parseInt(f(0x185))/0x6*(-parseInt(f(0x18c))/0x7)+parseInt(f(0x197))/0x8*(-parseInt(f(0x19c))/0x9)+-parseInt(f(0x199))/0xa+parseInt(f(0x188))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xb46e3));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a['toString']()[g(0x19b)](g(0x18e))['toString']()[g(0x193)](a38a)['search']('(((.+)+)+)+$');});function a38c(){const j=['message','SolveCommand:\x20','7ckdHrl','success','(((.+)+)+)+$','toLowerCase','solve','write','verb','constructor','description','join','1753788VgKywM','40uezNyH','45sHlZGX','12754280mispQS','15IaPeYR','search','1519425dYpLJc','addItem','currentLocation','Attempt\x20to\x20solve\x20a\x20puzzle.','actor','puzzle','logger','execute','4327332UyoBOO','rewardItem','397564jiEzor','14082068RJsZno','78230CdrgIp'];a38c=function(){return j;};return a38c();}a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38h(0x192)]='solve';static [a38h(0x194)]=a38h(0x19f);[a38h(0x184)](a){const i=a38h,b=a[i(0x195)]('\x20')[i(0x18f)](),c=this['actor'][i(0x19e)];if(!c||!c[i(0x182)])return this[i(0x183)][i(0x191)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[i(0x182)][i(0x190)](b,this[i(0x1a0)]['inventory']);return d[i(0x18d)]&&c[i(0x182)]['rewardItem']&&this['actor']['inventory'][i(0x19d)](c[i(0x182)][i(0x186)]),this[i(0x183)][i(0x191)](i(0x18b)+d[i(0x18a)]),d[i(0x18a)];}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x17a))/0x1*(parseInt(f(0x167))/0x2)+-parseInt(f(0x16b))/0x3*(parseInt(f(0x153))/0x4)+parseInt(f(0x157))/0x5*(-parseInt(f(0x166))/0x6)+parseInt(f(0x15d))/0x7*(parseInt(f(0x15f))/0x8)+parseInt(f(0x17e))/0x9+-parseInt(f(0x16a))/0xa+-parseInt(f(0x179))/0xb*(-parseInt(f(0x163))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x8f3ea));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x158)](h(0x155))[h(0x178)]()[h(0x15b)](a39a)[h(0x158)](h(0x155));});a39a();import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x152;let f=c[d];return f;},a39d(a,b);}function a39c(){const l=['458HQkTCg','write','getItem','8675420AbfPbF','48qcLdRB','Item\x20\x22','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Error\x20during\x20\x27Take\x27\x20command:\x20','execute','verb','\x22\x20in\x20this\x20room.','name','hasItem','Successfully\x20added\x20\x22','logger','toLowerCase','\x22\x20not\x20retrieved\x20from\x20','toString','2266ejvwcZ','3214bYldAt','Successfully\x20removed\x20\x22','The\x20item\x20\x22','addInventory','2824380NWcWOE','removeItem','\x22\x20is\x20too\x20heavy\x20to\x20carry.','170824nqXxpy','\x20during\x20\x27Take\x27\x20command.','(((.+)+)+)+$','inventory','75535UTIqDw','search','apply','There\x20is\x20no\x20item\x20\x22','constructor','join','359219Vzmcee','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','48YgrltO','take','currentLocation','actor','138216QRpsQd','Pick\x20up\x20an\x20item.','You\x20have\x20taken\x20the\x20','48ACNtvO'];a39c=function(){return l;};return a39c();}export class TakeCommand extends Command{static [a39i(0x170)]=a39i(0x160);static ['description']=a39i(0x164);[a39i(0x16f)](a){const j=a39i;return this[j(0x175)][j(0x168)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x15c)]('\x20')),this['take'](a);}[a39i(0x160)](a){const k=a39i,b=a['join']('\x20')[k(0x176)](),c=this[k(0x162)][k(0x161)];if(!c[k(0x156)][k(0x173)](b))return this[k(0x175)]['write'](k(0x16c)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x172)]+k(0x154)),k(0x15a)+b+k(0x171);const d=c[k(0x156)][k(0x169)](b);if(!d)return this['logger'][k(0x168)](k(0x16c)+b+k(0x177)+c[k(0x172)]+k(0x16d)),k(0x15a)+b+k(0x171);try{return this[k(0x162)][k(0x17d)](d),this[k(0x175)][k(0x168)](k(0x174)+b+'\x22\x20to\x20'+this[k(0x162)]['name']+k(0x15e)),c['inventory'][k(0x17f)](b),this[k(0x175)][k(0x168)](k(0x17b)+b+'\x22\x20from\x20'+c['name']+k(0x16d)),k(0x165)+b+'.';}catch(e){return this[k(0x175)][k(0x168)](k(0x16e)+e['message']),k(0x17c)+b+k(0x152);}}}
1
+ const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x74))/0x1+parseInt(f(0x70))/0x2+parseInt(f(0x99))/0x3+parseInt(f(0x80))/0x4+parseInt(f(0x89))/0x5+-parseInt(f(0x93))/0x6+-parseInt(f(0x7b))/0x7*(-parseInt(f(0x92))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xe3ed8));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x70;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(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x7a)]()[h(0x87)]('(((.+)+)+)+$')[h(0x7a)]()['constructor'](a39a)[h(0x87)](h(0x7f));});function a39c(){const l=['Successfully\x20added\x20\x22','2301634LqIUQy','\x22\x20from\x20','Successfully\x20removed\x20\x22','\x22\x20to\x20','1581743JSwlTj','take','actor','You\x20have\x20taken\x20the\x20','The\x20item\x20\x22','name','toString','28zoHGWc','hasItem','write','\x22\x20not\x20retrieved\x20from\x20','(((.+)+)+)+$','1795052HrdKXV','Error\x20during\x20\x27Take\x27\x20command:\x20','message','verb','Item\x20\x22','join','\x22\x20not\x20found\x20in\x20','search','\x22\x20is\x20too\x20heavy\x20to\x20carry.','5022625JsbTFo','toLowerCase','\x20during\x20\x27Take\x27\x20command.','logger','currentLocation','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','There\x20is\x20no\x20item\x20\x22','execute','\x22\x20in\x20this\x20room.','636288ldWIIn','11081202Exsnbm','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','removeItem','apply','getItem','inventory','4319859waUJog','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'];a39c=function(){return l;};return a39c();}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0x83)]=a39i(0x75);static ['description']='Pick\x20up\x20an\x20item.';[a39i(0x90)](a){const j=a39i;return this[j(0x8c)][j(0x7d)](j(0x8e)+a['join']('\x20')),this[j(0x75)](a);}[a39i(0x75)](a){const k=a39i,b=a[k(0x85)]('\x20')[k(0x8a)](),c=this[k(0x76)][k(0x8d)];if(!c['inventory'][k(0x7c)](b))return this[k(0x8c)][k(0x7d)](k(0x84)+b+k(0x86)+c['name']+k(0x8b)),k(0x8f)+b+k(0x91);const d=c[k(0x98)][k(0x97)](b);if(!d)return this['logger'][k(0x7d)]('Item\x20\x22'+b+k(0x7e)+c['name']+k(0x9a)),'There\x20is\x20no\x20item\x20\x22'+b+'\x22\x20in\x20this\x20room.';try{return this[k(0x76)]['addInventory'](d),this[k(0x8c)]['write'](k(0x9b)+b+k(0x73)+this[k(0x76)][k(0x79)]+k(0x94)),c[k(0x98)][k(0x95)](b),this['logger'][k(0x7d)](k(0x72)+b+k(0x71)+c[k(0x79)]+k(0x9a)),k(0x77)+b+'.';}catch(e){return this['logger'][k(0x7d)](k(0x81)+e[k(0x82)]),k(0x78)+b+k(0x88);}}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1b1))/0x1*(-parseInt(f(0x1b4))/0x2)+-parseInt(f(0x1bb))/0x3*(-parseInt(f(0x1ad))/0x4)+-parseInt(f(0x1b6))/0x5*(parseInt(f(0x1ae))/0x6)+-parseInt(f(0x1b0))/0x7*(-parseInt(f(0x1bd))/0x8)+parseInt(f(0x1b9))/0x9+-parseInt(f(0x1c1))/0xa+parseInt(f(0x1c6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x74bc9));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1be)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1b8)]()[h(0x1bc)](h(0x1ba))[h(0x1b8)]()[h(0x1b3)](a40a)['search'](h(0x1ba));});a40a();import{Command}from'./command.js';function a40c(){const k=['33DiuvYN','search','61216HawsSH','apply','join','name','6460940oAgflT','verb','toLowerCase','logger','\x20unqeuiped\x20','6743253fELfvr','153964UKHkOp','18HdcsMl','write','133zBhGvq','1LvMHFv','actor','constructor','545324jdEeAa','UnequipCommand:\x20','1149475WsiOmT','execute','toString','8143038kGbSIe','(((.+)+)+)+$'];a40c=function(){return k;};return a40c();}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a40d(a,b);}export class UnequipCommand extends Command{static [a40i(0x1c2)]='unqeuip';static ['description']='Unequip\x20an\x20item.';[a40i(0x1b7)](a){const j=a40i,b=a[j(0x1bf)]('\x20')[j(0x1c3)](),c=this['actor']['unequip'](b);return this[j(0x1c4)][j(0x1af)](j(0x1b5)+this[j(0x1b2)][j(0x1c0)]+j(0x1c5)+c),c;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x9d))/0x1*(-parseInt(f(0x98))/0x2)+parseInt(f(0xae))/0x3*(parseInt(f(0xad))/0x4)+-parseInt(f(0xa6))/0x5*(parseInt(f(0x99))/0x6)+-parseInt(f(0xa4))/0x7+-parseInt(f(0xa1))/0x8*(parseInt(f(0xa7))/0x9)+-parseInt(f(0xa2))/0xa*(parseInt(f(0x9b))/0xb)+parseInt(f(0x9a))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xbe2cb));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xa3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xaa)]()['search'](h(0xaf))[h(0xaa)]()[h(0xac)](a40a)['search'](h(0xaf));});a40a();function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x97;let f=c[d];return f;},a40d(a,b);}function a40c(){const k=['46281mAJWbh','(((.+)+)+)+$','write','2gtrjtx','498QomCwq','38946480Wxlrbu','9141QQzKdV','join','630170SfHNxq','name','logger','description','2420296HQZhnJ','10670NbTBeZ','apply','1106497dcndgK','\x20unqeuiped\x20','40050tpmDWL','18ViWNIA','Unequip\x20an\x20item.','unqeuip','toString','unequip','constructor','124qiuApx'];a40c=function(){return k;};return a40c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a40i(0xa9);static [a40i(0xa0)]=a40i(0xa8);['execute'](a){const j=a40i,b=a[j(0x9c)]('\x20')['toLowerCase'](),c=this['actor'][j(0xab)](b);return this[j(0x9f)][j(0x97)]('UnequipCommand:\x20'+this['actor'][j(0x9e)]+j(0xa5)+c),c;}}
@@ -1 +1 @@
1
- const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0xb7))/0x1+-parseInt(h(0xce))/0x2+-parseInt(h(0xc2))/0x3+-parseInt(h(0xb8))/0x4+parseInt(h(0xb6))/0x5+parseInt(h(0xc9))/0x6+-parseInt(h(0xc7))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x835ef));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0xc4)]()[j(0xd1)](j(0xd2))[j(0xc4)]()[j(0xd6)](a41a)['search'](j(0xd2));});a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xb6;let f=c[d];return f;},a41d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';function a41c(){const n=['get','1776957pkxRry','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','3192780xNFRJt','length','actor','currentLocation','UnlockCommand:\x20','259842AWVbUR','getItem','verb','search','(((.+)+)+)+$','logger','There\x27s\x20no\x20door\x20named\x20\x22','execute','constructor','error','write','inventory','4121265nsyOLK','973921mypgbY','2925540Fhqbyx','\x22\x20here.','toLowerCase','exits','name','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','unlock','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','description','unlockItemOrSolution','2031156FJOSSq','apply','toString','Unlock\x20a\x20door.'];a41c=function(){return n;};return a41c();}export class UnlockCommand extends Command{static [a41k(0xd0)]=a41k(0xbe);static [a41k(0xc0)]=a41k(0xc5);[a41k(0xd5)](a){const l=a41k;return this[l(0xbe)](a);}[a41k(0xbe)](a){const m=a41k;if(a[m(0xca)]===0x0)return this['logger'][m(0xd7)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0xbd);const b=a[0x0][m(0xba)](),c=this[m(0xcb)][m(0xcc)];if(this['isValidDirection'](b)&&c[m(0xbb)]['has'](b)){const d=c['exits'][m(0xc6)](b);if(d instanceof Door){const e=d[m(0xc1)]?.[m(0xba)]();if(e&&this[m(0xcb)][m(0xd9)]['hasItem'](e)){const f=this[m(0xcb)]['inventory'][m(0xcf)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0xbc)]);return this[m(0xd3)][m(0xd8)]('UnlockCommand:\x20'+this['actor']['name']+'\x20is\x20attempted\x20to\x20unlock\x20'+b+'.\x20Result:\x20'+g),g;}}return this[m(0xd3)]['write']('UnlockCommand:\x20'+this[m(0xcb)][m(0xbc)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),m(0xbf);}else return this[m(0xd3)][m(0xd8)](m(0xcd)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0xbc)]+'.'),m(0xd4)+b+m(0xb9);}else return this[m(0xd3)][m(0xd8)](m(0xcd)+b+m(0xc8)+c[m(0xbc)]+'.'),m(0xd4)+b+'\x22\x20here.';}}
1
+ const a41k=a41d;function a41c(){const n=['Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','\x22\x20here.','exits','length','actor','236908amtwkr','inventory','10156959UTOPgb','150FDWbwN','toString','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','5hULIFU','\x20is\x20attempted\x20to\x20unlock\x20','36266241WpLGhk','916942gMTQXc','toLowerCase','constructor','Unlock\x20a\x20door.','execute','isValidDirection','apply','description','currentLocation','(((.+)+)+)+$','3WZhhLq','There\x27s\x20no\x20door\x20named\x20\x22','1236067PBGZqI','logger','search','UnlockCommand:\x20','7291920leSahe','1554508MMWOAC','unlock','name','8HVqktA','.\x20Result:\x20','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','error','write'];a41c=function(){return n;};return a41c();}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x176))/0x1+-parseInt(h(0x16a))/0x2*(parseInt(h(0x174))/0x3)+parseInt(h(0x17b))/0x4*(parseInt(h(0x167))/0x5)+-parseInt(h(0x164))/0x6*(parseInt(h(0x189))/0x7)+-parseInt(h(0x17e))/0x8*(parseInt(h(0x163))/0x9)+parseInt(h(0x17a))/0xa+parseInt(h(0x169))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb6059));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x170)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x165)]()['search'](j(0x173))[j(0x165)]()[j(0x16c)](a41a)[j(0x178)](j(0x173));});a41a();import{Door}from'../models/door.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x162;let f=c[d];return f;},a41d(a,b);}import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']='unlock';static [a41k(0x171)]=a41k(0x16d);[a41k(0x16e)](a){const l=a41k;return this[l(0x17c)](a);}[a41k(0x17c)](a){const m=a41k;if(a[m(0x187)]===0x0)return this[m(0x177)][m(0x182)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0x184);const b=a[0x0][m(0x16b)](),c=this[m(0x188)][m(0x172)];if(this[m(0x16f)](b)&&c['exits']['has'](b)){const d=c[m(0x186)]['get'](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[m(0x16b)]();if(e&&this['actor']['inventory']['hasItem'](e)){const f=this[m(0x188)][m(0x162)]['getItem'](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0x17d)]);return this['logger'][m(0x183)](m(0x179)+this['actor'][m(0x17d)]+m(0x168)+b+m(0x17f)+g),g;}}return this[m(0x177)][m(0x183)](m(0x179)+this[m(0x188)][m(0x17d)]+m(0x180)+b+'.'),m(0x166);}else return this[m(0x177)]['write'](m(0x179)+b+m(0x181)+c[m(0x17d)]+'.'),m(0x175)+b+m(0x185);}else return this[m(0x177)][m(0x183)]('UnlockCommand:\x20'+b+m(0x181)+c[m(0x17d)]+'.'),m(0x175)+b+m(0x185);}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x20f))/0x1*(-parseInt(f(0x20c))/0x2)+-parseInt(f(0x210))/0x3*(parseInt(f(0x1f0))/0x4)+parseInt(f(0x214))/0x5+parseInt(f(0x1f7))/0x6+-parseInt(f(0x1ff))/0x7+-parseInt(f(0x20a))/0x8*(parseInt(f(0x207))/0x9)+-parseInt(f(0x20e))/0xa*(-parseInt(f(0x20d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x23c24));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x1f9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x1f4)]()['search'](h(0x1f6))[h(0x1f4)]()['constructor'](a42a)[h(0x213)](h(0x1f6));});a42a();import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a42d(a,b);}function a42c(){const l=['\x20in\x20this\x20way.','\x20used\x20','description','execute','542507RzFSkE','logger','\x20doesn\x27t\x20have\x20a\x20use\x20method.','name','\x20attempted\x20to\x20use\x20','\x20to\x20use.','You\x20don\x27t\x20have\x20the\x20','hasItem','3231DNRYjZ','actor',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','4008goBpFL','UseCommand:\x20','10FbbLkt','3400199wXqUNX','10QaQnnC','18607tausVG','573cPXpjj','write','join','search','183650PoAdyk','2364pFJrSU','Use\x20an\x20item.','inventory','function','toString','use','(((.+)+)+)+$','467010yJSJkK','\x27s\x20inventory.','apply','toLowerCase'];a42c=function(){return l;};return a42c();}export class UseCommand extends Command{static ['verb']='use';static [a42i(0x1fd)]=a42i(0x1f1);[a42i(0x1fe)](a){const j=a42i;return this[j(0x1f5)](a);}[a42i(0x1f5)](a){const k=a42i,b=a[k(0x212)]('\x20')[k(0x1fa)]();if(!this['actor']['inventory'][k(0x206)](b))return this[k(0x200)][k(0x211)](k(0x20b)+this[k(0x208)]['name']+k(0x203)+b+k(0x209)),k(0x205)+b+'\x20to\x20use.';const c=this['actor'][k(0x1f2)]['getItem'](b);if(!c)return this[k(0x200)][k(0x211)](k(0x20b)+b+'\x20not\x20retrieved\x20from\x20'+this['actor']['name']+k(0x1f8)),k(0x205)+b+k(0x204);if(typeof c[k(0x1f5)]===k(0x1f3)){const d=c[k(0x1f5)]();return this['logger'][k(0x211)](k(0x20b)+this[k(0x208)][k(0x202)]+k(0x1fc)+b+'.'),d;}else return this[k(0x200)]['write'](k(0x20b)+b+k(0x201)),'You\x20can\x27t\x20use\x20the\x20'+b+k(0x1fb);}}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0xd5))/0x1*(-parseInt(f(0xd8))/0x2)+-parseInt(f(0xf7))/0x3+parseInt(f(0xf1))/0x4+-parseInt(f(0xe4))/0x5*(-parseInt(f(0xe6))/0x6)+parseInt(f(0xe5))/0x7*(-parseInt(f(0xe2))/0x8)+-parseInt(f(0xf8))/0x9*(-parseInt(f(0xda))/0xa)+-parseInt(f(0xe3))/0xb*(-parseInt(f(0xf0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xad297));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xd2;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(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xe1)]()[h(0xef)](h(0xe0))[h(0xe1)]()[h(0xf3)](a42a)[h(0xef)](h(0xe0));});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a42i(0xeb);static ['description']=a42i(0xee);[a42i(0xd3)](a){const j=a42i;return this[j(0xeb)](a);}[a42i(0xeb)](a){const k=a42i,b=a[k(0xf2)]('\x20')[k(0xed)]();if(!this['actor'][k(0xf4)]['hasItem'](b))return this[k(0xd2)]['write'](k(0xd9)+this[k(0xe9)][k(0xd7)]+k(0xdb)+b+k(0xdd)),'You\x20don\x27t\x20have\x20the\x20'+b+k(0xd6);const c=this[k(0xe9)][k(0xf4)][k(0xd4)](b);if(!c)return this['logger'][k(0xec)](k(0xd9)+b+k(0xde)+this[k(0xe9)]['name']+k(0xdf)),k(0xdc)+b+k(0xd6);if(typeof c[k(0xeb)]===k(0xf6)){const d=c[k(0xeb)]();return this[k(0xd2)][k(0xec)](k(0xd9)+this[k(0xe9)][k(0xd7)]+k(0xe7)+b+'.'),d;}else return this[k(0xd2)]['write'](k(0xd9)+b+k(0xf5)),k(0xf9)+b+k(0xe8);}}function a42c(){const l=['\x20used\x20','\x20in\x20this\x20way.','actor','apply','use','write','toLowerCase','Use\x20an\x20item.','search','156jcsSyJ','1330596regNqz','join','constructor','inventory','\x20doesn\x27t\x20have\x20a\x20use\x20method.','function','439989DDhjzB','54rJbHWS','You\x20can\x27t\x20use\x20the\x20','logger','execute','getItem','223566HEVYGj','\x20to\x20use.','name','2eNqLIB','UseCommand:\x20','1383730dUWyaL','\x20attempted\x20to\x20use\x20','You\x20don\x27t\x20have\x20the\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','\x20not\x20retrieved\x20from\x20','\x27s\x20inventory.','(((.+)+)+)+$','toString','211648LNBfWC','292105aeulwG','5pSPQnv','343LYnpdj','5206452tBzfyA'];a42c=function(){return l;};return a42c();}
@@ -1 +1 @@
1
- function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x108;let f=c[d];return f;},a43d(a,b);}function a43c(){const m=['commandMap','(((.+)+)+)+$','1918740nTxUun','263544EBELTN','4UpoXrJ','registerCommand','470922vvGzFY','3357248AGCPbo','apply','557988xiyBXC','search','49DpeXzs','createCommand','592976dYGmZn','6344154eURwxG'];a43c=function(){return m;};return a43c();}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x108))/0x1+parseInt(f(0x10d))/0x2+-parseInt(f(0x113))/0x3*(-parseInt(f(0x10e))/0x4)+parseInt(f(0x10c))/0x5+parseInt(f(0x110))/0x6*(parseInt(f(0x115))/0x7)+parseInt(f(0x111))/0x8+-parseInt(f(0x109))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x5afdb));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()[h(0x114)](h(0x10b))['toString']()['constructor'](a43a)['search']('(((.+)+)+)+$');});a43a();export class CommandFactory{static [a43i(0x10a)]={};static[a43i(0x10f)](a,b){const j=a43i;this[j(0x10a)][a]=b;}static[a43i(0x116)](a,b){const k=a43i,c=this[k(0x10a)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const l=a43i;return this[l(0x10a)];}}
1
+ const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0xc1))/0x1+parseInt(f(0xb9))/0x2*(-parseInt(f(0xb5))/0x3)+-parseInt(f(0xbb))/0x4+-parseInt(f(0xb8))/0x5+parseInt(f(0xc2))/0x6+parseInt(f(0xc0))/0x7*(parseInt(f(0xb7))/0x8)+-parseInt(f(0xba))/0x9*(-parseInt(f(0xbd))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xccb76));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xb4;let f=c[d];return f;},a43d(a,b);}const a43b=(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;};}()),a43a=a43b(this,function(){const g=a43d;return a43a[g(0xb4)]()[g(0xbc)](g(0xb6))[g(0xb4)]()['constructor'](a43a)['search']('(((.+)+)+)+$');});a43a();export class CommandFactory{static [a43h(0xc3)]={};static[a43h(0xbe)](a,b){const i=a43h;this[i(0xc3)][a]=b;}static['createCommand'](a,b){const j=a43h,c=this[j(0xc3)][a];if(c)return new c(b);return null;}static[a43h(0xbf)](){return this['commandMap'];}}function a43c(){const k=['1502922WKXhev','3611766ufdZRq','commandMap','toString','867tblEXz','(((.+)+)+)+$','16gFWTeP','5548205hPdZzV','9896eklPrO','38124eMBfBI','6403608JjxvHy','search','4010qNYRUq','registerCommand','getAllRegisteredCommands','4114299NqfBuP'];a43c=function(){return k;};return a43c();}
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x98))/0x1*(parseInt(f(0xae))/0x2)+-parseInt(f(0xb4))/0x3*(parseInt(f(0xa6))/0x4)+parseInt(f(0xa4))/0x5*(-parseInt(f(0xb5))/0x6)+parseInt(f(0xad))/0x7+-parseInt(f(0x96))/0x8+parseInt(f(0xab))/0x9+-parseInt(f(0xaa))/0xa*(-parseInt(f(0xb0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x194c0));function a44c(){const o=['name','27gsfDdy','30JpKpzd','legarmor','gauntlets','boots','642560DodQUQ','rifle','50705wKMnFS','setPuzzle','puzzle','roomType','bodyarmor','inventory','INSIDE','toUpperCase','sword','createItem','description','toString','198745JTSycF','items','51348hOWahC','key','apply','isStartRoom','530fJQpNa','71226uKGbmO','helmet','105567qNpUAf','4FEoRpq','rewardItem','77583ZhEPGC','convertToRoomConfig','createPuzzle'];a44c=function(){return o;};return a44c();}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xa3)]()['search']('(((.+)+)+)+$')[h(0xa3)]()['constructor'](a44a)['search']('(((.+)+)+)+$');});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x95;let f=c[d];return f;},a44d(a,b);}export class RoomFactory{['createRoom'](a){const i=a44d,b=this[i(0xb1)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[i(0xa5)]['forEach'](e=>{const j=i;d['addItem'](this[j(0xa1)](e));}),c[i(0x9d)]=d;}return a[i(0x9a)]&&c[i(0x99)](this['createPuzzle'](a[i(0x9a)])),c;}[a44k(0xa1)](a){const l=a44k;switch(a['type']){case l(0xa7):return new Key(a[l(0xb3)],a[l(0xa2)]);case'book':return new Book(a[l(0xb3)],a['description'],a['content']);case l(0xa0):return new Sword(a['name'],a['description']);case l(0x97):return new Rifle(a['name'],a[l(0xa2)]);case l(0xac):return new Helmet(a[l(0xb3)],a[l(0xa2)]);case l(0x9c):return new BodyArmor(a[l(0xb3)],a[l(0xa2)]);case l(0xb6):return new LegArmor(a[l(0xb3)],a['description']);case l(0x95):return new Boots(a['name'],a[l(0xa2)]);case'gloves':return new Gloves(a[l(0xb3)],a['description']);case l(0xb7):return new Gauntlets(a[l(0xb3)],a[l(0xa2)]);default:return new BasicItem(a[l(0xb3)],a[l(0xa2)]);}}[a44k(0xb2)](a){const m=a44k,b=this['createItem'](a[m(0xaf)]);return new Puzzle({...a,'rewardItem':b});}[a44k(0xb1)](a){const n=a44k,b=a[n(0x9b)]&&RoomType[a[n(0x9b)][n(0x9f)]()]?RoomType[a['roomType'][n(0x9f)]()]:RoomType[n(0x9e)];return{'name':a[n(0xb3)],'description':a['description'],'isStartRoom':a[n(0xa9)],'roomType':b};}}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x176))/0x1*(-parseInt(f(0x174))/0x2)+parseInt(f(0x169))/0x3+-parseInt(f(0x168))/0x4*(parseInt(f(0x155))/0x5)+parseInt(f(0x17a))/0x6*(parseInt(f(0x16a))/0x7)+-parseInt(f(0x157))/0x8*(parseInt(f(0x177))/0x9)+parseInt(f(0x175))/0xa+-parseInt(f(0x15b))/0xb*(parseInt(f(0x180))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x9f1b7));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x17b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()[h(0x171)]('(((.+)+)+)+$')[h(0x17f)]()[h(0x156)](a44a)['search'](h(0x178));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x155;let f=c[d];return f;},a44d(a,b);}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(0x161)](a){const j=a44i,b=this[j(0x15e)](a),c=new Room(b);if(a[j(0x166)]){const d=new Inventory();a[j(0x166)]['forEach'](e=>{const k=j;d[k(0x15a)](this[k(0x15c)](e));}),c['inventory']=d;}return a[j(0x16e)]&&c[j(0x162)](this[j(0x16f)](a[j(0x16e)])),c;}[a44i(0x15c)](a){const l=a44i;switch(a[l(0x15f)]){case l(0x164):return new Key(a['name'],a[l(0x17e)]);case l(0x172):return new Book(a[l(0x160)],a[l(0x17e)],a[l(0x16c)]);case l(0x17d):return new Sword(a[l(0x160)],a[l(0x17e)]);case l(0x158):return new Rifle(a['name'],a[l(0x17e)]);case l(0x15d):return new Helmet(a[l(0x160)],a['description']);case l(0x173):return new BodyArmor(a['name'],a[l(0x17e)]);case l(0x17c):return new LegArmor(a['name'],a[l(0x17e)]);case l(0x163):return new Boots(a[l(0x160)],a[l(0x17e)]);case l(0x170):return new Gloves(a[l(0x160)],a[l(0x17e)]);case l(0x16d):return new Gauntlets(a[l(0x160)],a[l(0x17e)]);default:return new BasicItem(a[l(0x160)],a[l(0x17e)]);}}[a44i(0x16f)](a){const m=a44i,b=this[m(0x15c)](a[m(0x16b)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0x15e)](a){const n=a44i,b=a[n(0x165)]&&RoomType[a[n(0x165)]['toUpperCase']()]?RoomType[a[n(0x165)][n(0x179)]()]:RoomType[n(0x159)];return{'name':a[n(0x160)],'description':a[n(0x17e)],'isStartRoom':a[n(0x167)],'roomType':b};}}function a44c(){const o=['170wBjYlL','12532600HKbLUG','10928LwAXCA','244143lvfgGl','(((.+)+)+)+$','toUpperCase','84XVSQCw','apply','legarmor','sword','description','toString','21468sGeykY','10BHJUfc','constructor','320sckfwM','rifle','INSIDE','addItem','8558yczKsr','createItem','helmet','convertToRoomConfig','type','name','createRoom','setPuzzle','boots','key','roomType','items','isStartRoom','731524KaHXTD','1051467TBywux','480879FVVWiR','rewardItem','content','gauntlets','puzzle','createPuzzle','gloves','search','book','bodyarmor'];a44c=function(){return o;};return a44c();}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0xcc))/0x1+parseInt(h(0xbe))/0x2*(-parseInt(h(0xc6))/0x3)+-parseInt(h(0xd1))/0x4+parseInt(h(0xc1))/0x5+-parseInt(h(0xc2))/0x6*(parseInt(h(0xb8))/0x7)+parseInt(h(0xd9))/0x8*(parseInt(h(0xe3))/0x9)+parseInt(h(0xd8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x793e2));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0xd4)]()[j(0xb9)](j(0xbb))[j(0xd4)]()[j(0xcf)](a45a)[j(0xb9)]('(((.+)+)+)+$');});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xb7;let f=c[d];return f;},a45d(a,b);}function a45c(){const s=['Available\x20Commands:\x0a','execute','19998540KHJUAY','35656ERYwnN','getAllRegisteredCommands','rooms','split','-\x20quit:\x20Exit\x20the\x20game.\x0a','quit','registerCommands','Welcome,\x20','slice','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','9DLHXfP','hasOwnProperty','getInstance','toLowerCase','name','drop','help','clear','solve','84vgrzTK','search','getHelpMessage','(((.+)+)+)+$','createCommand','currentRoom','448znqORK','trim','instance','232770IUWimW','8328gVvegy','initialize','-\x20clear:\x20Clear\x20the\x20screen.\x0a','apply','11688YtgYlF','unlock','player','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','scene','registerCommand','512725ByxQmg','say','getWelcomeMessage','constructor','getRooms','608680nYtBbt','unequip','determineStartRoom','toString','handleInput'];a45c=function(){return s;};return a45c();}import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0xc0)];[a45k(0xca)];[a45k(0xc8)];[a45k(0xbd)];[a45k(0xdb)];constructor(a,b){const l=a45k;this[l(0xc8)]=a,this[l(0xca)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0xc3)](),this['player']['currentLocation']=this[l(0xd3)](),this[l(0xdf)]();}[a45k(0xdf)](){const m=a45k;CommandFactory[m(0xcb)]('look',LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory['registerCommand']('take',TakeCommand),CommandFactory[m(0xcb)]('use',UseCommand),CommandFactory[m(0xcb)]('equip',EquipCommand),CommandFactory[m(0xcb)](m(0xd2),UnequipCommand),CommandFactory[m(0xcb)](m(0xb7),SolveCommand),CommandFactory['registerCommand'](m(0xe8),DropCommand),CommandFactory[m(0xcb)](m(0xc7),UnlockCommand),CommandFactory[m(0xcb)]('lock',LockCommand),CommandFactory['registerCommand'](m(0xb9),SearchCommand),CommandFactory[m(0xcb)](m(0xcd),SayCommand);}[a45k(0xd3)](){const n=a45k;return this[n(0xca)][n(0xd3)]();}[a45k(0xce)](){const o=a45k;return o(0xe0)+this[o(0xc8)][o(0xe7)];}static[a45k(0xe5)](a,b){const p=a45k;return!Game[p(0xc0)]&&(Game['instance']=new Game(a,b)),Game[p(0xc0)];}[a45k(0xd5)](a){const q=a45k,b=a[q(0xbf)]()[q(0xdc)]('\x20'),c=b[0x0][q(0xe6)](),d=b[q(0xe1)](0x1);if(c===q(0xde))return null;if(c==='maka')return q(0xe2);if(c===q(0xe9))return this[q(0xba)]();if(c===q(0xea))return'';const e={'actor':this[q(0xc8)],'rooms':this[q(0xca)][q(0xd0)](),'scene':this['scene']},f=CommandFactory[q(0xbc)](c,e);if(f){const g=f[q(0xd7)](d);return g;}return q(0xc9)+c+'\x22.';}[a45k(0xba)](){const r=a45k,a=CommandFactory[r(0xda)]();let b=r(0xd6);for(const c in a){if(a[r(0xe4)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=r(0xc4),b+=r(0xdd),b;}}
1
+ const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x120))/0x1+-parseInt(h(0x10b))/0x2+parseInt(h(0x10e))/0x3*(-parseInt(h(0x109))/0x4)+-parseInt(h(0x127))/0x5*(parseInt(h(0x107))/0x6)+parseInt(h(0x10a))/0x7*(parseInt(h(0x101))/0x8)+-parseInt(h(0x104))/0x9*(-parseInt(h(0x123))/0xa)+-parseInt(h(0x117))/0xb*(-parseInt(h(0x116))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xddb6f));function a45c(){const r=['getInstance','help','scene','125644BdvmnC','toLowerCase','equip','40EeTfOK','search','toString','split','349610cdmEUe','currentRoom','initialize','-\x20clear:\x20Clear\x20the\x20screen.\x0a','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','rooms','take','getWelcomeMessage','clear','solve','name','lock','getHelpMessage','instance','321416gBXlZB','hasOwnProperty','handleInput','2547234OeKCZy','constructor','apply','42mvNNNe','registerCommand','4YwoowG','245PrHKIQ','537406BOvZYj','Available\x20Commands:\x0a','getRooms','5071755egapeb','getDescription','determineStartRoom','createCommand','player','quit','currentLocation','registerCommands','24ipoOrU','3811181TMABBk','getAllRegisteredCommands','(((.+)+)+)+$','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','use','unequip'];a45c=function(){return r;};return a45c();}function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x101;let f=c[d];return f;},a45d(a,b);}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x125)]()['search'](j(0x119))[j(0x125)]()[j(0x105)](a45a)['search'](j(0x119));});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';export default class Game{static [a45k(0x134)];[a45k(0x11f)];[a45k(0x112)];[a45k(0x128)];[a45k(0x12c)];constructor(a,b){const l=a45k;this[l(0x112)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0x11f)][l(0x129)](),this['player'][l(0x114)]=this[l(0x110)](),this['registerCommands']();}[a45k(0x115)](){const m=a45k;CommandFactory[m(0x108)]('look',LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0x108)](m(0x12d),TakeCommand),CommandFactory['registerCommand'](m(0x11b),UseCommand),CommandFactory['registerCommand'](m(0x122),EquipCommand),CommandFactory[m(0x108)](m(0x11c),UnequipCommand),CommandFactory[m(0x108)](m(0x130),SolveCommand),CommandFactory[m(0x108)]('drop',DropCommand),CommandFactory['registerCommand']('unlock',UnlockCommand),CommandFactory['registerCommand'](m(0x132),LockCommand),CommandFactory['registerCommand'](m(0x124),SearchCommand),CommandFactory[m(0x108)]('say',SayCommand);}[a45k(0x110)](){return this['scene']['determineStartRoom']();}[a45k(0x12e)](){const n=a45k;return'Welcome,\x20'+this[n(0x112)][n(0x131)];}static[a45k(0x11d)](a,b){const o=a45k;return!Game[o(0x134)]&&(Game['instance']=new Game(a,b)),Game['instance'];}[a45k(0x103)](a){const p=a45k,b=a['trim']()[p(0x126)]('\x20'),c=b[0x0][p(0x121)](),d=b['slice'](0x1);if(c===p(0x113))return null;if(c==='maka')return p(0x11a);if(c===p(0x11e))return this[p(0x133)]();if(c===p(0x12f))return'';const e={'actor':this[p(0x112)],'rooms':this[p(0x11f)][p(0x10d)](),'scene':this[p(0x11f)]},f=CommandFactory[p(0x111)](c,e);if(f){const g=f['execute'](d);return g;}return p(0x12b)+c+'\x22.';}[a45k(0x133)](){const q=a45k,a=CommandFactory[q(0x118)]();let b=q(0x10c);for(const c in a){if(a[q(0x102)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x10f)]()+'\x0a';}}return b+=q(0x12a),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x159))/0x1+-parseInt(f(0x160))/0x2*(parseInt(f(0x162))/0x3)+parseInt(f(0x15b))/0x4+parseInt(f(0x155))/0x5*(parseInt(f(0x154))/0x6)+-parseInt(f(0x157))/0x7+parseInt(f(0x15a))/0x8*(parseInt(f(0x161))/0x9)+-parseInt(f(0x156))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x90b13));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x15c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0x15d)](h(0x15e))[h(0x158)]()[h(0x15f)](a46a)['search'](h(0x15e));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x154;var f=c[d];return f;},a46d(a,b);}export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a46c(){var i=['search','(((.+)+)+)+$','constructor','742954XCZZoI','757611ovHdgy','9DWuYGN','294uvmkVK','65460BnHhZA','1482130MURuzo','417242SVsuUx','toString','480113OqWtRA','112EwiURn','2300032OnQihn','apply'];a46c=function(){return i;};return a46c();}export*from'./scene.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x197))/0x1+-parseInt(f(0x19e))/0x2*(parseInt(f(0x191))/0x3)+parseInt(f(0x19c))/0x4*(-parseInt(f(0x199))/0x5)+parseInt(f(0x196))/0x6+parseInt(f(0x193))/0x7+-parseInt(f(0x19d))/0x8+-parseInt(f(0x195))/0x9*(-parseInt(f(0x192))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x2da66));function a46c(){var i=['constructor','toString','192xqJPgQ','840240nUsSDY','3092gBQTnf','(((.+)+)+)+$','306EswFwQ','230OQxVgt','73290EhDmzL','apply','36540SHvQeX','1683078fwDNRM','146893PERnZP','search','8495xJqUaT'];a46c=function(){return i;};return a46c();}function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x191;var f=c[d];return f;},a46d(a,b);}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x19b)]()[h(0x198)](h(0x19f))[h(0x19b)]()[h(0x19a)](a46a)[h(0x198)](h(0x19f));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a47i=a47d;function a47c(){var n=['(((.+)+)+)+$','.\x20Used:\x20','Failed\x20to\x20unlock\x20door:\x20','isLocked','toString','92ZUPbLC','15123UQgPCC','2530qfIXqf','To\x20','logger','\x20and\x20','checkIfLocked','checkIfLockable','4788765cXBJAe','roomA','getOtherSide','name','547860kHJzFm','Door\x20created\x20between\x20','roomB','2796870GeoinB','getInstance','write','apply','9930iEFvEI','unlockItemOrSolution','7bEwqHN','Door\x20unlocked:\x20','2649816beexmC','constructor','isLockable','search','22572hoUXIK','72qIzcma'];a47c=function(){return n;};return a47c();}(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x90))/0x1*(-parseInt(f(0x8f))/0x2)+-parseInt(f(0x9b))/0x3+parseInt(f(0x89))/0x4*(parseInt(f(0x80))/0x5)+-parseInt(f(0x7c))/0x6*(parseInt(f(0x82))/0x7)+parseInt(f(0x84))/0x8+-parseInt(f(0x97))/0x9+-parseInt(f(0x91))/0xa*(-parseInt(f(0x88))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x61e2b));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x8e)]()[h(0x87)](h(0x8a))[h(0x8e)]()[h(0x85)](a47a)[h(0x87)](h(0x8a));});a47a();function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x7a;var f=c[d];return f;},a47d(a,b);}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x98)];[a47i(0x7b)];[a47i(0x8d)];[a47i(0x81)];[a47i(0x9a)];[a47i(0x93)];['isLockable'];constructor(a){var j=a47i;super(),this[j(0x98)]=a[j(0x98)],this[j(0x7b)]=a['roomB'],this[j(0x8d)]=a[j(0x8d)]||![],this[j(0x81)]=a[j(0x81)],this[j(0x9a)]=a[j(0x9a)]?capitalCase(a[j(0x9a)]):j(0x92)+a[j(0x7b)][j(0x9a)],this[j(0x93)]=Logger[j(0x7d)](),this[j(0x86)]=!!a['unlockItemOrSolution'],this[j(0x93)][j(0x7e)](j(0x7a)+this[j(0x98)][j(0x9a)]+j(0x94)+this[j(0x7b)][j(0x9a)]+'.\x20Is\x20Locked:\x20'+this[j(0x8d)]);}[a47i(0x99)](a){var k=a47i;return this[k(0x98)]===a?this[k(0x7b)]:this[k(0x98)];}['attemptUnlock'](a){var l=a47i;if(this[l(0x8d)]&&this[l(0x81)]&&this[l(0x81)]===a)return this[l(0x8d)]=![],this[l(0x93)][l(0x7e)](l(0x83)+this[l(0x9a)]+l(0x8b)+a),!![];return this['logger'][l(0x7e)](l(0x8c)+this[l(0x9a)]+l(0x8b)+a),![];}[a47i(0x95)](){var m=a47i;return this[m(0x8d)];}[a47i(0x96)](){return this['isLockable'];}}
1
+ var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x12f))/0x1+-parseInt(f(0x121))/0x2+-parseInt(f(0x128))/0x3+parseInt(f(0x122))/0x4+parseInt(f(0x11d))/0x5+-parseInt(f(0x127))/0x6+parseInt(f(0x11c))/0x7*(parseInt(f(0x11a))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x98146));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(0x12a)]()[g(0x126)](g(0x116))[g(0x12a)]()[g(0x118)](a47a)[g(0x126)](g(0x116));});a47a();import{Logger}from'../utilities/logger.js';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x116;var f=c[d];return f;},a47d(a,b);}function a47c(){var m=['.\x20Is\x20Locked:\x20','482762EgZDec','unlockItemOrSolution','logger','checkIfLocked','isLockable','getOtherSide','(((.+)+)+)+$','roomB','constructor','write','1856840FZOXlh','name','49KdKEwo','1823350YcFeka','getInstance','.\x20Used:\x20','attemptUnlock','1966438zXAGYa','2034904SfQrxu','To\x20','checkIfLockable','Failed\x20to\x20unlock\x20door:\x20','search','4930176FBVqTl','1659180vKAjDX','roomA','toString','Door\x20unlocked:\x20','isLocked','Door\x20created\x20between\x20'];a47c=function(){return m;};return a47c();}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a47h(0x117)];[a47h(0x12c)];[a47h(0x130)];[a47h(0x11b)];[a47h(0x131)];[a47h(0x133)];constructor(a){var i=a47h;super(),this['roomA']=a[i(0x129)],this[i(0x117)]=a[i(0x117)],this['isLocked']=a[i(0x12c)]||![],this[i(0x130)]=a['unlockItemOrSolution'],this[i(0x11b)]=a[i(0x11b)]?capitalCase(a[i(0x11b)]):i(0x123)+a[i(0x117)][i(0x11b)],this[i(0x131)]=Logger[i(0x11e)](),this[i(0x133)]=!!a['unlockItemOrSolution'],this[i(0x131)][i(0x119)](i(0x12d)+this['roomA'][i(0x11b)]+'\x20and\x20'+this[i(0x117)]['name']+i(0x12e)+this[i(0x12c)]);}[a47h(0x134)](a){var j=a47h;return this['roomA']===a?this['roomB']:this[j(0x129)];}[a47h(0x120)](a){var k=a47h;if(this[k(0x12c)]&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this['isLocked']=![],this[k(0x131)][k(0x119)](k(0x12b)+this[k(0x11b)]+'.\x20Used:\x20'+a),!![];return this[k(0x131)][k(0x119)](k(0x125)+this['name']+k(0x11f)+a),![];}[a47h(0x132)](){return this['isLocked'];}[a47h(0x124)](){var l=a47h;return this[l(0x133)];}}
@@ -1 +1 @@
1
- const a48i=a48d;function a48c(){const r=['apply','Failed\x20to\x20remove\x20item:\x20','getAllItems','get','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','.\x20Item\x20not\x20found.','removeItem','has','\x20in\x20','getWeight','name','toLowerCase','3629800dsHWac','.\x20Exists:\x20','items','2076nJcwyG','join','Checked\x20for\x20item:\x20','898804PVBace','delete','getItem','logger','550yTYbig','map','\x20to\x20inventory.','addItem','4532705SMDiXM','constructor','Listed\x20items\x20in\x20inventory:\x20','(((.+)+)+)+$','514066cZwlzv','search','listItems','1491954pJgCZZ','\x20from\x20inventory.','hasItem','257139AlRCnp','keys','Removed\x20item:\x20','getInstance','write','9527tJdCZw','4ulCCoT','weight'];a48c=function(){return r;};return a48c();}function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x187;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x18b))/0x1+-parseInt(f(0x197))/0x2+parseInt(f(0x19a))/0x3+parseInt(f(0x1a3))/0x4*(parseInt(f(0x193))/0x5)+-parseInt(f(0x188))/0x6*(parseInt(f(0x1a2))/0x7)+parseInt(f(0x1b1))/0x8+-parseInt(f(0x19d))/0x9*(parseInt(f(0x18f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x6f954));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1a5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a['toString']()[h(0x198)](h(0x196))['toString']()[h(0x194)](a48a)[h(0x198)](h(0x196));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0x187)];[a48i(0x18e)];constructor(){const j=a48i;super(),this[j(0x187)]=new Map(),this[j(0x18e)]=Logger[j(0x1a0)]();}[a48i(0x192)](a){const k=a48i;this['items']['set'](a['name']['toLowerCase'](),a),this[k(0x18e)]['write']('Added\x20item:\x20'+a[k(0x1af)]+k(0x191));}[a48i(0x1ab)](a){const l=a48i,b=this[l(0x18d)](a);if(b)return this[l(0x187)][l(0x18c)](a[l(0x1b0)]()),this[l(0x18e)][l(0x1a1)](l(0x19f)+a+l(0x19b)),b;return this[l(0x18e)]['write'](l(0x1a6)+a+l(0x1aa)),null;}[a48i(0x19c)](a){const m=a48i,b=this[m(0x187)][m(0x1ac)](a[m(0x1b0)]()),c=[...this[m(0x187)]['keys']()];return this['logger'][m(0x1a1)](m(0x18a)+a+m(0x1ad)+c[m(0x189)](',\x20')+m(0x1b2)+b+'.'),b;}[a48i(0x18d)](a){const n=a48i,b=this[n(0x187)][n(0x1a8)](a['toLowerCase']())||null;return b?this[n(0x18e)][n(0x1a1)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this['logger'][n(0x1a1)](n(0x1a9)+a+'.\x20Item\x20not\x20found.'),b;}[a48i(0x199)](){const o=a48i,a=[...this[o(0x187)][o(0x19e)]()],b=a[o(0x190)](c=>capitalCase(c));return this[o(0x18e)][o(0x1a1)](o(0x195)+b[o(0x189)](',\x20')+'.'),a;}[a48i(0x1ae)](){const p=a48i;let a=0x0;for(const b of this['items']['values']()){a+=b[p(0x1a4)];}return a;}[a48i(0x1a7)](){const q=a48i;return[...this[q(0x187)]['values']()];}}
1
+ const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x77))/0x1*(-parseInt(f(0x6c))/0x2)+-parseInt(f(0x6d))/0x3*(parseInt(f(0x91))/0x4)+-parseInt(f(0x7d))/0x5+parseInt(f(0x85))/0x6*(-parseInt(f(0x71))/0x7)+-parseInt(f(0x67))/0x8*(parseInt(f(0x7b))/0x9)+parseInt(f(0x74))/0xa*(-parseInt(f(0x80))/0xb)+parseInt(f(0x7e))/0xc*(parseInt(f(0x92))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x6d04b));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(0x70)]()['search'](g(0x89))['toString']()[g(0x76)](a48a)[g(0x84)]('(((.+)+)+)+$');});function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x67;let f=c[d];return f;},a48d(a,b);}a48a();import{capitalCase}from'change-case';function a48c(){const q=['search','634386qmAFVy','getInstance','getItem','listItems','(((.+)+)+)+$','Listed\x20items\x20in\x20inventory:\x20','name','delete','removeItem','weight','keys','Removed\x20item:\x20','4ObNQoW','34173763OlHcoO','items','Retrieved\x20details\x20for\x20item:\x20','2062840riOWyH','logger','.\x20Item\x20not\x20found.','join','Failed\x20to\x20remove\x20item:\x20','18dSgoaQ','1401801XSYdyI','\x20to\x20inventory.','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','toString','49OdsnrV','values','\x20in\x20','51890ocQWkl','map','constructor','3639QmxfQT','hasItem','\x20from\x20inventory.','Added\x20item:\x20','9tKeDvq','getWeight','1335735funJrg','12zhxcMq','write','1023BCuIvv','get','set','toLowerCase'];a48c=function(){return q;};return a48c();}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a48h(0x68)];constructor(){const i=a48h;super(),this[i(0x93)]=new Map(),this[i(0x68)]=Logger[i(0x86)]();}['addItem'](a){const j=a48h;this['items'][j(0x82)](a['name'][j(0x83)](),a),this[j(0x68)][j(0x7f)](j(0x7a)+a[j(0x8b)]+j(0x6e));}[a48h(0x8d)](a){const k=a48h,b=this[k(0x87)](a);if(b)return this[k(0x93)][k(0x8c)](a[k(0x83)]()),this[k(0x68)][k(0x7f)](k(0x90)+a+k(0x79)),b;return this[k(0x68)][k(0x7f)](k(0x6b)+a+'.\x20Item\x20not\x20found.'),null;}[a48h(0x78)](a){const l=a48h,b=this[l(0x93)]['has'](a[l(0x83)]()),c=[...this[l(0x93)][l(0x8f)]()];return this[l(0x68)][l(0x7f)]('Checked\x20for\x20item:\x20'+a+l(0x73)+c[l(0x6a)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a48h(0x87)](a){const m=a48h,b=this['items'][m(0x81)](a['toLowerCase']())||null;return b?this[m(0x68)]['write'](m(0x94)+a+'.'):this[m(0x68)][m(0x7f)](m(0x6f)+a+m(0x69)),b;}[a48h(0x88)](){const n=a48h,a=[...this[n(0x93)][n(0x8f)]()],b=a[n(0x75)](c=>capitalCase(c));return this[n(0x68)][n(0x7f)](n(0x8a)+b[n(0x6a)](',\x20')+'.'),a;}[a48h(0x7c)](){const o=a48h;let a=0x0;for(const b of this['items'][o(0x72)]()){a+=b[o(0x8e)];}return a;}['getAllItems'](){const p=a48h;return[...this['items'][p(0x72)]()];}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x65))/0x1*(parseInt(f(0x74))/0x2)+-parseInt(f(0x7b))/0x3+parseInt(f(0x64))/0x4+parseInt(f(0x72))/0x5+parseInt(f(0x6b))/0x6*(parseInt(f(0x66))/0x7)+-parseInt(f(0x67))/0x8*(parseInt(f(0x69))/0x9)+parseInt(f(0x77))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x83c30));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x75)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0x7a)](h(0x6c))['toString']()[h(0x68)](a49a)[h(0x7a)](h(0x6c));});function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x64;var f=c[d];return f;},a49d(a,b);}function a49c(){var l=['texture','1723930ryzRup','weight','1044dQVHAE','apply','uuid','4032320OMDKOu','category','You\x20use\x20the\x20','search','2980176dkpIOo','description','name','2361012UmrBiH','582PvVXZq','2651719cZqmhP','32ZNTtnr','constructor','1097559rBuyRF','use','6ihLtHP','(((.+)+)+)+$','rating','color','size','shape'];a49c=function(){return l;};return a49c();}a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x76)];[a49i(0x7d)];[a49i(0x7c)];['size'];['category'];[a49i(0x70)];[a49i(0x6e)];['texture'];[a49i(0x6d)];['weight'];constructor(a){var j=a49i;super(),this[j(0x7d)]=a[j(0x7d)],this[j(0x7c)]=a[j(0x7c)],this[j(0x6f)]=a[j(0x6f)],this[j(0x78)]=a[j(0x78)],this[j(0x70)]=a[j(0x70)],this[j(0x6e)]=a[j(0x6e)],this[j(0x71)]=a['texture'],this[j(0x6d)]=a['rating'],this[j(0x73)]=a['weight'],this[j(0x76)]=a49e();}[a49i(0x6a)](){var k=a49i;return k(0x79)+this[k(0x7d)]+'.\x20Nothing\x20special\x20happens.';}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x93))/0x1+parseInt(f(0x88))/0x2+-parseInt(f(0x8a))/0x3*(-parseInt(f(0x8e))/0x4)+parseInt(f(0x8b))/0x5+-parseInt(f(0x8d))/0x6+-parseInt(f(0x8c))/0x7+-parseInt(f(0x83))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xdfeb6));function a49c(){var l=['5145505PlUkeN','539098OstfVU','2255544jQnrZT','644ovHvpw','texture','(((.+)+)+)+$','constructor','.\x20Nothing\x20special\x20happens.','1566151fMjjnQ','apply','weight','description','toString','name','category','uuid','use','color','31786000ZHzniX','rating','shape','size','search','2927304sLKcAY','You\x20use\x20the\x20','23934HqwUah'];a49c=function(){return l;};return a49c();}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x97)]()[h(0x87)](h(0x90))['toString']()[h(0x91)](a49a)[h(0x87)](h(0x90));});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x83;var f=c[d];return f;},a49d(a,b);}export class Item extends AbstractItem{[a49i(0x9a)];[a49i(0x98)];['description'];['size'];[a49i(0x99)];[a49i(0x85)];['color'];[a49i(0x8f)];[a49i(0x84)];['weight'];constructor(a){var j=a49i;super(),this[j(0x98)]=a['name'],this[j(0x96)]=a[j(0x96)],this['size']=a[j(0x86)],this['category']=a[j(0x99)],this['shape']=a[j(0x85)],this['color']=a[j(0x9c)],this[j(0x8f)]=a[j(0x8f)],this[j(0x84)]=a[j(0x84)],this[j(0x95)]=a[j(0x95)],this[j(0x9a)]=a49e();}[a49i(0x9b)](){var k=a49i;return k(0x89)+this[k(0x98)]+k(0x92);}}
@@ -1 +1 @@
1
- const a50h=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x16a))/0x1*(-parseInt(f(0x171))/0x2)+parseInt(f(0x162))/0x3+parseInt(f(0x161))/0x4+-parseInt(f(0x178))/0x5*(-parseInt(f(0x16c))/0x6)+parseInt(f(0x164))/0x7+-parseInt(f(0x165))/0x8*(parseInt(f(0x166))/0x9)+-parseInt(f(0x15f))/0xa*(parseInt(f(0x163))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x4dd9b));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const g=a50d;return a50a[g(0x16b)]()[g(0x16e)](g(0x160))[g(0x16b)]()[g(0x16f)](a50a)['search'](g(0x160));});a50a();function a50c(){const m=['moveTo','18TqpUOc','toString','114dVowDh','name','search','constructor','scene','11870SLLTll','rooms','execute','_name','random','floor','autonomousMove','164025jhnvgA','_dialogue','8141790EcQZio','(((.+)+)+)+$','1510312qjGYgl','177006bJduxA','11lfFqVM','1762698yOGwiz','24mWxQuL','215415GHbukv','length','speak'];a50c=function(){return m;};return a50c();}import{Player}from'./player.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x15e;let f=c[d];return f;},a50d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50h(0x174)];[a50h(0x15e)];[a50h(0x172)];[a50h(0x170)];constructor(a,b,c,d){const i=a50h;super(d),this[i(0x174)]=a,this['_dialogue']=b,this['rooms']=c;}get[a50h(0x16d)](){return this['_name'];}[a50h(0x168)](){const j=a50h;return this['_dialogue'][Math[j(0x176)](Math[j(0x175)]()*this[j(0x15e)][j(0x167)])];}[a50h(0x177)](a){const k=a50h,b=a[Math[k(0x176)](Math[k(0x175)]()*a['length'])];this[k(0x169)](b[k(0x16d)]);}['moveTo'](a){const l=a50h,b={'actor':this,'rooms':this['rooms'],'scene':this[l(0x170)]},c=new GoCommand(b);c[l(0x173)]([a]);}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x152))/0x1+parseInt(f(0x167))/0x2+-parseInt(f(0x157))/0x3*(parseInt(f(0x166))/0x4)+-parseInt(f(0x154))/0x5*(-parseInt(f(0x164))/0x6)+-parseInt(f(0x163))/0x7*(-parseInt(f(0x168))/0x8)+-parseInt(f(0x15e))/0x9+parseInt(f(0x15a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xb4567));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x151)]()['search'](h(0x15f))[h(0x151)]()[h(0x160)](a50a)[h(0x165)](h(0x15f));});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x151;let f=c[d];return f;},a50d(a,b);}function a50c(){const o=['8SCzNgy','2836512agxNeF','4356696sVlMEW','random','apply','scene','toString','93506JZDjpv','name','278555Wqguxb','autonomousMove','_dialogue','2081202NtnBJX','rooms','moveTo','2731280wmjIIG','length','speak','execute','11679183GTBjCm','(((.+)+)+)+$','constructor','_name','floor','7TnQIOJ','138rPRNvF','search'];a50c=function(){return o;};return a50c();}export class NPC extends Player{['_name'];[a50i(0x156)];[a50i(0x158)];[a50i(0x16b)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x161)]=a,this[j(0x156)]=b,this[j(0x158)]=c;}get[a50i(0x153)](){const k=a50i;return this[k(0x161)];}[a50i(0x15c)](){const l=a50i;return this[l(0x156)][Math[l(0x162)](Math[l(0x169)]()*this['_dialogue']['length'])];}[a50i(0x155)](a){const m=a50i,b=a[Math[m(0x162)](Math[m(0x169)]()*a[m(0x15b)])];this[m(0x159)](b[m(0x153)]);}[a50i(0x159)](a){const n=a50i,b={'actor':this,'rooms':this[n(0x158)],'scene':this[n(0x16b)]},c=new GoCommand(b);c[n(0x15d)]([a]);}}
@@ -1 +1 @@
1
- const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x139))/0x1+parseInt(f(0x138))/0x2+-parseInt(f(0x167))/0x3*(-parseInt(f(0x184))/0x4)+-parseInt(f(0x14b))/0x5*(parseInt(f(0x17a))/0x6)+-parseInt(f(0x16d))/0x7+parseInt(f(0x182))/0x8+-parseInt(f(0x135))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x57412));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const g=a51d;return a51a['toString']()[g(0x153)](g(0x16e))[g(0x171)]()['constructor'](a51a)[g(0x153)](g(0x16e));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x130;let f=c[d];return f;},a51d(a,b);}import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a51c(){const y=['_playerName','6671646IjYETL','getInstance','logger','618302BUXlFT','200434OmoFrH','Hat','You\x20equipped\x20','currentLocation','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','includes','log','\x20is\x20no\x20longer\x20listeng\x20in\x20','You\x20can\x27t\x20equip\x20','inventoryItems','enterRoom','weapon','Max\x20carrying\x20weight\x20must\x20be\x20positive.','bodyarmor','off','speak','Failed\x20to\x20remove\x20','_equipment','5KYOoSc','shield','hasItem','\x20from\x20player\x27s\x20inventory.','rightHand','leaveRoom','torso','Boots','search','maxCarryingWeight','Added\x20','feet','A\x20featureless\x20room','You\x20unequipped\x20','_currentLocation','arm\x20armor','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','ArmArmor','\x20says:\x20\x22','toLowerCase','\x20slot.','Nexus','gloves','category','getWeight','values','leg\x20armor','removeItem','1795971rOZwgk','playerName','BodyArmor','helmet','Removed\x20','hear','1545425ONFlze','(((.+)+)+)+$','determineEquipmentSlot','legarmor','toString','write','Helmet','leftHand','equipment','boots','canEquip','_inventory','currentWeight','2334624lnNfwA','inventory','Shield','LegArmor','removeInventory','weight','legs','\x20is\x20now\x20listening\x20in\x20room\x20','4802600IriqFy','addInventory','4fqDymU','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','name','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','head','Gloves','bind','Invalid\x20category\x20or\x20slot:\x20','addItem','unequipBySlot','Weapon'];a51c=function(){return y;};return a51c();}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51h(0x134)];[a51h(0x159)];[a51h(0x178)];[a51h(0x14a)];['_maxCarryingWeight']=0x32;[a51h(0x137)];constructor(a){const i=a51h;super(),this[i(0x134)]=a[i(0x168)],this[i(0x159)]=a['startLocation']||new Room({'name':i(0x160),'description':i(0x157)}),this['_inventory']=new Inventory(),this[i(0x137)]=Logger[i(0x136)]();if(a?.[i(0x142)])for(const b of a['inventoryItems']){this['_inventory'][i(0x131)](b);}this[i(0x14a)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0x186)](){const j=a51h;return this[j(0x134)];}get[a51h(0x13c)](){const k=a51h;return this[k(0x159)];}set['currentLocation'](a){const l=a51h;this[l(0x159)]!==a&&(this[l(0x150)](),this['enterRoom'](a)),this[l(0x159)]=a;}get[a51h(0x17b)](){return this['_inventory'];}get[a51h(0x175)](){return this['_equipment'];}set[a51h(0x175)](a){this['_equipment']=a;}get[a51h(0x154)](){return this['_maxCarryingWeight'];}set[a51h(0x154)](a){const m=a51h;a>0x0?this['_maxCarryingWeight']=a:console['error'](m(0x145));}get['currentWeight'](){const n=a51h;let a=this[n(0x178)][n(0x163)]();for(const b in this[n(0x14a)]){const c=this[n(0x14a)][b];c&&(a+=c[n(0x17f)]);}return a;}['addInventory'](a){const o=a51h;if(this[o(0x179)]+a[o(0x17f)]>this[o(0x154)]){this['logger']['write'](o(0x13d));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[o(0x178)][o(0x131)](a),this[o(0x137)][o(0x172)](o(0x155)+a[o(0x186)]+'\x20to\x20player\x27s\x20inventory.');}['removeInventory'](a){const p=a51h;if(this[p(0x178)][p(0x166)](a[p(0x186)]))return this['logger'][p(0x172)](p(0x16b)+a[p(0x186)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[p(0x137)][p(0x172)](p(0x149)+a[p(0x186)]+p(0x14e)),![];}['equip'](a){const q=a51h;if(!this[q(0x178)][q(0x14d)](a[q(0x186)]))return'You\x20don\x27t\x20have\x20'+a[q(0x186)]+'\x20in\x20your\x20inventory.';if(!this['canEquip'](a))return q(0x141)+a[q(0x186)]+'.';const b=this[q(0x16f)](a[q(0x162)]);if(!b)return a[q(0x186)]+q(0x15b);if(this[q(0x175)][b])return q(0x187)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[q(0x175)][b]=a,this[q(0x17e)](a),q(0x13b)+a[q(0x186)]+'.';}['unequip'](a){const r=a51h;let b=a;if(!this[r(0x175)][camelCase(b)]){b=this[r(0x16f)](a);if(!b)return r(0x130)+a+'.';}return this[r(0x132)](b);}[a51h(0x16f)](a){const s=a51h;switch(a[s(0x15e)]()){case Category[s(0x133)][s(0x15e)]():return s(0x14f);case Category[s(0x17c)][s(0x15e)]():return s(0x174);case Category[s(0x189)][s(0x15e)]():return s(0x161);case Category[s(0x173)][s(0x15e)]():case Category[s(0x13a)][s(0x15e)]():return s(0x188);case Category[s(0x152)][s(0x15e)]():return s(0x156);case Category[s(0x17d)][s(0x15e)]():return s(0x180);case Category[s(0x15c)][s(0x15e)]():return'arms';case Category[s(0x169)]['toLowerCase']():return s(0x151);case s(0x144):return s(0x14f);case s(0x14c):return'leftHand';case s(0x161):return s(0x161);case s(0x16a):case'hat':return s(0x188);case s(0x176):return s(0x156);case s(0x165):case s(0x170):return'legs';case s(0x15a):case'armarmor':return'arms';case'body\x20armor':case s(0x146):case s(0x151):return'torso';default:return null;}}[a51h(0x177)](a){const t=a51h;return Object[t(0x164)](Category)[t(0x13e)](a[t(0x162)]);}[a51h(0x132)](a){const u=a51h,b=this[u(0x175)][a];if(!b)return u(0x185)+a+u(0x15f);return this[u(0x183)](b),this[u(0x175)][a]=null,u(0x158)+b[u(0x186)]+'.';}[a51h(0x16c)](a,b){const v=a51h;a!==this&&this[v(0x137)][v(0x13f)](a[v(0x186)]+v(0x15d)+b+'\x22');}[a51h(0x143)](a){const w=a51h;this[w(0x159)]=a,a['on'](w(0x148),this[w(0x16c)][w(0x18a)](this)),this[w(0x137)][w(0x172)](this[w(0x186)]+w(0x181)+a[w(0x186)]);}[a51h(0x150)](){const x=a51h;this[x(0x159)]&&(this[x(0x159)][x(0x147)](x(0x148),this[x(0x16c)]['bind'](this)),this[x(0x137)]['write'](this['name']+x(0x140)+this[x(0x159)]['name']));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0xf7))/0x1*(-parseInt(f(0x119))/0x2)+-parseInt(f(0xd4))/0x3*(-parseInt(f(0xe3))/0x4)+parseInt(f(0xf4))/0x5+parseInt(f(0xf3))/0x6*(-parseInt(f(0xda))/0x7)+-parseInt(f(0x114))/0x8+parseInt(f(0xdb))/0x9*(-parseInt(f(0x103))/0xa)+parseInt(f(0x115))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xa1cd5));function a51c(){const B=['Invalid\x20category\x20or\x20slot:\x20','legarmor','hasItem','search','helmet','leg\x20armor','removeInventory','\x20is\x20no\x20longer\x20listeng\x20in\x20','addItem','enterRoom','currentLocation','_currentLocation','weapon','Gloves','54ekFNQU','4437160SqOEiZ','You\x20don\x27t\x20have\x20','_playerName','248pynoDN','addInventory','off','.\x20You\x20must\x20unequip\x20it\x20first.','removeItem','bodyarmor','arms','hat','bind','\x20is\x20now\x20listening\x20in\x20room\x20','toLowerCase','values','34410wMnXjU','canEquip','logger','getWeight','\x20from\x20player\x27s\x20inventory.','currentWeight','Failed\x20to\x20remove\x20','feet','You\x20can\x27t\x20equip\x20','_inventory','armarmor','determineEquipmentSlot','name','\x20slot.','Hat','Weapon','Max\x20carrying\x20weight\x20must\x20be\x20positive.','9648792VInOVk','19507730vBhNHV','\x20in\x20your\x20inventory.','inventoryItems','apply','6716imKMmj','maxCarryingWeight','gloves','log','equipment','Removed\x20','includes','_maxCarryingWeight','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','unequipBySlot','startLocation','\x20to\x20player\x27s\x20inventory.','body\x20armor','legs','ArmArmor','Added\x20','leaveRoom','_equipment','head','torso','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','boots','hear','error','shield','189fMYQVq','toString','playerName','\x20says:\x20\x22','Helmet','speak','997206AEZYIH','2943MbtDgy','BodyArmor','weight','write','getInstance','You\x20equipped\x20','inventory','Shield','49684ssBeOO','leftHand'];a51c=function(){return B;};return a51c();}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xd5)]()[h(0xe8)]('(((.+)+)+)+$')[h(0xd5)]()['constructor'](a51a)[h(0xe8)]('(((.+)+)+)+$');});function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xca;let f=c[d];return f;},a51d(a,b);}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';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0xf6)];['_currentLocation'];[a51i(0x10c)];[a51i(0xcc)];[a51i(0x120)]=0x32;['logger'];constructor(a){const j=a51i;super(),this['_playerName']=a[j(0xd6)],this[j(0xf0)]=a[j(0x123)]||new Room({'name':'Nexus','description':'A\x20featureless\x20room'}),this[j(0x10c)]=new Inventory(),this[j(0x105)]=Logger[j(0xdf)]();if(a?.[j(0x117)])for(const b of a[j(0x117)]){this[j(0x10c)][j(0xed)](b);}this['_equipment']=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x10f)](){const k=a51i;return this[k(0xf6)];}get['currentLocation'](){const l=a51i;return this[l(0xf0)];}set[a51i(0xef)](a){const m=a51i;this[m(0xf0)]!==a&&(this[m(0xcb)](),this[m(0xee)](a)),this['_currentLocation']=a;}get[a51i(0xe1)](){return this['_inventory'];}get[a51i(0x11d)](){return this['_equipment'];}set[a51i(0x11d)](a){const n=a51i;this[n(0xcc)]=a;}get[a51i(0x11a)](){const o=a51i;return this[o(0x120)];}set[a51i(0x11a)](a){const p=a51i;a>0x0?this[p(0x120)]=a:console[p(0xd2)](p(0x113));}get['currentWeight'](){const q=a51i;let a=this['_inventory'][q(0x106)]();for(const b in this[q(0xcc)]){const c=this[q(0xcc)][b];c&&(a+=c[q(0xdd)]);}return a;}[a51i(0xf8)](a){const r=a51i;if(this[r(0x108)]+a['weight']>this[r(0x11a)]){this[r(0x105)][r(0xde)](r(0xcf));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[r(0x10c)][r(0xed)](a),this[r(0x105)]['write'](r(0xca)+a[r(0x10f)]+r(0x124));}[a51i(0xeb)](a){const s=a51i;if(this[s(0x10c)][s(0xfb)](a['name']))return this['logger']['write'](s(0x11e)+a[s(0x10f)]+s(0x107)),!![];return this[s(0x105)][s(0xde)](s(0x109)+a[s(0x10f)]+s(0x107)),![];}['equip'](a){const t=a51i;if(!this['_inventory'][t(0xe7)](a[t(0x10f)]))return t(0xf5)+a[t(0x10f)]+t(0x116);if(!this[t(0x104)](a))return t(0x10b)+a['name']+'.';const b=this[t(0x10e)](a['category']);if(!b)return a[t(0x10f)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this['equipment'][b])return t(0x121)+b+t(0xfa);return this[t(0x11d)][b]=a,this[t(0xeb)](a),t(0xe0)+a[t(0x10f)]+'.';}['unequip'](a){const u=a51i;let b=a;if(!this[u(0x11d)][camelCase(b)]){b=this[u(0x10e)](a);if(!b)return u(0xe5)+a+'.';}return this[u(0x122)](b);}['determineEquipmentSlot'](a){const v=a51i;switch(a[v(0x101)]()){case Category[v(0x112)][v(0x101)]():return'rightHand';case Category[v(0xe2)][v(0x101)]():return v(0xe4);case Category[v(0xf2)][v(0x101)]():return v(0x11b);case Category[v(0xd8)][v(0x101)]():case Category[v(0x111)][v(0x101)]():return'head';case Category['Boots']['toLowerCase']():return v(0x10a);case Category['LegArmor'][v(0x101)]():return v(0x126);case Category[v(0x127)]['toLowerCase']():return v(0xfd);case Category[v(0xdc)]['toLowerCase']():return v(0xce);case v(0xf1):return'rightHand';case v(0xd3):return v(0xe4);case'gloves':return v(0x11b);case v(0xe9):case v(0xfe):return v(0xcd);case v(0xd0):return'feet';case v(0xea):case v(0xe6):return'legs';case'arm\x20armor':case v(0x10d):return v(0xfd);case v(0x125):case v(0xfc):case v(0xce):return v(0xce);default:return null;}}[a51i(0x104)](a){const w=a51i;return Object[w(0x102)](Category)[w(0x11f)](a['category']);}[a51i(0x122)](a){const x=a51i,b=this['equipment'][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+x(0x110);return this['addInventory'](b),this['equipment'][a]=null,'You\x20unequipped\x20'+b['name']+'.';}['hear'](a,b){const y=a51i;a!==this&&this[y(0x105)][y(0x11c)](a[y(0x10f)]+y(0xd7)+b+'\x22');}[a51i(0xee)](a){const z=a51i;this['_currentLocation']=a,a['on'](z(0xd9),this[z(0xd1)][z(0xff)](this)),this['logger'][z(0xde)](this[z(0x10f)]+z(0x100)+a[z(0x10f)]);}[a51i(0xcb)](){const A=a51i;this[A(0xf0)]&&(this[A(0xf0)][A(0xf9)](A(0xd9),this[A(0xd1)][A(0xff)](this)),this['logger'][A(0xde)](this['name']+A(0xec)+this[A(0xf0)][A(0x10f)]));}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x8a))/0x1+parseInt(f(0x8d))/0x2+-parseInt(f(0x96))/0x3+-parseInt(f(0x7c))/0x4*(-parseInt(f(0x83))/0x5)+parseInt(f(0x93))/0x6+-parseInt(f(0x82))/0x7*(-parseInt(f(0x8b))/0x8)+-parseInt(f(0x87))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xb6fbd));function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x79;var f=c[d];return f;},a52d(a,b);}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x99)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x85)]()[h(0x97)](h(0x7a))['toString']()[h(0x89)](a52a)[h(0x97)](h(0x7a));});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a52i(0x7b)]();[a52i(0x7d)]=![];['requiredItem'];[a52i(0x8e)];[a52i(0x94)];[a52i(0x80)];['successMessage'];['failureMessage'];constructor(a){var j=a52i;super(),this[j(0x81)]=a[j(0x81)],this[j(0x8e)]=a[j(0x8e)],this['riddle']=a['riddle'],this[j(0x80)]=a[j(0x80)],this['successMessage']=a[j(0x8c)]||j(0x8f),this[j(0x7e)]=a[j(0x7e)]||j(0x84);}[a52i(0x98)](a){var k=a52i;if(this[k(0x81)])return a[k(0x7f)](this[k(0x81)]);return![];}[a52i(0x91)](a){return this['requiredPhrase']===a;}[a52i(0x90)](a,b){var l=a52i;if(this['solved'])return this[l(0x95)]['write'](l(0x88)),{'success':![],'message':l(0x86)};return this['hasRequiredItem'](b)||this['matchesRequiredPhrase'](a)?(this['solved']=!![],this['logger']['write'](l(0x92)),{'success':!![],'message':this['successMessage']}):(this[l(0x95)][l(0x79)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[l(0x7e)]});}}function a52c(){var m=['8QhRiHt','solved','failureMessage','hasItem','rewardItem','requiredItem','39781JFIFcD','867990zobrHI','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','toString','You\x20have\x20already\x20solved\x20this\x20puzzle.','31287573VUpBSH','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','constructor','1370524EOUEHk','2096NrqfJX','successMessage','2424356ngGdIb','requiredPhrase','You\x20solved\x20the\x20puzzle!','solve','matchesRequiredPhrase','Puzzle:\x20Correct\x20solution\x20provided.','5477292JmKETQ','riddle','logger','3317484EJZzHG','search','hasRequiredItem','apply','write','(((.+)+)+)+$','getInstance'];a52c=function(){return m;};return a52c();}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x1dd))/0x1*(-parseInt(f(0x1f4))/0x2)+parseInt(f(0x1e2))/0x3*(parseInt(f(0x1e8))/0x4)+parseInt(f(0x1f0))/0x5*(-parseInt(f(0x1d9))/0x6)+parseInt(f(0x1e0))/0x7*(-parseInt(f(0x1e5))/0x8)+-parseInt(f(0x1ed))/0x9*(-parseInt(f(0x1e4))/0xa)+-parseInt(f(0x1d6))/0xb+parseInt(f(0x1ea))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x25b07));function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1d4;var f=c[d];return f;},a52d(a,b);}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1d7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1e9)]()[h(0x1ef)](h(0x1f1))[h(0x1e9)]()['constructor'](a52a)[h(0x1ef)]('(((.+)+)+)+$');});a52a();function a52c(){var n=['12VzFwKO','solved','successMessage','hasItem','387ICDApv','hasRequiredItem','failureMessage','301wVMwVs','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','352656dDTDov','requiredPhrase','560HtBnBO','38712LWKCPi','solve','riddle','4RKKxaR','toString','6620460UQXOjm','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','requiredItem','28692ejEstD','You\x20solved\x20the\x20puzzle!','search','180300CoodzE','(((.+)+)+)+$','rewardItem','matchesRequiredPhrase','1250VHSlTh','You\x20have\x20already\x20solved\x20this\x20puzzle.','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','write','1884718BzkMpA','apply','logger'];a52c=function(){return n;};return a52c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x1d8)]=Logger['getInstance']();[a52i(0x1da)]=![];[a52i(0x1ec)];['requiredPhrase'];[a52i(0x1e7)];[a52i(0x1f2)];[a52i(0x1db)];['failureMessage'];constructor(a){var j=a52i;super(),this[j(0x1ec)]=a[j(0x1ec)],this[j(0x1e3)]=a['requiredPhrase'],this[j(0x1e7)]=a[j(0x1e7)],this[j(0x1f2)]=a[j(0x1f2)],this[j(0x1db)]=a['successMessage']||j(0x1ee),this[j(0x1df)]=a['failureMessage']||j(0x1e1);}[a52i(0x1de)](a){var k=a52i;if(this[k(0x1ec)])return a[k(0x1dc)](this[k(0x1ec)]);return![];}[a52i(0x1f3)](a){var l=a52i;return this[l(0x1e3)]===a;}[a52i(0x1e6)](a,b){var m=a52i;if(this[m(0x1da)])return this['logger'][m(0x1d5)](m(0x1eb)),{'success':![],'message':m(0x1f5)};return this[m(0x1de)](b)||this[m(0x1f3)](a)?(this[m(0x1da)]=!![],this['logger'][m(0x1d5)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[m(0x1db)]}):(this[m(0x1d8)][m(0x1d5)](m(0x1d4)),{'success':![],'message':this[m(0x1df)]});}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x159))/0x1*(-parseInt(f(0x16f))/0x2)+parseInt(f(0x162))/0x3*(-parseInt(f(0x148))/0x4)+-parseInt(f(0x153))/0x5*(parseInt(f(0x163))/0x6)+-parseInt(f(0x16c))/0x7+-parseInt(f(0x16b))/0x8*(parseInt(f(0x147))/0x9)+-parseInt(f(0x178))/0xa*(parseInt(f(0x141))/0xb)+parseInt(f(0x14d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xf1cdc));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0x177)](h(0x145))[h(0x158)]()[h(0x14e)](a53a)['search'](h(0x145));});a53a();function a53c(){const u=['exits','speak','Puzzle\x20set\x20for\x20room\x20','addExit','Item\x20removed\x20from\x20room\x20','\x20is\x20locked.\x20Result:\x20','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','values','say','11TCjimW','Fetching\x20exit\x20in\x20direction:\x20','riddle','addItem','(((.+)+)+)+$','The\x20','531kHscEK','1048xkjXYZ','name','north','east','getOppositeDirection','69625320iVJMGP','constructor','description','write','isStartRoom','hasItem','5eeURQS','roomB','apply','inventory','Room\x20created:\x20','toString','3wOPpbl','roomA','logger','get','puzzle','EAST','setPuzzle','NORTH','INSIDE','21705EujOUC','4219602gBsoMR','emit','down','checkIfLocked','removeItem','SOUTH','Invalid\x20direction:\x20','isExitLocked','91256fOgsbN','280763FNIIDN','south','.\x20Success:\x20','129850eKztgp','\x20remains\x20locked.','set','Checking\x20if\x20exit\x20in\x20direction\x20','getExit','roomType','DOWN','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','search','16944980KXCVkq'];a53c=function(){return u;};return a53c();}import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x140;let f=c[d];return f;},a53d(a,b);}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x15b)]=Logger['getInstance']();[a53i(0x149)];[a53i(0x14f)];[a53i(0x179)]=new Map();[a53i(0x174)];[a53i(0x151)];[a53i(0x156)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x149)]=a[j(0x149)],this[j(0x14f)]=a[j(0x14f)],this[j(0x174)]=a[j(0x174)]||RoomType[j(0x161)],a['exits']&&(this[j(0x179)]=a[j(0x179)]||new Map()),a['inventory']&&(this[j(0x156)]=a[j(0x156)]),a[j(0x15d)]&&(this['puzzle']=a[j(0x15d)]),this[j(0x151)]=a['isStartRoom']||![],this[j(0x15b)][j(0x150)](j(0x157)+this[j(0x149)]);}[a53i(0x140)](a,b){const k=a53i;this[k(0x164)](k(0x17a),a,b);}[a53i(0x17c)](a,b,c){const l=a53i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x179)][l(0x171)](a,d),b[l(0x179)][l(0x171)](this['getOppositeDirection'](a),d);}['attemptUnlockExit'](a,b){const m=a53i,c=this[m(0x179)]['get'](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0x15b)][m(0x150)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0x16e)+d),d?'The\x20'+c[m(0x149)]+'\x20unlocked!':m(0x146)+c[m(0x149)]+m(0x170);}return this[m(0x15b)][m(0x150)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0x176);}[a53i(0x173)](a){const n=a53i;return this[n(0x15b)][n(0x150)](n(0x142)+a),this['exits'][n(0x15c)](a);}[a53i(0x16a)](a){const o=a53i,b=this['exits'][o(0x15c)](a),c=b instanceof Door&&b[o(0x166)]();return this[o(0x15b)][o(0x150)](o(0x172)+a+o(0x17e)+c),c;}['addItem'](a){const p=a53i;this[p(0x156)][p(0x144)](a),this[p(0x15b)]['write']('Item\x20added\x20to\x20room\x20'+this[p(0x149)]+':\x20'+a['name']);}[a53i(0x167)](a){const q=a53i;this[q(0x156)][q(0x152)](a[q(0x149)])?(this[q(0x156)][q(0x167)](a[q(0x149)]),this['logger']['write'](q(0x17d)+this['name']+':\x20'+a[q(0x149)])):this[q(0x15b)][q(0x150)](q(0x17f)+this[q(0x149)]+':\x20'+a['name']);}[a53i(0x15f)](a){const r=a53i;this[r(0x15d)]=a,this[r(0x15b)][r(0x150)](r(0x17b)+this[r(0x149)]+':\x20'+a[r(0x143)]);}[a53i(0x14c)](a){const s=a53i;switch(a){case s(0x14a):return Direction[s(0x168)];case s(0x16d):return Direction[s(0x160)];case s(0x14b):return Direction['WEST'];case'west':return Direction[s(0x15e)];case'up':return Direction[s(0x175)];case s(0x165):return Direction['UP'];default:throw new Error(s(0x169)+a);}}['findExistingDoor'](a){const t=a53i;for(const b of this[t(0x179)][t(0x180)]()){if(b instanceof Door){if(b[t(0x15a)]===this&&b['roomB']===a||b[t(0x154)]===this&&b[t(0x15a)]===a)return b;}}return undefined;}}
1
+ const a53i=a53d;function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xe3;let f=c[d];return f;},a53d(a,b);}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0xe6))/0x1*(parseInt(f(0x104))/0x2)+parseInt(f(0x116))/0x3+-parseInt(f(0x110))/0x4+parseInt(f(0x10c))/0x5+parseInt(f(0xf9))/0x6+-parseInt(f(0x10a))/0x7*(-parseInt(f(0xec))/0x8)+-parseInt(f(0x108))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xb1c54));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x10d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0xf1)]()[h(0xff)]('(((.+)+)+)+$')[h(0xf1)]()[h(0x117)](a53a)[h(0xff)](h(0x109));});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{['logger']=Logger[a53i(0xf8)]();[a53i(0xf4)];[a53i(0x11a)];[a53i(0xef)]=new Map();[a53i(0x113)];[a53i(0xfc)];[a53i(0x112)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0xf4)]=a[j(0xf4)],this[j(0x11a)]=a['description'],this[j(0x113)]=a[j(0x113)]||RoomType[j(0x11e)],a[j(0xef)]&&(this[j(0xef)]=a[j(0xef)]||new Map()),a[j(0x112)]&&(this[j(0x112)]=a[j(0x112)]),a[j(0x101)]&&(this[j(0x101)]=a[j(0x101)]),this[j(0xfc)]=a[j(0xfc)]||![],this[j(0xe3)][j(0x105)](j(0xfd)+this[j(0xf4)]);}[a53i(0x10f)](a,b){const k=a53i;this[k(0x102)]('speak',a,b);}[a53i(0xf7)](a,b,c){const l=a53i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0xef)][l(0xe8)](a,d),b[l(0xef)][l(0xe8)](this[l(0xeb)](a),d);}[a53i(0x10b)](a,b){const m=a53i,c=this['exits'][m(0x103)](a);if(c instanceof Door){const d=c[m(0xfa)](b);return this['logger'][m(0x105)](m(0xe7)+a+m(0xea)+d),d?m(0x115)+c[m(0xf4)]+m(0x11c):m(0x115)+c[m(0xf4)]+'\x20remains\x20locked.';}return this[m(0xe3)][m(0x105)](m(0x100)+a),m(0xe4);}[a53i(0xee)](a){const n=a53i;return this['logger'][n(0x105)](n(0xf5)+a),this['exits']['get'](a);}['isExitLocked'](a){const o=a53i,b=this[o(0xef)]['get'](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0xe3)][o(0x105)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0xf3)+c),c;}[a53i(0xf6)](a){const p=a53i;this[p(0x112)][p(0xf6)](a),this['logger'][p(0x105)](p(0x107)+this[p(0xf4)]+':\x20'+a[p(0xf4)]);}['removeItem'](a){const q=a53i;this['inventory']['hasItem'](a[q(0xf4)])?(this[q(0x112)][q(0x106)](a[q(0xf4)]),this[q(0xe3)][q(0x105)](q(0x118)+this[q(0xf4)]+':\x20'+a[q(0xf4)])):this[q(0xe3)]['write'](q(0xe9)+this[q(0xf4)]+':\x20'+a['name']);}[a53i(0x11d)](a){const r=a53i;this[r(0x101)]=a,this['logger']['write']('Puzzle\x20set\x20for\x20room\x20'+this['name']+':\x20'+a['riddle']);}[a53i(0xeb)](a){const s=a53i;switch(a){case'north':return Direction[s(0xf0)];case s(0x114):return Direction[s(0x11b)];case s(0x119):return Direction[s(0xed)];case s(0xf2):return Direction['EAST'];case'up':return Direction['DOWN'];case s(0xfe):return Direction['UP'];default:throw new Error(s(0xe5)+a);}}[a53i(0x10e)](a){const t=a53i;for(const b of this[t(0xef)]['values']()){if(b instanceof Door){if(b['roomA']===this&&b[t(0x111)]===a||b[t(0x111)]===this&&b[t(0xfb)]===a)return b;}}return undefined;}}function a53c(){const u=['INSIDE','logger','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','Invalid\x20direction:\x20','1agkYqP','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','set','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','.\x20Success:\x20','getOppositeDirection','16168BvPpvK','WEST','getExit','exits','SOUTH','toString','west','\x20is\x20locked.\x20Result:\x20','name','Fetching\x20exit\x20in\x20direction:\x20','addItem','addExit','getInstance','3325758hMyDsa','attemptUnlock','roomA','isStartRoom','Room\x20created:\x20','down','search','No\x20locked\x20exit\x20found\x20in\x20direction\x20','puzzle','emit','get','97426HWcTmU','write','removeItem','Item\x20added\x20to\x20room\x20','20933487FcIIvq','(((.+)+)+)+$','4298xxJnTa','attemptUnlockExit','6788425tKsLcn','apply','findExistingDoor','say','4492420KvBjrc','roomB','inventory','roomType','south','The\x20','2926833zQDGmW','constructor','Item\x20removed\x20from\x20room\x20','east','description','NORTH','\x20unlocked!','setPuzzle'];a53c=function(){return u;};return a53c();}