@maka/maka-cli 4.10.1 → 4.11.0

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 (208) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/patreon.js +1 -1
  84. package/bundle/obf/src/commands/proxy.js +1 -1
  85. package/bundle/obf/src/commands/reconfig.js +1 -1
  86. package/bundle/obf/src/commands/register.js +1 -1
  87. package/bundle/obf/src/commands/run/_index.js +1 -1
  88. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  89. package/bundle/obf/src/commands/run/run.command.js +1 -1
  90. package/bundle/obf/src/commands/set/_index.js +1 -1
  91. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/set/set.command.js +1 -1
  94. package/bundle/obf/src/commands/ssh.js +1 -1
  95. package/bundle/obf/src/commands/ssl.js +1 -1
  96. package/bundle/obf/src/commands/test.js +1 -1
  97. package/bundle/obf/src/commands/undo.js +1 -1
  98. package/bundle/obf/src/commands/version.js +1 -1
  99. package/bundle/obf/src/error.js +1 -1
  100. package/bundle/obf/src/exec.js +1 -1
  101. package/bundle/obf/src/generator.js +1 -1
  102. package/bundle/obf/src/generators/_index.js +1 -1
  103. package/bundle/obf/src/generators/api.js +1 -1
  104. package/bundle/obf/src/generators/collection.js +1 -1
  105. package/bundle/obf/src/generators/component.js +1 -1
  106. package/bundle/obf/src/generators/config.js +1 -1
  107. package/bundle/obf/src/generators/dbc.js +1 -1
  108. package/bundle/obf/src/generators/dockerfile.js +1 -1
  109. package/bundle/obf/src/generators/hook.js +1 -1
  110. package/bundle/obf/src/generators/kits/_index.js +1 -1
  111. package/bundle/obf/src/generators/kits/auth/_index.js +1 -0
  112. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -0
  113. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -0
  114. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -0
  115. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  117. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/kit.js +1 -1
  119. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -0
  121. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  123. package/bundle/obf/src/generators/layout.js +1 -1
  124. package/bundle/obf/src/generators/maka.gen.js +1 -1
  125. package/bundle/obf/src/generators/methods.js +1 -1
  126. package/bundle/obf/src/generators/package.js +1 -1
  127. package/bundle/obf/src/generators/page.js +1 -1
  128. package/bundle/obf/src/generators/publish.js +1 -1
  129. package/bundle/obf/src/generators/route.js +1 -1
  130. package/bundle/obf/src/generators/service.js +1 -1
  131. package/bundle/obf/src/generators/services/_index.js +1 -1
  132. package/bundle/obf/src/generators/services/openssl.js +1 -1
  133. package/bundle/obf/src/generators/services/translation.js +1 -1
  134. package/bundle/obf/src/maka.js +1 -1
  135. package/bundle/obf/src/templates/meteor/app/client/head.html +0 -3
  136. package/bundle/obf/src/templates/meteor/app/client/main.js +2 -0
  137. package/bundle/obf/src/templates/meteor/app/client/main.js.jsx +2 -0
  138. package/bundle/obf/src/templates/meteor/app/client/main.js.ts +2 -0
  139. package/bundle/obf/src/templates/meteor/app/client/main.js.tsx +2 -0
  140. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +5 -6
  141. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +5 -6
  142. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.jsx +4 -3
  143. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.tsx +4 -3
  144. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.jsx +2 -2
  145. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.tsx +2 -2
  146. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +4 -3
  147. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +4 -3
  148. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +1 -1
  149. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +1 -1
  150. package/bundle/obf/src/templates/meteor/app/lib/main.js +2 -0
  151. package/bundle/obf/src/templates/meteor/app/lib/main.js.jsx +2 -0
  152. package/bundle/obf/src/templates/meteor/app/lib/main.js.ts +2 -0
  153. package/bundle/obf/src/templates/meteor/app/lib/main.js.tsx +2 -0
  154. package/bundle/obf/src/templates/meteor/app/maka.d.ts +25 -0
  155. package/bundle/obf/src/templates/meteor/app/server/main.js +2 -0
  156. package/bundle/obf/src/templates/meteor/app/server/main.js.jsx +2 -0
  157. package/bundle/obf/src/templates/meteor/app/server/main.js.ts +2 -0
  158. package/bundle/obf/src/templates/meteor/app/server/main.js.tsx +2 -0
  159. package/bundle/obf/src/templates/meteor/config/settings.json +1 -1
  160. package/bundle/obf/src/templates/meteor/publish/publish.js +2 -2
  161. package/bundle/obf/src/templates/meteor/publish/publish.js.ts +3 -0
  162. package/bundle/obf/src/templates/react/component/component.js.tsx +0 -1
  163. package/bundle/obf/src/templates/react/kit/auth/provider/authentication-provider.js.jsx +281 -0
  164. package/bundle/obf/src/templates/react/kit/auth/provider/authentication-provider.js.tsx +318 -0
  165. package/bundle/obf/src/templates/react/kit/auth/service/meteor-auth-service.js.jsx +136 -0
  166. package/bundle/obf/src/templates/react/kit/auth/service/meteor-auth-service.js.tsx +136 -0
  167. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.jsx +4 -2
  168. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.tsx +5 -3
  169. package/bundle/obf/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.jsx +32 -0
  170. package/bundle/obf/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.tsx +31 -0
  171. package/bundle/obf/src/templates/react/kit/mui/auth/login/basic-login-page.js.jsx +51 -0
  172. package/bundle/obf/src/templates/react/kit/mui/auth/login/basic-login-page.js.tsx +52 -0
  173. package/bundle/obf/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.jsx +24 -0
  174. package/bundle/obf/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.tsx +24 -0
  175. package/bundle/obf/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.jsx +34 -0
  176. package/bundle/obf/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.tsx +34 -0
  177. package/bundle/obf/src/templates/react/kit/mui/auth/register/basic-register-page.js.jsx +32 -0
  178. package/bundle/obf/src/templates/react/kit/mui/auth/register/basic-register-page.js.tsx +32 -0
  179. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +5 -5
  180. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +4 -3
  181. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +7 -4
  182. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +5 -4
  183. package/bundle/obf/src/templates/react/kit/mui/frame/footers/basic-sticky-footer.js.jsx +41 -0
  184. package/bundle/obf/src/templates/react/kit/mui/frame/footers/basic-sticky-footer.js.tsx +41 -0
  185. package/bundle/obf/src/templates/service/eslint/eslintrc.json +22 -1
  186. package/bundle/obf/src/tool.js +1 -1
  187. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  188. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  189. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  190. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  191. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  192. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  193. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  194. package/bundle/obf/src/tools/https/https.class.js +1 -1
  195. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  196. package/bundle/obf/src/tools/log/log.class.js +1 -1
  197. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  198. package/bundle/obf/src/tools/options/options.class.js +1 -1
  199. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  200. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  201. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  202. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  203. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  204. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  205. package/package.json +1 -1
  206. package/bundle/obf/src/templates/meteor/publish/publish.js.jsx +0 -3
  207. package/bundle/obf/src/templates/meteor/publish/publish.js.tsx +0 -3
  208. package/bundle/obf/src/templates/meteor/publish/publish.ts +0 -3
@@ -1 +1 @@
1
- function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x111;let f=c[d];return f;},a37d(a,b);}const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x111))/0x1*(-parseInt(f(0x116))/0x2)+parseInt(f(0x12c))/0x3*(-parseInt(f(0x127))/0x4)+-parseInt(f(0x11a))/0x5*(-parseInt(f(0x115))/0x6)+-parseInt(f(0x121))/0x7+parseInt(f(0x12b))/0x8+-parseInt(f(0x129))/0x9+parseInt(f(0x117))/0xa*(-parseInt(f(0x126))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xedd8a));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()[h(0x122)](h(0x118))[h(0x12d)]()[h(0x119)](a37a)['search']('(((.+)+)+)+$');});a37a();function a37c(){const k=['search','apply','Search\x20for\x20items\x20in\x20your\x20area','You\x20search\x20the\x20area\x20and\x20find:\x20','11385MTvZsF','3198300LSueZT','write','1353222rQheTa','length','912104SvVhuF','3aWqjXW','toString','1SeXsDK','logger','actor','name','6VbMXqf','3091758qZqOEc','2800jKFVYb','(((.+)+)+)+$','constructor','8479820WQNzHg','SearchCommand:\x20','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','join','verb','description','execute','7993335atWEWz'];a37c=function(){return k;};return a37c();}import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x11e)]=a37i(0x122);static [a37i(0x11f)]=a37i(0x124);[a37i(0x120)](){const j=a37i,a=this[j(0x113)]['currentLocation']['inventory']['listItems']();if(a[j(0x12a)]===0x0)return this[j(0x112)][j(0x128)](j(0x11b)+this[j(0x113)]['name']+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0x11c);const b=a[j(0x11d)](',\x20');return this['logger'][j(0x128)](j(0x11b)+this[j(0x113)][j(0x114)]+'\x20found\x20the\x20following\x20items:\x20'+b),j(0x125)+b;}}
1
+ const a37i=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x8b;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x8f))/0x1+-parseInt(f(0x99))/0x2*(parseInt(f(0x8d))/0x3)+parseInt(f(0x91))/0x4+-parseInt(f(0x8c))/0x5+parseInt(f(0xa3))/0x6*(-parseInt(f(0x95))/0x7)+parseInt(f(0x9c))/0x8*(parseInt(f(0x8b))/0x9)+-parseInt(f(0x92))/0xa*(parseInt(f(0x96))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x1b1a6));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xa0)]()['search']('(((.+)+)+)+$')[h(0xa0)]()[h(0xa2)](a37a)[h(0xa8)](h(0x9f));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x93)]='search';static [a37i(0xa5)]='Search\x20for\x20items\x20in\x20your\x20area';[a37i(0xa4)](){const j=a37i,a=this[j(0xa9)][j(0x98)][j(0x9e)]['listItems']();if(a[j(0x97)]===0x0)return this[j(0x94)][j(0xa7)](j(0x8e)+this[j(0xa9)][j(0x9b)]+j(0xa6)),j(0x9a);const b=a[j(0x9d)](',\x20');return this[j(0x94)][j(0xa7)](j(0x8e)+this[j(0xa9)][j(0x9b)]+'\x20found\x20the\x20following\x20items:\x20'+b),j(0x90)+b;}}function a37c(){const k=['logger','91kiCpAl','2948bQkoFJ','length','currentLocation','46HQhdKP','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','name','64lZbTgk','join','inventory','(((.+)+)+)+$','toString','apply','constructor','78036acDFPZ','execute','description','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','write','search','actor','196389qvnVuJ','856630mNSKYx','3207vjfITw','SearchCommand:\x20','203993JCvvbM','You\x20search\x20the\x20area\x20and\x20find:\x20','836800MIkGfP','4170AXEFHW','verb'];a37c=function(){return k;};return a37c();}
@@ -1 +1 @@
1
- const a38i=a38d;function a38c(){const k=['646389QaTKXF','611667bFpuMp','search','518946xGkPBO','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','(((.+)+)+)+$','constructor','inventory','addItem','join','28828AmQKiC','2799024NuWWsX','apply','write','51180vHeJcQ','917yLvkHe','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','5184PcwLCZ','10GPjsHm','logger','execute','message','actor','3fJhPOL','solve','puzzle','rewardItem','toString','toLowerCase','25MWAqNm','3399wKvVbd'];a38c=function(){return k;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x6d))/0x1+-parseInt(f(0x6f))/0x2*(parseInt(f(0x83))/0x3)+-parseInt(f(0x76))/0x4*(-parseInt(f(0x6a))/0x5)+-parseInt(f(0x7d))/0x6*(-parseInt(f(0x7b))/0x7)+-parseInt(f(0x77))/0x8+-parseInt(f(0x6c))/0x9*(-parseInt(f(0x7e))/0xa)+-parseInt(f(0x6b))/0xb*(-parseInt(f(0x7a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x4d9d3));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x68;let f=c[d];return f;},a38d(a,b);}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x78)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x68)]()['search']('(((.+)+)+)+$')[h(0x68)]()[h(0x72)](a38a)[h(0x6e)](h(0x71));});a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static ['verb']=a38i(0x84);static ['description']='Attempt\x20to\x20solve\x20a\x20puzzle.';[a38i(0x80)](a){const j=a38i,b=a[j(0x75)]('\x20')[j(0x69)](),c=this[j(0x82)]['currentLocation'];if(!c||!c['puzzle'])return this[j(0x7f)]['write'](j(0x7c)),j(0x70);const d=c['puzzle']['solve'](b,this[j(0x82)]['inventory']);return d['success']&&c['puzzle'][j(0x86)]&&this['actor'][j(0x73)][j(0x74)](c[j(0x85)][j(0x86)]),this[j(0x7f)][j(0x79)]('SolveCommand:\x20'+d[j(0x81)]),d[j(0x81)];}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x1ff))/0x1+parseInt(f(0x1ec))/0x2*(parseInt(f(0x1e5))/0x3)+parseInt(f(0x1f9))/0x4+parseInt(f(0x201))/0x5*(-parseInt(f(0x1e9))/0x6)+parseInt(f(0x1fd))/0x7+-parseInt(f(0x1fc))/0x8+parseInt(f(0x1eb))/0x9*(-parseInt(f(0x1ea))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xbc861));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1f6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1e3)]()[h(0x1fe)](h(0x1e8))[h(0x1e3)]()[h(0x1f2)](a38a)[h(0x1fe)](h(0x1e8));});a38a();import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1e3;let f=c[d];return f;},a38d(a,b);}export class SolveCommand extends Command{static [a38i(0x1e6)]=a38i(0x1ed);static [a38i(0x1f0)]=a38i(0x1f7);[a38i(0x200)](a){const j=a38i,b=a[j(0x1fa)]('\x20')[j(0x1f8)](),c=this[j(0x1ef)]['currentLocation'];if(!c||!c[j(0x1f3)])return this[j(0x1f4)]['write']('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[j(0x1f3)][j(0x1ed)](b,this[j(0x1ef)][j(0x1f5)]);return d[j(0x1ee)]&&c[j(0x1f3)][j(0x1e4)]&&this['actor'][j(0x1f5)][j(0x1f1)](c[j(0x1f3)][j(0x1e4)]),this[j(0x1f4)]['write'](j(0x1fb)+d[j(0x1e7)]),d[j(0x1e7)];}}function a38c(){const k=['description','addItem','constructor','puzzle','logger','inventory','apply','Attempt\x20to\x20solve\x20a\x20puzzle.','toLowerCase','2059316WcgtYY','join','SolveCommand:\x20','1349336APmVaK','457121AbKndu','search','605705nflUTk','execute','15iNRirZ','toString','rewardItem','198ydekyP','verb','message','(((.+)+)+)+$','873156ZHWNFW','4844370BEtFfh','9pxCPEw','20486SVwVaR','solve','success','actor'];a38c=function(){return k;};return a38c();}
@@ -1 +1 @@
1
- const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x14c))/0x1+parseInt(f(0x14a))/0x2+parseInt(f(0x15d))/0x3*(-parseInt(f(0x14d))/0x4)+parseInt(f(0x158))/0x5*(parseInt(f(0x160))/0x6)+parseInt(f(0x16b))/0x7*(-parseInt(f(0x161))/0x8)+-parseInt(f(0x150))/0x9+-parseInt(f(0x168))/0xa*(-parseInt(f(0x159))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x6eb42));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const g=a39d;return a39a[g(0x163)]()['search'](g(0x16f))[g(0x163)]()[g(0x16e)](a39a)[g(0x15f)](g(0x16f));});a39a();import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x149;let f=c[d];return f;},a39d(a,b);}export class TakeCommand extends Command{static [a39h(0x16a)]='take';static ['description']=a39h(0x156);[a39h(0x164)](a){const i=a39h;return this[i(0x153)][i(0x15c)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a['join']('\x20')),this[i(0x169)](a);}[a39h(0x169)](a){const j=a39h,b=a[j(0x16c)]('\x20')['toLowerCase'](),c=this[j(0x171)][j(0x16d)];if(!c[j(0x15b)][j(0x14e)](b))return this[j(0x153)][j(0x15c)]('Item\x20\x22'+b+j(0x155)+c[j(0x157)]+j(0x165)),j(0x14b)+b+j(0x15a);const d=c[j(0x15b)]['getItem'](b);if(!d)return this['logger'][j(0x15c)](j(0x152)+b+j(0x167)+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x14b)+b+j(0x15a);try{return this[j(0x171)]['addInventory'](d),this[j(0x153)][j(0x15c)]('Successfully\x20added\x20\x22'+b+j(0x151)+this[j(0x171)][j(0x157)]+j(0x170)),c['inventory'][j(0x166)](b),this['logger'][j(0x15c)](j(0x162)+b+'\x22\x20from\x20'+c[j(0x157)]+j(0x15e)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this[j(0x153)][j(0x15c)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[j(0x14f)]),j(0x154)+b+j(0x149);}}}function a39c(){const k=['join','currentLocation','constructor','(((.+)+)+)+$','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','actor','\x22\x20is\x20too\x20heavy\x20to\x20carry.','1488234aJuTDO','There\x20is\x20no\x20item\x20\x22','732963fkKYhF','80QDHDdW','hasItem','message','271071xneXoe','\x22\x20to\x20','Item\x20\x22','logger','The\x20item\x20\x22','\x22\x20not\x20found\x20in\x20','Pick\x20up\x20an\x20item.','name','80grBGSB','452881bkPnwE','\x22\x20in\x20this\x20room.','inventory','write','77478rFAVty','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','search','249582YWmBXj','6032UgIQWA','Successfully\x20removed\x20\x22','toString','execute','\x20during\x20\x27Take\x27\x20command.','removeItem','\x22\x20not\x20retrieved\x20from\x20','230YugdnU','take','verb','5789uJUjpH'];a39c=function(){return k;};return a39c();}
1
+ const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0xe1))/0x1+parseInt(f(0xee))/0x2+-parseInt(f(0xf2))/0x3*(parseInt(f(0x10b))/0x4)+parseInt(f(0xeb))/0x5*(parseInt(f(0x107))/0x6)+parseInt(f(0xe3))/0x7*(-parseInt(f(0x108))/0x8)+-parseInt(f(0x105))/0x9+-parseInt(f(0xfb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x8778d));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0xec)]()[h(0xef)](h(0x104))[h(0xec)]()[h(0x10a)](a39a)['search'](h(0x104));});function a39c(){const l=['2149800iahJbJ','The\x20item\x20\x22','description','Item\x20\x22','\x20during\x20\x27Take\x27\x20command.','inventory','Successfully\x20removed\x20\x22','removeItem','Pick\x20up\x20an\x20item.','(((.+)+)+)+$','5421456IYqHiA','apply','34038XxFmHW','48zxkIsX','join','constructor','77856QODgud','write','\x22\x20to\x20','Successfully\x20added\x20\x22','281575nXEmfw','execute','46445LsNJAH','logger','\x22\x20is\x20too\x20heavy\x20to\x20carry.','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','Error\x20during\x20\x27Take\x27\x20command:\x20','\x22\x20in\x20this\x20room.','There\x20is\x20no\x20item\x20\x22','verb','860eJAotx','toString','hasItem','620896YlyLpD','search','take','\x22\x20not\x20found\x20in\x20','24CepYxy','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','name','message','toLowerCase','actor','\x22\x20from\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','You\x20have\x20taken\x20the\x20'];a39c=function(){return l;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xdf;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0xea)]=a39i(0xf0);static [a39i(0xfd)]=a39i(0x103);[a39i(0xe2)](a){const j=a39i;return this['logger']['write'](j(0xe6)+a[j(0x109)]('\x20')),this[j(0xf0)](a);}[a39i(0xf0)](a){const k=a39i,b=a['join']('\x20')[k(0xf6)](),c=this[k(0xf7)]['currentLocation'];if(!c[k(0x100)][k(0xed)](b))return this[k(0xe4)][k(0x10c)](k(0xfe)+b+k(0xf1)+c[k(0xf4)]+k(0xff)),k(0xe9)+b+k(0xe8);const d=c[k(0x100)]['getItem'](b);if(!d)return this['logger'][k(0x10c)](k(0xfe)+b+'\x22\x20not\x20retrieved\x20from\x20'+c['name']+k(0xf9)),k(0xe9)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0xf7)]['addInventory'](d),this['logger'][k(0x10c)](k(0xe0)+b+k(0xdf)+this['actor'][k(0xf4)]+k(0xf3)),c['inventory'][k(0x102)](b),this[k(0xe4)]['write'](k(0x101)+b+k(0xf8)+c[k(0xf4)]+k(0xf9)),k(0xfa)+b+'.';}catch(e){return this[k(0xe4)]['write'](k(0xe7)+e[k(0xf5)]),k(0xfc)+b+k(0xe5);}}}
@@ -1 +1 @@
1
- const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0xc8))/0x1+-parseInt(f(0xc7))/0x2+-parseInt(f(0xda))/0x3+-parseInt(f(0xd2))/0x4*(parseInt(f(0xcc))/0x5)+-parseInt(f(0xc3))/0x6*(-parseInt(f(0xd4))/0x7)+-parseInt(f(0xd9))/0x8*(-parseInt(f(0xd1))/0x9)+parseInt(f(0xc2))/0xa*(parseInt(f(0xd7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x83209));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xc2;let f=c[d];return f;},a40d(a,b);}function a40c(){const j=['3002121AHtIrc','252308TJxqzY','(((.+)+)+)+$','43883YpnYPS','actor','UnequipCommand:\x20','11dkKQJr','logger','16vKUxdw','2637828cOZHJb','8144830TiyKvx','540JNjeVF','description','unequip','toString','860176hEeikY','179092GDYjYl','\x20unqeuiped\x20','unqeuip','name','30oOnZaq','search','toLowerCase','constructor','execute'];a40c=function(){return j;};return a40c();}const a40b=(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;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0xc6)]()[g(0xcd)](g(0xd3))[g(0xc6)]()[g(0xcf)](a40a)[g(0xcd)](g(0xd3));});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a40h(0xca);static [a40h(0xc4)]='Unequip\x20an\x20item.';[a40h(0xd0)](a){const i=a40h,b=a['join']('\x20')[i(0xce)](),c=this[i(0xd5)][i(0xc5)](b);return this[i(0xd8)]['write'](i(0xd6)+this[i(0xd5)][i(0xcb)]+i(0xc9)+c),c;}}
1
+ function a40c(){const j=['546090ZObBOa','actor','unequip','12jixndm','4RmeYuo','5071210QXjlsc','9659744lRvypi','search','310678jTWLlJ','join','262272XWHhwf','UnequipCommand:\x20','execute','constructor','toString','3101574HsdoBW','(((.+)+)+)+$','Unequip\x20an\x20item.','9ilMqme','3478515TMqmCb','logger','description'];a40c=function(){return j;};return a40c();}const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x13e))/0x1+parseInt(f(0x140))/0x2+parseInt(f(0x136))/0x3*(parseInt(f(0x13a))/0x4)+parseInt(f(0x133))/0x5+-parseInt(f(0x139))/0x6*(-parseInt(f(0x12f))/0x7)+-parseInt(f(0x13c))/0x8+parseInt(f(0x132))/0x9*(parseInt(f(0x13b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xd7d28));const a40b=(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;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0x12e)]()[g(0x13d)]('(((.+)+)+)+$')[g(0x12e)]()[g(0x12d)](a40a)[g(0x13d)](g(0x130));});a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x12b;let f=c[d];return f;},a40d(a,b);}export class UnequipCommand extends Command{static ['verb']='unqeuip';static [a40h(0x135)]=a40h(0x131);[a40h(0x12c)](a){const i=a40h,b=a[i(0x13f)]('\x20')['toLowerCase'](),c=this[i(0x137)][i(0x138)](b);return this[i(0x134)]['write'](i(0x12b)+this['actor']['name']+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x205))/0x1+parseInt(h(0x201))/0x2*(-parseInt(h(0x1f0))/0x3)+-parseInt(h(0x1fd))/0x4+-parseInt(h(0x1fe))/0x5*(parseInt(h(0x20f))/0x6)+parseInt(h(0x1e8))/0x7*(parseInt(h(0x210))/0x8)+parseInt(h(0x202))/0x9+parseInt(h(0x211))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x20f72));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()['search'](j(0x1ee))[j(0x204)]()[j(0x1f6)](a41a)['search'](j(0x1ee));});function a41c(){const n=['\x22\x20here.','hasItem','attemptUnlockExit','.\x20Result:\x20','259044VzHfnz','8hPvuUQ','4250940uwSwcX','1632911zSmjVb','toLowerCase','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','isValidDirection','unlockItemOrSolution','unlock','(((.+)+)+)+$','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','135rIZhSF','apply','verb','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','UnlockCommand:\x20No\x20target\x20specified.','exits','constructor','Unlock\x20a\x20door.','UnlockCommand:\x20','name','length','get','write','603308cTGKDV','15vxjwSr','logger','description','3378QwwuPN','364833WsJuVV','has','toString','207524ZloEdf','inventory','\x20is\x20attempted\x20to\x20unlock\x20','There\x27s\x20no\x20door\x20named\x20\x22','actor','getItem'];a41c=function(){return n;};return a41c();}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a41d(a,b);}a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x1f2)]='unlock';static [a41k(0x200)]=a41k(0x1f7);['execute'](a){const l=a41k;return this[l(0x1ed)](a);}[a41k(0x1ed)](a){const m=a41k;if(a[m(0x1fa)]===0x0)return this[m(0x1ff)]['error'](m(0x1f4)),m(0x1f3);const b=a[0x0][m(0x1e9)](),c=this[m(0x209)]['currentLocation'];if(this[m(0x1eb)](b)&&c[m(0x1f5)][m(0x203)](b)){const d=c[m(0x1f5)][m(0x1fb)](b);if(d instanceof Door){const e=d[m(0x1ec)]?.[m(0x1e9)]();if(e&&this[m(0x209)][m(0x206)][m(0x20c)](e)){const f=this[m(0x209)][m(0x206)][m(0x20a)](e);if(f){const g=c[m(0x20d)](b,f['name']);return this[m(0x1ff)][m(0x1fc)](m(0x1f8)+this[m(0x209)][m(0x1f9)]+m(0x207)+b+m(0x20e)+g),g;}}return this[m(0x1ff)]['write']('UnlockCommand:\x20'+this[m(0x209)][m(0x1f9)]+m(0x1ef)+b+'.'),m(0x1ea);}else return this[m(0x1ff)][m(0x1fc)]('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c['name']+'.'),m(0x208)+b+m(0x20b);}else return this[m(0x1ff)][m(0x1fc)](m(0x1f8)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x1f9)]+'.'),m(0x208)+b+m(0x20b);}}
1
+ const a41j=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x1d2))/0x1+-parseInt(h(0x1c5))/0x2*(parseInt(h(0x1c4))/0x3)+parseInt(h(0x1bb))/0x4*(parseInt(h(0x1c8))/0x5)+-parseInt(h(0x1b2))/0x6+-parseInt(h(0x1cc))/0x7*(-parseInt(h(0x1b4))/0x8)+parseInt(h(0x1d7))/0x9*(-parseInt(h(0x1b5))/0xa)+parseInt(h(0x1b6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xce892));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 i=a41d;return a41a['toString']()[i(0x1d3)]('(((.+)+)+)+$')['toString']()['constructor'](a41a)[i(0x1d3)]('(((.+)+)+)+$');});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a41d(a,b);}export class UnlockCommand extends Command{static [a41j(0x1ba)]=a41j(0x1ce);static [a41j(0x1d6)]=a41j(0x1cb);[a41j(0x1c3)](a){const k=a41j;return this[k(0x1ce)](a);}[a41j(0x1ce)](a){const l=a41j;if(a[l(0x1c9)]===0x0)return this[l(0x1c7)][l(0x1be)](l(0x1b7)),l(0x1bc);const b=a[0x0][l(0x1cd)](),c=this[l(0x1bf)]['currentLocation'];if(this[l(0x1b9)](b)&&c['exits'][l(0x1b3)](b)){const d=c[l(0x1cf)][l(0x1d0)](b);if(d instanceof Door){const e=d[l(0x1bd)]?.['toLowerCase']();if(e&&this[l(0x1bf)]['inventory']['hasItem'](e)){const f=this['actor']['inventory']['getItem'](e);if(f){const g=c[l(0x1c0)](b,f[l(0x1d5)]);return this[l(0x1c7)][l(0x1ca)]('UnlockCommand:\x20'+this[l(0x1bf)][l(0x1d5)]+l(0x1d1)+b+l(0x1b8)+g),g;}}return this[l(0x1c7)][l(0x1ca)]('UnlockCommand:\x20'+this['actor'][l(0x1d5)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),l(0x1c2);}else return this['logger']['write'](l(0x1c1)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x1d5)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}else return this[l(0x1c7)][l(0x1ca)](l(0x1c1)+b+l(0x1c6)+c[l(0x1d5)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0x1d4);}}function a41c(){const m=['exits','get','\x20is\x20attempted\x20to\x20unlock\x20','1645149PFmUVV','search','\x22\x20here.','name','description','711549zjolEc','7590804MZJseF','has','200YtwopG','20oiBVXf','41967904gNIetf','UnlockCommand:\x20No\x20target\x20specified.','.\x20Result:\x20','isValidDirection','verb','7416MTZNyg','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','unlockItemOrSolution','error','actor','attemptUnlockExit','UnlockCommand:\x20','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','execute','920097ofNTvG','8vpOjTT','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','logger','790DVzEJO','length','write','Unlock\x20a\x20door.','289233OCBAOv','toLowerCase','unlock'];a41c=function(){return m;};return a41c();}
@@ -1 +1 @@
1
- const a42i=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x69;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x85))/0x1*(-parseInt(f(0x6f))/0x2)+-parseInt(f(0x8c))/0x3*(-parseInt(f(0x87))/0x4)+-parseInt(f(0x7d))/0x5+parseInt(f(0x7e))/0x6*(parseInt(f(0x8a))/0x7)+parseInt(f(0x8d))/0x8+parseInt(f(0x76))/0x9+parseInt(f(0x70))/0xa*(-parseInt(f(0x6a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x61a88));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x84)]()[h(0x88)]('(((.+)+)+)+$')[h(0x84)]()[h(0x8f)](a42a)['search'](h(0x7a));});function a42c(){const l=['description','28RVSKUn','search','\x20doesn\x27t\x20have\x20a\x20use\x20method.','7gtcVUa','toLowerCase','122493erjbax','3855912XeDrJM','apply','constructor','UseCommand:\x20','\x20in\x20this\x20way.','143SFdqwB','actor','inventory','\x20to\x20use.','You\x20can\x27t\x20use\x20the\x20','4zILojs','1405610zDWdMP',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','execute','logger','join','write','6591573GGdkkd','You\x20don\x27t\x20have\x20the\x20','Use\x20an\x20item.','\x20attempted\x20to\x20use\x20','(((.+)+)+)+$','function','\x27s\x20inventory.','3233200QsoJHc','3680016ryZJrf','\x20used\x20','\x20not\x20retrieved\x20from\x20','verb','use','name','toString','380201BlivXo'];a42c=function(){return l;};return a42c();}a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x81)]=a42i(0x82);static [a42i(0x86)]=a42i(0x78);[a42i(0x72)](a){const j=a42i;return this[j(0x82)](a);}['use'](a){const k=a42i,b=a[k(0x74)]('\x20')[k(0x8b)]();if(!this[k(0x6b)][k(0x6c)]['hasItem'](b))return this['logger'][k(0x75)]('UseCommand:\x20'+this['actor'][k(0x83)]+k(0x79)+b+k(0x71)),k(0x77)+b+k(0x6d);const c=this[k(0x6b)][k(0x6c)]['getItem'](b);if(!c)return this[k(0x73)]['write'](k(0x90)+b+k(0x80)+this[k(0x6b)][k(0x83)]+k(0x7c)),k(0x77)+b+k(0x6d);if(typeof c[k(0x82)]===k(0x7b)){const d=c[k(0x82)]();return this[k(0x73)]['write'](k(0x90)+this[k(0x6b)][k(0x83)]+k(0x7f)+b+'.'),d;}else return this[k(0x73)][k(0x75)](k(0x90)+b+k(0x89)),k(0x6e)+b+k(0x69);}}
1
+ const a42i=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x77;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x77))/0x1+-parseInt(f(0x7c))/0x2+-parseInt(f(0x92))/0x3+-parseInt(f(0x84))/0x4+parseInt(f(0x96))/0x5*(-parseInt(f(0x98))/0x6)+parseInt(f(0x94))/0x7*(-parseInt(f(0x79))/0x8)+parseInt(f(0x81))/0x9*(parseInt(f(0x7e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x4ee30));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x7d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x99)]()['search'](h(0x93))[h(0x99)]()[h(0x87)](a42a)[h(0x9a)]('(((.+)+)+)+$');});a42a();import{Command}from'./command.js';function a42c(){const l=['59004REqbOU','toLowerCase','write','229804QfEmji','verb','inventory','constructor',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','name','logger','actor','use','UseCommand:\x20','\x20doesn\x27t\x20have\x20a\x20use\x20method.','execute','You\x20can\x27t\x20use\x20the\x20','\x20not\x20retrieved\x20from\x20','1018788RJilKO','(((.+)+)+)+$','7alLsib','join','1965AitDpD','description','4716ulTZEC','toString','search','482705WiVfOH','\x20used\x20','4243848OsmtJy','\x20attempted\x20to\x20use\x20','getItem','491586EyHTuu','apply','3490bHcTqA','\x20to\x20use.','You\x20don\x27t\x20have\x20the\x20'];a42c=function(){return l;};return a42c();}export class UseCommand extends Command{static [a42i(0x85)]=a42i(0x8c);static [a42i(0x97)]='Use\x20an\x20item.';[a42i(0x8f)](a){const j=a42i;return this[j(0x8c)](a);}[a42i(0x8c)](a){const k=a42i,b=a[k(0x95)]('\x20')[k(0x82)]();if(!this[k(0x8b)][k(0x86)]['hasItem'](b))return this[k(0x8a)][k(0x83)](k(0x8d)+this[k(0x8b)][k(0x89)]+k(0x7a)+b+k(0x88)),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x7f);const c=this[k(0x8b)][k(0x86)][k(0x7b)](b);if(!c)return this[k(0x8a)][k(0x83)](k(0x8d)+b+k(0x91)+this[k(0x8b)][k(0x89)]+'\x27s\x20inventory.'),k(0x80)+b+k(0x7f);if(typeof c[k(0x8c)]==='function'){const d=c['use']();return this[k(0x8a)]['write'](k(0x8d)+this[k(0x8b)]['name']+k(0x78)+b+'.'),d;}else return this[k(0x8a)]['write'](k(0x8d)+b+k(0x8e)),k(0x90)+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a43d(a,b);}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x1c8))/0x1+-parseInt(f(0x1bb))/0x2+parseInt(f(0x1be))/0x3*(parseInt(f(0x1c9))/0x4)+-parseInt(f(0x1c3))/0x5*(parseInt(f(0x1c5))/0x6)+parseInt(f(0x1c2))/0x7+-parseInt(f(0x1bd))/0x8+-parseInt(f(0x1c0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x91e8d));function a43c(){const k=['37410odewUZ','search','1755909SlNTDa','toString','1953441GGJJMV','1073230PCCZCS','commandMap','6HgLTJq','constructor','registerCommand','1187317jzlZba','228VyySVv','apply','createCommand','getAllRegisteredCommands','1571364zeBJVc','(((.+)+)+)+$','3072768uySVXw'];a43c=function(){return k;};return a43c();}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1c1)]()[h(0x1bf)](h(0x1bc))['toString']()[h(0x1c6)](a43a)['search'](h(0x1bc));});a43a();export class CommandFactory{static [a43i(0x1c4)]={};static[a43i(0x1c7)](a,b){this['commandMap'][a]=b;}static[a43i(0x1b9)](a,b){const j=a43i,c=this[j(0x1c4)][a];if(c)return new c(b);return null;}static[a43i(0x1ba)](){return this['commandMap'];}}
1
+ function a43c(){const l=['9DiQWBY','getAllRegisteredCommands','toString','4655203XuFcZt','constructor','registerCommand','52652DEiuIu','6dDOkVW','commandMap','1140928kKPTCu','(((.+)+)+)+$','apply','5420984YFsTNg','433327PoOcns','search','createCommand','600054KCyUKT','290eXgEiP','11276830zemKhL'];a43c=function(){return l;};return a43c();}const a43i=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xd0;let f=c[d];return f;},a43d(a,b);}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0xd0))/0x1+parseInt(f(0xdf))/0x2+-parseInt(f(0xd3))/0x3+parseInt(f(0xdc))/0x4*(parseInt(f(0xd4))/0x5)+parseInt(f(0xdd))/0x6*(-parseInt(f(0xd9))/0x7)+-parseInt(f(0xe2))/0x8+-parseInt(f(0xd6))/0x9*(-parseInt(f(0xd5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x768e4));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xe1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()[h(0xd1)](h(0xe0))[h(0xd8)]()[h(0xda)](a43a)[h(0xd1)](h(0xe0));});a43a();export class CommandFactory{static [a43i(0xde)]={};static[a43i(0xdb)](a,b){const j=a43i;this[j(0xde)][a]=b;}static[a43i(0xd2)](a,b){const k=a43i,c=this[k(0xde)][a];if(c)return new c(b);return null;}static[a43i(0xd7)](){return this['commandMap'];}}
@@ -1 +1 @@
1
- const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x6d))/0x1+parseInt(f(0x70))/0x2+parseInt(f(0x7b))/0x3+-parseInt(f(0x71))/0x4+parseInt(f(0x85))/0x5*(parseInt(f(0x6e))/0x6)+-parseInt(f(0x8b))/0x7*(parseInt(f(0x73))/0x8)+-parseInt(f(0x81))/0x9*(parseInt(f(0x83))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xbc567));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x69)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x67)]()[h(0x68)]('(((.+)+)+)+$')['toString']()[h(0x76)](a44a)[h(0x68)]('(((.+)+)+)+$');});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x67;let f=c[d];return f;},a44d(a,b);}export class RoomFactory{[a44i(0x87)](a){const j=a44i,b=this[j(0x8a)](a),c=new Room(b);if(a[j(0x6a)]){const d=new Inventory();a['items'][j(0x88)](e=>{const k=j;d[k(0x82)](this[k(0x7f)](e));}),c[j(0x6f)]=d;}return a['puzzle']&&c[j(0x72)](this[j(0x74)](a['puzzle'])),c;}[a44i(0x7f)](a){const l=a44i;switch(a[l(0x79)]){case l(0x80):return new Key(a['name'],a[l(0x75)]);case l(0x7c):return new Book(a[l(0x7d)],a[l(0x75)],a[l(0x89)]);case l(0x84):return new Sword(a['name'],a[l(0x75)]);case l(0x7a):return new Rifle(a[l(0x7d)],a[l(0x75)]);case'helmet':return new Helmet(a[l(0x7d)],a[l(0x75)]);case'bodyarmor':return new BodyArmor(a[l(0x7d)],a['description']);case l(0x8c):return new LegArmor(a[l(0x7d)],a[l(0x75)]);case l(0x77):return new Boots(a['name'],a[l(0x75)]);case'gloves':return new Gloves(a['name'],a['description']);case l(0x6c):return new Gauntlets(a[l(0x7d)],a[l(0x75)]);default:return new BasicItem(a[l(0x7d)],a[l(0x75)]);}}[a44i(0x74)](a){const m=a44i,b=this[m(0x7f)](a[m(0x86)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0x8a)](a){const n=a44i,b=a[n(0x7e)]&&RoomType[a[n(0x7e)]['toUpperCase']()]?RoomType[a[n(0x7e)][n(0x78)]()]:RoomType[n(0x6b)];return{'name':a['name'],'description':a[n(0x75)],'isStartRoom':a['isStartRoom'],'roomType':b};}}function a44c(){const o=['type','rifle','3779922lJLacL','book','name','roomType','createItem','key','45SmVfIw','addItem','4038030krVJgi','sword','250JenLFe','rewardItem','createRoom','forEach','content','convertToRoomConfig','1373414vMEBFY','legarmor','toString','search','apply','items','INSIDE','gauntlets','1273999RNXarC','110904DOraLF','inventory','569618sScPaM','3025336mhMtWj','setPuzzle','8AXUvQX','createPuzzle','description','constructor','boots','toUpperCase'];a44c=function(){return o;};return a44c();}
1
+ const a44k=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x176))/0x1+parseInt(f(0x188))/0x2+-parseInt(f(0x18e))/0x3*(parseInt(f(0x170))/0x4)+-parseInt(f(0x185))/0x5+-parseInt(f(0x18c))/0x6+-parseInt(f(0x186))/0x7*(-parseInt(f(0x17d))/0x8)+parseInt(f(0x18a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x2dad0));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x18f)]()[h(0x179)](h(0x189))[h(0x18f)]()[h(0x17b)](a44a)[h(0x179)](h(0x189));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a44c(){const o=['inventory','roomType','setPuzzle','315880VPVHNa','1665615JuJqrr','name','55608WdvZuS','(((.+)+)+)+$','320400zqTDif','description','1361490KOKWYF','createPuzzle','417771XPCfWW','toString','rewardItem','book','toUpperCase','4pKEwvC','puzzle','createItem','legarmor','rifle','apply','315087XkVZbr','isStartRoom','items','search','bodyarmor','constructor','convertToRoomConfig','8GeSJMC','boots','type','gloves','INSIDE'];a44c=function(){return o;};return a44c();}import{RoomType}from'../types/enums.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x16e;let f=c[d];return f;},a44d(a,b);}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const i=a44d,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[i(0x178)]){const d=new Inventory();a['items']['forEach'](e=>{const j=i;d['addItem'](this[j(0x172)](e));}),c[i(0x182)]=d;}return a[i(0x171)]&&c[i(0x184)](this[i(0x18d)](a['puzzle'])),c;}[a44k(0x172)](a){const l=a44k;switch(a[l(0x17f)]){case'key':return new Key(a[l(0x187)],a[l(0x18b)]);case l(0x16e):return new Book(a[l(0x187)],a[l(0x18b)],a['content']);case'sword':return new Sword(a[l(0x187)],a[l(0x18b)]);case l(0x174):return new Rifle(a[l(0x187)],a[l(0x18b)]);case'helmet':return new Helmet(a[l(0x187)],a['description']);case l(0x17a):return new BodyArmor(a[l(0x187)],a[l(0x18b)]);case l(0x173):return new LegArmor(a[l(0x187)],a['description']);case l(0x17e):return new Boots(a[l(0x187)],a[l(0x18b)]);case l(0x180):return new Gloves(a['name'],a['description']);case'gauntlets':return new Gauntlets(a['name'],a['description']);default:return new BasicItem(a[l(0x187)],a[l(0x18b)]);}}['createPuzzle'](a){const m=a44k,b=this[m(0x172)](a[m(0x190)]);return new Puzzle({...a,'rewardItem':b});}[a44k(0x17c)](a){const n=a44k,b=a[n(0x183)]&&RoomType[a[n(0x183)][n(0x16f)]()]?RoomType[a[n(0x183)][n(0x16f)]()]:RoomType[n(0x181)];return{'name':a[n(0x187)],'description':a['description'],'isStartRoom':a[n(0x177)],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0xe2))/0x1+parseInt(h(0xfb))/0x2*(parseInt(h(0xdc))/0x3)+parseInt(h(0xdb))/0x4*(-parseInt(h(0xd6))/0x5)+-parseInt(h(0xff))/0x6*(-parseInt(h(0x102))/0x7)+parseInt(h(0xec))/0x8*(parseInt(h(0xe8))/0x9)+parseInt(h(0xe6))/0xa+-parseInt(h(0xd5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xe1d52));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0xf2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0xe5)]()['search'](j(0xf4))['toString']()['constructor'](a45a)[j(0xea)](j(0xf4));});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xd1;let f=c[d];return f;},a45d(a,b);}import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';function a45c(){const s=['lock','split','execute','280626LDCTQr','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','drop','-\x20quit:\x20Exit\x20the\x20game.\x0a','204gRrHKx','unlock','rooms','317268kqRKka','hasOwnProperty','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','toLowerCase','trim','quit','61871282SlfrkG','6118745GaVPqQ','take','registerCommands','name','slice','4WJMbIc','39SbFpLp','-\x20clear:\x20Clear\x20the\x20screen.\x0a','registerCommand','player','currentLocation','getAllRegisteredCommands','1251627jILHEZ','help','solve','toString','13237050BnpsAT','getWelcomeMessage','383652sWIxDc','getHelpMessage','search','createCommand','344CWulZt','scene','say','determineStartRoom','getRooms','currentRoom','apply','initialize','(((.+)+)+)+$','instance','handleInput','getDescription'];a45c=function(){return s;};return a45c();}import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0xf5)];['scene'];[a45k(0xdf)];[a45k(0xf1)];[a45k(0x101)];constructor(a,b){const l=a45k;this[l(0xdf)]=a,this[l(0xed)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0xed)][l(0xf3)](),this['player'][l(0xe0)]=this[l(0xef)](),this[l(0xd8)]();}['registerCommands'](){const m=a45k;CommandFactory[m(0xde)]('look',LookCommand),CommandFactory[m(0xde)]('go',GoCommand),CommandFactory[m(0xde)](m(0xd7),TakeCommand),CommandFactory['registerCommand']('use',UseCommand),CommandFactory[m(0xde)]('equip',EquipCommand),CommandFactory[m(0xde)]('unequip',UnequipCommand),CommandFactory['registerCommand'](m(0xe4),SolveCommand),CommandFactory[m(0xde)](m(0xfd),DropCommand),CommandFactory['registerCommand'](m(0x100),UnlockCommand),CommandFactory['registerCommand'](m(0xf8),LockCommand),CommandFactory[m(0xde)](m(0xea),SearchCommand),CommandFactory['registerCommand'](m(0xee),SayCommand);}[a45k(0xef)](){const n=a45k;return this[n(0xed)][n(0xef)]();}[a45k(0xe7)](){const o=a45k;return'Welcome,\x20'+this['player'][o(0xd9)];}static['getInstance'](a,b){const p=a45k;return!Game[p(0xf5)]&&(Game['instance']=new Game(a,b)),Game[p(0xf5)];}[a45k(0xf6)](a){const q=a45k,b=a[q(0xd3)]()[q(0xf9)]('\x20'),c=b[0x0][q(0xd2)](),d=b[q(0xda)](0x1);if(c===q(0xd4))return null;if(c==='maka')return q(0xfc);if(c===q(0xe3))return this[q(0xe9)]();if(c==='clear')return'';const e={'actor':this[q(0xdf)],'rooms':this[q(0xed)][q(0xf0)](),'scene':this[q(0xed)]},f=CommandFactory[q(0xeb)](c,e);if(f){const g=f[q(0xfa)](d);return g;}return q(0xd1)+c+'\x22.';}[a45k(0xe9)](){const r=a45k,a=CommandFactory[r(0xe1)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0x103)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xf7)]()+'\x0a';}}return b+=r(0xdd),b+=r(0xfe),b;}}
1
+ const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0xce))/0x1+parseInt(h(0xf6))/0x2+parseInt(h(0xf9))/0x3+parseInt(h(0xf5))/0x4+-parseInt(h(0xf2))/0x5*(parseInt(h(0xd5))/0x6)+parseInt(h(0xf3))/0x7*(-parseInt(h(0xe1))/0x8)+-parseInt(h(0xfa))/0x9*(parseInt(h(0xcf))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x94f97));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0xe9)]()[j(0xf1)](j(0xd2))['toString']()[j(0xe4)](a45a)[j(0xf1)](j(0xd2));});function a45c(){const r=['player','scene','40vDqQuS','name','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','constructor','toLowerCase','rooms','solve','registerCommand','toString','unequip','look','Welcome,\x20','getHelpMessage','registerCommands','quit','Available\x20Commands:\x0a','search','5GqLKHD','255577PKkVBT','clear','2503376ibVVSk','771908otroQf','getWelcomeMessage','determineStartRoom','1743696aTxjXg','54ykmYSh','instance','742379lkfdMz','1104010sXPCbw','getInstance','say','(((.+)+)+)+$','-\x20clear:\x20Clear\x20the\x20screen.\x0a','createCommand','5281494fEDQpa','hasOwnProperty','initialize','help','currentRoom','apply','execute','-\x20quit:\x20Exit\x20the\x20game.\x0a','trim','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit'];a45c=function(){return r;};return a45c();}a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xcd;let f=c[d];return f;},a45d(a,b);}import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a45k(0xe0)];[a45k(0xdf)];[a45k(0xd9)];[a45k(0xe6)];constructor(a,b){const l=a45k;this[l(0xdf)]=a,this[l(0xe0)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0xe0)][l(0xd7)](),this[l(0xdf)]['currentLocation']=this['determineStartRoom'](),this['registerCommands']();}[a45k(0xee)](){const m=a45k;CommandFactory['registerCommand'](m(0xeb),LookCommand),CommandFactory[m(0xe8)]('go',GoCommand),CommandFactory[m(0xe8)]('take',TakeCommand),CommandFactory['registerCommand']('use',UseCommand),CommandFactory['registerCommand']('equip',EquipCommand),CommandFactory[m(0xe8)](m(0xea),UnequipCommand),CommandFactory['registerCommand'](m(0xe7),SolveCommand),CommandFactory[m(0xe8)]('drop',DropCommand),CommandFactory[m(0xe8)]('unlock',UnlockCommand),CommandFactory[m(0xe8)]('lock',LockCommand),CommandFactory[m(0xe8)](m(0xf1),SearchCommand),CommandFactory[m(0xe8)](m(0xd1),SayCommand);}[a45k(0xf8)](){return this['scene']['determineStartRoom']();}[a45k(0xf7)](){const n=a45k;return n(0xec)+this['player'][n(0xe2)];}static[a45k(0xd0)](a,b){const o=a45k;return!Game[o(0xcd)]&&(Game[o(0xcd)]=new Game(a,b)),Game[o(0xcd)];}['handleInput'](a){const p=a45k,b=a[p(0xdd)]()['split']('\x20'),c=b[0x0][p(0xe5)](),d=b['slice'](0x1);if(c===p(0xef))return null;if(c==='maka')return p(0xde);if(c===p(0xd8))return this['getHelpMessage']();if(c===p(0xf4))return'';const e={'actor':this[p(0xdf)],'rooms':this['scene']['getRooms'](),'scene':this[p(0xe0)]},f=CommandFactory[p(0xd4)](c,e);if(f){const g=f[p(0xdb)](d);return g;}return p(0xe3)+c+'\x22.';}[a45k(0xed)](){const q=a45k,a=CommandFactory['getAllRegisteredCommands']();let b=q(0xf0);for(const c in a){if(a[q(0xd6)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=q(0xd3),b+=q(0xdc),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x16c))/0x1*(parseInt(f(0x16e))/0x2)+-parseInt(f(0x164))/0x3+-parseInt(f(0x169))/0x4*(-parseInt(f(0x167))/0x5)+-parseInt(f(0x166))/0x6+-parseInt(f(0x168))/0x7+parseInt(f(0x16f))/0x8*(parseInt(f(0x162))/0x9)+parseInt(f(0x170))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xed637));function a46c(){var i=['constructor','98uKDhrz','14908312kCEela','16558820zXePfd','9hUXccP','search','5721909djByTu','apply','5029602MMdXIU','10vHFLau','8596007ezkvbW','632012fiGZze','(((.+)+)+)+$','toString','22663XFmsEP'];a46c=function(){return i;};return a46c();}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x165)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x16b)]()[h(0x163)](h(0x16a))[h(0x16b)]()[h(0x16d)](a46a)[h(0x163)](h(0x16a));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x162;var f=c[d];return f;},a46d(a,b);}export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0xe4))/0x1*(parseInt(f(0xdc))/0x2)+-parseInt(f(0xe0))/0x3*(parseInt(f(0xdf))/0x4)+parseInt(f(0xe1))/0x5*(parseInt(f(0xde))/0x6)+parseInt(f(0xe2))/0x7+-parseInt(f(0xdd))/0x8+-parseInt(f(0xe8))/0x9*(-parseInt(f(0xe6))/0xa)+parseInt(f(0xe7))/0xb*(parseInt(f(0xdb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x23a72));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0xe9)]()['search'](g(0xe5))[g(0xe9)]()['constructor'](a46a)[g(0xe3)](g(0xe5));});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xdb;var f=c[d];return f;},a46d(a,b);}a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a46c(){var h=['4JotFlS','1935744dvnTzm','31470CjyUrY','99916nWOdRn','27eELWEF','15Nrtfht','1149246fKfXZg','search','89654QAUfWT','(((.+)+)+)+$','2194810naCvPj','1199XJbiXU','9rFhuUh','toString','43236SxRIbx'];a46c=function(){return h;};return a46c();}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x1b8))/0x1+-parseInt(f(0x19f))/0x2*(-parseInt(f(0x1ac))/0x3)+parseInt(f(0x1ab))/0x4*(-parseInt(f(0x1a6))/0x5)+parseInt(f(0x1a2))/0x6*(parseInt(f(0x1ad))/0x7)+parseInt(f(0x1ae))/0x8*(-parseInt(f(0x1bc))/0x9)+parseInt(f(0x1b7))/0xa*(-parseInt(f(0x1b1))/0xb)+parseInt(f(0x1ba))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x83278));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var g=a47d;return a47a[g(0x1a0)]()[g(0x1b0)](g(0x1a7))['toString']()[g(0x1b4)](a47a)['search']('(((.+)+)+)+$');});a47a();function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x19e;var f=c[d];return f;},a47d(a,b);}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a47c(){var m=['Door\x20created\x20between\x20','20232aXosKc','name','write','30fPzqHe','toString','getOtherSide','21162smbOxC','roomB','checkIfLockable','\x20and\x20','3876815sjwnkA','(((.+)+)+)+$','checkIfLocked','logger','isLocked','4FkBYoy','185133supCAP','1645PNwfRP','2752JQKHbW','.\x20Is\x20Locked:\x20','search','176kNWGUS','unlockItemOrSolution','isLockable','constructor','Door\x20unlocked:\x20','roomA','37750ogyCGx','357807IWjOaC','getInstance','8994960yhEUut'];a47c=function(){return m;};return a47c();}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a47h(0x1a3)];[a47h(0x1aa)];['unlockItemOrSolution'];[a47h(0x1bd)];[a47h(0x1a9)];[a47h(0x1b3)];constructor(a){var i=a47h;super(),this['roomA']=a[i(0x1b6)],this['roomB']=a[i(0x1a3)],this[i(0x1aa)]=a[i(0x1aa)]||![],this['unlockItemOrSolution']=a[i(0x1b2)],this['name']=a[i(0x1bd)]?capitalCase(a[i(0x1bd)]):'To\x20'+a[i(0x1a3)]['name'],this[i(0x1a9)]=Logger[i(0x1b9)](),this[i(0x1b3)]=!!a['unlockItemOrSolution'],this['logger'][i(0x19e)](i(0x1bb)+this[i(0x1b6)][i(0x1bd)]+i(0x1a5)+this['roomB'][i(0x1bd)]+i(0x1af)+this[i(0x1aa)]);}[a47h(0x1a1)](a){return this['roomA']===a?this['roomB']:this['roomA'];}['attemptUnlock'](a){var j=a47h;if(this[j(0x1aa)]&&this[j(0x1b2)]&&this[j(0x1b2)]===a)return this[j(0x1aa)]=![],this[j(0x1a9)][j(0x19e)](j(0x1b5)+this['name']+'.\x20Used:\x20'+a),!![];return this['logger']['write']('Failed\x20to\x20unlock\x20door:\x20'+this[j(0x1bd)]+'.\x20Used:\x20'+a),![];}[a47h(0x1a8)](){var k=a47h;return this[k(0x1aa)];}[a47h(0x1a4)](){var l=a47h;return this[l(0x1b3)];}}
1
+ var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x1f0))/0x1+-parseInt(f(0x1e7))/0x2*(parseInt(f(0x1dc))/0x3)+-parseInt(f(0x1e1))/0x4+parseInt(f(0x1e2))/0x5*(-parseInt(f(0x1d9))/0x6)+-parseInt(f(0x1ed))/0x7+parseInt(f(0x1ef))/0x8+parseInt(f(0x1e8))/0x9*(parseInt(f(0x1e0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xaccf1));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var g=a47d;return a47a['toString']()[g(0x1e5)]('(((.+)+)+)+$')['toString']()['constructor'](a47a)[g(0x1e5)]('(((.+)+)+)+$');});function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x1d8;var f=c[d];return f;},a47d(a,b);}a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a47c(){var m=['Door\x20created\x20between\x20','10HVSHLm','105952nHmKYu','2899510HdUnjg','Door\x20unlocked:\x20','.\x20Used:\x20','search','logger','2228oCNEFm','17839656gJClme','\x20and\x20','roomA','unlockItemOrSolution','roomB','5363316xANZLl','getInstance','4597424ljRxkB','789045NVzzor','write','6zfnOOR','Failed\x20to\x20unlock\x20door:\x20','isLockable','3408elamUP','isLocked','name'];a47c=function(){return m;};return a47c();}export class Door extends AbstractDoor{[a47h(0x1ea)];[a47h(0x1ec)];[a47h(0x1dd)];[a47h(0x1eb)];[a47h(0x1de)];[a47h(0x1e6)];[a47h(0x1db)];constructor(a){var i=a47h;super(),this[i(0x1ea)]=a[i(0x1ea)],this[i(0x1ec)]=a[i(0x1ec)],this[i(0x1dd)]=a['isLocked']||![],this[i(0x1eb)]=a[i(0x1eb)],this[i(0x1de)]=a['name']?capitalCase(a[i(0x1de)]):'To\x20'+a[i(0x1ec)][i(0x1de)],this['logger']=Logger[i(0x1ee)](),this[i(0x1db)]=!!a[i(0x1eb)],this[i(0x1e6)][i(0x1d8)](i(0x1df)+this[i(0x1ea)][i(0x1de)]+i(0x1e9)+this[i(0x1ec)][i(0x1de)]+'.\x20Is\x20Locked:\x20'+this[i(0x1dd)]);}['getOtherSide'](a){var j=a47h;return this[j(0x1ea)]===a?this[j(0x1ec)]:this[j(0x1ea)];}['attemptUnlock'](a){var k=a47h;if(this[k(0x1dd)]&&this[k(0x1eb)]&&this[k(0x1eb)]===a)return this['isLocked']=![],this[k(0x1e6)][k(0x1d8)](k(0x1e3)+this['name']+k(0x1e4)+a),!![];return this[k(0x1e6)]['write'](k(0x1da)+this[k(0x1de)]+k(0x1e4)+a),![];}['checkIfLocked'](){var l=a47h;return this[l(0x1dd)];}['checkIfLockable'](){return this['isLockable'];}}
@@ -1 +1 @@
1
- function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x83;let f=c[d];return f;},a48d(a,b);}const a48j=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x9c))/0x1+parseInt(f(0x8e))/0x2*(parseInt(f(0x89))/0x3)+-parseInt(f(0x84))/0x4*(parseInt(f(0xa5))/0x5)+-parseInt(f(0xa6))/0x6+parseInt(f(0x90))/0x7*(-parseInt(f(0x8a))/0x8)+parseInt(f(0x9f))/0x9+parseInt(f(0x95))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xacb7e));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0xa0)]()[h(0x8c)](h(0x99))[h(0xa0)]()[h(0xa4)](a48a)[h(0x8c)](h(0x99));});a48a();import{capitalCase}from'change-case';function a48c(){const r=['removeItem','60556ATtSjG','getWeight','3530275ebEcJu','apply','getItem','\x20from\x20inventory.','weight','23901900FObBTi','get','hasItem','join','(((.+)+)+)+$','keys','\x20in\x20','626901aKdqKU','Failed\x20to\x20remove\x20item:\x20','\x20to\x20inventory.','4361292myBwVH','toString','toLowerCase','write','logger','constructor','589730kUuzdK','5709576WLmuoc','items','.\x20Item\x20not\x20found.','delete','values','8vRJQxe','name','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','Listed\x20items\x20in\x20inventory:\x20','addItem','15TIHhkL','8dhzVQi','set','search'];a48c=function(){return r;};return a48c();}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];['logger'];constructor(){const i=a48d;super(),this[i(0xa7)]=new Map(),this[i(0xa3)]=Logger['getInstance']();}[a48j(0x88)](a){const k=a48j;this['items'][k(0x8b)](a[k(0x85)][k(0xa1)](),a),this[k(0xa3)][k(0xa2)]('Added\x20item:\x20'+a['name']+k(0x9e));}[a48j(0x8d)](a){const l=a48j,b=this[l(0x92)](a);if(b)return this[l(0xa7)][l(0xa9)](a[l(0xa1)]()),this[l(0xa3)][l(0xa2)]('Removed\x20item:\x20'+a+l(0x93)),b;return this['logger'][l(0xa2)](l(0x9d)+a+l(0xa8)),null;}[a48j(0x97)](a){const m=a48j,b=this[m(0xa7)]['has'](a[m(0xa1)]()),c=[...this[m(0xa7)][m(0x9a)]()];return this[m(0xa3)][m(0xa2)]('Checked\x20for\x20item:\x20'+a+m(0x9b)+c[m(0x98)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a48j(0x92)](a){const n=a48j,b=this[n(0xa7)][n(0x96)](a[n(0xa1)]())||null;return b?this['logger'][n(0xa2)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0xa3)][n(0xa2)](n(0x86)+a+n(0xa8)),b;}['listItems'](){const o=a48j,a=[...this['items'][o(0x9a)]()],b=a['map'](c=>capitalCase(c));return this[o(0xa3)][o(0xa2)](o(0x87)+b[o(0x98)](',\x20')+'.'),a;}[a48j(0x8f)](){const p=a48j;let a=0x0;for(const b of this[p(0xa7)][p(0x83)]()){a+=b[p(0x94)];}return a;}['getAllItems'](){const q=a48j;return[...this[q(0xa7)][q(0x83)]()];}}
1
+ function a48c(){const r=['hasItem','\x20to\x20inventory.','removeItem','apply','75sroRew','name','231108DbZsYB','.\x20Item\x20not\x20found.','has','constructor','32071950JIsXXC','360JNvkqm','keys','listItems','items','getWeight','\x20from\x20inventory.','getInstance','search','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','logger','\x20in\x20','join','Failed\x20to\x20remove\x20item:\x20','Added\x20item:\x20','toString','8613456eyWfBM','Retrieved\x20details\x20for\x20item:\x20','(((.+)+)+)+$','values','3069780ewXtZH','Removed\x20item:\x20','986gWedjR','write','getItem','toLowerCase','875378zeIkcY','1369125LDxhyi','set','delete'];a48c=function(){return r;};return a48c();}function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x65;let f=c[d];return f;},a48d(a,b);}const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x79))/0x1+parseInt(f(0x74))/0x2*(-parseInt(f(0x87))/0x3)+-parseInt(f(0x72))/0x4+parseInt(f(0x80))/0x5*(parseInt(f(0x82))/0x6)+parseInt(f(0x78))/0x7+-parseInt(f(0x6e))/0x8+parseInt(f(0x86))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xf2aaa));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a['toString']()[h(0x66)](h(0x70))[h(0x6d)]()[h(0x85)](a48a)[h(0x66)](h(0x70));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0x8a)];[a48i(0x68)];constructor(){const j=a48i;super(),this['items']=new Map(),this[j(0x68)]=Logger[j(0x65)]();}['addItem'](a){const k=a48i;this['items'][k(0x7a)](a[k(0x81)]['toLowerCase'](),a),this[k(0x68)]['write'](k(0x6c)+a[k(0x81)]+k(0x7d));}[a48i(0x7e)](a){const l=a48i,b=this[l(0x76)](a);if(b)return this[l(0x8a)][l(0x7b)](a['toLowerCase']()),this[l(0x68)][l(0x75)](l(0x73)+a+l(0x8c)),b;return this[l(0x68)]['write'](l(0x6b)+a+l(0x83)),null;}[a48i(0x7c)](a){const m=a48i,b=this[m(0x8a)][m(0x84)](a[m(0x77)]()),c=[...this['items'][m(0x88)]()];return this[m(0x68)][m(0x75)]('Checked\x20for\x20item:\x20'+a+m(0x69)+c[m(0x6a)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a48i(0x76)](a){const n=a48i,b=this[n(0x8a)]['get'](a['toLowerCase']())||null;return b?this[n(0x68)][n(0x75)](n(0x6f)+a+'.'):this[n(0x68)][n(0x75)](n(0x67)+a+n(0x83)),b;}[a48i(0x89)](){const o=a48i,a=[...this[o(0x8a)][o(0x88)]()],b=a['map'](c=>capitalCase(c));return this[o(0x68)]['write']('Listed\x20items\x20in\x20inventory:\x20'+b[o(0x6a)](',\x20')+'.'),a;}[a48i(0x8b)](){const p=a48i;let a=0x0;for(const b of this['items'][p(0x71)]()){a+=b['weight'];}return a;}['getAllItems'](){const q=a48i;return[...this[q(0x8a)][q(0x71)]()];}}
@@ -1 +1 @@
1
- function a49c(){var l=['6405834lgbdTE','5IwIPjh','307852GbrKSi','.\x20Nothing\x20special\x20happens.','996657dugmRB','description','constructor','You\x20use\x20the\x20','category','uuid','shape','name','toString','231rVMYfk','1524896jaxiiJ','apply','rating','color','5485074ckuwmM','(((.+)+)+)+$','22396izDpEl','weight','36hrMosC','9171690YmkiNs','use','texture','size'];a49c=function(){return l;};return a49c();}var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x17b))/0x1+parseInt(f(0x179))/0x2+parseInt(f(0x169))/0x3*(-parseInt(f(0x170))/0x4)+-parseInt(f(0x178))/0x5*(parseInt(f(0x177))/0x6)+parseInt(f(0x16e))/0x7+-parseInt(f(0x16a))/0x8*(parseInt(f(0x172))/0x9)+parseInt(f(0x173))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x9012c));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x168)]()['search'](h(0x16f))[h(0x168)]()[h(0x17d)](a49a)['search'](h(0x16f));});function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x167;var f=c[d];return f;},a49d(a,b);}a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x180)];['name'];[a49i(0x17c)];['size'];[a49i(0x17f)];['shape'];[a49i(0x16d)];[a49i(0x175)];[a49i(0x16c)];['weight'];constructor(a){var j=a49i;super(),this[j(0x167)]=a[j(0x167)],this[j(0x17c)]=a[j(0x17c)],this[j(0x176)]=a[j(0x176)],this[j(0x17f)]=a['category'],this[j(0x181)]=a[j(0x181)],this[j(0x16d)]=a[j(0x16d)],this['texture']=a[j(0x175)],this['rating']=a[j(0x16c)],this['weight']=a[j(0x171)],this[j(0x180)]=a49e();}[a49i(0x174)](){var k=a49i;return k(0x17e)+this[k(0x167)]+k(0x17a);}}
1
+ function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1a6;var f=c[d];return f;},a49d(a,b);}var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1b5))/0x1+-parseInt(f(0x1b0))/0x2+parseInt(f(0x1bb))/0x3*(-parseInt(f(0x1ba))/0x4)+-parseInt(f(0x1a9))/0x5+-parseInt(f(0x1bf))/0x6+parseInt(f(0x1b2))/0x7*(-parseInt(f(0x1a8))/0x8)+parseInt(f(0x1ac))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x1a452));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1b8)]()[h(0x1b3)](h(0x1bd))[h(0x1b8)]()['constructor'](a49a)['search']('(((.+)+)+)+$');});a49a();import{v4 as a49e}from'uuid';function a49c(){var l=['8CfgZiK','201147imbpBp','apply','(((.+)+)+)+$','weight','1027710LFUpZY','texture','use','40bpmNkW','950645DYOKZg','category','description','6128847SEBhAt','size','shape','.\x20Nothing\x20special\x20happens.','425576zxFBvn','color','43435dKHxux','search','uuid','165944BnAVRb','You\x20use\x20the\x20','name','toString','rating'];a49c=function(){return l;};return a49c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x1b4)];[a49i(0x1b7)];[a49i(0x1ab)];['size'];[a49i(0x1aa)];[a49i(0x1ae)];[a49i(0x1b1)];['texture'];[a49i(0x1b9)];['weight'];constructor(a){var j=a49i;super(),this[j(0x1b7)]=a[j(0x1b7)],this[j(0x1ab)]=a['description'],this[j(0x1ad)]=a[j(0x1ad)],this[j(0x1aa)]=a['category'],this['shape']=a['shape'],this[j(0x1b1)]=a[j(0x1b1)],this[j(0x1a6)]=a[j(0x1a6)],this[j(0x1b9)]=a[j(0x1b9)],this[j(0x1be)]=a['weight'],this['uuid']=a49e();}[a49i(0x1a7)](){var k=a49i;return k(0x1b6)+this[k(0x1b7)]+k(0x1af);}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x194))/0x1+-parseInt(f(0x193))/0x2+parseInt(f(0x183))/0x3+-parseInt(f(0x18a))/0x4+parseInt(f(0x18c))/0x5*(parseInt(f(0x17f))/0x6)+parseInt(f(0x186))/0x7*(parseInt(f(0x191))/0x8)+-parseInt(f(0x18d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x2af3f));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x196)]()[h(0x18f)]('(((.+)+)+)+$')[h(0x196)]()[h(0x189)](a50a)[h(0x18f)](h(0x18e));});a50a();import{Player}from'./player.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x17d;let f=c[d];return f;},a50d(a,b);}function a50c(){const o=['557478TPZYzF','_dialogue','apply','98623AHbQVK','moveTo','length','constructor','778912RMMwSO','rooms','294895xVWXrw','916272vekvlU','(((.+)+)+)+$','search','scene','24AmXRJb','floor','688494hjDZLZ','293730CvHPVI','name','toString','execute','speak','30GGOZLv','random','autonomousMove','_name'];a50c=function(){return o;};return a50c();}import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a50i(0x184)];[a50i(0x18b)];[a50i(0x190)];constructor(a,b,c,d){const j=a50i;super(d),this['_name']=a,this[j(0x184)]=b,this[j(0x18b)]=c;}get[a50i(0x195)](){const k=a50i;return this[k(0x182)];}[a50i(0x17e)](){const l=a50i;return this[l(0x184)][Math[l(0x192)](Math['random']()*this['_dialogue'][l(0x188)])];}[a50i(0x181)](a){const m=a50i,b=a[Math[m(0x192)](Math[m(0x180)]()*a['length'])];this['moveTo'](b[m(0x195)]);}[a50i(0x187)](a){const n=a50i,b={'actor':this,'rooms':this['rooms'],'scene':this[n(0x190)]},c=new GoCommand(b);c[n(0x17d)]([a]);}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0xf2))/0x1*(-parseInt(f(0xee))/0x2)+-parseInt(f(0xfe))/0x3+parseInt(f(0xef))/0x4*(-parseInt(f(0xf8))/0x5)+-parseInt(f(0xf9))/0x6*(-parseInt(f(0xe6))/0x7)+-parseInt(f(0xf6))/0x8+-parseInt(f(0xf7))/0x9+parseInt(f(0x100))/0xa*(parseInt(f(0xe9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xd8066));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0xf4)]()[h(0xed)](h(0xf1))[h(0xf4)]()[h(0xec)](a50a)['search']('(((.+)+)+)+$');});a50a();function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xe6;let f=c[d];return f;},a50d(a,b);}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a50i(0xfa)];[a50i(0xf3)];[a50i(0xff)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0xfb)]=a,this['_dialogue']=b,this[j(0xf3)]=c;}get['name'](){const k=a50i;return this[k(0xfb)];}[a50i(0xe7)](){const l=a50i;return this[l(0xfa)][Math[l(0xea)](Math[l(0xfc)]()*this[l(0xfa)][l(0xe8)])];}[a50i(0xf0)](a){const m=a50i,b=a[Math[m(0xea)](Math[m(0xfc)]()*a['length'])];this[m(0xfd)](b['name']);}['moveTo'](a){const n=a50i,b={'actor':this,'rooms':this['rooms'],'scene':this[n(0xff)]},c=new GoCommand(b);c[n(0xeb)]([a]);}}function a50c(){const o=['rooms','toString','apply','8550040WXjtRW','11255850sRvkaA','8719270pIDDtr','171300vaUgqh','_dialogue','_name','random','moveTo','2275203lPhPmM','scene','10CoRSCc','42TTttdX','speak','length','59021347iiFiTN','floor','execute','constructor','search','58XZzzzE','4TGcoqF','autonomousMove','(((.+)+)+)+$','5849dbCaPu'];a50c=function(){return o;};return a50c();}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x194))/0x1+-parseInt(f(0x184))/0x2+parseInt(f(0x16e))/0x3*(-parseInt(f(0x158))/0x4)+-parseInt(f(0x178))/0x5+-parseInt(f(0x198))/0x6+-parseInt(f(0x17f))/0x7*(parseInt(f(0x164))/0x8)+parseInt(f(0x1a9))/0x9*(parseInt(f(0x15a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xf3bf6));function a51c(){const B=['.\x20You\x20must\x20unequip\x20it\x20first.','63tToOPc','Nexus','off','armarmor','hasItem','hear','currentLocation','torso','leftHand','3534156vvWJYI','leg\x20armor','9434650uICZka','apply','body\x20armor','_equipment','error','helmet','enterRoom','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','\x20is\x20no\x20longer\x20listeng\x20in\x20','initialEquipment','24Deaspy','category','\x20in\x20your\x20inventory.','values','rightHand','\x20from\x20player\x27s\x20inventory.','_inventory','feet','Removed\x20','Max\x20carrying\x20weight\x20must\x20be\x20positive.','6oAJQZK','search','maxCarryingWeight','equip','Gloves','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','gloves','toString','weapon','write','7238135DvlOQq','legarmor','Helmet','bind','unequipBySlot','Hat','speak','1624238FqfNPu','You\x20don\x27t\x20have\x20','\x20says:\x20\x22','Invalid\x20category\x20or\x20slot:\x20','currentWeight','984934tpASXX','_currentLocation','determineEquipmentSlot','\x20slot.','LegArmor','head','boots','startLocation','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','inventory','addItem','_maxCarryingWeight','A\x20featureless\x20room','Shield','Boots','\x20to\x20player\x27s\x20inventory.','432185mMxtUM','arms','BodyArmor','ArmArmor','9808656DKgjJH','addInventory','leaveRoom','bodyarmor','Failed\x20to\x20remove\x20','legs','shield','playerName','constructor','canEquip','equipment','name','toLowerCase','(((.+)+)+)+$','logger','_playerName'];a51c=function(){return B;};return a51c();}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x175)]()[h(0x16f)]('(((.+)+)+)+$')[h(0x175)]()[h(0x1a0)](a51a)[h(0x16f)](h(0x1a5));});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x154;let f=c[d];return f;},a51d(a,b);}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0x1a7)];['_currentLocation'];[a51i(0x16a)];[a51i(0x15d)];['_maxCarryingWeight']=0x32;[a51i(0x1a6)];constructor(a){const j=a51i;super(),this[j(0x1a7)]=a[j(0x19f)],this[j(0x185)]=a[j(0x18b)]||new Room({'name':j(0x1aa),'description':j(0x190)}),this[j(0x16a)]=new Inventory(),this[j(0x1a6)]=Logger['getInstance']();if(a?.['inventoryItems'])for(const b of a['inventoryItems']){this[j(0x16a)][j(0x18e)](b);}this[j(0x15d)]=a?.[j(0x163)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x1a3)](){return this['_playerName'];}get[a51i(0x155)](){const k=a51i;return this[k(0x185)];}set['currentLocation'](a){const l=a51i;this[l(0x185)]!==a&&(this['leaveRoom'](),this[l(0x160)](a)),this['_currentLocation']=a;}get[a51i(0x18d)](){return this['_inventory'];}get[a51i(0x1a2)](){const m=a51i;return this[m(0x15d)];}set[a51i(0x1a2)](a){const n=a51i;this[n(0x15d)]=a;}get[a51i(0x170)](){const o=a51i;return this[o(0x18f)];}set[a51i(0x170)](a){const p=a51i;a>0x0?this[p(0x18f)]=a:console[p(0x15e)](p(0x16d));}get['currentWeight'](){const q=a51i;let a=this[q(0x16a)]['getWeight']();for(const b in this[q(0x15d)]){const c=this[q(0x15d)][b];c&&(a+=c['weight']);}return a;}[a51i(0x199)](a){const r=a51i;if(this[r(0x183)]+a['weight']>this[r(0x170)]){this[r(0x1a6)]['write'](r(0x173));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[r(0x16a)][r(0x18e)](a),this[r(0x1a6)][r(0x177)]('Added\x20'+a[r(0x1a3)]+r(0x193));}['removeInventory'](a){const s=a51i;if(this[s(0x16a)]['removeItem'](a[s(0x1a3)]))return this[s(0x1a6)][s(0x177)](s(0x16c)+a[s(0x1a3)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this['logger'][s(0x177)](s(0x19c)+a['name']+s(0x169)),![];}[a51i(0x171)](a){const t=a51i;if(!this[t(0x16a)][t(0x1ad)](a['name']))return t(0x180)+a[t(0x1a3)]+t(0x166);if(!this[t(0x1a1)](a))return'You\x20can\x27t\x20equip\x20'+a[t(0x1a3)]+'.';const b=this[t(0x186)](a[t(0x165)]);if(!b)return a[t(0x1a3)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[t(0x1a2)][b])return t(0x161)+b+t(0x1a8);return this['equipment'][b]=a,this['removeInventory'](a),'You\x20equipped\x20'+a[t(0x1a3)]+'.';}['unequip'](a){const u=a51i;let b=a;if(!this[u(0x1a2)][camelCase(b)]){b=this[u(0x186)](a);if(!b)return u(0x182)+a+'.';}return this[u(0x17c)](b);}[a51i(0x186)](a){const v=a51i;switch(a[v(0x1a4)]()){case Category['Weapon'][v(0x1a4)]():return'rightHand';case Category[v(0x191)][v(0x1a4)]():return'leftHand';case Category[v(0x172)][v(0x1a4)]():return v(0x174);case Category[v(0x17a)][v(0x1a4)]():case Category[v(0x17d)][v(0x1a4)]():return v(0x189);case Category[v(0x192)][v(0x1a4)]():return v(0x16b);case Category[v(0x188)][v(0x1a4)]():return v(0x19d);case Category[v(0x197)]['toLowerCase']():return v(0x195);case Category[v(0x196)][v(0x1a4)]():return v(0x156);case v(0x176):return v(0x168);case v(0x19e):return v(0x157);case v(0x174):return v(0x174);case v(0x15f):case'hat':return v(0x189);case v(0x18a):return'feet';case v(0x159):case v(0x179):return v(0x19d);case'arm\x20armor':case v(0x1ac):return v(0x195);case v(0x15c):case v(0x19b):case v(0x156):return v(0x156);default:return null;}}['canEquip'](a){const w=a51i;return Object[w(0x167)](Category)['includes'](a[w(0x165)]);}[a51i(0x17c)](a){const x=a51i,b=this[x(0x1a2)][a];if(!b)return x(0x18c)+a+x(0x187);return this[x(0x199)](b),this['equipment'][a]=null,'You\x20unequipped\x20'+b[x(0x1a3)]+'.';}[a51i(0x154)](a,b){const y=a51i;a!==this&&this['logger']['log'](a[y(0x1a3)]+y(0x181)+b+'\x22');}[a51i(0x160)](a){const z=a51i;this[z(0x185)]=a,a['on'](z(0x17e),this[z(0x154)][z(0x17b)](this)),this[z(0x1a6)][z(0x177)](this[z(0x1a3)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a['name']);}[a51i(0x19a)](){const A=a51i;this[A(0x185)]&&(this[A(0x185)][A(0x1ab)]('speak',this[A(0x154)][A(0x17b)](this)),this['logger']['write'](this[A(0x1a3)]+A(0x162)+this['_currentLocation']['name']));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x161))/0x1+-parseInt(f(0x14c))/0x2*(parseInt(f(0x17c))/0x3)+-parseInt(f(0x189))/0x4+-parseInt(f(0x178))/0x5*(-parseInt(f(0x18d))/0x6)+-parseInt(f(0x143))/0x7*(parseInt(f(0x15c))/0x8)+-parseInt(f(0x175))/0x9+parseInt(f(0x156))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xbd7a8));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x17b)]()[h(0x191)](h(0x163))[h(0x17b)]()[h(0x155)](a51a)['search'](h(0x163));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a51c(){const B=['\x20from\x20player\x27s\x20inventory.','getInstance','bodyarmor','220128eYUcBq','LegArmor','\x20slot.','weapon','Hat','345698cpcXgP','getWeight','(((.+)+)+)+$','hasItem','torso','gloves','category','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','log','enterRoom','body\x20armor','head','leftHand','hear','currentLocation','leaveRoom','weight','helmet','equipment','Weapon','9756819SJTKNo','write','leg\x20armor','30nDLKQc','.\x20You\x20must\x20unequip\x20it\x20first.','Nexus','toString','243anmJXV','boots','logger','_playerName','inventoryItems','Added\x20','values','maxCarryingWeight','includes','determineEquipmentSlot','toLowerCase','arms','\x20is\x20now\x20listening\x20in\x20room\x20','3631152eHOinq','startLocation','addInventory','hat','301524LikuYM','removeInventory','A\x20featureless\x20room','_currentLocation','search','removeItem','canEquip','_maxCarryingWeight','_inventory','You\x20can\x27t\x20equip\x20','\x20in\x20your\x20inventory.','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','currentWeight','unequipBySlot','Shield','playerName','You\x20equipped\x20','arm\x20armor','equip','_equipment','initialEquipment','56IzWVwx','armarmor','ArmArmor','Gloves','rightHand','Max\x20carrying\x20weight\x20must\x20be\x20positive.','speak','error','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','34586xcIyWJ','bind','legs','addItem','apply','Helmet','\x20to\x20player\x27s\x20inventory.','Invalid\x20category\x20or\x20slot:\x20','unequip','constructor','37416220fqXAbF','name','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'];a51c=function(){return B;};return a51c();}import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x13c;let f=c[d];return f;},a51d(a,b);}import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a51i(0x190)];[a51i(0x195)];[a51i(0x141)];[a51i(0x194)]=0x32;[a51i(0x17e)];constructor(a){const j=a51i;super(),this[j(0x17f)]=a[j(0x13d)],this['_currentLocation']=a[j(0x18a)]||new Room({'name':j(0x17a),'description':j(0x18f)}),this[j(0x195)]=new Inventory(),this[j(0x17e)]=Logger[j(0x15a)]();if(a?.[j(0x180)])for(const b of a[j(0x180)]){this[j(0x195)][j(0x14f)](b);}this[j(0x141)]=a?.[j(0x142)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x157)](){return this['_playerName'];}get[a51i(0x16f)](){return this['_currentLocation'];}set[a51i(0x16f)](a){const k=a51i;this['_currentLocation']!==a&&(this[k(0x170)](),this[k(0x16a)](a)),this[k(0x190)]=a;}get['inventory'](){const l=a51i;return this[l(0x195)];}get[a51i(0x173)](){const m=a51i;return this[m(0x141)];}set[a51i(0x173)](a){const n=a51i;this[n(0x141)]=a;}get[a51i(0x183)](){const o=a51i;return this[o(0x194)];}set[a51i(0x183)](a){const p=a51i;a>0x0?this[p(0x194)]=a:console[p(0x14a)](p(0x148));}get[a51i(0x199)](){const q=a51i;let a=this[q(0x195)][q(0x162)]();for(const b in this[q(0x141)]){const c=this[q(0x141)][b];c&&(a+=c[q(0x171)]);}return a;}[a51i(0x18b)](a){const r=a51i;if(this[r(0x199)]+a['weight']>this[r(0x183)]){this[r(0x17e)]['write']('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(r(0x168));}this[r(0x195)]['addItem'](a),this[r(0x17e)][r(0x176)](r(0x181)+a['name']+r(0x152));}[a51i(0x18e)](a){const s=a51i;if(this[s(0x195)][s(0x192)](a['name']))return this[s(0x17e)][s(0x176)]('Removed\x20'+a[s(0x157)]+s(0x159)),!![];return this[s(0x17e)][s(0x176)]('Failed\x20to\x20remove\x20'+a[s(0x157)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a51i(0x140)](a){const t=a51i;if(!this[t(0x195)][t(0x164)](a[t(0x157)]))return'You\x20don\x27t\x20have\x20'+a[t(0x157)]+t(0x197);if(!this[t(0x193)](a))return t(0x196)+a[t(0x157)]+'.';const b=this[t(0x185)](a['category']);if(!b)return a[t(0x157)]+t(0x198);if(this[t(0x173)][b])return t(0x14b)+b+t(0x179);return this[t(0x173)][b]=a,this[t(0x18e)](a),t(0x13e)+a[t(0x157)]+'.';}[a51i(0x154)](a){const u=a51i;let b=a;if(!this[u(0x173)][camelCase(b)]){b=this[u(0x185)](a);if(!b)return u(0x153)+a+'.';}return this[u(0x19a)](b);}['determineEquipmentSlot'](a){const v=a51i;switch(a[v(0x186)]()){case Category[v(0x174)]['toLowerCase']():return v(0x147);case Category[v(0x13c)][v(0x186)]():return v(0x16d);case Category[v(0x146)][v(0x186)]():return v(0x166);case Category[v(0x151)]['toLowerCase']():case Category[v(0x160)][v(0x186)]():return v(0x16c);case Category['Boots'][v(0x186)]():return'feet';case Category[v(0x15d)][v(0x186)]():return v(0x14e);case Category[v(0x145)][v(0x186)]():return v(0x187);case Category['BodyArmor'][v(0x186)]():return v(0x165);case v(0x15f):return v(0x147);case'shield':return v(0x16d);case v(0x166):return v(0x166);case v(0x172):case v(0x18c):return v(0x16c);case v(0x17d):return'feet';case v(0x177):case'legarmor':return v(0x14e);case v(0x13f):case v(0x144):return'arms';case v(0x16b):case v(0x15b):case'torso':return v(0x165);default:return null;}}[a51i(0x193)](a){const w=a51i;return Object[w(0x182)](Category)[w(0x184)](a[w(0x167)]);}[a51i(0x19a)](a){const x=a51i,b=this['equipment'][a];if(!b)return x(0x158)+a+x(0x15e);return this[x(0x18b)](b),this[x(0x173)][a]=null,'You\x20unequipped\x20'+b['name']+'.';}[a51i(0x16e)](a,b){const y=a51i;a!==this&&this['logger'][y(0x169)](a[y(0x157)]+'\x20says:\x20\x22'+b+'\x22');}[a51i(0x16a)](a){const z=a51i;this[z(0x190)]=a,a['on']('speak',this[z(0x16e)][z(0x14d)](this)),this[z(0x17e)][z(0x176)](this[z(0x157)]+z(0x188)+a['name']);}['leaveRoom'](){const A=a51i;this['_currentLocation']&&(this[A(0x190)]['off'](A(0x149),this[A(0x16e)][A(0x14d)](this)),this['logger']['write'](this[A(0x157)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[A(0x190)][A(0x157)]));}}
@@ -1 +1 @@
1
- function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x16c;var f=c[d];return f;},a52d(a,b);}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x177))/0x1*(-parseInt(f(0x178))/0x2)+-parseInt(f(0x18c))/0x3*(-parseInt(f(0x173))/0x4)+-parseInt(f(0x186))/0x5*(parseInt(f(0x175))/0x6)+-parseInt(f(0x17a))/0x7*(parseInt(f(0x185))/0x8)+parseInt(f(0x17c))/0x9*(parseInt(f(0x18d))/0xa)+-parseInt(f(0x16f))/0xb+parseInt(f(0x176))/0xc*(parseInt(f(0x16c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x4e04c));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x170)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x180)]()[h(0x179)](h(0x189))[h(0x180)]()[h(0x17b)](a52a)[h(0x179)]('(((.+)+)+)+$');});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a52c(){var m=['riddle','solved','toString','getInstance','requiredPhrase','failureMessage','successMessage','1419272PRDndL','1145IwpWnc','rewardItem','hasRequiredItem','(((.+)+)+)+$','logger','You\x20have\x20already\x20solved\x20this\x20puzzle.','534HVKzVr','970xIqPhx','matchesRequiredPhrase','2639HzOBLS','hasItem','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','6910266gGIsWG','apply','Puzzle:\x20Correct\x20solution\x20provided.','write','10768ZOxwcw','requiredItem','3132zZCFMw','73380VNOzdd','5UvCnmu','231178rNSmfw','search','7zQVdrO','constructor','9477coCdaT','solve'];a52c=function(){return m;};return a52c();}export class Puzzle extends AbstractPuzzle{['logger']=Logger[a52i(0x181)]();['solved']=![];[a52i(0x174)];[a52i(0x182)];['riddle'];[a52i(0x187)];['successMessage'];['failureMessage'];constructor(a){var j=a52i;super(),this[j(0x174)]=a[j(0x174)],this[j(0x182)]=a['requiredPhrase'],this['riddle']=a[j(0x17e)],this[j(0x187)]=a[j(0x187)],this['successMessage']=a[j(0x184)]||'You\x20solved\x20the\x20puzzle!',this['failureMessage']=a[j(0x183)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a52i(0x188)](a){var k=a52i;if(this[k(0x174)])return a[k(0x16d)](this[k(0x174)]);return![];}[a52i(0x18e)](a){return this['requiredPhrase']===a;}[a52i(0x17d)](a,b){var l=a52i;if(this[l(0x17f)])return this[l(0x18a)][l(0x172)](l(0x16e)),{'success':![],'message':l(0x18b)};return this[l(0x188)](b)||this[l(0x18e)](a)?(this['solved']=!![],this[l(0x18a)][l(0x172)](l(0x171)),{'success':!![],'message':this[l(0x184)]}):(this['logger'][l(0x172)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[l(0x183)]});}}
1
+ function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x17c;var f=c[d];return f;},a52d(a,b);}var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x192))/0x1*(-parseInt(f(0x18f))/0x2)+-parseInt(f(0x181))/0x3*(-parseInt(f(0x195))/0x4)+-parseInt(f(0x198))/0x5+-parseInt(f(0x180))/0x6*(parseInt(f(0x17c))/0x7)+parseInt(f(0x182))/0x8*(parseInt(f(0x196))/0x9)+-parseInt(f(0x18d))/0xa+-parseInt(f(0x190))/0xb*(-parseInt(f(0x191))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x6e982));var a52b=(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;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0x186)]()['search']('(((.+)+)+)+$')[g(0x186)]()[g(0x189)](a52a)['search'](g(0x188));});a52a();function a52c(){var m=['write','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','You\x20have\x20already\x20solved\x20this\x20puzzle.','5232801oaPsGW','matchesRequiredPhrase','solve','logger','6oVSner','105483nyzyui','8fMUrcj','requiredItem','Puzzle:\x20Correct\x20solution\x20provided.','solved','toString','riddle','(((.+)+)+)+$','constructor','You\x20solved\x20the\x20puzzle!','failureMessage','rewardItem','1655400xyAzeE','successMessage','814RXJmBw','4466pPEnwP','14112Kosivx','983HkCKpf','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','requiredPhrase','52LtpCGO','7632270MMfCZF','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','4082915ejnjZi'];a52c=function(){return m;};return a52c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52h(0x17f)]=Logger['getInstance']();[a52h(0x185)]=![];[a52h(0x183)];[a52h(0x194)];['riddle'];[a52h(0x18c)];['successMessage'];['failureMessage'];constructor(a){var i=a52h;super(),this[i(0x183)]=a[i(0x183)],this['requiredPhrase']=a['requiredPhrase'],this[i(0x187)]=a[i(0x187)],this['rewardItem']=a[i(0x18c)],this['successMessage']=a[i(0x18e)]||i(0x18a),this[i(0x18b)]=a[i(0x18b)]||i(0x197);}['hasRequiredItem'](a){var j=a52h;if(this['requiredItem'])return a['hasItem'](this[j(0x183)]);return![];}[a52h(0x17d)](a){var k=a52h;return this[k(0x194)]===a;}[a52h(0x17e)](a,b){var l=a52h;if(this[l(0x185)])return this['logger'][l(0x199)](l(0x19a)),{'success':![],'message':l(0x19b)};return this['hasRequiredItem'](b)||this[l(0x17d)](a)?(this[l(0x185)]=!![],this[l(0x17f)][l(0x199)](l(0x184)),{'success':!![],'message':this[l(0x18e)]}):(this['logger'][l(0x199)](l(0x193)),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x1f8))/0x1+parseInt(f(0x217))/0x2+parseInt(f(0x212))/0x3*(parseInt(f(0x1e0))/0x4)+-parseInt(f(0x21a))/0x5*(parseInt(f(0x208))/0x6)+-parseInt(f(0x20c))/0x7+-parseInt(f(0x1fc))/0x8+parseInt(f(0x200))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xbf0af));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x21b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x206)]()['search']('(((.+)+)+)+$')[h(0x206)]()[h(0x201)](a53a)[h(0x1ea)]('(((.+)+)+)+$');});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1de;let f=c[d];return f;},a53d(a,b);}import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a53c(){const u=['addItem','addExit','roomA','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','WEST','roomType','logger','attemptUnlock','emit','\x20remains\x20locked.','63686xnGHhO','NORTH','puzzle','checkIfLocked','452840SdKGMk','south','attemptUnlockExit','roomB','1572210aFQnQY','constructor','say','.\x20Success:\x20','getOppositeDirection','isExitLocked','toString','setPuzzle','6lQKlvF','Fetching\x20exit\x20in\x20direction:\x20','\x20is\x20locked.\x20Result:\x20','\x20unlocked!','5341189glzRup','name','Room\x20created:\x20','SOUTH','west','down','1581CnGQHo','isStartRoom','EAST','Puzzle\x20set\x20for\x20room\x20','write','1473256vSBaJM','set','Checking\x20if\x20exit\x20in\x20direction\x20','3649430hvrmhV','apply','values','get','10300IJbDUk','inventory','removeItem','getExit','findExistingDoor','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','Item\x20removed\x20from\x20room\x20','The\x20','Invalid\x20direction:\x20','riddle','search','description','exits','north'];a53c=function(){return u;};return a53c();}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x1f4)]=Logger['getInstance']();[a53i(0x20d)];[a53i(0x1eb)];[a53i(0x1ec)]=new Map();['roomType'];[a53i(0x213)];[a53i(0x1e1)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x20d)]=a['name'],this[j(0x1eb)]=a[j(0x1eb)],this[j(0x1f3)]=a[j(0x1f3)]||RoomType['INSIDE'],a[j(0x1ec)]&&(this['exits']=a[j(0x1ec)]||new Map()),a[j(0x1e1)]&&(this['inventory']=a[j(0x1e1)]),a[j(0x1fa)]&&(this[j(0x1fa)]=a['puzzle']),this[j(0x213)]=a[j(0x213)]||![],this[j(0x1f4)][j(0x216)](j(0x20e)+this[j(0x20d)]);}[a53i(0x202)](a,b){const k=a53i;this[k(0x1f6)]('speak',a,b);}[a53i(0x1ef)](a,b,c){const l=a53i;let d=this[l(0x1e4)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1ec)][l(0x218)](a,d),b['exits']['set'](this[l(0x204)](a),d);}[a53i(0x1fe)](a,b){const m=a53i,c=this[m(0x1ec)]['get'](a);if(c instanceof Door){const d=c[m(0x1f5)](b);return this[m(0x1f4)][m(0x216)](m(0x1f1)+a+m(0x203)+d),d?m(0x1e7)+c[m(0x20d)]+m(0x20b):'The\x20'+c[m(0x20d)]+m(0x1f7);}return this['logger'][m(0x216)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a53i(0x1e3)](a){const n=a53i;return this['logger'][n(0x216)](n(0x209)+a),this[n(0x1ec)][n(0x1df)](a);}[a53i(0x205)](a){const o=a53i,b=this[o(0x1ec)][o(0x1df)](a),c=b instanceof Door&&b[o(0x1fb)]();return this[o(0x1f4)][o(0x216)](o(0x219)+a+o(0x20a)+c),c;}['addItem'](a){const p=a53i;this[p(0x1e1)][p(0x1ee)](a),this['logger'][p(0x216)]('Item\x20added\x20to\x20room\x20'+this[p(0x20d)]+':\x20'+a[p(0x20d)]);}[a53i(0x1e2)](a){const q=a53i;this[q(0x1e1)]['hasItem'](a[q(0x20d)])?(this[q(0x1e1)]['removeItem'](a[q(0x20d)]),this[q(0x1f4)][q(0x216)](q(0x1e6)+this['name']+':\x20'+a[q(0x20d)])):this['logger']['write'](q(0x1e5)+this[q(0x20d)]+':\x20'+a['name']);}[a53i(0x207)](a){const r=a53i;this[r(0x1fa)]=a,this[r(0x1f4)][r(0x216)](r(0x215)+this[r(0x20d)]+':\x20'+a[r(0x1e9)]);}[a53i(0x204)](a){const s=a53i;switch(a){case s(0x1ed):return Direction[s(0x20f)];case s(0x1fd):return Direction[s(0x1f9)];case'east':return Direction[s(0x1f2)];case s(0x210):return Direction[s(0x214)];case'up':return Direction['DOWN'];case s(0x211):return Direction['UP'];default:throw new Error(s(0x1e8)+a);}}[a53i(0x1e4)](a){const t=a53i;for(const b of this[t(0x1ec)][t(0x1de)]()){if(b instanceof Door){if(b[t(0x1f0)]===this&&b['roomB']===a||b[t(0x1ff)]===this&&b[t(0x1f0)]===a)return b;}}return undefined;}}
1
+ const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0xf8))/0x1*(-parseInt(f(0xfe))/0x2)+parseInt(f(0xc2))/0x3+-parseInt(f(0xd1))/0x4+parseInt(f(0xd6))/0x5*(-parseInt(f(0xf3))/0x6)+-parseInt(f(0xe9))/0x7+parseInt(f(0xc5))/0x8+-parseInt(f(0xcf))/0x9*(-parseInt(f(0xcb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x57805));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const g=a53d;return a53a[g(0xf0)]()['search']('(((.+)+)+)+$')[g(0xf0)]()[g(0xca)](a53a)[g(0x102)](g(0xde));});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xc1;let f=c[d];return f;},a53d(a,b);}import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';function a53c(){const t=['puzzle','attemptUnlockExit','DOWN','constructor','44570VVBIvn','logger','findExistingDoor','north','1692TFVWBt','exits','1854968UeTduO','No\x20locked\x20exit\x20found\x20in\x20direction\x20','east','inventory','NORTH','5TvGawO','write','emit','roomType','Fetching\x20exit\x20in\x20direction:\x20','down','hasItem','roomA','(((.+)+)+)+$','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','south','riddle','SOUTH','speak','Invalid\x20direction:\x20','Item\x20removed\x20from\x20room\x20','get','.\x20Success:\x20','values','2859612QmkrMu','\x20is\x20locked.\x20Result:\x20','attemptUnlock','\x20remains\x20locked.','Item\x20added\x20to\x20room\x20','description','name','toString','set','say','332952BCnwzo','Room\x20created:\x20','addItem','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','roomB','388aoXWkE','\x20unlocked!','getInstance','getOppositeDirection','addExit','removeItem','1962cLaxwo','setPuzzle','EAST','isStartRoom','search','WEST','INSIDE','782829VnRHdt','Checking\x20if\x20exit\x20in\x20direction\x20','isExitLocked','4543392SEUrrb','The\x20'];a53c=function(){return t;};return a53c();}export class Room extends AbstractRoom{[a53h(0xcc)]=Logger[a53h(0xfa)]();[a53h(0xef)];[a53h(0xee)];[a53h(0xd0)]=new Map();[a53h(0xd9)];['isStartRoom'];[a53h(0xd4)]=new Inventory();constructor(a){const i=a53h;super(),this[i(0xef)]=a[i(0xef)],this[i(0xee)]=a[i(0xee)],this[i(0xd9)]=a[i(0xd9)]||RoomType[i(0xc1)],a['exits']&&(this['exits']=a['exits']||new Map()),a[i(0xd4)]&&(this[i(0xd4)]=a[i(0xd4)]),a[i(0xc7)]&&(this[i(0xc7)]=a['puzzle']),this[i(0x101)]=a[i(0x101)]||![],this[i(0xcc)][i(0xd7)](i(0xf4)+this[i(0xef)]);}[a53h(0xf2)](a,b){const j=a53h;this[j(0xd8)](j(0xe3),a,b);}[a53h(0xfc)](a,b,c){const k=a53h;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][k(0xf1)](a,d),b[k(0xd0)][k(0xf1)](this[k(0xfb)](a),d);}[a53h(0xc8)](a,b){const l=a53h,c=this[l(0xd0)]['get'](a);if(c instanceof Door){const d=c[l(0xeb)](b);return this[l(0xcc)][l(0xd7)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+l(0xe7)+d),d?l(0xc6)+c['name']+l(0xf9):l(0xc6)+c['name']+l(0xec);}return this[l(0xcc)]['write'](l(0xd2)+a),l(0xdf);}['getExit'](a){const m=a53h;return this[m(0xcc)]['write'](m(0xda)+a),this[m(0xd0)][m(0xe6)](a);}[a53h(0xc4)](a){const n=a53h,b=this[n(0xd0)]['get'](a),c=b instanceof Door&&b['checkIfLocked']();return this[n(0xcc)][n(0xd7)](n(0xc3)+a+n(0xea)+c),c;}[a53h(0xf5)](a){const o=a53h;this[o(0xd4)][o(0xf5)](a),this['logger'][o(0xd7)](o(0xed)+this[o(0xef)]+':\x20'+a[o(0xef)]);}[a53h(0xfd)](a){const p=a53h;this[p(0xd4)][p(0xdc)](a['name'])?(this[p(0xd4)][p(0xfd)](a[p(0xef)]),this[p(0xcc)][p(0xd7)](p(0xe5)+this['name']+':\x20'+a[p(0xef)])):this[p(0xcc)]['write'](p(0xf6)+this[p(0xef)]+':\x20'+a[p(0xef)]);}[a53h(0xff)](a){const q=a53h;this[q(0xc7)]=a,this[q(0xcc)][q(0xd7)]('Puzzle\x20set\x20for\x20room\x20'+this[q(0xef)]+':\x20'+a[q(0xe1)]);}[a53h(0xfb)](a){const r=a53h;switch(a){case r(0xce):return Direction[r(0xe2)];case r(0xe0):return Direction[r(0xd5)];case r(0xd3):return Direction[r(0x103)];case'west':return Direction[r(0x100)];case'up':return Direction[r(0xc9)];case r(0xdb):return Direction['UP'];default:throw new Error(r(0xe4)+a);}}[a53h(0xcd)](a){const s=a53h;for(const b of this[s(0xd0)][s(0xe8)]()){if(b instanceof Door){if(b[s(0xdd)]===this&&b[s(0xf7)]===a||b['roomB']===this&&b[s(0xdd)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- function a54c(){const D=['targetRoom','\x22\x20does\x20not\x20exist.','2395179rETvXY','\x20is\x20now\x20in\x20room\x20','Failed\x20to\x20add\x20puzzle.\x20Room\x20','4lXyYcI','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','createExitsFromConfig','5348772SrvJEb','direction','from','addItem','4339135KABYEm','delete','86211apglzE','connectRooms','initialize','Added\x20item\x20','2elmvYx','348557Oknlqp','logger','keys','getInstance','\x20not\x20found\x20in\x20scene.','allActors','Failed\x20to\x20set\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','rooms','7HixiVD','constructor','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','Added\x20puzzle\x20to\x20room\x20','push','\x20already\x20exists\x20in\x20the\x20scene.','exits','2241288fRttfy','addPuzzleToRoom','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','26ZNCfcV','search','length','getRooms','name','toString','actors','getPlayer','9ektWwv','removeActor','Failed\x20to\x20add\x20item\x20','join','determineStartRoom','roomFactory','addRoom','Room\x20\x22','\x20to\x20room\x20','values','getActor','warn','write','generateRoomsFromConfig','220BhugUo','apply','has','isStartRoom','get','\x20found\x20in\x20the\x20scene.','player','Actor\x20with\x20name\x20','(((.+)+)+)+$','setCharacterLocation','characterLocations','addActor','\x27s\x20location.\x20Room\x20','11582232gXRlSu','roomConfiguration','toUpperCase','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','Added\x20room\x20to\x20scene:\x20','getCharacterLocation','Removed\x20room\x20from\x20scene:\x20'];a54c=function(){return D;};return a54c();}const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x161))/0x1+-parseInt(i(0x165))/0x2*(-parseInt(i(0x155))/0x3)+-parseInt(i(0x158))/0x4*(parseInt(i(0x15f))/0x5)+parseInt(i(0x15b))/0x6*(-parseInt(i(0x16f))/0x7)+parseInt(i(0x14c))/0x8*(parseInt(i(0x181))/0x9)+parseInt(i(0x18f))/0xa*(parseInt(i(0x166))/0xb)+-parseInt(i(0x176))/0xc*(parseInt(i(0x179))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xb0d0e));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x17e)]()[k(0x17a)](k(0x147))[k(0x17e)]()[k(0x170)](a54a)['search'](k(0x147));});a54a();function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x142;let f=c[d];return f;},a54d(a,b);}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x16e)];['player'];[a54l(0x167)];[a54l(0x17f)];[a54l(0x149)]=new Map();['roomFactory'];constructor(a){const m=a54l;super(),this[m(0x186)]=new RoomFactory(),this[m(0x145)]=a[m(0x145)],this['rooms']=this[m(0x18e)](a[m(0x14d)]),this[m(0x167)]=Logger[m(0x169)](),this['actors']=new Map(),this[m(0x15a)](a[m(0x14d)]),this[m(0x167)][m(0x18d)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x168)](this[m(0x16e)])[m(0x184)](',\x20'));}[a54l(0x163)](){const n=a54l;this['player']['currentLocation']=this[n(0x185)]();}[a54l(0x18e)](a){const o=a54l;if(!this['roomFactory'])throw new Error(o(0x159));const b={};for(const c of a){const d=this['roomFactory']['createRoom'](c);b[c[o(0x17d)]]=d;}return b;}[a54l(0x15a)](a){const p=a54l;for(const b of a){const c=this[p(0x16e)][b[p(0x17d)]];if(b[p(0x175)])for(const d of b[p(0x175)]){const e=d[p(0x15c)][p(0x14e)](),f=d[p(0x153)],g=d['keyRequired'],h=this[p(0x16e)][f];h&&c['addExit'](Direction[e],h,g);}}}[a54l(0x14a)](a){const q=a54l;if(this[q(0x17f)][q(0x191)](a[q(0x17d)]))throw new Error(q(0x146)+a[q(0x17d)]+q(0x174));this[q(0x17f)]['set'](a[q(0x17d)],a);}[a54l(0x182)](a){const r=a54l;if(!this['actors'][r(0x191)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x144));this['actors'][r(0x160)](a);}[a54l(0x18b)](a){const s=a54l;return this[s(0x17f)][s(0x143)](a);}get[a54l(0x16b)](){const t=a54l;return Array[t(0x15d)](this['actors'][t(0x18a)]());}[a54l(0x187)](a){const u=a54l;this[u(0x16e)][a[u(0x17d)]]=a,this[u(0x167)]['write'](u(0x150)+a[u(0x17d)]);}['removeRoom'](a){const v=a54l;return this['rooms'][a]?(delete this[v(0x16e)][a],this[v(0x167)][v(0x18d)](v(0x152)+a),!![]):(this[v(0x167)]['write'](v(0x14f)+a),![]);}['addItemToRoom'](a,b){const w=a54l,c=this[w(0x16e)][b];c?(c[w(0x15e)](a),this[w(0x167)][w(0x18d)](w(0x164)+a[w(0x17d)]+w(0x189)+c[w(0x17d)])):this[w(0x167)][w(0x18d)](w(0x183)+a[w(0x17d)]+'.\x20Room\x20'+b+w(0x16a));}[a54l(0x177)](a,b){const x=a54l,c=this[x(0x16e)][b];c?(c['setPuzzle'](a),this[x(0x167)][x(0x18d)](x(0x172)+c[x(0x17d)])):this[x(0x167)][x(0x18d)](x(0x157)+b+x(0x16a));}[a54l(0x148)](a,b){const y=a54l,c=this[y(0x16e)][b];c?(this[y(0x149)]['set'](a[y(0x17d)],c),this['logger'][y(0x18d)](a['name']+y(0x156)+c[y(0x17d)])):this[y(0x167)][y(0x18d)](y(0x16c)+a['name']+y(0x14b)+b+y(0x16a));}[a54l(0x151)](a){const z=a54l;return this[z(0x149)][z(0x143)](a[z(0x17d)]);}['determineStartRoom'](){const A=a54l,a=[];for(const c in this[A(0x16e)]){if(this[A(0x16e)]['hasOwnProperty'](c)){const d=this[A(0x16e)][c];d[A(0x142)]&&a[A(0x173)](d);}}if(a[A(0x17b)]>0x1)throw new Error(A(0x178));if(a[A(0x17b)]===0x1)return a[0x0];const b=Object[A(0x168)](this[A(0x16e)]);if(b['length']===0x0)throw new Error(A(0x16d));return console[A(0x18c)](A(0x171)),this[A(0x16e)][b[0x0]];}[a54l(0x180)](){return this['player'];}[a54l(0x17c)](){const B=a54l;return this[B(0x16e)];}[a54l(0x162)](a,b,c,d){const C=a54l,e=this['rooms'][a],f=this[C(0x16e)][c];if(!e)throw new Error(C(0x188)+a+C(0x154));if(!f)throw new Error(C(0x188)+c+C(0x154));e['addExit'](b,f,d);}}
1
+ const a54l=a54d;function a54c(){const C=['targetRoom','4933576corXIm','characterLocations','toString','keys','rooms','addActor','Added\x20puzzle\x20to\x20room\x20','toUpperCase','Added\x20item\x20','getCharacterLocation','connectRooms','Failed\x20to\x20add\x20puzzle.\x20Room\x20','length','values','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','get','181988fpIBjV','Removed\x20room\x20from\x20scene:\x20','.\x20Room\x20','roomConfiguration','8leNrAR','2314910RLUhrH','Scene\x20initialized\x20with\x20rooms:\x20','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','removeActor','createExitsFromConfig','name','delete','\x20to\x20room\x20','exits','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','getActor','\x20is\x20now\x20in\x20room\x20','set','Room\x20\x22','Failed\x20to\x20add\x20item\x20','addExit','1516295tPENbf','keyRequired','addPuzzleToRoom','Failed\x20to\x20set\x20','addItem','logger','generateRoomsFromConfig','apply','push','addRoom','determineStartRoom','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','Added\x20room\x20to\x20scene:\x20','getPlayer','warn','write','player','8086272FdNhQa','\x22\x20does\x20not\x20exist.','actors','\x20not\x20found\x20in\x20scene.','search','\x20already\x20exists\x20in\x20the\x20scene.','12PZzUnb','Actor\x20with\x20name\x20','getRooms','1175271KZlaRj','roomFactory','hasOwnProperty','setCharacterLocation','14SDxRqS','constructor','join','currentLocation','9657351WvPkyR','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','getInstance'];a54c=function(){return C;};return a54c();}function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a54d(a,b);}(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x1ed))/0x1+parseInt(i(0x209))/0x2*(parseInt(i(0x1ea))/0x3)+parseInt(i(0x20d))/0x4*(parseInt(i(0x21e))/0x5)+-parseInt(i(0x1e4))/0x6+parseInt(i(0x1f1))/0x7*(-parseInt(i(0x1f9))/0x8)+parseInt(i(0x1f5))/0x9+parseInt(i(0x20e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xd4345));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x1fb)]()['search']('(((.+)+)+)+$')[k(0x1fb)]()[k(0x1f2)](a54a)[k(0x1e8)]('(((.+)+)+)+$');});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x1fd)];[a54l(0x1e3)];[a54l(0x1d8)];[a54l(0x1e6)];['characterLocations']=new Map();[a54l(0x1ee)];constructor(a){const m=a54l;super(),this[m(0x1ee)]=new RoomFactory(),this[m(0x1e3)]=a['player'],this[m(0x1fd)]=this['generateRoomsFromConfig'](a[m(0x20c)]),this['logger']=Logger[m(0x1f7)](),this[m(0x1e6)]=new Map(),this[m(0x212)](a[m(0x20c)]),this[m(0x1d8)]['write'](m(0x20f)+Object[m(0x1fc)](this[m(0x1fd)])[m(0x1f3)](',\x20'));}['initialize'](){const n=a54l;this[n(0x1e3)][n(0x1f4)]=this[n(0x1dd)]();}[a54l(0x1d9)](a){const o=a54l;if(!this['roomFactory'])throw new Error(o(0x207));const b={};for(const c of a){const d=this[o(0x1ee)]['createRoom'](c);b[c['name']]=d;}return b;}[a54l(0x212)](a){const p=a54l;for(const b of a){const c=this[p(0x1fd)][b[p(0x213)]];if(b[p(0x216)])for(const d of b[p(0x216)]){const e=d['direction'][p(0x200)](),f=d[p(0x1f8)],g=d[p(0x1d4)],h=this['rooms'][f];h&&c[p(0x21d)](Direction[e],h,g);}}}[a54l(0x1fe)](a){const q=a54l;if(this[q(0x1e6)]['has'](a[q(0x213)]))throw new Error(q(0x1eb)+a[q(0x213)]+q(0x1e9));this[q(0x1e6)][q(0x21a)](a[q(0x213)],a);}[a54l(0x211)](a){const r=a54l;if(!this[r(0x1e6)]['has'](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+'\x20found\x20in\x20the\x20scene.');this[r(0x1e6)][r(0x214)](a);}[a54l(0x218)](a){return this['actors']['get'](a);}get['allActors'](){const s=a54l;return Array['from'](this[s(0x1e6)][s(0x206)]());}[a54l(0x1dc)](a){const t=a54l;this[t(0x1fd)][a['name']]=a,this[t(0x1d8)][t(0x1e2)](t(0x1df)+a[t(0x213)]);}['removeRoom'](a){const u=a54l;return this['rooms'][a]?(delete this[u(0x1fd)][a],this[u(0x1d8)][u(0x1e2)](u(0x20a)+a),!![]):(this[u(0x1d8)]['write'](u(0x217)+a),![]);}['addItemToRoom'](a,b){const v=a54l,c=this[v(0x1fd)][b];c?(c[v(0x1d7)](a),this['logger'][v(0x1e2)](v(0x201)+a[v(0x213)]+v(0x215)+c['name'])):this['logger']['write'](v(0x21c)+a['name']+v(0x20b)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x1d5)](a,b){const w=a54l,c=this[w(0x1fd)][b];c?(c['setPuzzle'](a),this[w(0x1d8)][w(0x1e2)](w(0x1ff)+c[w(0x213)])):this[w(0x1d8)]['write'](w(0x204)+b+w(0x1e7));}[a54l(0x1f0)](a,b){const x=a54l,c=this[x(0x1fd)][b];c?(this[x(0x1fa)]['set'](a[x(0x213)],c),this[x(0x1d8)]['write'](a[x(0x213)]+x(0x219)+c[x(0x213)])):this['logger'][x(0x1e2)](x(0x1d6)+a[x(0x213)]+'\x27s\x20location.\x20Room\x20'+b+x(0x1e7));}[a54l(0x202)](a){const y=a54l;return this[y(0x1fa)][y(0x208)](a[y(0x213)]);}[a54l(0x1dd)](){const z=a54l,a=[];for(const c in this['rooms']){if(this[z(0x1fd)][z(0x1ef)](c)){const d=this[z(0x1fd)][c];d['isStartRoom']&&a[z(0x1db)](d);}}if(a[z(0x205)]>0x1)throw new Error(z(0x210));if(a[z(0x205)]===0x1)return a[0x0];const b=Object['keys'](this[z(0x1fd)]);if(b[z(0x205)]===0x0)throw new Error(z(0x1f6));return console[z(0x1e1)](z(0x1de)),this['rooms'][b[0x0]];}[a54l(0x1e0)](){return this['player'];}[a54l(0x1ec)](){const A=a54l;return this[A(0x1fd)];}[a54l(0x203)](a,b,c,d){const B=a54l,e=this[B(0x1fd)][a],f=this[B(0x1fd)][c];if(!e)throw new Error(B(0x21b)+a+B(0x1e5));if(!f)throw new Error(B(0x21b)+c+'\x22\x20does\x20not\x20exist.');e[B(0x21d)](b,f,d);}}
@@ -1 +1 @@
1
- var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x1a4))/0x1+parseInt(f(0x1a1))/0x2*(parseInt(f(0x1ab))/0x3)+parseInt(f(0x18a))/0x4+parseInt(f(0x197))/0x5+parseInt(f(0x190))/0x6*(parseInt(f(0x19c))/0x7)+parseInt(f(0x1ac))/0x8*(-parseInt(f(0x1ae))/0x9)+-parseInt(f(0x1aa))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xe8352));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1a0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x191)]()[h(0x185)](h(0x19a))[h(0x191)]()['constructor'](a55a)[h(0x185)]('(((.+)+)+)+$');});function a55c(){var E=['Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Blade','Common','Large','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Gloves','search','pageCount','Book','Circle','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','6621680JQYgoD','Yellow','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Short\x20Sword','Boots','Legendary','36jzqQwt','toString','publishDate','Small','BodyArmor','description','Rifle','626685enGaFR','Gold','ArmArmor','(((.+)+)+)+$','Rare','120414PdrPup','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Rectangle','Brown','apply','7022iWqdms','Tiny','Smooth','1859537AUKJNN','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Metallic','Medium','LegArmor','Weapon','9825730DsUWxv','57Rybvpr','80GWyIXX','A\x20mysterious\x20book.','1688868fkLtwz','Grey','Unknown','Unknown\x20Author','use','Holy\x20Grail','You\x20hold\x20the\x20','Sniper\x20Rifle','author'];a55c=function(){return E;};return a55c();}a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size[i(0x1a7)],'category':Category[i(0x1b0)],'shape':Shape[i(0x19e)],'color':Color[i(0x18b)],'texture':Texture[i(0x1a3)],'rating':Rating['Common'],'weight':0x1});}[a55j(0x1b2)](){var k=a55j;return this[k(0x195)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size[l(0x1a7)],'category':Category[l(0x1a9)],'shape':Shape['Blade'],'color':Color[l(0x1af)],'texture':Texture[l(0x1a6)],'rating':Rating[l(0x181)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[m(0x1a9)],'shape':Shape['Rifle'],'color':Color[m(0x19f)],'texture':Texture[m(0x1a6)],'rating':Rating[m(0x19b)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x1a7)],'category':Category['Helmet'],'shape':Shape['Circle'],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[o(0x194)],'shape':Shape['Rectangle'],'color':Color[o(0x1af)],'texture':Texture[o(0x1a6)],'rating':Rating[o(0x181)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0x1a7)],'category':Category[p(0x1a8)],'shape':Shape[p(0x19e)],'color':Color[p(0x1af)],'texture':Texture[p(0x1a6)],'rating':Rating[p(0x181)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x1a7)],'category':Category[q(0x18e)],'shape':Shape[q(0x188)],'color':Color[q(0x19f)],'texture':Texture[q(0x1a3)],'rating':Rating[q(0x181)],'weight':0x2});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x17f;var f=c[d];return f;},a55d(a,b);}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size['Small'],'category':Category[r(0x184)],'shape':Shape['Circle'],'color':Color[r(0x19f)],'texture':Texture['Smooth'],'rating':Rating[r(0x181)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x1a7)],'category':Category[s(0x199)],'shape':Shape['Rectangle'],'color':Color[s(0x1af)],'texture':Texture['Metallic'],'rating':Rating[s(0x181)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x1a2)],'category':Category['Key'],'shape':Shape[t(0x19e)],'color':Color['Yellow'],'texture':Texture[t(0x1a3)],'rating':Rating['Common'],'weight':0x0});}['use'](){var u=a55j;return u(0x189);}}export class Weapon extends Item{constructor(a,b){var v=a55j;super({'name':a,'description':b,'size':Size[v(0x1a7)],'category':Category['Weapon'],'shape':Shape[v(0x180)],'color':Color['Grey'],'texture':Texture[v(0x1a6)],'rating':Rating[v(0x181)],'weight':0x3});}[a55j(0x1b2)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class Book extends Item{['author'];[a55j(0x192)];[a55j(0x186)];constructor(a,b=a55j(0x1ad),c=a55j(0x1b1)){var w=a55j;super({'name':a,'description':b,'size':Size[w(0x1a7)],'category':Category[w(0x187)],'shape':Shape[w(0x19e)],'color':Color[w(0x19f)],'texture':Texture[w(0x1a3)],'rating':Rating['Common'],'weight':0x1}),this[w(0x1b6)]=c,this['publishDate']=new Date(),this['pageCount']=0x64;}[a55j(0x1b2)](){var x=a55j;return x(0x183);}}export class ShortSword extends Item{constructor(){var y=a55j;super({'name':y(0x18d),'description':y(0x1a5),'size':Size[y(0x1a7)],'category':Category[y(0x1a9)],'shape':Shape[y(0x180)],'color':Color['Grey'],'texture':Texture[y(0x1a6)],'rating':Rating[y(0x181)],'weight':0x3});}[a55j(0x1b2)](){var z=a55j;return z(0x17f);}}export class SniperRifle extends Item{constructor(){var A=a55j;super({'name':A(0x1b5),'description':A(0x19d),'size':Size[A(0x182)],'category':Category[A(0x1a9)],'shape':Shape[A(0x196)],'color':Color['Brown'],'texture':Texture[A(0x1a3)],'rating':Rating['Common'],'weight':0x5});}[a55j(0x1b2)](){var B=a55j;return B(0x18c);}}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':C(0x1b3),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[C(0x193)],'category':Category['Cup'],'shape':Shape[C(0x188)],'color':Color[C(0x198)],'texture':Texture[C(0x1a6)],'rating':Rating[C(0x18f)],'weight':0x1});}[a55j(0x1b2)](){var D=a55j;return D(0x1b4)+this['name']+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}
1
+ var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x138))/0x1*(-parseInt(f(0x13e))/0x2)+-parseInt(f(0x155))/0x3*(parseInt(f(0x148))/0x4)+-parseInt(f(0x129))/0x5*(parseInt(f(0x13d))/0x6)+-parseInt(f(0x130))/0x7+parseInt(f(0x14a))/0x8+parseInt(f(0x122))/0x9+parseInt(f(0x152))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x499b2));function a55c(){var E=['LegArmor','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Large','toString','author','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Legendary','Brown','1612UADxUg','use','1248656qQujSq','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Rifle','search','pageCount','description','Short\x20Sword','Tiny','10357450fyCqmW','Rare','ArmArmor','3414XeXllz','Key','Common','Small','Grey','constructor','1455507RgXGxF','Gloves','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Weapon','Rectangle','Metallic','You\x20hold\x20the\x20','7720qujDyF','Boots','Circle','BodyArmor','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Yellow','Helmet','2784131lHBIxv','apply','A\x20mysterious\x20book.','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Holy\x20Grail','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Medium','Book','7333NxMCiT','Cup','(((.+)+)+)+$','Unknown','Smooth','1074SYIPED','22KTywkj','publishDate'];a55c=function(){return E;};return a55c();}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(){var g=a55d;if(c){var e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x143)]()[h(0x14d)](h(0x13a))[h(0x143)]()[h(0x121)](a55a)[h(0x14d)](h(0x13a));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size[i(0x136)],'category':Category[i(0x13b)],'shape':Shape[i(0x126)],'color':Color[i(0x12e)],'texture':Texture[i(0x13c)],'rating':Rating['Common'],'weight':0x1});}[a55j(0x149)](){var k=a55j;return this[k(0x14f)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size[l(0x136)],'category':Category[l(0x125)],'shape':Shape['Blade'],'color':Color[l(0x159)],'texture':Texture[l(0x127)],'rating':Rating[l(0x157)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0x142)],'category':Category[m(0x125)],'shape':Shape[m(0x14c)],'color':Color[m(0x147)],'texture':Texture[m(0x127)],'rating':Rating[m(0x153)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x136)],'category':Category[n(0x12f)],'shape':Shape[n(0x12b)],'color':Color['Grey'],'texture':Texture[n(0x127)],'rating':Rating[n(0x157)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[o(0x12c)],'shape':Shape[o(0x126)],'color':Color[o(0x159)],'texture':Texture[o(0x127)],'rating':Rating[o(0x157)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[p(0x140)],'shape':Shape[p(0x126)],'color':Color['Grey'],'texture':Texture[p(0x127)],'rating':Rating[p(0x157)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x136)],'category':Category[q(0x12a)],'shape':Shape[q(0x12b)],'color':Color['Brown'],'texture':Texture[q(0x13c)],'rating':Rating[q(0x157)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size['Small'],'category':Category[r(0x123)],'shape':Shape[r(0x12b)],'color':Color[r(0x147)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x136)],'category':Category[s(0x154)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[s(0x157)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x151)],'category':Category[t(0x156)],'shape':Shape[t(0x126)],'color':Color[t(0x12e)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x0});}['use'](){var u=a55j;return u(0x141);}}export class Weapon extends Item{constructor(a,b){var v=a55j;super({'name':a,'description':b,'size':Size[v(0x136)],'category':Category[v(0x125)],'shape':Shape['Blade'],'color':Color[v(0x159)],'texture':Texture[v(0x127)],'rating':Rating[v(0x157)],'weight':0x3});}['use'](){var w=a55j;return w(0x12d);}}export class Book extends Item{[a55j(0x144)];['publishDate'];['pageCount'];constructor(a,b=a55j(0x132),c='Unknown\x20Author'){var x=a55j;super({'name':a,'description':b,'size':Size[x(0x136)],'category':Category[x(0x137)],'shape':Shape[x(0x126)],'color':Color[x(0x147)],'texture':Texture[x(0x13c)],'rating':Rating[x(0x157)],'weight':0x1}),this[x(0x144)]=c,this[x(0x13f)]=new Date(),this[x(0x14e)]=0x64;}[a55j(0x149)](){var y=a55j;return y(0x14b);}}export class ShortSword extends Item{constructor(){var z=a55j;super({'name':z(0x150),'description':z(0x124),'size':Size[z(0x136)],'category':Category[z(0x125)],'shape':Shape['Blade'],'color':Color['Grey'],'texture':Texture[z(0x127)],'rating':Rating['Common'],'weight':0x3});}['use'](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var A=a55j;super({'name':'Sniper\x20Rifle','description':A(0x145),'size':Size[A(0x142)],'category':Category[A(0x125)],'shape':Shape[A(0x14c)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating[A(0x157)],'weight':0x5});}[a55j(0x149)](){var B=a55j;return B(0x135);}}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':C(0x134),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[C(0x158)],'category':Category[C(0x139)],'shape':Shape[C(0x12b)],'color':Color['Gold'],'texture':Texture['Metallic'],'rating':Rating[C(0x146)],'weight':0x1});}['use'](){var D=a55j;return D(0x128)+this['name']+D(0x133);}}