@maka/maka-cli 4.6.13 → 4.6.15

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 (140) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -0
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -0
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -0
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -0
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kit.js +1 -1
  108. package/bundle/obf/src/generators/layout.js +1 -1
  109. package/bundle/obf/src/generators/maka.gen.js +1 -1
  110. package/bundle/obf/src/generators/methods.js +1 -1
  111. package/bundle/obf/src/generators/package.js +1 -1
  112. package/bundle/obf/src/generators/page.js +1 -1
  113. package/bundle/obf/src/generators/publish.js +1 -1
  114. package/bundle/obf/src/generators/route.js +1 -1
  115. package/bundle/obf/src/generators/service.js +1 -1
  116. package/bundle/obf/src/generators/services/_index.js +1 -1
  117. package/bundle/obf/src/generators/services/openssl.js +1 -1
  118. package/bundle/obf/src/generators/services/translation.js +1 -1
  119. package/bundle/obf/src/maka.js +1 -1
  120. package/bundle/obf/src/tool.js +1 -1
  121. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  122. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  123. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  124. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  125. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  126. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  127. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/https/https.class.js +1 -1
  129. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  130. package/bundle/obf/src/tools/log/log.class.js +1 -1
  131. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/options/options.class.js +1 -1
  133. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  134. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  135. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  137. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  138. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  139. package/package.json +1 -1
  140. package/bundle/obf/src/commands/deploy.js +0 -1
@@ -1 +1 @@
1
- function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x11d;let f=c[d];return f;},a36d(a,b);}const a36i=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0x123))/0x1+-parseInt(f(0x12c))/0x2*(parseInt(f(0x145))/0x3)+-parseInt(f(0x13f))/0x4*(-parseInt(f(0x143))/0x5)+parseInt(f(0x12a))/0x6*(parseInt(f(0x120))/0x7)+parseInt(f(0x127))/0x8*(-parseInt(f(0x135))/0x9)+-parseInt(f(0x13c))/0xa*(parseInt(f(0x129))/0xb)+parseInt(f(0x128))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xa530d));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a36d;if(c){const e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a['toString']()[h(0x141)]('(((.+)+)+)+$')[h(0x137)]()['constructor'](a36a)[h(0x141)](h(0x13a));});a36a();function a36c(){const l=['Pick\x20up\x20an\x20item.','\x22\x20to\x20','description','write','98LViFsH','addInventory','logger','1338072BNTVEk','inventory','Item\x20\x22','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','8DfIRzZ','21794124BUwPIL','11kCxqYO','187386WPaqhM','getItem','2caRyKQ','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20not\x20found\x20in\x20','\x22\x20in\x20this\x20room.','Successfully\x20added\x20\x22','\x22\x20from\x20','name','You\x20have\x20taken\x20the\x20','Successfully\x20removed\x20\x22','4170375uEoCTG','join','toString','hasItem','apply','(((.+)+)+)+$','take','3440830oNqldR','actor','verb','61052msxlzo','There\x20is\x20no\x20item\x20\x22','search','Error\x20during\x20\x27Take\x27\x20command:\x20','215CnEdqS','currentLocation','262707hJzuco'];a36c=function(){return l;};return a36c();}import{Command}from'./command.js';export class TakeCommand extends Command{static [a36i(0x13e)]=a36i(0x13b);static [a36i(0x11e)]=a36i(0x146);['execute'](a){const j=a36i;return this[j(0x122)][j(0x11f)](j(0x12d)+a[j(0x136)]('\x20')),this[j(0x13b)](a);}[a36i(0x13b)](a){const k=a36i,b=a[k(0x136)]('\x20')['toLowerCase'](),c=this[k(0x13d)][k(0x144)];if(!c['inventory'][k(0x138)](b))return this[k(0x122)][k(0x11f)](k(0x125)+b+k(0x12e)+c['name']+'\x20during\x20\x27Take\x27\x20command.'),k(0x140)+b+k(0x12f);const d=c[k(0x124)][k(0x12b)](b);if(!d)return this[k(0x122)][k(0x11f)](k(0x125)+b+'\x22\x20not\x20retrieved\x20from\x20'+c['name']+k(0x126)),k(0x140)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0x13d)][k(0x121)](d),this[k(0x122)][k(0x11f)](k(0x130)+b+k(0x11d)+this['actor'][k(0x132)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0x124)]['removeItem'](b),this[k(0x122)]['write'](k(0x134)+b+k(0x131)+c[k(0x132)]+k(0x126)),k(0x133)+b+'.';}catch(e){return this[k(0x122)][k(0x11f)](k(0x142)+e['message']),'The\x20item\x20\x22'+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
1
+ const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0xf3))/0x1+-parseInt(f(0xf2))/0x2+parseInt(f(0xeb))/0x3*(parseInt(f(0xff))/0x4)+-parseInt(f(0x102))/0x5*(parseInt(f(0x10b))/0x6)+-parseInt(f(0x10d))/0x7*(-parseInt(f(0xe9))/0x8)+-parseInt(f(0x111))/0x9*(parseInt(f(0xf0))/0xa)+parseInt(f(0xee))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xee76f));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0xf8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x10f)]()['search'](h(0xfd))[h(0x10f)]()[h(0xec)](a39a)[h(0x110)]('(((.+)+)+)+$');});function a39c(){const l=['726285otWLSN','removeItem','currentLocation','\x20during\x20\x27Take\x27\x20command.','description','apply','\x22\x20is\x20too\x20heavy\x20to\x20carry.','name','join','verb','(((.+)+)+)+$','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','2498776FRNnvf','Successfully\x20added\x20\x22','actor','8755JykctH','addInventory','\x22\x20not\x20found\x20in\x20','There\x20is\x20no\x20item\x20\x22','hasItem','write','inventory','Item\x20\x22','logger','2286MTqnXD','Successfully\x20removed\x20\x22','7SrMGZk','execute','toString','search','2528595hlIvDR','The\x20item\x20\x22','Error\x20during\x20\x27Take\x27\x20command:\x20','You\x20have\x20taken\x20the\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','601424YRciPG','toLowerCase','3HSDWgE','constructor','take','25105179cEStaC','\x22\x20not\x20retrieved\x20from\x20','10thubEE','\x22\x20to\x20','3567218nRiqvF'];a39c=function(){return l;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xe7;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0xfc)]=a39i(0xed);static [a39i(0xf7)]='Pick\x20up\x20an\x20item.';[a39i(0x10e)](a){const j=a39i;return this['logger'][j(0x107)](j(0xfe)+a[j(0xfb)]('\x20')),this[j(0xed)](a);}[a39i(0xed)](a){const k=a39i,b=a[k(0xfb)]('\x20')[k(0xea)](),c=this['actor'][k(0xf5)];if(!c[k(0x108)][k(0x106)](b))return this[k(0x10a)]['write'](k(0x109)+b+k(0x104)+c[k(0xfa)]+k(0xf6)),k(0x105)+b+'\x22\x20in\x20this\x20room.';const d=c[k(0x108)]['getItem'](b);if(!d)return this['logger'][k(0x107)](k(0x109)+b+k(0xef)+c[k(0xfa)]+k(0xe8)),k(0x105)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0x101)][k(0x103)](d),this[k(0x10a)][k(0x107)](k(0x100)+b+k(0xf1)+this['actor']['name']+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0x108)][k(0xf4)](b),this[k(0x10a)][k(0x107)](k(0x10c)+b+'\x22\x20from\x20'+c[k(0xfa)]+k(0xe8)),k(0xe7)+b+'.';}catch(e){return this['logger']['write'](k(0x113)+e['message']),k(0x112)+b+k(0xf9);}}}
@@ -1 +1 @@
1
- function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x120;let f=c[d];return f;},a37d(a,b);}const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x122))/0x1+-parseInt(f(0x12e))/0x2+parseInt(f(0x130))/0x3*(parseInt(f(0x120))/0x4)+parseInt(f(0x124))/0x5+parseInt(f(0x12c))/0x6*(-parseInt(f(0x121))/0x7)+-parseInt(f(0x134))/0x8*(-parseInt(f(0x126))/0x9)+-parseInt(f(0x12a))/0xa*(-parseInt(f(0x128))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x7c0c3));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const g=a37d;return a37a['toString']()[g(0x12d)]('(((.+)+)+)+$')[g(0x132)]()['constructor'](a37a)[g(0x12d)](g(0x133));});a37a();function a37c(){const j=['Unequip\x20an\x20item.','toString','(((.+)+)+)+$','69408fKhRqW','description','unqeuip','toLowerCase','40NIyuii','914347uuWbeN','2058TGUtQO','write','140530loewEU','verb','315HzIltu','\x20unqeuiped\x20','119625FWAiDa','execute','1270loVBxQ','name','42EiWutO','search','1029714PEgSye','actor','67941BcxykV'];a37c=function(){return j;};return a37c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a37h(0x125)]=a37h(0x136);static [a37h(0x135)]=a37h(0x131);[a37h(0x129)](a){const i=a37h,b=a['join']('\x20')[i(0x137)](),c=this[i(0x12f)]['unequip'](b);return this['logger'][i(0x123)]('UnequipCommand:\x20'+this[i(0x12f)][i(0x12b)]+i(0x127)+c),c;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1ec))/0x1+-parseInt(f(0x1e7))/0x2*(-parseInt(f(0x1dc))/0x3)+-parseInt(f(0x1e8))/0x4*(parseInt(f(0x1e9))/0x5)+-parseInt(f(0x1dd))/0x6+parseInt(f(0x1e0))/0x7+parseInt(f(0x1ea))/0x8+-parseInt(f(0x1e2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xc8f74));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1e3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1ed)]()[h(0x1f1)](h(0x1e4))[h(0x1ed)]()['constructor'](a40a)[h(0x1f1)](h(0x1e4));});a40a();function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1da;let f=c[d];return f;},a40d(a,b);}function a40c(){const k=['search','unqeuip','actor','168xYluNN','9377886uqeWux','join','unequip','3977218baTucr','write','28161dsqsGk','apply','(((.+)+)+)+$','name','verb','51550YqkRZx','49988gdQpCR','445jHKPAz','10235512NkNbsO','Unequip\x20an\x20item.','210486dBYoir','toString','logger','description','toLowerCase'];a40c=function(){return k;};return a40c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x1e6)]=a40i(0x1da);static [a40i(0x1ef)]=a40i(0x1eb);['execute'](a){const j=a40i,b=a[j(0x1de)]('\x20')[j(0x1f0)](),c=this[j(0x1db)][j(0x1df)](b);return this[j(0x1ee)][j(0x1e1)]('UnequipCommand:\x20'+this[j(0x1db)][j(0x1e5)]+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0x1f9))/0x1*(-parseInt(h(0x1f6))/0x2)+parseInt(h(0x1ed))/0x3+parseInt(h(0x1e0))/0x4+-parseInt(h(0x201))/0x5*(parseInt(h(0x1fc))/0x6)+parseInt(h(0x1e5))/0x7*(parseInt(h(0x1fb))/0x8)+-parseInt(h(0x1dd))/0x9*(-parseInt(h(0x1eb))/0xa)+parseInt(h(0x1e9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x18a41));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1dc;let f=c[d];return f;},a38d(a,b);}function a38c(){const n=['exits','description','91AMbbHO','unlockItemOrSolution','There\x27s\x20no\x20door\x20named\x20\x22','apply','1996577KCgSfp','execute','1305050YyfaNL','toString','1782ulIXsW','length','inventory','name','isValidDirection','.\x20Result:\x20','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','search','1574eiSGrv','toLowerCase','hasItem','181Npkkjx','UnlockCommand:\x20','6088cXYSpu','6herJyZ','(((.+)+)+)+$','attemptUnlockExit','unlock','\x22\x20here.','656485WULcjK','constructor','UnlockCommand:\x20No\x20target\x20specified.','logger','currentLocation','getItem','9GkAmFh','write','actor','208696CmMwtR','\x20is\x20attempted\x20to\x20unlock\x20','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'];a38c=function(){return n;};return a38c();}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x1ec)]()[j(0x1f5)](j(0x1fd))[j(0x1ec)]()[j(0x202)](a38a)['search'](j(0x1fd));});a38a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']=a38k(0x1ff);static [a38k(0x1e4)]='Unlock\x20a\x20door.';[a38k(0x1ea)](a){const l=a38k;return this[l(0x1ff)](a);}[a38k(0x1ff)](a){const m=a38k;if(a[m(0x1ee)]===0x0)return this[m(0x204)]['error'](m(0x203)),m(0x1f3);const b=a[0x0][m(0x1f7)](),c=this[m(0x1df)][m(0x205)];if(this[m(0x1f1)](b)&&c['exits']['has'](b)){const d=c[m(0x1e3)]['get'](b);if(d instanceof Door){const e=d[m(0x1e6)]?.[m(0x1f7)]();if(e&&this['actor'][m(0x1ef)][m(0x1f8)](e)){const f=this[m(0x1df)]['inventory'][m(0x1dc)](e);if(f){const g=c[m(0x1fe)](b,f[m(0x1f0)]);return this[m(0x204)][m(0x1de)](m(0x1fa)+this[m(0x1df)][m(0x1f0)]+m(0x1e1)+b+m(0x1f2)+g),g;}}return this['logger'][m(0x1de)](m(0x1fa)+this[m(0x1df)][m(0x1f0)]+m(0x1e2)+b+'.'),m(0x1f4);}else return this['logger'][m(0x1de)](m(0x1fa)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x1f0)]+'.'),m(0x1e7)+b+m(0x200);}else return this[m(0x204)][m(0x1de)](m(0x1fa)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x1f0)]+'.'),m(0x1e7)+b+m(0x200);}}
1
+ function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x190;let f=c[d];return f;},a41d(a,b);}const a41j=a41d;function a41c(){const m=['There\x27s\x20no\x20door\x20named\x20\x22','toLowerCase','2787468NBuLIf','3701wxRIeV','5452Fmiofl','name','\x20is\x20attempted\x20to\x20unlock\x20','has','8920784SUptVb','.\x20Result:\x20','1055pkDLcu','1810Ijuqcb','8072064uXPJVY','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','(((.+)+)+)+$','hasItem','678dovlRl','UnlockCommand:\x20','33VHCnfE','inventory','unlock','verb','write','description','currentLocation','get','61029OcBuHh','length','logger','attemptUnlockExit','actor','3910656shIRxa','getItem','error','isValidDirection','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','7DNduFp','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'];a41c=function(){return m;};return a41c();}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x1a1))/0x1*(parseInt(h(0x1ae))/0x2)+-parseInt(h(0x197))/0x3+parseInt(h(0x1a2))/0x4*(parseInt(h(0x1a8))/0x5)+parseInt(h(0x1aa))/0x6+parseInt(h(0x19c))/0x7*(parseInt(h(0x1a6))/0x8)+-parseInt(h(0x192))/0x9*(-parseInt(h(0x1a9))/0xa)+parseInt(h(0x1b0))/0xb*(-parseInt(h(0x1a0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xafdd2));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const i=a41d;return a41a['toString']()['search']('(((.+)+)+)+$')['toString']()['constructor'](a41a)['search'](i(0x1ac));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41j(0x1b3)]=a41j(0x1b2);static [a41j(0x1b5)]='Unlock\x20a\x20door.';['execute'](a){const k=a41j;return this[k(0x1b2)](a);}[a41j(0x1b2)](a){const l=a41j;if(a[l(0x193)]===0x0)return this[l(0x194)][l(0x199)]('UnlockCommand:\x20No\x20target\x20specified.'),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][l(0x19f)](),c=this[l(0x196)][l(0x190)];if(this[l(0x19a)](b)&&c['exits'][l(0x1a5)](b)){const d=c['exits'][l(0x191)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.['toLowerCase']();if(e&&this['actor'][l(0x1b1)][l(0x1ad)](e)){const f=this[l(0x196)][l(0x1b1)][l(0x198)](e);if(f){const g=c[l(0x195)](b,f['name']);return this[l(0x194)][l(0x1b4)](l(0x1af)+this[l(0x196)][l(0x1a3)]+l(0x1a4)+b+l(0x1a7)+g),g;}}return this[l(0x194)]['write'](l(0x1af)+this[l(0x196)][l(0x1a3)]+l(0x19d)+b+'.'),l(0x1ab);}else return this[l(0x194)][l(0x1b4)](l(0x1af)+b+l(0x19b)+c[l(0x1a3)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}else return this[l(0x194)][l(0x1b4)](l(0x1af)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x1a3)]+'.'),l(0x19e)+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0xbc))/0x1+parseInt(f(0xaf))/0x2+-parseInt(f(0xa1))/0x3*(parseInt(f(0xaa))/0x4)+-parseInt(f(0xba))/0x5+-parseInt(f(0xbe))/0x6*(-parseInt(f(0xb7))/0x7)+-parseInt(f(0x9e))/0x8*(parseInt(f(0xb5))/0x9)+parseInt(f(0xa0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xb8838));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x9c;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0xae)]('(((.+)+)+)+$')['toString']()[h(0xb3)](a39a)[h(0xae)](h(0xb0));});a39a();import{Command}from'./command.js';export class UseCommand extends Command{static [a39i(0xab)]='use';static [a39i(0x9f)]=a39i(0xa4);[a39i(0x9c)](a){const j=a39i;return this[j(0xa2)](a);}[a39i(0xa2)](a){const k=a39i,b=a['join']('\x20')[k(0xbb)]();if(!this[k(0xb6)][k(0x9d)][k(0xb8)](b))return this[k(0xa5)][k(0xbd)](k(0xa8)+this[k(0xb6)][k(0xb2)]+k(0xac)+b+k(0xa9)),k(0xa3)+b+k(0xb9);const c=this[k(0xb6)][k(0x9d)][k(0xb4)](b);if(!c)return this[k(0xa5)][k(0xbd)]('UseCommand:\x20'+b+'\x20not\x20retrieved\x20from\x20'+this['actor'][k(0xb2)]+'\x27s\x20inventory.'),k(0xa3)+b+k(0xb9);if(typeof c[k(0xa2)]==='function'){const d=c[k(0xa2)]();return this['logger'][k(0xbd)](k(0xa8)+this[k(0xb6)][k(0xb2)]+k(0xa6)+b+'.'),d;}else return this[k(0xa5)][k(0xbd)]('UseCommand:\x20'+b+k(0xb1)),k(0xad)+b+'\x20in\x20this\x20way.';}}function a39c(){const l=['actor','58471Blvlhh','hasItem','\x20to\x20use.','6586495UeqBTr','toLowerCase','1337361yRvtEN','write','738wlvUyf','execute','inventory','1208zmuOGA','description','28057940eBOrVp','3315288QyGZjg','use','You\x20don\x27t\x20have\x20the\x20','Use\x20an\x20item.','logger','\x20used\x20','apply','UseCommand:\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','4lkyPmC','verb','\x20attempted\x20to\x20use\x20','You\x20can\x27t\x20use\x20the\x20','search','1930268KfofEn','(((.+)+)+)+$','\x20doesn\x27t\x20have\x20a\x20use\x20method.','name','constructor','getItem','16857SvLpGC'];a39c=function(){return l;};return a39c();}
1
+ const a42i=a42d;function a42c(){const l=['\x20used\x20','verb','458688AdSRSy','374238NraDdC','logger','826992uprfSd','11BuGiiC','\x20not\x20retrieved\x20from\x20','constructor','apply','You\x20can\x27t\x20use\x20the\x20','join','665290YNOiLC','\x20doesn\x27t\x20have\x20a\x20use\x20method.','(((.+)+)+)+$','inventory','function','\x20attempted\x20to\x20use\x20','UseCommand:\x20','\x27s\x20inventory.','search','120416gVbTXD','toString','You\x20don\x27t\x20have\x20the\x20','\x20to\x20use.','write','actor','\x20in\x20this\x20way.','256098OKCTvt','name','46244yWMGHi','7YynEIJ','description','2CjqBnJ','65ftezmb','execute','use'];a42c=function(){return l;};return a42c();}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x19c))/0x1+-parseInt(f(0x183))/0x2*(parseInt(f(0x17e))/0x3)+parseInt(f(0x180))/0x4*(parseInt(f(0x184))/0x5)+parseInt(f(0x189))/0x6+-parseInt(f(0x181))/0x7*(parseInt(f(0x18c))/0x8)+-parseInt(f(0x18a))/0x9+-parseInt(f(0x193))/0xa*(-parseInt(f(0x18d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x2cc44));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x179;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x19d)]()[h(0x19b)](h(0x195))[h(0x19d)]()[h(0x18f)](a42a)[h(0x19b)](h(0x195));});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x188)]=a42i(0x186);static [a42i(0x182)]='Use\x20an\x20item.';[a42i(0x185)](a){const j=a42i;return this[j(0x186)](a);}[a42i(0x186)](a){const k=a42i,b=a[k(0x192)]('\x20')['toLowerCase']();if(!this[k(0x17c)][k(0x196)]['hasItem'](b))return this[k(0x18b)][k(0x17b)]('UseCommand:\x20'+this[k(0x17c)]['name']+k(0x198)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),k(0x179)+b+k(0x17a);const c=this['actor'][k(0x196)]['getItem'](b);if(!c)return this[k(0x18b)][k(0x17b)]('UseCommand:\x20'+b+k(0x18e)+this[k(0x17c)][k(0x17f)]+k(0x19a)),k(0x179)+b+k(0x17a);if(typeof c[k(0x186)]===k(0x197)){const d=c[k(0x186)]();return this[k(0x18b)][k(0x17b)](k(0x199)+this['actor']['name']+k(0x187)+b+'.'),d;}else return this[k(0x18b)]['write']('UseCommand:\x20'+b+k(0x194)),k(0x191)+b+k(0x17d);}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x122))/0x1*(-parseInt(f(0x11a))/0x2)+parseInt(f(0x111))/0x3*(-parseInt(f(0x11c))/0x4)+parseInt(f(0x116))/0x5*(-parseInt(f(0x10f))/0x6)+-parseInt(f(0x110))/0x7*(parseInt(f(0x11d))/0x8)+parseInt(f(0x114))/0x9+parseInt(f(0x115))/0xa+-parseInt(f(0x11f))/0xb*(-parseInt(f(0x118))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x7ae0b));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x119)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x11e)]()[h(0x117)](h(0x121))[h(0x11e)]()[h(0x10e)](a40a)['search'](h(0x121));});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x10e;let f=c[d];return f;},a40d(a,b);}a40a();function a40c(){const l=['apply','250052eOeAFm','createCommand','2116zpEbVP','40syJCps','toString','13056164dcssVk','commandMap','(((.+)+)+)+$','1WiAFoh','constructor','150EuTmpB','566503bNFAwI','681WNFOVc','registerCommand','getAllRegisteredCommands','4525686NvkVuy','2729830smWGfO','161940rUMEDD','search','12ShxlCl'];a40c=function(){return l;};return a40c();}export class CommandFactory{static ['commandMap']={};static[a40i(0x112)](a,b){this['commandMap'][a]=b;}static[a40i(0x11b)](a,b){const j=a40i,c=this[j(0x120)][a];if(c)return new c(b);return null;}static[a40i(0x113)](){const k=a40i;return this[k(0x120)];}}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x7c))/0x1+-parseInt(f(0x85))/0x2+parseInt(f(0x77))/0x3*(parseInt(f(0x79))/0x4)+parseInt(f(0x7b))/0x5+-parseInt(f(0x7e))/0x6*(parseInt(f(0x7d))/0x7)+-parseInt(f(0x82))/0x8*(parseInt(f(0x7a))/0x9)+parseInt(f(0x76))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x1d867));function a43c(){const l=['2274DRPDbD','toString','constructor','(((.+)+)+)+$','118504KXAnRa','search','apply','437878DdTGAf','commandMap','registerCommand','2533180LnpVDv','53343LYXWYT','createCommand','4KDAgLE','18QwcLkp','552845IPBKHF','158003RStsfU','3143dHDQVu'];a43c=function(){return l;};return a43c();}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x7f)]()['search']('(((.+)+)+)+$')[h(0x7f)]()[h(0x80)](a43a)[h(0x83)](h(0x81));});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x75;let f=c[d];return f;},a43d(a,b);}export class CommandFactory{static [a43i(0x86)]={};static[a43i(0x75)](a,b){this['commandMap'][a]=b;}static[a43i(0x78)](a,b){const j=a43i,c=this[j(0x86)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const k=a43i;return this[k(0x86)];}}
@@ -1 +1 @@
1
- function a41c(){const n=['setPuzzle','addItem','gloves','toString','boots','puzzle','517808ykPDSP','INSIDE','4902216cRScqf','createRoom','legarmor','2122016SkVUsE','convertToRoomConfig','constructor','description','99095gtxgqP','createItem','inventory','roomType','search','helmet','5949834oXeGOZ','items','1194048RGKhzN','rifle','294232YWzqJu','createPuzzle','80HGXcQS','key','2vNLrkD','39RFYSTF','name','21DVFGgp','forEach','306GfOjEs'];a41c=function(){return n;};return a41c();}const a41h=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x1e3))/0x1*(parseInt(f(0x1ef))/0x2)+parseInt(f(0x1e4))/0x3*(-parseInt(f(0x1df))/0x4)+parseInt(f(0x1d5))/0x5*(-parseInt(f(0x1e8))/0x6)+parseInt(f(0x1e6))/0x7*(parseInt(f(0x1d1))/0x8)+-parseInt(f(0x1dd))/0x9*(-parseInt(f(0x1e1))/0xa)+parseInt(f(0x1db))/0xb+-parseInt(f(0x1f1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x83e85));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const g=a41d;return a41a[g(0x1ec)]()[g(0x1d9)]('(((.+)+)+)+$')[g(0x1ec)]()[g(0x1d3)](a41a)[g(0x1d9)]('(((.+)+)+)+$');});a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1d1;let f=c[d];return f;},a41d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a41h(0x1f2)](a){const i=a41h,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[i(0x1dc)]){const d=new Inventory();a[i(0x1dc)][i(0x1e7)](e=>{const j=i;d[j(0x1ea)](this[j(0x1d6)](e));}),c[i(0x1d7)]=d;}return a[i(0x1ee)]&&c[i(0x1e9)](this['createPuzzle'](a['puzzle'])),c;}[a41h(0x1d6)](a){const k=a41h;switch(a['type']){case k(0x1e2):return new Key(a[k(0x1e5)],a[k(0x1d4)]);case'book':return new Book(a['name'],a[k(0x1d4)],a['content']);case'sword':return new Sword(a[k(0x1e5)],a[k(0x1d4)]);case k(0x1de):return new Rifle(a[k(0x1e5)],a['description']);case k(0x1da):return new Helmet(a[k(0x1e5)],a['description']);case'bodyarmor':return new BodyArmor(a[k(0x1e5)],a[k(0x1d4)]);case k(0x1f3):return new LegArmor(a[k(0x1e5)],a[k(0x1d4)]);case k(0x1ed):return new Boots(a[k(0x1e5)],a[k(0x1d4)]);case k(0x1eb):return new Gloves(a['name'],a['description']);case'gauntlets':return new Gauntlets(a[k(0x1e5)],a['description']);default:return new BasicItem(a['name'],a[k(0x1d4)]);}}[a41h(0x1e0)](a){const l=a41h,b=this[l(0x1d6)](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a41h(0x1d2)](a){const m=a41h,b=a['roomType']&&RoomType[a[m(0x1d8)]['toUpperCase']()]?RoomType[a['roomType']['toUpperCase']()]:RoomType[m(0x1f0)];return{'name':a[m(0x1e5)],'description':a[m(0x1d4)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x1ba))/0x1*(-parseInt(f(0x1b9))/0x2)+parseInt(f(0x1bc))/0x3+-parseInt(f(0x1a6))/0x4*(-parseInt(f(0x1a9))/0x5)+-parseInt(f(0x1c4))/0x6*(-parseInt(f(0x1a1))/0x7)+parseInt(f(0x1b3))/0x8*(parseInt(f(0x1b0))/0x9)+parseInt(f(0x1c9))/0xa+-parseInt(f(0x1c8))/0xb*(parseInt(f(0x1b7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x5a61c));function a44c(){const o=['createPuzzle','apply','items','388YYceCs','bodyarmor','createItem','35755pCzEKr','book','setPuzzle','boots','puzzle','toUpperCase','rifle','1169307LNetwG','forEach','(((.+)+)+)+$','8YoOFdT','inventory','description','roomType','516drwKqU','convertToRoomConfig','4pwTzmu','227252UAtKIK','type','1634175nAkkry','content','legarmor','addItem','toString','name','gloves','INSIDE','36390nkGMtR','helmet','rewardItem','search','171424pfyLvN','234200VUMwFV','sword','createRoom','119sEJJAa','gauntlets'];a44c=function(){return o;};return a44c();}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()['search'](h(0x1b2))[h(0x1c0)]()['constructor'](a44a)[h(0x1c7)](h(0x1b2));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1a1;let f=c[d];return f;},a44d(a,b);}import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0x1cb)](a){const j=a44i,b=this[j(0x1b8)](a),c=new Room(b);if(a[j(0x1a5)]){const d=new Inventory();a[j(0x1a5)][j(0x1b1)](e=>{const k=j;d[k(0x1bf)](this[k(0x1a8)](e));}),c[j(0x1b4)]=d;}return a[j(0x1ad)]&&c[j(0x1ab)](this[j(0x1a3)](a[j(0x1ad)])),c;}[a44i(0x1a8)](a){const l=a44i;switch(a[l(0x1bb)]){case'key':return new Key(a[l(0x1c1)],a[l(0x1b5)]);case l(0x1aa):return new Book(a['name'],a['description'],a[l(0x1bd)]);case l(0x1ca):return new Sword(a[l(0x1c1)],a[l(0x1b5)]);case l(0x1af):return new Rifle(a[l(0x1c1)],a[l(0x1b5)]);case l(0x1c5):return new Helmet(a[l(0x1c1)],a[l(0x1b5)]);case l(0x1a7):return new BodyArmor(a['name'],a[l(0x1b5)]);case l(0x1be):return new LegArmor(a['name'],a[l(0x1b5)]);case l(0x1ac):return new Boots(a[l(0x1c1)],a[l(0x1b5)]);case l(0x1c2):return new Gloves(a[l(0x1c1)],a['description']);case l(0x1a2):return new Gauntlets(a[l(0x1c1)],a['description']);default:return new BasicItem(a['name'],a['description']);}}[a44i(0x1a3)](a){const m=a44i,b=this[m(0x1a8)](a[m(0x1c6)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0x1b8)](a){const n=a44i,b=a[n(0x1b6)]&&RoomType[a[n(0x1b6)][n(0x1ae)]()]?RoomType[a[n(0x1b6)][n(0x1ae)]()]:RoomType[n(0x1c3)];return{'name':a['name'],'description':a[n(0x1b5)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1df;let f=c[d];return f;},a42d(a,b);}function a42c(){const s=['getAllRegisteredCommands','scene','-\x20quit:\x20Exit\x20the\x20game.\x0a','32591590mEhMdu','(((.+)+)+)+$','execute','trim','7viyjsP','search','player','-\x20clear:\x20Clear\x20the\x20screen.\x0a','help','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','take','slice','maka','registerCommand','name','use','getRooms','toString','566172bWnWLX','lock','apply','6706865hYHwEy','clear','look','2TxJPAk','currentRoom','instance','9259064zVvpjP','quit','4750317qHxRKz','say','createCommand','registerCommands','getWelcomeMessage','2806338CmBXWh','currentLocation','unequip','equip','hasOwnProperty','943186UWtvwu','determineStartRoom','getHelpMessage','constructor','3iGCiaf','rooms','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','initialize','getInstance','getDescription'];a42c=function(){return s;};return a42c();}const a42k=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=parseInt(h(0x1e1))/0x1*(-parseInt(h(0x206))/0x2)+parseInt(h(0x1e5))/0x3*(-parseInt(h(0x200))/0x4)+-parseInt(h(0x203))/0x5+parseInt(h(0x210))/0x6+parseInt(h(0x1f2))/0x7*(-parseInt(h(0x209))/0x8)+parseInt(h(0x20b))/0x9+parseInt(h(0x1ee))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xa3dea));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a42d;if(c){const e=c[i(0x202)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const j=a42d;return a42a[j(0x1ff)]()[j(0x1f3)](j(0x1ef))[j(0x1ff)]()[j(0x1e4)](a42a)['search'](j(0x1ef));});a42a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';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(0x208)];[a42k(0x1ec)];[a42k(0x1f4)];[a42k(0x207)];[a42k(0x1e6)];constructor(a,b){const l=a42k;this[l(0x1f4)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0x1ec)][l(0x1e8)](),this[l(0x1f4)][l(0x211)]=this[l(0x1e2)](),this[l(0x20e)]();}[a42k(0x20e)](){const m=a42k;CommandFactory['registerCommand'](m(0x205),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory['registerCommand'](m(0x1f8),TakeCommand),CommandFactory[m(0x1fb)](m(0x1fd),UseCommand),CommandFactory['registerCommand'](m(0x1df),EquipCommand),CommandFactory['registerCommand'](m(0x212),UnequipCommand),CommandFactory['registerCommand']('solve',SolveCommand),CommandFactory[m(0x1fb)]('drop',DropCommand),CommandFactory['registerCommand']('unlock',UnlockCommand),CommandFactory[m(0x1fb)](m(0x201),LockCommand),CommandFactory[m(0x1fb)](m(0x1f3),SearchCommand),CommandFactory['registerCommand'](m(0x20c),SayCommand);}['determineStartRoom'](){const n=a42k;return this['scene'][n(0x1e2)]();}[a42k(0x20f)](){const o=a42k;return'Welcome,\x20'+this[o(0x1f4)][o(0x1fc)];}static[a42k(0x1e9)](a,b){const p=a42k;return!Game[p(0x208)]&&(Game[p(0x208)]=new Game(a,b)),Game['instance'];}['handleInput'](a){const q=a42k,b=a[q(0x1f1)]()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0x1f9)](0x1);if(c===q(0x20a))return null;if(c===q(0x1fa))return q(0x1e7);if(c===q(0x1f6))return this[q(0x1e3)]();if(c===q(0x204))return'';const e={'actor':this[q(0x1f4)],'rooms':this[q(0x1ec)][q(0x1fe)](),'scene':this['scene']},f=CommandFactory[q(0x20d)](c,e);if(f){const g=f[q(0x1f0)](d);return g;}return q(0x1f7)+c+'\x22.';}[a42k(0x1e3)](){const r=a42k,a=CommandFactory[r(0x1eb)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0x1e0)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x1ea)]()+'\x0a';}}return b+=r(0x1f5),b+=r(0x1ed),b;}}
1
+ const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0x1cc))/0x1+parseInt(h(0x1cf))/0x2+-parseInt(h(0x1b1))/0x3*(-parseInt(h(0x1b0))/0x4)+-parseInt(h(0x1b4))/0x5+parseInt(h(0x1a6))/0x6*(-parseInt(h(0x1c5))/0x7)+-parseInt(h(0x1ae))/0x8*(-parseInt(h(0x1af))/0x9)+parseInt(h(0x1c2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x86388));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x1be)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x1bf)]()['search'](j(0x1ab))['toString']()[j(0x1ad)](a45a)['search'](j(0x1ab));});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';function a45c(){const s=['name','maka','517334iqwxPA','look','unequip','1052558ZjPOtj','getWelcomeMessage','-\x20clear:\x20Clear\x20the\x20screen.\x0a','getHelpMessage','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','equip','lock','player','use','currentLocation','1868052qjNsht','getAllRegisteredCommands','rooms','take','getInstance','(((.+)+)+)+$','Available\x20Commands:\x0a','constructor','332008AwKWtT','135cFdMKV','122908DwbFbB','3OsdqTI','search','determineStartRoom','1422265zCxhDI','scene','split','registerCommands','say','instance','Welcome,\x20','registerCommand','createCommand','handleInput','apply','toString','clear','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','7947180PCOfVi','currentRoom','getRooms','14dDfaQd','-\x20quit:\x20Exit\x20the\x20game.\x0a','help','toLowerCase','solve'];a45c=function(){return s;};return a45c();}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 a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x19f;let f=c[d];return f;},a45d(a,b);}import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a45k(0x1b5)];[a45k(0x1a3)];[a45k(0x1c3)];[a45k(0x1a8)];constructor(a,b){const l=a45k;this[l(0x1a3)]=a,this[l(0x1b5)]=new Scene({'player':a,'roomConfiguration':b}),this['scene']['initialize'](),this['player'][l(0x1a5)]=this['determineStartRoom'](),this[l(0x1b7)]();}[a45k(0x1b7)](){const m=a45k;CommandFactory[m(0x1bb)](m(0x1cd),LookCommand),CommandFactory[m(0x1bb)]('go',GoCommand),CommandFactory[m(0x1bb)](m(0x1a9),TakeCommand),CommandFactory['registerCommand'](m(0x1a4),UseCommand),CommandFactory[m(0x1bb)](m(0x1a1),EquipCommand),CommandFactory[m(0x1bb)](m(0x1ce),UnequipCommand),CommandFactory[m(0x1bb)](m(0x1c9),SolveCommand),CommandFactory[m(0x1bb)]('drop',DropCommand),CommandFactory[m(0x1bb)]('unlock',UnlockCommand),CommandFactory[m(0x1bb)](m(0x1a2),LockCommand),CommandFactory[m(0x1bb)](m(0x1b2),SearchCommand),CommandFactory[m(0x1bb)](m(0x1b8),SayCommand);}[a45k(0x1b3)](){const n=a45k;return this[n(0x1b5)]['determineStartRoom']();}[a45k(0x1d0)](){const o=a45k;return o(0x1ba)+this['player'][o(0x1ca)];}static[a45k(0x1aa)](a,b){const p=a45k;return!Game[p(0x1b9)]&&(Game[p(0x1b9)]=new Game(a,b)),Game[p(0x1b9)];}[a45k(0x1bd)](a){const q=a45k,b=a['trim']()[q(0x1b6)]('\x20'),c=b[0x0][q(0x1c8)](),d=b['slice'](0x1);if(c==='quit')return null;if(c===q(0x1cb))return q(0x1c1);if(c===q(0x1c7))return this[q(0x19f)]();if(c===q(0x1c0))return'';const e={'actor':this[q(0x1a3)],'rooms':this[q(0x1b5)][q(0x1c4)](),'scene':this[q(0x1b5)]},f=CommandFactory[q(0x1bc)](c,e);if(f){const g=f['execute'](d);return g;}return q(0x1a0)+c+'\x22.';}[a45k(0x19f)](){const r=a45k,a=CommandFactory[r(0x1a7)]();let b=r(0x1ac);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=r(0x1d1),b+=r(0x1c6),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x9b))/0x1+parseInt(f(0x97))/0x2+-parseInt(f(0x98))/0x3*(-parseInt(f(0x99))/0x4)+-parseInt(f(0x95))/0x5+-parseInt(f(0x96))/0x6*(-parseInt(f(0x9a))/0x7)+parseInt(f(0x9c))/0x8+-parseInt(f(0x9f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x5afef));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x9d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x9e)]()[h(0xa0)](h(0x94))[h(0x9e)]()['constructor'](a43a)[h(0xa0)]('(((.+)+)+)+$');});a43a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x94;var f=c[d];return f;},a43d(a,b);}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';function a43c(){var i=['8905968nfLpus','search','(((.+)+)+)+$','3035745WSKFeK','1362PhQnWW','813640OzACfb','9Iampwl','662044WqzKLx','11060pYIlMV','35328SQDxzO','5941880xvoMLi','apply','toString'];a43c=function(){return i;};return a43c();}
1
+ function a46c(){var i=['apply','10hmFNoz','(((.+)+)+)+$','toString','3105861XLELTn','10LhEzam','1128591ncxOyX','117xmyrMO','1044925nKJqia','search','31565BIomjj','328220RYoDUN','constructor','208248uuliIe','2ETmVfk','2390448JQHHbi'];a46c=function(){return i;};return a46c();}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x129))/0x1+parseInt(f(0x11d))/0x2*(-parseInt(f(0x125))/0x3)+-parseInt(f(0x12a))/0x4*(-parseInt(f(0x120))/0x5)+parseInt(f(0x11e))/0x6+parseInt(f(0x127))/0x7+-parseInt(f(0x12c))/0x8*(parseInt(f(0x126))/0x9)+parseInt(f(0x124))/0xa*(parseInt(f(0x123))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x3c8ab));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x122)]()[h(0x128)](h(0x121))[h(0x122)]()[h(0x12b)](a46a)['search']('(((.+)+)+)+$');});a46a();function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x11d;var f=c[d];return f;},a46d(a,b);}export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a44i=a44d;function a44c(){var o=['121xzaBHS','.\x20Is\x20Locked:\x20','toString','search','apply','14589vksUtI','3250HlyYUu','226680iWmFWd','isLockable','checkIfLockable','To\x20','\x20and\x20','Failed\x20to\x20unlock\x20door:\x20','9aozFAH','name','write','4533228rdfzxf','logger','878810DtxcRe','1700228inylLw','roomA','isLocked','unlockItemOrSolution','constructor','attemptUnlock','roomB','2504dOhgbT','getOtherSide','(((.+)+)+)+$','.\x20Used:\x20','442uMoCFf','7417837ESHnQa','144xlnmke','Door\x20created\x20between\x20'];a44c=function(){return o;};return a44c();}(function(a,b){var f=a44d,c=a();while(!![]){try{var d=-parseInt(f(0x1f3))/0x1*(parseInt(f(0x1e9))/0x2)+parseInt(f(0x1fa))/0x3*(parseInt(f(0x1de))/0x4)+parseInt(f(0x1f4))/0x5*(parseInt(f(0x1eb))/0x6)+-parseInt(f(0x1ea))/0x7+-parseInt(f(0x1e5))/0x8*(parseInt(f(0x1f2))/0x9)+parseInt(f(0x1dd))/0xa*(parseInt(f(0x1ed))/0xb)+-parseInt(f(0x1db))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xa2cdb));var a44b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a44d;if(c){var e=c[g(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){var h=a44d;return a44a['toString']()['search'](h(0x1e7))[h(0x1ef)]()[h(0x1e2)](a44a)[h(0x1f0)](h(0x1e7));});a44a();import{Logger}from'../utilities/logger.js';function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0x1db;var f=c[d];return f;},a44d(a,b);}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];['roomB'];['isLocked'];[a44i(0x1e1)];['name'];[a44i(0x1dc)];[a44i(0x1f5)];constructor(a){var j=a44i;super(),this[j(0x1df)]=a[j(0x1df)],this[j(0x1e4)]=a[j(0x1e4)],this[j(0x1e0)]=a['isLocked']||![],this[j(0x1e1)]=a[j(0x1e1)],this[j(0x1fb)]=a['name']?capitalCase(a['name']):j(0x1f7)+a[j(0x1e4)][j(0x1fb)],this[j(0x1dc)]=Logger['getInstance'](),this[j(0x1f5)]=!!a[j(0x1e1)],this[j(0x1dc)][j(0x1fc)](j(0x1ec)+this[j(0x1df)][j(0x1fb)]+j(0x1f8)+this[j(0x1e4)][j(0x1fb)]+j(0x1ee)+this[j(0x1e0)]);}[a44i(0x1e6)](a){var k=a44i;return this['roomA']===a?this[k(0x1e4)]:this[k(0x1df)];}[a44i(0x1e3)](a){var l=a44i;if(this[l(0x1e0)]&&this[l(0x1e1)]&&this[l(0x1e1)]===a)return this[l(0x1e0)]=![],this[l(0x1dc)]['write']('Door\x20unlocked:\x20'+this[l(0x1fb)]+l(0x1e8)+a),!![];return this['logger']['write'](l(0x1f9)+this['name']+'.\x20Used:\x20'+a),![];}['checkIfLocked'](){var m=a44i;return this[m(0x1e0)];}[a44i(0x1f6)](){var n=a44i;return this[n(0x1f5)];}}
1
+ var a47i=a47d;function a47c(){var o=['(((.+)+)+)+$','isLocked','Door\x20unlocked:\x20','321RElvgu','apply','unlockItemOrSolution','Failed\x20to\x20unlock\x20door:\x20','5786Fanlue','22pLbnBD','search','write','.\x20Used:\x20','checkIfLocked','20KdkgAS','489120RyOcrS','checkIfLockable','758464aHTAjd','attemptUnlock','4579256RNVHUo','toString','7cZUiTp','roomB','8562eqEoPH','logger','isLockable','7172154HhTmap','5959670pEQdvj','name','getOtherSide','roomA'];a47c=function(){return o;};return a47c();}(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x1f5))/0x1+-parseInt(f(0x1ee))/0x2*(parseInt(f(0x1ea))/0x3)+parseInt(f(0x1d9))/0x4+-parseInt(f(0x1f4))/0x5*(parseInt(f(0x1df))/0x6)+-parseInt(f(0x1dd))/0x7*(parseInt(f(0x1db))/0x8)+parseInt(f(0x1e2))/0x9+parseInt(f(0x1e3))/0xa*(parseInt(f(0x1ef))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xc3b86));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x1dc)]()[h(0x1f0)](h(0x1e7))[h(0x1dc)]()['constructor'](a47a)[h(0x1f0)](h(0x1e7));});a47a();function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x1d8;var f=c[d];return f;},a47d(a,b);}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x1e6)];[a47i(0x1de)];[a47i(0x1e8)];[a47i(0x1ec)];[a47i(0x1e4)];['logger'];[a47i(0x1e1)];constructor(a){var j=a47i;super(),this[j(0x1e6)]=a[j(0x1e6)],this['roomB']=a['roomB'],this[j(0x1e8)]=a[j(0x1e8)]||![],this[j(0x1ec)]=a['unlockItemOrSolution'],this['name']=a[j(0x1e4)]?capitalCase(a[j(0x1e4)]):'To\x20'+a['roomB'][j(0x1e4)],this['logger']=Logger['getInstance'](),this[j(0x1e1)]=!!a[j(0x1ec)],this[j(0x1e0)][j(0x1f1)]('Door\x20created\x20between\x20'+this[j(0x1e6)][j(0x1e4)]+'\x20and\x20'+this['roomB'][j(0x1e4)]+'.\x20Is\x20Locked:\x20'+this['isLocked']);}[a47i(0x1e5)](a){var k=a47i;return this[k(0x1e6)]===a?this[k(0x1de)]:this['roomA'];}[a47i(0x1da)](a){var l=a47i;if(this[l(0x1e8)]&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this[l(0x1e8)]=![],this['logger'][l(0x1f1)](l(0x1e9)+this[l(0x1e4)]+l(0x1f2)+a),!![];return this[l(0x1e0)]['write'](l(0x1ed)+this['name']+l(0x1f2)+a),![];}[a47i(0x1f3)](){var m=a47i;return this[m(0x1e8)];}[a47i(0x1d8)](){var n=a47i;return this[n(0x1e1)];}}
@@ -1 +1 @@
1
- const a45i=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xa9;let f=c[d];return f;},a45d(a,b);}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0xc7))/0x1*(-parseInt(f(0xac))/0x2)+-parseInt(f(0xc0))/0x3+-parseInt(f(0xae))/0x4+-parseInt(f(0xd0))/0x5*(parseInt(f(0xc2))/0x6)+-parseInt(f(0xc3))/0x7*(parseInt(f(0xc9))/0x8)+parseInt(f(0xbf))/0x9*(-parseInt(f(0xb9))/0xa)+parseInt(f(0xc8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xcb126));function a45c(){const r=['Listed\x20items\x20in\x20inventory:\x20','.\x20Exists:\x20','Retrieved\x20details\x20for\x20item:\x20','toLowerCase','items','write','map','Failed\x20to\x20remove\x20item:\x20','apply','69900AvmyCN','delete','weight','getInstance','getItem','\x20in\x20','234gBklri','3292116tiiJGV','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','372XeAEuU','14PrUZvh','values','addItem','constructor','475529qApKYv','62477349erDFzc','5578864QaqqST','Removed\x20item:\x20','search','\x20from\x20inventory.','\x20to\x20inventory.','keys','Added\x20item:\x20','102610bQhVnm','listItems','getWeight','.\x20Item\x20not\x20found.','get','hasItem','name','toString','2lGECSW','(((.+)+)+)+$','1705024XpTVxl','logger'];a45c=function(){return r;};return a45c();}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0xb8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a['toString']()['search'](h(0xad))[h(0xab)]()[h(0xc6)](a45a)[h(0xcb)](h(0xad));});a45a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a45i(0xaf)];constructor(){const j=a45i;super(),this[j(0xb4)]=new Map(),this[j(0xaf)]=Logger[j(0xbc)]();}[a45i(0xc5)](a){const k=a45i;this['items']['set'](a[k(0xaa)][k(0xb3)](),a),this[k(0xaf)][k(0xb5)](k(0xcf)+a[k(0xaa)]+k(0xcd));}['removeItem'](a){const l=a45i,b=this[l(0xbd)](a);if(b)return this[l(0xb4)][l(0xba)](a['toLowerCase']()),this[l(0xaf)]['write'](l(0xca)+a+l(0xcc)),b;return this['logger']['write'](l(0xb7)+a+l(0xd3)),null;}[a45i(0xa9)](a){const m=a45i,b=this['items']['has'](a[m(0xb3)]()),c=[...this[m(0xb4)][m(0xce)]()];return this['logger']['write']('Checked\x20for\x20item:\x20'+a+m(0xbe)+c['join'](',\x20')+m(0xb1)+b+'.'),b;}[a45i(0xbd)](a){const n=a45i,b=this[n(0xb4)][n(0xd4)](a[n(0xb3)]())||null;return b?this[n(0xaf)][n(0xb5)](n(0xb2)+a+'.'):this[n(0xaf)]['write'](n(0xc1)+a+n(0xd3)),b;}[a45i(0xd1)](){const o=a45i,a=[...this[o(0xb4)][o(0xce)]()],b=a[o(0xb6)](c=>capitalCase(c));return this['logger']['write'](o(0xb0)+b['join'](',\x20')+'.'),a;}[a45i(0xd2)](){const p=a45i;let a=0x0;for(const b of this['items'][p(0xc4)]()){a+=b[p(0xbb)];}return a;}['getAllItems'](){const q=a45i;return[...this[q(0xb4)][q(0xc4)]()];}}
1
+ const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x78))/0x1+-parseInt(f(0x81))/0x2+parseInt(f(0x87))/0x3+-parseInt(f(0x73))/0x4+-parseInt(f(0x76))/0x5*(-parseInt(f(0x71))/0x6)+parseInt(f(0x8d))/0x7+-parseInt(f(0x80))/0x8*(parseInt(f(0x7c))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x63b9a));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a[g(0x7b)]()[g(0x88)](g(0x7f))[g(0x7b)]()['constructor'](a48a)[g(0x88)](g(0x7f));});a48a();import{capitalCase}from'change-case';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x69;let f=c[d];return f;},a48d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a48h(0x69)];constructor(){const i=a48h;super(),this[i(0x86)]=new Map(),this[i(0x69)]=Logger[i(0x84)]();}[a48h(0x6c)](a){const j=a48h;this[j(0x86)][j(0x8c)](a['name'][j(0x7a)](),a),this[j(0x69)][j(0x6b)](j(0x6e)+a[j(0x8a)]+'\x20to\x20inventory.');}[a48h(0x82)](a){const k=a48h,b=this[k(0x72)](a);if(b)return this['items']['delete'](a[k(0x7a)]()),this['logger'][k(0x6b)](k(0x6f)+a+'\x20from\x20inventory.'),b;return this['logger'][k(0x6b)](k(0x79)+a+'.\x20Item\x20not\x20found.'),null;}[a48h(0x77)](a){const l=a48h,b=this[l(0x86)][l(0x7e)](a['toLowerCase']()),c=[...this['items'][l(0x7d)]()];return this[l(0x69)]['write']('Checked\x20for\x20item:\x20'+a+'\x20in\x20'+c[l(0x83)](',\x20')+l(0x89)+b+'.'),b;}[a48h(0x72)](a){const m=a48h,b=this[m(0x86)]['get'](a['toLowerCase']())||null;return b?this[m(0x69)][m(0x6b)](m(0x6d)+a+'.'):this['logger']['write'](m(0x75)+a+'.\x20Item\x20not\x20found.'),b;}[a48h(0x85)](){const n=a48h,a=[...this[n(0x86)][n(0x7d)]()],b=a[n(0x8e)](c=>capitalCase(c));return this[n(0x69)][n(0x6b)](n(0x74)+b[n(0x83)](',\x20')+'.'),a;}[a48h(0x8b)](){const o=a48h;let a=0x0;for(const b of this['items'][o(0x70)]()){a+=b['weight'];}return a;}[a48h(0x6a)](){const p=a48h;return[...this[p(0x86)][p(0x70)]()];}}function a48c(){const q=['(((.+)+)+)+$','6225016hSepgV','52548DGvMAo','removeItem','join','getInstance','listItems','items','1559826ueWSaf','search','.\x20Exists:\x20','name','getWeight','set','818230BBMGhn','map','logger','getAllItems','write','addItem','Retrieved\x20details\x20for\x20item:\x20','Added\x20item:\x20','Removed\x20item:\x20','values','318kZCEgh','getItem','1697788PIGObc','Listed\x20items\x20in\x20inventory:\x20','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','54630tcDtRm','hasItem','421412FkAuXS','Failed\x20to\x20remove\x20item:\x20','toLowerCase','toString','9rlsNkr','keys','has'];a48c=function(){return q;};return a48c();}
@@ -1 +1 @@
1
- function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x8d;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(0xa1))/0x1*(parseInt(f(0xa8))/0x2)+-parseInt(f(0x9d))/0x3*(-parseInt(f(0xa7))/0x4)+parseInt(f(0x98))/0x5+-parseInt(f(0xa6))/0x6+-parseInt(f(0x95))/0x7+parseInt(f(0x94))/0x8*(parseInt(f(0xa5))/0x9)+parseInt(f(0x9e))/0xa*(parseInt(f(0xa3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xee547));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x96)]()[h(0x93)](h(0xa4))['toString']()[h(0x90)](a46a)[h(0x93)](h(0xa4));});a46a();function a46c(){var l=['toString','description','4318735logmYX','color','shape','You\x20use\x20the\x20','category','3VwTert','963860gnyfcu','uuid','use','877uVuoxY','size','198bDDlPq','(((.+)+)+)+$','17397ykCAux','8997642HYLenm','4131252FSVDFz','1798gSEitc','weight','apply','rating','constructor','name','texture','search','3272GOWHAd','8105132zjxUwp'];a46c=function(){return l;};return a46c();}import{v4 as a46e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a46i(0x9f)];['name'];[a46i(0x97)];['size'];[a46i(0x9c)];[a46i(0x9a)];[a46i(0x99)];[a46i(0x92)];[a46i(0x8f)];['weight'];constructor(a){var j=a46i;super(),this[j(0x91)]=a['name'],this[j(0x97)]=a[j(0x97)],this[j(0xa2)]=a[j(0xa2)],this[j(0x9c)]=a[j(0x9c)],this[j(0x9a)]=a['shape'],this[j(0x99)]=a[j(0x99)],this[j(0x92)]=a['texture'],this[j(0x8f)]=a[j(0x8f)],this[j(0x8d)]=a[j(0x8d)],this[j(0x9f)]=a46e();}[a46i(0xa0)](){var k=a46i;return k(0x9b)+this[k(0x91)]+'.\x20Nothing\x20special\x20happens.';}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x136))/0x1+parseInt(f(0x138))/0x2+-parseInt(f(0x141))/0x3*(-parseInt(f(0x14a))/0x4)+-parseInt(f(0x139))/0x5+parseInt(f(0x145))/0x6+parseInt(f(0x132))/0x7+-parseInt(f(0x13a))/0x8*(parseInt(f(0x13b))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x704da));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x13f)]()['search'](h(0x146))[h(0x13f)]()['constructor'](a49a)['search'](h(0x146));});a49a();function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x132;var f=c[d];return f;},a49d(a,b);}import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a49c(){var l=['texture','219gyldDW','category','You\x20use\x20the\x20','rating','5226816roGeMN','(((.+)+)+)+$','size','description','color','5608dcYOvv','619892XCinBz','shape','.\x20Nothing\x20special\x20happens.','use','410278TnqNdB','apply','1835166QSBqwl','1295910GeerYl','755704QYtGSV','81xzNLlV','weight','name','uuid','toString'];a49c=function(){return l;};return a49c();}export class Item extends AbstractItem{[a49i(0x13e)];['name'];[a49i(0x148)];['size'];[a49i(0x142)];[a49i(0x133)];[a49i(0x149)];[a49i(0x140)];['rating'];[a49i(0x13c)];constructor(a){var j=a49i;super(),this[j(0x13d)]=a[j(0x13d)],this[j(0x148)]=a[j(0x148)],this[j(0x147)]=a['size'],this[j(0x142)]=a[j(0x142)],this[j(0x133)]=a[j(0x133)],this[j(0x149)]=a['color'],this['texture']=a['texture'],this[j(0x144)]=a[j(0x144)],this['weight']=a[j(0x13c)],this[j(0x13e)]=a49e();}[a49i(0x135)](){var k=a49i;return k(0x143)+this[k(0x13d)]+k(0x134);}}
@@ -1 +1 @@
1
- const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x18a))/0x1*(-parseInt(f(0x18c))/0x2)+-parseInt(f(0x18e))/0x3*(parseInt(f(0x188))/0x4)+parseInt(f(0x177))/0x5*(-parseInt(f(0x179))/0x6)+parseInt(f(0x183))/0x7+-parseInt(f(0x185))/0x8*(-parseInt(f(0x175))/0x9)+parseInt(f(0x18b))/0xa*(parseInt(f(0x17a))/0xb)+-parseInt(f(0x189))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x51908));function a47c(){const n=['3WBPtMS','moveTo','_dialogue','2004786HFZuQP','toString','397505zmOWlY','name','12PcqDor','11rxbiiU','scene','execute','length','apply','random','(((.+)+)+)+$','speak','_name','3202290WlQKkA','autonomousMove','16TiUiGo','floor','search','1527268SDPYAH','427920puuDQs','164GzJgVA','1770010JxOMnQ','2066GsduYo','rooms'];a47c=function(){return n;};return a47c();}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x17e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x176)]()[h(0x187)](h(0x180))[h(0x176)]()['constructor'](a47a)[h(0x187)]('(((.+)+)+)+$');});function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x174;let f=c[d];return f;},a47d(a,b);}a47a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a47i(0x174)];[a47i(0x18d)];[a47i(0x17b)];constructor(a,b,c,d){const j=a47i;super(d),this[j(0x182)]=a,this['_dialogue']=b,this[j(0x18d)]=c;}get[a47i(0x178)](){return this['_name'];}[a47i(0x181)](){const k=a47i;return this['_dialogue'][Math[k(0x186)](Math[k(0x17f)]()*this[k(0x174)][k(0x17d)])];}[a47i(0x184)](a){const l=a47i,b=a[Math['floor'](Math['random']()*a[l(0x17d)])];this[l(0x18f)](b[l(0x178)]);}[a47i(0x18f)](a){const m=a47i,b={'actor':this,'rooms':this['rooms'],'scene':this[m(0x17b)]},c=new GoCommand(b);c[m(0x17c)]([a]);}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x169))/0x1*(-parseInt(f(0x16c))/0x2)+-parseInt(f(0x16d))/0x3+-parseInt(f(0x16f))/0x4+parseInt(f(0x170))/0x5+parseInt(f(0x163))/0x6*(-parseInt(f(0x165))/0x7)+parseInt(f(0x16e))/0x8+parseInt(f(0x173))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x9b41d));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x15f;let f=c[d];return f;},a50d(a,b);}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x177)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x16b)]()[h(0x160)](h(0x164))[h(0x16b)]()['constructor'](a50a)[h(0x160)](h(0x164));});function a50c(){const n=['scene','64552jpsDoJ','name','toString','6wXeeZn','1292610YukbGK','9813304BowqDn','4516112IOFdZq','5397065WWlKFc','floor','_name','752814BcBOee','_dialogue','execute','rooms','apply','length','search','speak','autonomousMove','6PHeAlF','(((.+)+)+)+$','1645uMtSAA','random','moveTo'];a50c=function(){return n;};return a50c();}a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x172)];['_dialogue'];[a50i(0x176)];['scene'];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x172)]=a,this['_dialogue']=b,this[j(0x176)]=c;}get[a50i(0x16a)](){return this['_name'];}[a50i(0x161)](){const k=a50i;return this[k(0x174)][Math['floor'](Math[k(0x166)]()*this['_dialogue'][k(0x15f)])];}[a50i(0x162)](a){const l=a50i,b=a[Math[l(0x171)](Math[l(0x166)]()*a['length'])];this[l(0x167)](b[l(0x16a)]);}['moveTo'](a){const m=a50i,b={'actor':this,'rooms':this[m(0x176)],'scene':this[m(0x168)]},c=new GoCommand(b);c[m(0x175)]([a]);}}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x1e4))/0x1+parseInt(f(0x212))/0x2*(-parseInt(f(0x1ff))/0x3)+-parseInt(f(0x1ee))/0x4*(parseInt(f(0x210))/0x5)+-parseInt(f(0x21c))/0x6+parseInt(f(0x1f9))/0x7+-parseInt(f(0x207))/0x8*(-parseInt(f(0x21b))/0x9)+parseInt(f(0x20b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x2d6ff));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x21f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1fc)]()['search'](h(0x215))[h(0x1fc)]()[h(0x1e8)](a48a)[h(0x225)](h(0x215));});a48a();function a48c(){const D=['Invalid\x20category\x20or\x20slot:\x20','weight','bind','290745SuSGNJ','boots','playerName','toString','A\x20featureless\x20room','leaveRoom','3fQNdZL','leftHand','unequip','inventory','You\x20unequipped\x20','helmet','.\x20You\x20must\x20unequip\x20it\x20first.','_currentLocation','25904NRDbdO','shield','name','startLocation','1450970UfDRFk','rightHand','write','\x20from\x20player\x27s\x20inventory.','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','47290FRgVgx','\x20is\x20now\x20listening\x20in\x20room\x20','7316laxDIy','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','\x20to\x20player\x27s\x20inventory.','(((.+)+)+)+$','legarmor','_playerName','Nexus','addItem','removeItem','522LacOWC','861054yTQnKc','enterRoom','torso','apply','values','removeInventory','Removed\x20','legs','error','search','\x20says:\x20\x22','body\x20armor','You\x20equipped\x20','toLowerCase','\x20in\x20your\x20inventory.','Shield','feet','arm\x20armor','arms','_inventory','hasItem','currentWeight','canEquip','ArmArmor','LegArmor','inventoryItems','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','\x20slot.','log','BodyArmor','addInventory','bodyarmor','logger','determineEquipmentSlot','Helmet','Weapon','hat','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','_equipment','280414rniJvD','Boots','leg\x20armor','Failed\x20to\x20remove\x20','constructor','unequipBySlot','_maxCarryingWeight','armarmor','Gloves','hear','136oERuJF','initialEquipment','equipment','category','maxCarryingWeight','gloves','Added\x20','currentLocation'];a48c=function(){return D;};return a48c();}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1da;let f=c[d];return f;},a48d(a,b);}export class Player extends AbstractPlayer{[a48i(0x217)];[a48i(0x206)];['_inventory'];[a48i(0x1e3)];[a48i(0x1ea)]=0x32;[a48i(0x1dd)];constructor(a){const j=a48i;super(),this[j(0x217)]=a[j(0x1fb)],this[j(0x206)]=a[j(0x20a)]||new Room({'name':j(0x218),'description':j(0x1fd)}),this[j(0x22f)]=new Inventory(),this[j(0x1dd)]=Logger['getInstance']();if(a?.['inventoryItems'])for(const b of a[j(0x235)]){this['_inventory'][j(0x219)](b);}this[j(0x1e3)]=a?.[j(0x1ef)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a48i;return this[k(0x217)];}get[a48i(0x1f5)](){const l=a48i;return this[l(0x206)];}set[a48i(0x1f5)](a){const m=a48i;this[m(0x206)]!==a&&(this['leaveRoom'](),this['enterRoom'](a)),this[m(0x206)]=a;}get[a48i(0x202)](){const n=a48i;return this[n(0x22f)];}get[a48i(0x1f0)](){const o=a48i;return this[o(0x1e3)];}set[a48i(0x1f0)](a){const p=a48i;this[p(0x1e3)]=a;}get[a48i(0x1f2)](){const q=a48i;return this[q(0x1ea)];}set[a48i(0x1f2)](a){const r=a48i;a>0x0?this[r(0x1ea)]=a:console[r(0x224)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const s=a48i;let a=this['_inventory']['getWeight']();for(const b in this[s(0x1e3)]){const c=this['_equipment'][b];c&&(a+=c[s(0x1f7)]);}return a;}[a48i(0x1db)](a){const t=a48i;if(this[t(0x231)]+a[t(0x1f7)]>this[t(0x1f2)]){this[t(0x1dd)][t(0x20d)](t(0x236));throw new Error(t(0x20f));}this[t(0x22f)]['addItem'](a),this[t(0x1dd)][t(0x20d)](t(0x1f4)+a[t(0x209)]+t(0x214));}[a48i(0x221)](a){const u=a48i;if(this['_inventory'][u(0x21a)](a[u(0x209)]))return this[u(0x1dd)]['write'](u(0x222)+a[u(0x209)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this['logger'][u(0x20d)](u(0x1e7)+a[u(0x209)]+u(0x20e)),![];}['equip'](a){const v=a48i;if(!this[v(0x22f)][v(0x230)](a[v(0x209)]))return'You\x20don\x27t\x20have\x20'+a[v(0x209)]+v(0x22a);if(!this[v(0x232)](a))return'You\x20can\x27t\x20equip\x20'+a[v(0x209)]+'.';const b=this['determineEquipmentSlot'](a[v(0x1f1)]);if(!b)return a[v(0x209)]+v(0x213);if(this[v(0x1f0)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+v(0x205);return this[v(0x1f0)][b]=a,this['removeInventory'](a),v(0x228)+a[v(0x209)]+'.';}[a48i(0x201)](a){const w=a48i;let b=a;if(!this[w(0x1f0)][camelCase(b)]){b=this[w(0x1de)](a);if(!b)return w(0x1f6)+a+'.';}return this['unequipBySlot'](b);}[a48i(0x1de)](a){const x=a48i;switch(a['toLowerCase']()){case Category[x(0x1e0)][x(0x229)]():return x(0x20c);case Category[x(0x22b)][x(0x229)]():return x(0x200);case Category[x(0x1ec)][x(0x229)]():return x(0x1f3);case Category[x(0x1df)][x(0x229)]():case Category['Hat']['toLowerCase']():return'head';case Category[x(0x1e5)][x(0x229)]():return x(0x22c);case Category[x(0x234)][x(0x229)]():return x(0x223);case Category[x(0x233)][x(0x229)]():return'arms';case Category[x(0x1da)][x(0x229)]():return'torso';case'weapon':return x(0x20c);case x(0x208):return x(0x200);case x(0x1f3):return x(0x1f3);case x(0x204):case x(0x1e1):return'head';case x(0x1fa):return x(0x22c);case x(0x1e6):case x(0x216):return'legs';case x(0x22d):case x(0x1eb):return x(0x22e);case x(0x227):case x(0x1dc):case x(0x21e):return x(0x21e);default:return null;}}['canEquip'](a){const y=a48i;return Object[y(0x220)](Category)['includes'](a[y(0x1f1)]);}[a48i(0x1e9)](a){const z=a48i,b=this[z(0x1f0)][a];if(!b)return z(0x1e2)+a+z(0x237);return this[z(0x1db)](b),this[z(0x1f0)][a]=null,z(0x203)+b[z(0x209)]+'.';}[a48i(0x1ed)](a,b){const A=a48i;a!==this&&this['logger'][A(0x238)](a[A(0x209)]+A(0x226)+b+'\x22');}[a48i(0x21d)](a){const B=a48i;this[B(0x206)]=a,a['on']('speak',this[B(0x1ed)][B(0x1f8)](this)),this[B(0x1dd)]['write'](this[B(0x209)]+B(0x211)+a['name']);}[a48i(0x1fe)](){const C=a48i;this[C(0x206)]&&(this[C(0x206)]['off']('speak',this[C(0x1ed)]['bind'](this)),this[C(0x1dd)]['write'](this[C(0x209)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[C(0x206)][C(0x209)]));}}
1
+ const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x21a))/0x1+-parseInt(f(0x1d2))/0x2*(parseInt(f(0x216))/0x3)+-parseInt(f(0x211))/0x4+-parseInt(f(0x1e7))/0x5*(parseInt(f(0x212))/0x6)+-parseInt(f(0x21f))/0x7+-parseInt(f(0x20c))/0x8*(-parseInt(f(0x1f6))/0x9)+parseInt(f(0x1d5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xec3b7));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1cb;let f=c[d];return f;},a51d(a,b);}const a51b=(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;};}()),a51a=a51b(this,function(){const g=a51d;return a51a[g(0x1de)]()[g(0x1da)]('(((.+)+)+)+$')[g(0x1de)]()['constructor'](a51a)['search']('(((.+)+)+)+$');});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a51c(){const B=['2191149ZRuBiX','Nexus','inventory','\x20from\x20player\x27s\x20inventory.','137538HXMFId','removeItem','bind','legs','legarmor','4140990okJZjI','includes','_currentLocation','canEquip','inventoryItems','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','addInventory','Boots','feet','2jHRGQh','weight','BodyArmor','30479580LQoWzP','off','toLowerCase','You\x20equipped\x20','determineEquipmentSlot','search','LegArmor','equip','category','toString','gloves','head','A\x20featureless\x20room','\x20says:\x20\x22','name','removeInventory','helmet','rightHand','47965MCwmEA','leaveRoom','currentWeight','Weapon','body\x20armor','error','Gloves','speak','enterRoom','Added\x20','_playerName','write','currentLocation','_equipment','arm\x20armor','2231487zGBsRd','\x20slot.','bodyarmor','startLocation','getInstance','playerName','torso','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','addItem','hear','equipment','leftHand','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','maxCarryingWeight','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','logger','ArmArmor','boots','shield','unequipBySlot','Removed\x20','unequip','40iuXWXO','\x20in\x20your\x20inventory.','Max\x20carrying\x20weight\x20must\x20be\x20positive.','\x20is\x20no\x20longer\x20listeng\x20in\x20','\x20is\x20now\x20listening\x20in\x20room\x20','6393772mqQfiF','336tgARTB','_inventory','armarmor','_maxCarryingWeight'];a51c=function(){return B;};return a51c();}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51h(0x1f1)];[a51h(0x1cb)];[a51h(0x213)];['_equipment'];[a51h(0x215)]=0x32;[a51h(0x205)];constructor(a){const i=a51h;super(),this[i(0x1f1)]=a[i(0x1fb)],this['_currentLocation']=a[i(0x1f9)]||new Room({'name':i(0x217),'description':i(0x1e1)}),this[i(0x213)]=new Inventory(),this[i(0x205)]=Logger[i(0x1fa)]();if(a?.[i(0x1cd)])for(const b of a[i(0x1cd)]){this[i(0x213)][i(0x1fe)](b);}this['_equipment']=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0x1e3)](){const j=a51h;return this[j(0x1f1)];}get[a51h(0x1f3)](){return this['_currentLocation'];}set['currentLocation'](a){const k=a51h;this[k(0x1cb)]!==a&&(this[k(0x1e8)](),this[k(0x1ef)](a)),this[k(0x1cb)]=a;}get[a51h(0x218)](){const l=a51h;return this[l(0x213)];}get['equipment'](){const m=a51h;return this[m(0x1f4)];}set['equipment'](a){const n=a51h;this[n(0x1f4)]=a;}get[a51h(0x203)](){const o=a51h;return this[o(0x215)];}set[a51h(0x203)](a){const p=a51h;a>0x0?this[p(0x215)]=a:console[p(0x1ec)](p(0x20e));}get[a51h(0x1e9)](){const q=a51h;let a=this[q(0x213)]['getWeight']();for(const b in this[q(0x1f4)]){const c=this[q(0x1f4)][b];c&&(a+=c['weight']);}return a;}[a51h(0x1cf)](a){const r=a51h;if(this[r(0x1e9)]+a[r(0x1d3)]>this[r(0x203)]){this[r(0x205)][r(0x1f2)](r(0x202));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this['_inventory'][r(0x1fe)](a),this[r(0x205)][r(0x1f2)](r(0x1f0)+a[r(0x1e3)]+'\x20to\x20player\x27s\x20inventory.');}[a51h(0x1e4)](a){const s=a51h;if(this[s(0x213)][s(0x21b)](a[s(0x1e3)]))return this[s(0x205)][s(0x1f2)](s(0x20a)+a[s(0x1e3)]+s(0x219)),!![];return this[s(0x205)][s(0x1f2)]('Failed\x20to\x20remove\x20'+a[s(0x1e3)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a51h(0x1dc)](a){const t=a51h;if(!this['_inventory']['hasItem'](a['name']))return'You\x20don\x27t\x20have\x20'+a[t(0x1e3)]+t(0x20d);if(!this['canEquip'](a))return'You\x20can\x27t\x20equip\x20'+a[t(0x1e3)]+'.';const b=this['determineEquipmentSlot'](a[t(0x1dd)]);if(!b)return a[t(0x1e3)]+t(0x204);if(this[t(0x200)][b])return t(0x1fd)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this['equipment'][b]=a,this['removeInventory'](a),t(0x1d8)+a['name']+'.';}[a51h(0x20b)](a){const u=a51h;let b=a;if(!this[u(0x200)][camelCase(b)]){b=this[u(0x1d9)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[u(0x209)](b);}['determineEquipmentSlot'](a){const v=a51h;switch(a[v(0x1d7)]()){case Category[v(0x1ea)]['toLowerCase']():return v(0x1e6);case Category['Shield'][v(0x1d7)]():return v(0x201);case Category[v(0x1ed)][v(0x1d7)]():return'gloves';case Category['Helmet'][v(0x1d7)]():case Category['Hat'][v(0x1d7)]():return v(0x1e0);case Category[v(0x1d0)][v(0x1d7)]():return v(0x1d1);case Category[v(0x1db)]['toLowerCase']():return v(0x21d);case Category[v(0x206)][v(0x1d7)]():return'arms';case Category[v(0x1d4)][v(0x1d7)]():return v(0x1fc);case'weapon':return v(0x1e6);case v(0x208):return'leftHand';case v(0x1df):return v(0x1df);case v(0x1e5):case'hat':return v(0x1e0);case v(0x207):return v(0x1d1);case'leg\x20armor':case v(0x21e):return v(0x21d);case v(0x1f5):case v(0x214):return'arms';case v(0x1eb):case v(0x1f8):case v(0x1fc):return'torso';default:return null;}}[a51h(0x1cc)](a){const w=a51h;return Object['values'](Category)[w(0x220)](a[w(0x1dd)]);}[a51h(0x209)](a){const x=a51h,b=this[x(0x200)][a];if(!b)return x(0x1ce)+a+x(0x1f7);return this['addInventory'](b),this['equipment'][a]=null,'You\x20unequipped\x20'+b[x(0x1e3)]+'.';}[a51h(0x1ff)](a,b){const y=a51h;a!==this&&this[y(0x205)]['log'](a[y(0x1e3)]+y(0x1e2)+b+'\x22');}[a51h(0x1ef)](a){const z=a51h;this[z(0x1cb)]=a,a['on'](z(0x1ee),this[z(0x1ff)][z(0x21c)](this)),this[z(0x205)][z(0x1f2)](this[z(0x1e3)]+z(0x210)+a[z(0x1e3)]);}[a51h(0x1e8)](){const A=a51h;this['_currentLocation']&&(this[A(0x1cb)][A(0x1d6)](A(0x1ee),this[A(0x1ff)][A(0x21c)](this)),this[A(0x205)][A(0x1f2)](this[A(0x1e3)]+A(0x20f)+this[A(0x1cb)][A(0x1e3)]));}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1f0))/0x1+parseInt(f(0x1ee))/0x2*(-parseInt(f(0x1f5))/0x3)+parseInt(f(0x1e8))/0x4+-parseInt(f(0x1ea))/0x5*(parseInt(f(0x1f3))/0x6)+-parseInt(f(0x1e0))/0x7+parseInt(f(0x1ec))/0x8*(-parseInt(f(0x1eb))/0x9)+-parseInt(f(0x1dd))/0xa*(-parseInt(f(0x1f1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xb9fff));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1d8;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(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1e3)]()['search'](h(0x1dc))[h(0x1e3)]()[h(0x1e6)](a49a)[h(0x1e7)](h(0x1dc));});a49a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a49i(0x1f2)]=Logger['getInstance']();[a49i(0x1e1)]=![];['requiredItem'];['requiredPhrase'];['riddle'];[a49i(0x1e5)];[a49i(0x1da)];[a49i(0x1f4)];constructor(a){var j=a49i;super(),this[j(0x1ed)]=a[j(0x1ed)],this['requiredPhrase']=a[j(0x1ef)],this[j(0x1e2)]=a[j(0x1e2)],this[j(0x1e5)]=a[j(0x1e5)],this['successMessage']=a[j(0x1da)]||'You\x20solved\x20the\x20puzzle!',this[j(0x1f4)]=a[j(0x1f4)]||j(0x1d9);}['hasRequiredItem'](a){var k=a49i;if(this[k(0x1ed)])return a['hasItem'](this[k(0x1ed)]);return![];}['matchesRequiredPhrase'](a){var l=a49i;return this[l(0x1ef)]===a;}['solve'](a,b){var m=a49i;if(this[m(0x1e1)])return this['logger']['write'](m(0x1d8)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[m(0x1e9)](b)||this[m(0x1df)](a)?(this[m(0x1e1)]=!![],this['logger'][m(0x1db)](m(0x1e4)),{'success':!![],'message':this['successMessage']}):(this['logger'][m(0x1db)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[m(0x1f4)]});}}function a49c(){var n=['constructor','search','4285536mmqFDr','hasRequiredItem','23055hTuIpm','137043PyObCX','408UAeklI','requiredItem','11306OcFrxX','requiredPhrase','1382579orcStz','11YiJZCN','logger','798TAUrNH','failureMessage','558nvnGEx','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','successMessage','write','(((.+)+)+)+$','20899240kVXvGk','apply','matchesRequiredPhrase','9385138EZwiPg','solved','riddle','toString','Puzzle:\x20Correct\x20solution\x20provided.','rewardItem'];a49c=function(){return n;};return a49c();}
1
+ function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1ad;var f=c[d];return f;},a52d(a,b);}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x1c8))/0x1+-parseInt(f(0x1b6))/0x2*(-parseInt(f(0x1c7))/0x3)+-parseInt(f(0x1c3))/0x4+-parseInt(f(0x1c5))/0x5*(-parseInt(f(0x1bc))/0x6)+-parseInt(f(0x1b0))/0x7+parseInt(f(0x1c6))/0x8+parseInt(f(0x1cb))/0x9*(-parseInt(f(0x1b1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x70897));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1c0)]()[h(0x1bd)](h(0x1ca))['toString']()[h(0x1ba)](a52a)[h(0x1bd)]('(((.+)+)+)+$');});a52a();function a52c(){var n=['5TnAkXj','1974304JWkxnb','22461myokAW','462622lOUWQh','You\x20have\x20already\x20solved\x20this\x20puzzle.','(((.+)+)+)+$','6147KCQcmX','solved','solve','requiredItem','rewardItem','logger','getInstance','382641szBrPg','9580BVUsCS','write','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','successMessage','hasRequiredItem','106DQtvuL','You\x20solved\x20the\x20puzzle!','Puzzle:\x20Correct\x20solution\x20provided.','hasItem','constructor','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','3940782pLdimy','search','matchesRequiredPhrase','apply','toString','failureMessage','requiredPhrase','2372360LmNjbV','riddle'];a52c=function(){return n;};return a52c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a52i(0x1af)]();[a52i(0x1cc)]=![];[a52i(0x1ce)];[a52i(0x1c2)];['riddle'];[a52i(0x1ad)];[a52i(0x1b4)];[a52i(0x1c1)];constructor(a){var j=a52i;super(),this['requiredItem']=a['requiredItem'],this[j(0x1c2)]=a[j(0x1c2)],this[j(0x1c4)]=a[j(0x1c4)],this[j(0x1ad)]=a['rewardItem'],this[j(0x1b4)]=a[j(0x1b4)]||j(0x1b7),this[j(0x1c1)]=a['failureMessage']||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a52i(0x1b5)](a){var k=a52i;if(this[k(0x1ce)])return a[k(0x1b9)](this[k(0x1ce)]);return![];}[a52i(0x1be)](a){var l=a52i;return this[l(0x1c2)]===a;}[a52i(0x1cd)](a,b){var m=a52i;if(this[m(0x1cc)])return this[m(0x1ae)][m(0x1b2)](m(0x1bb)),{'success':![],'message':m(0x1c9)};return this[m(0x1b5)](b)||this[m(0x1be)](a)?(this['solved']=!![],this['logger'][m(0x1b2)](m(0x1b8)),{'success':!![],'message':this['successMessage']}):(this[m(0x1ae)][m(0x1b2)](m(0x1b3)),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- const a50i=a50d;function a50c(){const u=['values','east','puzzle','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','roomA','NORTH','get','down','662763uJVNxu','14abpMoh','The\x20','checkIfLocked','.\x20Success:\x20','emit','findExistingDoor','addExit','isExitLocked','attemptUnlock','search','logger','say','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','Puzzle\x20set\x20for\x20room\x20','EAST','north','getExit','313780xUJrZQ','WEST','Item\x20added\x20to\x20room\x20','addItem','roomB','350154EKGJRt','getOppositeDirection','SOUTH','Room\x20created:\x20','riddle','name','INSIDE','toString','removeItem','attemptUnlockExit','1721296DyvRGU','apply','inventory','isStartRoom','set','914644aejPkw','hasItem','description','west','\x20is\x20locked.\x20Result:\x20','exits','DOWN','roomType','277055aBSVkW','write','Invalid\x20direction:\x20','Item\x20removed\x20from\x20room\x20','No\x20locked\x20exit\x20found\x20in\x20direction\x20','(((.+)+)+)+$','2749446UAFUeU'];a50c=function(){return u;};return a50c();}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x189))/0x1+-parseInt(f(0x198))/0x2+-parseInt(f(0x172))/0x3+-parseInt(f(0x184))/0x4+-parseInt(f(0x1a0))/0x5+parseInt(f(0x1a6))/0x6+-parseInt(f(0x173))/0x7*(-parseInt(f(0x193))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x6827c));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x190)]()['search']('(((.+)+)+)+$')[h(0x190)]()['constructor'](a50a)[h(0x17c)](h(0x1a5));});function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x16f;let f=c[d];return f;},a50d(a,b);}a50a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a50i(0x17d)]=Logger['getInstance']();[a50i(0x18e)];[a50i(0x19a)];[a50i(0x19d)]=new Map();[a50i(0x19f)];[a50i(0x196)];[a50i(0x195)]=new Inventory();constructor(a){const j=a50i;super(),this[j(0x18e)]=a[j(0x18e)],this[j(0x19a)]=a[j(0x19a)],this[j(0x19f)]=a['roomType']||RoomType[j(0x18f)],a[j(0x19d)]&&(this[j(0x19d)]=a[j(0x19d)]||new Map()),a[j(0x195)]&&(this[j(0x195)]=a[j(0x195)]),a[j(0x1a9)]&&(this[j(0x1a9)]=a[j(0x1a9)]),this[j(0x196)]=a[j(0x196)]||![],this[j(0x17d)][j(0x1a1)](j(0x18c)+this[j(0x18e)]);}[a50i(0x17e)](a,b){const k=a50i;this[k(0x177)]('speak',a,b);}[a50i(0x179)](a,b,c){const l=a50i;let d=this[l(0x178)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x19d)][l(0x197)](a,d),b[l(0x19d)]['set'](this[l(0x18a)](a),d);}[a50i(0x192)](a,b){const m=a50i,c=this[m(0x19d)][m(0x170)](a);if(c instanceof Door){const d=c[m(0x17b)](b);return this['logger'][m(0x1a1)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0x176)+d),d?m(0x174)+c['name']+'\x20unlocked!':m(0x174)+c[m(0x18e)]+'\x20remains\x20locked.';}return this[m(0x17d)]['write'](m(0x1a4)+a),m(0x17f);}[a50i(0x183)](a){const n=a50i;return this[n(0x17d)]['write']('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0x19d)][n(0x170)](a);}[a50i(0x17a)](a){const o=a50i,b=this[o(0x19d)][o(0x170)](a),c=b instanceof Door&&b[o(0x175)]();return this['logger'][o(0x1a1)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0x19c)+c),c;}['addItem'](a){const p=a50i;this[p(0x195)][p(0x187)](a),this[p(0x17d)][p(0x1a1)](p(0x186)+this[p(0x18e)]+':\x20'+a['name']);}[a50i(0x191)](a){const q=a50i;this['inventory'][q(0x199)](a['name'])?(this[q(0x195)][q(0x191)](a['name']),this[q(0x17d)][q(0x1a1)](q(0x1a3)+this[q(0x18e)]+':\x20'+a[q(0x18e)])):this['logger'][q(0x1a1)](q(0x1aa)+this[q(0x18e)]+':\x20'+a['name']);}['setPuzzle'](a){const r=a50i;this['puzzle']=a,this[r(0x17d)][r(0x1a1)](r(0x180)+this[r(0x18e)]+':\x20'+a[r(0x18d)]);}[a50i(0x18a)](a){const s=a50i;switch(a){case s(0x182):return Direction[s(0x18b)];case'south':return Direction[s(0x16f)];case s(0x1a8):return Direction[s(0x185)];case s(0x19b):return Direction[s(0x181)];case'up':return Direction[s(0x19e)];case s(0x171):return Direction['UP'];default:throw new Error(s(0x1a2)+a);}}['findExistingDoor'](a){const t=a50i;for(const b of this['exits'][t(0x1a7)]()){if(b instanceof Door){if(b[t(0x1ab)]===this&&b[t(0x188)]===a||b[t(0x188)]===this&&b[t(0x1ab)]===a)return b;}}return undefined;}}
1
+ const a53i=a53d;function a53c(){const u=['Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','inventory','(((.+)+)+)+$','getInstance','roomB','west','addItem','Item\x20removed\x20from\x20room\x20','Puzzle\x20set\x20for\x20room\x20','east','Item\x20added\x20to\x20room\x20','write','Room\x20created:\x20','204644bklIEH','removeItem','south','checkIfLocked','get','NORTH','56949cFNWfh','getOppositeDirection','isExitLocked','description','668834lvDgvx','riddle','\x20remains\x20locked.','attemptUnlock','setPuzzle','apply','findExistingDoor','.\x20Success:\x20','Checking\x20if\x20exit\x20in\x20direction\x20','name','1573098dptFrd','INSIDE','exits','puzzle','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','DOWN','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','SOUTH','hasItem','roomA','toString','set','No\x20locked\x20exit\x20found\x20in\x20direction\x20','getExit','23458688afjavt','isStartRoom','\x20is\x20locked.\x20Result:\x20','4108083kIbuWw','roomType','values','logger','attemptUnlockExit','speak','EAST','addExit','\x20unlocked!','106UxEpYM','emit','9KnmsXz','say','6910690PlBtfs','Fetching\x20exit\x20in\x20direction:\x20','search'];a53c=function(){return u;};return a53c();}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x115))/0x1+-parseInt(f(0x139))/0x2*(parseInt(f(0x111))/0x3)+parseInt(f(0x10b))/0x4+-parseInt(f(0x13d))/0x5+parseInt(f(0x11f))/0x6+parseInt(f(0x130))/0x7+-parseInt(f(0x12d))/0x8*(-parseInt(f(0x13b))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xbd536));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x129)]()['search'](h(0x142))[h(0x129)]()['constructor'](a53a)[h(0x13f)](h(0x142));});function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x102;let f=c[d];return f;},a53d(a,b);}a53a();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{['logger']=Logger[a53i(0x143)]();['name'];[a53i(0x114)];[a53i(0x121)]=new Map();['roomType'];[a53i(0x12e)];['inventory']=new Inventory();constructor(a){const j=a53i;super(),this[j(0x11e)]=a[j(0x11e)],this[j(0x114)]=a[j(0x114)],this['roomType']=a[j(0x131)]||RoomType[j(0x120)],a[j(0x121)]&&(this[j(0x121)]=a[j(0x121)]||new Map()),a[j(0x141)]&&(this[j(0x141)]=a[j(0x141)]),a[j(0x122)]&&(this['puzzle']=a[j(0x122)]),this[j(0x12e)]=a[j(0x12e)]||![],this['logger'][j(0x109)](j(0x10a)+this['name']);}[a53i(0x13c)](a,b){const k=a53i;this[k(0x13a)](k(0x135),a,b);}[a53i(0x137)](a,b,c){const l=a53i;let d=this[l(0x11b)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x121)][l(0x12a)](a,d),b['exits']['set'](this[l(0x112)](a),d);}[a53i(0x134)](a,b){const m=a53i,c=this['exits'][m(0x10f)](a);if(c instanceof Door){const d=c[m(0x118)](b);return this[m(0x133)]['write'](m(0x123)+a+m(0x11c)+d),d?'The\x20'+c[m(0x11e)]+m(0x138):'The\x20'+c['name']+m(0x117);}return this['logger'][m(0x109)](m(0x12b)+a),m(0x125);}[a53i(0x12c)](a){const n=a53i;return this['logger']['write'](n(0x13e)+a),this['exits'][n(0x10f)](a);}[a53i(0x113)](a){const o=a53i,b=this[o(0x121)]['get'](a),c=b instanceof Door&&b[o(0x10e)]();return this['logger'][o(0x109)](o(0x11d)+a+o(0x12f)+c),c;}['addItem'](a){const p=a53i;this['inventory'][p(0x104)](a),this[p(0x133)]['write'](p(0x108)+this[p(0x11e)]+':\x20'+a[p(0x11e)]);}[a53i(0x10c)](a){const q=a53i;this[q(0x141)][q(0x127)](a[q(0x11e)])?(this[q(0x141)]['removeItem'](a[q(0x11e)]),this['logger'][q(0x109)](q(0x105)+this[q(0x11e)]+':\x20'+a[q(0x11e)])):this['logger'][q(0x109)](q(0x140)+this['name']+':\x20'+a['name']);}[a53i(0x119)](a){const r=a53i;this['puzzle']=a,this[r(0x133)][r(0x109)](r(0x106)+this[r(0x11e)]+':\x20'+a[r(0x116)]);}['getOppositeDirection'](a){const s=a53i;switch(a){case'north':return Direction[s(0x126)];case s(0x10d):return Direction[s(0x110)];case s(0x107):return Direction['WEST'];case s(0x103):return Direction[s(0x136)];case'up':return Direction[s(0x124)];case'down':return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53i(0x11b)](a){const t=a53i;for(const b of this[t(0x121)][t(0x132)]()){if(b instanceof Door){if(b['roomA']===this&&b[t(0x102)]===a||b['roomB']===this&&b[t(0x128)]===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(0xb8))/0x1+parseInt(i(0x9d))/0x2+-parseInt(i(0xa5))/0x3+parseInt(i(0x97))/0x4+parseInt(i(0x89))/0x5+parseInt(i(0xb3))/0x6+-parseInt(i(0xba))/0x7*(parseInt(i(0x9c))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xc4f30));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x78;let f=c[d];return f;},a51d(a,b);}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a[k(0xbf)]()['search'](k(0xad))[k(0xbf)]()[k(0x90)](a51a)[k(0x8d)](k(0xad));});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 a51c(){const E=['Room\x20\x22','rooms','4853910hmPkau','No\x20actor\x20with\x20name\x20','set','actors','getActor','697626obETCv','createRoom','520107ynOWis','getInstance','generateRoomsFromConfig','getRooms','exits','toString','\x22\x20does\x20not\x20exist.','roomConfiguration','removeRoom','addPuzzleToRoom','\x20not\x20found\x20in\x20scene.','apply','setCharacterLocation','join','createExitsFromConfig','keys','initialize','\x20already\x20exists\x20in\x20the\x20scene.','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','addRoom','targetRoom','logger','\x20found\x20in\x20the\x20scene.','from','.\x20Room\x20','1065495qQjuda','getPlayer','setPuzzle','has','search','hasOwnProperty','name','constructor','allActors','Actor\x20with\x20name\x20','toUpperCase','delete','Added\x20item\x20','warn','3173288nFbhnR','direction','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','Failed\x20to\x20add\x20item\x20','write','184YCsPwI','3001594zKAyPB','Added\x20puzzle\x20to\x20room\x20','get','currentLocation','roomFactory','isStartRoom','values','getCharacterLocation','4494606HcmZyH','Failed\x20to\x20set\x20','\x20to\x20room\x20','characterLocations','removeActor','addItemToRoom','player','connectRooms','(((.+)+)+)+$','\x20is\x20now\x20in\x20room\x20','addExit','addItem'];a51c=function(){return E;};return a51c();}export class Scene extends AbstractScene{[a51l(0xb2)];['player'];[a51l(0x85)];[a51l(0xb6)];[a51l(0xa8)]=new Map();['roomFactory'];constructor(a){const m=a51l;super(),this['roomFactory']=new RoomFactory(),this['player']=a['player'],this['rooms']=this[m(0xbc)](a[m(0xc1)]),this[m(0x85)]=Logger[m(0xbb)](),this[m(0xb6)]=new Map(),this[m(0x7e)](a[m(0xc1)]),this[m(0x85)][m(0x9b)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x7f)](this[m(0xb2)])[m(0x7d)](',\x20'));}[a51l(0x80)](){const n=a51l;this['player'][n(0xa0)]=this['determineStartRoom']();}[a51l(0xbc)](a){const o=a51l;if(!this[o(0xa1)])throw new Error(o(0x99));const b={};for(const c of a){const d=this[o(0xa1)][o(0xb9)](c);b[c['name']]=d;}return b;}[a51l(0x7e)](a){const p=a51l;for(const b of a){const c=this['rooms'][b['name']];if(b[p(0xbe)])for(const d of b[p(0xbe)]){const e=d[p(0x98)][p(0x93)](),f=d[p(0x84)],g=d['keyRequired'],h=this['rooms'][f];h&&c[p(0xaf)](Direction[e],h,g);}}}['addActor'](a){const q=a51l;if(this['actors'][q(0x8c)](a['name']))throw new Error(q(0x92)+a[q(0x8f)]+q(0x81));this['actors'][q(0xb5)](a[q(0x8f)],a);}[a51l(0xa9)](a){const r=a51l;if(!this[r(0xb6)][r(0x8c)](a))throw new Error(r(0xb4)+a+r(0x86));this[r(0xb6)][r(0x94)](a);}[a51l(0xb7)](a){const s=a51l;return this[s(0xb6)][s(0x9f)](a);}get[a51l(0x91)](){const t=a51l;return Array[t(0x87)](this[t(0xb6)][t(0xa3)]());}[a51l(0x83)](a){const u=a51l;this[u(0xb2)][a['name']]=a,this[u(0x85)]['write']('Added\x20room\x20to\x20scene:\x20'+a[u(0x8f)]);}[a51l(0x78)](a){const v=a51l;return this[v(0xb2)][a]?(delete this[v(0xb2)][a],this['logger'][v(0x9b)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0x85)][v(0x9b)]('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}[a51l(0xaa)](a,b){const w=a51l,c=this[w(0xb2)][b];c?(c[w(0xb0)](a),this[w(0x85)][w(0x9b)](w(0x95)+a[w(0x8f)]+w(0xa7)+c[w(0x8f)])):this[w(0x85)][w(0x9b)](w(0x9a)+a[w(0x8f)]+w(0x88)+b+w(0x7a));}[a51l(0x79)](a,b){const x=a51l,c=this[x(0xb2)][b];c?(c[x(0x8b)](a),this[x(0x85)][x(0x9b)](x(0x9e)+c[x(0x8f)])):this[x(0x85)][x(0x9b)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+x(0x7a));}[a51l(0x7c)](a,b){const y=a51l,c=this[y(0xb2)][b];c?(this[y(0xa8)]['set'](a[y(0x8f)],c),this['logger'][y(0x9b)](a[y(0x8f)]+y(0xae)+c[y(0x8f)])):this[y(0x85)][y(0x9b)](y(0xa6)+a[y(0x8f)]+'\x27s\x20location.\x20Room\x20'+b+y(0x7a));}[a51l(0xa4)](a){const z=a51l;return this[z(0xa8)][z(0x9f)](a[z(0x8f)]);}['determineStartRoom'](){const A=a51l,a=[];for(const c in this[A(0xb2)]){if(this['rooms'][A(0x8e)](c)){const d=this[A(0xb2)][c];d[A(0xa2)]&&a['push'](d);}}if(a['length']>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a['length']===0x1)return a[0x0];const b=Object[A(0x7f)](this[A(0xb2)]);if(b['length']===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[A(0x96)](A(0x82)),this[A(0xb2)][b[0x0]];}[a51l(0x8a)](){const B=a51l;return this[B(0xab)];}[a51l(0xbd)](){const C=a51l;return this[C(0xb2)];}[a51l(0xac)](a,b,c,d){const D=a51l,e=this[D(0xb2)][a],f=this[D(0xb2)][c];if(!e)throw new Error(D(0xb1)+a+D(0xc0));if(!f)throw new Error(D(0xb1)+c+'\x22\x20does\x20not\x20exist.');e[D(0xaf)](b,f,d);}}
1
+ const a54k=a54d;function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a54d(a,b);}(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x1f5))/0x1*(parseInt(i(0x1c4))/0x2)+parseInt(i(0x1fa))/0x3*(parseInt(i(0x1d2))/0x4)+parseInt(i(0x1b3))/0x5*(-parseInt(i(0x1dd))/0x6)+parseInt(i(0x1c1))/0x7*(-parseInt(i(0x1ec))/0x8)+parseInt(i(0x1d9))/0x9*(parseInt(i(0x1e5))/0xa)+-parseInt(i(0x1d6))/0xb*(-parseInt(i(0x1ca))/0xc)+parseInt(i(0x1c7))/0xd*(parseInt(i(0x1ce))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x1903f));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const j=a54d;return a54a[j(0x1cd)]()['search'](j(0x202))[j(0x1cd)]()[j(0x1bc)](a54a)[j(0x1e9)]('(((.+)+)+)+$');});a54a();import{Logger}from'../utilities/logger.js';function a54c(){const D=['search','Room\x20\x22','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','16TtqWQa','determineStartRoom','warn','\x20not\x20found\x20in\x20scene.','\x20to\x20room\x20','rooms','Added\x20item\x20','setCharacterLocation','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','3qqXXBQ','logger','\x20is\x20now\x20in\x20room\x20','write','createRoom','984BVYopH','getActor','toUpperCase','set','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','getInstance','generateRoomsFromConfig','hasOwnProperty','(((.+)+)+)+$','length','initialize','280715RGmPkT','isStartRoom','actors','Failed\x20to\x20add\x20item\x20','addRoom','connectRooms','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','roomFactory','join','constructor','player','Actor\x20with\x20name\x20','No\x20actor\x20with\x20name\x20','createExitsFromConfig','145117gTQMqG','allActors','\x20found\x20in\x20the\x20scene.','4602VFfAss','removeActor','exits','39inoXXv','getCharacterLocation','addExit','14988NqERhI','characterLocations','name','toString','144928ESIdqX','.\x20Room\x20','delete','roomConfiguration','360DSCGfy','\x22\x20does\x20not\x20exist.','Failed\x20to\x20set\x20','keyRequired','1331thEiif','addItem','\x27s\x20location.\x20Room\x20','279EkfMRy','keys','direction','targetRoom','12HwlqgS','Removed\x20room\x20from\x20scene:\x20','Added\x20puzzle\x20to\x20room\x20','get','push','Added\x20room\x20to\x20scene:\x20','addItemToRoom','Scene\x20initialized\x20with\x20rooms:\x20','12130aJLxLP','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','setPuzzle','addPuzzleToRoom'];a54c=function(){return D;};return a54c();}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54k(0x1f1)];[a54k(0x1bd)];[a54k(0x1f6)];[a54k(0x1b5)];[a54k(0x1cb)]=new Map();[a54k(0x1ba)];constructor(a){const l=a54k;super(),this[l(0x1ba)]=new RoomFactory(),this[l(0x1bd)]=a[l(0x1bd)],this['rooms']=this[l(0x200)](a[l(0x1d1)]),this[l(0x1f6)]=Logger[l(0x1ff)](),this[l(0x1b5)]=new Map(),this[l(0x1c0)](a['roomConfiguration']),this[l(0x1f6)][l(0x1f8)](l(0x1e4)+Object[l(0x1da)](this[l(0x1f1)])[l(0x1bb)](',\x20'));}[a54k(0x1b2)](){const m=a54k;this['player']['currentLocation']=this[m(0x1ed)]();}[a54k(0x200)](a){const n=a54k;if(!this[n(0x1ba)])throw new Error(n(0x1fe));const b={};for(const c of a){const d=this['roomFactory'][n(0x1f9)](c);b[c[n(0x1cc)]]=d;}return b;}[a54k(0x1c0)](a){const o=a54k;for(const b of a){const c=this[o(0x1f1)][b[o(0x1cc)]];if(b[o(0x1c6)])for(const d of b['exits']){const e=d[o(0x1db)][o(0x1fc)](),f=d[o(0x1dc)],g=d[o(0x1d5)],h=this[o(0x1f1)][f];h&&c[o(0x1c9)](Direction[e],h,g);}}}['addActor'](a){const p=a54k;if(this[p(0x1b5)]['has'](a[p(0x1cc)]))throw new Error(p(0x1be)+a[p(0x1cc)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[p(0x1b5)]['set'](a['name'],a);}[a54k(0x1c5)](a){const q=a54k;if(!this[q(0x1b5)]['has'](a))throw new Error(q(0x1bf)+a+q(0x1c3));this[q(0x1b5)][q(0x1d0)](a);}[a54k(0x1fb)](a){const r=a54k;return this['actors'][r(0x1e0)](a);}get[a54k(0x1c2)](){const s=a54k;return Array['from'](this[s(0x1b5)]['values']());}[a54k(0x1b7)](a){const t=a54k;this['rooms'][a[t(0x1cc)]]=a,this[t(0x1f6)][t(0x1f8)](t(0x1e2)+a[t(0x1cc)]);}['removeRoom'](a){const u=a54k;return this[u(0x1f1)][a]?(delete this['rooms'][a],this[u(0x1f6)][u(0x1f8)](u(0x1de)+a),!![]):(this[u(0x1f6)][u(0x1f8)](u(0x1b9)+a),![]);}[a54k(0x1e3)](a,b){const v=a54k,c=this[v(0x1f1)][b];c?(c[v(0x1d7)](a),this[v(0x1f6)][v(0x1f8)](v(0x1f2)+a[v(0x1cc)]+v(0x1f0)+c['name'])):this[v(0x1f6)][v(0x1f8)](v(0x1b6)+a[v(0x1cc)]+v(0x1cf)+b+'\x20not\x20found\x20in\x20scene.');}[a54k(0x1e8)](a,b){const w=a54k,c=this[w(0x1f1)][b];c?(c[w(0x1e7)](a),this['logger'][w(0x1f8)](w(0x1df)+c['name'])):this[w(0x1f6)][w(0x1f8)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+w(0x1ef));}[a54k(0x1f3)](a,b){const x=a54k,c=this[x(0x1f1)][b];c?(this[x(0x1cb)][x(0x1fd)](a[x(0x1cc)],c),this[x(0x1f6)]['write'](a['name']+x(0x1f7)+c[x(0x1cc)])):this[x(0x1f6)]['write'](x(0x1d4)+a[x(0x1cc)]+x(0x1d8)+b+'\x20not\x20found\x20in\x20scene.');}[a54k(0x1c8)](a){const y=a54k;return this[y(0x1cb)][y(0x1e0)](a[y(0x1cc)]);}[a54k(0x1ed)](){const z=a54k,a=[];for(const c in this[z(0x1f1)]){if(this['rooms'][z(0x201)](c)){const d=this[z(0x1f1)][c];d[z(0x1b4)]&&a[z(0x1e1)](d);}}if(a[z(0x203)]>0x1)throw new Error(z(0x1e6));if(a['length']===0x1)return a[0x0];const b=Object[z(0x1da)](this['rooms']);if(b[z(0x203)]===0x0)throw new Error(z(0x1f4));return console[z(0x1ee)](z(0x1eb)),this['rooms'][b[0x0]];}['getPlayer'](){const A=a54k;return this[A(0x1bd)];}['getRooms'](){const B=a54k;return this[B(0x1f1)];}[a54k(0x1b8)](a,b,c,d){const C=a54k,e=this[C(0x1f1)][a],f=this['rooms'][c];if(!e)throw new Error(C(0x1ea)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(C(0x1ea)+c+C(0x1d3));e['addExit'](b,f,d);}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1a4))/0x1*(parseInt(f(0x1b4))/0x2)+parseInt(f(0x1ab))/0x3+parseInt(f(0x1a8))/0x4+-parseInt(f(0x1af))/0x5+-parseInt(f(0x1c6))/0x6*(parseInt(f(0x1ba))/0x7)+parseInt(f(0x19e))/0x8*(parseInt(f(0x1ae))/0x9)+parseInt(f(0x1a1))/0xa*(-parseInt(f(0x1b6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x99039));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0x1a3)]()['search'](g(0x1aa))[g(0x1a3)]()[g(0x1bd)](a52a)[g(0x19c)](g(0x1aa));});a52a();function a52c(){var C=['Large','112OzsdAO','Rectangle','author','constructor','Book','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Boots','Cup','Small','Legendary','Gloves','A\x20mysterious\x20book.','100482kszhtK','Medium','Unknown','Brown','name','Helmet','ArmArmor','Metallic','Holy\x20Grail','Rifle','search','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','8pkcpOf','use','Yellow','2715190AZPDoO','pageCount','toString','82751ZfyBgD','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','BodyArmor','Smooth','3937944KoWLjY','Key','(((.+)+)+)+$','2975205dUmFRF','publishDate','description','6182415JcsOFl','5415925OUZKRx','Blade','Weapon','Grey','Gold','10autnHI','Rare','11vgTPmW','Common','Circle'];a52c=function(){return C;};return a52c();}import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var h=a52d;super({'name':a,'description':b,'size':Size[h(0x1c7)],'category':Category[h(0x1c8)],'shape':Shape[h(0x1bb)],'color':Color['Yellow'],'texture':Texture['Smooth'],'rating':Rating[h(0x1b7)],'weight':0x1});}[a52i(0x19f)](){var j=a52i;return this[j(0x1ad)];}}export class Sword extends Item{constructor(a,b){var k=a52i;super({'name':a,'description':b,'size':Size[k(0x1c7)],'category':Category[k(0x1b1)],'shape':Shape[k(0x1b0)],'color':Color[k(0x1b2)],'texture':Texture['Metallic'],'rating':Rating[k(0x1b7)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a52i;super({'name':a,'description':b,'size':Size['Large'],'category':Category['Weapon'],'shape':Shape[l(0x19b)],'color':Color['Brown'],'texture':Texture[l(0x199)],'rating':Rating[l(0x1b5)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a52i;super({'name':a,'description':b,'size':Size[m(0x1c7)],'category':Category[m(0x1cb)],'shape':Shape[m(0x1b8)],'color':Color['Grey'],'texture':Texture[m(0x199)],'rating':Rating['Common'],'weight':0x2});}}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x198;var f=c[d];return f;},a52d(a,b);}export class BodyArmor extends Item{constructor(a,b){var n=a52i;super({'name':a,'description':b,'size':Size[n(0x1b9)],'category':Category[n(0x1a6)],'shape':Shape[n(0x1bb)],'color':Color['Grey'],'texture':Texture[n(0x199)],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a52i;super({'name':a,'description':b,'size':Size[o(0x1c7)],'category':Category['LegArmor'],'shape':Shape[o(0x1bb)],'color':Color[o(0x1b2)],'texture':Texture[o(0x199)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a52i;super({'name':a,'description':b,'size':Size[p(0x1c7)],'category':Category[p(0x1c0)],'shape':Shape['Circle'],'color':Color['Brown'],'texture':Texture[p(0x1a7)],'rating':Rating[p(0x1b7)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a52i;super({'name':a,'description':b,'size':Size[q(0x1c2)],'category':Category[q(0x1c4)],'shape':Shape[q(0x1b8)],'color':Color[q(0x1c9)],'texture':Texture[q(0x1a7)],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a52i;super({'name':a,'description':b,'size':Size[r(0x1c7)],'category':Category[r(0x198)],'shape':Shape[r(0x1bb)],'color':Color[r(0x1b2)],'texture':Texture[r(0x199)],'rating':Rating[r(0x1b7)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a52i;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category[s(0x1a9)],'shape':Shape[s(0x1bb)],'color':Color[s(0x1a0)],'texture':Texture[s(0x1a7)],'rating':Rating[s(0x1b7)],'weight':0x0});}[a52i(0x19f)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var t=a52i;super({'name':a,'description':b,'size':Size[t(0x1c7)],'category':Category[t(0x1b1)],'shape':Shape[t(0x1b0)],'color':Color[t(0x1b2)],'texture':Texture[t(0x199)],'rating':Rating[t(0x1b7)],'weight':0x3});}[a52i(0x19f)](){var u=a52i;return u(0x19d);}}export class Book extends Item{[a52i(0x1bc)];[a52i(0x1ac)];[a52i(0x1a2)];constructor(a,b=a52i(0x1c5),c='Unknown\x20Author'){var v=a52i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[v(0x1be)],'shape':Shape[v(0x1bb)],'color':Color['Brown'],'texture':Texture[v(0x1a7)],'rating':Rating[v(0x1b7)],'weight':0x1}),this[v(0x1bc)]=c,this[v(0x1ac)]=new Date(),this['pageCount']=0x64;}[a52i(0x19f)](){var w=a52i;return w(0x1bf);}}export class ShortSword extends Item{constructor(){var x=a52i;super({'name':'Short\x20Sword','description':x(0x1a5),'size':Size[x(0x1c7)],'category':Category[x(0x1b1)],'shape':Shape['Blade'],'color':Color['Grey'],'texture':Texture[x(0x199)],'rating':Rating['Common'],'weight':0x3});}[a52i(0x19f)](){var y=a52i;return y(0x19d);}}export class SniperRifle extends Item{constructor(){var z=a52i;super({'name':'Sniper\x20Rifle','description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[z(0x1b9)],'category':Category[z(0x1b1)],'shape':Shape[z(0x19b)],'color':Color[z(0x1c9)],'texture':Texture[z(0x1a7)],'rating':Rating[z(0x1b7)],'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=a52i;super({'name':A(0x19a),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[A(0x1c2)],'category':Category[A(0x1c1)],'shape':Shape['Circle'],'color':Color[A(0x1b3)],'texture':Texture[A(0x199)],'rating':Rating[A(0x1c3)],'weight':0x1});}[a52i(0x19f)](){var B=a52i;return'You\x20hold\x20the\x20'+this[B(0x1ca)]+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}
1
+ var a55t=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x17c))/0x1+-parseInt(f(0x190))/0x2*(parseInt(f(0x191))/0x3)+-parseInt(f(0x199))/0x4+-parseInt(f(0x16c))/0x5+-parseInt(f(0x17d))/0x6*(-parseInt(f(0x182))/0x7)+parseInt(f(0x16f))/0x8*(parseInt(f(0x195))/0x9)+parseInt(f(0x17a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xb295e));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0x19a)](h(0x181))['toString']()[h(0x18f)](a55a)[h(0x19a)](h(0x181));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size[i(0x17e)],'category':Category[i(0x167)],'shape':Shape['Rectangle'],'color':Color[i(0x185)],'texture':Texture[i(0x169)],'rating':Rating[i(0x18a)],'weight':0x1});}['use'](){var j=a55d;return this[j(0x194)];}}export class Sword extends Item{constructor(a,b){var k=a55d;super({'name':a,'description':b,'size':Size[k(0x17e)],'category':Category[k(0x16d)],'shape':Shape[k(0x165)],'color':Color[k(0x196)],'texture':Texture[k(0x189)],'rating':Rating[k(0x18a)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55d;super({'name':a,'description':b,'size':Size['Large'],'category':Category[l(0x16d)],'shape':Shape[l(0x175)],'color':Color[l(0x16a)],'texture':Texture[l(0x189)],'rating':Rating[l(0x173)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[m(0x171)],'shape':Shape[m(0x172)],'color':Color[m(0x196)],'texture':Texture[m(0x189)],'rating':Rating['Common'],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55d;super({'name':a,'description':b,'size':Size[n(0x170)],'category':Category['BodyArmor'],'shape':Shape[n(0x184)],'color':Color[n(0x196)],'texture':Texture[n(0x189)],'rating':Rating[n(0x18a)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55d;super({'name':a,'description':b,'size':Size[o(0x17e)],'category':Category[o(0x166)],'shape':Shape['Rectangle'],'color':Color[o(0x196)],'texture':Texture[o(0x189)],'rating':Rating[o(0x18a)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55d;super({'name':a,'description':b,'size':Size[p(0x17e)],'category':Category[p(0x176)],'shape':Shape[p(0x172)],'color':Color[p(0x16a)],'texture':Texture[p(0x169)],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55d;super({'name':a,'description':b,'size':Size[q(0x188)],'category':Category[q(0x17f)],'shape':Shape['Circle'],'color':Color['Brown'],'texture':Texture[q(0x169)],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a55d;super({'name':a,'description':b,'size':Size[r(0x17e)],'category':Category[r(0x178)],'shape':Shape[r(0x184)],'color':Color[r(0x196)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a55d;super({'name':a,'description':b,'size':Size[s(0x19b)],'category':Category[s(0x197)],'shape':Shape[s(0x184)],'color':Color[s(0x185)],'texture':Texture[s(0x169)],'rating':Rating[s(0x18a)],'weight':0x0});}[a55t(0x180)](){var u=a55t;return u(0x18b);}}function a55c(){var E=['apply','Unknown\x20Author','Small','Metallic','Common','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','pageCount','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','A\x20mysterious\x20book.','constructor','1796wlcxBg','2838ngJexo','Book','publishDate','description','477lMoMWN','Grey','Key','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','3905240LXLDba','search','Tiny','Gold','Cup','Blade','LegArmor','Unknown','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Smooth','Brown','Short\x20Sword','5730370YDcIjc','Weapon','Sniper\x20Rifle','10232wOqueL','Large','Helmet','Circle','Rare','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Rifle','Boots','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','ArmArmor','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','47685790fZBXSw','Holy\x20Grail','1386349MpmwVI','1520166qKFFci','Medium','Gloves','use','(((.+)+)+)+$','7exfBDR','Legendary','Rectangle','Yellow'];a55c=function(){return E;};return a55c();}export class Weapon extends Item{constructor(a,b){var v=a55t;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[v(0x16d)],'shape':Shape[v(0x165)],'color':Color[v(0x196)],'texture':Texture['Metallic'],'rating':Rating[v(0x18a)],'weight':0x3});}[a55t(0x180)](){var w=a55t;return w(0x198);}}export class Book extends Item{['author'];['publishDate'];[a55t(0x18c)];constructor(a,b=a55t(0x18e),c=a55t(0x187)){var x=a55t;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[x(0x192)],'shape':Shape[x(0x184)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x1}),this['author']=c,this[x(0x193)]=new Date(),this['pageCount']=0x64;}[a55t(0x180)](){var y=a55t;return y(0x174);}}export class ShortSword extends Item{constructor(){var z=a55t;super({'name':z(0x16b),'description':z(0x168),'size':Size[z(0x17e)],'category':Category[z(0x16d)],'shape':Shape['Blade'],'color':Color[z(0x196)],'texture':Texture[z(0x189)],'rating':Rating[z(0x18a)],'weight':0x3});}[a55t(0x180)](){var A=a55t;return A(0x198);}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x164;var f=c[d];return f;},a55d(a,b);}export class SniperRifle extends Item{constructor(){var B=a55t;super({'name':B(0x16e),'description':B(0x179),'size':Size[B(0x170)],'category':Category[B(0x16d)],'shape':Shape[B(0x175)],'color':Color['Brown'],'texture':Texture[B(0x169)],'rating':Rating[B(0x18a)],'weight':0x5});}[a55t(0x180)](){var C=a55t;return C(0x177);}}export class HolyGrail extends Item{constructor(){var D=a55t;super({'name':D(0x17b),'description':D(0x18d),'size':Size[D(0x188)],'category':Category[D(0x164)],'shape':Shape[D(0x172)],'color':Color[D(0x19c)],'texture':Texture[D(0x189)],'rating':Rating[D(0x183)],'weight':0x1});}[a55t(0x180)](){return'You\x20hold\x20the\x20'+this['name']+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}