@maka/maka-cli 4.13.17 → 4.13.20

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 (164) hide show
  1. package/bundle/obf/package.json +3 -2
  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/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/aws/_index.js +1 -1
  109. package/bundle/obf/src/generators/aws/aws.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  113. package/bundle/obf/src/generators/collection.js +1 -1
  114. package/bundle/obf/src/generators/component.js +1 -1
  115. package/bundle/obf/src/generators/config.js +1 -1
  116. package/bundle/obf/src/generators/dbc.js +1 -1
  117. package/bundle/obf/src/generators/dockerfile.js +1 -1
  118. package/bundle/obf/src/generators/hook.js +1 -1
  119. package/bundle/obf/src/generators/kits/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  127. package/bundle/obf/src/generators/kits/kit.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  132. package/bundle/obf/src/generators/layout.js +1 -1
  133. package/bundle/obf/src/generators/maka.gen.js +1 -1
  134. package/bundle/obf/src/generators/methods.js +1 -1
  135. package/bundle/obf/src/generators/package.js +1 -1
  136. package/bundle/obf/src/generators/page.js +1 -1
  137. package/bundle/obf/src/generators/publish.js +1 -1
  138. package/bundle/obf/src/generators/route.js +1 -1
  139. package/bundle/obf/src/generators/service.js +1 -1
  140. package/bundle/obf/src/generators/services/_index.js +1 -1
  141. package/bundle/obf/src/generators/services/openssl.js +1 -1
  142. package/bundle/obf/src/generators/services/translation.js +1 -1
  143. package/bundle/obf/src/maka.js +1 -1
  144. package/bundle/obf/src/tool.js +1 -1
  145. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/options/options.class.js +1 -1
  157. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  158. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  159. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  161. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  163. package/maka-tar-6.2.1.tgz +0 -0
  164. package/package.json +3 -2
@@ -1 +1 @@
1
- function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x129;let f=c[d];return f;},a36d(a,b);}const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=-parseInt(g(0x150))/0x1*(parseInt(g(0x137))/0x2)+parseInt(g(0x139))/0x3*(-parseInt(g(0x130))/0x4)+-parseInt(g(0x14b))/0x5*(parseInt(g(0x152))/0x6)+parseInt(g(0x129))/0x7*(parseInt(g(0x140))/0x8)+parseInt(g(0x14f))/0x9*(parseInt(g(0x155))/0xa)+parseInt(g(0x12d))/0xb+parseInt(g(0x12b))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x7754a));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a[i(0x14d)]()[i(0x14a)](i(0x13b))[i(0x14d)]()[i(0x158)](a36a)['search'](i(0x13b));});a36a();import{Door}from'../models/door.js';function a36c(){const m=['error','20jzlnTS','currentLocation','isValidDirection','\x22\x20not\x20found.','checkIfLocked','\x22\x20does\x20not\x20exist\x20in\x20current\x20room\x27s\x20exits.','\x20attempted\x20to\x20go\x20','134230TXqUuX','rooms','479406ZJkjzY','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20door\x20you\x27re\x20trying\x20to\x20go\x20through.','(((.+)+)+)+$','logger','\x22\x20is\x20locked.','getExit','\x20moved\x20to\x20room:\x20','176MYmLnl','length','The\x20door\x20in\x20the\x20direction\x20\x22','\x27s\x20\x27Go\x27\x20command\x20failed:\x20Current\x20room\x20is\x20undefined\x20or\x20null.\x20This\x20is\x20a\x20bug.','You\x20seem\x20to\x20be\x20nowhere.\x20This\x20is\x20a\x20bug.','name','Move\x20in\x20the\x20specified\x20direction.','You\x20can\x27t\x20go\x20that\x20way.','That\x20is\x20not\x20a\x20way\x20to\x20go','getOtherSide','search','5bKAYgY','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20room\x20you\x27re\x20trying\x20to\x20go\x20to.','toString','execute','212661rjCBAh','13WCYqCX','description','293724FhZQww','write','join','410ypNPup','verb','toLowerCase','constructor','\x20\x27Go\x27\x20command\x20failed:\x20Specified\x20direction\x20\x22','\x20which\x20is\x20not\x20valid.','40950dHjOUR','actor','8697900MidQiw','apply','4256153WLcxcw','\x20\x27Go\x27\x20command\x20failed:\x20Unable\x20to\x20determine\x20the\x20other\x20side\x20of\x20the\x20door.'];a36c=function(){return m;};return a36c();}import{Command}from'./command.js';export class GoCommand extends Command{static [a36j(0x156)]='go';static [a36j(0x151)]=a36j(0x146);[a36j(0x14e)](a){const k=a36j;return this[k(0x13c)][k(0x153)](this[k(0x12a)][k(0x145)]+'\x20is\x20attempting\x20\x27Go\x27\x20command\x20with\x20direction:\x20'+a[k(0x154)]('\x20')),this['go'](a);}['go'](a){const l=a36j;if(a[l(0x141)]===0x0)return this['logger'][l(0x153)](this[l(0x12a)][l(0x145)]+'\x27s\x20\x27Go\x27\x20command\x20failed:\x20No\x20direction\x20specified.'),'Please\x20specify\x20a\x20direction\x20to\x20go.';const b=a[0x0][l(0x157)]();if(!this[l(0x132)](b))return this[l(0x13c)][l(0x153)](this[l(0x12a)]['name']+l(0x136)+b+l(0x15a)),l(0x148);const c=this[l(0x12a)][l(0x131)];if(!c)return this[l(0x13c)]['error'](this['actor'][l(0x145)]+l(0x143)),l(0x144);const d=c[l(0x13e)](b);if(!d)return this[l(0x13c)][l(0x153)](this[l(0x12a)]['name']+l(0x159)+b+l(0x135)),l(0x147);if(d instanceof Door){if(d[l(0x134)]())return l(0x142)+b+l(0x13d);const e=d[l(0x149)](c);if(!e)return this[l(0x13c)][l(0x12f)](this[l(0x12a)][l(0x145)]+l(0x12e)),l(0x13a);this['actor']['currentLocation']=e;}else{const f=this[l(0x138)]&&this[l(0x138)][d];if(!f)return this[l(0x13c)][l(0x12f)](this[l(0x12a)][l(0x145)]+'\x20\x27Go\x27\x20command\x20failed:\x20Room\x20\x22'+d+l(0x133)),l(0x14c);this['actor'][l(0x131)]=f;}return this[l(0x13c)][l(0x153)](this[l(0x12a)][l(0x145)]+l(0x13f)+(this[l(0x12a)][l(0x131)][l(0x145)]||'Unnamed\x20room')+'.'),this[l(0x12a)][l(0x131)]['description'];}}
1
+ const a36i=a36d;function a36c(){const l=['getExit','\x20\x27Go\x27\x20command\x20failed:\x20Specified\x20direction\x20\x22','currentLocation','isValidDirection','rooms','write','7002758OPOFTX','\x20is\x20attempting\x20\x27Go\x27\x20command\x20with\x20direction:\x20','\x20which\x20is\x20not\x20valid.','11476400cvDuoT','search','You\x20seem\x20to\x20be\x20nowhere.\x20This\x20is\x20a\x20bug.','getOtherSide','(((.+)+)+)+$','\x20attempted\x20to\x20go\x20','error','2629062HbnGaH','5MDfYvI','join','4006aDWAfg','646ObJGcP','actor','4891872ZpIVLk','\x22\x20not\x20found.','verb','That\x20is\x20not\x20a\x20way\x20to\x20go','\x20moved\x20to\x20room:\x20','3106056aLlMlv','\x20\x27Go\x27\x20command\x20failed:\x20Unable\x20to\x20determine\x20the\x20other\x20side\x20of\x20the\x20door.','execute','Move\x20in\x20the\x20specified\x20direction.','You\x20can\x27t\x20go\x20that\x20way.','description','\x27s\x20\x27Go\x27\x20command\x20failed:\x20Current\x20room\x20is\x20undefined\x20or\x20null.\x20This\x20is\x20a\x20bug.','\x20\x27Go\x27\x20command\x20failed:\x20Room\x20\x22','constructor','checkIfLocked','64622970vWYFMW','toString','logger','name','\x22\x20does\x20not\x20exist\x20in\x20current\x20room\x27s\x20exits.','length'];a36c=function(){return l;};return a36c();}(function(a,b){const g=a36d,c=a();while(!![]){try{const d=-parseInt(g(0x184))/0x1*(parseInt(g(0x185))/0x2)+-parseInt(g(0x181))/0x3+-parseInt(g(0x187))/0x4+parseInt(g(0x182))/0x5*(-parseInt(g(0x18c))/0x6)+-parseInt(g(0x1a2))/0x7+-parseInt(g(0x1a5))/0x8+parseInt(g(0x196))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xcbb92));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']()['search'](h(0x1a9))[h(0x197)]()[h(0x194)](a36a)[h(0x1a6)]('(((.+)+)+)+$');});a36a();import{Door}from'../models/door.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x180;let f=c[d];return f;},a36d(a,b);}import{Command}from'./command.js';export class GoCommand extends Command{static [a36i(0x189)]='go';static [a36i(0x191)]=a36i(0x18f);[a36i(0x18e)](a){const j=a36i;return this[j(0x198)][j(0x1a1)](this[j(0x186)]['name']+j(0x1a3)+a[j(0x183)]('\x20')),this['go'](a);}['go'](a){const k=a36i;if(a[k(0x19b)]===0x0)return this['logger'][k(0x1a1)](this[k(0x186)]['name']+'\x27s\x20\x27Go\x27\x20command\x20failed:\x20No\x20direction\x20specified.'),'Please\x20specify\x20a\x20direction\x20to\x20go.';const b=a[0x0]['toLowerCase']();if(!this[k(0x19f)](b))return this['logger'][k(0x1a1)](this[k(0x186)][k(0x199)]+k(0x1aa)+b+k(0x1a4)),k(0x18a);const c=this[k(0x186)][k(0x19e)];if(!c)return this[k(0x198)]['error'](this['actor'][k(0x199)]+k(0x192)),k(0x1a7);const d=c[k(0x19c)](b);if(!d)return this[k(0x198)]['write'](this[k(0x186)][k(0x199)]+k(0x19d)+b+k(0x19a)),k(0x190);if(d instanceof Door){if(d[k(0x195)]())return'The\x20door\x20in\x20the\x20direction\x20\x22'+b+'\x22\x20is\x20locked.';const e=d[k(0x1a8)](c);if(!e)return this[k(0x198)][k(0x180)](this[k(0x186)][k(0x199)]+k(0x18d)),'There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20door\x20you\x27re\x20trying\x20to\x20go\x20through.';this[k(0x186)][k(0x19e)]=e;}else{const f=this[k(0x1a0)]&&this[k(0x1a0)][d];if(!f)return this[k(0x198)]['error'](this[k(0x186)]['name']+k(0x193)+d+k(0x188)),'There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20room\x20you\x27re\x20trying\x20to\x20go\x20to.';this[k(0x186)][k(0x19e)]=f;}return this['logger']['write'](this[k(0x186)]['name']+k(0x18b)+(this[k(0x186)][k(0x19e)][k(0x199)]||'Unnamed\x20room')+'.'),this['actor']['currentLocation'][k(0x191)];}}
@@ -1 +1 @@
1
- function a37c(){const l=['\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','5769SazmFQ','toString','unlockItemOrSolution','write','The\x20door\x20named\x20\x22','LockCommand:\x20No\x20target\x20specified.','248660SJDNWq','There\x27s\x20no\x20door\x20named\x20\x22','hasItem','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.','apply','toLowerCase','actor','name','execute','\x22\x20here.','get','search','\x20door.','lock','\x22\x20is\x20already\x20locked.','verb','14rnlFPu','description','84oqTHdK','6762204iEOpvc','5136lTbBxO','Lock\x20a\x20door.','21870057Swdmku','18020YvBtzQ','LockCommand:\x20','You\x20locked\x20the\x20door\x20named\x20\x22','isValidDirection','error','logger','exits','15008GLNJJI','isLocked','(((.+)+)+)+$','100204dgYhRs','2690304nHTASJ'];a37c=function(){return l;};return a37c();}const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x1db))/0x1*(parseInt(f(0x1f5))/0x2)+parseInt(f(0x1dc))/0x3+parseInt(f(0x1f7))/0x4*(-parseInt(f(0x1e4))/0x5)+parseInt(f(0x1f8))/0x6+parseInt(f(0x203))/0x7*(parseInt(f(0x1f9))/0x8)+parseInt(f(0x1de))/0x9*(parseInt(f(0x1fc))/0xa)+-parseInt(f(0x1fb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xc8861));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x1df)]()[h(0x1f0)](h(0x1da))[h(0x1df)]()['constructor'](a37a)[h(0x1f0)](h(0x1da));});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1d9;let f=c[d];return f;},a37d(a,b);}a37a();import{Command}from'./command.js';export class LockCommand extends Command{static [a37i(0x1f4)]=a37i(0x1f2);static [a37i(0x1f6)]=a37i(0x1fa);[a37i(0x1ed)](a){const j=a37i;return this[j(0x1f2)](a);}[a37i(0x1f2)](a){const k=a37i;if(a['length']===0x0)return this[k(0x201)][k(0x200)](k(0x1e3)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.';const b=a[0x0][k(0x1ea)](),c=this[k(0x1eb)]['currentLocation'];if(this[k(0x1ff)](b)&&c[k(0x202)]['has'](b)){const d=c[k(0x202)][k(0x1ef)](b);if(d[k(0x1d9)])return k(0x1e2)+b+k(0x1f3);const e=d[k(0x1e0)]?.[k(0x1ea)]();return e&&this[k(0x1eb)]['inventory'][k(0x1e6)](e)?(d[k(0x1d9)]=!![],this[k(0x201)][k(0x1e1)]('LockCommand:\x20'+this[k(0x1eb)][k(0x1ec)]+'\x20Locked\x20the\x20'+b+k(0x1f1)),k(0x1fe)+b+'\x22.'):(this[k(0x201)][k(0x1e1)](k(0x1fd)+this['actor'][k(0x1ec)]+k(0x1e7)+b+'.'),k(0x1e8));}else return this[k(0x201)][k(0x1e1)](k(0x1fd)+b+k(0x1dd)),k(0x1e5)+b+k(0x1ee);}}
1
+ const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x1f5))/0x1+parseInt(f(0x202))/0x2*(-parseInt(f(0x1f1))/0x3)+parseInt(f(0x1fa))/0x4+parseInt(f(0x1e7))/0x5*(parseInt(f(0x1e1))/0x6)+parseInt(f(0x1eb))/0x7+-parseInt(f(0x201))/0x8*(parseInt(f(0x1ea))/0x9)+parseInt(f(0x1e3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x2e2e1));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x1de)]()['search'](h(0x1e9))[h(0x1de)]()['constructor'](a37a)[h(0x1e6)]('(((.+)+)+)+$');});a37a();function a37c(){const k=['\x20Locked\x20the\x20','exits','Lock\x20a\x20door.','toString','LockCommand:\x20','actor','216FvLFpv','apply','3973120PylZIq','\x20door.','length','search','10985boAjzk','isValidDirection','(((.+)+)+)+$','968211bZGLAW','754810jYXLMl','currentLocation','hasItem','logger','verb','The\x20door\x20named\x20\x22','2733VOcEiW','\x22\x20is\x20already\x20locked.','write','execute','242989sMJxrE','You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.','\x22\x20here.','error','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','1225536HejRFq','isLocked','name','has','LockCommand:\x20No\x20target\x20specified.','get','lock','24OwWfXu','298JVlvLD','unlockItemOrSolution'];a37c=function(){return k;};return a37c();}function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1dc;let f=c[d];return f;},a37d(a,b);}import{Command}from'./command.js';export class LockCommand extends Command{static [a37i(0x1ef)]='lock';static ['description']=a37i(0x1dd);[a37i(0x1f4)](a){return this['lock'](a);}[a37i(0x200)](a){const j=a37i;if(a[j(0x1e5)]===0x0)return this[j(0x1ee)][j(0x1f8)](j(0x1fe)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.';const b=a[0x0]['toLowerCase'](),c=this['actor'][j(0x1ec)];if(this[j(0x1e8)](b)&&c[j(0x1dc)][j(0x1fd)](b)){const d=c[j(0x1dc)][j(0x1ff)](b);if(d['isLocked'])return j(0x1f0)+b+j(0x1f2);const e=d[j(0x203)]?.['toLowerCase']();return e&&this[j(0x1e0)]['inventory'][j(0x1ed)](e)?(d[j(0x1fb)]=!![],this[j(0x1ee)][j(0x1f3)](j(0x1df)+this[j(0x1e0)][j(0x1fc)]+j(0x204)+b+j(0x1e4)),'You\x20locked\x20the\x20door\x20named\x20\x22'+b+'\x22.'):(this[j(0x1ee)]['write'](j(0x1df)+this[j(0x1e0)][j(0x1fc)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),j(0x1f6));}else return this[j(0x1ee)][j(0x1f3)]('LockCommand:\x20'+b+j(0x1f9)),'There\x27s\x20no\x20door\x20named\x20\x22'+b+j(0x1f7);}}
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1ea))/0x1+parseInt(f(0x1fb))/0x2+-parseInt(f(0x211))/0x3+parseInt(f(0x1ef))/0x4+parseInt(f(0x1e4))/0x5*(parseInt(f(0x1fe))/0x6)+parseInt(f(0x202))/0x7*(-parseInt(f(0x204))/0x8)+-parseInt(f(0x208))/0x9*(-parseInt(f(0x1e9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x51093));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x205)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x20a)](h(0x1e7))[h(0x1e1)]()['constructor'](a38a)['search'](h(0x1e7));});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';function a38c(){const n=['24gDiRfF','Examine\x20your\x20surroundings','You\x27re\x20not\x20in\x20a\x20valid\x20room.','rooms','1939oOWxcW','It\x27s\x20just\x20a\x20regular\x20','6616icQDKV','apply','join','puzzle','152586uFpzZd','isValidDirection','search','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','Below\x20you,\x20','riddle','inspectItem','write','currentLocation','1188510Xobpjy','You\x20don\x27t\x20see\x20any\x20','inventory','Above\x20you,\x20','You\x20cannot\x20see\x20','toString','logger','\x20here.','823045wbfMeL','verb','error','(((.+)+)+)+$','Executing\x20\x27Look\x27\x20command.','80NwmhWe','152668wWpBcV','actor','lookOutside','OUTSIDE','roomType','712272NocIAl','Looking\x20at\x20item\x20\x27','down','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','\x27\x20in\x20current\x20room\x20inventory.','get','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','description','look','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','\x20inventory.','name','275408LBMNEv','string','getItem'];a38c=function(){return n;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1e0;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0x1e5)]=a38i(0x1f7);static ['description']=a38i(0x1ff);['execute'](a=[]){const j=a38i;this[j(0x1e2)][j(0x20f)](j(0x1e8));const b=a[j(0x206)]('\x20');if(b){if(this[j(0x1eb)][j(0x213)]['hasItem'](b))return this['logger'][j(0x20f)]('Looking\x20at\x20item\x20\x27'+b+'\x27\x20in\x20'+this[j(0x1eb)][j(0x1fa)]+j(0x1f9)),this['inspectItem'](b,this[j(0x1eb)][j(0x213)]);else{if(this[j(0x1eb)]['currentLocation'][j(0x213)]['hasItem'](b))return this[j(0x1e2)][j(0x20f)](j(0x1f0)+b+j(0x1f3)),this[j(0x20e)](b,this['actor']['currentLocation']['inventory']);else return this[j(0x209)](b)?(this['logger'][j(0x20f)](j(0x1f2)+b+'\x27.'),this['lookOutside'](b)):j(0x1e0)+b;}}else return this[j(0x1e2)][j(0x20f)](this['actor'][j(0x1fa)]+'\x20is\x20looking\x20around\x20the\x20current\x20room.'),this[j(0x1f7)]();}[a38i(0x1f7)](){const k=a38i,a=this[k(0x1eb)]['currentLocation'];if(!a)return this['logger'][k(0x1e6)](this[k(0x1eb)][k(0x1fa)]+k(0x20b)),k(0x200);let b=a[k(0x1f6)];return a[k(0x207)]&&(b+='\x0a'+a[k(0x207)][k(0x20d)]),b;}[a38i(0x1ec)](a){const l=a38i,b=this[l(0x1eb)][l(0x210)];if(!b)return this['logger']['error'](this[l(0x1eb)][l(0x1fa)]+l(0x20b)),l(0x200);const c=b['exits'][l(0x1f4)](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c['getOtherSide'](b);else{if(typeof c===l(0x1fc)){d=this[l(0x201)]&&this['rooms'][c];if(!d)return l(0x1f8)+a+'\x22.';}else return l(0x1f5)+a+'\x22.';}if(d[l(0x1ee)]===RoomType[l(0x1ed)]){if(a==='up')return l(0x214)+d[l(0x1f6)];else return a===l(0x1f1)?l(0x20c)+d['description']:'To\x20the\x20'+a+',\x20you\x20see\x20'+d[l(0x1f6)];}else return'You\x20cannot\x20see\x20through';}[a38i(0x20e)](a,b){const m=a38i,c=b[m(0x1fd)](a);if(!c)return m(0x212)+a+m(0x1e3);return c[m(0x1f6)]||m(0x203)+a+'.';}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x1db))/0x1*(parseInt(f(0x1d9))/0x2)+-parseInt(f(0x1d2))/0x3*(parseInt(f(0x1c4))/0x4)+parseInt(f(0x1d8))/0x5*(-parseInt(f(0x1a9))/0x6)+parseInt(f(0x1cd))/0x7+parseInt(f(0x1b4))/0x8+parseInt(f(0x1bb))/0x9*(-parseInt(f(0x1d7))/0xa)+parseInt(f(0x1c0))/0xb*(parseInt(f(0x1ab))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x6c982));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x1cf)](h(0x1d0))[h(0x1ae)]()['constructor'](a38a)[h(0x1cf)](h(0x1d0));});function a38c(){const n=['logger','description','265350RxJSfK','5suXyjD','10XYOMcU','lookOutside','112555EdgUyM','look','currentLocation','getOtherSide','isValidDirection','1380468iVETba','down','12LAlaYd','It\x27s\x20just\x20a\x20regular\x20','OUTSIDE','toString','string','riddle','verb','inventory','rooms','4254912vsnWDT','\x20here.','actor','puzzle','\x27\x20in\x20current\x20room\x20inventory.','Below\x20you,\x20','hasItem','162QSwdXi','Looking\x20at\x20item\x20\x27',',\x20you\x20see\x20','exits','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','2624721koxLxG','apply','You\x20cannot\x20see\x20','write','4YlCvYF','name','inspectItem','\x27\x20in\x20','Above\x20you,\x20','To\x20the\x20','join','Executing\x20\x27Look\x27\x20command.','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','1862609sRWtqp','\x20inventory.','search','(((.+)+)+)+$','roomType','1340481rpOtUg','You\x20cannot\x20see\x20through','You\x27re\x20not\x20in\x20a\x20valid\x20room.'];a38c=function(){return n;};return a38c();}a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a38d(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 [a38i(0x1b1)]='look';static [a38i(0x1d6)]='Examine\x20your\x20surroundings';['execute'](a=[]){const j=a38i;this[j(0x1d5)]['write'](j(0x1cb));const b=a[j(0x1ca)]('\x20');if(b){if(this[j(0x1b6)]['inventory']['hasItem'](b))return this[j(0x1d5)][j(0x1c3)](j(0x1bc)+b+j(0x1c7)+this['actor'][j(0x1c5)]+j(0x1ce)),this[j(0x1c6)](b,this[j(0x1b6)][j(0x1b2)]);else{if(this[j(0x1b6)]['currentLocation'][j(0x1b2)][j(0x1ba)](b))return this['logger'][j(0x1c3)]('Looking\x20at\x20item\x20\x27'+b+j(0x1b8)),this[j(0x1c6)](b,this[j(0x1b6)][j(0x1a6)][j(0x1b2)]);else return this[j(0x1a8)](b)?(this[j(0x1d5)]['write']('Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27'+b+'\x27.'),this[j(0x1da)](b)):j(0x1c2)+b;}}else return this[j(0x1d5)]['write'](this[j(0x1b6)]['name']+'\x20is\x20looking\x20around\x20the\x20current\x20room.'),this[j(0x1dc)]();}[a38i(0x1dc)](){const k=a38i,a=this['actor'][k(0x1a6)];if(!a)return this[k(0x1d5)]['error'](this[k(0x1b6)][k(0x1c5)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),k(0x1d4);let b=a['description'];return a[k(0x1b7)]&&(b+='\x0a'+a['puzzle'][k(0x1b0)]),b;}['lookOutside'](a){const l=a38i,b=this[l(0x1b6)][l(0x1a6)];if(!b)return this['logger']['error'](this[l(0x1b6)][l(0x1c5)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),l(0x1d4);const c=b[l(0x1be)]['get'](a);if(!c)return l(0x1cc)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x1a7)](b);else{if(typeof c===l(0x1af)){d=this[l(0x1b3)]&&this[l(0x1b3)][c];if(!d)return l(0x1bf)+a+'\x22.';}else return'Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}if(d[l(0x1d1)]===RoomType[l(0x1ad)]){if(a==='up')return l(0x1c8)+d[l(0x1d6)];else return a===l(0x1aa)?l(0x1b9)+d[l(0x1d6)]:l(0x1c9)+a+l(0x1bd)+d[l(0x1d6)];}else return l(0x1d3);}[a38i(0x1c6)](a,b){const m=a38i,c=b['getItem'](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+m(0x1b5);return c[m(0x1d6)]||m(0x1ac)+a+'.';}}
@@ -1 +1 @@
1
- function a39c(){const k=['2ohVpvH','search',':\x20\x22','name','execute','240145UsUfac','3604488oZiXBq','What\x20do\x20you\x20want\x20to\x20say?','2339FtJrpO','length','Scene\x20is\x20missing\x20from\x20context.','verb','say','description','446592hCuTxs','allActors','(((.+)+)+)+$','currentLocation','actor','join','log','context','1323504GiCPlI','1335768TQLqDy','filter','scene','logger','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','toString','124134HNsAao','constructor'];a39c=function(){return k;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x194;let f=c[d];return f;},a39d(a,b);}const a39i=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x19e))/0x1+parseInt(g(0x196))/0x2*(-parseInt(g(0x194))/0x3)+parseInt(g(0x1a4))/0x4+parseInt(g(0x19b))/0x5+-parseInt(g(0x1ad))/0x6+-parseInt(g(0x1ac))/0x7+parseInt(g(0x19c))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x25cc5));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x197)](h(0x1a6))[h(0x1b2)]()[h(0x195)](a39a)[h(0x197)](h(0x1a6));});a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39i(0x1a1)]='say';static [a39i(0x1a3)]=a39i(0x1b1);[a39i(0x1ab)];constructor(a){super(a),this['context']=a;}[a39i(0x19a)](a){const j=a39i;if(a[j(0x19f)]===0x0)return j(0x19d);const b=a[j(0x1a9)]('\x20'),c=this[j(0x1a8)],d=this['context'][j(0x1af)];if(!d)return this['logger']['log'](j(0x1a0)),'An\x20error\x20occurred.';const e=d[j(0x1a5)][j(0x1ae)](f=>f['currentLocation']===c[j(0x1a7)]);for(const f of e){this[j(0x1b0)][j(0x1aa)](c[j(0x199)]+'\x20says\x20to\x20'+f['name']+j(0x198)+b+'\x22'),this[j(0x1a8)][j(0x1a7)][j(0x1a2)](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}
1
+ const a39j=a39d;function a39c(){const l=['2890675NWZvcr','description','allActors','2171152WBiFYQ','log','1367460QdqjBn','context','constructor','1326101WhNGfX','apply','name',':\x20\x22','logger','You\x20say:\x20\x22','say','length','50631yPpUjd','toString','currentLocation','scene','276033mdlaJw','An\x20error\x20occurred.','27mxyKDQ','6971816FjRwGP','filter','join','search','(((.+)+)+)+$','Scene\x20is\x20missing\x20from\x20context.','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','32fdpVEN','\x20says\x20to\x20','actor'];a39c=function(){return l;};return a39c();}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x1c4))/0x1+-parseInt(g(0x1b3))/0x2+-parseInt(g(0x1c0))/0x3*(parseInt(g(0x1ad))/0x4)+-parseInt(g(0x1b0))/0x5+parseInt(g(0x1b5))/0x6+-parseInt(g(0x1b8))/0x7+-parseInt(g(0x1c7))/0x8*(-parseInt(g(0x1c6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x8d25a));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x1b9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x1c1)]()[i(0x1ca)]('(((.+)+)+)+$')[i(0x1c1)]()[i(0x1b7)](a39a)[i(0x1ca)](i(0x1cb));});a39a();import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a39d(a,b);}export class SayCommand extends Command{static ['verb']='say';static [a39j(0x1b1)]=a39j(0x1cd);['context'];constructor(a){super(a),this['context']=a;}['execute'](a){const k=a39j;if(a[k(0x1bf)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[k(0x1c9)]('\x20'),c=this[k(0x1af)],d=this[k(0x1b6)][k(0x1c3)];if(!d)return this[k(0x1bc)][k(0x1b4)](k(0x1cc)),k(0x1c5);const e=d[k(0x1b2)][k(0x1c8)](f=>f[k(0x1c2)]===c['currentLocation']);for(const f of e){this['logger'][k(0x1b4)](c[k(0x1ba)]+k(0x1ae)+f['name']+k(0x1bb)+b+'\x22'),this[k(0x1af)][k(0x1c2)][k(0x1be)](f,b);}return k(0x1bd)+b+'\x22';}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1cf))/0x1+parseInt(f(0x1ca))/0x2*(-parseInt(f(0x1bf))/0x3)+parseInt(f(0x1c1))/0x4+parseInt(f(0x1d9))/0x5*(parseInt(f(0x1d5))/0x6)+-parseInt(f(0x1c8))/0x7+parseInt(f(0x1cc))/0x8*(-parseInt(f(0x1ce))/0x9)+-parseInt(f(0x1cb))/0xa*(-parseInt(f(0x1d7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xb93d0));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1c5)]()[h(0x1d4)](h(0x1d6))[h(0x1c5)]()['constructor'](a40a)['search'](h(0x1d6));});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0x1c3)]=a40i(0x1d4);static [a40i(0x1c9)]=a40i(0x1cd);['execute'](){const j=a40i,a=this[j(0x1bd)][j(0x1c2)][j(0x1d3)]['listItems']();if(a[j(0x1be)]===0x0)return this[j(0x1d0)]['write'](j(0x1c4)+this[j(0x1bd)][j(0x1c7)]+j(0x1d2)),j(0x1d1);const b=a['join'](',\x20');return this[j(0x1d0)]['write']('SearchCommand:\x20'+this[j(0x1bd)][j(0x1c7)]+j(0x1c0)+b),j(0x1d8)+b;}}function a40c(){const k=['\x20searched\x20the\x20room\x20but\x20found\x20nothing.','inventory','search','30EbqOrM','(((.+)+)+)+$','18273343vHbJfZ','You\x20search\x20the\x20area\x20and\x20find:\x20','297035zMHFFw','actor','length','543xkMkqB','\x20found\x20the\x20following\x20items:\x20','2760600dRvBxu','currentLocation','verb','SearchCommand:\x20','toString','apply','name','9549372KFDBrH','description','9566UIIDVR','10jjvWou','8beIabU','Search\x20for\x20items\x20in\x20your\x20area','6697449uimEgB','1084418ptaqdY','logger','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.'];a40c=function(){return k;};return a40c();}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x171))/0x1+parseInt(f(0x167))/0x2+parseInt(f(0x175))/0x3*(-parseInt(f(0x17d))/0x4)+parseInt(f(0x17a))/0x5+-parseInt(f(0x170))/0x6+-parseInt(f(0x16b))/0x7*(parseInt(f(0x182))/0x8)+-parseInt(f(0x172))/0x9*(-parseInt(f(0x179))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xeb5b7));function a40c(){const k=['711935xfJqno','logger','length','inventory','apply','10829934kJQvKd','670285FEiKSK','2205vHsXlN','currentLocation','toString','772332hdLYfm','verb','name','write','116210mwzmjb','3844050SLlEUV','\x20found\x20the\x20following\x20items:\x20','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','12cQLHQC','search','join','(((.+)+)+)+$','actor','24PnQEKE','listItems','SearchCommand:\x20','execute','1801578BfBadk','Search\x20for\x20items\x20in\x20your\x20area','description','\x20searched\x20the\x20room\x20but\x20found\x20nothing.'];a40c=function(){return k;};return a40c();}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x16f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()['search'](h(0x180))[h(0x174)]()['constructor'](a40a)[h(0x17e)]('(((.+)+)+)+$');});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x166;let f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0x176)]=a40i(0x17e);static [a40i(0x169)]=a40i(0x168);[a40i(0x166)](){const j=a40i,a=this[j(0x181)][j(0x173)][j(0x16e)][j(0x183)]();if(a[j(0x16d)]===0x0)return this[j(0x16c)][j(0x178)](j(0x184)+this['actor'][j(0x177)]+j(0x16a)),j(0x17c);const b=a[j(0x17f)](',\x20');return this[j(0x16c)][j(0x178)]('SearchCommand:\x20'+this[j(0x181)][j(0x177)]+j(0x17b)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
@@ -1 +1 @@
1
- const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0xe7))/0x1*(-parseInt(f(0xf6))/0x2)+parseInt(f(0xe3))/0x3+parseInt(f(0xe6))/0x4*(-parseInt(f(0xfc))/0x5)+-parseInt(f(0xf3))/0x6+-parseInt(f(0xef))/0x7*(parseInt(f(0xf7))/0x8)+parseInt(f(0xe1))/0x9+parseInt(f(0xe5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb2f25));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0xf1)]()[h(0xe4)]('(((.+)+)+)+$')[h(0xf1)]()[h(0xe0)](a41a)[h(0xe4)](h(0xee));});a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xe0;let f=c[d];return f;},a41d(a,b);}import{Command}from'./command.js';function a41c(){const k=['write','2959305KYLvFb','search','8359620xAqZOY','632OxLCzR','40759IqujtF','verb','addItem','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','join','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','inventory','(((.+)+)+)+$','16569mupCRy','rewardItem','toString','SolveCommand:\x20','8147694jiDkMl','solve','logger','52gDhnkd','304vTAMjM','puzzle','apply','actor','success','42695iNCsQh','constructor','5831019RxmfwI'];a41c=function(){return k;};return a41c();}export class SolveCommand extends Command{static [a41i(0xe8)]='solve';static ['description']='Attempt\x20to\x20solve\x20a\x20puzzle.';['execute'](a){const j=a41i,b=a[j(0xeb)]('\x20')['toLowerCase'](),c=this[j(0xfa)]['currentLocation'];if(!c||!c['puzzle'])return this[j(0xf5)]['write'](j(0xec)),j(0xea);const d=c[j(0xf8)][j(0xf4)](b,this[j(0xfa)][j(0xed)]);return d[j(0xfb)]&&c[j(0xf8)][j(0xf0)]&&this[j(0xfa)][j(0xed)][j(0xe9)](c[j(0xf8)][j(0xf0)]),this[j(0xf5)][j(0xe2)](j(0xf2)+d['message']),d['message'];}}
1
+ const a41h=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x12b;let f=c[d];return f;},a41d(a,b);}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x134))/0x1*(-parseInt(f(0x136))/0x2)+parseInt(f(0x14b))/0x3*(-parseInt(f(0x143))/0x4)+parseInt(f(0x148))/0x5*(-parseInt(f(0x13e))/0x6)+parseInt(f(0x14a))/0x7*(parseInt(f(0x140))/0x8)+-parseInt(f(0x142))/0x9*(-parseInt(f(0x144))/0xa)+parseInt(f(0x12f))/0xb*(parseInt(f(0x12e))/0xc)+-parseInt(f(0x12d))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xbacdd));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const g=a41d;return a41a[g(0x12b)]()['search']('(((.+)+)+)+$')[g(0x12b)]()[g(0x13b)](a41a)['search'](g(0x13d));});a41a();function a41c(){const j=['description','write','success','join','1103647OQTllS','execute','2NihiFK','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','toLowerCase','addItem','Attempt\x20to\x20solve\x20a\x20puzzle.','constructor','solve','(((.+)+)+)+$','6AmdNlu','inventory','2424FGRTsm','logger','11752443BWzurC','20pNXfjx','10WbGiXl','verb','message','actor','2865430PPAjfa','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','23695IBwgHv','403455KkkyTb','SolveCommand:\x20','rewardItem','toString','puzzle','37471239ulpDnN','5831736XGrlYh','33njhPjj'];a41c=function(){return j;};return a41c();}import{Command}from'./command.js';export class SolveCommand extends Command{static [a41h(0x145)]=a41h(0x13c);static [a41h(0x130)]=a41h(0x13a);[a41h(0x135)](a){const i=a41h,b=a[i(0x133)]('\x20')[i(0x138)](),c=this[i(0x147)]['currentLocation'];if(!c||!c[i(0x12c)])return this[i(0x141)][i(0x131)](i(0x149)),i(0x137);const d=c['puzzle'][i(0x13c)](b,this[i(0x147)][i(0x13f)]);return d[i(0x132)]&&c[i(0x12c)][i(0x14d)]&&this[i(0x147)][i(0x13f)][i(0x139)](c[i(0x12c)][i(0x14d)]),this[i(0x141)]['write'](i(0x14c)+d[i(0x146)]),d[i(0x146)];}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x164))/0x1+parseInt(f(0x15a))/0x2+-parseInt(f(0x15f))/0x3+parseInt(f(0x14d))/0x4+-parseInt(f(0x158))/0x5*(parseInt(f(0x148))/0x6)+-parseInt(f(0x141))/0x7+parseInt(f(0x13e))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x2a56d));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x156)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x13b)]()[h(0x13f)](h(0x155))[h(0x13b)]()[h(0x14e)](a42a)['search'](h(0x155));});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x13b;let f=c[d];return f;},a42d(a,b);}function a42c(){const l=['1642669hRxlcf','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','actor','\x22\x20not\x20retrieved\x20from\x20','You\x20have\x20taken\x20the\x20','\x22\x20to\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','268500FCjjaF','join','execute','getItem','removeItem','241680GLbxSp','constructor','inventory','name','currentLocation','Item\x20\x22','message','Pick\x20up\x20an\x20item.','(((.+)+)+)+$','apply','take','5VwJBPk','There\x20is\x20no\x20item\x20\x22','314024lvgJLG','Successfully\x20removed\x20\x22','write','logger','addInventory','825720zDyHeS','\x22\x20in\x20this\x20room.','Error\x20during\x20\x27Take\x27\x20command:\x20','\x22\x20from\x20','toLowerCase','43684jyKykT','toString','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','4434640QNrxks','search','Successfully\x20added\x20\x22'];a42c=function(){return l;};return a42c();}a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a42i(0x157);static ['description']=a42i(0x154);[a42i(0x14a)](a){const j=a42i;return this[j(0x15d)]['write'](j(0x142)+a['join']('\x20')),this[j(0x157)](a);}[a42i(0x157)](a){const k=a42i,b=a[k(0x149)]('\x20')[k(0x163)](),c=this[k(0x143)][k(0x151)];if(!c[k(0x14f)]['hasItem'](b))return this[k(0x15d)]['write'](k(0x152)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x150)]+'\x20during\x20\x27Take\x27\x20command.'),k(0x159)+b+k(0x160);const d=c['inventory'][k(0x14b)](b);if(!d)return this[k(0x15d)][k(0x15c)](k(0x152)+b+k(0x144)+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x159)+b+'\x22\x20in\x20this\x20room.';try{return this['actor'][k(0x15e)](d),this[k(0x15d)][k(0x15c)](k(0x140)+b+k(0x146)+this[k(0x143)]['name']+k(0x13d)),c[k(0x14f)][k(0x14c)](b),this['logger'][k(0x15c)](k(0x15b)+b+k(0x162)+c[k(0x150)]+k(0x147)),k(0x145)+b+'.';}catch(e){return this['logger'][k(0x15c)](k(0x161)+e[k(0x153)]),'The\x20item\x20\x22'+b+k(0x13c);}}}
1
+ function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xe1;let f=c[d];return f;},a42d(a,b);}const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0xfb))/0x1*(-parseInt(f(0xf9))/0x2)+parseInt(f(0x102))/0x3*(parseInt(f(0xf0))/0x4)+-parseInt(f(0x10b))/0x5+-parseInt(f(0x10c))/0x6+parseInt(f(0xf4))/0x7*(parseInt(f(0xf3))/0x8)+parseInt(f(0xfc))/0x9*(parseInt(f(0xf6))/0xa)+parseInt(f(0xf1))/0xb*(-parseInt(f(0xeb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xb9b44));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xe3)]()[h(0xf5)](h(0x101))[h(0xe3)]()[h(0xe4)](a42a)[h(0xf5)](h(0x101));});a42a();import{Command}from'./command.js';function a42c(){const l=['3sZaJXL','currentLocation','write','Item\x20\x22','toLowerCase','join','removeItem','You\x20have\x20taken\x20the\x20','apply','889940UwwstY','1913808aRwYhk','name','\x22\x20not\x20found\x20in\x20','toString','constructor','There\x20is\x20no\x20item\x20\x22','take','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','logger','execute','getItem','57288zfhqyH','The\x20item\x20\x22','\x22\x20to\x20','Successfully\x20added\x20\x22','actor','4130284HPYgQG','1540tKuMmM','\x22\x20from\x20','8szKyip','4663603hKuGLm','search','6020cgbhrr','Error\x20during\x20\x27Take\x27\x20command:\x20','Pick\x20up\x20an\x20item.','488EEqMqc','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','4413iuCBcz','19494BhpqZP','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','message','inventory','\x22\x20in\x20this\x20room.','(((.+)+)+)+$'];a42c=function(){return l;};return a42c();}export class TakeCommand extends Command{static ['verb']=a42i(0xe6);static ['description']=a42i(0xf8);[a42i(0xe9)](a){const j=a42i;return this[j(0xe8)][j(0x104)](j(0xfa)+a[j(0x107)]('\x20')),this['take'](a);}[a42i(0xe6)](a){const k=a42i,b=a['join']('\x20')[k(0x106)](),c=this['actor'][k(0x103)];if(!c[k(0xff)]['hasItem'](b))return this['logger'][k(0x104)](k(0x105)+b+k(0xe2)+c['name']+'\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+k(0x100);const d=c[k(0xff)][k(0xea)](b);if(!d)return this['logger'][k(0x104)](k(0x105)+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0xe1)]+k(0xfd)),k(0xe5)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0xef)]['addInventory'](d),this[k(0xe8)][k(0x104)](k(0xee)+b+k(0xed)+this[k(0xef)][k(0xe1)]+k(0xe7)),c['inventory'][k(0x108)](b),this[k(0xe8)][k(0x104)]('Successfully\x20removed\x20\x22'+b+k(0xf2)+c[k(0xe1)]+k(0xfd)),k(0x109)+b+'.';}catch(e){return this[k(0xe8)][k(0x104)](k(0xf7)+e[k(0xfe)]),k(0xec)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0xc5))/0x1*(parseInt(f(0xca))/0x2)+parseInt(f(0xcc))/0x3*(parseInt(f(0xcd))/0x4)+parseInt(f(0xcf))/0x5*(-parseInt(f(0xd2))/0x6)+-parseInt(f(0xc3))/0x7+-parseInt(f(0xd3))/0x8+-parseInt(f(0xd1))/0x9*(parseInt(f(0xd0))/0xa)+-parseInt(f(0xd5))/0xb*(-parseInt(f(0xd4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x7c48e));function a43c(){const k=['toLowerCase','4580tAiLdN','620iBBuIW','109233JHHEDP','5544fswdJv','6324920eojYOE','1371336mzbjhu','275sBquHt','constructor','name','search','unequip','(((.+)+)+)+$','2060926ZeIAwe','toString','1oGgTsC','execute','verb','apply','actor','784776iQzGhC','unqeuip','2185257HuUJvz','4zkpVHt'];a43c=function(){return k;};return a43c();}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0xc4)]()[h(0xd8)](h(0xda))['toString']()[h(0xd6)](a43a)['search']('(((.+)+)+)+$');});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xc3;let f=c[d];return f;},a43d(a,b);}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0xc7)]=a43i(0xcb);static ['description']='Unequip\x20an\x20item.';[a43i(0xc6)](a){const j=a43i,b=a['join']('\x20')[j(0xce)](),c=this['actor'][j(0xd9)](b);return this['logger']['write']('UnequipCommand:\x20'+this[j(0xc9)][j(0xd7)]+'\x20unqeuiped\x20'+c),c;}}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x200))/0x1+-parseInt(f(0x1ef))/0x2*(parseInt(f(0x205))/0x3)+-parseInt(f(0x203))/0x4*(parseInt(f(0x208))/0x5)+-parseInt(f(0x204))/0x6+-parseInt(f(0x1f2))/0x7+-parseInt(f(0x1f3))/0x8*(parseInt(f(0x202))/0x9)+-parseInt(f(0x1f7))/0xa*(-parseInt(f(0x201))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x5ed61));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1f6)]()[h(0x1f9)](h(0x1fd))[h(0x1f6)]()[h(0x1f1)](a43a)[h(0x1f9)](h(0x1fd));});a43a();import{Command}from'./command.js';function a43c(){const k=['description','345520tSBbOx','8992346prwPXP','9MbGgAN','4FFWTot','2403558EQfJIE','4839KFCGhi','name','toLowerCase','3617835dedByB','UnequipCommand:\x20','\x20unqeuiped\x20','execute','806joGAXj','logger','constructor','3918320CfydAJ','1616128YelZke','actor','unqeuip','toString','40MIQjiE','verb','search','apply','write','Unequip\x20an\x20item.','(((.+)+)+)+$','join'];a43c=function(){return k;};return a43c();}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1ec;let f=c[d];return f;},a43d(a,b);}export class UnequipCommand extends Command{static [a43i(0x1f8)]=a43i(0x1f5);static [a43i(0x1ff)]=a43i(0x1fc);[a43i(0x1ee)](a){const j=a43i,b=a[j(0x1fe)]('\x20')[j(0x207)](),c=this['actor']['unequip'](b);return this[j(0x1f0)][j(0x1fb)](j(0x1ec)+this[j(0x1f4)][j(0x206)]+j(0x1ed)+c),c;}}
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x1ee))/0x1*(-parseInt(h(0x1f2))/0x2)+-parseInt(h(0x1de))/0x3*(parseInt(h(0x1e3))/0x4)+parseInt(h(0x1f0))/0x5*(parseInt(h(0x1df))/0x6)+-parseInt(h(0x1ea))/0x7+-parseInt(h(0x1e8))/0x8*(-parseInt(h(0x200))/0x9)+parseInt(h(0x1e7))/0xa+-parseInt(h(0x1fb))/0xb*(parseInt(h(0x1f4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xea7e9));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x1f5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a['toString']()[j(0x1f6)](j(0x208))['toString']()[j(0x1fe)](a44a)[j(0x1f6)](j(0x208));});a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a44c(){const n=['write','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','63569NceMtD','length','unlockItemOrSolution','constructor','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','3339mSItLL','exits','isValidDirection','.\x20Result:\x20','logger','has','attemptUnlockExit','unlock','(((.+)+)+)+$','2597331kpJCmc','6243462MgzOzU','execute','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','UnlockCommand:\x20No\x20target\x20specified.','4kQWNUR','getItem','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','inventory','16587490NDZeai','27256NrGNUO','UnlockCommand:\x20','832111stvVRx','There\x27s\x20no\x20door\x20named\x20\x22','actor','toLowerCase','5261IAVFqZ','\x22\x20here.','5uIGReP','hasItem','642ExOmKI','name','684egxnPv','apply','search','Unlock\x20a\x20door.','\x20is\x20attempted\x20to\x20unlock\x20'];a44c=function(){return n;};return a44c();}function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1de;let f=c[d];return f;},a44d(a,b);}export class UnlockCommand extends Command{static ['verb']=a44k(0x207);static ['description']=a44k(0x1f7);[a44k(0x1e0)](a){const l=a44k;return this[l(0x207)](a);}['unlock'](a){const m=a44k;if(a[m(0x1fc)]===0x0)return this['logger']['error'](m(0x1e2)),m(0x1ff);const b=a[0x0][m(0x1ed)](),c=this[m(0x1ec)]['currentLocation'];if(this[m(0x202)](b)&&c[m(0x201)][m(0x205)](b)){const d=c[m(0x201)]['get'](b);if(d instanceof Door){const e=d[m(0x1fd)]?.[m(0x1ed)]();if(e&&this['actor'][m(0x1e6)][m(0x1f1)](e)){const f=this[m(0x1ec)][m(0x1e6)][m(0x1e4)](e);if(f){const g=c[m(0x206)](b,f[m(0x1f3)]);return this[m(0x204)]['write'](m(0x1e9)+this[m(0x1ec)]['name']+m(0x1f8)+b+m(0x203)+g),g;}}return this[m(0x204)][m(0x1f9)](m(0x1e9)+this['actor']['name']+m(0x1fa)+b+'.'),m(0x1e5);}else return this['logger'][m(0x1f9)](m(0x1e9)+b+m(0x1e1)+c[m(0x1f3)]+'.'),m(0x1eb)+b+m(0x1ef);}else return this[m(0x204)]['write'](m(0x1e9)+b+m(0x1e1)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x1ef);}}
1
+ const a44j=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0xe8))/0x1+-parseInt(h(0xfe))/0x2+parseInt(h(0xf0))/0x3*(-parseInt(h(0xf2))/0x4)+parseInt(h(0xef))/0x5+-parseInt(h(0xe5))/0x6*(-parseInt(h(0xfa))/0x7)+parseInt(h(0xea))/0x8+parseInt(h(0xf1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x9d461));const a44b=(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;};}()),a44a=a44b(this,function(){const i=a44d;return a44a[i(0xde)]()[i(0xe9)](i(0xfd))['toString']()['constructor'](a44a)[i(0xe9)](i(0xfd));});a44a();import{Door}from'../models/door.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xde;let f=c[d];return f;},a44d(a,b);}function a44c(){const m=['\x20is\x20attempted\x20to\x20unlock\x20','exits','toLowerCase','unlock','35QseGLq','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','write','(((.+)+)+)+$','1662100aByBYL','UnlockCommand:\x20No\x20target\x20specified.','actor','description','getItem','toString','attemptUnlockExit','\x22\x20here.','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','error','name','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','413148ASiwjH','currentLocation','has','428669zWiJhq','search','5318920aEiQlR','verb','get','execute','There\x27s\x20no\x20door\x20named\x20\x22','1388965WKCRGC','399dVTNGZ','7128945qRgyJh','31052YaNkmw','UnlockCommand:\x20','logger','isValidDirection'];a44c=function(){return m;};return a44c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44j(0xeb)]='unlock';static [a44j(0x101)]='Unlock\x20a\x20door.';[a44j(0xed)](a){const k=a44j;return this[k(0xf9)](a);}[a44j(0xf9)](a){const l=a44j;if(a['length']===0x0)return this[l(0xf4)][l(0xe2)](l(0xff)),l(0xfb);const b=a[0x0][l(0xf8)](),c=this[l(0x100)][l(0xe6)];if(this[l(0xf5)](b)&&c[l(0xf7)][l(0xe7)](b)){const d=c[l(0xf7)][l(0xec)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[l(0xf8)]();if(e&&this[l(0x100)]['inventory']['hasItem'](e)){const f=this[l(0x100)]['inventory'][l(0x102)](e);if(f){const g=c[l(0xdf)](b,f['name']);return this[l(0xf4)][l(0xfc)](l(0xf3)+this[l(0x100)][l(0xe3)]+l(0xf6)+b+'.\x20Result:\x20'+g),g;}}return this[l(0xf4)][l(0xfc)](l(0xf3)+this[l(0x100)][l(0xe3)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),l(0xe1);}else return this[l(0xf4)][l(0xfc)](l(0xf3)+b+l(0xe4)+c[l(0xe3)]+'.'),l(0xee)+b+'\x22\x20here.';}else return this[l(0xf4)][l(0xfc)](l(0xf3)+b+l(0xe4)+c[l(0xe3)]+'.'),l(0xee)+b+l(0xe0);}}
@@ -1 +1 @@
1
- const a45h=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0xdf))/0x1*(parseInt(f(0xe8))/0x2)+parseInt(f(0xed))/0x3*(-parseInt(f(0xfd))/0x4)+-parseInt(f(0xe3))/0x5+parseInt(f(0xe2))/0x6*(parseInt(f(0xf6))/0x7)+-parseInt(f(0xf3))/0x8+parseInt(f(0xe1))/0x9+parseInt(f(0xfe))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xd946d));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const g=a45d;return a45a[g(0xde)]()[g(0xee)]('(((.+)+)+)+$')[g(0xde)]()[g(0xe5)](a45a)[g(0xee)](g(0xea));});function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xdc;let f=c[d];return f;},a45d(a,b);}function a45c(){const k=['(((.+)+)+)+$','\x20attempted\x20to\x20use\x20','\x20to\x20use.','3leGJEz','search','\x20used\x20','hasItem','join','\x20in\x20this\x20way.','10482104PHAplo','You\x20don\x27t\x20have\x20the\x20','actor','7654437xcuwZT','use','\x27s\x20inventory.','You\x20can\x27t\x20use\x20the\x20','execute','name',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','6833972DYDQCa','20313940aKGvRE','verb','write','\x20not\x20retrieved\x20from\x20','\x20doesn\x27t\x20have\x20a\x20use\x20method.','function','toString','1jKlQUf','logger','8802234ohyuFq','6cAiXmq','1901745pQjDty','inventory','constructor','Use\x20an\x20item.','toLowerCase','372318QkRWva','UseCommand:\x20'];a45c=function(){return k;};return a45c();}a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45h(0xff)]='use';static ['description']=a45h(0xe6);[a45h(0xfa)](a){const i=a45h;return this[i(0xf7)](a);}[a45h(0xf7)](a){const j=a45h,b=a[j(0xf1)]('\x20')[j(0xe7)]();if(!this[j(0xf5)][j(0xe4)][j(0xf0)](b))return this[j(0xe0)][j(0x100)](j(0xe9)+this[j(0xf5)]['name']+j(0xeb)+b+j(0xfc)),'You\x20don\x27t\x20have\x20the\x20'+b+'\x20to\x20use.';const c=this['actor'][j(0xe4)]['getItem'](b);if(!c)return this['logger'][j(0x100)](j(0xe9)+b+j(0x101)+this[j(0xf5)][j(0xfb)]+j(0xf8)),j(0xf4)+b+j(0xec);if(typeof c[j(0xf7)]===j(0xdd)){const d=c[j(0xf7)]();return this['logger'][j(0x100)](j(0xe9)+this[j(0xf5)][j(0xfb)]+j(0xef)+b+'.'),d;}else return this[j(0xe0)]['write']('UseCommand:\x20'+b+j(0xdc)),j(0xf9)+b+j(0xf2);}}
1
+ const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x155))/0x1*(-parseInt(f(0x14a))/0x2)+-parseInt(f(0x13e))/0x3+-parseInt(f(0x15a))/0x4*(parseInt(f(0x14e))/0x5)+parseInt(f(0x145))/0x6*(-parseInt(f(0x13a))/0x7)+-parseInt(f(0x13f))/0x8*(-parseInt(f(0x157))/0x9)+parseInt(f(0x153))/0xa*(parseInt(f(0x14d))/0xb)+-parseInt(f(0x14f))/0xc*(-parseInt(f(0x152))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x27747));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x14c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x137)]()[h(0x13b)](h(0x142))[h(0x137)]()['constructor'](a45a)[h(0x13b)]('(((.+)+)+)+$');});a45a();function a45c(){const l=['23895mSbiql','write','\x20attempted\x20to\x20use\x20','210956FDgGXp','toString','getItem','inventory','44072pcxPpP','search','hasItem','UseCommand:\x20','608055LTEOaF','312IUAQJK','join',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','(((.+)+)+)+$','\x20not\x20retrieved\x20from\x20','\x20in\x20this\x20way.','60vuHZfS','name','You\x20don\x27t\x20have\x20the\x20','\x20to\x20use.','logger','2102QhYpJd','toLowerCase','apply','11FuzEUs','25IeAnVw','66468uPTBqz','execute','actor','247oPhCGQ','2204620uZTbUD','use','249qcPqzV','\x20used\x20'];a45c=function(){return l;};return a45c();}function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x137;let f=c[d];return f;},a45d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a45i(0x154);static ['description']='Use\x20an\x20item.';[a45i(0x150)](a){const j=a45i;return this[j(0x154)](a);}[a45i(0x154)](a){const k=a45i,b=a[k(0x140)]('\x20')[k(0x14b)]();if(!this[k(0x151)][k(0x139)][k(0x13c)](b))return this[k(0x149)][k(0x158)]('UseCommand:\x20'+this[k(0x151)][k(0x146)]+k(0x159)+b+k(0x141)),k(0x147)+b+k(0x148);const c=this[k(0x151)][k(0x139)][k(0x138)](b);if(!c)return this[k(0x149)]['write'](k(0x13d)+b+k(0x143)+this['actor'][k(0x146)]+'\x27s\x20inventory.'),k(0x147)+b+'\x20to\x20use.';if(typeof c[k(0x154)]==='function'){const d=c[k(0x154)]();return this[k(0x149)][k(0x158)](k(0x13d)+this['actor']['name']+k(0x156)+b+'.'),d;}else return this[k(0x149)][k(0x158)]('UseCommand:\x20'+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),'You\x20can\x27t\x20use\x20the\x20'+b+k(0x144);}}
@@ -1 +1 @@
1
- const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0xb9))/0x1*(-parseInt(f(0xbd))/0x2)+-parseInt(f(0xbc))/0x3+parseInt(f(0xb3))/0x4+-parseInt(f(0xb0))/0x5*(parseInt(f(0xaf))/0x6)+-parseInt(f(0xba))/0x7+-parseInt(f(0xb6))/0x8+parseInt(f(0xbe))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xb0a13));function a46c(){const l=['8314740qoBOIi','toString','2100303JldtQP','758oeWmee','13281093BpXWaf','6xZrPeJ','1280745zXlBFt','apply','getAllRegisteredCommands','4553840DckfdU','search','commandMap','7969240fFgCbo','(((.+)+)+)+$','constructor','3297kJqyGo'];a46c=function(){return l;};return a46c();}const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a['toString']()[h(0xb4)](h(0xb7))[h(0xbb)]()[h(0xb8)](a46a)['search'](h(0xb7));});function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0xaf;let f=c[d];return f;},a46d(a,b);}a46a();export class CommandFactory{static [a46i(0xb5)]={};static['registerCommand'](a,b){const j=a46i;this[j(0xb5)][a]=b;}static['createCommand'](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a46i(0xb2)](){const k=a46i;return this[k(0xb5)];}}
1
+ const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x1af))/0x1+-parseInt(f(0x1bc))/0x2+-parseInt(f(0x1b4))/0x3*(-parseInt(f(0x1b1))/0x4)+parseInt(f(0x1b7))/0x5+parseInt(f(0x1b3))/0x6*(-parseInt(f(0x1b2))/0x7)+parseInt(f(0x1b5))/0x8*(parseInt(f(0x1c1))/0x9)+parseInt(f(0x1bf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x44434));function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x1af;let f=c[d];return f;},a46d(a,b);}const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x1b6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x1ba)]()['search']('(((.+)+)+)+$')[h(0x1ba)]()[h(0x1b8)](a46a)[h(0x1b9)](h(0x1bd));});a46a();function a46c(){const l=['(((.+)+)+)+$','getAllRegisteredCommands','241670PAbPnQ','commandMap','9JRFyxQ','278981kJiJCb','registerCommand','248UCTxts','21vzxwwg','414618CNKtXN','903OYIwlr','3476056HCMQmt','apply','2448335DBfUUP','constructor','search','toString','createCommand','402218OFlJFG'];a46c=function(){return l;};return a46c();}export class CommandFactory{static ['commandMap']={};static[a46i(0x1b0)](a,b){const j=a46i;this[j(0x1c0)][a]=b;}static[a46i(0x1bb)](a,b){const k=a46i,c=this[k(0x1c0)][a];if(c)return new c(b);return null;}static[a46i(0x1be)](){return this['commandMap'];}}
@@ -1 +1 @@
1
- function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x118;let f=c[d];return f;},a47d(a,b);}const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x11b))/0x1*(parseInt(f(0x137))/0x2)+parseInt(f(0x13b))/0x3+-parseInt(f(0x130))/0x4+parseInt(f(0x122))/0x5+-parseInt(f(0x13c))/0x6+parseInt(f(0x124))/0x7+-parseInt(f(0x133))/0x8*(parseInt(f(0x12e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x37d20));function a47c(){const o=['1827810UDacTk','isStartRoom','2696071eIuleH','key','constructor','convertToRoomConfig','inventory','createRoom','toString','type','INSIDE','sword','81UyQMdu','legarmor','931820zOWVTH','createPuzzle','name','768360ufsTdI','apply','search','roomType','892246YdMZAk','description','toUpperCase','book','1102854UuswVC','1430736OiNXEE','puzzle','addItem','content','1REGPiZ','forEach','boots','helmet','rewardItem','items','bodyarmor'];a47c=function(){return o;};return a47c();}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x12a)]()[h(0x135)]('(((.+)+)+)+$')[h(0x12a)]()[h(0x126)](a47a)[h(0x135)]('(((.+)+)+)+$');});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0x129)](a){const j=a47i,b=this[j(0x127)](a),c=new Room(b);if(a[j(0x120)]){const d=new Inventory();a[j(0x120)][j(0x11c)](e=>{const k=j;d[k(0x119)](this['createItem'](e));}),c[j(0x128)]=d;}return a[j(0x118)]&&c['setPuzzle'](this[j(0x131)](a['puzzle'])),c;}['createItem'](a){const l=a47i;switch(a[l(0x12b)]){case l(0x125):return new Key(a[l(0x132)],a[l(0x138)]);case l(0x13a):return new Book(a['name'],a[l(0x138)],a[l(0x11a)]);case l(0x12d):return new Sword(a['name'],a[l(0x138)]);case'rifle':return new Rifle(a[l(0x132)],a['description']);case l(0x11e):return new Helmet(a['name'],a[l(0x138)]);case l(0x121):return new BodyArmor(a[l(0x132)],a[l(0x138)]);case l(0x12f):return new LegArmor(a[l(0x132)],a[l(0x138)]);case l(0x11d):return new Boots(a['name'],a[l(0x138)]);case'gloves':return new Gloves(a[l(0x132)],a[l(0x138)]);case'gauntlets':return new Gauntlets(a['name'],a[l(0x138)]);default:return new BasicItem(a[l(0x132)],a[l(0x138)]);}}[a47i(0x131)](a){const m=a47i,b=this['createItem'](a[m(0x11f)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0x127)](a){const n=a47i,b=a['roomType']&&RoomType[a['roomType']['toUpperCase']()]?RoomType[a[n(0x136)][n(0x139)]()]:RoomType[n(0x12c)];return{'name':a[n(0x132)],'description':a[n(0x138)],'isStartRoom':a[n(0x123)],'roomType':b};}}
1
+ function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a47d(a,b);}const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x1b6))/0x1*(parseInt(f(0x1c9))/0x2)+-parseInt(f(0x1c7))/0x3+-parseInt(f(0x1bb))/0x4*(parseInt(f(0x1b5))/0x5)+-parseInt(f(0x1be))/0x6+parseInt(f(0x1bc))/0x7*(parseInt(f(0x1a5))/0x8)+-parseInt(f(0x1c2))/0x9+parseInt(f(0x1c4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x4df30));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1b0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x1b4)]()['search'](h(0x1a7))[h(0x1b4)]()['constructor'](a47a)[h(0x1c6)]('(((.+)+)+)+$');});a47a();function a47c(){const o=['toString','83460fCfOKB','234282dHjMIy','toUpperCase','puzzle','rewardItem','INSIDE','96twYaKI','7VCOjHb','roomType','1435248xvVgJQ','isStartRoom','helmet','addItem','4587147EWIMzQ','createRoom','10902150pkWvdn','gauntlets','search','145881iDMMZU','bodyarmor','2HYMrHQ','inventory','boots','rifle','1543272nyzBZL','description','(((.+)+)+)+$','gloves','createPuzzle','book','legarmor','convertToRoomConfig','key','content','name','apply','createItem','type','items'];a47c=function(){return o;};return a47c();}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0x1c3)](a){const j=a47i,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[j(0x1b3)]){const d=new Inventory();a[j(0x1b3)]['forEach'](e=>{const k=j;d[k(0x1c1)](this[k(0x1b1)](e));}),c[j(0x1a2)]=d;}return a[j(0x1b8)]&&c['setPuzzle'](this[j(0x1a9)](a[j(0x1b8)])),c;}['createItem'](a){const l=a47i;switch(a[l(0x1b2)]){case l(0x1ad):return new Key(a[l(0x1af)],a[l(0x1a6)]);case l(0x1aa):return new Book(a[l(0x1af)],a[l(0x1a6)],a[l(0x1ae)]);case'sword':return new Sword(a[l(0x1af)],a[l(0x1a6)]);case l(0x1a4):return new Rifle(a[l(0x1af)],a[l(0x1a6)]);case l(0x1c0):return new Helmet(a[l(0x1af)],a[l(0x1a6)]);case l(0x1c8):return new BodyArmor(a[l(0x1af)],a['description']);case l(0x1ab):return new LegArmor(a[l(0x1af)],a[l(0x1a6)]);case l(0x1a3):return new Boots(a[l(0x1af)],a[l(0x1a6)]);case l(0x1a8):return new Gloves(a[l(0x1af)],a['description']);case l(0x1c5):return new Gauntlets(a[l(0x1af)],a[l(0x1a6)]);default:return new BasicItem(a['name'],a[l(0x1a6)]);}}[a47i(0x1a9)](a){const m=a47i,b=this[m(0x1b1)](a[m(0x1b9)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0x1ac)](a){const n=a47i,b=a['roomType']&&RoomType[a[n(0x1bd)][n(0x1b7)]()]?RoomType[a[n(0x1bd)][n(0x1b7)]()]:RoomType[n(0x1ba)];return{'name':a[n(0x1af)],'description':a[n(0x1a6)],'isStartRoom':a[n(0x1bf)],'roomType':b};}}
@@ -1 +1 @@
1
- const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x1c8))/0x1+-parseInt(h(0x1b2))/0x2*(parseInt(h(0x1a3))/0x3)+-parseInt(h(0x1d2))/0x4*(parseInt(h(0x1aa))/0x5)+-parseInt(h(0x1a4))/0x6*(parseInt(h(0x1cd))/0x7)+parseInt(h(0x1b8))/0x8*(parseInt(h(0x1c0))/0x9)+-parseInt(h(0x19f))/0xa*(parseInt(h(0x1d4))/0xb)+parseInt(h(0x1b6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x6066e));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x1b4)]()[j(0x1af)]('(((.+)+)+)+$')['toString']()[j(0x1b5)](a48a)[j(0x1af)]('(((.+)+)+)+$');});a48a();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x19f;let f=c[d];return f;},a48d(a,b);}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 [a48k(0x1a8)];['scene'];['player'];['currentRoom'];[a48k(0x1b1)];constructor(a,b){const l=a48k;this['player']=a,this[l(0x1bf)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x1bf)][l(0x1d3)](),this['player'][l(0x1be)]=this[l(0x1cc)](),this[l(0x1ca)]();}[a48k(0x1ca)](){const m=a48k;CommandFactory[m(0x1a5)](m(0x1bc),LookCommand),CommandFactory[m(0x1a5)]('go',GoCommand),CommandFactory[m(0x1a5)](m(0x1c6),TakeCommand),CommandFactory[m(0x1a5)]('use',UseCommand),CommandFactory[m(0x1a5)](m(0x1ce),EquipCommand),CommandFactory[m(0x1a5)](m(0x1c7),UnequipCommand),CommandFactory[m(0x1a5)]('solve',SolveCommand),CommandFactory[m(0x1a5)](m(0x1ae),DropCommand),CommandFactory['registerCommand'](m(0x1a9),UnlockCommand),CommandFactory[m(0x1a5)](m(0x1c1),LockCommand),CommandFactory[m(0x1a5)](m(0x1af),SearchCommand),CommandFactory[m(0x1a5)](m(0x1a2),SayCommand);}['determineStartRoom'](){const n=a48k;return this[n(0x1bf)][n(0x1cc)]();}[a48k(0x1b7)](){const o=a48k;return o(0x1a6)+this[o(0x1cf)][o(0x1c3)];}static[a48k(0x1d0)](a,b){const p=a48k;return!Game[p(0x1a8)]&&(Game[p(0x1a8)]=new Game(a,b)),Game[p(0x1a8)];}[a48k(0x1d5)](a){const q=a48k,b=a[q(0x1ab)]()[q(0x1ad)]('\x20'),c=b[0x0][q(0x1c4)](),d=b[q(0x1a0)](0x1);if(c===q(0x1c9))return null;if(c==='maka')return q(0x1a1);if(c===q(0x1b9))return this[q(0x1cb)]();if(c===q(0x1a7))return'';const e={'actor':this[q(0x1cf)],'rooms':this[q(0x1bf)][q(0x1ba)](),'scene':this[q(0x1bf)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[q(0x1bb)](d);return g;}return q(0x1c5)+c+'\x22.';}[a48k(0x1cb)](){const r=a48k,a=CommandFactory[r(0x1b0)]();let b=r(0x1ac);for(const c in a){if(a[r(0x1bd)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x1b3)]()+'\x0a';}}return b+=r(0x1c2),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}function a48c(){const s=['equip','player','getInstance','apply','8yZzsCA','initialize','73799kfIHqg','handleInput','590GfpRLe','slice','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','say','3YeyJxx','492ZMmHEv','registerCommand','Welcome,\x20','clear','instance','unlock','1192090eoZSnL','trim','Available\x20Commands:\x0a','split','drop','search','getAllRegisteredCommands','rooms','1119652wqKTdr','getDescription','toString','constructor','13277604yVkCGT','getWelcomeMessage','8jtmTuS','help','getRooms','execute','look','hasOwnProperty','currentLocation','scene','3037041LDIFeW','lock','-\x20clear:\x20Clear\x20the\x20screen.\x0a','name','toLowerCase','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','take','unequip','429605NXtMyG','quit','registerCommands','getHelpMessage','determineStartRoom','3941xAfiPV'];a48c=function(){return s;};return a48c();}
1
+ const a48j=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x1ac))/0x1+-parseInt(h(0x197))/0x2+parseInt(h(0x184))/0x3*(parseInt(h(0x183))/0x4)+-parseInt(h(0x19c))/0x5*(-parseInt(h(0x19d))/0x6)+parseInt(h(0x18a))/0x7+parseInt(h(0x1ab))/0x8*(-parseInt(h(0x1ad))/0x9)+-parseInt(h(0x18e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xaaa16));function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x183;let f=c[d];return f;},a48d(a,b);}const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const i=a48d;return a48a['toString']()['search']('(((.+)+)+)+$')[i(0x185)]()[i(0x19e)](a48a)[i(0x1aa)]('(((.+)+)+)+$');});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';function a48c(){const r=['solve','-\x20quit:\x20Exit\x20the\x20game.\x0a','hasOwnProperty','quit','5021723TQRjMc','name','unequip','handleInput','6422950dGpDWw','split','trim','player','lock','registerCommand','scene','createCommand','Available\x20Commands:\x0a','2669688uGfHfa','toLowerCase','instance','slice','getRooms','5075430yDhXPa','6zuTBAi','constructor','clear','getAllRegisteredCommands','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','execute','drop','-\x20clear:\x20Clear\x20the\x20screen.\x0a','rooms','getHelpMessage','help','determineStartRoom','equip','search','4442872QhVstk','922231YZTpBQ','18mGXLit','4UGLhpQ','3396159paSdMy','toString'];a48c=function(){return r;};return a48c();}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 [a48j(0x199)];[a48j(0x194)];['player'];['currentRoom'];[a48j(0x1a5)];constructor(a,b){const k=a48j;this[k(0x191)]=a,this[k(0x194)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x194)]['initialize'](),this[k(0x191)]['currentLocation']=this['determineStartRoom'](),this['registerCommands']();}['registerCommands'](){const l=a48j;CommandFactory['registerCommand']('look',LookCommand),CommandFactory[l(0x193)]('go',GoCommand),CommandFactory[l(0x193)]('take',TakeCommand),CommandFactory[l(0x193)]('use',UseCommand),CommandFactory[l(0x193)](l(0x1a9),EquipCommand),CommandFactory[l(0x193)](l(0x18c),UnequipCommand),CommandFactory[l(0x193)](l(0x186),SolveCommand),CommandFactory[l(0x193)](l(0x1a3),DropCommand),CommandFactory[l(0x193)]('unlock',UnlockCommand),CommandFactory[l(0x193)](l(0x192),LockCommand),CommandFactory['registerCommand'](l(0x1aa),SearchCommand),CommandFactory[l(0x193)]('say',SayCommand);}[a48j(0x1a8)](){const m=a48j;return this[m(0x194)][m(0x1a8)]();}['getWelcomeMessage'](){const n=a48j;return'Welcome,\x20'+this[n(0x191)][n(0x18b)];}static['getInstance'](a,b){const o=a48j;return!Game['instance']&&(Game[o(0x199)]=new Game(a,b)),Game[o(0x199)];}[a48j(0x18d)](a){const p=a48j,b=a[p(0x190)]()[p(0x18f)]('\x20'),c=b[0x0][p(0x198)](),d=b[p(0x19a)](0x1);if(c===p(0x189))return null;if(c==='maka')return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===p(0x1a7))return this[p(0x1a6)]();if(c===p(0x19f))return'';const e={'actor':this[p(0x191)],'rooms':this[p(0x194)][p(0x19b)](),'scene':this['scene']},f=CommandFactory[p(0x195)](c,e);if(f){const g=f[p(0x1a2)](d);return g;}return p(0x1a1)+c+'\x22.';}[a48j(0x1a6)](){const q=a48j,a=CommandFactory[q(0x1a0)]();let b=q(0x196);for(const c in a){if(a[q(0x188)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=q(0x1a4),b+=q(0x187),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1d6))/0x1*(parseInt(f(0x1db))/0x2)+parseInt(f(0x1d9))/0x3*(-parseInt(f(0x1de))/0x4)+-parseInt(f(0x1e0))/0x5+parseInt(f(0x1d8))/0x6+parseInt(f(0x1df))/0x7+-parseInt(f(0x1dc))/0x8*(-parseInt(f(0x1e1))/0x9)+parseInt(f(0x1dd))/0xa*(-parseInt(f(0x1d4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x25787));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0x1d7)](h(0x1d5))['toString']()['constructor'](a49a)[h(0x1d7)](h(0x1d5));});function a49c(){var i=['11KhpdQA','(((.+)+)+)+$','173657NjLUmp','search','670452dNMIGT','627921upCava','apply','2tbCmBO','208Nzrxrd','2871620ELizBH','4PNabvX','1800183nexdZr','595010UMJIAo','78363SICGRy'];a49c=function(){return i;};return a49c();}a49a();export*from'./door.js';export*from'./inventory.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1d4;var f=c[d];return f;},a49d(a,b);}export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0xe1))/0x1*(-parseInt(f(0xe4))/0x2)+-parseInt(f(0xdd))/0x3+parseInt(f(0xda))/0x4*(-parseInt(f(0xd8))/0x5)+-parseInt(f(0xd7))/0x6*(parseInt(f(0xde))/0x7)+parseInt(f(0xe2))/0x8*(parseInt(f(0xe3))/0x9)+-parseInt(f(0xd9))/0xa+parseInt(f(0xdf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xd3738));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0xe5)]()[h(0xdc)](h(0xe0))['toString']()[h(0xd6)](a49a)[h(0xdc)]('(((.+)+)+)+$');});a49a();export*from'./door.js';export*from'./inventory.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xd6;var f=c[d];return f;},a49d(a,b);}export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a49c(){var i=['14410380dQayvr','28QbjMfq','apply','search','2314035vysfFh','69587XFrJwJ','28992084BDAqYG','(((.+)+)+)+$','4QIDeER','5917616UcviWZ','18HzXBal','44494bgcLvm','toString','constructor','408jbojON','321115ofYyNZ'];a49c=function(){return i;};return a49c();}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x136))/0x1*(-parseInt(f(0x135))/0x2)+parseInt(f(0x12a))/0x3+parseInt(f(0x142))/0x4+parseInt(f(0x145))/0x5*(parseInt(f(0x127))/0x6)+-parseInt(f(0x146))/0x7*(-parseInt(f(0x13a))/0x8)+parseInt(f(0x133))/0x9*(-parseInt(f(0x137))/0xa)+-parseInt(f(0x126))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x84d48));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x140)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x134)]()[h(0x128)](h(0x138))[h(0x134)]()[h(0x12d)](a50a)['search'](h(0x138));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x125;var f=c[d];return f;},a50d(a,b);}function a50c(){var n=['4KSldXA','336318sexqxe','4114840mSfirW','(((.+)+)+)+$','\x20and\x20','4208mjWLXn','name','checkIfLocked','roomA','Door\x20unlocked:\x20','getOtherSide','apply','Failed\x20to\x20unlock\x20door:\x20','4134164lJXesL','checkIfLockable','unlockItemOrSolution','5044855lrXKAo','12775MMOENe','getInstance','Door\x20created\x20between\x20','30003963bqEuNa','6fAmeTQ','search','write','24273GTmoWF','.\x20Is\x20Locked:\x20','isLockable','constructor','logger','To\x20','roomB','isLocked','.\x20Used:\x20','9AYabxo','toString'];a50c=function(){return n;};return a50c();}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0x13d)];[a50i(0x130)];[a50i(0x131)];[a50i(0x144)];[a50i(0x13b)];[a50i(0x12e)];[a50i(0x12c)];constructor(a){var j=a50i;super(),this[j(0x13d)]=a['roomA'],this[j(0x130)]=a[j(0x130)],this[j(0x131)]=a[j(0x131)]||![],this['unlockItemOrSolution']=a[j(0x144)],this['name']=a[j(0x13b)]?capitalCase(a[j(0x13b)]):j(0x12f)+a[j(0x130)][j(0x13b)],this[j(0x12e)]=Logger[j(0x147)](),this['isLockable']=!!a['unlockItemOrSolution'],this[j(0x12e)][j(0x129)](j(0x125)+this[j(0x13d)][j(0x13b)]+j(0x139)+this['roomB'][j(0x13b)]+j(0x12b)+this[j(0x131)]);}[a50i(0x13f)](a){var k=a50i;return this[k(0x13d)]===a?this[k(0x130)]:this[k(0x13d)];}['attemptUnlock'](a){var l=a50i;if(this[l(0x131)]&&this[l(0x144)]&&this['unlockItemOrSolution']===a)return this[l(0x131)]=![],this[l(0x12e)][l(0x129)](l(0x13e)+this[l(0x13b)]+l(0x132)+a),!![];return this['logger'][l(0x129)](l(0x141)+this[l(0x13b)]+l(0x132)+a),![];}[a50i(0x13c)](){var m=a50i;return this[m(0x131)];}[a50i(0x143)](){return this['isLockable'];}}
1
+ var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0xba))/0x1*(-parseInt(f(0xc2))/0x2)+-parseInt(f(0xad))/0x3+parseInt(f(0xb8))/0x4+-parseInt(f(0xb7))/0x5*(-parseInt(f(0xb0))/0x6)+parseInt(f(0xb6))/0x7+parseInt(f(0xaf))/0x8+-parseInt(f(0xb1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x643a0));function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0xa8;var f=c[d];return f;},a50d(a,b);}var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0xae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0xab)]()[h(0xc1)]('(((.+)+)+)+$')['toString']()[h(0xc3)](a50a)['search']('(((.+)+)+)+$');});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a50c(){var o=['roomA','unlockItemOrSolution','name','getOtherSide','.\x20Used:\x20','roomB','search','2AmxEqA','constructor','isLocked','To\x20','Failed\x20to\x20unlock\x20door:\x20','\x20and\x20','toString','logger','2179110PhsqXG','apply','1136248ZStMfG','24rcmTBq','5835474ZibkoL','getInstance','isLockable','.\x20Is\x20Locked:\x20','checkIfLocked','5097043pLwzTk','582695kJfeQL','3273896UCgPYs','write','369526PiacBk'];a50c=function(){return o;};return a50c();}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0xbb)];[a50i(0xc0)];[a50i(0xc4)];['unlockItemOrSolution'];[a50i(0xbd)];['logger'];[a50i(0xb3)];constructor(a){var j=a50i;super(),this[j(0xbb)]=a[j(0xbb)],this[j(0xc0)]=a[j(0xc0)],this[j(0xc4)]=a['isLocked']||![],this['unlockItemOrSolution']=a[j(0xbc)],this[j(0xbd)]=a[j(0xbd)]?capitalCase(a[j(0xbd)]):j(0xa8)+a[j(0xc0)][j(0xbd)],this['logger']=Logger[j(0xb2)](),this[j(0xb3)]=!!a[j(0xbc)],this['logger'][j(0xb9)]('Door\x20created\x20between\x20'+this[j(0xbb)][j(0xbd)]+j(0xaa)+this['roomB'][j(0xbd)]+j(0xb4)+this[j(0xc4)]);}[a50i(0xbe)](a){var k=a50i;return this['roomA']===a?this[k(0xc0)]:this['roomA'];}['attemptUnlock'](a){var l=a50i;if(this['isLocked']&&this[l(0xbc)]&&this[l(0xbc)]===a)return this['isLocked']=![],this[l(0xac)]['write']('Door\x20unlocked:\x20'+this[l(0xbd)]+l(0xbf)+a),!![];return this[l(0xac)]['write'](l(0xa9)+this['name']+'.\x20Used:\x20'+a),![];}[a50i(0xb5)](){var m=a50i;return this[m(0xc4)];}['checkIfLockable'](){var n=a50i;return this[n(0xb3)];}}
@@ -1 +1 @@
1
- function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xdb;let f=c[d];return f;},a51d(a,b);}const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0xfc))/0x1+-parseInt(f(0x104))/0x2*(-parseInt(f(0x105))/0x3)+-parseInt(f(0xe1))/0x4*(-parseInt(f(0xfb))/0x5)+parseInt(f(0xe2))/0x6+-parseInt(f(0xf2))/0x7+parseInt(f(0xf4))/0x8+parseInt(f(0xe4))/0x9*(-parseInt(f(0xe0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xd85a3));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a['toString']()[h(0xf6)](h(0xec))[h(0x101)]()[h(0x103)](a51a)[h(0xf6)](h(0xec));});a51a();import{capitalCase}from'change-case';function a51c(){const r=['81855qxgViv','Checked\x20for\x20item:\x20','\x20in\x20','hasItem','listItems','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','\x20from\x20inventory.','\x20to\x20inventory.','(((.+)+)+)+$','set','map','.\x20Item\x20not\x20found.','getItem','removeItem','6800850KQigks','toLowerCase','4895984VkoXwf','apply','search','logger','.\x20Exists:\x20','join','weight','5IeIlfH','756753Hxyouw','Listed\x20items\x20in\x20inventory:\x20','getWeight','values','keys','toString','Removed\x20item:\x20','constructor','1888YhVtvn','5250ecNwam','delete','items','write','has','Failed\x20to\x20remove\x20item:\x20','1430Cpgshp','2972472lAfTGx','5447706ILnqxh','name'];a51c=function(){return r;};return a51c();}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0xdc)];[a51i(0xf7)];constructor(){const j=a51i;super(),this[j(0xdc)]=new Map(),this['logger']=Logger['getInstance']();}['addItem'](a){const k=a51i;this[k(0xdc)][k(0xed)](a['name'][k(0xf3)](),a),this[k(0xf7)][k(0xdd)]('Added\x20item:\x20'+a[k(0xe3)]+k(0xeb));}[a51i(0xf1)](a){const l=a51i,b=this[l(0xf0)](a);if(b)return this[l(0xdc)][l(0xdb)](a[l(0xf3)]()),this[l(0xf7)][l(0xdd)](l(0x102)+a+l(0xea)),b;return this[l(0xf7)][l(0xdd)](l(0xdf)+a+l(0xef)),null;}[a51i(0xe7)](a){const m=a51i,b=this[m(0xdc)][m(0xde)](a[m(0xf3)]()),c=[...this[m(0xdc)][m(0x100)]()];return this[m(0xf7)][m(0xdd)](m(0xe5)+a+m(0xe6)+c[m(0xf9)](',\x20')+m(0xf8)+b+'.'),b;}[a51i(0xf0)](a){const n=a51i,b=this[n(0xdc)]['get'](a[n(0xf3)]())||null;return b?this['logger'][n(0xdd)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0xf7)][n(0xdd)](n(0xe9)+a+n(0xef)),b;}[a51i(0xe8)](){const o=a51i,a=[...this[o(0xdc)][o(0x100)]()],b=a[o(0xee)](c=>capitalCase(c));return this[o(0xf7)]['write'](o(0xfd)+b['join'](',\x20')+'.'),a;}[a51i(0xfe)](){const p=a51i;let a=0x0;for(const b of this[p(0xdc)]['values']()){a+=b[p(0xfa)];}return a;}['getAllItems'](){const q=a51i;return[...this['items'][q(0xff)]()];}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x8b))/0x1+-parseInt(f(0x8d))/0x2+parseInt(f(0x88))/0x3+parseInt(f(0xa5))/0x4*(-parseInt(f(0x9a))/0x5)+-parseInt(f(0x92))/0x6+parseInt(f(0x95))/0x7*(parseInt(f(0xb0))/0x8)+-parseInt(f(0xaa))/0x9*(-parseInt(f(0xa7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xacb0a));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x8f)]()['search']('(((.+)+)+)+$')[h(0x8f)]()[h(0xa6)](a51a)[h(0x86)](h(0x99));});a51a();import{capitalCase}from'change-case';function a51c(){const r=['toLowerCase','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','values','\x20to\x20inventory.','get','name','Checked\x20for\x20item:\x20','.\x20Exists:\x20','getWeight','132UDnDTe','constructor','1397780SdtYwW','apply','write','207EpszAm','join','\x20in\x20','Added\x20item:\x20','Failed\x20to\x20remove\x20item:\x20','hasItem','287376cLNSMv','addItem','search','map','1126299mQnVUM','Listed\x20items\x20in\x20inventory:\x20','removeItem','588030BdcUIM','keys','258468dSoqMx','has','toString','listItems','getItem','6459126NBXgpN','logger','delete','49vEJsjn','\x20from\x20inventory.','getInstance','items','(((.+)+)+)+$','203130aAsYpb','Removed\x20item:\x20'];a51c=function(){return r;};return a51c();}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x85;let f=c[d];return f;},a51d(a,b);}export class Inventory extends AbstractInventory{[a51i(0x98)];[a51i(0x93)];constructor(){const j=a51i;super(),this[j(0x98)]=new Map(),this['logger']=Logger[j(0x97)]();}[a51i(0x85)](a){const k=a51i;this[k(0x98)]['set'](a[k(0xa1)]['toLowerCase'](),a),this[k(0x93)][k(0xa9)](k(0xad)+a[k(0xa1)]+k(0x9f));}[a51i(0x8a)](a){const l=a51i,b=this[l(0x91)](a);if(b)return this[l(0x98)][l(0x94)](a[l(0x9c)]()),this[l(0x93)]['write'](l(0x9b)+a+l(0x96)),b;return this[l(0x93)][l(0xa9)](l(0xae)+a+'.\x20Item\x20not\x20found.'),null;}[a51i(0xaf)](a){const m=a51i,b=this[m(0x98)][m(0x8e)](a[m(0x9c)]()),c=[...this['items'][m(0x8c)]()];return this[m(0x93)][m(0xa9)](m(0xa2)+a+m(0xac)+c[m(0xab)](',\x20')+m(0xa3)+b+'.'),b;}[a51i(0x91)](a){const n=a51i,b=this[n(0x98)][n(0xa0)](a['toLowerCase']())||null;return b?this['logger'][n(0xa9)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0x93)]['write'](n(0x9d)+a+'.\x20Item\x20not\x20found.'),b;}[a51i(0x90)](){const o=a51i,a=[...this[o(0x98)][o(0x8c)]()],b=a[o(0x87)](c=>capitalCase(c));return this['logger'][o(0xa9)](o(0x89)+b[o(0xab)](',\x20')+'.'),a;}[a51i(0xa4)](){const p=a51i;let a=0x0;for(const b of this[p(0x98)][p(0x9e)]()){a+=b['weight'];}return a;}['getAllItems'](){const q=a51i;return[...this[q(0x98)][q(0x9e)]()];}}
@@ -1 +1 @@
1
- var a52i=a52d;function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xb8;var f=c[d];return f;},a52d(a,b);}function a52c(){var l=['size','26504GwlkUe','category','1289700HQpeKo','apply','texture','color','description','shape','rating','.\x20Nothing\x20special\x20happens.','search','name','(((.+)+)+)+$','222424FIZtXL','2944170mZTUxQ','343GlnbTC','167108XAbQSe','You\x20use\x20the\x20','uuid','9VFDXyO','4ptKZAI','696875hsLBlY','9078660YinuZT','use','toString','weight'];a52c=function(){return l;};return a52c();}(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xbe))/0x1*(parseInt(f(0xd2))/0x2)+parseInt(f(0xbd))/0x3*(parseInt(f(0xba))/0x4)+-parseInt(f(0xbf))/0x5+parseInt(f(0xc7))/0x6+-parseInt(f(0xb9))/0x7*(-parseInt(f(0xc5))/0x8)+parseInt(f(0xb8))/0x9+-parseInt(f(0xc0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x3781b));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xc2)]()[h(0xcf)]('(((.+)+)+)+$')[h(0xc2)]()['constructor'](a52a)[h(0xcf)](h(0xd1));});a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0xbc)];[a52i(0xd0)];['description'];[a52i(0xc4)];[a52i(0xc6)];[a52i(0xcc)];[a52i(0xca)];['texture'];[a52i(0xcd)];[a52i(0xc3)];constructor(a){var j=a52i;super(),this[j(0xd0)]=a[j(0xd0)],this[j(0xcb)]=a['description'],this[j(0xc4)]=a[j(0xc4)],this[j(0xc6)]=a[j(0xc6)],this[j(0xcc)]=a[j(0xcc)],this[j(0xca)]=a[j(0xca)],this[j(0xc9)]=a[j(0xc9)],this[j(0xcd)]=a['rating'],this[j(0xc3)]=a[j(0xc3)],this[j(0xbc)]=a52e();}[a52i(0xc1)](){var k=a52i;return k(0xbb)+this['name']+k(0xce);}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xd3))/0x1+parseInt(f(0xe1))/0x2+-parseInt(f(0xe2))/0x3*(-parseInt(f(0xce))/0x4)+-parseInt(f(0xe3))/0x5*(parseInt(f(0xd5))/0x6)+-parseInt(f(0xd4))/0x7*(parseInt(f(0xdb))/0x8)+-parseInt(f(0xd1))/0x9+parseInt(f(0xda))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x92275));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xd8)]()[h(0xcd)](h(0xd9))[h(0xd8)]()['constructor'](a52a)['search']('(((.+)+)+)+$');});a52a();function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xcd;var f=c[d];return f;},a52d(a,b);}import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0xe0)];[a52i(0xdf)];[a52i(0xdd)];[a52i(0xcf)];[a52i(0xd0)];[a52i(0xe4)];[a52i(0xde)];['texture'];[a52i(0xdc)];[a52i(0xd6)];constructor(a){var j=a52i;super(),this[j(0xdf)]=a['name'],this[j(0xdd)]=a[j(0xdd)],this['size']=a[j(0xcf)],this['category']=a['category'],this[j(0xe4)]=a['shape'],this['color']=a[j(0xde)],this[j(0xe5)]=a[j(0xe5)],this[j(0xdc)]=a[j(0xdc)],this[j(0xd6)]=a[j(0xd6)],this[j(0xe0)]=a52e();}[a52i(0xd7)](){var k=a52i;return'You\x20use\x20the\x20'+this[k(0xdf)]+'.\x20Nothing\x20special\x20happens.';}}function a52c(){var l=['name','uuid','1258838ILoZoh','18VFwFHs','557605ebpVfB','shape','texture','search','98028BlqecT','size','category','2256399rBVNSc','apply','762614KTmPcN','204855vXAnww','6zAnRQz','weight','use','toString','(((.+)+)+)+$','13274750PIGUlx','104DJWdTE','rating','description','color'];a52c=function(){return l;};return a52c();}
@@ -1 +1 @@
1
- function a53c(){const n=['3079196MZJSGk','scene','238142MasHyu','length','4080792BAIcAu','_name','moveTo','613116cxzarb','execute','6OgxwMT','5fYpnaD','autonomousMove','7180794HHEfMs','name','search','5822817GbCEfG','toString','floor','10amvHEr','random','_dialogue','76168UfZaEL','(((.+)+)+)+$','rooms'];a53c=function(){return n;};return a53c();}const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x18e))/0x1+parseInt(f(0x189))/0x2+-parseInt(f(0x193))/0x3+-parseInt(f(0x18c))/0x4*(parseInt(f(0x196))/0x5)+parseInt(f(0x195))/0x6*(parseInt(f(0x19b))/0x7)+-parseInt(f(0x190))/0x8+-parseInt(f(0x198))/0x9*(-parseInt(f(0x19e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x66f15));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const g=a53d;return a53a[g(0x19c)]()[g(0x19a)](g(0x18a))[g(0x19c)]()['constructor'](a53a)[g(0x19a)](g(0x18a));});a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x187;let f=c[d];return f;},a53d(a,b);}export class NPC extends Player{[a53h(0x191)];['_dialogue'];[a53h(0x18b)];['scene'];constructor(a,b,c,d){const i=a53h;super(d),this[i(0x191)]=a,this[i(0x188)]=b,this['rooms']=c;}get[a53h(0x199)](){const j=a53h;return this[j(0x191)];}['speak'](){const k=a53h;return this[k(0x188)][Math[k(0x19d)](Math[k(0x187)]()*this['_dialogue']['length'])];}[a53h(0x197)](a){const l=a53h,b=a[Math[l(0x19d)](Math['random']()*a[l(0x18f)])];this['moveTo'](b['name']);}[a53h(0x192)](a){const m=a53h,b={'actor':this,'rooms':this[m(0x18b)],'scene':this[m(0x18d)]},c=new GoCommand(b);c[m(0x194)]([a]);}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0xff))/0x1*(-parseInt(f(0x102))/0x2)+parseInt(f(0x104))/0x3*(-parseInt(f(0x108))/0x4)+parseInt(f(0x10d))/0x5*(parseInt(f(0x10e))/0x6)+parseInt(f(0x115))/0x7*(-parseInt(f(0x107))/0x8)+parseInt(f(0x109))/0x9+-parseInt(f(0x103))/0xa+parseInt(f(0x100))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xcdb2a));function a53c(){const o=['42uYfCAy','(((.+)+)+)+$','_dialogue','10008lyPpRJ','276796ZHkABi','9460791eQVYvF','execute','apply','scene','5lrlBoM','8183814YkHcOj','autonomousMove','name','length','rooms','moveTo','floor','2968cLNZab','_name','search','constructor','20738ACWtFM','24141766MnUJqr','toString','94xIahXs','12934400mpCSEY'];a53c=function(){return o;};return a53c();}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x101)]()[h(0x117)](h(0x105))[h(0x101)]()[h(0xfe)](a53a)[h(0x117)](h(0x105));});function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xfe;let f=c[d];return f;},a53d(a,b);}a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0x116)];[a53i(0x106)];[a53i(0x112)];[a53i(0x10c)];constructor(a,b,c,d){const j=a53i;super(d),this['_name']=a,this['_dialogue']=b,this[j(0x112)]=c;}get[a53i(0x110)](){const k=a53i;return this[k(0x116)];}['speak'](){const l=a53i;return this[l(0x106)][Math['floor'](Math['random']()*this[l(0x106)][l(0x111)])];}[a53i(0x10f)](a){const m=a53i,b=a[Math[m(0x114)](Math['random']()*a['length'])];this[m(0x113)](b[m(0x110)]);}[a53i(0x113)](a){const n=a53i,b={'actor':this,'rooms':this[n(0x112)],'scene':this[n(0x10c)]},c=new GoCommand(b);c[n(0x10a)]([a]);}}
@@ -1 +1 @@
1
- const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0xd8))/0x1+parseInt(f(0x10b))/0x2*(parseInt(f(0xff))/0x3)+parseInt(f(0x107))/0x4+parseInt(f(0xcb))/0x5*(-parseInt(f(0x119))/0x6)+parseInt(f(0xef))/0x7+-parseInt(f(0xd5))/0x8+-parseInt(f(0xcf))/0x9*(parseInt(f(0xee))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x811cb));function a54c(){const B=['ArmArmor','maxCarryingWeight','enterRoom','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','shield','apply','playerName','_currentLocation','getInstance','12csVOrj','arm\x20armor','removeItem','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','logger','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','Shield','startLocation','leaveRoom','error','getWeight','Invalid\x20category\x20or\x20slot:\x20','leftHand','\x20to\x20player\x27s\x20inventory.','LegArmor','name','1882885ODSqlh','removeInventory','Max\x20carrying\x20weight\x20must\x20be\x20positive.','constructor','3354102UtwbdW','hear','Helmet','You\x20unequipped\x20','equip','boots','7972408oizXGJ','currentLocation','You\x20can\x27t\x20equip\x20','739087REYIdX','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','gloves','_equipment','weight','Nexus','Hat','\x20is\x20now\x20listening\x20in\x20room\x20','hasItem','initialEquipment','.\x20You\x20must\x20unequip\x20it\x20first.','feet','BodyArmor','body\x20armor','toString','canEquip','\x20says:\x20\x22','weapon','category','off','toLowerCase','legarmor','10NtXzmd','4329717BjOMPz','Gloves','includes','write','determineEquipmentSlot','inventory','bind','helmet','You\x20don\x27t\x20have\x20','head','Added\x20','inventoryItems','_playerName','unequipBySlot','speak','Boots','74691DkPfSe','rightHand','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','equipment','_inventory','Weapon','\x20is\x20no\x20longer\x20listeng\x20in\x20','legs','1489676xUJnGZ','You\x20equipped\x20','A\x20featureless\x20room','torso','74nszdqY','search','addInventory','\x20in\x20your\x20inventory.','_maxCarryingWeight'];a54c=function(){return B;};return a54c();}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x115)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0xe6)]()[h(0x10c)]('(((.+)+)+)+$')['toString']()[h(0xce)](a54a)[h(0x10c)]('(((.+)+)+)+$');});a54a();import{camelCase}from'change-case';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xc9;let f=c[d];return f;},a54d(a,b);}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a54i(0x117)];['_inventory'];[a54i(0xdb)];[a54i(0x10f)]=0x32;[a54i(0x11d)];constructor(a){const j=a54i;super(),this[j(0xfb)]=a[j(0x116)],this[j(0x117)]=a[j(0x120)]||new Room({'name':j(0xdd),'description':j(0x109)}),this[j(0x103)]=new Inventory(),this[j(0x11d)]=Logger[j(0x118)]();if(a?.[j(0xfa)])for(const b of a['inventoryItems']){this['_inventory']['addItem'](b);}this[j(0xdb)]=a?.[j(0xe1)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0xca)](){return this['_playerName'];}get['currentLocation'](){const k=a54i;return this[k(0x117)];}set[a54i(0xd6)](a){const l=a54i;this['_currentLocation']!==a&&(this[l(0x121)](),this[l(0x112)](a)),this[l(0x117)]=a;}get[a54i(0xf4)](){const m=a54i;return this[m(0x103)];}get[a54i(0x102)](){return this['_equipment'];}set[a54i(0x102)](a){const n=a54i;this[n(0xdb)]=a;}get[a54i(0x111)](){const o=a54i;return this[o(0x10f)];}set[a54i(0x111)](a){const p=a54i;a>0x0?this[p(0x10f)]=a:console[p(0x122)](p(0xcd));}get['currentWeight'](){const q=a54i;let a=this[q(0x103)][q(0x123)]();for(const b in this['_equipment']){const c=this[q(0xdb)][b];c&&(a+=c[q(0xdc)]);}return a;}[a54i(0x10d)](a){const r=a54i;if(this['currentWeight']+a[r(0xdc)]>this[r(0x111)]){this[r(0x11d)][r(0xf2)](r(0x101));throw new Error(r(0x113));}this['_inventory']['addItem'](a),this[r(0x11d)][r(0xf2)](r(0xf9)+a[r(0xca)]+r(0x126));}[a54i(0xcc)](a){const s=a54i;if(this['_inventory'][s(0x11b)](a[s(0xca)]))return this[s(0x11d)][s(0xf2)]('Removed\x20'+a[s(0xca)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[s(0x11d)][s(0xf2)]('Failed\x20to\x20remove\x20'+a['name']+'\x20from\x20player\x27s\x20inventory.'),![];}[a54i(0xd3)](a){const t=a54i;if(!this[t(0x103)][t(0xe0)](a[t(0xca)]))return t(0xf7)+a[t(0xca)]+t(0x10e);if(!this['canEquip'](a))return t(0xd7)+a['name']+'.';const b=this['determineEquipmentSlot'](a[t(0xea)]);if(!b)return a[t(0xca)]+t(0xd9);if(this[t(0x102)][b])return t(0x11c)+b+t(0xe2);return this[t(0x102)][b]=a,this[t(0xcc)](a),t(0x108)+a['name']+'.';}['unequip'](a){const u=a54i;let b=a;if(!this[u(0x102)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return u(0x124)+a+'.';}return this[u(0xfc)](b);}[a54i(0xf3)](a){const v=a54i;switch(a[v(0xec)]()){case Category[v(0x104)][v(0xec)]():return v(0x100);case Category[v(0x11f)][v(0xec)]():return v(0x125);case Category[v(0xf0)][v(0xec)]():return'gloves';case Category[v(0xd1)][v(0xec)]():case Category[v(0xde)][v(0xec)]():return v(0xf8);case Category[v(0xfe)][v(0xec)]():return v(0xe3);case Category[v(0xc9)][v(0xec)]():return v(0x106);case Category[v(0x110)][v(0xec)]():return'arms';case Category[v(0xe4)][v(0xec)]():return v(0x10a);case v(0xe9):return v(0x100);case v(0x114):return'leftHand';case'gloves':return v(0xda);case v(0xf6):case'hat':return v(0xf8);case v(0xd4):return'feet';case'leg\x20armor':case v(0xed):return v(0x106);case v(0x11a):case'armarmor':return'arms';case v(0xe5):case'bodyarmor':case v(0x10a):return v(0x10a);default:return null;}}[a54i(0xe7)](a){const w=a54i;return Object['values'](Category)[w(0xf1)](a['category']);}[a54i(0xfc)](a){const x=a54i,b=this[x(0x102)][a];if(!b)return x(0x11e)+a+'\x20slot.';return this[x(0x10d)](b),this[x(0x102)][a]=null,x(0xd2)+b[x(0xca)]+'.';}['hear'](a,b){const y=a54i;a!==this&&this['logger']['log'](a[y(0xca)]+y(0xe8)+b+'\x22');}[a54i(0x112)](a){const z=a54i;this['_currentLocation']=a,a['on'](z(0xfd),this[z(0xd0)]['bind'](this)),this['logger'][z(0xf2)](this[z(0xca)]+z(0xdf)+a[z(0xca)]);}[a54i(0x121)](){const A=a54i;this[A(0x117)]&&(this['_currentLocation'][A(0xeb)]('speak',this[A(0xd0)][A(0xf5)](this)),this[A(0x11d)][A(0xf2)](this['name']+A(0x105)+this[A(0x117)][A(0xca)]));}}
1
+ const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0x130))/0x1*(parseInt(f(0x13b))/0x2)+-parseInt(f(0x158))/0x3+parseInt(f(0x145))/0x4*(parseInt(f(0x13a))/0x5)+-parseInt(f(0x143))/0x6+-parseInt(f(0x153))/0x7+-parseInt(f(0x159))/0x8*(-parseInt(f(0x142))/0x9)+parseInt(f(0x15d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x2e752));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x13f)]()[h(0x133)](h(0x134))[h(0x13f)]()[h(0x14b)](a54a)[h(0x133)](h(0x134));});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';function a54c(){const C=['1193175pbqWoI','670638LXiwJR','category','gloves','\x20from\x20player\x27s\x20inventory.','toString','leftHand','\x20in\x20your\x20inventory.','594PXLDFr','1571478TLihUC','toLowerCase','4oQYSUP','Nexus','maxCarryingWeight','body\x20armor','startLocation','error','constructor','weight','write','removeInventory','logger','log','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','BodyArmor','1928633ysLuUX','\x20says:\x20\x22','off','_playerName','speak','1008282qKVRkH','8072gEwsGk','_inventory','hasItem','feet','10939060pHtFqL','_maxCarryingWeight','\x20to\x20player\x27s\x20inventory.','rightHand','.\x20You\x20must\x20unequip\x20it\x20first.','_equipment','unequip','currentWeight','addItem','inventory','torso','Failed\x20to\x20remove\x20','You\x20can\x27t\x20equip\x20','equipment','hear','Boots','Invalid\x20category\x20or\x20slot:\x20','armarmor','playerName','canEquip','inventoryItems','helmet','legarmor','name','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','getInstance','weapon','Hat','ArmArmor','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','arms','Shield','unequipBySlot','_currentLocation','values','leg\x20armor','legs','apply','A\x20featureless\x20room','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','boots','bind','1IGjsAz','Gloves','determineEquipmentSlot','search','(((.+)+)+)+$','Weapon','getWeight','Added\x20','enterRoom','removeItem'];a54c=function(){return C;};return a54c();}import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x119;let f=c[d];return f;},a54d(a,b);}export class Player extends AbstractPlayer{[a54i(0x156)];['_currentLocation'];[a54i(0x15a)];[a54i(0x162)];[a54i(0x15e)]=0x32;['logger'];constructor(a){const j=a54i;super(),this['_playerName']=a[j(0x16f)],this[j(0x127)]=a[j(0x149)]||new Room({'name':j(0x146),'description':j(0x12c)}),this[j(0x15a)]=new Inventory(),this[j(0x14f)]=Logger[j(0x11f)]();if(a?.['inventoryItems'])for(const b of a[j(0x11a)]){this[j(0x15a)]['addItem'](b);}this[j(0x162)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x11d)](){return this['_playerName'];}get['currentLocation'](){const k=a54i;return this[k(0x127)];}set['currentLocation'](a){const l=a54i;this['_currentLocation']!==a&&(this['leaveRoom'](),this['enterRoom'](a)),this[l(0x127)]=a;}get[a54i(0x166)](){const m=a54i;return this[m(0x15a)];}get[a54i(0x16a)](){const n=a54i;return this[n(0x162)];}set[a54i(0x16a)](a){const o=a54i;this[o(0x162)]=a;}get[a54i(0x147)](){const p=a54i;return this[p(0x15e)];}set['maxCarryingWeight'](a){const q=a54i;a>0x0?this['_maxCarryingWeight']=a:console[q(0x14a)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a54i(0x164)](){const r=a54i;let a=this[r(0x15a)][r(0x136)]();for(const b in this[r(0x162)]){const c=this[r(0x162)][b];c&&(a+=c[r(0x14c)]);}return a;}['addInventory'](a){const s=a54i;if(this[s(0x164)]+a['weight']>this[s(0x147)]){this[s(0x14f)][s(0x14d)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(s(0x123));}this[s(0x15a)][s(0x165)](a),this[s(0x14f)][s(0x14d)](s(0x137)+a[s(0x11d)]+s(0x15f));}[a54i(0x14e)](a){const t=a54i;if(this[t(0x15a)][t(0x139)](a[t(0x11d)]))return this[t(0x14f)][t(0x14d)]('Removed\x20'+a[t(0x11d)]+t(0x13e)),!![];return this['logger'][t(0x14d)](t(0x168)+a['name']+'\x20from\x20player\x27s\x20inventory.'),![];}['equip'](a){const u=a54i;if(!this[u(0x15a)][u(0x15b)](a[u(0x11d)]))return'You\x20don\x27t\x20have\x20'+a['name']+u(0x141);if(!this[u(0x119)](a))return u(0x169)+a[u(0x11d)]+'.';const b=this[u(0x132)](a['category']);if(!b)return a[u(0x11d)]+u(0x12d);if(this['equipment'][b])return u(0x11e)+b+u(0x161);return this[u(0x16a)][b]=a,this[u(0x14e)](a),'You\x20equipped\x20'+a[u(0x11d)]+'.';}[a54i(0x163)](a){const v=a54i;let b=a;if(!this[v(0x16a)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return v(0x16d)+a+'.';}return this[v(0x126)](b);}[a54i(0x132)](a){const w=a54i;switch(a[w(0x144)]()){case Category[w(0x135)][w(0x144)]():return'rightHand';case Category[w(0x125)][w(0x144)]():return w(0x140);case Category[w(0x131)][w(0x144)]():return w(0x13d);case Category['Helmet'][w(0x144)]():case Category[w(0x121)][w(0x144)]():return'head';case Category[w(0x16c)][w(0x144)]():return w(0x15c);case Category['LegArmor']['toLowerCase']():return w(0x12a);case Category[w(0x122)][w(0x144)]():return w(0x124);case Category[w(0x152)][w(0x144)]():return w(0x167);case w(0x120):return w(0x160);case'shield':return w(0x140);case w(0x13d):return w(0x13d);case w(0x11b):case'hat':return'head';case w(0x12e):return w(0x15c);case w(0x129):case w(0x11c):return w(0x12a);case'arm\x20armor':case w(0x16e):return w(0x124);case w(0x148):case'bodyarmor':case w(0x167):return w(0x167);default:return null;}}[a54i(0x119)](a){const x=a54i;return Object[x(0x128)](Category)['includes'](a[x(0x13c)]);}[a54i(0x126)](a){const y=a54i,b=this['equipment'][a];if(!b)return y(0x151)+a+'\x20slot.';return this['addInventory'](b),this[y(0x16a)][a]=null,'You\x20unequipped\x20'+b[y(0x11d)]+'.';}['hear'](a,b){const z=a54i;a!==this&&this[z(0x14f)][z(0x150)](a[z(0x11d)]+z(0x154)+b+'\x22');}[a54i(0x138)](a){const A=a54i;this[A(0x127)]=a,a['on']('speak',this['hear'][A(0x12f)](this)),this[A(0x14f)][A(0x14d)](this[A(0x11d)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[A(0x11d)]);}['leaveRoom'](){const B=a54i;this[B(0x127)]&&(this[B(0x127)][B(0x155)](B(0x157),this[B(0x16b)][B(0x12f)](this)),this[B(0x14f)]['write'](this[B(0x11d)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[B(0x127)]['name']));}}
@@ -1 +1 @@
1
- var a55h=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x158))/0x1+-parseInt(f(0x148))/0x2+parseInt(f(0x156))/0x3*(parseInt(f(0x15a))/0x4)+-parseInt(f(0x149))/0x5+parseInt(f(0x15e))/0x6+-parseInt(f(0x147))/0x7+-parseInt(f(0x155))/0x8*(-parseInt(f(0x15d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x4b0d0));function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x143;var f=c[d];return f;},a55d(a,b);}var a55b=(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;};}()),a55a=a55b(this,function(){var g=a55d;return a55a['toString']()[g(0x14d)]('(((.+)+)+)+$')[g(0x157)]()[g(0x153)](a55a)['search'](g(0x15b));});a55a();function a55c(){var l=['You\x20have\x20already\x20solved\x20this\x20puzzle.','45QtNYvl','1098192MlrKkl','riddle','You\x20solved\x20the\x20puzzle!','successMessage','hasRequiredItem','failureMessage','rewardItem','2838836FpdVqb','790064YkZxyA','1740115Pjohul','solved','write','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','search','solve','requiredItem','hasItem','requiredPhrase','matchesRequiredPhrase','constructor','Puzzle:\x20Correct\x20solution\x20provided.','2214224fsuXPh','3BamEVO','toString','250950CgmibI','logger','560156JHcuib','(((.+)+)+)+$'];a55c=function(){return l;};return a55c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55h(0x159)]=Logger['getInstance']();['solved']=![];[a55h(0x14f)];[a55h(0x151)];[a55h(0x15f)];[a55h(0x146)];['successMessage'];['failureMessage'];constructor(a){var i=a55h;super(),this['requiredItem']=a[i(0x14f)],this[i(0x151)]=a[i(0x151)],this['riddle']=a['riddle'],this[i(0x146)]=a[i(0x146)],this['successMessage']=a[i(0x143)]||i(0x160),this[i(0x145)]=a[i(0x145)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a55h(0x144)](a){var j=a55h;if(this[j(0x14f)])return a[j(0x150)](this[j(0x14f)]);return![];}[a55h(0x152)](a){return this['requiredPhrase']===a;}[a55h(0x14e)](a,b){var k=a55h;if(this[k(0x14a)])return this[k(0x159)][k(0x14b)](k(0x14c)),{'success':![],'message':k(0x15c)};return this['hasRequiredItem'](b)||this[k(0x152)](a)?(this[k(0x14a)]=!![],this['logger'][k(0x14b)](k(0x154)),{'success':!![],'message':this[k(0x143)]}):(this[k(0x159)][k(0x14b)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[k(0x145)]});}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x18f))/0x1*(parseInt(f(0x18a))/0x2)+parseInt(f(0x177))/0x3*(parseInt(f(0x174))/0x4)+-parseInt(f(0x18c))/0x5+parseInt(f(0x17a))/0x6+-parseInt(f(0x181))/0x7*(parseInt(f(0x17d))/0x8)+-parseInt(f(0x185))/0x9+parseInt(f(0x179))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xaabee));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x17b)]()[h(0x17e)]('(((.+)+)+)+$')[h(0x17b)]()[h(0x18b)](a55a)['search'](h(0x176));});a55a();function a55c(){var n=['2511384TrkcRA','toString','solve','39472ZjMtRQ','search','You\x20have\x20already\x20solved\x20this\x20puzzle.','write','539MlsAuC','rewardItem','successMessage','hasRequiredItem','10717479uYOIIn','logger','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','hasItem','requiredItem','224CVmxiR','constructor','6965070DRlUaE','requiredPhrase','solved','4651xYMVtu','failureMessage','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','riddle','28132ysyjbD','matchesRequiredPhrase','(((.+)+)+)+$','591RJmxHL','apply','23799840jebrJr'];a55c=function(){return n;};return a55c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x174;var f=c[d];return f;},a55d(a,b);}export class Puzzle extends AbstractPuzzle{[a55i(0x186)]=Logger['getInstance']();[a55i(0x18e)]=![];[a55i(0x189)];['requiredPhrase'];[a55i(0x192)];[a55i(0x182)];[a55i(0x183)];[a55i(0x190)];constructor(a){var j=a55i;super(),this[j(0x189)]=a['requiredItem'],this[j(0x18d)]=a[j(0x18d)],this[j(0x192)]=a[j(0x192)],this[j(0x182)]=a[j(0x182)],this[j(0x183)]=a[j(0x183)]||'You\x20solved\x20the\x20puzzle!',this['failureMessage']=a[j(0x190)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a55i(0x184)](a){var k=a55i;if(this[k(0x189)])return a[k(0x188)](this[k(0x189)]);return![];}[a55i(0x175)](a){var l=a55i;return this[l(0x18d)]===a;}[a55i(0x17c)](a,b){var m=a55i;if(this[m(0x18e)])return this[m(0x186)][m(0x180)](m(0x191)),{'success':![],'message':m(0x17f)};return this['hasRequiredItem'](b)||this[m(0x175)](a)?(this[m(0x18e)]=!![],this['logger'][m(0x180)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this['successMessage']}):(this[m(0x186)][m(0x180)](m(0x187)),{'success':![],'message':this[m(0x190)]});}}
@@ -1 +1 @@
1
- const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0xab))/0x1*(parseInt(f(0xac))/0x2)+parseInt(f(0xc0))/0x3+-parseInt(f(0xdd))/0x4*(-parseInt(f(0xd9))/0x5)+-parseInt(f(0xd3))/0x6*(-parseInt(f(0xca))/0x7)+parseInt(f(0xbb))/0x8*(-parseInt(f(0xa7))/0x9)+parseInt(f(0xbc))/0xa+parseInt(f(0xa6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x2c33a));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0xe0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0xaf)]()['search'](h(0xb3))['toString']()[h(0xd5)](a56a)[h(0xa4)]('(((.+)+)+)+$');});a56a();import{Logger}from'../utilities/logger.js';function a56c(){const u=['say','isExitLocked','name','Checking\x20if\x20exit\x20in\x20direction\x20','2536064ntipkF','1246000TKMusL','getOppositeDirection','logger','get','944712HkOBvN','getInstance','No\x20locked\x20exit\x20found\x20in\x20direction\x20','south','Invalid\x20direction:\x20','east','Puzzle\x20set\x20for\x20room\x20','roomType','Fetching\x20exit\x20in\x20direction:\x20','\x20remains\x20locked.','7XrQmXR','down','inventory','removeItem','SOUTH','INSIDE','.\x20Success:\x20','hasItem','roomA','134406TukoLV','addExit','constructor','EAST','addItem','findExistingDoor','155405wvwfPg','WEST','attemptUnlockExit','description','16toyoEC','puzzle','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','apply','exits','DOWN','isStartRoom','The\x20','search','set','309518JFDHHx','9WAguop','Item\x20added\x20to\x20room\x20','emit','Item\x20removed\x20from\x20room\x20','1087UXsKhO','214usFmDo','write','roomB','toString','getExit','speak','\x20is\x20locked.\x20Result:\x20','(((.+)+)+)+$','checkIfLocked','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','Room\x20created:\x20'];a56c=function(){return u;};return a56c();}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0xa0;let f=c[d];return f;},a56d(a,b);}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0xbe)]=Logger[a56i(0xc1)]();['name'];[a56i(0xdc)];[a56i(0xa0)]=new Map();[a56i(0xc7)];[a56i(0xa2)];['inventory']=new Inventory();constructor(a){const j=a56i;super(),this[j(0xb9)]=a[j(0xb9)],this[j(0xdc)]=a['description'],this[j(0xc7)]=a[j(0xc7)]||RoomType[j(0xcf)],a[j(0xa0)]&&(this['exits']=a[j(0xa0)]||new Map()),a['inventory']&&(this['inventory']=a[j(0xcc)]),a[j(0xde)]&&(this[j(0xde)]=a[j(0xde)]),this['isStartRoom']=a[j(0xa2)]||![],this[j(0xbe)][j(0xad)](j(0xb6)+this[j(0xb9)]);}[a56i(0xb7)](a,b){const k=a56i;this[k(0xa9)](k(0xb1),a,b);}[a56i(0xd4)](a,b,c){const l=a56i;let d=this[l(0xd8)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0xa0)][l(0xa5)](a,d),b[l(0xa0)][l(0xa5)](this[l(0xbd)](a),d);}[a56i(0xdb)](a,b){const m=a56i,c=this[m(0xa0)][m(0xbf)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0xbe)][m(0xad)](m(0xb5)+a+m(0xd0)+d),d?m(0xa3)+c['name']+'\x20unlocked!':m(0xa3)+c[m(0xb9)]+m(0xc9);}return this[m(0xbe)][m(0xad)](m(0xc2)+a),m(0xdf);}[a56i(0xb0)](a){const n=a56i;return this[n(0xbe)][n(0xad)](n(0xc8)+a),this[n(0xa0)][n(0xbf)](a);}[a56i(0xb8)](a){const o=a56i,b=this[o(0xa0)][o(0xbf)](a),c=b instanceof Door&&b[o(0xb4)]();return this[o(0xbe)][o(0xad)](o(0xba)+a+o(0xb2)+c),c;}[a56i(0xd7)](a){const p=a56i;this[p(0xcc)][p(0xd7)](a),this[p(0xbe)][p(0xad)](p(0xa8)+this[p(0xb9)]+':\x20'+a[p(0xb9)]);}[a56i(0xcd)](a){const q=a56i;this[q(0xcc)][q(0xd1)](a[q(0xb9)])?(this['inventory'][q(0xcd)](a[q(0xb9)]),this[q(0xbe)][q(0xad)](q(0xaa)+this[q(0xb9)]+':\x20'+a[q(0xb9)])):this['logger'][q(0xad)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0xb9)]+':\x20'+a[q(0xb9)]);}['setPuzzle'](a){const r=a56i;this[r(0xde)]=a,this['logger'][r(0xad)](r(0xc6)+this[r(0xb9)]+':\x20'+a['riddle']);}['getOppositeDirection'](a){const s=a56i;switch(a){case'north':return Direction[s(0xce)];case s(0xc3):return Direction['NORTH'];case s(0xc5):return Direction[s(0xda)];case'west':return Direction[s(0xd6)];case'up':return Direction[s(0xa1)];case s(0xcb):return Direction['UP'];default:throw new Error(s(0xc4)+a);}}['findExistingDoor'](a){const t=a56i;for(const b of this[t(0xa0)]['values']()){if(b instanceof Door){if(b[t(0xd2)]===this&&b[t(0xae)]===a||b[t(0xae)]===this&&b[t(0xd2)]===a)return b;}}return undefined;}}
1
+ const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0x14a))/0x1*(parseInt(f(0x147))/0x2)+parseInt(f(0x13a))/0x3+-parseInt(f(0x15f))/0x4+parseInt(f(0x12e))/0x5+parseInt(f(0x14e))/0x6*(-parseInt(f(0x154))/0x7)+parseInt(f(0x168))/0x8*(parseInt(f(0x14c))/0x9)+-parseInt(f(0x146))/0xa*(parseInt(f(0x141))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x3f729));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a['toString']()[h(0x138)](h(0x14f))[h(0x150)]()[h(0x15d)](a56a)[h(0x138)]('(((.+)+)+)+$');});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x12e;let f=c[d];return f;},a56d(a,b);}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x14b)]=Logger[a56i(0x151)]();[a56i(0x142)];[a56i(0x15c)];[a56i(0x159)]=new Map();[a56i(0x167)];[a56i(0x144)];[a56i(0x155)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x142)]=a[j(0x142)],this['description']=a[j(0x15c)],this[j(0x167)]=a[j(0x167)]||RoomType[j(0x162)],a['exits']&&(this[j(0x159)]=a[j(0x159)]||new Map()),a[j(0x155)]&&(this['inventory']=a['inventory']),a[j(0x133)]&&(this[j(0x133)]=a['puzzle']),this[j(0x144)]=a[j(0x144)]||![],this[j(0x14b)][j(0x160)]('Room\x20created:\x20'+this[j(0x142)]);}[a56i(0x13e)](a,b){const k=a56i;this[k(0x16a)](k(0x16d),a,b);}[a56i(0x153)](a,b,c){const l=a56i;let d=this[l(0x13b)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x139)](a,d),b['exits'][l(0x139)](this[l(0x152)](a),d);}[a56i(0x136)](a,b){const m=a56i,c=this['exits'][m(0x157)](a);if(c instanceof Door){const d=c[m(0x130)](b);return this[m(0x14b)][m(0x160)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0x131)+d),d?m(0x13c)+c[m(0x142)]+'\x20unlocked!':m(0x13c)+c['name']+m(0x145);}return this[m(0x14b)][m(0x160)](m(0x16e)+a),m(0x13f);}[a56i(0x15b)](a){const n=a56i;return this[n(0x14b)][n(0x160)](n(0x12f)+a),this[n(0x159)][n(0x157)](a);}['isExitLocked'](a){const o=a56i,b=this[o(0x159)][o(0x157)](a),c=b instanceof Door&&b[o(0x158)]();return this['logger']['write'](o(0x143)+a+o(0x16c)+c),c;}[a56i(0x163)](a){const p=a56i;this[p(0x155)][p(0x163)](a),this['logger'][p(0x160)](p(0x149)+this[p(0x142)]+':\x20'+a['name']);}[a56i(0x13d)](a){const q=a56i;this[q(0x155)]['hasItem'](a[q(0x142)])?(this[q(0x155)]['removeItem'](a[q(0x142)]),this['logger']['write'](q(0x140)+this['name']+':\x20'+a[q(0x142)])):this[q(0x14b)]['write']('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0x142)]+':\x20'+a[q(0x142)]);}['setPuzzle'](a){const r=a56i;this[r(0x133)]=a,this['logger']['write'](r(0x156)+this[r(0x142)]+':\x20'+a[r(0x15a)]);}[a56i(0x152)](a){const s=a56i;switch(a){case'north':return Direction[s(0x135)];case s(0x16b):return Direction[s(0x166)];case s(0x165):return Direction['WEST'];case s(0x137):return Direction[s(0x15e)];case'up':return Direction[s(0x169)];case s(0x132):return Direction['UP'];default:throw new Error(s(0x164)+a);}}[a56i(0x13b)](a){const t=a56i;for(const b of this[t(0x159)][t(0x134)]()){if(b instanceof Door){if(b['roomA']===this&&b['roomB']===a||b[t(0x161)]===this&&b[t(0x14d)]===a)return b;}}return undefined;}}function a56c(){const u=['\x20remains\x20locked.','70430MYoJQU','2612FeyXSJ','apply','Item\x20added\x20to\x20room\x20','87xsTeNf','logger','1885203mkDBzM','roomA','48330cFKAeN','(((.+)+)+)+$','toString','getInstance','getOppositeDirection','addExit','7acKYzC','inventory','Puzzle\x20set\x20for\x20room\x20','get','checkIfLocked','exits','riddle','getExit','description','constructor','EAST','1017712oqdDAq','write','roomB','INSIDE','addItem','Invalid\x20direction:\x20','east','NORTH','roomType','16yYNiuU','DOWN','emit','south','\x20is\x20locked.\x20Result:\x20','speak','No\x20locked\x20exit\x20found\x20in\x20direction\x20','232930sOpLVi','Fetching\x20exit\x20in\x20direction:\x20','attemptUnlock','.\x20Success:\x20','down','puzzle','values','SOUTH','attemptUnlockExit','west','search','set','19827trJSct','findExistingDoor','The\x20','removeItem','say','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','Item\x20removed\x20from\x20room\x20','99qKPzbH','name','Checking\x20if\x20exit\x20in\x20direction\x20','isStartRoom'];a56c=function(){return u;};return a56c();}