@maka/maka-cli 4.6.4 → 4.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/bundle/obf/package.json +1 -6
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/install.js +1 -1
  73. package/bundle/obf/src/commands/jsdoc.js +1 -1
  74. package/bundle/obf/src/commands/lint.js +1 -1
  75. package/bundle/obf/src/commands/login.js +1 -1
  76. package/bundle/obf/src/commands/logout.js +1 -1
  77. package/bundle/obf/src/commands/logs.js +1 -1
  78. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  79. package/bundle/obf/src/commands/murder.js +1 -1
  80. package/bundle/obf/src/commands/proxy.js +1 -1
  81. package/bundle/obf/src/commands/reconfig.js +1 -1
  82. package/bundle/obf/src/commands/run/_index.js +1 -1
  83. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  84. package/bundle/obf/src/commands/run/run.command.js +1 -1
  85. package/bundle/obf/src/commands/set/_index.js +1 -1
  86. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  88. package/bundle/obf/src/commands/set/set.command.js +1 -1
  89. package/bundle/obf/src/commands/ssh.js +1 -1
  90. package/bundle/obf/src/commands/ssl.js +1 -1
  91. package/bundle/obf/src/commands/test.js +1 -1
  92. package/bundle/obf/src/commands/version.js +1 -1
  93. package/bundle/obf/src/error.js +1 -1
  94. package/bundle/obf/src/exec.js +1 -1
  95. package/bundle/obf/src/generator.js +1 -1
  96. package/bundle/obf/src/generators/_index.js +1 -1
  97. package/bundle/obf/src/generators/api.js +1 -1
  98. package/bundle/obf/src/generators/collection.js +1 -1
  99. package/bundle/obf/src/generators/component.js +1 -1
  100. package/bundle/obf/src/generators/config.js +1 -1
  101. package/bundle/obf/src/generators/dbc.js +1 -1
  102. package/bundle/obf/src/generators/dockerfile.js +1 -1
  103. package/bundle/obf/src/generators/hook.js +1 -1
  104. package/bundle/obf/src/generators/kit.js +1 -1
  105. package/bundle/obf/src/generators/layout.js +1 -1
  106. package/bundle/obf/src/generators/maka.gen.js +1 -1
  107. package/bundle/obf/src/generators/methods.js +1 -1
  108. package/bundle/obf/src/generators/package.js +1 -1
  109. package/bundle/obf/src/generators/page.js +1 -1
  110. package/bundle/obf/src/generators/publish.js +1 -1
  111. package/bundle/obf/src/generators/route.js +1 -1
  112. package/bundle/obf/src/generators/service.js +1 -1
  113. package/bundle/obf/src/generators/services/_index.js +1 -1
  114. package/bundle/obf/src/generators/services/openssl.js +1 -1
  115. package/bundle/obf/src/generators/services/translation.js +1 -1
  116. package/bundle/obf/src/maka.js +1 -1
  117. package/bundle/obf/src/tool.js +1 -1
  118. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  120. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  122. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  124. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  125. package/bundle/obf/src/tools/https/https.class.js +1 -1
  126. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  127. package/bundle/obf/src/tools/https/progress.class.js +1 -1
  128. package/bundle/obf/src/tools/log/log.class.js +1 -1
  129. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/options/options.class.js +1 -1
  131. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  132. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  134. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  136. package/package.json +1 -6
@@ -1 +1 @@
1
- const a34i=a34d;function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xe5;let f=c[d];return f;},a34d(a,b);}(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0xe7))/0x1*(-parseInt(f(0xe6))/0x2)+parseInt(f(0xfe))/0x3*(-parseInt(f(0xef))/0x4)+-parseInt(f(0xfc))/0x5+parseInt(f(0xf5))/0x6+-parseInt(f(0xfd))/0x7+parseInt(f(0xf8))/0x8+parseInt(f(0xee))/0x9*(parseInt(f(0xec))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xc2801));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0xe5)]()[h(0xf3)](h(0xff))['toString']()['constructor'](a34a)[h(0xf3)]('(((.+)+)+)+$');});a34a();function a34c(){const k=['1211203TbqMDC','6HxFiLe','(((.+)+)+)+$','You\x20search\x20the\x20area\x20and\x20find:\x20','toString','38444CKChlP','55kQmDOh','SearchCommand:\x20','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','apply','listItems','94670KVzxSK','currentLocation','2547QkPgJx','1726356WRgXQM','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','name','inventory','search','join','3995508VjxaLg','length','logger','6500288zFzdqq','execute','description','write','6337625HyGwgs'];a34c=function(){return k;};return a34c();}import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']='search';static [a34i(0xfa)]='Search\x20for\x20items\x20in\x20your\x20area';[a34i(0xf9)](){const j=a34i,a=this['actor'][j(0xed)][j(0xf2)][j(0xeb)]();if(a[j(0xf6)]===0x0)return this['logger'][j(0xfb)](j(0xe8)+this['actor'][j(0xf1)]+j(0xe9)),j(0xf0);const b=a[j(0xf4)](',\x20');return this[j(0xf7)][j(0xfb)](j(0xe8)+this['actor']['name']+'\x20found\x20the\x20following\x20items:\x20'+b),j(0x100)+b;}}
1
+ const a34i=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0x12e))/0x1+parseInt(f(0x12c))/0x2+parseInt(f(0x131))/0x3*(-parseInt(f(0x129))/0x4)+-parseInt(f(0x12a))/0x5+-parseInt(f(0x12d))/0x6+-parseInt(f(0x117))/0x7*(parseInt(f(0x130))/0x8)+parseInt(f(0x128))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x803c4));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a['toString']()[h(0x125)](h(0x11c))[h(0x124)]()[h(0x122)](a34a)[h(0x125)]('(((.+)+)+)+$');});a34a();function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x114;let f=c[d];return f;},a34d(a,b);}function a34c(){const k=['Search\x20for\x20items\x20in\x20your\x20area','verb','name','description','constructor','apply','toString','search','logger','currentLocation','24544620AbuyLL','292BpRUVy','4984200LtMrZN','write','1652554AXFwLw','515592OUTSTr','1007476RsUZpz','actor','3678536UieUUa','753uxClIJ','join','You\x20search\x20the\x20area\x20and\x20find:\x20','length','14AWAkyV','inventory','execute','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','\x20found\x20the\x20following\x20items:\x20','(((.+)+)+)+$','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.'];a34c=function(){return k;};return a34c();}import{Command}from'./command.js';export class SearchCommand extends Command{static [a34i(0x11f)]=a34i(0x125);static [a34i(0x121)]=a34i(0x11e);[a34i(0x119)](){const j=a34i,a=this[j(0x12f)][j(0x127)][j(0x118)]['listItems']();if(a[j(0x116)]===0x0)return this['logger'][j(0x12b)]('SearchCommand:\x20'+this[j(0x12f)][j(0x120)]+j(0x11a)),j(0x11d);const b=a[j(0x114)](',\x20');return this[j(0x126)][j(0x12b)]('SearchCommand:\x20'+this[j(0x12f)][j(0x120)]+j(0x11b)+b),j(0x115)+b;}}
@@ -1 +1 @@
1
- function a35c(){const k=['11719352bvdkPu','addItem','958405yFSYuv','1682527qtFSwA','message','success','verb','9ghfTbv','solve','52IpVbKs','43204560WCrDfN','write','constructor','currentLocation','apply','SolveCommand:\x20','146RhzFcv','inventory','execute','puzzle','2466MIajgb','331839AomOCg','10592351yTPRfm','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','rewardItem','search','toString','logger','actor','6ZBmdHr','description','(((.+)+)+)+$','60UOGeXZ','join'];a35c=function(){return k;};return a35c();}const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x1c7))/0x1*(parseInt(f(0x1c3))/0x2)+-parseInt(f(0x1c8))/0x3*(parseInt(f(0x1bc))/0x4)+-parseInt(f(0x1b5))/0x5*(parseInt(f(0x1d0))/0x6)+parseInt(f(0x1c9))/0x7+-parseInt(f(0x1b3))/0x8*(parseInt(f(0x1ba))/0x9)+parseInt(f(0x1d3))/0xa*(-parseInt(f(0x1b6))/0xb)+parseInt(f(0x1bd))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xe0e9c));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x1cd)]()[h(0x1cc)](h(0x1d2))['toString']()[h(0x1bf)](a35a)[h(0x1cc)]('(((.+)+)+)+$');});a35a();function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a35d(a,b);}import{Command}from'./command.js';export class SolveCommand extends Command{static [a35i(0x1b9)]='solve';static [a35i(0x1d1)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a35i(0x1c5)](a){const j=a35i,b=a[j(0x1d4)]('\x20')['toLowerCase'](),c=this[j(0x1cf)][j(0x1c0)];if(!c||!c[j(0x1c6)])return this[j(0x1ce)][j(0x1be)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0x1ca);const d=c[j(0x1c6)][j(0x1bb)](b,this[j(0x1cf)][j(0x1c4)]);return d[j(0x1b8)]&&c[j(0x1c6)]['rewardItem']&&this[j(0x1cf)][j(0x1c4)][j(0x1b4)](c[j(0x1c6)][j(0x1cb)]),this[j(0x1ce)][j(0x1be)](j(0x1c2)+d[j(0x1b7)]),d['message'];}}
1
+ function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x17f;let f=c[d];return f;},a35d(a,b);}function a35c(){const k=['write','constructor','649ELfEIj','addItem','success','currentLocation','4323411gTdFrP','message','execute','rewardItem','Attempt\x20to\x20solve\x20a\x20puzzle.','3743650TypcdQ','16573csQpqb','join','(((.+)+)+)+$','7mZhZzh','search','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','12501BWIAuv','toLowerCase','776LsXTKQ','2308758pAaluF','30CscuPf','puzzle','4492672QAVljm','52FPnbgM','solve','apply','logger','inventory','toString','903828zSJzHn'];a35c=function(){return k;};return a35c();}const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=parseInt(f(0x17f))/0x1*(-parseInt(f(0x18c))/0x2)+-parseInt(f(0x185))/0x3*(parseInt(f(0x187))/0x4)+-parseInt(f(0x19e))/0x5+parseInt(f(0x188))/0x6*(parseInt(f(0x182))/0x7)+-parseInt(f(0x18b))/0x8+-parseInt(f(0x199))/0x9*(parseInt(f(0x189))/0xa)+-parseInt(f(0x195))/0xb*(-parseInt(f(0x192))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xcc8eb));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x191)]()[h(0x183)]('(((.+)+)+)+$')[h(0x191)]()[h(0x194)](a35a)['search'](h(0x181));});a35a();import{Command}from'./command.js';export class SolveCommand extends Command{static ['verb']=a35i(0x18d);static ['description']=a35i(0x19d);[a35i(0x19b)](a){const j=a35i,b=a[j(0x180)]('\x20')[j(0x186)](),c=this['actor'][j(0x198)];if(!c||!c['puzzle'])return this['logger'][j(0x193)](j(0x184)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[j(0x18a)][j(0x18d)](b,this['actor']['inventory']);return d[j(0x197)]&&c[j(0x18a)][j(0x19c)]&&this['actor'][j(0x190)][j(0x196)](c[j(0x18a)]['rewardItem']),this[j(0x18f)][j(0x193)]('SolveCommand:\x20'+d[j(0x19a)]),d['message'];}}
@@ -1 +1 @@
1
- const a36h=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0x18d))/0x1*(-parseInt(f(0x18a))/0x2)+-parseInt(f(0x17e))/0x3+parseInt(f(0x183))/0x4*(-parseInt(f(0x186))/0x5)+-parseInt(f(0x190))/0x6*(parseInt(f(0x19b))/0x7)+-parseInt(f(0x191))/0x8*(parseInt(f(0x19c))/0x9)+-parseInt(f(0x17a))/0xa+parseInt(f(0x177))/0xb*(parseInt(f(0x188))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x6b3c4));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const g=a36d;return a36a[g(0x182)]()['search'](g(0x185))[g(0x182)]()[g(0x187)](a36a)[g(0x196)](g(0x185));});a36a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a36h(0x19d);static [a36h(0x176)]=a36h(0x179);['execute'](a){const i=a36h;return this[i(0x178)][i(0x197)](i(0x193)+a[i(0x195)]('\x20')),this[i(0x19d)](a);}[a36h(0x19d)](a){const j=a36h,b=a['join']('\x20')[j(0x198)](),c=this[j(0x18e)][j(0x189)];if(!c[j(0x199)]['hasItem'](b))return this['logger'][j(0x197)]('Item\x20\x22'+b+j(0x194)+c[j(0x19e)]+j(0x184)),j(0x180)+b+'\x22\x20in\x20this\x20room.';const d=c[j(0x199)][j(0x19a)](b);if(!d)return this['logger'][j(0x197)](j(0x181)+b+j(0x18c)+c[j(0x19e)]+j(0x18b)),'There\x20is\x20no\x20item\x20\x22'+b+j(0x192);try{return this[j(0x18e)]['addInventory'](d),this['logger'][j(0x197)]('Successfully\x20added\x20\x22'+b+'\x22\x20to\x20'+this['actor'][j(0x19e)]+j(0x19f)),c[j(0x199)][j(0x17c)](b),this[j(0x178)][j(0x197)]('Successfully\x20removed\x20\x22'+b+j(0x17f)+c['name']+j(0x18b)),j(0x18f)+b+'.';}catch(e){return this[j(0x178)][j(0x197)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[j(0x17d)]),'The\x20item\x20\x22'+b+j(0x17b);}}}function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x176;let f=c[d];return f;},a36d(a,b);}function a36c(){const k=['\x22\x20in\x20this\x20room.','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20not\x20found\x20in\x20','join','search','write','toLowerCase','inventory','getItem','21IucVUr','9990XjTyvQ','take','name','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','description','7183qgjmcz','logger','Pick\x20up\x20an\x20item.','3181530ISudzH','\x22\x20is\x20too\x20heavy\x20to\x20carry.','removeItem','message','1199217IECeus','\x22\x20from\x20','There\x20is\x20no\x20item\x20\x22','Item\x20\x22','toString','4JalSsb','\x20during\x20\x27Take\x27\x20command.','(((.+)+)+)+$','3100015HzOUBy','constructor','52104PQJWZP','currentLocation','4ZSrRRw','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20not\x20retrieved\x20from\x20','244847mqPAwu','actor','You\x20have\x20taken\x20the\x20','1590618aRnqYS','5424jbBPXa'];a36c=function(){return k;};return a36c();}
1
+ function a36c(){const k=['(((.+)+)+)+$','30gNZSWL','inventory','You\x20have\x20taken\x20the\x20','There\x20is\x20no\x20item\x20\x22','The\x20item\x20\x22','take','Item\x20\x22','Error\x20during\x20\x27Take\x27\x20command:\x20','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','logger','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','toString','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20not\x20retrieved\x20from\x20','join','execute','removeItem','Successfully\x20added\x20\x22','message','hasItem','197774GILEam','1652vsmjYe','6210NVwLyP','Successfully\x20removed\x20\x22','write','search','145257tGoRgR','Pick\x20up\x20an\x20item.','currentLocation','constructor','717WecPAd','2144160VBcGaL','4095bCfeCn','actor','96372fRtOgH','\x22\x20is\x20too\x20heavy\x20to\x20carry.','275180NqPfWB'];a36c=function(){return k;};return a36c();}const a36h=a36d;function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1c7;let f=c[d];return f;},a36d(a,b);}(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0x1c9))/0x1+parseInt(f(0x1d9))/0x2+parseInt(f(0x1d3))/0x3*(parseInt(f(0x1ca))/0x4)+-parseInt(f(0x1db))/0x5*(-parseInt(f(0x1d7))/0x6)+parseInt(f(0x1cf))/0x7+-parseInt(f(0x1d4))/0x8+parseInt(f(0x1d5))/0x9*(parseInt(f(0x1cb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x298c5));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const g=a36d;return a36a[g(0x1e6)]()[g(0x1ce)](g(0x1da))[g(0x1e6)]()[g(0x1d2)](a36a)[g(0x1ce)](g(0x1da));});a36a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a36h(0x1e0);static ['description']=a36h(0x1d0);[a36h(0x1ea)](a){const i=a36h;return this[i(0x1e4)][i(0x1cd)](i(0x1e3)+a[i(0x1e9)]('\x20')),this[i(0x1e0)](a);}[a36h(0x1e0)](a){const j=a36h,b=a[j(0x1e9)]('\x20')['toLowerCase'](),c=this['actor'][j(0x1d1)];if(!c['inventory'][j(0x1c8)](b))return this[j(0x1e4)][j(0x1cd)](j(0x1e1)+b+'\x22\x20not\x20found\x20in\x20'+c['name']+'\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+'\x22\x20in\x20this\x20room.';const d=c[j(0x1dc)]['getItem'](b);if(!d)return this['logger'][j(0x1cd)](j(0x1e1)+b+j(0x1e8)+c['name']+j(0x1e5)),j(0x1de)+b+'\x22\x20in\x20this\x20room.';try{return this[j(0x1d6)]['addInventory'](d),this[j(0x1e4)]['write'](j(0x1ec)+b+'\x22\x20to\x20'+this[j(0x1d6)]['name']+j(0x1e7)),c[j(0x1dc)][j(0x1eb)](b),this[j(0x1e4)]['write'](j(0x1cc)+b+'\x22\x20from\x20'+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x1dd)+b+'.';}catch(e){return this[j(0x1e4)][j(0x1cd)](j(0x1e2)+e[j(0x1c7)]),j(0x1df)+b+j(0x1d8);}}}
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0xd1))/0x1*(parseInt(f(0xd6))/0x2)+-parseInt(f(0xd8))/0x3+parseInt(f(0xd0))/0x4*(-parseInt(f(0xd4))/0x5)+parseInt(f(0xd2))/0x6+-parseInt(f(0xcd))/0x7+parseInt(f(0xdc))/0x8+-parseInt(f(0xcf))/0x9*(-parseInt(f(0xcb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x49fe1));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()[h(0xdd)](h(0xda))[h(0xd5)]()[h(0xdb)](a37a)[h(0xdd)](h(0xda));});function a37c(){const k=['\x20unqeuiped\x20','unqeuip','logger','3343430mxGFcv','unequip','2359224FqhEyC','join','18HrYlyB','188cmpHQR','229945mBeMOl','3081126lXkiDM','actor','14765ogUjUJ','toString','4xiGGjg','apply','1019808lFGRMh','Unequip\x20an\x20item.','(((.+)+)+)+$','constructor','3172120SoDjrE','search','toLowerCase'];a37c=function(){return k;};return a37c();}a37a();import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xcb;let f=c[d];return f;},a37d(a,b);}export class UnequipCommand extends Command{static ['verb']=a37i(0xe0);static ['description']=a37i(0xd9);['execute'](a){const j=a37i,b=a[j(0xce)]('\x20')[j(0xde)](),c=this[j(0xd3)][j(0xcc)](b);return this[j(0xe1)]['write']('UnequipCommand:\x20'+this['actor']['name']+j(0xdf)+c),c;}}
1
+ const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x128))/0x1*(-parseInt(f(0x12a))/0x2)+parseInt(f(0x12d))/0x3+-parseInt(f(0x131))/0x4*(-parseInt(f(0x12c))/0x5)+-parseInt(f(0x127))/0x6+parseInt(f(0x119))/0x7+-parseInt(f(0x11b))/0x8+-parseInt(f(0x12e))/0x9*(-parseInt(f(0x11a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xe21be));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x118;let f=c[d];return f;},a37d(a,b);}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x12f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x12b)]()[h(0x125)](h(0x120))[h(0x12b)]()[h(0x11f)](a37a)[h(0x125)](h(0x120));});a37a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a37i(0x129);static [a37i(0x126)]=a37i(0x130);[a37i(0x123)](a){const j=a37i,b=a[j(0x11c)]('\x20')['toLowerCase'](),c=this[j(0x121)][j(0x124)](b);return this[j(0x11d)][j(0x11e)](j(0x122)+this['actor']['name']+j(0x118)+c),c;}}function a37c(){const k=['unqeuip','4754YTWSqm','toString','40TBtitl','3814860kKhBZG','16471071DjVLsx','apply','Unequip\x20an\x20item.','582508vFOuBU','\x20unqeuiped\x20','8988126LiOlIy','10hvMOZm','10937072CAdreb','join','logger','write','constructor','(((.+)+)+)+$','actor','UnequipCommand:\x20','execute','unequip','search','description','8862744bDALpG','749PIxmcD'];a37c=function(){return k;};return a37c();}
@@ -1 +1 @@
1
- function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1bf;let f=c[d];return f;},a38d(a,b);}const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0x1cf))/0x1+parseInt(h(0x1c6))/0x2*(-parseInt(h(0x1d2))/0x3)+-parseInt(h(0x1d6))/0x4+parseInt(h(0x1e2))/0x5+parseInt(h(0x1bf))/0x6+-parseInt(h(0x1da))/0x7+-parseInt(h(0x1ca))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xf0e92));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x1cd)]()[j(0x1d1)]('(((.+)+)+)+$')[j(0x1cd)]()['constructor'](a38a)[j(0x1d1)]('(((.+)+)+)+$');});a38a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a38c(){const m=['logger','apply','2243409TTbkxO','execute','.\x20Result:\x20','getItem','hasItem','attemptUnlockExit','error','Unlock\x20a\x20door.','9727320WKlDAW','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','UnlockCommand:\x20','currentLocation','name','2301660eKPWum','isValidDirection','actor','get','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','exits','inventory','218iBVqcS','length','UnlockCommand:\x20No\x20target\x20specified.','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','20797360GSOohV','There\x27s\x20no\x20door\x20named\x20\x22','has','toString','\x22\x20here.','1693997JwPsWh','\x20is\x20attempted\x20to\x20unlock\x20','search','801OhIlFd','unlock','toLowerCase','write','348164spUJaI','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'];a38c=function(){return m;};return a38c();}export class UnlockCommand extends Command{static ['verb']=a38k(0x1d3);static ['description']=a38k(0x1e1);[a38k(0x1db)](a){return this['unlock'](a);}[a38k(0x1d3)](a){const l=a38k;if(a[l(0x1c7)]===0x0)return this[l(0x1d8)][l(0x1e0)](l(0x1c8)),l(0x1e3);const b=a[0x0][l(0x1d4)](),c=this[l(0x1c1)][l(0x1e5)];if(this[l(0x1c0)](b)&&c[l(0x1c4)][l(0x1cc)](b)){const d=c[l(0x1c4)][l(0x1c2)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[l(0x1d4)]();if(e&&this[l(0x1c1)][l(0x1c5)][l(0x1de)](e)){const f=this[l(0x1c1)]['inventory'][l(0x1dd)](e);if(f){const g=c[l(0x1df)](b,f[l(0x1e6)]);return this['logger'][l(0x1d5)]('UnlockCommand:\x20'+this[l(0x1c1)][l(0x1e6)]+l(0x1d0)+b+l(0x1dc)+g),g;}}return this['logger'][l(0x1d5)](l(0x1e4)+this[l(0x1c1)][l(0x1e6)]+l(0x1c3)+b+'.'),l(0x1c9);}else return this[l(0x1d8)][l(0x1d5)](l(0x1e4)+b+l(0x1d7)+c[l(0x1e6)]+'.'),l(0x1cb)+b+l(0x1ce);}else return this[l(0x1d8)][l(0x1d5)](l(0x1e4)+b+l(0x1d7)+c['name']+'.'),l(0x1cb)+b+'\x22\x20here.';}}
1
+ const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0x1d3))/0x1+-parseInt(h(0x1c9))/0x2*(-parseInt(h(0x1da))/0x3)+parseInt(h(0x1d5))/0x4*(-parseInt(h(0x1cf))/0x5)+-parseInt(h(0x1bb))/0x6+parseInt(h(0x1c6))/0x7+-parseInt(h(0x1e2))/0x8*(parseInt(h(0x1e1))/0x9)+-parseInt(h(0x1cc))/0xa*(-parseInt(h(0x1c1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x51ac7));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x1e3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x1c7)]()[j(0x1c2)](j(0x1d9))[j(0x1c7)]()[j(0x1d2)](a38a)[j(0x1c2)](j(0x1d9));});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a38d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';function a38c(){const n=['inventory','write','\x20is\x20attempted\x20to\x20unlock\x20','(((.+)+)+)+$','12bYWURH','Unlock\x20a\x20door.','UnlockCommand:\x20No\x20target\x20specified.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','get','actor','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','27WbcHWJ','1406448KjKsBN','apply','verb','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','1771518syiOfL','getItem','UnlockCommand:\x20','exits','has','logger','2211nNyKLZ','search','toLowerCase','execute','There\x27s\x20no\x20door\x20named\x20\x22','3243688mJCffq','toString','name','274564rTOGpN','unlockItemOrSolution','description','14020iLafTo','\x22\x20here.','attemptUnlockExit','3695STSnzw','hasItem','unlock','constructor','437834QctYmc','currentLocation','3112gDGqds'];a38c=function(){return n;};return a38c();}export class UnlockCommand extends Command{static [a38k(0x1b9)]='unlock';static [a38k(0x1cb)]=a38k(0x1db);[a38k(0x1c4)](a){const l=a38k;return this[l(0x1d1)](a);}[a38k(0x1d1)](a){const m=a38k;if(a['length']===0x0)return this[m(0x1c0)]['error'](m(0x1dc)),m(0x1ba);const b=a[0x0][m(0x1c3)](),c=this['actor'][m(0x1d4)];if(this['isValidDirection'](b)&&c['exits'][m(0x1bf)](b)){const d=c[m(0x1be)][m(0x1de)](b);if(d instanceof Door){const e=d[m(0x1ca)]?.[m(0x1c3)]();if(e&&this[m(0x1df)][m(0x1d6)][m(0x1d0)](e)){const f=this[m(0x1df)][m(0x1d6)][m(0x1bc)](e);if(f){const g=c[m(0x1ce)](b,f[m(0x1c8)]);return this[m(0x1c0)][m(0x1d7)](m(0x1bd)+this[m(0x1df)][m(0x1c8)]+m(0x1d8)+b+'.\x20Result:\x20'+g),g;}}return this[m(0x1c0)][m(0x1d7)]('UnlockCommand:\x20'+this[m(0x1df)][m(0x1c8)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),m(0x1e0);}else return this['logger']['write']('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x1c8)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x1cd);}else return this[m(0x1c0)][m(0x1d7)](m(0x1bd)+b+m(0x1dd)+c[m(0x1c8)]+'.'),m(0x1c5)+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x1e5))/0x1*(parseInt(f(0x1fe))/0x2)+-parseInt(f(0x1fd))/0x3*(parseInt(f(0x200))/0x4)+-parseInt(f(0x1fa))/0x5+parseInt(f(0x1e9))/0x6*(-parseInt(f(0x1f6))/0x7)+parseInt(f(0x1fc))/0x8*(-parseInt(f(0x1ed))/0x9)+parseInt(f(0x203))/0xa+parseInt(f(0x201))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x20edb));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(0x1e4)]()[g(0x1e6)]('(((.+)+)+)+$')['toString']()['constructor'](a39a)['search']('(((.+)+)+)+$');});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1e4;let f=c[d];return f;},a39d(a,b);}import{Command}from'./command.js';function a39c(){const j=['function','actor','name','80115qIjRPH',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','\x20used\x20','\x20to\x20use.','783040qMjvXY','\x20attempted\x20to\x20use\x20','88dFnlAt','1539dAssgo','253104itiJwh','UseCommand:\x20','712WhhPUd','5042917swEUFG','logger','1933220uwVYOH','inventory','toString','1wXWeOW','search','toLowerCase','Use\x20an\x20item.','30GkdAOP','write','You\x20don\x27t\x20have\x20the\x20','use','69705fFZfDU','execute','\x20not\x20retrieved\x20from\x20','getItem','You\x20can\x27t\x20use\x20the\x20','verb'];a39c=function(){return j;};return a39c();}export class UseCommand extends Command{static [a39h(0x1f2)]=a39h(0x1ec);static ['description']=a39h(0x1e8);[a39h(0x1ee)](a){return this['use'](a);}[a39h(0x1ec)](a){const i=a39h,b=a['join']('\x20')[i(0x1e7)]();if(!this['actor'][i(0x204)]['hasItem'](b))return this[i(0x202)][i(0x1ea)]('UseCommand:\x20'+this[i(0x1f4)]['name']+i(0x1fb)+b+i(0x1f7)),'You\x20don\x27t\x20have\x20the\x20'+b+i(0x1f9);const c=this[i(0x1f4)][i(0x204)][i(0x1f0)](b);if(!c)return this['logger'][i(0x1ea)](i(0x1ff)+b+i(0x1ef)+this['actor'][i(0x1f5)]+'\x27s\x20inventory.'),i(0x1eb)+b+i(0x1f9);if(typeof c['use']===i(0x1f3)){const d=c['use']();return this['logger'][i(0x1ea)](i(0x1ff)+this[i(0x1f4)][i(0x1f5)]+i(0x1f8)+b+'.'),d;}else return this[i(0x202)][i(0x1ea)](i(0x1ff)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),i(0x1f1)+b+'\x20in\x20this\x20way.';}}
1
+ function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xb6;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(0xc9))/0x1*(-parseInt(f(0xcf))/0x2)+parseInt(f(0xba))/0x3*(parseInt(f(0xd3))/0x4)+-parseInt(f(0xcc))/0x5*(-parseInt(f(0xbc))/0x6)+parseInt(f(0xca))/0x7*(parseInt(f(0xbb))/0x8)+-parseInt(f(0xc5))/0x9*(parseInt(f(0xb9))/0xa)+-parseInt(f(0xd7))/0xb*(-parseInt(f(0xc0))/0xc)+-parseInt(f(0xd5))/0xd*(parseInt(f(0xb8))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x6b00e));function a39c(){const k=['1794086HAtplb','logger','50sxQBsx','search','hasItem','176718TUnqfP','(((.+)+)+)+$','\x27s\x20inventory.','write','264GwqgVH','toLowerCase','79989boPPLw','actor','616moRUDZ','\x20in\x20this\x20way.','inventory','description','toString','UseCommand:\x20','2926cnQlAJ','90YNHQfC','36267ynVPPZ','16qLobYF','112836lQFPDW',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','verb','\x20to\x20use.','82356rInzah','use','\x20doesn\x27t\x20have\x20a\x20use\x20method.','name','\x20attempted\x20to\x20use\x20','70236xuWpnY','function','You\x20don\x27t\x20have\x20the\x20','\x20not\x20retrieved\x20from\x20','1zJbnrU'];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(0xb6)]()[g(0xcd)](g(0xd0))[g(0xb6)]()['constructor'](a39a)[g(0xcd)](g(0xd0));});a39a();import{Command}from'./command.js';export class UseCommand extends Command{static [a39h(0xbe)]=a39h(0xc1);static [a39h(0xda)]='Use\x20an\x20item.';['execute'](a){const i=a39h;return this[i(0xc1)](a);}[a39h(0xc1)](a){const j=a39h,b=a['join']('\x20')[j(0xd4)]();if(!this[j(0xd6)][j(0xd9)][j(0xce)](b))return this[j(0xcb)][j(0xd2)](j(0xb7)+this[j(0xd6)][j(0xc3)]+j(0xc4)+b+j(0xbd)),j(0xc7)+b+j(0xbf);const c=this[j(0xd6)][j(0xd9)]['getItem'](b);if(!c)return this[j(0xcb)][j(0xd2)]('UseCommand:\x20'+b+j(0xc8)+this[j(0xd6)][j(0xc3)]+j(0xd1)),j(0xc7)+b+j(0xbf);if(typeof c[j(0xc1)]===j(0xc6)){const d=c['use']();return this[j(0xcb)][j(0xd2)](j(0xb7)+this[j(0xd6)][j(0xc3)]+'\x20used\x20'+b+'.'),d;}else return this[j(0xcb)][j(0xd2)](j(0xb7)+b+j(0xc2)),'You\x20can\x27t\x20use\x20the\x20'+b+j(0xd8);}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x17b))/0x1+parseInt(f(0x17d))/0x2*(parseInt(f(0x173))/0x3)+-parseInt(f(0x171))/0x4+parseInt(f(0x17a))/0x5+-parseInt(f(0x179))/0x6*(-parseInt(f(0x176))/0x7)+parseInt(f(0x170))/0x8*(-parseInt(f(0x16e))/0x9)+-parseInt(f(0x174))/0xa*(-parseInt(f(0x16f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x96040));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x16e;let f=c[d];return f;},a40d(a,b);}const a40b=(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;};}()),a40a=a40b(this,function(){const g=a40d;return a40a['toString']()[g(0x17e)](g(0x175))[g(0x17c)]()[g(0x177)](a40a)[g(0x17e)](g(0x175));});a40a();function a40c(){const j=['516362diqxZx','toString','462qFAUbf','search','63LApaQR','693HKPmlb','941432TcvCie','2491420olwqYy','getAllRegisteredCommands','1011TwQTet','298670CsBqYl','(((.+)+)+)+$','17199NnaPYE','constructor','commandMap','576SZHooe','1910470JOPSTo'];a40c=function(){return j;};return a40c();}export class CommandFactory{static ['commandMap']={};static['registerCommand'](a,b){this['commandMap'][a]=b;}static['createCommand'](a,b){const h=a40d,c=this[h(0x178)][a];if(c)return new c(b);return null;}static[a40i(0x172)](){return this['commandMap'];}}
1
+ const a40i=a40d;function a40c(){const m=['99995imPFGX','getAllRegisteredCommands','9441xJxcsG','apply','3760995lJmAmL','421899GHheTW','448302TKHYUT','search','1302736KCFgdV','857824ELEaQO','1donanZ','commandMap','(((.+)+)+)+$','createCommand','78ymxjor','5780NMekUm','toString','constructor','registerCommand'];a40c=function(){return m;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1fe))/0x1*(parseInt(f(0x1fa))/0x2)+-parseInt(f(0x1f9))/0x3+parseInt(f(0x1fd))/0x4+-parseInt(f(0x1f4))/0x5*(parseInt(f(0x1ef))/0x6)+-parseInt(f(0x1f8))/0x7+parseInt(f(0x1fc))/0x8+-parseInt(f(0x1f6))/0x9*(-parseInt(f(0x1f0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x41e2a));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a40d(a,b);}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1f7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1f1)]()[h(0x1fb)](h(0x200))['toString']()[h(0x1f2)](a40a)[h(0x1fb)]('(((.+)+)+)+$');});a40a();export class CommandFactory{static ['commandMap']={};static[a40i(0x1f3)](a,b){const j=a40i;this[j(0x1ff)][a]=b;}static[a40i(0x1ee)](a,b){const k=a40i,c=this[k(0x1ff)][a];if(c)return new c(b);return null;}static[a40i(0x1f5)](){const l=a40i;return this[l(0x1ff)];}}
@@ -1 +1 @@
1
- const a41j=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x171))/0x1+-parseInt(f(0x17d))/0x2*(-parseInt(f(0x173))/0x3)+-parseInt(f(0x182))/0x4+parseInt(f(0x189))/0x5*(parseInt(f(0x16e))/0x6)+parseInt(f(0x179))/0x7+parseInt(f(0x188))/0x8*(-parseInt(f(0x176))/0x9)+parseInt(f(0x17e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xd4cce));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const g=a41d;return a41a[g(0x16d)]()[g(0x180)](g(0x17c))['toString']()['constructor'](a41a)['search'](g(0x17c));});a41a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x167;let f=c[d];return f;},a41d(a,b);}function a41c(){const n=['createPuzzle','boots','forEach','toUpperCase','8kyFMNR','240aKqFgX','inventory','name','helmet','content','puzzle','rifle','toString','51816RrJOkd','isStartRoom','convertToRoomConfig','836498sNCWig','description','4645299MlvaXm','roomType','sword','7729893hkUfqz','createItem','legarmor','4081308EdPHiD','gauntlets','rewardItem','(((.+)+)+)+$','2FDwPkG','1996990IlhOdk','key','search','INSIDE','714796dTZJoZ','addItem'];a41c=function(){return n;};return a41c();}import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const h=a41d,b=this[h(0x170)](a),c=new Room(b);if(a['items']){const d=new Inventory();a['items'][h(0x186)](e=>{const i=h;d[i(0x183)](this[i(0x177)](e));}),c[h(0x167)]=d;}return a[h(0x16b)]&&c['setPuzzle'](this[h(0x184)](a['puzzle'])),c;}[a41j(0x177)](a){const k=a41j;switch(a['type']){case k(0x17f):return new Key(a[k(0x168)],a[k(0x172)]);case'book':return new Book(a['name'],a['description'],a[k(0x16a)]);case k(0x175):return new Sword(a['name'],a[k(0x172)]);case k(0x16c):return new Rifle(a['name'],a[k(0x172)]);case k(0x169):return new Helmet(a[k(0x168)],a['description']);case'bodyarmor':return new BodyArmor(a[k(0x168)],a['description']);case k(0x178):return new LegArmor(a[k(0x168)],a[k(0x172)]);case k(0x185):return new Boots(a[k(0x168)],a[k(0x172)]);case'gloves':return new Gloves(a[k(0x168)],a[k(0x172)]);case k(0x17a):return new Gauntlets(a[k(0x168)],a['description']);default:return new BasicItem(a[k(0x168)],a[k(0x172)]);}}['createPuzzle'](a){const l=a41j,b=this[l(0x177)](a[l(0x17b)]);return new Puzzle({...a,'rewardItem':b});}[a41j(0x170)](a){const m=a41j,b=a[m(0x174)]&&RoomType[a['roomType']['toUpperCase']()]?RoomType[a[m(0x174)][m(0x187)]()]:RoomType[m(0x181)];return{'name':a['name'],'description':a[m(0x172)],'isStartRoom':a[m(0x16f)],'roomType':b};}}
1
+ const a41h=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x15f))/0x1+parseInt(f(0x172))/0x2*(parseInt(f(0x154))/0x3)+-parseInt(f(0x160))/0x4+parseInt(f(0x156))/0x5*(-parseInt(f(0x173))/0x6)+parseInt(f(0x169))/0x7*(-parseInt(f(0x165))/0x8)+-parseInt(f(0x166))/0x9+parseInt(f(0x151))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb3196));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const g=a41d;return a41a[g(0x170)]()[g(0x159)](g(0x158))[g(0x170)]()[g(0x14e)](a41a)[g(0x159)]('(((.+)+)+)+$');});a41a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a41c(){const n=['sword','258008KVfsyw','6143535vAsoXT','forEach','isStartRoom','35WnTqmV','setPuzzle','gloves','key','helmet','rifle','items','toString','description','712JkSJYY','7410lZaYWe','createRoom','roomType','constructor','legarmor','INSIDE','32524030QzpdOq','addItem','puzzle','771GnEaKo','boots','4015Bsmqqr','name','(((.+)+)+)+$','search','convertToRoomConfig','content','createPuzzle','createItem','book','419344xoQjEa','4776296XYLpJO','toUpperCase','type','inventory'];a41c=function(){return n;};return a41c();}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x14e;let f=c[d];return f;},a41d(a,b);}export class RoomFactory{[a41h(0x174)](a){const i=a41h,b=this[i(0x15a)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[i(0x16f)][i(0x167)](e=>{const j=i;d[j(0x152)](this[j(0x15d)](e));}),c[i(0x163)]=d;}return a[i(0x153)]&&c[i(0x16a)](this[i(0x15c)](a[i(0x153)])),c;}[a41h(0x15d)](a){const k=a41h;switch(a[k(0x162)]){case k(0x16c):return new Key(a[k(0x157)],a[k(0x171)]);case k(0x15e):return new Book(a[k(0x157)],a[k(0x171)],a[k(0x15b)]);case k(0x164):return new Sword(a[k(0x157)],a['description']);case k(0x16e):return new Rifle(a[k(0x157)],a[k(0x171)]);case k(0x16d):return new Helmet(a[k(0x157)],a[k(0x171)]);case'bodyarmor':return new BodyArmor(a['name'],a[k(0x171)]);case k(0x14f):return new LegArmor(a[k(0x157)],a[k(0x171)]);case k(0x155):return new Boots(a[k(0x157)],a[k(0x171)]);case k(0x16b):return new Gloves(a[k(0x157)],a[k(0x171)]);case'gauntlets':return new Gauntlets(a['name'],a[k(0x171)]);default:return new BasicItem(a[k(0x157)],a['description']);}}[a41h(0x15c)](a){const l=a41h,b=this[l(0x15d)](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a41h(0x15a)](a){const m=a41h,b=a[m(0x175)]&&RoomType[a['roomType']['toUpperCase']()]?RoomType[a[m(0x175)][m(0x161)]()]:RoomType[m(0x150)];return{'name':a[m(0x157)],'description':a[m(0x171)],'isStartRoom':a[m(0x168)],'roomType':b};}}
@@ -1 +1 @@
1
- const a42k=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=parseInt(h(0x19c))/0x1*(-parseInt(h(0x195))/0x2)+parseInt(h(0x1b6))/0x3+parseInt(h(0x1a0))/0x4*(parseInt(h(0x1ad))/0x5)+parseInt(h(0x1ac))/0x6+-parseInt(h(0x18e))/0x7+-parseInt(h(0x1a6))/0x8*(parseInt(h(0x192))/0x9)+parseInt(h(0x189))/0xa*(parseInt(h(0x18a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xa994a));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a42d;if(c){const e=c[i(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const j=a42d;return a42a['toString']()[j(0x19f)](j(0x1b4))[j(0x1a3)]()[j(0x19b)](a42a)['search'](j(0x1b4));});a42a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x183;let f=c[d];return f;},a42d(a,b);}import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';function a42c(){const s=['name','search','24dpICLt','currentRoom','unlock','toString','Welcome,\x20','-\x20quit:\x20Exit\x20the\x20game.\x0a','80jcVaye','look','toLowerCase','solve','getWelcomeMessage','scene','7940784kvxqoY','355430apUCLl','getInstance','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','clear','help','trim','determineStartRoom','(((.+)+)+)+$','-\x20clear:\x20Clear\x20the\x20screen.\x0a','3821247dppVDo','Available\x20Commands:\x0a','registerCommands','initialize','execute','getAllRegisteredCommands','getHelpMessage','createCommand','getRooms','handleInput','50phcBTF','881331qxErwg','quit','rooms','slice','3918880SEZFyE','equip','registerCommand','player','1043622nQueYQ','unequip','split','376FqRLwI','maka','drop','take','say','apply','constructor','5374seQHtJ','instance'];a42c=function(){return s;};return a42c();}import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a42k(0x19d)];['scene'];[a42k(0x191)];[a42k(0x1a1)];[a42k(0x18c)];constructor(a,b){const l=a42k;this['player']=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0x1ab)][l(0x1b9)](),this[l(0x191)]['currentLocation']=this[l(0x1b3)](),this[l(0x1b8)]();}[a42k(0x1b8)](){const m=a42k;CommandFactory[m(0x190)](m(0x1a7),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0x190)](m(0x198),TakeCommand),CommandFactory['registerCommand']('use',UseCommand),CommandFactory[m(0x190)](m(0x18f),EquipCommand),CommandFactory[m(0x190)](m(0x193),UnequipCommand),CommandFactory[m(0x190)](m(0x1a9),SolveCommand),CommandFactory[m(0x190)](m(0x197),DropCommand),CommandFactory[m(0x190)](m(0x1a2),UnlockCommand),CommandFactory['registerCommand']('lock',LockCommand),CommandFactory['registerCommand'](m(0x19f),SearchCommand),CommandFactory[m(0x190)](m(0x199),SayCommand);}[a42k(0x1b3)](){const n=a42k;return this[n(0x1ab)]['determineStartRoom']();}[a42k(0x1aa)](){const o=a42k;return o(0x1a4)+this[o(0x191)][o(0x19e)];}static[a42k(0x1ae)](a,b){const p=a42k;return!Game['instance']&&(Game[p(0x19d)]=new Game(a,b)),Game[p(0x19d)];}[a42k(0x188)](a){const q=a42k,b=a[q(0x1b2)]()[q(0x194)]('\x20'),c=b[0x0][q(0x1a8)](),d=b[q(0x18d)](0x1);if(c===q(0x18b))return null;if(c===q(0x196))return q(0x1af);if(c===q(0x1b1))return this[q(0x185)]();if(c===q(0x1b0))return'';const e={'actor':this[q(0x191)],'rooms':this[q(0x1ab)][q(0x187)](),'scene':this['scene']},f=CommandFactory[q(0x186)](c,e);if(f){const g=f[q(0x183)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a42k(0x185)](){const r=a42k,a=CommandFactory[r(0x184)]();let b=r(0x1b7);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=r(0x1b5),b+=r(0x1a5),b;}}
1
+ const a42j=a42d;function a42c(){const r=['constructor','getWelcomeMessage','say','52YpseWl','getAllRegisteredCommands','unlock','initialize','8560dkvbmM','toLowerCase','currentRoom','determineStartRoom','toString','hasOwnProperty','slice','570468YeingU','solve','unequip','-\x20quit:\x20Exit\x20the\x20game.\x0a','4008135OroDYc','243TJPmPi','(((.+)+)+)+$','createCommand','trim','currentLocation','getInstance','8961073YnCBzF','drop','name','-\x20clear:\x20Clear\x20the\x20screen.\x0a','take','registerCommands','look','execute','maka','getHelpMessage','45411hBGKjM','3DCuCuN','registerCommand','player','quit','7PZlcYg','getRooms','instance','2057368xXVoRJ','5263410JzgNTw','search','use','equip','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','handleInput','scene','Welcome,\x20','help','split'];a42c=function(){return r;};return a42c();}(function(a,b){const h=a42d,c=a();while(!![]){try{const d=parseInt(h(0x89))/0x1*(-parseInt(h(0x73))/0x2)+parseInt(h(0x88))/0x3*(parseInt(h(0x68))/0x4)+parseInt(h(0x77))/0x5+-parseInt(h(0x91))/0x6*(-parseInt(h(0x8d))/0x7)+parseInt(h(0x90))/0x8+-parseInt(h(0x78))/0x9*(parseInt(h(0x6c))/0xa)+-parseInt(h(0x7e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x6b43d));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const i=a42d;return a42a[i(0x70)]()[i(0x92)](i(0x79))[i(0x70)]()[i(0x9b)](a42a)['search'](i(0x79));});a42a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x66;let f=c[d];return f;},a42d(a,b);}import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];['scene'];[a42j(0x8b)];[a42j(0x6e)];['rooms'];constructor(a,b){const k=a42j;this[k(0x8b)]=a,this[k(0x97)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x97)][k(0x6b)](),this[k(0x8b)][k(0x7c)]=this[k(0x6f)](),this[k(0x83)]();}[a42j(0x83)](){const l=a42j;CommandFactory['registerCommand'](l(0x84),LookCommand),CommandFactory[l(0x8a)]('go',GoCommand),CommandFactory['registerCommand'](l(0x82),TakeCommand),CommandFactory[l(0x8a)](l(0x93),UseCommand),CommandFactory[l(0x8a)](l(0x94),EquipCommand),CommandFactory[l(0x8a)](l(0x75),UnequipCommand),CommandFactory[l(0x8a)](l(0x74),SolveCommand),CommandFactory[l(0x8a)](l(0x7f),DropCommand),CommandFactory[l(0x8a)](l(0x6a),UnlockCommand),CommandFactory['registerCommand']('lock',LockCommand),CommandFactory[l(0x8a)](l(0x92),SearchCommand),CommandFactory['registerCommand'](l(0x67),SayCommand);}[a42j(0x6f)](){const m=a42j;return this[m(0x97)][m(0x6f)]();}[a42j(0x66)](){const n=a42j;return n(0x98)+this['player'][n(0x80)];}static[a42j(0x7d)](a,b){const o=a42j;return!Game['instance']&&(Game[o(0x8f)]=new Game(a,b)),Game[o(0x8f)];}[a42j(0x96)](a){const p=a42j,b=a[p(0x7b)]()[p(0x9a)]('\x20'),c=b[0x0][p(0x6d)](),d=b[p(0x72)](0x1);if(c===p(0x8c))return null;if(c===p(0x86))return p(0x95);if(c===p(0x99))return this[p(0x87)]();if(c==='clear')return'';const e={'actor':this[p(0x8b)],'rooms':this[p(0x97)][p(0x8e)](),'scene':this[p(0x97)]},f=CommandFactory[p(0x7a)](c,e);if(f){const g=f[p(0x85)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a42j(0x87)](){const q=a42j,a=CommandFactory[q(0x69)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[q(0x71)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=q(0x81),b+=q(0x76),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x16e))/0x1*(parseInt(f(0x167))/0x2)+parseInt(f(0x16f))/0x3+-parseInt(f(0x16c))/0x4+-parseInt(f(0x169))/0x5*(parseInt(f(0x166))/0x6)+-parseInt(f(0x162))/0x7+parseInt(f(0x164))/0x8+parseInt(f(0x168))/0x9*(parseInt(f(0x16b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x198d7));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x16a)]()[h(0x165)]('(((.+)+)+)+$')[h(0x16a)]()[h(0x170)](a43a)[h(0x165)](h(0x163));});a43a();function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x162;var f=c[d];return f;},a43d(a,b);}export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a43c(){var i=['toString','110850jcWYbv','173984bNnuTE','apply','5xdZvfE','606726qXCgEx','constructor','445326dZCQqe','(((.+)+)+)+$','71192mCfWdF','search','108GZsqYQ','45246WQRPjH','189pJsZHm','33065sqiHTa'];a43c=function(){return i;};return a43c();}export*from'./scene.js';
1
+ (function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x103))/0x1*(-parseInt(f(0x110))/0x2)+-parseInt(f(0x10e))/0x3+-parseInt(f(0x107))/0x4+parseInt(f(0x10c))/0x5+-parseInt(f(0x109))/0x6*(parseInt(f(0x10d))/0x7)+parseInt(f(0x106))/0x8*(-parseInt(f(0x105))/0x9)+parseInt(f(0x108))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xd3210));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x10a)]()[h(0x104)]('(((.+)+)+)+$')[h(0x10a)]()[h(0x10f)](a43a)['search']('(((.+)+)+)+$');});function a43c(){var i=['18ORFVcb','toString','apply','4555470nSkroI','716044Rwxqup','2114322VDiDHt','constructor','2ryechg','13487jMjcwh','search','9MGAjBf','8580456ZvkGrq','56832ajkGzx','20386180wIVAse'];a43c=function(){return i;};return a43c();}a43a();function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x103;var f=c[d];return f;},a43d(a,b);}export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a44i=a44d;(function(a,b){var f=a44d,c=a();while(!![]){try{var d=-parseInt(f(0x14f))/0x1*(parseInt(f(0x155))/0x2)+parseInt(f(0x160))/0x3*(parseInt(f(0x164))/0x4)+-parseInt(f(0x159))/0x5+-parseInt(f(0x158))/0x6+parseInt(f(0x156))/0x7*(-parseInt(f(0x163))/0x8)+-parseInt(f(0x161))/0x9*(parseInt(f(0x152))/0xa)+parseInt(f(0x168))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x51782));function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0x14c;var f=c[d];return f;},a44d(a,b);}function a44c(){var o=['Door\x20created\x20between\x20','\x20and\x20','name','logger','getInstance','Door\x20unlocked:\x20','1268082ntZBlD','7641iYlSer','toString','256032wYzEtT','4boUkZE','roomB','constructor','Failed\x20to\x20unlock\x20door:\x20','17191449HdGeVg','unlockItemOrSolution','isLockable','apply','search','.\x20Used:\x20','1IAZqFM','write','isLocked','2090OkcSXI','checkIfLockable','roomA','355702jzbyUa','70PuqMgI','To\x20','2896404VSkyiG','2468945jDTmUi'];a44c=function(){return o;};return a44c();}var a44b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a44d;if(c){var e=c[g(0x14c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){var h=a44d;return a44a['toString']()[h(0x14d)]('(((.+)+)+)+$')[h(0x162)]()[h(0x166)](a44a)['search']('(((.+)+)+)+$');});a44a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a44i(0x165)];[a44i(0x151)];[a44i(0x169)];[a44i(0x15c)];[a44i(0x15d)];['isLockable'];constructor(a){var j=a44i;super(),this[j(0x154)]=a[j(0x154)],this[j(0x165)]=a[j(0x165)],this[j(0x151)]=a[j(0x151)]||![],this[j(0x169)]=a[j(0x169)],this[j(0x15c)]=a[j(0x15c)]?capitalCase(a[j(0x15c)]):j(0x157)+a[j(0x165)][j(0x15c)],this[j(0x15d)]=Logger[j(0x15e)](),this[j(0x16a)]=!!a['unlockItemOrSolution'],this[j(0x15d)][j(0x150)](j(0x15a)+this[j(0x154)][j(0x15c)]+j(0x15b)+this['roomB'][j(0x15c)]+'.\x20Is\x20Locked:\x20'+this[j(0x151)]);}['getOtherSide'](a){var k=a44i;return this[k(0x154)]===a?this[k(0x165)]:this[k(0x154)];}['attemptUnlock'](a){var l=a44i;if(this[l(0x151)]&&this[l(0x169)]&&this[l(0x169)]===a)return this['isLocked']=![],this['logger'][l(0x150)](l(0x15f)+this['name']+l(0x14e)+a),!![];return this['logger'][l(0x150)](l(0x167)+this['name']+l(0x14e)+a),![];}['checkIfLocked'](){var m=a44i;return this[m(0x151)];}[a44i(0x153)](){var n=a44i;return this[n(0x16a)];}}
1
+ var a44h=a44d;function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0x190;var f=c[d];return f;},a44d(a,b);}(function(a,b){var f=a44d,c=a();while(!![]){try{var d=parseInt(f(0x1a4))/0x1*(-parseInt(f(0x1ab))/0x2)+parseInt(f(0x1a5))/0x3*(-parseInt(f(0x1ae))/0x4)+parseInt(f(0x19a))/0x5+parseInt(f(0x1a8))/0x6+-parseInt(f(0x1a9))/0x7*(parseInt(f(0x190))/0x8)+parseInt(f(0x1a3))/0x9*(-parseInt(f(0x192))/0xa)+-parseInt(f(0x196))/0xb*(-parseInt(f(0x1a2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x83ff6));var a44b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){var g=a44d;return a44a['toString']()[g(0x1a6)]('(((.+)+)+)+$')[g(0x1aa)]()[g(0x199)](a44a)['search'](g(0x191));});function a44c(){var n=['roomB','logger','isLocked','960XrAcax','1070784bfyZuR','1ICGzOq','3shUIOD','search','roomA','2552268snVNZl','14boYFkq','toString','1828322kCxFCp','.\x20Is\x20Locked:\x20','unlockItemOrSolution','883100ifillK','name','attemptUnlock','2147744xJUqiz','(((.+)+)+)+$','80sEyLCc','checkIfLocked','To\x20','.\x20Used:\x20','273097HUjDsg','getInstance','\x20and\x20','constructor','3764020prIJQa','Failed\x20to\x20unlock\x20door:\x20','isLockable','Door\x20unlocked:\x20','write'];a44c=function(){return n;};return a44c();}a44a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a44h(0x1a7)];[a44h(0x19f)];[a44h(0x1a1)];[a44h(0x1ad)];[a44h(0x1af)];[a44h(0x1a0)];[a44h(0x19c)];constructor(a){var i=a44h;super(),this[i(0x1a7)]=a[i(0x1a7)],this[i(0x19f)]=a['roomB'],this[i(0x1a1)]=a[i(0x1a1)]||![],this[i(0x1ad)]=a[i(0x1ad)],this[i(0x1af)]=a[i(0x1af)]?capitalCase(a['name']):i(0x194)+a['roomB'][i(0x1af)],this[i(0x1a0)]=Logger[i(0x197)](),this['isLockable']=!!a[i(0x1ad)],this['logger'][i(0x19e)]('Door\x20created\x20between\x20'+this['roomA'][i(0x1af)]+i(0x198)+this['roomB'][i(0x1af)]+i(0x1ac)+this[i(0x1a1)]);}['getOtherSide'](a){var j=a44h;return this[j(0x1a7)]===a?this[j(0x19f)]:this[j(0x1a7)];}[a44h(0x1b0)](a){var k=a44h;if(this[k(0x1a1)]&&this[k(0x1ad)]&&this[k(0x1ad)]===a)return this[k(0x1a1)]=![],this['logger']['write'](k(0x19d)+this[k(0x1af)]+k(0x195)+a),!![];return this[k(0x1a0)][k(0x19e)](k(0x19b)+this['name']+k(0x195)+a),![];}[a44h(0x193)](){var l=a44h;return this[l(0x1a1)];}['checkIfLockable'](){var m=a44h;return this[m(0x19c)];}}
@@ -1 +1 @@
1
- const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0xb1))/0x1*(parseInt(f(0x8f))/0x2)+-parseInt(f(0x99))/0x3+-parseInt(f(0x8d))/0x4+-parseInt(f(0xa1))/0x5+parseInt(f(0x97))/0x6*(-parseInt(f(0xb0))/0x7)+-parseInt(f(0xa7))/0x8*(-parseInt(f(0x8b))/0x9)+parseInt(f(0x9f))/0xa*(parseInt(f(0xae))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x30d88));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0xb5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x89)]()[h(0xb3)](h(0x95))['toString']()[h(0xb2)](a45a)[h(0xb3)](h(0x95));});a45a();function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x89;let f=c[d];return f;},a45d(a,b);}import{capitalCase}from'change-case';function a45c(){const r=['(((.+)+)+)+$','hasItem','12QapXBi','Checked\x20for\x20item:\x20','1167711yfXbRF','getItem','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','has','addItem','toLowerCase','81780PePmxc','join','1144985yCtAKI','items','getAllItems','listItems','name','Failed\x20to\x20remove\x20item:\x20','96bubsab','weight','logger','.\x20Item\x20not\x20found.','\x20to\x20inventory.','getWeight','values','1683RkuHsV','get','983059xjjOpp','55397sxkUlg','constructor','search','keys','apply','toString','set','121545TYzjBq','write','1034868UhEgTn','\x20from\x20inventory.','2WkkADx','Removed\x20item:\x20','Added\x20item:\x20','removeItem','delete','.\x20Exists:\x20'];a45c=function(){return r;};return a45c();}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a45i(0xa2)];['logger'];constructor(){const j=a45i;super(),this[j(0xa2)]=new Map(),this[j(0xa9)]=Logger['getInstance']();}[a45i(0x9d)](a){const k=a45i;this[k(0xa2)][k(0x8a)](a[k(0xa5)][k(0x9e)](),a),this[k(0xa9)][k(0x8c)](k(0x91)+a[k(0xa5)]+k(0xab));}[a45i(0x92)](a){const l=a45i,b=this['getItem'](a);if(b)return this[l(0xa2)][l(0x93)](a[l(0x9e)]()),this[l(0xa9)][l(0x8c)](l(0x90)+a+l(0x8e)),b;return this[l(0xa9)][l(0x8c)](l(0xa6)+a+l(0xaa)),null;}[a45i(0x96)](a){const m=a45i,b=this[m(0xa2)][m(0x9c)](a[m(0x9e)]()),c=[...this[m(0xa2)]['keys']()];return this[m(0xa9)]['write'](m(0x98)+a+'\x20in\x20'+c['join'](',\x20')+m(0x94)+b+'.'),b;}[a45i(0x9a)](a){const n=a45i,b=this[n(0xa2)][n(0xaf)](a[n(0x9e)]())||null;return b?this['logger'][n(0x8c)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0xa9)]['write'](n(0x9b)+a+n(0xaa)),b;}[a45i(0xa4)](){const o=a45i,a=[...this[o(0xa2)][o(0xb4)]()],b=a['map'](c=>capitalCase(c));return this[o(0xa9)][o(0x8c)]('Listed\x20items\x20in\x20inventory:\x20'+b[o(0xa0)](',\x20')+'.'),a;}[a45i(0xac)](){const p=a45i;let a=0x0;for(const b of this[p(0xa2)][p(0xad)]()){a+=b[p(0xa8)];}return a;}[a45i(0xa3)](){const q=a45i;return[...this[q(0xa2)][q(0xad)]()];}}
1
+ const a45h=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x17b))/0x1+parseInt(f(0x183))/0x2+parseInt(f(0x18e))/0x3+-parseInt(f(0x188))/0x4+-parseInt(f(0x185))/0x5+parseInt(f(0x18a))/0x6+-parseInt(f(0x177))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xd8518));function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x16c;let f=c[d];return f;},a45d(a,b);}function a45c(){const q=['Failed\x20to\x20remove\x20item:\x20','Retrieved\x20details\x20for\x20item:\x20','\x20to\x20inventory.','Checked\x20for\x20item:\x20','1087184vwCRbk','toLowerCase','6634615agZJdq','map','set','5048144bHKhwj','keys','8007708IKCKlZ','items','getInstance','logger','327060WHzkyY','Listed\x20items\x20in\x20inventory:\x20','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','constructor','write','join','(((.+)+)+)+$','toString','getItem','name','.\x20Exists:\x20','.\x20Item\x20not\x20found.','addItem','search','delete','get','1929606kOhRwR','Added\x20item:\x20','values','\x20from\x20inventory.','1763427GCpKiN','has','listItems','Removed\x20item:\x20'];a45c=function(){return q;};return a45c();}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 g=a45d;return a45a[g(0x16e)]()[g(0x174)](g(0x16d))[g(0x16e)]()[g(0x191)](a45a)[g(0x174)]('(((.+)+)+)+$');});a45a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a45h(0x18b)];['logger'];constructor(){const i=a45h;super(),this[i(0x18b)]=new Map(),this['logger']=Logger[i(0x18c)]();}[a45h(0x173)](a){const j=a45h;this[j(0x18b)][j(0x187)](a[j(0x170)]['toLowerCase'](),a),this[j(0x18d)][j(0x192)](j(0x178)+a['name']+j(0x181));}['removeItem'](a){const k=a45h,b=this[k(0x16f)](a);if(b)return this[k(0x18b)][k(0x175)](a[k(0x184)]()),this[k(0x18d)][k(0x192)](k(0x17e)+a+k(0x17a)),b;return this['logger'][k(0x192)](k(0x17f)+a+'.\x20Item\x20not\x20found.'),null;}['hasItem'](a){const l=a45h,b=this['items'][l(0x17c)](a[l(0x184)]()),c=[...this['items'][l(0x189)]()];return this['logger'][l(0x192)](l(0x182)+a+'\x20in\x20'+c['join'](',\x20')+l(0x171)+b+'.'),b;}[a45h(0x16f)](a){const m=a45h,b=this['items'][m(0x176)](a[m(0x184)]())||null;return b?this[m(0x18d)][m(0x192)](m(0x180)+a+'.'):this['logger'][m(0x192)](m(0x190)+a+m(0x172)),b;}[a45h(0x17d)](){const n=a45h,a=[...this['items'][n(0x189)]()],b=a[n(0x186)](c=>capitalCase(c));return this[n(0x18d)][n(0x192)](n(0x18f)+b[n(0x16c)](',\x20')+'.'),a;}['getWeight'](){const o=a45h;let a=0x0;for(const b of this[o(0x18b)]['values']()){a+=b['weight'];}return a;}['getAllItems'](){const p=a45h;return[...this[p(0x18b)][p(0x179)]()];}}
@@ -1 +1 @@
1
- var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x19c))/0x1+-parseInt(f(0x1a9))/0x2*(parseInt(f(0x1a4))/0x3)+-parseInt(f(0x1a1))/0x4*(parseInt(f(0x194))/0x5)+parseInt(f(0x19b))/0x6+parseInt(f(0x192))/0x7+-parseInt(f(0x19e))/0x8+parseInt(f(0x193))/0x9*(parseInt(f(0x1aa))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x82216));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()['search'](h(0x19f))[h(0x1a5)]()[h(0x1a0)](a46a)['search']('(((.+)+)+)+$');});a46a();import{v4 as a46e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x192;var f=c[d];return f;},a46d(a,b);}export class Item extends AbstractItem{[a46i(0x198)];[a46i(0x1a7)];[a46i(0x1a2)];[a46i(0x199)];[a46i(0x1a8)];[a46i(0x197)];['color'];['texture'];[a46i(0x19d)];[a46i(0x1ab)];constructor(a){var j=a46i;super(),this[j(0x1a7)]=a['name'],this[j(0x1a2)]=a[j(0x1a2)],this['size']=a[j(0x199)],this[j(0x1a8)]=a[j(0x1a8)],this[j(0x197)]=a[j(0x197)],this[j(0x1a3)]=a[j(0x1a3)],this['texture']=a[j(0x1ac)],this['rating']=a[j(0x19d)],this['weight']=a['weight'],this[j(0x198)]=a46e();}[a46i(0x196)](){var k=a46i;return k(0x195)+this[k(0x1a7)]+k(0x19a);}}function a46c(){var l=['weight','texture','4564112xUaPWH','435483JuDbEJ','5IXweee','You\x20use\x20the\x20','use','shape','uuid','size','.\x20Nothing\x20special\x20happens.','4177668hdqwtY','501712bTOvUT','rating','7961536zkxLLh','(((.+)+)+)+$','constructor','255236ZugGDS','description','color','2841naiLbp','toString','apply','name','category','1158zmbfKo','60gdJDiL'];a46c=function(){return l;};return a46c();}
1
+ var a46h=a46d;function a46c(){var k=['weight','description','80kUoPvL','shape','toString','26dIcdug','.\x20Nothing\x20special\x20happens.','18304zKpYiI','search','27kshiYX','13465Aqjeoe','uuid','color','453267vGVMmM','521712BbwPIb','name','14Dgjsju','9924Hfkkqz','99OSNofF','6SzBvZv','use','633955lujSWv','945qTtVzC','(((.+)+)+)+$','14646463KJzPJI','rating','constructor','category','texture'];a46c=function(){return k;};return a46c();}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x115))/0x1*(-parseInt(f(0x110))/0x2)+parseInt(f(0x114))/0x3*(-parseInt(f(0xff))/0x4)+-parseInt(f(0x103))/0x5*(-parseInt(f(0x101))/0x6)+parseInt(f(0x104))/0x7*(parseInt(f(0x112))/0x8)+-parseInt(f(0xfb))/0x9*(-parseInt(f(0x10d))/0xa)+-parseInt(f(0x100))/0xb*(-parseInt(f(0xfc))/0xc)+parseInt(f(0x106))/0xd*(-parseInt(f(0xfe))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x3e7b4));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(0x10f)]()['search'](g(0x105))[g(0x10f)]()[g(0x108)](a46a)[g(0x113)](g(0x105));});a46a();function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xf9;var f=c[d];return f;},a46d(a,b);}import{v4 as a46e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a46h(0xf9)];[a46h(0xfd)];[a46h(0x10c)];['size'];['category'];[a46h(0x10e)];[a46h(0xfa)];[a46h(0x10a)];[a46h(0x107)];[a46h(0x10b)];constructor(a){var i=a46h;super(),this[i(0xfd)]=a[i(0xfd)],this[i(0x10c)]=a[i(0x10c)],this['size']=a['size'],this[i(0x109)]=a[i(0x109)],this[i(0x10e)]=a[i(0x10e)],this['color']=a[i(0xfa)],this[i(0x10a)]=a[i(0x10a)],this['rating']=a['rating'],this[i(0x10b)]=a['weight'],this[i(0xf9)]=a46e();}[a46h(0x102)](){var j=a46h;return'You\x20use\x20the\x20'+this[j(0xfd)]+j(0x111);}}
@@ -1 +1 @@
1
- function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a47d(a,b);}const a47h=a47d;function a47c(){const n=['toString','scene','floor','2270595hPysMq','2558521JGYNMh','4140924WpUWdv','rooms','random','2856058cGpFFB','length','357094PJnDCh','speak','name','_dialogue','moveTo','9072760aKXuib','909715Tfjapq','execute','autonomousMove','_name','constructor','24MFeeTn','(((.+)+)+)+$'];a47c=function(){return n;};return a47c();}(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x1d8))/0x1+-parseInt(f(0x1d6))/0x2+parseInt(f(0x1d1))/0x3+parseInt(f(0x1d3))/0x4+parseInt(f(0x1c7))/0x5*(-parseInt(f(0x1cc))/0x6)+-parseInt(f(0x1d2))/0x7+parseInt(f(0x1c6))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xba07d));const a47b=(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;};}()),a47a=a47b(this,function(){const g=a47d;return a47a[g(0x1ce)]()['search'](g(0x1cd))['toString']()[g(0x1cb)](a47a)['search']('(((.+)+)+)+$');});a47a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a47h(0x1ca)];[a47h(0x1c4)];[a47h(0x1d4)];[a47h(0x1cf)];constructor(a,b,c,d){const i=a47h;super(d),this['_name']=a,this['_dialogue']=b,this[i(0x1d4)]=c;}get[a47h(0x1da)](){const j=a47h;return this[j(0x1ca)];}[a47h(0x1d9)](){const k=a47h;return this[k(0x1c4)][Math[k(0x1d0)](Math[k(0x1d5)]()*this[k(0x1c4)][k(0x1d7)])];}[a47h(0x1c9)](a){const l=a47h,b=a[Math['floor'](Math[l(0x1d5)]()*a[l(0x1d7)])];this['moveTo'](b['name']);}[a47h(0x1c5)](a){const m=a47h,b={'actor':this,'rooms':this[m(0x1d4)],'scene':this[m(0x1cf)]},c=new GoCommand(b);c[m(0x1c8)]([a]);}}
1
+ const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x9f))/0x1+-parseInt(f(0xa9))/0x2+-parseInt(f(0xab))/0x3+-parseInt(f(0xa3))/0x4+parseInt(f(0xa0))/0x5+parseInt(f(0x9a))/0x6*(parseInt(f(0xb1))/0x7)+parseInt(f(0xa7))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xbb4fb));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0xa5)]()[h(0xa2)](h(0x9c))[h(0xa5)]()[h(0xa4)](a47a)[h(0xa2)]('(((.+)+)+)+$');});a47a();function a47c(){const n=['execute','6981360YjRggx','apply','36424GDUVAF','name','3723390luvvNk','length','speak','floor','_name','rooms','14672hetQAY','moveTo','246QkHrRT','_dialogue','(((.+)+)+)+$','scene','autonomousMove','483097gjlYVv','5720520HMJlOI','random','search','2236952XPVQJV','constructor','toString'];a47c=function(){return n;};return a47c();}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x9a;let f=c[d];return f;},a47d(a,b);}export class NPC extends Player{['_name'];[a47i(0x9b)];[a47i(0xb0)];[a47i(0x9d)];constructor(a,b,c,d){const j=a47i;super(d),this[j(0xaf)]=a,this[j(0x9b)]=b,this[j(0xb0)]=c;}get[a47i(0xaa)](){return this['_name'];}[a47i(0xad)](){const k=a47i;return this[k(0x9b)][Math[k(0xae)](Math[k(0xa1)]()*this[k(0x9b)][k(0xac)])];}[a47i(0x9e)](a){const l=a47i,b=a[Math[l(0xae)](Math['random']()*a['length'])];this[l(0xb2)](b[l(0xaa)]);}[a47i(0xb2)](a){const m=a47i,b={'actor':this,'rooms':this[m(0xb0)],'scene':this[m(0x9d)]},c=new GoCommand(b);c[m(0xa6)]([a]);}}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x1f7))/0x1+parseInt(f(0x1e4))/0x2*(parseInt(f(0x20c))/0x3)+parseInt(f(0x205))/0x4*(parseInt(f(0x1ed))/0x5)+-parseInt(f(0x1db))/0x6*(-parseInt(f(0x1de))/0x7)+parseInt(f(0x1f9))/0x8*(parseInt(f(0x208))/0x9)+parseInt(f(0x1bd))/0xa*(parseInt(f(0x1d0))/0xb)+-parseInt(f(0x1e3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x8e060));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1e1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x214)]()[h(0x1d8)](h(0x1cd))['toString']()['constructor'](a48a)[h(0x1d8)](h(0x1cd));});a48a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a48d(a,b);}import{AbstractPlayer}from'../types/abstracts.js';function a48c(){const B=['.\x20You\x20must\x20unequip\x20it\x20first.','\x20is\x20now\x20listening\x20in\x20room\x20','_maxCarryingWeight','rightHand','leg\x20armor','startLocation','equip','search','canEquip','\x20says:\x20\x22','12uDJnix','\x20slot.','\x20is\x20no\x20longer\x20listeng\x20in\x20','193417uPKFVm','error','A\x20featureless\x20room','apply','gloves','30548340tQIkFI','78nlOzzQ','legs','weight','enterRoom','log','determineEquipmentSlot','addInventory','toLowerCase','currentLocation','262585dwMtxF','Hat','feet','You\x20unequipped\x20','includes','Shield','head','initialEquipment','unequip','leftHand','155755luFhov','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','109936esEFlO','_currentLocation','Max\x20carrying\x20weight\x20must\x20be\x20positive.','torso','removeInventory','bodyarmor','legarmor','equipment','name','Failed\x20to\x20remove\x20','ArmArmor','You\x20don\x27t\x20have\x20','12YCqRZb','inventory','boots','603LLauWs','values','maxCarryingWeight','hear','83055vDuYmS','Removed\x20','Nexus','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','getWeight','addItem','currentWeight','speak','toString','\x20from\x20player\x27s\x20inventory.','You\x20can\x27t\x20equip\x20','hat','shield','write','Gloves','_playerName','category','helmet','2770kKHkGw','armarmor','_equipment','arms','inventoryItems','leaveRoom','playerName','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','BodyArmor','weapon','\x20in\x20your\x20inventory.','unequipBySlot','hasItem','getInstance','_inventory','bind','(((.+)+)+)+$','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','logger','30118xwbZJg'];a48c=function(){return B;};return a48c();}export class Player extends AbstractPlayer{[a48i(0x21b)];[a48i(0x1fa)];[a48i(0x1cb)];[a48i(0x1bf)];[a48i(0x1d3)]=0x32;[a48i(0x1cf)];constructor(a){const j=a48i;super(),this[j(0x21b)]=a[j(0x1c3)],this[j(0x1fa)]=a[j(0x1d6)]||new Room({'name':j(0x20e),'description':j(0x1e0)}),this[j(0x1cb)]=new Inventory(),this['logger']=Logger[j(0x1ca)]();if(a?.[j(0x1c1)])for(const b of a['inventoryItems']){this[j(0x1cb)][j(0x211)](b);}this['_equipment']=a?.[j(0x1f4)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a48i(0x201)](){const k=a48i;return this[k(0x21b)];}get[a48i(0x1ec)](){return this['_currentLocation'];}set['currentLocation'](a){const l=a48i;this[l(0x1fa)]!==a&&(this[l(0x1c2)](),this[l(0x1e7)](a)),this[l(0x1fa)]=a;}get[a48i(0x206)](){return this['_inventory'];}get[a48i(0x200)](){const m=a48i;return this[m(0x1bf)];}set[a48i(0x200)](a){const n=a48i;this[n(0x1bf)]=a;}get[a48i(0x20a)](){const o=a48i;return this[o(0x1d3)];}set[a48i(0x20a)](a){const p=a48i;a>0x0?this[p(0x1d3)]=a:console[p(0x1df)](p(0x1fb));}get['currentWeight'](){const q=a48i;let a=this[q(0x1cb)][q(0x210)]();for(const b in this['_equipment']){const c=this[q(0x1bf)][b];c&&(a+=c['weight']);}return a;}[a48i(0x1ea)](a){const r=a48i;if(this[r(0x212)]+a[r(0x1e6)]>this[r(0x20a)]){this['logger'][r(0x219)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(r(0x1ce));}this[r(0x1cb)][r(0x211)](a),this[r(0x1cf)][r(0x219)]('Added\x20'+a['name']+'\x20to\x20player\x27s\x20inventory.');}['removeInventory'](a){const s=a48i;if(this[s(0x1cb)]['removeItem'](a['name']))return this[s(0x1cf)]['write'](s(0x20d)+a[s(0x201)]+s(0x215)),!![];return this['logger']['write'](s(0x202)+a['name']+'\x20from\x20player\x27s\x20inventory.'),![];}[a48i(0x1d7)](a){const t=a48i;if(!this[t(0x1cb)][t(0x1c9)](a[t(0x201)]))return t(0x204)+a[t(0x201)]+t(0x1c7);if(!this['canEquip'](a))return t(0x216)+a[t(0x201)]+'.';const b=this['determineEquipmentSlot'](a[t(0x21c)]);if(!b)return a['name']+t(0x1f8);if(this['equipment'][b])return t(0x1c4)+b+t(0x1d1);return this[t(0x200)][b]=a,this[t(0x1fd)](a),'You\x20equipped\x20'+a[t(0x201)]+'.';}[a48i(0x1f5)](a){const u=a48i;let b=a;if(!this[u(0x200)][camelCase(b)]){b=this[u(0x1e9)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[u(0x1c8)](b);}[a48i(0x1e9)](a){const v=a48i;switch(a['toLowerCase']()){case Category['Weapon']['toLowerCase']():return v(0x1d4);case Category[v(0x1f2)][v(0x1eb)]():return v(0x1f6);case Category[v(0x21a)][v(0x1eb)]():return'gloves';case Category['Helmet']['toLowerCase']():case Category[v(0x1ee)][v(0x1eb)]():return v(0x1f3);case Category['Boots'][v(0x1eb)]():return v(0x1ef);case Category['LegArmor']['toLowerCase']():return v(0x1e5);case Category[v(0x203)][v(0x1eb)]():return v(0x1c0);case Category[v(0x1c5)][v(0x1eb)]():return v(0x1fc);case v(0x1c6):return v(0x1d4);case v(0x218):return v(0x1f6);case v(0x1e2):return v(0x1e2);case v(0x1bc):case v(0x217):return v(0x1f3);case v(0x207):return v(0x1ef);case v(0x1d5):case v(0x1ff):return'legs';case'arm\x20armor':case v(0x1be):return'arms';case'body\x20armor':case v(0x1fe):case v(0x1fc):return v(0x1fc);default:return null;}}[a48i(0x1d9)](a){const w=a48i;return Object[w(0x209)](Category)[w(0x1f1)](a['category']);}[a48i(0x1c8)](a){const x=a48i,b=this['equipment'][a];if(!b)return x(0x20f)+a+x(0x1dc);return this[x(0x1ea)](b),this['equipment'][a]=null,x(0x1f0)+b[x(0x201)]+'.';}['hear'](a,b){const y=a48i;a!==this&&this[y(0x1cf)][y(0x1e8)](a[y(0x201)]+y(0x1da)+b+'\x22');}[a48i(0x1e7)](a){const z=a48i;this['_currentLocation']=a,a['on'](z(0x213),this[z(0x20b)][z(0x1cc)](this)),this['logger'][z(0x219)](this[z(0x201)]+z(0x1d2)+a[z(0x201)]);}[a48i(0x1c2)](){const A=a48i;this[A(0x1fa)]&&(this[A(0x1fa)]['off'](A(0x213),this[A(0x20b)][A(0x1cc)](this)),this[A(0x1cf)][A(0x219)](this[A(0x201)]+A(0x1dd)+this[A(0x1fa)][A(0x201)]));}}
1
+ function a48c(){const C=['leaveRoom','inventoryItems','rightHand','currentLocation','hat','\x20is\x20now\x20listening\x20in\x20room\x20','hasItem','startLocation','armarmor','enterRoom','weight','leftHand','equipment','2PjfaVc','leg\x20armor','determineEquipmentSlot','body\x20armor','Gloves','playerName','write','16928dhdhTQ','speak','_maxCarryingWeight','\x20says:\x20\x22','arm\x20armor','136956UhnwqP','5466528FneyIt','shield','2437110xphSJB','You\x20equipped\x20','_inventory','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','log','boots','Weapon','You\x20can\x27t\x20equip\x20','error','category','(((.+)+)+)+$','A\x20featureless\x20room','removeItem','BodyArmor','feet','\x20slot.','You\x20don\x27t\x20have\x20','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','_playerName','removeInventory','initialEquipment','addInventory','Hat','_equipment','bind','4658416IuyAIV','Failed\x20to\x20remove\x20','565EVfFdU','maxCarryingWeight','gloves','_currentLocation','name','\x20in\x20your\x20inventory.','Removed\x20','values','getWeight','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','unequip','torso','head','hear','toLowerCase','search','\x20is\x20no\x20longer\x20listeng\x20in\x20','37900QSqnUc','.\x20You\x20must\x20unequip\x20it\x20first.','Shield','unequipBySlot','\x20from\x20player\x27s\x20inventory.','legarmor','logger','off','224jBDoyd','4015hEwbcX','205916sQmamB','arms','Boots','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','toString','weapon','equip'];a48c=function(){return C;};return a48c();}const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0xf7))/0x1+-parseInt(f(0x10b))/0x2*(parseInt(f(0x11a))/0x3)+-parseInt(f(0x112))/0x4*(-parseInt(f(0x136))/0x5)+parseInt(f(0x117))/0x6*(parseInt(f(0xf5))/0x7)+parseInt(f(0x134))/0x8+parseInt(f(0x118))/0x9+parseInt(f(0xed))/0xa*(-parseInt(f(0xf6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x63bda));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(0xfb)]()['search'](g(0x125))[g(0xfb)]()['constructor'](a48a)[g(0xeb)]('(((.+)+)+)+$');});a48a();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xde;let f=c[d];return f;},a48d(a,b);}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a48h(0x12d)];['_currentLocation'];[a48h(0x11c)];[a48h(0x132)];[a48h(0x114)]=0x32;[a48h(0xf3)];constructor(a){const i=a48h;super(),this[i(0x12d)]=a[i(0x110)],this[i(0xdf)]=a[i(0x105)]||new Room({'name':'Nexus','description':i(0x126)}),this['_inventory']=new Inventory(),this[i(0xf3)]=Logger['getInstance']();if(a?.[i(0xff)])for(const b of a[i(0xff)]){this[i(0x11c)]['addItem'](b);}this['_equipment']=a?.[i(0x12f)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a48h(0xe0)](){const j=a48h;return this[j(0x12d)];}get[a48h(0x101)](){const k=a48h;return this[k(0xdf)];}set[a48h(0x101)](a){const l=a48h;this[l(0xdf)]!==a&&(this[l(0xfe)](),this['enterRoom'](a)),this[l(0xdf)]=a;}get['inventory'](){const m=a48h;return this[m(0x11c)];}get['equipment'](){const n=a48h;return this[n(0x132)];}set['equipment'](a){const o=a48h;this[o(0x132)]=a;}get['maxCarryingWeight'](){const p=a48h;return this[p(0x114)];}set['maxCarryingWeight'](a){const q=a48h;a>0x0?this[q(0x114)]=a:console[q(0x123)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const r=a48h;let a=this[r(0x11c)][r(0xe4)]();for(const b in this[r(0x132)]){const c=this['_equipment'][b];c&&(a+=c['weight']);}return a;}[a48h(0x130)](a){const s=a48h;if(this['currentWeight']+a[s(0x108)]>this[s(0x137)]){this[s(0xf3)]['write'](s(0x12c));throw new Error(s(0xfa));}this[s(0x11c)]['addItem'](a),this[s(0xf3)]['write']('Added\x20'+a[s(0xe0)]+'\x20to\x20player\x27s\x20inventory.');}[a48h(0x12e)](a){const t=a48h;if(this[t(0x11c)][t(0x127)](a[t(0xe0)]))return this[t(0xf3)][t(0x111)](t(0xe2)+a[t(0xe0)]+t(0xf1)),!![];return this[t(0xf3)][t(0x111)](t(0x135)+a[t(0xe0)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a48h(0xfd)](a){const u=a48h;if(!this[u(0x11c)][u(0x104)](a['name']))return u(0x12b)+a[u(0xe0)]+u(0xe1);if(!this['canEquip'](a))return u(0x122)+a['name']+'.';const b=this[u(0x10d)](a[u(0x124)]);if(!b)return a[u(0xe0)]+u(0x11e);if(this[u(0x10a)][b])return u(0xe5)+b+u(0xee);return this[u(0x10a)][b]=a,this[u(0x12e)](a),u(0x11b)+a['name']+'.';}[a48h(0xe6)](a){const v=a48h;let b=a;if(!this[v(0x10a)][camelCase(b)]){b=this[v(0x10d)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[v(0xf0)](b);}['determineEquipmentSlot'](a){const w=a48h;switch(a[w(0xea)]()){case Category[w(0x121)][w(0xea)]():return w(0x100);case Category[w(0xef)][w(0xea)]():return w(0x109);case Category[w(0x10f)][w(0xea)]():return w(0xde);case Category['Helmet'][w(0xea)]():case Category[w(0x131)][w(0xea)]():return'head';case Category[w(0xf9)][w(0xea)]():return w(0x129);case Category['LegArmor'][w(0xea)]():return'legs';case Category['ArmArmor'][w(0xea)]():return w(0xf8);case Category[w(0x128)]['toLowerCase']():return w(0xe7);case w(0xfc):return w(0x100);case w(0x119):return w(0x109);case w(0xde):return w(0xde);case'helmet':case w(0x102):return w(0xe8);case w(0x120):return w(0x129);case w(0x10c):case w(0xf2):return'legs';case w(0x116):case w(0x106):return'arms';case w(0x10e):case'bodyarmor':case'torso':return'torso';default:return null;}}['canEquip'](a){const x=a48h;return Object[x(0xe3)](Category)['includes'](a[x(0x124)]);}[a48h(0xf0)](a){const y=a48h,b=this[y(0x10a)][a];if(!b)return y(0x11d)+a+y(0x12a);return this['addInventory'](b),this[y(0x10a)][a]=null,'You\x20unequipped\x20'+b[y(0xe0)]+'.';}[a48h(0xe9)](a,b){const z=a48h;a!==this&&this[z(0xf3)][z(0x11f)](a[z(0xe0)]+z(0x115)+b+'\x22');}[a48h(0x107)](a){const A=a48h;this[A(0xdf)]=a,a['on']('speak',this[A(0xe9)][A(0x133)](this)),this['logger'][A(0x111)](this[A(0xe0)]+A(0x103)+a[A(0xe0)]);}[a48h(0xfe)](){const B=a48h;this[B(0xdf)]&&(this['_currentLocation'][B(0xf4)](B(0x113),this[B(0xe9)][B(0x133)](this)),this[B(0xf3)][B(0x111)](this[B(0xe0)]+B(0xec)+this[B(0xdf)][B(0xe0)]));}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x147))/0x1+-parseInt(f(0x13c))/0x2+-parseInt(f(0x14e))/0x3+-parseInt(f(0x146))/0x4*(parseInt(f(0x155))/0x5)+-parseInt(f(0x149))/0x6+-parseInt(f(0x152))/0x7+parseInt(f(0x14f))/0x8*(parseInt(f(0x14c))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x40db7));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x14d)]()['search'](h(0x13d))[h(0x14d)]()[h(0x15a)](a49a)[h(0x157)](h(0x13d));});a49a();function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x13b;var f=c[d];return f;},a49d(a,b);}import{Logger}from'../utilities/logger.js';function a49c(){var n=['499725RkExfI','12664QCZWmK','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','requiredPhrase','2027340LZlNHd','hasRequiredItem','solved','5FZiuaQ','write','search','matchesRequiredPhrase','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','constructor','You\x20have\x20already\x20solved\x20this\x20puzzle.','successMessage','861554bifOHj','(((.+)+)+)+$','You\x20solved\x20the\x20puzzle!','apply','hasItem','solve','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','getInstance','failureMessage','rewardItem','116944zEgQxB','363474bAXLov','logger','2393628lESpAA','requiredItem','riddle','6921mPQdet','toString'];a49c=function(){return n;};return a49c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a49i(0x148)]=Logger[a49i(0x143)]();[a49i(0x154)]=![];[a49i(0x14a)];['requiredPhrase'];[a49i(0x14b)];['rewardItem'];['successMessage'];[a49i(0x144)];constructor(a){var j=a49i;super(),this['requiredItem']=a[j(0x14a)],this[j(0x151)]=a['requiredPhrase'],this[j(0x14b)]=a[j(0x14b)],this[j(0x145)]=a[j(0x145)],this[j(0x13b)]=a[j(0x13b)]||j(0x13e),this[j(0x144)]=a[j(0x144)]||j(0x142);}['hasRequiredItem'](a){var k=a49i;if(this[k(0x14a)])return a[k(0x140)](this['requiredItem']);return![];}[a49i(0x158)](a){var l=a49i;return this[l(0x151)]===a;}[a49i(0x141)](a,b){var m=a49i;if(this[m(0x154)])return this[m(0x148)][m(0x156)](m(0x159)),{'success':![],'message':m(0x15b)};return this[m(0x153)](b)||this['matchesRequiredPhrase'](a)?(this['solved']=!![],this['logger'][m(0x156)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this['successMessage']}):(this['logger'][m(0x156)](m(0x150)),{'success':![],'message':this[m(0x144)]});}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0xae))/0x1*(parseInt(f(0xa9))/0x2)+parseInt(f(0xa1))/0x3+-parseInt(f(0xbd))/0x4*(-parseInt(f(0xa5))/0x5)+parseInt(f(0xbf))/0x6+-parseInt(f(0xa7))/0x7*(parseInt(f(0xb9))/0x8)+-parseInt(f(0xab))/0x9+-parseInt(f(0xad))/0xa*(-parseInt(f(0xac))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x7a00c));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0xbe)](h(0xbb))[h(0xa2)]()['constructor'](a49a)['search'](h(0xbb));});a49a();import{Logger}from'../utilities/logger.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xa0;var f=c[d];return f;},a49d(a,b);}function a49c(){var n=['requiredItem','logger','1861305REKNjw','toString','rewardItem','write','198905PeqWwP','riddle','695219rbfVMo','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','1728MwtkNz','failureMessage','6610095qPMbgB','9312754IuBICq','10OLaDer','508OTebWR','solved','Puzzle:\x20Correct\x20solution\x20provided.','matchesRequiredPhrase','solve','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','requiredPhrase','You\x20have\x20already\x20solved\x20this\x20puzzle.','hasItem','hasRequiredItem','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','24LicVDJ','apply','(((.+)+)+)+$','successMessage','40EmDlwT','search','637098QimGYF'];a49c=function(){return n;};return a49c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a49i(0xa0)]=Logger['getInstance']();[a49i(0xaf)]=![];[a49i(0xc0)];[a49i(0xb4)];[a49i(0xa6)];[a49i(0xa3)];[a49i(0xbc)];[a49i(0xaa)];constructor(a){var j=a49i;super(),this[j(0xc0)]=a[j(0xc0)],this[j(0xb4)]=a[j(0xb4)],this[j(0xa6)]=a[j(0xa6)],this[j(0xa3)]=a[j(0xa3)],this[j(0xbc)]=a[j(0xbc)]||'You\x20solved\x20the\x20puzzle!',this['failureMessage']=a[j(0xaa)]||j(0xb3);}[a49i(0xb7)](a){var k=a49i;if(this[k(0xc0)])return a[k(0xb6)](this[k(0xc0)]);return![];}[a49i(0xb1)](a){var l=a49i;return this[l(0xb4)]===a;}[a49i(0xb2)](a,b){var m=a49i;if(this[m(0xaf)])return this[m(0xa0)][m(0xa4)](m(0xa8)),{'success':![],'message':m(0xb5)};return this['hasRequiredItem'](b)||this[m(0xb1)](a)?(this[m(0xaf)]=!![],this[m(0xa0)]['write'](m(0xb0)),{'success':!![],'message':this[m(0xbc)]}):(this[m(0xa0)][m(0xa4)](m(0xb8)),{'success':![],'message':this[m(0xaa)]});}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x1ce))/0x1+-parseInt(f(0x1e6))/0x2+parseInt(f(0x1be))/0x3+parseInt(f(0x1c8))/0x4*(-parseInt(f(0x1c1))/0x5)+parseInt(f(0x1bf))/0x6*(-parseInt(f(0x1f3))/0x7)+-parseInt(f(0x1e8))/0x8+parseInt(f(0x1f2))/0x9*(parseInt(f(0x1f1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x9cc5e));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x1d8)]()[h(0x1fa)](h(0x1ec))['toString']()[h(0x1ff)](a50a)[h(0x1fa)](h(0x1ec));});a50a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a50c(){const u=['hasItem','toString','Checking\x20if\x20exit\x20in\x20direction\x20','setPuzzle','\x20unlocked!','\x20is\x20locked.\x20Result:\x20','DOWN','Invalid\x20direction:\x20','removeItem','get','\x20remains\x20locked.','No\x20locked\x20exit\x20found\x20in\x20direction\x20','getExit','EAST','NORTH','597648CPLZIA','The\x20','4434968LpGcud','apply','getOppositeDirection','SOUTH','(((.+)+)+)+$','south','values','Item\x20added\x20to\x20room\x20','findExistingDoor','30bSQaGk','7988157PZzuDW','14cSYYHi','Room\x20created:\x20','isExitLocked','inventory','say','roomType','riddle','search','attemptUnlockExit','north','roomB','down','constructor','Fetching\x20exit\x20in\x20direction:\x20','3851511LtYTBU','2656218JfTwgj','roomA','3364295EUwugM','logger','write','puzzle','name','exits','addExit','4fImAQJ','INSIDE','WEST','Item\x20removed\x20from\x20room\x20','isStartRoom','east','892954VgNsQs','set','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','attemptUnlock','.\x20Success:\x20','speak','description','Puzzle\x20set\x20for\x20room\x20','west'];a50c=function(){return u;};return a50c();}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a50d(a,b);}export class Room extends AbstractRoom{[a50i(0x1c2)]=Logger['getInstance']();['name'];['description'];['exits']=new Map();['roomType'];['isStartRoom'];[a50i(0x1f6)]=new Inventory();constructor(a){const j=a50i;super(),this[j(0x1c5)]=a['name'],this[j(0x1d4)]=a[j(0x1d4)],this['roomType']=a[j(0x1f8)]||RoomType[j(0x1c9)],a[j(0x1c6)]&&(this[j(0x1c6)]=a[j(0x1c6)]||new Map()),a[j(0x1f6)]&&(this[j(0x1f6)]=a[j(0x1f6)]),a['puzzle']&&(this[j(0x1c4)]=a[j(0x1c4)]),this[j(0x1cc)]=a['isStartRoom']||![],this['logger']['write'](j(0x1f4)+this[j(0x1c5)]);}[a50i(0x1f7)](a,b){const k=a50i;this['emit'](k(0x1d3),a,b);}[a50i(0x1c7)](a,b,c){const l=a50i;let d=this[l(0x1f0)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1c6)][l(0x1cf)](a,d),b[l(0x1c6)][l(0x1cf)](this[l(0x1ea)](a),d);}[a50i(0x1fb)](a,b){const m=a50i,c=this[m(0x1c6)][m(0x1e0)](a);if(c instanceof Door){const d=c[m(0x1d1)](b);return this[m(0x1c2)][m(0x1c3)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0x1d2)+d),d?'The\x20'+c[m(0x1c5)]+m(0x1db):m(0x1e7)+c[m(0x1c5)]+m(0x1e1);}return this[m(0x1c2)]['write'](m(0x1e2)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a50i(0x1e3)](a){const n=a50i;return this[n(0x1c2)][n(0x1c3)](n(0x1bd)+a),this[n(0x1c6)][n(0x1e0)](a);}[a50i(0x1f5)](a){const o=a50i,b=this['exits'][o(0x1e0)](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0x1c2)][o(0x1c3)](o(0x1d9)+a+o(0x1dc)+c),c;}['addItem'](a){const p=a50i;this[p(0x1f6)]['addItem'](a),this[p(0x1c2)][p(0x1c3)](p(0x1ef)+this[p(0x1c5)]+':\x20'+a[p(0x1c5)]);}['removeItem'](a){const q=a50i;this[q(0x1f6)][q(0x1d7)](a[q(0x1c5)])?(this[q(0x1f6)][q(0x1df)](a['name']),this[q(0x1c2)]['write'](q(0x1cb)+this[q(0x1c5)]+':\x20'+a[q(0x1c5)])):this[q(0x1c2)]['write'](q(0x1d0)+this[q(0x1c5)]+':\x20'+a[q(0x1c5)]);}[a50i(0x1da)](a){const r=a50i;this[r(0x1c4)]=a,this[r(0x1c2)][r(0x1c3)](r(0x1d5)+this[r(0x1c5)]+':\x20'+a[r(0x1f9)]);}[a50i(0x1ea)](a){const s=a50i;switch(a){case s(0x1fc):return Direction[s(0x1eb)];case s(0x1ed):return Direction[s(0x1e5)];case s(0x1cd):return Direction[s(0x1ca)];case s(0x1d6):return Direction[s(0x1e4)];case'up':return Direction[s(0x1dd)];case s(0x1fe):return Direction['UP'];default:throw new Error(s(0x1de)+a);}}['findExistingDoor'](a){const t=a50i;for(const b of this[t(0x1c6)][t(0x1ee)]()){if(b instanceof Door){if(b[t(0x1c0)]===this&&b[t(0x1fd)]===a||b[t(0x1fd)]===this&&b[t(0x1c0)]===a)return b;}}return undefined;}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x220))/0x1*(-parseInt(f(0x203))/0x2)+-parseInt(f(0x223))/0x3+parseInt(f(0x1f6))/0x4+parseInt(f(0x213))/0x5+-parseInt(f(0x20a))/0x6+parseInt(f(0x228))/0x7*(parseInt(f(0x1fd))/0x8)+-parseInt(f(0x222))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xa8196));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x218)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x227)]()['search'](h(0x219))[h(0x227)]()['constructor'](a50a)[h(0x224)](h(0x219));});function a50c(){const u=['WEST','write','INSIDE','130938eSWmZb','exits','No\x20locked\x20exit\x20found\x20in\x20direction\x20','checkIfLocked','NORTH','roomA','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','6200712UHfXeC','speak','attemptUnlock','findExistingDoor','say','set','\x20is\x20locked.\x20Result:\x20','emit','isStartRoom','3959345sKPECs','addExit','setPuzzle','The\x20','description','apply','(((.+)+)+)+$','removeItem','hasItem','values','Item\x20added\x20to\x20room\x20','getInstance','SOUTH','8xgTkpj','puzzle','4507488ToDkPn','612693eLPCrz','search','east','Room\x20created:\x20','toString','14UVeewO','roomB','Puzzle\x20set\x20for\x20room\x20','name','south','riddle','get','west','logger','3790016QnUoQV','roomType','inventory','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','Item\x20removed\x20from\x20room\x20','attemptUnlockExit','getOppositeDirection','4845712aOqMLU','addItem','\x20remains\x20locked.'];a50c=function(){return u;};return a50c();}a50a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a50d(a,b);}import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a50i(0x1f5)]=Logger[a50i(0x21e)]();['name'];['description'];[a50i(0x204)]=new Map();[a50i(0x1f7)];[a50i(0x212)];[a50i(0x1f8)]=new Inventory();constructor(a){const j=a50i;super(),this['name']=a['name'],this[j(0x217)]=a[j(0x217)],this[j(0x1f7)]=a[j(0x1f7)]||RoomType[j(0x202)],a[j(0x204)]&&(this['exits']=a['exits']||new Map()),a['inventory']&&(this[j(0x1f8)]=a[j(0x1f8)]),a[j(0x221)]&&(this[j(0x221)]=a[j(0x221)]),this[j(0x212)]=a[j(0x212)]||![],this['logger'][j(0x201)](j(0x226)+this[j(0x1f0)]);}[a50i(0x20e)](a,b){const k=a50i;this[k(0x211)](k(0x20b),a,b);}[a50i(0x214)](a,b,c){const l=a50i;let d=this[l(0x20d)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x20f)](a,d),b[l(0x204)][l(0x20f)](this[l(0x1fc)](a),d);}[a50i(0x1fb)](a,b){const m=a50i,c=this[m(0x204)]['get'](a);if(c instanceof Door){const d=c[m(0x20c)](b);return this['logger'][m(0x201)](m(0x1f9)+a+'.\x20Success:\x20'+d),d?m(0x216)+c[m(0x1f0)]+'\x20unlocked!':m(0x216)+c[m(0x1f0)]+m(0x1ff);}return this[m(0x1f5)][m(0x201)](m(0x205)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}['getExit'](a){const n=a50i;return this[n(0x1f5)][n(0x201)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0x204)][n(0x1f3)](a);}['isExitLocked'](a){const o=a50i,b=this[o(0x204)][o(0x1f3)](a),c=b instanceof Door&&b[o(0x206)]();return this['logger'][o(0x201)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0x210)+c),c;}[a50i(0x1fe)](a){const p=a50i;this[p(0x1f8)][p(0x1fe)](a),this[p(0x1f5)]['write'](p(0x21d)+this[p(0x1f0)]+':\x20'+a[p(0x1f0)]);}[a50i(0x21a)](a){const q=a50i;this[q(0x1f8)][q(0x21b)](a[q(0x1f0)])?(this[q(0x1f8)]['removeItem'](a['name']),this[q(0x1f5)]['write'](q(0x1fa)+this[q(0x1f0)]+':\x20'+a[q(0x1f0)])):this['logger'][q(0x201)](q(0x209)+this[q(0x1f0)]+':\x20'+a[q(0x1f0)]);}[a50i(0x215)](a){const r=a50i;this['puzzle']=a,this['logger'][r(0x201)](r(0x1ef)+this[r(0x1f0)]+':\x20'+a[r(0x1f2)]);}[a50i(0x1fc)](a){const s=a50i;switch(a){case'north':return Direction[s(0x21f)];case s(0x1f1):return Direction[s(0x207)];case s(0x225):return Direction[s(0x200)];case s(0x1f4):return Direction['EAST'];case'up':return Direction['DOWN'];case'down':return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a50i(0x20d)](a){const t=a50i;for(const b of this[t(0x204)][t(0x21c)]()){if(b instanceof Door){if(b[t(0x208)]===this&&b['roomB']===a||b[t(0x1ee)]===this&&b[t(0x208)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a51l=a51d;(function(a,b){const i=a51d,c=a();while(!![]){try{const d=-parseInt(i(0x11e))/0x1+parseInt(i(0x117))/0x2*(parseInt(i(0x123))/0x3)+parseInt(i(0x10c))/0x4+-parseInt(i(0x108))/0x5*(parseInt(i(0x103))/0x6)+parseInt(i(0x121))/0x7*(-parseInt(i(0x12c))/0x8)+parseInt(i(0x134))/0x9+-parseInt(i(0x13d))/0xa*(parseInt(i(0x141))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xbb540));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a['toString']()['search'](k(0x13e))[k(0x12d)]()[k(0x128)](a51a)[k(0x11a)](k(0x13e));});a51a();import{Logger}from'../utilities/logger.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xf8;let f=c[d];return f;},a51d(a,b);}import{Direction}from'../types/enums.js';function a51c(){const C=['rooms','22gYUGXg','\x27s\x20location.\x20Room\x20','roomFactory','\x20to\x20room\x20','Added\x20room\x20to\x20scene:\x20','setPuzzle','.\x20Room\x20','allActors','addItemToRoom','write','getInstance','hasOwnProperty','1540392OtoeqO','direction','Room\x20\x22','setCharacterLocation','exits','20lGllmg','getCharacterLocation','roomConfiguration','Failed\x20to\x20add\x20puzzle.\x20Room\x20','5998568biYlAX','No\x20actor\x20with\x20name\x20','Added\x20puzzle\x20to\x20room\x20','keys','toUpperCase','Failed\x20to\x20set\x20','isStartRoom','addExit','addPuzzleToRoom','connectRooms','currentLocation','2782022pMNhAE','length','Actor\x20with\x20name\x20','search','get','determineStartRoom','getPlayer','344337Pqxono','characterLocations','createExitsFromConfig','182ADHGrk','warn','3PDZzVa','apply','keyRequired','\x22\x20does\x20not\x20exist.','set','constructor','values','has','actors','303944bvwGQk','toString','removeRoom','name','createRoom','logger','player','generateRoomsFromConfig','9549468sxFkNa','join','Scene\x20initialized\x20with\x20rooms:\x20','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','addActor','\x20is\x20now\x20in\x20room\x20','\x20not\x20found\x20in\x20scene.','Added\x20item\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','4126630CXYEqP','(((.+)+)+)+$','push'];a51c=function(){return C;};return a51c();}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a51l(0x140)];[a51l(0x132)];[a51l(0x131)];['actors'];[a51l(0x11f)]=new Map();['roomFactory'];constructor(a){const m=a51l;super(),this[m(0xf9)]=new RoomFactory(),this[m(0x132)]=a[m(0x132)],this[m(0x140)]=this[m(0x133)](a[m(0x10a)]),this[m(0x131)]=Logger[m(0x101)](),this['actors']=new Map(),this[m(0x120)](a[m(0x10a)]),this['logger']['write'](m(0x136)+Object[m(0x10f)](this['rooms'])[m(0x135)](',\x20'));}['initialize'](){const n=a51l;this[n(0x132)][n(0x116)]=this['determineStartRoom']();}['generateRoomsFromConfig'](a){const o=a51l;if(!this['roomFactory'])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this['roomFactory'][o(0x130)](c);b[c[o(0x12f)]]=d;}return b;}['createExitsFromConfig'](a){const p=a51l;for(const b of a){const c=this[p(0x140)][b[p(0x12f)]];if(b[p(0x107)])for(const d of b['exits']){const e=d[p(0x104)][p(0x110)](),f=d['targetRoom'],g=d[p(0x125)],h=this[p(0x140)][f];h&&c[p(0x113)](Direction[e],h,g);}}}[a51l(0x138)](a){const q=a51l;if(this[q(0x12b)][q(0x12a)](a[q(0x12f)]))throw new Error(q(0x119)+a[q(0x12f)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x12b)][q(0x127)](a['name'],a);}['removeActor'](a){const r=a51l;if(!this[r(0x12b)][r(0x12a)](a))throw new Error(r(0x10d)+a+'\x20found\x20in\x20the\x20scene.');this[r(0x12b)]['delete'](a);}['getActor'](a){const s=a51l;return this[s(0x12b)]['get'](a);}get[a51l(0xfe)](){const t=a51l;return Array['from'](this['actors'][t(0x129)]());}['addRoom'](a){const u=a51l;this[u(0x140)][a['name']]=a,this[u(0x131)]['write'](u(0xfb)+a[u(0x12f)]);}[a51l(0x12e)](a){const v=a51l;return this[v(0x140)][a]?(delete this['rooms'][a],this[v(0x131)][v(0x100)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0x131)][v(0x100)](v(0x137)+a),![]);}[a51l(0xff)](a,b){const w=a51l,c=this[w(0x140)][b];c?(c['addItem'](a),this['logger'][w(0x100)](w(0x13b)+a[w(0x12f)]+w(0xfa)+c[w(0x12f)])):this[w(0x131)][w(0x100)]('Failed\x20to\x20add\x20item\x20'+a['name']+w(0xfd)+b+w(0x13a));}[a51l(0x114)](a,b){const x=a51l,c=this[x(0x140)][b];c?(c[x(0xfc)](a),this[x(0x131)][x(0x100)](x(0x10e)+c['name'])):this[x(0x131)][x(0x100)](x(0x10b)+b+x(0x13a));}[a51l(0x106)](a,b){const y=a51l,c=this[y(0x140)][b];c?(this[y(0x11f)][y(0x127)](a[y(0x12f)],c),this[y(0x131)][y(0x100)](a['name']+y(0x139)+c['name'])):this[y(0x131)][y(0x100)](y(0x111)+a['name']+y(0xf8)+b+y(0x13a));}[a51l(0x109)](a){const z=a51l;return this[z(0x11f)][z(0x11b)](a['name']);}[a51l(0x11c)](){const A=a51l,a=[];for(const c in this[A(0x140)]){if(this[A(0x140)][A(0x102)](c)){const d=this[A(0x140)][c];d[A(0x112)]&&a[A(0x13f)](d);}}if(a[A(0x118)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[A(0x118)]===0x1)return a[0x0];const b=Object[A(0x10f)](this[A(0x140)]);if(b[A(0x118)]===0x0)throw new Error(A(0x13c));return console[A(0x122)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0x140)][b[0x0]];}[a51l(0x11d)](){return this['player'];}['getRooms'](){return this['rooms'];}[a51l(0x115)](a,b,c,d){const B=a51l,e=this[B(0x140)][a],f=this[B(0x140)][c];if(!e)throw new Error(B(0x105)+a+B(0x126));if(!f)throw new Error(B(0x105)+c+B(0x126));e[B(0x113)](b,f,d);}}
1
+ const a51l=a51d;(function(a,b){const i=a51d,c=a();while(!![]){try{const d=parseInt(i(0xad))/0x1*(-parseInt(i(0xcb))/0x2)+parseInt(i(0xb5))/0x3+parseInt(i(0xc9))/0x4*(-parseInt(i(0x9e))/0x5)+-parseInt(i(0xb1))/0x6*(parseInt(i(0xa0))/0x7)+parseInt(i(0x99))/0x8*(parseInt(i(0xd2))/0x9)+-parseInt(i(0xbd))/0xa*(-parseInt(i(0xc8))/0xb)+parseInt(i(0xd6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x3d793));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a[k(0xd0)]()['search'](k(0xbf))[k(0xd0)]()[k(0xa9)](a51a)['search'](k(0xbf));});a51a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a51c(){const E=['getPlayer','addItem','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','write','exits','warn','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','roomConfiguration','No\x20actor\x20with\x20name\x20','rooms','createExitsFromConfig','get','43312YBrVAS','\x20to\x20room\x20','logger','\x22\x20does\x20not\x20exist.','addItemToRoom','830vJYIHf','Failed\x20to\x20add\x20item\x20','34006rFmumF','setPuzzle','removeRoom','getCharacterLocation','\x20is\x20now\x20in\x20room\x20','name','has','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','values','constructor','set','Failed\x20to\x20add\x20puzzle.\x20Room\x20','isStartRoom','10yNfvXv','Removed\x20room\x20from\x20scene:\x20','addExit','keys','384KVDDqF','\x20not\x20found\x20in\x20scene.','hasOwnProperty','getInstance','199596kbcCVA','join','from','addRoom','.\x20Room\x20','roomFactory','generateRoomsFromConfig','player','186740XNaiYz','Added\x20room\x20to\x20scene:\x20','(((.+)+)+)+$','getActor','determineStartRoom','addActor','Added\x20item\x20','length','Added\x20puzzle\x20to\x20room\x20','apply','targetRoom','33RQGADp','20gxMTJI','\x20already\x20exists\x20in\x20the\x20scene.','49470ELqCka','toUpperCase','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','setCharacterLocation','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','toString','addPuzzleToRoom','711UtFGlt','keyRequired','allActors','createRoom','3127524maauvT','actors','Actor\x20with\x20name\x20','\x27s\x20location.\x20Room\x20','characterLocations'];a51c=function(){return E;};return a51c();}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x94;let f=c[d];return f;},a51d(a,b);}export class Scene extends AbstractScene{[a51l(0x96)];[a51l(0xbc)];[a51l(0x9b)];[a51l(0xd7)];['characterLocations']=new Map();[a51l(0xba)];constructor(a){const m=a51l;super(),this[m(0xba)]=new RoomFactory(),this[m(0xbc)]=a[m(0xbc)],this[m(0x96)]=this['generateRoomsFromConfig'](a['roomConfiguration']),this[m(0x9b)]=Logger[m(0xb4)](),this[m(0xd7)]=new Map(),this[m(0x97)](a[m(0x94)]),this[m(0x9b)][m(0xde)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0xb0)](this[m(0x96)])[m(0xb6)](',\x20'));}['initialize'](){const n=a51l;this[n(0xbc)]['currentLocation']=this[n(0xc1)]();}[a51l(0xbb)](a){const o=a51l;if(!this[o(0xba)])throw new Error(o(0xcf));const b={};for(const c of a){const d=this[o(0xba)][o(0xd5)](c);b[c[o(0xa5)]]=d;}return b;}[a51l(0x97)](a){const p=a51l;for(const b of a){const c=this[p(0x96)][b['name']];if(b[p(0xdf)])for(const d of b[p(0xdf)]){const e=d['direction'][p(0xcc)](),f=d[p(0xc7)],g=d[p(0xd3)],h=this['rooms'][f];h&&c['addExit'](Direction[e],h,g);}}}[a51l(0xc2)](a){const q=a51l;if(this['actors'][q(0xa6)](a['name']))throw new Error(q(0xd8)+a[q(0xa5)]+q(0xca));this['actors'][q(0xaa)](a['name'],a);}['removeActor'](a){const r=a51l;if(!this[r(0xd7)][r(0xa6)](a))throw new Error(r(0x95)+a+'\x20found\x20in\x20the\x20scene.');this[r(0xd7)]['delete'](a);}[a51l(0xc0)](a){const s=a51l;return this[s(0xd7)][s(0x98)](a);}get[a51l(0xd4)](){const t=a51l;return Array[t(0xb7)](this[t(0xd7)][t(0xa8)]());}[a51l(0xb8)](a){const u=a51l;this[u(0x96)][a[u(0xa5)]]=a,this[u(0x9b)][u(0xde)](u(0xbe)+a[u(0xa5)]);}[a51l(0xa2)](a){const v=a51l;return this[v(0x96)][a]?(delete this['rooms'][a],this[v(0x9b)][v(0xde)](v(0xae)+a),!![]):(this['logger'][v(0xde)](v(0xdd)+a),![]);}[a51l(0x9d)](a,b){const w=a51l,c=this[w(0x96)][b];c?(c[w(0xdc)](a),this['logger']['write'](w(0xc3)+a[w(0xa5)]+w(0x9a)+c[w(0xa5)])):this[w(0x9b)][w(0xde)](w(0x9f)+a[w(0xa5)]+w(0xb9)+b+'\x20not\x20found\x20in\x20scene.');}[a51l(0xd1)](a,b){const x=a51l,c=this[x(0x96)][b];c?(c[x(0xa1)](a),this[x(0x9b)][x(0xde)](x(0xc5)+c[x(0xa5)])):this['logger'][x(0xde)](x(0xab)+b+x(0xb2));}[a51l(0xce)](a,b){const y=a51l,c=this['rooms'][b];c?(this['characterLocations'][y(0xaa)](a['name'],c),this[y(0x9b)][y(0xde)](a[y(0xa5)]+y(0xa4)+c[y(0xa5)])):this[y(0x9b)][y(0xde)]('Failed\x20to\x20set\x20'+a[y(0xa5)]+y(0xd9)+b+y(0xb2));}[a51l(0xa3)](a){const z=a51l;return this[z(0xda)][z(0x98)](a[z(0xa5)]);}['determineStartRoom'](){const A=a51l,a=[];for(const c in this[A(0x96)]){if(this['rooms'][A(0xb3)](c)){const d=this[A(0x96)][c];d[A(0xac)]&&a['push'](d);}}if(a[A(0xc4)]>0x1)throw new Error(A(0xa7));if(a['length']===0x1)return a[0x0];const b=Object['keys'](this[A(0x96)]);if(b[A(0xc4)]===0x0)throw new Error(A(0xcd));return console[A(0xe0)](A(0xe1)),this['rooms'][b[0x0]];}[a51l(0xdb)](){const B=a51l;return this[B(0xbc)];}['getRooms'](){const C=a51l;return this[C(0x96)];}['connectRooms'](a,b,c,d){const D=a51l,e=this[D(0x96)][a],f=this['rooms'][c];if(!e)throw new Error('Room\x20\x22'+a+D(0x9c));if(!f)throw new Error('Room\x20\x22'+c+D(0x9c));e[D(0xaf)](b,f,d);}}
@@ -1 +1 @@
1
- var a52r=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x20e))/0x1+parseInt(f(0x1df))/0x2+-parseInt(f(0x1f7))/0x3+-parseInt(f(0x1da))/0x4*(parseInt(f(0x207))/0x5)+parseInt(f(0x1ec))/0x6*(-parseInt(f(0x1ff))/0x7)+-parseInt(f(0x1f4))/0x8*(-parseInt(f(0x1f1))/0x9)+parseInt(f(0x1ee))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x7df28));function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1da;var f=c[d];return f;},a52d(a,b);}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0x20d)]()[g(0x1dc)](g(0x1e3))[g(0x20d)]()[g(0x1fe)](a52a)[g(0x1dc)](g(0x1e3));});a52a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var h=a52d;super({'name':a,'description':b,'size':Size[h(0x1e9)],'category':Category[h(0x1ea)],'shape':Shape[h(0x1db)],'color':Color[h(0x1f9)],'texture':Texture[h(0x1eb)],'rating':Rating[h(0x1e6)],'weight':0x1});}['use'](){return this['description'];}}export class Sword extends Item{constructor(a,b){var i=a52d;super({'name':a,'description':b,'size':Size[i(0x1e9)],'category':Category['Weapon'],'shape':Shape[i(0x1de)],'color':Color['Grey'],'texture':Texture[i(0x1fd)],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var j=a52d;super({'name':a,'description':b,'size':Size['Large'],'category':Category[j(0x1ed)],'shape':Shape[j(0x20a)],'color':Color[j(0x206)],'texture':Texture[j(0x1fd)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var k=a52d;super({'name':a,'description':b,'size':Size[k(0x1e9)],'category':Category['Helmet'],'shape':Shape[k(0x200)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[k(0x1e6)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var l=a52d;super({'name':a,'description':b,'size':Size[l(0x1fc)],'category':Category[l(0x209)],'shape':Shape[l(0x1db)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[l(0x1e6)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var m=a52d;super({'name':a,'description':b,'size':Size[m(0x1e9)],'category':Category[m(0x1e5)],'shape':Shape[m(0x1db)],'color':Color[m(0x204)],'texture':Texture[m(0x1fd)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var n=a52d;super({'name':a,'description':b,'size':Size[n(0x1e9)],'category':Category[n(0x1e4)],'shape':Shape[n(0x200)],'color':Color[n(0x206)],'texture':Texture[n(0x1eb)],'rating':Rating[n(0x1e6)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var o=a52d;super({'name':a,'description':b,'size':Size['Small'],'category':Category[o(0x1f5)],'shape':Shape['Circle'],'color':Color['Brown'],'texture':Texture[o(0x1eb)],'rating':Rating[o(0x1e6)],'weight':0x1});}}function a52c(){var B=['Tiny','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Large','Metallic','constructor','7XXDSMe','Circle','use','Small','Book','Grey','Cup','Brown','115oEMeLT','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','BodyArmor','Rifle','name','pageCount','toString','837208cYxNsR','Sniper\x20Rifle','70580lzQjrP','Rectangle','search','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Blade','751450kbyuZz','Legendary','author','Gold','(((.+)+)+)+$','Boots','LegArmor','Common','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Holy\x20Grail','Medium','Unknown','Smooth','4189086znHWwj','Weapon','4780360Oktgty','\x20aloft,\x20feeling\x20its\x20immense\x20power.','You\x20hold\x20the\x20','6941943SZJDXS','Short\x20Sword','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','8nZIMVA','Gloves','ArmArmor','2527200DfkYfF','Key','Yellow'];a52c=function(){return B;};return a52c();}export class Gauntlets extends Item{constructor(a,b){var p=a52d;super({'name':a,'description':b,'size':Size[p(0x1e9)],'category':Category[p(0x1f6)],'shape':Shape[p(0x1db)],'color':Color[p(0x204)],'texture':Texture[p(0x1fd)],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var q=a52d;super({'name':a,'description':b,'size':Size[q(0x1fa)],'category':Category[q(0x1f8)],'shape':Shape['Rectangle'],'color':Color[q(0x1f9)],'texture':Texture['Smooth'],'rating':Rating[q(0x1e6)],'weight':0x0});}[a52r(0x201)](){var s=a52r;return s(0x1f3);}}export class Weapon extends Item{constructor(a,b){var t=a52r;super({'name':a,'description':b,'size':Size[t(0x1e9)],'category':Category[t(0x1ed)],'shape':Shape[t(0x1de)],'color':Color['Grey'],'texture':Texture[t(0x1fd)],'rating':Rating[t(0x1e6)],'weight':0x3});}[a52r(0x201)](){var u=a52r;return u(0x1dd);}}export class Book extends Item{['author'];['publishDate'];[a52r(0x20c)];constructor(a,b='A\x20mysterious\x20book.',c='Unknown\x20Author'){var v=a52r;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[v(0x203)],'shape':Shape[v(0x1db)],'color':Color[v(0x206)],'texture':Texture[v(0x1eb)],'rating':Rating['Common'],'weight':0x1}),this[v(0x1e1)]=c,this['publishDate']=new Date(),this[v(0x20c)]=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 w=a52r;super({'name':w(0x1f2),'description':w(0x1e7),'size':Size[w(0x1e9)],'category':Category['Weapon'],'shape':Shape['Blade'],'color':Color[w(0x204)],'texture':Texture['Metallic'],'rating':Rating[w(0x1e6)],'weight':0x3});}[a52r(0x201)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var x=a52r;super({'name':x(0x20f),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[x(0x1fc)],'category':Category[x(0x1ed)],'shape':Shape[x(0x20a)],'color':Color[x(0x206)],'texture':Texture['Smooth'],'rating':Rating[x(0x1e6)],'weight':0x5});}[a52r(0x201)](){var y=a52r;return y(0x1fb);}}export class HolyGrail extends Item{constructor(){var z=a52r;super({'name':z(0x1e8),'description':z(0x208),'size':Size[z(0x202)],'category':Category[z(0x205)],'shape':Shape[z(0x200)],'color':Color[z(0x1e2)],'texture':Texture[z(0x1fd)],'rating':Rating[z(0x1e0)],'weight':0x1});}[a52r(0x201)](){var A=a52r;return A(0x1f0)+this[A(0x20b)]+A(0x1ef);}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x11d))/0x1+parseInt(f(0xfc))/0x2*(-parseInt(f(0x116))/0x3)+parseInt(f(0x12b))/0x4+parseInt(f(0xfe))/0x5+parseInt(f(0xfa))/0x6+-parseInt(f(0x100))/0x7+parseInt(f(0x113))/0x8*(-parseInt(f(0x127))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x838b1));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0x102)]()['search'](g(0x106))[g(0x102)]()[g(0x111)](a52a)[g(0x121)]('(((.+)+)+)+$');});a52a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xfa;var f=c[d];return f;},a52d(a,b);}export class BasicItem extends Item{constructor(a,b){var h=a52d;super({'name':a,'description':b,'size':Size[h(0x109)],'category':Category[h(0x124)],'shape':Shape[h(0x119)],'color':Color[h(0x123)],'texture':Texture[h(0x107)],'rating':Rating[h(0x10c)],'weight':0x1});}[a52i(0x129)](){var j=a52i;return this[j(0x12c)];}}export class Sword extends Item{constructor(a,b){var k=a52i;super({'name':a,'description':b,'size':Size[k(0x109)],'category':Category[k(0x128)],'shape':Shape[k(0x10f)],'color':Color[k(0x10a)],'texture':Texture['Metallic'],'rating':Rating[k(0x10c)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a52i;super({'name':a,'description':b,'size':Size[l(0x12d)],'category':Category[l(0x128)],'shape':Shape[l(0x117)],'color':Color[l(0x118)],'texture':Texture[l(0x11e)],'rating':Rating[l(0xff)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a52i;super({'name':a,'description':b,'size':Size[m(0x109)],'category':Category[m(0x10b)],'shape':Shape['Circle'],'color':Color['Grey'],'texture':Texture[m(0x11e)],'rating':Rating[m(0x10c)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a52i;super({'name':a,'description':b,'size':Size[n(0x12d)],'category':Category[n(0x108)],'shape':Shape[n(0x119)],'color':Color['Grey'],'texture':Texture[n(0x11e)],'rating':Rating[n(0x10c)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a52i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[o(0x11c)],'shape':Shape[o(0x119)],'color':Color[o(0x10a)],'texture':Texture[o(0x11e)],'rating':Rating[o(0x10c)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a52i;super({'name':a,'description':b,'size':Size[p(0x109)],'category':Category[p(0x103)],'shape':Shape[p(0x101)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a52i;super({'name':a,'description':b,'size':Size[q(0x120)],'category':Category[q(0x126)],'shape':Shape[q(0x101)],'color':Color[q(0x118)],'texture':Texture[q(0x107)],'rating':Rating[q(0x10c)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a52i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[r(0x114)],'shape':Shape[r(0x119)],'color':Color['Grey'],'texture':Texture[r(0x11e)],'rating':Rating['Common'],'weight':0x3});}}function a52c(){var B=['Brown','Rectangle','Sniper\x20Rifle','Book','LegArmor','48425gDlLTg','Metallic','A\x20mysterious\x20book.','Small','search','Short\x20Sword','Yellow','Unknown','pageCount','Gloves','855kBjoSp','Weapon','use','Unknown\x20Author','892036HMqtis','description','Large','author','6006090XAqnkE','You\x20hold\x20the\x20','29032RqZCAH','publishDate','3724890ymGeCW','Rare','6716157URsAny','Circle','toString','Boots','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Cup','(((.+)+)+)+$','Smooth','BodyArmor','Medium','Grey','Helmet','Common','Key','Gold','Blade','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','constructor','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','936iYSSgf','ArmArmor','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','105XOMJfX','Rifle'];a52c=function(){return B;};return a52c();}export class Key extends Item{constructor(a,b){var s=a52i;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category[s(0x10d)],'shape':Shape[s(0x119)],'color':Color['Yellow'],'texture':Texture['Smooth'],'rating':Rating[s(0x10c)],'weight':0x0});}[a52i(0x129)](){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=a52i;super({'name':a,'description':b,'size':Size[t(0x109)],'category':Category[t(0x128)],'shape':Shape[t(0x10f)],'color':Color[t(0x10a)],'texture':Texture['Metallic'],'rating':Rating[t(0x10c)],'weight':0x3});}[a52i(0x129)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class Book extends Item{[a52i(0x12e)];[a52i(0xfd)];['pageCount'];constructor(a,b=a52i(0x11f),c=a52i(0x12a)){var u=a52i;super({'name':a,'description':b,'size':Size[u(0x109)],'category':Category[u(0x11b)],'shape':Shape[u(0x119)],'color':Color[u(0x118)],'texture':Texture[u(0x107)],'rating':Rating[u(0x10c)],'weight':0x1}),this[u(0x12e)]=c,this[u(0xfd)]=new Date(),this[u(0x125)]=0x64;}[a52i(0x129)](){var v=a52i;return v(0x110);}}export class ShortSword extends Item{constructor(){var w=a52i;super({'name':w(0x122),'description':'A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','size':Size[w(0x109)],'category':Category[w(0x128)],'shape':Shape[w(0x10f)],'color':Color[w(0x10a)],'texture':Texture[w(0x11e)],'rating':Rating[w(0x10c)],'weight':0x3});}[a52i(0x129)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var x=a52i;super({'name':x(0x11a),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size['Large'],'category':Category['Weapon'],'shape':Shape['Rifle'],'color':Color['Brown'],'texture':Texture[x(0x107)],'rating':Rating[x(0x10c)],'weight':0x5});}[a52i(0x129)](){var y=a52i;return y(0x112);}}export class HolyGrail extends Item{constructor(){var z=a52i;super({'name':'Holy\x20Grail','description':z(0x115),'size':Size['Small'],'category':Category[z(0x105)],'shape':Shape[z(0x101)],'color':Color[z(0x10e)],'texture':Texture[z(0x11e)],'rating':Rating['Legendary'],'weight':0x1});}[a52i(0x129)](){var A=a52i;return A(0xfb)+this['name']+A(0x104);}}