@maka/maka-cli 4.8.13 → 4.8.14

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 (148) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/undo.js +1 -0
  96. package/bundle/obf/src/commands/version.js +1 -1
  97. package/bundle/obf/src/error.js +1 -1
  98. package/bundle/obf/src/exec.js +1 -1
  99. package/bundle/obf/src/generator.js +1 -1
  100. package/bundle/obf/src/generators/_index.js +1 -1
  101. package/bundle/obf/src/generators/api.js +1 -1
  102. package/bundle/obf/src/generators/collection.js +1 -1
  103. package/bundle/obf/src/generators/component.js +1 -1
  104. package/bundle/obf/src/generators/config.js +1 -1
  105. package/bundle/obf/src/generators/dbc.js +1 -1
  106. package/bundle/obf/src/generators/dockerfile.js +1 -1
  107. package/bundle/obf/src/generators/hook.js +1 -1
  108. package/bundle/obf/src/generators/kits/_index.js +1 -1
  109. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  111. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  112. package/bundle/obf/src/generators/kits/kit.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  115. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  116. package/bundle/obf/src/generators/layout.js +1 -1
  117. package/bundle/obf/src/generators/maka.gen.js +1 -1
  118. package/bundle/obf/src/generators/methods.js +1 -1
  119. package/bundle/obf/src/generators/package.js +1 -1
  120. package/bundle/obf/src/generators/page.js +1 -1
  121. package/bundle/obf/src/generators/publish.js +1 -1
  122. package/bundle/obf/src/generators/route.js +1 -1
  123. package/bundle/obf/src/generators/service.js +1 -1
  124. package/bundle/obf/src/generators/services/_index.js +1 -1
  125. package/bundle/obf/src/generators/services/openssl.js +1 -1
  126. package/bundle/obf/src/generators/services/translation.js +1 -1
  127. package/bundle/obf/src/maka.js +1 -1
  128. package/bundle/obf/src/templates/meteor/project/package.json +1 -1
  129. package/bundle/obf/src/tool.js +1 -1
  130. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  132. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  134. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  136. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  137. package/bundle/obf/src/tools/https/https.class.js +1 -1
  138. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  139. package/bundle/obf/src/tools/log/log.class.js +1 -1
  140. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  141. package/bundle/obf/src/tools/options/options.class.js +1 -1
  142. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  144. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  146. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  148. package/package.json +1 -1
@@ -1 +1 @@
1
- const a37h=a37d;function a37c(){const j=['join','constructor','currentLocation','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','480kLnDVt','name','27908XeBDBo','(((.+)+)+)+$','actor','371660mlppck','114800kASqcE','logger','description','verb','24YNDWzP','1410GbCpIW','718710tPOjwF','length','listItems','write','41944HVVnZJ','SearchCommand:\x20','execute','27459XXMOna','toString','You\x20search\x20the\x20area\x20and\x20find:\x20','Search\x20for\x20items\x20in\x20your\x20area','226097QxmfAb'];a37c=function(){return j;};return a37c();}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x1fb))/0x1+parseInt(f(0x202))/0x2*(parseInt(f(0x1ee))/0x3)+-parseInt(f(0x206))/0x4+-parseInt(f(0x205))/0x5+-parseInt(f(0x1f0))/0x6+-parseInt(f(0x1f4))/0x7*(parseInt(f(0x200))/0x8)+parseInt(f(0x1f7))/0x9*(parseInt(f(0x1ef))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x2d4ef));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(0x1f8)]()['search'](g(0x203))[g(0x1f8)]()[g(0x1fd)](a37a)['search']('(((.+)+)+)+$');});a37a();function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1ec;let f=c[d];return f;},a37d(a,b);}import{Command}from'./command.js';export class SearchCommand extends Command{static [a37h(0x1ed)]='search';static [a37h(0x1ec)]=a37h(0x1fa);[a37h(0x1f6)](){const i=a37h,a=this[i(0x204)][i(0x1fe)]['inventory'][i(0x1f2)]();if(a[i(0x1f1)]===0x0)return this[i(0x207)][i(0x1f3)]('SearchCommand:\x20'+this[i(0x204)][i(0x201)]+i(0x1ff)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[i(0x1fc)](',\x20');return this[i(0x207)][i(0x1f3)](i(0x1f5)+this[i(0x204)][i(0x201)]+'\x20found\x20the\x20following\x20items:\x20'+b),i(0x1f9)+b;}}
1
+ const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0xa5))/0x1+-parseInt(f(0x8d))/0x2*(parseInt(f(0x93))/0x3)+-parseInt(f(0xa4))/0x4+parseInt(f(0x9f))/0x5*(parseInt(f(0x9a))/0x6)+-parseInt(f(0x9c))/0x7*(parseInt(f(0x8f))/0x8)+parseInt(f(0x96))/0x9+parseInt(f(0x8e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xdd3ad));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x8d;let f=c[d];return f;},a37d(a,b);}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(0x99)]()[g(0x95)](g(0xa0))['toString']()['constructor'](a37a)['search'](g(0xa0));});a37a();function a37c(){const j=['You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','toString','5363922CNVfRP','SearchCommand:\x20','287zbySJO','join','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','5TJbQXj','(((.+)+)+)+$','verb','Search\x20for\x20items\x20in\x20your\x20area','execute','5945444QtdbdD','477063jovkOs','You\x20search\x20the\x20area\x20and\x20find:\x20','description','78LoEIcc','28515390dkwWCS','11576RpGjKb','name','actor','length','110535mympOm','inventory','search','5583033ysZYCe','write'];a37c=function(){return j;};return a37c();}import{Command}from'./command.js';export class SearchCommand extends Command{static [a37h(0xa1)]=a37h(0x95);static [a37h(0xa7)]=a37h(0xa2);[a37h(0xa3)](){const i=a37h,a=this['actor']['currentLocation'][i(0x94)]['listItems']();if(a[i(0x92)]===0x0)return this['logger'][i(0x97)](i(0x9b)+this['actor'][i(0x90)]+i(0x9e)),i(0x98);const b=a[i(0x9d)](',\x20');return this['logger'][i(0x97)](i(0x9b)+this[i(0x91)][i(0x90)]+'\x20found\x20the\x20following\x20items:\x20'+b),i(0xa6)+b;}}
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x141))/0x1*(-parseInt(f(0x145))/0x2)+-parseInt(f(0x14a))/0x3+-parseInt(f(0x149))/0x4+-parseInt(f(0x14b))/0x5*(parseInt(f(0x154))/0x6)+-parseInt(f(0x13e))/0x7*(-parseInt(f(0x13c))/0x8)+-parseInt(f(0x153))/0x9+parseInt(f(0x13f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x41003));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x14f)]()[h(0x143)](h(0x13a))['toString']()['constructor'](a38a)[h(0x143)]('(((.+)+)+)+$');});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x139;let f=c[d];return f;},a38d(a,b);}function a38c(){const k=['description','469072rkGEYe','1179255tCWPLw','295vnRnYi','toLowerCase','solve','actor','toString','apply','puzzle','currentLocation','3345381cePeDa','15222SoGJkO','execute','(((.+)+)+)+$','SolveCommand:\x20','1469696mFmXIc','rewardItem','7egGDwA','8330020EsxqJS','logger','259GXwubJ','inventory','search','write','2172NXCzXX','Attempt\x20to\x20solve\x20a\x20puzzle.','message'];a38c=function(){return k;};return a38c();}import{Command}from'./command.js';export class SolveCommand extends Command{static ['verb']='solve';static [a38i(0x148)]=a38i(0x146);[a38i(0x139)](a){const j=a38i,b=a['join']('\x20')[j(0x14c)](),c=this['actor'][j(0x152)];if(!c||!c[j(0x151)])return this[j(0x140)][j(0x144)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c['puzzle'][j(0x14d)](b,this['actor'][j(0x142)]);return d['success']&&c[j(0x151)][j(0x13d)]&&this[j(0x14e)]['inventory']['addItem'](c[j(0x151)][j(0x13d)]),this[j(0x140)][j(0x144)](j(0x13b)+d['message']),d[j(0x147)];}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x107))/0x1+parseInt(f(0xfc))/0x2*(-parseInt(f(0x10e))/0x3)+-parseInt(f(0x100))/0x4*(-parseInt(f(0x117))/0x5)+parseInt(f(0x108))/0x6+parseInt(f(0x102))/0x7+-parseInt(f(0x116))/0x8*(parseInt(f(0x10c))/0x9)+parseInt(f(0x10b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xa1f00));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xfb;let f=c[d];return f;},a38d(a,b);}function a38c(){const k=['25POMaTl','Attempt\x20to\x20solve\x20a\x20puzzle.','search','810274udmqTp','rewardItem','constructor','SolveCommand:\x20','353332ocIqFr','puzzle','4916737ogLQxd','actor','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','write','currentLocation','42772aQFgcS','2951616moaXoK','apply','join','36950UqvWZL','126uvgKxA','logger','3WGvCJY','toLowerCase','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','addItem','(((.+)+)+)+$','description','solve','inventory','350872pzgCpp'];a38c=function(){return k;};return a38c();}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x109)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0xfb)](h(0x112))['toString']()[h(0xfe)](a38a)[h(0xfb)](h(0x112));});a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static ['verb']='solve';static [a38i(0x113)]=a38i(0x118);['execute'](a){const j=a38i,b=a[j(0x10a)]('\x20')[j(0x10f)](),c=this[j(0x103)][j(0x106)];if(!c||!c[j(0x101)])return this[j(0x10d)]['write'](j(0x104)),j(0x110);const d=c['puzzle'][j(0x114)](b,this[j(0x103)]['inventory']);return d['success']&&c[j(0x101)]['rewardItem']&&this[j(0x103)][j(0x115)][j(0x111)](c['puzzle'][j(0xfd)]),this[j(0x10d)][j(0x105)](j(0xff)+d['message']),d['message'];}}
@@ -1 +1 @@
1
- const a39i=a39d;function a39c(){const l=['There\x20is\x20no\x20item\x20\x22','take','logger','5hUVSxo','Pick\x20up\x20an\x20item.','Successfully\x20removed\x20\x22','1220RSrkhW','\x22\x20from\x20','hasItem','\x22\x20not\x20retrieved\x20from\x20','The\x20item\x20\x22','1284318tZFfub','inventory','Successfully\x20added\x20\x22','\x22\x20not\x20found\x20in\x20','message','7398KoovsV','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','verb','855372NHhQUk','2872QvZLXi','addInventory','write','788665CdEIIo','3036ooaElj','(((.+)+)+)+$','9053Frytoe','join','getItem','constructor','name','Item\x20\x22','description','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x22\x20in\x20this\x20room.','actor','search','921486QWttzq','apply','currentLocation','toString','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','290OHjsGa','Error\x20during\x20\x27Take\x27\x20command:\x20'];a39c=function(){return l;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x100;let f=c[d];return f;},a39d(a,b);}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x119))/0x1+-parseInt(f(0x127))/0x2+parseInt(f(0x11a))/0x3*(parseInt(f(0x108))/0x4)+parseInt(f(0x105))/0x5*(parseInt(f(0x10d))/0x6)+parseInt(f(0x115))/0x7+-parseInt(f(0x116))/0x8*(parseInt(f(0x112))/0x9)+-parseInt(f(0x100))/0xa*(parseInt(f(0x11c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x9fa2a));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x12a)]()[h(0x126)](h(0x11b))[h(0x12a)]()[h(0x11f)](a39a)[h(0x126)]('(((.+)+)+)+$');});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0x114)]=a39i(0x103);static [a39i(0x122)]=a39i(0x106);['execute'](a){const j=a39i;return this[j(0x104)][j(0x118)](j(0x113)+a[j(0x11d)]('\x20')),this['take'](a);}[a39i(0x103)](a){const k=a39i,b=a[k(0x11d)]('\x20')['toLowerCase'](),c=this[k(0x125)][k(0x129)];if(!c['inventory'][k(0x10a)](b))return this[k(0x104)][k(0x118)](k(0x121)+b+k(0x110)+c[k(0x120)]+'\x20during\x20\x27Take\x27\x20command.'),k(0x102)+b+k(0x124);const d=c['inventory'][k(0x11e)](b);if(!d)return this['logger'][k(0x118)](k(0x121)+b+k(0x10b)+c[k(0x120)]+k(0x12b)),k(0x102)+b+k(0x124);try{return this[k(0x125)][k(0x117)](d),this[k(0x104)][k(0x118)](k(0x10f)+b+'\x22\x20to\x20'+this['actor']['name']+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0x10e)]['removeItem'](b),this[k(0x104)][k(0x118)](k(0x107)+b+k(0x109)+c['name']+k(0x12b)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this[k(0x104)][k(0x118)](k(0x101)+e[k(0x111)]),k(0x10c)+b+k(0x123);}}}
1
+ const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0xa0))/0x1+-parseInt(f(0x9d))/0x2+parseInt(f(0x9b))/0x3+parseInt(f(0xae))/0x4*(parseInt(f(0x97))/0x5)+parseInt(f(0xab))/0x6+-parseInt(f(0x95))/0x7*(-parseInt(f(0xb0))/0x8)+-parseInt(f(0x87))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x665a7));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x86)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x88)]()[h(0x83)](h(0x85))[h(0x88)]()[h(0xa5)](a39a)[h(0x83)](h(0x85));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x82;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0xa6)]='take';static [a39i(0x8c)]=a39i(0x84);[a39i(0xaf)](a){const j=a39i;return this[j(0x9f)][j(0x99)](j(0x8e)+a[j(0x9e)]('\x20')),this[j(0x91)](a);}[a39i(0x91)](a){const k=a39i,b=a[k(0x9e)]('\x20')[k(0x8a)](),c=this[k(0xa7)][k(0x98)];if(!c[k(0xad)][k(0x8d)](b))return this[k(0x9f)][k(0x99)](k(0x89)+b+k(0x9a)+c[k(0xa3)]+k(0xa8)),k(0xa1)+b+'\x22\x20in\x20this\x20room.';const d=c[k(0xad)][k(0x8b)](b);if(!d)return this[k(0x9f)]['write'](k(0x89)+b+k(0xaa)+c[k(0xa3)]+k(0x9c)),k(0xa1)+b+k(0x94);try{return this[k(0xa7)][k(0xa4)](d),this['logger']['write'](k(0x93)+b+k(0x8f)+this[k(0xa7)][k(0xa3)]+k(0xa9)),c[k(0xad)][k(0x96)](b),this['logger']['write'](k(0x90)+b+k(0xac)+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x92)+b+'.';}catch(e){return this[k(0x9f)]['write'](k(0xa2)+e['message']),k(0x82)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}function a39c(){const l=['\x22\x20not\x20found\x20in\x20','1604391dQfDLV','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','337896dgQkPY','join','logger','530651nxgkyV','There\x20is\x20no\x20item\x20\x22','Error\x20during\x20\x27Take\x27\x20command:\x20','name','addInventory','constructor','verb','actor','\x20during\x20\x27Take\x27\x20command.','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20not\x20retrieved\x20from\x20','2449044UeLekx','\x22\x20from\x20','inventory','636580OMUQUQ','execute','8nTcOPd','The\x20item\x20\x22','search','Pick\x20up\x20an\x20item.','(((.+)+)+)+$','apply','21128157NEPkGd','toString','Item\x20\x22','toLowerCase','getItem','description','hasItem','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20to\x20','Successfully\x20removed\x20\x22','take','You\x20have\x20taken\x20the\x20','Successfully\x20added\x20\x22','\x22\x20in\x20this\x20room.','4664891nvYYaZ','removeItem','25AweZmH','currentLocation','write'];a39c=function(){return l;};return a39c();}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x1ae))/0x1*(-parseInt(f(0x1c4))/0x2)+parseInt(f(0x1c6))/0x3+parseInt(f(0x1b2))/0x4*(parseInt(f(0x1b6))/0x5)+-parseInt(f(0x1c0))/0x6+-parseInt(f(0x1b7))/0x7*(-parseInt(f(0x1c3))/0x8)+parseInt(f(0x1b3))/0x9*(-parseInt(f(0x1b8))/0xa)+parseInt(f(0x1af))/0xb*(-parseInt(f(0x1c1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x548fd));function a40c(){const k=['actor','join','UnequipCommand:\x20','execute','apply','(((.+)+)+)+$','unequip','1792650NqwfMm','120jCWvyV','verb','395728UNQsOQ','4puSrzY','toLowerCase','1613565SOVVAL','constructor','logger','search','260600FAaoCZ','587543YbBqtu','write','description','80vJJxdk','176193wLiNvL','\x20unqeuiped\x20','name','95210XZjCXz','49uqoeOK','310XCzgry'];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(0x1bd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()[h(0x1ad)](h(0x1be))['toString']()[h(0x1c7)](a40a)[h(0x1ad)](h(0x1be));});a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a40d(a,b);}export class UnequipCommand extends Command{static [a40i(0x1c2)]='unqeuip';static [a40i(0x1b1)]='Unequip\x20an\x20item.';[a40i(0x1bc)](a){const j=a40i,b=a[j(0x1ba)]('\x20')[j(0x1c5)](),c=this[j(0x1b9)][j(0x1bf)](b);return this[j(0x1c8)][j(0x1b0)](j(0x1bb)+this[j(0x1b9)][j(0x1b5)]+j(0x1b4)+c),c;}}
1
+ function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x123;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x139))/0x1*(parseInt(f(0x125))/0x2)+parseInt(f(0x138))/0x3+parseInt(f(0x135))/0x4+parseInt(f(0x13a))/0x5*(-parseInt(f(0x126))/0x6)+-parseInt(f(0x133))/0x7*(-parseInt(f(0x123))/0x8)+parseInt(f(0x13b))/0x9+-parseInt(f(0x134))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xab7de));function a40c(){const k=['(((.+)+)+)+$','toString','constructor','actor','description','\x20unqeuiped\x20','logger','Unequip\x20an\x20item.','66850eMbrFP','10040610DdIXfa','400948iCiwYL','UnequipCommand:\x20','join','1111476xrIjgY','14543WmtfcD','1154150adWyxG','3219597BKSqTZ','376rSlfWO','unqeuip','186VDteTl','24eXIaOF','write','apply','name','search'];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(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x12c)]()[h(0x12a)](h(0x12b))[h(0x12c)]()[h(0x12d)](a40a)[h(0x12a)](h(0x12b));});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a40i(0x124);static [a40i(0x12f)]=a40i(0x132);['execute'](a){const j=a40i,b=a[j(0x137)]('\x20')['toLowerCase'](),c=this[j(0x12e)]['unequip'](b);return this[j(0x131)][j(0x127)](j(0x136)+this[j(0x12e)][j(0x129)]+j(0x130)+c),c;}}
@@ -1 +1 @@
1
- const a41k=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1bb;let f=c[d];return f;},a41d(a,b);}function a41c(){const m=['17164644ZgFYav','There\x27s\x20no\x20door\x20named\x20\x22','execute','15770VaZJul','toString','verb','(((.+)+)+)+$','error','UnlockCommand:\x20No\x20target\x20specified.','description','7gOlRcU','toLowerCase','\x22\x20here.','\x20is\x20attempted\x20to\x20unlock\x20','1263330BmPQPS','.\x20Result:\x20','actor','logger','apply','inventory','4988238bmxjKr','search','isValidDirection','48dTFWLq','get','name','attemptUnlockExit','write','unlock','1iwSuEj','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','1630OswEST','hasItem','3210630SXIuTD','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','3748xpLqwm','has','unlockItemOrSolution','6787KuVVfj','Unlock\x20a\x20door.','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','2822454QvRyeV','exits','currentLocation','UnlockCommand:\x20'];a41c=function(){return m;};return a41c();}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x1cd))/0x1*(-parseInt(h(0x1d1))/0x2)+-parseInt(h(0x1da))/0x3+parseInt(h(0x1d3))/0x4*(-parseInt(h(0x1cf))/0x5)+-parseInt(h(0x1c4))/0x6*(-parseInt(h(0x1e8))/0x7)+-parseInt(h(0x1c7))/0x8*(parseInt(h(0x1be))/0x9)+parseInt(h(0x1e1))/0xa*(-parseInt(h(0x1d6))/0xb)+parseInt(h(0x1de))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xc4abe));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x1c2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x1e2)]()[j(0x1c5)](j(0x1e4))[j(0x1e2)]()['constructor'](a41a)[j(0x1c5)](j(0x1e4));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x1e3)]='unlock';static [a41k(0x1e7)]=a41k(0x1d7);[a41k(0x1e0)](a){return this['unlock'](a);}[a41k(0x1cc)](a){const l=a41k;if(a['length']===0x0)return this[l(0x1c1)][l(0x1e5)](l(0x1e6)),l(0x1ce);const b=a[0x0][l(0x1bb)](),c=this[l(0x1c0)][l(0x1dc)];if(this[l(0x1c6)](b)&&c[l(0x1db)][l(0x1d4)](b)){const d=c[l(0x1db)][l(0x1c8)](b);if(d instanceof Door){const e=d[l(0x1d5)]?.[l(0x1bb)]();if(e&&this[l(0x1c0)][l(0x1c3)][l(0x1d0)](e)){const f=this[l(0x1c0)][l(0x1c3)]['getItem'](e);if(f){const g=c[l(0x1ca)](b,f[l(0x1c9)]);return this['logger']['write'](l(0x1dd)+this['actor'][l(0x1c9)]+l(0x1bd)+b+l(0x1bf)+g),g;}}return this['logger'][l(0x1cb)](l(0x1dd)+this[l(0x1c0)][l(0x1c9)]+l(0x1d2)+b+'.'),l(0x1d8);}else return this[l(0x1c1)][l(0x1cb)](l(0x1dd)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x1c9)]+'.'),l(0x1df)+b+l(0x1bc);}else return this[l(0x1c1)][l(0x1cb)]('UnlockCommand:\x20'+b+l(0x1d9)+c['name']+'.'),l(0x1df)+b+'\x22\x20here.';}}
1
+ const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0xc8))/0x1+-parseInt(h(0xdf))/0x2*(-parseInt(h(0xe0))/0x3)+parseInt(h(0xd4))/0x4+parseInt(h(0xdd))/0x5+parseInt(h(0xe7))/0x6+parseInt(h(0xc9))/0x7*(parseInt(h(0xde))/0x8)+-parseInt(h(0xce))/0x9*(parseInt(h(0xdb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x2522f));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0xc6)]()[j(0xec)]('(((.+)+)+)+$')[j(0xc6)]()[j(0xd6)](a41a)['search']('(((.+)+)+)+$');});a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xc4;let f=c[d];return f;},a41d(a,b);}import{Door}from'../models/door.js';function a41c(){const n=['constructor','write','apply','description','toLowerCase','15570KXqJEU','\x20is\x20attempted\x20to\x20unlock\x20','568010pdzQtB','24JqNggH','110570tsAriW','9CowFzO','has','actor','inventory','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','exits','\x22\x20here.','1785966fDZSok','unlockItemOrSolution','Unlock\x20a\x20door.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','name','search','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','UnlockCommand:\x20No\x20target\x20specified.','getItem','hasItem','toString','unlock','300052avmpld','638134IhpbjE','There\x27s\x20no\x20door\x20named\x20\x22','attemptUnlockExit','logger','isValidDirection','6390wqExVC','get','verb','currentLocation','length','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','427700cQAFTY','UnlockCommand:\x20'];a41c=function(){return n;};return a41c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0xd0)]='unlock';static [a41k(0xd9)]=a41k(0xe9);['execute'](a){const l=a41k;return this[l(0xc7)](a);}['unlock'](a){const m=a41k;if(a[m(0xd2)]===0x0)return this[m(0xcc)]['error'](m(0xee)),m(0xed);const b=a[0x0][m(0xda)](),c=this[m(0xe2)][m(0xd1)];if(this[m(0xcd)](b)&&c[m(0xe5)][m(0xe1)](b)){const d=c[m(0xe5)][m(0xcf)](b);if(d instanceof Door){const e=d[m(0xe8)]?.['toLowerCase']();if(e&&this[m(0xe2)][m(0xe3)][m(0xc5)](e)){const f=this[m(0xe2)][m(0xe3)][m(0xc4)](e);if(f){const g=c[m(0xcb)](b,f[m(0xeb)]);return this['logger'][m(0xd7)](m(0xd5)+this[m(0xe2)]['name']+m(0xdc)+b+'.\x20Result:\x20'+g),g;}}return this[m(0xcc)]['write'](m(0xd5)+this['actor'][m(0xeb)]+m(0xd3)+b+'.'),m(0xe4);}else return this['logger'][m(0xd7)]('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c['name']+'.'),m(0xca)+b+m(0xe6);}else return this[m(0xcc)]['write'](m(0xd5)+b+m(0xea)+c[m(0xeb)]+'.'),m(0xca)+b+m(0xe6);}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x158))/0x1+-parseInt(f(0x154))/0x2*(parseInt(f(0x16d))/0x3)+-parseInt(f(0x160))/0x4*(parseInt(f(0x15b))/0x5)+-parseInt(f(0x150))/0x6*(parseInt(f(0x165))/0x7)+-parseInt(f(0x153))/0x8+parseInt(f(0x14e))/0x9+-parseInt(f(0x164))/0xa*(-parseInt(f(0x14a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x2df97));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x15d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x151)]()[h(0x14f)]('(((.+)+)+)+$')[h(0x151)]()['constructor'](a42a)['search'](h(0x166));});a42a();function a42c(){const k=['join','apply','actor','Use\x20an\x20item.','8rBHbFb','write','verb','inventory','10uOyjyu','35swQCSc','(((.+)+)+)+$','\x20not\x20retrieved\x20from\x20','\x20attempted\x20to\x20use\x20','function','\x20used\x20','use','UseCommand:\x20','109083AZfMtg','execute','name','6926095lKTbxW','You\x20can\x27t\x20use\x20the\x20','\x20to\x20use.','description','315666xROtIC','search','60402CHXKyx','toString','logger','1657312yupzAZ','4nTdnZe','getItem','\x20in\x20this\x20way.','You\x20don\x27t\x20have\x20the\x20','106045DYluvT','hasItem','toLowerCase','100355PjpNMR'];a42c=function(){return k;};return a42c();}import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x148;let f=c[d];return f;},a42d(a,b);}export class UseCommand extends Command{static [a42i(0x162)]='use';static [a42i(0x14d)]=a42i(0x15f);[a42i(0x148)](a){return this['use'](a);}['use'](a){const j=a42i,b=a[j(0x15c)]('\x20')[j(0x15a)]();if(!this[j(0x15e)][j(0x163)][j(0x159)](b))return this[j(0x152)][j(0x161)]('UseCommand:\x20'+this['actor'][j(0x149)]+j(0x168)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),j(0x157)+b+j(0x14c);const c=this['actor'][j(0x163)][j(0x155)](b);if(!c)return this[j(0x152)]['write'](j(0x16c)+b+j(0x167)+this[j(0x15e)][j(0x149)]+'\x27s\x20inventory.'),'You\x20don\x27t\x20have\x20the\x20'+b+j(0x14c);if(typeof c['use']===j(0x169)){const d=c[j(0x16b)]();return this['logger'][j(0x161)]('UseCommand:\x20'+this[j(0x15e)][j(0x149)]+j(0x16a)+b+'.'),d;}else return this[j(0x152)]['write']('UseCommand:\x20'+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),j(0x14b)+b+j(0x156);}}
1
+ const a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x153))/0x1+parseInt(f(0x155))/0x2*(-parseInt(f(0x150))/0x3)+-parseInt(f(0x157))/0x4+-parseInt(f(0x149))/0x5+-parseInt(f(0x14e))/0x6+parseInt(f(0x162))/0x7*(parseInt(f(0x15f))/0x8)+parseInt(f(0x152))/0x9*(parseInt(f(0x161))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x78a27));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['toString']()[g(0x167)]('(((.+)+)+)+$')[g(0x15a)]()[g(0x168)](a42a)['search'](g(0x14f));});function a42c(){const k=['530080vGNNcH','\x20to\x20use.',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','name','logger','3081972OTeaLY','(((.+)+)+)+$','303LIkuFL','You\x20can\x27t\x20use\x20the\x20','4134492Hnygpg','791886CojOHD','join','342VCUcyL','inventory','2802244rnTQtV','UseCommand:\x20','actor','toString','function','hasItem','use','You\x20don\x27t\x20have\x20the\x20','8YweUew','description','40OBFuCc','5501741dgUkbH','\x20doesn\x27t\x20have\x20a\x20use\x20method.','\x27s\x20inventory.','\x20not\x20retrieved\x20from\x20','\x20attempted\x20to\x20use\x20','search','constructor','toLowerCase','write'];a42c=function(){return k;};return a42c();}a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x149;let f=c[d];return f;},a42d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a42h(0x15d);static [a42h(0x160)]='Use\x20an\x20item.';['execute'](a){const i=a42h;return this[i(0x15d)](a);}[a42h(0x15d)](a){const j=a42h,b=a[j(0x154)]('\x20')[j(0x169)]();if(!this[j(0x159)]['inventory'][j(0x15c)](b))return this[j(0x14d)][j(0x16a)](j(0x158)+this['actor'][j(0x14c)]+j(0x166)+b+j(0x14b)),j(0x15e)+b+j(0x14a);const c=this[j(0x159)][j(0x156)]['getItem'](b);if(!c)return this[j(0x14d)][j(0x16a)](j(0x158)+b+j(0x165)+this[j(0x159)][j(0x14c)]+j(0x164)),j(0x15e)+b+j(0x14a);if(typeof c[j(0x15d)]===j(0x15b)){const d=c[j(0x15d)]();return this[j(0x14d)][j(0x16a)](j(0x158)+this[j(0x159)][j(0x14c)]+'\x20used\x20'+b+'.'),d;}else return this[j(0x14d)][j(0x16a)](j(0x158)+b+j(0x163)),j(0x151)+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- const a43i=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1a8;let f=c[d];return f;},a43d(a,b);}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1b0))/0x1*(-parseInt(f(0x1b2))/0x2)+-parseInt(f(0x1b7))/0x3+parseInt(f(0x1ad))/0x4+-parseInt(f(0x1ae))/0x5+-parseInt(f(0x1b3))/0x6+-parseInt(f(0x1b6))/0x7+-parseInt(f(0x1aa))/0x8*(-parseInt(f(0x1b5))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x1aa95));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(0x1ab)]()[h(0x1af)]('(((.+)+)+)+$')[h(0x1ab)]()[h(0x1b1)](a43a)['search'](h(0x1b8));});function a43c(){const m=['commandMap','527976oSbjem','14238sKzGPj','154476xLJMQZ','(((.+)+)+)+$','registerCommand','getAllRegisteredCommands','8wGoLsO','toString','apply','836924sIIbFg','689835POEzpe','search','202018CGSiiq','constructor','2IDMIOn','1015290rfxREi'];a43c=function(){return m;};return a43c();}a43a();export class CommandFactory{static [a43i(0x1b4)]={};static[a43i(0x1a8)](a,b){const j=a43i;this[j(0x1b4)][a]=b;}static['createCommand'](a,b){const k=a43i,c=this[k(0x1b4)][a];if(c)return new c(b);return null;}static[a43i(0x1a9)](){const l=a43i;return this[l(0x1b4)];}}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x8d))/0x1+parseInt(f(0x8c))/0x2*(parseInt(f(0x7e))/0x3)+parseInt(f(0x82))/0x4*(parseInt(f(0x89))/0x5)+-parseInt(f(0x88))/0x6*(-parseInt(f(0x87))/0x7)+-parseInt(f(0x80))/0x8+parseInt(f(0x8b))/0x9+-parseInt(f(0x86))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x861d4));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x85)]()[h(0x81)]('(((.+)+)+)+$')['toString']()[h(0x7d)](a43a)[h(0x81)](h(0x7f));});a43a();export class CommandFactory{static [a43i(0x83)]={};static['registerCommand'](a,b){const j=a43i;this[j(0x83)][a]=b;}static[a43i(0x8e)](a,b){const k=a43i,c=this[k(0x83)][a];if(c)return new c(b);return null;}static[a43i(0x8a)](){const l=a43i;return this[l(0x83)];}}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x7d;let f=c[d];return f;},a43d(a,b);}function a43c(){const m=['7091775zgobBt','304572iUcwfP','460191mqwQGe','createCommand','constructor','12ZnIGJf','(((.+)+)+)+$','5394328foDlyz','search','16zpOGti','commandMap','apply','toString','3857640fOxSJq','2055809ZUOQEv','6RQQgxh','473465IRwOld','getAllRegisteredCommands'];a43c=function(){return m;};return a43c();}
@@ -1 +1 @@
1
- function a44c(){const n=['addItem','content','constructor','10SYGGVV','gloves','createPuzzle','key','createItem','toString','bodyarmor','699400YQxJcZ','866404beKJIF','1257GJTBdb','isStartRoom','66yiHVfr','11210985qDNPVe','4920YmeEhY','(((.+)+)+)+$','rewardItem','createRoom','description','setPuzzle','helmet','5468904OvgnvF','toUpperCase','sword','roomType','711800wNhIJC','287854MZElUq','items','convertToRoomConfig','inventory','puzzle','name'];a44c=function(){return n;};return a44c();}const a44h=a44d;function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x11e;let f=c[d];return f;},a44d(a,b);}(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x12e))/0x1+parseInt(f(0x11e))/0x2+parseInt(f(0x11f))/0x3*(-parseInt(f(0x123))/0x4)+-parseInt(f(0x13f))/0x5+-parseInt(f(0x121))/0x6*(parseInt(f(0x12f))/0x7)+-parseInt(f(0x12a))/0x8+parseInt(f(0x122))/0x9*(parseInt(f(0x138))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x925a6));const a44b=(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;};}()),a44a=a44b(this,function(){const g=a44d;return a44a[g(0x13d)]()['search'](g(0x124))[g(0x13d)]()[g(0x137)](a44a)['search'](g(0x124));});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{[a44h(0x126)](a){const i=a44h,b=this[i(0x131)](a),c=new Room(b);if(a[i(0x130)]){const d=new Inventory();a['items']['forEach'](e=>{const j=i;d[j(0x135)](this[j(0x13c)](e));}),c[i(0x132)]=d;}return a[i(0x133)]&&c[i(0x128)](this['createPuzzle'](a['puzzle'])),c;}[a44h(0x13c)](a){const k=a44h;switch(a['type']){case k(0x13b):return new Key(a[k(0x134)],a[k(0x127)]);case'book':return new Book(a[k(0x134)],a['description'],a[k(0x136)]);case k(0x12c):return new Sword(a[k(0x134)],a['description']);case'rifle':return new Rifle(a[k(0x134)],a[k(0x127)]);case k(0x129):return new Helmet(a[k(0x134)],a[k(0x127)]);case k(0x13e):return new BodyArmor(a['name'],a[k(0x127)]);case'legarmor':return new LegArmor(a[k(0x134)],a['description']);case'boots':return new Boots(a[k(0x134)],a[k(0x127)]);case k(0x139):return new Gloves(a[k(0x134)],a[k(0x127)]);case'gauntlets':return new Gauntlets(a[k(0x134)],a['description']);default:return new BasicItem(a[k(0x134)],a[k(0x127)]);}}[a44h(0x13a)](a){const l=a44h,b=this['createItem'](a[l(0x125)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const m=a44h,b=a[m(0x12d)]&&RoomType[a['roomType'][m(0x12b)]()]?RoomType[a[m(0x12d)][m(0x12b)]()]:RoomType['INSIDE'];return{'name':a[m(0x134)],'description':a[m(0x127)],'isStartRoom':a[m(0x120)],'roomType':b};}}
1
+ const a44k=a44d;function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x146;let f=c[d];return f;},a44d(a,b);}function a44c(){const o=['name','6889112BxhnTA','250XydAmW','10580934aqnBBx','setPuzzle','rewardItem','toString','12197520bEMPOa','book','constructor','6YcyLKa','puzzle','description','846705EVkVJT','createPuzzle','gauntlets','items','boots','INSIDE','inventory','apply','content','10DQSLZG','key','(((.+)+)+)+$','2321151WHoqIJ','convertToRoomConfig','roomType','forEach','sword','gloves','type','createItem','rifle','bodyarmor','22019175jhfszK','search','isStartRoom','8879ZglLsG','toUpperCase'];a44c=function(){return o;};return a44c();}(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x164))/0x1*(-parseInt(f(0x168))/0x2)+parseInt(f(0x157))/0x3+parseInt(f(0x167))/0x4+-parseInt(f(0x14b))/0x5*(parseInt(f(0x148))/0x6)+parseInt(f(0x169))/0x7+-parseInt(f(0x16d))/0x8+-parseInt(f(0x161))/0x9*(parseInt(f(0x154))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xee7ba));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x16c)]()['search'](h(0x156))[h(0x16c)]()[h(0x147)](a44a)[h(0x162)](h(0x156));});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{['createRoom'](a){const i=a44d,b=this[i(0x158)](a),c=new Room(b);if(a[i(0x14e)]){const d=new Inventory();a[i(0x14e)][i(0x15a)](e=>{const j=i;d['addItem'](this[j(0x15e)](e));}),c[i(0x151)]=d;}return a[i(0x149)]&&c[i(0x16a)](this[i(0x14c)](a['puzzle'])),c;}[a44k(0x15e)](a){const l=a44k;switch(a[l(0x15d)]){case l(0x155):return new Key(a[l(0x166)],a[l(0x14a)]);case l(0x146):return new Book(a[l(0x166)],a[l(0x14a)],a[l(0x153)]);case l(0x15b):return new Sword(a[l(0x166)],a[l(0x14a)]);case l(0x15f):return new Rifle(a['name'],a[l(0x14a)]);case'helmet':return new Helmet(a[l(0x166)],a[l(0x14a)]);case l(0x160):return new BodyArmor(a[l(0x166)],a[l(0x14a)]);case'legarmor':return new LegArmor(a[l(0x166)],a[l(0x14a)]);case l(0x14f):return new Boots(a[l(0x166)],a[l(0x14a)]);case l(0x15c):return new Gloves(a['name'],a['description']);case l(0x14d):return new Gauntlets(a[l(0x166)],a[l(0x14a)]);default:return new BasicItem(a['name'],a[l(0x14a)]);}}['createPuzzle'](a){const m=a44k,b=this['createItem'](a[m(0x16b)]);return new Puzzle({...a,'rewardItem':b});}[a44k(0x158)](a){const n=a44k,b=a[n(0x159)]&&RoomType[a['roomType'][n(0x165)]()]?RoomType[a[n(0x159)]['toUpperCase']()]:RoomType[n(0x150)];return{'name':a[n(0x166)],'description':a[n(0x14a)],'isStartRoom':a[n(0x163)],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0x178))/0x1*(parseInt(h(0x181))/0x2)+-parseInt(h(0x173))/0x3+-parseInt(h(0x17f))/0x4+parseInt(h(0x174))/0x5*(parseInt(h(0x185))/0x6)+-parseInt(h(0x191))/0x7+parseInt(h(0x183))/0x8+-parseInt(h(0x196))/0x9*(-parseInt(h(0x172))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xc0971));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x199)]()[j(0x19a)](j(0x17c))['toString']()['constructor'](a45a)['search'](j(0x17c));});a45a();import{Scene}from'./models/scene.js';function a45c(){const s=['registerCommand','name','instance','-\x20clear:\x20Clear\x20the\x20screen.\x0a','rooms','createCommand','1112349QgIDts','split','determineStartRoom','help','player','9oxzByC','hasOwnProperty','take','toString','search','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','look','apply','slice','getAllRegisteredCommands','equip','unequip','maka','10534010RQTWDT','3759927JhUaqT','2086300mHHHAa','currentLocation','registerCommands','clear','243XKDTpd','solve','-\x20quit:\x20Exit\x20the\x20game.\x0a','currentRoom','(((.+)+)+)+$','use','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','2534284ylENSH','scene','5766BriPRU','Available\x20Commands:\x0a','9840192bmkKVL','getHelpMessage','18BKQJoF','toLowerCase','getInstance','drop','getWelcomeMessage','getDescription'];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';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x16a;let f=c[d];return f;},a45d(a,b);}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0x18d)];['scene'];[a45k(0x195)];[a45k(0x17b)];[a45k(0x18f)];constructor(a,b){const l=a45k;this[l(0x195)]=a,this[l(0x180)]=new Scene({'player':a,'roomConfiguration':b}),this['scene']['initialize'](),this['player'][l(0x175)]=this[l(0x193)](),this[l(0x176)]();}['registerCommands'](){const m=a45k;CommandFactory[m(0x18b)](m(0x16b),LookCommand),CommandFactory[m(0x18b)]('go',GoCommand),CommandFactory[m(0x18b)](m(0x198),TakeCommand),CommandFactory[m(0x18b)](m(0x17d),UseCommand),CommandFactory['registerCommand'](m(0x16f),EquipCommand),CommandFactory[m(0x18b)](m(0x170),UnequipCommand),CommandFactory[m(0x18b)](m(0x179),SolveCommand),CommandFactory[m(0x18b)](m(0x188),DropCommand),CommandFactory[m(0x18b)]('unlock',UnlockCommand),CommandFactory[m(0x18b)]('lock',LockCommand),CommandFactory[m(0x18b)]('search',SearchCommand),CommandFactory[m(0x18b)]('say',SayCommand);}[a45k(0x193)](){const n=a45k;return this[n(0x180)][n(0x193)]();}[a45k(0x189)](){const o=a45k;return'Welcome,\x20'+this[o(0x195)][o(0x18c)];}static[a45k(0x187)](a,b){const p=a45k;return!Game[p(0x18d)]&&(Game[p(0x18d)]=new Game(a,b)),Game[p(0x18d)];}['handleInput'](a){const q=a45k,b=a['trim']()[q(0x192)]('\x20'),c=b[0x0][q(0x186)](),d=b[q(0x16d)](0x1);if(c==='quit')return null;if(c===q(0x171))return q(0x16a);if(c===q(0x194))return this[q(0x184)]();if(c===q(0x177))return'';const e={'actor':this[q(0x195)],'rooms':this[q(0x180)]['getRooms'](),'scene':this['scene']},f=CommandFactory[q(0x190)](c,e);if(f){const g=f['execute'](d);return g;}return q(0x17e)+c+'\x22.';}[a45k(0x184)](){const r=a45k,a=CommandFactory[r(0x16e)]();let b=r(0x182);for(const c in a){if(a[r(0x197)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x18a)]()+'\x0a';}}return b+=r(0x18e),b+=r(0x17a),b;}}
1
+ const a45j=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0xb1))/0x1+-parseInt(h(0xc8))/0x2+parseInt(h(0xa5))/0x3+-parseInt(h(0xb4))/0x4*(-parseInt(h(0xab))/0x5)+parseInt(h(0xb5))/0x6+parseInt(h(0xc4))/0x7*(parseInt(h(0xbf))/0x8)+-parseInt(h(0xa2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xed302));function a45c(){const r=['lock','(((.+)+)+)+$','hasOwnProperty','3079244BUgZdW','getWelcomeMessage','clear','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','instance','constructor','drop','say','look','unlock','1897416wmpxgI','slice','execute','1083642AhjImO','search','maka','registerCommands','solve','Available\x20Commands:\x0a','1295HeYDiA','createCommand','split','rooms','currentRoom','Welcome,\x20','56656vUdNaA','scene','help','20184pykQjZ','6503280OfzvKW','quit','registerCommand','use','determineStartRoom','getInstance','getRooms','equip','-\x20quit:\x20Exit\x20the\x20game.\x0a','getDescription','64KGbtBt','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','getAllRegisteredCommands','unequip','player','23289RRMczq'];a45c=function(){return r;};return a45c();}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const i=a45d;return a45a['toString']()[i(0xa6)]('(((.+)+)+)+$')['toString']()[i(0x9d)](a45a)[i(0xa6)](i(0xc6));});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x9c;let f=c[d];return f;},a45d(a,b);}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45j(0x9c)];[a45j(0xb2)];[a45j(0xc3)];[a45j(0xaf)];[a45j(0xae)];constructor(a,b){const k=a45j;this[k(0xc3)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[k(0xb2)]['initialize'](),this[k(0xc3)]['currentLocation']=this[k(0xb9)](),this['registerCommands']();}[a45j(0xa8)](){const l=a45j;CommandFactory[l(0xb7)](l(0xa0),LookCommand),CommandFactory[l(0xb7)]('go',GoCommand),CommandFactory[l(0xb7)]('take',TakeCommand),CommandFactory[l(0xb7)](l(0xb8),UseCommand),CommandFactory[l(0xb7)](l(0xbc),EquipCommand),CommandFactory['registerCommand'](l(0xc2),UnequipCommand),CommandFactory[l(0xb7)](l(0xa9),SolveCommand),CommandFactory['registerCommand'](l(0x9e),DropCommand),CommandFactory[l(0xb7)](l(0xa1),UnlockCommand),CommandFactory['registerCommand'](l(0xc5),LockCommand),CommandFactory[l(0xb7)](l(0xa6),SearchCommand),CommandFactory[l(0xb7)](l(0x9f),SayCommand);}[a45j(0xb9)](){const m=a45j;return this[m(0xb2)][m(0xb9)]();}[a45j(0xc9)](){const n=a45j;return n(0xb0)+this['player']['name'];}static[a45j(0xba)](a,b){const o=a45j;return!Game[o(0x9c)]&&(Game['instance']=new Game(a,b)),Game[o(0x9c)];}['handleInput'](a){const p=a45j,b=a['trim']()[p(0xad)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[p(0xa3)](0x1);if(c===p(0xb6))return null;if(c===p(0xa7))return p(0xc0);if(c===p(0xb3))return this['getHelpMessage']();if(c===p(0xca))return'';const e={'actor':this[p(0xc3)],'rooms':this['scene'][p(0xbb)](),'scene':this[p(0xb2)]},f=CommandFactory[p(0xac)](c,e);if(f){const g=f[p(0xa4)](d);return g;}return p(0xcb)+c+'\x22.';}['getHelpMessage'](){const q=a45j,a=CommandFactory[q(0xc1)]();let b=q(0xaa);for(const c in a){if(a[q(0xc7)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0xbe)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+=q(0xbd),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x67))/0x1*(parseInt(f(0x69))/0x2)+parseInt(f(0x6a))/0x3+-parseInt(f(0x6c))/0x4*(-parseInt(f(0x74))/0x5)+parseInt(f(0x6e))/0x6+parseInt(f(0x75))/0x7*(parseInt(f(0x72))/0x8)+parseInt(f(0x71))/0x9+-parseInt(f(0x70))/0xa*(parseInt(f(0x6f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x4aeb3));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x6b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x73)]()[h(0x6d)](h(0x68))[h(0x73)]()['constructor'](a46a)['search']('(((.+)+)+)+$');});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x67;var f=c[d];return f;},a46d(a,b);}function a46c(){var i=['1570583OVTnwq','8219DKdbdc','(((.+)+)+)+$','122kUvpqB','1208055MtUlCW','apply','3128OzngnG','search','202302RjelCU','77OYOqsW','454340bDYXEr','1543149XHDIgW','8KOYHnJ','toString','1880BTvjZg'];a46c=function(){return i;};return a46c();}export*from'./room.js';export*from'./scene.js';
1
+ function a46c(){var i=['7iwxnkB','7YLpFsX','2406936tgTFZs','apply','search','271474hOcQgH','toString','150634Ijdxhb','5159898CxEPcv','(((.+)+)+)+$','101148dBRPhf','2436305cqlBra','8UhAblL','20yomkDV','6734280QRJSIQ','190DpNxTt'];a46c=function(){return i;};return a46c();}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x6f))/0x1*(-parseInt(f(0x73))/0x2)+-parseInt(f(0x68))/0x3*(-parseInt(f(0x6b))/0x4)+parseInt(f(0x69))/0x5+parseInt(f(0x70))/0x6*(parseInt(f(0x6e))/0x7)+parseInt(f(0x6a))/0x8*(-parseInt(f(0x76))/0x9)+-parseInt(f(0x6d))/0xa*(parseInt(f(0x75))/0xb)+-parseInt(f(0x6c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x9586a));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x71)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0x72)](h(0x67))[h(0x74)]()['constructor'](a46a)[h(0x72)](h(0x67));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x67;var f=c[d];return f;},a46d(a,b);}export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x1de))/0x1*(parseInt(f(0x1ea))/0x2)+-parseInt(f(0x1df))/0x3*(-parseInt(f(0x1ef))/0x4)+parseInt(f(0x1d5))/0x5*(-parseInt(f(0x1d3))/0x6)+-parseInt(f(0x1eb))/0x7*(-parseInt(f(0x1ed))/0x8)+parseInt(f(0x1e8))/0x9*(parseInt(f(0x1e0))/0xa)+parseInt(f(0x1ee))/0xb+-parseInt(f(0x1dc))/0xc*(parseInt(f(0x1e2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x5ef4e));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x1ec)]()[h(0x1db)](h(0x1da))['toString']()[h(0x1f0)](a47a)[h(0x1db)]('(((.+)+)+)+$');});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a47c(){var o=['440sLoJDV','logger','5088590guRGlH','isLockable','unlockItemOrSolution','checkIfLockable','To\x20','\x20and\x20','127341wqFmio','isLocked','1726MWZlzT','3751202CHPfMK','toString','8IVhOiU','6219268HMzUjm','16jjRcfF','constructor','Failed\x20to\x20unlock\x20door:\x20','Door\x20unlocked:\x20','getOtherSide','write','checkIfLocked','6EltoTD','.\x20Used:\x20','2583435LlJloa','roomB','roomA','name','apply','(((.+)+)+)+$','search','12xmWyaK','Door\x20created\x20between\x20','505RBfTRY','6783JzVYsE'];a47c=function(){return o;};return a47c();}function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x1ce;var f=c[d];return f;},a47d(a,b);}export class Door extends AbstractDoor{[a47i(0x1d7)];['roomB'];[a47i(0x1e9)];[a47i(0x1e4)];[a47i(0x1d8)];[a47i(0x1e1)];[a47i(0x1e3)];constructor(a){var j=a47i;super(),this['roomA']=a['roomA'],this[j(0x1d6)]=a['roomB'],this[j(0x1e9)]=a['isLocked']||![],this[j(0x1e4)]=a['unlockItemOrSolution'],this[j(0x1d8)]=a[j(0x1d8)]?capitalCase(a[j(0x1d8)]):j(0x1e6)+a[j(0x1d6)]['name'],this[j(0x1e1)]=Logger['getInstance'](),this[j(0x1e3)]=!!a[j(0x1e4)],this[j(0x1e1)][j(0x1d1)](j(0x1dd)+this[j(0x1d7)][j(0x1d8)]+j(0x1e7)+this[j(0x1d6)][j(0x1d8)]+'.\x20Is\x20Locked:\x20'+this[j(0x1e9)]);}[a47i(0x1d0)](a){var k=a47i;return this[k(0x1d7)]===a?this['roomB']:this[k(0x1d7)];}['attemptUnlock'](a){var l=a47i;if(this[l(0x1e9)]&&this[l(0x1e4)]&&this[l(0x1e4)]===a)return this[l(0x1e9)]=![],this[l(0x1e1)]['write'](l(0x1cf)+this[l(0x1d8)]+l(0x1d4)+a),!![];return this[l(0x1e1)][l(0x1d1)](l(0x1ce)+this[l(0x1d8)]+'.\x20Used:\x20'+a),![];}[a47i(0x1d2)](){var m=a47i;return this[m(0x1e9)];}[a47i(0x1e5)](){var n=a47i;return this[n(0x1e3)];}}
1
+ var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0xbb))/0x1*(parseInt(f(0xc5))/0x2)+-parseInt(f(0xc4))/0x3*(-parseInt(f(0xba))/0x4)+-parseInt(f(0xb5))/0x5*(parseInt(f(0xab))/0x6)+parseInt(f(0xaa))/0x7+-parseInt(f(0xc1))/0x8+parseInt(f(0xc2))/0x9*(-parseInt(f(0xac))/0xa)+parseInt(f(0xb7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xb4f1f));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a['toString']()[h(0xbf)](h(0xaf))[h(0xc3)]()[h(0xbd)](a47a)[h(0xbf)]('(((.+)+)+)+$');});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0xa6;var f=c[d];return f;},a47d(a,b);}function a47c(){var m=['getInstance','logger','name','490wtFPUk','checkIfLockable','1743907eOLWcY','write','roomA','4KgMyha','2lvDKWf','.\x20Used:\x20','constructor','.\x20Is\x20Locked:\x20','search','unlockItemOrSolution','4069136lzegPt','4943439SjNYQo','toString','3032403QkgeMx','384752RacIfW','checkIfLocked','attemptUnlock','Failed\x20to\x20unlock\x20door:\x20','isLockable','10082016EmlyyZ','26070YonGyQ','10bWlCiI','roomB','getOtherSide','(((.+)+)+)+$','apply','isLocked'];a47c=function(){return m;};return a47c();}export class Door extends AbstractDoor{[a47i(0xb9)];[a47i(0xad)];[a47i(0xb1)];[a47i(0xc0)];[a47i(0xb4)];[a47i(0xb3)];[a47i(0xa9)];constructor(a){var j=a47i;super(),this['roomA']=a['roomA'],this[j(0xad)]=a[j(0xad)],this['isLocked']=a['isLocked']||![],this[j(0xc0)]=a['unlockItemOrSolution'],this[j(0xb4)]=a['name']?capitalCase(a[j(0xb4)]):'To\x20'+a[j(0xad)][j(0xb4)],this['logger']=Logger[j(0xb2)](),this['isLockable']=!!a[j(0xc0)],this[j(0xb3)][j(0xb8)]('Door\x20created\x20between\x20'+this[j(0xb9)]['name']+'\x20and\x20'+this[j(0xad)]['name']+j(0xbe)+this['isLocked']);}[a47i(0xae)](a){var k=a47i;return this[k(0xb9)]===a?this[k(0xad)]:this[k(0xb9)];}[a47i(0xa7)](a){var l=a47i;if(this[l(0xb1)]&&this['unlockItemOrSolution']&&this[l(0xc0)]===a)return this[l(0xb1)]=![],this[l(0xb3)][l(0xb8)]('Door\x20unlocked:\x20'+this['name']+l(0xbc)+a),!![];return this[l(0xb3)][l(0xb8)](l(0xa8)+this[l(0xb4)]+l(0xbc)+a),![];}[a47i(0xa6)](){return this['isLocked'];}[a47i(0xb6)](){return this['isLockable'];}}
@@ -1 +1 @@
1
- function a48c(){const q=['\x20to\x20inventory.','removeItem','values','7lePNHZ','5258yvIhXf','set','4698152ZhredV','getWeight','listItems','Checked\x20for\x20item:\x20','Added\x20item:\x20','join','delete','keys','894tyqEUY','2096324ynBkRk','Removed\x20item:\x20','40MFgvHt','.\x20Exists:\x20','name','has','toString','constructor','items','(((.+)+)+)+$','174516gxGlXV','Retrieved\x20details\x20for\x20item:\x20','35820eDCkPJ','153796JlJUEK','toLowerCase','.\x20Item\x20not\x20found.','getInstance','hasItem','write','weight','get','search','map','\x20from\x20inventory.','38945JAVxEy','8190792GlOPxO','getItem','logger'];a48c=function(){return q;};return a48c();}function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xff;let f=c[d];return f;},a48d(a,b);}const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x11c))/0x1+-parseInt(f(0x111))/0x2*(parseInt(f(0x119))/0x3)+parseInt(f(0x10f))/0x4+-parseInt(f(0x127))/0x5*(-parseInt(f(0x10e))/0x6)+parseInt(f(0x103))/0x7*(-parseInt(f(0x106))/0x8)+-parseInt(f(0x128))/0x9+parseInt(f(0x11b))/0xa*(parseInt(f(0x104))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x8e265));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(0x115)]()[g(0x124)](g(0x118))[g(0x115)]()[g(0x116)](a48a)[g(0x124)](g(0x118));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48h(0x117)];[a48h(0xff)];constructor(){const i=a48h;super(),this[i(0x117)]=new Map(),this['logger']=Logger[i(0x11f)]();}['addItem'](a){const j=a48h;this[j(0x117)][j(0x105)](a[j(0x113)][j(0x11d)](),a),this[j(0xff)][j(0x121)](j(0x10a)+a[j(0x113)]+j(0x100));}[a48h(0x101)](a){const k=a48h,b=this[k(0x129)](a);if(b)return this[k(0x117)][k(0x10c)](a[k(0x11d)]()),this[k(0xff)][k(0x121)](k(0x110)+a+k(0x126)),b;return this['logger'][k(0x121)]('Failed\x20to\x20remove\x20item:\x20'+a+k(0x11e)),null;}[a48h(0x120)](a){const l=a48h,b=this[l(0x117)][l(0x114)](a[l(0x11d)]()),c=[...this[l(0x117)][l(0x10d)]()];return this['logger']['write'](l(0x109)+a+'\x20in\x20'+c['join'](',\x20')+l(0x112)+b+'.'),b;}[a48h(0x129)](a){const m=a48h,b=this[m(0x117)][m(0x123)](a['toLowerCase']())||null;return b?this[m(0xff)][m(0x121)](m(0x11a)+a+'.'):this[m(0xff)][m(0x121)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+m(0x11e)),b;}[a48h(0x108)](){const n=a48h,a=[...this[n(0x117)][n(0x10d)]()],b=a[n(0x125)](c=>capitalCase(c));return this[n(0xff)][n(0x121)]('Listed\x20items\x20in\x20inventory:\x20'+b[n(0x10b)](',\x20')+'.'),a;}[a48h(0x107)](){const o=a48h;let a=0x0;for(const b of this['items'][o(0x102)]()){a+=b[o(0x122)];}return a;}['getAllItems'](){const p=a48h;return[...this[p(0x117)]['values']()];}}
1
+ const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x117))/0x1+-parseInt(f(0x11f))/0x2*(-parseInt(f(0x100))/0x3)+-parseInt(f(0x10a))/0x4*(-parseInt(f(0x101))/0x5)+-parseInt(f(0x11e))/0x6+parseInt(f(0x107))/0x7+-parseInt(f(0x111))/0x8+parseInt(f(0x10d))/0x9*(-parseInt(f(0x11d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x7e721));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(0x11a)]()[g(0x114)]('(((.+)+)+)+$')['toString']()[g(0x112)](a48a)[g(0x114)]('(((.+)+)+)+$');});a48a();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xfc;let f=c[d];return f;},a48d(a,b);}import{capitalCase}from'change-case';function a48c(){const q=['map','join','getInstance','hasItem','getWeight','getItem','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','.\x20Item\x20not\x20found.','6297WVTvyW','10RFzDyx','write','Retrieved\x20details\x20for\x20item:\x20','\x20from\x20inventory.','listItems','keys','5342736PSvjbi','getAllItems','has','1421164uiXZfo','set','\x20in\x20','756801GakSwY','items','name','delete','2777368lUNZdD','constructor','toLowerCase','search','Added\x20item:\x20','values','2442vOXufC','removeItem','get','toString','logger','Checked\x20for\x20item:\x20','80NKXjCg','1692108GATEis','332geqExC'];a48c=function(){return q;};return a48c();}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48h(0x10e)];['logger'];constructor(){const i=a48h;super(),this[i(0x10e)]=new Map(),this[i(0x11b)]=Logger[i(0x122)]();}['addItem'](a){const j=a48h;this['items'][j(0x10b)](a['name'][j(0x113)](),a),this['logger'][j(0x102)](j(0x115)+a[j(0x10f)]+'\x20to\x20inventory.');}[a48h(0x118)](a){const k=a48h,b=this[k(0xfd)](a);if(b)return this[k(0x10e)][k(0x110)](a['toLowerCase']()),this[k(0x11b)][k(0x102)]('Removed\x20item:\x20'+a+k(0x104)),b;return this[k(0x11b)][k(0x102)]('Failed\x20to\x20remove\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),null;}[a48h(0x123)](a){const l=a48h,b=this[l(0x10e)][l(0x109)](a[l(0x113)]()),c=[...this[l(0x10e)][l(0x106)]()];return this['logger'][l(0x102)](l(0x11c)+a+l(0x10c)+c[l(0x121)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a48h(0xfd)](a){const m=a48h,b=this[m(0x10e)][m(0x119)](a[m(0x113)]())||null;return b?this[m(0x11b)][m(0x102)](m(0x103)+a+'.'):this[m(0x11b)][m(0x102)](m(0xfe)+a+m(0xff)),b;}[a48h(0x105)](){const n=a48h,a=[...this['items'][n(0x106)]()],b=a[n(0x120)](c=>capitalCase(c));return this[n(0x11b)][n(0x102)]('Listed\x20items\x20in\x20inventory:\x20'+b[n(0x121)](',\x20')+'.'),a;}[a48h(0xfc)](){const o=a48h;let a=0x0;for(const b of this[o(0x10e)][o(0x116)]()){a+=b['weight'];}return a;}[a48h(0x108)](){const p=a48h;return[...this[p(0x10e)][p(0x116)]()];}}
@@ -1 +1 @@
1
- function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xbd;var f=c[d];return f;},a49d(a,b);}var a49h=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0xbf))/0x1*(parseInt(f(0xc1))/0x2)+-parseInt(f(0xc5))/0x3*(parseInt(f(0xcf))/0x4)+parseInt(f(0xc8))/0x5*(-parseInt(f(0xca))/0x6)+-parseInt(f(0xc7))/0x7*(-parseInt(f(0xcb))/0x8)+parseInt(f(0xc4))/0x9+-parseInt(f(0xd6))/0xa*(-parseInt(f(0xd3))/0xb)+-parseInt(f(0xc6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xeb074));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(0xd1)]()[g(0xd2)](g(0xd4))[g(0xd1)]()[g(0xc3)](a49a)[g(0xd2)]('(((.+)+)+)+$');});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49h(0xd5)];[a49h(0xce)];['description'];['size'];[a49h(0xd7)];['shape'];[a49h(0xd0)];[a49h(0xcd)];[a49h(0xbe)];['weight'];constructor(a){var i=a49h;super(),this[i(0xce)]=a[i(0xce)],this[i(0xc2)]=a[i(0xc2)],this['size']=a[i(0xcc)],this[i(0xd7)]=a[i(0xd7)],this[i(0xbd)]=a[i(0xbd)],this[i(0xd0)]=a[i(0xd0)],this[i(0xcd)]=a[i(0xcd)],this['rating']=a[i(0xbe)],this['weight']=a['weight'],this[i(0xd5)]=a49e();}[a49h(0xc9)](){var j=a49h;return'You\x20use\x20the\x20'+this['name']+j(0xc0);}}function a49c(){var k=['48NBtmhz','size','texture','name','1989544CyKBgM','color','toString','search','10254035atFhHZ','(((.+)+)+)+$','uuid','10MbhiXX','category','shape','rating','70672uxuuPO','.\x20Nothing\x20special\x20happens.','12LeRsmT','description','constructor','8735148IWUoNh','6jHUDHy','9053112ZRCILc','1729903fZopEP','10145vZKwNT','use','3246ZYAbUR'];a49c=function(){return k;};return a49c();}
1
+ var a49h=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x105))/0x1*(parseInt(f(0xf4))/0x2)+-parseInt(f(0x104))/0x3*(-parseInt(f(0xf9))/0x4)+parseInt(f(0x103))/0x5*(-parseInt(f(0xfb))/0x6)+parseInt(f(0xee))/0x7+-parseInt(f(0xf2))/0x8+parseInt(f(0xf6))/0x9+parseInt(f(0xf5))/0xa*(parseInt(f(0xfd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x77126));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['toString']()['search']('(((.+)+)+)+$')[g(0x101)]()['constructor'](a49a)[g(0xfa)](g(0xf1));});a49a();import{v4 as a49e}from'uuid';function a49c(){var k=['50545nQhFzs','287052ImUjCd','1hKYyfj','shape','You\x20use\x20the\x20','529396AvQUnj','rating','texture','(((.+)+)+)+$','5157280wXxnFe','category','576868yAWiIK','6360430HNwpTX','1966959unTGHb','color','name','4BdjIae','search','108ThkxXW','uuid','11LXBlxF','weight','use','size','toString','description'];a49c=function(){return k;};return a49c();}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xee;var f=c[d];return f;},a49d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49h(0xfc)];[a49h(0xf8)];[a49h(0x102)];[a49h(0x100)];[a49h(0xf3)];[a49h(0x106)];[a49h(0xf7)];[a49h(0xf0)];[a49h(0xef)];[a49h(0xfe)];constructor(a){var i=a49h;super(),this['name']=a[i(0xf8)],this[i(0x102)]=a[i(0x102)],this[i(0x100)]=a['size'],this[i(0xf3)]=a[i(0xf3)],this[i(0x106)]=a[i(0x106)],this[i(0xf7)]=a[i(0xf7)],this[i(0xf0)]=a[i(0xf0)],this['rating']=a[i(0xef)],this[i(0xfe)]=a[i(0xfe)],this['uuid']=a49e();}[a49h(0xff)](){var j=a49h;return j(0x107)+this[j(0xf8)]+'.\x20Nothing\x20special\x20happens.';}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x1d2))/0x1*(parseInt(f(0x1d5))/0x2)+parseInt(f(0x1d8))/0x3*(-parseInt(f(0x1ce))/0x4)+parseInt(f(0x1e4))/0x5*(parseInt(f(0x1db))/0x6)+-parseInt(f(0x1e2))/0x7+parseInt(f(0x1d3))/0x8+parseInt(f(0x1d9))/0x9*(parseInt(f(0x1e6))/0xa)+parseInt(f(0x1d1))/0xb*(-parseInt(f(0x1d0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x7f3d2));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1cc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x1e0)]()['search'](h(0x1dd))[h(0x1e0)]()[h(0x1cd)](a50a)['search']('(((.+)+)+)+$');});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a50c(){const o=['5157945Ampbqk','_name','2244vgIqhM','length','(((.+)+)+)+$','moveTo','scene','toString','rooms','1194088oObqxV','name','7960KqAnlm','random','10BADPDV','floor','apply','constructor','3530656MeGwSu','speak','13872DcPQBz','1298xCqwNx','162807GEDrRZ','3036048pVCPNZ','autonomousMove','2tsJidP','execute','_dialogue','3kynWdk'];a50c=function(){return o;};return a50c();}function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1cc;let f=c[d];return f;},a50d(a,b);}export class NPC extends Player{[a50i(0x1da)];['_dialogue'];[a50i(0x1e1)];[a50i(0x1df)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x1da)]=a,this[j(0x1d7)]=b,this[j(0x1e1)]=c;}get['name'](){const k=a50i;return this[k(0x1da)];}[a50i(0x1cf)](){const l=a50i;return this['_dialogue'][Math[l(0x1e7)](Math[l(0x1e5)]()*this['_dialogue'][l(0x1dc)])];}[a50i(0x1d4)](a){const m=a50i,b=a[Math[m(0x1e7)](Math[m(0x1e5)]()*a['length'])];this[m(0x1de)](b[m(0x1e3)]);}[a50i(0x1de)](a){const n=a50i,b={'actor':this,'rooms':this[n(0x1e1)],'scene':this['scene']},c=new GoCommand(b);c[n(0x1d6)]([a]);}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x1c1))/0x1*(-parseInt(f(0x1d5))/0x2)+-parseInt(f(0x1bf))/0x3+parseInt(f(0x1cf))/0x4*(parseInt(f(0x1c3))/0x5)+-parseInt(f(0x1be))/0x6+-parseInt(f(0x1c7))/0x7*(-parseInt(f(0x1d2))/0x8)+parseInt(f(0x1ba))/0x9*(-parseInt(f(0x1bd))/0xa)+parseInt(f(0x1d1))/0xb*(parseInt(f(0x1cd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x1aa50));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()['search'](h(0x1ce))[h(0x1cc)]()[h(0x1c6)](a50a)[h(0x1c5)](h(0x1ce));});a50a();function a50c(){const n=['660xHgVEo','length','1419gLmXot','77208khrfCm','apply','moveTo','4kdhbSs','scene','387AbEBdR','random','_dialogue','46160yFQPOe','739338tlxLmk','330075gMTytW','floor','20942ItdQvO','rooms','3545mDlhrL','execute','search','constructor','14EWlhEc','name','speak','autonomousMove','_name','toString','41532hBSpPA','(((.+)+)+)+$'];a50c=function(){return n;};return a50c();}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a50d(a,b);}export class NPC extends Player{[a50i(0x1cb)];[a50i(0x1bc)];['rooms'];[a50i(0x1b9)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x1cb)]=a,this[j(0x1bc)]=b,this[j(0x1c2)]=c;}get[a50i(0x1c8)](){return this['_name'];}[a50i(0x1c9)](){const k=a50i;return this[k(0x1bc)][Math[k(0x1c0)](Math[k(0x1bb)]()*this['_dialogue'][k(0x1d0)])];}[a50i(0x1ca)](a){const l=a50i,b=a[Math[l(0x1c0)](Math['random']()*a[l(0x1d0)])];this['moveTo'](b[l(0x1c8)]);}[a50i(0x1d4)](a){const m=a50i,b={'actor':this,'rooms':this['rooms'],'scene':this[m(0x1b9)]},c=new GoCommand(b);c[m(0x1c4)]([a]);}}
@@ -1 +1 @@
1
- const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x165))/0x1*(-parseInt(f(0x16b))/0x2)+-parseInt(f(0x167))/0x3+parseInt(f(0x155))/0x4+parseInt(f(0x183))/0x5+parseInt(f(0x178))/0x6*(parseInt(f(0x158))/0x7)+-parseInt(f(0x175))/0x8*(-parseInt(f(0x187))/0x9)+parseInt(f(0x147))/0xa*(-parseInt(f(0x154))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xdf9a3));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const g=a51d;return a51a[g(0x15d)]()[g(0x184)]('(((.+)+)+)+$')[g(0x15d)]()[g(0x14b)](a51a)[g(0x184)](g(0x17d));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';function a51c(){const B=['Shield','category','\x20slot.','_playerName','ArmArmor','hat','bind','log','startLocation','write','equipment','LegArmor','Boots','canEquip','leaveRoom','140epYVla','removeInventory','leftHand','inventoryItems','constructor','Hat','armarmor','logger','currentWeight','speak','equip','Max\x20carrying\x20weight\x20must\x20be\x20positive.','name','3034735vzIaXM','6781844JDnDhS','Removed\x20','error','91882saTZqV','Helmet','values','arm\x20armor','inventory','toString','off','helmet','\x20is\x20now\x20listening\x20in\x20room\x20','Weapon','legs','.\x20You\x20must\x20unequip\x20it\x20first.','You\x20don\x27t\x20have\x20','1uOPpPa','unequipBySlot','878367vcFmgc','arms','currentLocation','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','250YFxnxq','hasItem','unequip','initialEquipment','bodyarmor','weapon','Failed\x20to\x20remove\x20','addItem','feet','maxCarryingWeight','145528gqyUZB','\x20in\x20your\x20inventory.','enterRoom','138tbUSQx','getWeight','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','Gloves','_currentLocation','(((.+)+)+)+$','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','shield','addInventory','\x20is\x20no\x20longer\x20listeng\x20in\x20','toLowerCase','7274105LPrBOq','search','determineEquipmentSlot','BodyArmor','801VtTBtk','torso','_equipment','You\x20unequipped\x20','includes','_maxCarryingWeight','\x20from\x20player\x27s\x20inventory.','legarmor','hear','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','boots','You\x20equipped\x20','gloves','_inventory','getInstance','Invalid\x20category\x20or\x20slot:\x20','head'];a51c=function(){return B;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x12f;let f=c[d];return f;},a51d(a,b);}import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51h(0x13b)];[a51h(0x17c)];[a51h(0x134)];[a51h(0x189)];[a51h(0x18c)]=0x32;['logger'];constructor(a){const i=a51h;super(),this[i(0x13b)]=a['playerName'],this[i(0x17c)]=a[i(0x140)]||new Room({'name':'Nexus','description':'A\x20featureless\x20room'}),this['_inventory']=new Inventory(),this[i(0x14e)]=Logger[i(0x135)]();if(a?.[i(0x14a)])for(const b of a[i(0x14a)]){this['_inventory'][i(0x172)](b);}this[i(0x189)]=a?.[i(0x16e)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0x153)](){const j=a51h;return this[j(0x13b)];}get[a51h(0x169)](){const k=a51h;return this[k(0x17c)];}set[a51h(0x169)](a){const l=a51h;this[l(0x17c)]!==a&&(this[l(0x146)](),this[l(0x177)](a)),this[l(0x17c)]=a;}get[a51h(0x15c)](){return this['_inventory'];}get[a51h(0x142)](){const m=a51h;return this[m(0x189)];}set['equipment'](a){const n=a51h;this[n(0x189)]=a;}get[a51h(0x174)](){const o=a51h;return this[o(0x18c)];}set[a51h(0x174)](a){const p=a51h;a>0x0?this[p(0x18c)]=a:console[p(0x157)](p(0x152));}get[a51h(0x14f)](){const q=a51h;let a=this[q(0x134)][q(0x179)]();for(const b in this[q(0x189)]){const c=this[q(0x189)][b];c&&(a+=c['weight']);}return a;}[a51h(0x180)](a){const r=a51h;if(this[r(0x14f)]+a['weight']>this[r(0x174)]){this[r(0x14e)][r(0x141)](r(0x17e));throw new Error(r(0x130));}this[r(0x134)][r(0x172)](a),this['logger'][r(0x141)]('Added\x20'+a[r(0x153)]+'\x20to\x20player\x27s\x20inventory.');}[a51h(0x148)](a){const s=a51h;if(this[s(0x134)]['removeItem'](a[s(0x153)]))return this[s(0x14e)][s(0x141)](s(0x156)+a[s(0x153)]+s(0x18d)),!![];return this[s(0x14e)][s(0x141)](s(0x171)+a['name']+s(0x18d)),![];}[a51h(0x151)](a){const t=a51h;if(!this[t(0x134)][t(0x16c)](a['name']))return t(0x164)+a['name']+t(0x176);if(!this[t(0x145)](a))return'You\x20can\x27t\x20equip\x20'+a[t(0x153)]+'.';const b=this[t(0x185)](a[t(0x139)]);if(!b)return a[t(0x153)]+t(0x17a);if(this[t(0x142)][b])return t(0x16a)+b+t(0x163);return this['equipment'][b]=a,this['removeInventory'](a),t(0x132)+a[t(0x153)]+'.';}[a51h(0x16d)](a){const u=a51h;let b=a;if(!this[u(0x142)][camelCase(b)]){b=this[u(0x185)](a);if(!b)return u(0x136)+a+'.';}return this['unequipBySlot'](b);}[a51h(0x185)](a){const v=a51h;switch(a[v(0x182)]()){case Category[v(0x161)]['toLowerCase']():return'rightHand';case Category[v(0x138)]['toLowerCase']():return v(0x149);case Category[v(0x17b)][v(0x182)]():return v(0x133);case Category[v(0x159)][v(0x182)]():case Category[v(0x14c)][v(0x182)]():return v(0x137);case Category[v(0x144)][v(0x182)]():return'feet';case Category[v(0x143)][v(0x182)]():return v(0x162);case Category[v(0x13c)]['toLowerCase']():return v(0x168);case Category[v(0x186)][v(0x182)]():return v(0x188);case v(0x170):return'rightHand';case v(0x17f):return v(0x149);case v(0x133):return v(0x133);case v(0x15f):case v(0x13d):return v(0x137);case v(0x131):return v(0x173);case'leg\x20armor':case v(0x18e):return'legs';case v(0x15b):case v(0x14d):return v(0x168);case'body\x20armor':case v(0x16f):case v(0x188):return v(0x188);default:return null;}}[a51h(0x145)](a){const w=a51h;return Object[w(0x15a)](Category)[w(0x18b)](a['category']);}[a51h(0x166)](a){const x=a51h,b=this[x(0x142)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+x(0x13a);return this['addInventory'](b),this[x(0x142)][a]=null,x(0x18a)+b[x(0x153)]+'.';}[a51h(0x12f)](a,b){const y=a51h;a!==this&&this[y(0x14e)][y(0x13f)](a[y(0x153)]+'\x20says:\x20\x22'+b+'\x22');}['enterRoom'](a){const z=a51h;this[z(0x17c)]=a,a['on'](z(0x150),this[z(0x12f)][z(0x13e)](this)),this['logger']['write'](this[z(0x153)]+z(0x160)+a[z(0x153)]);}[a51h(0x146)](){const A=a51h;this[A(0x17c)]&&(this[A(0x17c)][A(0x15e)](A(0x150),this[A(0x12f)][A(0x13e)](this)),this['logger'][A(0x141)](this[A(0x153)]+A(0x181)+this[A(0x17c)][A(0x153)]));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x22b))/0x1*(parseInt(f(0x21f))/0x2)+parseInt(f(0x215))/0x3*(parseInt(f(0x1fc))/0x4)+-parseInt(f(0x1fd))/0x5*(-parseInt(f(0x229))/0x6)+parseInt(f(0x1f8))/0x7+parseInt(f(0x230))/0x8*(parseInt(f(0x20d))/0x9)+parseInt(f(0x239))/0xa+-parseInt(f(0x236))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xde57f));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x1ed)]()[h(0x1e1)](h(0x237))[h(0x1ed)]()['constructor'](a51a)['search'](h(0x237));});a51a();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-0x1da;let f=c[d];return f;},a51d(a,b);}function a51c(){const D=['\x20slot.','6NhTeWo','maxCarryingWeight','38hTPoIW','Helmet','getWeight','helmet','unequip','40344oyOfXZ','log','body\x20armor','addItem','bind','arms','24484933nsFxPt','(((.+)+)+)+$','addInventory','10060900ICdUkL','.\x20You\x20must\x20unequip\x20it\x20first.','boots','speak','LegArmor','\x20from\x20player\x27s\x20inventory.','gloves','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','inventory','apply','search','BodyArmor','\x20is\x20no\x20longer\x20listeng\x20in\x20','leaveRoom','Invalid\x20category\x20or\x20slot:\x20','weight','hat','determineEquipmentSlot','logger','Shield','currentWeight','armarmor','toString','A\x20featureless\x20room','feet','currentLocation','getInstance','name','Removed\x20','canEquip','removeItem','shield','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','739774EAVtfd','removeInventory','\x20in\x20your\x20inventory.','head','69716taQdII','5566325fcybMZ','_playerName','Failed\x20to\x20remove\x20','equipment','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','values','Nexus','\x20is\x20now\x20listening\x20in\x20room\x20','write','Hat','Gloves','Weapon','You\x20can\x27t\x20equip\x20','legarmor','rightHand','torso','2574hGptRi','You\x20don\x27t\x20have\x20','hear','\x20says:\x20\x22','category','enterRoom','startLocation','_inventory','45FATflT','_equipment','_currentLocation','unequipBySlot','legs','error','weapon','equip','hasItem','bodyarmor','41692CBpenO','_maxCarryingWeight','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','arm\x20armor','You\x20equipped\x20','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','Boots','leftHand','toLowerCase'];a51c=function(){return D;};return a51c();}import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a51i(0x217)];[a51i(0x214)];[a51i(0x216)];[a51i(0x220)]=0x32;[a51i(0x1e9)];constructor(a){const j=a51i;super(),this[j(0x1fe)]=a['playerName'],this[j(0x217)]=a[j(0x213)]||new Room({'name':j(0x203),'description':j(0x1ee)}),this[j(0x214)]=new Inventory(),this[j(0x1e9)]=Logger[j(0x1f1)]();if(a?.['inventoryItems'])for(const b of a['inventoryItems']){this[j(0x214)][j(0x233)](b);}this[j(0x216)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x1f2)](){const k=a51i;return this[k(0x1fe)];}get['currentLocation'](){const l=a51i;return this[l(0x217)];}set[a51i(0x1f0)](a){const m=a51i;this[m(0x217)]!==a&&(this['leaveRoom'](),this[m(0x212)](a)),this[m(0x217)]=a;}get[a51i(0x1df)](){const n=a51i;return this[n(0x214)];}get[a51i(0x200)](){const o=a51i;return this[o(0x216)];}set[a51i(0x200)](a){const p=a51i;this[p(0x216)]=a;}get[a51i(0x22a)](){const q=a51i;return this[q(0x220)];}set['maxCarryingWeight'](a){const r=a51i;a>0x0?this[r(0x220)]=a:console[r(0x21a)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const s=a51i;let a=this['_inventory'][s(0x22d)]();for(const b in this[s(0x216)]){const c=this['_equipment'][b];c&&(a+=c[s(0x1e6)]);}return a;}[a51i(0x238)](a){const t=a51i;if(this[t(0x1eb)]+a[t(0x1e6)]>this[t(0x22a)]){this[t(0x1e9)][t(0x205)](t(0x224));throw new Error(t(0x221));}this[t(0x214)][t(0x233)](a),this[t(0x1e9)][t(0x205)]('Added\x20'+a[t(0x1f2)]+'\x20to\x20player\x27s\x20inventory.');}[a51i(0x1f9)](a){const u=a51i;if(this['_inventory'][u(0x1f5)](a[u(0x1f2)]))return this[u(0x1e9)][u(0x205)](u(0x1f3)+a['name']+u(0x1dc)),!![];return this[u(0x1e9)][u(0x205)](u(0x1ff)+a[u(0x1f2)]+u(0x1dc)),![];}[a51i(0x21c)](a){const v=a51i;if(!this[v(0x214)][v(0x21d)](a[v(0x1f2)]))return v(0x20e)+a[v(0x1f2)]+v(0x1fa);if(!this[v(0x1f4)](a))return v(0x209)+a[v(0x1f2)]+'.';const b=this[v(0x1e8)](a[v(0x211)]);if(!b)return a[v(0x1f2)]+v(0x1f7);if(this['equipment'][b])return v(0x201)+b+v(0x23a);return this[v(0x200)][b]=a,this[v(0x1f9)](a),v(0x223)+a[v(0x1f2)]+'.';}[a51i(0x22f)](a){const w=a51i;let b=a;if(!this[w(0x200)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return w(0x1e5)+a+'.';}return this[w(0x218)](b);}[a51i(0x1e8)](a){const x=a51i;switch(a['toLowerCase']()){case Category[x(0x208)]['toLowerCase']():return'rightHand';case Category[x(0x1ea)]['toLowerCase']():return x(0x226);case Category[x(0x207)][x(0x227)]():return x(0x1dd);case Category[x(0x22c)][x(0x227)]():case Category[x(0x206)][x(0x227)]():return x(0x1fb);case Category[x(0x225)][x(0x227)]():return x(0x1ef);case Category[x(0x1db)][x(0x227)]():return x(0x219);case Category['ArmArmor'][x(0x227)]():return x(0x235);case Category[x(0x1e2)][x(0x227)]():return x(0x20c);case x(0x21b):return x(0x20b);case x(0x1f6):return x(0x226);case'gloves':return'gloves';case x(0x22e):case x(0x1e7):return'head';case x(0x23b):return x(0x1ef);case'leg\x20armor':case x(0x20a):return'legs';case x(0x222):case x(0x1ec):return x(0x235);case x(0x232):case x(0x21e):case x(0x20c):return x(0x20c);default:return null;}}[a51i(0x1f4)](a){const y=a51i;return Object[y(0x202)](Category)['includes'](a[y(0x211)]);}[a51i(0x218)](a){const z=a51i,b=this[z(0x200)][a];if(!b)return z(0x1de)+a+z(0x228);return this['addInventory'](b),this[z(0x200)][a]=null,'You\x20unequipped\x20'+b['name']+'.';}['hear'](a,b){const A=a51i;a!==this&&this[A(0x1e9)][A(0x231)](a[A(0x1f2)]+A(0x210)+b+'\x22');}[a51i(0x212)](a){const B=a51i;this[B(0x217)]=a,a['on'](B(0x1da),this[B(0x20f)][B(0x234)](this)),this['logger'][B(0x205)](this[B(0x1f2)]+B(0x204)+a[B(0x1f2)]);}[a51i(0x1e4)](){const C=a51i;this[C(0x217)]&&(this[C(0x217)]['off'](C(0x1da),this['hear'][C(0x234)](this)),this[C(0x1e9)][C(0x205)](this[C(0x1f2)]+C(0x1e3)+this[C(0x217)][C(0x1f2)]));}}
@@ -1 +1 @@
1
- function a52c(){var n=['requiredItem','successMessage','(((.+)+)+)+$','4296726ZrtzQk','You\x20have\x20already\x20solved\x20this\x20puzzle.','search','66087nmpXdf','requiredPhrase','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','1208jbkIdB','2733489uTUYkQ','solved','write','matchesRequiredPhrase','1203846zIaXwg','hasItem','toString','rewardItem','hasRequiredItem','647235BXNywm','getInstance','riddle','Puzzle:\x20Correct\x20solution\x20provided.','2236564ICJqIb','apply','1599450EKlRXW','logger','failureMessage','You\x20solved\x20the\x20puzzle!','5WQpKxh'];a52c=function(){return n;};return a52c();}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x11a))/0x1+parseInt(f(0x115))/0x2+-parseInt(f(0x12f))/0x3+parseInt(f(0x11e))/0x4*(-parseInt(f(0x124))/0x5)+parseInt(f(0x120))/0x6+parseInt(f(0x128))/0x7+parseInt(f(0x12e))/0x8*(parseInt(f(0x12b))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x739e2));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x117)]()[h(0x12a)](h(0x127))['toString']()['constructor'](a52a)[h(0x12a)](h(0x127));});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-0x112;var f=c[d];return f;},a52d(a,b);}export class Puzzle extends AbstractPuzzle{[a52i(0x121)]=Logger[a52i(0x11b)]();[a52i(0x112)]=![];[a52i(0x125)];['requiredPhrase'];['riddle'];[a52i(0x118)];[a52i(0x126)];[a52i(0x122)];constructor(a){var j=a52i;super(),this[j(0x125)]=a[j(0x125)],this[j(0x12c)]=a[j(0x12c)],this[j(0x11c)]=a[j(0x11c)],this[j(0x118)]=a['rewardItem'],this[j(0x126)]=a[j(0x126)]||j(0x123),this['failureMessage']=a[j(0x122)]||j(0x12d);}[a52i(0x119)](a){var k=a52i;if(this[k(0x125)])return a[k(0x116)](this[k(0x125)]);return![];}[a52i(0x114)](a){var l=a52i;return this[l(0x12c)]===a;}['solve'](a,b){var m=a52i;if(this[m(0x112)])return this['logger'][m(0x113)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':m(0x129)};return this['hasRequiredItem'](b)||this[m(0x114)](a)?(this[m(0x112)]=!![],this['logger']['write'](m(0x11d)),{'success':!![],'message':this[m(0x126)]}):(this['logger'][m(0x113)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[m(0x122)]});}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x173))/0x1+-parseInt(f(0x179))/0x2+parseInt(f(0x172))/0x3*(parseInt(f(0x177))/0x4)+-parseInt(f(0x186))/0x5*(-parseInt(f(0x175))/0x6)+-parseInt(f(0x180))/0x7*(-parseInt(f(0x16f))/0x8)+-parseInt(f(0x17c))/0x9*(-parseInt(f(0x18f))/0xa)+-parseInt(f(0x171))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xaf985));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x18c)]()[h(0x17e)](h(0x187))[h(0x18c)]()[h(0x174)](a52a)[h(0x17e)](h(0x187));});a52a();import{Logger}from'../utilities/logger.js';function a52c(){var n=['failureMessage','4234713pQAGnp','rewardItem','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','apply','matchesRequiredPhrase','3546085ApuShI','(((.+)+)+)+$','getInstance','You\x20have\x20already\x20solved\x20this\x20puzzle.','solve','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','toString','solved','successMessage','40iOIkue','hasItem','8ePmqcs','logger','10478699ibzsYP','3cXIyCa','730597rKZNtp','constructor','6EwtYUn','hasRequiredItem','4644932IhGzHG','write','149020dwjECR','requiredPhrase','riddle','3474HErpmZ','requiredItem','search'];a52c=function(){return n;};return a52c();}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x16f;var f=c[d];return f;},a52d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a52i(0x188)]();[a52i(0x18d)]=![];[a52i(0x17d)];[a52i(0x17a)];[a52i(0x17b)];[a52i(0x181)];[a52i(0x18e)];[a52i(0x17f)];constructor(a){var j=a52i;super(),this[j(0x17d)]=a[j(0x17d)],this[j(0x17a)]=a[j(0x17a)],this[j(0x17b)]=a[j(0x17b)],this[j(0x181)]=a[j(0x181)],this[j(0x18e)]=a[j(0x18e)]||'You\x20solved\x20the\x20puzzle!',this[j(0x17f)]=a['failureMessage']||j(0x182);}[a52i(0x176)](a){var k=a52i;if(this['requiredItem'])return a[k(0x190)](this[k(0x17d)]);return![];}['matchesRequiredPhrase'](a){var l=a52i;return this[l(0x17a)]===a;}[a52i(0x18a)](a,b){var m=a52i;if(this[m(0x18d)])return this[m(0x170)][m(0x178)](m(0x18b)),{'success':![],'message':m(0x189)};return this['hasRequiredItem'](b)||this[m(0x185)](a)?(this[m(0x18d)]=!![],this[m(0x170)][m(0x178)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this['successMessage']}):(this[m(0x170)][m(0x178)](m(0x183)),{'success':![],'message':this[m(0x17f)]});}}
@@ -1 +1 @@
1
- const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x122))/0x1*(-parseInt(f(0x103))/0x2)+-parseInt(f(0x101))/0x3+-parseInt(f(0x131))/0x4+parseInt(f(0xfb))/0x5*(-parseInt(f(0x127))/0x6)+-parseInt(f(0xf9))/0x7+-parseInt(f(0x12f))/0x8+-parseInt(f(0x10e))/0x9*(-parseInt(f(0x126))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xd880a));const a53b=(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;};}()),a53a=a53b(this,function(){const g=a53d;return a53a[g(0xf8)]()[g(0x11f)](g(0x120))[g(0xf8)]()[g(0x12b)](a53a)[g(0x11f)](g(0x120));});a53a();import{Logger}from'../utilities/logger.js';function a53c(){const t=['1151515ERhEuy','south','exits','\x20unlocked!','getInstance','get','4976025rIXQMb','emit','973162LLKadq','NORTH','SOUTH','\x20remains\x20locked.','north','puzzle','set','roomType','DOWN','EAST','addExit','3879ubnYtE','\x20is\x20locked.\x20Result:\x20','inventory','Checking\x20if\x20exit\x20in\x20direction\x20','down','The\x20','Fetching\x20exit\x20in\x20direction:\x20','findExistingDoor','removeItem','write','name','logger','west','Room\x20created:\x20','hasItem','addItem','speak','search','(((.+)+)+)+$','setPuzzle','1kTdfRM','values','.\x20Success:\x20','description','106270nuzyfP','6aHiXHX','Item\x20added\x20to\x20room\x20','attemptUnlockExit','attemptUnlock','constructor','isStartRoom','roomB','roomA','4482264wfXmWH','getOppositeDirection','3152532ZMnZUx','WEST','toString','6598410ZjhkCI','getExit'];a53c=function(){return t;};return a53c();}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xf7;let f=c[d];return f;},a53d(a,b);}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53h(0x119)]=Logger[a53h(0xff)]();[a53h(0x118)];[a53h(0x125)];['exits']=new Map();[a53h(0x10a)];['isStartRoom'];[a53h(0x110)]=new Inventory();constructor(a){const i=a53h;super(),this[i(0x118)]=a['name'],this[i(0x125)]=a[i(0x125)],this[i(0x10a)]=a[i(0x10a)]||RoomType['INSIDE'],a['exits']&&(this[i(0xfd)]=a[i(0xfd)]||new Map()),a[i(0x110)]&&(this[i(0x110)]=a[i(0x110)]),a[i(0x108)]&&(this[i(0x108)]=a[i(0x108)]),this[i(0x12c)]=a[i(0x12c)]||![],this[i(0x119)][i(0x117)](i(0x11b)+this[i(0x118)]);}['say'](a,b){const j=a53h;this[j(0x102)](j(0x11e),a,b);}[a53h(0x10d)](a,b,c){const k=a53h;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0xfd)][k(0x109)](a,d),b[k(0xfd)][k(0x109)](this['getOppositeDirection'](a),d);}[a53h(0x129)](a,b){const l=a53h,c=this[l(0xfd)][l(0x100)](a);if(c instanceof Door){const d=c[l(0x12a)](b);return this[l(0x119)]['write']('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+l(0x124)+d),d?l(0x113)+c[l(0x118)]+l(0xfe):l(0x113)+c['name']+l(0x106);}return this['logger'][l(0x117)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a53h(0xfa)](a){const m=a53h;return this[m(0x119)]['write'](m(0x114)+a),this[m(0xfd)][m(0x100)](a);}['isExitLocked'](a){const n=a53h,b=this['exits']['get'](a),c=b instanceof Door&&b['checkIfLocked']();return this['logger']['write'](n(0x111)+a+n(0x10f)+c),c;}['addItem'](a){const o=a53h;this['inventory'][o(0x11d)](a),this['logger'][o(0x117)](o(0x128)+this[o(0x118)]+':\x20'+a[o(0x118)]);}[a53h(0x116)](a){const p=a53h;this[p(0x110)][p(0x11c)](a[p(0x118)])?(this['inventory']['removeItem'](a[p(0x118)]),this['logger']['write']('Item\x20removed\x20from\x20room\x20'+this[p(0x118)]+':\x20'+a[p(0x118)])):this[p(0x119)][p(0x117)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[p(0x118)]+':\x20'+a['name']);}[a53h(0x121)](a){const q=a53h;this[q(0x108)]=a,this[q(0x119)][q(0x117)]('Puzzle\x20set\x20for\x20room\x20'+this['name']+':\x20'+a['riddle']);}[a53h(0x130)](a){const r=a53h;switch(a){case r(0x107):return Direction[r(0x105)];case r(0xfc):return Direction[r(0x104)];case'east':return Direction[r(0xf7)];case r(0x11a):return Direction[r(0x10c)];case'up':return Direction[r(0x10b)];case r(0x112):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53h(0x115)](a){const s=a53h;for(const b of this[s(0xfd)][s(0x123)]()){if(b instanceof Door){if(b[s(0x12e)]===this&&b[s(0x12d)]===a||b[s(0x12d)]===this&&b[s(0x12e)]===a)return b;}}return undefined;}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x1bf))/0x1+parseInt(f(0x1bd))/0x2+-parseInt(f(0x1a6))/0x3+parseInt(f(0x192))/0x4+parseInt(f(0x1c1))/0x5*(-parseInt(f(0x1a9))/0x6)+-parseInt(f(0x19a))/0x7+parseInt(f(0x1c3))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x49c84));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x1a1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x193)]()[h(0x1c8)](h(0x1a2))[h(0x193)]()[h(0x1c6)](a53a)[h(0x1c8)](h(0x1a2));});a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x18c;let f=c[d];return f;},a53d(a,b);}import{Logger}from'../utilities/logger.js';function a53c(){const u=['setPuzzle','constructor','logger','search','findExistingDoor','addItem','Puzzle\x20set\x20for\x20room\x20','Fetching\x20exit\x20in\x20direction:\x20','No\x20locked\x20exit\x20found\x20in\x20direction\x20','getInstance','1754168FkCDoG','toString','WEST','write','roomA','hasItem','isExitLocked','attemptUnlockExit','46858mqZiJm','NORTH','EAST','Room\x20created:\x20','set','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','getExit','apply','(((.+)+)+)+$','inventory','.\x20Success:\x20','\x20is\x20locked.\x20Result:\x20','1415838dwMORx','speak','east','6DdsalN','exits','\x20unlocked!','Item\x20added\x20to\x20room\x20','attemptUnlock','INSIDE','removeItem','west','Checking\x20if\x20exit\x20in\x20direction\x20','roomB','isStartRoom','Item\x20removed\x20from\x20room\x20','down','DOWN','south','description','Invalid\x20direction:\x20','getOppositeDirection','puzzle','roomType','43028GvzFcx','get','18104Akdzhn','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','824830ygHTxc','The\x20','3741264fyTqqI','name'];a53c=function(){return u;};return a53c();}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger[a53i(0x191)]();[a53i(0x1c4)];['description'];[a53i(0x1aa)]=new Map();[a53i(0x1bc)];[a53i(0x1b3)];[a53i(0x1a3)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x1c4)]=a[j(0x1c4)],this[j(0x1b8)]=a['description'],this[j(0x1bc)]=a[j(0x1bc)]||RoomType[j(0x1ae)],a[j(0x1aa)]&&(this[j(0x1aa)]=a[j(0x1aa)]||new Map()),a[j(0x1a3)]&&(this[j(0x1a3)]=a[j(0x1a3)]),a[j(0x1bb)]&&(this[j(0x1bb)]=a[j(0x1bb)]),this[j(0x1b3)]=a[j(0x1b3)]||![],this[j(0x1c7)]['write'](j(0x19d)+this[j(0x1c4)]);}['say'](a,b){const k=a53i;this['emit'](k(0x1a7),a,b);}['addExit'](a,b,c){const l=a53i;let d=this[l(0x18c)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1aa)][l(0x19e)](a,d),b['exits'][l(0x19e)](this['getOppositeDirection'](a),d);}[a53i(0x199)](a,b){const m=a53i,c=this['exits'][m(0x1be)](a);if(c instanceof Door){const d=c[m(0x1ad)](b);return this['logger']['write']('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0x1a4)+d),d?m(0x1c2)+c[m(0x1c4)]+m(0x1ab):'The\x20'+c['name']+'\x20remains\x20locked.';}return this['logger'][m(0x195)](m(0x190)+a),m(0x19f);}[a53i(0x1a0)](a){const n=a53i;return this[n(0x1c7)][n(0x195)](n(0x18f)+a),this['exits'][n(0x1be)](a);}[a53i(0x198)](a){const o=a53i,b=this[o(0x1aa)]['get'](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0x1c7)][o(0x195)](o(0x1b1)+a+o(0x1a5)+c),c;}[a53i(0x18d)](a){const p=a53i;this[p(0x1a3)][p(0x18d)](a),this[p(0x1c7)][p(0x195)](p(0x1ac)+this['name']+':\x20'+a[p(0x1c4)]);}[a53i(0x1af)](a){const q=a53i;this[q(0x1a3)][q(0x197)](a['name'])?(this[q(0x1a3)][q(0x1af)](a[q(0x1c4)]),this[q(0x1c7)][q(0x195)](q(0x1b4)+this['name']+':\x20'+a['name'])):this[q(0x1c7)]['write'](q(0x1c0)+this[q(0x1c4)]+':\x20'+a['name']);}[a53i(0x1c5)](a){const r=a53i;this[r(0x1bb)]=a,this[r(0x1c7)][r(0x195)](r(0x18e)+this[r(0x1c4)]+':\x20'+a['riddle']);}[a53i(0x1ba)](a){const s=a53i;switch(a){case'north':return Direction['SOUTH'];case s(0x1b7):return Direction[s(0x19b)];case s(0x1a8):return Direction[s(0x194)];case s(0x1b0):return Direction[s(0x19c)];case'up':return Direction[s(0x1b6)];case s(0x1b5):return Direction['UP'];default:throw new Error(s(0x1b9)+a);}}[a53i(0x18c)](a){const t=a53i;for(const b of this[t(0x1aa)]['values']()){if(b instanceof Door){if(b[t(0x196)]===this&&b[t(0x1b2)]===a||b[t(0x1b2)]===this&&b[t(0x196)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x14f))/0x1+-parseInt(i(0x17c))/0x2*(-parseInt(i(0x161))/0x3)+-parseInt(i(0x14e))/0x4+parseInt(i(0x145))/0x5*(-parseInt(i(0x168))/0x6)+parseInt(i(0x138))/0x7+-parseInt(i(0x142))/0x8+parseInt(i(0x180))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x3a065));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x182)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x176)]()[k(0x16b)](k(0x16e))[k(0x176)]()[k(0x15f)](a54a)[k(0x16b)](k(0x16e));});function a54c(){const D=['No\x20actor\x20with\x20name\x20','\x20to\x20room\x20','length','getInstance','hasOwnProperty','setPuzzle','474HNISsx','get','\x27s\x20location.\x20Room\x20','search','keys','Failed\x20to\x20add\x20puzzle.\x20Room\x20','(((.+)+)+)+$','createExitsFromConfig','push','addExit','roomFactory','addPuzzleToRoom','warn','Removed\x20room\x20from\x20scene:\x20','toString','write','\x20not\x20found\x20in\x20scene.','connectRooms','Failed\x20to\x20set\x20','getRooms','52HpRGTo','has','determineStartRoom','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','5558841vPjUBt','setCharacterLocation','apply','1488235OitKqA','join','player','name','characterLocations','removeActor','addItem','logger','from','set','104288EBjpBp','addItemToRoom','\x20found\x20in\x20the\x20scene.','11965NiiCqo','Scene\x20initialized\x20with\x20rooms:\x20','direction','delete','roomConfiguration','rooms','keyRequired','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','targetRoom','1092916vsFiOz','450905gheaqF','exits','Room\x20\x22','actors','createRoom','Added\x20item\x20','initialize','getCharacterLocation','Added\x20puzzle\x20to\x20room\x20','\x20is\x20now\x20in\x20room\x20','addActor','removeRoom','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','\x22\x20does\x20not\x20exist.','Failed\x20to\x20add\x20item\x20','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','constructor','values','38496uylqKR'];a54c=function(){return D;};return a54c();}a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x138;let f=c[d];return f;},a54d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x14a)];[a54l(0x13a)];[a54l(0x13f)];[a54l(0x152)];[a54l(0x13c)]=new Map();['roomFactory'];constructor(a){const m=a54l;super(),this[m(0x172)]=new RoomFactory(),this[m(0x13a)]=a[m(0x13a)],this[m(0x14a)]=this['generateRoomsFromConfig'](a[m(0x149)]),this[m(0x13f)]=Logger[m(0x165)](),this['actors']=new Map(),this[m(0x16f)](a[m(0x149)]),this[m(0x13f)]['write'](m(0x146)+Object['keys'](this[m(0x14a)])[m(0x139)](',\x20'));}[a54l(0x155)](){const n=a54l;this['player']['currentLocation']=this[n(0x17e)]();}['generateRoomsFromConfig'](a){const o=a54l;if(!this['roomFactory'])throw new Error(o(0x15e));const b={};for(const c of a){const d=this[o(0x172)][o(0x153)](c);b[c[o(0x13b)]]=d;}return b;}[a54l(0x16f)](a){const p=a54l;for(const b of a){const c=this[p(0x14a)][b['name']];if(b[p(0x150)])for(const d of b[p(0x150)]){const e=d[p(0x147)]['toUpperCase'](),f=d[p(0x14d)],g=d[p(0x14b)],h=this['rooms'][f];h&&c['addExit'](Direction[e],h,g);}}}[a54l(0x159)](a){const q=a54l;if(this[q(0x152)][q(0x17d)](a[q(0x13b)]))throw new Error('Actor\x20with\x20name\x20'+a['name']+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x152)][q(0x141)](a[q(0x13b)],a);}[a54l(0x13d)](a){const r=a54l;if(!this[r(0x152)][r(0x17d)](a))throw new Error(r(0x162)+a+r(0x144));this[r(0x152)][r(0x148)](a);}['getActor'](a){const s=a54l;return this[s(0x152)][s(0x169)](a);}get['allActors'](){const t=a54l;return Array[t(0x140)](this['actors'][t(0x160)]());}['addRoom'](a){const u=a54l;this[u(0x14a)][a[u(0x13b)]]=a,this[u(0x13f)]['write']('Added\x20room\x20to\x20scene:\x20'+a[u(0x13b)]);}[a54l(0x15a)](a){const v=a54l;return this['rooms'][a]?(delete this[v(0x14a)][a],this['logger'][v(0x177)](v(0x175)+a),!![]):(this[v(0x13f)][v(0x177)](v(0x14c)+a),![]);}[a54l(0x143)](a,b){const w=a54l,c=this['rooms'][b];c?(c[w(0x13e)](a),this[w(0x13f)]['write'](w(0x154)+a['name']+w(0x163)+c[w(0x13b)])):this[w(0x13f)][w(0x177)](w(0x15d)+a[w(0x13b)]+'.\x20Room\x20'+b+w(0x178));}[a54l(0x173)](a,b){const x=a54l,c=this[x(0x14a)][b];c?(c[x(0x167)](a),this[x(0x13f)]['write'](x(0x157)+c['name'])):this['logger'][x(0x177)](x(0x16d)+b+x(0x178));}[a54l(0x181)](a,b){const y=a54l,c=this[y(0x14a)][b];c?(this['characterLocations'][y(0x141)](a[y(0x13b)],c),this[y(0x13f)]['write'](a[y(0x13b)]+y(0x158)+c[y(0x13b)])):this[y(0x13f)]['write'](y(0x17a)+a[y(0x13b)]+y(0x16a)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x156)](a){const z=a54l;return this['characterLocations']['get'](a[z(0x13b)]);}['determineStartRoom'](){const A=a54l,a=[];for(const c in this[A(0x14a)]){if(this[A(0x14a)][A(0x166)](c)){const d=this[A(0x14a)][c];d['isStartRoom']&&a[A(0x170)](d);}}if(a[A(0x164)]>0x1)throw new Error(A(0x17f));if(a['length']===0x1)return a[0x0];const b=Object[A(0x16c)](this['rooms']);if(b['length']===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[A(0x174)](A(0x15b)),this[A(0x14a)][b[0x0]];}['getPlayer'](){const B=a54l;return this[B(0x13a)];}[a54l(0x17b)](){return this['rooms'];}[a54l(0x179)](a,b,c,d){const C=a54l,e=this[C(0x14a)][a],f=this['rooms'][c];if(!e)throw new Error(C(0x151)+a+C(0x15c));if(!f)throw new Error(C(0x151)+c+C(0x15c));e[C(0x171)](b,f,d);}}
1
+ const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x1a9))/0x1*(parseInt(i(0x1aa))/0x2)+parseInt(i(0x1a8))/0x3+parseInt(i(0x1da))/0x4+-parseInt(i(0x1e6))/0x5*(parseInt(i(0x1ae))/0x6)+-parseInt(i(0x1bb))/0x7*(-parseInt(i(0x1cc))/0x8)+-parseInt(i(0x1a7))/0x9*(-parseInt(i(0x1df))/0xa)+parseInt(i(0x1d1))/0xb*(parseInt(i(0x1c3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x9a499));function a54c(){const E=['Room\x20Factory\x20was\x20not\x20correctly\x20initialized','keys','toUpperCase','player','delete','rooms','Failed\x20to\x20add\x20puzzle.\x20Room\x20','132016YGfOIe','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','Added\x20item\x20','keyRequired','.\x20Room\x20','11qSChpZ','\x20is\x20now\x20in\x20room\x20','set','getActor','Failed\x20to\x20add\x20item\x20','addExit','addRoom','\x20not\x20found\x20in\x20scene.','(((.+)+)+)+$','1974356kbvTem','\x20already\x20exists\x20in\x20the\x20scene.','apply','generateRoomsFromConfig','name','40jlbPLZ','search','Added\x20room\x20to\x20scene:\x20','values','initialize','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','has','82105DyISJs','setPuzzle','Actor\x20with\x20name\x20','warn','determineStartRoom','createRoom','logger','createExitsFromConfig','targetRoom','removeActor','Scene\x20initialized\x20with\x20rooms:\x20','\x27s\x20location.\x20Room\x20','roomFactory','472167ebrZwt','2310333oDXZUi','132409sBnlob','14KbdXII','roomConfiguration','actors','\x20to\x20room\x20','282UdhqBC','getInstance','direction','allActors','toString','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','get','Room\x20\x22','Added\x20puzzle\x20to\x20room\x20','\x20found\x20in\x20the\x20scene.','\x22\x20does\x20not\x20exist.','Removed\x20room\x20from\x20scene:\x20','characterLocations','91XobYOG','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','Failed\x20to\x20set\x20','write','getPlayer','length','getCharacterLocation','No\x20actor\x20with\x20name\x20','7710396PRObYy','exits'];a54c=function(){return E;};return a54c();}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x1b2)]()['search'](k(0x1d9))[k(0x1b2)]()['constructor'](a54a)[k(0x1e0)](k(0x1d9));});a54a();import{Logger}from'../utilities/logger.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1a4;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';export class Scene extends AbstractScene{[a54l(0x1ca)];[a54l(0x1c8)];[a54l(0x1ec)];[a54l(0x1ac)];[a54l(0x1ba)]=new Map();[a54l(0x1a6)];constructor(a){const m=a54l;super(),this[m(0x1a6)]=new RoomFactory(),this[m(0x1c8)]=a[m(0x1c8)],this['rooms']=this[m(0x1dd)](a[m(0x1ab)]),this['logger']=Logger[m(0x1af)](),this[m(0x1ac)]=new Map(),this[m(0x1ed)](a['roomConfiguration']),this[m(0x1ec)][m(0x1be)](m(0x1a4)+Object['keys'](this[m(0x1ca)])['join'](',\x20'));}[a54l(0x1e3)](){const n=a54l;this[n(0x1c8)]['currentLocation']=this[n(0x1ea)]();}[a54l(0x1dd)](a){const o=a54l;if(!this[o(0x1a6)])throw new Error(o(0x1c5));const b={};for(const c of a){const d=this[o(0x1a6)][o(0x1eb)](c);b[c[o(0x1de)]]=d;}return b;}[a54l(0x1ed)](a){const p=a54l;for(const b of a){const c=this['rooms'][b['name']];if(b[p(0x1c4)])for(const d of b[p(0x1c4)]){const e=d[p(0x1b0)][p(0x1c7)](),f=d[p(0x1ee)],g=d[p(0x1cf)],h=this['rooms'][f];h&&c[p(0x1d6)](Direction[e],h,g);}}}['addActor'](a){const q=a54l;if(this[q(0x1ac)][q(0x1e5)](a['name']))throw new Error(q(0x1e8)+a['name']+q(0x1db));this[q(0x1ac)]['set'](a[q(0x1de)],a);}[a54l(0x1ef)](a){const r=a54l;if(!this['actors']['has'](a))throw new Error(r(0x1c2)+a+r(0x1b7));this['actors'][r(0x1c9)](a);}[a54l(0x1d4)](a){const s=a54l;return this[s(0x1ac)]['get'](a);}get[a54l(0x1b1)](){const t=a54l;return Array['from'](this[t(0x1ac)][t(0x1e2)]());}[a54l(0x1d7)](a){const u=a54l;this[u(0x1ca)][a['name']]=a,this[u(0x1ec)]['write'](u(0x1e1)+a['name']);}['removeRoom'](a){const v=a54l;return this[v(0x1ca)][a]?(delete this['rooms'][a],this[v(0x1ec)][v(0x1be)](v(0x1b9)+a),!![]):(this[v(0x1ec)][v(0x1be)](v(0x1e4)+a),![]);}['addItemToRoom'](a,b){const w=a54l,c=this[w(0x1ca)][b];c?(c['addItem'](a),this[w(0x1ec)][w(0x1be)](w(0x1ce)+a[w(0x1de)]+w(0x1ad)+c[w(0x1de)])):this[w(0x1ec)]['write'](w(0x1d5)+a[w(0x1de)]+w(0x1d0)+b+w(0x1d8));}['addPuzzleToRoom'](a,b){const x=a54l,c=this[x(0x1ca)][b];c?(c[x(0x1e7)](a),this[x(0x1ec)][x(0x1be)](x(0x1b6)+c['name'])):this[x(0x1ec)][x(0x1be)](x(0x1cb)+b+x(0x1d8));}['setCharacterLocation'](a,b){const y=a54l,c=this['rooms'][b];c?(this[y(0x1ba)][y(0x1d3)](a[y(0x1de)],c),this[y(0x1ec)]['write'](a['name']+y(0x1d2)+c[y(0x1de)])):this['logger'][y(0x1be)](y(0x1bd)+a['name']+y(0x1a5)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x1c1)](a){const z=a54l;return this[z(0x1ba)][z(0x1b4)](a['name']);}[a54l(0x1ea)](){const A=a54l,a=[];for(const c in this[A(0x1ca)]){if(this['rooms']['hasOwnProperty'](c)){const d=this['rooms'][c];d['isStartRoom']&&a['push'](d);}}if(a[A(0x1c0)]>0x1)throw new Error(A(0x1bc));if(a[A(0x1c0)]===0x1)return a[0x0];const b=Object[A(0x1c6)](this[A(0x1ca)]);if(b['length']===0x0)throw new Error(A(0x1cd));return console[A(0x1e9)](A(0x1b3)),this[A(0x1ca)][b[0x0]];}[a54l(0x1bf)](){const B=a54l;return this[B(0x1c8)];}['getRooms'](){const C=a54l;return this[C(0x1ca)];}['connectRooms'](a,b,c,d){const D=a54l,e=this[D(0x1ca)][a],f=this[D(0x1ca)][c];if(!e)throw new Error(D(0x1b5)+a+D(0x1b8));if(!f)throw new Error(D(0x1b5)+c+D(0x1b8));e[D(0x1d6)](b,f,d);}}
@@ -1 +1 @@
1
- var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xa1))/0x1*(parseInt(f(0x93))/0x2)+parseInt(f(0xca))/0x3+-parseInt(f(0xb6))/0x4+parseInt(f(0x9f))/0x5*(parseInt(f(0xbb))/0x6)+parseInt(f(0xb1))/0x7*(-parseInt(f(0xc9))/0x8)+-parseInt(f(0xaa))/0x9*(-parseInt(f(0x9b))/0xa)+-parseInt(f(0x96))/0xb*(parseInt(f(0xa3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x7e350));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0xaf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0xc5)]()[h(0xa9)]('(((.+)+)+)+$')[h(0xc5)]()['constructor'](a55a)['search'](h(0xc0));});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(0xc4)],'category':Category[i(0xb5)],'shape':Shape[i(0xac)],'color':Color[i(0x9e)],'texture':Texture[i(0x9d)],'rating':Rating[i(0xa8)],'weight':0x1});}[a55j(0xb9)](){var k=a55j;return this[k(0xae)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size[l(0xc4)],'category':Category[l(0xb4)],'shape':Shape['Blade'],'color':Color[l(0xa6)],'texture':Texture[l(0xc3)],'rating':Rating[l(0xa8)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0xb2)],'category':Category['Weapon'],'shape':Shape[m(0xc7)],'color':Color['Brown'],'texture':Texture[m(0xc3)],'rating':Rating[m(0xb3)],'weight':0x7});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x93;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['Medium'],'category':Category['Helmet'],'shape':Shape['Circle'],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[n(0xa8)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size[o(0xb2)],'category':Category[o(0xb0)],'shape':Shape[o(0xac)],'color':Color['Grey'],'texture':Texture[o(0xc3)],'rating':Rating[o(0xa8)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0xc4)],'category':Category['LegArmor'],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[p(0xc3)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0xc4)],'category':Category['Boots'],'shape':Shape['Circle'],'color':Color[q(0xa7)],'texture':Texture[q(0x9d)],'rating':Rating[q(0xa8)],'weight':0x2});}}function a55c(){var E=['2819337zxTiPZ','1258XUyjgj','Unknown\x20Author','Tiny','11dBkccm','Small','You\x20hold\x20the\x20','Sniper\x20Rifle','Key','2437970djhggs','Gold','Smooth','Yellow','785TlimNF','pageCount','61YZfSEM','Blade','1749684vfqZGt','Cup','publishDate','Grey','Brown','Common','search','18dvNQCs','ArmArmor','Rectangle','Holy\x20Grail','description','apply','BodyArmor','174790ypwoGc','Large','Rare','Weapon','Unknown','4115488VGpMrN','author','\x20aloft,\x20feeling\x20its\x20immense\x20power.','use','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','22062jYYAjP','name','Legendary','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Short\x20Sword','(((.+)+)+)+$','A\x20mysterious\x20book.','Gloves','Metallic','Medium','toString','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Rifle','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','88dTFrof'];a55c=function(){return E;};return a55c();}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x97)],'category':Category[r(0xc2)],'shape':Shape['Circle'],'color':Color[r(0xa7)],'texture':Texture['Smooth'],'rating':Rating[r(0xa8)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[s(0xab)],'shape':Shape[s(0xac)],'color':Color['Grey'],'texture':Texture[s(0xc3)],'rating':Rating[s(0xa8)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x95)],'category':Category[t(0x9a)],'shape':Shape['Rectangle'],'color':Color[t(0x9e)],'texture':Texture[t(0x9d)],'rating':Rating[t(0xa8)],'weight':0x0});}[a55j(0xb9)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var u=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[u(0xb4)],'shape':Shape[u(0xa2)],'color':Color[u(0xa6)],'texture':Texture['Metallic'],'rating':Rating[u(0xa8)],'weight':0x3});}[a55j(0xb9)](){var v=a55j;return v(0xc8);}}export class Book extends Item{[a55j(0xb7)];['publishDate'];[a55j(0xa0)];constructor(a,b=a55j(0xc1),c=a55j(0x94)){var w=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Book'],'shape':Shape[w(0xac)],'color':Color[w(0xa7)],'texture':Texture['Smooth'],'rating':Rating[w(0xa8)],'weight':0x1}),this[w(0xb7)]=c,this[w(0xa5)]=new Date(),this[w(0xa0)]=0x64;}[a55j(0xb9)](){var x=a55j;return x(0xc6);}}export class ShortSword extends Item{constructor(){var y=a55j;super({'name':y(0xbf),'description':'A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','size':Size[y(0xc4)],'category':Category[y(0xb4)],'shape':Shape[y(0xa2)],'color':Color[y(0xa6)],'texture':Texture[y(0xc3)],'rating':Rating['Common'],'weight':0x3});}[a55j(0xb9)](){var z=a55j;return z(0xc8);}}export class SniperRifle extends Item{constructor(){var A=a55j;super({'name':A(0x99),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[A(0xb2)],'category':Category[A(0xb4)],'shape':Shape[A(0xc7)],'color':Color[A(0xa7)],'texture':Texture[A(0x9d)],'rating':Rating[A(0xa8)],'weight':0x5});}['use'](){var B=a55j;return B(0xba);}}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':C(0xad),'description':C(0xbe),'size':Size[C(0x97)],'category':Category[C(0xa4)],'shape':Shape['Circle'],'color':Color[C(0x9c)],'texture':Texture[C(0xc3)],'rating':Rating[C(0xbd)],'weight':0x1});}[a55j(0xb9)](){var D=a55j;return D(0x98)+this[D(0xbc)]+D(0xb8);}}
1
+ function a55c(){var E=['Tiny','Key','constructor','Blade','publishDate','291801BTqfxl','Gloves','\x20aloft,\x20feeling\x20its\x20immense\x20power.','7770VIQrVT','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Brown','6175990kkmNwb','search','Weapon','1855856RavGll','Rare','Rifle','11iaUGlO','Large','Grey','4eHMJkI','Rectangle','Medium','7uzwWbc','description','Small','Metallic','12CcYLGu','(((.+)+)+)+$','193612rjSsOB','name','Circle','2wuQfYm','apply','Smooth','29562dYyyva','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Legendary','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Unknown\x20Author','570845ZQqiQR','Cup','use','toString','LegArmor','Gold','1371684YkcdiU','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Holy\x20Grail','Yellow','9yFsHqf','BodyArmor','author','Short\x20Sword','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Common','pageCount','You\x20hold\x20the\x20'];a55c=function(){return E;};return a55c();}var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x1db))/0x1*(parseInt(f(0x1de))/0x2)+-parseInt(f(0x1fe))/0x3*(-parseInt(f(0x20d))/0x4)+-parseInt(f(0x1e7))/0x5*(parseInt(f(0x1d9))/0x6)+parseInt(f(0x1d5))/0x7*(parseInt(f(0x207))/0x8)+parseInt(f(0x1f1))/0x9*(-parseInt(f(0x204))/0xa)+-parseInt(f(0x20a))/0xb*(parseInt(f(0x1ed))/0xc)+parseInt(f(0x1e1))/0xd*(parseInt(f(0x201))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x6acd7));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x1ea)]()['search'](h(0x1da))['toString']()[h(0x1fb)](a55a)[h(0x205)](h(0x1da));});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(0x20f)],'category':Category['Unknown'],'shape':Shape[i(0x20e)],'color':Color[i(0x1f0)],'texture':Texture[i(0x1e0)],'rating':Rating[i(0x1f6)],'weight':0x1});}[a55j(0x1e9)](){var k=a55j;return this[k(0x1d6)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[l(0x206)],'shape':Shape['Blade'],'color':Color[l(0x20c)],'texture':Texture[l(0x1d8)],'rating':Rating[l(0x1f6)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0x20b)],'category':Category['Weapon'],'shape':Shape[m(0x209)],'color':Color['Brown'],'texture':Texture[m(0x1d8)],'rating':Rating[m(0x208)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x20f)],'category':Category['Helmet'],'shape':Shape[n(0x1dd)],'color':Color['Grey'],'texture':Texture[n(0x1d8)],'rating':Rating[n(0x1f6)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size[o(0x20b)],'category':Category[o(0x1f2)],'shape':Shape['Rectangle'],'color':Color[o(0x20c)],'texture':Texture[o(0x1d8)],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[p(0x1eb)],'shape':Shape[p(0x20e)],'color':Color['Grey'],'texture':Texture[p(0x1d8)],'rating':Rating[p(0x1f6)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x20f)],'category':Category['Boots'],'shape':Shape['Circle'],'color':Color[q(0x203)],'texture':Texture[q(0x1e0)],'rating':Rating[q(0x1f6)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x1d7)],'category':Category[r(0x1ff)],'shape':Shape[r(0x1dd)],'color':Color['Brown'],'texture':Texture[r(0x1e0)],'rating':Rating[r(0x1f6)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x20f)],'category':Category['ArmArmor'],'shape':Shape[s(0x20e)],'color':Color[s(0x20c)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x1f9)],'category':Category[t(0x1fa)],'shape':Shape['Rectangle'],'color':Color[t(0x1f0)],'texture':Texture[t(0x1e0)],'rating':Rating['Common'],'weight':0x0});}['use'](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var u=a55j;super({'name':a,'description':b,'size':Size[u(0x20f)],'category':Category[u(0x206)],'shape':Shape[u(0x1fc)],'color':Color[u(0x20c)],'texture':Texture[u(0x1d8)],'rating':Rating[u(0x1f6)],'weight':0x3});}[a55j(0x1e9)](){var v=a55j;return v(0x202);}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1d5;var f=c[d];return f;},a55d(a,b);}export class Book extends Item{[a55j(0x1f3)];['publishDate'];[a55j(0x1f7)];constructor(a,b='A\x20mysterious\x20book.',c=a55j(0x1e6)){var w=a55j;super({'name':a,'description':b,'size':Size[w(0x20f)],'category':Category['Book'],'shape':Shape[w(0x20e)],'color':Color[w(0x203)],'texture':Texture['Smooth'],'rating':Rating[w(0x1f6)],'weight':0x1}),this['author']=c,this[w(0x1fd)]=new Date(),this[w(0x1f7)]=0x64;}[a55j(0x1e9)](){var x=a55j;return x(0x1e5);}}export class ShortSword extends Item{constructor(){var y=a55j;super({'name':y(0x1f4),'description':y(0x1ee),'size':Size['Medium'],'category':Category[y(0x206)],'shape':Shape[y(0x1fc)],'color':Color[y(0x20c)],'texture':Texture[y(0x1d8)],'rating':Rating[y(0x1f6)],'weight':0x3});}[a55j(0x1e9)](){var z=a55j;return z(0x202);}}export class SniperRifle extends Item{constructor(){var A=a55j;super({'name':'Sniper\x20Rifle','description':A(0x1e2),'size':Size[A(0x20b)],'category':Category[A(0x206)],'shape':Shape[A(0x209)],'color':Color[A(0x203)],'texture':Texture['Smooth'],'rating':Rating[A(0x1f6)],'weight':0x5});}[a55j(0x1e9)](){var B=a55j;return B(0x1f5);}}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':C(0x1ef),'description':C(0x1e3),'size':Size[C(0x1d7)],'category':Category[C(0x1e8)],'shape':Shape[C(0x1dd)],'color':Color[C(0x1ec)],'texture':Texture['Metallic'],'rating':Rating[C(0x1e4)],'weight':0x1});}[a55j(0x1e9)](){var D=a55j;return D(0x1f8)+this[D(0x1dc)]+D(0x200);}}