@maka/maka-cli 5.0.22 → 5.0.25

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 (178) hide show
  1. package/bundle/obf/package.json +53 -55
  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/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/test.js +1 -1
  100. package/bundle/obf/src/commands/undo.js +1 -1
  101. package/bundle/obf/src/commands/version.js +1 -1
  102. package/bundle/obf/src/error.js +1 -1
  103. package/bundle/obf/src/exec.js +1 -1
  104. package/bundle/obf/src/generator.js +1 -1
  105. package/bundle/obf/src/generators/_index.js +1 -1
  106. package/bundle/obf/src/generators/api.js +1 -1
  107. package/bundle/obf/src/generators/aws/_index.js +1 -1
  108. package/bundle/obf/src/generators/aws/aws.js +1 -1
  109. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  112. package/bundle/obf/src/generators/collection.js +1 -1
  113. package/bundle/obf/src/generators/component.js +1 -1
  114. package/bundle/obf/src/generators/config.js +1 -1
  115. package/bundle/obf/src/generators/dbc.js +1 -1
  116. package/bundle/obf/src/generators/dockerfile.js +1 -1
  117. package/bundle/obf/src/generators/hook.js +1 -1
  118. package/bundle/obf/src/generators/kits/_index.js +1 -1
  119. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/kit.js +1 -1
  127. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  131. package/bundle/obf/src/generators/layout.js +1 -1
  132. package/bundle/obf/src/generators/maka.gen.js +1 -1
  133. package/bundle/obf/src/generators/methods.js +1 -1
  134. package/bundle/obf/src/generators/package.js +1 -1
  135. package/bundle/obf/src/generators/page.js +1 -1
  136. package/bundle/obf/src/generators/publish.js +1 -1
  137. package/bundle/obf/src/generators/route.js +1 -1
  138. package/bundle/obf/src/generators/service.js +1 -1
  139. package/bundle/obf/src/generators/services/_index.js +1 -1
  140. package/bundle/obf/src/generators/services/openssl.js +1 -1
  141. package/bundle/obf/src/generators/services/translation.js +1 -1
  142. package/bundle/obf/src/maka.js +1 -1
  143. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +6 -6
  144. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +6 -6
  145. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +8 -10
  146. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +8 -10
  147. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +1 -1
  148. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +1 -1
  149. package/bundle/obf/src/templates/meteor/app/meteor.d.ts +56 -56
  150. package/bundle/obf/src/templates/meteor/service/logger/logger.js +2 -2
  151. package/bundle/obf/src/templates/meteor/service/logger/logger.js.ts +2 -2
  152. package/bundle/obf/src/templates/react/kit/auth/service/meteor-auth-service.js.jsx +2 -2
  153. package/bundle/obf/src/tool.js +1 -1
  154. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  155. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  156. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  158. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  159. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  161. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/https/https.class.js +1 -1
  163. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  164. package/bundle/obf/src/tools/log/log.class.js +1 -1
  165. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  166. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  167. package/bundle/obf/src/tools/options/options.class.js +1 -1
  168. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  169. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  170. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  171. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  172. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  173. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  174. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  175. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  176. package/eslint.config.js +19 -0
  177. package/package.json +53 -55
  178. package/maka-tar-6.2.1.tgz +0 -0
@@ -1 +1 @@
1
- var a33i=a33d;(function(a,b){var f=a33d,c=a();while(!![]){try{var d=-parseInt(f(0x15c))/0x1+-parseInt(f(0x16b))/0x2*(-parseInt(f(0x171))/0x3)+-parseInt(f(0x168))/0x4+-parseInt(f(0x163))/0x5*(parseInt(f(0x16d))/0x6)+-parseInt(f(0x162))/0x7*(-parseInt(f(0x172))/0x8)+parseInt(f(0x15d))/0x9*(parseInt(f(0x16e))/0xa)+parseInt(f(0x15e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x56c35));function a33d(a,b){var c=a33c();return a33d=function(d,e){d=d-0x15b;var f=c[d];return f;},a33d(a,b);}var a33b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a33d;if(c){var e=c[g(0x15f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){var h=a33d;return a33a[h(0x170)]()[h(0x16f)](h(0x16a))[h(0x170)]()['constructor'](a33a)[h(0x16f)](h(0x16a));});a33a();function a33c(){var m=['values','rooms','logger','No\x20description\x20available.','1687032oomREd','includes','(((.+)+)+)+$','4292riWBYB','actor','66282GzxwXo','1475940qaswvN','search','toString','312DJPqdQ','301256EPAudI','description','192762lbRhJY','9pLrHoQ','7026745kPsBql','apply','verb','isValidDirection','7FOWLXe','35MGfDPB'];a33c=function(){return m;};return a33c();}import{Direction}from'../types/enums.js';import{Logger}from'../utilities/logger.js';export class Command{static [a33i(0x160)];static [a33i(0x15b)];[a33i(0x16c)];[a33i(0x165)];[a33i(0x166)];['scene'];constructor(a){var j=a33i;this['actor']=a[j(0x16c)],this[j(0x165)]=a[j(0x165)],this[j(0x166)]=Logger['getInstance']();}[a33i(0x161)](a){var k=a33i;return Object[k(0x164)](Direction)[k(0x169)](a);}static['getDescription'](){var l=a33i;return this[l(0x15b)]||l(0x167);}}
1
+ function a33c(){var m=['(((.+)+)+)+$','constructor','951504BITOiT','scene','logger','No\x20description\x20available.','toString','verb','rooms','3867122dfuHBG','description','6568REvJwY','isValidDirection','includes','apply','3jZQlYR','264832pZzXAQ','getDescription','search','1737eeHFJy','431215XCZFOP','192716KfVgdp','415848YSYuOy','actor','getInstance'];a33c=function(){return m;};return a33c();}var a33i=a33d;function a33d(a,b){var c=a33c();return a33d=function(d,e){d=d-0x1c0;var f=c[d];return f;},a33d(a,b);}(function(a,b){var f=a33d,c=a();while(!![]){try{var d=-parseInt(f(0x1d3))/0x1+parseInt(f(0x1c0))/0x2+parseInt(f(0x1d2))/0x3*(-parseInt(f(0x1d8))/0x4)+-parseInt(f(0x1d7))/0x5+-parseInt(f(0x1c5))/0x6+parseInt(f(0x1cc))/0x7+parseInt(f(0x1ce))/0x8*(parseInt(f(0x1d6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x58219));var a33b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a33d;if(c){var e=c[g(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){var h=a33d;return a33a[h(0x1c9)]()[h(0x1d5)](h(0x1c3))[h(0x1c9)]()[h(0x1c4)](a33a)[h(0x1d5)](h(0x1c3));});a33a();import{Direction}from'../types/enums.js';import{Logger}from'../utilities/logger.js';export class Command{static [a33i(0x1ca)];static [a33i(0x1cd)];['actor'];[a33i(0x1cb)];[a33i(0x1c7)];[a33i(0x1c6)];constructor(a){var j=a33i;this[j(0x1c1)]=a['actor'],this[j(0x1cb)]=a[j(0x1cb)],this[j(0x1c7)]=Logger[j(0x1c2)]();}[a33i(0x1cf)](a){var k=a33i;return Object['values'](Direction)[k(0x1d0)](a);}static[a33i(0x1d4)](){var l=a33i;return this[l(0x1cd)]||l(0x1c8);}}
@@ -1 +1 @@
1
- const a34i=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0x1f5))/0x1*(parseInt(f(0x1e3))/0x2)+-parseInt(f(0x1e4))/0x3*(-parseInt(f(0x1fb))/0x4)+parseInt(f(0x1fc))/0x5+-parseInt(f(0x1e6))/0x6*(-parseInt(f(0x1f2))/0x7)+-parseInt(f(0x1fd))/0x8+parseInt(f(0x1f8))/0x9+-parseInt(f(0x1e7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x53611));function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x1db;let f=c[d];return f;},a34d(a,b);}function a34c(){const l=['You\x20don\x27t\x20have\x20','Item\x20\x22','toLowerCase','21256lDPjSe','1145577qmcgyZ','\x27s\x20inventory\x20during\x20\x27Drop\x27\x20command.','1690452zVcpDK','9519210IKrmDb','actor','hasItem','getItem','search','apply','logger','join','toString','description','inventory','7mJjSHR','\x20has\x20successfully\x20dropped\x20\x22','\x22\x20from\x20inventory\x20to\x20room\x20during\x20\x27Drop\x27\x20command.','2SYHgJS','execute','\x20in\x20your\x20inventory.','1844577IzSsrz','drop','(((.+)+)+)+$','4jaiBUm','3079015PHgQgK','1697368XsFkcJ','verb','removeItem','write','name','\x22\x20not\x20found\x20in\x20','addItem'];a34c=function(){return l;};return a34c();}const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0x1ef)]()[h(0x1eb)](h(0x1fa))[h(0x1ef)]()['constructor'](a34a)[h(0x1eb)](h(0x1fa));});a34a();import{Command}from'./command.js';export class DropCommand extends Command{static [a34i(0x1fe)]=a34i(0x1f9);static [a34i(0x1f0)]='Drop\x20an\x20item\x20from\x20your\x20inventory.';[a34i(0x1f6)](a){const j=a34i;return this[j(0x1ed)][j(0x1dc)](this[j(0x1e8)][j(0x1dd)]+'\x20is\x20Attempting\x20\x27Drop\x27\x20command\x20with\x20item:\x20'+a[j(0x1ee)]('\x20')),this[j(0x1f9)](a);}[a34i(0x1f9)](a){const k=a34i,b=a[k(0x1ee)]('\x20')[k(0x1e2)]();if(!this['actor'][k(0x1f1)][k(0x1e9)](b))return this[k(0x1ed)][k(0x1dc)](k(0x1e1)+b+k(0x1de)+this[k(0x1e8)][k(0x1dd)]+k(0x1e5)),k(0x1e0)+b+'\x20in\x20your\x20inventory.';const c=this['actor'][k(0x1f1)][k(0x1ea)](b);if(!c)return this['logger'][k(0x1dc)](k(0x1e1)+b+'\x22\x20not\x20retrieved\x20from\x20'+this[k(0x1e8)][k(0x1dd)]+k(0x1e5)),'You\x20don\x27t\x20have\x20'+b+k(0x1f7);return this[k(0x1e8)][k(0x1f1)][k(0x1db)](b),this[k(0x1e8)]['currentLocation'][k(0x1f1)][k(0x1df)](c),this[k(0x1ed)][k(0x1dc)](this['actor'][k(0x1dd)]+k(0x1f3)+b+k(0x1f4)),'You\x20dropped\x20'+b+'.';}}
1
+ function a34c(){const k=['889455sXZQzh','addItem','228342VGJSKt','toString','114WpiERq','15580KWuoBf','logger','(((.+)+)+)+$','15812kELQIB','\x20in\x20your\x20inventory.','\x27s\x20inventory\x20during\x20\x27Drop\x27\x20command.','\x20has\x20successfully\x20dropped\x20\x22','actor','2805920Ybcrlh','inventory','write','\x22\x20from\x20inventory\x20to\x20room\x20during\x20\x27Drop\x27\x20command.','667558QFiWel','currentLocation','removeItem','drop','2819025lYoSfm','8525AZnwJg','You\x20dropped\x20','description','\x22\x20not\x20found\x20in\x20','search','join','7vZabFF','1xbogNL','verb','Item\x20\x22','name'];a34c=function(){return k;};return a34c();}const a34h=a34d;function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x10a;let f=c[d];return f;},a34d(a,b);}(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0x12a))/0x1*(-parseInt(f(0x11e))/0x2)+-parseInt(f(0x111))/0x3*(-parseInt(f(0x115))/0x4)+-parseInt(f(0x10d))/0x5+parseInt(f(0x10f))/0x6+-parseInt(f(0x129))/0x7*(parseInt(f(0x11a))/0x8)+-parseInt(f(0x122))/0x9+parseInt(f(0x112))/0xa*(parseInt(f(0x123))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x35bb6));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const g=a34d;return a34a['toString']()['search'](g(0x114))[g(0x110)]()['constructor'](a34a)[g(0x127)]('(((.+)+)+)+$');});a34a();import{Command}from'./command.js';export class DropCommand extends Command{static [a34h(0x10a)]=a34h(0x121);static [a34h(0x125)]='Drop\x20an\x20item\x20from\x20your\x20inventory.';['execute'](a){const i=a34h;return this[i(0x113)]['write'](this[i(0x119)][i(0x10c)]+'\x20is\x20Attempting\x20\x27Drop\x27\x20command\x20with\x20item:\x20'+a[i(0x128)]('\x20')),this['drop'](a);}[a34h(0x121)](a){const j=a34h,b=a[j(0x128)]('\x20')['toLowerCase']();if(!this[j(0x119)]['inventory']['hasItem'](b))return this['logger'][j(0x11c)](j(0x10b)+b+j(0x126)+this[j(0x119)]['name']+j(0x117)),'You\x20don\x27t\x20have\x20'+b+j(0x116);const c=this[j(0x119)]['inventory']['getItem'](b);if(!c)return this[j(0x113)][j(0x11c)](j(0x10b)+b+'\x22\x20not\x20retrieved\x20from\x20'+this[j(0x119)][j(0x10c)]+j(0x117)),'You\x20don\x27t\x20have\x20'+b+'\x20in\x20your\x20inventory.';return this['actor'][j(0x11b)][j(0x120)](b),this['actor'][j(0x11f)]['inventory'][j(0x10e)](c),this[j(0x113)][j(0x11c)](this[j(0x119)][j(0x10c)]+j(0x118)+b+j(0x11d)),j(0x124)+b+'.';}}
@@ -1 +1 @@
1
- function a35c(){const l=['constructor','verb','161YMZpDT','logger','write','499644HosAbp','getItem','Equip\x20an\x20item.','currentLocation','4748720OOUzPr','224aTangd','\x20taken\x20from\x20room\x20and\x20added\x20to\x20','search','equip','name','apply','removeItem','4RdcFHp','error','33900zkjehz','\x20inventory\x20or\x20','742902irhaTT','\x20in\x20your\x20inventory,\x20and\x20it\x27s\x20not\x20in\x20this\x20room.','21543360qmOfIq','You\x20don\x27t\x20have\x20','(((.+)+)+)+$','779436FnkZjw','description','inventory','toString','EquipCommand:\x20','addItem','92240XeKssj','join','actor'];a35c=function(){return l;};return a35c();}const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=parseInt(f(0x1a9))/0x1+-parseInt(f(0x1a0))/0x2*(-parseInt(f(0x1a4))/0x3)+parseInt(f(0x199))/0x4*(parseInt(f(0x1af))/0x5)+parseInt(f(0x1a2))/0x6*(-parseInt(f(0x191))/0x7)+parseInt(f(0x198))/0x8+parseInt(f(0x194))/0x9+-parseInt(f(0x1a6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xa4364));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x19e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a['toString']()['search'](h(0x1a8))[h(0x1ac)]()[h(0x18f)](a35a)[h(0x19b)](h(0x1a8));});a35a();function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x18d;let f=c[d];return f;},a35d(a,b);}import{Command}from'./command.js';export class EquipCommand extends Command{static [a35i(0x190)]='equip';static [a35i(0x1aa)]=a35i(0x196);['execute'](a){const j=a35i;return this[j(0x19c)](a);}[a35i(0x19c)](a){const k=a35i,b=a[k(0x18d)]('\x20')['toLowerCase']();let c=this['actor']['inventory'][k(0x195)](b);if(!c){const e=this[k(0x18e)][k(0x197)];c=e['inventory'][k(0x195)](b);if(c)this['actor'][k(0x1ab)][k(0x1ae)](c),e[k(0x1ab)][k(0x19f)](b),this[k(0x192)][k(0x193)]('EquipCommand:\x20'+b+k(0x19a)+this['actor']['name']+'\x27s\x20inventory.');else return this['logger'][k(0x1a1)](k(0x1ad)+b+'\x20not\x20found\x20in\x20'+this['actor'][k(0x19d)]+k(0x1a3)+this[k(0x18e)][k(0x197)][k(0x19d)]+'\x20room.'),k(0x1a7)+b+k(0x1a5);}const d=this[k(0x18e)][k(0x19c)](c);return this['logger'][k(0x193)](k(0x1ad)+d),d;}}
1
+ const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x1a2))/0x1+parseInt(f(0x1a9))/0x2*(-parseInt(f(0x1b8))/0x3)+parseInt(f(0x1a6))/0x4+-parseInt(f(0x1ab))/0x5*(parseInt(f(0x1a1))/0x6)+-parseInt(f(0x1b2))/0x7+parseInt(f(0x196))/0x8*(parseInt(f(0x1aa))/0x9)+parseInt(f(0x1b1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x8de69));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x1b4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a['toString']()['search'](h(0x19b))['toString']()[h(0x1ac)](a35a)[h(0x19a)]('(((.+)+)+)+$');});a35a();import{Command}from'./command.js';export class EquipCommand extends Command{static [a35i(0x1a0)]=a35i(0x1a8);static ['description']=a35i(0x1a5);[a35i(0x1b0)](a){const j=a35i;return this[j(0x1a8)](a);}[a35i(0x1a8)](a){const k=a35i,b=a[k(0x1af)]('\x20')[k(0x19c)]();let c=this['actor']['inventory'][k(0x197)](b);if(!c){const e=this['actor'][k(0x198)];c=e['inventory'][k(0x197)](b);if(c)this[k(0x1ad)]['inventory']['addItem'](c),e[k(0x1b6)][k(0x1a3)](b),this[k(0x195)][k(0x199)](k(0x1b7)+b+k(0x19f)+this['actor'][k(0x1a4)]+k(0x19e));else return this['logger'][k(0x19d)](k(0x1b7)+b+k(0x1a7)+this[k(0x1ad)][k(0x1a4)]+'\x20inventory\x20or\x20'+this[k(0x1ad)]['currentLocation'][k(0x1a4)]+k(0x1ae)),k(0x1b3)+b+k(0x1b5);}const d=this['actor'][k(0x1a8)](c);return this[k(0x195)][k(0x199)](k(0x1b7)+d),d;}}function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x195;let f=c[d];return f;},a35d(a,b);}function a35c(){const l=['\x20not\x20found\x20in\x20','equip','1781678Pujmsr','153YnqLZp','5ytKzMJ','constructor','actor','\x20room.','join','execute','16803320dKsqSg','1324974ygyWEX','You\x20don\x27t\x20have\x20','apply','\x20in\x20your\x20inventory,\x20and\x20it\x27s\x20not\x20in\x20this\x20room.','inventory','EquipCommand:\x20','3ajjGMq','logger','379144KsTuqB','getItem','currentLocation','write','search','(((.+)+)+)+$','toLowerCase','error','\x27s\x20inventory.','\x20taken\x20from\x20room\x20and\x20added\x20to\x20','verb','4488516aFOqRp','729815zYrthj','removeItem','name','Equip\x20an\x20item.','2612936IlpxCB'];a35c=function(){return l;};return a35c();}
@@ -1 +1 @@
1
- const a36i=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=parseInt(g(0xb7))/0x1+parseInt(g(0xaf))/0x2+-parseInt(g(0xb0))/0x3+parseInt(g(0xb2))/0x4*(-parseInt(g(0x95))/0x5)+-parseInt(g(0xa3))/0x6*(-parseInt(g(0x97))/0x7)+-parseInt(g(0x9c))/0x8+parseInt(g(0xb4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x9a065));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[h(0x9e)]()[h(0xab)](h(0xb6))[h(0x9e)]()['constructor'](a36a)[h(0xab)](h(0xb6));});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x8f;let f=c[d];return f;},a36d(a,b);}function a36c(){const l=['isValidDirection','7966656LLoWxP','Move\x20in\x20the\x20specified\x20direction.','toString','\x20attempted\x20to\x20go\x20','\x22\x20is\x20locked.','join','description','906mGvwuP','\x22\x20does\x20not\x20exist\x20in\x20current\x20room\x27s\x20exits.','\x20which\x20is\x20not\x20valid.','logger','getOtherSide','\x22\x20not\x20found.','That\x20is\x20not\x20a\x20way\x20to\x20go','verb','search','\x20\x27Go\x27\x20command\x20failed:\x20Unable\x20to\x20determine\x20the\x20other\x20side\x20of\x20the\x20door.','rooms','write','395668rloejo','3162876Hedkft','You\x20seem\x20to\x20be\x20nowhere.\x20This\x20is\x20a\x20bug.','4XtNwdF','name','17442090ZqbwPW','execute','(((.+)+)+)+$','402775DjppNO','Unnamed\x20room','actor','\x27s\x20\x27Go\x27\x20command\x20failed:\x20Current\x20room\x20is\x20undefined\x20or\x20null.\x20This\x20is\x20a\x20bug.','\x20moved\x20to\x20room:\x20','currentLocation','\x27s\x20\x27Go\x27\x20command\x20failed:\x20No\x20direction\x20specified.','1253315VqZrJY','You\x20can\x27t\x20go\x20that\x20way.','18221VdDISb','checkIfLocked','The\x20door\x20in\x20the\x20direction\x20\x22','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20door\x20you\x27re\x20trying\x20to\x20go\x20through.'];a36c=function(){return l;};return a36c();}a36a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class GoCommand extends Command{static [a36i(0xaa)]='go';static [a36i(0xa2)]=a36i(0x9d);[a36i(0xb5)](a){const j=a36i;return this['logger']['write'](this['actor'][j(0xb3)]+'\x20is\x20attempting\x20\x27Go\x27\x20command\x20with\x20direction:\x20'+a[j(0xa1)]('\x20')),this['go'](a);}['go'](a){const k=a36i;if(a['length']===0x0)return this[k(0xa6)][k(0xae)](this['actor'][k(0xb3)]+k(0x94)),'Please\x20specify\x20a\x20direction\x20to\x20go.';const b=a[0x0]['toLowerCase']();if(!this[k(0x9b)](b))return this[k(0xa6)][k(0xae)](this[k(0x90)]['name']+k(0x9f)+b+k(0xa5)),k(0xa9);const c=this[k(0x90)][k(0x93)];if(!c)return this[k(0xa6)]['error'](this[k(0x90)][k(0xb3)]+k(0x91)),k(0xb1);const d=c['getExit'](b);if(!d)return this['logger'][k(0xae)](this[k(0x90)][k(0xb3)]+'\x20\x27Go\x27\x20command\x20failed:\x20Specified\x20direction\x20\x22'+b+k(0xa4)),k(0x96);if(d instanceof Door){if(d[k(0x98)]())return k(0x99)+b+k(0xa0);const e=d[k(0xa7)](c);if(!e)return this[k(0xa6)]['error'](this['actor'][k(0xb3)]+k(0xac)),k(0x9a);this[k(0x90)]['currentLocation']=e;}else{const f=this[k(0xad)]&&this[k(0xad)][d];if(!f)return this[k(0xa6)]['error'](this[k(0x90)][k(0xb3)]+'\x20\x27Go\x27\x20command\x20failed:\x20Room\x20\x22'+d+k(0xa8)),'There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20room\x20you\x27re\x20trying\x20to\x20go\x20to.';this['actor']['currentLocation']=f;}return this[k(0xa6)][k(0xae)](this[k(0x90)][k(0xb3)]+k(0x92)+(this[k(0x90)][k(0x93)][k(0xb3)]||k(0x8f))+'.'),this[k(0x90)][k(0x93)][k(0xa2)];}}
1
+ const a36j=a36d;function a36c(){const m=['\x22\x20does\x20not\x20exist\x20in\x20current\x20room\x27s\x20exits.','Unnamed\x20room','\x27s\x20\x27Go\x27\x20command\x20failed:\x20No\x20direction\x20specified.','1002366LMQugL','6295NfiqXS','You\x20can\x27t\x20go\x20that\x20way.','isValidDirection','96495BDUctW','actor','description','\x22\x20not\x20found.','\x20\x27Go\x27\x20command\x20failed:\x20Unable\x20to\x20determine\x20the\x20other\x20side\x20of\x20the\x20door.','\x22\x20is\x20locked.','11dKfpDj','\x20which\x20is\x20not\x20valid.','checkIfLocked','name','1326832qjgVPv','3jsXfGi','175012MGZhiP','write','getOtherSide','You\x20seem\x20to\x20be\x20nowhere.\x20This\x20is\x20a\x20bug.','1218DGqoDY','currentLocation','toString','error','Move\x20in\x20the\x20specified\x20direction.','1561rsiLWs','\x20\x27Go\x27\x20command\x20failed:\x20Room\x20\x22','join','\x20attempted\x20to\x20go\x20','apply','constructor','Please\x20specify\x20a\x20direction\x20to\x20go.','\x27s\x20\x27Go\x27\x20command\x20failed:\x20Current\x20room\x20is\x20undefined\x20or\x20null.\x20This\x20is\x20a\x20bug.','(((.+)+)+)+$','5254910hdflne','There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20room\x20you\x27re\x20trying\x20to\x20go\x20to.','verb','\x20\x27Go\x27\x20command\x20failed:\x20Specified\x20direction\x20\x22','toLowerCase','execute','1184YIAoEb','logger','\x20moved\x20to\x20room:\x20'];a36c=function(){return m;};return a36c();}(function(a,b){const g=a36d,c=a();while(!![]){try{const d=parseInt(g(0x1bd))/0x1+parseInt(g(0x1c9))/0x2*(-parseInt(g(0x1c8))/0x3)+parseInt(g(0x1c7))/0x4+-parseInt(g(0x1ba))/0x5*(-parseInt(g(0x1cd))/0x6)+-parseInt(g(0x1d2))/0x7*(-parseInt(g(0x1e1))/0x8)+parseInt(g(0x1b9))/0x9+parseInt(g(0x1db))/0xa*(-parseInt(g(0x1c3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x34879));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a[i(0x1cf)]()['search'](i(0x1da))[i(0x1cf)]()[i(0x1d7)](a36a)['search']('(((.+)+)+)+$');});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a36d(a,b);}a36a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class GoCommand extends Command{static [a36j(0x1dd)]='go';static ['description']=a36j(0x1d1);[a36j(0x1e0)](a){const k=a36j;return this[k(0x1e2)]['write'](this[k(0x1be)][k(0x1c6)]+'\x20is\x20attempting\x20\x27Go\x27\x20command\x20with\x20direction:\x20'+a[k(0x1d4)]('\x20')),this['go'](a);}['go'](a){const l=a36j;if(a['length']===0x0)return this[l(0x1e2)][l(0x1ca)](this[l(0x1be)][l(0x1c6)]+l(0x1b8)),l(0x1d8);const b=a[0x0][l(0x1df)]();if(!this[l(0x1bc)](b))return this[l(0x1e2)][l(0x1ca)](this[l(0x1be)][l(0x1c6)]+l(0x1d5)+b+l(0x1c4)),'That\x20is\x20not\x20a\x20way\x20to\x20go';const c=this[l(0x1be)][l(0x1ce)];if(!c)return this[l(0x1e2)][l(0x1d0)](this[l(0x1be)][l(0x1c6)]+l(0x1d9)),l(0x1cc);const d=c['getExit'](b);if(!d)return this[l(0x1e2)][l(0x1ca)](this[l(0x1be)][l(0x1c6)]+l(0x1de)+b+l(0x1e4)),l(0x1bb);if(d instanceof Door){if(d[l(0x1c5)]())return'The\x20door\x20in\x20the\x20direction\x20\x22'+b+l(0x1c2);const e=d[l(0x1cb)](c);if(!e)return this[l(0x1e2)][l(0x1d0)](this[l(0x1be)][l(0x1c6)]+l(0x1c1)),'There\x20seems\x20to\x20be\x20an\x20error\x20with\x20the\x20door\x20you\x27re\x20trying\x20to\x20go\x20through.';this['actor']['currentLocation']=e;}else{const f=this['rooms']&&this['rooms'][d];if(!f)return this[l(0x1e2)][l(0x1d0)](this[l(0x1be)][l(0x1c6)]+l(0x1d3)+d+l(0x1c0)),l(0x1dc);this[l(0x1be)][l(0x1ce)]=f;}return this[l(0x1e2)][l(0x1ca)](this['actor'][l(0x1c6)]+l(0x1e3)+(this[l(0x1be)]['currentLocation'][l(0x1c6)]||l(0x1b7))+'.'),this[l(0x1be)][l(0x1ce)][l(0x1bf)];}}
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x1d0))/0x1+parseInt(f(0x1d2))/0x2*(-parseInt(f(0x1ba))/0x3)+parseInt(f(0x1c7))/0x4*(parseInt(f(0x1bb))/0x5)+-parseInt(f(0x1b5))/0x6*(-parseInt(f(0x1d5))/0x7)+-parseInt(f(0x1b9))/0x8*(-parseInt(f(0x1cb))/0x9)+parseInt(f(0x1bd))/0xa+-parseInt(f(0x1c1))/0xb*(parseInt(f(0x1d8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xb417b));function a37c(){const k=['246436ySmSDc','write','1450582XarcEH','There\x27s\x20no\x20door\x20named\x20\x22','logger','77qlsEZq','search','unlockItemOrSolution','132PIXqJE','Lock\x20a\x20door.','constructor','isLocked','name','706578KttNJg','isValidDirection','lock','\x20door.','40AYBNOF','3Jxdmcf','1479115phgsvY','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','13914730vXZSFm','hasItem','LockCommand:\x20No\x20target\x20specified.','error','2991131dMBRZY','(((.+)+)+)+$','apply','You\x20locked\x20the\x20door\x20named\x20\x22','toLowerCase','actor','8YeINOo','toString','exits','LockCommand:\x20','2559609JLwcOj','\x22\x20here.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','\x22\x20is\x20already\x20locked.','get'];a37c=function(){return k;};return a37c();}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x1c8)]()[h(0x1d6)](h(0x1c2))[h(0x1c8)]()[h(0x1b2)](a37a)[h(0x1d6)](h(0x1c2));});a37a();function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1b1;let f=c[d];return f;},a37d(a,b);}import{Command}from'./command.js';export class LockCommand extends Command{static ['verb']=a37i(0x1b7);static ['description']=a37i(0x1b1);['execute'](a){return this['lock'](a);}[a37i(0x1b7)](a){const j=a37i;if(a['length']===0x0)return this['logger'][j(0x1c0)](j(0x1bf)),j(0x1bc);const b=a[0x0]['toLowerCase'](),c=this[j(0x1c6)]['currentLocation'];if(this[j(0x1b6)](b)&&c['exits']['has'](b)){const d=c[j(0x1c9)][j(0x1cf)](b);if(d[j(0x1b3)])return'The\x20door\x20named\x20\x22'+b+j(0x1ce);const e=d[j(0x1d7)]?.[j(0x1c5)]();return e&&this['actor']['inventory'][j(0x1be)](e)?(d['isLocked']=!![],this[j(0x1d4)]['write'](j(0x1ca)+this[j(0x1c6)][j(0x1b4)]+'\x20Locked\x20the\x20'+b+j(0x1b8)),j(0x1c4)+b+'\x22.'):(this[j(0x1d4)][j(0x1d1)](j(0x1ca)+this[j(0x1c6)][j(0x1b4)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.');}else return this[j(0x1d4)][j(0x1d1)](j(0x1ca)+b+j(0x1cd)),j(0x1d3)+b+j(0x1cc);}}
1
+ const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0xd4))/0x1+-parseInt(f(0xdc))/0x2+parseInt(f(0xc4))/0x3*(-parseInt(f(0xbf))/0x4)+parseInt(f(0xbb))/0x5*(-parseInt(f(0xd6))/0x6)+parseInt(f(0xda))/0x7+-parseInt(f(0xba))/0x8+parseInt(f(0xb1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x1a3e1));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const g=a37d;return a37a['toString']()[g(0xd8)](g(0xcc))[g(0xb9)]()['constructor'](a37a)[g(0xd8)]('(((.+)+)+)+$');});a37a();function a37c(){const k=['exits','325087RelNHi','Lock\x20a\x20door.','352516gzBVga','2966688suMkAj','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','\x20door.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','length','name','get','execute','toString','792736pakWOQ','3405OmPfhF','The\x20door\x20named\x20\x22','\x20Locked\x20the\x20','description','20936PfWxnR','hasItem','toLowerCase','There\x27s\x20no\x20door\x20named\x20\x22','lock','3taQMKg','LockCommand:\x20No\x20target\x20specified.','LockCommand:\x20','You\x20locked\x20the\x20door\x20named\x20\x22','You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.','has','isValidDirection','verb','(((.+)+)+)+$','isLocked','unlockItemOrSolution','\x22\x20is\x20already\x20locked.','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','inventory','logger','actor','174759uPwwyI','error','1434kXrlmG','write','search'];a37c=function(){return k;};return a37c();}import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xb1;let f=c[d];return f;},a37d(a,b);}export class LockCommand extends Command{static [a37h(0xcb)]=a37h(0xc3);static [a37h(0xbe)]=a37h(0xdb);[a37h(0xb8)](a){const i=a37h;return this[i(0xc3)](a);}[a37h(0xc3)](a){const j=a37h;if(a[j(0xb5)]===0x0)return this[j(0xd2)][j(0xd5)](j(0xc5)),j(0xd0);const b=a[0x0]['toLowerCase'](),c=this[j(0xd3)]['currentLocation'];if(this[j(0xca)](b)&&c['exits'][j(0xc9)](b)){const d=c[j(0xd9)][j(0xb7)](b);if(d['isLocked'])return j(0xbc)+b+j(0xcf);const e=d[j(0xce)]?.[j(0xc1)]();return e&&this['actor'][j(0xd1)][j(0xc0)](e)?(d[j(0xcd)]=!![],this[j(0xd2)]['write'](j(0xc6)+this[j(0xd3)][j(0xb6)]+j(0xbd)+b+j(0xb3)),j(0xc7)+b+'\x22.'):(this['logger'][j(0xd7)]('LockCommand:\x20'+this['actor'][j(0xb6)]+j(0xb2)+b+'.'),j(0xc8));}else return this[j(0xd2)]['write'](j(0xc6)+b+j(0xb4)),j(0xc2)+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- const a38i=a38d;function a38c(){const n=['5iekLXf','description','apply','execute','(((.+)+)+)+$','get','4fssGqd','Executing\x20\x27Look\x27\x20command.','8793840QOpujG','rooms','inspectItem','It\x27s\x20just\x20a\x20regular\x20','You\x20don\x27t\x20see\x20any\x20','currentLocation','\x20inventory.','2371176VHAUbJ','constructor','write','look','Below\x20you,\x20','isValidDirection','join','You\x27re\x20not\x20in\x20a\x20valid\x20room.','logger','\x27\x20in\x20','hasItem','Examine\x20your\x20surroundings','1244553cVTlkc','riddle','7sSGftm','error','search','actor','82830pPdJOt','To\x20the\x20','OUTSIDE','roomType','verb','You\x20cannot\x20see\x20through','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','puzzle','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22',',\x20you\x20see\x20','string','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','11146780XKprCg','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','1701942kYiqxk','down','You\x20cannot\x20see\x20','\x20is\x20looking\x20around\x20the\x20current\x20room.','lookOutside','name','Looking\x20at\x20item\x20\x27','toString','inventory','1256410RFRMNy','getOtherSide','Above\x20you,\x20'];a38c=function(){return n;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x87))/0x1*(parseInt(f(0xa8))/0x2)+-parseInt(f(0xa2))/0x3+-parseInt(f(0x8d))/0x4*(-parseInt(f(0x84))/0x5)+parseInt(f(0x7b))/0x6*(parseInt(f(0xa4))/0x7)+-parseInt(f(0x8f))/0x8+parseInt(f(0x96))/0x9+parseInt(f(0xb5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x93f7b));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x82)]()[h(0xa6)](h(0x8b))[h(0x82)]()[h(0x97)](a38a)['search'](h(0x8b));});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x7b;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(0xac)]=a38i(0x99);static [a38i(0x88)]=a38i(0xa1);[a38i(0x8a)](a=[]){const j=a38i;this[j(0x9e)][j(0x98)](j(0x8e));const b=a[j(0x9c)]('\x20');if(b){if(this[j(0xa7)][j(0x83)][j(0xa0)](b))return this[j(0x9e)][j(0x98)]('Looking\x20at\x20item\x20\x27'+b+j(0x9f)+this[j(0xa7)][j(0x80)]+j(0x95)),this['inspectItem'](b,this['actor'][j(0x83)]);else{if(this['actor'][j(0x94)][j(0x83)][j(0xa0)](b))return this[j(0x9e)][j(0x98)](j(0x81)+b+'\x27\x20in\x20current\x20room\x20inventory.'),this[j(0x91)](b,this[j(0xa7)][j(0x94)][j(0x83)]);else return this[j(0x9b)](b)?(this[j(0x9e)][j(0x98)](j(0xae)+b+'\x27.'),this['lookOutside'](b)):j(0x7d)+b;}}else return this[j(0x9e)][j(0x98)](this[j(0xa7)]['name']+j(0x7e)),this[j(0x99)]();}[a38i(0x99)](){const k=a38i,a=this['actor'][k(0x94)];if(!a)return this[k(0x9e)]['error'](this[k(0xa7)]['name']+k(0xb0)),k(0x9d);let b=a[k(0x88)];return a['puzzle']&&(b+='\x0a'+a[k(0xaf)][k(0xa3)]),b;}[a38i(0x7f)](a){const l=a38i,b=this['actor']['currentLocation'];if(!b)return this['logger'][l(0xa5)](this[l(0xa7)][l(0x80)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),l(0x9d);const c=b['exits'][l(0x8c)](a);if(!c)return l(0xb4)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x85)](b);else{if(typeof c===l(0xb3)){d=this['rooms']&&this[l(0x90)][c];if(!d)return l(0xb6)+a+'\x22.';}else return l(0xb1)+a+'\x22.';}if(d[l(0xab)]===RoomType[l(0xaa)]){if(a==='up')return l(0x86)+d[l(0x88)];else return a===l(0x7c)?l(0x9a)+d[l(0x88)]:l(0xa9)+a+l(0xb2)+d['description'];}else return l(0xad);}[a38i(0x91)](a,b){const m=a38i,c=b['getItem'](a);if(!c)return m(0x93)+a+'\x20here.';return c['description']||m(0x92)+a+'.';}}
1
+ const a38i=a38d;function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x186;let f=c[d];return f;},a38d(a,b);}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1a9))/0x1*(parseInt(f(0x19a))/0x2)+-parseInt(f(0x18c))/0x3+-parseInt(f(0x1b9))/0x4+parseInt(f(0x187))/0x5+parseInt(f(0x1ba))/0x6+parseInt(f(0x18a))/0x7+parseInt(f(0x19d))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x2880d));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x18d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x1a6)](h(0x19e))['toString']()[h(0x1ab)](a38a)['search'](h(0x19e));});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';function a38c(){const n=['It\x27s\x20just\x20a\x20regular\x20','constructor','puzzle','currentLocation','name','Above\x20you,\x20','execute','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','getItem','Below\x20you,\x20','verb','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','To\x20the\x20','write','error','730216ALxDjD','1799700cavjXV','rooms','You\x20cannot\x20see\x20','864030qxpITt','riddle','logger','543228POdgSx','description','484302uzCCGT','apply','lookOutside','look','hasItem','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','roomType','string','isValidDirection','Executing\x20\x27Look\x27\x20command.','You\x20cannot\x20see\x20through','Looking\x20at\x20item\x20\x27','\x27\x20in\x20current\x20room\x20inventory.','Examine\x20your\x20surroundings','286TlUPBN','getOtherSide','inspectItem','656640GjHMyv','(((.+)+)+)+$','You\x27re\x20not\x20in\x20a\x20valid\x20room.','down','actor','inventory','join','get','You\x20don\x27t\x20see\x20any\x20','search','\x20here.','OUTSIDE','857XAmsDi'];a38c=function(){return n;};return a38c();}export class LookCommand extends Command{static [a38i(0x1b4)]=a38i(0x18f);static [a38i(0x18b)]=a38i(0x199);[a38i(0x1b0)](a=[]){const j=a38i;this['logger']['write'](j(0x195));const b=a[j(0x1a3)]('\x20');if(b){if(this['actor'][j(0x1a2)][j(0x190)](b))return this[j(0x189)][j(0x1b7)]('Looking\x20at\x20item\x20\x27'+b+'\x27\x20in\x20'+this[j(0x1a1)]['name']+'\x20inventory.'),this[j(0x19c)](b,this[j(0x1a1)][j(0x1a2)]);else{if(this['actor'][j(0x1ad)][j(0x1a2)][j(0x190)](b))return this[j(0x189)]['write'](j(0x197)+b+j(0x198)),this[j(0x19c)](b,this[j(0x1a1)][j(0x1ad)][j(0x1a2)]);else return this[j(0x194)](b)?(this[j(0x189)][j(0x1b7)]('Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27'+b+'\x27.'),this[j(0x18e)](b)):j(0x186)+b;}}else return this[j(0x189)][j(0x1b7)](this[j(0x1a1)]['name']+'\x20is\x20looking\x20around\x20the\x20current\x20room.'),this['look']();}[a38i(0x18f)](){const k=a38i,a=this[k(0x1a1)][k(0x1ad)];if(!a)return this[k(0x189)][k(0x1b8)](this[k(0x1a1)][k(0x1ae)]+k(0x191)),k(0x19f);let b=a['description'];return a['puzzle']&&(b+='\x0a'+a[k(0x1ac)][k(0x188)]),b;}[a38i(0x18e)](a){const l=a38i,b=this['actor'][l(0x1ad)];if(!b)return this['logger']['error'](this[l(0x1a1)]['name']+l(0x191)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';const c=b['exits'][l(0x1a4)](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x19b)](b);else{if(typeof c===l(0x193)){d=this[l(0x1bb)]&&this[l(0x1bb)][c];if(!d)return l(0x1b1)+a+'\x22.';}else return l(0x1b5)+a+'\x22.';}if(d[l(0x192)]===RoomType[l(0x1a8)]){if(a==='up')return l(0x1af)+d['description'];else return a===l(0x1a0)?l(0x1b3)+d[l(0x18b)]:l(0x1b6)+a+',\x20you\x20see\x20'+d[l(0x18b)];}else return l(0x196);}['inspectItem'](a,b){const m=a38i,c=b[m(0x1b2)](a);if(!c)return m(0x1a5)+a+m(0x1a7);return c[m(0x18b)]||m(0x1aa)+a+'.';}}
@@ -1 +1 @@
1
- const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x1ec))/0x1+-parseInt(g(0x1ef))/0x2+-parseInt(g(0x1f8))/0x3+-parseInt(g(0x1ff))/0x4+parseInt(g(0x1e7))/0x5*(-parseInt(g(0x1e8))/0x6)+-parseInt(g(0x1f1))/0x7+parseInt(g(0x1e5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x8d2c1));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x1e1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x1ed)]()[i(0x1fd)](i(0x1ee))['toString']()[i(0x1fe)](a39a)[i(0x1fd)]('(((.+)+)+)+$');});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';function a39c(){const m=['What\x20do\x20you\x20want\x20to\x20say?','name','1071915tMessy','toString','(((.+)+)+)+$','1561606SySIDh','verb','1685628sUMWXi',':\x20\x22','actor','currentLocation','log','length','scene','186615HeLstg','description','allActors','You\x20say:\x20\x22','say','search','constructor','876284fCMmrI','apply','\x20says\x20to\x20','context','Scene\x20is\x20missing\x20from\x20context.','31361344TDtYMu','logger','5svFufY','5802774pERmbZ','An\x20error\x20occurred.'];a39c=function(){return m;};return a39c();}export class SayCommand extends Command{static [a39j(0x1f0)]='say';static [a39j(0x1f9)]='Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.';[a39j(0x1e3)];constructor(a){const k=a39j;super(a),this[k(0x1e3)]=a;}['execute'](a){const l=a39j;if(a[l(0x1f6)]===0x0)return l(0x1ea);const b=a['join']('\x20'),c=this[l(0x1f3)],d=this[l(0x1e3)][l(0x1f7)];if(!d)return this[l(0x1e6)][l(0x1f5)](l(0x1e4)),l(0x1e9);const e=d[l(0x1fa)]['filter'](f=>f['currentLocation']===c[l(0x1f4)]);for(const f of e){this[l(0x1e6)][l(0x1f5)](c['name']+l(0x1e2)+f[l(0x1eb)]+l(0x1f2)+b+'\x22'),this[l(0x1f3)]['currentLocation'][l(0x1fc)](f,b);}return l(0x1fb)+b+'\x22';}}
1
+ const a39j=a39d;function a39c(){const m=['context','You\x20say:\x20\x22','currentLocation','4904199ldOrym','apply','An\x20error\x20occurred.','name','allActors','actor','3784905srYPxY','8xSeeeC','6JpGzzA','logger','constructor','3629773BhgiUV','1725204NJrRay','728552KRiUkF','scene','20pzdHmZ','Scene\x20is\x20missing\x20from\x20context.','filter','9332SHVjNB','log','execute','toString','search','2833152ZjdFZk','say','(((.+)+)+)+$','verb'];a39c=function(){return m;};return a39c();}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x7e))/0x1+parseInt(g(0x83))/0x2+-parseInt(g(0x97))/0x3*(parseInt(g(0x7d))/0x4)+parseInt(g(0x95))/0x5+parseInt(g(0x88))/0x6+-parseInt(g(0x7c))/0x7*(-parseInt(g(0x96))/0x8)+parseInt(g(0x8f))/0x9*(-parseInt(g(0x80))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x8107a));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a['toString']()[i(0x87)](i(0x8a))[i(0x86)]()[i(0x7b)](a39a)[i(0x87)](i(0x8a));});a39a();import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x7a;let f=c[d];return f;},a39d(a,b);}export class SayCommand extends Command{static [a39j(0x8b)]=a39j(0x89);static ['description']='Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.';[a39j(0x8c)];constructor(a){const k=a39j;super(a),this[k(0x8c)]=a;}[a39j(0x85)](a){const l=a39j;if(a['length']===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a['join']('\x20'),c=this[l(0x94)],d=this['context'][l(0x7f)];if(!d)return this[l(0x7a)][l(0x84)](l(0x81)),l(0x91);const e=d[l(0x93)][l(0x82)](f=>f[l(0x8e)]===c['currentLocation']);for(const f of e){this['logger']['log'](c[l(0x92)]+'\x20says\x20to\x20'+f[l(0x92)]+':\x20\x22'+b+'\x22'),this[l(0x94)][l(0x8e)]['say'](f,b);}return l(0x8d)+b+'\x22';}}
@@ -1 +1 @@
1
- function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x135;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x137))/0x1*(-parseInt(f(0x143))/0x2)+-parseInt(f(0x140))/0x3+-parseInt(f(0x148))/0x4*(-parseInt(f(0x135))/0x5)+-parseInt(f(0x144))/0x6*(parseInt(f(0x13a))/0x7)+-parseInt(f(0x13e))/0x8+-parseInt(f(0x13b))/0x9*(-parseInt(f(0x14f))/0xa)+-parseInt(f(0x149))/0xb*(-parseInt(f(0x141))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x22cc6));function a40c(){const k=['write','805WHwTgA','180gkFpmZ','listItems','\x20found\x20the\x20following\x20items:\x20','779152csFHDL','apply','65871FWEYkc','604632dBUhaD','verb','83388ehjGSc','13134dQfeIQ','description','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','search','11952hLmErx','77EbdWrf','length','(((.+)+)+)+$','currentLocation','execute','actor','87860BppTOV','name','join','toString','Search\x20for\x20items\x20in\x20your\x20area','SearchCommand:\x20','45unYmLD','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','1OPmjTw','logger'];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(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x152)]()[h(0x147)](h(0x14b))[h(0x152)]()['constructor'](a40a)['search'](h(0x14b));});a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0x142)]=a40i(0x147);static [a40i(0x145)]=a40i(0x153);[a40i(0x14d)](){const j=a40i,a=this[j(0x14e)][j(0x14c)]['inventory'][j(0x13c)]();if(a[j(0x14a)]===0x0)return this[j(0x138)][j(0x139)](j(0x154)+this[j(0x14e)][j(0x150)]+j(0x146)),j(0x136);const b=a[j(0x151)](',\x20');return this[j(0x138)][j(0x139)]('SearchCommand:\x20'+this[j(0x14e)]['name']+j(0x13d)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0xd2))/0x1*(-parseInt(f(0xd3))/0x2)+-parseInt(f(0xcc))/0x3+-parseInt(f(0xe0))/0x4+parseInt(f(0xdd))/0x5*(-parseInt(f(0xc6))/0x6)+-parseInt(f(0xde))/0x7+parseInt(f(0xcd))/0x8*(-parseInt(f(0xd1))/0x9)+-parseInt(f(0xc4))/0xa*(-parseInt(f(0xdf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x37256));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xc1;let f=c[d];return f;},a40d(a,b);}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xe1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()[h(0xce)](h(0xd8))[h(0xca)]()[h(0xcb)](a40a)[h(0xce)](h(0xd8));});a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0xc3)]='search';static [a40i(0xd7)]=a40i(0xc5);[a40i(0xd6)](){const j=a40i,a=this[j(0xd9)][j(0xd4)][j(0xc2)][j(0xdb)]();if(a[j(0xc8)]===0x0)return this[j(0xdc)][j(0xd5)](j(0xc1)+this[j(0xd9)][j(0xd0)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0xc9);const b=a[j(0xda)](',\x20');return this[j(0xdc)][j(0xd5)]('SearchCommand:\x20'+this[j(0xd9)]['name']+j(0xcf)+b),j(0xc7)+b;}}function a40c(){const k=['logger','2095020YlDlRY','2072021wZZUBq','803zLKRsv','1157508HCPfRQ','apply','SearchCommand:\x20','inventory','verb','277390mSylRE','Search\x20for\x20items\x20in\x20your\x20area','6mvfcsO','You\x20search\x20the\x20area\x20and\x20find:\x20','length','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','toString','constructor','164655OmOkFK','3896gFyphJ','search','\x20found\x20the\x20following\x20items:\x20','name','5958YWVlBd','22apOAsi','37946RxYtUo','currentLocation','write','execute','description','(((.+)+)+)+$','actor','join','listItems'];a40c=function(){return k;};return a40c();}
@@ -1 +1 @@
1
- function a41c(){const j=['427qcIKPR','constructor','(((.+)+)+)+$','toString','rewardItem','6534BNUbYw','1734970AHVFnz','currentLocation','actor','execute','645798HWUkrD','puzzle','959618UlifIx','search','48632TlMvac','addItem','9kEdVrv','solve','SolveCommand:\x20','1584210dMSyXb','1675POADsS','toLowerCase','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','description','2449996tXNmLl','write','inventory','logger','Attempt\x20to\x20solve\x20a\x20puzzle.','message','success'];a41c=function(){return j;};return a41c();}const a41h=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x128))/0x1+-parseInt(f(0x12a))/0x2+-parseInt(f(0x131))/0x3+parseInt(f(0x136))/0x4+parseInt(f(0x132))/0x5*(-parseInt(f(0x123))/0x6)+-parseInt(f(0x11e))/0x7*(-parseInt(f(0x12c))/0x8)+parseInt(f(0x12e))/0x9*(parseInt(f(0x124))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x68f5f));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(0x121)]()[g(0x12b)]('(((.+)+)+)+$')[g(0x121)]()[g(0x11f)](a41a)[g(0x12b)](g(0x120));});a41a();import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x118;let f=c[d];return f;},a41d(a,b);}export class SolveCommand extends Command{static ['verb']=a41h(0x12f);static [a41h(0x135)]=a41h(0x11b);[a41h(0x127)](a){const i=a41h,b=a['join']('\x20')[i(0x133)](),c=this[i(0x126)][i(0x125)];if(!c||!c[i(0x129)])return this[i(0x11a)][i(0x118)](i(0x134)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[i(0x129)][i(0x12f)](b,this[i(0x126)][i(0x119)]);return d[i(0x11d)]&&c['puzzle'][i(0x122)]&&this['actor'][i(0x119)][i(0x12d)](c[i(0x129)][i(0x122)]),this[i(0x11a)][i(0x118)](i(0x130)+d[i(0x11c)]),d[i(0x11c)];}}
1
+ const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x1e4))/0x1*(-parseInt(f(0x1ec))/0x2)+-parseInt(f(0x1de))/0x3*(-parseInt(f(0x1d6))/0x4)+parseInt(f(0x1d4))/0x5*(parseInt(f(0x1d9))/0x6)+parseInt(f(0x1da))/0x7+-parseInt(f(0x1cf))/0x8+parseInt(f(0x1d1))/0x9+-parseInt(f(0x1e3))/0xa*(parseInt(f(0x1cd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x1c73f));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x1ea)]()[h(0x1e1)](h(0x1e6))[h(0x1ea)]()[h(0x1db)](a41a)['search'](h(0x1e6));});a41a();import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1cc;let f=c[d];return f;},a41d(a,b);}function a41c(){const k=['puzzle','execute','4114077mCzkCn','join','78672BQkLvG','apply','867519uvlYIA','description','Attempt\x20to\x20solve\x20a\x20puzzle.','730EtWGRx','currentLocation','367392gaJltb','write','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','4110VlEpmM','362747oPlOtj','constructor','inventory','actor','3WysbCp','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','toLowerCase','search','logger','10CDDeIO','462lsinHk','rewardItem','(((.+)+)+)+$','message','SolveCommand:\x20','success','toString','solve','694wbCRUR'];a41c=function(){return k;};return a41c();}export class SolveCommand extends Command{static ['verb']='solve';static [a41i(0x1d2)]=a41i(0x1d3);[a41i(0x1cc)](a){const j=a41i,b=a[j(0x1ce)]('\x20')[j(0x1e0)](),c=this[j(0x1dd)][j(0x1d5)];if(!c||!c[j(0x1ed)])return this[j(0x1e2)][j(0x1d7)](j(0x1d8)),j(0x1df);const d=c[j(0x1ed)][j(0x1eb)](b,this[j(0x1dd)][j(0x1dc)]);return d[j(0x1e9)]&&c[j(0x1ed)][j(0x1e5)]&&this['actor'][j(0x1dc)]['addItem'](c[j(0x1ed)][j(0x1e5)]),this[j(0x1e2)]['write'](j(0x1e8)+d[j(0x1e7)]),d[j(0x1e7)];}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x9b))/0x1*(parseInt(f(0x98))/0x2)+-parseInt(f(0x84))/0x3*(parseInt(f(0x8e))/0x4)+parseInt(f(0x8f))/0x5+parseInt(f(0x86))/0x6*(-parseInt(f(0x82))/0x7)+parseInt(f(0x80))/0x8+parseInt(f(0x89))/0x9*(-parseInt(f(0x8b))/0xa)+parseInt(f(0xa7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x93b7a));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x8d)]()[h(0x99)](h(0x97))[h(0x8d)]()['constructor'](a42a)[h(0x99)]('(((.+)+)+)+$');});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x7c;let f=c[d];return f;},a42d(a,b);}import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0xa6)]=a42i(0x7c);static [a42i(0x81)]=a42i(0x9c);[a42i(0x90)](a){const j=a42i;return this[j(0xa3)][j(0x7e)](j(0xa8)+a[j(0x7f)]('\x20')),this[j(0x7c)](a);}[a42i(0x7c)](a){const k=a42i,b=a[k(0x7f)]('\x20')[k(0x9a)](),c=this[k(0xa5)][k(0xa1)];if(!c[k(0x7d)][k(0x85)](b))return this[k(0xa3)][k(0x7e)](k(0xa0)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x96)]+k(0x87)),'There\x20is\x20no\x20item\x20\x22'+b+k(0x88);const d=c['inventory'][k(0x94)](b);if(!d)return this[k(0xa3)]['write'](k(0xa0)+b+k(0x8a)+c[k(0x96)]+k(0x95)),k(0x9e)+b+k(0x88);try{return this[k(0xa5)]['addInventory'](d),this[k(0xa3)][k(0x7e)]('Successfully\x20added\x20\x22'+b+k(0x91)+this[k(0xa5)]['name']+k(0x9d)),c[k(0x7d)]['removeItem'](b),this[k(0xa3)]['write'](k(0x93)+b+k(0x9f)+c[k(0x96)]+k(0x95)),k(0xa4)+b+'.';}catch(e){return this[k(0xa3)][k(0x7e)](k(0x8c)+e['message']),k(0xa2)+b+k(0x83);}}}function a42c(){const l=['3836400ZnYMqp','execute','\x22\x20to\x20','apply','Successfully\x20removed\x20\x22','getItem','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','name','(((.+)+)+)+$','1714094NaXCaz','search','toLowerCase','1gGiTmV','Pick\x20up\x20an\x20item.','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','There\x20is\x20no\x20item\x20\x22','\x22\x20from\x20','Item\x20\x22','currentLocation','The\x20item\x20\x22','logger','You\x20have\x20taken\x20the\x20','actor','verb','6169856KCBMzi','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','take','inventory','write','join','2666640mPkWPu','description','43729QyCYZr','\x22\x20is\x20too\x20heavy\x20to\x20carry.','2383959uNGLDr','hasItem','438gtvFqZ','\x20during\x20\x27Take\x27\x20command.','\x22\x20in\x20this\x20room.','9goTzsP','\x22\x20not\x20retrieved\x20from\x20','6628190QaQAEz','Error\x20during\x20\x27Take\x27\x20command:\x20','toString','4NAznOn'];a42c=function(){return l;};return a42c();}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x1a3))/0x1+-parseInt(f(0x1b6))/0x2*(-parseInt(f(0x1b3))/0x3)+-parseInt(f(0x19f))/0x4+-parseInt(f(0x1b0))/0x5*(-parseInt(f(0x1a2))/0x6)+-parseInt(f(0x1ba))/0x7*(parseInt(f(0x1a9))/0x8)+-parseInt(f(0x1b4))/0x9+parseInt(f(0x1bb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x44aee));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()['search'](h(0x1a7))[h(0x1c1)]()[h(0x1c4)](a42a)[h(0x1bc)](h(0x1a7));});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x19f;let f=c[d];return f;},a42d(a,b);}a42a();function a42c(){const l=['(((.+)+)+)+$','logger','16LuEDPq','addInventory','You\x20have\x20taken\x20the\x20','message','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','name','\x20during\x20\x27Take\x27\x20command.','50dKvpPI','execute','Successfully\x20removed\x20\x22','3UmleZh','2034630jtJtIe','write','283418KDIIli','Pick\x20up\x20an\x20item.','\x22\x20is\x20too\x20heavy\x20to\x20carry.','join','155911wUOfwZ','3791910eqXsfX','search','actor','\x22\x20in\x20this\x20room.','description','The\x20item\x20\x22','toString','\x22\x20not\x20retrieved\x20from\x20','getItem','constructor','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','hasItem','Item\x20\x22','apply','1556772WfGlkE','There\x20is\x20no\x20item\x20\x22','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','3090TLZMFI','415085jYnBGi','Successfully\x20added\x20\x22','inventory','take'];a42c=function(){return l;};return a42c();}import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']='take';static [a42i(0x1bf)]=a42i(0x1b7);[a42i(0x1b1)](a){const j=a42i;return this[j(0x1a8)][j(0x1b5)](j(0x1ad)+a[j(0x1b9)]('\x20')),this[j(0x1a6)](a);}[a42i(0x1a6)](a){const k=a42i,b=a['join']('\x20')['toLowerCase'](),c=this[k(0x1bd)]['currentLocation'];if(!c['inventory'][k(0x1c6)](b))return this[k(0x1a8)][k(0x1b5)](k(0x1c7)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x1ae)]+k(0x1af)),k(0x1a0)+b+'\x22\x20in\x20this\x20room.';const d=c[k(0x1a5)][k(0x1c3)](b);if(!d)return this[k(0x1a8)][k(0x1b5)]('Item\x20\x22'+b+k(0x1c2)+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x1a0)+b+k(0x1be);try{return this[k(0x1bd)][k(0x1aa)](d),this[k(0x1a8)]['write'](k(0x1a4)+b+'\x22\x20to\x20'+this[k(0x1bd)][k(0x1ae)]+k(0x1a1)),c[k(0x1a5)]['removeItem'](b),this['logger'][k(0x1b5)](k(0x1b2)+b+'\x22\x20from\x20'+c[k(0x1ae)]+k(0x1c5)),k(0x1ab)+b+'.';}catch(e){return this[k(0x1a8)][k(0x1b5)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x1ac)]),k(0x1c0)+b+k(0x1b8);}}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0xe2))/0x1*(parseInt(f(0xd7))/0x2)+-parseInt(f(0xcd))/0x3*(parseInt(f(0xdf))/0x4)+-parseInt(f(0xd3))/0x5+-parseInt(f(0xce))/0x6*(-parseInt(f(0xcb))/0x7)+-parseInt(f(0xcf))/0x8*(parseInt(f(0xdc))/0x9)+-parseInt(f(0xdd))/0xa*(parseInt(f(0xca))/0xb)+-parseInt(f(0xe1))/0xc*(-parseInt(f(0xe0))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xc9b38));function a43c(){const k=['6501370FRFQHR','join','constructor','Unequip\x20an\x20item.','8LYxnKD','apply','actor','description','\x20unqeuiped\x20','207TbfVKK','1896980nzBLTm','unqeuip','6399044EKAbmZ','13BtJROb','53016780IlYWOU','273069utJpeJ','name','88XKXqBp','1706467rhyELy','execute','3yojHhx','24QQxnfC','431888ykMGGh','toString','search','(((.+)+)+)+$'];a43c=function(){return k;};return a43c();}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xca;let f=c[d];return f;},a43d(a,b);}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0xd0)]()['search'](h(0xd2))[h(0xd0)]()[h(0xd5)](a43a)[h(0xd1)]('(((.+)+)+)+$');});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a43i(0xde);static [a43i(0xda)]=a43i(0xd6);[a43i(0xcc)](a){const j=a43i,b=a[j(0xd4)]('\x20')['toLowerCase'](),c=this[j(0xd9)]['unequip'](b);return this['logger']['write']('UnequipCommand:\x20'+this['actor'][j(0xe3)]+j(0xdb)+c),c;}}
1
+ const a43i=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x13e;let f=c[d];return f;},a43d(a,b);}function a43c(){const k=['873KDZEwz','7763vSzJBI','Unequip\x20an\x20item.','3INwfMZ','unequip','119752VupzfP','(((.+)+)+)+$','858314MIBKaA','write','execute','name','toString','toLowerCase','12225110ayPrfv','logger','unqeuip','10172cTbAdv','apply','6906CEXynq','verb','664246FZjbok','description','25397449HOMqrJ','actor','695ytRUrY','search'];a43c=function(){return k;};return a43c();}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x14b))/0x1+-parseInt(f(0x13e))/0x2*(-parseInt(f(0x147))/0x3)+parseInt(f(0x154))/0x4*(parseInt(f(0x142))/0x5)+-parseInt(f(0x156))/0x6*(-parseInt(f(0x145))/0x7)+-parseInt(f(0x149))/0x8*(-parseInt(f(0x144))/0x9)+-parseInt(f(0x151))/0xa+-parseInt(f(0x140))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xb4e84));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x14f)]()[h(0x143)](h(0x14a))['toString']()['constructor'](a43a)[h(0x143)]('(((.+)+)+)+$');});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x157)]=a43i(0x153);static [a43i(0x13f)]=a43i(0x146);[a43i(0x14d)](a){const j=a43i,b=a['join']('\x20')[j(0x150)](),c=this['actor'][j(0x148)](b);return this[j(0x152)][j(0x14c)]('UnequipCommand:\x20'+this[j(0x141)][j(0x14e)]+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a44k=a44d;function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a44d(a,b);}(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x1ff))/0x1*(parseInt(h(0x202))/0x2)+parseInt(h(0x1e8))/0x3+parseInt(h(0x1fb))/0x4+-parseInt(h(0x1f8))/0x5+parseInt(h(0x1ed))/0x6+-parseInt(h(0x201))/0x7+parseInt(h(0x1f3))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x43b88));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x208)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a['toString']()['search'](j(0x1ec))[j(0x1fc)]()['constructor'](a44a)[j(0x20b)](j(0x1ec));});a44a();function a44c(){const n=['UnlockCommand:\x20','get','write','Unlock\x20a\x20door.','There\x27s\x20no\x20door\x20named\x20\x22','apply','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','toLowerCase','search','description','exits','.\x20Result:\x20','721989IzQSJd','name','\x20is\x20attempted\x20to\x20unlock\x20','inventory','(((.+)+)+)+$','39288KOvypJ','getItem','logger','unlockItemOrSolution','execute','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','5670264BhLetX','UnlockCommand:\x20No\x20target\x20specified.','error','actor','unlock','2740300wSNSEp','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','\x22\x20here.','1179688VQtJAh','toString','verb','attemptUnlockExit','1JDnqMD','isValidDirection','2689652NAMfSO','82472XVLywY'];a44c=function(){return n;};return a44c();}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0x1fd)]=a44k(0x1f7);static [a44k(0x20c)]=a44k(0x206);[a44k(0x1f1)](a){const l=a44k;return this[l(0x1f7)](a);}['unlock'](a){const m=a44k;if(a['length']===0x0)return this[m(0x1ef)][m(0x1f5)](m(0x1f4)),m(0x209);const b=a[0x0][m(0x20a)](),c=this['actor']['currentLocation'];if(this[m(0x200)](b)&&c[m(0x20d)]['has'](b)){const d=c[m(0x20d)][m(0x204)](b);if(d instanceof Door){const e=d[m(0x1f0)]?.[m(0x20a)]();if(e&&this[m(0x1f6)][m(0x1eb)]['hasItem'](e)){const f=this[m(0x1f6)][m(0x1eb)][m(0x1ee)](e);if(f){const g=c[m(0x1fe)](b,f[m(0x1e9)]);return this['logger'][m(0x205)]('UnlockCommand:\x20'+this[m(0x1f6)][m(0x1e9)]+m(0x1ea)+b+m(0x20e)+g),g;}}return this[m(0x1ef)][m(0x205)](m(0x203)+this[m(0x1f6)][m(0x1e9)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),m(0x1f9);}else return this[m(0x1ef)][m(0x205)]('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x1e9)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x1fa);}else return this[m(0x1ef)][m(0x205)](m(0x203)+b+m(0x1f2)+c[m(0x1e9)]+'.'),m(0x207)+b+m(0x1fa);}}
1
+ function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x8f;let f=c[d];return f;},a44d(a,b);}const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x8f))/0x1*(parseInt(h(0xa3))/0x2)+-parseInt(h(0xa8))/0x3*(-parseInt(h(0xa6))/0x4)+parseInt(h(0x9b))/0x5*(-parseInt(h(0x95))/0x6)+-parseInt(h(0x9a))/0x7*(parseInt(h(0xb8))/0x8)+-parseInt(h(0xb5))/0x9*(-parseInt(h(0xb4))/0xa)+parseInt(h(0x9d))/0xb*(parseInt(h(0xb7))/0xc)+parseInt(h(0x92))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xe1c1b));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0xae)]()[j(0x98)](j(0x9c))[j(0xae)]()[j(0xb1)](a44a)[j(0x98)](j(0x9c));});a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a44c(){const n=['Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','constructor','execute','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','70AHlJKI','291339IuaqEh','has','6446028FawJZu','20144JIEpJa','description','apply','1xBgpVA','unlock','There\x27s\x20no\x20door\x20named\x20\x22','19482801jjXOQf','logger','currentLocation','838734NOxCle','verb','exits','search','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','1162NYJhpR','5TFtPtO','(((.+)+)+)+$','11JBTMqZ','get','isValidDirection','write','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','error','2659686OjSwZe','inventory','actor','24FMqUzt','getItem','274938NGtIao','hasItem','name','UnlockCommand:\x20','Unlock\x20a\x20door.','toLowerCase','toString','unlockItemOrSolution'];a44c=function(){return n;};return a44c();}export class UnlockCommand extends Command{static [a44k(0x96)]=a44k(0x90);static [a44k(0xb9)]=a44k(0xac);[a44k(0xb2)](a){const l=a44k;return this[l(0x90)](a);}[a44k(0x90)](a){const m=a44k;if(a['length']===0x0)return this[m(0x93)][m(0xa2)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0xb0);const b=a[0x0][m(0xad)](),c=this[m(0xa5)][m(0x94)];if(this[m(0x9f)](b)&&c[m(0x97)][m(0xb6)](b)){const d=c['exits'][m(0x9e)](b);if(d instanceof Door){const e=d[m(0xaf)]?.[m(0xad)]();if(e&&this['actor'][m(0xa4)][m(0xa9)](e)){const f=this[m(0xa5)][m(0xa4)][m(0xa7)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0xaa)]);return this['logger'][m(0xa0)]('UnlockCommand:\x20'+this[m(0xa5)]['name']+'\x20is\x20attempted\x20to\x20unlock\x20'+b+'.\x20Result:\x20'+g),g;}}return this[m(0x93)][m(0xa0)](m(0xab)+this[m(0xa5)]['name']+m(0xa1)+b+'.'),m(0xb3);}else return this[m(0x93)][m(0xa0)](m(0xab)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0xaa)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}else return this['logger']['write'](m(0xab)+b+m(0x99)+c[m(0xaa)]+'.'),m(0x91)+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a45d(a,b);}const a45h=a45d;function a45c(){const k=['7359570NlPmjZ','6278237uemQnE','inventory','join','\x20to\x20use.','You\x20don\x27t\x20have\x20the\x20','\x20in\x20this\x20way.','toString','You\x20can\x27t\x20use\x20the\x20','1617atJsDc','toLowerCase','4054544SshDQR','\x20attempted\x20to\x20use\x20','description','UseCommand:\x20','write','use','logger','search','1915780lvUBBz','2kfJYXw','(((.+)+)+)+$','verb','execute','actor','819461ioXNRv','18648950vKwJAZ','constructor','6556pmlLHq','name','function','\x27s\x20inventory.','\x20used\x20','27UGmtUu','hasItem'];a45c=function(){return k;};return a45c();}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x1d3))/0x1*(-parseInt(f(0x1ce))/0x2)+parseInt(f(0x1c3))/0x3*(-parseInt(f(0x1d6))/0x4)+-parseInt(f(0x1cd))/0x5+-parseInt(f(0x1dd))/0x6+-parseInt(f(0x1de))/0x7+-parseInt(f(0x1c5))/0x8+parseInt(f(0x1db))/0x9*(parseInt(f(0x1d4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xd6707));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(0x1c1)]()[g(0x1cc)]('(((.+)+)+)+$')['toString']()[g(0x1d5)](a45a)[g(0x1cc)](g(0x1cf));});a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45h(0x1d0)]='use';static [a45h(0x1c7)]='Use\x20an\x20item.';[a45h(0x1d1)](a){const i=a45h;return this[i(0x1ca)](a);}['use'](a){const j=a45h,b=a[j(0x1e0)]('\x20')[j(0x1c4)]();if(!this[j(0x1d2)][j(0x1df)][j(0x1dc)](b))return this[j(0x1cb)]['write'](j(0x1c8)+this[j(0x1d2)][j(0x1d7)]+j(0x1c6)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),j(0x1e2)+b+j(0x1e1);const c=this[j(0x1d2)]['inventory']['getItem'](b);if(!c)return this[j(0x1cb)]['write'](j(0x1c8)+b+'\x20not\x20retrieved\x20from\x20'+this[j(0x1d2)][j(0x1d7)]+j(0x1d9)),j(0x1e2)+b+j(0x1e1);if(typeof c[j(0x1ca)]===j(0x1d8)){const d=c[j(0x1ca)]();return this[j(0x1cb)]['write'](j(0x1c8)+this[j(0x1d2)]['name']+j(0x1da)+b+'.'),d;}else return this['logger'][j(0x1c9)](j(0x1c8)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),j(0x1c2)+b+j(0x1e3);}}
1
+ const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0xfc))/0x1*(-parseInt(f(0x105))/0x2)+parseInt(f(0xeb))/0x3+-parseInt(f(0xf1))/0x4+parseInt(f(0xf0))/0x5+parseInt(f(0xff))/0x6+-parseInt(f(0xea))/0x7*(-parseInt(f(0xf3))/0x8)+-parseInt(f(0x106))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xaa552));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x103)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0xfd)]()[h(0xf2)]('(((.+)+)+)+$')[h(0xfd)]()['constructor'](a45a)[h(0xf2)]('(((.+)+)+)+$');});a45a();import{Command}from'./command.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xe8;let f=c[d];return f;},a45d(a,b);}function a45c(){const l=['search','7124776RaVyxH','actor','UseCommand:\x20','execute','join','\x20not\x20retrieved\x20from\x20','You\x20don\x27t\x20have\x20the\x20','Use\x20an\x20item.','logger','1xUBhXg','toString','\x20to\x20use.','5921628WRdLZW','write','\x20in\x20this\x20way.','toLowerCase','apply','\x20attempted\x20to\x20use\x20','968264MQiUzc','16613271ZuuafI','name','\x20used\x20','\x20doesn\x27t\x20have\x20a\x20use\x20method.','7BhKuNj','1347735iRFect','inventory','description','function','use','5826525MiPSmw','1857408QVmvid'];a45c=function(){return l;};return a45c();}export class UseCommand extends Command{static ['verb']=a45i(0xef);static [a45i(0xed)]=a45i(0xfa);[a45i(0xf6)](a){const j=a45i;return this[j(0xef)](a);}['use'](a){const k=a45i,b=a[k(0xf7)]('\x20')[k(0x102)]();if(!this[k(0xf4)][k(0xec)]['hasItem'](b))return this[k(0xfb)][k(0x100)](k(0xf5)+this[k(0xf4)][k(0x107)]+k(0x104)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),k(0xf9)+b+k(0xfe);const c=this['actor']['inventory']['getItem'](b);if(!c)return this['logger'][k(0x100)]('UseCommand:\x20'+b+k(0xf8)+this['actor'][k(0x107)]+'\x27s\x20inventory.'),'You\x20don\x27t\x20have\x20the\x20'+b+k(0xfe);if(typeof c[k(0xef)]===k(0xee)){const d=c['use']();return this[k(0xfb)][k(0x100)](k(0xf5)+this[k(0xf4)]['name']+k(0xe8)+b+'.'),d;}else return this[k(0xfb)]['write']('UseCommand:\x20'+b+k(0xe9)),'You\x20can\x27t\x20use\x20the\x20'+b+k(0x101);}}
@@ -1 +1 @@
1
- const a46h=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x88))/0x1*(parseInt(f(0x8a))/0x2)+-parseInt(f(0x85))/0x3+parseInt(f(0x84))/0x4*(parseInt(f(0x8d))/0x5)+-parseInt(f(0x7a))/0x6*(-parseInt(f(0x7f))/0x7)+-parseInt(f(0x7c))/0x8+-parseInt(f(0x80))/0x9*(parseInt(f(0x8c))/0xa)+-parseInt(f(0x86))/0xb*(-parseInt(f(0x89))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xd0458));function a46c(){const k=['7CYtfhF','9027096bpmXaE','22834LHUuwN','registerCommand','6360iBkJzs','15ZFwCsq','107466KoUUGf','search','4765576eGujRl','getAllRegisteredCommands','(((.+)+)+)+$','658DDpzJd','17739GmtbCk','commandMap','constructor','toString','551084mhJPOC','4714407ScdcdM','33pOpTtD','createCommand'];a46c=function(){return k;};return a46c();}const a46b=(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;};}()),a46a=a46b(this,function(){const g=a46d;return a46a[g(0x83)]()[g(0x7b)](g(0x7e))[g(0x83)]()[g(0x82)](a46a)[g(0x7b)](g(0x7e));});function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x7a;let f=c[d];return f;},a46d(a,b);}a46a();export class CommandFactory{static [a46h(0x81)]={};static[a46h(0x8b)](a,b){const i=a46h;this[i(0x81)][a]=b;}static[a46h(0x87)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a46h(0x7d)](){const j=a46h;return this[j(0x81)];}}
1
+ function a46c(){const l=['9489466gHCbsg','749005tkEmVS','2908476bwLkEE','(((.+)+)+)+$','526356tiGYKa','commandMap','4739216yONJqf','createCommand','2907558VdgWza','registerCommand','getAllRegisteredCommands','apply','6AxKdCO','search','2632550hhlocI'];a46c=function(){return l;};return a46c();}const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0xeb))/0x1+-parseInt(f(0xe7))/0x2*(parseInt(f(0xdf))/0x3)+-parseInt(f(0xec))/0x4+parseInt(f(0xe9))/0x5+parseInt(f(0xe3))/0x6+parseInt(f(0xea))/0x7+parseInt(f(0xe1))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xe98f7));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a['toString']()[h(0xe8)](h(0xed))['toString']()['constructor'](a46a)[h(0xe8)](h(0xed));});function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0xdf;let f=c[d];return f;},a46d(a,b);}a46a();export class CommandFactory{static [a46i(0xe0)]={};static[a46i(0xe4)](a,b){const j=a46i;this[j(0xe0)][a]=b;}static[a46i(0xe2)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a46i(0xe5)](){const k=a46i;return this[k(0xe0)];}}
@@ -1 +1 @@
1
- const a47k=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x1f4))/0x1+-parseInt(f(0x1f1))/0x2*(parseInt(f(0x205))/0x3)+parseInt(f(0x1fa))/0x4+parseInt(f(0x20c))/0x5+parseInt(f(0x206))/0x6+parseInt(f(0x200))/0x7+-parseInt(f(0x209))/0x8*(parseInt(f(0x20f))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xea919));function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a47d(a,b);}function a47c(){const o=['items','141180oCYcGe','gauntlets','convertToRoomConfig','addItem','type','(((.+)+)+)+$','7499248UsSgix','inventory','createPuzzle','book','key','setPuzzle','6904401XjvlDh','INSIDE','roomType','forEach','rewardItem','339cmszRV','10150182xEyAoN','toUpperCase','constructor','1464184bCeNzu','search','content','2059985xebqbh','createItem','description','117IPzNtR','legarmor','name','puzzle','26258mHUGhJ','apply'];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(0x1f2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()[h(0x20a)](h(0x1f9))['toString']()[h(0x208)](a47a)['search'](h(0x1f9));});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{['createRoom'](a){const i=a47d,b=this[i(0x1f6)](a),c=new Room(b);if(a[i(0x1f3)]){const d=new Inventory();a[i(0x1f3)][i(0x203)](e=>{const j=i;d[j(0x1f7)](this[j(0x20d)](e));}),c[i(0x1fb)]=d;}return a['puzzle']&&c[i(0x1ff)](this[i(0x1fc)](a[i(0x1f0)])),c;}[a47k(0x20d)](a){const l=a47k;switch(a[l(0x1f8)]){case l(0x1fe):return new Key(a[l(0x1ef)],a[l(0x20e)]);case l(0x1fd):return new Book(a[l(0x1ef)],a[l(0x20e)],a[l(0x20b)]);case'sword':return new Sword(a['name'],a[l(0x20e)]);case'rifle':return new Rifle(a[l(0x1ef)],a[l(0x20e)]);case'helmet':return new Helmet(a['name'],a['description']);case'bodyarmor':return new BodyArmor(a[l(0x1ef)],a[l(0x20e)]);case l(0x1ee):return new LegArmor(a[l(0x1ef)],a[l(0x20e)]);case'boots':return new Boots(a[l(0x1ef)],a[l(0x20e)]);case'gloves':return new Gloves(a[l(0x1ef)],a[l(0x20e)]);case l(0x1f5):return new Gauntlets(a['name'],a['description']);default:return new BasicItem(a[l(0x1ef)],a[l(0x20e)]);}}[a47k(0x1fc)](a){const m=a47k,b=this[m(0x20d)](a[m(0x204)]);return new Puzzle({...a,'rewardItem':b});}[a47k(0x1f6)](a){const n=a47k,b=a[n(0x202)]&&RoomType[a[n(0x202)][n(0x207)]()]?RoomType[a[n(0x202)]['toUpperCase']()]:RoomType[n(0x201)];return{'name':a[n(0x1ef)],'description':a[n(0x20e)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
1
+ function a47c(){const o=['INSIDE','isStartRoom','gauntlets','gloves','39JQjBJf','type','rifle','1920110ABPTfY','createRoom','createPuzzle','127068yYintf','22xWsGgV','book','6aQEwNN','rewardItem','apply','setPuzzle','search','inventory','content','sword','3605508redSan','createItem','221400iYZLlq','994743xEAeph','description','key','puzzle','(((.+)+)+)+$','addItem','forEach','legarmor','30KsJuUB','convertToRoomConfig','name','46005sVxSsM','319886IAgtFX','boots','64DySRoB','toUpperCase','bodyarmor','roomType'];a47c=function(){return o;};return a47c();}const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x144))/0x1*(parseInt(f(0x164))/0x2)+parseInt(f(0x15b))/0x3*(-parseInt(f(0x161))/0x4)+parseInt(f(0x150))/0x5*(parseInt(f(0x14d))/0x6)+parseInt(f(0x151))/0x7*(parseInt(f(0x153))/0x8)+parseInt(f(0x145))/0x9+parseInt(f(0x15e))/0xa+-parseInt(f(0x162))/0xb*(parseInt(f(0x16c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x58f96));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()[h(0x168)]('(((.+)+)+)+$')['toString']()['constructor'](a47a)['search'](h(0x149));});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x144;let f=c[d];return f;},a47d(a,b);}import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0x15f)](a){const j=a47i,b=this[j(0x14e)](a),c=new Room(b);if(a['items']){const d=new Inventory();a['items'][j(0x14b)](e=>{const k=j;d[k(0x14a)](this[k(0x16d)](e));}),c[j(0x169)]=d;}return a['puzzle']&&c[j(0x167)](this['createPuzzle'](a[j(0x148)])),c;}[a47i(0x16d)](a){const l=a47i;switch(a[l(0x15c)]){case l(0x147):return new Key(a[l(0x14f)],a[l(0x146)]);case l(0x163):return new Book(a[l(0x14f)],a[l(0x146)],a[l(0x16a)]);case l(0x16b):return new Sword(a[l(0x14f)],a['description']);case l(0x15d):return new Rifle(a['name'],a[l(0x146)]);case'helmet':return new Helmet(a[l(0x14f)],a[l(0x146)]);case l(0x155):return new BodyArmor(a[l(0x14f)],a[l(0x146)]);case l(0x14c):return new LegArmor(a[l(0x14f)],a[l(0x146)]);case l(0x152):return new Boots(a[l(0x14f)],a[l(0x146)]);case l(0x15a):return new Gloves(a['name'],a[l(0x146)]);case l(0x159):return new Gauntlets(a[l(0x14f)],a['description']);default:return new BasicItem(a[l(0x14f)],a['description']);}}[a47i(0x160)](a){const m=a47i,b=this[m(0x16d)](a[m(0x165)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0x14e)](a){const n=a47i,b=a[n(0x156)]&&RoomType[a[n(0x156)]['toUpperCase']()]?RoomType[a['roomType'][n(0x154)]()]:RoomType[n(0x157)];return{'name':a[n(0x14f)],'description':a['description'],'isStartRoom':a[n(0x158)],'roomType':b};}}
@@ -1 +1 @@
1
- const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0x118))/0x1+parseInt(h(0x11b))/0x2+parseInt(h(0x143))/0x3*(-parseInt(h(0x132))/0x4)+-parseInt(h(0x144))/0x5*(parseInt(h(0x11c))/0x6)+parseInt(h(0x128))/0x7+-parseInt(h(0x12c))/0x8+parseInt(h(0x13e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x1ff88));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x12a)]()[j(0x135)](j(0x119))[j(0x12a)]()[j(0x13a)](a48a)[j(0x135)]('(((.+)+)+)+$');});a48a();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x116;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';function a48c(){const s=['quit','help','3suLvdJ','714205nrfnFc','solve','drop','lock','use','186980GbMzkt','(((.+)+)+)+$','getRooms','471034aLYLgJ','6TIIXQm','slice','Available\x20Commands:\x0a','getWelcomeMessage','toLowerCase','initialize','name','hasOwnProperty','player','determineStartRoom','-\x20clear:\x20Clear\x20the\x20screen.\x0a','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','1489348CjbRYc','handleInput','toString','registerCommand','1064856OGRvRk','rooms','equip','getHelpMessage','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','getInstance','681512oUcRIG','maka','getAllRegisteredCommands','search','createCommand','-\x20quit:\x20Exit\x20the\x20game.\x0a','currentRoom','apply','constructor','take','scene','registerCommands','2843793iRMBOC','instance','unequip'];a48c=function(){return s;};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 [a48k(0x13f)];[a48k(0x13c)];[a48k(0x124)];[a48k(0x138)];[a48k(0x12d)];constructor(a,b){const l=a48k;this['player']=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0x13c)][l(0x121)](),this[l(0x124)]['currentLocation']=this[l(0x125)](),this[l(0x13d)]();}[a48k(0x13d)](){const m=a48k;CommandFactory['registerCommand']('look',LookCommand),CommandFactory[m(0x12b)]('go',GoCommand),CommandFactory[m(0x12b)](m(0x13b),TakeCommand),CommandFactory[m(0x12b)](m(0x117),UseCommand),CommandFactory[m(0x12b)](m(0x12e),EquipCommand),CommandFactory[m(0x12b)](m(0x140),UnequipCommand),CommandFactory[m(0x12b)](m(0x145),SolveCommand),CommandFactory[m(0x12b)](m(0x146),DropCommand),CommandFactory[m(0x12b)]('unlock',UnlockCommand),CommandFactory['registerCommand'](m(0x116),LockCommand),CommandFactory['registerCommand'](m(0x135),SearchCommand),CommandFactory['registerCommand']('say',SayCommand);}[a48k(0x125)](){const n=a48k;return this[n(0x13c)]['determineStartRoom']();}[a48k(0x11f)](){const o=a48k;return'Welcome,\x20'+this['player'][o(0x122)];}static[a48k(0x131)](a,b){const p=a48k;return!Game[p(0x13f)]&&(Game[p(0x13f)]=new Game(a,b)),Game[p(0x13f)];}[a48k(0x129)](a){const q=a48k,b=a['trim']()['split']('\x20'),c=b[0x0][q(0x120)](),d=b[q(0x11d)](0x1);if(c===q(0x141))return null;if(c===q(0x133))return q(0x130);if(c===q(0x142))return this[q(0x12f)]();if(c==='clear')return'';const e={'actor':this[q(0x124)],'rooms':this[q(0x13c)][q(0x11a)](),'scene':this[q(0x13c)]},f=CommandFactory[q(0x136)](c,e);if(f){const g=f['execute'](d);return g;}return q(0x127)+c+'\x22.';}[a48k(0x12f)](){const r=a48k,a=CommandFactory[r(0x134)]();let b=r(0x11e);for(const c in a){if(a[r(0x123)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=r(0x126),b+=r(0x137),b;}}
1
+ const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0x1dd))/0x1+-parseInt(h(0x1cc))/0x2*(parseInt(h(0x1d8))/0x3)+-parseInt(h(0x1d9))/0x4*(-parseInt(h(0x1c7))/0x5)+-parseInt(h(0x1c4))/0x6*(-parseInt(h(0x1db))/0x7)+-parseInt(h(0x1c3))/0x8*(parseInt(h(0x1f3))/0x9)+-parseInt(h(0x1f0))/0xa+parseInt(h(0x1c5))/0xb*(parseInt(h(0x1dc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xb6a32));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x1e9)]()[j(0x1ef)]('(((.+)+)+)+$')[j(0x1e9)]()[j(0x1e8)](a48a)[j(0x1ef)]('(((.+)+)+)+$');});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';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a48d(a,b);}import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a48c(){const s=['getWelcomeMessage','split','lock','getDescription','look','trim','help','3VOKVkA','766552PxKxOx','determineStartRoom','15897UzNroD','120qsqnfg','703566LqeKBb','scene','-\x20quit:\x20Exit\x20the\x20game.\x0a','drop','handleInput','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','getRooms','rooms','maka','say','currentRoom','constructor','toString','name','instance','equip','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','Available\x20Commands:\x0a','search','9347620XkhiVN','unlock','clear','262071UYDxxj','execute','Welcome,\x20','initialize','createCommand','32TCrAQW','2742SEqrOG','2509606bELqow','-\x20clear:\x20Clear\x20the\x20screen.\x0a','10fgAZxW','currentLocation','registerCommands','player','quit','2399394LOvlvZ','slice','apply','registerCommand','getInstance'];a48c=function(){return s;};return a48c();}import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0x1eb)];[a48k(0x1de)];[a48k(0x1ca)];[a48k(0x1e7)];[a48k(0x1e4)];constructor(a,b){const l=a48k;this[l(0x1ca)]=a,this[l(0x1de)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x1de)][l(0x1f6)](),this['player'][l(0x1c8)]=this[l(0x1da)](),this['registerCommands']();}[a48k(0x1c9)](){const m=a48k;CommandFactory['registerCommand'](m(0x1d5),LookCommand),CommandFactory[m(0x1cf)]('go',GoCommand),CommandFactory[m(0x1cf)]('take',TakeCommand),CommandFactory[m(0x1cf)]('use',UseCommand),CommandFactory[m(0x1cf)](m(0x1ec),EquipCommand),CommandFactory[m(0x1cf)]('unequip',UnequipCommand),CommandFactory[m(0x1cf)]('solve',SolveCommand),CommandFactory[m(0x1cf)](m(0x1e0),DropCommand),CommandFactory['registerCommand'](m(0x1f1),UnlockCommand),CommandFactory[m(0x1cf)](m(0x1d3),LockCommand),CommandFactory[m(0x1cf)]('search',SearchCommand),CommandFactory['registerCommand'](m(0x1e6),SayCommand);}['determineStartRoom'](){const n=a48k;return this[n(0x1de)]['determineStartRoom']();}[a48k(0x1d1)](){const o=a48k;return o(0x1f5)+this[o(0x1ca)][o(0x1ea)];}static[a48k(0x1d0)](a,b){const p=a48k;return!Game[p(0x1eb)]&&(Game[p(0x1eb)]=new Game(a,b)),Game['instance'];}[a48k(0x1e1)](a){const q=a48k,b=a[q(0x1d6)]()[q(0x1d2)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0x1cd)](0x1);if(c===q(0x1cb))return null;if(c===q(0x1e5))return q(0x1ed);if(c===q(0x1d7))return this['getHelpMessage']();if(c===q(0x1f2))return'';const e={'actor':this[q(0x1ca)],'rooms':this[q(0x1de)][q(0x1e3)](),'scene':this[q(0x1de)]},f=CommandFactory[q(0x1f7)](c,e);if(f){const g=f[q(0x1f4)](d);return g;}return q(0x1e2)+c+'\x22.';}['getHelpMessage'](){const r=a48k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x1ee);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x1d4)]()+'\x0a';}}return b+=r(0x1c6),b+=r(0x1df),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x18d))/0x1+parseInt(f(0x18e))/0x2+-parseInt(f(0x193))/0x3+-parseInt(f(0x191))/0x4*(-parseInt(f(0x196))/0x5)+parseInt(f(0x195))/0x6+parseInt(f(0x18c))/0x7+parseInt(f(0x194))/0x8*(-parseInt(f(0x197))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x54e58));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x18b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x192)]()[h(0x18a)]('(((.+)+)+)+$')[h(0x192)]()[h(0x18f)](a49a)['search'](h(0x190));});function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x18a;var f=c[d];return f;},a49d(a,b);}a49a();export*from'./door.js';export*from'./inventory.js';function a49c(){var i=['1085604vZAlRO','311608dwWljp','2424834IkEhpa','698885GcaFvw','54MeTKWJ','search','apply','4134816ieQmrd','596860joqlmU','531578skXptg','constructor','(((.+)+)+)+$','8DrphYF','toString'];a49c=function(){return i;};return a49c();}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(0xce))/0x1*(-parseInt(f(0xd0))/0x2)+parseInt(f(0xd5))/0x3+parseInt(f(0xdc))/0x4*(parseInt(f(0xcf))/0x5)+parseInt(f(0xd6))/0x6+parseInt(f(0xd3))/0x7*(parseInt(f(0xda))/0x8)+-parseInt(f(0xd4))/0x9*(-parseInt(f(0xd9))/0xa)+-parseInt(f(0xd2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x32110));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0xdb)]()[h(0xd7)](h(0xd1))['toString']()['constructor'](a49a)['search'](h(0xd1));});function a49c(){var i=['search','apply','10fPjQPf','1143752fkTHUv','toString','88MaldmG','208DpxmlF','85825xnrJLr','2900MbtLFC','(((.+)+)+)+$','2393798HeVgHv','7VNgTUf','705762zbBAZf','218115RZscnd','315408LyYJXY'];a49c=function(){return i;};return a49c();}a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xce;var f=c[d];return f;},a49d(a,b);}export*from'./player.js';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(0x1c0))/0x1+-parseInt(f(0x1cc))/0x2*(parseInt(f(0x1c7))/0x3)+-parseInt(f(0x1c2))/0x4*(parseInt(f(0x1d7))/0x5)+-parseInt(f(0x1d6))/0x6*(-parseInt(f(0x1c8))/0x7)+parseInt(f(0x1c6))/0x8*(-parseInt(f(0x1d0))/0x9)+-parseInt(f(0x1c4))/0xa+-parseInt(f(0x1d9))/0xb*(-parseInt(f(0x1dc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xbf735));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x1bd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x1d2)]()[h(0x1e0)](h(0x1da))['toString']()[h(0x1df)](a50a)[h(0x1e0)]('(((.+)+)+)+$');});function a50c(){var o=['isLocked','5362oScUfA','getOtherSide','roomB','roomA','9MYkIUR','write','toString','\x20and\x20','unlockItemOrSolution','isLockable','3330gMmmzd','357530qJTCLO','getInstance','13288gXaxIv','(((.+)+)+)+$','name','31992wPeHRB','checkIfLocked','Door\x20created\x20between\x20','constructor','search','apply','.\x20Used:\x20','To\x20','943067XOpiHc','logger','4YNAAWQ','checkIfLockable','1893040MyHkmW','.\x20Is\x20Locked:\x20','1431592yqJAgm','1218WmronG','441MEYVVY','Failed\x20to\x20unlock\x20door:\x20','attemptUnlock'];a50c=function(){return o;};return a50c();}a50a();function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x1bd;var f=c[d];return f;},a50d(a,b);}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0x1cf)];['roomB'];[a50i(0x1cb)];[a50i(0x1d4)];[a50i(0x1db)];[a50i(0x1c1)];['isLockable'];constructor(a){var j=a50i;super(),this[j(0x1cf)]=a[j(0x1cf)],this[j(0x1ce)]=a[j(0x1ce)],this[j(0x1cb)]=a['isLocked']||![],this['unlockItemOrSolution']=a['unlockItemOrSolution'],this[j(0x1db)]=a[j(0x1db)]?capitalCase(a[j(0x1db)]):j(0x1bf)+a['roomB']['name'],this['logger']=Logger[j(0x1d8)](),this[j(0x1d5)]=!!a[j(0x1d4)],this[j(0x1c1)][j(0x1d1)](j(0x1de)+this['roomA'][j(0x1db)]+j(0x1d3)+this[j(0x1ce)][j(0x1db)]+j(0x1c5)+this[j(0x1cb)]);}[a50i(0x1cd)](a){var k=a50i;return this[k(0x1cf)]===a?this[k(0x1ce)]:this[k(0x1cf)];}[a50i(0x1ca)](a){var l=a50i;if(this[l(0x1cb)]&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this[l(0x1cb)]=![],this[l(0x1c1)]['write']('Door\x20unlocked:\x20'+this[l(0x1db)]+l(0x1be)+a),!![];return this['logger'][l(0x1d1)](l(0x1c9)+this[l(0x1db)]+'.\x20Used:\x20'+a),![];}[a50i(0x1dd)](){var m=a50i;return this[m(0x1cb)];}[a50i(0x1c3)](){var n=a50i;return this[n(0x1d5)];}}
1
+ var a50h=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x13a))/0x1*(parseInt(f(0x153))/0x2)+-parseInt(f(0x139))/0x3*(parseInt(f(0x148))/0x4)+parseInt(f(0x136))/0x5+-parseInt(f(0x151))/0x6*(parseInt(f(0x135))/0x7)+parseInt(f(0x14e))/0x8+parseInt(f(0x140))/0x9+parseInt(f(0x152))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x30848));var a50b=(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;};}()),a50a=a50b(this,function(){var g=a50d;return a50a[g(0x141)]()[g(0x146)](g(0x150))['toString']()[g(0x144)](a50a)['search'](g(0x150));});a50a();import{Logger}from'../utilities/logger.js';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x135;var f=c[d];return f;},a50d(a,b);}import{capitalCase}from'change-case';function a50c(){var m=['isLockable','search','checkIfLockable','15116ioZzNb','Failed\x20to\x20unlock\x20door:\x20','getOtherSide','\x20and\x20','.\x20Is\x20Locked:\x20','attemptUnlock','485520rQpDWB','name','(((.+)+)+)+$','2082vrihVb','5191450xxvBsH','402JMBpaK','6412OUBOYr','448425ZwphKy','unlockItemOrSolution','Door\x20created\x20between\x20','219bpPJqm','347AGkRMd','roomB','.\x20Used:\x20','isLocked','logger','write','1734066KaLiIk','toString','roomA','To\x20','constructor'];a50c=function(){return m;};return a50c();}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50h(0x142)];[a50h(0x13b)];[a50h(0x13d)];[a50h(0x137)];['name'];[a50h(0x13e)];[a50h(0x145)];constructor(a){var i=a50h;super(),this[i(0x142)]=a['roomA'],this['roomB']=a[i(0x13b)],this[i(0x13d)]=a[i(0x13d)]||![],this[i(0x137)]=a[i(0x137)],this[i(0x14f)]=a['name']?capitalCase(a[i(0x14f)]):i(0x143)+a[i(0x13b)]['name'],this[i(0x13e)]=Logger['getInstance'](),this[i(0x145)]=!!a['unlockItemOrSolution'],this[i(0x13e)][i(0x13f)](i(0x138)+this[i(0x142)][i(0x14f)]+i(0x14b)+this[i(0x13b)]['name']+i(0x14c)+this[i(0x13d)]);}[a50h(0x14a)](a){var j=a50h;return this[j(0x142)]===a?this[j(0x13b)]:this[j(0x142)];}[a50h(0x14d)](a){var k=a50h;if(this[k(0x13d)]&&this[k(0x137)]&&this[k(0x137)]===a)return this[k(0x13d)]=![],this[k(0x13e)][k(0x13f)]('Door\x20unlocked:\x20'+this['name']+'.\x20Used:\x20'+a),!![];return this[k(0x13e)][k(0x13f)](k(0x149)+this[k(0x14f)]+k(0x13c)+a),![];}['checkIfLocked'](){return this['isLocked'];}[a50h(0x147)](){var l=a50h;return this[l(0x145)];}}
@@ -1 +1 @@
1
- const a51i=a51d;function a51c(){const r=['write','2xbGevn','search','Removed\x20item:\x20','340iJWvkL','toString','Checked\x20for\x20item:\x20','set','weight','constructor','getInstance','keys','name','Listed\x20items\x20in\x20inventory:\x20','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','listItems','\x20from\x20inventory.','removeItem','has','getWeight','toLowerCase','join','(((.+)+)+)+$','get','.\x20Item\x20not\x20found.','2328591VxVyEL','\x20to\x20inventory.','getItem','hasItem','419990BLCMFH','delete','apply','799318KyYxax','addItem','logger','\x20in\x20','760orNrep','values','items','361529Lehhlz','Retrieved\x20details\x20for\x20item:\x20','10081686qChwjJ','315JToCZm','9434504eIsLrJ','Failed\x20to\x20remove\x20item:\x20'];a51c=function(){return r;};return a51c();}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0xa1))/0x1*(parseInt(f(0x93))/0x2)+parseInt(f(0x8c))/0x3+-parseInt(f(0x97))/0x4*(-parseInt(f(0xa4))/0x5)+-parseInt(f(0x9c))/0x6+-parseInt(f(0x9a))/0x7+parseInt(f(0x9e))/0x8+-parseInt(f(0x9d))/0x9*(-parseInt(f(0x90))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xdd78d));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x8c;let f=c[d];return f;},a51d(a,b);}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xa5)]()[h(0xa2)](h(0xb6))[h(0xa5)]()[h(0xa9)](a51a)[h(0xa2)]('(((.+)+)+)+$');});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x99)];['logger'];constructor(){const j=a51i;super(),this['items']=new Map(),this['logger']=Logger[j(0xaa)]();}[a51i(0x94)](a){const k=a51i;this['items'][k(0xa7)](a[k(0xac)][k(0xb4)](),a),this[k(0x95)][k(0xa0)]('Added\x20item:\x20'+a[k(0xac)]+k(0x8d));}[a51i(0xb1)](a){const l=a51i,b=this[l(0x8e)](a);if(b)return this[l(0x99)][l(0x91)](a['toLowerCase']()),this['logger'][l(0xa0)](l(0xa3)+a+l(0xb0)),b;return this[l(0x95)]['write'](l(0x9f)+a+'.\x20Item\x20not\x20found.'),null;}[a51i(0x8f)](a){const m=a51i,b=this[m(0x99)][m(0xb2)](a[m(0xb4)]()),c=[...this[m(0x99)][m(0xab)]()];return this[m(0x95)][m(0xa0)](m(0xa6)+a+m(0x96)+c[m(0xb5)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a51i(0x8e)](a){const n=a51i,b=this['items'][n(0xb7)](a['toLowerCase']())||null;return b?this[n(0x95)]['write'](n(0x9b)+a+'.'):this[n(0x95)]['write'](n(0xae)+a+n(0xb8)),b;}[a51i(0xaf)](){const o=a51i,a=[...this[o(0x99)][o(0xab)]()],b=a['map'](c=>capitalCase(c));return this[o(0x95)][o(0xa0)](o(0xad)+b[o(0xb5)](',\x20')+'.'),a;}[a51i(0xb3)](){const p=a51i;let a=0x0;for(const b of this['items'][p(0x98)]()){a+=b[p(0xa8)];}return a;}['getAllItems'](){const q=a51i;return[...this[q(0x99)]['values']()];}}
1
+ const a51i=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x14e;let f=c[d];return f;},a51d(a,b);}function a51c(){const q=['.\x20Item\x20not\x20found.','logger','delete','map','8086lTMeiF','get','toString','removeItem','hasItem','8tVcwko','name','Checked\x20for\x20item:\x20','toLowerCase','getInstance','has','7032LiEKHJ','write','values','getItem','1189573vqHmge','\x20from\x20inventory.','Removed\x20item:\x20','Listed\x20items\x20in\x20inventory:\x20','36fNcpuZ','items','addItem','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','117440MfnlwR','\x20to\x20inventory.','.\x20Exists:\x20','3QItFAH','449388KCygoo','weight','490rWHzDe','Retrieved\x20details\x20for\x20item:\x20','\x20in\x20','2160807HzcJju','(((.+)+)+)+$','262396kNDgVi','getAllItems','41wcgOMt','join'];a51c=function(){return q;};return a51c();}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x16a))/0x1*(-parseInt(f(0x170))/0x2)+parseInt(f(0x160))/0x3*(-parseInt(f(0x168))/0x4)+-parseInt(f(0x163))/0x5*(parseInt(f(0x151))/0x6)+parseInt(f(0x155))/0x7*(-parseInt(f(0x175))/0x8)+parseInt(f(0x161))/0x9+-parseInt(f(0x15d))/0xa+parseInt(f(0x166))/0xb*(parseInt(f(0x159))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x1b2ee));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const g=a51d;return a51a[g(0x172)]()['search'](g(0x167))[g(0x172)]()['constructor'](a51a)['search'](g(0x167));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];['logger'];constructor(){const h=a51d;super(),this['items']=new Map(),this[h(0x16d)]=Logger[h(0x14f)]();}[a51i(0x15b)](a){const j=a51i;this[j(0x15a)]['set'](a[j(0x176)][j(0x14e)](),a),this[j(0x16d)]['write']('Added\x20item:\x20'+a['name']+j(0x15e));}[a51i(0x173)](a){const k=a51i,b=this['getItem'](a);if(b)return this[k(0x15a)][k(0x16e)](a['toLowerCase']()),this[k(0x16d)][k(0x152)](k(0x157)+a+k(0x156)),b;return this[k(0x16d)][k(0x152)]('Failed\x20to\x20remove\x20item:\x20'+a+k(0x16c)),null;}[a51i(0x174)](a){const l=a51i,b=this[l(0x15a)][l(0x150)](a[l(0x14e)]()),c=[...this[l(0x15a)]['keys']()];return this[l(0x16d)][l(0x152)](l(0x177)+a+l(0x165)+c[l(0x16b)](',\x20')+l(0x15f)+b+'.'),b;}[a51i(0x154)](a){const m=a51i,b=this[m(0x15a)][m(0x171)](a['toLowerCase']())||null;return b?this[m(0x16d)][m(0x152)](m(0x164)+a+'.'):this['logger'][m(0x152)](m(0x15c)+a+'.\x20Item\x20not\x20found.'),b;}['listItems'](){const n=a51i,a=[...this['items']['keys']()],b=a[n(0x16f)](c=>capitalCase(c));return this[n(0x16d)]['write'](n(0x158)+b[n(0x16b)](',\x20')+'.'),a;}['getWeight'](){const o=a51i;let a=0x0;for(const b of this[o(0x15a)][o(0x153)]()){a+=b[o(0x162)];}return a;}[a51i(0x169)](){const p=a51i;return[...this['items'][p(0x153)]()];}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x73))/0x1*(-parseInt(f(0x76))/0x2)+parseInt(f(0x6f))/0x3*(parseInt(f(0x68))/0x4)+-parseInt(f(0x82))/0x5+-parseInt(f(0x81))/0x6*(parseInt(f(0x77))/0x7)+parseInt(f(0x75))/0x8*(-parseInt(f(0x7f))/0x9)+parseInt(f(0x6c))/0xa*(-parseInt(f(0x6d))/0xb)+parseInt(f(0x6a))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xcc95e));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x6b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x78)]()[h(0x80)](h(0x83))['toString']()[h(0x7a)](a52a)['search']('(((.+)+)+)+$');});function a52c(){var l=['color','58041SMmttq','size','3464xAaRxb','6IwiaCB','17801JpOKKP','toString','You\x20use\x20the\x20','constructor','texture','name','rating','description','31689rkdssa','search','1272EMBIAo','3314335aRDwfK','(((.+)+)+)+$','shape','uuid','624kLDWeG','.\x20Nothing\x20special\x20happens.','47151768eUKMtL','apply','6031510IkWsxX','11dAITOK','weight','1236EnbDLK','use','category'];a52c=function(){return l;};return a52c();}a52a();import{v4 as a52e}from'uuid';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x66;var f=c[d];return f;},a52d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];['name'];[a52i(0x7e)];[a52i(0x74)];[a52i(0x71)];[a52i(0x66)];[a52i(0x72)];[a52i(0x7b)];[a52i(0x7d)];[a52i(0x6e)];constructor(a){var j=a52i;super(),this['name']=a[j(0x7c)],this['description']=a[j(0x7e)],this['size']=a[j(0x74)],this[j(0x71)]=a['category'],this[j(0x66)]=a['shape'],this[j(0x72)]=a[j(0x72)],this[j(0x7b)]=a[j(0x7b)],this[j(0x7d)]=a[j(0x7d)],this[j(0x6e)]=a[j(0x6e)],this[j(0x67)]=a52e();}[a52i(0x70)](){var k=a52i;return k(0x79)+this['name']+k(0x69);}}
1
+ function a52c(){var l=['description','170505XIYWUK','texture','color','toString','2797059SItOvE','weight','4622926AIhner','7471242USQBcr','.\x20Nothing\x20special\x20happens.','208IUNifF','3446HVmGZq','44976470iJEuod','rating','category','constructor','5530500ubmtlG','apply','size','shape','5XHQpAw','uuid','name','You\x20use\x20the\x20','search','use','36aqosYr','(((.+)+)+)+$'];a52c=function(){return l;};return a52c();}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xd0))/0x1*(-parseInt(f(0xc1))/0x2)+-parseInt(f(0xd7))/0x3+-parseInt(f(0xc6))/0x4+-parseInt(f(0xca))/0x5*(parseInt(f(0xda))/0x6)+-parseInt(f(0xd9))/0x7+parseInt(f(0xdc))/0x8*(parseInt(f(0xd3))/0x9)+parseInt(f(0xc2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xacc02));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xc7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0xce)](h(0xd1))[h(0xd6)]()[h(0xc5)](a52a)[h(0xce)]('(((.+)+)+)+$');});a52a();import{v4 as a52e}from'uuid';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xc1;var f=c[d];return f;},a52d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0xcb)];[a52i(0xcc)];[a52i(0xd2)];[a52i(0xc8)];[a52i(0xc4)];[a52i(0xc9)];[a52i(0xd5)];[a52i(0xd4)];[a52i(0xc3)];[a52i(0xd8)];constructor(a){var j=a52i;super(),this['name']=a[j(0xcc)],this[j(0xd2)]=a[j(0xd2)],this[j(0xc8)]=a['size'],this[j(0xc4)]=a[j(0xc4)],this[j(0xc9)]=a['shape'],this['color']=a[j(0xd5)],this[j(0xd4)]=a[j(0xd4)],this[j(0xc3)]=a['rating'],this['weight']=a['weight'],this[j(0xcb)]=a52e();}[a52i(0xcf)](){var k=a52i;return k(0xcd)+this[k(0xcc)]+k(0xdb);}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x148))/0x1*(parseInt(f(0x14d))/0x2)+parseInt(f(0x140))/0x3*(parseInt(f(0x13b))/0x4)+-parseInt(f(0x14a))/0x5*(-parseInt(f(0x141))/0x6)+-parseInt(f(0x143))/0x7+-parseInt(f(0x152))/0x8+-parseInt(f(0x14c))/0x9*(-parseInt(f(0x142))/0xa)+-parseInt(f(0x145))/0xb*(parseInt(f(0x13c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x291f2));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x13e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0x13a)]('(((.+)+)+)+$')['toString']()[h(0x13d)](a53a)[h(0x13a)](h(0x150));});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-0x13a;let f=c[d];return f;},a53d(a,b);}export class NPC extends Player{['_name'];['_dialogue'];[a53i(0x13f)];['scene'];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x146)]=a,this[j(0x147)]=b,this[j(0x13f)]=c;}get[a53i(0x14e)](){return this['_name'];}[a53i(0x14b)](){const k=a53i;return this[k(0x147)][Math[k(0x151)](Math[k(0x149)]()*this[k(0x147)][k(0x14f)])];}['autonomousMove'](a){const l=a53i,b=a[Math['floor'](Math[l(0x149)]()*a[l(0x14f)])];this[l(0x144)](b[l(0x14e)]);}[a53i(0x144)](a){const m=a53i,b={'actor':this,'rooms':this['rooms'],'scene':this['scene']},c=new GoCommand(b);c[m(0x153)]([a]);}}function a53c(){const n=['name','length','(((.+)+)+)+$','floor','292800mnapHr','execute','search','20WeFnGe','12PVOzOG','constructor','apply','rooms','148611qImkGj','6EeaVlr','170DnukLn','1201823XBHbZF','moveTo','4738613pWoXtE','_name','_dialogue','73jCViiG','random','1586475TwogEg','speak','164106ImfRyc','1848JCzuKY'];a53c=function(){return n;};return a53c();}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x93))/0x1+-parseInt(f(0x90))/0x2*(parseInt(f(0x9f))/0x3)+parseInt(f(0x91))/0x4*(parseInt(f(0x8a))/0x5)+parseInt(f(0x99))/0x6*(-parseInt(f(0x9e))/0x7)+parseInt(f(0xa1))/0x8+-parseInt(f(0x9b))/0x9+-parseInt(f(0x98))/0xa*(parseInt(f(0x9c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x8349f));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x8e)]()['search'](h(0x9a))[h(0x8e)]()['constructor'](a53a)[h(0x96)](h(0x9a));});a53a();function a53c(){const o=['3773OZEpDz','rooms','22827ondYqu','1124904jWbUQR','execute','1991512ZVCotT','scene','random','autonomousMove','3790unPbsq','_dialogue','floor','moveTo','toString','speak','4JUobcW','2588NdiyQj','_name','1063531ylDbrw','apply','name','search','length','390JMwtQE','90JktEFa','(((.+)+)+)+$','4076181IVSQZg'];a53c=function(){return o;};return a53c();}function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x89;let f=c[d];return f;},a53d(a,b);}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a53i(0x8b)];[a53i(0x9d)];[a53i(0xa2)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x92)]=a,this[j(0x8b)]=b,this[j(0x9d)]=c;}get['name'](){const k=a53i;return this[k(0x92)];}[a53i(0x8f)](){const l=a53i;return this[l(0x8b)][Math[l(0x8c)](Math[l(0xa3)]()*this[l(0x8b)][l(0x97)])];}[a53i(0x89)](a){const m=a53i,b=a[Math[m(0x8c)](Math[m(0xa3)]()*a['length'])];this[m(0x8d)](b[m(0x95)]);}[a53i(0x8d)](a){const n=a53i,b={'actor':this,'rooms':this['rooms'],'scene':this['scene']},c=new GoCommand(b);c[n(0xa0)]([a]);}}
@@ -1 +1 @@
1
- const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x154))/0x1+-parseInt(f(0x17e))/0x2+-parseInt(f(0x1a8))/0x3*(parseInt(f(0x1aa))/0x4)+-parseInt(f(0x19d))/0x5+-parseInt(f(0x1a7))/0x6+parseInt(f(0x190))/0x7+-parseInt(f(0x193))/0x8*(-parseInt(f(0x178))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xcd96c));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x153)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a['toString']()[h(0x15f)](h(0x195))['toString']()[h(0x156)](a54a)[h(0x15f)](h(0x195));});a54a();function a54c(){const D=['weapon','(((.+)+)+)+$','unequipBySlot','body\x20armor','You\x20can\x27t\x20equip\x20','removeInventory','error','bind','leg\x20armor','70960AqtJHy','off','.\x20You\x20must\x20unequip\x20it\x20first.','category','playerName','\x20from\x20player\x27s\x20inventory.','Hat','currentLocation','Max\x20carrying\x20weight\x20must\x20be\x20positive.','arm\x20armor','5066382TIZhmS','293049qRlUsl','_equipment','16TYfxPx','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','includes','helmet','values','hat','apply','450322roitIh','getWeight','constructor','Invalid\x20category\x20or\x20slot:\x20','equipment','inventory','leaveRoom','bodyarmor','inventoryItems','addInventory','currentWeight','search','arms','hasItem','_maxCarryingWeight','leftHand','canEquip','_inventory','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','unequip','Removed\x20','LegArmor','Boots','log','feet','\x20is\x20now\x20listening\x20in\x20room\x20','legs','enterRoom','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','Shield','legarmor','toLowerCase','maxCarryingWeight','hear','\x20in\x20your\x20inventory.','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','1719tsuQGa','addItem','Gloves','Weapon','_currentLocation','removeItem','1980226VQZwtk','name','\x20slot.','_playerName','weight','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','gloves','determineEquipmentSlot','boots','torso','speak','rightHand','BodyArmor','logger','head','A\x20featureless\x20room','Helmet','write','9083494uFYgoH','armarmor','\x20to\x20player\x27s\x20inventory.','55856ajoHoJ'];a54c=function(){return D;};return a54c();}import{camelCase}from'change-case';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x150;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{[a54i(0x181)];[a54i(0x17c)];[a54i(0x165)];['_equipment'];['_maxCarryingWeight']=0x32;[a54i(0x18b)];constructor(a){const j=a54i;super(),this['_playerName']=a[j(0x1a1)],this['_currentLocation']=a['startLocation']||new Room({'name':'Nexus','description':j(0x18d)}),this[j(0x165)]=new Inventory(),this[j(0x18b)]=Logger['getInstance']();if(a?.[j(0x15c)])for(const b of a['inventoryItems']){this['_inventory'][j(0x179)](b);}this[j(0x1a9)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x17f)](){const k=a54i;return this[k(0x181)];}get[a54i(0x1a4)](){const l=a54i;return this[l(0x17c)];}set[a54i(0x1a4)](a){const m=a54i;this[m(0x17c)]!==a&&(this['leaveRoom'](),this[m(0x16f)](a)),this['_currentLocation']=a;}get[a54i(0x159)](){const n=a54i;return this[n(0x165)];}get[a54i(0x158)](){const o=a54i;return this[o(0x1a9)];}set['equipment'](a){const p=a54i;this[p(0x1a9)]=a;}get[a54i(0x174)](){const q=a54i;return this[q(0x162)];}set[a54i(0x174)](a){const r=a54i;a>0x0?this['_maxCarryingWeight']=a:console[r(0x19a)](r(0x1a5));}get['currentWeight'](){const s=a54i;let a=this[s(0x165)][s(0x155)]();for(const b in this[s(0x1a9)]){const c=this[s(0x1a9)][b];c&&(a+=c[s(0x182)]);}return a;}[a54i(0x15d)](a){const t=a54i;if(this[t(0x15e)]+a[t(0x182)]>this[t(0x174)]){this[t(0x18b)]['write'](t(0x170));throw new Error(t(0x183));}this[t(0x165)][t(0x179)](a),this['logger'][t(0x18f)]('Added\x20'+a[t(0x17f)]+t(0x192));}[a54i(0x199)](a){const u=a54i;if(this[u(0x165)][u(0x17d)](a[u(0x17f)]))return this[u(0x18b)][u(0x18f)](u(0x168)+a['name']+u(0x1a2)),!![];return this[u(0x18b)][u(0x18f)]('Failed\x20to\x20remove\x20'+a[u(0x17f)]+'\x20from\x20player\x27s\x20inventory.'),![];}['equip'](a){const v=a54i;if(!this[v(0x165)][v(0x161)](a[v(0x17f)]))return'You\x20don\x27t\x20have\x20'+a[v(0x17f)]+v(0x176);if(!this[v(0x164)](a))return v(0x198)+a[v(0x17f)]+'.';const b=this['determineEquipmentSlot'](a[v(0x1a0)]);if(!b)return a[v(0x17f)]+v(0x1ab);if(this['equipment'][b])return v(0x166)+b+v(0x19f);return this['equipment'][b]=a,this[v(0x199)](a),'You\x20equipped\x20'+a[v(0x17f)]+'.';}[a54i(0x167)](a){const w=a54i;let b=a;if(!this[w(0x158)][camelCase(b)]){b=this[w(0x185)](a);if(!b)return w(0x157)+a+'.';}return this[w(0x196)](b);}[a54i(0x185)](a){const x=a54i;switch(a[x(0x173)]()){case Category[x(0x17b)]['toLowerCase']():return x(0x189);case Category[x(0x171)][x(0x173)]():return x(0x163);case Category[x(0x17a)][x(0x173)]():return x(0x184);case Category[x(0x18e)]['toLowerCase']():case Category[x(0x1a3)][x(0x173)]():return x(0x18c);case Category[x(0x16a)][x(0x173)]():return x(0x16c);case Category[x(0x169)][x(0x173)]():return x(0x16e);case Category['ArmArmor']['toLowerCase']():return x(0x160);case Category[x(0x18a)][x(0x173)]():return x(0x187);case x(0x194):return'rightHand';case'shield':return x(0x163);case x(0x184):return'gloves';case x(0x150):case x(0x152):return'head';case x(0x186):return x(0x16c);case x(0x19c):case x(0x172):return x(0x16e);case x(0x1a6):case x(0x191):return x(0x160);case x(0x197):case x(0x15b):case'torso':return x(0x187);default:return null;}}[a54i(0x164)](a){const y=a54i;return Object[y(0x151)](Category)[y(0x1ac)](a[y(0x1a0)]);}[a54i(0x196)](a){const z=a54i,b=this[z(0x158)][a];if(!b)return z(0x177)+a+z(0x180);return this['addInventory'](b),this['equipment'][a]=null,'You\x20unequipped\x20'+b[z(0x17f)]+'.';}[a54i(0x175)](a,b){const A=a54i;a!==this&&this['logger'][A(0x16b)](a[A(0x17f)]+'\x20says:\x20\x22'+b+'\x22');}[a54i(0x16f)](a){const B=a54i;this[B(0x17c)]=a,a['on']('speak',this[B(0x175)][B(0x19b)](this)),this['logger'][B(0x18f)](this[B(0x17f)]+B(0x16d)+a['name']);}[a54i(0x15a)](){const C=a54i;this[C(0x17c)]&&(this[C(0x17c)][C(0x19e)](C(0x188),this['hear'][C(0x19b)](this)),this[C(0x18b)]['write'](this['name']+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[C(0x17c)]['name']));}}
1
+ const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0xca))/0x1+parseInt(f(0xc9))/0x2*(parseInt(f(0xda))/0x3)+parseInt(f(0xc3))/0x4+parseInt(f(0xd7))/0x5+-parseInt(f(0xd3))/0x6*(-parseInt(f(0xd0))/0x7)+-parseInt(f(0xfa))/0x8+parseInt(f(0xe9))/0x9*(parseInt(f(0xdb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x3b54d));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0xc6)]()[h(0xd8)](h(0x103))[h(0xc6)]()[h(0xf9)](a54a)['search'](h(0x103));});function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xc1;let f=c[d];return f;},a54d(a,b);}a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0xdd)];[a54i(0xdc)];[a54i(0x114)];[a54i(0xd5)];[a54i(0x111)]=0x32;[a54i(0xdf)];constructor(a){const j=a54i;super(),this[j(0xdd)]=a[j(0x105)],this[j(0xdc)]=a[j(0xd2)]||new Room({'name':j(0xd1),'description':'A\x20featureless\x20room'}),this[j(0x114)]=new Inventory(),this[j(0xdf)]=Logger[j(0xc1)]();if(a?.['inventoryItems'])for(const b of a[j(0xf5)]){this[j(0x114)][j(0x100)](b);}this[j(0xd5)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0xe8)](){return this['_playerName'];}get[a54i(0xee)](){const k=a54i;return this[k(0xdc)];}set[a54i(0xee)](a){const l=a54i;this[l(0xdc)]!==a&&(this[l(0xde)](),this[l(0x10f)](a)),this['_currentLocation']=a;}get[a54i(0xd6)](){const m=a54i;return this[m(0x114)];}get[a54i(0x115)](){const n=a54i;return this[n(0xd5)];}set[a54i(0x115)](a){const o=a54i;this[o(0xd5)]=a;}get['maxCarryingWeight'](){const p=a54i;return this[p(0x111)];}set['maxCarryingWeight'](a){const q=a54i;a>0x0?this[q(0x111)]=a:console['error'](q(0xd9));}get[a54i(0xd4)](){const r=a54i;let a=this['_inventory'][r(0xe7)]();for(const b in this['_equipment']){const c=this[r(0xd5)][b];c&&(a+=c['weight']);}return a;}[a54i(0xfc)](a){const s=a54i;if(this['currentWeight']+a[s(0xf1)]>this['maxCarryingWeight']){this[s(0xdf)][s(0x109)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(s(0x10d));}this[s(0x114)]['addItem'](a),this['logger'][s(0x109)]('Added\x20'+a['name']+'\x20to\x20player\x27s\x20inventory.');}['removeInventory'](a){const t=a54i;if(this[t(0x114)][t(0xe6)](a[t(0xe8)]))return this[t(0xdf)][t(0x109)](t(0xed)+a[t(0xe8)]+t(0xc8)),!![];return this[t(0xdf)]['write'](t(0xf0)+a['name']+t(0xc8)),![];}[a54i(0x116)](a){const u=a54i;if(!this[u(0x114)][u(0xfb)](a[u(0xe8)]))return'You\x20don\x27t\x20have\x20'+a[u(0xe8)]+u(0xe4);if(!this[u(0xe2)](a))return u(0xe1)+a['name']+'.';const b=this[u(0xc5)](a[u(0x10a)]);if(!b)return a[u(0xe8)]+u(0xf4);if(this['equipment'][b])return u(0xfe)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[u(0x115)][b]=a,this[u(0xf2)](a),u(0x104)+a[u(0xe8)]+'.';}['unequip'](a){const v=a54i;let b=a;if(!this[v(0x115)][camelCase(b)]){b=this[v(0xc5)](a);if(!b)return v(0xfd)+a+'.';}return this[v(0x107)](b);}[a54i(0xc5)](a){const w=a54i;switch(a[w(0x102)]()){case Category['Weapon'][w(0x102)]():return w(0xec);case Category[w(0x101)]['toLowerCase']():return'leftHand';case Category[w(0x10c)]['toLowerCase']():return'gloves';case Category['Helmet'][w(0x102)]():case Category[w(0xce)][w(0x102)]():return w(0x112);case Category[w(0xff)]['toLowerCase']():return w(0xeb);case Category['LegArmor'][w(0x102)]():return'legs';case Category[w(0x110)][w(0x102)]():return w(0xe5);case Category['BodyArmor'][w(0x102)]():return w(0xe0);case'weapon':return'rightHand';case w(0xcd):return w(0xc2);case'gloves':return'gloves';case w(0xc7):case'hat':return w(0x112);case w(0xf8):return w(0xeb);case w(0xe3):case w(0xef):return w(0xc4);case w(0xcc):case w(0xcf):return'arms';case'body\x20armor':case w(0xcb):case w(0xe0):return w(0xe0);default:return null;}}[a54i(0xe2)](a){return Object['values'](Category)['includes'](a['category']);}[a54i(0x107)](a){const x=a54i,b=this[x(0x115)][a];if(!b)return x(0x10e)+a+x(0xf6);return this[x(0xfc)](b),this[x(0x115)][a]=null,x(0x113)+b[x(0xe8)]+'.';}['hear'](a,b){const y=a54i;a!==this&&this['logger']['log'](a[y(0xe8)]+'\x20says:\x20\x22'+b+'\x22');}[a54i(0x10f)](a){const z=a54i;this[z(0xdc)]=a,a['on']('speak',this[z(0x106)][z(0xf7)](this)),this[z(0xdf)][z(0x109)](this[z(0xe8)]+z(0x108)+a['name']);}[a54i(0xde)](){const A=a54i;this[A(0xdc)]&&(this[A(0xdc)]['off'](A(0xea),this[A(0x106)][A(0xf7)](this)),this[A(0xdf)][A(0x109)](this[A(0xe8)]+A(0xf3)+this[A(0xdc)][A(0xe8)]));}}function a54c(){const B=['search','Max\x20carrying\x20weight\x20must\x20be\x20positive.','642dWNhzA','58430qlXtjp','_currentLocation','_playerName','leaveRoom','logger','torso','You\x20can\x27t\x20equip\x20','canEquip','leg\x20armor','\x20in\x20your\x20inventory.','arms','removeItem','getWeight','name','45CMYweW','speak','feet','rightHand','Removed\x20','currentLocation','legarmor','Failed\x20to\x20remove\x20','weight','removeInventory','\x20is\x20no\x20longer\x20listeng\x20in\x20','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','inventoryItems','\x20slot.','bind','boots','constructor','3450248behatO','hasItem','addInventory','Invalid\x20category\x20or\x20slot:\x20','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','Boots','addItem','Shield','toLowerCase','(((.+)+)+)+$','You\x20equipped\x20','playerName','hear','unequipBySlot','\x20is\x20now\x20listening\x20in\x20room\x20','write','category','apply','Gloves','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','enterRoom','ArmArmor','_maxCarryingWeight','head','You\x20unequipped\x20','_inventory','equipment','equip','getInstance','leftHand','144820UskHnb','legs','determineEquipmentSlot','toString','helmet','\x20from\x20player\x27s\x20inventory.','402HXbWUT','284068UheWVg','bodyarmor','arm\x20armor','shield','Hat','armarmor','2975791AObhHJ','Nexus','startLocation','6RLfdfC','currentWeight','_equipment','inventory','2124115PeMyxH'];a54c=function(){return B;};return a54c();}
@@ -1 +1 @@
1
- var a55h=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x134))/0x1+parseInt(f(0x13f))/0x2+parseInt(f(0x137))/0x3*(-parseInt(f(0x13d))/0x4)+parseInt(f(0x12b))/0x5+parseInt(f(0x123))/0x6*(-parseInt(f(0x133))/0x7)+parseInt(f(0x129))/0x8*(parseInt(f(0x138))/0x9)+-parseInt(f(0x13c))/0xa*(parseInt(f(0x12e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xe0887));function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x121;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[g(0x121)]()[g(0x141)]('(((.+)+)+)+$')['toString']()[g(0x128)](a55a)[g(0x141)](g(0x136));});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55h(0x135)]=Logger['getInstance']();['solved']=![];[a55h(0x12c)];['requiredPhrase'];['riddle'];[a55h(0x13b)];[a55h(0x12a)];['failureMessage'];constructor(a){var i=a55h;super(),this[i(0x12c)]=a['requiredItem'],this[i(0x139)]=a['requiredPhrase'],this[i(0x132)]=a[i(0x132)],this[i(0x13b)]=a[i(0x13b)],this[i(0x12a)]=a['successMessage']||i(0x126),this[i(0x125)]=a['failureMessage']||i(0x12d);}[a55h(0x127)](a){var j=a55h;if(this['requiredItem'])return a[j(0x13a)](this['requiredItem']);return![];}['matchesRequiredPhrase'](a){var k=a55h;return this[k(0x139)]===a;}[a55h(0x131)](a,b){var l=a55h;if(this[l(0x124)])return this[l(0x135)][l(0x140)](l(0x13e)),{'success':![],'message':l(0x122)};return this[l(0x127)](b)||this[l(0x130)](a)?(this[l(0x124)]=!![],this[l(0x135)]['write']('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[l(0x12a)]}):(this[l(0x135)]['write'](l(0x12f)),{'success':![],'message':this['failureMessage']});}}function a55c(){var m=['solve','riddle','77aOnJiS','516561BzuLyC','logger','(((.+)+)+)+$','190761wwnhTA','7677ywbeWy','requiredPhrase','hasItem','rewardItem','783410jqOCje','8leySbZ','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','1332386crqzTn','write','search','toString','You\x20have\x20already\x20solved\x20this\x20puzzle.','630684oMsknj','solved','failureMessage','You\x20solved\x20the\x20puzzle!','hasRequiredItem','constructor','12424eOIUOb','successMessage','5210690pkObfZ','requiredItem','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','44MqACtm','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','matchesRequiredPhrase'];a55c=function(){return m;};return a55c();}
1
+ function a55c(){var n=['338269hTzsiG','15JSmnvy','requiredItem','apply','6285224UwXWQC','toString','3100815XZBKgS','hasItem','matchesRequiredPhrase','hasRequiredItem','failureMessage','getInstance','riddle','You\x20solved\x20the\x20puzzle!','517636OaMqsJ','constructor','logger','rewardItem','search','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','2CgDrUn','write','successMessage','102ozOYNw','Puzzle:\x20Correct\x20solution\x20provided.','4964841IpKljG','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','solve','1778388xNDVKE','(((.+)+)+)+$','11aSlHoA','9340670JYcfik','requiredPhrase','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','solved'];a55c=function(){return n;};return a55c();}var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x1f0))/0x1*(-parseInt(f(0x204))/0x2)+parseInt(f(0x1f6))/0x3+parseInt(f(0x20c))/0x4*(parseInt(f(0x1f1))/0x5)+parseInt(f(0x207))/0x6*(-parseInt(f(0x1fe))/0x7)+parseInt(f(0x1f4))/0x8+-parseInt(f(0x209))/0x9+parseInt(f(0x1ec))/0xa*(-parseInt(f(0x20e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xb6bc6));function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1ec;var f=c[d];return f;},a55d(a,b);}var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1f3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()['search']('(((.+)+)+)+$')[h(0x1f5)]()[h(0x1ff)](a55a)[h(0x202)](h(0x20d));});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55i(0x200)]=Logger[a55i(0x1fb)]();[a55i(0x1ef)]=![];[a55i(0x1f2)];[a55i(0x1ed)];[a55i(0x1fc)];[a55i(0x201)];[a55i(0x206)];[a55i(0x1fa)];constructor(a){var j=a55i;super(),this[j(0x1f2)]=a['requiredItem'],this[j(0x1ed)]=a[j(0x1ed)],this[j(0x1fc)]=a[j(0x1fc)],this[j(0x201)]=a['rewardItem'],this[j(0x206)]=a[j(0x206)]||j(0x1fd),this[j(0x1fa)]=a[j(0x1fa)]||j(0x1ee);}['hasRequiredItem'](a){var k=a55i;if(this[k(0x1f2)])return a[k(0x1f7)](this[k(0x1f2)]);return![];}[a55i(0x1f8)](a){var l=a55i;return this[l(0x1ed)]===a;}[a55i(0x20b)](a,b){var m=a55i;if(this[m(0x1ef)])return this[m(0x200)]['write'](m(0x20a)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[m(0x1f9)](b)||this[m(0x1f8)](a)?(this[m(0x1ef)]=!![],this[m(0x200)][m(0x205)](m(0x208)),{'success':!![],'message':this[m(0x206)]}):(this['logger'][m(0x205)](m(0x203)),{'success':![],'message':this[m(0x1fa)]});}}