@maka/maka-cli 4.7.5 → 4.7.7

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 (146) hide show
  1. package/bundle/obf/package.json +2 -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/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  109. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/kit.js +1 -1
  112. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  115. package/bundle/obf/src/generators/layout.js +1 -1
  116. package/bundle/obf/src/generators/maka.gen.js +1 -1
  117. package/bundle/obf/src/generators/methods.js +1 -1
  118. package/bundle/obf/src/generators/package.js +1 -1
  119. package/bundle/obf/src/generators/page.js +1 -1
  120. package/bundle/obf/src/generators/publish.js +1 -1
  121. package/bundle/obf/src/generators/route.js +1 -1
  122. package/bundle/obf/src/generators/service.js +1 -1
  123. package/bundle/obf/src/generators/services/_index.js +1 -1
  124. package/bundle/obf/src/generators/services/openssl.js +1 -1
  125. package/bundle/obf/src/generators/services/translation.js +1 -1
  126. package/bundle/obf/src/maka.js +1 -1
  127. package/bundle/obf/src/tool.js +1 -1
  128. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  129. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  130. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  131. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  132. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  134. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/https/https.class.js +1 -1
  136. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  137. package/bundle/obf/src/tools/log/log.class.js +1 -1
  138. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  139. package/bundle/obf/src/tools/options/options.class.js +1 -1
  140. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  141. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  142. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  143. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  144. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  146. package/package.json +2 -1
@@ -1 +1 @@
1
- const a37i=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x73;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x75))/0x1*(-parseInt(f(0x90))/0x2)+-parseInt(f(0x73))/0x3*(parseInt(f(0x76))/0x4)+-parseInt(f(0x74))/0x5+parseInt(f(0x77))/0x6+parseInt(f(0x7f))/0x7*(parseInt(f(0x82))/0x8)+-parseInt(f(0x8f))/0x9*(-parseInt(f(0x8a))/0xa)+-parseInt(f(0x8e))/0xb*(-parseInt(f(0x84))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x2a705));function a37c(){const k=['38303FGundj','68644iuewJY','249432vFJVal','(((.+)+)+)+$','execute','actor','You\x20search\x20the\x20area\x20and\x20find:\x20','description','write','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','860237ALfJGd','SearchCommand:\x20','name','16NfMVRG','verb','399708GXjNvm','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','length','toString','\x20found\x20the\x20following\x20items:\x20','apply','10pXQpSt','search','currentLocation','join','55pAqglz','611685ndkXBB','2yKiLcs','9LoFoIM','1291245DfdRWa'];a37c=function(){return k;};return a37c();}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()[h(0x8b)]('(((.+)+)+)+$')[h(0x87)]()['constructor'](a37a)[h(0x8b)](h(0x78));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x83)]=a37i(0x8b);static [a37i(0x7c)]='Search\x20for\x20items\x20in\x20your\x20area';[a37i(0x79)](){const j=a37i,a=this[j(0x7a)][j(0x8c)]['inventory']['listItems']();if(a[j(0x86)]===0x0)return this['logger'][j(0x7d)](j(0x80)+this[j(0x7a)][j(0x81)]+j(0x85)),j(0x7e);const b=a[j(0x8d)](',\x20');return this['logger'][j(0x7d)]('SearchCommand:\x20'+this[j(0x7a)]['name']+j(0x88)+b),j(0x7b)+b;}}
1
+ const a37i=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xaf;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0xc1))/0x1+parseInt(f(0xc7))/0x2+-parseInt(f(0xb1))/0x3+parseInt(f(0xc3))/0x4+parseInt(f(0xc4))/0x5+parseInt(f(0xc2))/0x6+parseInt(f(0xb8))/0x7*(-parseInt(f(0xb6))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x6f08f));function a37c(){const k=['711669kyUrFt','toString','SearchCommand:\x20','You\x20search\x20the\x20area\x20and\x20find:\x20','\x20found\x20the\x20following\x20items:\x20','actor','search','join','listItems','55055cFWkrX','403392QRQZfA','2132908XMPxTR','3683530wlWstx','inventory','verb','564760gcpAdu','currentLocation','execute','write','logger','1804068ADyNJx','constructor','Search\x20for\x20items\x20in\x20your\x20area','description','(((.+)+)+)+$','40EJMhXS','apply'];a37c=function(){return k;};return a37c();}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xb7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()[h(0xbe)](h(0xb5))[h(0xb9)]()[h(0xb2)](a37a)[h(0xbe)](h(0xb5));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0xc6)]=a37i(0xbe);static [a37i(0xb4)]=a37i(0xb3);[a37i(0xc9)](){const j=a37i,a=this[j(0xbd)][j(0xc8)][j(0xc5)][j(0xc0)]();if(a['length']===0x0)return this[j(0xb0)][j(0xaf)](j(0xba)+this[j(0xbd)]['name']+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0xbf)](',\x20');return this[j(0xb0)][j(0xaf)](j(0xba)+this[j(0xbd)]['name']+j(0xbc)+b),j(0xbb)+b;}}
@@ -1 +1 @@
1
- const a38i=a38d;function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x15f;let f=c[d];return f;},a38d(a,b);}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x16d))/0x1*(parseInt(f(0x167))/0x2)+parseInt(f(0x16f))/0x3+parseInt(f(0x168))/0x4*(-parseInt(f(0x173))/0x5)+parseInt(f(0x17c))/0x6*(-parseInt(f(0x171))/0x7)+-parseInt(f(0x16e))/0x8*(parseInt(f(0x178))/0x9)+-parseInt(f(0x15f))/0xa*(parseInt(f(0x16b))/0xb)+parseInt(f(0x160))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x8c87c));function a38c(){const k=['constructor','265286yIMpnZ','search','5630SMJIcs','join','inventory','verb','message','145494pyuIHZ','currentLocation','success','Attempt\x20to\x20solve\x20a\x20puzzle.','102bunVpI','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','addItem','8427930zvvkZx','28985184Mxibfn','logger','actor','write','puzzle','apply','(((.+)+)+)+$','34310GHzMaP','1364GJLEZF','rewardItem','solve','11RnLMaW','toString','11WdmUfh','128WkkbIy','303468GrcOdg'];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(0x165)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x16c)]()[h(0x172)](h(0x166))['toString']()[h(0x170)](a38a)[h(0x172)](h(0x166));});a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x176)]=a38i(0x16a);static ['description']=a38i(0x17b);['execute'](a){const j=a38i,b=a[j(0x174)]('\x20')['toLowerCase'](),c=this[j(0x162)][j(0x179)];if(!c||!c[j(0x164)])return this[j(0x161)][j(0x163)](j(0x17d)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[j(0x164)][j(0x16a)](b,this['actor']['inventory']);return d[j(0x17a)]&&c['puzzle']['rewardItem']&&this['actor'][j(0x175)][j(0x17e)](c[j(0x164)][j(0x169)]),this[j(0x161)][j(0x163)]('SolveCommand:\x20'+d[j(0x177)]),d[j(0x177)];}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1c6))/0x1*(parseInt(f(0x1d5))/0x2)+parseInt(f(0x1df))/0x3+-parseInt(f(0x1d6))/0x4+-parseInt(f(0x1c7))/0x5*(-parseInt(f(0x1d8))/0x6)+-parseInt(f(0x1d3))/0x7+-parseInt(f(0x1d0))/0x8+-parseInt(f(0x1cb))/0x9*(-parseInt(f(0x1e4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xa3484));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1d4)]()[h(0x1d1)]('(((.+)+)+)+$')[h(0x1d4)]()[h(0x1dc)](a38a)[h(0x1d1)](h(0x1dd));});function a38c(){const k=['actor','constructor','(((.+)+)+)+$','description','3389616CMgwpa','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','verb','apply','addItem','164690tMLhqE','SolveCommand:\x20','11aqjsXA','5sYZyyw','success','message','solve','369bdfIfz','join','currentLocation','rewardItem','toLowerCase','827296vkloFb','search','inventory','2639665YxpEWG','toString','216210AxRfRp','2477280tUEdks','logger','6916110wVkhSZ','write','puzzle'];a38c=function(){return k;};return a38c();}a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1c5;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x1e1)]=a38i(0x1ca);static [a38i(0x1de)]='Attempt\x20to\x20solve\x20a\x20puzzle.';['execute'](a){const j=a38i,b=a[j(0x1cc)]('\x20')[j(0x1cf)](),c=this[j(0x1db)][j(0x1cd)];if(!c||!c['puzzle'])return this[j(0x1d7)][j(0x1d9)](j(0x1e0)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[j(0x1da)][j(0x1ca)](b,this[j(0x1db)][j(0x1d2)]);return d[j(0x1c8)]&&c['puzzle'][j(0x1ce)]&&this[j(0x1db)][j(0x1d2)][j(0x1e3)](c[j(0x1da)][j(0x1ce)]),this[j(0x1d7)][j(0x1d9)](j(0x1c5)+d['message']),d[j(0x1c9)];}}
@@ -1 +1 @@
1
- const a39i=a39d;function a39c(){const l=['82434RUMhmE','412616sxaztP','\x22\x20to\x20','Error\x20during\x20\x27Take\x27\x20command:\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','currentLocation','toString','5IiKlvW','hasItem','\x20during\x20\x27Take\x27\x20command.','828910cmNTmA','Item\x20\x22','search','description','\x22\x20is\x20too\x20heavy\x20to\x20carry.','10577kXDcoe','The\x20item\x20\x22','(((.+)+)+)+$','actor','24LDAwyM','removeItem','getItem','4931486Nkdpex','apply','132XHKOlk','inventory','727752qchjRM','join','addInventory','message','4325157hvrolF','name','verb','There\x20is\x20no\x20item\x20\x22','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','Successfully\x20added\x20\x22','logger','write','execute','take','\x22\x20not\x20retrieved\x20from\x20','toLowerCase','124oZjVXm','Pick\x20up\x20an\x20item.'];a39c=function(){return l;};return a39c();}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x9d))/0x1*(-parseInt(f(0xb8))/0x2)+-parseInt(f(0xba))/0x3*(parseInt(f(0xa1))/0x4)+-parseInt(f(0x95))/0x5*(-parseInt(f(0xa8))/0x6)+-parseInt(f(0xa4))/0x7+parseInt(f(0xbb))/0x8+-parseInt(f(0xac))/0x9+parseInt(f(0x98))/0xa*(parseInt(f(0xa6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x73934));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x94)]()[h(0x9a)](h(0x9f))[h(0x94)]()['constructor'](a39a)[h(0x9a)](h(0x9f));});a39a();import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x90;let f=c[d];return f;},a39d(a,b);}export class TakeCommand extends Command{static [a39i(0xae)]='take';static [a39i(0x9b)]=a39i(0xb9);[a39i(0xb4)](a){const j=a39i;return this[j(0xb2)]['write'](j(0xb0)+a[j(0xa9)]('\x20')),this[j(0xb5)](a);}[a39i(0xb5)](a){const k=a39i,b=a[k(0xa9)]('\x20')[k(0xb7)](),c=this[k(0xa0)][k(0x93)];if(!c[k(0xa7)][k(0x96)](b))return this[k(0xb2)][k(0xb3)](k(0x99)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0xad)]+k(0x97)),k(0xaf)+b+'\x22\x20in\x20this\x20room.';const d=c[k(0xa7)][k(0xa3)](b);if(!d)return this[k(0xb2)]['write']('Item\x20\x22'+b+k(0xb6)+c[k(0xad)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0xaf)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0xa0)][k(0xaa)](d),this[k(0xb2)][k(0xb3)](k(0xb1)+b+k(0x90)+this['actor']['name']+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0xa7)][k(0xa2)](b),this[k(0xb2)][k(0xb3)]('Successfully\x20removed\x20\x22'+b+'\x22\x20from\x20'+c['name']+k(0x92)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this[k(0xb2)][k(0xb3)](k(0x91)+e[k(0xab)]),k(0x9e)+b+k(0x9c);}}}
1
+ const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x165))/0x1+-parseInt(f(0x16a))/0x2+parseInt(f(0x16b))/0x3*(parseInt(f(0x172))/0x4)+parseInt(f(0x16c))/0x5+parseInt(f(0x175))/0x6+parseInt(f(0x17f))/0x7*(-parseInt(f(0x188))/0x8)+-parseInt(f(0x17e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x7e23d));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x163;let f=c[d];return f;},a39d(a,b);}function a39c(){const l=['getItem','8TaZfHp','You\x20have\x20taken\x20the\x20','actor','(((.+)+)+)+$','toString','247261QBnOdp','logger','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x22\x20to\x20','Item\x20\x22','251186CghFQq','24jMqxqq','1735065IWCcuZ','The\x20item\x20\x22','search','\x22\x20not\x20retrieved\x20from\x20','take','\x22\x20not\x20found\x20in\x20','205432ahlyhF','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','write','5993982fDMgoT','Pick\x20up\x20an\x20item.','\x22\x20from\x20','inventory','removeItem','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','name','Successfully\x20removed\x20\x22','hasItem','3444768XATekZ','3392193LVWFVM','apply','description','\x22\x20in\x20this\x20room.','There\x20is\x20no\x20item\x20\x22','verb','join','Error\x20during\x20\x27Take\x27\x20command:\x20'];a39c=function(){return l;};return a39c();}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x180)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x16e)](h(0x163))[h(0x164)]()['constructor'](a39a)['search']('(((.+)+)+)+$');});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0x184)]=a39i(0x170);static [a39i(0x181)]=a39i(0x176);['execute'](a){const j=a39i;return this[j(0x166)][j(0x174)](j(0x17a)+a['join']('\x20')),this['take'](a);}[a39i(0x170)](a){const k=a39i,b=a[k(0x185)]('\x20')['toLowerCase'](),c=this[k(0x18a)]['currentLocation'];if(!c['inventory'][k(0x17d)](b))return this['logger'][k(0x174)](k(0x169)+b+k(0x171)+c[k(0x17b)]+'\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+k(0x182);const d=c[k(0x178)][k(0x187)](b);if(!d)return this[k(0x166)][k(0x174)](k(0x169)+b+k(0x16f)+c[k(0x17b)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x183)+b+k(0x182);try{return this[k(0x18a)]['addInventory'](d),this[k(0x166)][k(0x174)]('Successfully\x20added\x20\x22'+b+k(0x168)+this['actor'][k(0x17b)]+k(0x173)),c[k(0x178)][k(0x179)](b),this[k(0x166)][k(0x174)](k(0x17c)+b+k(0x177)+c[k(0x17b)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x189)+b+'.';}catch(e){return this[k(0x166)][k(0x174)](k(0x186)+e['message']),k(0x16d)+b+k(0x167);}}}
@@ -1 +1 @@
1
- const a40i=a40d;function a40c(){const k=['join','596868HOwyCw','1435rrPQXR','Unequip\x20an\x20item.','unqeuip','description','(((.+)+)+)+$','45PiWGMB','name','toString','1589046DbMqMA','execute','7soyoTs','logger','UnequipCommand:\x20','search','write','toLowerCase','412642mxmJrY','unequip','881576KsASHi','3235812vQHaRn','actor','apply','476906eeyVOs'];a40c=function(){return k;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0xe0))/0x1+parseInt(f(0xda))/0x2+-parseInt(f(0xd2))/0x3+parseInt(f(0xe2))/0x4+-parseInt(f(0xe3))/0x5+-parseInt(f(0xdd))/0x6*(-parseInt(f(0xd4))/0x7)+-parseInt(f(0xdc))/0x8*(parseInt(f(0xcf))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x46fe8));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xcb;let f=c[d];return f;},a40d(a,b);}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xd1)]()[h(0xd7)](h(0xce))[h(0xd1)]()['constructor'](a40a)[h(0xd7)](h(0xce));});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a40i(0xcc);static [a40i(0xcd)]=a40i(0xcb);[a40i(0xd3)](a){const j=a40i,b=a[j(0xe1)]('\x20')[j(0xd9)](),c=this[j(0xde)][j(0xdb)](b);return this[j(0xd5)][j(0xd8)](j(0xd6)+this['actor'][j(0xd0)]+'\x20unqeuiped\x20'+c),c;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1a3))/0x1+-parseInt(f(0x19d))/0x2+-parseInt(f(0x192))/0x3*(-parseInt(f(0x197))/0x4)+parseInt(f(0x194))/0x5+-parseInt(f(0x19a))/0x6+parseInt(f(0x198))/0x7*(-parseInt(f(0x1a1))/0x8)+-parseInt(f(0x19f))/0x9*(-parseInt(f(0x19b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x67a46));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x192;let f=c[d];return f;},a40d(a,b);}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x19c)]()['search'](h(0x1a8))['toString']()['constructor'](a40a)['search'](h(0x1a8));});a40a();function a40c(){const k=['toString','1385186iTJyHb','join','3368187wxWlFw','unqeuip','296mQBWQS','write','448789FKfEey','toLowerCase','\x20unqeuiped\x20','actor','apply','(((.+)+)+)+$','1533OVZavE','name','3498625rKnMsE','description','unequip','5404LfXHDY','106589gcUijo','UnequipCommand:\x20','3195648QSyjLl','10VLEKod'];a40c=function(){return k;};return a40c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a40i(0x1a0);static [a40i(0x195)]='Unequip\x20an\x20item.';['execute'](a){const j=a40i,b=a[j(0x19e)]('\x20')[j(0x1a4)](),c=this['actor'][j(0x196)](b);return this['logger'][j(0x1a2)](j(0x199)+this[j(0x1a6)][j(0x193)]+j(0x1a5)+c),c;}}
@@ -1 +1 @@
1
- const a41j=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xc2;let f=c[d];return f;},a41d(a,b);}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0xe0))/0x1*(parseInt(h(0xc3))/0x2)+parseInt(h(0xc2))/0x3*(parseInt(h(0xdf))/0x4)+-parseInt(h(0xcd))/0x5*(-parseInt(h(0xdc))/0x6)+-parseInt(h(0xe4))/0x7*(parseInt(h(0xe6))/0x8)+-parseInt(h(0xc9))/0x9*(-parseInt(h(0xd2))/0xa)+parseInt(h(0xca))/0xb*(-parseInt(h(0xe9))/0xc)+parseInt(h(0xcf))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x329e4));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const i=a41d;return a41a[i(0xee)]()[i(0xd4)](i(0xd1))[i(0xee)]()['constructor'](a41a)['search'](i(0xd1));});a41a();function a41c(){const l=['10OPawWz','unlockItemOrSolution','5890703VuiEKb','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','(((.+)+)+)+$','660qDpWGI','attemptUnlockExit','search','exits','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','Unlock\x20a\x20door.','logger','unlock','description','write','421068eeMwQr','isValidDirection','error','35164gghwfG','3ovHoJJ','\x20is\x20attempted\x20to\x20unlock\x20','.\x20Result:\x20','hasItem','21bpuTvi','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','1018504nqXjYS','actor','get','12XBTfMd','length','currentLocation','verb','toLowerCase','toString','30TakRFM','226272WQinus','name','UnlockCommand:\x20','There\x27s\x20no\x20door\x20named\x20\x22','\x22\x20here.','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','38412PqakVN','378466GrVHFU','UnlockCommand:\x20No\x20target\x20specified.','inventory'];a41c=function(){return l;};return a41c();}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41j(0xec)]=a41j(0xd9);static [a41j(0xda)]=a41j(0xd7);['execute'](a){return this['unlock'](a);}[a41j(0xd9)](a){const k=a41j;if(a[k(0xea)]===0x0)return this[k(0xd8)][k(0xde)](k(0xcb)),k(0xd6);const b=a[0x0][k(0xed)](),c=this[k(0xe7)][k(0xeb)];if(this[k(0xdd)](b)&&c[k(0xd5)]['has'](b)){const d=c[k(0xd5)][k(0xe8)](b);if(d instanceof Door){const e=d[k(0xce)]?.[k(0xed)]();if(e&&this['actor']['inventory'][k(0xe3)](e)){const f=this[k(0xe7)][k(0xcc)]['getItem'](e);if(f){const g=c[k(0xd3)](b,f['name']);return this[k(0xd8)][k(0xdb)](k(0xc5)+this[k(0xe7)][k(0xc4)]+k(0xe1)+b+k(0xe2)+g),g;}}return this[k(0xd8)][k(0xdb)](k(0xc5)+this[k(0xe7)][k(0xc4)]+k(0xc8)+b+'.'),k(0xe5);}else return this[k(0xd8)][k(0xdb)](k(0xc5)+b+k(0xd0)+c[k(0xc4)]+'.'),k(0xc6)+b+k(0xc7);}else return this[k(0xd8)][k(0xdb)]('UnlockCommand:\x20'+b+k(0xd0)+c['name']+'.'),k(0xc6)+b+k(0xc7);}}
1
+ function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xcc;let f=c[d];return f;},a41d(a,b);}const a41j=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0xe1))/0x1+parseInt(h(0xd3))/0x2*(parseInt(h(0xd1))/0x3)+-parseInt(h(0xd2))/0x4+-parseInt(h(0xcc))/0x5+parseInt(h(0xf0))/0x6+-parseInt(h(0xda))/0x7*(parseInt(h(0xcd))/0x8)+parseInt(h(0xdb))/0x9*(parseInt(h(0xd0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xe3aad));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const i=a41d;return a41a[i(0xef)]()['search'](i(0xd4))[i(0xef)]()['constructor'](a41a)['search']('(((.+)+)+)+$');});function a41c(){const m=['getItem','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','get','unlockItemOrSolution','write','Unlock\x20a\x20door.','currentLocation','inventory','toString','5191668OdZiyd','212700TtSYIM','8jeuyJJ','exits','UnlockCommand:\x20No\x20target\x20specified.','53990ivbJeE','477132ckefiF','6336940ytTWlF','18gPAzLR','(((.+)+)+)+$','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','\x20is\x20attempted\x20to\x20unlock\x20','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','length','attemptUnlockExit','12557762DIxdwm','1368TtXkNB','UnlockCommand:\x20','name','logger','toLowerCase','There\x27s\x20no\x20door\x20named\x20\x22','1235944AVOeKz','.\x20Result:\x20','hasItem','description','actor','unlock'];a41c=function(){return m;};return a41c();}a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']='unlock';static [a41j(0xe4)]=a41j(0xec);['execute'](a){const k=a41j;return this[k(0xe6)](a);}[a41j(0xe6)](a){const l=a41j;if(a[l(0xd8)]===0x0)return this[l(0xde)]['error'](l(0xcf)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0]['toLowerCase'](),c=this[l(0xe5)][l(0xed)];if(this['isValidDirection'](b)&&c[l(0xce)]['has'](b)){const d=c[l(0xce)][l(0xe9)](b);if(d instanceof Door){const e=d[l(0xea)]?.[l(0xdf)]();if(e&&this[l(0xe5)]['inventory'][l(0xe3)](e)){const f=this[l(0xe5)][l(0xee)][l(0xe7)](e);if(f){const g=c[l(0xd9)](b,f['name']);return this[l(0xde)][l(0xeb)](l(0xdc)+this[l(0xe5)]['name']+l(0xd6)+b+l(0xe2)+g),g;}}return this[l(0xde)][l(0xeb)]('UnlockCommand:\x20'+this[l(0xe5)][l(0xdd)]+l(0xd5)+b+'.'),l(0xd7);}else return this['logger'][l(0xeb)]('UnlockCommand:\x20'+b+l(0xe8)+c[l(0xdd)]+'.'),l(0xe0)+b+'\x22\x20here.';}else return this[l(0xde)]['write'](l(0xdc)+b+l(0xe8)+c[l(0xdd)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x165))/0x1+-parseInt(f(0x160))/0x2*(parseInt(f(0x143))/0x3)+-parseInt(f(0x152))/0x4*(-parseInt(f(0x14b))/0x5)+-parseInt(f(0x157))/0x6*(-parseInt(f(0x144))/0x7)+-parseInt(f(0x162))/0x8*(-parseInt(f(0x14a))/0x9)+-parseInt(f(0x154))/0xa+-parseInt(f(0x15c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x8d1a8));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x167)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0x163)](h(0x15a))[h(0x15f)]()[h(0x161)](a42a)[h(0x163)](h(0x15a));});function a42c(){const l=['function','Use\x20an\x20item.','84GfoLWD','\x27s\x20inventory.','write','(((.+)+)+)+$','toLowerCase','8975868VloNJn','You\x20don\x27t\x20have\x20the\x20','getItem','toString','6PVvGkE','constructor','2285656OxXSyz','search','name','230042hKbLyT','\x20doesn\x27t\x20have\x20a\x20use\x20method.','apply','logger','\x20attempted\x20to\x20use\x20','323445boUXXF','453691bwxkpz','hasItem','verb','You\x20can\x27t\x20use\x20the\x20','execute',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','36PasTQA','35olLkec','UseCommand:\x20','\x20used\x20','\x20in\x20this\x20way.','inventory','\x20to\x20use.','use','200936nsIcHI','actor','4544130lBccJw'];a42c=function(){return l;};return a42c();}a42a();import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x143;let f=c[d];return f;},a42d(a,b);}export class UseCommand extends Command{static [a42i(0x146)]=a42i(0x151);static ['description']=a42i(0x156);[a42i(0x148)](a){const j=a42i;return this[j(0x151)](a);}[a42i(0x151)](a){const k=a42i,b=a['join']('\x20')[k(0x15b)]();if(!this[k(0x153)][k(0x14f)][k(0x145)](b))return this[k(0x168)][k(0x159)](k(0x14c)+this['actor']['name']+k(0x169)+b+k(0x149)),k(0x15d)+b+k(0x150);const c=this['actor'][k(0x14f)][k(0x15e)](b);if(!c)return this[k(0x168)][k(0x159)]('UseCommand:\x20'+b+'\x20not\x20retrieved\x20from\x20'+this[k(0x153)][k(0x164)]+k(0x158)),k(0x15d)+b+k(0x150);if(typeof c[k(0x151)]===k(0x155)){const d=c[k(0x151)]();return this['logger'][k(0x159)](k(0x14c)+this['actor'][k(0x164)]+k(0x14d)+b+'.'),d;}else return this['logger'][k(0x159)](k(0x14c)+b+k(0x166)),k(0x147)+b+k(0x14e);}}
1
+ function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x178;let f=c[d];return f;},a42d(a,b);}function a42c(){const l=['\x20doesn\x27t\x20have\x20a\x20use\x20method.','\x20attempted\x20to\x20use\x20','2KVxWtd','50450VpQFva','hasItem','53766vkdFkS','586821iVtisK','UseCommand:\x20','actor','description','join','inventory','use','(((.+)+)+)+$','logger','Use\x20an\x20item.','\x27s\x20inventory.','write','apply','80188yDTqHs','getItem','execute','You\x20can\x27t\x20use\x20the\x20','constructor','verb','720165VZzoOx','\x20to\x20use.','function','toLowerCase','21128ATKScP','182ZKXsxO','963QcCTqP','toString','You\x20don\x27t\x20have\x20the\x20','139689dNxvPA','name'];a42c=function(){return l;};return a42c();}const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x199))/0x1+-parseInt(f(0x179))/0x2*(parseInt(f(0x17d))/0x3)+parseInt(f(0x18a))/0x4+-parseInt(f(0x190))/0x5+-parseInt(f(0x17c))/0x6+parseInt(f(0x195))/0x7*(parseInt(f(0x194))/0x8)+parseInt(f(0x196))/0x9*(parseInt(f(0x17a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x223ce));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x197)]()['search']('(((.+)+)+)+$')['toString']()[h(0x18e)](a42a)['search'](h(0x184));});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x18f)]=a42i(0x183);static [a42i(0x180)]=a42i(0x186);[a42i(0x18c)](a){const j=a42i;return this[j(0x183)](a);}[a42i(0x183)](a){const k=a42i,b=a[k(0x181)]('\x20')[k(0x193)]();if(!this[k(0x17f)][k(0x182)][k(0x17b)](b))return this[k(0x185)][k(0x188)](k(0x17e)+this[k(0x17f)][k(0x19a)]+k(0x178)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),k(0x198)+b+k(0x191);const c=this[k(0x17f)][k(0x182)][k(0x18b)](b);if(!c)return this['logger'][k(0x188)](k(0x17e)+b+'\x20not\x20retrieved\x20from\x20'+this[k(0x17f)][k(0x19a)]+k(0x187)),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x191);if(typeof c[k(0x183)]===k(0x192)){const d=c[k(0x183)]();return this[k(0x185)][k(0x188)](k(0x17e)+this[k(0x17f)]['name']+'\x20used\x20'+b+'.'),d;}else return this[k(0x185)][k(0x188)]('UseCommand:\x20'+b+k(0x19b)),k(0x18d)+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x7a;let f=c[d];return f;},a43d(a,b);}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x7d))/0x1*(parseInt(f(0x84))/0x2)+-parseInt(f(0x7e))/0x3*(-parseInt(f(0x87))/0x4)+-parseInt(f(0x85))/0x5+parseInt(f(0x83))/0x6*(-parseInt(f(0x82))/0x7)+parseInt(f(0x7a))/0x8+-parseInt(f(0x80))/0x9+parseInt(f(0x88))/0xa*(parseInt(f(0x89))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xd5062));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()['search'](h(0x8a))[h(0x7c)]()['constructor'](a43a)['search'](h(0x8a));});a43a();export class CommandFactory{static [a43i(0x81)]={};static['registerCommand'](a,b){const j=a43i;this[j(0x81)][a]=b;}static[a43i(0x7b)](a,b){const k=a43i,c=this[k(0x81)][a];if(c)return new c(b);return null;}static[a43i(0x86)](){const l=a43i;return this[l(0x81)];}}function a43c(){const m=['3148ykdnXh','6190YozjtJ','88451hvIZIz','(((.+)+)+)+$','4359920KeBfLI','createCommand','toString','1235194OYiqZk','1317oHjmde','apply','15208731Jykyrd','commandMap','7jCCTRD','5225712BTyVRu','2HTkNzk','5996555ueTPPL','getAllRegisteredCommands'];a43c=function(){return m;};return a43c();}
1
+ const a43h=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x14a;let f=c[d];return f;},a43d(a,b);}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x14c))/0x1*(-parseInt(f(0x159))/0x2)+-parseInt(f(0x151))/0x3+-parseInt(f(0x153))/0x4+parseInt(f(0x15b))/0x5*(parseInt(f(0x157))/0x6)+parseInt(f(0x14f))/0x7*(parseInt(f(0x14a))/0x8)+-parseInt(f(0x152))/0x9+parseInt(f(0x14e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x5b59a));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const g=a43d;return a43a['toString']()[g(0x14d)]('(((.+)+)+)+$')[g(0x14b)]()[g(0x158)](a43a)[g(0x14d)](g(0x156));});function a43c(){const j=['toString','1diTROJ','search','3520060WEoImZ','70tBwwif','commandMap','1198884lMFuub','4374882rcJqMU','1336432tDPZTN','registerCommand','getAllRegisteredCommands','(((.+)+)+)+$','174YhlOaf','constructor','237372ZUXfDf','createCommand','84190tIfdjp','508008utqakx'];a43c=function(){return j;};return a43c();}a43a();export class CommandFactory{static [a43h(0x150)]={};static[a43h(0x154)](a,b){this['commandMap'][a]=b;}static[a43h(0x15a)](a,b){const i=a43h,c=this[i(0x150)][a];if(c)return new c(b);return null;}static[a43h(0x155)](){return this['commandMap'];}}
@@ -1 +1 @@
1
- const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0xe2))/0x1*(parseInt(f(0xe3))/0x2)+parseInt(f(0xc0))/0x3*(-parseInt(f(0xc9))/0x4)+-parseInt(f(0xce))/0x5*(parseInt(f(0xc4))/0x6)+parseInt(f(0xe1))/0x7*(-parseInt(f(0xcc))/0x8)+-parseInt(f(0xe0))/0x9*(-parseInt(f(0xc1))/0xa)+parseInt(f(0xbe))/0xb*(parseInt(f(0xbf))/0xc)+-parseInt(f(0xc7))/0xd*(-parseInt(f(0xcd))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x77050));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xd1)]()[h(0xbd)](h(0xd3))[h(0xd1)]()[h(0xcf)](a44a)[h(0xbd)]('(((.+)+)+)+$');});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xbd;let f=c[d];return f;},a44d(a,b);}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0xdc)](a){const j=a44i,b=this[j(0xde)](a),c=new Room(b);if(a[j(0xdd)]){const d=new Inventory();a[j(0xdd)][j(0xc2)](e=>{const k=j;d[k(0xc3)](this[k(0xd7)](e));}),c[j(0xe7)]=d;}return a['puzzle']&&c[j(0xc5)](this[j(0xe6)](a[j(0xe5)])),c;}['createItem'](a){const l=a44i;switch(a[l(0xcb)]){case l(0xc6):return new Key(a[l(0xdb)],a['description']);case'book':return new Book(a[l(0xdb)],a['description'],a[l(0xd4)]);case l(0xdf):return new Sword(a[l(0xdb)],a[l(0xd0)]);case'rifle':return new Rifle(a[l(0xdb)],a[l(0xd0)]);case l(0xd5):return new Helmet(a[l(0xdb)],a[l(0xd0)]);case l(0xe4):return new BodyArmor(a[l(0xdb)],a[l(0xd0)]);case l(0xd6):return new LegArmor(a[l(0xdb)],a[l(0xd0)]);case l(0xd2):return new Boots(a[l(0xdb)],a[l(0xd0)]);case'gloves':return new Gloves(a[l(0xdb)],a[l(0xd0)]);case'gauntlets':return new Gauntlets(a[l(0xdb)],a[l(0xd0)]);default:return new BasicItem(a[l(0xdb)],a['description']);}}[a44i(0xe6)](a){const m=a44i,b=this[m(0xd7)](a[m(0xc8)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0xde)](a){const n=a44i,b=a[n(0xca)]&&RoomType[a[n(0xca)]['toUpperCase']()]?RoomType[a[n(0xca)][n(0xd9)]()]:RoomType[n(0xd8)];return{'name':a[n(0xdb)],'description':a[n(0xd0)],'isStartRoom':a['isStartRoom'],'roomType':b};}}function a44c(){const o=['10iCuFNC','forEach','addItem','169254QThLRu','setPuzzle','key','758017lBQdzn','rewardItem','340696TbOslg','roomType','type','6520bzOJKP','84BNocVj','65ZIXtFt','constructor','description','toString','boots','(((.+)+)+)+$','content','helmet','legarmor','createItem','INSIDE','toUpperCase','apply','name','createRoom','items','convertToRoomConfig','sword','1798956ZVSWWM','168ZahyBG','1bkjACp','889292CUVstL','bodyarmor','puzzle','createPuzzle','inventory','search','10329407MsEyYP','12mUReAB','6OThDVL'];a44c=function(){return o;};return a44c();}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x70))/0x1*(-parseInt(f(0x86))/0x2)+-parseInt(f(0x82))/0x3*(parseInt(f(0x75))/0x4)+parseInt(f(0x7d))/0x5+parseInt(f(0x78))/0x6+parseInt(f(0x8e))/0x7*(parseInt(f(0x7f))/0x8)+-parseInt(f(0x7c))/0x9*(-parseInt(f(0x71))/0xa)+-parseInt(f(0x88))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xc92fd));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x83)]()['search']('(((.+)+)+)+$')[h(0x83)]()[h(0x7e)](a44a)['search'](h(0x77));});function a44c(){const n=['setPuzzle','createItem','description','addItem','55581PCvHkY','1194970qQBvrb','createPuzzle','helmet','convertToRoomConfig','524xZhHAW','name','(((.+)+)+)+$','3691980lFxfyn','toUpperCase','inventory','book','18VELfAk','3921185eqinqE','constructor','8PzKGrc','createRoom','boots','7077DoSJIT','toString','key','gauntlets','4dOIeRQ','apply','10710876ZBKbnt','roomType','INSIDE','puzzle','legarmor','content','2499581gsJtOk','items','bodyarmor','sword','isStartRoom'];a44c=function(){return n;};return a44c();}a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x6c;let f=c[d];return f;},a44d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0x80)](a){const j=a44i,b=this[j(0x74)](a),c=new Room(b);if(a[j(0x8f)]){const d=new Inventory();a[j(0x8f)]['forEach'](e=>{const k=j;d[k(0x6f)](this[k(0x6d)](e));}),c[j(0x7a)]=d;}return a[j(0x8b)]&&c[j(0x6c)](this[j(0x72)](a[j(0x8b)])),c;}[a44i(0x6d)](a){const l=a44i;switch(a['type']){case l(0x84):return new Key(a[l(0x76)],a[l(0x6e)]);case l(0x7b):return new Book(a[l(0x76)],a[l(0x6e)],a[l(0x8d)]);case l(0x91):return new Sword(a[l(0x76)],a[l(0x6e)]);case'rifle':return new Rifle(a['name'],a[l(0x6e)]);case l(0x73):return new Helmet(a['name'],a[l(0x6e)]);case l(0x90):return new BodyArmor(a[l(0x76)],a['description']);case l(0x8c):return new LegArmor(a[l(0x76)],a[l(0x6e)]);case l(0x81):return new Boots(a[l(0x76)],a['description']);case'gloves':return new Gloves(a[l(0x76)],a[l(0x6e)]);case l(0x85):return new Gauntlets(a['name'],a[l(0x6e)]);default:return new BasicItem(a[l(0x76)],a[l(0x6e)]);}}[a44i(0x72)](a){const b=this['createItem'](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a44i(0x74)](a){const m=a44i,b=a[m(0x89)]&&RoomType[a['roomType'][m(0x79)]()]?RoomType[a[m(0x89)][m(0x79)]()]:RoomType[m(0x8a)];return{'name':a[m(0x76)],'description':a['description'],'isStartRoom':a[m(0x92)],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0xa0))/0x1+parseInt(h(0x88))/0x2*(-parseInt(h(0x8b))/0x3)+-parseInt(h(0x97))/0x4+-parseInt(h(0x98))/0x5+parseInt(h(0x82))/0x6+parseInt(h(0x80))/0x7*(parseInt(h(0x90))/0x8)+-parseInt(h(0x9e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x5e937));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a['toString']()[j(0x7b)](j(0x9c))[j(0xa5)]()['constructor'](a45a)[j(0x7b)](j(0x9c));});a45a();function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x77;let f=c[d];return f;},a45d(a,b);}import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';function a45c(){const s=['toLowerCase','402605yeSfKq','rooms','registerCommand','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','look','toString','createCommand','getRooms','say','maka','search','Welcome,\x20','player','quit','determineStartRoom','21qiswEV','getDescription','1536948smUIcP','hasOwnProperty','execute','-\x20clear:\x20Clear\x20the\x20screen.\x0a','getWelcomeMessage','getHelpMessage','4KEpXfg','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','initialize','1623MBXbAk','clear','instance','-\x20quit:\x20Exit\x20the\x20game.\x0a','split','1942376ByQyUn','solve','drop','handleInput','unequip','help','apply','2833764ureFAq','1251655PtntjS','registerCommands','take','trim','(((.+)+)+)+$','scene','359253BQVCBk'];a45c=function(){return s;};return a45c();}import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0x8d)];['scene'];['player'];['currentRoom'];[a45k(0xa1)];constructor(a,b){const l=a45k;this[l(0x7d)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0x9d)][l(0x8a)](),this[l(0x7d)]['currentLocation']=this[l(0x7f)](),this[l(0x99)]();}['registerCommands'](){const m=a45k;CommandFactory[m(0xa2)](m(0xa4),LookCommand),CommandFactory[m(0xa2)]('go',GoCommand),CommandFactory['registerCommand'](m(0x9a),TakeCommand),CommandFactory[m(0xa2)]('use',UseCommand),CommandFactory[m(0xa2)]('equip',EquipCommand),CommandFactory['registerCommand'](m(0x94),UnequipCommand),CommandFactory['registerCommand'](m(0x91),SolveCommand),CommandFactory['registerCommand'](m(0x92),DropCommand),CommandFactory[m(0xa2)]('unlock',UnlockCommand),CommandFactory[m(0xa2)]('lock',LockCommand),CommandFactory[m(0xa2)](m(0x7b),SearchCommand),CommandFactory[m(0xa2)](m(0x79),SayCommand);}[a45k(0x7f)](){const n=a45k;return this[n(0x9d)][n(0x7f)]();}[a45k(0x86)](){const o=a45k;return o(0x7c)+this[o(0x7d)]['name'];}static['getInstance'](a,b){const p=a45k;return!Game[p(0x8d)]&&(Game[p(0x8d)]=new Game(a,b)),Game[p(0x8d)];}[a45k(0x93)](a){const q=a45k,b=a[q(0x9b)]()[q(0x8f)]('\x20'),c=b[0x0][q(0x9f)](),d=b['slice'](0x1);if(c===q(0x7e))return null;if(c===q(0x7a))return q(0xa3);if(c===q(0x95))return this[q(0x87)]();if(c===q(0x8c))return'';const e={'actor':this[q(0x7d)],'rooms':this[q(0x9d)][q(0x78)](),'scene':this[q(0x9d)]},f=CommandFactory[q(0x77)](c,e);if(f){const g=f[q(0x84)](d);return g;}return q(0x89)+c+'\x22.';}[a45k(0x87)](){const r=a45k,a=CommandFactory['getAllRegisteredCommands']();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0x83)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x81)]()+'\x0a';}}return b+=r(0x85),b+=r(0x8e),b;}}
1
+ const a45j=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x1ae))/0x1*(parseInt(h(0x1c4))/0x2)+-parseInt(h(0x1bd))/0x3+-parseInt(h(0x1c3))/0x4+-parseInt(h(0x1d4))/0x5+parseInt(h(0x1c5))/0x6+-parseInt(h(0x1d3))/0x7+parseInt(h(0x1ba))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x86af6));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(0x1ca)](i(0x1ce))[i(0x1b4)]()[i(0x1c2)](a45a)[i(0x1ca)](i(0x1ce));});function a45c(){const r=['rooms','3596943yPTEkE','1007845RGMYLx','player','name','getWelcomeMessage','slice','getRooms','52mgIdFI','instance','Available\x20Commands:\x0a','hasOwnProperty','registerCommand','help','toString','equip','solve','maka','split','getInstance','1794640gLinlP','Welcome,\x20','unlock','149655dudqFq','trim','toLowerCase','determineStartRoom','look','constructor','937748fVdOxK','41542ItWINz','1481928IBqkIG','-\x20quit:\x20Exit\x20the\x20game.\x0a','getAllRegisteredCommands','lock','-\x20clear:\x20Clear\x20the\x20screen.\x0a','search','scene','getDescription','registerCommands','(((.+)+)+)+$','execute','quit','clear'];a45c=function(){return r;};return a45c();}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';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a45d(a,b);}import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45j(0x1af)];['scene'];[a45j(0x1d5)];['currentRoom'];[a45j(0x1d2)];constructor(a,b){const k=a45j;this['player']=a,this[k(0x1cb)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x1cb)]['initialize'](),this[k(0x1d5)]['currentLocation']=this[k(0x1c0)](),this[k(0x1cd)]();}[a45j(0x1cd)](){const l=a45j;CommandFactory[l(0x1b2)](l(0x1c1),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory['registerCommand']('take',TakeCommand),CommandFactory['registerCommand']('use',UseCommand),CommandFactory[l(0x1b2)](l(0x1b5),EquipCommand),CommandFactory[l(0x1b2)]('unequip',UnequipCommand),CommandFactory[l(0x1b2)](l(0x1b6),SolveCommand),CommandFactory[l(0x1b2)]('drop',DropCommand),CommandFactory['registerCommand'](l(0x1bc),UnlockCommand),CommandFactory[l(0x1b2)](l(0x1c8),LockCommand),CommandFactory[l(0x1b2)](l(0x1ca),SearchCommand),CommandFactory[l(0x1b2)]('say',SayCommand);}[a45j(0x1c0)](){const m=a45j;return this[m(0x1cb)][m(0x1c0)]();}[a45j(0x1ab)](){const n=a45j;return n(0x1bb)+this[n(0x1d5)][n(0x1d6)];}static[a45j(0x1b9)](a,b){const o=a45j;return!Game[o(0x1af)]&&(Game[o(0x1af)]=new Game(a,b)),Game[o(0x1af)];}['handleInput'](a){const p=a45j,b=a[p(0x1be)]()[p(0x1b8)]('\x20'),c=b[0x0][p(0x1bf)](),d=b[p(0x1ac)](0x1);if(c===p(0x1d0))return null;if(c===p(0x1b7))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===p(0x1b3))return this['getHelpMessage']();if(c===p(0x1d1))return'';const e={'actor':this[p(0x1d5)],'rooms':this[p(0x1cb)][p(0x1ad)](),'scene':this[p(0x1cb)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[p(0x1cf)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}['getHelpMessage'](){const q=a45j,a=CommandFactory[q(0x1c7)]();let b=q(0x1b0);for(const c in a){if(a[q(0x1b1)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x1cc)]()+'\x0a';}}return b+=q(0x1c9),b+=q(0x1c6),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0xc5))/0x1*(-parseInt(f(0xd2))/0x2)+parseInt(f(0xd0))/0x3+parseInt(f(0xc9))/0x4*(parseInt(f(0xd3))/0x5)+parseInt(f(0xcc))/0x6*(-parseInt(f(0xc6))/0x7)+-parseInt(f(0xd1))/0x8+parseInt(f(0xcf))/0x9+parseInt(f(0xcd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x32490));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xc7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0xcb)](h(0xce))[h(0xca)]()[h(0xc8)](a46a)[h(0xcb)](h(0xce));});a46a();function a46c(){var i=['229523NLeHKQ','apply','constructor','1190676vexsAb','toString','search','12RPCslB','3442500daclsQ','(((.+)+)+)+$','1270548FwvumL','14916tEwGeu','1606576eBTvOJ','1030KlJPCH','5JuEFEH','613ADTcbP'];a46c=function(){return i;};return a46c();}export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xc5;var f=c[d];return f;},a46d(a,b);}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x1e3))/0x1*(parseInt(f(0x1e7))/0x2)+-parseInt(f(0x1ed))/0x3*(-parseInt(f(0x1e6))/0x4)+-parseInt(f(0x1ee))/0x5+-parseInt(f(0x1e4))/0x6*(-parseInt(f(0x1ec))/0x7)+parseInt(f(0x1eb))/0x8+parseInt(f(0x1f1))/0x9*(-parseInt(f(0x1e5))/0xa)+parseInt(f(0x1e8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x75b3b));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0x1ea)](h(0x1f0))[h(0x1ef)]()['constructor'](a46a)[h(0x1ea)](h(0x1f0));});a46a();export*from'./door.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1e3;var f=c[d];return f;},a46d(a,b);}export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';function a46c(){var i=['2oDBMHc','5697348nEOzmt','10setSFK','2468gelMlJ','827178EaYJYJ','6053487PHadbU','apply','search','2236776PJNXtV','7uBstnb','2403wQMoUQ','2153455qzvlbP','toString','(((.+)+)+)+$','4803417cfsizt'];a46c=function(){return i;};return a46c();}
@@ -1 +1 @@
1
- var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0xe9))/0x1*(-parseInt(f(0xd7))/0x2)+-parseInt(f(0xeb))/0x3*(parseInt(f(0xd6))/0x4)+parseInt(f(0xea))/0x5+parseInt(f(0xde))/0x6*(-parseInt(f(0xdb))/0x7)+parseInt(f(0xe3))/0x8+-parseInt(f(0xe2))/0x9+-parseInt(f(0xf2))/0xa*(-parseInt(f(0xd5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x77576));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0xec)]()[h(0xed)](h(0xe7))['toString']()[h(0xdc)](a47a)['search']('(((.+)+)+)+$');});a47a();import{Logger}from'../utilities/logger.js';function a47c(){var o=['\x20and\x20','8365dAlkCr','constructor','name','1116EegEUN','checkIfLocked','logger','getInstance','5622579ucjRTs','265544SCPixd','write','apply','getOtherSide','(((.+)+)+)+$','.\x20Used:\x20','3bgmrgb','4030800TbrOPn','5631ccvgMx','toString','search','.\x20Is\x20Locked:\x20','roomB','isLocked','unlockItemOrSolution','70tNpPTe','Door\x20unlocked:\x20','2592931KLYViG','652giwWqd','565084ZEPECW','roomA','isLockable'];a47c=function(){return o;};return a47c();}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-0xd5;var f=c[d];return f;},a47d(a,b);}export class Door extends AbstractDoor{[a47i(0xd8)];['roomB'];['isLocked'];['unlockItemOrSolution'];[a47i(0xdd)];['logger'];['isLockable'];constructor(a){var j=a47i;super(),this[j(0xd8)]=a[j(0xd8)],this[j(0xef)]=a[j(0xef)],this['isLocked']=a[j(0xf0)]||![],this[j(0xf1)]=a[j(0xf1)],this[j(0xdd)]=a['name']?capitalCase(a[j(0xdd)]):'To\x20'+a[j(0xef)]['name'],this[j(0xe0)]=Logger[j(0xe1)](),this['isLockable']=!!a['unlockItemOrSolution'],this[j(0xe0)][j(0xe4)]('Door\x20created\x20between\x20'+this[j(0xd8)][j(0xdd)]+j(0xda)+this[j(0xef)]['name']+j(0xee)+this[j(0xf0)]);}[a47i(0xe6)](a){var k=a47i;return this[k(0xd8)]===a?this[k(0xef)]:this[k(0xd8)];}['attemptUnlock'](a){var l=a47i;if(this[l(0xf0)]&&this[l(0xf1)]&&this['unlockItemOrSolution']===a)return this[l(0xf0)]=![],this[l(0xe0)][l(0xe4)](l(0xf3)+this[l(0xdd)]+l(0xe8)+a),!![];return this[l(0xe0)][l(0xe4)]('Failed\x20to\x20unlock\x20door:\x20'+this[l(0xdd)]+l(0xe8)+a),![];}[a47i(0xdf)](){var m=a47i;return this[m(0xf0)];}['checkIfLockable'](){var n=a47i;return this[n(0xd9)];}}
1
+ var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x94))/0x1+parseInt(f(0xa5))/0x2+parseInt(f(0xa0))/0x3*(parseInt(f(0x98))/0x4)+-parseInt(f(0x93))/0x5*(-parseInt(f(0x8b))/0x6)+-parseInt(f(0x9e))/0x7*(parseInt(f(0x95))/0x8)+-parseInt(f(0x8a))/0x9*(-parseInt(f(0x99))/0xa)+-parseInt(f(0x8f))/0xb*(parseInt(f(0x8c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x1aaa5));var a47b=(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;};}()),a47a=a47b(this,function(){var g=a47d;return a47a[g(0xa4)]()['search'](g(0x90))['toString']()['constructor'](a47a)['search'](g(0x90));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a47c(){var n=['3dexjoT','To\x20','unlockItemOrSolution','checkIfLockable','toString','274034ICAfpV','roomA','174321auyalw','232854RMOodl','12GDqkbv','.\x20Used:\x20','isLocked','2931027LANkjO','(((.+)+)+)+$','\x20and\x20','checkIfLocked','15zszEhL','63134kCShtm','38336pPBDKt','write','isLockable','563332EMHcdr','70BtdDRY','attemptUnlock','logger','Door\x20created\x20between\x20','name','133XRsSQU','roomB'];a47c=function(){return n;};return a47c();}function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x8a;var f=c[d];return f;},a47d(a,b);}export class Door extends AbstractDoor{[a47h(0xa6)];[a47h(0x9f)];['isLocked'];[a47h(0xa2)];[a47h(0x9d)];[a47h(0x9b)];[a47h(0x97)];constructor(a){var i=a47h;super(),this[i(0xa6)]=a['roomA'],this[i(0x9f)]=a[i(0x9f)],this[i(0x8e)]=a[i(0x8e)]||![],this[i(0xa2)]=a[i(0xa2)],this[i(0x9d)]=a[i(0x9d)]?capitalCase(a[i(0x9d)]):i(0xa1)+a[i(0x9f)][i(0x9d)],this[i(0x9b)]=Logger['getInstance'](),this[i(0x97)]=!!a['unlockItemOrSolution'],this[i(0x9b)][i(0x96)](i(0x9c)+this[i(0xa6)][i(0x9d)]+i(0x91)+this[i(0x9f)][i(0x9d)]+'.\x20Is\x20Locked:\x20'+this['isLocked']);}['getOtherSide'](a){var j=a47h;return this[j(0xa6)]===a?this[j(0x9f)]:this['roomA'];}[a47h(0x9a)](a){var k=a47h;if(this[k(0x8e)]&&this[k(0xa2)]&&this[k(0xa2)]===a)return this[k(0x8e)]=![],this[k(0x9b)][k(0x96)]('Door\x20unlocked:\x20'+this[k(0x9d)]+k(0x8d)+a),!![];return this[k(0x9b)][k(0x96)]('Failed\x20to\x20unlock\x20door:\x20'+this[k(0x9d)]+'.\x20Used:\x20'+a),![];}[a47h(0x92)](){var l=a47h;return this[l(0x8e)];}[a47h(0xa3)](){var m=a47h;return this[m(0x97)];}}
@@ -1 +1 @@
1
- const a48i=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x1ad))/0x1*(-parseInt(f(0x1b1))/0x2)+parseInt(f(0x1a8))/0x3+parseInt(f(0x1a6))/0x4+-parseInt(f(0x1ae))/0x5*(-parseInt(f(0x1ce))/0x6)+parseInt(f(0x1b3))/0x7*(parseInt(f(0x1ba))/0x8)+parseInt(f(0x1cd))/0x9+-parseInt(f(0x1bc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xafbb6));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1b5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1c1)]()['search'](h(0x1c3))[h(0x1c1)]()[h(0x1b7)](a48a)[h(0x1bd)](h(0x1c3));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a48c(){const r=['search','\x20from\x20inventory.','weight','map','toString','\x20in\x20','(((.+)+)+)+$','getItem','join','name','keys','Added\x20item:\x20','getWeight','removeItem','Failed\x20to\x20remove\x20item:\x20','hasItem','3409398VyplVk','6FwZAcr','1004188ZKqvYU','values','3674037BadECJ','.\x20Exists:\x20','logger','write','has','84162NRWAoS','7117255JyTjos','items','listItems','26ofczfU','Checked\x20for\x20item:\x20','4158LaLBmX','Retrieved\x20details\x20for\x20item:\x20','apply','set','constructor','toLowerCase','get','2456UlhlLR','getAllItems','38346650BGDyvO'];a48c=function(){return r;};return a48c();}export class Inventory extends AbstractInventory{['items'];[a48i(0x1aa)];constructor(){const j=a48i;super(),this['items']=new Map(),this[j(0x1aa)]=Logger['getInstance']();}['addItem'](a){const k=a48i;this[k(0x1af)][k(0x1b6)](a[k(0x1c6)][k(0x1b8)](),a),this[k(0x1aa)][k(0x1ab)](k(0x1c8)+a['name']+'\x20to\x20inventory.');}[a48i(0x1ca)](a){const l=a48i,b=this[l(0x1c4)](a);if(b)return this[l(0x1af)]['delete'](a[l(0x1b8)]()),this[l(0x1aa)]['write']('Removed\x20item:\x20'+a+l(0x1be)),b;return this['logger'][l(0x1ab)](l(0x1cb)+a+'.\x20Item\x20not\x20found.'),null;}[a48i(0x1cc)](a){const m=a48i,b=this['items'][m(0x1ac)](a[m(0x1b8)]()),c=[...this[m(0x1af)]['keys']()];return this[m(0x1aa)][m(0x1ab)](m(0x1b2)+a+m(0x1c2)+c[m(0x1c5)](',\x20')+m(0x1a9)+b+'.'),b;}[a48i(0x1c4)](a){const n=a48i,b=this['items'][n(0x1b9)](a['toLowerCase']())||null;return b?this['logger']['write'](n(0x1b4)+a+'.'):this[n(0x1aa)][n(0x1ab)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),b;}[a48i(0x1b0)](){const o=a48i,a=[...this[o(0x1af)][o(0x1c7)]()],b=a[o(0x1c0)](c=>capitalCase(c));return this[o(0x1aa)][o(0x1ab)]('Listed\x20items\x20in\x20inventory:\x20'+b['join'](',\x20')+'.'),a;}[a48i(0x1c9)](){const p=a48i;let a=0x0;for(const b of this[p(0x1af)][p(0x1a7)]()){a+=b[p(0x1bf)];}return a;}[a48i(0x1bb)](){const q=a48i;return[...this[q(0x1af)]['values']()];}}
1
+ const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x1d3))/0x1*(-parseInt(f(0x1c1))/0x2)+parseInt(f(0x1e6))/0x3*(parseInt(f(0x1d2))/0x4)+parseInt(f(0x1d5))/0x5*(parseInt(f(0x1dd))/0x6)+-parseInt(f(0x1e7))/0x7*(-parseInt(f(0x1c3))/0x8)+-parseInt(f(0x1e4))/0x9+-parseInt(f(0x1e2))/0xa+parseInt(f(0x1cb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x4f8b8));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1c5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1c0)]()[h(0x1c9)](h(0x1cd))[h(0x1c0)]()['constructor'](a48a)[h(0x1c9)](h(0x1cd));});a48a();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a48d(a,b);}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a48c(){const r=['getWeight','Retrieved\x20details\x20for\x20item:\x20','.\x20Exists:\x20','toString','116576XEGqVw','name','16rQIqQy','write','apply','weight','map','\x20in\x20','search','keys','7257855rHZzcf','items','(((.+)+)+)+$','\x20from\x20inventory.','Removed\x20item:\x20','getInstance','Checked\x20for\x20item:\x20','4FGhkjB','10wmfrbn','removeItem','2221745BHTEQY','getItem','addItem','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','toLowerCase','Listed\x20items\x20in\x20inventory:\x20','hasItem','logger','6DByoHX','delete','join','\x20to\x20inventory.','Added\x20item:\x20','2748440ihJkBU','values','3623211oiYzFE','Failed\x20to\x20remove\x20item:\x20','1074477FdxbgO','433321ZCwEQh','getAllItems'];a48c=function(){return r;};return a48c();}export class Inventory extends AbstractInventory{[a48i(0x1cc)];[a48i(0x1dc)];constructor(){const j=a48i;super(),this[j(0x1cc)]=new Map(),this[j(0x1dc)]=Logger[j(0x1d0)]();}[a48i(0x1d7)](a){const k=a48i;this['items']['set'](a[k(0x1c2)][k(0x1d9)](),a),this[k(0x1dc)][k(0x1c4)](k(0x1e1)+a['name']+k(0x1e0));}[a48i(0x1d4)](a){const l=a48i,b=this[l(0x1d6)](a);if(b)return this[l(0x1cc)][l(0x1de)](a[l(0x1d9)]()),this[l(0x1dc)][l(0x1c4)](l(0x1cf)+a+l(0x1ce)),b;return this['logger'][l(0x1c4)](l(0x1e5)+a+'.\x20Item\x20not\x20found.'),null;}[a48i(0x1db)](a){const m=a48i,b=this[m(0x1cc)]['has'](a[m(0x1d9)]()),c=[...this['items'][m(0x1ca)]()];return this[m(0x1dc)][m(0x1c4)](m(0x1d1)+a+m(0x1c8)+c[m(0x1df)](',\x20')+m(0x1bf)+b+'.'),b;}[a48i(0x1d6)](a){const n=a48i,b=this['items']['get'](a['toLowerCase']())||null;return b?this[n(0x1dc)][n(0x1c4)](n(0x1be)+a+'.'):this['logger'][n(0x1c4)](n(0x1d8)+a+'.\x20Item\x20not\x20found.'),b;}['listItems'](){const o=a48i,a=[...this[o(0x1cc)]['keys']()],b=a[o(0x1c7)](c=>capitalCase(c));return this[o(0x1dc)]['write'](o(0x1da)+b[o(0x1df)](',\x20')+'.'),a;}[a48i(0x1bd)](){const p=a48i;let a=0x0;for(const b of this['items']['values']()){a+=b[p(0x1c6)];}return a;}[a48i(0x1bc)](){const q=a48i;return[...this[q(0x1cc)][q(0x1e3)]()];}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1ad))/0x1+-parseInt(f(0x1a7))/0x2*(-parseInt(f(0x1b2))/0x3)+parseInt(f(0x1a6))/0x4+-parseInt(f(0x1a8))/0x5*(-parseInt(f(0x1bb))/0x6)+parseInt(f(0x1ba))/0x7+-parseInt(f(0x1b0))/0x8*(parseInt(f(0x1aa))/0x9)+-parseInt(f(0x1b9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x1f284));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0x1a4)](h(0x1af))['toString']()['constructor'](a49a)[h(0x1a4)](h(0x1af));});a49a();function a49c(){var l=['52804JzSBXp','category','(((.+)+)+)+$','287288KZHsac','description','3nlOFAB','You\x20use\x20the\x20','shape','.\x20Nothing\x20special\x20happens.','color','use','rating','1249980XLnQMx','943264CnTCNN','6VxaUym','weight','search','size','331268blRGqR','467862elOFry','167385vKxkaJ','apply','45BkqmdP','texture','name'];a49c=function(){return l;};return a49c();}import{v4 as a49e}from'uuid';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1a3;var f=c[d];return f;},a49d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];[a49i(0x1ac)];[a49i(0x1b1)];[a49i(0x1a5)];[a49i(0x1ae)];[a49i(0x1b4)];[a49i(0x1b6)];[a49i(0x1ab)];[a49i(0x1b8)];[a49i(0x1a3)];constructor(a){var j=a49i;super(),this[j(0x1ac)]=a[j(0x1ac)],this[j(0x1b1)]=a[j(0x1b1)],this[j(0x1a5)]=a[j(0x1a5)],this[j(0x1ae)]=a['category'],this[j(0x1b4)]=a[j(0x1b4)],this['color']=a['color'],this['texture']=a[j(0x1ab)],this[j(0x1b8)]=a[j(0x1b8)],this[j(0x1a3)]=a[j(0x1a3)],this['uuid']=a49e();}[a49i(0x1b7)](){var k=a49i;return k(0x1b3)+this['name']+k(0x1b5);}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x116))/0x1+parseInt(f(0x12a))/0x2+-parseInt(f(0x122))/0x3*(parseInt(f(0x120))/0x4)+-parseInt(f(0x118))/0x5*(parseInt(f(0x11c))/0x6)+-parseInt(f(0x113))/0x7+-parseInt(f(0x117))/0x8*(parseInt(f(0x129))/0x9)+-parseInt(f(0x127))/0xa*(-parseInt(f(0x119))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x828b0));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x12c)]()['search']('(((.+)+)+)+$')[h(0x12c)]()['constructor'](a49a)[h(0x11d)]('(((.+)+)+)+$');});a49a();function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x113;var f=c[d];return f;},a49d(a,b);}function a49c(){var l=['category','.\x20Nothing\x20special\x20happens.','shape','texture','22559710mEaVkS','color','711MGoDod','1752376jwvbQT','apply','toString','3962280gFUnLK','description','weight','559798dTuiXm','64120xlPCjo','872285SAdfFE','11BbMLWE','rating','use','18hABOMA','search','size','name','68AawYNo','You\x20use\x20the\x20','55599XLIiYl'];a49c=function(){return l;};return a49c();}import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];[a49i(0x11f)];[a49i(0x114)];[a49i(0x11e)];[a49i(0x123)];[a49i(0x125)];[a49i(0x128)];[a49i(0x126)];[a49i(0x11a)];[a49i(0x115)];constructor(a){var j=a49i;super(),this['name']=a[j(0x11f)],this[j(0x114)]=a['description'],this[j(0x11e)]=a[j(0x11e)],this[j(0x123)]=a['category'],this[j(0x125)]=a['shape'],this[j(0x128)]=a[j(0x128)],this[j(0x126)]=a['texture'],this['rating']=a[j(0x11a)],this['weight']=a[j(0x115)],this['uuid']=a49e();}[a49i(0x11b)](){var k=a49i;return k(0x121)+this[k(0x11f)]+k(0x124);}}
@@ -1 +1 @@
1
- const a50i=a50d;function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x124;let f=c[d];return f;},a50d(a,b);}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x134))/0x1*(-parseInt(f(0x12e))/0x2)+parseInt(f(0x13f))/0x3+-parseInt(f(0x12d))/0x4+-parseInt(f(0x12c))/0x5*(parseInt(f(0x126))/0x6)+-parseInt(f(0x12b))/0x7*(-parseInt(f(0x125))/0x8)+-parseInt(f(0x13a))/0x9*(-parseInt(f(0x128))/0xa)+-parseInt(f(0x131))/0xb*(-parseInt(f(0x139))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x9fd53));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x133)]()['search'](h(0x12a))[h(0x133)]()[h(0x13b)](a50a)[h(0x13c)](h(0x12a));});a50a();import{Player}from'./player.js';function a50c(){const n=['constructor','search','name','execute','803994nDsnkD','_dialogue','moveTo','2359784Mfzmxa','6KzQcqh','length','10VctSlb','scene','(((.+)+)+)+$','28LUJQjm','2469955LZbtRi','2938528KsIPJD','274524PKyqHi','speak','random','66781tkpQOp','_name','toString','9OoEJtz','rooms','autonomousMove','apply','floor','3204yPFjEF','448281YRoISn'];a50c=function(){return n;};return a50c();}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x132)];[a50i(0x140)];[a50i(0x135)];[a50i(0x129)];constructor(a,b,c,d){const j=a50i;super(d),this['_name']=a,this[j(0x140)]=b,this[j(0x135)]=c;}get[a50i(0x13d)](){return this['_name'];}[a50i(0x12f)](){const k=a50i;return this['_dialogue'][Math['floor'](Math[k(0x130)]()*this[k(0x140)]['length'])];}[a50i(0x136)](a){const l=a50i,b=a[Math[l(0x138)](Math[l(0x130)]()*a[l(0x127)])];this[l(0x124)](b['name']);}[a50i(0x124)](a){const m=a50i,b={'actor':this,'rooms':this[m(0x135)],'scene':this[m(0x129)]},c=new GoCommand(b);c[m(0x13e)]([a]);}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x141))/0x1*(parseInt(f(0x145))/0x2)+parseInt(f(0x13f))/0x3+-parseInt(f(0x12a))/0x4+-parseInt(f(0x12b))/0x5*(parseInt(f(0x134))/0x6)+-parseInt(f(0x12c))/0x7*(parseInt(f(0x13a))/0x8)+parseInt(f(0x13c))/0x9*(-parseInt(f(0x133))/0xa)+-parseInt(f(0x139))/0xb*(-parseInt(f(0x12d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x7ff12));function a50c(){const o=['30614xGmeCc','3643168CjFOMq','43940WAAHvY','993097xbkpQH','903444sMgths','toString','name','random','_name','search','10IgzcHm','636ELKhBC','_dialogue','apply','scene','(((.+)+)+)+$','352KiUADk','24UfYczZ','rooms','3068082ahUEmj','floor','execute','196488HUKYsO','length','43nTYBez','constructor','moveTo','speak'];a50c=function(){return o;};return a50c();}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x136)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x12e)]()[h(0x132)](h(0x138))[h(0x12e)]()[h(0x142)](a50a)[h(0x132)](h(0x138));});a50a();function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x12a;let f=c[d];return f;},a50d(a,b);}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x131)];[a50i(0x135)];[a50i(0x13b)];['scene'];constructor(a,b,c,d){const j=a50i;super(d),this['_name']=a,this[j(0x135)]=b,this[j(0x13b)]=c;}get[a50i(0x12f)](){const k=a50i;return this[k(0x131)];}[a50i(0x144)](){const l=a50i;return this[l(0x135)][Math[l(0x13d)](Math[l(0x130)]()*this[l(0x135)]['length'])];}['autonomousMove'](a){const m=a50i,b=a[Math['floor'](Math['random']()*a[m(0x140)])];this[m(0x143)](b[m(0x12f)]);}[a50i(0x143)](a){const n=a50i,b={'actor':this,'rooms':this['rooms'],'scene':this[n(0x137)]},c=new GoCommand(b);c[n(0x13e)]([a]);}}
@@ -1 +1 @@
1
- function a51c(){const A=['You\x20can\x27t\x20equip\x20','\x20to\x20player\x27s\x20inventory.','_equipment','527884wQuJRG','99757NMfuha','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','20rwfMFJ','addInventory','(((.+)+)+)+$','armarmor','_maxCarryingWeight','equipment','off','write','shield','\x20is\x20no\x20longer\x20listeng\x20in\x20','bodyarmor','includes','You\x20don\x27t\x20have\x20','bind','arms','body\x20armor','ArmArmor','category','.\x20You\x20must\x20unequip\x20it\x20first.','unequipBySlot','values','_playerName','You\x20unequipped\x20','name','72796tqENRh','Invalid\x20category\x20or\x20slot:\x20','search','Gloves','138mIPNbs','Weapon','log','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','3ymgAng','getWeight','\x20says:\x20\x22','initialEquipment','8dTzqCj','toLowerCase','_currentLocation','boots','gloves','hasItem','legarmor','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','\x20in\x20your\x20inventory.','determineEquipmentSlot','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','hear','feet','5128730QHDCci','toString','Nexus','currentWeight','Helmet','Failed\x20to\x20remove\x20','1376798gLvMzZ','maxCarryingWeight','weapon','\x20is\x20now\x20listening\x20in\x20room\x20','Hat','torso','_inventory','inventory','speak','weight','3869433qwMocu','\x20from\x20player\x27s\x20inventory.','constructor','currentLocation','Boots','getInstance','legs','head','leaveRoom','leg\x20armor','addItem','logger','leftHand','\x20slot.','canEquip','inventoryItems','arm\x20armor','You\x20equipped\x20','rightHand','unequip','removeInventory','hat','Max\x20carrying\x20weight\x20must\x20be\x20positive.','13324630lXAEEn','apply','Added\x20'];a51c=function(){return A;};return a51c();}const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x1e1))/0x1+parseInt(f(0x1ba))/0x2*(-parseInt(f(0x204))/0x3)+parseInt(f(0x1fc))/0x4*(-parseInt(f(0x1e4))/0x5)+parseInt(f(0x200))/0x6*(-parseInt(f(0x1e2))/0x7)+-parseInt(f(0x1a6))/0x8*(parseInt(f(0x1c4))/0x9)+parseInt(f(0x1b4))/0xa+parseInt(f(0x1db))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xb2ffe));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x1b5)]()[h(0x1fe)](h(0x1e6))[h(0x1b5)]()[h(0x1c6)](a51a)[h(0x1fe)](h(0x1e6));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1a6;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{[a51i(0x1f9)];['_currentLocation'];[a51i(0x1c0)];[a51i(0x1e0)];[a51i(0x1e8)]=0x32;[a51i(0x1cf)];constructor(a){const j=a51i;super(),this[j(0x1f9)]=a['playerName'],this[j(0x1a8)]=a['startLocation']||new Room({'name':j(0x1b6),'description':'A\x20featureless\x20room'}),this['_inventory']=new Inventory(),this['logger']=Logger[j(0x1c9)]();if(a?.[j(0x1d3)])for(const b of a[j(0x1d3)]){this[j(0x1c0)][j(0x1ce)](b);}this[j(0x1e0)]=a?.[j(0x207)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x1fb)](){return this['_playerName'];}get[a51i(0x1c7)](){const k=a51i;return this[k(0x1a8)];}set['currentLocation'](a){const l=a51i;this[l(0x1a8)]!==a&&(this[l(0x1cc)](),this['enterRoom'](a)),this[l(0x1a8)]=a;}get[a51i(0x1c1)](){return this['_inventory'];}get[a51i(0x1e9)](){const m=a51i;return this[m(0x1e0)];}set[a51i(0x1e9)](a){this['_equipment']=a;}get[a51i(0x1bb)](){const n=a51i;return this[n(0x1e8)];}set[a51i(0x1bb)](a){const o=a51i;a>0x0?this[o(0x1e8)]=a:console['error'](o(0x1da));}get[a51i(0x1b7)](){const p=a51i;let a=this[p(0x1c0)][p(0x205)]();for(const b in this[p(0x1e0)]){const c=this['_equipment'][b];c&&(a+=c[p(0x1c3)]);}return a;}[a51i(0x1e5)](a){const q=a51i;if(this[q(0x1b7)]+a[q(0x1c3)]>this['maxCarryingWeight']){this[q(0x1cf)][q(0x1eb)](q(0x1e3));throw new Error(q(0x1b1));}this['_inventory'][q(0x1ce)](a),this[q(0x1cf)]['write'](q(0x1dd)+a[q(0x1fb)]+q(0x1df));}[a51i(0x1d8)](a){const r=a51i;if(this[r(0x1c0)]['removeItem'](a[r(0x1fb)]))return this[r(0x1cf)][r(0x1eb)]('Removed\x20'+a[r(0x1fb)]+r(0x1c5)),!![];return this[r(0x1cf)][r(0x1eb)](r(0x1b9)+a[r(0x1fb)]+r(0x1c5)),![];}['equip'](a){const s=a51i;if(!this[s(0x1c0)][s(0x1ab)](a[s(0x1fb)]))return s(0x1f0)+a[s(0x1fb)]+s(0x1ae);if(!this[s(0x1d2)](a))return s(0x1de)+a[s(0x1fb)]+'.';const b=this['determineEquipmentSlot'](a[s(0x1f5)]);if(!b)return a[s(0x1fb)]+s(0x1ad);if(this[s(0x1e9)][b])return s(0x1b0)+b+s(0x1f6);return this[s(0x1e9)][b]=a,this[s(0x1d8)](a),s(0x1d5)+a[s(0x1fb)]+'.';}[a51i(0x1d7)](a){const t=a51i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[t(0x1af)](a);if(!b)return t(0x1fd)+a+'.';}return this[t(0x1f7)](b);}[a51i(0x1af)](a){const u=a51i;switch(a['toLowerCase']()){case Category[u(0x201)]['toLowerCase']():return u(0x1d6);case Category['Shield'][u(0x1a7)]():return u(0x1d0);case Category[u(0x1ff)][u(0x1a7)]():return u(0x1aa);case Category[u(0x1b8)][u(0x1a7)]():case Category[u(0x1be)][u(0x1a7)]():return'head';case Category[u(0x1c8)][u(0x1a7)]():return'feet';case Category['LegArmor'][u(0x1a7)]():return u(0x1ca);case Category[u(0x1f4)][u(0x1a7)]():return u(0x1f2);case Category['BodyArmor'][u(0x1a7)]():return u(0x1bf);case u(0x1bc):return'rightHand';case u(0x1ec):return'leftHand';case u(0x1aa):return u(0x1aa);case'helmet':case u(0x1d9):return u(0x1cb);case u(0x1a9):return u(0x1b3);case u(0x1cd):case u(0x1ac):return u(0x1ca);case u(0x1d4):case u(0x1e7):return u(0x1f2);case u(0x1f3):case u(0x1ee):case u(0x1bf):return u(0x1bf);default:return null;}}[a51i(0x1d2)](a){const v=a51i;return Object[v(0x1f8)](Category)[v(0x1ef)](a[v(0x1f5)]);}['unequipBySlot'](a){const w=a51i,b=this['equipment'][a];if(!b)return w(0x203)+a+w(0x1d1);return this[w(0x1e5)](b),this[w(0x1e9)][a]=null,w(0x1fa)+b[w(0x1fb)]+'.';}[a51i(0x1b2)](a,b){const x=a51i;a!==this&&this[x(0x1cf)][x(0x202)](a['name']+x(0x206)+b+'\x22');}['enterRoom'](a){const y=a51i;this[y(0x1a8)]=a,a['on'](y(0x1c2),this[y(0x1b2)][y(0x1f1)](this)),this['logger'][y(0x1eb)](this[y(0x1fb)]+y(0x1bd)+a[y(0x1fb)]);}[a51i(0x1cc)](){const z=a51i;this['_currentLocation']&&(this[z(0x1a8)][z(0x1ea)](z(0x1c2),this[z(0x1b2)][z(0x1f1)](this)),this[z(0x1cf)][z(0x1eb)](this[z(0x1fb)]+z(0x1ed)+this[z(0x1a8)][z(0x1fb)]));}}
1
+ const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x16e))/0x1*(parseInt(f(0x187))/0x2)+parseInt(f(0x170))/0x3+parseInt(f(0x16d))/0x4*(parseInt(f(0x17e))/0x5)+-parseInt(f(0x190))/0x6*(parseInt(f(0x1ad))/0x7)+-parseInt(f(0x17d))/0x8+-parseInt(f(0x176))/0x9+parseInt(f(0x1b3))/0xa*(parseInt(f(0x1a0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x6616a));function a51c(){const A=['constructor','determineEquipmentSlot','gloves','11inZCtC','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','weapon','head','legs','(((.+)+)+)+$','LegArmor','off','playerName','hear','hasItem','feet','_inventory','14HkFDQk','enterRoom','search','log','leftHand','Failed\x20to\x20remove\x20','18317620UrsJAz','Helmet','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','addInventory','bind','arm\x20armor','ArmArmor','Boots','maxCarryingWeight','inventoryItems','shield','Max\x20carrying\x20weight\x20must\x20be\x20positive.','speak','getInstance','equipment','936140mnLURO','22391mOMXBe','armarmor','25839AXIKDv','You\x20unequipped\x20','\x20says:\x20\x22','_equipment','torso','_playerName','596277McOLZc','You\x20don\x27t\x20have\x20','leg\x20armor','Hat','\x20to\x20player\x27s\x20inventory.','arms','_currentLocation','3806904UxtdiW','5lXLIgS','canEquip','\x20in\x20your\x20inventory.','name','legarmor','currentLocation','removeInventory','error','values','40yYeSNM','leaveRoom','Removed\x20','Added\x20','\x20from\x20player\x27s\x20inventory.','rightHand','equip','_maxCarryingWeight','logger','1998960CrzniV','\x20slot.','write','You\x20equipped\x20','currentWeight','unequipBySlot','BodyArmor','category','includes','toLowerCase','helmet','addItem','weight'];a51c=function(){return A;};return a51c();}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const g=a51d;return a51a['toString']()['search'](g(0x1a5))['toString']()[g(0x19d)](a51a)[g(0x1af)](g(0x1a5));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x16c;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(0x175)];[a51h(0x17c)];[a51h(0x1ac)];[a51h(0x173)];[a51h(0x18e)]=0x32;['logger'];constructor(a){const i=a51h;super(),this[i(0x175)]=a[i(0x1a8)],this['_currentLocation']=a['startLocation']||new Room({'name':'Nexus','description':'A\x20featureless\x20room'}),this[i(0x1ac)]=new Inventory(),this[i(0x18f)]=Logger[i(0x1c0)]();if(a?.[i(0x1bc)])for(const b of a[i(0x1bc)]){this[i(0x1ac)][i(0x19b)](b);}this[i(0x173)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0x181)](){const j=a51h;return this[j(0x175)];}get['currentLocation'](){const k=a51h;return this[k(0x17c)];}set[a51h(0x183)](a){const l=a51h;this[l(0x17c)]!==a&&(this[l(0x188)](),this['enterRoom'](a)),this['_currentLocation']=a;}get['inventory'](){return this['_inventory'];}get['equipment'](){const m=a51h;return this[m(0x173)];}set[a51h(0x16c)](a){this['_equipment']=a;}get[a51h(0x1bb)](){const n=a51h;return this[n(0x18e)];}set[a51h(0x1bb)](a){const o=a51h;a>0x0?this['_maxCarryingWeight']=a:console[o(0x185)](o(0x1be));}get[a51h(0x194)](){const p=a51h;let a=this[p(0x1ac)]['getWeight']();for(const b in this[p(0x173)]){const c=this[p(0x173)][b];c&&(a+=c[p(0x19c)]);}return a;}[a51h(0x1b6)](a){const q=a51h;if(this[q(0x194)]+a[q(0x19c)]>this[q(0x1bb)]){this[q(0x18f)][q(0x192)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(q(0x1a1));}this['_inventory'][q(0x19b)](a),this[q(0x18f)]['write'](q(0x18a)+a[q(0x181)]+q(0x17a));}[a51h(0x184)](a){const r=a51h;if(this[r(0x1ac)]['removeItem'](a[r(0x181)]))return this['logger']['write'](r(0x189)+a['name']+r(0x18b)),!![];return this[r(0x18f)][r(0x192)](r(0x1b2)+a[r(0x181)]+r(0x18b)),![];}[a51h(0x18d)](a){const s=a51h;if(!this[s(0x1ac)][s(0x1aa)](a[s(0x181)]))return s(0x177)+a['name']+s(0x180);if(!this[s(0x17f)](a))return'You\x20can\x27t\x20equip\x20'+a[s(0x181)]+'.';const b=this[s(0x19e)](a[s(0x197)]);if(!b)return a[s(0x181)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[s(0x16c)][b])return s(0x1b5)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[s(0x16c)][b]=a,this[s(0x184)](a),s(0x193)+a[s(0x181)]+'.';}['unequip'](a){const t=a51h;let b=a;if(!this[t(0x16c)][camelCase(b)]){b=this[t(0x19e)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this['unequipBySlot'](b);}[a51h(0x19e)](a){const u=a51h;switch(a[u(0x199)]()){case Category['Weapon'][u(0x199)]():return u(0x18c);case Category['Shield'][u(0x199)]():return u(0x1b1);case Category['Gloves'][u(0x199)]():return u(0x19f);case Category[u(0x1b4)][u(0x199)]():case Category[u(0x179)][u(0x199)]():return u(0x1a3);case Category[u(0x1ba)]['toLowerCase']():return u(0x1ab);case Category[u(0x1a6)][u(0x199)]():return u(0x1a4);case Category[u(0x1b9)][u(0x199)]():return u(0x17b);case Category[u(0x196)][u(0x199)]():return u(0x174);case u(0x1a2):return u(0x18c);case u(0x1bd):return u(0x1b1);case u(0x19f):return u(0x19f);case u(0x19a):case'hat':return u(0x1a3);case'boots':return'feet';case u(0x178):case u(0x182):return u(0x1a4);case u(0x1b8):case u(0x16f):return'arms';case'body\x20armor':case'bodyarmor':case u(0x174):return'torso';default:return null;}}['canEquip'](a){const v=a51h;return Object[v(0x186)](Category)[v(0x198)](a[v(0x197)]);}[a51h(0x195)](a){const w=a51h,b=this[w(0x16c)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+w(0x191);return this[w(0x1b6)](b),this['equipment'][a]=null,w(0x171)+b['name']+'.';}['hear'](a,b){const x=a51h;a!==this&&this[x(0x18f)][x(0x1b0)](a['name']+x(0x172)+b+'\x22');}[a51h(0x1ae)](a){const y=a51h;this[y(0x17c)]=a,a['on']('speak',this[y(0x1a9)][y(0x1b7)](this)),this[y(0x18f)][y(0x192)](this[y(0x181)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[y(0x181)]);}[a51h(0x188)](){const z=a51h;this[z(0x17c)]&&(this['_currentLocation'][z(0x1a7)](z(0x1bf),this[z(0x1a9)][z(0x1b7)](this)),this[z(0x18f)]['write'](this['name']+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[z(0x17c)][z(0x181)]));}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x11e))/0x1*(parseInt(f(0x11a))/0x2)+-parseInt(f(0x10e))/0x3+parseInt(f(0x125))/0x4*(parseInt(f(0x10f))/0x5)+-parseInt(f(0x122))/0x6+parseInt(f(0x110))/0x7+parseInt(f(0x118))/0x8+parseInt(f(0x10a))/0x9*(parseInt(f(0x121))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x58686));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x10d)](h(0x105))[h(0x11b)]()[h(0x11c)](a52a)[h(0x10d)](h(0x105));});a52a();function a52c(){var m=['toString','constructor','apply','136722xxVgbT','failureMessage','write','6242440nxbSYk','1675188lztcbW','hasRequiredItem','matchesRequiredPhrase','472304ZRaICX','(((.+)+)+)+$','hasItem','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','You\x20have\x20already\x20solved\x20this\x20puzzle.','requiredPhrase','18HZmLXK','rewardItem','riddle','search','1542192cqAfkY','10vixVvE','403557yONdbA','successMessage','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','logger','solved','You\x20solved\x20the\x20puzzle!','Puzzle:\x20Correct\x20solution\x20provided.','getInstance','186040qFBuLy','requiredItem','6DVNDun'];a52c=function(){return m;};return a52c();}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-0x105;var f=c[d];return f;},a52d(a,b);}export class Puzzle extends AbstractPuzzle{['logger']=Logger[a52i(0x117)]();['solved']=![];['requiredItem'];[a52i(0x109)];[a52i(0x10c)];[a52i(0x10b)];['successMessage'];[a52i(0x11f)];constructor(a){var j=a52i;super(),this[j(0x119)]=a[j(0x119)],this[j(0x109)]=a[j(0x109)],this['riddle']=a[j(0x10c)],this[j(0x10b)]=a['rewardItem'],this[j(0x111)]=a[j(0x111)]||j(0x115),this[j(0x11f)]=a['failureMessage']||j(0x107);}[a52i(0x123)](a){var k=a52i;if(this[k(0x119)])return a[k(0x106)](this[k(0x119)]);return![];}['matchesRequiredPhrase'](a){return this['requiredPhrase']===a;}['solve'](a,b){var l=a52i;if(this[l(0x114)])return this['logger']['write'](l(0x112)),{'success':![],'message':l(0x108)};return this[l(0x123)](b)||this[l(0x124)](a)?(this['solved']=!![],this[l(0x113)]['write'](l(0x116)),{'success':!![],'message':this[l(0x111)]}):(this['logger'][l(0x120)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[l(0x11f)]});}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xbd))/0x1+-parseInt(f(0xa4))/0x2*(-parseInt(f(0xac))/0x3)+-parseInt(f(0xb0))/0x4*(parseInt(f(0xa5))/0x5)+-parseInt(f(0xad))/0x6*(-parseInt(f(0xb6))/0x7)+parseInt(f(0xaa))/0x8+parseInt(f(0xb3))/0x9+-parseInt(f(0xbf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x43069));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xa2)]()['search'](h(0xa1))[h(0xa2)]()[h(0xb8)](a52a)[h(0xc0)](h(0xa1));});a52a();import{Logger}from'../utilities/logger.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xa0;var f=c[d];return f;},a52d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';function a52c(){var m=['9766240qkSuHD','search','Puzzle:\x20Correct\x20solution\x20provided.','(((.+)+)+)+$','toString','write','861762zCllkz','5HkOAGJ','logger','hasRequiredItem','solved','rewardItem','1754976MQHJNv','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','3EDkGWC','38442cUDHUH','matchesRequiredPhrase','successMessage','231672ecaHaU','hasItem','failureMessage','3312117mrFhwe','You\x20have\x20already\x20solved\x20this\x20puzzle.','riddle','518seiKrB','getInstance','constructor','You\x20solved\x20the\x20puzzle!','requiredItem','solve','requiredPhrase','183305humTby','apply'];a52c=function(){return m;};return a52c();}export class Puzzle extends AbstractPuzzle{[a52i(0xa6)]=Logger[a52i(0xb7)]();[a52i(0xa8)]=![];[a52i(0xba)];['requiredPhrase'];[a52i(0xb5)];[a52i(0xa9)];['successMessage'];[a52i(0xb2)];constructor(a){var j=a52i;super(),this[j(0xba)]=a[j(0xba)],this[j(0xbc)]=a[j(0xbc)],this[j(0xb5)]=a[j(0xb5)],this[j(0xa9)]=a[j(0xa9)],this[j(0xaf)]=a[j(0xaf)]||j(0xb9),this['failureMessage']=a[j(0xb2)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a52i(0xa7)](a){var k=a52i;if(this[k(0xba)])return a[k(0xb1)](this[k(0xba)]);return![];}[a52i(0xae)](a){return this['requiredPhrase']===a;}[a52i(0xbb)](a,b){var l=a52i;if(this['solved'])return this[l(0xa6)][l(0xa3)](l(0xab)),{'success':![],'message':l(0xb4)};return this['hasRequiredItem'](b)||this[l(0xae)](a)?(this[l(0xa8)]=!![],this[l(0xa6)]['write'](l(0xa0)),{'success':!![],'message':this['successMessage']}):(this['logger'][l(0xa3)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[l(0xb2)]});}}
@@ -1 +1 @@
1
- function a53c(){const u=['Item\x20added\x20to\x20room\x20','Checking\x20if\x20exit\x20in\x20direction\x20','setPuzzle','addItem','(((.+)+)+)+$','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','INSIDE','getInstance','attemptUnlock','write','\x20is\x20locked.\x20Result:\x20','constructor','description','getOppositeDirection','search','1lfKTIe','roomA','410xOKKkI','365vHnWCl','puzzle','DOWN','NORTH','\x20remains\x20locked.','logger','Invalid\x20direction:\x20','70062avLwII','values','apply','isExitLocked','getExit','removeItem','7126438FEKijD','inventory','110772qyJAkA','36RkHqpn','set','No\x20locked\x20exit\x20found\x20in\x20direction\x20','The\x20','toString','get','4117412ygnILV','emit','3248613ECOlIC','120043PXHEzK','isStartRoom','roomType','speak','attemptUnlockExit','west','exits','riddle','224qivxyi','Puzzle\x20set\x20for\x20room\x20','findExistingDoor','south','name','1794130YJUSIv','hasItem','Room\x20created:\x20','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','\x20unlocked!','checkIfLocked','north','roomB','EAST'];a53c=function(){return u;};return a53c();}const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x8c))/0x1*(parseInt(f(0x74))/0x2)+-parseInt(f(0xa7))/0x3+-parseInt(f(0xa5))/0x4+parseInt(f(0x8f))/0x5*(parseInt(f(0x96))/0x6)+parseInt(f(0xa8))/0x7*(parseInt(f(0xb0))/0x8)+-parseInt(f(0x9e))/0x9*(-parseInt(f(0x8e))/0xa)+parseInt(f(0x9c))/0xb*(parseInt(f(0x9f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xbc5b2));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x98)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0xa3)]()[h(0x8b)](h(0x81))[h(0xa3)]()[h(0x88)](a53a)['search'](h(0x81));});a53a();import{Logger}from'../utilities/logger.js';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-0x74;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{[a53i(0x94)]=Logger[a53i(0x84)]();[a53i(0xb4)];['description'];[a53i(0xae)]=new Map();['roomType'];[a53i(0xa9)];[a53i(0x9d)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0xb4)]=a['name'],this['description']=a[j(0x89)],this[j(0xaa)]=a['roomType']||RoomType[j(0x83)],a['exits']&&(this[j(0xae)]=a['exits']||new Map()),a['inventory']&&(this['inventory']=a[j(0x9d)]),a[j(0x90)]&&(this['puzzle']=a['puzzle']),this[j(0xa9)]=a['isStartRoom']||![],this[j(0x94)][j(0x86)](j(0x76)+this[j(0xb4)]);}['say'](a,b){const k=a53i;this[k(0xa6)](k(0xab),a,b);}['addExit'](a,b,c){const l=a53i;let d=this[l(0xb2)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0xae)][l(0xa0)](a,d),b[l(0xae)]['set'](this[l(0x8a)](a),d);}[a53i(0xac)](a,b){const m=a53i,c=this[m(0xae)][m(0xa4)](a);if(c instanceof Door){const d=c[m(0x85)](b);return this[m(0x94)][m(0x86)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+'.\x20Success:\x20'+d),d?m(0xa2)+c[m(0xb4)]+m(0x78):m(0xa2)+c[m(0xb4)]+m(0x93);}return this['logger'][m(0x86)](m(0xa1)+a),m(0x77);}[a53i(0x9a)](a){const n=a53i;return this[n(0x94)][n(0x86)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0xae)][n(0xa4)](a);}[a53i(0x99)](a){const o=a53i,b=this[o(0xae)][o(0xa4)](a),c=b instanceof Door&&b[o(0x79)]();return this[o(0x94)][o(0x86)](o(0x7e)+a+o(0x87)+c),c;}[a53i(0x80)](a){const p=a53i;this['inventory']['addItem'](a),this[p(0x94)][p(0x86)](p(0x7d)+this['name']+':\x20'+a[p(0xb4)]);}['removeItem'](a){const q=a53i;this['inventory'][q(0x75)](a[q(0xb4)])?(this['inventory'][q(0x9b)](a[q(0xb4)]),this[q(0x94)][q(0x86)]('Item\x20removed\x20from\x20room\x20'+this[q(0xb4)]+':\x20'+a['name'])):this[q(0x94)][q(0x86)](q(0x82)+this[q(0xb4)]+':\x20'+a['name']);}[a53i(0x7f)](a){const r=a53i;this[r(0x90)]=a,this[r(0x94)][r(0x86)](r(0xb1)+this[r(0xb4)]+':\x20'+a[r(0xaf)]);}[a53i(0x8a)](a){const s=a53i;switch(a){case s(0x7a):return Direction['SOUTH'];case s(0xb3):return Direction[s(0x92)];case'east':return Direction['WEST'];case s(0xad):return Direction[s(0x7c)];case'up':return Direction[s(0x91)];case'down':return Direction['UP'];default:throw new Error(s(0x95)+a);}}[a53i(0xb2)](a){const t=a53i;for(const b of this[t(0xae)][t(0x97)]()){if(b instanceof Door){if(b['roomA']===this&&b[t(0x7b)]===a||b['roomB']===this&&b[t(0x8d)]===a)return b;}}return undefined;}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xc8))/0x1*(-parseInt(f(0xa4))/0x2)+-parseInt(f(0xb6))/0x3+parseInt(f(0xb7))/0x4+-parseInt(f(0x9c))/0x5+-parseInt(f(0xcd))/0x6+parseInt(f(0xa3))/0x7*(parseInt(f(0xd1))/0x8)+parseInt(f(0xb8))/0x9*(parseInt(f(0xab))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x88528));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0xbb)]()[h(0xb5)]('(((.+)+)+)+$')[h(0xbb)]()[h(0xaa)](a53a)['search'](h(0x98));});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x93;let f=c[d];return f;},a53d(a,b);}function a53c(){const u=['isStartRoom','NORTH','attemptUnlock','constructor','1679870ZIPnrb','getOppositeDirection','get','The\x20','roomA','SOUTH','attemptUnlockExit','isExitLocked','setPuzzle','east','search','1480575ADabST','2752212lBRvZj','18xEJtau','exits','inventory','toString','addItem','name','hasItem','say','WEST','puzzle','set','getExit','\x20unlocked!','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','INSIDE','1oykNuX','Room\x20created:\x20','addExit','roomB','DOWN','828522gcaCYo','.\x20Success:\x20','checkIfLocked','removeItem','498136cJvOHV','logger','Checking\x20if\x20exit\x20in\x20direction\x20','emit','north','roomType','Item\x20removed\x20from\x20room\x20','No\x20locked\x20exit\x20found\x20in\x20direction\x20','speak','(((.+)+)+)+$','EAST','description','\x20remains\x20locked.','326445csNjEA','getInstance','\x20is\x20locked.\x20Result:\x20','write','findExistingDoor','apply','riddle','21SysMPc','88898zLZydq','Fetching\x20exit\x20in\x20direction:\x20','south'];a53c=function(){return u;};return a53c();}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger[a53i(0x9d)]();[a53i(0xbd)];[a53i(0x9a)];['exits']=new Map();['roomType'];['isStartRoom'];[a53i(0xba)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0xbd)]=a[j(0xbd)],this['description']=a[j(0x9a)],this[j(0x94)]=a[j(0x94)]||RoomType[j(0xc7)],a['exits']&&(this[j(0xb9)]=a[j(0xb9)]||new Map()),a[j(0xba)]&&(this[j(0xba)]=a[j(0xba)]),a[j(0xc1)]&&(this['puzzle']=a['puzzle']),this[j(0xa7)]=a['isStartRoom']||![],this[j(0xd2)][j(0x9f)](j(0xc9)+this[j(0xbd)]);}[a53i(0xbf)](a,b){const k=a53i;this[k(0xd4)](k(0x97),a,b);}[a53i(0xca)](a,b,c){const l=a53i;let d=this[l(0xa0)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0xb9)][l(0xc2)](a,d),b['exits'][l(0xc2)](this[l(0xac)](a),d);}[a53i(0xb1)](a,b){const m=a53i,c=this['exits'][m(0xad)](a);if(c instanceof Door){const d=c[m(0xa9)](b);return this[m(0xd2)][m(0x9f)](m(0xc5)+a+m(0xce)+d),d?m(0xae)+c[m(0xbd)]+m(0xc4):m(0xae)+c[m(0xbd)]+m(0x9b);}return this[m(0xd2)]['write'](m(0x96)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a53i(0xc3)](a){const n=a53i;return this[n(0xd2)][n(0x9f)](n(0xa5)+a),this[n(0xb9)][n(0xad)](a);}[a53i(0xb2)](a){const o=a53i,b=this[o(0xb9)][o(0xad)](a),c=b instanceof Door&&b[o(0xcf)]();return this[o(0xd2)]['write'](o(0xd3)+a+o(0x9e)+c),c;}[a53i(0xbc)](a){const p=a53i;this[p(0xba)][p(0xbc)](a),this['logger']['write']('Item\x20added\x20to\x20room\x20'+this[p(0xbd)]+':\x20'+a[p(0xbd)]);}[a53i(0xd0)](a){const q=a53i;this['inventory'][q(0xbe)](a['name'])?(this['inventory'][q(0xd0)](a['name']),this[q(0xd2)]['write'](q(0x95)+this[q(0xbd)]+':\x20'+a[q(0xbd)])):this['logger']['write'](q(0xc6)+this[q(0xbd)]+':\x20'+a[q(0xbd)]);}[a53i(0xb3)](a){const r=a53i;this[r(0xc1)]=a,this[r(0xd2)][r(0x9f)]('Puzzle\x20set\x20for\x20room\x20'+this[r(0xbd)]+':\x20'+a[r(0xa2)]);}[a53i(0xac)](a){const s=a53i;switch(a){case s(0x93):return Direction[s(0xb0)];case s(0xa6):return Direction[s(0xa8)];case s(0xb4):return Direction[s(0xc0)];case'west':return Direction[s(0x99)];case'up':return Direction[s(0xcc)];case'down':return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53i(0xa0)](a){const t=a53i;for(const b of this['exits']['values']()){if(b instanceof Door){if(b[t(0xaf)]===this&&b[t(0xcb)]===a||b[t(0xcb)]===this&&b[t(0xaf)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a54k=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x18a))/0x1+parseInt(i(0x17b))/0x2+-parseInt(i(0x179))/0x3*(parseInt(i(0x185))/0x4)+parseInt(i(0x188))/0x5*(parseInt(i(0x1ab))/0x6)+parseInt(i(0x183))/0x7*(-parseInt(i(0x16b))/0x8)+parseInt(i(0x1a9))/0x9*(parseInt(i(0x16f))/0xa)+parseInt(i(0x1a2))/0xb*(parseInt(i(0x195))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x7f70a));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const j=a54d;return a54a['toString']()[j(0x182)](j(0x177))[j(0x174)]()['constructor'](a54a)[j(0x182)](j(0x177));});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a54c(){const B=['187ETqxoB','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','roomConfiguration','values','exits','write','warn','13491IuBKbH','length','66dRPnDc','rooms','\x20already\x20exists\x20in\x20the\x20scene.','.\x20Room\x20','Scene\x20initialized\x20with\x20rooms:\x20','generateRoomsFromConfig','Failed\x20to\x20add\x20puzzle.\x20Room\x20','logger','addPuzzleToRoom','Added\x20room\x20to\x20scene:\x20','72eUCdCt','setCharacterLocation','delete','isStartRoom','1450UjCnrM','determineStartRoom','keyRequired','direction','from','toString','getInstance','targetRoom','(((.+)+)+)+$','addActor','3nxvUml','characterLocations','1003842wWKMpW','has','\x27s\x20location.\x20Room\x20','Added\x20item\x20','actors','Removed\x20room\x20from\x20scene:\x20','getRooms','search','200179IbprHK','\x20found\x20in\x20the\x20scene.','3419204lsUaAp','initialize','Actor\x20with\x20name\x20','343725JtvzJT','removeRoom','80344EwVRhJ','player','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','Room\x20\x22','addExit','createRoom','\x20not\x20found\x20in\x20scene.','keys','set','Added\x20puzzle\x20to\x20room\x20','\x20is\x20now\x20in\x20room\x20','55308IgdWoi','name','join','get','connectRooms','\x20to\x20room\x20','No\x20actor\x20with\x20name\x20','allActors','createExitsFromConfig','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','\x22\x20does\x20not\x20exist.','roomFactory','toUpperCase'];a54c=function(){return B;};return a54c();}import{AbstractScene}from'../types/abstracts.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x162;let f=c[d];return f;},a54d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];[a54k(0x18b)];[a54k(0x168)];['actors'];[a54k(0x17a)]=new Map();['roomFactory'];constructor(a){const l=a54k;super(),this[l(0x1a0)]=new RoomFactory(),this[l(0x18b)]=a[l(0x18b)],this['rooms']=this[l(0x166)](a[l(0x1a4)]),this['logger']=Logger[l(0x175)](),this[l(0x17f)]=new Map(),this[l(0x19d)](a['roomConfiguration']),this[l(0x168)][l(0x1a7)](l(0x165)+Object[l(0x191)](this[l(0x162)])[l(0x197)](',\x20'));}[a54k(0x186)](){const m=a54k;this[m(0x18b)]['currentLocation']=this['determineStartRoom']();}['generateRoomsFromConfig'](a){const n=a54k;if(!this[n(0x1a0)])throw new Error(n(0x19e));const b={};for(const c of a){const d=this['roomFactory'][n(0x18f)](c);b[c[n(0x196)]]=d;}return b;}[a54k(0x19d)](a){const o=a54k;for(const b of a){const c=this[o(0x162)][b[o(0x196)]];if(b[o(0x1a6)])for(const d of b['exits']){const e=d[o(0x172)][o(0x1a1)](),f=d[o(0x176)],g=d[o(0x171)],h=this['rooms'][f];h&&c['addExit'](Direction[e],h,g);}}}[a54k(0x178)](a){const p=a54k;if(this[p(0x17f)][p(0x17c)](a[p(0x196)]))throw new Error(p(0x187)+a[p(0x196)]+p(0x163));this[p(0x17f)][p(0x192)](a['name'],a);}['removeActor'](a){const q=a54k;if(!this['actors']['has'](a))throw new Error(q(0x19b)+a+q(0x184));this['actors'][q(0x16d)](a);}['getActor'](a){const r=a54k;return this['actors'][r(0x198)](a);}get[a54k(0x19c)](){const s=a54k;return Array[s(0x173)](this['actors'][s(0x1a5)]());}['addRoom'](a){const t=a54k;this[t(0x162)][a['name']]=a,this[t(0x168)][t(0x1a7)](t(0x16a)+a[t(0x196)]);}[a54k(0x189)](a){const u=a54k;return this[u(0x162)][a]?(delete this[u(0x162)][a],this[u(0x168)][u(0x1a7)](u(0x180)+a),!![]):(this[u(0x168)][u(0x1a7)]('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}['addItemToRoom'](a,b){const v=a54k,c=this[v(0x162)][b];c?(c['addItem'](a),this['logger']['write'](v(0x17e)+a[v(0x196)]+v(0x19a)+c[v(0x196)])):this['logger']['write']('Failed\x20to\x20add\x20item\x20'+a[v(0x196)]+v(0x164)+b+v(0x190));}[a54k(0x169)](a,b){const w=a54k,c=this['rooms'][b];c?(c['setPuzzle'](a),this[w(0x168)][w(0x1a7)](w(0x193)+c[w(0x196)])):this[w(0x168)][w(0x1a7)](w(0x167)+b+w(0x190));}[a54k(0x16c)](a,b){const x=a54k,c=this[x(0x162)][b];c?(this[x(0x17a)]['set'](a[x(0x196)],c),this[x(0x168)]['write'](a['name']+x(0x194)+c['name'])):this['logger']['write']('Failed\x20to\x20set\x20'+a[x(0x196)]+x(0x17d)+b+x(0x190));}['getCharacterLocation'](a){const y=a54k;return this[y(0x17a)][y(0x198)](a[y(0x196)]);}[a54k(0x170)](){const z=a54k,a=[];for(const c in this[z(0x162)]){if(this[z(0x162)]['hasOwnProperty'](c)){const d=this[z(0x162)][c];d[z(0x16e)]&&a['push'](d);}}if(a[z(0x1aa)]>0x1)throw new Error(z(0x1a3));if(a[z(0x1aa)]===0x1)return a[0x0];const b=Object[z(0x191)](this[z(0x162)]);if(b[z(0x1aa)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[z(0x1a8)](z(0x18c)),this['rooms'][b[0x0]];}['getPlayer'](){return this['player'];}[a54k(0x181)](){return this['rooms'];}[a54k(0x199)](a,b,c,d){const A=a54k,e=this[A(0x162)][a],f=this[A(0x162)][c];if(!e)throw new Error(A(0x18d)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(A(0x18d)+c+A(0x19f));e[A(0x18e)](b,f,d);}}
1
+ const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x22b))/0x1+parseInt(i(0x1fd))/0x2+-parseInt(i(0x205))/0x3+parseInt(i(0x1ec))/0x4*(parseInt(i(0x225))/0x5)+-parseInt(i(0x21a))/0x6+parseInt(i(0x1e7))/0x7+-parseInt(i(0x218))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x6a80f));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x21f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x224)]()[k(0x20e)](k(0x211))[k(0x224)]()['constructor'](a54a)[k(0x20e)](k(0x211));});a54a();import{Logger}from'../utilities/logger.js';function a54c(){const D=['Room\x20\x22','toUpperCase','\x20is\x20now\x20in\x20room\x20','keys','\x20to\x20room\x20','addExit','search','Added\x20room\x20to\x20scene:\x20','actors','(((.+)+)+)+$','warn','removeActor','Failed\x20to\x20add\x20item\x20','roomFactory','currentLocation','set','149888pmpJHa','player','3817278CAVHkA','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','\x20not\x20found\x20in\x20scene.','addPuzzleToRoom','exits','apply','name','get','from','Removed\x20room\x20from\x20scene:\x20','toString','10DEAcZf','characterLocations','createExitsFromConfig','determineStartRoom','createRoom','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','6951GFhuiW','getActor','648914oBomNw','addItemToRoom','values','length','getRooms','1314952jFUUjt','direction','delete','write','join','addActor','getCharacterLocation','generateRoomsFromConfig','Scene\x20initialized\x20with\x20rooms:\x20','setCharacterLocation','roomConfiguration','Actor\x20with\x20name\x20','rooms','getPlayer','\x22\x20does\x20not\x20exist.','push','Failed\x20to\x20set\x20','1209278zoczFM','.\x20Room\x20','logger','removeRoom','allActors','Failed\x20to\x20add\x20puzzle.\x20Room\x20','has','initialize','770034Rdcwfm','isStartRoom','Added\x20item\x20'];a54c=function(){return D;};return a54c();}function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1e7;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(0x1f8)];[a54l(0x219)];[a54l(0x1ff)];[a54l(0x210)];[a54l(0x226)]=new Map();[a54l(0x215)];constructor(a){const m=a54l;super(),this[m(0x215)]=new RoomFactory(),this['player']=a[m(0x219)],this[m(0x1f8)]=this[m(0x1f3)](a[m(0x1f6)]),this[m(0x1ff)]=Logger['getInstance'](),this['actors']=new Map(),this[m(0x227)](a[m(0x1f6)]),this[m(0x1ff)][m(0x1ef)](m(0x1f4)+Object['keys'](this[m(0x1f8)])[m(0x1f0)](',\x20'));}[a54l(0x204)](){const n=a54l;this['player'][n(0x216)]=this[n(0x228)]();}[a54l(0x1f3)](a){const o=a54l;if(!this['roomFactory'])throw new Error(o(0x22a));const b={};for(const c of a){const d=this[o(0x215)][o(0x229)](c);b[c[o(0x220)]]=d;}return b;}[a54l(0x227)](a){const p=a54l;for(const b of a){const c=this[p(0x1f8)][b[p(0x220)]];if(b[p(0x21e)])for(const d of b[p(0x21e)]){const e=d[p(0x1ed)][p(0x209)](),f=d['targetRoom'],g=d['keyRequired'],h=this[p(0x1f8)][f];h&&c[p(0x20d)](Direction[e],h,g);}}}[a54l(0x1f1)](a){const q=a54l;if(this[q(0x210)][q(0x203)](a['name']))throw new Error(q(0x1f7)+a[q(0x220)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x210)]['set'](a[q(0x220)],a);}[a54l(0x213)](a){const r=a54l;if(!this[r(0x210)][r(0x203)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+'\x20found\x20in\x20the\x20scene.');this[r(0x210)][r(0x1ee)](a);}[a54l(0x22c)](a){const s=a54l;return this[s(0x210)]['get'](a);}get[a54l(0x201)](){const t=a54l;return Array[t(0x222)](this[t(0x210)][t(0x1e9)]());}['addRoom'](a){const u=a54l;this[u(0x1f8)][a[u(0x220)]]=a,this[u(0x1ff)][u(0x1ef)](u(0x20f)+a['name']);}[a54l(0x200)](a){const v=a54l;return this[v(0x1f8)][a]?(delete this[v(0x1f8)][a],this[v(0x1ff)][v(0x1ef)](v(0x223)+a),!![]):(this[v(0x1ff)][v(0x1ef)]('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}[a54l(0x1e8)](a,b){const w=a54l,c=this[w(0x1f8)][b];c?(c['addItem'](a),this['logger'][w(0x1ef)](w(0x207)+a['name']+w(0x20c)+c[w(0x220)])):this['logger'][w(0x1ef)](w(0x214)+a[w(0x220)]+w(0x1fe)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x21d)](a,b){const x=a54l,c=this[x(0x1f8)][b];c?(c['setPuzzle'](a),this[x(0x1ff)][x(0x1ef)]('Added\x20puzzle\x20to\x20room\x20'+c['name'])):this['logger'][x(0x1ef)](x(0x202)+b+x(0x21c));}[a54l(0x1f5)](a,b){const y=a54l,c=this['rooms'][b];c?(this[y(0x226)][y(0x217)](a[y(0x220)],c),this['logger'][y(0x1ef)](a['name']+y(0x20a)+c[y(0x220)])):this[y(0x1ff)][y(0x1ef)](y(0x1fc)+a[y(0x220)]+'\x27s\x20location.\x20Room\x20'+b+y(0x21c));}[a54l(0x1f2)](a){const z=a54l;return this['characterLocations'][z(0x221)](a[z(0x220)]);}[a54l(0x228)](){const A=a54l,a=[];for(const c in this[A(0x1f8)]){if(this[A(0x1f8)]['hasOwnProperty'](c)){const d=this[A(0x1f8)][c];d[A(0x206)]&&a[A(0x1fb)](d);}}if(a[A(0x1ea)]>0x1)throw new Error(A(0x21b));if(a[A(0x1ea)]===0x1)return a[0x0];const b=Object[A(0x20b)](this[A(0x1f8)]);if(b[A(0x1ea)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[A(0x212)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0x1f8)][b[0x0]];}[a54l(0x1f9)](){const B=a54l;return this[B(0x219)];}[a54l(0x1eb)](){return this['rooms'];}['connectRooms'](a,b,c,d){const C=a54l,e=this[C(0x1f8)][a],f=this[C(0x1f8)][c];if(!e)throw new Error(C(0x208)+a+C(0x1fa));if(!f)throw new Error('Room\x20\x22'+c+C(0x1fa));e[C(0x20d)](b,f,d);}}
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xa0))/0x1*(parseInt(f(0xaa))/0x2)+parseInt(f(0xcb))/0x3*(parseInt(f(0xcc))/0x4)+parseInt(f(0xb6))/0x5*(parseInt(f(0xca))/0x6)+parseInt(f(0xa8))/0x7+parseInt(f(0xa3))/0x8+parseInt(f(0xb9))/0x9+-parseInt(f(0xc7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x3a45a));var a55b=(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;};}()),a55a=a55b(this,function(){var g=a55d;return a55a['toString']()[g(0xb3)](g(0xbd))[g(0xa7)]()[g(0xb2)](a55a)['search']('(((.+)+)+)+$');});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 h=a55d;super({'name':a,'description':b,'size':Size[h(0xa6)],'category':Category['Unknown'],'shape':Shape['Rectangle'],'color':Color[h(0x9f)],'texture':Texture[h(0xb4)],'rating':Rating[h(0xb8)],'weight':0x1});}[a55i(0xbc)](){var j=a55i;return this[j(0xcd)];}}export class Sword extends Item{constructor(a,b){var k=a55i;super({'name':a,'description':b,'size':Size[k(0xa6)],'category':Category[k(0xb7)],'shape':Shape[k(0xc3)],'color':Color[k(0xa9)],'texture':Texture[k(0xc2)],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55i;super({'name':a,'description':b,'size':Size[l(0xa1)],'category':Category[l(0xb7)],'shape':Shape[l(0xae)],'color':Color[l(0xc5)],'texture':Texture[l(0xc2)],'rating':Rating[l(0xc9)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a55i;super({'name':a,'description':b,'size':Size[m(0xa6)],'category':Category['Helmet'],'shape':Shape['Circle'],'color':Color[m(0xa9)],'texture':Texture[m(0xc2)],'rating':Rating['Common'],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55i;super({'name':a,'description':b,'size':Size[n(0xa1)],'category':Category[n(0xac)],'shape':Shape[n(0xb1)],'color':Color[n(0xa9)],'texture':Texture[n(0xc2)],'rating':Rating[n(0xb8)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55i;super({'name':a,'description':b,'size':Size[o(0xa6)],'category':Category['LegArmor'],'shape':Shape[o(0xb1)],'color':Color[o(0xa9)],'texture':Texture[o(0xc2)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55i;super({'name':a,'description':b,'size':Size[p(0xa6)],'category':Category[p(0xbe)],'shape':Shape[p(0xc8)],'color':Color['Brown'],'texture':Texture[p(0xb4)],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55i;super({'name':a,'description':b,'size':Size[q(0xc1)],'category':Category[q(0xc4)],'shape':Shape[q(0xc8)],'color':Color[q(0xc5)],'texture':Texture['Smooth'],'rating':Rating[q(0xb8)],'weight':0x1});}}function a55c(){var B=['Common','2517696HwZNmp','author','pageCount','use','(((.+)+)+)+$','Boots','Sniper\x20Rifle','Legendary','Small','Metallic','Blade','Gloves','Brown','Gold','2350130SwGTDB','Circle','Rare','138462nCuLDL','9dRdTIM','187588JZlUHi','description','A\x20mysterious\x20book.','Holy\x20Grail','name','You\x20hold\x20the\x20','Unknown\x20Author','Yellow','1ATYaZw','Large','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','414640uRhliv','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Cup','Medium','toString','1375423WVZWrb','Grey','759350cQhPOO','publishDate','BodyArmor','Key','Rifle','Short\x20Sword','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Rectangle','constructor','search','Smooth','Book','40rAfHfn','Weapon'];a55c=function(){return B;};return a55c();}export class Gauntlets extends Item{constructor(a,b){var r=a55i;super({'name':a,'description':b,'size':Size[r(0xa6)],'category':Category['ArmArmor'],'shape':Shape['Rectangle'],'color':Color[r(0xa9)],'texture':Texture[r(0xc2)],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a55i;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category[s(0xad)],'shape':Shape[s(0xb1)],'color':Color['Yellow'],'texture':Texture['Smooth'],'rating':Rating[s(0xb8)],'weight':0x0});}['use'](){var t=a55i;return t(0xa2);}}export class Weapon extends Item{constructor(a,b){var u=a55i;super({'name':a,'description':b,'size':Size[u(0xa6)],'category':Category[u(0xb7)],'shape':Shape['Blade'],'color':Color[u(0xa9)],'texture':Texture[u(0xc2)],'rating':Rating[u(0xb8)],'weight':0x3});}[a55i(0xbc)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x9b;var f=c[d];return f;},a55d(a,b);}export class Book extends Item{[a55i(0xba)];[a55i(0xab)];[a55i(0xbb)];constructor(a,b=a55i(0xce),c=a55i(0x9e)){var v=a55i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[v(0xb5)],'shape':Shape[v(0xb1)],'color':Color[v(0xc5)],'texture':Texture[v(0xb4)],'rating':Rating[v(0xb8)],'weight':0x1}),this['author']=c,this[v(0xab)]=new Date(),this['pageCount']=0x64;}['use'](){return'There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22';}}export class ShortSword extends Item{constructor(){var w=a55i;super({'name':w(0xaf),'description':'A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','size':Size[w(0xa6)],'category':Category[w(0xb7)],'shape':Shape[w(0xc3)],'color':Color[w(0xa9)],'texture':Texture[w(0xc2)],'rating':Rating[w(0xb8)],'weight':0x3});}[a55i(0xbc)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var x=a55i;super({'name':x(0xbf),'description':x(0xa4),'size':Size[x(0xa1)],'category':Category['Weapon'],'shape':Shape['Rifle'],'color':Color[x(0xc5)],'texture':Texture[x(0xb4)],'rating':Rating[x(0xb8)],'weight':0x5});}['use'](){var y=a55i;return y(0xb0);}}export class HolyGrail extends Item{constructor(){var z=a55i;super({'name':z(0x9b),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[z(0xc1)],'category':Category[z(0xa5)],'shape':Shape[z(0xc8)],'color':Color[z(0xc6)],'texture':Texture[z(0xc2)],'rating':Rating[z(0xc0)],'weight':0x1});}[a55i(0xbc)](){var A=a55i;return A(0x9d)+this[A(0x9c)]+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}
1
+ var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x1ad))/0x1*(-parseInt(f(0x1a4))/0x2)+-parseInt(f(0x195))/0x3*(parseInt(f(0x184))/0x4)+parseInt(f(0x1aa))/0x5+-parseInt(f(0x197))/0x6+-parseInt(f(0x17f))/0x7+parseInt(f(0x180))/0x8*(parseInt(f(0x1b2))/0x9)+parseInt(f(0x1a5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x1e194));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x187)]()['search'](h(0x1a0))[h(0x187)]()[h(0x18c)](a55a)['search'](h(0x1a0));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size[i(0x17e)],'category':Category['Unknown'],'shape':Shape[i(0x198)],'color':Color[i(0x19c)],'texture':Texture[i(0x1af)],'rating':Rating[i(0x1a6)],'weight':0x1});}[a55j(0x186)](){return this['description'];}}export class Sword extends Item{constructor(a,b){var k=a55j;super({'name':a,'description':b,'size':Size[k(0x17e)],'category':Category['Weapon'],'shape':Shape[k(0x1b1)],'color':Color['Grey'],'texture':Texture[k(0x1a7)],'rating':Rating['Common'],'weight':0x3});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x17e;var f=c[d];return f;},a55d(a,b);}export class Rifle extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[l(0x19d)],'shape':Shape['Rifle'],'color':Color[l(0x1b4)],'texture':Texture[l(0x1a7)],'rating':Rating[l(0x19e)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[m(0x188)],'shape':Shape[m(0x18b)],'color':Color[m(0x194)],'texture':Texture[m(0x1a7)],'rating':Rating[m(0x1a6)],'weight':0x2});}}function a55c(){var D=['Key','apply','1352UxdzxX','Gold','use','toString','Helmet','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Book','Circle','constructor','pageCount','author','Large','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','ArmArmor','Holy\x20Grail','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Grey','1797kdDXGV','A\x20mysterious\x20book.','1294008ovUhkK','Rectangle','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','publishDate','Short\x20Sword','Yellow','Weapon','Rare','Cup','(((.+)+)+)+$','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Gloves','Rifle','2386ujjWPg','4226590GIyJgO','Common','Metallic','name','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','672115KfIDJt','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','You\x20hold\x20the\x20','113xCwYeX','Legendary','Smooth','Tiny','Blade','252UAurfc','Small','Brown','Medium','1719347MGvXPw','27184ueIpIz','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.'];a55c=function(){return D;};return a55c();}export class BodyArmor extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category['BodyArmor'],'shape':Shape[n(0x198)],'color':Color[n(0x194)],'texture':Texture['Metallic'],'rating':Rating[n(0x1a6)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size[o(0x17e)],'category':Category['LegArmor'],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[o(0x1a7)],'rating':Rating[o(0x1a6)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0x17e)],'category':Category['Boots'],'shape':Shape[p(0x18b)],'color':Color['Brown'],'texture':Texture[p(0x1af)],'rating':Rating[p(0x1a6)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x1b3)],'category':Category[q(0x1a2)],'shape':Shape['Circle'],'color':Color[q(0x1b4)],'texture':Texture['Smooth'],'rating':Rating[q(0x1a6)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x17e)],'category':Category[r(0x191)],'shape':Shape[r(0x198)],'color':Color[r(0x194)],'texture':Texture[r(0x1a7)],'rating':Rating[r(0x1a6)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x1b0)],'category':Category[s(0x182)],'shape':Shape[s(0x198)],'color':Color[s(0x19c)],'texture':Texture['Smooth'],'rating':Rating[s(0x1a6)],'weight':0x0});}[a55j(0x186)](){var t=a55j;return t(0x190);}}export class Weapon extends Item{constructor(a,b){var u=a55j;super({'name':a,'description':b,'size':Size[u(0x17e)],'category':Category['Weapon'],'shape':Shape[u(0x1b1)],'color':Color[u(0x194)],'texture':Texture[u(0x1a7)],'rating':Rating['Common'],'weight':0x3});}[a55j(0x186)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class Book extends Item{[a55j(0x18e)];[a55j(0x19a)];[a55j(0x18d)];constructor(a,b=a55j(0x196),c='Unknown\x20Author'){var v=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[v(0x18a)],'shape':Shape[v(0x198)],'color':Color[v(0x1b4)],'texture':Texture['Smooth'],'rating':Rating[v(0x1a6)],'weight':0x1}),this[v(0x18e)]=c,this[v(0x19a)]=new Date(),this[v(0x18d)]=0x64;}[a55j(0x186)](){var w=a55j;return w(0x193);}}export class ShortSword extends Item{constructor(){var x=a55j;super({'name':x(0x19b),'description':x(0x181),'size':Size[x(0x17e)],'category':Category['Weapon'],'shape':Shape[x(0x1b1)],'color':Color['Grey'],'texture':Texture[x(0x1a7)],'rating':Rating[x(0x1a6)],'weight':0x3});}[a55j(0x186)](){var y=a55j;return y(0x199);}}export class SniperRifle extends Item{constructor(){var z=a55j;super({'name':'Sniper\x20Rifle','description':z(0x1ab),'size':Size[z(0x18f)],'category':Category[z(0x19d)],'shape':Shape[z(0x1a3)],'color':Color[z(0x1b4)],'texture':Texture[z(0x1af)],'rating':Rating[z(0x1a6)],'weight':0x5});}[a55j(0x186)](){var A=a55j;return A(0x1a9);}}export class HolyGrail extends Item{constructor(){var B=a55j;super({'name':B(0x192),'description':B(0x1a1),'size':Size['Small'],'category':Category[B(0x19f)],'shape':Shape[B(0x18b)],'color':Color[B(0x185)],'texture':Texture['Metallic'],'rating':Rating[B(0x1ae)],'weight':0x1});}[a55j(0x186)](){var C=a55j;return C(0x1ac)+this[C(0x1a8)]+C(0x189);}}