@maka/maka-cli 4.6.9 → 4.6.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/install.js +1 -1
  73. package/bundle/obf/src/commands/jsdoc.js +1 -1
  74. package/bundle/obf/src/commands/lint.js +1 -1
  75. package/bundle/obf/src/commands/login.js +1 -1
  76. package/bundle/obf/src/commands/logout.js +1 -1
  77. package/bundle/obf/src/commands/logs.js +1 -1
  78. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  79. package/bundle/obf/src/commands/murder.js +1 -1
  80. package/bundle/obf/src/commands/proxy.js +1 -1
  81. package/bundle/obf/src/commands/reconfig.js +1 -1
  82. package/bundle/obf/src/commands/run/_index.js +1 -1
  83. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  84. package/bundle/obf/src/commands/run/run.command.js +1 -1
  85. package/bundle/obf/src/commands/set/_index.js +1 -1
  86. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  88. package/bundle/obf/src/commands/set/set.command.js +1 -1
  89. package/bundle/obf/src/commands/ssh.js +1 -1
  90. package/bundle/obf/src/commands/ssl.js +1 -1
  91. package/bundle/obf/src/commands/test.js +1 -1
  92. package/bundle/obf/src/commands/version.js +1 -1
  93. package/bundle/obf/src/error.js +1 -1
  94. package/bundle/obf/src/exec.js +1 -1
  95. package/bundle/obf/src/generator.js +1 -1
  96. package/bundle/obf/src/generators/_index.js +1 -1
  97. package/bundle/obf/src/generators/api.js +1 -1
  98. package/bundle/obf/src/generators/collection.js +1 -1
  99. package/bundle/obf/src/generators/component.js +1 -1
  100. package/bundle/obf/src/generators/config.js +1 -1
  101. package/bundle/obf/src/generators/dbc.js +1 -1
  102. package/bundle/obf/src/generators/dockerfile.js +1 -1
  103. package/bundle/obf/src/generators/hook.js +1 -1
  104. package/bundle/obf/src/generators/kit.js +1 -1
  105. package/bundle/obf/src/generators/layout.js +1 -1
  106. package/bundle/obf/src/generators/maka.gen.js +1 -1
  107. package/bundle/obf/src/generators/methods.js +1 -1
  108. package/bundle/obf/src/generators/package.js +1 -1
  109. package/bundle/obf/src/generators/page.js +1 -1
  110. package/bundle/obf/src/generators/publish.js +1 -1
  111. package/bundle/obf/src/generators/route.js +1 -1
  112. package/bundle/obf/src/generators/service.js +1 -1
  113. package/bundle/obf/src/generators/services/_index.js +1 -1
  114. package/bundle/obf/src/generators/services/openssl.js +1 -1
  115. package/bundle/obf/src/generators/services/translation.js +1 -1
  116. package/bundle/obf/src/maka.js +1 -1
  117. package/bundle/obf/src/tool.js +1 -1
  118. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  120. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  122. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  124. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  125. package/bundle/obf/src/tools/https/https.class.js +1 -1
  126. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  127. package/bundle/obf/src/tools/https/progress.class.js +1 -1
  128. package/bundle/obf/src/tools/log/log.class.js +1 -1
  129. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/options/options.class.js +1 -1
  131. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  132. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  134. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  136. package/package.json +1 -1
@@ -1 +1 @@
1
- const a36h=a36d;function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x111;let f=c[d];return f;},a36d(a,b);}(function(a,b){const f=a36d,c=a();while(!![]){try{const d=parseInt(f(0x12b))/0x1*(parseInt(f(0x13e))/0x2)+-parseInt(f(0x11c))/0x3*(parseInt(f(0x139))/0x4)+-parseInt(f(0x119))/0x5*(parseInt(f(0x12c))/0x6)+parseInt(f(0x137))/0x7+-parseInt(f(0x112))/0x8+parseInt(f(0x136))/0x9+parseInt(f(0x111))/0xa*(parseInt(f(0x123))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x68ee5));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const g=a36d;return a36a[g(0x11f)]()[g(0x11a)](g(0x13d))[g(0x11f)]()[g(0x13a)](a36a)['search'](g(0x13d));});a36a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a36h(0x126)]=a36h(0x12d);static [a36h(0x115)]=a36h(0x127);[a36h(0x135)](a){const i=a36h;return this[i(0x12f)][i(0x12a)](i(0x133)+a[i(0x11d)]('\x20')),this['take'](a);}[a36h(0x12d)](a){const j=a36h,b=a[j(0x11d)]('\x20')['toLowerCase'](),c=this[j(0x12e)][j(0x117)];if(!c[j(0x129)][j(0x118)](b))return this[j(0x12f)]['write'](j(0x125)+b+j(0x130)+c[j(0x121)]+'\x20during\x20\x27Take\x27\x20command.'),j(0x113)+b+'\x22\x20in\x20this\x20room.';const d=c[j(0x129)][j(0x120)](b);if(!d)return this[j(0x12f)][j(0x12a)](j(0x125)+b+j(0x116)+c[j(0x121)]+j(0x122)),j(0x113)+b+j(0x114);try{return this['actor'][j(0x128)](d),this[j(0x12f)]['write'](j(0x11e)+b+j(0x13b)+this['actor'][j(0x121)]+j(0x11b)),c['inventory'][j(0x134)](b),this[j(0x12f)][j(0x12a)](j(0x132)+b+j(0x138)+c['name']+j(0x122)),j(0x140)+b+'.';}catch(e){return this[j(0x12f)]['write'](j(0x13f)+e[j(0x124)]),j(0x13c)+b+j(0x131);}}}function a36c(){const k=['Successfully\x20added\x20\x22','toString','getItem','name','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','11264IpYPyD','message','Item\x20\x22','verb','Pick\x20up\x20an\x20item.','addInventory','inventory','write','328yArQeC','72018JOzvjL','take','actor','logger','\x22\x20not\x20found\x20in\x20','\x22\x20is\x20too\x20heavy\x20to\x20carry.','Successfully\x20removed\x20\x22','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','removeItem','execute','1556226gbsDUC','2104893YFHxIZ','\x22\x20from\x20','20308OuGDHc','constructor','\x22\x20to\x20','The\x20item\x20\x22','(((.+)+)+)+$','358ZTsRRZ','Error\x20during\x20\x27Take\x27\x20command:\x20','You\x20have\x20taken\x20the\x20','13070ZCYikI','3679768fgBBcg','There\x20is\x20no\x20item\x20\x22','\x22\x20in\x20this\x20room.','description','\x22\x20not\x20retrieved\x20from\x20','currentLocation','hasItem','250YUthMd','search','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','225dLWISe','join'];a36c=function(){return k;};return a36c();}
1
+ function a36c(){const l=['Item\x20\x22','21CeqWGB','search','description','execute','427668NBPiTD','\x22\x20not\x20retrieved\x20from\x20','3785312IfFRjo','There\x20is\x20no\x20item\x20\x22','join','inventory','253324XNmHMB','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','(((.+)+)+)+$','\x22\x20in\x20this\x20room.','29905WlAMDQ','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','2609046AEpsWP','\x22\x20is\x20too\x20heavy\x20to\x20carry.','hasItem','logger','Error\x20during\x20\x27Take\x27\x20command:\x20','message','currentLocation','apply','Pick\x20up\x20an\x20item.','name','removeItem','\x22\x20to\x20','Successfully\x20added\x20\x22','actor','272quRbtP','constructor','1408323tkgleg','write','973326BNkLhY','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','take'];a36c=function(){return l;};return a36c();}const a36i=a36d;function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a36d(a,b);}(function(a,b){const f=a36d,c=a();while(!![]){try{const d=parseInt(f(0x1d1))/0x1+parseInt(f(0x1d7))/0x2+parseInt(f(0x1ed))/0x3+-parseInt(f(0x1eb))/0x4*(parseInt(f(0x1db))/0x5)+parseInt(f(0x1c9))/0x6*(-parseInt(f(0x1cd))/0x7)+parseInt(f(0x1d3))/0x8+-parseInt(f(0x1dd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x4c946));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a36d;if(c){const e=c[g(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a['toString']()[h(0x1ce)](h(0x1d9))['toString']()[h(0x1ec)](a36a)[h(0x1ce)](h(0x1d9));});a36a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a36i(0x1cb);static [a36i(0x1cf)]=a36i(0x1e5);[a36i(0x1d0)](a){const j=a36i;return this['logger']['write'](j(0x1d8)+a['join']('\x20')),this[j(0x1cb)](a);}['take'](a){const k=a36i,b=a[k(0x1d5)]('\x20')['toLowerCase'](),c=this[k(0x1ea)][k(0x1e3)];if(!c['inventory'][k(0x1df)](b))return this['logger']['write'](k(0x1cc)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x1e6)]+'\x20during\x20\x27Take\x27\x20command.'),k(0x1d4)+b+k(0x1da);const d=c[k(0x1d6)]['getItem'](b);if(!d)return this[k(0x1e0)]['write'](k(0x1cc)+b+k(0x1d2)+c[k(0x1e6)]+k(0x1dc)),k(0x1d4)+b+k(0x1da);try{return this[k(0x1ea)]['addInventory'](d),this[k(0x1e0)][k(0x1c8)](k(0x1e9)+b+k(0x1e8)+this[k(0x1ea)][k(0x1e6)]+k(0x1ca)),c[k(0x1d6)][k(0x1e7)](b),this[k(0x1e0)]['write']('Successfully\x20removed\x20\x22'+b+'\x22\x20from\x20'+c['name']+k(0x1dc)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this[k(0x1e0)]['write'](k(0x1e1)+e[k(0x1e2)]),'The\x20item\x20\x22'+b+k(0x1de);}}}
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x152))/0x1*(-parseInt(f(0x161))/0x2)+-parseInt(f(0x154))/0x3+-parseInt(f(0x160))/0x4+-parseInt(f(0x150))/0x5*(-parseInt(f(0x163))/0x6)+-parseInt(f(0x15b))/0x7*(parseInt(f(0x164))/0x8)+parseInt(f(0x156))/0x9+parseInt(f(0x15a))/0xa*(-parseInt(f(0x165))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xf3d07));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()[h(0x15e)](h(0x15f))['toString']()[h(0x166)](a37a)[h(0x15e)](h(0x15f));});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x14e;let f=c[d];return f;},a37d(a,b);}a37a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a37i(0x15d)]=a37i(0x153);static ['description']=a37i(0x157);['execute'](a){const j=a37i,b=a[j(0x151)]('\x20')[j(0x159)](),c=this[j(0x158)]['unequip'](b);return this[j(0x162)]['write'](j(0x14f)+this['actor'][j(0x15c)]+j(0x14e)+c),c;}}function a37c(){const k=['apply','12509964lCNTIP','Unequip\x20an\x20item.','actor','toLowerCase','1110RLoNzg','825867KgeeWV','name','verb','search','(((.+)+)+)+$','232536euLVml','152bMUrkP','logger','4260TkEHNC','40kLyUXJ','109637FkibDJ','constructor','\x20unqeuiped\x20','UnequipCommand:\x20','675fzogbd','join','20639VDYuMP','unqeuip','904113bwWyYL'];a37c=function(){return k;};return a37c();}
1
+ const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x1e7))/0x1*(parseInt(f(0x1e1))/0x2)+parseInt(f(0x1d7))/0x3*(-parseInt(f(0x1d0))/0x4)+-parseInt(f(0x1db))/0x5*(parseInt(f(0x1d2))/0x6)+-parseInt(f(0x1e3))/0x7*(-parseInt(f(0x1d9))/0x8)+-parseInt(f(0x1da))/0x9+-parseInt(f(0x1d8))/0xa*(parseInt(f(0x1d4))/0xb)+parseInt(f(0x1e6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x5c18a));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x1e2)]()[h(0x1e5)](h(0x1ce))[h(0x1e2)]()['constructor'](a37a)[h(0x1e5)](h(0x1ce));});a37a();function a37c(){const k=['4ovpzAt','name','18066CRlOrr','unequip','2303917OqZgxg','write','toLowerCase','1485927noCuuW','10zmdpsN','96TTcxjV','4666284kpkenb','95IkwaFz','apply','actor','join','unqeuip','UnequipCommand:\x20','173006dJSKsM','toString','188349CHxisL','Unequip\x20an\x20item.','search','10827216BPZdbI','5XzRPqW','(((.+)+)+)+$','execute'];a37c=function(){return k;};return a37c();}import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a37d(a,b);}export class UnequipCommand extends Command{static ['verb']=a37i(0x1df);static ['description']=a37i(0x1e4);[a37i(0x1cf)](a){const j=a37i,b=a[j(0x1de)]('\x20')[j(0x1d6)](),c=this[j(0x1dd)][j(0x1d3)](b);return this['logger'][j(0x1d5)](j(0x1e0)+this[j(0x1dd)][j(0x1d1)]+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a38k=a38d;function a38c(){const n=['Unlock\x20a\x20door.','execute','name','hasItem','search','apply','logger','unlock','unlockItemOrSolution','4676328BpNzDS','\x22\x20here.','getItem','.\x20Result:\x20','inventory','2536737OxIBrt','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','4614kdxdaL','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','24scfsGM','constructor','actor','\x20is\x20attempted\x20to\x20unlock\x20','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','UnlockCommand:\x20No\x20target\x20specified.','toString','(((.+)+)+)+$','has','currentLocation','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','length','10GNuQQN','55bXSYHX','3665kbFsaa','exits','15820cEnnhY','35miPtlV','get','381EYTLlf','toLowerCase','UnlockCommand:\x20','write','attemptUnlockExit','6322869sDuVDD','4237476NQZUOy','There\x27s\x20no\x20door\x20named\x20\x22','error'];a38c=function(){return n;};return a38c();}(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x145))/0x1+parseInt(h(0x144))/0x2*(-parseInt(h(0x147))/0x3)+parseInt(h(0x159))/0x4+-parseInt(h(0x142))/0x5*(-parseInt(h(0x160))/0x6)+-parseInt(h(0x15e))/0x7*(parseInt(h(0x162))/0x8)+parseInt(h(0x14c))/0x9*(-parseInt(h(0x140))/0xa)+-parseInt(h(0x141))/0xb*(-parseInt(h(0x14d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xabe37));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x13a)]()[j(0x154)](j(0x13b))[j(0x13a)]()[j(0x163)](a38a)[j(0x154)](j(0x13b));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x137;let f=c[d];return f;},a38d(a,b);}a38a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']=a38k(0x157);static ['description']=a38k(0x150);[a38k(0x151)](a){const l=a38k;return this[l(0x157)](a);}[a38k(0x157)](a){const m=a38k;if(a[m(0x13f)]===0x0)return this['logger'][m(0x14f)](m(0x139)),m(0x13e);const b=a[0x0][m(0x148)](),c=this[m(0x164)][m(0x13d)];if(this['isValidDirection'](b)&&c[m(0x143)][m(0x13c)](b)){const d=c['exits'][m(0x146)](b);if(d instanceof Door){const e=d[m(0x158)]?.[m(0x148)]();if(e&&this[m(0x164)]['inventory'][m(0x153)](e)){const f=this[m(0x164)][m(0x15d)][m(0x15b)](e);if(f){const g=c[m(0x14b)](b,f['name']);return this[m(0x156)]['write'](m(0x149)+this['actor'][m(0x152)]+m(0x137)+b+m(0x15c)+g),g;}}return this[m(0x156)][m(0x14a)](m(0x149)+this['actor']['name']+m(0x15f)+b+'.'),m(0x161);}else return this['logger'][m(0x14a)](m(0x149)+b+m(0x138)+c[m(0x152)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x15a);}else return this[m(0x156)]['write']('UnlockCommand:\x20'+b+m(0x138)+c['name']+'.'),m(0x14e)+b+m(0x15a);}}
1
+ const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x12d))/0x1+-parseInt(h(0x131))/0x2+parseInt(h(0x13f))/0x3+parseInt(h(0x130))/0x4+parseInt(h(0x14f))/0x5+-parseInt(h(0x12e))/0x6+-parseInt(h(0x14c))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xc912b));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x13e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x138)]()[j(0x133)](j(0x139))[j(0x138)]()[j(0x147)](a38a)[j(0x133)](j(0x139));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x12c;let f=c[d];return f;},a38d(a,b);}a38a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a38k(0x14a)]='unlock';static ['description']=a38k(0x136);['execute'](a){const l=a38k;return this[l(0x134)](a);}[a38k(0x134)](a){const m=a38k;if(a['length']===0x0)return this[m(0x13d)]['error'](m(0x14d)),m(0x148);const b=a[0x0][m(0x141)](),c=this[m(0x143)]['currentLocation'];if(this[m(0x14b)](b)&&c['exits'][m(0x132)](b)){const d=c['exits']['get'](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[m(0x141)]();if(e&&this[m(0x143)][m(0x13b)][m(0x144)](e)){const f=this[m(0x143)]['inventory'][m(0x12f)](e);if(f){const g=c[m(0x13c)](b,f[m(0x142)]);return this[m(0x13d)][m(0x137)](m(0x149)+this[m(0x143)]['name']+m(0x140)+b+m(0x145)+g),g;}}return this['logger'][m(0x137)]('UnlockCommand:\x20'+this['actor'][m(0x142)]+m(0x12c)+b+'.'),m(0x14e);}else return this[m(0x13d)][m(0x137)](m(0x149)+b+m(0x146)+c[m(0x142)]+'.'),m(0x135)+b+'\x22\x20here.';}else return this['logger']['write'](m(0x149)+b+m(0x146)+c[m(0x142)]+'.'),m(0x135)+b+m(0x13a);}}function a38c(){const n=['Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','UnlockCommand:\x20','verb','isValidDirection','3942309nszSFf','UnlockCommand:\x20No\x20target\x20specified.','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','8220545MriejU','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','28155wXlvBJ','3994416GccRQQ','getItem','2411180rBJomJ','1037374NNSxUE','has','search','unlock','There\x27s\x20no\x20door\x20named\x20\x22','Unlock\x20a\x20door.','write','toString','(((.+)+)+)+$','\x22\x20here.','inventory','attemptUnlockExit','logger','apply','1057368UUbKBX','\x20is\x20attempted\x20to\x20unlock\x20','toLowerCase','name','actor','hasItem','.\x20Result:\x20','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','constructor'];a38c=function(){return n;};return a38c();}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x140))/0x1*(-parseInt(f(0x13c))/0x2)+-parseInt(f(0x14c))/0x3+parseInt(f(0x138))/0x4+-parseInt(f(0x149))/0x5*(parseInt(f(0x145))/0x6)+parseInt(f(0x12c))/0x7*(-parseInt(f(0x146))/0x8)+-parseInt(f(0x130))/0x9*(-parseInt(f(0x14e))/0xa)+-parseInt(f(0x14f))/0xb*(parseInt(f(0x13d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xd42a7));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x148)](h(0x137))[h(0x13a)]()[h(0x152)](a39a)[h(0x148)](h(0x137));});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x12c;let f=c[d];return f;},a39d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static [a39i(0x147)]=a39i(0x14b);static [a39i(0x12f)]=a39i(0x139);[a39i(0x135)](a){const j=a39i;return this[j(0x14b)](a);}[a39i(0x14b)](a){const k=a39i,b=a[k(0x12e)]('\x20')[k(0x13e)]();if(!this['actor'][k(0x151)][k(0x141)](b))return this['logger'][k(0x133)]('UseCommand:\x20'+this[k(0x144)][k(0x142)]+'\x20attempted\x20to\x20use\x20'+b+k(0x131)),'You\x20don\x27t\x20have\x20the\x20'+b+'\x20to\x20use.';const c=this[k(0x144)][k(0x151)][k(0x132)](b);if(!c)return this['logger'][k(0x133)](k(0x134)+b+k(0x13b)+this[k(0x144)][k(0x142)]+k(0x143)),k(0x136)+b+'\x20to\x20use.';if(typeof c[k(0x14b)]==='function'){const d=c[k(0x14b)]();return this['logger'][k(0x133)](k(0x134)+this['actor'][k(0x142)]+k(0x14d)+b+'.'),d;}else return this['logger'][k(0x133)]('UseCommand:\x20'+b+k(0x13f)),k(0x150)+b+k(0x14a);}}function a39c(){const l=['\x20doesn\x27t\x20have\x20a\x20use\x20method.','1727AqAsqS','hasItem','name','\x27s\x20inventory.','actor','6913374eMEyaJ','112pbFftv','verb','search','5hxXStz','\x20in\x20this\x20way.','use','521577xdlzRa','\x20used\x20','13741550rSEfpm','44AygRFQ','You\x20can\x27t\x20use\x20the\x20','inventory','constructor','111902dKkXcg','apply','join','description','9VOOpCm',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','getItem','write','UseCommand:\x20','execute','You\x20don\x27t\x20have\x20the\x20','(((.+)+)+)+$','6724452sIYtKc','Use\x20an\x20item.','toString','\x20not\x20retrieved\x20from\x20','294ufbzwA','1147428dYPEyZ','toLowerCase'];a39c=function(){return l;};return a39c();}
1
+ const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x64))/0x1+parseInt(f(0x85))/0x2+-parseInt(f(0x81))/0x3*(-parseInt(f(0x79))/0x4)+-parseInt(f(0x7d))/0x5*(-parseInt(f(0x69))/0x6)+parseInt(f(0x76))/0x7*(parseInt(f(0x71))/0x8)+parseInt(f(0x83))/0x9+-parseInt(f(0x73))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xb0fa9));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']()[g(0x6e)](g(0x7c))[g(0x72)]()['constructor'](a39a)[g(0x6e)](g(0x7c));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x64;let f=c[d];return f;},a39d(a,b);}a39a();function a39c(){const j=['39316300mPmTFP','name','\x20doesn\x27t\x20have\x20a\x20use\x20method.','9352JZkDcS','logger','function','324dgAbQd','\x20not\x20retrieved\x20from\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','(((.+)+)+)+$','5sGfwts','\x20attempted\x20to\x20use\x20','hasItem','execute','36471ZEqQjY','verb','9460638GgQGWd','description','1509068SFjowL','\x20in\x20this\x20way.','You\x20don\x27t\x20have\x20the\x20','225797VMVrsv','\x27s\x20inventory.','UseCommand:\x20','inventory','Use\x20an\x20item.','8511174lDlntG','join','toLowerCase','actor','use','search','write','\x20to\x20use.','1328JHgvid','toString'];a39c=function(){return j;};return a39c();}import{Command}from'./command.js';export class UseCommand extends Command{static [a39h(0x82)]=a39h(0x6d);static [a39h(0x84)]=a39h(0x68);[a39h(0x80)](a){return this['use'](a);}[a39h(0x6d)](a){const i=a39h,b=a[i(0x6a)]('\x20')[i(0x6b)]();if(!this[i(0x6c)][i(0x67)][i(0x7f)](b))return this[i(0x77)]['write'](i(0x66)+this[i(0x6c)][i(0x74)]+i(0x7e)+b+i(0x7b)),i(0x87)+b+i(0x70);const c=this[i(0x6c)]['inventory']['getItem'](b);if(!c)return this[i(0x77)][i(0x6f)](i(0x66)+b+i(0x7a)+this[i(0x6c)][i(0x74)]+i(0x65)),i(0x87)+b+'\x20to\x20use.';if(typeof c[i(0x6d)]===i(0x78)){const d=c['use']();return this['logger'][i(0x6f)](i(0x66)+this['actor']['name']+'\x20used\x20'+b+'.'),d;}else return this[i(0x77)][i(0x6f)](i(0x66)+b+i(0x75)),'You\x20can\x27t\x20use\x20the\x20'+b+i(0x86);}}
@@ -1 +1 @@
1
- const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0xd7))/0x1*(parseInt(f(0xd1))/0x2)+parseInt(f(0xdc))/0x3+parseInt(f(0xcd))/0x4+-parseInt(f(0xd3))/0x5*(parseInt(f(0xdb))/0x6)+parseInt(f(0xd2))/0x7*(-parseInt(f(0xce))/0x8)+-parseInt(f(0xd9))/0x9+parseInt(f(0xd5))/0xa*(parseInt(f(0xd4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xeb607));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0xdd)]()['search'](g(0xde))[g(0xdd)]()['constructor'](a40a)[g(0xd8)](g(0xde));});function a40c(){const k=['31656710eRMCPf','commandMap','149817mMvHgD','search','13993677pVglUG','getAllRegisteredCommands','24ilapxd','694920oFvAqk','toString','(((.+)+)+)+$','3650068NhgGNI','738776ToZCRB','registerCommand','createCommand','18IRjUFy','105eOZTHo','2192525KrWOVT','11ysAdYy'];a40c=function(){return k;};return a40c();}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xcd;let f=c[d];return f;},a40d(a,b);}a40a();export class CommandFactory{static [a40h(0xd6)]={};static[a40h(0xcf)](a,b){const i=a40h;this[i(0xd6)][a]=b;}static[a40h(0xd0)](a,b){const j=a40h,c=this[j(0xd6)][a];if(c)return new c(b);return null;}static[a40h(0xda)](){return this['commandMap'];}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1bb))/0x1+-parseInt(f(0x1c7))/0x2+-parseInt(f(0x1c3))/0x3*(parseInt(f(0x1ca))/0x4)+-parseInt(f(0x1cc))/0x5+parseInt(f(0x1c1))/0x6*(-parseInt(f(0x1c2))/0x7)+parseInt(f(0x1ba))/0x8+-parseInt(f(0x1bc))/0x9*(-parseInt(f(0x1c4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xd2d18));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1be)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1cb)]()[h(0x1c0)](h(0x1c6))[h(0x1cb)]()[h(0x1c9)](a40a)['search']('(((.+)+)+)+$');});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1ba;let f=c[d];return f;},a40d(a,b);}a40a();function a40c(){const m=['commandMap','(((.+)+)+)+$','2111728elBhqO','createCommand','constructor','206692SPJQcU','toString','2291105gPJzsl','3764448VQhriT','1115611mpSfsf','9gFEiSP','getAllRegisteredCommands','apply','registerCommand','search','6LtIpgO','3085369rbOfZa','99hAIxCD','29374060zSHfYc'];a40c=function(){return m;};return a40c();}export class CommandFactory{static [a40i(0x1c5)]={};static[a40i(0x1bf)](a,b){const j=a40i;this[j(0x1c5)][a]=b;}static[a40i(0x1c8)](a,b){const k=a40i,c=this[k(0x1c5)][a];if(c)return new c(b);return null;}static[a40i(0x1bd)](){const l=a40i;return this[l(0x1c5)];}}
@@ -1 +1 @@
1
- const a41i=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x12f;let f=c[d];return f;},a41d(a,b);}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x134))/0x1*(-parseInt(f(0x152))/0x2)+-parseInt(f(0x133))/0x3+-parseInt(f(0x150))/0x4*(-parseInt(f(0x144))/0x5)+parseInt(f(0x159))/0x6*(parseInt(f(0x156))/0x7)+parseInt(f(0x139))/0x8*(parseInt(f(0x155))/0x9)+parseInt(f(0x149))/0xa*(parseInt(f(0x130))/0xb)+parseInt(f(0x145))/0xc*(-parseInt(f(0x13f))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xe1557));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x136)]()[h(0x140)](h(0x157))[h(0x136)]()[h(0x14e)](a41a)[h(0x140)](h(0x157));});a41a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a41c(){const o=['roomType','6656250PvBHXW','gauntlets','toUpperCase','682xCGKvP','description','name','984243elLPNh','4frIMyD','puzzle','toString','forEach','createPuzzle','1998952Hgnmtc','INSIDE','createRoom','convertToRoomConfig','legarmor','rewardItem','8902049weMtpI','search','gloves','boots','items','4828295sEIyvJ','12IYhyme','isStartRoom','inventory','key','173270XAmpDl','addItem','bodyarmor','rifle','content','constructor','setPuzzle','4YVEegi','type','731678IkhwpH','createItem','apply','9KklWza','7rDcCnp','(((.+)+)+)+$'];a41c=function(){return o;};return a41c();}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a41i(0x13b)](a){const j=a41i,b=this[j(0x13c)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[j(0x143)][j(0x137)](e=>{const k=j;d[k(0x14a)](this['createItem'](e));}),c[j(0x147)]=d;}return a[j(0x135)]&&c[j(0x14f)](this['createPuzzle'](a[j(0x135)])),c;}[a41i(0x153)](a){const l=a41i;switch(a[l(0x151)]){case l(0x148):return new Key(a[l(0x132)],a[l(0x131)]);case'book':return new Book(a[l(0x132)],a[l(0x131)],a[l(0x14d)]);case'sword':return new Sword(a[l(0x132)],a[l(0x131)]);case l(0x14c):return new Rifle(a[l(0x132)],a[l(0x131)]);case'helmet':return new Helmet(a[l(0x132)],a[l(0x131)]);case l(0x14b):return new BodyArmor(a[l(0x132)],a['description']);case l(0x13d):return new LegArmor(a[l(0x132)],a['description']);case l(0x142):return new Boots(a[l(0x132)],a[l(0x131)]);case l(0x141):return new Gloves(a['name'],a['description']);case l(0x15a):return new Gauntlets(a['name'],a[l(0x131)]);default:return new BasicItem(a['name'],a[l(0x131)]);}}[a41i(0x138)](a){const m=a41i,b=this[m(0x153)](a[m(0x13e)]);return new Puzzle({...a,'rewardItem':b});}[a41i(0x13c)](a){const n=a41i,b=a[n(0x158)]&&RoomType[a[n(0x158)][n(0x12f)]()]?RoomType[a[n(0x158)]['toUpperCase']()]:RoomType[n(0x13a)];return{'name':a[n(0x132)],'description':a['description'],'isStartRoom':a[n(0x146)],'roomType':b};}}
1
+ const a41k=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x154;let f=c[d];return f;},a41d(a,b);}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x159))/0x1+-parseInt(f(0x173))/0x2+parseInt(f(0x155))/0x3*(parseInt(f(0x160))/0x4)+-parseInt(f(0x169))/0x5+parseInt(f(0x176))/0x6+parseInt(f(0x157))/0x7*(-parseInt(f(0x156))/0x8)+-parseInt(f(0x15b))/0x9*(-parseInt(f(0x15d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x8d266));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x161)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x166)]()[h(0x165)](h(0x163))['toString']()[h(0x172)](a41a)[h(0x165)](h(0x163));});function a41c(){const o=['gauntlets','constructor','1518958LekfgS','name','boots','5640912TczuOM','createPuzzle','puzzle','setPuzzle','book','toUpperCase','692739bcpEZQ','5199408syZhIt','7ucDwiA','sword','1134919aIFMxE','inventory','9xxQYIc','gloves','7876550UBNzdE','addItem','convertToRoomConfig','4AqBAxA','apply','roomType','(((.+)+)+)+$','INSIDE','search','toString','isStartRoom','createItem','5530420vGykbq','content','bodyarmor','key','rewardItem','description','items','legarmor'];a41c=function(){return o;};return a41c();}a41a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const i=a41d,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[i(0x16f)]){const d=new Inventory();a['items']['forEach'](e=>{const j=i;d[j(0x15e)](this[j(0x168)](e));}),c[i(0x15a)]=d;}return a[i(0x178)]&&c[i(0x179)](this[i(0x177)](a[i(0x178)])),c;}[a41k(0x168)](a){const l=a41k;switch(a['type']){case l(0x16c):return new Key(a[l(0x174)],a[l(0x16e)]);case l(0x17a):return new Book(a[l(0x174)],a['description'],a[l(0x16a)]);case l(0x158):return new Sword(a[l(0x174)],a[l(0x16e)]);case'rifle':return new Rifle(a['name'],a[l(0x16e)]);case'helmet':return new Helmet(a[l(0x174)],a[l(0x16e)]);case l(0x16b):return new BodyArmor(a['name'],a[l(0x16e)]);case l(0x170):return new LegArmor(a['name'],a['description']);case l(0x175):return new Boots(a[l(0x174)],a[l(0x16e)]);case l(0x15c):return new Gloves(a[l(0x174)],a['description']);case l(0x171):return new Gauntlets(a[l(0x174)],a[l(0x16e)]);default:return new BasicItem(a[l(0x174)],a['description']);}}[a41k(0x177)](a){const m=a41k,b=this[m(0x168)](a[m(0x16d)]);return new Puzzle({...a,'rewardItem':b});}[a41k(0x15f)](a){const n=a41k,b=a[n(0x162)]&&RoomType[a[n(0x162)]['toUpperCase']()]?RoomType[a['roomType'][n(0x154)]()]:RoomType[n(0x164)];return{'name':a[n(0x174)],'description':a['description'],'isStartRoom':a[n(0x167)],'roomType':b};}}
@@ -1 +1 @@
1
- const a42k=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=parseInt(h(0x118))/0x1+-parseInt(h(0x10b))/0x2*(-parseInt(h(0x115))/0x3)+-parseInt(h(0x11b))/0x4*(-parseInt(h(0x11d))/0x5)+-parseInt(h(0x129))/0x6*(parseInt(h(0x125))/0x7)+-parseInt(h(0x10d))/0x8+-parseInt(h(0x111))/0x9+parseInt(h(0x128))/0xa*(parseInt(h(0x136))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xccc2d));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a42d;if(c){const e=c[i(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const j=a42d;return a42a['toString']()[j(0x135)](j(0x10c))[j(0x108)]()[j(0x109)](a42a)[j(0x135)](j(0x10c));});a42a();import{Scene}from'./models/scene.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x107;let f=c[d];return f;},a42d(a,b);}import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';function a42c(){const s=['solve','3576237RQgwZc','help','currentRoom','30KoksGo','6iSdRLG','scene','slice','lock','-\x20quit:\x20Exit\x20the\x20game.\x0a','player','determineStartRoom','trim','getAllRegisteredCommands','name','clear','hasOwnProperty','search','2192729iLFhxJ','unequip','look','Available\x20Commands:\x0a','execute','toString','constructor','registerCommands','227488SwQSxE','(((.+)+)+)+$','7227336QJuJmx','getWelcomeMessage','getDescription','-\x20clear:\x20Clear\x20the\x20screen.\x0a','1968750gOuyxZ','getHelpMessage','handleInput','getInstance','24PYLcJx','initialize','registerCommand','181876FPUPKQ','maka','equip','74468KQPVkg','createCommand','210YvnyYP','apply','take','use','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','instance','split'];a42c=function(){return s;};return a42c();}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a42k(0x122)];[a42k(0x12a)];[a42k(0x12e)];[a42k(0x127)];['rooms'];constructor(a,b){const l=a42k;this[l(0x12e)]=a,this[l(0x12a)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x12a)][l(0x116)](),this['player']['currentLocation']=this[l(0x12f)](),this['registerCommands']();}[a42k(0x10a)](){const m=a42k;CommandFactory[m(0x117)](m(0x138),LookCommand),CommandFactory[m(0x117)]('go',GoCommand),CommandFactory[m(0x117)](m(0x11f),TakeCommand),CommandFactory[m(0x117)](m(0x120),UseCommand),CommandFactory['registerCommand'](m(0x11a),EquipCommand),CommandFactory['registerCommand'](m(0x137),UnequipCommand),CommandFactory[m(0x117)](m(0x124),SolveCommand),CommandFactory[m(0x117)]('drop',DropCommand),CommandFactory['registerCommand']('unlock',UnlockCommand),CommandFactory[m(0x117)](m(0x12c),LockCommand),CommandFactory['registerCommand'](m(0x135),SearchCommand),CommandFactory['registerCommand']('say',SayCommand);}[a42k(0x12f)](){const n=a42k;return this[n(0x12a)]['determineStartRoom']();}[a42k(0x10e)](){const o=a42k;return'Welcome,\x20'+this[o(0x12e)][o(0x132)];}static[a42k(0x114)](a,b){const p=a42k;return!Game['instance']&&(Game[p(0x122)]=new Game(a,b)),Game[p(0x122)];}[a42k(0x113)](a){const q=a42k,b=a[q(0x130)]()[q(0x123)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0x12b)](0x1);if(c==='quit')return null;if(c===q(0x119))return q(0x121);if(c===q(0x126))return this[q(0x112)]();if(c===q(0x133))return'';const e={'actor':this[q(0x12e)],'rooms':this[q(0x12a)]['getRooms'](),'scene':this['scene']},f=CommandFactory[q(0x11c)](c,e);if(f){const g=f[q(0x107)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a42k(0x112)](){const r=a42k,a=CommandFactory[r(0x131)]();let b=r(0x139);for(const c in a){if(a[r(0x134)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x10f)]()+'\x0a';}}return b+=r(0x110),b+=r(0x12d),b;}}
1
+ const a42k=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=-parseInt(h(0x1a1))/0x1*(-parseInt(h(0x1af))/0x2)+-parseInt(h(0x1a0))/0x3*(parseInt(h(0x1ad))/0x4)+parseInt(h(0x1a2))/0x5+-parseInt(h(0x1a5))/0x6+-parseInt(h(0x1a9))/0x7+-parseInt(h(0x19b))/0x8*(-parseInt(h(0x18e))/0x9)+parseInt(h(0x18b))/0xa*(parseInt(h(0x19f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xed462));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a42d;if(c){const e=c[i(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const j=a42d;return a42a[j(0x18a)]()[j(0x189)]('(((.+)+)+)+$')[j(0x18a)]()['constructor'](a42a)[j(0x189)]('(((.+)+)+)+$');});a42a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';function a42c(){const s=['16659alAJcK','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','getRooms','look','lock','getHelpMessage','getWelcomeMessage','solve','getDescription','registerCommand','-\x20quit:\x20Exit\x20the\x20game.\x0a','handleInput','initialize','416QaNaGW','quit','currentLocation','execute','77UvaMkj','1473EAXBHf','53CYQvWj','1476985yslTZu','-\x20clear:\x20Clear\x20the\x20screen.\x0a','take','5331612ZPXMZK','Welcome,\x20','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','player','2951256KzHvcZ','clear','hasOwnProperty','apply','3284laamxu','registerCommands','34158qUDpiK','say','determineStartRoom','Available\x20Commands:\x0a','toLowerCase','name','slice','rooms','scene','getInstance','unlock','search','toString','1983370EWElIQ','instance','trim'];a42c=function(){return s;};return a42c();}import{SolveCommand}from'./commands/solve.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x189;let f=c[d];return f;},a42d(a,b);}import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a42k(0x18c)];[a42k(0x1b7)];[a42k(0x1a8)];['currentRoom'];[a42k(0x1b6)];constructor(a,b){const l=a42k;this[l(0x1a8)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0x19a)](),this[l(0x1a8)][l(0x19d)]=this[l(0x1b1)](),this['registerCommands']();}[a42k(0x1ae)](){const m=a42k;CommandFactory[m(0x197)](m(0x191),LookCommand),CommandFactory[m(0x197)]('go',GoCommand),CommandFactory['registerCommand'](m(0x1a4),TakeCommand),CommandFactory[m(0x197)]('use',UseCommand),CommandFactory['registerCommand']('equip',EquipCommand),CommandFactory[m(0x197)]('unequip',UnequipCommand),CommandFactory[m(0x197)](m(0x195),SolveCommand),CommandFactory[m(0x197)]('drop',DropCommand),CommandFactory[m(0x197)](m(0x1b9),UnlockCommand),CommandFactory[m(0x197)](m(0x192),LockCommand),CommandFactory[m(0x197)](m(0x189),SearchCommand),CommandFactory[m(0x197)](m(0x1b0),SayCommand);}[a42k(0x1b1)](){const n=a42k;return this['scene'][n(0x1b1)]();}[a42k(0x194)](){const o=a42k;return o(0x1a6)+this[o(0x1a8)][o(0x1b4)];}static[a42k(0x1b8)](a,b){const p=a42k;return!Game[p(0x18c)]&&(Game[p(0x18c)]=new Game(a,b)),Game['instance'];}[a42k(0x199)](a){const q=a42k,b=a[q(0x18d)]()['split']('\x20'),c=b[0x0][q(0x1b3)](),d=b[q(0x1b5)](0x1);if(c===q(0x19c))return null;if(c==='maka')return q(0x1a7);if(c==='help')return this[q(0x193)]();if(c===q(0x1aa))return'';const e={'actor':this['player'],'rooms':this[q(0x1b7)][q(0x190)](),'scene':this[q(0x1b7)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[q(0x19e)](d);return g;}return q(0x18f)+c+'\x22.';}[a42k(0x193)](){const r=a42k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x1b2);for(const c in a){if(a[r(0x1ab)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x196)]()+'\x0a';}}return b+=r(0x1a3),b+=r(0x198),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0xb3))/0x1+-parseInt(f(0xb9))/0x2+parseInt(f(0xb8))/0x3*(parseInt(f(0xb5))/0x4)+parseInt(f(0xba))/0x5+-parseInt(f(0xb6))/0x6+-parseInt(f(0xb4))/0x7*(-parseInt(f(0xb7))/0x8)+-parseInt(f(0xbb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x71f2a));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var g=a43d;return a43a[g(0xbe)]()[g(0xbc)](g(0xbd))[g(0xbe)]()['constructor'](a43a)[g(0xbc)](g(0xbd));});function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xb3;var f=c[d];return f;},a43d(a,b);}a43a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a43c(){var h=['toString','168391GRxSUI','35oqoTWN','234316EsVrJk','504402mwTfyI','359192xBEHhi','45OWJEFF','1640258fFVXeP','2573660XhdpEi','707355yCKunS','search','(((.+)+)+)+$'];a43c=function(){return h;};return a43c();}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x116;var f=c[d];return f;},a43d(a,b);}(function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x11f))/0x1+-parseInt(f(0x11d))/0x2+-parseInt(f(0x11a))/0x3*(-parseInt(f(0x11c))/0x4)+-parseInt(f(0x117))/0x5*(parseInt(f(0x118))/0x6)+-parseInt(f(0x11b))/0x7+parseInt(f(0x120))/0x8+parseInt(f(0x122))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x947b6));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var g=a43d;return a43a[g(0x121)]()[g(0x119)](g(0x11e))[g(0x121)]()[g(0x116)](a43a)[g(0x119)](g(0x11e));});a43a();export*from'./door.js';export*from'./inventory.js';function a43c(){var h=['360933umbbGF','6235306FSPJTc','4WnLgHA','1564148rMJddb','(((.+)+)+)+$','46688UjMLvC','3188848nVYTQv','toString','17150859NHGOwQ','constructor','4065yjsMoK','1404IOhQBE','search'];a43c=function(){return h;};return a43c();}export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- function a44c(){var l=['(((.+)+)+)+$','.\x20Used:\x20','isLockable','Failed\x20to\x20unlock\x20door:\x20','1620TzVMXt','Door\x20created\x20between\x20','216KoydcF','68792gAAFag','logger','checkIfLockable','constructor','\x20and\x20','341060cQxjYk','1414113fYCKUN','isLocked','search','1584fhlidP','4nNVDLH','231jhrnUO','toString','237113SSzMIN','getOtherSide','name','3943544FPhUcJ','unlockItemOrSolution','write','6940538cKfpHy','roomB','roomA'];a44c=function(){return l;};return a44c();}var a44h=a44d;(function(a,b){var f=a44d,c=a();while(!![]){try{var d=parseInt(f(0x16c))/0x1+parseInt(f(0x186))/0x2*(parseInt(f(0x182))/0x3)+parseInt(f(0x16f))/0x4+-parseInt(f(0x179))/0x5*(-parseInt(f(0x185))/0x6)+parseInt(f(0x16a))/0x7*(-parseInt(f(0x17c))/0x8)+parseInt(f(0x17b))/0x9*(-parseInt(f(0x181))/0xa)+-parseInt(f(0x172))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x7e778));var a44b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){var g=a44d;return a44a[g(0x16b)]()[g(0x184)](g(0x175))[g(0x16b)]()[g(0x17f)](a44a)[g(0x184)](g(0x175));});a44a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0x16a;var f=c[d];return f;},a44d(a,b);}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a44h(0x174)];[a44h(0x173)];['isLocked'];[a44h(0x170)];[a44h(0x16e)];[a44h(0x17d)];[a44h(0x177)];constructor(a){var i=a44h;super(),this['roomA']=a[i(0x174)],this['roomB']=a[i(0x173)],this[i(0x183)]=a[i(0x183)]||![],this[i(0x170)]=a[i(0x170)],this[i(0x16e)]=a[i(0x16e)]?capitalCase(a[i(0x16e)]):'To\x20'+a[i(0x173)]['name'],this[i(0x17d)]=Logger['getInstance'](),this['isLockable']=!!a['unlockItemOrSolution'],this[i(0x17d)][i(0x171)](i(0x17a)+this[i(0x174)][i(0x16e)]+i(0x180)+this[i(0x173)][i(0x16e)]+'.\x20Is\x20Locked:\x20'+this[i(0x183)]);}[a44h(0x16d)](a){var j=a44h;return this['roomA']===a?this[j(0x173)]:this[j(0x174)];}['attemptUnlock'](a){var k=a44h;if(this[k(0x183)]&&this['unlockItemOrSolution']&&this[k(0x170)]===a)return this[k(0x183)]=![],this[k(0x17d)][k(0x171)]('Door\x20unlocked:\x20'+this[k(0x16e)]+k(0x176)+a),!![];return this['logger']['write'](k(0x178)+this[k(0x16e)]+'.\x20Used:\x20'+a),![];}['checkIfLocked'](){return this['isLocked'];}[a44h(0x17e)](){return this['isLockable'];}}
1
+ var a44i=a44d;function a44c(){var o=['800gtTOLI','logger','1946197KKxoec','7HqrVPd','search','Door\x20unlocked:\x20','attemptUnlock','4117080QtOrcw','3296755qJNamJ','Failed\x20to\x20unlock\x20door:\x20','209TvHqWF','5757690VpPeAV','roomA','checkIfLocked','apply','checkIfLockable','To\x20','isLockable','849fCKtkn','7088SYlAmk','.\x20Used:\x20','isLocked','constructor','963128YkLjuD','toString','unlockItemOrSolution','Door\x20created\x20between\x20','\x20and\x20','9GnSqCk','(((.+)+)+)+$','write','.\x20Is\x20Locked:\x20','getOtherSide','name','roomB'];a44c=function(){return o;};return a44c();}function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0xec;var f=c[d];return f;},a44d(a,b);}(function(a,b){var f=a44d,c=a();while(!![]){try{var d=-parseInt(f(0x102))/0x1*(-parseInt(f(0x10b))/0x2)+parseInt(f(0x10a))/0x3*(-parseInt(f(0xf8))/0x4)+parseInt(f(0x100))/0x5+-parseInt(f(0xff))/0x6+-parseInt(f(0xfb))/0x7*(-parseInt(f(0xec))/0x8)+parseInt(f(0xf1))/0x9*(-parseInt(f(0x103))/0xa)+parseInt(f(0xfa))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x5c7c0));var a44b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a44d;if(c){var e=c[g(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){var h=a44d;return a44a[h(0xed)]()[h(0xfc)]('(((.+)+)+)+$')['toString']()[h(0x10e)](a44a)[h(0xfc)](h(0xf2));});a44a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a44i(0x104)];['roomB'];[a44i(0x10d)];[a44i(0xee)];[a44i(0xf6)];[a44i(0xf9)];[a44i(0x109)];constructor(a){var j=a44i;super(),this[j(0x104)]=a[j(0x104)],this[j(0xf7)]=a[j(0xf7)],this[j(0x10d)]=a[j(0x10d)]||![],this['unlockItemOrSolution']=a['unlockItemOrSolution'],this['name']=a[j(0xf6)]?capitalCase(a[j(0xf6)]):j(0x108)+a[j(0xf7)][j(0xf6)],this[j(0xf9)]=Logger['getInstance'](),this[j(0x109)]=!!a[j(0xee)],this['logger'][j(0xf3)](j(0xef)+this[j(0x104)][j(0xf6)]+j(0xf0)+this[j(0xf7)][j(0xf6)]+j(0xf4)+this[j(0x10d)]);}[a44i(0xf5)](a){var k=a44i;return this['roomA']===a?this['roomB']:this[k(0x104)];}[a44i(0xfe)](a){var l=a44i;if(this[l(0x10d)]&&this['unlockItemOrSolution']&&this[l(0xee)]===a)return this[l(0x10d)]=![],this[l(0xf9)]['write'](l(0xfd)+this[l(0xf6)]+l(0x10c)+a),!![];return this[l(0xf9)][l(0xf3)](l(0x101)+this[l(0xf6)]+l(0x10c)+a),![];}[a44i(0x105)](){var m=a44i;return this[m(0x10d)];}[a44i(0x107)](){var n=a44i;return this[n(0x109)];}}
@@ -1 +1 @@
1
- const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x154))/0x1*(parseInt(f(0x14b))/0x2)+-parseInt(f(0x155))/0x3+parseInt(f(0x16b))/0x4+parseInt(f(0x15d))/0x5*(-parseInt(f(0x165))/0x6)+parseInt(f(0x147))/0x7*(-parseInt(f(0x150))/0x8)+-parseInt(f(0x16a))/0x9*(parseInt(f(0x162))/0xa)+-parseInt(f(0x160))/0xb*(-parseInt(f(0x16f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xd68dc));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x16e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x15e)]()[h(0x161)](h(0x14c))['toString']()[h(0x170)](a45a)[h(0x161)](h(0x14c));});a45a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x144;let f=c[d];return f;},a45d(a,b);}function a45c(){const r=['2379540EJFWMD','name','items','Retrieved\x20details\x20for\x20item:\x20','Added\x20item:\x20','write','getWeight','delete','357610LKsNwc','toString','Removed\x20item:\x20','5310030pYzjFR','search','10zlnzFY','.\x20Item\x20not\x20found.','join','138UmjnFi','Checked\x20for\x20item:\x20','hasItem','getItem','map','6873894wQOdjh','1599872YoNzDf','keys','listItems','apply','156jkTnJa','constructor','logger','\x20from\x20inventory.','has','811874qWvOlV','\x20to\x20inventory.','toLowerCase','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','10226EAJQgU','(((.+)+)+)+$','weight','removeItem','addItem','64tghUtW','getAllItems','values','getInstance','326uIJvMl'];a45c=function(){return r;};return a45c();}export class Inventory extends AbstractInventory{[a45i(0x157)];['logger'];constructor(){const j=a45i;super(),this[j(0x157)]=new Map(),this[j(0x144)]=Logger[j(0x153)]();}[a45i(0x14f)](a){const k=a45i;this['items']['set'](a[k(0x156)][k(0x149)](),a),this[k(0x144)][k(0x15a)](k(0x159)+a[k(0x156)]+k(0x148));}[a45i(0x14e)](a){const l=a45i,b=this[l(0x168)](a);if(b)return this['items'][l(0x15c)](a['toLowerCase']()),this[l(0x144)][l(0x15a)](l(0x15f)+a+l(0x145)),b;return this[l(0x144)][l(0x15a)]('Failed\x20to\x20remove\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),null;}[a45i(0x167)](a){const m=a45i,b=this[m(0x157)][m(0x146)](a[m(0x149)]()),c=[...this[m(0x157)][m(0x16c)]()];return this[m(0x144)][m(0x15a)](m(0x166)+a+'\x20in\x20'+c[m(0x164)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}['getItem'](a){const n=a45i,b=this[n(0x157)]['get'](a[n(0x149)]())||null;return b?this[n(0x144)][n(0x15a)](n(0x158)+a+'.'):this[n(0x144)][n(0x15a)](n(0x14a)+a+n(0x163)),b;}[a45i(0x16d)](){const o=a45i,a=[...this[o(0x157)][o(0x16c)]()],b=a[o(0x169)](c=>capitalCase(c));return this[o(0x144)][o(0x15a)]('Listed\x20items\x20in\x20inventory:\x20'+b[o(0x164)](',\x20')+'.'),a;}[a45i(0x15b)](){const p=a45i;let a=0x0;for(const b of this[p(0x157)]['values']()){a+=b[p(0x14d)];}return a;}[a45i(0x151)](){const q=a45i;return[...this[q(0x157)][q(0x152)]()];}}
1
+ const a45h=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x117))/0x1*(parseInt(f(0x121))/0x2)+parseInt(f(0x10c))/0x3*(-parseInt(f(0x11a))/0x4)+parseInt(f(0x11d))/0x5*(parseInt(f(0x103))/0x6)+-parseInt(f(0x10b))/0x7+-parseInt(f(0x101))/0x8*(-parseInt(f(0x100))/0x9)+parseInt(f(0x114))/0xa+parseInt(f(0x112))/0xb*(parseInt(f(0x118))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x62056));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const g=a45d;return a45a[g(0xff)]()[g(0x110)](g(0x10a))[g(0xff)]()[g(0x10f)](a45a)[g(0x110)](g(0x10a));});a45a();function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xfd;let f=c[d];return f;},a45d(a,b);}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a45c(){const q=['getItem','827220bJQqfY','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','keys','2705ehEJqH','.\x20Exists:\x20','values','items','32140MHYbdB','Checked\x20for\x20item:\x20','getAllItems','\x20to\x20inventory.','name','toString','18bQNQKG','223928qAqDPX','\x20from\x20inventory.','4002AhShFZ','Retrieved\x20details\x20for\x20item:\x20','logger','.\x20Item\x20not\x20found.','Added\x20item:\x20','join','write','(((.+)+)+)+$','5555340cUaVJW','3OnGAtv','set','toLowerCase','constructor','search','listItems','6611242BBRuPy','weight','5383360daiVpm','has','get','47LxIpwA','24jbLkuI'];a45c=function(){return q;};return a45c();}export class Inventory extends AbstractInventory{[a45h(0x120)];[a45h(0x105)];constructor(){const i=a45h;super(),this['items']=new Map(),this[i(0x105)]=Logger['getInstance']();}['addItem'](a){const j=a45h;this[j(0x120)][j(0x10d)](a[j(0xfe)]['toLowerCase'](),a),this[j(0x105)][j(0x109)](j(0x107)+a[j(0xfe)]+j(0xfd));}['removeItem'](a){const k=a45h,b=this[k(0x119)](a);if(b)return this['items']['delete'](a['toLowerCase']()),this['logger'][k(0x109)]('Removed\x20item:\x20'+a+k(0x102)),b;return this['logger'][k(0x109)]('Failed\x20to\x20remove\x20item:\x20'+a+k(0x106)),null;}['hasItem'](a){const l=a45h,b=this['items'][l(0x115)](a['toLowerCase']()),c=[...this['items'][l(0x11c)]()];return this[l(0x105)]['write'](l(0x122)+a+'\x20in\x20'+c[l(0x108)](',\x20')+l(0x11e)+b+'.'),b;}[a45h(0x119)](a){const m=a45h,b=this['items'][m(0x116)](a[m(0x10e)]())||null;return b?this[m(0x105)][m(0x109)](m(0x104)+a+'.'):this['logger'][m(0x109)](m(0x11b)+a+m(0x106)),b;}[a45h(0x111)](){const n=a45h,a=[...this[n(0x120)][n(0x11c)]()],b=a['map'](c=>capitalCase(c));return this[n(0x105)][n(0x109)]('Listed\x20items\x20in\x20inventory:\x20'+b[n(0x108)](',\x20')+'.'),a;}['getWeight'](){const o=a45h;let a=0x0;for(const b of this[o(0x120)][o(0x11f)]()){a+=b[o(0x113)];}return a;}[a45h(0x123)](){const p=a45h;return[...this['items'][p(0x11f)]()];}}
@@ -1 +1 @@
1
- var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x172))/0x1*(-parseInt(f(0x16a))/0x2)+-parseInt(f(0x16c))/0x3+parseInt(f(0x17d))/0x4+parseInt(f(0x181))/0x5+-parseInt(f(0x175))/0x6+parseInt(f(0x16b))/0x7*(-parseInt(f(0x178))/0x8)+parseInt(f(0x176))/0x9*(parseInt(f(0x170))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x9853a));function a46c(){var l=['103traOce','use','uuid','6495876XkYqzT','14660964qZQpkU','(((.+)+)+)+$','48MNJTxt','weight','apply','search','constructor','2311080VlIGBy','rating','texture','You\x20use\x20the\x20','719115aZxkeH','shape','size','23516WnNhpe','983157uUfHqz','657687hXMEkZ','color','toString','name','20QtdOXV','category'];a46c=function(){return l;};return a46c();}function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x169;var f=c[d];return f;},a46d(a,b);}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x17a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()['search'](h(0x177))[h(0x16e)]()[h(0x17c)](a46a)[h(0x17b)](h(0x177));});a46a();import{v4 as a46e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a46i(0x174)];[a46i(0x16f)];['description'];[a46i(0x169)];['category'];[a46i(0x182)];[a46i(0x16d)];[a46i(0x17f)];['rating'];[a46i(0x179)];constructor(a){var j=a46i;super(),this['name']=a[j(0x16f)],this['description']=a['description'],this[j(0x169)]=a[j(0x169)],this[j(0x171)]=a['category'],this[j(0x182)]=a[j(0x182)],this[j(0x16d)]=a['color'],this[j(0x17f)]=a[j(0x17f)],this[j(0x17e)]=a[j(0x17e)],this['weight']=a[j(0x179)],this['uuid']=a46e();}[a46i(0x173)](){var k=a46i;return k(0x180)+this[k(0x16f)]+'.\x20Nothing\x20special\x20happens.';}}
1
+ function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1b6;var f=c[d];return f;},a46d(a,b);}var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x1b9))/0x1*(-parseInt(f(0x1c4))/0x2)+parseInt(f(0x1ca))/0x3*(parseInt(f(0x1c1))/0x4)+-parseInt(f(0x1ba))/0x5*(-parseInt(f(0x1d2))/0x6)+parseInt(f(0x1ce))/0x7*(-parseInt(f(0x1cc))/0x8)+-parseInt(f(0x1cb))/0x9*(parseInt(f(0x1bb))/0xa)+-parseInt(f(0x1bc))/0xb*(parseInt(f(0x1d0))/0xc)+-parseInt(f(0x1c5))/0xd*(-parseInt(f(0x1c0))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xba658));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x1cd)]()[h(0x1bd)](h(0x1c3))[h(0x1cd)]()['constructor'](a46a)[h(0x1bd)](h(0x1c3));});a46a();import{v4 as a46e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a46i(0x1c7)];['name'];['description'];[a46i(0x1c6)];[a46i(0x1d1)];[a46i(0x1c8)];['color'];[a46i(0x1b7)];['rating'];[a46i(0x1bf)];constructor(a){var j=a46i;super(),this[j(0x1b8)]=a['name'],this['description']=a['description'],this[j(0x1c6)]=a['size'],this[j(0x1d1)]=a[j(0x1d1)],this['shape']=a[j(0x1c8)],this['color']=a[j(0x1c2)],this['texture']=a['texture'],this['rating']=a[j(0x1be)],this[j(0x1bf)]=a['weight'],this[j(0x1c7)]=a46e();}[a46i(0x1cf)](){var k=a46i;return'You\x20use\x20the\x20'+this[k(0x1b8)]+k(0x1b6);}}function a46c(){var l=['apply','6YROrYK','18SoJCgy','324344mTJQZP','toString','119nVSGzE','use','12bekIOu','category','6ZChySe','.\x20Nothing\x20special\x20happens.','texture','name','3oSBsMj','7307215RSMmRF','4961220tuwuvx','175098HDAVFe','search','rating','weight','12950gXlyuv','3052zzNYqc','color','(((.+)+)+)+$','417986nnEeZK','5213NIoDHG','size','uuid','shape'];a46c=function(){return l;};return a46c();}
@@ -1 +1 @@
1
- const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x1e3))/0x1+-parseInt(f(0x1d6))/0x2*(parseInt(f(0x1d7))/0x3)+-parseInt(f(0x1dd))/0x4+parseInt(f(0x1e6))/0x5+parseInt(f(0x1d0))/0x6*(parseInt(f(0x1db))/0x7)+-parseInt(f(0x1da))/0x8*(parseInt(f(0x1d8))/0x9)+parseInt(f(0x1d4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xaba91));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()['search'](h(0x1e2))['toString']()[h(0x1ce)](a47a)[h(0x1e0)](h(0x1e2));});a47a();import{Player}from'./player.js';function a47c(){const o=['115050TRRcac','116280nzNuRx','_name','344uqQymv','1716148JdXtaD','_dialogue','1338808JtdzdC','rooms','apply','search','execute','(((.+)+)+)+$','424105EMkeng','floor','name','433150XJqdBh','constructor','scene','18ZnQXky','random','length','speak','21924660iLNwbN','moveTo','52bVuizr'];a47c=function(){return o;};return a47c();}function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a47d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a47i(0x1d9)];[a47i(0x1dc)];[a47i(0x1de)];[a47i(0x1cf)];constructor(a,b,c,d){const j=a47i;super(d),this['_name']=a,this['_dialogue']=b,this[j(0x1de)]=c;}get[a47i(0x1e5)](){const k=a47i;return this[k(0x1d9)];}[a47i(0x1d3)](){const l=a47i;return this[l(0x1dc)][Math[l(0x1e4)](Math[l(0x1d1)]()*this['_dialogue']['length'])];}['autonomousMove'](a){const m=a47i,b=a[Math[m(0x1e4)](Math[m(0x1d1)]()*a[m(0x1d2)])];this[m(0x1d5)](b['name']);}['moveTo'](a){const n=a47i,b={'actor':this,'rooms':this[n(0x1de)],'scene':this['scene']},c=new GoCommand(b);c[n(0x1e1)]([a]);}}
1
+ const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0xe1))/0x1*(-parseInt(f(0xfa))/0x2)+-parseInt(f(0xed))/0x3*(-parseInt(f(0xf1))/0x4)+-parseInt(f(0xf5))/0x5*(-parseInt(f(0xe9))/0x6)+parseInt(f(0xfb))/0x7*(parseInt(f(0xec))/0x8)+parseInt(f(0xf3))/0x9*(-parseInt(f(0xe0))/0xa)+parseInt(f(0xf6))/0xb*(-parseInt(f(0xf0))/0xc)+parseInt(f(0xe5))/0xd*(-parseInt(f(0xf9))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xaabc7));function a47c(){const o=['112820yhQbtj','36737DzlcHY','random','_dialogue','toString','3029TfqQdQ','name','moveTo','length','2832366TXsQQB','search','floor','1261360zhvApr','3giZUHA','_name','constructor','4071552RQVHLl','2829312nMWPbK','apply','927KveLcO','rooms','5TGIVuA','33EUiyiC','execute','scene','20006NuOCkz','42GDmXFt','56OpTfjz'];a47c=function(){return o;};return a47c();}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xf2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()['search']('(((.+)+)+)+$')[h(0xe4)]()[h(0xef)](a47a)[h(0xea)]('(((.+)+)+)+$');});a47a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xe0;let f=c[d];return f;},a47d(a,b);}export class NPC extends Player{['_name'];[a47i(0xe3)];[a47i(0xf4)];[a47i(0xf8)];constructor(a,b,c,d){const j=a47i;super(d),this[j(0xee)]=a,this[j(0xe3)]=b,this[j(0xf4)]=c;}get[a47i(0xe6)](){const k=a47i;return this[k(0xee)];}['speak'](){const l=a47i;return this[l(0xe3)][Math[l(0xeb)](Math[l(0xe2)]()*this[l(0xe3)][l(0xe8)])];}['autonomousMove'](a){const m=a47i,b=a[Math[m(0xeb)](Math[m(0xe2)]()*a['length'])];this[m(0xe7)](b['name']);}['moveTo'](a){const n=a47i,b={'actor':this,'rooms':this['rooms'],'scene':this['scene']},c=new GoCommand(b);c[n(0xf7)]([a]);}}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x162))/0x1+parseInt(f(0x16d))/0x2*(-parseInt(f(0x15e))/0x3)+-parseInt(f(0x134))/0x4*(-parseInt(f(0x138))/0x5)+-parseInt(f(0x174))/0x6*(-parseInt(f(0x168))/0x7)+-parseInt(f(0x164))/0x8*(parseInt(f(0x16b))/0x9)+-parseInt(f(0x152))/0xa*(-parseInt(f(0x125))/0xb)+-parseInt(f(0x12a))/0xc*(-parseInt(f(0x15c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x455b0));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x142)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x13e)]()['search'](h(0x126))['toString']()['constructor'](a48a)['search'](h(0x126));});a48a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x125;let f=c[d];return f;},a48d(a,b);}function a48c(){const A=['Helmet','121092ErjOqg','head','\x20in\x20your\x20inventory.','boots','45nHCQai','currentLocation','_inventory','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','leaveRoom','write','toString','armarmor','unequipBySlot','Boots','apply','equip','includes','enterRoom','addInventory','category','weight','_maxCarryingWeight','bind','A\x20featureless\x20room','hear','_playerName','\x20from\x20player\x27s\x20inventory.','Hat','arms','equipment','780HPgtWs','Weapon','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','determineEquipmentSlot','getWeight','legs','leftHand','You\x20don\x27t\x20have\x20','unequip','LegArmor','52lQLnmz','.\x20You\x20must\x20unequip\x20it\x20first.','2805mqqhvJ','arm\x20armor','Added\x20','toLowerCase','479320VubOBJ','values','112720BTEKQY','bodyarmor','feet','weapon','965993FUxfyW','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','leg\x20armor','261GFPhve','inventoryItems','530SqEDix','canEquip','removeItem','Gloves','BodyArmor','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','Max\x20carrying\x20weight\x20must\x20be\x20positive.','24YxSYXZ','_currentLocation','startLocation','logger','addItem','\x20is\x20now\x20listening\x20in\x20room\x20','shield','hasItem','initialEquipment','30998DsMWUh','(((.+)+)+)+$','maxCarryingWeight','rightHand','legarmor','1126584jJEYUV','Invalid\x20category\x20or\x20slot:\x20','_equipment','gloves','ArmArmor','name','torso','speak','removeInventory'];a48c=function(){return A;};return a48c();}import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a48i(0x14d)];[a48i(0x175)];[a48i(0x13a)];[a48i(0x12c)];[a48i(0x149)]=0x32;[a48i(0x177)];constructor(a){const j=a48i;super(),this[j(0x14d)]=a['playerName'],this[j(0x175)]=a[j(0x176)]||new Room({'name':'Nexus','description':j(0x14b)}),this[j(0x13a)]=new Inventory(),this[j(0x177)]=Logger['getInstance']();if(a?.['inventoryItems'])for(const b of a[j(0x16c)]){this[j(0x13a)][j(0x178)](b);}this[j(0x12c)]=a?.[j(0x17c)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a48i(0x12f)](){const k=a48i;return this[k(0x14d)];}get[a48i(0x139)](){const l=a48i;return this[l(0x175)];}set['currentLocation'](a){const m=a48i;this['_currentLocation']!==a&&(this[m(0x13c)](),this[m(0x145)](a)),this[m(0x175)]=a;}get['inventory'](){const n=a48i;return this[n(0x13a)];}get['equipment'](){return this['_equipment'];}set[a48i(0x151)](a){this['_equipment']=a;}get[a48i(0x127)](){return this['_maxCarryingWeight'];}set['maxCarryingWeight'](a){const o=a48i;a>0x0?this[o(0x149)]=a:console['error'](o(0x173));}get['currentWeight'](){const p=a48i;let a=this['_inventory'][p(0x156)]();for(const b in this[p(0x12c)]){const c=this[p(0x12c)][b];c&&(a+=c[p(0x148)]);}return a;}[a48i(0x146)](a){const q=a48i;if(this['currentWeight']+a[q(0x148)]>this[q(0x127)]){this[q(0x177)][q(0x13d)](q(0x169));throw new Error(q(0x154));}this['_inventory']['addItem'](a),this[q(0x177)][q(0x13d)](q(0x160)+a[q(0x12f)]+'\x20to\x20player\x27s\x20inventory.');}[a48i(0x132)](a){const r=a48i;if(this[r(0x13a)][r(0x16f)](a[r(0x12f)]))return this[r(0x177)]['write']('Removed\x20'+a['name']+r(0x14e)),!![];return this[r(0x177)]['write']('Failed\x20to\x20remove\x20'+a['name']+r(0x14e)),![];}[a48i(0x143)](a){const s=a48i;if(!this[s(0x13a)][s(0x17b)](a[s(0x12f)]))return s(0x159)+a[s(0x12f)]+s(0x136);if(!this[s(0x16e)](a))return'You\x20can\x27t\x20equip\x20'+a['name']+'.';const b=this[s(0x155)](a[s(0x147)]);if(!b)return a[s(0x12f)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[s(0x151)][b])return s(0x172)+b+s(0x15d);return this[s(0x151)][b]=a,this['removeInventory'](a),'You\x20equipped\x20'+a['name']+'.';}[a48i(0x15a)](a){const t=a48i;let b=a;if(!this[t(0x151)][camelCase(b)]){b=this[t(0x155)](a);if(!b)return t(0x12b)+a+'.';}return this[t(0x140)](b);}['determineEquipmentSlot'](a){const u=a48i;switch(a[u(0x161)]()){case Category[u(0x153)]['toLowerCase']():return u(0x128);case Category['Shield']['toLowerCase']():return u(0x158);case Category[u(0x170)][u(0x161)]():return u(0x12d);case Category[u(0x133)][u(0x161)]():case Category[u(0x14f)][u(0x161)]():return u(0x135);case Category[u(0x141)][u(0x161)]():return'feet';case Category[u(0x15b)][u(0x161)]():return u(0x157);case Category[u(0x12e)][u(0x161)]():return'arms';case Category[u(0x171)][u(0x161)]():return'torso';case u(0x167):return u(0x128);case u(0x17a):return u(0x158);case u(0x12d):return u(0x12d);case'helmet':case'hat':return u(0x135);case u(0x137):return u(0x166);case u(0x16a):case u(0x129):return u(0x157);case u(0x15f):case u(0x13f):return u(0x150);case'body\x20armor':case u(0x165):case'torso':return u(0x130);default:return null;}}[a48i(0x16e)](a){const v=a48i;return Object[v(0x163)](Category)[v(0x144)](a['category']);}[a48i(0x140)](a){const w=a48i,b=this[w(0x151)][a];if(!b)return w(0x13b)+a+'\x20slot.';return this[w(0x146)](b),this[w(0x151)][a]=null,'You\x20unequipped\x20'+b[w(0x12f)]+'.';}[a48i(0x14c)](a,b){const x=a48i;a!==this&&this['logger']['log'](a[x(0x12f)]+'\x20says:\x20\x22'+b+'\x22');}[a48i(0x145)](a){const y=a48i;this[y(0x175)]=a,a['on']('speak',this['hear']['bind'](this)),this[y(0x177)][y(0x13d)](this['name']+y(0x179)+a['name']);}[a48i(0x13c)](){const z=a48i;this[z(0x175)]&&(this[z(0x175)]['off'](z(0x131),this[z(0x14c)][z(0x14a)](this)),this[z(0x177)]['write'](this['name']+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[z(0x175)][z(0x12f)]));}}
1
+ function a48c(){const C=['You\x20don\x27t\x20have\x20','232591cziLTS','_currentLocation','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','inventoryItems','\x20is\x20now\x20listening\x20in\x20room\x20','You\x20equipped\x20','Nexus','values','off','You\x20unequipped\x20','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','\x20from\x20player\x27s\x20inventory.','determineEquipmentSlot','legarmor','initialEquipment','10rRBSDy','_maxCarryingWeight','bind','enterRoom','apply','arm\x20armor','3133889raeHqY','Max\x20carrying\x20weight\x20must\x20be\x20positive.','body\x20armor','toString','LegArmor','1548198xVQhxS','currentLocation','canEquip','currentWeight','bodyarmor','logger','speak','Helmet','hear','weapon','category','removeItem','Boots','rightHand','You\x20can\x27t\x20equip\x20','removeInventory','gloves','equipment','leaveRoom','Added\x20','getWeight','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','playerName','boots','830biGzGS','leftHand','12BzDwft','name','2646rGZuNS','write','hat','includes','armarmor','log','1518801JjEzkt','Removed\x20','Shield','feet','Weapon','shield','search','equip','error','24mfxtQu','inventory','weight','\x20says:\x20\x22','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','getInstance','helmet','(((.+)+)+)+$','constructor','\x20in\x20your\x20inventory.','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','legs','A\x20featureless\x20room','maxCarryingWeight','leg\x20armor','BodyArmor','head','Invalid\x20category\x20or\x20slot:\x20','2lnFEwM','\x20slot.','unequip','4354TfhsIg','arms','892IWxoZe','addInventory','_playerName','14126801OZhTQX','torso','toLowerCase','_equipment','_inventory','Gloves','Failed\x20to\x20remove\x20'];a48c=function(){return C;};return a48c();}const a48i=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x136;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x17c))/0x1*(parseInt(f(0x16c))/0x2)+-parseInt(f(0x151))/0x3+parseInt(f(0x171))/0x4*(-parseInt(f(0x147))/0x5)+parseInt(f(0x14b))/0x6*(-parseInt(f(0x16f))/0x7)+parseInt(f(0x15a))/0x8*(-parseInt(f(0x196))/0x9)+parseInt(f(0x18b))/0xa*(parseInt(f(0x191))/0xb)+-parseInt(f(0x149))/0xc*(-parseInt(f(0x174))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x420b2));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x194)]()['search'](h(0x161))[h(0x194)]()[h(0x162)](a48a)[h(0x157)](h(0x161));});a48a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a48i(0x173)];['_currentLocation'];[a48i(0x178)];['_equipment'];['_maxCarryingWeight']=0x32;[a48i(0x19b)];constructor(a){const j=a48i;super(),this['_playerName']=a[j(0x145)],this[j(0x17d)]=a['startLocation']||new Room({'name':j(0x182),'description':j(0x166)}),this['_inventory']=new Inventory(),this[j(0x19b)]=Logger[j(0x15f)]();if(a?.[j(0x17f)])for(const b of a[j(0x17f)]){this['_inventory']['addItem'](b);}this[j(0x177)]=a?.[j(0x18a)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a48i(0x14a)](){const k=a48i;return this[k(0x173)];}get[a48i(0x197)](){const l=a48i;return this[l(0x17d)];}set[a48i(0x197)](a){const m=a48i;this['_currentLocation']!==a&&(this[m(0x141)](),this[m(0x18e)](a)),this[m(0x17d)]=a;}get[a48i(0x15b)](){const n=a48i;return this[n(0x178)];}get[a48i(0x140)](){const o=a48i;return this[o(0x177)];}set[a48i(0x140)](a){this['_equipment']=a;}get[a48i(0x167)](){const p=a48i;return this[p(0x18c)];}set[a48i(0x167)](a){const q=a48i;a>0x0?this['_maxCarryingWeight']=a:console[q(0x159)](q(0x192));}get[a48i(0x199)](){const r=a48i;let a=this[r(0x178)][r(0x143)]();for(const b in this['_equipment']){const c=this[r(0x177)][b];c&&(a+=c[r(0x15c)]);}return a;}[a48i(0x172)](a){const s=a48i;if(this['currentWeight']+a[s(0x15c)]>this['maxCarryingWeight']){this[s(0x19b)][s(0x14c)](s(0x15e));throw new Error(s(0x186));}this[s(0x178)]['addItem'](a),this[s(0x19b)][s(0x14c)](s(0x142)+a[s(0x14a)]+'\x20to\x20player\x27s\x20inventory.');}['removeInventory'](a){const t=a48i;if(this[t(0x178)][t(0x13a)](a[t(0x14a)]))return this[t(0x19b)][t(0x14c)](t(0x152)+a[t(0x14a)]+t(0x187)),!![];return this[t(0x19b)][t(0x14c)](t(0x17a)+a[t(0x14a)]+t(0x187)),![];}[a48i(0x158)](a){const u=a48i;if(!this[u(0x178)]['hasItem'](a[u(0x14a)]))return u(0x17b)+a[u(0x14a)]+u(0x163);if(!this[u(0x198)](a))return u(0x13d)+a[u(0x14a)]+'.';const b=this[u(0x188)](a[u(0x139)]);if(!b)return a[u(0x14a)]+u(0x164);if(this[u(0x140)][b])return u(0x144)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[u(0x140)][b]=a,this[u(0x13e)](a),u(0x181)+a[u(0x14a)]+'.';}[a48i(0x16e)](a){const v=a48i;let b=a;if(!this[v(0x140)][camelCase(b)]){b=this[v(0x188)](a);if(!b)return v(0x16b)+a+'.';}return this['unequipBySlot'](b);}['determineEquipmentSlot'](a){const w=a48i;switch(a[w(0x176)]()){case Category[w(0x155)][w(0x176)]():return w(0x13c);case Category[w(0x153)]['toLowerCase']():return w(0x148);case Category[w(0x179)][w(0x176)]():return'gloves';case Category[w(0x136)][w(0x176)]():case Category['Hat'][w(0x176)]():return'head';case Category[w(0x13b)]['toLowerCase']():return w(0x154);case Category[w(0x195)][w(0x176)]():return w(0x165);case Category['ArmArmor'][w(0x176)]():return w(0x170);case Category[w(0x169)][w(0x176)]():return w(0x175);case w(0x138):return w(0x13c);case w(0x156):return'leftHand';case'gloves':return w(0x13f);case w(0x160):case w(0x14d):return w(0x16a);case w(0x146):return w(0x154);case w(0x168):case w(0x189):return w(0x165);case w(0x190):case w(0x14f):return w(0x170);case w(0x193):case w(0x19a):case'torso':return w(0x175);default:return null;}}[a48i(0x198)](a){const x=a48i;return Object[x(0x183)](Category)[x(0x14e)](a['category']);}['unequipBySlot'](a){const y=a48i,b=this[y(0x140)][a];if(!b)return y(0x17e)+a+y(0x16d);return this['addInventory'](b),this[y(0x140)][a]=null,y(0x185)+b['name']+'.';}[a48i(0x137)](a,b){const z=a48i;a!==this&&this[z(0x19b)][z(0x150)](a[z(0x14a)]+z(0x15d)+b+'\x22');}[a48i(0x18e)](a){const A=a48i;this[A(0x17d)]=a,a['on'](A(0x19c),this['hear']['bind'](this)),this[A(0x19b)][A(0x14c)](this['name']+A(0x180)+a[A(0x14a)]);}['leaveRoom'](){const B=a48i;this[B(0x17d)]&&(this['_currentLocation'][B(0x184)](B(0x19c),this['hear'][B(0x18d)](this)),this['logger'][B(0x14c)](this[B(0x14a)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[B(0x17d)][B(0x14a)]));}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1d7))/0x1+-parseInt(f(0x1d8))/0x2*(-parseInt(f(0x1d9))/0x3)+parseInt(f(0x1ef))/0x4+-parseInt(f(0x1d6))/0x5*(-parseInt(f(0x1eb))/0x6)+-parseInt(f(0x1e1))/0x7*(-parseInt(f(0x1dd))/0x8)+parseInt(f(0x1ea))/0x9+parseInt(f(0x1e9))/0xa*(-parseInt(f(0x1f2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x3fa7b));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1d3;var f=c[d];return f;},a49d(a,b);}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1ee)]()['search'](h(0x1ec))[h(0x1ee)]()['constructor'](a49a)['search'](h(0x1ec));});a49a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a49c(){var n=['rewardItem','hasRequiredItem','logger','solved','1450BeiQrR','3261222PuaLEK','6bVTFWF','(((.+)+)+)+$','requiredPhrase','toString','1143844vkRPCm','failureMessage','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','129602EgVkgy','Puzzle:\x20Correct\x20solution\x20provided.','write','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','riddle','1126315JXGSmb','465002HfLdrd','970124GJIolr','3uTvbHQ','hasItem','solve','matchesRequiredPhrase','88AYQEII','getInstance','You\x20have\x20already\x20solved\x20this\x20puzzle.','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','92575uBwndn','requiredItem','successMessage','apply'];a49c=function(){return n;};return a49c();}export class Puzzle extends AbstractPuzzle{[a49i(0x1e7)]=Logger[a49i(0x1de)]();['solved']=![];[a49i(0x1e2)];[a49i(0x1ed)];[a49i(0x1d5)];['rewardItem'];[a49i(0x1e3)];[a49i(0x1f0)];constructor(a){var j=a49i;super(),this['requiredItem']=a['requiredItem'],this[j(0x1ed)]=a[j(0x1ed)],this['riddle']=a[j(0x1d5)],this[j(0x1e5)]=a[j(0x1e5)],this[j(0x1e3)]=a[j(0x1e3)]||'You\x20solved\x20the\x20puzzle!',this['failureMessage']=a['failureMessage']||j(0x1e0);}[a49i(0x1e6)](a){var k=a49i;if(this[k(0x1e2)])return a[k(0x1da)](this[k(0x1e2)]);return![];}['matchesRequiredPhrase'](a){var l=a49i;return this[l(0x1ed)]===a;}[a49i(0x1db)](a,b){var m=a49i;if(this[m(0x1e8)])return this[m(0x1e7)][m(0x1d3)](m(0x1f1)),{'success':![],'message':m(0x1df)};return this[m(0x1e6)](b)||this[m(0x1dc)](a)?(this[m(0x1e8)]=!![],this['logger'][m(0x1d3)](m(0x1f3)),{'success':!![],'message':this['successMessage']}):(this['logger'][m(0x1d3)](m(0x1d4)),{'success':![],'message':this[m(0x1f0)]});}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x117))/0x1*(-parseInt(f(0x132))/0x2)+parseInt(f(0x119))/0x3*(-parseInt(f(0x12e))/0x4)+-parseInt(f(0x11d))/0x5*(-parseInt(f(0x122))/0x6)+parseInt(f(0x120))/0x7*(-parseInt(f(0x11c))/0x8)+parseInt(f(0x125))/0x9*(parseInt(f(0x113))/0xa)+parseInt(f(0x11e))/0xb+-parseInt(f(0x11a))/0xc*(-parseInt(f(0x114))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xdcf59));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x128)]()[h(0x111)]('(((.+)+)+)+$')[h(0x128)]()['constructor'](a49a)[h(0x111)](h(0x12f));});a49a();import{Logger}from'../utilities/logger.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x110;var f=c[d];return f;},a49d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a49i(0x12d)]=Logger[a49i(0x131)]();[a49i(0x118)]=![];[a49i(0x116)];[a49i(0x121)];[a49i(0x12a)];[a49i(0x11b)];[a49i(0x12c)];['failureMessage'];constructor(a){var j=a49i;super(),this['requiredItem']=a[j(0x116)],this[j(0x121)]=a['requiredPhrase'],this['riddle']=a['riddle'],this[j(0x11b)]=a['rewardItem'],this[j(0x12c)]=a[j(0x12c)]||'You\x20solved\x20the\x20puzzle!',this[j(0x130)]=a[j(0x130)]||j(0x124);}[a49i(0x126)](a){var k=a49i;if(this['requiredItem'])return a[k(0x115)](this['requiredItem']);return![];}['matchesRequiredPhrase'](a){var l=a49i;return this[l(0x121)]===a;}[a49i(0x123)](a,b){var m=a49i;if(this[m(0x118)])return this['logger'][m(0x133)](m(0x11f)),{'success':![],'message':m(0x110)};return this[m(0x126)](b)||this[m(0x112)](a)?(this['solved']=!![],this[m(0x12d)]['write'](m(0x12b)),{'success':!![],'message':this['successMessage']}):(this[m(0x12d)][m(0x133)](m(0x127)),{'success':![],'message':this[m(0x130)]});}}function a49c(){var n=['logger','1861864zuXQUD','(((.+)+)+)+$','failureMessage','getInstance','4FdaSCF','write','You\x20have\x20already\x20solved\x20this\x20puzzle.','search','matchesRequiredPhrase','620960WqXqat','13XsfgZs','hasItem','requiredItem','853471QOszde','solved','3ynwXWR','16733736BsdWDN','rewardItem','1784qaTcni','80OlQZaW','11349371DmvlnT','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','14zkYKVK','requiredPhrase','58086plQZpk','solve','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','72AOGthZ','hasRequiredItem','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','toString','apply','riddle','Puzzle:\x20Correct\x20solution\x20provided.','successMessage'];a49c=function(){return n;};return a49c();}
@@ -1 +1 @@
1
- function a50c(){const u=['Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','removeItem','values','642238xOXwLR','SOUTH','south','\x20remains\x20locked.','\x20unlocked!','write','isExitLocked','7oxvGAe','673952MhOkGh','name','getExit','Invalid\x20direction:\x20','roomB','The\x20','setPuzzle','7434OjRDTq','roomType','Checking\x20if\x20exit\x20in\x20direction\x20','10692DVugKY','search','.\x20Success:\x20','west','logger','checkIfLocked','No\x20locked\x20exit\x20found\x20in\x20direction\x20','apply','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','inventory','exits','say','findExistingDoor','546fbOhpI','(((.+)+)+)+$','isStartRoom','description','Item\x20added\x20to\x20room\x20','get','getOppositeDirection','11023664ihdXIt','INSIDE','north','toString','puzzle','7232166FznNUE','addItem','WEST','Room\x20created:\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','Puzzle\x20set\x20for\x20room\x20','set','18470gsBlFc','2353210ZjKrMq','roomA','emit','Item\x20removed\x20from\x20room\x20'];a50c=function(){return u;};return a50c();}const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x166))/0x1+-parseInt(f(0x134))/0x2+-parseInt(f(0x14b))/0x3*(parseInt(f(0x13e))/0x4)+parseInt(f(0x15f))/0x5+-parseInt(f(0x157))/0x6+parseInt(f(0x133))/0x7*(parseInt(f(0x152))/0x8)+parseInt(f(0x13b))/0x9*(parseInt(f(0x15e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xabab9));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x145)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()[h(0x13f)](h(0x14c))[h(0x155)]()['constructor'](a50a)[h(0x13f)](h(0x14c));});a50a();import{Logger}from'../utilities/logger.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x131;let f=c[d];return f;},a50d(a,b);}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger['getInstance']();['name'];['description'];[a50i(0x148)]=new Map();[a50i(0x13c)];[a50i(0x14d)];['inventory']=new Inventory();constructor(a){const j=a50i;super(),this[j(0x135)]=a[j(0x135)],this[j(0x14e)]=a[j(0x14e)],this['roomType']=a['roomType']||RoomType[j(0x153)],a[j(0x148)]&&(this[j(0x148)]=a[j(0x148)]||new Map()),a[j(0x147)]&&(this[j(0x147)]=a[j(0x147)]),a['puzzle']&&(this[j(0x156)]=a[j(0x156)]),this['isStartRoom']=a['isStartRoom']||![],this['logger']['write'](j(0x15a)+this[j(0x135)]);}[a50i(0x149)](a,b){const k=a50i;this[k(0x161)]('speak',a,b);}['addExit'](a,b,c){const l=a50i;let d=this[l(0x14a)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x15d)](a,d),b[l(0x148)][l(0x15d)](this[l(0x151)](a),d);}['attemptUnlockExit'](a,b){const m=a50i,c=this[m(0x148)]['get'](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this['logger'][m(0x131)](m(0x15b)+a+m(0x140)+d),d?m(0x139)+c[m(0x135)]+m(0x16a):'The\x20'+c[m(0x135)]+m(0x169);}return this[m(0x142)][m(0x131)](m(0x144)+a),m(0x146);}[a50i(0x136)](a){const n=a50i;return this[n(0x142)]['write']('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0x148)][n(0x150)](a);}[a50i(0x132)](a){const o=a50i,b=this[o(0x148)][o(0x150)](a),c=b instanceof Door&&b[o(0x143)]();return this[o(0x142)]['write'](o(0x13d)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a50i(0x158)](a){const p=a50i;this[p(0x147)]['addItem'](a),this[p(0x142)][p(0x131)](p(0x14f)+this['name']+':\x20'+a['name']);}['removeItem'](a){const q=a50i;this['inventory']['hasItem'](a[q(0x135)])?(this[q(0x147)][q(0x164)](a[q(0x135)]),this[q(0x142)][q(0x131)](q(0x162)+this[q(0x135)]+':\x20'+a[q(0x135)])):this[q(0x142)]['write'](q(0x163)+this['name']+':\x20'+a[q(0x135)]);}[a50i(0x13a)](a){const r=a50i;this[r(0x156)]=a,this[r(0x142)][r(0x131)](r(0x15c)+this[r(0x135)]+':\x20'+a['riddle']);}[a50i(0x151)](a){const s=a50i;switch(a){case s(0x154):return Direction[s(0x167)];case s(0x168):return Direction['NORTH'];case'east':return Direction[s(0x159)];case s(0x141):return Direction['EAST'];case'up':return Direction['DOWN'];case'down':return Direction['UP'];default:throw new Error(s(0x137)+a);}}[a50i(0x14a)](a){const t=a50i;for(const b of this[t(0x148)][t(0x165)]()){if(b instanceof Door){if(b[t(0x160)]===this&&b[t(0x138)]===a||b[t(0x138)]===this&&b[t(0x160)]===a)return b;}}return undefined;}}
1
+ function a50c(){const u=['INSIDE','write','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','setPuzzle','getOppositeDirection','removeItem','roomB','27vvclWJ','apply','logger','say','No\x20locked\x20exit\x20found\x20in\x20direction\x20','isExitLocked','roomType','addItem','down','addExit','speak','riddle','76357dGeAiV','roomA','Item\x20added\x20to\x20room\x20','isStartRoom','WEST','description','getExit','inventory','.\x20Success:\x20','hasItem','3093342ccQVPQ','4210710ZEYPbN','search','\x20remains\x20locked.','get','Item\x20removed\x20from\x20room\x20','puzzle','findExistingDoor','Fetching\x20exit\x20in\x20direction:\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','(((.+)+)+)+$','toString','\x20unlocked!','\x20is\x20locked.\x20Result:\x20','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','18UtiitL','values','name','set','3573936SfxUcW','2056888ulFsZV','689005QkcyFE','exits','DOWN','east','attemptUnlock','emit','Room\x20created:\x20','7017904rzYWXd'];a50c=function(){return u;};return a50c();}const a50i=a50d;function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x124;let f=c[d];return f;},a50d(a,b);}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x151))/0x1+-parseInt(f(0x135))/0x2+parseInt(f(0x15b))/0x3+-parseInt(f(0x134))/0x4+parseInt(f(0x136))/0x5*(-parseInt(f(0x130))/0x6)+-parseInt(f(0x15c))/0x7+parseInt(f(0x13d))/0x8*(parseInt(f(0x145))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x9e98a));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x146)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x12c)]()[h(0x15d)]('(((.+)+)+)+$')[h(0x12c)]()['constructor'](a50a)[h(0x15d)](h(0x12b));});a50a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a50i(0x147)]=Logger['getInstance']();['name'];[a50i(0x156)];[a50i(0x137)]=new Map();[a50i(0x14b)];[a50i(0x154)];[a50i(0x158)]=new Inventory();constructor(a){const j=a50i;super(),this['name']=a['name'],this[j(0x156)]=a[j(0x156)],this[j(0x14b)]=a[j(0x14b)]||RoomType[j(0x13e)],a[j(0x137)]&&(this['exits']=a['exits']||new Map()),a[j(0x158)]&&(this[j(0x158)]=a[j(0x158)]),a[j(0x127)]&&(this[j(0x127)]=a[j(0x127)]),this[j(0x154)]=a['isStartRoom']||![],this['logger'][j(0x13f)](j(0x13c)+this[j(0x132)]);}[a50i(0x148)](a,b){const k=a50i;this[k(0x13b)](k(0x14f),a,b);}[a50i(0x14e)](a,b,c){const l=a50i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x137)][l(0x133)](a,d),b[l(0x137)][l(0x133)](this[l(0x142)](a),d);}['attemptUnlockExit'](a,b){const m=a50i,c=this[m(0x137)][m(0x125)](a);if(c instanceof Door){const d=c[m(0x13a)](b);return this[m(0x147)][m(0x13f)](m(0x12a)+a+m(0x159)+d),d?'The\x20'+c[m(0x132)]+m(0x12d):'The\x20'+c['name']+m(0x124);}return this[m(0x147)]['write'](m(0x149)+a),m(0x140);}[a50i(0x157)](a){const n=a50i;return this[n(0x147)][n(0x13f)](n(0x129)+a),this[n(0x137)][n(0x125)](a);}[a50i(0x14a)](a){const o=a50i,b=this[o(0x137)][o(0x125)](a),c=b instanceof Door&&b['checkIfLocked']();return this['logger']['write']('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0x12e)+c),c;}['addItem'](a){const p=a50i;this['inventory'][p(0x14c)](a),this[p(0x147)]['write'](p(0x153)+this[p(0x132)]+':\x20'+a[p(0x132)]);}[a50i(0x143)](a){const q=a50i;this[q(0x158)][q(0x15a)](a[q(0x132)])?(this['inventory'][q(0x143)](a[q(0x132)]),this[q(0x147)][q(0x13f)](q(0x126)+this[q(0x132)]+':\x20'+a[q(0x132)])):this['logger'][q(0x13f)](q(0x12f)+this[q(0x132)]+':\x20'+a[q(0x132)]);}[a50i(0x141)](a){const r=a50i;this[r(0x127)]=a,this['logger'][r(0x13f)]('Puzzle\x20set\x20for\x20room\x20'+this[r(0x132)]+':\x20'+a[r(0x150)]);}[a50i(0x142)](a){const s=a50i;switch(a){case'north':return Direction['SOUTH'];case'south':return Direction['NORTH'];case s(0x139):return Direction[s(0x155)];case'west':return Direction['EAST'];case'up':return Direction[s(0x138)];case s(0x14d):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a50i(0x128)](a){const t=a50i;for(const b of this[t(0x137)][t(0x131)]()){if(b instanceof Door){if(b[t(0x152)]===this&&b[t(0x144)]===a||b[t(0x144)]===this&&b['roomA']===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a51l=a51d;(function(a,b){const i=a51d,c=a();while(!![]){try{const d=parseInt(i(0x148))/0x1+-parseInt(i(0x176))/0x2*(-parseInt(i(0x153))/0x3)+-parseInt(i(0x144))/0x4*(-parseInt(i(0x15b))/0x5)+-parseInt(i(0x181))/0x6*(-parseInt(i(0x18b))/0x7)+-parseInt(i(0x13c))/0x8*(-parseInt(i(0x13f))/0x9)+-parseInt(i(0x159))/0xa*(parseInt(i(0x16b))/0xb)+parseInt(i(0x152))/0xc*(-parseInt(i(0x158))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xdd223));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0x171)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a[k(0x15c)]()[k(0x15e)](k(0x178))['toString']()['constructor'](a51a)[k(0x15e)](k(0x178));});a51a();import{Logger}from'../utilities/logger.js';function a51c(){const D=['delete','addRoom','player','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','51090riTfCk','Failed\x20to\x20add\x20item\x20','addExit','Failed\x20to\x20add\x20puzzle.\x20Room\x20','length','Room\x20\x22','\x22\x20does\x20not\x20exist.','Added\x20item\x20','allActors','\x27s\x20location.\x20Room\x20','427Rldmwb','getPlayer','characterLocations','11992JmdwyY','\x20found\x20in\x20the\x20scene.','values','54bfNVrj','connectRooms','Added\x20room\x20to\x20scene:\x20','setCharacterLocation','Removed\x20room\x20from\x20scene:\x20','29884cJTHDL','Failed\x20to\x20set\x20','No\x20actor\x20with\x20name\x20','from','693755gphhBO','addPuzzleToRoom','determineStartRoom','Actor\x20with\x20name\x20','logger','removeRoom','direction','\x20is\x20now\x20in\x20room\x20','roomConfiguration','keys','1313136iqwHlI','52506vRcGoO','Scene\x20initialized\x20with\x20rooms:\x20','createExitsFromConfig','\x20already\x20exists\x20in\x20the\x20scene.','Added\x20puzzle\x20to\x20room\x20','234mgblnz','960ztNWfD','\x20to\x20room\x20','855CBCsoc','toString','actors','search','set','removeActor','rooms','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','addActor','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','has','generateRoomsFromConfig','\x20not\x20found\x20in\x20scene.','hasOwnProperty','currentLocation','toUpperCase','67243rCSJUW','addItemToRoom','addItem','join','getCharacterLocation','setPuzzle','apply','initialize','targetRoom','getInstance','write','110ObntYR','exits','(((.+)+)+)+$','roomFactory','name','get','getActor'];a51c=function(){return D;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x13b;let f=c[d];return f;},a51d(a,b);}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];[a51l(0x17f)];[a51l(0x14c)];[a51l(0x15d)];['characterLocations']=new Map();[a51l(0x179)];constructor(a){const m=a51l;super(),this['roomFactory']=new RoomFactory(),this[m(0x17f)]=a[m(0x17f)],this[m(0x161)]=this[m(0x166)](a[m(0x150)]),this[m(0x14c)]=Logger[m(0x174)](),this['actors']=new Map(),this[m(0x155)](a['roomConfiguration']),this[m(0x14c)][m(0x175)](m(0x154)+Object[m(0x151)](this[m(0x161)])[m(0x16e)](',\x20'));}[a51l(0x172)](){const n=a51l;this[n(0x17f)][n(0x169)]=this[n(0x14a)]();}['generateRoomsFromConfig'](a){const o=a51l;if(!this['roomFactory'])throw new Error(o(0x164));const b={};for(const c of a){const d=this[o(0x179)]['createRoom'](c);b[c[o(0x17a)]]=d;}return b;}[a51l(0x155)](a){const p=a51l;for(const b of a){const c=this[p(0x161)][b['name']];if(b['exits'])for(const d of b[p(0x177)]){const e=d[p(0x14e)][p(0x16a)](),f=d[p(0x173)],g=d['keyRequired'],h=this[p(0x161)][f];h&&c['addExit'](Direction[e],h,g);}}}[a51l(0x163)](a){const q=a51l;if(this[q(0x15d)][q(0x165)](a[q(0x17a)]))throw new Error(q(0x14b)+a[q(0x17a)]+q(0x156));this[q(0x15d)][q(0x15f)](a[q(0x17a)],a);}[a51l(0x160)](a){const r=a51l;if(!this[r(0x15d)][r(0x165)](a))throw new Error(r(0x146)+a+r(0x13d));this[r(0x15d)][r(0x17d)](a);}[a51l(0x17c)](a){const s=a51l;return this[s(0x15d)][s(0x17b)](a);}get[a51l(0x189)](){const t=a51l;return Array[t(0x147)](this[t(0x15d)][t(0x13e)]());}[a51l(0x17e)](a){const u=a51l;this[u(0x161)][a[u(0x17a)]]=a,this[u(0x14c)][u(0x175)](u(0x141)+a[u(0x17a)]);}[a51l(0x14d)](a){const v=a51l;return this['rooms'][a]?(delete this[v(0x161)][a],this[v(0x14c)]['write'](v(0x143)+a),!![]):(this['logger'][v(0x175)](v(0x162)+a),![]);}[a51l(0x16c)](a,b){const w=a51l,c=this[w(0x161)][b];c?(c[w(0x16d)](a),this[w(0x14c)]['write'](w(0x188)+a[w(0x17a)]+w(0x15a)+c[w(0x17a)])):this[w(0x14c)][w(0x175)](w(0x182)+a[w(0x17a)]+'.\x20Room\x20'+b+w(0x167));}[a51l(0x149)](a,b){const x=a51l,c=this[x(0x161)][b];c?(c[x(0x170)](a),this['logger'][x(0x175)](x(0x157)+c['name'])):this[x(0x14c)][x(0x175)](x(0x184)+b+x(0x167));}[a51l(0x142)](a,b){const y=a51l,c=this[y(0x161)][b];c?(this[y(0x13b)][y(0x15f)](a[y(0x17a)],c),this[y(0x14c)]['write'](a['name']+y(0x14f)+c['name'])):this[y(0x14c)]['write'](y(0x145)+a[y(0x17a)]+y(0x18a)+b+y(0x167));}[a51l(0x16f)](a){const z=a51l;return this['characterLocations'][z(0x17b)](a[z(0x17a)]);}[a51l(0x14a)](){const A=a51l,a=[];for(const c in this[A(0x161)]){if(this[A(0x161)][A(0x168)](c)){const d=this[A(0x161)][c];d['isStartRoom']&&a['push'](d);}}if(a['length']>0x1)throw new Error(A(0x180));if(a['length']===0x1)return a[0x0];const b=Object['keys'](this['rooms']);if(b[A(0x185)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console['warn']('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0x161)][b[0x0]];}[a51l(0x18c)](){const B=a51l;return this[B(0x17f)];}['getRooms'](){return this['rooms'];}[a51l(0x140)](a,b,c,d){const C=a51l,e=this[C(0x161)][a],f=this['rooms'][c];if(!e)throw new Error(C(0x186)+a+C(0x187));if(!f)throw new Error('Room\x20\x22'+c+C(0x187));e[C(0x183)](b,f,d);}}
1
+ const a51l=a51d;function a51c(){const D=['keyRequired','Removed\x20room\x20from\x20scene:\x20','addActor','getInstance','\x20to\x20room\x20','149144xbrWhB','\x22\x20does\x20not\x20exist.','search','keys','rooms','1982211XyQwZb','push','\x20not\x20found\x20in\x20scene.','name','205iTyInf','Added\x20item\x20','toUpperCase','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','\x20is\x20now\x20in\x20room\x20','addRoom','getPlayer','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','delete','isStartRoom','\x20already\x20exists\x20in\x20the\x20scene.','characterLocations','hasOwnProperty','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','Failed\x20to\x20add\x20puzzle.\x20Room\x20','set','length','determineStartRoom','setCharacterLocation','get','9722430XHvAVv','119bmnOpL','actors','has','18KTFwBp','setPuzzle','player','initialize','generateRoomsFromConfig','Failed\x20to\x20add\x20item\x20','currentLocation','Scene\x20initialized\x20with\x20rooms:\x20','getCharacterLocation','No\x20actor\x20with\x20name\x20','1412037CzwZrx','addItem','connectRooms','createExitsFromConfig','addExit','logger','exits','roomConfiguration','Room\x20\x22','1766PZziDa','181030hUYezF','targetRoom','createRoom','apply','2035292IABbir','constructor','toString','getActor','write','getRooms','allActors','(((.+)+)+)+$','roomFactory','Actor\x20with\x20name\x20'];a51c=function(){return D;};return a51c();}(function(a,b){const i=a51d,c=a();while(!![]){try{const d=parseInt(i(0x8d))/0x1*(-parseInt(i(0x70))/0x2)+parseInt(i(0x89))/0x3+-parseInt(i(0x75))/0x4+parseInt(i(0x71))/0x5*(-parseInt(i(0xa6))/0x6)+parseInt(i(0xa3))/0x7*(-parseInt(i(0x84))/0x8)+-parseInt(i(0x67))/0x9+parseInt(i(0xa2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x580fc));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0x74)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a[k(0x77)]()[k(0x86)](k(0x7c))[k(0x77)]()[k(0x76)](a51a)[k(0x86)](k(0x7c));});a51a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x64;let f=c[d];return f;},a51d(a,b);}export class Scene extends AbstractScene{[a51l(0x88)];[a51l(0xa8)];[a51l(0x6c)];[a51l(0xa4)];['characterLocations']=new Map();[a51l(0x7d)];constructor(a){const m=a51l;super(),this[m(0x7d)]=new RoomFactory(),this[m(0xa8)]=a[m(0xa8)],this['rooms']=this[m(0xaa)](a[m(0x6e)]),this[m(0x6c)]=Logger[m(0x82)](),this['actors']=new Map(),this[m(0x6a)](a['roomConfiguration']),this[m(0x6c)]['write'](m(0x64)+Object[m(0x87)](this[m(0x88)])['join'](',\x20'));}[a51l(0xa9)](){const n=a51l;this[n(0xa8)][n(0xac)]=this[n(0x9f)]();}[a51l(0xaa)](a){const o=a51l;if(!this[o(0x7d)])throw new Error(o(0x94));const b={};for(const c of a){const d=this[o(0x7d)][o(0x73)](c);b[c['name']]=d;}return b;}[a51l(0x6a)](a){const p=a51l;for(const b of a){const c=this[p(0x88)][b[p(0x8c)]];if(b[p(0x6d)])for(const d of b[p(0x6d)]){const e=d['direction'][p(0x8f)](),f=d[p(0x72)],g=d[p(0x7f)],h=this[p(0x88)][f];h&&c[p(0x6b)](Direction[e],h,g);}}}[a51l(0x81)](a){const q=a51l;if(this[q(0xa4)][q(0xa5)](a[q(0x8c)]))throw new Error(q(0x7e)+a[q(0x8c)]+q(0x98));this['actors'][q(0x9d)](a[q(0x8c)],a);}['removeActor'](a){const r=a51l;if(!this[r(0xa4)][r(0xa5)](a))throw new Error(r(0x66)+a+'\x20found\x20in\x20the\x20scene.');this[r(0xa4)][r(0x96)](a);}[a51l(0x78)](a){const s=a51l;return this[s(0xa4)][s(0xa1)](a);}get[a51l(0x7b)](){const t=a51l;return Array['from'](this[t(0xa4)]['values']());}[a51l(0x92)](a){const u=a51l;this['rooms'][a[u(0x8c)]]=a,this['logger']['write']('Added\x20room\x20to\x20scene:\x20'+a['name']);}['removeRoom'](a){const v=a51l;return this[v(0x88)][a]?(delete this[v(0x88)][a],this[v(0x6c)]['write'](v(0x80)+a),!![]):(this['logger'][v(0x79)](v(0x95)+a),![]);}['addItemToRoom'](a,b){const w=a51l,c=this['rooms'][b];c?(c[w(0x68)](a),this[w(0x6c)]['write'](w(0x8e)+a['name']+w(0x83)+c['name'])):this['logger'][w(0x79)](w(0xab)+a[w(0x8c)]+'.\x20Room\x20'+b+w(0x8b));}['addPuzzleToRoom'](a,b){const x=a51l,c=this[x(0x88)][b];c?(c[x(0xa7)](a),this['logger'][x(0x79)]('Added\x20puzzle\x20to\x20room\x20'+c[x(0x8c)])):this[x(0x6c)][x(0x79)](x(0x9c)+b+x(0x8b));}[a51l(0xa0)](a,b){const y=a51l,c=this[y(0x88)][b];c?(this[y(0x99)][y(0x9d)](a[y(0x8c)],c),this[y(0x6c)][y(0x79)](a[y(0x8c)]+y(0x91)+c[y(0x8c)])):this[y(0x6c)]['write']('Failed\x20to\x20set\x20'+a[y(0x8c)]+'\x27s\x20location.\x20Room\x20'+b+y(0x8b));}[a51l(0x65)](a){const z=a51l;return this['characterLocations'][z(0xa1)](a[z(0x8c)]);}[a51l(0x9f)](){const A=a51l,a=[];for(const c in this[A(0x88)]){if(this['rooms'][A(0x9a)](c)){const d=this[A(0x88)][c];d[A(0x97)]&&a[A(0x8a)](d);}}if(a[A(0x9e)]>0x1)throw new Error(A(0x90));if(a['length']===0x1)return a[0x0];const b=Object[A(0x87)](this[A(0x88)]);if(b['length']===0x0)throw new Error(A(0x9b));return console['warn']('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0x88)][b[0x0]];}[a51l(0x93)](){const B=a51l;return this[B(0xa8)];}[a51l(0x7a)](){return this['rooms'];}[a51l(0x69)](a,b,c,d){const C=a51l,e=this['rooms'][a],f=this[C(0x88)][c];if(!e)throw new Error(C(0x6f)+a+C(0x85));if(!f)throw new Error(C(0x6f)+c+C(0x85));e[C(0x6b)](b,f,d);}}
@@ -1 +1 @@
1
- var a52j=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x187))/0x1+-parseInt(f(0x173))/0x2*(-parseInt(f(0x16a))/0x3)+parseInt(f(0x165))/0x4*(parseInt(f(0x192))/0x5)+-parseInt(f(0x18f))/0x6*(-parseInt(f(0x162))/0x7)+-parseInt(f(0x17e))/0x8+-parseInt(f(0x171))/0x9+-parseInt(f(0x18e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xda19e));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x16e)]('(((.+)+)+)+$')[h(0x16f)]()[h(0x189)](a52a)[h(0x16e)](h(0x163));});a52a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x15b;var f=c[d];return f;},a52d(a,b);}import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a52d;super({'name':a,'description':b,'size':Size[i(0x176)],'category':Category[i(0x15e)],'shape':Shape[i(0x175)],'color':Color[i(0x17d)],'texture':Texture[i(0x174)],'rating':Rating['Common'],'weight':0x1});}[a52j(0x17f)](){var k=a52j;return this[k(0x186)];}}export class Sword extends Item{constructor(a,b){var l=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[l(0x164)],'shape':Shape[l(0x16c)],'color':Color[l(0x18d)],'texture':Texture['Metallic'],'rating':Rating[l(0x177)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a52j;super({'name':a,'description':b,'size':Size[m(0x18b)],'category':Category[m(0x164)],'shape':Shape['Rifle'],'color':Color['Brown'],'texture':Texture[m(0x15b)],'rating':Rating[m(0x178)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[n(0x170)],'shape':Shape[n(0x168)],'color':Color[n(0x18d)],'texture':Texture[n(0x15b)],'rating':Rating[n(0x177)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a52j;super({'name':a,'description':b,'size':Size[o(0x18b)],'category':Category['BodyArmor'],'shape':Shape['Rectangle'],'color':Color[o(0x18d)],'texture':Texture[o(0x15b)],'rating':Rating[o(0x177)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a52j;super({'name':a,'description':b,'size':Size[p(0x176)],'category':Category[p(0x169)],'shape':Shape[p(0x175)],'color':Color[p(0x18d)],'texture':Texture[p(0x15b)],'rating':Rating[p(0x177)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a52j;super({'name':a,'description':b,'size':Size[q(0x176)],'category':Category['Boots'],'shape':Shape[q(0x168)],'color':Color[q(0x167)],'texture':Texture[q(0x174)],'rating':Rating[q(0x177)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a52j;super({'name':a,'description':b,'size':Size['Small'],'category':Category[r(0x161)],'shape':Shape[r(0x168)],'color':Color[r(0x167)],'texture':Texture[r(0x174)],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[s(0x181)],'shape':Shape[s(0x175)],'color':Color[s(0x18d)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a52j;super({'name':a,'description':b,'size':Size[t(0x188)],'category':Category[t(0x15d)],'shape':Shape[t(0x175)],'color':Color[t(0x17d)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x0});}[a52j(0x17f)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var u=a52j;super({'name':a,'description':b,'size':Size[u(0x176)],'category':Category[u(0x164)],'shape':Shape[u(0x16c)],'color':Color['Grey'],'texture':Texture[u(0x15b)],'rating':Rating[u(0x177)],'weight':0x3});}[a52j(0x17f)](){var v=a52j;return v(0x180);}}export class Book extends Item{[a52j(0x184)];[a52j(0x191)];[a52j(0x16b)];constructor(a,b=a52j(0x15c),c=a52j(0x190)){var w=a52j;super({'name':a,'description':b,'size':Size[w(0x176)],'category':Category[w(0x17a)],'shape':Shape[w(0x175)],'color':Color[w(0x167)],'texture':Texture[w(0x174)],'rating':Rating[w(0x177)],'weight':0x1}),this[w(0x184)]=c,this[w(0x191)]=new Date(),this[w(0x16b)]=0x64;}[a52j(0x17f)](){var x=a52j;return x(0x182);}}export class ShortSword extends Item{constructor(){var y=a52j;super({'name':y(0x185),'description':y(0x18c),'size':Size[y(0x176)],'category':Category[y(0x164)],'shape':Shape[y(0x16c)],'color':Color[y(0x18d)],'texture':Texture['Metallic'],'rating':Rating[y(0x177)],'weight':0x3});}[a52j(0x17f)](){var z=a52j;return z(0x180);}}export class SniperRifle extends Item{constructor(){var A=a52j;super({'name':A(0x18a),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[A(0x18b)],'category':Category[A(0x164)],'shape':Shape[A(0x17b)],'color':Color[A(0x167)],'texture':Texture[A(0x174)],'rating':Rating[A(0x177)],'weight':0x5});}[a52j(0x17f)](){var B=a52j;return B(0x183);}}function a52c(){var E=['3981380FcEEdd','30RkCtYm','Unknown\x20Author','publishDate','16960ZtbUfa','Metallic','A\x20mysterious\x20book.','Key','Unknown','Gold','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Gloves','2489095xCSoKR','(((.+)+)+)+$','Weapon','512WxbzyC','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Brown','Circle','LegArmor','33QpzNdK','pageCount','Blade','apply','search','toString','Helmet','630099MDLWax','Cup','92300xPHPGh','Smooth','Rectangle','Medium','Common','Rare','Small','Book','Rifle','name','Yellow','4103408pbenNc','use','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','ArmArmor','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','author','Short\x20Sword','description','845334PMQBwg','Tiny','constructor','Sniper\x20Rifle','Large','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Grey'];a52c=function(){return E;};return a52c();}export class HolyGrail extends Item{constructor(){var C=a52j;super({'name':'Holy\x20Grail','description':C(0x166),'size':Size[C(0x179)],'category':Category[C(0x172)],'shape':Shape[C(0x168)],'color':Color[C(0x15f)],'texture':Texture[C(0x15b)],'rating':Rating['Legendary'],'weight':0x1});}['use'](){var D=a52j;return'You\x20hold\x20the\x20'+this[D(0x17c)]+D(0x160);}}
1
+ var a52t=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x170))/0x1+parseInt(f(0x16b))/0x2+parseInt(f(0x161))/0x3+parseInt(f(0x164))/0x4+-parseInt(f(0x163))/0x5+parseInt(f(0x16e))/0x6+-parseInt(f(0x17e))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xceb9a));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x179)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x17d)]()[h(0x17a)](h(0x16d))[h(0x17d)]()[h(0x181)](a52a)[h(0x17a)](h(0x16d));});a52a();function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x156;var f=c[d];return f;},a52d(a,b);}import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a52d;super({'name':a,'description':b,'size':Size[i(0x184)],'category':Category[i(0x175)],'shape':Shape['Rectangle'],'color':Color['Yellow'],'texture':Texture[i(0x16c)],'rating':Rating['Common'],'weight':0x1});}['use'](){var j=a52d;return this[j(0x156)];}}function a52c(){var C=['Short\x20Sword','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','You\x20hold\x20the\x20','Common','Cup','1053034aENNKU','Smooth','(((.+)+)+)+$','8214936TquVDA','Key','329620ofjEmG','Grey','publishDate','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','pageCount','Unknown','Small','A\x20mysterious\x20book.','Circle','apply','search','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Book','toString','14632506cNGxot','Unknown\x20Author','author','constructor','Blade','Large','Medium','Legendary','Metallic','Rectangle','Rifle','Holy\x20Grail','description','LegArmor','Weapon','Tiny','Brown','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Gold','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','use','ArmArmor','\x20aloft,\x20feeling\x20its\x20immense\x20power.','461976ucMevn','Gloves','1275720XAuigM','5888812OPSxsI','Rare'];a52c=function(){return C;};return a52c();}export class Sword extends Item{constructor(a,b){var k=a52d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[k(0x158)],'shape':Shape[k(0x182)],'color':Color[k(0x171)],'texture':Texture[k(0x186)],'rating':Rating[k(0x169)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a52d;super({'name':a,'description':b,'size':Size[l(0x183)],'category':Category[l(0x158)],'shape':Shape['Rifle'],'color':Color['Brown'],'texture':Texture[l(0x186)],'rating':Rating[l(0x165)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a52d;super({'name':a,'description':b,'size':Size[m(0x184)],'category':Category['Helmet'],'shape':Shape[m(0x178)],'color':Color['Grey'],'texture':Texture[m(0x186)],'rating':Rating['Common'],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a52d;super({'name':a,'description':b,'size':Size['Large'],'category':Category['BodyArmor'],'shape':Shape[n(0x187)],'color':Color[n(0x171)],'texture':Texture[n(0x186)],'rating':Rating[n(0x169)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a52d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[o(0x157)],'shape':Shape['Rectangle'],'color':Color[o(0x171)],'texture':Texture['Metallic'],'rating':Rating[o(0x169)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a52d;super({'name':a,'description':b,'size':Size[p(0x184)],'category':Category['Boots'],'shape':Shape[p(0x178)],'color':Color[p(0x15a)],'texture':Texture['Smooth'],'rating':Rating[p(0x169)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a52d;super({'name':a,'description':b,'size':Size[q(0x176)],'category':Category[q(0x162)],'shape':Shape['Circle'],'color':Color[q(0x15a)],'texture':Texture[q(0x16c)],'rating':Rating[q(0x169)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a52d;super({'name':a,'description':b,'size':Size[r(0x184)],'category':Category[r(0x15f)],'shape':Shape[r(0x187)],'color':Color[r(0x171)],'texture':Texture[r(0x186)],'rating':Rating[r(0x169)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a52d;super({'name':a,'description':b,'size':Size[s(0x159)],'category':Category[s(0x16f)],'shape':Shape[s(0x187)],'color':Color['Yellow'],'texture':Texture[s(0x16c)],'rating':Rating['Common'],'weight':0x0});}[a52t(0x15e)](){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=a52t;super({'name':a,'description':b,'size':Size[u(0x184)],'category':Category[u(0x158)],'shape':Shape[u(0x182)],'color':Color['Grey'],'texture':Texture[u(0x186)],'rating':Rating[u(0x169)],'weight':0x3});}['use'](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class Book extends Item{[a52t(0x180)];[a52t(0x172)];[a52t(0x174)];constructor(a,b=a52t(0x177),c=a52t(0x17f)){var v=a52t;super({'name':a,'description':b,'size':Size[v(0x184)],'category':Category[v(0x17c)],'shape':Shape[v(0x187)],'color':Color[v(0x15a)],'texture':Texture[v(0x16c)],'rating':Rating[v(0x169)],'weight':0x1}),this[v(0x180)]=c,this[v(0x172)]=new Date(),this['pageCount']=0x64;}[a52t(0x15e)](){var w=a52t;return w(0x17b);}}export class ShortSword extends Item{constructor(){var x=a52t;super({'name':x(0x166),'description':x(0x167),'size':Size[x(0x184)],'category':Category['Weapon'],'shape':Shape[x(0x182)],'color':Color[x(0x171)],'texture':Texture[x(0x186)],'rating':Rating[x(0x169)],'weight':0x3});}[a52t(0x15e)](){var y=a52t;return y(0x173);}}export class SniperRifle extends Item{constructor(){var z=a52t;super({'name':'Sniper\x20Rifle','description':z(0x15d),'size':Size[z(0x183)],'category':Category[z(0x158)],'shape':Shape[z(0x188)],'color':Color[z(0x15a)],'texture':Texture[z(0x16c)],'rating':Rating['Common'],'weight':0x5});}['use'](){return'You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22';}}export class HolyGrail extends Item{constructor(){var A=a52t;super({'name':A(0x189),'description':A(0x15b),'size':Size[A(0x176)],'category':Category[A(0x16a)],'shape':Shape[A(0x178)],'color':Color[A(0x15c)],'texture':Texture[A(0x186)],'rating':Rating[A(0x185)],'weight':0x1});}[a52t(0x15e)](){var B=a52t;return B(0x168)+this['name']+B(0x160);}}
@@ -1 +1 @@
1
- function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x10b;let f=c[d];return f;},a54d(a,b);}const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0x162))/0x1+parseInt(f(0x143))/0x2+-parseInt(f(0x132))/0x3*(-parseInt(f(0x12e))/0x4)+-parseInt(f(0x17a))/0x5*(-parseInt(f(0x14c))/0x6)+-parseInt(f(0x180))/0x7+-parseInt(f(0x171))/0x8+-parseInt(f(0x13a))/0x9*(-parseInt(f(0x155))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x2a701));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x159)]()[h(0x116)](h(0x16d))[h(0x159)]()[h(0x10c)](a54a)[h(0x116)]('(((.+)+)+)+$');});a54a();export const rooms=[{'name':'Library','description':'A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]','isStartRoom':!![],'items':[{'type':a54i(0x114),'name':'Golden\x20Key','description':a54i(0x129)},{'type':a54i(0x157),'name':a54i(0x14a),'description':a54i(0x154),'content':a54i(0x17d)}],'exits':[{'direction':a54i(0x13c),'targetRoom':a54i(0x140)}]},{'name':'Secret\x20Passage','description':a54i(0x179),'exits':[{'direction':a54i(0x138),'targetRoom':a54i(0x16f),'keyRequired':a54i(0x111)},{'direction':a54i(0x133),'targetRoom':a54i(0x12c)}]},{'name':a54i(0x16f),'description':'A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','items':[{'type':a54i(0x15f),'name':a54i(0x11d),'description':a54i(0x177)}]},{'name':'Courtyard','description':'A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','roomType':'OUTSIDE','exits':[{'direction':'UP','targetRoom':a54i(0x13f)}]},{'name':a54i(0x13f),'description':'A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','roomType':a54i(0x175),'puzzle':{'requiredPhrase':a54i(0x110),'riddle':a54i(0x164),'rewardItem':{'type':a54i(0x150),'name':a54i(0x13d),'description':a54i(0x126)},'successMessage':'You\x20pull\x20the\x20sniper\x20rifle\x20from\x20the\x20gun\x20cabinet.\x20\x20Just\x20as\x20you\x20do,\x20you\x20hear\x20a\x20guy\x20from\x20the\x20Courtyard\x20yell\x20\x22HEY!\x20WHAT\x27S\x20YA\x20NAME?!\x22','failureMessage':a54i(0x118)}}];export const dungeonConfig=[{'name':a54i(0x148),'description':a54i(0x127),'isStartRoom':!![],'roomType':a54i(0x124),'puzzle':{'requiredPhrase':'open\x20sesame','riddle':a54i(0x112),'rewardItem':{'type':a54i(0x114),'name':a54i(0x119),'description':a54i(0x14e)},'successMessage':a54i(0x165),'failureMessage':a54i(0x121)},'exits':[{'direction':a54i(0x131),'targetRoom':'Study'},{'direction':a54i(0x11b),'targetRoom':a54i(0x182),'keyRequired':'Central\x20Chamber\x20Key'}]},{'name':a54i(0x181),'description':'A\x20quiet\x20room\x20filled\x20with\x20bookshelves,\x20a\x20large\x20desk,\x20and\x20scattered\x20papers.','roomType':a54i(0x124),'items':[{'type':'book','name':a54i(0x10f),'description':'A\x20book\x20containing\x20a\x20mysterious\x20riddle.','content':a54i(0x115)},{'type':a54i(0x114),'name':'Central\x20Chamber\x20Key','description':a54i(0x14e)}],'exits':[{'direction':'south','targetRoom':a54i(0x148)},{'direction':a54i(0x11b),'targetRoom':a54i(0x152)}]},{'name':a54i(0x152),'description':a54i(0x10e),'roomType':'inside','items':[{'type':a54i(0x153),'name':a54i(0x11a),'description':a54i(0x12a)}],'exits':[{'direction':a54i(0x11e),'targetRoom':a54i(0x181)},{'direction':'north','targetRoom':a54i(0x14d)}]},{'name':'Armory','description':'Rows\x20of\x20ancient\x20weapons\x20and\x20armors.','roomType':a54i(0x124),'items':[{'type':a54i(0x174),'name':'Emblem\x20Shield','description':a54i(0x14b)},{'type':a54i(0x15b),'name':'Rusted\x20Sword','description':'An\x20old\x20and\x20rusted\x20sword.'}],'exits':[{'direction':a54i(0x158),'targetRoom':a54i(0x152)},{'direction':a54i(0x11b),'targetRoom':a54i(0x182)}]},{'name':a54i(0x182),'description':a54i(0x16c),'roomType':a54i(0x124),'exits':[{'direction':a54i(0x11e),'targetRoom':'Armory'},{'direction':a54i(0x158),'targetRoom':a54i(0x148)},{'direction':'north','targetRoom':a54i(0x141)},{'direction':a54i(0x11b),'targetRoom':a54i(0x16f)}]},{'name':a54i(0x141),'description':a54i(0x15c),'roomType':a54i(0x124),'items':[{'type':'key','name':a54i(0x160),'description':a54i(0x156)}],'puzzle':{'requiredPhrase':a54i(0x128),'riddle':a54i(0x17e),'rewardItem':{'type':'gem','name':a54i(0x13e),'description':a54i(0x151)},'successMessage':a54i(0x168),'failureMessage':a54i(0x149)},'exits':[{'direction':'south','targetRoom':a54i(0x182)}]},{'name':a54i(0x16f),'description':a54i(0x139),'roomType':a54i(0x124),'puzzle':{'requiredPhrase':a54i(0x144),'riddle':a54i(0x147),'rewardItem':{'type':a54i(0x11f),'name':'Golden\x20Chalice','description':a54i(0x15a)},'successMessage':a54i(0x15d),'failureMessage':a54i(0x136)},'exits':[{'direction':a54i(0x11e),'targetRoom':'Central\x20Chamber'}]}];export const shadowrunConfig=[{'name':a54i(0x15e),'description':'A\x20virtual\x20portal\x20in\x20the\x20Matrix.\x20Glowing\x20neon\x20lights\x20everywhere,\x20with\x20digital\x20sprites\x20zipping\x20by.','isStartRoom':!![],'roomType':a54i(0x124),'exits':[{'direction':a54i(0x131),'targetRoom':'Downtown\x20Seattle'},{'direction':'up','targetRoom':a54i(0x17c)}]},{'name':a54i(0x17c),'description':'A\x20digital\x20realm\x20with\x20information\x20streams\x20flowing\x20like\x20rivers.','roomType':a54i(0x124),'puzzle':{'requiredPhrase':a54i(0x125),'riddle':a54i(0x122),'rewardItem':{'type':'key','name':a54i(0x173),'description':'A\x20key\x20made\x20of\x20pure\x20digital\x20energy.'},'successMessage':a54i(0x117),'failureMessage':a54i(0x167)},'exits':[{'direction':a54i(0x17b),'targetRoom':a54i(0x15e)}]},{'name':a54i(0x16a),'description':a54i(0x146),'roomType':a54i(0x10d),'exits':[{'direction':'south','targetRoom':'Jackpoint\x20Login'},{'direction':a54i(0x11b),'targetRoom':a54i(0x16e)},{'direction':a54i(0x11e),'targetRoom':a54i(0x169)}]},{'name':a54i(0x16e),'description':'The\x20outskirts\x20of\x20the\x20lawless\x20Redmond\x20Barrens.\x20Gang\x20graffiti\x20is\x20everywhere.','roomType':'outside','puzzle':{'requiredPhrase':a54i(0x170),'riddle':'To\x20enter\x20deeper\x20into\x20the\x20Barrens,\x20you\x20must\x20show\x20allegiance\x20to\x20one\x20of\x20the\x20gangs.','rewardItem':{'type':'key','name':a54i(0x172),'description':a54i(0x176)},'successMessage':a54i(0x12d),'failureMessage':a54i(0x178)},'exits':[{'direction':a54i(0x11e),'targetRoom':a54i(0x16a)},{'direction':a54i(0x131),'targetRoom':a54i(0x120)}]},{'name':a54i(0x169),'description':'The\x20high-security\x20corporate\x20zone,\x20complete\x20with\x20looming\x20skyscrapers\x20and\x20security\x20checkpoints.','roomType':a54i(0x124),'items':[{'type':a54i(0x134),'name':a54i(0x13b),'description':a54i(0x14f)},{'type':a54i(0x145),'name':'CorpSec\x20Plans','description':a54i(0x161)}],'exits':[{'direction':a54i(0x11b),'targetRoom':a54i(0x16a)}]},{'name':a54i(0x120),'description':a54i(0x163),'roomType':'outside','items':[{'type':a54i(0x12b),'name':a54i(0x16b),'description':'A\x20popular\x20heavy\x20pistol\x20among\x20shadowrunners.'}],'exits':[{'direction':a54i(0x158),'targetRoom':'Barrens\x20Entrance'},{'direction':a54i(0x131),'targetRoom':a54i(0x11c)},{'direction':a54i(0x11b),'targetRoom':a54i(0x137)}]},{'name':a54i(0x11c),'description':a54i(0x10b),'roomType':a54i(0x124),'puzzle':{'requiredPhrase':'disenchant','riddle':'Break\x20the\x20ward\x20to\x20reveal\x20the\x20hidden\x20magical\x20artifact.','rewardItem':{'type':a54i(0x142),'name':'Amulet\x20of\x20Awakening','description':a54i(0x130)},'successMessage':'The\x20ward\x20shatters,\x20revealing\x20the\x20amulet.','failureMessage':a54i(0x166)},'exits':[{'direction':'south','targetRoom':'Barrens\x20Hideout'}]},{'name':'Rigger\x27s\x20Workshop','description':a54i(0x113),'roomType':a54i(0x124),'items':[{'type':a54i(0x17f),'name':a54i(0x12f),'description':a54i(0x135)}],'exits':[{'direction':a54i(0x11e),'targetRoom':a54i(0x120)}]}];function a54c(){const j=['west','cup','Barrens\x20Hideout','Nothing\x20happens.','Unlock\x20the\x20encrypted\x20data\x20to\x20receive\x20your\x20next\x20mission.','apply','inside','decrypt','A\x20long-range\x20weapon.','A\x20grand\x20entrance\x20with\x20huge\x20wooden\x20doors\x20behind\x20and\x20a\x20dimly\x20lit\x20corridor\x20ahead.','release','A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','A\x20clear\x20glass\x20vial.','weapon','Courtyard','The\x20gang\x20members\x20nod\x20and\x20let\x20you\x20pass\x20deeper\x20into\x20the\x20Barrens.','16PFSGXd','MCT\x20Fly-Spy','A\x20powerful\x20amulet\x20said\x20to\x20wake\x20spirits\x20from\x20slumber.','north','172362YRtFXV','SOUTH','creditstick','A\x20small\x20surveillance\x20drone.','The\x20chest\x20remains\x20firmly\x20shut.','Rigger\x27s\x20Workshop','NORTH','Glittering\x20treasures\x20from\x20floor\x20to\x20ceiling.','144gGJDzr','Corporate\x20Creditstick','EAST','Sniper\x20Rifle','Ancient\x20Gem','Watch\x20Tower','Secret\x20Passage','Torture\x20Chamber','amulet','308630MnlVps','insert\x20gem','document','The\x20rain-soaked\x20streets\x20of\x20Seattle\x20with\x20neon\x20lights\x20reflecting\x20off\x20wet\x20pavement.\x20The\x20distant\x20sound\x20of\x20corporate\x20security\x20drones\x20can\x20be\x20heard.','The\x20chest\x20has\x20a\x20gem-shaped\x20socket.','Entrance\x20Hall','The\x20chains\x20rattle\x20ominously,\x20but\x20nothing\x20else\x20happens.','Guard\x27s\x20Log\x20Book','A\x20shield\x20with\x20the\x20emblem\x20of\x20the\x20dungeon.','6UbpFdu','Armory','A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.','A\x20creditstick\x20loaded\x20with\x20nuyen.','rifle','A\x20gem\x20radiating\x20a\x20mysterious\x20aura.','Alchemy\x20Lab','basic','A\x20thin\x20log\x20book','295210hwyLne','A\x20key\x20stained\x20with\x20old\x20blood.','book','south','toString','A\x20chalice\x20made\x20of\x20pure\x20gold.','sword','Dark,\x20grim\x20with\x20chains\x20on\x20walls\x20and\x20an\x20eerie\x20silence.','The\x20chest\x20unlocks\x20revealing\x20the\x20chalice.','Jackpoint\x20Login','holyGrail','Blood-stained\x20Key','Detailed\x20security\x20plans\x20for\x20a\x20corporate\x20building.','154697krnLfG','A\x20hidden\x20alley\x20in\x20the\x20Barrens\x20where\x20shadowrunners\x20meet\x20up\x20for\x20covert\x20jobs.','A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','The\x20gate\x20slowly\x20opens\x20revealing\x20the\x20path\x20to\x20the\x20Central\x20Chamber.','The\x20magic\x20in\x20the\x20room\x20grows\x20more\x20oppressive,\x20resisting\x20your\x20efforts.','The\x20data\x20remains\x20encrypted.','The\x20ghost\x20thanks\x20you\x20and\x20disappears,\x20leaving\x20behind\x20the\x20gem.','Corp\x20Enclave','Downtown\x20Seattle','Ares\x20Predator','A\x20large\x20circular\x20room\x20with\x20four\x20doors.','(((.+)+)+)+$','Barrens\x20Entrance','Treasure\x20Room','show\x20loyalty','2747376dBdgxk','Gang\x20Insignia','Encrypted\x20Data\x20Key','shield','OUTSIDE','A\x20badge\x20proving\x20your\x20loyalty\x20to\x20one\x20of\x20the\x20Barrens\x27\x20gangs.','The\x20legendary\x20Holy\x20Grail.','The\x20gang\x20members\x20block\x20your\x20way,\x20suspicious\x20of\x20your\x20motives.','A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','298160NzsWrM','down','Matrix\x20Data\x20Haven','Chad\x20the\x20stupid\x20guard','Speak\x20the\x20word\x20to\x20free\x20the\x20ghost.','drone','1709085UIZUpv','Study','Central\x20Chamber','A\x20hideout\x20filled\x20with\x20magical\x20artifacts,\x20wards,\x20and\x20a\x20few\x20summoned\x20spirits\x20guarding\x20the\x20place.','constructor','outside','A\x20room\x20filled\x20with\x20potions,\x20beakers,\x20and\x20an\x20enchantment\x20circle.','Riddle\x20Book','secret123','Golden\x20Key','Speak\x20the\x20ancient\x20phrase\x20to\x20unlock\x20the\x20Central\x20Chamber.','Drones\x20and\x20vehicles\x20being\x20modified,\x20tools\x20everywhere,\x20and\x20a\x20rigger\x20jacked\x20in\x20to\x20a\x20command\x20console.','key','When\x20is\x20a\x20door\x20not\x20a\x20door?\x20When\x20it\x27s\x20ajar!','search','The\x20data\x20stream\x20reveals\x20a\x20location:\x20Downtown\x20Seattle.','That\x20passcode\x20is\x20incorrect','Central\x20Chamber\x20Key','Empty\x20vial','east','Mage\x27s\x20Lair','Holy\x20Grail'];a54c=function(){return j;};return a54c();}
1
+ const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x104))/0x1+-parseInt(f(0xe1))/0x2*(-parseInt(f(0x108))/0x3)+-parseInt(f(0xf6))/0x4+parseInt(f(0x113))/0x5+parseInt(f(0xd2))/0x6*(-parseInt(f(0xfa))/0x7)+parseInt(f(0xc3))/0x8*(parseInt(f(0xfb))/0x9)+-parseInt(f(0xd3))/0xa*(parseInt(f(0x105))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x252ec));function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xbe;let f=c[d];return f;},a54d(a,b);}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x136)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x110)]()['search'](h(0x122))[h(0x110)]()[h(0xc4)](a54a)[h(0x100)](h(0x122));});function a54c(){const j=['A\x20popular\x20heavy\x20pistol\x20among\x20shadowrunners.','A\x20hideout\x20filled\x20with\x20magical\x20artifacts,\x20wards,\x20and\x20a\x20few\x20summoned\x20spirits\x20guarding\x20the\x20place.','disenchant','Downtown\x20Seattle','A\x20virtual\x20portal\x20in\x20the\x20Matrix.\x20Glowing\x20neon\x20lights\x20everywhere,\x20with\x20digital\x20sprites\x20zipping\x20by.','The\x20data\x20remains\x20encrypted.','The\x20data\x20stream\x20reveals\x20a\x20location:\x20Downtown\x20Seattle.','toString','A\x20hidden\x20alley\x20in\x20the\x20Barrens\x20where\x20shadowrunners\x20meet\x20up\x20for\x20covert\x20jobs.','Dark,\x20grim\x20with\x20chains\x20on\x20walls\x20and\x20an\x20eerie\x20silence.','885150gcUyjZ','Break\x20the\x20ward\x20to\x20reveal\x20the\x20hidden\x20magical\x20artifact.','decrypt','NORTH','A\x20thin\x20log\x20book','A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','Mage\x27s\x20Lair','A\x20badge\x20proving\x20your\x20loyalty\x20to\x20one\x20of\x20the\x20Barrens\x27\x20gangs.','Central\x20Chamber','SOUTH','Guard\x27s\x20Log\x20Book','The\x20legendary\x20Holy\x20Grail.','key','A\x20key\x20made\x20of\x20pure\x20digital\x20energy.','Barrens\x20Hideout','(((.+)+)+)+$','Rusted\x20Sword','A\x20powerful\x20amulet\x20said\x20to\x20wake\x20spirits\x20from\x20slumber.','A\x20quiet\x20room\x20filled\x20with\x20bookshelves,\x20a\x20large\x20desk,\x20and\x20scattered\x20papers.','Speak\x20the\x20word\x20to\x20free\x20the\x20ghost.','To\x20enter\x20deeper\x20into\x20the\x20Barrens,\x20you\x20must\x20show\x20allegiance\x20to\x20one\x20of\x20the\x20gangs.','Treasure\x20Room','Blood-stained\x20Key','The\x20rain-soaked\x20streets\x20of\x20Seattle\x20with\x20neon\x20lights\x20reflecting\x20off\x20wet\x20pavement.\x20The\x20distant\x20sound\x20of\x20corporate\x20security\x20drones\x20can\x20be\x20heard.','rifle','A\x20gem\x20radiating\x20a\x20mysterious\x20aura.','Ancient\x20Gem','A\x20key\x20stained\x20with\x20old\x20blood.','Detailed\x20security\x20plans\x20for\x20a\x20corporate\x20building.','west','A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','Ares\x20Predator','Drones\x20and\x20vehicles\x20being\x20modified,\x20tools\x20everywhere,\x20and\x20a\x20rigger\x20jacked\x20in\x20to\x20a\x20command\x20console.','Barrens\x20Entrance','north','apply','south','CorpSec\x20Plans','secret123','The\x20high-security\x20corporate\x20zone,\x20complete\x20with\x20looming\x20skyscrapers\x20and\x20security\x20checkpoints.','Rows\x20of\x20ancient\x20weapons\x20and\x20armors.','The\x20gate\x20slowly\x20opens\x20revealing\x20the\x20path\x20to\x20the\x20Central\x20Chamber.','The\x20gang\x20members\x20nod\x20and\x20let\x20you\x20pass\x20deeper\x20into\x20the\x20Barrens.','A\x20creditstick\x20loaded\x20with\x20nuyen.','MCT\x20Fly-Spy','265904pSSUIL','constructor','Encrypted\x20Data\x20Key','Corp\x20Enclave','Central\x20Chamber\x20Key','Holy\x20Grail','insert\x20gem','A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.','Armory','inside','Watch\x20Tower','creditstick','Gang\x20Insignia','OUTSIDE','The\x20gang\x20members\x20block\x20your\x20way,\x20suspicious\x20of\x20your\x20motives.','15240lHizck','286690rTbprw','A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','Speak\x20the\x20ancient\x20phrase\x20to\x20unlock\x20the\x20Central\x20Chamber.','sword','A\x20small\x20surveillance\x20drone.','A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','down','A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','release','Nothing\x20happens.','The\x20ward\x20shatters,\x20revealing\x20the\x20amulet.','A\x20room\x20filled\x20with\x20potions,\x20beakers,\x20and\x20an\x20enchantment\x20circle.','An\x20old\x20and\x20rusted\x20sword.','Glittering\x20treasures\x20from\x20floor\x20to\x20ceiling.','12282JzGPIm','Matrix\x20Data\x20Haven','The\x20magic\x20in\x20the\x20room\x20grows\x20more\x20oppressive,\x20resisting\x20your\x20efforts.','outside','Rigger\x27s\x20Workshop','Golden\x20Key','Chad\x20the\x20stupid\x20guard','book','shield','holyGrail','When\x20is\x20a\x20door\x20not\x20a\x20door?\x20When\x20it\x27s\x20ajar!','Jackpoint\x20Login','amulet','Corporate\x20Creditstick','drone','document','A\x20chalice\x20made\x20of\x20pure\x20gold.','Entrance\x20Hall','EAST','A\x20grand\x20entrance\x20with\x20huge\x20wooden\x20doors\x20behind\x20and\x20a\x20dimly\x20lit\x20corridor\x20ahead.','The\x20chains\x20rattle\x20ominously,\x20but\x20nothing\x20else\x20happens.','685260IvDunv','Courtyard','open\x20sesame','A\x20clear\x20glass\x20vial.','63zJqwpI','81wYEkZM','Empty\x20vial','Torture\x20Chamber','Secret\x20Passage','Riddle\x20Book','search','east','Alchemy\x20Lab','Study','30035rxsvDo','66HsygTt','A\x20digital\x20realm\x20with\x20information\x20streams\x20flowing\x20like\x20rivers.','A\x20book\x20containing\x20a\x20mysterious\x20riddle.','6tlHbnC'];a54c=function(){return j;};return a54c();}a54a();export const rooms=[{'name':'Library','description':'A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]','isStartRoom':!![],'items':[{'type':'key','name':a54i(0xe6),'description':a54i(0xd4)},{'type':a54i(0xe8),'name':a54i(0x11d),'description':a54i(0x117),'content':a54i(0xe7)}],'exits':[{'direction':a54i(0xf3),'targetRoom':a54i(0xfe)}]},{'name':a54i(0xfe),'description':a54i(0x131),'exits':[{'direction':a54i(0x116),'targetRoom':a54i(0x128),'keyRequired':a54i(0xe6)},{'direction':a54i(0x11c),'targetRoom':'Courtyard'}]},{'name':a54i(0x128),'description':a54i(0xd8),'items':[{'type':a54i(0xea),'name':a54i(0xc8),'description':a54i(0x11e)}]},{'name':a54i(0xf7),'description':a54i(0xda),'roomType':a54i(0xd0),'exits':[{'direction':'UP','targetRoom':a54i(0xcd)}]},{'name':a54i(0xcd),'description':a54i(0x118),'roomType':a54i(0xd0),'puzzle':{'requiredPhrase':a54i(0x139),'riddle':'A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','rewardItem':{'type':a54i(0x12b),'name':'Sniper\x20Rifle','description':'A\x20long-range\x20weapon.'},'successMessage':'You\x20pull\x20the\x20sniper\x20rifle\x20from\x20the\x20gun\x20cabinet.\x20\x20Just\x20as\x20you\x20do,\x20you\x20hear\x20a\x20guy\x20from\x20the\x20Courtyard\x20yell\x20\x22HEY!\x20WHAT\x27S\x20YA\x20NAME?!\x22','failureMessage':'That\x20passcode\x20is\x20incorrect'}}];export const dungeonConfig=[{'name':a54i(0xf2),'description':a54i(0xf4),'isStartRoom':!![],'roomType':'inside','puzzle':{'requiredPhrase':a54i(0xf8),'riddle':a54i(0xd5),'rewardItem':{'type':a54i(0x11f),'name':a54i(0xc7),'description':a54i(0xca)},'successMessage':a54i(0xbf),'failureMessage':a54i(0xdc)},'exits':[{'direction':a54i(0x135),'targetRoom':a54i(0x103)},{'direction':a54i(0x101),'targetRoom':a54i(0x11b),'keyRequired':a54i(0xc7)}]},{'name':a54i(0x103),'description':a54i(0x125),'roomType':a54i(0xcc),'items':[{'type':a54i(0xe8),'name':a54i(0xff),'description':a54i(0x107),'content':a54i(0xeb)},{'type':a54i(0x11f),'name':'Central\x20Chamber\x20Key','description':'A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.'}],'exits':[{'direction':a54i(0x137),'targetRoom':'Entrance\x20Hall'},{'direction':a54i(0x101),'targetRoom':a54i(0x102)}]},{'name':a54i(0x102),'description':a54i(0xde),'roomType':a54i(0xcc),'items':[{'type':'basic','name':a54i(0xfc),'description':a54i(0xf9)}],'exits':[{'direction':a54i(0x130),'targetRoom':a54i(0x103)},{'direction':a54i(0x135),'targetRoom':a54i(0xcb)}]},{'name':a54i(0xcb),'description':a54i(0xbe),'roomType':'inside','items':[{'type':a54i(0xe9),'name':'Emblem\x20Shield','description':'A\x20shield\x20with\x20the\x20emblem\x20of\x20the\x20dungeon.'},{'type':a54i(0xd6),'name':a54i(0x123),'description':a54i(0xdf)}],'exits':[{'direction':a54i(0x137),'targetRoom':'Alchemy\x20Lab'},{'direction':'east','targetRoom':a54i(0x11b)}]},{'name':'Central\x20Chamber','description':'A\x20large\x20circular\x20room\x20with\x20four\x20doors.','roomType':a54i(0xcc),'exits':[{'direction':a54i(0x130),'targetRoom':a54i(0xcb)},{'direction':a54i(0x137),'targetRoom':a54i(0xf2)},{'direction':a54i(0x135),'targetRoom':a54i(0xfd)},{'direction':a54i(0x101),'targetRoom':a54i(0x128)}]},{'name':a54i(0xfd),'description':a54i(0x112),'roomType':'inside','items':[{'type':'key','name':a54i(0x129),'description':a54i(0x12e)}],'puzzle':{'requiredPhrase':a54i(0xdb),'riddle':a54i(0x126),'rewardItem':{'type':'gem','name':a54i(0x12d),'description':a54i(0x12c)},'successMessage':'The\x20ghost\x20thanks\x20you\x20and\x20disappears,\x20leaving\x20behind\x20the\x20gem.','failureMessage':a54i(0xf5)},'exits':[{'direction':a54i(0x137),'targetRoom':'Central\x20Chamber'}]},{'name':a54i(0x128),'description':a54i(0xe0),'roomType':'inside','puzzle':{'requiredPhrase':a54i(0xc9),'riddle':'The\x20chest\x20has\x20a\x20gem-shaped\x20socket.','rewardItem':{'type':'cup','name':'Golden\x20Chalice','description':a54i(0xf1)},'successMessage':'The\x20chest\x20unlocks\x20revealing\x20the\x20chalice.','failureMessage':'The\x20chest\x20remains\x20firmly\x20shut.'},'exits':[{'direction':a54i(0x130),'targetRoom':a54i(0x11b)}]}];export const shadowrunConfig=[{'name':a54i(0xec),'description':a54i(0x10d),'isStartRoom':!![],'roomType':a54i(0xcc),'exits':[{'direction':a54i(0x135),'targetRoom':a54i(0x10c)},{'direction':'up','targetRoom':a54i(0xe2)}]},{'name':'Matrix\x20Data\x20Haven','description':a54i(0x106),'roomType':a54i(0xcc),'puzzle':{'requiredPhrase':a54i(0x115),'riddle':'Unlock\x20the\x20encrypted\x20data\x20to\x20receive\x20your\x20next\x20mission.','rewardItem':{'type':a54i(0x11f),'name':a54i(0xc5),'description':a54i(0x120)},'successMessage':a54i(0x10f),'failureMessage':a54i(0x10e)},'exits':[{'direction':a54i(0xd9),'targetRoom':a54i(0xec)}]},{'name':a54i(0x10c),'description':a54i(0x12a),'roomType':a54i(0xe4),'exits':[{'direction':a54i(0x137),'targetRoom':a54i(0xec)},{'direction':'east','targetRoom':a54i(0x134)},{'direction':'west','targetRoom':a54i(0xc6)}]},{'name':'Barrens\x20Entrance','description':'The\x20outskirts\x20of\x20the\x20lawless\x20Redmond\x20Barrens.\x20Gang\x20graffiti\x20is\x20everywhere.','roomType':a54i(0xe4),'puzzle':{'requiredPhrase':'show\x20loyalty','riddle':a54i(0x127),'rewardItem':{'type':a54i(0x11f),'name':a54i(0xcf),'description':a54i(0x11a)},'successMessage':a54i(0xc0),'failureMessage':a54i(0xd1)},'exits':[{'direction':a54i(0x130),'targetRoom':'Downtown\x20Seattle'},{'direction':a54i(0x135),'targetRoom':a54i(0x121)}]},{'name':a54i(0xc6),'description':a54i(0x13a),'roomType':a54i(0xcc),'items':[{'type':a54i(0xce),'name':a54i(0xee),'description':a54i(0xc1)},{'type':a54i(0xf0),'name':a54i(0x138),'description':a54i(0x12f)}],'exits':[{'direction':a54i(0x101),'targetRoom':'Downtown\x20Seattle'}]},{'name':a54i(0x121),'description':a54i(0x111),'roomType':a54i(0xe4),'items':[{'type':'weapon','name':a54i(0x132),'description':a54i(0x109)}],'exits':[{'direction':a54i(0x137),'targetRoom':'Barrens\x20Entrance'},{'direction':a54i(0x135),'targetRoom':'Mage\x27s\x20Lair'},{'direction':a54i(0x101),'targetRoom':a54i(0xe5)}]},{'name':a54i(0x119),'description':a54i(0x10a),'roomType':a54i(0xcc),'puzzle':{'requiredPhrase':a54i(0x10b),'riddle':a54i(0x114),'rewardItem':{'type':a54i(0xed),'name':'Amulet\x20of\x20Awakening','description':a54i(0x124)},'successMessage':a54i(0xdd),'failureMessage':a54i(0xe3)},'exits':[{'direction':a54i(0x137),'targetRoom':'Barrens\x20Hideout'}]},{'name':a54i(0xe5),'description':a54i(0x133),'roomType':a54i(0xcc),'items':[{'type':a54i(0xef),'name':a54i(0xc2),'description':a54i(0xd7)}],'exits':[{'direction':'west','targetRoom':a54i(0x121)}]}];