@maka/maka-cli 4.8.1 → 4.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  109. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/kit.js +1 -1
  112. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  115. package/bundle/obf/src/generators/layout.js +1 -1
  116. package/bundle/obf/src/generators/maka.gen.js +1 -1
  117. package/bundle/obf/src/generators/methods.js +1 -1
  118. package/bundle/obf/src/generators/package.js +1 -1
  119. package/bundle/obf/src/generators/page.js +1 -1
  120. package/bundle/obf/src/generators/publish.js +1 -1
  121. package/bundle/obf/src/generators/route.js +1 -1
  122. package/bundle/obf/src/generators/service.js +1 -1
  123. package/bundle/obf/src/generators/services/_index.js +1 -1
  124. package/bundle/obf/src/generators/services/openssl.js +1 -1
  125. package/bundle/obf/src/generators/services/translation.js +1 -1
  126. package/bundle/obf/src/maka.js +1 -1
  127. package/bundle/obf/src/templates/meteor/project/README.md +15 -1
  128. package/bundle/obf/src/templates/meteor/project/package.json +1 -1
  129. package/bundle/obf/src/tool.js +1 -1
  130. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  132. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  134. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  136. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  137. package/bundle/obf/src/tools/https/https.class.js +1 -1
  138. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  139. package/bundle/obf/src/tools/log/log.class.js +1 -1
  140. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  141. package/bundle/obf/src/tools/options/options.class.js +1 -1
  142. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  144. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  146. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  148. package/package.json +1 -1
@@ -1 +1 @@
1
- const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x18d))/0x1*(parseInt(f(0x1a0))/0x2)+parseInt(f(0x18e))/0x3+-parseInt(f(0x1a4))/0x4+-parseInt(f(0x198))/0x5*(parseInt(f(0x192))/0x6)+parseInt(f(0x19a))/0x7+-parseInt(f(0x194))/0x8+parseInt(f(0x193))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x6ca8e));function a37c(){const j=['4428864RzLAbO','join','listItems','description','5dgbyrW','logger','3646692TLJzIv','execute','length','write','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','search','7750NoXGmk','currentLocation','SearchCommand:\x20','verb','2201396QHnXes','inventory','constructor','toString','(((.+)+)+)+$','You\x20search\x20the\x20area\x20and\x20find:\x20','89zdaRBH','411219bLTgkE','\x20found\x20the\x20following\x20items:\x20','actor','Search\x20for\x20items\x20in\x20your\x20area','4784838uoeDyz','18300114xIjNHi'];a37c=function(){return j;};return a37c();}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const g=a37d;return a37a[g(0x1a7)]()[g(0x19f)](g(0x18b))['toString']()[g(0x1a6)](a37a)[g(0x19f)](g(0x18b));});a37a();function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x18b;let f=c[d];return f;},a37d(a,b);}import{Command}from'./command.js';export class SearchCommand extends Command{static [a37h(0x1a3)]='search';static [a37h(0x197)]=a37h(0x191);[a37h(0x19b)](){const i=a37h,a=this[i(0x190)][i(0x1a1)][i(0x1a5)][i(0x196)]();if(a[i(0x19c)]===0x0)return this[i(0x199)][i(0x19d)]('SearchCommand:\x20'+this[i(0x190)]['name']+i(0x19e)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[i(0x195)](',\x20');return this[i(0x199)][i(0x19d)](i(0x1a2)+this['actor']['name']+i(0x18f)+b),i(0x18c)+b;}}
1
+ function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a37d(a,b);}const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x1ee))/0x1*(parseInt(f(0x1df))/0x2)+parseInt(f(0x1d8))/0x3*(parseInt(f(0x1e0))/0x4)+-parseInt(f(0x1e2))/0x5+-parseInt(f(0x1ea))/0x6*(-parseInt(f(0x1d9))/0x7)+parseInt(f(0x1ef))/0x8*(parseInt(f(0x1d4))/0x9)+parseInt(f(0x1eb))/0xa*(-parseInt(f(0x1d3))/0xb)+-parseInt(f(0x1d1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xe8b29));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x1e7)]()[h(0x1d6)](h(0x1d7))['toString']()[h(0x1ed)](a37a)[h(0x1d6)]('(((.+)+)+)+$');});function a37c(){const k=['You\x20search\x20the\x20area\x20and\x20find:\x20','actor','join','name','466MxsYWC','6401336IWGuka','SearchCommand:\x20','3089910sBsDPy','currentLocation','logger','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','Search\x20for\x20items\x20in\x20your\x20area','toString','description','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','10782870oFjFzs','311260vlRyZC','apply','constructor','7483iKZzzk','32MnjaSc','inventory','2455068oGEKza','length','550dblrZJ','3775635PynlQH','write','search','(((.+)+)+)+$','3THUxgj','7qaQLML','verb'];a37c=function(){return k;};return a37c();}a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x1da)]=a37i(0x1d6);static [a37i(0x1e8)]=a37i(0x1e6);['execute'](){const j=a37i,a=this[j(0x1dc)][j(0x1e3)][j(0x1d0)]['listItems']();if(a[j(0x1d2)]===0x0)return this['logger'][j(0x1d5)](j(0x1e1)+this[j(0x1dc)][j(0x1de)]+j(0x1e9)),j(0x1e5);const b=a[j(0x1dd)](',\x20');return this[j(0x1e4)][j(0x1d5)](j(0x1e1)+this[j(0x1dc)][j(0x1de)]+'\x20found\x20the\x20following\x20items:\x20'+b),j(0x1db)+b;}}
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x137))/0x1*(parseInt(f(0x133))/0x2)+parseInt(f(0x127))/0x3*(parseInt(f(0x128))/0x4)+parseInt(f(0x12a))/0x5*(parseInt(f(0x144))/0x6)+-parseInt(f(0x12b))/0x7*(parseInt(f(0x131))/0x8)+-parseInt(f(0x139))/0x9+-parseInt(f(0x12f))/0xa*(-parseInt(f(0x140))/0xb)+-parseInt(f(0x12d))/0xc*(-parseInt(f(0x13a))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x5000d));function a38c(){const k=['success','16MmnVxt','apply','2UvakxU','constructor','rewardItem','inventory','96427WjZCUG','verb','5443866qhqBug','8019401gmqCEm','logger','join','write','currentLocation','search','1182489IJpSBG','addItem','SolveCommand:\x20','execute','2250966jFegro','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','message','Attempt\x20to\x20solve\x20a\x20puzzle.','toString','puzzle','4671uCFjPM','4MpcRne','solve','5tzyxxi','1004843NzRACj','(((.+)+)+)+$','12AmRvre','actor','30lxslMb'];a38c=function(){return k;};return a38c();}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x125)]()[h(0x13f)](h(0x12c))['toString']()[h(0x134)](a38a)[h(0x13f)](h(0x12c));});a38a();import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x122;let f=c[d];return f;},a38d(a,b);}export class SolveCommand extends Command{static [a38i(0x138)]=a38i(0x129);static ['description']=a38i(0x124);[a38i(0x143)](a){const j=a38i,b=a[j(0x13c)]('\x20')['toLowerCase'](),c=this[j(0x12e)][j(0x13e)];if(!c||!c[j(0x126)])return this['logger']['write']('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0x122);const d=c[j(0x126)]['solve'](b,this[j(0x12e)][j(0x136)]);return d[j(0x130)]&&c['puzzle']['rewardItem']&&this[j(0x12e)][j(0x136)][j(0x141)](c[j(0x126)][j(0x135)]),this[j(0x13b)][j(0x13d)](j(0x142)+d[j(0x123)]),d[j(0x123)];}}
1
+ const a38i=a38d;function a38c(){const k=['inventory','apply','join','1692738VTXQUm','puzzle','66318ajlcWd','1865930dcntdg','(((.+)+)+)+$','solve','constructor','SolveCommand:\x20','1320282YzyJCo','success','4844664cNgcTH','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','message','currentLocation','search','verb','395850RgYKIP','logger','rewardItem','addItem','actor','343zyDaoT','toLowerCase','2847180GuiBWY','write','toString'];a38c=function(){return k;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x161))/0x1+-parseInt(f(0x159))/0x2+parseInt(f(0x151))/0x3+-parseInt(f(0x14b))/0x4+-parseInt(f(0x154))/0x5+parseInt(f(0x153))/0x6*(parseInt(f(0x149))/0x7)+parseInt(f(0x15b))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x586aa));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x14d)]()[h(0x15f)](h(0x155))[h(0x14d)]()[h(0x157)](a38a)[h(0x15f)](h(0x155));});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x149;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x160)]=a38i(0x156);static ['description']='Attempt\x20to\x20solve\x20a\x20puzzle.';['execute'](a){const j=a38i,b=a[j(0x150)]('\x20')[j(0x14a)](),c=this['actor'][j(0x15e)];if(!c||!c[j(0x152)])return this[j(0x162)]['write'](j(0x15c)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[j(0x152)]['solve'](b,this[j(0x165)][j(0x14e)]);return d[j(0x15a)]&&c[j(0x152)]['rewardItem']&&this['actor'][j(0x14e)][j(0x164)](c[j(0x152)][j(0x163)]),this[j(0x162)][j(0x14c)](j(0x158)+d[j(0x15d)]),d[j(0x15d)];}}
@@ -1 +1 @@
1
- const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x1dd))/0x1+-parseInt(f(0x1e2))/0x2+parseInt(f(0x1da))/0x3+-parseInt(f(0x1d5))/0x4+-parseInt(f(0x1cd))/0x5+-parseInt(f(0x1e1))/0x6*(parseInt(f(0x1db))/0x7)+parseInt(f(0x1ce))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xf3a13));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const g=a39d;return a39a[g(0x1d2)]()[g(0x1df)](g(0x1cc))[g(0x1d2)]()['constructor'](a39a)['search']('(((.+)+)+)+$');});a39a();function a39c(){const k=['currentLocation','execute','Successfully\x20removed\x20\x22','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','7314vgykfd','151984QPgivq','Pick\x20up\x20an\x20item.','1266037VPAtjq','\x22\x20not\x20retrieved\x20from\x20','search','Successfully\x20added\x20\x22','12xrsHLZ','740020HTnVBc','toLowerCase','You\x20have\x20taken\x20the\x20','name','\x22\x20in\x20this\x20room.','logger','\x22\x20not\x20found\x20in\x20','There\x20is\x20no\x20item\x20\x22','getItem','take','inventory','\x22\x20from\x20','actor','verb','write','addInventory','(((.+)+)+)+$','4837790ZhQOjB','17911672yoweKz','removeItem','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Item\x20\x22','toString','hasItem','\x20during\x20\x27Take\x27\x20command.','4514140rTdvlo'];a39c=function(){return k;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1c9;let f=c[d];return f;},a39d(a,b);}import{Command}from'./command.js';export class TakeCommand extends Command{static [a39h(0x1c9)]='take';static ['description']=a39h(0x1dc);[a39h(0x1d7)](a){const i=a39h;return this[i(0x1e7)][i(0x1ca)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a['join']('\x20')),this['take'](a);}[a39h(0x1eb)](a){const j=a39h,b=a['join']('\x20')[j(0x1e3)](),c=this[j(0x1ee)][j(0x1d6)];if(!c[j(0x1ec)][j(0x1d3)](b))return this[j(0x1e7)][j(0x1ca)](j(0x1d1)+b+j(0x1e8)+c[j(0x1e5)]+j(0x1d4)),j(0x1e9)+b+j(0x1e6);const d=c[j(0x1ec)][j(0x1ea)](b);if(!d)return this[j(0x1e7)]['write'](j(0x1d1)+b+j(0x1de)+c['name']+j(0x1d9)),j(0x1e9)+b+j(0x1e6);try{return this[j(0x1ee)][j(0x1cb)](d),this[j(0x1e7)][j(0x1ca)](j(0x1e0)+b+'\x22\x20to\x20'+this[j(0x1ee)][j(0x1e5)]+j(0x1d0)),c['inventory'][j(0x1cf)](b),this[j(0x1e7)][j(0x1ca)](j(0x1d8)+b+j(0x1ed)+c[j(0x1e5)]+j(0x1d9)),j(0x1e4)+b+'.';}catch(e){return this[j(0x1e7)][j(0x1ca)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e['message']),'The\x20item\x20\x22'+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
1
+ function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x17d;let f=c[d];return f;},a39d(a,b);}const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x187))/0x1+parseInt(f(0x197))/0x2+-parseInt(f(0x183))/0x3+-parseInt(f(0x1a0))/0x4*(parseInt(f(0x199))/0x5)+parseInt(f(0x19f))/0x6*(-parseInt(f(0x182))/0x7)+-parseInt(f(0x1a4))/0x8+parseInt(f(0x1a5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x54e55));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x190)]('(((.+)+)+)+$')[h(0x186)]()[h(0x181)](a39a)['search'](h(0x188));});a39a();import{Command}from'./command.js';function a39c(){const l=['removeItem','toLowerCase','27096cPLoBS','2517828chshZz','\x22\x20in\x20this\x20room.','\x22\x20to\x20','\x22\x20not\x20retrieved\x20from\x20','448656NpoKyD','17141058RbyDak','\x20during\x20\x27Take\x27\x20command.','name','write','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','constructor','826WGUaTs','1317861FuKusk','\x22\x20is\x20too\x20heavy\x20to\x20carry.','description','toString','553778PzJLDn','(((.+)+)+)+$','execute','join','message','inventory','\x22\x20from\x20','You\x20have\x20taken\x20the\x20','apply','search','logger','getItem','\x22\x20not\x20found\x20in\x20','actor','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','There\x20is\x20no\x20item\x20\x22','1309326iOOAcj','addInventory','5FpJoHY','take','Item\x20\x22','Pick\x20up\x20an\x20item.'];a39c=function(){return l;};return a39c();}export class TakeCommand extends Command{static ['verb']=a39i(0x19a);static [a39i(0x185)]=a39i(0x19c);[a39i(0x189)](a){const j=a39i;return this[j(0x191)][j(0x17f)](j(0x180)+a['join']('\x20')),this['take'](a);}[a39i(0x19a)](a){const k=a39i,b=a[k(0x18a)]('\x20')[k(0x19e)](),c=this[k(0x194)]['currentLocation'];if(!c['inventory']['hasItem'](b))return this[k(0x191)]['write'](k(0x19b)+b+k(0x193)+c['name']+k(0x17d)),k(0x196)+b+k(0x1a1);const d=c[k(0x18c)][k(0x192)](b);if(!d)return this['logger'][k(0x17f)](k(0x19b)+b+k(0x1a3)+c[k(0x17e)]+k(0x195)),k(0x196)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0x194)][k(0x198)](d),this[k(0x191)]['write']('Successfully\x20added\x20\x22'+b+k(0x1a2)+this[k(0x194)]['name']+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0x18c)][k(0x19d)](b),this[k(0x191)][k(0x17f)]('Successfully\x20removed\x20\x22'+b+k(0x18d)+c['name']+k(0x195)),k(0x18e)+b+'.';}catch(e){return this[k(0x191)][k(0x17f)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x18b)]),'The\x20item\x20\x22'+b+k(0x184);}}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x9d))/0x1+parseInt(f(0x99))/0x2*(-parseInt(f(0x94))/0x3)+parseInt(f(0x9c))/0x4*(parseInt(f(0xa3))/0x5)+parseInt(f(0x8f))/0x6+parseInt(f(0xa2))/0x7*(-parseInt(f(0x8c))/0x8)+parseInt(f(0x8b))/0x9*(-parseInt(f(0x90))/0xa)+parseInt(f(0x91))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x4cc11));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()[h(0xa1)](h(0x8a))[h(0x97)]()['constructor'](a40a)[h(0xa1)](h(0x8a));});a40a();function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x89;let f=c[d];return f;},a40d(a,b);}function a40c(){const k=['logger','480939vAsWKl','Unequip\x20an\x20item.','apply','toString','unqeuip','2ljVasQ','execute','verb','588reJbJj','108953hmXOcf','name','description','actor','search','14wJkyku','5630JLnykq','unequip','UnequipCommand:\x20','(((.+)+)+)+$','33174Yefaiu','2008088rbLqmM','write','toLowerCase','2445234VRVLhR','1260zRlDeU','10747528CtcLxQ','join'];a40c=function(){return k;};return a40c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x9b)]=a40i(0x98);static [a40i(0x9f)]=a40i(0x95);[a40i(0x9a)](a){const j=a40i,b=a[j(0x92)]('\x20')[j(0x8e)](),c=this[j(0xa0)][j(0xa4)](b);return this[j(0x93)][j(0x8d)](j(0x89)+this['actor'][j(0x9e)]+'\x20unqeuiped\x20'+c),c;}}
1
+ const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x8c))/0x1*(-parseInt(f(0xa3))/0x2)+parseInt(f(0x96))/0x3*(-parseInt(f(0x8a))/0x4)+-parseInt(f(0x94))/0x5*(parseInt(f(0x95))/0x6)+-parseInt(f(0x8d))/0x7*(-parseInt(f(0xa0))/0x8)+-parseInt(f(0x9e))/0x9*(-parseInt(f(0x97))/0xa)+-parseInt(f(0x99))/0xb*(parseInt(f(0x98))/0xc)+parseInt(f(0x8e))/0xd*(parseInt(f(0x91))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x5ec25));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0x9b)]()[g(0x9c)](g(0x9d))[g(0x9b)]()[g(0x90)](a40a)[g(0x9c)]('(((.+)+)+)+$');});a40a();function a40c(){const j=['verb','739832KUJHYa','Unequip\x20an\x20item.','17shLAdm','1775137VFtydn','468YZbLtj','write','constructor','391272qhgKkL','name','UnequipCommand:\x20','1266490bEuEtm','6GxoOVS','6QuJyWV','1214330CahOFi','8547336OZckiP','11XwRjrR','execute','toString','search','(((.+)+)+)+$','45uQCOvx','description','8tkvDcW','toLowerCase','unequip','16854ldOAXI','\x20unqeuiped\x20','unqeuip'];a40c=function(){return j;};return a40c();}import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x89;let f=c[d];return f;},a40d(a,b);}export class UnequipCommand extends Command{static [a40h(0x89)]=a40h(0xa5);static [a40h(0x9f)]=a40h(0x8b);[a40h(0x9a)](a){const i=a40h,b=a['join']('\x20')[i(0xa1)](),c=this['actor'][i(0xa2)](b);return this['logger'][i(0x8f)](i(0x93)+this['actor'][i(0x92)]+i(0xa4)+c),c;}}
@@ -1 +1 @@
1
- const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x114))/0x1+parseInt(h(0x126))/0x2+parseInt(h(0x117))/0x3*(-parseInt(h(0x12c))/0x4)+parseInt(h(0x11a))/0x5+parseInt(h(0x11e))/0x6*(-parseInt(h(0x12b))/0x7)+-parseInt(h(0x121))/0x8+parseInt(h(0x12e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xc90cd));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x136)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x122)]()['search'](j(0x132))[j(0x122)]()['constructor'](a41a)['search']('(((.+)+)+)+$');});a41a();import{Door}from'../models/door.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x114;let f=c[d];return f;},a41d(a,b);}import{Command}from'./command.js';function a41c(){const m=['toString','UnlockCommand:\x20','verb','name','1794882ASsfns','\x20is\x20attempted\x20to\x20unlock\x20','execute','UnlockCommand:\x20No\x20target\x20specified.','write','466851auVDGX','16aRRwxO','currentLocation','10861344mVmiUz','There\x27s\x20no\x20door\x20named\x20\x22','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','logger','(((.+)+)+)+$','get','exits','has','apply','unlock','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','attemptUnlockExit','unlockItemOrSolution','1020440naEjVY','getItem','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','440058MMLEHn','Unlock\x20a\x20door.','toLowerCase','440185mOzINT','actor','hasItem','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','24qtnFmp','isValidDirection','inventory','12285736wlWFee'];a41c=function(){return m;};return a41c();}export class UnlockCommand extends Command{static [a41k(0x124)]=a41k(0x137);static ['description']=a41k(0x118);[a41k(0x128)](a){return this['unlock'](a);}[a41k(0x137)](a){const l=a41k;if(a['length']===0x0)return this['logger']['error'](l(0x129)),l(0x11d);const b=a[0x0][l(0x119)](),c=this[l(0x11b)][l(0x12d)];if(this[l(0x11f)](b)&&c[l(0x134)][l(0x135)](b)){const d=c[l(0x134)][l(0x133)](b);if(d instanceof Door){const e=d[l(0x13a)]?.['toLowerCase']();if(e&&this['actor'][l(0x120)][l(0x11c)](e)){const f=this[l(0x11b)]['inventory'][l(0x115)](e);if(f){const g=c[l(0x139)](b,f['name']);return this['logger']['write'](l(0x123)+this[l(0x11b)]['name']+l(0x127)+b+'.\x20Result:\x20'+g),g;}}return this[l(0x131)][l(0x12a)](l(0x123)+this['actor'][l(0x125)]+l(0x130)+b+'.'),l(0x138);}else return this[l(0x131)][l(0x12a)](l(0x123)+b+l(0x116)+c[l(0x125)]+'.'),l(0x12f)+b+'\x22\x20here.';}else return this[l(0x131)][l(0x12a)](l(0x123)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x125)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}}
1
+ const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0xa1))/0x1*(parseInt(h(0xb9))/0x2)+parseInt(h(0xbd))/0x3+-parseInt(h(0xa2))/0x4+-parseInt(h(0xab))/0x5*(parseInt(h(0xa0))/0x6)+-parseInt(h(0xad))/0x7*(parseInt(h(0xb2))/0x8)+parseInt(h(0xba))/0x9+parseInt(h(0xc4))/0xa*(parseInt(h(0xa9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x6e962));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0xb5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()['search'](j(0xbc))[j(0xb7)]()[j(0xc5)](a41a)[j(0xc0)](j(0xbc));});function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x9e;let f=c[d];return f;},a41d(a,b);}a41a();import{Door}from'../models/door.js';function a41c(){const n=['constructor','get','actor','Unlock\x20a\x20door.','840186oldUJM','809aFlPLv','1520520JcwdoS','length','error','has','UnlockCommand:\x20No\x20target\x20specified.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','UnlockCommand:\x20','22wYPYSY','description','15zwiiyD','name','7tLhxUc','inventory','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','toLowerCase','unlockItemOrSolution','5533328NSAAUF','logger','write','apply','exits','toString','getItem','478PfLhwq','7072308cXbKBL','unlock','(((.+)+)+)+$','357846vvRNFz','currentLocation','verb','search','hasItem','\x22\x20here.','execute','4232030FeCqmE'];a41c=function(){return n;};return a41c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0xbf)]='unlock';static [a41k(0xaa)]=a41k(0x9f);[a41k(0xc3)](a){const l=a41k;return this[l(0xbb)](a);}['unlock'](a){const m=a41k;if(a[m(0xa3)]===0x0)return this[m(0xb3)][m(0xa4)](m(0xa6)),m(0xaf);const b=a[0x0]['toLowerCase'](),c=this[m(0x9e)][m(0xbe)];if(this['isValidDirection'](b)&&c[m(0xb6)][m(0xa5)](b)){const d=c['exits'][m(0xc6)](b);if(d instanceof Door){const e=d[m(0xb1)]?.[m(0xb0)]();if(e&&this[m(0x9e)][m(0xae)][m(0xc1)](e)){const f=this[m(0x9e)]['inventory'][m(0xb8)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0xac)]);return this[m(0xb3)]['write'](m(0xa8)+this[m(0x9e)][m(0xac)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+'.\x20Result:\x20'+g),g;}}return this[m(0xb3)][m(0xb4)](m(0xa8)+this['actor'][m(0xac)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this[m(0xb3)][m(0xb4)](m(0xa8)+b+m(0xa7)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}else return this[m(0xb3)]['write'](m(0xa8)+b+m(0xa7)+c[m(0xac)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0xc2);}}
@@ -1 +1 @@
1
- function a42c(){const l=['\x20doesn\x27t\x20have\x20a\x20use\x20method.','function','\x20attempted\x20to\x20use\x20','UseCommand:\x20','\x27s\x20inventory.','5910PjgCvn','toLowerCase','2326088GJMpgA','You\x20don\x27t\x20have\x20the\x20','inventory','hasItem','15UpFVMe','You\x20can\x27t\x20use\x20the\x20','2040021wBdRJQ','search','execute',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','(((.+)+)+)+$','constructor','1909705HPoBDl','getItem','6JdfEGs','\x20used\x20','use','293736mgfYku','toString','name','\x20in\x20this\x20way.','write','actor','91603XGJkiF','description','Use\x20an\x20item.','\x20not\x20retrieved\x20from\x20','628915inAMjM','join','logger','\x20to\x20use.','apply'];a42c=function(){return l;};return a42c();}const a42i=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x68;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x6c))/0x1+parseInt(f(0x7a))/0x2*(-parseInt(f(0x80))/0x3)+-parseInt(f(0x8d))/0x4+-parseInt(f(0x70))/0x5+parseInt(f(0x8a))/0x6*(parseInt(f(0x88))/0x7)+parseInt(f(0x7c))/0x8+-parseInt(f(0x82))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x345f6));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x74)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x8e)]()[h(0x83)](h(0x86))[h(0x8e)]()[h(0x87)](a42a)['search'](h(0x86));});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']='use';static [a42i(0x6d)]=a42i(0x6e);[a42i(0x84)](a){const j=a42i;return this[j(0x8c)](a);}['use'](a){const k=a42i,b=a[k(0x71)]('\x20')[k(0x7b)]();if(!this[k(0x6b)][k(0x7e)][k(0x7f)](b))return this[k(0x72)]['write'](k(0x78)+this['actor'][k(0x68)]+k(0x77)+b+k(0x85)),k(0x7d)+b+k(0x73);const c=this[k(0x6b)][k(0x7e)][k(0x89)](b);if(!c)return this[k(0x72)]['write'](k(0x78)+b+k(0x6f)+this[k(0x6b)][k(0x68)]+k(0x79)),k(0x7d)+b+k(0x73);if(typeof c[k(0x8c)]===k(0x76)){const d=c[k(0x8c)]();return this[k(0x72)][k(0x6a)]('UseCommand:\x20'+this[k(0x6b)]['name']+k(0x8b)+b+'.'),d;}else return this[k(0x72)][k(0x6a)]('UseCommand:\x20'+b+k(0x75)),k(0x81)+b+k(0x69);}}
1
+ function a42c(){const l=['toLowerCase','UseCommand:\x20','hasItem','name','27fyeUQA','4434AxTKUK','542703VyxEWX','6443676cAmGOL','3455bFhHEN','180600Snmotf','\x20used\x20','write','toString','44606eSSXud','inventory','getItem','description','\x20attempted\x20to\x20use\x20','\x27s\x20inventory.','4VllRKj','\x20not\x20retrieved\x20from\x20','882904IUPHbE','actor','apply','logger','You\x20don\x27t\x20have\x20the\x20','15NxcmMb','constructor','use','\x20to\x20use.','Use\x20an\x20item.','execute','1295464wIqXFG','search','\x20doesn\x27t\x20have\x20a\x20use\x20method.','50Rgpgxk','(((.+)+)+)+$','\x20in\x20this\x20way.','join','verb'];a42c=function(){return l;};return a42c();}const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x99))/0x1*(parseInt(f(0xb4))/0x2)+parseInt(f(0xad))/0x3*(-parseInt(f(0x92))/0x4)+-parseInt(f(0xaf))/0x5*(-parseInt(f(0xac))/0x6)+-parseInt(f(0xb0))/0x7+-parseInt(f(0x9f))/0x8*(parseInt(f(0xab))/0x9)+-parseInt(f(0xa2))/0xa*(parseInt(f(0x94))/0xb)+parseInt(f(0xae))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x4665b));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xb3)]()['search'](h(0xa3))['toString']()[h(0x9a)](a42a)[h(0xa0)]('(((.+)+)+)+$');});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x8f;let f=c[d];return f;},a42d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0xa6)]=a42i(0x9b);static [a42i(0x8f)]=a42i(0x9d);[a42i(0x9e)](a){const j=a42i;return this[j(0x9b)](a);}['use'](a){const k=a42i,b=a[k(0xa5)]('\x20')[k(0xa7)]();if(!this[k(0x95)][k(0xb5)][k(0xa9)](b))return this['logger'][k(0xb2)](k(0xa8)+this[k(0x95)][k(0xaa)]+k(0x90)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),k(0x98)+b+k(0x9c);const c=this[k(0x95)][k(0xb5)][k(0xb6)](b);if(!c)return this[k(0x97)][k(0xb2)](k(0xa8)+b+k(0x93)+this['actor'][k(0xaa)]+k(0x91)),k(0x98)+b+k(0x9c);if(typeof c[k(0x9b)]==='function'){const d=c['use']();return this[k(0x97)][k(0xb2)]('UseCommand:\x20'+this['actor'][k(0xaa)]+k(0xb1)+b+'.'),d;}else return this[k(0x97)][k(0xb2)](k(0xa8)+b+k(0xa1)),'You\x20can\x27t\x20use\x20the\x20'+b+k(0xa4);}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1d7))/0x1*(-parseInt(f(0x1d6))/0x2)+-parseInt(f(0x1c5))/0x3*(parseInt(f(0x1ca))/0x4)+parseInt(f(0x1d4))/0x5*(parseInt(f(0x1c7))/0x6)+-parseInt(f(0x1cc))/0x7*(parseInt(f(0x1d3))/0x8)+-parseInt(f(0x1cd))/0x9*(-parseInt(f(0x1d5))/0xa)+parseInt(f(0x1cf))/0xb+parseInt(f(0x1c3))/0xc*(-parseInt(f(0x1cb))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xa0a7c));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1ce)]()['search']('(((.+)+)+)+$')[h(0x1ce)]()[h(0x1c9)](a43a)[h(0x1d0)](h(0x1d1));});a43a();export class CommandFactory{static [a43i(0x1d2)]={};static[a43i(0x1c2)](a,b){this['commandMap'][a]=b;}static[a43i(0x1c6)](a,b){const j=a43i,c=this[j(0x1d2)][a];if(c)return new c(b);return null;}static[a43i(0x1c8)](){const k=a43i;return this[k(0x1d2)];}}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a43d(a,b);}function a43c(){const l=['createCommand','2004nXLahG','getAllRegisteredCommands','constructor','176eEALGS','39USGunO','182TaqmyN','63wYTCNV','toString','6439048ryxbkW','search','(((.+)+)+)+$','commandMap','203768IGHMvo','10190zHlbml','1017190NoWplQ','1231354sIOBVK','2yFDAbH','registerCommand','6727140AWEtfc','apply','14139QCqRjD'];a43c=function(){return l;};return a43c();}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0xb5))/0x1*(-parseInt(f(0xad))/0x2)+parseInt(f(0xab))/0x3+parseInt(f(0xa7))/0x4+-parseInt(f(0xb1))/0x5+parseInt(f(0xaf))/0x6*(parseInt(f(0xa9))/0x7)+-parseInt(f(0xb3))/0x8+-parseInt(f(0xa5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xaaa8f));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0xb4)]()[h(0xa8)](h(0xae))[h(0xb4)]()['constructor'](a43a)[h(0xa8)](h(0xae));});function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xa5;let f=c[d];return f;},a43d(a,b);}a43a();export class CommandFactory{static [a43i(0xaa)]={};static[a43i(0xa6)](a,b){const j=a43i;this[j(0xaa)][a]=b;}static[a43i(0xac)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a43i(0xb2)](){const k=a43i;return this[k(0xaa)];}}function a43c(){const l=['2JYDUXZ','(((.+)+)+)+$','1263558QIBedB','apply','621020dEmPpl','getAllRegisteredCommands','114168XVLkGd','toString','986619GmamsR','9261612hTfrya','registerCommand','4362196talEEy','search','14OlpodP','commandMap','4024350LXuLJA','createCommand'];a43c=function(){return l;};return a43c();}
@@ -1 +1 @@
1
- const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x159))/0x1+-parseInt(f(0x155))/0x2*(-parseInt(f(0x161))/0x3)+parseInt(f(0x154))/0x4*(parseInt(f(0x15d))/0x5)+-parseInt(f(0x14e))/0x6*(parseInt(f(0x153))/0x7)+-parseInt(f(0x158))/0x8+-parseInt(f(0x14d))/0x9*(-parseInt(f(0x15a))/0xa)+parseInt(f(0x157))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xd4c53));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x147)]()['search']('(((.+)+)+)+$')['toString']()[h(0x146)](a44a)['search']('(((.+)+)+)+$');});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x13b;let f=c[d];return f;},a44d(a,b);}a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a44c(){const o=['type','items','56967sHHBPj','gloves','helmet','content','boots','convertToRoomConfig','bodyarmor','puzzle','apply','book','description','key','createPuzzle','rewardItem','name','constructor','toString','addItem','createRoom','createItem','sword','isStartRoom','3114TVKuWn','8197374XWDvNl','INSIDE','rifle','forEach','roomType','7lENfif','1354492RbxqLf','92lXBKAj','legarmor','1983289lWmXVK','13814616wYweCJ','38487xEsxmv','34080rQiawC','toUpperCase','setPuzzle','25RycMzg','gauntlets'];a44c=function(){return o;};return a44c();}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0x149)](a){const j=a44i,b=this[j(0x13c)](a),c=new Room(b);if(a[j(0x160)]){const d=new Inventory();a[j(0x160)][j(0x151)](e=>{const k=j;d[k(0x148)](this[k(0x14a)](e));}),c['inventory']=d;}return a[j(0x13e)]&&c[j(0x15c)](this['createPuzzle'](a['puzzle'])),c;}[a44i(0x14a)](a){const l=a44i;switch(a[l(0x15f)]){case l(0x142):return new Key(a[l(0x145)],a[l(0x141)]);case l(0x140):return new Book(a['name'],a[l(0x141)],a[l(0x164)]);case l(0x14b):return new Sword(a[l(0x145)],a[l(0x141)]);case l(0x150):return new Rifle(a[l(0x145)],a[l(0x141)]);case l(0x163):return new Helmet(a['name'],a['description']);case l(0x13d):return new BodyArmor(a[l(0x145)],a[l(0x141)]);case l(0x156):return new LegArmor(a[l(0x145)],a[l(0x141)]);case l(0x13b):return new Boots(a['name'],a['description']);case l(0x162):return new Gloves(a[l(0x145)],a[l(0x141)]);case l(0x15e):return new Gauntlets(a[l(0x145)],a[l(0x141)]);default:return new BasicItem(a[l(0x145)],a[l(0x141)]);}}[a44i(0x143)](a){const m=a44i,b=this[m(0x14a)](a[m(0x144)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0x13c)](a){const n=a44i,b=a['roomType']&&RoomType[a[n(0x152)][n(0x15b)]()]?RoomType[a[n(0x152)][n(0x15b)]()]:RoomType[n(0x14f)];return{'name':a[n(0x145)],'description':a['description'],'isStartRoom':a[n(0x14c)],'roomType':b};}}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x90))/0x1*(-parseInt(f(0x74))/0x2)+parseInt(f(0x86))/0x3+-parseInt(f(0x84))/0x4+-parseInt(f(0x81))/0x5*(parseInt(f(0x7b))/0x6)+-parseInt(f(0x73))/0x7*(parseInt(f(0x87))/0x8)+-parseInt(f(0x7f))/0x9*(parseInt(f(0x8b))/0xa)+parseInt(f(0x85))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x74f79));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x79)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()['search'](h(0x83))[h(0x76)]()[h(0x96)](a44a)['search'](h(0x83));});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';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x72;let f=c[d];return f;},a44d(a,b);}export class RoomFactory{[a44i(0x8d)](a){const j=a44i,b=this[j(0x92)](a),c=new Room(b);if(a[j(0x77)]){const d=new Inventory();a[j(0x77)]['forEach'](e=>{const k=j;d[k(0x94)](this[k(0x89)](e));}),c[j(0x80)]=d;}return a[j(0x75)]&&c[j(0x8e)](this['createPuzzle'](a[j(0x75)])),c;}['createItem'](a){const l=a44i;switch(a['type']){case l(0x78):return new Key(a[l(0x8f)],a[l(0x7d)]);case'book':return new Book(a[l(0x8f)],a[l(0x7d)],a[l(0x7a)]);case l(0x7c):return new Sword(a[l(0x8f)],a[l(0x7d)]);case l(0x93):return new Rifle(a[l(0x8f)],a[l(0x7d)]);case l(0x82):return new Helmet(a[l(0x8f)],a['description']);case'bodyarmor':return new BodyArmor(a[l(0x8f)],a[l(0x7d)]);case l(0x8c):return new LegArmor(a[l(0x8f)],a[l(0x7d)]);case l(0x88):return new Boots(a[l(0x8f)],a[l(0x7d)]);case'gloves':return new Gloves(a[l(0x8f)],a[l(0x7d)]);case'gauntlets':return new Gauntlets(a[l(0x8f)],a[l(0x7d)]);default:return new BasicItem(a[l(0x8f)],a['description']);}}[a44i(0x7e)](a){const m=a44i,b=this[m(0x89)](a[m(0x91)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0x92)](a){const n=a44i,b=a[n(0x95)]&&RoomType[a[n(0x95)][n(0x8a)]()]?RoomType[a[n(0x95)][n(0x8a)]()]:RoomType['INSIDE'];return{'name':a['name'],'description':a[n(0x7d)],'isStartRoom':a[n(0x72)],'roomType':b};}}function a44c(){const o=['puzzle','toString','items','key','apply','content','96PMuxlV','sword','description','createPuzzle','1341CRvCPu','inventory','159535XmXOur','helmet','(((.+)+)+)+$','1711096LxVDMG','11572297RWCWKq','1841865PagcGp','416816iBixgd','boots','createItem','toUpperCase','20090maHnoq','legarmor','createRoom','setPuzzle','name','1iYbhkt','rewardItem','convertToRoomConfig','rifle','addItem','roomType','constructor','isStartRoom','98ySTfTf','1560340bgfYpu'];a44c=function(){return o;};return a44c();}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x11c))/0x1*(-parseInt(h(0x125))/0x2)+-parseInt(h(0x111))/0x3*(-parseInt(h(0x13a))/0x4)+parseInt(h(0x127))/0x5*(-parseInt(h(0x123))/0x6)+-parseInt(h(0x11a))/0x7*(-parseInt(h(0x11b))/0x8)+-parseInt(h(0x13d))/0x9*(-parseInt(h(0x117))/0xa)+-parseInt(h(0x138))/0xb*(-parseInt(h(0x124))/0xc)+parseInt(h(0x13b))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xc3f24));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a['toString']()[j(0x11d)](j(0x11f))['toString']()[j(0x136)](a45a)[j(0x11d)](j(0x11f));});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x10a;let f=c[d];return f;},a45d(a,b);}import{CommandFactory}from'./factories/commandF.js';function a45c(){const s=['search','unlock','(((.+)+)+)+$','player','registerCommands','trim','468DkrhXX','24OrWYaN','22TtKXAm','getWelcomeMessage','4060LYYZvg','currentRoom','solve','scene','instance','getHelpMessage','-\x20quit:\x20Exit\x20the\x20game.\x0a','apply','maka','initialize','help','toLowerCase','say','rooms','handleInput','constructor','registerCommand','240746RNouaJ','Welcome,\x20','282380LnBQRL','16781674mHUldL','clear','27gwfrBI','slice','-\x20clear:\x20Clear\x20the\x20screen.\x0a','getRooms','use','drop','lock','take','15KyOhAg','hasOwnProperty','getAllRegisteredCommands','createCommand','determineStartRoom','look','91610VjBFxo','quit','unequip','580111cIFaHl','56KoMNgx','129937oKFOJw'];a45c=function(){return s;};return a45c();}export default class Game{static [a45k(0x12b)];[a45k(0x12a)];[a45k(0x120)];[a45k(0x128)];[a45k(0x134)];constructor(a,b){const l=a45k;this[l(0x120)]=a,this[l(0x12a)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x12a)][l(0x130)](),this[l(0x120)]['currentLocation']=this[l(0x115)](),this['registerCommands']();}[a45k(0x121)](){const m=a45k;CommandFactory[m(0x137)](m(0x116),LookCommand),CommandFactory[m(0x137)]('go',GoCommand),CommandFactory[m(0x137)](m(0x110),TakeCommand),CommandFactory['registerCommand'](m(0x10d),UseCommand),CommandFactory[m(0x137)]('equip',EquipCommand),CommandFactory[m(0x137)](m(0x119),UnequipCommand),CommandFactory['registerCommand'](m(0x129),SolveCommand),CommandFactory[m(0x137)](m(0x10e),DropCommand),CommandFactory[m(0x137)](m(0x11e),UnlockCommand),CommandFactory[m(0x137)](m(0x10f),LockCommand),CommandFactory[m(0x137)](m(0x11d),SearchCommand),CommandFactory[m(0x137)](m(0x133),SayCommand);}[a45k(0x115)](){const n=a45k;return this[n(0x12a)]['determineStartRoom']();}[a45k(0x126)](){const o=a45k;return o(0x139)+this['player']['name'];}static['getInstance'](a,b){const p=a45k;return!Game['instance']&&(Game[p(0x12b)]=new Game(a,b)),Game[p(0x12b)];}[a45k(0x135)](a){const q=a45k,b=a[q(0x122)]()['split']('\x20'),c=b[0x0][q(0x132)](),d=b[q(0x10a)](0x1);if(c===q(0x118))return null;if(c===q(0x12f))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0x131))return this[q(0x12c)]();if(c===q(0x13c))return'';const e={'actor':this['player'],'rooms':this[q(0x12a)][q(0x10c)](),'scene':this[q(0x12a)]},f=CommandFactory[q(0x114)](c,e);if(f){const g=f['execute'](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a45k(0x12c)](){const r=a45k,a=CommandFactory[r(0x113)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0x112)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=r(0x10b),b+=r(0x12d),b;}}
1
+ const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x145))/0x1*(parseInt(h(0x14f))/0x2)+-parseInt(h(0x14a))/0x3*(-parseInt(h(0x139))/0x4)+-parseInt(h(0x125))/0x5*(-parseInt(h(0x124))/0x6)+-parseInt(h(0x128))/0x7+-parseInt(h(0x11e))/0x8+parseInt(h(0x130))/0x9*(parseInt(h(0x123))/0xa)+-parseInt(h(0x14d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xc44a2));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x12c)]()[j(0x12e)]('(((.+)+)+)+$')[j(0x12c)]()[j(0x148)](a45a)[j(0x12e)](j(0x126));});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x11e;let f=c[d];return f;},a45d(a,b);}import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';function a45c(){const s=['say','apply','constructor','registerCommand','3xEQdnH','Welcome,\x20','solve','13058111jNuIfb','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','314KwbtrB','scene','createCommand','11779464iZpoXX','toLowerCase','execute','handleInput','split','20CoVQKB','12LenlQr','453930vidnOS','(((.+)+)+)+$','clear','1503432FqpEUy','-\x20quit:\x20Exit\x20the\x20game.\x0a','look','player','toString','name','search','registerCommands','6641991xFTnsI','help','take','Available\x20Commands:\x0a','slice','getWelcomeMessage','getRooms','-\x20clear:\x20Clear\x20the\x20screen.\x0a','use','2589852SLapRS','currentRoom','getInstance','trim','getDescription','getHelpMessage','instance','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','maka','equip','determineStartRoom','initialize','8747aOBeJr'];a45c=function(){return s;};return a45c();}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a45k(0x150)];[a45k(0x12b)];[a45k(0x13a)];['rooms'];constructor(a,b){const l=a45k;this[l(0x12b)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0x150)][l(0x144)](),this[l(0x12b)]['currentLocation']=this['determineStartRoom'](),this[l(0x12f)]();}['registerCommands'](){const m=a45k;CommandFactory[m(0x149)](m(0x12a),LookCommand),CommandFactory[m(0x149)]('go',GoCommand),CommandFactory['registerCommand'](m(0x132),TakeCommand),CommandFactory[m(0x149)](m(0x138),UseCommand),CommandFactory[m(0x149)](m(0x142),EquipCommand),CommandFactory[m(0x149)]('unequip',UnequipCommand),CommandFactory[m(0x149)](m(0x14c),SolveCommand),CommandFactory[m(0x149)]('drop',DropCommand),CommandFactory[m(0x149)]('unlock',UnlockCommand),CommandFactory['registerCommand']('lock',LockCommand),CommandFactory['registerCommand'](m(0x12e),SearchCommand),CommandFactory['registerCommand'](m(0x146),SayCommand);}[a45k(0x143)](){const n=a45k;return this[n(0x150)][n(0x143)]();}[a45k(0x135)](){const o=a45k;return o(0x14b)+this[o(0x12b)][o(0x12d)];}static[a45k(0x13b)](a,b){const p=a45k;return!Game[p(0x13f)]&&(Game[p(0x13f)]=new Game(a,b)),Game['instance'];}[a45k(0x121)](a){const q=a45k,b=a[q(0x13c)]()[q(0x122)]('\x20'),c=b[0x0][q(0x11f)](),d=b[q(0x134)](0x1);if(c==='quit')return null;if(c===q(0x141))return q(0x14e);if(c===q(0x131))return this['getHelpMessage']();if(c===q(0x127))return'';const e={'actor':this['player'],'rooms':this[q(0x150)][q(0x136)](),'scene':this[q(0x150)]},f=CommandFactory[q(0x151)](c,e);if(f){const g=f[q(0x120)](d);return g;}return q(0x140)+c+'\x22.';}[a45k(0x13e)](){const r=a45k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x133);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x13d)]()+'\x0a';}}return b+=r(0x137),b+=r(0x129),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x114))/0x1*(-parseInt(f(0x11d))/0x2)+parseInt(f(0x118))/0x3*(parseInt(f(0x11c))/0x4)+parseInt(f(0x117))/0x5*(-parseInt(f(0x10f))/0x6)+-parseInt(f(0x116))/0x7*(parseInt(f(0x11a))/0x8)+-parseInt(f(0x111))/0x9+parseInt(f(0x113))/0xa+parseInt(f(0x11b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x34bc5));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x119)]()['search']('(((.+)+)+)+$')['toString']()[h(0x115)](a46a)['search'](h(0x110));});a46a();function a46c(){var i=['1624293YFsJqC','apply','2345440nIaOin','129798iFOorl','constructor','2214639VSIoVH','820VGCfUU','3XSsEMi','toString','8ClWUEm','5923742hgJeqE','1286276yWfIdK','4lrwrbT','4470Pxremn','(((.+)+)+)+$'];a46c=function(){return i;};return a46c();}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-0x10f;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 a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xb7;var f=c[d];return f;},a46d(a,b);}function a46c(){var i=['search','4290461aGaDxq','(((.+)+)+)+$','2680368yHdzRQ','27jlxNIt','55QHqFYj','9276392olznwn','1445500SUyfVM','711708wPvtKT','apply','toString','5087828IHgfLT','constructor','895165ddNpei'];a46c=function(){return i;};return a46c();}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0xc4))/0x1+-parseInt(f(0xbe))/0x2+parseInt(f(0xba))/0x3+-parseInt(f(0xc2))/0x4+parseInt(f(0xbc))/0x5*(-parseInt(f(0xbf))/0x6)+parseInt(f(0xb8))/0x7+parseInt(f(0xbd))/0x8*(parseInt(f(0xbb))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xc0f54));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0xc1)]()[h(0xb7)](h(0xb9))['toString']()[h(0xc3)](a46a)['search'](h(0xb9));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';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(0x1ec))/0x1*(-parseInt(f(0x1eb))/0x2)+-parseInt(f(0x1e1))/0x3+-parseInt(f(0x1e9))/0x4*(-parseInt(f(0x1ea))/0x5)+-parseInt(f(0x1de))/0x6+-parseInt(f(0x1e2))/0x7+-parseInt(f(0x1d3))/0x8+parseInt(f(0x1ed))/0x9*(parseInt(f(0x1d5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x9fcd1));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x1e4)]()[h(0x1d7)](h(0x1d8))[h(0x1e4)]()['constructor'](a47a)[h(0x1d7)](h(0x1d8));});a47a();function a47c(){var n=['name','attemptUnlock','3790281emfOop','3569720LxGaul','checkIfLockable','toString','\x20and\x20','To\x20','.\x20Is\x20Locked:\x20','isLockable','305528TmVBQQ','10UFcEVn','14JsUUya','118801FGCyJu','27LiJjGv','isLocked','roomA','logger','apply','Door\x20created\x20between\x20','438032IoKCoT','getInstance','5913170cKspvt','getOtherSide','search','(((.+)+)+)+$','unlockItemOrSolution','write','roomB','Failed\x20to\x20unlock\x20door:\x20','Door\x20unlocked:\x20','1653816bjbudv'];a47c=function(){return n;};return a47c();}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x1d1;var f=c[d];return f;},a47d(a,b);}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x1ef)];['roomB'];['isLocked'];[a47i(0x1d9)];[a47i(0x1df)];[a47i(0x1f0)];['isLockable'];constructor(a){var j=a47i;super(),this[j(0x1ef)]=a[j(0x1ef)],this[j(0x1db)]=a[j(0x1db)],this['isLocked']=a[j(0x1ee)]||![],this['unlockItemOrSolution']=a[j(0x1d9)],this[j(0x1df)]=a[j(0x1df)]?capitalCase(a['name']):j(0x1e6)+a['roomB'][j(0x1df)],this[j(0x1f0)]=Logger[j(0x1d4)](),this[j(0x1e8)]=!!a['unlockItemOrSolution'],this[j(0x1f0)]['write'](j(0x1d2)+this[j(0x1ef)][j(0x1df)]+j(0x1e5)+this['roomB']['name']+j(0x1e7)+this[j(0x1ee)]);}[a47i(0x1d6)](a){var k=a47i;return this[k(0x1ef)]===a?this[k(0x1db)]:this['roomA'];}[a47i(0x1e0)](a){var l=a47i;if(this['isLocked']&&this[l(0x1d9)]&&this['unlockItemOrSolution']===a)return this[l(0x1ee)]=![],this['logger'][l(0x1da)](l(0x1dd)+this[l(0x1df)]+'.\x20Used:\x20'+a),!![];return this[l(0x1f0)][l(0x1da)](l(0x1dc)+this[l(0x1df)]+'.\x20Used:\x20'+a),![];}['checkIfLocked'](){var m=a47i;return this[m(0x1ee)];}[a47i(0x1e3)](){return this['isLockable'];}}
1
+ var a47i=a47d;function a47c(){var o=['getInstance','roomB','.\x20Used:\x20','checkIfLockable','To\x20','.\x20Is\x20Locked:\x20','isLockable','Door\x20created\x20between\x20','(((.+)+)+)+$','4530771sOvBjV','apply','isLocked','unlockItemOrSolution','1875454KsANtb','363265TiPZSq','10govQpQ','constructor','44hmbnaN','306696SvNarF','toString','roomA','attemptUnlock','8pObRaL','19719AetPZk','name','Failed\x20to\x20unlock\x20door:\x20','getOtherSide','search','454364FyDwQn','\x20and\x20','1897038sssyCX','logger','write'];a47c=function(){return o;};return a47c();}(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0xab))/0x1+parseInt(f(0xa1))/0x2+parseInt(f(0xa6))/0x3*(-parseInt(f(0xa0))/0x4)+parseInt(f(0x9d))/0x5+parseInt(f(0xad))/0x6+parseInt(f(0x9c))/0x7*(-parseInt(f(0xa5))/0x8)+parseInt(f(0x98))/0x9*(parseInt(f(0x9e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x3d47c));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x99)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0xa2)]()[h(0xaa)]('(((.+)+)+)+$')[h(0xa2)]()[h(0x9f)](a47a)[h(0xaa)](h(0x97));});a47a();import{Logger}from'../utilities/logger.js';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x97;var f=c[d];return f;},a47d(a,b);}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0xa3)];[a47i(0xb1)];[a47i(0x9a)];[a47i(0x9b)];[a47i(0xa7)];['logger'];['isLockable'];constructor(a){var j=a47i;super(),this['roomA']=a[j(0xa3)],this[j(0xb1)]=a[j(0xb1)],this[j(0x9a)]=a[j(0x9a)]||![],this[j(0x9b)]=a[j(0x9b)],this[j(0xa7)]=a[j(0xa7)]?capitalCase(a[j(0xa7)]):j(0xb4)+a[j(0xb1)]['name'],this[j(0xae)]=Logger[j(0xb0)](),this['isLockable']=!!a[j(0x9b)],this[j(0xae)][j(0xaf)](j(0xb7)+this[j(0xa3)][j(0xa7)]+j(0xac)+this['roomB']['name']+j(0xb5)+this[j(0x9a)]);}[a47i(0xa9)](a){var k=a47i;return this['roomA']===a?this[k(0xb1)]:this['roomA'];}[a47i(0xa4)](a){var l=a47i;if(this[l(0x9a)]&&this['unlockItemOrSolution']&&this[l(0x9b)]===a)return this[l(0x9a)]=![],this[l(0xae)][l(0xaf)]('Door\x20unlocked:\x20'+this[l(0xa7)]+l(0xb2)+a),!![];return this['logger'][l(0xaf)](l(0xa8)+this[l(0xa7)]+l(0xb2)+a),![];}['checkIfLocked'](){var m=a47i;return this[m(0x9a)];}[a47i(0xb3)](){var n=a47i;return this[n(0xb6)];}}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x8d))/0x1*(parseInt(f(0x7e))/0x2)+-parseInt(f(0x86))/0x3+-parseInt(f(0x83))/0x4+-parseInt(f(0x77))/0x5*(parseInt(f(0x79))/0x6)+parseInt(f(0x84))/0x7+-parseInt(f(0x9e))/0x8+parseInt(f(0x88))/0x9*(parseInt(f(0x96))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x1f1d2));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x73)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x75)]()[h(0x92)]('(((.+)+)+)+$')['toString']()['constructor'](a48a)[h(0x92)](h(0x74));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x73;let f=c[d];return f;},a48d(a,b);}function a48c(){const r=['30lNIIkF','.\x20Item\x20not\x20found.','set','Failed\x20to\x20remove\x20item:\x20','removeItem','92SrBbgX','has','logger','values','Listed\x20items\x20in\x20inventory:\x20','710200GTgvbP','126077HCFXrQ','listItems','226017xdviCh','weight','1359aGOEUU','getWeight','getInstance','name','toLowerCase','1151eaedXn','\x20from\x20inventory.','Retrieved\x20details\x20for\x20item:\x20','join','Checked\x20for\x20item:\x20','search','addItem','items','write','41410yXYTQL','Removed\x20item:\x20','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','.\x20Exists:\x20','\x20in\x20','keys','get','getItem','219280rdoYpi','apply','(((.+)+)+)+$','toString','getAllItems','182615cmEZai','delete'];a48c=function(){return r;};return a48c();}export class Inventory extends AbstractInventory{[a48i(0x94)];[a48i(0x80)];constructor(){const j=a48i;super(),this[j(0x94)]=new Map(),this['logger']=Logger[j(0x8a)]();}[a48i(0x93)](a){const k=a48i;this[k(0x94)][k(0x7b)](a[k(0x8b)][k(0x8c)](),a),this['logger']['write']('Added\x20item:\x20'+a[k(0x8b)]+'\x20to\x20inventory.');}[a48i(0x7d)](a){const l=a48i,b=this[l(0x9d)](a);if(b)return this[l(0x94)][l(0x78)](a['toLowerCase']()),this['logger'][l(0x95)](l(0x97)+a+l(0x8e)),b;return this['logger'][l(0x95)](l(0x7c)+a+l(0x7a)),null;}['hasItem'](a){const m=a48i,b=this[m(0x94)][m(0x7f)](a[m(0x8c)]()),c=[...this['items'][m(0x9b)]()];return this['logger']['write'](m(0x91)+a+m(0x9a)+c[m(0x90)](',\x20')+m(0x99)+b+'.'),b;}[a48i(0x9d)](a){const n=a48i,b=this['items'][n(0x9c)](a[n(0x8c)]())||null;return b?this[n(0x80)][n(0x95)](n(0x8f)+a+'.'):this[n(0x80)]['write'](n(0x98)+a+n(0x7a)),b;}[a48i(0x85)](){const o=a48i,a=[...this[o(0x94)][o(0x9b)]()],b=a['map'](c=>capitalCase(c));return this[o(0x80)][o(0x95)](o(0x82)+b['join'](',\x20')+'.'),a;}[a48i(0x89)](){const p=a48i;let a=0x0;for(const b of this['items'][p(0x81)]()){a+=b[p(0x87)];}return a;}[a48i(0x76)](){const q=a48i;return[...this[q(0x94)][q(0x81)]()];}}
1
+ const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x19b))/0x1*(parseInt(f(0x1ae))/0x2)+-parseInt(f(0x1af))/0x3+parseInt(f(0x1ba))/0x4+parseInt(f(0x1bf))/0x5*(parseInt(f(0x1a2))/0x6)+-parseInt(f(0x1a1))/0x7+parseInt(f(0x1a6))/0x8*(-parseInt(f(0x1b6))/0x9)+-parseInt(f(0x1a9))/0xa*(-parseInt(f(0x197))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x63c56));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a['toString']()['search'](h(0x1bc))[h(0x1b7)]()[h(0x1a8)](a48a)[h(0x1c1)](h(0x1bc));});a48a();function a48c(){const r=['logger','401942MWlHzw','\x20to\x20inventory.','write','getInstance','Retrieved\x20details\x20for\x20item:\x20','has','1482943oJvtHp','12MzpaMh','Removed\x20item:\x20','delete','get','48ZgduiL','toLowerCase','constructor','320Icqtjq','keys','Checked\x20for\x20item:\x20','values','getAllItems','4FrpkGn','153723HdnKZq','addItem','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','Listed\x20items\x20in\x20inventory:\x20','hasItem','Added\x20item:\x20','items','244899mVnmlX','toString','getWeight','.\x20Item\x20not\x20found.','297504QrIIYn','map','(((.+)+)+)+$','join','getItem','196115fhpLSZ','weight','search','\x20from\x20inventory.','\x20in\x20','510840CnDjdR','apply','set'];a48c=function(){return r;};return a48c();}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x197;let f=c[d];return f;},a48d(a,b);}export class Inventory extends AbstractInventory{[a48i(0x1b5)];['logger'];constructor(){const j=a48i;super(),this['items']=new Map(),this[j(0x19a)]=Logger[j(0x19e)]();}[a48i(0x1b0)](a){const k=a48i;this['items'][k(0x199)](a['name'][k(0x1a7)](),a),this[k(0x19a)]['write'](k(0x1b4)+a['name']+k(0x19c));}['removeItem'](a){const l=a48i,b=this[l(0x1be)](a);if(b)return this['items'][l(0x1a4)](a[l(0x1a7)]()),this[l(0x19a)][l(0x19d)](l(0x1a3)+a+l(0x1c2)),b;return this[l(0x19a)][l(0x19d)]('Failed\x20to\x20remove\x20item:\x20'+a+l(0x1b9)),null;}[a48i(0x1b3)](a){const m=a48i,b=this['items'][m(0x1a0)](a[m(0x1a7)]()),c=[...this[m(0x1b5)][m(0x1aa)]()];return this[m(0x19a)][m(0x19d)](m(0x1ab)+a+m(0x1c3)+c[m(0x1bd)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}['getItem'](a){const n=a48i,b=this[n(0x1b5)][n(0x1a5)](a[n(0x1a7)]())||null;return b?this['logger'][n(0x19d)](n(0x19f)+a+'.'):this[n(0x19a)]['write'](n(0x1b1)+a+n(0x1b9)),b;}['listItems'](){const o=a48i,a=[...this['items'][o(0x1aa)]()],b=a[o(0x1bb)](c=>capitalCase(c));return this[o(0x19a)]['write'](o(0x1b2)+b['join'](',\x20')+'.'),a;}[a48i(0x1b8)](){const p=a48i;let a=0x0;for(const b of this['items']['values']()){a+=b[p(0x1c0)];}return a;}[a48i(0x1ad)](){const q=a48i;return[...this[q(0x1b5)][q(0x1ac)]()];}}
@@ -1 +1 @@
1
- var a49i=a49d;function a49c(){var l=['7rwMmEl','weight','265130dDDKYA','texture','4233688MNPDwe','search','apply','2617863XJZzqy','33070tFLJEz','description','constructor','uuid','You\x20use\x20the\x20','category','toString','name','shape','624llfqhB','3573856xYtKfj','use','rating','20710720LHXIYt','color','size','9800217VmHrXN','1ftBgOd'];a49c=function(){return l;};return a49c();}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x13e))/0x1*(-parseInt(f(0x141))/0x2)+-parseInt(f(0x146))/0x3+-parseInt(f(0x137))/0x4+parseInt(f(0x12d))/0x5*(parseInt(f(0x136))/0x6)+parseInt(f(0x13f))/0x7*(parseInt(f(0x143))/0x8)+-parseInt(f(0x13d))/0x9+parseInt(f(0x13a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x8a1ca));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x145)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x133)]()[h(0x144)]('(((.+)+)+)+$')[h(0x133)]()[h(0x12f)](a49a)[h(0x144)]('(((.+)+)+)+$');});function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x12d;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(0x130)];[a49i(0x134)];['description'];['size'];['category'];[a49i(0x135)];[a49i(0x13b)];[a49i(0x142)];[a49i(0x139)];[a49i(0x140)];constructor(a){var j=a49i;super(),this[j(0x134)]=a[j(0x134)],this[j(0x12e)]=a[j(0x12e)],this[j(0x13c)]=a[j(0x13c)],this['category']=a[j(0x132)],this[j(0x135)]=a[j(0x135)],this[j(0x13b)]=a[j(0x13b)],this[j(0x142)]=a['texture'],this[j(0x139)]=a[j(0x139)],this[j(0x140)]=a[j(0x140)],this[j(0x130)]=a49e();}[a49i(0x138)](){var k=a49i;return k(0x131)+this[k(0x134)]+'.\x20Nothing\x20special\x20happens.';}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0xa3))/0x1*(-parseInt(f(0xa1))/0x2)+parseInt(f(0xa4))/0x3*(parseInt(f(0x96))/0x4)+-parseInt(f(0xa7))/0x5*(parseInt(f(0x9d))/0x6)+parseInt(f(0x92))/0x7*(parseInt(f(0x90))/0x8)+-parseInt(f(0x9a))/0x9*(-parseInt(f(0xa9))/0xa)+parseInt(f(0xa0))/0xb*(parseInt(f(0xaa))/0xc)+-parseInt(f(0x9c))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xe5225));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x90;var f=c[d];return f;},a49d(a,b);}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x9e)]()[h(0xa8)](h(0xac))['toString']()[h(0x91)](a49a)[h(0xa8)]('(((.+)+)+)+$');});a49a();function a49c(){var l=['apply','55483233SuoMRW','12LMZfPS','toString','size','99vZZnlq','156084oOcMpL','uuid','12cEiYOi','708681sfNTDH','description','.\x20Nothing\x20special\x20happens.','1381560QZbGCI','search','430jHEnic','1035360vUuoeC','texture','(((.+)+)+)+$','270968ATTrti','constructor','343IzFgxi','weight','shape','rating','28EiFQog','name','category','color','153378TDJonb'];a49c=function(){return l;};return a49c();}import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0xa2)];['name'];[a49i(0xa5)];[a49i(0x9f)];[a49i(0x98)];['shape'];[a49i(0x99)];[a49i(0xab)];[a49i(0x95)];[a49i(0x93)];constructor(a){var j=a49i;super(),this['name']=a[j(0x97)],this[j(0xa5)]=a[j(0xa5)],this[j(0x9f)]=a[j(0x9f)],this[j(0x98)]=a[j(0x98)],this['shape']=a[j(0x94)],this[j(0x99)]=a[j(0x99)],this[j(0xab)]=a['texture'],this[j(0x95)]=a['rating'],this['weight']=a[j(0x93)],this[j(0xa2)]=a49e();}['use'](){var k=a49i;return'You\x20use\x20the\x20'+this[k(0x97)]+k(0xa6);}}
@@ -1 +1 @@
1
- function a50c(){const o=['2397290jylPpO','scene','autonomousMove','508790gtOdjp','speak','(((.+)+)+)+$','33FIAZJR','moveTo','execute','414810kdjDNF','length','189llvHdK','4277170MFLDtb','constructor','floor','_name','941760pHgkBb','apply','12qzjGpa','search','403404gRxBdN','rooms','toString','96504UwGgWE','_dialogue','1ehcLwF','random'];a50c=function(){return o;};return a50c();}function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xef;let f=c[d];return f;},a50d(a,b);}const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0xfe))/0x1*(parseInt(f(0x103))/0x2)+parseInt(f(0xf9))/0x3*(parseInt(f(0xf7))/0x4)+parseInt(f(0x100))/0x5+parseInt(f(0x109))/0x6+parseInt(f(0xf0))/0x7*(parseInt(f(0xfc))/0x8)+parseInt(f(0xf5))/0x9+-parseInt(f(0xf1))/0xa*(parseInt(f(0x106))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x5652e));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0xfb)]()[h(0xf8)](h(0x105))[h(0xfb)]()[h(0xf2)](a50a)[h(0xf8)](h(0x105));});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a50i(0xfd)];[a50i(0xfa)];[a50i(0x101)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0xf4)]=a,this[j(0xfd)]=b,this[j(0xfa)]=c;}get['name'](){const k=a50i;return this[k(0xf4)];}[a50i(0x104)](){const l=a50i;return this[l(0xfd)][Math[l(0xf3)](Math['random']()*this['_dialogue']['length'])];}[a50i(0x102)](a){const m=a50i,b=a[Math[m(0xf3)](Math[m(0xff)]()*a[m(0xef)])];this['moveTo'](b['name']);}[a50i(0x107)](a){const n=a50i,b={'actor':this,'rooms':this[n(0xfa)],'scene':this[n(0x101)]},c=new GoCommand(b);c[n(0x108)]([a]);}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x1df))/0x1+-parseInt(f(0x1d5))/0x2*(parseInt(f(0x1e9))/0x3)+-parseInt(f(0x1d4))/0x4+parseInt(f(0x1dd))/0x5+-parseInt(f(0x1d6))/0x6+-parseInt(f(0x1e2))/0x7*(parseInt(f(0x1e5))/0x8)+parseInt(f(0x1d7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x2ed5b));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1d0;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(0x1e7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()[h(0x1db)]('(((.+)+)+)+$')[h(0x1e4)]()[h(0x1de)](a50a)['search'](h(0x1e0));});a50a();function a50c(){const o=['name','speak','_dialogue','search','rooms','1764030PZaCQf','constructor','370145IgZbvh','(((.+)+)+)+$','length','49laIKYh','_name','toString','22160pbYtub','moveTo','apply','floor','870YkAxXe','scene','autonomousMove','execute','random','165508bjnsjP','1292pxJgyj','1095210FHFpGl','5758344huweaN'];a50c=function(){return o;};return a50c();}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x1e3)];['_dialogue'];[a50i(0x1dc)];[a50i(0x1d0)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x1e3)]=a,this[j(0x1da)]=b,this[j(0x1dc)]=c;}get[a50i(0x1d8)](){const k=a50i;return this[k(0x1e3)];}[a50i(0x1d9)](){const l=a50i;return this[l(0x1da)][Math[l(0x1e8)](Math['random']()*this[l(0x1da)]['length'])];}[a50i(0x1d1)](a){const m=a50i,b=a[Math[m(0x1e8)](Math[m(0x1d3)]()*a[m(0x1e1)])];this[m(0x1e6)](b[m(0x1d8)]);}[a50i(0x1e6)](a){const n=a50i,b={'actor':this,'rooms':this[n(0x1dc)],'scene':this[n(0x1d0)]},c=new GoCommand(b);c[n(0x1d2)]([a]);}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0xee))/0x1+parseInt(f(0x10c))/0x2+-parseInt(f(0xf4))/0x3*(parseInt(f(0x122))/0x4)+-parseInt(f(0xec))/0x5+parseInt(f(0xdc))/0x6*(-parseInt(f(0x11d))/0x7)+-parseInt(f(0x127))/0x8+parseInt(f(0xe0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x827c8));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xe7)]()['search'](h(0x101))[h(0xe7)]()['constructor'](a51a)[h(0x11e)]('(((.+)+)+)+$');});a51a();function a51c(){const B=['hear','297712LsxMoi','Max\x20carrying\x20weight\x20must\x20be\x20positive.','enterRoom','maxCarryingWeight','Failed\x20to\x20remove\x20','_inventory','torso','gloves','arm\x20armor','armarmor','You\x20can\x27t\x20equip\x20','leg\x20armor','write','6618QvZJkH','BodyArmor','includes','bind','9662400foOUkl','legarmor','inventoryItems','hat','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','_playerName','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','toString','arms','Removed\x20','log','\x20says:\x20\x22','4332725ifbuQN','\x20is\x20now\x20listening\x20in\x20room\x20','714223CAxHBm','values','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','hasItem','determineEquipmentSlot','Invalid\x20category\x20or\x20slot:\x20','12glmTWW','toLowerCase','You\x20equipped\x20','Added\x20','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','weight','removeInventory','initialEquipment','equipment','startLocation','_maxCarryingWeight','removeItem','name','(((.+)+)+)+$','currentWeight','A\x20featureless\x20room','shield','Nexus','ArmArmor','legs','error','unequipBySlot','speak','helmet','1831798faeSBz','leftHand','apply','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','getWeight','Hat','_equipment','Gloves','addInventory','logger','\x20to\x20player\x27s\x20inventory.','_currentLocation','rightHand','category','off','head','playerName','1491yUhMXk','search','boots','canEquip','getInstance','1030552pTRDeZ','addItem','bodyarmor','currentLocation'];a51c=function(){return B;};return a51c();}import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xd5;let f=c[d];return f;},a51d(a,b);}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(0xe5)];[a51i(0x117)];[a51i(0x12c)];[a51i(0x112)];[a51i(0xfe)]=0x32;[a51i(0x115)];constructor(a){const j=a51i;super(),this[j(0xe5)]=a[j(0x11c)],this[j(0x117)]=a[j(0xfd)]||new Room({'name':j(0x105),'description':j(0x103)}),this[j(0x12c)]=new Inventory(),this['logger']=Logger[j(0x121)]();if(a?.[j(0xe2)])for(const b of a[j(0xe2)]){this['_inventory'][j(0x123)](b);}this[j(0x112)]=a?.[j(0xfb)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x100)](){const k=a51i;return this[k(0xe5)];}get[a51i(0x125)](){const l=a51i;return this[l(0x117)];}set['currentLocation'](a){const m=a51i;this[m(0x117)]!==a&&(this['leaveRoom'](),this[m(0x129)](a)),this[m(0x117)]=a;}get['inventory'](){return this['_inventory'];}get[a51i(0xfc)](){return this['_equipment'];}set[a51i(0xfc)](a){const n=a51i;this[n(0x112)]=a;}get[a51i(0x12a)](){const o=a51i;return this[o(0xfe)];}set[a51i(0x12a)](a){const p=a51i;a>0x0?this['_maxCarryingWeight']=a:console[p(0x108)](p(0x128));}get[a51i(0x102)](){const q=a51i;let a=this[q(0x12c)][q(0x110)]();for(const b in this[q(0x112)]){const c=this[q(0x112)][b];c&&(a+=c[q(0xf9)]);}return a;}[a51i(0x114)](a){const r=a51i;if(this[r(0x102)]+a[r(0xf9)]>this[r(0x12a)]){this[r(0x115)][r(0xdb)](r(0x10f));throw new Error(r(0xe4));}this[r(0x12c)][r(0x123)](a),this['logger'][r(0xdb)](r(0xf7)+a[r(0x100)]+r(0x116));}[a51i(0xfa)](a){const s=a51i;if(this['_inventory'][s(0xff)](a['name']))return this[s(0x115)][s(0xdb)](s(0xe9)+a[s(0x100)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[s(0x115)][s(0xdb)](s(0x12b)+a[s(0x100)]+'\x20from\x20player\x27s\x20inventory.'),![];}['equip'](a){const t=a51i;if(!this[t(0x12c)][t(0xf1)](a[t(0x100)]))return'You\x20don\x27t\x20have\x20'+a[t(0x100)]+'\x20in\x20your\x20inventory.';if(!this[t(0x120)](a))return t(0xd9)+a[t(0x100)]+'.';const b=this[t(0xf2)](a[t(0x119)]);if(!b)return a['name']+t(0xf0);if(this[t(0xfc)][b])return t(0xf8)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[t(0xfc)][b]=a,this[t(0xfa)](a),t(0xf6)+a[t(0x100)]+'.';}['unequip'](a){const u=a51i;let b=a;if(!this[u(0xfc)][camelCase(b)]){b=this[u(0xf2)](a);if(!b)return u(0xf3)+a+'.';}return this[u(0x109)](b);}[a51i(0xf2)](a){const v=a51i;switch(a[v(0xf5)]()){case Category['Weapon'][v(0xf5)]():return v(0x118);case Category['Shield'][v(0xf5)]():return v(0x10d);case Category[v(0x113)]['toLowerCase']():return v(0xd6);case Category['Helmet'][v(0xf5)]():case Category[v(0x111)][v(0xf5)]():return v(0x11b);case Category['Boots']['toLowerCase']():return'feet';case Category['LegArmor'][v(0xf5)]():return v(0x107);case Category[v(0x106)][v(0xf5)]():return v(0xe8);case Category[v(0xdd)][v(0xf5)]():return v(0xd5);case'weapon':return v(0x118);case v(0x104):return'leftHand';case'gloves':return v(0xd6);case v(0x10b):case v(0xe3):return v(0x11b);case v(0x11f):return'feet';case v(0xda):case v(0xe1):return v(0x107);case v(0xd7):case v(0xd8):return'arms';case'body\x20armor':case v(0x124):case v(0xd5):return v(0xd5);default:return null;}}[a51i(0x120)](a){const w=a51i;return Object[w(0xef)](Category)[w(0xde)](a[w(0x119)]);}[a51i(0x109)](a){const x=a51i,b=this[x(0xfc)][a];if(!b)return x(0xe6)+a+'\x20slot.';return this[x(0x114)](b),this[x(0xfc)][a]=null,'You\x20unequipped\x20'+b[x(0x100)]+'.';}['hear'](a,b){const y=a51i;a!==this&&this[y(0x115)][y(0xea)](a[y(0x100)]+y(0xeb)+b+'\x22');}[a51i(0x129)](a){const z=a51i;this[z(0x117)]=a,a['on'](z(0x10a),this[z(0x126)][z(0xdf)](this)),this[z(0x115)][z(0xdb)](this[z(0x100)]+z(0xed)+a[z(0x100)]);}['leaveRoom'](){const A=a51i;this[A(0x117)]&&(this['_currentLocation'][A(0x11a)](A(0x10a),this[A(0x126)][A(0xdf)](this)),this['logger'][A(0xdb)](this['name']+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[A(0x117)][A(0x100)]));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x8f))/0x1*(-parseInt(f(0xa5))/0x2)+-parseInt(f(0xe7))/0x3*(parseInt(f(0xc5))/0x4)+parseInt(f(0xd0))/0x5*(-parseInt(f(0xd2))/0x6)+-parseInt(f(0xb7))/0x7+-parseInt(f(0xde))/0x8+-parseInt(f(0x9a))/0x9*(parseInt(f(0x9e))/0xa)+parseInt(f(0xea))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x9b0f8));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xc1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a['toString']()[h(0xe5)]('(((.+)+)+)+$')[h(0xe8)]()[h(0xbc)](a51a)[h(0xe5)](h(0x93));});a51a();function a51c(){const C=['determineEquipmentSlot','initialEquipment','leftHand','hasItem','\x20in\x20your\x20inventory.','gloves','_maxCarryingWeight','Gloves','5OMEIEl','feet','addInventory','Max\x20carrying\x20weight\x20must\x20be\x20positive.','(((.+)+)+)+$','category','BodyArmor','hear','shield','leaveRoom','LegArmor','2196nSlqBo','_currentLocation','equip','write','42820IGoMXd','maxCarryingWeight','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','armarmor','currentWeight','legs','off','381942HGxiAy','error','You\x20equipped\x20','inventoryItems','_equipment','ArmArmor','You\x20don\x27t\x20have\x20','A\x20featureless\x20room','unequipBySlot','Weapon','Shield','\x20slot.','logger','body\x20armor','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','weapon','Removed\x20','_playerName','4583355GviGHO','.\x20You\x20must\x20unequip\x20it\x20first.','log','Nexus','arm\x20armor','constructor','unequip','Boots','legarmor','\x20from\x20player\x27s\x20inventory.','apply','rightHand','Failed\x20to\x20remove\x20','canEquip','4lhiAkv','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','currentLocation','equipment','playerName','toLowerCase','removeInventory','head','_inventory','leg\x20armor','\x20to\x20player\x27s\x20inventory.','15rnQqRB','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','1085832rAlBKD','Added\x20','speak','getWeight','enterRoom','bodyarmor','helmet','addItem','values','bind','name','\x20says:\x20\x22','5589136toAuLn','startLocation','boots','hat','weight','Helmet','\x20is\x20no\x20longer\x20listeng\x20in\x20','search','Invalid\x20category\x20or\x20slot:\x20','3499278sTLcyM','toString','You\x20unequipped\x20','41666130txpPQN','You\x20can\x27t\x20equip\x20','torso'];a51c=function(){return C;};return a51c();}import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x89;let f=c[d];return f;},a51d(a,b);}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{['_playerName'];[a51i(0x9b)];[a51i(0xcd)];[a51i(0xa9)];[a51i(0x8d)]=0x32;['logger'];constructor(a){const j=a51i;super(),this['_playerName']=a[j(0xc9)],this[j(0x9b)]=a[j(0xdf)]||new Room({'name':j(0xba),'description':j(0xac)}),this[j(0xcd)]=new Inventory(),this[j(0xb1)]=Logger['getInstance']();if(a?.[j(0xa8)])for(const b of a[j(0xa8)]){this[j(0xcd)]['addItem'](b);}this['_equipment']=a?.[j(0xee)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0xdc)](){const k=a51i;return this[k(0xb6)];}get[a51i(0xc7)](){return this['_currentLocation'];}set[a51i(0xc7)](a){const l=a51i;this[l(0x9b)]!==a&&(this[l(0x98)](),this[l(0xd6)](a)),this['_currentLocation']=a;}get['inventory'](){const m=a51i;return this[m(0xcd)];}get[a51i(0xc8)](){const n=a51i;return this[n(0xa9)];}set['equipment'](a){const o=a51i;this[o(0xa9)]=a;}get[a51i(0x9f)](){const p=a51i;return this[p(0x8d)];}set['maxCarryingWeight'](a){const q=a51i;a>0x0?this[q(0x8d)]=a:console[q(0xa6)](q(0x92));}get['currentWeight'](){const r=a51i;let a=this[r(0xcd)][r(0xd5)]();for(const b in this['_equipment']){const c=this[r(0xa9)][b];c&&(a+=c[r(0xe2)]);}return a;}[a51i(0x91)](a){const s=a51i;if(this[s(0xa2)]+a[s(0xe2)]>this[s(0x9f)]){this[s(0xb1)][s(0x9d)](s(0xc6));throw new Error(s(0xa0));}this['_inventory'][s(0xd9)](a),this[s(0xb1)][s(0x9d)](s(0xd3)+a['name']+s(0xcf));}['removeInventory'](a){const t=a51i;if(this[t(0xcd)]['removeItem'](a[t(0xdc)]))return this['logger'][t(0x9d)](t(0xb5)+a[t(0xdc)]+t(0xc0)),!![];return this['logger'][t(0x9d)](t(0xc3)+a[t(0xdc)]+t(0xc0)),![];}[a51i(0x9c)](a){const u=a51i;if(!this[u(0xcd)][u(0x8a)](a[u(0xdc)]))return u(0xab)+a['name']+u(0x8b);if(!this['canEquip'](a))return u(0xeb)+a[u(0xdc)]+'.';const b=this['determineEquipmentSlot'](a['category']);if(!b)return a[u(0xdc)]+u(0xd1);if(this[u(0xc8)][b])return u(0xb3)+b+u(0xb8);return this[u(0xc8)][b]=a,this[u(0xcb)](a),u(0xa7)+a[u(0xdc)]+'.';}[a51i(0xbd)](a){const v=a51i;let b=a;if(!this[v(0xc8)][camelCase(b)]){b=this[v(0xed)](a);if(!b)return v(0xe6)+a+'.';}return this[v(0xad)](b);}[a51i(0xed)](a){const w=a51i;switch(a[w(0xca)]()){case Category[w(0xae)][w(0xca)]():return w(0xc2);case Category[w(0xaf)][w(0xca)]():return w(0x89);case Category[w(0x8e)][w(0xca)]():return w(0x8c);case Category[w(0xe3)][w(0xca)]():case Category['Hat'][w(0xca)]():return w(0xcc);case Category[w(0xbe)][w(0xca)]():return'feet';case Category[w(0x99)][w(0xca)]():return'legs';case Category[w(0xaa)][w(0xca)]():return'arms';case Category[w(0x95)]['toLowerCase']():return w(0xec);case w(0xb4):return'rightHand';case w(0x97):return'leftHand';case w(0x8c):return w(0x8c);case w(0xd8):case w(0xe1):return w(0xcc);case w(0xe0):return w(0x90);case w(0xce):case w(0xbf):return w(0xa3);case w(0xbb):case w(0xa1):return'arms';case w(0xb2):case w(0xd7):case'torso':return'torso';default:return null;}}[a51i(0xc4)](a){const x=a51i;return Object[x(0xda)](Category)['includes'](a[x(0x94)]);}[a51i(0xad)](a){const y=a51i,b=this[y(0xc8)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+y(0xb0);return this[y(0x91)](b),this[y(0xc8)][a]=null,y(0xe9)+b['name']+'.';}[a51i(0x96)](a,b){const z=a51i;a!==this&&this[z(0xb1)][z(0xb9)](a[z(0xdc)]+z(0xdd)+b+'\x22');}['enterRoom'](a){const A=a51i;this[A(0x9b)]=a,a['on'](A(0xd4),this[A(0x96)][A(0xdb)](this)),this[A(0xb1)][A(0x9d)](this[A(0xdc)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[A(0xdc)]);}[a51i(0x98)](){const B=a51i;this[B(0x9b)]&&(this['_currentLocation'][B(0xa4)](B(0xd4),this[B(0x96)][B(0xdb)](this)),this[B(0xb1)][B(0x9d)](this[B(0xdc)]+B(0xe4)+this[B(0x9b)][B(0xdc)]));}}
@@ -1 +1 @@
1
- function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x161;var f=c[d];return f;},a52d(a,b);}var a52i=a52d;function a52c(){var n=['4904844lwtsQP','1999610tYVEtP','successMessage','failureMessage','rewardItem','requiredPhrase','286756LVaDzy','(((.+)+)+)+$','750420zRixWh','write','requiredItem','24pcdQkD','210809alOtsx','matchesRequiredPhrase','apply','constructor','toString','solved','7PMOUcO','84360vMzsFh','search','logger','You\x20have\x20already\x20solved\x20this\x20puzzle.','getInstance','6PeELfA','hasRequiredItem','riddle','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','You\x20solved\x20the\x20puzzle!','5713947UDJflH','209NdSBbP'];a52c=function(){return n;};return a52c();}(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x179))/0x1*(-parseInt(f(0x165))/0x2)+-parseInt(f(0x178))/0x3*(parseInt(f(0x173))/0x4)+parseInt(f(0x16e))/0x5+parseInt(f(0x16d))/0x6*(parseInt(f(0x17f))/0x7)+parseInt(f(0x180))/0x8+parseInt(f(0x16b))/0x9+parseInt(f(0x175))/0xa*(-parseInt(f(0x16c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x79145));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x17b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x17d)]()[h(0x161)](h(0x174))['toString']()[h(0x17c)](a52a)[h(0x161)](h(0x174));});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x162)]=Logger[a52i(0x164)]();[a52i(0x17e)]=![];[a52i(0x177)];[a52i(0x172)];['riddle'];[a52i(0x171)];['successMessage'];[a52i(0x170)];constructor(a){var j=a52i;super(),this[j(0x177)]=a['requiredItem'],this[j(0x172)]=a[j(0x172)],this['riddle']=a[j(0x167)],this[j(0x171)]=a['rewardItem'],this[j(0x16f)]=a[j(0x16f)]||j(0x16a),this[j(0x170)]=a['failureMessage']||j(0x168);}[a52i(0x166)](a){var k=a52i;if(this[k(0x177)])return a['hasItem'](this[k(0x177)]);return![];}[a52i(0x17a)](a){var l=a52i;return this[l(0x172)]===a;}['solve'](a,b){var m=a52i;if(this[m(0x17e)])return this[m(0x162)][m(0x176)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':m(0x163)};return this['hasRequiredItem'](b)||this[m(0x17a)](a)?(this[m(0x17e)]=!![],this['logger']['write']('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[m(0x16f)]}):(this[m(0x162)]['write'](m(0x169)),{'success':![],'message':this['failureMessage']});}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x15a))/0x1*(-parseInt(f(0x166))/0x2)+-parseInt(f(0x14d))/0x3*(-parseInt(f(0x152))/0x4)+parseInt(f(0x162))/0x5+-parseInt(f(0x159))/0x6+-parseInt(f(0x156))/0x7*(-parseInt(f(0x155))/0x8)+-parseInt(f(0x149))/0x9*(-parseInt(f(0x14b))/0xa)+-parseInt(f(0x167))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x709ce));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x14a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x160)]()[h(0x15f)](h(0x15c))[h(0x160)]()[h(0x158)](a52a)['search'](h(0x15c));});function a52c(){var m=['681872OwmPme','7SsndCr','solve','constructor','1900134CuZumH','3715OsWmtc','You\x20solved\x20the\x20puzzle!','(((.+)+)+)+$','logger','solved','search','toString','Puzzle:\x20Correct\x20solution\x20provided.','3588625BwFSyZ','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','riddle','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','226NvZCls','4983781DWybzF','getInstance','rewardItem','hasItem','27270deAxhO','apply','1420Vfzhjn','requiredItem','626397oLgfLm','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','matchesRequiredPhrase','requiredPhrase','successMessage','8zKnhNU','write','failureMessage'];a52c=function(){return m;};return a52c();}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x149;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{[a52i(0x15d)]=Logger[a52i(0x168)]();['solved']=![];['requiredItem'];['requiredPhrase'];[a52i(0x164)];[a52i(0x169)];[a52i(0x151)];['failureMessage'];constructor(a){var j=a52i;super(),this[j(0x14c)]=a['requiredItem'],this[j(0x150)]=a[j(0x150)],this[j(0x164)]=a[j(0x164)],this[j(0x169)]=a[j(0x169)],this[j(0x151)]=a[j(0x151)]||j(0x15b),this['failureMessage']=a['failureMessage']||j(0x163);}['hasRequiredItem'](a){var k=a52i;if(this[k(0x14c)])return a[k(0x16a)](this[k(0x14c)]);return![];}[a52i(0x14f)](a){return this['requiredPhrase']===a;}[a52i(0x157)](a,b){var l=a52i;if(this[l(0x15e)])return this['logger'][l(0x153)](l(0x14e)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this['hasRequiredItem'](b)||this[l(0x14f)](a)?(this['solved']=!![],this[l(0x15d)][l(0x153)](l(0x161)),{'success':!![],'message':this[l(0x151)]}):(this['logger']['write'](l(0x165)),{'success':![],'message':this[l(0x154)]});}}
@@ -1 +1 @@
1
- const a53h=a53d;function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x6f;let f=c[d];return f;},a53d(a,b);}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x86))/0x1*(-parseInt(f(0x6f))/0x2)+-parseInt(f(0x96))/0x3*(parseInt(f(0x74))/0x4)+-parseInt(f(0xa1))/0x5+-parseInt(f(0x97))/0x6+-parseInt(f(0xac))/0x7*(-parseInt(f(0x73))/0x8)+-parseInt(f(0x9c))/0x9+-parseInt(f(0x8c))/0xa*(-parseInt(f(0x8d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x5f427));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const g=a53d;return a53a['toString']()['search'](g(0x83))['toString']()['constructor'](a53a)[g(0x79)](g(0x83));});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 t=['256fefeiy','checkIfLocked','attemptUnlockExit','Room\x20created:\x20','44216PstLcP','2124572JKdCNV','Item\x20removed\x20from\x20room\x20','setPuzzle','write','values','search','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','exits','Checking\x20if\x20exit\x20in\x20direction\x20','DOWN','Item\x20added\x20to\x20room\x20','getInstance','west','emit','speak','(((.+)+)+)+$','hasItem','WEST','769NwdhhC','.\x20Success:\x20','south','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','roomType','\x20unlocked!','244920mdaNhk','858WEvbHI','Puzzle\x20set\x20for\x20room\x20','The\x20','isStartRoom','removeItem','puzzle','logger','findExistingDoor','set','3IeeORa','3112014scxEyO','EAST','addItem','SOUTH','roomA','2843244tftkbx','No\x20locked\x20exit\x20found\x20in\x20direction\x20','addExit','east','getExit','2977855YxuzqG','say','description','inventory','\x20is\x20locked.\x20Result:\x20','Fetching\x20exit\x20in\x20direction:\x20','\x20remains\x20locked.','name','down','roomB','getOppositeDirection','434eNtyPg','isExitLocked'];a53c=function(){return t;};return a53c();}export class Room extends AbstractRoom{['logger']=Logger[a53h(0x7f)]();['name'];[a53h(0xa3)];[a53h(0x7b)]=new Map();[a53h(0x8a)];[a53h(0x90)];[a53h(0xa4)]=new Inventory();constructor(a){const i=a53h;super(),this[i(0xa8)]=a['name'],this['description']=a[i(0xa3)],this['roomType']=a[i(0x8a)]||RoomType['INSIDE'],a[i(0x7b)]&&(this['exits']=a[i(0x7b)]||new Map()),a[i(0xa4)]&&(this['inventory']=a[i(0xa4)]),a[i(0x92)]&&(this[i(0x92)]=a[i(0x92)]),this[i(0x90)]=a['isStartRoom']||![],this[i(0x93)]['write'](i(0x72)+this['name']);}[a53h(0xa2)](a,b){const j=a53h;this[j(0x81)](j(0x82),a,b);}[a53h(0x9e)](a,b,c){const k=a53h;let d=this[k(0x94)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0x7b)]['set'](a,d),b[k(0x7b)][k(0x95)](this[k(0xab)](a),d);}[a53h(0x71)](a,b){const l=a53h,c=this[l(0x7b)]['get'](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[l(0x93)]['write'](l(0x89)+a+l(0x87)+d),d?'The\x20'+c[l(0xa8)]+l(0x8b):l(0x8f)+c[l(0xa8)]+l(0xa7);}return this[l(0x93)]['write'](l(0x9d)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a53h(0xa0)](a){const m=a53h;return this[m(0x93)][m(0x77)](m(0xa6)+a),this[m(0x7b)]['get'](a);}[a53h(0xad)](a){const n=a53h,b=this[n(0x7b)]['get'](a),c=b instanceof Door&&b[n(0x70)]();return this[n(0x93)][n(0x77)](n(0x7c)+a+n(0xa5)+c),c;}[a53h(0x99)](a){const o=a53h;this[o(0xa4)][o(0x99)](a),this[o(0x93)]['write'](o(0x7e)+this[o(0xa8)]+':\x20'+a[o(0xa8)]);}[a53h(0x91)](a){const p=a53h;this['inventory'][p(0x84)](a['name'])?(this[p(0xa4)][p(0x91)](a[p(0xa8)]),this[p(0x93)]['write'](p(0x75)+this[p(0xa8)]+':\x20'+a['name'])):this[p(0x93)][p(0x77)](p(0x7a)+this[p(0xa8)]+':\x20'+a[p(0xa8)]);}[a53h(0x76)](a){const q=a53h;this['puzzle']=a,this[q(0x93)]['write'](q(0x8e)+this['name']+':\x20'+a['riddle']);}[a53h(0xab)](a){const r=a53h;switch(a){case'north':return Direction[r(0x9a)];case r(0x88):return Direction['NORTH'];case r(0x9f):return Direction[r(0x85)];case r(0x80):return Direction[r(0x98)];case'up':return Direction[r(0x7d)];case r(0xa9):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}['findExistingDoor'](a){const s=a53h;for(const b of this[s(0x7b)][s(0x78)]()){if(b instanceof Door){if(b[s(0x9b)]===this&&b['roomB']===a||b[s(0xaa)]===this&&b['roomA']===a)return b;}}return undefined;}}
1
+ const a53h=a53d;function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x16f;let f=c[d];return f;},a53d(a,b);}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x18c))/0x1+-parseInt(f(0x1a9))/0x2+-parseInt(f(0x179))/0x3*(parseInt(f(0x1ac))/0x4)+parseInt(f(0x1a6))/0x5+parseInt(f(0x175))/0x6+-parseInt(f(0x188))/0x7*(-parseInt(f(0x18f))/0x8)+-parseInt(f(0x171))/0x9*(-parseInt(f(0x17c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xc659d));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const g=a53d;return a53a[g(0x18a)]()[g(0x191)]('(((.+)+)+)+$')[g(0x18a)]()[g(0x197)](a53a)[g(0x191)]('(((.+)+)+)+$');});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 t=['addExit','search','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','roomType','roomB','setPuzzle','constructor','set','Item\x20added\x20to\x20room\x20','addItem','getOppositeDirection','NORTH','emit','removeItem','roomA','The\x20','west','findExistingDoor','SOUTH','puzzle','write','1471585pNhczf','\x20remains\x20locked.','name','2314184NfNBIk','No\x20locked\x20exit\x20found\x20in\x20direction\x20','Invalid\x20direction:\x20','5842792regQGv','inventory','say','1479339BXUJNf','Fetching\x20exit\x20in\x20direction:\x20','checkIfLocked','Item\x20removed\x20from\x20room\x20','3544110vZdaVL','get','Room\x20created:\x20','hasItem','3mrzJFO','\x20is\x20locked.\x20Result:\x20','isExitLocked','190sUilTy','logger','EAST','\x20unlocked!','getExit','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','DOWN','.\x20Success:\x20','INSIDE','isStartRoom','Checking\x20if\x20exit\x20in\x20direction\x20','description','32578RTxgok','exits','toString','south','1187490WISGUI','Puzzle\x20set\x20for\x20room\x20','speak','1048lzvAFC'];a53c=function(){return t;};return a53c();}export class Room extends AbstractRoom{['logger']=Logger['getInstance']();[a53h(0x1a8)];[a53h(0x187)];[a53h(0x189)]=new Map();[a53h(0x194)];[a53h(0x185)];['inventory']=new Inventory();constructor(a){const i=a53h;super(),this[i(0x1a8)]=a['name'],this[i(0x187)]=a['description'],this[i(0x194)]=a[i(0x194)]||RoomType[i(0x184)],a[i(0x189)]&&(this[i(0x189)]=a['exits']||new Map()),a[i(0x16f)]&&(this[i(0x16f)]=a['inventory']),a[i(0x1a4)]&&(this['puzzle']=a[i(0x1a4)]),this['isStartRoom']=a[i(0x185)]||![],this[i(0x17d)]['write'](i(0x177)+this['name']);}[a53h(0x170)](a,b){const j=a53h;this[j(0x19d)](j(0x18e),a,b);}[a53h(0x190)](a,b,c){const k=a53h;let d=this[k(0x1a2)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0x189)][k(0x198)](a,d),b['exits'][k(0x198)](this[k(0x19b)](a),d);}['attemptUnlockExit'](a,b){const l=a53h,c=this[l(0x189)][l(0x176)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[l(0x17d)]['write'](l(0x192)+a+l(0x183)+d),d?l(0x1a0)+c['name']+l(0x17f):l(0x1a0)+c[l(0x1a8)]+l(0x1a7);}return this['logger'][l(0x1a5)](l(0x1aa)+a),l(0x193);}[a53h(0x180)](a){const m=a53h;return this[m(0x17d)]['write'](m(0x172)+a),this['exits'][m(0x176)](a);}[a53h(0x17b)](a){const n=a53h,b=this[n(0x189)]['get'](a),c=b instanceof Door&&b[n(0x173)]();return this[n(0x17d)][n(0x1a5)](n(0x186)+a+n(0x17a)+c),c;}[a53h(0x19a)](a){const o=a53h;this[o(0x16f)][o(0x19a)](a),this[o(0x17d)][o(0x1a5)](o(0x199)+this[o(0x1a8)]+':\x20'+a[o(0x1a8)]);}[a53h(0x19e)](a){const p=a53h;this['inventory'][p(0x178)](a[p(0x1a8)])?(this[p(0x16f)][p(0x19e)](a[p(0x1a8)]),this['logger'][p(0x1a5)](p(0x174)+this['name']+':\x20'+a[p(0x1a8)])):this['logger'][p(0x1a5)](p(0x181)+this['name']+':\x20'+a['name']);}[a53h(0x196)](a){const q=a53h;this['puzzle']=a,this[q(0x17d)]['write'](q(0x18d)+this[q(0x1a8)]+':\x20'+a['riddle']);}[a53h(0x19b)](a){const r=a53h;switch(a){case'north':return Direction[r(0x1a3)];case r(0x18b):return Direction[r(0x19c)];case'east':return Direction['WEST'];case r(0x1a1):return Direction[r(0x17e)];case'up':return Direction[r(0x182)];case'down':return Direction['UP'];default:throw new Error(r(0x1ab)+a);}}[a53h(0x1a2)](a){const s=a53h;for(const b of this[s(0x189)]['values']()){if(b instanceof Door){if(b[s(0x19f)]===this&&b[s(0x195)]===a||b['roomB']===this&&b[s(0x19f)]===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(0xc8))/0x1*(parseInt(i(0xf0))/0x2)+-parseInt(i(0xdb))/0x3*(parseInt(i(0xc3))/0x4)+parseInt(i(0xba))/0x5+parseInt(i(0xd1))/0x6+parseInt(i(0xb4))/0x7*(parseInt(i(0xe6))/0x8)+-parseInt(i(0xac))/0x9*(-parseInt(i(0xce))/0xa)+parseInt(i(0xe5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xb5341));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a['toString']()[k(0xc7)](k(0xae))['toString']()[k(0xc9)](a54a)['search']('(((.+)+)+)+$');});a54a();import{Logger}from'../utilities/logger.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xaa;let f=c[d];return f;},a54d(a,b);}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a54c(){const D=['3595911yrbpCr','73784qScxIT','isStartRoom','.\x20Room\x20','setPuzzle','rooms','player','addExit','keys','\x20to\x20room\x20','roomFactory','878DvweVR','roomConfiguration','setCharacterLocation','name','131895aaNGfk','createRoom','(((.+)+)+)+$','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','Added\x20item\x20','length','getInstance','56oMvpgP','characterLocations','determineStartRoom','addItem','getPlayer','write','3359465vpQooi','targetRoom','Failed\x20to\x20add\x20item\x20','exits','delete','\x27s\x20location.\x20Room\x20','push','has','warn','14396hMEvor','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','No\x20actor\x20with\x20name\x20','search','439bShGff','constructor','values','apply','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','actors','290LeUmLR','keyRequired','\x22\x20does\x20not\x20exist.','3944508jolTXC','get','generateRoomsFromConfig','Room\x20\x22','from','\x20not\x20found\x20in\x20scene.','addPuzzleToRoom','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','Scene\x20initialized\x20with\x20rooms:\x20','hasOwnProperty','1017oUIFVS','connectRooms','allActors','Failed\x20to\x20set\x20','currentLocation','set','getActor','removeActor','Added\x20puzzle\x20to\x20room\x20','logger'];a54c=function(){return D;};return a54c();}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0xea)];['player'];[a54l(0xe4)];[a54l(0xcd)];[a54l(0xb5)]=new Map();['roomFactory'];constructor(a){const m=a54l;super(),this['roomFactory']=new RoomFactory(),this['player']=a['player'],this[m(0xea)]=this[m(0xd3)](a[m(0xf1)]),this[m(0xe4)]=Logger[m(0xb3)](),this[m(0xcd)]=new Map(),this['createExitsFromConfig'](a[m(0xf1)]),this['logger']['write'](m(0xd9)+Object[m(0xed)](this['rooms'])['join'](',\x20'));}['initialize'](){const n=a54l;this[n(0xeb)][n(0xdf)]=this['determineStartRoom']();}[a54l(0xd3)](a){const o=a54l;if(!this['roomFactory'])throw new Error(o(0xc5));const b={};for(const c of a){const d=this[o(0xef)][o(0xad)](c);b[c[o(0xab)]]=d;}return b;}['createExitsFromConfig'](a){const p=a54l;for(const b of a){const c=this[p(0xea)][b['name']];if(b[p(0xbd)])for(const d of b[p(0xbd)]){const e=d['direction']['toUpperCase'](),f=d[p(0xbb)],g=d[p(0xcf)],h=this['rooms'][f];h&&c[p(0xec)](Direction[e],h,g);}}}['addActor'](a){const q=a54l;if(this['actors'][q(0xc1)](a['name']))throw new Error('Actor\x20with\x20name\x20'+a[q(0xab)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0xcd)][q(0xe0)](a[q(0xab)],a);}[a54l(0xe2)](a){const r=a54l;if(!this[r(0xcd)][r(0xc1)](a))throw new Error(r(0xc6)+a+'\x20found\x20in\x20the\x20scene.');this[r(0xcd)][r(0xbe)](a);}[a54l(0xe1)](a){return this['actors']['get'](a);}get[a54l(0xdd)](){const s=a54l;return Array[s(0xd5)](this[s(0xcd)][s(0xca)]());}['addRoom'](a){const t=a54l;this[t(0xea)][a['name']]=a,this[t(0xe4)][t(0xb9)]('Added\x20room\x20to\x20scene:\x20'+a[t(0xab)]);}['removeRoom'](a){const u=a54l;return this[u(0xea)][a]?(delete this[u(0xea)][a],this['logger'][u(0xb9)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[u(0xe4)][u(0xb9)](u(0xcc)+a),![]);}['addItemToRoom'](a,b){const v=a54l,c=this[v(0xea)][b];c?(c[v(0xb7)](a),this[v(0xe4)][v(0xb9)](v(0xb1)+a[v(0xab)]+v(0xee)+c[v(0xab)])):this[v(0xe4)][v(0xb9)](v(0xbc)+a[v(0xab)]+v(0xe8)+b+v(0xd6));}[a54l(0xd7)](a,b){const w=a54l,c=this[w(0xea)][b];c?(c[w(0xe9)](a),this['logger']['write'](w(0xe3)+c[w(0xab)])):this[w(0xe4)][w(0xb9)](w(0xc4)+b+w(0xd6));}[a54l(0xaa)](a,b){const x=a54l,c=this[x(0xea)][b];c?(this[x(0xb5)]['set'](a[x(0xab)],c),this['logger'][x(0xb9)](a[x(0xab)]+'\x20is\x20now\x20in\x20room\x20'+c['name'])):this[x(0xe4)][x(0xb9)](x(0xde)+a[x(0xab)]+x(0xbf)+b+x(0xd6));}['getCharacterLocation'](a){const y=a54l;return this[y(0xb5)][y(0xd2)](a[y(0xab)]);}[a54l(0xb6)](){const z=a54l,a=[];for(const c in this['rooms']){if(this['rooms'][z(0xda)](c)){const d=this[z(0xea)][c];d[z(0xe7)]&&a[z(0xc0)](d);}}if(a[z(0xb2)]>0x1)throw new Error(z(0xb0));if(a['length']===0x1)return a[0x0];const b=Object[z(0xed)](this[z(0xea)]);if(b['length']===0x0)throw new Error(z(0xaf));return console[z(0xc2)](z(0xd8)),this[z(0xea)][b[0x0]];}[a54l(0xb8)](){const A=a54l;return this[A(0xeb)];}['getRooms'](){const B=a54l;return this[B(0xea)];}[a54l(0xdc)](a,b,c,d){const C=a54l,e=this[C(0xea)][a],f=this[C(0xea)][c];if(!e)throw new Error(C(0xd4)+a+C(0xd0));if(!f)throw new Error(C(0xd4)+c+C(0xd0));e[C(0xec)](b,f,d);}}
1
+ const a54l=a54d;function a54c(){const E=['\x20to\x20room\x20','(((.+)+)+)+$','push','6537190LVGLXE','removeRoom','12928288ausbnx','Failed\x20to\x20set\x20','join','createExitsFromConfig','search','apply','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','length','Failed\x20to\x20add\x20item\x20','connectRooms','delete','toString','Added\x20item\x20','hasOwnProperty','Room\x20\x22','targetRoom','Added\x20room\x20to\x20scene:\x20','toUpperCase','2487792jJwFZY','No\x20actor\x20with\x20name\x20','warn','1352904Jnqsun','write','addItemToRoom','constructor','\x20is\x20now\x20in\x20room\x20','actors','6KqJKoR','currentLocation','rooms','11171412WdyuDH','direction','getCharacterLocation','get','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','player','\x20found\x20in\x20the\x20scene.','setCharacterLocation','Removed\x20room\x20from\x20scene:\x20','generateRoomsFromConfig','setPuzzle','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','exits','Actor\x20with\x20name\x20','Failed\x20to\x20add\x20puzzle.\x20Room\x20','initialize','isStartRoom','getPlayer','roomFactory','getActor','\x20not\x20found\x20in\x20scene.','addActor','characterLocations','determineStartRoom','947770OBaAoH','addExit','name','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','Scene\x20initialized\x20with\x20rooms:\x20','1602862bVtWeu','roomConfiguration','logger','\x27s\x20location.\x20Room\x20','keys','set','getRooms','removeActor','keyRequired'];a54c=function(){return E;};return a54c();}(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x199))/0x1+-parseInt(i(0x194))/0x2*(-parseInt(i(0x1c2))/0x3)+-parseInt(i(0x1b9))/0x4+-parseInt(i(0x1a5))/0x5+parseInt(i(0x1bc))/0x6+parseInt(i(0x1c5))/0x7+-parseInt(i(0x1a7))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xc9cf2));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x1b2)]()['search'](k(0x1a3))[k(0x1b2)]()[k(0x1bf)](a54a)[k(0x1ab)](k(0x1a3));});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x18f;let f=c[d];return f;},a54d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];['player'];['logger'];[a54l(0x1c1)];[a54l(0x192)]=new Map();[a54l(0x1d7)];constructor(a){const m=a54l;super(),this[m(0x1d7)]=new RoomFactory(),this['player']=a[m(0x1ca)],this[m(0x1c4)]=this[m(0x1ce)](a['roomConfiguration']),this[m(0x19b)]=Logger['getInstance'](),this['actors']=new Map(),this[m(0x1aa)](a[m(0x19a)]),this[m(0x19b)][m(0x1bd)](m(0x198)+Object['keys'](this[m(0x1c4)])[m(0x1a9)](',\x20'));}[a54l(0x1d4)](){const n=a54l;this[n(0x1ca)][n(0x1c3)]=this[n(0x193)]();}[a54l(0x1ce)](a){const o=a54l;if(!this[o(0x1d7)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this['roomFactory']['createRoom'](c);b[c[o(0x196)]]=d;}return b;}['createExitsFromConfig'](a){const p=a54l;for(const b of a){const c=this[p(0x1c4)][b[p(0x196)]];if(b[p(0x1d1)])for(const d of b[p(0x1d1)]){const e=d[p(0x1c6)][p(0x1b8)](),f=d[p(0x1b6)],g=d[p(0x1a1)],h=this[p(0x1c4)][f];h&&c[p(0x195)](Direction[e],h,g);}}}[a54l(0x191)](a){const q=a54l;if(this[q(0x1c1)]['has'](a['name']))throw new Error(q(0x1d2)+a[q(0x196)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x1c1)][q(0x19e)](a['name'],a);}[a54l(0x1a0)](a){const r=a54l;if(!this[r(0x1c1)]['has'](a))throw new Error(r(0x1ba)+a+r(0x1cb));this[r(0x1c1)][r(0x1b1)](a);}[a54l(0x18f)](a){const s=a54l;return this['actors'][s(0x1c8)](a);}get['allActors'](){const t=a54l;return Array['from'](this[t(0x1c1)]['values']());}['addRoom'](a){const u=a54l;this[u(0x1c4)][a['name']]=a,this[u(0x19b)][u(0x1bd)](u(0x1b7)+a[u(0x196)]);}[a54l(0x1a6)](a){const v=a54l;return this[v(0x1c4)][a]?(delete this['rooms'][a],this['logger'][v(0x1bd)](v(0x1cd)+a),!![]):(this[v(0x19b)][v(0x1bd)](v(0x1ad)+a),![]);}[a54l(0x1be)](a,b){const w=a54l,c=this['rooms'][b];c?(c['addItem'](a),this[w(0x19b)][w(0x1bd)](w(0x1b3)+a[w(0x196)]+w(0x1a2)+c[w(0x196)])):this[w(0x19b)][w(0x1bd)](w(0x1af)+a[w(0x196)]+'.\x20Room\x20'+b+w(0x190));}['addPuzzleToRoom'](a,b){const x=a54l,c=this['rooms'][b];c?(c[x(0x1cf)](a),this['logger']['write']('Added\x20puzzle\x20to\x20room\x20'+c['name'])):this[x(0x19b)]['write'](x(0x1d3)+b+x(0x190));}[a54l(0x1cc)](a,b){const y=a54l,c=this['rooms'][b];c?(this[y(0x192)]['set'](a[y(0x196)],c),this[y(0x19b)]['write'](a[y(0x196)]+y(0x1c0)+c[y(0x196)])):this[y(0x19b)]['write'](y(0x1a8)+a['name']+y(0x19c)+b+y(0x190));}[a54l(0x1c7)](a){const z=a54l;return this['characterLocations'][z(0x1c8)](a[z(0x196)]);}[a54l(0x193)](){const A=a54l,a=[];for(const c in this[A(0x1c4)]){if(this[A(0x1c4)][A(0x1b4)](c)){const d=this[A(0x1c4)][c];d[A(0x1d5)]&&a[A(0x1a4)](d);}}if(a['length']>0x1)throw new Error(A(0x1c9));if(a[A(0x1ae)]===0x1)return a[0x0];const b=Object[A(0x19d)](this[A(0x1c4)]);if(b[A(0x1ae)]===0x0)throw new Error(A(0x197));return console[A(0x1bb)](A(0x1d0)),this[A(0x1c4)][b[0x0]];}[a54l(0x1d6)](){const B=a54l;return this[B(0x1ca)];}[a54l(0x19f)](){const C=a54l;return this[C(0x1c4)];}[a54l(0x1b0)](a,b,c,d){const D=a54l,e=this[D(0x1c4)][a],f=this[D(0x1c4)][c];if(!e)throw new Error('Room\x20\x22'+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(D(0x1b5)+c+'\x22\x20does\x20not\x20exist.');e['addExit'](b,f,d);}}
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x19a))/0x1+-parseInt(f(0x19d))/0x2+-parseInt(f(0x18f))/0x3+parseInt(f(0x182))/0x4*(parseInt(f(0x193))/0x5)+-parseInt(f(0x17a))/0x6*(parseInt(f(0x18a))/0x7)+-parseInt(f(0x188))/0x8*(-parseInt(f(0x186))/0x9)+parseInt(f(0x192))/0xa*(parseInt(f(0x17f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x35685));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var g=a55d;return a55a[g(0x19b)]()[g(0x17b)](g(0x19f))[g(0x19b)]()[g(0x189)](a55a)['search'](g(0x19f));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var h=a55d;super({'name':a,'description':b,'size':Size[h(0x1a6)],'category':Category['Unknown'],'shape':Shape[h(0x1a0)],'color':Color[h(0x178)],'texture':Texture[h(0x1a7)],'rating':Rating[h(0x198)],'weight':0x1});}[a55i(0x18d)](){var j=a55i;return this[j(0x17c)];}}export class Sword extends Item{constructor(a,b){var k=a55i;super({'name':a,'description':b,'size':Size[k(0x1a6)],'category':Category[k(0x177)],'shape':Shape[k(0x17d)],'color':Color[k(0x197)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55i;super({'name':a,'description':b,'size':Size['Large'],'category':Category[l(0x177)],'shape':Shape[l(0x17e)],'color':Color[l(0x18b)],'texture':Texture[l(0x1a4)],'rating':Rating[l(0x19c)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a55i;super({'name':a,'description':b,'size':Size[m(0x1a6)],'category':Category['Helmet'],'shape':Shape[m(0x195)],'color':Color[m(0x197)],'texture':Texture[m(0x1a4)],'rating':Rating[m(0x198)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55i;super({'name':a,'description':b,'size':Size[n(0x176)],'category':Category[n(0x187)],'shape':Shape['Rectangle'],'color':Color[n(0x197)],'texture':Texture['Metallic'],'rating':Rating[n(0x198)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55i;super({'name':a,'description':b,'size':Size[o(0x1a6)],'category':Category[o(0x185)],'shape':Shape['Rectangle'],'color':Color[o(0x197)],'texture':Texture[o(0x1a4)],'rating':Rating[o(0x198)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55i;super({'name':a,'description':b,'size':Size[p(0x1a6)],'category':Category['Boots'],'shape':Shape[p(0x195)],'color':Color[p(0x18b)],'texture':Texture['Smooth'],'rating':Rating[p(0x198)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55i;super({'name':a,'description':b,'size':Size[q(0x19e)],'category':Category[q(0x1a1)],'shape':Shape[q(0x195)],'color':Color['Brown'],'texture':Texture[q(0x1a7)],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a55i;super({'name':a,'description':b,'size':Size[r(0x1a6)],'category':Category[r(0x1a8)],'shape':Shape[r(0x1a0)],'color':Color[r(0x197)],'texture':Texture[r(0x1a4)],'rating':Rating['Common'],'weight':0x3});}}function a55c(){var D=['Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','1150737mRORVs','pageCount','Legendary','50AmHByZ','505UXvFsd','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Circle','Key','Grey','Common','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','377673esvLXv','toString','Rare','254820GzsdWK','Small','(((.+)+)+)+$','Rectangle','Gloves','A\x20mysterious\x20book.','Cup','Metallic','Short\x20Sword','Medium','Smooth','ArmArmor','Large','Weapon','Yellow','publishDate','162882iCDjPH','search','description','Blade','Rifle','2707903GDsmXf','author','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','5796UTzlPr','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Holy\x20Grail','LegArmor','873cYwmiO','BodyArmor','4616dMNJqA','constructor','84OpkLgW','Brown','name','use'];a55c=function(){return D;};return a55c();}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x176;var f=c[d];return f;},a55d(a,b);}export class Key extends Item{constructor(a,b){var s=a55i;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category[s(0x196)],'shape':Shape[s(0x1a0)],'color':Color[s(0x178)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x0});}[a55i(0x18d)](){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 t=a55i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[t(0x177)],'shape':Shape['Blade'],'color':Color[t(0x197)],'texture':Texture[t(0x1a4)],'rating':Rating[t(0x198)],'weight':0x3});}['use'](){var u=a55i;return u(0x18e);}}export class Book extends Item{[a55i(0x180)];[a55i(0x179)];[a55i(0x190)];constructor(a,b=a55i(0x1a2),c='Unknown\x20Author'){var v=a55i;super({'name':a,'description':b,'size':Size[v(0x1a6)],'category':Category['Book'],'shape':Shape[v(0x1a0)],'color':Color[v(0x18b)],'texture':Texture[v(0x1a7)],'rating':Rating[v(0x198)],'weight':0x1}),this[v(0x180)]=c,this[v(0x179)]=new Date(),this['pageCount']=0x64;}[a55i(0x18d)](){var w=a55i;return w(0x194);}}export class ShortSword extends Item{constructor(){var x=a55i;super({'name':x(0x1a5),'description':x(0x181),'size':Size['Medium'],'category':Category[x(0x177)],'shape':Shape[x(0x17d)],'color':Color[x(0x197)],'texture':Texture[x(0x1a4)],'rating':Rating['Common'],'weight':0x3});}[a55i(0x18d)](){var y=a55i;return y(0x18e);}}export class SniperRifle extends Item{constructor(){var z=a55i;super({'name':'Sniper\x20Rifle','description':z(0x199),'size':Size['Large'],'category':Category[z(0x177)],'shape':Shape[z(0x17e)],'color':Color['Brown'],'texture':Texture[z(0x1a7)],'rating':Rating[z(0x198)],'weight':0x5});}[a55i(0x18d)](){var A=a55i;return A(0x183);}}export class HolyGrail extends Item{constructor(){var B=a55i;super({'name':B(0x184),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[B(0x19e)],'category':Category[B(0x1a3)],'shape':Shape['Circle'],'color':Color['Gold'],'texture':Texture[B(0x1a4)],'rating':Rating[B(0x191)],'weight':0x1});}[a55i(0x18d)](){var C=a55i;return'You\x20hold\x20the\x20'+this[C(0x18c)]+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}
1
+ var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x93))/0x1*(parseInt(f(0x8e))/0x2)+-parseInt(f(0xa8))/0x3+parseInt(f(0xac))/0x4*(parseInt(f(0x97))/0x5)+-parseInt(f(0xb8))/0x6*(parseInt(f(0xb6))/0x7)+-parseInt(f(0xa9))/0x8+-parseInt(f(0xb2))/0x9+parseInt(f(0x99))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x409b0));function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x87;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(0xb7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()['search'](h(0x8f))[h(0x8a)]()['constructor'](a55a)[h(0xb4)]('(((.+)+)+)+$');});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['Medium'],'category':Category[i(0xaa)],'shape':Shape['Rectangle'],'color':Color[i(0x90)],'texture':Texture[i(0xa5)],'rating':Rating['Common'],'weight':0x1});}[a55j(0xa4)](){var k=a55j;return this[k(0xa0)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[l(0xae)],'shape':Shape[l(0xab)],'color':Color[l(0x9c)],'texture':Texture[l(0x96)],'rating':Rating[l(0x9f)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[m(0xae)],'shape':Shape[m(0xad)],'color':Color[m(0xa1)],'texture':Texture[m(0x96)],'rating':Rating[m(0xaf)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Helmet'],'shape':Shape['Circle'],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[n(0x9f)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size[o(0xa2)],'category':Category['BodyArmor'],'shape':Shape[o(0xa7)],'color':Color[o(0x9c)],'texture':Texture[o(0x96)],'rating':Rating[o(0x9f)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0x95)],'category':Category[p(0x8b)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[p(0x96)],'rating':Rating[p(0x9f)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x95)],'category':Category[q(0xb3)],'shape':Shape['Circle'],'color':Color[q(0xa1)],'texture':Texture[q(0xa5)],'rating':Rating[q(0x9f)],'weight':0x2});}}function a55c(){var E=['apply','2068542yuzwME','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','You\x20hold\x20the\x20','name','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Gold','toString','LegArmor','Tiny','Unknown\x20Author','478HRzyyC','(((.+)+)+)+$','Yellow','publishDate','Cup','1399fSqsPn','ArmArmor','Medium','Metallic','2375870zYeeBF','Circle','12095290kkKVdf','author','pageCount','Grey','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Common','description','Brown','Large','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','use','Smooth','Key','Rectangle','1378017bkymbV','2009680MZyheM','Unknown','Blade','4xnRmRW','Rifle','Weapon','Rare','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Legendary','273708eDSJeR','Boots','search','Small','7CFFbcr'];a55c=function(){return E;};return a55c();}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0xb5)],'category':Category['Gloves'],'shape':Shape[r(0x98)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x95)],'category':Category[s(0x94)],'shape':Shape[s(0xa7)],'color':Color[s(0x9c)],'texture':Texture[s(0x96)],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x8c)],'category':Category[t(0xa6)],'shape':Shape['Rectangle'],'color':Color['Yellow'],'texture':Texture[t(0xa5)],'rating':Rating['Common'],'weight':0x0});}[a55j(0xa4)](){var u=a55j;return u(0x9d);}}export class Weapon extends Item{constructor(a,b){var v=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Weapon'],'shape':Shape[v(0xab)],'color':Color[v(0x9c)],'texture':Texture[v(0x96)],'rating':Rating['Common'],'weight':0x3});}[a55j(0xa4)](){var w=a55j;return w(0x9e);}}export class Book extends Item{['author'];[a55j(0x91)];[a55j(0x9b)];constructor(a,b='A\x20mysterious\x20book.',c=a55j(0x8d)){var x=a55j;super({'name':a,'description':b,'size':Size[x(0x95)],'category':Category['Book'],'shape':Shape[x(0xa7)],'color':Color[x(0xa1)],'texture':Texture[x(0xa5)],'rating':Rating['Common'],'weight':0x1}),this[x(0x9a)]=c,this['publishDate']=new Date(),this[x(0x9b)]=0x64;}[a55j(0xa4)](){var y=a55j;return y(0x88);}}export class ShortSword extends Item{constructor(){var z=a55j;super({'name':'Short\x20Sword','description':z(0xa3),'size':Size[z(0x95)],'category':Category[z(0xae)],'shape':Shape[z(0xab)],'color':Color[z(0x9c)],'texture':Texture[z(0x96)],'rating':Rating[z(0x9f)],'weight':0x3});}[a55j(0xa4)](){var A=a55j;return A(0x9e);}}export class SniperRifle extends Item{constructor(){var B=a55j;super({'name':'Sniper\x20Rifle','description':B(0xb9),'size':Size[B(0xa2)],'category':Category[B(0xae)],'shape':Shape[B(0xad)],'color':Color[B(0xa1)],'texture':Texture[B(0xa5)],'rating':Rating[B(0x9f)],'weight':0x5});}[a55j(0xa4)](){return'You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22';}}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':'Holy\x20Grail','description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[C(0xb5)],'category':Category[C(0x92)],'shape':Shape[C(0x98)],'color':Color[C(0x89)],'texture':Texture['Metallic'],'rating':Rating[C(0xb1)],'weight':0x1});}[a55j(0xa4)](){var D=a55j;return D(0xba)+this[D(0x87)]+D(0xb0);}}