@maka/maka-cli 4.6.7 → 4.6.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) 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.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/install.js +1 -1
  73. package/bundle/obf/src/commands/jsdoc.js +1 -1
  74. package/bundle/obf/src/commands/lint.js +1 -1
  75. package/bundle/obf/src/commands/login.js +1 -1
  76. package/bundle/obf/src/commands/logout.js +1 -1
  77. package/bundle/obf/src/commands/logs.js +1 -1
  78. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  79. package/bundle/obf/src/commands/murder.js +1 -1
  80. package/bundle/obf/src/commands/proxy.js +1 -1
  81. package/bundle/obf/src/commands/reconfig.js +1 -1
  82. package/bundle/obf/src/commands/run/_index.js +1 -1
  83. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  84. package/bundle/obf/src/commands/run/run.command.js +1 -1
  85. package/bundle/obf/src/commands/set/_index.js +1 -1
  86. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  88. package/bundle/obf/src/commands/set/set.command.js +1 -1
  89. package/bundle/obf/src/commands/ssh.js +1 -1
  90. package/bundle/obf/src/commands/ssl.js +1 -1
  91. package/bundle/obf/src/commands/test.js +1 -1
  92. package/bundle/obf/src/commands/version.js +1 -1
  93. package/bundle/obf/src/error.js +1 -1
  94. package/bundle/obf/src/exec.js +1 -1
  95. package/bundle/obf/src/generator.js +1 -1
  96. package/bundle/obf/src/generators/_index.js +1 -1
  97. package/bundle/obf/src/generators/api.js +1 -1
  98. package/bundle/obf/src/generators/collection.js +1 -1
  99. package/bundle/obf/src/generators/component.js +1 -1
  100. package/bundle/obf/src/generators/config.js +1 -1
  101. package/bundle/obf/src/generators/dbc.js +1 -1
  102. package/bundle/obf/src/generators/dockerfile.js +1 -1
  103. package/bundle/obf/src/generators/hook.js +1 -1
  104. package/bundle/obf/src/generators/kit.js +1 -1
  105. package/bundle/obf/src/generators/layout.js +1 -1
  106. package/bundle/obf/src/generators/maka.gen.js +1 -1
  107. package/bundle/obf/src/generators/methods.js +1 -1
  108. package/bundle/obf/src/generators/package.js +1 -1
  109. package/bundle/obf/src/generators/page.js +1 -1
  110. package/bundle/obf/src/generators/publish.js +1 -1
  111. package/bundle/obf/src/generators/route.js +1 -1
  112. package/bundle/obf/src/generators/service.js +1 -1
  113. package/bundle/obf/src/generators/services/_index.js +1 -1
  114. package/bundle/obf/src/generators/services/openssl.js +1 -1
  115. package/bundle/obf/src/generators/services/translation.js +1 -1
  116. package/bundle/obf/src/maka.js +1 -1
  117. package/bundle/obf/src/tool.js +1 -1
  118. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  120. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  122. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  124. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  125. package/bundle/obf/src/tools/https/https.class.js +1 -1
  126. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  127. package/bundle/obf/src/tools/https/progress.class.js +1 -1
  128. package/bundle/obf/src/tools/log/log.class.js +1 -1
  129. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/options/options.class.js +1 -1
  131. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  132. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  134. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  136. package/package.json +1 -1
@@ -1 +1 @@
1
- const a33i=a33d;(function(a,b){const g=a33d,c=a();while(!![]){try{const d=parseInt(g(0xba))/0x1+parseInt(g(0xb6))/0x2+-parseInt(g(0xae))/0x3+-parseInt(g(0xb7))/0x4+parseInt(g(0xb4))/0x5*(parseInt(g(0xb9))/0x6)+parseInt(g(0xbf))/0x7+-parseInt(g(0xbb))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xe0931));function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0xa4;let f=c[d];return f;},a33d(a,b);}const a33b=(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;};}()),a33a=a33b(this,function(){const h=a33d;return a33a[h(0xa8)]()[h(0xab)](h(0xbe))[h(0xa8)]()[h(0xb8)](a33a)['search'](h(0xbe));});a33a();function a33c(){const l=['log','490470iFfqff','7153940AIePhh','constructor','17376VYCdKq','334730liDsdJ','2030192PeYbEy','Scene\x20is\x20missing\x20from\x20context.','execute','(((.+)+)+)+$','6905332DLtEHJ','currentLocation','name','filter','scene','You\x20say:\x20\x22','context','toString','say','verb','search','length','An\x20error\x20occurred.','930207zgtUZP','allActors','\x20says\x20to\x20','What\x20do\x20you\x20want\x20to\x20say?','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','logger','2945YqGapL'];a33c=function(){return l;};return a33c();}import{Command}from'./command.js';export class SayCommand extends Command{static [a33i(0xaa)]=a33i(0xa9);static ['description']=a33i(0xb2);[a33i(0xa7)];constructor(a){const j=a33i;super(a),this[j(0xa7)]=a;}[a33i(0xbd)](a){const k=a33i;if(a[k(0xac)]===0x0)return k(0xb1);const b=a['join']('\x20'),c=this['actor'],d=this['context'][k(0xa5)];if(!d)return this[k(0xb3)][k(0xb5)](k(0xbc)),k(0xad);const e=d[k(0xaf)][k(0xa4)](f=>f[k(0xc0)]===c[k(0xc0)]);for(const f of e){this[k(0xb3)][k(0xb5)](c[k(0xc1)]+k(0xb0)+f[k(0xc1)]+':\x20\x22'+b+'\x22'),this['actor'][k(0xc0)][k(0xa9)](f,b);}return k(0xa6)+b+'\x22';}}
1
+ const a33j=a33d;(function(a,b){const g=a33d,c=a();while(!![]){try{const d=parseInt(g(0x1f3))/0x1+-parseInt(g(0x1fe))/0x2*(parseInt(g(0x1ff))/0x3)+parseInt(g(0x201))/0x4+-parseInt(g(0x1fc))/0x5+-parseInt(g(0x1f4))/0x6+parseInt(g(0x1f5))/0x7+parseInt(g(0x1e9))/0x8*(-parseInt(g(0x1e8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x95f20));function a33c(){const m=['860245AgfQti','3085278UfvFnx','6410684AbAljh','(((.+)+)+)+$','logger','search','\x20says\x20to\x20','log','What\x20do\x20you\x20want\x20to\x20say?','4446770dTTxkR','Scene\x20is\x20missing\x20from\x20context.','94RvQqIM','10233MkREgz','say','2220284mAgBJo','apply','actor','currentLocation','context','toString','name','9QifGNk','1224544wWHAXZ','verb','allActors','scene','length','constructor','execute',':\x20\x22','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','filter'];a33c=function(){return m;};return a33c();}const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a33d;if(c){const e=c[h(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const i=a33d;return a33a[i(0x1e6)]()[i(0x1f8)]('(((.+)+)+)+$')[i(0x1e6)]()[i(0x1ee)](a33a)['search'](i(0x1f6));});a33a();function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a33d(a,b);}import{Command}from'./command.js';export class SayCommand extends Command{static [a33j(0x1ea)]=a33j(0x200);static ['description']=a33j(0x1f1);[a33j(0x1e5)];constructor(a){const k=a33j;super(a),this[k(0x1e5)]=a;}[a33j(0x1ef)](a){const l=a33j;if(a[l(0x1ed)]===0x0)return l(0x1fb);const b=a['join']('\x20'),c=this[l(0x1e3)],d=this[l(0x1e5)][l(0x1ec)];if(!d)return this[l(0x1f7)][l(0x1fa)](l(0x1fd)),'An\x20error\x20occurred.';const e=d[l(0x1eb)][l(0x1f2)](f=>f[l(0x1e4)]===c[l(0x1e4)]);for(const f of e){this['logger']['log'](c[l(0x1e7)]+l(0x1f9)+f['name']+l(0x1f0)+b+'\x22'),this[l(0x1e3)][l(0x1e4)]['say'](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}
@@ -1 +1 @@
1
- const a34i=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0x172))/0x1+parseInt(f(0x176))/0x2+-parseInt(f(0x16b))/0x3+-parseInt(f(0x16c))/0x4+-parseInt(f(0x170))/0x5+-parseInt(f(0x171))/0x6*(-parseInt(f(0x17d))/0x7)+parseInt(f(0x16a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x9dfdd));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0x17c)]()['search'](h(0x17e))[h(0x17c)]()[h(0x167)](a34a)[h(0x169)](h(0x17e));});a34a();function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x166;let f=c[d];return f;},a34d(a,b);}import{Command}from'./command.js';function a34c(){const k=['\x20found\x20the\x20following\x20items:\x20','5862320jnJvJX','6RpaQhO','696865rHSuld','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','length','name','909890XtMhtI','currentLocation','verb','execute','description','logger','toString','3613176woaFOj','(((.+)+)+)+$','listItems','inventory','constructor','actor','search','22983696gNbpOp','179625EaHQar','5070952Jfqssb','apply','Search\x20for\x20items\x20in\x20your\x20area'];a34c=function(){return k;};return a34c();}export class SearchCommand extends Command{static [a34i(0x178)]='search';static [a34i(0x17a)]=a34i(0x16e);[a34i(0x179)](){const j=a34i,a=this[j(0x168)][j(0x177)][j(0x166)][j(0x17f)]();if(a[j(0x174)]===0x0)return this['logger']['write']('SearchCommand:\x20'+this[j(0x168)][j(0x175)]+j(0x173)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a['join'](',\x20');return this[j(0x17b)]['write']('SearchCommand:\x20'+this[j(0x168)][j(0x175)]+j(0x16f)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
1
+ const a34i=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0x163))/0x1+parseInt(f(0x169))/0x2*(parseInt(f(0x160))/0x3)+-parseInt(f(0x15e))/0x4+-parseInt(f(0x171))/0x5*(parseInt(f(0x173))/0x6)+parseInt(f(0x16c))/0x7*(-parseInt(f(0x175))/0x8)+-parseInt(f(0x166))/0x9+-parseInt(f(0x16a))/0xa*(-parseInt(f(0x165))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xd9226));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0x16f)]()[h(0x16d)](h(0x16e))['toString']()['constructor'](a34a)[h(0x16d)](h(0x16e));});function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x15b;let f=c[d];return f;},a34d(a,b);}function a34c(){const k=['1200693lSnSsX','name','44WAWFmV','11899377iFqcky','verb','apply','636xOxNzd','12118640azlSPp','inventory','9109387jjfxNy','search','(((.+)+)+)+$','toString','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','30020BtzXvK','Search\x20for\x20items\x20in\x20your\x20area','114ebOEbL','actor','8DitRUR','logger','listItems','length','currentLocation','5191412SjqMbG','join','12057wIhjMn','\x20found\x20the\x20following\x20items:\x20','\x20searched\x20the\x20room\x20but\x20found\x20nothing.'];a34c=function(){return k;};return a34c();}a34a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a34i(0x167)]='search';static ['description']=a34i(0x172);['execute'](){const j=a34i,a=this[j(0x174)][j(0x15d)][j(0x16b)][j(0x15b)]();if(a[j(0x15c)]===0x0)return this[j(0x176)]['write']('SearchCommand:\x20'+this[j(0x174)][j(0x164)]+j(0x162)),j(0x170);const b=a[j(0x15f)](',\x20');return this[j(0x176)]['write']('SearchCommand:\x20'+this[j(0x174)]['name']+j(0x161)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
@@ -1 +1 @@
1
- const a35i=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x9c))/0x1+parseInt(f(0x96))/0x2+parseInt(f(0x9a))/0x3+parseInt(f(0x9f))/0x4+-parseInt(f(0x9d))/0x5*(parseInt(f(0x99))/0x6)+parseInt(f(0xaa))/0x7*(parseInt(f(0xa1))/0x8)+-parseInt(f(0xa8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xd9419));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a['toString']()[h(0xa9)]('(((.+)+)+)+$')['toString']()['constructor'](a35a)['search'](h(0x97));});a35a();import{Command}from'./command.js';export class SolveCommand extends Command{static ['verb']=a35i(0xa2);static [a35i(0xa5)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a35i(0xab)](a){const j=a35i,b=a[j(0x95)]('\x20')[j(0xa3)](),c=this[j(0x92)][j(0x9e)];if(!c||!c[j(0xa7)])return this[j(0x98)][j(0xa4)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0x91);const d=c[j(0xa7)][j(0xa2)](b,this['actor']['inventory']);return d[j(0xa0)]&&c[j(0xa7)]['rewardItem']&&this['actor'][j(0x93)][j(0x9b)](c[j(0xa7)]['rewardItem']),this[j(0x98)]['write']('SolveCommand:\x20'+d[j(0x94)]),d['message'];}}function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x91;let f=c[d];return f;},a35d(a,b);}function a35c(){const k=['2589606LNeGAN','addItem','99344ENSRbK','510035exKIen','currentLocation','159280PZoHcd','success','3304XhpeQq','solve','toLowerCase','write','description','apply','puzzle','19369872SVGsbm','search','25872mrDBBU','execute','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','actor','inventory','message','join','1831954kSqIFP','(((.+)+)+)+$','logger','12LMiGfW'];a35c=function(){return k;};return a35c();}
1
+ const a35h=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=-parseInt(f(0x147))/0x1+-parseInt(f(0x134))/0x2+parseInt(f(0x142))/0x3*(parseInt(f(0x13c))/0x4)+-parseInt(f(0x13b))/0x5*(-parseInt(f(0x135))/0x6)+-parseInt(f(0x137))/0x7+-parseInt(f(0x140))/0x8+parseInt(f(0x143))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x2a398));const a35b=(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;};}()),a35a=a35b(this,function(){const g=a35d;return a35a[g(0x149)]()[g(0x144)](g(0x13d))[g(0x149)]()[g(0x133)](a35a)['search'](g(0x13d));});a35a();import{Command}from'./command.js';function a35c(){const j=['logger','211517NnyUZJ','message','toString','addItem','constructor','72676fSTJVl','383142wldXfI','inventory','168399WInECB','join','solve','description','10YgkdpS','404QXEIAb','(((.+)+)+)+$','actor','execute','729952VDeYCp','puzzle','10032rjVvYo','635850LSUKnV','search','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.'];a35c=function(){return j;};return a35c();}function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x133;let f=c[d];return f;},a35d(a,b);}export class SolveCommand extends Command{static ['verb']=a35h(0x139);static [a35h(0x13a)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a35h(0x13f)](a){const i=a35h,b=a[i(0x138)]('\x20')['toLowerCase'](),c=this[i(0x13e)]['currentLocation'];if(!c||!c[i(0x141)])return this[i(0x146)]['write']('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),i(0x145);const d=c[i(0x141)][i(0x139)](b,this[i(0x13e)][i(0x136)]);return d['success']&&c[i(0x141)]['rewardItem']&&this[i(0x13e)][i(0x136)][i(0x14a)](c[i(0x141)]['rewardItem']),this['logger']['write']('SolveCommand:\x20'+d[i(0x148)]),d[i(0x148)];}}
@@ -1 +1 @@
1
- const a36i=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0x183))/0x1+parseInt(f(0x188))/0x2*(parseInt(f(0x191))/0x3)+-parseInt(f(0x1a3))/0x4+-parseInt(f(0x181))/0x5*(-parseInt(f(0x193))/0x6)+-parseInt(f(0x19c))/0x7*(parseInt(f(0x182))/0x8)+-parseInt(f(0x17e))/0x9*(-parseInt(f(0x17c))/0xa)+-parseInt(f(0x18f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x9b44b));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a36d;if(c){const e=c[g(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a[h(0x186)]()['search'](h(0x19f))['toString']()[h(0x192)](a36a)[h(0x199)](h(0x19f));});a36a();function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x17b;let f=c[d];return f;},a36d(a,b);}import{Command}from'./command.js';function a36c(){const l=['toLowerCase','apply','search','execute','\x22\x20is\x20too\x20heavy\x20to\x20carry.','351841edHnXz','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20from\x20','(((.+)+)+)+$','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20not\x20found\x20in\x20','name','1107040jbkBIS','addInventory','description','4426430CwsrQu','Pick\x20up\x20an\x20item.','9NNKmtj','getItem','inventory','2415350jWSaqH','32lJUYCF','198709WnrcvZ','currentLocation','hasItem','toString','take','1520468pyMBqx','actor','\x22\x20in\x20this\x20room.','write','join','verb','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','4107917lpoeDX','logger','3ioGgkc','constructor','6bViooL','Successfully\x20removed\x20\x22','\x22\x20to\x20','message'];a36c=function(){return l;};return a36c();}export class TakeCommand extends Command{static [a36i(0x18d)]=a36i(0x187);static [a36i(0x17b)]=a36i(0x17d);[a36i(0x19a)](a){const j=a36i;return this[j(0x190)]['write'](j(0x19d)+a['join']('\x20')),this['take'](a);}[a36i(0x187)](a){const k=a36i,b=a[k(0x18c)]('\x20')[k(0x197)](),c=this[k(0x189)][k(0x184)];if(!c[k(0x180)][k(0x185)](b))return this['logger'][k(0x18b)]('Item\x20\x22'+b+k(0x1a1)+c[k(0x1a2)]+'\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+'\x22\x20in\x20this\x20room.';const d=c[k(0x180)][k(0x17f)](b);if(!d)return this[k(0x190)]['write']('Item\x20\x22'+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0x1a2)]+k(0x1a0)),'There\x20is\x20no\x20item\x20\x22'+b+k(0x18a);try{return this[k(0x189)][k(0x1a4)](d),this[k(0x190)][k(0x18b)]('Successfully\x20added\x20\x22'+b+k(0x195)+this[k(0x189)][k(0x1a2)]+k(0x18e)),c['inventory']['removeItem'](b),this[k(0x190)][k(0x18b)](k(0x194)+b+k(0x19e)+c[k(0x1a2)]+k(0x1a0)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this[k(0x190)][k(0x18b)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x196)]),'The\x20item\x20\x22'+b+k(0x19b);}}}
1
+ const a36i=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d=parseInt(f(0xe9))/0x1*(parseInt(f(0xf9))/0x2)+parseInt(f(0xda))/0x3*(-parseInt(f(0xf2))/0x4)+-parseInt(f(0xf7))/0x5*(-parseInt(f(0xde))/0x6)+parseInt(f(0xd7))/0x7*(-parseInt(f(0x101))/0x8)+parseInt(f(0xf3))/0x9+parseInt(f(0xe8))/0xa+-parseInt(f(0xd8))/0xb*(parseInt(f(0xf1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xcfb4a));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a36d;if(c){const e=c[g(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a[h(0xd6)]()[h(0xe5)](h(0xe7))[h(0xd6)]()[h(0xed)](a36a)[h(0xe5)](h(0xe7));});a36a();function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xd5;let f=c[d];return f;},a36d(a,b);}import{Command}from'./command.js';function a36c(){const l=['join','\x22\x20from\x20','530466LZfLiS','Successfully\x20removed\x20\x22','\x22\x20not\x20found\x20in\x20','\x22\x20is\x20too\x20heavy\x20to\x20carry.','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','logger','verb','search','\x20during\x20\x27Take\x27\x20command.','(((.+)+)+)+$','8170270vMzVGV','531454DZxKYu','There\x20is\x20no\x20item\x20\x22','Item\x20\x22','\x22\x20in\x20this\x20room.','constructor','removeItem','apply','write','3840vCBWcC','1468HTwCds','15194916ZVgpie','Error\x20during\x20\x27Take\x27\x20command:\x20','currentLocation','description','65QYaKPK','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','4kBLIlI','\x22\x20not\x20retrieved\x20from\x20','addInventory','hasItem','name','inventory','actor','getItem','12328UhcXtd','take','message','You\x20have\x20taken\x20the\x20','Pick\x20up\x20an\x20item.','toString','6566xupixR','26389eqPKvC','execute','13518RZnifS','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'];a36c=function(){return l;};return a36c();}export class TakeCommand extends Command{static [a36i(0xe4)]=a36i(0x102);static [a36i(0xf6)]=a36i(0xd5);[a36i(0xd9)](a){const j=a36i;return this['logger']['write'](j(0xe2)+a[j(0xdc)]('\x20')),this[j(0x102)](a);}[a36i(0x102)](a){const k=a36i,b=a['join']('\x20')['toLowerCase'](),c=this[k(0xff)][k(0xf5)];if(!c[k(0xfe)][k(0xfc)](b))return this[k(0xe3)][k(0xf0)](k(0xeb)+b+k(0xe0)+c['name']+k(0xe6)),'There\x20is\x20no\x20item\x20\x22'+b+k(0xec);const d=c['inventory'][k(0x100)](b);if(!d)return this[k(0xe3)]['write'](k(0xeb)+b+k(0xfa)+c[k(0xfd)]+k(0xdb)),k(0xea)+b+k(0xec);try{return this[k(0xff)][k(0xfb)](d),this[k(0xe3)]['write']('Successfully\x20added\x20\x22'+b+'\x22\x20to\x20'+this[k(0xff)]['name']+k(0xf8)),c[k(0xfe)][k(0xee)](b),this[k(0xe3)][k(0xf0)](k(0xdf)+b+k(0xdd)+c[k(0xfd)]+k(0xdb)),k(0x104)+b+'.';}catch(e){return this[k(0xe3)][k(0xf0)](k(0xf4)+e[k(0x103)]),'The\x20item\x20\x22'+b+k(0xe1);}}}
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x89))/0x1*(parseInt(f(0x7c))/0x2)+-parseInt(f(0x8e))/0x3+parseInt(f(0x87))/0x4+-parseInt(f(0x7b))/0x5+parseInt(f(0x8c))/0x6+-parseInt(f(0x85))/0x7+-parseInt(f(0x8f))/0x8*(-parseInt(f(0x8b))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x966a6));function a37c(){const k=['actor','unqeuip','toLowerCase','toString','search','Unequip\x20an\x20item.','verb','name','3999422KXDhbu','write','4161688pMhWDi','(((.+)+)+)+$','871021SHqhtM','apply','81iqYqRX','3366006zGlQKo','\x20unqeuiped\x20','3478950ZafwCX','808872KEyste','5176635OHgiId','2BnnlUx'];a37c=function(){return k;};return a37c();}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x8a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x80)]()[h(0x81)](h(0x88))[h(0x80)]()['constructor'](a37a)[h(0x81)](h(0x88));});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x7b;let f=c[d];return f;},a37d(a,b);}a37a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a37i(0x83)]=a37i(0x7e);static ['description']=a37i(0x82);['execute'](a){const j=a37i,b=a['join']('\x20')[j(0x7f)](),c=this[j(0x7d)]['unequip'](b);return this['logger'][j(0x86)]('UnequipCommand:\x20'+this[j(0x7d)][j(0x84)]+j(0x8d)+c),c;}}
1
+ const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x1c2))/0x1*(-parseInt(f(0x1d3))/0x2)+parseInt(f(0x1ca))/0x3*(parseInt(f(0x1c6))/0x4)+parseInt(f(0x1ce))/0x5+parseInt(f(0x1c4))/0x6+parseInt(f(0x1cf))/0x7+parseInt(f(0x1d2))/0x8+-parseInt(f(0x1c3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x20d13));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a37d(a,b);}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x1c1)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a37a)[h(0x1d5)](h(0x1d6));});a37a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a37i(0x1c9);static [a37i(0x1c5)]=a37i(0x1cd);[a37i(0x1d1)](a){const j=a37i,b=a['join']('\x20')[j(0x1cc)](),c=this[j(0x1c8)][j(0x1d4)](b);return this[j(0x1c0)][j(0x1d0)]('UnequipCommand:\x20'+this['actor']['name']+j(0x1c7)+c),c;}}function a37c(){const k=['apply','toLowerCase','Unequip\x20an\x20item.','992660iUlizd','1766842RXbzSQ','write','execute','1931112ZRcYPl','4532mMlteS','unequip','search','(((.+)+)+)+$','logger','toString','71LsQFfq','6897042QpGwsN','818328sFLKLP','description','931712rOTAXQ','\x20unqeuiped\x20','actor','unqeuip','3fetosh'];a37c=function(){return k;};return a37c();}
@@ -1 +1 @@
1
- const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x12c))/0x1+-parseInt(h(0x127))/0x2*(-parseInt(h(0x14c))/0x3)+parseInt(h(0x136))/0x4+-parseInt(h(0x144))/0x5*(parseInt(h(0x133))/0x6)+parseInt(h(0x138))/0x7+parseInt(h(0x146))/0x8*(-parseInt(h(0x135))/0x9)+-parseInt(h(0x148))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x87a01));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x142)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x139)]()['search'](j(0x12f))[j(0x139)]()[j(0x137)](a38a)[j(0x128)]('(((.+)+)+)+$');});function a38c(){const n=['440547jVkXFG','There\x27s\x20no\x20door\x20named\x20\x22','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','Unlock\x20a\x20door.','actor','error','unlockItemOrSolution','logger','name','14VGyRVl','search','isValidDirection','.\x20Result:\x20','\x20is\x20attempted\x20to\x20unlock\x20','290263rBEQaH','verb','toLowerCase','(((.+)+)+)+$','\x22\x20here.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','length','942frkKSw','currentLocation','4158711eJHdtN','3537436KwGQxE','constructor','6394906VfqOsn','toString','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','inventory','unlock','write','hasItem','exits','getItem','UnlockCommand:\x20No\x20target\x20specified.','apply','attemptUnlockExit','10245EKvOho','execute','16gusnLI','description','7342250fLTMCA','get','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','UnlockCommand:\x20'];a38c=function(){return n;};return a38c();}a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x123;let f=c[d];return f;},a38d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a38k(0x12d)]=a38k(0x13c);static [a38k(0x147)]=a38k(0x14f);[a38k(0x145)](a){const l=a38k;return this[l(0x13c)](a);}['unlock'](a){const m=a38k;if(a[m(0x132)]===0x0)return this[m(0x125)][m(0x123)](m(0x141)),m(0x14e);const b=a[0x0][m(0x12e)](),c=this[m(0x150)][m(0x134)];if(this[m(0x129)](b)&&c['exits']['has'](b)){const d=c[m(0x13f)][m(0x149)](b);if(d instanceof Door){const e=d[m(0x124)]?.['toLowerCase']();if(e&&this[m(0x150)][m(0x13b)][m(0x13e)](e)){const f=this[m(0x150)][m(0x13b)][m(0x140)](e);if(f){const g=c[m(0x143)](b,f[m(0x126)]);return this[m(0x125)][m(0x13d)]('UnlockCommand:\x20'+this[m(0x150)][m(0x126)]+m(0x12b)+b+m(0x12a)+g),g;}}return this[m(0x125)][m(0x13d)]('UnlockCommand:\x20'+this[m(0x150)][m(0x126)]+m(0x13a)+b+'.'),m(0x14a);}else return this[m(0x125)][m(0x13d)](m(0x14b)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x126)]+'.'),m(0x14d)+b+m(0x130);}else return this['logger'][m(0x13d)](m(0x14b)+b+m(0x131)+c[m(0x126)]+'.'),m(0x14d)+b+'\x22\x20here.';}}
1
+ function a38c(){const n=['\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','52SOVnWd','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','toString','1552320bxMqam','UnlockCommand:\x20No\x20target\x20specified.','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','\x22\x20here.','search','9657683Eciwss','1336WLTBvJ','437aHfNVm','129249swlDfJ','attemptUnlockExit','apply','write','8qbXYFB','constructor','unlockItemOrSolution','(((.+)+)+)+$','.\x20Result:\x20','description','110ibUPgG','isValidDirection','518342ZVhzlW','logger','inventory','name','9885048qurCDU','6vebOyA','has','length','UnlockCommand:\x20','unlock','get','currentLocation','128IEVLEz','\x20is\x20attempted\x20to\x20unlock\x20','actor','toLowerCase','4326565YEUohr','exits'];a38c=function(){return n;};return a38c();}const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0xbe))/0x1*(-parseInt(h(0xbd))/0x2)+-parseInt(h(0xbf))/0x3*(parseInt(h(0xad))/0x4)+-parseInt(h(0xb1))/0x5*(-parseInt(h(0xd0))/0x6)+-parseInt(h(0xbc))/0x7*(parseInt(h(0xc3))/0x8)+parseInt(h(0xb7))/0x9+parseInt(h(0xc9))/0xa*(-parseInt(h(0xcb))/0xb)+-parseInt(h(0xcf))/0xc*(-parseInt(h(0xb4))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xba942));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0xc1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0xb6)]()[j(0xbb)](j(0xc6))[j(0xb6)]()[j(0xc4)](a38a)[j(0xbb)](j(0xc6));});a38a();import{Door}from'../models/door.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xad;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']='unlock';static [a38k(0xc8)]='Unlock\x20a\x20door.';['execute'](a){const l=a38k;return this[l(0xd4)](a);}[a38k(0xd4)](a){const m=a38k;if(a[m(0xd2)]===0x0)return this[m(0xcc)]['error'](m(0xb8)),m(0xb9);const b=a[0x0]['toLowerCase'](),c=this[m(0xaf)][m(0xd6)];if(this[m(0xca)](b)&&c['exits'][m(0xd1)](b)){const d=c[m(0xb2)][m(0xd5)](b);if(d instanceof Door){const e=d[m(0xc5)]?.[m(0xb0)]();if(e&&this[m(0xaf)][m(0xcd)]['hasItem'](e)){const f=this[m(0xaf)][m(0xcd)]['getItem'](e);if(f){const g=c[m(0xc0)](b,f[m(0xce)]);return this['logger']['write'](m(0xd3)+this['actor'][m(0xce)]+m(0xae)+b+m(0xc7)+g),g;}}return this['logger'][m(0xc2)](m(0xd3)+this[m(0xaf)][m(0xce)]+m(0xb3)+b+'.'),m(0xb5);}else return this['logger'][m(0xc2)](m(0xd3)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0xce)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}else return this[m(0xcc)][m(0xc2)]('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0xce)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0xba);}}
@@ -1 +1 @@
1
- const a39i=a39d;function a39c(){const l=['use','240490HyRjfe','actor','\x27s\x20inventory.','77647wdTBNx','verb','\x20in\x20this\x20way.','\x20to\x20use.','hasItem','inventory','write','(((.+)+)+)+$','448190IWooTu','\x20used\x20','constructor','name','UseCommand:\x20','apply','1297928EzBLDd','80628ZRLEaF','toString','logger','search','Use\x20an\x20item.','\x20doesn\x27t\x20have\x20a\x20use\x20method.','4190000fgZCFT','6LRypvo','1711066JSZquV','\x20not\x20retrieved\x20from\x20','\x20attempted\x20to\x20use\x20','9uHLaiq','getItem','96gDbhEx','execute','You\x20don\x27t\x20have\x20the\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','description','function'];a39c=function(){return l;};return a39c();}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x119))/0x1*(-parseInt(f(0x12f))/0x2)+-parseInt(f(0x128))/0x3+parseInt(f(0x127))/0x4+-parseInt(f(0x116))/0x5*(parseInt(f(0x135))/0x6)+parseInt(f(0x130))/0x7+parseInt(f(0x12e))/0x8+parseInt(f(0x133))/0x9*(-parseInt(f(0x121))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x763fc));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x111;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x126)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x12b)](h(0x120))[h(0x129)]()[h(0x123)](a39a)[h(0x12b)](h(0x120));});a39a();import{Command}from'./command.js';export class UseCommand extends Command{static [a39i(0x11a)]='use';static [a39i(0x113)]=a39i(0x12c);[a39i(0x136)](a){const j=a39i;return this[j(0x115)](a);}[a39i(0x115)](a){const k=a39i,b=a['join']('\x20')['toLowerCase']();if(!this[k(0x117)][k(0x11e)][k(0x11d)](b))return this[k(0x12a)]['write'](k(0x125)+this[k(0x117)][k(0x124)]+k(0x132)+b+k(0x112)),k(0x111)+b+k(0x11c);const c=this[k(0x117)][k(0x11e)][k(0x134)](b);if(!c)return this['logger'][k(0x11f)](k(0x125)+b+k(0x131)+this[k(0x117)][k(0x124)]+k(0x118)),k(0x111)+b+k(0x11c);if(typeof c[k(0x115)]===k(0x114)){const d=c[k(0x115)]();return this[k(0x12a)][k(0x11f)](k(0x125)+this[k(0x117)][k(0x124)]+k(0x122)+b+'.'),d;}else return this['logger']['write'](k(0x125)+b+k(0x12d)),'You\x20can\x27t\x20use\x20the\x20'+b+k(0x11b);}}
1
+ function a39c(){const l=['apply','verb','3727030iSLfdm','description','write','inventory','73259OKLfFF','execute','45jJuAaK','\x20used\x20','\x20to\x20use.','\x20attempted\x20to\x20use\x20','name','Use\x20an\x20item.','logger','6pQJebD','join',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','\x20doesn\x27t\x20have\x20a\x20use\x20method.','function','UseCommand:\x20','search','use','You\x20don\x27t\x20have\x20the\x20','(((.+)+)+)+$','toLowerCase','constructor','1384416aCgiTf','2692990sOQKNK','toString','7371wtFTzm','3462itOiAF','\x20not\x20retrieved\x20from\x20','\x27s\x20inventory.','2872600AGkXVs','actor','2837876kCAEnQ','hasItem'];a39c=function(){return l;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x17c;let f=c[d];return f;},a39d(a,b);}const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x18a))/0x1*(-parseInt(f(0x193))/0x2)+parseInt(f(0x19f))/0x3+parseInt(f(0x182))/0x4+parseInt(f(0x1a0))/0x5+parseInt(f(0x17d))/0x6*(parseInt(f(0x17c))/0x7)+parseInt(f(0x180))/0x8+-parseInt(f(0x18c))/0x9*(parseInt(f(0x186))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x90c07));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x1a1)]()[h(0x199)](h(0x19c))[h(0x1a1)]()[h(0x19e)](a39a)[h(0x199)](h(0x19c));});a39a();import{Command}from'./command.js';export class UseCommand extends Command{static [a39i(0x185)]=a39i(0x19a);static [a39i(0x187)]=a39i(0x191);[a39i(0x18b)](a){const j=a39i;return this[j(0x19a)](a);}['use'](a){const k=a39i,b=a[k(0x194)]('\x20')[k(0x19d)]();if(!this[k(0x181)][k(0x189)][k(0x183)](b))return this[k(0x192)][k(0x188)](k(0x198)+this[k(0x181)][k(0x190)]+k(0x18f)+b+k(0x195)),k(0x19b)+b+k(0x18e);const c=this[k(0x181)][k(0x189)]['getItem'](b);if(!c)return this[k(0x192)][k(0x188)](k(0x198)+b+k(0x17e)+this[k(0x181)]['name']+k(0x17f)),k(0x19b)+b+'\x20to\x20use.';if(typeof c[k(0x19a)]===k(0x197)){const d=c['use']();return this[k(0x192)][k(0x188)]('UseCommand:\x20'+this[k(0x181)]['name']+k(0x18d)+b+'.'),d;}else return this['logger']['write'](k(0x198)+b+k(0x196)),'You\x20can\x27t\x20use\x20the\x20'+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x1cc))/0x1+parseInt(f(0x1d3))/0x2+parseInt(f(0x1ce))/0x3+parseInt(f(0x1d1))/0x4+parseInt(f(0x1d6))/0x5+parseInt(f(0x1cd))/0x6+-parseInt(f(0x1d7))/0x7*(parseInt(f(0x1d4))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xef2a8));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['toString']()['search']('(((.+)+)+)+$')['toString']()[h(0x1d0)](a40a)[h(0x1d5)]('(((.+)+)+)+$');});a40a();export class CommandFactory{static [a40i(0x1d2)]={};static[a40i(0x1ca)](a,b){const j=a40i;this[j(0x1d2)][a]=b;}static[a40i(0x1cb)](a,b){const k=a40i,c=this[k(0x1d2)][a];if(c)return new c(b);return null;}static[a40i(0x1cf)](){const l=a40i;return this[l(0x1d2)];}}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1ca;let f=c[d];return f;},a40d(a,b);}function a40c(){const m=['search','2321470PWIPrF','2191hwcpqE','apply','registerCommand','createCommand','1706266YZZtuS','7622928SKEwMx','2503221wpdrBP','getAllRegisteredCommands','constructor','7341944QQMBVL','commandMap','1442726PoctMb','62368zHaGFC'];a40c=function(){return m;};return a40c();}
1
+ const a40i=a40d;function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xaa;let f=c[d];return f;},a40d(a,b);}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0xab))/0x1+-parseInt(f(0xb1))/0x2+-parseInt(f(0xb7))/0x3+-parseInt(f(0xaa))/0x4+-parseInt(f(0xb0))/0x5+parseInt(f(0xb2))/0x6+parseInt(f(0xac))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x476ed));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xaf)]()[h(0xb4)](h(0xad))[h(0xaf)]()[h(0xb3)](a40a)[h(0xb4)](h(0xad));});function a40c(){const k=['(((.+)+)+)+$','apply','toString','2411400zyEftA','151874sEHRDl','1233918wmhQPt','constructor','search','createCommand','commandMap','1247028zkUEqU','getAllRegisteredCommands','430484ljSpBd','48807eTWhGy','8520799aOpzfR'];a40c=function(){return k;};return a40c();}a40a();export class CommandFactory{static [a40i(0xb6)]={};static['registerCommand'](a,b){const j=a40i;this[j(0xb6)][a]=b;}static[a40i(0xb5)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a40i(0xb8)](){return this['commandMap'];}}
@@ -1 +1 @@
1
- const a41h=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x101))/0x1+parseInt(f(0xec))/0x2+-parseInt(f(0xf5))/0x3*(-parseInt(f(0xe8))/0x4)+parseInt(f(0xfe))/0x5*(parseInt(f(0xeb))/0x6)+-parseInt(f(0xfb))/0x7*(parseInt(f(0xe7))/0x8)+parseInt(f(0x102))/0x9+-parseInt(f(0x106))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xd73fd));function a41c(){const n=['INSIDE','bodyarmor','rewardItem','14BHHpSy','createItem','createRoom','50995EfaqNz','description','book','818202ieLeGI','8281782VPfofh','(((.+)+)+)+$','toString','items','10837190DDAyih','key','content','gloves','constructor','5480416bqlXdw','572HtOZTH','forEach','name','402toDTxy','2411338TbcZLK','convertToRoomConfig','toUpperCase','setPuzzle','search','roomType','puzzle','createPuzzle','gauntlets','28206AGYQTN','addItem','isStartRoom'];a41c=function(){return n;};return a41c();}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const g=a41d;return a41a[g(0x104)]()['search'](g(0x103))[g(0x104)]()[g(0xe6)](a41a)[g(0xf0)](g(0x103));});function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xe6;let f=c[d];return f;},a41d(a,b);}a41a();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{[a41h(0xfd)](a){const i=a41h,b=this[i(0xed)](a),c=new Room(b);if(a[i(0x105)]){const d=new Inventory();a['items'][i(0xe9)](e=>{const j=i;d[j(0xf6)](this[j(0xfc)](e));}),c['inventory']=d;}return a[i(0xf2)]&&c[i(0xef)](this['createPuzzle'](a[i(0xf2)])),c;}['createItem'](a){const k=a41h;switch(a['type']){case k(0x107):return new Key(a[k(0xea)],a[k(0xff)]);case k(0x100):return new Book(a[k(0xea)],a[k(0xff)],a[k(0x108)]);case'sword':return new Sword(a[k(0xea)],a[k(0xff)]);case'rifle':return new Rifle(a[k(0xea)],a[k(0xff)]);case'helmet':return new Helmet(a[k(0xea)],a[k(0xff)]);case k(0xf9):return new BodyArmor(a['name'],a[k(0xff)]);case'legarmor':return new LegArmor(a[k(0xea)],a[k(0xff)]);case'boots':return new Boots(a[k(0xea)],a[k(0xff)]);case k(0x109):return new Gloves(a[k(0xea)],a[k(0xff)]);case k(0xf4):return new Gauntlets(a[k(0xea)],a[k(0xff)]);default:return new BasicItem(a[k(0xea)],a[k(0xff)]);}}[a41h(0xf3)](a){const l=a41h,b=this[l(0xfc)](a[l(0xfa)]);return new Puzzle({...a,'rewardItem':b});}[a41h(0xed)](a){const m=a41h,b=a[m(0xf1)]&&RoomType[a[m(0xf1)][m(0xee)]()]?RoomType[a[m(0xf1)][m(0xee)]()]:RoomType[m(0xf8)];return{'name':a[m(0xea)],'description':a[m(0xff)],'isStartRoom':a[m(0xf7)],'roomType':b};}}
1
+ const a41k=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x1c5))/0x1+-parseInt(f(0x1d0))/0x2*(parseInt(f(0x1c8))/0x3)+parseInt(f(0x1bc))/0x4+-parseInt(f(0x1cf))/0x5+parseInt(f(0x1dc))/0x6*(parseInt(f(0x1bd))/0x7)+parseInt(f(0x1b8))/0x8+-parseInt(f(0x1d9))/0x9*(parseInt(f(0x1cc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb72cb));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x1b9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x1c9)]()[h(0x1c6)](h(0x1c3))['toString']()[h(0x1bb)](a41a)[h(0x1c6)]('(((.+)+)+)+$');});a41a();function a41c(){const o=['isStartRoom','key','4792860SQvbkJ','66TYqPBL','description','forEach','boots','type','legarmor','puzzle','rewardItem','roomType','45qsPoCr','toUpperCase','content','24606tdaZwS','4855456tsTPLE','apply','items','constructor','4366036nSvboS','1701hNKRIo','INSIDE','addItem','gauntlets','setPuzzle','createItem','(((.+)+)+)+$','name','465405UZMXKd','search','helmet','24744BjxCUS','toString','gloves','convertToRoomConfig','2358700YfwcmQ'];a41c=function(){return o;};return a41c();}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a41d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const i=a41d,b=this[i(0x1cb)](a),c=new Room(b);if(a[i(0x1ba)]){const d=new Inventory();a[i(0x1ba)][i(0x1d2)](e=>{const j=i;d[j(0x1bf)](this[j(0x1c2)](e));}),c['inventory']=d;}return a[i(0x1d6)]&&c[i(0x1c1)](this['createPuzzle'](a[i(0x1d6)])),c;}[a41k(0x1c2)](a){const l=a41k;switch(a[l(0x1d4)]){case l(0x1ce):return new Key(a[l(0x1c4)],a[l(0x1d1)]);case'book':return new Book(a[l(0x1c4)],a[l(0x1d1)],a[l(0x1db)]);case'sword':return new Sword(a[l(0x1c4)],a[l(0x1d1)]);case'rifle':return new Rifle(a[l(0x1c4)],a[l(0x1d1)]);case l(0x1c7):return new Helmet(a[l(0x1c4)],a[l(0x1d1)]);case'bodyarmor':return new BodyArmor(a['name'],a['description']);case l(0x1d5):return new LegArmor(a[l(0x1c4)],a[l(0x1d1)]);case l(0x1d3):return new Boots(a[l(0x1c4)],a[l(0x1d1)]);case l(0x1ca):return new Gloves(a[l(0x1c4)],a[l(0x1d1)]);case l(0x1c0):return new Gauntlets(a[l(0x1c4)],a[l(0x1d1)]);default:return new BasicItem(a[l(0x1c4)],a[l(0x1d1)]);}}['createPuzzle'](a){const m=a41k,b=this[m(0x1c2)](a[m(0x1d7)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a41k,b=a['roomType']&&RoomType[a['roomType']['toUpperCase']()]?RoomType[a[n(0x1d8)][n(0x1da)]()]:RoomType[n(0x1be)];return{'name':a[n(0x1c4)],'description':a[n(0x1d1)],'isStartRoom':a[n(0x1cd)],'roomType':b};}}
@@ -1 +1 @@
1
- const a42k=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=parseInt(h(0x1aa))/0x1*(-parseInt(h(0x1c6))/0x2)+-parseInt(h(0x1c1))/0x3*(-parseInt(h(0x1c5))/0x4)+parseInt(h(0x1b6))/0x5*(-parseInt(h(0x1a7))/0x6)+-parseInt(h(0x1ba))/0x7+-parseInt(h(0x1c4))/0x8+parseInt(h(0x1b1))/0x9+parseInt(h(0x1b2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xebd1c));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a42d;if(c){const e=c[i(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const j=a42d;return a42a[j(0x1bb)]()['search'](j(0x19d))[j(0x1bb)]()['constructor'](a42a)[j(0x1a4)](j(0x19d));});a42a();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';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x19d;let f=c[d];return f;},a42d(a,b);}import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';function a42c(){const s=['10tnXETt','unlock','scene','execute','12262208EkBohT','toString','take','getAllRegisteredCommands','initialize','apply','trim','18339KBWmXw','handleInput','Welcome,\x20','14721552SOwcJZ','288uyvfil','28BlZYzZ','look','getRooms','lock','registerCommand','rooms','currentLocation','slice','name','solve','unequip','(((.+)+)+)+$','createCommand','determineStartRoom','clear','-\x20clear:\x20Clear\x20the\x20screen.\x0a','use','player','search','say','getHelpMessage','4173582frUuhy','getWelcomeMessage','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','105442qoWqLt','-\x20quit:\x20Exit\x20the\x20game.\x0a','toLowerCase','getDescription','split','currentRoom','quit','7757487ldChHR','61231570dXmXJG','equip','hasOwnProperty','instance'];a42c=function(){return s;};return a42c();}export default class Game{static ['instance'];['scene'];[a42k(0x1a3)];[a42k(0x1af)];[a42k(0x1cb)];constructor(a,b){const l=a42k;this[l(0x1a3)]=a,this[l(0x1b8)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0x1be)](),this[l(0x1a3)][l(0x1cc)]=this['determineStartRoom'](),this['registerCommands']();}['registerCommands'](){const m=a42k;CommandFactory[m(0x1ca)](m(0x1c7),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0x1ca)](m(0x1bc),TakeCommand),CommandFactory[m(0x1ca)](m(0x1a2),UseCommand),CommandFactory['registerCommand'](m(0x1b3),EquipCommand),CommandFactory[m(0x1ca)](m(0x1d0),UnequipCommand),CommandFactory[m(0x1ca)](m(0x1cf),SolveCommand),CommandFactory[m(0x1ca)]('drop',DropCommand),CommandFactory['registerCommand'](m(0x1b7),UnlockCommand),CommandFactory[m(0x1ca)](m(0x1c9),LockCommand),CommandFactory[m(0x1ca)](m(0x1a4),SearchCommand),CommandFactory[m(0x1ca)](m(0x1a5),SayCommand);}['determineStartRoom'](){const n=a42k;return this[n(0x1b8)][n(0x19f)]();}[a42k(0x1a8)](){const o=a42k;return o(0x1c3)+this[o(0x1a3)][o(0x1ce)];}static['getInstance'](a,b){const p=a42k;return!Game[p(0x1b5)]&&(Game['instance']=new Game(a,b)),Game[p(0x1b5)];}[a42k(0x1c2)](a){const q=a42k,b=a[q(0x1c0)]()[q(0x1ae)]('\x20'),c=b[0x0][q(0x1ac)](),d=b[q(0x1cd)](0x1);if(c===q(0x1b0))return null;if(c==='maka')return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c==='help')return this[q(0x1a6)]();if(c===q(0x1a0))return'';const e={'actor':this[q(0x1a3)],'rooms':this['scene'][q(0x1c8)](),'scene':this[q(0x1b8)]},f=CommandFactory[q(0x19e)](c,e);if(f){const g=f[q(0x1b9)](d);return g;}return q(0x1a9)+c+'\x22.';}['getHelpMessage'](){const r=a42k,a=CommandFactory[r(0x1bd)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0x1b4)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x1ad)]()+'\x0a';}}return b+=r(0x1a1),b+=r(0x1ab),b;}}
1
+ const a42k=a42d;(function(a,b){const h=a42d,c=a();while(!![]){try{const d=-parseInt(h(0xad))/0x1*(parseInt(h(0xbb))/0x2)+-parseInt(h(0x97))/0x3*(parseInt(h(0xb1))/0x4)+parseInt(h(0x9f))/0x5+parseInt(h(0xa9))/0x6*(parseInt(h(0x90))/0x7)+-parseInt(h(0xa0))/0x8+parseInt(h(0x99))/0x9+-parseInt(h(0xae))/0xa*(-parseInt(h(0xa3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xe860f));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x8d;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a42d;if(c){const e=c[i(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const j=a42d;return a42a[j(0x8e)]()[j(0x8d)](j(0x98))[j(0x8e)]()[j(0x9e)](a42a)[j(0x8d)](j(0x98));});a42a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a42c(){const s=['handleInput','say','28086TcuPPN','currentRoom','search','toString','registerCommands','6167qQEnKr','unlock','equip','Welcome,\x20','use','createCommand','name','3qutlFM','(((.+)+)+)+$','14981598saKmnK','instance','take','registerCommand','-\x20clear:\x20Clear\x20the\x20screen.\x0a','constructor','1999955yLTOsN','4692464ryoPWd','toLowerCase','look','11MtlBkZ','scene','unequip','solve','trim','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','4638ZJPdEr','determineStartRoom','maka','player','57hzNsmM','1636210UlAGaS','initialize','apply','2281660BsshzC','getHelpMessage','quit','currentLocation','getAllRegisteredCommands','clear','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','getInstance'];a42c=function(){return s;};return a42c();}import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a42k(0x9a)];[a42k(0xa4)];[a42k(0xac)];[a42k(0xbc)];['rooms'];constructor(a,b){const l=a42k;this[l(0xac)]=a,this[l(0xa4)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0xa4)][l(0xaf)](),this[l(0xac)][l(0xb4)]=this[l(0xaa)](),this[l(0x8f)]();}['registerCommands'](){const m=a42k;CommandFactory[m(0x9c)](m(0xa2),LookCommand),CommandFactory[m(0x9c)]('go',GoCommand),CommandFactory[m(0x9c)](m(0x9b),TakeCommand),CommandFactory[m(0x9c)](m(0x94),UseCommand),CommandFactory[m(0x9c)](m(0x92),EquipCommand),CommandFactory[m(0x9c)](m(0xa5),UnequipCommand),CommandFactory[m(0x9c)](m(0xa6),SolveCommand),CommandFactory[m(0x9c)]('drop',DropCommand),CommandFactory[m(0x9c)](m(0x91),UnlockCommand),CommandFactory[m(0x9c)]('lock',LockCommand),CommandFactory[m(0x9c)]('search',SearchCommand),CommandFactory[m(0x9c)](m(0xba),SayCommand);}[a42k(0xaa)](){const n=a42k;return this[n(0xa4)][n(0xaa)]();}['getWelcomeMessage'](){const o=a42k;return o(0x93)+this[o(0xac)][o(0x96)];}static[a42k(0xb8)](a,b){const p=a42k;return!Game[p(0x9a)]&&(Game[p(0x9a)]=new Game(a,b)),Game[p(0x9a)];}[a42k(0xb9)](a){const q=a42k,b=a[q(0xa7)]()['split']('\x20'),c=b[0x0][q(0xa1)](),d=b['slice'](0x1);if(c===q(0xb3))return null;if(c===q(0xab))return q(0xa8);if(c==='help')return this[q(0xb2)]();if(c===q(0xb6))return'';const e={'actor':this[q(0xac)],'rooms':this[q(0xa4)]['getRooms'](),'scene':this[q(0xa4)]},f=CommandFactory[q(0x95)](c,e);if(f){const g=f['execute'](d);return g;}return q(0xb7)+c+'\x22.';}[a42k(0xb2)](){const r=a42k,a=CommandFactory[r(0xb5)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=r(0x9d),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- function a43c(){var i=['search','24zjQExX','10324764ATUngt','112263OhCqDN','apply','2587459PRrjkz','4266126SvNtpV','6371752gimpPF','540915DskdKb','46xXSoWl','(((.+)+)+)+$','801015NNWiHq'];a43c=function(){return i;};return a43c();}(function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x1c8))/0x1+-parseInt(f(0x1d2))/0x2*(parseInt(f(0x1cc))/0x3)+parseInt(f(0x1d0))/0x4+parseInt(f(0x1d1))/0x5+-parseInt(f(0x1cf))/0x6+-parseInt(f(0x1ce))/0x7*(-parseInt(f(0x1ca))/0x8)+-parseInt(f(0x1cb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xd9cf3));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x1cd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a['toString']()[h(0x1c9)](h(0x1d3))['toString']()['constructor'](a43a)[h(0x1c9)]('(((.+)+)+)+$');});a43a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x1c8;var f=c[d];return f;},a43d(a,b);}export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x16b))/0x1*(parseInt(f(0x16a))/0x2)+parseInt(f(0x169))/0x3*(parseInt(f(0x175))/0x4)+parseInt(f(0x16e))/0x5*(parseInt(f(0x16f))/0x6)+-parseInt(f(0x16d))/0x7+parseInt(f(0x176))/0x8*(parseInt(f(0x171))/0x9)+-parseInt(f(0x168))/0xa+parseInt(f(0x173))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xe6c35));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a['toString']()[h(0x170)](h(0x174))[h(0x172)]()['constructor'](a43a)[h(0x170)](h(0x174));});a43a();function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x168;var f=c[d];return f;},a43d(a,b);}export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a43c(){var i=['apply','7385455ddbMCp','5IcKkrM','703842mWYTTY','search','2097DAHhBH','toString','26185698ptXjRJ','(((.+)+)+)+$','4pBjtEg','12248HsEkAo','15332090OzBDkL','4081470rFHgnZ','59266xrzHDf','23GbcWaS'];a43c=function(){return i;};return a43c();}export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a44h=a44d;(function(a,b){var f=a44d,c=a();while(!![]){try{var d=parseInt(f(0xad))/0x1*(-parseInt(f(0x96))/0x2)+-parseInt(f(0x98))/0x3+-parseInt(f(0xb0))/0x4*(-parseInt(f(0xaa))/0x5)+parseInt(f(0xa2))/0x6+parseInt(f(0xac))/0x7*(-parseInt(f(0xa1))/0x8)+-parseInt(f(0xa0))/0x9*(-parseInt(f(0x9e))/0xa)+parseInt(f(0x9d))/0xb*(parseInt(f(0xa7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xd8f28));function a44c(){var n=['Failed\x20to\x20unlock\x20door:\x20','11UJKxSa','680PyaUwf','.\x20Used:\x20','138654CmzRmP','8GThdaq','2495112EqpTtO','(((.+)+)+)+$','isLocked','To\x20','roomB','8462364wdNZRa','checkIfLockable','\x20and\x20','1375210PdzcYo','toString','1268393zmkXnM','59138tqVpia','Door\x20unlocked:\x20','roomA','4sbfnFb','.\x20Is\x20Locked:\x20','search','isLockable','constructor','unlockItemOrSolution','attemptUnlock','getInstance','16XwwEdD','write','2702340vreksH','name','checkIfLocked','logger'];a44c=function(){return n;};return a44c();}var a44b=(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;};}()),a44a=a44b(this,function(){var g=a44d;return a44a[g(0xab)]()[g(0xb2)](g(0xa3))[g(0xab)]()[g(0x92)](a44a)[g(0xb2)](g(0xa3));});a44a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0x92;var f=c[d];return f;},a44d(a,b);}export class Door extends AbstractDoor{[a44h(0xaf)];[a44h(0xa6)];['isLocked'];[a44h(0x93)];[a44h(0x99)];[a44h(0x9b)];[a44h(0xb3)];constructor(a){var i=a44h;super(),this[i(0xaf)]=a[i(0xaf)],this[i(0xa6)]=a[i(0xa6)],this['isLocked']=a[i(0xa4)]||![],this[i(0x93)]=a[i(0x93)],this[i(0x99)]=a['name']?capitalCase(a[i(0x99)]):i(0xa5)+a[i(0xa6)][i(0x99)],this[i(0x9b)]=Logger[i(0x95)](),this[i(0xb3)]=!!a[i(0x93)],this[i(0x9b)]['write']('Door\x20created\x20between\x20'+this[i(0xaf)][i(0x99)]+i(0xa9)+this[i(0xa6)]['name']+i(0xb1)+this[i(0xa4)]);}['getOtherSide'](a){var j=a44h;return this[j(0xaf)]===a?this['roomB']:this[j(0xaf)];}[a44h(0x94)](a){var k=a44h;if(this[k(0xa4)]&&this[k(0x93)]&&this[k(0x93)]===a)return this[k(0xa4)]=![],this[k(0x9b)]['write'](k(0xae)+this[k(0x99)]+k(0x9f)+a),!![];return this['logger'][k(0x97)](k(0x9c)+this[k(0x99)]+k(0x9f)+a),![];}[a44h(0x9a)](){var l=a44h;return this[l(0xa4)];}[a44h(0xa8)](){var m=a44h;return this[m(0xb3)];}}
1
+ var a44i=a44d;(function(a,b){var f=a44d,c=a();while(!![]){try{var d=-parseInt(f(0xf0))/0x1*(-parseInt(f(0xff))/0x2)+-parseInt(f(0xec))/0x3*(parseInt(f(0xfd))/0x4)+-parseInt(f(0xf7))/0x5+parseInt(f(0xfb))/0x6*(parseInt(f(0xdf))/0x7)+-parseInt(f(0xf6))/0x8*(parseInt(f(0xfa))/0x9)+parseInt(f(0xf8))/0xa*(parseInt(f(0xee))/0xb)+parseInt(f(0x101))/0xc*(parseInt(f(0xe5))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xa18f5));var a44b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a44d;if(c){var e=c[g(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){var h=a44d;return a44a[h(0xe4)]()[h(0xed)](h(0xfe))[h(0xe4)]()[h(0xea)](a44a)['search']('(((.+)+)+)+$');});a44a();import{Logger}from'../utilities/logger.js';function a44c(){var n=['5550GwKBxi','search','900636CXQUVV','apply','397QsuaUt','.\x20Used:\x20','write','isLocked','logger','roomA','336616GYYoGU','4793520HMZDbI','20GGqsyM','To\x20','117jqflCJ','24PTTJGd','Door\x20created\x20between\x20','2488GmlxcF','(((.+)+)+)+$','458DGbNgL','getInstance','5916LfhStC','1477868Tesxaa','getOtherSide','isLockable','unlockItemOrSolution','roomB','toString','58513EgeISg','checkIfLocked','Door\x20unlocked:\x20','name','\x20and\x20','constructor','checkIfLockable'];a44c=function(){return n;};return a44c();}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a44d(a,b){var c=a44c();return a44d=function(d,e){d=d-0xdf;var f=c[d];return f;},a44d(a,b);}export class Door extends AbstractDoor{['roomA'];[a44i(0xe3)];[a44i(0xf3)];[a44i(0xe2)];[a44i(0xe8)];['logger'];[a44i(0xe1)];constructor(a){var j=a44i;super(),this[j(0xf5)]=a[j(0xf5)],this[j(0xe3)]=a[j(0xe3)],this[j(0xf3)]=a[j(0xf3)]||![],this[j(0xe2)]=a[j(0xe2)],this['name']=a['name']?capitalCase(a['name']):j(0xf9)+a[j(0xe3)]['name'],this[j(0xf4)]=Logger[j(0x100)](),this[j(0xe1)]=!!a['unlockItemOrSolution'],this[j(0xf4)]['write'](j(0xfc)+this[j(0xf5)][j(0xe8)]+j(0xe9)+this[j(0xe3)][j(0xe8)]+'.\x20Is\x20Locked:\x20'+this[j(0xf3)]);}[a44i(0xe0)](a){var k=a44i;return this[k(0xf5)]===a?this[k(0xe3)]:this[k(0xf5)];}['attemptUnlock'](a){var l=a44i;if(this[l(0xf3)]&&this[l(0xe2)]&&this[l(0xe2)]===a)return this[l(0xf3)]=![],this[l(0xf4)][l(0xf2)](l(0xe7)+this[l(0xe8)]+l(0xf1)+a),!![];return this[l(0xf4)][l(0xf2)]('Failed\x20to\x20unlock\x20door:\x20'+this[l(0xe8)]+l(0xf1)+a),![];}[a44i(0xe6)](){var m=a44i;return this[m(0xf3)];}[a44i(0xeb)](){return this['isLockable'];}}
@@ -1 +1 @@
1
- const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x78))/0x1*(parseInt(f(0x90))/0x2)+-parseInt(f(0x82))/0x3*(parseInt(f(0x68))/0x4)+parseInt(f(0x8a))/0x5+-parseInt(f(0x6e))/0x6*(-parseInt(f(0x6d))/0x7)+parseInt(f(0x91))/0x8*(parseInt(f(0x7b))/0x9)+-parseInt(f(0x83))/0xa*(-parseInt(f(0x7e))/0xb)+-parseInt(f(0x69))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x1df74));function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x68;let f=c[d];return f;},a45d(a,b);}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x6f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a['toString']()[h(0x6b)](h(0x80))[h(0x6c)]()[h(0x79)](a45a)[h(0x6b)](h(0x80));});a45a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a45i(0x7f)];['logger'];constructor(){const j=a45i;super(),this['items']=new Map(),this[j(0x6a)]=Logger['getInstance']();}[a45i(0x92)](a){const k=a45i;this['items']['set'](a[k(0x7c)][k(0x8c)](),a),this[k(0x6a)]['write']('Added\x20item:\x20'+a[k(0x7c)]+k(0x8e));}[a45i(0x73)](a){const l=a45i,b=this['getItem'](a);if(b)return this[l(0x7f)][l(0x70)](a[l(0x8c)]()),this[l(0x6a)][l(0x85)]('Removed\x20item:\x20'+a+'\x20from\x20inventory.'),b;return this[l(0x6a)][l(0x85)]('Failed\x20to\x20remove\x20item:\x20'+a+l(0x75)),null;}[a45i(0x88)](a){const m=a45i,b=this['items'][m(0x8f)](a[m(0x8c)]()),c=[...this['items'][m(0x84)]()];return this['logger'][m(0x85)]('Checked\x20for\x20item:\x20'+a+m(0x74)+c[m(0x7d)](',\x20')+m(0x76)+b+'.'),b;}[a45i(0x81)](a){const n=a45i,b=this[n(0x7f)][n(0x89)](a[n(0x8c)]())||null;return b?this['logger'][n(0x85)](n(0x72)+a+'.'):this[n(0x6a)][n(0x85)](n(0x8d)+a+n(0x75)),b;}[a45i(0x86)](){const o=a45i,a=[...this['items'][o(0x84)]()],b=a[o(0x8b)](c=>capitalCase(c));return this['logger'][o(0x85)](o(0x87)+b['join'](',\x20')+'.'),a;}[a45i(0x93)](){const p=a45i;let a=0x0;for(const b of this['items'][p(0x71)]()){a+=b[p(0x77)];}return a;}[a45i(0x7a)](){const q=a45i;return[...this[q(0x7f)]['values']()];}}function a45c(){const r=['655569xVuCbQ','23780YDwaEQ','keys','write','listItems','Listed\x20items\x20in\x20inventory:\x20','hasItem','get','330445cmKNFo','map','toLowerCase','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','\x20to\x20inventory.','has','8gnrLBr','24MNiLcT','addItem','getWeight','4czoyNC','2606520BIBzbo','logger','search','toString','91NObKyy','61356qGuMRh','apply','delete','values','Retrieved\x20details\x20for\x20item:\x20','removeItem','\x20in\x20','.\x20Item\x20not\x20found.','.\x20Exists:\x20','weight','45691BxCbOo','constructor','getAllItems','401634scKEsT','name','join','198IAWKZK','items','(((.+)+)+)+$','getItem'];a45c=function(){return r;};return a45c();}
1
+ const a45h=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x1f7))/0x1*(-parseInt(f(0x1fd))/0x2)+-parseInt(f(0x20c))/0x3*(-parseInt(f(0x1f5))/0x4)+parseInt(f(0x1ff))/0x5+parseInt(f(0x206))/0x6+parseInt(f(0x1ed))/0x7+-parseInt(f(0x1fe))/0x8*(parseInt(f(0x1fa))/0x9)+-parseInt(f(0x212))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xe697a));function a45c(){const q=['constructor','76040URZhSV','141432rDsGiC','6632105VLbffy','\x20in\x20','search','toString','(((.+)+)+)+$','values','.\x20Exists:\x20','3365142GrjJIO','join','items','Checked\x20for\x20item:\x20','Removed\x20item:\x20','keys','120evjCCV','Listed\x20items\x20in\x20inventory:\x20','\x20to\x20inventory.','delete','toLowerCase','hasItem','1265090EkXAGq','addItem','\x20from\x20inventory.','Failed\x20to\x20remove\x20item:\x20','Retrieved\x20details\x20for\x20item:\x20','946645jpxgbI','removeItem','Added\x20item:\x20','has','.\x20Item\x20not\x20found.','logger','getItem','listItems','67688lbbSEx','write','14xzINmc','get','getAllItems','558CsYyuI','set'];a45c=function(){return q;};return a45c();}function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a45d(a,b);}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 g=a45d;return a45a['toString']()[g(0x201)](g(0x203))[g(0x202)]()[g(0x1fc)](a45a)[g(0x201)](g(0x203));});a45a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a45h(0x208)];[a45h(0x1f2)];constructor(){const i=a45h;super(),this[i(0x208)]=new Map(),this['logger']=Logger['getInstance']();}[a45h(0x213)](a){const j=a45h;this[j(0x208)][j(0x1fb)](a['name'][j(0x210)](),a),this[j(0x1f2)][j(0x1f6)](j(0x1ef)+a['name']+j(0x20e));}[a45h(0x1ee)](a){const k=a45h,b=this['getItem'](a);if(b)return this['items'][k(0x20f)](a[k(0x210)]()),this[k(0x1f2)][k(0x1f6)](k(0x20a)+a+k(0x1ea)),b;return this[k(0x1f2)][k(0x1f6)](k(0x1eb)+a+k(0x1f1)),null;}[a45h(0x211)](a){const l=a45h,b=this[l(0x208)][l(0x1f0)](a['toLowerCase']()),c=[...this['items'][l(0x20b)]()];return this['logger'][l(0x1f6)](l(0x209)+a+l(0x200)+c[l(0x207)](',\x20')+l(0x205)+b+'.'),b;}[a45h(0x1f3)](a){const m=a45h,b=this['items'][m(0x1f8)](a[m(0x210)]())||null;return b?this[m(0x1f2)][m(0x1f6)](m(0x1ec)+a+'.'):this[m(0x1f2)][m(0x1f6)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),b;}[a45h(0x1f4)](){const n=a45h,a=[...this[n(0x208)][n(0x20b)]()],b=a['map'](c=>capitalCase(c));return this[n(0x1f2)][n(0x1f6)](n(0x20d)+b[n(0x207)](',\x20')+'.'),a;}['getWeight'](){const o=a45h;let a=0x0;for(const b of this[o(0x208)][o(0x204)]()){a+=b['weight'];}return a;}[a45h(0x1f9)](){const p=a45h;return[...this[p(0x208)]['values']()];}}
@@ -1 +1 @@
1
- var a46i=a46d;(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x19a))/0x1+-parseInt(f(0x19b))/0x2+parseInt(f(0x1a6))/0x3+parseInt(f(0x19c))/0x4+parseInt(f(0x1a9))/0x5+-parseInt(f(0x19d))/0x6*(parseInt(f(0x1a2))/0x7)+-parseInt(f(0x1a7))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x3f8cd));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x199)]()[h(0x1a3)](h(0x1ab))[h(0x199)]()[h(0x19f)](a46a)[h(0x1a3)](h(0x1ab));});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x193;var f=c[d];return f;},a46d(a,b);}function a46c(){var l=['category','2156917phfdGB','search','shape','You\x20use\x20the\x20','315207NCudCw','385192dxRJht','weight','1852555HJOGbm','uuid','(((.+)+)+)+$','name','rating','apply','use','texture','color','toString','229886nttNAB','368874rWzZAO','382208eDAMoF','6PmsMjO','size','constructor','.\x20Nothing\x20special\x20happens.'];a46c=function(){return l;};return a46c();}a46a();import{v4 as a46e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a46i(0x1aa)];[a46i(0x193)];['description'];[a46i(0x19e)];[a46i(0x1a1)];['shape'];[a46i(0x198)];[a46i(0x197)];[a46i(0x194)];[a46i(0x1a8)];constructor(a){var j=a46i;super(),this[j(0x193)]=a['name'],this['description']=a['description'],this['size']=a[j(0x19e)],this['category']=a[j(0x1a1)],this[j(0x1a4)]=a[j(0x1a4)],this[j(0x198)]=a[j(0x198)],this[j(0x197)]=a[j(0x197)],this[j(0x194)]=a['rating'],this[j(0x1a8)]=a[j(0x1a8)],this[j(0x1aa)]=a46e();}[a46i(0x196)](){var k=a46i;return k(0x1a5)+this[k(0x193)]+k(0x1a0);}}
1
+ var a46i=a46d;function a46c(){var l=['4331664wTSXfX','constructor','shape','size','1745176GihJNz','6oaYlbK','.\x20Nothing\x20special\x20happens.','texture','description','1dezzkL','3675025hzeEbi','uuid','name','You\x20use\x20the\x20','category','toString','color','931077rPWDYv','375192bcqauf','28651vtonvW','6882930slqtad','8GVVzcd','weight','search','rating','apply','(((.+)+)+)+$'];a46c=function(){return l;};return a46c();}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x1ac))/0x1*(parseInt(f(0x1a7))/0x2)+-parseInt(f(0x1b4))/0x3*(parseInt(f(0x19d))/0x4)+parseInt(f(0x1ad))/0x5+parseInt(f(0x1a8))/0x6*(parseInt(f(0x1b6))/0x7)+parseInt(f(0x1a3))/0x8+parseInt(f(0x1b5))/0x9+parseInt(f(0x1b7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x7e46f));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1a1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x1b2)]()[h(0x19f)](h(0x1a2))['toString']()[h(0x1a4)](a46a)[h(0x19f)](h(0x1a2));});a46a();import{v4 as a46e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x19d;var f=c[d];return f;},a46d(a,b);}export class Item extends AbstractItem{[a46i(0x1ae)];[a46i(0x1af)];[a46i(0x1ab)];['size'];[a46i(0x1b1)];['shape'];['color'];[a46i(0x1aa)];['rating'];[a46i(0x19e)];constructor(a){var j=a46i;super(),this['name']=a[j(0x1af)],this[j(0x1ab)]=a[j(0x1ab)],this['size']=a[j(0x1a6)],this['category']=a[j(0x1b1)],this[j(0x1a5)]=a[j(0x1a5)],this[j(0x1b3)]=a[j(0x1b3)],this[j(0x1aa)]=a['texture'],this[j(0x1a0)]=a[j(0x1a0)],this[j(0x19e)]=a[j(0x19e)],this['uuid']=a46e();}['use'](){var k=a46i;return k(0x1b0)+this[k(0x1af)]+k(0x1a9);}}
@@ -1 +1 @@
1
- const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x108))/0x1+-parseInt(f(0x100))/0x2+parseInt(f(0x101))/0x3+parseInt(f(0x10e))/0x4+-parseInt(f(0x103))/0x5*(parseInt(f(0x105))/0x6)+-parseInt(f(0xfd))/0x7*(-parseInt(f(0x10a))/0x8)+parseInt(f(0xff))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x1ec62));function a47c(){const n=['floor','moveTo','constructor','84511EXmRtL','scene','479052vLNctz','290360bRppLk','295464OQCjay','autonomousMove','5BLhmPe','rooms','248214cNVihv','_name','length','30132KkdtSb','toString','16NwJZJO','_dialogue','apply','speak','667476GnTiRu','name','execute','random'];a47c=function(){return n;};return a47c();}function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xfc;let f=c[d];return f;},a47d(a,b);}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x10c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()['search']('(((.+)+)+)+$')[h(0x109)]()[h(0xfc)](a47a)['search']('(((.+)+)+)+$');});a47a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a47i(0x106)];[a47i(0x10b)];[a47i(0x104)];[a47i(0xfe)];constructor(a,b,c,d){const j=a47i;super(d),this[j(0x106)]=a,this[j(0x10b)]=b,this[j(0x104)]=c;}get[a47i(0x10f)](){return this['_name'];}[a47i(0x10d)](){const k=a47i;return this[k(0x10b)][Math[k(0x112)](Math[k(0x111)]()*this['_dialogue'][k(0x107)])];}[a47i(0x102)](a){const l=a47i,b=a[Math[l(0x112)](Math[l(0x111)]()*a[l(0x107)])];this[l(0x113)](b[l(0x10f)]);}[a47i(0x113)](a){const m=a47i,b={'actor':this,'rooms':this['rooms'],'scene':this[m(0xfe)]},c=new GoCommand(b);c[m(0x110)]([a]);}}
1
+ const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0xc2))/0x1+-parseInt(f(0xbb))/0x2+-parseInt(f(0xc6))/0x3*(parseInt(f(0xc1))/0x4)+-parseInt(f(0xc0))/0x5+parseInt(f(0xc5))/0x6+-parseInt(f(0xca))/0x7*(parseInt(f(0xbc))/0x8)+parseInt(f(0xc8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x6c1ae));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xcd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0xba)]()[h(0xbf)](h(0xb7))['toString']()[h(0xcc)](a47a)[h(0xbf)](h(0xb7));});function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xb7;let f=c[d];return f;},a47d(a,b);}a47a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a47i(0xbe)];[a47i(0xcb)];[a47i(0xc7)];['scene'];constructor(a,b,c,d){const j=a47i;super(d),this[j(0xbe)]=a,this[j(0xcb)]=b,this[j(0xc7)]=c;}get[a47i(0xb9)](){const k=a47i;return this[k(0xbe)];}['speak'](){const l=a47i;return this[l(0xcb)][Math[l(0xce)](Math[l(0xbd)]()*this['_dialogue']['length'])];}[a47i(0xc9)](a){const m=a47i,b=a[Math[m(0xce)](Math['random']()*a['length'])];this[m(0xc4)](b[m(0xb9)]);}['moveTo'](a){const n=a47i,b={'actor':this,'rooms':this[n(0xc7)],'scene':this[n(0xc3)]},c=new GoCommand(b);c[n(0xb8)]([a]);}}function a47c(){const o=['apply','floor','(((.+)+)+)+$','execute','name','toString','502338QnfRKp','8zwNyWk','random','_name','search','2778425TRbECi','536128OSKjCa','169219NFhxBb','scene','moveTo','2273682Bsdtoe','6upoMGg','rooms','10858203fkAGpR','autonomousMove','1658419XnwqMy','_dialogue','constructor'];a47c=function(){return o;};return a47c();}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x17e))/0x1*(parseInt(f(0x15e))/0x2)+parseInt(f(0x19d))/0x3*(parseInt(f(0x185))/0x4)+-parseInt(f(0x16f))/0x5*(-parseInt(f(0x154))/0x6)+parseInt(f(0x189))/0x7+-parseInt(f(0x16c))/0x8+parseInt(f(0x17c))/0x9+-parseInt(f(0x156))/0xa*(parseInt(f(0x16a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xda4c0));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a['toString']()['search']('(((.+)+)+)+$')[h(0x1a8)]()[h(0x162)](a48a)[h(0x1a9)](h(0x19a));});a48a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a48c(){const B=['20848vlROub','hear','bind','\x20to\x20player\x27s\x20inventory.','10185938hXZWwd','playerName','determineEquipmentSlot','_maxCarryingWeight','equipment','feet','enterRoom','name','LegArmor','\x20slot.','torso','_equipment','legs','_currentLocation','addInventory','rightHand','includes','(((.+)+)+)+$','arm\x20armor','\x20says:\x20\x22','579yMWysv','Helmet','removeItem','Nexus','A\x20featureless\x20room','removeInventory','toLowerCase','apply','You\x20equipped\x20','You\x20can\x27t\x20equip\x20','startLocation','toString','search','\x20in\x20your\x20inventory.','category','leaveRoom','canEquip','Removed\x20','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','log','bodyarmor','10524048EykTvB','maxCarryingWeight','587350sbJVoF','write','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','logger','arms','You\x20don\x27t\x20have\x20','\x20from\x20player\x27s\x20inventory.','off','708574HDdPxa','\x20is\x20no\x20longer\x20listeng\x20in\x20','\x20is\x20now\x20listening\x20in\x20room\x20','inventoryItems','constructor','gloves','inventory','You\x20unequipped\x20','error','getInstance','addItem','_playerName','649IfqcCC','boots','6505792EvKDTt','Max\x20carrying\x20weight\x20must\x20be\x20positive.','unequipBySlot','5FtxjdQ','ArmArmor','helmet','currentWeight','hasItem','Weapon','unequip','leg\x20armor','armarmor','body\x20armor','head','Boots','Invalid\x20category\x20or\x20slot:\x20','5430492nzASkc','currentLocation','1zgwsku','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','hat','_inventory','values','Failed\x20to\x20remove\x20','Added\x20'];a48c=function(){return B;};return a48c();}import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x152;let f=c[d];return f;},a48d(a,b);}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a48i(0x169)];[a48i(0x196)];[a48i(0x181)];[a48i(0x194)];['_maxCarryingWeight']=0x32;['logger'];constructor(a){const j=a48i;super(),this[j(0x169)]=a[j(0x18a)],this[j(0x196)]=a[j(0x1a7)]||new Room({'name':j(0x1a0),'description':j(0x1a1)}),this[j(0x181)]=new Inventory(),this[j(0x159)]=Logger[j(0x167)]();if(a?.[j(0x161)])for(const b of a[j(0x161)]){this[j(0x181)]['addItem'](b);}this['_equipment']=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a48i;return this[k(0x169)];}get[a48i(0x17d)](){const l=a48i;return this[l(0x196)];}set[a48i(0x17d)](a){const m=a48i;this[m(0x196)]!==a&&(this[m(0x1ac)](),this[m(0x18f)](a)),this[m(0x196)]=a;}get[a48i(0x164)](){return this['_inventory'];}get[a48i(0x18d)](){return this['_equipment'];}set[a48i(0x18d)](a){const n=a48i;this[n(0x194)]=a;}get[a48i(0x155)](){const o=a48i;return this[o(0x18c)];}set[a48i(0x155)](a){const p=a48i;a>0x0?this[p(0x18c)]=a:console[p(0x166)](p(0x16d));}get[a48i(0x172)](){const q=a48i;let a=this[q(0x181)]['getWeight']();for(const b in this['_equipment']){const c=this[q(0x194)][b];c&&(a+=c['weight']);}return a;}[a48i(0x197)](a){const r=a48i;if(this[r(0x172)]+a['weight']>this[r(0x155)]){this[r(0x159)][r(0x157)](r(0x158));throw new Error(r(0x1af));}this[r(0x181)][r(0x168)](a),this[r(0x159)]['write'](r(0x184)+a[r(0x190)]+r(0x188));}[a48i(0x1a2)](a){const s=a48i;if(this['_inventory'][s(0x19f)](a[s(0x190)]))return this[s(0x159)][s(0x157)](s(0x1ae)+a['name']+s(0x15c)),!![];return this[s(0x159)][s(0x157)](s(0x183)+a[s(0x190)]+s(0x15c)),![];}['equip'](a){const t=a48i;if(!this[t(0x181)][t(0x173)](a[t(0x190)]))return t(0x15b)+a[t(0x190)]+t(0x1aa);if(!this[t(0x1ad)](a))return t(0x1a6)+a[t(0x190)]+'.';const b=this['determineEquipmentSlot'](a[t(0x1ab)]);if(!b)return a[t(0x190)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this['equipment'][b])return t(0x17f)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[t(0x18d)][b]=a,this[t(0x1a2)](a),t(0x1a5)+a['name']+'.';}[a48i(0x175)](a){const u=a48i;let b=a;if(!this[u(0x18d)][camelCase(b)]){b=this[u(0x18b)](a);if(!b)return u(0x17b)+a+'.';}return this[u(0x16e)](b);}[a48i(0x18b)](a){const v=a48i;switch(a['toLowerCase']()){case Category[v(0x174)][v(0x1a3)]():return v(0x198);case Category['Shield']['toLowerCase']():return'leftHand';case Category['Gloves']['toLowerCase']():return v(0x163);case Category[v(0x19e)][v(0x1a3)]():case Category['Hat'][v(0x1a3)]():return v(0x179);case Category[v(0x17a)]['toLowerCase']():return v(0x18e);case Category[v(0x191)][v(0x1a3)]():return v(0x195);case Category[v(0x170)][v(0x1a3)]():return v(0x15a);case Category['BodyArmor'][v(0x1a3)]():return v(0x193);case'weapon':return v(0x198);case'shield':return'leftHand';case v(0x163):return v(0x163);case v(0x171):case v(0x180):return v(0x179);case v(0x16b):return v(0x18e);case v(0x176):case'legarmor':return v(0x195);case v(0x19b):case v(0x177):return v(0x15a);case v(0x178):case v(0x153):case v(0x193):return'torso';default:return null;}}[a48i(0x1ad)](a){const w=a48i;return Object[w(0x182)](Category)[w(0x199)](a[w(0x1ab)]);}[a48i(0x16e)](a){const x=a48i,b=this['equipment'][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+x(0x192);return this[x(0x197)](b),this[x(0x18d)][a]=null,x(0x165)+b[x(0x190)]+'.';}[a48i(0x186)](a,b){const y=a48i;a!==this&&this[y(0x159)][y(0x152)](a[y(0x190)]+y(0x19c)+b+'\x22');}['enterRoom'](a){const z=a48i;this[z(0x196)]=a,a['on']('speak',this[z(0x186)][z(0x187)](this)),this['logger'][z(0x157)](this[z(0x190)]+z(0x160)+a[z(0x190)]);}[a48i(0x1ac)](){const A=a48i;this['_currentLocation']&&(this[A(0x196)][A(0x15d)]('speak',this[A(0x186)][A(0x187)](this)),this[A(0x159)]['write'](this['name']+A(0x15f)+this[A(0x196)][A(0x190)]));}}
1
+ const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x16e))/0x1*(parseInt(f(0x160))/0x2)+parseInt(f(0x182))/0x3+parseInt(f(0x171))/0x4+-parseInt(f(0x176))/0x5+parseInt(f(0x174))/0x6+parseInt(f(0x185))/0x7*(parseInt(f(0x194))/0x8)+parseInt(f(0x18c))/0x9*(-parseInt(f(0x14f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x5c902));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x168)]()[h(0x15e)](h(0x13d))['toString']()[h(0x145)](a48a)[h(0x15e)](h(0x13d));});a48a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a48c(){const C=['You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','canEquip','inventoryItems','LegArmor','Hat','off','head','.\x20You\x20must\x20unequip\x20it\x20first.','You\x20can\x27t\x20equip\x20','feet','apply','_maxCarryingWeight','arms','search','Failed\x20to\x20remove\x20','8974tMBmqT','enterRoom','ArmArmor','weight','write','helmet','unequipBySlot','gloves','toString','includes','\x20in\x20your\x20inventory.','bind','equip','initialEquipment','137RGmGEe','boots','leaveRoom','2559172KxkMWA','determineEquipmentSlot','hat','2193336wGQQxV','_equipment','870740gMeboR','\x20to\x20player\x27s\x20inventory.','addInventory','hear','unequip','logger','_playerName','\x20says:\x20\x22','\x20is\x20now\x20listening\x20in\x20room\x20','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','category','Helmet','1926702onBnkw','playerName','Gloves','938077oXmLmP','Boots','currentLocation','hasItem','speak','Max\x20carrying\x20weight\x20must\x20be\x20positive.','You\x20don\x27t\x20have\x20','126XsOTXS','getWeight','name','legarmor','Invalid\x20category\x20or\x20slot:\x20','maxCarryingWeight','toLowerCase','arm\x20armor','16rhbfNq','armarmor','_inventory','currentWeight','rightHand','body\x20armor','(((.+)+)+)+$','\x20slot.','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','removeItem','addItem','leftHand','\x20is\x20no\x20longer\x20listeng\x20in\x20','equipment','constructor','getInstance','torso','legs','_currentLocation','values','A\x20featureless\x20room','Nexus','bodyarmor','\x20from\x20player\x27s\x20inventory.','1412170pVeeOY','error'];a48c=function(){return C;};return a48c();}import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x13b;let f=c[d];return f;},a48d(a,b);}export class Player extends AbstractPlayer{[a48i(0x17c)];[a48i(0x149)];[a48i(0x196)];[a48i(0x175)];[a48i(0x15c)]=0x32;[a48i(0x17b)];constructor(a){const j=a48i;super(),this[j(0x17c)]=a[j(0x183)],this['_currentLocation']=a['startLocation']||new Room({'name':j(0x14c),'description':j(0x14b)}),this['_inventory']=new Inventory(),this[j(0x17b)]=Logger[j(0x146)]();if(a?.[j(0x153)])for(const b of a['inventoryItems']){this[j(0x196)][j(0x141)](b);}this[j(0x175)]=a?.[j(0x16d)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a48i(0x18e)](){return this['_playerName'];}get[a48i(0x187)](){const k=a48i;return this[k(0x149)];}set[a48i(0x187)](a){const l=a48i;this[l(0x149)]!==a&&(this[l(0x170)](),this[l(0x161)](a)),this[l(0x149)]=a;}get['inventory'](){const m=a48i;return this[m(0x196)];}get['equipment'](){const n=a48i;return this[n(0x175)];}set['equipment'](a){const o=a48i;this[o(0x175)]=a;}get[a48i(0x191)](){const p=a48i;return this[p(0x15c)];}set['maxCarryingWeight'](a){const q=a48i;a>0x0?this[q(0x15c)]=a:console[q(0x150)](q(0x18a));}get[a48i(0x197)](){const r=a48i;let a=this['_inventory'][r(0x18d)]();for(const b in this[r(0x175)]){const c=this['_equipment'][b];c&&(a+=c[r(0x163)]);}return a;}['addInventory'](a){const s=a48i;if(this[s(0x197)]+a[s(0x163)]>this['maxCarryingWeight']){this['logger'][s(0x164)](s(0x13f));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this['_inventory']['addItem'](a),this['logger'][s(0x164)]('Added\x20'+a['name']+s(0x177));}['removeInventory'](a){const t=a48i;if(this['_inventory'][t(0x140)](a[t(0x18e)]))return this[t(0x17b)][t(0x164)]('Removed\x20'+a[t(0x18e)]+t(0x14e)),!![];return this['logger'][t(0x164)](t(0x15f)+a[t(0x18e)]+t(0x14e)),![];}[a48i(0x16c)](a){const u=a48i;if(!this['_inventory'][u(0x188)](a[u(0x18e)]))return u(0x18b)+a['name']+u(0x16a);if(!this[u(0x152)](a))return u(0x159)+a[u(0x18e)]+'.';const b=this['determineEquipmentSlot'](a[u(0x180)]);if(!b)return a['name']+u(0x17f);if(this[u(0x144)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+u(0x158);return this[u(0x144)][b]=a,this['removeInventory'](a),'You\x20equipped\x20'+a[u(0x18e)]+'.';}[a48i(0x17a)](a){const v=a48i;let b=a;if(!this[v(0x144)][camelCase(b)]){b=this[v(0x172)](a);if(!b)return v(0x190)+a+'.';}return this['unequipBySlot'](b);}[a48i(0x172)](a){const w=a48i;switch(a['toLowerCase']()){case Category['Weapon'][w(0x192)]():return w(0x13b);case Category['Shield'][w(0x192)]():return w(0x142);case Category[w(0x184)][w(0x192)]():return w(0x167);case Category[w(0x181)]['toLowerCase']():case Category[w(0x155)][w(0x192)]():return w(0x157);case Category[w(0x186)][w(0x192)]():return w(0x15a);case Category[w(0x154)][w(0x192)]():return w(0x148);case Category[w(0x162)][w(0x192)]():return w(0x15d);case Category['BodyArmor']['toLowerCase']():return w(0x147);case'weapon':return w(0x13b);case'shield':return w(0x142);case w(0x167):return w(0x167);case w(0x165):case w(0x173):return w(0x157);case w(0x16f):return w(0x15a);case'leg\x20armor':case w(0x18f):return'legs';case w(0x193):case w(0x195):return'arms';case w(0x13c):case w(0x14d):case w(0x147):return'torso';default:return null;}}[a48i(0x152)](a){const x=a48i;return Object[x(0x14a)](Category)[x(0x169)](a[x(0x180)]);}[a48i(0x166)](a){const y=a48i,b=this['equipment'][a];if(!b)return y(0x151)+a+y(0x13e);return this[y(0x178)](b),this[y(0x144)][a]=null,'You\x20unequipped\x20'+b[y(0x18e)]+'.';}['hear'](a,b){const z=a48i;a!==this&&this[z(0x17b)]['log'](a[z(0x18e)]+z(0x17d)+b+'\x22');}[a48i(0x161)](a){const A=a48i;this[A(0x149)]=a,a['on'](A(0x189),this['hear'][A(0x16b)](this)),this[A(0x17b)][A(0x164)](this[A(0x18e)]+A(0x17e)+a[A(0x18e)]);}[a48i(0x170)](){const B=a48i;this['_currentLocation']&&(this['_currentLocation'][B(0x156)](B(0x189),this[B(0x179)][B(0x16b)](this)),this[B(0x17b)][B(0x164)](this['name']+B(0x143)+this[B(0x149)]['name']));}}
@@ -1 +1 @@
1
- var a49i=a49d;function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x184;var f=c[d];return f;},a49d(a,b);}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x190))/0x1*(-parseInt(f(0x18a))/0x2)+-parseInt(f(0x19c))/0x3*(parseInt(f(0x192))/0x4)+parseInt(f(0x18b))/0x5*(-parseInt(f(0x18f))/0x6)+-parseInt(f(0x191))/0x7*(parseInt(f(0x1a1))/0x8)+-parseInt(f(0x193))/0x9*(parseInt(f(0x19e))/0xa)+-parseInt(f(0x1a2))/0xb+parseInt(f(0x189))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x37dc6));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1a0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1a3)]()[h(0x198)]('(((.+)+)+)+$')[h(0x1a3)]()[h(0x185)](a49a)[h(0x198)](h(0x18e));});a49a();import{Logger}from'../utilities/logger.js';function a49c(){var n=['7qCwUcG','131264SvFdaH','2169dAihfS','requiredItem','write','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','hasItem','search','riddle','logger','successMessage','6UBaVol','Puzzle:\x20Correct\x20solution\x20provided.','9970VAmtnq','You\x20solved\x20the\x20puzzle!','apply','1988816xZpnwQ','4400748eMlnSN','toString','matchesRequiredPhrase','hasRequiredItem','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','constructor','failureMessage','requiredPhrase','solved','15061776NWjpbA','4hBHjiN','151015dGOIca','getInstance','rewardItem','(((.+)+)+)+$','54RQVSlO','100032LShrTr'];a49c=function(){return n;};return a49c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a49i(0x19a)]=Logger[a49i(0x18c)]();[a49i(0x188)]=![];['requiredItem'];['requiredPhrase'];[a49i(0x199)];['rewardItem'];[a49i(0x19b)];[a49i(0x186)];constructor(a){var j=a49i;super(),this['requiredItem']=a[j(0x194)],this[j(0x187)]=a[j(0x187)],this[j(0x199)]=a[j(0x199)],this['rewardItem']=a[j(0x18d)],this[j(0x19b)]=a[j(0x19b)]||j(0x19f),this[j(0x186)]=a['failureMessage']||j(0x196);}[a49i(0x1a5)](a){var k=a49i;if(this[k(0x194)])return a[k(0x197)](this[k(0x194)]);return![];}[a49i(0x1a4)](a){var l=a49i;return this[l(0x187)]===a;}['solve'](a,b){var m=a49i;if(this[m(0x188)])return this[m(0x19a)][m(0x195)](m(0x184)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[m(0x1a5)](b)||this[m(0x1a4)](a)?(this[m(0x188)]=!![],this[m(0x19a)]['write'](m(0x19d)),{'success':!![],'message':this[m(0x19b)]}):(this[m(0x19a)][m(0x195)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[m(0x186)]});}}
1
+ var a49h=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1ed))/0x1*(parseInt(f(0x1ec))/0x2)+parseInt(f(0x1f5))/0x3+parseInt(f(0x1e3))/0x4*(-parseInt(f(0x1da))/0x5)+-parseInt(f(0x1e1))/0x6*(-parseInt(f(0x1ef))/0x7)+parseInt(f(0x1eb))/0x8+-parseInt(f(0x1f7))/0x9*(parseInt(f(0x1dd))/0xa)+parseInt(f(0x1e8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x87ca7));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0x1f4)]()[g(0x1e2)](g(0x1ee))['toString']()[g(0x1f2)](a49a)['search'](g(0x1ee));});a49a();function a49c(){var m=['failureMessage','hasItem','1165760gqyBTi','1062zEIgyA','947mKvgyO','(((.+)+)+)+$','7IycgJq','solve','solved','constructor','successMessage','toString','3082842KmdJoe','hasRequiredItem','5288967scoNzy','logger','rewardItem','getInstance','8895YYjZaQ','riddle','matchesRequiredPhrase','10jhZagP','You\x20have\x20already\x20solved\x20this\x20puzzle.','You\x20solved\x20the\x20puzzle!','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','2894184CVJByh','search','2056VIzgmb','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','requiredPhrase','requiredItem','write','9959697MgDzjP'];a49c=function(){return m;};return a49c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1d7;var f=c[d];return f;},a49d(a,b);}export class Puzzle extends AbstractPuzzle{[a49h(0x1d7)]=Logger[a49h(0x1d9)]();[a49h(0x1f1)]=![];['requiredItem'];[a49h(0x1e5)];[a49h(0x1db)];[a49h(0x1d8)];[a49h(0x1f3)];['failureMessage'];constructor(a){var i=a49h;super(),this[i(0x1e6)]=a['requiredItem'],this[i(0x1e5)]=a['requiredPhrase'],this['riddle']=a[i(0x1db)],this['rewardItem']=a[i(0x1d8)],this['successMessage']=a[i(0x1f3)]||i(0x1df),this[i(0x1e9)]=a[i(0x1e9)]||i(0x1e0);}[a49h(0x1f6)](a){var j=a49h;if(this['requiredItem'])return a[j(0x1ea)](this['requiredItem']);return![];}[a49h(0x1dc)](a){var k=a49h;return this[k(0x1e5)]===a;}[a49h(0x1f0)](a,b){var l=a49h;if(this[l(0x1f1)])return this['logger'][l(0x1e7)](l(0x1e4)),{'success':![],'message':l(0x1de)};return this[l(0x1f6)](b)||this[l(0x1dc)](a)?(this[l(0x1f1)]=!![],this[l(0x1d7)][l(0x1e7)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this['successMessage']}):(this['logger'][l(0x1e7)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[l(0x1e9)]});}}
@@ -1 +1 @@
1
- const a50i=a50d;function a50c(){const u=['Item\x20removed\x20from\x20room\x20','attemptUnlock','west','addExit','220682GUDtxU','attemptUnlockExit','logger','checkIfLocked','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','roomType','findExistingDoor','riddle','isExitLocked','getOppositeDirection','isStartRoom','toString','roomB','4103090ERtvXd','apply','\x20remains\x20locked.','search','1742772qPayIw','Invalid\x20direction:\x20','north','Puzzle\x20set\x20for\x20room\x20','Room\x20created:\x20','3392KxRDmR','WEST','\x20unlocked!','(((.+)+)+)+$','constructor','getExit','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','No\x20locked\x20exit\x20found\x20in\x20direction\x20','inventory','set','NORTH','Fetching\x20exit\x20in\x20direction:\x20','name','\x20is\x20locked.\x20Result:\x20','The\x20','2380914CgMMja','speak','setPuzzle','addItem','description','72mMPGIi','get','write','2198zhrkcR','removeItem','down','EAST','getInstance','emit','16TlGyAs','33390YRhCFp','puzzle','exits','139752zRmFBD','SOUTH','Item\x20added\x20to\x20room\x20','DOWN','say','Checking\x20if\x20exit\x20in\x20direction\x20','roomA','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.'];a50c=function(){return u;};return a50c();}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x1fe))/0x1+parseInt(f(0x1ee))/0x2*(parseInt(f(0x1f2))/0x3)+-parseInt(f(0x1e5))/0x4*(parseInt(f(0x1ef))/0x5)+-parseInt(f(0x1cc))/0x6+-parseInt(f(0x1e8))/0x7*(parseInt(f(0x1d1))/0x8)+-parseInt(f(0x1e0))/0x9+parseInt(f(0x1c8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x2faf3));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x1c6)]()[h(0x1cb)](h(0x1d4))[h(0x1c6)]()[h(0x1d5)](a50a)[h(0x1cb)](h(0x1d4));});a50a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a50d(a,b);}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a50i(0x200)]=Logger[a50i(0x1ec)]();[a50i(0x1dd)];[a50i(0x1e4)];[a50i(0x1f1)]=new Map();[a50i(0x203)];[a50i(0x1c5)];['inventory']=new Inventory();constructor(a){const j=a50i;super(),this[j(0x1dd)]=a[j(0x1dd)],this[j(0x1e4)]=a[j(0x1e4)],this[j(0x203)]=a[j(0x203)]||RoomType['INSIDE'],a[j(0x1f1)]&&(this[j(0x1f1)]=a[j(0x1f1)]||new Map()),a['inventory']&&(this[j(0x1d9)]=a['inventory']),a[j(0x1f0)]&&(this[j(0x1f0)]=a[j(0x1f0)]),this[j(0x1c5)]=a[j(0x1c5)]||![],this['logger'][j(0x1e7)](j(0x1d0)+this[j(0x1dd)]);}[a50i(0x1f6)](a,b){const k=a50i;this[k(0x1ed)](k(0x1e1),a,b);}[a50i(0x1fd)](a,b,c){const l=a50i;let d=this[l(0x204)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1f1)][l(0x1da)](a,d),b['exits'][l(0x1da)](this[l(0x1c4)](a),d);}[a50i(0x1ff)](a,b){const m=a50i,c=this[m(0x1f1)][m(0x1e6)](a);if(c instanceof Door){const d=c[m(0x1fb)](b);return this[m(0x200)][m(0x1e7)](m(0x202)+a+'.\x20Success:\x20'+d),d?m(0x1df)+c[m(0x1dd)]+m(0x1d3):m(0x1df)+c['name']+m(0x1ca);}return this[m(0x200)]['write'](m(0x1d8)+a),m(0x1f9);}[a50i(0x1d6)](a){const n=a50i;return this[n(0x200)]['write'](n(0x1dc)+a),this[n(0x1f1)][n(0x1e6)](a);}[a50i(0x206)](a){const o=a50i,b=this['exits'][o(0x1e6)](a),c=b instanceof Door&&b[o(0x201)]();return this[o(0x200)][o(0x1e7)](o(0x1f7)+a+o(0x1de)+c),c;}[a50i(0x1e3)](a){const p=a50i;this['inventory'][p(0x1e3)](a),this[p(0x200)][p(0x1e7)](p(0x1f4)+this[p(0x1dd)]+':\x20'+a[p(0x1dd)]);}[a50i(0x1e9)](a){const q=a50i;this['inventory']['hasItem'](a[q(0x1dd)])?(this[q(0x1d9)][q(0x1e9)](a[q(0x1dd)]),this[q(0x200)]['write'](q(0x1fa)+this[q(0x1dd)]+':\x20'+a[q(0x1dd)])):this[q(0x200)][q(0x1e7)](q(0x1d7)+this[q(0x1dd)]+':\x20'+a['name']);}[a50i(0x1e2)](a){const r=a50i;this[r(0x1f0)]=a,this[r(0x200)]['write'](r(0x1cf)+this[r(0x1dd)]+':\x20'+a[r(0x205)]);}[a50i(0x1c4)](a){const s=a50i;switch(a){case s(0x1ce):return Direction[s(0x1f3)];case'south':return Direction[s(0x1db)];case'east':return Direction[s(0x1d2)];case s(0x1fc):return Direction[s(0x1eb)];case'up':return Direction[s(0x1f5)];case s(0x1ea):return Direction['UP'];default:throw new Error(s(0x1cd)+a);}}['findExistingDoor'](a){const t=a50i;for(const b of this[t(0x1f1)]['values']()){if(b instanceof Door){if(b[t(0x1f8)]===this&&b[t(0x1c7)]===a||b[t(0x1c7)]===this&&b[t(0x1f8)]===a)return b;}}return undefined;}}
1
+ const a50h=a50d;function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xef;let f=c[d];return f;},a50d(a,b);}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0xf1))/0x1+-parseInt(f(0x124))/0x2*(parseInt(f(0x11e))/0x3)+parseInt(f(0x11c))/0x4+-parseInt(f(0xf3))/0x5+-parseInt(f(0x119))/0x6*(-parseInt(f(0x10e))/0x7)+-parseInt(f(0x11b))/0x8*(-parseInt(f(0x117))/0x9)+-parseInt(f(0x101))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xb137f));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['toString']()['search'](g(0xfd))[g(0x11d)]()['constructor'](a50a)[g(0x126)]('(((.+)+)+)+$');});a50a();import{Logger}from'../utilities/logger.js';function a50c(){const t=['No\x20locked\x20exit\x20found\x20in\x20direction\x20','6ejCpRG','NORTH','5834360ZeSLem','3591228aXzCqH','toString','9GUiweT','addItem','\x20is\x20locked.\x20Result:\x20','south','set','findExistingDoor','220622exHXrx','setPuzzle','search','getExit','Item\x20added\x20to\x20room\x20','exits','riddle','114870YDkTLn','roomB','2371475LUKOju','hasItem','roomType','emit','removeItem','speak','north','get','SOUTH','Checking\x20if\x20exit\x20in\x20direction\x20','(((.+)+)+)+$','attemptUnlockExit','west','WEST','70180BwJHIf','Puzzle\x20set\x20for\x20room\x20','write','values','roomA','puzzle','isStartRoom','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','name','description','Room\x20created:\x20','getOppositeDirection','logger','181307fnUPoA','inventory','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','Invalid\x20direction:\x20','isExitLocked','The\x20','east','down','Item\x20removed\x20from\x20room\x20','9qZuMPZ'];a50c=function(){return t;};return a50c();}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger['getInstance']();['name'];[a50h(0x10a)];[a50h(0xef)]=new Map();['roomType'];[a50h(0x107)];[a50h(0x10f)]=new Inventory();constructor(a){const i=a50h;super(),this['name']=a['name'],this[i(0x10a)]=a['description'],this[i(0xf5)]=a['roomType']||RoomType['INSIDE'],a['exits']&&(this[i(0xef)]=a[i(0xef)]||new Map()),a[i(0x10f)]&&(this[i(0x10f)]=a[i(0x10f)]),a[i(0x106)]&&(this[i(0x106)]=a[i(0x106)]),this[i(0x107)]=a[i(0x107)]||![],this[i(0x10d)][i(0x103)](i(0x10b)+this[i(0x109)]);}['say'](a,b){const j=a50h;this[j(0xf6)](j(0xf8),a,b);}['addExit'](a,b,c){const k=a50h;let d=this[k(0x123)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0xef)][k(0x122)](a,d),b[k(0xef)]['set'](this[k(0x10c)](a),d);}[a50h(0xfe)](a,b){const l=a50h,c=this[l(0xef)][l(0xfa)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[l(0x10d)][l(0x103)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+'.\x20Success:\x20'+d),d?l(0x113)+c[l(0x109)]+'\x20unlocked!':'The\x20'+c[l(0x109)]+'\x20remains\x20locked.';}return this[l(0x10d)][l(0x103)](l(0x118)+a),l(0x110);}[a50h(0x127)](a){const m=a50h;return this[m(0x10d)][m(0x103)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this['exits']['get'](a);}[a50h(0x112)](a){const n=a50h,b=this[n(0xef)][n(0xfa)](a),c=b instanceof Door&&b['checkIfLocked']();return this[n(0x10d)][n(0x103)](n(0xfc)+a+n(0x120)+c),c;}[a50h(0x11f)](a){const o=a50h;this[o(0x10f)][o(0x11f)](a),this[o(0x10d)][o(0x103)](o(0x128)+this[o(0x109)]+':\x20'+a[o(0x109)]);}['removeItem'](a){const p=a50h;this['inventory'][p(0xf4)](a[p(0x109)])?(this['inventory'][p(0xf7)](a['name']),this[p(0x10d)][p(0x103)](p(0x116)+this[p(0x109)]+':\x20'+a[p(0x109)])):this[p(0x10d)]['write'](p(0x108)+this[p(0x109)]+':\x20'+a[p(0x109)]);}[a50h(0x125)](a){const q=a50h;this['puzzle']=a,this[q(0x10d)][q(0x103)](q(0x102)+this[q(0x109)]+':\x20'+a[q(0xf0)]);}[a50h(0x10c)](a){const r=a50h;switch(a){case r(0xf9):return Direction[r(0xfb)];case r(0x121):return Direction[r(0x11a)];case r(0x114):return Direction[r(0x100)];case r(0xff):return Direction['EAST'];case'up':return Direction['DOWN'];case r(0x115):return Direction['UP'];default:throw new Error(r(0x111)+a);}}[a50h(0x123)](a){const s=a50h;for(const b of this['exits'][s(0x104)]()){if(b instanceof Door){if(b[s(0x105)]===this&&b[s(0xf2)]===a||b[s(0xf2)]===this&&b[s(0x105)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a51l=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a51d(a,b);}(function(a,b){const i=a51d,c=a();while(!![]){try{const d=parseInt(i(0x1fb))/0x1+parseInt(i(0x1dc))/0x2*(-parseInt(i(0x1d6))/0x3)+-parseInt(i(0x1da))/0x4+-parseInt(i(0x1ec))/0x5+parseInt(i(0x1e8))/0x6*(-parseInt(i(0x1c9))/0x7)+parseInt(i(0x201))/0x8*(parseInt(i(0x1f5))/0x9)+parseInt(i(0x20c))/0xa*(parseInt(i(0x1f6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x53fa3));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a[k(0x1e0)]()['search']('(((.+)+)+)+$')[k(0x1e0)]()[k(0x1fe)](a51a)[k(0x1f1)](k(0x1c5));});a51a();import{Logger}from'../utilities/logger.js';function a51c(){const D=['770635nUJVZb','apply','keys','actors','toUpperCase','search','connectRooms','logger','name','783TfMbbf','20845LxyzNt','isStartRoom','get','Failed\x20to\x20set\x20','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','540419HnjCiu','exits','addActor','constructor','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','20936vQjZrU','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','initialize','write','generateRoomsFromConfig','getActor','join','\x20is\x20now\x20in\x20room\x20','roomFactory','\x20found\x20in\x20the\x20scene.','getInstance','3260kfpSaA','from','.\x20Room\x20','Removed\x20room\x20from\x20scene:\x20','addPuzzleToRoom','getPlayer','targetRoom','determineStartRoom','(((.+)+)+)+$','rooms','Room\x20\x22','player','703423ujAanG','roomConfiguration','\x20already\x20exists\x20in\x20the\x20scene.','addItem','Failed\x20to\x20add\x20puzzle.\x20Room\x20','addExit','addRoom','characterLocations','length','currentLocation','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','allActors','warn','117axTwZT','hasOwnProperty','createRoom','set','2110944ERvMcO','setPuzzle','13310AsCVho','Added\x20item\x20','addItemToRoom','\x22\x20does\x20not\x20exist.','toString','push','createExitsFromConfig','removeRoom','\x20to\x20room\x20','has','values','\x20not\x20found\x20in\x20scene.','6HWJuZu','getCharacterLocation','Actor\x20with\x20name\x20','Added\x20puzzle\x20to\x20room\x20'];a51c=function(){return D;};return a51c();}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a51l(0x1c6)];[a51l(0x1c8)];[a51l(0x1f3)];['actors'];[a51l(0x1d0)]=new Map();[a51l(0x209)];constructor(a){const m=a51l;super(),this[m(0x209)]=new RoomFactory(),this[m(0x1c8)]=a[m(0x1c8)],this['rooms']=this[m(0x205)](a[m(0x1ca)]),this[m(0x1f3)]=Logger[m(0x20b)](),this[m(0x1ef)]=new Map(),this[m(0x1e2)](a['roomConfiguration']),this[m(0x1f3)][m(0x204)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x1ee)](this[m(0x1c6)])[m(0x207)](',\x20'));}[a51l(0x203)](){const n=a51l;this[n(0x1c8)][n(0x1d2)]=this[n(0x1c4)]();}[a51l(0x205)](a){const o=a51l;if(!this[o(0x209)])throw new Error(o(0x1fa));const b={};for(const c of a){const d=this['roomFactory'][o(0x1d8)](c);b[c[o(0x1f4)]]=d;}return b;}['createExitsFromConfig'](a){const p=a51l;for(const b of a){const c=this[p(0x1c6)][b['name']];if(b[p(0x1fc)])for(const d of b['exits']){const e=d['direction'][p(0x1f0)](),f=d[p(0x1c3)],g=d['keyRequired'],h=this[p(0x1c6)][f];h&&c[p(0x1ce)](Direction[e],h,g);}}}[a51l(0x1fd)](a){const q=a51l;if(this[q(0x1ef)][q(0x1e5)](a['name']))throw new Error(q(0x1ea)+a[q(0x1f4)]+q(0x1cb));this[q(0x1ef)][q(0x1d9)](a[q(0x1f4)],a);}['removeActor'](a){const r=a51l;if(!this['actors']['has'](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x20a));this['actors']['delete'](a);}[a51l(0x206)](a){return this['actors']['get'](a);}get[a51l(0x1d4)](){const s=a51l;return Array[s(0x20d)](this[s(0x1ef)][s(0x1e6)]());}[a51l(0x1cf)](a){const t=a51l;this[t(0x1c6)][a[t(0x1f4)]]=a,this[t(0x1f3)][t(0x204)]('Added\x20room\x20to\x20scene:\x20'+a['name']);}[a51l(0x1e3)](a){const u=a51l;return this[u(0x1c6)][a]?(delete this[u(0x1c6)][a],this[u(0x1f3)]['write'](u(0x20f)+a),!![]):(this[u(0x1f3)][u(0x204)](u(0x1ff)+a),![]);}[a51l(0x1de)](a,b){const v=a51l,c=this['rooms'][b];c?(c[v(0x1cc)](a),this[v(0x1f3)][v(0x204)](v(0x1dd)+a[v(0x1f4)]+v(0x1e4)+c[v(0x1f4)])):this[v(0x1f3)][v(0x204)]('Failed\x20to\x20add\x20item\x20'+a[v(0x1f4)]+v(0x20e)+b+v(0x1e7));}[a51l(0x210)](a,b){const w=a51l,c=this[w(0x1c6)][b];c?(c[w(0x1db)](a),this[w(0x1f3)][w(0x204)](w(0x1eb)+c[w(0x1f4)])):this['logger'][w(0x204)](w(0x1cd)+b+w(0x1e7));}['setCharacterLocation'](a,b){const x=a51l,c=this[x(0x1c6)][b];c?(this[x(0x1d0)]['set'](a['name'],c),this[x(0x1f3)][x(0x204)](a[x(0x1f4)]+x(0x208)+c[x(0x1f4)])):this[x(0x1f3)][x(0x204)](x(0x1f9)+a['name']+'\x27s\x20location.\x20Room\x20'+b+x(0x1e7));}[a51l(0x1e9)](a){const y=a51l;return this[y(0x1d0)][y(0x1f8)](a['name']);}[a51l(0x1c4)](){const z=a51l,a=[];for(const c in this[z(0x1c6)]){if(this[z(0x1c6)][z(0x1d7)](c)){const d=this[z(0x1c6)][c];d[z(0x1f7)]&&a[z(0x1e1)](d);}}if(a['length']>0x1)throw new Error(z(0x200));if(a[z(0x1d1)]===0x1)return a[0x0];const b=Object['keys'](this[z(0x1c6)]);if(b[z(0x1d1)]===0x0)throw new Error(z(0x202));return console[z(0x1d5)](z(0x1d3)),this[z(0x1c6)][b[0x0]];}[a51l(0x1c2)](){const A=a51l;return this[A(0x1c8)];}['getRooms'](){const B=a51l;return this[B(0x1c6)];}[a51l(0x1f2)](a,b,c,d){const C=a51l,e=this[C(0x1c6)][a],f=this[C(0x1c6)][c];if(!e)throw new Error('Room\x20\x22'+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(C(0x1c7)+c+C(0x1df));e[C(0x1ce)](b,f,d);}}
1
+ const a51l=a51d;(function(a,b){const i=a51d,c=a();while(!![]){try{const d=parseInt(i(0xd5))/0x1*(-parseInt(i(0xe1))/0x2)+parseInt(i(0x104))/0x3*(-parseInt(i(0x117))/0x4)+-parseInt(i(0x10c))/0x5*(-parseInt(i(0xda))/0x6)+parseInt(i(0xe4))/0x7+-parseInt(i(0x115))/0x8*(-parseInt(i(0xe9))/0x9)+-parseInt(i(0x119))/0xa+parseInt(i(0x11d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x90fc7));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a51d;if(c){const e=c[j(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const k=a51d;return a51a[k(0xfd)]()[k(0x105)](k(0x11a))[k(0xfd)]()[k(0x107)](a51a)[k(0x105)](k(0x11a));});a51a();function a51c(){const E=['roomConfiguration','isStartRoom','Actor\x20with\x20name\x20','\x20is\x20now\x20in\x20room\x20','connectRooms','toString','generateRoomsFromConfig','Failed\x20to\x20set\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','allActors','logger','player','13821iixIgf','search','\x22\x20does\x20not\x20exist.','constructor','actors','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','getActor','\x20to\x20room\x20','15ZzeiVN','removeActor','exits','getRooms','setCharacterLocation','set','removeRoom','targetRoom','get','8hWFocX','No\x20actor\x20with\x20name\x20','808oFkzCg','roomFactory','8478120rRHZrJ','(((.+)+)+)+$','Added\x20puzzle\x20to\x20room\x20','characterLocations','13345827gPinmb','857909qkhXEP','setPuzzle','\x27s\x20location.\x20Room\x20','Added\x20room\x20to\x20scene:\x20','Failed\x20to\x20add\x20puzzle.\x20Room\x20','723396lWsxHy','push','getPlayer','\x20already\x20exists\x20in\x20the\x20scene.','determineStartRoom','Scene\x20initialized\x20with\x20rooms:\x20','currentLocation','2vQWAbg','has','rooms','6844712cyqWjz','createExitsFromConfig','delete','.\x20Room\x20','hasOwnProperty','6096843IiVkgn','apply','join','initialize','length','write','Room\x20\x22','addItemToRoom','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','name','createRoom','from','\x20not\x20found\x20in\x20scene.','Added\x20item\x20','addItem'];a51c=function(){return E;};return a51c();}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xd5;let f=c[d];return f;},a51d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a51l(0xe3)];[a51l(0x103)];[a51l(0x102)];['actors'];['characterLocations']=new Map();[a51l(0x118)];constructor(a){const m=a51l;super(),this[m(0x118)]=new RoomFactory(),this['player']=a[m(0x103)],this[m(0xe3)]=this[m(0xfe)](a[m(0xf8)]),this[m(0x102)]=Logger['getInstance'](),this[m(0x108)]=new Map(),this[m(0xe5)](a[m(0xf8)]),this['logger'][m(0xee)](m(0xdf)+Object['keys'](this[m(0xe3)])[m(0xeb)](',\x20'));}[a51l(0xec)](){const n=a51l;this['player'][n(0xe0)]=this['determineStartRoom']();}[a51l(0xfe)](a){const o=a51l;if(!this[o(0x118)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this['roomFactory'][o(0xf3)](c);b[c['name']]=d;}return b;}['createExitsFromConfig'](a){const p=a51l;for(const b of a){const c=this[p(0xe3)][b[p(0xf2)]];if(b[p(0x10e)])for(const d of b[p(0x10e)]){const e=d['direction']['toUpperCase'](),f=d[p(0x113)],g=d['keyRequired'],h=this[p(0xe3)][f];h&&c['addExit'](Direction[e],h,g);}}}['addActor'](a){const q=a51l;if(this[q(0x108)][q(0xe2)](a[q(0xf2)]))throw new Error(q(0xfa)+a[q(0xf2)]+q(0xdd));this[q(0x108)]['set'](a[q(0xf2)],a);}[a51l(0x10d)](a){const r=a51l;if(!this[r(0x108)]['has'](a))throw new Error(r(0x116)+a+'\x20found\x20in\x20the\x20scene.');this[r(0x108)][r(0xe6)](a);}[a51l(0x10a)](a){const s=a51l;return this[s(0x108)][s(0x114)](a);}get[a51l(0x101)](){const t=a51l;return Array[t(0xf4)](this[t(0x108)]['values']());}['addRoom'](a){const u=a51l;this[u(0xe3)][a[u(0xf2)]]=a,this[u(0x102)][u(0xee)](u(0xd8)+a['name']);}[a51l(0x112)](a){const v=a51l;return this[v(0xe3)][a]?(delete this[v(0xe3)][a],this[v(0x102)][v(0xee)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0x102)][v(0xee)](v(0xf1)+a),![]);}[a51l(0xf0)](a,b){const w=a51l,c=this[w(0xe3)][b];c?(c[w(0xf7)](a),this[w(0x102)][w(0xee)](w(0xf6)+a[w(0xf2)]+w(0x10b)+c[w(0xf2)])):this[w(0x102)][w(0xee)]('Failed\x20to\x20add\x20item\x20'+a[w(0xf2)]+w(0xe7)+b+w(0xf5));}['addPuzzleToRoom'](a,b){const x=a51l,c=this[x(0xe3)][b];c?(c[x(0xd6)](a),this[x(0x102)][x(0xee)](x(0x11b)+c['name'])):this['logger'][x(0xee)](x(0xd9)+b+'\x20not\x20found\x20in\x20scene.');}[a51l(0x110)](a,b){const y=a51l,c=this[y(0xe3)][b];c?(this[y(0x11c)][y(0x111)](a[y(0xf2)],c),this['logger'][y(0xee)](a['name']+y(0xfb)+c[y(0xf2)])):this[y(0x102)][y(0xee)](y(0xff)+a['name']+y(0xd7)+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const z=a51l;return this[z(0x11c)]['get'](a['name']);}[a51l(0xde)](){const A=a51l,a=[];for(const c in this['rooms']){if(this[A(0xe3)][A(0xe8)](c)){const d=this['rooms'][c];d[A(0xf9)]&&a[A(0xdb)](d);}}if(a[A(0xed)]>0x1)throw new Error(A(0x109));if(a['length']===0x1)return a[0x0];const b=Object['keys'](this[A(0xe3)]);if(b[A(0xed)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console['warn'](A(0x100)),this[A(0xe3)][b[0x0]];}[a51l(0xdc)](){const B=a51l;return this[B(0x103)];}[a51l(0x10f)](){const C=a51l;return this[C(0xe3)];}[a51l(0xfc)](a,b,c,d){const D=a51l,e=this['rooms'][a],f=this[D(0xe3)][c];if(!e)throw new Error(D(0xef)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(D(0xef)+c+D(0x106));e['addExit'](b,f,d);}}
@@ -1 +1 @@
1
- var a52j=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x1f1))/0x1*(parseInt(f(0x20d))/0x2)+-parseInt(f(0x1eb))/0x3+-parseInt(f(0x1e6))/0x4+parseInt(f(0x214))/0x5*(-parseInt(f(0x1fe))/0x6)+parseInt(f(0x1f0))/0x7+parseInt(f(0x1e3))/0x8+parseInt(f(0x1f2))/0x9*(parseInt(f(0x206))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x62475));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x20f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1f8)]()[h(0x1f9)](h(0x201))[h(0x1f8)]()[h(0x1f3)](a52a)[h(0x1f9)](h(0x201));});a52a();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=a52d;super({'name':a,'description':b,'size':Size[i(0x1e8)],'category':Category[i(0x205)],'shape':Shape[i(0x1ef)],'color':Color[i(0x1e9)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x1});}[a52j(0x1fd)](){return this['description'];}}export class Sword extends Item{constructor(a,b){var k=a52j;super({'name':a,'description':b,'size':Size[k(0x1e8)],'category':Category['Weapon'],'shape':Shape[k(0x20b)],'color':Color[k(0x207)],'texture':Texture[k(0x1f7)],'rating':Rating[k(0x212)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a52j;super({'name':a,'description':b,'size':Size[l(0x203)],'category':Category['Weapon'],'shape':Shape[l(0x213)],'color':Color[l(0x200)],'texture':Texture[l(0x1f7)],'rating':Rating[l(0x1f6)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a52j;super({'name':a,'description':b,'size':Size[m(0x1e8)],'category':Category['Helmet'],'shape':Shape['Circle'],'color':Color[m(0x207)],'texture':Texture[m(0x1f7)],'rating':Rating[m(0x212)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a52j;super({'name':a,'description':b,'size':Size[n(0x203)],'category':Category[n(0x1e2)],'shape':Shape[n(0x1ef)],'color':Color[n(0x207)],'texture':Texture['Metallic'],'rating':Rating[n(0x212)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[o(0x1ee)],'shape':Shape['Rectangle'],'color':Color[o(0x207)],'texture':Texture[o(0x1f7)],'rating':Rating[o(0x212)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a52j;super({'name':a,'description':b,'size':Size[p(0x1e8)],'category':Category[p(0x1e4)],'shape':Shape['Circle'],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a52j;super({'name':a,'description':b,'size':Size[q(0x1f4)],'category':Category['Gloves'],'shape':Shape[q(0x1ea)],'color':Color['Brown'],'texture':Texture[q(0x1fa)],'rating':Rating[q(0x212)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a52j;super({'name':a,'description':b,'size':Size[r(0x1e8)],'category':Category[r(0x1ff)],'shape':Shape[r(0x1ef)],'color':Color[r(0x207)],'texture':Texture['Metallic'],'rating':Rating[r(0x212)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a52j;super({'name':a,'description':b,'size':Size[s(0x1f5)],'category':Category[s(0x1ec)],'shape':Shape[s(0x1ef)],'color':Color[s(0x1e9)],'texture':Texture['Smooth'],'rating':Rating[s(0x212)],'weight':0x0});}['use'](){var t=a52j;return t(0x210);}}export class Weapon extends Item{constructor(a,b){var u=a52j;super({'name':a,'description':b,'size':Size[u(0x1e8)],'category':Category[u(0x1fc)],'shape':Shape[u(0x20b)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[u(0x212)],'weight':0x3});}['use'](){var v=a52j;return v(0x1fb);}}export class Book extends Item{['author'];[a52j(0x202)];['pageCount'];constructor(a,b=a52j(0x1e7),c=a52j(0x20c)){var w=a52j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[w(0x20e)],'shape':Shape[w(0x1ef)],'color':Color[w(0x200)],'texture':Texture[w(0x1fa)],'rating':Rating[w(0x212)],'weight':0x1}),this[w(0x20a)]=c,this[w(0x202)]=new Date(),this[w(0x208)]=0x64;}[a52j(0x1fd)](){var x=a52j;return x(0x215);}}function a52c(){var C=['Grey','pageCount','Short\x20Sword','author','Blade','Unknown\x20Author','4NKpaxX','Book','apply','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Holy\x20Grail','Common','Rifle','5FhBNAk','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Legendary','BodyArmor','5922448WWEHso','Boots','Cup','2111468AmFQMX','A\x20mysterious\x20book.','Medium','Yellow','Circle','2109783yRpAbk','Key','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','LegArmor','Rectangle','509614SdohPR','356266dmWrGk','66726GaHShe','constructor','Small','Tiny','Rare','Metallic','toString','search','Smooth','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Weapon','use','2510142MSFwCI','ArmArmor','Brown','(((.+)+)+)+$','publishDate','Large','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Unknown','710WJbRCj'];a52c=function(){return C;};return a52c();}export class ShortSword extends Item{constructor(){var y=a52j;super({'name':y(0x209),'description':y(0x1ed),'size':Size[y(0x1e8)],'category':Category[y(0x1fc)],'shape':Shape[y(0x20b)],'color':Color[y(0x207)],'texture':Texture[y(0x1f7)],'rating':Rating[y(0x212)],'weight':0x3});}[a52j(0x1fd)](){var z=a52j;return z(0x1fb);}}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1e2;var f=c[d];return f;},a52d(a,b);}export class SniperRifle extends Item{constructor(){var A=a52j;super({'name':'Sniper\x20Rifle','description':A(0x204),'size':Size['Large'],'category':Category['Weapon'],'shape':Shape[A(0x213)],'color':Color[A(0x200)],'texture':Texture[A(0x1fa)],'rating':Rating[A(0x212)],'weight':0x5});}[a52j(0x1fd)](){return'You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22';}}export class HolyGrail extends Item{constructor(){var B=a52j;super({'name':B(0x211),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[B(0x1f4)],'category':Category[B(0x1e5)],'shape':Shape[B(0x1ea)],'color':Color['Gold'],'texture':Texture[B(0x1f7)],'rating':Rating[B(0x216)],'weight':0x1});}[a52j(0x1fd)](){return'You\x20hold\x20the\x20'+this['name']+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}
1
+ var a52s=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x134))/0x1+parseInt(f(0x14e))/0x2*(-parseInt(f(0x13f))/0x3)+-parseInt(f(0x120))/0x4+-parseInt(f(0x133))/0x5*(-parseInt(f(0x130))/0x6)+-parseInt(f(0x131))/0x7*(parseInt(f(0x12d))/0x8)+parseInt(f(0x136))/0x9+-parseInt(f(0x11d))/0xa*(-parseInt(f(0x13d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x8c6dc));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var g=a52d;return a52a['toString']()[g(0x127)](g(0x132))['toString']()[g(0x14c)](a52a)[g(0x127)](g(0x132));});a52a();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=a52d;super({'name':a,'description':b,'size':Size[h(0x12e)],'category':Category['Unknown'],'shape':Shape[h(0x146)],'color':Color[h(0x12c)],'texture':Texture[h(0x11c)],'rating':Rating[h(0x12f)],'weight':0x1});}['use'](){var i=a52d;return this[i(0x145)];}}export class Sword extends Item{constructor(a,b){var j=a52d;super({'name':a,'description':b,'size':Size[j(0x12e)],'category':Category[j(0x13b)],'shape':Shape['Blade'],'color':Color[j(0x14b)],'texture':Texture[j(0x123)],'rating':Rating[j(0x12f)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var k=a52d;super({'name':a,'description':b,'size':Size[k(0x12a)],'category':Category[k(0x13b)],'shape':Shape[k(0x137)],'color':Color[k(0x13c)],'texture':Texture['Metallic'],'rating':Rating[k(0x148)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var l=a52d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Helmet'],'shape':Shape[l(0x142)],'color':Color[l(0x14b)],'texture':Texture[l(0x123)],'rating':Rating[l(0x12f)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var m=a52d;super({'name':a,'description':b,'size':Size[m(0x12a)],'category':Category[m(0x150)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[m(0x123)],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var n=a52d;super({'name':a,'description':b,'size':Size[n(0x12e)],'category':Category[n(0x11f)],'shape':Shape[n(0x146)],'color':Color['Grey'],'texture':Texture[n(0x123)],'rating':Rating[n(0x12f)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var o=a52d;super({'name':a,'description':b,'size':Size[o(0x12e)],'category':Category[o(0x144)],'shape':Shape[o(0x142)],'color':Color['Brown'],'texture':Texture[o(0x11c)],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var p=a52d;super({'name':a,'description':b,'size':Size[p(0x14f)],'category':Category[p(0x13e)],'shape':Shape[p(0x142)],'color':Color['Brown'],'texture':Texture[p(0x11c)],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var q=a52d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['ArmArmor'],'shape':Shape[q(0x146)],'color':Color[q(0x14b)],'texture':Texture[q(0x123)],'rating':Rating[q(0x12f)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var r=a52d;super({'name':a,'description':b,'size':Size[r(0x11e)],'category':Category[r(0x128)],'shape':Shape[r(0x146)],'color':Color[r(0x12c)],'texture':Texture[r(0x11c)],'rating':Rating[r(0x12f)],'weight':0x0});}[a52s(0x125)](){var t=a52s;return t(0x12b);}}export class Weapon extends Item{constructor(a,b){var u=a52s;super({'name':a,'description':b,'size':Size[u(0x12e)],'category':Category[u(0x13b)],'shape':Shape[u(0x129)],'color':Color[u(0x14b)],'texture':Texture['Metallic'],'rating':Rating[u(0x12f)],'weight':0x3});}[a52s(0x125)](){var v=a52s;return v(0x143);}}export class Book extends Item{['author'];[a52s(0x135)];['pageCount'];constructor(a,b=a52s(0x149),c=a52s(0x121)){var w=a52s;super({'name':a,'description':b,'size':Size[w(0x12e)],'category':Category['Book'],'shape':Shape['Rectangle'],'color':Color['Brown'],'texture':Texture[w(0x11c)],'rating':Rating[w(0x12f)],'weight':0x1}),this[w(0x122)]=c,this[w(0x135)]=new Date(),this['pageCount']=0x64;}[a52s(0x125)](){var x=a52s;return x(0x14d);}}export class ShortSword extends Item{constructor(){var y=a52s;super({'name':y(0x126),'description':'A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','size':Size[y(0x12e)],'category':Category[y(0x13b)],'shape':Shape['Blade'],'color':Color[y(0x14b)],'texture':Texture['Metallic'],'rating':Rating[y(0x12f)],'weight':0x3});}[a52s(0x125)](){var z=a52s;return z(0x143);}}function a52c(){var E=['A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Weapon','Brown','3817eQsdPV','Gloves','79038cpRsFT','Gold','Cup','Circle','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Boots','description','Rectangle','Holy\x20Grail','Rare','A\x20mysterious\x20book.','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Grey','constructor','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','18bvPIgj','Small','BodyArmor','Smooth','10180UofUbP','Tiny','LegArmor','4095020aWFulZ','Unknown\x20Author','author','Metallic','\x20aloft,\x20feeling\x20its\x20immense\x20power.','use','Short\x20Sword','search','Key','Blade','Large','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Yellow','112mvYbtf','Medium','Common','258jToQnq','431963xlqpwE','(((.+)+)+)+$','111530FqWMQm','434894hYCwyQ','publishDate','8574237QCIZgL','Rifle','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','You\x20hold\x20the\x20'];a52c=function(){return E;};return a52c();}export class SniperRifle extends Item{constructor(){var A=a52s;super({'name':'Sniper\x20Rifle','description':A(0x138),'size':Size['Large'],'category':Category[A(0x13b)],'shape':Shape['Rifle'],'color':Color[A(0x13c)],'texture':Texture[A(0x11c)],'rating':Rating['Common'],'weight':0x5});}[a52s(0x125)](){var B=a52s;return B(0x14a);}}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x11c;var f=c[d];return f;},a52d(a,b);}export class HolyGrail extends Item{constructor(){var C=a52s;super({'name':C(0x147),'description':C(0x13a),'size':Size[C(0x14f)],'category':Category[C(0x141)],'shape':Shape[C(0x142)],'color':Color[C(0x140)],'texture':Texture[C(0x123)],'rating':Rating['Legendary'],'weight':0x1});}[a52s(0x125)](){var D=a52s;return D(0x139)+this['name']+D(0x124);}}