@maka/maka-cli 4.6.2 → 4.6.3

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 +2 -2
  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 -1
  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 -1
  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 +2 -2
@@ -1 +1 @@
1
- const a34i=a34d;function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x1be;let f=c[d];return f;},a34d(a,b);}(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0x1d6))/0x1+parseInt(f(0x1c7))/0x2+parseInt(f(0x1d9))/0x3*(-parseInt(f(0x1c8))/0x4)+-parseInt(f(0x1d0))/0x5+-parseInt(f(0x1d7))/0x6+-parseInt(f(0x1c9))/0x7+parseInt(f(0x1c3))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x5a25d));function a34c(){const k=['write','search','14708592vRoBwW','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','(((.+)+)+)+$','inventory','239432iWeUWN','4068kasdsS','3971835JDbKyy','currentLocation','verb','You\x20search\x20the\x20area\x20and\x20find:\x20','constructor','toString','apply','1479625gDVCPZ','\x20found\x20the\x20following\x20items:\x20','description','listItems','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','SearchCommand:\x20','304376cbaFZt','2726814uDBlvn','actor','1698lwwWxT','logger','execute','name'];a34c=function(){return k;};return a34c();}const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0x1ce)]()['search'](h(0x1c5))[h(0x1ce)]()[h(0x1cd)](a34a)[h(0x1c2)](h(0x1c5));});a34a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a34i(0x1cb)]=a34i(0x1c2);static [a34i(0x1d2)]='Search\x20for\x20items\x20in\x20your\x20area';[a34i(0x1bf)](){const j=a34i,a=this[j(0x1d8)][j(0x1ca)][j(0x1c6)][j(0x1d3)]();if(a['length']===0x0)return this[j(0x1be)][j(0x1c1)]('SearchCommand:\x20'+this[j(0x1d8)][j(0x1c0)]+j(0x1c4)),j(0x1d4);const b=a['join'](',\x20');return this[j(0x1be)][j(0x1c1)](j(0x1d5)+this[j(0x1d8)]['name']+j(0x1d1)+b),j(0x1cc)+b;}}
1
+ const a34i=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0x14d))/0x1*(parseInt(f(0x151))/0x2)+-parseInt(f(0x15c))/0x3*(parseInt(f(0x15d))/0x4)+parseInt(f(0x158))/0x5*(parseInt(f(0x148))/0x6)+-parseInt(f(0x150))/0x7+parseInt(f(0x14f))/0x8+parseInt(f(0x152))/0x9*(-parseInt(f(0x146))/0xa)+-parseInt(f(0x144))/0xb*(-parseInt(f(0x14a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x2d03a));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x149)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a['toString']()[h(0x14b)](h(0x15b))[h(0x147)]()[h(0x154)](a34a)[h(0x14b)](h(0x15b));});function a34c(){const k=['name','SearchCommand:\x20','94193hqASei','You\x20search\x20the\x20area\x20and\x20find:\x20','47540zOnmic','toString','23388NzOVbp','apply','264ClULzz','search','Search\x20for\x20items\x20in\x20your\x20area','78WpbOYC','verb','148256gJiXaD','1409779evWCcE','8300nlrGXd','36VutVST','write','constructor','logger','length','join','125sSeVod','actor','\x20found\x20the\x20following\x20items:\x20','(((.+)+)+)+$','3KjomMF','893108OhlhAB','currentLocation'];a34c=function(){return k;};return a34c();}a34a();function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x142;let f=c[d];return f;},a34d(a,b);}import{Command}from'./command.js';export class SearchCommand extends Command{static [a34i(0x14e)]=a34i(0x14b);static ['description']=a34i(0x14c);['execute'](){const j=a34i,a=this['actor'][j(0x15e)]['inventory']['listItems']();if(a[j(0x156)]===0x0)return this[j(0x155)][j(0x153)](j(0x143)+this[j(0x159)][j(0x142)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0x157)](',\x20');return this['logger']['write'](j(0x143)+this[j(0x159)]['name']+j(0x15a)+b),j(0x145)+b;}}
@@ -1 +1 @@
1
- function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x109;let f=c[d];return f;},a35d(a,b);}function a35c(){const k=['logger','apply','message','381455OhsjvB','addItem','226464GmEmRO','write','solve','rewardItem','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','search','currentLocation','459030JJRjNJ','description','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','verb','join','execute','59969kGKRyx','796070YgmLKZ','inventory','toLowerCase','1847040UZVSvm','puzzle','success','Attempt\x20to\x20solve\x20a\x20puzzle.','102558ScZBRh','(((.+)+)+)+$','actor','SolveCommand:\x20'];a35c=function(){return k;};return a35c();}const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x11d))/0x1+-parseInt(f(0x116))/0x2+parseInt(f(0x126))/0x3+parseInt(f(0x112))/0x4+parseInt(f(0x10f))/0x5+-parseInt(f(0x11f))/0x6+parseInt(f(0x10e))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x4c309));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x11b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a['toString']()[h(0x124)](h(0x117))['toString']()['constructor'](a35a)[h(0x124)](h(0x117));});a35a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a35i(0x10b)]=a35i(0x121);static [a35i(0x109)]=a35i(0x115);[a35i(0x10d)](a){const j=a35i,b=a[j(0x10c)]('\x20')[j(0x111)](),c=this['actor'][j(0x125)];if(!c||!c[j(0x113)])return this[j(0x11a)][j(0x120)](j(0x123)),j(0x10a);const d=c['puzzle'][j(0x121)](b,this[j(0x118)]['inventory']);return d[j(0x114)]&&c[j(0x113)]['rewardItem']&&this[j(0x118)][j(0x110)][j(0x11e)](c[j(0x113)][j(0x122)]),this[j(0x11a)][j(0x120)](j(0x119)+d['message']),d[j(0x11c)];}}
1
+ const a35h=a35d;function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x191;let f=c[d];return f;},a35d(a,b);}(function(a,b){const f=a35d,c=a();while(!![]){try{const d=parseInt(f(0x1a6))/0x1+parseInt(f(0x19b))/0x2+-parseInt(f(0x1a3))/0x3+parseInt(f(0x1a9))/0x4+-parseInt(f(0x1a4))/0x5*(-parseInt(f(0x1a1))/0x6)+parseInt(f(0x1ac))/0x7+parseInt(f(0x194))/0x8*(-parseInt(f(0x199))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xe5f6d));const a35b=(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;};}()),a35a=a35b(this,function(){const g=a35d;return a35a[g(0x192)]()[g(0x1ad)]('(((.+)+)+)+$')[g(0x192)]()[g(0x19f)](a35a)[g(0x1ad)](g(0x195));});a35a();import{Command}from'./command.js';function a35c(){const j=['4276923itOORk','search','join','rewardItem','toString','logger','4135328KmNpeS','(((.+)+)+)+$','addItem','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','toLowerCase','18UDQJHf','SolveCommand:\x20','1712740ZtiaLJ','currentLocation','success','puzzle','constructor','write','7416JFpOey','message','4757505ZxyLJM','425fmzReu','actor','1112025onLHia','execute','solve','3508624WcijyO','inventory','verb'];a35c=function(){return j;};return a35c();}export class SolveCommand extends Command{static [a35h(0x1ab)]=a35h(0x1a8);static ['description']='Attempt\x20to\x20solve\x20a\x20puzzle.';[a35h(0x1a7)](a){const i=a35h,b=a[i(0x1ae)]('\x20')[i(0x198)](),c=this['actor'][i(0x19c)];if(!c||!c[i(0x19e)])return this[i(0x193)][i(0x1a0)](i(0x197)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c['puzzle'][i(0x1a8)](b,this['actor'][i(0x1aa)]);return d[i(0x19d)]&&c[i(0x19e)][i(0x191)]&&this[i(0x1a5)][i(0x1aa)][i(0x196)](c[i(0x19e)]['rewardItem']),this['logger']['write'](i(0x19a)+d[i(0x1a2)]),d[i(0x1a2)];}}
@@ -1 +1 @@
1
- function a36c(){const l=['Successfully\x20added\x20\x22','1951122ZJTHlx','toString','1059327JlEDdU','Error\x20during\x20\x27Take\x27\x20command:\x20','take','\x22\x20to\x20','4gqviBU','apply','hasItem','verb','\x20during\x20\x27Take\x27\x20command.','You\x20have\x20taken\x20the\x20','70vtQEDY','2456905KCkTiT','actor','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','5651082fHXGcH','Successfully\x20removed\x20\x22','join','name','20LvZdFG','execute','inventory','Item\x20\x22','currentLocation','removeItem','The\x20item\x20\x22','\x22\x20in\x20this\x20room.','1033454bRPkAe','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','write','7141554RyHnrb','\x22\x20not\x20retrieved\x20from\x20','(((.+)+)+)+$','230840OnbcgI','message','logger','There\x20is\x20no\x20item\x20\x22','constructor','\x22\x20is\x20too\x20heavy\x20to\x20carry.','getItem','search'];a36c=function(){return l;};return a36c();}function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x197;let f=c[d];return f;},a36d(a,b);}const a36i=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0x1a0))/0x1+-parseInt(f(0x1ba))/0x2+-parseInt(f(0x19e))/0x3*(-parseInt(f(0x1a4))/0x4)+-parseInt(f(0x1ab))/0x5+parseInt(f(0x1bd))/0x6+parseInt(f(0x1aa))/0x7*(-parseInt(f(0x1c0))/0x8)+parseInt(f(0x1ae))/0x9*(parseInt(f(0x1b2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xb4c5c));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a36d;if(c){const e=c[g(0x1a5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a[h(0x19f)]()[h(0x19c)](h(0x1bf))[h(0x19f)]()[h(0x199)](a36a)[h(0x19c)]('(((.+)+)+)+$');});a36a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a36i(0x1a7)]=a36i(0x1a2);static ['description']='Pick\x20up\x20an\x20item.';[a36i(0x1b3)](a){const j=a36i;return this[j(0x197)]['write']('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x1b0)]('\x20')),this[j(0x1a2)](a);}[a36i(0x1a2)](a){const k=a36i,b=a['join']('\x20')['toLowerCase'](),c=this[k(0x1ac)][k(0x1b6)];if(!c['inventory'][k(0x1a6)](b))return this[k(0x197)][k(0x1bc)](k(0x1b5)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x1b1)]+k(0x1a8)),k(0x198)+b+k(0x1b9);const d=c[k(0x1b4)][k(0x19b)](b);if(!d)return this[k(0x197)][k(0x1bc)](k(0x1b5)+b+k(0x1be)+c[k(0x1b1)]+k(0x1ad)),k(0x198)+b+k(0x1b9);try{return this[k(0x1ac)]['addInventory'](d),this['logger'][k(0x1bc)](k(0x19d)+b+k(0x1a3)+this[k(0x1ac)]['name']+k(0x1bb)),c[k(0x1b4)][k(0x1b7)](b),this[k(0x197)][k(0x1bc)](k(0x1af)+b+'\x22\x20from\x20'+c['name']+k(0x1ad)),k(0x1a9)+b+'.';}catch(e){return this[k(0x197)][k(0x1bc)](k(0x1a1)+e[k(0x1c1)]),k(0x1b8)+b+k(0x19a);}}}
1
+ const a36h=a36d;function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a36d(a,b);}(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0x1d6))/0x1+-parseInt(f(0x1c3))/0x2*(parseInt(f(0x1c5))/0x3)+parseInt(f(0x1c7))/0x4+parseInt(f(0x1b2))/0x5+parseInt(f(0x1c9))/0x6+-parseInt(f(0x1dc))/0x7+parseInt(f(0x1b8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xbbdf5));function a36c(){const k=['toString','Item\x20\x22','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x22\x20to\x20','execute','message','constructor','removeItem','83553SVyBHA','Pick\x20up\x20an\x20item.','The\x20item\x20\x22','Successfully\x20added\x20\x22','hasItem','take','10651431ZkhgHx','3721435sUIsBi','description','(((.+)+)+)+$','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','toLowerCase','verb','10866632fhaPAI','You\x20have\x20taken\x20the\x20','getItem','name','logger','\x22\x20not\x20found\x20in\x20','write','search','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','actor','\x22\x20not\x20retrieved\x20from\x20','773354VwcdGr','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','6MHMnYV','Error\x20during\x20\x27Take\x27\x20command:\x20','3492260flzHww','\x20during\x20\x27Take\x27\x20command.','1034304ZkPPiz','join','inventory','currentLocation','There\x20is\x20no\x20item\x20\x22'];a36c=function(){return k;};return a36c();}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[g(0x1ce)]()[g(0x1bf)](g(0x1b4))[g(0x1ce)]()[g(0x1d4)](a36a)[g(0x1bf)]('(((.+)+)+)+$');});a36a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a36h(0x1b7)]=a36h(0x1db);static [a36h(0x1b3)]=a36h(0x1d7);[a36h(0x1d2)](a){const i=a36h;return this[i(0x1bc)][i(0x1be)](i(0x1b5)+a[i(0x1ca)]('\x20')),this['take'](a);}[a36h(0x1db)](a){const j=a36h,b=a['join']('\x20')[j(0x1b6)](),c=this[j(0x1c1)][j(0x1cc)];if(!c[j(0x1cb)][j(0x1da)](b))return this[j(0x1bc)][j(0x1be)](j(0x1cf)+b+j(0x1bd)+c[j(0x1bb)]+j(0x1c8)),j(0x1cd)+b+'\x22\x20in\x20this\x20room.';const d=c[j(0x1cb)][j(0x1ba)](b);if(!d)return this[j(0x1bc)][j(0x1be)](j(0x1cf)+b+j(0x1c2)+c[j(0x1bb)]+j(0x1c0)),j(0x1cd)+b+'\x22\x20in\x20this\x20room.';try{return this[j(0x1c1)]['addInventory'](d),this[j(0x1bc)][j(0x1be)](j(0x1d9)+b+j(0x1d1)+this[j(0x1c1)][j(0x1bb)]+j(0x1c4)),c['inventory'][j(0x1d5)](b),this[j(0x1bc)][j(0x1be)]('Successfully\x20removed\x20\x22'+b+'\x22\x20from\x20'+c[j(0x1bb)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x1b9)+b+'.';}catch(e){return this[j(0x1bc)][j(0x1be)](j(0x1c6)+e[j(0x1d3)]),j(0x1d8)+b+j(0x1d0);}}}
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0xcd))/0x1*(parseInt(f(0xbf))/0x2)+parseInt(f(0xbb))/0x3+parseInt(f(0xc0))/0x4*(-parseInt(f(0xc7))/0x5)+parseInt(f(0xb8))/0x6*(parseInt(f(0xcf))/0x7)+-parseInt(f(0xc2))/0x8*(parseInt(f(0xd1))/0x9)+parseInt(f(0xce))/0xa*(-parseInt(f(0xc1))/0xb)+parseInt(f(0xd0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x25371));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xc6)]()[h(0xbc)]('(((.+)+)+)+$')[h(0xc6)]()[h(0xba)](a37a)['search'](h(0xb9));});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xb7;let f=c[d];return f;},a37d(a,b);}function a37c(){const k=['verb','write','join','logger','\x20unqeuiped\x20','818LEebWN','4990zNJRdE','37681cRdAiN','4266720OBojXg','454284uhaZBt','toLowerCase','UnequipCommand:\x20','216dmSveX','(((.+)+)+)+$','constructor','464331hwJnJm','search','unequip','apply','200tqSEBG','4kBoacU','2827fTFiTx','24SQQhrq','execute','actor','Unequip\x20an\x20item.','toString','951105GuFXmq'];a37c=function(){return k;};return a37c();}a37a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a37i(0xc8)]='unqeuip';static ['description']=a37i(0xc5);[a37i(0xc3)](a){const j=a37i,b=a[j(0xca)]('\x20')[j(0xd2)](),c=this['actor'][j(0xbd)](b);return this[j(0xcb)][j(0xc9)](j(0xb7)+this[j(0xc4)]['name']+j(0xcc)+c),c;}}
1
+ const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x177))/0x1+parseInt(f(0x184))/0x2*(-parseInt(f(0x183))/0x3)+-parseInt(f(0x17c))/0x4+parseInt(f(0x178))/0x5+-parseInt(f(0x186))/0x6+-parseInt(f(0x17a))/0x7*(parseInt(f(0x181))/0x8)+parseInt(f(0x188))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x97d0c));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x175;let f=c[d];return f;},a37d(a,b);}function a37c(){const k=['(((.+)+)+)+$','504CUAKSR','actor','2711949BYtbvC','2tpAweM','toString','3133002pvBncR','description','18640125wMEWpq','search','verb','464225RLbylb','5152825jywQvk','execute','45031vazgSx','unequip','4450600gEeLaV','unqeuip','apply','join'];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(0x17e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x185)]()['search'](h(0x180))['toString']()['constructor'](a37a)[h(0x175)]('(((.+)+)+)+$');});a37a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a37i(0x176)]=a37i(0x17d);static [a37i(0x187)]='Unequip\x20an\x20item.';[a37i(0x179)](a){const j=a37i,b=a[j(0x17f)]('\x20')['toLowerCase'](),c=this[j(0x182)][j(0x17b)](b);return this['logger']['write']('UnequipCommand:\x20'+this[j(0x182)]['name']+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0x20a))/0x1*(-parseInt(h(0x20f))/0x2)+-parseInt(h(0x20c))/0x3+-parseInt(h(0x1fe))/0x4*(-parseInt(h(0x21b))/0x5)+parseInt(h(0x1f3))/0x6+parseInt(h(0x1f7))/0x7*(parseInt(h(0x1fc))/0x8)+parseInt(h(0x206))/0x9*(-parseInt(h(0x1fb))/0xa)+-parseInt(h(0x21c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x55590));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x207)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a['toString']()['search'](j(0x1fa))[j(0x205)]()[j(0x211)](a38a)[j(0x216)](j(0x1fa));});function a38c(){const n=['description','isValidDirection','2611245uwIDkV','2128720oouItR','534828rURflU','actor','\x20is\x20attempted\x20to\x20unlock\x20','inventory','241759KumRNu','error','\x22\x20here.','(((.+)+)+)+$','10ZljgBG','80ZrKtgs','.\x20Result:\x20','4OcyvPp','verb','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','getItem','UnlockCommand:\x20','UnlockCommand:\x20No\x20target\x20specified.','unlock','toString','343341nqxgjH','apply','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','logger','266289rSgYpD','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','327645yaEIRt','execute','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','2UioAhm','has','constructor','There\x27s\x20no\x20door\x20named\x20\x22','toLowerCase','name','exits','search','attemptUnlockExit','write'];a38c=function(){return n;};return a38c();}a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a38d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a38k(0x1ff)]=a38k(0x204);static [a38k(0x219)]='Unlock\x20a\x20door.';[a38k(0x20d)](a){const l=a38k;return this[l(0x204)](a);}[a38k(0x204)](a){const m=a38k;if(a['length']===0x0)return this[m(0x209)][m(0x1f8)](m(0x203)),m(0x208);const b=a[0x0]['toLowerCase'](),c=this[m(0x1f4)]['currentLocation'];if(this[m(0x21a)](b)&&c['exits'][m(0x210)](b)){const d=c[m(0x215)]['get'](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[m(0x213)]();if(e&&this['actor'][m(0x1f6)]['hasItem'](e)){const f=this[m(0x1f4)][m(0x1f6)][m(0x201)](e);if(f){const g=c[m(0x217)](b,f[m(0x214)]);return this[m(0x209)][m(0x218)](m(0x202)+this['actor'][m(0x214)]+m(0x1f5)+b+m(0x1fd)+g),g;}}return this[m(0x209)]['write']('UnlockCommand:\x20'+this[m(0x1f4)][m(0x214)]+m(0x20b)+b+'.'),m(0x200);}else return this[m(0x209)][m(0x218)]('UnlockCommand:\x20'+b+m(0x20e)+c[m(0x214)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x1f9);}else return this['logger']['write']('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x214)]+'.'),m(0x212)+b+m(0x1f9);}}
1
+ function a38c(){const n=['error','unlock','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','\x22\x20here.','inventory','366728kHFVIG','toString','isValidDirection','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','3zPxWmI','1143258dVurzd','There\x27s\x20no\x20door\x20named\x20\x22','UnlockCommand:\x20','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','logger','write','unlockItemOrSolution','(((.+)+)+)+$','hasItem','currentLocation','actor','has','attemptUnlockExit','get','toLowerCase','UnlockCommand:\x20No\x20target\x20specified.','Unlock\x20a\x20door.','name','4531640cjIoUs','63eOPPRE','.\x20Result:\x20','length','apply','1827092fwiedP','verb','search','\x20is\x20attempted\x20to\x20unlock\x20','exits','175242bBkZQU','constructor','9719zbvHyi','6898290LJPjlF'];a38c=function(){return n;};return a38c();}const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0x1bf))/0x1+-parseInt(h(0x1bd))/0x2*(parseInt(h(0x1cb))/0x3)+parseInt(h(0x1b8))/0x4+-parseInt(h(0x1b3))/0x5+-parseInt(h(0x1cc))/0x6+parseInt(h(0x1c0))/0x7+parseInt(h(0x1c7))/0x8*(parseInt(h(0x1b4))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x8fa45));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x1c8)]()[j(0x1ba)](j(0x1a8))['toString']()[j(0x1be)](a38a)[j(0x1ba)](j(0x1a8));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a38d(a,b);}a38a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a38k(0x1b9)]=a38k(0x1c2);static ['description']=a38k(0x1b1);['execute'](a){const l=a38k;return this[l(0x1c2)](a);}[a38k(0x1c2)](a){const m=a38k;if(a[m(0x1b6)]===0x0)return this[m(0x1a5)][m(0x1c1)](m(0x1b0)),m(0x1c3);const b=a[0x0]['toLowerCase'](),c=this[m(0x1ab)][m(0x1aa)];if(this[m(0x1c9)](b)&&c[m(0x1bc)][m(0x1ac)](b)){const d=c[m(0x1bc)][m(0x1ae)](b);if(d instanceof Door){const e=d[m(0x1a7)]?.[m(0x1af)]();if(e&&this[m(0x1ab)]['inventory'][m(0x1a9)](e)){const f=this[m(0x1ab)][m(0x1c6)]['getItem'](e);if(f){const g=c[m(0x1ad)](b,f[m(0x1b2)]);return this[m(0x1a5)]['write'](m(0x1a3)+this[m(0x1ab)][m(0x1b2)]+m(0x1bb)+b+m(0x1b5)+g),g;}}return this[m(0x1a5)]['write'](m(0x1a3)+this[m(0x1ab)][m(0x1b2)]+m(0x1ca)+b+'.'),m(0x1c4);}else return this[m(0x1a5)][m(0x1a6)](m(0x1a3)+b+m(0x1a4)+c[m(0x1b2)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x1c5);}else return this['logger'][m(0x1a6)]('UnlockCommand:\x20'+b+m(0x1a4)+c['name']+'.'),m(0x1a2)+b+m(0x1c5);}}
@@ -1 +1 @@
1
- const a39i=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x162;let f=c[d];return f;},a39d(a,b);}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x181))/0x1*(parseInt(f(0x166))/0x2)+parseInt(f(0x163))/0x3+parseInt(f(0x174))/0x4*(-parseInt(f(0x179))/0x5)+parseInt(f(0x176))/0x6+-parseInt(f(0x16b))/0x7*(parseInt(f(0x16c))/0x8)+-parseInt(f(0x164))/0x9*(parseInt(f(0x162))/0xa)+parseInt(f(0x16a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x88102));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x171)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x186)]()['search'](h(0x182))[h(0x186)]()[h(0x180)](a39a)['search'](h(0x182));});a39a();function a39c(){const l=['toString','832430UPIpYz','1756704KGaxIq','63CXpzHB','You\x20can\x27t\x20use\x20the\x20','8rredLN','toLowerCase','getItem','actor','7677692PNcwFZ','1760794Bweuxj','8kbpuOW','verb','\x20doesn\x27t\x20have\x20a\x20use\x20method.','function','\x20to\x20use.','apply','You\x20don\x27t\x20have\x20the\x20','UseCommand:\x20','3932gBQPSp','logger','5052036FhLgCy','name','\x20not\x20retrieved\x20from\x20','4115CIEsro','\x20in\x20this\x20way.','Use\x20an\x20item.','join','\x27s\x20inventory.','use','description','constructor','18755WIWAbB','(((.+)+)+)+$','\x20used\x20','inventory','write'];a39c=function(){return l;};return a39c();}import{Command}from'./command.js';export class UseCommand extends Command{static [a39i(0x16d)]='use';static [a39i(0x17f)]=a39i(0x17b);['execute'](a){const j=a39i;return this[j(0x17e)](a);}[a39i(0x17e)](a){const k=a39i,b=a[k(0x17c)]('\x20')[k(0x167)]();if(!this[k(0x169)][k(0x184)]['hasItem'](b))return this['logger']['write'](k(0x173)+this[k(0x169)][k(0x177)]+'\x20attempted\x20to\x20use\x20'+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x170);const c=this[k(0x169)]['inventory'][k(0x168)](b);if(!c)return this[k(0x175)][k(0x185)](k(0x173)+b+k(0x178)+this['actor']['name']+k(0x17d)),k(0x172)+b+k(0x170);if(typeof c[k(0x17e)]===k(0x16f)){const d=c[k(0x17e)]();return this['logger'][k(0x185)](k(0x173)+this[k(0x169)][k(0x177)]+k(0x183)+b+'.'),d;}else return this[k(0x175)][k(0x185)](k(0x173)+b+k(0x16e)),k(0x165)+b+k(0x17a);}}
1
+ const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x152))/0x1+-parseInt(f(0x153))/0x2*(parseInt(f(0x142))/0x3)+parseInt(f(0x135))/0x4+-parseInt(f(0x154))/0x5*(-parseInt(f(0x139))/0x6)+parseInt(f(0x13c))/0x7*(parseInt(f(0x157))/0x8)+parseInt(f(0x14d))/0x9*(parseInt(f(0x148))/0xa)+-parseInt(f(0x149))/0xb*(parseInt(f(0x134))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x2e815));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x13e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x137)](h(0x147))[h(0x156)]()[h(0x158)](a39a)[h(0x137)](h(0x147));});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x134;let f=c[d];return f;},a39d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a39i(0x13a);static [a39i(0x14e)]='Use\x20an\x20item.';[a39i(0x150)](a){return this['use'](a);}[a39i(0x13a)](a){const j=a39i,b=a['join']('\x20')[j(0x14a)]();if(!this[j(0x145)][j(0x13f)]['hasItem'](b))return this[j(0x138)][j(0x13d)](j(0x14f)+this[j(0x145)][j(0x13b)]+j(0x141)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),j(0x143)+b+'\x20to\x20use.';const c=this['actor'][j(0x13f)][j(0x140)](b);if(!c)return this['logger'][j(0x13d)](j(0x14f)+b+j(0x155)+this[j(0x145)][j(0x13b)]+'\x27s\x20inventory.'),j(0x143)+b+j(0x136);if(typeof c[j(0x13a)]===j(0x144)){const d=c[j(0x13a)]();return this[j(0x138)][j(0x13d)]('UseCommand:\x20'+this[j(0x145)][j(0x13b)]+j(0x151)+b+'.'),d;}else return this['logger'][j(0x13d)]('UseCommand:\x20'+b+j(0x14b)),j(0x146)+b+j(0x14c);}}function a39c(){const k=['toString','270008PGRUWv','constructor','12fNjZqN','868240ZaYfPS','\x20to\x20use.','search','logger','12VTTzEE','use','name','77BZsJjI','write','apply','inventory','getItem','\x20attempted\x20to\x20use\x20','17799RFjJNv','You\x20don\x27t\x20have\x20the\x20','function','actor','You\x20can\x27t\x20use\x20the\x20','(((.+)+)+)+$','650ltnOKX','13425071LrtCKn','toLowerCase','\x20doesn\x27t\x20have\x20a\x20use\x20method.','\x20in\x20this\x20way.','48348xlvDPm','description','UseCommand:\x20','execute','\x20used\x20','377392UvzhSa','2thjFiX','254965UTYVgt','\x20not\x20retrieved\x20from\x20'];a39c=function(){return k;};return a39c();}
@@ -1 +1 @@
1
- function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xb7;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0xc5))/0x1+-parseInt(f(0xb7))/0x2*(-parseInt(f(0xb8))/0x3)+-parseInt(f(0xca))/0x4*(parseInt(f(0xc3))/0x5)+-parseInt(f(0xbb))/0x6*(parseInt(f(0xba))/0x7)+parseInt(f(0xc0))/0x8*(parseInt(f(0xb9))/0x9)+-parseInt(f(0xbf))/0xa*(parseInt(f(0xcb))/0xb)+-parseInt(f(0xc6))/0xc*(-parseInt(f(0xc2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x38292));function a40c(){const l=['696130fNXyhg','22336wZjEJH','registerCommand','4025541JyNXGt','110pJiTII','createCommand','319662xZhQBU','36JRStkz','constructor','(((.+)+)+)+$','search','45996FlVKok','11EdmLJu','10Gdinsa','107331butHJU','369xMLWBZ','2450287drjNLn','6vhOlGs','toString','apply','commandMap'];a40c=function(){return l;};return a40c();}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xbd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xbc)]()[h(0xc9)](h(0xc8))[h(0xbc)]()[h(0xc7)](a40a)[h(0xc9)](h(0xc8));});a40a();export class CommandFactory{static [a40i(0xbe)]={};static[a40i(0xc1)](a,b){this['commandMap'][a]=b;}static[a40i(0xc4)](a,b){const j=a40i,c=this[j(0xbe)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const k=a40i;return this[k(0xbe)];}}
1
+ function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x86;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;function a40c(){const l=['apply','1065LgCFaB','2441532MYqAjO','getAllRegisteredCommands','(((.+)+)+)+$','search','2021212rRXSDx','5341042zCDckC','constructor','2027700UIOkCO','commandMap','31448oDfbNE','toString','582430ICzfyL','2230ixuHEC','702XzyHQY'];a40c=function(){return l;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x88))/0x1+-parseInt(f(0x89))/0x2*(parseInt(f(0x8c))/0x3)+-parseInt(f(0x91))/0x4+parseInt(f(0x94))/0x5+parseInt(f(0x8d))/0x6+parseInt(f(0x92))/0x7+-parseInt(f(0x86))/0x8*(-parseInt(f(0x8a))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x614c0));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x8b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x87)]()[h(0x90)](h(0x8f))[h(0x87)]()[h(0x93)](a40a)[h(0x90)](h(0x8f));});a40a();export class CommandFactory{static [a40i(0x95)]={};static['registerCommand'](a,b){const j=a40i;this[j(0x95)][a]=b;}static['createCommand'](a,b){const k=a40i,c=this[k(0x95)][a];if(c)return new c(b);return null;}static[a40i(0x8e)](){return this['commandMap'];}}
@@ -1 +1 @@
1
- function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x18b;let f=c[d];return f;},a41d(a,b);}const a41k=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x19a))/0x1+-parseInt(f(0x1af))/0x2*(-parseInt(f(0x194))/0x3)+-parseInt(f(0x1a2))/0x4+-parseInt(f(0x1a1))/0x5+-parseInt(f(0x198))/0x6*(-parseInt(f(0x1ac))/0x7)+parseInt(f(0x1b0))/0x8+-parseInt(f(0x18e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb8972));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x18b)]()['search'](h(0x1a9))[h(0x18b)]()[h(0x18f)](a41a)[h(0x190)](h(0x1a9));});a41a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const i=a41d,b=this[i(0x18c)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[i(0x1a7)][i(0x199)](e=>{const j=i;d[j(0x19e)](this[j(0x19c)](e));}),c[i(0x1ab)]=d;}return a[i(0x192)]&&c[i(0x18d)](this[i(0x1a4)](a[i(0x192)])),c;}[a41k(0x19c)](a){const l=a41k;switch(a['type']){case l(0x1b1):return new Key(a['name'],a[l(0x1a0)]);case'book':return new Book(a[l(0x19f)],a['description'],a[l(0x191)]);case l(0x19d):return new Sword(a[l(0x19f)],a[l(0x1a0)]);case l(0x1ad):return new Rifle(a['name'],a[l(0x1a0)]);case l(0x1a3):return new Helmet(a['name'],a[l(0x1a0)]);case l(0x1aa):return new BodyArmor(a[l(0x19f)],a[l(0x1a0)]);case l(0x1ae):return new LegArmor(a[l(0x19f)],a[l(0x1a0)]);case l(0x19b):return new Boots(a[l(0x19f)],a[l(0x1a0)]);case l(0x197):return new Gloves(a[l(0x19f)],a['description']);case l(0x195):return new Gauntlets(a[l(0x19f)],a['description']);default:return new BasicItem(a[l(0x19f)],a[l(0x1a0)]);}}[a41k(0x1a4)](a){const m=a41k,b=this['createItem'](a[m(0x196)]);return new Puzzle({...a,'rewardItem':b});}[a41k(0x18c)](a){const n=a41k,b=a[n(0x1a8)]&&RoomType[a[n(0x1a8)]['toUpperCase']()]?RoomType[a[n(0x1a8)][n(0x193)]()]:RoomType[n(0x1a5)];return{'name':a[n(0x19f)],'description':a['description'],'isStartRoom':a['isStartRoom'],'roomType':b};}}function a41c(){const o=['gauntlets','rewardItem','gloves','60666EdsQrA','forEach','1172113BMQeJI','boots','createItem','sword','addItem','name','description','6085485YoiAdB','5019508ziwklr','helmet','createPuzzle','INSIDE','apply','items','roomType','(((.+)+)+)+$','bodyarmor','inventory','343FaXwJO','rifle','legarmor','2757998bKNtus','5352704lucMqg','key','toString','convertToRoomConfig','setPuzzle','4388247kFQwvB','constructor','search','content','puzzle','toUpperCase','3DxhAYy'];a41c=function(){return o;};return a41c();}
1
+ const a41k=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x19a))/0x1*(-parseInt(f(0x199))/0x2)+-parseInt(f(0x1aa))/0x3+-parseInt(f(0x1b4))/0x4*(parseInt(f(0x1a9))/0x5)+parseInt(f(0x1af))/0x6*(parseInt(f(0x1b2))/0x7)+parseInt(f(0x1b0))/0x8+-parseInt(f(0x1bd))/0x9*(parseInt(f(0x1b3))/0xa)+parseInt(f(0x1a6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb8922));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x1a5)]()[h(0x1a7)]('(((.+)+)+)+$')[h(0x1a5)]()[h(0x19b)](a41a)[h(0x1a7)](h(0x1ac));});a41a();function a41c(){const o=['addItem','createItem','inventory','key','content','gauntlets','9RmbrtB','656mUhQXx','103gtKacf','constructor','rifle','helmet','book','forEach','isStartRoom','createPuzzle','INSIDE','items','setPuzzle','toString','33645040KItshE','search','apply','60650lsTvKp','4416354wGTBYm','name','(((.+)+)+)+$','description','rewardItem','15978TkrWsH','4607008LQuyxb','bodyarmor','1029kJfhQH','10553210ITrkXj','256nTSysk','puzzle','roomType'];a41c=function(){return o;};return a41c();}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x199;let f=c[d];return f;},a41d(a,b);}export class RoomFactory{['createRoom'](a){const i=a41d,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[i(0x1a3)]){const d=new Inventory();a[i(0x1a3)][i(0x19f)](e=>{const j=i;d[j(0x1b7)](this[j(0x1b8)](e));}),c[i(0x1b9)]=d;}return a[i(0x1b5)]&&c[i(0x1a4)](this[i(0x1a1)](a['puzzle'])),c;}[a41k(0x1b8)](a){const l=a41k;switch(a['type']){case l(0x1ba):return new Key(a[l(0x1ab)],a[l(0x1ad)]);case l(0x19e):return new Book(a[l(0x1ab)],a[l(0x1ad)],a[l(0x1bb)]);case'sword':return new Sword(a[l(0x1ab)],a[l(0x1ad)]);case l(0x19c):return new Rifle(a[l(0x1ab)],a[l(0x1ad)]);case l(0x19d):return new Helmet(a['name'],a['description']);case l(0x1b1):return new BodyArmor(a['name'],a[l(0x1ad)]);case'legarmor':return new LegArmor(a['name'],a['description']);case'boots':return new Boots(a[l(0x1ab)],a['description']);case'gloves':return new Gloves(a[l(0x1ab)],a[l(0x1ad)]);case l(0x1bc):return new Gauntlets(a[l(0x1ab)],a[l(0x1ad)]);default:return new BasicItem(a[l(0x1ab)],a[l(0x1ad)]);}}['createPuzzle'](a){const m=a41k,b=this[m(0x1b8)](a[m(0x1ae)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a41k,b=a['roomType']&&RoomType[a[n(0x1b6)]['toUpperCase']()]?RoomType[a[n(0x1b6)]['toUpperCase']()]:RoomType[n(0x1a2)];return{'name':a[n(0x1ab)],'description':a[n(0x1ad)],'isStartRoom':a[n(0x1a0)],'roomType':b};}}
@@ -1 +1 @@
1
- const a42j=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=parseInt(h(0x17c))/0x1+parseInt(h(0x174))/0x2*(-parseInt(h(0x162))/0x3)+parseInt(h(0x179))/0x4+parseInt(h(0x164))/0x5+-parseInt(h(0x18b))/0x6*(-parseInt(h(0x175))/0x7)+parseInt(h(0x17e))/0x8+-parseInt(h(0x18a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xeb161));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x159;let f=c[d];return f;},a42d(a,b);}const a42b=(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;};}()),a42a=a42b(this,function(){const i=a42d;return a42a[i(0x17a)]()[i(0x16b)](i(0x16c))[i(0x17a)]()[i(0x166)](a42a)['search']('(((.+)+)+)+$');});function a42c(){const q=['toString','clear','1623486ksffnf','instance','3707264FPDcqy','scene','use','registerCommand','Welcome,\x20','lock','execute','determineStartRoom','unequip','getInstance','registerCommands','-\x20quit:\x20Exit\x20the\x20game.\x0a','30949236tIabcb','18gmhNSZ','toLowerCase','hasOwnProperty','trim','help','getRooms','drop','look','maka','createCommand','unlock','equip','2641071Bztvof','split','3937825pwNNvL','getWelcomeMessage','constructor','name','initialize','currentRoom','getAllRegisteredCommands','search','(((.+)+)+)+$','rooms','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','quit','getDescription','currentLocation','handleInput','slice','2gtcboK','4313134sAOhyD','player','take','-\x20clear:\x20Clear\x20the\x20screen.\x0a','2236516ItRfjJ'];a42c=function(){return q;};return a42c();}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';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a42j(0x17d)];['scene'];['player'];[a42j(0x169)];[a42j(0x16d)];constructor(a,b){const k=a42j;this[k(0x176)]=a,this[k(0x17f)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x17f)][k(0x168)](),this[k(0x176)][k(0x171)]=this[k(0x185)](),this[k(0x188)]();}[a42j(0x188)](){const l=a42j;CommandFactory[l(0x181)](l(0x15d),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[l(0x181)](l(0x177),TakeCommand),CommandFactory[l(0x181)](l(0x180),UseCommand),CommandFactory['registerCommand'](l(0x161),EquipCommand),CommandFactory[l(0x181)](l(0x186),UnequipCommand),CommandFactory['registerCommand']('solve',SolveCommand),CommandFactory[l(0x181)](l(0x15c),DropCommand),CommandFactory[l(0x181)](l(0x160),UnlockCommand),CommandFactory[l(0x181)](l(0x183),LockCommand),CommandFactory['registerCommand'](l(0x16b),SearchCommand),CommandFactory[l(0x181)]('say',SayCommand);}[a42j(0x185)](){const m=a42j;return this[m(0x17f)][m(0x185)]();}[a42j(0x165)](){const n=a42j;return n(0x182)+this['player'][n(0x167)];}static[a42j(0x187)](a,b){return!Game['instance']&&(Game['instance']=new Game(a,b)),Game['instance'];}[a42j(0x172)](a){const o=a42j,b=a[o(0x159)]()[o(0x163)]('\x20'),c=b[0x0][o(0x18c)](),d=b[o(0x173)](0x1);if(c===o(0x16f))return null;if(c===o(0x15e))return o(0x16e);if(c===o(0x15a))return this['getHelpMessage']();if(c===o(0x17b))return'';const e={'actor':this[o(0x176)],'rooms':this[o(0x17f)][o(0x15b)](),'scene':this[o(0x17f)]},f=CommandFactory[o(0x15f)](c,e);if(f){const g=f[o(0x184)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}['getHelpMessage'](){const p=a42j,a=CommandFactory[p(0x16a)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[p(0x18d)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[p(0x170)]()+'\x0a';}}return b+=p(0x178),b+=p(0x189),b;}}
1
+ const a42k=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=parseInt(h(0xae))/0x1+parseInt(h(0x9e))/0x2+parseInt(h(0xce))/0x3+parseInt(h(0x99))/0x4*(parseInt(h(0xc9))/0x5)+parseInt(h(0xcd))/0x6*(-parseInt(h(0x9b))/0x7)+parseInt(h(0xc8))/0x8*(-parseInt(h(0xc2))/0x9)+parseInt(h(0xa7))/0xa*(parseInt(h(0xb7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x20d27));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a42d;if(c){const e=c[i(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const j=a42d;return a42a['toString']()['search']('(((.+)+)+)+$')[j(0xc0)]()[j(0xa5)](a42a)[j(0xab)](j(0xa1));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x98;let f=c[d];return f;},a42d(a,b);}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';function a42c(){const s=['currentRoom','currentLocation','instance','getAllRegisteredCommands','determineStartRoom','5731upJJKx','take','execute','Available\x20Commands:\x0a','registerCommand','Welcome,\x20','use','solve','getWelcomeMessage','toString','quit','423hnlrZc','getRooms','help','split','getInstance','maka','44008ZqFCcD','10KHHber','registerCommands','unequip','player','516WFVxdC','264048nPJcKK','getDescription','handleInput','82252GqCqwC','drop','3514KtPvoS','apply','scene','145112VAbAeu','getHelpMessage','createCommand','(((.+)+)+)+$','slice','-\x20clear:\x20Clear\x20the\x20screen.\x0a','rooms','constructor','lock','1850VGYxil','unlock','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','search','trim','toLowerCase','138075TMwOmu','equip','clear','look'];a42c=function(){return s;};return a42c();}import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a42k(0xb4)];[a42k(0x9d)];[a42k(0xcc)];[a42k(0xb2)];[a42k(0xa4)];constructor(a,b){const l=a42k;this[l(0xcc)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this['scene']['initialize'](),this['player'][l(0xb3)]=this[l(0xb6)](),this[l(0xca)]();}[a42k(0xca)](){const m=a42k;CommandFactory[m(0xbb)](m(0xb1),LookCommand),CommandFactory[m(0xbb)]('go',GoCommand),CommandFactory['registerCommand'](m(0xb8),TakeCommand),CommandFactory[m(0xbb)](m(0xbd),UseCommand),CommandFactory[m(0xbb)](m(0xaf),EquipCommand),CommandFactory['registerCommand'](m(0xcb),UnequipCommand),CommandFactory[m(0xbb)](m(0xbe),SolveCommand),CommandFactory['registerCommand'](m(0x9a),DropCommand),CommandFactory[m(0xbb)](m(0xa8),UnlockCommand),CommandFactory[m(0xbb)](m(0xa6),LockCommand),CommandFactory[m(0xbb)](m(0xab),SearchCommand),CommandFactory[m(0xbb)]('say',SayCommand);}['determineStartRoom'](){const n=a42k;return this[n(0x9d)][n(0xb6)]();}[a42k(0xbf)](){const o=a42k;return o(0xbc)+this[o(0xcc)]['name'];}static[a42k(0xc6)](a,b){const p=a42k;return!Game['instance']&&(Game['instance']=new Game(a,b)),Game[p(0xb4)];}[a42k(0x98)](a){const q=a42k,b=a[q(0xac)]()[q(0xc5)]('\x20'),c=b[0x0][q(0xad)](),d=b[q(0xa2)](0x1);if(c===q(0xc1))return null;if(c===q(0xc7))return q(0xaa);if(c===q(0xc4))return this[q(0x9f)]();if(c===q(0xb0))return'';const e={'actor':this[q(0xcc)],'rooms':this['scene'][q(0xc3)](),'scene':this[q(0x9d)]},f=CommandFactory[q(0xa0)](c,e);if(f){const g=f[q(0xb9)](d);return g;}return q(0xa9)+c+'\x22.';}['getHelpMessage'](){const r=a42k,a=CommandFactory[r(0xb5)]();let b=r(0xba);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xcf)]()+'\x0a';}}return b+=r(0xa3),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x111))/0x1+parseInt(f(0x105))/0x2*(parseInt(f(0x10b))/0x3)+parseInt(f(0x10d))/0x4+parseInt(f(0x110))/0x5*(-parseInt(f(0x108))/0x6)+parseInt(f(0x10c))/0x7+parseInt(f(0x107))/0x8+parseInt(f(0x106))/0x9*(-parseInt(f(0x109))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x29b92));var a43b=(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;};}()),a43a=a43b(this,function(){var g=a43d;return a43a[g(0x10a)]()[g(0x10e)](g(0x104))[g(0x10a)]()[g(0x10f)](a43a)['search'](g(0x104));});a43a();export*from'./door.js';function a43c(){var h=['1811376TNPhPk','12tSrrWf','2750jVAVqM','toString','25521upjKDa','145859oXcqOB','875720GcIins','search','constructor','454535JHVlDe','77237nRSNdg','(((.+)+)+)+$','46IPSXoQ','12645wdoyxd'];a43c=function(){return h;};return a43c();}export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x104;var f=c[d];return f;},a43d(a,b);}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(0x190))/0x1*(parseInt(f(0x198))/0x2)+-parseInt(f(0x192))/0x3*(-parseInt(f(0x18f))/0x4)+-parseInt(f(0x18b))/0x5*(parseInt(f(0x18e))/0x6)+parseInt(f(0x196))/0x7+-parseInt(f(0x18c))/0x8+parseInt(f(0x195))/0x9+-parseInt(f(0x194))/0xa*(parseInt(f(0x18d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xbca3a));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x191)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a['toString']()['search']('(((.+)+)+)+$')[h(0x197)]()[h(0x193)](a43a)[h(0x18a)]('(((.+)+)+)+$');});a43a();function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x18a;var f=c[d];return f;},a43d(a,b);}export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a43c(){var i=['10pNPtOH','1275876bfShRN','4729746DFJHmd','toString','68wKCxoE','search','588295ExLLmr','2637088DDTeBz','25402157BUAmyy','12OYIjkb','5722684jHPWSq','41141tRGnmp','apply','3jRIEnO','constructor'];a43c=function(){return i;};return a43c();}export*from'./scene.js';
@@ -1 +1 @@
1
- var a44h=a44d;(function(a,b){var f=a44d,c=a();while(!![]){try{var d=parseInt(f(0x1ee))/0x1*(-parseInt(f(0x1e3))/0x2)+-parseInt(f(0x1e0))/0x3+parseInt(f(0x1f6))/0x4+-parseInt(f(0x1eb))/0x5*(parseInt(f(0x1dd))/0x6)+parseInt(f(0x1d9))/0x7+-parseInt(f(0x1f2))/0x8+parseInt(f(0x1e4))/0x9*(parseInt(f(0x1e5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x8fa36));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(0x1df)]()[g(0x1e2)]('(((.+)+)+)+$')[g(0x1df)]()['constructor'](a44a)[g(0x1e2)](g(0x1e7));});a44a();function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0x1d9;var f=c[d];return f;},a44d(a,b);}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a44h(0x1f8)];['roomB'];[a44h(0x1f4)];[a44h(0x1e6)];[a44h(0x1ef)];['logger'];[a44h(0x1ec)];constructor(a){var i=a44h;super(),this[i(0x1f8)]=a[i(0x1f8)],this['roomB']=a['roomB'],this[i(0x1f4)]=a[i(0x1f4)]||![],this[i(0x1e6)]=a[i(0x1e6)],this[i(0x1ef)]=a[i(0x1ef)]?capitalCase(a[i(0x1ef)]):i(0x1f5)+a[i(0x1e9)]['name'],this[i(0x1da)]=Logger[i(0x1f0)](),this[i(0x1ec)]=!!a['unlockItemOrSolution'],this['logger'][i(0x1f7)](i(0x1f1)+this[i(0x1f8)][i(0x1ef)]+i(0x1de)+this[i(0x1e9)][i(0x1ef)]+i(0x1ea)+this[i(0x1f4)]);}[a44h(0x1f3)](a){var j=a44h;return this[j(0x1f8)]===a?this[j(0x1e9)]:this[j(0x1f8)];}[a44h(0x1e1)](a){var k=a44h;if(this['isLocked']&&this[k(0x1e6)]&&this['unlockItemOrSolution']===a)return this[k(0x1f4)]=![],this['logger'][k(0x1f7)](k(0x1dc)+this[k(0x1ef)]+k(0x1ed)+a),!![];return this[k(0x1da)][k(0x1f7)]('Failed\x20to\x20unlock\x20door:\x20'+this['name']+k(0x1ed)+a),![];}[a44h(0x1db)](){var l=a44h;return this[l(0x1f4)];}[a44h(0x1e8)](){var m=a44h;return this[m(0x1ec)];}}function a44c(){var n=['checkIfLockable','roomB','.\x20Is\x20Locked:\x20','35BYPZss','isLockable','.\x20Used:\x20','7827oTOQfv','name','getInstance','Door\x20created\x20between\x20','3343312gclJuR','getOtherSide','isLocked','To\x20','3562836rDgepL','write','roomA','6071898WpvTul','logger','checkIfLocked','Door\x20unlocked:\x20','1758yBqLBV','\x20and\x20','toString','2484363PCcDww','attemptUnlock','search','36FYWAGW','1557mImeRD','12670NDdJFJ','unlockItemOrSolution','(((.+)+)+)+$'];a44c=function(){return n;};return a44c();}
1
+ var a44i=a44d;(function(a,b){var f=a44d,c=a();while(!![]){try{var d=-parseInt(f(0x186))/0x1*(-parseInt(f(0x177))/0x2)+parseInt(f(0x18a))/0x3*(parseInt(f(0x189))/0x4)+parseInt(f(0x184))/0x5+-parseInt(f(0x191))/0x6*(-parseInt(f(0x188))/0x7)+-parseInt(f(0x175))/0x8+parseInt(f(0x17a))/0x9+-parseInt(f(0x18d))/0xa*(parseInt(f(0x187))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xe47db));var a44b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a44d;if(c){var e=c[g(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){var h=a44d;return a44a[h(0x17c)]()['search'](h(0x17f))[h(0x17c)]()[h(0x18c)](a44a)[h(0x178)](h(0x17f));});a44a();import{Logger}from'../utilities/logger.js';function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0x171;var f=c[d];return f;},a44d(a,b);}function a44c(){var o=['7441dTGaTn','20uREOEw','170169FgqwzC','attemptUnlock','constructor','268370ozmPWv','isLockable','isLocked','checkIfLocked','2202HrIPVb','unlockItemOrSolution','apply','Failed\x20to\x20unlock\x20door:\x20','name','1428832GTPhdA','write','1559256MbeSMV','search','logger','1193787xueTOL','roomA','toString','getOtherSide','checkIfLockable','(((.+)+)+)+$','roomB','Door\x20created\x20between\x20','Door\x20unlocked:\x20','.\x20Is\x20Locked:\x20','3942400WVsjvR','To\x20','2zrIwDU','836DBrTRm'];a44c=function(){return o;};return a44c();}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a44i(0x17b)];[a44i(0x180)];[a44i(0x18f)];[a44i(0x171)];[a44i(0x174)];['logger'];['isLockable'];constructor(a){var j=a44i;super(),this['roomA']=a[j(0x17b)],this[j(0x180)]=a[j(0x180)],this['isLocked']=a[j(0x18f)]||![],this[j(0x171)]=a[j(0x171)],this[j(0x174)]=a['name']?capitalCase(a['name']):j(0x185)+a[j(0x180)]['name'],this['logger']=Logger['getInstance'](),this[j(0x18e)]=!!a['unlockItemOrSolution'],this[j(0x179)][j(0x176)](j(0x181)+this[j(0x17b)][j(0x174)]+'\x20and\x20'+this['roomB'][j(0x174)]+j(0x183)+this[j(0x18f)]);}[a44i(0x17d)](a){var k=a44i;return this[k(0x17b)]===a?this['roomB']:this[k(0x17b)];}[a44i(0x18b)](a){var l=a44i;if(this[l(0x18f)]&&this[l(0x171)]&&this[l(0x171)]===a)return this[l(0x18f)]=![],this[l(0x179)][l(0x176)](l(0x182)+this[l(0x174)]+'.\x20Used:\x20'+a),!![];return this['logger'][l(0x176)](l(0x173)+this['name']+'.\x20Used:\x20'+a),![];}[a44i(0x190)](){var m=a44i;return this[m(0x18f)];}[a44i(0x17e)](){var n=a44i;return this[n(0x18e)];}}
@@ -1 +1 @@
1
- const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x103))/0x1*(parseInt(f(0x106))/0x2)+-parseInt(f(0xee))/0x3*(parseInt(f(0x10b))/0x4)+-parseInt(f(0xea))/0x5+parseInt(f(0xf8))/0x6+parseInt(f(0xf7))/0x7+-parseInt(f(0xfa))/0x8*(parseInt(f(0x101))/0x9)+parseInt(f(0x105))/0xa*(parseInt(f(0x10e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xb8e0f));function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xe6;let f=c[d];return f;},a45d(a,b);}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x107)]()['search'](h(0xfb))[h(0x107)]()[h(0x102)](a45a)[h(0xfe)](h(0xfb));});a45a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a45c(){const q=['getInstance','Listed\x20items\x20in\x20inventory:\x20','.\x20Item\x20not\x20found.','Added\x20item:\x20','write','\x20from\x20inventory.','getItem','listItems','6109865vtTYwv','toLowerCase','items','Retrieved\x20details\x20for\x20item:\x20','144567WZusWG','join','set','.\x20Exists:\x20','logger','removeItem','keys','apply','get','10328689JRPpWa','909936YzvUgw','getWeight','488yIpDVo','(((.+)+)+)+$','addItem','Failed\x20to\x20remove\x20item:\x20','search','weight','values','51237gHzUdy','constructor','6707lqYIKK','Checked\x20for\x20item:\x20','29230vDtDgn','134HelPJr','toString','hasItem','delete','getAllItems','4booakw','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','Removed\x20item:\x20','1122UqKHMb'];a45c=function(){return q;};return a45c();}export class Inventory extends AbstractInventory{['items'];[a45i(0xf2)];constructor(){const j=a45i;super(),this[j(0xec)]=new Map(),this[j(0xf2)]=Logger[j(0x10f)]();}[a45i(0xfc)](a){const k=a45i;this[k(0xec)][k(0xf0)](a['name']['toLowerCase'](),a),this['logger'][k(0xe6)](k(0x112)+a['name']+'\x20to\x20inventory.');}[a45i(0xf3)](a){const l=a45i,b=this[l(0xe8)](a);if(b)return this[l(0xec)][l(0x109)](a[l(0xeb)]()),this[l(0xf2)]['write'](l(0x10d)+a+l(0xe7)),b;return this[l(0xf2)]['write'](l(0xfd)+a+l(0x111)),null;}[a45i(0x108)](a){const m=a45i,b=this[m(0xec)]['has'](a[m(0xeb)]()),c=[...this[m(0xec)]['keys']()];return this[m(0xf2)]['write'](m(0x104)+a+'\x20in\x20'+c['join'](',\x20')+m(0xf1)+b+'.'),b;}[a45i(0xe8)](a){const n=a45i,b=this[n(0xec)][n(0xf6)](a[n(0xeb)]())||null;return b?this[n(0xf2)][n(0xe6)](n(0xed)+a+'.'):this[n(0xf2)]['write'](n(0x10c)+a+n(0x111)),b;}[a45i(0xe9)](){const o=a45i,a=[...this[o(0xec)][o(0xf4)]()],b=a['map'](c=>capitalCase(c));return this[o(0xf2)]['write'](o(0x110)+b[o(0xef)](',\x20')+'.'),a;}[a45i(0xf9)](){const p=a45i;let a=0x0;for(const b of this[p(0xec)][p(0x100)]()){a+=b[p(0xff)];}return a;}[a45i(0x10a)](){return[...this['items']['values']()];}}
1
+ const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x100))/0x1*(parseInt(f(0x111))/0x2)+-parseInt(f(0x117))/0x3*(-parseInt(f(0x120))/0x4)+-parseInt(f(0x11f))/0x5*(parseInt(f(0x121))/0x6)+-parseInt(f(0xfd))/0x7+parseInt(f(0x107))/0x8*(-parseInt(f(0x123))/0x9)+-parseInt(f(0x11d))/0xa+parseInt(f(0x116))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xd5f1a));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x10f)]()[h(0x119)]('(((.+)+)+)+$')[h(0x10f)]()[h(0x10b)](a45a)[h(0x119)](h(0x125));});a45a();import{capitalCase}from'change-case';function a45c(){const r=['889100VbGWsE','getWeight','write','map','.\x20Item\x20not\x20found.','Removed\x20item:\x20','has','8rLFVpR','keys','Listed\x20items\x20in\x20inventory:\x20','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','constructor','get','items','getAllItems','toString','delete','2mkHpdb','\x20from\x20inventory.','\x20in\x20','Retrieved\x20details\x20for\x20item:\x20','\x20to\x20inventory.','33450109AGSEIl','15zlxaEO','.\x20Exists:\x20','search','values','name','weight','9383730PooMlw','Added\x20item:\x20','1305jOFwsk','1141340WDvuoQ','20268FUJQYP','toLowerCase','4430277CabMKa','apply','(((.+)+)+)+$','set','join','Failed\x20to\x20remove\x20item:\x20','addItem','2729272sDQnuz','getItem','logger'];a45c=function(){return r;};return a45c();}function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xfb;let f=c[d];return f;},a45d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a45i(0xff)];constructor(){const j=a45i;super(),this[j(0x10d)]=new Map(),this[j(0xff)]=Logger['getInstance']();}[a45i(0xfc)](a){const k=a45i;this[k(0x10d)][k(0x126)](a[k(0x11b)]['toLowerCase'](),a),this[k(0xff)][k(0x102)](k(0x11e)+a[k(0x11b)]+k(0x115));}['removeItem'](a){const l=a45i,b=this[l(0xfe)](a);if(b)return this[l(0x10d)][l(0x110)](a[l(0x122)]()),this[l(0xff)]['write'](l(0x105)+a+l(0x112)),b;return this[l(0xff)][l(0x102)](l(0xfb)+a+l(0x104)),null;}['hasItem'](a){const m=a45i,b=this['items'][m(0x106)](a['toLowerCase']()),c=[...this[m(0x10d)][m(0x108)]()];return this[m(0xff)][m(0x102)]('Checked\x20for\x20item:\x20'+a+m(0x113)+c['join'](',\x20')+m(0x118)+b+'.'),b;}[a45i(0xfe)](a){const n=a45i,b=this['items'][n(0x10c)](a['toLowerCase']())||null;return b?this['logger'][n(0x102)](n(0x114)+a+'.'):this[n(0xff)][n(0x102)](n(0x10a)+a+n(0x104)),b;}['listItems'](){const o=a45i,a=[...this[o(0x10d)][o(0x108)]()],b=a[o(0x103)](c=>capitalCase(c));return this[o(0xff)]['write'](o(0x109)+b[o(0x127)](',\x20')+'.'),a;}[a45i(0x101)](){const p=a45i;let a=0x0;for(const b of this[p(0x10d)][p(0x11a)]()){a+=b[p(0x11c)];}return a;}[a45i(0x10e)](){const q=a45i;return[...this[q(0x10d)][q(0x11a)]()];}}
@@ -1 +1 @@
1
- var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x169))/0x1*(-parseInt(f(0x16b))/0x2)+-parseInt(f(0x178))/0x3+parseInt(f(0x173))/0x4*(-parseInt(f(0x17b))/0x5)+parseInt(f(0x16c))/0x6+-parseInt(f(0x174))/0x7+parseInt(f(0x164))/0x8+parseInt(f(0x163))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x8a1a9));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x179)]()[h(0x16d)](h(0x161))[h(0x179)]()[h(0x170)](a46a)['search'](h(0x161));});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x161;var f=c[d];return f;},a46d(a,b);}a46a();import{v4 as a46e}from'uuid';function a46c(){var l=['shape','rating','105513NywWlf','You\x20use\x20the\x20','4zHmhAm','3176442SCfEev','search','color','category','constructor','.\x20Nothing\x20special\x20happens.','use','12EVWAPA','7424536KsIwrQ','name','apply','uuid','3192819mnDQwc','toString','description','394190oBrTSY','(((.+)+)+)+$','weight','16377669TliASh','6311888Tixjtt','texture','size'];a46c=function(){return l;};return a46c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a46i(0x177)];[a46i(0x175)];[a46i(0x17a)];['size'];[a46i(0x16f)];[a46i(0x167)];[a46i(0x16e)];['texture'];[a46i(0x168)];[a46i(0x162)];constructor(a){var j=a46i;super(),this[j(0x175)]=a[j(0x175)],this[j(0x17a)]=a[j(0x17a)],this['size']=a[j(0x166)],this[j(0x16f)]=a[j(0x16f)],this['shape']=a[j(0x167)],this[j(0x16e)]=a[j(0x16e)],this['texture']=a[j(0x165)],this[j(0x168)]=a[j(0x168)],this[j(0x162)]=a[j(0x162)],this[j(0x177)]=a46e();}[a46i(0x172)](){var k=a46i;return k(0x16a)+this[k(0x175)]+k(0x171);}}
1
+ var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x147))/0x1+parseInt(f(0x143))/0x2+-parseInt(f(0x13e))/0x3*(-parseInt(f(0x135))/0x4)+parseInt(f(0x13f))/0x5+parseInt(f(0x149))/0x6+parseInt(f(0x140))/0x7*(parseInt(f(0x133))/0x8)+parseInt(f(0x148))/0x9*(-parseInt(f(0x137))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xe83da));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x13c)]()[h(0x13d)](h(0x138))[h(0x13c)]()['constructor'](a46a)['search'](h(0x138));});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x133;var f=c[d];return f;},a46d(a,b);}a46a();import{v4 as a46e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];['name'];[a46i(0x145)];[a46i(0x14a)];['category'];[a46i(0x144)];[a46i(0x146)];[a46i(0x141)];[a46i(0x142)];['weight'];constructor(a){var j=a46i;super(),this[j(0x134)]=a[j(0x134)],this['description']=a[j(0x145)],this[j(0x14a)]=a[j(0x14a)],this['category']=a[j(0x136)],this['shape']=a[j(0x144)],this['color']=a['color'],this[j(0x141)]=a['texture'],this[j(0x142)]=a['rating'],this[j(0x13b)]=a[j(0x13b)],this['uuid']=a46e();}[a46i(0x13a)](){var k=a46i;return'You\x20use\x20the\x20'+this[k(0x134)]+'.\x20Nothing\x20special\x20happens.';}}function a46c(){var l=['7beiEgM','texture','rating','1685134vgMXmN','shape','description','color','282245VxEsaO','48744ApqGtY','9330000gBotFF','size','7328712lpDVfU','name','16NICSXh','category','8440JITKpK','(((.+)+)+)+$','apply','use','weight','toString','search','509469CablmA','9058295tywgIP'];a46c=function(){return l;};return a46c();}
@@ -1 +1 @@
1
- const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x10e))/0x1*(parseInt(f(0x110))/0x2)+parseInt(f(0x118))/0x3+parseInt(f(0x112))/0x4*(parseInt(f(0x107))/0x5)+parseInt(f(0x106))/0x6+parseInt(f(0x10d))/0x7*(parseInt(f(0x10c))/0x8)+-parseInt(f(0x103))/0x9+-parseInt(f(0x10b))/0xa*(parseInt(f(0x105))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x51198));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x114)]()['search'](h(0x10a))[h(0x114)]()['constructor'](a47a)['search']('(((.+)+)+)+$');});a47a();import{Player}from'./player.js';function a47c(){const n=['toString','rooms','moveTo','random','1753764XhszJf','name','autonomousMove','_name','2776365oXxDKZ','speak','77uQKyFi','534516iNVjhS','190395rcpKnO','floor','scene','(((.+)+)+)+$','871330jQDNdP','8aMQxEj','2067247jzoTaF','19StGHrI','_dialogue','21626FvpEvV','apply','8eZfMcE','execute'];a47c=function(){return n;};return a47c();}import{GoCommand}from'../commands/go.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x100;let f=c[d];return f;},a47d(a,b);}export class NPC extends Player{[a47i(0x102)];[a47i(0x10f)];[a47i(0x115)];[a47i(0x109)];constructor(a,b,c,d){const j=a47i;super(d),this[j(0x102)]=a,this['_dialogue']=b,this[j(0x115)]=c;}get[a47i(0x100)](){return this['_name'];}[a47i(0x104)](){const k=a47i;return this['_dialogue'][Math[k(0x108)](Math[k(0x117)]()*this[k(0x10f)]['length'])];}[a47i(0x101)](a){const l=a47i,b=a[Math['floor'](Math[l(0x117)]()*a['length'])];this[l(0x116)](b[l(0x100)]);}[a47i(0x116)](a){const m=a47i,b={'actor':this,'rooms':this[m(0x115)],'scene':this[m(0x109)]},c=new GoCommand(b);c[m(0x113)]([a]);}}
1
+ const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x118))/0x1*(-parseInt(f(0x121))/0x2)+parseInt(f(0x12c))/0x3+-parseInt(f(0x11f))/0x4*(parseInt(f(0x12b))/0x5)+parseInt(f(0x123))/0x6+parseInt(f(0x117))/0x7*(-parseInt(f(0x12a))/0x8)+-parseInt(f(0x11c))/0x9+-parseInt(f(0x119))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x65821));function a47c(){const n=['3916074VDOQZz','random','autonomousMove','execute','constructor','speak','name','248296msqZCq','185feuTAc','1631988sMsKDu','(((.+)+)+)+$','rooms','scene','91TIhaEa','19HvCrxJ','8059730GvkcOK','apply','search','1237626qoszIZ','_name','_dialogue','6548ZOqaDf','toString','65962dZkaup','moveTo'];a47c=function(){return n;};return a47c();}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x120)]()[h(0x11b)](h(0x12d))[h(0x120)]()[h(0x127)](a47a)[h(0x11b)](h(0x12d));});a47a();function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x115;let f=c[d];return f;},a47d(a,b);}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a47i(0x11d)];[a47i(0x11e)];[a47i(0x115)];[a47i(0x116)];constructor(a,b,c,d){const j=a47i;super(d),this['_name']=a,this[j(0x11e)]=b,this[j(0x115)]=c;}get[a47i(0x129)](){return this['_name'];}[a47i(0x128)](){const k=a47i;return this[k(0x11e)][Math['floor'](Math[k(0x124)]()*this[k(0x11e)]['length'])];}[a47i(0x125)](a){const l=a47i,b=a[Math['floor'](Math[l(0x124)]()*a['length'])];this[l(0x122)](b[l(0x129)]);}[a47i(0x122)](a){const m=a47i,b={'actor':this,'rooms':this[m(0x115)],'scene':this[m(0x116)]},c=new GoCommand(b);c[m(0x126)]([a]);}}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x1ac))/0x1+-parseInt(f(0x17f))/0x2*(-parseInt(f(0x19d))/0x3)+parseInt(f(0x182))/0x4+-parseInt(f(0x17d))/0x5+parseInt(f(0x1a9))/0x6*(parseInt(f(0x19c))/0x7)+parseInt(f(0x163))/0x8*(-parseInt(f(0x1a6))/0x9)+-parseInt(f(0x172))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x3dc89));function a48c(){const C=['equipment','bind','hear','weight','_maxCarryingWeight','2478015DHrrzX','Boots','2ZJHSrw','\x20to\x20player\x27s\x20inventory.','weapon','1902984QZtkBQ','head','_currentLocation','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','Max\x20carrying\x20weight\x20must\x20be\x20positive.','Shield','speak','includes','_playerName','name','.\x20You\x20must\x20unequip\x20it\x20first.','_equipment','getInstance','leaveRoom','maxCarryingWeight','log','You\x20unequipped\x20','inventoryItems','initialEquipment','\x20from\x20player\x27s\x20inventory.','removeItem','enterRoom','off','legs','You\x20don\x27t\x20have\x20','search','50001QIFdBi','217041hkLOgp','leg\x20armor','feet','LegArmor','Gloves','rightHand','gloves','armarmor','ArmArmor','25569KvNYvb','logger','determineEquipmentSlot','204aidqAA','hasItem','\x20is\x20now\x20listening\x20in\x20room\x20','313768jSFzlv','Hat','category','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','Helmet','removeInventory','\x20in\x20your\x20inventory.','legarmor','_inventory','playerName','values','constructor','torso','Removed\x20','apply','arm\x20armor','toString','(((.+)+)+)+$','helmet','currentLocation','456EmxPqx','unequipBySlot','Failed\x20to\x20remove\x20','hat','equip','\x20says:\x20\x22','arms','write','Nexus','toLowerCase','A\x20featureless\x20room','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','error','Weapon','addItem','1941180fnKgZw','canEquip','inventory','You\x20equipped\x20','\x20slot.','addInventory'];a48c=function(){return C;};return a48c();}const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x15d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x15f)]()[h(0x19b)](h(0x160))[h(0x15f)]()[h(0x15a)](a48a)[h(0x19b)](h(0x160));});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';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x152;let f=c[d];return f;},a48d(a,b);}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a48i(0x18a)];['_currentLocation'];[a48i(0x157)];[a48i(0x18d)];[a48i(0x17c)]=0x32;[a48i(0x1a7)];constructor(a){const j=a48i;super(),this[j(0x18a)]=a[j(0x158)],this['_currentLocation']=a['startLocation']||new Room({'name':j(0x16b),'description':j(0x16d)}),this[j(0x157)]=new Inventory(),this[j(0x1a7)]=Logger[j(0x18e)]();if(a?.['inventoryItems'])for(const b of a[j(0x193)]){this['_inventory']['addItem'](b);}this[j(0x18d)]=a?.[j(0x194)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a48i(0x18b)](){const k=a48i;return this[k(0x18a)];}get[a48i(0x162)](){const l=a48i;return this[l(0x184)];}set[a48i(0x162)](a){const m=a48i;this['_currentLocation']!==a&&(this[m(0x18f)](),this[m(0x197)](a)),this[m(0x184)]=a;}get[a48i(0x174)](){const n=a48i;return this[n(0x157)];}get[a48i(0x178)](){return this['_equipment'];}set[a48i(0x178)](a){const o=a48i;this[o(0x18d)]=a;}get[a48i(0x190)](){const p=a48i;return this[p(0x17c)];}set['maxCarryingWeight'](a){const q=a48i;a>0x0?this[q(0x17c)]=a:console[q(0x16f)](q(0x186));}get['currentWeight'](){const r=a48i;let a=this[r(0x157)]['getWeight']();for(const b in this[r(0x18d)]){const c=this[r(0x18d)][b];c&&(a+=c['weight']);}return a;}[a48i(0x177)](a){const s=a48i;if(this['currentWeight']+a[s(0x17b)]>this[s(0x190)]){this[s(0x1a7)][s(0x16a)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(s(0x16e));}this[s(0x157)][s(0x171)](a),this[s(0x1a7)][s(0x16a)]('Added\x20'+a[s(0x18b)]+s(0x180));}['removeInventory'](a){const t=a48i;if(this[t(0x157)][t(0x196)](a[t(0x18b)]))return this['logger']['write'](t(0x15c)+a['name']+'\x20from\x20player\x27s\x20inventory.'),!![];return this[t(0x1a7)][t(0x16a)](t(0x165)+a[t(0x18b)]+t(0x195)),![];}[a48i(0x167)](a){const u=a48i;if(!this['_inventory'][u(0x1aa)](a['name']))return u(0x19a)+a['name']+u(0x155);if(!this[u(0x173)](a))return'You\x20can\x27t\x20equip\x20'+a[u(0x18b)]+'.';const b=this[u(0x1a8)](a[u(0x1ae)]);if(!b)return a[u(0x18b)]+u(0x152);if(this[u(0x178)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+u(0x18c);return this[u(0x178)][b]=a,this[u(0x154)](a),u(0x175)+a[u(0x18b)]+'.';}['unequip'](a){const v=a48i;let b=a;if(!this[v(0x178)][camelCase(b)]){b=this[v(0x1a8)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this['unequipBySlot'](b);}[a48i(0x1a8)](a){const w=a48i;switch(a['toLowerCase']()){case Category[w(0x170)][w(0x16c)]():return w(0x1a2);case Category[w(0x187)][w(0x16c)]():return'leftHand';case Category[w(0x1a1)][w(0x16c)]():return w(0x1a3);case Category[w(0x153)]['toLowerCase']():case Category[w(0x1ad)]['toLowerCase']():return w(0x183);case Category[w(0x17e)][w(0x16c)]():return w(0x19f);case Category[w(0x1a0)][w(0x16c)]():return w(0x199);case Category[w(0x1a5)][w(0x16c)]():return w(0x169);case Category['BodyArmor'][w(0x16c)]():return'torso';case w(0x181):return w(0x1a2);case'shield':return'leftHand';case w(0x1a3):return'gloves';case w(0x161):case w(0x166):return w(0x183);case'boots':return'feet';case w(0x19e):case w(0x156):return w(0x199);case w(0x15e):case w(0x1a4):return'arms';case'body\x20armor':case'bodyarmor':case w(0x15b):return'torso';default:return null;}}[a48i(0x173)](a){const x=a48i;return Object[x(0x159)](Category)[x(0x189)](a[x(0x1ae)]);}[a48i(0x164)](a){const y=a48i,b=this[y(0x178)][a];if(!b)return y(0x185)+a+y(0x176);return this[y(0x177)](b),this[y(0x178)][a]=null,y(0x192)+b[y(0x18b)]+'.';}[a48i(0x17a)](a,b){const z=a48i;a!==this&&this[z(0x1a7)][z(0x191)](a[z(0x18b)]+z(0x168)+b+'\x22');}[a48i(0x197)](a){const A=a48i;this[A(0x184)]=a,a['on']('speak',this[A(0x17a)][A(0x179)](this)),this[A(0x1a7)][A(0x16a)](this[A(0x18b)]+A(0x1ab)+a[A(0x18b)]);}[a48i(0x18f)](){const B=a48i;this[B(0x184)]&&(this[B(0x184)][B(0x198)](B(0x188),this[B(0x17a)]['bind'](this)),this['logger'][B(0x16a)](this['name']+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[B(0x184)][B(0x18b)]));}}
1
+ const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x1f4))/0x1*(parseInt(f(0x247))/0x2)+-parseInt(f(0x216))/0x3+parseInt(f(0x1ff))/0x4+-parseInt(f(0x20d))/0x5+-parseInt(f(0x203))/0x6+-parseInt(f(0x213))/0x7*(-parseInt(f(0x237))/0x8)+parseInt(f(0x233))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xda0c5));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1fc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1f2)]()[h(0x200)](h(0x217))[h(0x1f2)]()[h(0x1f9)](a48a)['search'](h(0x217));});a48a();import{camelCase}from'change-case';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a48d(a,b);}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';function a48c(){const C=['gloves','maxCarryingWeight','apply','_currentLocation','addItem','2939192lhuPIv','search','getWeight','removeItem','4984434MSFxws','\x20slot.','error','leaveRoom','initialEquipment','\x20from\x20player\x27s\x20inventory.','\x20is\x20no\x20longer\x20listeng\x20in\x20','inventory','.\x20You\x20must\x20unequip\x20it\x20first.','head','5197620cuGCsN','Shield','arms','ArmArmor','rightHand','_playerName','1556051WltJck','_equipment','You\x20equipped\x20','113247OqbKHs','(((.+)+)+)+$','unequip','arm\x20armor','BodyArmor','bind','toLowerCase','helmet','You\x20can\x27t\x20equip\x20','category','Nexus','Failed\x20to\x20remove\x20','leftHand','currentLocation','enterRoom','Invalid\x20category\x20or\x20slot:\x20','\x20in\x20your\x20inventory.','leg\x20armor','\x20is\x20now\x20listening\x20in\x20room\x20','_inventory','inventoryItems','shield','unequipBySlot','off','boots','weapon','\x20says:\x20\x22','equipment','Added\x20','365004tOzrnC','legarmor','torso','weight','56gLselu','armarmor','equip','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','\x20to\x20player\x27s\x20inventory.','legs','log','Weapon','Hat','A\x20featureless\x20room','determineEquipmentSlot','includes','canEquip','values','currentWeight','LegArmor','86FhbixK','Boots','feet','You\x20don\x27t\x20have\x20','logger','addInventory','You\x20unequipped\x20','write','hear','_maxCarryingWeight','toString','removeInventory','10924mvprRo','name','hasItem','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','speak','constructor'];a48c=function(){return C;};return a48c();}export class Player extends AbstractPlayer{[a48i(0x212)];[a48i(0x1fd)];[a48i(0x229)];[a48i(0x214)];[a48i(0x1f1)]=0x32;[a48i(0x1ec)];constructor(a){const j=a48i;super(),this['_playerName']=a['playerName'],this[j(0x1fd)]=a['startLocation']||new Room({'name':j(0x220),'description':j(0x240)}),this[j(0x229)]=new Inventory(),this[j(0x1ec)]=Logger['getInstance']();if(a?.['inventoryItems'])for(const b of a[j(0x22a)]){this[j(0x229)][j(0x1fe)](b);}this[j(0x214)]=a?.[j(0x207)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a48i(0x1f5)](){const k=a48i;return this[k(0x212)];}get[a48i(0x223)](){const l=a48i;return this[l(0x1fd)];}set[a48i(0x223)](a){const m=a48i;this[m(0x1fd)]!==a&&(this[m(0x206)](),this[m(0x224)](a)),this[m(0x1fd)]=a;}get[a48i(0x20a)](){const n=a48i;return this[n(0x229)];}get['equipment'](){const o=a48i;return this[o(0x214)];}set[a48i(0x231)](a){const p=a48i;this[p(0x214)]=a;}get[a48i(0x1fb)](){return this['_maxCarryingWeight'];}set['maxCarryingWeight'](a){const q=a48i;a>0x0?this[q(0x1f1)]=a:console[q(0x205)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a48i(0x245)](){const r=a48i;let a=this[r(0x229)][r(0x201)]();for(const b in this['_equipment']){const c=this[r(0x214)][b];c&&(a+=c['weight']);}return a;}[a48i(0x1ed)](a){const s=a48i;if(this[s(0x245)]+a[s(0x236)]>this[s(0x1fb)]){this[s(0x1ec)][s(0x1ef)](s(0x1f7));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[s(0x229)][s(0x1fe)](a),this[s(0x1ec)][s(0x1ef)](s(0x232)+a[s(0x1f5)]+s(0x23b));}['removeInventory'](a){const t=a48i;if(this['_inventory'][t(0x202)](a[t(0x1f5)]))return this['logger'][t(0x1ef)]('Removed\x20'+a[t(0x1f5)]+t(0x208)),!![];return this[t(0x1ec)][t(0x1ef)](t(0x221)+a[t(0x1f5)]+t(0x208)),![];}[a48i(0x239)](a){const u=a48i;if(!this[u(0x229)][u(0x1f6)](a[u(0x1f5)]))return u(0x1eb)+a[u(0x1f5)]+u(0x226);if(!this[u(0x243)](a))return u(0x21e)+a['name']+'.';const b=this[u(0x241)](a[u(0x21f)]);if(!b)return a[u(0x1f5)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[u(0x231)][b])return u(0x23a)+b+u(0x20b);return this[u(0x231)][b]=a,this[u(0x1f3)](a),u(0x215)+a['name']+'.';}[a48i(0x218)](a){const v=a48i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[v(0x241)](a);if(!b)return v(0x225)+a+'.';}return this[v(0x22c)](b);}[a48i(0x241)](a){const w=a48i;switch(a[w(0x21c)]()){case Category[w(0x23e)][w(0x21c)]():return w(0x211);case Category[w(0x20e)][w(0x21c)]():return w(0x222);case Category['Gloves'][w(0x21c)]():return w(0x1fa);case Category['Helmet'][w(0x21c)]():case Category[w(0x23f)]['toLowerCase']():return'head';case Category[w(0x248)]['toLowerCase']():return w(0x249);case Category[w(0x246)]['toLowerCase']():return w(0x23c);case Category[w(0x210)]['toLowerCase']():return w(0x20f);case Category[w(0x21a)][w(0x21c)]():return w(0x235);case w(0x22f):return'rightHand';case w(0x22b):return w(0x222);case w(0x1fa):return w(0x1fa);case w(0x21d):case'hat':return w(0x20c);case w(0x22e):return w(0x249);case w(0x227):case w(0x234):return w(0x23c);case w(0x219):case w(0x238):return w(0x20f);case'body\x20armor':case'bodyarmor':case'torso':return'torso';default:return null;}}[a48i(0x243)](a){const x=a48i;return Object[x(0x244)](Category)[x(0x242)](a[x(0x21f)]);}[a48i(0x22c)](a){const y=a48i,b=this[y(0x231)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+y(0x204);return this['addInventory'](b),this[y(0x231)][a]=null,y(0x1ee)+b['name']+'.';}[a48i(0x1f0)](a,b){const z=a48i;a!==this&&this[z(0x1ec)][z(0x23d)](a[z(0x1f5)]+z(0x230)+b+'\x22');}['enterRoom'](a){const A=a48i;this[A(0x1fd)]=a,a['on'](A(0x1f8),this['hear']['bind'](this)),this[A(0x1ec)][A(0x1ef)](this[A(0x1f5)]+A(0x228)+a[A(0x1f5)]);}[a48i(0x206)](){const B=a48i;this['_currentLocation']&&(this[B(0x1fd)][B(0x22d)](B(0x1f8),this[B(0x1f0)][B(0x21b)](this)),this[B(0x1ec)]['write'](this['name']+B(0x209)+this[B(0x1fd)][B(0x1f5)]));}}
@@ -1 +1 @@
1
- var a49i=a49d;function a49c(){var n=['constructor','1059615SycGGO','failureMessage','rewardItem','hasRequiredItem','1503579Txxsfm','Puzzle:\x20Correct\x20solution\x20provided.','3pZYlTe','1225136aGAaDX','requiredItem','You\x20solved\x20the\x20puzzle!','164846qQuxsq','search','riddle','getInstance','18NCisph','requiredPhrase','solve','135370weiaCl','solved','apply','logger','(((.+)+)+)+$','write','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','26356jzUMUJ','toString','successMessage','808782ccxRXw','matchesRequiredPhrase'];a49c=function(){return n;};return a49c();}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x178))/0x1+parseInt(f(0x17f))/0x2+parseInt(f(0x174))/0x3*(-parseInt(f(0x168))/0x4)+parseInt(f(0x16e))/0x5+parseInt(f(0x16b))/0x6+parseInt(f(0x172))/0x7+parseInt(f(0x175))/0x8*(-parseInt(f(0x17c))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x24fbb));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x181)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x169)]()[h(0x179)](h(0x165))[h(0x169)]()[h(0x16d)](a49a)[h(0x179)]('(((.+)+)+)+$');});a49a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x165;var f=c[d];return f;},a49d(a,b);}export class Puzzle extends AbstractPuzzle{[a49i(0x182)]=Logger[a49i(0x17b)]();[a49i(0x180)]=![];[a49i(0x176)];[a49i(0x17d)];[a49i(0x17a)];[a49i(0x170)];[a49i(0x16a)];[a49i(0x16f)];constructor(a){var j=a49i;super(),this[j(0x176)]=a['requiredItem'],this['requiredPhrase']=a['requiredPhrase'],this['riddle']=a[j(0x17a)],this[j(0x170)]=a['rewardItem'],this[j(0x16a)]=a[j(0x16a)]||j(0x177),this[j(0x16f)]=a[j(0x16f)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a49i(0x171)](a){var k=a49i;if(this[k(0x176)])return a['hasItem'](this['requiredItem']);return![];}[a49i(0x16c)](a){var l=a49i;return this[l(0x17d)]===a;}[a49i(0x17e)](a,b){var m=a49i;if(this[m(0x180)])return this[m(0x182)]['write'](m(0x167)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[m(0x171)](b)||this[m(0x16c)](a)?(this[m(0x180)]=!![],this[m(0x182)][m(0x166)](m(0x173)),{'success':!![],'message':this[m(0x16a)]}):(this['logger'][m(0x166)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[m(0x16f)]});}}
1
+ var a49h=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0xf0))/0x1*(parseInt(f(0xe1))/0x2)+parseInt(f(0xf6))/0x3*(parseInt(f(0xe7))/0x4)+-parseInt(f(0xf4))/0x5*(parseInt(f(0xde))/0x6)+-parseInt(f(0xeb))/0x7+-parseInt(f(0xe6))/0x8*(parseInt(f(0xdf))/0x9)+-parseInt(f(0xe3))/0xa+parseInt(f(0xe0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x2172a));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xdc;var f=c[d];return f;},a49d(a,b);}function a49c(){var m=['Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','solved','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','write','failureMessage','constructor','1842vVDtmh','337923JEjfUh','4789851AzjNlV','11846OEKsbT','riddle','841950zsUUgw','You\x20have\x20already\x20solved\x20this\x20puzzle.','requiredItem','40wvWHgi','128hPRHdn','You\x20solved\x20the\x20puzzle!','hasRequiredItem','rewardItem','1376228vkvPiM','toString','requiredPhrase','successMessage','hasItem','19XvdAKj','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','(((.+)+)+)+$','logger','1990ecfXtF','search','16851oLqfEu'];a49c=function(){return m;};return a49c();}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a['toString']()[g(0xf5)](g(0xf2))[g(0xec)]()[g(0xdd)](a49a)[g(0xf5)](g(0xf2));});a49a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger['getInstance']();['solved']=![];[a49h(0xe5)];['requiredPhrase'];[a49h(0xe2)];['rewardItem'];[a49h(0xee)];[a49h(0xdc)];constructor(a){var i=a49h;super(),this[i(0xe5)]=a[i(0xe5)],this['requiredPhrase']=a[i(0xed)],this[i(0xe2)]=a[i(0xe2)],this[i(0xea)]=a[i(0xea)],this[i(0xee)]=a['successMessage']||i(0xe8),this[i(0xdc)]=a[i(0xdc)]||i(0xf9);}[a49h(0xe9)](a){var j=a49h;if(this[j(0xe5)])return a[j(0xef)](this[j(0xe5)]);return![];}['matchesRequiredPhrase'](a){var k=a49h;return this[k(0xed)]===a;}['solve'](a,b){var l=a49h;if(this[l(0xf8)])return this[l(0xf3)][l(0xfa)](l(0xf1)),{'success':![],'message':l(0xe4)};return this[l(0xe9)](b)||this['matchesRequiredPhrase'](a)?(this['solved']=!![],this[l(0xf3)][l(0xfa)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[l(0xee)]}):(this[l(0xf3)][l(0xfa)](l(0xf7)),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x19a))/0x1+parseInt(f(0x189))/0x2*(-parseInt(f(0x17d))/0x3)+parseInt(f(0x186))/0x4+parseInt(f(0x196))/0x5+-parseInt(f(0x183))/0x6+parseInt(f(0x192))/0x7*(-parseInt(f(0x19c))/0x8)+-parseInt(f(0x199))/0x9*(-parseInt(f(0x19b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x2acbc));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()[h(0x16a)]('(((.+)+)+)+$')[h(0x180)]()['constructor'](a50a)[h(0x16a)](h(0x190));});a50a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x162;let f=c[d];return f;},a50d(a,b);}import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a50c(){const u=['.\x20Success:\x20','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','isStartRoom','Item\x20added\x20to\x20room\x20','search','hasItem','apply','west','addExit','\x20unlocked!','\x20is\x20locked.\x20Result:\x20','SOUTH','checkIfLocked','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','roomB','removeItem','values','description','addItem','name','roomType','findExistingDoor','south','40857xvqqdw','\x20remains\x20locked.','getExit','toString','get','NORTH','1281756yhZFeZ','riddle','attemptUnlock','1305452URVzDA','write','east','8pYLgIO','logger','DOWN','setPuzzle','inventory','north','exits','(((.+)+)+)+$','set','23905aQIozi','No\x20locked\x20exit\x20found\x20in\x20direction\x20','attemptUnlockExit','say','1530935pwqsNp','roomA','EAST','144axiWKp','227033EGQBCC','222170FGixgf','744ZkawLv','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','emit','The\x20','WEST','puzzle','getInstance','down','getOppositeDirection','Item\x20removed\x20from\x20room\x20'];a50c=function(){return u;};return a50c();}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a50i(0x18a)]=Logger[a50i(0x162)]();[a50i(0x179)];[a50i(0x177)];['exits']=new Map();[a50i(0x17a)];['isStartRoom'];['inventory']=new Inventory();constructor(a){const j=a50i;super(),this[j(0x179)]=a['name'],this[j(0x177)]=a[j(0x177)],this[j(0x17a)]=a[j(0x17a)]||RoomType['INSIDE'],a['exits']&&(this[j(0x18f)]=a['exits']||new Map()),a['inventory']&&(this[j(0x18d)]=a[j(0x18d)]),a[j(0x1a1)]&&(this[j(0x1a1)]=a[j(0x1a1)]),this[j(0x168)]=a[j(0x168)]||![],this[j(0x18a)]['write']('Room\x20created:\x20'+this[j(0x179)]);}[a50i(0x195)](a,b){const k=a50i;this[k(0x19e)]('speak',a,b);}[a50i(0x16e)](a,b,c){const l=a50i;let d=this[l(0x17b)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x18f)][l(0x191)](a,d),b[l(0x18f)]['set'](this[l(0x164)](a),d);}[a50i(0x194)](a,b){const m=a50i,c=this[m(0x18f)][m(0x181)](a);if(c instanceof Door){const d=c[m(0x185)](b);return this['logger'][m(0x187)](m(0x173)+a+m(0x166)+d),d?m(0x19f)+c[m(0x179)]+m(0x16f):'The\x20'+c[m(0x179)]+m(0x17e);}return this[m(0x18a)][m(0x187)](m(0x193)+a),m(0x19d);}[a50i(0x17f)](a){const n=a50i;return this[n(0x18a)][n(0x187)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0x18f)][n(0x181)](a);}['isExitLocked'](a){const o=a50i,b=this[o(0x18f)][o(0x181)](a),c=b instanceof Door&&b[o(0x172)]();return this[o(0x18a)]['write']('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0x170)+c),c;}[a50i(0x178)](a){const p=a50i;this[p(0x18d)][p(0x178)](a),this[p(0x18a)][p(0x187)](p(0x169)+this[p(0x179)]+':\x20'+a['name']);}['removeItem'](a){const q=a50i;this[q(0x18d)][q(0x16b)](a[q(0x179)])?(this['inventory'][q(0x175)](a[q(0x179)]),this[q(0x18a)]['write'](q(0x165)+this[q(0x179)]+':\x20'+a[q(0x179)])):this[q(0x18a)][q(0x187)](q(0x167)+this[q(0x179)]+':\x20'+a[q(0x179)]);}[a50i(0x18c)](a){const r=a50i;this[r(0x1a1)]=a,this[r(0x18a)][r(0x187)]('Puzzle\x20set\x20for\x20room\x20'+this['name']+':\x20'+a[r(0x184)]);}[a50i(0x164)](a){const s=a50i;switch(a){case s(0x18e):return Direction[s(0x171)];case s(0x17c):return Direction[s(0x182)];case s(0x188):return Direction[s(0x1a0)];case s(0x16d):return Direction[s(0x198)];case'up':return Direction[s(0x18b)];case s(0x163):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a50i(0x17b)](a){const t=a50i;for(const b of this['exits'][t(0x176)]()){if(b instanceof Door){if(b['roomA']===this&&b[t(0x174)]===a||b['roomB']===this&&b[t(0x197)]===a)return b;}}return undefined;}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x1be))/0x1+-parseInt(f(0x1c7))/0x2+-parseInt(f(0x1cf))/0x3+-parseInt(f(0x1c6))/0x4*(parseInt(f(0x1ad))/0x5)+parseInt(f(0x1bd))/0x6*(parseInt(f(0x1ba))/0x7)+-parseInt(f(0x1a0))/0x8*(parseInt(f(0x1c9))/0x9)+-parseInt(f(0x1b7))/0xa*(-parseInt(f(0x194))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x4d5db));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x19c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x19a)]()[h(0x1b6)]('(((.+)+)+)+$')[h(0x19a)]()[h(0x199)](a50a)[h(0x1b6)](h(0x1ce));});a50a();function a50c(){const u=['134868DkoiTL','476148EiDfAr','north','south','roomA','roomType','inventory','WEST','get','4DyDjKZ','1227404OjCZPo','logger','828eELgTJ','findExistingDoor','down','.\x20Success:\x20','EAST','(((.+)+)+)+$','314118wGdNWg','values','puzzle','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','605MMVYGg','hasItem','west','getOppositeDirection','attemptUnlockExit','constructor','toString','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','apply','Fetching\x20exit\x20in\x20direction:\x20','emit','description','45256lFuMoQ','setPuzzle','Invalid\x20direction:\x20','getExit','removeItem','NORTH','\x20remains\x20locked.','east','No\x20locked\x20exit\x20found\x20in\x20direction\x20','Checking\x20if\x20exit\x20in\x20direction\x20','isExitLocked','roomB','write','1541245CVCAAM','name','The\x20','Item\x20added\x20to\x20room\x20','Item\x20removed\x20from\x20room\x20','checkIfLocked','isStartRoom','exits','attemptUnlock','search','219640klIZOz','\x20is\x20locked.\x20Result:\x20','riddle','56KVKhhv','addItem','\x20unlocked!'];a50c=function(){return u;};return a50c();}import{Logger}from'../utilities/logger.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x192;let f=c[d];return f;},a50d(a,b);}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a50i(0x1c8)]=Logger['getInstance']();[a50i(0x1ae)];['description'];[a50i(0x1b4)]=new Map();[a50i(0x1c2)];['isStartRoom'];[a50i(0x1c3)]=new Inventory();constructor(a){const j=a50i;super(),this['name']=a[j(0x1ae)],this[j(0x19f)]=a[j(0x19f)],this['roomType']=a['roomType']||RoomType['INSIDE'],a[j(0x1b4)]&&(this[j(0x1b4)]=a[j(0x1b4)]||new Map()),a[j(0x1c3)]&&(this['inventory']=a['inventory']),a[j(0x192)]&&(this[j(0x192)]=a[j(0x192)]),this['isStartRoom']=a[j(0x1b3)]||![],this[j(0x1c8)]['write']('Room\x20created:\x20'+this['name']);}['say'](a,b){const k=a50i;this[k(0x19e)]('speak',a,b);}['addExit'](a,b,c){const l=a50i;let d=this[l(0x1ca)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1b4)]['set'](a,d),b['exits']['set'](this[l(0x197)](a),d);}[a50i(0x198)](a,b){const m=a50i,c=this[m(0x1b4)][m(0x1c5)](a);if(c instanceof Door){const d=c[m(0x1b5)](b);return this[m(0x1c8)][m(0x1ac)](m(0x19b)+a+m(0x1cc)+d),d?'The\x20'+c[m(0x1ae)]+m(0x1bc):m(0x1af)+c['name']+m(0x1a6);}return this[m(0x1c8)][m(0x1ac)](m(0x1a8)+a),m(0x193);}[a50i(0x1a3)](a){const n=a50i;return this['logger'][n(0x1ac)](n(0x19d)+a),this['exits']['get'](a);}[a50i(0x1aa)](a){const o=a50i,b=this[o(0x1b4)][o(0x1c5)](a),c=b instanceof Door&&b[o(0x1b2)]();return this[o(0x1c8)][o(0x1ac)](o(0x1a9)+a+o(0x1b8)+c),c;}[a50i(0x1bb)](a){const p=a50i;this[p(0x1c3)][p(0x1bb)](a),this[p(0x1c8)][p(0x1ac)](p(0x1b0)+this[p(0x1ae)]+':\x20'+a[p(0x1ae)]);}[a50i(0x1a4)](a){const q=a50i;this[q(0x1c3)][q(0x195)](a[q(0x1ae)])?(this[q(0x1c3)][q(0x1a4)](a[q(0x1ae)]),this['logger'][q(0x1ac)](q(0x1b1)+this[q(0x1ae)]+':\x20'+a[q(0x1ae)])):this[q(0x1c8)][q(0x1ac)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0x1ae)]+':\x20'+a[q(0x1ae)]);}[a50i(0x1a1)](a){const r=a50i;this[r(0x192)]=a,this[r(0x1c8)][r(0x1ac)]('Puzzle\x20set\x20for\x20room\x20'+this[r(0x1ae)]+':\x20'+a[r(0x1b9)]);}['getOppositeDirection'](a){const s=a50i;switch(a){case s(0x1bf):return Direction['SOUTH'];case s(0x1c0):return Direction[s(0x1a5)];case s(0x1a7):return Direction[s(0x1c4)];case s(0x196):return Direction[s(0x1cd)];case'up':return Direction['DOWN'];case s(0x1cb):return Direction['UP'];default:throw new Error(s(0x1a2)+a);}}[a50i(0x1ca)](a){const t=a50i;for(const b of this[t(0x1b4)][t(0x1d0)]()){if(b instanceof Door){if(b[t(0x1c1)]===this&&b[t(0x1ab)]===a||b[t(0x1ab)]===this&&b[t(0x1c1)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a51l=a51d;(function(a,b){const i=a51d,c=a();while(!![]){try{const d=-parseInt(i(0x193))/0x1+parseInt(i(0x1ac))/0x2*(-parseInt(i(0x1cf))/0x3)+-parseInt(i(0x199))/0x4*(parseInt(i(0x1a7))/0x5)+parseInt(i(0x1c4))/0x6+-parseInt(i(0x1ab))/0x7+-parseInt(i(0x1af))/0x8*(parseInt(i(0x1a0))/0x9)+-parseInt(i(0x195))/0xa*(-parseInt(i(0x1aa))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xee42f));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a[k(0x1b9)]()[k(0x1c7)]('(((.+)+)+)+$')[k(0x1b9)]()[k(0x1c1)](a51a)[k(0x1c7)](k(0x1cb));});a51a();function a51c(){const D=['get','1982952IZULHA','\x20not\x20found\x20in\x20scene.','removeRoom','search','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','createRoom','(((.+)+)+)+$','warn','toUpperCase','player','102RXjcge','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','getActor','keys','roomFactory','allActors','join','.\x20Room\x20','No\x20actor\x20with\x20name\x20','setCharacterLocation','isStartRoom','Added\x20room\x20to\x20scene:\x20','logger','exits','\x20to\x20room\x20','\x20is\x20now\x20in\x20room\x20','1844282uawZIv','hasOwnProperty','10PVEyYW','rooms','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','actors','1006268wEOmhG','apply','Actor\x20with\x20name\x20','has','addRoom','Failed\x20to\x20set\x20','Failed\x20to\x20add\x20item\x20','622044XRRUMH','determineStartRoom','roomConfiguration','values','addPuzzleToRoom','push','\x20already\x20exists\x20in\x20the\x20scene.','15GMJigK','write','currentLocation','62931220rqjGYN','3526194ypJcJU','59132Btjmgn','getCharacterLocation','length','112ForgjR','name','direction','addActor','\x22\x20does\x20not\x20exist.','addExit','addItem','\x27s\x20location.\x20Room\x20','keyRequired','characterLocations','toString','Room\x20\x22','getPlayer','initialize','setPuzzle','set','createExitsFromConfig','targetRoom','constructor','Added\x20puzzle\x20to\x20room\x20'];a51c=function(){return D;};return a51c();}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x189;let f=c[d];return f;},a51d(a,b);}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a51l(0x196)];[a51l(0x1ce)];['logger'];[a51l(0x198)];[a51l(0x1b8)]=new Map();[a51l(0x1d3)];constructor(a){const m=a51l;super(),this[m(0x1d3)]=new RoomFactory(),this[m(0x1ce)]=a[m(0x1ce)],this[m(0x196)]=this['generateRoomsFromConfig'](a[m(0x1a2)]),this[m(0x18f)]=Logger['getInstance'](),this[m(0x198)]=new Map(),this[m(0x1bf)](a[m(0x1a2)]),this[m(0x18f)]['write']('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x1d2)](this[m(0x196)])[m(0x189)](',\x20'));}[a51l(0x1bc)](){const n=a51l;this[n(0x1ce)][n(0x1a9)]=this[n(0x1a1)]();}['generateRoomsFromConfig'](a){const o=a51l;if(!this['roomFactory'])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[o(0x1d3)][o(0x1ca)](c);b[c[o(0x1b0)]]=d;}return b;}[a51l(0x1bf)](a){const p=a51l;for(const b of a){const c=this[p(0x196)][b[p(0x1b0)]];if(b[p(0x190)])for(const d of b[p(0x190)]){const e=d[p(0x1b1)][p(0x1cd)](),f=d[p(0x1c0)],g=d[p(0x1b7)],h=this[p(0x196)][f];h&&c[p(0x1b4)](Direction[e],h,g);}}}[a51l(0x1b2)](a){const q=a51l;if(this[q(0x198)]['has'](a['name']))throw new Error(q(0x19b)+a['name']+q(0x1a6));this[q(0x198)]['set'](a[q(0x1b0)],a);}['removeActor'](a){const r=a51l;if(!this[r(0x198)][r(0x19c)](a))throw new Error(r(0x18b)+a+'\x20found\x20in\x20the\x20scene.');this[r(0x198)]['delete'](a);}[a51l(0x1d1)](a){const s=a51l;return this[s(0x198)][s(0x1c3)](a);}get[a51l(0x1d4)](){const t=a51l;return Array['from'](this[t(0x198)][t(0x1a3)]());}[a51l(0x19d)](a){const u=a51l;this[u(0x196)][a[u(0x1b0)]]=a,this[u(0x18f)][u(0x1a8)](u(0x18e)+a[u(0x1b0)]);}[a51l(0x1c6)](a){const v=a51l;return this[v(0x196)][a]?(delete this[v(0x196)][a],this[v(0x18f)][v(0x1a8)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0x18f)][v(0x1a8)](v(0x1d0)+a),![]);}['addItemToRoom'](a,b){const w=a51l,c=this[w(0x196)][b];c?(c[w(0x1b5)](a),this[w(0x18f)][w(0x1a8)]('Added\x20item\x20'+a[w(0x1b0)]+w(0x191)+c[w(0x1b0)])):this['logger']['write'](w(0x19f)+a[w(0x1b0)]+w(0x18a)+b+'\x20not\x20found\x20in\x20scene.');}[a51l(0x1a4)](a,b){const x=a51l,c=this[x(0x196)][b];c?(c[x(0x1bd)](a),this[x(0x18f)][x(0x1a8)](x(0x1c2)+c[x(0x1b0)])):this[x(0x18f)][x(0x1a8)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+x(0x1c5));}[a51l(0x18c)](a,b){const y=a51l,c=this[y(0x196)][b];c?(this['characterLocations'][y(0x1be)](a[y(0x1b0)],c),this[y(0x18f)][y(0x1a8)](a[y(0x1b0)]+y(0x192)+c[y(0x1b0)])):this[y(0x18f)][y(0x1a8)](y(0x19e)+a[y(0x1b0)]+y(0x1b6)+b+'\x20not\x20found\x20in\x20scene.');}[a51l(0x1ad)](a){const z=a51l;return this[z(0x1b8)][z(0x1c3)](a[z(0x1b0)]);}[a51l(0x1a1)](){const A=a51l,a=[];for(const c in this[A(0x196)]){if(this[A(0x196)][A(0x194)](c)){const d=this[A(0x196)][c];d[A(0x18d)]&&a[A(0x1a5)](d);}}if(a[A(0x1ae)]>0x1)throw new Error(A(0x1c8));if(a[A(0x1ae)]===0x1)return a[0x0];const b=Object[A(0x1d2)](this[A(0x196)]);if(b[A(0x1ae)]===0x0)throw new Error(A(0x197));return console[A(0x1cc)](A(0x1c9)),this[A(0x196)][b[0x0]];}[a51l(0x1bb)](){const B=a51l;return this[B(0x1ce)];}['getRooms'](){return this['rooms'];}['connectRooms'](a,b,c,d){const C=a51l,e=this[C(0x196)][a],f=this['rooms'][c];if(!e)throw new Error('Room\x20\x22'+a+C(0x1b3));if(!f)throw new Error(C(0x1ba)+c+'\x22\x20does\x20not\x20exist.');e[C(0x1b4)](b,f,d);}}
1
+ function a51c(){const D=['.\x20Room\x20','delete','Removed\x20room\x20from\x20scene:\x20','direction','addRoom','actors','1022789ozzFYY','characterLocations','30599822BrgPrc','set','addExit','keyRequired','hasOwnProperty','isStartRoom','getPlayer','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','addItemToRoom','determineStartRoom','\x20already\x20exists\x20in\x20the\x20scene.','setCharacterLocation','roomConfiguration','Added\x20room\x20to\x20scene:\x20','5aIaupJ','setPuzzle','name','getInstance','generateRoomsFromConfig','push','has','2nFFSxg','join','200sGdmsb','connectRooms','createExitsFromConfig','get','toUpperCase','createRoom','438466WoERxw','removeRoom','warn','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','addActor','Failed\x20to\x20set\x20','\x20found\x20in\x20the\x20scene.','length','from','\x20not\x20found\x20in\x20scene.','10UMiEjv','roomFactory','Room\x20\x22','\x22\x20does\x20not\x20exist.','Actor\x20with\x20name\x20','keys','addPuzzleToRoom','\x27s\x20location.\x20Room\x20','Scene\x20initialized\x20with\x20rooms:\x20','1540476NDHANa','targetRoom','239901FxQlXW','rooms','apply','getCharacterLocation','player','addItem','constructor','No\x20actor\x20with\x20name\x20','4498612kXXbGX','(((.+)+)+)+$','write','removeActor','initialize','allActors','toString','logger','1209186eQdOeP','search','getRooms','Failed\x20to\x20add\x20item\x20','exits'];a51c=function(){return D;};return a51c();}const a51l=a51d;(function(a,b){const i=a51d,c=a();while(!![]){try{const d=-parseInt(i(0x156))/0x1+parseInt(i(0x11e))/0x2*(-parseInt(i(0x13b))/0x3)+parseInt(i(0x143))/0x4*(parseInt(i(0x166))/0x5)+-parseInt(i(0x14b))/0x6+parseInt(i(0x126))/0x7*(-parseInt(i(0x120))/0x8)+-parseInt(i(0x139))/0x9+-parseInt(i(0x130))/0xa*(-parseInt(i(0x158))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xd331e));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x11a;let f=c[d];return f;},a51d(a,b);}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a[k(0x149)]()['search'](k(0x144))['toString']()[k(0x141)](a51a)[k(0x14c)](k(0x144));});a51a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a51l(0x13c)];[a51l(0x13f)];[a51l(0x14a)];[a51l(0x155)];[a51l(0x157)]=new Map();['roomFactory'];constructor(a){const m=a51l;super(),this[m(0x131)]=new RoomFactory(),this[m(0x13f)]=a['player'],this['rooms']=this[m(0x11b)](a[m(0x164)]),this['logger']=Logger[m(0x11a)](),this['actors']=new Map(),this[m(0x122)](a['roomConfiguration']),this[m(0x14a)][m(0x145)](m(0x138)+Object[m(0x135)](this['rooms'])[m(0x11f)](',\x20'));}[a51l(0x147)](){const n=a51l;this[n(0x13f)]['currentLocation']=this[n(0x161)]();}[a51l(0x11b)](a){const o=a51l;if(!this[o(0x131)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this['roomFactory'][o(0x125)](c);b[c['name']]=d;}return b;}[a51l(0x122)](a){const p=a51l;for(const b of a){const c=this['rooms'][b[p(0x168)]];if(b[p(0x14f)])for(const d of b[p(0x14f)]){const e=d[p(0x153)][p(0x124)](),f=d[p(0x13a)],g=d[p(0x15b)],h=this[p(0x13c)][f];h&&c[p(0x15a)](Direction[e],h,g);}}}[a51l(0x12a)](a){const q=a51l;if(this[q(0x155)]['has'](a[q(0x168)]))throw new Error(q(0x134)+a[q(0x168)]+q(0x162));this[q(0x155)][q(0x159)](a[q(0x168)],a);}[a51l(0x146)](a){const r=a51l;if(!this[r(0x155)][r(0x11d)](a))throw new Error(r(0x142)+a+r(0x12c));this[r(0x155)][r(0x151)](a);}['getActor'](a){const s=a51l;return this[s(0x155)][s(0x123)](a);}get[a51l(0x148)](){const t=a51l;return Array[t(0x12e)](this['actors']['values']());}[a51l(0x154)](a){const u=a51l;this[u(0x13c)][a[u(0x168)]]=a,this[u(0x14a)][u(0x145)](u(0x165)+a[u(0x168)]);}[a51l(0x127)](a){const v=a51l;return this[v(0x13c)][a]?(delete this[v(0x13c)][a],this[v(0x14a)][v(0x145)](v(0x152)+a),!![]):(this['logger'][v(0x145)](v(0x129)+a),![]);}[a51l(0x160)](a,b){const w=a51l,c=this[w(0x13c)][b];c?(c[w(0x140)](a),this[w(0x14a)][w(0x145)]('Added\x20item\x20'+a[w(0x168)]+'\x20to\x20room\x20'+c[w(0x168)])):this[w(0x14a)][w(0x145)](w(0x14e)+a[w(0x168)]+w(0x150)+b+w(0x12f));}[a51l(0x136)](a,b){const x=a51l,c=this[x(0x13c)][b];c?(c[x(0x167)](a),this[x(0x14a)][x(0x145)]('Added\x20puzzle\x20to\x20room\x20'+c['name'])):this[x(0x14a)][x(0x145)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+x(0x12f));}[a51l(0x163)](a,b){const y=a51l,c=this[y(0x13c)][b];c?(this[y(0x157)][y(0x159)](a['name'],c),this[y(0x14a)][y(0x145)](a['name']+'\x20is\x20now\x20in\x20room\x20'+c[y(0x168)])):this[y(0x14a)]['write'](y(0x12b)+a['name']+y(0x137)+b+y(0x12f));}[a51l(0x13e)](a){const z=a51l;return this[z(0x157)][z(0x123)](a[z(0x168)]);}[a51l(0x161)](){const A=a51l,a=[];for(const c in this[A(0x13c)]){if(this[A(0x13c)][A(0x15c)](c)){const d=this[A(0x13c)][c];d[A(0x15d)]&&a[A(0x11c)](d);}}if(a['length']>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[A(0x12d)]===0x1)return a[0x0];const b=Object[A(0x135)](this[A(0x13c)]);if(b[A(0x12d)]===0x0)throw new Error(A(0x15f));return console[A(0x128)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0x13c)][b[0x0]];}[a51l(0x15e)](){return this['player'];}[a51l(0x14d)](){const B=a51l;return this[B(0x13c)];}[a51l(0x121)](a,b,c,d){const C=a51l,e=this[C(0x13c)][a],f=this[C(0x13c)][c];if(!e)throw new Error(C(0x132)+a+C(0x133));if(!f)throw new Error(C(0x132)+c+'\x22\x20does\x20not\x20exist.');e[C(0x15a)](b,f,d);}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xb5))/0x1+parseInt(f(0xc0))/0x2+-parseInt(f(0xbc))/0x3*(-parseInt(f(0xce))/0x4)+parseInt(f(0xca))/0x5+-parseInt(f(0xc8))/0x6+-parseInt(f(0xc9))/0x7*(-parseInt(f(0xa7))/0x8)+parseInt(f(0xcc))/0x9*(-parseInt(f(0xba))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x718d2));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0xc6)]()[g(0xad)](g(0x9e))[g(0xc6)]()['constructor'](a52a)[g(0xad)](g(0x9e));});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 h=a52d;super({'name':a,'description':b,'size':Size[h(0xb2)],'category':Category[h(0xb9)],'shape':Shape[h(0xa1)],'color':Color[h(0xb8)],'texture':Texture[h(0xcb)],'rating':Rating[h(0xc7)],'weight':0x1});}[a52i(0xbf)](){var j=a52i;return this[j(0xb6)];}}export class Sword extends Item{constructor(a,b){var k=a52i;super({'name':a,'description':b,'size':Size[k(0xb2)],'category':Category[k(0xa0)],'shape':Shape[k(0xa4)],'color':Color['Grey'],'texture':Texture[k(0xae)],'rating':Rating[k(0xc7)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a52i;super({'name':a,'description':b,'size':Size[l(0xb1)],'category':Category['Weapon'],'shape':Shape['Rifle'],'color':Color[l(0xa5)],'texture':Texture[l(0xae)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a52i;super({'name':a,'description':b,'size':Size[m(0xb2)],'category':Category[m(0xb7)],'shape':Shape['Circle'],'color':Color['Grey'],'texture':Texture[m(0xae)],'rating':Rating[m(0xc7)],'weight':0x2});}}function a52c(){var C=['A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Gold','Sniper\x20Rifle','toString','Common','1279476mMeYJV','788368VlCznG','1767390cnvxLj','Smooth','509301RgbEge','Boots','852ewGXYu','Grey','author','publishDate','Unknown\x20Author','(((.+)+)+)+$','Small','Weapon','Rectangle','\x20aloft,\x20feeling\x20its\x20immense\x20power.','LegArmor','Blade','Brown','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','56qHYzEo','Holy\x20Grail','BodyArmor','A\x20mysterious\x20book.','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','search','Metallic','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','pageCount','Large','Medium','Circle','Gloves','783005PCCrCS','description','Helmet','Yellow','Unknown','70kjnFiW','Cup','4614UpzgkU','name','ArmArmor','use','776080mMkSrU','Rifle','You\x20hold\x20the\x20'];a52c=function(){return C;};return a52c();}export class BodyArmor extends Item{constructor(a,b){var n=a52i;super({'name':a,'description':b,'size':Size['Large'],'category':Category[n(0xa9)],'shape':Shape[n(0xa1)],'color':Color[n(0xcf)],'texture':Texture[n(0xae)],'rating':Rating[n(0xc7)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a52i;super({'name':a,'description':b,'size':Size[o(0xb2)],'category':Category[o(0xa3)],'shape':Shape['Rectangle'],'color':Color[o(0xcf)],'texture':Texture[o(0xae)],'rating':Rating[o(0xc7)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a52i;super({'name':a,'description':b,'size':Size[p(0xb2)],'category':Category[p(0xcd)],'shape':Shape['Circle'],'color':Color[p(0xa5)],'texture':Texture[p(0xcb)],'rating':Rating[p(0xc7)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a52i;super({'name':a,'description':b,'size':Size['Small'],'category':Category[q(0xb4)],'shape':Shape['Circle'],'color':Color[q(0xa5)],'texture':Texture['Smooth'],'rating':Rating[q(0xc7)],'weight':0x1});}}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x9e;var f=c[d];return f;},a52d(a,b);}export class Gauntlets extends Item{constructor(a,b){var r=a52i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[r(0xbe)],'shape':Shape['Rectangle'],'color':Color[r(0xcf)],'texture':Texture[r(0xae)],'rating':Rating[r(0xc7)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a52i;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category['Key'],'shape':Shape[s(0xa1)],'color':Color[s(0xb8)],'texture':Texture['Smooth'],'rating':Rating[s(0xc7)],'weight':0x0});}[a52i(0xbf)](){var t=a52i;return t(0xaf);}}export class Weapon extends Item{constructor(a,b){var u=a52i;super({'name':a,'description':b,'size':Size[u(0xb2)],'category':Category[u(0xa0)],'shape':Shape['Blade'],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}[a52i(0xbf)](){var v=a52i;return v(0xab);}}export class Book extends Item{['author'];[a52i(0xd1)];['pageCount'];constructor(a,b=a52i(0xaa),c=a52i(0xd2)){var w=a52i;super({'name':a,'description':b,'size':Size[w(0xb2)],'category':Category['Book'],'shape':Shape[w(0xa1)],'color':Color[w(0xa5)],'texture':Texture['Smooth'],'rating':Rating[w(0xc7)],'weight':0x1}),this[w(0xd0)]=c,this[w(0xd1)]=new Date(),this[w(0xb0)]=0x64;}[a52i(0xbf)](){var x=a52i;return x(0xac);}}export class ShortSword extends Item{constructor(){var y=a52i;super({'name':'Short\x20Sword','description':y(0xc3),'size':Size[y(0xb2)],'category':Category[y(0xa0)],'shape':Shape[y(0xa4)],'color':Color[y(0xcf)],'texture':Texture[y(0xae)],'rating':Rating[y(0xc7)],'weight':0x3});}[a52i(0xbf)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var z=a52i;super({'name':z(0xc5),'description':z(0xa6),'size':Size['Large'],'category':Category[z(0xa0)],'shape':Shape[z(0xc1)],'color':Color[z(0xa5)],'texture':Texture['Smooth'],'rating':Rating[z(0xc7)],'weight':0x5});}['use'](){return'You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22';}}export class HolyGrail extends Item{constructor(){var A=a52i;super({'name':A(0xa8),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[A(0x9f)],'category':Category[A(0xbb)],'shape':Shape[A(0xb3)],'color':Color[A(0xc4)],'texture':Texture['Metallic'],'rating':Rating['Legendary'],'weight':0x1});}[a52i(0xbf)](){var B=a52i;return B(0xc2)+this[B(0xbd)]+B(0xa2);}}
1
+ var a52j=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x19b))/0x1+-parseInt(f(0x19c))/0x2*(-parseInt(f(0x1a4))/0x3)+-parseInt(f(0x1b7))/0x4*(parseInt(f(0x1b5))/0x5)+parseInt(f(0x1a7))/0x6*(parseInt(f(0x1b9))/0x7)+-parseInt(f(0x1aa))/0x8+-parseInt(f(0x1bf))/0x9+parseInt(f(0x1bc))/0xa*(parseInt(f(0x195))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x40c1b));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['toString']()[h(0x19f)](h(0x1bd))[h(0x1a2)]()[h(0x1a8)](a52a)[h(0x19f)](h(0x1bd));});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(0x1cd)],'category':Category['Unknown'],'shape':Shape['Rectangle'],'color':Color[i(0x1af)],'texture':Texture[i(0x1c7)],'rating':Rating[i(0x1b8)],'weight':0x1});}[a52j(0x1c2)](){var k=a52j;return this[k(0x1ca)];}}export class Sword extends Item{constructor(a,b){var l=a52j;super({'name':a,'description':b,'size':Size[l(0x1cd)],'category':Category[l(0x1b6)],'shape':Shape[l(0x1a3)],'color':Color[l(0x1c9)],'texture':Texture[l(0x198)],'rating':Rating[l(0x1b8)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a52j;super({'name':a,'description':b,'size':Size[m(0x1b2)],'category':Category[m(0x1b6)],'shape':Shape[m(0x1a5)],'color':Color['Brown'],'texture':Texture[m(0x198)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a52j;super({'name':a,'description':b,'size':Size[n(0x1cd)],'category':Category[n(0x1ba)],'shape':Shape[n(0x1c0)],'color':Color['Grey'],'texture':Texture[n(0x198)],'rating':Rating[n(0x1b8)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a52j;super({'name':a,'description':b,'size':Size[o(0x1b2)],'category':Category[o(0x1c4)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[o(0x1b8)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[p(0x1c6)],'shape':Shape['Rectangle'],'color':Color[p(0x1c9)],'texture':Texture[p(0x198)],'rating':Rating[p(0x1b8)],'weight':0x6});}}function a52c(){var F=['You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Metallic','ArmArmor','Short\x20Sword','413289YBJPhJ','38elOmbT','Sniper\x20Rifle','Unknown\x20Author','search','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','toString','Blade','59763YbaVwy','Rifle','\x20aloft,\x20feeling\x20its\x20immense\x20power.','96090sAEejz','constructor','Small','1531160DCjhAK','apply','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Holy\x20Grail','Brown','Yellow','Rectangle','Book','Large','publishDate','Key','335NjrxsA','Weapon','31012SBZqKB','Common','63qOVRzH','Helmet','name','2456110hOfOMI','(((.+)+)+)+$','Gold','1849005NJrfXX','Circle','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','use','Boots','BodyArmor','author','LegArmor','Smooth','You\x20hold\x20the\x20','Grey','description','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Legendary','Medium','A\x20mysterious\x20book.','11dGorTB','Tiny'];a52c=function(){return F;};return a52c();}export class Boots extends Item{constructor(a,b){var q=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[q(0x1c3)],'shape':Shape[q(0x1c0)],'color':Color['Brown'],'texture':Texture[q(0x1c7)],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a52j;super({'name':a,'description':b,'size':Size[r(0x1a9)],'category':Category['Gloves'],'shape':Shape[r(0x1c0)],'color':Color[r(0x1ae)],'texture':Texture[r(0x1c7)],'rating':Rating[r(0x1b8)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a52j;super({'name':a,'description':b,'size':Size[s(0x1cd)],'category':Category[s(0x199)],'shape':Shape[s(0x1b0)],'color':Color[s(0x1c9)],'texture':Texture[s(0x198)],'rating':Rating[s(0x1b8)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a52j;super({'name':a,'description':b,'size':Size[t(0x196)],'category':Category[t(0x1b4)],'shape':Shape['Rectangle'],'color':Color[t(0x1af)],'texture':Texture[t(0x1c7)],'rating':Rating[t(0x1b8)],'weight':0x0});}[a52j(0x1c2)](){var u=a52j;return u(0x1a1);}}export class Weapon extends Item{constructor(a,b){var v=a52j;super({'name':a,'description':b,'size':Size[v(0x1cd)],'category':Category[v(0x1b6)],'shape':Shape[v(0x1a3)],'color':Color[v(0x1c9)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}[a52j(0x1c2)](){var w=a52j;return w(0x1c1);}}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x195;var f=c[d];return f;},a52d(a,b);}export class Book extends Item{[a52j(0x1c5)];[a52j(0x1b3)];['pageCount'];constructor(a,b=a52j(0x1ce),c=a52j(0x19e)){var x=a52j;super({'name':a,'description':b,'size':Size[x(0x1cd)],'category':Category[x(0x1b1)],'shape':Shape[x(0x1b0)],'color':Color['Brown'],'texture':Texture[x(0x1c7)],'rating':Rating[x(0x1b8)],'weight':0x1}),this['author']=c,this[x(0x1b3)]=new Date(),this['pageCount']=0x64;}[a52j(0x1c2)](){var y=a52j;return y(0x1ac);}}export class ShortSword extends Item{constructor(){var z=a52j;super({'name':z(0x19a),'description':z(0x1cb),'size':Size[z(0x1cd)],'category':Category[z(0x1b6)],'shape':Shape[z(0x1a3)],'color':Color[z(0x1c9)],'texture':Texture[z(0x198)],'rating':Rating[z(0x1b8)],'weight':0x3});}[a52j(0x1c2)](){var A=a52j;return A(0x1c1);}}export class SniperRifle extends Item{constructor(){var B=a52j;super({'name':B(0x19d),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[B(0x1b2)],'category':Category[B(0x1b6)],'shape':Shape[B(0x1a5)],'color':Color[B(0x1ae)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x5});}[a52j(0x1c2)](){var C=a52j;return C(0x197);}}export class HolyGrail extends Item{constructor(){var D=a52j;super({'name':D(0x1ad),'description':D(0x1a0),'size':Size[D(0x1a9)],'category':Category['Cup'],'shape':Shape[D(0x1c0)],'color':Color[D(0x1be)],'texture':Texture[D(0x198)],'rating':Rating[D(0x1cc)],'weight':0x1});}[a52j(0x1c2)](){var E=a52j;return E(0x1c8)+this[E(0x1bb)]+E(0x1a6);}}