@maka/maka-cli 4.5.52 → 4.6.1

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 (136) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/install.js +1 -0
  73. package/bundle/obf/src/commands/jsdoc.js +1 -1
  74. package/bundle/obf/src/commands/lint.js +1 -1
  75. package/bundle/obf/src/commands/login.js +1 -1
  76. package/bundle/obf/src/commands/logout.js +1 -1
  77. package/bundle/obf/src/commands/logs.js +1 -1
  78. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  79. package/bundle/obf/src/commands/murder.js +1 -1
  80. package/bundle/obf/src/commands/proxy.js +1 -1
  81. package/bundle/obf/src/commands/reconfig.js +1 -1
  82. package/bundle/obf/src/commands/run/_index.js +1 -1
  83. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  84. package/bundle/obf/src/commands/run/run.command.js +1 -1
  85. package/bundle/obf/src/commands/set/_index.js +1 -1
  86. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  88. package/bundle/obf/src/commands/set/set.command.js +1 -1
  89. package/bundle/obf/src/commands/ssh.js +1 -1
  90. package/bundle/obf/src/commands/ssl.js +1 -1
  91. package/bundle/obf/src/commands/test.js +1 -1
  92. package/bundle/obf/src/commands/version.js +1 -1
  93. package/bundle/obf/src/error.js +1 -1
  94. package/bundle/obf/src/exec.js +1 -1
  95. package/bundle/obf/src/generator.js +1 -1
  96. package/bundle/obf/src/generators/_index.js +1 -1
  97. package/bundle/obf/src/generators/api.js +1 -1
  98. package/bundle/obf/src/generators/collection.js +1 -1
  99. package/bundle/obf/src/generators/component.js +1 -1
  100. package/bundle/obf/src/generators/config.js +1 -1
  101. package/bundle/obf/src/generators/dbc.js +1 -1
  102. package/bundle/obf/src/generators/dockerfile.js +1 -1
  103. package/bundle/obf/src/generators/hook.js +1 -1
  104. package/bundle/obf/src/generators/kit.js +1 -1
  105. package/bundle/obf/src/generators/layout.js +1 -1
  106. package/bundle/obf/src/generators/maka.gen.js +1 -1
  107. package/bundle/obf/src/generators/methods.js +1 -1
  108. package/bundle/obf/src/generators/package.js +1 -1
  109. package/bundle/obf/src/generators/page.js +1 -1
  110. package/bundle/obf/src/generators/publish.js +1 -1
  111. package/bundle/obf/src/generators/route.js +1 -1
  112. package/bundle/obf/src/generators/service.js +1 -1
  113. package/bundle/obf/src/generators/services/_index.js +1 -1
  114. package/bundle/obf/src/generators/services/openssl.js +1 -1
  115. package/bundle/obf/src/generators/services/translation.js +1 -1
  116. package/bundle/obf/src/maka.js +1 -1
  117. package/bundle/obf/src/tool.js +1 -1
  118. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  120. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  122. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  124. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  125. package/bundle/obf/src/tools/https/https.class.js +1 -1
  126. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  127. package/bundle/obf/src/tools/https/progress.class.js +1 -0
  128. package/bundle/obf/src/tools/log/log.class.js +1 -1
  129. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/options/options.class.js +1 -1
  131. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  132. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  134. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  136. package/package.json +1 -1
@@ -1 +1 @@
1
- function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x14c;let f=c[d];return f;},a34d(a,b);}const a34h=a34d;function a34c(){const j=['name','logger','33bcpbdK','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','880890CtBHWo','3uTPTEk','4nVLtGe','inventory','84EjOGwV','search','description','1056504YtwJvE','35ErNSZw','\x20found\x20the\x20following\x20items:\x20','279248RUOUiV','14664hGwhpE','listItems','SearchCommand:\x20','actor','2192472vVbJXf','toString','485bJDRnu','join','verb','You\x20search\x20the\x20area\x20and\x20find:\x20','1811cSkkks','constructor','length','write','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','(((.+)+)+)+$','Search\x20for\x20items\x20in\x20your\x20area','136019SPoqoC'];a34c=function(){return j;};return a34c();}(function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0x16c))/0x1*(-parseInt(f(0x159))/0x2)+-parseInt(f(0x158))/0x3*(parseInt(f(0x15e))/0x4)+parseInt(f(0x168))/0x5*(parseInt(f(0x162))/0x6)+parseInt(f(0x15f))/0x7*(parseInt(f(0x161))/0x8)+parseInt(f(0x166))/0x9+parseInt(f(0x157))/0xa*(-parseInt(f(0x155))/0xb)+parseInt(f(0x15b))/0xc*(parseInt(f(0x152))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x31b9c));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const g=a34d;return a34a[g(0x167)]()[g(0x15c)](g(0x150))['toString']()[g(0x14c)](a34a)[g(0x15c)](g(0x150));});a34a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a34h(0x16a)]='search';static [a34h(0x15d)]=a34h(0x151);['execute'](){const i=a34h,a=this[i(0x165)]['currentLocation'][i(0x15a)][i(0x163)]();if(a[i(0x14d)]===0x0)return this[i(0x154)]['write'](i(0x164)+this['actor'][i(0x153)]+i(0x156)),i(0x14f);const b=a[i(0x169)](',\x20');return this['logger'][i(0x14e)](i(0x164)+this[i(0x165)][i(0x153)]+i(0x160)+b),i(0x16b)+b;}}
1
+ const a34i=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0x133))/0x1*(parseInt(f(0x12c))/0x2)+-parseInt(f(0x11f))/0x3+parseInt(f(0x126))/0x4*(-parseInt(f(0x129))/0x5)+-parseInt(f(0x120))/0x6+parseInt(f(0x128))/0x7+-parseInt(f(0x127))/0x8+-parseInt(f(0x130))/0x9*(-parseInt(f(0x12e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x2ff7c));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0x123)]()['search'](h(0x136))['toString']()[h(0x121)](a34a)[h(0x137)]('(((.+)+)+)+$');});function a34c(){const k=['6509142Yhwdnb','SearchCommand:\x20','\x20found\x20the\x20following\x20items:\x20','10667FdFeGi','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','execute','(((.+)+)+)+$','search','name','logger','write','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','478281aTannT','1376346SEDpeq','constructor','verb','toString','currentLocation','listItems','1952RvRffU','1018864PkBbUz','614929VAIwaq','1555MOWhGS','actor','You\x20search\x20the\x20area\x20and\x20find:\x20','10FWVKHR','apply','10zscqOp','length'];a34c=function(){return k;};return a34c();}a34a();import{Command}from'./command.js';function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x11b;let f=c[d];return f;},a34d(a,b);}export class SearchCommand extends Command{static [a34i(0x122)]=a34i(0x137);static ['description']='Search\x20for\x20items\x20in\x20your\x20area';[a34i(0x135)](){const j=a34i,a=this[j(0x12a)][j(0x124)]['inventory'][j(0x125)]();if(a[j(0x12f)]===0x0)return this['logger'][j(0x11d)]('SearchCommand:\x20'+this[j(0x12a)][j(0x11b)]+j(0x11e)),j(0x134);const b=a['join'](',\x20');return this[j(0x11c)]['write'](j(0x131)+this[j(0x12a)][j(0x11b)]+j(0x132)+b),j(0x12b)+b;}}
@@ -1 +1 @@
1
- const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=parseInt(f(0xb5))/0x1+-parseInt(f(0xcc))/0x2*(-parseInt(f(0xbe))/0x3)+-parseInt(f(0xbd))/0x4*(-parseInt(f(0xc2))/0x5)+-parseInt(f(0xd2))/0x6*(parseInt(f(0xb7))/0x7)+-parseInt(f(0xbc))/0x8*(parseInt(f(0xba))/0x9)+-parseInt(f(0xd3))/0xa*(parseInt(f(0xc8))/0xb)+-parseInt(f(0xc3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x48b7f));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0xb6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0xd0)]()[h(0xbf)](h(0xcf))[h(0xd0)]()[h(0xc6)](a35a)[h(0xbf)](h(0xcf));});function a35c(){const k=['description','585NVaHLd','4149324zXjTUp','verb','currentLocation','constructor','join','3388OYxRwl','actor','message','solve','800866kimojo','Attempt\x20to\x20solve\x20a\x20puzzle.','addItem','(((.+)+)+)+$','toString','logger','6JmJsZJ','2350KLxcJG','inventory','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','rewardItem','305859YuRNsR','apply','647353kDRfrZ','puzzle','execute','63iAVxix','SolveCommand:\x20','362968lIDpxB','14352gNYjwS','3kRpJLA','search','write'];a35c=function(){return k;};return a35c();}a35a();import{Command}from'./command.js';function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0xb4;let f=c[d];return f;},a35d(a,b);}export class SolveCommand extends Command{static [a35i(0xc4)]=a35i(0xcb);static [a35i(0xc1)]=a35i(0xcd);[a35i(0xb9)](a){const j=a35i,b=a[j(0xc7)]('\x20')['toLowerCase'](),c=this[j(0xc9)][j(0xc5)];if(!c||!c[j(0xb8)])return this['logger'][j(0xc0)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0xd5);const d=c[j(0xb8)][j(0xcb)](b,this[j(0xc9)][j(0xd4)]);return d['success']&&c[j(0xb8)][j(0xb4)]&&this[j(0xc9)]['inventory'][j(0xce)](c[j(0xb8)][j(0xb4)]),this[j(0xd1)][j(0xc0)](j(0xbb)+d[j(0xca)]),d[j(0xca)];}}
1
+ const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x111))/0x1*(parseInt(f(0x10c))/0x2)+-parseInt(f(0x106))/0x3+parseInt(f(0x10d))/0x4*(-parseInt(f(0x107))/0x5)+-parseInt(f(0x124))/0x6+parseInt(f(0x10b))/0x7+parseInt(f(0x115))/0x8+-parseInt(f(0x11c))/0x9*(-parseInt(f(0x121))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xe1705));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x114)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x109)]()[h(0x11e)](h(0x119))[h(0x109)]()['constructor'](a35a)[h(0x11e)](h(0x119));});a35a();function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x105;let f=c[d];return f;},a35d(a,b);}import{Command}from'./command.js';function a35c(){const k=['message','apply','11960608UcgTUB','puzzle','Attempt\x20to\x20solve\x20a\x20puzzle.','addItem','(((.+)+)+)+$','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','inventory','909GyGJZR','toLowerCase','search','execute','write','133670hjrruR','SolveCommand:\x20','description','8144124ZFplJW','verb','2905221tjXKEO','10oEjumC','success','toString','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','7378217sKhtmO','143556Umbhqv','582252kumntu','actor','join','rewardItem','5octmnT','logger'];a35c=function(){return k;};return a35c();}export class SolveCommand extends Command{static [a35i(0x105)]='solve';static [a35i(0x123)]=a35i(0x117);[a35i(0x11f)](a){const j=a35i,b=a[j(0x10f)]('\x20')[j(0x11d)](),c=this[j(0x10e)]['currentLocation'];if(!c||!c[j(0x116)])return this[j(0x112)][j(0x120)](j(0x11a)),j(0x10a);const d=c[j(0x116)]['solve'](b,this[j(0x10e)][j(0x11b)]);return d[j(0x108)]&&c[j(0x116)][j(0x110)]&&this[j(0x10e)][j(0x11b)][j(0x118)](c[j(0x116)][j(0x110)]),this['logger'][j(0x120)](j(0x122)+d[j(0x113)]),d['message'];}}
@@ -1 +1 @@
1
- const a36h=a36d;function a36c(){const k=['13203316OxJTvq','(((.+)+)+)+$','249576Nzbvte','name','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','join','write','actor','20619ncRqcn','\x22\x20from\x20','verb','1510vWZVsw','13sLOmVP','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x20during\x20\x27Take\x27\x20command.','2262AjDtCk','22259LSTkqk','Successfully\x20removed\x20\x22','removeItem','3470vwGeDC','Error\x20during\x20\x27Take\x27\x20command:\x20','292nzOfSi','2eTWEUJ','\x22\x20in\x20this\x20room.','The\x20item\x20\x22','logger','49FUIXId','9621KPFTQa','take','11pQrbpl','toString','search','Item\x20\x22','1229244KKrwma','\x22\x20to\x20','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','inventory','\x22\x20not\x20retrieved\x20from\x20','execute','message','description','You\x20have\x20taken\x20the\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'];a36c=function(){return k;};return a36c();}(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0x167))/0x1*(-parseInt(f(0x142))/0x2)+-parseInt(f(0x147))/0x3*(parseInt(f(0x141))/0x4)+-parseInt(f(0x13f))/0x5*(parseInt(f(0x166))/0x6)+parseInt(f(0x146))/0x7*(parseInt(f(0x159))/0x8)+parseInt(f(0x15f))/0x9*(-parseInt(f(0x162))/0xa)+-parseInt(f(0x149))/0xb*(parseInt(f(0x14d))/0xc)+-parseInt(f(0x163))/0xd*(-parseInt(f(0x157))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x3a7f5));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const g=a36d;return a36a['toString']()['search'](g(0x158))[g(0x14a)]()['constructor'](a36a)[g(0x14b)]('(((.+)+)+)+$');});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x13d;let f=c[d];return f;},a36d(a,b);}a36a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a36h(0x161)]=a36h(0x148);static [a36h(0x154)]='Pick\x20up\x20an\x20item.';[a36h(0x152)](a){const i=a36h;return this['logger'][i(0x15d)](i(0x14f)+a[i(0x15c)]('\x20')),this['take'](a);}[a36h(0x148)](a){const j=a36h,b=a[j(0x15c)]('\x20')['toLowerCase'](),c=this['actor']['currentLocation'];if(!c[j(0x150)]['hasItem'](b))return this[j(0x145)][j(0x15d)](j(0x14c)+b+'\x22\x20not\x20found\x20in\x20'+c[j(0x15a)]+j(0x165)),'There\x20is\x20no\x20item\x20\x22'+b+j(0x143);const d=c[j(0x150)]['getItem'](b);if(!d)return this[j(0x145)][j(0x15d)](j(0x14c)+b+j(0x151)+c[j(0x15a)]+j(0x156)),'There\x20is\x20no\x20item\x20\x22'+b+j(0x143);try{return this[j(0x15e)]['addInventory'](d),this[j(0x145)][j(0x15d)]('Successfully\x20added\x20\x22'+b+j(0x14e)+this[j(0x15e)]['name']+j(0x15b)),c[j(0x150)][j(0x13e)](b),this[j(0x145)][j(0x15d)](j(0x13d)+b+j(0x160)+c[j(0x15a)]+j(0x156)),j(0x155)+b+'.';}catch(e){return this[j(0x145)]['write'](j(0x140)+e[j(0x153)]),j(0x144)+b+j(0x164);}}}
1
+ const a36i=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0x1ff))/0x1*(parseInt(f(0x1d7))/0x2)+-parseInt(f(0x1ec))/0x3*(parseInt(f(0x1df))/0x4)+-parseInt(f(0x1f0))/0x5+-parseInt(f(0x1d9))/0x6*(-parseInt(f(0x202))/0x7)+parseInt(f(0x203))/0x8*(parseInt(f(0x1f6))/0x9)+parseInt(f(0x1e7))/0xa+-parseInt(f(0x1ee))/0xb*(-parseInt(f(0x1f4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x8b96d));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a36d;if(c){const e=c[g(0x1e1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a['toString']()[h(0x1f1)]('(((.+)+)+)+$')[h(0x1e9)]()[h(0x1eb)](a36a)[h(0x1f1)](h(0x1f3));});a36a();function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a36d(a,b);}import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a36i(0x1f9);static [a36i(0x1fa)]=a36i(0x204);['execute'](a){const j=a36i;return this[j(0x1de)][j(0x1db)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x1e2)]('\x20')),this[j(0x1f9)](a);}[a36i(0x1f9)](a){const k=a36i,b=a[k(0x1e2)]('\x20')[k(0x1da)](),c=this[k(0x200)][k(0x1e0)];if(!c['inventory'][k(0x1e8)](b))return this[k(0x1de)][k(0x1db)]('Item\x20\x22'+b+k(0x1f7)+c[k(0x1ef)]+k(0x1f5)),k(0x1d8)+b+k(0x1e5);const d=c[k(0x1dd)][k(0x1f8)](b);if(!d)return this[k(0x1de)][k(0x1db)](k(0x1ea)+b+k(0x1fb)+c[k(0x1ef)]+k(0x1ed)),k(0x1d8)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0x200)]['addInventory'](d),this[k(0x1de)]['write'](k(0x1f2)+b+'\x22\x20to\x20'+this[k(0x200)][k(0x1ef)]+k(0x1e3)),c[k(0x1dd)][k(0x1fc)](b),this[k(0x1de)][k(0x1db)](k(0x201)+b+k(0x1e6)+c[k(0x1ef)]+k(0x1ed)),k(0x1fd)+b+'.';}catch(e){return this[k(0x1de)][k(0x1db)](k(0x1dc)+e[k(0x1fe)]),k(0x1e4)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}function a36c(){const l=['toString','Item\x20\x22','constructor','22473URalMs','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','1001NjyIng','name','1784045vtFLBh','search','Successfully\x20added\x20\x22','(((.+)+)+)+$','135120rWOvDG','\x20during\x20\x27Take\x27\x20command.','153KrEufh','\x22\x20not\x20found\x20in\x20','getItem','take','description','\x22\x20not\x20retrieved\x20from\x20','removeItem','You\x20have\x20taken\x20the\x20','message','24hSAWVD','actor','Successfully\x20removed\x20\x22','1278837VOAjVF','96296LfYBZu','Pick\x20up\x20an\x20item.','65356zhLoTp','There\x20is\x20no\x20item\x20\x22','18nMMmMl','toLowerCase','write','Error\x20during\x20\x27Take\x27\x20command:\x20','inventory','logger','472gIYIpL','currentLocation','apply','join','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','The\x20item\x20\x22','\x22\x20in\x20this\x20room.','\x22\x20from\x20','8194140lwjbWQ','hasItem'];a36c=function(){return l;};return a36c();}
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0xc6))/0x1+parseInt(f(0xd2))/0x2+-parseInt(f(0xcf))/0x3+-parseInt(f(0xd0))/0x4+-parseInt(f(0xd5))/0x5*(-parseInt(f(0xc9))/0x6)+-parseInt(f(0xc4))/0x7+-parseInt(f(0xd1))/0x8*(-parseInt(f(0xcc))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x7d38c));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xc3;let f=c[d];return f;},a37d(a,b);}function a37c(){const k=['914504PhEwvs','search','join','15AahmJd','Unequip\x20an\x20item.','toString','actor','\x20unqeuiped\x20','toLowerCase','3679956NAOaIV','verb','1005315FqeWju','apply','write','1142874NmUYql','execute','unqeuip','26399862oxZdbi','description','(((.+)+)+)+$','2789970TbXzWM','3952344ieKHzJ','8XVGnyE'];a37c=function(){return k;};return a37c();}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xc7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xd7)]()[h(0xd3)](h(0xce))[h(0xd7)]()['constructor'](a37a)[h(0xd3)](h(0xce));});a37a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a37i(0xc5)]=a37i(0xcb);static [a37i(0xcd)]=a37i(0xd6);[a37i(0xca)](a){const j=a37i,b=a[j(0xd4)]('\x20')[j(0xc3)](),c=this['actor']['unequip'](b);return this['logger'][j(0xc8)]('UnequipCommand:\x20'+this[j(0xd8)]['name']+j(0xd9)+c),c;}}
1
+ const a37i=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xdc;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0xf1))/0x1+parseInt(f(0xdd))/0x2+-parseInt(f(0xe5))/0x3*(parseInt(f(0xf3))/0x4)+-parseInt(f(0xe4))/0x5+-parseInt(f(0xdf))/0x6*(-parseInt(f(0xe1))/0x7)+-parseInt(f(0xf2))/0x8*(-parseInt(f(0xe0))/0x9)+-parseInt(f(0xf5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x3b4a4));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xe2)]()['search']('(((.+)+)+)+$')[h(0xe2)]()[h(0xec)](a37a)[h(0xeb)](h(0xe3));});a37a();import{Command}from'./command.js';function a37c(){const k=['toString','(((.+)+)+)+$','420245vruCEp','93FJzngr','apply','actor','Unequip\x20an\x20item.','unqeuip','execute','search','constructor','name','write','unequip','UnequipCommand:\x20','248696iCACVl','2721920RYSDwF','19500JxVziN','logger','2994770ClNbKb','verb','description','564442pdGmcY','\x20unqeuiped\x20','41766pvHiaM','9SEduAX','406MRNpsm'];a37c=function(){return k;};return a37c();}export class UnequipCommand extends Command{static [a37i(0xf6)]=a37i(0xe9);static [a37i(0xdc)]=a37i(0xe8);[a37i(0xea)](a){const j=a37i,b=a['join']('\x20')['toLowerCase'](),c=this[j(0xe7)][j(0xef)](b);return this[j(0xf4)][j(0xee)](j(0xf0)+this[j(0xe7)][j(0xed)]+j(0xde)+c),c;}}
@@ -1 +1 @@
1
- const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x92))/0x1*(parseInt(h(0xa6))/0x2)+-parseInt(h(0x95))/0x3*(-parseInt(h(0xaf))/0x4)+parseInt(h(0x8c))/0x5+-parseInt(h(0xaa))/0x6*(parseInt(h(0xa1))/0x7)+-parseInt(h(0x87))/0x8+parseInt(h(0xa8))/0x9+parseInt(h(0x91))/0xa*(parseInt(h(0x99))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xbed8f));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a['toString']()[j(0x85)](j(0x97))['toString']()[j(0xab)](a38a)[j(0x85)](j(0x97));});a38a();import{Door}from'../models/door.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x83;let f=c[d];return f;},a38d(a,b);}function a38c(){const m=['logger','currentLocation','3729440dYJXVA','write','getItem','description','\x20is\x20attempted\x20to\x20unlock\x20','140KxuyBx','451841wWBfBO','get','hasItem','3KVMkiE','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','(((.+)+)+)+$','Unlock\x20a\x20door.','1201849NiSHTo','isValidDirection','error','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','has','toLowerCase','name','actor','14WYaUaz','unlock','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','inventory','exits','6yDwHhs','length','674460WPXgIg','attemptUnlockExit','2853948OYUSJK','constructor','UnlockCommand:\x20No\x20target\x20specified.','There\x27s\x20no\x20door\x20named\x20\x22','execute','6107540cYhPHn','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','unlockItemOrSolution','apply','search','.\x20Result:\x20','6310312jIOymF','UnlockCommand:\x20','\x22\x20here.'];a38c=function(){return m;};return a38c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']=a38k(0xa2);static [a38k(0x8f)]=a38k(0x98);[a38k(0xae)](a){return this['unlock'](a);}[a38k(0xa2)](a){const l=a38k;if(a[l(0xa7)]===0x0)return this[l(0x8a)][l(0x9b)](l(0xac)),l(0x96);const b=a[0x0][l(0x9e)](),c=this[l(0xa0)][l(0x8b)];if(this[l(0x9a)](b)&&c[l(0xa5)][l(0x9d)](b)){const d=c['exits'][l(0x93)](b);if(d instanceof Door){const e=d[l(0x83)]?.[l(0x9e)]();if(e&&this['actor'][l(0xa4)][l(0x94)](e)){const f=this['actor']['inventory'][l(0x8e)](e);if(f){const g=c[l(0xa9)](b,f[l(0x9f)]);return this['logger'][l(0x8d)](l(0x88)+this[l(0xa0)][l(0x9f)]+l(0x90)+b+l(0x86)+g),g;}}return this[l(0x8a)][l(0x8d)]('UnlockCommand:\x20'+this[l(0xa0)][l(0x9f)]+l(0xa3)+b+'.'),l(0xb0);}else return this[l(0x8a)][l(0x8d)]('UnlockCommand:\x20'+b+l(0x9c)+c[l(0x9f)]+'.'),l(0xad)+b+l(0x89);}else return this[l(0x8a)][l(0x8d)](l(0x88)+b+l(0x9c)+c[l(0x9f)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0x89);}}
1
+ function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x182;let f=c[d];return f;},a38d(a,b);}const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0x18d))/0x1+parseInt(h(0x189))/0x2*(-parseInt(h(0x194))/0x3)+parseInt(h(0x18a))/0x4+parseInt(h(0x183))/0x5+parseInt(h(0x19d))/0x6*(parseInt(h(0x1a8))/0x7)+parseInt(h(0x198))/0x8*(parseInt(h(0x18c))/0x9)+-parseInt(h(0x1a0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x1f742));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x187)]()['search'](j(0x192))['toString']()[j(0x195)](a38a)[j(0x1a4)](j(0x192));});a38a();import{Door}from'../models/door.js';function a38c(){const m=['attemptUnlockExit','unlock','1436576pcjoYB','apply','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','unlockItemOrSolution','934914bxGGME','name','get','3536150ikQdKb','description','length','hasItem','search','toLowerCase','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','logger','7LdhIPc','actor','currentLocation','error','946220siEQCQ','verb','inventory','UnlockCommand:\x20','toString','isValidDirection','219196pIwkCo','174084bzubfN','getItem','9fmFvZl','23891JPEhbW','write','Unlock\x20a\x20door.','There\x27s\x20no\x20door\x20named\x20\x22','exits','(((.+)+)+)+$','UnlockCommand:\x20No\x20target\x20specified.','3qtRELk','constructor'];a38c=function(){return m;};return a38c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a38k(0x184)]=a38k(0x197);static [a38k(0x1a1)]=a38k(0x18f);['execute'](a){return this['unlock'](a);}[a38k(0x197)](a){const l=a38k;if(a[l(0x1a2)]===0x0)return this[l(0x1a7)][l(0x182)](l(0x193)),l(0x1a6);const b=a[0x0][l(0x1a5)](),c=this['actor'][l(0x1aa)];if(this[l(0x188)](b)&&c[l(0x191)]['has'](b)){const d=c[l(0x191)][l(0x19f)](b);if(d instanceof Door){const e=d[l(0x19c)]?.[l(0x1a5)]();if(e&&this[l(0x1a9)][l(0x185)][l(0x1a3)](e)){const f=this[l(0x1a9)][l(0x185)][l(0x18b)](e);if(f){const g=c[l(0x196)](b,f[l(0x19e)]);return this[l(0x1a7)]['write'](l(0x186)+this[l(0x1a9)]['name']+'\x20is\x20attempted\x20to\x20unlock\x20'+b+'.\x20Result:\x20'+g),g;}}return this[l(0x1a7)][l(0x18e)](l(0x186)+this[l(0x1a9)][l(0x19e)]+l(0x19b)+b+'.'),l(0x19a);}else return this[l(0x1a7)][l(0x18e)]('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x19e)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}else return this[l(0x1a7)]['write'](l(0x186)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x19e)]+'.'),l(0x190)+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0xba))/0x1*(-parseInt(f(0xb3))/0x2)+parseInt(f(0xcc))/0x3+parseInt(f(0xc1))/0x4+-parseInt(f(0xc5))/0x5+parseInt(f(0xbf))/0x6+parseInt(f(0xb0))/0x7+-parseInt(f(0xb5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x2dca8));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()['search'](h(0xb8))[h(0xc0)]()['constructor'](a39a)[h(0xbe)](h(0xb8));});a39a();function a39c(){const l=['toLowerCase','hasItem','You\x20don\x27t\x20have\x20the\x20','\x20in\x20this\x20way.','1411851eUJhdl','UseCommand:\x20','verb','2XdwEhw','Use\x20an\x20item.','1761296KygvEZ','\x20to\x20use.',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','(((.+)+)+)+$','apply','205382rCNzQK','\x27s\x20inventory.','actor','\x20used\x20','search','376482TRyTBX','toString','426476MyVMro','join','\x20attempted\x20to\x20use\x20','write','434620OUzhdf','inventory','logger','name','function','You\x20can\x27t\x20use\x20the\x20','use','986907gajTdI'];a39c=function(){return l;};return a39c();}import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xac;let f=c[d];return f;},a39d(a,b);}export class UseCommand extends Command{static [a39i(0xb2)]=a39i(0xcb);static ['description']=a39i(0xb4);['execute'](a){const j=a39i;return this[j(0xcb)](a);}[a39i(0xcb)](a){const k=a39i,b=a[k(0xc2)]('\x20')[k(0xac)]();if(!this['actor'][k(0xc6)][k(0xad)](b))return this[k(0xc7)][k(0xc4)](k(0xb1)+this[k(0xbc)][k(0xc8)]+k(0xc3)+b+k(0xb7)),k(0xae)+b+k(0xb6);const c=this['actor'][k(0xc6)]['getItem'](b);if(!c)return this[k(0xc7)][k(0xc4)](k(0xb1)+b+'\x20not\x20retrieved\x20from\x20'+this[k(0xbc)]['name']+k(0xbb)),k(0xae)+b+k(0xb6);if(typeof c[k(0xcb)]===k(0xc9)){const d=c[k(0xcb)]();return this[k(0xc7)][k(0xc4)](k(0xb1)+this[k(0xbc)]['name']+k(0xbd)+b+'.'),d;}else return this['logger'][k(0xc4)](k(0xb1)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),k(0xca)+b+k(0xaf);}}
1
+ const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x9a))/0x1+parseInt(f(0x99))/0x2+parseInt(f(0x88))/0x3*(parseInt(f(0x90))/0x4)+-parseInt(f(0x80))/0x5+parseInt(f(0x83))/0x6*(parseInt(f(0x8a))/0x7)+-parseInt(f(0x92))/0x8+parseInt(f(0x8c))/0x9*(-parseInt(f(0x9e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x5ff16));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x7e;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const g=a39d;return a39a[g(0x81)]()[g(0x9d)](g(0x84))[g(0x81)]()[g(0xa0)](a39a)['search'](g(0x84));});a39a();import{Command}from'./command.js';function a39c(){const k=['\x27s\x20inventory.','\x20to\x20use.','UseCommand:\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','625110OdbyZE','toString','actor','318sfMGsd','(((.+)+)+)+$','use','toLowerCase','\x20used\x20','104172FLGFZZ','join','80423BQVyux','\x20not\x20retrieved\x20from\x20','29655ofaAMw','write','logger','function','80pYYvWC','name','2366136QkMLzN','description','You\x20don\x27t\x20have\x20the\x20','execute','inventory','getItem','hasItem','626828PMtzEc','149215DbSwTh','\x20in\x20this\x20way.','\x20doesn\x27t\x20have\x20a\x20use\x20method.','search','2890sImvBJ','Use\x20an\x20item.','constructor'];a39c=function(){return k;};return a39c();}export class UseCommand extends Command{static ['verb']=a39h(0x85);static [a39h(0x93)]=a39h(0x9f);[a39h(0x95)](a){const i=a39h;return this[i(0x85)](a);}[a39h(0x85)](a){const j=a39h,b=a[j(0x89)]('\x20')[j(0x86)]();if(!this['actor'][j(0x96)][j(0x98)](b))return this[j(0x8e)][j(0x8d)]('UseCommand:\x20'+this[j(0x82)]['name']+'\x20attempted\x20to\x20use\x20'+b+j(0x7f)),j(0x94)+b+'\x20to\x20use.';const c=this['actor']['inventory'][j(0x97)](b);if(!c)return this[j(0x8e)][j(0x8d)]('UseCommand:\x20'+b+j(0x8b)+this[j(0x82)]['name']+j(0xa1)),j(0x94)+b+j(0xa2);if(typeof c[j(0x85)]===j(0x8f)){const d=c['use']();return this[j(0x8e)][j(0x8d)](j(0x7e)+this[j(0x82)][j(0x91)]+j(0x87)+b+'.'),d;}else return this[j(0x8e)][j(0x8d)](j(0x7e)+b+j(0x9c)),'You\x20can\x27t\x20use\x20the\x20'+b+j(0x9b);}}
@@ -1 +1 @@
1
- function a40c(){const l=['commandMap','search','(((.+)+)+)+$','91008ikcSFs','registerCommand','createCommand','apply','268696GSrTtR','44BoGiFt','6wQIQQj','6377608NgLEGF','7OFSSzE','4470axvvWm','15291sYbwPp','20847528wmJDYF','332268MhJRBQ','8shbZXt','989635DjTUSB','toString','constructor','getAllRegisteredCommands','1804gGdTtz'];a40c=function(){return l;};return a40c();}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1c4))/0x1*(-parseInt(f(0x1bb))/0x2)+-parseInt(f(0x1c3))/0x3*(parseInt(f(0x1bc))/0x4)+parseInt(f(0x1c5))/0x5*(parseInt(f(0x1bd))/0x6)+parseInt(f(0x1bf))/0x7*(parseInt(f(0x1be))/0x8)+parseInt(f(0x1c1))/0x9*(-parseInt(f(0x1c0))/0xa)+parseInt(f(0x1c9))/0xb*(parseInt(f(0x1cd))/0xc)+parseInt(f(0x1c2))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xc0df7));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1ba;let f=c[d];return f;},a40d(a,b);}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1c6)]()[h(0x1cb)](h(0x1cc))['toString']()[h(0x1c7)](a40a)[h(0x1cb)](h(0x1cc));});a40a();export class CommandFactory{static [a40i(0x1ca)]={};static[a40i(0x1ce)](a,b){this['commandMap'][a]=b;}static[a40i(0x1cf)](a,b){const j=a40i,c=this[j(0x1ca)][a];if(c)return new c(b);return null;}static[a40i(0x1c8)](){const k=a40i;return this[k(0x1ca)];}}
1
+ const a40i=a40d;function a40c(){const k=['2578465JTXExa','commandMap','apply','getAllRegisteredCommands','(((.+)+)+)+$','1099960fPQhOM','220IbJSSZ','69povigS','151868OXPCZs','registerCommand','4442IcAeYj','415ErHJCz','12UQEbaS','6128vnAwDW','constructor','7101qSXQEz','8851409JHFxaN','search','toString','171444ZTbnTz'];a40c=function(){return k;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x12c))/0x1*(parseInt(f(0x12b))/0x2)+parseInt(f(0x13c))/0x3*(-parseInt(f(0x13d))/0x4)+parseInt(f(0x135))/0x5*(-parseInt(f(0x12d))/0x6)+parseInt(f(0x131))/0x7+parseInt(f(0x12e))/0x8*(parseInt(f(0x130))/0x9)+parseInt(f(0x13a))/0xa+-parseInt(f(0x13b))/0xb*(parseInt(f(0x134))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xad63d));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x12a;let f=c[d];return f;},a40d(a,b);}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x133)]()[h(0x132)](h(0x139))[h(0x133)]()[h(0x12f)](a40a)[h(0x132)]('(((.+)+)+)+$');});a40a();export class CommandFactory{static [a40i(0x136)]={};static[a40i(0x12a)](a,b){const j=a40i;this[j(0x136)][a]=b;}static['createCommand'](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a40i(0x138)](){return this['commandMap'];}}
@@ -1 +1 @@
1
- const a41l=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0xfb))/0x1+-parseInt(f(0x117))/0x2*(-parseInt(f(0x10e))/0x3)+parseInt(f(0xf9))/0x4+-parseInt(f(0x113))/0x5+-parseInt(f(0x109))/0x6*(-parseInt(f(0xf7))/0x7)+parseInt(f(0x101))/0x8*(-parseInt(f(0xfa))/0x9)+-parseInt(f(0x102))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x186bc));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0xf2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x103)]()['search']('(((.+)+)+)+$')[h(0x103)]()[h(0xff)](a41a)[h(0x106)](h(0xf1));});a41a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xf1;let f=c[d];return f;},a41d(a,b);}function a41c(){const o=['rewardItem','INSIDE','sword','bodyarmor','7UeVTFX','createPuzzle','744960oJlQNW','143199euDXMA','29206pHhSAs','inventory','toUpperCase','helmet','constructor','roomType','40IsEXWD','3631760izopmr','toString','book','key','search','items','boots','1026156uLCWzZ','type','name','setPuzzle','description','27399Uyjchy','puzzle','legarmor','content','forEach','86200iwtCZb','createItem','rifle','convertToRoomConfig','38DCXsas','(((.+)+)+)+$','apply'];a41c=function(){return o;};return a41c();}import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const i=a41d,b=this[i(0x116)](a),c=new Room(b);if(a[i(0x107)]){const d=new Inventory();a[i(0x107)][i(0x112)](e=>{const j=i;d['addItem'](this[j(0x114)](e));}),c[i(0xfc)]=d;}return a[i(0x10f)]&&c[i(0x10c)](this['createPuzzle'](a[i(0x10f)])),c;}['createItem'](a){const k=a41d;switch(a[k(0x10a)]){case k(0x105):return new Key(a['name'],a[k(0x10d)]);case k(0x104):return new Book(a[k(0x10b)],a[k(0x10d)],a[k(0x111)]);case k(0xf5):return new Sword(a[k(0x10b)],a[k(0x10d)]);case k(0x115):return new Rifle(a[k(0x10b)],a[k(0x10d)]);case k(0xfe):return new Helmet(a['name'],a['description']);case k(0xf6):return new BodyArmor(a['name'],a[k(0x10d)]);case k(0x110):return new LegArmor(a[k(0x10b)],a[k(0x10d)]);case k(0x108):return new Boots(a[k(0x10b)],a[k(0x10d)]);case'gloves':return new Gloves(a[k(0x10b)],a[k(0x10d)]);case'gauntlets':return new Gauntlets(a['name'],a[k(0x10d)]);default:return new BasicItem(a['name'],a['description']);}}[a41l(0xf8)](a){const m=a41l,b=this[m(0x114)](a[m(0xf3)]);return new Puzzle({...a,'rewardItem':b});}[a41l(0x116)](a){const n=a41l,b=a[n(0x100)]&&RoomType[a[n(0x100)][n(0xfd)]()]?RoomType[a[n(0x100)][n(0xfd)]()]:RoomType[n(0xf4)];return{'name':a['name'],'description':a[n(0x10d)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
1
+ const a41h=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0xfa))/0x1*(-parseInt(f(0x106))/0x2)+parseInt(f(0xeb))/0x3*(parseInt(f(0x100))/0x4)+parseInt(f(0x105))/0x5+parseInt(f(0x104))/0x6+parseInt(f(0xee))/0x7+-parseInt(f(0x107))/0x8*(parseInt(f(0xf4))/0x9)+-parseInt(f(0xfd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xcb118));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xe5;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const g=a41d;return a41a[g(0xfe)]()['search'](g(0xff))[g(0xfe)]()[g(0xe5)](a41a)['search'](g(0xff));});a41a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a41c(){const n=['addItem','521113VtfmuI','type','inventory','24462270WnwbGW','toString','(((.+)+)+)+$','459564aOgZaC','rifle','book','toUpperCase','5971098hSEKRZ','4501435vvNuJA','2KJiUZS','961512TVimHR','description','constructor','isStartRoom','sword','gauntlets','gloves','convertToRoomConfig','21sLKNqS','bodyarmor','createItem','11061099tsTsyi','roomType','name','boots','content','createRoom','36XkTxDI','legarmor','forEach','setPuzzle','puzzle'];a41c=function(){return n;};return a41c();}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{[a41h(0xf3)](a){const i=a41h,b=this[i(0xea)](a),c=new Room(b);if(a['items']){const d=new Inventory();a['items'][i(0xf6)](e=>{const j=i;d[j(0xf9)](this[j(0xed)](e));}),c[i(0xfc)]=d;}return a[i(0xf8)]&&c[i(0xf7)](this['createPuzzle'](a[i(0xf8)])),c;}[a41h(0xed)](a){const k=a41h;switch(a[k(0xfb)]){case'key':return new Key(a['name'],a[k(0x108)]);case k(0x102):return new Book(a['name'],a[k(0x108)],a[k(0xf2)]);case k(0xe7):return new Sword(a[k(0xf0)],a['description']);case k(0x101):return new Rifle(a[k(0xf0)],a[k(0x108)]);case'helmet':return new Helmet(a[k(0xf0)],a[k(0x108)]);case k(0xec):return new BodyArmor(a[k(0xf0)],a[k(0x108)]);case k(0xf5):return new LegArmor(a['name'],a[k(0x108)]);case k(0xf1):return new Boots(a[k(0xf0)],a[k(0x108)]);case k(0xe9):return new Gloves(a[k(0xf0)],a[k(0x108)]);case k(0xe8):return new Gauntlets(a['name'],a[k(0x108)]);default:return new BasicItem(a[k(0xf0)],a['description']);}}['createPuzzle'](a){const l=a41h,b=this[l(0xed)](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a41h(0xea)](a){const m=a41h,b=a[m(0xef)]&&RoomType[a[m(0xef)][m(0x103)]()]?RoomType[a[m(0xef)][m(0x103)]()]:RoomType['INSIDE'];return{'name':a['name'],'description':a[m(0x108)],'isStartRoom':a[m(0xe6)],'roomType':b};}}
@@ -1 +1 @@
1
- const a42k=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=parseInt(h(0xbd))/0x1+parseInt(h(0x8b))/0x2*(parseInt(h(0x94))/0x3)+-parseInt(h(0x9a))/0x4*(-parseInt(h(0x91))/0x5)+-parseInt(h(0x8c))/0x6+parseInt(h(0xbb))/0x7+parseInt(h(0x96))/0x8+parseInt(h(0xb1))/0x9*(-parseInt(h(0xb5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x1dda7));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a42d;if(c){const e=c[i(0xae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const j=a42d;return a42a[j(0xba)]()[j(0x90)](j(0xac))[j(0xba)]()[j(0x97)](a42a)[j(0x90)](j(0xac));});a42a();import{Scene}from'./models/scene.js';function a42c(){const s=['drop','22956ZiqcVo','719904ClcRzm','getWelcomeMessage','scene','currentRoom','search','5HwYQrN','help','getAllRegisteredCommands','3VxGpaV','player','197720WZBrzg','constructor','use','hasOwnProperty','693068MJTGfE','unequip','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','getInstance','quit','unlock','toLowerCase','initialize','currentLocation','instance','determineStartRoom','getRooms','split','clear','rooms','-\x20clear:\x20Clear\x20the\x20screen.\x0a','execute','equip','(((.+)+)+)+$','look','apply','createCommand','Welcome,\x20','675uOvABQ','name','-\x20quit:\x20Exit\x20the\x20game.\x0a','registerCommands','26710xvZmkd','registerCommand','Available\x20Commands:\x0a','maka','getDescription','toString','767081RPOjKq','getHelpMessage','123545ketYeb'];a42c=function(){return s;};return a42c();}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 a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x8a;let f=c[d];return f;},a42d(a,b);}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];['scene'];[a42k(0x95)];[a42k(0x8f)];[a42k(0xa8)];constructor(a,b){const l=a42k;this[l(0x95)]=a,this[l(0x8e)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x8e)][l(0xa1)](),this['player'][l(0xa2)]=this[l(0xa4)](),this[l(0xb4)]();}[a42k(0xb4)](){const m=a42k;CommandFactory['registerCommand'](m(0xad),LookCommand),CommandFactory[m(0xb6)]('go',GoCommand),CommandFactory[m(0xb6)]('take',TakeCommand),CommandFactory[m(0xb6)](m(0x98),UseCommand),CommandFactory['registerCommand'](m(0xab),EquipCommand),CommandFactory[m(0xb6)](m(0x9b),UnequipCommand),CommandFactory[m(0xb6)]('solve',SolveCommand),CommandFactory['registerCommand'](m(0x8a),DropCommand),CommandFactory['registerCommand'](m(0x9f),UnlockCommand),CommandFactory['registerCommand']('lock',LockCommand),CommandFactory[m(0xb6)](m(0x90),SearchCommand),CommandFactory[m(0xb6)]('say',SayCommand);}[a42k(0xa4)](){const n=a42k;return this['scene'][n(0xa4)]();}[a42k(0x8d)](){const o=a42k;return o(0xb0)+this[o(0x95)][o(0xb2)];}static[a42k(0x9d)](a,b){const p=a42k;return!Game[p(0xa3)]&&(Game[p(0xa3)]=new Game(a,b)),Game[p(0xa3)];}['handleInput'](a){const q=a42k,b=a['trim']()[q(0xa6)]('\x20'),c=b[0x0][q(0xa0)](),d=b['slice'](0x1);if(c===q(0x9e))return null;if(c===q(0xb8))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0x92))return this['getHelpMessage']();if(c===q(0xa7))return'';const e={'actor':this[q(0x95)],'rooms':this[q(0x8e)][q(0xa5)](),'scene':this[q(0x8e)]},f=CommandFactory[q(0xaf)](c,e);if(f){const g=f[q(0xaa)](d);return g;}return q(0x9c)+c+'\x22.';}[a42k(0xbc)](){const r=a42k,a=CommandFactory[r(0x93)]();let b=r(0xb7);for(const c in a){if(a[r(0x99)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xb9)]()+'\x0a';}}return b+=r(0xa9),b+=r(0xb3),b;}}
1
+ const a42k=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=parseInt(h(0xe7))/0x1*(parseInt(h(0xfb))/0x2)+-parseInt(h(0xe4))/0x3*(parseInt(h(0x101))/0x4)+parseInt(h(0xee))/0x5+-parseInt(h(0x107))/0x6+-parseInt(h(0xed))/0x7*(parseInt(h(0xf3))/0x8)+parseInt(h(0xf9))/0x9+-parseInt(h(0xe9))/0xa*(-parseInt(h(0xe2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xaa509));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a42d;if(c){const e=c[i(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const j=a42d;return a42a[j(0x104)]()[j(0xdf)]('(((.+)+)+)+$')['toString']()[j(0xdc)](a42a)[j(0xdf)](j(0xef));});a42a();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 a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xd9;let f=c[d];return f;},a42d(a,b);}function a42c(){const s=['use','determineStartRoom','player','constructor','createCommand','apply','search','lock','hasOwnProperty','583ZkCXGy','equip','852177JAWqCq','trim','name','32531auCltq','drop','187930xBMOYF','registerCommands','solve','getInstance','147rroFcL','5617265wHUFVc','(((.+)+)+)+$','unlock','getWelcomeMessage','clear','224304QZRZhu','quit','unequip','getDescription','help','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','9350523HjBEqb','slice','16PToIUw','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','getHelpMessage','Welcome,\x20','getRooms','rooms','12RPWYbz','registerCommand','instance','toString','take','scene','7680558qzybUT','handleInput','getAllRegisteredCommands','say','execute'];a42c=function(){return s;};return a42c();}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a42k(0x103)];['scene'];['player'];['currentRoom'];[a42k(0x100)];constructor(a,b){const l=a42k;this[l(0xdb)]=a,this[l(0x106)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x106)]['initialize'](),this[l(0xdb)]['currentLocation']=this[l(0xda)](),this[l(0xea)]();}[a42k(0xea)](){const m=a42k;CommandFactory[m(0x102)]('look',LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory['registerCommand'](m(0x105),TakeCommand),CommandFactory[m(0x102)](m(0xd9),UseCommand),CommandFactory[m(0x102)](m(0xe3),EquipCommand),CommandFactory[m(0x102)](m(0xf5),UnequipCommand),CommandFactory[m(0x102)](m(0xeb),SolveCommand),CommandFactory[m(0x102)](m(0xe8),DropCommand),CommandFactory[m(0x102)](m(0xf0),UnlockCommand),CommandFactory[m(0x102)](m(0xe0),LockCommand),CommandFactory[m(0x102)]('search',SearchCommand),CommandFactory['registerCommand'](m(0x10a),SayCommand);}[a42k(0xda)](){const n=a42k;return this[n(0x106)][n(0xda)]();}[a42k(0xf1)](){const o=a42k;return o(0xfe)+this[o(0xdb)][o(0xe6)];}static[a42k(0xec)](a,b){const p=a42k;return!Game[p(0x103)]&&(Game['instance']=new Game(a,b)),Game[p(0x103)];}[a42k(0x108)](a){const q=a42k,b=a[q(0xe5)]()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0xfa)](0x1);if(c===q(0xf4))return null;if(c==='maka')return q(0xfc);if(c===q(0xf7))return this['getHelpMessage']();if(c===q(0xf2))return'';const e={'actor':this[q(0xdb)],'rooms':this[q(0x106)][q(0xff)](),'scene':this[q(0x106)]},f=CommandFactory[q(0xdd)](c,e);if(f){const g=f[q(0x10b)](d);return g;}return q(0xf8)+c+'\x22.';}[a42k(0xfd)](){const r=a42k,a=CommandFactory[r(0x109)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0xe1)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xf6)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0xa4))/0x1+parseInt(f(0xa0))/0x2+parseInt(f(0xac))/0x3+parseInt(f(0xa2))/0x4*(parseInt(f(0xa1))/0x5)+parseInt(f(0xa6))/0x6+-parseInt(f(0xa5))/0x7*(parseInt(f(0xaa))/0x8)+-parseInt(f(0xa3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x991f2));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0xa9)]()[h(0xa8)](h(0xad))[h(0xa9)]()[h(0xab)](a43a)['search'](h(0xad));});a43a();export*from'./door.js';export*from'./inventory.js';function a43c(){var i=['apply','search','toString','5723512MxfmWB','constructor','1300467FSuYiW','(((.+)+)+)+$','1398680gEpQbM','25NzsQLx','462700SdzIUr','4379292nhBsEM','1108235lgyCRc','7tXlkPg','7357464mQmuAi'];a43c=function(){return i;};return a43c();}export*from'./item.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xa0;var f=c[d];return f;},a43d(a,b);}export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0xa4))/0x1*(parseInt(f(0xa0))/0x2)+-parseInt(f(0xa1))/0x3*(parseInt(f(0xa6))/0x4)+-parseInt(f(0xa7))/0x5*(-parseInt(f(0x9a))/0x6)+parseInt(f(0xa5))/0x7*(parseInt(f(0x9c))/0x8)+parseInt(f(0x99))/0x9*(-parseInt(f(0x9e))/0xa)+-parseInt(f(0x9d))/0xb+parseInt(f(0xa8))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x46c09));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0xa3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a['toString']()[h(0x98)](h(0x9f))[h(0x9b)]()[h(0xa2)](a43a)[h(0x98)]('(((.+)+)+)+$');});a43a();export*from'./door.js';export*from'./inventory.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x98;var f=c[d];return f;},a43d(a,b);}export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';function a43c(){var i=['toString','3920232otGzqr','6057634bHpLbf','80CuUTMH','(((.+)+)+)+$','847578PwGhVV','156102fVRJtB','constructor','apply','1izhAec','7ihbLIN','16cIKZqd','20990hfzSKL','11367972SqiMww','search','423387nkssfX','588GaQRtu'];a43c=function(){return i;};return a43c();}
@@ -1 +1 @@
1
- var a44h=a44d;function a44c(){var n=['762elqYOF','roomA','unlockItemOrSolution','6730JAYDte','isLockable','3433016ANYqQS','Door\x20unlocked:\x20','9VzzXaw','getInstance','.\x20Is\x20Locked:\x20','Failed\x20to\x20unlock\x20door:\x20','100779gPlJRN','Door\x20created\x20between\x20','checkIfLocked','14225CGPayI','48eRhmVR','11IpdhgZ','.\x20Used:\x20','logger','(((.+)+)+)+$','To\x20','177982hpQXbk','getOtherSide','attemptUnlock','roomB','write','9505164cSJBZM','\x20and\x20','isLocked','search','toString','628RcQOZI','1266aXNbfm','name'];a44c=function(){return n;};return a44c();}(function(a,b){var f=a44d,c=a();while(!![]){try{var d=parseInt(f(0xd1))/0x1+-parseInt(f(0xe6))/0x2*(parseInt(f(0xe8))/0x3)+parseInt(f(0xe5))/0x4*(parseInt(f(0xd4))/0x5)+parseInt(f(0xd5))/0x6*(parseInt(f(0xdb))/0x7)+-parseInt(f(0xed))/0x8*(-parseInt(f(0xcd))/0x9)+-parseInt(f(0xeb))/0xa*(parseInt(f(0xd6))/0xb)+-parseInt(f(0xe0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x3747b));var a44b=(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;};}()),a44a=a44b(this,function(){var g=a44d;return a44a[g(0xe4)]()[g(0xe3)](g(0xd9))[g(0xe4)]()['constructor'](a44a)[g(0xe3)]('(((.+)+)+)+$');});a44a();import{Logger}from'../utilities/logger.js';function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0xcc;var f=c[d];return f;},a44d(a,b);}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a44h(0xe9)];[a44h(0xde)];[a44h(0xe2)];[a44h(0xea)];[a44h(0xe7)];[a44h(0xd8)];[a44h(0xec)];constructor(a){var i=a44h;super(),this[i(0xe9)]=a[i(0xe9)],this[i(0xde)]=a[i(0xde)],this['isLocked']=a[i(0xe2)]||![],this[i(0xea)]=a[i(0xea)],this[i(0xe7)]=a[i(0xe7)]?capitalCase(a[i(0xe7)]):i(0xda)+a[i(0xde)]['name'],this[i(0xd8)]=Logger[i(0xce)](),this['isLockable']=!!a[i(0xea)],this['logger'][i(0xdf)](i(0xd2)+this['roomA']['name']+i(0xe1)+this[i(0xde)][i(0xe7)]+i(0xcf)+this[i(0xe2)]);}[a44h(0xdc)](a){var j=a44h;return this[j(0xe9)]===a?this[j(0xde)]:this[j(0xe9)];}[a44h(0xdd)](a){var k=a44h;if(this[k(0xe2)]&&this[k(0xea)]&&this['unlockItemOrSolution']===a)return this[k(0xe2)]=![],this[k(0xd8)][k(0xdf)](k(0xcc)+this[k(0xe7)]+'.\x20Used:\x20'+a),!![];return this['logger'][k(0xdf)](k(0xd0)+this['name']+k(0xd7)+a),![];}[a44h(0xd3)](){var l=a44h;return this[l(0xe2)];}['checkIfLockable'](){var m=a44h;return this[m(0xec)];}}
1
+ var a44i=a44d;(function(a,b){var f=a44d,c=a();while(!![]){try{var d=parseInt(f(0xf2))/0x1+parseInt(f(0xe1))/0x2+parseInt(f(0xdc))/0x3+-parseInt(f(0xdf))/0x4+parseInt(f(0xdd))/0x5*(-parseInt(f(0xe8))/0x6)+parseInt(f(0xed))/0x7+-parseInt(f(0xe0))/0x8*(parseInt(f(0xec))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x6006a));var a44b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a44d;if(c){var e=c[g(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){var h=a44d;return a44a[h(0xe6)]()[h(0xfb)](h(0xee))[h(0xe6)]()[h(0xea)](a44a)['search'](h(0xee));});a44a();import{Logger}from'../utilities/logger.js';function a44c(){var n=['369448xhVhtd','1044214dcnZrg','To\x20','.\x20Used:\x20','isLockable','roomA','toString','roomB','432jCawxE','isLocked','constructor','logger','81fkIHin','2606282rOtFjx','(((.+)+)+)+$','checkIfLocked','checkIfLockable','Failed\x20to\x20unlock\x20door:\x20','721028NIPYRo','\x20and\x20','Door\x20created\x20between\x20','getOtherSide','Door\x20unlocked:\x20','name','unlockItemOrSolution','write','attemptUnlock','search','453543PiuMMK','21185udHNXz','apply','2610508ghjBMq'];a44c=function(){return n;};return a44c();}function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0xdc;var f=c[d];return f;},a44d(a,b);}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a44i(0xe7)];['isLocked'];[a44i(0xf8)];[a44i(0xf7)];['logger'];[a44i(0xe4)];constructor(a){var j=a44i;super(),this[j(0xe5)]=a['roomA'],this[j(0xe7)]=a[j(0xe7)],this['isLocked']=a[j(0xe9)]||![],this[j(0xf8)]=a[j(0xf8)],this[j(0xf7)]=a[j(0xf7)]?capitalCase(a[j(0xf7)]):j(0xe2)+a[j(0xe7)][j(0xf7)],this[j(0xeb)]=Logger['getInstance'](),this[j(0xe4)]=!!a[j(0xf8)],this['logger'][j(0xf9)](j(0xf4)+this[j(0xe5)][j(0xf7)]+j(0xf3)+this[j(0xe7)]['name']+'.\x20Is\x20Locked:\x20'+this[j(0xe9)]);}[a44i(0xf5)](a){var k=a44i;return this[k(0xe5)]===a?this['roomB']:this['roomA'];}[a44i(0xfa)](a){var l=a44i;if(this[l(0xe9)]&&this[l(0xf8)]&&this[l(0xf8)]===a)return this[l(0xe9)]=![],this[l(0xeb)][l(0xf9)](l(0xf6)+this[l(0xf7)]+l(0xe3)+a),!![];return this[l(0xeb)][l(0xf9)](l(0xf1)+this[l(0xf7)]+l(0xe3)+a),![];}[a44i(0xef)](){return this['isLocked'];}[a44i(0xf0)](){var m=a44i;return this[m(0xe4)];}}
@@ -1 +1 @@
1
- const a45i=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x7a;let f=c[d];return f;},a45d(a,b);}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x9a))/0x1*(parseInt(f(0x95))/0x2)+parseInt(f(0x9d))/0x3+-parseInt(f(0x97))/0x4+parseInt(f(0x86))/0x5+parseInt(f(0x99))/0x6*(parseInt(f(0x89))/0x7)+-parseInt(f(0x8b))/0x8*(parseInt(f(0x85))/0x9)+-parseInt(f(0x87))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x2b93b));function a45c(){const r=['items','addItem','name','454VYDsvK','(((.+)+)+)+$','213428KAjxLJ','toLowerCase','102vPStOi','199lypFHq','listItems','toString','913725TCrBfx','apply','removeItem','weight','set','getWeight','Retrieved\x20details\x20for\x20item:\x20','Failed\x20to\x20remove\x20item:\x20','hasItem','logger','map','.\x20Item\x20not\x20found.','write','Added\x20item:\x20','Removed\x20item:\x20','getItem','232803mfUiTL','1497635mrHfWR','2507910hMgTFM','search','5943NxxJpQ','values','56tOchJr','\x20to\x20inventory.','Checked\x20for\x20item:\x20','.\x20Exists:\x20','keys','constructor','join'];a45c=function(){return r;};return a45c();}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x9c)]()[h(0x88)](h(0x96))[h(0x9c)]()[h(0x90)](a45a)['search'](h(0x96));});a45a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a45i(0x92)];[a45i(0x7e)];constructor(){const j=a45i;super(),this['items']=new Map(),this[j(0x7e)]=Logger['getInstance']();}[a45i(0x93)](a){const k=a45i;this[k(0x92)][k(0xa1)](a[k(0x94)][k(0x98)](),a),this['logger']['write'](k(0x82)+a[k(0x94)]+k(0x8c));}[a45i(0x9f)](a){const l=a45i,b=this[l(0x84)](a);if(b)return this['items']['delete'](a['toLowerCase']()),this[l(0x7e)]['write'](l(0x83)+a+'\x20from\x20inventory.'),b;return this[l(0x7e)][l(0x81)](l(0x7c)+a+l(0x80)),null;}[a45i(0x7d)](a){const m=a45i,b=this[m(0x92)]['has'](a['toLowerCase']()),c=[...this['items']['keys']()];return this[m(0x7e)][m(0x81)](m(0x8d)+a+'\x20in\x20'+c['join'](',\x20')+m(0x8e)+b+'.'),b;}[a45i(0x84)](a){const n=a45i,b=this[n(0x92)]['get'](a[n(0x98)]())||null;return b?this[n(0x7e)][n(0x81)](n(0x7b)+a+'.'):this[n(0x7e)][n(0x81)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+n(0x80)),b;}[a45i(0x9b)](){const o=a45i,a=[...this[o(0x92)][o(0x8f)]()],b=a[o(0x7f)](c=>capitalCase(c));return this[o(0x7e)][o(0x81)]('Listed\x20items\x20in\x20inventory:\x20'+b[o(0x91)](',\x20')+'.'),a;}[a45i(0x7a)](){const p=a45i;let a=0x0;for(const b of this[p(0x92)][p(0x8a)]()){a+=b[p(0xa0)];}return a;}['getAllItems'](){const q=a45i;return[...this[q(0x92)][q(0x8a)]()];}}
1
+ const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x184))/0x1*(-parseInt(f(0x17f))/0x2)+-parseInt(f(0x17a))/0x3*(parseInt(f(0x179))/0x4)+-parseInt(f(0x163))/0x5+-parseInt(f(0x186))/0x6+parseInt(f(0x16d))/0x7*(-parseInt(f(0x17c))/0x8)+parseInt(f(0x160))/0x9*(parseInt(f(0x180))/0xa)+-parseInt(f(0x17d))/0xb*(-parseInt(f(0x177))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x1a768));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x15d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a['toString']()[h(0x162)]('(((.+)+)+)+$')[h(0x16f)]()[h(0x176)](a45a)['search'](h(0x161));});a45a();import{capitalCase}from'change-case';function a45c(){const r=['Failed\x20to\x20remove\x20item:\x20','keys','1IlJwYY','getAllItems','841776QrTWYu','.\x20Item\x20not\x20found.','delete','apply','logger','getWeight','1015047SYhfNy','(((.+)+)+)+$','search','226645ROLIKT','\x20to\x20inventory.','get','write','has','Listed\x20items\x20in\x20inventory:\x20','Retrieved\x20details\x20for\x20item:\x20','getItem','values','listItems','7vSStEE','name','toString','.\x20Exists:\x20','\x20in\x20','toLowerCase','items','map','join','constructor','111876efDRBX','\x20from\x20inventory.','205148jLYLML','6ceAkMS','Checked\x20for\x20item:\x20','908744otullU','484dIcwXh','Added\x20item:\x20','25622XvvZlf','10qeSjJT','set'];a45c=function(){return r;};return a45c();}import{Logger}from'../utilities/logger.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x15b;let f=c[d];return f;},a45d(a,b);}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a45i(0x15e)];constructor(){const j=a45i;super(),this['items']=new Map(),this[j(0x15e)]=Logger['getInstance']();}['addItem'](a){const k=a45i;this['items'][k(0x181)](a[k(0x16e)][k(0x172)](),a),this['logger']['write'](k(0x17e)+a['name']+k(0x164));}['removeItem'](a){const l=a45i,b=this[l(0x16a)](a);if(b)return this[l(0x173)][l(0x15c)](a[l(0x172)]()),this['logger'][l(0x166)]('Removed\x20item:\x20'+a+l(0x178)),b;return this[l(0x15e)][l(0x166)](l(0x182)+a+'.\x20Item\x20not\x20found.'),null;}['hasItem'](a){const m=a45i,b=this[m(0x173)][m(0x167)](a[m(0x172)]()),c=[...this[m(0x173)]['keys']()];return this['logger']['write'](m(0x17b)+a+m(0x171)+c['join'](',\x20')+m(0x170)+b+'.'),b;}[a45i(0x16a)](a){const n=a45i,b=this[n(0x173)][n(0x165)](a[n(0x172)]())||null;return b?this['logger']['write'](n(0x169)+a+'.'):this[n(0x15e)][n(0x166)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+n(0x15b)),b;}[a45i(0x16c)](){const o=a45i,a=[...this[o(0x173)][o(0x183)]()],b=a[o(0x174)](c=>capitalCase(c));return this[o(0x15e)][o(0x166)](o(0x168)+b[o(0x175)](',\x20')+'.'),a;}[a45i(0x15f)](){const p=a45i;let a=0x0;for(const b of this[p(0x173)][p(0x16b)]()){a+=b['weight'];}return a;}[a45i(0x185)](){const q=a45i;return[...this['items'][q(0x16b)]()];}}
@@ -1 +1 @@
1
- var a46h=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x193))/0x1*(parseInt(f(0x19d))/0x2)+parseInt(f(0x1a2))/0x3*(parseInt(f(0x19a))/0x4)+-parseInt(f(0x1a5))/0x5*(parseInt(f(0x19c))/0x6)+parseInt(f(0x1a7))/0x7+-parseInt(f(0x195))/0x8*(parseInt(f(0x194))/0x9)+-parseInt(f(0x1aa))/0xa*(parseInt(f(0x192))/0xb)+-parseInt(f(0x191))/0xc*(-parseInt(f(0x190))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x3815c));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a['toString']()['search']('(((.+)+)+)+$')[g(0x1a1)]()[g(0x19e)](a46a)['search'](g(0x1a8));});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x190;var f=c[d];return f;},a46d(a,b);}a46a();import{v4 as a46e}from'uuid';function a46c(){var k=['(((.+)+)+)+$','texture','880emYZJe','1781BPXcZL','61356BePxxT','51722cFgWpq','1OmEnTe','68193uJPAAw','368Mnvrwd','name','size','description','color','26944xFBYIM','You\x20use\x20the\x20','41190oWBPDu','222314sGtaqn','constructor','weight','shape','toString','63BLMqII','category','rating','235gQtjwP','uuid','2531221NHeQzW'];a46c=function(){return k;};return a46c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];[a46h(0x196)];[a46h(0x198)];[a46h(0x197)];['category'];[a46h(0x1a0)];[a46h(0x199)];[a46h(0x1a9)];[a46h(0x1a4)];[a46h(0x19f)];constructor(a){var i=a46h;super(),this['name']=a[i(0x196)],this[i(0x198)]=a[i(0x198)],this[i(0x197)]=a[i(0x197)],this[i(0x1a3)]=a[i(0x1a3)],this['shape']=a[i(0x1a0)],this[i(0x199)]=a[i(0x199)],this[i(0x1a9)]=a[i(0x1a9)],this[i(0x1a4)]=a[i(0x1a4)],this[i(0x19f)]=a[i(0x19f)],this[i(0x1a6)]=a46e();}['use'](){var j=a46h;return j(0x19b)+this[j(0x196)]+'.\x20Nothing\x20special\x20happens.';}}
1
+ var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x116))/0x1*(-parseInt(f(0x11b))/0x2)+-parseInt(f(0x119))/0x3+-parseInt(f(0x106))/0x4*(parseInt(f(0x114))/0x5)+parseInt(f(0x10c))/0x6*(-parseInt(f(0x121))/0x7)+-parseInt(f(0x118))/0x8*(parseInt(f(0x111))/0x9)+-parseInt(f(0x115))/0xa+parseInt(f(0x120))/0xb*(parseInt(f(0x10b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x1e22d));function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x106;var f=c[d];return f;},a46d(a,b);}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x11c)]()['search'](h(0x107))[h(0x11c)]()[h(0x108)](a46a)[h(0x10e)](h(0x107));});a46a();import{v4 as a46e}from'uuid';function a46c(){var l=['texture','11SoDLMF','13349lYwuDi','628268nINvea','(((.+)+)+)+$','constructor','name','apply','6859884QWkMSB','282knmlAV','uuid','search','weight','category','222759TeaJbP','color','You\x20use\x20the\x20','5QDsHAh','169480cIjnCt','12657KmUiJC','rating','40LlAfZk','68550zSAaaR','description','6GPXtGD','toString','size','shape'];a46c=function(){return l;};return a46c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a46i(0x10d)];[a46i(0x109)];['description'];[a46i(0x11d)];['category'];[a46i(0x11e)];[a46i(0x112)];['texture'];[a46i(0x117)];[a46i(0x10f)];constructor(a){var j=a46i;super(),this['name']=a['name'],this[j(0x11a)]=a['description'],this['size']=a[j(0x11d)],this[j(0x110)]=a[j(0x110)],this[j(0x11e)]=a['shape'],this['color']=a['color'],this[j(0x11f)]=a[j(0x11f)],this[j(0x117)]=a[j(0x117)],this['weight']=a[j(0x10f)],this[j(0x10d)]=a46e();}['use'](){var k=a46i;return k(0x113)+this[k(0x109)]+'.\x20Nothing\x20special\x20happens.';}}
@@ -1 +1 @@
1
- const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x140))/0x1+-parseInt(f(0x14f))/0x2*(parseInt(f(0x13b))/0x3)+parseInt(f(0x13a))/0x4*(parseInt(f(0x142))/0x5)+-parseInt(f(0x13e))/0x6+-parseInt(f(0x144))/0x7+-parseInt(f(0x13f))/0x8+parseInt(f(0x145))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x63d65));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x13c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x143)]()['search'](h(0x149))[h(0x143)]()[h(0x139)](a47a)[h(0x14c)]('(((.+)+)+)+$');});function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x139;let f=c[d];return f;},a47d(a,b);}a47a();import{Player}from'./player.js';function a47c(){const o=['apply','rooms','3728904xLguZR','2487176ErDmBQ','126786elyDLL','scene','2124215PzdYrA','toString','1343762MnqjBm','12576546mmxfsW','_name','_dialogue','length','(((.+)+)+)+$','moveTo','floor','search','name','execute','831486dXaxeX','random','constructor','4VQpsdP','3RhkUUh'];a47c=function(){return o;};return a47c();}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a47i(0x146)];[a47i(0x147)];[a47i(0x13d)];[a47i(0x141)];constructor(a,b,c,d){const j=a47i;super(d),this[j(0x146)]=a,this['_dialogue']=b,this['rooms']=c;}get['name'](){const k=a47i;return this[k(0x146)];}['speak'](){const l=a47i;return this[l(0x147)][Math['floor'](Math[l(0x150)]()*this[l(0x147)][l(0x148)])];}['autonomousMove'](a){const m=a47i,b=a[Math[m(0x14b)](Math[m(0x150)]()*a[m(0x148)])];this[m(0x14a)](b[m(0x14d)]);}[a47i(0x14a)](a){const n=a47i,b={'actor':this,'rooms':this[n(0x13d)],'scene':this[n(0x141)]},c=new GoCommand(b);c[n(0x14e)]([a]);}}
1
+ function a47c(){const o=['_name','toString','10zPcSAn','name','constructor','length','apply','27bubaCk','2720560SiAZNn','scene','2641828ECKJnf','search','6bBwhSl','_dialogue','416179meSJgk','3246905QEHFsX','(((.+)+)+)+$','442641YRNRDc','floor','16615710dKYRyX','rooms','autonomousMove','1423528XKlGKl'];a47c=function(){return o;};return a47c();}const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x1f1))/0x1+parseInt(f(0x1fc))/0x2*(-parseInt(f(0x1f4))/0x3)+-parseInt(f(0x1eb))/0x4+-parseInt(f(0x1f2))/0x5*(-parseInt(f(0x1ef))/0x6)+-parseInt(f(0x1ed))/0x7+-parseInt(f(0x1f9))/0x8*(parseInt(f(0x1ea))/0x9)+parseInt(f(0x1f6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x612cd));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x1fb)]()[h(0x1ee)](h(0x1f3))[h(0x1fb)]()[h(0x1fe)](a47a)[h(0x1ee)](h(0x1f3));});a47a();import{Player}from'./player.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a47d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a47i(0x1fa)];[a47i(0x1f0)];[a47i(0x1f7)];[a47i(0x1ec)];constructor(a,b,c,d){const j=a47i;super(d),this['_name']=a,this['_dialogue']=b,this[j(0x1f7)]=c;}get[a47i(0x1fd)](){const k=a47i;return this[k(0x1fa)];}['speak'](){const l=a47i;return this[l(0x1f0)][Math[l(0x1f5)](Math['random']()*this['_dialogue'][l(0x1e8)])];}[a47i(0x1f8)](a){const m=a47i,b=a[Math[m(0x1f5)](Math['random']()*a[m(0x1e8)])];this['moveTo'](b[m(0x1fd)]);}['moveTo'](a){const n=a47i,b={'actor':this,'rooms':this[n(0x1f7)],'scene':this[n(0x1ec)]},c=new GoCommand(b);c['execute']([a]);}}
@@ -1 +1 @@
1
- function a48c(){const B=['You\x20unequipped\x20','removeInventory','weight','Hat','ArmArmor','963088gcnKWI','bind','_inventory','addInventory','currentLocation','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','toString','equip','includes','5005773OKXyHO','gloves','BodyArmor','legs','Nexus','leg\x20armor','hear','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','hat','Weapon','canEquip','leftHand','_currentLocation','body\x20armor','Failed\x20to\x20remove\x20','_playerName','arms','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','apply','values','Boots','14719XxjBZN','name','maxCarryingWeight','.\x20You\x20must\x20unequip\x20it\x20first.','logger','Shield','search','unequipBySlot','LegArmor','startLocation','5CxYTEP','log','speak','7960rVfvJY','helmet','_maxCarryingWeight','legarmor','toLowerCase','70GzGiqf','feet','958468QiJvni','equipment','getWeight','_equipment','addItem','currentWeight','260418XQatYu','removeItem','rightHand','131127oqnxsB','playerName','determineEquipmentSlot','initialEquipment','weapon','24zXHlXd','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','\x20from\x20player\x27s\x20inventory.','inventoryItems','getInstance','7546CQwQdN','shield','Gloves','constructor','torso','\x20to\x20player\x27s\x20inventory.','error','You\x20equipped\x20','enterRoom','write','head','off','\x20slot.','(((.+)+)+)+$','inventory','unequip','leaveRoom'];a48c=function(){return B;};return a48c();}const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x1ee))/0x1*(-parseInt(f(0x1a5))/0x2)+parseInt(f(0x1b0))/0x3+parseInt(f(0x1d0))/0x4+-parseInt(f(0x19d))/0x5*(parseInt(f(0x1ad))/0x6)+parseInt(f(0x1a7))/0x7*(-parseInt(f(0x1b5))/0x8)+parseInt(f(0x1d9))/0x9+parseInt(f(0x1a0))/0xa*(-parseInt(f(0x1ba))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x56d1c));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1d6)]()[h(0x1f4)](h(0x1c7))['toString']()[h(0x1bd)](a48a)['search'](h(0x1c7));});a48a();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x19b;let f=c[d];return f;},a48d(a,b);}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a48i(0x1e8)];[a48i(0x1e5)];[a48i(0x1d2)];['_equipment'];[a48i(0x1a2)]=0x32;[a48i(0x1f2)];constructor(a){const j=a48i;super(),this['_playerName']=a[j(0x1b1)],this[j(0x1e5)]=a[j(0x19c)]||new Room({'name':j(0x1dd),'description':'A\x20featureless\x20room'}),this[j(0x1d2)]=new Inventory(),this['logger']=Logger[j(0x1b9)]();if(a?.[j(0x1b8)])for(const b of a['inventoryItems']){this['_inventory'][j(0x1ab)](b);}this[j(0x1aa)]=a?.[j(0x1b3)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a48i(0x1ef)](){return this['_playerName'];}get[a48i(0x1d4)](){return this['_currentLocation'];}set[a48i(0x1d4)](a){const k=a48i;this[k(0x1e5)]!==a&&(this['leaveRoom'](),this['enterRoom'](a)),this['_currentLocation']=a;}get[a48i(0x1c8)](){const l=a48i;return this[l(0x1d2)];}get[a48i(0x1a8)](){const m=a48i;return this[m(0x1aa)];}set[a48i(0x1a8)](a){const n=a48i;this[n(0x1aa)]=a;}get[a48i(0x1f0)](){const o=a48i;return this[o(0x1a2)];}set[a48i(0x1f0)](a){const p=a48i;a>0x0?this['_maxCarryingWeight']=a:console[p(0x1c0)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a48i(0x1ac)](){const q=a48i;let a=this[q(0x1d2)][q(0x1a9)]();for(const b in this[q(0x1aa)]){const c=this[q(0x1aa)][b];c&&(a+=c[q(0x1cd)]);}return a;}[a48i(0x1d3)](a){const r=a48i;if(this[r(0x1ac)]+a['weight']>this[r(0x1f0)]){this['logger'][r(0x1c3)](r(0x1b6));throw new Error(r(0x1ea));}this[r(0x1d2)][r(0x1ab)](a),this[r(0x1f2)]['write']('Added\x20'+a[r(0x1ef)]+r(0x1bf));}[a48i(0x1cc)](a){const s=a48i;if(this[s(0x1d2)][s(0x1ae)](a['name']))return this[s(0x1f2)][s(0x1c3)]('Removed\x20'+a['name']+s(0x1b7)),!![];return this[s(0x1f2)][s(0x1c3)](s(0x1e7)+a[s(0x1ef)]+s(0x1b7)),![];}[a48i(0x1d7)](a){const t=a48i;if(!this[t(0x1d2)]['hasItem'](a[t(0x1ef)]))return'You\x20don\x27t\x20have\x20'+a[t(0x1ef)]+'\x20in\x20your\x20inventory.';if(!this[t(0x1e3)](a))return'You\x20can\x27t\x20equip\x20'+a[t(0x1ef)]+'.';const b=this[t(0x1b2)](a['category']);if(!b)return a[t(0x1ef)]+t(0x1d5);if(this[t(0x1a8)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+t(0x1f1);return this[t(0x1a8)][b]=a,this[t(0x1cc)](a),t(0x1c1)+a[t(0x1ef)]+'.';}[a48i(0x1c9)](a){const u=a48i;let b=a;if(!this[u(0x1a8)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[u(0x1f5)](b);}['determineEquipmentSlot'](a){const v=a48i;switch(a[v(0x1a4)]()){case Category[v(0x1e2)][v(0x1a4)]():return'rightHand';case Category[v(0x1f3)][v(0x1a4)]():return v(0x1e4);case Category[v(0x1bc)][v(0x1a4)]():return v(0x1da);case Category['Helmet'][v(0x1a4)]():case Category[v(0x1ce)]['toLowerCase']():return v(0x1c4);case Category[v(0x1ed)]['toLowerCase']():return v(0x1a6);case Category[v(0x19b)][v(0x1a4)]():return'legs';case Category[v(0x1cf)][v(0x1a4)]():return v(0x1e9);case Category[v(0x1db)][v(0x1a4)]():return'torso';case v(0x1b4):return v(0x1af);case v(0x1bb):return v(0x1e4);case v(0x1da):return v(0x1da);case v(0x1a1):case v(0x1e1):return v(0x1c4);case'boots':return v(0x1a6);case v(0x1de):case v(0x1a3):return v(0x1dc);case'arm\x20armor':case'armarmor':return v(0x1e9);case v(0x1e6):case'bodyarmor':case v(0x1be):return'torso';default:return null;}}['canEquip'](a){const w=a48i;return Object[w(0x1ec)](Category)[w(0x1d8)](a['category']);}[a48i(0x1f5)](a){const x=a48i,b=this[x(0x1a8)][a];if(!b)return x(0x1e0)+a+x(0x1c6);return this[x(0x1d3)](b),this['equipment'][a]=null,x(0x1cb)+b[x(0x1ef)]+'.';}[a48i(0x1df)](a,b){const y=a48i;a!==this&&this['logger'][y(0x19e)](a[y(0x1ef)]+'\x20says:\x20\x22'+b+'\x22');}[a48i(0x1c2)](a){const z=a48i;this['_currentLocation']=a,a['on'](z(0x19f),this[z(0x1df)][z(0x1d1)](this)),this['logger'][z(0x1c3)](this['name']+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[z(0x1ef)]);}[a48i(0x1ca)](){const A=a48i;this[A(0x1e5)]&&(this[A(0x1e5)][A(0x1c5)](A(0x19f),this['hear'][A(0x1d1)](this)),this['logger']['write'](this[A(0x1ef)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this['_currentLocation'][A(0x1ef)]));}}
1
+ const a48i=a48d;function a48c(){const C=['You\x20can\x27t\x20equip\x20','playerName','body\x20armor','387QiXcmF','getWeight','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','getInstance','equipment','Hat','ArmArmor','8vPeXJM','logger','weight','_maxCarryingWeight','feet','head','(((.+)+)+)+$','2lEhdzj','category','Added\x20','search','bind','addItem','initialEquipment','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','legarmor','addInventory','hat','removeInventory','Max\x20carrying\x20weight\x20must\x20be\x20positive.','hasItem','\x20says:\x20\x22','_playerName','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','currentLocation','Weapon','hear','6176933bkYChK','\x20from\x20player\x27s\x20inventory.','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','values','Shield','canEquip','1173099FxdsoQ','gloves','Helmet','startLocation','leftHand','1453705RIVbOF','463624RFwHlo','\x20is\x20now\x20listening\x20in\x20room\x20','determineEquipmentSlot','Gloves','You\x20equipped\x20','_inventory','removeItem','name','toString','382810rapgBo','.\x20You\x20must\x20unequip\x20it\x20first.','off','\x20in\x20your\x20inventory.','\x20to\x20player\x27s\x20inventory.','rightHand','_currentLocation','A\x20featureless\x20room','5515037zVjuzq','Boots','leaveRoom','constructor','toLowerCase','currentWeight','maxCarryingWeight','legs','Failed\x20to\x20remove\x20','\x20is\x20no\x20longer\x20listeng\x20in\x20','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','arms','speak','inventory','error','_equipment','96jrMKBG','torso','armarmor','7750224jbRWTU','apply','8nNAGIf','leg\x20armor','inventoryItems','You\x20don\x27t\x20have\x20','write','equip','BodyArmor','enterRoom','Nexus','weapon','helmet','Removed\x20'];a48c=function(){return C;};return a48c();}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x112))/0x1*(parseInt(f(0xf2))/0x2)+-parseInt(f(0x10c))/0x3+-parseInt(f(0x138))/0x4*(-parseInt(f(0x111))/0x5)+-parseInt(f(0x136))/0x6+-parseInt(f(0x106))/0x7*(parseInt(f(0x14e))/0x8)+-parseInt(f(0x147))/0x9*(parseInt(f(0x11b))/0xa)+parseInt(f(0x123))/0xb*(parseInt(f(0x133))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xce403));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x11a)]()['search']('(((.+)+)+)+$')['toString']()[h(0x126)](a48a)[h(0xf5)](h(0xf1));});function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xed;let f=c[d];return f;},a48d(a,b);}a48a();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{[a48i(0x101)];[a48i(0x121)];['_inventory'];[a48i(0x132)];[a48i(0xee)]=0x32;[a48i(0x14f)];constructor(a){const j=a48i;super(),this[j(0x101)]=a[j(0x145)],this[j(0x121)]=a[j(0x10f)]||new Room({'name':j(0x140),'description':j(0x122)}),this['_inventory']=new Inventory(),this[j(0x14f)]=Logger[j(0x14a)]();if(a?.['inventoryItems'])for(const b of a[j(0x13a)]){this[j(0x117)]['addItem'](b);}this['_equipment']=a?.[j(0xf8)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a48i;return this[k(0x101)];}get[a48i(0x103)](){const l=a48i;return this[l(0x121)];}set[a48i(0x103)](a){const m=a48i;this[m(0x121)]!==a&&(this[m(0x125)](),this[m(0x13f)](a)),this['_currentLocation']=a;}get[a48i(0x130)](){const n=a48i;return this[n(0x117)];}get['equipment'](){const o=a48i;return this[o(0x132)];}set['equipment'](a){this['_equipment']=a;}get[a48i(0x129)](){const p=a48i;return this[p(0xee)];}set[a48i(0x129)](a){const q=a48i;a>0x0?this[q(0xee)]=a:console[q(0x131)](q(0xfe));}get[a48i(0x128)](){const r=a48i;let a=this[r(0x117)][r(0x148)]();for(const b in this[r(0x132)]){const c=this[r(0x132)][b];c&&(a+=c[r(0xed)]);}return a;}[a48i(0xfb)](a){const s=a48i;if(this[s(0x128)]+a[s(0xed)]>this['maxCarryingWeight']){this[s(0x14f)][s(0x13c)](s(0x102));throw new Error(s(0xf9));}this[s(0x117)][s(0xf7)](a),this['logger']['write'](s(0xf4)+a['name']+s(0x11f));}[a48i(0xfd)](a){const t=a48i;if(this[t(0x117)][t(0x118)](a[t(0x119)]))return this[t(0x14f)][t(0x13c)](t(0x143)+a[t(0x119)]+t(0x107)),!![];return this[t(0x14f)][t(0x13c)](t(0x12b)+a[t(0x119)]+t(0x107)),![];}[a48i(0x13d)](a){const u=a48i;if(!this['_inventory'][u(0xff)](a[u(0x119)]))return u(0x13b)+a[u(0x119)]+u(0x11e);if(!this['canEquip'](a))return u(0x144)+a[u(0x119)]+'.';const b=this['determineEquipmentSlot'](a[u(0xf3)]);if(!b)return a['name']+u(0x108);if(this[u(0x14b)][b])return u(0x149)+b+u(0x11c);return this[u(0x14b)][b]=a,this[u(0xfd)](a),u(0x116)+a[u(0x119)]+'.';}['unequip'](a){const v=a48i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[v(0x114)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this['unequipBySlot'](b);}['determineEquipmentSlot'](a){const w=a48i;switch(a[w(0x127)]()){case Category[w(0x104)][w(0x127)]():return w(0x120);case Category[w(0x10a)][w(0x127)]():return w(0x110);case Category[w(0x115)][w(0x127)]():return'gloves';case Category[w(0x10e)]['toLowerCase']():case Category[w(0x14c)][w(0x127)]():return w(0xf0);case Category[w(0x124)][w(0x127)]():return'feet';case Category['LegArmor']['toLowerCase']():return w(0x12a);case Category[w(0x14d)][w(0x127)]():return'arms';case Category[w(0x13e)][w(0x127)]():return w(0x134);case w(0x141):return w(0x120);case'shield':return'leftHand';case w(0x10d):return w(0x10d);case w(0x142):case w(0xfc):return w(0xf0);case'boots':return w(0xef);case w(0x139):case w(0xfa):return'legs';case'arm\x20armor':case w(0x135):return w(0x12e);case w(0x146):case'bodyarmor':case w(0x134):return w(0x134);default:return null;}}[a48i(0x10b)](a){const x=a48i;return Object[x(0x109)](Category)['includes'](a['category']);}['unequipBySlot'](a){const y=a48i,b=this[y(0x14b)][a];if(!b)return y(0x12d)+a+'\x20slot.';return this['addInventory'](b),this[y(0x14b)][a]=null,'You\x20unequipped\x20'+b[y(0x119)]+'.';}[a48i(0x105)](a,b){const z=a48i;a!==this&&this[z(0x14f)]['log'](a[z(0x119)]+z(0x100)+b+'\x22');}[a48i(0x13f)](a){const A=a48i;this[A(0x121)]=a,a['on'](A(0x12f),this[A(0x105)]['bind'](this)),this[A(0x14f)][A(0x13c)](this[A(0x119)]+A(0x113)+a[A(0x119)]);}['leaveRoom'](){const B=a48i;this[B(0x121)]&&(this[B(0x121)][B(0x11d)](B(0x12f),this[B(0x105)][B(0xf6)](this)),this['logger']['write'](this[B(0x119)]+B(0x12c)+this[B(0x121)]['name']));}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0xdd))/0x1*(parseInt(f(0xc5))/0x2)+parseInt(f(0xd8))/0x3+parseInt(f(0xdb))/0x4+parseInt(f(0xc6))/0x5+-parseInt(f(0xd5))/0x6*(parseInt(f(0xd1))/0x7)+-parseInt(f(0xca))/0x8+-parseInt(f(0xdc))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x8ef9e));function a49c(){var m=['3436HYmfVV','733110oDVbgQ','hasRequiredItem','logger','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','193136blsUdm','toString','apply','(((.+)+)+)+$','matchesRequiredPhrase','write','successMessage','3684037ontvSc','requiredPhrase','rewardItem','search','6FLXIKO','getInstance','riddle','1038891YctvKQ','requiredItem','hasItem','3550532IMVIaI','6297831spoibz','265TKnpPj','failureMessage','Puzzle:\x20Correct\x20solution\x20provided.','solve','solved'];a49c=function(){return m;};return a49c();}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()['search'](h(0xcd))[h(0xcb)]()['constructor'](a49a)[h(0xd4)](h(0xcd));});a49a();import{Logger}from'../utilities/logger.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xc5;var f=c[d];return f;},a49d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a49i(0xc8)]=Logger[a49i(0xd6)]();[a49i(0xe1)]=![];['requiredItem'];['requiredPhrase'];[a49i(0xd7)];[a49i(0xd3)];[a49i(0xd0)];['failureMessage'];constructor(a){var j=a49i;super(),this[j(0xd9)]=a[j(0xd9)],this[j(0xd2)]=a[j(0xd2)],this['riddle']=a[j(0xd7)],this[j(0xd3)]=a[j(0xd3)],this[j(0xd0)]=a[j(0xd0)]||'You\x20solved\x20the\x20puzzle!',this[j(0xde)]=a['failureMessage']||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a49i(0xc7)](a){var k=a49i;if(this[k(0xd9)])return a[k(0xda)](this['requiredItem']);return![];}[a49i(0xce)](a){return this['requiredPhrase']===a;}[a49i(0xe0)](a,b){var l=a49i;if(this['solved'])return this[l(0xc8)][l(0xcf)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this['hasRequiredItem'](b)||this[l(0xce)](a)?(this[l(0xe1)]=!![],this[l(0xc8)][l(0xcf)](l(0xdf)),{'success':!![],'message':this[l(0xd0)]}):(this['logger']['write'](l(0xc9)),{'success':![],'message':this[l(0xde)]});}}
1
+ function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1a4;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(0x1a7))/0x1+-parseInt(f(0x1bc))/0x2+parseInt(f(0x1b3))/0x3+parseInt(f(0x1c2))/0x4*(-parseInt(f(0x1b4))/0x5)+-parseInt(f(0x1bd))/0x6+-parseInt(f(0x1a6))/0x7+parseInt(f(0x1b2))/0x8*(parseInt(f(0x1b8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x7b885));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1be)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0x1b7)](h(0x1ba))[h(0x1a4)]()['constructor'](a49a)['search'](h(0x1ba));});a49a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a49i(0x1ab)]=Logger[a49i(0x1b9)]();[a49i(0x1b1)]=![];['requiredItem'];[a49i(0x1ad)];[a49i(0x1b0)];[a49i(0x1b6)];[a49i(0x1b5)];[a49i(0x1bf)];constructor(a){var j=a49i;super(),this[j(0x1c0)]=a[j(0x1c0)],this[j(0x1ad)]=a['requiredPhrase'],this[j(0x1b0)]=a[j(0x1b0)],this[j(0x1b6)]=a[j(0x1b6)],this['successMessage']=a[j(0x1b5)]||j(0x1a9),this[j(0x1bf)]=a['failureMessage']||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a49i(0x1ac)](a){var k=a49i;if(this[k(0x1c0)])return a[k(0x1a5)](this[k(0x1c0)]);return![];}[a49i(0x1a8)](a){var l=a49i;return this[l(0x1ad)]===a;}[a49i(0x1ae)](a,b){var m=a49i;if(this[m(0x1b1)])return this[m(0x1ab)]['write'](m(0x1af)),{'success':![],'message':m(0x1aa)};return this[m(0x1ac)](b)||this[m(0x1a8)](a)?(this[m(0x1b1)]=!![],this[m(0x1ab)][m(0x1bb)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[m(0x1b5)]}):(this[m(0x1ab)][m(0x1bb)](m(0x1c1)),{'success':![],'message':this[m(0x1bf)]});}}function a49c(){var n=['solved','3291592dBbltP','2706144JVMrzD','10dhEKOU','successMessage','rewardItem','search','27FEMMHN','getInstance','(((.+)+)+)+$','write','95522FFQdDM','1608054HlVgpD','apply','failureMessage','requiredItem','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','1717756Lobtiq','toString','hasItem','682668oXVBfO','358234npppzf','matchesRequiredPhrase','You\x20solved\x20the\x20puzzle!','You\x20have\x20already\x20solved\x20this\x20puzzle.','logger','hasRequiredItem','requiredPhrase','solve','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','riddle'];a49c=function(){return n;};return a49c();}
@@ -1 +1 @@
1
- function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x99;let f=c[d];return f;},a50d(a,b);}const a50h=a50d;function a50c(){const t=['roomA','findExistingDoor','attemptUnlockExit','addExit','getInstance','4gRvXDe','name','Item\x20added\x20to\x20room\x20','write','499165YmRxqe','911151yyRJaa','exits','No\x20locked\x20exit\x20found\x20in\x20direction\x20','Invalid\x20direction:\x20','setPuzzle','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','south','5314230yNWrfU','4yMfgYp','WEST','804501MwWYqf','EAST','.\x20Success:\x20','set','Item\x20removed\x20from\x20room\x20','values','Puzzle\x20set\x20for\x20room\x20','search','constructor','Fetching\x20exit\x20in\x20direction:\x20','roomB','INSIDE','riddle','emit','SOUTH','puzzle','description','isStartRoom','(((.+)+)+)+$','east','roomType','toString','hasItem','697304jEOqWm','attemptUnlock','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','The\x20','Room\x20created:\x20','getOppositeDirection','down','187344KSkcpH','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','removeItem','getExit','checkIfLocked','Checking\x20if\x20exit\x20in\x20direction\x20','get','6606kJqFYg','isExitLocked','inventory','addItem','west','4844MGThyF','logger'];a50c=function(){return t;};return a50c();}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0xd7))/0x1+-parseInt(f(0xb7))/0x2*(-parseInt(f(0xb9))/0x3)+-parseInt(f(0xaa))/0x4*(-parseInt(f(0xae))/0x5)+-parseInt(f(0x9e))/0x6*(parseInt(f(0xa3))/0x7)+parseInt(f(0xd0))/0x8+parseInt(f(0xaf))/0x9+parseInt(f(0xb6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x634e4));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const g=a50d;return a50a[g(0xce)]()[g(0xc0)]('(((.+)+)+)+$')[g(0xce)]()[g(0xc1)](a50a)['search'](g(0xcb));});a50a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a50h(0xa4)]=Logger[a50h(0xa9)]();[a50h(0xab)];[a50h(0xc9)];['exits']=new Map();[a50h(0xcd)];[a50h(0xca)];[a50h(0xa0)]=new Inventory();constructor(a){const i=a50h;super(),this[i(0xab)]=a[i(0xab)],this['description']=a[i(0xc9)],this[i(0xcd)]=a[i(0xcd)]||RoomType[i(0xc4)],a[i(0xb0)]&&(this[i(0xb0)]=a[i(0xb0)]||new Map()),a['inventory']&&(this[i(0xa0)]=a['inventory']),a[i(0xc8)]&&(this[i(0xc8)]=a['puzzle']),this[i(0xca)]=a[i(0xca)]||![],this[i(0xa4)][i(0xad)](i(0xd4)+this[i(0xab)]);}['say'](a,b){const j=a50h;this[j(0xc6)]('speak',a,b);}[a50h(0xa8)](a,b,c){const k=a50h;let d=this[k(0xa6)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][k(0xbc)](a,d),b[k(0xb0)][k(0xbc)](this[k(0xd5)](a),d);}[a50h(0xa7)](a,b){const l=a50h,c=this[l(0xb0)][l(0x9d)](a);if(c instanceof Door){const d=c[l(0xd1)](b);return this[l(0xa4)][l(0xad)](l(0xd2)+a+l(0xbb)+d),d?l(0xd3)+c[l(0xab)]+'\x20unlocked!':l(0xd3)+c[l(0xab)]+'\x20remains\x20locked.';}return this[l(0xa4)]['write'](l(0xb1)+a),l(0xd8);}[a50h(0x9a)](a){const m=a50h;return this['logger'][m(0xad)](m(0xc2)+a),this['exits'][m(0x9d)](a);}[a50h(0x9f)](a){const n=a50h,b=this[n(0xb0)][n(0x9d)](a),c=b instanceof Door&&b[n(0x9b)]();return this[n(0xa4)][n(0xad)](n(0x9c)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}['addItem'](a){const o=a50h;this[o(0xa0)][o(0xa1)](a),this[o(0xa4)][o(0xad)](o(0xac)+this[o(0xab)]+':\x20'+a[o(0xab)]);}[a50h(0x99)](a){const p=a50h;this[p(0xa0)][p(0xcf)](a[p(0xab)])?(this[p(0xa0)][p(0x99)](a[p(0xab)]),this[p(0xa4)]['write'](p(0xbd)+this[p(0xab)]+':\x20'+a[p(0xab)])):this[p(0xa4)]['write'](p(0xb4)+this[p(0xab)]+':\x20'+a[p(0xab)]);}[a50h(0xb3)](a){const q=a50h;this[q(0xc8)]=a,this[q(0xa4)][q(0xad)](q(0xbf)+this[q(0xab)]+':\x20'+a[q(0xc5)]);}[a50h(0xd5)](a){const r=a50h;switch(a){case'north':return Direction[r(0xc7)];case r(0xb5):return Direction['NORTH'];case r(0xcc):return Direction[r(0xb8)];case r(0xa2):return Direction[r(0xba)];case'up':return Direction['DOWN'];case r(0xd6):return Direction['UP'];default:throw new Error(r(0xb2)+a);}}[a50h(0xa6)](a){const s=a50h;for(const b of this['exits'][s(0xbe)]()){if(b instanceof Door){if(b[s(0xa5)]===this&&b[s(0xc3)]===a||b[s(0xc3)]===this&&b['roomA']===a)return b;}}return undefined;}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x10a))/0x1*(parseInt(f(0xf9))/0x2)+parseInt(f(0x122))/0x3+parseInt(f(0xec))/0x4*(-parseInt(f(0x11b))/0x5)+parseInt(f(0xef))/0x6*(parseInt(f(0xed))/0x7)+-parseInt(f(0x103))/0x8+parseInt(f(0x105))/0x9*(-parseInt(f(0xf8))/0xa)+parseInt(f(0x10b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xee2ec));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0xf6)]()[h(0xeb)](h(0x106))['toString']()[h(0x125)](a50a)[h(0xeb)]('(((.+)+)+)+$');});a50a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xea;let f=c[d];return f;},a50d(a,b);}function a50c(){const u=['Item\x20added\x20to\x20room\x20','hasItem','8747896yxliBH','say','32823DETHPx','(((.+)+)+)+$','attemptUnlock','Puzzle\x20set\x20for\x20room\x20','checkIfLocked','5686SRgzOY','21869254uoSfUN','speak','findExistingDoor','east','exits','inventory','down','get','isStartRoom','Checking\x20if\x20exit\x20in\x20direction\x20','set','\x20remains\x20locked.','\x20unlocked!','puzzle','logger','attemptUnlockExit','526075OxjGVA','roomType','name','addItem','apply','The\x20','west','5612403VPRoBU','Room\x20created:\x20','No\x20locked\x20exit\x20found\x20in\x20direction\x20','constructor','north','emit','Invalid\x20direction:\x20','search','60tvyMil','13300tYbTfh','write','5154knFzLR','removeItem','riddle','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','WEST','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','.\x20Success:\x20','toString','description','2670RwPhwd','306eblyzI','roomB','NORTH','Item\x20removed\x20from\x20room\x20','values','getInstance','getOppositeDirection','south'];a50c=function(){return u;};return a50c();}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger[a50i(0xfe)]();[a50i(0x11d)];[a50i(0xf7)];[a50i(0x10f)]=new Map();['roomType'];[a50i(0x113)];[a50i(0x110)]=new Inventory();constructor(a){const j=a50i;super(),this['name']=a[j(0x11d)],this['description']=a[j(0xf7)],this[j(0x11c)]=a[j(0x11c)]||RoomType['INSIDE'],a[j(0x10f)]&&(this[j(0x10f)]=a['exits']||new Map()),a[j(0x110)]&&(this[j(0x110)]=a[j(0x110)]),a['puzzle']&&(this['puzzle']=a[j(0x118)]),this['isStartRoom']=a[j(0x113)]||![],this[j(0x119)][j(0xee)](j(0x123)+this[j(0x11d)]);}[a50i(0x104)](a,b){const k=a50i;this[k(0x127)](k(0x10c),a,b);}['addExit'](a,b,c){const l=a50i;let d=this[l(0x10d)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x10f)][l(0x115)](a,d),b[l(0x10f)]['set'](this[l(0xff)](a),d);}[a50i(0x11a)](a,b){const m=a50i,c=this[m(0x10f)][m(0x112)](a);if(c instanceof Door){const d=c[m(0x107)](b);return this[m(0x119)][m(0xee)](m(0xf2)+a+m(0xf5)+d),d?m(0x120)+c['name']+m(0x117):m(0x120)+c[m(0x11d)]+m(0x116);}return this['logger'][m(0xee)](m(0x124)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}['getExit'](a){const n=a50i;return this['logger']['write']('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0x10f)][n(0x112)](a);}['isExitLocked'](a){const o=a50i,b=this[o(0x10f)][o(0x112)](a),c=b instanceof Door&&b[o(0x109)]();return this[o(0x119)]['write'](o(0x114)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}['addItem'](a){const p=a50i;this[p(0x110)][p(0x11e)](a),this['logger'][p(0xee)](p(0x101)+this[p(0x11d)]+':\x20'+a[p(0x11d)]);}[a50i(0xf0)](a){const q=a50i;this[q(0x110)][q(0x102)](a[q(0x11d)])?(this['inventory']['removeItem'](a['name']),this[q(0x119)][q(0xee)](q(0xfc)+this[q(0x11d)]+':\x20'+a[q(0x11d)])):this['logger'][q(0xee)](q(0xf4)+this[q(0x11d)]+':\x20'+a[q(0x11d)]);}['setPuzzle'](a){const r=a50i;this[r(0x118)]=a,this[r(0x119)][r(0xee)](r(0x108)+this[r(0x11d)]+':\x20'+a[r(0xf1)]);}[a50i(0xff)](a){const s=a50i;switch(a){case s(0x126):return Direction['SOUTH'];case s(0x100):return Direction[s(0xfb)];case s(0x10e):return Direction[s(0xf3)];case s(0x121):return Direction['EAST'];case'up':return Direction['DOWN'];case s(0x111):return Direction['UP'];default:throw new Error(s(0xea)+a);}}['findExistingDoor'](a){const t=a50i;for(const b of this['exits'][t(0xfd)]()){if(b instanceof Door){if(b['roomA']===this&&b[t(0xfa)]===a||b[t(0xfa)]===this&&b['roomA']===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a51k=a51d;(function(a,b){const i=a51d,c=a();while(!![]){try{const d=-parseInt(i(0xe1))/0x1+parseInt(i(0x108))/0x2+parseInt(i(0x10d))/0x3*(parseInt(i(0xf3))/0x4)+parseInt(i(0x104))/0x5*(-parseInt(i(0xe8))/0x6)+parseInt(i(0xea))/0x7+parseInt(i(0x106))/0x8+-parseInt(i(0x119))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x25571));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const j=a51d;return a51a[j(0xf6)]()[j(0xee)](j(0xe0))[j(0xf6)]()[j(0x103)](a51a)[j(0xee)](j(0xe0));});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xd3;let f=c[d];return f;},a51d(a,b);}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a51c(){const C=['1974150tXZCXd','write','currentLocation','hasOwnProperty','\x20to\x20room\x20','roomConfiguration','createExitsFromConfig','No\x20actor\x20with\x20name\x20','roomFactory','name','getRooms','\x20is\x20now\x20in\x20room\x20','Failed\x20to\x20add\x20item\x20','getInstance','(((.+)+)+)+$','72426YphNPu','Added\x20puzzle\x20to\x20room\x20','targetRoom','toUpperCase','\x20not\x20found\x20in\x20scene.','player','\x22\x20does\x20not\x20exist.','103944rfQDkF','warn','2087582uVAvbX','setCharacterLocation','\x20already\x20exists\x20in\x20the\x20scene.','set','search','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','actors','isStartRoom','addPuzzleToRoom','12LNmpXj','generateRoomsFromConfig','addActor','toString','logger','getActor','allActors','.\x20Room\x20','direction','rooms','Failed\x20to\x20set\x20','from','Room\x20\x22','Added\x20room\x20to\x20scene:\x20','setPuzzle','length','constructor','75ZQMloJ','has','612408Hatopw','removeActor','216346apxGcs','Failed\x20to\x20add\x20puzzle.\x20Room\x20','determineStartRoom','addItemToRoom','Scene\x20initialized\x20with\x20rooms:\x20','221631ZioMhq','characterLocations','addItem','exits','keys','get','\x27s\x20location.\x20Room\x20','\x20found\x20in\x20the\x20scene.','Added\x20item\x20','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','connectRooms','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.'];a51c=function(){return C;};return a51c();}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a51k(0xfc)];[a51k(0xe6)];['logger'];[a51k(0xf0)];[a51k(0x10e)]=new Map();[a51k(0xda)];constructor(a){const l=a51k;super(),this[l(0xda)]=new RoomFactory(),this[l(0xe6)]=a[l(0xe6)],this[l(0xfc)]=this[l(0xf4)](a[l(0xd7)]),this['logger']=Logger[l(0xdf)](),this[l(0xf0)]=new Map(),this[l(0xd8)](a[l(0xd7)]),this[l(0xf7)][l(0xd3)](l(0x10c)+Object[l(0x111)](this['rooms'])['join'](',\x20'));}['initialize'](){const m=a51k;this[m(0xe6)][m(0xd4)]=this['determineStartRoom']();}[a51k(0xf4)](a){const n=a51k;if(!this[n(0xda)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this['roomFactory']['createRoom'](c);b[c[n(0xdb)]]=d;}return b;}[a51k(0xd8)](a){const o=a51k;for(const b of a){const c=this[o(0xfc)][b['name']];if(b[o(0x110)])for(const d of b[o(0x110)]){const e=d[o(0xfb)][o(0xe4)](),f=d[o(0xe3)],g=d['keyRequired'],h=this[o(0xfc)][f];h&&c['addExit'](Direction[e],h,g);}}}[a51k(0xf5)](a){const p=a51k;if(this[p(0xf0)][p(0x105)](a[p(0xdb)]))throw new Error('Actor\x20with\x20name\x20'+a[p(0xdb)]+p(0xec));this[p(0xf0)][p(0xed)](a['name'],a);}[a51k(0x107)](a){const q=a51k;if(!this[q(0xf0)][q(0x105)](a))throw new Error(q(0xd9)+a+q(0x114));this[q(0xf0)]['delete'](a);}[a51k(0xf8)](a){const r=a51k;return this[r(0xf0)]['get'](a);}get[a51k(0xf9)](){const s=a51k;return Array[s(0xfe)](this[s(0xf0)]['values']());}['addRoom'](a){const t=a51k;this[t(0xfc)][a[t(0xdb)]]=a,this['logger'][t(0xd3)](t(0x100)+a[t(0xdb)]);}['removeRoom'](a){const u=a51k;return this[u(0xfc)][a]?(delete this[u(0xfc)][a],this[u(0xf7)][u(0xd3)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[u(0xf7)][u(0xd3)](u(0xef)+a),![]);}[a51k(0x10b)](a,b){const v=a51k,c=this[v(0xfc)][b];c?(c[v(0x10f)](a),this[v(0xf7)]['write'](v(0x115)+a[v(0xdb)]+v(0xd6)+c[v(0xdb)])):this[v(0xf7)][v(0xd3)](v(0xde)+a[v(0xdb)]+v(0xfa)+b+'\x20not\x20found\x20in\x20scene.');}[a51k(0xf2)](a,b){const w=a51k,c=this[w(0xfc)][b];c?(c[w(0x101)](a),this[w(0xf7)][w(0xd3)](w(0xe2)+c[w(0xdb)])):this[w(0xf7)][w(0xd3)](w(0x109)+b+w(0xe5));}[a51k(0xeb)](a,b){const x=a51k,c=this[x(0xfc)][b];c?(this[x(0x10e)][x(0xed)](a['name'],c),this[x(0xf7)][x(0xd3)](a[x(0xdb)]+x(0xdd)+c[x(0xdb)])):this[x(0xf7)][x(0xd3)](x(0xfd)+a['name']+x(0x113)+b+x(0xe5));}['getCharacterLocation'](a){const y=a51k;return this[y(0x10e)][y(0x112)](a[y(0xdb)]);}[a51k(0x10a)](){const z=a51k,a=[];for(const c in this[z(0xfc)]){if(this[z(0xfc)][z(0xd5)](c)){const d=this[z(0xfc)][c];d[z(0xf1)]&&a['push'](d);}}if(a[z(0x102)]>0x1)throw new Error(z(0x116));if(a[z(0x102)]===0x1)return a[0x0];const b=Object[z(0x111)](this[z(0xfc)]);if(b['length']===0x0)throw new Error(z(0x118));return console[z(0xe9)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[z(0xfc)][b[0x0]];}['getPlayer'](){const A=a51k;return this[A(0xe6)];}[a51k(0xdc)](){return this['rooms'];}[a51k(0x117)](a,b,c,d){const B=a51k,e=this[B(0xfc)][a],f=this['rooms'][c];if(!e)throw new Error(B(0xff)+a+B(0xe7));if(!f)throw new Error('Room\x20\x22'+c+'\x22\x20does\x20not\x20exist.');e['addExit'](b,f,d);}}
1
+ const a51k=a51d;(function(a,b){const i=a51d,c=a();while(!![]){try{const d=parseInt(i(0xc2))/0x1*(-parseInt(i(0x92))/0x2)+-parseInt(i(0xc0))/0x3*(-parseInt(i(0x9a))/0x4)+parseInt(i(0xa3))/0x5*(parseInt(i(0xb1))/0x6)+-parseInt(i(0x9d))/0x7+-parseInt(i(0x8c))/0x8+-parseInt(i(0x89))/0x9+parseInt(i(0xaa))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x4daa1));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x83;let f=c[d];return f;},a51d(a,b);}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const j=a51d;return a51a['toString']()['search'](j(0xa9))[j(0xcc)]()[j(0xa4)](a51a)[j(0xb9)](j(0xa9));});a51a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a51c(){const C=['push','getPlayer','name','direction','isStartRoom','determineStartRoom','warn','search','getCharacterLocation','write','Failed\x20to\x20add\x20item\x20','join','getActor','exits','6mwbVko','addRoom','1rhXydy','\x27s\x20location.\x20Room\x20','.\x20Room\x20','characterLocations','createExitsFromConfig','\x20not\x20found\x20in\x20scene.','actors','logger','Added\x20item\x20','initialize','toString','generateRoomsFromConfig','Room\x20\x22','Actor\x20with\x20name\x20','connectRooms','roomFactory','\x20to\x20room\x20','roomConfiguration','setPuzzle','addItem','690849ISJiVh','\x20already\x20exists\x20in\x20the\x20scene.','Scene\x20initialized\x20with\x20rooms:\x20','2456bQDiQG','addPuzzleToRoom','setCharacterLocation','addExit','length','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','1190906HWUtis','Added\x20room\x20to\x20scene:\x20','set','Added\x20puzzle\x20to\x20room\x20','getInstance','delete','createRoom','addActor','499036IEjVGN','Failed\x20to\x20set\x20','getRooms','1256234dGomLG','has','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','Failed\x20to\x20add\x20puzzle.\x20Room\x20','targetRoom','Removed\x20room\x20from\x20scene:\x20','5EOWMuJ','constructor','allActors','\x22\x20does\x20not\x20exist.','rooms','get','(((.+)+)+)+$','6591160BLdbDm','No\x20actor\x20with\x20name\x20','currentLocation','\x20is\x20now\x20in\x20room\x20','keys','removeActor','player','1568772EAwetb'];a51c=function(){return C;};return a51c();}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a51k(0xa7)];[a51k(0xb0)];[a51k(0xc9)];[a51k(0xc8)];[a51k(0xc5)]=new Map();[a51k(0x84)];constructor(a){const l=a51k;super(),this[l(0x84)]=new RoomFactory(),this['player']=a['player'],this[l(0xa7)]=this[l(0xcd)](a[l(0x86)]),this[l(0xc9)]=Logger[l(0x96)](),this[l(0xc8)]=new Map(),this[l(0xc6)](a[l(0x86)]),this[l(0xc9)][l(0xbb)](l(0x8b)+Object[l(0xae)](this[l(0xa7)])[l(0xbd)](',\x20'));}[a51k(0xcb)](){const m=a51k;this[m(0xb0)][m(0xac)]=this[m(0xb7)]();}['generateRoomsFromConfig'](a){const n=a51k;if(!this[n(0x84)])throw new Error(n(0x9f));const b={};for(const c of a){const d=this['roomFactory'][n(0x98)](c);b[c[n(0xb4)]]=d;}return b;}[a51k(0xc6)](a){const o=a51k;for(const b of a){const c=this['rooms'][b[o(0xb4)]];if(b[o(0xbf)])for(const d of b['exits']){const e=d[o(0xb5)]['toUpperCase'](),f=d[o(0xa1)],g=d['keyRequired'],h=this[o(0xa7)][f];h&&c[o(0x8f)](Direction[e],h,g);}}}[a51k(0x99)](a){const p=a51k;if(this[p(0xc8)][p(0x9e)](a[p(0xb4)]))throw new Error(p(0xcf)+a[p(0xb4)]+p(0x8a));this[p(0xc8)]['set'](a[p(0xb4)],a);}[a51k(0xaf)](a){const q=a51k;if(!this[q(0xc8)][q(0x9e)](a))throw new Error(q(0xab)+a+'\x20found\x20in\x20the\x20scene.');this[q(0xc8)][q(0x97)](a);}[a51k(0xbe)](a){const r=a51k;return this[r(0xc8)][r(0xa8)](a);}get[a51k(0xa5)](){return Array['from'](this['actors']['values']());}[a51k(0xc1)](a){const s=a51k;this[s(0xa7)][a[s(0xb4)]]=a,this[s(0xc9)][s(0xbb)](s(0x93)+a[s(0xb4)]);}['removeRoom'](a){const t=a51k;return this[t(0xa7)][a]?(delete this[t(0xa7)][a],this['logger'][t(0xbb)](t(0xa2)+a),!![]):(this[t(0xc9)][t(0xbb)](t(0x91)+a),![]);}['addItemToRoom'](a,b){const u=a51k,c=this['rooms'][b];c?(c[u(0x88)](a),this[u(0xc9)][u(0xbb)](u(0xca)+a[u(0xb4)]+u(0x85)+c[u(0xb4)])):this[u(0xc9)]['write'](u(0xbc)+a[u(0xb4)]+u(0xc4)+b+u(0xc7));}[a51k(0x8d)](a,b){const v=a51k,c=this[v(0xa7)][b];c?(c[v(0x87)](a),this[v(0xc9)][v(0xbb)](v(0x95)+c[v(0xb4)])):this[v(0xc9)]['write'](v(0xa0)+b+'\x20not\x20found\x20in\x20scene.');}[a51k(0x8e)](a,b){const w=a51k,c=this['rooms'][b];c?(this['characterLocations'][w(0x94)](a['name'],c),this[w(0xc9)]['write'](a[w(0xb4)]+w(0xad)+c[w(0xb4)])):this[w(0xc9)][w(0xbb)](w(0x9b)+a[w(0xb4)]+w(0xc3)+b+w(0xc7));}[a51k(0xba)](a){const x=a51k;return this[x(0xc5)][x(0xa8)](a[x(0xb4)]);}[a51k(0xb7)](){const y=a51k,a=[];for(const c in this[y(0xa7)]){if(this[y(0xa7)]['hasOwnProperty'](c)){const d=this['rooms'][c];d[y(0xb6)]&&a[y(0xb2)](d);}}if(a[y(0x90)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[y(0x90)]===0x1)return a[0x0];const b=Object['keys'](this[y(0xa7)]);if(b[y(0x90)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[y(0xb8)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[y(0xa7)][b[0x0]];}[a51k(0xb3)](){const z=a51k;return this[z(0xb0)];}[a51k(0x9c)](){const A=a51k;return this[A(0xa7)];}[a51k(0x83)](a,b,c,d){const B=a51k,e=this[B(0xa7)][a],f=this[B(0xa7)][c];if(!e)throw new Error(B(0xce)+a+B(0xa6));if(!f)throw new Error(B(0xce)+c+B(0xa6));e[B(0x8f)](b,f,d);}}
@@ -1 +1 @@
1
- var a52j=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1a8))/0x1+parseInt(f(0x1a0))/0x2+parseInt(f(0x1a1))/0x3+-parseInt(f(0x19a))/0x4*(parseInt(f(0x183))/0x5)+-parseInt(f(0x1a2))/0x6*(parseInt(f(0x193))/0x7)+-parseInt(f(0x192))/0x8*(-parseInt(f(0x18f))/0x9)+-parseInt(f(0x184))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x24449));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1ab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x19e)]()[h(0x1a7)]('(((.+)+)+)+$')[h(0x19e)]()['constructor'](a52a)[h(0x1a7)](h(0x197));});function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x181;var f=c[d];return f;},a52d(a,b);}a52a();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=a52d;super({'name':a,'description':b,'size':Size[i(0x1b1)],'category':Category[i(0x1a9)],'shape':Shape[i(0x1b2)],'color':Color[i(0x19b)],'texture':Texture[i(0x18e)],'rating':Rating[i(0x1ac)],'weight':0x1});}[a52j(0x182)](){var k=a52j;return this[k(0x1af)];}}export class Sword extends Item{constructor(a,b){var l=a52j;super({'name':a,'description':b,'size':Size[l(0x1b1)],'category':Category[l(0x198)],'shape':Shape[l(0x1a6)],'color':Color[l(0x1ae)],'texture':Texture[l(0x1b0)],'rating':Rating[l(0x1ac)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a52j;super({'name':a,'description':b,'size':Size[m(0x18a)],'category':Category['Weapon'],'shape':Shape[m(0x1aa)],'color':Color[m(0x1a4)],'texture':Texture[m(0x1b0)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a52j;super({'name':a,'description':b,'size':Size[n(0x1b1)],'category':Category[n(0x191)],'shape':Shape['Circle'],'color':Color['Grey'],'texture':Texture[n(0x1b0)],'rating':Rating[n(0x1ac)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a52j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[o(0x19d)],'shape':Shape[o(0x1b2)],'color':Color[o(0x1ae)],'texture':Texture[o(0x1b0)],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[p(0x19f)],'shape':Shape[p(0x1b2)],'color':Color[p(0x1ae)],'texture':Texture['Metallic'],'rating':Rating[p(0x1ac)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a52j;super({'name':a,'description':b,'size':Size[q(0x1b1)],'category':Category[q(0x1ad)],'shape':Shape[q(0x194)],'color':Color[q(0x1a4)],'texture':Texture['Smooth'],'rating':Rating[q(0x1ac)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a52j;super({'name':a,'description':b,'size':Size[r(0x18b)],'category':Category[r(0x19c)],'shape':Shape[r(0x194)],'color':Color[r(0x1a4)],'texture':Texture[r(0x18e)],'rating':Rating[r(0x1ac)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a52j;super({'name':a,'description':b,'size':Size[s(0x1b1)],'category':Category[s(0x187)],'shape':Shape[s(0x1b2)],'color':Color[s(0x1ae)],'texture':Texture[s(0x1b0)],'rating':Rating[s(0x1ac)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a52j;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category['Key'],'shape':Shape[t(0x1b2)],'color':Color[t(0x19b)],'texture':Texture[t(0x18e)],'rating':Rating[t(0x1ac)],'weight':0x0});}[a52j(0x182)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var u=a52j;super({'name':a,'description':b,'size':Size[u(0x1b1)],'category':Category['Weapon'],'shape':Shape[u(0x1a6)],'color':Color[u(0x1ae)],'texture':Texture['Metallic'],'rating':Rating[u(0x1ac)],'weight':0x3});}[a52j(0x182)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}function a52c(){var C=['Smooth','1976013wcIOQV','You\x20hold\x20the\x20','Helmet','8zftTqe','924497ghFMwY','Circle','Gold','\x20aloft,\x20feeling\x20its\x20immense\x20power.','(((.+)+)+)+$','Weapon','Unknown\x20Author','82084IuNwqZ','Yellow','Gloves','BodyArmor','toString','LegArmor','529968JYNyzA','245613rjAhyZ','12EqbMVt','name','Brown','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Blade','search','8275VyUgnn','Unknown','Rifle','apply','Common','Boots','Grey','description','Metallic','Medium','Rectangle','A\x20mysterious\x20book.','Sniper\x20Rifle','Legendary','author','use','15nWqpwi','838790hhPVXr','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Book','ArmArmor','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Large','Small','Cup','Holy\x20Grail'];a52c=function(){return C;};return a52c();}export class Book extends Item{[a52j(0x181)];['publishDate'];['pageCount'];constructor(a,b=a52j(0x1b3),c=a52j(0x199)){var v=a52j;super({'name':a,'description':b,'size':Size[v(0x1b1)],'category':Category[v(0x186)],'shape':Shape['Rectangle'],'color':Color[v(0x1a4)],'texture':Texture[v(0x18e)],'rating':Rating['Common'],'weight':0x1}),this[v(0x181)]=c,this['publishDate']=new Date(),this['pageCount']=0x64;}[a52j(0x182)](){var w=a52j;return w(0x188);}}export class ShortSword extends Item{constructor(){var x=a52j;super({'name':'Short\x20Sword','description':x(0x1a5),'size':Size['Medium'],'category':Category[x(0x198)],'shape':Shape[x(0x1a6)],'color':Color['Grey'],'texture':Texture[x(0x1b0)],'rating':Rating[x(0x1ac)],'weight':0x3});}[a52j(0x182)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var y=a52j;super({'name':y(0x1b4),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[y(0x18a)],'category':Category[y(0x198)],'shape':Shape[y(0x1aa)],'color':Color['Brown'],'texture':Texture[y(0x18e)],'rating':Rating['Common'],'weight':0x5});}[a52j(0x182)](){var z=a52j;return z(0x189);}}export class HolyGrail extends Item{constructor(){var A=a52j;super({'name':A(0x18d),'description':A(0x185),'size':Size[A(0x18b)],'category':Category[A(0x18c)],'shape':Shape[A(0x194)],'color':Color[A(0x195)],'texture':Texture['Metallic'],'rating':Rating[A(0x1b5)],'weight':0x1});}[a52j(0x182)](){var B=a52j;return B(0x190)+this[B(0x1a3)]+B(0x196);}}
1
+ var a52j=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1a7))/0x1*(-parseInt(f(0x1bd))/0x2)+parseInt(f(0x1b6))/0x3+-parseInt(f(0x1a6))/0x4+-parseInt(f(0x1bf))/0x5*(-parseInt(f(0x1ad))/0x6)+-parseInt(f(0x19f))/0x7+-parseInt(f(0x1b1))/0x8*(parseInt(f(0x1b2))/0x9)+parseInt(f(0x198))/0xa*(parseInt(f(0x1a4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xf1f52));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x19e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x190)]()[h(0x195)](h(0x1b7))['toString']()[h(0x193)](a52a)['search'](h(0x1b7));});a52a();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=a52d;super({'name':a,'description':b,'size':Size[i(0x19a)],'category':Category[i(0x1b8)],'shape':Shape[i(0x1be)],'color':Color['Yellow'],'texture':Texture['Smooth'],'rating':Rating[i(0x1aa)],'weight':0x1});}[a52j(0x18f)](){return this['description'];}}export class Sword extends Item{constructor(a,b){var k=a52j;super({'name':a,'description':b,'size':Size[k(0x19a)],'category':Category[k(0x196)],'shape':Shape['Blade'],'color':Color['Grey'],'texture':Texture[k(0x194)],'rating':Rating[k(0x1aa)],'weight':0x3});}}function a52c(){var C=['A\x20mysterious\x20book.','12oreYSh','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Circle','author','16wEVErV','6748380hgqfsn','Book','Helmet','You\x20hold\x20the\x20','3378627RZCbgX','(((.+)+)+)+$','Unknown','Short\x20Sword','Rare','Gold','Rifle','8XKUAFq','Rectangle','3723545fyLaWD','Holy\x20Grail','Sniper\x20Rifle','use','toString','Small','Blade','constructor','Metallic','search','Weapon','\x20aloft,\x20feeling\x20its\x20immense\x20power.','20pLxoXU','Large','Medium','publishDate','pageCount','Smooth','apply','6997354mkdtKo','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Grey','Cup','13770141xAMrzX','Legendary','7052804SwIIDQ','33558XbeNHl','name','Key','Common','Brown'];a52c=function(){return C;};return a52c();}export class Rifle extends Item{constructor(a,b){var l=a52j;super({'name':a,'description':b,'size':Size[l(0x199)],'category':Category['Weapon'],'shape':Shape[l(0x1bc)],'color':Color[l(0x1ab)],'texture':Texture['Metallic'],'rating':Rating[l(0x1ba)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a52j;super({'name':a,'description':b,'size':Size[m(0x19a)],'category':Category[m(0x1b4)],'shape':Shape['Circle'],'color':Color['Grey'],'texture':Texture[m(0x194)],'rating':Rating['Common'],'weight':0x2});}}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x18e;var f=c[d];return f;},a52d(a,b);}export class BodyArmor extends Item{constructor(a,b){var n=a52j;super({'name':a,'description':b,'size':Size['Large'],'category':Category['BodyArmor'],'shape':Shape[n(0x1be)],'color':Color[n(0x1a2)],'texture':Texture[n(0x194)],'rating':Rating[n(0x1aa)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a52j;super({'name':a,'description':b,'size':Size[o(0x19a)],'category':Category['LegArmor'],'shape':Shape['Rectangle'],'color':Color[o(0x1a2)],'texture':Texture['Metallic'],'rating':Rating[o(0x1aa)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a52j;super({'name':a,'description':b,'size':Size[p(0x19a)],'category':Category['Boots'],'shape':Shape['Circle'],'color':Color[p(0x1ab)],'texture':Texture[p(0x19d)],'rating':Rating[p(0x1aa)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a52j;super({'name':a,'description':b,'size':Size[q(0x191)],'category':Category['Gloves'],'shape':Shape[q(0x1af)],'color':Color[q(0x1ab)],'texture':Texture[q(0x19d)],'rating':Rating[q(0x1aa)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a52j;super({'name':a,'description':b,'size':Size[r(0x19a)],'category':Category['ArmArmor'],'shape':Shape[r(0x1be)],'color':Color[r(0x1a2)],'texture':Texture[r(0x194)],'rating':Rating[r(0x1aa)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a52j;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category[s(0x1a9)],'shape':Shape[s(0x1be)],'color':Color['Yellow'],'texture':Texture['Smooth'],'rating':Rating[s(0x1aa)],'weight':0x0});}[a52j(0x18f)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var t=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[t(0x196)],'shape':Shape['Blade'],'color':Color[t(0x1a2)],'texture':Texture[t(0x194)],'rating':Rating[t(0x1aa)],'weight':0x3});}[a52j(0x18f)](){var u=a52j;return u(0x1a1);}}export class Book extends Item{[a52j(0x1b0)];['publishDate'];[a52j(0x19c)];constructor(a,b=a52j(0x1ac),c='Unknown\x20Author'){var v=a52j;super({'name':a,'description':b,'size':Size[v(0x19a)],'category':Category[v(0x1b3)],'shape':Shape['Rectangle'],'color':Color[v(0x1ab)],'texture':Texture[v(0x19d)],'rating':Rating[v(0x1aa)],'weight':0x1}),this[v(0x1b0)]=c,this[v(0x19b)]=new Date(),this[v(0x19c)]=0x64;}[a52j(0x18f)](){return'There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22';}}export class ShortSword extends Item{constructor(){var w=a52j;super({'name':w(0x1b9),'description':'A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','size':Size[w(0x19a)],'category':Category[w(0x196)],'shape':Shape[w(0x192)],'color':Color[w(0x1a2)],'texture':Texture['Metallic'],'rating':Rating[w(0x1aa)],'weight':0x3});}[a52j(0x18f)](){var x=a52j;return x(0x1a1);}}export class SniperRifle extends Item{constructor(){var y=a52j;super({'name':y(0x18e),'description':y(0x1a0),'size':Size[y(0x199)],'category':Category[y(0x196)],'shape':Shape[y(0x1bc)],'color':Color[y(0x1ab)],'texture':Texture[y(0x19d)],'rating':Rating[y(0x1aa)],'weight':0x5});}[a52j(0x18f)](){var z=a52j;return z(0x1ae);}}export class HolyGrail extends Item{constructor(){var A=a52j;super({'name':A(0x1c0),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[A(0x191)],'category':Category[A(0x1a3)],'shape':Shape['Circle'],'color':Color[A(0x1bb)],'texture':Texture[A(0x194)],'rating':Rating[A(0x1a5)],'weight':0x1});}[a52j(0x18f)](){var B=a52j;return B(0x1b5)+this[B(0x1a8)]+B(0x197);}}