@maka/maka-cli 4.7.1 → 4.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/kit.js +1 -1
  109. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  110. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  112. package/bundle/obf/src/generators/layout.js +1 -1
  113. package/bundle/obf/src/generators/maka.gen.js +1 -1
  114. package/bundle/obf/src/generators/methods.js +1 -1
  115. package/bundle/obf/src/generators/package.js +1 -1
  116. package/bundle/obf/src/generators/page.js +1 -1
  117. package/bundle/obf/src/generators/publish.js +1 -1
  118. package/bundle/obf/src/generators/route.js +1 -1
  119. package/bundle/obf/src/generators/service.js +1 -1
  120. package/bundle/obf/src/generators/services/_index.js +1 -1
  121. package/bundle/obf/src/generators/services/openssl.js +1 -1
  122. package/bundle/obf/src/generators/services/translation.js +1 -1
  123. package/bundle/obf/src/maka.js +1 -1
  124. package/bundle/obf/src/tool.js +1 -1
  125. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  126. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  127. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  129. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  131. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/https/https.class.js +1 -1
  133. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  134. package/bundle/obf/src/tools/log/log.class.js +1 -1
  135. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/options/options.class.js +1 -1
  137. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  138. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  139. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  141. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  142. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  143. package/package.json +1 -1
@@ -1 +1 @@
1
- const a37i=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x1d6))/0x1*(parseInt(f(0x1ee))/0x2)+parseInt(f(0x1e8))/0x3*(-parseInt(f(0x1e6))/0x4)+parseInt(f(0x1d7))/0x5*(parseInt(f(0x1e5))/0x6)+parseInt(f(0x1e3))/0x7+parseInt(f(0x1e0))/0x8*(parseInt(f(0x1d8))/0x9)+-parseInt(f(0x1ef))/0xa*(-parseInt(f(0x1ec))/0xb)+parseInt(f(0x1dd))/0xc*(-parseInt(f(0x1dc))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x9b2b3));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x1db)]()[h(0x1e2)]('(((.+)+)+)+$')[h(0x1db)]()[h(0x1d9)](a37a)[h(0x1e2)](h(0x1f0));});function a37c(){const k=['1130582vIHfjP','10PGLaGQ','(((.+)+)+)+$','write','1kBoDGi','5TNgwOJ','18odIHMU','constructor','apply','toString','1612nWdfLK','212172eSPIrK','logger','actor','2870872AxDlLU','length','search','1412936SUkYNX','description','1325670VrjGVn','10524yMEOJm','execute','18ghSVZH','SearchCommand:\x20','\x20found\x20the\x20following\x20items:\x20','name','12517989umXWjL','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.'];a37c=function(){return k;};return a37c();}a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']='search';static [a37i(0x1e4)]='Search\x20for\x20items\x20in\x20your\x20area';[a37i(0x1e7)](){const j=a37i,a=this[j(0x1df)]['currentLocation']['inventory']['listItems']();if(a[j(0x1e1)]===0x0)return this[j(0x1de)][j(0x1f1)](j(0x1e9)+this[j(0x1df)][j(0x1eb)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0x1ed);const b=a['join'](',\x20');return this['logger'][j(0x1f1)](j(0x1e9)+this['actor'][j(0x1eb)]+j(0x1ea)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
1
+ const a37i=a37d;function a37c(){const k=['inventory','listItems','length','1098ftytxj','Search\x20for\x20items\x20in\x20your\x20area','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','3CPIPPi','580131SXquwF','You\x20search\x20the\x20area\x20and\x20find:\x20','(((.+)+)+)+$','logger','constructor','2386460fKDNnt','1026290DPxeqi','197974dXXXXL','4494jzDLRl','SearchCommand:\x20','name','657827IgTzVs','join','search','apply','24UXBvoF','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','toString','312460wXbBrw','write','actor','execute','121AAsrDh'];a37c=function(){return k;};return a37c();}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x183))/0x1+parseInt(f(0x17f))/0x2+-parseInt(f(0x177))/0x3*(parseInt(f(0x17d))/0x4)+parseInt(f(0x18a))/0x5+-parseInt(f(0x192))/0x6*(-parseInt(f(0x180))/0x7)+parseInt(f(0x187))/0x8*(parseInt(f(0x178))/0x9)+parseInt(f(0x17e))/0xa*(parseInt(f(0x18e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x54ac3));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x189)]()[h(0x185)](h(0x17a))['toString']()[h(0x17c)](a37a)[h(0x185)](h(0x17a));});a37a();import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x177;let f=c[d];return f;},a37d(a,b);}export class SearchCommand extends Command{static ['verb']=a37i(0x185);static ['description']=a37i(0x193);[a37i(0x18d)](){const j=a37i,a=this[j(0x18c)]['currentLocation'][j(0x18f)][j(0x190)]();if(a[j(0x191)]===0x0)return this[j(0x17b)][j(0x18b)]('SearchCommand:\x20'+this[j(0x18c)]['name']+j(0x194)),j(0x188);const b=a[j(0x184)](',\x20');return this[j(0x17b)][j(0x18b)](j(0x181)+this['actor'][j(0x182)]+'\x20found\x20the\x20following\x20items:\x20'+b),j(0x179)+b;}}
@@ -1 +1 @@
1
- const a38i=a38d;function a38c(){const k=['message','8RmtWdZ','execute','rewardItem','1966563vOspFp','search','actor','constructor','toLowerCase','54ZIEwJG','success','250566XDyscF','4eVEhAO','currentLocation','solve','SolveCommand:\x20','568372kYWUIY','6780AeIDxY','write','apply','Attempt\x20to\x20solve\x20a\x20puzzle.','3563340cuXPIj','inventory','puzzle','15hnjDrg','(((.+)+)+)+$','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','logger','763020tpnShq','addItem','2001CoxeKy','toString'];a38c=function(){return k;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a38d(a,b);}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x1df))/0x1*(-parseInt(f(0x1d7))/0x2)+-parseInt(f(0x1ec))/0x3*(parseInt(f(0x1da))/0x4)+-parseInt(f(0x1e6))/0x5*(-parseInt(f(0x1d9))/0x6)+parseInt(f(0x1de))/0x7+-parseInt(f(0x1ef))/0x8*(parseInt(f(0x1f2))/0x9)+parseInt(f(0x1ea))/0xa+parseInt(f(0x1e3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x31ec7));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1e1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x1f3)](h(0x1e7))[h(0x1ed)]()[h(0x1d5)](a38a)['search']('(((.+)+)+)+$');});a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static ['verb']=a38i(0x1dc);static ['description']=a38i(0x1e2);[a38i(0x1f0)](a){const j=a38i,b=a['join']('\x20')[j(0x1d6)](),c=this[j(0x1d4)][j(0x1db)];if(!c||!c[j(0x1e5)])return this['logger'][j(0x1e0)](j(0x1e8)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c['puzzle'][j(0x1dc)](b,this[j(0x1d4)][j(0x1e4)]);return d[j(0x1d8)]&&c['puzzle']['rewardItem']&&this[j(0x1d4)][j(0x1e4)][j(0x1eb)](c[j(0x1e5)][j(0x1f1)]),this[j(0x1e9)][j(0x1e0)](j(0x1dd)+d[j(0x1ee)]),d[j(0x1ee)];}}
1
+ const a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x190))/0x1+-parseInt(f(0x181))/0x2*(parseInt(f(0x18d))/0x3)+parseInt(f(0x18e))/0x4*(parseInt(f(0x197))/0x5)+parseInt(f(0x183))/0x6*(parseInt(f(0x193))/0x7)+-parseInt(f(0x18c))/0x8+parseInt(f(0x189))/0x9*(-parseInt(f(0x19d))/0xa)+parseInt(f(0x198))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x1ecad));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0x17e)]()[g(0x188)]('(((.+)+)+)+$')[g(0x17e)]()[g(0x194)](a38a)[g(0x188)]('(((.+)+)+)+$');});function a38c(){const j=['293577jWnZZZ','4ttRIqM','SolveCommand:\x20','232187hSsrOy','toLowerCase','puzzle','4886XJbTDB','constructor','logger','solve','349485yFAALb','2868085wmMzqE','execute','message','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','description','10nyQAnJ','toString','join','actor','2kfuyKy','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','588hTTwJP','addItem','verb','success','write','search','2092491jEohmt','rewardItem','inventory','1397920smUEiV'];a38c=function(){return j;};return a38c();}a38a();import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x17e;let f=c[d];return f;},a38d(a,b);}export class SolveCommand extends Command{static [a38h(0x185)]=a38h(0x196);static [a38h(0x19c)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a38h(0x199)](a){const i=a38h,b=a[i(0x17f)]('\x20')[i(0x191)](),c=this[i(0x180)]['currentLocation'];if(!c||!c[i(0x192)])return this[i(0x195)][i(0x187)](i(0x19b)),i(0x182);const d=c['puzzle'][i(0x196)](b,this[i(0x180)][i(0x18b)]);return d[i(0x186)]&&c[i(0x192)][i(0x18a)]&&this[i(0x180)][i(0x18b)][i(0x184)](c[i(0x192)]['rewardItem']),this['logger']['write'](i(0x18f)+d[i(0x19a)]),d['message'];}}
@@ -1 +1 @@
1
- function a39c(){const k=['join','inventory','10664UaZPIU','take','Successfully\x20removed\x20\x22','execute','104snsWKg','\x22\x20not\x20found\x20in\x20','search','2933810wlcQMD','logger','\x22\x20from\x20','1511916SZaakF','22686EvDSdK','\x20during\x20\x27Take\x27\x20command.','\x22\x20not\x20retrieved\x20from\x20','Item\x20\x22','hasItem','5233900dBqaNo','1773yxAyMF','Pick\x20up\x20an\x20item.','96445jybozG','\x22\x20to\x20','write','Error\x20during\x20\x27Take\x27\x20command:\x20','constructor','verb','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','toString','42qhiRAx','description','You\x20have\x20taken\x20the\x20','actor','\x22\x20in\x20this\x20room.','name','The\x20item\x20\x22','6OLHzds','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','getItem','removeItem','(((.+)+)+)+$','There\x20is\x20no\x20item\x20\x22','7137691rqYZAa'];a39c=function(){return k;};return a39c();}const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x17d))/0x1*(-parseInt(f(0x198))/0x2)+-parseInt(f(0x197))/0x3+-parseInt(f(0x191))/0x4*(-parseInt(f(0x1a0))/0x5)+parseInt(f(0x184))/0x6*(-parseInt(f(0x19d))/0x7)+-parseInt(f(0x18d))/0x8*(parseInt(f(0x19e))/0x9)+parseInt(f(0x194))/0xa+parseInt(f(0x18a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x63195));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const g=a39d;return a39a['toString']()['search'](g(0x188))[g(0x1a7)]()[g(0x1a4)](a39a)[g(0x193)](g(0x188));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x17d;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39h(0x1a5)]='take';static [a39h(0x17e)]=a39h(0x19f);[a39h(0x190)](a){const i=a39h;return this['logger'][i(0x1a2)](i(0x1a6)+a['join']('\x20')),this[i(0x18e)](a);}[a39h(0x18e)](a){const j=a39h,b=a[j(0x18b)]('\x20')['toLowerCase'](),c=this[j(0x180)]['currentLocation'];if(!c[j(0x18c)][j(0x19c)](b))return this[j(0x195)][j(0x1a2)]('Item\x20\x22'+b+j(0x192)+c[j(0x182)]+j(0x199)),j(0x189)+b+j(0x181);const d=c[j(0x18c)][j(0x186)](b);if(!d)return this[j(0x195)][j(0x1a2)](j(0x19b)+b+j(0x19a)+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x189)+b+j(0x181);try{return this['actor']['addInventory'](d),this[j(0x195)][j(0x1a2)]('Successfully\x20added\x20\x22'+b+j(0x1a1)+this['actor'][j(0x182)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c['inventory'][j(0x187)](b),this[j(0x195)][j(0x1a2)](j(0x18f)+b+j(0x196)+c[j(0x182)]+j(0x185)),j(0x17f)+b+'.';}catch(e){return this[j(0x195)][j(0x1a2)](j(0x1a3)+e['message']),j(0x183)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
1
+ function a39c(){const k=['execute','The\x20item\x20\x22','25482zXekoE','write','(((.+)+)+)+$','210734PgsjoU','join','81UWObcK','\x22\x20to\x20','inventory','message','hasItem','\x22\x20in\x20this\x20room.','toLowerCase','logger','\x20during\x20\x27Take\x27\x20command.','132943qcFsbq','2168HmcENp','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Error\x20during\x20\x27Take\x27\x20command:\x20','Successfully\x20added\x20\x22','take','name','removeItem','There\x20is\x20no\x20item\x20\x22','Successfully\x20removed\x20\x22','addInventory','\x22\x20not\x20found\x20in\x20','2130PkiygI','getItem','search','750740FVEFDo','actor','298802qGUQKJ','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20is\x20too\x20heavy\x20to\x20carry.','constructor','\x22\x20not\x20retrieved\x20from\x20','You\x20have\x20taken\x20the\x20','description','50aUEZsD','toString','\x22\x20from\x20'];a39c=function(){return k;};return a39c();}const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0xdf))/0x1+-parseInt(f(0xd4))/0x2+-parseInt(f(0xeb))/0x3+parseInt(f(0xee))/0x4+-parseInt(f(0xcc))/0x5*(parseInt(f(0xd1))/0x6)+-parseInt(f(0xf0))/0x7+-parseInt(f(0xe0))/0x8*(-parseInt(f(0xd6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x202fa));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xc7;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const g=a39d;return a39a[g(0xcd)]()[g(0xed)](g(0xd3))[g(0xcd)]()[g(0xc8)](a39a)[g(0xed)](g(0xd3));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a39h(0xe4);static [a39h(0xcb)]='Pick\x20up\x20an\x20item.';[a39h(0xcf)](a){const i=a39h;return this[i(0xdd)][i(0xd2)](i(0xf1)+a[i(0xd5)]('\x20')),this[i(0xe4)](a);}[a39h(0xe4)](a){const j=a39h,b=a[j(0xd5)]('\x20')[j(0xdc)](),c=this[j(0xef)]['currentLocation'];if(!c[j(0xd8)][j(0xda)](b))return this[j(0xdd)][j(0xd2)]('Item\x20\x22'+b+j(0xea)+c[j(0xe5)]+j(0xde)),j(0xe7)+b+j(0xdb);const d=c[j(0xd8)][j(0xec)](b);if(!d)return this[j(0xdd)][j(0xd2)]('Item\x20\x22'+b+j(0xc9)+c[j(0xe5)]+j(0xe1)),'There\x20is\x20no\x20item\x20\x22'+b+'\x22\x20in\x20this\x20room.';try{return this[j(0xef)][j(0xe9)](d),this[j(0xdd)][j(0xd2)](j(0xe3)+b+j(0xd7)+this[j(0xef)][j(0xe5)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c['inventory'][j(0xe6)](b),this[j(0xdd)][j(0xd2)](j(0xe8)+b+j(0xce)+c[j(0xe5)]+j(0xe1)),j(0xca)+b+'.';}catch(e){return this[j(0xdd)][j(0xd2)](j(0xe2)+e[j(0xd9)]),j(0xd0)+b+j(0xc7);}}}
@@ -1 +1 @@
1
- const a40h=a40d;function a40c(){const j=['unequip','toString','915606FxtLUd','3422274bdwimY','3151540BAZKqj','actor','4419975fcHFCW','description','1180954NQuEcE','945480YgGLub','(((.+)+)+)+$','UnequipCommand:\x20','8cuafax','search','name','340yNbgBF','\x20unqeuiped\x20','toLowerCase','354921miHGnq','write','logger','4OjXcbW','constructor'];a40c=function(){return j;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x134))/0x1+parseInt(f(0x135))/0x2+-parseInt(f(0x13e))/0x3*(parseInt(f(0x141))/0x4)+-parseInt(f(0x132))/0x5+-parseInt(f(0x146))/0x6+parseInt(f(0x130))/0x7*(-parseInt(f(0x138))/0x8)+-parseInt(f(0x145))/0x9*(-parseInt(f(0x13b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xb1b21));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(0x144)]()[g(0x139)](g(0x136))[g(0x144)]()[g(0x142)](a40a)[g(0x139)]('(((.+)+)+)+$');});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x130;let f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']='unqeuip';static [a40h(0x133)]='Unequip\x20an\x20item.';['execute'](a){const i=a40h,b=a['join']('\x20')[i(0x13d)](),c=this[i(0x131)][i(0x143)](b);return this[i(0x140)][i(0x13f)](i(0x137)+this[i(0x131)][i(0x13a)]+i(0x13c)+c),c;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x86))/0x1*(-parseInt(f(0x7b))/0x2)+parseInt(f(0x74))/0x3+parseInt(f(0x7a))/0x4*(-parseInt(f(0x82))/0x5)+-parseInt(f(0x80))/0x6+-parseInt(f(0x89))/0x7*(-parseInt(f(0x7e))/0x8)+parseInt(f(0x81))/0x9*(-parseInt(f(0x7d))/0xa)+-parseInt(f(0x73))/0xb*(-parseInt(f(0x72))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x34067));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x8c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x83)]()[h(0x8a)](h(0x8b))['toString']()[h(0x84)](a40a)[h(0x8a)](h(0x8b));});function a40c(){const k=['10HqWnZW','2943784MmuXkd','unequip','148554mRLZtN','3827097NkqHeR','5EnZrDL','toString','constructor','join','3QzjEbW','write','\x20unqeuiped\x20','7uzHIaq','search','(((.+)+)+)+$','apply','Unequip\x20an\x20item.','description','133836mWOkiX','242RRmhFL','804666HKyvoL','UnequipCommand:\x20','toLowerCase','logger','unqeuip','actor','913484fCKOvA','6598uTfjgl','name'];a40c=function(){return k;};return a40c();}a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x70;let f=c[d];return f;},a40d(a,b);}export class UnequipCommand extends Command{static ['verb']=a40i(0x78);static [a40i(0x71)]=a40i(0x70);['execute'](a){const j=a40i,b=a[j(0x85)]('\x20')[j(0x76)](),c=this[j(0x79)][j(0x7f)](b);return this[j(0x77)][j(0x87)](j(0x75)+this['actor'][j(0x7c)]+j(0x88)+c),c;}}
@@ -1 +1 @@
1
- const a41k=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xcf;let f=c[d];return f;},a41d(a,b);}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0xf5))/0x1+-parseInt(h(0xd2))/0x2+parseInt(h(0xd9))/0x3*(parseInt(h(0xe9))/0x4)+-parseInt(h(0xe3))/0x5*(-parseInt(h(0xe4))/0x6)+-parseInt(h(0xf2))/0x7*(parseInt(h(0xd5))/0x8)+parseInt(h(0xea))/0x9+-parseInt(h(0xdf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xee8a3));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0xe2)]()[j(0xe0)](j(0xda))['toString']()[j(0xe5)](a41a)[j(0xe0)](j(0xda));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0xd4)]=a41k(0xf1);static [a41k(0xe6)]=a41k(0xd6);[a41k(0xd1)](a){const l=a41k;return this[l(0xf1)](a);}[a41k(0xf1)](a){const m=a41k;if(a['length']===0x0)return this['logger']['error']('UnlockCommand:\x20No\x20target\x20specified.'),m(0xdb);const b=a[0x0][m(0xe1)](),c=this[m(0xe8)][m(0xe7)];if(this['isValidDirection'](b)&&c[m(0xdc)]['has'](b)){const d=c['exits'][m(0xf3)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[m(0xe1)]();if(e&&this[m(0xe8)][m(0xef)][m(0xeb)](e)){const f=this['actor'][m(0xef)][m(0xee)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0xec)]);return this[m(0xde)][m(0xd0)](m(0xcf)+this[m(0xe8)][m(0xec)]+m(0xf4)+b+'.\x20Result:\x20'+g),g;}}return this[m(0xde)][m(0xd0)](m(0xcf)+this['actor'][m(0xec)]+m(0xf0)+b+'.'),m(0xd7);}else return this[m(0xde)][m(0xd0)](m(0xcf)+b+m(0xed)+c[m(0xec)]+'.'),m(0xd8)+b+m(0xdd);}else return this[m(0xde)]['write'](m(0xcf)+b+m(0xed)+c[m(0xec)]+'.'),m(0xd8)+b+m(0xdd);}}function a41c(){const n=['constructor','description','currentLocation','actor','372ZNxPRR','15839460PBDwGH','hasItem','name','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','getItem','inventory','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','unlock','9857036gDCOuA','get','\x20is\x20attempted\x20to\x20unlock\x20','696467tYeHpN','UnlockCommand:\x20','write','execute','2363240pOsFmG','apply','verb','8UAfEfu','Unlock\x20a\x20door.','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','There\x27s\x20no\x20door\x20named\x20\x22','24573OThXvR','(((.+)+)+)+$','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','exits','\x22\x20here.','logger','13915670XNLKnq','search','toLowerCase','toString','135955iuGHUT','384gEgAav'];a41c=function(){return n;};return a41c();}
1
+ const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x171))/0x1+parseInt(h(0x16c))/0x2*(parseInt(h(0x150))/0x3)+-parseInt(h(0x156))/0x4*(-parseInt(h(0x153))/0x5)+-parseInt(h(0x147))/0x6*(parseInt(h(0x15b))/0x7)+-parseInt(h(0x149))/0x8*(-parseInt(h(0x143))/0x9)+parseInt(h(0x146))/0xa+parseInt(h(0x15f))/0xb*(-parseInt(h(0x162))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x35d81));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x143;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x15c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()['search'](j(0x161))[j(0x15e)]()[j(0x14b)](a41a)[j(0x159)]('(((.+)+)+)+$');});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a41c(){const n=['219181FQPDEu','216ZIGgVT','hasItem','currentLocation','256520kXxmTu','1356396GXkVjJ','toLowerCase','112808rcUfwr','\x22\x20here.','constructor','write','verb','inventory','description','6036FIqioQ','.\x20Result:\x20','\x20is\x20attempted\x20to\x20unlock\x20','1817165hlRyxz','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','unlockItemOrSolution','4ZsJUyk','unlock','getItem','search','name','7fEJErP','apply','Unlock\x20a\x20door.','toString','1463lWZXJB','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','(((.+)+)+)+$','11196ppCTJv','UnlockCommand:\x20','execute','exits','actor','logger','isValidDirection','error','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','get','62tZLmei','length','has','There\x27s\x20no\x20door\x20named\x20\x22','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.'];a41c=function(){return n;};return a41c();}export class UnlockCommand extends Command{static [a41k(0x14d)]=a41k(0x157);static [a41k(0x14f)]=a41k(0x15d);[a41k(0x164)](a){const l=a41k;return this[l(0x157)](a);}[a41k(0x157)](a){const m=a41k;if(a[m(0x16d)]===0x0)return this[m(0x167)][m(0x169)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0x154);const b=a[0x0][m(0x148)](),c=this[m(0x166)][m(0x145)];if(this[m(0x168)](b)&&c[m(0x165)][m(0x16e)](b)){const d=c[m(0x165)][m(0x16b)](b);if(d instanceof Door){const e=d[m(0x155)]?.[m(0x148)]();if(e&&this[m(0x166)][m(0x14e)][m(0x144)](e)){const f=this['actor'][m(0x14e)][m(0x158)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0x15a)]);return this[m(0x167)][m(0x14c)](m(0x163)+this['actor'][m(0x15a)]+m(0x152)+b+m(0x151)+g),g;}}return this['logger']['write'](m(0x163)+this[m(0x166)][m(0x15a)]+m(0x16a)+b+'.'),m(0x170);}else return this['logger'][m(0x14c)](m(0x163)+b+m(0x160)+c[m(0x15a)]+'.'),m(0x16f)+b+m(0x14a);}else return this[m(0x167)][m(0x14c)](m(0x163)+b+m(0x160)+c[m(0x15a)]+'.'),m(0x16f)+b+m(0x14a);}}
@@ -1 +1 @@
1
- function a42c(){const j=['Use\x20an\x20item.','\x20in\x20this\x20way.','name','description','544BPBYzW','actor','logger',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','join','\x20not\x20retrieved\x20from\x20','1621100SoyWBP','use','341VJMXSp','7994mkezSS','45QbYIoc','543dDFviN','inventory','10302358qEdgaG','3071616TcLIqg','1598rndKTl','457750FshtiY','toLowerCase','\x20attempted\x20to\x20use\x20','\x27s\x20inventory.','toString','(((.+)+)+)+$','\x20doesn\x27t\x20have\x20a\x20use\x20method.','constructor','9436vAxkjz','\x20to\x20use.','getItem','UseCommand:\x20','You\x20don\x27t\x20have\x20the\x20'];a42c=function(){return j;};return a42c();}function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xe0;let f=c[d];return f;},a42d(a,b);}const a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0xfe))/0x1*(parseInt(f(0xe4))/0x2)+parseInt(f(0xe0))/0x3*(-parseInt(f(0xed))/0x4)+-parseInt(f(0xfc))/0x5+parseInt(f(0xe3))/0x6+-parseInt(f(0xff))/0x7*(-parseInt(f(0xf6))/0x8)+-parseInt(f(0x100))/0x9*(parseInt(f(0xe5))/0xa)+parseInt(f(0xe2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x42ce5));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const g=a42d;return a42a[g(0xe9)]()['search'](g(0xea))[g(0xe9)]()[g(0xec)](a42a)['search'](g(0xea));});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a42h(0xfd);static [a42h(0xf5)]=a42h(0xf2);['execute'](a){return this['use'](a);}[a42h(0xfd)](a){const i=a42h,b=a[i(0xfa)]('\x20')[i(0xe6)]();if(!this['actor'][i(0xe1)]['hasItem'](b))return this[i(0xf8)]['write']('UseCommand:\x20'+this[i(0xf7)][i(0xf4)]+i(0xe7)+b+i(0xf9)),'You\x20don\x27t\x20have\x20the\x20'+b+'\x20to\x20use.';const c=this[i(0xf7)]['inventory'][i(0xef)](b);if(!c)return this[i(0xf8)]['write']('UseCommand:\x20'+b+i(0xfb)+this[i(0xf7)][i(0xf4)]+i(0xe8)),i(0xf1)+b+i(0xee);if(typeof c[i(0xfd)]==='function'){const d=c[i(0xfd)]();return this[i(0xf8)]['write'](i(0xf0)+this[i(0xf7)][i(0xf4)]+'\x20used\x20'+b+'.'),d;}else return this['logger']['write'](i(0xf0)+b+i(0xeb)),'You\x20can\x27t\x20use\x20the\x20'+b+i(0xf3);}}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0xc0))/0x1+-parseInt(f(0xb2))/0x2+-parseInt(f(0xad))/0x3+-parseInt(f(0xb6))/0x4*(parseInt(f(0xbf))/0x5)+-parseInt(f(0xb4))/0x6+parseInt(f(0xaa))/0x7*(-parseInt(f(0xb0))/0x8)+parseInt(f(0xbe))/0x9*(parseInt(f(0xc3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xb5225));function a42c(){const k=['description','3486008rDTrdo','inventory','2901836SMxRMR','logger','8606244KdXJEK','join','6036aCxBmO','You\x20don\x27t\x20have\x20the\x20','\x20not\x20retrieved\x20from\x20','write','execute','\x20attempted\x20to\x20use\x20','You\x20can\x27t\x20use\x20the\x20','hasItem','497151lhUtle','2385xXaBHc','1377451JyjUic','use','name','1370cAcXoo','(((.+)+)+)+$',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','UseCommand:\x20','\x20to\x20use.','function','constructor','verb','toLowerCase','getItem','Use\x20an\x20item.','apply','\x27s\x20inventory.','search','14yhhLnO','actor','toString','2915340yQOvGF','\x20in\x20this\x20way.'];a42c=function(){return k;};return a42c();}function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xa4;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xac)]()[h(0xa9)](h(0xc4))['toString']()[h(0xc9)](a42a)[h(0xa9)](h(0xc4));});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0xca)]=a42i(0xc1);static [a42i(0xaf)]=a42i(0xa6);[a42i(0xba)](a){return this['use'](a);}[a42i(0xc1)](a){const j=a42i,b=a[j(0xb5)]('\x20')[j(0xa4)]();if(!this[j(0xab)][j(0xb1)][j(0xbd)](b))return this[j(0xb3)]['write'](j(0xc6)+this[j(0xab)][j(0xc2)]+j(0xbb)+b+j(0xc5)),j(0xb7)+b+j(0xc7);const c=this[j(0xab)]['inventory'][j(0xa5)](b);if(!c)return this[j(0xb3)][j(0xb9)](j(0xc6)+b+j(0xb8)+this['actor'][j(0xc2)]+j(0xa8)),j(0xb7)+b+j(0xc7);if(typeof c[j(0xc1)]===j(0xc8)){const d=c['use']();return this[j(0xb3)][j(0xb9)](j(0xc6)+this[j(0xab)]['name']+'\x20used\x20'+b+'.'),d;}else return this['logger'][j(0xb9)](j(0xc6)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),j(0xbc)+b+j(0xae);}}
@@ -1 +1 @@
1
- const a43i=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a43d(a,b);}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x1d9))/0x1*(-parseInt(f(0x1de))/0x2)+parseInt(f(0x1df))/0x3*(-parseInt(f(0x1d6))/0x4)+parseInt(f(0x1dd))/0x5+-parseInt(f(0x1d8))/0x6+-parseInt(f(0x1e1))/0x7*(parseInt(f(0x1e7))/0x8)+parseInt(f(0x1da))/0x9+parseInt(f(0x1db))/0xa*(parseInt(f(0x1e0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x5ebdb));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1d5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1e8)]()[h(0x1e5)](h(0x1dc))[h(0x1e8)]()[h(0x1e2)](a43a)['search']('(((.+)+)+)+$');});a43a();export class CommandFactory{static [a43i(0x1e4)]={};static[a43i(0x1e6)](a,b){this['commandMap'][a]=b;}static[a43i(0x1e3)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a43i(0x1d7)](){const j=a43i;return this[j(0x1e4)];}}function a43c(){const k=['createCommand','commandMap','search','registerCommand','1688696NOodRC','toString','apply','8mYUcSR','getAllRegisteredCommands','2246358gNHXjO','235003brwlEy','5424399oRxTcF','5579480ybsykx','(((.+)+)+)+$','884220ntluvB','6qPAPIo','845646adqxpu','33iUOspp','14zmHvZg','constructor'];a43c=function(){return k;};return a43c();}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0xfc))/0x1*(parseInt(f(0xfa))/0x2)+-parseInt(f(0xf8))/0x3*(-parseInt(f(0x106))/0x4)+parseInt(f(0xf7))/0x5+-parseInt(f(0xff))/0x6+parseInt(f(0x104))/0x7+parseInt(f(0xfb))/0x8+parseInt(f(0xfd))/0x9*(-parseInt(f(0x107))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x3d345));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xf7;let f=c[d];return f;},a43d(a,b);}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x100)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x108)]()[h(0x102)](h(0x101))[h(0x108)]()[h(0x103)](a43a)[h(0x102)](h(0x101));});a43a();function a43c(){const l=['2550709jJTCmI','createCommand','60oHPdyV','36350ypraFY','toString','568870QvLJge','45240ycOEzx','commandMap','171042DagqNn','465816wWUtbv','2WuSEtm','63ERwajS','getAllRegisteredCommands','1892448OJdqOQ','apply','(((.+)+)+)+$','search','constructor'];a43c=function(){return l;};return a43c();}export class CommandFactory{static [a43i(0xf9)]={};static['registerCommand'](a,b){this['commandMap'][a]=b;}static[a43i(0x105)](a,b){const j=a43i,c=this[j(0xf9)][a];if(c)return new c(b);return null;}static[a43i(0xfe)](){const k=a43i;return this[k(0xf9)];}}
@@ -1 +1 @@
1
- const a44l=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0xee))/0x1*(parseInt(f(0xf5))/0x2)+parseInt(f(0xdf))/0x3*(-parseInt(f(0xf9))/0x4)+parseInt(f(0xf2))/0x5*(-parseInt(f(0xe4))/0x6)+-parseInt(f(0xfc))/0x7*(parseInt(f(0xfd))/0x8)+parseInt(f(0xdd))/0x9*(parseInt(f(0xed))/0xa)+parseInt(f(0xf6))/0xb*(parseInt(f(0xde))/0xc)+parseInt(f(0xfa))/0xd*(parseInt(f(0xf3))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xbec41));function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xda;let f=c[d];return f;},a44d(a,b);}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xe0)]()[h(0xef)]('(((.+)+)+)+$')['toString']()['constructor'](a44a)['search'](h(0xf0));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a44c(){const o=['createPuzzle','inventory','50VyMvXT','6VHLtPF','search','(((.+)+)+)+$','createItem','826095kjaBDi','849884JbgCVl','items','286152aEPHjW','3559138YQLzWX','apply','puzzle','1008BqDimk','208ANUYHx','bodyarmor','2219PLlTWe','33896ncNylm','type','isStartRoom','INSIDE','description','boots','gauntlets','2067777qIuhTi','48hmlIQh','3168aYEDSP','toString','roomType','book','addItem','6GYDEML','sword','legarmor','rifle','convertToRoomConfig','name','rewardItem'];a44c=function(){return o;};return a44c();}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const i=a44d,b=this[i(0xe8)](a),c=new Room(b);if(a[i(0xf4)]){const d=new Inventory();a[i(0xf4)]['forEach'](e=>{const j=i;d[j(0xe3)](this[j(0xf1)](e));}),c[i(0xec)]=d;}return a['puzzle']&&c['setPuzzle'](this[i(0xeb)](a[i(0xf8)])),c;}['createItem'](a){const k=a44d;switch(a[k(0xfe)]){case'key':return new Key(a[k(0xe9)],a[k(0xda)]);case k(0xe2):return new Book(a[k(0xe9)],a[k(0xda)],a['content']);case k(0xe5):return new Sword(a[k(0xe9)],a[k(0xda)]);case k(0xe7):return new Rifle(a['name'],a['description']);case'helmet':return new Helmet(a[k(0xe9)],a['description']);case k(0xfb):return new BodyArmor(a[k(0xe9)],a[k(0xda)]);case k(0xe6):return new LegArmor(a[k(0xe9)],a[k(0xda)]);case k(0xdb):return new Boots(a[k(0xe9)],a[k(0xda)]);case'gloves':return new Gloves(a[k(0xe9)],a[k(0xda)]);case k(0xdc):return new Gauntlets(a['name'],a[k(0xda)]);default:return new BasicItem(a['name'],a[k(0xda)]);}}[a44l(0xeb)](a){const m=a44l,b=this[m(0xf1)](a[m(0xea)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a44l,b=a['roomType']&&RoomType[a[n(0xe1)]['toUpperCase']()]?RoomType[a['roomType']['toUpperCase']()]:RoomType[n(0x100)];return{'name':a['name'],'description':a[n(0xda)],'isStartRoom':a[n(0xff)],'roomType':b};}}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x1ca))/0x1*(parseInt(f(0x1cd))/0x2)+parseInt(f(0x1db))/0x3+parseInt(f(0x1ed))/0x4*(-parseInt(f(0x1c7))/0x5)+parseInt(f(0x1d0))/0x6*(parseInt(f(0x1e5))/0x7)+-parseInt(f(0x1dc))/0x8+-parseInt(f(0x1e6))/0x9*(-parseInt(f(0x1d6))/0xa)+parseInt(f(0x1e1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xc8eeb));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x1d7)]()[h(0x1da)](h(0x1cc))[h(0x1d7)]()[h(0x1e0)](a44a)[h(0x1da)](h(0x1cc));});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1c6;let f=c[d];return f;},a44d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a44c(){const n=['book','rifle','content','609kZAwYD','9ZSPhKk','INSIDE','puzzle','roomType','apply','bodyarmor','addItem','2008184SWEKcq','name','10nhYUjh','createRoom','convertToRoomConfig','1anHKIt','description','(((.+)+)+)+$','795162HJvnTB','createPuzzle','inventory','88986KRljCa','key','items','toUpperCase','helmet','sword','14265410uYChIA','toString','gauntlets','setPuzzle','search','130584JnnJEs','5927144xJvaVb','isStartRoom','boots','createItem','constructor','2257409Evoyeu'];a44c=function(){return n;};return a44c();}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0x1c8)](a){const j=a44i,b=this[j(0x1c9)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[j(0x1d2)]['forEach'](e=>{const k=j;d[k(0x1ec)](this['createItem'](e));}),c[j(0x1cf)]=d;}return a[j(0x1e8)]&&c[j(0x1d9)](this[j(0x1ce)](a[j(0x1e8)])),c;}[a44i(0x1df)](a){const l=a44i;switch(a['type']){case l(0x1d1):return new Key(a[l(0x1c6)],a[l(0x1cb)]);case l(0x1e2):return new Book(a[l(0x1c6)],a['description'],a[l(0x1e4)]);case l(0x1d5):return new Sword(a[l(0x1c6)],a[l(0x1cb)]);case l(0x1e3):return new Rifle(a[l(0x1c6)],a['description']);case l(0x1d4):return new Helmet(a[l(0x1c6)],a[l(0x1cb)]);case l(0x1eb):return new BodyArmor(a[l(0x1c6)],a[l(0x1cb)]);case'legarmor':return new LegArmor(a[l(0x1c6)],a[l(0x1cb)]);case l(0x1de):return new Boots(a['name'],a[l(0x1cb)]);case'gloves':return new Gloves(a['name'],a[l(0x1cb)]);case l(0x1d8):return new Gauntlets(a[l(0x1c6)],a[l(0x1cb)]);default:return new BasicItem(a['name'],a['description']);}}[a44i(0x1ce)](a){const b=this['createItem'](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const m=a44i,b=a['roomType']&&RoomType[a['roomType']['toUpperCase']()]?RoomType[a[m(0x1e9)][m(0x1d3)]()]:RoomType[m(0x1e7)];return{'name':a[m(0x1c6)],'description':a['description'],'isStartRoom':a[m(0x1dd)],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x1c9))/0x1+-parseInt(h(0x1b4))/0x2*(parseInt(h(0x1cd))/0x3)+-parseInt(h(0x1dc))/0x4+-parseInt(h(0x1ce))/0x5+parseInt(h(0x1ae))/0x6*(-parseInt(h(0x1b6))/0x7)+-parseInt(h(0x1c5))/0x8*(parseInt(h(0x1db))/0x9)+parseInt(h(0x1cf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x21b4b));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x1b5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a['toString']()[j(0x1b7)]('(((.+)+)+)+$')[j(0x1af)]()[j(0x1d9)](a45a)[j(0x1b7)](j(0x1ac));});a45a();import{Scene}from'./models/scene.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1ac;let f=c[d];return f;},a45d(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';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a45c(){const r=['2317AYFaTY','search','trim','drop','Welcome,\x20','unlock','createCommand','hasOwnProperty','Available\x20Commands:\x0a','registerCommands','use','clear','getHelpMessage','rooms','getRooms','8JTuukC','split','help','solve','32261pMaGZy','unequip','equip','scene','3780fCtLeY','780705inJWLk','9606110YxDTCG','currentLocation','getWelcomeMessage','handleInput','getAllRegisteredCommands','determineStartRoom','-\x20quit:\x20Exit\x20the\x20game.\x0a','player','look','getDescription','constructor','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','131913nxjnQm','729676RfRhNy','registerCommand','slice','(((.+)+)+)+$','lock','4296EVxiGA','toString','name','currentRoom','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','instance','420KZrPlE','apply'];a45c=function(){return r;};return a45c();}import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a45k(0x1cc)];['player'];[a45k(0x1b1)];[a45k(0x1c3)];constructor(a,b){const l=a45k;this[l(0x1d6)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this['scene']['initialize'](),this[l(0x1d6)][l(0x1d0)]=this[l(0x1d4)](),this[l(0x1bf)]();}[a45k(0x1bf)](){const m=a45k;CommandFactory[m(0x1dd)](m(0x1d7),LookCommand),CommandFactory[m(0x1dd)]('go',GoCommand),CommandFactory[m(0x1dd)]('take',TakeCommand),CommandFactory[m(0x1dd)](m(0x1c0),UseCommand),CommandFactory[m(0x1dd)](m(0x1cb),EquipCommand),CommandFactory[m(0x1dd)](m(0x1ca),UnequipCommand),CommandFactory[m(0x1dd)](m(0x1c8),SolveCommand),CommandFactory['registerCommand'](m(0x1b9),DropCommand),CommandFactory['registerCommand'](m(0x1bb),UnlockCommand),CommandFactory[m(0x1dd)](m(0x1ad),LockCommand),CommandFactory['registerCommand'](m(0x1b7),SearchCommand),CommandFactory[m(0x1dd)]('say',SayCommand);}[a45k(0x1d4)](){return this['scene']['determineStartRoom']();}[a45k(0x1d1)](){const n=a45k;return n(0x1ba)+this['player'][n(0x1b0)];}static['getInstance'](a,b){const o=a45k;return!Game['instance']&&(Game['instance']=new Game(a,b)),Game[o(0x1b3)];}[a45k(0x1d2)](a){const p=a45k,b=a[p(0x1b8)]()[p(0x1c6)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[p(0x1de)](0x1);if(c==='quit')return null;if(c==='maka')return p(0x1b2);if(c===p(0x1c7))return this[p(0x1c2)]();if(c===p(0x1c1))return'';const e={'actor':this['player'],'rooms':this[p(0x1cc)][p(0x1c4)](),'scene':this[p(0x1cc)]},f=CommandFactory[p(0x1bc)](c,e);if(f){const g=f['execute'](d);return g;}return p(0x1da)+c+'\x22.';}[a45k(0x1c2)](){const q=a45k,a=CommandFactory[q(0x1d3)]();let b=q(0x1be);for(const c in a){if(a[q(0x1bd)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x1d8)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+=q(0x1d5),b;}}
1
+ const a45j=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0x163))/0x1+parseInt(h(0x146))/0x2+-parseInt(h(0x166))/0x3+-parseInt(h(0x164))/0x4*(-parseInt(h(0x14c))/0x5)+-parseInt(h(0x16c))/0x6*(-parseInt(h(0x15a))/0x7)+parseInt(h(0x15d))/0x8*(-parseInt(h(0x15c))/0x9)+parseInt(h(0x147))/0xa*(-parseInt(h(0x162))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x34982));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const i=a45d;return a45a[i(0x167)]()[i(0x157)]('(((.+)+)+)+$')[i(0x167)]()[i(0x155)](a45a)[i(0x157)](i(0x172));});function a45c(){const r=['rooms','getWelcomeMessage','handleInput','maka','constructor','equip','search','currentLocation','player','2373uTceiA','scene','13644NZiKCj','408LlwTwV','take','hasOwnProperty','unequip','getHelpMessage','11vTivzN','73592QYIBht','12pwVvrT','execute','227292ObQZjX','toString','getAllRegisteredCommands','say','instance','look','2538atJrKz','quit','toLowerCase','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','clear','Available\x20Commands:\x0a','(((.+)+)+)+$','unlock','initialize','name','createCommand','determineStartRoom','lock','split','help','757390QjGgRm','809510WVkeWf','-\x20clear:\x20Clear\x20the\x20screen.\x0a','solve','trim','Welcome,\x20','1595BlFvLK','drop','registerCommand','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','currentRoom'];a45c=function(){return r;};return a45c();}a45a();import{Scene}from'./models/scene.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x146;let f=c[d];return f;},a45d(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';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a45j(0x15b)];[a45j(0x159)];[a45j(0x150)];[a45j(0x151)];constructor(a,b){const k=a45j;this[k(0x159)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[k(0x15b)][k(0x174)](),this['player'][k(0x158)]=this['determineStartRoom'](),this['registerCommands']();}['registerCommands'](){const l=a45j;CommandFactory['registerCommand'](l(0x16b),LookCommand),CommandFactory[l(0x14e)]('go',GoCommand),CommandFactory[l(0x14e)](l(0x15e),TakeCommand),CommandFactory[l(0x14e)]('use',UseCommand),CommandFactory[l(0x14e)](l(0x156),EquipCommand),CommandFactory[l(0x14e)](l(0x160),UnequipCommand),CommandFactory[l(0x14e)](l(0x149),SolveCommand),CommandFactory[l(0x14e)](l(0x14d),DropCommand),CommandFactory[l(0x14e)](l(0x173),UnlockCommand),CommandFactory[l(0x14e)](l(0x178),LockCommand),CommandFactory[l(0x14e)](l(0x157),SearchCommand),CommandFactory[l(0x14e)](l(0x169),SayCommand);}[a45j(0x177)](){const m=a45j;return this[m(0x15b)][m(0x177)]();}[a45j(0x152)](){const n=a45j;return n(0x14b)+this['player'][n(0x175)];}static['getInstance'](a,b){const o=a45j;return!Game[o(0x16a)]&&(Game[o(0x16a)]=new Game(a,b)),Game[o(0x16a)];}[a45j(0x153)](a){const p=a45j,b=a[p(0x14a)]()[p(0x179)]('\x20'),c=b[0x0][p(0x16e)](),d=b['slice'](0x1);if(c===p(0x16d))return null;if(c===p(0x154))return p(0x16f);if(c===p(0x17a))return this['getHelpMessage']();if(c===p(0x170))return'';const e={'actor':this[p(0x159)],'rooms':this[p(0x15b)]['getRooms'](),'scene':this[p(0x15b)]},f=CommandFactory[p(0x176)](c,e);if(f){const g=f[p(0x165)](d);return g;}return p(0x14f)+c+'\x22.';}[a45j(0x161)](){const q=a45j,a=CommandFactory[q(0x168)]();let b=q(0x171);for(const c in a){if(a[q(0x15f)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=q(0x148),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x75))/0x1+parseInt(f(0x72))/0x2+parseInt(f(0x7a))/0x3+parseInt(f(0x77))/0x4+parseInt(f(0x73))/0x5+-parseInt(f(0x74))/0x6+-parseInt(f(0x79))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x53685));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a['toString']()[g(0x76)](g(0x78))['toString']()['constructor'](a46a)[g(0x76)](g(0x78));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a46c(){var h=['search','27008iwsbKu','(((.+)+)+)+$','1084314LNhIOG','1760091yzZIHD','184610lZNGDB','1904430xjsxfx','2443500fihHhc','162851HMIpaI'];a46c=function(){return h;};return a46c();}export*from'./npc.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x72;var f=c[d];return f;},a46d(a,b);}export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0xbb))/0x1*(-parseInt(f(0xbe))/0x2)+parseInt(f(0xb3))/0x3+parseInt(f(0xb6))/0x4+parseInt(f(0xbd))/0x5+-parseInt(f(0xb5))/0x6*(parseInt(f(0xb1))/0x7)+-parseInt(f(0xb7))/0x8+parseInt(f(0xb9))/0x9*(-parseInt(f(0xbc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x6d523));function a46c(){var i=['10dQhQsz','2331350rEpLXg','893194BvQvVs','toString','134673DZIXUR','apply','88587VnMWDJ','search','222AyvBcR','3292448AskEZX','2142392ANpQAY','constructor','7062156SXhsJW','(((.+)+)+)+$','2XADlwu'];a46c=function(){return i;};return a46c();}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xb2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0xb0)]()[h(0xb4)]('(((.+)+)+)+$')[h(0xb0)]()[h(0xb8)](a46a)[h(0xb4)](h(0xba));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xb0;var f=c[d];return f;},a46d(a,b);}export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- function a47c(){var n=['name','66zLSQGZ','toString','939418PspwFa','(((.+)+)+)+$','logger','Door\x20created\x20between\x20','write','isLockable','5pDXmdB','7rBMeLA','getOtherSide','630ImIYZd','To\x20','roomA','9981480vtzcJP','getInstance','824484zKhkrS','roomB','Door\x20unlocked:\x20','4626808KHgZbb','3184nZWImv','6362922jUfxWW','24668Catdkb','search','.\x20Used:\x20','isLocked','apply','constructor','checkIfLockable','unlockItemOrSolution','checkIfLocked','99DiAMFx'];a47c=function(){return n;};return a47c();}var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0xcd))/0x1+parseInt(f(0xe1))/0x2*(-parseInt(f(0xcb))/0x3)+-parseInt(f(0xde))/0x4*(-parseInt(f(0xd3))/0x5)+parseInt(f(0xe0))/0x6*(parseInt(f(0xd4))/0x7)+parseInt(f(0xdf))/0x8*(-parseInt(f(0xd6))/0x9)+-parseInt(f(0xd9))/0xa+-parseInt(f(0xc9))/0xb*(-parseInt(f(0xdb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x922fa));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0xcc)]()[h(0xe2)](h(0xce))[h(0xcc)]()[h(0xc5)](a47a)[h(0xe2)](h(0xce));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0xc4;var f=c[d];return f;},a47d(a,b);}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0xd8)];['roomB'];[a47i(0xe4)];[a47i(0xc7)];[a47i(0xca)];['logger'];['isLockable'];constructor(a){var j=a47i;super(),this[j(0xd8)]=a[j(0xd8)],this[j(0xdc)]=a[j(0xdc)],this[j(0xe4)]=a['isLocked']||![],this[j(0xc7)]=a[j(0xc7)],this[j(0xca)]=a[j(0xca)]?capitalCase(a[j(0xca)]):j(0xd7)+a[j(0xdc)][j(0xca)],this[j(0xcf)]=Logger[j(0xda)](),this[j(0xd2)]=!!a['unlockItemOrSolution'],this[j(0xcf)]['write'](j(0xd0)+this['roomA'][j(0xca)]+'\x20and\x20'+this[j(0xdc)][j(0xca)]+'.\x20Is\x20Locked:\x20'+this['isLocked']);}[a47i(0xd5)](a){var k=a47i;return this[k(0xd8)]===a?this[k(0xdc)]:this[k(0xd8)];}['attemptUnlock'](a){var l=a47i;if(this[l(0xe4)]&&this['unlockItemOrSolution']&&this[l(0xc7)]===a)return this[l(0xe4)]=![],this[l(0xcf)][l(0xd1)](l(0xdd)+this[l(0xca)]+l(0xe3)+a),!![];return this['logger'][l(0xd1)]('Failed\x20to\x20unlock\x20door:\x20'+this[l(0xca)]+l(0xe3)+a),![];}[a47i(0xc8)](){return this['isLocked'];}[a47i(0xc6)](){var m=a47i;return this[m(0xd2)];}}
1
+ var a47i=a47d;function a47c(){var o=['60380XLbclq','55wouYBJ','2633314ldQXrx','apply','3378pqsvKp','search','.\x20Used:\x20','9604512wviXtJ','.\x20Is\x20Locked:\x20','9026000GksdyD','1SrtUaY','12538665lvclTa','Door\x20unlocked:\x20','logger','Door\x20created\x20between\x20','isLockable','constructor','roomA','(((.+)+)+)+$','name','10dKnuvu','49ACQeDg','isLocked','unlockItemOrSolution','51jbvsxb','roomB','Failed\x20to\x20unlock\x20door:\x20','toString','7045215GpNcnv'];a47c=function(){return o;};return a47c();}(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x201))/0x1*(-parseInt(f(0x1f9))/0x2)+-parseInt(f(0x1f2))/0x3*(parseInt(f(0x1f7))/0x4)+-parseInt(f(0x1f6))/0x5+-parseInt(f(0x1fb))/0x6*(parseInt(f(0x1ef))/0x7)+parseInt(f(0x200))/0x8+-parseInt(f(0x202))/0x9*(parseInt(f(0x1ee))/0xa)+parseInt(f(0x1f8))/0xb*(parseInt(f(0x1fe))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xb7461));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x1f5)]()[h(0x1fc)](h(0x209))['toString']()[h(0x207)](a47a)['search']('(((.+)+)+)+$');});function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x1ed;var f=c[d];return f;},a47d(a,b);}a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a47i(0x1f3)];[a47i(0x1f0)];[a47i(0x1f1)];['name'];[a47i(0x204)];[a47i(0x206)];constructor(a){var j=a47i;super(),this['roomA']=a['roomA'],this[j(0x1f3)]=a[j(0x1f3)],this[j(0x1f0)]=a['isLocked']||![],this[j(0x1f1)]=a[j(0x1f1)],this[j(0x1ed)]=a[j(0x1ed)]?capitalCase(a[j(0x1ed)]):'To\x20'+a[j(0x1f3)][j(0x1ed)],this['logger']=Logger['getInstance'](),this['isLockable']=!!a['unlockItemOrSolution'],this[j(0x204)]['write'](j(0x205)+this['roomA'][j(0x1ed)]+'\x20and\x20'+this[j(0x1f3)][j(0x1ed)]+j(0x1ff)+this[j(0x1f0)]);}['getOtherSide'](a){var k=a47i;return this[k(0x208)]===a?this[k(0x1f3)]:this[k(0x208)];}['attemptUnlock'](a){var l=a47i;if(this['isLocked']&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this[l(0x1f0)]=![],this[l(0x204)]['write'](l(0x203)+this[l(0x1ed)]+'.\x20Used:\x20'+a),!![];return this[l(0x204)]['write'](l(0x1f4)+this[l(0x1ed)]+l(0x1fd)+a),![];}['checkIfLocked'](){var m=a47i;return this[m(0x1f0)];}['checkIfLockable'](){var n=a47i;return this[n(0x206)];}}
@@ -1 +1 @@
1
- const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x76))/0x1*(-parseInt(f(0x77))/0x2)+-parseInt(f(0x67))/0x3*(-parseInt(f(0x78))/0x4)+parseInt(f(0x6f))/0x5*(-parseInt(f(0x6d))/0x6)+parseInt(f(0x71))/0x7+parseInt(f(0x6b))/0x8+parseInt(f(0x8c))/0x9+-parseInt(f(0x84))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x26062));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['toString']()[g(0x8a)](g(0x6c))[g(0x8d)]()['constructor'](a48a)[g(0x8a)]('(((.+)+)+)+$');});a48a();import{capitalCase}from'change-case';function a48c(){const q=['search','getItem','1617147AyCdBh','toString','values','getAllItems','6uDQanW','join','map','\x20from\x20inventory.','1428736YgrqGI','(((.+)+)+)+$','607602VWJXui','Failed\x20to\x20remove\x20item:\x20','5pwbckI','name','333102shFbYg','\x20to\x20inventory.','listItems','.\x20Item\x20not\x20found.','set','1lmjkfT','209366jjHQmk','99752aUiVkB','getWeight','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','get','getInstance','Removed\x20item:\x20','logger','Listed\x20items\x20in\x20inventory:\x20','Checked\x20for\x20item:\x20','items','delete','has','3034070SdsrSG','.\x20Exists:\x20','toLowerCase','write','hasItem','keys'];a48c=function(){return q;};return a48c();}import{Logger}from'../utilities/logger.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x67;let f=c[d];return f;},a48d(a,b);}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a48h(0x7e)];constructor(){const i=a48h;super(),this['items']=new Map(),this[i(0x7e)]=Logger[i(0x7c)]();}['addItem'](a){const j=a48h;this[j(0x81)][j(0x75)](a[j(0x70)][j(0x86)](),a),this['logger']['write']('Added\x20item:\x20'+a[j(0x70)]+j(0x72));}['removeItem'](a){const k=a48h,b=this[k(0x8b)](a);if(b)return this[k(0x81)][k(0x82)](a[k(0x86)]()),this['logger'][k(0x87)](k(0x7d)+a+k(0x6a)),b;return this[k(0x7e)][k(0x87)](k(0x6e)+a+k(0x74)),null;}[a48h(0x88)](a){const l=a48h,b=this['items'][l(0x83)](a[l(0x86)]()),c=[...this[l(0x81)][l(0x89)]()];return this[l(0x7e)][l(0x87)](l(0x80)+a+'\x20in\x20'+c[l(0x68)](',\x20')+l(0x85)+b+'.'),b;}[a48h(0x8b)](a){const m=a48h,b=this[m(0x81)][m(0x7b)](a[m(0x86)]())||null;return b?this[m(0x7e)]['write']('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this['logger']['write'](m(0x7a)+a+m(0x74)),b;}[a48h(0x73)](){const n=a48h,a=[...this[n(0x81)][n(0x89)]()],b=a[n(0x69)](c=>capitalCase(c));return this[n(0x7e)]['write'](n(0x7f)+b[n(0x68)](',\x20')+'.'),a;}[a48h(0x79)](){const o=a48h;let a=0x0;for(const b of this[o(0x81)][o(0x8e)]()){a+=b['weight'];}return a;}[a48h(0x8f)](){const p=a48h;return[...this[p(0x81)][p(0x8e)]()];}}
1
+ const a48h=a48d;function a48c(){const q=['36MPiklB','Removed\x20item:\x20','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','621516oPjJdD','Failed\x20to\x20remove\x20item:\x20','set','228468OWWTob','search','toString','\x20in\x20','getAllItems','removeItem','\x20from\x20inventory.','\x20to\x20inventory.','keys','15ABgaVl','join','get','logger','name','1377264Jiaybn','getItem','3224gsaxOZ','(((.+)+)+)+$','Listed\x20items\x20in\x20inventory:\x20','Retrieved\x20details\x20for\x20item:\x20','245370BoZzLL','305544YnOtfK','11akWQtw','weight','423076dtyrBO','1TMSolG','getInstance','6HNzIgY','values','write','toLowerCase','addItem','items','has','.\x20Item\x20not\x20found.','getWeight','.\x20Exists:\x20','hasItem'];a48c=function(){return q;};return a48c();}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0xf1))/0x1*(parseInt(f(0xed))/0x2)+-parseInt(f(0xf3))/0x3*(parseInt(f(0xf0))/0x4)+parseInt(f(0x10d))/0x5*(parseInt(f(0x104))/0x6)+-parseInt(f(0x101))/0x7+parseInt(f(0xe8))/0x8*(parseInt(f(0xfe))/0x9)+parseInt(f(0xec))/0xa*(parseInt(f(0xee))/0xb)+parseInt(f(0xe6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x1a451));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(0x106)]()['search'](g(0xe9))[g(0x106)]()['constructor'](a48a)[g(0x105)](g(0xe9));});a48a();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xe3;let f=c[d];return f;},a48d(a,b);}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48h(0xf8)];[a48h(0xe4)];constructor(){const i=a48h;super(),this[i(0xf8)]=new Map(),this[i(0xe4)]=Logger[i(0xf2)]();}[a48h(0xf7)](a){const j=a48h;this[j(0xf8)][j(0x103)](a[j(0xe5)][j(0xf6)](),a),this[j(0xe4)][j(0xf5)]('Added\x20item:\x20'+a['name']+j(0x10b));}[a48h(0x109)](a){const k=a48h,b=this[k(0xe7)](a);if(b)return this[k(0xf8)]['delete'](a[k(0xf6)]()),this[k(0xe4)][k(0xf5)](k(0xff)+a+k(0x10a)),b;return this[k(0xe4)][k(0xf5)](k(0x102)+a+k(0xfa)),null;}[a48h(0xfd)](a){const l=a48h,b=this['items'][l(0xf9)](a[l(0xf6)]()),c=[...this[l(0xf8)][l(0x10c)]()];return this['logger'][l(0xf5)]('Checked\x20for\x20item:\x20'+a+l(0x107)+c[l(0x10e)](',\x20')+l(0xfc)+b+'.'),b;}[a48h(0xe7)](a){const m=a48h,b=this[m(0xf8)][m(0xe3)](a[m(0xf6)]())||null;return b?this[m(0xe4)]['write'](m(0xeb)+a+'.'):this['logger'][m(0xf5)](m(0x100)+a+m(0xfa)),b;}['listItems'](){const n=a48h,a=[...this[n(0xf8)][n(0x10c)]()],b=a['map'](c=>capitalCase(c));return this[n(0xe4)][n(0xf5)](n(0xea)+b['join'](',\x20')+'.'),a;}[a48h(0xfb)](){const o=a48h;let a=0x0;for(const b of this[o(0xf8)][o(0xf4)]()){a+=b[o(0xef)];}return a;}[a48h(0x108)](){const p=a48h;return[...this[p(0xf8)][p(0xf4)]()];}}
@@ -1 +1 @@
1
- var a49i=a49d;function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x177;var f=c[d];return f;},a49d(a,b);}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x185))/0x1*(parseInt(f(0x186))/0x2)+parseInt(f(0x181))/0x3+-parseInt(f(0x17d))/0x4+parseInt(f(0x18c))/0x5*(parseInt(f(0x17e))/0x6)+parseInt(f(0x179))/0x7+parseInt(f(0x17f))/0x8+-parseInt(f(0x17b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x92e4b));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x18b)]()[h(0x180)](h(0x183))[h(0x18b)]()[h(0x177)](a49a)['search'](h(0x183));});function a49c(){var k=['rating','use','toString','10DBsoCY','uuid','size','weight','constructor','category','5465586tzHqeR','color','11262366RWKZwn','description','2668372mozTcY','2053794iaYEuG','1844576NuoZGm','search','1704192iCnOeP','name','(((.+)+)+)+$','shape','128055QFGxeZ','4AvAIav','apply','texture'];a49c=function(){return k;};return a49c();}a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x18d)];[a49i(0x182)];[a49i(0x17c)];['size'];[a49i(0x178)];[a49i(0x184)];['color'];['texture'];[a49i(0x189)];[a49i(0x18f)];constructor(a){var j=a49i;super(),this[j(0x182)]=a[j(0x182)],this[j(0x17c)]=a[j(0x17c)],this[j(0x18e)]=a[j(0x18e)],this['category']=a['category'],this[j(0x184)]=a['shape'],this[j(0x17a)]=a[j(0x17a)],this['texture']=a[j(0x188)],this[j(0x189)]=a['rating'],this[j(0x18f)]=a['weight'],this[j(0x18d)]=a49e();}[a49i(0x18a)](){return'You\x20use\x20the\x20'+this['name']+'.\x20Nothing\x20special\x20happens.';}}
1
+ var a49i=a49d;function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x114;var f=c[d];return f;},a49d(a,b);}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x123))/0x1+parseInt(f(0x12a))/0x2+parseInt(f(0x120))/0x3*(-parseInt(f(0x12d))/0x4)+-parseInt(f(0x127))/0x5+parseInt(f(0x125))/0x6*(-parseInt(f(0x11d))/0x7)+parseInt(f(0x11c))/0x8+parseInt(f(0x118))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x2287f));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0x11f)]('(((.+)+)+)+$')[h(0x11b)]()[h(0x124)](a49a)[h(0x11f)](h(0x129));});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a49c(){var l=['116208EzyZcI','size','rating','7320TbScqM','shape','category','texture','You\x20use\x20the\x20','3312684wBPPFl','use','apply','toString','1521808waXhFB','35ZQMgUg','name','search','333PxeyAe','color','description','187382FaVqTM','constructor','285354BxwMyJ','uuid','1107120BhMYSp','weight','(((.+)+)+)+$'];a49c=function(){return l;};return a49c();}export class Item extends AbstractItem{[a49i(0x126)];[a49i(0x11e)];[a49i(0x122)];[a49i(0x12b)];[a49i(0x115)];[a49i(0x114)];[a49i(0x121)];[a49i(0x116)];[a49i(0x12c)];['weight'];constructor(a){var j=a49i;super(),this[j(0x11e)]=a[j(0x11e)],this[j(0x122)]=a[j(0x122)],this[j(0x12b)]=a[j(0x12b)],this['category']=a[j(0x115)],this[j(0x114)]=a[j(0x114)],this[j(0x121)]=a['color'],this['texture']=a[j(0x116)],this[j(0x12c)]=a[j(0x12c)],this[j(0x128)]=a[j(0x128)],this['uuid']=a49e();}[a49i(0x119)](){var k=a49i;return k(0x117)+this[k(0x11e)]+'.\x20Nothing\x20special\x20happens.';}}
@@ -1 +1 @@
1
- const a50h=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x1d4))/0x1*(parseInt(f(0x1cf))/0x2)+parseInt(f(0x1d3))/0x3*(parseInt(f(0x1cb))/0x4)+parseInt(f(0x1db))/0x5*(-parseInt(f(0x1dc))/0x6)+-parseInt(f(0x1d8))/0x7*(parseInt(f(0x1c9))/0x8)+parseInt(f(0x1dd))/0x9+-parseInt(f(0x1da))/0xa*(-parseInt(f(0x1d5))/0xb)+-parseInt(f(0x1df))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xdfc5e));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1c9;let f=c[d];return f;},a50d(a,b);}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const g=a50d;return a50a[g(0x1ca)]()[g(0x1d0)](g(0x1ce))['toString']()[g(0x1d9)](a50a)[g(0x1d0)]('(((.+)+)+)+$');});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a50c(){const n=['25181400retfiT','floor','rooms','speak','4349560hrBjop','toString','1052ihaXfq','_dialogue','name','(((.+)+)+)+$','138638WmaFuy','search','random','length','8301YRTEzQ','23vIFgEM','7997GYkqWK','scene','_name','7QuqWHp','constructor','20870jEaOnN','5NRNzZo','8159226FaHYyo','9713547Nwgtcw','moveTo'];a50c=function(){return n;};return a50c();}export class NPC extends Player{['_name'];[a50h(0x1cc)];[a50h(0x1e1)];[a50h(0x1d6)];constructor(a,b,c,d){const i=a50h;super(d),this[i(0x1d7)]=a,this[i(0x1cc)]=b,this[i(0x1e1)]=c;}get['name'](){const j=a50h;return this[j(0x1d7)];}[a50h(0x1e2)](){const k=a50h;return this[k(0x1cc)][Math[k(0x1e0)](Math['random']()*this['_dialogue'][k(0x1d2)])];}['autonomousMove'](a){const l=a50h,b=a[Math[l(0x1e0)](Math[l(0x1d1)]()*a[l(0x1d2)])];this['moveTo'](b[l(0x1cd)]);}[a50h(0x1de)](a){const m=a50h,b={'actor':this,'rooms':this[m(0x1e1)],'scene':this['scene']},c=new GoCommand(b);c['execute']([a]);}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x7d))/0x1*(-parseInt(f(0x89))/0x2)+parseInt(f(0x82))/0x3*(parseInt(f(0x81))/0x4)+parseInt(f(0x72))/0x5*(-parseInt(f(0x87))/0x6)+parseInt(f(0x73))/0x7+-parseInt(f(0x77))/0x8*(-parseInt(f(0x84))/0x9)+-parseInt(f(0x8b))/0xa+-parseInt(f(0x7f))/0xb*(parseInt(f(0x71))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x59875));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x71;let f=c[d];return f;},a50d(a,b);}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x74)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x8c)]()['search'](h(0x8a))[h(0x8c)]()[h(0x7a)](a50a)[h(0x80)](h(0x8a));});function a50c(){const n=['6240aUmdGI','random','2jpfuwv','(((.+)+)+)+$','4907540xFOZvM','toString','27804gZyDUW','1200WIJXtY','4595801gGHzgl','apply','execute','floor','5313688OqLVqf','rooms','length','constructor','_dialogue','moveTo','87050bDrUlM','_name','4367IibIGo','search','112XfPryQ','66333FlgDPV','name','9RrWvfa','speak','scene'];a50c=function(){return n;};return a50c();}a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x7e)];[a50i(0x7b)];[a50i(0x78)];[a50i(0x86)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x7e)]=a,this['_dialogue']=b,this[j(0x78)]=c;}get[a50i(0x83)](){return this['_name'];}[a50i(0x85)](){const k=a50i;return this[k(0x7b)][Math[k(0x76)](Math[k(0x88)]()*this[k(0x7b)][k(0x79)])];}['autonomousMove'](a){const l=a50i,b=a[Math[l(0x76)](Math[l(0x88)]()*a[l(0x79)])];this[l(0x7c)](b['name']);}[a50i(0x7c)](a){const m=a50i,b={'actor':this,'rooms':this[m(0x78)],'scene':this['scene']},c=new GoCommand(b);c[m(0x75)]([a]);}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x221))/0x1+parseInt(f(0x205))/0x2+parseInt(f(0x21a))/0x3*(parseInt(f(0x1de))/0x4)+parseInt(f(0x22d))/0x5+-parseInt(f(0x227))/0x6+parseInt(f(0x1fd))/0x7+-parseInt(f(0x1f0))/0x8*(parseInt(f(0x223))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x796c2));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x216)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x201)]()['search'](h(0x208))[h(0x201)]()[h(0x1d2)](a51a)[h(0x1db)]('(((.+)+)+)+$');});a51a();import{camelCase}from'change-case';function a51c(){const C=['LegArmor','removeInventory','rightHand','body\x20armor','playerName','Failed\x20to\x20remove\x20','toLowerCase','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','equipment','Boots','canEquip','96008cUHriN','feet','getInstance','bodyarmor','armarmor','values','addItem','Hat','category','You\x20equipped\x20','leftHand','\x20is\x20no\x20longer\x20listeng\x20in\x20','bind','1495214nHwaAU','gloves','Helmet','unequip','toString','\x20in\x20your\x20inventory.','inventoryItems','currentLocation','1033574sGeGQI','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','boots','(((.+)+)+)+$','\x20is\x20now\x20listening\x20in\x20room\x20','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','maxCarryingWeight','Gloves','shield','torso','_currentLocation','leaveRoom','weight','startLocation','write','inventory','.\x20You\x20must\x20unequip\x20it\x20first.','apply','error','_playerName','You\x20can\x27t\x20equip\x20','4107nEOXzW','enterRoom','hasItem','off','head','_maxCarryingWeight','Invalid\x20category\x20or\x20slot:\x20','7895byNgMc','You\x20don\x27t\x20have\x20','279ZMQYtJ','arms','\x20says:\x20\x22','Shield','3334914zIANUY','helmet','name','\x20from\x20player\x27s\x20inventory.','A\x20featureless\x20room','legs','443295JuRDUx','initialEquipment','You\x20unequipped\x20','hat','_equipment','speak','constructor','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','includes','determineEquipmentSlot','arm\x20armor','addInventory','getWeight','hear','Weapon','search','_inventory','removeItem','1748GGgrWu','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','unequipBySlot','ArmArmor','logger','currentWeight','Removed\x20'];a51c=function(){return C;};return a51c();}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a51d(a,b);}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a51i(0x20f)];[a51i(0x1dc)];['_equipment'];[a51i(0x21f)]=0x32;[a51i(0x1e2)];constructor(a){const j=a51i;super(),this[j(0x218)]=a[j(0x1e9)],this['_currentLocation']=a[j(0x212)]||new Room({'name':'Nexus','description':j(0x22b)}),this[j(0x1dc)]=new Inventory(),this[j(0x1e2)]=Logger[j(0x1f2)]();if(a?.['inventoryItems'])for(const b of a[j(0x203)]){this['_inventory'][j(0x1f6)](b);}this[j(0x1d0)]=a?.[j(0x22e)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x229)](){const k=a51i;return this[k(0x218)];}get['currentLocation'](){const l=a51i;return this[l(0x20f)];}set[a51i(0x204)](a){const m=a51i;this[m(0x20f)]!==a&&(this[m(0x210)](),this[m(0x21b)](a)),this[m(0x20f)]=a;}get[a51i(0x214)](){const n=a51i;return this[n(0x1dc)];}get[a51i(0x1ed)](){const o=a51i;return this[o(0x1d0)];}set['equipment'](a){this['_equipment']=a;}get[a51i(0x20b)](){const p=a51i;return this[p(0x21f)];}set[a51i(0x20b)](a){const q=a51i;a>0x0?this[q(0x21f)]=a:console[q(0x217)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a51i(0x1e3)](){const r=a51i;let a=this[r(0x1dc)][r(0x1d8)]();for(const b in this[r(0x1d0)]){const c=this[r(0x1d0)][b];c&&(a+=c[r(0x211)]);}return a;}[a51i(0x1d7)](a){const s=a51i;if(this['currentWeight']+a[s(0x211)]>this[s(0x20b)]){this[s(0x1e2)][s(0x213)](s(0x1df));throw new Error(s(0x20a));}this[s(0x1dc)][s(0x1f6)](a),this['logger'][s(0x213)]('Added\x20'+a[s(0x229)]+'\x20to\x20player\x27s\x20inventory.');}[a51i(0x1e6)](a){const t=a51i;if(this[t(0x1dc)][t(0x1dd)](a[t(0x229)]))return this[t(0x1e2)][t(0x213)](t(0x1e4)+a[t(0x229)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[t(0x1e2)]['write'](t(0x1ea)+a[t(0x229)]+t(0x22a)),![];}['equip'](a){const u=a51i;if(!this[u(0x1dc)][u(0x21c)](a[u(0x229)]))return u(0x222)+a[u(0x229)]+u(0x202);if(!this[u(0x1ef)](a))return u(0x219)+a[u(0x229)]+'.';const b=this['determineEquipmentSlot'](a['category']);if(!b)return a[u(0x229)]+u(0x1ec);if(this[u(0x1ed)][b])return u(0x206)+b+u(0x215);return this[u(0x1ed)][b]=a,this[u(0x1e6)](a),u(0x1f9)+a['name']+'.';}[a51i(0x200)](a){const v=a51i;let b=a;if(!this[v(0x1ed)][camelCase(b)]){b=this[v(0x1d5)](a);if(!b)return v(0x220)+a+'.';}return this[v(0x1e0)](b);}[a51i(0x1d5)](a){const w=a51i;switch(a[w(0x1eb)]()){case Category[w(0x1da)][w(0x1eb)]():return w(0x1e7);case Category[w(0x226)][w(0x1eb)]():return w(0x1fa);case Category[w(0x20c)][w(0x1eb)]():return w(0x1fe);case Category[w(0x1ff)][w(0x1eb)]():case Category[w(0x1f7)]['toLowerCase']():return w(0x21e);case Category[w(0x1ee)][w(0x1eb)]():return w(0x1f1);case Category[w(0x1e5)]['toLowerCase']():return'legs';case Category[w(0x1e1)][w(0x1eb)]():return w(0x224);case Category['BodyArmor']['toLowerCase']():return w(0x20e);case'weapon':return w(0x1e7);case w(0x20d):return w(0x1fa);case w(0x1fe):return w(0x1fe);case w(0x228):case w(0x1cf):return w(0x21e);case w(0x207):return w(0x1f1);case'leg\x20armor':case'legarmor':return w(0x22c);case w(0x1d6):case w(0x1f4):return w(0x224);case w(0x1e8):case w(0x1f3):case w(0x20e):return w(0x20e);default:return null;}}[a51i(0x1ef)](a){const x=a51i;return Object[x(0x1f5)](Category)[x(0x1d4)](a[x(0x1f8)]);}['unequipBySlot'](a){const y=a51i,b=this[y(0x1ed)][a];if(!b)return y(0x1d3)+a+'\x20slot.';return this[y(0x1d7)](b),this[y(0x1ed)][a]=null,y(0x1ce)+b[y(0x229)]+'.';}[a51i(0x1d9)](a,b){const z=a51i;a!==this&&this['logger']['log'](a['name']+z(0x225)+b+'\x22');}[a51i(0x21b)](a){const A=a51i;this[A(0x20f)]=a,a['on'](A(0x1d1),this[A(0x1d9)][A(0x1fc)](this)),this[A(0x1e2)][A(0x213)](this[A(0x229)]+A(0x209)+a['name']);}[a51i(0x210)](){const B=a51i;this[B(0x20f)]&&(this[B(0x20f)][B(0x21d)](B(0x1d1),this[B(0x1d9)]['bind'](this)),this[B(0x1e2)]['write'](this[B(0x229)]+B(0x1fb)+this[B(0x20f)][B(0x229)]));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x126))/0x1*(parseInt(f(0x123))/0x2)+-parseInt(f(0x15f))/0x3*(parseInt(f(0x14b))/0x4)+-parseInt(f(0x125))/0x5*(parseInt(f(0x150))/0x6)+parseInt(f(0x144))/0x7+-parseInt(f(0x11a))/0x8*(parseInt(f(0x14a))/0x9)+parseInt(f(0x115))/0xa+parseInt(f(0x12c))/0xb*(parseInt(f(0x103))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x2bb18));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x14d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x12e)]()['search'](h(0x145))[h(0x12e)]()['constructor'](a51a)[h(0x106)](h(0x145));});a51a();import{camelCase}from'change-case';function a51c(){const C=['off','rightHand','log','Weapon','maxCarryingWeight','error','inventory','logger','armarmor','startLocation','feet','1660771fJroMo','(((.+)+)+)+$','gloves','shield','playerName','_maxCarryingWeight','117tzDWht','12VRocER','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','apply','includes','hat','72636KWoYLK','equipment','You\x20can\x27t\x20equip\x20','You\x20don\x27t\x20have\x20','category','write','BodyArmor','_playerName','torso','bodyarmor','getWeight','addInventory','currentWeight','\x20in\x20your\x20inventory.','.\x20You\x20must\x20unequip\x20it\x20first.','327669RKHxxp','\x20slot.','initialEquipment','leg\x20armor','body\x20armor','48wPspPk','name','inventoryItems','search','head','removeItem','enterRoom','unequip','\x20is\x20now\x20listening\x20in\x20room\x20','weight','hear','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','determineEquipmentSlot','ArmArmor','hasItem','LegArmor','Hat','currentLocation','2439930thyjBp','leaveRoom','speak','addItem','getInstance','219272YVbpRz','Failed\x20to\x20remove\x20','\x20says:\x20\x22','helmet','values','unequipBySlot','equip','canEquip','weapon','6tnSMja','\x20to\x20player\x27s\x20inventory.','65bdFuvf','25766kImJAV','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','boots','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','bind','\x20is\x20no\x20longer\x20listeng\x20in\x20','1695056AShNzV','You\x20unequipped\x20','toString','_equipment','arm\x20armor','arms','removeInventory','legarmor','_inventory','Max\x20carrying\x20weight\x20must\x20be\x20positive.','toLowerCase','_currentLocation','legs'];a51c=function(){return C;};return a51c();}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x102;let f=c[d];return f;},a51d(a,b);}export class Player extends AbstractPlayer{['_playerName'];[a51i(0x137)];[a51i(0x134)];[a51i(0x12f)];[a51i(0x149)]=0x32;[a51i(0x140)];constructor(a){const j=a51i;super(),this[j(0x157)]=a[j(0x148)],this[j(0x137)]=a[j(0x142)]||new Room({'name':'Nexus','description':'A\x20featureless\x20room'}),this[j(0x134)]=new Inventory(),this[j(0x140)]=Logger[j(0x119)]();if(a?.['inventoryItems'])for(const b of a[j(0x105)]){this[j(0x134)][j(0x118)](b);}this[j(0x12f)]=a?.[j(0x161)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x104)](){const k=a51i;return this[k(0x157)];}get[a51i(0x114)](){const l=a51i;return this[l(0x137)];}set[a51i(0x114)](a){const m=a51i;this['_currentLocation']!==a&&(this[m(0x116)](),this[m(0x109)](a)),this[m(0x137)]=a;}get[a51i(0x13f)](){const n=a51i;return this[n(0x134)];}get['equipment'](){const o=a51i;return this[o(0x12f)];}set['equipment'](a){const p=a51i;this[p(0x12f)]=a;}get[a51i(0x13d)](){return this['_maxCarryingWeight'];}set[a51i(0x13d)](a){const q=a51i;a>0x0?this[q(0x149)]=a:console[q(0x13e)](q(0x135));}get[a51i(0x15c)](){const r=a51i;let a=this[r(0x134)][r(0x15a)]();for(const b in this[r(0x12f)]){const c=this[r(0x12f)][b];c&&(a+=c[r(0x10c)]);}return a;}[a51i(0x15b)](a){const s=a51i;if(this['currentWeight']+a[s(0x10c)]>this[s(0x13d)]){this[s(0x140)][s(0x155)](s(0x14c));throw new Error(s(0x10e));}this[s(0x134)]['addItem'](a),this[s(0x140)][s(0x155)]('Added\x20'+a[s(0x104)]+s(0x124));}[a51i(0x132)](a){const t=a51i;if(this[t(0x134)][t(0x108)](a['name']))return this[t(0x140)]['write']('Removed\x20'+a['name']+'\x20from\x20player\x27s\x20inventory.'),!![];return this['logger'][t(0x155)](t(0x11b)+a[t(0x104)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a51i(0x120)](a){const u=a51i;if(!this[u(0x134)][u(0x111)](a['name']))return u(0x153)+a['name']+u(0x15d);if(!this[u(0x121)](a))return u(0x152)+a[u(0x104)]+'.';const b=this[u(0x10f)](a[u(0x154)]);if(!b)return a['name']+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this['equipment'][b])return u(0x127)+b+u(0x15e);return this[u(0x151)][b]=a,this[u(0x132)](a),'You\x20equipped\x20'+a['name']+'.';}[a51i(0x10a)](a){const v=a51i;let b=a;if(!this[v(0x151)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[v(0x11f)](b);}[a51i(0x10f)](a){const w=a51i;switch(a[w(0x136)]()){case Category[w(0x13c)][w(0x136)]():return w(0x13a);case Category['Shield'][w(0x136)]():return'leftHand';case Category['Gloves']['toLowerCase']():return w(0x146);case Category['Helmet'][w(0x136)]():case Category[w(0x113)]['toLowerCase']():return w(0x107);case Category['Boots'][w(0x136)]():return w(0x143);case Category[w(0x112)][w(0x136)]():return'legs';case Category[w(0x110)][w(0x136)]():return w(0x131);case Category[w(0x156)][w(0x136)]():return'torso';case w(0x122):return w(0x13a);case w(0x147):return'leftHand';case w(0x146):return w(0x146);case w(0x11d):case w(0x14f):return w(0x107);case w(0x128):return w(0x143);case w(0x162):case w(0x133):return w(0x138);case w(0x130):case w(0x141):return'arms';case w(0x102):case w(0x159):case w(0x158):return w(0x158);default:return null;}}['canEquip'](a){const x=a51i;return Object[x(0x11e)](Category)[x(0x14e)](a['category']);}[a51i(0x11f)](a){const y=a51i,b=this[y(0x151)][a];if(!b)return y(0x129)+a+y(0x160);return this[y(0x15b)](b),this[y(0x151)][a]=null,y(0x12d)+b['name']+'.';}[a51i(0x10d)](a,b){const z=a51i;a!==this&&this[z(0x140)][z(0x13b)](a[z(0x104)]+z(0x11c)+b+'\x22');}[a51i(0x109)](a){const A=a51i;this[A(0x137)]=a,a['on'](A(0x117),this[A(0x10d)][A(0x12a)](this)),this[A(0x140)][A(0x155)](this['name']+A(0x10b)+a[A(0x104)]);}[a51i(0x116)](){const B=a51i;this[B(0x137)]&&(this[B(0x137)][B(0x139)](B(0x117),this[B(0x10d)][B(0x12a)](this)),this[B(0x140)]['write'](this['name']+B(0x12b)+this['_currentLocation'][B(0x104)]));}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1e3))/0x1+-parseInt(f(0x1e4))/0x2*(-parseInt(f(0x1db))/0x3)+parseInt(f(0x1e0))/0x4+-parseInt(f(0x1eb))/0x5+-parseInt(f(0x1d4))/0x6*(parseInt(f(0x1e1))/0x7)+parseInt(f(0x1d2))/0x8*(-parseInt(f(0x1ec))/0x9)+parseInt(f(0x1d7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x1d2af));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1e9)]()[h(0x1d1)](h(0x1e2))['toString']()['constructor'](a52a)['search'](h(0x1e2));});function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1cf;var f=c[d];return f;},a52d(a,b);}a52a();import{Logger}from'../utilities/logger.js';function a52c(){var m=['hasRequiredItem','write','requiredItem','Puzzle:\x20Correct\x20solution\x20provided.','logger','search','608ptOQwz','matchesRequiredPhrase','42WHElGS','solved','successMessage','5734760GoUQGM','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','failureMessage','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','3XmdAcC','requiredPhrase','rewardItem','apply','riddle','888208kSKGlk','218869zxCHXq','(((.+)+)+)+$','230910SWPCCP','61762AprTPv','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','You\x20have\x20already\x20solved\x20this\x20puzzle.','solve','hasItem','toString','You\x20solved\x20the\x20puzzle!','1149755XzflTC','3222hQcUly'];a52c=function(){return m;};return a52c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger['getInstance']();[a52i(0x1d5)]=![];[a52i(0x1ef)];[a52i(0x1dc)];[a52i(0x1df)];[a52i(0x1dd)];['successMessage'];[a52i(0x1d9)];constructor(a){var j=a52i;super(),this['requiredItem']=a[j(0x1ef)],this[j(0x1dc)]=a[j(0x1dc)],this[j(0x1df)]=a[j(0x1df)],this['rewardItem']=a['rewardItem'],this[j(0x1d6)]=a[j(0x1d6)]||j(0x1ea),this['failureMessage']=a['failureMessage']||j(0x1e5);}[a52i(0x1ed)](a){var k=a52i;if(this[k(0x1ef)])return a[k(0x1e8)](this['requiredItem']);return![];}['matchesRequiredPhrase'](a){return this['requiredPhrase']===a;}[a52i(0x1e7)](a,b){var l=a52i;if(this[l(0x1d5)])return this[l(0x1d0)][l(0x1ee)](l(0x1da)),{'success':![],'message':l(0x1e6)};return this[l(0x1ed)](b)||this[l(0x1d3)](a)?(this['solved']=!![],this[l(0x1d0)]['write'](l(0x1cf)),{'success':!![],'message':this[l(0x1d6)]}):(this['logger']['write'](l(0x1d8)),{'success':![],'message':this['failureMessage']});}}
1
+ var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xa0))/0x1*(parseInt(f(0xa3))/0x2)+parseInt(f(0xa6))/0x3+parseInt(f(0xaa))/0x4*(parseInt(f(0xa8))/0x5)+-parseInt(f(0xab))/0x6*(parseInt(f(0xb0))/0x7)+parseInt(f(0x9c))/0x8*(parseInt(f(0xb1))/0x9)+-parseInt(f(0xa1))/0xa+parseInt(f(0x97))/0xb*(-parseInt(f(0xb5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x44963));function a52c(){var l=['1171615FOzpMK','hasRequiredItem','8SmylSv','6OCQKhw','(((.+)+)+)+$','constructor','search','requiredItem','1669654tKvSHK','63XHXcCH','matchesRequiredPhrase','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','getInstance','12BYuKhP','failureMessage','You\x20solved\x20the\x20puzzle!','2584373bNPZJi','riddle','rewardItem','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','toString','18504TmpMLD','successMessage','write','hasItem','12063iXbUxk','2837180tWggOg','solve','66HkkUhJ','solved','logger','465594cXJTly','requiredPhrase'];a52c=function(){return l;};return a52c();}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0x9b)]()[g(0xae)](g(0xac))[g(0x9b)]()[g(0xad)](a52a)['search'](g(0xac));});a52a();import{Logger}from'../utilities/logger.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x97;var f=c[d];return f;},a52d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52h(0xa5)]=Logger[a52h(0xb4)]();[a52h(0xa4)]=![];[a52h(0xaf)];['requiredPhrase'];[a52h(0x98)];[a52h(0x99)];[a52h(0x9d)];[a52h(0xb6)];constructor(a){var i=a52h;super(),this[i(0xaf)]=a[i(0xaf)],this[i(0xa7)]=a['requiredPhrase'],this[i(0x98)]=a[i(0x98)],this[i(0x99)]=a[i(0x99)],this['successMessage']=a[i(0x9d)]||i(0xb7),this[i(0xb6)]=a[i(0xb6)]||i(0x9a);}[a52h(0xa9)](a){var j=a52h;if(this[j(0xaf)])return a[j(0x9f)](this[j(0xaf)]);return![];}[a52h(0xb2)](a){return this['requiredPhrase']===a;}[a52h(0xa2)](a,b){var k=a52h;if(this[k(0xa4)])return this[k(0xa5)][k(0x9e)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[k(0xa9)](b)||this['matchesRequiredPhrase'](a)?(this[k(0xa4)]=!![],this[k(0xa5)][k(0x9e)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[k(0x9d)]}):(this['logger'][k(0x9e)](k(0xb3)),{'success':![],'message':this[k(0xb6)]});}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x1c2))/0x1+parseInt(f(0x1ba))/0x2+-parseInt(f(0x1af))/0x3+-parseInt(f(0x1d9))/0x4*(-parseInt(f(0x1c1))/0x5)+-parseInt(f(0x1ad))/0x6*(parseInt(f(0x1b9))/0x7)+parseInt(f(0x1bd))/0x8+-parseInt(f(0x1cb))/0x9*(-parseInt(f(0x1d7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xa2b7e));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x1dd)]()[h(0x1a9)](h(0x1c9))[h(0x1dd)]()[h(0x1a8)](a53a)[h(0x1a9)](h(0x1c9));});a53a();function a53c(){const t=['WEST','5256588uIXrkg','attemptUnlock','3649521cQVbXl','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','inventory','say','Item\x20removed\x20from\x20room\x20','roomA','getOppositeDirection','puzzle','write','getExit','7XROdwU','381558jzGhsC','setPuzzle','addItem','8955064qwLNpl','set','north','The\x20','277215DSPmDS','90696OCCcqu','name','Puzzle\x20set\x20for\x20room\x20','Checking\x20if\x20exit\x20in\x20direction\x20','Invalid\x20direction:\x20','get','values','(((.+)+)+)+$','hasItem','21465kAVVSj','INSIDE','down','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','getInstance','addExit','\x20remains\x20locked.','findExistingDoor','\x20unlocked!','riddle','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','logger','5230jAUQeo','EAST','8rQVfZq','description','isStartRoom','roomType','toString','Item\x20added\x20to\x20room\x20','exits','Room\x20created:\x20','apply','NORTH','constructor','search','removeItem','roomB'];a53c=function(){return t;};return a53c();}import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a53d(a,b);}import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x1d6)]=Logger[a53i(0x1cf)]();[a53i(0x1c3)];[a53i(0x1da)];[a53i(0x1df)]=new Map();[a53i(0x1dc)];['isStartRoom'];[a53i(0x1b1)]=new Inventory();constructor(a){const j=a53i;super(),this['name']=a[j(0x1c3)],this[j(0x1da)]=a[j(0x1da)],this[j(0x1dc)]=a[j(0x1dc)]||RoomType[j(0x1cc)],a['exits']&&(this[j(0x1df)]=a[j(0x1df)]||new Map()),a[j(0x1b1)]&&(this['inventory']=a[j(0x1b1)]),a['puzzle']&&(this[j(0x1b6)]=a['puzzle']),this[j(0x1db)]=a[j(0x1db)]||![],this[j(0x1d6)][j(0x1b7)](j(0x1e0)+this['name']);}[a53i(0x1b2)](a,b){this['emit']('speak',a,b);}[a53i(0x1d0)](a,b,c){const k=a53i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0x1df)][k(0x1be)](a,d),b['exits']['set'](this[k(0x1b5)](a),d);}['attemptUnlockExit'](a,b){const l=a53i,c=this[l(0x1df)][l(0x1c7)](a);if(c instanceof Door){const d=c[l(0x1ae)](b);return this[l(0x1d6)]['write'](l(0x1b0)+a+'.\x20Success:\x20'+d),d?l(0x1c0)+c[l(0x1c3)]+l(0x1d3):'The\x20'+c[l(0x1c3)]+l(0x1d1);}return this['logger'][l(0x1b7)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),l(0x1ce);}[a53i(0x1b8)](a){const m=a53i;return this[m(0x1d6)][m(0x1b7)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[m(0x1df)][m(0x1c7)](a);}['isExitLocked'](a){const n=a53i,b=this['exits'][n(0x1c7)](a),c=b instanceof Door&&b['checkIfLocked']();return this[n(0x1d6)][n(0x1b7)](n(0x1c5)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a53i(0x1bc)](a){const o=a53i;this['inventory'][o(0x1bc)](a),this['logger'][o(0x1b7)](o(0x1de)+this['name']+':\x20'+a[o(0x1c3)]);}[a53i(0x1aa)](a){const p=a53i;this['inventory'][p(0x1ca)](a[p(0x1c3)])?(this[p(0x1b1)][p(0x1aa)](a[p(0x1c3)]),this[p(0x1d6)]['write'](p(0x1b3)+this[p(0x1c3)]+':\x20'+a[p(0x1c3)])):this[p(0x1d6)]['write'](p(0x1d5)+this[p(0x1c3)]+':\x20'+a[p(0x1c3)]);}[a53i(0x1bb)](a){const q=a53i;this['puzzle']=a,this['logger'][q(0x1b7)](q(0x1c4)+this['name']+':\x20'+a[q(0x1d4)]);}[a53i(0x1b5)](a){const r=a53i;switch(a){case r(0x1bf):return Direction['SOUTH'];case'south':return Direction[r(0x1a7)];case'east':return Direction[r(0x1ac)];case'west':return Direction[r(0x1d8)];case'up':return Direction['DOWN'];case r(0x1cd):return Direction['UP'];default:throw new Error(r(0x1c6)+a);}}[a53i(0x1d2)](a){const s=a53i;for(const b of this[s(0x1df)][s(0x1c8)]()){if(b instanceof Door){if(b[s(0x1b4)]===this&&b[s(0x1ab)]===a||b['roomB']===this&&b['roomA']===a)return b;}}return undefined;}}
1
+ function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xaf;let f=c[d];return f;},a53d(a,b);}const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xce))/0x1+parseInt(f(0xc2))/0x2+-parseInt(f(0xb6))/0x3+-parseInt(f(0xda))/0x4*(parseInt(f(0xc8))/0x5)+-parseInt(f(0xe3))/0x6+parseInt(f(0xeb))/0x7*(-parseInt(f(0xe1))/0x8)+parseInt(f(0xdb))/0x9*(parseInt(f(0xdd))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x22fd7));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()['search'](h(0xc3))[h(0xe0)]()[h(0xd7)](a53a)[h(0xd0)](h(0xc3));});a53a();function a53c(){const u=['Fetching\x20exit\x20in\x20direction:\x20','down','east','Item\x20added\x20to\x20room\x20','265OxpZxH','roomType','Checking\x20if\x20exit\x20in\x20direction\x20','values','findExistingDoor','name','213538InxjUW','WEST','search','getInstance','get','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','apply','write','riddle','constructor','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','south','5388VOyFnj','24408SKNPxR','getExit','2610KYAAHe','\x20remains\x20locked.','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','toString','24YoedQr','puzzle','1215702waNvsU','EAST','Puzzle\x20set\x20for\x20room\x20','logger','The\x20','checkIfLocked','set','setPuzzle','185836jORUNI','No\x20locked\x20exit\x20found\x20in\x20direction\x20','Item\x20removed\x20from\x20room\x20','getOppositeDirection','speak','attemptUnlock','Invalid\x20direction:\x20','roomA','DOWN','.\x20Success:\x20','838203mITwdM','north','inventory','\x20is\x20locked.\x20Result:\x20','hasItem','addExit','exits','west','isStartRoom','addItem','roomB','description','564156EWzTQy','(((.+)+)+)+$'];a53c=function(){return u;};return a53c();}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{[a53i(0xe6)]=Logger[a53i(0xd1)]();[a53i(0xcd)];[a53i(0xc1)];[a53i(0xbc)]=new Map();[a53i(0xc9)];[a53i(0xbe)];[a53i(0xb8)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0xcd)]=a[j(0xcd)],this[j(0xc1)]=a[j(0xc1)],this[j(0xc9)]=a['roomType']||RoomType['INSIDE'],a[j(0xbc)]&&(this[j(0xbc)]=a[j(0xbc)]||new Map()),a[j(0xb8)]&&(this['inventory']=a[j(0xb8)]),a[j(0xe2)]&&(this['puzzle']=a[j(0xe2)]),this[j(0xbe)]=a[j(0xbe)]||![],this[j(0xe6)][j(0xd5)]('Room\x20created:\x20'+this['name']);}['say'](a,b){const k=a53i;this['emit'](k(0xb0),a,b);}[a53i(0xbb)](a,b,c){const l=a53i;let d=this[l(0xcc)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0xbc)][l(0xe9)](a,d),b['exits'][l(0xe9)](this[l(0xaf)](a),d);}['attemptUnlockExit'](a,b){const m=a53i,c=this[m(0xbc)][m(0xd2)](a);if(c instanceof Door){const d=c[m(0xb1)](b);return this[m(0xe6)][m(0xd5)](m(0xd8)+a+m(0xb5)+d),d?m(0xe7)+c[m(0xcd)]+'\x20unlocked!':m(0xe7)+c[m(0xcd)]+m(0xde);}return this[m(0xe6)][m(0xd5)](m(0xec)+a),m(0xd3);}[a53i(0xdc)](a){const n=a53i;return this[n(0xe6)][n(0xd5)](n(0xc4)+a),this[n(0xbc)]['get'](a);}['isExitLocked'](a){const o=a53i,b=this[o(0xbc)]['get'](a),c=b instanceof Door&&b[o(0xe8)]();return this[o(0xe6)][o(0xd5)](o(0xca)+a+o(0xb9)+c),c;}[a53i(0xbf)](a){const p=a53i;this[p(0xb8)]['addItem'](a),this[p(0xe6)]['write'](p(0xc7)+this[p(0xcd)]+':\x20'+a[p(0xcd)]);}['removeItem'](a){const q=a53i;this[q(0xb8)][q(0xba)](a[q(0xcd)])?(this[q(0xb8)]['removeItem'](a[q(0xcd)]),this[q(0xe6)][q(0xd5)](q(0xed)+this[q(0xcd)]+':\x20'+a[q(0xcd)])):this[q(0xe6)][q(0xd5)](q(0xdf)+this[q(0xcd)]+':\x20'+a['name']);}[a53i(0xea)](a){const r=a53i;this[r(0xe2)]=a,this[r(0xe6)]['write'](r(0xe5)+this[r(0xcd)]+':\x20'+a[r(0xd6)]);}[a53i(0xaf)](a){const s=a53i;switch(a){case s(0xb7):return Direction['SOUTH'];case s(0xd9):return Direction['NORTH'];case s(0xc6):return Direction[s(0xcf)];case s(0xbd):return Direction[s(0xe4)];case'up':return Direction[s(0xb4)];case s(0xc5):return Direction['UP'];default:throw new Error(s(0xb2)+a);}}[a53i(0xcc)](a){const t=a53i;for(const b of this['exits'][t(0xcb)]()){if(b instanceof Door){if(b[t(0xb3)]===this&&b[t(0xc0)]===a||b[t(0xc0)]===this&&b[t(0xb3)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a54k=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x13a))/0x1+-parseInt(i(0x131))/0x2*(parseInt(i(0x14b))/0x3)+parseInt(i(0x14e))/0x4*(-parseInt(i(0x116))/0x5)+-parseInt(i(0x127))/0x6+parseInt(i(0x111))/0x7*(-parseInt(i(0x11a))/0x8)+-parseInt(i(0x14d))/0x9+-parseInt(i(0x11e))/0xa*(-parseInt(i(0x139))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x500f6));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const j=a54d;return a54a[j(0x126)]()[j(0x10f)]('(((.+)+)+)+$')[j(0x126)]()[j(0x13d)](a54a)['search'](j(0x11f));});a54a();import{Logger}from'../utilities/logger.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x10b;let f=c[d];return f;},a54d(a,b);}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a54c(){const D=['logger','\x20found\x20in\x20the\x20scene.','determineStartRoom','3045cVwesx','\x20to\x20room\x20','keys','length','2577296NydAvh','\x20already\x20exists\x20in\x20the\x20scene.','exits','addExit','19462070uruDFd','(((.+)+)+)+$','warn','Failed\x20to\x20add\x20item\x20','has','roomConfiguration','player','allActors','toString','3311700fcriAo','setCharacterLocation','actors','roomFactory','\x20not\x20found\x20in\x20scene.','name','rooms','Actor\x20with\x20name\x20','set','addActor','1052Esmgdx','write','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','values','addItem','Failed\x20to\x20set\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','.\x20Room\x20','11AWMVpx','30633AmgbHz','Room\x20\x22','removeActor','constructor','join','Removed\x20room\x20from\x20scene:\x20','addRoom','addPuzzleToRoom','getRooms','get','delete','\x27s\x20location.\x20Room\x20','from','Added\x20item\x20','getPlayer','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','getActor','1509GZnTuW','Added\x20puzzle\x20to\x20room\x20','3859749jRKIGD','132UKZWhr','createExitsFromConfig','direction','push','initialize','search','generateRoomsFromConfig','7oeOaSE','toUpperCase'];a54c=function(){return D;};return a54c();}export class Scene extends AbstractScene{['rooms'];['player'];['logger'];[a54k(0x129)];['characterLocations']=new Map();[a54k(0x12a)];constructor(a){const l=a54k;super(),this[l(0x12a)]=new RoomFactory(),this['player']=a[l(0x124)],this['rooms']=this['generateRoomsFromConfig'](a[l(0x123)]),this[l(0x113)]=Logger['getInstance'](),this['actors']=new Map(),this[l(0x10b)](a['roomConfiguration']),this[l(0x113)]['write']('Scene\x20initialized\x20with\x20rooms:\x20'+Object[l(0x118)](this['rooms'])[l(0x13e)](',\x20'));}[a54k(0x10e)](){const m=a54k;this[m(0x124)]['currentLocation']=this[m(0x115)]();}[a54k(0x110)](a){const n=a54k;if(!this[n(0x12a)])throw new Error(n(0x133));const b={};for(const c of a){const d=this[n(0x12a)]['createRoom'](c);b[c['name']]=d;}return b;}[a54k(0x10b)](a){const o=a54k;for(const b of a){const c=this['rooms'][b['name']];if(b[o(0x11c)])for(const d of b[o(0x11c)]){const e=d[o(0x10c)][o(0x112)](),f=d['targetRoom'],g=d['keyRequired'],h=this[o(0x12d)][f];h&&c[o(0x11d)](Direction[e],h,g);}}}[a54k(0x130)](a){const p=a54k;if(this[p(0x129)][p(0x122)](a[p(0x12c)]))throw new Error(p(0x12e)+a[p(0x12c)]+p(0x11b));this[p(0x129)][p(0x12f)](a[p(0x12c)],a);}[a54k(0x13c)](a){const q=a54k;if(!this[q(0x129)][q(0x122)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+q(0x114));this['actors'][q(0x144)](a);}[a54k(0x14a)](a){const r=a54k;return this[r(0x129)]['get'](a);}get[a54k(0x125)](){const s=a54k;return Array[s(0x146)](this[s(0x129)][s(0x134)]());}[a54k(0x140)](a){const t=a54k;this[t(0x12d)][a[t(0x12c)]]=a,this[t(0x113)][t(0x132)]('Added\x20room\x20to\x20scene:\x20'+a[t(0x12c)]);}['removeRoom'](a){const u=a54k;return this['rooms'][a]?(delete this[u(0x12d)][a],this[u(0x113)][u(0x132)](u(0x13f)+a),!![]):(this[u(0x113)][u(0x132)]('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}['addItemToRoom'](a,b){const v=a54k,c=this['rooms'][b];c?(c[v(0x135)](a),this[v(0x113)][v(0x132)](v(0x147)+a[v(0x12c)]+v(0x117)+c[v(0x12c)])):this[v(0x113)][v(0x132)](v(0x121)+a[v(0x12c)]+v(0x138)+b+v(0x12b));}[a54k(0x141)](a,b){const w=a54k,c=this[w(0x12d)][b];c?(c['setPuzzle'](a),this[w(0x113)][w(0x132)](w(0x14c)+c['name'])):this[w(0x113)]['write']('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+w(0x12b));}[a54k(0x128)](a,b){const x=a54k,c=this['rooms'][b];c?(this['characterLocations'][x(0x12f)](a['name'],c),this['logger'][x(0x132)](a[x(0x12c)]+'\x20is\x20now\x20in\x20room\x20'+c['name'])):this[x(0x113)]['write'](x(0x136)+a[x(0x12c)]+x(0x145)+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const y=a54k;return this['characterLocations'][y(0x143)](a[y(0x12c)]);}[a54k(0x115)](){const z=a54k,a=[];for(const c in this[z(0x12d)]){if(this[z(0x12d)]['hasOwnProperty'](c)){const d=this[z(0x12d)][c];d['isStartRoom']&&a[z(0x10d)](d);}}if(a[z(0x119)]>0x1)throw new Error(z(0x149));if(a[z(0x119)]===0x1)return a[0x0];const b=Object[z(0x118)](this[z(0x12d)]);if(b[z(0x119)]===0x0)throw new Error(z(0x137));return console[z(0x120)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[z(0x12d)][b[0x0]];}[a54k(0x148)](){const A=a54k;return this[A(0x124)];}[a54k(0x142)](){const B=a54k;return this[B(0x12d)];}['connectRooms'](a,b,c,d){const C=a54k,e=this['rooms'][a],f=this[C(0x12d)][c];if(!e)throw new Error(C(0x13b)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(C(0x13b)+c+'\x22\x20does\x20not\x20exist.');e[C(0x11d)](b,f,d);}}
1
+ const a54k=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x1d1))/0x1+-parseInt(i(0x1e0))/0x2*(-parseInt(i(0x212))/0x3)+-parseInt(i(0x1d5))/0x4*(-parseInt(i(0x210))/0x5)+parseInt(i(0x1fd))/0x6*(-parseInt(i(0x1e4))/0x7)+parseInt(i(0x215))/0x8*(-parseInt(i(0x1d6))/0x9)+parseInt(i(0x1d8))/0xa+-parseInt(i(0x1ea))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xe9643));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const j=a54d;return a54a['toString']()[j(0x20b)](j(0x1eb))['toString']()[j(0x20d)](a54a)[j(0x20b)](j(0x1eb));});function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1cb;let f=c[d];return f;},a54d(a,b);}a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a54c(){const D=['keyRequired','\x27s\x20location.\x20Room\x20','search','Added\x20item\x20','constructor','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','roomFactory','29290HtNlxo','direction','9HyPcWP','length','roomConfiguration','1374584XYXTIm','createExitsFromConfig','join','initialize','removeRoom','getInstance','addItemToRoom','removeActor','219266gYLHFM','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','.\x20Room\x20','get','612gUpeYE','18lkhdkx','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','11149000bCJqxd','warn','createRoom','values','Added\x20room\x20to\x20scene:\x20','allActors','getPlayer','name','766106vWRdSF','player','Removed\x20room\x20from\x20scene:\x20','getRooms','7vcmyWc','Scene\x20initialized\x20with\x20rooms:\x20','from','hasOwnProperty','has','addPuzzleToRoom','11405251pDjdxS','(((.+)+)+)+$','\x22\x20does\x20not\x20exist.','Room\x20\x22','\x20found\x20in\x20the\x20scene.','currentLocation','logger','No\x20actor\x20with\x20name\x20','addExit','exits','targetRoom','connectRooms','rooms','getCharacterLocation','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','write','\x20to\x20room\x20','characterLocations','Failed\x20to\x20set\x20','3627654mRykSb','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Added\x20puzzle\x20to\x20room\x20','generateRoomsFromConfig','addRoom','determineStartRoom','\x20not\x20found\x20in\x20scene.','actors','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','addItem','isStartRoom','\x20already\x20exists\x20in\x20the\x20scene.'];a54c=function(){return D;};return a54c();}export class Scene extends AbstractScene{['rooms'];[a54k(0x1e1)];[a54k(0x1f0)];[a54k(0x204)];[a54k(0x1fb)]=new Map();[a54k(0x20f)];constructor(a){const l=a54k;super(),this[l(0x20f)]=new RoomFactory(),this[l(0x1e1)]=a[l(0x1e1)],this[l(0x1f6)]=this[l(0x200)](a['roomConfiguration']),this[l(0x1f0)]=Logger[l(0x1ce)](),this[l(0x204)]=new Map(),this['createExitsFromConfig'](a[l(0x214)]),this['logger'][l(0x1f9)](l(0x1e5)+Object['keys'](this[l(0x1f6)])[l(0x1cb)](',\x20'));}[a54k(0x1cc)](){const m=a54k;this[m(0x1e1)][m(0x1ef)]=this[m(0x202)]();}[a54k(0x200)](a){const n=a54k;if(!this[n(0x20f)])throw new Error(n(0x1d2));const b={};for(const c of a){const d=this[n(0x20f)][n(0x1da)](c);b[c['name']]=d;}return b;}[a54k(0x216)](a){const o=a54k;for(const b of a){const c=this[o(0x1f6)][b[o(0x1df)]];if(b[o(0x1f3)])for(const d of b[o(0x1f3)]){const e=d[o(0x211)]['toUpperCase'](),f=d[o(0x1f4)],g=d[o(0x209)],h=this[o(0x1f6)][f];h&&c[o(0x1f2)](Direction[e],h,g);}}}['addActor'](a){const p=a54k;if(this['actors'][p(0x1e8)](a[p(0x1df)]))throw new Error('Actor\x20with\x20name\x20'+a[p(0x1df)]+p(0x208));this[p(0x204)]['set'](a[p(0x1df)],a);}[a54k(0x1d0)](a){const q=a54k;if(!this[q(0x204)][q(0x1e8)](a))throw new Error(q(0x1f1)+a+q(0x1ee));this[q(0x204)]['delete'](a);}['getActor'](a){const r=a54k;return this[r(0x204)][r(0x1d4)](a);}get[a54k(0x1dd)](){const s=a54k;return Array[s(0x1e6)](this[s(0x204)][s(0x1db)]());}[a54k(0x201)](a){const t=a54k;this['rooms'][a['name']]=a,this['logger'][t(0x1f9)](t(0x1dc)+a[t(0x1df)]);}[a54k(0x1cd)](a){const u=a54k;return this[u(0x1f6)][a]?(delete this[u(0x1f6)][a],this[u(0x1f0)][u(0x1f9)](u(0x1e2)+a),!![]):(this[u(0x1f0)]['write'](u(0x1f8)+a),![]);}[a54k(0x1cf)](a,b){const v=a54k,c=this['rooms'][b];c?(c[v(0x206)](a),this[v(0x1f0)]['write'](v(0x20c)+a['name']+v(0x1fa)+c[v(0x1df)])):this[v(0x1f0)][v(0x1f9)]('Failed\x20to\x20add\x20item\x20'+a[v(0x1df)]+v(0x1d3)+b+v(0x203));}[a54k(0x1e9)](a,b){const w=a54k,c=this[w(0x1f6)][b];c?(c['setPuzzle'](a),this['logger'][w(0x1f9)](w(0x1ff)+c[w(0x1df)])):this[w(0x1f0)][w(0x1f9)](w(0x1fe)+b+w(0x203));}['setCharacterLocation'](a,b){const x=a54k,c=this[x(0x1f6)][b];c?(this['characterLocations']['set'](a[x(0x1df)],c),this['logger'][x(0x1f9)](a[x(0x1df)]+'\x20is\x20now\x20in\x20room\x20'+c[x(0x1df)])):this[x(0x1f0)]['write'](x(0x1fc)+a[x(0x1df)]+x(0x20a)+b+x(0x203));}[a54k(0x1f7)](a){const y=a54k;return this['characterLocations'][y(0x1d4)](a[y(0x1df)]);}[a54k(0x202)](){const z=a54k,a=[];for(const c in this[z(0x1f6)]){if(this['rooms'][z(0x1e7)](c)){const d=this[z(0x1f6)][c];d[z(0x207)]&&a['push'](d);}}if(a[z(0x213)]>0x1)throw new Error(z(0x20e));if(a[z(0x213)]===0x1)return a[0x0];const b=Object['keys'](this[z(0x1f6)]);if(b[z(0x213)]===0x0)throw new Error(z(0x205));return console[z(0x1d9)](z(0x1d7)),this[z(0x1f6)][b[0x0]];}[a54k(0x1de)](){const A=a54k;return this[A(0x1e1)];}[a54k(0x1e3)](){const B=a54k;return this[B(0x1f6)];}[a54k(0x1f5)](a,b,c,d){const C=a54k,e=this[C(0x1f6)][a],f=this[C(0x1f6)][c];if(!e)throw new Error('Room\x20\x22'+a+C(0x1ec));if(!f)throw new Error(C(0x1ed)+c+C(0x1ec));e[C(0x1f2)](b,f,d);}}
@@ -1 +1 @@
1
- var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x15c))/0x1*(parseInt(f(0x165))/0x2)+parseInt(f(0x175))/0x3*(-parseInt(f(0x155))/0x4)+-parseInt(f(0x158))/0x5+parseInt(f(0x159))/0x6+-parseInt(f(0x176))/0x7*(-parseInt(f(0x152))/0x8)+-parseInt(f(0x16d))/0x9*(parseInt(f(0x16c))/0xa)+-parseInt(f(0x14f))/0xb*(-parseInt(f(0x177))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xaf1dc));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x16e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0x16a)](h(0x164))[h(0x169)]()[h(0x151)](a55a)[h(0x16a)]('(((.+)+)+)+$');});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';function a55c(){var D=['\x20aloft,\x20feeling\x20its\x20immense\x20power.','Cup','Rifle','You\x20hold\x20the\x20','Metallic','Key','BodyArmor','name','Unknown','Blade','publishDate','Weapon','Brown','4334wFoUdS','Gold','constructor','8rFGclR','Rare','description','1662776WNiYcU','author','Common','2282205MVJPti','2443296XeARDe','Medium','ArmArmor','3aRYYBH','Yellow','pageCount','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','A\x20mysterious\x20book.','Gloves','Smooth','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','(((.+)+)+)+$','352366rDNziy','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Legendary','use','toString','search','Large','9400YTfOBv','10584lZalyj','apply','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Sniper\x20Rifle','Grey','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Circle','Rectangle','3mrnBRY','8681316vQwBcF','15804jPLmhd','Small','Unknown\x20Author'];a55c=function(){return D;};return a55c();}import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size[i(0x15a)],'category':Category[i(0x14a)],'shape':Shape[i(0x174)],'color':Color[i(0x15d)],'texture':Texture[i(0x162)],'rating':Rating[i(0x157)],'weight':0x1});}[a55j(0x168)](){var k=a55j;return this[k(0x154)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Weapon'],'shape':Shape['Blade'],'color':Color[l(0x171)],'texture':Texture[l(0x146)],'rating':Rating['Common'],'weight':0x3});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x145;var f=c[d];return f;},a55d(a,b);}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0x16b)],'category':Category[m(0x14d)],'shape':Shape[m(0x17c)],'color':Color[m(0x14e)],'texture':Texture[m(0x146)],'rating':Rating[m(0x153)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x15a)],'category':Category['Helmet'],'shape':Shape[n(0x173)],'color':Color[n(0x171)],'texture':Texture[n(0x146)],'rating':Rating[n(0x157)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size[o(0x16b)],'category':Category[o(0x148)],'shape':Shape[o(0x174)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[o(0x157)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0x15a)],'category':Category['LegArmor'],'shape':Shape[p(0x174)],'color':Color['Grey'],'texture':Texture[p(0x146)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Boots'],'shape':Shape['Circle'],'color':Color[q(0x14e)],'texture':Texture['Smooth'],'rating':Rating[q(0x157)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x178)],'category':Category[r(0x161)],'shape':Shape[r(0x173)],'color':Color[r(0x14e)],'texture':Texture[r(0x162)],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x15a)],'category':Category[s(0x15b)],'shape':Shape[s(0x174)],'color':Color[s(0x171)],'texture':Texture[s(0x146)],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category[t(0x147)],'shape':Shape[t(0x174)],'color':Color[t(0x15d)],'texture':Texture[t(0x162)],'rating':Rating[t(0x157)],'weight':0x0});}[a55j(0x168)](){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=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Weapon'],'shape':Shape[u(0x14b)],'color':Color[u(0x171)],'texture':Texture[u(0x146)],'rating':Rating[u(0x157)],'weight':0x3});}[a55j(0x168)](){var v=a55j;return v(0x163);}}export class Book extends Item{[a55j(0x156)];[a55j(0x14c)];[a55j(0x15e)];constructor(a,b=a55j(0x160),c=a55j(0x179)){var w=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Book'],'shape':Shape['Rectangle'],'color':Color[w(0x14e)],'texture':Texture['Smooth'],'rating':Rating[w(0x157)],'weight':0x1}),this[w(0x156)]=c,this['publishDate']=new Date(),this[w(0x15e)]=0x64;}[a55j(0x168)](){var x=a55j;return x(0x166);}}export class ShortSword extends Item{constructor(){var y=a55j;super({'name':'Short\x20Sword','description':'A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','size':Size[y(0x15a)],'category':Category[y(0x14d)],'shape':Shape[y(0x14b)],'color':Color[y(0x171)],'texture':Texture[y(0x146)],'rating':Rating[y(0x157)],'weight':0x3});}['use'](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var z=a55j;super({'name':z(0x170),'description':z(0x15f),'size':Size['Large'],'category':Category['Weapon'],'shape':Shape[z(0x17c)],'color':Color[z(0x14e)],'texture':Texture[z(0x162)],'rating':Rating[z(0x157)],'weight':0x5});}['use'](){var A=a55j;return A(0x172);}}export class HolyGrail extends Item{constructor(){var B=a55j;super({'name':'Holy\x20Grail','description':B(0x16f),'size':Size['Small'],'category':Category[B(0x17b)],'shape':Shape[B(0x173)],'color':Color[B(0x150)],'texture':Texture[B(0x146)],'rating':Rating[B(0x167)],'weight':0x1});}['use'](){var C=a55j;return C(0x145)+this[C(0x149)]+C(0x17a);}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x19a))/0x1+parseInt(f(0x1bb))/0x2+parseInt(f(0x192))/0x3*(-parseInt(f(0x1b2))/0x4)+parseInt(f(0x18c))/0x5+-parseInt(f(0x18d))/0x6+-parseInt(f(0x19e))/0x7*(parseInt(f(0x1ae))/0x8)+parseInt(f(0x1b7))/0x9*(parseInt(f(0x1a5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xca802));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var g=a55d;return a55a[g(0x1ac)]()[g(0x1ad)]('(((.+)+)+)+$')[g(0x1ac)]()[g(0x1b5)](a55a)['search'](g(0x196));});function a55c(){var C=['A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','pageCount','Short\x20Sword','Rifle','author','40uakbdg','You\x20hold\x20the\x20','LegArmor','Helmet','Small','use','BodyArmor','toString','search','88dLFaDY','Metallic','Weapon','Rare','156240mHNmma','Sniper\x20Rifle','Book','constructor','Common','2695086LNbFMI','Cup','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','1916522TofzWc','Rectangle','publishDate','A\x20mysterious\x20book.','Unknown','6345445TbXfPA','5327748Bdwquv','Holy\x20Grail','Large','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Brown','42ISdQFI','Legendary','Circle','ArmArmor','(((.+)+)+)+$','Blade','Grey','Medium','915175vyZUoy','Smooth','Tiny','name','156387MyeFPx','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22'];a55c=function(){return C;};return a55c();}a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var h=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[h(0x18b)],'shape':Shape[h(0x188)],'color':Color['Yellow'],'texture':Texture[h(0x19b)],'rating':Rating['Common'],'weight':0x1});}[a55i(0x1aa)](){return this['description'];}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x188;var f=c[d];return f;},a55d(a,b);}export class Sword extends Item{constructor(a,b){var j=a55i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[j(0x1b0)],'shape':Shape[j(0x197)],'color':Color[j(0x198)],'texture':Texture['Metallic'],'rating':Rating[j(0x1b6)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var k=a55i;super({'name':a,'description':b,'size':Size['Large'],'category':Category['Weapon'],'shape':Shape[k(0x1a3)],'color':Color[k(0x191)],'texture':Texture[k(0x1af)],'rating':Rating[k(0x1b1)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var l=a55i;super({'name':a,'description':b,'size':Size[l(0x199)],'category':Category[l(0x1a8)],'shape':Shape[l(0x194)],'color':Color['Grey'],'texture':Texture[l(0x1af)],'rating':Rating[l(0x1b6)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var m=a55i;super({'name':a,'description':b,'size':Size[m(0x18f)],'category':Category[m(0x1ab)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[m(0x1af)],'rating':Rating[m(0x1b6)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var n=a55i;super({'name':a,'description':b,'size':Size[n(0x199)],'category':Category[n(0x1a7)],'shape':Shape[n(0x188)],'color':Color[n(0x198)],'texture':Texture[n(0x1af)],'rating':Rating[n(0x1b6)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var o=a55i;super({'name':a,'description':b,'size':Size[o(0x199)],'category':Category['Boots'],'shape':Shape[o(0x194)],'color':Color['Brown'],'texture':Texture[o(0x19b)],'rating':Rating[o(0x1b6)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var p=a55i;super({'name':a,'description':b,'size':Size['Small'],'category':Category['Gloves'],'shape':Shape['Circle'],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating[p(0x1b6)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var q=a55i;super({'name':a,'description':b,'size':Size[q(0x199)],'category':Category[q(0x195)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[q(0x1af)],'rating':Rating[q(0x1b6)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var r=a55i;super({'name':a,'description':b,'size':Size[r(0x19c)],'category':Category['Key'],'shape':Shape[r(0x188)],'color':Color['Yellow'],'texture':Texture[r(0x19b)],'rating':Rating[r(0x1b6)],'weight':0x0});}[a55i(0x1aa)](){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 s=a55i;super({'name':a,'description':b,'size':Size[s(0x199)],'category':Category[s(0x1b0)],'shape':Shape['Blade'],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[s(0x1b6)],'weight':0x3});}[a55i(0x1aa)](){var t=a55i;return t(0x1ba);}}export class Book extends Item{[a55i(0x1a4)];[a55i(0x189)];[a55i(0x1a1)];constructor(a,b=a55i(0x18a),c='Unknown\x20Author'){var u=a55i;super({'name':a,'description':b,'size':Size[u(0x199)],'category':Category[u(0x1b4)],'shape':Shape[u(0x188)],'color':Color[u(0x191)],'texture':Texture[u(0x19b)],'rating':Rating[u(0x1b6)],'weight':0x1}),this[u(0x1a4)]=c,this[u(0x189)]=new Date(),this[u(0x1a1)]=0x64;}[a55i(0x1aa)](){var v=a55i;return v(0x190);}}export class ShortSword extends Item{constructor(){var w=a55i;super({'name':w(0x1a2),'description':w(0x1b9),'size':Size[w(0x199)],'category':Category[w(0x1b0)],'shape':Shape[w(0x197)],'color':Color[w(0x198)],'texture':Texture[w(0x1af)],'rating':Rating['Common'],'weight':0x3});}['use'](){var x=a55i;return x(0x1ba);}}export class SniperRifle extends Item{constructor(){var y=a55i;super({'name':y(0x1b3),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[y(0x18f)],'category':Category[y(0x1b0)],'shape':Shape[y(0x1a3)],'color':Color['Brown'],'texture':Texture[y(0x19b)],'rating':Rating[y(0x1b6)],'weight':0x5});}['use'](){var z=a55i;return z(0x19f);}}export class HolyGrail extends Item{constructor(){var A=a55i;super({'name':A(0x18e),'description':A(0x1a0),'size':Size[A(0x1a9)],'category':Category[A(0x1b8)],'shape':Shape[A(0x194)],'color':Color['Gold'],'texture':Texture[A(0x1af)],'rating':Rating[A(0x193)],'weight':0x1});}[a55i(0x1aa)](){var B=a55i;return B(0x1a6)+this[B(0x19d)]+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}