@maka/maka-cli 4.9.6 → 4.9.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/patreon.js +1 -1
  84. package/bundle/obf/src/commands/proxy.js +1 -1
  85. package/bundle/obf/src/commands/reconfig.js +1 -1
  86. package/bundle/obf/src/commands/register.js +1 -1
  87. package/bundle/obf/src/commands/run/_index.js +1 -1
  88. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  89. package/bundle/obf/src/commands/run/run.command.js +1 -1
  90. package/bundle/obf/src/commands/set/_index.js +1 -1
  91. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/set/set.command.js +1 -1
  94. package/bundle/obf/src/commands/ssh.js +1 -1
  95. package/bundle/obf/src/commands/ssl.js +1 -1
  96. package/bundle/obf/src/commands/test.js +1 -1
  97. package/bundle/obf/src/commands/undo.js +1 -1
  98. package/bundle/obf/src/commands/version.js +1 -1
  99. package/bundle/obf/src/error.js +1 -1
  100. package/bundle/obf/src/exec.js +1 -1
  101. package/bundle/obf/src/generator.js +1 -1
  102. package/bundle/obf/src/generators/_index.js +1 -1
  103. package/bundle/obf/src/generators/api.js +1 -1
  104. package/bundle/obf/src/generators/collection.js +1 -1
  105. package/bundle/obf/src/generators/component.js +1 -1
  106. package/bundle/obf/src/generators/config.js +1 -1
  107. package/bundle/obf/src/generators/dbc.js +1 -1
  108. package/bundle/obf/src/generators/dockerfile.js +1 -1
  109. package/bundle/obf/src/generators/hook.js +1 -1
  110. package/bundle/obf/src/generators/kits/_index.js +1 -1
  111. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  112. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  113. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/kit.js +1 -1
  115. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  117. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  118. package/bundle/obf/src/generators/layout.js +1 -1
  119. package/bundle/obf/src/generators/maka.gen.js +1 -1
  120. package/bundle/obf/src/generators/methods.js +1 -1
  121. package/bundle/obf/src/generators/package.js +1 -1
  122. package/bundle/obf/src/generators/page.js +1 -1
  123. package/bundle/obf/src/generators/publish.js +1 -1
  124. package/bundle/obf/src/generators/route.js +1 -1
  125. package/bundle/obf/src/generators/service.js +1 -1
  126. package/bundle/obf/src/generators/services/_index.js +1 -1
  127. package/bundle/obf/src/generators/services/openssl.js +1 -1
  128. package/bundle/obf/src/generators/services/translation.js +1 -1
  129. package/bundle/obf/src/maka.js +1 -1
  130. package/bundle/obf/src/templates/meteor/project/package.json +1 -1
  131. package/bundle/obf/src/tool.js +1 -1
  132. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  133. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  134. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  136. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  137. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  138. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  139. package/bundle/obf/src/tools/https/https.class.js +1 -1
  140. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  141. package/bundle/obf/src/tools/log/log.class.js +1 -1
  142. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  143. package/bundle/obf/src/tools/options/options.class.js +1 -1
  144. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  145. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  146. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  148. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  150. package/package.json +1 -1
@@ -1 +1 @@
1
- const a37i=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x165;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x17d))/0x1+-parseInt(f(0x17f))/0x2+-parseInt(f(0x174))/0x3+parseInt(f(0x17c))/0x4+parseInt(f(0x171))/0x5*(parseInt(f(0x167))/0x6)+-parseInt(f(0x173))/0x7*(parseInt(f(0x179))/0x8)+parseInt(f(0x172))/0x9*(parseInt(f(0x169))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x774bb));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x16e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x175)]()[h(0x16b)](h(0x177))[h(0x175)]()['constructor'](a37a)[h(0x16b)](h(0x177));});a37a();function a37c(){const k=['81944VGjIsB','join','verb','3730764VHSFmN','763746zvmXoA','You\x20search\x20the\x20area\x20and\x20find:\x20','1601912XxRywn','logger','actor','listItems','18pkNHdh','execute','7779580ftSGRk','length','search','Search\x20for\x20items\x20in\x20your\x20area','SearchCommand:\x20','apply','inventory','write','174185YhEYvJ','9ixhKIA','294rWoPtc','2577327NSoHrE','toString','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','(((.+)+)+)+$','name'];a37c=function(){return k;};return a37c();}import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x17b)]=a37i(0x16b);static ['description']=a37i(0x16c);[a37i(0x168)](){const j=a37i,a=this[j(0x165)]['currentLocation'][j(0x16f)][j(0x166)]();if(a[j(0x16a)]===0x0)return this[j(0x180)][j(0x170)]('SearchCommand:\x20'+this[j(0x165)][j(0x178)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0x176);const b=a[j(0x17a)](',\x20');return this[j(0x180)]['write'](j(0x16d)+this[j(0x165)][j(0x178)]+'\x20found\x20the\x20following\x20items:\x20'+b),j(0x17e)+b;}}
1
+ const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x9c))/0x1+parseInt(f(0x88))/0x2*(parseInt(f(0x90))/0x3)+parseInt(f(0x8a))/0x4*(-parseInt(f(0xa4))/0x5)+parseInt(f(0x87))/0x6+parseInt(f(0x9f))/0x7+parseInt(f(0xa3))/0x8*(parseInt(f(0x92))/0x9)+parseInt(f(0xa5))/0xa*(-parseInt(f(0x97))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x96456));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x95)]()[h(0x9a)]('(((.+)+)+)+$')[h(0x95)]()['constructor'](a37a)[h(0x9a)](h(0x8c));});function a37c(){const k=['inventory','description','search','\x20found\x20the\x20following\x20items:\x20','333024gRcMcj','logger','name','2405494PIAKbo','join','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','verb','200nDadQm','15vojhZP','173150VHRoqZ','552288rmsUnm','34YwFRUL','execute','416424RxmIVU','You\x20search\x20the\x20area\x20and\x20find:\x20','(((.+)+)+)+$','Search\x20for\x20items\x20in\x20your\x20area','length','listItems','58416xSTVKk','write','243549AiGHdf','SearchCommand:\x20','apply','toString','actor','539XEBtzR'];a37c=function(){return k;};return a37c();}a37a();import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x87;let f=c[d];return f;},a37d(a,b);}export class SearchCommand extends Command{static [a37i(0xa2)]='search';static [a37i(0x99)]=a37i(0x8d);[a37i(0x89)](){const j=a37i,a=this[j(0x96)]['currentLocation'][j(0x98)][j(0x8f)]();if(a[j(0x8e)]===0x0)return this['logger']['write'](j(0x93)+this['actor'][j(0x9e)]+j(0xa1)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0xa0)](',\x20');return this[j(0x9d)][j(0x91)](j(0x93)+this['actor'][j(0x9e)]+j(0x9b)+b),j(0x8b)+b;}}
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x83))/0x1*(-parseInt(f(0x99))/0x2)+-parseInt(f(0x9d))/0x3+parseInt(f(0x92))/0x4*(-parseInt(f(0x9a))/0x5)+parseInt(f(0x94))/0x6*(parseInt(f(0x95))/0x7)+parseInt(f(0x8a))/0x8+-parseInt(f(0x93))/0x9+parseInt(f(0x85))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x65354));function a38c(){const k=['addItem','1756sDSClZ','2421005GqHrOC','write','rewardItem','2448072UWRXvg','message','constructor','search','actor','548oMfStJ','execute','4242360NMZPOt','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','verb','SolveCommand:\x20','puzzle','3981776LxYIEt','description','(((.+)+)+)+$','inventory','solve','toString','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','apply','4BhWvQD','3800565ggRShG','558PpMPLE','55244HMoXcu','success','logger'];a38c=function(){return k;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x83;let f=c[d];return f;},a38d(a,b);}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x8f)]()[h(0xa0)](h(0x8c))[h(0x8f)]()[h(0x9f)](a38a)[h(0xa0)]('(((.+)+)+)+$');});a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x87)]=a38i(0x8e);static [a38i(0x8b)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a38i(0x84)](a){const j=a38i,b=a['join']('\x20')['toLowerCase'](),c=this[j(0xa1)]['currentLocation'];if(!c||!c[j(0x89)])return this[j(0x97)][j(0x9b)](j(0x86)),j(0x90);const d=c[j(0x89)][j(0x8e)](b,this[j(0xa1)][j(0x8d)]);return d[j(0x96)]&&c[j(0x89)][j(0x9c)]&&this[j(0xa1)][j(0x8d)][j(0x98)](c[j(0x89)][j(0x9c)]),this['logger']['write'](j(0x88)+d['message']),d[j(0x9e)];}}
1
+ function a38c(){const j=['toString','6pcZgYC','183975NWErTj','233640vxHlle','execute','currentLocation','1492324IolYWj','573897SRHUca','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','16iewHXI','write','success','message','3072188CBApoj','join','verb','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','491ABWasb','search','rewardItem','addItem','toLowerCase','puzzle','SolveCommand:\x20','inventory','actor','1514QTPiNa','(((.+)+)+)+$','7495100dJpUwq','logger','constructor'];a38c=function(){return j;};return a38c();}const a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x177))/0x1*(parseInt(f(0x180))/0x2)+-parseInt(f(0x16d))/0x3+parseInt(f(0x16c))/0x4+parseInt(f(0x168))/0x5+parseInt(f(0x167))/0x6*(parseInt(f(0x173))/0x7)+-parseInt(f(0x16f))/0x8*(parseInt(f(0x169))/0x9)+-parseInt(f(0x182))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x37986));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0x185)]()[g(0x178)]('(((.+)+)+)+$')[g(0x185)]()[g(0x184)](a38a)[g(0x178)](g(0x181));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x167;let f=c[d];return f;},a38d(a,b);}a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38h(0x175)]='solve';static ['description']='Attempt\x20to\x20solve\x20a\x20puzzle.';[a38h(0x16a)](a){const i=a38h,b=a[i(0x174)]('\x20')[i(0x17b)](),c=this[i(0x17f)][i(0x16b)];if(!c||!c['puzzle'])return this[i(0x183)][i(0x170)](i(0x176)),i(0x16e);const d=c[i(0x17c)]['solve'](b,this['actor'][i(0x17e)]);return d[i(0x171)]&&c[i(0x17c)][i(0x179)]&&this[i(0x17f)][i(0x17e)][i(0x17a)](c[i(0x17c)][i(0x179)]),this[i(0x183)][i(0x170)](i(0x17d)+d[i(0x172)]),d[i(0x172)];}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x15d))/0x1+-parseInt(f(0x14c))/0x2+-parseInt(f(0x153))/0x3+-parseInt(f(0x152))/0x4*(-parseInt(f(0x149))/0x5)+parseInt(f(0x15c))/0x6*(parseInt(f(0x144))/0x7)+parseInt(f(0x148))/0x8*(-parseInt(f(0x154))/0x9)+parseInt(f(0x157))/0xa*(parseInt(f(0x14d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xc032f));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x16f)]()['search']('(((.+)+)+)+$')[h(0x16f)]()[h(0x161)](a39a)[h(0x158)](h(0x14e));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0x15a)]=a39i(0x16e);static [a39i(0x164)]=a39i(0x16c);[a39i(0x15f)](a){const j=a39i;return this['logger'][j(0x168)](j(0x14a)+a['join']('\x20')),this[j(0x16e)](a);}[a39i(0x16e)](a){const k=a39i,b=a[k(0x16a)]('\x20')[k(0x167)](),c=this[k(0x14b)][k(0x14f)];if(!c[k(0x162)][k(0x16b)](b))return this['logger'][k(0x168)]('Item\x20\x22'+b+k(0x156)+c['name']+'\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+k(0x169);const d=c[k(0x162)]['getItem'](b);if(!d)return this[k(0x15b)][k(0x168)](k(0x165)+b+k(0x155)+c[k(0x166)]+k(0x145)),k(0x151)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0x14b)][k(0x150)](d),this[k(0x15b)][k(0x168)]('Successfully\x20added\x20\x22'+b+k(0x159)+this[k(0x14b)][k(0x166)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0x162)]['removeItem'](b),this['logger'][k(0x168)](k(0x160)+b+k(0x146)+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x15e)+b+'.';}catch(e){return this['logger'][k(0x168)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x16d)]),'The\x20item\x20\x22'+b+k(0x163);}}}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x144;let f=c[d];return f;},a39d(a,b);}function a39c(){const l=['(((.+)+)+)+$','currentLocation','addInventory','There\x20is\x20no\x20item\x20\x22','92HVnJKN','4610085wqTqxz','449766AXibmK','\x22\x20not\x20retrieved\x20from\x20','\x22\x20not\x20found\x20in\x20','142170ZLPNIQ','search','\x22\x20to\x20','verb','logger','120TTGwma','1543652ipbNop','You\x20have\x20taken\x20the\x20','execute','Successfully\x20removed\x20\x22','constructor','inventory','\x22\x20is\x20too\x20heavy\x20to\x20carry.','description','Item\x20\x22','name','toLowerCase','write','\x22\x20in\x20this\x20room.','join','hasItem','Pick\x20up\x20an\x20item.','message','take','toString','199157VtzlIb','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20from\x20','apply','152nlKasm','184700QPzebh','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','actor','600350euydXD','473kTuzfH'];a39c=function(){return l;};return a39c();}
1
+ const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x1ab))/0x1*(-parseInt(f(0x1bc))/0x2)+parseInt(f(0x1c8))/0x3+-parseInt(f(0x1a3))/0x4+-parseInt(f(0x1a6))/0x5+-parseInt(f(0x1bb))/0x6*(parseInt(f(0x1a5))/0x7)+parseInt(f(0x1c1))/0x8*(-parseInt(f(0x1c6))/0x9)+parseInt(f(0x1c7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x2c38a));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x19c;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x1aa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x1ba)]()[h(0x1a8)]('(((.+)+)+)+$')[h(0x1ba)]()[h(0x1b5)](a39a)['search'](h(0x1b2));});function a39c(){const l=['The\x20item\x20\x22','write','\x22\x20to\x20','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','toString','6ECgPqn','5214DceFUU','Error\x20during\x20\x27Take\x27\x20command:\x20','\x22\x20from\x20','message','join','2706616Hznbrj','removeItem','currentLocation','There\x20is\x20no\x20item\x20\x22','\x22\x20is\x20too\x20heavy\x20to\x20carry.','9YueNTJ','11356880bsBIhr','893532ygHHuZ','verb','logger','take','execute','addInventory','Item\x20\x22','\x22\x20not\x20found\x20in\x20','\x20during\x20\x27Take\x27\x20command.','805632GpguIJ','\x22\x20in\x20this\x20room.','941087BsYcIo','1235685PmtPvX','Successfully\x20added\x20\x22','search','You\x20have\x20taken\x20the\x20','apply','127TqkRhm','\x22\x20not\x20retrieved\x20from\x20','getItem','toLowerCase','description','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','actor','(((.+)+)+)+$','name','hasItem','constructor'];a39c=function(){return l;};return a39c();}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0x1c9)]=a39i(0x19d);static [a39i(0x1af)]='Pick\x20up\x20an\x20item.';[a39i(0x19e)](a){const j=a39i;return this[j(0x19c)]['write']('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a['join']('\x20')),this[j(0x19d)](a);}[a39i(0x19d)](a){const k=a39i,b=a[k(0x1c0)]('\x20')[k(0x1ae)](),c=this[k(0x1b1)][k(0x1c3)];if(!c['inventory'][k(0x1b4)](b))return this[k(0x19c)][k(0x1b7)]('Item\x20\x22'+b+k(0x1a1)+c[k(0x1b3)]+k(0x1a2)),k(0x1c4)+b+k(0x1a4);const d=c['inventory'][k(0x1ad)](b);if(!d)return this['logger']['write'](k(0x1a0)+b+k(0x1ac)+c[k(0x1b3)]+k(0x1b0)),k(0x1c4)+b+k(0x1a4);try{return this[k(0x1b1)][k(0x19f)](d),this['logger'][k(0x1b7)](k(0x1a7)+b+k(0x1b8)+this[k(0x1b1)]['name']+k(0x1b9)),c['inventory'][k(0x1c2)](b),this[k(0x19c)]['write']('Successfully\x20removed\x20\x22'+b+k(0x1be)+c[k(0x1b3)]+k(0x1b0)),k(0x1a9)+b+'.';}catch(e){return this[k(0x19c)][k(0x1b7)](k(0x1bd)+e[k(0x1bf)]),k(0x1b6)+b+k(0x1c5);}}}
@@ -1 +1 @@
1
- function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x11e;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x11f))/0x1*(parseInt(f(0x135))/0x2)+parseInt(f(0x131))/0x3+-parseInt(f(0x12f))/0x4+parseInt(f(0x12d))/0x5+parseInt(f(0x136))/0x6*(parseInt(f(0x128))/0x7)+parseInt(f(0x12c))/0x8*(-parseInt(f(0x124))/0x9)+-parseInt(f(0x132))/0xa*(-parseInt(f(0x12b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xacfea));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()['search'](h(0x12a))[h(0x121)]()['constructor'](a40a)['search'](h(0x12a));});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x122)]=a40i(0x11e);static [a40i(0x129)]='Unequip\x20an\x20item.';[a40i(0x127)](a){const j=a40i,b=a[j(0x125)]('\x20')[j(0x134)](),c=this[j(0x133)][j(0x126)](b);return this[j(0x12e)][j(0x130)](j(0x123)+this[j(0x133)][j(0x120)]+'\x20unqeuiped\x20'+c),c;}}function a40c(){const k=['apply','unqeuip','107623pipQGF','name','toString','verb','UnequipCommand:\x20','171gozFvr','join','unequip','execute','774032LSsvkD','description','(((.+)+)+)+$','16971394ZfILQC','577912nRBYmV','6582215iOfMEn','logger','3506648ZEpuek','write','1228647zQYPTW','10jEBeMm','actor','toLowerCase','14HdiDjW','24oYoaHH'];a40c=function(){return k;};return a40c();}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x1a0))/0x1*(parseInt(f(0x1af))/0x2)+parseInt(f(0x1ab))/0x3+parseInt(f(0x1a2))/0x4*(-parseInt(f(0x19b))/0x5)+-parseInt(f(0x1a3))/0x6+parseInt(f(0x1ae))/0x7+parseInt(f(0x19e))/0x8+parseInt(f(0x1a7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xa1faa));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x19b;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(0x1a5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1b1)]()[h(0x1b0)](h(0x1a8))[h(0x1b1)]()[h(0x1ad)](a40a)[h(0x1b0)](h(0x1a8));});a40a();import{Command}from'./command.js';function a40c(){const k=['unqeuip','8500284trtqqg','(((.+)+)+)+$','execute','verb','2311467ghIhOk','UnequipCommand:\x20','constructor','709730esadBg','42CLZwEn','search','toString','description','6247615ZRuCEi','actor','join','10558624FOvcfz','toLowerCase','897AEZEQo','Unequip\x20an\x20item.','4wORqPb','7226142NIraKX','unequip','apply'];a40c=function(){return k;};return a40c();}export class UnequipCommand extends Command{static [a40i(0x1aa)]=a40i(0x1a6);static [a40i(0x1b2)]=a40i(0x1a1);[a40i(0x1a9)](a){const j=a40i,b=a[j(0x19d)]('\x20')[j(0x19f)](),c=this[j(0x19c)][j(0x1a4)](b);return this['logger']['write'](j(0x1ac)+this[j(0x19c)]['name']+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x138))/0x1*(parseInt(h(0x12c))/0x2)+-parseInt(h(0x123))/0x3+parseInt(h(0x145))/0x4*(parseInt(h(0x121))/0x5)+-parseInt(h(0x136))/0x6+parseInt(h(0x12b))/0x7*(-parseInt(h(0x133))/0x8)+parseInt(h(0x12f))/0x9+parseInt(h(0x134))/0xa*(parseInt(h(0x13c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xe73ed));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x121;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x124)]()[j(0x12d)]('(((.+)+)+)+$')[j(0x124)]()[j(0x12e)](a41a)[j(0x12d)]('(((.+)+)+)+$');});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']=a41k(0x144);static ['description']=a41k(0x137);['execute'](a){const l=a41k;return this[l(0x144)](a);}[a41k(0x144)](a){const m=a41k;if(a['length']===0x0)return this[m(0x126)]['error']('UnlockCommand:\x20No\x20target\x20specified.'),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][m(0x140)](),c=this[m(0x129)][m(0x128)];if(this[m(0x127)](b)&&c[m(0x13f)][m(0x131)](b)){const d=c[m(0x13f)]['get'](b);if(d instanceof Door){const e=d[m(0x142)]?.[m(0x140)]();if(e&&this[m(0x129)][m(0x13e)][m(0x141)](e)){const f=this['actor'][m(0x13e)][m(0x122)](e);if(f){const g=c[m(0x13a)](b,f[m(0x125)]);return this['logger']['write'](m(0x13d)+this[m(0x129)][m(0x125)]+m(0x130)+b+m(0x13b)+g),g;}}return this[m(0x126)][m(0x135)]('UnlockCommand:\x20'+this[m(0x129)][m(0x125)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),m(0x132);}else return this['logger']['write']('UnlockCommand:\x20'+b+m(0x139)+c[m(0x125)]+'.'),m(0x12a)+b+'\x22\x20here.';}else return this[m(0x126)]['write'](m(0x13d)+b+m(0x139)+c[m(0x125)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}}function a41c(){const n=['10REFCJx','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','attemptUnlockExit','.\x20Result:\x20','2955117QZxrOB','UnlockCommand:\x20','inventory','exits','toLowerCase','hasItem','unlockItemOrSolution','apply','unlock','331368mXqumd','15pfpMaS','getItem','1401375sJSiIo','toString','name','logger','isValidDirection','currentLocation','actor','There\x27s\x20no\x20door\x20named\x20\x22','8799CFpLSC','190152iCZjfQ','search','constructor','2448495ZNyGcv','\x20is\x20attempted\x20to\x20unlock\x20','has','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','744ZNLwrC','10GgfaVU','write','1252686PSbpuw','Unlock\x20a\x20door.'];a41c=function(){return n;};return a41c();}
1
+ const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x18f))/0x1+-parseInt(h(0x18a))/0x2*(-parseInt(h(0x187))/0x3)+parseInt(h(0x198))/0x4+parseInt(h(0x1ac))/0x5+-parseInt(h(0x1a3))/0x6+parseInt(h(0x190))/0x7+-parseInt(h(0x191))/0x8*(parseInt(h(0x1a4))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xd2a32));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x185;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x1a5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x188)]()[j(0x196)](j(0x1a6))['toString']()[j(0x1ad)](a41a)['search']('(((.+)+)+)+$');});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a41c(){const n=['execute','.\x20Result:\x20','verb','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','isValidDirection','actor','hasItem','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','238956XNQBBi','9pBilXM','apply','(((.+)+)+)+$','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','name','unlock','get','UnlockCommand:\x20No\x20target\x20specified.','4185880oxxlaU','constructor','logger','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','99mlbXDw','toString','UnlockCommand:\x20','24958CKmfrM','currentLocation','write','length','error','1654486utDBtN','4004511aLzMmI','175624zygnUg','\x20is\x20attempted\x20to\x20unlock\x20','has','Unlock\x20a\x20door.','\x22\x20here.','search','exits','3031916vsxmpi','There\x27s\x20no\x20door\x20named\x20\x22','unlockItemOrSolution'];a41c=function(){return n;};return a41c();}export class UnlockCommand extends Command{static [a41k(0x19d)]='unlock';static ['description']=a41k(0x194);[a41k(0x19b)](a){const l=a41k;return this[l(0x1a9)](a);}[a41k(0x1a9)](a){const m=a41k;if(a[m(0x18d)]===0x0)return this[m(0x185)][m(0x18e)](m(0x1ab)),m(0x186);const b=a[0x0]['toLowerCase'](),c=this['actor'][m(0x18b)];if(this[m(0x19f)](b)&&c[m(0x197)][m(0x193)](b)){const d=c[m(0x197)][m(0x1aa)](b);if(d instanceof Door){const e=d[m(0x19a)]?.['toLowerCase']();if(e&&this[m(0x1a0)]['inventory'][m(0x1a1)](e)){const f=this[m(0x1a0)]['inventory']['getItem'](e);if(f){const g=c['attemptUnlockExit'](b,f['name']);return this[m(0x185)][m(0x18c)](m(0x189)+this['actor'][m(0x1a8)]+m(0x192)+b+m(0x19c)+g),g;}}return this['logger'][m(0x18c)](m(0x189)+this[m(0x1a0)]['name']+m(0x1a7)+b+'.'),m(0x19e);}else return this['logger'][m(0x18c)](m(0x189)+b+m(0x1a2)+c['name']+'.'),m(0x199)+b+m(0x195);}else return this[m(0x185)][m(0x18c)](m(0x189)+b+m(0x1a2)+c[m(0x1a8)]+'.'),m(0x199)+b+m(0x195);}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1f6))/0x1*(-parseInt(f(0x20e))/0x2)+parseInt(f(0x1ee))/0x3+parseInt(f(0x20d))/0x4+-parseInt(f(0x20b))/0x5+-parseInt(f(0x1ef))/0x6+-parseInt(f(0x208))/0x7+-parseInt(f(0x207))/0x8*(-parseInt(f(0x209))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xaf8ff));function a42c(){const l=['Use\x20an\x20item.','apply',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','(((.+)+)+)+$','You\x20don\x27t\x20have\x20the\x20','function','join','UseCommand:\x20','write','toLowerCase','constructor','logger','\x20used\x20','execute','40nGnyyS','6430137zWZTZC','565173uBaESa','use','3130540AahQAU','\x20not\x20retrieved\x20from\x20','3582780MqnxsG','14qHzlHq','\x20to\x20use.','\x20doesn\x27t\x20have\x20a\x20use\x20method.','\x20attempted\x20to\x20use\x20','2750445cktnXW','6226866CxbozV','\x20in\x20this\x20way.','inventory','hasItem','search','You\x20can\x27t\x20use\x20the\x20','actor','167874TKEuqV','toString','name'];a42c=function(){return l;};return a42c();}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x1f7)]()[h(0x1f3)](h(0x1fc))[h(0x1f7)]()[h(0x203)](a42a)[h(0x1f3)](h(0x1fc));});a42a();import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a42d(a,b);}export class UseCommand extends Command{static ['verb']=a42i(0x20a);static ['description']=a42i(0x1f9);[a42i(0x206)](a){const j=a42i;return this[j(0x20a)](a);}[a42i(0x20a)](a){const k=a42i,b=a[k(0x1ff)]('\x20')[k(0x202)]();if(!this[k(0x1f5)][k(0x1f1)][k(0x1f2)](b))return this[k(0x204)][k(0x201)](k(0x200)+this[k(0x1f5)][k(0x1f8)]+k(0x1ed)+b+k(0x1fb)),k(0x1fd)+b+k(0x1eb);const c=this[k(0x1f5)]['inventory']['getItem'](b);if(!c)return this[k(0x204)][k(0x201)]('UseCommand:\x20'+b+k(0x20c)+this['actor'][k(0x1f8)]+'\x27s\x20inventory.'),k(0x1fd)+b+k(0x1eb);if(typeof c[k(0x20a)]===k(0x1fe)){const d=c[k(0x20a)]();return this[k(0x204)][k(0x201)]('UseCommand:\x20'+this[k(0x1f5)]['name']+k(0x205)+b+'.'),d;}else return this['logger'][k(0x201)](k(0x200)+b+k(0x1ec)),k(0x1f4)+b+k(0x1f0);}}
1
+ function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x175;let f=c[d];return f;},a42d(a,b);}const a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x192))/0x1+parseInt(f(0x179))/0x2+-parseInt(f(0x175))/0x3*(-parseInt(f(0x178))/0x4)+-parseInt(f(0x17c))/0x5+-parseInt(f(0x18a))/0x6*(-parseInt(f(0x185))/0x7)+-parseInt(f(0x182))/0x8+parseInt(f(0x18d))/0x9*(-parseInt(f(0x177))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x93c25));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const g=a42d;return a42a[g(0x191)]()[g(0x17a)](g(0x184))[g(0x191)]()[g(0x183)](a42a)[g(0x17a)](g(0x184));});function a42c(){const k=['constructor','(((.+)+)+)+$','673701eqcXHi','You\x20don\x27t\x20have\x20the\x20','inventory',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','\x20in\x20this\x20way.','6YvDbmV','logger','write','3006avhISj','UseCommand:\x20','\x20to\x20use.','execute','toString','571108uKhFZa','345VGWcMU','join','16270goSVHD','26600JeoJlu','1832702HRdhJp','search','function','3526625MKeHzd','toLowerCase','use','name','actor','\x20doesn\x27t\x20have\x20a\x20use\x20method.','3955904RUXNWs'];a42c=function(){return k;};return a42c();}a42a();import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a42h(0x17e);static ['description']='Use\x20an\x20item.';[a42h(0x190)](a){const i=a42h;return this[i(0x17e)](a);}[a42h(0x17e)](a){const j=a42h,b=a[j(0x176)]('\x20')[j(0x17d)]();if(!this['actor'][j(0x187)]['hasItem'](b))return this[j(0x18b)][j(0x18c)](j(0x18e)+this[j(0x180)][j(0x17f)]+'\x20attempted\x20to\x20use\x20'+b+j(0x188)),j(0x186)+b+j(0x18f);const c=this['actor']['inventory']['getItem'](b);if(!c)return this[j(0x18b)][j(0x18c)]('UseCommand:\x20'+b+'\x20not\x20retrieved\x20from\x20'+this[j(0x180)][j(0x17f)]+'\x27s\x20inventory.'),'You\x20don\x27t\x20have\x20the\x20'+b+j(0x18f);if(typeof c[j(0x17e)]===j(0x17b)){const d=c[j(0x17e)]();return this['logger'][j(0x18c)](j(0x18e)+this[j(0x180)][j(0x17f)]+'\x20used\x20'+b+'.'),d;}else return this['logger'][j(0x18c)](j(0x18e)+b+j(0x181)),'You\x20can\x27t\x20use\x20the\x20'+b+j(0x189);}}
@@ -1 +1 @@
1
- const a43j=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x172))/0x1*(-parseInt(f(0x16e))/0x2)+-parseInt(f(0x173))/0x3+parseInt(f(0x166))/0x4+-parseInt(f(0x167))/0x5+parseInt(f(0x16d))/0x6*(parseInt(f(0x170))/0x7)+-parseInt(f(0x171))/0x8+parseInt(f(0x16f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x73ade));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x174)]()[h(0x169)](h(0x16b))[h(0x174)]()['constructor'](a43a)[h(0x169)]('(((.+)+)+)+$');});function a43c(){const k=['2573728aAYqZa','2162130iumePq','getAllRegisteredCommands','search','apply','(((.+)+)+)+$','commandMap','438uwAvfD','79438uALYYj','1759383EAyXHX','78022OgWNki','2262152PKDTxX','6FLcsbD','2105622tQjprz','toString'];a43c=function(){return k;};return a43c();}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x166;let f=c[d];return f;},a43d(a,b);}a43a();export class CommandFactory{static ['commandMap']={};static['registerCommand'](a,b){this['commandMap'][a]=b;}static['createCommand'](a,b){const i=a43d,c=this[i(0x16c)][a];if(c)return new c(b);return null;}static[a43j(0x168)](){return this['commandMap'];}}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1ea))/0x1+-parseInt(f(0x1f0))/0x2+-parseInt(f(0x1e7))/0x3+-parseInt(f(0x1e8))/0x4+-parseInt(f(0x1e9))/0x5+-parseInt(f(0x1f2))/0x6+parseInt(f(0x1ec))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xd11f2));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1f3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1f4)]()[h(0x1f1)](h(0x1eb))[h(0x1f4)]()[h(0x1ee)](a43a)['search']('(((.+)+)+)+$');});function a43c(){const m=['44070019rKuXHy','commandMap','constructor','registerCommand','2187202uGkTse','search','3896388cRoRcK','apply','toString','787725CNmbqg','5049340UNduQw','6069235tPQThQ','957399EkBCYi','(((.+)+)+)+$'];a43c=function(){return m;};return a43c();}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1e7;let f=c[d];return f;},a43d(a,b);}a43a();export class CommandFactory{static [a43i(0x1ed)]={};static[a43i(0x1ef)](a,b){const j=a43i;this[j(0x1ed)][a]=b;}static['createCommand'](a,b){const k=a43i,c=this[k(0x1ed)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const l=a43i;return this[l(0x1ed)];}}
@@ -1 +1 @@
1
- const a44h=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x19f))/0x1+parseInt(f(0x1ab))/0x2*(-parseInt(f(0x1ac))/0x3)+parseInt(f(0x1bd))/0x4*(parseInt(f(0x1a2))/0x5)+parseInt(f(0x1ae))/0x6*(-parseInt(f(0x1b5))/0x7)+-parseInt(f(0x1a3))/0x8*(parseInt(f(0x1a9))/0x9)+parseInt(f(0x1b6))/0xa+parseInt(f(0x1b4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xf394e));function a44c(){const n=['9uuNhgv','items','776yQbYGs','3543BwXNhR','description','96GUXkbr','helmet','gloves','toString','constructor','createItem','23986490RQDqQm','695331tBzpHo','5048480iloSqC','puzzle','content','inventory','legarmor','type','toUpperCase','24AZyJzf','createRoom','createPuzzle','roomType','name','INSIDE','forEach','convertToRoomConfig','(((.+)+)+)+$','bodyarmor','601691dROkeQ','addItem','key','1175065rtepvb','3588472HxWCWL','search','rewardItem','rifle','isStartRoom','sword'];a44c=function(){return n;};return a44c();}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const g=a44d;return a44a['toString']()[g(0x1a4)]('(((.+)+)+)+$')[g(0x1b1)]()[g(0x1b2)](a44a)['search'](g(0x1c5));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x19f;let f=c[d];return f;},a44d(a,b);}a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44h(0x1be)](a){const i=a44h,b=this[i(0x1c4)](a),c=new Room(b);if(a[i(0x1aa)]){const d=new Inventory();a[i(0x1aa)][i(0x1c3)](e=>{const j=i;d[j(0x1a0)](this[j(0x1b3)](e));}),c[i(0x1b9)]=d;}return a[i(0x1b7)]&&c['setPuzzle'](this[i(0x1bf)](a[i(0x1b7)])),c;}[a44h(0x1b3)](a){const k=a44h;switch(a[k(0x1bb)]){case k(0x1a1):return new Key(a[k(0x1c1)],a[k(0x1ad)]);case'book':return new Book(a['name'],a[k(0x1ad)],a[k(0x1b8)]);case k(0x1a8):return new Sword(a[k(0x1c1)],a['description']);case k(0x1a6):return new Rifle(a[k(0x1c1)],a['description']);case k(0x1af):return new Helmet(a[k(0x1c1)],a[k(0x1ad)]);case k(0x1c6):return new BodyArmor(a[k(0x1c1)],a[k(0x1ad)]);case k(0x1ba):return new LegArmor(a[k(0x1c1)],a[k(0x1ad)]);case'boots':return new Boots(a['name'],a[k(0x1ad)]);case k(0x1b0):return new Gloves(a[k(0x1c1)],a['description']);case'gauntlets':return new Gauntlets(a[k(0x1c1)],a[k(0x1ad)]);default:return new BasicItem(a[k(0x1c1)],a[k(0x1ad)]);}}['createPuzzle'](a){const l=a44h,b=this[l(0x1b3)](a[l(0x1a5)]);return new Puzzle({...a,'rewardItem':b});}[a44h(0x1c4)](a){const m=a44h,b=a[m(0x1c0)]&&RoomType[a[m(0x1c0)][m(0x1bc)]()]?RoomType[a[m(0x1c0)][m(0x1bc)]()]:RoomType[m(0x1c2)];return{'name':a[m(0x1c1)],'description':a['description'],'isStartRoom':a[m(0x1a7)],'roomType':b};}}
1
+ const a44h=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x180))/0x1*(-parseInt(f(0x18e))/0x2)+-parseInt(f(0x196))/0x3+-parseInt(f(0x192))/0x4*(parseInt(f(0x193))/0x5)+-parseInt(f(0x181))/0x6*(-parseInt(f(0x18c))/0x7)+-parseInt(f(0x18f))/0x8*(-parseInt(f(0x198))/0x9)+parseInt(f(0x178))/0xa+-parseInt(f(0x195))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x2ff6a));function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x178;let f=c[d];return f;},a44d(a,b);}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const g=a44d;return a44a[g(0x183)]()[g(0x17d)](g(0x188))[g(0x183)]()['constructor'](a44a)['search'](g(0x188));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44h(0x17b)](a){const i=a44h,b=this[i(0x19b)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[i(0x199)][i(0x184)](e=>{const j=i;d['addItem'](this[j(0x187)](e));}),c[i(0x18a)]=d;}return a[i(0x19c)]&&c['setPuzzle'](this[i(0x194)](a['puzzle'])),c;}[a44h(0x187)](a){const k=a44h;switch(a['type']){case k(0x182):return new Key(a['name'],a['description']);case k(0x18d):return new Book(a[k(0x17e)],a[k(0x186)],a[k(0x17c)]);case k(0x179):return new Sword(a[k(0x17e)],a[k(0x186)]);case k(0x185):return new Rifle(a[k(0x17e)],a[k(0x186)]);case k(0x19d):return new Helmet(a[k(0x17e)],a[k(0x186)]);case k(0x19a):return new BodyArmor(a['name'],a[k(0x186)]);case'legarmor':return new LegArmor(a[k(0x17e)],a[k(0x186)]);case k(0x197):return new Boots(a[k(0x17e)],a[k(0x186)]);case k(0x190):return new Gloves(a[k(0x17e)],a['description']);case k(0x189):return new Gauntlets(a[k(0x17e)],a[k(0x186)]);default:return new BasicItem(a[k(0x17e)],a[k(0x186)]);}}['createPuzzle'](a){const l=a44h,b=this[l(0x187)](a[l(0x17f)]);return new Puzzle({...a,'rewardItem':b});}[a44h(0x19b)](a){const m=a44h,b=a[m(0x19e)]&&RoomType[a[m(0x19e)][m(0x18b)]()]?RoomType[a[m(0x19e)]['toUpperCase']()]:RoomType[m(0x191)];return{'name':a[m(0x17e)],'description':a[m(0x186)],'isStartRoom':a[m(0x17a)],'roomType':b};}}function a44c(){const n=['bodyarmor','convertToRoomConfig','puzzle','helmet','roomType','433420AthIyD','sword','isStartRoom','createRoom','content','search','name','rewardItem','385817hSNJxu','102ODhdPz','key','toString','forEach','rifle','description','createItem','(((.+)+)+)+$','gauntlets','inventory','toUpperCase','145187WEWTLG','book','2BZYDsF','28744isqKru','gloves','INSIDE','82356IjCFlv','20FlQXsT','createPuzzle','5109687ANWUkT','481761giBdkM','boots','306bSnLCw','items'];a44c=function(){return n;};return a44c();}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x1e8))/0x1*(parseInt(h(0x206))/0x2)+parseInt(h(0x1e6))/0x3*(parseInt(h(0x210))/0x4)+-parseInt(h(0x20b))/0x5*(-parseInt(h(0x1f9))/0x6)+parseInt(h(0x212))/0x7*(parseInt(h(0x216))/0x8)+parseInt(h(0x1e9))/0x9*(parseInt(h(0x208))/0xa)+-parseInt(h(0x1f5))/0xb*(-parseInt(h(0x1f4))/0xc)+-parseInt(h(0x1e5))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x268ae));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x20d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x1fe)]()[j(0x1f3)]('(((.+)+)+)+$')[j(0x1fe)]()[j(0x1ff)](a45a)['search'](j(0x1f1));});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';function a45c(){const s=['trim','apply','getDescription','rooms','4wGhPHG','lock','282065BVAMin','createCommand','registerCommand','Available\x20Commands:\x0a','24ztfmPR','getHelpMessage','Welcome,\x20','currentLocation','getWelcomeMessage','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','say','-\x20quit:\x20Exit\x20the\x20game.\x0a','currentRoom','7469228DDIiZS','216456HilRMO','instance','1105zEoLKA','747nKlsHx','determineStartRoom','getAllRegisteredCommands','split','getRooms','getInstance','-\x20clear:\x20Clear\x20the\x20screen.\x0a','slice','(((.+)+)+)+$','clear','search','1428ZhyslN','5962FQdPYq','drop','help','execute','314118EmVgQX','toLowerCase','unlock','player','handleInput','toString','constructor','take','registerCommands','hasOwnProperty','maka','unequip','name','254HfOaTD','use','8770ZXSaGx','scene','initialize','25hhZaqg'];a45c=function(){return s;};return a45c();}import{GoCommand}from'./commands/go.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1de;let f=c[d];return f;},a45d(a,b);}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(0x1e7)];[a45k(0x209)];['player'];[a45k(0x1e4)];[a45k(0x20f)];constructor(a,b){const l=a45k;this[l(0x1fc)]=a,this[l(0x209)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x209)][l(0x20a)](),this['player'][l(0x1df)]=this[l(0x1ea)](),this['registerCommands']();}[a45k(0x201)](){const m=a45k;CommandFactory[m(0x214)]('look',LookCommand),CommandFactory[m(0x214)]('go',GoCommand),CommandFactory[m(0x214)](m(0x200),TakeCommand),CommandFactory[m(0x214)](m(0x207),UseCommand),CommandFactory[m(0x214)]('equip',EquipCommand),CommandFactory[m(0x214)](m(0x204),UnequipCommand),CommandFactory['registerCommand']('solve',SolveCommand),CommandFactory['registerCommand'](m(0x1f6),DropCommand),CommandFactory[m(0x214)](m(0x1fb),UnlockCommand),CommandFactory[m(0x214)](m(0x211),LockCommand),CommandFactory['registerCommand'](m(0x1f3),SearchCommand),CommandFactory[m(0x214)](m(0x1e2),SayCommand);}[a45k(0x1ea)](){const n=a45k;return this[n(0x209)][n(0x1ea)]();}[a45k(0x1e0)](){const o=a45k;return o(0x1de)+this[o(0x1fc)][o(0x205)];}static[a45k(0x1ee)](a,b){const p=a45k;return!Game['instance']&&(Game['instance']=new Game(a,b)),Game[p(0x1e7)];}[a45k(0x1fd)](a){const q=a45k,b=a[q(0x20c)]()[q(0x1ec)]('\x20'),c=b[0x0][q(0x1fa)](),d=b[q(0x1f0)](0x1);if(c==='quit')return null;if(c===q(0x203))return q(0x1e1);if(c===q(0x1f7))return this['getHelpMessage']();if(c===q(0x1f2))return'';const e={'actor':this['player'],'rooms':this[q(0x209)][q(0x1ed)](),'scene':this[q(0x209)]},f=CommandFactory[q(0x213)](c,e);if(f){const g=f[q(0x1f8)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a45k(0x217)](){const r=a45k,a=CommandFactory[r(0x1eb)]();let b=r(0x215);for(const c in a){if(a[r(0x202)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x20e)]()+'\x0a';}}return b+=r(0x1ef),b+=r(0x1e3),b;}}
1
+ const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0x1a9))/0x1+parseInt(h(0x1af))/0x2+parseInt(h(0x198))/0x3*(parseInt(h(0x1ae))/0x4)+-parseInt(h(0x1a6))/0x5*(parseInt(h(0x1b0))/0x6)+parseInt(h(0x195))/0x7*(-parseInt(h(0x1c4))/0x8)+-parseInt(h(0x1a0))/0x9*(parseInt(h(0x1ac))/0xa)+parseInt(h(0x1c6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xce2df));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x1ad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x1be)]()[j(0x1a3)]('(((.+)+)+)+$')['toString']()[j(0x1bb)](a45a)[j(0x1a3)]('(((.+)+)+)+$');});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';function a45c(){const r=['registerCommands','help','constructor','equip','hasOwnProperty','toString','currentRoom','createCommand','quit','Available\x20Commands:\x0a','look','7609088CVnbPv','registerCommand','18595379nctwlc','slice','-\x20clear:\x20Clear\x20the\x20screen.\x0a','getRooms','getInstance','7pXZwGb','unequip','getHelpMessage','12ZoMwfz','player','name','lock','-\x20quit:\x20Exit\x20the\x20game.\x0a','determineStartRoom','maka','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','10359mACmBp','say','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','search','handleInput','Welcome,\x20','2786095BJYXbQ','instance','getAllRegisteredCommands','700327oPTYnu','scene','execute','5010tqEprl','apply','1505080lloaVU','3097426plIKtd','18bVdkil','clear','toLowerCase','split','drop','getDescription','currentLocation','use','unlock'];a45c=function(){return r;};return a45c();}import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x192;let f=c[d];return f;},a45d(a,b);}export default class Game{static [a45k(0x1a7)];[a45k(0x1aa)];[a45k(0x199)];[a45k(0x1bf)];['rooms'];constructor(a,b){const l=a45k;this['player']=a,this[l(0x1aa)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x1aa)]['initialize'](),this[l(0x199)][l(0x1b6)]=this['determineStartRoom'](),this['registerCommands']();}[a45k(0x1b9)](){const m=a45k;CommandFactory[m(0x1c5)](m(0x1c3),LookCommand),CommandFactory[m(0x1c5)]('go',GoCommand),CommandFactory[m(0x1c5)]('take',TakeCommand),CommandFactory[m(0x1c5)](m(0x1b7),UseCommand),CommandFactory[m(0x1c5)](m(0x1bc),EquipCommand),CommandFactory[m(0x1c5)](m(0x196),UnequipCommand),CommandFactory[m(0x1c5)]('solve',SolveCommand),CommandFactory[m(0x1c5)](m(0x1b4),DropCommand),CommandFactory[m(0x1c5)](m(0x1b8),UnlockCommand),CommandFactory['registerCommand'](m(0x19b),LockCommand),CommandFactory[m(0x1c5)](m(0x1a3),SearchCommand),CommandFactory[m(0x1c5)](m(0x1a1),SayCommand);}[a45k(0x19d)](){return this['scene']['determineStartRoom']();}['getWelcomeMessage'](){const n=a45k;return n(0x1a5)+this[n(0x199)][n(0x19a)];}static[a45k(0x194)](a,b){const o=a45k;return!Game['instance']&&(Game[o(0x1a7)]=new Game(a,b)),Game[o(0x1a7)];}[a45k(0x1a4)](a){const p=a45k,b=a['trim']()[p(0x1b3)]('\x20'),c=b[0x0][p(0x1b2)](),d=b[p(0x1c7)](0x1);if(c===p(0x1c1))return null;if(c===p(0x19e))return p(0x19f);if(c===p(0x1ba))return this[p(0x197)]();if(c===p(0x1b1))return'';const e={'actor':this[p(0x199)],'rooms':this[p(0x1aa)][p(0x193)](),'scene':this[p(0x1aa)]},f=CommandFactory[p(0x1c0)](c,e);if(f){const g=f[p(0x1ab)](d);return g;}return p(0x1a2)+c+'\x22.';}['getHelpMessage'](){const q=a45k,a=CommandFactory[q(0x1a8)]();let b=q(0x1c2);for(const c in a){if(a[q(0x1bd)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x1b5)]()+'\x0a';}}return b+=q(0x192),b+=q(0x19c),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0xa9))/0x1*(-parseInt(f(0xa5))/0x2)+-parseInt(f(0xab))/0x3+parseInt(f(0xac))/0x4+-parseInt(f(0xa4))/0x5+parseInt(f(0xa7))/0x6*(parseInt(f(0xa6))/0x7)+parseInt(f(0xa1))/0x8*(-parseInt(f(0x9e))/0x9)+-parseInt(f(0xad))/0xa*(-parseInt(f(0xa0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xaa5d5));function a46c(){var i=['apply','toString','2248495GvYrOZ','2434454GEgdix','3253453YPZTOb','18wNzure','(((.+)+)+)+$','1PnASGv','constructor','1986072AGIJYb','2818836TTmzic','118970EmBHyp','9uyXjWI','search','1430HLSMYB','4951144pClaXb'];a46c=function(){return i;};return a46c();}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xa2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0xa3)]()[h(0x9f)](h(0xa8))['toString']()[h(0xaa)](a46a)['search'](h(0xa8));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x9e;var f=c[d];return f;},a46d(a,b);}export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0xd8))/0x1+parseInt(f(0xda))/0x2*(parseInt(f(0xdd))/0x3)+parseInt(f(0xd0))/0x4*(-parseInt(f(0xd4))/0x5)+parseInt(f(0xd1))/0x6*(-parseInt(f(0xd5))/0x7)+parseInt(f(0xd7))/0x8+parseInt(f(0xd6))/0x9+parseInt(f(0xd3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xcf67b));var a46b=(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;};}()),a46a=a46b(this,function(){var g=a46d;return a46a['toString']()[g(0xdc)]('(((.+)+)+)+$')[g(0xd9)]()[g(0xdb)](a46a)[g(0xdc)](g(0xd2));});a46a();export*from'./door.js';function a46c(){var h=['49icTVKg','7525233EkVwwe','7417520NDIUxZ','379491pfGMgz','toString','105102MVOycV','constructor','search','3XPJdXR','4joNURZ','841902cCYKmx','(((.+)+)+)+$','20228910lCULAL','8137640FcfmsD'];a46c=function(){return h;};return a46c();}export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xd0;var f=c[d];return f;},a46d(a,b);}export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x137))/0x1*(-parseInt(f(0x136))/0x2)+parseInt(f(0x13f))/0x3*(-parseInt(f(0x146))/0x4)+-parseInt(f(0x13c))/0x5*(parseInt(f(0x12f))/0x6)+parseInt(f(0x134))/0x7+-parseInt(f(0x14a))/0x8+parseInt(f(0x133))/0x9*(-parseInt(f(0x12d))/0xa)+parseInt(f(0x141))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xad16b));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x144)]()[h(0x149)](h(0x13a))[h(0x144)]()[h(0x142)](a47a)[h(0x149)](h(0x13a));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a47c(){var o=['51891499LIYjVs','constructor','unlockItemOrSolution','toString','isLocked','5884uGPShZ','Failed\x20to\x20unlock\x20door:\x20','write','search','5762496GPBZqa','Door\x20unlocked:\x20','20bnZQVt','isLockable','696726ZqPJOQ','checkIfLockable','.\x20Is\x20Locked:\x20','name','4718583MzAoWt','1252230aoUoSJ','\x20and\x20','47654rFVTVs','37SRSDed','getInstance','apply','(((.+)+)+)+$','logger','20ziHjPu','roomB','To\x20','2187llRvrK','roomA'];a47c=function(){return o;};return a47c();}function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x12c;var f=c[d];return f;},a47d(a,b);}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x140)];[a47i(0x13d)];[a47i(0x145)];[a47i(0x143)];['name'];[a47i(0x13b)];[a47i(0x12e)];constructor(a){var j=a47i;super(),this[j(0x140)]=a[j(0x140)],this[j(0x13d)]=a['roomB'],this[j(0x145)]=a['isLocked']||![],this[j(0x143)]=a[j(0x143)],this[j(0x132)]=a[j(0x132)]?capitalCase(a[j(0x132)]):j(0x13e)+a[j(0x13d)][j(0x132)],this[j(0x13b)]=Logger[j(0x138)](),this[j(0x12e)]=!!a['unlockItemOrSolution'],this[j(0x13b)]['write']('Door\x20created\x20between\x20'+this[j(0x140)][j(0x132)]+j(0x135)+this[j(0x13d)]['name']+j(0x131)+this[j(0x145)]);}['getOtherSide'](a){var k=a47i;return this[k(0x140)]===a?this[k(0x13d)]:this[k(0x140)];}['attemptUnlock'](a){var l=a47i;if(this[l(0x145)]&&this['unlockItemOrSolution']&&this[l(0x143)]===a)return this[l(0x145)]=![],this[l(0x13b)][l(0x148)](l(0x12c)+this[l(0x132)]+'.\x20Used:\x20'+a),!![];return this[l(0x13b)][l(0x148)](l(0x147)+this[l(0x132)]+'.\x20Used:\x20'+a),![];}['checkIfLocked'](){var m=a47i;return this[m(0x145)];}[a47i(0x130)](){var n=a47i;return this[n(0x12e)];}}
1
+ var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0xe1))/0x1*(parseInt(f(0xe4))/0x2)+-parseInt(f(0xe3))/0x3+-parseInt(f(0xe5))/0x4+-parseInt(f(0xef))/0x5+parseInt(f(0xec))/0x6*(parseInt(f(0xee))/0x7)+parseInt(f(0xdf))/0x8+parseInt(f(0xea))/0x9*(parseInt(f(0xd1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xc42e8));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(0xeb)]()[g(0xe6)]('(((.+)+)+)+$')[g(0xeb)]()[g(0xd6)](a47a)[g(0xe6)](g(0xe2));});a47a();function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0xd1;var f=c[d];return f;},a47d(a,b);}import{Logger}from'../utilities/logger.js';function a47c(){var l=['write','checkIfLockable','.\x20Used:\x20','.\x20Is\x20Locked:\x20','constructor','attemptUnlock','isLocked','To\x20','name','roomA','isLockable','roomB','logger','11227504WIzSTU','Door\x20created\x20between\x20','268kaTeZl','(((.+)+)+)+$','3489066KdpsRH','2122qLLEsL','1393488RQOPbb','search','checkIfLocked','unlockItemOrSolution','Door\x20unlocked:\x20','1312551ewNqBA','toString','6eVQMEM','\x20and\x20','10475297vBiSKV','5878205ukitHi','60lPsYmq'];a47c=function(){return l;};return a47c();}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47h(0xdb)];[a47h(0xdd)];[a47h(0xd8)];[a47h(0xe8)];[a47h(0xda)];[a47h(0xde)];[a47h(0xdc)];constructor(a){var i=a47h;super(),this[i(0xdb)]=a[i(0xdb)],this[i(0xdd)]=a[i(0xdd)],this[i(0xd8)]=a[i(0xd8)]||![],this[i(0xe8)]=a[i(0xe8)],this[i(0xda)]=a[i(0xda)]?capitalCase(a[i(0xda)]):i(0xd9)+a[i(0xdd)][i(0xda)],this[i(0xde)]=Logger['getInstance'](),this['isLockable']=!!a['unlockItemOrSolution'],this[i(0xde)][i(0xd2)](i(0xe0)+this[i(0xdb)][i(0xda)]+i(0xed)+this[i(0xdd)][i(0xda)]+i(0xd5)+this['isLocked']);}['getOtherSide'](a){var j=a47h;return this['roomA']===a?this[j(0xdd)]:this[j(0xdb)];}[a47h(0xd7)](a){var k=a47h;if(this[k(0xd8)]&&this[k(0xe8)]&&this[k(0xe8)]===a)return this[k(0xd8)]=![],this['logger'][k(0xd2)](k(0xe9)+this[k(0xda)]+k(0xd4)+a),!![];return this[k(0xde)][k(0xd2)]('Failed\x20to\x20unlock\x20door:\x20'+this[k(0xda)]+k(0xd4)+a),![];}[a47h(0xe7)](){return this['isLocked'];}[a47h(0xd3)](){return this['isLockable'];}}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x136))/0x1*(-parseInt(f(0x131))/0x2)+-parseInt(f(0x13f))/0x3*(parseInt(f(0x125))/0x4)+-parseInt(f(0x129))/0x5*(-parseInt(f(0x147))/0x6)+-parseInt(f(0x140))/0x7+-parseInt(f(0x142))/0x8*(-parseInt(f(0x135))/0x9)+-parseInt(f(0x133))/0xa+-parseInt(f(0x130))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xd2230));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x123)]()['search']('(((.+)+)+)+$')['toString']()[h(0x14b)](a48a)[h(0x149)](h(0x13e));});a48a();function a48c(){const r=['3492405QslIcH','hasItem','Checked\x20for\x20item:\x20','removeItem','\x20in\x20','weight','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','439846yQiMvd','2cftXqb','delete','13406980kgdEhl','items','1932705oLsWpR','844761TbtVKR','.\x20Item\x20not\x20found.','Added\x20item:\x20','map','getItem','get','write','join','(((.+)+)+)+$','822012uRUzst','2852626vTcBsf','logger','56ncwuYS','set','Removed\x20item:\x20','toLowerCase','values','12UDsoPq','listItems','search','has','constructor','Retrieved\x20details\x20for\x20item:\x20','getWeight','\x20from\x20inventory.','apply','toString','keys','16RLkhzC','getAllItems','name','\x20to\x20inventory.'];a48c=function(){return r;};return a48c();}function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x121;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';export class Inventory extends AbstractInventory{[a48i(0x134)];[a48i(0x141)];constructor(){const j=a48i;super(),this[j(0x134)]=new Map(),this[j(0x141)]=Logger['getInstance']();}['addItem'](a){const k=a48i;this[k(0x134)][k(0x143)](a[k(0x127)][k(0x145)](),a),this[k(0x141)][k(0x13c)](k(0x138)+a[k(0x127)]+k(0x128));}[a48i(0x12c)](a){const l=a48i,b=this[l(0x13a)](a);if(b)return this[l(0x134)][l(0x132)](a[l(0x145)]()),this[l(0x141)][l(0x13c)](l(0x144)+a+l(0x121)),b;return this[l(0x141)][l(0x13c)]('Failed\x20to\x20remove\x20item:\x20'+a+l(0x137)),null;}[a48i(0x12a)](a){const m=a48i,b=this['items'][m(0x14a)](a[m(0x145)]()),c=[...this['items'][m(0x124)]()];return this[m(0x141)][m(0x13c)](m(0x12b)+a+m(0x12d)+c['join'](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a48i(0x13a)](a){const n=a48i,b=this[n(0x134)][n(0x13b)](a[n(0x145)]())||null;return b?this[n(0x141)][n(0x13c)](n(0x14c)+a+'.'):this[n(0x141)]['write'](n(0x12f)+a+n(0x137)),b;}[a48i(0x148)](){const o=a48i,a=[...this[o(0x134)]['keys']()],b=a[o(0x139)](c=>capitalCase(c));return this[o(0x141)][o(0x13c)]('Listed\x20items\x20in\x20inventory:\x20'+b[o(0x13d)](',\x20')+'.'),a;}[a48i(0x14d)](){const p=a48i;let a=0x0;for(const b of this[p(0x134)][p(0x146)]()){a+=b[p(0x12e)];}return a;}[a48i(0x126)](){const q=a48i;return[...this[q(0x134)][q(0x146)]()];}}
1
+ const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x201))/0x1+parseInt(f(0x1f3))/0x2+-parseInt(f(0x203))/0x3+-parseInt(f(0x1f9))/0x4+parseInt(f(0x200))/0x5*(parseInt(f(0x1dc))/0x6)+-parseInt(f(0x1e9))/0x7*(parseInt(f(0x1f5))/0x8)+-parseInt(f(0x1e5))/0x9*(parseInt(f(0x1e7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xba358));function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1dc;let f=c[d];return f;},a48d(a,b);}const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a['toString']()['search']('(((.+)+)+)+$')[g(0x1f8)]()[g(0x1ff)](a48a)[g(0x1fe)]('(((.+)+)+)+$');});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a48c(){const q=['776232tBftXz','Removed\x20item:\x20','50qQXFbb','Failed\x20to\x20remove\x20item:\x20','14777Dnpapq','items','Retrieved\x20details\x20for\x20item:\x20','getItem','.\x20Exists:\x20','Added\x20item:\x20','name','map','\x20to\x20inventory.','has','2328094VryCzT','getWeight','1736FeadwX','keys','toLowerCase','toString','413672JycLDx','join','values','getInstance','weight','search','constructor','5410LjnyGE','195192qLdvTj','Checked\x20for\x20item:\x20','502512UTuEqB','addItem','\x20from\x20inventory.','3126BpGciT','write','set','getAllItems','logger','get','.\x20Item\x20not\x20found.','delete','Listed\x20items\x20in\x20inventory:\x20'];a48c=function(){return q;};return a48c();}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48h(0x1ea)];['logger'];constructor(){const i=a48h;super(),this['items']=new Map(),this['logger']=Logger[i(0x1fc)]();}[a48h(0x204)](a){const j=a48h;this[j(0x1ea)][j(0x1de)](a[j(0x1ef)][j(0x1f7)](),a),this[j(0x1e0)][j(0x1dd)](j(0x1ee)+a[j(0x1ef)]+j(0x1f1));}['removeItem'](a){const k=a48h,b=this[k(0x1ec)](a);if(b)return this[k(0x1ea)][k(0x1e3)](a[k(0x1f7)]()),this[k(0x1e0)]['write'](k(0x1e6)+a+k(0x205)),b;return this[k(0x1e0)][k(0x1dd)](k(0x1e8)+a+k(0x1e2)),null;}['hasItem'](a){const l=a48h,b=this[l(0x1ea)][l(0x1f2)](a[l(0x1f7)]()),c=[...this['items'][l(0x1f6)]()];return this[l(0x1e0)]['write'](l(0x202)+a+'\x20in\x20'+c[l(0x1fa)](',\x20')+l(0x1ed)+b+'.'),b;}['getItem'](a){const m=a48h,b=this[m(0x1ea)][m(0x1e1)](a[m(0x1f7)]())||null;return b?this[m(0x1e0)]['write'](m(0x1eb)+a+'.'):this[m(0x1e0)][m(0x1dd)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+m(0x1e2)),b;}['listItems'](){const n=a48h,a=[...this['items'][n(0x1f6)]()],b=a[n(0x1f0)](c=>capitalCase(c));return this[n(0x1e0)][n(0x1dd)](n(0x1e4)+b[n(0x1fa)](',\x20')+'.'),a;}[a48h(0x1f4)](){const o=a48h;let a=0x0;for(const b of this[o(0x1ea)][o(0x1fb)]()){a+=b[o(0x1fd)];}return a;}[a48h(0x1df)](){const p=a48h;return[...this[p(0x1ea)][p(0x1fb)]()];}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x92))/0x1*(parseInt(f(0x8a))/0x2)+parseInt(f(0x84))/0x3+-parseInt(f(0x8e))/0x4*(parseInt(f(0x79))/0x5)+parseInt(f(0x89))/0x6+-parseInt(f(0x8c))/0x7+-parseInt(f(0x7f))/0x8+-parseInt(f(0x7d))/0x9*(-parseInt(f(0x85))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x50e57));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x77)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x87)]()[h(0x82)](h(0x7c))['toString']()[h(0x8f)](a49a)[h(0x82)](h(0x7c));});a49a();function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x77;var f=c[d];return f;},a49d(a,b);}import{v4 as a49e}from'uuid';function a49c(){var l=['1942872fNxhlq','2XnnSJN','name','1451828pfmfda','shape','4kZMvqF','constructor','description','You\x20use\x20the\x20','185263IjlDSI','apply','color','1463885kAGwfR','rating','use','(((.+)+)+)+$','414gHXbJo','category','907200OWRHnX','.\x20Nothing\x20special\x20happens.','uuid','search','texture','1233741DyfREO','5350JHhwLh','weight','toString','size'];a49c=function(){return l;};return a49c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x81)];[a49i(0x8b)];[a49i(0x90)];[a49i(0x88)];['category'];[a49i(0x8d)];[a49i(0x78)];[a49i(0x83)];[a49i(0x7a)];[a49i(0x86)];constructor(a){var j=a49i;super(),this[j(0x8b)]=a[j(0x8b)],this[j(0x90)]=a[j(0x90)],this['size']=a[j(0x88)],this['category']=a[j(0x7e)],this[j(0x8d)]=a[j(0x8d)],this['color']=a['color'],this[j(0x83)]=a['texture'],this[j(0x7a)]=a['rating'],this[j(0x86)]=a[j(0x86)],this[j(0x81)]=a49e();}[a49i(0x7b)](){var k=a49i;return k(0x91)+this[k(0x8b)]+k(0x80);}}
1
+ var a49i=a49d;function a49c(){var l=['1152plTgMl','category','use','12030RldJPi','2857370sKErRp','228doxyCg','uuid','52203SqAShR','color','name','texture','rating','toString','157618FTLjnU','constructor','description','size','183589mAhmyo','253GungJh','apply','weight','2214ymfpRX','402712lfjMmk','search','9sROCXL','174TpofOm','.\x20Nothing\x20special\x20happens.','shape'];a49c=function(){return l;};return a49c();}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x122))/0x1*(-parseInt(f(0x117))/0x2)+-parseInt(f(0x12d))/0x3*(parseInt(f(0x12b))/0x4)+parseInt(f(0x12a))/0x5+-parseInt(f(0x123))/0x6*(-parseInt(f(0x11b))/0x7)+parseInt(f(0x120))/0x8+parseInt(f(0x11f))/0x9*(-parseInt(f(0x129))/0xa)+-parseInt(f(0x11c))/0xb*(-parseInt(f(0x126))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xc4cca));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0x121)]('(((.+)+)+)+$')[h(0x116)]()[h(0x118)](a49a)['search']('(((.+)+)+)+$');});function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x115;var f=c[d];return f;},a49d(a,b);}a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x12c)];['name'];[a49i(0x119)];[a49i(0x11a)];[a49i(0x127)];[a49i(0x125)];[a49i(0x12e)];[a49i(0x130)];[a49i(0x115)];[a49i(0x11e)];constructor(a){var j=a49i;super(),this[j(0x12f)]=a[j(0x12f)],this[j(0x119)]=a[j(0x119)],this['size']=a[j(0x11a)],this[j(0x127)]=a[j(0x127)],this['shape']=a[j(0x125)],this['color']=a[j(0x12e)],this['texture']=a[j(0x130)],this[j(0x115)]=a[j(0x115)],this[j(0x11e)]=a['weight'],this['uuid']=a49e();}[a49i(0x128)](){var k=a49i;return'You\x20use\x20the\x20'+this[k(0x12f)]+k(0x124);}}
@@ -1 +1 @@
1
- const a50h=a50d;function a50c(){const n=['4jhgHSF','3259880uOYTDC','_dialogue','scene','_name','constructor','2248Zbywxo','772740AcbaES','toString','4314186FfKaIy','moveTo','length','random','8287370tsoPPC','floor','name','1222056CjwUSJ','598835jABSKk','9uGgwRv','rooms','autonomousMove','(((.+)+)+)+$','search','14483inWZWK'];a50c=function(){return n;};return a50c();}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0xf9))/0x1+parseInt(f(0x107))/0x2+parseInt(f(0xf8))/0x3+-parseInt(f(0x100))/0x4*(-parseInt(f(0x101))/0x5)+-parseInt(f(0x109))/0x6+parseInt(f(0xff))/0x7*(-parseInt(f(0x106))/0x8)+parseInt(f(0xfa))/0x9*(parseInt(f(0xf5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x5b98c));const a50b=(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;};}()),a50a=a50b(this,function(){const g=a50d;return a50a[g(0x108)]()[g(0xfe)](g(0xfd))[g(0x108)]()[g(0x105)](a50a)[g(0xfe)](g(0xfd));});a50a();function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xf5;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{[a50h(0x104)];['_dialogue'];[a50h(0xfb)];[a50h(0x103)];constructor(a,b,c,d){const i=a50h;super(d),this[i(0x104)]=a,this[i(0x102)]=b,this[i(0xfb)]=c;}get['name'](){const j=a50h;return this[j(0x104)];}['speak'](){const k=a50h;return this[k(0x102)][Math[k(0xf6)](Math['random']()*this[k(0x102)][k(0x10b)])];}[a50h(0xfc)](a){const l=a50h,b=a[Math['floor'](Math[l(0x10c)]()*a[l(0x10b)])];this['moveTo'](b[l(0xf7)]);}[a50h(0x10a)](a){const m=a50h,b={'actor':this,'rooms':this[m(0xfb)],'scene':this[m(0x103)]},c=new GoCommand(b);c['execute']([a]);}}
1
+ function a50c(){const o=['4583968eAfIgg','length','45NByESx','constructor','apply','(((.+)+)+)+$','scene','1482658BpwAIz','moveTo','toString','rooms','_name','2036730aLrNOd','name','random','28133lvQEJk','1176422zITtmu','_dialogue','3hynCxf','floor','speak','search','6269370wNOkmf','5183570rBoGYZ','autonomousMove','8uPtRYC'];a50c=function(){return o;};return a50c();}const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0xbe))/0x1+-parseInt(f(0xc7))/0x2+-parseInt(f(0xc9))/0x3*(parseInt(f(0xb7))/0x4)+parseInt(f(0xb4))/0x5+-parseInt(f(0xb3))/0x6+parseInt(f(0xc6))/0x7*(parseInt(f(0xb6))/0x8)+-parseInt(f(0xb9))/0x9*(-parseInt(f(0xc3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xba322));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xb3;let f=c[d];return f;},a50d(a,b);}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()['search'](h(0xbc))[h(0xc0)]()[h(0xba)](a50a)[h(0xcc)]('(((.+)+)+)+$');});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0xc2)];['_dialogue'];[a50i(0xc1)];[a50i(0xbd)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0xc2)]=a,this['_dialogue']=b,this[j(0xc1)]=c;}get[a50i(0xc4)](){const k=a50i;return this[k(0xc2)];}[a50i(0xcb)](){const l=a50i;return this[l(0xc8)][Math['floor'](Math[l(0xc5)]()*this[l(0xc8)][l(0xb8)])];}[a50i(0xb5)](a){const m=a50i,b=a[Math[m(0xca)](Math[m(0xc5)]()*a[m(0xb8)])];this[m(0xbf)](b[m(0xc4)]);}[a50i(0xbf)](a){const n=a50i,b={'actor':this,'rooms':this[n(0xc1)],'scene':this['scene']},c=new GoCommand(b);c['execute']([a]);}}
@@ -1 +1 @@
1
- const a51i=a51d;function a51c(){const C=['head','_maxCarryingWeight','arm\x20armor','equipment','playerName','error','getWeight','legs','write','You\x20don\x27t\x20have\x20','removeItem','arms','armarmor','includes','3572vAdbBl','search','Nexus','9nWkPWs','Shield','equip','LegArmor','26876yecokJ','currentLocation','constructor','speak','boots','feet','addInventory','values','weapon','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','inventoryItems','category','toString','_currentLocation','1317BqKdDr','leftHand','Failed\x20to\x20remove\x20','Weapon','_playerName','35EvcTkw','apply','Max\x20carrying\x20weight\x20must\x20be\x20positive.','\x20is\x20no\x20longer\x20listeng\x20in\x20','initialEquipment','logger','\x20to\x20player\x27s\x20inventory.','maxCarryingWeight','removeInventory','canEquip','determineEquipmentSlot','A\x20featureless\x20room','120570VcsDmK','35IDFRzU','\x20from\x20player\x27s\x20inventory.','shield','You\x20equipped\x20','hear','4079845uJHlvR','inventory','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','rightHand','unequipBySlot','613374rqXmmv','gloves','1151192imAyVQ','(((.+)+)+)+$','helmet','_inventory','body\x20armor','.\x20You\x20must\x20unequip\x20it\x20first.','startLocation','bodyarmor','toLowerCase','5574639GePtON','\x20in\x20your\x20inventory.','_equipment','ArmArmor','Hat','hat','unequip','torso','BodyArmor','Boots','\x20slot.','log','Added\x20','weight','enterRoom','You\x20can\x27t\x20equip\x20','name','bind','leaveRoom','leg\x20armor'];a51c=function(){return C;};return a51c();}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x186))/0x1*(parseInt(f(0x166))/0x2)+parseInt(f(0x174))/0x3*(-parseInt(f(0x15f))/0x4)+parseInt(f(0x179))/0x5*(parseInt(f(0x190))/0x6)+parseInt(f(0x19b))/0x7+parseInt(f(0x192))/0x8+parseInt(f(0x162))/0x9*(-parseInt(f(0x185))/0xa)+-parseInt(f(0x18b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x643ca));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x17a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a['toString']()['search']('(((.+)+)+)+$')[h(0x172)]()[h(0x168)](a51a)[h(0x160)](h(0x193));});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x15b;let f=c[d];return f;},a51d(a,b);}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0x178)];['_currentLocation'];[a51i(0x195)];['_equipment'];[a51i(0x1b0)]=0x32;[a51i(0x17e)];constructor(a){const j=a51i;super(),this[j(0x178)]=a[j(0x1b3)],this[j(0x173)]=a[j(0x198)]||new Room({'name':j(0x161),'description':j(0x184)}),this[j(0x195)]=new Inventory(),this[j(0x17e)]=Logger['getInstance']();if(a?.[j(0x170)])for(const b of a['inventoryItems']){this[j(0x195)]['addItem'](b);}this[j(0x19d)]=a?.[j(0x17d)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a51i;return this[k(0x178)];}get[a51i(0x167)](){return this['_currentLocation'];}set[a51i(0x167)](a){const l=a51i;this[l(0x173)]!==a&&(this[l(0x1ad)](),this['enterRoom'](a)),this[l(0x173)]=a;}get[a51i(0x18c)](){const m=a51i;return this[m(0x195)];}get[a51i(0x1b2)](){const n=a51i;return this[n(0x19d)];}set[a51i(0x1b2)](a){const o=a51i;this[o(0x19d)]=a;}get['maxCarryingWeight'](){const p=a51i;return this[p(0x1b0)];}set['maxCarryingWeight'](a){const q=a51i;a>0x0?this['_maxCarryingWeight']=a:console[q(0x1b4)](q(0x17b));}get['currentWeight'](){const r=a51i;let a=this[r(0x195)][r(0x1b5)]();for(const b in this[r(0x19d)]){const c=this[r(0x19d)][b];c&&(a+=c['weight']);}return a;}[a51i(0x16c)](a){const s=a51i;if(this['currentWeight']+a[s(0x1a8)]>this[s(0x180)]){this[s(0x17e)][s(0x1b7)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(s(0x16f));}this[s(0x195)]['addItem'](a),this[s(0x17e)][s(0x1b7)](s(0x1a7)+a[s(0x1ab)]+s(0x17f));}[a51i(0x181)](a){const t=a51i;if(this[t(0x195)][t(0x15b)](a[t(0x1ab)]))return this['logger'][t(0x1b7)]('Removed\x20'+a[t(0x1ab)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[t(0x17e)][t(0x1b7)](t(0x176)+a['name']+t(0x187)),![];}[a51i(0x164)](a){const u=a51i;if(!this[u(0x195)]['hasItem'](a['name']))return u(0x1b8)+a[u(0x1ab)]+u(0x19c);if(!this[u(0x182)](a))return u(0x1aa)+a[u(0x1ab)]+'.';const b=this[u(0x183)](a[u(0x171)]);if(!b)return a[u(0x1ab)]+u(0x18d);if(this[u(0x1b2)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+u(0x197);return this[u(0x1b2)][b]=a,this[u(0x181)](a),u(0x189)+a[u(0x1ab)]+'.';}[a51i(0x1a1)](a){const v=a51i;let b=a;if(!this[v(0x1b2)][camelCase(b)]){b=this[v(0x183)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[v(0x18f)](b);}[a51i(0x183)](a){const w=a51i;switch(a[w(0x19a)]()){case Category[w(0x177)][w(0x19a)]():return w(0x18e);case Category[w(0x163)][w(0x19a)]():return w(0x175);case Category['Gloves'][w(0x19a)]():return w(0x191);case Category['Helmet'][w(0x19a)]():case Category[w(0x19f)][w(0x19a)]():return w(0x1af);case Category[w(0x1a4)][w(0x19a)]():return w(0x16b);case Category[w(0x165)][w(0x19a)]():return w(0x1b6);case Category[w(0x19e)][w(0x19a)]():return'arms';case Category[w(0x1a3)][w(0x19a)]():return w(0x1a2);case w(0x16e):return'rightHand';case w(0x188):return w(0x175);case w(0x191):return w(0x191);case w(0x194):case w(0x1a0):return w(0x1af);case w(0x16a):return w(0x16b);case w(0x1ae):case'legarmor':return'legs';case w(0x1b1):case w(0x15d):return w(0x15c);case w(0x196):case w(0x199):case w(0x1a2):return w(0x1a2);default:return null;}}['canEquip'](a){const x=a51i;return Object[x(0x16d)](Category)[x(0x15e)](a['category']);}[a51i(0x18f)](a){const y=a51i,b=this[y(0x1b2)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+y(0x1a5);return this[y(0x16c)](b),this[y(0x1b2)][a]=null,'You\x20unequipped\x20'+b[y(0x1ab)]+'.';}[a51i(0x18a)](a,b){const z=a51i;a!==this&&this[z(0x17e)][z(0x1a6)](a['name']+'\x20says:\x20\x22'+b+'\x22');}[a51i(0x1a9)](a){const A=a51i;this['_currentLocation']=a,a['on'](A(0x169),this['hear'][A(0x1ac)](this)),this[A(0x17e)]['write'](this[A(0x1ab)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a['name']);}['leaveRoom'](){const B=a51i;this['_currentLocation']&&(this[B(0x173)]['off'](B(0x169),this[B(0x18a)][B(0x1ac)](this)),this[B(0x17e)][B(0x1b7)](this[B(0x1ab)]+B(0x17c)+this[B(0x173)][B(0x1ab)]));}}
1
+ const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0xd8))/0x1+-parseInt(f(0xac))/0x2+parseInt(f(0x97))/0x3*(-parseInt(f(0xd0))/0x4)+-parseInt(f(0xb1))/0x5+-parseInt(f(0xbc))/0x6*(-parseInt(f(0xce))/0x7)+-parseInt(f(0xc2))/0x8+parseInt(f(0x9d))/0x9*(parseInt(f(0xd5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xd9673));function a51c(){const z=['write','\x20to\x20player\x27s\x20inventory.','name','category','includes','removeInventory','playerName','error','arms','Hat','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','bodyarmor','determineEquipmentSlot','_maxCarryingWeight','2535746CjvUut','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','Shield','inventory','getWeight','1710480LLcnia','Added\x20','bind','arm\x20armor','toString','\x20from\x20player\x27s\x20inventory.','_equipment','enterRoom','legs','shield','logger','2626134dTRmhg','removeItem','ArmArmor','Failed\x20to\x20remove\x20','boots','leaveRoom','11996256fiAGzI','maxCarryingWeight','weapon','Weapon','\x20is\x20now\x20listening\x20in\x20room\x20','You\x20don\x27t\x20have\x20','\x20in\x20your\x20inventory.','getInstance','A\x20featureless\x20room','unequipBySlot','_currentLocation','\x20says:\x20\x22','14kNovLf','hear','44Bjhlwc','Boots','log','Invalid\x20category\x20or\x20slot:\x20','Helmet','10aiRoZI','torso','search','901304mptxSo','canEquip','weight','addInventory','helmet','gloves','Gloves','BodyArmor','inventoryItems','off','feet','leftHand','body\x20armor','initialEquipment','(((.+)+)+)+$','legarmor','toLowerCase','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','constructor','_playerName','You\x20can\x27t\x20equip\x20','You\x20equipped\x20','\x20is\x20no\x20longer\x20listeng\x20in\x20','equipment','currentWeight','armarmor','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','19581BIrnlw','speak','You\x20unequipped\x20','\x20slot.','_inventory','hat','20655891ncdGUW'];a51c=function(){return z;};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[g(0xb5)]()[g(0xd7)](g(0x8a))[g(0xb5)]()[g(0x8e)](a51a)[g(0xd7)]('(((.+)+)+)+$');});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x87;let f=c[d];return f;},a51d(a,b);}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51h(0x8f)];[a51h(0xcc)];[a51h(0x9b)];['_equipment'];['_maxCarryingWeight']=0x32;[a51h(0xbb)];constructor(a){const i=a51h;super(),this[i(0x8f)]=a[i(0xa4)],this[i(0xcc)]=a['startLocation']||new Room({'name':'Nexus','description':i(0xca)}),this[i(0x9b)]=new Inventory(),this['logger']=Logger[i(0xc9)]();if(a?.[i(0xe0)])for(const b of a['inventoryItems']){this['_inventory']['addItem'](b);}this[i(0xb7)]=a?.[i(0x89)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0xa0)](){const j=a51h;return this[j(0x8f)];}get['currentLocation'](){return this['_currentLocation'];}set['currentLocation'](a){const k=a51h;this[k(0xcc)]!==a&&(this[k(0xc1)](),this[k(0xb8)](a)),this['_currentLocation']=a;}get[a51h(0xaf)](){const l=a51h;return this[l(0x9b)];}get[a51h(0x93)](){return this['_equipment'];}set[a51h(0x93)](a){this['_equipment']=a;}get[a51h(0xc3)](){const m=a51h;return this[m(0xab)];}set[a51h(0xc3)](a){const n=a51h;a>0x0?this['_maxCarryingWeight']=a:console[n(0xa5)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a51h(0x94)](){const o=a51h;let a=this[o(0x9b)][o(0xb0)]();for(const b in this[o(0xb7)]){const c=this['_equipment'][b];c&&(a+=c['weight']);}return a;}[a51h(0xdb)](a){const p=a51h;if(this[p(0x94)]+a[p(0xda)]>this['maxCarryingWeight']){this[p(0xbb)][p(0x9e)](p(0xad));throw new Error(p(0xa8));}this[p(0x9b)]['addItem'](a),this[p(0xbb)]['write'](p(0xb2)+a['name']+p(0x9f));}[a51h(0xa3)](a){const q=a51h;if(this['_inventory'][q(0xbd)](a[q(0xa0)]))return this[q(0xbb)][q(0x9e)]('Removed\x20'+a[q(0xa0)]+q(0xb6)),!![];return this[q(0xbb)][q(0x9e)](q(0xbf)+a['name']+q(0xb6)),![];}['equip'](a){const r=a51h;if(!this[r(0x9b)]['hasItem'](a[r(0xa0)]))return r(0xc7)+a[r(0xa0)]+r(0xc8);if(!this[r(0xd9)](a))return r(0x90)+a[r(0xa0)]+'.';const b=this[r(0xaa)](a[r(0xa1)]);if(!b)return a[r(0xa0)]+r(0x8d);if(this[r(0x93)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this['equipment'][b]=a,this[r(0xa3)](a),r(0x91)+a['name']+'.';}['unequip'](a){const s=a51h;let b=a;if(!this['equipment'][camelCase(b)]){b=this[s(0xaa)](a);if(!b)return s(0xd3)+a+'.';}return this['unequipBySlot'](b);}['determineEquipmentSlot'](a){const t=a51h;switch(a['toLowerCase']()){case Category[t(0xc5)][t(0x8c)]():return'rightHand';case Category[t(0xae)]['toLowerCase']():return t(0x87);case Category[t(0xde)]['toLowerCase']():return t(0xdd);case Category[t(0xd4)][t(0x8c)]():case Category[t(0xa7)][t(0x8c)]():return'head';case Category[t(0xd1)][t(0x8c)]():return'feet';case Category['LegArmor'][t(0x8c)]():return t(0xb9);case Category[t(0xbe)]['toLowerCase']():return'arms';case Category[t(0xdf)][t(0x8c)]():return'torso';case t(0xc4):return'rightHand';case t(0xba):return t(0x87);case t(0xdd):return t(0xdd);case t(0xdc):case t(0x9c):return'head';case t(0xc0):return t(0xe2);case'leg\x20armor':case t(0x8b):return t(0xb9);case t(0xb4):case t(0x95):return t(0xa6);case t(0x88):case t(0xa9):case t(0xd6):return'torso';default:return null;}}[a51h(0xd9)](a){const u=a51h;return Object['values'](Category)[u(0xa2)](a['category']);}[a51h(0xcb)](a){const v=a51h,b=this[v(0x93)][a];if(!b)return v(0x96)+a+v(0x9a);return this['addInventory'](b),this[v(0x93)][a]=null,v(0x99)+b[v(0xa0)]+'.';}[a51h(0xcf)](a,b){const w=a51h;a!==this&&this[w(0xbb)][w(0xd2)](a[w(0xa0)]+w(0xcd)+b+'\x22');}[a51h(0xb8)](a){const x=a51h;this[x(0xcc)]=a,a['on'](x(0x98),this[x(0xcf)]['bind'](this)),this[x(0xbb)]['write'](this[x(0xa0)]+x(0xc6)+a[x(0xa0)]);}[a51h(0xc1)](){const y=a51h;this['_currentLocation']&&(this[y(0xcc)][y(0xe1)](y(0x98),this['hear'][y(0xb3)](this)),this[y(0xbb)]['write'](this[y(0xa0)]+y(0x92)+this[y(0xcc)][y(0xa0)]));}}
@@ -1 +1 @@
1
- var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x119))/0x1+parseInt(f(0x115))/0x2+-parseInt(f(0x113))/0x3+parseInt(f(0x10c))/0x4+parseInt(f(0x118))/0x5*(parseInt(f(0x106))/0x6)+-parseInt(f(0x10a))/0x7+-parseInt(f(0x111))/0x8*(-parseInt(f(0x116))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x73ec1));function a52c(){var l=['matchesRequiredPhrase','write','2095849sMEXjh','hasItem','2231704nmsdwV','search','rewardItem','(((.+)+)+)+$','You\x20solved\x20the\x20puzzle!','7088IiRpYp','constructor','2457777sTBaAO','You\x20have\x20already\x20solved\x20this\x20puzzle.','1390580fkehBv','12357LhkwZh','requiredItem','2070iQbpRT','900637fzPMUK','Puzzle:\x20Correct\x20solution\x20provided.','hasRequiredItem','riddle','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','requiredPhrase','logger','failureMessage','toString','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','successMessage','354iNIeWj','solved'];a52c=function(){return l;};return a52c();}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0x103)]()[g(0x10d)]('(((.+)+)+)+$')['toString']()[g(0x112)](a52a)[g(0x10d)](g(0x10f));});function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xfc;var f=c[d];return f;},a52d(a,b);}a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52h(0x101)]=Logger['getInstance']();[a52h(0x107)]=![];[a52h(0x117)];['requiredPhrase'];[a52h(0xfe)];['rewardItem'];[a52h(0x105)];['failureMessage'];constructor(a){var i=a52h;super(),this['requiredItem']=a[i(0x117)],this[i(0x100)]=a['requiredPhrase'],this['riddle']=a[i(0xfe)],this[i(0x10e)]=a[i(0x10e)],this[i(0x105)]=a[i(0x105)]||i(0x110),this[i(0x102)]=a[i(0x102)]||i(0x104);}[a52h(0xfd)](a){var j=a52h;if(this[j(0x117)])return a[j(0x10b)](this[j(0x117)]);return![];}[a52h(0x108)](a){return this['requiredPhrase']===a;}['solve'](a,b){var k=a52h;if(this[k(0x107)])return this[k(0x101)][k(0x109)](k(0xff)),{'success':![],'message':k(0x114)};return this[k(0xfd)](b)||this[k(0x108)](a)?(this[k(0x107)]=!![],this[k(0x101)][k(0x109)](k(0xfc)),{'success':!![],'message':this[k(0x105)]}):(this[k(0x101)][k(0x109)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[k(0x102)]});}}
1
+ function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xaa;var f=c[d];return f;},a52d(a,b);}var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xb3))/0x1+parseInt(f(0xb6))/0x2*(-parseInt(f(0xc1))/0x3)+parseInt(f(0xc0))/0x4+-parseInt(f(0xac))/0x5*(-parseInt(f(0xb8))/0x6)+parseInt(f(0xbc))/0x7+parseInt(f(0xc3))/0x8*(parseInt(f(0xc2))/0x9)+-parseInt(f(0xb9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x3a71a));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0xb2)]()[g(0xae)](g(0xb7))[g(0xb2)]()['constructor'](a52a)[g(0xae)](g(0xb7));});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52h(0xab)]=Logger[a52h(0xbb)]();['solved']=![];['requiredItem'];[a52h(0xb5)];[a52h(0xb0)];['rewardItem'];[a52h(0xaa)];[a52h(0xad)];constructor(a){var i=a52h;super(),this['requiredItem']=a[i(0xbd)],this['requiredPhrase']=a[i(0xb5)],this[i(0xb0)]=a[i(0xb0)],this['rewardItem']=a[i(0xb1)],this['successMessage']=a[i(0xaa)]||i(0xba),this['failureMessage']=a[i(0xad)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a52h(0xb4)](a){var j=a52h;if(this[j(0xbd)])return a['hasItem'](this[j(0xbd)]);return![];}['matchesRequiredPhrase'](a){var k=a52h;return this[k(0xb5)]===a;}[a52h(0xbe)](a,b){var l=a52h;if(this[l(0xc4)])return this['logger'][l(0xc5)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[l(0xb4)](b)||this[l(0xaf)](a)?(this['solved']=!![],this[l(0xab)][l(0xc5)](l(0xbf)),{'success':!![],'message':this[l(0xaa)]}):(this[l(0xab)][l(0xc5)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this['failureMessage']});}}function a52c(){var m=['solved','write','successMessage','logger','6610XGdjCy','failureMessage','search','matchesRequiredPhrase','riddle','rewardItem','toString','428798SnkHaz','hasRequiredItem','requiredPhrase','2DdqDuP','(((.+)+)+)+$','978TXkjTN','2118340YvebCv','You\x20solved\x20the\x20puzzle!','getInstance','2290568xeaynO','requiredItem','solve','Puzzle:\x20Correct\x20solution\x20provided.','1423696ogNoyQ','1129539XpNArh','1073691uHRmWv','24ZwwyCf'];a52c=function(){return m;};return a52c();}
@@ -1 +1 @@
1
- const a53i=a53d;function a53c(){const u=['values','east','isStartRoom','exits','The\x20','set','Fetching\x20exit\x20in\x20direction:\x20','inventory','\x20remains\x20locked.','search','write','getInstance','570794hQURUo','logger','WEST','getOppositeDirection','\x20is\x20locked.\x20Result:\x20','isExitLocked','(((.+)+)+)+$','speak','.\x20Success:\x20','addItem','description','roomA','constructor','emit','220ZiijAF','3kqxSTM','607940AahrfG','571816yGryzC','get','roomType','removeItem','attemptUnlock','roomB','setPuzzle','No\x20locked\x20exit\x20found\x20in\x20direction\x20','573toEqsH','2528032Qwwczy','hasItem','6OLEwPf','Room\x20created:\x20','puzzle','EAST','attemptUnlockExit','7102359KNRuZG','toString','checkIfLocked','findExistingDoor','3034265qBYSSd','say','\x20unlocked!','Checking\x20if\x20exit\x20in\x20direction\x20','name','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','14548BcUsNQ','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','riddle','west','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','getExit','SOUTH','Puzzle\x20set\x20for\x20room\x20','apply'];a53c=function(){return u;};return a53c();}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x139))/0x1*(parseInt(f(0x13b))/0x2)+parseInt(f(0x143))/0x3*(parseInt(f(0x155))/0x4)+-parseInt(f(0x14f))/0x5*(-parseInt(f(0x146))/0x6)+-parseInt(f(0x16a))/0x7+-parseInt(f(0x144))/0x8+-parseInt(f(0x14b))/0x9+parseInt(f(0x13a))/0xa*(parseInt(f(0x138))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x73793));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x15d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x14c)]()[h(0x167)](h(0x170))[h(0x14c)]()[h(0x176)](a53a)['search']('(((.+)+)+)+$');});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-0x137;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(0x16b)]=Logger[a53i(0x169)]();['name'];[a53i(0x174)];['exits']=new Map();[a53i(0x13d)];[a53i(0x160)];['inventory']=new Inventory();constructor(a){const j=a53i;super(),this[j(0x153)]=a[j(0x153)],this[j(0x174)]=a[j(0x174)],this[j(0x13d)]=a['roomType']||RoomType['INSIDE'],a[j(0x161)]&&(this[j(0x161)]=a['exits']||new Map()),a['inventory']&&(this[j(0x165)]=a[j(0x165)]),a[j(0x148)]&&(this[j(0x148)]=a[j(0x148)]),this[j(0x160)]=a['isStartRoom']||![],this[j(0x16b)]['write'](j(0x147)+this['name']);}[a53i(0x150)](a,b){const k=a53i;this[k(0x137)](k(0x171),a,b);}['addExit'](a,b,c){const l=a53i;let d=this[l(0x14e)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x161)][l(0x163)](a,d),b['exits'][l(0x163)](this[l(0x16d)](a),d);}[a53i(0x14a)](a,b){const m=a53i,c=this[m(0x161)]['get'](a);if(c instanceof Door){const d=c[m(0x13f)](b);return this[m(0x16b)][m(0x168)](m(0x154)+a+m(0x172)+d),d?'The\x20'+c[m(0x153)]+m(0x151):m(0x162)+c[m(0x153)]+m(0x166);}return this[m(0x16b)][m(0x168)](m(0x142)+a),m(0x156);}[a53i(0x15a)](a){const n=a53i;return this['logger'][n(0x168)](n(0x164)+a),this[n(0x161)][n(0x13c)](a);}[a53i(0x16f)](a){const o=a53i,b=this['exits'][o(0x13c)](a),c=b instanceof Door&&b[o(0x14d)]();return this[o(0x16b)]['write'](o(0x152)+a+o(0x16e)+c),c;}[a53i(0x173)](a){const p=a53i;this[p(0x165)][p(0x173)](a),this[p(0x16b)][p(0x168)]('Item\x20added\x20to\x20room\x20'+this[p(0x153)]+':\x20'+a['name']);}['removeItem'](a){const q=a53i;this[q(0x165)][q(0x145)](a['name'])?(this[q(0x165)][q(0x13e)](a['name']),this[q(0x16b)]['write']('Item\x20removed\x20from\x20room\x20'+this[q(0x153)]+':\x20'+a[q(0x153)])):this[q(0x16b)][q(0x168)](q(0x159)+this[q(0x153)]+':\x20'+a['name']);}[a53i(0x141)](a){const r=a53i;this[r(0x148)]=a,this[r(0x16b)][r(0x168)](r(0x15c)+this[r(0x153)]+':\x20'+a[r(0x157)]);}['getOppositeDirection'](a){const s=a53i;switch(a){case'north':return Direction[s(0x15b)];case'south':return Direction['NORTH'];case s(0x15f):return Direction[s(0x16c)];case s(0x158):return Direction[s(0x149)];case'up':return Direction['DOWN'];case'down':return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53i(0x14e)](a){const t=a53i;for(const b of this[t(0x161)][t(0x15e)]()){if(b instanceof Door){if(b[t(0x175)]===this&&b[t(0x140)]===a||b[t(0x140)]===this&&b[t(0x175)]===a)return b;}}return undefined;}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x113))/0x1+-parseInt(f(0x14c))/0x2*(-parseInt(f(0x14b))/0x3)+-parseInt(f(0x132))/0x4*(-parseInt(f(0x11d))/0x5)+parseInt(f(0x126))/0x6*(-parseInt(f(0x123))/0x7)+-parseInt(f(0x13e))/0x8*(-parseInt(f(0x144))/0x9)+-parseInt(f(0x150))/0xa*(parseInt(f(0x147))/0xb)+parseInt(f(0x139))/0xc*(-parseInt(f(0x124))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xe0c01));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x112;let f=c[d];return f;},a53d(a,b);}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x138)]()[h(0x13d)]('(((.+)+)+)+$')['toString']()['constructor'](a53a)['search'](h(0x143));});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';function a53c(){const u=['WEST','values','Room\x20created:\x20','(((.+)+)+)+$','36jyStcS','isStartRoom','exits','11hSVfyo','DOWN','west','set','140469cPTOjq','10fkGmSB','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','puzzle','checkIfLocked','1983010hinQQy','logger','east','write','581432ZOAoBe','inventory','\x20unlocked!','SOUTH','NORTH','getExit','No\x20locked\x20exit\x20found\x20in\x20direction\x20','roomA','INSIDE','get','335CosQVB','Invalid\x20direction:\x20','say','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','Fetching\x20exit\x20in\x20direction:\x20','roomType','148939jrUPjw','1014QqCEqo','description','12xxmxtt','attemptUnlockExit','Item\x20removed\x20from\x20room\x20','.\x20Success:\x20','name','findExistingDoor','speak','Checking\x20if\x20exit\x20in\x20direction\x20','Item\x20added\x20to\x20room\x20','removeItem','north','apply','9716BEfNGs','\x20is\x20locked.\x20Result:\x20','isExitLocked','The\x20','getOppositeDirection','attemptUnlock','toString','177396TqUzgi','down','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','\x20remains\x20locked.','search','2672432ogCBnM','addItem'];a53c=function(){return u;};return a53c();}export class Room extends AbstractRoom{[a53i(0x151)]=Logger['getInstance']();[a53i(0x12a)];[a53i(0x125)];[a53i(0x146)]=new Map();['roomType'];[a53i(0x145)];[a53i(0x114)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x12a)]=a[j(0x12a)],this[j(0x125)]=a[j(0x125)],this[j(0x122)]=a[j(0x122)]||RoomType[j(0x11b)],a[j(0x146)]&&(this[j(0x146)]=a[j(0x146)]||new Map()),a['inventory']&&(this[j(0x114)]=a[j(0x114)]),a[j(0x14e)]&&(this[j(0x14e)]=a[j(0x14e)]),this['isStartRoom']=a[j(0x145)]||![],this['logger']['write'](j(0x142)+this[j(0x12a)]);}[a53i(0x11f)](a,b){const k=a53i;this['emit'](k(0x12c),a,b);}['addExit'](a,b,c){const l=a53i;let d=this[l(0x12b)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x146)]['set'](a,d),b['exits'][l(0x14a)](this[l(0x136)](a),d);}[a53i(0x127)](a,b){const m=a53i,c=this[m(0x146)][m(0x11c)](a);if(c instanceof Door){const d=c[m(0x137)](b);return this[m(0x151)][m(0x112)](m(0x14d)+a+m(0x129)+d),d?m(0x135)+c['name']+m(0x115):m(0x135)+c[m(0x12a)]+m(0x13c);}return this[m(0x151)][m(0x112)](m(0x119)+a),m(0x120);}[a53i(0x118)](a){const n=a53i;return this['logger'][n(0x112)](n(0x121)+a),this[n(0x146)][n(0x11c)](a);}[a53i(0x134)](a){const o=a53i,b=this[o(0x146)][o(0x11c)](a),c=b instanceof Door&&b[o(0x14f)]();return this[o(0x151)][o(0x112)](o(0x12d)+a+o(0x133)+c),c;}[a53i(0x13f)](a){const p=a53i;this['inventory'][p(0x13f)](a),this[p(0x151)][p(0x112)](p(0x12e)+this['name']+':\x20'+a['name']);}[a53i(0x12f)](a){const q=a53i;this[q(0x114)]['hasItem'](a[q(0x12a)])?(this[q(0x114)][q(0x12f)](a[q(0x12a)]),this[q(0x151)][q(0x112)](q(0x128)+this[q(0x12a)]+':\x20'+a['name'])):this[q(0x151)]['write'](q(0x13b)+this['name']+':\x20'+a[q(0x12a)]);}['setPuzzle'](a){const r=a53i;this[r(0x14e)]=a,this[r(0x151)][r(0x112)]('Puzzle\x20set\x20for\x20room\x20'+this['name']+':\x20'+a['riddle']);}[a53i(0x136)](a){const s=a53i;switch(a){case s(0x130):return Direction[s(0x116)];case'south':return Direction[s(0x117)];case s(0x152):return Direction[s(0x140)];case s(0x149):return Direction['EAST'];case'up':return Direction[s(0x148)];case s(0x13a):return Direction['UP'];default:throw new Error(s(0x11e)+a);}}[a53i(0x12b)](a){const t=a53i;for(const b of this['exits'][t(0x141)]()){if(b instanceof Door){if(b[t(0x11a)]===this&&b['roomB']===a||b['roomB']===this&&b['roomA']===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x204))/0x1*(-parseInt(i(0x1e9))/0x2)+-parseInt(i(0x218))/0x3*(-parseInt(i(0x1fd))/0x4)+-parseInt(i(0x20d))/0x5*(-parseInt(i(0x1ef))/0x6)+-parseInt(i(0x1f0))/0x7+parseInt(i(0x216))/0x8+parseInt(i(0x1f3))/0x9+-parseInt(i(0x200))/0xa*(parseInt(i(0x1f8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x59624));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x1ee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a['toString']()[k(0x210)]('(((.+)+)+)+$')['toString']()[k(0x215)](a54a)[k(0x210)]('(((.+)+)+)+$');});a54a();import{Logger}from'../utilities/logger.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1d2;let f=c[d];return f;},a54d(a,b);}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a54c(){const E=['hasOwnProperty','player','get','set','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','actors','244786rhoGdY','Failed\x20to\x20set\x20','determineStartRoom','No\x20actor\x20with\x20name\x20','createExitsFromConfig','apply','35274iAJkgY','3946222lNrqqO','has','getInstance','4540734zloDeb','write','getActor','exits','characterLocations','22rcNXPC','\x20already\x20exists\x20in\x20the\x20scene.','\x20is\x20now\x20in\x20room\x20','keyRequired','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','196nVTKCP','rooms','currentLocation','486440rQltkN','addActor','logger','getRooms','1eKUniD','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','generateRoomsFromConfig','keys','direction','Actor\x20with\x20name\x20','\x20to\x20room\x20','from','addPuzzleToRoom','485OGGxOY','\x20found\x20in\x20the\x20scene.','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','search','addExit','roomFactory','isStartRoom','targetRoom','constructor','468280GxVLfz','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','993OaYNex','Added\x20room\x20to\x20scene:\x20','toUpperCase','getCharacterLocation','Added\x20item\x20','push','\x20not\x20found\x20in\x20scene.','.\x20Room\x20','setPuzzle','roomConfiguration','setCharacterLocation','length','Room\x20\x22','values','delete','connectRooms','name','addRoom','Failed\x20to\x20add\x20item\x20','allActors','\x22\x20does\x20not\x20exist.','getPlayer','removeActor','addItemToRoom'];a54c=function(){return E;};return a54c();}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];[a54l(0x1e4)];[a54l(0x202)];[a54l(0x1e8)];[a54l(0x1f7)]=new Map();[a54l(0x212)];constructor(a){const m=a54l;super(),this[m(0x212)]=new RoomFactory(),this[m(0x1e4)]=a[m(0x1e4)],this[m(0x1fe)]=this[m(0x206)](a['roomConfiguration']),this[m(0x202)]=Logger[m(0x1f2)](),this[m(0x1e8)]=new Map(),this[m(0x1ed)](a[m(0x1d4)]),this[m(0x202)][m(0x1f4)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x207)](this[m(0x1fe)])['join'](',\x20'));}['initialize'](){const n=a54l;this[n(0x1e4)][n(0x1ff)]=this[n(0x1eb)]();}[a54l(0x206)](a){const o=a54l;if(!this[o(0x212)])throw new Error(o(0x205));const b={};for(const c of a){const d=this['roomFactory']['createRoom'](c);b[c['name']]=d;}return b;}[a54l(0x1ed)](a){const p=a54l;for(const b of a){const c=this[p(0x1fe)][b['name']];if(b[p(0x1f6)])for(const d of b[p(0x1f6)]){const e=d[p(0x208)][p(0x21a)](),f=d[p(0x214)],g=d[p(0x1fb)],h=this['rooms'][f];h&&c[p(0x211)](Direction[e],h,g);}}}[a54l(0x201)](a){const q=a54l;if(this[q(0x1e8)][q(0x1f1)](a[q(0x1db)]))throw new Error(q(0x209)+a['name']+q(0x1f9));this[q(0x1e8)][q(0x1e6)](a[q(0x1db)],a);}[a54l(0x1e1)](a){const r=a54l;if(!this[r(0x1e8)][r(0x1f1)](a))throw new Error(r(0x1ec)+a+r(0x20e));this[r(0x1e8)][r(0x1d9)](a);}[a54l(0x1f5)](a){const s=a54l;return this[s(0x1e8)][s(0x1e5)](a);}get[a54l(0x1de)](){const t=a54l;return Array[t(0x20b)](this[t(0x1e8)][t(0x1d8)]());}[a54l(0x1dc)](a){const u=a54l;this[u(0x1fe)][a[u(0x1db)]]=a,this[u(0x202)]['write'](u(0x219)+a['name']);}['removeRoom'](a){const v=a54l;return this[v(0x1fe)][a]?(delete this[v(0x1fe)][a],this[v(0x202)][v(0x1f4)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this['logger'][v(0x1f4)](v(0x1fc)+a),![]);}[a54l(0x1e2)](a,b){const w=a54l,c=this[w(0x1fe)][b];c?(c['addItem'](a),this[w(0x202)][w(0x1f4)](w(0x21c)+a[w(0x1db)]+w(0x20a)+c[w(0x1db)])):this['logger'][w(0x1f4)](w(0x1dd)+a[w(0x1db)]+w(0x1d2)+b+w(0x21e));}[a54l(0x20c)](a,b){const x=a54l,c=this['rooms'][b];c?(c[x(0x1d3)](a),this[x(0x202)][x(0x1f4)]('Added\x20puzzle\x20to\x20room\x20'+c[x(0x1db)])):this['logger']['write']('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x1d5)](a,b){const y=a54l,c=this[y(0x1fe)][b];c?(this[y(0x1f7)]['set'](a[y(0x1db)],c),this[y(0x202)][y(0x1f4)](a['name']+y(0x1fa)+c[y(0x1db)])):this[y(0x202)][y(0x1f4)](y(0x1ea)+a[y(0x1db)]+'\x27s\x20location.\x20Room\x20'+b+y(0x21e));}[a54l(0x21b)](a){const z=a54l;return this['characterLocations'][z(0x1e5)](a[z(0x1db)]);}[a54l(0x1eb)](){const A=a54l,a=[];for(const c in this[A(0x1fe)]){if(this[A(0x1fe)][A(0x1e3)](c)){const d=this[A(0x1fe)][c];d[A(0x213)]&&a[A(0x21d)](d);}}if(a[A(0x1d6)]>0x1)throw new Error(A(0x217));if(a[A(0x1d6)]===0x1)return a[0x0];const b=Object[A(0x207)](this[A(0x1fe)]);if(b[A(0x1d6)]===0x0)throw new Error(A(0x1e7));return console['warn'](A(0x20f)),this[A(0x1fe)][b[0x0]];}[a54l(0x1e0)](){const B=a54l;return this[B(0x1e4)];}[a54l(0x203)](){const C=a54l;return this[C(0x1fe)];}[a54l(0x1da)](a,b,c,d){const D=a54l,e=this[D(0x1fe)][a],f=this[D(0x1fe)][c];if(!e)throw new Error(D(0x1d7)+a+D(0x1df));if(!f)throw new Error(D(0x1d7)+c+D(0x1df));e[D(0x211)](b,f,d);}}
1
+ const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x1bf))/0x1*(-parseInt(i(0x19b))/0x2)+-parseInt(i(0x198))/0x3+parseInt(i(0x1c2))/0x4+parseInt(i(0x19d))/0x5*(parseInt(i(0x1da))/0x6)+parseInt(i(0x1d0))/0x7*(-parseInt(i(0x1dd))/0x8)+-parseInt(i(0x1b4))/0x9+parseInt(i(0x1b8))/0xa*(parseInt(i(0x19e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xeb3a9));function a54c(){const D=['\x20is\x20now\x20in\x20room\x20','No\x20actor\x20with\x20name\x20','length','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','has','1327801RTZExc','search','connectRooms','4246708ZoJFff','keys','addPuzzleToRoom','determineStartRoom','\x20not\x20found\x20in\x20scene.','constructor','getInstance','isStartRoom','Failed\x20to\x20add\x20puzzle.\x20Room\x20','write','\x27s\x20location.\x20Room\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','createExitsFromConfig','push','84NnDUNO','set','apply','actors','toString','rooms','addItemToRoom','logger','from','Removed\x20room\x20from\x20scene:\x20','1209138vvaFso','name','hasOwnProperty','323696laPnBA','addActor','Actor\x20with\x20name\x20','getCharacterLocation','toUpperCase','.\x20Room\x20','addExit','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','2942103qazfhH','\x22\x20does\x20not\x20exist.','setPuzzle','2CMCwCw','Added\x20item\x20','30VZqszX','33egrSJO','\x20already\x20exists\x20in\x20the\x20scene.','join','Added\x20room\x20to\x20scene:\x20','addRoom','getActor','get','Room\x20\x22','Failed\x20to\x20set\x20','addItem','(((.+)+)+)+$','characterLocations','initialize','roomConfiguration','direction','createRoom','Scene\x20initialized\x20with\x20rooms:\x20','values','exits','roomFactory','removeActor','currentLocation','3008907aJZVaK','player','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','Failed\x20to\x20add\x20item\x20','6070170zikKiM','\x20found\x20in\x20the\x20scene.'];a54c=function(){return D;};return a54c();}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x1d2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x1d4)]()[k(0x1c0)]('(((.+)+)+)+$')[k(0x1d4)]()[k(0x1c7)](a54a)[k(0x1c0)](k(0x1a8));});a54a();function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x191;let f=c[d];return f;},a54d(a,b);}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x1d5)];[a54l(0x1b5)];[a54l(0x1d7)];[a54l(0x1d3)];[a54l(0x1a9)]=new Map();['roomFactory'];constructor(a){const m=a54l;super(),this[m(0x1b1)]=new RoomFactory(),this[m(0x1b5)]=a['player'],this[m(0x1d5)]=this['generateRoomsFromConfig'](a['roomConfiguration']),this[m(0x1d7)]=Logger[m(0x1c8)](),this[m(0x1d3)]=new Map(),this[m(0x1ce)](a[m(0x1ab)]),this[m(0x1d7)]['write'](m(0x1ae)+Object['keys'](this['rooms'])[m(0x1a0)](',\x20'));}[a54l(0x1aa)](){const n=a54l;this[n(0x1b5)][n(0x1b3)]=this['determineStartRoom']();}['generateRoomsFromConfig'](a){const o=a54l;if(!this[o(0x1b1)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this['roomFactory'][o(0x1ad)](c);b[c[o(0x1db)]]=d;}return b;}['createExitsFromConfig'](a){const p=a54l;for(const b of a){const c=this['rooms'][b['name']];if(b[p(0x1b0)])for(const d of b[p(0x1b0)]){const e=d[p(0x1ac)][p(0x194)](),f=d['targetRoom'],g=d['keyRequired'],h=this[p(0x1d5)][f];h&&c[p(0x196)](Direction[e],h,g);}}}[a54l(0x191)](a){const q=a54l;if(this['actors'][q(0x1be)](a[q(0x1db)]))throw new Error(q(0x192)+a[q(0x1db)]+q(0x19f));this[q(0x1d3)]['set'](a['name'],a);}[a54l(0x1b2)](a){const r=a54l;if(!this['actors'][r(0x1be)](a))throw new Error(r(0x1bb)+a+r(0x1b9));this[r(0x1d3)]['delete'](a);}[a54l(0x1a3)](a){const s=a54l;return this['actors'][s(0x1a4)](a);}get['allActors'](){const t=a54l;return Array[t(0x1d8)](this[t(0x1d3)][t(0x1af)]());}[a54l(0x1a2)](a){const u=a54l;this['rooms'][a['name']]=a,this[u(0x1d7)][u(0x1cb)](u(0x1a1)+a['name']);}['removeRoom'](a){const v=a54l;return this[v(0x1d5)][a]?(delete this['rooms'][a],this['logger'][v(0x1cb)](v(0x1d9)+a),!![]):(this[v(0x1d7)][v(0x1cb)](v(0x1bd)+a),![]);}[a54l(0x1d6)](a,b){const w=a54l,c=this[w(0x1d5)][b];c?(c[w(0x1a7)](a),this[w(0x1d7)][w(0x1cb)](w(0x19c)+a[w(0x1db)]+'\x20to\x20room\x20'+c[w(0x1db)])):this['logger'][w(0x1cb)](w(0x1b7)+a[w(0x1db)]+w(0x195)+b+w(0x1c6));}[a54l(0x1c4)](a,b){const x=a54l,c=this[x(0x1d5)][b];c?(c[x(0x19a)](a),this['logger'][x(0x1cb)]('Added\x20puzzle\x20to\x20room\x20'+c['name'])):this[x(0x1d7)][x(0x1cb)](x(0x1ca)+b+x(0x1c6));}['setCharacterLocation'](a,b){const y=a54l,c=this['rooms'][b];c?(this[y(0x1a9)][y(0x1d1)](a[y(0x1db)],c),this[y(0x1d7)]['write'](a[y(0x1db)]+y(0x1ba)+c['name'])):this[y(0x1d7)][y(0x1cb)](y(0x1a6)+a[y(0x1db)]+y(0x1cc)+b+y(0x1c6));}[a54l(0x193)](a){const z=a54l;return this['characterLocations'][z(0x1a4)](a[z(0x1db)]);}[a54l(0x1c5)](){const A=a54l,a=[];for(const c in this[A(0x1d5)]){if(this[A(0x1d5)][A(0x1dc)](c)){const d=this[A(0x1d5)][c];d[A(0x1c9)]&&a[A(0x1cf)](d);}}if(a[A(0x1bc)]>0x1)throw new Error(A(0x1b6));if(a['length']===0x1)return a[0x0];const b=Object[A(0x1c3)](this[A(0x1d5)]);if(b[A(0x1bc)]===0x0)throw new Error(A(0x1cd));return console['warn'](A(0x197)),this['rooms'][b[0x0]];}['getPlayer'](){return this['player'];}['getRooms'](){const B=a54l;return this[B(0x1d5)];}[a54l(0x1c1)](a,b,c,d){const C=a54l,e=this['rooms'][a],f=this[C(0x1d5)][c];if(!e)throw new Error(C(0x1a5)+a+C(0x199));if(!f)throw new Error(C(0x1a5)+c+C(0x199));e[C(0x196)](b,f,d);}}
@@ -1 +1 @@
1
- var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x1f2))/0x1+parseInt(f(0x207))/0x2*(-parseInt(f(0x1eb))/0x3)+-parseInt(f(0x20e))/0x4+-parseInt(f(0x218))/0x5*(-parseInt(f(0x217))/0x6)+parseInt(f(0x20c))/0x7*(-parseInt(f(0x1e3))/0x8)+parseInt(f(0x213))/0x9+parseInt(f(0x210))/0xa*(parseInt(f(0x1f1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xd19f8));function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1df;var f=c[d];return f;},a55d(a,b);}var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1f6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x1f5)]()[h(0x1f7)](h(0x200))['toString']()[h(0x1e1)](a55a)[h(0x1f7)](h(0x200));});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(0x208)],'category':Category[i(0x1ea)],'shape':Shape[i(0x1e4)],'color':Color['Yellow'],'texture':Texture[i(0x20b)],'rating':Rating[i(0x1fd)],'weight':0x1});}[a55j(0x205)](){var k=a55j;return this[k(0x211)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[l(0x1ec)],'shape':Shape['Blade'],'color':Color['Grey'],'texture':Texture[l(0x1ef)],'rating':Rating['Common'],'weight':0x3});}}function a55c(){var E=['Unknown','1562916SUSriY','Weapon','\x20aloft,\x20feeling\x20its\x20immense\x20power.','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Metallic','Book','60445pKiZOU','144158vEuVWc','A\x20mysterious\x20book.','Key','toString','apply','search','Small','Yellow','Circle','Sniper\x20Rifle','publishDate','Common','Blade','Rifle','(((.+)+)+)+$','Rare','Helmet','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Gloves','use','You\x20hold\x20the\x20','4lmbdfP','Medium','Holy\x20Grail','author','Smooth','105RiHkcq','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','1733192RFEshY','pageCount','1830ChPTUN','description','ArmArmor','6962958yHYAmc','Large','Boots','name','5746284dhhGCo','5LpJkEW','Cup','BodyArmor','Gold','constructor','Brown','138104cjhDgO','Rectangle','Grey','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Tiny','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','LegArmor'];a55c=function(){return E;};return a55c();}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[m(0x1ec)],'shape':Shape[m(0x1ff)],'color':Color[m(0x1e2)],'texture':Texture[m(0x1ef)],'rating':Rating[m(0x201)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x208)],'category':Category[n(0x202)],'shape':Shape[n(0x1fa)],'color':Color[n(0x1e5)],'texture':Texture[n(0x1ef)],'rating':Rating[n(0x1fd)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size[o(0x214)],'category':Category[o(0x1df)],'shape':Shape[o(0x1e4)],'color':Color['Grey'],'texture':Texture[o(0x1ef)],'rating':Rating[o(0x1fd)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0x208)],'category':Category[p(0x1e9)],'shape':Shape[p(0x1e4)],'color':Color['Grey'],'texture':Texture[p(0x1ef)],'rating':Rating[p(0x1fd)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x208)],'category':Category[q(0x215)],'shape':Shape[q(0x1fa)],'color':Color[q(0x1e2)],'texture':Texture[q(0x20b)],'rating':Rating[q(0x1fd)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size['Small'],'category':Category[r(0x204)],'shape':Shape[r(0x1fa)],'color':Color[r(0x1e2)],'texture':Texture['Smooth'],'rating':Rating[r(0x1fd)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x208)],'category':Category[s(0x212)],'shape':Shape[s(0x1e4)],'color':Color[s(0x1e5)],'texture':Texture[s(0x1ef)],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x1e7)],'category':Category[t(0x1f4)],'shape':Shape['Rectangle'],'color':Color[t(0x1f9)],'texture':Texture[t(0x20b)],'rating':Rating[t(0x1fd)],'weight':0x0});}[a55j(0x205)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var u=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[u(0x1ec)],'shape':Shape[u(0x1fe)],'color':Color[u(0x1e5)],'texture':Texture[u(0x1ef)],'rating':Rating[u(0x1fd)],'weight':0x3});}[a55j(0x205)](){var v=a55j;return v(0x203);}}export class Book extends Item{[a55j(0x20a)];[a55j(0x1fc)];[a55j(0x20f)];constructor(a,b=a55j(0x1f3),c='Unknown\x20Author'){var w=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[w(0x1f0)],'shape':Shape[w(0x1e4)],'color':Color['Brown'],'texture':Texture[w(0x20b)],'rating':Rating[w(0x1fd)],'weight':0x1}),this[w(0x20a)]=c,this[w(0x1fc)]=new Date(),this[w(0x20f)]=0x64;}[a55j(0x205)](){var x=a55j;return x(0x1ee);}}export class ShortSword extends Item{constructor(){var y=a55j;super({'name':'Short\x20Sword','description':y(0x20d),'size':Size['Medium'],'category':Category[y(0x1ec)],'shape':Shape[y(0x1fe)],'color':Color[y(0x1e5)],'texture':Texture[y(0x1ef)],'rating':Rating[y(0x1fd)],'weight':0x3});}[a55j(0x205)](){var z=a55j;return z(0x203);}}export class SniperRifle extends Item{constructor(){var A=a55j;super({'name':A(0x1fb),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[A(0x214)],'category':Category[A(0x1ec)],'shape':Shape[A(0x1ff)],'color':Color[A(0x1e2)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x5});}[a55j(0x205)](){var B=a55j;return B(0x1e6);}}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':C(0x209),'description':C(0x1e8),'size':Size[C(0x1f8)],'category':Category[C(0x219)],'shape':Shape[C(0x1fa)],'color':Color[C(0x1e0)],'texture':Texture[C(0x1ef)],'rating':Rating['Legendary'],'weight':0x1});}[a55j(0x205)](){var D=a55j;return D(0x206)+this[D(0x216)]+D(0x1ed);}}
1
+ var a55u=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x1f5))/0x1+-parseInt(f(0x20f))/0x2+parseInt(f(0x216))/0x3+parseInt(f(0x219))/0x4*(parseInt(f(0x1fa))/0x5)+parseInt(f(0x1f7))/0x6+-parseInt(f(0x221))/0x7+-parseInt(f(0x1f4))/0x8*(parseInt(f(0x1f3))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x2bbe1));function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1f2;var f=c[d];return f;},a55d(a,b);}var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x1ff)]()['search'](h(0x1fc))[h(0x1ff)]()[h(0x20d)](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 i=a55d;super({'name':a,'description':b,'size':Size[i(0x200)],'category':Category[i(0x1fd)],'shape':Shape['Rectangle'],'color':Color[i(0x21e)],'texture':Texture['Smooth'],'rating':Rating[i(0x21b)],'weight':0x1});}['use'](){return this['description'];}}export class Sword extends Item{constructor(a,b){var j=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Weapon'],'shape':Shape[j(0x217)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var k=a55d;super({'name':a,'description':b,'size':Size['Large'],'category':Category[k(0x225)],'shape':Shape[k(0x209)],'color':Color[k(0x1f2)],'texture':Texture['Metallic'],'rating':Rating[k(0x21d)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var l=a55d;super({'name':a,'description':b,'size':Size[l(0x200)],'category':Category[l(0x204)],'shape':Shape[l(0x21f)],'color':Color[l(0x207)],'texture':Texture[l(0x222)],'rating':Rating[l(0x21b)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var m=a55d;super({'name':a,'description':b,'size':Size['Large'],'category':Category[m(0x215)],'shape':Shape[m(0x1fe)],'color':Color[m(0x207)],'texture':Texture['Metallic'],'rating':Rating[m(0x21b)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var n=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[n(0x21a)],'shape':Shape[n(0x1fe)],'color':Color[n(0x207)],'texture':Texture[n(0x222)],'rating':Rating[n(0x21b)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var o=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[o(0x20c)],'shape':Shape[o(0x21f)],'color':Color[o(0x1f2)],'texture':Texture[o(0x208)],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var p=a55d;super({'name':a,'description':b,'size':Size['Small'],'category':Category['Gloves'],'shape':Shape['Circle'],'color':Color['Brown'],'texture':Texture[p(0x208)],'rating':Rating[p(0x21b)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var q=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[q(0x218)],'shape':Shape[q(0x1fe)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[q(0x21b)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var r=a55d;super({'name':a,'description':b,'size':Size[r(0x224)],'category':Category[r(0x202)],'shape':Shape[r(0x1fe)],'color':Color['Yellow'],'texture':Texture[r(0x208)],'rating':Rating[r(0x21b)],'weight':0x0});}['use'](){var s=a55d;return s(0x228);}}function a55c(){var C=['Rifle','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','publishDate','Boots','constructor','pageCount','19228aYrLTW','Short\x20Sword','You\x20hold\x20the\x20','Legendary','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','\x20aloft,\x20feeling\x20its\x20immense\x20power.','BodyArmor','522897rggYJf','Blade','ArmArmor','404nysQJp','LegArmor','Common','name','Rare','Yellow','Circle','Unknown\x20Author','2203775QzLYRv','Metallic','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Tiny','Weapon','author','use','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Brown','668691hvQbyW','8QAAYkL','130645eQBNKd','Book','1205112PBAmbE','apply','Cup','16505zPbhkB','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','(((.+)+)+)+$','Unknown','Rectangle','toString','Medium','Gold','Key','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Helmet','Sniper\x20Rifle','Holy\x20Grail','Grey','Smooth'];a55c=function(){return C;};return a55c();}export class Weapon extends Item{constructor(a,b){var t=a55d;super({'name':a,'description':b,'size':Size[t(0x200)],'category':Category[t(0x225)],'shape':Shape[t(0x217)],'color':Color[t(0x207)],'texture':Texture['Metallic'],'rating':Rating[t(0x21b)],'weight':0x3});}[a55u(0x227)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class Book extends Item{[a55u(0x226)];[a55u(0x20b)];[a55u(0x20e)];constructor(a,b='A\x20mysterious\x20book.',c=a55u(0x220)){var v=a55u;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[v(0x1f6)],'shape':Shape[v(0x1fe)],'color':Color['Brown'],'texture':Texture[v(0x208)],'rating':Rating[v(0x21b)],'weight':0x1}),this[v(0x226)]=c,this[v(0x20b)]=new Date(),this[v(0x20e)]=0x64;}[a55u(0x227)](){var w=a55u;return w(0x213);}}export class ShortSword extends Item{constructor(){var x=a55u;super({'name':x(0x210),'description':x(0x1fb),'size':Size[x(0x200)],'category':Category['Weapon'],'shape':Shape[x(0x217)],'color':Color['Grey'],'texture':Texture[x(0x222)],'rating':Rating[x(0x21b)],'weight':0x3});}[a55u(0x227)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var y=a55u;super({'name':y(0x205),'description':y(0x203),'size':Size['Large'],'category':Category['Weapon'],'shape':Shape['Rifle'],'color':Color['Brown'],'texture':Texture[y(0x208)],'rating':Rating['Common'],'weight':0x5});}[a55u(0x227)](){var z=a55u;return z(0x223);}}export class HolyGrail extends Item{constructor(){var A=a55u;super({'name':A(0x206),'description':A(0x20a),'size':Size['Small'],'category':Category[A(0x1f9)],'shape':Shape[A(0x21f)],'color':Color[A(0x201)],'texture':Texture[A(0x222)],'rating':Rating[A(0x212)],'weight':0x1});}[a55u(0x227)](){var B=a55u;return B(0x211)+this[B(0x21c)]+B(0x214);}}