@maka/maka-cli 4.5.30 → 4.5.31

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 (132) 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/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/build/_index.js +1 -1
  19. package/bundle/obf/src/commands/build/build.js +1 -1
  20. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/create.js +1 -1
  22. package/bundle/obf/src/commands/debug.js +1 -1
  23. package/bundle/obf/src/commands/deploy.js +1 -1
  24. package/bundle/obf/src/commands/game/_index.js +1 -1
  25. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/play.command.js +1 -1
  27. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  62. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/generate.js +1 -1
  65. package/bundle/obf/src/commands/get/_index.js +1 -1
  66. package/bundle/obf/src/commands/get/get.command.js +1 -1
  67. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/help.js +1 -1
  71. package/bundle/obf/src/commands/jsdoc.js +1 -1
  72. package/bundle/obf/src/commands/lint.js +1 -1
  73. package/bundle/obf/src/commands/login.js +1 -1
  74. package/bundle/obf/src/commands/logout.js +1 -1
  75. package/bundle/obf/src/commands/logs.js +1 -1
  76. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  77. package/bundle/obf/src/commands/murder.js +1 -1
  78. package/bundle/obf/src/commands/proxy.js +1 -1
  79. package/bundle/obf/src/commands/reconfig.js +1 -1
  80. package/bundle/obf/src/commands/run/_index.js +1 -1
  81. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  82. package/bundle/obf/src/commands/run/run.command.js +1 -1
  83. package/bundle/obf/src/commands/set/_index.js +1 -1
  84. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  85. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  86. package/bundle/obf/src/commands/set/set.command.js +1 -1
  87. package/bundle/obf/src/commands/ssh.js +1 -1
  88. package/bundle/obf/src/commands/ssl.js +1 -1
  89. package/bundle/obf/src/commands/test.js +1 -1
  90. package/bundle/obf/src/commands/version.js +1 -1
  91. package/bundle/obf/src/error.js +1 -1
  92. package/bundle/obf/src/exec.js +1 -1
  93. package/bundle/obf/src/generator.js +1 -1
  94. package/bundle/obf/src/generators/_index.js +1 -1
  95. package/bundle/obf/src/generators/api.js +1 -1
  96. package/bundle/obf/src/generators/collection.js +1 -1
  97. package/bundle/obf/src/generators/component.js +1 -1
  98. package/bundle/obf/src/generators/config.js +1 -1
  99. package/bundle/obf/src/generators/dbc.js +1 -1
  100. package/bundle/obf/src/generators/dockerfile.js +1 -1
  101. package/bundle/obf/src/generators/hook.js +1 -1
  102. package/bundle/obf/src/generators/kit.js +1 -1
  103. package/bundle/obf/src/generators/layout.js +1 -1
  104. package/bundle/obf/src/generators/maka.gen.js +1 -1
  105. package/bundle/obf/src/generators/methods.js +1 -1
  106. package/bundle/obf/src/generators/package.js +1 -1
  107. package/bundle/obf/src/generators/page.js +1 -1
  108. package/bundle/obf/src/generators/publish.js +1 -1
  109. package/bundle/obf/src/generators/route.js +1 -1
  110. package/bundle/obf/src/generators/service.js +1 -1
  111. package/bundle/obf/src/generators/services/_index.js +1 -1
  112. package/bundle/obf/src/generators/services/openssl.js +1 -1
  113. package/bundle/obf/src/generators/services/translation.js +1 -1
  114. package/bundle/obf/src/maka.js +1 -1
  115. package/bundle/obf/src/tool.js +1 -1
  116. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  117. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  118. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  119. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  120. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  121. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  122. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  123. package/bundle/obf/src/tools/https/https.class.js +1 -1
  124. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  125. package/bundle/obf/src/tools/log/log.class.js +1 -1
  126. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  127. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  128. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  129. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  130. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  131. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  132. package/package.json +1 -1
@@ -1 +1 @@
1
- const a35i=a35d;function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x132;let f=c[d];return f;},a35d(a,b);}(function(a,b){const f=a35d,c=a();while(!![]){try{const d=parseInt(f(0x138))/0x1+parseInt(f(0x135))/0x2+parseInt(f(0x14e))/0x3+parseInt(f(0x151))/0x4+parseInt(f(0x147))/0x5*(parseInt(f(0x145))/0x6)+parseInt(f(0x13d))/0x7+-parseInt(f(0x153))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xd0307));function a35c(){const l=['Pick\x20up\x20an\x20item.','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','name','\x22\x20to\x20','execute','\x22\x20not\x20found\x20in\x20','2662072dfPgob','removeItem','toString','455311toyhLa','take','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20from\x20','write','741524kdvlfv','apply','hasItem','inventory','actor','message','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','The\x20item\x20\x22','42crDDwV','(((.+)+)+)+$','73895hEjYwx','\x22\x20in\x20this\x20room.','join','Successfully\x20removed\x20\x22','\x20during\x20\x27Take\x27\x20command.','Successfully\x20added\x20\x22','Error\x20during\x20\x27Take\x27\x20command:\x20','3246342ldyqnf','There\x20is\x20no\x20item\x20\x22','Item\x20\x22','549672UjVVYE','logger','18900168oxwMdj','search','\x22\x20is\x20too\x20heavy\x20to\x20carry.'];a35c=function(){return l;};return a35c();}const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x13e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0x137)]()[h(0x154)](h(0x146))[h(0x137)]()['constructor'](a35a)[h(0x154)]('(((.+)+)+)+$');});a35a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a35i(0x139);static ['description']=a35i(0x156);[a35i(0x133)](a){const j=a35i;return this['logger'][j(0x13c)](j(0x13a)+a[j(0x149)]('\x20')),this[j(0x139)](a);}[a35i(0x139)](a){const k=a35i,b=a[k(0x149)]('\x20')['toLowerCase'](),c=this['actor']['currentLocation'];if(!c[k(0x140)][k(0x13f)](b))return this['logger'][k(0x13c)](k(0x150)+b+k(0x134)+c[k(0x158)]+k(0x14b)),k(0x14f)+b+k(0x148);const d=c[k(0x140)]['getItem'](b);if(!d)return this[k(0x152)]['write']('Item\x20\x22'+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0x158)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x14f)+b+k(0x148);try{return this['actor']['addInventory'](d),this[k(0x152)][k(0x13c)](k(0x14c)+b+k(0x132)+this[k(0x141)][k(0x158)]+k(0x143)),c[k(0x140)][k(0x136)](b),this[k(0x152)][k(0x13c)](k(0x14a)+b+k(0x13b)+c[k(0x158)]+k(0x157)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this['logger'][k(0x13c)](k(0x14d)+e[k(0x142)]),k(0x144)+b+k(0x155);}}}
1
+ const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x186))/0x1+-parseInt(f(0x16a))/0x2*(-parseInt(f(0x16f))/0x3)+parseInt(f(0x179))/0x4+parseInt(f(0x164))/0x5*(-parseInt(f(0x17b))/0x6)+parseInt(f(0x178))/0x7*(parseInt(f(0x15e))/0x8)+-parseInt(f(0x188))/0x9*(-parseInt(f(0x17d))/0xa)+parseInt(f(0x170))/0xb*(-parseInt(f(0x165))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x612ed));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0x161)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a['toString']()[h(0x185)](h(0x15c))[h(0x187)]()[h(0x17c)](a35a)['search'](h(0x15c));});a35a();function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x15b;let f=c[d];return f;},a35d(a,b);}import{Command}from'./command.js';export class TakeCommand extends Command{static [a35i(0x163)]=a35i(0x15f);static [a35i(0x17a)]=a35i(0x168);['execute'](a){const j=a35i;return this[j(0x169)][j(0x166)](j(0x167)+a[j(0x160)]('\x20')),this['take'](a);}[a35i(0x15f)](a){const k=a35i,b=a[k(0x160)]('\x20')[k(0x16e)](),c=this['actor']['currentLocation'];if(!c['inventory']['hasItem'](b))return this['logger'][k(0x166)](k(0x182)+b+k(0x17e)+c[k(0x176)]+k(0x177)),k(0x184)+b+k(0x183);const d=c[k(0x174)][k(0x173)](b);if(!d)return this['logger']['write']('Item\x20\x22'+b+k(0x15d)+c[k(0x176)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x184)+b+k(0x183);try{return this[k(0x16b)][k(0x175)](d),this[k(0x169)][k(0x166)]('Successfully\x20added\x20\x22'+b+k(0x181)+this[k(0x16b)][k(0x176)]+k(0x171)),c['inventory'][k(0x15b)](b),this[k(0x169)][k(0x166)](k(0x162)+b+k(0x16d)+c['name']+k(0x17f)),k(0x16c)+b+'.';}catch(e){return this[k(0x169)][k(0x166)](k(0x180)+e['message']),'The\x20item\x20\x22'+b+k(0x172);}}}function a35c(){const l=['873490aVzrKf','\x22\x20not\x20found\x20in\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Error\x20during\x20\x27Take\x27\x20command:\x20','\x22\x20to\x20','Item\x20\x22','\x22\x20in\x20this\x20room.','There\x20is\x20no\x20item\x20\x22','search','12182AYWcKa','toString','45mUDjXO','removeItem','(((.+)+)+)+$','\x22\x20not\x20retrieved\x20from\x20','136GkXwon','take','join','apply','Successfully\x20removed\x20\x22','verb','104905azyGly','120QspPld','write','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','Pick\x20up\x20an\x20item.','logger','2urzkNO','actor','You\x20have\x20taken\x20the\x20','\x22\x20from\x20','toLowerCase','1035825kiEIeW','285065wtSnoh','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20is\x20too\x20heavy\x20to\x20carry.','getItem','inventory','addInventory','name','\x20during\x20\x27Take\x27\x20command.','142191tGznBN','602004lQHJzj','description','174wDjnnP','constructor'];a35c=function(){return l;};return a35c();}
@@ -1 +1 @@
1
- function a36c(){const j=['description','toLowerCase','3807171VsVZUb','1104808LMwauv','actor','unequip','6sVgpry','search','toString','execute','2816310aTIlZH','280dwuGqj','7ZmobaR','55374oaRqSx','(((.+)+)+)+$','\x20unqeuiped\x20','696268wBimdU','logger','join','verb','323055xXQARm','write','1301528NBzIBG'];a36c=function(){return j;};return a36c();}const a36h=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d=parseInt(f(0x1b7))/0x1+-parseInt(f(0x1b3))/0x2+parseInt(f(0x1c0))/0x3*(parseInt(f(0x1bd))/0x4)+parseInt(f(0x1ae))/0x5*(parseInt(f(0x1b0))/0x6)+-parseInt(f(0x1af))/0x7*(-parseInt(f(0x1b9))/0x8)+-parseInt(f(0x1bc))/0x9+-parseInt(f(0x1ad))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x7a9ae));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const g=a36d;return a36a['toString']()[g(0x1c1)](g(0x1b1))[g(0x1ab)]()['constructor'](a36a)['search'](g(0x1b1));});a36a();import{Command}from'./command.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a36d(a,b);}export class UnequipCommand extends Command{static [a36h(0x1b6)]='unqeuip';static [a36h(0x1ba)]='Unequip\x20an\x20item.';[a36h(0x1ac)](a){const i=a36h,b=a[i(0x1b5)]('\x20')[i(0x1bb)](),c=this[i(0x1be)][i(0x1bf)](b);return this[i(0x1b4)][i(0x1b8)]('UnequipCommand:\x20'+this[i(0x1be)]['name']+i(0x1b2)+c),c;}}
1
+ function a36c(){const k=['toString','\x20unqeuiped\x20','unequip','join','2474703Uehbrf','apply','(((.+)+)+)+$','617626glXsCF','search','7OJCzHA','1257858jMNlIc','constructor','407CheBvE','7349400rpJmdq','1542552AzGWnL','1428220vKepdJ','UnequipCommand:\x20','858728jmVnlC','execute','name','toLowerCase','unqeuip','16LNendl','6EMOmRj','logger'];a36c=function(){return k;};return a36c();}const a36i=a36d;function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x72;let f=c[d];return f;},a36d(a,b);}(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0x78))/0x1*(parseInt(f(0x81))/0x2)+-parseInt(f(0x7e))/0x3+-parseInt(f(0x72))/0x4+-parseInt(f(0x87))/0x5+-parseInt(f(0x88))/0x6*(parseInt(f(0x83))/0x7)+parseInt(f(0x77))/0x8*(parseInt(f(0x84))/0x9)+parseInt(f(0x89))/0xa*(parseInt(f(0x86))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xe6979));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a36d;if(c){const e=c[g(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a[h(0x7a)]()[h(0x82)](h(0x80))['toString']()[h(0x85)](a36a)['search'](h(0x80));});a36a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a36i(0x76);static ['description']='Unequip\x20an\x20item.';[a36i(0x73)](a){const j=a36i,b=a[j(0x7d)]('\x20')[j(0x75)](),c=this['actor'][j(0x7c)](b);return this[j(0x79)]['write'](j(0x8a)+this['actor'][j(0x74)]+j(0x7b)+c),c;}}
@@ -1 +1 @@
1
- const a37j=a37d;(function(a,b){const h=a37d,c=a();while(!![]){try{const d=parseInt(h(0x1e7))/0x1+parseInt(h(0x1ec))/0x2+-parseInt(h(0x1f2))/0x3*(parseInt(h(0x1eb))/0x4)+parseInt(h(0x1fc))/0x5*(-parseInt(h(0x1e3))/0x6)+-parseInt(h(0x1e2))/0x7*(parseInt(h(0x1da))/0x8)+-parseInt(h(0x1e5))/0x9+parseInt(h(0x1f0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xb9fc6));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 i=a37d;return a37a[i(0x1d9)]()[i(0x1ef)](i(0x1d8))[i(0x1d9)]()[i(0x1ee)](a37a)[i(0x1ef)]('(((.+)+)+)+$');});a37a();import{Door}from'../models/door.js';function a37c(){const m=['verb','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','Unlock\x20a\x20door.','actor','toLowerCase','UnlockCommand:\x20No\x20target\x20specified.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','21434JXeiXe','108pzfCmV','logger','9920664QZGYdy','unlock','737154qEMzRK','inventory','exits','hasItem','128retHYu','2209056kjFXhy','length','constructor','search','18015140jnwYTE','name','5001pqGBbv','UnlockCommand:\x20','\x20is\x20attempted\x20to\x20unlock\x20','.\x20Result:\x20','\x22\x20here.','execute','write','description','get','getItem','192740Aeolgu','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','error','currentLocation','There\x27s\x20no\x20door\x20named\x20\x22','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','(((.+)+)+)+$','toString','2696WBoMPw'];a37c=function(){return m;};return a37c();}import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a37d(a,b);}export class UnlockCommand extends Command{static [a37j(0x1db)]=a37j(0x1e6);static [a37j(0x1f9)]=a37j(0x1dd);[a37j(0x1f7)](a){const k=a37j;return this[k(0x1e6)](a);}[a37j(0x1e6)](a){const l=a37j;if(a[l(0x1ed)]===0x0)return this[l(0x1e4)][l(0x1d4)](l(0x1e0)),l(0x1d7);const b=a[0x0][l(0x1df)](),c=this['actor'][l(0x1d5)];if(this['isValidDirection'](b)&&c[l(0x1e9)]['has'](b)){const d=c[l(0x1e9)][l(0x1fa)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[l(0x1df)]();if(e&&this['actor'][l(0x1e8)][l(0x1ea)](e)){const f=this[l(0x1de)][l(0x1e8)][l(0x1fb)](e);if(f){const g=c['attemptUnlockExit'](b,f[l(0x1f1)]);return this[l(0x1e4)]['write'](l(0x1f3)+this['actor'][l(0x1f1)]+l(0x1f4)+b+l(0x1f5)+g),g;}}return this[l(0x1e4)][l(0x1f8)](l(0x1f3)+this[l(0x1de)]['name']+l(0x1fd)+b+'.'),l(0x1dc);}else return this[l(0x1e4)][l(0x1f8)](l(0x1f3)+b+l(0x1e1)+c[l(0x1f1)]+'.'),l(0x1d6)+b+l(0x1f6);}else return this['logger'][l(0x1f8)](l(0x1f3)+b+l(0x1e1)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0x1f6);}}
1
+ const a37k=a37d;function a37c(){const n=['920808dAEHxH','description','22644fyTykc','inventory','20RCayrX','has','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','attemptUnlockExit','(((.+)+)+)+$','UnlockCommand:\x20','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','isValidDirection','389022kHVjfp','hasItem','UnlockCommand:\x20No\x20target\x20specified.','search','write','actor','5058530BvmOMv','verb','Unlock\x20a\x20door.','536146lwHpal','unlock','10483935KeqfyH','9vHlclp','305OoflOR','name','logger','exits','currentLocation','8KYaJnX','unlockItemOrSolution','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','5119058pCNbrF','toString','constructor','There\x27s\x20no\x20door\x20named\x20\x22','length','apply','.\x20Result:\x20','getItem'];a37c=function(){return n;};return a37c();}(function(a,b){const h=a37d,c=a();while(!![]){try{const d=parseInt(h(0x1ed))/0x1+-parseInt(h(0x1d9))/0x2+parseInt(h(0x1f9))/0x3*(-parseInt(h(0x1f1))/0x4)+parseInt(h(0x1dd))/0x5*(-parseInt(h(0x1ef))/0x6)+-parseInt(h(0x1e5))/0x7*(parseInt(h(0x1e2))/0x8)+parseInt(h(0x1dc))/0x9*(parseInt(h(0x1ff))/0xa)+parseInt(h(0x1db))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x7a823));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a37d;if(c){const e=c[i(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const j=a37d;return a37a[j(0x1e6)]()['search']('(((.+)+)+)+$')['toString']()[j(0x1e7)](a37a)[j(0x1fc)](j(0x1f5));});a37a();import{Door}from'../models/door.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a37d(a,b);}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a37k(0x1d7)]=a37k(0x1da);static [a37k(0x1ee)]=a37k(0x1d8);['execute'](a){const l=a37k;return this[l(0x1da)](a);}[a37k(0x1da)](a){const m=a37k;if(a[m(0x1e9)]===0x0)return this['logger']['error'](m(0x1fb)),m(0x1f7);const b=a[0x0]['toLowerCase'](),c=this[m(0x1fe)][m(0x1e1)];if(this[m(0x1f8)](b)&&c[m(0x1e0)][m(0x1f2)](b)){const d=c[m(0x1e0)]['get'](b);if(d instanceof Door){const e=d[m(0x1e3)]?.['toLowerCase']();if(e&&this[m(0x1fe)][m(0x1f0)][m(0x1fa)](e)){const f=this[m(0x1fe)]['inventory'][m(0x1ec)](e);if(f){const g=c[m(0x1f4)](b,f['name']);return this[m(0x1df)][m(0x1fd)](m(0x1f6)+this[m(0x1fe)][m(0x1de)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+m(0x1eb)+g),g;}}return this[m(0x1df)]['write'](m(0x1f6)+this[m(0x1fe)][m(0x1de)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),m(0x1e4);}else return this[m(0x1df)]['write'](m(0x1f6)+b+m(0x1f3)+c[m(0x1de)]+'.'),m(0x1e8)+b+'\x22\x20here.';}else return this['logger'][m(0x1fd)](m(0x1f6)+b+m(0x1f3)+c[m(0x1de)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xe8;let f=c[d];return f;},a38d(a,b);}const a38h=a38d;function a38c(){const k=['1209160ErNoDW','You\x20don\x27t\x20have\x20the\x20','4qaTvHa','217478xiYCUd','(((.+)+)+)+$','66CiVeUm','\x20to\x20use.','UseCommand:\x20','getItem','You\x20can\x27t\x20use\x20the\x20','2048410KXmqZR','22qqkdhO','inventory','43479aEKioe','\x20used\x20','\x20doesn\x27t\x20have\x20a\x20use\x20method.','\x20attempted\x20to\x20use\x20','name','use','toString','Use\x20an\x20item.','join','hasItem','42796piiuLo','\x20in\x20this\x20way.','217263UhsJRC','logger','write','1BxBUsJ','toLowerCase','execute','2556UbuDSY','verb','actor','\x27s\x20inventory.',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','search','constructor','description','184UFhTMp','\x20not\x20retrieved\x20from\x20','3899uyCeDP'];a38c=function(){return k;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0xf7))/0x1*(-parseInt(f(0x108))/0x2)+-parseInt(f(0xf4))/0x3*(parseInt(f(0x107))/0x4)+parseInt(f(0x105))/0x5+parseInt(f(0x10a))/0x6*(parseInt(f(0x104))/0x7)+parseInt(f(0x102))/0x8*(-parseInt(f(0xe8))/0x9)+parseInt(f(0x10f))/0xa*(-parseInt(f(0x110))/0xb)+parseInt(f(0xfa))/0xc*(parseInt(f(0xf2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x3c5a0));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0xee)]()[g(0xff)](g(0x109))[g(0xee)]()[g(0x100)](a38a)[g(0xff)](g(0x109));});a38a();import{Command}from'./command.js';export class UseCommand extends Command{static [a38h(0xfb)]=a38h(0xed);static [a38h(0x101)]=a38h(0xef);[a38h(0xf9)](a){const i=a38h;return this[i(0xed)](a);}[a38h(0xed)](a){const j=a38h,b=a[j(0xf0)]('\x20')[j(0xf8)]();if(!this[j(0xfc)][j(0x111)][j(0xf1)](b))return this[j(0xf5)][j(0xf6)](j(0x10c)+this['actor'][j(0xec)]+j(0xeb)+b+j(0xfe)),j(0x106)+b+j(0x10b);const c=this[j(0xfc)]['inventory'][j(0x10d)](b);if(!c)return this[j(0xf5)][j(0xf6)](j(0x10c)+b+j(0x103)+this[j(0xfc)]['name']+j(0xfd)),j(0x106)+b+j(0x10b);if(typeof c[j(0xed)]==='function'){const d=c[j(0xed)]();return this[j(0xf5)][j(0xf6)](j(0x10c)+this['actor'][j(0xec)]+j(0xe9)+b+'.'),d;}else return this[j(0xf5)][j(0xf6)]('UseCommand:\x20'+b+j(0xea)),j(0x10e)+b+j(0xf3);}}
1
+ function a38c(){const k=['write','inventory','(((.+)+)+)+$','170JpmQOC','execute','4137702mCqJhW','verb','Use\x20an\x20item.','981781EqWufp','You\x20can\x27t\x20use\x20the\x20','5ASakbw','description','\x20attempted\x20to\x20use\x20','4863qpaXNn','You\x20don\x27t\x20have\x20the\x20','apply','\x27s\x20inventory.',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','use','function','\x20to\x20use.','logger','getItem','21476350HcZFTT','UseCommand:\x20','actor','4050064wQGnWK','2195480MINOcd','constructor','name','2862256ohvVIi','9wmNbHo','\x20in\x20this\x20way.','\x20not\x20retrieved\x20from\x20','hasItem','toLowerCase','toString'];a38c=function(){return k;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xae;let f=c[d];return f;},a38d(a,b);}const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0xbe))/0x1+-parseInt(f(0xb9))/0x2*(-parseInt(f(0xc3))/0x3)+parseInt(f(0xaf))/0x4+parseInt(f(0xc0))/0x5*(parseInt(f(0xbb))/0x6)+-parseInt(f(0xd1))/0x7+parseInt(f(0xd0))/0x8+parseInt(f(0xb0))/0x9*(-parseInt(f(0xcd))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x8b182));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0xb5)]()['search'](h(0xb8))[h(0xb5)]()[h(0xd2)](a38a)['search']('(((.+)+)+)+$');});a38a();import{Command}from'./command.js';export class UseCommand extends Command{static [a38i(0xbc)]=a38i(0xc8);static [a38i(0xc1)]=a38i(0xbd);[a38i(0xba)](a){return this['use'](a);}[a38i(0xc8)](a){const j=a38i,b=a['join']('\x20')[j(0xb4)]();if(!this[j(0xcf)][j(0xb7)][j(0xb3)](b))return this[j(0xcb)][j(0xb6)](j(0xce)+this['actor'][j(0xae)]+j(0xc2)+b+j(0xc7)),j(0xc4)+b+j(0xca);const c=this[j(0xcf)][j(0xb7)][j(0xcc)](b);if(!c)return this[j(0xcb)][j(0xb6)]('UseCommand:\x20'+b+j(0xb2)+this['actor']['name']+j(0xc6)),j(0xc4)+b+'\x20to\x20use.';if(typeof c[j(0xc8)]===j(0xc9)){const d=c[j(0xc8)]();return this[j(0xcb)][j(0xb6)](j(0xce)+this[j(0xcf)][j(0xae)]+'\x20used\x20'+b+'.'),d;}else return this[j(0xcb)][j(0xb6)]('UseCommand:\x20'+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),j(0xbf)+b+j(0xb1);}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x1d7))/0x1*(-parseInt(f(0x1e3))/0x2)+-parseInt(f(0x1d8))/0x3*(-parseInt(f(0x1e2))/0x4)+parseInt(f(0x1db))/0x5+parseInt(f(0x1df))/0x6+parseInt(f(0x1d9))/0x7*(parseInt(f(0x1e0))/0x8)+-parseInt(f(0x1e1))/0x9+parseInt(f(0x1dc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x6c394));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1d6;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(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x1dd)]('(((.+)+)+)+$')[h(0x1de)]()[h(0x1d6)](a39a)['search']('(((.+)+)+)+$');});a39a();export class CommandFactory{static [a39i(0x1da)]={};static[a39i(0x1e4)](a,b){const j=a39i;this[j(0x1da)][a]=b;}static['createCommand'](a,b){const k=a39i,c=this[k(0x1da)][a];if(c)return new c(b);return null;}static[a39i(0x1e6)](){const l=a39i;return this[l(0x1da)];}}function a39c(){const m=['commandMap','1980860mqLjYJ','6992670npaYXC','search','toString','2948334ZRyDit','16QPJtRU','7871742Ppjnuz','28fVjWBS','1631166SNvyBS','registerCommand','apply','getAllRegisteredCommands','constructor','1tBNwsr','193299PVAjUu','334761nsotTu'];a39c=function(){return m;};return a39c();}
1
+ function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xb4;let f=c[d];return f;},a39d(a,b);}const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0xb4))/0x1*(-parseInt(f(0xc4))/0x2)+parseInt(f(0xc0))/0x3*(-parseInt(f(0xbc))/0x4)+parseInt(f(0xb5))/0x5+parseInt(f(0xbb))/0x6*(parseInt(f(0xc6))/0x7)+-parseInt(f(0xba))/0x8*(parseInt(f(0xc3))/0x9)+parseInt(f(0xb7))/0xa+parseInt(f(0xc5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xe5cdb));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const g=a39d;return a39a[g(0xbd)]()[g(0xc1)](g(0xb6))['toString']()[g(0xbe)](a39a)['search'](g(0xb6));});a39a();export class CommandFactory{static [a39h(0xbf)]={};static[a39h(0xc2)](a,b){this['commandMap'][a]=b;}static[a39h(0xb9)](a,b){const i=a39h,c=this[i(0xbf)][a];if(c)return new c(b);return null;}static[a39h(0xb8)](){const j=a39h;return this[j(0xbf)];}}function a39c(){const k=['createCommand','16RwCpKd','590946QywnrL','248IbUAAF','toString','constructor','commandMap','14919iYklkf','search','registerCommand','7183278YwfBwg','207108UHJrFQ','8563610FIFrtK','77RzxxnE','2IySCDZ','1938445ShylSk','(((.+)+)+)+$','8033930VPEVks','getAllRegisteredCommands'];a39c=function(){return k;};return a39c();}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x115))/0x1*(-parseInt(f(0x121))/0x2)+parseInt(f(0x125))/0x3*(-parseInt(f(0x117))/0x4)+-parseInt(f(0x11e))/0x5*(parseInt(f(0x102))/0x6)+-parseInt(f(0x11d))/0x7*(parseInt(f(0x127))/0x8)+-parseInt(f(0x109))/0x9+-parseInt(f(0x108))/0xa*(parseInt(f(0x10d))/0xb)+parseInt(f(0x129))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x90c90));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x10f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x10a)]()['search']('(((.+)+)+)+$')[h(0x10a)]()['constructor'](a40a)[h(0x118)](h(0x10c));});a40a();function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x102;let f=c[d];return f;},a40d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a40c(){const o=['content','key','42KNyWKJ','name','rewardItem','boots','3nNNzEa','createRoom','4698712abmvrf','bodyarmor','50996340nXxxVO','setPuzzle','50016eRHUEy','convertToRoomConfig','INSIDE','sword','legarmor','createPuzzle','50090MgRnYD','7357860lppisn','toString','inventory','(((.+)+)+)+$','110bVFygv','toUpperCase','apply','createItem','description','items','roomType','helmet','44633rjTFuj','gloves','2308088wFzphL','search','book','addItem','isStartRoom','puzzle','14lyASYp','60jfiDgx'];a40c=function(){return o;};return a40c();}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a40i(0x126)](a){const j=a40i,b=this[j(0x103)](a),c=new Room(b);if(a[j(0x112)]){const d=new Inventory();a['items']['forEach'](e=>{const k=j;d[k(0x11a)](this[k(0x110)](e));}),c[j(0x10b)]=d;}return a[j(0x11c)]&&c[j(0x12a)](this[j(0x107)](a[j(0x11c)])),c;}[a40i(0x110)](a){const l=a40i;switch(a['type']){case l(0x120):return new Key(a[l(0x122)],a['description']);case l(0x119):return new Book(a[l(0x122)],a[l(0x111)],a[l(0x11f)]);case l(0x105):return new Sword(a['name'],a[l(0x111)]);case'rifle':return new Rifle(a[l(0x122)],a[l(0x111)]);case l(0x114):return new Helmet(a[l(0x122)],a['description']);case l(0x128):return new BodyArmor(a[l(0x122)],a[l(0x111)]);case l(0x106):return new LegArmor(a['name'],a[l(0x111)]);case l(0x124):return new Boots(a[l(0x122)],a[l(0x111)]);case l(0x116):return new Gloves(a['name'],a[l(0x111)]);case'gauntlets':return new Gauntlets(a[l(0x122)],a[l(0x111)]);default:return new BasicItem(a[l(0x122)],a[l(0x111)]);}}[a40i(0x107)](a){const m=a40i,b=this['createItem'](a[m(0x123)]);return new Puzzle({...a,'rewardItem':b});}[a40i(0x103)](a){const n=a40i,b=a[n(0x113)]&&RoomType[a[n(0x113)]['toUpperCase']()]?RoomType[a[n(0x113)][n(0x10e)]()]:RoomType[n(0x104)];return{'name':a[n(0x122)],'description':a[n(0x111)],'isStartRoom':a[n(0x11b)],'roomType':b};}}
1
+ function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x148;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;function a40c(){const o=['47676ChfGbJ','roomType','convertToRoomConfig','createRoom','inventory','sword','9innCJb','search','rewardItem','description','49adrisW','toString','apply','1343994WnwmUl','key','name','9159016mfpfRW','puzzle','toUpperCase','forEach','10KwbZdp','content','createItem','gloves','items','book','boots','(((.+)+)+)+$','9258624wyLlwZ','gauntlets','92EXMpUX','4146163YavkAX','44727jKYGoY','type','12545370zAIYHp','11Vnjsdr','setPuzzle','legarmor'];a40c=function(){return o;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x14a))/0x1*(parseInt(f(0x166))/0x2)+parseInt(f(0x160))/0x3*(-parseInt(f(0x15e))/0x4)+-parseInt(f(0x154))/0x5*(parseInt(f(0x14d))/0x6)+-parseInt(f(0x15f))/0x7+-parseInt(f(0x150))/0x8+-parseInt(f(0x16c))/0x9*(-parseInt(f(0x162))/0xa)+-parseInt(f(0x163))/0xb*(-parseInt(f(0x15c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xa29cc));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x14c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x14b)]()[h(0x16d)]('(((.+)+)+)+$')[h(0x14b)]()['constructor'](a40a)['search'](h(0x15b));});a40a();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{[a40i(0x169)](a){const j=a40i,b=this[j(0x168)](a),c=new Room(b);if(a[j(0x158)]){const d=new Inventory();a[j(0x158)][j(0x153)](e=>{const k=j;d['addItem'](this[k(0x156)](e));}),c[j(0x16a)]=d;}return a[j(0x151)]&&c[j(0x164)](this['createPuzzle'](a['puzzle'])),c;}['createItem'](a){const l=a40i;switch(a[l(0x161)]){case l(0x14e):return new Key(a['name'],a[l(0x149)]);case l(0x159):return new Book(a[l(0x14f)],a[l(0x149)],a[l(0x155)]);case l(0x16b):return new Sword(a['name'],a[l(0x149)]);case'rifle':return new Rifle(a[l(0x14f)],a[l(0x149)]);case'helmet':return new Helmet(a[l(0x14f)],a[l(0x149)]);case'bodyarmor':return new BodyArmor(a[l(0x14f)],a['description']);case l(0x165):return new LegArmor(a['name'],a[l(0x149)]);case l(0x15a):return new Boots(a['name'],a[l(0x149)]);case l(0x157):return new Gloves(a[l(0x14f)],a[l(0x149)]);case l(0x15d):return new Gauntlets(a[l(0x14f)],a[l(0x149)]);default:return new BasicItem(a[l(0x14f)],a[l(0x149)]);}}['createPuzzle'](a){const m=a40i,b=this[m(0x156)](a[m(0x148)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a40i,b=a[n(0x167)]&&RoomType[a[n(0x167)][n(0x152)]()]?RoomType[a['roomType'][n(0x152)]()]:RoomType['INSIDE'];return{'name':a[n(0x14f)],'description':a[n(0x149)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- const a41j=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x119))/0x1+-parseInt(h(0x133))/0x2+parseInt(h(0x13b))/0x3*(parseInt(h(0x134))/0x4)+-parseInt(h(0x140))/0x5*(parseInt(h(0x13e))/0x6)+-parseInt(h(0x125))/0x7*(-parseInt(h(0x110))/0x8)+parseInt(h(0x12b))/0x9+-parseInt(h(0x138))/0xa*(-parseInt(h(0x13a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x3634b));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[i(0x120)]()[i(0x132)](i(0x122))['toString']()[i(0x115)](a41a)[i(0x132)](i(0x122));});a41a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';function a41c(){const q=['help','drop','toString','handleInput','(((.+)+)+)+$','quit','currentLocation','3367GCQqrT','currentRoom','name','equip','unequip','lock','495045hwYWAp','solve','execute','getRooms','initialize','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','createCommand','search','396946MLHgJY','773940WVeNop','take','hasOwnProperty','getDescription','2240950RLyfCL','getHelpMessage','11ISESsC','3OQGiKJ','registerCommands','player','264vCFZKe','-\x20clear:\x20Clear\x20the\x20screen.\x0a','19870bPNicw','slice','getWelcomeMessage','split','2712AfFZPY','-\x20quit:\x20Exit\x20the\x20game.\x0a','toLowerCase','Available\x20Commands:\x0a','instance','constructor','scene','clear','trim','40288CGFXSg','use','registerCommand','look','determineStartRoom'];a41c=function(){return q;};return a41c();}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';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x10f;let f=c[d];return f;},a41d(a,b);}export default class Game{static [a41j(0x114)];[a41j(0x116)];['player'];[a41j(0x126)];['rooms'];constructor(a,b){const k=a41j;this[k(0x13d)]=a,this[k(0x116)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x116)][k(0x12f)](),this['player'][k(0x124)]=this[k(0x11d)](),this[k(0x13c)]();}[a41j(0x13c)](){const l=a41j;CommandFactory[l(0x11b)](l(0x11c),LookCommand),CommandFactory[l(0x11b)]('go',GoCommand),CommandFactory['registerCommand'](l(0x135),TakeCommand),CommandFactory[l(0x11b)](l(0x11a),UseCommand),CommandFactory['registerCommand'](l(0x128),EquipCommand),CommandFactory['registerCommand'](l(0x129),UnequipCommand),CommandFactory['registerCommand'](l(0x12c),SolveCommand),CommandFactory[l(0x11b)](l(0x11f),DropCommand),CommandFactory[l(0x11b)]('unlock',UnlockCommand),CommandFactory['registerCommand'](l(0x12a),LockCommand),CommandFactory[l(0x11b)](l(0x132),SearchCommand),CommandFactory[l(0x11b)]('say',SayCommand);}[a41j(0x11d)](){return this['scene']['determineStartRoom']();}[a41j(0x142)](){const m=a41j;return'Welcome,\x20'+this[m(0x13d)][m(0x127)];}static['getInstance'](a,b){const n=a41j;return!Game[n(0x114)]&&(Game['instance']=new Game(a,b)),Game[n(0x114)];}[a41j(0x121)](a){const o=a41j,b=a[o(0x118)]()[o(0x10f)]('\x20'),c=b[0x0][o(0x112)](),d=b[o(0x141)](0x1);if(c===o(0x123))return null;if(c==='maka')return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===o(0x11e))return this['getHelpMessage']();if(c===o(0x117))return'';const e={'actor':this['player'],'rooms':this[o(0x116)][o(0x12e)](),'scene':this['scene']},f=CommandFactory[o(0x131)](c,e);if(f){const g=f[o(0x12d)](d);return g;}return o(0x130)+c+'\x22.';}[a41j(0x139)](){const p=a41j,a=CommandFactory['getAllRegisteredCommands']();let b=p(0x113);for(const c in a){if(a[p(0x136)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[p(0x137)]()+'\x0a';}}return b+=p(0x13f),b+=p(0x111),b;}}
1
+ const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0xc3))/0x1*(parseInt(h(0xa6))/0x2)+-parseInt(h(0xca))/0x3+parseInt(h(0xab))/0x4+-parseInt(h(0xce))/0x5*(-parseInt(h(0xb9))/0x6)+-parseInt(h(0xa0))/0x7*(parseInt(h(0xb4))/0x8)+-parseInt(h(0xb3))/0x9*(parseInt(h(0xae))/0xa)+-parseInt(h(0xbf))/0xb*(-parseInt(h(0xa3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x6755f));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0xad)]()[j(0x9f)](j(0xc9))[j(0xad)]()['constructor'](a41a)[j(0x9f)](j(0xc9));});a41a();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 ['instance'];[a41k(0xc8)];[a41k(0xc1)];['currentRoom'];['rooms'];constructor(a,b){const l=a41k;this['player']=a,this[l(0xc8)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0xc8)][l(0xa7)](),this['player']['currentLocation']=this[l(0xbe)](),this[l(0xba)]();}[a41k(0xba)](){const m=a41k;CommandFactory['registerCommand']('look',LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0xb0)]('take',TakeCommand),CommandFactory[m(0xb0)](m(0xb8),UseCommand),CommandFactory[m(0xb0)](m(0xa8),EquipCommand),CommandFactory['registerCommand'](m(0xbd),UnequipCommand),CommandFactory[m(0xb0)]('solve',SolveCommand),CommandFactory[m(0xb0)](m(0xa9),DropCommand),CommandFactory[m(0xb0)]('unlock',UnlockCommand),CommandFactory[m(0xb0)](m(0xcf),LockCommand),CommandFactory[m(0xb0)](m(0x9f),SearchCommand),CommandFactory[m(0xb0)](m(0xaa),SayCommand);}[a41k(0xbe)](){const n=a41k;return this[n(0xc8)][n(0xbe)]();}[a41k(0xc6)](){const o=a41k;return o(0xb5)+this[o(0xc1)][o(0xb7)];}static[a41k(0xb6)](a,b){const p=a41k;return!Game[p(0xc5)]&&(Game[p(0xc5)]=new Game(a,b)),Game[p(0xc5)];}[a41k(0xc7)](a){const q=a41k,b=a[q(0xcd)]()[q(0xb1)]('\x20'),c=b[0x0][q(0xcc)](),d=b[q(0xcb)](0x1);if(c===q(0xaf))return null;if(c===q(0xbb))return q(0xa4);if(c==='help')return this[q(0xac)]();if(c===q(0x9e))return'';const e={'actor':this[q(0xc1)],'rooms':this[q(0xc8)]['getRooms'](),'scene':this['scene']},f=CommandFactory[q(0xa2)](c,e);if(f){const g=f['execute'](d);return g;}return q(0xb2)+c+'\x22.';}[a41k(0xac)](){const r=a41k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0xbc);for(const c in a){if(a[r(0xa5)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xc2)]()+'\x0a';}}return b+=r(0xc4),b+=r(0xc0),b;}}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x9e;let f=c[d];return f;},a41d(a,b);}function a41c(){const s=['8bUAnzZ','Welcome,\x20','getInstance','name','use','3362154KgGSMm','registerCommands','maka','Available\x20Commands:\x0a','unequip','determineStartRoom','913649PinUuE','-\x20quit:\x20Exit\x20the\x20game.\x0a','player','getDescription','187789QwpXlx','-\x20clear:\x20Clear\x20the\x20screen.\x0a','instance','getWelcomeMessage','handleInput','scene','(((.+)+)+)+$','33789WQqsQJ','slice','toLowerCase','trim','5GdmuPb','lock','clear','search','4437671KNeywy','apply','createCommand','12IrZddj','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','hasOwnProperty','2GYRwHB','initialize','equip','drop','say','1917516jYGKXo','getHelpMessage','toString','2390rALKRB','quit','registerCommand','split','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','9117pCVEgi'];a41c=function(){return s;};return a41c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a42d,c=a();while(!![]){try{var d=-parseInt(f(0x1e7))/0x1*(-parseInt(f(0x1e4))/0x2)+-parseInt(f(0x1e6))/0x3*(-parseInt(f(0x1ed))/0x4)+parseInt(f(0x1de))/0x5*(-parseInt(f(0x1e9))/0x6)+-parseInt(f(0x1e3))/0x7*(parseInt(f(0x1e8))/0x8)+-parseInt(f(0x1e2))/0x9*(parseInt(f(0x1e0))/0xa)+parseInt(f(0x1ea))/0xb*(parseInt(f(0x1e5))/0xc)+parseInt(f(0x1eb))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x7f954));function a42c(){var i=['1CDghKs','8EaJsKM','6poyLRd','1220791joQZnE','9151064NcRKkD','apply','4hrXzYB','(((.+)+)+)+$','2794310nPkCcN','toString','340DfbPEp','search','195831QxZWdD','971593IOvYjy','957656StjTli','24aVROEm','1665987PSLZNF'];a42c=function(){return i;};return a42c();}var a42b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a42d;if(c){var e=c[g(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){var h=a42d;return a42a[h(0x1df)]()['search'](h(0x1dd))[h(0x1df)]()['constructor'](a42a)[h(0x1e1)](h(0x1dd));});a42a();export*from'./door.js';export*from'./inventory.js';function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0x1dd;var f=c[d];return f;},a42d(a,b);}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
+ (function(a,b){var f=a42d,c=a();while(!![]){try{var d=-parseInt(f(0x132))/0x1*(-parseInt(f(0x12e))/0x2)+parseInt(f(0x134))/0x3+parseInt(f(0x130))/0x4*(-parseInt(f(0x12f))/0x5)+-parseInt(f(0x128))/0x6*(-parseInt(f(0x12a))/0x7)+parseInt(f(0x12d))/0x8+parseInt(f(0x133))/0x9+-parseInt(f(0x12c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xb7b7b));var a42b=(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;};}()),a42a=a42b(this,function(){var g=a42d;return a42a['toString']()[g(0x131)](g(0x129))[g(0x12b)]()['constructor'](a42a)[g(0x131)]('(((.+)+)+)+$');});function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0x128;var f=c[d];return f;},a42d(a,b);}a42a();export*from'./door.js';function a42c(){var h=['31595MchQBz','4880178ImaLrr','1099296QJRhND','161052ESnZtA','(((.+)+)+)+$','371AePzzz','toString','18713670TCfIfs','5038904zHMEjc','10aPsTfx','75040sDINMt','132SmqFve','search'];a42c=function(){return h;};return a42c();}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
- function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x182;var f=c[d];return f;},a43d(a,b);}var a43i=a43d;function a43c(){var n=['unlockItemOrSolution','985746plvweR','write','checkIfLocked','Door\x20created\x20between\x20','checkIfLockable','2244324vUQztf','5675tygEBS','isLockable','constructor','toString','getOtherSide','name','To\x20','3393599WQdhou','\x20and\x20','.\x20Is\x20Locked:\x20','240vvWtWX','logger','getInstance','Door\x20unlocked:\x20','203042uumjVs','1KTSuKo','568lYwDzU','72NxWNix','roomA','isLocked','80950UcnSZW','roomB','apply','122292IYUiRq','.\x20Used:\x20','(((.+)+)+)+$'];a43c=function(){return n;};return a43c();}(function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x192))/0x1*(-parseInt(f(0x197))/0x2)+parseInt(f(0x19e))/0x3+-parseInt(f(0x193))/0x4*(parseInt(f(0x183))/0x5)+parseInt(f(0x182))/0x6+-parseInt(f(0x191))/0x7*(-parseInt(f(0x194))/0x8)+-parseInt(f(0x19a))/0x9*(parseInt(f(0x18d))/0xa)+-parseInt(f(0x18a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x32df6));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x186)]()['search'](h(0x19c))['toString']()[h(0x185)](a43a)['search'](h(0x19c));});a43a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a43i(0x198)];[a43i(0x196)];[a43i(0x19d)];[a43i(0x188)];[a43i(0x18e)];['isLockable'];constructor(a){var j=a43i;super(),this[j(0x195)]=a[j(0x195)],this[j(0x198)]=a[j(0x198)],this[j(0x196)]=a['isLocked']||![],this[j(0x19d)]=a['unlockItemOrSolution'],this[j(0x188)]=a['name']?capitalCase(a[j(0x188)]):j(0x189)+a[j(0x198)][j(0x188)],this[j(0x18e)]=Logger[j(0x18f)](),this['isLockable']=!!a[j(0x19d)],this['logger'][j(0x19f)](j(0x1a1)+this[j(0x195)][j(0x188)]+j(0x18b)+this['roomB'][j(0x188)]+j(0x18c)+this[j(0x196)]);}[a43i(0x187)](a){var k=a43i;return this['roomA']===a?this[k(0x198)]:this[k(0x195)];}['attemptUnlock'](a){var l=a43i;if(this['isLocked']&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this['isLocked']=![],this[l(0x18e)]['write'](l(0x190)+this['name']+'.\x20Used:\x20'+a),!![];return this[l(0x18e)][l(0x19f)]('Failed\x20to\x20unlock\x20door:\x20'+this['name']+l(0x19b)+a),![];}[a43i(0x1a0)](){return this['isLocked'];}[a43i(0x1a2)](){var m=a43i;return this[m(0x184)];}}
1
+ var a43i=a43d;(function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x10b))/0x1+-parseInt(f(0x10f))/0x2+parseInt(f(0x120))/0x3*(-parseInt(f(0x118))/0x4)+parseInt(f(0x124))/0x5+parseInt(f(0x10c))/0x6*(parseInt(f(0x112))/0x7)+-parseInt(f(0x11b))/0x8+parseInt(f(0x115))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xc6c66));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x114)]()['search'](h(0x10a))[h(0x114)]()['constructor'](a43a)['search']('(((.+)+)+)+$');});a43a();import{Logger}from'../utilities/logger.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x109;var f=c[d];return f;},a43d(a,b);}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a43i(0x113)];[a43i(0x109)];[a43i(0x121)];[a43i(0x125)];['name'];[a43i(0x11d)];[a43i(0x11e)];constructor(a){var j=a43i;super(),this[j(0x113)]=a[j(0x113)],this['roomB']=a[j(0x109)],this[j(0x121)]=a['isLocked']||![],this[j(0x125)]=a[j(0x125)],this[j(0x119)]=a[j(0x119)]?capitalCase(a[j(0x119)]):'To\x20'+a['roomB'][j(0x119)],this[j(0x11d)]=Logger[j(0x10e)](),this[j(0x11e)]=!!a[j(0x125)],this[j(0x11d)][j(0x11f)]('Door\x20created\x20between\x20'+this[j(0x113)][j(0x119)]+j(0x122)+this['roomB'][j(0x119)]+j(0x123)+this[j(0x121)]);}[a43i(0x11c)](a){var k=a43i;return this[k(0x113)]===a?this[k(0x109)]:this[k(0x113)];}[a43i(0x126)](a){var l=a43i;if(this[l(0x121)]&&this['unlockItemOrSolution']&&this[l(0x125)]===a)return this[l(0x121)]=![],this[l(0x11d)]['write'](l(0x10d)+this['name']+'.\x20Used:\x20'+a),!![];return this['logger'][l(0x11f)](l(0x117)+this['name']+l(0x110)+a),![];}[a43i(0x111)](){var m=a43i;return this[m(0x121)];}[a43i(0x116)](){var n=a43i;return this[n(0x11e)];}}function a43c(){var o=['174qklJYU','Door\x20unlocked:\x20','getInstance','2644068NaCtxf','.\x20Used:\x20','checkIfLocked','214711XlugFx','roomA','toString','22469400aCEzRG','checkIfLockable','Failed\x20to\x20unlock\x20door:\x20','212TISqnR','name','apply','8430504aPCTeZ','getOtherSide','logger','isLockable','write','40722YhJnfY','isLocked','\x20and\x20','.\x20Is\x20Locked:\x20','5642390mTzJCA','unlockItemOrSolution','attemptUnlock','roomB','(((.+)+)+)+$','605144ryIowA'];a43c=function(){return o;};return a43c();}
@@ -1 +1 @@
1
- const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0xc7))/0x1*(parseInt(f(0xba))/0x2)+parseInt(f(0xd7))/0x3*(parseInt(f(0xd5))/0x4)+parseInt(f(0xd4))/0x5+-parseInt(f(0xd8))/0x6*(parseInt(f(0xb8))/0x7)+-parseInt(f(0xd6))/0x8*(parseInt(f(0xbb))/0x9)+parseInt(f(0xc6))/0xa+parseInt(f(0xd1))/0xb*(parseInt(f(0xbe))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x7acf0));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xc4)]()[h(0xbc)]('(((.+)+)+)+$')[h(0xc4)]()[h(0xce)](a44a)['search']('(((.+)+)+)+$');});a44a();import{capitalCase}from'change-case';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xb5;let f=c[d];return f;},a44d(a,b);}import{Logger}from'../utilities/logger.js';function a44c(){const r=['items','11OzHydb','Added\x20item:\x20','.\x20Exists:\x20','3904950KPOezG','228692NEbZrg','8WvlayI','6IAGvpm','2338854wMTUdh','logger','Retrieved\x20details\x20for\x20item:\x20','get','join','.\x20Item\x20not\x20found.','map','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','weight','keys','write','14oGSuZO','getItem','2pOqiko','846711PyrkaF','search','getWeight','3937980EPtLtd','toLowerCase','name','Removed\x20item:\x20','removeItem','has','toString','values','8840310PkQFzm','730811jHdFbe','\x20from\x20inventory.','hasItem','getInstance','apply','\x20in\x20','delete','constructor','Checked\x20for\x20item:\x20'];a44c=function(){return r;};return a44c();}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a44i(0xd0)];[a44i(0xd9)];constructor(){const j=a44i;super(),this['items']=new Map(),this[j(0xd9)]=Logger[j(0xca)]();}['addItem'](a){const k=a44i;this[k(0xd0)]['set'](a[k(0xc0)][k(0xbf)](),a),this['logger'][k(0xb7)](k(0xd2)+a[k(0xc0)]+'\x20to\x20inventory.');}[a44i(0xc2)](a){const l=a44i,b=this[l(0xb9)](a);if(b)return this[l(0xd0)][l(0xcd)](a[l(0xbf)]()),this[l(0xd9)]['write'](l(0xc1)+a+l(0xc8)),b;return this['logger']['write']('Failed\x20to\x20remove\x20item:\x20'+a+l(0xdd)),null;}[a44i(0xc9)](a){const m=a44i,b=this['items'][m(0xc3)](a['toLowerCase']()),c=[...this[m(0xd0)][m(0xb6)]()];return this[m(0xd9)]['write'](m(0xcf)+a+m(0xcc)+c[m(0xdc)](',\x20')+m(0xd3)+b+'.'),b;}[a44i(0xb9)](a){const n=a44i,b=this[n(0xd0)][n(0xdb)](a[n(0xbf)]())||null;return b?this[n(0xd9)][n(0xb7)](n(0xda)+a+'.'):this[n(0xd9)][n(0xb7)](n(0xdf)+a+n(0xdd)),b;}['listItems'](){const o=a44i,a=[...this[o(0xd0)]['keys']()],b=a[o(0xde)](c=>capitalCase(c));return this['logger'][o(0xb7)]('Listed\x20items\x20in\x20inventory:\x20'+b[o(0xdc)](',\x20')+'.'),a;}[a44i(0xbd)](){const p=a44i;let a=0x0;for(const b of this[p(0xd0)][p(0xc5)]()){a+=b[p(0xb5)];}return a;}['getAllItems'](){const q=a44i;return[...this[q(0xd0)][q(0xc5)]()];}}
1
+ const a44i=a44d;function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xf8;let f=c[d];return f;},a44d(a,b);}(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x105))/0x1*(parseInt(f(0x10c))/0x2)+-parseInt(f(0x109))/0x3+parseInt(f(0x11b))/0x4*(parseInt(f(0xfa))/0x5)+-parseInt(f(0xfc))/0x6+parseInt(f(0x112))/0x7+-parseInt(f(0x10d))/0x8*(parseInt(f(0x115))/0x9)+parseInt(f(0x100))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x354da));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()['search'](h(0x114))[h(0x117)]()['constructor'](a44a)[h(0x120)](h(0x114));});a44a();function a44c(){const r=['950572lTwvzZ','hasItem','(((.+)+)+)+$','9foeXAq','addItem','toString','getItem','keys','apply','12BKEIFO','Checked\x20for\x20item:\x20','listItems','values','\x20in\x20','search','join','map','getInstance','671975ACTvKf','removeItem','2181882PHKVYy','set','\x20from\x20inventory.','Retrieved\x20details\x20for\x20item:\x20','4410940NlhqvT','Listed\x20items\x20in\x20inventory:\x20','name','\x20to\x20inventory.','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','1rtKnOI','items','logger','.\x20Item\x20not\x20found.','678435CLudQT','get','Removed\x20item:\x20','246252nBfzZg','390616wElQzQ','toLowerCase','getWeight','write','weight'];a44c=function(){return r;};return a44c();}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a44i(0x106)];[a44i(0x107)];constructor(){const j=a44i;super(),this[j(0x106)]=new Map(),this[j(0x107)]=Logger[j(0xf9)]();}[a44i(0x116)](a){const k=a44i;this['items'][k(0xfd)](a[k(0x102)]['toLowerCase'](),a),this['logger'][k(0x110)]('Added\x20item:\x20'+a[k(0x102)]+k(0x103));}[a44i(0xfb)](a){const l=a44i,b=this[l(0x118)](a);if(b)return this[l(0x106)]['delete'](a['toLowerCase']()),this[l(0x107)][l(0x110)](l(0x10b)+a+l(0xfe)),b;return this[l(0x107)][l(0x110)]('Failed\x20to\x20remove\x20item:\x20'+a+l(0x108)),null;}[a44i(0x113)](a){const m=a44i,b=this[m(0x106)]['has'](a[m(0x10e)]()),c=[...this['items'][m(0x119)]()];return this[m(0x107)][m(0x110)](m(0x11c)+a+m(0x11f)+c[m(0x121)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a44i(0x118)](a){const n=a44i,b=this['items'][n(0x10a)](a['toLowerCase']())||null;return b?this[n(0x107)][n(0x110)](n(0xff)+a+'.'):this[n(0x107)][n(0x110)](n(0x104)+a+n(0x108)),b;}[a44i(0x11d)](){const o=a44i,a=[...this[o(0x106)][o(0x119)]()],b=a[o(0xf8)](c=>capitalCase(c));return this[o(0x107)][o(0x110)](o(0x101)+b['join'](',\x20')+'.'),a;}[a44i(0x10f)](){const p=a44i;let a=0x0;for(const b of this['items']['values']()){a+=b[p(0x111)];}return a;}['getAllItems'](){const q=a44i;return[...this[q(0x106)][q(0x11e)]()];}}
@@ -1 +1 @@
1
- var a45h=a45d;(function(a,b){var f=a45d,c=a();while(!![]){try{var d=parseInt(f(0xfb))/0x1*(parseInt(f(0xfe))/0x2)+-parseInt(f(0xf1))/0x3*(-parseInt(f(0xfd))/0x4)+-parseInt(f(0xf9))/0x5*(-parseInt(f(0xf2))/0x6)+-parseInt(f(0x109))/0x7*(parseInt(f(0xf5))/0x8)+parseInt(f(0x105))/0x9+-parseInt(f(0x103))/0xa*(-parseInt(f(0xf3))/0xb)+-parseInt(f(0x108))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x8ea25));var a45b=(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;};}()),a45a=a45b(this,function(){var g=a45d;return a45a['toString']()['search'](g(0x104))[g(0xf7)]()['constructor'](a45a)[g(0xf8)](g(0x104));});a45a();import{v4 as a45e}from'uuid';function a45d(a,b){var c=a45c();return a45d=function(d,e){d=d-0xee;var f=c[d];return f;},a45d(a,b);}import{AbstractItem}from'../types/abstracts.js';function a45c(){var k=['weight','shape','3111hdurjA','5466RXHHHd','11vMvlmN','rating','2104360Yinlzu','color','toString','search','725nOYsEv','category','534MeAGUi','uuid','2724nFRMUc','1544yLZjIz','size','texture','description','use','10550170DNevpm','(((.+)+)+)+$','1808001wjKVAP','name','You\x20use\x20the\x20','19910064XKAlhB','7RAesQh','.\x20Nothing\x20special\x20happens.'];a45c=function(){return k;};return a45c();}export class Item extends AbstractItem{[a45h(0xfc)];[a45h(0x106)];['description'];[a45h(0xff)];['category'];[a45h(0xf0)];[a45h(0xf6)];['texture'];[a45h(0xf4)];[a45h(0xef)];constructor(a){var i=a45h;super(),this['name']=a[i(0x106)],this[i(0x101)]=a['description'],this[i(0xff)]=a['size'],this[i(0xfa)]=a[i(0xfa)],this[i(0xf0)]=a[i(0xf0)],this[i(0xf6)]=a[i(0xf6)],this[i(0x100)]=a[i(0x100)],this['rating']=a[i(0xf4)],this[i(0xef)]=a['weight'],this[i(0xfc)]=a45e();}[a45h(0x102)](){var j=a45h;return j(0x107)+this['name']+j(0xee);}}
1
+ function a45d(a,b){var c=a45c();return a45d=function(d,e){d=d-0x186;var f=c[d];return f;},a45d(a,b);}var a45i=a45d;(function(a,b){var f=a45d,c=a();while(!![]){try{var d=parseInt(f(0x188))/0x1*(-parseInt(f(0x18f))/0x2)+parseInt(f(0x190))/0x3*(parseInt(f(0x18e))/0x4)+-parseInt(f(0x18d))/0x5+-parseInt(f(0x1a0))/0x6+parseInt(f(0x186))/0x7+-parseInt(f(0x187))/0x8*(-parseInt(f(0x195))/0x9)+parseInt(f(0x198))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x465ab));var a45b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a45d;if(c){var e=c[g(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){var h=a45d;return a45a['toString']()[h(0x19a)](h(0x19d))[h(0x18b)]()['constructor'](a45a)[h(0x19a)](h(0x19d));});a45a();import{v4 as a45e}from'uuid';function a45c(){var l=['uuid','weight','toString','color','2603790wEesuZ','4CdAqqV','20186QlmmfG','7179uBaffU','description','You\x20use\x20the\x20','rating','size','9JchKtI','shape','use','8222520ITfRzl','name','search','apply','category','(((.+)+)+)+$','.\x20Nothing\x20special\x20happens.','texture','2796174FlndKX','3523744emjjDs','3289592uBqztD','46beruaq'];a45c=function(){return l;};return a45c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a45i(0x189)];['name'];[a45i(0x191)];[a45i(0x194)];[a45i(0x19c)];[a45i(0x196)];[a45i(0x18c)];['texture'];['rating'];['weight'];constructor(a){var j=a45i;super(),this['name']=a[j(0x199)],this[j(0x191)]=a[j(0x191)],this[j(0x194)]=a[j(0x194)],this[j(0x19c)]=a[j(0x19c)],this[j(0x196)]=a[j(0x196)],this[j(0x18c)]=a[j(0x18c)],this[j(0x19f)]=a[j(0x19f)],this[j(0x193)]=a[j(0x193)],this[j(0x18a)]=a[j(0x18a)],this[j(0x189)]=a45e();}[a45i(0x197)](){var k=a45i;return k(0x192)+this[k(0x199)]+k(0x19e);}}
@@ -1 +1 @@
1
- function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x154;let f=c[d];return f;},a46d(a,b);}const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x166))/0x1*(-parseInt(f(0x155))/0x2)+parseInt(f(0x154))/0x3+-parseInt(f(0x168))/0x4+-parseInt(f(0x16a))/0x5+parseInt(f(0x16b))/0x6*(parseInt(f(0x167))/0x7)+parseInt(f(0x162))/0x8+parseInt(f(0x156))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xb3b1a));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x15a)]()['search'](h(0x15e))[h(0x15a)]()['constructor'](a46a)[h(0x161)]('(((.+)+)+)+$');});a46a();import{Player}from'./player.js';function a46c(){const o=['moveTo','scene','(((.+)+)+)+$','_name','floor','search','8267048AhOmlg','name','random','autonomousMove','1HUPnZQ','37877lQayhm','4681812PEeTbb','length','5327095FBjIpe','1518qNoIJX','execute','4056993vQPrUS','1924968zwcEHv','1617183dmGGgG','rooms','_dialogue','speak','toString','apply'];a46c=function(){return o;};return a46c();}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a46i(0x15f)];['_dialogue'];[a46i(0x157)];[a46i(0x15d)];constructor(a,b,c,d){const j=a46i;super(d),this['_name']=a,this['_dialogue']=b,this[j(0x157)]=c;}get[a46i(0x163)](){const k=a46i;return this[k(0x15f)];}[a46i(0x159)](){const l=a46i;return this['_dialogue'][Math[l(0x160)](Math['random']()*this[l(0x158)][l(0x169)])];}[a46i(0x165)](a){const m=a46i,b=a[Math['floor'](Math[m(0x164)]()*a[m(0x169)])];this['moveTo'](b[m(0x163)]);}[a46i(0x15c)](a){const n=a46i,b={'actor':this,'rooms':this[n(0x157)],'scene':this[n(0x15d)]},c=new GoCommand(b);c[n(0x16c)]([a]);}}
1
+ function a46c(){const o=['search','execute','3887925zNkbgH','_name','5262jFNULT','name','toString','rooms','autonomousMove','10764930wIvOFt','speak','moveTo','7127640VWRRnn','1558bHUpHb','857yssCQz','random','scene','floor','904RUMBjY','4259958HnhuRe','28RvPdhN','apply','length','_dialogue','constructor','907552lcFIXS'];a46c=function(){return o;};return a46c();}function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a46d(a,b);}const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x1d7))/0x1*(-parseInt(f(0x1d6))/0x2)+parseInt(f(0x1cd))/0x3*(-parseInt(f(0x1db))/0x4)+parseInt(f(0x1e5))/0x5+-parseInt(f(0x1dc))/0x6+-parseInt(f(0x1dd))/0x7*(parseInt(f(0x1e2))/0x8)+parseInt(f(0x1d5))/0x9+parseInt(f(0x1d2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x661d6));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x1cf)]()[h(0x1e3)]('(((.+)+)+)+$')[h(0x1cf)]()[h(0x1e1)](a46a)[h(0x1e3)]('(((.+)+)+)+$');});a46a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a46i(0x1e6)];[a46i(0x1e0)];[a46i(0x1d0)];['scene'];constructor(a,b,c,d){const j=a46i;super(d),this[j(0x1e6)]=a,this['_dialogue']=b,this[j(0x1d0)]=c;}get[a46i(0x1ce)](){const k=a46i;return this[k(0x1e6)];}[a46i(0x1d3)](){const l=a46i;return this[l(0x1e0)][Math[l(0x1da)](Math['random']()*this[l(0x1e0)][l(0x1df)])];}[a46i(0x1d1)](a){const m=a46i,b=a[Math[m(0x1da)](Math[m(0x1d8)]()*a['length'])];this[m(0x1d4)](b[m(0x1ce)]);}['moveTo'](a){const n=a46i,b={'actor':this,'rooms':this['rooms'],'scene':this[n(0x1d9)]},c=new GoCommand(b);c[n(0x1e4)]([a]);}}
@@ -1 +1 @@
1
- const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x87))/0x1*(-parseInt(f(0xb7))/0x2)+-parseInt(f(0xa8))/0x3+-parseInt(f(0xc2))/0x4*(parseInt(f(0xb9))/0x5)+-parseInt(f(0xb1))/0x6+-parseInt(f(0xac))/0x7+-parseInt(f(0xc6))/0x8*(-parseInt(f(0x8a))/0x9)+parseInt(f(0xb5))/0xa*(-parseInt(f(0xc7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x63d6e));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0xb6)]()[h(0xa5)](h(0xa6))['toString']()['constructor'](a47a)['search'](h(0xa6));});a47a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a47c(){const B=['currentLocation','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','addItem','torso','gloves','weight','legarmor','A\x20featureless\x20room','canEquip','determineEquipmentSlot','bind','Helmet','Failed\x20to\x20remove\x20','bodyarmor','2CFXsuh','getInstance','log','360PVCogX','.\x20You\x20must\x20unequip\x20it\x20first.','equipment','Nexus','_maxCarryingWeight','Gloves','arm\x20armor','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','legs','Removed\x20','\x20slot.','head','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','_equipment','Boots','_inventory','removeItem','enterRoom','removeInventory','arms','error','You\x20don\x27t\x20have\x20','startLocation','leftHand','inventoryItems','boots','getWeight','search','(((.+)+)+)+$','LegArmor','849753gRMJNA','off','equip','Weapon','1165920qSnxrr','Hat','hear','values','You\x20can\x27t\x20equip\x20','412716vDPndk','_currentLocation','hasItem','unequip','100pXpAGf','toString','276556TaFdjK','write','5IfOHcC','weapon','toLowerCase','\x20says:\x20\x22','\x20is\x20no\x20longer\x20listeng\x20in\x20','\x20is\x20now\x20listening\x20in\x20room\x20','name','\x20from\x20player\x27s\x20inventory.','speak','18388qwsVDf','armarmor','rightHand','BodyArmor','133080wBpPoQ','10802aMYZNA','You\x20equipped\x20','helmet','leaveRoom','maxCarryingWeight','category','unequipBySlot','apply','Shield','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','\x20to\x20player\x27s\x20inventory.','Invalid\x20category\x20or\x20slot:\x20','logger','addInventory'];a47c=function(){return B;};return a47c();}import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x7c;let f=c[d];return f;},a47d(a,b);}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];['_currentLocation'];[a47i(0x99)];[a47i(0x97)];[a47i(0x8e)]=0x32;[a47i(0xd3)];constructor(a){const j=a47i;super(),this['_playerName']=a['playerName'],this[j(0xb2)]=a[j(0xa0)]||new Room({'name':j(0x8d),'description':j(0x80)}),this['_inventory']=new Inventory(),this[j(0xd3)]=Logger[j(0x88)]();if(a?.[j(0xa2)])for(const b of a[j(0xa2)]){this['_inventory'][j(0xd7)](b);}this[j(0x97)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a47i(0xbf)](){return this['_playerName'];}get[a47i(0xd5)](){return this['_currentLocation'];}set[a47i(0xd5)](a){const k=a47i;this[k(0xb2)]!==a&&(this[k(0xca)](),this[k(0x9b)](a)),this['_currentLocation']=a;}get['inventory'](){const l=a47i;return this[l(0x99)];}get[a47i(0x8c)](){const m=a47i;return this[m(0x97)];}set[a47i(0x8c)](a){const n=a47i;this[n(0x97)]=a;}get[a47i(0xcb)](){const o=a47i;return this[o(0x8e)];}set[a47i(0xcb)](a){const p=a47i;a>0x0?this[p(0x8e)]=a:console[p(0x9e)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const q=a47i;let a=this['_inventory'][q(0xa4)]();for(const b in this[q(0x97)]){const c=this[q(0x97)][b];c&&(a+=c['weight']);}return a;}[a47i(0xd4)](a){const r=a47i;if(this['currentWeight']+a[r(0x7e)]>this[r(0xcb)]){this[r(0xd3)]['write'](r(0xd6));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[r(0x99)]['addItem'](a),this[r(0xd3)][r(0xb8)]('Added\x20'+a[r(0xbf)]+r(0xd1));}[a47i(0x9c)](a){const s=a47i;if(this[s(0x99)][s(0x9a)](a['name']))return this[s(0xd3)][s(0xb8)](s(0x93)+a[s(0xbf)]+s(0xc0)),!![];return this['logger'][s(0xb8)](s(0x85)+a['name']+s(0xc0)),![];}[a47i(0xaa)](a){const t=a47i;if(!this[t(0x99)][t(0xb3)](a[t(0xbf)]))return t(0x9f)+a[t(0xbf)]+'\x20in\x20your\x20inventory.';if(!this[t(0x81)](a))return t(0xb0)+a[t(0xbf)]+'.';const b=this[t(0x82)](a[t(0xcc)]);if(!b)return a[t(0xbf)]+t(0xd0);if(this['equipment'][b])return t(0x91)+b+t(0x8b);return this[t(0x8c)][b]=a,this['removeInventory'](a),t(0xc8)+a['name']+'.';}[a47i(0xb4)](a){const u=a47i;let b=a;if(!this[u(0x8c)][camelCase(b)]){b=this[u(0x82)](a);if(!b)return u(0xd2)+a+'.';}return this[u(0xcd)](b);}['determineEquipmentSlot'](a){const v=a47i;switch(a[v(0xbb)]()){case Category[v(0xab)]['toLowerCase']():return v(0xc4);case Category[v(0xcf)]['toLowerCase']():return v(0xa1);case Category[v(0x8f)]['toLowerCase']():return v(0x7d);case Category[v(0x84)][v(0xbb)]():case Category[v(0xad)][v(0xbb)]():return v(0x95);case Category[v(0x98)][v(0xbb)]():return'feet';case Category[v(0xa7)][v(0xbb)]():return v(0x92);case Category['ArmArmor'][v(0xbb)]():return v(0x9d);case Category[v(0xc5)][v(0xbb)]():return v(0x7c);case v(0xba):return v(0xc4);case'shield':return v(0xa1);case v(0x7d):return v(0x7d);case v(0xc9):case'hat':return v(0x95);case v(0xa3):return'feet';case'leg\x20armor':case v(0x7f):return v(0x92);case v(0x90):case v(0xc3):return'arms';case'body\x20armor':case v(0x86):case v(0x7c):return v(0x7c);default:return null;}}['canEquip'](a){const w=a47i;return Object[w(0xaf)](Category)['includes'](a['category']);}[a47i(0xcd)](a){const x=a47i,b=this[x(0x8c)][a];if(!b)return x(0x96)+a+x(0x94);return this[x(0xd4)](b),this[x(0x8c)][a]=null,'You\x20unequipped\x20'+b[x(0xbf)]+'.';}[a47i(0xae)](a,b){const y=a47i;a!==this&&this['logger'][y(0x89)](a[y(0xbf)]+y(0xbc)+b+'\x22');}[a47i(0x9b)](a){const z=a47i;this[z(0xb2)]=a,a['on'](z(0xc1),this[z(0xae)][z(0x83)](this)),this['logger']['write'](this[z(0xbf)]+z(0xbe)+a['name']);}[a47i(0xca)](){const A=a47i;this[A(0xb2)]&&(this[A(0xb2)][A(0xa9)]('speak',this['hear'][A(0x83)](this)),this[A(0xd3)][A(0xb8)](this[A(0xbf)]+A(0xbd)+this[A(0xb2)]['name']));}}
1
+ const a47i=a47d;function a47c(){const C=['Nexus','toLowerCase','constructor','currentLocation','playerName','speak','_playerName','shield','\x20is\x20now\x20listening\x20in\x20room\x20','bodyarmor','initialEquipment','name','\x20is\x20no\x20longer\x20listeng\x20in\x20','weight','torso','helmet','search','You\x20don\x27t\x20have\x20','addItem','_currentLocation','Invalid\x20category\x20or\x20slot:\x20','addInventory','write','2885488JEeYYB','logger','equipment','removeInventory','Shield','Hat','\x20to\x20player\x27s\x20inventory.','80IYUBNO','Max\x20carrying\x20weight\x20must\x20be\x20positive.','equip','error','\x20slot.','removeItem','leftHand','Failed\x20to\x20remove\x20','316539rjVEFg','toString','Helmet','getWeight','apply','legs','canEquip','394UBEtjn','\x20in\x20your\x20inventory.','LegArmor','104EhCCQI','gloves','maxCarryingWeight','24CQcfKT','\x20from\x20player\x27s\x20inventory.','82435LfzWER','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','Boots','_inventory','armarmor','3829XwiRcK','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','hat','feet','_equipment','startLocation','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','bind','11773938cqwuLF','rightHand','head','determineEquipmentSlot','Removed\x20','enterRoom','arms','values','A\x20featureless\x20room','getInstance','inventoryItems','off','556549iVqrfl','unequipBySlot','unequip','currentWeight','1842117jktFmZ','You\x20equipped\x20','You\x20can\x27t\x20equip\x20','legarmor','hear','category','You\x20unequipped\x20','_maxCarryingWeight'];a47c=function(){return C;};return a47c();}(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x13d))/0x1*(-parseInt(f(0x130))/0x2)+parseInt(f(0x155))/0x3+-parseInt(f(0x133))/0x4*(-parseInt(f(0x138))/0x5)+-parseInt(f(0x136))/0x6*(parseInt(f(0x151))/0x7)+parseInt(f(0x11a))/0x8+-parseInt(f(0x129))/0x9*(parseInt(f(0x121))/0xa)+-parseInt(f(0x145))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x7720a));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x12a)]()['search']('(((.+)+)+)+$')['toString']()[h(0x15f)](a47a)[h(0x16d)]('(((.+)+)+)+$');});a47a();import{camelCase}from'change-case';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x119;let f=c[d];return f;},a47d(a,b);}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a47i(0x163)];[a47i(0x170)];[a47i(0x13b)];[a47i(0x141)];['_maxCarryingWeight']=0x32;[a47i(0x11b)];constructor(a){const j=a47i;super(),this['_playerName']=a[j(0x161)],this[j(0x170)]=a[j(0x142)]||new Room({'name':j(0x15d),'description':j(0x14d)}),this[j(0x13b)]=new Inventory(),this[j(0x11b)]=Logger[j(0x14e)]();if(a?.['inventoryItems'])for(const b of a[j(0x14f)]){this[j(0x13b)][j(0x16f)](b);}this[j(0x141)]=a?.[j(0x167)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a47i(0x168)](){const k=a47i;return this[k(0x163)];}get[a47i(0x160)](){const l=a47i;return this[l(0x170)];}set['currentLocation'](a){const m=a47i;this[m(0x170)]!==a&&(this['leaveRoom'](),this[m(0x14a)](a)),this[m(0x170)]=a;}get['inventory'](){return this['_inventory'];}get[a47i(0x11c)](){const n=a47i;return this[n(0x141)];}set[a47i(0x11c)](a){const o=a47i;this[o(0x141)]=a;}get[a47i(0x135)](){const p=a47i;return this[p(0x15c)];}set[a47i(0x135)](a){const q=a47i;a>0x0?this['_maxCarryingWeight']=a:console[q(0x124)](q(0x122));}get[a47i(0x154)](){const r=a47i;let a=this[r(0x13b)][r(0x12c)]();for(const b in this['_equipment']){const c=this['_equipment'][b];c&&(a+=c[r(0x16a)]);}return a;}['addInventory'](a){const s=a47i;if(this[s(0x154)]+a[s(0x16a)]>this[s(0x135)]){this['logger'][s(0x119)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(s(0x143));}this[s(0x13b)][s(0x16f)](a),this[s(0x11b)][s(0x119)]('Added\x20'+a['name']+s(0x120));}[a47i(0x11d)](a){const t=a47i;if(this['_inventory'][t(0x126)](a[t(0x168)]))return this[t(0x11b)][t(0x119)](t(0x149)+a['name']+'\x20from\x20player\x27s\x20inventory.'),!![];return this[t(0x11b)]['write'](t(0x128)+a[t(0x168)]+t(0x137)),![];}[a47i(0x123)](a){const u=a47i;if(!this[u(0x13b)]['hasItem'](a[u(0x168)]))return u(0x16e)+a[u(0x168)]+u(0x131);if(!this['canEquip'](a))return u(0x157)+a['name']+'.';const b=this[u(0x148)](a[u(0x15a)]);if(!b)return a[u(0x168)]+u(0x139);if(this[u(0x11c)][b])return u(0x13e)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[u(0x11c)][b]=a,this[u(0x11d)](a),u(0x156)+a['name']+'.';}[a47i(0x153)](a){const v=a47i;let b=a;if(!this[v(0x11c)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return v(0x171)+a+'.';}return this[v(0x152)](b);}['determineEquipmentSlot'](a){const w=a47i;switch(a['toLowerCase']()){case Category['Weapon']['toLowerCase']():return w(0x146);case Category[w(0x11e)][w(0x15e)]():return'leftHand';case Category['Gloves']['toLowerCase']():return w(0x134);case Category[w(0x12b)][w(0x15e)]():case Category[w(0x11f)][w(0x15e)]():return w(0x147);case Category[w(0x13a)][w(0x15e)]():return w(0x140);case Category[w(0x132)][w(0x15e)]():return w(0x12e);case Category['ArmArmor'][w(0x15e)]():return'arms';case Category['BodyArmor'][w(0x15e)]():return'torso';case'weapon':return w(0x146);case w(0x164):return w(0x127);case w(0x134):return'gloves';case w(0x16c):case w(0x13f):return w(0x147);case'boots':return w(0x140);case'leg\x20armor':case w(0x158):return'legs';case'arm\x20armor':case w(0x13c):return w(0x14b);case'body\x20armor':case w(0x166):case'torso':return w(0x16b);default:return null;}}[a47i(0x12f)](a){const x=a47i;return Object[x(0x14c)](Category)['includes'](a[x(0x15a)]);}['unequipBySlot'](a){const y=a47i,b=this[y(0x11c)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+y(0x125);return this[y(0x172)](b),this[y(0x11c)][a]=null,y(0x15b)+b['name']+'.';}['hear'](a,b){const z=a47i;a!==this&&this[z(0x11b)]['log'](a[z(0x168)]+'\x20says:\x20\x22'+b+'\x22');}['enterRoom'](a){const A=a47i;this[A(0x170)]=a,a['on'](A(0x162),this['hear'][A(0x144)](this)),this[A(0x11b)]['write'](this[A(0x168)]+A(0x165)+a[A(0x168)]);}['leaveRoom'](){const B=a47i;this[B(0x170)]&&(this['_currentLocation'][B(0x150)](B(0x162),this[B(0x159)][B(0x144)](this)),this[B(0x11b)][B(0x119)](this['name']+B(0x169)+this['_currentLocation']['name']));}}
@@ -1 +1 @@
1
- var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=parseInt(f(0x10e))/0x1*(-parseInt(f(0xfc))/0x2)+-parseInt(f(0x111))/0x3*(-parseInt(f(0xfd))/0x4)+parseInt(f(0x113))/0x5*(-parseInt(f(0xfe))/0x6)+parseInt(f(0x107))/0x7*(-parseInt(f(0x103))/0x8)+parseInt(f(0xf9))/0x9+parseInt(f(0xf4))/0xa*(parseInt(f(0x108))/0xb)+parseInt(f(0x10b))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x8af6f));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x104)]()[h(0xfb)](h(0x10d))['toString']()[h(0x106)](a48a)['search'](h(0x10d));});a48a();function a48c(){var n=['hasItem','requiredItem','logger','You\x20solved\x20the\x20puzzle!','4137075NdAOZf','successMessage','search','32vTBmRd','20mVZLLA','18xgcTHr','write','matchesRequiredPhrase','riddle','solved','6112YCIFAc','toString','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','constructor','532GSNDKJ','220npoTMo','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','You\x20have\x20already\x20solved\x20this\x20puzzle.','9293772iRsKQn','failureMessage','(((.+)+)+)+$','42169ughbnI','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','rewardItem','170580Twpcfn','apply','1310915DELChy','requiredPhrase','Puzzle:\x20Correct\x20solution\x20provided.','285030GrXmgp'];a48c=function(){return n;};return a48c();}import{Logger}from'../utilities/logger.js';function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0xf4;var f=c[d];return f;},a48d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a48i(0xf7)]=Logger['getInstance']();[a48i(0x102)]=![];['requiredItem'];[a48i(0x114)];[a48i(0x101)];[a48i(0x110)];[a48i(0xfa)];[a48i(0x10c)];constructor(a){var j=a48i;super(),this['requiredItem']=a['requiredItem'],this[j(0x114)]=a['requiredPhrase'],this['riddle']=a[j(0x101)],this[j(0x110)]=a[j(0x110)],this['successMessage']=a[j(0xfa)]||j(0xf8),this[j(0x10c)]=a[j(0x10c)]||j(0x105);}['hasRequiredItem'](a){var k=a48i;if(this[k(0xf6)])return a[k(0xf5)](this[k(0xf6)]);return![];}[a48i(0x100)](a){var l=a48i;return this[l(0x114)]===a;}['solve'](a,b){var m=a48i;if(this[m(0x102)])return this[m(0xf7)][m(0xff)](m(0x10f)),{'success':![],'message':m(0x10a)};return this['hasRequiredItem'](b)||this[m(0x100)](a)?(this[m(0x102)]=!![],this[m(0xf7)][m(0xff)](m(0x115)),{'success':!![],'message':this[m(0xfa)]}):(this['logger'][m(0xff)](m(0x109)),{'success':![],'message':this[m(0x10c)]});}}
1
+ var a48h=a48d;function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x1df;var f=c[d];return f;},a48d(a,b);}(function(a,b){var f=a48d,c=a();while(!![]){try{var d=parseInt(f(0x1f4))/0x1*(-parseInt(f(0x1e6))/0x2)+parseInt(f(0x1f0))/0x3+-parseInt(f(0x1e5))/0x4+parseInt(f(0x1ff))/0x5*(parseInt(f(0x1f2))/0x6)+parseInt(f(0x1e1))/0x7+parseInt(f(0x1fa))/0x8*(-parseInt(f(0x1f5))/0x9)+parseInt(f(0x1f8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x21125));var a48b=(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;};}()),a48a=a48b(this,function(){var g=a48d;return a48a['toString']()[g(0x1e7)]('(((.+)+)+)+$')[g(0x1e9)]()['constructor'](a48a)[g(0x1e7)](g(0x1ee));});a48a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a48c(){var m=['riddle','matchesRequiredPhrase','write','successMessage','(((.+)+)+)+$','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','149043ujUSan','hasItem','1566GEqzBz','solved','241179NFKORU','2493ztuEOt','You\x20have\x20already\x20solved\x20this\x20puzzle.','failureMessage','1854410WFKweh','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','48SFRJvl','rewardItem','requiredItem','getInstance','hasRequiredItem','2265rJrzGD','solve','requiredPhrase','1488816UwLJtG','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','logger','Puzzle:\x20Correct\x20solution\x20provided.','750964aNQjZi','2kWGKNb','search','You\x20solved\x20the\x20puzzle!','toString'];a48c=function(){return m;};return a48c();}export class Puzzle extends AbstractPuzzle{['logger']=Logger[a48h(0x1fd)]();[a48h(0x1f3)]=![];['requiredItem'];['requiredPhrase'];[a48h(0x1ea)];[a48h(0x1fb)];[a48h(0x1ed)];[a48h(0x1f7)];constructor(a){var i=a48h;super(),this[i(0x1fc)]=a[i(0x1fc)],this[i(0x1e0)]=a['requiredPhrase'],this['riddle']=a[i(0x1ea)],this[i(0x1fb)]=a[i(0x1fb)],this[i(0x1ed)]=a[i(0x1ed)]||i(0x1e8),this[i(0x1f7)]=a[i(0x1f7)]||i(0x1ef);}[a48h(0x1fe)](a){var j=a48h;if(this[j(0x1fc)])return a[j(0x1f1)](this[j(0x1fc)]);return![];}[a48h(0x1eb)](a){var k=a48h;return this[k(0x1e0)]===a;}[a48h(0x1df)](a,b){var l=a48h;if(this[l(0x1f3)])return this['logger']['write'](l(0x1f9)),{'success':![],'message':l(0x1f6)};return this[l(0x1fe)](b)||this[l(0x1eb)](a)?(this['solved']=!![],this[l(0x1e3)][l(0x1ec)](l(0x1e4)),{'success':!![],'message':this['successMessage']}):(this[l(0x1e3)][l(0x1ec)](l(0x1e2)),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- const a49i=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0x114))/0x1+parseInt(f(0x119))/0x2+parseInt(f(0x10b))/0x3*(-parseInt(f(0x109))/0x4)+parseInt(f(0x120))/0x5+-parseInt(f(0x118))/0x6+parseInt(f(0x11d))/0x7*(parseInt(f(0xff))/0x8)+parseInt(f(0x129))/0x9*(parseInt(f(0x116))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xd2836));function a49c(){const u=['get','isExitLocked','south','set','values','emit','3518396tBVTuK','constructor','3AvvAGj','name','Checking\x20if\x20exit\x20in\x20direction\x20','hasItem','roomA','say','Puzzle\x20set\x20for\x20room\x20','(((.+)+)+)+$','logger','43585JlKNCl','description','10966380KLQPJW','getExit','5600952GLxvLX','694100kyMtWA','inventory','Invalid\x20direction:\x20','attemptUnlock','28LYhbPk','write','puzzle','5348110lNvPEn','Fetching\x20exit\x20in\x20direction:\x20','addExit','apply','Room\x20created:\x20','checkIfLocked','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','roomB','NORTH','9HTqFOL','Item\x20added\x20to\x20room\x20','removeItem','The\x20','findExistingDoor','addItem','toString','speak','setPuzzle','getOppositeDirection','\x20is\x20locked.\x20Result:\x20','EAST','search','exits','\x20remains\x20locked.','No\x20locked\x20exit\x20found\x20in\x20direction\x20','roomType','\x20unlocked!','isStartRoom','411256UewOMm','SOUTH','Item\x20removed\x20from\x20room\x20','north'];a49c=function(){return u;};return a49c();}function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0xf7;let f=c[d];return f;},a49d(a,b);}const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a[h(0x12f)]()['search']('(((.+)+)+)+$')[h(0x12f)]()[h(0x10a)](a49a)[h(0xf8)](h(0x112));});a49a();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{[a49i(0x113)]=Logger['getInstance']();[a49i(0x10c)];['description'];[a49i(0xf9)]=new Map();[a49i(0xfc)];[a49i(0xfe)];[a49i(0x11a)]=new Inventory();constructor(a){const j=a49i;super(),this['name']=a[j(0x10c)],this[j(0x115)]=a['description'],this[j(0xfc)]=a[j(0xfc)]||RoomType['INSIDE'],a[j(0xf9)]&&(this[j(0xf9)]=a[j(0xf9)]||new Map()),a[j(0x11a)]&&(this[j(0x11a)]=a['inventory']),a['puzzle']&&(this[j(0x11f)]=a[j(0x11f)]),this[j(0xfe)]=a[j(0xfe)]||![],this['logger'][j(0x11e)](j(0x124)+this['name']);}[a49i(0x110)](a,b){const k=a49i;this[k(0x108)](k(0x130),a,b);}[a49i(0x122)](a,b,c){const l=a49i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0xf9)][l(0x106)](a,d),b[l(0xf9)][l(0x106)](this[l(0x132)](a),d);}['attemptUnlockExit'](a,b){const m=a49i,c=this[m(0xf9)][m(0x103)](a);if(c instanceof Door){const d=c[m(0x11c)](b);return this[m(0x113)][m(0x11e)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+'.\x20Success:\x20'+d),d?m(0x12c)+c[m(0x10c)]+m(0xfd):'The\x20'+c[m(0x10c)]+m(0xfa);}return this[m(0x113)][m(0x11e)](m(0xfb)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a49i(0x117)](a){const n=a49i;return this['logger'][n(0x11e)](n(0x121)+a),this[n(0xf9)][n(0x103)](a);}[a49i(0x104)](a){const o=a49i,b=this[o(0xf9)][o(0x103)](a),c=b instanceof Door&&b[o(0x125)]();return this[o(0x113)][o(0x11e)](o(0x10d)+a+o(0x133)+c),c;}[a49i(0x12e)](a){const p=a49i;this[p(0x11a)][p(0x12e)](a),this[p(0x113)][p(0x11e)](p(0x12a)+this[p(0x10c)]+':\x20'+a[p(0x10c)]);}[a49i(0x12b)](a){const q=a49i;this[q(0x11a)][q(0x10e)](a['name'])?(this[q(0x11a)][q(0x12b)](a['name']),this[q(0x113)]['write'](q(0x101)+this[q(0x10c)]+':\x20'+a[q(0x10c)])):this[q(0x113)][q(0x11e)](q(0x126)+this[q(0x10c)]+':\x20'+a[q(0x10c)]);}[a49i(0x131)](a){const r=a49i;this[r(0x11f)]=a,this[r(0x113)][r(0x11e)](r(0x111)+this[r(0x10c)]+':\x20'+a['riddle']);}[a49i(0x132)](a){const s=a49i;switch(a){case s(0x102):return Direction[s(0x100)];case s(0x105):return Direction[s(0x128)];case'east':return Direction['WEST'];case'west':return Direction[s(0xf7)];case'up':return Direction['DOWN'];case'down':return Direction['UP'];default:throw new Error(s(0x11b)+a);}}[a49i(0x12d)](a){const t=a49i;for(const b of this['exits'][t(0x107)]()){if(b instanceof Door){if(b[t(0x10f)]===this&&b['roomB']===a||b[t(0x127)]===this&&b[t(0x10f)]===a)return b;}}return undefined;}}
1
+ const a49h=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0x220))/0x1*(-parseInt(f(0x206))/0x2)+-parseInt(f(0x1fd))/0x3+parseInt(f(0x222))/0x4*(-parseInt(f(0x205))/0x5)+-parseInt(f(0x1ee))/0x6+-parseInt(f(0x20c))/0x7*(-parseInt(f(0x20f))/0x8)+-parseInt(f(0x201))/0x9+parseInt(f(0x208))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x7ea33));function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a49d(a,b);}const a49b=(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;};}()),a49a=a49b(this,function(){const g=a49d;return a49a[g(0x21a)]()[g(0x203)](g(0x1e8))[g(0x21a)]()[g(0x218)](a49a)['search'](g(0x1e8));});a49a();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{[a49h(0x1f5)]=Logger[a49h(0x221)]();[a49h(0x1f4)];[a49h(0x1ff)];[a49h(0x1fc)]=new Map();['roomType'];['isStartRoom'];[a49h(0x21c)]=new Inventory();constructor(a){const i=a49h;super(),this[i(0x1f4)]=a[i(0x1f4)],this[i(0x1ff)]=a['description'],this[i(0x219)]=a[i(0x219)]||RoomType[i(0x1f6)],a[i(0x1fc)]&&(this['exits']=a[i(0x1fc)]||new Map()),a[i(0x21c)]&&(this[i(0x21c)]=a[i(0x21c)]),a[i(0x20d)]&&(this[i(0x20d)]=a[i(0x20d)]),this['isStartRoom']=a['isStartRoom']||![],this[i(0x1f5)][i(0x211)]('Room\x20created:\x20'+this['name']);}[a49h(0x1ec)](a,b){const j=a49h;this[j(0x1fa)](j(0x21b),a,b);}[a49h(0x200)](a,b,c){const k=a49h;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0x1fc)][k(0x212)](a,d),b[k(0x1fc)]['set'](this[k(0x1ef)](a),d);}[a49h(0x1fb)](a,b){const l=a49h,c=this[l(0x1fc)][l(0x1e9)](a);if(c instanceof Door){const d=c[l(0x1f8)](b);return this[l(0x1f5)][l(0x211)](l(0x21d)+a+l(0x217)+d),d?l(0x226)+c[l(0x1f4)]+l(0x225):'The\x20'+c[l(0x1f4)]+l(0x210);}return this[l(0x1f5)][l(0x211)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a49h(0x209)](a){const m=a49h;return this[m(0x1f5)]['write'](m(0x213)+a),this[m(0x1fc)][m(0x1e9)](a);}[a49h(0x21e)](a){const n=a49h,b=this[n(0x1fc)]['get'](a),c=b instanceof Door&&b[n(0x215)]();return this['logger']['write'](n(0x20a)+a+n(0x1f1)+c),c;}[a49h(0x1f7)](a){const o=a49h;this[o(0x21c)]['addItem'](a),this[o(0x1f5)][o(0x211)](o(0x1f2)+this[o(0x1f4)]+':\x20'+a[o(0x1f4)]);}[a49h(0x1f9)](a){const p=a49h;this[p(0x21c)][p(0x1ea)](a['name'])?(this[p(0x21c)]['removeItem'](a['name']),this['logger']['write']('Item\x20removed\x20from\x20room\x20'+this[p(0x1f4)]+':\x20'+a['name'])):this['logger']['write'](p(0x202)+this[p(0x1f4)]+':\x20'+a[p(0x1f4)]);}[a49h(0x214)](a){const q=a49h;this[q(0x20d)]=a,this[q(0x1f5)]['write'](q(0x1eb)+this[q(0x1f4)]+':\x20'+a[q(0x1ed)]);}[a49h(0x1ef)](a){const r=a49h;switch(a){case'north':return Direction[r(0x224)];case r(0x216):return Direction[r(0x1f0)];case r(0x1fe):return Direction[r(0x207)];case'west':return Direction['EAST'];case'up':return Direction[r(0x204)];case r(0x20e):return Direction['UP'];default:throw new Error(r(0x223)+a);}}[a49h(0x20b)](a){const s=a49h;for(const b of this[s(0x1fc)]['values']()){if(b instanceof Door){if(b[s(0x1f3)]===this&&b[s(0x21f)]===a||b[s(0x21f)]===this&&b['roomA']===a)return b;}}return undefined;}}function a49c(){const t=['Checking\x20if\x20exit\x20in\x20direction\x20','findExistingDoor','1687ByGicu','puzzle','down','456YUyPAd','\x20remains\x20locked.','write','set','Fetching\x20exit\x20in\x20direction:\x20','setPuzzle','checkIfLocked','south','.\x20Success:\x20','constructor','roomType','toString','speak','inventory','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','isExitLocked','roomB','4409eHVVTf','getInstance','743948iheNPW','Invalid\x20direction:\x20','SOUTH','\x20unlocked!','The\x20','(((.+)+)+)+$','get','hasItem','Puzzle\x20set\x20for\x20room\x20','say','riddle','3279204hWHMYr','getOppositeDirection','NORTH','\x20is\x20locked.\x20Result:\x20','Item\x20added\x20to\x20room\x20','roomA','name','logger','INSIDE','addItem','attemptUnlock','removeItem','emit','attemptUnlockExit','exits','1737453SGbszp','east','description','addExit','23202RoGkLi','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','search','DOWN','10iovcMo','78yfmwCg','WEST','18332560tsDHLH','getExit'];a49c=function(){return t;};return a49c();}
@@ -1 +1 @@
1
- const a50l=a50d;(function(a,b){const i=a50d,c=a();while(!![]){try{const d=-parseInt(i(0x7a))/0x1*(-parseInt(i(0xbc))/0x2)+parseInt(i(0x9a))/0x3*(-parseInt(i(0x90))/0x4)+-parseInt(i(0x80))/0x5*(-parseInt(i(0x7b))/0x6)+-parseInt(i(0x70))/0x7+-parseInt(i(0x9b))/0x8*(-parseInt(i(0x9f))/0x9)+parseInt(i(0x8c))/0xa*(-parseInt(i(0x75))/0xb)+parseInt(i(0x7c))/0xc*(parseInt(i(0x97))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x664b4));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x6d;let f=c[d];return f;},a50d(a,b);}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a50d;if(c){const e=c[j(0x8f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const k=a50d;return a50a[k(0x88)]()[k(0xbd)](k(0xa8))[k(0x88)]()[k(0x92)](a50a)[k(0xbd)](k(0xa8));});a50a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a50c(){const E=['(((.+)+)+)+$','direction','name','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','join','Room\x20\x22','isStartRoom','removeRoom','write','addExit','player','Failed\x20to\x20add\x20item\x20','Added\x20room\x20to\x20scene:\x20','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','warn','keyRequired','logger','\x20not\x20found\x20in\x20scene.','roomFactory','\x20to\x20room\x20','4fIOxGp','search','setPuzzle','initialize','Failed\x20to\x20set\x20','\x22\x20does\x20not\x20exist.','2102730jtSUJC','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','length','getActor','\x20is\x20now\x20in\x20room\x20','28248gSLviS','Added\x20item\x20','has','getRooms','addItemToRoom','61059VjSWzp','2034wfjtpA','84EafYoy','\x20found\x20in\x20the\x20scene.','createRoom','push','5090UTXRlk','values','generateRoomsFromConfig','addPuzzleToRoom','actors','getCharacterLocation','allActors','rooms','toString','setCharacterLocation','getInstance','hasOwnProperty','750whNoPp','createExitsFromConfig','set','apply','3059356pnvctv','\x27s\x20location.\x20Room\x20','constructor','toUpperCase','removeActor','Actor\x20with\x20name\x20','Scene\x20initialized\x20with\x20rooms:\x20','1556399JkalFj','keys','.\x20Room\x20','3yOldkX','16dkkTQm','connectRooms','getPlayer','get','1671948oKUYEF','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','roomConfiguration','exits','characterLocations','determineStartRoom','delete','currentLocation','addActor'];a50c=function(){return E;};return a50c();}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];['player'];[a50l(0xb8)];[a50l(0x84)];[a50l(0xa3)]=new Map();['roomFactory'];constructor(a){const m=a50l;super(),this[m(0xba)]=new RoomFactory(),this['player']=a['player'],this[m(0x87)]=this['generateRoomsFromConfig'](a['roomConfiguration']),this[m(0xb8)]=Logger[m(0x8a)](),this[m(0x84)]=new Map(),this[m(0x8d)](a[m(0xa1)]),this['logger'][m(0xb0)](m(0x96)+Object[m(0x98)](this[m(0x87)])[m(0xac)](',\x20'));}[a50l(0x6d)](){const n=a50l;this['player'][n(0xa6)]=this['determineStartRoom']();}[a50l(0x82)](a){const o=a50l;if(!this[o(0xba)])throw new Error(o(0xab));const b={};for(const c of a){const d=this['roomFactory'][o(0x7e)](c);b[c[o(0xaa)]]=d;}return b;}[a50l(0x8d)](a){const p=a50l;for(const b of a){const c=this[p(0x87)][b[p(0xaa)]];if(b[p(0xa2)])for(const d of b[p(0xa2)]){const e=d[p(0xa9)][p(0x93)](),f=d['targetRoom'],g=d[p(0xb7)],h=this[p(0x87)][f];h&&c[p(0xb1)](Direction[e],h,g);}}}[a50l(0xa7)](a){const q=a50l;if(this[q(0x84)]['has'](a[q(0xaa)]))throw new Error(q(0x95)+a[q(0xaa)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x84)][q(0x8e)](a[q(0xaa)],a);}[a50l(0x94)](a){const r=a50l;if(!this[r(0x84)][r(0x77)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x7d));this[r(0x84)][r(0xa5)](a);}[a50l(0x73)](a){const s=a50l;return this['actors'][s(0x9e)](a);}get[a50l(0x86)](){const t=a50l;return Array['from'](this[t(0x84)][t(0x81)]());}['addRoom'](a){const u=a50l;this[u(0x87)][a[u(0xaa)]]=a,this[u(0xb8)][u(0xb0)](u(0xb4)+a[u(0xaa)]);}[a50l(0xaf)](a){const v=a50l;return this['rooms'][a]?(delete this[v(0x87)][a],this[v(0xb8)][v(0xb0)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0xb8)]['write'](v(0xb5)+a),![]);}[a50l(0x79)](a,b){const w=a50l,c=this[w(0x87)][b];c?(c['addItem'](a),this[w(0xb8)][w(0xb0)](w(0x76)+a[w(0xaa)]+w(0xbb)+c[w(0xaa)])):this[w(0xb8)][w(0xb0)](w(0xb3)+a[w(0xaa)]+w(0x99)+b+'\x20not\x20found\x20in\x20scene.');}[a50l(0x83)](a,b){const x=a50l,c=this['rooms'][b];c?(c[x(0xbe)](a),this[x(0xb8)]['write']('Added\x20puzzle\x20to\x20room\x20'+c[x(0xaa)])):this[x(0xb8)][x(0xb0)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a50l(0x89)](a,b){const y=a50l,c=this[y(0x87)][b];c?(this[y(0xa3)][y(0x8e)](a['name'],c),this[y(0xb8)]['write'](a['name']+y(0x74)+c[y(0xaa)])):this['logger'][y(0xb0)](y(0x6e)+a[y(0xaa)]+y(0x91)+b+y(0xb9));}[a50l(0x85)](a){const z=a50l;return this[z(0xa3)]['get'](a[z(0xaa)]);}[a50l(0xa4)](){const A=a50l,a=[];for(const c in this['rooms']){if(this[A(0x87)][A(0x8b)](c)){const d=this[A(0x87)][c];d[A(0xae)]&&a[A(0x7f)](d);}}if(a['length']>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[A(0x72)]===0x1)return a[0x0];const b=Object[A(0x98)](this['rooms']);if(b[A(0x72)]===0x0)throw new Error(A(0x71));return console[A(0xb6)](A(0xa0)),this[A(0x87)][b[0x0]];}[a50l(0x9d)](){const B=a50l;return this[B(0xb2)];}[a50l(0x78)](){const C=a50l;return this[C(0x87)];}[a50l(0x9c)](a,b,c,d){const D=a50l,e=this[D(0x87)][a],f=this[D(0x87)][c];if(!e)throw new Error(D(0xad)+a+D(0x6f));if(!f)throw new Error(D(0xad)+c+D(0x6f));e[D(0xb1)](b,f,d);}}
1
+ const a50l=a50d;(function(a,b){const i=a50d,c=a();while(!![]){try{const d=parseInt(i(0xad))/0x1+-parseInt(i(0xb9))/0x2*(-parseInt(i(0x96))/0x3)+parseInt(i(0x91))/0x4*(parseInt(i(0x98))/0x5)+-parseInt(i(0x77))/0x6*(parseInt(i(0x95))/0x7)+parseInt(i(0x85))/0x8+parseInt(i(0x92))/0x9*(parseInt(i(0xb4))/0xa)+-parseInt(i(0xb6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xb1945));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a50d;if(c){const e=c[j(0xa2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const k=a50d;return a50a[k(0x82)]()[k(0x8f)](k(0xa8))[k(0x82)]()[k(0xb5)](a50a)[k(0x8f)]('(((.+)+)+)+$');});a50a();function a50c(){const E=['determineStartRoom','Failed\x20to\x20add\x20puzzle.\x20Room\x20','\x20found\x20in\x20the\x20scene.','keys','exits','roomConfiguration','createExitsFromConfig','\x20to\x20room\x20','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','player','toString','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','direction','978536olLTaq','length','from','createRoom','\x22\x20does\x20not\x20exist.','\x20is\x20now\x20in\x20room\x20','write','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','get','rooms','search','roomFactory','20mojaNJ','9QLGHbj','getPlayer','\x20not\x20found\x20in\x20scene.','4299764qQVEMl','57FZKVVG','join','969355zVWTuS','generateRoomsFromConfig','addRoom','Added\x20room\x20to\x20scene:\x20','allActors','\x27s\x20location.\x20Room\x20','No\x20actor\x20with\x20name\x20','getRooms','setPuzzle','Failed\x20to\x20add\x20item\x20','apply','toUpperCase','warn','logger','removeRoom','delete','(((.+)+)+)+$','has','name','connectRooms','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','674301WvhhkR','.\x20Room\x20','Room\x20\x22','actors','set','characterLocations','Added\x20puzzle\x20to\x20room\x20','10258730aSXODf','constructor','28301075DAMKPx','addActor','setCharacterLocation','118168KkNaGy','Failed\x20to\x20set\x20','addExit','addPuzzleToRoom','addItemToRoom','isStartRoom','\x20already\x20exists\x20in\x20the\x20scene.','Removed\x20room\x20from\x20scene:\x20','initialize','getActor','6cSEmRk'];a50c=function(){return E;};return a50c();}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x77;let f=c[d];return f;},a50d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a50l(0x8e)];[a50l(0x81)];[a50l(0xa5)];[a50l(0xb0)];['characterLocations']=new Map();[a50l(0x90)];constructor(a){const m=a50l;super(),this['roomFactory']=new RoomFactory(),this[m(0x81)]=a['player'],this[m(0x8e)]=this[m(0x99)](a[m(0x7d)]),this[m(0xa5)]=Logger['getInstance'](),this[m(0xb0)]=new Map(),this[m(0x7e)](a['roomConfiguration']),this[m(0xa5)][m(0x8b)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x7b)](this[m(0x8e)])[m(0x97)](',\x20'));}[a50l(0xc1)](){const n=a50l;this[n(0x81)]['currentLocation']=this[n(0x78)]();}[a50l(0x99)](a){const o=a50l;if(!this['roomFactory'])throw new Error(o(0x80));const b={};for(const c of a){const d=this['roomFactory'][o(0x88)](c);b[c[o(0xaa)]]=d;}return b;}[a50l(0x7e)](a){const p=a50l;for(const b of a){const c=this[p(0x8e)][b[p(0xaa)]];if(b[p(0x7c)])for(const d of b[p(0x7c)]){const e=d[p(0x84)][p(0xa3)](),f=d['targetRoom'],g=d['keyRequired'],h=this[p(0x8e)][f];h&&c[p(0xbb)](Direction[e],h,g);}}}[a50l(0xb7)](a){const q=a50l;if(this[q(0xb0)]['has'](a[q(0xaa)]))throw new Error('Actor\x20with\x20name\x20'+a[q(0xaa)]+q(0xbf));this[q(0xb0)][q(0xb1)](a['name'],a);}['removeActor'](a){const r=a50l;if(!this[r(0xb0)][r(0xa9)](a))throw new Error(r(0x9e)+a+r(0x7a));this[r(0xb0)][r(0xa7)](a);}[a50l(0xc2)](a){const s=a50l;return this[s(0xb0)]['get'](a);}get[a50l(0x9c)](){const t=a50l;return Array[t(0x87)](this[t(0xb0)]['values']());}[a50l(0x9a)](a){const u=a50l;this[u(0x8e)][a[u(0xaa)]]=a,this[u(0xa5)][u(0x8b)](u(0x9b)+a[u(0xaa)]);}[a50l(0xa6)](a){const v=a50l;return this[v(0x8e)][a]?(delete this[v(0x8e)][a],this[v(0xa5)][v(0x8b)](v(0xc0)+a),!![]):(this[v(0xa5)]['write']('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}[a50l(0xbd)](a,b){const w=a50l,c=this[w(0x8e)][b];c?(c['addItem'](a),this[w(0xa5)][w(0x8b)]('Added\x20item\x20'+a[w(0xaa)]+w(0x7f)+c['name'])):this[w(0xa5)][w(0x8b)](w(0xa1)+a[w(0xaa)]+w(0xae)+b+w(0x94));}[a50l(0xbc)](a,b){const x=a50l,c=this[x(0x8e)][b];c?(c[x(0xa0)](a),this['logger'][x(0x8b)](x(0xb3)+c[x(0xaa)])):this[x(0xa5)][x(0x8b)](x(0x79)+b+x(0x94));}[a50l(0xb8)](a,b){const y=a50l,c=this[y(0x8e)][b];c?(this['characterLocations'][y(0xb1)](a[y(0xaa)],c),this[y(0xa5)]['write'](a[y(0xaa)]+y(0x8a)+c[y(0xaa)])):this[y(0xa5)][y(0x8b)](y(0xba)+a['name']+y(0x9d)+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const z=a50l;return this[z(0xb2)][z(0x8d)](a[z(0xaa)]);}[a50l(0x78)](){const A=a50l,a=[];for(const c in this['rooms']){if(this[A(0x8e)]['hasOwnProperty'](c)){const d=this[A(0x8e)][c];d[A(0xbe)]&&a['push'](d);}}if(a['length']>0x1)throw new Error(A(0xac));if(a[A(0x86)]===0x1)return a[0x0];const b=Object[A(0x7b)](this[A(0x8e)]);if(b[A(0x86)]===0x0)throw new Error(A(0x8c));return console[A(0xa4)](A(0x83)),this[A(0x8e)][b[0x0]];}[a50l(0x93)](){const B=a50l;return this[B(0x81)];}[a50l(0x9f)](){const C=a50l;return this[C(0x8e)];}[a50l(0xab)](a,b,c,d){const D=a50l,e=this['rooms'][a],f=this[D(0x8e)][c];if(!e)throw new Error(D(0xaf)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error('Room\x20\x22'+c+D(0x89));e[D(0xbb)](b,f,d);}}
@@ -1 +1 @@
1
- var a51i=a51d;(function(a,b){var f=a51d,c=a();while(!![]){try{var d=parseInt(f(0x111))/0x1+-parseInt(f(0x10c))/0x2*(-parseInt(f(0x10d))/0x3)+parseInt(f(0x102))/0x4+-parseInt(f(0xee))/0x5*(parseInt(f(0xeb))/0x6)+parseInt(f(0x104))/0x7*(-parseInt(f(0xf8))/0x8)+parseInt(f(0x112))/0x9*(-parseInt(f(0x116))/0xa)+parseInt(f(0x101))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xd1079));var a51b=(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;};}()),a51a=a51b(this,function(){var g=a51d;return a51a[g(0x109)]()[g(0xff)](g(0x108))[g(0x109)]()[g(0x105)](a51a)[g(0xff)]('(((.+)+)+)+$');});a51a();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=a51d;super({'name':a,'description':b,'size':Size[h(0x121)],'category':Category['Unknown'],'shape':Shape['Rectangle'],'color':Color[h(0x10b)],'texture':Texture[h(0xf4)],'rating':Rating[h(0x115)],'weight':0x1});}[a51i(0x122)](){return this['description'];}}export class Sword extends Item{constructor(a,b){var j=a51i;super({'name':a,'description':b,'size':Size[j(0x121)],'category':Category['Weapon'],'shape':Shape[j(0xf9)],'color':Color[j(0x114)],'texture':Texture[j(0x10a)],'rating':Rating[j(0x115)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var k=a51i;super({'name':a,'description':b,'size':Size[k(0x11c)],'category':Category[k(0x10f)],'shape':Shape[k(0x110)],'color':Color['Brown'],'texture':Texture['Metallic'],'rating':Rating[k(0xf3)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var l=a51i;super({'name':a,'description':b,'size':Size[l(0x121)],'category':Category['Helmet'],'shape':Shape[l(0x119)],'color':Color[l(0x114)],'texture':Texture[l(0x10a)],'rating':Rating[l(0x115)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var m=a51i;super({'name':a,'description':b,'size':Size['Large'],'category':Category[m(0x11f)],'shape':Shape[m(0xfb)],'color':Color[m(0x114)],'texture':Texture['Metallic'],'rating':Rating[m(0x115)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var n=a51i;super({'name':a,'description':b,'size':Size[n(0x121)],'category':Category[n(0xf0)],'shape':Shape['Rectangle'],'color':Color[n(0x114)],'texture':Texture[n(0x10a)],'rating':Rating[n(0x115)],'weight':0x6});}}function a51d(a,b){var c=a51c();return a51d=function(d,e){d=d-0xeb;var f=c[d];return f;},a51d(a,b);}export class Boots extends Item{constructor(a,b){var o=a51i;super({'name':a,'description':b,'size':Size[o(0x121)],'category':Category[o(0xfe)],'shape':Shape[o(0x119)],'color':Color['Brown'],'texture':Texture[o(0xf4)],'rating':Rating[o(0x115)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var p=a51i;super({'name':a,'description':b,'size':Size[p(0xf1)],'category':Category[p(0xef)],'shape':Shape[p(0x119)],'color':Color['Brown'],'texture':Texture[p(0xf4)],'rating':Rating['Common'],'weight':0x1});}}function a51c(){var D=['publishDate','Grey','Common','9988210EDGvoo','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Circle','Book','Brown','Large','author','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','BodyArmor','ArmArmor','Medium','use','Gold','9138288LpPPmT','A\x20mysterious\x20book.','Key','5aBImdC','Gloves','LegArmor','Small','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Rare','Smooth','Holy\x20Grail','name','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','16wpmjtw','Blade','Short\x20Sword','Rectangle','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Tiny','Boots','search','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','38031554sTUSnh','2481364IPzenQ','You\x20hold\x20the\x20','5578979skcgGz','constructor','pageCount','Sniper\x20Rifle','(((.+)+)+)+$','toString','Metallic','Yellow','26xKAnAW','7071VbkBxQ','Legendary','Weapon','Rifle','863652kkWTob','9BpcxZL'];a51c=function(){return D;};return a51c();}export class Gauntlets extends Item{constructor(a,b){var q=a51i;super({'name':a,'description':b,'size':Size[q(0x121)],'category':Category[q(0x120)],'shape':Shape[q(0xfb)],'color':Color[q(0x114)],'texture':Texture[q(0x10a)],'rating':Rating[q(0x115)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var r=a51i;super({'name':a,'description':b,'size':Size[r(0xfd)],'category':Category[r(0xed)],'shape':Shape[r(0xfb)],'color':Color[r(0x10b)],'texture':Texture[r(0xf4)],'rating':Rating[r(0x115)],'weight':0x0});}[a51i(0x122)](){var s=a51i;return s(0xf2);}}export class Weapon extends Item{constructor(a,b){var t=a51i;super({'name':a,'description':b,'size':Size[t(0x121)],'category':Category[t(0x10f)],'shape':Shape['Blade'],'color':Color[t(0x114)],'texture':Texture[t(0x10a)],'rating':Rating[t(0x115)],'weight':0x3});}[a51i(0x122)](){var u=a51i;return u(0x100);}}export class Book extends Item{['author'];[a51i(0x113)];['pageCount'];constructor(a,b=a51i(0xec),c='Unknown\x20Author'){var v=a51i;super({'name':a,'description':b,'size':Size[v(0x121)],'category':Category[v(0x11a)],'shape':Shape[v(0xfb)],'color':Color[v(0x11b)],'texture':Texture[v(0xf4)],'rating':Rating[v(0x115)],'weight':0x1}),this[v(0x11d)]=c,this['publishDate']=new Date(),this[v(0x106)]=0x64;}['use'](){var w=a51i;return w(0xfc);}}export class ShortSword extends Item{constructor(){var x=a51i;super({'name':x(0xfa),'description':x(0xf7),'size':Size['Medium'],'category':Category['Weapon'],'shape':Shape['Blade'],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[x(0x115)],'weight':0x3});}[a51i(0x122)](){var y=a51i;return y(0x100);}}export class SniperRifle extends Item{constructor(){var z=a51i;super({'name':z(0x107),'description':z(0x117),'size':Size[z(0x11c)],'category':Category['Weapon'],'shape':Shape['Rifle'],'color':Color[z(0x11b)],'texture':Texture[z(0xf4)],'rating':Rating[z(0x115)],'weight':0x5});}[a51i(0x122)](){var A=a51i;return A(0x11e);}}export class HolyGrail extends Item{constructor(){var B=a51i;super({'name':B(0xf5),'description':B(0x118),'size':Size[B(0xf1)],'category':Category['Cup'],'shape':Shape[B(0x119)],'color':Color[B(0x123)],'texture':Texture['Metallic'],'rating':Rating[B(0x10e)],'weight':0x1});}[a51i(0x122)](){var C=a51i;return C(0x103)+this[C(0xf6)]+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}
1
+ function a51c(){var F=['Sniper\x20Rifle','6633wxIWgq','publishDate','Medium','toString','author','Gloves','Weapon','use','1565870sELveE','A\x20mysterious\x20book.','Yellow','21756XVqkYh','Rectangle','2414442pTmcLn','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Tiny','85329OwRYjA','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','LegArmor','Short\x20Sword','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Brown','1792WagMSr','Boots','pageCount','Key','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','ArmArmor','Circle','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','name','Metallic','Smooth','Blade','apply','Unknown\x20Author','Rare','Large','Book','Common','Cup','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Helmet','description','Unknown','341852FKtXhY','Holy\x20Grail','1229784fQkuIg','search','Small','Grey','(((.+)+)+)+$','2DAgHvB','Rifle','8010lxtwMj'];a51c=function(){return F;};return a51c();}var a51t=a51d;(function(a,b){var f=a51d,c=a();while(!![]){try{var d=parseInt(f(0xb9))/0x1*(parseInt(f(0xdd))/0x2)+-parseInt(f(0xd8))/0x3+parseInt(f(0xd6))/0x4+parseInt(f(0xe9))/0x5+parseInt(f(0xb6))/0x6+parseInt(f(0xb4))/0x7*(-parseInt(f(0xbf))/0x8)+parseInt(f(0xe1))/0x9*(parseInt(f(0xdf))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x5a79e));var a51b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a51d;if(c){var e=c[g(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){var h=a51d;return a51a[h(0xe4)]()[h(0xd9)](h(0xdc))['toString']()['constructor'](a51a)[h(0xd9)](h(0xdc));});a51a();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=a51d;super({'name':a,'description':b,'size':Size[i(0xe3)],'category':Category[i(0xd5)],'shape':Shape[i(0xb5)],'color':Color['Yellow'],'texture':Texture[i(0xc9)],'rating':Rating[i(0xd0)],'weight':0x1});}['use'](){var j=a51d;return this[j(0xd4)];}}export class Sword extends Item{constructor(a,b){var k=a51d;super({'name':a,'description':b,'size':Size[k(0xe3)],'category':Category[k(0xe7)],'shape':Shape[k(0xca)],'color':Color[k(0xdb)],'texture':Texture[k(0xc8)],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a51d;super({'name':a,'description':b,'size':Size['Large'],'category':Category['Weapon'],'shape':Shape[l(0xde)],'color':Color[l(0xbe)],'texture':Texture[l(0xc8)],'rating':Rating[l(0xcd)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a51d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[m(0xd3)],'shape':Shape[m(0xc5)],'color':Color[m(0xdb)],'texture':Texture[m(0xc8)],'rating':Rating[m(0xd0)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a51d;super({'name':a,'description':b,'size':Size[n(0xce)],'category':Category['BodyArmor'],'shape':Shape[n(0xb5)],'color':Color[n(0xdb)],'texture':Texture[n(0xc8)],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a51d;super({'name':a,'description':b,'size':Size[o(0xe3)],'category':Category[o(0xbb)],'shape':Shape[o(0xb5)],'color':Color[o(0xdb)],'texture':Texture[o(0xc8)],'rating':Rating[o(0xd0)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a51d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[p(0xc0)],'shape':Shape[p(0xc5)],'color':Color[p(0xbe)],'texture':Texture[p(0xc9)],'rating':Rating[p(0xd0)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a51d;super({'name':a,'description':b,'size':Size[q(0xda)],'category':Category[q(0xe6)],'shape':Shape['Circle'],'color':Color[q(0xbe)],'texture':Texture['Smooth'],'rating':Rating[q(0xd0)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a51d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[r(0xc4)],'shape':Shape[r(0xb5)],'color':Color[r(0xdb)],'texture':Texture[r(0xc8)],'rating':Rating[r(0xd0)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a51d;super({'name':a,'description':b,'size':Size[s(0xb8)],'category':Category[s(0xc2)],'shape':Shape[s(0xb5)],'color':Color[s(0xeb)],'texture':Texture[s(0xc9)],'rating':Rating[s(0xd0)],'weight':0x0});}[a51t(0xe8)](){var u=a51t;return u(0xd2);}}function a51d(a,b){var c=a51c();return a51d=function(d,e){d=d-0xb4;var f=c[d];return f;},a51d(a,b);}export class Weapon extends Item{constructor(a,b){var v=a51t;super({'name':a,'description':b,'size':Size[v(0xe3)],'category':Category[v(0xe7)],'shape':Shape[v(0xca)],'color':Color[v(0xdb)],'texture':Texture[v(0xc8)],'rating':Rating[v(0xd0)],'weight':0x3});}[a51t(0xe8)](){var w=a51t;return w(0xc3);}}export class Book extends Item{[a51t(0xe5)];[a51t(0xe2)];[a51t(0xc1)];constructor(a,b=a51t(0xea),c=a51t(0xcc)){var x=a51t;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[x(0xcf)],'shape':Shape[x(0xb5)],'color':Color[x(0xbe)],'texture':Texture[x(0xc9)],'rating':Rating[x(0xd0)],'weight':0x1}),this[x(0xe5)]=c,this[x(0xe2)]=new Date(),this[x(0xc1)]=0x64;}[a51t(0xe8)](){var y=a51t;return y(0xc6);}}export class ShortSword extends Item{constructor(){var z=a51t;super({'name':z(0xbc),'description':z(0xba),'size':Size[z(0xe3)],'category':Category[z(0xe7)],'shape':Shape['Blade'],'color':Color[z(0xdb)],'texture':Texture[z(0xc8)],'rating':Rating[z(0xd0)],'weight':0x3});}[a51t(0xe8)](){var A=a51t;return A(0xc3);}}export class SniperRifle extends Item{constructor(){var B=a51t;super({'name':B(0xe0),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[B(0xce)],'category':Category[B(0xe7)],'shape':Shape['Rifle'],'color':Color[B(0xbe)],'texture':Texture[B(0xc9)],'rating':Rating[B(0xd0)],'weight':0x5});}[a51t(0xe8)](){var C=a51t;return C(0xbd);}}export class HolyGrail extends Item{constructor(){var D=a51t;super({'name':D(0xd7),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[D(0xda)],'category':Category[D(0xd1)],'shape':Shape['Circle'],'color':Color['Gold'],'texture':Texture['Metallic'],'rating':Rating['Legendary'],'weight':0x1});}['use'](){var E=a51t;return'You\x20hold\x20the\x20'+this[E(0xc7)]+E(0xb7);}}