@maka/maka-cli 4.6.18 → 4.6.20

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 (144) 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 -0
  108. package/bundle/obf/src/generators/kits/kit.js +1 -0
  109. package/bundle/obf/src/generators/kits/mui/_index.js +1 -0
  110. package/bundle/obf/src/generators/kits/mui/layout.mui.gen.js +1 -0
  111. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -0
  112. package/bundle/obf/src/generators/layout.js +1 -1
  113. package/bundle/obf/src/generators/maka.gen.js +1 -1
  114. package/bundle/obf/src/generators/methods.js +1 -1
  115. package/bundle/obf/src/generators/package.js +1 -1
  116. package/bundle/obf/src/generators/page.js +1 -1
  117. package/bundle/obf/src/generators/publish.js +1 -1
  118. package/bundle/obf/src/generators/route.js +1 -1
  119. package/bundle/obf/src/generators/service.js +1 -1
  120. package/bundle/obf/src/generators/services/_index.js +1 -1
  121. package/bundle/obf/src/generators/services/openssl.js +1 -1
  122. package/bundle/obf/src/generators/services/translation.js +1 -1
  123. package/bundle/obf/src/maka.js +1 -1
  124. package/bundle/obf/src/tool.js +1 -1
  125. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  126. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  127. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  129. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  131. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/https/https.class.js +1 -1
  133. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  134. package/bundle/obf/src/tools/log/log.class.js +1 -1
  135. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/options/options.class.js +1 -1
  137. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  138. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  139. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  141. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  142. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  143. package/package.json +1 -1
  144. package/bundle/obf/src/generators/kit.js +0 -1
@@ -1 +1 @@
1
- const a37i=a37d;function a37c(){const k=['\x20searched\x20the\x20room\x20but\x20found\x20nothing.','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','currentLocation','539952YxLbuf','listItems','3CDXWOn','2945630iEgpWp','description','actor','4826801lcmIkp','12uUBwzQ','1374172poxcWi','logger','Search\x20for\x20items\x20in\x20your\x20area','apply','length','verb','115853ysZYEV','You\x20search\x20the\x20area\x20and\x20find:\x20','inventory','write','name','8828109fPkDHn','\x20found\x20the\x20following\x20items:\x20','constructor','toString','SearchCommand:\x20','180224vkOdMo','(((.+)+)+)+$','search'];a37c=function(){return k;};return a37c();}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0xc2))/0x1*(-parseInt(f(0xbb))/0x2)+-parseInt(f(0xb6))/0x3*(-parseInt(f(0xbc))/0x4)+parseInt(f(0xb7))/0x5+-parseInt(f(0xb4))/0x6+-parseInt(f(0xba))/0x7+-parseInt(f(0xae))/0x8+parseInt(f(0xc7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x65a85));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xac)]()[h(0xb0)](h(0xaf))['toString']()[h(0xab)](a37a)['search'](h(0xaf));});a37a();function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xab;let f=c[d];return f;},a37d(a,b);}import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0xc1)]=a37i(0xb0);static [a37i(0xb8)]=a37i(0xbe);['execute'](){const j=a37i,a=this[j(0xb9)][j(0xb3)][j(0xc4)][j(0xb5)]();if(a[j(0xc0)]===0x0)return this[j(0xbd)][j(0xc5)](j(0xad)+this[j(0xb9)][j(0xc6)]+j(0xb1)),j(0xb2);const b=a['join'](',\x20');return this['logger'][j(0xc5)](j(0xad)+this[j(0xb9)]['name']+j(0xc8)+b),j(0xc3)+b;}}
1
+ function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x115;let f=c[d];return f;},a37d(a,b);}function a37c(){const k=['You\x20search\x20the\x20area\x20and\x20find:\x20','toString','apply','3LJDRNC','actor','\x20found\x20the\x20following\x20items:\x20','5190752yuvMgO','406368baGHYs','643935iBHHLc','inventory','description','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','currentLocation','constructor','10718991HHvoIQ','execute','Search\x20for\x20items\x20in\x20your\x20area','6pDFXYT','logger','5042912EzvVki','SearchCommand:\x20','listItems','search','name','join','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','verb','3532434eokyMf','151616hYUSZn'];a37c=function(){return k;};return a37c();}const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x131))/0x1*(-parseInt(f(0x12d))/0x2)+-parseInt(f(0x122))/0x3*(parseInt(f(0x118))/0x4)+parseInt(f(0x119))/0x5+parseInt(f(0x12c))/0x6+-parseInt(f(0x124))/0x7+-parseInt(f(0x117))/0x8+parseInt(f(0x11f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x89931));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x12f)]()[h(0x127)]('(((.+)+)+)+$')[h(0x12f)]()[h(0x11e)](a37a)[h(0x127)]('(((.+)+)+)+$');});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x12b)]=a37i(0x127);static [a37i(0x11b)]=a37i(0x121);[a37i(0x120)](){const j=a37i,a=this[j(0x115)][j(0x11d)][j(0x11a)][j(0x126)]();if(a['length']===0x0)return this[j(0x123)]['write'](j(0x125)+this['actor'][j(0x128)]+j(0x12a)),j(0x11c);const b=a[j(0x129)](',\x20');return this[j(0x123)]['write']('SearchCommand:\x20'+this[j(0x115)]['name']+j(0x116)+b),j(0x12e)+b;}}
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0xc5))/0x1+parseInt(f(0xb7))/0x2+-parseInt(f(0xb4))/0x3*(parseInt(f(0xcc))/0x4)+parseInt(f(0xcf))/0x5+-parseInt(f(0xb6))/0x6+parseInt(f(0xb2))/0x7+-parseInt(f(0xbf))/0x8*(-parseInt(f(0xcb))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x75696));function a38c(){const k=['4773790vJpcOB','addItem','5257084bYCqhU','join','594hSWcCm','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','3227952RQQrVR','834954epkQbq','apply','actor','inventory','(((.+)+)+)+$','rewardItem','execute','description','8HuiaKP','search','success','write','message','toString','816227JuyStK','logger','verb','puzzle','currentLocation','toLowerCase','3624408IZbKBV','13956HAabzA','constructor','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.'];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(0xb8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0xc4)]()[h(0xc0)](h(0xbb))['toString']()[h(0xcd)](a38a)[h(0xc0)](h(0xbb));});a38a();import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xb1;let f=c[d];return f;},a38d(a,b);}export class SolveCommand extends Command{static [a38i(0xc7)]='solve';static [a38i(0xbe)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a38i(0xbd)](a){const j=a38i,b=a[j(0xb3)]('\x20')[j(0xca)](),c=this[j(0xb9)][j(0xc9)];if(!c||!c['puzzle'])return this[j(0xc6)][j(0xc2)](j(0xb5)),j(0xce);const d=c[j(0xc8)]['solve'](b,this[j(0xb9)]['inventory']);return d[j(0xc1)]&&c['puzzle'][j(0xbc)]&&this['actor'][j(0xba)][j(0xb1)](c[j(0xc8)]['rewardItem']),this[j(0xc6)][j(0xc2)]('SolveCommand:\x20'+d['message']),d[j(0xc3)];}}
1
+ const a38h=a38d;function a38c(){const j=['10EWvcoa','constructor','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','rewardItem','386825YUQgiG','logger','solve','5700852uKvKdd','puzzle','verb','description','(((.+)+)+)+$','1TSmYlb','28KmkyDn','3759jWtOnZ','Attempt\x20to\x20solve\x20a\x20puzzle.','6080808egPJrP','search','execute','toString','toLowerCase','2692611peStPB','success','SolveCommand:\x20','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','write','inventory','join','message','1164UUfoDd','12616285TwdJlG','actor','addItem','77060XyWBoO'];a38c=function(){return j;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x108))/0x1*(-parseInt(f(0xfb))/0x2)+parseInt(f(0x111))/0x3+parseInt(f(0x109))/0x4*(-parseInt(f(0x100))/0x5)+parseInt(f(0x119))/0x6*(-parseInt(f(0x10a))/0x7)+parseInt(f(0x10c))/0x8+parseInt(f(0x103))/0x9+-parseInt(f(0xfc))/0xa*(parseInt(f(0x11a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x7045c));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a['toString']()[g(0x10d)]('(((.+)+)+)+$')[g(0x10f)]()[g(0xfd)](a38a)[g(0x10d)](g(0x107));});a38a();import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xfb;let f=c[d];return f;},a38d(a,b);}export class SolveCommand extends Command{static [a38h(0x105)]=a38h(0x102);static [a38h(0x106)]=a38h(0x10b);[a38h(0x10e)](a){const i=a38h,b=a[i(0x117)]('\x20')[i(0x110)](),c=this[i(0x11b)]['currentLocation'];if(!c||!c[i(0x104)])return this[i(0x101)][i(0x115)](i(0x114)),i(0xfe);const d=c['puzzle'][i(0x102)](b,this[i(0x11b)][i(0x116)]);return d[i(0x112)]&&c[i(0x104)][i(0xff)]&&this['actor'][i(0x116)][i(0x11c)](c['puzzle'][i(0xff)]),this['logger'][i(0x115)](i(0x113)+d[i(0x118)]),d[i(0x118)];}}
@@ -1 +1 @@
1
- const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x11e))/0x1*(parseInt(f(0x124))/0x2)+parseInt(f(0x139))/0x3+parseInt(f(0x121))/0x4*(parseInt(f(0x127))/0x5)+-parseInt(f(0x116))/0x6*(parseInt(f(0x117))/0x7)+-parseInt(f(0x11c))/0x8+-parseInt(f(0x134))/0x9+parseInt(f(0x113))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x4e3af));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(0x122)]()[g(0x125)]('(((.+)+)+)+$')[g(0x122)]()[g(0x12a)](a39a)[g(0x125)]('(((.+)+)+)+$');});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x113;let f=c[d];return f;},a39d(a,b);}import{Command}from'./command.js';function a39c(){const k=['message','write','\x22\x20to\x20','\x22\x20not\x20retrieved\x20from\x20','description','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','You\x20have\x20taken\x20the\x20','There\x20is\x20no\x20item\x20\x22','4953582IlXXKU','removeItem','toLowerCase','logger','Successfully\x20added\x20\x22','1414887hvVVwM','7664060sizgkz','actor','getItem','978RvrlIE','22988sFdlqy','Pick\x20up\x20an\x20item.','\x22\x20not\x20found\x20in\x20','inventory','\x22\x20in\x20this\x20room.','3619120BUHcjY','Item\x20\x22','123foCLus','join','take','41084gjNqol','toString','Successfully\x20removed\x20\x22','9254qsNQbe','search','The\x20item\x20\x22','25nJIukV','addInventory','name','constructor'];a39c=function(){return k;};return a39c();}export class TakeCommand extends Command{static ['verb']=a39h(0x120);static [a39h(0x12f)]=a39h(0x118);['execute'](a){const i=a39h;return this[i(0x137)]['write'](i(0x131)+a[i(0x11f)]('\x20')),this[i(0x120)](a);}[a39h(0x120)](a){const j=a39h,b=a[j(0x11f)]('\x20')[j(0x136)](),c=this[j(0x114)]['currentLocation'];if(!c[j(0x11a)]['hasItem'](b))return this[j(0x137)][j(0x12c)](j(0x11d)+b+j(0x119)+c[j(0x129)]+'\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+'\x22\x20in\x20this\x20room.';const d=c[j(0x11a)][j(0x115)](b);if(!d)return this[j(0x137)][j(0x12c)](j(0x11d)+b+j(0x12e)+c[j(0x129)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x133)+b+j(0x11b);try{return this['actor'][j(0x128)](d),this['logger'][j(0x12c)](j(0x138)+b+j(0x12d)+this[j(0x114)][j(0x129)]+j(0x130)),c[j(0x11a)][j(0x135)](b),this[j(0x137)][j(0x12c)](j(0x123)+b+'\x22\x20from\x20'+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x132)+b+'.';}catch(e){return this['logger'][j(0x12c)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[j(0x12b)]),j(0x126)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
1
+ function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a39d(a,b);}const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x1fc))/0x1*(parseInt(f(0x1ee))/0x2)+-parseInt(f(0x1fa))/0x3+-parseInt(f(0x20d))/0x4+-parseInt(f(0x200))/0x5+-parseInt(f(0x1f1))/0x6*(-parseInt(f(0x1fe))/0x7)+parseInt(f(0x1f9))/0x8*(-parseInt(f(0x1fb))/0x9)+-parseInt(f(0x1eb))/0xa*(-parseInt(f(0x215))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xefd95));function a39c(){const k=['currentLocation','\x20during\x20\x27Take\x27\x20command.','16963925YfeWOw','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','30MPnjIb','join','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','148638AkEVkx','execute','search','96oqMlfq','Pick\x20up\x20an\x20item.','\x22\x20not\x20found\x20in\x20','Item\x20\x22','\x22\x20is\x20too\x20heavy\x20to\x20carry.','name','\x22\x20not\x20retrieved\x20from\x20','Error\x20during\x20\x27Take\x27\x20command:\x20','3896kVsAyR','4770522ObTFGN','18099WbEoUR','19OHWBua','You\x20have\x20taken\x20the\x20','510503CYljPj','(((.+)+)+)+$','2778685yPqUMj','toString','message','description','write','take','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','removeItem','There\x20is\x20no\x20item\x20\x22','\x22\x20to\x20','Successfully\x20added\x20\x22','inventory','\x22\x20from\x20','1094556vfUeMC','getItem','logger','actor','Successfully\x20removed\x20\x22','\x22\x20in\x20this\x20room.'];a39c=function(){return k;};return a39c();}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(0x201)]()['search'](g(0x1ff))['toString']()['constructor'](a39a)[g(0x1f0)](g(0x1ff));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a39h(0x205);static [a39h(0x203)]=a39h(0x1f2);[a39h(0x1ef)](a){const i=a39h;return this[i(0x20f)][i(0x204)](i(0x216)+a[i(0x1ec)]('\x20')),this[i(0x205)](a);}[a39h(0x205)](a){const j=a39h,b=a['join']('\x20')['toLowerCase'](),c=this['actor'][j(0x213)];if(!c['inventory']['hasItem'](b))return this[j(0x20f)][j(0x204)](j(0x1f4)+b+j(0x1f3)+c[j(0x1f6)]+j(0x214)),j(0x208)+b+j(0x212);const d=c['inventory'][j(0x20e)](b);if(!d)return this[j(0x20f)][j(0x204)](j(0x1f4)+b+j(0x1f7)+c[j(0x1f6)]+j(0x1ed)),j(0x208)+b+j(0x212);try{return this[j(0x210)]['addInventory'](d),this[j(0x20f)]['write'](j(0x20a)+b+j(0x209)+this[j(0x210)][j(0x1f6)]+j(0x206)),c[j(0x20b)][j(0x207)](b),this[j(0x20f)][j(0x204)](j(0x211)+b+j(0x20c)+c['name']+j(0x1ed)),j(0x1fd)+b+'.';}catch(e){return this['logger'][j(0x204)](j(0x1f8)+e[j(0x202)]),'The\x20item\x20\x22'+b+j(0x1f5);}}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1b8))/0x1*(-parseInt(f(0x1af))/0x2)+-parseInt(f(0x1bb))/0x3+parseInt(f(0x1c2))/0x4*(-parseInt(f(0x1b6))/0x5)+-parseInt(f(0x1b3))/0x6+-parseInt(f(0x1c1))/0x7+parseInt(f(0x1b2))/0x8*(-parseInt(f(0x1ac))/0x9)+parseInt(f(0x1bd))/0xa*(parseInt(f(0x1ab))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x69e78));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1b4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1c0)]()[h(0x1bf)](h(0x1be))[h(0x1c0)]()[h(0x1b0)](a40a)[h(0x1bf)](h(0x1be));});a40a();function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a40d(a,b);}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x1b1)]=a40i(0x1ad);static ['description']=a40i(0x1b5);[a40i(0x1bc)](a){const j=a40i,b=a[j(0x1b7)]('\x20')['toLowerCase'](),c=this['actor']['unequip'](b);return this['logger'][j(0x1ba)]('UnequipCommand:\x20'+this[j(0x1ae)][j(0x1b9)]+j(0x1c3)+c),c;}}function a40c(){const k=['join','1PaPoci','name','write','1367148kPniTd','execute','40EGVnDh','(((.+)+)+)+$','search','toString','2241568NyrlTq','28IsnJfk','\x20unqeuiped\x20','6521867PNQOKI','432117WRqHUR','unqeuip','actor','980776sXhJIn','constructor','verb','8MvMIMX','1057692LadEnk','apply','Unequip\x20an\x20item.','319415LsjZYS'];a40c=function(){return k;};return a40c();}
1
+ function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1ca))/0x1*(-parseInt(f(0x1df))/0x2)+-parseInt(f(0x1d3))/0x3+parseInt(f(0x1dc))/0x4*(-parseInt(f(0x1d2))/0x5)+-parseInt(f(0x1de))/0x6*(parseInt(f(0x1d9))/0x7)+parseInt(f(0x1dd))/0x8+parseInt(f(0x1c6))/0x9+parseInt(f(0x1cb))/0xa*(parseInt(f(0x1d5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x39a63));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1d8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1cc)]()[h(0x1d6)](h(0x1c7))[h(0x1cc)]()[h(0x1da)](a40a)[h(0x1d6)](h(0x1c7));});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x1db)]=a40i(0x1c9);static [a40i(0x1ce)]=a40i(0x1d1);[a40i(0x1cd)](a){const j=a40i,b=a[j(0x1c5)]('\x20')[j(0x1c4)](),c=this[j(0x1cf)][j(0x1c8)](b);return this[j(0x1d0)][j(0x1d4)]('UnequipCommand:\x20'+this[j(0x1cf)]['name']+j(0x1d7)+c),c;}}function a40c(){const k=['search','\x20unqeuiped\x20','apply','14pxJNEE','constructor','verb','8OtNmeM','244608sBaODF','222762sxiWIa','134890bysmHi','toLowerCase','join','3962808idcqFZ','(((.+)+)+)+$','unequip','unqeuip','7PDlcGl','10NMgCOy','toString','execute','description','actor','logger','Unequip\x20an\x20item.','332820tJksDj','318966LvasDg','write','6061682URKwaF'];a40c=function(){return k;};return a40c();}
@@ -1 +1 @@
1
- const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x142))/0x1+parseInt(h(0x13b))/0x2+-parseInt(h(0x14d))/0x3+-parseInt(h(0x143))/0x4*(parseInt(h(0x129))/0x5)+-parseInt(h(0x13f))/0x6*(-parseInt(h(0x14e))/0x7)+parseInt(h(0x12f))/0x8*(-parseInt(h(0x12c))/0x9)+parseInt(h(0x146))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x77148));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x13d)]()[j(0x130)](j(0x13c))[j(0x13d)]()[j(0x145)](a41a)[j(0x130)](j(0x13c));});function a41c(){const n=['hasItem','logger','There\x27s\x20no\x20door\x20named\x20\x22','UnlockCommand:\x20','711874rHHxkT','(((.+)+)+)+$','toString','exits','6POkacl','actor','unlock','612044WxQxDe','3452eUOFtu','currentLocation','constructor','20001630RHYXPm','apply','isValidDirection','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','description','\x22\x20here.','write','1299705QIDaCB','2469677BVZlRU','Unlock\x20a\x20door.','unlockItemOrSolution','toLowerCase','getItem','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','4560ACCOzW','attemptUnlockExit','.\x20Result:\x20','102924fbWvoN','verb','execute','272wreGPS','search','name','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','inventory','has','error','\x20is\x20attempted\x20to\x20unlock\x20'];a41c=function(){return n;};return a41c();}a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x127;let f=c[d];return f;},a41d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x12d)]=a41k(0x141);static [a41k(0x14a)]=a41k(0x14f);[a41k(0x12e)](a){const l=a41k;return this[l(0x141)](a);}[a41k(0x141)](a){const m=a41k;if(a['length']===0x0)return this[m(0x138)][m(0x135)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0x128);const b=a[0x0][m(0x151)](),c=this[m(0x140)][m(0x144)];if(this[m(0x148)](b)&&c[m(0x13e)][m(0x134)](b)){const d=c[m(0x13e)]['get'](b);if(d instanceof Door){const e=d[m(0x150)]?.[m(0x151)]();if(e&&this['actor'][m(0x133)][m(0x137)](e)){const f=this[m(0x140)][m(0x133)][m(0x127)](e);if(f){const g=c[m(0x12a)](b,f[m(0x131)]);return this[m(0x138)][m(0x14c)](m(0x13a)+this[m(0x140)]['name']+m(0x136)+b+m(0x12b)+g),g;}}return this[m(0x138)]['write']('UnlockCommand:\x20'+this['actor'][m(0x131)]+m(0x132)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this[m(0x138)][m(0x14c)](m(0x13a)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x131)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x14b);}else return this[m(0x138)][m(0x14c)](m(0x13a)+b+m(0x149)+c[m(0x131)]+'.'),m(0x139)+b+m(0x14b);}}
1
+ function a41c(){const n=['exits','397197GVRmEn','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','\x22\x20here.','444798WLVceh','unlock','get','execute','verb','274404BUrrVj','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','name','length','87694QbCocS','UnlockCommand:\x20','unlockItemOrSolution','inventory','getItem','11hihLuh','Unlock\x20a\x20door.','11087380lUpDgn','117IxxAVQ','write','search','actor','apply','has','\x20is\x20attempted\x20to\x20unlock\x20','2362680tVlPwj','99608wBVGRF','description','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','logger','7CoAOSN','(((.+)+)+)+$','error','isValidDirection','toLowerCase','attemptUnlockExit','toString'];a41c=function(){return n;};return a41c();}const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x14b))/0x1*(parseInt(h(0x146))/0x2)+parseInt(h(0x162))/0x3+parseInt(h(0x16a))/0x4+-parseInt(h(0x155))/0x5+-parseInt(h(0x165))/0x6*(-parseInt(h(0x15a))/0x7)+-parseInt(h(0x156))/0x8*(-parseInt(h(0x14e))/0x9)+parseInt(h(0x14d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x90421));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x145;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()['search'](j(0x15b))[j(0x160)]()['constructor'](a41a)[j(0x150)]('(((.+)+)+)+$');});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x169)]=a41k(0x166);static [a41k(0x157)]=a41k(0x14c);[a41k(0x168)](a){const l=a41k;return this[l(0x166)](a);}[a41k(0x166)](a){const m=a41k;if(a[m(0x145)]===0x0)return this['logger'][m(0x15c)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0x158);const b=a[0x0][m(0x15e)](),c=this[m(0x151)]['currentLocation'];if(this[m(0x15d)](b)&&c['exits'][m(0x153)](b)){const d=c[m(0x161)][m(0x167)](b);if(d instanceof Door){const e=d[m(0x148)]?.[m(0x15e)]();if(e&&this[m(0x151)][m(0x149)]['hasItem'](e)){const f=this['actor'][m(0x149)][m(0x14a)](e);if(f){const g=c[m(0x15f)](b,f[m(0x16c)]);return this[m(0x159)][m(0x14f)](m(0x147)+this[m(0x151)][m(0x16c)]+m(0x154)+b+'.\x20Result:\x20'+g),g;}}return this['logger'][m(0x14f)](m(0x147)+this[m(0x151)][m(0x16c)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),m(0x163);}else return this[m(0x159)][m(0x14f)]('UnlockCommand:\x20'+b+m(0x16b)+c[m(0x16c)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x164);}else return this[m(0x159)][m(0x14f)](m(0x147)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x164);}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x134))/0x1*(-parseInt(f(0x138))/0x2)+-parseInt(f(0x144))/0x3+parseInt(f(0x14b))/0x4*(-parseInt(f(0x133))/0x5)+parseInt(f(0x143))/0x6+parseInt(f(0x139))/0x7*(parseInt(f(0x12d))/0x8)+parseInt(f(0x130))/0x9*(parseInt(f(0x13e))/0xa)+parseInt(f(0x14a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x1c177));function a42c(){const k=['\x20to\x20use.','893241dZoxAT','\x27s\x20inventory.','\x20used\x20','5eqnPhf','95039hZnqyq','use','\x20doesn\x27t\x20have\x20a\x20use\x20method.','logger','4hpgaUr','432019nlSjgO','execute','name','constructor','You\x20don\x27t\x20have\x20the\x20','10MohseV','Use\x20an\x20item.','inventory','toString','apply','54246uveoWJ','434175BoqaKI','join','\x20in\x20this\x20way.','You\x20can\x27t\x20use\x20the\x20','getItem','verb','3260972ElimrS','66372zxevbl','actor','\x20attempted\x20to\x20use\x20','UseCommand:\x20','write','8huxRip','(((.+)+)+)+$'];a42c=function(){return k;};return a42c();}function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x129;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x142)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()['search'](h(0x12e))[h(0x141)]()[h(0x13c)](a42a)['search'](h(0x12e));});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x149)]='use';static ['description']=a42i(0x13f);[a42i(0x13a)](a){return this['use'](a);}[a42i(0x135)](a){const j=a42i,b=a[j(0x145)]('\x20')['toLowerCase']();if(!this[j(0x129)][j(0x140)]['hasItem'](b))return this[j(0x137)][j(0x12c)](j(0x12b)+this[j(0x129)][j(0x13b)]+j(0x12a)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),j(0x13d)+b+j(0x12f);const c=this[j(0x129)][j(0x140)][j(0x148)](b);if(!c)return this[j(0x137)]['write'](j(0x12b)+b+'\x20not\x20retrieved\x20from\x20'+this[j(0x129)][j(0x13b)]+j(0x131)),j(0x13d)+b+j(0x12f);if(typeof c[j(0x135)]==='function'){const d=c['use']();return this[j(0x137)][j(0x12c)](j(0x12b)+this[j(0x129)][j(0x13b)]+j(0x132)+b+'.'),d;}else return this[j(0x137)][j(0x12c)](j(0x12b)+b+j(0x136)),j(0x147)+b+j(0x146);}}
1
+ const a42h=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1ca))/0x1+parseInt(f(0x1e9))/0x2*(parseInt(f(0x1e0))/0x3)+parseInt(f(0x1d4))/0x4+parseInt(f(0x1d5))/0x5+-parseInt(f(0x1d3))/0x6+-parseInt(f(0x1e5))/0x7*(parseInt(f(0x1df))/0x8)+parseInt(f(0x1e8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xd9877));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const g=a42d;return a42a[g(0x1db)]()[g(0x1cf)]('(((.+)+)+)+$')[g(0x1db)]()[g(0x1dc)](a42a)[g(0x1cf)]('(((.+)+)+)+$');});function a42c(){const j=['execute','function','You\x20can\x27t\x20use\x20the\x20','toString','constructor','Use\x20an\x20item.','\x20to\x20use.','32AGvJJA','274542DCekcr','\x20attempted\x20to\x20use\x20','name','description','actor','2986683MtbMaX','UseCommand:\x20','hasItem','7665102QaKNxm','20JXBlSx','You\x20don\x27t\x20have\x20the\x20','use','verb','1304368iHAGZf','\x20used\x20','\x20in\x20this\x20way.','\x20not\x20retrieved\x20from\x20','\x20doesn\x27t\x20have\x20a\x20use\x20method.','search','toLowerCase','logger','inventory','3907338UzdhkM','6473420NRSDAt','5840465HRIICq','\x27s\x20inventory.','write'];a42c=function(){return j;};return a42c();}a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42h(0x1c9)]=a42h(0x1c8);static [a42h(0x1e3)]=a42h(0x1dd);[a42h(0x1d8)](a){return this['use'](a);}[a42h(0x1c8)](a){const i=a42h,b=a['join']('\x20')[i(0x1d0)]();if(!this[i(0x1e4)][i(0x1d2)][i(0x1e7)](b))return this[i(0x1d1)]['write'](i(0x1e6)+this[i(0x1e4)][i(0x1e2)]+i(0x1e1)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),i(0x1ea)+b+'\x20to\x20use.';const c=this[i(0x1e4)]['inventory']['getItem'](b);if(!c)return this[i(0x1d1)][i(0x1d7)](i(0x1e6)+b+i(0x1cd)+this['actor']['name']+i(0x1d6)),'You\x20don\x27t\x20have\x20the\x20'+b+i(0x1de);if(typeof c[i(0x1c8)]===i(0x1d9)){const d=c[i(0x1c8)]();return this[i(0x1d1)][i(0x1d7)]('UseCommand:\x20'+this[i(0x1e4)][i(0x1e2)]+i(0x1cb)+b+'.'),d;}else return this[i(0x1d1)][i(0x1d7)](i(0x1e6)+b+i(0x1ce)),i(0x1da)+b+i(0x1cc);}}
@@ -1 +1 @@
1
- function a43c(){const l=['getAllRegisteredCommands','commandMap','apply','registerCommand','19nKwaOK','1244895lNsbSd','toString','30Tzgzwm','6396131qBCCVS','search','5162820CsGbei','1292EmZMBx','6527848KGoFld','2453697Afnkfb','(((.+)+)+)+$','9642mfbPCL','constructor','70382SJkRPS'];a43c=function(){return l;};return a43c();}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0xcc))/0x1*(-parseInt(f(0xc7))/0x2)+parseInt(f(0xc5))/0x3*(parseInt(f(0xd3))/0x4)+parseInt(f(0xcd))/0x5+parseInt(f(0xd2))/0x6+-parseInt(f(0xd0))/0x7+parseInt(f(0xd4))/0x8+parseInt(f(0xd5))/0x9*(-parseInt(f(0xcf))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x8985b));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xc5;let f=c[d];return f;},a43d(a,b);}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0xce)]()[h(0xd1)](h(0xd6))[h(0xce)]()[h(0xc6)](a43a)[h(0xd1)](h(0xd6));});a43a();export class CommandFactory{static [a43i(0xc9)]={};static[a43i(0xcb)](a,b){const j=a43i;this[j(0xc9)][a]=b;}static['createCommand'](a,b){const k=a43i,c=this[k(0xc9)][a];if(c)return new c(b);return null;}static[a43i(0xc8)](){return this['commandMap'];}}
1
+ function a43c(){const l=['search','commandMap','1274220wTgDGO','toString','6yQnvcO','constructor','(((.+)+)+)+$','getAllRegisteredCommands','717216EwxRKq','1778368mkbZtG','97101AFwjnh','3801933ZTVyVm','6661865LihkeB','2290hZKlpg','50mQBaXM','167EauJuM'];a43c=function(){return l;};return a43c();}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a43d(a,b);}const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x1fa))/0x1*(parseInt(f(0x1f8))/0x2)+-parseInt(f(0x1f5))/0x3+-parseInt(f(0x203))/0x4+parseInt(f(0x1fd))/0x5*(-parseInt(f(0x1ff))/0x6)+-parseInt(f(0x1f7))/0x7+-parseInt(f(0x1f4))/0x8+parseInt(f(0x1f6))/0x9*(parseInt(f(0x1f9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xa1d6e));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const g=a43d;return a43a['toString']()[g(0x1fb)]('(((.+)+)+)+$')[g(0x1fe)]()[g(0x200)](a43a)[g(0x1fb)](g(0x201));});a43a();export class CommandFactory{static [a43h(0x1fc)]={};static['registerCommand'](a,b){const i=a43h;this[i(0x1fc)][a]=b;}static['createCommand'](a,b){const j=a43h,c=this[j(0x1fc)][a];if(c)return new c(b);return null;}static[a43h(0x202)](){const k=a43h;return this[k(0x1fc)];}}
@@ -1 +1 @@
1
- const a44i=a44d;function a44c(){const m=['type','sword','2872161NfzFHW','items','createRoom','64zxNgws','gauntlets','roomType','name','search','book','8bwihCn','12458pYYnMV','legarmor','(((.+)+)+)+$','constructor','rifle','toString','forEach','description','4NIAkgI','32520884YDsGje','helmet','12Cglyyb','apply','puzzle','createPuzzle','2333793gioMbk','convertToRoomConfig','inventory','3660345rysaoh','4595970mbkyGk','2353167KdZgQd','createItem','toUpperCase'];a44c=function(){return m;};return a44c();}(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x140))/0x1*(-parseInt(f(0x124))/0x2)+-parseInt(f(0x138))/0x3*(-parseInt(f(0x12c))/0x4)+parseInt(f(0x136))/0x5+-parseInt(f(0x12f))/0x6*(-parseInt(f(0x133))/0x7)+-parseInt(f(0x123))/0x8*(-parseInt(f(0x13d))/0x9)+parseInt(f(0x137))/0xa+-parseInt(f(0x12d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x62ae2));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x129)]()[h(0x144)](h(0x126))[h(0x129)]()[h(0x127)](a44a)['search'](h(0x126));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x123;let f=c[d];return f;},a44d(a,b);}a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0x13f)](a){const j=a44i,b=this[j(0x134)](a),c=new Room(b);if(a[j(0x13e)]){const d=new Inventory();a[j(0x13e)][j(0x12a)](e=>{d['addItem'](this['createItem'](e));}),c[j(0x135)]=d;}return a[j(0x131)]&&c['setPuzzle'](this[j(0x132)](a[j(0x131)])),c;}[a44i(0x139)](a){const k=a44i;switch(a[k(0x13b)]){case'key':return new Key(a[k(0x143)],a['description']);case k(0x145):return new Book(a['name'],a[k(0x12b)],a['content']);case k(0x13c):return new Sword(a['name'],a[k(0x12b)]);case k(0x128):return new Rifle(a[k(0x143)],a['description']);case k(0x12e):return new Helmet(a[k(0x143)],a[k(0x12b)]);case'bodyarmor':return new BodyArmor(a[k(0x143)],a[k(0x12b)]);case k(0x125):return new LegArmor(a['name'],a['description']);case'boots':return new Boots(a[k(0x143)],a[k(0x12b)]);case'gloves':return new Gloves(a[k(0x143)],a['description']);case k(0x141):return new Gauntlets(a[k(0x143)],a['description']);default:return new BasicItem(a[k(0x143)],a[k(0x12b)]);}}[a44i(0x132)](a){const b=this['createItem'](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a44i(0x134)](a){const l=a44i,b=a[l(0x142)]&&RoomType[a[l(0x142)][l(0x13a)]()]?RoomType[a[l(0x142)][l(0x13a)]()]:RoomType['INSIDE'];return{'name':a[l(0x143)],'description':a[l(0x12b)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x1f4))/0x1*(parseInt(f(0x203))/0x2)+-parseInt(f(0x1ff))/0x3+-parseInt(f(0x1ef))/0x4+-parseInt(f(0x1e6))/0x5+-parseInt(f(0x201))/0x6*(parseInt(f(0x1fe))/0x7)+parseInt(f(0x1eb))/0x8*(parseInt(f(0x1ed))/0x9)+-parseInt(f(0x1ee))/0xa*(-parseInt(f(0x1f2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xbecb1));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x1f7)]()[h(0x1e8)](h(0x1e7))['toString']()[h(0x1de)](a44a)['search'](h(0x1e7));});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1de;let f=c[d];return f;},a44d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a44c(){const o=['description','roomType','book','gloves','puzzle','6967050wkMcpr','(((.+)+)+)+$','search','items','rifle','224VBfAIA','helmet','458622XmTIMb','15110nhDnes','1220072xruHFA','gauntlets','createItem','28017mcfTds','createPuzzle','8OqDxpV','setPuzzle','bodyarmor','toString','addItem','key','apply','createRoom','isStartRoom','legarmor','252pOenSC','4080744oCoPyc','forEach','108408zVwdCC','rewardItem','196182pUEWdh','name','convertToRoomConfig','constructor','sword','toUpperCase'];a44c=function(){return o;};return a44c();}export class RoomFactory{[a44i(0x1fb)](a){const j=a44i,b=this[j(0x205)](a),c=new Room(b);if(a[j(0x1e9)]){const d=new Inventory();a[j(0x1e9)][j(0x200)](e=>{const k=j;d[k(0x1f8)](this[k(0x1f1)](e));}),c['inventory']=d;}return a['puzzle']&&c[j(0x1f5)](this['createPuzzle'](a[j(0x1e5)])),c;}[a44i(0x1f1)](a){const l=a44i;switch(a['type']){case l(0x1f9):return new Key(a['name'],a['description']);case l(0x1e3):return new Book(a['name'],a['description'],a['content']);case l(0x1df):return new Sword(a[l(0x204)],a[l(0x1e1)]);case l(0x1ea):return new Rifle(a[l(0x204)],a[l(0x1e1)]);case l(0x1ec):return new Helmet(a[l(0x204)],a[l(0x1e1)]);case l(0x1f6):return new BodyArmor(a[l(0x204)],a['description']);case l(0x1fd):return new LegArmor(a['name'],a[l(0x1e1)]);case'boots':return new Boots(a[l(0x204)],a[l(0x1e1)]);case l(0x1e4):return new Gloves(a[l(0x204)],a[l(0x1e1)]);case l(0x1f0):return new Gauntlets(a[l(0x204)],a[l(0x1e1)]);default:return new BasicItem(a[l(0x204)],a['description']);}}[a44i(0x1f3)](a){const m=a44i,b=this[m(0x1f1)](a[m(0x202)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a44i,b=a[n(0x1e2)]&&RoomType[a[n(0x1e2)]['toUpperCase']()]?RoomType[a['roomType'][n(0x1e0)]()]:RoomType['INSIDE'];return{'name':a[n(0x204)],'description':a[n(0x1e1)],'isStartRoom':a[n(0x1fc)],'roomType':b};}}
@@ -1 +1 @@
1
- const a45j=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x147;let f=c[d];return f;},a45d(a,b);}(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x161))/0x1*(parseInt(h(0x169))/0x2)+parseInt(h(0x162))/0x3+-parseInt(h(0x168))/0x4*(parseInt(h(0x149))/0x5)+parseInt(h(0x147))/0x6*(-parseInt(h(0x15a))/0x7)+-parseInt(h(0x16a))/0x8+-parseInt(h(0x16f))/0x9+parseInt(h(0x14e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x87716));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const i=a45d;return a45a[i(0x156)]()['search'](i(0x16c))[i(0x156)]()[i(0x175)](a45a)[i(0x152)](i(0x16c));});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';import{CommandFactory}from'./factories/commandF.js';function a45c(){const r=['search','Available\x20Commands:\x0a','unlock','say','toString','createCommand','getAllRegisteredCommands','scene','521801bwEJEz','maka','getHelpMessage','instance','handleInput','clear','drop','509EgHsTV','567735xchnVM','split','currentRoom','solve','registerCommand','getInstance','4lmngma','2716IwAMVk','6016552MkuqjL','currentLocation','(((.+)+)+)+$','getWelcomeMessage','player','293859kcvUaZ','registerCommands','getDescription','trim','unequip','lock','constructor','look','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','getRooms','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','54mkLWBm','-\x20clear:\x20Clear\x20the\x20screen.\x0a','2814190WTgghe','name','hasOwnProperty','execute','toLowerCase','16927520mUMfZj','use','take','determineStartRoom'];a45c=function(){return r;};return a45c();}export default class Game{static [a45j(0x15d)];['scene'];[a45j(0x16e)];[a45j(0x164)];['rooms'];constructor(a,b){const k=a45j;this[k(0x16e)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this['scene']['initialize'](),this[k(0x16e)][k(0x16b)]=this[k(0x151)](),this[k(0x170)]();}[a45j(0x170)](){const l=a45j;CommandFactory[l(0x166)](l(0x176),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[l(0x166)](l(0x150),TakeCommand),CommandFactory[l(0x166)](l(0x14f),UseCommand),CommandFactory[l(0x166)]('equip',EquipCommand),CommandFactory['registerCommand'](l(0x173),UnequipCommand),CommandFactory['registerCommand'](l(0x165),SolveCommand),CommandFactory[l(0x166)](l(0x160),DropCommand),CommandFactory[l(0x166)](l(0x154),UnlockCommand),CommandFactory[l(0x166)](l(0x174),LockCommand),CommandFactory[l(0x166)](l(0x152),SearchCommand),CommandFactory[l(0x166)](l(0x155),SayCommand);}[a45j(0x151)](){const m=a45j;return this[m(0x159)][m(0x151)]();}[a45j(0x16d)](){const n=a45j;return'Welcome,\x20'+this[n(0x16e)][n(0x14a)];}static[a45j(0x167)](a,b){const o=a45j;return!Game[o(0x15d)]&&(Game[o(0x15d)]=new Game(a,b)),Game[o(0x15d)];}[a45j(0x15e)](a){const p=a45j,b=a[p(0x172)]()[p(0x163)]('\x20'),c=b[0x0][p(0x14d)](),d=b['slice'](0x1);if(c==='quit')return null;if(c===p(0x15b))return p(0x179);if(c==='help')return this[p(0x15c)]();if(c===p(0x15f))return'';const e={'actor':this[p(0x16e)],'rooms':this[p(0x159)][p(0x178)](),'scene':this[p(0x159)]},f=CommandFactory[p(0x157)](c,e);if(f){const g=f[p(0x14c)](d);return g;}return p(0x177)+c+'\x22.';}[a45j(0x15c)](){const q=a45j,a=CommandFactory[q(0x158)]();let b=q(0x153);for(const c in a){if(a[q(0x14b)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x171)]()+'\x0a';}}return b+=q(0x148),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
1
+ const a45j=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x14a))/0x1*(parseInt(h(0x124))/0x2)+-parseInt(h(0x12e))/0x3*(parseInt(h(0x147))/0x4)+parseInt(h(0x123))/0x5*(parseInt(h(0x13c))/0x6)+-parseInt(h(0x121))/0x7*(parseInt(h(0x136))/0x8)+-parseInt(h(0x134))/0x9*(-parseInt(h(0x120))/0xa)+-parseInt(h(0x12d))/0xb+parseInt(h(0x146))/0xc*(parseInt(h(0x11d))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x65d29));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const i=a45d;return a45a[i(0x139)]()[i(0x135)]('(((.+)+)+)+$')[i(0x139)]()[i(0x13a)](a45a)[i(0x135)](i(0x148));});a45a();import{Scene}from'./models/scene.js';function a45c(){const r=['getDescription','8885bLDFSV','550878REsnNc','getAllRegisteredCommands','getInstance','Welcome,\x20','scene','currentRoom','slice','currentLocation','lock','1326435oSRJGJ','39mMvbTl','equip','drop','createCommand','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','toLowerCase','79533aMsDGs','search','6152GLYJgO','trim','-\x20quit:\x20Exit\x20the\x20game.\x0a','toString','constructor','maka','228jRhsIu','player','clear','registerCommand','unlock','-\x20clear:\x20Clear\x20the\x20screen.\x0a','instance','determineStartRoom','help','look','84hDnHdH','138968sTRuSs','(((.+)+)+)+$','getWelcomeMessage','2EHOmqf','split','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','Available\x20Commands:\x0a','quit','getHelpMessage','initialize','345293ugfIDv','hasOwnProperty','say','560AYzCgd','2821bUUbyI'];a45c=function(){return r;};return a45c();}import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x119;let f=c[d];return f;},a45d(a,b);}import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45j(0x142)];[a45j(0x128)];[a45j(0x13d)];[a45j(0x129)];['rooms'];constructor(a,b){const k=a45j;this[k(0x13d)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[k(0x128)][k(0x11c)](),this['player'][k(0x12b)]=this[k(0x143)](),this['registerCommands']();}['registerCommands'](){const l=a45j;CommandFactory[l(0x13f)](l(0x145),LookCommand),CommandFactory[l(0x13f)]('go',GoCommand),CommandFactory[l(0x13f)]('take',TakeCommand),CommandFactory[l(0x13f)]('use',UseCommand),CommandFactory['registerCommand'](l(0x12f),EquipCommand),CommandFactory[l(0x13f)]('unequip',UnequipCommand),CommandFactory['registerCommand']('solve',SolveCommand),CommandFactory['registerCommand'](l(0x130),DropCommand),CommandFactory[l(0x13f)](l(0x140),UnlockCommand),CommandFactory[l(0x13f)](l(0x12c),LockCommand),CommandFactory[l(0x13f)](l(0x135),SearchCommand),CommandFactory['registerCommand'](l(0x11f),SayCommand);}[a45j(0x143)](){const m=a45j;return this['scene'][m(0x143)]();}[a45j(0x149)](){const n=a45j;return n(0x127)+this[n(0x13d)]['name'];}static[a45j(0x126)](a,b){const o=a45j;return!Game[o(0x142)]&&(Game[o(0x142)]=new Game(a,b)),Game[o(0x142)];}['handleInput'](a){const p=a45j,b=a[p(0x137)]()[p(0x14b)]('\x20'),c=b[0x0][p(0x133)](),d=b[p(0x12a)](0x1);if(c===p(0x11a))return null;if(c===p(0x13b))return p(0x132);if(c===p(0x144))return this[p(0x11b)]();if(c===p(0x13e))return'';const e={'actor':this[p(0x13d)],'rooms':this['scene']['getRooms'](),'scene':this['scene']},f=CommandFactory[p(0x131)](c,e);if(f){const g=f['execute'](d);return g;}return p(0x14c)+c+'\x22.';}[a45j(0x11b)](){const q=a45j,a=CommandFactory[q(0x125)]();let b=q(0x119);for(const c in a){if(a[q(0x11e)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x122)]()+'\x0a';}}return b+=q(0x141),b+=q(0x138),b;}}
@@ -1 +1 @@
1
- function a46c(){var h=['885532pFMWnG','1511496HzxZjN','toString','196477pKhISG','352125rHNbTY','63VaZodi','17162USnSpt','search','11gqKfky','5CrYxVJ','45hxOrjn','constructor','30QXkkgF','238120WgIReE','2632344RRjYsp','(((.+)+)+)+$'];a46c=function(){return h;};return a46c();}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x106))/0x1+-parseInt(f(0xf9))/0x2*(parseInt(f(0xfd))/0x3)+parseInt(f(0x103))/0x4+parseInt(f(0xfc))/0x5*(parseInt(f(0x104))/0x6)+parseInt(f(0xf8))/0x7*(-parseInt(f(0x100))/0x8)+parseInt(f(0xf7))/0x9*(parseInt(f(0xff))/0xa)+-parseInt(f(0xfb))/0xb*(parseInt(f(0x101))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x29cb5));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0x105)]()['search'](g(0x102))[g(0x105)]()[g(0xfe)](a46a)[g(0xfa)](g(0x102));});a46a();function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xf7;var f=c[d];return f;},a46d(a,b);}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
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x1a1))/0x1*(-parseInt(f(0x1a2))/0x2)+parseInt(f(0x1a4))/0x3+parseInt(f(0x1a7))/0x4+-parseInt(f(0x1a5))/0x5+-parseInt(f(0x1a3))/0x6+-parseInt(f(0x19f))/0x7+parseInt(f(0x1a0))/0x8*(parseInt(f(0x1a6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xe88c9));function a46c(){var h=['(((.+)+)+)+$','toString','search','2979088ZVHhFO','8WynceA','1180188esMefi','2dgbDuM','1354962llRiSv','5336802Sftgzi','63935OgPJgo','7484607BioELi','745400mnXrQx'];a46c=function(){return h;};return a46c();}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0x19d)]()[g(0x19e)](g(0x19c))[g(0x19d)]()['constructor'](a46a)['search'](g(0x19c));});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';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x19c;var f=c[d];return f;},a46d(a,b);}export*from'./scene.js';
@@ -1 +1 @@
1
- var a47h=a47d;function a47c(){var n=['.\x20Is\x20Locked:\x20','logger','toString','8435fACtft','isLocked','To\x20','39VccCED','search','attemptUnlock','write','checkIfLocked','2669744fAOvbg','unlockItemOrSolution','.\x20Used:\x20','\x20and\x20','getInstance','roomB','17190BxGXgi','isLockable','checkIfLockable','12058PilsMR','1271826qPIWVx','1704QMDtFj','name','27518juUBPl','Failed\x20to\x20unlock\x20door:\x20','4175eptoOG','Door\x20unlocked:\x20','2140uRRAox','1040DzAISN','roomA'];a47c=function(){return n;};return a47c();}(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x1d7))/0x1+-parseInt(f(0x1db))/0x2*(-parseInt(f(0x1e8))/0x3)+parseInt(f(0x1df))/0x4*(-parseInt(f(0x1dd))/0x5)+-parseInt(f(0x1d8))/0x6+parseInt(f(0x1e5))/0x7*(parseInt(f(0x1d9))/0x8)+parseInt(f(0x1f3))/0x9*(parseInt(f(0x1e0))/0xa)+parseInt(f(0x1ed))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x3835e));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var g=a47d;return a47a[g(0x1e4)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a47a)[g(0x1e9)]('(((.+)+)+)+$');});function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x1d6;var f=c[d];return f;},a47d(a,b);}a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47h(0x1e1)];[a47h(0x1f2)];[a47h(0x1e6)];[a47h(0x1ee)];['name'];[a47h(0x1e3)];['isLockable'];constructor(a){var i=a47h;super(),this['roomA']=a[i(0x1e1)],this[i(0x1f2)]=a[i(0x1f2)],this[i(0x1e6)]=a[i(0x1e6)]||![],this[i(0x1ee)]=a['unlockItemOrSolution'],this['name']=a[i(0x1da)]?capitalCase(a[i(0x1da)]):i(0x1e7)+a[i(0x1f2)][i(0x1da)],this[i(0x1e3)]=Logger[i(0x1f1)](),this[i(0x1f4)]=!!a[i(0x1ee)],this['logger'][i(0x1eb)]('Door\x20created\x20between\x20'+this[i(0x1e1)][i(0x1da)]+i(0x1f0)+this['roomB'][i(0x1da)]+i(0x1e2)+this[i(0x1e6)]);}['getOtherSide'](a){var j=a47h;return this[j(0x1e1)]===a?this['roomB']:this[j(0x1e1)];}[a47h(0x1ea)](a){var k=a47h;if(this['isLocked']&&this[k(0x1ee)]&&this['unlockItemOrSolution']===a)return this['isLocked']=![],this[k(0x1e3)][k(0x1eb)](k(0x1de)+this[k(0x1da)]+k(0x1ef)+a),!![];return this[k(0x1e3)][k(0x1eb)](k(0x1dc)+this[k(0x1da)]+k(0x1ef)+a),![];}[a47h(0x1ec)](){var l=a47h;return this[l(0x1e6)];}[a47h(0x1d6)](){var m=a47h;return this[m(0x1f4)];}}
1
+ var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x112))/0x1*(parseInt(f(0x128))/0x2)+parseInt(f(0x120))/0x3+parseInt(f(0x11d))/0x4*(parseInt(f(0x121))/0x5)+parseInt(f(0x115))/0x6+parseInt(f(0x118))/0x7+parseInt(f(0x129))/0x8*(-parseInt(f(0x114))/0x9)+-parseInt(f(0x12b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xb6554));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var g=a47d;return a47a[g(0x126)]()[g(0x117)](g(0x11f))[g(0x126)]()[g(0x122)](a47a)[g(0x117)]('(((.+)+)+)+$');});function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x111;var f=c[d];return f;},a47d(a,b);}a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a47c(){var m=['unlockItemOrSolution','4110WXKUiT','8GTbQMR','checkIfLocked','19941980UAAdOa','roomA','write','attemptUnlock','Door\x20created\x20between\x20','261QZRpxd','.\x20Is\x20Locked:\x20','11549709lwhcsm','8521926dQKRcS','roomB','search','1978830UpabrG','getOtherSide','checkIfLockable','getInstance','.\x20Used:\x20','4276OcoxxU','isLockable','(((.+)+)+)+$','2202426qgwwAy','4915ndoPdK','constructor','logger','isLocked','name','toString'];a47c=function(){return m;};return a47c();}export class Door extends AbstractDoor{[a47h(0x12c)];[a47h(0x116)];[a47h(0x124)];[a47h(0x127)];['name'];['logger'];['isLockable'];constructor(a){var i=a47h;super(),this[i(0x12c)]=a['roomA'],this[i(0x116)]=a[i(0x116)],this[i(0x124)]=a[i(0x124)]||![],this[i(0x127)]=a[i(0x127)],this['name']=a[i(0x125)]?capitalCase(a[i(0x125)]):'To\x20'+a[i(0x116)][i(0x125)],this[i(0x123)]=Logger[i(0x11b)](),this[i(0x11e)]=!!a[i(0x127)],this[i(0x123)][i(0x12d)](i(0x111)+this[i(0x12c)][i(0x125)]+'\x20and\x20'+this['roomB'][i(0x125)]+i(0x113)+this[i(0x124)]);}[a47h(0x119)](a){var j=a47h;return this[j(0x12c)]===a?this[j(0x116)]:this[j(0x12c)];}[a47h(0x12e)](a){var k=a47h;if(this['isLocked']&&this[k(0x127)]&&this['unlockItemOrSolution']===a)return this['isLocked']=![],this['logger']['write']('Door\x20unlocked:\x20'+this[k(0x125)]+k(0x11c)+a),!![];return this[k(0x123)][k(0x12d)]('Failed\x20to\x20unlock\x20door:\x20'+this[k(0x125)]+k(0x11c)+a),![];}[a47h(0x12a)](){return this['isLocked'];}[a47h(0x11a)](){var l=a47h;return this[l(0x11e)];}}
@@ -1 +1 @@
1
- const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x15f))/0x1+-parseInt(f(0x171))/0x2+-parseInt(f(0x15a))/0x3*(parseInt(f(0x172))/0x4)+parseInt(f(0x15b))/0x5+-parseInt(f(0x173))/0x6*(-parseInt(f(0x168))/0x7)+-parseInt(f(0x163))/0x8*(parseInt(f(0x175))/0x9)+parseInt(f(0x160))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x9a5fa));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a[g(0x174)]()['search'](g(0x16a))['toString']()['constructor'](a48a)[g(0x153)]('(((.+)+)+)+$');});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a48c(){const q=['Failed\x20to\x20remove\x20item:\x20','logger','toLowerCase','getItem','2901081ELvAyC','2588260ZvOUnp','write','name','Listed\x20items\x20in\x20inventory:\x20','554480sHJFbo','11355010esYunr','\x20to\x20inventory.','values','3138472zZDomS','keys','items','\x20in\x20','\x20from\x20inventory.','3493zXAkfI','set','(((.+)+)+)+$','join','Checked\x20for\x20item:\x20','map','hasItem','Added\x20item:\x20','get','932962ZZxYNt','4eXBUzo','3012XnqxDf','toString','9zCpomH','Retrieved\x20details\x20for\x20item:\x20','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','weight','search','.\x20Item\x20not\x20found.','removeItem'];a48c=function(){return q;};return a48c();}function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x151;let f=c[d];return f;},a48d(a,b);}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48h(0x165)];[a48h(0x157)];constructor(){const i=a48h;super(),this[i(0x165)]=new Map(),this[i(0x157)]=Logger['getInstance']();}['addItem'](a){const j=a48h;this[j(0x165)][j(0x169)](a[j(0x15d)][j(0x158)](),a),this[j(0x157)][j(0x15c)](j(0x16f)+a['name']+j(0x161));}[a48h(0x155)](a){const k=a48h,b=this[k(0x159)](a);if(b)return this[k(0x165)]['delete'](a[k(0x158)]()),this['logger'][k(0x15c)]('Removed\x20item:\x20'+a+k(0x167)),b;return this['logger'][k(0x15c)](k(0x156)+a+k(0x154)),null;}[a48h(0x16e)](a){const l=a48h,b=this[l(0x165)]['has'](a['toLowerCase']()),c=[...this[l(0x165)]['keys']()];return this[l(0x157)][l(0x15c)](l(0x16c)+a+l(0x166)+c[l(0x16b)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a48h(0x159)](a){const m=a48h,b=this['items'][m(0x170)](a[m(0x158)]())||null;return b?this[m(0x157)][m(0x15c)](m(0x176)+a+'.'):this[m(0x157)][m(0x15c)](m(0x151)+a+m(0x154)),b;}['listItems'](){const n=a48h,a=[...this[n(0x165)][n(0x164)]()],b=a[n(0x16d)](c=>capitalCase(c));return this[n(0x157)][n(0x15c)](n(0x15e)+b[n(0x16b)](',\x20')+'.'),a;}['getWeight'](){const o=a48h;let a=0x0;for(const b of this[o(0x165)][o(0x162)]()){a+=b[o(0x152)];}return a;}['getAllItems'](){const p=a48h;return[...this[p(0x165)][p(0x162)]()];}}
1
+ const a48i=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x17b;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x19b))/0x1+parseInt(f(0x181))/0x2*(parseInt(f(0x192))/0x3)+parseInt(f(0x19f))/0x4+parseInt(f(0x193))/0x5*(-parseInt(f(0x185))/0x6)+parseInt(f(0x1a6))/0x7+parseInt(f(0x1a1))/0x8*(parseInt(f(0x18d))/0x9)+parseInt(f(0x19a))/0xa*(-parseInt(f(0x187))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xc0d40));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x17c)]()[h(0x19e)]('(((.+)+)+)+$')[h(0x17c)]()[h(0x196)](a48a)[h(0x19e)](h(0x19d));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a48c(){const r=['\x20to\x20inventory.','write','10602mKAxsi','Removed\x20item:\x20','map','items','hasItem','82389eMLvBS','692555oXArHO','join','removeItem','constructor','keys','\x20from\x20inventory.','toLowerCase','110rEXoJv','815051NndAZD','Added\x20item:\x20','(((.+)+)+)+$','search','1212176fRocuH','getItem','4904JMFMEd','Checked\x20for\x20item:\x20','getInstance','values','name','465038IqabdP','addItem','toString','apply','Listed\x20items\x20in\x20inventory:\x20','has','weight','94umQkOA','logger','.\x20Item\x20not\x20found.','.\x20Exists:\x20','6TTMhLx','Failed\x20to\x20remove\x20item:\x20','2269069DUkkXT','set','getWeight','\x20in\x20'];a48c=function(){return r;};return a48c();}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a48i(0x182)];constructor(){const j=a48i;super(),this[j(0x190)]=new Map(),this[j(0x182)]=Logger[j(0x1a3)]();}[a48i(0x17b)](a){const k=a48i;this[k(0x190)][k(0x188)](a['name'][k(0x199)](),a),this['logger'][k(0x18c)](k(0x19c)+a[k(0x1a5)]+k(0x18b));}[a48i(0x195)](a){const l=a48i,b=this[l(0x1a0)](a);if(b)return this[l(0x190)]['delete'](a[l(0x199)]()),this[l(0x182)][l(0x18c)](l(0x18e)+a+l(0x198)),b;return this[l(0x182)][l(0x18c)](l(0x186)+a+'.\x20Item\x20not\x20found.'),null;}[a48i(0x191)](a){const m=a48i,b=this['items'][m(0x17f)](a[m(0x199)]()),c=[...this['items']['keys']()];return this[m(0x182)][m(0x18c)](m(0x1a2)+a+m(0x18a)+c['join'](',\x20')+m(0x184)+b+'.'),b;}[a48i(0x1a0)](a){const n=a48i,b=this['items']['get'](a['toLowerCase']())||null;return b?this[n(0x182)][n(0x18c)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0x182)][n(0x18c)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+n(0x183)),b;}['listItems'](){const o=a48i,a=[...this[o(0x190)][o(0x197)]()],b=a[o(0x18f)](c=>capitalCase(c));return this[o(0x182)]['write'](o(0x17e)+b[o(0x194)](',\x20')+'.'),a;}[a48i(0x189)](){const p=a48i;let a=0x0;for(const b of this[p(0x190)]['values']()){a+=b[p(0x180)];}return a;}['getAllItems'](){const q=a48i;return[...this[q(0x190)][q(0x1a4)]()];}}
@@ -1 +1 @@
1
- function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x100;var f=c[d];return f;},a49d(a,b);}var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x110))/0x1*(parseInt(f(0x112))/0x2)+parseInt(f(0x102))/0x3*(parseInt(f(0x116))/0x4)+-parseInt(f(0x109))/0x5*(parseInt(f(0x118))/0x6)+parseInt(f(0x10f))/0x7*(-parseInt(f(0x10a))/0x8)+parseInt(f(0x105))/0x9*(-parseInt(f(0x11c))/0xa)+parseInt(f(0x107))/0xb*(-parseInt(f(0x11e))/0xc)+parseInt(f(0x101))/0xd*(parseInt(f(0x115))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xcb1a3));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x119)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x10e)]()[h(0x104)]('(((.+)+)+)+$')[h(0x10e)]()[h(0x10b)](a49a)[h(0x104)]('(((.+)+)+)+$');});a49a();import{v4 as a49e}from'uuid';function a49c(){var l=['36LvFpBT','rating','7630370fZhFoV','You\x20use\x20the\x20','520vZmpMC','41296ITCjlI','constructor','uuid','category','toString','2114sxgkkL','10501ezgwfy','shape','106Zaqsoo','.\x20Nothing\x20special\x20happens.','weight','30577274HVRZii','3897172kiVvlW','name','31662LYLKaf','apply','texture','color','204070FuwZbO','description','12QEDdsf','size','13tSUwAu','3byRyQo','use','search'];a49c=function(){return l;};return a49c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x10c)];[a49i(0x117)];[a49i(0x11d)];[a49i(0x100)];[a49i(0x10d)];[a49i(0x111)];[a49i(0x11b)];[a49i(0x11a)];[a49i(0x106)];[a49i(0x114)];constructor(a){var j=a49i;super(),this['name']=a[j(0x117)],this[j(0x11d)]=a[j(0x11d)],this[j(0x100)]=a['size'],this[j(0x10d)]=a[j(0x10d)],this[j(0x111)]=a[j(0x111)],this[j(0x11b)]=a[j(0x11b)],this[j(0x11a)]=a['texture'],this[j(0x106)]=a[j(0x106)],this[j(0x114)]=a['weight'],this[j(0x10c)]=a49e();}[a49i(0x103)](){var k=a49i;return k(0x108)+this[k(0x117)]+k(0x113);}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x86))/0x1*(-parseInt(f(0x7f))/0x2)+-parseInt(f(0x6c))/0x3*(parseInt(f(0x6d))/0x4)+parseInt(f(0x6b))/0x5+-parseInt(f(0x6e))/0x6*(parseInt(f(0x83))/0x7)+-parseInt(f(0x80))/0x8*(parseInt(f(0x74))/0x9)+-parseInt(f(0x76))/0xa*(-parseInt(f(0x84))/0xb)+-parseInt(f(0x6f))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xeb678));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x7e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x71)]()[h(0x6a)]('(((.+)+)+)+$')['toString']()[h(0x72)](a49a)[h(0x6a)](h(0x82));});function a49c(){var l=['(((.+)+)+)+$','1680553ZOXZRo','2854841fJWZpI','category','277630sDndYc','search','8046435gOsyDF','6CxNItX','139676Hdrgll','24kGbuzm','5987748FVWcqF','shape','toString','constructor','.\x20Nothing\x20special\x20happens.','422442qmTtsL','texture','60ShXFFC','description','color','use','size','weight','uuid','name','apply','8uwnHOm','304hTikJq','rating'];a49c=function(){return l;};return a49c();}a49a();import{v4 as a49e}from'uuid';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x6a;var f=c[d];return f;},a49d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x7c)];['name'];[a49i(0x77)];[a49i(0x7a)];[a49i(0x85)];[a49i(0x70)];['color'];[a49i(0x75)];[a49i(0x81)];[a49i(0x7b)];constructor(a){var j=a49i;super(),this[j(0x7d)]=a['name'],this[j(0x77)]=a[j(0x77)],this['size']=a[j(0x7a)],this[j(0x85)]=a[j(0x85)],this[j(0x70)]=a[j(0x70)],this[j(0x78)]=a['color'],this['texture']=a['texture'],this[j(0x81)]=a['rating'],this[j(0x7b)]=a[j(0x7b)],this[j(0x7c)]=a49e();}[a49i(0x79)](){var k=a49i;return'You\x20use\x20the\x20'+this[k(0x7d)]+k(0x73);}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x16d))/0x1*(-parseInt(f(0x169))/0x2)+parseInt(f(0x166))/0x3+parseInt(f(0x16e))/0x4+parseInt(f(0x16c))/0x5*(parseInt(f(0x168))/0x6)+parseInt(f(0x167))/0x7+parseInt(f(0x17a))/0x8*(parseInt(f(0x16f))/0x9)+-parseInt(f(0x163))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x39aa0));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x174)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x176)]()['search']('(((.+)+)+)+$')[h(0x176)]()[h(0x177)](a50a)[h(0x172)]('(((.+)+)+)+$');});a50a();function a50c(){const n=['constructor','moveTo','scene','24904eMTZdb','_dialogue','4021470ywvxPq','length','name','414540zMTakD','2277275WvRVHN','89766IRMvxv','84mGxSEz','autonomousMove','floor','65EESgvw','9696oioHuj','1002404zKBZsk','396JHLpzg','random','speak','search','_name','apply','rooms','toString'];a50c=function(){return n;};return a50c();}function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x163;let f=c[d];return f;},a50d(a,b);}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a50i(0x17b)];['rooms'];[a50i(0x179)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x173)]=a,this[j(0x17b)]=b,this[j(0x175)]=c;}get[a50i(0x165)](){return this['_name'];}[a50i(0x171)](){const k=a50i;return this[k(0x17b)][Math['floor'](Math[k(0x170)]()*this[k(0x17b)]['length'])];}[a50i(0x16a)](a){const l=a50i,b=a[Math[l(0x16b)](Math['random']()*a[l(0x164)])];this[l(0x178)](b['name']);}[a50i(0x178)](a){const m=a50i,b={'actor':this,'rooms':this[m(0x175)],'scene':this[m(0x179)]},c=new GoCommand(b);c['execute']([a]);}}
1
+ function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xbe;let f=c[d];return f;},a50d(a,b);}function a50c(){const m=['random','810whIShP','510348rjAVGY','execute','moveTo','662167sBpBVd','search','5yKXznb','name','rooms','4rnaNrF','speak','136BsJXYZ','autonomousMove','scene','toString','732VdGTzd','597530ABJnLu','2987529nzZrqm','(((.+)+)+)+$','321909xnMGUC','8160905FxzzlG','floor','201430hJHqMt','_name','_dialogue','length'];a50c=function(){return m;};return a50c();}const a50h=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0xcf))/0x1*(-parseInt(f(0xbe))/0x2)+-parseInt(f(0xbf))/0x3*(parseInt(f(0xd2))/0x4)+parseInt(f(0xc2))/0x5+-parseInt(f(0xca))/0x6+parseInt(f(0xc1))/0x7*(parseInt(f(0xd4))/0x8)+-parseInt(f(0xc9))/0x9*(-parseInt(f(0xc4))/0xa)+-parseInt(f(0xcd))/0xb*(parseInt(f(0xd8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xec439));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const g=a50d;return a50a[g(0xd7)]()[g(0xce)]('(((.+)+)+)+$')[g(0xd7)]()['constructor'](a50a)['search'](g(0xc0));});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50h(0xc5)];['_dialogue'];[a50h(0xd1)];[a50h(0xd6)];constructor(a,b,c,d){const i=a50h;super(d),this[i(0xc5)]=a,this[i(0xc6)]=b,this['rooms']=c;}get[a50h(0xd0)](){return this['_name'];}[a50h(0xd3)](){const j=a50h;return this[j(0xc6)][Math[j(0xc3)](Math[j(0xc8)]()*this[j(0xc6)][j(0xc7)])];}[a50h(0xd5)](a){const k=a50h,b=a[Math[k(0xc3)](Math['random']()*a[k(0xc7)])];this[k(0xcc)](b[k(0xd0)]);}['moveTo'](a){const l=a50h,b={'actor':this,'rooms':this['rooms'],'scene':this[l(0xd6)]},c=new GoCommand(b);c[l(0xcb)]([a]);}}
@@ -1 +1 @@
1
- function a51c(){const A=['torso','feet','error','12zGPNgR','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','body\x20armor','_currentLocation','addItem','arm\x20armor','484754yVRBHF','hasItem','maxCarryingWeight','A\x20featureless\x20room','removeItem','inventoryItems','write','equipment','log','removeInventory','You\x20unequipped\x20','armarmor','_playerName','speak','LegArmor','bodyarmor','search','unequip','addInventory','leaveRoom','rightHand','\x20slot.','ArmArmor','hear','\x20from\x20player\x27s\x20inventory.','equip','8327322Zbmqks','weapon','3717276UtDyHx','Nexus','getInstance','includes','logger','Removed\x20','Weapon','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','6680034GQkPRG','legarmor','off','toLowerCase','756697wVDWKD','\x20says:\x20\x22','category','781UqryXz','bind','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','shield','You\x20don\x27t\x20have\x20','\x20in\x20your\x20inventory.','determineEquipmentSlot','8jycxPW','5BOzCFs','getWeight','gloves','Gloves','enterRoom','currentLocation','Failed\x20to\x20remove\x20','unequipBySlot','inventory','You\x20can\x27t\x20equip\x20','values','_inventory','Shield','toString','name','Added\x20','head','Hat','7639268QQFvGp','arms','leftHand','Boots','\x20to\x20player\x27s\x20inventory.','(((.+)+)+)+$','Invalid\x20category\x20or\x20slot:\x20','159270JrdIjx','legs','BodyArmor','_equipment','Max\x20carrying\x20weight\x20must\x20be\x20positive.','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','_maxCarryingWeight'];a51c=function(){return A;};return a51c();}const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x141))/0x1+parseInt(f(0x119))/0x2*(parseInt(f(0x113))/0x3)+parseInt(f(0x135))/0x4*(-parseInt(f(0xf0))/0x5)+-parseInt(f(0x13d))/0x6+parseInt(f(0x102))/0x7+parseInt(f(0xef))/0x8*(parseInt(f(0x133))/0x9)+parseInt(f(0x109))/0xa*(-parseInt(f(0x144))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x8afe0));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const g=a51d;return a51a['toString']()[g(0x129)](g(0x107))[g(0xfd)]()['constructor'](a51a)['search'](g(0x107));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xef;let f=c[d];return f;},a51d(a,b);}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a51h(0x116)];['_inventory'];['_equipment'];[a51h(0x10f)]=0x32;['logger'];constructor(a){const i=a51h;super(),this[i(0x125)]=a['playerName'],this[i(0x116)]=a['startLocation']||new Room({'name':i(0x136),'description':i(0x11c)}),this[i(0xfb)]=new Inventory(),this[i(0x139)]=Logger[i(0x137)]();if(a?.[i(0x11e)])for(const b of a[i(0x11e)]){this[i(0xfb)][i(0x117)](b);}this['_equipment']=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0xfe)](){return this['_playerName'];}get['currentLocation'](){const j=a51h;return this[j(0x116)];}set[a51h(0xf5)](a){const k=a51h;this[k(0x116)]!==a&&(this[k(0x12c)](),this['enterRoom'](a)),this[k(0x116)]=a;}get[a51h(0xf8)](){return this['_inventory'];}get[a51h(0x120)](){const l=a51h;return this[l(0x10c)];}set[a51h(0x120)](a){const m=a51h;this[m(0x10c)]=a;}get[a51h(0x11b)](){const n=a51h;return this[n(0x10f)];}set[a51h(0x11b)](a){const o=a51h;a>0x0?this[o(0x10f)]=a:console[o(0x112)](o(0x10d));}get['currentWeight'](){const p=a51h;let a=this[p(0xfb)][p(0xf1)]();for(const b in this[p(0x10c)]){const c=this[p(0x10c)][b];c&&(a+=c['weight']);}return a;}['addInventory'](a){const q=a51h;if(this['currentWeight']+a['weight']>this['maxCarryingWeight']){this[q(0x139)][q(0x11f)](q(0x146));throw new Error(q(0x10e));}this[q(0xfb)][q(0x117)](a),this[q(0x139)][q(0x11f)](q(0xff)+a[q(0xfe)]+q(0x106));}[a51h(0x122)](a){const r=a51h;if(this[r(0xfb)][r(0x11d)](a['name']))return this[r(0x139)]['write'](r(0x13a)+a[r(0xfe)]+r(0x131)),!![];return this[r(0x139)][r(0x11f)](r(0xf6)+a[r(0xfe)]+r(0x131)),![];}[a51h(0x132)](a){const s=a51h;if(!this['_inventory'][s(0x11a)](a[s(0xfe)]))return s(0x148)+a[s(0xfe)]+s(0x149);if(!this['canEquip'](a))return s(0xf9)+a[s(0xfe)]+'.';const b=this[s(0x14a)](a[s(0x143)]);if(!b)return a[s(0xfe)]+s(0x13c);if(this[s(0x120)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this['equipment'][b]=a,this[s(0x122)](a),'You\x20equipped\x20'+a[s(0xfe)]+'.';}[a51h(0x12a)](a){const t=a51h;let b=a;if(!this[t(0x120)][camelCase(b)]){b=this[t(0x14a)](a);if(!b)return t(0x108)+a+'.';}return this[t(0xf7)](b);}['determineEquipmentSlot'](a){const u=a51h;switch(a[u(0x140)]()){case Category[u(0x13b)][u(0x140)]():return u(0x12d);case Category[u(0xfc)]['toLowerCase']():return u(0x104);case Category[u(0xf3)][u(0x140)]():return'gloves';case Category['Helmet'][u(0x140)]():case Category[u(0x101)][u(0x140)]():return u(0x100);case Category[u(0x105)][u(0x140)]():return u(0x111);case Category[u(0x127)][u(0x140)]():return'legs';case Category[u(0x12f)][u(0x140)]():return'arms';case Category[u(0x10b)][u(0x140)]():return u(0x110);case u(0x134):return u(0x12d);case u(0x147):return'leftHand';case'gloves':return u(0xf2);case'helmet':case'hat':return u(0x100);case'boots':return u(0x111);case'leg\x20armor':case u(0x13e):return u(0x10a);case u(0x118):case u(0x124):return u(0x103);case u(0x115):case u(0x128):case u(0x110):return u(0x110);default:return null;}}['canEquip'](a){const v=a51h;return Object[v(0xfa)](Category)[v(0x138)](a[v(0x143)]);}[a51h(0xf7)](a){const w=a51h,b=this[w(0x120)][a];if(!b)return w(0x114)+a+w(0x12e);return this[w(0x12b)](b),this[w(0x120)][a]=null,w(0x123)+b[w(0xfe)]+'.';}[a51h(0x130)](a,b){const x=a51h;a!==this&&this[x(0x139)][x(0x121)](a[x(0xfe)]+x(0x142)+b+'\x22');}[a51h(0xf4)](a){const y=a51h;this[y(0x116)]=a,a['on'](y(0x126),this[y(0x130)]['bind'](this)),this['logger']['write'](this['name']+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[y(0xfe)]);}['leaveRoom'](){const z=a51h;this[z(0x116)]&&(this[z(0x116)][z(0x13f)]('speak',this[z(0x130)][z(0x145)](this)),this[z(0x139)][z(0x11f)](this[z(0xfe)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[z(0x116)][z(0xfe)]));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x159))/0x1*(-parseInt(f(0x15c))/0x2)+-parseInt(f(0x18a))/0x3+-parseInt(f(0x17c))/0x4*(parseInt(f(0x186))/0x5)+-parseInt(f(0x1a2))/0x6+-parseInt(f(0x150))/0x7+-parseInt(f(0x18b))/0x8+parseInt(f(0x176))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xc5696));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x162)]()[h(0x18d)](h(0x173))[h(0x162)]()[h(0x152)](a51a)['search']('(((.+)+)+)+$');});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';function a51c(){const C=['legarmor','139301bpKzrI','Max\x20carrying\x20weight\x20must\x20be\x20positive.','Hat','4NSZMCU','canEquip','Weapon','helmet','maxCarryingWeight','rightHand','toString','_maxCarryingWeight','.\x20You\x20must\x20unequip\x20it\x20first.','unequip','\x20in\x20your\x20inventory.','_currentLocation','removeInventory','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','determineEquipmentSlot','off','Added\x20','apply','addItem','enterRoom','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','\x20is\x20now\x20listening\x20in\x20room\x20','You\x20unequipped\x20','(((.+)+)+)+$','toLowerCase','weapon','62087472KtvwJZ','initialEquipment','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','startLocation','getWeight','speak','3132FtmfZr','Shield','legs','addInventory','You\x20equipped\x20','write','bodyarmor','leftHand','values','Failed\x20to\x20remove\x20','10095DbLMih','name','torso','Helmet','2969529mMKjoN','5071032Vxdajz','hat','search','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','ArmArmor','removeItem','Boots','hasItem','bind','currentWeight','includes','armarmor','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','error','leg\x20armor','\x20to\x20player\x27s\x20inventory.','LegArmor','Invalid\x20category\x20or\x20slot:\x20','head','equipment','inventoryItems','Nexus','logger','8219976JbfuRn','A\x20featureless\x20room','weight','log','You\x20don\x27t\x20have\x20','category','leaveRoom','equip','hear','_equipment','gloves','\x20from\x20player\x27s\x20inventory.','body\x20armor','feet','\x20is\x20no\x20longer\x20listeng\x20in\x20','arms','arm\x20armor','_playerName','8657691JFidpc','boots','constructor','Removed\x20','currentLocation','playerName','_inventory','Gloves'];a51c=function(){return C;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x14d;let f=c[d];return f;},a51d(a,b);}export class Player extends AbstractPlayer{[a51i(0x14f)];[a51i(0x167)];['_inventory'];['_equipment'];[a51i(0x163)]=0x32;[a51i(0x1a1)];constructor(a){const j=a51i;super(),this['_playerName']=a[j(0x155)],this[j(0x167)]=a[j(0x179)]||new Room({'name':j(0x1a0),'description':j(0x1a3)}),this[j(0x156)]=new Inventory(),this['logger']=Logger['getInstance']();if(a?.[j(0x19f)])for(const b of a[j(0x19f)]){this['_inventory']['addItem'](b);}this[j(0x1ab)]=a?.[j(0x177)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x187)](){const k=a51i;return this[k(0x14f)];}get['currentLocation'](){return this['_currentLocation'];}set[a51i(0x154)](a){const l=a51i;this[l(0x167)]!==a&&(this['leaveRoom'](),this[l(0x16f)](a)),this[l(0x167)]=a;}get['inventory'](){const m=a51i;return this[m(0x156)];}get[a51i(0x19e)](){const n=a51i;return this[n(0x1ab)];}set['equipment'](a){const o=a51i;this[o(0x1ab)]=a;}get['maxCarryingWeight'](){const p=a51i;return this[p(0x163)];}set[a51i(0x160)](a){const q=a51i;a>0x0?this['_maxCarryingWeight']=a:console[q(0x198)](q(0x15a));}get[a51i(0x194)](){const r=a51i;let a=this[r(0x156)][r(0x17a)]();for(const b in this[r(0x1ab)]){const c=this[r(0x1ab)][b];c&&(a+=c['weight']);}return a;}[a51i(0x17f)](a){const s=a51i;if(this[s(0x194)]+a[s(0x1a4)]>this[s(0x160)]){this[s(0x1a1)][s(0x181)](s(0x178));throw new Error(s(0x169));}this['_inventory'][s(0x16e)](a),this[s(0x1a1)]['write'](s(0x16c)+a[s(0x187)]+s(0x19a));}[a51i(0x168)](a){const t=a51i;if(this['_inventory'][t(0x190)](a[t(0x187)]))return this[t(0x1a1)][t(0x181)](t(0x153)+a[t(0x187)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[t(0x1a1)][t(0x181)](t(0x185)+a[t(0x187)]+t(0x1ad)),![];}[a51i(0x1a9)](a){const u=a51i;if(!this[u(0x156)][u(0x192)](a[u(0x187)]))return u(0x1a6)+a[u(0x187)]+u(0x166);if(!this['canEquip'](a))return'You\x20can\x27t\x20equip\x20'+a[u(0x187)]+'.';const b=this[u(0x16a)](a[u(0x1a7)]);if(!b)return a['name']+u(0x197);if(this[u(0x19e)][b])return u(0x18e)+b+u(0x164);return this[u(0x19e)][b]=a,this[u(0x168)](a),u(0x180)+a['name']+'.';}[a51i(0x165)](a){const v=a51i;let b=a;if(!this[v(0x19e)][camelCase(b)]){b=this[v(0x16a)](a);if(!b)return v(0x19c)+a+'.';}return this['unequipBySlot'](b);}[a51i(0x16a)](a){const w=a51i;switch(a[w(0x174)]()){case Category[w(0x15e)][w(0x174)]():return'rightHand';case Category[w(0x17d)][w(0x174)]():return w(0x183);case Category[w(0x157)][w(0x174)]():return'gloves';case Category[w(0x189)][w(0x174)]():case Category[w(0x15b)]['toLowerCase']():return w(0x19d);case Category[w(0x191)]['toLowerCase']():return'feet';case Category[w(0x19b)][w(0x174)]():return'legs';case Category[w(0x18f)][w(0x174)]():return w(0x14d);case Category['BodyArmor'][w(0x174)]():return w(0x188);case w(0x175):return w(0x161);case'shield':return'leftHand';case w(0x1ac):return'gloves';case w(0x15f):case w(0x18c):return'head';case w(0x151):return w(0x1af);case w(0x199):case w(0x158):return w(0x17e);case w(0x14e):case w(0x196):return'arms';case w(0x1ae):case w(0x182):case w(0x188):return w(0x188);default:return null;}}[a51i(0x15d)](a){const x=a51i;return Object[x(0x184)](Category)[x(0x195)](a[x(0x1a7)]);}['unequipBySlot'](a){const y=a51i,b=this['equipment'][a];if(!b)return y(0x170)+a+'\x20slot.';return this[y(0x17f)](b),this[y(0x19e)][a]=null,y(0x172)+b[y(0x187)]+'.';}[a51i(0x1aa)](a,b){const z=a51i;a!==this&&this['logger'][z(0x1a5)](a[z(0x187)]+'\x20says:\x20\x22'+b+'\x22');}[a51i(0x16f)](a){const A=a51i;this[A(0x167)]=a,a['on'](A(0x17b),this['hear']['bind'](this)),this[A(0x1a1)][A(0x181)](this['name']+A(0x171)+a[A(0x187)]);}[a51i(0x1a8)](){const B=a51i;this[B(0x167)]&&(this[B(0x167)][B(0x16b)](B(0x17b),this[B(0x1aa)][B(0x193)](this)),this[B(0x1a1)][B(0x181)](this['name']+B(0x1b0)+this[B(0x167)]['name']));}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x1bc))/0x1*(parseInt(f(0x1bd))/0x2)+parseInt(f(0x1c1))/0x3+-parseInt(f(0x1c3))/0x4*(-parseInt(f(0x1d3))/0x5)+-parseInt(f(0x1c5))/0x6*(parseInt(f(0x1ca))/0x7)+-parseInt(f(0x1c7))/0x8+parseInt(f(0x1cc))/0x9*(parseInt(f(0x1be))/0xa)+-parseInt(f(0x1b7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xabda8));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1c0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x1d5)](h(0x1cd))[h(0x1c2)]()[h(0x1b5)](a52a)[h(0x1d5)](h(0x1cd));});a52a();function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1b4;var f=c[d];return f;},a52d(a,b);}import{Logger}from'../utilities/logger.js';function a52c(){var m=['169356gTkhFD','write','4144360XcQIcj','requiredPhrase','riddle','28JaNKTl','You\x20solved\x20the\x20puzzle!','29241NDYxFB','(((.+)+)+)+$','hasRequiredItem','Puzzle:\x20Correct\x20solution\x20provided.','successMessage','solve','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','5KLwCqq','logger','search','You\x20have\x20already\x20solved\x20this\x20puzzle.','getInstance','constructor','solved','19337065NZwMJH','hasItem','requiredItem','failureMessage','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','26575VPIzXk','12KdBVCC','3910LbchLF','matchesRequiredPhrase','apply','2519163KLepnV','toString','3292984PJXTyt','rewardItem'];a52c=function(){return m;};return a52c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x1d4)]=Logger[a52i(0x1b4)]();[a52i(0x1b6)]=![];['requiredItem'];[a52i(0x1c8)];[a52i(0x1c9)];[a52i(0x1c4)];['successMessage'];['failureMessage'];constructor(a){var j=a52i;super(),this[j(0x1b9)]=a[j(0x1b9)],this['requiredPhrase']=a[j(0x1c8)],this[j(0x1c9)]=a[j(0x1c9)],this['rewardItem']=a[j(0x1c4)],this[j(0x1d0)]=a['successMessage']||j(0x1cb),this[j(0x1ba)]=a[j(0x1ba)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a52i(0x1ce)](a){var k=a52i;if(this['requiredItem'])return a[k(0x1b8)](this[k(0x1b9)]);return![];}[a52i(0x1bf)](a){return this['requiredPhrase']===a;}[a52i(0x1d1)](a,b){var l=a52i;if(this['solved'])return this[l(0x1d4)]['write'](l(0x1bb)),{'success':![],'message':l(0x1d6)};return this['hasRequiredItem'](b)||this['matchesRequiredPhrase'](a)?(this[l(0x1b6)]=!![],this['logger'][l(0x1c6)](l(0x1cf)),{'success':!![],'message':this[l(0x1d0)]}):(this[l(0x1d4)]['write'](l(0x1d2)),{'success':![],'message':this[l(0x1ba)]});}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x161))/0x1*(-parseInt(f(0x14e))/0x2)+parseInt(f(0x14c))/0x3*(-parseInt(f(0x15e))/0x4)+parseInt(f(0x168))/0x5+-parseInt(f(0x151))/0x6+-parseInt(f(0x16e))/0x7+-parseInt(f(0x159))/0x8*(parseInt(f(0x169))/0x9)+parseInt(f(0x15f))/0xa*(parseInt(f(0x15d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x2ee66));function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x14c;var f=c[d];return f;},a52d(a,b);}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x156)](h(0x160))[h(0x14d)]()[h(0x15b)](a52a)[h(0x156)](h(0x160));});a52a();import{Logger}from'../utilities/logger.js';function a52c(){var m=['You\x20solved\x20the\x20puzzle!','failureMessage','requiredItem','requiredPhrase','search','logger','hasRequiredItem','16IZTIac','write','constructor','solved','2565838lAsbFS','330508baOxhA','20nuNMNu','(((.+)+)+)+$','4uyjaLj','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','riddle','rewardItem','getInstance','You\x20have\x20already\x20solved\x20this\x20puzzle.','1904445HHjHWy','488241ouvdWJ','apply','Puzzle:\x20Correct\x20solution\x20provided.','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','successMessage','964614YTwyrc','solve','9sGrwyK','toString','80980hQusjE','hasItem','matchesRequiredPhrase','1938492AeQLwV'];a52c=function(){return m;};return a52c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a52i(0x166)]();[a52i(0x15c)]=![];[a52i(0x154)];[a52i(0x155)];[a52i(0x164)];['rewardItem'];[a52i(0x16d)];[a52i(0x153)];constructor(a){var j=a52i;super(),this['requiredItem']=a[j(0x154)],this[j(0x155)]=a['requiredPhrase'],this['riddle']=a['riddle'],this[j(0x165)]=a['rewardItem'],this[j(0x16d)]=a[j(0x16d)]||j(0x152),this[j(0x153)]=a[j(0x153)]||j(0x163);}[a52i(0x158)](a){var k=a52i;if(this[k(0x154)])return a[k(0x14f)](this['requiredItem']);return![];}[a52i(0x150)](a){return this['requiredPhrase']===a;}[a52i(0x16f)](a,b){var l=a52i;if(this[l(0x15c)])return this[l(0x157)][l(0x15a)](l(0x16c)),{'success':![],'message':l(0x167)};return this[l(0x158)](b)||this[l(0x150)](a)?(this[l(0x15c)]=!![],this[l(0x157)][l(0x15a)](l(0x16b)),{'success':!![],'message':this[l(0x16d)]}):(this[l(0x157)][l(0x15a)](l(0x162)),{'success':![],'message':this[l(0x153)]});}}
@@ -1 +1 @@
1
- const a53i=a53d;function a53c(){const u=['40nxqNev','set','attemptUnlock','roomB','roomA','apply','897800kYDjLo','exits','4990329qXrXEo','emit','riddle','west','checkIfLocked','north','1351gMfuFt','addItem','get','removeItem','(((.+)+)+)+$','constructor','down','Item\x20removed\x20from\x20room\x20','search','south','getInstance','Fetching\x20exit\x20in\x20direction:\x20','hasItem','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','toString','findExistingDoor','attemptUnlockExit','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','285515FLwCNR','roomType','INSIDE','inventory','logger','speak','EAST','values','name','isStartRoom','description','getExit','SOUTH','puzzle','write','Item\x20added\x20to\x20room\x20','Checking\x20if\x20exit\x20in\x20direction\x20','2324322vEnNdV','Invalid\x20direction:\x20','getOppositeDirection','\x20is\x20locked.\x20Result:\x20','1926554JepiPa','1138956ElMtEu','WEST','setPuzzle','\x20remains\x20locked.','NORTH','DOWN','43296BpGlsv'];a53c=function(){return u;};return a53c();}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xa7))/0x1+parseInt(f(0x99))/0x2+parseInt(f(0x95))/0x3+parseInt(f(0xa1))/0x4*(-parseInt(f(0x84))/0x5)+-parseInt(f(0x9a))/0x6+-parseInt(f(0xaf))/0x7*(-parseInt(f(0xa0))/0x8)+-parseInt(f(0xa9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x8b056));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x80)]()[h(0xb7)](h(0xb3))['toString']()[h(0xb4)](a53a)[h(0xb7)](h(0xb3));});function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x7e;let f=c[d];return f;},a53d(a,b);}a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x88)]=Logger[a53i(0xb9)]();[a53i(0x8c)];[a53i(0x8e)];[a53i(0xa8)]=new Map();['roomType'];['isStartRoom'];[a53i(0x87)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x8c)]=a['name'],this['description']=a[j(0x8e)],this['roomType']=a[j(0x85)]||RoomType[j(0x86)],a[j(0xa8)]&&(this[j(0xa8)]=a[j(0xa8)]||new Map()),a[j(0x87)]&&(this[j(0x87)]=a['inventory']),a[j(0x91)]&&(this[j(0x91)]=a[j(0x91)]),this['isStartRoom']=a[j(0x8d)]||![],this[j(0x88)][j(0x92)]('Room\x20created:\x20'+this[j(0x8c)]);}['say'](a,b){const k=a53i;this[k(0xaa)](k(0x89),a,b);}['addExit'](a,b,c){const l=a53i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0xa2)](a,d),b[l(0xa8)][l(0xa2)](this[l(0x97)](a),d);}[a53i(0x82)](a,b){const m=a53i,c=this[m(0xa8)][m(0xb1)](a);if(c instanceof Door){const d=c[m(0xa3)](b);return this['logger']['write']('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+'.\x20Success:\x20'+d),d?'The\x20'+c['name']+'\x20unlocked!':'The\x20'+c[m(0x8c)]+m(0x9d);}return this[m(0x88)][m(0x92)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0x83);}[a53i(0x8f)](a){const n=a53i;return this[n(0x88)][n(0x92)](n(0xba)+a),this['exits']['get'](a);}['isExitLocked'](a){const o=a53i,b=this[o(0xa8)][o(0xb1)](a),c=b instanceof Door&&b[o(0xad)]();return this['logger']['write'](o(0x94)+a+o(0x98)+c),c;}[a53i(0xb0)](a){const p=a53i;this[p(0x87)][p(0xb0)](a),this[p(0x88)][p(0x92)](p(0x93)+this[p(0x8c)]+':\x20'+a[p(0x8c)]);}[a53i(0xb2)](a){const q=a53i;this[q(0x87)][q(0x7e)](a[q(0x8c)])?(this[q(0x87)][q(0xb2)](a[q(0x8c)]),this[q(0x88)][q(0x92)](q(0xb6)+this['name']+':\x20'+a['name'])):this[q(0x88)][q(0x92)](q(0x7f)+this[q(0x8c)]+':\x20'+a[q(0x8c)]);}[a53i(0x9c)](a){const r=a53i;this[r(0x91)]=a,this['logger'][r(0x92)]('Puzzle\x20set\x20for\x20room\x20'+this[r(0x8c)]+':\x20'+a[r(0xab)]);}[a53i(0x97)](a){const s=a53i;switch(a){case s(0xae):return Direction[s(0x90)];case s(0xb8):return Direction[s(0x9e)];case'east':return Direction[s(0x9b)];case s(0xac):return Direction[s(0x8a)];case'up':return Direction[s(0x9f)];case s(0xb5):return Direction['UP'];default:throw new Error(s(0x96)+a);}}[a53i(0x81)](a){const t=a53i;for(const b of this[t(0xa8)][t(0x8b)]()){if(b instanceof Door){if(b[t(0xa5)]===this&&b[t(0xa4)]===a||b[t(0xa4)]===this&&b[t(0xa5)]===a)return b;}}return undefined;}}
1
+ const a53i=a53d;function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xe7;let f=c[d];return f;},a53d(a,b);}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x111))/0x1+parseInt(f(0x119))/0x2*(-parseInt(f(0x11a))/0x3)+-parseInt(f(0x109))/0x4*(-parseInt(f(0xe8))/0x5)+-parseInt(f(0xf4))/0x6*(parseInt(f(0x115))/0x7)+parseInt(f(0x11c))/0x8+-parseInt(f(0xfa))/0x9+-parseInt(f(0xe7))/0xa*(-parseInt(f(0x10b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x4e5b4));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x100)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0x102)](h(0xea))[h(0x101)]()[h(0x117)](a53a)[h(0x102)](h(0xea));});a53a();import{Logger}from'../utilities/logger.js';function a53c(){const u=['emit','894560mogMbg','east','values','down','speak','\x20is\x20locked.\x20Result:\x20','west','set','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','13193770AEgMfD','515XOFjBt','getOppositeDirection','(((.+)+)+)+$','removeItem','puzzle','isStartRoom','roomB','No\x20locked\x20exit\x20found\x20in\x20direction\x20','attemptUnlock','north','Room\x20created:\x20','inventory','768tZjcoB','description','write','riddle','isExitLocked','logger','4434273bsZmEB','addItem','Item\x20removed\x20from\x20room\x20','roomA','get','Checking\x20if\x20exit\x20in\x20direction\x20','apply','toString','search','say','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','setPuzzle','SOUTH','findExistingDoor','exits','652LaGPeS','INSIDE','11OiStUb','DOWN','\x20unlocked!','addExit','name','Puzzle\x20set\x20for\x20room\x20','203614ioXcEY','south','hasItem','Fetching\x20exit\x20in\x20direction:\x20','17668flAOJK','The\x20','constructor','roomType','1029766MDUTAT','3mVJOTq'];a53c=function(){return u;};return a53c();}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0xf9)]=Logger['getInstance']();[a53i(0x10f)];[a53i(0xf5)];[a53i(0x108)]=new Map();[a53i(0x118)];[a53i(0xed)];[a53i(0xf3)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x10f)]=a[j(0x10f)],this['description']=a[j(0xf5)],this[j(0x118)]=a[j(0x118)]||RoomType[j(0x10a)],a[j(0x108)]&&(this[j(0x108)]=a[j(0x108)]||new Map()),a[j(0xf3)]&&(this['inventory']=a[j(0xf3)]),a[j(0xec)]&&(this[j(0xec)]=a[j(0xec)]),this[j(0xed)]=a['isStartRoom']||![],this[j(0xf9)][j(0xf6)](j(0xf2)+this[j(0x10f)]);}[a53i(0x103)](a,b){const k=a53i;this[k(0x11b)](k(0x120),a,b);}[a53i(0x10e)](a,b,c){const l=a53i;let d=this[l(0x107)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x108)][l(0x123)](a,d),b[l(0x108)][l(0x123)](this[l(0xe9)](a),d);}['attemptUnlockExit'](a,b){const m=a53i,c=this['exits']['get'](a);if(c instanceof Door){const d=c[m(0xf0)](b);return this['logger']['write']('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+'.\x20Success:\x20'+d),d?m(0x116)+c[m(0x10f)]+m(0x10d):m(0x116)+c[m(0x10f)]+'\x20remains\x20locked.';}return this[m(0xf9)]['write'](m(0xef)+a),m(0x104);}['getExit'](a){const n=a53i;return this[n(0xf9)][n(0xf6)](n(0x114)+a),this['exits']['get'](a);}[a53i(0xf8)](a){const o=a53i,b=this[o(0x108)][o(0xfe)](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0xf9)][o(0xf6)](o(0xff)+a+o(0x121)+c),c;}[a53i(0xfb)](a){const p=a53i;this[p(0xf3)]['addItem'](a),this[p(0xf9)][p(0xf6)]('Item\x20added\x20to\x20room\x20'+this['name']+':\x20'+a[p(0x10f)]);}[a53i(0xeb)](a){const q=a53i;this[q(0xf3)][q(0x113)](a['name'])?(this[q(0xf3)][q(0xeb)](a[q(0x10f)]),this[q(0xf9)][q(0xf6)](q(0xfc)+this[q(0x10f)]+':\x20'+a['name'])):this['logger'][q(0xf6)](q(0x124)+this['name']+':\x20'+a['name']);}[a53i(0x105)](a){const r=a53i;this[r(0xec)]=a,this['logger']['write'](r(0x110)+this['name']+':\x20'+a[r(0xf7)]);}[a53i(0xe9)](a){const s=a53i;switch(a){case s(0xf1):return Direction[s(0x106)];case s(0x112):return Direction['NORTH'];case s(0x11d):return Direction['WEST'];case s(0x122):return Direction['EAST'];case'up':return Direction[s(0x10c)];case s(0x11f):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}['findExistingDoor'](a){const t=a53i;for(const b of this[t(0x108)][t(0x11e)]()){if(b instanceof Door){if(b[t(0xfd)]===this&&b[t(0xee)]===a||b[t(0xee)]===this&&b[t(0xfd)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a54k=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0xc7))/0x1+-parseInt(i(0xc0))/0x2+-parseInt(i(0xa8))/0x3+-parseInt(i(0x89))/0x4*(-parseInt(i(0xc1))/0x5)+parseInt(i(0xb7))/0x6*(parseInt(i(0xaa))/0x7)+-parseInt(i(0xa7))/0x8*(-parseInt(i(0x9e))/0x9)+parseInt(i(0xb2))/0xa*(parseInt(i(0x8d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xeca0e));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const j=a54d;return a54a[j(0xca)]()[j(0x95)]('(((.+)+)+)+$')[j(0xca)]()[j(0xab)](a54a)[j(0x95)](j(0xb3));});function a54c(){const D=['Failed\x20to\x20add\x20item\x20','keys','length','search','characterLocations','roomFactory','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','generateRoomsFromConfig','logger','\x27s\x20location.\x20Room\x20','toUpperCase','targetRoom','2714913qMhfiP','keyRequired','setCharacterLocation','getActor','determineStartRoom','push','player','has','\x20to\x20room\x20','16joBUgI','3361224ZmPAEg','write','238PcRxzZ','constructor','roomConfiguration','connectRooms','addRoom','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','Room\x20\x22','allActors','5328680SlLuex','(((.+)+)+)+$','Added\x20puzzle\x20to\x20room\x20','direction','rooms','78162XzFsYU','No\x20actor\x20with\x20name\x20','createRoom','removeActor','setPuzzle','.\x20Room\x20','set','\x20not\x20found\x20in\x20scene.','from','3420844bspWHa','5yFpQpz','addActor','Actor\x20with\x20name\x20','delete','getRooms','addItem','1202023NeEOrt','get','isStartRoom','toString','initialize','actors','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','name','addPuzzleToRoom','Added\x20item\x20','4075748ooaKUF','addExit','exits','hasOwnProperty','11sSOAHC','\x22\x20does\x20not\x20exist.','join','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','addItemToRoom'];a54c=function(){return D;};return a54c();}a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x84;let f=c[d];return f;},a54d(a,b);}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54k(0xb6)];[a54k(0xa4)];[a54k(0x9a)];[a54k(0x84)];['characterLocations']=new Map();[a54k(0x97)];constructor(a){const l=a54k;super(),this[l(0x97)]=new RoomFactory(),this['player']=a['player'],this['rooms']=this[l(0x99)](a[l(0xac)]),this[l(0x9a)]=Logger['getInstance'](),this[l(0x84)]=new Map(),this['createExitsFromConfig'](a[l(0xac)]),this[l(0x9a)][l(0xa9)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[l(0x93)](this[l(0xb6)])[l(0x8f)](',\x20'));}[a54k(0xcb)](){const m=a54k;this[m(0xa4)]['currentLocation']=this[m(0xa2)]();}[a54k(0x99)](a){const n=a54k;if(!this['roomFactory'])throw new Error(n(0x98));const b={};for(const c of a){const d=this[n(0x97)][n(0xb9)](c);b[c['name']]=d;}return b;}['createExitsFromConfig'](a){const o=a54k;for(const b of a){const c=this['rooms'][b[o(0x86)]];if(b[o(0x8b)])for(const d of b[o(0x8b)]){const e=d[o(0xb5)][o(0x9c)](),f=d[o(0x9d)],g=d[o(0x9f)],h=this['rooms'][f];h&&c[o(0x8a)](Direction[e],h,g);}}}[a54k(0xc2)](a){const p=a54k;if(this[p(0x84)][p(0xa5)](a[p(0x86)]))throw new Error(p(0xc3)+a[p(0x86)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[p(0x84)]['set'](a[p(0x86)],a);}[a54k(0xba)](a){const q=a54k;if(!this[q(0x84)]['has'](a))throw new Error(q(0xb8)+a+'\x20found\x20in\x20the\x20scene.');this['actors'][q(0xc4)](a);}[a54k(0xa1)](a){const r=a54k;return this[r(0x84)][r(0xc8)](a);}get[a54k(0xb1)](){const s=a54k;return Array[s(0xbf)](this[s(0x84)]['values']());}[a54k(0xae)](a){const t=a54k;this[t(0xb6)][a[t(0x86)]]=a,this[t(0x9a)][t(0xa9)]('Added\x20room\x20to\x20scene:\x20'+a['name']);}['removeRoom'](a){const u=a54k;return this[u(0xb6)][a]?(delete this[u(0xb6)][a],this[u(0x9a)][u(0xa9)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this['logger'][u(0xa9)](u(0x85)+a),![]);}[a54k(0x91)](a,b){const v=a54k,c=this['rooms'][b];c?(c[v(0xc6)](a),this[v(0x9a)]['write'](v(0x88)+a['name']+v(0xa6)+c[v(0x86)])):this['logger'][v(0xa9)](v(0x92)+a[v(0x86)]+v(0xbc)+b+v(0xbe));}[a54k(0x87)](a,b){const w=a54k,c=this[w(0xb6)][b];c?(c[w(0xbb)](a),this['logger'][w(0xa9)](w(0xb4)+c[w(0x86)])):this[w(0x9a)][w(0xa9)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+w(0xbe));}[a54k(0xa0)](a,b){const x=a54k,c=this['rooms'][b];c?(this[x(0x96)][x(0xbd)](a[x(0x86)],c),this[x(0x9a)]['write'](a[x(0x86)]+'\x20is\x20now\x20in\x20room\x20'+c[x(0x86)])):this[x(0x9a)]['write']('Failed\x20to\x20set\x20'+a[x(0x86)]+x(0x9b)+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const y=a54k;return this['characterLocations'][y(0xc8)](a[y(0x86)]);}[a54k(0xa2)](){const z=a54k,a=[];for(const c in this['rooms']){if(this['rooms'][z(0x8c)](c)){const d=this[z(0xb6)][c];d[z(0xc9)]&&a[z(0xa3)](d);}}if(a[z(0x94)]>0x1)throw new Error(z(0x90));if(a[z(0x94)]===0x1)return a[0x0];const b=Object[z(0x93)](this['rooms']);if(b[z(0x94)]===0x0)throw new Error(z(0xaf));return console['warn']('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[z(0xb6)][b[0x0]];}['getPlayer'](){const A=a54k;return this[A(0xa4)];}[a54k(0xc5)](){const B=a54k;return this[B(0xb6)];}[a54k(0xad)](a,b,c,d){const C=a54k,e=this[C(0xb6)][a],f=this[C(0xb6)][c];if(!e)throw new Error(C(0xb0)+a+C(0x8e));if(!f)throw new Error(C(0xb0)+c+C(0x8e));e['addExit'](b,f,d);}}
1
+ function a54c(){const C=['10EAqwnu','addActor','determineStartRoom','logger','addItem','has','player','Failed\x20to\x20add\x20item\x20','setPuzzle','rooms','addExit','getRooms','createRoom','push','characterLocations','values','74565pzrjju','warn','Failed\x20to\x20set\x20','exits','Actor\x20with\x20name\x20','removeActor','\x20not\x20found\x20in\x20scene.','18XGlNqg','toString','660rOiEFY','removeRoom','\x20already\x20exists\x20in\x20the\x20scene.','keyRequired','286018GbpRni','keys','\x20found\x20in\x20the\x20scene.','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','write','search','Failed\x20to\x20add\x20puzzle.\x20Room\x20','name','4645629HltsIj','\x27s\x20location.\x20Room\x20','length','roomConfiguration','Added\x20item\x20','get','Room\x20\x22','8tfEUyI','289596oOyWlS','hasOwnProperty','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','currentLocation','connectRooms','72tvtXQF','generateRoomsFromConfig','join','Added\x20puzzle\x20to\x20room\x20','from','1106497bglmhQ','getCharacterLocation','actors','targetRoom','Removed\x20room\x20from\x20scene:\x20','isStartRoom','roomFactory','(((.+)+)+)+$','getActor','getPlayer','174381ORZwFz','2729454FeWgos','\x20to\x20room\x20','set','\x22\x20does\x20not\x20exist.','direction','createExitsFromConfig'];a54c=function(){return C;};return a54c();}const a54k=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x73))/0x1+parseInt(i(0xb5))/0x2*(parseInt(i(0x97))/0x3)+-parseInt(i(0x88))/0x4*(-parseInt(i(0xae))/0x5)+parseInt(i(0x98))/0x6+parseInt(i(0x8d))/0x7*(-parseInt(i(0x82))/0x8)+-parseInt(i(0x7b))/0x9*(-parseInt(i(0x9e))/0xa)+parseInt(i(0xb7))/0xb*(-parseInt(i(0x83))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x6c10a));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const j=a54d;return a54a[j(0xb6)]()[j(0x78)]('(((.+)+)+)+$')[j(0xb6)]()['constructor'](a54a)['search'](j(0x94));});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-0x72;let f=c[d];return f;},a54d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54k(0xa7)];['player'];[a54k(0xa1)];[a54k(0x8f)];[a54k(0xac)]=new Map();[a54k(0x93)];constructor(a){const l=a54k;super(),this[l(0x93)]=new RoomFactory(),this[l(0xa4)]=a['player'],this[l(0xa7)]=this[l(0x89)](a[l(0x7e)]),this[l(0xa1)]=Logger['getInstance'](),this[l(0x8f)]=new Map(),this[l(0x9d)](a[l(0x7e)]),this[l(0xa1)][l(0x77)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[l(0x74)](this['rooms'])[l(0x8a)](',\x20'));}['initialize'](){const m=a54k;this[m(0xa4)][m(0x86)]=this[m(0xa0)]();}[a54k(0x89)](a){const n=a54k;if(!this['roomFactory'])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[n(0x93)][n(0xaa)](c);b[c[n(0x7a)]]=d;}return b;}[a54k(0x9d)](a){const o=a54k;for(const b of a){const c=this[o(0xa7)][b[o(0x7a)]];if(b['exits'])for(const d of b[o(0xb1)]){const e=d[o(0x9c)]['toUpperCase'](),f=d[o(0x90)],g=d[o(0x72)],h=this[o(0xa7)][f];h&&c[o(0xa8)](Direction[e],h,g);}}}[a54k(0x9f)](a){const p=a54k;if(this[p(0x8f)][p(0xa3)](a[p(0x7a)]))throw new Error(p(0xb2)+a[p(0x7a)]+p(0xb9));this[p(0x8f)][p(0x9a)](a[p(0x7a)],a);}[a54k(0xb3)](a){const q=a54k;if(!this[q(0x8f)]['has'](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+q(0x75));this['actors']['delete'](a);}[a54k(0x95)](a){const r=a54k;return this[r(0x8f)]['get'](a);}get['allActors'](){const s=a54k;return Array[s(0x8c)](this[s(0x8f)][s(0xad)]());}['addRoom'](a){const t=a54k;this['rooms'][a[t(0x7a)]]=a,this['logger'][t(0x77)]('Added\x20room\x20to\x20scene:\x20'+a[t(0x7a)]);}[a54k(0xb8)](a){const u=a54k;return this[u(0xa7)][a]?(delete this[u(0xa7)][a],this[u(0xa1)][u(0x77)](u(0x91)+a),!![]):(this[u(0xa1)]['write'](u(0x85)+a),![]);}['addItemToRoom'](a,b){const v=a54k,c=this['rooms'][b];c?(c[v(0xa2)](a),this[v(0xa1)][v(0x77)](v(0x7f)+a[v(0x7a)]+v(0x99)+c[v(0x7a)])):this[v(0xa1)]['write'](v(0xa5)+a['name']+'.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}['addPuzzleToRoom'](a,b){const w=a54k,c=this[w(0xa7)][b];c?(c[w(0xa6)](a),this[w(0xa1)][w(0x77)](w(0x8b)+c['name'])):this[w(0xa1)][w(0x77)](w(0x79)+b+w(0xb4));}['setCharacterLocation'](a,b){const x=a54k,c=this['rooms'][b];c?(this[x(0xac)][x(0x9a)](a[x(0x7a)],c),this[x(0xa1)]['write'](a[x(0x7a)]+'\x20is\x20now\x20in\x20room\x20'+c['name'])):this['logger']['write'](x(0xb0)+a[x(0x7a)]+x(0x7c)+b+x(0xb4));}[a54k(0x8e)](a){const y=a54k;return this[y(0xac)][y(0x80)](a['name']);}[a54k(0xa0)](){const z=a54k,a=[];for(const c in this[z(0xa7)]){if(this[z(0xa7)][z(0x84)](c)){const d=this[z(0xa7)][c];d[z(0x92)]&&a[z(0xab)](d);}}if(a[z(0x7d)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[z(0x7d)]===0x1)return a[0x0];const b=Object[z(0x74)](this[z(0xa7)]);if(b[z(0x7d)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[z(0xaf)](z(0x76)),this[z(0xa7)][b[0x0]];}[a54k(0x96)](){return this['player'];}[a54k(0xa9)](){const A=a54k;return this[A(0xa7)];}[a54k(0x87)](a,b,c,d){const B=a54k,e=this[B(0xa7)][a],f=this[B(0xa7)][c];if(!e)throw new Error(B(0x81)+a+B(0x9b));if(!f)throw new Error(B(0x81)+c+B(0x9b));e[B(0xa8)](b,f,d);}}
@@ -1 +1 @@
1
- var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x1c0))/0x1*(parseInt(f(0x1b9))/0x2)+parseInt(f(0x1a6))/0x3+parseInt(f(0x1a5))/0x4+-parseInt(f(0x1b8))/0x5*(parseInt(f(0x1b0))/0x6)+-parseInt(f(0x1c8))/0x7*(-parseInt(f(0x1d8))/0x8)+parseInt(f(0x1ca))/0x9+-parseInt(f(0x1bb))/0xa*(parseInt(f(0x1b3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x68f54));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1c2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x1a9)]()['search'](h(0x1c3))[h(0x1a9)]()['constructor'](a55a)[h(0x1ab)](h(0x1c3));});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(0x1d9)],'shape':Shape[i(0x1c4)],'color':Color[i(0x1ba)],'texture':Texture[i(0x1d5)],'rating':Rating[i(0x1a3)],'weight':0x1});}[a55j(0x1a2)](){var k=a55j;return this[k(0x1d3)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[l(0x1cb)],'shape':Shape[l(0x1d4)],'color':Color[l(0x1b7)],'texture':Texture[l(0x1d7)],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0x1aa)],'category':Category[m(0x1cb)],'shape':Shape[m(0x1da)],'color':Color['Brown'],'texture':Texture[m(0x1d7)],'rating':Rating[m(0x1c9)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x1bf)],'category':Category[n(0x1cf)],'shape':Shape[n(0x1ad)],'color':Color[n(0x1b7)],'texture':Texture[n(0x1d7)],'rating':Rating['Common'],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category['BodyArmor'],'shape':Shape[o(0x1c4)],'color':Color[o(0x1b7)],'texture':Texture[o(0x1d7)],'rating':Rating[o(0x1a3)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0x1bf)],'category':Category[p(0x1c6)],'shape':Shape[p(0x1c4)],'color':Color[p(0x1b7)],'texture':Texture[p(0x1d7)],'rating':Rating[p(0x1a3)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[q(0x1cd)],'shape':Shape[q(0x1ad)],'color':Color[q(0x1a4)],'texture':Texture[q(0x1d5)],'rating':Rating[q(0x1a3)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size['Small'],'category':Category['Gloves'],'shape':Shape[r(0x1ad)],'color':Color[r(0x1a4)],'texture':Texture[r(0x1d5)],'rating':Rating[r(0x1a3)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x1bf)],'category':Category[s(0x1c1)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[s(0x1d7)],'rating':Rating[s(0x1a3)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x1b4)],'category':Category[t(0x1a8)],'shape':Shape[t(0x1c4)],'color':Color['Yellow'],'texture':Texture[t(0x1d5)],'rating':Rating['Common'],'weight':0x0});}[a55j(0x1a2)](){var u=a55j;return u(0x1af);}}export class Weapon extends Item{constructor(a,b){var v=a55j;super({'name':a,'description':b,'size':Size[v(0x1bf)],'category':Category[v(0x1cb)],'shape':Shape[v(0x1d4)],'color':Color[v(0x1b7)],'texture':Texture[v(0x1d7)],'rating':Rating[v(0x1a3)],'weight':0x3});}[a55j(0x1a2)](){var w=a55j;return w(0x1bc);}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1a2;var f=c[d];return f;},a55d(a,b);}export class Book extends Item{['author'];[a55j(0x1cc)];[a55j(0x1ce)];constructor(a,b='A\x20mysterious\x20book.',c=a55j(0x1ae)){var x=a55j;super({'name':a,'description':b,'size':Size[x(0x1bf)],'category':Category['Book'],'shape':Shape['Rectangle'],'color':Color[x(0x1a4)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x1}),this[x(0x1bd)]=c,this[x(0x1cc)]=new Date(),this['pageCount']=0x64;}[a55j(0x1a2)](){var y=a55j;return y(0x1d1);}}export class ShortSword extends Item{constructor(){var z=a55j;super({'name':'Short\x20Sword','description':z(0x1c7),'size':Size['Medium'],'category':Category[z(0x1cb)],'shape':Shape[z(0x1d4)],'color':Color[z(0x1b7)],'texture':Texture[z(0x1d7)],'rating':Rating[z(0x1a3)],'weight':0x3});}[a55j(0x1a2)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var A=a55j;super({'name':A(0x1be),'description':A(0x1b2),'size':Size['Large'],'category':Category[A(0x1cb)],'shape':Shape[A(0x1da)],'color':Color[A(0x1a4)],'texture':Texture[A(0x1d5)],'rating':Rating['Common'],'weight':0x5});}[a55j(0x1a2)](){var B=a55j;return B(0x1b1);}}function a55c(){var E=['Holy\x20Grail','Grey','5ygwGcQ','490hKGljY','Yellow','3734650UVgLrk','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','author','Sniper\x20Rifle','Medium','250boZodR','ArmArmor','apply','(((.+)+)+)+$','Rectangle','Small','LegArmor','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','21833hvRskr','Rare','2259963bAthdf','Weapon','publishDate','Boots','pageCount','Helmet','Cup','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Legendary','description','Blade','Smooth','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Metallic','400DUlkcA','Unknown','Rifle','use','Common','Brown','2554228HWeoyP','1454616gwjLwa','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Key','toString','Large','search','name','Circle','Unknown\x20Author','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','4730178UzdlWW','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','11quRBaq','Tiny','Gold'];a55c=function(){return E;};return a55c();}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':C(0x1b6),'description':C(0x1d6),'size':Size[C(0x1c5)],'category':Category[C(0x1d0)],'shape':Shape[C(0x1ad)],'color':Color[C(0x1b5)],'texture':Texture[C(0x1d7)],'rating':Rating[C(0x1d2)],'weight':0x1});}[a55j(0x1a2)](){var D=a55j;return'You\x20hold\x20the\x20'+this[D(0x1ac)]+D(0x1a7);}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x167))/0x1+-parseInt(f(0x14d))/0x2*(parseInt(f(0x140))/0x3)+parseInt(f(0x143))/0x4+-parseInt(f(0x155))/0x5+parseInt(f(0x13c))/0x6+-parseInt(f(0x146))/0x7+parseInt(f(0x15d))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x4939b));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(0x148)]()[g(0x139)](g(0x165))[g(0x148)]()[g(0x137)](a55a)[g(0x139)](g(0x165));});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(0x169)],'category':Category[h(0x14f)],'shape':Shape[h(0x13d)],'color':Color[h(0x15e)],'texture':Texture[h(0x15b)],'rating':Rating[h(0x159)],'weight':0x1});}[a55i(0x156)](){var j=a55i;return this[j(0x144)];}}export class Sword extends Item{constructor(a,b){var k=a55i;super({'name':a,'description':b,'size':Size[k(0x169)],'category':Category[k(0x13a)],'shape':Shape[k(0x150)],'color':Color['Grey'],'texture':Texture[k(0x160)],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55i;super({'name':a,'description':b,'size':Size[l(0x138)],'category':Category[l(0x13a)],'shape':Shape['Rifle'],'color':Color[l(0x14a)],'texture':Texture[l(0x160)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a55i;super({'name':a,'description':b,'size':Size[m(0x169)],'category':Category[m(0x147)],'shape':Shape['Circle'],'color':Color[m(0x13e)],'texture':Texture[m(0x160)],'rating':Rating['Common'],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55i;super({'name':a,'description':b,'size':Size[n(0x138)],'category':Category[n(0x15f)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[n(0x160)],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55i;super({'name':a,'description':b,'size':Size[o(0x169)],'category':Category[o(0x14e)],'shape':Shape[o(0x13d)],'color':Color[o(0x13e)],'texture':Texture[o(0x160)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55i;super({'name':a,'description':b,'size':Size[p(0x169)],'category':Category[p(0x158)],'shape':Shape[p(0x168)],'color':Color[p(0x14a)],'texture':Texture[p(0x15b)],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55i;super({'name':a,'description':b,'size':Size[q(0x16a)],'category':Category[q(0x149)],'shape':Shape['Circle'],'color':Color[q(0x14a)],'texture':Texture[q(0x15b)],'rating':Rating['Common'],'weight':0x1});}}function a55c(){var C=['Weapon','Holy\x20Grail','2448366HUrqHU','Rectangle','Grey','pageCount','6kpPNky','Cup','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','1570956ZwMRaP','description','Book','670964XunQlu','Helmet','toString','Gloves','Brown','Gold','author','396156aDMGha','LegArmor','Unknown','Blade','You\x20hold\x20the\x20','Short\x20Sword','Unknown\x20Author','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','587915AOBHiy','use','ArmArmor','Boots','Common','Sniper\x20Rifle','Smooth','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','497120twprNq','Yellow','BodyArmor','Metallic','Tiny','publishDate','A\x20mysterious\x20book.','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','(((.+)+)+)+$','Legendary','46582SzozyT','Circle','Medium','Small','Key','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Rifle','constructor','Large','search'];a55c=function(){return C;};return a55c();}export class Gauntlets extends Item{constructor(a,b){var r=a55i;super({'name':a,'description':b,'size':Size[r(0x169)],'category':Category[r(0x157)],'shape':Shape[r(0x13d)],'color':Color[r(0x13e)],'texture':Texture[r(0x160)],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a55i;super({'name':a,'description':b,'size':Size[s(0x161)],'category':Category[s(0x16b)],'shape':Shape[s(0x13d)],'color':Color[s(0x15e)],'texture':Texture['Smooth'],'rating':Rating[s(0x159)],'weight':0x0});}[a55i(0x156)](){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[t(0x169)],'category':Category[t(0x13a)],'shape':Shape[t(0x150)],'color':Color[t(0x13e)],'texture':Texture[t(0x160)],'rating':Rating[t(0x159)],'weight':0x3});}[a55i(0x156)](){var u=a55i;return u(0x15c);}}export class Book extends Item{[a55i(0x14c)];[a55i(0x162)];[a55i(0x13f)];constructor(a,b=a55i(0x163),c=a55i(0x153)){var v=a55i;super({'name':a,'description':b,'size':Size[v(0x169)],'category':Category[v(0x145)],'shape':Shape[v(0x13d)],'color':Color[v(0x14a)],'texture':Texture[v(0x15b)],'rating':Rating['Common'],'weight':0x1}),this['author']=c,this['publishDate']=new Date(),this['pageCount']=0x64;}['use'](){var w=a55i;return w(0x164);}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x135;var f=c[d];return f;},a55d(a,b);}export class ShortSword extends Item{constructor(){var x=a55i;super({'name':x(0x152),'description':x(0x142),'size':Size[x(0x169)],'category':Category[x(0x13a)],'shape':Shape[x(0x150)],'color':Color[x(0x13e)],'texture':Texture[x(0x160)],'rating':Rating[x(0x159)],'weight':0x3});}[a55i(0x156)](){var y=a55i;return y(0x15c);}}export class SniperRifle extends Item{constructor(){var z=a55i;super({'name':z(0x15a),'description':z(0x135),'size':Size[z(0x138)],'category':Category['Weapon'],'shape':Shape[z(0x136)],'color':Color[z(0x14a)],'texture':Texture[z(0x15b)],'rating':Rating[z(0x159)],'weight':0x5});}[a55i(0x156)](){return'You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22';}}export class HolyGrail extends Item{constructor(){var A=a55i;super({'name':A(0x13b),'description':A(0x154),'size':Size[A(0x16a)],'category':Category[A(0x141)],'shape':Shape[A(0x168)],'color':Color[A(0x14b)],'texture':Texture[A(0x160)],'rating':Rating[A(0x166)],'weight':0x1});}[a55i(0x156)](){var B=a55i;return B(0x151)+this['name']+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}