@maka/maka-cli 4.6.20 → 4.6.21

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 (143) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/kit.js +1 -1
  109. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  110. package/bundle/obf/src/generators/kits/mui/layout.mui.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  112. package/bundle/obf/src/generators/layout.js +1 -1
  113. package/bundle/obf/src/generators/maka.gen.js +1 -1
  114. package/bundle/obf/src/generators/methods.js +1 -1
  115. package/bundle/obf/src/generators/package.js +1 -1
  116. package/bundle/obf/src/generators/page.js +1 -1
  117. package/bundle/obf/src/generators/publish.js +1 -1
  118. package/bundle/obf/src/generators/route.js +1 -1
  119. package/bundle/obf/src/generators/service.js +1 -1
  120. package/bundle/obf/src/generators/services/_index.js +1 -1
  121. package/bundle/obf/src/generators/services/openssl.js +1 -1
  122. package/bundle/obf/src/generators/services/translation.js +1 -1
  123. package/bundle/obf/src/maka.js +1 -1
  124. package/bundle/obf/src/tool.js +1 -1
  125. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  126. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  127. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  129. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  131. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/https/https.class.js +1 -1
  133. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  134. package/bundle/obf/src/tools/log/log.class.js +1 -1
  135. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/options/options.class.js +1 -1
  137. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  138. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  139. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  141. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  142. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  143. package/package.json +1 -1
@@ -1 +1 @@
1
- function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x115;let f=c[d];return f;},a37d(a,b);}function a37c(){const k=['You\x20search\x20the\x20area\x20and\x20find:\x20','toString','apply','3LJDRNC','actor','\x20found\x20the\x20following\x20items:\x20','5190752yuvMgO','406368baGHYs','643935iBHHLc','inventory','description','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','currentLocation','constructor','10718991HHvoIQ','execute','Search\x20for\x20items\x20in\x20your\x20area','6pDFXYT','logger','5042912EzvVki','SearchCommand:\x20','listItems','search','name','join','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','verb','3532434eokyMf','151616hYUSZn'];a37c=function(){return k;};return a37c();}const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x131))/0x1*(-parseInt(f(0x12d))/0x2)+-parseInt(f(0x122))/0x3*(parseInt(f(0x118))/0x4)+parseInt(f(0x119))/0x5+parseInt(f(0x12c))/0x6+-parseInt(f(0x124))/0x7+-parseInt(f(0x117))/0x8+parseInt(f(0x11f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x89931));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x12f)]()[h(0x127)]('(((.+)+)+)+$')[h(0x12f)]()[h(0x11e)](a37a)[h(0x127)]('(((.+)+)+)+$');});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x12b)]=a37i(0x127);static [a37i(0x11b)]=a37i(0x121);[a37i(0x120)](){const j=a37i,a=this[j(0x115)][j(0x11d)][j(0x11a)][j(0x126)]();if(a['length']===0x0)return this[j(0x123)]['write'](j(0x125)+this['actor'][j(0x128)]+j(0x12a)),j(0x11c);const b=a[j(0x129)](',\x20');return this[j(0x123)]['write']('SearchCommand:\x20'+this[j(0x115)]['name']+j(0x116)+b),j(0x12e)+b;}}
1
+ const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x89))/0x1*(parseInt(f(0x8f))/0x2)+-parseInt(f(0x90))/0x3*(parseInt(f(0x9a))/0x4)+-parseInt(f(0x86))/0x5+-parseInt(f(0x96))/0x6*(-parseInt(f(0x9f))/0x7)+-parseInt(f(0x93))/0x8*(parseInt(f(0xa0))/0x9)+parseInt(f(0x87))/0xa*(-parseInt(f(0x8d))/0xb)+parseInt(f(0xa1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x539ae));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const g=a37d;return a37a[g(0x9b)]()[g(0x8c)](g(0x97))[g(0x9b)]()['constructor'](a37a)['search'](g(0x97));});a37a();function a37c(){const j=['actor','description','2020130UbRSCu','10467HAAAEO','18444852gLRIky','name','3228070mWogyM','1489670nNhHpp','SearchCommand:\x20','409949VykfZV','logger','execute','search','11uJWisF','join','2JEPhRb','183NpWpWU','Search\x20for\x20items\x20in\x20your\x20area','\x20found\x20the\x20following\x20items:\x20','2024KxhpRJ','inventory','write','12rZSVjA','(((.+)+)+)+$','listItems','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','17904ouqXzs','toString','verb'];a37c=function(){return j;};return a37c();}function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x86;let f=c[d];return f;},a37d(a,b);}import{Command}from'./command.js';export class SearchCommand extends Command{static [a37h(0x9c)]=a37h(0x8c);static [a37h(0x9e)]=a37h(0x91);[a37h(0x8b)](){const i=a37h,a=this['actor']['currentLocation'][i(0x94)][i(0x98)]();if(a['length']===0x0)return this['logger']['write']('SearchCommand:\x20'+this[i(0x9d)][i(0xa2)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),i(0x99);const b=a[i(0x8e)](',\x20');return this[i(0x8a)][i(0x95)](i(0x88)+this[i(0x9d)][i(0xa2)]+i(0x92)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
@@ -1 +1 @@
1
- const a38h=a38d;function a38c(){const j=['10EWvcoa','constructor','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','rewardItem','386825YUQgiG','logger','solve','5700852uKvKdd','puzzle','verb','description','(((.+)+)+)+$','1TSmYlb','28KmkyDn','3759jWtOnZ','Attempt\x20to\x20solve\x20a\x20puzzle.','6080808egPJrP','search','execute','toString','toLowerCase','2692611peStPB','success','SolveCommand:\x20','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','write','inventory','join','message','1164UUfoDd','12616285TwdJlG','actor','addItem','77060XyWBoO'];a38c=function(){return j;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x108))/0x1*(-parseInt(f(0xfb))/0x2)+parseInt(f(0x111))/0x3+parseInt(f(0x109))/0x4*(-parseInt(f(0x100))/0x5)+parseInt(f(0x119))/0x6*(-parseInt(f(0x10a))/0x7)+parseInt(f(0x10c))/0x8+parseInt(f(0x103))/0x9+-parseInt(f(0xfc))/0xa*(parseInt(f(0x11a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x7045c));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a['toString']()[g(0x10d)]('(((.+)+)+)+$')[g(0x10f)]()[g(0xfd)](a38a)[g(0x10d)](g(0x107));});a38a();import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xfb;let f=c[d];return f;},a38d(a,b);}export class SolveCommand extends Command{static [a38h(0x105)]=a38h(0x102);static [a38h(0x106)]=a38h(0x10b);[a38h(0x10e)](a){const i=a38h,b=a[i(0x117)]('\x20')[i(0x110)](),c=this[i(0x11b)]['currentLocation'];if(!c||!c[i(0x104)])return this[i(0x101)][i(0x115)](i(0x114)),i(0xfe);const d=c['puzzle'][i(0x102)](b,this[i(0x11b)][i(0x116)]);return d[i(0x112)]&&c[i(0x104)][i(0xff)]&&this['actor'][i(0x116)][i(0x11c)](c['puzzle'][i(0xff)]),this['logger'][i(0x115)](i(0x113)+d[i(0x118)]),d[i(0x118)];}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0xca))/0x1*(parseInt(f(0xbe))/0x2)+parseInt(f(0xb8))/0x3+-parseInt(f(0xc2))/0x4*(-parseInt(f(0xbd))/0x5)+parseInt(f(0xc3))/0x6*(parseInt(f(0xc5))/0x7)+parseInt(f(0xc0))/0x8*(parseInt(f(0xd4))/0x9)+parseInt(f(0xce))/0xa+parseInt(f(0xcf))/0xb*(-parseInt(f(0xd3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x620b4));function a38c(){const k=['actor','description','15wlppii','16738tvKQBy','constructor','9312pYIfYj','apply','443028EJJviF','36GsqEQS','verb','541079AhqkmP','toString','rewardItem','join','execute','74JIpvXm','success','solve','write','595730MpqhzD','11QiUHyW','Attempt\x20to\x20solve\x20a\x20puzzle.','puzzle','inventory','30211248HdBztg','5418MRlEyG','(((.+)+)+)+$','2230596Lsoxtk','addItem','logger'];a38c=function(){return k;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xb7;let f=c[d];return f;},a38d(a,b);}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0xc1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0xc6)]()['search']('(((.+)+)+)+$')[h(0xc6)]()[h(0xbf)](a38a)['search'](h(0xb7));});a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0xc4)]=a38i(0xcc);static [a38i(0xbc)]=a38i(0xd0);[a38i(0xc9)](a){const j=a38i,b=a[j(0xc8)]('\x20')['toLowerCase'](),c=this[j(0xbb)]['currentLocation'];if(!c||!c['puzzle'])return this[j(0xba)][j(0xcd)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[j(0xd1)][j(0xcc)](b,this['actor'][j(0xd2)]);return d[j(0xcb)]&&c[j(0xd1)]['rewardItem']&&this[j(0xbb)]['inventory'][j(0xb9)](c['puzzle'][j(0xc7)]),this[j(0xba)]['write']('SolveCommand:\x20'+d['message']),d['message'];}}
@@ -1 +1 @@
1
- function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a39d(a,b);}const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x1fc))/0x1*(parseInt(f(0x1ee))/0x2)+-parseInt(f(0x1fa))/0x3+-parseInt(f(0x20d))/0x4+-parseInt(f(0x200))/0x5+-parseInt(f(0x1f1))/0x6*(-parseInt(f(0x1fe))/0x7)+parseInt(f(0x1f9))/0x8*(-parseInt(f(0x1fb))/0x9)+-parseInt(f(0x1eb))/0xa*(-parseInt(f(0x215))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xefd95));function a39c(){const k=['currentLocation','\x20during\x20\x27Take\x27\x20command.','16963925YfeWOw','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','30MPnjIb','join','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','148638AkEVkx','execute','search','96oqMlfq','Pick\x20up\x20an\x20item.','\x22\x20not\x20found\x20in\x20','Item\x20\x22','\x22\x20is\x20too\x20heavy\x20to\x20carry.','name','\x22\x20not\x20retrieved\x20from\x20','Error\x20during\x20\x27Take\x27\x20command:\x20','3896kVsAyR','4770522ObTFGN','18099WbEoUR','19OHWBua','You\x20have\x20taken\x20the\x20','510503CYljPj','(((.+)+)+)+$','2778685yPqUMj','toString','message','description','write','take','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','removeItem','There\x20is\x20no\x20item\x20\x22','\x22\x20to\x20','Successfully\x20added\x20\x22','inventory','\x22\x20from\x20','1094556vfUeMC','getItem','logger','actor','Successfully\x20removed\x20\x22','\x22\x20in\x20this\x20room.'];a39c=function(){return k;};return a39c();}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const g=a39d;return a39a[g(0x201)]()['search'](g(0x1ff))['toString']()['constructor'](a39a)[g(0x1f0)](g(0x1ff));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a39h(0x205);static [a39h(0x203)]=a39h(0x1f2);[a39h(0x1ef)](a){const i=a39h;return this[i(0x20f)][i(0x204)](i(0x216)+a[i(0x1ec)]('\x20')),this[i(0x205)](a);}[a39h(0x205)](a){const j=a39h,b=a['join']('\x20')['toLowerCase'](),c=this['actor'][j(0x213)];if(!c['inventory']['hasItem'](b))return this[j(0x20f)][j(0x204)](j(0x1f4)+b+j(0x1f3)+c[j(0x1f6)]+j(0x214)),j(0x208)+b+j(0x212);const d=c['inventory'][j(0x20e)](b);if(!d)return this[j(0x20f)][j(0x204)](j(0x1f4)+b+j(0x1f7)+c[j(0x1f6)]+j(0x1ed)),j(0x208)+b+j(0x212);try{return this[j(0x210)]['addInventory'](d),this[j(0x20f)]['write'](j(0x20a)+b+j(0x209)+this[j(0x210)][j(0x1f6)]+j(0x206)),c[j(0x20b)][j(0x207)](b),this[j(0x20f)][j(0x204)](j(0x211)+b+j(0x20c)+c['name']+j(0x1ed)),j(0x1fd)+b+'.';}catch(e){return this['logger'][j(0x204)](j(0x1f8)+e[j(0x202)]),'The\x20item\x20\x22'+b+j(0x1f5);}}}
1
+ function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x14e;let f=c[d];return f;},a39d(a,b);}const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x160))/0x1+parseInt(f(0x178))/0x2*(parseInt(f(0x176))/0x3)+parseInt(f(0x15d))/0x4+parseInt(f(0x150))/0x5+parseInt(f(0x171))/0x6*(-parseInt(f(0x151))/0x7)+-parseInt(f(0x161))/0x8+-parseInt(f(0x172))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xf2cad));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const g=a39d;return a39a[g(0x14f)]()[g(0x163)]('(((.+)+)+)+$')[g(0x14f)]()[g(0x156)](a39a)[g(0x163)](g(0x170));});function a39c(){const k=['hasItem','36141fyaVeL','\x22\x20to\x20','32zXyghF','Successfully\x20removed\x20\x22','There\x20is\x20no\x20item\x20\x22','toString','7200320rwdhfF','63UDeHxK','join','inventory','\x22\x20in\x20this\x20room.','take','constructor','actor','Successfully\x20added\x20\x22','The\x20item\x20\x22','verb','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20not\x20found\x20in\x20','7920IsEPOE','description','logger','1524482wVwyBO','13851208XscXmj','removeItem','search','Item\x20\x22','getItem','\x20during\x20\x27Take\x27\x20command.','\x22\x20not\x20retrieved\x20from\x20','name','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','write','Error\x20during\x20\x27Take\x27\x20command:\x20','execute','\x22\x20from\x20','\x22\x20is\x20too\x20heavy\x20to\x20carry.','Pick\x20up\x20an\x20item.','(((.+)+)+)+$','65040sorbEZ','3022560RtmjOV','You\x20have\x20taken\x20the\x20','message'];a39c=function(){return k;};return a39c();}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39h(0x15a)]=a39h(0x155);static [a39h(0x15e)]=a39h(0x16f);[a39h(0x16c)](a){const i=a39h;return this[i(0x15f)]['write'](i(0x169)+a[i(0x152)]('\x20')),this[i(0x155)](a);}['take'](a){const j=a39h,b=a['join']('\x20')['toLowerCase'](),c=this[j(0x157)]['currentLocation'];if(!c[j(0x153)][j(0x175)](b))return this['logger'][j(0x16a)](j(0x164)+b+j(0x15c)+c[j(0x168)]+j(0x166)),'There\x20is\x20no\x20item\x20\x22'+b+j(0x154);const d=c[j(0x153)][j(0x165)](b);if(!d)return this[j(0x15f)][j(0x16a)]('Item\x20\x22'+b+j(0x167)+c[j(0x168)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x14e)+b+j(0x154);try{return this[j(0x157)]['addInventory'](d),this['logger']['write'](j(0x158)+b+j(0x177)+this[j(0x157)][j(0x168)]+j(0x15b)),c[j(0x153)][j(0x162)](b),this[j(0x15f)][j(0x16a)](j(0x179)+b+j(0x16d)+c[j(0x168)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x173)+b+'.';}catch(e){return this[j(0x15f)][j(0x16a)](j(0x16b)+e[j(0x174)]),j(0x159)+b+j(0x16e);}}}
@@ -1 +1 @@
1
- function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1c4;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(0x1ca))/0x1*(-parseInt(f(0x1df))/0x2)+-parseInt(f(0x1d3))/0x3+parseInt(f(0x1dc))/0x4*(-parseInt(f(0x1d2))/0x5)+-parseInt(f(0x1de))/0x6*(parseInt(f(0x1d9))/0x7)+parseInt(f(0x1dd))/0x8+parseInt(f(0x1c6))/0x9+parseInt(f(0x1cb))/0xa*(parseInt(f(0x1d5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x39a63));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1d8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1cc)]()[h(0x1d6)](h(0x1c7))[h(0x1cc)]()[h(0x1da)](a40a)[h(0x1d6)](h(0x1c7));});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x1db)]=a40i(0x1c9);static [a40i(0x1ce)]=a40i(0x1d1);[a40i(0x1cd)](a){const j=a40i,b=a[j(0x1c5)]('\x20')[j(0x1c4)](),c=this[j(0x1cf)][j(0x1c8)](b);return this[j(0x1d0)][j(0x1d4)]('UnequipCommand:\x20'+this[j(0x1cf)]['name']+j(0x1d7)+c),c;}}function a40c(){const k=['search','\x20unqeuiped\x20','apply','14pxJNEE','constructor','verb','8OtNmeM','244608sBaODF','222762sxiWIa','134890bysmHi','toLowerCase','join','3962808idcqFZ','(((.+)+)+)+$','unequip','unqeuip','7PDlcGl','10NMgCOy','toString','execute','description','actor','logger','Unequip\x20an\x20item.','332820tJksDj','318966LvasDg','write','6061682URKwaF'];a40c=function(){return k;};return a40c();}
1
+ function a40c(){const k=['35718570XapeTP','write','UnequipCommand:\x20','30POiiil','Unequip\x20an\x20item.','7lfpsjK','join','212112CPbXwv','toString','5406496OmSSHQ','1462686zyZXQB','4052298wQjMTM','search','1778218cHpYKP','apply','execute','6123448lEGsNc','description','constructor','actor'];a40c=function(){return k;};return a40c();}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1e0))/0x1+parseInt(f(0x1e6))/0x2+parseInt(f(0x1e4))/0x3+parseInt(f(0x1e9))/0x4+parseInt(f(0x1dc))/0x5*(parseInt(f(0x1e3))/0x6)+-parseInt(f(0x1de))/0x7*(parseInt(f(0x1e2))/0x8)+-parseInt(f(0x1ed))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xc38e1));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1e7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1e1)]()[h(0x1e5)]('(((.+)+)+)+$')[h(0x1e1)]()[h(0x1eb)](a40a)[h(0x1e5)]('(((.+)+)+)+$');});a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1da;let f=c[d];return f;},a40d(a,b);}export class UnequipCommand extends Command{static ['verb']='unqeuip';static [a40i(0x1ea)]=a40i(0x1dd);[a40i(0x1e8)](a){const j=a40i,b=a[j(0x1df)]('\x20')['toLowerCase'](),c=this[j(0x1ec)]['unequip'](b);return this['logger'][j(0x1da)](j(0x1db)+this['actor']['name']+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- function a41c(){const n=['exits','397197GVRmEn','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','\x22\x20here.','444798WLVceh','unlock','get','execute','verb','274404BUrrVj','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','name','length','87694QbCocS','UnlockCommand:\x20','unlockItemOrSolution','inventory','getItem','11hihLuh','Unlock\x20a\x20door.','11087380lUpDgn','117IxxAVQ','write','search','actor','apply','has','\x20is\x20attempted\x20to\x20unlock\x20','2362680tVlPwj','99608wBVGRF','description','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','logger','7CoAOSN','(((.+)+)+)+$','error','isValidDirection','toLowerCase','attemptUnlockExit','toString'];a41c=function(){return n;};return a41c();}const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x14b))/0x1*(parseInt(h(0x146))/0x2)+parseInt(h(0x162))/0x3+parseInt(h(0x16a))/0x4+-parseInt(h(0x155))/0x5+-parseInt(h(0x165))/0x6*(-parseInt(h(0x15a))/0x7)+-parseInt(h(0x156))/0x8*(-parseInt(h(0x14e))/0x9)+parseInt(h(0x14d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x90421));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x145;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()['search'](j(0x15b))[j(0x160)]()['constructor'](a41a)[j(0x150)]('(((.+)+)+)+$');});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x169)]=a41k(0x166);static [a41k(0x157)]=a41k(0x14c);[a41k(0x168)](a){const l=a41k;return this[l(0x166)](a);}[a41k(0x166)](a){const m=a41k;if(a[m(0x145)]===0x0)return this['logger'][m(0x15c)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0x158);const b=a[0x0][m(0x15e)](),c=this[m(0x151)]['currentLocation'];if(this[m(0x15d)](b)&&c['exits'][m(0x153)](b)){const d=c[m(0x161)][m(0x167)](b);if(d instanceof Door){const e=d[m(0x148)]?.[m(0x15e)]();if(e&&this[m(0x151)][m(0x149)]['hasItem'](e)){const f=this['actor'][m(0x149)][m(0x14a)](e);if(f){const g=c[m(0x15f)](b,f[m(0x16c)]);return this[m(0x159)][m(0x14f)](m(0x147)+this[m(0x151)][m(0x16c)]+m(0x154)+b+'.\x20Result:\x20'+g),g;}}return this['logger'][m(0x14f)](m(0x147)+this[m(0x151)][m(0x16c)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),m(0x163);}else return this[m(0x159)][m(0x14f)]('UnlockCommand:\x20'+b+m(0x16b)+c[m(0x16c)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x164);}else return this[m(0x159)][m(0x14f)](m(0x147)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x164);}}
1
+ function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a41d(a,b);}const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x1ae))/0x1*(-parseInt(h(0x1c8))/0x2)+parseInt(h(0x1cb))/0x3*(parseInt(h(0x1ca))/0x4)+parseInt(h(0x1c2))/0x5+-parseInt(h(0x1a6))/0x6*(-parseInt(h(0x1c3))/0x7)+-parseInt(h(0x1ac))/0x8*(-parseInt(h(0x1b7))/0x9)+-parseInt(h(0x1bc))/0xa+parseInt(h(0x1ab))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xac065));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x1a3)]()[j(0x1b2)]('(((.+)+)+)+$')['toString']()['constructor'](a41a)[j(0x1b2)](j(0x1cd));});function a41c(){const n=['currentLocation','13990710WliVdk','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','toLowerCase','logger','actor','error','1940200jXVzAe','23044vCHEor','length','getItem','name','verb','2139898XxNHms','hasItem','4rnmQVY','338442riZcrG','inventory','(((.+)+)+)+$','execute','write','toString','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','exits','1092hHFXTQ','description','UnlockCommand:\x20No\x20target\x20specified.','apply','UnlockCommand:\x20','21591075ZwQswa','112fhGjDV','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','1COwMco','attemptUnlockExit','unlock','There\x27s\x20no\x20door\x20named\x20\x22','search','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','\x22\x20here.','has','.\x20Result:\x20','71235ityHmU','Unlock\x20a\x20door.','get','unlockItemOrSolution'];a41c=function(){return n;};return a41c();}a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x1c7)]=a41k(0x1b0);static [a41k(0x1a7)]=a41k(0x1b8);[a41k(0x1ce)](a){const l=a41k;return this[l(0x1b0)](a);}[a41k(0x1b0)](a){const m=a41k;if(a[m(0x1c4)]===0x0)return this[m(0x1bf)][m(0x1c1)](m(0x1a8)),m(0x1b3);const b=a[0x0][m(0x1be)](),c=this[m(0x1c0)][m(0x1bb)];if(this['isValidDirection'](b)&&c[m(0x1a5)][m(0x1b5)](b)){const d=c[m(0x1a5)][m(0x1b9)](b);if(d instanceof Door){const e=d[m(0x1ba)]?.[m(0x1be)]();if(e&&this['actor'][m(0x1cc)][m(0x1c9)](e)){const f=this['actor'][m(0x1cc)][m(0x1c5)](e);if(f){const g=c[m(0x1af)](b,f['name']);return this[m(0x1bf)][m(0x1cf)](m(0x1aa)+this[m(0x1c0)][m(0x1c6)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+m(0x1b6)+g),g;}}return this[m(0x1bf)][m(0x1cf)](m(0x1aa)+this[m(0x1c0)][m(0x1c6)]+m(0x1a4)+b+'.'),m(0x1ad);}else return this['logger']['write']('UnlockCommand:\x20'+b+m(0x1bd)+c[m(0x1c6)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}else return this[m(0x1bf)]['write'](m(0x1aa)+b+m(0x1bd)+c[m(0x1c6)]+'.'),m(0x1b1)+b+m(0x1b4);}}
@@ -1 +1 @@
1
- const a42h=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1ca))/0x1+parseInt(f(0x1e9))/0x2*(parseInt(f(0x1e0))/0x3)+parseInt(f(0x1d4))/0x4+parseInt(f(0x1d5))/0x5+-parseInt(f(0x1d3))/0x6+-parseInt(f(0x1e5))/0x7*(parseInt(f(0x1df))/0x8)+parseInt(f(0x1e8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xd9877));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 g=a42d;return a42a[g(0x1db)]()[g(0x1cf)]('(((.+)+)+)+$')[g(0x1db)]()[g(0x1dc)](a42a)[g(0x1cf)]('(((.+)+)+)+$');});function a42c(){const j=['execute','function','You\x20can\x27t\x20use\x20the\x20','toString','constructor','Use\x20an\x20item.','\x20to\x20use.','32AGvJJA','274542DCekcr','\x20attempted\x20to\x20use\x20','name','description','actor','2986683MtbMaX','UseCommand:\x20','hasItem','7665102QaKNxm','20JXBlSx','You\x20don\x27t\x20have\x20the\x20','use','verb','1304368iHAGZf','\x20used\x20','\x20in\x20this\x20way.','\x20not\x20retrieved\x20from\x20','\x20doesn\x27t\x20have\x20a\x20use\x20method.','search','toLowerCase','logger','inventory','3907338UzdhkM','6473420NRSDAt','5840465HRIICq','\x27s\x20inventory.','write'];a42c=function(){return j;};return a42c();}a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42h(0x1c9)]=a42h(0x1c8);static [a42h(0x1e3)]=a42h(0x1dd);[a42h(0x1d8)](a){return this['use'](a);}[a42h(0x1c8)](a){const i=a42h,b=a['join']('\x20')[i(0x1d0)]();if(!this[i(0x1e4)][i(0x1d2)][i(0x1e7)](b))return this[i(0x1d1)]['write'](i(0x1e6)+this[i(0x1e4)][i(0x1e2)]+i(0x1e1)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),i(0x1ea)+b+'\x20to\x20use.';const c=this[i(0x1e4)]['inventory']['getItem'](b);if(!c)return this[i(0x1d1)][i(0x1d7)](i(0x1e6)+b+i(0x1cd)+this['actor']['name']+i(0x1d6)),'You\x20don\x27t\x20have\x20the\x20'+b+i(0x1de);if(typeof c[i(0x1c8)]===i(0x1d9)){const d=c[i(0x1c8)]();return this[i(0x1d1)][i(0x1d7)]('UseCommand:\x20'+this[i(0x1e4)][i(0x1e2)]+i(0x1cb)+b+'.'),d;}else return this[i(0x1d1)][i(0x1d7)](i(0x1e6)+b+i(0x1ce)),i(0x1da)+b+i(0x1cc);}}
1
+ const a42i=a42d;function a42c(){const l=['(((.+)+)+)+$','write','\x20not\x20retrieved\x20from\x20','973773IWIVEx','getItem','4132208lqDvbS','actor','UseCommand:\x20','You\x20don\x27t\x20have\x20the\x20','use','138uZZBeY','\x20to\x20use.','join','160SyqKoN','404MlTPsB','\x27s\x20inventory.','description','211540Ujenlv','1425474VtGCmX','constructor','toString','Use\x20an\x20item.',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','You\x20can\x27t\x20use\x20the\x20','hasItem','\x20doesn\x27t\x20have\x20a\x20use\x20method.','5406709xsHbXQ','14FEmPrU','logger','search','inventory','apply','\x20attempted\x20to\x20use\x20','4235qPTKrd','verb','execute','function','name','117pYaMsr','toLowerCase'];a42c=function(){return l;};return a42c();}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x133))/0x1+parseInt(f(0x13d))/0x2*(-parseInt(f(0x13a))/0x3)+parseInt(f(0x116))/0x4*(-parseInt(f(0x129))/0x5)+parseInt(f(0x11a))/0x6*(-parseInt(f(0x123))/0x7)+-parseInt(f(0x135))/0x8+-parseInt(f(0x12e))/0x9*(-parseInt(f(0x119))/0xa)+parseInt(f(0x122))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xa0fb7));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x127)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x11c)]()[h(0x125)](h(0x130))[h(0x11c)]()[h(0x11b)](a42a)['search'](h(0x130));});a42a();import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x116;let f=c[d];return f;},a42d(a,b);}export class UseCommand extends Command{static [a42i(0x12a)]=a42i(0x139);static [a42i(0x118)]=a42i(0x11d);[a42i(0x12b)](a){const j=a42i;return this[j(0x139)](a);}[a42i(0x139)](a){const k=a42i,b=a[k(0x13c)]('\x20')[k(0x12f)]();if(!this[k(0x136)][k(0x126)][k(0x120)](b))return this['logger'][k(0x131)]('UseCommand:\x20'+this[k(0x136)]['name']+k(0x128)+b+k(0x11e)),k(0x138)+b+k(0x13b);const c=this[k(0x136)]['inventory'][k(0x134)](b);if(!c)return this[k(0x124)][k(0x131)](k(0x137)+b+k(0x132)+this['actor'][k(0x12d)]+k(0x117)),k(0x138)+b+k(0x13b);if(typeof c['use']===k(0x12c)){const d=c[k(0x139)]();return this[k(0x124)][k(0x131)](k(0x137)+this['actor'][k(0x12d)]+'\x20used\x20'+b+'.'),d;}else return this['logger'][k(0x131)](k(0x137)+b+k(0x121)),k(0x11f)+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- function a43c(){const l=['search','commandMap','1274220wTgDGO','toString','6yQnvcO','constructor','(((.+)+)+)+$','getAllRegisteredCommands','717216EwxRKq','1778368mkbZtG','97101AFwjnh','3801933ZTVyVm','6661865LihkeB','2290hZKlpg','50mQBaXM','167EauJuM'];a43c=function(){return l;};return a43c();}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a43d(a,b);}const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x1fa))/0x1*(parseInt(f(0x1f8))/0x2)+-parseInt(f(0x1f5))/0x3+-parseInt(f(0x203))/0x4+parseInt(f(0x1fd))/0x5*(-parseInt(f(0x1ff))/0x6)+-parseInt(f(0x1f7))/0x7+-parseInt(f(0x1f4))/0x8+parseInt(f(0x1f6))/0x9*(parseInt(f(0x1f9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xa1d6e));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const g=a43d;return a43a['toString']()[g(0x1fb)]('(((.+)+)+)+$')[g(0x1fe)]()[g(0x200)](a43a)[g(0x1fb)](g(0x201));});a43a();export class CommandFactory{static [a43h(0x1fc)]={};static['registerCommand'](a,b){const i=a43h;this[i(0x1fc)][a]=b;}static['createCommand'](a,b){const j=a43h,c=this[j(0x1fc)][a];if(c)return new c(b);return null;}static[a43h(0x202)](){const k=a43h;return this[k(0x1fc)];}}
1
+ function a43c(){const m=['63RAtpcK','commandMap','registerCommand','2000253nfQBPD','(((.+)+)+)+$','81688FhMqri','25819220ByMAnW','search','apply','112468sExnxa','246VfFaNT','1032516RvYtUL','getAllRegisteredCommands','toString','23611fMszUT','5053150QgLuBw','2nHYPup'];a43c=function(){return m;};return a43c();}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x176))/0x1+-parseInt(f(0x16c))/0x2*(parseInt(f(0x170))/0x3)+-parseInt(f(0x178))/0x4+-parseInt(f(0x16b))/0x5+-parseInt(f(0x177))/0x6*(parseInt(f(0x17b))/0x7)+parseInt(f(0x172))/0x8*(-parseInt(f(0x16d))/0x9)+parseInt(f(0x173))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x860f6));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()[h(0x174)](h(0x171))[h(0x17a)]()['constructor'](a43a)['search'](h(0x171));});function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x16b;let f=c[d];return f;},a43d(a,b);}a43a();export class CommandFactory{static [a43i(0x16e)]={};static[a43i(0x16f)](a,b){const j=a43i;this[j(0x16e)][a]=b;}static['createCommand'](a,b){const k=a43i,c=this[k(0x16e)][a];if(c)return new c(b);return null;}static[a43i(0x179)](){const l=a43i;return this[l(0x16e)];}}
@@ -1 +1 @@
1
- const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x1f4))/0x1*(parseInt(f(0x203))/0x2)+-parseInt(f(0x1ff))/0x3+-parseInt(f(0x1ef))/0x4+-parseInt(f(0x1e6))/0x5+-parseInt(f(0x201))/0x6*(parseInt(f(0x1fe))/0x7)+parseInt(f(0x1eb))/0x8*(parseInt(f(0x1ed))/0x9)+-parseInt(f(0x1ee))/0xa*(-parseInt(f(0x1f2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xbecb1));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x1f7)]()[h(0x1e8)](h(0x1e7))['toString']()[h(0x1de)](a44a)['search'](h(0x1e7));});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1de;let f=c[d];return f;},a44d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a44c(){const o=['description','roomType','book','gloves','puzzle','6967050wkMcpr','(((.+)+)+)+$','search','items','rifle','224VBfAIA','helmet','458622XmTIMb','15110nhDnes','1220072xruHFA','gauntlets','createItem','28017mcfTds','createPuzzle','8OqDxpV','setPuzzle','bodyarmor','toString','addItem','key','apply','createRoom','isStartRoom','legarmor','252pOenSC','4080744oCoPyc','forEach','108408zVwdCC','rewardItem','196182pUEWdh','name','convertToRoomConfig','constructor','sword','toUpperCase'];a44c=function(){return o;};return a44c();}export class RoomFactory{[a44i(0x1fb)](a){const j=a44i,b=this[j(0x205)](a),c=new Room(b);if(a[j(0x1e9)]){const d=new Inventory();a[j(0x1e9)][j(0x200)](e=>{const k=j;d[k(0x1f8)](this[k(0x1f1)](e));}),c['inventory']=d;}return a['puzzle']&&c[j(0x1f5)](this['createPuzzle'](a[j(0x1e5)])),c;}[a44i(0x1f1)](a){const l=a44i;switch(a['type']){case l(0x1f9):return new Key(a['name'],a['description']);case l(0x1e3):return new Book(a['name'],a['description'],a['content']);case l(0x1df):return new Sword(a[l(0x204)],a[l(0x1e1)]);case l(0x1ea):return new Rifle(a[l(0x204)],a[l(0x1e1)]);case l(0x1ec):return new Helmet(a[l(0x204)],a[l(0x1e1)]);case l(0x1f6):return new BodyArmor(a[l(0x204)],a['description']);case l(0x1fd):return new LegArmor(a['name'],a[l(0x1e1)]);case'boots':return new Boots(a[l(0x204)],a[l(0x1e1)]);case l(0x1e4):return new Gloves(a[l(0x204)],a[l(0x1e1)]);case l(0x1f0):return new Gauntlets(a[l(0x204)],a[l(0x1e1)]);default:return new BasicItem(a[l(0x204)],a['description']);}}[a44i(0x1f3)](a){const m=a44i,b=this[m(0x1f1)](a[m(0x202)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a44i,b=a[n(0x1e2)]&&RoomType[a[n(0x1e2)]['toUpperCase']()]?RoomType[a['roomType'][n(0x1e0)]()]:RoomType['INSIDE'];return{'name':a[n(0x204)],'description':a[n(0x1e1)],'isStartRoom':a[n(0x1fc)],'roomType':b};}}
1
+ const a44i=a44d;function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xfc;let f=c[d];return f;},a44d(a,b);}(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0xfe))/0x1*(parseInt(f(0x116))/0x2)+parseInt(f(0x11d))/0x3+-parseInt(f(0x107))/0x4*(-parseInt(f(0x105))/0x5)+-parseInt(f(0x121))/0x6+-parseInt(f(0x100))/0x7+-parseInt(f(0x11c))/0x8*(-parseInt(f(0x114))/0x9)+-parseInt(f(0x110))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xc2c11));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x11f)]()[h(0x108)]('(((.+)+)+)+$')[h(0x11f)]()[h(0x10b)](a44a)['search']('(((.+)+)+)+$');});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0x119)](a){const j=a44i,b=this[j(0x103)](a),c=new Room(b);if(a['items']){const d=new Inventory();a['items'][j(0x106)](e=>{const k=j;d[k(0x109)](this['createItem'](e));}),c['inventory']=d;}return a[j(0x11b)]&&c['setPuzzle'](this[j(0x117)](a[j(0x11b)])),c;}[a44i(0x111)](a){const l=a44i;switch(a[l(0x118)]){case l(0x120):return new Key(a['name'],a[l(0x10e)]);case l(0xfc):return new Book(a[l(0x10d)],a['description'],a[l(0x112)]);case l(0x10f):return new Sword(a['name'],a['description']);case'rifle':return new Rifle(a[l(0x10d)],a[l(0x10e)]);case l(0x11a):return new Helmet(a[l(0x10d)],a[l(0x10e)]);case l(0x11e):return new BodyArmor(a[l(0x10d)],a['description']);case l(0x101):return new LegArmor(a['name'],a['description']);case'boots':return new Boots(a[l(0x10d)],a[l(0x10e)]);case l(0xfd):return new Gloves(a[l(0x10d)],a[l(0x10e)]);case l(0x113):return new Gauntlets(a[l(0x10d)],a[l(0x10e)]);default:return new BasicItem(a['name'],a[l(0x10e)]);}}[a44i(0x117)](a){const m=a44i,b=this['createItem'](a[m(0x104)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a44i,b=a['roomType']&&RoomType[a[n(0x10c)][n(0x115)]()]?RoomType[a[n(0x10c)]['toUpperCase']()]:RoomType[n(0x102)];return{'name':a['name'],'description':a[n(0x10e)],'isStartRoom':a[n(0x10a)],'roomType':b};}}function a44c(){const o=['addItem','isStartRoom','constructor','roomType','name','description','sword','5305750aRUzIQ','createItem','content','gauntlets','2028987qMYBlQ','toUpperCase','86962HweMit','createPuzzle','type','createRoom','helmet','puzzle','8RErnAH','1133127zhkvIb','bodyarmor','toString','key','828774FWMrtn','book','gloves','32eqhEhs','apply','7372806kGBZIu','legarmor','INSIDE','convertToRoomConfig','rewardItem','2625655blydTj','forEach','4RHXLEq','search'];a44c=function(){return o;};return a44c();}
@@ -1 +1 @@
1
- const a45j=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x14a))/0x1*(parseInt(h(0x124))/0x2)+-parseInt(h(0x12e))/0x3*(parseInt(h(0x147))/0x4)+parseInt(h(0x123))/0x5*(parseInt(h(0x13c))/0x6)+-parseInt(h(0x121))/0x7*(parseInt(h(0x136))/0x8)+-parseInt(h(0x134))/0x9*(-parseInt(h(0x120))/0xa)+-parseInt(h(0x12d))/0xb+parseInt(h(0x146))/0xc*(parseInt(h(0x11d))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x65d29));const a45b=(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;};}()),a45a=a45b(this,function(){const i=a45d;return a45a[i(0x139)]()[i(0x135)]('(((.+)+)+)+$')[i(0x139)]()[i(0x13a)](a45a)[i(0x135)](i(0x148));});a45a();import{Scene}from'./models/scene.js';function a45c(){const r=['getDescription','8885bLDFSV','550878REsnNc','getAllRegisteredCommands','getInstance','Welcome,\x20','scene','currentRoom','slice','currentLocation','lock','1326435oSRJGJ','39mMvbTl','equip','drop','createCommand','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','toLowerCase','79533aMsDGs','search','6152GLYJgO','trim','-\x20quit:\x20Exit\x20the\x20game.\x0a','toString','constructor','maka','228jRhsIu','player','clear','registerCommand','unlock','-\x20clear:\x20Clear\x20the\x20screen.\x0a','instance','determineStartRoom','help','look','84hDnHdH','138968sTRuSs','(((.+)+)+)+$','getWelcomeMessage','2EHOmqf','split','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','Available\x20Commands:\x0a','quit','getHelpMessage','initialize','345293ugfIDv','hasOwnProperty','say','560AYzCgd','2821bUUbyI'];a45c=function(){return r;};return a45c();}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';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x119;let f=c[d];return f;},a45d(a,b);}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 [a45j(0x142)];[a45j(0x128)];[a45j(0x13d)];[a45j(0x129)];['rooms'];constructor(a,b){const k=a45j;this[k(0x13d)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[k(0x128)][k(0x11c)](),this['player'][k(0x12b)]=this[k(0x143)](),this['registerCommands']();}['registerCommands'](){const l=a45j;CommandFactory[l(0x13f)](l(0x145),LookCommand),CommandFactory[l(0x13f)]('go',GoCommand),CommandFactory[l(0x13f)]('take',TakeCommand),CommandFactory[l(0x13f)]('use',UseCommand),CommandFactory['registerCommand'](l(0x12f),EquipCommand),CommandFactory[l(0x13f)]('unequip',UnequipCommand),CommandFactory['registerCommand']('solve',SolveCommand),CommandFactory['registerCommand'](l(0x130),DropCommand),CommandFactory[l(0x13f)](l(0x140),UnlockCommand),CommandFactory[l(0x13f)](l(0x12c),LockCommand),CommandFactory[l(0x13f)](l(0x135),SearchCommand),CommandFactory['registerCommand'](l(0x11f),SayCommand);}[a45j(0x143)](){const m=a45j;return this['scene'][m(0x143)]();}[a45j(0x149)](){const n=a45j;return n(0x127)+this[n(0x13d)]['name'];}static[a45j(0x126)](a,b){const o=a45j;return!Game[o(0x142)]&&(Game[o(0x142)]=new Game(a,b)),Game[o(0x142)];}['handleInput'](a){const p=a45j,b=a[p(0x137)]()[p(0x14b)]('\x20'),c=b[0x0][p(0x133)](),d=b[p(0x12a)](0x1);if(c===p(0x11a))return null;if(c===p(0x13b))return p(0x132);if(c===p(0x144))return this[p(0x11b)]();if(c===p(0x13e))return'';const e={'actor':this[p(0x13d)],'rooms':this['scene']['getRooms'](),'scene':this['scene']},f=CommandFactory[p(0x131)](c,e);if(f){const g=f['execute'](d);return g;}return p(0x14c)+c+'\x22.';}[a45j(0x11b)](){const q=a45j,a=CommandFactory[q(0x125)]();let b=q(0x119);for(const c in a){if(a[q(0x11e)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x122)]()+'\x0a';}}return b+=q(0x141),b+=q(0x138),b;}}
1
+ const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0xb1))/0x1+parseInt(h(0xb8))/0x2+-parseInt(h(0xb9))/0x3+parseInt(h(0xcd))/0x4+-parseInt(h(0xc0))/0x5+parseInt(h(0xb4))/0x6+-parseInt(h(0xbe))/0x7*(parseInt(h(0xc1))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xa62b0));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a['toString']()[j(0xd2)](j(0xc9))[j(0xd4)]()[j(0xbd)](a45a)[j(0xd2)](j(0xc9));});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';function a45c(){const s=['1058315TvsSWm','9904cnJABT','instance','getHelpMessage','getDescription','Available\x20Commands:\x0a','apply','look','trim','(((.+)+)+)+$','lock','getAllRegisteredCommands','toLowerCase','2226508IOPpMl','getInstance','name','take','clear','search','handleInput','toString','maka','player','rooms','scene','unlock','solve','hasOwnProperty','registerCommands','drop','execute','createCommand','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','-\x20quit:\x20Exit\x20the\x20game.\x0a','781724oodcDG','getWelcomeMessage','registerCommand','4382754eoYGWv','-\x20clear:\x20Clear\x20the\x20screen.\x0a','Welcome,\x20','use','2309204dgyGHq','2867121bVvMYQ','getRooms','currentLocation','determineStartRoom','constructor','7777GKeWbf','quit'];a45c=function(){return s;};return a45c();}import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xae;let f=c[d];return f;},a45d(a,b);}import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0xc2)];['scene'];[a45k(0xd6)];['currentRoom'];[a45k(0xd7)];constructor(a,b){const l=a45k;this[l(0xd6)]=a,this[l(0xd8)]=new Scene({'player':a,'roomConfiguration':b}),this['scene']['initialize'](),this['player'][l(0xbb)]=this[l(0xbc)](),this[l(0xdc)]();}[a45k(0xdc)](){const m=a45k;CommandFactory[m(0xb3)](m(0xc7),LookCommand),CommandFactory[m(0xb3)]('go',GoCommand),CommandFactory[m(0xb3)](m(0xd0),TakeCommand),CommandFactory[m(0xb3)](m(0xb7),UseCommand),CommandFactory[m(0xb3)]('equip',EquipCommand),CommandFactory['registerCommand']('unequip',UnequipCommand),CommandFactory[m(0xb3)](m(0xda),SolveCommand),CommandFactory[m(0xb3)](m(0xdd),DropCommand),CommandFactory[m(0xb3)](m(0xd9),UnlockCommand),CommandFactory['registerCommand'](m(0xca),LockCommand),CommandFactory[m(0xb3)](m(0xd2),SearchCommand),CommandFactory[m(0xb3)]('say',SayCommand);}['determineStartRoom'](){const n=a45k;return this[n(0xd8)]['determineStartRoom']();}[a45k(0xb2)](){const o=a45k;return o(0xb6)+this[o(0xd6)][o(0xcf)];}static[a45k(0xce)](a,b){const p=a45k;return!Game[p(0xc2)]&&(Game[p(0xc2)]=new Game(a,b)),Game[p(0xc2)];}[a45k(0xd3)](a){const q=a45k,b=a[q(0xc8)]()['split']('\x20'),c=b[0x0][q(0xcc)](),d=b['slice'](0x1);if(c===q(0xbf))return null;if(c===q(0xd5))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c==='help')return this[q(0xc3)]();if(c===q(0xd1))return'';const e={'actor':this[q(0xd6)],'rooms':this['scene'][q(0xba)](),'scene':this[q(0xd8)]},f=CommandFactory[q(0xae)](c,e);if(f){const g=f[q(0xde)](d);return g;}return q(0xaf)+c+'\x22.';}[a45k(0xc3)](){const r=a45k,a=CommandFactory[r(0xcb)]();let b=r(0xc5);for(const c in a){if(a[r(0xdb)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xc4)]()+'\x0a';}}return b+=r(0xb5),b+=r(0xb0),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x1a1))/0x1*(-parseInt(f(0x1a2))/0x2)+parseInt(f(0x1a4))/0x3+parseInt(f(0x1a7))/0x4+-parseInt(f(0x1a5))/0x5+-parseInt(f(0x1a3))/0x6+-parseInt(f(0x19f))/0x7+parseInt(f(0x1a0))/0x8*(parseInt(f(0x1a6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xe88c9));function a46c(){var h=['(((.+)+)+)+$','toString','search','2979088ZVHhFO','8WynceA','1180188esMefi','2dgbDuM','1354962llRiSv','5336802Sftgzi','63935OgPJgo','7484607BioELi','745400mnXrQx'];a46c=function(){return h;};return a46c();}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0x19d)]()[g(0x19e)](g(0x19c))[g(0x19d)]()['constructor'](a46a)['search'](g(0x19c));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x19c;var f=c[d];return f;},a46d(a,b);}export*from'./scene.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x15a))/0x1+-parseInt(f(0x156))/0x2*(-parseInt(f(0x159))/0x3)+-parseInt(f(0x164))/0x4+parseInt(f(0x15b))/0x5*(-parseInt(f(0x15c))/0x6)+parseInt(f(0x161))/0x7+parseInt(f(0x160))/0x8*(-parseInt(f(0x15f))/0x9)+parseInt(f(0x158))/0xa*(parseInt(f(0x15e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x7ef42));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0x157)]()[g(0x163)](g(0x15d))[g(0x157)]()[g(0x162)](a46a)['search'](g(0x15d));});a46a();function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x156;var f=c[d];return f;},a46d(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';function a46c(){var h=['9198ANyJGk','272DveiNW','7226086vsSQVs','constructor','search','3119756YbGXxB','403014CXEYEv','toString','36620LFIFWI','3ddoYRE','110145ScFEEf','85snIdBm','226866aoPVfs','(((.+)+)+)+$','1903apdnkz'];a46c=function(){return h;};return a46c();}export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x112))/0x1*(parseInt(f(0x128))/0x2)+parseInt(f(0x120))/0x3+parseInt(f(0x11d))/0x4*(parseInt(f(0x121))/0x5)+parseInt(f(0x115))/0x6+parseInt(f(0x118))/0x7+parseInt(f(0x129))/0x8*(-parseInt(f(0x114))/0x9)+-parseInt(f(0x12b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xb6554));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var g=a47d;return a47a[g(0x126)]()[g(0x117)](g(0x11f))[g(0x126)]()[g(0x122)](a47a)[g(0x117)]('(((.+)+)+)+$');});function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x111;var f=c[d];return f;},a47d(a,b);}a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a47c(){var m=['unlockItemOrSolution','4110WXKUiT','8GTbQMR','checkIfLocked','19941980UAAdOa','roomA','write','attemptUnlock','Door\x20created\x20between\x20','261QZRpxd','.\x20Is\x20Locked:\x20','11549709lwhcsm','8521926dQKRcS','roomB','search','1978830UpabrG','getOtherSide','checkIfLockable','getInstance','.\x20Used:\x20','4276OcoxxU','isLockable','(((.+)+)+)+$','2202426qgwwAy','4915ndoPdK','constructor','logger','isLocked','name','toString'];a47c=function(){return m;};return a47c();}export class Door extends AbstractDoor{[a47h(0x12c)];[a47h(0x116)];[a47h(0x124)];[a47h(0x127)];['name'];['logger'];['isLockable'];constructor(a){var i=a47h;super(),this[i(0x12c)]=a['roomA'],this[i(0x116)]=a[i(0x116)],this[i(0x124)]=a[i(0x124)]||![],this[i(0x127)]=a[i(0x127)],this['name']=a[i(0x125)]?capitalCase(a[i(0x125)]):'To\x20'+a[i(0x116)][i(0x125)],this[i(0x123)]=Logger[i(0x11b)](),this[i(0x11e)]=!!a[i(0x127)],this[i(0x123)][i(0x12d)](i(0x111)+this[i(0x12c)][i(0x125)]+'\x20and\x20'+this['roomB'][i(0x125)]+i(0x113)+this[i(0x124)]);}[a47h(0x119)](a){var j=a47h;return this[j(0x12c)]===a?this[j(0x116)]:this[j(0x12c)];}[a47h(0x12e)](a){var k=a47h;if(this['isLocked']&&this[k(0x127)]&&this['unlockItemOrSolution']===a)return this['isLocked']=![],this['logger']['write']('Door\x20unlocked:\x20'+this[k(0x125)]+k(0x11c)+a),!![];return this[k(0x123)][k(0x12d)]('Failed\x20to\x20unlock\x20door:\x20'+this[k(0x125)]+k(0x11c)+a),![];}[a47h(0x12a)](){return this['isLocked'];}[a47h(0x11a)](){var l=a47h;return this[l(0x11e)];}}
1
+ var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x11b))/0x1*(parseInt(f(0x12f))/0x2)+-parseInt(f(0x133))/0x3+parseInt(f(0x114))/0x4+-parseInt(f(0x128))/0x5+-parseInt(f(0x120))/0x6*(parseInt(f(0x12c))/0x7)+parseInt(f(0x12a))/0x8*(-parseInt(f(0x12d))/0x9)+parseInt(f(0x117))/0xa*(parseInt(f(0x129))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x8c420));function a47c(){var o=['524685BjRkve','1882143wxmkpr','(((.+)+)+)+$','606vIAHsM','isLocked','search','.\x20Used:\x20','1244805zkASJF','2888164XEpJoN','roomB','logger','7790nURaHR','attemptUnlock','checkIfLocked','name','251qJRmwy','Failed\x20to\x20unlock\x20door:\x20','toString','getInstance','apply','42bgCakd','checkIfLockable','isLockable','\x20and\x20','write','getOtherSide','roomA','Door\x20unlocked:\x20','3370375tBFLyE','36542WTNRPg','40kIpRqP','unlockItemOrSolution'];a47c=function(){return o;};return a47c();}var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x11d)]()[h(0x131)](h(0x12e))[h(0x11d)]()['constructor'](a47a)[h(0x131)](h(0x12e));});a47a();import{Logger}from'../utilities/logger.js';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x114;var f=c[d];return f;},a47d(a,b);}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x126)];[a47i(0x115)];[a47i(0x130)];['unlockItemOrSolution'];[a47i(0x11a)];[a47i(0x116)];[a47i(0x122)];constructor(a){var j=a47i;super(),this[j(0x126)]=a['roomA'],this[j(0x115)]=a[j(0x115)],this[j(0x130)]=a['isLocked']||![],this['unlockItemOrSolution']=a[j(0x12b)],this['name']=a['name']?capitalCase(a[j(0x11a)]):'To\x20'+a[j(0x115)][j(0x11a)],this[j(0x116)]=Logger[j(0x11e)](),this[j(0x122)]=!!a['unlockItemOrSolution'],this[j(0x116)][j(0x124)]('Door\x20created\x20between\x20'+this['roomA'][j(0x11a)]+j(0x123)+this[j(0x115)]['name']+'.\x20Is\x20Locked:\x20'+this[j(0x130)]);}[a47i(0x125)](a){var k=a47i;return this['roomA']===a?this[k(0x115)]:this['roomA'];}[a47i(0x118)](a){var l=a47i;if(this[l(0x130)]&&this['unlockItemOrSolution']&&this[l(0x12b)]===a)return this['isLocked']=![],this[l(0x116)][l(0x124)](l(0x127)+this[l(0x11a)]+l(0x132)+a),!![];return this['logger'][l(0x124)](l(0x11c)+this[l(0x11a)]+l(0x132)+a),![];}[a47i(0x119)](){var m=a47i;return this[m(0x130)];}[a47i(0x121)](){var n=a47i;return this[n(0x122)];}}
@@ -1 +1 @@
1
- const a48i=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x17b;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x19b))/0x1+parseInt(f(0x181))/0x2*(parseInt(f(0x192))/0x3)+parseInt(f(0x19f))/0x4+parseInt(f(0x193))/0x5*(-parseInt(f(0x185))/0x6)+parseInt(f(0x1a6))/0x7+parseInt(f(0x1a1))/0x8*(parseInt(f(0x18d))/0x9)+parseInt(f(0x19a))/0xa*(-parseInt(f(0x187))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xc0d40));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x17c)]()[h(0x19e)]('(((.+)+)+)+$')[h(0x17c)]()[h(0x196)](a48a)[h(0x19e)](h(0x19d));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a48c(){const r=['\x20to\x20inventory.','write','10602mKAxsi','Removed\x20item:\x20','map','items','hasItem','82389eMLvBS','692555oXArHO','join','removeItem','constructor','keys','\x20from\x20inventory.','toLowerCase','110rEXoJv','815051NndAZD','Added\x20item:\x20','(((.+)+)+)+$','search','1212176fRocuH','getItem','4904JMFMEd','Checked\x20for\x20item:\x20','getInstance','values','name','465038IqabdP','addItem','toString','apply','Listed\x20items\x20in\x20inventory:\x20','has','weight','94umQkOA','logger','.\x20Item\x20not\x20found.','.\x20Exists:\x20','6TTMhLx','Failed\x20to\x20remove\x20item:\x20','2269069DUkkXT','set','getWeight','\x20in\x20'];a48c=function(){return r;};return a48c();}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a48i(0x182)];constructor(){const j=a48i;super(),this[j(0x190)]=new Map(),this[j(0x182)]=Logger[j(0x1a3)]();}[a48i(0x17b)](a){const k=a48i;this[k(0x190)][k(0x188)](a['name'][k(0x199)](),a),this['logger'][k(0x18c)](k(0x19c)+a[k(0x1a5)]+k(0x18b));}[a48i(0x195)](a){const l=a48i,b=this[l(0x1a0)](a);if(b)return this[l(0x190)]['delete'](a[l(0x199)]()),this[l(0x182)][l(0x18c)](l(0x18e)+a+l(0x198)),b;return this[l(0x182)][l(0x18c)](l(0x186)+a+'.\x20Item\x20not\x20found.'),null;}[a48i(0x191)](a){const m=a48i,b=this['items'][m(0x17f)](a[m(0x199)]()),c=[...this['items']['keys']()];return this[m(0x182)][m(0x18c)](m(0x1a2)+a+m(0x18a)+c['join'](',\x20')+m(0x184)+b+'.'),b;}[a48i(0x1a0)](a){const n=a48i,b=this['items']['get'](a['toLowerCase']())||null;return b?this[n(0x182)][n(0x18c)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0x182)][n(0x18c)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+n(0x183)),b;}['listItems'](){const o=a48i,a=[...this[o(0x190)][o(0x197)]()],b=a[o(0x18f)](c=>capitalCase(c));return this[o(0x182)]['write'](o(0x17e)+b[o(0x194)](',\x20')+'.'),a;}[a48i(0x189)](){const p=a48i;let a=0x0;for(const b of this[p(0x190)]['values']()){a+=b[p(0x180)];}return a;}['getAllItems'](){const q=a48i;return[...this[q(0x190)][q(0x1a4)]()];}}
1
+ const a48h=a48d;function a48c(){const q=['set','Checked\x20for\x20item:\x20','504493ygqpiq','9027736AGEnuC','Retrieved\x20details\x20for\x20item:\x20','10629890DVJzEX','weight','2469330JNenTW','\x20to\x20inventory.','Removed\x20item:\x20','.\x20Item\x20not\x20found.','write','getInstance','toLowerCase','776468rBKBgj','828cHGxwN','removeItem','(((.+)+)+)+$','1577GLBWQM','.\x20Exists:\x20','search','66aUgvWI','Listed\x20items\x20in\x20inventory:\x20','getWeight','toString','items','1087329ZSMLvH','12ZoiogU','1330NxqNov','Failed\x20to\x20remove\x20item:\x20','name','join','get','getAllItems','\x20from\x20inventory.','9QABdhw','getItem','has','addItem','keys','delete','listItems','map','logger','values'];a48c=function(){return q;};return a48c();}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x127))/0x1*(-parseInt(f(0x131))/0x2)+parseInt(f(0x12f))/0x3*(parseInt(f(0x130))/0x4)+parseInt(f(0x11c))/0x5+parseInt(f(0x12a))/0x6*(parseInt(f(0x123))/0x7)+-parseInt(f(0x118))/0x8+-parseInt(f(0x138))/0x9*(-parseInt(f(0x11a))/0xa)+parseInt(f(0x117))/0xb*(-parseInt(f(0x124))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x97607));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a[g(0x12d)]()[g(0x129)](g(0x126))[g(0x12d)]()['constructor'](a48a)[g(0x129)]('(((.+)+)+)+$');});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x10e;let f=c[d];return f;},a48d(a,b);}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48h(0x12e)];['logger'];constructor(){const i=a48h;super(),this[i(0x12e)]=new Map(),this[i(0x113)]=Logger[i(0x121)]();}[a48h(0x10e)](a){const j=a48h;this[j(0x12e)][j(0x115)](a[j(0x133)][j(0x122)](),a),this[j(0x113)][j(0x120)]('Added\x20item:\x20'+a[j(0x133)]+j(0x11d));}[a48h(0x125)](a){const k=a48h,b=this[k(0x139)](a);if(b)return this[k(0x12e)][k(0x110)](a['toLowerCase']()),this['logger']['write'](k(0x11e)+a+k(0x137)),b;return this[k(0x113)][k(0x120)](k(0x132)+a+k(0x11f)),null;}['hasItem'](a){const l=a48h,b=this[l(0x12e)][l(0x13a)](a[l(0x122)]()),c=[...this[l(0x12e)][l(0x10f)]()];return this[l(0x113)][l(0x120)](l(0x116)+a+'\x20in\x20'+c[l(0x134)](',\x20')+l(0x128)+b+'.'),b;}[a48h(0x139)](a){const m=a48h,b=this[m(0x12e)][m(0x135)](a['toLowerCase']())||null;return b?this[m(0x113)][m(0x120)](m(0x119)+a+'.'):this[m(0x113)]['write']('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+m(0x11f)),b;}[a48h(0x111)](){const n=a48h,a=[...this[n(0x12e)][n(0x10f)]()],b=a[n(0x112)](c=>capitalCase(c));return this[n(0x113)][n(0x120)](n(0x12b)+b[n(0x134)](',\x20')+'.'),a;}[a48h(0x12c)](){const o=a48h;let a=0x0;for(const b of this[o(0x12e)][o(0x114)]()){a+=b[o(0x11b)];}return a;}[a48h(0x136)](){const p=a48h;return[...this[p(0x12e)]['values']()];}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x86))/0x1*(-parseInt(f(0x7f))/0x2)+-parseInt(f(0x6c))/0x3*(parseInt(f(0x6d))/0x4)+parseInt(f(0x6b))/0x5+-parseInt(f(0x6e))/0x6*(parseInt(f(0x83))/0x7)+-parseInt(f(0x80))/0x8*(parseInt(f(0x74))/0x9)+-parseInt(f(0x76))/0xa*(-parseInt(f(0x84))/0xb)+-parseInt(f(0x6f))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xeb678));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x7e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x71)]()[h(0x6a)]('(((.+)+)+)+$')['toString']()[h(0x72)](a49a)[h(0x6a)](h(0x82));});function a49c(){var l=['(((.+)+)+)+$','1680553ZOXZRo','2854841fJWZpI','category','277630sDndYc','search','8046435gOsyDF','6CxNItX','139676Hdrgll','24kGbuzm','5987748FVWcqF','shape','toString','constructor','.\x20Nothing\x20special\x20happens.','422442qmTtsL','texture','60ShXFFC','description','color','use','size','weight','uuid','name','apply','8uwnHOm','304hTikJq','rating'];a49c=function(){return l;};return a49c();}a49a();import{v4 as a49e}from'uuid';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x6a;var f=c[d];return f;},a49d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x7c)];['name'];[a49i(0x77)];[a49i(0x7a)];[a49i(0x85)];[a49i(0x70)];['color'];[a49i(0x75)];[a49i(0x81)];[a49i(0x7b)];constructor(a){var j=a49i;super(),this[j(0x7d)]=a['name'],this[j(0x77)]=a[j(0x77)],this['size']=a[j(0x7a)],this[j(0x85)]=a[j(0x85)],this[j(0x70)]=a[j(0x70)],this[j(0x78)]=a['color'],this['texture']=a['texture'],this[j(0x81)]=a['rating'],this[j(0x7b)]=a[j(0x7b)],this[j(0x7c)]=a49e();}[a49i(0x79)](){var k=a49i;return'You\x20use\x20the\x20'+this[k(0x7d)]+k(0x73);}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x133))/0x1*(parseInt(f(0x145))/0x2)+parseInt(f(0x141))/0x3*(parseInt(f(0x137))/0x4)+-parseInt(f(0x144))/0x5*(-parseInt(f(0x14b))/0x6)+-parseInt(f(0x13c))/0x7+parseInt(f(0x131))/0x8+-parseInt(f(0x134))/0x9*(parseInt(f(0x143))/0xa)+-parseInt(f(0x149))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x831fd));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x131;var f=c[d];return f;},a49d(a,b);}function a49c(){var l=['uuid','texture','4097404blGiNA','apply','constructor','size','.\x20Nothing\x20special\x20happens.','827904WdcIfr','(((.+)+)+)+$','rating','shape','category','3yTJYqx','name','38790jLUxZF','472715HkTDba','14HECzxe','toString','color','description','5555924uQNhEe','weight','18QYHVnf','You\x20use\x20the\x20','7138840hIRhaB','search','120295tMCrcy','459TTnUgs'];a49c=function(){return l;};return a49c();}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x138)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x146)]()[h(0x132)](h(0x13d))[h(0x146)]()[h(0x139)](a49a)[h(0x132)](h(0x13d));});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x135)];[a49i(0x142)];[a49i(0x148)];[a49i(0x13a)];[a49i(0x140)];['shape'];[a49i(0x147)];[a49i(0x136)];[a49i(0x13e)];[a49i(0x14a)];constructor(a){var j=a49i;super(),this[j(0x142)]=a[j(0x142)],this[j(0x148)]=a[j(0x148)],this[j(0x13a)]=a[j(0x13a)],this[j(0x140)]=a[j(0x140)],this[j(0x13f)]=a[j(0x13f)],this[j(0x147)]=a[j(0x147)],this[j(0x136)]=a['texture'],this['rating']=a[j(0x13e)],this[j(0x14a)]=a[j(0x14a)],this[j(0x135)]=a49e();}['use'](){var k=a49i;return k(0x14c)+this['name']+k(0x13b);}}
@@ -1 +1 @@
1
- function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xbe;let f=c[d];return f;},a50d(a,b);}function a50c(){const m=['random','810whIShP','510348rjAVGY','execute','moveTo','662167sBpBVd','search','5yKXznb','name','rooms','4rnaNrF','speak','136BsJXYZ','autonomousMove','scene','toString','732VdGTzd','597530ABJnLu','2987529nzZrqm','(((.+)+)+)+$','321909xnMGUC','8160905FxzzlG','floor','201430hJHqMt','_name','_dialogue','length'];a50c=function(){return m;};return a50c();}const a50h=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0xcf))/0x1*(-parseInt(f(0xbe))/0x2)+-parseInt(f(0xbf))/0x3*(parseInt(f(0xd2))/0x4)+parseInt(f(0xc2))/0x5+-parseInt(f(0xca))/0x6+parseInt(f(0xc1))/0x7*(parseInt(f(0xd4))/0x8)+-parseInt(f(0xc9))/0x9*(-parseInt(f(0xc4))/0xa)+-parseInt(f(0xcd))/0xb*(parseInt(f(0xd8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xec439));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const g=a50d;return a50a[g(0xd7)]()[g(0xce)]('(((.+)+)+)+$')[g(0xd7)]()['constructor'](a50a)['search'](g(0xc0));});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50h(0xc5)];['_dialogue'];[a50h(0xd1)];[a50h(0xd6)];constructor(a,b,c,d){const i=a50h;super(d),this[i(0xc5)]=a,this[i(0xc6)]=b,this['rooms']=c;}get[a50h(0xd0)](){return this['_name'];}[a50h(0xd3)](){const j=a50h;return this[j(0xc6)][Math[j(0xc3)](Math[j(0xc8)]()*this[j(0xc6)][j(0xc7)])];}[a50h(0xd5)](a){const k=a50h,b=a[Math[k(0xc3)](Math['random']()*a[k(0xc7)])];this[k(0xcc)](b[k(0xd0)]);}['moveTo'](a){const l=a50h,b={'actor':this,'rooms':this['rooms'],'scene':this[l(0xd6)]},c=new GoCommand(b);c[l(0xcb)]([a]);}}
1
+ function a50c(){const o=['24wqpXfb','floor','name','autonomousMove','moveTo','_name','1055388AWyzDY','22138344jvfFBY','(((.+)+)+)+$','random','2207457HYOJQh','apply','execute','speak','constructor','152964YuPkVR','113075dhpnmJ','scene','10rjOrLX','_dialogue','3598728qLdpDE','839209AkLEJu'];a50c=function(){return o;};return a50c();}const a50i=a50d;function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x160;let f=c[d];return f;},a50d(a,b);}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x167))/0x1+-parseInt(f(0x164))/0x2*(parseInt(f(0x161))/0x3)+parseInt(f(0x168))/0x4*(-parseInt(f(0x162))/0x5)+-parseInt(f(0x16e))/0x6+parseInt(f(0x172))/0x7+-parseInt(f(0x166))/0x8+parseInt(f(0x16f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xe0825));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()['search']('(((.+)+)+)+$')['toString']()[h(0x160)](a50a)['search'](h(0x170));});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x16d)];['_dialogue'];['rooms'];[a50i(0x163)];constructor(a,b,c,d){const j=a50i;super(d),this['_name']=a,this[j(0x165)]=b,this['rooms']=c;}get[a50i(0x16a)](){const k=a50i;return this[k(0x16d)];}[a50i(0x175)](){const l=a50i;return this[l(0x165)][Math['floor'](Math[l(0x171)]()*this[l(0x165)]['length'])];}[a50i(0x16b)](a){const m=a50i,b=a[Math[m(0x169)](Math['random']()*a['length'])];this[m(0x16c)](b['name']);}['moveTo'](a){const n=a50i,b={'actor':this,'rooms':this['rooms'],'scene':this[n(0x163)]},c=new GoCommand(b);c[n(0x174)]([a]);}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x159))/0x1*(-parseInt(f(0x15c))/0x2)+-parseInt(f(0x18a))/0x3+-parseInt(f(0x17c))/0x4*(parseInt(f(0x186))/0x5)+-parseInt(f(0x1a2))/0x6+-parseInt(f(0x150))/0x7+-parseInt(f(0x18b))/0x8+parseInt(f(0x176))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xc5696));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x162)]()[h(0x18d)](h(0x173))[h(0x162)]()[h(0x152)](a51a)['search']('(((.+)+)+)+$');});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';function a51c(){const C=['legarmor','139301bpKzrI','Max\x20carrying\x20weight\x20must\x20be\x20positive.','Hat','4NSZMCU','canEquip','Weapon','helmet','maxCarryingWeight','rightHand','toString','_maxCarryingWeight','.\x20You\x20must\x20unequip\x20it\x20first.','unequip','\x20in\x20your\x20inventory.','_currentLocation','removeInventory','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','determineEquipmentSlot','off','Added\x20','apply','addItem','enterRoom','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','\x20is\x20now\x20listening\x20in\x20room\x20','You\x20unequipped\x20','(((.+)+)+)+$','toLowerCase','weapon','62087472KtvwJZ','initialEquipment','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','startLocation','getWeight','speak','3132FtmfZr','Shield','legs','addInventory','You\x20equipped\x20','write','bodyarmor','leftHand','values','Failed\x20to\x20remove\x20','10095DbLMih','name','torso','Helmet','2969529mMKjoN','5071032Vxdajz','hat','search','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','ArmArmor','removeItem','Boots','hasItem','bind','currentWeight','includes','armarmor','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','error','leg\x20armor','\x20to\x20player\x27s\x20inventory.','LegArmor','Invalid\x20category\x20or\x20slot:\x20','head','equipment','inventoryItems','Nexus','logger','8219976JbfuRn','A\x20featureless\x20room','weight','log','You\x20don\x27t\x20have\x20','category','leaveRoom','equip','hear','_equipment','gloves','\x20from\x20player\x27s\x20inventory.','body\x20armor','feet','\x20is\x20no\x20longer\x20listeng\x20in\x20','arms','arm\x20armor','_playerName','8657691JFidpc','boots','constructor','Removed\x20','currentLocation','playerName','_inventory','Gloves'];a51c=function(){return C;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x14d;let f=c[d];return f;},a51d(a,b);}export class Player extends AbstractPlayer{[a51i(0x14f)];[a51i(0x167)];['_inventory'];['_equipment'];[a51i(0x163)]=0x32;[a51i(0x1a1)];constructor(a){const j=a51i;super(),this['_playerName']=a[j(0x155)],this[j(0x167)]=a[j(0x179)]||new Room({'name':j(0x1a0),'description':j(0x1a3)}),this[j(0x156)]=new Inventory(),this['logger']=Logger['getInstance']();if(a?.[j(0x19f)])for(const b of a[j(0x19f)]){this['_inventory']['addItem'](b);}this[j(0x1ab)]=a?.[j(0x177)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x187)](){const k=a51i;return this[k(0x14f)];}get['currentLocation'](){return this['_currentLocation'];}set[a51i(0x154)](a){const l=a51i;this[l(0x167)]!==a&&(this['leaveRoom'](),this[l(0x16f)](a)),this[l(0x167)]=a;}get['inventory'](){const m=a51i;return this[m(0x156)];}get[a51i(0x19e)](){const n=a51i;return this[n(0x1ab)];}set['equipment'](a){const o=a51i;this[o(0x1ab)]=a;}get['maxCarryingWeight'](){const p=a51i;return this[p(0x163)];}set[a51i(0x160)](a){const q=a51i;a>0x0?this['_maxCarryingWeight']=a:console[q(0x198)](q(0x15a));}get[a51i(0x194)](){const r=a51i;let a=this[r(0x156)][r(0x17a)]();for(const b in this[r(0x1ab)]){const c=this[r(0x1ab)][b];c&&(a+=c['weight']);}return a;}[a51i(0x17f)](a){const s=a51i;if(this[s(0x194)]+a[s(0x1a4)]>this[s(0x160)]){this[s(0x1a1)][s(0x181)](s(0x178));throw new Error(s(0x169));}this['_inventory'][s(0x16e)](a),this[s(0x1a1)]['write'](s(0x16c)+a[s(0x187)]+s(0x19a));}[a51i(0x168)](a){const t=a51i;if(this['_inventory'][t(0x190)](a[t(0x187)]))return this[t(0x1a1)][t(0x181)](t(0x153)+a[t(0x187)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[t(0x1a1)][t(0x181)](t(0x185)+a[t(0x187)]+t(0x1ad)),![];}[a51i(0x1a9)](a){const u=a51i;if(!this[u(0x156)][u(0x192)](a[u(0x187)]))return u(0x1a6)+a[u(0x187)]+u(0x166);if(!this['canEquip'](a))return'You\x20can\x27t\x20equip\x20'+a[u(0x187)]+'.';const b=this[u(0x16a)](a[u(0x1a7)]);if(!b)return a['name']+u(0x197);if(this[u(0x19e)][b])return u(0x18e)+b+u(0x164);return this[u(0x19e)][b]=a,this[u(0x168)](a),u(0x180)+a['name']+'.';}[a51i(0x165)](a){const v=a51i;let b=a;if(!this[v(0x19e)][camelCase(b)]){b=this[v(0x16a)](a);if(!b)return v(0x19c)+a+'.';}return this['unequipBySlot'](b);}[a51i(0x16a)](a){const w=a51i;switch(a[w(0x174)]()){case Category[w(0x15e)][w(0x174)]():return'rightHand';case Category[w(0x17d)][w(0x174)]():return w(0x183);case Category[w(0x157)][w(0x174)]():return'gloves';case Category[w(0x189)][w(0x174)]():case Category[w(0x15b)]['toLowerCase']():return w(0x19d);case Category[w(0x191)]['toLowerCase']():return'feet';case Category[w(0x19b)][w(0x174)]():return'legs';case Category[w(0x18f)][w(0x174)]():return w(0x14d);case Category['BodyArmor'][w(0x174)]():return w(0x188);case w(0x175):return w(0x161);case'shield':return'leftHand';case w(0x1ac):return'gloves';case w(0x15f):case w(0x18c):return'head';case w(0x151):return w(0x1af);case w(0x199):case w(0x158):return w(0x17e);case w(0x14e):case w(0x196):return'arms';case w(0x1ae):case w(0x182):case w(0x188):return w(0x188);default:return null;}}[a51i(0x15d)](a){const x=a51i;return Object[x(0x184)](Category)[x(0x195)](a[x(0x1a7)]);}['unequipBySlot'](a){const y=a51i,b=this['equipment'][a];if(!b)return y(0x170)+a+'\x20slot.';return this[y(0x17f)](b),this[y(0x19e)][a]=null,y(0x172)+b[y(0x187)]+'.';}[a51i(0x1aa)](a,b){const z=a51i;a!==this&&this['logger'][z(0x1a5)](a[z(0x187)]+'\x20says:\x20\x22'+b+'\x22');}[a51i(0x16f)](a){const A=a51i;this[A(0x167)]=a,a['on'](A(0x17b),this['hear']['bind'](this)),this[A(0x1a1)][A(0x181)](this['name']+A(0x171)+a[A(0x187)]);}[a51i(0x1a8)](){const B=a51i;this[B(0x167)]&&(this[B(0x167)][B(0x16b)](B(0x17b),this[B(0x1aa)][B(0x193)](this)),this[B(0x1a1)][B(0x181)](this['name']+B(0x1b0)+this[B(0x167)]['name']));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x17b))/0x1*(parseInt(f(0x171))/0x2)+-parseInt(f(0x159))/0x3*(parseInt(f(0x158))/0x4)+parseInt(f(0x17e))/0x5*(parseInt(f(0x14d))/0x6)+-parseInt(f(0x15b))/0x7*(-parseInt(f(0x13e))/0x8)+-parseInt(f(0x181))/0x9+parseInt(f(0x136))/0xa+-parseInt(f(0x14c))/0xb*(-parseInt(f(0x18a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x48020));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a['toString']()['search'](h(0x15c))['toString']()[h(0x157)](a51a)[h(0x166)](h(0x15c));});function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x132;let f=c[d];return f;},a51d(a,b);}a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';function a51c(){const D=['getWeight','\x20to\x20player\x27s\x20inventory.','leftHand','Removed\x20','8854764QHdyMQ','values','BodyArmor','shield','Helmet','determineEquipmentSlot','3406520Rfwdil','inventory','bind','removeInventory','enterRoom','inventoryItems','\x20slot.','error','502376ZBnobv','playerName','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','\x20from\x20player\x27s\x20inventory.','speak','currentWeight','_inventory','armarmor','You\x20don\x27t\x20have\x20','ArmArmor','leaveRoom','startLocation','Gloves','hear','11IqaRRe','6YlPajX','torso','helmet','arms','A\x20featureless\x20room','_currentLocation','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','hat','gloves','unequipBySlot','constructor','9116CdqynE','687USCWuL','Added\x20','7ihyJqG','(((.+)+)+)+$','equipment','\x20is\x20no\x20longer\x20listeng\x20in\x20','unequip','currentLocation','arm\x20armor','leg\x20armor','legarmor','addInventory','head','search','\x20is\x20now\x20listening\x20in\x20room\x20','feet','body\x20armor','rightHand','addItem','Weapon','You\x20unequipped\x20','_maxCarryingWeight','category','Max\x20carrying\x20weight\x20must\x20be\x20positive.','202kysnkI','apply','legs','maxCarryingWeight','write','.\x20You\x20must\x20unequip\x20it\x20first.','Failed\x20to\x20remove\x20','_equipment','removeItem','logger','2447lWPJpD','canEquip','initialEquipment','441665frvJjF','weapon','\x20says:\x20\x22','1491273SwuzMF','_playerName','name','hasItem','toLowerCase'];a51c=function(){return D;};return a51c();}import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a51i(0x152)];[a51i(0x144)];[a51i(0x178)];[a51i(0x16e)]=0x32;[a51i(0x17a)];constructor(a){const j=a51i;super(),this[j(0x182)]=a[j(0x13f)],this[j(0x152)]=a[j(0x149)]||new Room({'name':'Nexus','description':j(0x151)}),this[j(0x144)]=new Inventory(),this[j(0x17a)]=Logger['getInstance']();if(a?.[j(0x13b)])for(const b of a[j(0x13b)]){this[j(0x144)]['addItem'](b);}this[j(0x178)]=a?.[j(0x17d)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x183)](){const k=a51i;return this[k(0x182)];}get[a51i(0x160)](){const l=a51i;return this[l(0x152)];}set[a51i(0x160)](a){const m=a51i;this[m(0x152)]!==a&&(this[m(0x148)](),this[m(0x13a)](a)),this['_currentLocation']=a;}get[a51i(0x137)](){const n=a51i;return this[n(0x144)];}get[a51i(0x15d)](){const o=a51i;return this[o(0x178)];}set[a51i(0x15d)](a){const p=a51i;this[p(0x178)]=a;}get[a51i(0x174)](){const q=a51i;return this[q(0x16e)];}set[a51i(0x174)](a){const r=a51i;a>0x0?this['_maxCarryingWeight']=a:console[r(0x13d)](r(0x170));}get['currentWeight'](){const s=a51i;let a=this[s(0x144)][s(0x186)]();for(const b in this['_equipment']){const c=this['_equipment'][b];c&&(a+=c['weight']);}return a;}['addInventory'](a){const t=a51i;if(this[t(0x143)]+a['weight']>this[t(0x174)]){this[t(0x17a)][t(0x175)](t(0x153));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this['_inventory'][t(0x16b)](a),this[t(0x17a)][t(0x175)](t(0x15a)+a[t(0x183)]+t(0x187));}[a51i(0x139)](a){const u=a51i;if(this['_inventory'][u(0x179)](a[u(0x183)]))return this['logger']['write'](u(0x189)+a[u(0x183)]+u(0x141)),!![];return this[u(0x17a)][u(0x175)](u(0x177)+a[u(0x183)]+'\x20from\x20player\x27s\x20inventory.'),![];}['equip'](a){const v=a51i;if(!this['_inventory'][v(0x184)](a[v(0x183)]))return v(0x146)+a[v(0x183)]+'\x20in\x20your\x20inventory.';if(!this[v(0x17c)](a))return'You\x20can\x27t\x20equip\x20'+a[v(0x183)]+'.';const b=this[v(0x135)](a[v(0x16f)]);if(!b)return a[v(0x183)]+v(0x140);if(this[v(0x15d)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+v(0x176);return this['equipment'][b]=a,this[v(0x139)](a),'You\x20equipped\x20'+a[v(0x183)]+'.';}[a51i(0x15f)](a){const w=a51i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[w(0x135)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[w(0x156)](b);}[a51i(0x135)](a){const x=a51i;switch(a[x(0x185)]()){case Category[x(0x16c)][x(0x185)]():return'rightHand';case Category['Shield'][x(0x185)]():return x(0x188);case Category[x(0x14a)][x(0x185)]():return x(0x155);case Category[x(0x134)]['toLowerCase']():case Category['Hat'][x(0x185)]():return x(0x165);case Category['Boots']['toLowerCase']():return x(0x168);case Category['LegArmor']['toLowerCase']():return x(0x173);case Category[x(0x147)][x(0x185)]():return x(0x150);case Category[x(0x132)][x(0x185)]():return x(0x14e);case x(0x17f):return x(0x16a);case x(0x133):return x(0x188);case x(0x155):return'gloves';case x(0x14f):case x(0x154):return'head';case'boots':return'feet';case x(0x162):case x(0x163):return x(0x173);case x(0x161):case x(0x145):return x(0x150);case x(0x169):case'bodyarmor':case'torso':return x(0x14e);default:return null;}}[a51i(0x17c)](a){const y=a51i;return Object[y(0x18b)](Category)['includes'](a[y(0x16f)]);}[a51i(0x156)](a){const z=a51i,b=this['equipment'][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+z(0x13c);return this[z(0x164)](b),this[z(0x15d)][a]=null,z(0x16d)+b['name']+'.';}[a51i(0x14b)](a,b){const A=a51i;a!==this&&this['logger']['log'](a[A(0x183)]+A(0x180)+b+'\x22');}['enterRoom'](a){const B=a51i;this[B(0x152)]=a,a['on'](B(0x142),this['hear'][B(0x138)](this)),this[B(0x17a)][B(0x175)](this[B(0x183)]+B(0x167)+a[B(0x183)]);}['leaveRoom'](){const C=a51i;this[C(0x152)]&&(this[C(0x152)]['off'](C(0x142),this[C(0x14b)][C(0x138)](this)),this[C(0x17a)]['write'](this[C(0x183)]+C(0x15e)+this['_currentLocation']['name']));}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x161))/0x1*(-parseInt(f(0x14e))/0x2)+parseInt(f(0x14c))/0x3*(-parseInt(f(0x15e))/0x4)+parseInt(f(0x168))/0x5+-parseInt(f(0x151))/0x6+-parseInt(f(0x16e))/0x7+-parseInt(f(0x159))/0x8*(parseInt(f(0x169))/0x9)+parseInt(f(0x15f))/0xa*(parseInt(f(0x15d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x2ee66));function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x14c;var f=c[d];return f;},a52d(a,b);}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x156)](h(0x160))[h(0x14d)]()[h(0x15b)](a52a)[h(0x156)](h(0x160));});a52a();import{Logger}from'../utilities/logger.js';function a52c(){var m=['You\x20solved\x20the\x20puzzle!','failureMessage','requiredItem','requiredPhrase','search','logger','hasRequiredItem','16IZTIac','write','constructor','solved','2565838lAsbFS','330508baOxhA','20nuNMNu','(((.+)+)+)+$','4uyjaLj','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','riddle','rewardItem','getInstance','You\x20have\x20already\x20solved\x20this\x20puzzle.','1904445HHjHWy','488241ouvdWJ','apply','Puzzle:\x20Correct\x20solution\x20provided.','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','successMessage','964614YTwyrc','solve','9sGrwyK','toString','80980hQusjE','hasItem','matchesRequiredPhrase','1938492AeQLwV'];a52c=function(){return m;};return a52c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a52i(0x166)]();[a52i(0x15c)]=![];[a52i(0x154)];[a52i(0x155)];[a52i(0x164)];['rewardItem'];[a52i(0x16d)];[a52i(0x153)];constructor(a){var j=a52i;super(),this['requiredItem']=a[j(0x154)],this[j(0x155)]=a['requiredPhrase'],this['riddle']=a['riddle'],this[j(0x165)]=a['rewardItem'],this[j(0x16d)]=a[j(0x16d)]||j(0x152),this[j(0x153)]=a[j(0x153)]||j(0x163);}[a52i(0x158)](a){var k=a52i;if(this[k(0x154)])return a[k(0x14f)](this['requiredItem']);return![];}[a52i(0x150)](a){return this['requiredPhrase']===a;}[a52i(0x16f)](a,b){var l=a52i;if(this[l(0x15c)])return this[l(0x157)][l(0x15a)](l(0x16c)),{'success':![],'message':l(0x167)};return this[l(0x158)](b)||this[l(0x150)](a)?(this[l(0x15c)]=!![],this[l(0x157)][l(0x15a)](l(0x16b)),{'success':!![],'message':this[l(0x16d)]}):(this[l(0x157)][l(0x15a)](l(0x162)),{'success':![],'message':this[l(0x153)]});}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xbc))/0x1*(parseInt(f(0xc0))/0x2)+parseInt(f(0xc6))/0x3+parseInt(f(0xb5))/0x4*(parseInt(f(0xbb))/0x5)+parseInt(f(0xc8))/0x6+parseInt(f(0xbf))/0x7+-parseInt(f(0xca))/0x8+parseInt(f(0xb6))/0x9*(parseInt(f(0xbd))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x48ef8));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xcb)]()[h(0xcc)](h(0xc7))[h(0xcb)]()[h(0xb0)](a52a)['search']('(((.+)+)+)+$');});a52a();function a52c(){var n=['rewardItem','matchesRequiredPhrase','solve','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','5ZJvtZo','1KycQpU','3645580SFCtWz','logger','1229389cQpFNP','463948vZLSRH','hasItem','apply','failureMessage','solved','You\x20solved\x20the\x20puzzle!','83436OlSWvk','(((.+)+)+)+$','114408lzMGJF','successMessage','1624912YxyXWB','toString','search','write','hasRequiredItem','constructor','riddle','requiredPhrase','requiredItem','getInstance','587068HrrHVR','9JiAQrA'];a52c=function(){return n;};return a52c();}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xae;var f=c[d];return f;},a52d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a52i(0xb4)]();['solved']=![];[a52i(0xb3)];[a52i(0xb2)];['riddle'];[a52i(0xb7)];['successMessage'];['failureMessage'];constructor(a){var j=a52i;super(),this['requiredItem']=a[j(0xb3)],this[j(0xb2)]=a[j(0xb2)],this[j(0xb1)]=a[j(0xb1)],this['rewardItem']=a[j(0xb7)],this[j(0xc9)]=a[j(0xc9)]||j(0xc5),this[j(0xc3)]=a[j(0xc3)]||j(0xba);}[a52i(0xaf)](a){var k=a52i;if(this[k(0xb3)])return a[k(0xc1)](this['requiredItem']);return![];}[a52i(0xb8)](a){var l=a52i;return this[l(0xb2)]===a;}[a52i(0xb9)](a,b){var m=a52i;if(this[m(0xc4)])return this[m(0xbe)][m(0xae)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[m(0xaf)](b)||this[m(0xb8)](a)?(this[m(0xc4)]=!![],this['logger'][m(0xae)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[m(0xc9)]}):(this[m(0xbe)][m(0xae)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[m(0xc3)]});}}
@@ -1 +1 @@
1
- const a53i=a53d;function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xe7;let f=c[d];return f;},a53d(a,b);}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x111))/0x1+parseInt(f(0x119))/0x2*(-parseInt(f(0x11a))/0x3)+-parseInt(f(0x109))/0x4*(-parseInt(f(0xe8))/0x5)+-parseInt(f(0xf4))/0x6*(parseInt(f(0x115))/0x7)+parseInt(f(0x11c))/0x8+-parseInt(f(0xfa))/0x9+-parseInt(f(0xe7))/0xa*(-parseInt(f(0x10b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x4e5b4));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x100)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0x102)](h(0xea))[h(0x101)]()[h(0x117)](a53a)[h(0x102)](h(0xea));});a53a();import{Logger}from'../utilities/logger.js';function a53c(){const u=['emit','894560mogMbg','east','values','down','speak','\x20is\x20locked.\x20Result:\x20','west','set','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','13193770AEgMfD','515XOFjBt','getOppositeDirection','(((.+)+)+)+$','removeItem','puzzle','isStartRoom','roomB','No\x20locked\x20exit\x20found\x20in\x20direction\x20','attemptUnlock','north','Room\x20created:\x20','inventory','768tZjcoB','description','write','riddle','isExitLocked','logger','4434273bsZmEB','addItem','Item\x20removed\x20from\x20room\x20','roomA','get','Checking\x20if\x20exit\x20in\x20direction\x20','apply','toString','search','say','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','setPuzzle','SOUTH','findExistingDoor','exits','652LaGPeS','INSIDE','11OiStUb','DOWN','\x20unlocked!','addExit','name','Puzzle\x20set\x20for\x20room\x20','203614ioXcEY','south','hasItem','Fetching\x20exit\x20in\x20direction:\x20','17668flAOJK','The\x20','constructor','roomType','1029766MDUTAT','3mVJOTq'];a53c=function(){return u;};return a53c();}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0xf9)]=Logger['getInstance']();[a53i(0x10f)];[a53i(0xf5)];[a53i(0x108)]=new Map();[a53i(0x118)];[a53i(0xed)];[a53i(0xf3)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x10f)]=a[j(0x10f)],this['description']=a[j(0xf5)],this[j(0x118)]=a[j(0x118)]||RoomType[j(0x10a)],a[j(0x108)]&&(this[j(0x108)]=a[j(0x108)]||new Map()),a[j(0xf3)]&&(this['inventory']=a[j(0xf3)]),a[j(0xec)]&&(this[j(0xec)]=a[j(0xec)]),this[j(0xed)]=a['isStartRoom']||![],this[j(0xf9)][j(0xf6)](j(0xf2)+this[j(0x10f)]);}[a53i(0x103)](a,b){const k=a53i;this[k(0x11b)](k(0x120),a,b);}[a53i(0x10e)](a,b,c){const l=a53i;let d=this[l(0x107)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x108)][l(0x123)](a,d),b[l(0x108)][l(0x123)](this[l(0xe9)](a),d);}['attemptUnlockExit'](a,b){const m=a53i,c=this['exits']['get'](a);if(c instanceof Door){const d=c[m(0xf0)](b);return this['logger']['write']('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+'.\x20Success:\x20'+d),d?m(0x116)+c[m(0x10f)]+m(0x10d):m(0x116)+c[m(0x10f)]+'\x20remains\x20locked.';}return this[m(0xf9)]['write'](m(0xef)+a),m(0x104);}['getExit'](a){const n=a53i;return this[n(0xf9)][n(0xf6)](n(0x114)+a),this['exits']['get'](a);}[a53i(0xf8)](a){const o=a53i,b=this[o(0x108)][o(0xfe)](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0xf9)][o(0xf6)](o(0xff)+a+o(0x121)+c),c;}[a53i(0xfb)](a){const p=a53i;this[p(0xf3)]['addItem'](a),this[p(0xf9)][p(0xf6)]('Item\x20added\x20to\x20room\x20'+this['name']+':\x20'+a[p(0x10f)]);}[a53i(0xeb)](a){const q=a53i;this[q(0xf3)][q(0x113)](a['name'])?(this[q(0xf3)][q(0xeb)](a[q(0x10f)]),this[q(0xf9)][q(0xf6)](q(0xfc)+this[q(0x10f)]+':\x20'+a['name'])):this['logger'][q(0xf6)](q(0x124)+this['name']+':\x20'+a['name']);}[a53i(0x105)](a){const r=a53i;this[r(0xec)]=a,this['logger']['write'](r(0x110)+this['name']+':\x20'+a[r(0xf7)]);}[a53i(0xe9)](a){const s=a53i;switch(a){case s(0xf1):return Direction[s(0x106)];case s(0x112):return Direction['NORTH'];case s(0x11d):return Direction['WEST'];case s(0x122):return Direction['EAST'];case'up':return Direction[s(0x10c)];case s(0x11f):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}['findExistingDoor'](a){const t=a53i;for(const b of this[t(0x108)][t(0x11e)]()){if(b instanceof Door){if(b[t(0xfd)]===this&&b[t(0xee)]===a||b[t(0xee)]===this&&b[t(0xfd)]===a)return b;}}return undefined;}}
1
+ const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x1c3))/0x1*(-parseInt(f(0x1c2))/0x2)+-parseInt(f(0x1a4))/0x3*(-parseInt(f(0x1d4))/0x4)+-parseInt(f(0x1a7))/0x5+-parseInt(f(0x1d3))/0x6+parseInt(f(0x1d5))/0x7+parseInt(f(0x1cd))/0x8*(-parseInt(f(0x1cc))/0x9)+parseInt(f(0x1bc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xa69b8));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const g=a53d;return a53a[g(0x1bb)]()[g(0x1b3)]('(((.+)+)+)+$')[g(0x1bb)]()[g(0x1cb)](a53a)[g(0x1b3)](g(0x1b4));});a53a();import{Logger}from'../utilities/logger.js';function a53c(){const t=['hasItem','57fOHJhd','exits','values','2246940cZSBUZ','Item\x20added\x20to\x20room\x20','say','getOppositeDirection','name','setPuzzle','getExit','isStartRoom','Item\x20removed\x20from\x20room\x20','emit','riddle','attemptUnlock','search','(((.+)+)+)+$','Fetching\x20exit\x20in\x20direction:\x20','get','Invalid\x20direction:\x20','description','roomA','SOUTH','toString','9290620QNjeag','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','getInstance','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','No\x20locked\x20exit\x20found\x20in\x20direction\x20','The\x20','6998XjCHMI','87kuPfOp','\x20remains\x20locked.','isExitLocked','DOWN','findExistingDoor','roomType','Room\x20created:\x20','down','constructor','1503351NiSANM','8IDxRdI','EAST','removeItem','addItem','logger','Checking\x20if\x20exit\x20in\x20direction\x20','3371652UAISth','21652GxsebY','7933079sSMgAR','write','checkIfLocked','set','\x20unlocked!','inventory','.\x20Success:\x20','speak','west','puzzle','WEST','NORTH'];a53c=function(){return t;};return a53c();}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x19b;let f=c[d];return f;},a53d(a,b);}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53h(0x1d1)]=Logger[a53h(0x1be)]();[a53h(0x1ab)];['description'];['exits']=new Map();[a53h(0x1c8)];[a53h(0x1ae)];['inventory']=new Inventory();constructor(a){const i=a53h;super(),this[i(0x1ab)]=a['name'],this[i(0x1b8)]=a[i(0x1b8)],this[i(0x1c8)]=a['roomType']||RoomType['INSIDE'],a['exits']&&(this[i(0x1a5)]=a['exits']||new Map()),a['inventory']&&(this['inventory']=a[i(0x19c)]),a[i(0x1a0)]&&(this[i(0x1a0)]=a[i(0x1a0)]),this['isStartRoom']=a[i(0x1ae)]||![],this['logger']['write'](i(0x1c9)+this['name']);}[a53h(0x1a9)](a,b){const j=a53h;this[j(0x1b0)](j(0x19e),a,b);}['addExit'](a,b,c){const k=a53h;let d=this[k(0x1c7)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0x1a5)]['set'](a,d),b[k(0x1a5)][k(0x1d8)](this[k(0x1aa)](a),d);}['attemptUnlockExit'](a,b){const l=a53h,c=this[l(0x1a5)][l(0x1b6)](a);if(c instanceof Door){const d=c[l(0x1b2)](b);return this['logger'][l(0x1d6)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+l(0x19d)+d),d?l(0x1c1)+c[l(0x1ab)]+l(0x19b):l(0x1c1)+c[l(0x1ab)]+l(0x1c4);}return this['logger'][l(0x1d6)](l(0x1c0)+a),l(0x1bf);}[a53h(0x1ad)](a){const m=a53h;return this[m(0x1d1)]['write'](m(0x1b5)+a),this[m(0x1a5)]['get'](a);}[a53h(0x1c5)](a){const n=a53h,b=this['exits'][n(0x1b6)](a),c=b instanceof Door&&b[n(0x1d7)]();return this[n(0x1d1)]['write'](n(0x1d2)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a53h(0x1d0)](a){const o=a53h;this[o(0x19c)][o(0x1d0)](a),this[o(0x1d1)][o(0x1d6)](o(0x1a8)+this['name']+':\x20'+a[o(0x1ab)]);}[a53h(0x1cf)](a){const p=a53h;this[p(0x19c)][p(0x1a3)](a['name'])?(this[p(0x19c)]['removeItem'](a['name']),this[p(0x1d1)][p(0x1d6)](p(0x1af)+this[p(0x1ab)]+':\x20'+a[p(0x1ab)])):this[p(0x1d1)][p(0x1d6)](p(0x1bd)+this[p(0x1ab)]+':\x20'+a[p(0x1ab)]);}[a53h(0x1ac)](a){const q=a53h;this[q(0x1a0)]=a,this[q(0x1d1)][q(0x1d6)]('Puzzle\x20set\x20for\x20room\x20'+this[q(0x1ab)]+':\x20'+a[q(0x1b1)]);}['getOppositeDirection'](a){const r=a53h;switch(a){case'north':return Direction[r(0x1ba)];case'south':return Direction[r(0x1a2)];case'east':return Direction[r(0x1a1)];case r(0x19f):return Direction[r(0x1ce)];case'up':return Direction[r(0x1c6)];case r(0x1ca):return Direction['UP'];default:throw new Error(r(0x1b7)+a);}}[a53h(0x1c7)](a){const s=a53h;for(const b of this[s(0x1a5)][s(0x1a6)]()){if(b instanceof Door){if(b[s(0x1b9)]===this&&b['roomB']===a||b['roomB']===this&&b[s(0x1b9)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- function a54c(){const C=['10EAqwnu','addActor','determineStartRoom','logger','addItem','has','player','Failed\x20to\x20add\x20item\x20','setPuzzle','rooms','addExit','getRooms','createRoom','push','characterLocations','values','74565pzrjju','warn','Failed\x20to\x20set\x20','exits','Actor\x20with\x20name\x20','removeActor','\x20not\x20found\x20in\x20scene.','18XGlNqg','toString','660rOiEFY','removeRoom','\x20already\x20exists\x20in\x20the\x20scene.','keyRequired','286018GbpRni','keys','\x20found\x20in\x20the\x20scene.','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','write','search','Failed\x20to\x20add\x20puzzle.\x20Room\x20','name','4645629HltsIj','\x27s\x20location.\x20Room\x20','length','roomConfiguration','Added\x20item\x20','get','Room\x20\x22','8tfEUyI','289596oOyWlS','hasOwnProperty','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','currentLocation','connectRooms','72tvtXQF','generateRoomsFromConfig','join','Added\x20puzzle\x20to\x20room\x20','from','1106497bglmhQ','getCharacterLocation','actors','targetRoom','Removed\x20room\x20from\x20scene:\x20','isStartRoom','roomFactory','(((.+)+)+)+$','getActor','getPlayer','174381ORZwFz','2729454FeWgos','\x20to\x20room\x20','set','\x22\x20does\x20not\x20exist.','direction','createExitsFromConfig'];a54c=function(){return C;};return a54c();}const a54k=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x73))/0x1+parseInt(i(0xb5))/0x2*(parseInt(i(0x97))/0x3)+-parseInt(i(0x88))/0x4*(-parseInt(i(0xae))/0x5)+parseInt(i(0x98))/0x6+parseInt(i(0x8d))/0x7*(-parseInt(i(0x82))/0x8)+-parseInt(i(0x7b))/0x9*(-parseInt(i(0x9e))/0xa)+parseInt(i(0xb7))/0xb*(-parseInt(i(0x83))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x6c10a));const a54b=(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;};}()),a54a=a54b(this,function(){const j=a54d;return a54a[j(0xb6)]()[j(0x78)]('(((.+)+)+)+$')[j(0xb6)]()['constructor'](a54a)['search'](j(0x94));});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x72;let f=c[d];return f;},a54d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54k(0xa7)];['player'];[a54k(0xa1)];[a54k(0x8f)];[a54k(0xac)]=new Map();[a54k(0x93)];constructor(a){const l=a54k;super(),this[l(0x93)]=new RoomFactory(),this[l(0xa4)]=a['player'],this[l(0xa7)]=this[l(0x89)](a[l(0x7e)]),this[l(0xa1)]=Logger['getInstance'](),this[l(0x8f)]=new Map(),this[l(0x9d)](a[l(0x7e)]),this[l(0xa1)][l(0x77)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[l(0x74)](this['rooms'])[l(0x8a)](',\x20'));}['initialize'](){const m=a54k;this[m(0xa4)][m(0x86)]=this[m(0xa0)]();}[a54k(0x89)](a){const n=a54k;if(!this['roomFactory'])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[n(0x93)][n(0xaa)](c);b[c[n(0x7a)]]=d;}return b;}[a54k(0x9d)](a){const o=a54k;for(const b of a){const c=this[o(0xa7)][b[o(0x7a)]];if(b['exits'])for(const d of b[o(0xb1)]){const e=d[o(0x9c)]['toUpperCase'](),f=d[o(0x90)],g=d[o(0x72)],h=this[o(0xa7)][f];h&&c[o(0xa8)](Direction[e],h,g);}}}[a54k(0x9f)](a){const p=a54k;if(this[p(0x8f)][p(0xa3)](a[p(0x7a)]))throw new Error(p(0xb2)+a[p(0x7a)]+p(0xb9));this[p(0x8f)][p(0x9a)](a[p(0x7a)],a);}[a54k(0xb3)](a){const q=a54k;if(!this[q(0x8f)]['has'](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+q(0x75));this['actors']['delete'](a);}[a54k(0x95)](a){const r=a54k;return this[r(0x8f)]['get'](a);}get['allActors'](){const s=a54k;return Array[s(0x8c)](this[s(0x8f)][s(0xad)]());}['addRoom'](a){const t=a54k;this['rooms'][a[t(0x7a)]]=a,this['logger'][t(0x77)]('Added\x20room\x20to\x20scene:\x20'+a[t(0x7a)]);}[a54k(0xb8)](a){const u=a54k;return this[u(0xa7)][a]?(delete this[u(0xa7)][a],this[u(0xa1)][u(0x77)](u(0x91)+a),!![]):(this[u(0xa1)]['write'](u(0x85)+a),![]);}['addItemToRoom'](a,b){const v=a54k,c=this['rooms'][b];c?(c[v(0xa2)](a),this[v(0xa1)][v(0x77)](v(0x7f)+a[v(0x7a)]+v(0x99)+c[v(0x7a)])):this[v(0xa1)]['write'](v(0xa5)+a['name']+'.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}['addPuzzleToRoom'](a,b){const w=a54k,c=this[w(0xa7)][b];c?(c[w(0xa6)](a),this[w(0xa1)][w(0x77)](w(0x8b)+c['name'])):this[w(0xa1)][w(0x77)](w(0x79)+b+w(0xb4));}['setCharacterLocation'](a,b){const x=a54k,c=this['rooms'][b];c?(this[x(0xac)][x(0x9a)](a[x(0x7a)],c),this[x(0xa1)]['write'](a[x(0x7a)]+'\x20is\x20now\x20in\x20room\x20'+c['name'])):this['logger']['write'](x(0xb0)+a[x(0x7a)]+x(0x7c)+b+x(0xb4));}[a54k(0x8e)](a){const y=a54k;return this[y(0xac)][y(0x80)](a['name']);}[a54k(0xa0)](){const z=a54k,a=[];for(const c in this[z(0xa7)]){if(this[z(0xa7)][z(0x84)](c)){const d=this[z(0xa7)][c];d[z(0x92)]&&a[z(0xab)](d);}}if(a[z(0x7d)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[z(0x7d)]===0x1)return a[0x0];const b=Object[z(0x74)](this[z(0xa7)]);if(b[z(0x7d)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[z(0xaf)](z(0x76)),this[z(0xa7)][b[0x0]];}[a54k(0x96)](){return this['player'];}[a54k(0xa9)](){const A=a54k;return this[A(0xa7)];}[a54k(0x87)](a,b,c,d){const B=a54k,e=this[B(0xa7)][a],f=this[B(0xa7)][c];if(!e)throw new Error(B(0x81)+a+B(0x9b));if(!f)throw new Error(B(0x81)+c+B(0x9b));e[B(0xa8)](b,f,d);}}
1
+ const a54l=a54d;function a54c(){const E=['constructor','characterLocations','determineStartRoom','join','createExitsFromConfig','roomConfiguration','9084YkofUC','removeRoom','get','setPuzzle','toUpperCase','Added\x20room\x20to\x20scene:\x20','from','rooms','getPlayer','toString','delete','No\x20actor\x20with\x20name\x20','\x20found\x20in\x20the\x20scene.','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','26976otKzbE','actors','removeActor','apply','logger','generateRoomsFromConfig','getCharacterLocation','direction','currentLocation','hasOwnProperty','Added\x20puzzle\x20to\x20room\x20','exits','values','setCharacterLocation','length','keyRequired','keys','1410dcgtAu','getRooms','8lcTDDq','\x27s\x20location.\x20Room\x20','Removed\x20room\x20from\x20scene:\x20','86liGgfR','\x20not\x20found\x20in\x20scene.','Failed\x20to\x20add\x20item\x20','set','addExit','933292KZHbDT','roomFactory','addRoom','push','player','addItem','targetRoom','\x22\x20does\x20not\x20exist.','allActors','addPuzzleToRoom','7055158tEcaUb','545uuglpG','\x20to\x20room\x20','(((.+)+)+)+$','19722468RrtdWU','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','search','has','name','addActor','1688183XxBfsK','write','24057lSMHJA','Actor\x20with\x20name\x20','6unLJYc','Failed\x20to\x20add\x20puzzle.\x20Room\x20'];a54c=function(){return E;};return a54c();}(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x1de))/0x1*(-parseInt(i(0x1c8))/0x2)+-parseInt(i(0x1b2))/0x3*(-parseInt(i(0x1e3))/0x4)+-parseInt(i(0x1ee))/0x5*(-parseInt(i(0x1ba))/0x6)+parseInt(i(0x1ae))/0x7*(-parseInt(i(0x1db))/0x8)+-parseInt(i(0x1b0))/0x9*(-parseInt(i(0x1d9))/0xa)+-parseInt(i(0x1ed))/0xb+parseInt(i(0x1a7))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x94d35));function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a54d(a,b);}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x1c3)]()[k(0x1aa)](k(0x1a6))[k(0x1c3)]()[k(0x1b4)](a54a)[k(0x1aa)](k(0x1a6));});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x1c1)];['player'];[a54l(0x1cc)];[a54l(0x1c9)];[a54l(0x1b5)]=new Map();[a54l(0x1e4)];constructor(a){const m=a54l;super(),this[m(0x1e4)]=new RoomFactory(),this[m(0x1e7)]=a[m(0x1e7)],this[m(0x1c1)]=this[m(0x1cd)](a[m(0x1b9)]),this['logger']=Logger['getInstance'](),this[m(0x1c9)]=new Map(),this[m(0x1b8)](a[m(0x1b9)]),this['logger'][m(0x1af)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x1d8)](this[m(0x1c1)])[m(0x1b7)](',\x20'));}['initialize'](){const n=a54l;this[n(0x1e7)][n(0x1d0)]=this[n(0x1b6)]();}[a54l(0x1cd)](a){const o=a54l;if(!this['roomFactory'])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[o(0x1e4)]['createRoom'](c);b[c['name']]=d;}return b;}['createExitsFromConfig'](a){const p=a54l;for(const b of a){const c=this[p(0x1c1)][b[p(0x1ac)]];if(b[p(0x1d3)])for(const d of b[p(0x1d3)]){const e=d[p(0x1cf)][p(0x1be)](),f=d[p(0x1e9)],g=d[p(0x1d7)],h=this['rooms'][f];h&&c[p(0x1e2)](Direction[e],h,g);}}}[a54l(0x1ad)](a){const q=a54l;if(this[q(0x1c9)][q(0x1ab)](a['name']))throw new Error(q(0x1b1)+a[q(0x1ac)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x1c9)]['set'](a[q(0x1ac)],a);}[a54l(0x1ca)](a){const r=a54l;if(!this['actors']['has'](a))throw new Error(r(0x1c5)+a+r(0x1c6));this[r(0x1c9)][r(0x1c4)](a);}['getActor'](a){const s=a54l;return this['actors'][s(0x1bc)](a);}get[a54l(0x1eb)](){const t=a54l;return Array[t(0x1c0)](this[t(0x1c9)][t(0x1d4)]());}[a54l(0x1e5)](a){const u=a54l;this[u(0x1c1)][a[u(0x1ac)]]=a,this[u(0x1cc)][u(0x1af)](u(0x1bf)+a[u(0x1ac)]);}[a54l(0x1bb)](a){const v=a54l;return this[v(0x1c1)][a]?(delete this['rooms'][a],this[v(0x1cc)][v(0x1af)](v(0x1dd)+a),!![]):(this[v(0x1cc)][v(0x1af)](v(0x1a9)+a),![]);}['addItemToRoom'](a,b){const w=a54l,c=this[w(0x1c1)][b];c?(c[w(0x1e8)](a),this['logger']['write']('Added\x20item\x20'+a[w(0x1ac)]+w(0x1a5)+c['name'])):this[w(0x1cc)]['write'](w(0x1e0)+a[w(0x1ac)]+'.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x1ec)](a,b){const x=a54l,c=this[x(0x1c1)][b];c?(c[x(0x1bd)](a),this['logger']['write'](x(0x1d2)+c['name'])):this['logger'][x(0x1af)](x(0x1b3)+b+x(0x1df));}[a54l(0x1d5)](a,b){const y=a54l,c=this[y(0x1c1)][b];c?(this['characterLocations'][y(0x1e1)](a[y(0x1ac)],c),this[y(0x1cc)]['write'](a['name']+'\x20is\x20now\x20in\x20room\x20'+c[y(0x1ac)])):this[y(0x1cc)][y(0x1af)]('Failed\x20to\x20set\x20'+a[y(0x1ac)]+y(0x1dc)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x1ce)](a){const z=a54l;return this[z(0x1b5)]['get'](a['name']);}[a54l(0x1b6)](){const A=a54l,a=[];for(const c in this[A(0x1c1)]){if(this[A(0x1c1)][A(0x1d1)](c)){const d=this[A(0x1c1)][c];d['isStartRoom']&&a[A(0x1e6)](d);}}if(a[A(0x1d6)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[A(0x1d6)]===0x1)return a[0x0];const b=Object[A(0x1d8)](this[A(0x1c1)]);if(b[A(0x1d6)]===0x0)throw new Error(A(0x1a8));return console['warn'](A(0x1c7)),this[A(0x1c1)][b[0x0]];}[a54l(0x1c2)](){const B=a54l;return this[B(0x1e7)];}[a54l(0x1da)](){const C=a54l;return this[C(0x1c1)];}['connectRooms'](a,b,c,d){const D=a54l,e=this[D(0x1c1)][a],f=this[D(0x1c1)][c];if(!e)throw new Error('Room\x20\x22'+a+D(0x1ea));if(!f)throw new Error('Room\x20\x22'+c+'\x22\x20does\x20not\x20exist.');e[D(0x1e2)](b,f,d);}}
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x167))/0x1+-parseInt(f(0x14d))/0x2*(parseInt(f(0x140))/0x3)+parseInt(f(0x143))/0x4+-parseInt(f(0x155))/0x5+parseInt(f(0x13c))/0x6+-parseInt(f(0x146))/0x7+parseInt(f(0x15d))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x4939b));var a55b=(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;};}()),a55a=a55b(this,function(){var g=a55d;return a55a[g(0x148)]()[g(0x139)](g(0x165))[g(0x148)]()[g(0x137)](a55a)[g(0x139)](g(0x165));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var h=a55d;super({'name':a,'description':b,'size':Size[h(0x169)],'category':Category[h(0x14f)],'shape':Shape[h(0x13d)],'color':Color[h(0x15e)],'texture':Texture[h(0x15b)],'rating':Rating[h(0x159)],'weight':0x1});}[a55i(0x156)](){var j=a55i;return this[j(0x144)];}}export class Sword extends Item{constructor(a,b){var k=a55i;super({'name':a,'description':b,'size':Size[k(0x169)],'category':Category[k(0x13a)],'shape':Shape[k(0x150)],'color':Color['Grey'],'texture':Texture[k(0x160)],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55i;super({'name':a,'description':b,'size':Size[l(0x138)],'category':Category[l(0x13a)],'shape':Shape['Rifle'],'color':Color[l(0x14a)],'texture':Texture[l(0x160)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a55i;super({'name':a,'description':b,'size':Size[m(0x169)],'category':Category[m(0x147)],'shape':Shape['Circle'],'color':Color[m(0x13e)],'texture':Texture[m(0x160)],'rating':Rating['Common'],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55i;super({'name':a,'description':b,'size':Size[n(0x138)],'category':Category[n(0x15f)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[n(0x160)],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55i;super({'name':a,'description':b,'size':Size[o(0x169)],'category':Category[o(0x14e)],'shape':Shape[o(0x13d)],'color':Color[o(0x13e)],'texture':Texture[o(0x160)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55i;super({'name':a,'description':b,'size':Size[p(0x169)],'category':Category[p(0x158)],'shape':Shape[p(0x168)],'color':Color[p(0x14a)],'texture':Texture[p(0x15b)],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55i;super({'name':a,'description':b,'size':Size[q(0x16a)],'category':Category[q(0x149)],'shape':Shape['Circle'],'color':Color[q(0x14a)],'texture':Texture[q(0x15b)],'rating':Rating['Common'],'weight':0x1});}}function a55c(){var C=['Weapon','Holy\x20Grail','2448366HUrqHU','Rectangle','Grey','pageCount','6kpPNky','Cup','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','1570956ZwMRaP','description','Book','670964XunQlu','Helmet','toString','Gloves','Brown','Gold','author','396156aDMGha','LegArmor','Unknown','Blade','You\x20hold\x20the\x20','Short\x20Sword','Unknown\x20Author','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','587915AOBHiy','use','ArmArmor','Boots','Common','Sniper\x20Rifle','Smooth','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','497120twprNq','Yellow','BodyArmor','Metallic','Tiny','publishDate','A\x20mysterious\x20book.','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','(((.+)+)+)+$','Legendary','46582SzozyT','Circle','Medium','Small','Key','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Rifle','constructor','Large','search'];a55c=function(){return C;};return a55c();}export class Gauntlets extends Item{constructor(a,b){var r=a55i;super({'name':a,'description':b,'size':Size[r(0x169)],'category':Category[r(0x157)],'shape':Shape[r(0x13d)],'color':Color[r(0x13e)],'texture':Texture[r(0x160)],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a55i;super({'name':a,'description':b,'size':Size[s(0x161)],'category':Category[s(0x16b)],'shape':Shape[s(0x13d)],'color':Color[s(0x15e)],'texture':Texture['Smooth'],'rating':Rating[s(0x159)],'weight':0x0});}[a55i(0x156)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var t=a55i;super({'name':a,'description':b,'size':Size[t(0x169)],'category':Category[t(0x13a)],'shape':Shape[t(0x150)],'color':Color[t(0x13e)],'texture':Texture[t(0x160)],'rating':Rating[t(0x159)],'weight':0x3});}[a55i(0x156)](){var u=a55i;return u(0x15c);}}export class Book extends Item{[a55i(0x14c)];[a55i(0x162)];[a55i(0x13f)];constructor(a,b=a55i(0x163),c=a55i(0x153)){var v=a55i;super({'name':a,'description':b,'size':Size[v(0x169)],'category':Category[v(0x145)],'shape':Shape[v(0x13d)],'color':Color[v(0x14a)],'texture':Texture[v(0x15b)],'rating':Rating['Common'],'weight':0x1}),this['author']=c,this['publishDate']=new Date(),this['pageCount']=0x64;}['use'](){var w=a55i;return w(0x164);}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x135;var f=c[d];return f;},a55d(a,b);}export class ShortSword extends Item{constructor(){var x=a55i;super({'name':x(0x152),'description':x(0x142),'size':Size[x(0x169)],'category':Category[x(0x13a)],'shape':Shape[x(0x150)],'color':Color[x(0x13e)],'texture':Texture[x(0x160)],'rating':Rating[x(0x159)],'weight':0x3});}[a55i(0x156)](){var y=a55i;return y(0x15c);}}export class SniperRifle extends Item{constructor(){var z=a55i;super({'name':z(0x15a),'description':z(0x135),'size':Size[z(0x138)],'category':Category['Weapon'],'shape':Shape[z(0x136)],'color':Color[z(0x14a)],'texture':Texture[z(0x15b)],'rating':Rating[z(0x159)],'weight':0x5});}[a55i(0x156)](){return'You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22';}}export class HolyGrail extends Item{constructor(){var A=a55i;super({'name':A(0x13b),'description':A(0x154),'size':Size[A(0x16a)],'category':Category[A(0x141)],'shape':Shape[A(0x168)],'color':Color[A(0x14b)],'texture':Texture[A(0x160)],'rating':Rating[A(0x166)],'weight':0x1});}[a55i(0x156)](){var B=a55i;return B(0x151)+this['name']+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x165))/0x1+parseInt(f(0x16f))/0x2*(-parseInt(f(0x16a))/0x3)+-parseInt(f(0x170))/0x4*(-parseInt(f(0x162))/0x5)+-parseInt(f(0x143))/0x6+-parseInt(f(0x14e))/0x7+parseInt(f(0x151))/0x8*(parseInt(f(0x15b))/0x9)+parseInt(f(0x150))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x6a1fb));var a55b=(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;};}()),a55a=a55b(this,function(){var g=a55d;return a55a[g(0x169)]()['search'](g(0x160))['toString']()['constructor'](a55a)[g(0x14b)](g(0x160));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var h=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[h(0x173)],'shape':Shape[h(0x16e)],'color':Color[h(0x164)],'texture':Texture[h(0x15f)],'rating':Rating[h(0x159)],'weight':0x1});}[a55i(0x14c)](){var j=a55i;return this[j(0x14a)];}}export class Sword extends Item{constructor(a,b){var k=a55i;super({'name':a,'description':b,'size':Size[k(0x15a)],'category':Category[k(0x176)],'shape':Shape['Blade'],'color':Color[k(0x16c)],'texture':Texture[k(0x14d)],'rating':Rating[k(0x159)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55i;super({'name':a,'description':b,'size':Size['Large'],'category':Category['Weapon'],'shape':Shape[l(0x16d)],'color':Color[l(0x174)],'texture':Texture[l(0x14d)],'rating':Rating['Rare'],'weight':0x7});}}function a55c(){var D=['(((.+)+)+)+$','Boots','128655vXGern','Legendary','Yellow','524200btGlYV','publishDate','Gloves','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','toString','6GmhBbb','Sniper\x20Rifle','Grey','Rifle','Rectangle','691718mofgGt','108JNwzKJ','Holy\x20Grail','Helmet','Unknown','Brown','Short\x20Sword','Weapon','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Cup','BodyArmor','Gold','A\x20mysterious\x20book.','4002930bBYyUG','pageCount','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','LegArmor','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Small','name','description','search','use','Metallic','3651970bLqOFt','You\x20hold\x20the\x20','20318220HpbRDs','8AAzpsy','Unknown\x20Author','Circle','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Large','author','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Book','Common','Medium','1016163Keozkc','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Blade','ArmArmor','Smooth'];a55c=function(){return D;};return a55c();}export class Helmet extends Item{constructor(a,b){var m=a55i;super({'name':a,'description':b,'size':Size[m(0x15a)],'category':Category[m(0x172)],'shape':Shape['Circle'],'color':Color[m(0x16c)],'texture':Texture[m(0x14d)],'rating':Rating[m(0x159)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55i;super({'name':a,'description':b,'size':Size[n(0x155)],'category':Category[n(0x179)],'shape':Shape[n(0x16e)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[n(0x159)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[o(0x146)],'shape':Shape['Rectangle'],'color':Color[o(0x16c)],'texture':Texture[o(0x14d)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55i;super({'name':a,'description':b,'size':Size[p(0x15a)],'category':Category[p(0x161)],'shape':Shape[p(0x153)],'color':Color[p(0x174)],'texture':Texture['Smooth'],'rating':Rating[p(0x159)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55i;super({'name':a,'description':b,'size':Size[q(0x148)],'category':Category[q(0x167)],'shape':Shape['Circle'],'color':Color[q(0x174)],'texture':Texture[q(0x15f)],'rating':Rating[q(0x159)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a55i;super({'name':a,'description':b,'size':Size[r(0x15a)],'category':Category[r(0x15e)],'shape':Shape[r(0x16e)],'color':Color['Grey'],'texture':Texture[r(0x14d)],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a55i;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category['Key'],'shape':Shape[s(0x16e)],'color':Color[s(0x164)],'texture':Texture[s(0x15f)],'rating':Rating['Common'],'weight':0x0});}[a55i(0x14c)](){var t=a55i;return t(0x157);}}export class Weapon extends Item{constructor(a,b){var u=a55i;super({'name':a,'description':b,'size':Size[u(0x15a)],'category':Category[u(0x176)],'shape':Shape[u(0x15d)],'color':Color['Grey'],'texture':Texture[u(0x14d)],'rating':Rating['Common'],'weight':0x3});}[a55i(0x14c)](){var v=a55i;return v(0x168);}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x142;var f=c[d];return f;},a55d(a,b);}export class Book extends Item{[a55i(0x156)];[a55i(0x166)];['pageCount'];constructor(a,b=a55i(0x142),c=a55i(0x152)){var w=a55i;super({'name':a,'description':b,'size':Size[w(0x15a)],'category':Category[w(0x158)],'shape':Shape[w(0x16e)],'color':Color[w(0x174)],'texture':Texture['Smooth'],'rating':Rating[w(0x159)],'weight':0x1}),this['author']=c,this['publishDate']=new Date(),this[w(0x144)]=0x64;}['use'](){return'There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22';}}export class ShortSword extends Item{constructor(){var x=a55i;super({'name':x(0x175),'description':x(0x177),'size':Size[x(0x15a)],'category':Category[x(0x176)],'shape':Shape[x(0x15d)],'color':Color[x(0x16c)],'texture':Texture[x(0x14d)],'rating':Rating[x(0x159)],'weight':0x3});}[a55i(0x14c)](){var y=a55i;return y(0x168);}}export class SniperRifle extends Item{constructor(){var z=a55i;super({'name':z(0x16b),'description':z(0x154),'size':Size[z(0x155)],'category':Category[z(0x176)],'shape':Shape[z(0x16d)],'color':Color['Brown'],'texture':Texture[z(0x15f)],'rating':Rating[z(0x159)],'weight':0x5});}[a55i(0x14c)](){var A=a55i;return A(0x147);}}export class HolyGrail extends Item{constructor(){var B=a55i;super({'name':B(0x171),'description':B(0x145),'size':Size['Small'],'category':Category[B(0x178)],'shape':Shape['Circle'],'color':Color[B(0x17a)],'texture':Texture[B(0x14d)],'rating':Rating[B(0x163)],'weight':0x1});}[a55i(0x14c)](){var C=a55i;return C(0x14f)+this[C(0x149)]+C(0x15c);}}