@maka/maka-cli 4.9.3 → 4.9.5

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 (152) 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 +1 -1
  131. package/bundle/obf/src/templates/meteor/api/api.js.ts +1 -1
  132. package/bundle/obf/src/templates/meteor/project/package.json +1 -1
  133. package/bundle/obf/src/tool.js +1 -1
  134. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  135. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  136. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  137. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  138. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  139. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  140. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  141. package/bundle/obf/src/tools/https/https.class.js +1 -1
  142. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  143. package/bundle/obf/src/tools/log/log.class.js +1 -1
  144. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/options/options.class.js +1 -1
  146. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  147. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  148. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  150. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  151. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  152. package/package.json +1 -1
@@ -1 +1 @@
1
- const a37i=a37d;function a37c(){const k=['actor','You\x20search\x20the\x20area\x20and\x20find:\x20','224630VbGFIm','4876bSMBni','execute','currentLocation','12GPyvPy','4682568ZUGsKd','name','SearchCommand:\x20','search','listItems','249633PTXhPV','1890490wPugYb','toString','verb','(((.+)+)+)+$','357371sypIDl','48tTauJd','length','8qShfLU','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','10nAfLfX','write','constructor','apply','inventory','51318PTDUnm','logger'];a37c=function(){return k;};return a37c();}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x8e))/0x1+-parseInt(f(0x98))/0x2+-parseInt(f(0xa0))/0x3*(-parseInt(f(0x9d))/0x4)+parseInt(f(0x8a))/0x5+parseInt(f(0x8f))/0x6*(-parseInt(f(0x9c))/0x7)+parseInt(f(0x91))/0x8*(parseInt(f(0xa6))/0x9)+parseInt(f(0x93))/0xa*(parseInt(f(0xa1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x30029));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()['search'](h(0x8d))[h(0x8b)]()[h(0x95)](a37a)[h(0xa4)]('(((.+)+)+)+$');});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x8a;let f=c[d];return f;},a37d(a,b);}a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x8c)]=a37i(0xa4);static ['description']='Search\x20for\x20items\x20in\x20your\x20area';[a37i(0x9e)](){const j=a37i,a=this[j(0x9a)][j(0x9f)][j(0x97)][j(0xa5)]();if(a[j(0x90)]===0x0)return this['logger'][j(0x94)](j(0xa3)+this[j(0x9a)][j(0xa2)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0x92);const b=a['join'](',\x20');return this[j(0x99)][j(0x94)](j(0xa3)+this[j(0x9a)]['name']+'\x20found\x20the\x20following\x20items:\x20'+b),j(0x9b)+b;}}
1
+ const a37h=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xd9;let f=c[d];return f;},a37d(a,b);}function a37c(){const j=['name','2297904CcUFlv','13wtmqcX','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','3548376HKZDIN','constructor','currentLocation','execute','(((.+)+)+)+$','\x20found\x20the\x20following\x20items:\x20','32990aVvLEN','1587303AMVjYr','15861000RYPjyQ','verb','SearchCommand:\x20','376tblSaf','26552UqnDHH','toString','search','Search\x20for\x20items\x20in\x20your\x20area','actor','387IWfrJc','length','inventory','logger','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','description','35685KnOzbI','join','listItems','write'];a37c=function(){return j;};return a37c();}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0xe4))/0x1*(-parseInt(f(0xec))/0x2)+parseInt(f(0xed))/0x3+-parseInt(f(0xf1))/0x4*(parseInt(f(0xde))/0x5)+-parseInt(f(0xe6))/0x6+-parseInt(f(0xe3))/0x7+-parseInt(f(0xf2))/0x8*(parseInt(f(0xf7))/0x9)+parseInt(f(0xee))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x91995));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(0xf3)]()['search']('(((.+)+)+)+$')[g(0xf3)]()[g(0xe7)](a37a)['search'](g(0xea));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37h(0xef)]=a37h(0xf4);static [a37h(0xdd)]=a37h(0xf5);[a37h(0xe9)](){const i=a37h,a=this[i(0xf6)][i(0xe8)][i(0xda)][i(0xe0)]();if(a[i(0xd9)]===0x0)return this[i(0xdb)][i(0xe1)](i(0xf0)+this['actor'][i(0xe2)]+i(0xe5)),i(0xdc);const b=a[i(0xdf)](',\x20');return this[i(0xdb)][i(0xe1)]('SearchCommand:\x20'+this[i(0xf6)][i(0xe2)]+i(0xeb)+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(0xff))/0x1*(-parseInt(f(0xfc))/0x2)+-parseInt(f(0xf7))/0x3*(parseInt(f(0x100))/0x4)+-parseInt(f(0x103))/0x5*(-parseInt(f(0x104))/0x6)+parseInt(f(0x114))/0x7*(-parseInt(f(0x108))/0x8)+-parseInt(f(0xf9))/0x9+parseInt(f(0xf6))/0xa+-parseInt(f(0x110))/0xb*(-parseInt(f(0x113))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xe72b4));function a38c(){const k=['(((.+)+)+)+$','rewardItem','13333912SAqLKj','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','solve','success','apply','search','actor','message','22681417mGBDXg','constructor','toLowerCase','12tDSNWS','7onBXoj','write','SolveCommand:\x20','17016180rLfpon','10983yJnZqP','logger','13363065cxkFdb','currentLocation','puzzle','8102elDJrO','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','Attempt\x20to\x20solve\x20a\x20puzzle.','28JPTKVX','28Zhdxqs','join','inventory','15835iUePiU','468CBFeQB','execute'];a38c=function(){return k;};return a38c();}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x10c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x10d)](h(0x106))['toString']()[h(0x111)](a38a)[h(0x10d)](h(0x106));});a38a();import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xf5;let f=c[d];return f;},a38d(a,b);}export class SolveCommand extends Command{static ['verb']=a38i(0x10a);static ['description']=a38i(0xfe);[a38i(0x105)](a){const j=a38i,b=a[j(0x101)]('\x20')[j(0x112)](),c=this['actor'][j(0xfa)];if(!c||!c[j(0xfb)])return this[j(0xf8)][j(0x115)](j(0xfd)),j(0x109);const d=c[j(0xfb)][j(0x10a)](b,this[j(0x10e)]['inventory']);return d[j(0x10b)]&&c[j(0xfb)][j(0x107)]&&this[j(0x10e)][j(0x102)]['addItem'](c['puzzle'][j(0x107)]),this['logger'][j(0x115)](j(0xf5)+d[j(0x10f)]),d['message'];}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x1a8))/0x1+-parseInt(f(0x1ab))/0x2*(-parseInt(f(0x19b))/0x3)+-parseInt(f(0x1a9))/0x4*(parseInt(f(0x1a7))/0x5)+-parseInt(f(0x197))/0x6*(-parseInt(f(0x193))/0x7)+parseInt(f(0x1ac))/0x8*(-parseInt(f(0x1a0))/0x9)+parseInt(f(0x19f))/0xa*(parseInt(f(0x19a))/0xb)+-parseInt(f(0x18f))/0xc*(parseInt(f(0x19e))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xcd3f1));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1af)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1b0)]()[h(0x18e)]('(((.+)+)+)+$')[h(0x1b0)]()[h(0x1ae)](a38a)['search'](h(0x192));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x18e;let f=c[d];return f;},a38d(a,b);}function a38c(){const k=['There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','5OROZWq','136777ofJfCy','4532596FeyHBD','Attempt\x20to\x20solve\x20a\x20puzzle.','1133642WZChok','67168SBZUPT','solve','constructor','apply','toString','currentLocation','search','1200PljnTe','description','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','(((.+)+)+)+$','14aNkHIU','success','join','addItem','4193592RzUwfI','SolveCommand:\x20','inventory','347644deYksG','3zHnoAJ','write','verb','176566VEFGUd','400iMPGwn','36iGodFG','puzzle','toLowerCase','logger','message','rewardItem'];a38c=function(){return k;};return a38c();}a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x19d)]=a38i(0x1ad);static [a38i(0x190)]=a38i(0x1aa);['execute'](a){const j=a38i,b=a[j(0x195)]('\x20')[j(0x1a2)](),c=this['actor'][j(0x1b1)];if(!c||!c[j(0x1a1)])return this[j(0x1a3)][j(0x19c)](j(0x191)),j(0x1a6);const d=c[j(0x1a1)][j(0x1ad)](b,this['actor'][j(0x199)]);return d[j(0x194)]&&c[j(0x1a1)][j(0x1a5)]&&this['actor'][j(0x199)][j(0x196)](c[j(0x1a1)]['rewardItem']),this[j(0x1a3)][j(0x19c)](j(0x198)+d[j(0x1a4)]),d['message'];}}
@@ -1 +1 @@
1
- function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x65;let f=c[d];return f;},a39d(a,b);}const a39i=a39d;function a39c(){const l=['86267SzqxCC','34cvlHwM','\x22\x20is\x20too\x20heavy\x20to\x20carry.','Error\x20during\x20\x27Take\x27\x20command:\x20','\x22\x20in\x20this\x20room.','3889710BKTXqi','18172oMurZv','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','description','Successfully\x20removed\x20\x22','name','verb','You\x20have\x20taken\x20the\x20','40BtFWYA','constructor','getItem','hasItem','join','3099153prGyan','removeItem','(((.+)+)+)+$','72140UOniga','1812132ZqPPPC','search','Item\x20\x22','currentLocation','9802440LsAigu','logger','apply','inventory','27870cawRcX','355qTIFvx','\x22\x20to\x20','message','\x20during\x20\x27Take\x27\x20command.','toLowerCase','addInventory','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','There\x20is\x20no\x20item\x20\x22','write','The\x20item\x20\x22','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','actor','Pick\x20up\x20an\x20item.','take','toString'];a39c=function(){return l;};return a39c();}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x88))/0x1*(-parseInt(f(0x89))/0x2)+-parseInt(f(0x6c))/0x3+parseInt(f(0x6f))/0x4*(-parseInt(f(0x79))/0x5)+-parseInt(f(0x74))/0x6+-parseInt(f(0x70))/0x7*(-parseInt(f(0x67))/0x8)+parseInt(f(0x8d))/0x9+-parseInt(f(0x78))/0xa*(-parseInt(f(0x8e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xdfd8f));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x76)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x71)](h(0x6e))[h(0x87)]()[h(0x68)](a39a)[h(0x71)](h(0x6e));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0x65)]='take';static [a39i(0x90)]=a39i(0x85);['execute'](a){const j=a39i;return this[j(0x75)][j(0x81)](j(0x83)+a[j(0x6b)]('\x20')),this['take'](a);}[a39i(0x86)](a){const k=a39i,b=a[k(0x6b)]('\x20')[k(0x7d)](),c=this['actor'][k(0x73)];if(!c[k(0x77)][k(0x6a)](b))return this[k(0x75)]['write'](k(0x72)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x92)]+k(0x7c)),'There\x20is\x20no\x20item\x20\x22'+b+'\x22\x20in\x20this\x20room.';const d=c[k(0x77)][k(0x69)](b);if(!d)return this[k(0x75)]['write'](k(0x72)+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0x92)]+k(0x7f)),k(0x80)+b+k(0x8c);try{return this[k(0x84)][k(0x7e)](d),this[k(0x75)][k(0x81)]('Successfully\x20added\x20\x22'+b+k(0x7a)+this[k(0x84)][k(0x92)]+k(0x8f)),c[k(0x77)][k(0x6d)](b),this[k(0x75)][k(0x81)](k(0x91)+b+'\x22\x20from\x20'+c['name']+k(0x7f)),k(0x66)+b+'.';}catch(e){return this[k(0x75)][k(0x81)](k(0x8b)+e[k(0x7b)]),k(0x82)+b+k(0x8a);}}}
1
+ const a39i=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x74;let f=c[d];return f;},a39d(a,b);}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x91))/0x1+-parseInt(f(0x97))/0x2+parseInt(f(0x90))/0x3+-parseInt(f(0x7c))/0x4*(parseInt(f(0x82))/0x5)+-parseInt(f(0x8b))/0x6*(-parseInt(f(0x94))/0x7)+parseInt(f(0x76))/0x8*(-parseInt(f(0x8f))/0x9)+parseInt(f(0x9b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xb3141));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x9a)](h(0x75))[h(0x92)]()[h(0x87)](a39a)[h(0x9a)](h(0x75));});a39a();import{Command}from'./command.js';function a39c(){const l=['10OWcwzT','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x22\x20from\x20','Pick\x20up\x20an\x20item.','currentLocation','constructor','name','description','getItem','5358270QDUSGh','logger','removeItem','apply','1278KwWjRj','479781kqScBL','395143sNLHiP','toString','The\x20item\x20\x22','7sAYitU','\x22\x20in\x20this\x20room.','verb','2340412QpjRNL','\x22\x20not\x20retrieved\x20from\x20','\x22\x20to\x20','search','23502380YvPlqQ','execute','take','inventory','(((.+)+)+)+$','15592hjGYCe','join','Successfully\x20added\x20\x22','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20not\x20found\x20in\x20','You\x20have\x20taken\x20the\x20','1655196VavZsr','Error\x20during\x20\x27Take\x27\x20command:\x20','write','actor','\x20during\x20\x27Take\x27\x20command.','Item\x20\x22'];a39c=function(){return l;};return a39c();}export class TakeCommand extends Command{static [a39i(0x96)]=a39i(0x9d);static [a39i(0x89)]=a39i(0x85);[a39i(0x9c)](a){const j=a39i;return this[j(0x8c)][j(0x7e)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x77)]('\x20')),this[j(0x9d)](a);}[a39i(0x9d)](a){const k=a39i,b=a['join']('\x20')['toLowerCase'](),c=this[k(0x7f)][k(0x86)];if(!c[k(0x74)]['hasItem'](b))return this[k(0x8c)]['write']('Item\x20\x22'+b+k(0x7a)+c[k(0x88)]+k(0x80)),'There\x20is\x20no\x20item\x20\x22'+b+'\x22\x20in\x20this\x20room.';const d=c['inventory'][k(0x8a)](b);if(!d)return this[k(0x8c)][k(0x7e)](k(0x81)+b+k(0x98)+c[k(0x88)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+k(0x95);try{return this[k(0x7f)]['addInventory'](d),this[k(0x8c)][k(0x7e)](k(0x78)+b+k(0x99)+this[k(0x7f)]['name']+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0x74)][k(0x8d)](b),this[k(0x8c)][k(0x7e)]('Successfully\x20removed\x20\x22'+b+k(0x84)+c[k(0x88)]+k(0x79)),k(0x7b)+b+'.';}catch(e){return this[k(0x8c)][k(0x7e)](k(0x7d)+e['message']),k(0x93)+b+k(0x83);}}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x168))/0x1+parseInt(f(0x16c))/0x2*(-parseInt(f(0x16d))/0x3)+parseInt(f(0x166))/0x4+-parseInt(f(0x15c))/0x5+parseInt(f(0x167))/0x6+parseInt(f(0x164))/0x7*(-parseInt(f(0x160))/0x8)+-parseInt(f(0x162))/0x9*(-parseInt(f(0x16e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x1fca6));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x158;let f=c[d];return f;},a40d(a,b);}function a40c(){const k=['constructor','write','1184504XxOolP','unequip','594xomXAl','join','7nxMext','search','656348MrxRak','858408DKmqbX','195097SCpSUr','UnequipCommand:\x20','apply','execute','423698pbCijP','3QmoTcX','30010LlyjMI','logger','actor','(((.+)+)+)+$','toString','1050960gtJpaH','description'];a40c=function(){return k;};return a40c();}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x15b)]()['search'](h(0x15a))[h(0x15b)]()[h(0x15e)](a40a)[h(0x165)](h(0x15a));});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']='unqeuip';static [a40i(0x15d)]='Unequip\x20an\x20item.';[a40i(0x16b)](a){const j=a40i,b=a[j(0x163)]('\x20')['toLowerCase'](),c=this['actor'][j(0x161)](b);return this[j(0x158)][j(0x15f)](j(0x169)+this[j(0x159)]['name']+'\x20unqeuiped\x20'+c),c;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0xf5))/0x1*(parseInt(f(0xf2))/0x2)+-parseInt(f(0x100))/0x3+-parseInt(f(0xee))/0x4*(-parseInt(f(0x101))/0x5)+-parseInt(f(0xf6))/0x6*(-parseInt(f(0xf7))/0x7)+-parseInt(f(0xfc))/0x8*(-parseInt(f(0xe9))/0x9)+-parseInt(f(0xf0))/0xa+parseInt(f(0xec))/0xb*(parseInt(f(0xeb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x6487b));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xf8)]()[h(0xef)]('(((.+)+)+)+$')[h(0xf8)]()[h(0x104)](a40a)[h(0xef)]('(((.+)+)+)+$');});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xe9;let f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x102)]=a40i(0xf9);static [a40i(0xf1)]='Unequip\x20an\x20item.';[a40i(0x103)](a){const j=a40i,b=a[j(0xfd)]('\x20')[j(0xf4)](),c=this[j(0xfa)][j(0xfb)](b);return this[j(0xff)][j(0xed)](j(0xfe)+this[j(0xfa)][j(0xea)]+j(0xf3)+c),c;}}function a40c(){const k=['name','24ctZKGk','8939491xWhcYK','write','28660euyqZI','search','7702390AspEZn','description','2JeSOCi','\x20unqeuiped\x20','toLowerCase','694725idyDiv','3876642loRkjw','7GNGGIo','toString','unqeuip','actor','unequip','15528HspYHO','join','UnequipCommand:\x20','logger','2141403VaHOMn','10TANGyL','verb','execute','constructor','apply','1413nmFXhg'];a40c=function(){return k;};return a40c();}
@@ -1 +1 @@
1
- const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x86))/0x1+-parseInt(h(0x89))/0x2*(-parseInt(h(0x82))/0x3)+parseInt(h(0x78))/0x4+parseInt(h(0x7e))/0x5+-parseInt(h(0x77))/0x6*(-parseInt(h(0x6e))/0x7)+parseInt(h(0x83))/0x8*(parseInt(h(0x6d))/0x9)+-parseInt(h(0x70))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x24de9));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x76)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()[j(0x81)](j(0x7d))['toString']()[j(0x85)](a41a)[j(0x81)](j(0x7d));});a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x66;let f=c[d];return f;},a41d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';function a41c(){const n=['apply','1470558QZmDVq','152276ukOJrT','inventory','unlockItemOrSolution','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','length','(((.+)+)+)+$','1392760aIksUL','execute','description','search','6732SipQAC','1832tdCYux','UnlockCommand:\x20','constructor','195930okAMlV','Unlock\x20a\x20door.','write','256QXNmfo','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','verb','logger','exits','\x20is\x20attempted\x20to\x20unlock\x20','actor','currentLocation','unlock','.\x20Result:\x20','There\x27s\x20no\x20door\x20named\x20\x22','has','10917xonqHF','7HlhOYi','name','7797760zQlDfI','toLowerCase','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','getItem','isValidDirection','get'];a41c=function(){return n;};return a41c();}export class UnlockCommand extends Command{static [a41k(0x8b)]=a41k(0x69);static [a41k(0x80)]=a41k(0x87);[a41k(0x7f)](a){const l=a41k;return this[l(0x69)](a);}['unlock'](a){const m=a41k;if(a[m(0x7c)]===0x0)return this[m(0x8c)]['error']('UnlockCommand:\x20No\x20target\x20specified.'),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0]['toLowerCase'](),c=this[m(0x67)][m(0x68)];if(this[m(0x74)](b)&&c[m(0x8d)][m(0x6c)](b)){const d=c[m(0x8d)][m(0x75)](b);if(d instanceof Door){const e=d[m(0x7a)]?.[m(0x71)]();if(e&&this[m(0x67)]['inventory']['hasItem'](e)){const f=this[m(0x67)][m(0x79)][m(0x73)](e);if(f){const g=c['attemptUnlockExit'](b,f['name']);return this['logger'][m(0x88)]('UnlockCommand:\x20'+this[m(0x67)][m(0x6f)]+m(0x66)+b+m(0x6a)+g),g;}}return this['logger'][m(0x88)]('UnlockCommand:\x20'+this[m(0x67)]['name']+m(0x72)+b+'.'),m(0x8a);}else return this['logger'][m(0x88)](m(0x84)+b+m(0x7b)+c[m(0x6f)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}else return this[m(0x8c)]['write'](m(0x84)+b+m(0x7b)+c[m(0x6f)]+'.'),m(0x6b)+b+'\x22\x20here.';}}
1
+ function a41c(){const m=['(((.+)+)+)+$','unlockItemOrSolution','9QALDuH','search','hasItem','apply','verb','1082KWLeAg','1054895zRgYjS','Unlock\x20a\x20door.','exits','toString','12mbOsOv','17016760ONGbeN','UnlockCommand:\x20','has','currentLocation','actor','8BCrRGa','UnlockCommand:\x20No\x20target\x20specified.','inventory','\x20is\x20attempted\x20to\x20unlock\x20','147ENnDWG','error','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','\x22\x20here.','33155936AnfuZY','write','26705srKsHs','toLowerCase','unlock','name','There\x27s\x20no\x20door\x20named\x20\x22','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','716ZGMEfU','isValidDirection','6140603DyMStj','5705028seBPGE','get','logger'];a41c=function(){return m;};return a41c();}const a41k=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x17e;let f=c[d];return f;},a41d(a,b);}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x190))/0x1+parseInt(h(0x18f))/0x2*(parseInt(h(0x19e))/0x3)+parseInt(h(0x182))/0x4*(-parseInt(h(0x1a4))/0x5)+-parseInt(h(0x185))/0x6+parseInt(h(0x184))/0x7*(-parseInt(h(0x19a))/0x8)+parseInt(h(0x18a))/0x9*(parseInt(h(0x195))/0xa)+-parseInt(h(0x1a2))/0xb*(-parseInt(h(0x194))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xdc8c0));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x18d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x193)]()[j(0x18b)](j(0x188))['toString']()['constructor'](a41a)[j(0x18b)](j(0x188));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x18e)]=a41k(0x17e);static ['description']=a41k(0x191);['execute'](a){return this['unlock'](a);}[a41k(0x17e)](a){const l=a41k;if(a['length']===0x0)return this[l(0x187)][l(0x19f)](l(0x19b)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][l(0x1a5)](),c=this[l(0x199)][l(0x198)];if(this[l(0x183)](b)&&c[l(0x192)][l(0x197)](b)){const d=c['exits'][l(0x186)](b);if(d instanceof Door){const e=d[l(0x189)]?.[l(0x1a5)]();if(e&&this['actor'][l(0x19c)][l(0x18c)](e)){const f=this['actor'][l(0x19c)]['getItem'](e);if(f){const g=c['attemptUnlockExit'](b,f[l(0x17f)]);return this[l(0x187)][l(0x1a3)](l(0x196)+this[l(0x199)]['name']+l(0x19d)+b+'.\x20Result:\x20'+g),g;}}return this[l(0x187)][l(0x1a3)](l(0x196)+this[l(0x199)][l(0x17f)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),l(0x181);}else return this['logger']['write'](l(0x196)+b+l(0x1a0)+c['name']+'.'),l(0x180)+b+'\x22\x20here.';}else return this[l(0x187)][l(0x1a3)]('UnlockCommand:\x20'+b+l(0x1a0)+c[l(0x17f)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0x1a1);}}
@@ -1 +1 @@
1
- function a42c(){const l=['use','11QCgBrQ',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','Use\x20an\x20item.','2625357TNLtpd','\x20used\x20','\x20in\x20this\x20way.','search','write','You\x20don\x27t\x20have\x20the\x20','toString','\x27s\x20inventory.','\x20doesn\x27t\x20have\x20a\x20use\x20method.','1296YREmKG','logger','apply','\x20attempted\x20to\x20use\x20','actor','You\x20can\x27t\x20use\x20the\x20','8995086eVwEbt','name','378655hKHNzX','function','186714RFfFNO','toLowerCase','inventory','UseCommand:\x20','21264RowhuM','constructor','description','23591710hikAbe','getItem','30gbAdbm','52hGUjni','join','\x20to\x20use.','execute','631458sGdgVR','hasItem','(((.+)+)+)+$','\x20not\x20retrieved\x20from\x20'];a42c=function(){return l;};return a42c();}const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x86))/0x1+-parseInt(f(0x81))/0x2*(parseInt(f(0x78))/0x3)+-parseInt(f(0x82))/0x4*(-parseInt(f(0x76))/0x5)+-parseInt(f(0x74))/0x6+-parseInt(f(0x8e))/0x7+-parseInt(f(0x7c))/0x8*(parseInt(f(0x97))/0x9)+parseInt(f(0x7f))/0xa*(parseInt(f(0x8b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xbf8c2));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x99)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0x91)](h(0x88))[h(0x94)]()[h(0x7d)](a42a)['search'](h(0x88));});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x71;let f=c[d];return f;},a42d(a,b);}a42a();import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a42i(0x8a);static [a42i(0x7e)]=a42i(0x8d);[a42i(0x85)](a){const j=a42i;return this[j(0x8a)](a);}[a42i(0x8a)](a){const k=a42i,b=a[k(0x83)]('\x20')[k(0x79)]();if(!this[k(0x72)][k(0x7a)][k(0x87)](b))return this[k(0x98)][k(0x92)](k(0x7b)+this[k(0x72)][k(0x75)]+k(0x71)+b+k(0x8c)),k(0x93)+b+k(0x84);const c=this[k(0x72)][k(0x7a)][k(0x80)](b);if(!c)return this['logger']['write']('UseCommand:\x20'+b+k(0x89)+this[k(0x72)][k(0x75)]+k(0x95)),k(0x93)+b+'\x20to\x20use.';if(typeof c['use']===k(0x77)){const d=c[k(0x8a)]();return this[k(0x98)][k(0x92)](k(0x7b)+this['actor']['name']+k(0x8f)+b+'.'),d;}else return this[k(0x98)][k(0x92)]('UseCommand:\x20'+b+k(0x96)),k(0x73)+b+k(0x90);}}
1
+ function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xd0;let f=c[d];return f;},a42d(a,b);}function a42c(){const l=['write','constructor','\x20to\x20use.','11gAlSrS','toLowerCase','actor','use','function','2158kEFWJC','verb','4669455ZMcZTe','\x20not\x20retrieved\x20from\x20','join','502zQyWnO','UseCommand:\x20','Use\x20an\x20item.','You\x20don\x27t\x20have\x20the\x20','969168pSBGDk','\x20in\x20this\x20way.','\x20doesn\x27t\x20have\x20a\x20use\x20method.','apply','logger','search','inventory','721194oRXsSa','640869rskftF','8KsVlMe',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','1412271NcgnOR','(((.+)+)+)+$','5dOjubE','26151036KijlrP','\x20attempted\x20to\x20use\x20','description','getItem','hasItem','\x20used\x20','50WNCHry','name'];a42c=function(){return l;};return a42c();}const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0xea))/0x1*(parseInt(f(0xef))/0x2)+-parseInt(f(0xd4))/0x3*(-parseInt(f(0xd5))/0x4)+-parseInt(f(0xd9))/0x5*(-parseInt(f(0xd3))/0x6)+parseInt(f(0xec))/0x7+parseInt(f(0xf3))/0x8+parseInt(f(0xd7))/0x9*(parseInt(f(0xe0))/0xa)+-parseInt(f(0xe5))/0xb*(parseInt(f(0xda))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x75d60));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0xd1)](h(0xd8))['toString']()[h(0xe3)](a42a)[h(0xd1)](h(0xd8));});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0xeb)]='use';static [a42i(0xdc)]=a42i(0xf1);['execute'](a){const j=a42i;return this[j(0xe8)](a);}[a42i(0xe8)](a){const k=a42i,b=a[k(0xee)]('\x20')[k(0xe6)]();if(!this['actor'][k(0xd2)][k(0xde)](b))return this[k(0xd0)][k(0xe2)]('UseCommand:\x20'+this[k(0xe7)][k(0xe1)]+k(0xdb)+b+k(0xd6)),k(0xf2)+b+k(0xe4);const c=this[k(0xe7)][k(0xd2)][k(0xdd)](b);if(!c)return this['logger']['write']('UseCommand:\x20'+b+k(0xed)+this[k(0xe7)][k(0xe1)]+'\x27s\x20inventory.'),k(0xf2)+b+k(0xe4);if(typeof c[k(0xe8)]===k(0xe9)){const d=c[k(0xe8)]();return this[k(0xd0)][k(0xe2)](k(0xf0)+this['actor'][k(0xe1)]+k(0xdf)+b+'.'),d;}else return this[k(0xd0)][k(0xe2)](k(0xf0)+b+k(0xf5)),'You\x20can\x27t\x20use\x20the\x20'+b+k(0xf4);}}
@@ -1 +1 @@
1
- const a43i=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x9d;let f=c[d];return f;},a43d(a,b);}function a43c(){const l=['414094Effdgs','212216ABRyOS','getAllRegisteredCommands','commandMap','24236113anuazn','99iwdRJv','33pTPYab','apply','762890nrIuNQ','registerCommand','54OBLcSP','86120tWpzVX','8jfioLl','createCommand','search','(((.+)+)+)+$','922470uDKyzF','319291qrpQsk','constructor'];a43c=function(){return l;};return a43c();}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0xa0))/0x1+-parseInt(f(0x9d))/0x2+-parseInt(f(0xa6))/0x3*(parseInt(f(0xa1))/0x4)+-parseInt(f(0xab))/0x5*(parseInt(f(0xaa))/0x6)+parseInt(f(0x9e))/0x7*(-parseInt(f(0xac))/0x8)+parseInt(f(0xa5))/0x9*(-parseInt(f(0xa8))/0xa)+parseInt(f(0xa4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x82104));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()['search'](h(0xaf))['toString']()[h(0x9f)](a43a)[h(0xae)](h(0xaf));});a43a();export class CommandFactory{static [a43i(0xa3)]={};static[a43i(0xa9)](a,b){const j=a43i;this[j(0xa3)][a]=b;}static[a43i(0xad)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a43i(0xa2)](){const k=a43i;return this[k(0xa3)];}}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0xfd))/0x1*(parseInt(f(0x102))/0x2)+parseInt(f(0xfc))/0x3+parseInt(f(0xf6))/0x4+-parseInt(f(0x100))/0x5+parseInt(f(0xfa))/0x6+parseInt(f(0xfb))/0x7+-parseInt(f(0xf5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xbac04));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xf2;let f=c[d];return f;},a43d(a,b);}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xfe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()[h(0x101)](h(0xf7))[h(0xf4)]()[h(0xf3)](a43a)['search'](h(0xf7));});a43a();function a43c(){const m=['apply','commandMap','3362480TOxePd','search','287948ClIidL','createCommand','constructor','toString','5731736Sdnccu','2999256zQsYzi','(((.+)+)+)+$','getAllRegisteredCommands','registerCommand','8696922Szgxxo','2118823hzqQpy','1547247vBoOaq','6lwzjva'];a43c=function(){return m;};return a43c();}export class CommandFactory{static [a43i(0xff)]={};static[a43i(0xf9)](a,b){const j=a43i;this[j(0xff)][a]=b;}static[a43i(0xf2)](a,b){const k=a43i,c=this[k(0xff)][a];if(c)return new c(b);return null;}static[a43i(0xf8)](){const l=a43i;return this[l(0xff)];}}
@@ -1 +1 @@
1
- const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x141))/0x1*(-parseInt(f(0x128))/0x2)+-parseInt(f(0x138))/0x3+parseInt(f(0x126))/0x4*(parseInt(f(0x130))/0x5)+-parseInt(f(0x146))/0x6+parseInt(f(0x12f))/0x7+parseInt(f(0x133))/0x8*(parseInt(f(0x132))/0x9)+parseInt(f(0x127))/0xa*(parseInt(f(0x11f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x3e27e));function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x11e;let f=c[d];return f;},a44d(a,b);}function a44c(){const o=['823eLVkoq','search','inventory','addItem','rifle','1918458IQWuZA','convertToRoomConfig','7100654LHBAAe','boots','INSIDE','bodyarmor','description','book','setPuzzle','4CPvudK','10nrtDsC','1074pSSCzx','gauntlets','legarmor','(((.+)+)+)+$','createItem','toString','apply','3005191FaoMaU','77550yokzQX','roomType','612OVmVbm','17032gntECM','key','gloves','sword','puzzle','656475EDayEc','name','content','createRoom','forEach','items','isStartRoom','rewardItem','helmet'];a44c=function(){return o;};return a44c();}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x12d)]()[h(0x142)](h(0x12b))[h(0x12d)]()['constructor'](a44a)[h(0x142)](h(0x12b));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0x13b)](a){const j=a44i,b=this[j(0x11e)](a),c=new Room(b);if(a[j(0x13d)]){const d=new Inventory();a['items'][j(0x13c)](e=>{const k=j;d[k(0x144)](this[k(0x12c)](e));}),c[j(0x143)]=d;}return a['puzzle']&&c[j(0x125)](this['createPuzzle'](a[j(0x137)])),c;}[a44i(0x12c)](a){const l=a44i;switch(a['type']){case l(0x134):return new Key(a['name'],a[l(0x123)]);case l(0x124):return new Book(a[l(0x139)],a[l(0x123)],a[l(0x13a)]);case l(0x136):return new Sword(a[l(0x139)],a[l(0x123)]);case l(0x145):return new Rifle(a[l(0x139)],a[l(0x123)]);case l(0x140):return new Helmet(a[l(0x139)],a[l(0x123)]);case l(0x122):return new BodyArmor(a[l(0x139)],a[l(0x123)]);case l(0x12a):return new LegArmor(a[l(0x139)],a[l(0x123)]);case l(0x120):return new Boots(a['name'],a[l(0x123)]);case l(0x135):return new Gloves(a[l(0x139)],a[l(0x123)]);case l(0x129):return new Gauntlets(a[l(0x139)],a[l(0x123)]);default:return new BasicItem(a['name'],a[l(0x123)]);}}['createPuzzle'](a){const m=a44i,b=this[m(0x12c)](a[m(0x13f)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0x11e)](a){const n=a44i,b=a[n(0x131)]&&RoomType[a[n(0x131)]['toUpperCase']()]?RoomType[a['roomType']['toUpperCase']()]:RoomType[n(0x121)];return{'name':a[n(0x139)],'description':a[n(0x123)],'isStartRoom':a[n(0x13e)],'roomType':b};}}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x1f3))/0x1+parseInt(f(0x1eb))/0x2+parseInt(f(0x1ef))/0x3+-parseInt(f(0x1fd))/0x4*(parseInt(f(0x1fb))/0x5)+-parseInt(f(0x1fc))/0x6+parseInt(f(0x1f6))/0x7*(parseInt(f(0x1f8))/0x8)+-parseInt(f(0x200))/0x9*(-parseInt(f(0x1de))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x7d266));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x1ff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()['search'](h(0x204))[h(0x1e5)]()[h(0x1f0)](a44a)[h(0x1dd)]('(((.+)+)+)+$');});function a44c(){const o=['10428bVmFLc','rifle','apply','27fzMMFi','inventory','book','roomType','(((.+)+)+)+$','createPuzzle','setPuzzle','search','3104360DolTsR','gauntlets','createRoom','name','legarmor','puzzle','toUpperCase','toString','INSIDE','type','bodyarmor','description','isStartRoom','897250qFsaaU','createItem','addItem','rewardItem','353616EPOSVS','constructor','content','gloves','989582KhtuDM','items','forEach','7haEvwo','sword','7970712ThrCZJ','helmet','convertToRoomConfig','125shJGpw','5560638jRaoAz'];a44c=function(){return o;};return a44c();}a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1dd;let f=c[d];return f;},a44d(a,b);}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{[a44i(0x1e0)](a){const j=a44i,b=this[j(0x1fa)](a),c=new Room(b);if(a[j(0x1f4)]){const d=new Inventory();a[j(0x1f4)][j(0x1f5)](e=>{const k=j;d[k(0x1ed)](this['createItem'](e));}),c[j(0x201)]=d;}return a[j(0x1e3)]&&c[j(0x206)](this[j(0x205)](a[j(0x1e3)])),c;}[a44i(0x1ec)](a){const l=a44i;switch(a[l(0x1e7)]){case'key':return new Key(a['name'],a['description']);case l(0x202):return new Book(a[l(0x1e1)],a['description'],a[l(0x1f1)]);case l(0x1f7):return new Sword(a[l(0x1e1)],a[l(0x1e9)]);case l(0x1fe):return new Rifle(a[l(0x1e1)],a[l(0x1e9)]);case l(0x1f9):return new Helmet(a[l(0x1e1)],a[l(0x1e9)]);case l(0x1e8):return new BodyArmor(a['name'],a[l(0x1e9)]);case l(0x1e2):return new LegArmor(a[l(0x1e1)],a[l(0x1e9)]);case'boots':return new Boots(a[l(0x1e1)],a[l(0x1e9)]);case l(0x1f2):return new Gloves(a[l(0x1e1)],a['description']);case l(0x1df):return new Gauntlets(a[l(0x1e1)],a[l(0x1e9)]);default:return new BasicItem(a[l(0x1e1)],a[l(0x1e9)]);}}[a44i(0x205)](a){const m=a44i,b=this['createItem'](a[m(0x1ee)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a44i,b=a[n(0x203)]&&RoomType[a['roomType'][n(0x1e4)]()]?RoomType[a[n(0x203)]['toUpperCase']()]:RoomType[n(0x1e6)];return{'name':a[n(0x1e1)],'description':a['description'],'isStartRoom':a[n(0x1ea)],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x1ef))/0x1*(parseInt(h(0x1db))/0x2)+-parseInt(h(0x200))/0x3*(-parseInt(h(0x1ed))/0x4)+-parseInt(h(0x1d3))/0x5+-parseInt(h(0x1e4))/0x6*(-parseInt(h(0x1d4))/0x7)+parseInt(h(0x1f2))/0x8*(-parseInt(h(0x1dc))/0x9)+parseInt(h(0x1fa))/0xa*(parseInt(h(0x1f9))/0xb)+-parseInt(h(0x1f1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x1e6b6));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a['toString']()[j(0x1fc)]('(((.+)+)+)+$')[j(0x1e8)]()[j(0x1ea)](a45a)['search'](j(0x1f3));});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a45d(a,b);}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';function a45c(){const s=['I\x20don\x27t\x20understand\x20the\x20command\x20\x22','18ROgSrn','9MIahrj','instance','scene','clear','createCommand','getInstance','split','say','6vombvU','quit','getDescription','-\x20clear:\x20Clear\x20the\x20screen.\x0a','toString','unlock','constructor','apply','Available\x20Commands:\x0a','2448cnICjm','rooms','6073CcFKsI','registerCommands','502836SSIHyu','1154800kKDSdQ','(((.+)+)+)+$','unequip','getHelpMessage','name','equip','use','11MDqZOf','416170TQnyEv','initialize','search','registerCommand','toLowerCase','player','1107peyxDK','Welcome,\x20','maka','904405rGIIpZ','1187410LvWNsA','drop','execute','determineStartRoom','take','getRooms'];a45c=function(){return s;};return a45c();}export default class Game{static [a45k(0x1dd)];[a45k(0x1de)];['player'];['currentRoom'];[a45k(0x1ee)];constructor(a,b){const l=a45k;this['player']=a,this[l(0x1de)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0x1fb)](),this[l(0x1ff)]['currentLocation']=this[l(0x1d7)](),this[l(0x1f0)]();}[a45k(0x1f0)](){const m=a45k;CommandFactory[m(0x1fd)]('look',LookCommand),CommandFactory[m(0x1fd)]('go',GoCommand),CommandFactory[m(0x1fd)](m(0x1d8),TakeCommand),CommandFactory['registerCommand'](m(0x1f8),UseCommand),CommandFactory[m(0x1fd)](m(0x1f7),EquipCommand),CommandFactory[m(0x1fd)](m(0x1f4),UnequipCommand),CommandFactory[m(0x1fd)]('solve',SolveCommand),CommandFactory['registerCommand'](m(0x1d5),DropCommand),CommandFactory[m(0x1fd)](m(0x1e9),UnlockCommand),CommandFactory['registerCommand']('lock',LockCommand),CommandFactory['registerCommand'](m(0x1fc),SearchCommand),CommandFactory[m(0x1fd)](m(0x1e3),SayCommand);}['determineStartRoom'](){const n=a45k;return this[n(0x1de)][n(0x1d7)]();}['getWelcomeMessage'](){const o=a45k;return o(0x201)+this[o(0x1ff)][o(0x1f6)];}static[a45k(0x1e1)](a,b){const p=a45k;return!Game['instance']&&(Game['instance']=new Game(a,b)),Game[p(0x1dd)];}['handleInput'](a){const q=a45k,b=a['trim']()[q(0x1e2)]('\x20'),c=b[0x0][q(0x1fe)](),d=b['slice'](0x1);if(c===q(0x1e5))return null;if(c===q(0x202))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c==='help')return this['getHelpMessage']();if(c===q(0x1df))return'';const e={'actor':this[q(0x1ff)],'rooms':this['scene'][q(0x1d9)](),'scene':this[q(0x1de)]},f=CommandFactory[q(0x1e0)](c,e);if(f){const g=f[q(0x1d6)](d);return g;}return q(0x1da)+c+'\x22.';}[a45k(0x1f5)](){const r=a45k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x1ec);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x1e6)]()+'\x0a';}}return b+=r(0x1e7),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(0x187))/0x1*(-parseInt(h(0x1a6))/0x2)+-parseInt(h(0x18b))/0x3*(-parseInt(h(0x17c))/0x4)+-parseInt(h(0x182))/0x5+-parseInt(h(0x1a7))/0x6*(-parseInt(h(0x19d))/0x7)+-parseInt(h(0x183))/0x8+parseInt(h(0x197))/0x9*(-parseInt(h(0x198))/0xa)+parseInt(h(0x18d))/0xb*(parseInt(h(0x1a2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xdb4f2));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x184)]()[j(0x1a9)](j(0x1aa))[j(0x184)]()[j(0x199)](a45a)['search'](j(0x1aa));});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';function a45c(){const s=['split','currentLocation','solve','createCommand','3181257TXsRXf','30wCKxqj','constructor','getRooms','initialize','registerCommand','7LkEcUK','registerCommands','getAllRegisteredCommands','Available\x20Commands:\x0a','player','46078800cvleNT','quit','execute','handleInput','628934ccRiUI','6416940gJaYyI','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','search','(((.+)+)+)+$','rooms','trim','look','currentRoom','instance','490188NDdnef','-\x20clear:\x20Clear\x20the\x20screen.\x0a','use','apply','scene','toLowerCase','6347125BMYoqj','6328232fzNbaQ','toString','drop','equip','4rEhLfb','name','clear','hasOwnProperty','9hwjCJj','determineStartRoom','11zINjvf','help','getHelpMessage','getInstance','unlock','getDescription'];a45c=function(){return s;};return a45c();}import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x17c;let f=c[d];return f;},a45d(a,b);}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0x1af)];['scene'];[a45k(0x1a1)];[a45k(0x1ae)];[a45k(0x1ab)];constructor(a,b){const l=a45k;this[l(0x1a1)]=a,this[l(0x180)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x180)][l(0x19b)](),this['player'][l(0x194)]=this['determineStartRoom'](),this[l(0x19e)]();}[a45k(0x19e)](){const m=a45k;CommandFactory[m(0x19c)](m(0x1ad),LookCommand),CommandFactory[m(0x19c)]('go',GoCommand),CommandFactory[m(0x19c)]('take',TakeCommand),CommandFactory[m(0x19c)](m(0x17e),UseCommand),CommandFactory[m(0x19c)](m(0x186),EquipCommand),CommandFactory[m(0x19c)]('unequip',UnequipCommand),CommandFactory[m(0x19c)](m(0x195),SolveCommand),CommandFactory[m(0x19c)](m(0x185),DropCommand),CommandFactory[m(0x19c)](m(0x191),UnlockCommand),CommandFactory['registerCommand']('lock',LockCommand),CommandFactory[m(0x19c)]('search',SearchCommand),CommandFactory[m(0x19c)]('say',SayCommand);}[a45k(0x18c)](){const n=a45k;return this[n(0x180)][n(0x18c)]();}['getWelcomeMessage'](){const o=a45k;return'Welcome,\x20'+this['player'][o(0x188)];}static[a45k(0x190)](a,b){const p=a45k;return!Game[p(0x1af)]&&(Game[p(0x1af)]=new Game(a,b)),Game[p(0x1af)];}[a45k(0x1a5)](a){const q=a45k,b=a[q(0x1ac)]()[q(0x193)]('\x20'),c=b[0x0][q(0x181)](),d=b['slice'](0x1);if(c===q(0x1a3))return null;if(c==='maka')return q(0x1a8);if(c===q(0x18e))return this[q(0x18f)]();if(c===q(0x189))return'';const e={'actor':this[q(0x1a1)],'rooms':this['scene'][q(0x19a)](),'scene':this[q(0x180)]},f=CommandFactory[q(0x196)](c,e);if(f){const g=f[q(0x1a4)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a45k(0x18f)](){const r=a45k,a=CommandFactory[r(0x19f)]();let b=r(0x1a0);for(const c in a){if(a[r(0x18a)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x192)]()+'\x0a';}}return b+=r(0x17d),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x164))/0x1+-parseInt(f(0x160))/0x2+parseInt(f(0x165))/0x3+parseInt(f(0x166))/0x4+-parseInt(f(0x16b))/0x5*(parseInt(f(0x169))/0x6)+parseInt(f(0x162))/0x7+parseInt(f(0x168))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x1d623));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x163)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x167)]()[h(0x16c)](h(0x16a))[h(0x167)]()[h(0x161)](a46a)['search'](h(0x16a));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';function a46c(){var i=['286911woySwy','506240IjNChO','toString','846216IdBOLh','2154mSJJgb','(((.+)+)+)+$','680UclysI','search','260876rfnPEK','constructor','644679drobNc','apply','120454Ghcfzl'];a46c=function(){return i;};return a46c();}export*from'./player.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x160;var f=c[d];return f;},a46d(a,b);}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0xbe))/0x1+-parseInt(f(0xc0))/0x2+-parseInt(f(0xbd))/0x3*(parseInt(f(0xc4))/0x4)+-parseInt(f(0xbc))/0x5+parseInt(f(0xc3))/0x6+parseInt(f(0xc2))/0x7+-parseInt(f(0xc7))/0x8*(-parseInt(f(0xc1))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xcf8de));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(0xbf)]()[g(0xc6)](g(0xc5))[g(0xbf)]()[g(0xbb)](a46a)[g(0xc6)]('(((.+)+)+)+$');});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a46c(){var h=['1524208SvGlhe','639549jvUZVO','5376364lBFjOW','2743644ZDqCwc','10656uElvwW','(((.+)+)+)+$','search','328AjpDuc','constructor','2235720nwChrk','516nDmmqF','1621229XuNzTd','toString'];a46c=function(){return h;};return a46c();}export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xbb;var f=c[d];return f;},a46d(a,b);}export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x13e))/0x1+parseInt(f(0x136))/0x2+parseInt(f(0x129))/0x3+parseInt(f(0x138))/0x4*(parseInt(f(0x139))/0x5)+parseInt(f(0x13d))/0x6+parseInt(f(0x12c))/0x7*(-parseInt(f(0x12e))/0x8)+-parseInt(f(0x143))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x7169d));function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x129;var f=c[d];return f;},a47d(a,b);}var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var g=a47d;return a47a[g(0x12d)]()[g(0x130)]('(((.+)+)+)+$')[g(0x12d)]()[g(0x13a)](a47a)[g(0x130)](g(0x146));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47h(0x13f)];[a47h(0x133)];[a47h(0x12f)];[a47h(0x142)];[a47h(0x13c)];['logger'];[a47h(0x134)];constructor(a){var i=a47h;super(),this['roomA']=a[i(0x13f)],this[i(0x133)]=a[i(0x133)],this[i(0x12f)]=a[i(0x12f)]||![],this[i(0x142)]=a['unlockItemOrSolution'],this[i(0x13c)]=a[i(0x13c)]?capitalCase(a[i(0x13c)]):i(0x137)+a[i(0x133)]['name'],this[i(0x141)]=Logger[i(0x12b)](),this['isLockable']=!!a['unlockItemOrSolution'],this[i(0x141)][i(0x12a)](i(0x13b)+this[i(0x13f)][i(0x13c)]+i(0x132)+this['roomB'][i(0x13c)]+i(0x145)+this[i(0x12f)]);}['getOtherSide'](a){var j=a47h;return this[j(0x13f)]===a?this[j(0x133)]:this[j(0x13f)];}['attemptUnlock'](a){var k=a47h;if(this['isLocked']&&this['unlockItemOrSolution']&&this[k(0x142)]===a)return this[k(0x12f)]=![],this['logger'][k(0x12a)](k(0x140)+this[k(0x13c)]+k(0x135)+a),!![];return this[k(0x141)][k(0x12a)](k(0x131)+this[k(0x13c)]+k(0x135)+a),![];}[a47h(0x144)](){return this['isLocked'];}['checkIfLockable'](){return this['isLockable'];}}function a47c(){var l=['roomA','Door\x20unlocked:\x20','logger','unlockItemOrSolution','6269499VAgxMu','checkIfLocked','.\x20Is\x20Locked:\x20','(((.+)+)+)+$','1833276lfBlMv','write','getInstance','35xyWdFA','toString','311184vSLaQp','isLocked','search','Failed\x20to\x20unlock\x20door:\x20','\x20and\x20','roomB','isLockable','.\x20Used:\x20','1594802NAlJYQ','To\x20','92oYrfaj','31985LJLigI','constructor','Door\x20created\x20between\x20','name','2992740WsYKKO','698772emFCeK'];a47c=function(){return l;};return a47c();}
1
+ var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0xaa))/0x1+parseInt(f(0xa9))/0x2*(parseInt(f(0x9f))/0x3)+-parseInt(f(0x97))/0x4+parseInt(f(0x9b))/0x5*(-parseInt(f(0x98))/0x6)+-parseInt(f(0x9c))/0x7+-parseInt(f(0x9d))/0x8+-parseInt(f(0xa1))/0x9*(-parseInt(f(0xa2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xed6ac));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var g=a47d;return a47a[g(0xae)]()['search'](g(0x91))[g(0xae)]()['constructor'](a47a)[g(0x9e)](g(0x91));});a47a();function a47c(){var n=['3huSYQu','roomA','32238BeKoGh','8740fdXdGe','Door\x20unlocked:\x20','To\x20','name','\x20and\x20','getInstance','Door\x20created\x20between\x20','487300luFlzn','1206650RoKAHc','write','logger','roomB','toString','Failed\x20to\x20unlock\x20door:\x20','unlockItemOrSolution','checkIfLocked','(((.+)+)+)+$','isLockable','checkIfLockable','.\x20Is\x20Locked:\x20','isLocked','attemptUnlock','1205188TtinTo','60ldDGPz','.\x20Used:\x20','getOtherSide','533005TjBLKt','7167454dxEmbN','9738232PcDdTJ','search'];a47c=function(){return n;};return a47c();}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-0x8f;var f=c[d];return f;},a47d(a,b);}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a47h(0xad)];[a47h(0x95)];[a47h(0x8f)];[a47h(0xa5)];[a47h(0xac)];[a47h(0x92)];constructor(a){var i=a47h;super(),this[i(0xa0)]=a[i(0xa0)],this[i(0xad)]=a[i(0xad)],this['isLocked']=a[i(0x95)]||![],this[i(0x8f)]=a['unlockItemOrSolution'],this[i(0xa5)]=a[i(0xa5)]?capitalCase(a[i(0xa5)]):i(0xa4)+a[i(0xad)][i(0xa5)],this[i(0xac)]=Logger[i(0xa7)](),this[i(0x92)]=!!a[i(0x8f)],this[i(0xac)]['write'](i(0xa8)+this['roomA']['name']+i(0xa6)+this['roomB'][i(0xa5)]+i(0x94)+this[i(0x95)]);}[a47h(0x9a)](a){var j=a47h;return this[j(0xa0)]===a?this[j(0xad)]:this['roomA'];}[a47h(0x96)](a){var k=a47h;if(this['isLocked']&&this['unlockItemOrSolution']&&this[k(0x8f)]===a)return this[k(0x95)]=![],this[k(0xac)][k(0xab)](k(0xa3)+this[k(0xa5)]+k(0x99)+a),!![];return this[k(0xac)][k(0xab)](k(0xaf)+this['name']+k(0x99)+a),![];}[a47h(0x90)](){var l=a47h;return this[l(0x95)];}[a47h(0x93)](){var m=a47h;return this[m(0x92)];}}
@@ -1 +1 @@
1
- const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x93))/0x1+-parseInt(f(0xab))/0x2+parseInt(f(0x91))/0x3+-parseInt(f(0xa6))/0x4+-parseInt(f(0xb3))/0x5*(parseInt(f(0xa8))/0x6)+parseInt(f(0xb1))/0x7+parseInt(f(0xa2))/0x8*(parseInt(f(0x9a))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xe806b));function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x91;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(0x99)]()[g(0x98)](g(0x97))[g(0x99)]()['constructor'](a48a)[g(0x98)]('(((.+)+)+)+$');});a48a();import{capitalCase}from'change-case';function a48c(){const q=['351ldmYiK','Listed\x20items\x20in\x20inventory:\x20','logger','items','getAllItems','\x20to\x20inventory.','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','Checked\x20for\x20item:\x20','226448vttGNG','weight','getItem','toLowerCase','5694596jFbKNS','.\x20Item\x20not\x20found.','12Dmyzpa','removeItem','join','173662CdIeug','keys','Added\x20item:\x20','values','name','getInstance','8823668RLWTef','map','413680BrBgNW','5383746TMWwcb','addItem','1532709kCbEJY','Retrieved\x20details\x20for\x20item:\x20','write','has','(((.+)+)+)+$','search','toString'];a48c=function(){return q;};return a48c();}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48h(0x9d)];['logger'];constructor(){const i=a48h;super(),this['items']=new Map(),this['logger']=Logger[i(0xb0)]();}[a48h(0x92)](a){const j=a48h;this['items']['set'](a[j(0xaf)]['toLowerCase'](),a),this[j(0x9c)]['write'](j(0xad)+a['name']+j(0x9f));}[a48h(0xa9)](a){const k=a48h,b=this[k(0xa4)](a);if(b)return this['items']['delete'](a[k(0xa5)]()),this[k(0x9c)]['write']('Removed\x20item:\x20'+a+'\x20from\x20inventory.'),b;return this[k(0x9c)][k(0x95)]('Failed\x20to\x20remove\x20item:\x20'+a+k(0xa7)),null;}['hasItem'](a){const l=a48h,b=this[l(0x9d)][l(0x96)](a[l(0xa5)]()),c=[...this[l(0x9d)][l(0xac)]()];return this[l(0x9c)][l(0x95)](l(0xa1)+a+'\x20in\x20'+c[l(0xaa)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a48h(0xa4)](a){const m=a48h,b=this[m(0x9d)]['get'](a[m(0xa5)]())||null;return b?this[m(0x9c)]['write'](m(0x94)+a+'.'):this[m(0x9c)]['write'](m(0xa0)+a+'.\x20Item\x20not\x20found.'),b;}['listItems'](){const n=a48h,a=[...this[n(0x9d)]['keys']()],b=a[n(0xb2)](c=>capitalCase(c));return this[n(0x9c)]['write'](n(0x9b)+b[n(0xaa)](',\x20')+'.'),a;}['getWeight'](){const o=a48h;let a=0x0;for(const b of this[o(0x9d)]['values']()){a+=b[o(0xa3)];}return a;}[a48h(0x9e)](){const p=a48h;return[...this['items'][p(0xae)]()];}}
1
+ function a48c(){const r=['6527520jjffQV','keys','40242QkkuOn','apply','402946BRbVhd','write','getItem','58500PeMRlX','\x20to\x20inventory.','Retrieved\x20details\x20for\x20item:\x20','711762pCWEXt','addItem','7641783CchTCj','delete','Listed\x20items\x20in\x20inventory:\x20','.\x20Exists:\x20','toString','items','logger','9PasTZN','search','get','getAllItems','\x20from\x20inventory.','values','hasItem','constructor','toLowerCase','join','getWeight','has','set','removeItem','4163643FsZctX','weight','8sRsWDU','.\x20Item\x20not\x20found.','listItems','name','Failed\x20to\x20remove\x20item:\x20','7rTgrnm','60ljnqNa','map','getInstance'];a48c=function(){return r;};return a48c();}const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0xd9))/0x1+parseInt(f(0xd3))/0x2*(-parseInt(f(0xe2))/0x3)+parseInt(f(0xd6))/0x4*(parseInt(f(0xcc))/0x5)+parseInt(f(0xd1))/0x6*(-parseInt(f(0xcb))/0x7)+-parseInt(f(0xc6))/0x8*(parseInt(f(0xdb))/0x9)+parseInt(f(0xcf))/0xa+parseInt(f(0xc4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x6fe4a));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0xdf)]()[h(0xe3)]('(((.+)+)+)+$')['toString']()[h(0xe9)](a48a)[h(0xe3)]('(((.+)+)+)+$');});a48a();import{capitalCase}from'change-case';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xc3;let f=c[d];return f;},a48d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a48i(0xe1)];constructor(){const j=a48i;super(),this[j(0xe0)]=new Map(),this[j(0xe1)]=Logger[j(0xce)]();}[a48i(0xda)](a){const k=a48i;this[k(0xe0)][k(0xee)](a[k(0xc9)]['toLowerCase'](),a),this[k(0xe1)][k(0xd4)]('Added\x20item:\x20'+a[k(0xc9)]+k(0xd7));}[a48i(0xc3)](a){const l=a48i,b=this[l(0xd5)](a);if(b)return this['items'][l(0xdc)](a[l(0xea)]()),this[l(0xe1)][l(0xd4)]('Removed\x20item:\x20'+a+l(0xe6)),b;return this[l(0xe1)][l(0xd4)](l(0xca)+a+l(0xc7)),null;}[a48i(0xe8)](a){const m=a48i,b=this[m(0xe0)][m(0xed)](a[m(0xea)]()),c=[...this['items'][m(0xd0)]()];return this[m(0xe1)][m(0xd4)]('Checked\x20for\x20item:\x20'+a+'\x20in\x20'+c[m(0xeb)](',\x20')+m(0xde)+b+'.'),b;}[a48i(0xd5)](a){const n=a48i,b=this[n(0xe0)][n(0xe4)](a[n(0xea)]())||null;return b?this['logger'][n(0xd4)](n(0xd8)+a+'.'):this[n(0xe1)][n(0xd4)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+n(0xc7)),b;}[a48i(0xc8)](){const o=a48i,a=[...this[o(0xe0)][o(0xd0)]()],b=a[o(0xcd)](c=>capitalCase(c));return this['logger'][o(0xd4)](o(0xdd)+b['join'](',\x20')+'.'),a;}[a48i(0xec)](){const p=a48i;let a=0x0;for(const b of this['items'][p(0xe7)]()){a+=b[p(0xc5)];}return a;}[a48i(0xe5)](){const q=a48i;return[...this[q(0xe0)]['values']()];}}
@@ -1 +1 @@
1
- function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x18b;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(0x1a4))/0x1*(-parseInt(f(0x194))/0x2)+-parseInt(f(0x19f))/0x3*(parseInt(f(0x18b))/0x4)+parseInt(f(0x18f))/0x5*(parseInt(f(0x199))/0x6)+-parseInt(f(0x191))/0x7+parseInt(f(0x1a7))/0x8*(-parseInt(f(0x198))/0x9)+-parseInt(f(0x19e))/0xa*(parseInt(f(0x1a6))/0xb)+parseInt(f(0x1a0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xc454d));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x19c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x196)]()[h(0x1a5)](h(0x1a1))[h(0x196)]()[h(0x197)](a49a)[h(0x1a5)](h(0x1a1));});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x1a2)];[a49i(0x190)];[a49i(0x18e)];[a49i(0x19a)];[a49i(0x18d)];[a49i(0x19b)];[a49i(0x195)];[a49i(0x1a3)];[a49i(0x193)];[a49i(0x19d)];constructor(a){var j=a49i;super(),this[j(0x190)]=a[j(0x190)],this[j(0x18e)]=a[j(0x18e)],this[j(0x19a)]=a['size'],this[j(0x18d)]=a[j(0x18d)],this['shape']=a['shape'],this['color']=a[j(0x195)],this[j(0x1a3)]=a['texture'],this[j(0x193)]=a[j(0x193)],this[j(0x19d)]=a[j(0x19d)],this[j(0x1a2)]=a49e();}['use'](){var k=a49i;return k(0x192)+this[k(0x190)]+k(0x18c);}}function a49c(){var l=['160ZfmzLN','.\x20Nothing\x20special\x20happens.','category','description','25XQfobi','name','3734353iXmWHt','You\x20use\x20the\x20','rating','80pTQMHU','color','toString','constructor','9IzWpYB','516138JKCCXM','size','shape','apply','weight','6494570RcxnET','150JhkZzE','45611628KugaLW','(((.+)+)+)+$','uuid','texture','27361cdyEcC','search','11rvwtDQ','9180280SNNqvS'];a49c=function(){return l;};return a49c();}
1
+ var a49i=a49d;function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x195;var f=c[d];return f;},a49d(a,b);}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1a9))/0x1*(-parseInt(f(0x1a8))/0x2)+parseInt(f(0x1a3))/0x3+-parseInt(f(0x1a7))/0x4+-parseInt(f(0x1af))/0x5*(parseInt(f(0x1a4))/0x6)+-parseInt(f(0x1b2))/0x7*(parseInt(f(0x19c))/0x8)+parseInt(f(0x1ae))/0x9*(parseInt(f(0x198))/0xa)+-parseInt(f(0x1a5))/0xb*(-parseInt(f(0x19f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x54b02));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x19d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x19e)]()[h(0x1a2)](h(0x1ab))['toString']()[h(0x196)](a49a)['search']('(((.+)+)+)+$');});a49a();function a49c(){var l=['constructor','description','10lZHEoI','use','texture','weight','69632tmznOK','apply','toString','12MwyxxB','You\x20use\x20the\x20','shape','search','757527XoOSdZ','5172oPlzGN','10930788tBCqHY','size','1863576kvTsST','650948EjYWPJ','1mOadsY','color','(((.+)+)+)+$','rating','uuid','1716579iaysAP','3085FoFayF','category','.\x20Nothing\x20special\x20happens.','336ToGVqg','name'];a49c=function(){return l;};return a49c();}import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x1ad)];[a49i(0x195)];['description'];[a49i(0x1a6)];[a49i(0x1b0)];['shape'];['color'];[a49i(0x19a)];[a49i(0x1ac)];['weight'];constructor(a){var j=a49i;super(),this[j(0x195)]=a[j(0x195)],this[j(0x197)]=a[j(0x197)],this['size']=a[j(0x1a6)],this[j(0x1b0)]=a[j(0x1b0)],this[j(0x1a1)]=a[j(0x1a1)],this[j(0x1aa)]=a[j(0x1aa)],this[j(0x19a)]=a[j(0x19a)],this[j(0x1ac)]=a[j(0x1ac)],this[j(0x19b)]=a[j(0x19b)],this[j(0x1ad)]=a49e();}[a49i(0x199)](){var k=a49i;return k(0x1a0)+this[k(0x195)]+k(0x1b1);}}
@@ -1 +1 @@
1
- const a50h=a50d;function a50c(){const n=['moveTo','random','128GPrfss','length','name','constructor','7485150RWitIW','2225215LqtcJm','9pscXhf','2624dBDoNn','_dialogue','search','toString','_name','3680836DUKHyS','2634129HCEEWr','floor','26626370LOUCTj','scene','1167688QmpUtg','7VXvJGS','(((.+)+)+)+$','rooms'];a50c=function(){return n;};return a50c();}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x1f5))/0x1*(parseInt(f(0x1ee))/0x2)+parseInt(f(0x1e4))/0x3+parseInt(f(0x1e3))/0x4+parseInt(f(0x1f3))/0x5+parseInt(f(0x1f2))/0x6*(parseInt(f(0x1e9))/0x7)+parseInt(f(0x1e8))/0x8+parseInt(f(0x1f4))/0x9*(-parseInt(f(0x1e6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xc4d40));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['toString']()['search'](g(0x1ea))[g(0x1e1)]()[g(0x1f1)](a50a)[g(0x1e0)]('(((.+)+)+)+$');});function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1df;let f=c[d];return f;},a50d(a,b);}a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a50h(0x1df)];[a50h(0x1eb)];['scene'];constructor(a,b,c,d){const i=a50h;super(d),this[i(0x1e2)]=a,this[i(0x1df)]=b,this[i(0x1eb)]=c;}get[a50h(0x1f0)](){const j=a50h;return this[j(0x1e2)];}['speak'](){const k=a50h;return this[k(0x1df)][Math[k(0x1e5)](Math[k(0x1ed)]()*this[k(0x1df)]['length'])];}['autonomousMove'](a){const l=a50h,b=a[Math[l(0x1e5)](Math[l(0x1ed)]()*a[l(0x1ef)])];this[l(0x1ec)](b['name']);}[a50h(0x1ec)](a){const m=a50h,b={'actor':this,'rooms':this['rooms'],'scene':this[m(0x1e7)]},c=new GoCommand(b);c['execute']([a]);}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x13f))/0x1*(-parseInt(f(0x14e))/0x2)+-parseInt(f(0x14c))/0x3+-parseInt(f(0x151))/0x4+-parseInt(f(0x142))/0x5*(-parseInt(f(0x148))/0x6)+-parseInt(f(0x13c))/0x7+parseInt(f(0x149))/0x8*(parseInt(f(0x145))/0x9)+-parseInt(f(0x147))/0xa*(-parseInt(f(0x13e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xbd669));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x137;let f=c[d];return f;},a50d(a,b);}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x14f)]()['search'](h(0x140))[h(0x14f)]()[h(0x139)](a50a)[h(0x14a)](h(0x140));});function a50c(){const o=['toString','speak','307672YjSyIK','execute','name','constructor','random','_name','6896701fyiraC','scene','11okWQdW','1OJhNDs','(((.+)+)+)+$','_dialogue','392895SSUHRA','rooms','apply','14211FZcsdJ','length','2292670RbqnNP','54xKEPrD','5272CqmuOv','search','moveTo','4016625bngNlL','floor','2399564VcBYZk'];a50c=function(){return o;};return a50c();}a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a50i(0x141)];[a50i(0x143)];[a50i(0x13d)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x13b)]=a,this[j(0x141)]=b,this[j(0x143)]=c;}get[a50i(0x138)](){const k=a50i;return this[k(0x13b)];}[a50i(0x150)](){const l=a50i;return this['_dialogue'][Math[l(0x14d)](Math[l(0x13a)]()*this[l(0x141)][l(0x146)])];}['autonomousMove'](a){const m=a50i,b=a[Math[m(0x14d)](Math[m(0x13a)]()*a[m(0x146)])];this[m(0x14b)](b[m(0x138)]);}[a50i(0x14b)](a){const n=a50i,b={'actor':this,'rooms':this[n(0x143)],'scene':this[n(0x13d)]},c=new GoCommand(b);c[n(0x137)]([a]);}}
@@ -1 +1 @@
1
- const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x83))/0x1*(-parseInt(f(0xc9))/0x2)+parseInt(f(0xaa))/0x3+parseInt(f(0xc4))/0x4*(parseInt(f(0xcd))/0x5)+parseInt(f(0x7b))/0x6+-parseInt(f(0x75))/0x7+-parseInt(f(0x87))/0x8*(-parseInt(f(0xc5))/0x9)+-parseInt(f(0xca))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x8bd73));function a51c(){const B=['Failed\x20to\x20remove\x20','unequip','190BufRBs','Removed\x20','1141497HImXEe','head','(((.+)+)+)+$','Shield','removeInventory','weight','191280TOKeqk','search','arms','enterRoom','boots','rightHand','initialEquipment','You\x20equipped\x20','355939PBkZar','equipment','You\x20unequipped\x20','speak','2584JYZYsg','\x20from\x20player\x27s\x20inventory.','_equipment','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','values','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','category','body\x20armor','Helmet','_playerName','You\x20don\x27t\x20have\x20','constructor','logger','leaveRoom','leftHand','Nexus','hasItem','off','shield','startLocation','playerName','A\x20featureless\x20room','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','Max\x20carrying\x20weight\x20must\x20be\x20positive.','name','_currentLocation','_inventory','\x20is\x20no\x20longer\x20listeng\x20in\x20','gloves','toLowerCase','hear','equip','includes','LegArmor','canEquip','1193127XeAkPT','determineEquipmentSlot','error','getInstance','legs','Gloves','Boots','log','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','\x20slot.','_maxCarryingWeight','maxCarryingWeight','BodyArmor','\x20is\x20now\x20listening\x20in\x20room\x20','torso','ArmArmor','currentWeight','addInventory','Hat','inventoryItems','hat','toString','addItem','inventory','unequipBySlot','removeItem','44364gDTMMq','19260Skachu','write','legarmor','bind','2QaeHTF','11623480uxpGcK'];a51c=function(){return B;};return a51c();}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(0xbf)]()[g(0x7c)](g(0x77))[g(0xbf)]()[g(0x92)](a51a)[g(0x7c)](g(0x77));});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-0x74;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(0x90)];[a51h(0xa0)];['_inventory'];[a51h(0x89)];[a51h(0xb4)]=0x32;[a51h(0x93)];constructor(a){const i=a51h;super(),this[i(0x90)]=a[i(0x9b)],this[i(0xa0)]=a[i(0x9a)]||new Room({'name':i(0x96),'description':i(0x9c)}),this[i(0xa1)]=new Inventory(),this[i(0x93)]=Logger[i(0xad)]();if(a?.[i(0xbd)])for(const b of a[i(0xbd)]){this[i(0xa1)]['addItem'](b);}this[i(0x89)]=a?.[i(0x81)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0x9f)](){const j=a51h;return this[j(0x90)];}get['currentLocation'](){const k=a51h;return this[k(0xa0)];}set['currentLocation'](a){const l=a51h;this['_currentLocation']!==a&&(this[l(0x94)](),this[l(0x7e)](a)),this[l(0xa0)]=a;}get[a51h(0xc1)](){const m=a51h;return this[m(0xa1)];}get['equipment'](){const n=a51h;return this[n(0x89)];}set['equipment'](a){const o=a51h;this[o(0x89)]=a;}get[a51h(0xb5)](){return this['_maxCarryingWeight'];}set[a51h(0xb5)](a){const p=a51h;a>0x0?this[p(0xb4)]=a:console[p(0xac)](p(0x9e));}get[a51h(0xba)](){const q=a51h;let a=this[q(0xa1)]['getWeight']();for(const b in this[q(0x89)]){const c=this['_equipment'][b];c&&(a+=c[q(0x7a)]);}return a;}[a51h(0xbb)](a){const r=a51h;if(this[r(0xba)]+a[r(0x7a)]>this[r(0xb5)]){this[r(0x93)][r(0xc6)](r(0x8c));throw new Error(r(0xb2));}this[r(0xa1)][r(0xc0)](a),this[r(0x93)]['write']('Added\x20'+a[r(0x9f)]+'\x20to\x20player\x27s\x20inventory.');}[a51h(0x79)](a){const s=a51h;if(this[s(0xa1)][s(0xc3)](a[s(0x9f)]))return this[s(0x93)]['write'](s(0x74)+a['name']+s(0x88)),!![];return this[s(0x93)][s(0xc6)](s(0xcb)+a['name']+'\x20from\x20player\x27s\x20inventory.'),![];}[a51h(0xa6)](a){const t=a51h;if(!this['_inventory'][t(0x97)](a['name']))return t(0x91)+a[t(0x9f)]+'\x20in\x20your\x20inventory.';if(!this[t(0xa9)](a))return'You\x20can\x27t\x20equip\x20'+a[t(0x9f)]+'.';const b=this[t(0xab)](a['category']);if(!b)return a[t(0x9f)]+t(0x9d);if(this[t(0x84)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[t(0x84)][b]=a,this[t(0x79)](a),t(0x82)+a['name']+'.';}[a51h(0xcc)](a){const u=a51h;let b=a;if(!this[u(0x84)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this['unequipBySlot'](b);}[a51h(0xab)](a){const v=a51h;switch(a[v(0xa4)]()){case Category['Weapon'][v(0xa4)]():return v(0x80);case Category[v(0x78)][v(0xa4)]():return v(0x95);case Category[v(0xaf)][v(0xa4)]():return'gloves';case Category[v(0x8f)][v(0xa4)]():case Category[v(0xbc)][v(0xa4)]():return v(0x76);case Category[v(0xb0)]['toLowerCase']():return'feet';case Category[v(0xa8)][v(0xa4)]():return v(0xae);case Category[v(0xb9)]['toLowerCase']():return v(0x7d);case Category[v(0xb6)]['toLowerCase']():return'torso';case'weapon':return v(0x80);case v(0x99):return v(0x95);case v(0xa3):return v(0xa3);case'helmet':case v(0xbe):return v(0x76);case v(0x7f):return'feet';case'leg\x20armor':case v(0xc7):return v(0xae);case'arm\x20armor':case'armarmor':return'arms';case v(0x8e):case'bodyarmor':case v(0xb8):return'torso';default:return null;}}[a51h(0xa9)](a){const w=a51h;return Object[w(0x8b)](Category)[w(0xa7)](a[w(0x8d)]);}[a51h(0xc2)](a){const x=a51h,b=this[x(0x84)][a];if(!b)return x(0x8a)+a+x(0xb3);return this[x(0xbb)](b),this[x(0x84)][a]=null,x(0x85)+b[x(0x9f)]+'.';}[a51h(0xa5)](a,b){const y=a51h;a!==this&&this['logger'][y(0xb1)](a['name']+'\x20says:\x20\x22'+b+'\x22');}[a51h(0x7e)](a){const z=a51h;this[z(0xa0)]=a,a['on'](z(0x86),this[z(0xa5)][z(0xc8)](this)),this[z(0x93)][z(0xc6)](this[z(0x9f)]+z(0xb7)+a[z(0x9f)]);}[a51h(0x94)](){const A=a51h;this['_currentLocation']&&(this[A(0xa0)][A(0x98)](A(0x86),this[A(0xa5)][A(0xc8)](this)),this[A(0x93)]['write'](this[A(0x9f)]+A(0xa2)+this[A(0xa0)][A(0x9f)]));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x118))/0x1+-parseInt(f(0xda))/0x2+-parseInt(f(0xdf))/0x3*(-parseInt(f(0x103))/0x4)+-parseInt(f(0x112))/0x5*(parseInt(f(0x10d))/0x6)+parseInt(f(0xee))/0x7*(-parseInt(f(0x10e))/0x8)+-parseInt(f(0xdb))/0x9+parseInt(f(0x119))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xba659));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a['toString']()['search'](h(0xc9))[h(0xea)]()[h(0x109)](a51a)[h(0xf5)](h(0xc9));});a51a();function a51c(){const C=['body\x20armor','weapon','You\x20unequipped\x20','You\x20equipped\x20','initialEquipment','\x20slot.','arm\x20armor','toString','\x20from\x20player\x27s\x20inventory.','shield','hear','1412432DjDfAC','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','currentLocation','maxCarryingWeight','Max\x20carrying\x20weight\x20must\x20be\x20positive.','\x20is\x20no\x20longer\x20listeng\x20in\x20','includes','search','canEquip','A\x20featureless\x20room','inventoryItems','Helmet','write','Hat','toLowerCase','addItem','equipment','unequip','hat','armarmor','.\x20You\x20must\x20unequip\x20it\x20first.','4846352FcShdz','BodyArmor','name','You\x20don\x27t\x20have\x20','head','\x20is\x20now\x20listening\x20in\x20room\x20','constructor','equip','speak','torso','6znepMk','48AaUOwj','\x20in\x20your\x20inventory.','rightHand','leaveRoom','3395765ELjBSJ','removeItem','_inventory','\x20to\x20player\x27s\x20inventory.','helmet','Failed\x20to\x20remove\x20','616818VyJXTg','36148990YbLGif','\x20says:\x20\x22','arms','currentWeight','Shield','ArmArmor','leg\x20armor','off','_equipment','weight','legarmor','Gloves','apply','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','Weapon','unequipBySlot','(((.+)+)+)+$','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','Boots','logger','boots','gloves','inventory','_playerName','getInstance','feet','removeInventory','_maxCarryingWeight','getWeight','values','legs','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','Removed\x20','2934364KyNSVN','11905497AnDCFE','_currentLocation','bind','LegArmor','3lTYsss','enterRoom','leftHand','determineEquipmentSlot'];a51c=function(){return C;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xbc;let f=c[d];return f;},a51d(a,b);}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0xd0)];['_currentLocation'];[a51i(0x114)];[a51i(0xc1)];['_maxCarryingWeight']=0x32;[a51i(0xcc)];constructor(a){const j=a51i;super(),this[j(0xd0)]=a['playerName'],this[j(0xdc)]=a['startLocation']||new Room({'name':'Nexus','description':j(0xf7)}),this[j(0x114)]=new Inventory(),this['logger']=Logger[j(0xd1)]();if(a?.[j(0xf8)])for(const b of a[j(0xf8)]){this['_inventory'][j(0xfd)](b);}this['_equipment']=a?.[j(0xe7)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a51i;return this[k(0xd0)];}get[a51i(0xf0)](){return this['_currentLocation'];}set['currentLocation'](a){const l=a51i;this[l(0xdc)]!==a&&(this[l(0x111)](),this[l(0xe0)](a)),this[l(0xdc)]=a;}get[a51i(0xcf)](){const m=a51i;return this[m(0x114)];}get[a51i(0xfe)](){const n=a51i;return this[n(0xc1)];}set['equipment'](a){const o=a51i;this[o(0xc1)]=a;}get[a51i(0xf1)](){const p=a51i;return this[p(0xd4)];}set[a51i(0xf1)](a){const q=a51i;a>0x0?this[q(0xd4)]=a:console['error'](q(0xf2));}get[a51i(0xbc)](){const r=a51i;let a=this[r(0x114)][r(0xd5)]();for(const b in this[r(0xc1)]){const c=this['_equipment'][b];c&&(a+=c[r(0xc2)]);}return a;}['addInventory'](a){const s=a51i;if(this[s(0xbc)]+a[s(0xc2)]>this[s(0xf1)]){this[s(0xcc)][s(0xfa)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(s(0xef));}this['_inventory'][s(0xfd)](a),this['logger'][s(0xfa)]('Added\x20'+a['name']+s(0x115));}[a51i(0xd3)](a){const t=a51i;if(this[t(0x114)][t(0x113)](a[t(0x105)]))return this[t(0xcc)][t(0xfa)](t(0xd9)+a[t(0x105)]+t(0xeb)),!![];return this[t(0xcc)][t(0xfa)](t(0x117)+a[t(0x105)]+t(0xeb)),![];}[a51i(0x10a)](a){const u=a51i;if(!this[u(0x114)]['hasItem'](a[u(0x105)]))return u(0x106)+a[u(0x105)]+u(0x10f);if(!this[u(0xf6)](a))return'You\x20can\x27t\x20equip\x20'+a[u(0x105)]+'.';const b=this[u(0xe2)](a['category']);if(!b)return a['name']+u(0xd8);if(this[u(0xfe)][b])return u(0xc6)+b+u(0x102);return this['equipment'][b]=a,this['removeInventory'](a),u(0xe6)+a[u(0x105)]+'.';}[a51i(0xff)](a){const v=a51i;let b=a;if(!this[v(0xfe)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[v(0xc8)](b);}[a51i(0xe2)](a){const w=a51i;switch(a[w(0xfc)]()){case Category[w(0xc7)][w(0xfc)]():return w(0x110);case Category[w(0xbd)][w(0xfc)]():return w(0xe1);case Category[w(0xc4)][w(0xfc)]():return w(0xce);case Category[w(0xf9)][w(0xfc)]():case Category[w(0xfb)]['toLowerCase']():return'head';case Category[w(0xcb)][w(0xfc)]():return'feet';case Category[w(0xde)][w(0xfc)]():return w(0xd7);case Category[w(0xbe)]['toLowerCase']():return w(0x11b);case Category[w(0x104)][w(0xfc)]():return w(0x10c);case w(0xe4):return w(0x110);case w(0xec):return w(0xe1);case w(0xce):return w(0xce);case w(0x116):case w(0x100):return w(0x107);case w(0xcd):return w(0xd2);case w(0xbf):case w(0xc3):return'legs';case w(0xe9):case w(0x101):return'arms';case w(0xe3):case'bodyarmor':case w(0x10c):return'torso';default:return null;}}['canEquip'](a){const x=a51i;return Object[x(0xd6)](Category)[x(0xf4)](a['category']);}['unequipBySlot'](a){const y=a51i,b=this['equipment'][a];if(!b)return y(0xca)+a+y(0xe8);return this['addInventory'](b),this['equipment'][a]=null,y(0xe5)+b[y(0x105)]+'.';}[a51i(0xed)](a,b){const z=a51i;a!==this&&this[z(0xcc)]['log'](a[z(0x105)]+z(0x11a)+b+'\x22');}[a51i(0xe0)](a){const A=a51i;this['_currentLocation']=a,a['on'](A(0x10b),this[A(0xed)]['bind'](this)),this['logger']['write'](this[A(0x105)]+A(0x108)+a[A(0x105)]);}['leaveRoom'](){const B=a51i;this[B(0xdc)]&&(this[B(0xdc)][B(0xc0)](B(0x10b),this[B(0xed)][B(0xdd)](this)),this['logger'][B(0xfa)](this[B(0x105)]+B(0xf3)+this['_currentLocation']['name']));}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x148))/0x1*(-parseInt(f(0x156))/0x2)+parseInt(f(0x15b))/0x3+-parseInt(f(0x14f))/0x4+-parseInt(f(0x141))/0x5*(-parseInt(f(0x145))/0x6)+parseInt(f(0x159))/0x7+parseInt(f(0x151))/0x8*(-parseInt(f(0x147))/0x9)+parseInt(f(0x13f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x1b11f));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x15e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x150)]()[h(0x14c)]('(((.+)+)+)+$')['toString']()[h(0x14a)](a52a)['search'](h(0x154));});a52a();function a52c(){var n=['failureMessage','624884VXAKPH','toString','16boYtEV','solved','logger','(((.+)+)+)+$','getInstance','2UAGGVP','write','riddle','84833ntEaFG','requiredItem','203292jQAuiJ','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','You\x20solved\x20the\x20puzzle!','apply','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','You\x20have\x20already\x20solved\x20this\x20puzzle.','1240330WTFFKS','requiredPhrase','30Sfmqwn','matchesRequiredPhrase','rewardItem','hasRequiredItem','86334mQxOHD','Puzzle:\x20Correct\x20solution\x20provided.','559485Ugzmze','101180DHZPTv','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','constructor','successMessage','search','hasItem'];a52c=function(){return n;};return a52c();}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x13f;var f=c[d];return f;},a52d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x153)]=Logger[a52i(0x155)]();[a52i(0x152)]=![];[a52i(0x15a)];[a52i(0x140)];['riddle'];[a52i(0x143)];[a52i(0x14b)];[a52i(0x14e)];constructor(a){var j=a52i;super(),this['requiredItem']=a['requiredItem'],this['requiredPhrase']=a[j(0x140)],this['riddle']=a[j(0x158)],this[j(0x143)]=a[j(0x143)],this[j(0x14b)]=a[j(0x14b)]||j(0x15d),this[j(0x14e)]=a[j(0x14e)]||j(0x15f);}[a52i(0x144)](a){var k=a52i;if(this[k(0x15a)])return a[k(0x14d)](this[k(0x15a)]);return![];}[a52i(0x142)](a){var l=a52i;return this[l(0x140)]===a;}['solve'](a,b){var m=a52i;if(this['solved'])return this['logger'][m(0x157)](m(0x149)),{'success':![],'message':m(0x160)};return this[m(0x144)](b)||this[m(0x142)](a)?(this['solved']=!![],this[m(0x153)]['write'](m(0x146)),{'success':!![],'message':this[m(0x14b)]}):(this[m(0x153)][m(0x157)](m(0x15c)),{'success':![],'message':this[m(0x14e)]});}}
1
+ var a52i=a52d;function a52c(){var n=['7312zvqjbf','search','requiredItem','608145QDgJvI','logger','1463lqAaXU','matchesRequiredPhrase','11rxYtMB','5209533VZLNdX','8xnnoOC','33CdEBOr','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','(((.+)+)+)+$','hasItem','1704890QGtdmi','You\x20have\x20already\x20solved\x20this\x20puzzle.','riddle','solved','rewardItem','822092JpTNXU','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','failureMessage','apply','successMessage','toString','44958JPMDZy','5510910aChthR','solve','You\x20solved\x20the\x20puzzle!','hasRequiredItem','write','requiredPhrase'];a52c=function(){return n;};return a52c();}(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xb3))/0x1+-parseInt(f(0xb9))/0x2*(parseInt(f(0xaa))/0x3)+parseInt(f(0xa9))/0x4*(parseInt(f(0xa3))/0x5)+-parseInt(f(0xba))/0x6+-parseInt(f(0xa5))/0x7*(-parseInt(f(0xc0))/0x8)+parseInt(f(0xa8))/0x9+-parseInt(f(0xae))/0xa*(parseInt(f(0xa7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x79d1a));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xb6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xb8)]()[h(0xa1)]('(((.+)+)+)+$')[h(0xb8)]()['constructor'](a52a)[h(0xa1)](h(0xac));});function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xa1;var f=c[d];return f;},a52d(a,b);}a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0xa4)]=Logger['getInstance']();[a52i(0xb1)]=![];[a52i(0xa2)];['requiredPhrase'];[a52i(0xb0)];[a52i(0xb2)];[a52i(0xb7)];[a52i(0xb5)];constructor(a){var j=a52i;super(),this[j(0xa2)]=a[j(0xa2)],this[j(0xbf)]=a[j(0xbf)],this[j(0xb0)]=a[j(0xb0)],this['rewardItem']=a[j(0xb2)],this[j(0xb7)]=a[j(0xb7)]||j(0xbc),this[j(0xb5)]=a['failureMessage']||j(0xb4);}[a52i(0xbd)](a){var k=a52i;if(this['requiredItem'])return a[k(0xad)](this['requiredItem']);return![];}[a52i(0xa6)](a){var l=a52i;return this[l(0xbf)]===a;}[a52i(0xbb)](a,b){var m=a52i;if(this[m(0xb1)])return this['logger'][m(0xbe)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':m(0xaf)};return this['hasRequiredItem'](b)||this[m(0xa6)](a)?(this['solved']=!![],this[m(0xa4)][m(0xbe)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[m(0xb7)]}):(this[m(0xa4)][m(0xbe)](m(0xab)),{'success':![],'message':this[m(0xb5)]});}}
@@ -1 +1 @@
1
- const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x1fb))/0x1+parseInt(f(0x1db))/0x2*(parseInt(f(0x1ed))/0x3)+parseInt(f(0x1dc))/0x4*(parseInt(f(0x20e))/0x5)+parseInt(f(0x201))/0x6+-parseInt(f(0x204))/0x7*(-parseInt(f(0x1e6))/0x8)+-parseInt(f(0x20f))/0x9+parseInt(f(0x1f3))/0xa*(-parseInt(f(0x1e3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xb2bca));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['toString']()[g(0x1f5)]('(((.+)+)+)+$')[g(0x1d9)]()[g(0x208)](a53a)[g(0x1f5)](g(0x1f1));});function a53c(){const t=['logger','Item\x20removed\x20from\x20room\x20','speak','The\x20','\x20remains\x20locked.','138vEgyYI','values','get','puzzle','(((.+)+)+)+$','setPuzzle','11773090axHwyh','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','search','findExistingDoor','Room\x20created:\x20','\x20unlocked!','south','roomA','610787KnXiie','Invalid\x20direction:\x20','DOWN','attemptUnlock','name','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','3021714FFDpoo','EAST','attemptUnlockExit','330029AzEjLf','roomType','addItem','roomB','constructor','riddle','isStartRoom','getOppositeDirection','west','Item\x20added\x20to\x20room\x20','5kypgTq','7995357pDJMZL','WEST','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','write','.\x20Success:\x20','east','say','toString','inventory','45884gUcjEq','2306620FebGEc','Checking\x20if\x20exit\x20in\x20direction\x20','No\x20locked\x20exit\x20found\x20in\x20direction\x20','description','\x20is\x20locked.\x20Result:\x20','getExit','exits','11gKCPpS','removeItem','NORTH','216uRSGAz','emit'];a53c=function(){return t;};return a53c();}a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a53d(a,b);}import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53h(0x1e8)]=Logger['getInstance']();[a53h(0x1ff)];[a53h(0x1df)];[a53h(0x1e2)]=new Map();[a53h(0x205)];['isStartRoom'];[a53h(0x1da)]=new Inventory();constructor(a){const i=a53h;super(),this[i(0x1ff)]=a[i(0x1ff)],this[i(0x1df)]=a[i(0x1df)],this[i(0x205)]=a[i(0x205)]||RoomType['INSIDE'],a['exits']&&(this[i(0x1e2)]=a[i(0x1e2)]||new Map()),a[i(0x1da)]&&(this[i(0x1da)]=a[i(0x1da)]),a[i(0x1f0)]&&(this['puzzle']=a['puzzle']),this[i(0x20a)]=a['isStartRoom']||![],this[i(0x1e8)][i(0x1d5)](i(0x1f7)+this[i(0x1ff)]);}[a53h(0x1d8)](a,b){const j=a53h;this[j(0x1e7)](j(0x1ea),a,b);}['addExit'](a,b,c){const k=a53h;let d=this[k(0x1f6)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0x1e2)]['set'](a,d),b[k(0x1e2)]['set'](this[k(0x20b)](a),d);}[a53h(0x203)](a,b){const l=a53h,c=this[l(0x1e2)][l(0x1ef)](a);if(c instanceof Door){const d=c[l(0x1fe)](b);return this['logger'][l(0x1d5)](l(0x1d4)+a+l(0x1d6)+d),d?l(0x1eb)+c[l(0x1ff)]+l(0x1f8):'The\x20'+c['name']+l(0x1ec);}return this['logger'][l(0x1d5)](l(0x1de)+a),l(0x1f4);}[a53h(0x1e1)](a){const m=a53h;return this[m(0x1e8)][m(0x1d5)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[m(0x1e2)][m(0x1ef)](a);}['isExitLocked'](a){const n=a53h,b=this[n(0x1e2)][n(0x1ef)](a),c=b instanceof Door&&b['checkIfLocked']();return this[n(0x1e8)][n(0x1d5)](n(0x1dd)+a+n(0x1e0)+c),c;}[a53h(0x206)](a){const o=a53h;this['inventory'][o(0x206)](a),this['logger'][o(0x1d5)](o(0x20d)+this['name']+':\x20'+a[o(0x1ff)]);}[a53h(0x1e4)](a){const p=a53h;this[p(0x1da)]['hasItem'](a[p(0x1ff)])?(this['inventory'][p(0x1e4)](a[p(0x1ff)]),this['logger'][p(0x1d5)](p(0x1e9)+this['name']+':\x20'+a['name'])):this[p(0x1e8)][p(0x1d5)](p(0x200)+this['name']+':\x20'+a[p(0x1ff)]);}[a53h(0x1f2)](a){const q=a53h;this[q(0x1f0)]=a,this[q(0x1e8)][q(0x1d5)]('Puzzle\x20set\x20for\x20room\x20'+this[q(0x1ff)]+':\x20'+a[q(0x209)]);}[a53h(0x20b)](a){const r=a53h;switch(a){case'north':return Direction['SOUTH'];case r(0x1f9):return Direction[r(0x1e5)];case r(0x1d7):return Direction[r(0x1d3)];case r(0x20c):return Direction[r(0x202)];case'up':return Direction[r(0x1fd)];case'down':return Direction['UP'];default:throw new Error(r(0x1fc)+a);}}['findExistingDoor'](a){const s=a53h;for(const b of this[s(0x1e2)][s(0x1ee)]()){if(b instanceof Door){if(b[s(0x1fa)]===this&&b[s(0x207)]===a||b[s(0x207)]===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(0x1bd))/0x1*(-parseInt(f(0x1b1))/0x2)+parseInt(f(0x1cd))/0x3+parseInt(f(0x1b6))/0x4+parseInt(f(0x1bf))/0x5*(parseInt(f(0x1d4))/0x6)+-parseInt(f(0x1bc))/0x7*(parseInt(f(0x1b5))/0x8)+parseInt(f(0x1a7))/0x9*(-parseInt(f(0x1ba))/0xa)+parseInt(f(0x1b0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x9d3df));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x1cc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0x19e)](h(0x1d7))[h(0x1ca)]()['constructor'](a53a)[h(0x19e)](h(0x1d7));});function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x19d;let f=c[d];return f;},a53d(a,b);}a53a();function a53c(){const u=['INSIDE','east','toString','Item\x20removed\x20from\x20room\x20','apply','534636janaun','hasItem','.\x20Success:\x20','Puzzle\x20set\x20for\x20room\x20','getInstance','inventory','name','6aIrWhs','west','SOUTH','(((.+)+)+)+$','attemptUnlock','riddle','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','addItem','search','isStartRoom','say','Item\x20added\x20to\x20room\x20','No\x20locked\x20exit\x20found\x20in\x20direction\x20','Room\x20created:\x20','north','roomB','puzzle','234HSSjrk','description','speak','roomA','Checking\x20if\x20exit\x20in\x20direction\x20','DOWN','\x20remains\x20locked.','logger','removeItem','732105rqVqGy','1374322mmZCpZ','getOppositeDirection','NORTH','write','16LwMeUa','2689008bUQPIV','EAST','addExit','The\x20','363130dixPlB','roomType','2882103AXeczu','1skvMIl','WEST','4037395WOmdfj','down','Fetching\x20exit\x20in\x20direction:\x20','checkIfLocked','get','values','set','exits','south'];a53c=function(){return u;};return a53c();}import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x1ae)]=Logger[a53i(0x1d1)]();[a53i(0x1d3)];['description'];[a53i(0x1c6)]=new Map();[a53i(0x1bb)];[a53i(0x19f)];[a53i(0x1d2)]=new Inventory();constructor(a){const j=a53i;super(),this['name']=a['name'],this['description']=a[j(0x1a8)],this['roomType']=a[j(0x1bb)]||RoomType[j(0x1c8)],a[j(0x1c6)]&&(this['exits']=a[j(0x1c6)]||new Map()),a[j(0x1d2)]&&(this[j(0x1d2)]=a[j(0x1d2)]),a[j(0x1a6)]&&(this['puzzle']=a['puzzle']),this['isStartRoom']=a[j(0x19f)]||![],this[j(0x1ae)]['write'](j(0x1a3)+this[j(0x1d3)]);}[a53i(0x1a0)](a,b){const k=a53i;this['emit'](k(0x1a9),a,b);}[a53i(0x1b8)](a,b,c){const l=a53i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x1c5)](a,d),b['exits'][l(0x1c5)](this[l(0x1b2)](a),d);}['attemptUnlockExit'](a,b){const m=a53i,c=this['exits'][m(0x1c3)](a);if(c instanceof Door){const d=c[m(0x1d8)](b);return this['logger'][m(0x1b4)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0x1cf)+d),d?m(0x1b9)+c[m(0x1d3)]+'\x20unlocked!':m(0x1b9)+c[m(0x1d3)]+m(0x1ad);}return this[m(0x1ae)][m(0x1b4)](m(0x1a2)+a),m(0x1da);}['getExit'](a){const n=a53i;return this['logger'][n(0x1b4)](n(0x1c1)+a),this['exits'][n(0x1c3)](a);}['isExitLocked'](a){const o=a53i,b=this[o(0x1c6)][o(0x1c3)](a),c=b instanceof Door&&b[o(0x1c2)]();return this['logger'][o(0x1b4)](o(0x1ab)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a53i(0x19d)](a){const p=a53i;this['inventory'][p(0x19d)](a),this[p(0x1ae)][p(0x1b4)](p(0x1a1)+this['name']+':\x20'+a['name']);}[a53i(0x1af)](a){const q=a53i;this[q(0x1d2)][q(0x1ce)](a[q(0x1d3)])?(this[q(0x1d2)][q(0x1af)](a[q(0x1d3)]),this[q(0x1ae)][q(0x1b4)](q(0x1cb)+this[q(0x1d3)]+':\x20'+a[q(0x1d3)])):this[q(0x1ae)][q(0x1b4)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0x1d3)]+':\x20'+a[q(0x1d3)]);}['setPuzzle'](a){const r=a53i;this['puzzle']=a,this[r(0x1ae)][r(0x1b4)](r(0x1d0)+this[r(0x1d3)]+':\x20'+a[r(0x1d9)]);}['getOppositeDirection'](a){const s=a53i;switch(a){case s(0x1a4):return Direction[s(0x1d6)];case s(0x1c7):return Direction[s(0x1b3)];case s(0x1c9):return Direction[s(0x1be)];case s(0x1d5):return Direction[s(0x1b7)];case'up':return Direction[s(0x1ac)];case s(0x1c0):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}['findExistingDoor'](a){const t=a53i;for(const b of this['exits'][t(0x1c4)]()){if(b instanceof Door){if(b[t(0x1aa)]===this&&b['roomB']===a||b[t(0x1a5)]===this&&b[t(0x1aa)]===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(0x16d))/0x1*(parseInt(i(0x18d))/0x2)+parseInt(i(0x184))/0x3+-parseInt(i(0x148))/0x4*(parseInt(i(0x162))/0x5)+parseInt(i(0x16b))/0x6+parseInt(i(0x146))/0x7+parseInt(i(0x155))/0x8+parseInt(i(0x144))/0x9*(-parseInt(i(0x169))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x5066b));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x15f)]()[k(0x152)](k(0x172))[k(0x15f)]()['constructor'](a54a)['search']('(((.+)+)+)+$');});function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x142;let f=c[d];return f;},a54d(a,b);}a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a54c(){const D=['getRooms','\x20is\x20now\x20in\x20room\x20','push','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','\x22\x20does\x20not\x20exist.','search','.\x20Room\x20','Added\x20puzzle\x20to\x20room\x20','1111656OHpWZF','delete','\x20not\x20found\x20in\x20scene.','values','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','join','characterLocations','Added\x20item\x20','\x27s\x20location.\x20Room\x20','removeActor','toString','has','Actor\x20with\x20name\x20','1875YKUBES','getCharacterLocation','player','\x20already\x20exists\x20in\x20the\x20scene.','isStartRoom','roomFactory','logger','62910jtemaz','Removed\x20room\x20from\x20scene:\x20','1590654BAzIPA','set','647509ovszlI','determineStartRoom','addExit','createExitsFromConfig','setCharacterLocation','(((.+)+)+)+$','warn','Failed\x20to\x20set\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','Failed\x20to\x20add\x20item\x20','No\x20actor\x20with\x20name\x20','write','Room\x20\x22','direction','from','apply','removeRoom','generateRoomsFromConfig','addItem','length','\x20found\x20in\x20the\x20scene.','hasOwnProperty','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','1864155vKKXcd','connectRooms','keyRequired','createRoom','Scene\x20initialized\x20with\x20rooms:\x20','addPuzzleToRoom','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','get','keys','2kHBsaF','addRoom','allActors','342QrvJej','targetRoom','2312198MvNtym','actors','1492KcOFgZ','exits','name','rooms','roomConfiguration'];a54c=function(){return D;};return a54c();}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];['player'];[a54l(0x168)];[a54l(0x147)];[a54l(0x15b)]=new Map();[a54l(0x167)];constructor(a){const m=a54l;super(),this[m(0x167)]=new RoomFactory(),this[m(0x164)]=a['player'],this[m(0x14b)]=this[m(0x17e)](a[m(0x14c)]),this[m(0x168)]=Logger['getInstance'](),this[m(0x147)]=new Map(),this[m(0x170)](a['roomConfiguration']),this[m(0x168)][m(0x178)](m(0x188)+Object['keys'](this[m(0x14b)])[m(0x15a)](',\x20'));}['initialize'](){const n=a54l;this[n(0x164)]['currentLocation']=this[n(0x16e)]();}['generateRoomsFromConfig'](a){const o=a54l;if(!this[o(0x167)])throw new Error(o(0x183));const b={};for(const c of a){const d=this[o(0x167)][o(0x187)](c);b[c[o(0x14a)]]=d;}return b;}[a54l(0x170)](a){const p=a54l;for(const b of a){const c=this[p(0x14b)][b[p(0x14a)]];if(b['exits'])for(const d of b[p(0x149)]){const e=d[p(0x17a)]['toUpperCase'](),f=d[p(0x145)],g=d[p(0x186)],h=this[p(0x14b)][f];h&&c[p(0x16f)](Direction[e],h,g);}}}['addActor'](a){const q=a54l;if(this['actors'][q(0x160)](a[q(0x14a)]))throw new Error(q(0x161)+a[q(0x14a)]+q(0x165));this[q(0x147)][q(0x16c)](a[q(0x14a)],a);}[a54l(0x15e)](a){const r=a54l;if(!this[r(0x147)][r(0x160)](a))throw new Error(r(0x177)+a+r(0x181));this['actors'][r(0x156)](a);}['getActor'](a){return this['actors']['get'](a);}get[a54l(0x143)](){const s=a54l;return Array[s(0x17b)](this[s(0x147)][s(0x158)]());}[a54l(0x142)](a){const t=a54l;this['rooms'][a['name']]=a,this[t(0x168)][t(0x178)]('Added\x20room\x20to\x20scene:\x20'+a[t(0x14a)]);}[a54l(0x17d)](a){const u=a54l;return this[u(0x14b)][a]?(delete this[u(0x14b)][a],this[u(0x168)][u(0x178)](u(0x16a)+a),!![]):(this['logger'][u(0x178)](u(0x18a)+a),![]);}['addItemToRoom'](a,b){const v=a54l,c=this[v(0x14b)][b];c?(c[v(0x17f)](a),this[v(0x168)]['write'](v(0x15c)+a[v(0x14a)]+'\x20to\x20room\x20'+c[v(0x14a)])):this[v(0x168)][v(0x178)](v(0x176)+a['name']+v(0x153)+b+v(0x157));}[a54l(0x189)](a,b){const w=a54l,c=this[w(0x14b)][b];c?(c['setPuzzle'](a),this[w(0x168)]['write'](w(0x154)+c[w(0x14a)])):this[w(0x168)]['write']('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x171)](a,b){const x=a54l,c=this[x(0x14b)][b];c?(this[x(0x15b)]['set'](a[x(0x14a)],c),this['logger'][x(0x178)](a[x(0x14a)]+x(0x14e)+c['name'])):this[x(0x168)][x(0x178)](x(0x174)+a['name']+x(0x15d)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x163)](a){const y=a54l;return this[y(0x15b)][y(0x18b)](a[y(0x14a)]);}[a54l(0x16e)](){const z=a54l,a=[];for(const c in this['rooms']){if(this[z(0x14b)][z(0x182)](c)){const d=this[z(0x14b)][c];d[z(0x166)]&&a[z(0x14f)](d);}}if(a[z(0x180)]>0x1)throw new Error(z(0x150));if(a[z(0x180)]===0x1)return a[0x0];const b=Object[z(0x18c)](this[z(0x14b)]);if(b[z(0x180)]===0x0)throw new Error(z(0x159));return console[z(0x173)](z(0x175)),this['rooms'][b[0x0]];}['getPlayer'](){const A=a54l;return this[A(0x164)];}[a54l(0x14d)](){const B=a54l;return this[B(0x14b)];}[a54l(0x185)](a,b,c,d){const C=a54l,e=this[C(0x14b)][a],f=this[C(0x14b)][c];if(!e)throw new Error('Room\x20\x22'+a+C(0x151));if(!f)throw new Error(C(0x179)+c+C(0x151));e[C(0x16f)](b,f,d);}}
1
+ const a54l=a54d;function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x139;let f=c[d];return f;},a54d(a,b);}(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x146))/0x1+parseInt(i(0x15c))/0x2*(-parseInt(i(0x185))/0x3)+parseInt(i(0x175))/0x4*(-parseInt(i(0x16b))/0x5)+-parseInt(i(0x166))/0x6*(-parseInt(i(0x14a))/0x7)+parseInt(i(0x182))/0x8*(parseInt(i(0x16c))/0x9)+parseInt(i(0x179))/0xa+parseInt(i(0x141))/0xb*(-parseInt(i(0x147))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x9842e));function a54c(){const E=['\x20to\x20room\x20','roomFactory','characterLocations','addExit','addActor','\x27s\x20location.\x20Room\x20','(((.+)+)+)+$','1039656yeBndf','targetRoom','warn','3480jfgxmK','search','No\x20actor\x20with\x20name\x20','push','setCharacterLocation','Room\x20\x22','Added\x20room\x20to\x20scene:\x20','.\x20Room\x20','exits','determineStartRoom','removeRoom','allActors','4103IGfQOF','Failed\x20to\x20add\x20item\x20','Removed\x20room\x20from\x20scene:\x20','addRoom','getActor','273808IooyjM','4884AeghJo','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','actors','56ofWzdg','getInstance','values','roomConfiguration','generateRoomsFromConfig','getPlayer','addItemToRoom','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','has','delete','Added\x20item\x20','direction','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','apply','initialize','getRooms','currentLocation','set','1318MoqXSH','keys','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Failed\x20to\x20set\x20','player','\x20not\x20found\x20in\x20scene.','constructor','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','setPuzzle','keyRequired','658314MOwjmn','isStartRoom','toString','Added\x20puzzle\x20to\x20room\x20','logger','117850OqiUlD','27ejaYst','name','createRoom','addPuzzleToRoom','get','write','createExitsFromConfig','length','connectRooms','176YNufLH','\x20already\x20exists\x20in\x20the\x20scene.','rooms','getCharacterLocation','10355620BTuYhT','join'];a54c=function(){return E;};return a54c();}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x168)]()[k(0x186)](k(0x181))['toString']()[k(0x162)](a54a)[k(0x186)](k(0x181));});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x177)];[a54l(0x160)];[a54l(0x16a)];[a54l(0x149)];[a54l(0x17d)]=new Map();[a54l(0x17c)];constructor(a){const m=a54l;super(),this[m(0x17c)]=new RoomFactory(),this['player']=a[m(0x160)],this[m(0x177)]=this[m(0x14e)](a['roomConfiguration']),this[m(0x16a)]=Logger[m(0x14b)](),this[m(0x149)]=new Map(),this[m(0x172)](a[m(0x14d)]),this[m(0x16a)]['write']('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x15d)](this[m(0x177)])[m(0x17a)](',\x20'));}[a54l(0x158)](){const n=a54l;this['player'][n(0x15a)]=this[n(0x13e)]();}[a54l(0x14e)](a){const o=a54l;if(!this[o(0x17c)])throw new Error(o(0x163));const b={};for(const c of a){const d=this[o(0x17c)][o(0x16e)](c);b[c[o(0x16d)]]=d;}return b;}[a54l(0x172)](a){const p=a54l;for(const b of a){const c=this[p(0x177)][b[p(0x16d)]];if(b[p(0x13d)])for(const d of b[p(0x13d)]){const e=d[p(0x155)]['toUpperCase'](),f=d[p(0x183)],g=d[p(0x165)],h=this[p(0x177)][f];h&&c[p(0x17e)](Direction[e],h,g);}}}[a54l(0x17f)](a){const q=a54l;if(this[q(0x149)]['has'](a[q(0x16d)]))throw new Error('Actor\x20with\x20name\x20'+a[q(0x16d)]+q(0x176));this[q(0x149)][q(0x15b)](a['name'],a);}['removeActor'](a){const r=a54l;if(!this['actors'][r(0x152)](a))throw new Error(r(0x187)+a+'\x20found\x20in\x20the\x20scene.');this[r(0x149)][r(0x153)](a);}[a54l(0x145)](a){const s=a54l;return this['actors'][s(0x170)](a);}get[a54l(0x140)](){const t=a54l;return Array['from'](this[t(0x149)][t(0x14c)]());}[a54l(0x144)](a){const u=a54l;this['rooms'][a['name']]=a,this['logger'][u(0x171)](u(0x13b)+a[u(0x16d)]);}[a54l(0x13f)](a){const v=a54l;return this[v(0x177)][a]?(delete this[v(0x177)][a],this[v(0x16a)][v(0x171)](v(0x143)+a),!![]):(this[v(0x16a)]['write'](v(0x148)+a),![]);}[a54l(0x150)](a,b){const w=a54l,c=this[w(0x177)][b];c?(c['addItem'](a),this[w(0x16a)][w(0x171)](w(0x154)+a[w(0x16d)]+w(0x17b)+c[w(0x16d)])):this[w(0x16a)][w(0x171)](w(0x142)+a[w(0x16d)]+w(0x13c)+b+w(0x161));}[a54l(0x16f)](a,b){const x=a54l,c=this[x(0x177)][b];c?(c[x(0x164)](a),this[x(0x16a)][x(0x171)](x(0x169)+c[x(0x16d)])):this[x(0x16a)][x(0x171)](x(0x15e)+b+x(0x161));}[a54l(0x139)](a,b){const y=a54l,c=this[y(0x177)][b];c?(this[y(0x17d)]['set'](a['name'],c),this['logger'][y(0x171)](a['name']+'\x20is\x20now\x20in\x20room\x20'+c[y(0x16d)])):this['logger'][y(0x171)](y(0x15f)+a['name']+y(0x180)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x178)](a){const z=a54l;return this[z(0x17d)][z(0x170)](a[z(0x16d)]);}['determineStartRoom'](){const A=a54l,a=[];for(const c in this[A(0x177)]){if(this[A(0x177)]['hasOwnProperty'](c)){const d=this[A(0x177)][c];d[A(0x167)]&&a[A(0x188)](d);}}if(a[A(0x173)]>0x1)throw new Error(A(0x156));if(a[A(0x173)]===0x1)return a[0x0];const b=Object[A(0x15d)](this[A(0x177)]);if(b['length']===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[A(0x184)](A(0x151)),this[A(0x177)][b[0x0]];}[a54l(0x14f)](){const B=a54l;return this[B(0x160)];}[a54l(0x159)](){const C=a54l;return this[C(0x177)];}[a54l(0x174)](a,b,c,d){const D=a54l,e=this[D(0x177)][a],f=this[D(0x177)][c];if(!e)throw new Error(D(0x13a)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(D(0x13a)+c+'\x22\x20does\x20not\x20exist.');e[D(0x17e)](b,f,d);}}
@@ -1 +1 @@
1
- var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x180))/0x1*(parseInt(f(0x158))/0x2)+-parseInt(f(0x187))/0x3+-parseInt(f(0x153))/0x4*(parseInt(f(0x182))/0x5)+-parseInt(f(0x165))/0x6*(-parseInt(f(0x175))/0x7)+-parseInt(f(0x171))/0x8+parseInt(f(0x161))/0x9+-parseInt(f(0x173))/0xa*(parseInt(f(0x16a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xf16d7));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x15d)]()[h(0x163)]('(((.+)+)+)+$')[h(0x15d)]()[h(0x168)](a55a)[h(0x163)](h(0x162));});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(0x160)],'shape':Shape[i(0x154)],'color':Color[i(0x155)],'texture':Texture['Smooth'],'rating':Rating[i(0x166)],'weight':0x1});}[a55j(0x17e)](){var k=a55j;return this[k(0x170)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size[l(0x178)],'category':Category['Weapon'],'shape':Shape[l(0x17c)],'color':Color[l(0x164)],'texture':Texture[l(0x16f)],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0x17a)],'category':Category['Weapon'],'shape':Shape[m(0x16c)],'color':Color['Brown'],'texture':Texture[m(0x16f)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x178)],'category':Category[n(0x17d)],'shape':Shape[n(0x17b)],'color':Color['Grey'],'texture':Texture[n(0x16f)],'rating':Rating[n(0x166)],'weight':0x2});}}function a55c(){var E=['There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Small','848322cEjEnz','Smooth','Brown','author','LegArmor','toString','pageCount','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Unknown','15601059ukPlLq','(((.+)+)+)+$','search','Grey','12SBhRuN','Common','Sniper\x20Rifle','constructor','A\x20mysterious\x20book.','22serony','Legendary','Rifle','Key','Gold','Metallic','description','11209608SkSoeI','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','5905180PrBMYC','ArmArmor','5122369ktOkas','Unknown\x20Author','Cup','Medium','Book','Large','Circle','Blade','Helmet','use','Gloves','2wrmiNc','Boots','1049695QFvyDX','Tiny','Holy\x20Grail','apply','Weapon','792732ZJrKdy','publishDate','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','4vPOtRU','Rectangle','Yellow'];a55c=function(){return E;};return a55c();}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category['BodyArmor'],'shape':Shape[o(0x154)],'color':Color[o(0x164)],'texture':Texture[o(0x16f)],'rating':Rating[o(0x166)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[p(0x15c)],'shape':Shape['Rectangle'],'color':Color[p(0x164)],'texture':Texture['Metallic'],'rating':Rating[p(0x166)],'weight':0x6});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x152;var f=c[d];return f;},a55d(a,b);}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[q(0x181)],'shape':Shape['Circle'],'color':Color[q(0x15a)],'texture':Texture[q(0x159)],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x157)],'category':Category[r(0x17f)],'shape':Shape[r(0x17b)],'color':Color[r(0x15a)],'texture':Texture[r(0x159)],'rating':Rating[r(0x166)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x178)],'category':Category[s(0x174)],'shape':Shape[s(0x154)],'color':Color[s(0x164)],'texture':Texture[s(0x16f)],'rating':Rating[s(0x166)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x183)],'category':Category[t(0x16d)],'shape':Shape[t(0x154)],'color':Color[t(0x155)],'texture':Texture[t(0x159)],'rating':Rating[t(0x166)],'weight':0x0});}[a55j(0x17e)](){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['Medium'],'category':Category[u(0x186)],'shape':Shape[u(0x17c)],'color':Color['Grey'],'texture':Texture[u(0x16f)],'rating':Rating[u(0x166)],'weight':0x3});}['use'](){var v=a55j;return v(0x172);}}export class Book extends Item{[a55j(0x15b)];[a55j(0x188)];[a55j(0x15e)];constructor(a,b=a55j(0x169),c=a55j(0x176)){var w=a55j;super({'name':a,'description':b,'size':Size[w(0x178)],'category':Category[w(0x179)],'shape':Shape['Rectangle'],'color':Color[w(0x15a)],'texture':Texture[w(0x159)],'rating':Rating['Common'],'weight':0x1}),this['author']=c,this[w(0x188)]=new Date(),this[w(0x15e)]=0x64;}[a55j(0x17e)](){var x=a55j;return x(0x156);}}export class ShortSword extends Item{constructor(){var y=a55j;super({'name':'Short\x20Sword','description':y(0x152),'size':Size[y(0x178)],'category':Category[y(0x186)],'shape':Shape[y(0x17c)],'color':Color[y(0x164)],'texture':Texture[y(0x16f)],'rating':Rating[y(0x166)],'weight':0x3});}[a55j(0x17e)](){var z=a55j;return z(0x172);}}export class SniperRifle extends Item{constructor(){var A=a55j;super({'name':A(0x167),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[A(0x17a)],'category':Category[A(0x186)],'shape':Shape[A(0x16c)],'color':Color[A(0x15a)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x5});}[a55j(0x17e)](){var B=a55j;return B(0x189);}}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':C(0x184),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[C(0x157)],'category':Category[C(0x177)],'shape':Shape['Circle'],'color':Color[C(0x16e)],'texture':Texture['Metallic'],'rating':Rating[C(0x16b)],'weight':0x1});}[a55j(0x17e)](){var D=a55j;return'You\x20hold\x20the\x20'+this['name']+D(0x15f);}}
1
+ var a55v=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xb5))/0x1*(-parseInt(f(0xa8))/0x2)+parseInt(f(0x98))/0x3+parseInt(f(0xbe))/0x4+-parseInt(f(0xb9))/0x5+parseInt(f(0xa7))/0x6*(-parseInt(f(0xa4))/0x7)+-parseInt(f(0xa1))/0x8*(parseInt(f(0xc2))/0x9)+parseInt(f(0x96))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x49800));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x8d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0xa5)]('(((.+)+)+)+$')['toString']()[h(0x9d)](a55a)['search'](h(0x9b));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size[i(0x8e)],'category':Category[i(0xb8)],'shape':Shape['Rectangle'],'color':Color[i(0x92)],'texture':Texture[i(0xb7)],'rating':Rating[i(0x97)],'weight':0x1});}['use'](){var j=a55d;return this[j(0xa9)];}}export class Sword extends Item{constructor(a,b){var k=a55d;super({'name':a,'description':b,'size':Size[k(0x8e)],'category':Category[k(0xbc)],'shape':Shape[k(0x9a)],'color':Color[k(0x9f)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55d;super({'name':a,'description':b,'size':Size[l(0x8c)],'category':Category[l(0xbc)],'shape':Shape[l(0x94)],'color':Color['Brown'],'texture':Texture[l(0xae)],'rating':Rating[l(0xbf)],'weight':0x7});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x8c;var f=c[d];return f;},a55d(a,b);}export class Helmet extends Item{constructor(a,b){var m=a55d;super({'name':a,'description':b,'size':Size[m(0x8e)],'category':Category['Helmet'],'shape':Shape[m(0x91)],'color':Color[m(0x9f)],'texture':Texture['Metallic'],'rating':Rating[m(0x97)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55d;super({'name':a,'description':b,'size':Size[n(0x8c)],'category':Category[n(0xb2)],'shape':Shape['Rectangle'],'color':Color[n(0x9f)],'texture':Texture[n(0xae)],'rating':Rating[n(0x97)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55d;super({'name':a,'description':b,'size':Size[o(0x8e)],'category':Category[o(0xad)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[o(0xae)],'rating':Rating[o(0x97)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55d;super({'name':a,'description':b,'size':Size[p(0x8e)],'category':Category[p(0xa6)],'shape':Shape[p(0x91)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating[p(0x97)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55d;super({'name':a,'description':b,'size':Size[q(0xaa)],'category':Category['Gloves'],'shape':Shape['Circle'],'color':Color[q(0xb6)],'texture':Texture[q(0xb7)],'rating':Rating[q(0x97)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a55d;super({'name':a,'description':b,'size':Size[r(0x8e)],'category':Category[r(0x99)],'shape':Shape[r(0xc1)],'color':Color['Grey'],'texture':Texture[r(0xae)],'rating':Rating[r(0x97)],'weight':0x3});}}function a55c(){var D=['An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Cup','1hUKQKp','Brown','Smooth','Unknown','1276540rzFyyf','pageCount','Gold','Weapon','Legendary','465260nevCcx','Rare','Sniper\x20Rifle','Rectangle','9shOsCS','Large','apply','Medium','Holy\x20Grail','Short\x20Sword','Circle','Yellow','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Rifle','Book','8002430UcRvTK','Common','585006NoMNmE','ArmArmor','Blade','(((.+)+)+)+$','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','constructor','Key','Grey','use','4338512SSdXIy','author','name','518HzbORT','search','Boots','44904csAZrq','1081868lkDocK','description','Small','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Tiny','LegArmor','Metallic','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','publishDate','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','BodyArmor'];a55c=function(){return D;};return a55c();}export class Key extends Item{constructor(a,b){var s=a55d;super({'name':a,'description':b,'size':Size[s(0xac)],'category':Category[s(0x9e)],'shape':Shape[s(0xc1)],'color':Color['Yellow'],'texture':Texture['Smooth'],'rating':Rating[s(0x97)],'weight':0x0});}['use'](){var t=a55d;return t(0xab);}}export class Weapon extends Item{constructor(a,b){var u=a55d;super({'name':a,'description':b,'size':Size[u(0x8e)],'category':Category[u(0xbc)],'shape':Shape['Blade'],'color':Color[u(0x9f)],'texture':Texture[u(0xae)],'rating':Rating[u(0x97)],'weight':0x3});}[a55v(0xa0)](){var w=a55v;return w(0xb1);}}export class Book extends Item{[a55v(0xa2)];[a55v(0xb0)];[a55v(0xba)];constructor(a,b='A\x20mysterious\x20book.',c='Unknown\x20Author'){var x=a55v;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[x(0x95)],'shape':Shape['Rectangle'],'color':Color['Brown'],'texture':Texture[x(0xb7)],'rating':Rating['Common'],'weight':0x1}),this[x(0xa2)]=c,this[x(0xb0)]=new Date(),this[x(0xba)]=0x64;}['use'](){var y=a55v;return y(0xaf);}}export class ShortSword extends Item{constructor(){var z=a55v;super({'name':z(0x90),'description':z(0x9c),'size':Size[z(0x8e)],'category':Category[z(0xbc)],'shape':Shape[z(0x9a)],'color':Color[z(0x9f)],'texture':Texture[z(0xae)],'rating':Rating[z(0x97)],'weight':0x3});}[a55v(0xa0)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var A=a55v;super({'name':A(0xc0),'description':A(0xb3),'size':Size[A(0x8c)],'category':Category[A(0xbc)],'shape':Shape[A(0x94)],'color':Color[A(0xb6)],'texture':Texture[A(0xb7)],'rating':Rating[A(0x97)],'weight':0x5});}['use'](){return'You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22';}}export class HolyGrail extends Item{constructor(){var B=a55v;super({'name':B(0x8f),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[B(0xaa)],'category':Category[B(0xb4)],'shape':Shape[B(0x91)],'color':Color[B(0xbb)],'texture':Texture['Metallic'],'rating':Rating[B(0xbd)],'weight':0x1});}[a55v(0xa0)](){var C=a55v;return'You\x20hold\x20the\x20'+this[C(0xa3)]+C(0x93);}}