@maka/maka-cli 4.7.4 → 4.7.6

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 (150) hide show
  1. package/bundle/obf/package.json +2 -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/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/esri/_index.js +1 -0
  109. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -0
  110. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -0
  111. package/bundle/obf/src/generators/kits/kit.js +1 -1
  112. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  115. package/bundle/obf/src/generators/layout.js +1 -1
  116. package/bundle/obf/src/generators/maka.gen.js +1 -1
  117. package/bundle/obf/src/generators/methods.js +1 -1
  118. package/bundle/obf/src/generators/package.js +1 -1
  119. package/bundle/obf/src/generators/page.js +1 -1
  120. package/bundle/obf/src/generators/publish.js +1 -1
  121. package/bundle/obf/src/generators/route.js +1 -1
  122. package/bundle/obf/src/generators/service.js +1 -1
  123. package/bundle/obf/src/generators/services/_index.js +1 -1
  124. package/bundle/obf/src/generators/services/openssl.js +1 -1
  125. package/bundle/obf/src/generators/services/translation.js +1 -1
  126. package/bundle/obf/src/maka.js +1 -1
  127. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.jsx +27 -0
  128. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.tsx +30 -0
  129. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +1 -1
  130. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +1 -1
  131. package/bundle/obf/src/tool.js +1 -1
  132. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  133. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  134. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  136. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  137. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  138. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  139. package/bundle/obf/src/tools/https/https.class.js +1 -1
  140. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  141. package/bundle/obf/src/tools/log/log.class.js +1 -1
  142. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  143. package/bundle/obf/src/tools/options/options.class.js +1 -1
  144. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  145. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  146. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  148. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  150. package/package.json +2 -1
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0xef))/0x1+parseInt(f(0xf3))/0x2*(-parseInt(f(0xe2))/0x3)+parseInt(f(0xf4))/0x4*(parseInt(f(0xe7))/0x5)+parseInt(f(0xe8))/0x6*(parseInt(f(0xd8))/0x7)+-parseInt(f(0xeb))/0x8*(-parseInt(f(0xe9))/0x9)+-parseInt(f(0xe5))/0xa*(-parseInt(f(0xdd))/0xb)+-parseInt(f(0xe1))/0xc*(parseInt(f(0xf5))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xce081));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xd7;let f=c[d];return f;},a37d(a,b);}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xde)]()['search']('(((.+)+)+)+$')[h(0xde)]()['constructor'](a37a)[h(0xd9)](h(0xe6));});a37a();import{Command}from'./command.js';function a37c(){const k=['search','actor','apply','logger','44MOnBsV','toString','inventory','name','36RocReL','42VBujQg','description','listItems','678320fHLAqS','(((.+)+)+)+$','15pkxJAk','6KbGFDZ','365535ZaKOJg','\x20found\x20the\x20following\x20items:\x20','296BjPZVY','verb','write','currentLocation','256641rrDJpr','You\x20search\x20the\x20area\x20and\x20find:\x20','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','Search\x20for\x20items\x20in\x20your\x20area','12952BCMrTQ','882100kOZEjn','7554157hHCbRD','length','execute','3491733TGNcav'];a37c=function(){return k;};return a37c();}export class SearchCommand extends Command{static [a37i(0xec)]='search';static [a37i(0xe3)]=a37i(0xf2);[a37i(0xd7)](){const j=a37i,a=this['actor'][j(0xee)][j(0xdf)][j(0xe4)]();if(a[j(0xf6)]===0x0)return this[j(0xdc)][j(0xed)]('SearchCommand:\x20'+this[j(0xda)][j(0xe0)]+j(0xf1)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a['join'](',\x20');return this[j(0xdc)][j(0xed)]('SearchCommand:\x20'+this['actor'][j(0xe0)]+j(0xea)+b),j(0xf0)+b;}}
1
+ const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x1a0))/0x1+-parseInt(f(0x199))/0x2*(parseInt(f(0x1a9))/0x3)+parseInt(f(0x19c))/0x4+parseInt(f(0x1a6))/0x5+-parseInt(f(0x192))/0x6+parseInt(f(0x19b))/0x7*(parseInt(f(0x194))/0x8)+-parseInt(f(0x19f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xa6c37));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(0x1ab)]()['search'](g(0x19e))[g(0x1ab)]()['constructor'](a37a)[g(0x1a5)](g(0x19e));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37h(0x1a2)]='search';static [a37h(0x1a7)]=a37h(0x1ac);[a37h(0x1a4)](){const i=a37h,a=this['actor'][i(0x1a8)][i(0x196)]['listItems']();if(a[i(0x198)]===0x0)return this[i(0x195)][i(0x193)](i(0x19a)+this['actor'][i(0x1aa)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),i(0x1a1);const b=a['join'](',\x20');return this['logger'][i(0x193)]('SearchCommand:\x20'+this[i(0x1a3)][i(0x1aa)]+i(0x197)+b),i(0x19d)+b;}}function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x192;let f=c[d];return f;},a37d(a,b);}function a37c(){const j=['length','1496602rsaTxI','SearchCommand:\x20','7RSbIZI','1374464tFiQcA','You\x20search\x20the\x20area\x20and\x20find:\x20','(((.+)+)+)+$','15341805KaMxTz','1337542xEvLHT','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','verb','actor','execute','search','6088295KXvSJM','description','currentLocation','3YaRxSG','name','toString','Search\x20for\x20items\x20in\x20your\x20area','233142xBPwBH','write','2208392CLDhjc','logger','inventory','\x20found\x20the\x20following\x20items:\x20'];a37c=function(){return j;};return a37c();}
@@ -1 +1 @@
1
- function a38c(){const k=['puzzle','join','858310bgmoRB','actor','2713272chhOyC','write','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','rewardItem','inventory','Attempt\x20to\x20solve\x20a\x20puzzle.','search','2690202vTKQWA','message','logger','constructor','5492005FzmRWt','40ZPkFjB','15489MSnOhF','SolveCommand:\x20','1438584NBpfHz','apply','288zEvrRl','1227726spdMqn','solve','784JCxWdV','addItem','execute','(((.+)+)+)+$','currentLocation','success','toString'];a38c=function(){return k;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a38d(a,b);}const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x1a8))/0x1+-parseInt(f(0x1bc))/0x2+parseInt(f(0x1a3))/0x3*(parseInt(f(0x1aa))/0x4)+parseInt(f(0x1c0))/0x5+parseInt(f(0x1b5))/0x6+parseInt(f(0x1a5))/0x7*(parseInt(f(0x1a2))/0x8)+-parseInt(f(0x1a7))/0x9*(parseInt(f(0x1b3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xb148a));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1b0)]()[h(0x1bb)]('(((.+)+)+)+$')[h(0x1b0)]()[h(0x1bf)](a38a)['search'](h(0x1ad));});a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static ['verb']=a38i(0x1a9);static ['description']=a38i(0x1ba);[a38i(0x1ac)](a){const j=a38i,b=a[j(0x1b2)]('\x20')['toLowerCase'](),c=this[j(0x1b4)][j(0x1ae)];if(!c||!c['puzzle'])return this['logger'][j(0x1b6)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0x1b7);const d=c[j(0x1b1)][j(0x1a9)](b,this['actor'][j(0x1b9)]);return d[j(0x1af)]&&c[j(0x1b1)]['rewardItem']&&this[j(0x1b4)][j(0x1b9)][j(0x1ab)](c[j(0x1b1)][j(0x1b8)]),this[j(0x1be)][j(0x1b6)](j(0x1a4)+d[j(0x1bd)]),d[j(0x1bd)];}}
1
+ function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1aa;let f=c[d];return f;},a38d(a,b);}const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1c1))/0x1+parseInt(f(0x1b3))/0x2+parseInt(f(0x1c2))/0x3+-parseInt(f(0x1b9))/0x4+-parseInt(f(0x1b0))/0x5+-parseInt(f(0x1bd))/0x6*(-parseInt(f(0x1bb))/0x7)+-parseInt(f(0x1c6))/0x8*(parseInt(f(0x1c8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x71644));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1b2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1b5)]()[h(0x1bf)](h(0x1aa))[h(0x1b5)]()[h(0x1c3)](a38a)[h(0x1bf)](h(0x1aa));});a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x1ac)]=a38i(0x1ab);static [a38i(0x1ba)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a38i(0x1c5)](a){const j=a38i,b=a[j(0x1bc)]('\x20')[j(0x1b7)](),c=this[j(0x1ae)]['currentLocation'];if(!c||!c[j(0x1c4)])return this['logger']['write']('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0x1b8);const d=c['puzzle'][j(0x1ab)](b,this['actor'][j(0x1b1)]);return d[j(0x1b6)]&&c[j(0x1c4)][j(0x1be)]&&this[j(0x1ae)][j(0x1b1)][j(0x1b4)](c[j(0x1c4)][j(0x1be)]),this[j(0x1af)][j(0x1ad)](j(0x1c7)+d['message']),d[j(0x1c0)];}}function a38c(){const k=['(((.+)+)+)+$','solve','verb','write','actor','logger','1637165BraSSJ','inventory','apply','1279746rMlOxY','addItem','toString','success','toLowerCase','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','937536vfiOQn','description','977669xzoTQd','join','6uEEwXU','rewardItem','search','message','469979EIQkyv','2160915ZeUCKX','constructor','puzzle','execute','88SNTvCZ','SolveCommand:\x20','2943GPYwzx'];a38c=function(){return k;};return a38c();}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x88))/0x1+-parseInt(f(0x79))/0x2+parseInt(f(0x93))/0x3*(-parseInt(f(0x7e))/0x4)+parseInt(f(0x78))/0x5+-parseInt(f(0x7d))/0x6+-parseInt(f(0x81))/0x7+-parseInt(f(0x95))/0x8*(-parseInt(f(0x8b))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x1e38c));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x7c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x8c)]()[h(0x76)](h(0x90))[h(0x8c)]()[h(0x96)](a39a)[h(0x76)]('(((.+)+)+)+$');});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x75;let f=c[d];return f;},a39d(a,b);}function a39c(){const l=['8430LkIeDT','6380DGtida','\x22\x20not\x20found\x20in\x20','\x22\x20to\x20','apply','577002WOlWdz','30868qkYbyH','Successfully\x20added\x20\x22','Error\x20during\x20\x27Take\x27\x20command:\x20','377055bJXBZN','\x22\x20in\x20this\x20room.','write','actor','inventory','The\x20item\x20\x22','take','61066EIcRjM','currentLocation','Pick\x20up\x20an\x20item.','1589238jNTiBg','toString','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','toLowerCase','\x22\x20is\x20too\x20heavy\x20to\x20carry.','(((.+)+)+)+$','There\x20is\x20no\x20item\x20\x22','\x20during\x20\x27Take\x27\x20command.','54BrqpFt','logger','16OJJrUL','constructor','name','join','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Item\x20\x22','search','description'];a39c=function(){return l;};return a39c();}import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a39i(0x87);static [a39i(0x77)]=a39i(0x8a);['execute'](a){const j=a39i;return this['logger'][j(0x83)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x98)]('\x20')),this[j(0x87)](a);}[a39i(0x87)](a){const k=a39i,b=a[k(0x98)]('\x20')[k(0x8e)](),c=this[k(0x84)][k(0x89)];if(!c[k(0x85)]['hasItem'](b))return this[k(0x94)][k(0x83)](k(0x75)+b+k(0x7a)+c[k(0x97)]+k(0x92)),k(0x91)+b+k(0x82);const d=c[k(0x85)]['getItem'](b);if(!d)return this[k(0x94)]['write'](k(0x75)+b+'\x22\x20not\x20retrieved\x20from\x20'+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x91)+b+k(0x82);try{return this[k(0x84)]['addInventory'](d),this[k(0x94)][k(0x83)](k(0x7f)+b+k(0x7b)+this[k(0x84)][k(0x97)]+k(0x99)),c[k(0x85)]['removeItem'](b),this[k(0x94)][k(0x83)]('Successfully\x20removed\x20\x22'+b+'\x22\x20from\x20'+c[k(0x97)]+k(0x8d)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this[k(0x94)][k(0x83)](k(0x80)+e['message']),k(0x86)+b+k(0x8f);}}}
1
+ const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0xac))/0x1+parseInt(f(0xb8))/0x2+-parseInt(f(0xa3))/0x3*(-parseInt(f(0xc5))/0x4)+-parseInt(f(0xaf))/0x5*(parseInt(f(0xc3))/0x6)+parseInt(f(0x9c))/0x7*(parseInt(f(0x9d))/0x8)+-parseInt(f(0xa1))/0x9*(parseInt(f(0xb7))/0xa)+parseInt(f(0xbb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x26375));function a39c(){const l=['There\x20is\x20no\x20item\x20\x22','Item\x20\x22','\x22\x20is\x20too\x20heavy\x20to\x20carry.','2989990fjucOF','515726CbdcqA','Error\x20during\x20\x27Take\x27\x20command:\x20','You\x20have\x20taken\x20the\x20','1433267LncTur','\x22\x20not\x20retrieved\x20from\x20','Pick\x20up\x20an\x20item.','Successfully\x20added\x20\x22','inventory','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20not\x20found\x20in\x20','addInventory','1524792MMimRY','constructor','4LIgWBq','join','Successfully\x20removed\x20\x22','\x22\x20to\x20','write','818118ZYpEKT','16ZYhlpP','hasItem','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','take','9TelUqb','\x20during\x20\x27Take\x27\x20command.','610977NObAYy','\x22\x20in\x20this\x20room.','description','The\x20item\x20\x22','search','toString','verb','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','removeItem','115903QIiErY','name','apply','5GCsNIa','\x22\x20from\x20','getItem','logger','actor'];a39c=function(){return l;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x99;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0xae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0xa7)]('(((.+)+)+)+$')[h(0xa8)]()[h(0xc4)](a39a)[h(0xa7)]('(((.+)+)+)+$');});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0xa9)]=a39i(0xa0);static [a39i(0xa5)]=a39i(0xbd);['execute'](a){const j=a39i;return this[j(0xb2)]['write'](j(0xc0)+a[j(0xc6)]('\x20')),this[j(0xa0)](a);}[a39i(0xa0)](a){const k=a39i,b=a['join']('\x20')['toLowerCase'](),c=this[k(0xb3)]['currentLocation'];if(!c[k(0xbf)][k(0x9e)](b))return this['logger']['write'](k(0xb5)+b+k(0xc1)+c['name']+k(0xa2)),'There\x20is\x20no\x20item\x20\x22'+b+k(0xa4);const d=c['inventory'][k(0xb1)](b);if(!d)return this[k(0xb2)][k(0x9b)](k(0xb5)+b+k(0xbc)+c['name']+k(0xaa)),k(0xb4)+b+k(0xa4);try{return this['actor'][k(0xc2)](d),this[k(0xb2)][k(0x9b)](k(0xbe)+b+k(0x9a)+this[k(0xb3)][k(0xad)]+k(0x9f)),c[k(0xbf)][k(0xab)](b),this[k(0xb2)][k(0x9b)](k(0x99)+b+k(0xb0)+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0xba)+b+'.';}catch(e){return this[k(0xb2)][k(0x9b)](k(0xb9)+e['message']),k(0xa6)+b+k(0xb6);}}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1a0))/0x1+-parseInt(f(0x19f))/0x2+parseInt(f(0x1ad))/0x3*(parseInt(f(0x1a6))/0x4)+parseInt(f(0x1aa))/0x5+-parseInt(f(0x1a3))/0x6*(parseInt(f(0x1a1))/0x7)+parseInt(f(0x19a))/0x8*(parseInt(f(0x198))/0x9)+parseInt(f(0x1a7))/0xa*(-parseInt(f(0x1a9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x27845));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1a5)]()[h(0x1a8)]('(((.+)+)+)+$')[h(0x1a5)]()[h(0x1af)](a40a)[h(0x1a8)]('(((.+)+)+)+$');});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x196)]=a40i(0x19d);static [a40i(0x194)]=a40i(0x19c);[a40i(0x19e)](a){const j=a40i,b=a[j(0x195)]('\x20')[j(0x1a2)](),c=this['actor'][j(0x197)](b);return this[j(0x1b0)][j(0x1ab)](j(0x1ae)+this[j(0x1a4)][j(0x19b)]+j(0x199)+c),c;}}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x194;let f=c[d];return f;},a40d(a,b);}function a40c(){const k=['name','Unequip\x20an\x20item.','unqeuip','execute','288032PgxdrV','216540AwKlOE','53886VQQwns','toLowerCase','30NsqRzL','actor','toString','24332tGGrwD','6040wUeqtm','search','9768vzEmvb','1048635hDRJfw','write','apply','132rueVom','UnequipCommand:\x20','constructor','logger','description','join','verb','unequip','180yRsieV','\x20unqeuiped\x20','74720TpQZiX'];a40c=function(){return k;};return a40c();}
1
+ function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x7c;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x93))/0x1+parseInt(f(0x80))/0x2*(parseInt(f(0x7d))/0x3)+-parseInt(f(0x94))/0x4*(parseInt(f(0x85))/0x5)+-parseInt(f(0x89))/0x6*(-parseInt(f(0x82))/0x7)+parseInt(f(0x88))/0x8*(-parseInt(f(0x96))/0x9)+parseInt(f(0x90))/0xa*(-parseInt(f(0x7e))/0xb)+-parseInt(f(0x92))/0xc*(-parseInt(f(0x7c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xf1735));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x84)]()[h(0x8d)]('(((.+)+)+)+$')['toString']()[h(0x87)](a40a)[h(0x8d)](h(0x7f));});a40a();import{Command}from'./command.js';function a40c(){const k=['42QHviGY','verb','description','UnequipCommand:\x20','search','apply','actor','2501970RQhvKW','Unequip\x20an\x20item.','8636052nngYMI','1308964yqehYr','244YFsXVA','unequip','25884lDPbkA','13IqMuep','3YXTDse','22EynxYm','(((.+)+)+)+$','44210WvyhjF','unqeuip','1256689zJCLFj','\x20unqeuiped\x20','toString','140770IDmUyb','logger','constructor','280MUnTHp'];a40c=function(){return k;};return a40c();}export class UnequipCommand extends Command{static [a40i(0x8a)]=a40i(0x81);static [a40i(0x8b)]=a40i(0x91);['execute'](a){const j=a40i,b=a['join']('\x20')['toLowerCase'](),c=this['actor'][j(0x95)](b);return this[j(0x86)]['write'](j(0x8c)+this[j(0x8f)]['name']+j(0x83)+c),c;}}
@@ -1 +1 @@
1
- const a41k=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a41d(a,b);}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x206))/0x1+parseInt(h(0x21a))/0x2+-parseInt(h(0x1f5))/0x3+parseInt(h(0x203))/0x4+-parseInt(h(0x205))/0x5+-parseInt(h(0x204))/0x6*(parseInt(h(0x20c))/0x7)+-parseInt(h(0x207))/0x8*(parseInt(h(0x20f))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb57f6));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x212)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x1fd)]()[j(0x1f6)](j(0x1ff))['toString']()[j(0x20e)](a41a)['search'](j(0x1ff));});function a41c(){const n=['name','description','\x20is\x20attempted\x20to\x20unlock\x20','get','isValidDirection','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','toString','logger','(((.+)+)+)+$','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','verb','inventory','2274712HDbWVo','207282MQKJaB','6117430TPFqxQ','1482050QxoHHB','8xnHpQr','unlock','exits','getItem','toLowerCase','91TxNZVv','has','constructor','6504507sWLruZ','hasItem','\x22\x20here.','apply','currentLocation','write','error','UnlockCommand:\x20','Unlock\x20a\x20door.','actor','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','2187750rYPtKQ','There\x27s\x20no\x20door\x20named\x20\x22','17607ZgeQTL','search'];a41c=function(){return n;};return a41c();}a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x201)]=a41k(0x208);static [a41k(0x1f8)]=a41k(0x217);['execute'](a){const l=a41k;return this[l(0x208)](a);}[a41k(0x208)](a){const m=a41k;if(a['length']===0x0)return this[m(0x1fe)][m(0x215)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0x200);const b=a[0x0]['toLowerCase'](),c=this['actor'][m(0x213)];if(this[m(0x1fb)](b)&&c[m(0x209)][m(0x20d)](b)){const d=c[m(0x209)][m(0x1fa)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[m(0x20b)]();if(e&&this[m(0x218)][m(0x202)][m(0x210)](e)){const f=this[m(0x218)]['inventory'][m(0x20a)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0x1f7)]);return this[m(0x1fe)]['write'](m(0x216)+this[m(0x218)][m(0x1f7)]+m(0x1f9)+b+'.\x20Result:\x20'+g),g;}}return this[m(0x1fe)][m(0x214)](m(0x216)+this['actor'][m(0x1f7)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),m(0x219);}else return this[m(0x1fe)]['write'](m(0x216)+b+m(0x1fc)+c['name']+'.'),m(0x1f4)+b+m(0x211);}else return this[m(0x1fe)][m(0x214)]('UnlockCommand:\x20'+b+m(0x1fc)+c[m(0x1f7)]+'.'),m(0x1f4)+b+m(0x211);}}
1
+ const a41k=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xa7;let f=c[d];return f;},a41d(a,b);}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0xbb))/0x1*(-parseInt(h(0xbc))/0x2)+parseInt(h(0xbd))/0x3*(parseInt(h(0xcd))/0x4)+-parseInt(h(0xa8))/0x5+-parseInt(h(0xb3))/0x6+-parseInt(h(0xcb))/0x7*(-parseInt(h(0xab))/0x8)+-parseInt(h(0xc6))/0x9*(parseInt(h(0xb8))/0xa)+-parseInt(h(0xb1))/0xb*(-parseInt(h(0xac))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x2924d));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0xd1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()[j(0xcf)](j(0xc3))['toString']()[j(0xc9)](a41a)[j(0xcf)](j(0xc3));});a41a();import{Door}from'../models/door.js';function a41c(){const n=['.\x20Result:\x20','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','unlockItemOrSolution','22693reGjgW','\x20is\x20attempted\x20to\x20unlock\x20','1953786cvhMwm','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','execute','attemptUnlockExit','unlock','10tAvdXp','There\x27s\x20no\x20door\x20named\x20\x22','verb','75VgZOes','4586bvBHjw','212637yOgPdi','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','actor','UnlockCommand:\x20','getItem','description','(((.+)+)+)+$','toLowerCase','hasItem','1276353dmTSOa','inventory','currentLocation','constructor','error','49OdmVhP','Unlock\x20a\x20door.','4BqeeoX','write','search','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','apply','logger','1576005AIHHjz','isValidDirection','\x22\x20here.','16664ELIgbp','6036nVyZRS','name'];a41c=function(){return n;};return a41c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0xba)]='unlock';static [a41k(0xc2)]=a41k(0xcc);[a41k(0xb5)](a){const l=a41k;return this[l(0xb7)](a);}['unlock'](a){const m=a41k;if(a['length']===0x0)return this[m(0xa7)][m(0xca)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0xaf);const b=a[0x0][m(0xc4)](),c=this[m(0xbf)][m(0xc8)];if(this[m(0xa9)](b)&&c['exits']['has'](b)){const d=c['exits']['get'](b);if(d instanceof Door){const e=d[m(0xb0)]?.[m(0xc4)]();if(e&&this[m(0xbf)]['inventory'][m(0xc5)](e)){const f=this[m(0xbf)][m(0xc7)][m(0xc1)](e);if(f){const g=c[m(0xb6)](b,f['name']);return this['logger'][m(0xce)](m(0xc0)+this[m(0xbf)]['name']+m(0xb2)+b+m(0xae)+g),g;}}return this[m(0xa7)][m(0xce)](m(0xc0)+this[m(0xbf)][m(0xad)]+m(0xbe)+b+'.'),m(0xb4);}else return this[m(0xa7)][m(0xce)]('UnlockCommand:\x20'+b+m(0xd0)+c['name']+'.'),m(0xb9)+b+m(0xaa);}else return this[m(0xa7)]['write'](m(0xc0)+b+m(0xd0)+c[m(0xad)]+'.'),m(0xb9)+b+m(0xaa);}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0xf1))/0x1*(-parseInt(f(0xf4))/0x2)+-parseInt(f(0xf8))/0x3*(-parseInt(f(0xf0))/0x4)+parseInt(f(0xf6))/0x5*(-parseInt(f(0xdf))/0x6)+-parseInt(f(0xe7))/0x7*(-parseInt(f(0xdb))/0x8)+-parseInt(f(0xee))/0x9+-parseInt(f(0xd5))/0xa+-parseInt(f(0xd6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x619a2));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0xea)](h(0xde))[h(0xf5)]()['constructor'](a42a)[h(0xea)](h(0xde));});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xd4;let f=c[d];return f;},a42d(a,b);}function a42c(){const l=['apply','\x20doesn\x27t\x20have\x20a\x20use\x20method.','288554RthdVl','execute','join','search','logger','\x20in\x20this\x20way.','use','1303218yAgTEv','inventory','625224fGwHEa','5ejGnRd','verb','function','141430XJXkGv','toString','5evBSUJ','name','3JfCCxC','\x27s\x20inventory.',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','actor','1631880uzrmVs','999735ojlofj','hasItem','You\x20don\x27t\x20have\x20the\x20','Use\x20an\x20item.','\x20used\x20','112PizoSD','toLowerCase','write','(((.+)+)+)+$','1730016NlFjoQ','UseCommand:\x20','\x20to\x20use.','\x20attempted\x20to\x20use\x20','\x20not\x20retrieved\x20from\x20','getItem'];a42c=function(){return l;};return a42c();}a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0xf2)]='use';static ['description']=a42i(0xd9);[a42i(0xe8)](a){const j=a42i;return this[j(0xed)](a);}[a42i(0xed)](a){const k=a42i,b=a[k(0xe9)]('\x20')[k(0xdc)]();if(!this[k(0xd4)]['inventory'][k(0xd7)](b))return this[k(0xeb)][k(0xdd)](k(0xe0)+this[k(0xd4)][k(0xf7)]+k(0xe2)+b+k(0xfa)),k(0xd8)+b+k(0xe1);const c=this[k(0xd4)][k(0xef)][k(0xe4)](b);if(!c)return this[k(0xeb)][k(0xdd)](k(0xe0)+b+k(0xe3)+this[k(0xd4)][k(0xf7)]+k(0xf9)),k(0xd8)+b+k(0xe1);if(typeof c[k(0xed)]===k(0xf3)){const d=c['use']();return this[k(0xeb)][k(0xdd)](k(0xe0)+this[k(0xd4)]['name']+k(0xda)+b+'.'),d;}else return this[k(0xeb)]['write'](k(0xe0)+b+k(0xe6)),'You\x20can\x27t\x20use\x20the\x20'+b+k(0xec);}}
1
+ const a42i=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x101;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x121))/0x1*(-parseInt(f(0x11c))/0x2)+parseInt(f(0x123))/0x3+parseInt(f(0x125))/0x4*(parseInt(f(0x10c))/0x5)+-parseInt(f(0x10a))/0x6+parseInt(f(0x116))/0x7*(parseInt(f(0x114))/0x8)+-parseInt(f(0x115))/0x9*(parseInt(f(0x112))/0xa)+-parseInt(f(0x107))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x23ae4));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x10e)]()[h(0x120)](h(0x11f))[h(0x10e)]()[h(0x11b)](a42a)['search']('(((.+)+)+)+$');});a42a();function a42c(){const l=['toLowerCase','782274VTtVLo','description','455680XkElCv','\x20in\x20this\x20way.','logger','name','getItem','inventory','write','\x27s\x20inventory.','function','1920688VyHAsb','execute','use','1418850EvKOla','You\x20can\x27t\x20use\x20the\x20','10KIgvom','UseCommand:\x20','toString','\x20not\x20retrieved\x20from\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','\x20doesn\x27t\x20have\x20a\x20use\x20method.','10dWtMuO','apply','571344oHoGAo','456831HWGLUt','14JTzwHj','verb','You\x20don\x27t\x20have\x20the\x20','actor','\x20attempted\x20to\x20use\x20','constructor','4yvVqii','\x20to\x20use.','Use\x20an\x20item.','(((.+)+)+)+$','search','11722MRZNdM'];a42c=function(){return l;};return a42c();}import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x117)]=a42i(0x109);static [a42i(0x124)]=a42i(0x11e);[a42i(0x108)](a){const j=a42i;return this[j(0x109)](a);}[a42i(0x109)](a){const k=a42i,b=a['join']('\x20')[k(0x122)]();if(!this[k(0x119)][k(0x103)]['hasItem'](b))return this[k(0x127)][k(0x104)](k(0x10d)+this[k(0x119)][k(0x101)]+k(0x11a)+b+k(0x110)),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x11d);const c=this[k(0x119)]['inventory'][k(0x102)](b);if(!c)return this[k(0x127)]['write'](k(0x10d)+b+k(0x10f)+this[k(0x119)][k(0x101)]+k(0x105)),k(0x118)+b+k(0x11d);if(typeof c['use']===k(0x106)){const d=c[k(0x109)]();return this[k(0x127)][k(0x104)](k(0x10d)+this['actor'][k(0x101)]+'\x20used\x20'+b+'.'),d;}else return this[k(0x127)][k(0x104)](k(0x10d)+b+k(0x111)),k(0x10b)+b+k(0x126);}}
@@ -1 +1 @@
1
- const a43h=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1be;let f=c[d];return f;},a43d(a,b);}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1c3))/0x1+-parseInt(f(0x1c6))/0x2+-parseInt(f(0x1c4))/0x3*(parseInt(f(0x1ca))/0x4)+parseInt(f(0x1cc))/0x5*(-parseInt(f(0x1c7))/0x6)+parseInt(f(0x1d0))/0x7*(-parseInt(f(0x1c9))/0x8)+-parseInt(f(0x1ce))/0x9+parseInt(f(0x1bf))/0xa*(parseInt(f(0x1cb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xe1239));function a43c(){const j=['345LBjZBF','search','13462011syjcaa','constructor','2242037Orrwma','getAllRegisteredCommands','100lzDObn','registerCommand','(((.+)+)+)+$','commandMap','265278BhpTcC','1296WZFNaR','createCommand','3388696OQENth','105114hSWqQS','toString','8jVCRxN','10228jwwvbS','7712430iuSBce'];a43c=function(){return j;};return a43c();}const a43b=(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;};}()),a43a=a43b(this,function(){const g=a43d;return a43a[g(0x1c8)]()[g(0x1cd)]('(((.+)+)+)+$')[g(0x1c8)]()[g(0x1cf)](a43a)['search'](g(0x1c1));});a43a();export class CommandFactory{static [a43h(0x1c2)]={};static[a43h(0x1c0)](a,b){const i=a43h;this[i(0x1c2)][a]=b;}static[a43h(0x1c5)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a43h(0x1be)](){return this['commandMap'];}}
1
+ const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x11d))/0x1*(-parseInt(f(0x112))/0x2)+-parseInt(f(0x113))/0x3+parseInt(f(0x115))/0x4+-parseInt(f(0x11e))/0x5+-parseInt(f(0x118))/0x6*(-parseInt(f(0x119))/0x7)+-parseInt(f(0x11c))/0x8*(parseInt(f(0x120))/0x9)+parseInt(f(0x117))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xa1500));const a43b=(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;};}()),a43a=a43b(this,function(){const g=a43d;return a43a[g(0x11f)]()[g(0x116)](g(0x121))[g(0x11f)]()[g(0x11a)](a43a)[g(0x116)](g(0x121));});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x112;let f=c[d];return f;},a43d(a,b);}export class CommandFactory{static [a43h(0x114)]={};static['registerCommand'](a,b){const i=a43h;this[i(0x114)][a]=b;}static[a43h(0x122)](a,b){const j=a43h,c=this[j(0x114)][a];if(c)return new c(b);return null;}static[a43h(0x11b)](){return this['commandMap'];}}function a43c(){const k=['1187846kpCjok','557355bCHtdj','commandMap','1824236XgMlya','search','1204850ADWaHu','12mfQVLz','3354722IXTqyy','constructor','getAllRegisteredCommands','56824aOxDjr','1BiCufC','1688695hTDRrD','toString','1197RjmBkk','(((.+)+)+)+$','createCommand'];a43c=function(){return k;};return a43c();}
@@ -1 +1 @@
1
- const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0xb5))/0x1+parseInt(f(0xcf))/0x2+parseInt(f(0xc1))/0x3+parseInt(f(0xbb))/0x4+parseInt(f(0xdb))/0x5*(parseInt(f(0xc8))/0x6)+parseInt(f(0xc7))/0x7*(parseInt(f(0xc6))/0x8)+-parseInt(f(0xd8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x40964));function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xb5;let f=c[d];return f;},a44d(a,b);}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()[h(0xcb)](h(0xc5))[h(0xc4)]()[h(0xb6)](a44a)['search'](h(0xc5));});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(0xda)](a){const j=a44i,b=this['convertToRoomConfig'](a),c=new Room(b);if(a['items']){const d=new Inventory();a[j(0xc0)]['forEach'](e=>{const k=j;d[k(0xcc)](this['createItem'](e));}),c[j(0xbc)]=d;}return a[j(0xbf)]&&c[j(0xd5)](this['createPuzzle'](a['puzzle'])),c;}['createItem'](a){const l=a44i;switch(a[l(0xd0)]){case'key':return new Key(a[l(0xd4)],a['description']);case l(0xcd):return new Book(a[l(0xd4)],a['description'],a[l(0xd9)]);case'sword':return new Sword(a[l(0xd4)],a['description']);case l(0xca):return new Rifle(a[l(0xd4)],a[l(0xd7)]);case l(0xb8):return new Helmet(a[l(0xd4)],a['description']);case'bodyarmor':return new BodyArmor(a[l(0xd4)],a[l(0xd7)]);case l(0xc2):return new LegArmor(a[l(0xd4)],a[l(0xd7)]);case l(0xd6):return new Boots(a[l(0xd4)],a['description']);case l(0xd2):return new Gloves(a[l(0xd4)],a[l(0xd7)]);case l(0xc9):return new Gauntlets(a[l(0xd4)],a[l(0xd7)]);default:return new BasicItem(a[l(0xd4)],a[l(0xd7)]);}}[a44i(0xb7)](a){const m=a44i,b=this[m(0xc3)](a[m(0xbd)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0xb9)](a){const n=a44i,b=a[n(0xbe)]&&RoomType[a['roomType'][n(0xba)]()]?RoomType[a[n(0xbe)][n(0xba)]()]:RoomType[n(0xce)];return{'name':a[n(0xd4)],'description':a[n(0xd7)],'isStartRoom':a[n(0xd1)],'roomType':b};}}function a44c(){const o=['79752Vmqzvt','203DtQYMJ','94818CEwwzl','gauntlets','rifle','search','addItem','book','INSIDE','852892xYpKgo','type','isStartRoom','gloves','apply','name','setPuzzle','boots','description','12403026jnnpCh','content','createRoom','130tOZrqz','175233CgkZsw','constructor','createPuzzle','helmet','convertToRoomConfig','toUpperCase','731208UkXknS','inventory','rewardItem','roomType','puzzle','items','1526004tlmsbg','legarmor','createItem','toString','(((.+)+)+)+$'];a44c=function(){return o;};return a44c();}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0xd2))/0x1*(parseInt(f(0xbe))/0x2)+-parseInt(f(0xdf))/0x3+-parseInt(f(0xd9))/0x4+-parseInt(f(0xde))/0x5*(parseInt(f(0xdb))/0x6)+parseInt(f(0xe2))/0x7+parseInt(f(0xc8))/0x8*(parseInt(f(0xc5))/0x9)+parseInt(f(0xc9))/0xa*(parseInt(f(0xbf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x1c7b4));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xd6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()[h(0xc0)](h(0xd1))[h(0xe1)]()[h(0xe0)](a44a)[h(0xc0)](h(0xd1));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xbd;let f=c[d];return f;},a44d(a,b);}a44a();function a44c(){const o=['book','3814AgYJXI','3549491ixRnwX','search','type','forEach','createItem','setPuzzle','27yjNJAh','createRoom','INSIDE','357584QLxJek','10lxdpHT','bodyarmor','name','items','key','rewardItem','content','roomType','(((.+)+)+)+$','4rPtMoF','toUpperCase','rifle','puzzle','apply','isStartRoom','description','436356ByVwEK','gloves','6XxQNXb','legarmor','addItem','673885uoyJre','493002FiklsS','constructor','toString','529991AtkCtM','helmet'];a44c=function(){return o;};return a44c();}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0xc6)](a){const j=a44i,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[j(0xcc)]){const d=new Inventory();a[j(0xcc)][j(0xc2)](e=>{const k=j;d[k(0xdd)](this[k(0xc3)](e));}),c['inventory']=d;}return a[j(0xd5)]&&c[j(0xc4)](this['createPuzzle'](a['puzzle'])),c;}[a44i(0xc3)](a){const l=a44i;switch(a[l(0xc1)]){case l(0xcd):return new Key(a[l(0xcb)],a[l(0xd8)]);case l(0xbd):return new Book(a[l(0xcb)],a[l(0xd8)],a[l(0xcf)]);case'sword':return new Sword(a[l(0xcb)],a[l(0xd8)]);case l(0xd4):return new Rifle(a['name'],a[l(0xd8)]);case l(0xe3):return new Helmet(a[l(0xcb)],a['description']);case l(0xca):return new BodyArmor(a[l(0xcb)],a['description']);case l(0xdc):return new LegArmor(a[l(0xcb)],a['description']);case'boots':return new Boots(a[l(0xcb)],a[l(0xd8)]);case l(0xda):return new Gloves(a[l(0xcb)],a[l(0xd8)]);case'gauntlets':return new Gauntlets(a[l(0xcb)],a[l(0xd8)]);default:return new BasicItem(a[l(0xcb)],a[l(0xd8)]);}}['createPuzzle'](a){const m=a44i,b=this['createItem'](a[m(0xce)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a44i,b=a[n(0xd0)]&&RoomType[a[n(0xd0)][n(0xd3)]()]?RoomType[a[n(0xd0)][n(0xd3)]()]:RoomType[n(0xc7)];return{'name':a[n(0xcb)],'description':a[n(0xd8)],'isStartRoom':a[n(0xd7)],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x133))/0x1+-parseInt(h(0x131))/0x2*(parseInt(h(0x11c))/0x3)+-parseInt(h(0x13a))/0x4+parseInt(h(0x12e))/0x5*(parseInt(h(0x13b))/0x6)+-parseInt(h(0x132))/0x7+parseInt(h(0x143))/0x8+-parseInt(h(0x145))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x5c2a9));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x12c)]()[j(0x121)](j(0x127))['toString']()['constructor'](a45a)[j(0x121)]('(((.+)+)+)+$');});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=['getInstance','split','use','-\x20quit:\x20Exit\x20the\x20game.\x0a','solve','5078824yxitOG','apply','349353YAThvD','scene','execute','unequip','registerCommand','currentRoom','help','say','95829wsjGvX','trim','player','initialize','getAllRegisteredCommands','search','registerCommands','determineStartRoom','Available\x20Commands:\x0a','instance','take','(((.+)+)+)+$','currentLocation','createCommand','-\x20clear:\x20Clear\x20the\x20screen.\x0a','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','toString','unlock','105435GzSvZM','getWelcomeMessage','clear','12NxYAEG','592914bbvYOw','249664nHCqKF','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','getHelpMessage','drop','toLowerCase','name','rooms','1273396EKbKXE','36AkBsbX','getDescription','look'];a45c=function(){return s;};return a45c();}import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x117;let f=c[d];return f;},a45d(a,b);}import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0x125)];[a45k(0x146)];['player'];[a45k(0x119)];[a45k(0x139)];constructor(a,b){const l=a45k;this['player']=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0x146)][l(0x11f)](),this[l(0x11e)][l(0x128)]=this[l(0x123)](),this[l(0x122)]();}[a45k(0x122)](){const m=a45k;CommandFactory[m(0x118)](m(0x13d),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0x118)](m(0x126),TakeCommand),CommandFactory[m(0x118)](m(0x140),UseCommand),CommandFactory['registerCommand']('equip',EquipCommand),CommandFactory['registerCommand'](m(0x117),UnequipCommand),CommandFactory['registerCommand'](m(0x142),SolveCommand),CommandFactory[m(0x118)](m(0x136),DropCommand),CommandFactory['registerCommand'](m(0x12d),UnlockCommand),CommandFactory[m(0x118)]('lock',LockCommand),CommandFactory[m(0x118)](m(0x121),SearchCommand),CommandFactory[m(0x118)](m(0x11b),SayCommand);}[a45k(0x123)](){const n=a45k;return this['scene'][n(0x123)]();}[a45k(0x12f)](){const o=a45k;return'Welcome,\x20'+this[o(0x11e)][o(0x138)];}static[a45k(0x13e)](a,b){const p=a45k;return!Game[p(0x125)]&&(Game[p(0x125)]=new Game(a,b)),Game[p(0x125)];}['handleInput'](a){const q=a45k,b=a[q(0x11d)]()[q(0x13f)]('\x20'),c=b[0x0][q(0x137)](),d=b['slice'](0x1);if(c==='quit')return null;if(c==='maka')return q(0x134);if(c===q(0x11a))return this['getHelpMessage']();if(c===q(0x130))return'';const e={'actor':this[q(0x11e)],'rooms':this['scene']['getRooms'](),'scene':this['scene']},f=CommandFactory[q(0x129)](c,e);if(f){const g=f[q(0x147)](d);return g;}return q(0x12b)+c+'\x22.';}[a45k(0x135)](){const r=a45k,a=CommandFactory[r(0x120)]();let b=r(0x124);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x13c)]()+'\x0a';}}return b+=r(0x12a),b+=r(0x141),b;}}
1
+ function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x179;let f=c[d];return f;},a45d(a,b);}const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x17a))/0x1+parseInt(h(0x192))/0x2+parseInt(h(0x17f))/0x3*(parseInt(h(0x17b))/0x4)+parseInt(h(0x18c))/0x5*(parseInt(h(0x187))/0x6)+-parseInt(h(0x18a))/0x7+-parseInt(h(0x17d))/0x8+-parseInt(h(0x19d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x7dee2));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x1ad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x19b)]()['search'](j(0x1ae))[j(0x19b)]()[j(0x188)](a45a)[j(0x190)](j(0x1ae));});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 a45c(){const s=['instance','702414jfAjHv','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','registerCommand','lock','getRooms','initialize','getDescription','rooms','drop','getAllRegisteredCommands','determineStartRoom','take','hasOwnProperty','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','-\x20clear:\x20Clear\x20the\x20screen.\x0a','name','apply','(((.+)+)+)+$','split','142399tFCZAZ','4LKmwAv','look','7911840ZSlWcp','execute','2143563Nqzpsh','getWelcomeMessage','unlock','maka','clear','Available\x20Commands:\x0a','solve','say','18TbHawc','constructor','quit','3107412DVSorI','createCommand','813835rchZoA','unequip','player','handleInput','search','help','1363062zsoSMn','equip','scene','use','currentRoom','registerCommands','trim','currentLocation','-\x20quit:\x20Exit\x20the\x20game.\x0a','toString'];a45c=function(){return s;};return a45c();}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0x19c)];['scene'];[a45k(0x18e)];[a45k(0x196)];[a45k(0x1a4)];constructor(a,b){const l=a45k;this['player']=a,this[l(0x194)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0x1a2)](),this[l(0x18e)][l(0x199)]=this['determineStartRoom'](),this[l(0x197)]();}[a45k(0x197)](){const m=a45k;CommandFactory[m(0x19f)](m(0x17c),LookCommand),CommandFactory[m(0x19f)]('go',GoCommand),CommandFactory[m(0x19f)](m(0x1a8),TakeCommand),CommandFactory[m(0x19f)](m(0x195),UseCommand),CommandFactory['registerCommand'](m(0x193),EquipCommand),CommandFactory['registerCommand'](m(0x18d),UnequipCommand),CommandFactory[m(0x19f)](m(0x185),SolveCommand),CommandFactory[m(0x19f)](m(0x1a5),DropCommand),CommandFactory[m(0x19f)](m(0x181),UnlockCommand),CommandFactory[m(0x19f)](m(0x1a0),LockCommand),CommandFactory[m(0x19f)]('search',SearchCommand),CommandFactory[m(0x19f)](m(0x186),SayCommand);}[a45k(0x1a7)](){const n=a45k;return this[n(0x194)][n(0x1a7)]();}[a45k(0x180)](){const o=a45k;return'Welcome,\x20'+this['player'][o(0x1ac)];}static['getInstance'](a,b){const p=a45k;return!Game['instance']&&(Game[p(0x19c)]=new Game(a,b)),Game[p(0x19c)];}[a45k(0x18f)](a){const q=a45k,b=a[q(0x198)]()[q(0x179)]('\x20'),c=b[0x0]['toLowerCase'](),d=b['slice'](0x1);if(c===q(0x189))return null;if(c===q(0x182))return q(0x19e);if(c===q(0x191))return this['getHelpMessage']();if(c===q(0x183))return'';const e={'actor':this[q(0x18e)],'rooms':this[q(0x194)][q(0x1a1)](),'scene':this['scene']},f=CommandFactory[q(0x18b)](c,e);if(f){const g=f[q(0x17e)](d);return g;}return q(0x1aa)+c+'\x22.';}['getHelpMessage'](){const r=a45k,a=CommandFactory[r(0x1a6)]();let b=r(0x184);for(const c in a){if(a[r(0x1a9)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x1a3)]()+'\x0a';}}return b+=r(0x1ab),b+=r(0x19a),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x70))/0x1+parseInt(f(0x71))/0x2+-parseInt(f(0x6d))/0x3*(-parseInt(f(0x6c))/0x4)+parseInt(f(0x6a))/0x5+parseInt(f(0x6f))/0x6+parseInt(f(0x68))/0x7*(-parseInt(f(0x67))/0x8)+-parseInt(f(0x64))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x4759f));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x65)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0x69)]('(((.+)+)+)+$')[h(0x6b)]()[h(0x66)](a46a)[h(0x69)](h(0x6e));});a46a();export*from'./door.js';export*from'./inventory.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x64;var f=c[d];return f;},a46d(a,b);}export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a46c(){var i=['3533912apISvM','7oupRkH','search','1294150nkVsNA','toString','1151684InfrYM','3uEoBty','(((.+)+)+)+$','3452232AIbIDw','32445QfiCSn','201302DcorBD','4107015hLQEuC','apply','constructor'];a46c=function(){return i;};return a46c();}export*from'./scene.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x186))/0x1+-parseInt(f(0x181))/0x2*(-parseInt(f(0x177))/0x3)+parseInt(f(0x183))/0x4*(-parseInt(f(0x17e))/0x5)+parseInt(f(0x185))/0x6+parseInt(f(0x184))/0x7*(parseInt(f(0x178))/0x8)+-parseInt(f(0x182))/0x9*(parseInt(f(0x180))/0xa)+parseInt(f(0x17a))/0xb*(parseInt(f(0x17c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x99601));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x17f)]()[h(0x179)](h(0x176))[h(0x17f)]()[h(0x17b)](a46a)[h(0x179)](h(0x176));});a46a();export*from'./door.js';export*from'./inventory.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x176;var f=c[d];return f;},a46d(a,b);}export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';function a46c(){var i=['133461quchvw','4vwYxWh','247982huyTAs','4494906lsvtJA','453114Dfkbzz','(((.+)+)+)+$','21ySjVNk','40atvrml','search','166639WwjamR','constructor','120illczE','apply','4761455WTJDDO','toString','180EGspja','349366MSJDap'];a46c=function(){return i;};return a46c();}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(0xfb))/0x1+parseInt(f(0xf6))/0x2*(parseInt(f(0xfd))/0x3)+parseInt(f(0xf9))/0x4+parseInt(f(0x10d))/0x5*(parseInt(f(0x103))/0x6)+parseInt(f(0x102))/0x7*(-parseInt(f(0x10b))/0x8)+-parseInt(f(0xf7))/0x9+parseInt(f(0x10c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xe33a1));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(0x100)]()[g(0x10e)](g(0xfe))[g(0x100)]()['constructor'](a47a)[g(0x10e)](g(0xfe));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0xf6;var f=c[d];return f;},a47d(a,b);}export class Door extends AbstractDoor{['roomA'];['roomB'];[a47h(0x107)];['unlockItemOrSolution'];[a47h(0x114)];['logger'];[a47h(0xfa)];constructor(a){var i=a47h;super(),this[i(0x109)]=a['roomA'],this[i(0x112)]=a[i(0x112)],this[i(0x107)]=a[i(0x107)]||![],this[i(0x113)]=a[i(0x113)],this[i(0x114)]=a[i(0x114)]?capitalCase(a[i(0x114)]):'To\x20'+a[i(0x112)]['name'],this[i(0x104)]=Logger['getInstance'](),this['isLockable']=!!a['unlockItemOrSolution'],this['logger'][i(0xfc)](i(0x106)+this['roomA'][i(0x114)]+i(0xf8)+this[i(0x112)][i(0x114)]+i(0x101)+this[i(0x107)]);}[a47h(0xff)](a){var j=a47h;return this[j(0x109)]===a?this[j(0x112)]:this[j(0x109)];}[a47h(0x10f)](a){var k=a47h;if(this[k(0x107)]&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this['isLocked']=![],this[k(0x104)]['write'](k(0x111)+this['name']+k(0x10a)+a),!![];return this[k(0x104)][k(0xfc)](k(0x105)+this[k(0x114)]+k(0x10a)+a),![];}[a47h(0x108)](){var l=a47h;return this[l(0x107)];}[a47h(0x110)](){return this['isLockable'];}}function a47c(){var m=['15936MrCjTr','(((.+)+)+)+$','getOtherSide','toString','.\x20Is\x20Locked:\x20','9989aJDyUl','4927974bQVXui','logger','Failed\x20to\x20unlock\x20door:\x20','Door\x20created\x20between\x20','isLocked','checkIfLocked','roomA','.\x20Used:\x20','2216RbjQOX','6195910foguZT','5IdKqfA','search','attemptUnlock','checkIfLockable','Door\x20unlocked:\x20','roomB','unlockItemOrSolution','name','376dLkBLW','4648266HMAaxr','\x20and\x20','2786024mQtweU','isLockable','1293608KUigNl','write'];a47c=function(){return m;};return a47c();}
1
+ var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x18f))/0x1*(-parseInt(f(0x19c))/0x2)+-parseInt(f(0x1a0))/0x3+parseInt(f(0x19a))/0x4*(-parseInt(f(0x185))/0x5)+parseInt(f(0x192))/0x6*(parseInt(f(0x199))/0x7)+parseInt(f(0x19e))/0x8+-parseInt(f(0x186))/0x9+parseInt(f(0x187))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xd3e20));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x194)]()['search'](h(0x19b))['toString']()['constructor'](a47a)['search'](h(0x19b));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x184;var f=c[d];return f;},a47d(a,b);}import{AbstractDoor}from'../types/abstracts.js';function a47c(){var n=['(((.+)+)+)+$','12DAIYgz','.\x20Used:\x20','3146888BkkHgY','unlockItemOrSolution','957240HdHmgt','checkIfLockable','5yKMeTi','795276HyxiXA','11696720gjtMdv','getInstance','\x20and\x20','checkIfLocked','attemptUnlock','roomB','getOtherSide','name','63743OWGSnZ','apply','isLockable','3247716FTqVKC','Door\x20unlocked:\x20','toString','logger','write','isLocked','roomA','7isddxy','4845844nSDcZX'];a47c=function(){return n;};return a47c();}export class Door extends AbstractDoor{[a47i(0x198)];['roomB'];[a47i(0x197)];[a47i(0x19f)];['name'];[a47i(0x195)];[a47i(0x191)];constructor(a){var j=a47i;super(),this[j(0x198)]=a[j(0x198)],this[j(0x18c)]=a['roomB'],this[j(0x197)]=a[j(0x197)]||![],this['unlockItemOrSolution']=a['unlockItemOrSolution'],this[j(0x18e)]=a[j(0x18e)]?capitalCase(a[j(0x18e)]):'To\x20'+a[j(0x18c)][j(0x18e)],this['logger']=Logger[j(0x188)](),this[j(0x191)]=!!a[j(0x19f)],this['logger'][j(0x196)]('Door\x20created\x20between\x20'+this[j(0x198)]['name']+j(0x189)+this[j(0x18c)]['name']+'.\x20Is\x20Locked:\x20'+this[j(0x197)]);}[a47i(0x18d)](a){var k=a47i;return this[k(0x198)]===a?this['roomB']:this[k(0x198)];}[a47i(0x18b)](a){var l=a47i;if(this[l(0x197)]&&this['unlockItemOrSolution']&&this[l(0x19f)]===a)return this[l(0x197)]=![],this['logger'][l(0x196)](l(0x193)+this['name']+l(0x19d)+a),!![];return this[l(0x195)]['write']('Failed\x20to\x20unlock\x20door:\x20'+this[l(0x18e)]+l(0x19d)+a),![];}[a47i(0x18a)](){var m=a47i;return this[m(0x197)];}[a47i(0x184)](){return this['isLockable'];}}
@@ -1 +1 @@
1
- const a48i=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xb1;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0xca))/0x1+parseInt(f(0xb1))/0x2*(-parseInt(f(0xdb))/0x3)+parseInt(f(0xd1))/0x4+parseInt(f(0xc3))/0x5*(parseInt(f(0xb5))/0x6)+parseInt(f(0xd3))/0x7*(-parseInt(f(0xce))/0x8)+parseInt(f(0xd6))/0x9+parseInt(f(0xd7))/0xa*(-parseInt(f(0xbe))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x85d34));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0xc4)]()[h(0xc1)](h(0xb6))['toString']()[h(0xb4)](a48a)[h(0xc1)]('(((.+)+)+)+$');});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0xc5)];['logger'];constructor(){const j=a48i;super(),this[j(0xc5)]=new Map(),this[j(0xcc)]=Logger[j(0xc6)]();}[a48i(0xd0)](a){const k=a48i;this[k(0xc5)]['set'](a[k(0xc9)][k(0xba)](),a),this[k(0xcc)][k(0xd9)]('Added\x20item:\x20'+a['name']+k(0xb2));}['removeItem'](a){const l=a48i,b=this[l(0xd5)](a);if(b)return this[l(0xc5)][l(0xbc)](a[l(0xba)]()),this['logger'][l(0xd9)](l(0xdc)+a+l(0xd4)),b;return this[l(0xcc)][l(0xd9)](l(0xc7)+a+l(0xb7)),null;}[a48i(0xb3)](a){const m=a48i,b=this[m(0xc5)][m(0xbf)](a[m(0xba)]()),c=[...this[m(0xc5)][m(0xbb)]()];return this['logger']['write'](m(0xcd)+a+m(0xb8)+c[m(0xda)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a48i(0xd5)](a){const n=a48i,b=this[n(0xc5)][n(0xd8)](a['toLowerCase']())||null;return b?this[n(0xcc)][n(0xd9)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0xcc)][n(0xd9)](n(0xc0)+a+n(0xb7)),b;}[a48i(0xc2)](){const o=a48i,a=[...this[o(0xc5)]['keys']()],b=a['map'](c=>capitalCase(c));return this[o(0xcc)][o(0xd9)](o(0xb9)+b['join'](',\x20')+'.'),a;}[a48i(0xcb)](){const p=a48i;let a=0x0;for(const b of this[p(0xc5)]['values']()){a+=b[p(0xbd)];}return a;}[a48i(0xd2)](){const q=a48i;return[...this[q(0xc5)][q(0xc8)]()];}}function a48c(){const r=['values','name','193201GxCDws','getWeight','logger','Checked\x20for\x20item:\x20','5408SSpBtw','apply','addItem','306816yTdfEE','getAllItems','1757YcycRH','\x20from\x20inventory.','getItem','8436240fnQAVU','8410aULpBy','get','write','join','3yyyopL','Removed\x20item:\x20','1199206GdSypd','\x20to\x20inventory.','hasItem','constructor','6HVfmkf','(((.+)+)+)+$','.\x20Item\x20not\x20found.','\x20in\x20','Listed\x20items\x20in\x20inventory:\x20','toLowerCase','keys','delete','weight','11209uroYxW','has','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','search','listItems','4835705zUPJKz','toString','items','getInstance','Failed\x20to\x20remove\x20item:\x20'];a48c=function(){return r;};return a48c();}
1
+ const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x1ba))/0x1+parseInt(f(0x19c))/0x2*(parseInt(f(0x1ac))/0x3)+-parseInt(f(0x1a2))/0x4+-parseInt(f(0x1a1))/0x5*(-parseInt(f(0x19e))/0x6)+parseInt(f(0x1b5))/0x7*(parseInt(f(0x1af))/0x8)+parseInt(f(0x1b3))/0x9+-parseInt(f(0x1ae))/0xa*(parseInt(f(0x1b9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x92091));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1a0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1a4)]()['search'](h(0x1a6))[h(0x1a4)]()[h(0x1a7)](a48a)['search']('(((.+)+)+)+$');});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a48i(0x1b4)];constructor(){const j=a48i;super(),this[j(0x1a8)]=new Map(),this[j(0x1b4)]=Logger['getInstance']();}['addItem'](a){const k=a48i;this[k(0x1a8)]['set'](a[k(0x1ad)][k(0x1b2)](),a),this['logger'][k(0x194)](k(0x1b8)+a[k(0x1ad)]+'\x20to\x20inventory.');}['removeItem'](a){const l=a48i,b=this[l(0x1a5)](a);if(b)return this['items'][l(0x199)](a[l(0x1b2)]()),this[l(0x1b4)][l(0x194)](l(0x1b0)+a+l(0x195)),b;return this[l(0x1b4)][l(0x194)](l(0x1a3)+a+'.\x20Item\x20not\x20found.'),null;}['hasItem'](a){const m=a48i,b=this[m(0x1a8)][m(0x19b)](a[m(0x1b2)]()),c=[...this[m(0x1a8)][m(0x1b6)]()];return this[m(0x1b4)][m(0x194)](m(0x197)+a+m(0x1a9)+c['join'](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}['getItem'](a){const n=a48i,b=this['items'][n(0x1ab)](a[n(0x1b2)]())||null;return b?this['logger'][n(0x194)](n(0x1aa)+a+'.'):this[n(0x1b4)][n(0x194)](n(0x193)+a+'.\x20Item\x20not\x20found.'),b;}[a48i(0x196)](){const o=a48i,a=[...this[o(0x1a8)]['keys']()],b=a[o(0x1b1)](c=>capitalCase(c));return this[o(0x1b4)][o(0x194)](o(0x19a)+b[o(0x19f)](',\x20')+'.'),a;}['getWeight'](){const p=a48i;let a=0x0;for(const b of this[p(0x1a8)]['values']()){a+=b[p(0x1b7)];}return a;}[a48i(0x198)](){const q=a48i;return[...this[q(0x1a8)][q(0x19d)]()];}}function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x193;let f=c[d];return f;},a48d(a,b);}function a48c(){const r=['Checked\x20for\x20item:\x20','getAllItems','delete','Listed\x20items\x20in\x20inventory:\x20','has','16jbIbhO','values','63942jGwAml','join','apply','65bwSRoW','4623464DXntbc','Failed\x20to\x20remove\x20item:\x20','toString','getItem','(((.+)+)+)+$','constructor','items','\x20in\x20','Retrieved\x20details\x20for\x20item:\x20','get','285507THgvre','name','50fItJuS','138616yvGSSn','Removed\x20item:\x20','map','toLowerCase','984510juKIbt','logger','273ApPVyt','keys','weight','Added\x20item:\x20','2387803BgWJog','1154356UZzZDY','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','write','\x20from\x20inventory.','listItems'];a48c=function(){return r;};return a48c();}
@@ -1 +1 @@
1
- function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x176;var f=c[d];return f;},a49d(a,b);}function a49c(){var k=['2309608nSOfEG','2139765UYePEa','(((.+)+)+)+$','7958780zCASgv','shape','7176EKtwBN','weight','9ttHgxo','description','9091576lTEluT','size','4fwBqee','constructor','rating','760482fUBBrh','2726094HwhJTD','You\x20use\x20the\x20','uuid','color','use','10iAvLBh','texture','search','toString','.\x20Nothing\x20special\x20happens.','name','category'];a49c=function(){return k;};return a49c();}var a49h=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x18e))/0x1*(parseInt(f(0x18c))/0x2)+-parseInt(f(0x188))/0x3*(-parseInt(f(0x177))/0x4)+parseInt(f(0x180))/0x5*(-parseInt(f(0x17b))/0x6)+parseInt(f(0x187))/0x7+parseInt(f(0x190))/0x8+parseInt(f(0x17a))/0x9+-parseInt(f(0x18a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x907f4));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0x183)]()[g(0x182)](g(0x189))['toString']()[g(0x178)](a49a)[g(0x182)](g(0x189));});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];[a49h(0x185)];[a49h(0x18f)];[a49h(0x176)];[a49h(0x186)];[a49h(0x18b)];[a49h(0x17e)];[a49h(0x181)];[a49h(0x179)];[a49h(0x18d)];constructor(a){var i=a49h;super(),this[i(0x185)]=a[i(0x185)],this['description']=a['description'],this['size']=a[i(0x176)],this[i(0x186)]=a['category'],this[i(0x18b)]=a[i(0x18b)],this[i(0x17e)]=a[i(0x17e)],this[i(0x181)]=a[i(0x181)],this[i(0x179)]=a[i(0x179)],this['weight']=a[i(0x18d)],this[i(0x17d)]=a49e();}[a49h(0x17f)](){var j=a49h;return j(0x17c)+this[j(0x185)]+j(0x184);}}
1
+ function a49c(){var l=['shape','11yWULLG','description','1981032MRCEeW','weight','category','use','489SnbWxZ','constructor','search','texture','3885252kNsUxX','3004512riwmLr','apply','2723665HKBnjL','name','uuid','18486970yVadkW','You\x20use\x20the\x20','size','rating','5374FvTeLz','203530ApaAmJ','color','toString','9tZZFjR','(((.+)+)+)+$','136nDmGko'];a49c=function(){return l;};return a49c();}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x165;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(0x17c))/0x1*(parseInt(f(0x16e))/0x2)+-parseInt(f(0x165))/0x3+-parseInt(f(0x174))/0x4*(-parseInt(f(0x16f))/0x5)+parseInt(f(0x180))/0x6+-parseInt(f(0x167))/0x7+parseInt(f(0x178))/0x8*(-parseInt(f(0x172))/0x9)+-parseInt(f(0x16a))/0xa*(-parseInt(f(0x176))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xe2948));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x171)]()[h(0x17e)](h(0x173))[h(0x171)]()[h(0x17d)](a49a)['search'](h(0x173));});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];[a49i(0x168)];[a49i(0x177)];[a49i(0x16c)];[a49i(0x17a)];[a49i(0x175)];[a49i(0x170)];[a49i(0x17f)];['rating'];[a49i(0x179)];constructor(a){var j=a49i;super(),this[j(0x168)]=a[j(0x168)],this[j(0x177)]=a[j(0x177)],this[j(0x16c)]=a[j(0x16c)],this[j(0x17a)]=a[j(0x17a)],this[j(0x175)]=a[j(0x175)],this['color']=a['color'],this[j(0x17f)]=a[j(0x17f)],this[j(0x16d)]=a['rating'],this[j(0x179)]=a[j(0x179)],this[j(0x169)]=a49e();}[a49i(0x17b)](){var k=a49i;return k(0x16b)+this[k(0x168)]+'.\x20Nothing\x20special\x20happens.';}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x172))/0x1+-parseInt(f(0x16c))/0x2*(parseInt(f(0x179))/0x3)+-parseInt(f(0x165))/0x4+-parseInt(f(0x177))/0x5*(parseInt(f(0x16f))/0x6)+parseInt(f(0x173))/0x7*(-parseInt(f(0x16a))/0x8)+parseInt(f(0x17c))/0x9+parseInt(f(0x17a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xdb504));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x174)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()[h(0x169)](h(0x175))['toString']()[h(0x170)](a50a)[h(0x169)](h(0x175));});a50a();import{Player}from'./player.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x165;let f=c[d];return f;},a50d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x16b)];['_dialogue'];[a50i(0x178)];[a50i(0x167)];constructor(a,b,c,d){super(d),this['_name']=a,this['_dialogue']=b,this['rooms']=c;}get['name'](){return this['_name'];}[a50i(0x166)](){const j=a50i;return this[j(0x171)][Math['floor'](Math['random']()*this[j(0x171)][j(0x16e)])];}[a50i(0x17d)](a){const k=a50i,b=a[Math[k(0x176)](Math[k(0x16d)]()*a[k(0x16e)])];this['moveTo'](b['name']);}[a50i(0x168)](a){const l=a50i,b={'actor':this,'rooms':this[l(0x178)],'scene':this['scene']},c=new GoCommand(b);c[l(0x17b)]([a]);}}function a50c(){const m=['execute','15397929prxLgg','autonomousMove','5494740nEHpUV','speak','scene','moveTo','search','2649704UvCULb','_name','2797138ZhLkPd','random','length','9493746GXZvmt','constructor','_dialogue','38817AhzDBi','35hcdcFJ','apply','(((.+)+)+)+$','floor','5vprtBk','rooms','3HIVMeC','52368540vfZbce'];a50c=function(){return m;};return a50c();}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x1c5))/0x1+parseInt(f(0x1d6))/0x2*(parseInt(f(0x1cb))/0x3)+parseInt(f(0x1cf))/0x4*(-parseInt(f(0x1c6))/0x5)+parseInt(f(0x1cc))/0x6*(-parseInt(f(0x1c3))/0x7)+parseInt(f(0x1d5))/0x8*(-parseInt(f(0x1c4))/0x9)+parseInt(f(0x1d0))/0xa*(-parseInt(f(0x1c7))/0xb)+parseInt(f(0x1ce))/0xc*(parseInt(f(0x1c8))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xae6bd));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x1d8)]()['search']('(((.+)+)+)+$')[h(0x1d8)]()['constructor'](a50a)[h(0x1db)](h(0x1d7));});function a50c(){const n=['192841FOtIUv','372398WZgNbE','_dialogue','rooms','177501WXwZFw','318xKGDNn','length','444XFzhfN','981756hhLMXY','110SeqIKh','scene','name','speak','moveTo','145256IuORZH','26QmDuWH','(((.+)+)+)+$','toString','_name','apply','search','autonomousMove','random','floor','12411tuyCnT','657odlUuj','988505SiqFYQ','10dSGPjg'];a50c=function(){return n;};return a50c();}a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a50d(a,b);}export class NPC extends Player{[a50i(0x1d9)];['_dialogue'];[a50i(0x1ca)];[a50i(0x1d1)];constructor(a,b,c,d){const j=a50i;super(d),this['_name']=a,this[j(0x1c9)]=b,this['rooms']=c;}get[a50i(0x1d2)](){return this['_name'];}[a50i(0x1d3)](){const k=a50i;return this[k(0x1c9)][Math['floor'](Math[k(0x1dd)]()*this[k(0x1c9)][k(0x1cd)])];}[a50i(0x1dc)](a){const l=a50i,b=a[Math[l(0x1de)](Math[l(0x1dd)]()*a[l(0x1cd)])];this[l(0x1d4)](b[l(0x1d2)]);}[a50i(0x1d4)](a){const m=a50i,b={'actor':this,'rooms':this[m(0x1ca)],'scene':this['scene']},c=new GoCommand(b);c['execute']([a]);}}
@@ -1 +1 @@
1
- const a51i=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1be;let f=c[d];return f;},a51d(a,b);}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x1eb))/0x1*(parseInt(f(0x20e))/0x2)+parseInt(f(0x1ed))/0x3*(parseInt(f(0x1cd))/0x4)+-parseInt(f(0x1c8))/0x5+parseInt(f(0x1ea))/0x6*(parseInt(f(0x1ec))/0x7)+parseInt(f(0x201))/0x8+parseInt(f(0x1c1))/0x9+-parseInt(f(0x204))/0xa*(parseInt(f(0x20d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x73a2a));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x1dc)]()[h(0x1fa)](h(0x209))[h(0x1dc)]()[h(0x1c2)](a51a)[h(0x1fa)](h(0x209));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0x203)];[a51i(0x1da)];['_inventory'];[a51i(0x1ce)];['_maxCarryingWeight']=0x32;['logger'];constructor(a){const j=a51i;super(),this[j(0x203)]=a['playerName'],this[j(0x1da)]=a['startLocation']||new Room({'name':j(0x1e7),'description':j(0x1e2)}),this[j(0x1ee)]=new Inventory(),this[j(0x211)]=Logger[j(0x214)]();if(a?.[j(0x1f5)])for(const b of a['inventoryItems']){this[j(0x1ee)][j(0x216)](b);}this['_equipment']=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x1fc)](){return this['_playerName'];}get[a51i(0x218)](){const k=a51i;return this[k(0x1da)];}set['currentLocation'](a){const l=a51i;this['_currentLocation']!==a&&(this['leaveRoom'](),this[l(0x213)](a)),this['_currentLocation']=a;}get[a51i(0x1db)](){return this['_inventory'];}get['equipment'](){const m=a51i;return this[m(0x1ce)];}set[a51i(0x1d9)](a){const n=a51i;this[n(0x1ce)]=a;}get['maxCarryingWeight'](){const o=a51i;return this[o(0x1f1)];}set['maxCarryingWeight'](a){const p=a51i;a>0x0?this[p(0x1f1)]=a:console['error'](p(0x1e6));}get[a51i(0x1be)](){const q=a51i;let a=this['_inventory'][q(0x219)]();for(const b in this[q(0x1ce)]){const c=this[q(0x1ce)][b];c&&(a+=c['weight']);}return a;}['addInventory'](a){const r=a51i;if(this[r(0x1be)]+a[r(0x207)]>this[r(0x1cc)]){this['logger']['write'](r(0x1f7));throw new Error(r(0x1f4));}this[r(0x1ee)][r(0x216)](a),this['logger'][r(0x1df)](r(0x1dd)+a[r(0x1fc)]+r(0x1d2));}[a51i(0x1fd)](a){const s=a51i;if(this[s(0x1ee)][s(0x1c0)](a[s(0x1fc)]))return this[s(0x211)][s(0x1df)](s(0x1ca)+a[s(0x1fc)]+s(0x1d8)),!![];return this[s(0x211)][s(0x1df)]('Failed\x20to\x20remove\x20'+a['name']+s(0x1d8)),![];}[a51i(0x21a)](a){const t=a51i;if(!this[t(0x1ee)][t(0x1c3)](a[t(0x1fc)]))return t(0x200)+a['name']+t(0x1e5);if(!this[t(0x20a)](a))return t(0x1e8)+a['name']+'.';const b=this[t(0x1e4)](a['category']);if(!b)return a[t(0x1fc)]+t(0x1d1);if(this[t(0x1d9)][b])return t(0x205)+b+t(0x202);return this[t(0x1d9)][b]=a,this[t(0x1fd)](a),'You\x20equipped\x20'+a[t(0x1fc)]+'.';}[a51i(0x1f3)](a){const u=a51i;let b=a;if(!this[u(0x1d9)][camelCase(b)]){b=this[u(0x1e4)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[u(0x1bf)](b);}[a51i(0x1e4)](a){const v=a51i;switch(a[v(0x1d0)]()){case Category[v(0x21b)][v(0x1d0)]():return v(0x1d4);case Category[v(0x210)][v(0x1d0)]():return v(0x217);case Category[v(0x20b)][v(0x1d0)]():return v(0x212);case Category['Helmet']['toLowerCase']():case Category[v(0x1d3)][v(0x1d0)]():return v(0x20f);case Category['Boots'][v(0x1d0)]():return v(0x206);case Category['LegArmor']['toLowerCase']():return v(0x1d7);case Category[v(0x1c9)][v(0x1d0)]():return v(0x1f0);case Category[v(0x208)][v(0x1d0)]():return v(0x1d5);case v(0x1cf):return v(0x1d4);case v(0x1cb):return v(0x217);case v(0x212):return v(0x212);case'helmet':case'hat':return v(0x20f);case v(0x1c5):return v(0x206);case v(0x1fb):case v(0x1c4):return v(0x1d7);case'arm\x20armor':case v(0x215):return v(0x1f0);case v(0x1f8):case v(0x1d6):case v(0x1d5):return v(0x1d5);default:return null;}}['canEquip'](a){const w=a51i;return Object[w(0x1f2)](Category)[w(0x1c6)](a['category']);}[a51i(0x1bf)](a){const x=a51i,b=this['equipment'][a];if(!b)return x(0x1de)+a+x(0x1e0);return this[x(0x1c7)](b),this[x(0x1d9)][a]=null,'You\x20unequipped\x20'+b[x(0x1fc)]+'.';}['hear'](a,b){const y=a51i;a!==this&&this[y(0x211)][y(0x1e3)](a['name']+y(0x1ef)+b+'\x22');}[a51i(0x213)](a){const z=a51i;this[z(0x1da)]=a,a['on']('speak',this[z(0x20c)]['bind'](this)),this['logger'][z(0x1df)](this[z(0x1fc)]+z(0x1e1)+a['name']);}[a51i(0x1fe)](){const A=a51i;this[A(0x1da)]&&(this[A(0x1da)][A(0x1ff)](A(0x1f9),this[A(0x20c)][A(0x1f6)](this)),this[A(0x211)]['write'](this['name']+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[A(0x1da)][A(0x1fc)]));}}function a51c(){const B=['getInstance','armarmor','addItem','leftHand','currentLocation','getWeight','equip','Weapon','currentWeight','unequipBySlot','removeItem','7279848hcjiLi','constructor','hasItem','legarmor','boots','includes','addInventory','2870950esevUV','ArmArmor','Removed\x20','shield','maxCarryingWeight','3745244Ctlzqq','_equipment','weapon','toLowerCase','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','\x20to\x20player\x27s\x20inventory.','Hat','rightHand','torso','bodyarmor','legs','\x20from\x20player\x27s\x20inventory.','equipment','_currentLocation','inventory','toString','Added\x20','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','write','\x20slot.','\x20is\x20now\x20listening\x20in\x20room\x20','A\x20featureless\x20room','log','determineEquipmentSlot','\x20in\x20your\x20inventory.','Max\x20carrying\x20weight\x20must\x20be\x20positive.','Nexus','You\x20can\x27t\x20equip\x20','apply','2022918nLpdHH','4NKBVtC','7AlNtgT','3PtPFjB','_inventory','\x20says:\x20\x22','arms','_maxCarryingWeight','values','unequip','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','inventoryItems','bind','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','body\x20armor','speak','search','leg\x20armor','name','removeInventory','leaveRoom','off','You\x20don\x27t\x20have\x20','6379408lcWeSd','.\x20You\x20must\x20unequip\x20it\x20first.','_playerName','277370SRLOfb','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','feet','weight','BodyArmor','(((.+)+)+)+$','canEquip','Gloves','hear','550vAOooQ','222540Hfsnip','head','Shield','logger','gloves','enterRoom'];a51c=function(){return B;};return a51c();}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x1f1))/0x1+-parseInt(f(0x1fb))/0x2+-parseInt(f(0x1e0))/0x3+parseInt(f(0x20c))/0x4+-parseInt(f(0x202))/0x5*(-parseInt(f(0x1d6))/0x6)+parseInt(f(0x1d0))/0x7+-parseInt(f(0x1c9))/0x8*(parseInt(f(0x210))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x9e15e));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x215)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x1f4)]()['search'](h(0x211))[h(0x1f4)]()[h(0x203)](a51a)['search'](h(0x211));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a51c(){const B=['canEquip','A\x20featureless\x20room','\x20in\x20your\x20inventory.','BodyArmor','playerName','1330614JMEtVd','category','equipment','speak','equip','Added\x20','inventory','30neIcft','constructor','toLowerCase','rightHand','_inventory','_maxCarryingWeight','getWeight','bind','values','LegArmor','3203532rRqSUl','arms','You\x20can\x27t\x20equip\x20','head','5608089dZRAGF','(((.+)+)+)+$','unequipBySlot','\x20is\x20now\x20listening\x20in\x20room\x20','torso','apply','weapon','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','shield','leftHand','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','\x20slot.','gloves','_currentLocation','startLocation','_equipment','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','legs','addInventory','log','off','8oNxGbX','.\x20You\x20must\x20unequip\x20it\x20first.','legarmor','write','Boots','\x20says:\x20\x22','unequip','315217VskQSv','armarmor','addItem','hat','Helmet','leg\x20armor','2004qESdKX','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','inventoryItems','currentWeight','maxCarryingWeight','_playerName','Nexus','body\x20armor','Invalid\x20category\x20or\x20slot:\x20','enterRoom','362409FSQAsf','includes','currentLocation','You\x20don\x27t\x20have\x20','weight','ArmArmor','hasItem','removeInventory','determineEquipmentSlot','name','\x20to\x20player\x27s\x20inventory.','arm\x20armor','You\x20equipped\x20','Hat','hear','Gloves','feet','1208831HTrcAn','logger','Weapon','toString','\x20from\x20player\x27s\x20inventory.'];a51c=function(){return B;};return a51c();}import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1ba;let f=c[d];return f;},a51d(a,b);}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0x1db)];[a51i(0x1c1)];[a51i(0x206)];[a51i(0x1c3)];[a51i(0x207)]=0x32;[a51i(0x1f2)];constructor(a){const j=a51i;super(),this['_playerName']=a[j(0x1fa)],this[j(0x1c1)]=a[j(0x1c2)]||new Room({'name':j(0x1dc),'description':j(0x1f7)}),this[j(0x206)]=new Inventory(),this['logger']=Logger['getInstance']();if(a?.[j(0x1d8)])for(const b of a[j(0x1d8)]){this[j(0x206)][j(0x1d2)](b);}this[j(0x1c3)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a51i;return this[k(0x1db)];}get[a51i(0x1e2)](){const l=a51i;return this[l(0x1c1)];}set[a51i(0x1e2)](a){const m=a51i;this[m(0x1c1)]!==a&&(this['leaveRoom'](),this['enterRoom'](a)),this[m(0x1c1)]=a;}get[a51i(0x201)](){const n=a51i;return this[n(0x206)];}get[a51i(0x1fd)](){return this['_equipment'];}set[a51i(0x1fd)](a){const o=a51i;this[o(0x1c3)]=a;}get[a51i(0x1da)](){const p=a51i;return this[p(0x207)];}set[a51i(0x1da)](a){a>0x0?this['_maxCarryingWeight']=a:console['error']('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a51i(0x1d9)](){const q=a51i;let a=this[q(0x206)][q(0x208)]();for(const b in this['_equipment']){const c=this[q(0x1c3)][b];c&&(a+=c[q(0x1e4)]);}return a;}[a51i(0x1c6)](a){const r=a51i;if(this[r(0x1d9)]+a[r(0x1e4)]>this[r(0x1da)]){this[r(0x1f2)]['write'](r(0x1be));throw new Error(r(0x1c4));}this['_inventory'][r(0x1d2)](a),this[r(0x1f2)]['write'](r(0x200)+a[r(0x1e9)]+r(0x1ea));}[a51i(0x1e7)](a){const s=a51i;if(this[s(0x206)]['removeItem'](a[s(0x1e9)]))return this[s(0x1f2)]['write']('Removed\x20'+a[s(0x1e9)]+s(0x1f5)),!![];return this['logger'][s(0x1cc)]('Failed\x20to\x20remove\x20'+a['name']+s(0x1f5)),![];}[a51i(0x1ff)](a){const t=a51i;if(!this[t(0x206)][t(0x1e6)](a['name']))return t(0x1e3)+a[t(0x1e9)]+t(0x1f8);if(!this[t(0x1f6)](a))return t(0x20e)+a[t(0x1e9)]+'.';const b=this[t(0x1e8)](a['category']);if(!b)return a[t(0x1e9)]+t(0x1bb);if(this['equipment'][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+t(0x1ca);return this[t(0x1fd)][b]=a,this[t(0x1e7)](a),t(0x1ec)+a[t(0x1e9)]+'.';}[a51i(0x1cf)](a){const u=a51i;let b=a;if(!this[u(0x1fd)][camelCase(b)]){b=this[u(0x1e8)](a);if(!b)return u(0x1de)+a+'.';}return this[u(0x212)](b);}[a51i(0x1e8)](a){const v=a51i;switch(a[v(0x204)]()){case Category[v(0x1f3)][v(0x204)]():return v(0x205);case Category['Shield'][v(0x204)]():return v(0x1bd);case Category[v(0x1ef)][v(0x204)]():return v(0x1c0);case Category[v(0x1d4)][v(0x204)]():case Category[v(0x1ed)][v(0x204)]():return'head';case Category[v(0x1cd)][v(0x204)]():return v(0x1f0);case Category[v(0x20b)]['toLowerCase']():return v(0x1c5);case Category[v(0x1e5)][v(0x204)]():return v(0x20d);case Category[v(0x1f9)][v(0x204)]():return v(0x214);case v(0x1ba):return v(0x205);case v(0x1bc):return'leftHand';case v(0x1c0):return v(0x1c0);case'helmet':case v(0x1d3):return v(0x20f);case'boots':return v(0x1f0);case v(0x1d5):case v(0x1cb):return v(0x1c5);case v(0x1eb):case v(0x1d1):return v(0x20d);case v(0x1dd):case'bodyarmor':case v(0x214):return'torso';default:return null;}}[a51i(0x1f6)](a){const w=a51i;return Object[w(0x20a)](Category)[w(0x1e1)](a[w(0x1fc)]);}[a51i(0x212)](a){const x=a51i,b=this[x(0x1fd)][a];if(!b)return x(0x1d7)+a+x(0x1bf);return this[x(0x1c6)](b),this['equipment'][a]=null,'You\x20unequipped\x20'+b['name']+'.';}['hear'](a,b){const y=a51i;a!==this&&this[y(0x1f2)][y(0x1c7)](a[y(0x1e9)]+y(0x1ce)+b+'\x22');}[a51i(0x1df)](a){const z=a51i;this[z(0x1c1)]=a,a['on'](z(0x1fe),this[z(0x1ee)]['bind'](this)),this[z(0x1f2)][z(0x1cc)](this[z(0x1e9)]+z(0x213)+a[z(0x1e9)]);}['leaveRoom'](){const A=a51i;this['_currentLocation']&&(this[A(0x1c1)][A(0x1c8)]('speak',this[A(0x1ee)][A(0x209)](this)),this[A(0x1f2)][A(0x1cc)](this[A(0x1e9)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[A(0x1c1)]['name']));}}
@@ -1 +1 @@
1
- var a52i=a52d;function a52c(){var m=['You\x20have\x20already\x20solved\x20this\x20puzzle.','hasRequiredItem','672929pBvznX','requiredPhrase','(((.+)+)+)+$','14uHVCNB','You\x20solved\x20the\x20puzzle!','470250qTQJMj','write','126995WnfrTm','solved','Puzzle:\x20Correct\x20solution\x20provided.','failureMessage','solve','hasItem','231020ZfjqYI','riddle','apply','successMessage','78kooxjw','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','getInstance','2aotHJK','296792YhwamU','requiredItem','search','6004026OBrcph','rewardItem','logger','1150MDXJsm','toString','1206152iNBycr'];a52c=function(){return m;};return a52c();}(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x194))/0x1*(-parseInt(f(0x188))/0x2)+-parseInt(f(0x199))/0x3+parseInt(f(0x189))/0x4+parseInt(f(0x1a1))/0x5*(-parseInt(f(0x185))/0x6)+parseInt(f(0x197))/0x7*(-parseInt(f(0x191))/0x8)+parseInt(f(0x18c))/0x9+-parseInt(f(0x18f))/0xa*(-parseInt(f(0x19b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x524de));function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x183;var f=c[d];return f;},a52d(a,b);}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x190)]()[h(0x18b)](h(0x196))['toString']()['constructor'](a52a)[h(0x18b)](h(0x196));});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x18e)]=Logger[a52i(0x187)]();[a52i(0x19c)]=![];[a52i(0x18a)];['requiredPhrase'];['riddle'];['rewardItem'];[a52i(0x184)];['failureMessage'];constructor(a){var j=a52i;super(),this[j(0x18a)]=a[j(0x18a)],this[j(0x195)]=a[j(0x195)],this[j(0x1a2)]=a[j(0x1a2)],this[j(0x18d)]=a['rewardItem'],this[j(0x184)]=a['successMessage']||j(0x198),this['failureMessage']=a[j(0x19e)]||j(0x186);}[a52i(0x193)](a){var k=a52i;if(this[k(0x18a)])return a[k(0x1a0)](this['requiredItem']);return![];}['matchesRequiredPhrase'](a){return this['requiredPhrase']===a;}[a52i(0x19f)](a,b){var l=a52i;if(this['solved'])return this[l(0x18e)][l(0x19a)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':l(0x192)};return this[l(0x193)](b)||this['matchesRequiredPhrase'](a)?(this[l(0x19c)]=!![],this[l(0x18e)][l(0x19a)](l(0x19d)),{'success':!![],'message':this[l(0x184)]}):(this['logger'][l(0x19a)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this['failureMessage']});}}
1
+ var a52i=a52d;function a52c(){var m=['503466EMZush','riddle','failureMessage','requiredItem','matchesRequiredPhrase','You\x20solved\x20the\x20puzzle!','rewardItem','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','5pBcLsn','getInstance','241mNfTLN','48621LhiAvV','apply','1480nSyTeD','requiredPhrase','logger','7356876DeUzuO','613828XURdLd','constructor','hasRequiredItem','toString','21xoMyHH','1966suRsCL','715450tzvqVe','write','successMessage','solve','12807KPAWFs','(((.+)+)+)+$','hasItem','solved','11eqkgSF','Puzzle:\x20Correct\x20solution\x20provided.'];a52c=function(){return m;};return a52c();}(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x133))/0x1*(parseInt(f(0x13f))/0x2)+parseInt(f(0x134))/0x3+-parseInt(f(0x13a))/0x4*(parseInt(f(0x131))/0x5)+parseInt(f(0x129))/0x6*(parseInt(f(0x13e))/0x7)+-parseInt(f(0x136))/0x8*(parseInt(f(0x144))/0x9)+-parseInt(f(0x140))/0xa*(parseInt(f(0x127))/0xb)+parseInt(f(0x139))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x260cd));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x13d)]()['search'](h(0x124))[h(0x13d)]()[h(0x13b)](a52a)['search'](h(0x124));});a52a();function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x124;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{['logger']=Logger[a52i(0x132)]();['solved']=![];['requiredItem'];[a52i(0x137)];[a52i(0x12a)];[a52i(0x12f)];[a52i(0x142)];[a52i(0x12b)];constructor(a){var j=a52i;super(),this[j(0x12c)]=a[j(0x12c)],this[j(0x137)]=a[j(0x137)],this[j(0x12a)]=a[j(0x12a)],this[j(0x12f)]=a['rewardItem'],this[j(0x142)]=a[j(0x142)]||j(0x12e),this['failureMessage']=a[j(0x12b)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}['hasRequiredItem'](a){var k=a52i;if(this[k(0x12c)])return a[k(0x125)](this[k(0x12c)]);return![];}[a52i(0x12d)](a){return this['requiredPhrase']===a;}[a52i(0x143)](a,b){var l=a52i;if(this['solved'])return this[l(0x138)][l(0x141)](l(0x130)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[l(0x13c)](b)||this[l(0x12d)](a)?(this[l(0x126)]=!![],this[l(0x138)][l(0x141)](l(0x128)),{'success':!![],'message':this[l(0x142)]}):(this[l(0x138)]['write']('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[l(0x12b)]});}}
@@ -1 +1 @@
1
- function a53c(){const u=['exits','roomType','search','hasItem','5HeiUAK','down','12638120LXMMfM','addExit','2366000FzgTQE','puzzle','addItem','\x20unlocked!','Fetching\x20exit\x20in\x20direction:\x20','Checking\x20if\x20exit\x20in\x20direction\x20','858567TwaJYi','getInstance','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','Item\x20removed\x20from\x20room\x20','300503KJtaXM','isStartRoom','roomB','9weDRhm','(((.+)+)+)+$','294fiRgbo','229462sHljSz','inventory','roomA','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','name','east','18466NHafzM','INSIDE','getExit','624908VMiVtg','set','DOWN','isExitLocked','findExistingDoor','NORTH','Item\x20added\x20to\x20room\x20','Room\x20created:\x20','apply','toString','get','setPuzzle','south','getOppositeDirection','speak','\x20is\x20locked.\x20Result:\x20','logger','Puzzle\x20set\x20for\x20room\x20','north','say','removeItem','write','description','.\x20Success:\x20'];a53c=function(){return u;};return a53c();}const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x156))/0x1+-parseInt(f(0x15c))/0x2+-parseInt(f(0x152))/0x3+parseInt(f(0x12c))/0x4*(-parseInt(f(0x148))/0x5)+parseInt(f(0x15b))/0x6*(parseInt(f(0x129))/0x7)+-parseInt(f(0x14c))/0x8+parseInt(f(0x159))/0x9*(parseInt(f(0x14a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x3a83a));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0x146)](h(0x15a))[h(0x135)]()['constructor'](a53a)[h(0x146)]('(((.+)+)+)+$');});a53a();import{Logger}from'../utilities/logger.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x125;let f=c[d];return f;},a53d(a,b);}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x13c)]=Logger[a53i(0x153)]();[a53i(0x127)];[a53i(0x142)];['exits']=new Map();[a53i(0x145)];[a53i(0x157)];[a53i(0x15d)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x127)]=a['name'],this[j(0x142)]=a['description'],this['roomType']=a['roomType']||RoomType[j(0x12a)],a[j(0x144)]&&(this[j(0x144)]=a[j(0x144)]||new Map()),a[j(0x15d)]&&(this[j(0x15d)]=a['inventory']),a[j(0x14d)]&&(this[j(0x14d)]=a[j(0x14d)]),this[j(0x157)]=a[j(0x157)]||![],this[j(0x13c)]['write'](j(0x133)+this['name']);}[a53i(0x13f)](a,b){const k=a53i;this['emit'](k(0x13a),a,b);}[a53i(0x14b)](a,b,c){const l=a53i;let d=this[l(0x130)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x144)][l(0x12d)](a,d),b[l(0x144)]['set'](this[l(0x139)](a),d);}['attemptUnlockExit'](a,b){const m=a53i,c=this['exits']['get'](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this['logger'][m(0x141)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0x143)+d),d?'The\x20'+c['name']+m(0x14f):'The\x20'+c[m(0x127)]+'\x20remains\x20locked.';}return this[m(0x13c)][m(0x141)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0x154);}[a53i(0x12b)](a){const n=a53i;return this[n(0x13c)][n(0x141)](n(0x150)+a),this[n(0x144)][n(0x136)](a);}[a53i(0x12f)](a){const o=a53i,b=this[o(0x144)][o(0x136)](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0x13c)][o(0x141)](o(0x151)+a+o(0x13b)+c),c;}[a53i(0x14e)](a){const p=a53i;this[p(0x15d)][p(0x14e)](a),this['logger'][p(0x141)](p(0x132)+this['name']+':\x20'+a[p(0x127)]);}[a53i(0x140)](a){const q=a53i;this[q(0x15d)][q(0x147)](a[q(0x127)])?(this[q(0x15d)][q(0x140)](a[q(0x127)]),this[q(0x13c)][q(0x141)](q(0x155)+this['name']+':\x20'+a['name'])):this[q(0x13c)][q(0x141)](q(0x126)+this['name']+':\x20'+a[q(0x127)]);}[a53i(0x137)](a){const r=a53i;this[r(0x14d)]=a,this[r(0x13c)]['write'](r(0x13d)+this[r(0x127)]+':\x20'+a['riddle']);}['getOppositeDirection'](a){const s=a53i;switch(a){case s(0x13e):return Direction['SOUTH'];case s(0x138):return Direction[s(0x131)];case s(0x128):return Direction['WEST'];case'west':return Direction['EAST'];case'up':return Direction[s(0x12e)];case s(0x149):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53i(0x130)](a){const t=a53i;for(const b of this['exits']['values']()){if(b instanceof Door){if(b[t(0x125)]===this&&b[t(0x158)]===a||b[t(0x158)]===this&&b[t(0x125)]===a)return b;}}return undefined;}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x1fd))/0x1*(-parseInt(f(0x211))/0x2)+-parseInt(f(0x216))/0x3+-parseInt(f(0x200))/0x4+parseInt(f(0x203))/0x5*(parseInt(f(0x202))/0x6)+-parseInt(f(0x214))/0x7*(parseInt(f(0x1ee))/0x8)+parseInt(f(0x1fc))/0x9+parseInt(f(0x1fb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xd1624));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x20e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0x220)]('(((.+)+)+)+$')[h(0x1ff)]()['constructor'](a53a)[h(0x220)](h(0x1e8));});function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a53d(a,b);}a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a53c(){const u=['3968SDkgtL','get','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','setPuzzle','SOUTH','roomType','INSIDE','Item\x20added\x20to\x20room\x20','write','south','speak','Item\x20removed\x20from\x20room\x20','DOWN','16228330AAjprA','3198996cHaNAa','3hwjuzl','logger','toString','774264krDEmV','west','186RMEsTn','133370bEZVhj','say','EAST','down','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','emit','riddle','Checking\x20if\x20exit\x20in\x20direction\x20','getExit','roomA','east','apply','hasItem','description','453966mjkVcG','No\x20locked\x20exit\x20found\x20in\x20direction\x20','NORTH','1169mQJlyM','attemptUnlockExit','2970564qpAPiG','removeItem','puzzle','set','findExistingDoor','.\x20Success:\x20','addExit','values','isExitLocked','addItem','search','The\x20','Fetching\x20exit\x20in\x20direction:\x20','\x20unlocked!','Puzzle\x20set\x20for\x20room\x20','getInstance','inventory','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','\x20is\x20locked.\x20Result:\x20','\x20remains\x20locked.','(((.+)+)+)+$','attemptUnlock','exits','name','isStartRoom','roomB'];a53c=function(){return u;};return a53c();}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x1fe)]=Logger[a53i(0x225)]();[a53i(0x1eb)];['description'];['exits']=new Map();[a53i(0x1f3)];['isStartRoom'];[a53i(0x226)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x1eb)]=a[j(0x1eb)],this[j(0x210)]=a[j(0x210)],this[j(0x1f3)]=a[j(0x1f3)]||RoomType[j(0x1f4)],a[j(0x1ea)]&&(this[j(0x1ea)]=a[j(0x1ea)]||new Map()),a[j(0x226)]&&(this['inventory']=a[j(0x226)]),a[j(0x218)]&&(this['puzzle']=a[j(0x218)]),this[j(0x1ec)]=a['isStartRoom']||![],this['logger']['write']('Room\x20created:\x20'+this[j(0x1eb)]);}[a53i(0x204)](a,b){const k=a53i;this[k(0x208)](k(0x1f8),a,b);}[a53i(0x21c)](a,b,c){const l=a53i;let d=this[l(0x21a)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits']['set'](a,d),b[l(0x1ea)][l(0x219)](this['getOppositeDirection'](a),d);}[a53i(0x215)](a,b){const m=a53i,c=this['exits'][m(0x1ef)](a);if(c instanceof Door){const d=c[m(0x1e9)](b);return this[m(0x1fe)][m(0x1f6)](m(0x1f0)+a+m(0x21b)+d),d?'The\x20'+c[m(0x1eb)]+m(0x223):m(0x221)+c[m(0x1eb)]+m(0x229);}return this['logger']['write'](m(0x212)+a),m(0x207);}[a53i(0x20b)](a){const n=a53i;return this[n(0x1fe)][n(0x1f6)](n(0x222)+a),this[n(0x1ea)][n(0x1ef)](a);}[a53i(0x21e)](a){const o=a53i,b=this['exits'][o(0x1ef)](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0x1fe)][o(0x1f6)](o(0x20a)+a+o(0x228)+c),c;}[a53i(0x21f)](a){const p=a53i;this[p(0x226)][p(0x21f)](a),this[p(0x1fe)][p(0x1f6)](p(0x1f5)+this[p(0x1eb)]+':\x20'+a[p(0x1eb)]);}[a53i(0x217)](a){const q=a53i;this[q(0x226)][q(0x20f)](a[q(0x1eb)])?(this[q(0x226)][q(0x217)](a['name']),this[q(0x1fe)][q(0x1f6)](q(0x1f9)+this[q(0x1eb)]+':\x20'+a[q(0x1eb)])):this[q(0x1fe)][q(0x1f6)](q(0x227)+this[q(0x1eb)]+':\x20'+a[q(0x1eb)]);}[a53i(0x1f1)](a){const r=a53i;this[r(0x218)]=a,this[r(0x1fe)][r(0x1f6)](r(0x224)+this[r(0x1eb)]+':\x20'+a[r(0x209)]);}['getOppositeDirection'](a){const s=a53i;switch(a){case'north':return Direction[s(0x1f2)];case s(0x1f7):return Direction[s(0x213)];case s(0x20d):return Direction['WEST'];case s(0x201):return Direction[s(0x205)];case'up':return Direction[s(0x1fa)];case s(0x206):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53i(0x21a)](a){const t=a53i;for(const b of this[t(0x1ea)][t(0x21d)]()){if(b instanceof Door){if(b[t(0x20c)]===this&&b[t(0x1ed)]===a||b['roomB']===this&&b[t(0x20c)]===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(0xa0))/0x1+parseInt(i(0xb2))/0x2+-parseInt(i(0x89))/0x3+parseInt(i(0xb0))/0x4+parseInt(i(0x98))/0x5+-parseInt(i(0x9b))/0x6+parseInt(i(0x9d))/0x7*(parseInt(i(0xac))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x6999a));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x93)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0xa4)]()['search']('(((.+)+)+)+$')['toString']()[k(0x84)](a54a)['search'](k(0xc3));});a54a();function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x84;let f=c[d];return f;},a54d(a,b);}import{Logger}from'../utilities/logger.js';function a54c(){const D=['getPlayer','write','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','createRoom','No\x20actor\x20with\x20name\x20','\x22\x20does\x20not\x20exist.','setPuzzle','player','Failed\x20to\x20add\x20item\x20','keyRequired','currentLocation','isStartRoom','addActor','setCharacterLocation','(((.+)+)+)+$','has','actors','\x20is\x20now\x20in\x20room\x20','Added\x20puzzle\x20to\x20room\x20','join','roomConfiguration','Added\x20room\x20to\x20scene:\x20','allActors','addRoom','Room\x20\x22','constructor','Failed\x20to\x20set\x20','Failed\x20to\x20add\x20puzzle.\x20Room\x20','addExit','length','1070790PBDFCT','addItem','Actor\x20with\x20name\x20','set','generateRoomsFromConfig','delete','hasOwnProperty','get','characterLocations','getCharacterLocation','apply','direction','roomFactory','getActor','.\x20Room\x20','1183600GofnSx','values','keys','681906uSHnwM','getInstance','86079egNKWb','Added\x20item\x20','determineStartRoom','514231qLjIDW','logger','getRooms','\x20not\x20found\x20in\x20scene.','toString','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','connectRooms','createExitsFromConfig','targetRoom','rooms','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','\x27s\x20location.\x20Room\x20','232GrnzqH','removeRoom','push','exits','1472364ecHEeI','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','911852OdFCga','from','name'];a54c=function(){return D;};return a54c();}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0xa9)];[a54l(0xbc)];[a54l(0xa1)];['actors'];[a54l(0x91)]=new Map();[a54l(0x95)];constructor(a){const m=a54l;super(),this[m(0x95)]=new RoomFactory(),this[m(0xbc)]=a[m(0xbc)],this[m(0xa9)]=this[m(0x8d)](a[m(0xc9)]),this[m(0xa1)]=Logger[m(0x9c)](),this[m(0xc5)]=new Map(),this[m(0xa7)](a[m(0xc9)]),this[m(0xa1)][m(0xb6)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object['keys'](this[m(0xa9)])[m(0xc8)](',\x20'));}['initialize'](){const n=a54l;this['player'][n(0xbf)]=this[n(0x9f)]();}[a54l(0x8d)](a){const o=a54l;if(!this[o(0x95)])throw new Error(o(0xaa));const b={};for(const c of a){const d=this[o(0x95)][o(0xb8)](c);b[c[o(0xb4)]]=d;}return b;}[a54l(0xa7)](a){const p=a54l;for(const b of a){const c=this[p(0xa9)][b[p(0xb4)]];if(b['exits'])for(const d of b[p(0xaf)]){const e=d[p(0x94)]['toUpperCase'](),f=d[p(0xa8)],g=d[p(0xbe)],h=this[p(0xa9)][f];h&&c[p(0x87)](Direction[e],h,g);}}}[a54l(0xc1)](a){const q=a54l;if(this[q(0xc5)]['has'](a[q(0xb4)]))throw new Error(q(0x8b)+a[q(0xb4)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0xc5)][q(0x8c)](a['name'],a);}['removeActor'](a){const r=a54l;if(!this[r(0xc5)][r(0xc4)](a))throw new Error(r(0xb9)+a+'\x20found\x20in\x20the\x20scene.');this['actors'][r(0x8e)](a);}[a54l(0x96)](a){const s=a54l;return this[s(0xc5)][s(0x90)](a);}get[a54l(0xcb)](){const t=a54l;return Array[t(0xb3)](this[t(0xc5)][t(0x99)]());}[a54l(0xcc)](a){const u=a54l;this[u(0xa9)][a['name']]=a,this['logger'][u(0xb6)](u(0xca)+a['name']);}[a54l(0xad)](a){const v=a54l;return this[v(0xa9)][a]?(delete this[v(0xa9)][a],this['logger'][v(0xb6)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0xa1)][v(0xb6)]('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}['addItemToRoom'](a,b){const w=a54l,c=this['rooms'][b];c?(c[w(0x8a)](a),this['logger'][w(0xb6)](w(0x9e)+a[w(0xb4)]+'\x20to\x20room\x20'+c[w(0xb4)])):this[w(0xa1)]['write'](w(0xbd)+a[w(0xb4)]+w(0x97)+b+w(0xa3));}['addPuzzleToRoom'](a,b){const x=a54l,c=this[x(0xa9)][b];c?(c[x(0xbb)](a),this[x(0xa1)][x(0xb6)](x(0xc7)+c[x(0xb4)])):this[x(0xa1)][x(0xb6)](x(0x86)+b+x(0xa3));}[a54l(0xc2)](a,b){const y=a54l,c=this[y(0xa9)][b];c?(this['characterLocations'][y(0x8c)](a[y(0xb4)],c),this[y(0xa1)]['write'](a[y(0xb4)]+y(0xc6)+c['name'])):this[y(0xa1)][y(0xb6)](y(0x85)+a[y(0xb4)]+y(0xab)+b+y(0xa3));}[a54l(0x92)](a){const z=a54l;return this['characterLocations'][z(0x90)](a[z(0xb4)]);}[a54l(0x9f)](){const A=a54l,a=[];for(const c in this[A(0xa9)]){if(this[A(0xa9)][A(0x8f)](c)){const d=this[A(0xa9)][c];d[A(0xc0)]&&a[A(0xae)](d);}}if(a[A(0x88)]>0x1)throw new Error(A(0xb7));if(a[A(0x88)]===0x1)return a[0x0];const b=Object[A(0x9a)](this['rooms']);if(b[A(0x88)]===0x0)throw new Error(A(0xa5));return console['warn'](A(0xb1)),this[A(0xa9)][b[0x0]];}[a54l(0xb5)](){return this['player'];}[a54l(0xa2)](){const B=a54l;return this[B(0xa9)];}[a54l(0xa6)](a,b,c,d){const C=a54l,e=this[C(0xa9)][a],f=this['rooms'][c];if(!e)throw new Error(C(0xcd)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error('Room\x20\x22'+c+C(0xba));e['addExit'](b,f,d);}}
1
+ function a54c(){const E=['allActors','7UnnvHq','keys','Room\x20\x22','addExit','logger','search','determineStartRoom','connectRooms','getRooms','values','initialize','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','player','Added\x20room\x20to\x20scene:\x20','1327528AWwYun','roomConfiguration','removeActor','Added\x20item\x20','Actor\x20with\x20name\x20','addActor','getInstance','\x22\x20does\x20not\x20exist.','apply','627420dsKjxn','warn','15335573WmTyrA','generateRoomsFromConfig','get','32rltBwl','exits','push','\x20not\x20found\x20in\x20scene.','addItem','delete','\x20found\x20in\x20the\x20scene.','setPuzzle','name','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','No\x20actor\x20with\x20name\x20','join','targetRoom','has','removeRoom','length','35798tehayM','toString','write','toUpperCase','Failed\x20to\x20add\x20puzzle.\x20Room\x20','rooms','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','constructor','characterLocations','Failed\x20to\x20add\x20item\x20','\x20to\x20room\x20','3477573BVqWDa','actors','getCharacterLocation','3147932HZLyNS','createExitsFromConfig','Added\x20puzzle\x20to\x20room\x20','getActor','roomFactory','\x20already\x20exists\x20in\x20the\x20scene.','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','10eKSOuG','12fVtjfa','hasOwnProperty','addItemToRoom','set','createRoom','setCharacterLocation','.\x20Room\x20','Failed\x20to\x20set\x20','(((.+)+)+)+$','10040436hgEhNi','direction'];a54c=function(){return E;};return a54c();}const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x22c))/0x1*(-parseInt(i(0x23c))/0x2)+parseInt(i(0x1f9))/0x3+parseInt(i(0x1fc))/0x4+-parseInt(i(0x227))/0x5*(parseInt(i(0x204))/0x6)+-parseInt(i(0x210))/0x7*(parseInt(i(0x21e))/0x8)+parseInt(i(0x20d))/0x9+parseInt(i(0x203))/0xa*(-parseInt(i(0x229))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xa5846));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x226)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x23d)]()[k(0x215)](k(0x20c))['toString']()[k(0x1f5)](a54a)[k(0x215)]('(((.+)+)+)+$');});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a54d(a,b);}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x241)];[a54l(0x21c)];[a54l(0x214)];[a54l(0x1fa)];[a54l(0x1f6)]=new Map();[a54l(0x200)];constructor(a){const m=a54l;super(),this[m(0x200)]=new RoomFactory(),this[m(0x21c)]=a[m(0x21c)],this[m(0x241)]=this[m(0x22a)](a[m(0x21f)]),this[m(0x214)]=Logger[m(0x224)](),this[m(0x1fa)]=new Map(),this[m(0x1fd)](a[m(0x21f)]),this[m(0x214)][m(0x23e)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x211)](this[m(0x241)])[m(0x237)](',\x20'));}[a54l(0x21a)](){const n=a54l;this[n(0x21c)]['currentLocation']=this[n(0x216)]();}[a54l(0x22a)](a){const o=a54l;if(!this[o(0x200)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this['roomFactory'][o(0x208)](c);b[c[o(0x234)]]=d;}return b;}['createExitsFromConfig'](a){const p=a54l;for(const b of a){const c=this[p(0x241)][b['name']];if(b[p(0x22d)])for(const d of b[p(0x22d)]){const e=d[p(0x20e)][p(0x23f)](),f=d[p(0x238)],g=d['keyRequired'],h=this[p(0x241)][f];h&&c[p(0x213)](Direction[e],h,g);}}}[a54l(0x223)](a){const q=a54l;if(this[q(0x1fa)][q(0x239)](a[q(0x234)]))throw new Error(q(0x222)+a['name']+q(0x201));this['actors'][q(0x207)](a[q(0x234)],a);}[a54l(0x220)](a){const r=a54l;if(!this['actors']['has'](a))throw new Error(r(0x236)+a+r(0x232));this['actors'][r(0x231)](a);}[a54l(0x1ff)](a){const s=a54l;return this['actors'][s(0x22b)](a);}get[a54l(0x20f)](){const t=a54l;return Array['from'](this[t(0x1fa)][t(0x219)]());}['addRoom'](a){const u=a54l;this[u(0x241)][a[u(0x234)]]=a,this[u(0x214)]['write'](u(0x21d)+a[u(0x234)]);}[a54l(0x23a)](a){const v=a54l;return this[v(0x241)][a]?(delete this[v(0x241)][a],this[v(0x214)][v(0x23e)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0x214)][v(0x23e)](v(0x1f4)+a),![]);}[a54l(0x206)](a,b){const w=a54l,c=this[w(0x241)][b];c?(c[w(0x230)](a),this['logger'][w(0x23e)](w(0x221)+a[w(0x234)]+w(0x1f8)+c[w(0x234)])):this[w(0x214)][w(0x23e)](w(0x1f7)+a[w(0x234)]+w(0x20a)+b+w(0x22f));}['addPuzzleToRoom'](a,b){const x=a54l,c=this[x(0x241)][b];c?(c[x(0x233)](a),this[x(0x214)][x(0x23e)](x(0x1fe)+c['name'])):this[x(0x214)][x(0x23e)](x(0x240)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x209)](a,b){const y=a54l,c=this[y(0x241)][b];c?(this['characterLocations'][y(0x207)](a['name'],c),this['logger']['write'](a[y(0x234)]+'\x20is\x20now\x20in\x20room\x20'+c['name'])):this['logger'][y(0x23e)](y(0x20b)+a['name']+'\x27s\x20location.\x20Room\x20'+b+y(0x22f));}[a54l(0x1fb)](a){const z=a54l;return this[z(0x1f6)]['get'](a[z(0x234)]);}['determineStartRoom'](){const A=a54l,a=[];for(const c in this[A(0x241)]){if(this[A(0x241)][A(0x205)](c)){const d=this[A(0x241)][c];d['isStartRoom']&&a[A(0x22e)](d);}}if(a['length']>0x1)throw new Error(A(0x202));if(a['length']===0x1)return a[0x0];const b=Object[A(0x211)](this['rooms']);if(b[A(0x23b)]===0x0)throw new Error(A(0x235));return console[A(0x228)](A(0x21b)),this[A(0x241)][b[0x0]];}['getPlayer'](){const B=a54l;return this[B(0x21c)];}[a54l(0x218)](){const C=a54l;return this[C(0x241)];}[a54l(0x217)](a,b,c,d){const D=a54l,e=this[D(0x241)][a],f=this['rooms'][c];if(!e)throw new Error(D(0x212)+a+D(0x225));if(!f)throw new Error(D(0x212)+c+'\x22\x20does\x20not\x20exist.');e[D(0x213)](b,f,d);}}
@@ -1 +1 @@
1
- var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x145))/0x1+-parseInt(f(0x136))/0x2+-parseInt(f(0x120))/0x3+parseInt(f(0x133))/0x4*(-parseInt(f(0x125))/0x5)+parseInt(f(0x130))/0x6*(-parseInt(f(0x131))/0x7)+-parseInt(f(0x148))/0x8+parseInt(f(0x12f))/0x9*(parseInt(f(0x132))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x3d5a6));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x11d)]()[h(0x121)](h(0x116))[h(0x11d)]()[h(0x115)](a55a)[h(0x121)](h(0x116));});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(0x122)],'category':Category[i(0x13e)],'shape':Shape[i(0x11a)],'color':Color[i(0x134)],'texture':Texture[i(0x140)],'rating':Rating['Common'],'weight':0x1});}[a55j(0x13b)](){var k=a55j;return this[k(0x13a)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size[l(0x122)],'category':Category[l(0x12a)],'shape':Shape[l(0x13f)],'color':Color['Grey'],'texture':Texture[l(0x13c)],'rating':Rating[l(0x135)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0x13d)],'category':Category[m(0x12a)],'shape':Shape[m(0x144)],'color':Color[m(0x11c)],'texture':Texture[m(0x13c)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[n(0x113)],'shape':Shape[n(0x126)],'color':Color[n(0x129)],'texture':Texture[n(0x13c)],'rating':Rating[n(0x135)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size[o(0x13d)],'category':Category[o(0x12d)],'shape':Shape[o(0x11a)],'color':Color[o(0x129)],'texture':Texture[o(0x13c)],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0x122)],'category':Category[p(0x124)],'shape':Shape[p(0x11a)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[p(0x135)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x122)],'category':Category['Boots'],'shape':Shape[q(0x126)],'color':Color[q(0x11c)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x11e)],'category':Category[r(0x147)],'shape':Shape[r(0x126)],'color':Color[r(0x11c)],'texture':Texture[r(0x140)],'rating':Rating[r(0x135)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['ArmArmor'],'shape':Shape[s(0x11a)],'color':Color[s(0x129)],'texture':Texture[s(0x13c)],'rating':Rating[s(0x135)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x11f)],'category':Category[t(0x137)],'shape':Shape[t(0x11a)],'color':Color[t(0x134)],'texture':Texture[t(0x140)],'rating':Rating[t(0x135)],'weight':0x0});}[a55j(0x13b)](){var u=a55j;return u(0x128);}}export class Weapon extends Item{constructor(a,b){var v=a55j;super({'name':a,'description':b,'size':Size[v(0x122)],'category':Category['Weapon'],'shape':Shape[v(0x13f)],'color':Color[v(0x129)],'texture':Texture[v(0x13c)],'rating':Rating['Common'],'weight':0x3});}[a55j(0x13b)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class Book extends Item{[a55j(0x12e)];['publishDate'];[a55j(0x141)];constructor(a,b='A\x20mysterious\x20book.',c=a55j(0x127)){var w=a55j;super({'name':a,'description':b,'size':Size[w(0x122)],'category':Category['Book'],'shape':Shape[w(0x11a)],'color':Color[w(0x11c)],'texture':Texture[w(0x140)],'rating':Rating[w(0x135)],'weight':0x1}),this[w(0x12e)]=c,this[w(0x114)]=new Date(),this['pageCount']=0x64;}['use'](){var x=a55j;return x(0x143);}}export class ShortSword extends Item{constructor(){var y=a55j;super({'name':y(0x118),'description':y(0x138),'size':Size['Medium'],'category':Category[y(0x12a)],'shape':Shape[y(0x13f)],'color':Color[y(0x129)],'texture':Texture[y(0x13c)],'rating':Rating[y(0x135)],'weight':0x3});}['use'](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x113;var f=c[d];return f;},a55d(a,b);}function a55c(){var D=['Legendary','Brown','toString','Small','Tiny','284661UkscvT','search','Medium','Gold','LegArmor','3310hTVcUI','Circle','Unknown\x20Author','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Grey','Weapon','Cup','\x20aloft,\x20feeling\x20its\x20immense\x20power.','BodyArmor','author','40266fCEzGo','804hJIqZy','24374PBjUmU','2860TAAuMp','668RoaKfG','Yellow','Common','670082UWSkrG','Key','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','apply','description','use','Metallic','Large','Unknown','Blade','Smooth','pageCount','Holy\x20Grail','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Rifle','395340MAfOuu','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Gloves','3332256MObTCF','You\x20hold\x20the\x20','Helmet','publishDate','constructor','(((.+)+)+)+$','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Short\x20Sword','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Rectangle'];a55c=function(){return D;};return a55c();}export class SniperRifle extends Item{constructor(){var z=a55j;super({'name':'Sniper\x20Rifle','description':z(0x119),'size':Size[z(0x13d)],'category':Category[z(0x12a)],'shape':Shape[z(0x144)],'color':Color[z(0x11c)],'texture':Texture['Smooth'],'rating':Rating[z(0x135)],'weight':0x5});}[a55j(0x13b)](){var A=a55j;return A(0x146);}}export class HolyGrail extends Item{constructor(){var B=a55j;super({'name':B(0x142),'description':B(0x117),'size':Size[B(0x11e)],'category':Category[B(0x12b)],'shape':Shape[B(0x126)],'color':Color[B(0x123)],'texture':Texture[B(0x13c)],'rating':Rating[B(0x11b)],'weight':0x1});}[a55j(0x13b)](){var C=a55j;return C(0x149)+this['name']+C(0x12c);}}
1
+ var a55t=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x1d8))/0x1*(parseInt(f(0x1df))/0x2)+-parseInt(f(0x1f3))/0x3+-parseInt(f(0x1ef))/0x4+parseInt(f(0x1e2))/0x5*(parseInt(f(0x1f1))/0x6)+parseInt(f(0x1ca))/0x7+parseInt(f(0x1fa))/0x8+parseInt(f(0x1d3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xd733e));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x1e4)]()['search'](h(0x1dd))[h(0x1e4)]()['constructor'](a55a)[h(0x1e8)](h(0x1dd));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';function a55c(){var F=['apply','Rectangle','5790688XEZVtH','Small','6252bbauNY','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','3844782PCRmCY','Book','Rifle','Helmet','Cup','You\x20hold\x20the\x20','A\x20mysterious\x20book.','5891120jCgzTn','Blade','Gold','Large','pageCount','Short\x20Sword','Sniper\x20Rifle','321608vNCpFR','name','Metallic','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Gloves','publishDate','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','5899275hKKKVq','Yellow','Rare','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Medium','1503963txMTjU','Smooth','Boots','Grey','use','(((.+)+)+)+$','Common','2fKhInU','Unknown','Holy\x20Grail','3210VjKVFi','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','toString','Brown','Tiny','Weapon','search','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','description','LegArmor','Circle'];a55c=function(){return F;};return a55c();}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(0x1d7)],'category':Category[i(0x1e0)],'shape':Shape[i(0x1ee)],'color':Color[i(0x1d4)],'texture':Texture[i(0x1d9)],'rating':Rating[i(0x1de)],'weight':0x1});}['use'](){var j=a55d;return this[j(0x1ea)];}}export class Sword extends Item{constructor(a,b){var k=a55d;super({'name':a,'description':b,'size':Size[k(0x1d7)],'category':Category['Weapon'],'shape':Shape[k(0x1fb)],'color':Color['Grey'],'texture':Texture[k(0x1cc)],'rating':Rating[k(0x1de)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55d;super({'name':a,'description':b,'size':Size[l(0x1fd)],'category':Category[l(0x1e7)],'shape':Shape['Rifle'],'color':Color[l(0x1e5)],'texture':Texture[l(0x1cc)],'rating':Rating[l(0x1d5)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a55d;super({'name':a,'description':b,'size':Size[m(0x1d7)],'category':Category[m(0x1f6)],'shape':Shape[m(0x1ec)],'color':Color['Grey'],'texture':Texture[m(0x1cc)],'rating':Rating['Common'],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55d;super({'name':a,'description':b,'size':Size[n(0x1fd)],'category':Category['BodyArmor'],'shape':Shape[n(0x1ee)],'color':Color[n(0x1db)],'texture':Texture[n(0x1cc)],'rating':Rating[n(0x1de)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[o(0x1eb)],'shape':Shape['Rectangle'],'color':Color[o(0x1db)],'texture':Texture[o(0x1cc)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55d;super({'name':a,'description':b,'size':Size[p(0x1d7)],'category':Category[p(0x1da)],'shape':Shape['Circle'],'color':Color[p(0x1e5)],'texture':Texture['Smooth'],'rating':Rating[p(0x1de)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55d;super({'name':a,'description':b,'size':Size['Small'],'category':Category[q(0x1d0)],'shape':Shape[q(0x1ec)],'color':Color[q(0x1e5)],'texture':Texture[q(0x1d9)],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a55d;super({'name':a,'description':b,'size':Size[r(0x1d7)],'category':Category['ArmArmor'],'shape':Shape['Rectangle'],'color':Color[r(0x1db)],'texture':Texture[r(0x1cc)],'rating':Rating[r(0x1de)],'weight':0x3});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1c8;var f=c[d];return f;},a55d(a,b);}export class Key extends Item{constructor(a,b){var s=a55d;super({'name':a,'description':b,'size':Size[s(0x1e6)],'category':Category['Key'],'shape':Shape['Rectangle'],'color':Color[s(0x1d4)],'texture':Texture[s(0x1d9)],'rating':Rating[s(0x1de)],'weight':0x0});}[a55t(0x1dc)](){var u=a55t;return u(0x1d2);}}export class Weapon extends Item{constructor(a,b){var v=a55t;super({'name':a,'description':b,'size':Size[v(0x1d7)],'category':Category[v(0x1e7)],'shape':Shape[v(0x1fb)],'color':Color[v(0x1db)],'texture':Texture['Metallic'],'rating':Rating[v(0x1de)],'weight':0x3});}[a55t(0x1dc)](){var w=a55t;return w(0x1f2);}}export class Book extends Item{['author'];[a55t(0x1d1)];[a55t(0x1fe)];constructor(a,b=a55t(0x1f9),c='Unknown\x20Author'){var x=a55t;super({'name':a,'description':b,'size':Size[x(0x1d7)],'category':Category[x(0x1f4)],'shape':Shape['Rectangle'],'color':Color[x(0x1e5)],'texture':Texture[x(0x1d9)],'rating':Rating[x(0x1de)],'weight':0x1}),this['author']=c,this['publishDate']=new Date(),this[x(0x1fe)]=0x64;}[a55t(0x1dc)](){var y=a55t;return y(0x1e3);}}export class ShortSword extends Item{constructor(){var z=a55t;super({'name':z(0x1c8),'description':z(0x1e9),'size':Size[z(0x1d7)],'category':Category[z(0x1e7)],'shape':Shape[z(0x1fb)],'color':Color[z(0x1db)],'texture':Texture[z(0x1cc)],'rating':Rating[z(0x1de)],'weight':0x3});}['use'](){var A=a55t;return A(0x1f2);}}export class SniperRifle extends Item{constructor(){var B=a55t;super({'name':B(0x1c9),'description':B(0x1cd),'size':Size[B(0x1fd)],'category':Category['Weapon'],'shape':Shape[B(0x1f5)],'color':Color[B(0x1e5)],'texture':Texture['Smooth'],'rating':Rating[B(0x1de)],'weight':0x5});}[a55t(0x1dc)](){var C=a55t;return C(0x1ce);}}export class HolyGrail extends Item{constructor(){var D=a55t;super({'name':D(0x1e1),'description':D(0x1d6),'size':Size[D(0x1f0)],'category':Category[D(0x1f7)],'shape':Shape[D(0x1ec)],'color':Color[D(0x1fc)],'texture':Texture[D(0x1cc)],'rating':Rating['Legendary'],'weight':0x1});}[a55t(0x1dc)](){var E=a55t;return E(0x1f8)+this[E(0x1cb)]+E(0x1cf);}}