@maka/maka-cli 4.9.0 → 4.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/patreon.js +1 -1
  84. package/bundle/obf/src/commands/proxy.js +1 -1
  85. package/bundle/obf/src/commands/reconfig.js +1 -1
  86. package/bundle/obf/src/commands/register.js +1 -1
  87. package/bundle/obf/src/commands/run/_index.js +1 -1
  88. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  89. package/bundle/obf/src/commands/run/run.command.js +1 -1
  90. package/bundle/obf/src/commands/set/_index.js +1 -1
  91. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/set/set.command.js +1 -1
  94. package/bundle/obf/src/commands/ssh.js +1 -1
  95. package/bundle/obf/src/commands/ssl.js +1 -1
  96. package/bundle/obf/src/commands/test.js +1 -1
  97. package/bundle/obf/src/commands/undo.js +1 -1
  98. package/bundle/obf/src/commands/version.js +1 -1
  99. package/bundle/obf/src/error.js +1 -1
  100. package/bundle/obf/src/exec.js +1 -1
  101. package/bundle/obf/src/generator.js +1 -1
  102. package/bundle/obf/src/generators/_index.js +1 -1
  103. package/bundle/obf/src/generators/api.js +1 -1
  104. package/bundle/obf/src/generators/collection.js +1 -1
  105. package/bundle/obf/src/generators/component.js +1 -1
  106. package/bundle/obf/src/generators/config.js +1 -1
  107. package/bundle/obf/src/generators/dbc.js +1 -1
  108. package/bundle/obf/src/generators/dockerfile.js +1 -1
  109. package/bundle/obf/src/generators/hook.js +1 -1
  110. package/bundle/obf/src/generators/kits/_index.js +1 -1
  111. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  112. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  113. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/kit.js +1 -1
  115. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  117. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  118. package/bundle/obf/src/generators/layout.js +1 -1
  119. package/bundle/obf/src/generators/maka.gen.js +1 -1
  120. package/bundle/obf/src/generators/methods.js +1 -1
  121. package/bundle/obf/src/generators/package.js +1 -1
  122. package/bundle/obf/src/generators/page.js +1 -1
  123. package/bundle/obf/src/generators/publish.js +1 -1
  124. package/bundle/obf/src/generators/route.js +1 -1
  125. package/bundle/obf/src/generators/service.js +1 -1
  126. package/bundle/obf/src/generators/services/_index.js +1 -1
  127. package/bundle/obf/src/generators/services/openssl.js +1 -1
  128. package/bundle/obf/src/generators/services/translation.js +1 -1
  129. package/bundle/obf/src/maka.js +1 -1
  130. package/bundle/obf/src/templates/meteor/project/package.json +1 -1
  131. package/bundle/obf/src/tool.js +1 -1
  132. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  133. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  134. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  136. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  137. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  138. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  139. package/bundle/obf/src/tools/https/https.class.js +1 -1
  140. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  141. package/bundle/obf/src/tools/log/log.class.js +1 -1
  142. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  143. package/bundle/obf/src/tools/options/options.class.js +1 -1
  144. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  145. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  146. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  148. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  150. package/package.json +1 -1
@@ -1 +1 @@
1
- const a37h=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x81;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x97))/0x1*(-parseInt(f(0x94))/0x2)+-parseInt(f(0x96))/0x3*(parseInt(f(0x83))/0x4)+parseInt(f(0x99))/0x5+-parseInt(f(0x8d))/0x6+parseInt(f(0x8c))/0x7*(parseInt(f(0x9b))/0x8)+parseInt(f(0x95))/0x9+parseInt(f(0x9e))/0xa*(parseInt(f(0x9a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x89f42));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const g=a37d;return a37a['toString']()[g(0x85)](g(0x98))[g(0x8a)]()[g(0x8e)](a37a)[g(0x85)](g(0x98));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37h(0x9d)]='search';static [a37h(0x89)]=a37h(0x82);[a37h(0x90)](){const i=a37h,a=this[i(0x8f)]['currentLocation'][i(0x9c)][i(0x88)]();if(a[i(0x84)]===0x0)return this['logger'][i(0x81)]('SearchCommand:\x20'+this[i(0x8f)][i(0x92)]+i(0x91)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[i(0x8b)](',\x20');return this[i(0x86)]['write'](i(0x87)+this[i(0x8f)][i(0x92)]+i(0x93)+b),i(0x9f)+b;}}function a37c(){const j=['10072890KxwhJe','You\x20search\x20the\x20area\x20and\x20find:\x20','write','Search\x20for\x20items\x20in\x20your\x20area','4JRqNbT','length','search','logger','SearchCommand:\x20','listItems','description','toString','join','915243yICmku','4559970itQsZv','constructor','actor','execute','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','name','\x20found\x20the\x20following\x20items:\x20','30TRtiuQ','8643240yAiDcB','1921203BZSUKm','46402dINzwF','(((.+)+)+)+$','2161685VznZhg','11QsQwSr','16yMYapq','inventory','verb'];a37c=function(){return j;};return a37c();}
1
+ function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x15a;let f=c[d];return f;},a37d(a,b);}const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x171))/0x1*(parseInt(f(0x162))/0x2)+parseInt(f(0x16b))/0x3*(-parseInt(f(0x163))/0x4)+-parseInt(f(0x173))/0x5*(parseInt(f(0x15d))/0x6)+parseInt(f(0x169))/0x7*(parseInt(f(0x16c))/0x8)+-parseInt(f(0x15b))/0x9*(-parseInt(f(0x168))/0xa)+parseInt(f(0x16f))/0xb+parseInt(f(0x15f))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xbd857));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const g=a37d;return a37a[g(0x160)]()[g(0x161)]('(((.+)+)+)+$')[g(0x160)]()['constructor'](a37a)[g(0x161)](g(0x16d));});a37a();import{Command}from'./command.js';function a37c(){const j=['SearchCommand:\x20','\x20found\x20the\x20following\x20items:\x20','9180190YEiswf','7AtbEKc','execute','84147BjxFaV','2155024udzlcj','(((.+)+)+)+$','currentLocation','638451OyUdcV','inventory','368507EMvzVE','logger','5HVIfbf','join','9rAEQfm','listItems','2409468WCJOCJ','actor','1835292trXWIm','toString','search','2sBOorN','84TpkMUm','name','write'];a37c=function(){return j;};return a37c();}export class SearchCommand extends Command{static ['verb']='search';static ['description']='Search\x20for\x20items\x20in\x20your\x20area';[a37h(0x16a)](){const i=a37h,a=this['actor'][i(0x16e)][i(0x170)][i(0x15c)]();if(a['length']===0x0)return this['logger'][i(0x165)](i(0x166)+this[i(0x15e)][i(0x164)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[i(0x15a)](',\x20');return this[i(0x172)][i(0x165)]('SearchCommand:\x20'+this[i(0x15e)]['name']+i(0x167)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
@@ -1 +1 @@
1
- function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x7c;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(0x7c))/0x1+-parseInt(f(0x86))/0x2+parseInt(f(0x7e))/0x3+-parseInt(f(0x85))/0x4*(-parseInt(f(0x91))/0x5)+parseInt(f(0x84))/0x6+-parseInt(f(0x81))/0x7*(parseInt(f(0x82))/0x8)+-parseInt(f(0x8d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x45915));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x80)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x8e)](h(0x88))['toString']()[h(0x87)](a38a)['search'](h(0x88));});a38a();function a38c(){const k=['1326405pStgZo','success','apply','4529hDokIo','2696aEZQEG','join','261444AXmCUA','60nMFioT','274692BUKWqx','constructor','(((.+)+)+)+$','solve','puzzle','rewardItem','verb','832032MgsKMV','search','logger','message','123125Tfayzw','write','SolveCommand:\x20','addItem','actor','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','description','122302NMwlDW','inventory'];a38c=function(){return k;};return a38c();}import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x8c)]=a38i(0x89);static [a38i(0x97)]='Attempt\x20to\x20solve\x20a\x20puzzle.';['execute'](a){const j=a38i,b=a[j(0x83)]('\x20')['toLowerCase'](),c=this[j(0x95)]['currentLocation'];if(!c||!c[j(0x8a)])return this[j(0x8f)]['write'](j(0x96)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[j(0x8a)][j(0x89)](b,this['actor'][j(0x7d)]);return d[j(0x7f)]&&c[j(0x8a)][j(0x8b)]&&this[j(0x95)][j(0x7d)][j(0x94)](c[j(0x8a)]['rewardItem']),this[j(0x8f)][j(0x92)](j(0x93)+d[j(0x90)]),d[j(0x90)];}}
1
+ const a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x13e))/0x1+-parseInt(f(0x128))/0x2*(parseInt(f(0x13f))/0x3)+parseInt(f(0x140))/0x4+-parseInt(f(0x13b))/0x5+parseInt(f(0x139))/0x6*(parseInt(f(0x142))/0x7)+parseInt(f(0x12c))/0x8*(parseInt(f(0x147))/0x9)+-parseInt(f(0x144))/0xa*(parseInt(f(0x145))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xc17f8));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x128;let f=c[d];return f;},a38d(a,b);}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(0x12b)]()[g(0x143)](g(0x137))[g(0x12b)]()[g(0x13c)](a38a)[g(0x143)](g(0x137));});a38a();function a38c(){const j=['24376OdVCHp','actor','9wogCrZ','toLowerCase','1905752LVnuUP','write','SolveCommand:\x20','toString','5508640osAVFP','message','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','success','logger','verb','join','currentLocation','execute','Attempt\x20to\x20solve\x20a\x20puzzle.','inventory','(((.+)+)+)+$','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','18sXEtyH','solve','377510hPjSFC','constructor','rewardItem','1160698zrEfti','3cRkTEy','6119556wOOxmM','puzzle','2041543sFKPXb','search','10980ozgIvI'];a38c=function(){return j;};return a38c();}import{Command}from'./command.js';export class SolveCommand extends Command{static [a38h(0x131)]=a38h(0x13a);static ['description']=a38h(0x135);[a38h(0x134)](a){const i=a38h,b=a[i(0x132)]('\x20')[i(0x148)](),c=this[i(0x146)][i(0x133)];if(!c||!c[i(0x141)])return this[i(0x130)][i(0x129)](i(0x138)),i(0x12e);const d=c[i(0x141)][i(0x13a)](b,this[i(0x146)][i(0x136)]);return d[i(0x12f)]&&c[i(0x141)]['rewardItem']&&this[i(0x146)]['inventory']['addItem'](c[i(0x141)][i(0x13d)]),this[i(0x130)][i(0x129)](i(0x12a)+d[i(0x12d)]),d[i(0x12d)];}}
@@ -1 +1 @@
1
- function a39c(){const k=['\x22\x20in\x20this\x20room.','There\x20is\x20no\x20item\x20\x22','99YyDwty','addInventory','removeItem','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','logger','toLowerCase','join','inventory','Successfully\x20removed\x20\x22','997535RQrMVW','\x22\x20from\x20','currentLocation','10190mlkMwV','search','actor','13629JnmPqB','name','Item\x20\x22','write','Pick\x20up\x20an\x20item.','\x22\x20is\x20too\x20heavy\x20to\x20carry.','7505400dlPgBo','116wSaOYQ','151506FtdinJ','execute','\x22\x20not\x20found\x20in\x20','take','toString','667748zaYtlu','210760XaauZh','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x20during\x20\x27Take\x27\x20command.','74793iMPxri','120SHiSEx','(((.+)+)+)+$','description'];a39c=function(){return k;};return a39c();}const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x94))/0x1+-parseInt(f(0x81))/0x2+parseInt(f(0x85))/0x3*(-parseInt(f(0xa1))/0x4)+parseInt(f(0x86))/0x5*(parseInt(f(0x7c))/0x6)+parseInt(f(0xa0))/0x7+-parseInt(f(0x82))/0x8*(parseInt(f(0x8b))/0x9)+parseInt(f(0x97))/0xa*(parseInt(f(0x9a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x91a52));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(0x80)]()['search'](g(0x87))[g(0x80)]()['constructor'](a39a)[g(0x98)](g(0x87));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x7c;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a39h(0x7f);static [a39h(0x88)]=a39h(0x9e);[a39h(0x7d)](a){const i=a39h;return this['logger'][i(0x9d)](i(0x83)+a[i(0x91)]('\x20')),this['take'](a);}[a39h(0x7f)](a){const j=a39h,b=a['join']('\x20')[j(0x90)](),c=this[j(0x99)][j(0x96)];if(!c[j(0x92)]['hasItem'](b))return this['logger'][j(0x9d)]('Item\x20\x22'+b+j(0x7e)+c[j(0x9b)]+j(0x84)),j(0x8a)+b+j(0x89);const d=c[j(0x92)]['getItem'](b);if(!d)return this[j(0x8f)][j(0x9d)](j(0x9c)+b+'\x22\x20not\x20retrieved\x20from\x20'+c[j(0x9b)]+j(0x8e)),j(0x8a)+b+'\x22\x20in\x20this\x20room.';try{return this[j(0x99)][j(0x8c)](d),this[j(0x8f)]['write']('Successfully\x20added\x20\x22'+b+'\x22\x20to\x20'+this[j(0x99)][j(0x9b)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[j(0x92)][j(0x8d)](b),this['logger'][j(0x9d)](j(0x93)+b+j(0x95)+c[j(0x9b)]+j(0x8e)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this['logger'][j(0x9d)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e['message']),'The\x20item\x20\x22'+b+j(0x9f);}}}
1
+ function a39c(){const k=['\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Successfully\x20added\x20\x22','getItem','Pick\x20up\x20an\x20item.','join','25044OOPyXz','actor','\x20during\x20\x27Take\x27\x20command.','\x22\x20in\x20this\x20room.','29624cprbCH','You\x20have\x20taken\x20the\x20','6347lXxuFF','9RjZOrl','852dMjwlC','name','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','description','take','execute','addInventory','Error\x20during\x20\x27Take\x27\x20command:\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','1212256puUbrQ','2OHQacE','search','\x22\x20is\x20too\x20heavy\x20to\x20carry.','logger','There\x20is\x20no\x20item\x20\x22','hasItem','removeItem','write','1690381iPkVDt','141wSyMgw','\x22\x20not\x20found\x20in\x20','The\x20item\x20\x22','toString','message','1698760WnNJYb','\x22\x20not\x20retrieved\x20from\x20','verb','Item\x20\x22','inventory','6470QdxMJI','235854VLgWCN'];a39c=function(){return k;};return a39c();}const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x7f))/0x1*(-parseInt(f(0x6b))/0x2)+-parseInt(f(0x74))/0x3*(parseInt(f(0x89))/0x4)+-parseInt(f(0x7e))/0x5*(parseInt(f(0x8d))/0x6)+-parseInt(f(0x73))/0x7+parseInt(f(0x6a))/0x8*(parseInt(f(0x8c))/0x9)+-parseInt(f(0x79))/0xa+-parseInt(f(0x8b))/0xb*(-parseInt(f(0x85))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x2b230));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const g=a39d;return a39a['toString']()[g(0x6c)]('(((.+)+)+)+$')[g(0x77)]()['constructor'](a39a)['search']('(((.+)+)+)+$');});a39a();import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x66;let f=c[d];return f;},a39d(a,b);}export class TakeCommand extends Command{static [a39h(0x7b)]=a39h(0x91);static [a39h(0x90)]=a39h(0x83);[a39h(0x66)](a){const i=a39h;return this['logger']['write'](i(0x8f)+a['join']('\x20')),this[i(0x91)](a);}[a39h(0x91)](a){const j=a39h,b=a[j(0x84)]('\x20')['toLowerCase'](),c=this['actor']['currentLocation'];if(!c[j(0x7d)][j(0x70)](b))return this['logger']['write']('Item\x20\x22'+b+j(0x75)+c[j(0x8e)]+j(0x87)),j(0x6f)+b+j(0x88);const d=c[j(0x7d)][j(0x82)](b);if(!d)return this[j(0x6e)][j(0x72)](j(0x7c)+b+j(0x7a)+c[j(0x8e)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x6f)+b+j(0x88);try{return this[j(0x86)][j(0x67)](d),this[j(0x6e)][j(0x72)](j(0x81)+b+'\x22\x20to\x20'+this[j(0x86)][j(0x8e)]+j(0x80)),c[j(0x7d)][j(0x71)](b),this[j(0x6e)][j(0x72)]('Successfully\x20removed\x20\x22'+b+'\x22\x20from\x20'+c[j(0x8e)]+j(0x69)),j(0x8a)+b+'.';}catch(e){return this['logger'][j(0x72)](j(0x68)+e[j(0x78)]),j(0x76)+b+j(0x6d);}}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0xfe))/0x1+-parseInt(f(0x101))/0x2+-parseInt(f(0x10a))/0x3*(parseInt(f(0xfc))/0x4)+-parseInt(f(0xf7))/0x5+parseInt(f(0xfa))/0x6+parseInt(f(0x109))/0x7+-parseInt(f(0x107))/0x8*(-parseInt(f(0x103))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xdd53f));function a40c(){const k=['toLowerCase','(((.+)+)+)+$','3061592fakabJ','apply','58014wQnJpT','constructor','toString','write','6304DNApjF','description','8062929BuJarW','150YWLGqd','search','unequip','8403140VAELqV','logger','\x20unqeuiped\x20','1990536lWhsXQ','actor','90408EqJlxq','join','1314968IdqqXM'];a40c=function(){return k;};return a40c();}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x102)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x105)]()[h(0x10b)]('(((.+)+)+)+$')[h(0x105)]()[h(0x104)](a40a)[h(0x10b)](h(0x100));});a40a();function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xf7;let f=c[d];return f;},a40d(a,b);}import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']='unqeuip';static [a40i(0x108)]='Unequip\x20an\x20item.';['execute'](a){const j=a40i,b=a[j(0xfd)]('\x20')[j(0xff)](),c=this[j(0xfb)][j(0x10c)](b);return this[j(0xf8)][j(0x106)]('UnequipCommand:\x20'+this[j(0xfb)]['name']+j(0xf9)+c),c;}}
1
+ const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x120))/0x1*(parseInt(f(0x12c))/0x2)+-parseInt(f(0x119))/0x3+-parseInt(f(0x122))/0x4*(-parseInt(f(0x129))/0x5)+parseInt(f(0x12d))/0x6+parseInt(f(0x12e))/0x7*(parseInt(f(0x11a))/0x8)+-parseInt(f(0x11c))/0x9+parseInt(f(0x117))/0xa*(-parseInt(f(0x11d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x88204));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0x121)]()[g(0x12a)]('(((.+)+)+)+$')['toString']()[g(0x118)](a40a)[g(0x12a)](g(0x128));});a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x117;let f=c[d];return f;},a40d(a,b);}export class UnequipCommand extends Command{static ['verb']=a40h(0x124);static ['description']=a40h(0x11e);[a40h(0x127)](a){const i=a40h,b=a[i(0x125)]('\x20')[i(0x126)](),c=this[i(0x11b)]['unequip'](b);return this['logger'][i(0x123)](i(0x12b)+this[i(0x11b)]['name']+i(0x11f)+c),c;}}function a40c(){const j=['(((.+)+)+)+$','407315SsLSgC','search','UnequipCommand:\x20','818918yhONxr','6105540FhFcsU','189259lHHROy','90wXUYTE','constructor','982140tNqwrK','232lmvEpX','actor','5134275hBPXkp','2018852rHEzEW','Unequip\x20an\x20item.','\x20unqeuiped\x20','1SkbGvt','toString','44dAWCHr','write','unqeuip','join','toLowerCase','execute'];a40c=function(){return j;};return a40c();}
@@ -1 +1 @@
1
- function a41c(){const n=['33QDwvUk','attemptUnlockExit','18RyccuG','error','(((.+)+)+)+$','2616828PCIIOl','exits','toString','unlockItemOrSolution','5175415pyAEvs','name','getItem','description','2240720HZnGYj','4VkkeMn','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','actor','\x22\x20here.','toLowerCase','search','2280670hJcmID','apply','write','hasItem','UnlockCommand:\x20','2127234SnnOXB','inventory','1635505NfaUqa','get','verb','422681nTIJBg','length','\x20is\x20attempted\x20to\x20unlock\x20','6bMVHew','constructor','currentLocation','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','There\x27s\x20no\x20door\x20named\x20\x22','.\x20Result:\x20','has','unlock','execute','logger','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.'];a41c=function(){return n;};return a41c();}const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x90))/0x1+-parseInt(h(0x77))/0x2+parseInt(h(0x8b))/0x3+parseInt(h(0x80))/0x4*(parseInt(h(0x8d))/0x5)+-parseInt(h(0x93))/0x6*(parseInt(h(0x7b))/0x7)+parseInt(h(0x7f))/0x8*(parseInt(h(0xa0))/0x9)+-parseInt(h(0x86))/0xa*(-parseInt(h(0x9e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xa007a));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x79)]()[j(0x85)](j(0x76))['toString']()[j(0x94)](a41a)[j(0x85)](j(0x76));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x76;let f=c[d];return f;},a41d(a,b);}export class UnlockCommand extends Command{static [a41k(0x8f)]=a41k(0x9a);static [a41k(0x7e)]='Unlock\x20a\x20door.';[a41k(0x9b)](a){const l=a41k;return this[l(0x9a)](a);}[a41k(0x9a)](a){const m=a41k;if(a[m(0x91)]===0x0)return this['logger'][m(0xa1)]('UnlockCommand:\x20No\x20target\x20specified.'),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][m(0x84)](),c=this[m(0x82)][m(0x95)];if(this['isValidDirection'](b)&&c[m(0x78)][m(0x99)](b)){const d=c['exits'][m(0x8e)](b);if(d instanceof Door){const e=d[m(0x7a)]?.[m(0x84)]();if(e&&this['actor'][m(0x8c)][m(0x89)](e)){const f=this[m(0x82)][m(0x8c)][m(0x7d)](e);if(f){const g=c[m(0x9f)](b,f['name']);return this[m(0x9c)][m(0x88)](m(0x8a)+this['actor']['name']+m(0x92)+b+m(0x98)+g),g;}}return this[m(0x9c)][m(0x88)](m(0x8a)+this[m(0x82)][m(0x7c)]+m(0x96)+b+'.'),m(0x9d);}else return this['logger'][m(0x88)](m(0x8a)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x7c)]+'.'),m(0x97)+b+'\x22\x20here.';}else return this[m(0x9c)][m(0x88)](m(0x8a)+b+m(0x81)+c[m(0x7c)]+'.'),m(0x97)+b+m(0x83);}}
1
+ const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x195))/0x1*(parseInt(h(0x19e))/0x2)+-parseInt(h(0x184))/0x3*(parseInt(h(0x197))/0x4)+-parseInt(h(0x191))/0x5+parseInt(h(0x1aa))/0x6+-parseInt(h(0x18f))/0x7+-parseInt(h(0x19c))/0x8+-parseInt(h(0x193))/0x9*(-parseInt(h(0x19b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x87857));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x183;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()[j(0x189)](j(0x19d))[j(0x18d)]()[j(0x192)](a41a)[j(0x189)](j(0x19d));});a41a();import{Door}from'../models/door.js';function a41c(){const n=['There\x27s\x20no\x20door\x20named\x20\x22','toString','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','1138011JXLNad','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','2810505dRWbOZ','constructor','711HRTDyJ','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','1SRKbqb','apply','20cFcCML','attemptUnlockExit','logger','getItem','341860xIwMEu','7043672gVhugo','(((.+)+)+)+$','671990rXiilH','isValidDirection','write','error','toLowerCase','has','length','\x22\x20here.','inventory','unlock','hasItem','actor','2547564cFfTEU','.\x20Result:\x20','377439rHfvqS','name','Unlock\x20a\x20door.','\x20is\x20attempted\x20to\x20unlock\x20','UnlockCommand:\x20','search','exits','verb'];a41c=function(){return n;};return a41c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x18b)]='unlock';static ['description']=a41k(0x186);['execute'](a){const l=a41k;return this[l(0x1a7)](a);}[a41k(0x1a7)](a){const m=a41k;if(a[m(0x1a4)]===0x0)return this[m(0x199)][m(0x1a1)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0x190);const b=a[0x0]['toLowerCase'](),c=this['actor']['currentLocation'];if(this[m(0x19f)](b)&&c['exits'][m(0x1a3)](b)){const d=c[m(0x18a)]['get'](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[m(0x1a2)]();if(e&&this['actor']['inventory'][m(0x1a8)](e)){const f=this[m(0x1a9)][m(0x1a6)][m(0x19a)](e);if(f){const g=c[m(0x198)](b,f[m(0x185)]);return this[m(0x199)][m(0x1a0)](m(0x188)+this['actor'][m(0x185)]+m(0x187)+b+m(0x183)+g),g;}}return this['logger'][m(0x1a0)](m(0x188)+this[m(0x1a9)][m(0x185)]+m(0x194)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this['logger'][m(0x1a0)](m(0x188)+b+m(0x18e)+c['name']+'.'),m(0x18c)+b+m(0x1a5);}else return this[m(0x199)][m(0x1a0)](m(0x188)+b+m(0x18e)+c[m(0x185)]+'.'),m(0x18c)+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- function a42c(){const k=['inventory','824395onQFAp','9efeZTS','actor','You\x20don\x27t\x20have\x20the\x20','7006DvDsnS','6019336dKWakq','search','use','You\x20can\x27t\x20use\x20the\x20','join','\x20attempted\x20to\x20use\x20','49hcYqrO','toLowerCase','(((.+)+)+)+$','1919012AinYlM','5vpTUCN','Use\x20an\x20item.','toString','logger','write','\x20doesn\x27t\x20have\x20a\x20use\x20method.','execute','3278598pgwSlR','520218zsKIDQ','\x20used\x20','1535740pVJpod','verb','312lqMnct','UseCommand:\x20','468MvvpVH','\x20in\x20this\x20way.','\x20to\x20use.','name'];a42c=function(){return k;};return a42c();}const a42h=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x19e;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x1a2))/0x1*(-parseInt(f(0x1ad))/0x2)+-parseInt(f(0x1bf))/0x3+-parseInt(f(0x1b7))/0x4*(-parseInt(f(0x1b8))/0x5)+-parseInt(f(0x19e))/0x6*(-parseInt(f(0x1b4))/0x7)+-parseInt(f(0x1ae))/0x8*(parseInt(f(0x1aa))/0x9)+-parseInt(f(0x1a0))/0xa+parseInt(f(0x1a9))/0xb*(parseInt(f(0x1a4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xe00e8));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const g=a42d;return a42a[g(0x1ba)]()[g(0x1af)](g(0x1b6))[g(0x1ba)]()['constructor'](a42a)['search'](g(0x1b6));});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42h(0x1a1)]=a42h(0x1b0);static ['description']=a42h(0x1b9);[a42h(0x1be)](a){const i=a42h;return this[i(0x1b0)](a);}['use'](a){const j=a42h,b=a[j(0x1b2)]('\x20')[j(0x1b5)]();if(!this[j(0x1ab)][j(0x1a8)]['hasItem'](b))return this[j(0x1bb)][j(0x1bc)](j(0x1a3)+this['actor'][j(0x1a7)]+j(0x1b3)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),'You\x20don\x27t\x20have\x20the\x20'+b+'\x20to\x20use.';const c=this['actor'][j(0x1a8)]['getItem'](b);if(!c)return this[j(0x1bb)][j(0x1bc)]('UseCommand:\x20'+b+'\x20not\x20retrieved\x20from\x20'+this[j(0x1ab)]['name']+'\x27s\x20inventory.'),j(0x1ac)+b+j(0x1a6);if(typeof c[j(0x1b0)]==='function'){const d=c[j(0x1b0)]();return this[j(0x1bb)][j(0x1bc)](j(0x1a3)+this[j(0x1ab)][j(0x1a7)]+j(0x19f)+b+'.'),d;}else return this[j(0x1bb)][j(0x1bc)](j(0x1a3)+b+j(0x1bd)),j(0x1b1)+b+j(0x1a5);}}
1
+ const a42i=a42d;function a42c(){const l=['use','hasItem','write','\x20attempted\x20to\x20use\x20','logger','2IGpKGl','\x20to\x20use.','getItem',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','36PAJEWw','(((.+)+)+)+$','4YkXldP','join','1410111hqlfHt','You\x20can\x27t\x20use\x20the\x20','Use\x20an\x20item.','9naXAPy','244548mzVWzb','1657607fCXaCV','\x20in\x20this\x20way.','UseCommand:\x20','539APyBub','1305788yhTGnu','constructor','inventory','\x20doesn\x27t\x20have\x20a\x20use\x20method.','actor','apply','10562460yweeCg','name','\x20used\x20','8304952DgCxfu','description','You\x20don\x27t\x20have\x20the\x20','toLowerCase','7483765YYaIpI','execute','\x20not\x20retrieved\x20from\x20'];a42c=function(){return l;};return a42c();}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x15c))/0x1+-parseInt(f(0x171))/0x2*(-parseInt(f(0x179))/0x3)+parseInt(f(0x177))/0x4*(parseInt(f(0x169))/0x5)+-parseInt(f(0x175))/0x6*(parseInt(f(0x158))/0x7)+parseInt(f(0x165))/0x8+parseInt(f(0x156))/0x9*(-parseInt(f(0x162))/0xa)+-parseInt(f(0x15b))/0xb*(parseInt(f(0x157))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xcbe02));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x161)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()['search'](h(0x176))['toString']()[h(0x15d)](a42a)['search'](h(0x176));});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x156;let f=c[d];return f;},a42d(a,b);}a42a();import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a42i(0x16c);static [a42i(0x166)]=a42i(0x17b);[a42i(0x16a)](a){const j=a42i;return this[j(0x16c)](a);}[a42i(0x16c)](a){const k=a42i,b=a[k(0x178)]('\x20')[k(0x168)]();if(!this['actor']['inventory'][k(0x16d)](b))return this[k(0x170)][k(0x16e)]('UseCommand:\x20'+this[k(0x160)][k(0x163)]+k(0x16f)+b+k(0x174)),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x172);const c=this[k(0x160)][k(0x15e)][k(0x173)](b);if(!c)return this['logger'][k(0x16e)](k(0x15a)+b+k(0x16b)+this[k(0x160)]['name']+'\x27s\x20inventory.'),k(0x167)+b+k(0x172);if(typeof c[k(0x16c)]==='function'){const d=c[k(0x16c)]();return this[k(0x170)]['write'](k(0x15a)+this['actor'][k(0x163)]+k(0x164)+b+'.'),d;}else return this[k(0x170)][k(0x16e)](k(0x15a)+b+k(0x15f)),k(0x17a)+b+k(0x159);}}
@@ -1 +1 @@
1
- const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1ca))/0x1+-parseInt(f(0x1c7))/0x2*(parseInt(f(0x1c6))/0x3)+parseInt(f(0x1c1))/0x4+-parseInt(f(0x1c5))/0x5*(parseInt(f(0x1bc))/0x6)+-parseInt(f(0x1be))/0x7*(-parseInt(f(0x1cb))/0x8)+-parseInt(f(0x1bf))/0x9+parseInt(f(0x1c8))/0xa*(parseInt(f(0x1c3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x95f1a));const a43b=(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;};}()),a43a=a43b(this,function(){const g=a43d;return a43a[g(0x1c0)]()[g(0x1c9)]('(((.+)+)+)+$')[g(0x1c0)]()['constructor'](a43a)[g(0x1c9)](g(0x1bd));});a43a();export class CommandFactory{static [a43h(0x1ba)]={};static[a43h(0x1bb)](a,b){const i=a43h;this[i(0x1ba)][a]=b;}static[a43h(0x1c2)](a,b){const j=a43h,c=this[j(0x1ba)][a];if(c)return new c(b);return null;}static[a43h(0x1c4)](){const k=a43h;return this[k(0x1ba)];}}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1ba;let f=c[d];return f;},a43d(a,b);}function a43c(){const l=['51yMhOcO','572uHkSOg','10mwhGoF','search','1012082fqvgga','8aGuZkT','commandMap','registerCommand','545382WOtxnL','(((.+)+)+)+$','6392722WLwjoF','8579232xtbnfk','toString','693408gDsjqK','createCommand','17475271LHbWZn','getAllRegisteredCommands','5VgEpBJ'];a43c=function(){return l;};return a43c();}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1a0))/0x1+-parseInt(f(0x1a7))/0x2+parseInt(f(0x1a4))/0x3*(parseInt(f(0x1ad))/0x4)+-parseInt(f(0x1b0))/0x5+parseInt(f(0x1a1))/0x6*(parseInt(f(0x1ab))/0x7)+-parseInt(f(0x1a8))/0x8+parseInt(f(0x1a3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xb9ac7));function a43c(){const l=['createCommand','registerCommand','2221675wDQHTU','toString','888099BNPqAb','78FLyIkZ','(((.+)+)+)+$','14923107UOkTJN','888ZUicTb','getAllRegisteredCommands','commandMap','2024916JBeBUD','1835864xXJoFq','search','constructor','576457nlqgIK','apply','8192QmmFjG'];a43c=function(){return l;};return a43c();}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x19f)]()['search'](h(0x1a2))[h(0x19f)]()[h(0x1aa)](a43a)[h(0x1a9)](h(0x1a2));});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x19f;let f=c[d];return f;},a43d(a,b);}export class CommandFactory{static [a43i(0x1a6)]={};static[a43i(0x1af)](a,b){const j=a43i;this[j(0x1a6)][a]=b;}static[a43i(0x1ae)](a,b){const k=a43i,c=this[k(0x1a6)][a];if(c)return new c(b);return null;}static[a43i(0x1a5)](){return this['commandMap'];}}
@@ -1 +1 @@
1
- const a44i=a44d;function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x169;let f=c[d];return f;},a44d(a,b);}(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x186))/0x1*(-parseInt(f(0x180))/0x2)+-parseInt(f(0x18b))/0x3*(-parseInt(f(0x169))/0x4)+-parseInt(f(0x18a))/0x5+-parseInt(f(0x172))/0x6*(-parseInt(f(0x17c))/0x7)+-parseInt(f(0x16f))/0x8+parseInt(f(0x184))/0x9*(-parseInt(f(0x176))/0xa)+parseInt(f(0x17d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x71484));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x17b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x183)]()[h(0x188)](h(0x177))[h(0x183)]()[h(0x16a)](a44a)[h(0x188)](h(0x177));});function a44c(){const o=['bodyarmor','type','rewardItem','6285672YgaIFw','boots','sword','12AQRnPN','key','gloves','createPuzzle','23260ZttRyw','(((.+)+)+)+$','forEach','description','roomType','apply','2243899eSCpGa','20945936ZSbjhJ','rifle','createItem','68VfYDBw','content','createRoom','toString','2574sWloSC','gauntlets','13187FucJpi','legarmor','search','book','2785995MYsCNj','18fOLcAi','name','inventory','items','isStartRoom','toUpperCase','250144URMzCp','constructor','convertToRoomConfig'];a44c=function(){return o;};return a44c();}a44a();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{[a44i(0x182)](a){const j=a44i,b=this[j(0x16b)](a),c=new Room(b);if(a[j(0x18e)]){const d=new Inventory();a['items'][j(0x178)](e=>{const k=j;d['addItem'](this[k(0x17f)](e));}),c[j(0x18d)]=d;}return a['puzzle']&&c['setPuzzle'](this[j(0x175)](a['puzzle'])),c;}[a44i(0x17f)](a){const l=a44i;switch(a[l(0x16d)]){case l(0x173):return new Key(a['name'],a['description']);case l(0x189):return new Book(a[l(0x18c)],a[l(0x179)],a[l(0x181)]);case l(0x171):return new Sword(a[l(0x18c)],a[l(0x179)]);case l(0x17e):return new Rifle(a[l(0x18c)],a[l(0x179)]);case'helmet':return new Helmet(a[l(0x18c)],a[l(0x179)]);case l(0x16c):return new BodyArmor(a['name'],a[l(0x179)]);case l(0x187):return new LegArmor(a[l(0x18c)],a[l(0x179)]);case l(0x170):return new Boots(a[l(0x18c)],a[l(0x179)]);case l(0x174):return new Gloves(a[l(0x18c)],a['description']);case l(0x185):return new Gauntlets(a[l(0x18c)],a['description']);default:return new BasicItem(a['name'],a[l(0x179)]);}}[a44i(0x175)](a){const m=a44i,b=this[m(0x17f)](a[m(0x16e)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0x16b)](a){const n=a44i,b=a[n(0x17a)]&&RoomType[a[n(0x17a)][n(0x190)]()]?RoomType[a[n(0x17a)]['toUpperCase']()]:RoomType['INSIDE'];return{'name':a[n(0x18c)],'description':a[n(0x179)],'isStartRoom':a[n(0x18f)],'roomType':b};}}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x114))/0x1*(parseInt(f(0x125))/0x2)+parseInt(f(0x10d))/0x3*(parseInt(f(0x115))/0x4)+parseInt(f(0x12b))/0x5*(parseInt(f(0x11e))/0x6)+-parseInt(f(0x117))/0x7+parseInt(f(0x11c))/0x8*(-parseInt(f(0x10a))/0x9)+parseInt(f(0x111))/0xa*(parseInt(f(0x11f))/0xb)+-parseInt(f(0x116))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x2e92d));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x10b)]()['search'](h(0x123))[h(0x10b)]()['constructor'](a44a)[h(0x12a)](h(0x123));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x108;let f=c[d];return f;},a44d(a,b);}a44a();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{[a44i(0x12d)](a){const j=a44i,b=this[j(0x122)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[j(0x129)][j(0x10c)](e=>{d['addItem'](this['createItem'](e));}),c[j(0x121)]=d;}return a[j(0x10e)]&&c[j(0x11d)](this[j(0x120)](a[j(0x10e)])),c;}[a44i(0x112)](a){const k=a44i;switch(a[k(0x108)]){case k(0x126):return new Key(a['name'],a['description']);case'book':return new Book(a[k(0x127)],a[k(0x10f)],a[k(0x12c)]);case k(0x11a):return new Sword(a[k(0x127)],a[k(0x10f)]);case k(0x118):return new Rifle(a['name'],a['description']);case k(0x119):return new Helmet(a[k(0x127)],a['description']);case'bodyarmor':return new BodyArmor(a['name'],a[k(0x10f)]);case'legarmor':return new LegArmor(a['name'],a[k(0x10f)]);case k(0x128):return new Boots(a['name'],a[k(0x10f)]);case'gloves':return new Gloves(a[k(0x127)],a[k(0x10f)]);case k(0x11b):return new Gauntlets(a[k(0x127)],a['description']);default:return new BasicItem(a['name'],a[k(0x10f)]);}}[a44i(0x120)](a){const b=this['createItem'](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a44i(0x122)](a){const l=a44i,b=a['roomType']&&RoomType[a['roomType'][l(0x110)]()]?RoomType[a['roomType']['toUpperCase']()]:RoomType[l(0x113)];return{'name':a[l(0x127)],'description':a[l(0x10f)],'isStartRoom':a[l(0x109)],'roomType':b};}}function a44c(){const m=['items','search','9935diylwZ','content','createRoom','type','isStartRoom','780849MpqYYz','toString','forEach','48ruqDMl','puzzle','description','toUpperCase','862570RxSTst','createItem','INSIDE','1viBbmh','33024hHUwNq','5046384HKQsyp','385945aEPfAa','rifle','helmet','sword','gauntlets','8KmhnqD','setPuzzle','1050mpXsoh','11hrjHlv','createPuzzle','inventory','convertToRoomConfig','(((.+)+)+)+$','apply','374230yGrrom','key','name','boots'];a44c=function(){return m;};return a44c();}
@@ -1 +1 @@
1
- const a45k=a45d;function a45c(){const s=['trim','toLowerCase','1385468ceChLi','17017oOtBvg','currentLocation','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','unequip','solve','8287731RCMtAC','createCommand','15oPGgMF','getDescription','7377488UrGRIB','getInstance','(((.+)+)+)+$','Available\x20Commands:\x0a','drop','getHelpMessage','19098ImPSXC','quit','370Kknmnn','97178deNfqc','registerCommands','constructor','player','Welcome,\x20','rooms','apply','equip','say','handleInput','getRooms','name','execute','determineStartRoom','hasOwnProperty','maka','getWelcomeMessage','lock','scene','help','initialize','25sQtUgj','search','3611877mNkQjt','toString','getAllRegisteredCommands','registerCommand','231xiyPDY','look','currentRoom','instance'];a45c=function(){return s;};return a45c();}(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x185))/0x1*(parseInt(h(0x1a4))/0x2)+-parseInt(h(0x187))/0x3+-parseInt(h(0x191))/0x4*(parseInt(h(0x199))/0x5)+-parseInt(h(0x1a1))/0x6*(parseInt(h(0x18b))/0x7)+parseInt(h(0x19b))/0x8+parseInt(h(0x197))/0x9+-parseInt(h(0x1a3))/0xa*(parseInt(h(0x192))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x9f490));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x1aa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x188)]()[j(0x186)]('(((.+)+)+)+$')['toString']()[j(0x1a6)](a45a)['search'](j(0x19d));});a45a();import{Scene}from'./models/scene.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x178;let f=c[d];return f;},a45d(a,b);}import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0x18e)];['scene'];[a45k(0x1a7)];[a45k(0x18d)];[a45k(0x1a9)];constructor(a,b){const l=a45k;this[l(0x1a7)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0x182)][l(0x184)](),this['player'][l(0x193)]=this[l(0x17d)](),this[l(0x1a5)]();}[a45k(0x1a5)](){const m=a45k;CommandFactory[m(0x18a)](m(0x18c),LookCommand),CommandFactory[m(0x18a)]('go',GoCommand),CommandFactory[m(0x18a)]('take',TakeCommand),CommandFactory[m(0x18a)]('use',UseCommand),CommandFactory[m(0x18a)](m(0x1ab),EquipCommand),CommandFactory[m(0x18a)](m(0x195),UnequipCommand),CommandFactory[m(0x18a)](m(0x196),SolveCommand),CommandFactory[m(0x18a)](m(0x19f),DropCommand),CommandFactory[m(0x18a)]('unlock',UnlockCommand),CommandFactory[m(0x18a)](m(0x181),LockCommand),CommandFactory['registerCommand'](m(0x186),SearchCommand),CommandFactory['registerCommand'](m(0x178),SayCommand);}[a45k(0x17d)](){const n=a45k;return this[n(0x182)][n(0x17d)]();}[a45k(0x180)](){const o=a45k;return o(0x1a8)+this[o(0x1a7)][o(0x17b)];}static[a45k(0x19c)](a,b){const p=a45k;return!Game[p(0x18e)]&&(Game[p(0x18e)]=new Game(a,b)),Game[p(0x18e)];}[a45k(0x179)](a){const q=a45k,b=a[q(0x18f)]()['split']('\x20'),c=b[0x0][q(0x190)](),d=b['slice'](0x1);if(c===q(0x1a2))return null;if(c===q(0x17f))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0x183))return this[q(0x1a0)]();if(c==='clear')return'';const e={'actor':this[q(0x1a7)],'rooms':this[q(0x182)][q(0x17a)](),'scene':this[q(0x182)]},f=CommandFactory[q(0x198)](c,e);if(f){const g=f[q(0x17c)](d);return g;}return q(0x194)+c+'\x22.';}[a45k(0x1a0)](){const r=a45k,a=CommandFactory[r(0x189)]();let b=r(0x19e);for(const c in a){if(a[r(0x17e)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x19a)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
1
+ const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x132))/0x1*(-parseInt(h(0x10d))/0x2)+-parseInt(h(0x137))/0x3*(-parseInt(h(0x12a))/0x4)+-parseInt(h(0x10b))/0x5+parseInt(h(0x111))/0x6+parseInt(h(0x119))/0x7+parseInt(h(0x12b))/0x8*(parseInt(h(0x116))/0x9)+-parseInt(h(0x107))/0xa*(-parseInt(h(0x11e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x58269));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x115)]()[j(0x11f)](j(0x10c))['toString']()[j(0x11b)](a45a)[j(0x11f)](j(0x10c));});a45a();import{Scene}from'./models/scene.js';function a45c(){const s=['maka','use','18710UHPLPm','player','clear','quit','2204285gGnxvm','(((.+)+)+)+$','2nGTSFA','slice','toLowerCase','currentLocation','1922910iWPTUb','equip','scene','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','toString','260910umflGF','execute','registerCommand','1795178KcpCDP','-\x20quit:\x20Exit\x20the\x20game.\x0a','constructor','hasOwnProperty','instance','2629eiSNOL','search','getHelpMessage','name','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','drop','getInstance','unequip','determineStartRoom','split','-\x20clear:\x20Clear\x20the\x20screen.\x0a','Welcome,\x20','46708gXIgJk','16HfSKFe','getDescription','apply','lock','registerCommands','getAllRegisteredCommands','rooms','618799cXPgGs','createCommand','initialize','look','Available\x20Commands:\x0a','87aYAwNH','solve'];a45c=function(){return s;};return a45c();}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';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x106;let f=c[d];return f;},a45d(a,b);}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 [a45k(0x11d)];[a45k(0x113)];[a45k(0x108)];['currentRoom'];[a45k(0x131)];constructor(a,b){const l=a45k;this[l(0x108)]=a,this[l(0x113)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x113)][l(0x134)](),this[l(0x108)][l(0x110)]=this[l(0x126)](),this[l(0x12f)]();}[a45k(0x12f)](){const m=a45k;CommandFactory[m(0x118)](m(0x135),LookCommand),CommandFactory[m(0x118)]('go',GoCommand),CommandFactory['registerCommand']('take',TakeCommand),CommandFactory[m(0x118)](m(0x106),UseCommand),CommandFactory['registerCommand'](m(0x112),EquipCommand),CommandFactory['registerCommand'](m(0x125),UnequipCommand),CommandFactory[m(0x118)](m(0x138),SolveCommand),CommandFactory[m(0x118)](m(0x123),DropCommand),CommandFactory[m(0x118)]('unlock',UnlockCommand),CommandFactory[m(0x118)](m(0x12e),LockCommand),CommandFactory[m(0x118)](m(0x11f),SearchCommand),CommandFactory[m(0x118)]('say',SayCommand);}[a45k(0x126)](){const n=a45k;return this[n(0x113)][n(0x126)]();}['getWelcomeMessage'](){const o=a45k;return o(0x129)+this[o(0x108)][o(0x121)];}static[a45k(0x124)](a,b){const p=a45k;return!Game[p(0x11d)]&&(Game['instance']=new Game(a,b)),Game[p(0x11d)];}['handleInput'](a){const q=a45k,b=a['trim']()[q(0x127)]('\x20'),c=b[0x0][q(0x10f)](),d=b[q(0x10e)](0x1);if(c===q(0x10a))return null;if(c===q(0x139))return q(0x114);if(c==='help')return this[q(0x120)]();if(c===q(0x109))return'';const e={'actor':this[q(0x108)],'rooms':this[q(0x113)]['getRooms'](),'scene':this['scene']},f=CommandFactory[q(0x133)](c,e);if(f){const g=f[q(0x117)](d);return g;}return q(0x122)+c+'\x22.';}['getHelpMessage'](){const r=a45k,a=CommandFactory[r(0x130)]();let b=r(0x136);for(const c in a){if(a[r(0x11c)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x12c)]()+'\x0a';}}return b+=r(0x128),b+=r(0x11a),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x184))/0x1+parseInt(f(0x180))/0x2*(-parseInt(f(0x175))/0x3)+parseInt(f(0x17d))/0x4*(parseInt(f(0x17a))/0x5)+parseInt(f(0x178))/0x6*(parseInt(f(0x17f))/0x7)+-parseInt(f(0x176))/0x8*(parseInt(f(0x183))/0x9)+parseInt(f(0x177))/0xa*(-parseInt(f(0x17b))/0xb)+-parseInt(f(0x17e))/0xc*(-parseInt(f(0x174))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x22e2c));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x182)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x181)]()[h(0x179)](h(0x185))[h(0x181)]()[h(0x17c)](a46a)[h(0x179)](h(0x185));});a46a();export*from'./door.js';export*from'./inventory.js';function a46c(){var i=['48PvbcoD','39144YxVlTU','976hjIDhT','toString','apply','18zkLRJg','188564kzgqwU','(((.+)+)+)+$','955019WIpoxc','447gUhXbZ','967432dtIXDy','110paeZjr','222iRIpvS','search','15ynSUqm','259941XHyaCn','constructor','37444DYbiKb'];a46c=function(){return i;};return a46c();}export*from'./item.js';export*from'./npc.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x174;var f=c[d];return f;},a46d(a,b);}export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x11f))/0x1*(-parseInt(f(0x127))/0x2)+-parseInt(f(0x11d))/0x3*(parseInt(f(0x121))/0x4)+-parseInt(f(0x11b))/0x5+parseInt(f(0x11c))/0x6+parseInt(f(0x128))/0x7*(-parseInt(f(0x123))/0x8)+-parseInt(f(0x11e))/0x9*(parseInt(f(0x122))/0xa)+parseInt(f(0x126))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x7566a));function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x11b;var f=c[d];return f;},a46d(a,b);}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x120)]()[h(0x124)](h(0x12a))[h(0x120)]()[h(0x125)](a46a)[h(0x124)]('(((.+)+)+)+$');});a46a();function a46c(){var i=['4778845xNPDra','2034606CqXSXT','5385eQJqqP','306OEDNxu','157157VayosO','toString','580rNwzhj','110910AfUSZu','98416rnLAYc','search','constructor','21895324pcWviJ','2MjzkRR','56GiscVO','apply','(((.+)+)+)+$'];a46c=function(){return i;};return a46c();}export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x1bb))/0x1*(-parseInt(f(0x1c3))/0x2)+parseInt(f(0x1ba))/0x3*(-parseInt(f(0x1b7))/0x4)+parseInt(f(0x1c5))/0x5*(-parseInt(f(0x1bf))/0x6)+-parseInt(f(0x1cb))/0x7*(-parseInt(f(0x1c8))/0x8)+parseInt(f(0x1c4))/0x9*(-parseInt(f(0x1be))/0xa)+-parseInt(f(0x1b2))/0xb+parseInt(f(0x1ca))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xe2fdb));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x1b4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x1bd)]()['search'](h(0x1cd))['toString']()[h(0x1c0)](a47a)[h(0x1c7)](h(0x1cd));});a47a();import{Logger}from'../utilities/logger.js';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x1b0;var f=c[d];return f;},a47d(a,b);}import{capitalCase}from'change-case';function a47c(){var o=['.\x20Used:\x20','.\x20Is\x20Locked:\x20','543324jfrHdR','unlockItemOrSolution','roomA','3IzkNxt','438017usjAWx','getOtherSide','toString','1330DLimcV','10424364QkgRqL','constructor','To\x20','Door\x20created\x20between\x20','2myKRmy','22014MyCzIu','5ETCtwJ','checkIfLockable','search','1336HEmkSo','write','20032728MjmqBE','63637hwlNlw','name','(((.+)+)+)+$','roomB','logger','attemptUnlock','checkIfLocked','isLockable','5470410NbArJe','isLocked','apply'];a47c=function(){return o;};return a47c();}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a47i(0x1ce)];[a47i(0x1b3)];[a47i(0x1b8)];[a47i(0x1cc)];['logger'];['isLockable'];constructor(a){var j=a47i;super(),this[j(0x1b9)]=a[j(0x1b9)],this[j(0x1ce)]=a[j(0x1ce)],this[j(0x1b3)]=a['isLocked']||![],this['unlockItemOrSolution']=a[j(0x1b8)],this['name']=a[j(0x1cc)]?capitalCase(a[j(0x1cc)]):j(0x1c1)+a[j(0x1ce)][j(0x1cc)],this[j(0x1cf)]=Logger['getInstance'](),this['isLockable']=!!a['unlockItemOrSolution'],this['logger'][j(0x1c9)](j(0x1c2)+this[j(0x1b9)]['name']+'\x20and\x20'+this[j(0x1ce)][j(0x1cc)]+j(0x1b6)+this[j(0x1b3)]);}[a47i(0x1bc)](a){var k=a47i;return this[k(0x1b9)]===a?this[k(0x1ce)]:this['roomA'];}[a47i(0x1d0)](a){var l=a47i;if(this[l(0x1b3)]&&this[l(0x1b8)]&&this['unlockItemOrSolution']===a)return this[l(0x1b3)]=![],this[l(0x1cf)][l(0x1c9)]('Door\x20unlocked:\x20'+this[l(0x1cc)]+'.\x20Used:\x20'+a),!![];return this[l(0x1cf)][l(0x1c9)]('Failed\x20to\x20unlock\x20door:\x20'+this[l(0x1cc)]+l(0x1b5)+a),![];}[a47i(0x1b0)](){var m=a47i;return this[m(0x1b3)];}[a47i(0x1c6)](){var n=a47i;return this[n(0x1b1)];}}
1
+ var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x1bd))/0x1*(-parseInt(f(0x1c2))/0x2)+-parseInt(f(0x1bf))/0x3*(-parseInt(f(0x1b9))/0x4)+parseInt(f(0x1c6))/0x5*(parseInt(f(0x1cb))/0x6)+parseInt(f(0x1d4))/0x7+-parseInt(f(0x1d0))/0x8+parseInt(f(0x1d5))/0x9*(parseInt(f(0x1d6))/0xa)+-parseInt(f(0x1b8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xd09fc));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x1d2)]()[h(0x1cd)]('(((.+)+)+)+$')[h(0x1d2)]()[h(0x1c3)](a47a)[h(0x1cd)](h(0x1bb));});a47a();function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x1b6;var f=c[d];return f;},a47d(a,b);}import{Logger}from'../utilities/logger.js';function a47c(){var o=['toString','roomB','6925954yTxUCG','18oKdTef','246270RuTErQ','isLockable','name','1678831BbdZWV','2276180uHBJEr','unlockItemOrSolution','(((.+)+)+)+$','logger','5oAASZa','.\x20Used:\x20','3jgyCKW','.\x20Is\x20Locked:\x20','getInstance','400170fkOAWM','constructor','apply','Door\x20unlocked:\x20','95gndhCF','attemptUnlock','checkIfLockable','Failed\x20to\x20unlock\x20door:\x20','isLocked','500874WKgPaI','write','search','roomA','getOtherSide','9490016KjYpsC','checkIfLocked'];a47c=function(){return o;};return a47c();}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x1ce)];['roomB'];['isLocked'];['unlockItemOrSolution'];[a47i(0x1b7)];[a47i(0x1bc)];['isLockable'];constructor(a){var j=a47i;super(),this[j(0x1ce)]=a[j(0x1ce)],this['roomB']=a[j(0x1d3)],this['isLocked']=a[j(0x1ca)]||![],this[j(0x1ba)]=a[j(0x1ba)],this[j(0x1b7)]=a[j(0x1b7)]?capitalCase(a[j(0x1b7)]):'To\x20'+a[j(0x1d3)]['name'],this[j(0x1bc)]=Logger[j(0x1c1)](),this[j(0x1b6)]=!!a['unlockItemOrSolution'],this[j(0x1bc)][j(0x1cc)]('Door\x20created\x20between\x20'+this['roomA']['name']+'\x20and\x20'+this[j(0x1d3)][j(0x1b7)]+j(0x1c0)+this['isLocked']);}[a47i(0x1cf)](a){var k=a47i;return this[k(0x1ce)]===a?this[k(0x1d3)]:this['roomA'];}[a47i(0x1c7)](a){var l=a47i;if(this[l(0x1ca)]&&this[l(0x1ba)]&&this[l(0x1ba)]===a)return this['isLocked']=![],this['logger']['write'](l(0x1c5)+this[l(0x1b7)]+l(0x1be)+a),!![];return this['logger'][l(0x1cc)](l(0x1c9)+this[l(0x1b7)]+l(0x1be)+a),![];}[a47i(0x1d1)](){var m=a47i;return this[m(0x1ca)];}[a47i(0x1c8)](){var n=a47i;return this[n(0x1b6)];}}
@@ -1 +1 @@
1
- const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x14e))/0x1+-parseInt(f(0x13e))/0x2*(-parseInt(f(0x141))/0x3)+parseInt(f(0x159))/0x4*(parseInt(f(0x13a))/0x5)+parseInt(f(0x132))/0x6*(parseInt(f(0x156))/0x7)+parseInt(f(0x134))/0x8+-parseInt(f(0x139))/0x9+parseInt(f(0x14f))/0xa*(-parseInt(f(0x152))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x8c4b5));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a[g(0x136)]()[g(0x14b)](g(0x147))[g(0x136)]()[g(0x138)](a48a)[g(0x14b)](g(0x147));});a48a();import{capitalCase}from'change-case';function a48c(){const q=['\x20from\x20inventory.','values','logger','getAllItems','set','(((.+)+)+)+$','Removed\x20item:\x20','name','.\x20Exists:\x20','search','keys','has','1004380bfHWYr','90oJRNTi','delete','get','2963741eDrMCb','listItems','items','\x20to\x20inventory.','602kqAXZp','addItem','\x20in\x20','249560ZJQWGN','hasItem','Checked\x20for\x20item:\x20','map','removeItem','getWeight','48642RqOXlC','.\x20Item\x20not\x20found.','3966608RAXxht','weight','toString','getItem','constructor','6426999dxahCt','60MIRnCo','write','toLowerCase','Listed\x20items\x20in\x20inventory:\x20','198EKHhgf','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','join','23259DQWVHA'];a48c=function(){return q;};return a48c();}function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x12f;let f=c[d];return f;},a48d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a48h(0x144)];constructor(){const i=a48h;super(),this[i(0x154)]=new Map(),this[i(0x144)]=Logger['getInstance']();}[a48h(0x157)](a){const j=a48h;this[j(0x154)][j(0x146)](a[j(0x149)][j(0x13c)](),a),this[j(0x144)][j(0x13b)]('Added\x20item:\x20'+a[j(0x149)]+j(0x155));}[a48h(0x130)](a){const k=a48h,b=this[k(0x137)](a);if(b)return this[k(0x154)][k(0x150)](a[k(0x13c)]()),this[k(0x144)][k(0x13b)](k(0x148)+a+k(0x142)),b;return this[k(0x144)][k(0x13b)]('Failed\x20to\x20remove\x20item:\x20'+a+k(0x133)),null;}[a48h(0x15a)](a){const l=a48h,b=this[l(0x154)][l(0x14d)](a[l(0x13c)]()),c=[...this[l(0x154)][l(0x14c)]()];return this[l(0x144)][l(0x13b)](l(0x15b)+a+l(0x158)+c['join'](',\x20')+l(0x14a)+b+'.'),b;}[a48h(0x137)](a){const m=a48h,b=this['items'][m(0x151)](a[m(0x13c)]())||null;return b?this[m(0x144)][m(0x13b)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[m(0x144)][m(0x13b)](m(0x13f)+a+m(0x133)),b;}[a48h(0x153)](){const n=a48h,a=[...this[n(0x154)][n(0x14c)]()],b=a[n(0x12f)](c=>capitalCase(c));return this[n(0x144)][n(0x13b)](n(0x13d)+b[n(0x140)](',\x20')+'.'),a;}[a48h(0x131)](){const o=a48h;let a=0x0;for(const b of this[o(0x154)][o(0x143)]()){a+=b[o(0x135)];}return a;}[a48h(0x145)](){const p=a48h;return[...this[p(0x154)][p(0x143)]()];}}
1
+ const a48h=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x191;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x1b6))/0x1*(parseInt(f(0x19b))/0x2)+parseInt(f(0x1ae))/0x3+-parseInt(f(0x198))/0x4*(parseInt(f(0x19f))/0x5)+-parseInt(f(0x1af))/0x6+-parseInt(f(0x1b7))/0x7*(parseInt(f(0x1b1))/0x8)+parseInt(f(0x1b4))/0x9*(-parseInt(f(0x1a7))/0xa)+parseInt(f(0x1a8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x2ded4));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a[g(0x1b8)]()['search'](g(0x1ab))[g(0x1b8)]()['constructor'](a48a)[g(0x195)](g(0x1ab));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a48c(){const q=['search','keys','.\x20Exists:\x20','4uHjeSA','.\x20Item\x20not\x20found.','getWeight','2ldLeFC','addItem','hasItem','join','917180eNIrYw','getItem','write','items','get','logger','set','\x20to\x20inventory.','10iLJNTV','11671583TSmEgk','values','Added\x20item:\x20','(((.+)+)+)+$','getAllItems','has','170484wmJyjX','2008020DXVoIt','getInstance','36872ejxMuY','\x20in\x20','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','2140713qHHRXx','name','52039JiCRre','343eSMGdy','toString','Checked\x20for\x20item:\x20','\x20from\x20inventory.','weight','toLowerCase','map','Listed\x20items\x20in\x20inventory:\x20','Failed\x20to\x20remove\x20item:\x20'];a48c=function(){return q;};return a48c();}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48h(0x1a2)];[a48h(0x1a4)];constructor(){const i=a48h;super(),this['items']=new Map(),this[i(0x1a4)]=Logger[i(0x1b0)]();}[a48h(0x19c)](a){const j=a48h;this[j(0x1a2)][j(0x1a5)](a[j(0x1b5)][j(0x191)](),a),this['logger']['write'](j(0x1aa)+a[j(0x1b5)]+j(0x1a6));}['removeItem'](a){const k=a48h,b=this['getItem'](a);if(b)return this['items']['delete'](a[k(0x191)]()),this[k(0x1a4)][k(0x1a1)]('Removed\x20item:\x20'+a+k(0x1ba)),b;return this[k(0x1a4)][k(0x1a1)](k(0x194)+a+k(0x199)),null;}[a48h(0x19d)](a){const l=a48h,b=this[l(0x1a2)][l(0x1ad)](a[l(0x191)]()),c=[...this['items'][l(0x196)]()];return this[l(0x1a4)][l(0x1a1)](l(0x1b9)+a+l(0x1b2)+c['join'](',\x20')+l(0x197)+b+'.'),b;}[a48h(0x1a0)](a){const m=a48h,b=this[m(0x1a2)][m(0x1a3)](a[m(0x191)]())||null;return b?this[m(0x1a4)][m(0x1a1)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[m(0x1a4)][m(0x1a1)](m(0x1b3)+a+m(0x199)),b;}['listItems'](){const n=a48h,a=[...this[n(0x1a2)][n(0x196)]()],b=a[n(0x192)](c=>capitalCase(c));return this[n(0x1a4)][n(0x1a1)](n(0x193)+b[n(0x19e)](',\x20')+'.'),a;}[a48h(0x19a)](){const o=a48h;let a=0x0;for(const b of this['items'][o(0x1a9)]()){a+=b[o(0x1bb)];}return a;}[a48h(0x1ac)](){const p=a48h;return[...this[p(0x1a2)]['values']()];}}
@@ -1 +1 @@
1
- var a49h=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1b5))/0x1+-parseInt(f(0x1b9))/0x2+parseInt(f(0x1bd))/0x3+parseInt(f(0x1b6))/0x4+parseInt(f(0x1a9))/0x5*(-parseInt(f(0x1a8))/0x6)+-parseInt(f(0x1ac))/0x7+-parseInt(f(0x1b8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xd739b));var a49b=(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;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0x1bc)]()[g(0x1b1)](g(0x1ab))[g(0x1bc)]()[g(0x1ae)](a49a)[g(0x1b1)](g(0x1ab));});function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1a6;var f=c[d];return f;},a49d(a,b);}a49a();import{v4 as a49e}from'uuid';function a49c(){var k=['448966MkCQAd','name','constructor','size','description','search','shape','use','uuid','1600256BLNHiM','4256856lucupd','category','4508824yhROgn','1686720netWfv','weight','You\x20use\x20the\x20','toString','1232718fMPweT','rating','color','texture','18VTqfpy','1204520CdXodd','.\x20Nothing\x20special\x20happens.','(((.+)+)+)+$'];a49c=function(){return k;};return a49c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49h(0x1b4)];['name'];['description'];[a49h(0x1af)];[a49h(0x1b7)];['shape'];['color'];[a49h(0x1a7)];[a49h(0x1be)];[a49h(0x1ba)];constructor(a){var i=a49h;super(),this[i(0x1ad)]=a['name'],this[i(0x1b0)]=a[i(0x1b0)],this['size']=a[i(0x1af)],this[i(0x1b7)]=a[i(0x1b7)],this[i(0x1b2)]=a[i(0x1b2)],this[i(0x1a6)]=a['color'],this[i(0x1a7)]=a[i(0x1a7)],this[i(0x1be)]=a[i(0x1be)],this[i(0x1ba)]=a[i(0x1ba)],this[i(0x1b4)]=a49e();}[a49h(0x1b3)](){var j=a49h;return j(0x1bb)+this[j(0x1ad)]+j(0x1aa);}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x138))/0x1+parseInt(f(0x133))/0x2*(-parseInt(f(0x147))/0x3)+parseInt(f(0x13f))/0x4+parseInt(f(0x13d))/0x5*(-parseInt(f(0x134))/0x6)+-parseInt(f(0x13e))/0x7+parseInt(f(0x137))/0x8*(-parseInt(f(0x130))/0x9)+parseInt(f(0x132))/0xa*(parseInt(f(0x13c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xb1270));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x143)]()[h(0x13b)](h(0x139))[h(0x143)]()['constructor'](a49a)[h(0x13b)](h(0x139));});function a49c(){var l=['6sFNYOZ','You\x20use\x20the\x20','color','5132408YxbCuW','881854DZLURT','(((.+)+)+)+$','size','search','498443hOCwsE','2431395AMfAqN','6905892rllpbt','3446400wVlgpr','rating','description','weight','toString','shape','uuid','use','33jLwzTA','apply','.\x20Nothing\x20special\x20happens.','name','category','18kxJadU','texture','440JSldyZ','46486SJMJwe'];a49c=function(){return l;};return a49c();}a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x12e;var f=c[d];return f;},a49d(a,b);}export class Item extends AbstractItem{[a49i(0x145)];[a49i(0x12e)];[a49i(0x141)];[a49i(0x13a)];[a49i(0x12f)];['shape'];['color'];[a49i(0x131)];[a49i(0x140)];['weight'];constructor(a){var j=a49i;super(),this[j(0x12e)]=a[j(0x12e)],this[j(0x141)]=a[j(0x141)],this[j(0x13a)]=a[j(0x13a)],this[j(0x12f)]=a[j(0x12f)],this[j(0x144)]=a[j(0x144)],this[j(0x136)]=a[j(0x136)],this[j(0x131)]=a[j(0x131)],this[j(0x140)]=a[j(0x140)],this[j(0x142)]=a[j(0x142)],this[j(0x145)]=a49e();}[a49i(0x146)](){var k=a49i;return k(0x135)+this[k(0x12e)]+k(0x149);}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x1fa))/0x1*(parseInt(f(0x1f6))/0x2)+parseInt(f(0x1ee))/0x3+-parseInt(f(0x1e3))/0x4*(parseInt(f(0x1f4))/0x5)+parseInt(f(0x1e5))/0x6*(-parseInt(f(0x1fb))/0x7)+-parseInt(f(0x1ed))/0x8+parseInt(f(0x1f7))/0x9+-parseInt(f(0x1e9))/0xa*(-parseInt(f(0x1f9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x616dc));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a50d(a,b);}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x1ea)]()[h(0x1e2)](h(0x1f8))['toString']()[h(0x1eb)](a50a)[h(0x1e2)]('(((.+)+)+)+$');});a50a();function a50c(){const n=['name','floor','2440555yftzks','execute','710xjOiuj','5771322beeAVP','(((.+)+)+)+$','88NlvBma','575fNKzhj','223615zXukES','search','4FMXFpc','apply','6BqzjJK','random','speak','rooms','959070fhFjNt','toString','constructor','_dialogue','3188688tIcfXU','339963ocNKpG','scene','moveTo','_name'];a50c=function(){return n;};return a50c();}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x1f1)];[a50i(0x1ec)];[a50i(0x1e8)];[a50i(0x1ef)];constructor(a,b,c,d){const j=a50i;super(d),this['_name']=a,this['_dialogue']=b,this[j(0x1e8)]=c;}get[a50i(0x1f2)](){return this['_name'];}[a50i(0x1e7)](){const k=a50i;return this[k(0x1ec)][Math['floor'](Math[k(0x1e6)]()*this['_dialogue']['length'])];}['autonomousMove'](a){const l=a50i,b=a[Math[l(0x1f3)](Math[l(0x1e6)]()*a['length'])];this[l(0x1f0)](b[l(0x1f2)]);}['moveTo'](a){const m=a50i,b={'actor':this,'rooms':this['rooms'],'scene':this[m(0x1ef)]},c=new GoCommand(b);c[m(0x1f5)]([a]);}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x1c1))/0x1+-parseInt(f(0x1c9))/0x2+-parseInt(f(0x1d2))/0x3*(parseInt(f(0x1c3))/0x4)+parseInt(f(0x1cc))/0x5*(parseInt(f(0x1d1))/0x6)+parseInt(f(0x1d4))/0x7*(-parseInt(f(0x1cd))/0x8)+-parseInt(f(0x1c6))/0x9*(parseInt(f(0x1d3))/0xa)+parseInt(f(0x1da))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xc92e4));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a50d(a,b);}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()['search'](h(0x1c2))[h(0x1c5)]()[h(0x1c8)](a50a)[h(0x1ca)]('(((.+)+)+)+$');});function a50c(){const o=['autonomousMove','6VPDqwb','3925086SLhddr','1049590AOUlEG','10196669ofwvMC','rooms','_dialogue','scene','speak','length','44419309VIgiAD','random','name','1173280iMBEMw','(((.+)+)+)+$','4PGsgmc','moveTo','toString','9PnMoVr','apply','constructor','1147826mtPnXc','search','floor','7015490BMQifa','8CxdMVp','_name','execute'];a50c=function(){return o;};return a50c();}a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x1ce)];['_dialogue'];[a50i(0x1d5)];[a50i(0x1d7)];constructor(a,b,c,d){const j=a50i;super(d),this['_name']=a,this[j(0x1d6)]=b,this['rooms']=c;}get[a50i(0x1dc)](){const k=a50i;return this[k(0x1ce)];}[a50i(0x1d8)](){const l=a50i;return this[l(0x1d6)][Math[l(0x1cb)](Math[l(0x1db)]()*this['_dialogue'][l(0x1d9)])];}[a50i(0x1d0)](a){const m=a50i,b=a[Math[m(0x1cb)](Math[m(0x1db)]()*a['length'])];this[m(0x1c4)](b[m(0x1dc)]);}[a50i(0x1c4)](a){const n=a50i,b={'actor':this,'rooms':this['rooms'],'scene':this[n(0x1d7)]},c=new GoCommand(b);c[n(0x1cf)]([a]);}}
@@ -1 +1 @@
1
- const a51h=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x68;let f=c[d];return f;},a51d(a,b);}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0xad))/0x1+parseInt(f(0xb0))/0x2*(parseInt(f(0xbb))/0x3)+parseInt(f(0x91))/0x4+parseInt(f(0xb8))/0x5+parseInt(f(0xa1))/0x6+parseInt(f(0x75))/0x7*(parseInt(f(0x87))/0x8)+-parseInt(f(0xb2))/0x9*(parseInt(f(0xb5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xae75d));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const g=a51d;return a51a['toString']()['search'](g(0xb3))['toString']()[g(0x7b)](a51a)['search'](g(0xb3));});function a51c(){const z=['startLocation','logger','You\x20don\x27t\x20have\x20','inventory','determineEquipmentSlot','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','8431272HWjjLV','hear','inventoryItems','enterRoom','arm\x20armor','category','_equipment','\x20is\x20no\x20longer\x20listeng\x20in\x20','leaveRoom','\x20from\x20player\x27s\x20inventory.','canEquip','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','591518yxwXGC','equip','Weapon','2ScePTw','_playerName','25060257FNmBGB','(((.+)+)+)+$','Shield','10pPhday','Nexus','equipment','1540445SyCFWs','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','feet','67941xSagUw','removeItem','maxCarryingWeight','Gloves','You\x20unequipped\x20','\x20says:\x20\x22','addInventory','BodyArmor','body\x20armor','currentWeight','_currentLocation','Removed\x20','Invalid\x20category\x20or\x20slot:\x20','currentLocation','hat','weapon','leftHand','legs','\x20in\x20your\x20inventory.','addItem','35yxrLej','head','speak','ArmArmor','legarmor','_inventory','constructor','helmet','toLowerCase','values','Hat','LegArmor','Max\x20carrying\x20weight\x20must\x20be\x20positive.','You\x20equipped\x20','_maxCarryingWeight','getInstance','rightHand','Failed\x20to\x20remove\x20','807632erxFqd','Added\x20','write','weight','unequip','arms','unequipBySlot','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','initialEquipment','gloves','2667304HQexNp','removeInventory','\x20slot.','hasItem','name','shield','.\x20You\x20must\x20unequip\x20it\x20first.','off','torso','Boots'];a51c=function(){return z;};return a51c();}a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51h(0xb1)];['_currentLocation'];[a51h(0x7a)];[a51h(0xa7)];[a51h(0x83)]=0x32;['logger'];constructor(a){const i=a51h;super(),this['_playerName']=a['playerName'],this['_currentLocation']=a[i(0x9b)]||new Room({'name':i(0xb6),'description':'A\x20featureless\x20room'}),this[i(0x7a)]=new Inventory(),this[i(0x9c)]=Logger[i(0x84)]();if(a?.['inventoryItems'])for(const b of a[i(0xa3)]){this[i(0x7a)][i(0x74)](b);}this['_equipment']=a?.[i(0x8f)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0x95)](){return this['_playerName'];}get[a51h(0x6e)](){const j=a51h;return this[j(0x6b)];}set[a51h(0x6e)](a){const k=a51h;this[k(0x6b)]!==a&&(this[k(0xa9)](),this[k(0xa4)](a)),this[k(0x6b)]=a;}get[a51h(0x9e)](){const l=a51h;return this[l(0x7a)];}get['equipment'](){return this['_equipment'];}set[a51h(0xb7)](a){const m=a51h;this[m(0xa7)]=a;}get['maxCarryingWeight'](){return this['_maxCarryingWeight'];}set[a51h(0xbd)](a){const n=a51h;a>0x0?this[n(0x83)]=a:console['error'](n(0x81));}get[a51h(0x6a)](){const o=a51h;let a=this[o(0x7a)]['getWeight']();for(const b in this[o(0xa7)]){const c=this[o(0xa7)][b];c&&(a+=c[o(0x8a)]);}return a;}[a51h(0xc1)](a){const p=a51h;if(this[p(0x6a)]+a[p(0x8a)]>this[p(0xbd)]){this[p(0x9c)]['write'](p(0xa0));throw new Error(p(0x8e));}this[p(0x7a)][p(0x74)](a),this['logger'][p(0x89)](p(0x88)+a[p(0x95)]+'\x20to\x20player\x27s\x20inventory.');}[a51h(0x92)](a){const q=a51h;if(this['_inventory'][q(0xbc)](a[q(0x95)]))return this[q(0x9c)][q(0x89)](q(0x6c)+a[q(0x95)]+q(0xaa)),!![];return this[q(0x9c)]['write'](q(0x86)+a[q(0x95)]+q(0xaa)),![];}[a51h(0xae)](a){const r=a51h;if(!this[r(0x7a)][r(0x94)](a[r(0x95)]))return r(0x9d)+a[r(0x95)]+r(0x73);if(!this[r(0xab)](a))return'You\x20can\x27t\x20equip\x20'+a['name']+'.';const b=this[r(0x9f)](a['category']);if(!b)return a[r(0x95)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[r(0xb7)][b])return r(0xac)+b+r(0x97);return this[r(0xb7)][b]=a,this['removeInventory'](a),r(0x82)+a[r(0x95)]+'.';}[a51h(0x8b)](a){const s=a51h;let b=a;if(!this[s(0xb7)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return s(0x6d)+a+'.';}return this[s(0x8d)](b);}['determineEquipmentSlot'](a){const t=a51h;switch(a['toLowerCase']()){case Category[t(0xaf)]['toLowerCase']():return t(0x85);case Category[t(0xb4)][t(0x7d)]():return t(0x71);case Category[t(0xbe)][t(0x7d)]():return'gloves';case Category['Helmet'][t(0x7d)]():case Category[t(0x7f)][t(0x7d)]():return t(0x76);case Category[t(0x9a)][t(0x7d)]():return t(0xba);case Category[t(0x80)][t(0x7d)]():return t(0x72);case Category[t(0x78)]['toLowerCase']():return t(0x8c);case Category[t(0x68)]['toLowerCase']():return t(0x99);case t(0x70):return'rightHand';case t(0x96):return t(0x71);case t(0x90):return t(0x90);case t(0x7c):case t(0x6f):return t(0x76);case'boots':return t(0xba);case'leg\x20armor':case t(0x79):return t(0x72);case t(0xa5):case'armarmor':return'arms';case t(0x69):case'bodyarmor':case t(0x99):return'torso';default:return null;}}[a51h(0xab)](a){const u=a51h;return Object[u(0x7e)](Category)['includes'](a[u(0xa6)]);}[a51h(0x8d)](a){const v=a51h,b=this[v(0xb7)][a];if(!b)return v(0xb9)+a+v(0x93);return this['addInventory'](b),this[v(0xb7)][a]=null,v(0xbf)+b[v(0x95)]+'.';}['hear'](a,b){const w=a51h;a!==this&&this['logger']['log'](a[w(0x95)]+w(0xc0)+b+'\x22');}[a51h(0xa4)](a){const x=a51h;this[x(0x6b)]=a,a['on'](x(0x77),this[x(0xa2)]['bind'](this)),this[x(0x9c)]['write'](this['name']+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[x(0x95)]);}[a51h(0xa9)](){const y=a51h;this['_currentLocation']&&(this[y(0x6b)][y(0x98)]('speak',this[y(0xa2)]['bind'](this)),this[y(0x9c)]['write'](this['name']+y(0xa8)+this[y(0x6b)][y(0x95)]));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x88))/0x1*(parseInt(f(0x8c))/0x2)+-parseInt(f(0xc2))/0x3+-parseInt(f(0xa2))/0x4+parseInt(f(0xd9))/0x5+parseInt(f(0x87))/0x6+-parseInt(f(0xcf))/0x7*(-parseInt(f(0xdb))/0x8)+-parseInt(f(0xcc))/0x9*(-parseInt(f(0xbc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xea6b5));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xe4)]()[h(0xe3)](h(0x9d))[h(0xe4)]()['constructor'](a51a)[h(0xe3)](h(0x9d));});a51a();function a51c(){const z=['values','_playerName','initialEquipment','ArmArmor','.\x20You\x20must\x20unequip\x20it\x20first.','3610ldNDYj','getInstance','equip','bodyarmor','maxCarryingWeight','leftHand','1105647nPrtyR','currentLocation','logger','Gloves','hear','addInventory','equipment','currentWeight','\x20says:\x20\x22','You\x20don\x27t\x20have\x20','17757lJftga','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','inventoryItems','175658vqksCl','\x20to\x20player\x27s\x20inventory.','legs','hasItem','_currentLocation','head','body\x20armor','Added\x20','feet','legarmor','6384780jHURGD','You\x20can\x27t\x20equip\x20','120YIOWuF','getWeight','Weapon','_equipment','unequipBySlot','speak','LegArmor','gloves','search','toString','1634076MizxrZ','1cfctMU','startLocation','Shield','removeInventory','173902rKmrxx','_inventory','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','torso','weight','\x20in\x20your\x20inventory.','helmet','\x20from\x20player\x27s\x20inventory.','unequip','Failed\x20to\x20remove\x20','removeItem','Removed\x20','write','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','\x20slot.','log','off','(((.+)+)+)+$','includes','canEquip','shield','BodyArmor','4889136SQWSaK','leg\x20armor','hat','You\x20equipped\x20','category','_maxCarryingWeight','arm\x20armor','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','toLowerCase','leaveRoom','determineEquipmentSlot','apply','name','inventory','boots','rightHand','addItem','Invalid\x20category\x20or\x20slot:\x20','arms','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','playerName'];a51c=function(){return z;};return a51c();}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x87;let f=c[d];return f;},a51d(a,b);}import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];['_currentLocation'];[a51i(0x8d)];['_equipment'];[a51i(0xa7)]=0x32;['logger'];constructor(a){const j=a51i;super(),this[j(0xb8)]=a[j(0xb6)],this[j(0xd3)]=a[j(0x89)]||new Room({'name':'Nexus','description':'A\x20featureless\x20room'}),this[j(0x8d)]=new Inventory(),this[j(0xc4)]=Logger[j(0xbd)]();if(a?.['inventoryItems'])for(const b of a[j(0xce)]){this[j(0x8d)][j(0xb2)](b);}this[j(0xde)]=a?.[j(0xb9)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a51i;return this[k(0xb8)];}get['currentLocation'](){return this['_currentLocation'];}set[a51i(0xc3)](a){const l=a51i;this[l(0xd3)]!==a&&(this[l(0xab)](),this['enterRoom'](a)),this[l(0xd3)]=a;}get[a51i(0xaf)](){return this['_inventory'];}get[a51i(0xc8)](){const m=a51i;return this[m(0xde)];}set[a51i(0xc8)](a){const n=a51i;this[n(0xde)]=a;}get['maxCarryingWeight'](){return this['_maxCarryingWeight'];}set[a51i(0xc0)](a){a>0x0?this['_maxCarryingWeight']=a:console['error']('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a51i(0xc9)](){const o=a51i;let a=this[o(0x8d)][o(0xdc)]();for(const b in this[o(0xde)]){const c=this['_equipment'][b];c&&(a+=c[o(0x90)]);}return a;}[a51i(0xc7)](a){const p=a51i;if(this[p(0xc9)]+a[p(0x90)]>this[p(0xc0)]){this[p(0xc4)][p(0x98)](p(0x8e));throw new Error(p(0x99));}this[p(0x8d)][p(0xb2)](a),this[p(0xc4)][p(0x98)](p(0xd6)+a[p(0xae)]+p(0xd0));}[a51i(0x8b)](a){const q=a51i;if(this['_inventory'][q(0x96)](a[q(0xae)]))return this[q(0xc4)][q(0x98)](q(0x97)+a[q(0xae)]+q(0x93)),!![];return this['logger'][q(0x98)](q(0x95)+a[q(0xae)]+q(0x93)),![];}[a51i(0xbe)](a){const r=a51i;if(!this[r(0x8d)][r(0xd2)](a[r(0xae)]))return r(0xcb)+a[r(0xae)]+r(0x91);if(!this[r(0x9f)](a))return r(0xda)+a[r(0xae)]+'.';const b=this[r(0xac)](a['category']);if(!b)return a[r(0xae)]+r(0xa9);if(this[r(0xc8)][b])return r(0xb5)+b+r(0xbb);return this[r(0xc8)][b]=a,this['removeInventory'](a),r(0xa5)+a[r(0xae)]+'.';}[a51i(0x94)](a){const s=a51i;let b=a;if(!this[s(0xc8)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return s(0xb3)+a+'.';}return this[s(0xdf)](b);}[a51i(0xac)](a){const t=a51i;switch(a[t(0xaa)]()){case Category[t(0xdd)][t(0xaa)]():return'rightHand';case Category[t(0x8a)]['toLowerCase']():return t(0xc1);case Category[t(0xc5)][t(0xaa)]():return t(0xe2);case Category['Helmet']['toLowerCase']():case Category['Hat'][t(0xaa)]():return t(0xd4);case Category['Boots'][t(0xaa)]():return t(0xd7);case Category[t(0xe1)]['toLowerCase']():return t(0xd1);case Category[t(0xba)][t(0xaa)]():return'arms';case Category[t(0xa1)][t(0xaa)]():return t(0x8f);case'weapon':return t(0xb1);case t(0xa0):return t(0xc1);case t(0xe2):return t(0xe2);case t(0x92):case t(0xa4):return'head';case t(0xb0):return'feet';case t(0xa3):case t(0xd8):return'legs';case t(0xa8):case'armarmor':return t(0xb4);case t(0xd5):case t(0xbf):case t(0x8f):return t(0x8f);default:return null;}}['canEquip'](a){const u=a51i;return Object[u(0xb7)](Category)[u(0x9e)](a[u(0xa6)]);}['unequipBySlot'](a){const v=a51i,b=this[v(0xc8)][a];if(!b)return v(0xcd)+a+v(0x9a);return this[v(0xc7)](b),this[v(0xc8)][a]=null,'You\x20unequipped\x20'+b[v(0xae)]+'.';}[a51i(0xc6)](a,b){const w=a51i;a!==this&&this[w(0xc4)][w(0x9b)](a[w(0xae)]+w(0xca)+b+'\x22');}['enterRoom'](a){const x=a51i;this[x(0xd3)]=a,a['on'](x(0xe0),this[x(0xc6)]['bind'](this)),this[x(0xc4)][x(0x98)](this['name']+'\x20is\x20now\x20listening\x20in\x20room\x20'+a['name']);}[a51i(0xab)](){const y=a51i;this['_currentLocation']&&(this['_currentLocation'][y(0x9c)](y(0xe0),this[y(0xc6)]['bind'](this)),this[y(0xc4)][y(0x98)](this[y(0xae)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[y(0xd3)]['name']));}}
@@ -1 +1 @@
1
- var a52i=a52d;function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xd5;var f=c[d];return f;},a52d(a,b);}(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xe9))/0x1+-parseInt(f(0xdf))/0x2*(-parseInt(f(0xf5))/0x3)+parseInt(f(0xeb))/0x4+-parseInt(f(0xf1))/0x5*(parseInt(f(0xe8))/0x6)+parseInt(f(0xe0))/0x7+-parseInt(f(0xea))/0x8+-parseInt(f(0xf0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x492f2));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xdd)]()[h(0xe7)](h(0xe1))[h(0xdd)]()[h(0xe3)](a52a)['search']('(((.+)+)+)+$');});a52a();import{Logger}from'../utilities/logger.js';function a52c(){var n=['6279183XhQsua','863690Fsleju','You\x20solved\x20the\x20puzzle!','failureMessage','riddle','21363uXxVlM','hasRequiredItem','Puzzle:\x20Correct\x20solution\x20provided.','solved','successMessage','solve','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','getInstance','toString','You\x20have\x20already\x20solved\x20this\x20puzzle.','6WTbptW','2336628jFapPQ','(((.+)+)+)+$','apply','constructor','requiredPhrase','write','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','search','6gOrGhF','559916kzXHSf','278856eGkeIO','1159844bKuKrC','matchesRequiredPhrase','rewardItem','logger','requiredItem'];a52c=function(){return n;};return a52c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0xee)]=Logger[a52i(0xdc)]();[a52i(0xd7)]=![];[a52i(0xef)];['requiredPhrase'];[a52i(0xf4)];[a52i(0xed)];[a52i(0xd8)];[a52i(0xf3)];constructor(a){var j=a52i;super(),this[j(0xef)]=a[j(0xef)],this[j(0xe4)]=a[j(0xe4)],this['riddle']=a[j(0xf4)],this[j(0xed)]=a[j(0xed)],this['successMessage']=a[j(0xd8)]||j(0xf2),this[j(0xf3)]=a['failureMessage']||j(0xdb);}[a52i(0xd5)](a){var k=a52i;if(this[k(0xef)])return a['hasItem'](this['requiredItem']);return![];}['matchesRequiredPhrase'](a){var l=a52i;return this[l(0xe4)]===a;}[a52i(0xd9)](a,b){var m=a52i;if(this[m(0xd7)])return this[m(0xee)][m(0xe5)](m(0xda)),{'success':![],'message':m(0xde)};return this['hasRequiredItem'](b)||this[m(0xec)](a)?(this['solved']=!![],this[m(0xee)][m(0xe5)](m(0xd6)),{'success':!![],'message':this[m(0xd8)]}):(this['logger'][m(0xe5)](m(0xe6)),{'success':![],'message':this[m(0xf3)]});}}
1
+ function a52c(){var n=['search','getInstance','logger','toString','Puzzle:\x20Correct\x20solution\x20provided.','write','riddle','(((.+)+)+)+$','16pIOyBR','30nqozSO','2136544NOkKJb','constructor','hasRequiredItem','885138ktnTAj','679568MDsfzd','6326144UlHoqL','hasItem','5500854DTdMiC','solved','successMessage','requiredPhrase','14cOUyjv','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','9ZqApHu','You\x20solved\x20the\x20puzzle!','failureMessage','615509rTfHvj','apply','requiredItem','rewardItem','4343755VstcFg','You\x20have\x20already\x20solved\x20this\x20puzzle.'];a52c=function(){return n;};return a52c();}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xbe))/0x1+-parseInt(f(0xae))/0x2+parseInt(f(0xb1))/0x3*(-parseInt(f(0xac))/0x4)+-parseInt(f(0xc2))/0x5+parseInt(f(0xb5))/0x6*(parseInt(f(0xb9))/0x7)+parseInt(f(0xb2))/0x8*(-parseInt(f(0xbb))/0x9)+-parseInt(f(0xad))/0xa*(-parseInt(f(0xb3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xed5fe));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xa7)]()[h(0xc4)](h(0xab))[h(0xa7)]()[h(0xaf)](a52a)[h(0xc4)]('(((.+)+)+)+$');});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xa5;var f=c[d];return f;},a52d(a,b);}export class Puzzle extends AbstractPuzzle{[a52i(0xa6)]=Logger[a52i(0xa5)]();[a52i(0xb6)]=![];[a52i(0xc0)];[a52i(0xb8)];[a52i(0xaa)];['rewardItem'];['successMessage'];[a52i(0xbd)];constructor(a){var j=a52i;super(),this[j(0xc0)]=a[j(0xc0)],this[j(0xb8)]=a['requiredPhrase'],this['riddle']=a[j(0xaa)],this[j(0xc1)]=a[j(0xc1)],this[j(0xb7)]=a[j(0xb7)]||j(0xbc),this[j(0xbd)]=a[j(0xbd)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a52i(0xb0)](a){var k=a52i;if(this[k(0xc0)])return a[k(0xb4)](this[k(0xc0)]);return![];}['matchesRequiredPhrase'](a){var l=a52i;return this[l(0xb8)]===a;}['solve'](a,b){var m=a52i;if(this['solved'])return this[m(0xa6)]['write']('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':m(0xc3)};return this[m(0xb0)](b)||this['matchesRequiredPhrase'](a)?(this['solved']=!![],this[m(0xa6)]['write'](m(0xa8)),{'success':!![],'message':this[m(0xb7)]}):(this['logger'][m(0xa9)](m(0xba)),{'success':![],'message':this[m(0xbd)]});}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x7b))/0x1+parseInt(f(0x8d))/0x2*(-parseInt(f(0xa4))/0x3)+parseInt(f(0xa6))/0x4*(parseInt(f(0x6f))/0x5)+-parseInt(f(0x94))/0x6*(parseInt(f(0x99))/0x7)+parseInt(f(0x87))/0x8*(-parseInt(f(0x6e))/0x9)+parseInt(f(0x9d))/0xa+parseInt(f(0x81))/0xb*(parseInt(f(0x72))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x3f82d));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x91)]()[h(0x9e)](h(0x6b))[h(0x91)]()[h(0xa7)](a53a)[h(0x9e)](h(0x6b));});a53a();import{Logger}from'../utilities/logger.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x68;let f=c[d];return f;},a53d(a,b);}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a53c(){const u=['getInstance','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','speak','getExit','692589VCNwtd','north','70492rBAJlM','constructor','\x20unlocked!','setPuzzle','inventory','Puzzle\x20set\x20for\x20room\x20','The\x20','(((.+)+)+)+$','hasItem','roomB','46485AeLtPo','45GDsDil','attemptUnlockExit','set','132QRGEvZ','NORTH','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','checkIfLocked','roomA','south','logger','\x20is\x20locked.\x20Result:\x20','west','113746rVrXWX','DOWN','Checking\x20if\x20exit\x20in\x20direction\x20','\x20remains\x20locked.','No\x20locked\x20exit\x20found\x20in\x20direction\x20','attemptUnlock','659318ulxjAW','isStartRoom','get','description','Fetching\x20exit\x20in\x20direction:\x20','INSIDE','776IEwmbw','puzzle','exits','addExit','roomType','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','2JBFOxs','name','removeItem','EAST','toString','write','say','4410ijBHIj','Item\x20added\x20to\x20room\x20','apply','Room\x20created:\x20','addItem','1113NrPBVL','findExistingDoor','getOppositeDirection','riddle','4046950MuXxFG','search','emit'];a53c=function(){return u;};return a53c();}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x78)]=Logger[a53i(0xa0)]();[a53i(0x8e)];[a53i(0x84)];['exits']=new Map();[a53i(0x8b)];[a53i(0x82)];['inventory']=new Inventory();constructor(a){const j=a53i;super(),this[j(0x8e)]=a[j(0x8e)],this['description']=a['description'],this[j(0x8b)]=a['roomType']||RoomType[j(0x86)],a[j(0x89)]&&(this[j(0x89)]=a['exits']||new Map()),a[j(0x68)]&&(this[j(0x68)]=a[j(0x68)]),a[j(0x88)]&&(this[j(0x88)]=a[j(0x88)]),this[j(0x82)]=a['isStartRoom']||![],this['logger'][j(0x92)](j(0x97)+this[j(0x8e)]);}[a53i(0x93)](a,b){const k=a53i;this[k(0x9f)](k(0xa2),a,b);}[a53i(0x8a)](a,b,c){const l=a53i;let d=this[l(0x9a)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x89)][l(0x71)](a,d),b['exits'][l(0x71)](this[l(0x9b)](a),d);}[a53i(0x70)](a,b){const m=a53i,c=this['exits'][m(0x83)](a);if(c instanceof Door){const d=c[m(0x80)](b);return this[m(0x78)][m(0x92)](m(0x74)+a+'.\x20Success:\x20'+d),d?m(0x6a)+c[m(0x8e)]+m(0xa8):m(0x6a)+c[m(0x8e)]+m(0x7e);}return this[m(0x78)][m(0x92)](m(0x7f)+a),m(0xa1);}[a53i(0xa3)](a){const n=a53i;return this[n(0x78)][n(0x92)](n(0x85)+a),this[n(0x89)]['get'](a);}['isExitLocked'](a){const o=a53i,b=this[o(0x89)][o(0x83)](a),c=b instanceof Door&&b[o(0x75)]();return this[o(0x78)][o(0x92)](o(0x7d)+a+o(0x79)+c),c;}[a53i(0x98)](a){const p=a53i;this[p(0x68)]['addItem'](a),this[p(0x78)]['write'](p(0x95)+this[p(0x8e)]+':\x20'+a[p(0x8e)]);}['removeItem'](a){const q=a53i;this[q(0x68)][q(0x6c)](a[q(0x8e)])?(this[q(0x68)][q(0x8f)](a[q(0x8e)]),this['logger'][q(0x92)]('Item\x20removed\x20from\x20room\x20'+this['name']+':\x20'+a[q(0x8e)])):this[q(0x78)][q(0x92)](q(0x8c)+this[q(0x8e)]+':\x20'+a[q(0x8e)]);}[a53i(0xa9)](a){const r=a53i;this[r(0x88)]=a,this['logger'][r(0x92)](r(0x69)+this['name']+':\x20'+a[r(0x9c)]);}[a53i(0x9b)](a){const s=a53i;switch(a){case s(0xa5):return Direction['SOUTH'];case s(0x77):return Direction[s(0x73)];case'east':return Direction['WEST'];case s(0x7a):return Direction[s(0x90)];case'up':return Direction[s(0x7c)];case'down':return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}['findExistingDoor'](a){const t=a53i;for(const b of this['exits']['values']()){if(b instanceof Door){if(b[t(0x76)]===this&&b[t(0x6d)]===a||b[t(0x6d)]===this&&b[t(0x76)]===a)return b;}}return undefined;}}
1
+ function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x7a;let f=c[d];return f;},a53d(a,b);}const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x92))/0x1+-parseInt(f(0x99))/0x2+parseInt(f(0x95))/0x3+-parseInt(f(0x96))/0x4+-parseInt(f(0xb4))/0x5*(parseInt(f(0xb5))/0x6)+parseInt(f(0x90))/0x7+parseInt(f(0x7b))/0x8*(parseInt(f(0x9a))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xbb883));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()['search'](h(0x87))['toString']()[h(0x81)](a53a)[h(0x98)](h(0x87));});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x8a)]=Logger[a53i(0x7c)]();[a53i(0xa8)];['description'];[a53i(0x9b)]=new Map();[a53i(0xaf)];['isStartRoom'];[a53i(0x7e)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0xa8)]=a[j(0xa8)],this[j(0x8c)]=a[j(0x8c)],this[j(0xaf)]=a[j(0xaf)]||RoomType[j(0x9c)],a[j(0x9b)]&&(this['exits']=a['exits']||new Map()),a['inventory']&&(this[j(0x7e)]=a['inventory']),a[j(0xb2)]&&(this[j(0xb2)]=a[j(0xb2)]),this['isStartRoom']=a[j(0x8f)]||![],this[j(0x8a)][j(0x8d)](j(0x9d)+this[j(0xa8)]);}[a53i(0xa7)](a,b){const k=a53i;this['emit'](k(0x89),a,b);}['addExit'](a,b,c){const l=a53i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x9b)][l(0xb1)](a,d),b[l(0x9b)]['set'](this[l(0xa6)](a),d);}['attemptUnlockExit'](a,b){const m=a53i,c=this['exits'][m(0xa0)](a);if(c instanceof Door){const d=c[m(0x7f)](b);return this[m(0x8a)][m(0x8d)](m(0x84)+a+m(0x7d)+d),d?m(0xab)+c[m(0xa8)]+m(0x93):m(0xab)+c[m(0xa8)]+m(0x91);}return this[m(0x8a)][m(0x8d)](m(0xa4)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}['getExit'](a){const n=a53i;return this[n(0x8a)][n(0x8d)](n(0xa1)+a),this['exits'][n(0xa0)](a);}[a53i(0x83)](a){const o=a53i,b=this['exits'][o(0xa0)](a),c=b instanceof Door&&b[o(0xa9)]();return this['logger']['write'](o(0x86)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}['addItem'](a){const p=a53i;this['inventory'][p(0xaa)](a),this['logger'][p(0x8d)](p(0xac)+this[p(0xa8)]+':\x20'+a['name']);}[a53i(0x85)](a){const q=a53i;this[q(0x7e)][q(0xae)](a['name'])?(this[q(0x7e)][q(0x85)](a[q(0xa8)]),this[q(0x8a)][q(0x8d)](q(0x80)+this[q(0xa8)]+':\x20'+a[q(0xa8)])):this['logger'][q(0x8d)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0xa8)]+':\x20'+a[q(0xa8)]);}[a53i(0xa3)](a){const r=a53i;this[r(0xb2)]=a,this[r(0x8a)][r(0x8d)](r(0x97)+this[r(0xa8)]+':\x20'+a[r(0x94)]);}[a53i(0xa6)](a){const s=a53i;switch(a){case s(0x82):return Direction[s(0x9e)];case s(0xa5):return Direction[s(0xad)];case'east':return Direction[s(0x88)];case s(0x9f):return Direction['EAST'];case'up':return Direction['DOWN'];case s(0x7a):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53i(0xb0)](a){const t=a53i;for(const b of this[t(0x9b)][t(0x8b)]()){if(b instanceof Door){if(b[t(0xa2)]===this&&b[t(0xb3)]===a||b[t(0xb3)]===this&&b['roomA']===a)return b;}}return undefined;}}function a53c(){const u=['constructor','north','isExitLocked','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','removeItem','Checking\x20if\x20exit\x20in\x20direction\x20','(((.+)+)+)+$','WEST','speak','logger','values','description','write','apply','isStartRoom','1934604iWyjyy','\x20remains\x20locked.','173156udOJYI','\x20unlocked!','riddle','3456753QQgfCd','515736iRjqWA','Puzzle\x20set\x20for\x20room\x20','search','2289656GOtAXA','36UPnZrE','exits','INSIDE','Room\x20created:\x20','SOUTH','west','get','Fetching\x20exit\x20in\x20direction:\x20','roomA','setPuzzle','No\x20locked\x20exit\x20found\x20in\x20direction\x20','south','getOppositeDirection','say','name','checkIfLocked','addItem','The\x20','Item\x20added\x20to\x20room\x20','NORTH','hasItem','roomType','findExistingDoor','set','puzzle','roomB','2685010ZGkfMy','6hFGcWY','down','2646856tCbFOC','getInstance','.\x20Success:\x20','inventory','attemptUnlock','Item\x20removed\x20from\x20room\x20'];a53c=function(){return u;};return a53c();}
@@ -1 +1 @@
1
- const a54k=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x1e8))/0x1+parseInt(i(0x1c1))/0x2*(-parseInt(i(0x1ce))/0x3)+-parseInt(i(0x1e2))/0x4*(parseInt(i(0x1d9))/0x5)+-parseInt(i(0x1db))/0x6+-parseInt(i(0x1ab))/0x7*(-parseInt(i(0x1c5))/0x8)+parseInt(i(0x1b8))/0x9+-parseInt(i(0x1f1))/0xa*(-parseInt(i(0x1da))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x97a1f));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const j=a54d;return a54a[j(0x1ad)]()[j(0x1b6)](j(0x1af))[j(0x1ad)]()['constructor'](a54a)[j(0x1b6)]('(((.+)+)+)+$');});a54a();import{Logger}from'../utilities/logger.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1a9;let f=c[d];return f;},a54d(a,b);}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a54c(){const C=['364424uKauXN','get','No\x20actor\x20with\x20name\x20','rooms','addPuzzleToRoom','values','set','removeRoom','roomFactory','3258027drisdk','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','roomConfiguration','\x22\x20does\x20not\x20exist.','Room\x20\x22','\x20not\x20found\x20in\x20scene.','from','createRoom','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','setCharacterLocation','Added\x20room\x20to\x20scene:\x20','30fdYKau','11UGusnn','1128nqWVnw','getActor','targetRoom','connectRooms','.\x20Room\x20','determineStartRoom','allActors','426588NutfGr','isStartRoom','Failed\x20to\x20add\x20item\x20','length','addItemToRoom','characterLocations','98140gOxqBB','Scene\x20initialized\x20with\x20rooms:\x20','\x27s\x20location.\x20Room\x20','currentLocation','has','delete','createExitsFromConfig','write','Actor\x20with\x20name\x20','14629390RAnrHd','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','addRoom','49GitdZN','getCharacterLocation','toString','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','(((.+)+)+)+$','addItem','join','Failed\x20to\x20add\x20puzzle.\x20Room\x20','keyRequired','\x20to\x20room\x20','\x20found\x20in\x20the\x20scene.','search','addActor','4204944ZKEpWj','player','\x20already\x20exists\x20in\x20the\x20scene.','removeActor','actors','exits','getInstance','name','logger','2muxHfq','Removed\x20room\x20from\x20scene:\x20','generateRoomsFromConfig','keys'];a54c=function(){return C;};return a54c();}export class Scene extends AbstractScene{[a54k(0x1c8)];[a54k(0x1b9)];[a54k(0x1c0)];[a54k(0x1bc)];[a54k(0x1e7)]=new Map();[a54k(0x1cd)];constructor(a){const l=a54k;super(),this[l(0x1cd)]=new RoomFactory(),this[l(0x1b9)]=a['player'],this[l(0x1c8)]=this[l(0x1c3)](a[l(0x1d0)]),this[l(0x1c0)]=Logger[l(0x1be)](),this[l(0x1bc)]=new Map(),this[l(0x1ee)](a[l(0x1d0)]),this[l(0x1c0)]['write'](l(0x1e9)+Object['keys'](this[l(0x1c8)])[l(0x1b1)](',\x20'));}['initialize'](){const m=a54k;this[m(0x1b9)][m(0x1eb)]=this[m(0x1e0)]();}['generateRoomsFromConfig'](a){const n=a54k;if(!this[n(0x1cd)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[n(0x1cd)][n(0x1d5)](c);b[c['name']]=d;}return b;}[a54k(0x1ee)](a){const o=a54k;for(const b of a){const c=this[o(0x1c8)][b[o(0x1bf)]];if(b['exits'])for(const d of b[o(0x1bd)]){const e=d['direction']['toUpperCase'](),f=d[o(0x1dd)],g=d[o(0x1b3)],h=this[o(0x1c8)][f];h&&c['addExit'](Direction[e],h,g);}}}[a54k(0x1b7)](a){const p=a54k;if(this[p(0x1bc)][p(0x1ec)](a[p(0x1bf)]))throw new Error(p(0x1f0)+a[p(0x1bf)]+p(0x1ba));this['actors'][p(0x1cb)](a[p(0x1bf)],a);}[a54k(0x1bb)](a){const q=a54k;if(!this[q(0x1bc)][q(0x1ec)](a))throw new Error(q(0x1c7)+a+q(0x1b5));this[q(0x1bc)][q(0x1ed)](a);}[a54k(0x1dc)](a){const r=a54k;return this[r(0x1bc)][r(0x1c6)](a);}get[a54k(0x1e1)](){const s=a54k;return Array[s(0x1d4)](this[s(0x1bc)][s(0x1ca)]());}[a54k(0x1aa)](a){const t=a54k;this[t(0x1c8)][a[t(0x1bf)]]=a,this['logger'][t(0x1ef)](t(0x1d8)+a[t(0x1bf)]);}[a54k(0x1cc)](a){const u=a54k;return this[u(0x1c8)][a]?(delete this[u(0x1c8)][a],this[u(0x1c0)][u(0x1ef)](u(0x1c2)+a),!![]):(this[u(0x1c0)][u(0x1ef)](u(0x1cf)+a),![]);}[a54k(0x1e6)](a,b){const v=a54k,c=this[v(0x1c8)][b];c?(c[v(0x1b0)](a),this[v(0x1c0)]['write']('Added\x20item\x20'+a['name']+v(0x1b4)+c[v(0x1bf)])):this[v(0x1c0)][v(0x1ef)](v(0x1e4)+a[v(0x1bf)]+v(0x1df)+b+v(0x1d3));}[a54k(0x1c9)](a,b){const w=a54k,c=this[w(0x1c8)][b];c?(c['setPuzzle'](a),this[w(0x1c0)][w(0x1ef)]('Added\x20puzzle\x20to\x20room\x20'+c[w(0x1bf)])):this['logger'][w(0x1ef)](w(0x1b2)+b+w(0x1d3));}[a54k(0x1d7)](a,b){const x=a54k,c=this[x(0x1c8)][b];c?(this[x(0x1e7)][x(0x1cb)](a[x(0x1bf)],c),this['logger'][x(0x1ef)](a[x(0x1bf)]+'\x20is\x20now\x20in\x20room\x20'+c[x(0x1bf)])):this[x(0x1c0)][x(0x1ef)]('Failed\x20to\x20set\x20'+a['name']+x(0x1ea)+b+x(0x1d3));}[a54k(0x1ac)](a){const y=a54k;return this[y(0x1e7)]['get'](a[y(0x1bf)]);}[a54k(0x1e0)](){const z=a54k,a=[];for(const c in this[z(0x1c8)]){if(this['rooms']['hasOwnProperty'](c)){const d=this[z(0x1c8)][c];d[z(0x1e3)]&&a['push'](d);}}if(a[z(0x1e5)]>0x1)throw new Error(z(0x1a9));if(a[z(0x1e5)]===0x1)return a[0x0];const b=Object[z(0x1c4)](this[z(0x1c8)]);if(b[z(0x1e5)]===0x0)throw new Error(z(0x1ae));return console['warn'](z(0x1d6)),this[z(0x1c8)][b[0x0]];}['getPlayer'](){return this['player'];}['getRooms'](){const A=a54k;return this[A(0x1c8)];}[a54k(0x1de)](a,b,c,d){const B=a54k,e=this[B(0x1c8)][a],f=this[B(0x1c8)][c];if(!e)throw new Error(B(0x1d2)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(B(0x1d2)+c+B(0x1d1));e['addExit'](b,f,d);}}
1
+ const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x19c))/0x1*(-parseInt(i(0x19f))/0x2)+parseInt(i(0x1ac))/0x3+-parseInt(i(0x1b7))/0x4*(-parseInt(i(0x19a))/0x5)+-parseInt(i(0x1bf))/0x6+parseInt(i(0x19e))/0x7*(parseInt(i(0x1d9))/0x8)+parseInt(i(0x1bd))/0x9+-parseInt(i(0x1c5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x2ebde));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x1a1)]()[k(0x1af)](k(0x195))[k(0x1a1)]()[k(0x1ba)](a54a)[k(0x1af)](k(0x195));});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x192;let f=c[d];return f;},a54d(a,b);}export class Scene extends AbstractScene{[a54l(0x1cb)];['player'];[a54l(0x1b9)];[a54l(0x1d3)];['characterLocations']=new Map();[a54l(0x1c3)];constructor(a){const m=a54l;super(),this[m(0x1c3)]=new RoomFactory(),this[m(0x1a3)]=a[m(0x1a3)],this['rooms']=this[m(0x1cf)](a[m(0x1c2)]),this[m(0x1b9)]=Logger['getInstance'](),this[m(0x1d3)]=new Map(),this['createExitsFromConfig'](a[m(0x1c2)]),this[m(0x1b9)][m(0x1c6)](m(0x196)+Object[m(0x1a8)](this[m(0x1cb)])[m(0x1b2)](',\x20'));}['initialize'](){const n=a54l;this[n(0x1a3)][n(0x1c8)]=this[n(0x1ae)]();}[a54l(0x1cf)](a){const o=a54l;if(!this[o(0x1c3)])throw new Error(o(0x1c7));const b={};for(const c of a){const d=this['roomFactory']['createRoom'](c);b[c[o(0x1c1)]]=d;}return b;}[a54l(0x1a0)](a){const p=a54l;for(const b of a){const c=this['rooms'][b[p(0x1c1)]];if(b[p(0x1d6)])for(const d of b[p(0x1d6)]){const e=d['direction']['toUpperCase'](),f=d[p(0x1a4)],g=d[p(0x1a5)],h=this[p(0x1cb)][f];h&&c[p(0x1b1)](Direction[e],h,g);}}}[a54l(0x1d7)](a){const q=a54l;if(this[q(0x1d3)][q(0x1d2)](a[q(0x1c1)]))throw new Error(q(0x1ad)+a[q(0x1c1)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x1d3)][q(0x1c9)](a[q(0x1c1)],a);}[a54l(0x1d4)](a){const r=a54l;if(!this[r(0x1d3)]['has'](a))throw new Error(r(0x198)+a+'\x20found\x20in\x20the\x20scene.');this[r(0x1d3)][r(0x192)](a);}['getActor'](a){const s=a54l;return this[s(0x1d3)]['get'](a);}get[a54l(0x197)](){const t=a54l;return Array[t(0x1d5)](this[t(0x1d3)][t(0x1cc)]());}[a54l(0x19d)](a){const u=a54l;this[u(0x1cb)][a[u(0x1c1)]]=a,this[u(0x1b9)][u(0x1c6)](u(0x1aa)+a['name']);}[a54l(0x1be)](a){const v=a54l;return this[v(0x1cb)][a]?(delete this[v(0x1cb)][a],this[v(0x1b9)][v(0x1c6)](v(0x1a2)+a),!![]):(this['logger'][v(0x1c6)](v(0x193)+a),![]);}[a54l(0x1cd)](a,b){const w=a54l,c=this[w(0x1cb)][b];c?(c[w(0x1bb)](a),this[w(0x1b9)]['write']('Added\x20item\x20'+a[w(0x1c1)]+w(0x1d0)+c[w(0x1c1)])):this[w(0x1b9)][w(0x1c6)]('Failed\x20to\x20add\x20item\x20'+a[w(0x1c1)]+'.\x20Room\x20'+b+w(0x1ab));}[a54l(0x1b8)](a,b){const x=a54l,c=this[x(0x1cb)][b];c?(c[x(0x194)](a),this[x(0x1b9)]['write']('Added\x20puzzle\x20to\x20room\x20'+c[x(0x1c1)])):this[x(0x1b9)][x(0x1c6)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+x(0x1ab));}[a54l(0x1b4)](a,b){const y=a54l,c=this[y(0x1cb)][b];c?(this[y(0x1da)][y(0x1c9)](a['name'],c),this[y(0x1b9)]['write'](a[y(0x1c1)]+y(0x1ca)+c[y(0x1c1)])):this['logger']['write']('Failed\x20to\x20set\x20'+a[y(0x1c1)]+y(0x1a7)+b+y(0x1ab));}[a54l(0x1c4)](a){const z=a54l;return this[z(0x1da)][z(0x19b)](a['name']);}[a54l(0x1ae)](){const A=a54l,a=[];for(const c in this[A(0x1cb)]){if(this[A(0x1cb)][A(0x1a9)](c)){const d=this['rooms'][c];d['isStartRoom']&&a['push'](d);}}if(a[A(0x1c0)]>0x1)throw new Error(A(0x1a6));if(a[A(0x1c0)]===0x1)return a[0x0];const b=Object[A(0x1a8)](this['rooms']);if(b[A(0x1c0)]===0x0)throw new Error(A(0x1bc));return console[A(0x1b5)](A(0x1b0)),this['rooms'][b[0x0]];}[a54l(0x1b3)](){const B=a54l;return this[B(0x1a3)];}[a54l(0x1d8)](){const C=a54l;return this[C(0x1cb)];}[a54l(0x1b6)](a,b,c,d){const D=a54l,e=this[D(0x1cb)][a],f=this[D(0x1cb)][c];if(!e)throw new Error('Room\x20\x22'+a+D(0x1d1));if(!f)throw new Error(D(0x199)+c+D(0x1d1));e[D(0x1b1)](b,f,d);}}function a54c(){const E=['characterLocations','delete','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','setPuzzle','(((.+)+)+)+$','Scene\x20initialized\x20with\x20rooms:\x20','allActors','No\x20actor\x20with\x20name\x20','Room\x20\x22','1570095yEBcES','get','1hckaso','addRoom','1708JkZERJ','240058zlrKIK','createExitsFromConfig','toString','Removed\x20room\x20from\x20scene:\x20','player','targetRoom','keyRequired','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','\x27s\x20location.\x20Room\x20','keys','hasOwnProperty','Added\x20room\x20to\x20scene:\x20','\x20not\x20found\x20in\x20scene.','309831uoCRRD','Actor\x20with\x20name\x20','determineStartRoom','search','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','addExit','join','getPlayer','setCharacterLocation','warn','connectRooms','4pCieVF','addPuzzleToRoom','logger','constructor','addItem','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','647145fExDCj','removeRoom','1722132RgxoKs','length','name','roomConfiguration','roomFactory','getCharacterLocation','2866700MdSKmE','write','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','currentLocation','set','\x20is\x20now\x20in\x20room\x20','rooms','values','addItemToRoom','apply','generateRoomsFromConfig','\x20to\x20room\x20','\x22\x20does\x20not\x20exist.','has','actors','removeActor','from','exits','addActor','getRooms','5112mqMzab'];a54c=function(){return E;};return a54c();}
@@ -1 +1 @@
1
- var a55j=a55d;function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x173;var f=c[d];return f;},a55d(a,b);}(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x17b))/0x1*(-parseInt(f(0x19f))/0x2)+-parseInt(f(0x19e))/0x3*(parseInt(f(0x188))/0x4)+-parseInt(f(0x184))/0x5*(parseInt(f(0x195))/0x6)+-parseInt(f(0x18c))/0x7+parseInt(f(0x18b))/0x8*(-parseInt(f(0x186))/0x9)+parseInt(f(0x194))/0xa*(-parseInt(f(0x197))/0xb)+parseInt(f(0x1a7))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x30fd9));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x179)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x1a3)]()[h(0x19d)](h(0x189))[h(0x1a3)]()[h(0x1a0)](a55a)['search'](h(0x189));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size[i(0x1a2)],'category':Category[i(0x17e)],'shape':Shape['Rectangle'],'color':Color[i(0x190)],'texture':Texture['Smooth'],'rating':Rating[i(0x180)],'weight':0x1});}[a55j(0x17a)](){var k=a55j;return this[k(0x182)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size[l(0x1a2)],'category':Category[l(0x18f)],'shape':Shape[l(0x193)],'color':Color[l(0x18d)],'texture':Texture[l(0x177)],'rating':Rating[l(0x180)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0x196)],'category':Category['Weapon'],'shape':Shape[m(0x17d)],'color':Color[m(0x18a)],'texture':Texture[m(0x177)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x1a2)],'category':Category['Helmet'],'shape':Shape['Circle'],'color':Color[n(0x18d)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size[o(0x196)],'category':Category['BodyArmor'],'shape':Shape[o(0x1a1)],'color':Color['Grey'],'texture':Texture[o(0x177)],'rating':Rating[o(0x180)],'weight':0xa});}}function a55c(){var E=['toString','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Key','publishDate','15362220fKCVuC','Unknown\x20Author','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Sniper\x20Rifle','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Book','Cup','Metallic','name','apply','use','380395thDvQN','Gloves','Rifle','Unknown','Circle','Common','ArmArmor','description','\x20aloft,\x20feeling\x20its\x20immense\x20power.','65akxCgN','LegArmor','9LYWTbK','pageCount','4sPWkna','(((.+)+)+)+$','Brown','536072SSlbCU','481159YQdSvU','Grey','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Weapon','Yellow','Gold','Holy\x20Grail','Blade','530UVcfgH','104298FwKJeu','Large','56397rDTfIg','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Smooth','Small','author','search','197007CNoinq','2DNFqQI','constructor','Rectangle','Medium'];a55c=function(){return E;};return a55c();}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[p(0x185)],'shape':Shape[p(0x1a1)],'color':Color[p(0x18d)],'texture':Texture['Metallic'],'rating':Rating[p(0x180)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x1a2)],'category':Category['Boots'],'shape':Shape[q(0x17f)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating[q(0x180)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x19b)],'category':Category[r(0x17c)],'shape':Shape[r(0x17f)],'color':Color[r(0x18a)],'texture':Texture['Smooth'],'rating':Rating[r(0x180)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[s(0x181)],'shape':Shape['Rectangle'],'color':Color[s(0x18d)],'texture':Texture[s(0x177)],'rating':Rating[s(0x180)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category[t(0x1a5)],'shape':Shape[t(0x1a1)],'color':Color[t(0x190)],'texture':Texture[t(0x19a)],'rating':Rating[t(0x180)],'weight':0x0});}[a55j(0x17a)](){var u=a55j;return u(0x1a4);}}export class Weapon extends Item{constructor(a,b){var v=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Weapon'],'shape':Shape['Blade'],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[v(0x180)],'weight':0x3});}['use'](){var w=a55j;return w(0x1a9);}}export class Book extends Item{['author'];[a55j(0x1a6)];['pageCount'];constructor(a,b='A\x20mysterious\x20book.',c=a55j(0x1a8)){var x=a55j;super({'name':a,'description':b,'size':Size[x(0x1a2)],'category':Category[x(0x175)],'shape':Shape[x(0x1a1)],'color':Color[x(0x18a)],'texture':Texture['Smooth'],'rating':Rating[x(0x180)],'weight':0x1}),this[x(0x19c)]=c,this[x(0x1a6)]=new Date(),this[x(0x187)]=0x64;}[a55j(0x17a)](){var y=a55j;return y(0x198);}}export class ShortSword extends Item{constructor(){var z=a55j;super({'name':'Short\x20Sword','description':z(0x174),'size':Size['Medium'],'category':Category[z(0x18f)],'shape':Shape[z(0x193)],'color':Color[z(0x18d)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}['use'](){var A=a55j;return A(0x1a9);}}export class SniperRifle extends Item{constructor(){var B=a55j;super({'name':B(0x173),'description':B(0x18e),'size':Size[B(0x196)],'category':Category['Weapon'],'shape':Shape[B(0x17d)],'color':Color[B(0x18a)],'texture':Texture[B(0x19a)],'rating':Rating[B(0x180)],'weight':0x5});}['use'](){return'You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22';}}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':C(0x192),'description':C(0x199),'size':Size['Small'],'category':Category[C(0x176)],'shape':Shape[C(0x17f)],'color':Color[C(0x191)],'texture':Texture['Metallic'],'rating':Rating['Legendary'],'weight':0x1});}[a55j(0x17a)](){var D=a55j;return'You\x20hold\x20the\x20'+this[D(0x178)]+D(0x183);}}
1
+ var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x17d))/0x1*(-parseInt(f(0x1b3))/0x2)+-parseInt(f(0x19f))/0x3+-parseInt(f(0x1a9))/0x4*(parseInt(f(0x17f))/0x5)+parseInt(f(0x18e))/0x6*(-parseInt(f(0x19d))/0x7)+-parseInt(f(0x190))/0x8+-parseInt(f(0x188))/0x9*(parseInt(f(0x1b0))/0xa)+parseInt(f(0x1b2))/0xb*(parseInt(f(0x195))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x4c3f9));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x191)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x1a4)]()[h(0x185)](h(0x19e))['toString']()[h(0x1ac)](a55a)[h(0x185)](h(0x19e));});a55a();function a55c(){var F=['You\x20hold\x20the\x20','description','author','use','toString','Large','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Rectangle','Unknown\x20Author','2388jIKiGH','LegArmor','Small','constructor','Common','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Cup','1874570LLVRNi','Circle','11uPvDOF','19954pznLxV','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Unknown','48gFoNet','Helmet','4330gBtSHG','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Tiny','ArmArmor','Yellow','Book','search','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Short\x20Sword','9ToOKdK','Smooth','Holy\x20Grail','Grey','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Brown','6tEAcKT','pageCount','2505104YYrPUl','apply','Rifle','name','Sniper\x20Rifle','18554388wEgdAM','Medium','Gold','Metallic','BodyArmor','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Weapon','Blade','3549497InmimV','(((.+)+)+)+$','564342YgLOVl'];a55c=function(){return F;};return a55c();}import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[i(0x17c)],'shape':Shape[i(0x1a7)],'color':Color[i(0x183)],'texture':Texture[i(0x189)],'rating':Rating[i(0x1ad)],'weight':0x1});}[a55j(0x1a3)](){var k=a55j;return this[k(0x1a1)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size[l(0x196)],'category':Category[l(0x19b)],'shape':Shape['Blade'],'color':Color[l(0x18b)],'texture':Texture['Metallic'],'rating':Rating[l(0x1ad)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0x1a5)],'category':Category['Weapon'],'shape':Shape['Rifle'],'color':Color[m(0x18d)],'texture':Texture[m(0x198)],'rating':Rating['Rare'],'weight':0x7});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x17b;var f=c[d];return f;},a55d(a,b);}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x196)],'category':Category[n(0x17e)],'shape':Shape[n(0x1b1)],'color':Color[n(0x18b)],'texture':Texture[n(0x198)],'rating':Rating[n(0x1ad)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[o(0x199)],'shape':Shape[o(0x1a7)],'color':Color[o(0x18b)],'texture':Texture[o(0x198)],'rating':Rating[o(0x1ad)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[p(0x1aa)],'shape':Shape[p(0x1a7)],'color':Color[p(0x18b)],'texture':Texture[p(0x198)],'rating':Rating[p(0x1ad)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x196)],'category':Category['Boots'],'shape':Shape[q(0x1b1)],'color':Color[q(0x18d)],'texture':Texture['Smooth'],'rating':Rating[q(0x1ad)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x1ab)],'category':Category['Gloves'],'shape':Shape['Circle'],'color':Color[r(0x18d)],'texture':Texture[r(0x189)],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[s(0x182)],'shape':Shape[s(0x1a7)],'color':Color[s(0x18b)],'texture':Texture[s(0x198)],'rating':Rating[s(0x1ad)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x181)],'category':Category['Key'],'shape':Shape[t(0x1a7)],'color':Color[t(0x183)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x0});}[a55j(0x1a3)](){var u=a55j;return u(0x19a);}}export class Weapon extends Item{constructor(a,b){var v=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[v(0x19b)],'shape':Shape[v(0x19c)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[v(0x1ad)],'weight':0x3});}[a55j(0x1a3)](){var w=a55j;return w(0x1ae);}}export class Book extends Item{['author'];['publishDate'];[a55j(0x18f)];constructor(a,b='A\x20mysterious\x20book.',c=a55j(0x1a8)){var x=a55j;super({'name':a,'description':b,'size':Size[x(0x196)],'category':Category[x(0x184)],'shape':Shape['Rectangle'],'color':Color[x(0x18d)],'texture':Texture[x(0x189)],'rating':Rating[x(0x1ad)],'weight':0x1}),this[x(0x1a2)]=c,this['publishDate']=new Date(),this[x(0x18f)]=0x64;}[a55j(0x1a3)](){var y=a55j;return y(0x186);}}export class ShortSword extends Item{constructor(){var z=a55j;super({'name':z(0x187),'description':z(0x180),'size':Size[z(0x196)],'category':Category[z(0x19b)],'shape':Shape[z(0x19c)],'color':Color[z(0x18b)],'texture':Texture[z(0x198)],'rating':Rating[z(0x1ad)],'weight':0x3});}[a55j(0x1a3)](){var A=a55j;return A(0x1ae);}}export class SniperRifle extends Item{constructor(){var B=a55j;super({'name':B(0x194),'description':B(0x18c),'size':Size[B(0x1a5)],'category':Category['Weapon'],'shape':Shape[B(0x192)],'color':Color[B(0x18d)],'texture':Texture[B(0x189)],'rating':Rating[B(0x1ad)],'weight':0x5});}[a55j(0x1a3)](){var C=a55j;return C(0x1a6);}}export class HolyGrail extends Item{constructor(){var D=a55j;super({'name':D(0x18a),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[D(0x1ab)],'category':Category[D(0x1af)],'shape':Shape[D(0x1b1)],'color':Color[D(0x197)],'texture':Texture[D(0x198)],'rating':Rating['Legendary'],'weight':0x1});}[a55j(0x1a3)](){var E=a55j;return E(0x1a0)+this[E(0x193)]+E(0x17b);}}