@maka/maka-cli 4.9.14 → 4.10.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 (165) 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/esri/_index.js +1 -1
  112. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  113. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/kit.js +1 -1
  115. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  117. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  118. package/bundle/obf/src/generators/layout.js +1 -1
  119. package/bundle/obf/src/generators/maka.gen.js +1 -1
  120. package/bundle/obf/src/generators/methods.js +1 -1
  121. package/bundle/obf/src/generators/package.js +1 -1
  122. package/bundle/obf/src/generators/page.js +1 -1
  123. package/bundle/obf/src/generators/publish.js +1 -1
  124. package/bundle/obf/src/generators/route.js +1 -1
  125. package/bundle/obf/src/generators/service.js +1 -1
  126. package/bundle/obf/src/generators/services/_index.js +1 -1
  127. package/bundle/obf/src/generators/services/openssl.js +1 -1
  128. package/bundle/obf/src/generators/services/translation.js +1 -1
  129. package/bundle/obf/src/maka.js +1 -1
  130. package/bundle/obf/src/templates/meteor/api/api.js +7 -2
  131. package/bundle/obf/src/templates/meteor/api/api.js.ts +7 -2
  132. package/bundle/obf/src/templates/meteor/api/methods.js +5 -6
  133. package/bundle/obf/src/templates/meteor/api/methods.js.ts +5 -5
  134. package/bundle/obf/src/templates/meteor/api/register-api.js +2 -2
  135. package/bundle/obf/src/templates/meteor/api/register-api.js.ts +2 -2
  136. package/bundle/obf/src/templates/meteor/api/tests.js +0 -1
  137. package/bundle/obf/src/templates/meteor/api/tests.js.ts +0 -1
  138. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +2 -7
  139. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +2 -7
  140. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +4 -5
  141. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +4 -5
  142. package/bundle/obf/src/templates/react/component/component.js.jsx +2 -14
  143. package/bundle/obf/src/templates/react/component/component.js.tsx +2 -13
  144. package/bundle/obf/src/templates/react/hook/hook.js.jsx +2 -9
  145. package/bundle/obf/src/templates/react/hook/hook.js.tsx +2 -10
  146. package/bundle/obf/src/tool.js +1 -1
  147. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  148. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  149. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  151. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  153. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  154. package/bundle/obf/src/tools/https/https.class.js +1 -1
  155. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  156. package/bundle/obf/src/tools/log/log.class.js +1 -1
  157. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  158. package/bundle/obf/src/tools/options/options.class.js +1 -1
  159. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  160. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  161. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  163. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  164. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  165. package/package.json +1 -1
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0xf7))/0x1*(parseInt(f(0xe5))/0x2)+parseInt(f(0xe3))/0x3*(-parseInt(f(0xdc))/0x4)+-parseInt(f(0xf1))/0x5*(-parseInt(f(0xe2))/0x6)+parseInt(f(0xe0))/0x7+parseInt(f(0xef))/0x8*(parseInt(f(0xe1))/0x9)+parseInt(f(0xf5))/0xa+parseInt(f(0xf3))/0xb*(-parseInt(f(0xec))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x9d883));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xda;let f=c[d];return f;},a37d(a,b);}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xeb)]()[h(0xf4)]('(((.+)+)+)+$')['toString']()['constructor'](a37a)['search'](h(0xde));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0xee)]='search';static [a37i(0xf0)]=a37i(0xe7);[a37i(0xe6)](){const j=a37i,a=this['actor']['currentLocation']['inventory']['listItems']();if(a[j(0xdd)]===0x0)return this[j(0xf6)][j(0xe4)]('SearchCommand:\x20'+this[j(0xe8)]['name']+j(0xed)),j(0xea);const b=a['join'](',\x20');return this[j(0xf6)][j(0xe4)](j(0xdf)+this[j(0xe8)][j(0xf2)]+j(0xe9)+b),j(0xdb)+b;}}function a37c(){const k=['execute','Search\x20for\x20items\x20in\x20your\x20area','actor','\x20found\x20the\x20following\x20items:\x20','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','toString','636SQLNXL','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','verb','3032kFuOKB','description','15935xMiAmX','name','83017gOBpwd','search','4695050sAMuEd','logger','145556bCKbpb','apply','You\x20search\x20the\x20area\x20and\x20find:\x20','222644DHJPTw','length','(((.+)+)+)+$','SearchCommand:\x20','4409132iZSJdC','14121SESoKq','1632Ehmdfz','66UQgZfc','write','4SXwnnF'];a37c=function(){return k;};return a37c();}
1
+ const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x86))/0x1*(-parseInt(f(0xa1))/0x2)+parseInt(f(0x9a))/0x3*(-parseInt(f(0x99))/0x4)+-parseInt(f(0x85))/0x5*(parseInt(f(0xa0))/0x6)+-parseInt(f(0x9e))/0x7*(parseInt(f(0x9f))/0x8)+-parseInt(f(0x8b))/0x9*(parseInt(f(0x83))/0xa)+-parseInt(f(0x9c))/0xb*(parseInt(f(0x93))/0xc)+parseInt(f(0x87))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x3f01f));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const g=a37d;return a37a[g(0x82)]()[g(0x89)](g(0x96))[g(0x82)]()[g(0x90)](a37a)[g(0x89)]('(((.+)+)+)+$');});function a37c(){const j=['verb','SearchCommand:\x20','1360iLQDLg','366KMyIaY','execute','165UBgOtw','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','1336804fbBiZf','16YPustU','532626mPEvsB','304bkHSGT','toString','10AhTuEn','description','5GCJxTe','268qCUXKf','13790517fdFHCd','Search\x20for\x20items\x20in\x20your\x20area','search','join','2427399KGBcVa','logger','name','actor','listItems','constructor','\x20found\x20the\x20following\x20items:\x20','write','49248JvSFsS','currentLocation','inventory','(((.+)+)+)+$'];a37c=function(){return j;};return a37c();}a37a();function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x82;let f=c[d];return f;},a37d(a,b);}import{Command}from'./command.js';export class SearchCommand extends Command{static [a37h(0x97)]=a37h(0x89);static [a37h(0x84)]=a37h(0x88);[a37h(0x9b)](){const i=a37h,a=this[i(0x8e)][i(0x94)][i(0x95)][i(0x8f)]();if(a['length']===0x0)return this['logger']['write'](i(0x98)+this[i(0x8e)][i(0x8d)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),i(0x9d);const b=a[i(0x8a)](',\x20');return this[i(0x8c)][i(0x92)](i(0x98)+this[i(0x8e)]['name']+i(0x91)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1cc))/0x1*(parseInt(f(0x1be))/0x2)+-parseInt(f(0x1d0))/0x3*(-parseInt(f(0x1b9))/0x4)+parseInt(f(0x1bd))/0x5*(-parseInt(f(0x1bc))/0x6)+parseInt(f(0x1c7))/0x7+parseInt(f(0x1b7))/0x8+parseInt(f(0x1c4))/0x9+parseInt(f(0x1c1))/0xa*(-parseInt(f(0x1c5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x4997e));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1c2)]()[h(0x1cb)](h(0x1cd))[h(0x1c2)]()['constructor'](a38a)[h(0x1cb)](h(0x1cd));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a38d(a,b);}a38a();function a38c(){const k=['logger','1225752ttMWNp','puzzle','23324VwiWGA','write','rewardItem','491118TVWVal','25pbYsak','17680BHkroe','join','Attempt\x20to\x20solve\x20a\x20puzzle.','30LzUYOI','toString','execute','4231143jknojj','1596694XozANP','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','3491110PDEXxy','description','actor','message','search','23jNOqkA','(((.+)+)+)+$','verb','inventory','117PKLstY','apply','toLowerCase'];a38c=function(){return k;};return a38c();}import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x1ce)]='solve';static [a38i(0x1c8)]=a38i(0x1c0);[a38i(0x1c3)](a){const j=a38i,b=a[j(0x1bf)]('\x20')[j(0x1d2)](),c=this[j(0x1c9)]['currentLocation'];if(!c||!c[j(0x1b8)])return this[j(0x1d3)][j(0x1ba)](j(0x1c6)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[j(0x1b8)]['solve'](b,this[j(0x1c9)]['inventory']);return d['success']&&c[j(0x1b8)][j(0x1bb)]&&this[j(0x1c9)][j(0x1cf)]['addItem'](c[j(0x1b8)][j(0x1bb)]),this['logger']['write']('SolveCommand:\x20'+d[j(0x1ca)]),d[j(0x1ca)];}}
1
+ function a38c(){const j=['rewardItem','constructor','1159116kIImLw','toLowerCase','Attempt\x20to\x20solve\x20a\x20puzzle.','243246DBnhEG','320295NXKdAB','solve','currentLocation','message','success','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','write','643032TGxIdJ','execute','4CnqVjU','verb','logger','toString','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','join','addItem','search','218779XinLlL','description','400236QVIRkd','puzzle','1863ELRSdI','actor','16264UKmmcG','(((.+)+)+)+$'];a38c=function(){return j;};return a38c();}const a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1fe))/0x1+parseInt(f(0x200))/0x2+parseInt(f(0x20b))/0x3*(-parseInt(f(0x1f6))/0x4)+parseInt(f(0x20c))/0x5+-parseInt(f(0x1f4))/0x6+-parseInt(f(0x208))/0x7+parseInt(f(0x204))/0x8*(parseInt(f(0x202))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x1b703));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0x1f9)]()[g(0x1fd)]('(((.+)+)+)+$')[g(0x1f9)]()[g(0x207)](a38a)[g(0x1fd)](g(0x205));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1f2;let f=c[d];return f;},a38d(a,b);}a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38h(0x1f7)]=a38h(0x20d);static [a38h(0x1ff)]=a38h(0x20a);[a38h(0x1f5)](a){const i=a38h,b=a[i(0x1fb)]('\x20')[i(0x209)](),c=this['actor'][i(0x20e)];if(!c||!c['puzzle'])return this[i(0x1f8)][i(0x1f3)](i(0x1f2)),i(0x1fa);const d=c[i(0x201)]['solve'](b,this[i(0x203)]['inventory']);return d[i(0x210)]&&c['puzzle'][i(0x206)]&&this[i(0x203)]['inventory'][i(0x1fc)](c['puzzle']['rewardItem']),this[i(0x1f8)][i(0x1f3)]('SolveCommand:\x20'+d[i(0x20f)]),d['message'];}}
@@ -1 +1 @@
1
- const a39i=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x196;let f=c[d];return f;},a39d(a,b);}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x19b))/0x1+parseInt(f(0x1ab))/0x2*(-parseInt(f(0x1a2))/0x3)+-parseInt(f(0x1b8))/0x4*(parseInt(f(0x1a0))/0x5)+-parseInt(f(0x197))/0x6*(parseInt(f(0x1a5))/0x7)+parseInt(f(0x1ad))/0x8+parseInt(f(0x198))/0x9+parseInt(f(0x1b0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x1d532));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x1ae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x1ac)]()[h(0x1b3)](h(0x19f))[h(0x1ac)]()[h(0x196)](a39a)[h(0x1b3)](h(0x19f));});a39a();import{Command}from'./command.js';function a39c(){const l=['Item\x20\x22','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','search','take','\x22\x20in\x20this\x20room.','description','logger','16kbdRCS','Successfully\x20removed\x20\x22','Error\x20during\x20\x27Take\x27\x20command:\x20','constructor','12cDMmSU','1146915pXGYEQ','write','name','189308CJFlrO','\x22\x20not\x20retrieved\x20from\x20','There\x20is\x20no\x20item\x20\x22','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','(((.+)+)+)+$','187680JQSwLq','toLowerCase','174435QJzEyX','addInventory','Successfully\x20added\x20\x22','687547ywBJgb','verb','inventory','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','message','hasItem','2ULknEi','toString','1467592yJbhqT','apply','actor','246530MTIXLs'];a39c=function(){return l;};return a39c();}export class TakeCommand extends Command{static [a39i(0x1a6)]='take';static [a39i(0x1b6)]='Pick\x20up\x20an\x20item.';['execute'](a){const j=a39i;return this[j(0x1b7)][j(0x199)](j(0x1a8)+a['join']('\x20')),this[j(0x1b4)](a);}['take'](a){const k=a39i,b=a['join']('\x20')[k(0x1a1)](),c=this[k(0x1af)]['currentLocation'];if(!c[k(0x1a7)][k(0x1aa)](b))return this[k(0x1b7)][k(0x199)]('Item\x20\x22'+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x19a)]+'\x20during\x20\x27Take\x27\x20command.'),k(0x19d)+b+k(0x1b5);const d=c[k(0x1a7)]['getItem'](b);if(!d)return this['logger'][k(0x199)](k(0x1b1)+b+k(0x19c)+c[k(0x19a)]+k(0x1b2)),'There\x20is\x20no\x20item\x20\x22'+b+k(0x1b5);try{return this[k(0x1af)][k(0x1a3)](d),this['logger'][k(0x199)](k(0x1a4)+b+'\x22\x20to\x20'+this[k(0x1af)][k(0x19a)]+k(0x19e)),c[k(0x1a7)]['removeItem'](b),this[k(0x1b7)]['write'](k(0x1b9)+b+'\x22\x20from\x20'+c[k(0x19a)]+k(0x1b2)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this[k(0x1b7)][k(0x199)](k(0x1ba)+e[k(0x1a9)]),'The\x20item\x20\x22'+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
1
+ const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x16b))/0x1*(-parseInt(f(0x150))/0x2)+-parseInt(f(0x158))/0x3*(parseInt(f(0x167))/0x4)+-parseInt(f(0x14e))/0x5+-parseInt(f(0x15e))/0x6*(-parseInt(f(0x156))/0x7)+parseInt(f(0x15f))/0x8+parseInt(f(0x159))/0x9+parseInt(f(0x147))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xcd4cf));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(0x14a)]()[g(0x148)]('(((.+)+)+)+$')[g(0x14a)]()[g(0x15d)](a39a)['search'](g(0x168));});function a39c(){const k=['\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','execute','toLowerCase','description','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20from\x20','\x22\x20is\x20too\x20heavy\x20to\x20carry.','1451230OwgGhp','search','Successfully\x20removed\x20\x22','toString','There\x20is\x20no\x20item\x20\x22','You\x20have\x20taken\x20the\x20','actor','4766370HZeJVA','verb','2UMRIew','\x22\x20in\x20this\x20room.','hasItem','logger','removeItem','addInventory','2871064RPezVI','inventory','465528GKcirP','6533649QbgrAt','Successfully\x20added\x20\x22','\x22\x20to\x20','Error\x20during\x20\x27Take\x27\x20command:\x20','constructor','6HGquJM','10089440qMNxGU','message','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','write','name','take','The\x20item\x20\x22','Pick\x20up\x20an\x20item.','12rnAQWK','(((.+)+)+)+$','\x22\x20not\x20retrieved\x20from\x20','getItem','282703xBZhWQ'];a39c=function(){return k;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x140;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39h(0x14f)]='take';static [a39h(0x143)]=a39h(0x166);[a39h(0x141)](a){const i=a39h;return this[i(0x153)][i(0x162)](i(0x144)+a['join']('\x20')),this['take'](a);}[a39h(0x164)](a){const j=a39h,b=a['join']('\x20')[j(0x142)](),c=this[j(0x14d)]['currentLocation'];if(!c['inventory'][j(0x152)](b))return this[j(0x153)][j(0x162)]('Item\x20\x22'+b+'\x22\x20not\x20found\x20in\x20'+c[j(0x163)]+'\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+j(0x151);const d=c[j(0x157)][j(0x16a)](b);if(!d)return this[j(0x153)][j(0x162)]('Item\x20\x22'+b+j(0x169)+c[j(0x163)]+j(0x140)),j(0x14b)+b+j(0x151);try{return this[j(0x14d)][j(0x155)](d),this[j(0x153)][j(0x162)](j(0x15a)+b+j(0x15b)+this[j(0x14d)][j(0x163)]+j(0x161)),c['inventory'][j(0x154)](b),this[j(0x153)][j(0x162)](j(0x149)+b+j(0x145)+c[j(0x163)]+j(0x140)),j(0x14c)+b+'.';}catch(e){return this[j(0x153)][j(0x162)](j(0x15c)+e[j(0x160)]),j(0x165)+b+j(0x146);}}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x19e))/0x1*(parseInt(f(0x192))/0x2)+-parseInt(f(0x1a0))/0x3+parseInt(f(0x198))/0x4*(-parseInt(f(0x19a))/0x5)+parseInt(f(0x194))/0x6*(parseInt(f(0x199))/0x7)+-parseInt(f(0x18f))/0x8+parseInt(f(0x18d))/0x9*(parseInt(f(0x1a4))/0xa)+-parseInt(f(0x193))/0xb*(-parseInt(f(0x1a2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x569d5));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x18c)]()['search'](h(0x197))[h(0x18c)]()[h(0x18e)](a40a)['search'](h(0x197));});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x18c;let f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'./command.js';function a40c(){const k=['209166fVCgWc','unqeuip','180129cUgnTN','actor','108348dgqtGK','apply','5911780irIPHF','toString','9Ieomxu','constructor','5319096uUdfYq','description','join','2GeiyFu','121fpwBUh','6JrEbeJ','write','execute','(((.+)+)+)+$','8iLkMlD','4740596fepLRo','1242970OdpPjh','toLowerCase','verb','\x20unqeuiped\x20'];a40c=function(){return k;};return a40c();}export class UnequipCommand extends Command{static [a40i(0x19c)]=a40i(0x19f);static [a40i(0x190)]='Unequip\x20an\x20item.';[a40i(0x196)](a){const j=a40i,b=a[j(0x191)]('\x20')[j(0x19b)](),c=this[j(0x1a1)]['unequip'](b);return this['logger'][j(0x195)]('UnequipCommand:\x20'+this[j(0x1a1)]['name']+j(0x19d)+c),c;}}
1
+ function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x118;let f=c[d];return f;},a40d(a,b);}const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x12e))/0x1+parseInt(f(0x124))/0x2+parseInt(f(0x118))/0x3*(-parseInt(f(0x123))/0x4)+parseInt(f(0x11f))/0x5+parseInt(f(0x11a))/0x6*(-parseInt(f(0x12f))/0x7)+-parseInt(f(0x120))/0x8+parseInt(f(0x12b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xdc3c1));function a40c(){const j=['execute','UnequipCommand:\x20','unqeuip','join','search','29598381KXfXYJ','constructor','name','1358931ViVNcH','477491DDIoQF','(((.+)+)+)+$','53337lhhUGc','logger','6TnJNMf','description','actor','verb','toLowerCase','2294255TNrwwD','12855568NzggvR','unequip','write','64XIvFzs','946150AFWSUL','Unequip\x20an\x20item.'];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['toString']()[g(0x12a)](g(0x130))['toString']()[g(0x12c)](a40a)[g(0x12a)](g(0x130));});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40h(0x11d)]=a40h(0x128);static [a40h(0x11b)]=a40h(0x125);[a40h(0x126)](a){const i=a40h,b=a[i(0x129)]('\x20')[i(0x11e)](),c=this['actor'][i(0x121)](b);return this[i(0x119)][i(0x122)](i(0x127)+this[i(0x11c)][i(0x12d)]+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a41d(a,b);}function a41c(){const m=['actor','Unlock\x20a\x20door.','isValidDirection','698819lUrkHk','getItem','verb','UnlockCommand:\x20','logger','4728468vkNIMf','name','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','inventory','execute','84yrJLBn','\x20is\x20attempted\x20to\x20unlock\x20','apply','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','15302fYDdnK','attemptUnlockExit','search','toString','831243wGXHnc','description','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','exits','5tSrOgn','\x22\x20here.','There\x27s\x20no\x20door\x20named\x20\x22','2472eFtOUo','write','hasItem','1691526GZkXsF','9mXIuKf','109280BWtXMl','constructor','9016220tONxlH','length','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','4bfqvpy','UnlockCommand:\x20No\x20target\x20specified.','unlock'];a41c=function(){return m;};return a41c();}const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x1dd))/0x1*(-parseInt(h(0x1c5))/0x2)+parseInt(h(0x1d0))/0x3+parseInt(h(0x1c0))/0x4+parseInt(h(0x1e1))/0x5*(parseInt(h(0x1be))/0x6)+-parseInt(h(0x1d9))/0x7*(parseInt(h(0x1e4))/0x8)+-parseInt(h(0x1bf))/0x9*(-parseInt(h(0x1c2))/0xa)+parseInt(h(0x1cb))/0xb*(parseInt(h(0x1d5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xda342));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x1d7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x1dc)]()['search']('(((.+)+)+)+$')[j(0x1dc)]()[j(0x1c1)](a41a)[j(0x1db)]('(((.+)+)+)+$');});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x1cd)]=a41k(0x1c7);static [a41k(0x1de)]=a41k(0x1c9);[a41k(0x1d4)](a){return this['unlock'](a);}['unlock'](a){const l=a41k;if(a[l(0x1c3)]===0x0)return this['logger']['error'](l(0x1c6)),l(0x1d8);const b=a[0x0]['toLowerCase'](),c=this['actor']['currentLocation'];if(this[l(0x1ca)](b)&&c[l(0x1e0)]['has'](b)){const d=c[l(0x1e0)]['get'](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.['toLowerCase']();if(e&&this[l(0x1c8)][l(0x1d3)][l(0x1bd)](e)){const f=this[l(0x1c8)][l(0x1d3)][l(0x1cc)](e);if(f){const g=c[l(0x1da)](b,f['name']);return this[l(0x1cf)][l(0x1bc)](l(0x1ce)+this[l(0x1c8)][l(0x1d1)]+l(0x1d6)+b+'.\x20Result:\x20'+g),g;}}return this[l(0x1cf)]['write'](l(0x1ce)+this[l(0x1c8)][l(0x1d1)]+l(0x1df)+b+'.'),l(0x1d2);}else return this['logger']['write'](l(0x1ce)+b+l(0x1c4)+c['name']+'.'),l(0x1e3)+b+l(0x1e2);}else return this[l(0x1cf)][l(0x1bc)]('UnlockCommand:\x20'+b+l(0x1c4)+c[l(0x1d1)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}}
1
+ const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0xe6))/0x1*(parseInt(h(0xc7))/0x2)+parseInt(h(0xc6))/0x3+-parseInt(h(0xe1))/0x4*(parseInt(h(0xcf))/0x5)+-parseInt(h(0xe4))/0x6*(-parseInt(h(0xdb))/0x7)+parseInt(h(0xd1))/0x8+parseInt(h(0xdf))/0x9*(parseInt(h(0xbf))/0xa)+parseInt(h(0xe8))/0xb*(parseInt(h(0xd4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x53e5f));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()['search'](j(0xd9))[j(0xcd)]()['constructor'](a41a)[j(0xd7)](j(0xd9));});a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xbf;let f=c[d];return f;},a41d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0xc5)]=a41k(0xce);static [a41k(0xd8)]=a41k(0xd6);['execute'](a){return this['unlock'](a);}[a41k(0xce)](a){const l=a41k;if(a[l(0xc1)]===0x0)return this[l(0xdc)]['error'](l(0xe0)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0]['toLowerCase'](),c=this[l(0xcb)][l(0xe2)];if(this[l(0xd5)](b)&&c[l(0xe5)][l(0xd2)](b)){const d=c[l(0xe5)][l(0xda)](b);if(d instanceof Door){const e=d[l(0xc2)]?.['toLowerCase']();if(e&&this[l(0xcb)]['inventory'][l(0xde)](e)){const f=this[l(0xcb)][l(0xc4)][l(0xcc)](e);if(f){const g=c[l(0xd3)](b,f[l(0xc8)]);return this[l(0xdc)]['write'](l(0xdd)+this['actor'][l(0xc8)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+l(0xd0)+g),g;}}return this[l(0xdc)]['write'](l(0xdd)+this['actor'][l(0xc8)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),l(0xc9);}else return this[l(0xdc)]['write'](l(0xdd)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0xc8)]+'.'),l(0xc0)+b+'\x22\x20here.';}else return this[l(0xdc)][l(0xe7)](l(0xdd)+b+l(0xe3)+c[l(0xc8)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0xca);}}function a41c(){const m=['13628vqzOhF','name','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','\x22\x20here.','actor','getItem','toString','unlock','11485uzfVmK','.\x20Result:\x20','2868016xRXSYK','has','attemptUnlockExit','12EoSEhb','isValidDirection','Unlock\x20a\x20door.','search','description','(((.+)+)+)+$','get','623yQIiVc','logger','UnlockCommand:\x20','hasItem','963gozzXh','UnlockCommand:\x20No\x20target\x20specified.','436sOWmXm','currentLocation','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','3546hivjnh','exits','38anJPmi','write','1348930XlaQQh','22580GTmBdX','There\x27s\x20no\x20door\x20named\x20\x22','length','unlockItemOrSolution','apply','inventory','verb','232845dThkIp'];a41c=function(){return m;};return a41c();}
@@ -1 +1 @@
1
- function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1de;let f=c[d];return f;},a42d(a,b);}const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x1de))/0x1*(-parseInt(f(0x1e1))/0x2)+parseInt(f(0x1f1))/0x3+parseInt(f(0x1e0))/0x4+parseInt(f(0x1ea))/0x5+-parseInt(f(0x1f7))/0x6*(parseInt(f(0x1fe))/0x7)+parseInt(f(0x1ff))/0x8*(-parseInt(f(0x1e3))/0x9)+parseInt(f(0x1e9))/0xa*(parseInt(f(0x1f3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xe65ee));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x1fb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x1f2)]()[h(0x1ed)](h(0x1e5))[h(0x1f2)]()[h(0x1df)](a42a)[h(0x1ed)](h(0x1e5));});a42a();import{Command}from'./command.js';function a42c(){const l=['12nTmuvy','\x27s\x20inventory.','description','\x20to\x20use.','apply','You\x20can\x27t\x20use\x20the\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','2626043aMOswG','168PFIPvS','9rTMYWE','constructor','4896624zUSsCD','166898HQlLvZ','write','37431FlsooM','verb','(((.+)+)+)+$','name','use','\x20used\x20','129040tIMZtp','5082010WZVfhE','logger','\x20attempted\x20to\x20use\x20','search','getItem','toLowerCase','You\x20don\x27t\x20have\x20the\x20','720306nnBXrC','toString','44qKRqqL','inventory','actor','UseCommand:\x20'];a42c=function(){return l;};return a42c();}export class UseCommand extends Command{static [a42i(0x1e4)]=a42i(0x1e7);static [a42i(0x1f9)]='Use\x20an\x20item.';['execute'](a){const j=a42i;return this[j(0x1e7)](a);}[a42i(0x1e7)](a){const k=a42i,b=a['join']('\x20')[k(0x1ef)]();if(!this[k(0x1f5)][k(0x1f4)]['hasItem'](b))return this[k(0x1eb)][k(0x1e2)](k(0x1f6)+this[k(0x1f5)]['name']+k(0x1ec)+b+k(0x1fd)),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x1fa);const c=this['actor'][k(0x1f4)][k(0x1ee)](b);if(!c)return this[k(0x1eb)][k(0x1e2)]('UseCommand:\x20'+b+'\x20not\x20retrieved\x20from\x20'+this[k(0x1f5)]['name']+k(0x1f8)),k(0x1f0)+b+k(0x1fa);if(typeof c[k(0x1e7)]==='function'){const d=c['use']();return this[k(0x1eb)]['write']('UseCommand:\x20'+this['actor'][k(0x1e6)]+k(0x1e8)+b+'.'),d;}else return this['logger'][k(0x1e2)](k(0x1f6)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),k(0x1fc)+b+'\x20in\x20this\x20way.';}}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x17c))/0x1+parseInt(f(0x15e))/0x2+-parseInt(f(0x178))/0x3*(-parseInt(f(0x166))/0x4)+-parseInt(f(0x170))/0x5*(parseInt(f(0x16b))/0x6)+parseInt(f(0x156))/0x7+parseInt(f(0x159))/0x8*(-parseInt(f(0x16d))/0x9)+parseInt(f(0x168))/0xa*(parseInt(f(0x16f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x27e6d));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x155;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x155)]()[h(0x167)](h(0x161))['toString']()[h(0x15f)](a42a)[h(0x167)]('(((.+)+)+)+$');});a42a();function a42c(){const l=['toString','112056Zjkhcb','apply','getItem','8oJEKnx','\x20not\x20retrieved\x20from\x20','actor','Use\x20an\x20item.','function','205112kZsSqq','constructor','\x20attempted\x20to\x20use\x20','(((.+)+)+)+$','verb','You\x20can\x27t\x20use\x20the\x20','execute','name','910456lWxnWM','search','3570310hQgGFB','\x20doesn\x27t\x20have\x20a\x20use\x20method.','description','6BcQZhT','You\x20don\x27t\x20have\x20the\x20','1930779WpmjzZ','join','11uZEwTw','1520390JUmoDV',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','inventory','use','\x20in\x20this\x20way.','toLowerCase','\x20to\x20use.','\x20used\x20','3oKbBcQ','UseCommand:\x20','hasItem','write','21163GMtgtq','logger'];a42c=function(){return l;};return a42c();}import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x162)]='use';static [a42i(0x16a)]=a42i(0x15c);[a42i(0x164)](a){const j=a42i;return this[j(0x173)](a);}['use'](a){const k=a42i,b=a[k(0x16e)]('\x20')[k(0x175)]();if(!this[k(0x15b)][k(0x172)][k(0x17a)](b))return this[k(0x17d)]['write'](k(0x179)+this[k(0x15b)][k(0x165)]+k(0x160)+b+k(0x171)),k(0x16c)+b+k(0x176);const c=this[k(0x15b)][k(0x172)][k(0x158)](b);if(!c)return this[k(0x17d)][k(0x17b)](k(0x179)+b+k(0x15a)+this[k(0x15b)][k(0x165)]+'\x27s\x20inventory.'),k(0x16c)+b+k(0x176);if(typeof c[k(0x173)]===k(0x15d)){const d=c[k(0x173)]();return this['logger'][k(0x17b)]('UseCommand:\x20'+this[k(0x15b)][k(0x165)]+k(0x177)+b+'.'),d;}else return this[k(0x17d)][k(0x17b)](k(0x179)+b+k(0x169)),k(0x163)+b+k(0x174);}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0xc0))/0x1+-parseInt(f(0xca))/0x2+-parseInt(f(0xc1))/0x3+parseInt(f(0xc2))/0x4*(-parseInt(f(0xc3))/0x5)+-parseInt(f(0xce))/0x6*(-parseInt(f(0xc4))/0x7)+parseInt(f(0xc6))/0x8*(-parseInt(f(0xc8))/0x9)+-parseInt(f(0xcf))/0xa*(-parseInt(f(0xbe))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xc1133));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xc7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0xcb)]()[h(0xc5)](h(0xc9))[h(0xcb)]()['constructor'](a43a)[h(0xc5)]('(((.+)+)+)+$');});a43a();function a43c(){const k=['3542484APXoRk','4mFwqOu','7362940gcgCLE','7tahlaI','search','3581296ZktnbH','apply','27GozKLR','(((.+)+)+)+$','2523386DjWRQu','toString','getAllRegisteredCommands','commandMap','5837262LQRGYh','39460370lAIKwA','createCommand','11kUiPbW','registerCommand','1130016SCyiLX'];a43c=function(){return k;};return a43c();}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xbd;let f=c[d];return f;},a43d(a,b);}export class CommandFactory{static [a43i(0xcd)]={};static[a43i(0xbf)](a,b){this['commandMap'][a]=b;}static[a43i(0xbd)](a,b){const j=a43i,c=this[j(0xcd)][a];if(c)return new c(b);return null;}static[a43i(0xcc)](){return this['commandMap'];}}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x7c))/0x1*(parseInt(f(0x84))/0x2)+parseInt(f(0x80))/0x3+-parseInt(f(0x85))/0x4*(parseInt(f(0x87))/0x5)+-parseInt(f(0x7f))/0x6+-parseInt(f(0x7d))/0x7*(parseInt(f(0x78))/0x8)+-parseInt(f(0x83))/0x9+parseInt(f(0x81))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xdeeec));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x77)]()['search'](h(0x7a))[h(0x77)]()[h(0x7e)](a43a)[h(0x86)](h(0x7a));});function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x77;let f=c[d];return f;},a43d(a,b);}a43a();function a43c(){const m=['64ZHgIHB','commandMap','(((.+)+)+)+$','apply','1692489obprXZ','779156gnWaSY','constructor','5157114YaFAPz','1426887hHFGKP','70201010IbziNa','createCommand','13289130exZHwN','2ClIjxJ','1663556cxZVPS','search','20XVNhpm','registerCommand','toString'];a43c=function(){return m;};return a43c();}export class CommandFactory{static [a43i(0x79)]={};static[a43i(0x88)](a,b){const j=a43i;this[j(0x79)][a]=b;}static[a43i(0x82)](a,b){const k=a43i,c=this[k(0x79)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const l=a43i;return this[l(0x79)];}}
@@ -1 +1 @@
1
- const a44h=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x159))/0x1*(parseInt(f(0x146))/0x2)+-parseInt(f(0x155))/0x3*(parseInt(f(0x154))/0x4)+-parseInt(f(0x164))/0x5+-parseInt(f(0x156))/0x6*(-parseInt(f(0x162))/0x7)+-parseInt(f(0x150))/0x8+-parseInt(f(0x153))/0x9*(-parseInt(f(0x144))/0xa)+parseInt(f(0x166))/0xb*(parseInt(f(0x151))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x83b81));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const g=a44d;return a44a[g(0x167)]()[g(0x160)](g(0x14c))[g(0x167)]()['constructor'](a44a)[g(0x160)](g(0x14c));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x142;let f=c[d];return f;},a44d(a,b);}a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a44c(){const n=['toString','helmet','legarmor','10OkUFhf','roomType','46JSZYtX','boots','content','createItem','INSIDE','createRoom','(((.+)+)+)+$','addItem','puzzle','inventory','952160gVSWvv','21336036JVBxnM','toUpperCase','1082943hRTUTO','4AgfuXF','2358306XyLPME','6cLmHJm','items','description','43062VjdTdh','sword','isStartRoom','type','gauntlets','convertToRoomConfig','bodyarmor','search','rifle','5636393QdKdKK','name','1342300cuXTbV','createPuzzle','11XqfVYi'];a44c=function(){return n;};return a44c();}import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44h(0x14b)](a){const i=a44h,b=this[i(0x15e)](a),c=new Room(b);if(a[i(0x157)]){const d=new Inventory();a[i(0x157)]['forEach'](e=>{const j=i;d[j(0x14d)](this[j(0x149)](e));}),c[i(0x14f)]=d;}return a[i(0x14e)]&&c['setPuzzle'](this['createPuzzle'](a['puzzle'])),c;}[a44h(0x149)](a){const k=a44h;switch(a[k(0x15c)]){case'key':return new Key(a[k(0x163)],a[k(0x158)]);case'book':return new Book(a['name'],a['description'],a[k(0x148)]);case k(0x15a):return new Sword(a[k(0x163)],a[k(0x158)]);case k(0x161):return new Rifle(a['name'],a[k(0x158)]);case k(0x142):return new Helmet(a[k(0x163)],a[k(0x158)]);case k(0x15f):return new BodyArmor(a[k(0x163)],a[k(0x158)]);case k(0x143):return new LegArmor(a['name'],a[k(0x158)]);case k(0x147):return new Boots(a[k(0x163)],a[k(0x158)]);case'gloves':return new Gloves(a[k(0x163)],a[k(0x158)]);case k(0x15d):return new Gauntlets(a[k(0x163)],a[k(0x158)]);default:return new BasicItem(a['name'],a[k(0x158)]);}}[a44h(0x165)](a){const l=a44h,b=this[l(0x149)](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const m=a44h,b=a['roomType']&&RoomType[a[m(0x145)]['toUpperCase']()]?RoomType[a['roomType'][m(0x152)]()]:RoomType[m(0x14a)];return{'name':a[m(0x163)],'description':a['description'],'isStartRoom':a[m(0x15b)],'roomType':b};}}
1
+ const a44j=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x16a))/0x1+parseInt(f(0x173))/0x2*(-parseInt(f(0x189))/0x3)+parseInt(f(0x17e))/0x4+-parseInt(f(0x18b))/0x5*(parseInt(f(0x171))/0x6)+parseInt(f(0x177))/0x7*(parseInt(f(0x17a))/0x8)+-parseInt(f(0x18e))/0x9*(parseInt(f(0x183))/0xa)+-parseInt(f(0x179))/0xb*(-parseInt(f(0x169))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xa846c));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const g=a44d;return a44a['toString']()[g(0x18c)](g(0x17f))[g(0x175)]()[g(0x17c)](a44a)[g(0x18c)](g(0x17f));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x169;let f=c[d];return f;},a44d(a,b);}a44a();function a44c(){const n=['sword','description','setPuzzle','legarmor','content','3708624GdPBic','gloves','328986AjDSFK','type','toString','toUpperCase','879340DFbrwq','rifle','2405568ZJfPoU','32vUdFku','gauntlets','constructor','book','5318072HmrxvY','(((.+)+)+)+$','createItem','puzzle','bodyarmor','2459500WtqADd','roomType','key','inventory','items','boots','9jzDufN','createPuzzle','10yvZtGz','search','convertToRoomConfig','45bsKfOM','48MvFEbe','941947CtvnXm','name'];a44c=function(){return n;};return a44c();}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const h=a44d,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[h(0x187)]){const d=new Inventory();a['items']['forEach'](e=>{const i=h;d['addItem'](this[i(0x180)](e));}),c[h(0x186)]=d;}return a['puzzle']&&c[h(0x16e)](this[h(0x18a)](a[h(0x181)])),c;}[a44j(0x180)](a){const k=a44j;switch(a[k(0x174)]){case k(0x185):return new Key(a[k(0x16b)],a[k(0x16d)]);case k(0x17d):return new Book(a[k(0x16b)],a['description'],a[k(0x170)]);case k(0x16c):return new Sword(a['name'],a[k(0x16d)]);case k(0x178):return new Rifle(a[k(0x16b)],a[k(0x16d)]);case'helmet':return new Helmet(a[k(0x16b)],a[k(0x16d)]);case k(0x182):return new BodyArmor(a[k(0x16b)],a[k(0x16d)]);case k(0x16f):return new LegArmor(a[k(0x16b)],a[k(0x16d)]);case k(0x188):return new Boots(a[k(0x16b)],a[k(0x16d)]);case k(0x172):return new Gloves(a[k(0x16b)],a['description']);case k(0x17b):return new Gauntlets(a[k(0x16b)],a['description']);default:return new BasicItem(a['name'],a['description']);}}['createPuzzle'](a){const l=a44j,b=this[l(0x180)](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a44j(0x18d)](a){const m=a44j,b=a[m(0x184)]&&RoomType[a[m(0x184)][m(0x176)]()]?RoomType[a['roomType']['toUpperCase']()]:RoomType['INSIDE'];return{'name':a[m(0x16b)],'description':a['description'],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x73))/0x1*(-parseInt(h(0x8e))/0x2)+parseInt(h(0x7e))/0x3+parseInt(h(0x97))/0x4*(parseInt(h(0x79))/0x5)+parseInt(h(0x94))/0x6+-parseInt(h(0x80))/0x7+-parseInt(h(0x88))/0x8*(-parseInt(h(0x82))/0x9)+parseInt(h(0x75))/0xa*(parseInt(h(0x86))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xe5190));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x8b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a['toString']()[j(0x83)](j(0x89))[j(0x87)]()[j(0xa0)](a45a)['search'](j(0x89));});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 a45c(){const s=['currentRoom','maka','getInstance','147042eclXfM','unlock','11800243MMoQEG','currentLocation','368541JgXJnx','search','say','player','11XqFuwG','toString','40mParaU','(((.+)+)+)+$','drop','apply','split','-\x20clear:\x20Clear\x20the\x20screen.\x0a','146BBlAEc','scene','use','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','execute','registerCommand','7966236qrmKgc','unequip','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','28nVvcwt','rooms','take','getHelpMessage','clear','instance','toLowerCase','getWelcomeMessage','determineStartRoom','constructor','equip','getDescription','getAllRegisteredCommands','2669rJyHIp','hasOwnProperty','8132210CmhKsu','registerCommands','Available\x20Commands:\x0a','slice','303060oqHVMc','createCommand'];a45c=function(){return s;};return a45c();}import{EquipCommand}from'./commands/equip.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x71;let f=c[d];return f;},a45d(a,b);}import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0x9c)];['scene'];[a45k(0x85)];[a45k(0x7b)];[a45k(0x98)];constructor(a,b){const l=a45k;this[l(0x85)]=a,this[l(0x8f)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x8f)]['initialize'](),this[l(0x85)][l(0x81)]=this[l(0x9f)](),this['registerCommands']();}[a45k(0x76)](){const m=a45k;CommandFactory[m(0x93)]('look',LookCommand),CommandFactory[m(0x93)]('go',GoCommand),CommandFactory[m(0x93)](m(0x99),TakeCommand),CommandFactory[m(0x93)](m(0x90),UseCommand),CommandFactory[m(0x93)](m(0xa1),EquipCommand),CommandFactory['registerCommand'](m(0x95),UnequipCommand),CommandFactory[m(0x93)]('solve',SolveCommand),CommandFactory[m(0x93)](m(0x8a),DropCommand),CommandFactory['registerCommand'](m(0x7f),UnlockCommand),CommandFactory[m(0x93)]('lock',LockCommand),CommandFactory['registerCommand'](m(0x83),SearchCommand),CommandFactory[m(0x93)](m(0x84),SayCommand);}[a45k(0x9f)](){const n=a45k;return this[n(0x8f)]['determineStartRoom']();}[a45k(0x9e)](){const o=a45k;return'Welcome,\x20'+this[o(0x85)]['name'];}static[a45k(0x7d)](a,b){const p=a45k;return!Game[p(0x9c)]&&(Game[p(0x9c)]=new Game(a,b)),Game[p(0x9c)];}['handleInput'](a){const q=a45k,b=a['trim']()[q(0x8c)]('\x20'),c=b[0x0][q(0x9d)](),d=b[q(0x78)](0x1);if(c==='quit')return null;if(c===q(0x7c))return q(0x96);if(c==='help')return this[q(0x9a)]();if(c===q(0x9b))return'';const e={'actor':this['player'],'rooms':this[q(0x8f)]['getRooms'](),'scene':this['scene']},f=CommandFactory[q(0x7a)](c,e);if(f){const g=f[q(0x92)](d);return g;}return q(0x91)+c+'\x22.';}['getHelpMessage'](){const r=a45k,a=CommandFactory[r(0x72)]();let b=r(0x77);for(const c in a){if(a[r(0x74)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x71)]()+'\x0a';}}return b+=r(0x8d),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
1
+ const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0x171))/0x1*(-parseInt(h(0x17a))/0x2)+-parseInt(h(0x194))/0x3*(-parseInt(h(0x179))/0x4)+parseInt(h(0x197))/0x5+-parseInt(h(0x168))/0x6*(parseInt(h(0x174))/0x7)+-parseInt(h(0x196))/0x8+parseInt(h(0x191))/0x9+-parseInt(h(0x17d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x2d40c));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a['toString']()['search']('(((.+)+)+)+$')[j(0x172)]()[j(0x18b)](a45a)[j(0x17f)](j(0x18c));});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';function a45c(){const s=['toString','registerCommand','56aobIeP','getAllRegisteredCommands','determineStartRoom','Available\x20Commands:\x0a','initialize','8rNOrDt','1436TRMkDF','handleInput','instance','1425330qmdiHx','trim','search','drop','currentRoom','registerCommands','Welcome,\x20','execute','unlock','clear','getHelpMessage','quit','take','name','constructor','(((.+)+)+)+$','slice','help','scene','player','2447469AMFAWm','solve','hasOwnProperty','27627TEPqVy','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','1100024qKUkOr','189165xTkbui','-\x20clear:\x20Clear\x20the\x20screen.\x0a','unequip','look','toLowerCase','118962VKBGma','currentLocation','say','apply','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','split','getRooms','equip','lock','412osBQuF'];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';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x166;let f=c[d];return f;},a45d(a,b);}export default class Game{static [a45k(0x17c)];['scene'];['player'];[a45k(0x181)];['rooms'];constructor(a,b){const l=a45k;this['player']=a,this[l(0x18f)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0x178)](),this[l(0x190)][l(0x169)]=this[l(0x176)](),this[l(0x182)]();}[a45k(0x182)](){const m=a45k;CommandFactory['registerCommand'](m(0x166),LookCommand),CommandFactory[m(0x173)]('go',GoCommand),CommandFactory[m(0x173)](m(0x189),TakeCommand),CommandFactory[m(0x173)]('use',UseCommand),CommandFactory[m(0x173)](m(0x16f),EquipCommand),CommandFactory['registerCommand'](m(0x199),UnequipCommand),CommandFactory[m(0x173)](m(0x192),SolveCommand),CommandFactory[m(0x173)](m(0x180),DropCommand),CommandFactory['registerCommand'](m(0x185),UnlockCommand),CommandFactory['registerCommand'](m(0x170),LockCommand),CommandFactory[m(0x173)](m(0x17f),SearchCommand),CommandFactory[m(0x173)](m(0x16a),SayCommand);}[a45k(0x176)](){const n=a45k;return this[n(0x18f)][n(0x176)]();}['getWelcomeMessage'](){const o=a45k;return o(0x183)+this[o(0x190)][o(0x18a)];}static['getInstance'](a,b){const p=a45k;return!Game[p(0x17c)]&&(Game[p(0x17c)]=new Game(a,b)),Game[p(0x17c)];}[a45k(0x17b)](a){const q=a45k,b=a[q(0x17e)]()[q(0x16d)]('\x20'),c=b[0x0][q(0x167)](),d=b[q(0x18d)](0x1);if(c===q(0x188))return null;if(c==='maka')return q(0x195);if(c===q(0x18e))return this[q(0x187)]();if(c===q(0x186))return'';const e={'actor':this[q(0x190)],'rooms':this[q(0x18f)][q(0x16e)](),'scene':this[q(0x18f)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[q(0x184)](d);return g;}return q(0x16c)+c+'\x22.';}['getHelpMessage'](){const r=a45k,a=CommandFactory[r(0x175)]();let b=r(0x177);for(const c in a){if(a[r(0x193)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=r(0x198),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x16d))/0x1*(-parseInt(f(0x16b))/0x2)+-parseInt(f(0x170))/0x3*(parseInt(f(0x166))/0x4)+-parseInt(f(0x169))/0x5+parseInt(f(0x16a))/0x6+-parseInt(f(0x16e))/0x7+parseInt(f(0x171))/0x8+parseInt(f(0x16c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x64431));function a46c(){var h=['253515LBAtkg','3402800PTgkts','12pFvRtY','(((.+)+)+)+$','search','3165635MtrMER','3351510xtLUOq','348224DYHLPX','9652788FaSFtk','1olwagt','4095280nlfWav','toString'];a46c=function(){return h;};return a46c();}function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x166;var f=c[d];return f;},a46d(a,b);}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(0x16f)]()[g(0x168)](g(0x167))['toString']()['constructor'](a46a)[g(0x168)](g(0x167));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ function a46c(){var h=['96PRaoLg','2313045BCWvWw','871243FEVecy','16WnesDe','3190023WSPDPR','toString','14960840xjDUif','3379035eZILZh','search','1022836JItwrX','12418MPTypX','(((.+)+)+)+$','18VPrQFV','constructor'];a46c=function(){return h;};return a46c();}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x147))/0x1+-parseInt(f(0x141))/0x2*(-parseInt(f(0x145))/0x3)+parseInt(f(0x140))/0x4+-parseInt(f(0x13e))/0x5+parseInt(f(0x143))/0x6*(parseInt(f(0x146))/0x7)+parseInt(f(0x148))/0x8*(parseInt(f(0x149))/0x9)+-parseInt(f(0x14b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xd07bc));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(0x14a)]()['search'](g(0x142))['toString']()[g(0x144)](a46a)[g(0x13f)](g(0x142));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x13e;var f=c[d];return f;},a46d(a,b);}export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x1d8))/0x1*(-parseInt(f(0x1da))/0x2)+-parseInt(f(0x1e5))/0x3+-parseInt(f(0x1de))/0x4*(-parseInt(f(0x1e4))/0x5)+parseInt(f(0x1ea))/0x6*(parseInt(f(0x1eb))/0x7)+-parseInt(f(0x1e3))/0x8*(parseInt(f(0x1e2))/0x9)+-parseInt(f(0x1d3))/0xa*(parseInt(f(0x1d7))/0xb)+parseInt(f(0x1d9))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x9a1b5));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x1e9)]()['search']('(((.+)+)+)+$')[h(0x1e9)]()['constructor'](a47a)['search']('(((.+)+)+)+$');});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x1ce;var f=c[d];return f;},a47d(a,b);}function a47c(){var o=['toString','192MNegih','97321PxNOUG','logger','getInstance','isLockable','roomB','unlockItemOrSolution','apply','Door\x20created\x20between\x20','name','20RlMxUT','isLocked','checkIfLocked','.\x20Used:\x20','962753UGMBed','1150286gxnVYQ','28685916jzFzWm','2INYfMJ','.\x20Is\x20Locked:\x20','checkIfLockable','Door\x20unlocked:\x20','8WVbiRw','write','Failed\x20to\x20unlock\x20door:\x20','roomA','99peZZki','543856gUdAsP','217060xQeLZn','653574dNHbpO','getOtherSide','\x20and\x20','attemptUnlock'];a47c=function(){return o;};return a47c();}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a47i(0x1ce)];[a47i(0x1d4)];[a47i(0x1cf)];[a47i(0x1d2)];[a47i(0x1ec)];[a47i(0x1ee)];constructor(a){var j=a47i;super(),this[j(0x1e1)]=a[j(0x1e1)],this[j(0x1ce)]=a[j(0x1ce)],this[j(0x1d4)]=a['isLocked']||![],this[j(0x1cf)]=a['unlockItemOrSolution'],this[j(0x1d2)]=a['name']?capitalCase(a[j(0x1d2)]):'To\x20'+a[j(0x1ce)][j(0x1d2)],this[j(0x1ec)]=Logger[j(0x1ed)](),this[j(0x1ee)]=!!a[j(0x1cf)],this[j(0x1ec)][j(0x1df)](j(0x1d1)+this[j(0x1e1)][j(0x1d2)]+j(0x1e7)+this[j(0x1ce)]['name']+j(0x1db)+this['isLocked']);}[a47i(0x1e6)](a){var k=a47i;return this[k(0x1e1)]===a?this[k(0x1ce)]:this[k(0x1e1)];}[a47i(0x1e8)](a){var l=a47i;if(this['isLocked']&&this['unlockItemOrSolution']&&this[l(0x1cf)]===a)return this['isLocked']=![],this[l(0x1ec)][l(0x1df)](l(0x1dd)+this[l(0x1d2)]+l(0x1d6)+a),!![];return this['logger'][l(0x1df)](l(0x1e0)+this[l(0x1d2)]+l(0x1d6)+a),![];}[a47i(0x1d5)](){var m=a47i;return this[m(0x1d4)];}[a47i(0x1dc)](){var n=a47i;return this[n(0x1ee)];}}
1
+ var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x169))/0x1*(-parseInt(f(0x177))/0x2)+-parseInt(f(0x17a))/0x3*(-parseInt(f(0x175))/0x4)+-parseInt(f(0x173))/0x5*(-parseInt(f(0x15d))/0x6)+-parseInt(f(0x16e))/0x7+parseInt(f(0x171))/0x8*(-parseInt(f(0x172))/0x9)+parseInt(f(0x16d))/0xa+-parseInt(f(0x178))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x6bfcf));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a['toString']()[h(0x16b)](h(0x16a))['toString']()[h(0x17c)](a47a)['search'](h(0x16a));});function a47c(){var o=['.\x20Is\x20Locked:\x20','Failed\x20to\x20unlock\x20door:\x20','logger','Door\x20unlocked:\x20','To\x20','5JQEOYP','(((.+)+)+)+$','search','apply','7165750tEzRcu','2088723jJPxqU','getOtherSide','getInstance','8FpQkUP','3949002wqnRCT','2335EZTZND','checkIfLocked','12420vnCSuZ','\x20and\x20','28286ZzqYWp','4145493RXGhjK','roomA','114kgBbcQ','.\x20Used:\x20','constructor','unlockItemOrSolution','isLockable','10182xWWSvW','checkIfLockable','Door\x20created\x20between\x20','roomB','name','isLocked','write'];a47c=function(){return o;};return a47c();}a47a();import{Logger}from'../utilities/logger.js';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x15d;var f=c[d];return f;},a47d(a,b);}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];['roomB'];[a47i(0x162)];['unlockItemOrSolution'];['name'];[a47i(0x166)];[a47i(0x17e)];constructor(a){var j=a47i;super(),this[j(0x179)]=a['roomA'],this[j(0x160)]=a['roomB'],this[j(0x162)]=a[j(0x162)]||![],this[j(0x17d)]=a[j(0x17d)],this[j(0x161)]=a[j(0x161)]?capitalCase(a[j(0x161)]):j(0x168)+a[j(0x160)][j(0x161)],this[j(0x166)]=Logger[j(0x170)](),this['isLockable']=!!a['unlockItemOrSolution'],this[j(0x166)][j(0x163)](j(0x15f)+this[j(0x179)][j(0x161)]+j(0x176)+this[j(0x160)]['name']+j(0x164)+this['isLocked']);}[a47i(0x16f)](a){var k=a47i;return this[k(0x179)]===a?this[k(0x160)]:this['roomA'];}['attemptUnlock'](a){var l=a47i;if(this[l(0x162)]&&this[l(0x17d)]&&this['unlockItemOrSolution']===a)return this[l(0x162)]=![],this[l(0x166)][l(0x163)](l(0x167)+this[l(0x161)]+l(0x17b)+a),!![];return this[l(0x166)][l(0x163)](l(0x165)+this[l(0x161)]+'.\x20Used:\x20'+a),![];}[a47i(0x174)](){var m=a47i;return this[m(0x162)];}[a47i(0x15e)](){var n=a47i;return this[n(0x17e)];}}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x1d8))/0x1*(-parseInt(f(0x1d6))/0x2)+parseInt(f(0x1bc))/0x3*(-parseInt(f(0x1c8))/0x4)+-parseInt(f(0x1d5))/0x5*(parseInt(f(0x1d3))/0x6)+-parseInt(f(0x1e1))/0x7*(-parseInt(f(0x1df))/0x8)+parseInt(f(0x1cd))/0x9+parseInt(f(0x1dc))/0xa*(-parseInt(f(0x1ba))/0xb)+parseInt(f(0x1db))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x1f512));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1c6)]()[h(0x1d2)]('(((.+)+)+)+$')[h(0x1c6)]()[h(0x1e2)](a48a)[h(0x1d2)](h(0x1bb));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1ba;let f=c[d];return f;},a48d(a,b);}export class Inventory extends AbstractInventory{[a48i(0x1c5)];[a48i(0x1c4)];constructor(){const j=a48i;super(),this[j(0x1c5)]=new Map(),this[j(0x1c4)]=Logger[j(0x1cf)]();}[a48i(0x1de)](a){const k=a48i;this[k(0x1c5)]['set'](a[k(0x1ca)][k(0x1d9)](),a),this[k(0x1c4)][k(0x1bd)](k(0x1d0)+a[k(0x1ca)]+k(0x1e6));}[a48i(0x1e3)](a){const l=a48i,b=this[l(0x1e5)](a);if(b)return this[l(0x1c5)][l(0x1c3)](a['toLowerCase']()),this['logger'][l(0x1bd)]('Removed\x20item:\x20'+a+l(0x1c0)),b;return this[l(0x1c4)]['write'](l(0x1ce)+a+l(0x1c7)),null;}[a48i(0x1e0)](a){const m=a48i,b=this[m(0x1c5)][m(0x1d4)](a[m(0x1d9)]()),c=[...this[m(0x1c5)]['keys']()];return this['logger'][m(0x1bd)](m(0x1cb)+a+m(0x1be)+c[m(0x1c2)](',\x20')+m(0x1c9)+b+'.'),b;}[a48i(0x1e5)](a){const n=a48i,b=this['items'][n(0x1da)](a[n(0x1d9)]())||null;return b?this[n(0x1c4)][n(0x1bd)](n(0x1c1)+a+'.'):this[n(0x1c4)]['write']('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),b;}[a48i(0x1d1)](){const o=a48i,a=[...this['items'][o(0x1cc)]()],b=a[o(0x1bf)](c=>capitalCase(c));return this[o(0x1c4)][o(0x1bd)](o(0x1d7)+b[o(0x1c2)](',\x20')+'.'),a;}['getWeight'](){const p=a48i;let a=0x0;for(const b of this[p(0x1c5)]['values']()){a+=b['weight'];}return a;}[a48i(0x1dd)](){const q=a48i;return[...this[q(0x1c5)][q(0x1e7)]()];}}function a48c(){const r=['10nDkzdp','getAllItems','addItem','639968lApOLL','hasItem','7iOAVDP','constructor','removeItem','apply','getItem','\x20to\x20inventory.','values','1785751OSxyQE','(((.+)+)+)+$','21uKjoRh','write','\x20in\x20','map','\x20from\x20inventory.','Retrieved\x20details\x20for\x20item:\x20','join','delete','logger','items','toString','.\x20Item\x20not\x20found.','47140JuVtzE','.\x20Exists:\x20','name','Checked\x20for\x20item:\x20','keys','1794411OPLhaS','Failed\x20to\x20remove\x20item:\x20','getInstance','Added\x20item:\x20','listItems','search','126yDCwqV','has','3065zwgPql','42zgPFTV','Listed\x20items\x20in\x20inventory:\x20','4559zCMWAk','toLowerCase','get','2428164zzGvRX'];a48c=function(){return r;};return a48c();}
1
+ const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0xde))/0x1*(-parseInt(f(0xfd))/0x2)+parseInt(f(0xee))/0x3+-parseInt(f(0xe7))/0x4+-parseInt(f(0xfb))/0x5*(-parseInt(f(0xe3))/0x6)+-parseInt(f(0xf5))/0x7*(-parseInt(f(0xf0))/0x8)+-parseInt(f(0xd9))/0x9*(parseInt(f(0xe4))/0xa)+-parseInt(f(0x100))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x27186));function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xd8;let f=c[d];return f;},a48d(a,b);}const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a[g(0xf9)]()[g(0xe6)]('(((.+)+)+)+$')['toString']()[g(0xdd)](a48a)[g(0xe6)](g(0xef));});function a48c(){const q=['items','\x20in\x20','constructor','1379sLMOfz','has','toLowerCase','keys','logger','4254rODbuZ','20OdbrnQ','join','search','940648LdTBFZ','Listed\x20items\x20in\x20inventory:\x20','Removed\x20item:\x20','.\x20Exists:\x20','weight','removeItem','Failed\x20to\x20remove\x20item:\x20','225771abxdvt','(((.+)+)+)+$','8NGTxqa','values','Checked\x20for\x20item:\x20','write','delete','2226637pTYNtO','getInstance','Added\x20item:\x20','name','toString','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','460NVfkbG','listItems','214EtCGfo','getAllItems','map','228701UaimYw','Retrieved\x20details\x20for\x20item:\x20','.\x20Item\x20not\x20found.','855189YuNsnu','getItem'];a48c=function(){return q;};return a48c();}a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48h(0xdb)];[a48h(0xe2)];constructor(){const i=a48h;super(),this[i(0xdb)]=new Map(),this[i(0xe2)]=Logger[i(0xf6)]();}['addItem'](a){const j=a48h;this[j(0xdb)]['set'](a[j(0xf8)]['toLowerCase'](),a),this[j(0xe2)][j(0xf3)](j(0xf7)+a[j(0xf8)]+'\x20to\x20inventory.');}[a48h(0xec)](a){const k=a48h,b=this[k(0xda)](a);if(b)return this[k(0xdb)][k(0xf4)](a[k(0xe0)]()),this[k(0xe2)][k(0xf3)](k(0xe9)+a+'\x20from\x20inventory.'),b;return this['logger']['write'](k(0xed)+a+k(0xd8)),null;}['hasItem'](a){const l=a48h,b=this[l(0xdb)][l(0xdf)](a[l(0xe0)]()),c=[...this[l(0xdb)][l(0xe1)]()];return this['logger'][l(0xf3)](l(0xf2)+a+l(0xdc)+c[l(0xe5)](',\x20')+l(0xea)+b+'.'),b;}[a48h(0xda)](a){const m=a48h,b=this['items']['get'](a[m(0xe0)]())||null;return b?this[m(0xe2)][m(0xf3)](m(0x101)+a+'.'):this[m(0xe2)][m(0xf3)](m(0xfa)+a+m(0xd8)),b;}[a48h(0xfc)](){const n=a48h,a=[...this[n(0xdb)][n(0xe1)]()],b=a[n(0xff)](c=>capitalCase(c));return this[n(0xe2)][n(0xf3)](n(0xe8)+b[n(0xe5)](',\x20')+'.'),a;}['getWeight'](){const o=a48h;let a=0x0;for(const b of this['items'][o(0xf1)]()){a+=b[o(0xeb)];}return a;}[a48h(0xfe)](){const p=a48h;return[...this[p(0xdb)][p(0xf1)]()];}}
@@ -1 +1 @@
1
- var a49h=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1b6))/0x1*(-parseInt(f(0x1b7))/0x2)+parseInt(f(0x1b2))/0x3+parseInt(f(0x1b8))/0x4*(-parseInt(f(0x1c2))/0x5)+parseInt(f(0x1ac))/0x6*(-parseInt(f(0x1ae))/0x7)+parseInt(f(0x1ba))/0x8+parseInt(f(0x1be))/0x9+-parseInt(f(0x1bd))/0xa*(parseInt(f(0x1ad))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xc1d23));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0x1b3)]()[g(0x1bb)](g(0x1ab))[g(0x1b3)]()['constructor'](a49a)[g(0x1bb)]('(((.+)+)+)+$');});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];[a49h(0x1c1)];[a49h(0x1c3)];[a49h(0x1c0)];['category'];[a49h(0x1af)];[a49h(0x1c4)];['texture'];[a49h(0x1b1)];[a49h(0x1b0)];constructor(a){var i=a49h;super(),this[i(0x1c1)]=a['name'],this[i(0x1c3)]=a[i(0x1c3)],this['size']=a[i(0x1c0)],this[i(0x1bc)]=a[i(0x1bc)],this[i(0x1af)]=a[i(0x1af)],this['color']=a[i(0x1c4)],this[i(0x1b4)]=a['texture'],this[i(0x1b1)]=a[i(0x1b1)],this[i(0x1b0)]=a[i(0x1b0)],this[i(0x1bf)]=a49e();}['use'](){var j=a49h;return j(0x1b9)+this['name']+j(0x1b5);}}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1ab;var f=c[d];return f;},a49d(a,b);}function a49c(){var k=['uuid','size','name','5lTqkRb','description','color','(((.+)+)+)+$','24jwEaxT','978956BLVzKR','2018856UbsVqK','shape','weight','rating','2580444AVREsL','toString','texture','.\x20Nothing\x20special\x20happens.','1HufnXm','1599142RtcnqE','2668836wlHGip','You\x20use\x20the\x20','7034072XUiiWw','search','category','130sSGOjS','11094318aYTAsg'];a49c=function(){return k;};return a49c();}
1
+ function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1b4;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(0x1bd))/0x1*(parseInt(f(0x1b6))/0x2)+-parseInt(f(0x1ca))/0x3*(-parseInt(f(0x1ce))/0x4)+parseInt(f(0x1c4))/0x5*(parseInt(f(0x1cf))/0x6)+-parseInt(f(0x1c8))/0x7*(-parseInt(f(0x1b7))/0x8)+parseInt(f(0x1ba))/0x9*(parseInt(f(0x1c3))/0xa)+parseInt(f(0x1be))/0xb+-parseInt(f(0x1c0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x453ae));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1c2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()['search'](h(0x1c9))[h(0x1bb)]()[h(0x1d1)](a49a)[h(0x1bc)](h(0x1c9));});a49a();function a49c(){var l=['size','8865LHjKFs','toString','search','103016rNkCiy','2010569zImDju','rating','1649316dZbkCA','color','apply','1570QeejiJ','2358745TAJaHZ','texture','uuid','use','56CZFnfp','(((.+)+)+)+$','12xdFVIt','.\x20Nothing\x20special\x20happens.','shape','name','11172DwLJaS','6rTTAJu','description','constructor','category','You\x20use\x20the\x20','10afHTYm','115744nXNRVz','weight'];a49c=function(){return l;};return a49c();}import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x1c6)];[a49i(0x1cd)];['description'];[a49i(0x1b9)];[a49i(0x1b4)];[a49i(0x1cc)];[a49i(0x1c1)];[a49i(0x1c5)];[a49i(0x1bf)];['weight'];constructor(a){var j=a49i;super(),this['name']=a[j(0x1cd)],this['description']=a[j(0x1d0)],this[j(0x1b9)]=a[j(0x1b9)],this[j(0x1b4)]=a['category'],this[j(0x1cc)]=a[j(0x1cc)],this[j(0x1c1)]=a['color'],this[j(0x1c5)]=a[j(0x1c5)],this[j(0x1bf)]=a[j(0x1bf)],this[j(0x1b8)]=a['weight'],this['uuid']=a49e();}[a49i(0x1c7)](){var k=a49i;return k(0x1b5)+this[k(0x1cd)]+k(0x1cb);}}
@@ -1 +1 @@
1
- const a50i=a50d;function a50c(){const o=['3ayNPVK','speak','constructor','_name','toString','6CPgYsr','autonomousMove','1282546blBkZu','apply','(((.+)+)+)+$','scene','floor','65812tINmAy','5198661CsddfZ','452046RCaOhe','1zeborK','length','_dialogue','2992946mBZdYp','random','name','10WIdhff','rooms','1374755KcPlzB','4335912lMQrsA','moveTo','64WFAMze'];a50c=function(){return o;};return a50c();}function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x81;let f=c[d];return f;},a50d(a,b);}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x8b))/0x1*(parseInt(f(0x83))/0x2)+-parseInt(f(0x97))/0x3*(-parseInt(f(0x88))/0x4)+-parseInt(f(0x93))/0x5*(parseInt(f(0x81))/0x6)+-parseInt(f(0x8a))/0x7*(parseInt(f(0x96))/0x8)+parseInt(f(0x89))/0x9+-parseInt(f(0x91))/0xa*(-parseInt(f(0x8e))/0xb)+-parseInt(f(0x94))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x568ec));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x9b)]()['search'](h(0x85))['toString']()[h(0x99)](a50a)['search'](h(0x85));});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x9a)];[a50i(0x8d)];['rooms'];[a50i(0x86)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x9a)]=a,this[j(0x8d)]=b,this[j(0x92)]=c;}get[a50i(0x90)](){const k=a50i;return this[k(0x9a)];}[a50i(0x98)](){const l=a50i;return this[l(0x8d)][Math[l(0x87)](Math[l(0x8f)]()*this['_dialogue']['length'])];}[a50i(0x82)](a){const m=a50i,b=a[Math['floor'](Math[m(0x8f)]()*a[m(0x8c)])];this[m(0x95)](b['name']);}[a50i(0x95)](a){const n=a50i,b={'actor':this,'rooms':this[n(0x92)],'scene':this[n(0x86)]},c=new GoCommand(b);c['execute']([a]);}}
1
+ const a50h=a50d;function a50c(){const n=['moveTo','(((.+)+)+)+$','toString','1113630bJQgYQ','random','length','speak','constructor','scene','52610QpcfFk','3159HNRJiK','4723026iMRQaz','floor','search','autonomousMove','execute','name','2620IYiAte','5360008ntUrFX','307779CilDLO','105BctCGZ','2178507WlWlEI','rooms','_name','_dialogue','4ICRIsD'];a50c=function(){return n;};return a50c();}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x1ba))/0x1*(-parseInt(f(0x1a6))/0x2)+-parseInt(f(0x1bc))/0x3+parseInt(f(0x1b8))/0x4*(-parseInt(f(0x1bb))/0x5)+parseInt(f(0x1aa))/0x6+parseInt(f(0x1b2))/0x7+-parseInt(f(0x1b9))/0x8+parseInt(f(0x1b1))/0x9*(parseInt(f(0x1b0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xa65eb));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const g=a50d;return a50a[g(0x1a9)]()[g(0x1b4)]('(((.+)+)+)+$')[g(0x1a9)]()[g(0x1ae)](a50a)[g(0x1b4)](g(0x1a8));});a50a();import{Player}from'./player.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a50d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50h(0x1be)];['_dialogue'];[a50h(0x1bd)];[a50h(0x1af)];constructor(a,b,c,d){const i=a50h;super(d),this[i(0x1be)]=a,this[i(0x1bf)]=b,this['rooms']=c;}get[a50h(0x1b7)](){const j=a50h;return this[j(0x1be)];}[a50h(0x1ad)](){const k=a50h;return this[k(0x1bf)][Math[k(0x1b3)](Math[k(0x1ab)]()*this['_dialogue'][k(0x1ac)])];}[a50h(0x1b5)](a){const l=a50h,b=a[Math['floor'](Math[l(0x1ab)]()*a[l(0x1ac)])];this[l(0x1a7)](b[l(0x1b7)]);}[a50h(0x1a7)](a){const m=a50h,b={'actor':this,'rooms':this['rooms'],'scene':this[m(0x1af)]},c=new GoCommand(b);c[m(0x1b6)]([a]);}}
@@ -1 +1 @@
1
- const a51h=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a51d(a,b);}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x1e6))/0x1+-parseInt(f(0x1f3))/0x2*(-parseInt(f(0x1bb))/0x3)+-parseInt(f(0x1c7))/0x4+parseInt(f(0x1fe))/0x5+parseInt(f(0x1e1))/0x6+-parseInt(f(0x1f7))/0x7+parseInt(f(0x1ba))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xabf01));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const g=a51d;return a51a[g(0x1da)]()['search']('(((.+)+)+)+$')[g(0x1da)]()['constructor'](a51a)[g(0x1ac)](g(0x1f8));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51h(0x1d7)];[a51h(0x1f0)];[a51h(0x1c5)];['_equipment'];['_maxCarryingWeight']=0x32;['logger'];constructor(a){const i=a51h;super(),this[i(0x1d7)]=a['playerName'],this[i(0x1f0)]=a['startLocation']||new Room({'name':i(0x1ef),'description':i(0x1d2)}),this[i(0x1c5)]=new Inventory(),this[i(0x1f6)]=Logger['getInstance']();if(a?.[i(0x1a6)])for(const b of a[i(0x1a6)]){this[i(0x1c5)][i(0x1fd)](b);}this[i(0x1d6)]=a?.[i(0x1fa)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0x1a9)](){const j=a51h;return this[j(0x1d7)];}get['currentLocation'](){return this['_currentLocation'];}set[a51h(0x1c3)](a){const k=a51h;this['_currentLocation']!==a&&(this[k(0x1d1)](),this[k(0x202)](a)),this[k(0x1f0)]=a;}get[a51h(0x1e8)](){const l=a51h;return this[l(0x1c5)];}get[a51h(0x1db)](){return this['_equipment'];}set[a51h(0x1db)](a){const m=a51h;this[m(0x1d6)]=a;}get[a51h(0x1aa)](){return this['_maxCarryingWeight'];}set[a51h(0x1aa)](a){const n=a51h;a>0x0?this[n(0x1c2)]=a:console[n(0x1a5)](n(0x1b1));}get[a51h(0x1b8)](){const o=a51h;let a=this['_inventory'][o(0x1b2)]();for(const b in this[o(0x1d6)]){const c=this[o(0x1d6)][b];c&&(a+=c[o(0x1c8)]);}return a;}['addInventory'](a){const p=a51h;if(this['currentWeight']+a[p(0x1c8)]>this[p(0x1aa)]){this[p(0x1f6)][p(0x1cb)](p(0x1ee));throw new Error(p(0x1b4));}this[p(0x1c5)][p(0x1fd)](a),this[p(0x1f6)][p(0x1cb)](p(0x1be)+a[p(0x1a9)]+'\x20to\x20player\x27s\x20inventory.');}[a51h(0x1b5)](a){const q=a51h;if(this[q(0x1c5)][q(0x1f4)](a[q(0x1a9)]))return this['logger'][q(0x1cb)](q(0x203)+a['name']+q(0x1e4)),!![];return this[q(0x1f6)][q(0x1cb)](q(0x1ab)+a[q(0x1a9)]+q(0x1e4)),![];}['equip'](a){const r=a51h;if(!this['_inventory'][r(0x1ed)](a[r(0x1a9)]))return r(0x1d8)+a[r(0x1a9)]+r(0x1b6);if(!this[r(0x1e0)](a))return r(0x1f2)+a['name']+'.';const b=this[r(0x1e7)](a[r(0x1c0)]);if(!b)return a[r(0x1a9)]+r(0x1fc);if(this[r(0x1db)][b])return r(0x1c9)+b+r(0x1d4);return this[r(0x1db)][b]=a,this[r(0x1b5)](a),'You\x20equipped\x20'+a[r(0x1a9)]+'.';}[a51h(0x1cd)](a){const s=a51h;let b=a;if(!this[s(0x1db)][camelCase(b)]){b=this[s(0x1e7)](a);if(!b)return s(0x1dd)+a+'.';}return this['unequipBySlot'](b);}[a51h(0x1e7)](a){const t=a51h;switch(a[t(0x201)]()){case Category[t(0x1f5)][t(0x201)]():return t(0x1b9);case Category[t(0x1ca)][t(0x201)]():return t(0x1cc);case Category[t(0x204)][t(0x201)]():return t(0x1b0);case Category[t(0x1ad)][t(0x201)]():case Category[t(0x1ec)]['toLowerCase']():return t(0x1c6);case Category[t(0x1eb)][t(0x201)]():return t(0x1bd);case Category[t(0x1b3)][t(0x201)]():return t(0x1d0);case Category[t(0x1ea)][t(0x201)]():return t(0x1e5);case Category[t(0x1d9)]['toLowerCase']():return t(0x1f9);case t(0x1ff):return'rightHand';case t(0x1d3):return'leftHand';case t(0x1b0):return t(0x1b0);case t(0x1c1):case t(0x1dc):return'head';case t(0x1cf):return t(0x1bd);case t(0x1f1):case t(0x1af):return t(0x1d0);case t(0x1ae):case t(0x1de):return t(0x1e5);case t(0x1fb):case t(0x1bf):case t(0x1f9):return t(0x1f9);default:return null;}}[a51h(0x1e0)](a){const u=a51h;return Object[u(0x1d5)](Category)['includes'](a[u(0x1c0)]);}[a51h(0x1a7)](a){const v=a51h,b=this['equipment'][a];if(!b)return v(0x1bc)+a+v(0x1b7);return this[v(0x1ce)](b),this[v(0x1db)][a]=null,'You\x20unequipped\x20'+b[v(0x1a9)]+'.';}[a51h(0x1e3)](a,b){const w=a51h;a!==this&&this[w(0x1f6)][w(0x200)](a[w(0x1a9)]+'\x20says:\x20\x22'+b+'\x22');}[a51h(0x202)](a){const x=a51h;this[x(0x1f0)]=a,a['on'](x(0x1df),this[x(0x1e3)][x(0x1e2)](this)),this['logger']['write'](this['name']+x(0x1c4)+a['name']);}[a51h(0x1d1)](){const y=a51h;this[y(0x1f0)]&&(this[y(0x1f0)][y(0x1e9)](y(0x1df),this[y(0x1e3)][y(0x1e2)](this)),this[y(0x1f6)][y(0x1cb)](this[y(0x1a9)]+y(0x1a8)+this['_currentLocation'][y(0x1a9)]));}}function a51c(){const z=['bodyarmor','category','helmet','_maxCarryingWeight','currentLocation','\x20is\x20now\x20listening\x20in\x20room\x20','_inventory','head','4742248ErzPRy','weight','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','Shield','write','leftHand','unequip','addInventory','boots','legs','leaveRoom','A\x20featureless\x20room','shield','.\x20You\x20must\x20unequip\x20it\x20first.','values','_equipment','_playerName','You\x20don\x27t\x20have\x20','BodyArmor','toString','equipment','hat','Invalid\x20category\x20or\x20slot:\x20','armarmor','speak','canEquip','5499240sPqoos','bind','hear','\x20from\x20player\x27s\x20inventory.','arms','167091WefBdo','determineEquipmentSlot','inventory','off','ArmArmor','Boots','Hat','hasItem','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','Nexus','_currentLocation','leg\x20armor','You\x20can\x27t\x20equip\x20','6HHksFj','removeItem','Weapon','logger','5589437Banszt','(((.+)+)+)+$','torso','initialEquipment','body\x20armor','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','addItem','1006830ZWGYMy','weapon','log','toLowerCase','enterRoom','Removed\x20','Gloves','error','inventoryItems','unequipBySlot','\x20is\x20no\x20longer\x20listeng\x20in\x20','name','maxCarryingWeight','Failed\x20to\x20remove\x20','search','Helmet','arm\x20armor','legarmor','gloves','Max\x20carrying\x20weight\x20must\x20be\x20positive.','getWeight','LegArmor','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','removeInventory','\x20in\x20your\x20inventory.','\x20slot.','currentWeight','rightHand','10005648dNoewU','486789ndHqiB','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','feet','Added\x20'];a51c=function(){return z;};return a51c();}
1
+ function a51c(){const B=['1580680KemhhU','canEquip','(((.+)+)+)+$','102756OFmiJW','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','14193GohhPr','\x20slot.','rightHand','gloves','category','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','\x20says:\x20\x22','20dWxnWY','speak','41992lPIxwA','determineEquipmentSlot','currentWeight','off','torso','You\x20unequipped\x20','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','\x20is\x20no\x20longer\x20listeng\x20in\x20','removeItem','playerName','inventory','values','2610603bPWwNn','You\x20can\x27t\x20equip\x20','_equipment','error','Max\x20carrying\x20weight\x20must\x20be\x20positive.','Nexus','BodyArmor','hasItem','maxCarryingWeight','toString','hear','getInstance','arms','constructor','You\x20equipped\x20','startLocation','currentLocation','140FxvuOE','equipment','_playerName','search','enterRoom','logger','Gloves','log','feet','legarmor','addItem','262848yAdqVE','shield','toLowerCase','105vgJeoK','LegArmor','.\x20You\x20must\x20unequip\x20it\x20first.','leftHand','arm\x20armor','Shield','name','hat','Failed\x20to\x20remove\x20','write','_maxCarryingWeight','\x20from\x20player\x27s\x20inventory.','helmet','unequip','Invalid\x20category\x20or\x20slot:\x20','legs','armarmor','bind','head','Weapon','unequipBySlot','initialEquipment','getWeight','weight','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','weapon','142SxgBSj','1721423UuAjDx','ArmArmor','_inventory','Boots','bodyarmor','removeInventory','_currentLocation','Helmet','addInventory'];a51c=function(){return B;};return a51c();}const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x10e))/0x1+-parseInt(f(0x12b))/0x2*(parseInt(f(0xdd))/0x3)+-parseInt(f(0xe6))/0x4*(-parseInt(f(0x103))/0x5)+-parseInt(f(0x138))/0x6*(-parseInt(f(0x111))/0x7)+-parseInt(f(0x135))/0x8+parseInt(f(0xf2))/0x9+parseInt(f(0xe4))/0xa*(-parseInt(f(0x12c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x3ecfd));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const g=a51d;return a51a[g(0xfb)]()[g(0x106)]('(((.+)+)+)+$')[g(0xfb)]()[g(0xff)](a51a)[g(0x106)](g(0x137));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';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-0xdd;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{[a51h(0x105)];['_currentLocation'];[a51h(0x12e)];[a51h(0xf4)];['_maxCarryingWeight']=0x32;[a51h(0x108)];constructor(a){const i=a51h;super(),this[i(0x105)]=a[i(0xef)],this[i(0x132)]=a[i(0x101)]||new Room({'name':i(0xf7),'description':'A\x20featureless\x20room'}),this[i(0x12e)]=new Inventory(),this[i(0x108)]=Logger[i(0xfd)]();if(a?.['inventoryItems'])for(const b of a['inventoryItems']){this[i(0x12e)][i(0x10d)](b);}this['_equipment']=a?.[i(0x126)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0x117)](){return this['_playerName'];}get[a51h(0x102)](){const j=a51h;return this[j(0x132)];}set[a51h(0x102)](a){const k=a51h;this[k(0x132)]!==a&&(this['leaveRoom'](),this[k(0x107)](a)),this[k(0x132)]=a;}get[a51h(0xf0)](){const l=a51h;return this[l(0x12e)];}get[a51h(0x104)](){const m=a51h;return this[m(0xf4)];}set[a51h(0x104)](a){const n=a51h;this[n(0xf4)]=a;}get[a51h(0xfa)](){const o=a51h;return this[o(0x11b)];}set[a51h(0xfa)](a){const p=a51h;a>0x0?this['_maxCarryingWeight']=a:console[p(0xf5)](p(0xf6));}get[a51h(0xe8)](){const q=a51h;let a=this[q(0x12e)][q(0x127)]();for(const b in this['_equipment']){const c=this['_equipment'][b];c&&(a+=c[q(0x128)]);}return a;}[a51h(0x134)](a){const r=a51h;if(this[r(0xe8)]+a[r(0x128)]>this['maxCarryingWeight']){this[r(0x108)]['write']('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(r(0xec));}this[r(0x12e)]['addItem'](a),this[r(0x108)]['write']('Added\x20'+a['name']+'\x20to\x20player\x27s\x20inventory.');}[a51h(0x131)](a){const s=a51h;if(this[s(0x12e)][s(0xee)](a['name']))return this['logger'][s(0x11a)]('Removed\x20'+a[s(0x117)]+s(0x11c)),!![];return this['logger']['write'](s(0x119)+a['name']+s(0x11c)),![];}['equip'](a){const t=a51h;if(!this['_inventory'][t(0xf9)](a[t(0x117)]))return'You\x20don\x27t\x20have\x20'+a[t(0x117)]+'\x20in\x20your\x20inventory.';if(!this[t(0x136)](a))return t(0xf3)+a['name']+'.';const b=this[t(0xe7)](a[t(0xe1)]);if(!b)return a[t(0x117)]+t(0x129);if(this['equipment'][b])return t(0x139)+b+t(0x113);return this[t(0x104)][b]=a,this[t(0x131)](a),t(0x100)+a[t(0x117)]+'.';}[a51h(0x11e)](a){const u=a51h;let b=a;if(!this[u(0x104)][camelCase(b)]){b=this[u(0xe7)](a);if(!b)return u(0x11f)+a+'.';}return this[u(0x125)](b);}[a51h(0xe7)](a){const v=a51h;switch(a[v(0x110)]()){case Category[v(0x124)][v(0x110)]():return'rightHand';case Category[v(0x116)][v(0x110)]():return v(0x114);case Category[v(0x109)]['toLowerCase']():return v(0xe0);case Category[v(0x133)][v(0x110)]():case Category['Hat'][v(0x110)]():return'head';case Category[v(0x12f)][v(0x110)]():return v(0x10b);case Category[v(0x112)][v(0x110)]():return'legs';case Category[v(0x12d)][v(0x110)]():return v(0xfe);case Category[v(0xf8)][v(0x110)]():return v(0xea);case v(0x12a):return v(0xdf);case v(0x10f):return v(0x114);case'gloves':return v(0xe0);case v(0x11d):case v(0x118):return v(0x123);case'boots':return v(0x10b);case'leg\x20armor':case v(0x10c):return v(0x120);case v(0x115):case v(0x121):return'arms';case'body\x20armor':case v(0x130):case'torso':return'torso';default:return null;}}[a51h(0x136)](a){const w=a51h;return Object[w(0xf1)](Category)['includes'](a[w(0xe1)]);}['unequipBySlot'](a){const x=a51h,b=this['equipment'][a];if(!b)return x(0xe2)+a+x(0xde);return this[x(0x134)](b),this['equipment'][a]=null,x(0xeb)+b[x(0x117)]+'.';}['hear'](a,b){const y=a51h;a!==this&&this[y(0x108)][y(0x10a)](a[y(0x117)]+y(0xe3)+b+'\x22');}[a51h(0x107)](a){const z=a51h;this[z(0x132)]=a,a['on']('speak',this[z(0xfc)][z(0x122)](this)),this[z(0x108)]['write'](this[z(0x117)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[z(0x117)]);}['leaveRoom'](){const A=a51h;this['_currentLocation']&&(this[A(0x132)][A(0xe9)](A(0xe5),this[A(0xfc)][A(0x122)](this)),this[A(0x108)][A(0x11a)](this[A(0x117)]+A(0xed)+this[A(0x132)]['name']));}}
@@ -1 +1 @@
1
- function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x170;var f=c[d];return f;},a52d(a,b);}function a52c(){var m=['requiredItem','405430GrBcuo','apply','1165VSmwJD','8356wUUBZH','matchesRequiredPhrase','logger','(((.+)+)+)+$','hasItem','successMessage','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','1088030NIGBmb','search','7CtPqLI','4979124YiZUCI','rewardItem','getInstance','You\x20have\x20already\x20solved\x20this\x20puzzle.','toString','riddle','constructor','failureMessage','1442226NnNhsT','hasRequiredItem','solved','1sVOXGZ','requiredPhrase','2489080qnjEYg','solve','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','976167MTVtQB','write'];a52c=function(){return m;};return a52c();}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x17c))/0x1*(-parseInt(f(0x18e))/0x2)+parseInt(f(0x181))/0x3+parseInt(f(0x187))/0x4*(parseInt(f(0x186))/0x5)+parseInt(f(0x179))/0x6*(-parseInt(f(0x170))/0x7)+-parseInt(f(0x17e))/0x8+parseInt(f(0x171))/0x9+parseInt(f(0x184))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x4bc70));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x175)]()[h(0x18f)](h(0x18a))[h(0x175)]()[h(0x177)](a52a)[h(0x18f)]('(((.+)+)+)+$');});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x189)]=Logger[a52i(0x173)]();[a52i(0x17b)]=![];[a52i(0x183)];[a52i(0x17d)];[a52i(0x176)];[a52i(0x172)];[a52i(0x18c)];[a52i(0x178)];constructor(a){var j=a52i;super(),this[j(0x183)]=a[j(0x183)],this[j(0x17d)]=a[j(0x17d)],this[j(0x176)]=a[j(0x176)],this[j(0x172)]=a[j(0x172)],this[j(0x18c)]=a[j(0x18c)]||'You\x20solved\x20the\x20puzzle!',this[j(0x178)]=a[j(0x178)]||j(0x180);}['hasRequiredItem'](a){var k=a52i;if(this[k(0x183)])return a[k(0x18b)](this[k(0x183)]);return![];}[a52i(0x188)](a){return this['requiredPhrase']===a;}[a52i(0x17f)](a,b){var l=a52i;if(this[l(0x17b)])return this[l(0x189)]['write']('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':l(0x174)};return this[l(0x17a)](b)||this[l(0x188)](a)?(this[l(0x17b)]=!![],this[l(0x189)]['write']('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[l(0x18c)]}):(this[l(0x189)][l(0x182)](l(0x18d)),{'success':![],'message':this[l(0x178)]});}}
1
+ function a52c(){var n=['933352tcsnhO','49YZpNEc','requiredPhrase','logger','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','1729285bKYkVe','matchesRequiredPhrase','failureMessage','12oMFPBc','877374JCLcxF','(((.+)+)+)+$','requiredItem','5024260AoRPkp','riddle','solved','successMessage','solve','1899464QRWEXD','9LsFBoa','You\x20have\x20already\x20solved\x20this\x20puzzle.','search','392396jvoIWz','507907aTUETi','rewardItem','apply','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','You\x20solved\x20the\x20puzzle!','hasRequiredItem','write'];a52c=function(){return n;};return a52c();}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x1a8))/0x1+parseInt(f(0x1c4))/0x2*(parseInt(f(0x1b7))/0x3)+-parseInt(f(0x1c0))/0x4+parseInt(f(0x1b4))/0x5+-parseInt(f(0x1b8))/0x6+-parseInt(f(0x1b0))/0x7*(parseInt(f(0x1af))/0x8)+-parseInt(f(0x1c1))/0x9*(-parseInt(f(0x1bb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xabae4));function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1a8;var f=c[d];return f;},a52d(a,b);}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1aa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x1c3)](h(0x1b9))['toString']()['constructor'](a52a)[h(0x1c3)]('(((.+)+)+)+$');});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x1b2)]=Logger['getInstance']();[a52i(0x1bd)]=![];[a52i(0x1ba)];[a52i(0x1b1)];[a52i(0x1bc)];[a52i(0x1a9)];[a52i(0x1be)];['failureMessage'];constructor(a){var j=a52i;super(),this[j(0x1ba)]=a['requiredItem'],this[j(0x1b1)]=a[j(0x1b1)],this[j(0x1bc)]=a[j(0x1bc)],this['rewardItem']=a[j(0x1a9)],this[j(0x1be)]=a[j(0x1be)]||j(0x1ac),this['failureMessage']=a[j(0x1b6)]||j(0x1ab);}[a52i(0x1ad)](a){var k=a52i;if(this[k(0x1ba)])return a['hasItem'](this[k(0x1ba)]);return![];}[a52i(0x1b5)](a){var l=a52i;return this[l(0x1b1)]===a;}[a52i(0x1bf)](a,b){var m=a52i;if(this[m(0x1bd)])return this['logger'][m(0x1ae)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':m(0x1c2)};return this[m(0x1ad)](b)||this[m(0x1b5)](a)?(this[m(0x1bd)]=!![],this[m(0x1b2)][m(0x1ae)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[m(0x1be)]}):(this[m(0x1b2)][m(0x1ae)](m(0x1b3)),{'success':![],'message':this[m(0x1b6)]});}}
@@ -1 +1 @@
1
- const a53h=a53d;function a53c(){const t=['13116MNRhXk','10KXsqPM','toString','north','1463XgTZwP','name','\x20remains\x20locked.','isStartRoom','description','(((.+)+)+)+$','hasItem','Invalid\x20direction:\x20','riddle','set','8DJDbhV','\x20unlocked!','exits','getOppositeDirection','puzzle','values','search','say','421690LVUhCW','getInstance','addExit','addItem','east','roomType','Puzzle\x20set\x20for\x20room\x20','660BjwtSl','Room\x20created:\x20','checkIfLocked','No\x20locked\x20exit\x20found\x20in\x20direction\x20','The\x20','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','write','NORTH','get','inventory','3673028qTSota','logger','Item\x20removed\x20from\x20room\x20','speak','DOWN','EAST','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','Item\x20added\x20to\x20room\x20','findExistingDoor','5209141AuTkhI','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','1906329fCWJCl','49823MzUOCN','constructor','roomB','emit','153XCRjut','84504BzJvUl','attemptUnlock','removeItem'];a53c=function(){return t;};return a53c();}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x1a3))/0x1*(parseInt(f(0x1ac))/0x2)+parseInt(f(0x1a2))/0x3+-parseInt(f(0x197))/0x4+-parseInt(f(0x18d))/0x5*(-parseInt(f(0x1ab))/0x6)+parseInt(f(0x1a0))/0x7*(-parseInt(f(0x17e))/0x8)+-parseInt(f(0x1a7))/0x9*(-parseInt(f(0x186))/0xa)+parseInt(f(0x1af))/0xb*(parseInt(f(0x1a8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xa293f));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(0x1ad)]()[g(0x184)](g(0x1b4))['toString']()[g(0x1a4)](a53a)[g(0x184)](g(0x1b4));});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x17b;let f=c[d];return f;},a53d(a,b);}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53h(0x198)]=Logger[a53h(0x187)]();[a53h(0x1b0)];[a53h(0x1b3)];[a53h(0x180)]=new Map();[a53h(0x18b)];[a53h(0x1b2)];[a53h(0x196)]=new Inventory();constructor(a){const i=a53h;super(),this[i(0x1b0)]=a[i(0x1b0)],this[i(0x1b3)]=a[i(0x1b3)],this[i(0x18b)]=a[i(0x18b)]||RoomType['INSIDE'],a[i(0x180)]&&(this['exits']=a[i(0x180)]||new Map()),a['inventory']&&(this[i(0x196)]=a[i(0x196)]),a[i(0x182)]&&(this[i(0x182)]=a['puzzle']),this[i(0x1b2)]=a[i(0x1b2)]||![],this[i(0x198)][i(0x193)](i(0x18e)+this[i(0x1b0)]);}[a53h(0x185)](a,b){const j=a53h;this[j(0x1a6)](j(0x19a),a,b);}[a53h(0x188)](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(0x17d)](a,d),b['exits']['set'](this[k(0x181)](a),d);}['attemptUnlockExit'](a,b){const l=a53h,c=this[l(0x180)]['get'](a);if(c instanceof Door){const d=c[l(0x1a9)](b);return this[l(0x198)]['write'](l(0x1a1)+a+'.\x20Success:\x20'+d),d?l(0x191)+c[l(0x1b0)]+l(0x17f):'The\x20'+c[l(0x1b0)]+l(0x1b1);}return this[l(0x198)][l(0x193)](l(0x190)+a),l(0x192);}['getExit'](a){const m=a53h;return this[m(0x198)][m(0x193)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[m(0x180)][m(0x195)](a);}['isExitLocked'](a){const n=a53h,b=this[n(0x180)][n(0x195)](a),c=b instanceof Door&&b[n(0x18f)]();return this[n(0x198)][n(0x193)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a53h(0x189)](a){const o=a53h;this['inventory'][o(0x189)](a),this[o(0x198)]['write'](o(0x19e)+this['name']+':\x20'+a[o(0x1b0)]);}[a53h(0x1aa)](a){const p=a53h;this[p(0x196)][p(0x1b5)](a[p(0x1b0)])?(this[p(0x196)][p(0x1aa)](a[p(0x1b0)]),this[p(0x198)]['write'](p(0x199)+this['name']+':\x20'+a['name'])):this['logger'][p(0x193)](p(0x19d)+this['name']+':\x20'+a[p(0x1b0)]);}['setPuzzle'](a){const q=a53h;this[q(0x182)]=a,this[q(0x198)][q(0x193)](q(0x18c)+this[q(0x1b0)]+':\x20'+a[q(0x17c)]);}['getOppositeDirection'](a){const r=a53h;switch(a){case r(0x1ae):return Direction['SOUTH'];case'south':return Direction[r(0x194)];case r(0x18a):return Direction['WEST'];case'west':return Direction[r(0x19c)];case'up':return Direction[r(0x19b)];case'down':return Direction['UP'];default:throw new Error(r(0x17b)+a);}}[a53h(0x19f)](a){const s=a53h;for(const b of this[s(0x180)][s(0x183)]()){if(b instanceof Door){if(b['roomA']===this&&b['roomB']===a||b[s(0x1a5)]===this&&b['roomA']===a)return b;}}return undefined;}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xf2))/0x1+parseInt(f(0x118))/0x2+-parseInt(f(0xf6))/0x3*(parseInt(f(0x11d))/0x4)+-parseInt(f(0xf9))/0x5*(-parseInt(f(0xee))/0x6)+parseInt(f(0x115))/0x7+-parseInt(f(0x107))/0x8+parseInt(f(0x119))/0x9*(parseInt(f(0x105))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x93928));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()['search'](h(0x117))[h(0x121)]()[h(0x11c)](a53a)[h(0x11b)](h(0x117));});a53a();import{Logger}from'../utilities/logger.js';function a53c(){const u=['removeItem','.\x20Success:\x20','values','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','18UDGHZC','DOWN','puzzle','getInstance','994863dXNvSG','south','WEST','down','3FtXDke','roomA','attemptUnlockExit','1270595wKmeEn','logger','No\x20locked\x20exit\x20found\x20in\x20direction\x20','Fetching\x20exit\x20in\x20direction:\x20','getOppositeDirection','Item\x20added\x20to\x20room\x20','inventory','roomType','isStartRoom','addExit','name','description','40VjAvKK','Item\x20removed\x20from\x20room\x20','5069712GIUFxI','\x20remains\x20locked.','checkIfLocked','get','apply','SOUTH','speak','write','\x20is\x20locked.\x20Result:\x20','\x20unlocked!','north','INSIDE','The\x20','west','5200566aLmLYI','findExistingDoor','(((.+)+)+)+$','1733612WxhAsg','491328AbQfhS','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','search','constructor','1429744AMKSVT','east','emit','exits','toString','set','hasItem','addItem','roomB','Invalid\x20direction:\x20'];a53c=function(){return u;};return a53c();}function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xea;let f=c[d];return f;},a53d(a,b);}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0xfa)]=Logger[a53i(0xf1)]();[a53i(0x103)];[a53i(0x104)];['exits']=new Map();['roomType'];['isStartRoom'];[a53i(0xff)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x103)]=a[j(0x103)],this[j(0x104)]=a['description'],this[j(0x100)]=a['roomType']||RoomType[j(0x112)],a[j(0x120)]&&(this[j(0x120)]=a[j(0x120)]||new Map()),a[j(0xff)]&&(this[j(0xff)]=a['inventory']),a[j(0xf0)]&&(this[j(0xf0)]=a[j(0xf0)]),this[j(0x101)]=a['isStartRoom']||![],this['logger'][j(0x10e)]('Room\x20created:\x20'+this['name']);}['say'](a,b){const k=a53i;this[k(0x11f)](k(0x10d),a,b);}[a53i(0x102)](a,b,c){const l=a53i;let d=this[l(0x116)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x122)](a,d),b[l(0x120)][l(0x122)](this['getOppositeDirection'](a),d);}[a53i(0xf8)](a,b){const m=a53i,c=this[m(0x120)][m(0x10a)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0xfa)][m(0x10e)](m(0xed)+a+m(0xeb)+d),d?m(0x113)+c['name']+m(0x110):m(0x113)+c[m(0x103)]+m(0x108);}return this[m(0xfa)][m(0x10e)](m(0xfb)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}['getExit'](a){const n=a53i;return this[n(0xfa)]['write'](n(0xfc)+a),this[n(0x120)][n(0x10a)](a);}['isExitLocked'](a){const o=a53i,b=this['exits'][o(0x10a)](a),c=b instanceof Door&&b[o(0x109)]();return this[o(0xfa)]['write']('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0x10f)+c),c;}[a53i(0x124)](a){const p=a53i;this[p(0xff)][p(0x124)](a),this['logger'][p(0x10e)](p(0xfe)+this[p(0x103)]+':\x20'+a['name']);}[a53i(0xea)](a){const q=a53i;this['inventory'][q(0x123)](a[q(0x103)])?(this['inventory']['removeItem'](a[q(0x103)]),this[q(0xfa)][q(0x10e)](q(0x106)+this[q(0x103)]+':\x20'+a['name'])):this[q(0xfa)][q(0x10e)](q(0x11a)+this[q(0x103)]+':\x20'+a[q(0x103)]);}['setPuzzle'](a){const r=a53i;this[r(0xf0)]=a,this['logger'][r(0x10e)]('Puzzle\x20set\x20for\x20room\x20'+this[r(0x103)]+':\x20'+a['riddle']);}[a53i(0xfd)](a){const s=a53i;switch(a){case s(0x111):return Direction[s(0x10c)];case s(0xf3):return Direction['NORTH'];case s(0x11e):return Direction[s(0xf4)];case s(0x114):return Direction['EAST'];case'up':return Direction[s(0xef)];case s(0xf5):return Direction['UP'];default:throw new Error(s(0x126)+a);}}[a53i(0x116)](a){const t=a53i;for(const b of this[t(0x120)][t(0xec)]()){if(b instanceof Door){if(b[t(0xf7)]===this&&b[t(0x125)]===a||b['roomB']===this&&b[t(0xf7)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0xa4))/0x1*(parseInt(i(0x74))/0x2)+-parseInt(i(0xaa))/0x3+-parseInt(i(0x8e))/0x4+-parseInt(i(0x93))/0x5*(parseInt(i(0x86))/0x6)+parseInt(i(0x79))/0x7*(parseInt(i(0xad))/0x8)+-parseInt(i(0xb3))/0x9*(parseInt(i(0x77))/0xa)+parseInt(i(0xa6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xdc1cb));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a['toString']()[k(0x83)]('(((.+)+)+)+$')['toString']()[k(0x89)](a54a)[k(0x83)](k(0x75));});a54a();import{Logger}from'../utilities/logger.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x6c;let f=c[d];return f;},a54d(a,b);}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a54c(){const C=['roomFactory','warn','toUpperCase','857951gilvBr','name','13808729NpiPPh','hasOwnProperty','roomConfiguration','Added\x20item\x20','3708399FnWjow','getInstance','addItem','3904swLLvE','Added\x20room\x20to\x20scene:\x20','length','delete','\x22\x20does\x20not\x20exist.','exits','50202uIjYxa','keys','keyRequired','createExitsFromConfig','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','initialize','direction','getActor','setCharacterLocation','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','4dqDMhA','(((.+)+)+)+$','logger','1940jhvjFi','.\x20Room\x20','19089XTFzrc','\x20is\x20now\x20in\x20room\x20','getCharacterLocation','characterLocations','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','Failed\x20to\x20add\x20item\x20','createRoom','getRooms','actors','addRoom','search','addItemToRoom','player','42SRCDJN','generateRoomsFromConfig','determineStartRoom','constructor','values','currentLocation','from','setPuzzle','4308644GDATIy','removeRoom','apply','write','\x20not\x20found\x20in\x20scene.','3580LQEdQF','connectRooms','targetRoom','set','Room\x20\x22','addPuzzleToRoom','No\x20actor\x20with\x20name\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','addExit','rooms','has','Failed\x20to\x20add\x20puzzle.\x20Room\x20','allActors','getPlayer'];a54c=function(){return C;};return a54c();}export class Scene extends AbstractScene{['rooms'];[a54l(0x85)];['logger'];[a54l(0x81)];[a54l(0x7c)]=new Map();[a54l(0xa1)];constructor(a){const m=a54l;super(),this[m(0xa1)]=new RoomFactory(),this[m(0x85)]=a[m(0x85)],this[m(0x9c)]=this[m(0x87)](a[m(0xa8)]),this['logger']=Logger[m(0xab)](),this[m(0x81)]=new Map(),this['createExitsFromConfig'](a[m(0xa8)]),this[m(0x76)]['write']('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0xb4)](this['rooms'])['join'](',\x20'));}[a54l(0x6e)](){const n=a54l;this[n(0x85)][n(0x8b)]=this[n(0x88)]();}[a54l(0x87)](a){const o=a54l;if(!this[o(0xa1)])throw new Error(o(0x72));const b={};for(const c of a){const d=this['roomFactory'][o(0x7f)](c);b[c[o(0xa5)]]=d;}return b;}[a54l(0x6c)](a){const p=a54l;for(const b of a){const c=this[p(0x9c)][b[p(0xa5)]];if(b['exits'])for(const d of b[p(0xb2)]){const e=d[p(0x6f)][p(0xa3)](),f=d[p(0x95)],g=d[p(0xb5)],h=this[p(0x9c)][f];h&&c[p(0x9b)](Direction[e],h,g);}}}['addActor'](a){const q=a54l;if(this[q(0x81)][q(0x9d)](a[q(0xa5)]))throw new Error('Actor\x20with\x20name\x20'+a[q(0xa5)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x81)][q(0x96)](a['name'],a);}['removeActor'](a){const r=a54l;if(!this[r(0x81)][r(0x9d)](a))throw new Error(r(0x99)+a+'\x20found\x20in\x20the\x20scene.');this[r(0x81)][r(0xb0)](a);}[a54l(0x70)](a){return this['actors']['get'](a);}get[a54l(0x9f)](){const s=a54l;return Array[s(0x8c)](this[s(0x81)][s(0x8a)]());}[a54l(0x82)](a){const t=a54l;this[t(0x9c)][a[t(0xa5)]]=a,this['logger'][t(0x91)](t(0xae)+a['name']);}[a54l(0x8f)](a){const u=a54l;return this[u(0x9c)][a]?(delete this[u(0x9c)][a],this[u(0x76)][u(0x91)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[u(0x76)][u(0x91)](u(0x7d)+a),![]);}[a54l(0x84)](a,b){const v=a54l,c=this['rooms'][b];c?(c[v(0xac)](a),this['logger']['write'](v(0xa9)+a['name']+'\x20to\x20room\x20'+c[v(0xa5)])):this['logger'][v(0x91)](v(0x7e)+a['name']+v(0x78)+b+v(0x92));}[a54l(0x98)](a,b){const w=a54l,c=this[w(0x9c)][b];c?(c[w(0x8d)](a),this[w(0x76)][w(0x91)]('Added\x20puzzle\x20to\x20room\x20'+c[w(0xa5)])):this[w(0x76)][w(0x91)](w(0x9e)+b+w(0x92));}[a54l(0x71)](a,b){const x=a54l,c=this[x(0x9c)][b];c?(this[x(0x7c)][x(0x96)](a[x(0xa5)],c),this[x(0x76)]['write'](a[x(0xa5)]+x(0x7a)+c[x(0xa5)])):this[x(0x76)][x(0x91)]('Failed\x20to\x20set\x20'+a['name']+'\x27s\x20location.\x20Room\x20'+b+x(0x92));}[a54l(0x7b)](a){const y=a54l;return this[y(0x7c)]['get'](a[y(0xa5)]);}[a54l(0x88)](){const z=a54l,a=[];for(const c in this[z(0x9c)]){if(this['rooms'][z(0xa7)](c)){const d=this[z(0x9c)][c];d['isStartRoom']&&a['push'](d);}}if(a[z(0xaf)]>0x1)throw new Error(z(0x73));if(a[z(0xaf)]===0x1)return a[0x0];const b=Object[z(0xb4)](this[z(0x9c)]);if(b[z(0xaf)]===0x0)throw new Error(z(0x6d));return console[z(0xa2)](z(0x9a)),this[z(0x9c)][b[0x0]];}[a54l(0xa0)](){const A=a54l;return this[A(0x85)];}[a54l(0x80)](){return this['rooms'];}[a54l(0x94)](a,b,c,d){const B=a54l,e=this[B(0x9c)][a],f=this[B(0x9c)][c];if(!e)throw new Error(B(0x97)+a+B(0xb1));if(!f)throw new Error(B(0x97)+c+B(0xb1));e[B(0x9b)](b,f,d);}}
1
+ const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x86))/0x1*(-parseInt(i(0x90))/0x2)+parseInt(i(0xab))/0x3*(-parseInt(i(0xb2))/0x4)+parseInt(i(0x8c))/0x5+parseInt(i(0xb1))/0x6*(parseInt(i(0x9e))/0x7)+parseInt(i(0x8a))/0x8*(-parseInt(i(0xb4))/0x9)+parseInt(i(0x93))/0xa*(parseInt(i(0x9c))/0xb)+-parseInt(i(0x75))/0xc*(-parseInt(i(0x7a))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xc7dbe));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x6f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x6c)]()[k(0x83)](k(0x6b))[k(0x6c)]()[k(0x6d)](a54a)[k(0x83)](k(0x6b));});a54a();function a54c(){const D=['keyRequired','exits','set','Added\x20item\x20','removeActor','18GWlhwY','\x20already\x20exists\x20in\x20the\x20scene.','toUpperCase','currentLocation','join','Added\x20room\x20to\x20scene:\x20','1917534mIzsHD','878092QfZLCI','Failed\x20to\x20add\x20puzzle.\x20Room\x20','3087171BKamce','player','(((.+)+)+)+$','toString','constructor','getPlayer','apply','setPuzzle','addActor','Removed\x20room\x20from\x20scene:\x20','direction','get','1002732lroyWq','delete','allActors','addPuzzleToRoom','from','78UmqFnW','roomConfiguration','length','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','.\x20Room\x20','push','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','addRoom','keys','search','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','getActor','458nDhwpt','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','characterLocations','addExit','24jOVFgq','rooms','706755OqAmfl','\x22\x20does\x20not\x20exist.','roomFactory','createRoom','3172QieDmw','generateRoomsFromConfig','addItem','360030jBjmXe','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','Failed\x20to\x20add\x20item\x20','\x27s\x20location.\x20Room\x20','getInstance','write','determineStartRoom','warn','targetRoom','451JoDzIE','actors','7TYwRRg','Failed\x20to\x20set\x20','name','\x20is\x20now\x20in\x20room\x20','initialize','logger','No\x20actor\x20with\x20name\x20','has'];a54c=function(){return D;};return a54c();}import{Logger}from'../utilities/logger.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x6a;let f=c[d];return f;},a54d(a,b);}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x8b)];[a54l(0x6a)];[a54l(0xa3)];[a54l(0x9d)];[a54l(0x88)]=new Map();[a54l(0x8e)];constructor(a){const m=a54l;super(),this[m(0x8e)]=new RoomFactory(),this['player']=a[m(0x6a)],this[m(0x8b)]=this[m(0x91)](a[m(0x7b)]),this['logger']=Logger[m(0x97)](),this[m(0x9d)]=new Map(),this['createExitsFromConfig'](a[m(0x7b)]),this[m(0xa3)][m(0x98)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x82)](this[m(0x8b)])[m(0xaf)](',\x20'));}[a54l(0xa2)](){const n=a54l;this['player'][n(0xae)]=this[n(0x99)]();}[a54l(0x91)](a){const o=a54l;if(!this[o(0x8e)])throw new Error(o(0x87));const b={};for(const c of a){const d=this['roomFactory'][o(0x8f)](c);b[c[o(0xa0)]]=d;}return b;}['createExitsFromConfig'](a){const p=a54l;for(const b of a){const c=this['rooms'][b[p(0xa0)]];if(b[p(0xa7)])for(const d of b[p(0xa7)]){const e=d[p(0x73)][p(0xad)](),f=d[p(0x9b)],g=d[p(0xa6)],h=this[p(0x8b)][f];h&&c[p(0x89)](Direction[e],h,g);}}}[a54l(0x71)](a){const q=a54l;if(this['actors'][q(0xa5)](a[q(0xa0)]))throw new Error('Actor\x20with\x20name\x20'+a[q(0xa0)]+q(0xac));this[q(0x9d)][q(0xa8)](a[q(0xa0)],a);}[a54l(0xaa)](a){const r=a54l;if(!this['actors'][r(0xa5)](a))throw new Error(r(0xa4)+a+'\x20found\x20in\x20the\x20scene.');this['actors'][r(0x76)](a);}[a54l(0x85)](a){const s=a54l;return this[s(0x9d)][s(0x74)](a);}get[a54l(0x77)](){const t=a54l;return Array[t(0x79)](this[t(0x9d)]['values']());}[a54l(0x81)](a){const u=a54l;this['rooms'][a['name']]=a,this['logger'][u(0x98)](u(0xb0)+a['name']);}['removeRoom'](a){const v=a54l;return this[v(0x8b)][a]?(delete this[v(0x8b)][a],this[v(0xa3)][v(0x98)](v(0x72)+a),!![]):(this[v(0xa3)][v(0x98)](v(0x84)+a),![]);}['addItemToRoom'](a,b){const w=a54l,c=this[w(0x8b)][b];c?(c[w(0x92)](a),this[w(0xa3)][w(0x98)](w(0xa9)+a['name']+'\x20to\x20room\x20'+c[w(0xa0)])):this[w(0xa3)][w(0x98)](w(0x95)+a[w(0xa0)]+w(0x7e)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x78)](a,b){const x=a54l,c=this[x(0x8b)][b];c?(c[x(0x70)](a),this[x(0xa3)][x(0x98)]('Added\x20puzzle\x20to\x20room\x20'+c[x(0xa0)])):this['logger'][x(0x98)](x(0xb3)+b+'\x20not\x20found\x20in\x20scene.');}['setCharacterLocation'](a,b){const y=a54l,c=this[y(0x8b)][b];c?(this['characterLocations'][y(0xa8)](a[y(0xa0)],c),this[y(0xa3)][y(0x98)](a[y(0xa0)]+y(0xa1)+c[y(0xa0)])):this['logger'][y(0x98)](y(0x9f)+a[y(0xa0)]+y(0x96)+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const z=a54l;return this['characterLocations'][z(0x74)](a[z(0xa0)]);}[a54l(0x99)](){const A=a54l,a=[];for(const c in this['rooms']){if(this[A(0x8b)]['hasOwnProperty'](c)){const d=this[A(0x8b)][c];d['isStartRoom']&&a[A(0x7f)](d);}}if(a['length']>0x1)throw new Error(A(0x7d));if(a[A(0x7c)]===0x1)return a[0x0];const b=Object[A(0x82)](this[A(0x8b)]);if(b[A(0x7c)]===0x0)throw new Error(A(0x94));return console[A(0x9a)](A(0x80)),this['rooms'][b[0x0]];}[a54l(0x6e)](){const B=a54l;return this[B(0x6a)];}['getRooms'](){return this['rooms'];}['connectRooms'](a,b,c,d){const C=a54l,e=this[C(0x8b)][a],f=this[C(0x8b)][c];if(!e)throw new Error('Room\x20\x22'+a+C(0x8d));if(!f)throw new Error('Room\x20\x22'+c+C(0x8d));e['addExit'](b,f,d);}}
@@ -1 +1 @@
1
- var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x1b2))/0x1+parseInt(f(0x1c4))/0x2*(parseInt(f(0x1d4))/0x3)+-parseInt(f(0x1c0))/0x4+-parseInt(f(0x1cc))/0x5+-parseInt(f(0x1bf))/0x6*(parseInt(f(0x1cf))/0x7)+parseInt(f(0x1b4))/0x8+parseInt(f(0x1ba))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x1d847));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1be)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x1b3)]()[h(0x1b9)]('(((.+)+)+)+$')['toString']()['constructor'](a55a)[h(0x1b9)](h(0x1b1));});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['Medium'],'category':Category[i(0x1d8)],'shape':Shape[i(0x1ce)],'color':Color['Yellow'],'texture':Texture[i(0x1b8)],'rating':Rating[i(0x1d5)],'weight':0x1});}[a55j(0x1c1)](){var k=a55j;return this[k(0x1b6)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size[l(0x1ad)],'category':Category[l(0x1af)],'shape':Shape[l(0x1d3)],'color':Color[l(0x1ae)],'texture':Texture['Metallic'],'rating':Rating[l(0x1d5)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0x1cb)],'category':Category['Weapon'],'shape':Shape['Rifle'],'color':Color[m(0x1b5)],'texture':Texture[m(0x1b7)],'rating':Rating[m(0x1cd)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x1ad)],'category':Category[n(0x1c9)],'shape':Shape[n(0x1c3)],'color':Color['Grey'],'texture':Texture[n(0x1b7)],'rating':Rating[n(0x1d5)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[o(0x1d0)],'shape':Shape[o(0x1ce)],'color':Color[o(0x1ae)],'texture':Texture[o(0x1b7)],'rating':Rating[o(0x1d5)],'weight':0xa});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1ac;var f=c[d];return f;},a55d(a,b);}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0x1ad)],'category':Category[p(0x1c6)],'shape':Shape[p(0x1ce)],'color':Color[p(0x1ae)],'texture':Texture[p(0x1b7)],'rating':Rating[p(0x1d5)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x1ad)],'category':Category[q(0x1bc)],'shape':Shape[q(0x1c3)],'color':Color[q(0x1b5)],'texture':Texture[q(0x1b8)],'rating':Rating[q(0x1d5)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x1ac)],'category':Category[r(0x1d7)],'shape':Shape[r(0x1c3)],'color':Color[r(0x1b5)],'texture':Texture[r(0x1b8)],'rating':Rating[r(0x1d5)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x1ad)],'category':Category['ArmArmor'],'shape':Shape['Rectangle'],'color':Color[s(0x1ae)],'texture':Texture[s(0x1b7)],'rating':Rating[s(0x1d5)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x1b0)],'category':Category['Key'],'shape':Shape[t(0x1ce)],'color':Color['Yellow'],'texture':Texture['Smooth'],'rating':Rating[t(0x1d5)],'weight':0x0});}[a55j(0x1c1)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var u=a55j;super({'name':a,'description':b,'size':Size[u(0x1ad)],'category':Category[u(0x1af)],'shape':Shape[u(0x1d3)],'color':Color[u(0x1ae)],'texture':Texture[u(0x1b7)],'rating':Rating[u(0x1d5)],'weight':0x3});}['use'](){var v=a55j;return v(0x1c5);}}export class Book extends Item{[a55j(0x1d2)];[a55j(0x1bd)];['pageCount'];constructor(a,b=a55j(0x1d6),c='Unknown\x20Author'){var w=a55j;super({'name':a,'description':b,'size':Size[w(0x1ad)],'category':Category[w(0x1c7)],'shape':Shape[w(0x1ce)],'color':Color[w(0x1b5)],'texture':Texture[w(0x1b8)],'rating':Rating[w(0x1d5)],'weight':0x1}),this[w(0x1d2)]=c,this[w(0x1bd)]=new Date(),this['pageCount']=0x64;}[a55j(0x1c1)](){var x=a55j;return x(0x1d1);}}export class ShortSword extends Item{constructor(){var y=a55j;super({'name':'Short\x20Sword','description':'A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','size':Size[y(0x1ad)],'category':Category[y(0x1af)],'shape':Shape['Blade'],'color':Color[y(0x1ae)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}[a55j(0x1c1)](){var z=a55j;return z(0x1c5);}}export class SniperRifle extends Item{constructor(){var A=a55j;super({'name':'Sniper\x20Rifle','description':A(0x1db),'size':Size[A(0x1cb)],'category':Category['Weapon'],'shape':Shape[A(0x1da)],'color':Color[A(0x1b5)],'texture':Texture[A(0x1b8)],'rating':Rating['Common'],'weight':0x5});}[a55j(0x1c1)](){var B=a55j;return B(0x1d9);}}function a55c(){var E=['Medium','Grey','Weapon','Tiny','(((.+)+)+)+$','139294kTyYpn','toString','65912eTxJjR','Brown','description','Metallic','Smooth','search','5737635Usjmaq','Cup','Boots','publishDate','apply','19386nfZQOH','859920WlefhM','use','name','Circle','37258eshtav','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','LegArmor','Book','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Helmet','Gold','Large','800635oIgAzT','Rare','Rectangle','63HaWgkT','BodyArmor','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','author','Blade','3JCRtRb','Common','A\x20mysterious\x20book.','Gloves','Unknown','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Rifle','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Small'];a55c=function(){return E;};return a55c();}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':'Holy\x20Grail','description':C(0x1c8),'size':Size[C(0x1ac)],'category':Category[C(0x1bb)],'shape':Shape[C(0x1c3)],'color':Color[C(0x1ca)],'texture':Texture[C(0x1b7)],'rating':Rating['Legendary'],'weight':0x1});}[a55j(0x1c1)](){var D=a55j;return'You\x20hold\x20the\x20'+this[D(0x1c2)]+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}
1
+ var a55s=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x1b6))/0x1+parseInt(f(0x1b1))/0x2*(parseInt(f(0x1bd))/0x3)+-parseInt(f(0x1cc))/0x4*(parseInt(f(0x1d7))/0x5)+-parseInt(f(0x1af))/0x6*(-parseInt(f(0x1a0))/0x7)+parseInt(f(0x1ca))/0x8*(-parseInt(f(0x1d2))/0x9)+parseInt(f(0x1d0))/0xa+parseInt(f(0x1b4))/0xb*(-parseInt(f(0x1c7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x4f565));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()['search'](h(0x1ae))[h(0x1d3)]()[h(0x1a4)](a55a)[h(0x1c1)](h(0x1ae));});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['Medium'],'category':Category[i(0x1cd)],'shape':Shape[i(0x1c5)],'color':Color[i(0x1a9)],'texture':Texture[i(0x1a6)],'rating':Rating['Common'],'weight':0x1});}['use'](){return this['description'];}}export class Sword extends Item{constructor(a,b){var j=a55d;super({'name':a,'description':b,'size':Size[j(0x1d4)],'category':Category['Weapon'],'shape':Shape[j(0x1ac)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[j(0x1cb)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var k=a55d;super({'name':a,'description':b,'size':Size[k(0x1d8)],'category':Category[k(0x1b9)],'shape':Shape[k(0x1b8)],'color':Color['Brown'],'texture':Texture['Metallic'],'rating':Rating[k(0x1d5)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var l=a55d;super({'name':a,'description':b,'size':Size[l(0x1d4)],'category':Category[l(0x1b2)],'shape':Shape[l(0x1b3)],'color':Color[l(0x1b0)],'texture':Texture[l(0x1c2)],'rating':Rating[l(0x1cb)],'weight':0x2});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1a0;var f=c[d];return f;},a55d(a,b);}export class BodyArmor extends Item{constructor(a,b){var m=a55d;super({'name':a,'description':b,'size':Size[m(0x1d8)],'category':Category[m(0x1aa)],'shape':Shape['Rectangle'],'color':Color[m(0x1b0)],'texture':Texture[m(0x1c2)],'rating':Rating[m(0x1cb)],'weight':0xa});}}function a55c(){var C=['Cup','548998ItNHie','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Rifle','Weapon','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Boots','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','42519FwTmdc','Holy\x20Grail','Book','A\x20mysterious\x20book.','search','Metallic','name','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Rectangle','publishDate','12YkVlOl','pageCount','Gloves','54128eRXmKo','Common','4WLEJbu','Unknown','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Small','5201320XknLtB','Tiny','801TwTkBw','toString','Medium','Rare','Sniper\x20Rifle','874385iGUIcr','Large','Legendary','use','author','28fUuMzh','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Key','Gold','constructor','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Smooth','Unknown\x20Author','apply','Yellow','BodyArmor','Short\x20Sword','Blade','Brown','(((.+)+)+)+$','575376fGMLzF','Grey','6zrvGOm','Helmet','Circle','4325387NslzRP'];a55c=function(){return C;};return a55c();}export class LegArmor extends Item{constructor(a,b){var n=a55d;super({'name':a,'description':b,'size':Size[n(0x1d4)],'category':Category['LegArmor'],'shape':Shape[n(0x1c5)],'color':Color[n(0x1b0)],'texture':Texture[n(0x1c2)],'rating':Rating[n(0x1cb)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var o=a55d;super({'name':a,'description':b,'size':Size[o(0x1d4)],'category':Category[o(0x1bb)],'shape':Shape[o(0x1b3)],'color':Color[o(0x1ad)],'texture':Texture[o(0x1a6)],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var p=a55d;super({'name':a,'description':b,'size':Size[p(0x1cf)],'category':Category[p(0x1c9)],'shape':Shape[p(0x1b3)],'color':Color[p(0x1ad)],'texture':Texture[p(0x1a6)],'rating':Rating[p(0x1cb)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var q=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['ArmArmor'],'shape':Shape[q(0x1c5)],'color':Color[q(0x1b0)],'texture':Texture[q(0x1c2)],'rating':Rating[q(0x1cb)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var r=a55d;super({'name':a,'description':b,'size':Size[r(0x1d1)],'category':Category[r(0x1a2)],'shape':Shape[r(0x1c5)],'color':Color['Yellow'],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x0});}[a55s(0x1da)](){var t=a55s;return t(0x1ba);}}export class Weapon extends Item{constructor(a,b){var u=a55s;super({'name':a,'description':b,'size':Size[u(0x1d4)],'category':Category[u(0x1b9)],'shape':Shape[u(0x1ac)],'color':Color[u(0x1b0)],'texture':Texture['Metallic'],'rating':Rating[u(0x1cb)],'weight':0x3});}[a55s(0x1da)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class Book extends Item{[a55s(0x1db)];[a55s(0x1c6)];[a55s(0x1c8)];constructor(a,b=a55s(0x1c0),c=a55s(0x1a7)){var v=a55s;super({'name':a,'description':b,'size':Size[v(0x1d4)],'category':Category[v(0x1bf)],'shape':Shape[v(0x1c5)],'color':Color[v(0x1ad)],'texture':Texture[v(0x1a6)],'rating':Rating[v(0x1cb)],'weight':0x1}),this[v(0x1db)]=c,this[v(0x1c6)]=new Date(),this[v(0x1c8)]=0x64;}[a55s(0x1da)](){return'There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22';}}export class ShortSword extends Item{constructor(){var w=a55s;super({'name':w(0x1ab),'description':w(0x1bc),'size':Size[w(0x1d4)],'category':Category[w(0x1b9)],'shape':Shape[w(0x1ac)],'color':Color[w(0x1b0)],'texture':Texture[w(0x1c2)],'rating':Rating[w(0x1cb)],'weight':0x3});}[a55s(0x1da)](){var x=a55s;return x(0x1b7);}}export class SniperRifle extends Item{constructor(){var y=a55s;super({'name':y(0x1d6),'description':y(0x1c4),'size':Size[y(0x1d8)],'category':Category[y(0x1b9)],'shape':Shape[y(0x1b8)],'color':Color[y(0x1ad)],'texture':Texture[y(0x1a6)],'rating':Rating[y(0x1cb)],'weight':0x5});}[a55s(0x1da)](){var z=a55s;return z(0x1ce);}}export class HolyGrail extends Item{constructor(){var A=a55s;super({'name':A(0x1be),'description':A(0x1a5),'size':Size['Small'],'category':Category[A(0x1b5)],'shape':Shape[A(0x1b3)],'color':Color[A(0x1a3)],'texture':Texture['Metallic'],'rating':Rating[A(0x1d9)],'weight':0x1});}[a55s(0x1da)](){var B=a55s;return'You\x20hold\x20the\x20'+this[B(0x1c3)]+B(0x1a1);}}