@maka/maka-cli 4.6.9 → 4.6.11

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 (137) hide show
  1. package/bundle/obf/package.json +3 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/install.js +1 -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/log/log.class.js +1 -1
  128. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  129. package/bundle/obf/src/tools/options/options.class.js +1 -1
  130. package/bundle/obf/src/tools/progress/progress.class.js +1 -0
  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 +3 -1
  137. package/bundle/obf/src/tools/https/progress.class.js +0 -1
@@ -1 +1 @@
1
- const a34i=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0x1e3))/0x1+parseInt(f(0x1ca))/0x2+-parseInt(f(0x1d8))/0x3*(-parseInt(f(0x1cd))/0x4)+-parseInt(f(0x1c8))/0x5*(-parseInt(f(0x1e2))/0x6)+parseInt(f(0x1d9))/0x7*(-parseInt(f(0x1cc))/0x8)+-parseInt(f(0x1d4))/0x9+-parseInt(f(0x1e6))/0xa*(-parseInt(f(0x1db))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xa3b64));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0x1dc)]()['search'](h(0x1d7))[h(0x1dc)]()[h(0x1e5)](a34a)['search'](h(0x1d7));});function a34c(){const k=['5486814HtxkPX','search','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','(((.+)+)+)+$','24708tRwWdD','1078NXTphs','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','173052uixwUI','toString','description','\x20found\x20the\x20following\x20items:\x20','Search\x20for\x20items\x20in\x20your\x20area','apply','execute','24fDiAiC','509585ZvCSEK','verb','constructor','480QOKOJQ','actor','write','1416585xNvACZ','listItems','974142rDHXzh','length','32992UMhSkG','24jgzlMQ','currentLocation','SearchCommand:\x20','name','join','logger','inventory'];a34c=function(){return k;};return a34c();}function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a34d(a,b);}a34a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a34i(0x1e4)]=a34i(0x1d5);static [a34i(0x1dd)]=a34i(0x1df);[a34i(0x1e1)](){const j=a34i,a=this[j(0x1e7)][j(0x1ce)][j(0x1d3)][j(0x1c9)]();if(a[j(0x1cb)]===0x0)return this[j(0x1d2)]['write'](j(0x1cf)+this[j(0x1e7)][j(0x1d0)]+j(0x1da)),j(0x1d6);const b=a[j(0x1d1)](',\x20');return this[j(0x1d2)][j(0x1e8)]('SearchCommand:\x20'+this[j(0x1e7)]['name']+j(0x1de)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
1
+ const a34h=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0x87))/0x1*(parseInt(f(0x83))/0x2)+parseInt(f(0x82))/0x3+-parseInt(f(0x77))/0x4*(parseInt(f(0x7e))/0x5)+-parseInt(f(0x7b))/0x6+parseInt(f(0x75))/0x7*(-parseInt(f(0x76))/0x8)+-parseInt(f(0x8d))/0x9*(-parseInt(f(0x78))/0xa)+parseInt(f(0x7d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xbb731));function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x75;let f=c[d];return f;},a34d(a,b);}const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const g=a34d;return a34a[g(0x85)]()[g(0x7a)](g(0x86))[g(0x85)]()[g(0x80)](a34a)[g(0x7a)]('(((.+)+)+)+$');});a34a();import{Command}from'./command.js';function a34c(){const j=['24121537tunyDh','475zpqDth','Search\x20for\x20items\x20in\x20your\x20area','constructor','logger','255933CORSif','990918KfOTCR','length','toString','(((.+)+)+)+$','1LAahdb','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','currentLocation','You\x20search\x20the\x20area\x20and\x20find:\x20','execute','81kzPkVa','14qRErPF','3056008HRPoug','19828cClsPq','948420pofLMM','description','search','3801522TukBil','actor'];a34c=function(){return j;};return a34c();}export class SearchCommand extends Command{static ['verb']=a34h(0x7a);static [a34h(0x79)]=a34h(0x7f);[a34h(0x8c)](){const i=a34h,a=this['actor'][i(0x8a)]['inventory']['listItems']();if(a[i(0x84)]===0x0)return this[i(0x81)]['write']('SearchCommand:\x20'+this[i(0x7c)]['name']+i(0x88)),i(0x89);const b=a['join'](',\x20');return this[i(0x81)]['write']('SearchCommand:\x20'+this[i(0x7c)]['name']+'\x20found\x20the\x20following\x20items:\x20'+b),i(0x8b)+b;}}
@@ -1 +1 @@
1
- const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=parseInt(f(0x199))/0x1+parseInt(f(0x198))/0x2*(parseInt(f(0x18c))/0x3)+-parseInt(f(0x1a0))/0x4+-parseInt(f(0x18b))/0x5*(-parseInt(f(0x188))/0x6)+parseInt(f(0x190))/0x7+parseInt(f(0x187))/0x8+parseInt(f(0x1a3))/0x9*(-parseInt(f(0x186))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x9e15a));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x19b)]()[h(0x1a1)](h(0x1a2))[h(0x19b)]()[h(0x18a)](a35a)[h(0x1a1)](h(0x1a2));});function a35c(){const k=['toLowerCase','join','584856WCchZa','981926KcZjls','description','toString','success','actor','solve','rewardItem','1104428CBTIBv','search','(((.+)+)+)+$','29025nFliHy','puzzle','6830UiUGtK','7751216hcplpJ','4614zAutFd','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','constructor','2150HIWDkn','6WQSVSj','addItem','inventory','verb','1819594GZtRyw','Attempt\x20to\x20solve\x20a\x20puzzle.','SolveCommand:\x20','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','execute','apply'];a35c=function(){return k;};return a35c();}a35a();import{Command}from'./command.js';function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x186;let f=c[d];return f;},a35d(a,b);}export class SolveCommand extends Command{static [a35i(0x18f)]=a35i(0x19e);static [a35i(0x19a)]=a35i(0x191);[a35i(0x194)](a){const j=a35i,b=a[j(0x197)]('\x20')[j(0x196)](),c=this[j(0x19d)]['currentLocation'];if(!c||!c['puzzle'])return this['logger']['write'](j(0x193)),j(0x189);const d=c[j(0x1a4)]['solve'](b,this[j(0x19d)]['inventory']);return d[j(0x19c)]&&c[j(0x1a4)][j(0x19f)]&&this[j(0x19d)][j(0x18e)][j(0x18d)](c[j(0x1a4)][j(0x19f)]),this['logger']['write'](j(0x192)+d['message']),d['message'];}}
1
+ const a35i=a35d;function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x193;let f=c[d];return f;},a35d(a,b);}(function(a,b){const f=a35d,c=a();while(!![]){try{const d=parseInt(f(0x19d))/0x1+parseInt(f(0x1a4))/0x2+parseInt(f(0x1a8))/0x3+parseInt(f(0x1ad))/0x4*(-parseInt(f(0x194))/0x5)+parseInt(f(0x1ae))/0x6*(parseInt(f(0x1aa))/0x7)+parseInt(f(0x19e))/0x8*(parseInt(f(0x19a))/0x9)+-parseInt(f(0x1a0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x611e4));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a['toString']()[h(0x197)](h(0x1ac))[h(0x1a2)]()['constructor'](a35a)[h(0x197)](h(0x1ac));});a35a();function a35c(){const k=['1278456lBVIAz','verb','success','Attempt\x20to\x20solve\x20a\x20puzzle.','35ljPADA','join','inventory','search','write','actor','18kpjnkF','addItem','logger','479438QaRfwW','661712ZvPpEQ','message','7685780FRZJZK','currentLocation','toString','SolveCommand:\x20','644372gNJprb','puzzle','description','apply','784584BMECCS','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','7UDzKNl','solve','(((.+)+)+)+$','157304NtqrKc'];a35c=function(){return k;};return a35c();}import{Command}from'./command.js';export class SolveCommand extends Command{static [a35i(0x1af)]='solve';static [a35i(0x1a6)]=a35i(0x193);['execute'](a){const j=a35i,b=a[j(0x195)]('\x20')['toLowerCase'](),c=this[j(0x199)][j(0x1a1)];if(!c||!c[j(0x1a5)])return this['logger'][j(0x198)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0x1a9);const d=c['puzzle'][j(0x1ab)](b,this[j(0x199)][j(0x196)]);return d[j(0x1b0)]&&c[j(0x1a5)]['rewardItem']&&this['actor'][j(0x196)][j(0x19b)](c['puzzle']['rewardItem']),this[j(0x19c)][j(0x198)](j(0x1a3)+d['message']),d[j(0x19f)];}}
@@ -1 +1 @@
1
- const a36h=a36d;function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x111;let f=c[d];return f;},a36d(a,b);}(function(a,b){const f=a36d,c=a();while(!![]){try{const d=parseInt(f(0x12b))/0x1*(parseInt(f(0x13e))/0x2)+-parseInt(f(0x11c))/0x3*(parseInt(f(0x139))/0x4)+-parseInt(f(0x119))/0x5*(parseInt(f(0x12c))/0x6)+parseInt(f(0x137))/0x7+-parseInt(f(0x112))/0x8+parseInt(f(0x136))/0x9+parseInt(f(0x111))/0xa*(parseInt(f(0x123))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x68ee5));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(0x11f)]()[g(0x11a)](g(0x13d))[g(0x11f)]()[g(0x13a)](a36a)['search'](g(0x13d));});a36a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a36h(0x126)]=a36h(0x12d);static [a36h(0x115)]=a36h(0x127);[a36h(0x135)](a){const i=a36h;return this[i(0x12f)][i(0x12a)](i(0x133)+a[i(0x11d)]('\x20')),this['take'](a);}[a36h(0x12d)](a){const j=a36h,b=a[j(0x11d)]('\x20')['toLowerCase'](),c=this[j(0x12e)][j(0x117)];if(!c[j(0x129)][j(0x118)](b))return this[j(0x12f)]['write'](j(0x125)+b+j(0x130)+c[j(0x121)]+'\x20during\x20\x27Take\x27\x20command.'),j(0x113)+b+'\x22\x20in\x20this\x20room.';const d=c[j(0x129)][j(0x120)](b);if(!d)return this[j(0x12f)][j(0x12a)](j(0x125)+b+j(0x116)+c[j(0x121)]+j(0x122)),j(0x113)+b+j(0x114);try{return this['actor'][j(0x128)](d),this[j(0x12f)]['write'](j(0x11e)+b+j(0x13b)+this['actor'][j(0x121)]+j(0x11b)),c['inventory'][j(0x134)](b),this[j(0x12f)][j(0x12a)](j(0x132)+b+j(0x138)+c['name']+j(0x122)),j(0x140)+b+'.';}catch(e){return this[j(0x12f)]['write'](j(0x13f)+e[j(0x124)]),j(0x13c)+b+j(0x131);}}}function a36c(){const k=['Successfully\x20added\x20\x22','toString','getItem','name','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','11264IpYPyD','message','Item\x20\x22','verb','Pick\x20up\x20an\x20item.','addInventory','inventory','write','328yArQeC','72018JOzvjL','take','actor','logger','\x22\x20not\x20found\x20in\x20','\x22\x20is\x20too\x20heavy\x20to\x20carry.','Successfully\x20removed\x20\x22','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','removeItem','execute','1556226gbsDUC','2104893YFHxIZ','\x22\x20from\x20','20308OuGDHc','constructor','\x22\x20to\x20','The\x20item\x20\x22','(((.+)+)+)+$','358ZTsRRZ','Error\x20during\x20\x27Take\x27\x20command:\x20','You\x20have\x20taken\x20the\x20','13070ZCYikI','3679768fgBBcg','There\x20is\x20no\x20item\x20\x22','\x22\x20in\x20this\x20room.','description','\x22\x20not\x20retrieved\x20from\x20','currentLocation','hasItem','250YUthMd','search','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','225dLWISe','join'];a36c=function(){return k;};return a36c();}
1
+ const a36i=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d=parseInt(f(0xda))/0x1*(parseInt(f(0xe5))/0x2)+parseInt(f(0xdd))/0x3+parseInt(f(0xfe))/0x4*(parseInt(f(0xec))/0x5)+-parseInt(f(0xf6))/0x6+-parseInt(f(0xe8))/0x7*(-parseInt(f(0xf0))/0x8)+parseInt(f(0xdb))/0x9+-parseInt(f(0xee))/0xa*(parseInt(f(0xe0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xb8564));function a36c(){const l=['\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','toString','name','search','write','addInventory','The\x20item\x20\x22','Successfully\x20added\x20\x22','You\x20have\x20taken\x20the\x20','1snyMbo','10698129XCjzgi','Item\x20\x22','249447JKXuOe','apply','logger','22MovyQZ','\x22\x20not\x20found\x20in\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Successfully\x20removed\x20\x22','\x22\x20to\x20','1270406rHPJtt','execute','message','7052927GDcGZq','hasItem','inventory','constructor','40AmAHww','removeItem','9263350iFpoMM','actor','8aLIquK','\x22\x20not\x20retrieved\x20from\x20','There\x20is\x20no\x20item\x20\x22','\x22\x20from\x20','description','take','2588112IQHnep','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20in\x20this\x20room.','\x20during\x20\x27Take\x27\x20command.','getItem','join','verb','currentLocation','62236hDTupg','(((.+)+)+)+$'];a36c=function(){return l;};return a36c();}const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a36d;if(c){const e=c[g(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a[h(0x101)]()[h(0xd4)](h(0xff))[h(0x101)]()[h(0xeb)](a36a)[h(0xd4)](h(0xff));});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xd4;let f=c[d];return f;},a36d(a,b);}a36a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a36i(0xfc)]=a36i(0xf5);static [a36i(0xf4)]='Pick\x20up\x20an\x20item.';[a36i(0xe6)](a){const j=a36i;return this['logger']['write'](j(0xf7)+a[j(0xfb)]('\x20')),this['take'](a);}['take'](a){const k=a36i,b=a[k(0xfb)]('\x20')['toLowerCase'](),c=this['actor'][k(0xfd)];if(!c[k(0xea)][k(0xe9)](b))return this[k(0xdf)][k(0xd5)](k(0xdc)+b+k(0xe1)+c[k(0x102)]+k(0xf9)),'There\x20is\x20no\x20item\x20\x22'+b+k(0xf8);const d=c['inventory'][k(0xfa)](b);if(!d)return this[k(0xdf)][k(0xd5)]('Item\x20\x22'+b+k(0xf1)+c[k(0x102)]+k(0xe2)),k(0xf2)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0xef)][k(0xd6)](d),this[k(0xdf)][k(0xd5)](k(0xd8)+b+k(0xe4)+this[k(0xef)][k(0x102)]+k(0x100)),c[k(0xea)][k(0xed)](b),this['logger']['write'](k(0xe3)+b+k(0xf3)+c[k(0x102)]+k(0xe2)),k(0xd9)+b+'.';}catch(e){return this[k(0xdf)][k(0xd5)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0xe7)]),k(0xd7)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x152))/0x1*(-parseInt(f(0x161))/0x2)+-parseInt(f(0x154))/0x3+-parseInt(f(0x160))/0x4+-parseInt(f(0x150))/0x5*(-parseInt(f(0x163))/0x6)+-parseInt(f(0x15b))/0x7*(parseInt(f(0x164))/0x8)+parseInt(f(0x156))/0x9+parseInt(f(0x15a))/0xa*(-parseInt(f(0x165))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xf3d07));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()[h(0x15e)](h(0x15f))['toString']()[h(0x166)](a37a)[h(0x15e)](h(0x15f));});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x14e;let f=c[d];return f;},a37d(a,b);}a37a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a37i(0x15d)]=a37i(0x153);static ['description']=a37i(0x157);['execute'](a){const j=a37i,b=a[j(0x151)]('\x20')[j(0x159)](),c=this[j(0x158)]['unequip'](b);return this[j(0x162)]['write'](j(0x14f)+this['actor'][j(0x15c)]+j(0x14e)+c),c;}}function a37c(){const k=['apply','12509964lCNTIP','Unequip\x20an\x20item.','actor','toLowerCase','1110RLoNzg','825867KgeeWV','name','verb','search','(((.+)+)+)+$','232536euLVml','152bMUrkP','logger','4260TkEHNC','40kLyUXJ','109637FkibDJ','constructor','\x20unqeuiped\x20','UnequipCommand:\x20','675fzogbd','join','20639VDYuMP','unqeuip','904113bwWyYL'];a37c=function(){return k;};return a37c();}
1
+ function a37c(){const k=['search','logger','Unequip\x20an\x20item.','toLowerCase','UnequipCommand:\x20','join','3262768YFmAQv','name','4303184MQcazD','actor','\x20unqeuiped\x20','description','unequip','apply','21lkxErg','988441ZttUUk','(((.+)+)+)+$','2059034hrucEn','3FcvUjO','toString','27174879YbDCzb','1905510XElPdx','unqeuip','constructor','5783658NAqTQL'];a37c=function(){return k;};return a37c();}const a37i=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x6c;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x6d))/0x1+parseInt(f(0x6f))/0x2+parseInt(f(0x70))/0x3*(parseInt(f(0x7f))/0x4)+parseInt(f(0x73))/0x5+parseInt(f(0x76))/0x6+parseInt(f(0x6c))/0x7*(parseInt(f(0x7d))/0x8)+-parseInt(f(0x72))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xa29a8));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x71)]()[h(0x77)]('(((.+)+)+)+$')[h(0x71)]()[h(0x75)](a37a)['search'](h(0x6e));});a37a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a37i(0x74);static [a37i(0x82)]=a37i(0x79);['execute'](a){const j=a37i,b=a[j(0x7c)]('\x20')[j(0x7a)](),c=this[j(0x80)][j(0x83)](b);return this[j(0x78)]['write'](j(0x7b)+this['actor'][j(0x7e)]+j(0x81)+c),c;}}
@@ -1 +1 @@
1
- const a38k=a38d;function a38c(){const n=['Unlock\x20a\x20door.','execute','name','hasItem','search','apply','logger','unlock','unlockItemOrSolution','4676328BpNzDS','\x22\x20here.','getItem','.\x20Result:\x20','inventory','2536737OxIBrt','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','4614kdxdaL','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','24scfsGM','constructor','actor','\x20is\x20attempted\x20to\x20unlock\x20','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','UnlockCommand:\x20No\x20target\x20specified.','toString','(((.+)+)+)+$','has','currentLocation','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','length','10GNuQQN','55bXSYHX','3665kbFsaa','exits','15820cEnnhY','35miPtlV','get','381EYTLlf','toLowerCase','UnlockCommand:\x20','write','attemptUnlockExit','6322869sDuVDD','4237476NQZUOy','There\x27s\x20no\x20door\x20named\x20\x22','error'];a38c=function(){return n;};return a38c();}(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x145))/0x1+parseInt(h(0x144))/0x2*(-parseInt(h(0x147))/0x3)+parseInt(h(0x159))/0x4+-parseInt(h(0x142))/0x5*(-parseInt(h(0x160))/0x6)+-parseInt(h(0x15e))/0x7*(parseInt(h(0x162))/0x8)+parseInt(h(0x14c))/0x9*(-parseInt(h(0x140))/0xa)+-parseInt(h(0x141))/0xb*(-parseInt(h(0x14d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xabe37));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x13a)]()[j(0x154)](j(0x13b))[j(0x13a)]()[j(0x163)](a38a)[j(0x154)](j(0x13b));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x137;let f=c[d];return f;},a38d(a,b);}a38a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']=a38k(0x157);static ['description']=a38k(0x150);[a38k(0x151)](a){const l=a38k;return this[l(0x157)](a);}[a38k(0x157)](a){const m=a38k;if(a[m(0x13f)]===0x0)return this['logger'][m(0x14f)](m(0x139)),m(0x13e);const b=a[0x0][m(0x148)](),c=this[m(0x164)][m(0x13d)];if(this['isValidDirection'](b)&&c[m(0x143)][m(0x13c)](b)){const d=c['exits'][m(0x146)](b);if(d instanceof Door){const e=d[m(0x158)]?.[m(0x148)]();if(e&&this[m(0x164)]['inventory'][m(0x153)](e)){const f=this[m(0x164)][m(0x15d)][m(0x15b)](e);if(f){const g=c[m(0x14b)](b,f['name']);return this[m(0x156)]['write'](m(0x149)+this['actor'][m(0x152)]+m(0x137)+b+m(0x15c)+g),g;}}return this[m(0x156)][m(0x14a)](m(0x149)+this['actor']['name']+m(0x15f)+b+'.'),m(0x161);}else return this['logger'][m(0x14a)](m(0x149)+b+m(0x138)+c[m(0x152)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x15a);}else return this[m(0x156)]['write']('UnlockCommand:\x20'+b+m(0x138)+c['name']+'.'),m(0x14e)+b+m(0x15a);}}
1
+ const a38j=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0x1f4))/0x1+parseInt(h(0x1f3))/0x2*(parseInt(h(0x1fb))/0x3)+parseInt(h(0x1f2))/0x4*(parseInt(h(0x1ff))/0x5)+parseInt(h(0x1db))/0x6*(parseInt(h(0x1e0))/0x7)+-parseInt(h(0x1ef))/0x8*(-parseInt(h(0x1d7))/0x9)+-parseInt(h(0x1da))/0xa*(parseInt(h(0x1f1))/0xb)+-parseInt(h(0x1dc))/0xc*(parseInt(h(0x1f0))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x37d0c));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const i=a38d;return a38a[i(0x1f6)]()[i(0x1f5)](i(0x1e9))[i(0x1f6)]()['constructor'](a38a)[i(0x1f5)](i(0x1e9));});function a38c(){const m=['name','1587eyOSvq','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','attemptUnlockExit','toLowerCase','5FdsLLv','has','63vaSOtR','exits','logger','3415970VjmbUj','318HQAumT','10536FKECaF','error','\x22\x20here.','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','7924OuOThU','description','.\x20Result:\x20','get','execute','hasItem','inventory','UnlockCommand:\x20','getItem','(((.+)+)+)+$','length','write','verb','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','actor','465848EzuvKW','6396Kuczjm','11dyLBkr','1078180rSLJGr','690koyigH','82530piQGAS','search','toString','currentLocation','There\x27s\x20no\x20door\x20named\x20\x22','unlock'];a38c=function(){return m;};return a38c();}a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a38d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a38j(0x1ec)]=a38j(0x1f9);static [a38j(0x1e1)]='Unlock\x20a\x20door.';[a38j(0x1e4)](a){const k=a38j;return this[k(0x1f9)](a);}[a38j(0x1f9)](a){const l=a38j;if(a[l(0x1ea)]===0x0)return this[l(0x1d9)][l(0x1dd)]('UnlockCommand:\x20No\x20target\x20specified.'),l(0x1df);const b=a[0x0]['toLowerCase'](),c=this[l(0x1ee)][l(0x1f7)];if(this['isValidDirection'](b)&&c[l(0x1d8)][l(0x1d6)](b)){const d=c[l(0x1d8)][l(0x1e3)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[l(0x1fe)]();if(e&&this[l(0x1ee)][l(0x1e6)][l(0x1e5)](e)){const f=this['actor']['inventory'][l(0x1e8)](e);if(f){const g=c[l(0x1fd)](b,f['name']);return this[l(0x1d9)]['write'](l(0x1e7)+this[l(0x1ee)][l(0x1fa)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+l(0x1e2)+g),g;}}return this[l(0x1d9)][l(0x1eb)]('UnlockCommand:\x20'+this[l(0x1ee)]['name']+l(0x1ed)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this[l(0x1d9)][l(0x1eb)](l(0x1e7)+b+l(0x1fc)+c[l(0x1fa)]+'.'),l(0x1f8)+b+'\x22\x20here.';}else return this[l(0x1d9)][l(0x1eb)](l(0x1e7)+b+l(0x1fc)+c[l(0x1fa)]+'.'),l(0x1f8)+b+l(0x1de);}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x140))/0x1*(-parseInt(f(0x13c))/0x2)+-parseInt(f(0x14c))/0x3+parseInt(f(0x138))/0x4+-parseInt(f(0x149))/0x5*(parseInt(f(0x145))/0x6)+parseInt(f(0x12c))/0x7*(-parseInt(f(0x146))/0x8)+-parseInt(f(0x130))/0x9*(-parseInt(f(0x14e))/0xa)+-parseInt(f(0x14f))/0xb*(parseInt(f(0x13d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xd42a7));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x148)](h(0x137))[h(0x13a)]()[h(0x152)](a39a)[h(0x148)](h(0x137));});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x12c;let f=c[d];return f;},a39d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static [a39i(0x147)]=a39i(0x14b);static [a39i(0x12f)]=a39i(0x139);[a39i(0x135)](a){const j=a39i;return this[j(0x14b)](a);}[a39i(0x14b)](a){const k=a39i,b=a[k(0x12e)]('\x20')[k(0x13e)]();if(!this['actor'][k(0x151)][k(0x141)](b))return this['logger'][k(0x133)]('UseCommand:\x20'+this[k(0x144)][k(0x142)]+'\x20attempted\x20to\x20use\x20'+b+k(0x131)),'You\x20don\x27t\x20have\x20the\x20'+b+'\x20to\x20use.';const c=this[k(0x144)][k(0x151)][k(0x132)](b);if(!c)return this['logger'][k(0x133)](k(0x134)+b+k(0x13b)+this[k(0x144)][k(0x142)]+k(0x143)),k(0x136)+b+'\x20to\x20use.';if(typeof c[k(0x14b)]==='function'){const d=c[k(0x14b)]();return this['logger'][k(0x133)](k(0x134)+this['actor'][k(0x142)]+k(0x14d)+b+'.'),d;}else return this['logger'][k(0x133)]('UseCommand:\x20'+b+k(0x13f)),k(0x150)+b+k(0x14a);}}function a39c(){const l=['\x20doesn\x27t\x20have\x20a\x20use\x20method.','1727AqAsqS','hasItem','name','\x27s\x20inventory.','actor','6913374eMEyaJ','112pbFftv','verb','search','5hxXStz','\x20in\x20this\x20way.','use','521577xdlzRa','\x20used\x20','13741550rSEfpm','44AygRFQ','You\x20can\x27t\x20use\x20the\x20','inventory','constructor','111902dKkXcg','apply','join','description','9VOOpCm',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','getItem','write','UseCommand:\x20','execute','You\x20don\x27t\x20have\x20the\x20','(((.+)+)+)+$','6724452sIYtKc','Use\x20an\x20item.','toString','\x20not\x20retrieved\x20from\x20','294ufbzwA','1147428dYPEyZ','toLowerCase'];a39c=function(){return l;};return a39c();}
1
+ function a39c(){const l=['toLowerCase','13366298uCVExC','logger','45OegLOv','138440RARpyC','511892megcAI','\x20attempted\x20to\x20use\x20','You\x20can\x27t\x20use\x20the\x20','join','UseCommand:\x20','apply','4iLEXSQ','100YLPgEI','toString','\x20in\x20this\x20way.','function','703003RaJLDd','400460FAPvaI','10069068VkcQvC','inventory','description','name','use','hasItem','actor','execute','constructor','112yeRrHk','write','1233909HBdokl','Use\x20an\x20item.','verb','(((.+)+)+)+$','\x20to\x20use.'];a39c=function(){return l;};return a39c();}const a39i=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a39d(a,b);}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x201))/0x1*(parseInt(f(0x1fb))/0x2)+-parseInt(f(0x1f9))/0x3*(-parseInt(f(0x207))/0x4)+-parseInt(f(0x1fa))/0x5+parseInt(f(0x208))/0x6+-parseInt(f(0x206))/0x7*(parseInt(f(0x1ef))/0x8)+-parseInt(f(0x1f1))/0x9*(-parseInt(f(0x202))/0xa)+-parseInt(f(0x1f7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xd66ed));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x200)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()['search'](h(0x1f4))[h(0x203)]()[h(0x210)](a39a)['search'](h(0x1f4));});a39a();import{Command}from'./command.js';export class UseCommand extends Command{static [a39i(0x1f3)]=a39i(0x20c);static [a39i(0x20a)]=a39i(0x1f2);[a39i(0x20f)](a){const j=a39i;return this[j(0x20c)](a);}[a39i(0x20c)](a){const k=a39i,b=a[k(0x1fe)]('\x20')[k(0x1f6)]();if(!this['actor'][k(0x209)][k(0x20d)](b))return this[k(0x1f8)][k(0x1f0)]('UseCommand:\x20'+this[k(0x20e)][k(0x20b)]+k(0x1fc)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x1f5);const c=this[k(0x20e)][k(0x209)]['getItem'](b);if(!c)return this[k(0x1f8)][k(0x1f0)](k(0x1ff)+b+'\x20not\x20retrieved\x20from\x20'+this[k(0x20e)][k(0x20b)]+'\x27s\x20inventory.'),'You\x20don\x27t\x20have\x20the\x20'+b+'\x20to\x20use.';if(typeof c['use']===k(0x205)){const d=c[k(0x20c)]();return this[k(0x1f8)][k(0x1f0)]('UseCommand:\x20'+this[k(0x20e)][k(0x20b)]+'\x20used\x20'+b+'.'),d;}else return this[k(0x1f8)][k(0x1f0)]('UseCommand:\x20'+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),k(0x1fd)+b+k(0x204);}}
@@ -1 +1 @@
1
- const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0xd7))/0x1*(parseInt(f(0xd1))/0x2)+parseInt(f(0xdc))/0x3+parseInt(f(0xcd))/0x4+-parseInt(f(0xd3))/0x5*(parseInt(f(0xdb))/0x6)+parseInt(f(0xd2))/0x7*(-parseInt(f(0xce))/0x8)+-parseInt(f(0xd9))/0x9+parseInt(f(0xd5))/0xa*(parseInt(f(0xd4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xeb607));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[g(0xdd)]()['search'](g(0xde))[g(0xdd)]()['constructor'](a40a)[g(0xd8)](g(0xde));});function a40c(){const k=['31656710eRMCPf','commandMap','149817mMvHgD','search','13993677pVglUG','getAllRegisteredCommands','24ilapxd','694920oFvAqk','toString','(((.+)+)+)+$','3650068NhgGNI','738776ToZCRB','registerCommand','createCommand','18IRjUFy','105eOZTHo','2192525KrWOVT','11ysAdYy'];a40c=function(){return k;};return a40c();}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xcd;let f=c[d];return f;},a40d(a,b);}a40a();export class CommandFactory{static [a40h(0xd6)]={};static[a40h(0xcf)](a,b){const i=a40h;this[i(0xd6)][a]=b;}static[a40h(0xd0)](a,b){const j=a40h,c=this[j(0xd6)][a];if(c)return new c(b);return null;}static[a40h(0xda)](){return this['commandMap'];}}
1
+ const a40i=a40d;function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x90;let f=c[d];return f;},a40d(a,b);}function a40c(){const m=['12275415AeWSFv','getAllRegisteredCommands','constructor','970pBxodU','393375FIwsKt','commandMap','createCommand','apply','13038ghuLbj','3440948UgQIeZ','2714548xMFwHb','6EfoeZb','654770STZTuH','search','registerCommand','(((.+)+)+)+$','488690rrRzfq','8OiBhSH','toString'];a40c=function(){return m;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x90))/0x1+parseInt(f(0x98))/0x2+parseInt(f(0x97))/0x3*(parseInt(f(0x96))/0x4)+parseInt(f(0xa2))/0x5*(parseInt(f(0x94))/0x6)+-parseInt(f(0x95))/0x7+-parseInt(f(0x9d))/0x8*(parseInt(f(0x9f))/0x9)+parseInt(f(0x9c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xa92e6));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x93)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x9e)]()[h(0x99)](h(0x9b))[h(0x9e)]()[h(0xa1)](a40a)[h(0x99)](h(0x9b));});a40a();export class CommandFactory{static [a40i(0x91)]={};static[a40i(0x9a)](a,b){const j=a40i;this[j(0x91)][a]=b;}static[a40i(0x92)](a,b){const k=a40i,c=this[k(0x91)][a];if(c)return new c(b);return null;}static[a40i(0xa0)](){const l=a40i;return this[l(0x91)];}}
@@ -1 +1 @@
1
- const a41i=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x12f;let f=c[d];return f;},a41d(a,b);}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x134))/0x1*(-parseInt(f(0x152))/0x2)+-parseInt(f(0x133))/0x3+-parseInt(f(0x150))/0x4*(-parseInt(f(0x144))/0x5)+parseInt(f(0x159))/0x6*(parseInt(f(0x156))/0x7)+parseInt(f(0x139))/0x8*(parseInt(f(0x155))/0x9)+parseInt(f(0x149))/0xa*(parseInt(f(0x130))/0xb)+parseInt(f(0x145))/0xc*(-parseInt(f(0x13f))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xe1557));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x136)]()[h(0x140)](h(0x157))[h(0x136)]()[h(0x14e)](a41a)[h(0x140)](h(0x157));});a41a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a41c(){const o=['roomType','6656250PvBHXW','gauntlets','toUpperCase','682xCGKvP','description','name','984243elLPNh','4frIMyD','puzzle','toString','forEach','createPuzzle','1998952Hgnmtc','INSIDE','createRoom','convertToRoomConfig','legarmor','rewardItem','8902049weMtpI','search','gloves','boots','items','4828295sEIyvJ','12IYhyme','isStartRoom','inventory','key','173270XAmpDl','addItem','bodyarmor','rifle','content','constructor','setPuzzle','4YVEegi','type','731678IkhwpH','createItem','apply','9KklWza','7rDcCnp','(((.+)+)+)+$'];a41c=function(){return o;};return a41c();}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a41i(0x13b)](a){const j=a41i,b=this[j(0x13c)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[j(0x143)][j(0x137)](e=>{const k=j;d[k(0x14a)](this['createItem'](e));}),c[j(0x147)]=d;}return a[j(0x135)]&&c[j(0x14f)](this['createPuzzle'](a[j(0x135)])),c;}[a41i(0x153)](a){const l=a41i;switch(a[l(0x151)]){case l(0x148):return new Key(a[l(0x132)],a[l(0x131)]);case'book':return new Book(a[l(0x132)],a[l(0x131)],a[l(0x14d)]);case'sword':return new Sword(a[l(0x132)],a[l(0x131)]);case l(0x14c):return new Rifle(a[l(0x132)],a[l(0x131)]);case'helmet':return new Helmet(a[l(0x132)],a[l(0x131)]);case l(0x14b):return new BodyArmor(a[l(0x132)],a['description']);case l(0x13d):return new LegArmor(a[l(0x132)],a['description']);case l(0x142):return new Boots(a[l(0x132)],a[l(0x131)]);case l(0x141):return new Gloves(a['name'],a['description']);case l(0x15a):return new Gauntlets(a['name'],a[l(0x131)]);default:return new BasicItem(a['name'],a[l(0x131)]);}}[a41i(0x138)](a){const m=a41i,b=this[m(0x153)](a[m(0x13e)]);return new Puzzle({...a,'rewardItem':b});}[a41i(0x13c)](a){const n=a41i,b=a[n(0x158)]&&RoomType[a[n(0x158)][n(0x12f)]()]?RoomType[a[n(0x158)]['toUpperCase']()]:RoomType[n(0x13a)];return{'name':a[n(0x132)],'description':a['description'],'isStartRoom':a[n(0x146)],'roomType':b};}}
1
+ function a41c(){const n=['book','250IjZhGq','5VGHjJK','46102ZdUKBm','230wgJcWF','3040446wTeaxF','232DuhMoo','legarmor','roomType','puzzle','141498rxfOba','inventory','items','createPuzzle','rewardItem','createItem','sword','(((.+)+)+)+$','name','addItem','rifle','toString','description','helmet','createRoom','isStartRoom','120526GYWyiW','bodyarmor','search','constructor','toUpperCase','forEach','convertToRoomConfig','gloves','678984vcAqoD','10780EiCBqT','600fxGFvU','gauntlets','9672eutcrO'];a41c=function(){return n;};return a41c();}const a41h=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x19c;let f=c[d];return f;},a41d(a,b);}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x1c1))/0x1+-parseInt(f(0x1c2))/0x2*(parseInt(f(0x1bb))/0x3)+-parseInt(f(0x1b9))/0x4+parseInt(f(0x1c0))/0x5*(parseInt(f(0x19c))/0x6)+parseInt(f(0x1b1))/0x7*(-parseInt(f(0x19d))/0x8)+parseInt(f(0x1a1))/0x9*(-parseInt(f(0x1bf))/0xa)+parseInt(f(0x1ba))/0xb*(parseInt(f(0x1bd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x3ee45));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(0x1ac)]()[g(0x1b3)](g(0x1a8))[g(0x1ac)]()[g(0x1b4)](a41a)['search'](g(0x1a8));});a41a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a41h(0x1af)](a){const i=a41h,b=this[i(0x1b7)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[i(0x1a3)][i(0x1b6)](e=>{const j=i;d[j(0x1aa)](this[j(0x1a6)](e));}),c[i(0x1a2)]=d;}return a[i(0x1a0)]&&c['setPuzzle'](this[i(0x1a4)](a[i(0x1a0)])),c;}[a41h(0x1a6)](a){const k=a41h;switch(a['type']){case'key':return new Key(a[k(0x1a9)],a[k(0x1ad)]);case k(0x1be):return new Book(a[k(0x1a9)],a[k(0x1ad)],a['content']);case k(0x1a7):return new Sword(a[k(0x1a9)],a['description']);case k(0x1ab):return new Rifle(a[k(0x1a9)],a['description']);case k(0x1ae):return new Helmet(a[k(0x1a9)],a['description']);case k(0x1b2):return new BodyArmor(a[k(0x1a9)],a[k(0x1ad)]);case k(0x19e):return new LegArmor(a['name'],a[k(0x1ad)]);case'boots':return new Boots(a[k(0x1a9)],a['description']);case k(0x1b8):return new Gloves(a[k(0x1a9)],a[k(0x1ad)]);case k(0x1bc):return new Gauntlets(a[k(0x1a9)],a[k(0x1ad)]);default:return new BasicItem(a[k(0x1a9)],a[k(0x1ad)]);}}[a41h(0x1a4)](a){const l=a41h,b=this[l(0x1a6)](a[l(0x1a5)]);return new Puzzle({...a,'rewardItem':b});}[a41h(0x1b7)](a){const m=a41h,b=a[m(0x19f)]&&RoomType[a[m(0x19f)][m(0x1b5)]()]?RoomType[a[m(0x19f)][m(0x1b5)]()]:RoomType['INSIDE'];return{'name':a[m(0x1a9)],'description':a[m(0x1ad)],'isStartRoom':a[m(0x1b0)],'roomType':b};}}
@@ -1 +1 @@
1
- const a42k=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=parseInt(h(0x118))/0x1+-parseInt(h(0x10b))/0x2*(-parseInt(h(0x115))/0x3)+-parseInt(h(0x11b))/0x4*(-parseInt(h(0x11d))/0x5)+-parseInt(h(0x129))/0x6*(parseInt(h(0x125))/0x7)+-parseInt(h(0x10d))/0x8+-parseInt(h(0x111))/0x9+parseInt(h(0x128))/0xa*(parseInt(h(0x136))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xccc2d));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a42d;if(c){const e=c[i(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const j=a42d;return a42a['toString']()[j(0x135)](j(0x10c))[j(0x108)]()[j(0x109)](a42a)[j(0x135)](j(0x10c));});a42a();import{Scene}from'./models/scene.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x107;let f=c[d];return f;},a42d(a,b);}import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';function a42c(){const s=['solve','3576237RQgwZc','help','currentRoom','30KoksGo','6iSdRLG','scene','slice','lock','-\x20quit:\x20Exit\x20the\x20game.\x0a','player','determineStartRoom','trim','getAllRegisteredCommands','name','clear','hasOwnProperty','search','2192729iLFhxJ','unequip','look','Available\x20Commands:\x0a','execute','toString','constructor','registerCommands','227488SwQSxE','(((.+)+)+)+$','7227336QJuJmx','getWelcomeMessage','getDescription','-\x20clear:\x20Clear\x20the\x20screen.\x0a','1968750gOuyxZ','getHelpMessage','handleInput','getInstance','24PYLcJx','initialize','registerCommand','181876FPUPKQ','maka','equip','74468KQPVkg','createCommand','210YvnyYP','apply','take','use','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','instance','split'];a42c=function(){return s;};return a42c();}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a42k(0x122)];[a42k(0x12a)];[a42k(0x12e)];[a42k(0x127)];['rooms'];constructor(a,b){const l=a42k;this[l(0x12e)]=a,this[l(0x12a)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x12a)][l(0x116)](),this['player']['currentLocation']=this[l(0x12f)](),this['registerCommands']();}[a42k(0x10a)](){const m=a42k;CommandFactory[m(0x117)](m(0x138),LookCommand),CommandFactory[m(0x117)]('go',GoCommand),CommandFactory[m(0x117)](m(0x11f),TakeCommand),CommandFactory[m(0x117)](m(0x120),UseCommand),CommandFactory['registerCommand'](m(0x11a),EquipCommand),CommandFactory['registerCommand'](m(0x137),UnequipCommand),CommandFactory[m(0x117)](m(0x124),SolveCommand),CommandFactory[m(0x117)]('drop',DropCommand),CommandFactory['registerCommand']('unlock',UnlockCommand),CommandFactory[m(0x117)](m(0x12c),LockCommand),CommandFactory['registerCommand'](m(0x135),SearchCommand),CommandFactory['registerCommand']('say',SayCommand);}[a42k(0x12f)](){const n=a42k;return this[n(0x12a)]['determineStartRoom']();}[a42k(0x10e)](){const o=a42k;return'Welcome,\x20'+this[o(0x12e)][o(0x132)];}static[a42k(0x114)](a,b){const p=a42k;return!Game['instance']&&(Game[p(0x122)]=new Game(a,b)),Game[p(0x122)];}[a42k(0x113)](a){const q=a42k,b=a[q(0x130)]()[q(0x123)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0x12b)](0x1);if(c==='quit')return null;if(c===q(0x119))return q(0x121);if(c===q(0x126))return this[q(0x112)]();if(c===q(0x133))return'';const e={'actor':this[q(0x12e)],'rooms':this[q(0x12a)]['getRooms'](),'scene':this['scene']},f=CommandFactory[q(0x11c)](c,e);if(f){const g=f[q(0x107)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a42k(0x112)](){const r=a42k,a=CommandFactory[r(0x131)]();let b=r(0x139);for(const c in a){if(a[r(0x134)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x10f)]()+'\x0a';}}return b+=r(0x110),b+=r(0x12d),b;}}
1
+ const a42j=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=-parseInt(h(0xc4))/0x1*(-parseInt(h(0xde))/0x2)+-parseInt(h(0xdd))/0x3+parseInt(h(0xeb))/0x4*(parseInt(h(0xc5))/0x5)+-parseInt(h(0xbb))/0x6+-parseInt(h(0xd1))/0x7*(-parseInt(h(0xcc))/0x8)+parseInt(h(0xc6))/0x9+-parseInt(h(0xe4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x91578));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['toString']()['search'](i(0xcb))['toString']()['constructor'](a42a)[i(0xd4)](i(0xcb));});a42a();import{Scene}from'./models/scene.js';function a42c(){const r=['2183448VzbEOq','rooms','determineStartRoom','split','slice','getHelpMessage','drop','use','registerCommands','79811rVroCp','50255SNTqLR','7226676wemvgY','Available\x20Commands:\x0a','initialize','hasOwnProperty','toLowerCase','(((.+)+)+)+$','508664BJTcQt','unequip','trim','scene','maka','91AJKnKG','help','Welcome,\x20','search','player','execute','lock','-\x20clear:\x20Clear\x20the\x20screen.\x0a','getAllRegisteredCommands','instance','getInstance','getWelcomeMessage','2905608ncHcaQ','10IKeLpo','createCommand','take','currentRoom','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','unlock','8345570jgBUfS','look','name','-\x20quit:\x20Exit\x20the\x20game.\x0a','solve','registerCommand','say','292YFNyWL','quit','I\x20don\x27t\x20understand\x20the\x20command\x20\x22'];a42c=function(){return r;};return a42c();}import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xba;let f=c[d];return f;},a42d(a,b);}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a42j(0xda)];[a42j(0xcf)];[a42j(0xd5)];[a42j(0xe1)];[a42j(0xbc)];constructor(a,b){const k=a42j;this[k(0xd5)]=a,this[k(0xcf)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0xcf)][k(0xc8)](),this[k(0xd5)]['currentLocation']=this['determineStartRoom'](),this[k(0xc3)]();}[a42j(0xc3)](){const l=a42j;CommandFactory[l(0xe9)](l(0xe5),LookCommand),CommandFactory[l(0xe9)]('go',GoCommand),CommandFactory['registerCommand'](l(0xe0),TakeCommand),CommandFactory[l(0xe9)](l(0xc2),UseCommand),CommandFactory[l(0xe9)]('equip',EquipCommand),CommandFactory['registerCommand'](l(0xcd),UnequipCommand),CommandFactory[l(0xe9)](l(0xe8),SolveCommand),CommandFactory[l(0xe9)](l(0xc1),DropCommand),CommandFactory[l(0xe9)](l(0xe3),UnlockCommand),CommandFactory['registerCommand'](l(0xd7),LockCommand),CommandFactory[l(0xe9)](l(0xd4),SearchCommand),CommandFactory[l(0xe9)](l(0xea),SayCommand);}['determineStartRoom'](){const m=a42j;return this[m(0xcf)][m(0xbd)]();}[a42j(0xdc)](){const n=a42j;return n(0xd3)+this[n(0xd5)][n(0xe6)];}static[a42j(0xdb)](a,b){const o=a42j;return!Game[o(0xda)]&&(Game['instance']=new Game(a,b)),Game[o(0xda)];}['handleInput'](a){const p=a42j,b=a[p(0xce)]()[p(0xbe)]('\x20'),c=b[0x0][p(0xca)](),d=b[p(0xbf)](0x1);if(c===p(0xec))return null;if(c===p(0xd0))return p(0xe2);if(c===p(0xd2))return this[p(0xc0)]();if(c==='clear')return'';const e={'actor':this[p(0xd5)],'rooms':this[p(0xcf)]['getRooms'](),'scene':this[p(0xcf)]},f=CommandFactory[p(0xdf)](c,e);if(f){const g=f[p(0xd6)](d);return g;}return p(0xba)+c+'\x22.';}[a42j(0xc0)](){const q=a42j,a=CommandFactory[q(0xd9)]();let b=q(0xc7);for(const c in a){if(a[q(0xc9)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=q(0xd8),b+=q(0xe7),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0xb3))/0x1+-parseInt(f(0xb9))/0x2+parseInt(f(0xb8))/0x3*(parseInt(f(0xb5))/0x4)+parseInt(f(0xba))/0x5+-parseInt(f(0xb6))/0x6+-parseInt(f(0xb4))/0x7*(-parseInt(f(0xb7))/0x8)+-parseInt(f(0xbb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x71f2a));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var g=a43d;return a43a[g(0xbe)]()[g(0xbc)](g(0xbd))[g(0xbe)]()['constructor'](a43a)[g(0xbc)](g(0xbd));});function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xb3;var f=c[d];return f;},a43d(a,b);}a43a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a43c(){var h=['toString','168391GRxSUI','35oqoTWN','234316EsVrJk','504402mwTfyI','359192xBEHhi','45OWJEFF','1640258fFVXeP','2573660XhdpEi','707355yCKunS','search','(((.+)+)+)+$'];a43c=function(){return h;};return a43c();}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0xb6))/0x1+-parseInt(f(0xb2))/0x2*(parseInt(f(0xb9))/0x3)+parseInt(f(0xb5))/0x4+-parseInt(f(0xba))/0x5+-parseInt(f(0xb8))/0x6*(-parseInt(f(0xbe))/0x7)+-parseInt(f(0xb4))/0x8+parseInt(f(0xb3))/0x9*(parseInt(f(0xbb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xdf8fc));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a['toString']()[h(0xbd)](h(0xb7))['toString']()[h(0xbc)](a43a)[h(0xbd)](h(0xb7));});a43a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';function a43c(){var i=['860429qxpPXO','(((.+)+)+)+$','6JFswWP','102rAjaGm','281405LNKXyz','21304490UWkBsC','constructor','search','2062543PkYgzb','apply','36398irNLsF','9PqNPSS','11735600mynbHh','5972144UBQcuS'];a43c=function(){return i;};return a43c();}function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xb2;var f=c[d];return f;},a43d(a,b);}export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- function a44c(){var l=['(((.+)+)+)+$','.\x20Used:\x20','isLockable','Failed\x20to\x20unlock\x20door:\x20','1620TzVMXt','Door\x20created\x20between\x20','216KoydcF','68792gAAFag','logger','checkIfLockable','constructor','\x20and\x20','341060cQxjYk','1414113fYCKUN','isLocked','search','1584fhlidP','4nNVDLH','231jhrnUO','toString','237113SSzMIN','getOtherSide','name','3943544FPhUcJ','unlockItemOrSolution','write','6940538cKfpHy','roomB','roomA'];a44c=function(){return l;};return a44c();}var a44h=a44d;(function(a,b){var f=a44d,c=a();while(!![]){try{var d=parseInt(f(0x16c))/0x1+parseInt(f(0x186))/0x2*(parseInt(f(0x182))/0x3)+parseInt(f(0x16f))/0x4+-parseInt(f(0x179))/0x5*(-parseInt(f(0x185))/0x6)+parseInt(f(0x16a))/0x7*(-parseInt(f(0x17c))/0x8)+parseInt(f(0x17b))/0x9*(-parseInt(f(0x181))/0xa)+-parseInt(f(0x172))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x7e778));var a44b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){var g=a44d;return a44a[g(0x16b)]()[g(0x184)](g(0x175))[g(0x16b)]()[g(0x17f)](a44a)[g(0x184)](g(0x175));});a44a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0x16a;var f=c[d];return f;},a44d(a,b);}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a44h(0x174)];[a44h(0x173)];['isLocked'];[a44h(0x170)];[a44h(0x16e)];[a44h(0x17d)];[a44h(0x177)];constructor(a){var i=a44h;super(),this['roomA']=a[i(0x174)],this['roomB']=a[i(0x173)],this[i(0x183)]=a[i(0x183)]||![],this[i(0x170)]=a[i(0x170)],this[i(0x16e)]=a[i(0x16e)]?capitalCase(a[i(0x16e)]):'To\x20'+a[i(0x173)]['name'],this[i(0x17d)]=Logger['getInstance'](),this['isLockable']=!!a['unlockItemOrSolution'],this[i(0x17d)][i(0x171)](i(0x17a)+this[i(0x174)][i(0x16e)]+i(0x180)+this[i(0x173)][i(0x16e)]+'.\x20Is\x20Locked:\x20'+this[i(0x183)]);}[a44h(0x16d)](a){var j=a44h;return this['roomA']===a?this[j(0x173)]:this[j(0x174)];}['attemptUnlock'](a){var k=a44h;if(this[k(0x183)]&&this['unlockItemOrSolution']&&this[k(0x170)]===a)return this[k(0x183)]=![],this[k(0x17d)][k(0x171)]('Door\x20unlocked:\x20'+this[k(0x16e)]+k(0x176)+a),!![];return this['logger']['write'](k(0x178)+this[k(0x16e)]+'.\x20Used:\x20'+a),![];}['checkIfLocked'](){return this['isLocked'];}[a44h(0x17e)](){return this['isLockable'];}}
1
+ function a44c(){var n=['31474qXwIOw','write','roomB','isLockable','3zMuGUy','Door\x20created\x20between\x20','757161sSWyeW','getInstance','1370fUdQbb','roomA','626748HMHZLU','35399TZmfQh','9XIwFuU','name','568730WSbtvy','unlockItemOrSolution','checkIfLocked','12Ngdoyl','176vxziFm','Door\x20unlocked:\x20','isLocked','8842483TgJIdZ','11YuTuWU','To\x20','9090jbOLRv','logger','search','toString','checkIfLockable','(((.+)+)+)+$','.\x20Used:\x20','Failed\x20to\x20unlock\x20door:\x20','.\x20Is\x20Locked:\x20'];a44c=function(){return n;};return a44c();}var a44h=a44d;(function(a,b){var f=a44d,c=a();while(!![]){try{var d=-parseInt(f(0x200))/0x1*(parseInt(f(0x1fc))/0x2)+-parseInt(f(0x1e7))/0x3*(-parseInt(f(0x1e5))/0x4)+parseInt(f(0x1e3))/0x5*(parseInt(f(0x1f3))/0x6)+-parseInt(f(0x1e6))/0x7*(-parseInt(f(0x1ed))/0x8)+parseInt(f(0x202))/0x9+-parseInt(f(0x1e9))/0xa*(-parseInt(f(0x1f1))/0xb)+-parseInt(f(0x1ec))/0xc*(parseInt(f(0x1f0))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x641a9));var a44b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){var g=a44d;return a44a[g(0x1f6)]()[g(0x1f5)]('(((.+)+)+)+$')[g(0x1f6)]()['constructor'](a44a)[g(0x1f5)](g(0x1f8));});a44a();function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0x1e2;var f=c[d];return f;},a44d(a,b);}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a44h(0x1fe)];['isLocked'];[a44h(0x1ea)];[a44h(0x1e8)];['logger'];[a44h(0x1ff)];constructor(a){var i=a44h;super(),this[i(0x1e4)]=a[i(0x1e4)],this['roomB']=a[i(0x1fe)],this['isLocked']=a['isLocked']||![],this[i(0x1ea)]=a['unlockItemOrSolution'],this[i(0x1e8)]=a[i(0x1e8)]?capitalCase(a[i(0x1e8)]):i(0x1f2)+a[i(0x1fe)][i(0x1e8)],this['logger']=Logger[i(0x1e2)](),this[i(0x1ff)]=!!a[i(0x1ea)],this[i(0x1f4)][i(0x1fd)](i(0x201)+this[i(0x1e4)][i(0x1e8)]+'\x20and\x20'+this[i(0x1fe)][i(0x1e8)]+i(0x1fb)+this[i(0x1ef)]);}['getOtherSide'](a){var j=a44h;return this[j(0x1e4)]===a?this[j(0x1fe)]:this[j(0x1e4)];}['attemptUnlock'](a){var k=a44h;if(this[k(0x1ef)]&&this[k(0x1ea)]&&this['unlockItemOrSolution']===a)return this[k(0x1ef)]=![],this[k(0x1f4)][k(0x1fd)](k(0x1ee)+this['name']+k(0x1f9)+a),!![];return this['logger'][k(0x1fd)](k(0x1fa)+this['name']+k(0x1f9)+a),![];}[a44h(0x1eb)](){var l=a44h;return this[l(0x1ef)];}[a44h(0x1f7)](){var m=a44h;return this[m(0x1ff)];}}
@@ -1 +1 @@
1
- const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x154))/0x1*(parseInt(f(0x14b))/0x2)+-parseInt(f(0x155))/0x3+parseInt(f(0x16b))/0x4+parseInt(f(0x15d))/0x5*(-parseInt(f(0x165))/0x6)+parseInt(f(0x147))/0x7*(-parseInt(f(0x150))/0x8)+-parseInt(f(0x16a))/0x9*(parseInt(f(0x162))/0xa)+-parseInt(f(0x160))/0xb*(-parseInt(f(0x16f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xd68dc));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x16e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x15e)]()[h(0x161)](h(0x14c))['toString']()[h(0x170)](a45a)[h(0x161)](h(0x14c));});a45a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x144;let f=c[d];return f;},a45d(a,b);}function a45c(){const r=['2379540EJFWMD','name','items','Retrieved\x20details\x20for\x20item:\x20','Added\x20item:\x20','write','getWeight','delete','357610LKsNwc','toString','Removed\x20item:\x20','5310030pYzjFR','search','10zlnzFY','.\x20Item\x20not\x20found.','join','138UmjnFi','Checked\x20for\x20item:\x20','hasItem','getItem','map','6873894wQOdjh','1599872YoNzDf','keys','listItems','apply','156jkTnJa','constructor','logger','\x20from\x20inventory.','has','811874qWvOlV','\x20to\x20inventory.','toLowerCase','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','10226EAJQgU','(((.+)+)+)+$','weight','removeItem','addItem','64tghUtW','getAllItems','values','getInstance','326uIJvMl'];a45c=function(){return r;};return a45c();}export class Inventory extends AbstractInventory{[a45i(0x157)];['logger'];constructor(){const j=a45i;super(),this[j(0x157)]=new Map(),this[j(0x144)]=Logger[j(0x153)]();}[a45i(0x14f)](a){const k=a45i;this['items']['set'](a[k(0x156)][k(0x149)](),a),this[k(0x144)][k(0x15a)](k(0x159)+a[k(0x156)]+k(0x148));}[a45i(0x14e)](a){const l=a45i,b=this[l(0x168)](a);if(b)return this['items'][l(0x15c)](a['toLowerCase']()),this[l(0x144)][l(0x15a)](l(0x15f)+a+l(0x145)),b;return this[l(0x144)][l(0x15a)]('Failed\x20to\x20remove\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),null;}[a45i(0x167)](a){const m=a45i,b=this[m(0x157)][m(0x146)](a[m(0x149)]()),c=[...this[m(0x157)][m(0x16c)]()];return this[m(0x144)][m(0x15a)](m(0x166)+a+'\x20in\x20'+c[m(0x164)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}['getItem'](a){const n=a45i,b=this[n(0x157)]['get'](a[n(0x149)]())||null;return b?this[n(0x144)][n(0x15a)](n(0x158)+a+'.'):this[n(0x144)][n(0x15a)](n(0x14a)+a+n(0x163)),b;}[a45i(0x16d)](){const o=a45i,a=[...this[o(0x157)][o(0x16c)]()],b=a[o(0x169)](c=>capitalCase(c));return this[o(0x144)][o(0x15a)]('Listed\x20items\x20in\x20inventory:\x20'+b[o(0x164)](',\x20')+'.'),a;}[a45i(0x15b)](){const p=a45i;let a=0x0;for(const b of this[p(0x157)]['values']()){a+=b[p(0x14d)];}return a;}[a45i(0x151)](){const q=a45i;return[...this[q(0x157)][q(0x152)]()];}}
1
+ const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x1b0))/0x1*(parseInt(f(0x1aa))/0x2)+parseInt(f(0x1c5))/0x3+parseInt(f(0x1a4))/0x4+parseInt(f(0x1ac))/0x5*(-parseInt(f(0x1cc))/0x6)+-parseInt(f(0x1b3))/0x7*(parseInt(f(0x1b7))/0x8)+parseInt(f(0x1c4))/0x9*(-parseInt(f(0x1cb))/0xa)+parseInt(f(0x1b5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xa2bd8));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x1b2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a['toString']()[h(0x1b9)](h(0x1a9))[h(0x1c7)]()['constructor'](a45a)[h(0x1b9)](h(0x1a9));});a45a();function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1a4;let f=c[d];return f;},a45d(a,b);}function a45c(){const r=['toString','values','join','getItem','984850idkOhj','1719654RxDVRs','1528716EVTyEk','Removed\x20item:\x20','Listed\x20items\x20in\x20inventory:\x20','Added\x20item:\x20','getInstance','(((.+)+)+)+$','2182FXZwWU','toLowerCase','5rHBqGE','.\x20Item\x20not\x20found.','map','items','130UzZsvc','get','apply','202629yvcKVg','removeItem','8114700kbyhrT','keys','232mHcIBR','.\x20Exists:\x20','search','has','hasItem','write','addItem','\x20from\x20inventory.','name','Retrieved\x20details\x20for\x20item:\x20','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','logger','weight','45JjUDfG','3921096MVMVMD','listItems'];a45c=function(){return r;};return a45c();}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a45i(0x1af)];[a45i(0x1c2)];constructor(){const j=a45i;super(),this[j(0x1af)]=new Map(),this[j(0x1c2)]=Logger[j(0x1a8)]();}[a45i(0x1bd)](a){const k=a45i;this[k(0x1af)]['set'](a[k(0x1bf)]['toLowerCase'](),a),this[k(0x1c2)]['write'](k(0x1a7)+a[k(0x1bf)]+'\x20to\x20inventory.');}[a45i(0x1b4)](a){const l=a45i,b=this[l(0x1ca)](a);if(b)return this[l(0x1af)]['delete'](a[l(0x1ab)]()),this[l(0x1c2)][l(0x1bc)](l(0x1a5)+a+l(0x1be)),b;return this[l(0x1c2)][l(0x1bc)]('Failed\x20to\x20remove\x20item:\x20'+a+l(0x1ad)),null;}[a45i(0x1bb)](a){const m=a45i,b=this[m(0x1af)][m(0x1ba)](a[m(0x1ab)]()),c=[...this['items'][m(0x1b6)]()];return this[m(0x1c2)]['write']('Checked\x20for\x20item:\x20'+a+'\x20in\x20'+c[m(0x1c9)](',\x20')+m(0x1b8)+b+'.'),b;}['getItem'](a){const n=a45i,b=this[n(0x1af)][n(0x1b1)](a['toLowerCase']())||null;return b?this[n(0x1c2)]['write'](n(0x1c0)+a+'.'):this['logger'][n(0x1bc)](n(0x1c1)+a+n(0x1ad)),b;}[a45i(0x1c6)](){const o=a45i,a=[...this[o(0x1af)][o(0x1b6)]()],b=a[o(0x1ae)](c=>capitalCase(c));return this[o(0x1c2)][o(0x1bc)](o(0x1a6)+b[o(0x1c9)](',\x20')+'.'),a;}['getWeight'](){const p=a45i;let a=0x0;for(const b of this[p(0x1af)][p(0x1c8)]()){a+=b[p(0x1c3)];}return a;}['getAllItems'](){const q=a45i;return[...this[q(0x1af)][q(0x1c8)]()];}}
@@ -1 +1 @@
1
- var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x172))/0x1*(-parseInt(f(0x16a))/0x2)+-parseInt(f(0x16c))/0x3+parseInt(f(0x17d))/0x4+parseInt(f(0x181))/0x5+-parseInt(f(0x175))/0x6+parseInt(f(0x16b))/0x7*(-parseInt(f(0x178))/0x8)+parseInt(f(0x176))/0x9*(parseInt(f(0x170))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x9853a));function a46c(){var l=['103traOce','use','uuid','6495876XkYqzT','14660964qZQpkU','(((.+)+)+)+$','48MNJTxt','weight','apply','search','constructor','2311080VlIGBy','rating','texture','You\x20use\x20the\x20','719115aZxkeH','shape','size','23516WnNhpe','983157uUfHqz','657687hXMEkZ','color','toString','name','20QtdOXV','category'];a46c=function(){return l;};return a46c();}function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x169;var f=c[d];return f;},a46d(a,b);}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x17a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()['search'](h(0x177))[h(0x16e)]()[h(0x17c)](a46a)[h(0x17b)](h(0x177));});a46a();import{v4 as a46e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a46i(0x174)];[a46i(0x16f)];['description'];[a46i(0x169)];['category'];[a46i(0x182)];[a46i(0x16d)];[a46i(0x17f)];['rating'];[a46i(0x179)];constructor(a){var j=a46i;super(),this['name']=a[j(0x16f)],this['description']=a['description'],this[j(0x169)]=a[j(0x169)],this[j(0x171)]=a['category'],this[j(0x182)]=a[j(0x182)],this[j(0x16d)]=a['color'],this[j(0x17f)]=a[j(0x17f)],this[j(0x17e)]=a[j(0x17e)],this['weight']=a[j(0x179)],this['uuid']=a46e();}[a46i(0x173)](){var k=a46i;return k(0x180)+this[k(0x16f)]+'.\x20Nothing\x20special\x20happens.';}}
1
+ var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0xd7))/0x1*(-parseInt(f(0xe7))/0x2)+-parseInt(f(0xcb))/0x3+parseInt(f(0xd4))/0x4*(parseInt(f(0xe1))/0x5)+parseInt(f(0xd0))/0x6*(-parseInt(f(0xd6))/0x7)+parseInt(f(0xe4))/0x8*(parseInt(f(0xe2))/0x9)+parseInt(f(0xdd))/0xa+parseInt(f(0xca))/0xb*(parseInt(f(0xd1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x899fe));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0xdc)]()[h(0xcc)](h(0xd2))[h(0xdc)]()[h(0xdf)](a46a)['search'](h(0xd2));});a46a();function a46c(){var l=['description','18nfFYLy','12ZmHZOX','(((.+)+)+)+$','use','28IgemUr','category','1464981SGagLE','11YpYeog','You\x20use\x20the\x20','weight','.\x20Nothing\x20special\x20happens.','size','toString','10427760RJndSC','color','constructor','shape','117320aPMImG','72voXeeo','texture','734936qKLitq','uuid','apply','28682RJOUtm','599335AavUkU','1941405RHExyz','search','rating','name'];a46c=function(){return l;};return a46c();}function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xca;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{[a46i(0xe5)];[a46i(0xce)];[a46i(0xcf)];['size'];[a46i(0xd5)];['shape'];[a46i(0xde)];[a46i(0xe3)];[a46i(0xcd)];['weight'];constructor(a){var j=a46i;super(),this[j(0xce)]=a[j(0xce)],this[j(0xcf)]=a[j(0xcf)],this[j(0xdb)]=a[j(0xdb)],this['category']=a[j(0xd5)],this[j(0xe0)]=a[j(0xe0)],this[j(0xde)]=a[j(0xde)],this[j(0xe3)]=a[j(0xe3)],this[j(0xcd)]=a[j(0xcd)],this[j(0xd9)]=a['weight'],this[j(0xe5)]=a46e();}[a46i(0xd3)](){var k=a46i;return k(0xd8)+this[k(0xce)]+k(0xda);}}
@@ -1 +1 @@
1
- const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x1e3))/0x1+-parseInt(f(0x1d6))/0x2*(parseInt(f(0x1d7))/0x3)+-parseInt(f(0x1dd))/0x4+parseInt(f(0x1e6))/0x5+parseInt(f(0x1d0))/0x6*(parseInt(f(0x1db))/0x7)+-parseInt(f(0x1da))/0x8*(parseInt(f(0x1d8))/0x9)+parseInt(f(0x1d4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xaba91));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()['search'](h(0x1e2))['toString']()[h(0x1ce)](a47a)[h(0x1e0)](h(0x1e2));});a47a();import{Player}from'./player.js';function a47c(){const o=['115050TRRcac','116280nzNuRx','_name','344uqQymv','1716148JdXtaD','_dialogue','1338808JtdzdC','rooms','apply','search','execute','(((.+)+)+)+$','424105EMkeng','floor','name','433150XJqdBh','constructor','scene','18ZnQXky','random','length','speak','21924660iLNwbN','moveTo','52bVuizr'];a47c=function(){return o;};return a47c();}function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a47d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a47i(0x1d9)];[a47i(0x1dc)];[a47i(0x1de)];[a47i(0x1cf)];constructor(a,b,c,d){const j=a47i;super(d),this['_name']=a,this['_dialogue']=b,this[j(0x1de)]=c;}get[a47i(0x1e5)](){const k=a47i;return this[k(0x1d9)];}[a47i(0x1d3)](){const l=a47i;return this[l(0x1dc)][Math[l(0x1e4)](Math[l(0x1d1)]()*this['_dialogue']['length'])];}['autonomousMove'](a){const m=a47i,b=a[Math[m(0x1e4)](Math[m(0x1d1)]()*a[m(0x1d2)])];this[m(0x1d5)](b['name']);}['moveTo'](a){const n=a47i,b={'actor':this,'rooms':this[n(0x1de)],'scene':this['scene']},c=new GoCommand(b);c[n(0x1e1)]([a]);}}
1
+ const a47i=a47d;function a47c(){const o=['9pRNObL','760158YqKrQF','random','scene','speak','toString','name','9840732nhhjfM','985WAEgsk','800760ShSznw','267kQeAez','execute','moveTo','autonomousMove','1498648hbDNEk','rooms','3922970XEzPrt','10116DIrVrv','floor','_name','length','_dialogue','(((.+)+)+)+$','7qTkXda','constructor','3516MxwvGl','apply'];a47c=function(){return o;};return a47c();}(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x1d8))/0x1*(-parseInt(f(0x1e7))/0x2)+-parseInt(f(0x1d7))/0x3+parseInt(f(0x1df))/0x4*(parseInt(f(0x1d6))/0x5)+-parseInt(f(0x1cf))/0x6+parseInt(f(0x1e5))/0x7*(parseInt(f(0x1dc))/0x8)+parseInt(f(0x1e9))/0x9*(parseInt(f(0x1de))/0xa)+-parseInt(f(0x1d5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x3f3ba));function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a47d(a,b);}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()['search'](h(0x1e4))[h(0x1d3)]()[h(0x1e6)](a47a)['search']('(((.+)+)+)+$');});a47a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a47i(0x1e3)];['rooms'];[a47i(0x1d1)];constructor(a,b,c,d){const j=a47i;super(d),this[j(0x1e1)]=a,this[j(0x1e3)]=b,this[j(0x1dd)]=c;}get[a47i(0x1d4)](){const k=a47i;return this[k(0x1e1)];}[a47i(0x1d2)](){const l=a47i;return this[l(0x1e3)][Math[l(0x1e0)](Math[l(0x1d0)]()*this[l(0x1e3)][l(0x1e2)])];}[a47i(0x1db)](a){const m=a47i,b=a[Math[m(0x1e0)](Math[m(0x1d0)]()*a[m(0x1e2)])];this[m(0x1da)](b[m(0x1d4)]);}['moveTo'](a){const n=a47i,b={'actor':this,'rooms':this[n(0x1dd)],'scene':this[n(0x1d1)]},c=new GoCommand(b);c[n(0x1d9)]([a]);}}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x162))/0x1+parseInt(f(0x16d))/0x2*(-parseInt(f(0x15e))/0x3)+-parseInt(f(0x134))/0x4*(-parseInt(f(0x138))/0x5)+-parseInt(f(0x174))/0x6*(-parseInt(f(0x168))/0x7)+-parseInt(f(0x164))/0x8*(parseInt(f(0x16b))/0x9)+-parseInt(f(0x152))/0xa*(-parseInt(f(0x125))/0xb)+-parseInt(f(0x12a))/0xc*(-parseInt(f(0x15c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x455b0));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x142)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x13e)]()['search'](h(0x126))['toString']()['constructor'](a48a)['search'](h(0x126));});a48a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x125;let f=c[d];return f;},a48d(a,b);}function a48c(){const A=['Helmet','121092ErjOqg','head','\x20in\x20your\x20inventory.','boots','45nHCQai','currentLocation','_inventory','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','leaveRoom','write','toString','armarmor','unequipBySlot','Boots','apply','equip','includes','enterRoom','addInventory','category','weight','_maxCarryingWeight','bind','A\x20featureless\x20room','hear','_playerName','\x20from\x20player\x27s\x20inventory.','Hat','arms','equipment','780HPgtWs','Weapon','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','determineEquipmentSlot','getWeight','legs','leftHand','You\x20don\x27t\x20have\x20','unequip','LegArmor','52lQLnmz','.\x20You\x20must\x20unequip\x20it\x20first.','2805mqqhvJ','arm\x20armor','Added\x20','toLowerCase','479320VubOBJ','values','112720BTEKQY','bodyarmor','feet','weapon','965993FUxfyW','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','leg\x20armor','261GFPhve','inventoryItems','530SqEDix','canEquip','removeItem','Gloves','BodyArmor','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','Max\x20carrying\x20weight\x20must\x20be\x20positive.','24YxSYXZ','_currentLocation','startLocation','logger','addItem','\x20is\x20now\x20listening\x20in\x20room\x20','shield','hasItem','initialEquipment','30998DsMWUh','(((.+)+)+)+$','maxCarryingWeight','rightHand','legarmor','1126584jJEYUV','Invalid\x20category\x20or\x20slot:\x20','_equipment','gloves','ArmArmor','name','torso','speak','removeInventory'];a48c=function(){return A;};return a48c();}import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a48i(0x14d)];[a48i(0x175)];[a48i(0x13a)];[a48i(0x12c)];[a48i(0x149)]=0x32;[a48i(0x177)];constructor(a){const j=a48i;super(),this[j(0x14d)]=a['playerName'],this[j(0x175)]=a[j(0x176)]||new Room({'name':'Nexus','description':j(0x14b)}),this[j(0x13a)]=new Inventory(),this[j(0x177)]=Logger['getInstance']();if(a?.['inventoryItems'])for(const b of a[j(0x16c)]){this[j(0x13a)][j(0x178)](b);}this[j(0x12c)]=a?.[j(0x17c)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a48i(0x12f)](){const k=a48i;return this[k(0x14d)];}get[a48i(0x139)](){const l=a48i;return this[l(0x175)];}set['currentLocation'](a){const m=a48i;this['_currentLocation']!==a&&(this[m(0x13c)](),this[m(0x145)](a)),this[m(0x175)]=a;}get['inventory'](){const n=a48i;return this[n(0x13a)];}get['equipment'](){return this['_equipment'];}set[a48i(0x151)](a){this['_equipment']=a;}get[a48i(0x127)](){return this['_maxCarryingWeight'];}set['maxCarryingWeight'](a){const o=a48i;a>0x0?this[o(0x149)]=a:console['error'](o(0x173));}get['currentWeight'](){const p=a48i;let a=this['_inventory'][p(0x156)]();for(const b in this[p(0x12c)]){const c=this[p(0x12c)][b];c&&(a+=c[p(0x148)]);}return a;}[a48i(0x146)](a){const q=a48i;if(this['currentWeight']+a[q(0x148)]>this[q(0x127)]){this[q(0x177)][q(0x13d)](q(0x169));throw new Error(q(0x154));}this['_inventory']['addItem'](a),this[q(0x177)][q(0x13d)](q(0x160)+a[q(0x12f)]+'\x20to\x20player\x27s\x20inventory.');}[a48i(0x132)](a){const r=a48i;if(this[r(0x13a)][r(0x16f)](a[r(0x12f)]))return this[r(0x177)]['write']('Removed\x20'+a['name']+r(0x14e)),!![];return this[r(0x177)]['write']('Failed\x20to\x20remove\x20'+a['name']+r(0x14e)),![];}[a48i(0x143)](a){const s=a48i;if(!this[s(0x13a)][s(0x17b)](a[s(0x12f)]))return s(0x159)+a[s(0x12f)]+s(0x136);if(!this[s(0x16e)](a))return'You\x20can\x27t\x20equip\x20'+a['name']+'.';const b=this[s(0x155)](a[s(0x147)]);if(!b)return a[s(0x12f)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[s(0x151)][b])return s(0x172)+b+s(0x15d);return this[s(0x151)][b]=a,this['removeInventory'](a),'You\x20equipped\x20'+a['name']+'.';}[a48i(0x15a)](a){const t=a48i;let b=a;if(!this[t(0x151)][camelCase(b)]){b=this[t(0x155)](a);if(!b)return t(0x12b)+a+'.';}return this[t(0x140)](b);}['determineEquipmentSlot'](a){const u=a48i;switch(a[u(0x161)]()){case Category[u(0x153)]['toLowerCase']():return u(0x128);case Category['Shield']['toLowerCase']():return u(0x158);case Category[u(0x170)][u(0x161)]():return u(0x12d);case Category[u(0x133)][u(0x161)]():case Category[u(0x14f)][u(0x161)]():return u(0x135);case Category[u(0x141)][u(0x161)]():return'feet';case Category[u(0x15b)][u(0x161)]():return u(0x157);case Category[u(0x12e)][u(0x161)]():return'arms';case Category[u(0x171)][u(0x161)]():return'torso';case u(0x167):return u(0x128);case u(0x17a):return u(0x158);case u(0x12d):return u(0x12d);case'helmet':case'hat':return u(0x135);case u(0x137):return u(0x166);case u(0x16a):case u(0x129):return u(0x157);case u(0x15f):case u(0x13f):return u(0x150);case'body\x20armor':case u(0x165):case'torso':return u(0x130);default:return null;}}[a48i(0x16e)](a){const v=a48i;return Object[v(0x163)](Category)[v(0x144)](a['category']);}[a48i(0x140)](a){const w=a48i,b=this[w(0x151)][a];if(!b)return w(0x13b)+a+'\x20slot.';return this[w(0x146)](b),this[w(0x151)][a]=null,'You\x20unequipped\x20'+b[w(0x12f)]+'.';}[a48i(0x14c)](a,b){const x=a48i;a!==this&&this['logger']['log'](a[x(0x12f)]+'\x20says:\x20\x22'+b+'\x22');}[a48i(0x145)](a){const y=a48i;this[y(0x175)]=a,a['on']('speak',this['hear']['bind'](this)),this[y(0x177)][y(0x13d)](this['name']+y(0x179)+a['name']);}[a48i(0x13c)](){const z=a48i;this[z(0x175)]&&(this[z(0x175)]['off'](z(0x131),this[z(0x14c)][z(0x14a)](this)),this[z(0x177)]['write'](this['name']+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[z(0x175)][z(0x12f)]));}}
1
+ const a48h=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1d9;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x1e8))/0x1+-parseInt(f(0x22a))/0x2*(-parseInt(f(0x1e2))/0x3)+parseInt(f(0x21d))/0x4*(parseInt(f(0x226))/0x5)+parseInt(f(0x21a))/0x6*(parseInt(f(0x1ea))/0x7)+-parseInt(f(0x202))/0x8+-parseInt(f(0x20a))/0x9*(parseInt(f(0x1ef))/0xa)+-parseInt(f(0x1fd))/0xb*(parseInt(f(0x201))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xbfceb));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(0x233)]()[g(0x1fe)](g(0x214))['toString']()[g(0x22c)](a48a)[g(0x1fe)](g(0x214));});a48a();import{camelCase}from'change-case';function a48c(){const A=['leftHand','unequipBySlot','BodyArmor','rightHand','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','131643UVfzdj','\x20says:\x20\x22','hear','_playerName','getWeight','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','unequip','maxCarryingWeight','determineEquipmentSlot','armarmor','(((.+)+)+)+$','Helmet','You\x20don\x27t\x20have\x20','shield','LegArmor','\x20from\x20player\x27s\x20inventory.','54162KaXCFN','Failed\x20to\x20remove\x20','\x20is\x20no\x20longer\x20listeng\x20in\x20','366512wChlyl','hat','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','ArmArmor','leaveRoom','currentWeight','write','bind','removeItem','30yLfZti','inventoryItems','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','category','2321150jJtDHv','addInventory','constructor','_equipment','bodyarmor','_inventory','Hat','name','startLocation','toString','Max\x20carrying\x20weight\x20must\x20be\x20positive.','initialEquipment','arms','addItem','Gloves','Added\x20','enterRoom','canEquip','\x20in\x20your\x20inventory.','leg\x20armor','3rMLEgV','logger','legs','speak','equipment','values','1058994vnMeDh','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','1162unTHEx','torso','feet','removeInventory','currentLocation','280EEpWLr','\x20is\x20now\x20listening\x20in\x20room\x20','_currentLocation','boots','weight','Invalid\x20category\x20or\x20slot:\x20','\x20slot.','toLowerCase','arm\x20armor','head','Nexus','_maxCarryingWeight','You\x20equipped\x20','legarmor','62689CeliSj','search','Boots','Shield','4596fZzrMJ','7119224FJCBMG','gloves','off'];a48c=function(){return A;};return a48c();}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(0x20d)];[a48h(0x1f1)];['_inventory'];[a48h(0x22d)];[a48h(0x1fa)]=0x32;['logger'];constructor(a){const i=a48h;super(),this[i(0x20d)]=a['playerName'],this[i(0x1f1)]=a[i(0x232)]||new Room({'name':i(0x1f9),'description':'A\x20featureless\x20room'}),this['_inventory']=new Inventory(),this[i(0x1e3)]=Logger['getInstance']();if(a?.['inventoryItems'])for(const b of a[i(0x227)]){this[i(0x22f)]['addItem'](b);}this[i(0x22d)]=a?.[i(0x1d9)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const j=a48h;return this[j(0x20d)];}get[a48h(0x1ee)](){const k=a48h;return this[k(0x1f1)];}set[a48h(0x1ee)](a){const l=a48h;this[l(0x1f1)]!==a&&(this[l(0x221)](),this[l(0x1de)](a)),this[l(0x1f1)]=a;}get['inventory'](){return this['_inventory'];}get[a48h(0x1e6)](){return this['_equipment'];}set[a48h(0x1e6)](a){const m=a48h;this[m(0x22d)]=a;}get[a48h(0x211)](){const n=a48h;return this[n(0x1fa)];}set[a48h(0x211)](a){const o=a48h;a>0x0?this[o(0x1fa)]=a:console['error'](o(0x234));}get[a48h(0x222)](){const p=a48h;let a=this[p(0x22f)][p(0x20e)]();for(const b in this[p(0x22d)]){const c=this[p(0x22d)][b];c&&(a+=c[p(0x1f3)]);}return a;}[a48h(0x22b)](a){const q=a48h;if(this[q(0x222)]+a[q(0x1f3)]>this[q(0x211)]){this[q(0x1e3)][q(0x223)](q(0x209));throw new Error(q(0x20f));}this['_inventory'][q(0x1db)](a),this[q(0x1e3)][q(0x223)](q(0x1dd)+a[q(0x231)]+'\x20to\x20player\x27s\x20inventory.');}[a48h(0x1ed)](a){const r=a48h;if(this[r(0x22f)][r(0x225)](a[r(0x231)]))return this[r(0x1e3)][r(0x223)]('Removed\x20'+a['name']+r(0x219)),!![];return this[r(0x1e3)][r(0x223)](r(0x21b)+a[r(0x231)]+'\x20from\x20player\x27s\x20inventory.'),![];}['equip'](a){const s=a48h;if(!this['_inventory']['hasItem'](a[s(0x231)]))return s(0x216)+a[s(0x231)]+s(0x1e0);if(!this[s(0x1df)](a))return'You\x20can\x27t\x20equip\x20'+a['name']+'.';const b=this[s(0x212)](a[s(0x229)]);if(!b)return a['name']+s(0x228);if(this['equipment'][b])return s(0x1e9)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[s(0x1e6)][b]=a,this['removeInventory'](a),s(0x1fb)+a[s(0x231)]+'.';}[a48h(0x210)](a){const t=a48h;let b=a;if(!this[t(0x1e6)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return t(0x1f4)+a+'.';}return this[t(0x206)](b);}[a48h(0x212)](a){const u=a48h;switch(a[u(0x1f6)]()){case Category['Weapon'][u(0x1f6)]():return u(0x208);case Category[u(0x200)][u(0x1f6)]():return'leftHand';case Category[u(0x1dc)][u(0x1f6)]():return u(0x203);case Category[u(0x215)][u(0x1f6)]():case Category[u(0x230)][u(0x1f6)]():return u(0x1f8);case Category[u(0x1ff)]['toLowerCase']():return'feet';case Category[u(0x218)][u(0x1f6)]():return'legs';case Category[u(0x220)][u(0x1f6)]():return u(0x1da);case Category[u(0x207)][u(0x1f6)]():return u(0x1eb);case'weapon':return u(0x208);case u(0x217):return u(0x205);case u(0x203):return u(0x203);case'helmet':case u(0x21e):return u(0x1f8);case u(0x1f2):return u(0x1ec);case u(0x1e1):case u(0x1fc):return u(0x1e4);case u(0x1f7):case u(0x213):return u(0x1da);case'body\x20armor':case u(0x22e):case u(0x1eb):return u(0x1eb);default:return null;}}['canEquip'](a){const v=a48h;return Object[v(0x1e7)](Category)['includes'](a['category']);}[a48h(0x206)](a){const w=a48h,b=this[w(0x1e6)][a];if(!b)return w(0x21f)+a+w(0x1f5);return this[w(0x22b)](b),this[w(0x1e6)][a]=null,'You\x20unequipped\x20'+b['name']+'.';}[a48h(0x20c)](a,b){const x=a48h;a!==this&&this[x(0x1e3)]['log'](a[x(0x231)]+x(0x20b)+b+'\x22');}['enterRoom'](a){const y=a48h;this[y(0x1f1)]=a,a['on'](y(0x1e5),this[y(0x20c)][y(0x224)](this)),this[y(0x1e3)][y(0x223)](this[y(0x231)]+y(0x1f0)+a[y(0x231)]);}[a48h(0x221)](){const z=a48h;this[z(0x1f1)]&&(this[z(0x1f1)][z(0x204)]('speak',this['hear']['bind'](this)),this[z(0x1e3)][z(0x223)](this[z(0x231)]+z(0x21c)+this[z(0x1f1)][z(0x231)]));}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1d7))/0x1+-parseInt(f(0x1d8))/0x2*(-parseInt(f(0x1d9))/0x3)+parseInt(f(0x1ef))/0x4+-parseInt(f(0x1d6))/0x5*(-parseInt(f(0x1eb))/0x6)+-parseInt(f(0x1e1))/0x7*(-parseInt(f(0x1dd))/0x8)+parseInt(f(0x1ea))/0x9+parseInt(f(0x1e9))/0xa*(-parseInt(f(0x1f2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x3fa7b));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1d3;var f=c[d];return f;},a49d(a,b);}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1ee)]()['search'](h(0x1ec))[h(0x1ee)]()['constructor'](a49a)['search'](h(0x1ec));});a49a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a49c(){var n=['rewardItem','hasRequiredItem','logger','solved','1450BeiQrR','3261222PuaLEK','6bVTFWF','(((.+)+)+)+$','requiredPhrase','toString','1143844vkRPCm','failureMessage','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','129602EgVkgy','Puzzle:\x20Correct\x20solution\x20provided.','write','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','riddle','1126315JXGSmb','465002HfLdrd','970124GJIolr','3uTvbHQ','hasItem','solve','matchesRequiredPhrase','88AYQEII','getInstance','You\x20have\x20already\x20solved\x20this\x20puzzle.','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','92575uBwndn','requiredItem','successMessage','apply'];a49c=function(){return n;};return a49c();}export class Puzzle extends AbstractPuzzle{[a49i(0x1e7)]=Logger[a49i(0x1de)]();['solved']=![];[a49i(0x1e2)];[a49i(0x1ed)];[a49i(0x1d5)];['rewardItem'];[a49i(0x1e3)];[a49i(0x1f0)];constructor(a){var j=a49i;super(),this['requiredItem']=a['requiredItem'],this[j(0x1ed)]=a[j(0x1ed)],this['riddle']=a[j(0x1d5)],this[j(0x1e5)]=a[j(0x1e5)],this[j(0x1e3)]=a[j(0x1e3)]||'You\x20solved\x20the\x20puzzle!',this['failureMessage']=a['failureMessage']||j(0x1e0);}[a49i(0x1e6)](a){var k=a49i;if(this[k(0x1e2)])return a[k(0x1da)](this[k(0x1e2)]);return![];}['matchesRequiredPhrase'](a){var l=a49i;return this[l(0x1ed)]===a;}[a49i(0x1db)](a,b){var m=a49i;if(this[m(0x1e8)])return this[m(0x1e7)][m(0x1d3)](m(0x1f1)),{'success':![],'message':m(0x1df)};return this[m(0x1e6)](b)||this[m(0x1dc)](a)?(this[m(0x1e8)]=!![],this['logger'][m(0x1d3)](m(0x1f3)),{'success':!![],'message':this['successMessage']}):(this['logger'][m(0x1d3)](m(0x1d4)),{'success':![],'message':this[m(0x1f0)]});}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1eb))/0x1*(parseInt(f(0x1d6))/0x2)+parseInt(f(0x1e3))/0x3+-parseInt(f(0x1e5))/0x4+parseInt(f(0x1e0))/0x5*(-parseInt(f(0x1d7))/0x6)+-parseInt(f(0x1d9))/0x7+parseInt(f(0x1df))/0x8*(parseInt(f(0x1d0))/0x9)+parseInt(f(0x1dd))/0xa*(parseInt(f(0x1d2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x29d04));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1f2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1ea)]()[h(0x1db)]('(((.+)+)+)+$')[h(0x1ea)]()[h(0x1ed)](a49a)['search'](h(0x1e2));});a49a();function a49c(){var n=['matchesRequiredPhrase','8624ojElcA','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','rewardItem','getInstance','118MnKjZd','6738heBMuW','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','491491pumzDu','You\x20solved\x20the\x20puzzle!','search','logger','250ZilRru','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','1096FmoWMd','15JjYyiY','hasRequiredItem','(((.+)+)+)+$','402786jgurzL','requiredItem','780032VuGQfH','solved','requiredPhrase','hasItem','failureMessage','toString','1571iCFhTb','riddle','constructor','write','Puzzle:\x20Correct\x20solution\x20provided.','You\x20have\x20already\x20solved\x20this\x20puzzle.','solve','apply','successMessage','12699xaHgef'];a49c=function(){return n;};return a49c();}import{Logger}from'../utilities/logger.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1cf;var f=c[d];return f;},a49d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a49i(0x1dc)]=Logger[a49i(0x1d5)]();[a49i(0x1e6)]=![];[a49i(0x1e4)];[a49i(0x1e7)];[a49i(0x1ec)];['rewardItem'];[a49i(0x1cf)];[a49i(0x1e9)];constructor(a){var j=a49i;super(),this[j(0x1e4)]=a['requiredItem'],this['requiredPhrase']=a[j(0x1e7)],this[j(0x1ec)]=a['riddle'],this[j(0x1d4)]=a[j(0x1d4)],this[j(0x1cf)]=a[j(0x1cf)]||j(0x1da),this['failureMessage']=a[j(0x1e9)]||j(0x1de);}[a49i(0x1e1)](a){var k=a49i;if(this[k(0x1e4)])return a[k(0x1e8)](this[k(0x1e4)]);return![];}[a49i(0x1d1)](a){var l=a49i;return this[l(0x1e7)]===a;}[a49i(0x1f1)](a,b){var m=a49i;if(this[m(0x1e6)])return this['logger'][m(0x1ee)](m(0x1d8)),{'success':![],'message':m(0x1f0)};return this['hasRequiredItem'](b)||this[m(0x1d1)](a)?(this[m(0x1e6)]=!![],this[m(0x1dc)][m(0x1ee)](m(0x1ef)),{'success':!![],'message':this['successMessage']}):(this[m(0x1dc)][m(0x1ee)](m(0x1d3)),{'success':![],'message':this[m(0x1e9)]});}}
@@ -1 +1 @@
1
- function a50c(){const u=['Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','removeItem','values','642238xOXwLR','SOUTH','south','\x20remains\x20locked.','\x20unlocked!','write','isExitLocked','7oxvGAe','673952MhOkGh','name','getExit','Invalid\x20direction:\x20','roomB','The\x20','setPuzzle','7434OjRDTq','roomType','Checking\x20if\x20exit\x20in\x20direction\x20','10692DVugKY','search','.\x20Success:\x20','west','logger','checkIfLocked','No\x20locked\x20exit\x20found\x20in\x20direction\x20','apply','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','inventory','exits','say','findExistingDoor','546fbOhpI','(((.+)+)+)+$','isStartRoom','description','Item\x20added\x20to\x20room\x20','get','getOppositeDirection','11023664ihdXIt','INSIDE','north','toString','puzzle','7232166FznNUE','addItem','WEST','Room\x20created:\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','Puzzle\x20set\x20for\x20room\x20','set','18470gsBlFc','2353210ZjKrMq','roomA','emit','Item\x20removed\x20from\x20room\x20'];a50c=function(){return u;};return a50c();}const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x166))/0x1+-parseInt(f(0x134))/0x2+-parseInt(f(0x14b))/0x3*(parseInt(f(0x13e))/0x4)+parseInt(f(0x15f))/0x5+-parseInt(f(0x157))/0x6+parseInt(f(0x133))/0x7*(parseInt(f(0x152))/0x8)+parseInt(f(0x13b))/0x9*(parseInt(f(0x15e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xabab9));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x145)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()[h(0x13f)](h(0x14c))[h(0x155)]()['constructor'](a50a)[h(0x13f)](h(0x14c));});a50a();import{Logger}from'../utilities/logger.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x131;let f=c[d];return f;},a50d(a,b);}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger['getInstance']();['name'];['description'];[a50i(0x148)]=new Map();[a50i(0x13c)];[a50i(0x14d)];['inventory']=new Inventory();constructor(a){const j=a50i;super(),this[j(0x135)]=a[j(0x135)],this[j(0x14e)]=a[j(0x14e)],this['roomType']=a['roomType']||RoomType[j(0x153)],a[j(0x148)]&&(this[j(0x148)]=a[j(0x148)]||new Map()),a[j(0x147)]&&(this[j(0x147)]=a[j(0x147)]),a['puzzle']&&(this[j(0x156)]=a[j(0x156)]),this['isStartRoom']=a['isStartRoom']||![],this['logger']['write'](j(0x15a)+this[j(0x135)]);}[a50i(0x149)](a,b){const k=a50i;this[k(0x161)]('speak',a,b);}['addExit'](a,b,c){const l=a50i;let d=this[l(0x14a)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x15d)](a,d),b[l(0x148)][l(0x15d)](this[l(0x151)](a),d);}['attemptUnlockExit'](a,b){const m=a50i,c=this[m(0x148)]['get'](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this['logger'][m(0x131)](m(0x15b)+a+m(0x140)+d),d?m(0x139)+c[m(0x135)]+m(0x16a):'The\x20'+c[m(0x135)]+m(0x169);}return this[m(0x142)][m(0x131)](m(0x144)+a),m(0x146);}[a50i(0x136)](a){const n=a50i;return this[n(0x142)]['write']('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0x148)][n(0x150)](a);}[a50i(0x132)](a){const o=a50i,b=this[o(0x148)][o(0x150)](a),c=b instanceof Door&&b[o(0x143)]();return this[o(0x142)]['write'](o(0x13d)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a50i(0x158)](a){const p=a50i;this[p(0x147)]['addItem'](a),this[p(0x142)][p(0x131)](p(0x14f)+this['name']+':\x20'+a['name']);}['removeItem'](a){const q=a50i;this['inventory']['hasItem'](a[q(0x135)])?(this[q(0x147)][q(0x164)](a[q(0x135)]),this[q(0x142)][q(0x131)](q(0x162)+this[q(0x135)]+':\x20'+a[q(0x135)])):this[q(0x142)]['write'](q(0x163)+this['name']+':\x20'+a[q(0x135)]);}[a50i(0x13a)](a){const r=a50i;this[r(0x156)]=a,this[r(0x142)][r(0x131)](r(0x15c)+this[r(0x135)]+':\x20'+a['riddle']);}[a50i(0x151)](a){const s=a50i;switch(a){case s(0x154):return Direction[s(0x167)];case s(0x168):return Direction['NORTH'];case'east':return Direction[s(0x159)];case s(0x141):return Direction['EAST'];case'up':return Direction['DOWN'];case'down':return Direction['UP'];default:throw new Error(s(0x137)+a);}}[a50i(0x14a)](a){const t=a50i;for(const b of this[t(0x148)][t(0x165)]()){if(b instanceof Door){if(b[t(0x160)]===this&&b[t(0x138)]===a||b[t(0x138)]===this&&b[t(0x160)]===a)return b;}}return undefined;}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x119))/0x1*(-parseInt(f(0x12f))/0x2)+parseInt(f(0x11e))/0x3+parseInt(f(0x113))/0x4+parseInt(f(0x11b))/0x5+parseInt(f(0x10c))/0x6*(parseInt(f(0x109))/0x7)+parseInt(f(0x131))/0x8*(parseInt(f(0x12a))/0x9)+-parseInt(f(0xfe))/0xa*(parseInt(f(0x13c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x83e51));function a50c(){const u=['\x20is\x20locked.\x20Result:\x20','speak','No\x20locked\x20exit\x20found\x20in\x20direction\x20','east','down','119896NuhHyM','toString','roomA','SOUTH','removeItem','description','957875MjHPjT','Checking\x20if\x20exit\x20in\x20direction\x20','479695xOxHsV','puzzle','inventory','1456776VGderg','hasItem','attemptUnlock','get','isStartRoom','logger','findExistingDoor','The\x20','INSIDE','addItem','Item\x20added\x20to\x20room\x20','WEST','4401AbdYEV','.\x20Success:\x20','constructor','exits','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','2qOyDKa','south','3840qNgZrj','roomB','apply','emit','search','values','(((.+)+)+)+$','say','EAST','west','write','1254rarhnL','getExit','183410ODMfrA','addExit','name','attemptUnlockExit','roomType','set','getOppositeDirection','setPuzzle','Invalid\x20direction:\x20','\x20unlocked!','DOWN','49oohUTZ','Puzzle\x20set\x20for\x20room\x20','isExitLocked','708870DCavwX','\x20remains\x20locked.'];a50c=function(){return u;};return a50c();}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x114)]()[h(0x135)](h(0x137))[h(0x114)]()[h(0x12c)](a50a)[h(0x135)](h(0x137));});function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xfe;let f=c[d];return f;},a50d(a,b);}a50a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a50i(0x123)]=Logger['getInstance']();[a50i(0x100)];[a50i(0x118)];['exits']=new Map();[a50i(0x102)];[a50i(0x122)];[a50i(0x11d)]=new Inventory();constructor(a){const j=a50i;super(),this[j(0x100)]=a[j(0x100)],this[j(0x118)]=a[j(0x118)],this[j(0x102)]=a[j(0x102)]||RoomType[j(0x126)],a['exits']&&(this[j(0x12d)]=a[j(0x12d)]||new Map()),a[j(0x11d)]&&(this[j(0x11d)]=a[j(0x11d)]),a['puzzle']&&(this['puzzle']=a[j(0x11c)]),this[j(0x122)]=a[j(0x122)]||![],this[j(0x123)][j(0x13b)]('Room\x20created:\x20'+this['name']);}[a50i(0x138)](a,b){const k=a50i;this[k(0x134)](k(0x10f),a,b);}[a50i(0xff)](a,b,c){const l=a50i;let d=this[l(0x124)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x12d)][l(0x103)](a,d),b[l(0x12d)][l(0x103)](this[l(0x104)](a),d);}[a50i(0x101)](a,b){const m=a50i,c=this['exits']['get'](a);if(c instanceof Door){const d=c[m(0x120)](b);return this[m(0x123)][m(0x13b)](m(0x12e)+a+m(0x12b)+d),d?'The\x20'+c[m(0x100)]+m(0x107):m(0x125)+c['name']+m(0x10d);}return this[m(0x123)]['write'](m(0x110)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a50i(0x13d)](a){const n=a50i;return this[n(0x123)]['write']('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0x12d)][n(0x121)](a);}[a50i(0x10b)](a){const o=a50i,b=this[o(0x12d)][o(0x121)](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0x123)][o(0x13b)](o(0x11a)+a+o(0x10e)+c),c;}['addItem'](a){const p=a50i;this[p(0x11d)][p(0x127)](a),this[p(0x123)][p(0x13b)](p(0x128)+this['name']+':\x20'+a[p(0x100)]);}[a50i(0x117)](a){const q=a50i;this[q(0x11d)][q(0x11f)](a['name'])?(this['inventory'][q(0x117)](a[q(0x100)]),this[q(0x123)][q(0x13b)]('Item\x20removed\x20from\x20room\x20'+this[q(0x100)]+':\x20'+a[q(0x100)])):this['logger'][q(0x13b)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0x100)]+':\x20'+a[q(0x100)]);}[a50i(0x105)](a){const r=a50i;this[r(0x11c)]=a,this[r(0x123)][r(0x13b)](r(0x10a)+this[r(0x100)]+':\x20'+a['riddle']);}[a50i(0x104)](a){const s=a50i;switch(a){case'north':return Direction[s(0x116)];case s(0x130):return Direction['NORTH'];case s(0x111):return Direction[s(0x129)];case s(0x13a):return Direction[s(0x139)];case'up':return Direction[s(0x108)];case s(0x112):return Direction['UP'];default:throw new Error(s(0x106)+a);}}[a50i(0x124)](a){const t=a50i;for(const b of this[t(0x12d)][t(0x136)]()){if(b instanceof Door){if(b[t(0x115)]===this&&b[t(0x132)]===a||b[t(0x132)]===this&&b['roomA']===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(0x148))/0x1+-parseInt(i(0x176))/0x2*(-parseInt(i(0x153))/0x3)+-parseInt(i(0x144))/0x4*(-parseInt(i(0x15b))/0x5)+-parseInt(i(0x181))/0x6*(-parseInt(i(0x18b))/0x7)+-parseInt(i(0x13c))/0x8*(-parseInt(i(0x13f))/0x9)+-parseInt(i(0x159))/0xa*(parseInt(i(0x16b))/0xb)+parseInt(i(0x152))/0xc*(-parseInt(i(0x158))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xdd223));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0x171)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a[k(0x15c)]()[k(0x15e)](k(0x178))['toString']()['constructor'](a51a)[k(0x15e)](k(0x178));});a51a();import{Logger}from'../utilities/logger.js';function a51c(){const D=['delete','addRoom','player','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','51090riTfCk','Failed\x20to\x20add\x20item\x20','addExit','Failed\x20to\x20add\x20puzzle.\x20Room\x20','length','Room\x20\x22','\x22\x20does\x20not\x20exist.','Added\x20item\x20','allActors','\x27s\x20location.\x20Room\x20','427Rldmwb','getPlayer','characterLocations','11992JmdwyY','\x20found\x20in\x20the\x20scene.','values','54bfNVrj','connectRooms','Added\x20room\x20to\x20scene:\x20','setCharacterLocation','Removed\x20room\x20from\x20scene:\x20','29884cJTHDL','Failed\x20to\x20set\x20','No\x20actor\x20with\x20name\x20','from','693755gphhBO','addPuzzleToRoom','determineStartRoom','Actor\x20with\x20name\x20','logger','removeRoom','direction','\x20is\x20now\x20in\x20room\x20','roomConfiguration','keys','1313136iqwHlI','52506vRcGoO','Scene\x20initialized\x20with\x20rooms:\x20','createExitsFromConfig','\x20already\x20exists\x20in\x20the\x20scene.','Added\x20puzzle\x20to\x20room\x20','234mgblnz','960ztNWfD','\x20to\x20room\x20','855CBCsoc','toString','actors','search','set','removeActor','rooms','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','addActor','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','has','generateRoomsFromConfig','\x20not\x20found\x20in\x20scene.','hasOwnProperty','currentLocation','toUpperCase','67243rCSJUW','addItemToRoom','addItem','join','getCharacterLocation','setPuzzle','apply','initialize','targetRoom','getInstance','write','110ObntYR','exits','(((.+)+)+)+$','roomFactory','name','get','getActor'];a51c=function(){return D;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x13b;let f=c[d];return f;},a51d(a,b);}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];[a51l(0x17f)];[a51l(0x14c)];[a51l(0x15d)];['characterLocations']=new Map();[a51l(0x179)];constructor(a){const m=a51l;super(),this['roomFactory']=new RoomFactory(),this[m(0x17f)]=a[m(0x17f)],this[m(0x161)]=this[m(0x166)](a[m(0x150)]),this[m(0x14c)]=Logger[m(0x174)](),this['actors']=new Map(),this[m(0x155)](a['roomConfiguration']),this[m(0x14c)][m(0x175)](m(0x154)+Object[m(0x151)](this[m(0x161)])[m(0x16e)](',\x20'));}[a51l(0x172)](){const n=a51l;this[n(0x17f)][n(0x169)]=this[n(0x14a)]();}['generateRoomsFromConfig'](a){const o=a51l;if(!this['roomFactory'])throw new Error(o(0x164));const b={};for(const c of a){const d=this[o(0x179)]['createRoom'](c);b[c[o(0x17a)]]=d;}return b;}[a51l(0x155)](a){const p=a51l;for(const b of a){const c=this[p(0x161)][b['name']];if(b['exits'])for(const d of b[p(0x177)]){const e=d[p(0x14e)][p(0x16a)](),f=d[p(0x173)],g=d['keyRequired'],h=this[p(0x161)][f];h&&c['addExit'](Direction[e],h,g);}}}[a51l(0x163)](a){const q=a51l;if(this[q(0x15d)][q(0x165)](a[q(0x17a)]))throw new Error(q(0x14b)+a[q(0x17a)]+q(0x156));this[q(0x15d)][q(0x15f)](a[q(0x17a)],a);}[a51l(0x160)](a){const r=a51l;if(!this[r(0x15d)][r(0x165)](a))throw new Error(r(0x146)+a+r(0x13d));this[r(0x15d)][r(0x17d)](a);}[a51l(0x17c)](a){const s=a51l;return this[s(0x15d)][s(0x17b)](a);}get[a51l(0x189)](){const t=a51l;return Array[t(0x147)](this[t(0x15d)][t(0x13e)]());}[a51l(0x17e)](a){const u=a51l;this[u(0x161)][a[u(0x17a)]]=a,this[u(0x14c)][u(0x175)](u(0x141)+a[u(0x17a)]);}[a51l(0x14d)](a){const v=a51l;return this['rooms'][a]?(delete this[v(0x161)][a],this[v(0x14c)]['write'](v(0x143)+a),!![]):(this['logger'][v(0x175)](v(0x162)+a),![]);}[a51l(0x16c)](a,b){const w=a51l,c=this[w(0x161)][b];c?(c[w(0x16d)](a),this[w(0x14c)]['write'](w(0x188)+a[w(0x17a)]+w(0x15a)+c[w(0x17a)])):this[w(0x14c)][w(0x175)](w(0x182)+a[w(0x17a)]+'.\x20Room\x20'+b+w(0x167));}[a51l(0x149)](a,b){const x=a51l,c=this[x(0x161)][b];c?(c[x(0x170)](a),this['logger'][x(0x175)](x(0x157)+c['name'])):this[x(0x14c)][x(0x175)](x(0x184)+b+x(0x167));}[a51l(0x142)](a,b){const y=a51l,c=this[y(0x161)][b];c?(this[y(0x13b)][y(0x15f)](a[y(0x17a)],c),this[y(0x14c)]['write'](a['name']+y(0x14f)+c['name'])):this[y(0x14c)]['write'](y(0x145)+a[y(0x17a)]+y(0x18a)+b+y(0x167));}[a51l(0x16f)](a){const z=a51l;return this['characterLocations'][z(0x17b)](a[z(0x17a)]);}[a51l(0x14a)](){const A=a51l,a=[];for(const c in this[A(0x161)]){if(this[A(0x161)][A(0x168)](c)){const d=this[A(0x161)][c];d['isStartRoom']&&a['push'](d);}}if(a['length']>0x1)throw new Error(A(0x180));if(a['length']===0x1)return a[0x0];const b=Object['keys'](this['rooms']);if(b[A(0x185)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console['warn']('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0x161)][b[0x0]];}[a51l(0x18c)](){const B=a51l;return this[B(0x17f)];}['getRooms'](){return this['rooms'];}[a51l(0x140)](a,b,c,d){const C=a51l,e=this[C(0x161)][a],f=this['rooms'][c];if(!e)throw new Error(C(0x186)+a+C(0x187));if(!f)throw new Error('Room\x20\x22'+c+C(0x187));e[C(0x183)](b,f,d);}}
1
+ function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x6e;let f=c[d];return f;},a51d(a,b);}const a51l=a51d;(function(a,b){const i=a51d,c=a();while(!![]){try{const d=parseInt(i(0xa9))/0x1+parseInt(i(0x7b))/0x2*(parseInt(i(0x6e))/0x3)+parseInt(i(0x71))/0x4+parseInt(i(0x85))/0x5*(parseInt(i(0xa7))/0x6)+-parseInt(i(0x7f))/0x7+-parseInt(i(0xa6))/0x8*(parseInt(i(0x7c))/0x9)+-parseInt(i(0xa8))/0xa*(-parseInt(i(0xb3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x8cb5f));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a[k(0x6f)]()[k(0xa5)](k(0x9c))[k(0x6f)]()['constructor'](a51a)[k(0xa5)](k(0x9c));});a51a();import{Logger}from'../utilities/logger.js';function a51c(){const E=['addRoom','characterLocations','\x20to\x20room\x20','addItemToRoom','initialize','length','logger','from','direction','getActor','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','createExitsFromConfig','addExit','delete','has','targetRoom','addItem','hasOwnProperty','Failed\x20to\x20set\x20','(((.+)+)+)+$','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','createRoom','Added\x20item\x20','getInstance','determineStartRoom','keyRequired','getRooms','rooms','search','40oSRpxj','6osGriY','10lVqXoj','1102288WieKkY','Room\x20\x22','keys','removeActor','Scene\x20initialized\x20with\x20rooms:\x20','getPlayer','set','roomConfiguration','\x20found\x20in\x20the\x20scene.','get','2032327vmKaoD','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','join','addPuzzleToRoom','Added\x20room\x20to\x20scene:\x20','Failed\x20to\x20add\x20item\x20','addActor','setCharacterLocation','5625ulZfYq','toString','player','64884kJzVEi','values','name','No\x20actor\x20with\x20name\x20','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','Failed\x20to\x20add\x20puzzle.\x20Room\x20','generateRoomsFromConfig','allActors','Actor\x20with\x20name\x20','toUpperCase','2UvTeIE','1519029LerUTu','connectRooms','write','223209yMooeF','actors','\x27s\x20location.\x20Room\x20','roomFactory','push','\x22\x20does\x20not\x20exist.','735010RslIvI','Added\x20puzzle\x20to\x20room\x20','\x20not\x20found\x20in\x20scene.','apply'];a51c=function(){return E;};return a51c();}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a51l(0xa4)];[a51l(0x70)];['logger'];[a51l(0x80)];[a51l(0x8a)]=new Map();['roomFactory'];constructor(a){const m=a51l;super(),this[m(0x82)]=new RoomFactory(),this[m(0x70)]=a[m(0x70)],this['rooms']=this[m(0x77)](a[m(0xb0)]),this['logger']=Logger[m(0xa0)](),this[m(0x80)]=new Map(),this[m(0x94)](a[m(0xb0)]),this[m(0x8f)]['write'](m(0xad)+Object[m(0xab)](this[m(0xa4)])[m(0xb5)](',\x20'));}[a51l(0x8d)](){const n=a51l;this['player']['currentLocation']=this[n(0xa1)]();}['generateRoomsFromConfig'](a){const o=a51l;if(!this[o(0x82)])throw new Error(o(0x75));const b={};for(const c of a){const d=this[o(0x82)][o(0x9e)](c);b[c['name']]=d;}return b;}[a51l(0x94)](a){const p=a51l;for(const b of a){const c=this[p(0xa4)][b[p(0x73)]];if(b['exits'])for(const d of b['exits']){const e=d[p(0x91)][p(0x7a)](),f=d[p(0x98)],g=d[p(0xa2)],h=this[p(0xa4)][f];h&&c[p(0x95)](Direction[e],h,g);}}}[a51l(0xb9)](a){const q=a51l;if(this[q(0x80)][q(0x97)](a[q(0x73)]))throw new Error(q(0x79)+a[q(0x73)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x80)][q(0xaf)](a[q(0x73)],a);}[a51l(0xac)](a){const r=a51l;if(!this[r(0x80)]['has'](a))throw new Error(r(0x74)+a+r(0xb1));this[r(0x80)][r(0x96)](a);}[a51l(0x92)](a){const s=a51l;return this[s(0x80)]['get'](a);}get[a51l(0x78)](){const t=a51l;return Array[t(0x90)](this[t(0x80)][t(0x72)]());}[a51l(0x89)](a){const u=a51l;this[u(0xa4)][a[u(0x73)]]=a,this[u(0x8f)]['write'](u(0xb7)+a[u(0x73)]);}['removeRoom'](a){const v=a51l;return this[v(0xa4)][a]?(delete this[v(0xa4)][a],this['logger'][v(0x7e)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0x8f)][v(0x7e)](v(0xb4)+a),![]);}[a51l(0x8c)](a,b){const w=a51l,c=this[w(0xa4)][b];c?(c[w(0x99)](a),this['logger']['write'](w(0x9f)+a[w(0x73)]+w(0x8b)+c['name'])):this['logger'][w(0x7e)](w(0xb8)+a[w(0x73)]+'.\x20Room\x20'+b+w(0x87));}[a51l(0xb6)](a,b){const x=a51l,c=this[x(0xa4)][b];c?(c['setPuzzle'](a),this[x(0x8f)]['write'](x(0x86)+c[x(0x73)])):this[x(0x8f)][x(0x7e)](x(0x76)+b+x(0x87));}[a51l(0xba)](a,b){const y=a51l,c=this[y(0xa4)][b];c?(this[y(0x8a)][y(0xaf)](a[y(0x73)],c),this['logger'][y(0x7e)](a[y(0x73)]+'\x20is\x20now\x20in\x20room\x20'+c[y(0x73)])):this[y(0x8f)]['write'](y(0x9b)+a[y(0x73)]+y(0x81)+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const z=a51l;return this[z(0x8a)][z(0xb2)](a[z(0x73)]);}['determineStartRoom'](){const A=a51l,a=[];for(const c in this[A(0xa4)]){if(this['rooms'][A(0x9a)](c)){const d=this['rooms'][c];d['isStartRoom']&&a[A(0x83)](d);}}if(a['length']>0x1)throw new Error(A(0x93));if(a[A(0x8e)]===0x1)return a[0x0];const b=Object[A(0xab)](this['rooms']);if(b[A(0x8e)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console['warn'](A(0x9d)),this[A(0xa4)][b[0x0]];}[a51l(0xae)](){const B=a51l;return this[B(0x70)];}[a51l(0xa3)](){const C=a51l;return this[C(0xa4)];}[a51l(0x7d)](a,b,c,d){const D=a51l,e=this[D(0xa4)][a],f=this[D(0xa4)][c];if(!e)throw new Error('Room\x20\x22'+a+D(0x84));if(!f)throw new Error(D(0xaa)+c+D(0x84));e[D(0x95)](b,f,d);}}
@@ -1 +1 @@
1
- var a52j=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x187))/0x1+-parseInt(f(0x173))/0x2*(-parseInt(f(0x16a))/0x3)+parseInt(f(0x165))/0x4*(parseInt(f(0x192))/0x5)+-parseInt(f(0x18f))/0x6*(-parseInt(f(0x162))/0x7)+-parseInt(f(0x17e))/0x8+-parseInt(f(0x171))/0x9+-parseInt(f(0x18e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xda19e));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x16e)]('(((.+)+)+)+$')[h(0x16f)]()[h(0x189)](a52a)[h(0x16e)](h(0x163));});a52a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x15b;var f=c[d];return f;},a52d(a,b);}import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a52d;super({'name':a,'description':b,'size':Size[i(0x176)],'category':Category[i(0x15e)],'shape':Shape[i(0x175)],'color':Color[i(0x17d)],'texture':Texture[i(0x174)],'rating':Rating['Common'],'weight':0x1});}[a52j(0x17f)](){var k=a52j;return this[k(0x186)];}}export class Sword extends Item{constructor(a,b){var l=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[l(0x164)],'shape':Shape[l(0x16c)],'color':Color[l(0x18d)],'texture':Texture['Metallic'],'rating':Rating[l(0x177)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a52j;super({'name':a,'description':b,'size':Size[m(0x18b)],'category':Category[m(0x164)],'shape':Shape['Rifle'],'color':Color['Brown'],'texture':Texture[m(0x15b)],'rating':Rating[m(0x178)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[n(0x170)],'shape':Shape[n(0x168)],'color':Color[n(0x18d)],'texture':Texture[n(0x15b)],'rating':Rating[n(0x177)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a52j;super({'name':a,'description':b,'size':Size[o(0x18b)],'category':Category['BodyArmor'],'shape':Shape['Rectangle'],'color':Color[o(0x18d)],'texture':Texture[o(0x15b)],'rating':Rating[o(0x177)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a52j;super({'name':a,'description':b,'size':Size[p(0x176)],'category':Category[p(0x169)],'shape':Shape[p(0x175)],'color':Color[p(0x18d)],'texture':Texture[p(0x15b)],'rating':Rating[p(0x177)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a52j;super({'name':a,'description':b,'size':Size[q(0x176)],'category':Category['Boots'],'shape':Shape[q(0x168)],'color':Color[q(0x167)],'texture':Texture[q(0x174)],'rating':Rating[q(0x177)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a52j;super({'name':a,'description':b,'size':Size['Small'],'category':Category[r(0x161)],'shape':Shape[r(0x168)],'color':Color[r(0x167)],'texture':Texture[r(0x174)],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[s(0x181)],'shape':Shape[s(0x175)],'color':Color[s(0x18d)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a52j;super({'name':a,'description':b,'size':Size[t(0x188)],'category':Category[t(0x15d)],'shape':Shape[t(0x175)],'color':Color[t(0x17d)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x0});}[a52j(0x17f)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var u=a52j;super({'name':a,'description':b,'size':Size[u(0x176)],'category':Category[u(0x164)],'shape':Shape[u(0x16c)],'color':Color['Grey'],'texture':Texture[u(0x15b)],'rating':Rating[u(0x177)],'weight':0x3});}[a52j(0x17f)](){var v=a52j;return v(0x180);}}export class Book extends Item{[a52j(0x184)];[a52j(0x191)];[a52j(0x16b)];constructor(a,b=a52j(0x15c),c=a52j(0x190)){var w=a52j;super({'name':a,'description':b,'size':Size[w(0x176)],'category':Category[w(0x17a)],'shape':Shape[w(0x175)],'color':Color[w(0x167)],'texture':Texture[w(0x174)],'rating':Rating[w(0x177)],'weight':0x1}),this[w(0x184)]=c,this[w(0x191)]=new Date(),this[w(0x16b)]=0x64;}[a52j(0x17f)](){var x=a52j;return x(0x182);}}export class ShortSword extends Item{constructor(){var y=a52j;super({'name':y(0x185),'description':y(0x18c),'size':Size[y(0x176)],'category':Category[y(0x164)],'shape':Shape[y(0x16c)],'color':Color[y(0x18d)],'texture':Texture['Metallic'],'rating':Rating[y(0x177)],'weight':0x3});}[a52j(0x17f)](){var z=a52j;return z(0x180);}}export class SniperRifle extends Item{constructor(){var A=a52j;super({'name':A(0x18a),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[A(0x18b)],'category':Category[A(0x164)],'shape':Shape[A(0x17b)],'color':Color[A(0x167)],'texture':Texture[A(0x174)],'rating':Rating[A(0x177)],'weight':0x5});}[a52j(0x17f)](){var B=a52j;return B(0x183);}}function a52c(){var E=['3981380FcEEdd','30RkCtYm','Unknown\x20Author','publishDate','16960ZtbUfa','Metallic','A\x20mysterious\x20book.','Key','Unknown','Gold','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Gloves','2489095xCSoKR','(((.+)+)+)+$','Weapon','512WxbzyC','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Brown','Circle','LegArmor','33QpzNdK','pageCount','Blade','apply','search','toString','Helmet','630099MDLWax','Cup','92300xPHPGh','Smooth','Rectangle','Medium','Common','Rare','Small','Book','Rifle','name','Yellow','4103408pbenNc','use','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','ArmArmor','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','author','Short\x20Sword','description','845334PMQBwg','Tiny','constructor','Sniper\x20Rifle','Large','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Grey'];a52c=function(){return E;};return a52c();}export class HolyGrail extends Item{constructor(){var C=a52j;super({'name':'Holy\x20Grail','description':C(0x166),'size':Size[C(0x179)],'category':Category[C(0x172)],'shape':Shape[C(0x168)],'color':Color[C(0x15f)],'texture':Texture[C(0x15b)],'rating':Rating['Legendary'],'weight':0x1});}['use'](){var D=a52j;return'You\x20hold\x20the\x20'+this[D(0x17c)]+D(0x160);}}
1
+ var a52j=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x15c))/0x1+parseInt(f(0x16b))/0x2*(parseInt(f(0x16e))/0x3)+-parseInt(f(0x150))/0x4+parseInt(f(0x13f))/0x5+-parseInt(f(0x145))/0x6+-parseInt(f(0x148))/0x7+parseInt(f(0x13e))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x3b91f));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x155)]()[h(0x15a)]('(((.+)+)+)+$')[h(0x155)]()[h(0x164)](a52a)['search'](h(0x163));});a52a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x13e;var f=c[d];return f;},a52d(a,b);}import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a52d;super({'name':a,'description':b,'size':Size[i(0x165)],'category':Category[i(0x14b)],'shape':Shape['Rectangle'],'color':Color[i(0x160)],'texture':Texture[i(0x162)],'rating':Rating[i(0x16f)],'weight':0x1});}[a52j(0x14e)](){var k=a52j;return this[k(0x170)];}}export class Sword extends Item{constructor(a,b){var l=a52j;super({'name':a,'description':b,'size':Size[l(0x165)],'category':Category[l(0x169)],'shape':Shape[l(0x16d)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[l(0x16f)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a52j;super({'name':a,'description':b,'size':Size[m(0x142)],'category':Category[m(0x169)],'shape':Shape[m(0x167)],'color':Color[m(0x14d)],'texture':Texture['Metallic'],'rating':Rating[m(0x15f)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a52j;super({'name':a,'description':b,'size':Size[n(0x165)],'category':Category['Helmet'],'shape':Shape[n(0x154)],'color':Color['Grey'],'texture':Texture[n(0x171)],'rating':Rating[n(0x16f)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a52j;super({'name':a,'description':b,'size':Size[o(0x142)],'category':Category[o(0x141)],'shape':Shape[o(0x157)],'color':Color['Grey'],'texture':Texture[o(0x171)],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a52j;super({'name':a,'description':b,'size':Size[p(0x165)],'category':Category[p(0x144)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[p(0x171)],'rating':Rating['Common'],'weight':0x6});}}function a52c(){var D=['name','Blade','48kyGIhp','Common','description','Metallic','2123944VgJekZ','1508635BpOdJm','pageCount','BodyArmor','Large','Grey','LegArmor','285318ZfTOsO','Boots','Small','1297359mezfJN','Key','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Unknown','Legendary','Brown','use','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','1268624TFbHGf','Holy\x20Grail','apply','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Circle','toString','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Rectangle','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','publishDate','search','ArmArmor','127673Zyyhqb','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','author','Rare','Yellow','You\x20hold\x20the\x20','Smooth','(((.+)+)+)+$','constructor','Medium','Gold','Rifle','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Weapon','A\x20mysterious\x20book.','12394leGuwy'];a52c=function(){return D;};return a52c();}export class Boots extends Item{constructor(a,b){var q=a52j;super({'name':a,'description':b,'size':Size[q(0x165)],'category':Category[q(0x146)],'shape':Shape['Circle'],'color':Color[q(0x14d)],'texture':Texture['Smooth'],'rating':Rating[q(0x16f)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a52j;super({'name':a,'description':b,'size':Size[r(0x147)],'category':Category['Gloves'],'shape':Shape[r(0x154)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating[r(0x16f)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a52j;super({'name':a,'description':b,'size':Size[s(0x165)],'category':Category[s(0x15b)],'shape':Shape['Rectangle'],'color':Color[s(0x143)],'texture':Texture[s(0x171)],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a52j;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category[t(0x149)],'shape':Shape[t(0x157)],'color':Color[t(0x160)],'texture':Texture[t(0x162)],'rating':Rating['Common'],'weight':0x0});}[a52j(0x14e)](){var u=a52j;return u(0x168);}}export class Weapon extends Item{constructor(a,b){var v=a52j;super({'name':a,'description':b,'size':Size[v(0x165)],'category':Category['Weapon'],'shape':Shape[v(0x16d)],'color':Color[v(0x143)],'texture':Texture[v(0x171)],'rating':Rating['Common'],'weight':0x3});}[a52j(0x14e)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class Book extends Item{[a52j(0x15e)];[a52j(0x159)];['pageCount'];constructor(a,b=a52j(0x16a),c='Unknown\x20Author'){var w=a52j;super({'name':a,'description':b,'size':Size[w(0x165)],'category':Category['Book'],'shape':Shape[w(0x157)],'color':Color[w(0x14d)],'texture':Texture[w(0x162)],'rating':Rating[w(0x16f)],'weight':0x1}),this[w(0x15e)]=c,this[w(0x159)]=new Date(),this[w(0x140)]=0x64;}['use'](){var x=a52j;return x(0x158);}}export class ShortSword extends Item{constructor(){var y=a52j;super({'name':'Short\x20Sword','description':y(0x14f),'size':Size['Medium'],'category':Category['Weapon'],'shape':Shape['Blade'],'color':Color[y(0x143)],'texture':Texture['Metallic'],'rating':Rating[y(0x16f)],'weight':0x3});}[a52j(0x14e)](){var z=a52j;return z(0x15d);}}export class SniperRifle extends Item{constructor(){var A=a52j;super({'name':'Sniper\x20Rifle','description':A(0x14a),'size':Size[A(0x142)],'category':Category[A(0x169)],'shape':Shape[A(0x167)],'color':Color[A(0x14d)],'texture':Texture[A(0x162)],'rating':Rating['Common'],'weight':0x5});}['use'](){return'You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22';}}export class HolyGrail extends Item{constructor(){var B=a52j;super({'name':B(0x151),'description':B(0x153),'size':Size['Small'],'category':Category['Cup'],'shape':Shape[B(0x154)],'color':Color[B(0x166)],'texture':Texture[B(0x171)],'rating':Rating[B(0x14c)],'weight':0x1});}[a52j(0x14e)](){var C=a52j;return C(0x161)+this[C(0x16c)]+C(0x156);}}