@maka/maka-cli 4.8.8 → 4.8.9

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 (147) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  109. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/kit.js +1 -1
  112. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  115. package/bundle/obf/src/generators/layout.js +1 -1
  116. package/bundle/obf/src/generators/maka.gen.js +1 -1
  117. package/bundle/obf/src/generators/methods.js +1 -1
  118. package/bundle/obf/src/generators/package.js +1 -1
  119. package/bundle/obf/src/generators/page.js +1 -1
  120. package/bundle/obf/src/generators/publish.js +1 -1
  121. package/bundle/obf/src/generators/route.js +1 -1
  122. package/bundle/obf/src/generators/service.js +1 -1
  123. package/bundle/obf/src/generators/services/_index.js +1 -1
  124. package/bundle/obf/src/generators/services/openssl.js +1 -1
  125. package/bundle/obf/src/generators/services/translation.js +1 -1
  126. package/bundle/obf/src/maka.js +1 -1
  127. package/bundle/obf/src/templates/meteor/project/package.json +1 -1
  128. package/bundle/obf/src/tool.js +1 -1
  129. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  130. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/https/https.class.js +1 -1
  137. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  138. package/bundle/obf/src/tools/log/log.class.js +1 -1
  139. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/options/options.class.js +1 -1
  141. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  142. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  147. package/package.json +1 -1
@@ -1 +1 @@
1
- const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=parseInt(g(0x179))/0x1+-parseInt(g(0x160))/0x2+-parseInt(g(0x166))/0x3+parseInt(g(0x171))/0x4+-parseInt(g(0x167))/0x5+parseInt(g(0x173))/0x6*(-parseInt(g(0x16e))/0x7)+parseInt(g(0x17c))/0x8*(parseInt(g(0x162))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xd6fbb));function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x15d;let f=c[d];return f;},a36d(a,b);}const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0x164)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a['toString']()['search'](i(0x161))[i(0x168)]()[i(0x165)](a36a)['search'](i(0x161));});function a36c(){const l=['execute','allActors','verb','What\x20do\x20you\x20want\x20to\x20say?','1465750ZcIgae','join',':\x20\x22','4904AmhGts','name','description','\x20says\x20to\x20','scene','1716632mrlmRj','(((.+)+)+)+$','34587YwkcOh','log','apply','constructor','1966512tjmiiR','7529485BaOWLi','toString','logger','An\x20error\x20occurred.','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','Scene\x20is\x20missing\x20from\x20context.','currentLocation','413ccVAQd','You\x20say:\x20\x22','filter','2867220TCjqZd','actor','64884JTzyLn','context'];a36c=function(){return l;};return a36c();}a36a();import{Command}from'./command.js';export class SayCommand extends Command{static [a36j(0x177)]='say';static [a36j(0x15d)]=a36j(0x16b);[a36j(0x174)];constructor(a){super(a),this['context']=a;}[a36j(0x175)](a){const k=a36j;if(a['length']===0x0)return k(0x178);const b=a[k(0x17a)]('\x20'),c=this[k(0x172)],d=this[k(0x174)][k(0x15f)];if(!d)return this[k(0x169)]['log'](k(0x16c)),k(0x16a);const e=d[k(0x176)][k(0x170)](f=>f[k(0x16d)]===c['currentLocation']);for(const f of e){this[k(0x169)][k(0x163)](c[k(0x17d)]+k(0x15e)+f[k(0x17d)]+k(0x17b)+b+'\x22'),this['actor'][k(0x16d)]['say'](f,b);}return k(0x16f)+b+'\x22';}}
1
+ function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x68;let f=c[d];return f;},a36d(a,b);}function a36c(){const m=['20ygvyXr',':\x20\x22','15840qTlRIz','verb','execute','2357065HCmAii','allActors','3528891YMOGMM','759MfvxHi','585730zyQNjH','Scene\x20is\x20missing\x20from\x20context.','description','logger','name','56930STNmnr','log','An\x20error\x20occurred.','say','currentLocation','\x20says\x20to\x20','255975kPgvbB','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','search','6HPeGjI','filter','You\x20say:\x20\x22','8kKsXFB','3946292BdFFeb','scene','context','(((.+)+)+)+$','actor','apply'];a36c=function(){return m;};return a36c();}const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=-parseInt(g(0x6f))/0x1+-parseInt(g(0x76))/0x2+-parseInt(g(0x81))/0x3*(parseInt(g(0x6d))/0x4)+parseInt(g(0x72))/0x5+-parseInt(g(0x84))/0x6*(-parseInt(g(0x88))/0x7)+parseInt(g(0x87))/0x8*(-parseInt(g(0x74))/0x9)+parseInt(g(0x7b))/0xa*(parseInt(g(0x75))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x4960d));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0x6c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a['toString']()[i(0x83)](i(0x6a))['toString']()['constructor'](a36a)[i(0x83)](i(0x6a));});a36a();import{Command}from'./command.js';export class SayCommand extends Command{static [a36j(0x70)]=a36j(0x7e);static [a36j(0x78)]=a36j(0x82);['context'];constructor(a){const k=a36j;super(a),this[k(0x69)]=a;}[a36j(0x71)](a){const l=a36j;if(a['length']===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a['join']('\x20'),c=this[l(0x6b)],d=this[l(0x69)][l(0x68)];if(!d)return this[l(0x79)][l(0x7c)](l(0x77)),l(0x7d);const e=d[l(0x73)][l(0x85)](f=>f[l(0x7f)]===c['currentLocation']);for(const f of e){this[l(0x79)][l(0x7c)](c['name']+l(0x80)+f[l(0x7a)]+l(0x6e)+b+'\x22'),this[l(0x6b)][l(0x7f)]['say'](f,b);}return l(0x86)+b+'\x22';}}
@@ -1 +1 @@
1
- const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x197))/0x1*(parseInt(f(0x1a3))/0x2)+-parseInt(f(0x19e))/0x3*(-parseInt(f(0x1a9))/0x4)+-parseInt(f(0x196))/0x5+-parseInt(f(0x19f))/0x6*(-parseInt(f(0x1a5))/0x7)+parseInt(f(0x198))/0x8+parseInt(f(0x1a1))/0x9+-parseInt(f(0x1a2))/0xa*(parseInt(f(0x1a0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x6ebd2));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const g=a37d;return a37a[g(0x193)]()[g(0x1a6)]('(((.+)+)+)+$')[g(0x193)]()[g(0x19a)](a37a)[g(0x1a6)](g(0x19d));});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x190;let f=c[d];return f;},a37d(a,b);}a37a();function a37c(){const j=['actor','logger','704440ysGTfg','1jRcWHW','5203536wLsMcF','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','constructor','SearchCommand:\x20','write','(((.+)+)+)+$','3ACQbIz','591468rSZEnu','550ByUWDk','1582623dSBTFG','122680ltSLFj','1342748wsUYqn','execute','14GhUedg','search','length','description','3423212oSEHUL','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','inventory','Search\x20for\x20items\x20in\x20your\x20area','toString'];a37c=function(){return j;};return a37c();}import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a37h(0x1a6);static [a37h(0x1a8)]=a37h(0x192);[a37h(0x1a4)](){const i=a37h,a=this[i(0x194)]['currentLocation'][i(0x191)]['listItems']();if(a[i(0x1a7)]===0x0)return this['logger'][i(0x19c)](i(0x19b)+this[i(0x194)]['name']+i(0x199)),i(0x190);const b=a['join'](',\x20');return this[i(0x195)][i(0x19c)]('SearchCommand:\x20'+this['actor']['name']+'\x20found\x20the\x20following\x20items:\x20'+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
1
+ function a37c(){const k=['546209eJkvpn','toString','search','56mMrRkg','233724waEJjP','15561nrlNGL','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','apply','581392slMJvp','4608vEIQcp','Search\x20for\x20items\x20in\x20your\x20area','(((.+)+)+)+$','actor','533352TpPYqi','logger','execute','You\x20search\x20the\x20area\x20and\x20find:\x20','1279592qKUKXB','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','SearchCommand:\x20','5tZCZyY','join','44230roinQQ','length'];a37c=function(){return k;};return a37c();}const a37i=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x85;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x8d))/0x1+-parseInt(f(0x86))/0x2+parseInt(f(0x92))/0x3+parseInt(f(0x91))/0x4*(-parseInt(f(0x89))/0x5)+-parseInt(f(0x9a))/0x6+-parseInt(f(0x95))/0x7*(parseInt(f(0x90))/0x8)+-parseInt(f(0x96))/0x9*(-parseInt(f(0x8b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x56ae3));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x8e)]()[h(0x8f)](h(0x98))['toString']()['constructor'](a37a)[h(0x8f)]('(((.+)+)+)+$');});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']='search';static ['description']=a37i(0x97);[a37i(0x9c)](){const j=a37i,a=this[j(0x99)]['currentLocation']['inventory']['listItems']();if(a[j(0x8c)]===0x0)return this[j(0x9b)]['write'](j(0x88)+this[j(0x99)]['name']+j(0x87)),j(0x93);const b=a[j(0x8a)](',\x20');return this[j(0x9b)]['write'](j(0x88)+this[j(0x99)]['name']+'\x20found\x20the\x20following\x20items:\x20'+b),j(0x85)+b;}}
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1d8))/0x1*(parseInt(f(0x1e4))/0x2)+parseInt(f(0x1e1))/0x3+-parseInt(f(0x1ee))/0x4+parseInt(f(0x1ea))/0x5+parseInt(f(0x1db))/0x6*(parseInt(f(0x1df))/0x7)+parseInt(f(0x1eb))/0x8*(parseInt(f(0x1ec))/0x9)+parseInt(f(0x1cf))/0xa*(-parseInt(f(0x1d4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xd3b46));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1ed)]()[h(0x1d6)](h(0x1e8))['toString']()[h(0x1d3)](a38a)[h(0x1d6)](h(0x1e8));});a38a();function a38c(){const k=['success','34HgyCJk','write','addItem','569082afiFEU','logger','currentLocation','apply','28ZVDlUW','puzzle','210084yaMGBf','execute','verb','7484bxWxuu','rewardItem','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','join','(((.+)+)+)+$','toLowerCase','4487820JzLklR','5104KKjJel','20151igumtd','toString','6686824doteLC','Attempt\x20to\x20solve\x20a\x20puzzle.','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','1180IlwJqq','description','solve','inventory','constructor','10197eTPTQC','actor','search'];a38c=function(){return k;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x1e3)]=a38i(0x1d1);static [a38i(0x1d0)]=a38i(0x1ef);[a38i(0x1e2)](a){const j=a38i,b=a[j(0x1e7)]('\x20')[j(0x1e9)](),c=this[j(0x1d5)][j(0x1dd)];if(!c||!c[j(0x1e0)])return this['logger']['write'](j(0x1e6)),j(0x1ce);const d=c[j(0x1e0)][j(0x1d1)](b,this[j(0x1d5)][j(0x1d2)]);return d[j(0x1d7)]&&c[j(0x1e0)]['rewardItem']&&this['actor'][j(0x1d2)][j(0x1da)](c[j(0x1e0)][j(0x1e5)]),this[j(0x1dc)][j(0x1d9)]('SolveCommand:\x20'+d['message']),d['message'];}}
1
+ const a38h=a38d;function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x7a;let f=c[d];return f;},a38d(a,b);}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x83))/0x1+-parseInt(f(0x7a))/0x2*(-parseInt(f(0x88))/0x3)+-parseInt(f(0x7c))/0x4*(parseInt(f(0x7b))/0x5)+-parseInt(f(0x7e))/0x6+parseInt(f(0x84))/0x7+-parseInt(f(0x96))/0x8+parseInt(f(0x8c))/0x9*(parseInt(f(0x8b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x8737d));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0x82)]()[g(0x81)](g(0x98))[g(0x82)]()[g(0x86)](a38a)['search'](g(0x98));});a38a();import{Command}from'./command.js';function a38c(){const j=['5XIACAU','3686972juFebo','rewardItem','3030456GtQRea','Attempt\x20to\x20solve\x20a\x20puzzle.','description','search','toString','240223BPlrQy','4214791TGHwFG','write','constructor','currentLocation','12fErHGI','addItem','logger','8870uLKDVi','12609bvHAQL','success','verb','toLowerCase','actor','message','inventory','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','execute','SolveCommand:\x20','6819832adejjF','puzzle','(((.+)+)+)+$','374064WIVmQH'];a38c=function(){return j;};return a38c();}export class SolveCommand extends Command{static [a38h(0x8e)]='solve';static [a38h(0x80)]=a38h(0x7f);[a38h(0x94)](a){const i=a38h,b=a['join']('\x20')[i(0x8f)](),c=this[i(0x90)][i(0x87)];if(!c||!c[i(0x97)])return this[i(0x8a)][i(0x85)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),i(0x93);const d=c['puzzle']['solve'](b,this[i(0x90)][i(0x92)]);return d[i(0x8d)]&&c[i(0x97)][i(0x7d)]&&this['actor']['inventory'][i(0x89)](c[i(0x97)][i(0x7d)]),this[i(0x8a)][i(0x85)](i(0x95)+d[i(0x91)]),d[i(0x91)];}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0xa8))/0x1+-parseInt(f(0xc1))/0x2*(parseInt(f(0xb3))/0x3)+parseInt(f(0xa7))/0x4+-parseInt(f(0xc4))/0x5+-parseInt(f(0xaa))/0x6*(parseInt(f(0xb9))/0x7)+-parseInt(f(0xc0))/0x8+parseInt(f(0xbf))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xebc88));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xa1;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(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0xc2)](h(0xc3))[h(0xa9)]()[h(0xb0)](a39a)[h(0xc2)](h(0xc3));});function a39c(){const l=['There\x20is\x20no\x20item\x20\x22','name','30093021RezcKF','12427872SgVYhw','218802rkGLNf','search','(((.+)+)+)+$','2847580RQPYxU','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','apply','hasItem','description','\x22\x20to\x20','join','actor','\x22\x20in\x20this\x20room.','You\x20have\x20taken\x20the\x20','\x22\x20not\x20found\x20in\x20','1017452AGnJJp','1653019IdKOqH','toString','11004480lvWJnW','take','write','\x20during\x20\x27Take\x27\x20command.','inventory','Pick\x20up\x20an\x20item.','constructor','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','toLowerCase','9mGoWQo','getItem','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','currentLocation','Item\x20\x22','removeItem','7ZKzJkd','message','logger','execute'];a39c=function(){return l;};return a39c();}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a39i(0xab);static [a39i(0xc8)]=a39i(0xaf);[a39i(0xbc)](a){const j=a39i;return this['logger'][j(0xac)](j(0xb5)+a[j(0xa2)]('\x20')),this[j(0xab)](a);}['take'](a){const k=a39i,b=a['join']('\x20')[k(0xb2)](),c=this['actor'][k(0xb6)];if(!c[k(0xae)][k(0xc7)](b))return this[k(0xbb)][k(0xac)](k(0xb7)+b+k(0xa6)+c[k(0xbe)]+k(0xad)),k(0xbd)+b+k(0xa4);const d=c['inventory'][k(0xb4)](b);if(!d)return this[k(0xbb)][k(0xac)](k(0xb7)+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0xbe)]+k(0xc5)),'There\x20is\x20no\x20item\x20\x22'+b+k(0xa4);try{return this[k(0xa3)]['addInventory'](d),this[k(0xbb)][k(0xac)]('Successfully\x20added\x20\x22'+b+k(0xa1)+this[k(0xa3)][k(0xbe)]+k(0xb1)),c[k(0xae)][k(0xb8)](b),this['logger'][k(0xac)]('Successfully\x20removed\x20\x22'+b+'\x22\x20from\x20'+c['name']+k(0xc5)),k(0xa5)+b+'.';}catch(e){return this[k(0xbb)]['write']('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0xba)]),'The\x20item\x20\x22'+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
1
+ const a39i=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xae;let f=c[d];return f;},a39d(a,b);}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0xbd))/0x1+parseInt(f(0xd8))/0x2*(parseInt(f(0xd5))/0x3)+parseInt(f(0xbc))/0x4+-parseInt(f(0xb8))/0x5+-parseInt(f(0xb6))/0x6*(-parseInt(f(0xd1))/0x7)+-parseInt(f(0xc9))/0x8*(-parseInt(f(0xc8))/0x9)+-parseInt(f(0xb7))/0xa*(parseInt(f(0xbf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xced5c));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0xb4)]()[h(0xb3)](h(0xbe))[h(0xb4)]()[h(0xb0)](a39a)[h(0xb3)]('(((.+)+)+)+$');});function a39c(){const l=['join','\x22\x20from\x20','2560563nkIXza','Pick\x20up\x20an\x20item.','inventory','2aQCjQy','hasItem','The\x20item\x20\x22','You\x20have\x20taken\x20the\x20','description','constructor','logger','execute','search','toString','\x22\x20is\x20too\x20heavy\x20to\x20carry.','12MlUHuS','87460xvZzcP','2184820Nzakpl','take','name','\x22\x20not\x20found\x20in\x20','4659864DUuvkG','686745kAJEwb','(((.+)+)+)+$','2387FmsArQ','\x22\x20to\x20','removeItem','toLowerCase','actor','There\x20is\x20no\x20item\x20\x22','getItem','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','currentLocation','9xfCgaX','1867792aSAzJN','Error\x20during\x20\x27Take\x27\x20command:\x20','\x22\x20not\x20retrieved\x20from\x20','\x22\x20in\x20this\x20room.','Successfully\x20removed\x20\x22','Item\x20\x22','verb','write','5658891YRpLpn','apply'];a39c=function(){return l;};return a39c();}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0xcf)]=a39i(0xb9);static [a39i(0xaf)]=a39i(0xd6);[a39i(0xb2)](a){const j=a39i;return this[j(0xb1)][j(0xd0)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0xd3)]('\x20')),this[j(0xb9)](a);}[a39i(0xb9)](a){const k=a39i,b=a[k(0xd3)]('\x20')[k(0xc2)](),c=this[k(0xc3)][k(0xc7)];if(!c['inventory'][k(0xd9)](b))return this['logger'][k(0xd0)]('Item\x20\x22'+b+k(0xbb)+c['name']+'\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+k(0xcc);const d=c['inventory'][k(0xc5)](b);if(!d)return this[k(0xb1)]['write'](k(0xce)+b+k(0xcb)+c[k(0xba)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0xc4)+b+'\x22\x20in\x20this\x20room.';try{return this['actor']['addInventory'](d),this[k(0xb1)][k(0xd0)]('Successfully\x20added\x20\x22'+b+k(0xc0)+this[k(0xc3)]['name']+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0xd7)][k(0xc1)](b),this[k(0xb1)]['write'](k(0xcd)+b+k(0xd4)+c[k(0xba)]+k(0xc6)),k(0xae)+b+'.';}catch(e){return this[k(0xb1)]['write'](k(0xca)+e['message']),k(0xda)+b+k(0xb5);}}}
@@ -1 +1 @@
1
- function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x184;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x187))/0x1*(parseInt(f(0x18f))/0x2)+-parseInt(f(0x19d))/0x3*(-parseInt(f(0x194))/0x4)+parseInt(f(0x193))/0x5*(-parseInt(f(0x18d))/0x6)+parseInt(f(0x18c))/0x7*(-parseInt(f(0x196))/0x8)+parseInt(f(0x195))/0x9+parseInt(f(0x19e))/0xa*(-parseInt(f(0x19a))/0xb)+parseInt(f(0x199))/0xc*(parseInt(f(0x190))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x1ec75));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x19b)]()[h(0x186)](h(0x197))[h(0x19b)]()[h(0x198)](a40a)['search'](h(0x197));});function a40c(){const k=['apply','name','toLowerCase','665BzmXBI','2508GfWRaj','logger','14TMVNVK','141934dhHbhR','actor','verb','3005iknMus','4UzvczQ','1428615MiGazv','12224bSgMHG','(((.+)+)+)+$','constructor','372XcyTzK','451seKwND','toString','\x20unqeuiped\x20','467763xyWDLn','25640pjkHUn','write','UnequipCommand:\x20','search','3649UxOdDP','unequip'];a40c=function(){return k;};return a40c();}a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x192)]='unqeuip';static ['description']='Unequip\x20an\x20item.';['execute'](a){const j=a40i,b=a['join']('\x20')[j(0x18b)](),c=this[j(0x191)][j(0x188)](b);return this[j(0x18e)][j(0x184)](j(0x185)+this[j(0x191)][j(0x18a)]+j(0x19c)+c),c;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0xd8))/0x1+-parseInt(f(0xdc))/0x2+-parseInt(f(0xcf))/0x3*(parseInt(f(0xd6))/0x4)+-parseInt(f(0xce))/0x5+parseInt(f(0xdb))/0x6*(-parseInt(f(0xd4))/0x7)+parseInt(f(0xcd))/0x8+parseInt(f(0xd3))/0x9*(parseInt(f(0xcb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x2ca51));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xca;let f=c[d];return f;},a40d(a,b);}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()[h(0xd0)]('(((.+)+)+)+$')[h(0xde)]()[h(0xda)](a40a)[h(0xd0)](h(0xdd));});a40a();import{Command}from'./command.js';function a40c(){const k=['95896TkmiyD','unequip','152951nlNuzO','\x20unqeuiped\x20','constructor','6uNkzsz','219332EEkaSp','(((.+)+)+)+$','toString','unqeuip','verb','logger','30IAWiPC','apply','529936osioVy','557400TLnxNs','39nXiOvo','search','actor','write','3141405NHXStq','1713271NpOAfS','Unequip\x20an\x20item.'];a40c=function(){return k;};return a40c();}export class UnequipCommand extends Command{static [a40i(0xe0)]=a40i(0xdf);static ['description']=a40i(0xd5);['execute'](a){const j=a40i,b=a['join']('\x20')['toLowerCase'](),c=this[j(0xd1)][j(0xd7)](b);return this[j(0xca)][j(0xd2)]('UnequipCommand:\x20'+this['actor']['name']+j(0xd9)+c),c;}}
@@ -1 +1 @@
1
- const a41j=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0xc9))/0x1+-parseInt(h(0xc6))/0x2+parseInt(h(0xc1))/0x3+parseInt(h(0xb6))/0x4+parseInt(h(0xc8))/0x5*(-parseInt(h(0xb7))/0x6)+parseInt(h(0xc4))/0x7+-parseInt(h(0xbd))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xd9d91));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const i=a41d;return a41a['toString']()[i(0xbf)](i(0xd0))[i(0xcb)]()[i(0xb0)](a41a)[i(0xbf)](i(0xd0));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41j(0xae)]=a41j(0xbb);static [a41j(0xcf)]=a41j(0xce);[a41j(0xc7)](a){return this['unlock'](a);}[a41j(0xbb)](a){const k=a41j;if(a[k(0xc0)]===0x0)return this[k(0xba)]['error'](k(0xcd)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0]['toLowerCase'](),c=this[k(0xcc)]['currentLocation'];if(this[k(0xc5)](b)&&c['exits']['has'](b)){const d=c[k(0xb3)][k(0xbc)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[k(0xb8)]();if(e&&this[k(0xcc)]['inventory'][k(0xaf)](e)){const f=this['actor'][k(0xb4)]['getItem'](e);if(f){const g=c['attemptUnlockExit'](b,f[k(0xd2)]);return this[k(0xba)]['write'](k(0xb9)+this['actor'][k(0xd2)]+k(0xb1)+b+k(0xbe)+g),g;}}return this['logger']['write'](k(0xb9)+this[k(0xcc)]['name']+k(0xc3)+b+'.'),k(0xb5);}else return this[k(0xba)][k(0xb2)](k(0xb9)+b+k(0xca)+c['name']+'.'),k(0xd1)+b+k(0xc2);}else return this[k(0xba)][k(0xb2)](k(0xb9)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+k(0xc2);}}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xae;let f=c[d];return f;},a41d(a,b);}function a41c(){const l=['6887108vpFAgs','906RLHtDW','toLowerCase','UnlockCommand:\x20','logger','unlock','get','11373720VleYGq','.\x20Result:\x20','search','length','1678998JXDSwI','\x22\x20here.','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','3914295DRQtna','isValidDirection','500210tKlfxz','execute','54170KzXerI','1359431kPqzAr','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','toString','actor','UnlockCommand:\x20No\x20target\x20specified.','Unlock\x20a\x20door.','description','(((.+)+)+)+$','There\x27s\x20no\x20door\x20named\x20\x22','name','verb','hasItem','constructor','\x20is\x20attempted\x20to\x20unlock\x20','write','exits','inventory','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.'];a41c=function(){return l;};return a41c();}
1
+ const a41j=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x1a0))/0x1*(-parseInt(h(0x17e))/0x2)+-parseInt(h(0x188))/0x3*(parseInt(h(0x186))/0x4)+-parseInt(h(0x191))/0x5+parseInt(h(0x196))/0x6+-parseInt(h(0x183))/0x7+parseInt(h(0x17d))/0x8*(parseInt(h(0x182))/0x9)+parseInt(h(0x18b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x7ff4e));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const i=a41d;return a41a[i(0x1a1)]()[i(0x192)](i(0x1a3))['toString']()[i(0x18c)](a41a)[i(0x192)](i(0x1a3));});a41a();import{Door}from'../models/door.js';function a41c(){const m=['write','\x22\x20here.','406XQbSML','toString','description','(((.+)+)+)+$','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','820904fQjqJC','5110hwhqPb','logger','isValidDirection','has','63mFOxmf','3727661jJyWdW','There\x27s\x20no\x20door\x20named\x20\x22','.\x20Result:\x20','1227724Ucmbqy','\x20is\x20attempted\x20to\x20unlock\x20','3szicEI','UnlockCommand:\x20No\x20target\x20specified.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','13934830vzGeam','constructor','UnlockCommand:\x20','inventory','unlockItemOrSolution','toLowerCase','2072485oVloJd','search','execute','getItem','exits','4221702yRKGKG','actor','verb','length','error','unlock','attemptUnlockExit','name'];a41c=function(){return m;};return a41c();}import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x17c;let f=c[d];return f;},a41d(a,b);}export class UnlockCommand extends Command{static [a41j(0x198)]='unlock';static [a41j(0x1a2)]='Unlock\x20a\x20door.';[a41j(0x193)](a){const k=a41j;return this[k(0x19b)](a);}['unlock'](a){const l=a41j;if(a[l(0x199)]===0x0)return this['logger'][l(0x19a)](l(0x189)),l(0x17c);const b=a[0x0]['toLowerCase'](),c=this[l(0x197)]['currentLocation'];if(this[l(0x180)](b)&&c['exits'][l(0x181)](b)){const d=c[l(0x195)]['get'](b);if(d instanceof Door){const e=d[l(0x18f)]?.[l(0x190)]();if(e&&this[l(0x197)][l(0x18e)]['hasItem'](e)){const f=this[l(0x197)]['inventory'][l(0x194)](e);if(f){const g=c[l(0x19c)](b,f[l(0x19d)]);return this[l(0x17f)][l(0x19e)]('UnlockCommand:\x20'+this['actor'][l(0x19d)]+l(0x187)+b+l(0x185)+g),g;}}return this[l(0x17f)]['write'](l(0x18d)+this[l(0x197)]['name']+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),l(0x1a4);}else return this[l(0x17f)][l(0x19e)](l(0x18d)+b+l(0x18a)+c['name']+'.'),l(0x184)+b+'\x22\x20here.';}else return this[l(0x17f)]['write'](l(0x18d)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x19d)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0x19f);}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x153))/0x1+parseInt(f(0x144))/0x2+parseInt(f(0x14a))/0x3+-parseInt(f(0x154))/0x4*(parseInt(f(0x151))/0x5)+parseInt(f(0x159))/0x6+parseInt(f(0x148))/0x7+-parseInt(f(0x161))/0x8*(parseInt(f(0x147))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xc34d2));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0x149)]('(((.+)+)+)+$')[h(0x150)]()[h(0x152)](a42a)[h(0x149)](h(0x14b));});function a42c(){const l=['write','\x20attempted\x20to\x20use\x20','UseCommand:\x20','apply','toString','25VNHDXK','constructor','669495jBTJOs','865108YoAGxc',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','verb','\x20in\x20this\x20way.','function','88050EKeAzE','\x20doesn\x27t\x20have\x20a\x20use\x20method.','name','join','\x20not\x20retrieved\x20from\x20','description','use','inventory','2409864WfiySD','actor','1850826MoJPIL','logger','\x20to\x20use.','36AhTojv','10086223HqFcHP','search','107397KegjAa','(((.+)+)+)+$'];a42c=function(){return l;};return a42c();}a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x143;let f=c[d];return f;},a42d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x156)]=a42i(0x15f);static [a42i(0x15e)]='Use\x20an\x20item.';['execute'](a){const j=a42i;return this[j(0x15f)](a);}[a42i(0x15f)](a){const k=a42i,b=a[k(0x15c)]('\x20')['toLowerCase']();if(!this[k(0x143)][k(0x160)]['hasItem'](b))return this['logger']['write'](k(0x14e)+this[k(0x143)]['name']+k(0x14d)+b+k(0x155)),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x146);const c=this[k(0x143)]['inventory']['getItem'](b);if(!c)return this[k(0x145)][k(0x14c)](k(0x14e)+b+k(0x15d)+this[k(0x143)]['name']+'\x27s\x20inventory.'),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x146);if(typeof c[k(0x15f)]===k(0x158)){const d=c['use']();return this[k(0x145)][k(0x14c)](k(0x14e)+this[k(0x143)][k(0x15b)]+'\x20used\x20'+b+'.'),d;}else return this[k(0x145)]['write']('UseCommand:\x20'+b+k(0x15a)),'You\x20can\x27t\x20use\x20the\x20'+b+k(0x157);}}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x82))/0x1+-parseInt(f(0x6b))/0x2*(-parseInt(f(0x69))/0x3)+parseInt(f(0x73))/0x4*(parseInt(f(0x7d))/0x5)+-parseInt(f(0x6a))/0x6+parseInt(f(0x79))/0x7*(-parseInt(f(0x88))/0x8)+parseInt(f(0x7e))/0x9*(parseInt(f(0x6f))/0xa)+-parseInt(f(0x74))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x6bd1a));function a42c(){const l=['14dfhmYu','\x20to\x20use.','getItem','description','36150AhnePy','toLowerCase','join','use','31692stFMgP','3477375JcXEop','\x27s\x20inventory.','\x20used\x20','\x20doesn\x27t\x20have\x20a\x20use\x20method.','write','7pCoIJx','name','function','apply','230ZRhPRS','1521UKYmbc','\x20not\x20retrieved\x20from\x20','UseCommand:\x20','logger','55734BYFKNg','You\x20can\x27t\x20use\x20the\x20','Use\x20an\x20item.','actor','(((.+)+)+)+$','inventory','4507744fFBYvT','You\x20don\x27t\x20have\x20the\x20','toString','search','367347zQfjMf','2733498hsPcsl'];a42c=function(){return l;};return a42c();}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x7c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x67)]()[h(0x68)](h(0x86))[h(0x67)]()['constructor'](a42a)[h(0x68)](h(0x86));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x67;let f=c[d];return f;},a42d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']='use';static [a42i(0x6e)]=a42i(0x84);['execute'](a){const j=a42i;return this[j(0x72)](a);}[a42i(0x72)](a){const k=a42i,b=a[k(0x71)]('\x20')[k(0x70)]();if(!this[k(0x85)][k(0x87)]['hasItem'](b))return this[k(0x81)][k(0x78)](k(0x80)+this[k(0x85)]['name']+'\x20attempted\x20to\x20use\x20'+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),k(0x89)+b+'\x20to\x20use.';const c=this[k(0x85)][k(0x87)][k(0x6d)](b);if(!c)return this[k(0x81)]['write']('UseCommand:\x20'+b+k(0x7f)+this[k(0x85)][k(0x7a)]+k(0x75)),k(0x89)+b+k(0x6c);if(typeof c[k(0x72)]===k(0x7b)){const d=c['use']();return this['logger'][k(0x78)](k(0x80)+this[k(0x85)]['name']+k(0x76)+b+'.'),d;}else return this[k(0x81)][k(0x78)](k(0x80)+b+k(0x77)),k(0x83)+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x1af))/0x1+-parseInt(f(0x1b6))/0x2*(-parseInt(f(0x1b0))/0x3)+parseInt(f(0x1bc))/0x4+-parseInt(f(0x1ac))/0x5+-parseInt(f(0x1ad))/0x6+parseInt(f(0x1b1))/0x7+-parseInt(f(0x1b2))/0x8*(parseInt(f(0x1b8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x214ab));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1ac;let f=c[d];return f;},a43d(a,b);}function a43c(){const m=['search','239426zchsxp','6iyioXO','395150bqoxmc','2247560JQPbwM','getAllRegisteredCommands','(((.+)+)+)+$','apply','267266uzIihR','toString','9SdJzcZ','commandMap','constructor','createCommand','658112njIkeZ','registerCommand','509145riwEhS','1251198oRXsSG'];a43c=function(){return m;};return a43c();}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1b5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1b7)]()[h(0x1ae)]('(((.+)+)+)+$')[h(0x1b7)]()[h(0x1ba)](a43a)[h(0x1ae)](h(0x1b4));});a43a();export class CommandFactory{static [a43i(0x1b9)]={};static[a43i(0x1bd)](a,b){const j=a43i;this[j(0x1b9)][a]=b;}static[a43i(0x1bb)](a,b){const k=a43i,c=this[k(0x1b9)][a];if(c)return new c(b);return null;}static[a43i(0x1b3)](){const l=a43i;return this[l(0x1b9)];}}
1
+ function a43c(){const k=['(((.+)+)+)+$','3uczgng','216924clQxPL','commandMap','1853932tsyHZh','30PypqZR','createCommand','9418178RrthHs','constructor','toString','90XoXvbA','953238aWqJBf','104VGMvLE','apply','875000mwGSQv','search','2935184dqknwL','694845fuhNCS','getAllRegisteredCommands'];a43c=function(){return k;};return a43c();}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1a0))/0x1+-parseInt(f(0x199))/0x2*(-parseInt(f(0x196))/0x3)+parseInt(f(0x192))/0x4+-parseInt(f(0x19f))/0x5*(-parseInt(f(0x197))/0x6)+-parseInt(f(0x1a3))/0x7*(parseInt(f(0x1a1))/0x8)+-parseInt(f(0x193))/0x9*(-parseInt(f(0x19a))/0xa)+parseInt(f(0x19c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xc8775));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1a2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()[h(0x191)](h(0x195))[h(0x19e)]()[h(0x19d)](a43a)['search'](h(0x195));});function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x191;let f=c[d];return f;},a43d(a,b);}a43a();export class CommandFactory{static [a43i(0x198)]={};static['registerCommand'](a,b){this['commandMap'][a]=b;}static[a43i(0x19b)](a,b){const j=a43i,c=this[j(0x198)][a];if(c)return new c(b);return null;}static[a43i(0x194)](){return this['commandMap'];}}
@@ -1 +1 @@
1
- function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xee;let f=c[d];return f;},a44d(a,b);}const a44k=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0xee))/0x1*(parseInt(f(0xfb))/0x2)+-parseInt(f(0xfe))/0x3+parseInt(f(0xf2))/0x4+parseInt(f(0xf7))/0x5*(-parseInt(f(0xfd))/0x6)+parseInt(f(0x10c))/0x7+parseInt(f(0xf8))/0x8+parseInt(f(0x10a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x33e83));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x10d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()['search'](h(0x100))[h(0xf6)]()['constructor'](a44a)['search'](h(0x100));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a44c(){const o=['key','helmet','6eNHOHV','book','546780IBCCku','1122078QHrOms','gauntlets','(((.+)+)+)+$','createPuzzle','convertToRoomConfig','type','forEach','roomType','createItem','toUpperCase','INSIDE','gloves','1079577CutCXn','description','2829736csxFTU','apply','20965uvRbEV','addItem','name','boots','997520CcQhVU','items','sword','puzzle','toString','10qFtrmq','465688iwpqkL'];a44c=function(){return o;};return a44c();}export class RoomFactory{['createRoom'](a){const i=a44d,b=this[i(0x102)](a),c=new Room(b);if(a[i(0xf3)]){const d=new Inventory();a['items'][i(0x104)](e=>{const j=i;d[j(0xef)](this[j(0x106)](e));}),c['inventory']=d;}return a[i(0xf5)]&&c['setPuzzle'](this['createPuzzle'](a[i(0xf5)])),c;}[a44k(0x106)](a){const l=a44k;switch(a[l(0x103)]){case l(0xf9):return new Key(a['name'],a[l(0x10b)]);case l(0xfc):return new Book(a[l(0xf0)],a[l(0x10b)],a['content']);case l(0xf4):return new Sword(a[l(0xf0)],a[l(0x10b)]);case'rifle':return new Rifle(a['name'],a['description']);case l(0xfa):return new Helmet(a['name'],a['description']);case'bodyarmor':return new BodyArmor(a['name'],a[l(0x10b)]);case'legarmor':return new LegArmor(a[l(0xf0)],a[l(0x10b)]);case l(0xf1):return new Boots(a[l(0xf0)],a['description']);case l(0x109):return new Gloves(a[l(0xf0)],a[l(0x10b)]);case l(0xff):return new Gauntlets(a[l(0xf0)],a[l(0x10b)]);default:return new BasicItem(a[l(0xf0)],a[l(0x10b)]);}}[a44k(0x101)](a){const m=a44k,b=this[m(0x106)](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a44k(0x102)](a){const n=a44k,b=a[n(0x105)]&&RoomType[a[n(0x105)][n(0x107)]()]?RoomType[a['roomType'][n(0x107)]()]:RoomType[n(0x108)];return{'name':a[n(0xf0)],'description':a[n(0x10b)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x96))/0x1*(parseInt(f(0x84))/0x2)+parseInt(f(0x87))/0x3+parseInt(f(0x8e))/0x4*(-parseInt(f(0x97))/0x5)+-parseInt(f(0x86))/0x6*(parseInt(f(0x91))/0x7)+-parseInt(f(0x7a))/0x8+-parseInt(f(0x98))/0x9*(-parseInt(f(0x77))/0xa)+-parseInt(f(0x95))/0xb*(-parseInt(f(0x75))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x8287e));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x79)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x90)]()[h(0x81)](h(0x92))[h(0x90)]()[h(0x73)](a44a)[h(0x81)]('(((.+)+)+)+$');});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x73;let f=c[d];return f;},a44d(a,b);}a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0x8a)](a){const j=a44i,b=this['convertToRoomConfig'](a),c=new Room(b);if(a['items']){const d=new Inventory();a[j(0x82)][j(0x8c)](e=>{const k=j;d[k(0x7f)](this[k(0x89)](e));}),c[j(0x76)]=d;}return a[j(0x85)]&&c['setPuzzle'](this['createPuzzle'](a[j(0x85)])),c;}[a44i(0x89)](a){const l=a44i;switch(a['type']){case'key':return new Key(a[l(0x80)],a[l(0x99)]);case'book':return new Book(a[l(0x80)],a['description'],a[l(0x7e)]);case l(0x7b):return new Sword(a[l(0x80)],a[l(0x99)]);case l(0x7c):return new Rifle(a[l(0x80)],a[l(0x99)]);case l(0x8f):return new Helmet(a[l(0x80)],a[l(0x99)]);case l(0x74):return new BodyArmor(a[l(0x80)],a[l(0x99)]);case'legarmor':return new LegArmor(a[l(0x80)],a[l(0x99)]);case'boots':return new Boots(a[l(0x80)],a[l(0x99)]);case l(0x78):return new Gloves(a[l(0x80)],a[l(0x99)]);case l(0x8d):return new Gauntlets(a[l(0x80)],a['description']);default:return new BasicItem(a['name'],a['description']);}}[a44i(0x7d)](a){const m=a44i,b=this[m(0x89)](a[m(0x93)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a44i,b=a['roomType']&&RoomType[a[n(0x8b)][n(0x94)]()]?RoomType[a['roomType']['toUpperCase']()]:RoomType[n(0x88)];return{'name':a['name'],'description':a[n(0x99)],'isStartRoom':a[n(0x83)],'roomType':b};}}function a44c(){const o=['655605bZmIKE','INSIDE','createItem','createRoom','roomType','forEach','gauntlets','12KLJpDA','helmet','toString','7piZNHp','(((.+)+)+)+$','rewardItem','toUpperCase','22hHChOX','16kqhlPE','289690PRcVBW','562599VwvufN','description','constructor','bodyarmor','12288684vgwMTw','inventory','20TibeXp','gloves','apply','3691520SbiOsS','sword','rifle','createPuzzle','content','addItem','name','search','items','isStartRoom','99454ElKiyU','puzzle','2556786zSfEtz'];a44c=function(){return o;};return a44c();}
@@ -1 +1 @@
1
- const a45k=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x170;let f=c[d];return f;},a45d(a,b);}(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0x176))/0x1*(-parseInt(h(0x172))/0x2)+parseInt(h(0x188))/0x3*(parseInt(h(0x17e))/0x4)+parseInt(h(0x17b))/0x5*(-parseInt(h(0x17a))/0x6)+-parseInt(h(0x178))/0x7*(parseInt(h(0x196))/0x8)+parseInt(h(0x173))/0x9+-parseInt(h(0x185))/0xa+-parseInt(h(0x17c))/0xb*(-parseInt(h(0x186))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xafed1));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x170)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x193)]()[j(0x174)](j(0x17f))[j(0x193)]()['constructor'](a45a)[j(0x174)]('(((.+)+)+)+$');});a45a();import{Scene}from'./models/scene.js';function a45c(){const s=['getWelcomeMessage','396531sryonu','maka','quit','split','Welcome,\x20','toLowerCase','initialize','registerCommands','Available\x20Commands:\x0a','rooms','drop','toString','instance','getRooms','8plUYNu','registerCommand','use','slice','currentRoom','determineStartRoom','scene','trim','solve','hasOwnProperty','apply','help','543838reRgSb','630369jfTapr','search','-\x20quit:\x20Exit\x20the\x20game.\x0a','1kijbwC','player','8403878tOKXhs','handleInput','42SRwNfi','621800VLqAWE','44ZMnuyF','getInstance','4Pwlfdw','(((.+)+)+)+$','unlock','getHelpMessage','currentLocation','getAllRegisteredCommands','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','10090580OckoHi','9979764xfhPoa'];a45c=function(){return s;};return a45c();}import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0x194)];[a45k(0x19c)];[a45k(0x177)];[a45k(0x19a)];[a45k(0x191)];constructor(a,b){const l=a45k;this[l(0x177)]=a,this[l(0x19c)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x19c)][l(0x18e)](),this['player'][l(0x182)]=this['determineStartRoom'](),this['registerCommands']();}[a45k(0x18f)](){const m=a45k;CommandFactory['registerCommand']('look',LookCommand),CommandFactory[m(0x197)]('go',GoCommand),CommandFactory[m(0x197)]('take',TakeCommand),CommandFactory[m(0x197)](m(0x198),UseCommand),CommandFactory['registerCommand']('equip',EquipCommand),CommandFactory[m(0x197)]('unequip',UnequipCommand),CommandFactory[m(0x197)](m(0x19e),SolveCommand),CommandFactory[m(0x197)](m(0x192),DropCommand),CommandFactory[m(0x197)](m(0x180),UnlockCommand),CommandFactory[m(0x197)]('lock',LockCommand),CommandFactory['registerCommand'](m(0x174),SearchCommand),CommandFactory[m(0x197)]('say',SayCommand);}[a45k(0x19b)](){const n=a45k;return this[n(0x19c)][n(0x19b)]();}[a45k(0x187)](){const o=a45k;return o(0x18c)+this[o(0x177)]['name'];}static[a45k(0x17d)](a,b){const p=a45k;return!Game[p(0x194)]&&(Game['instance']=new Game(a,b)),Game[p(0x194)];}[a45k(0x179)](a){const q=a45k,b=a[q(0x19d)]()[q(0x18b)]('\x20'),c=b[0x0][q(0x18d)](),d=b[q(0x199)](0x1);if(c===q(0x18a))return null;if(c===q(0x189))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0x171))return this[q(0x181)]();if(c==='clear')return'';const e={'actor':this[q(0x177)],'rooms':this[q(0x19c)][q(0x195)](),'scene':this['scene']},f=CommandFactory['createCommand'](c,e);if(f){const g=f['execute'](d);return g;}return q(0x184)+c+'\x22.';}['getHelpMessage'](){const r=a45k,a=CommandFactory[r(0x183)]();let b=r(0x190);for(const c in a){if(a[r(0x19f)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+=r(0x175),b;}}
1
+ const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0x157))/0x1*(-parseInt(h(0x168))/0x2)+-parseInt(h(0x158))/0x3*(-parseInt(h(0x172))/0x4)+parseInt(h(0x14a))/0x5*(parseInt(h(0x165))/0x6)+-parseInt(h(0x14e))/0x7*(-parseInt(h(0x14b))/0x8)+-parseInt(h(0x174))/0x9*(parseInt(h(0x145))/0xa)+parseInt(h(0x160))/0xb*(-parseInt(h(0x15c))/0xc)+-parseInt(h(0x15d))/0xd*(parseInt(h(0x16f))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x64ac9));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x170)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a['toString']()['search']('(((.+)+)+)+$')['toString']()[j(0x163)](a45a)[j(0x150)]('(((.+)+)+)+$');});function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x142;let f=c[d];return f;},a45d(a,b);}a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';function a45c(){const s=['rooms','327349qAKDkX','clear','currentLocation','constructor','name','3114GyFJCl','scene','look','3820bGOlIu','-\x20quit:\x20Exit\x20the\x20game.\x0a','split','getWelcomeMessage','say','Welcome,\x20','drop','90650wjZMSq','apply','toLowerCase','7324nMfLXo','registerCommands','63PfWhFo','createCommand','instance','determineStartRoom','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','Available\x20Commands:\x0a','1138570AmQekO','getRooms','-\x20clear:\x20Clear\x20the\x20screen.\x0a','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','handleInput','5165BKYVHB','848HPkSdX','use','solve','14693HsDfxt','getAllRegisteredCommands','search','trim','slice','currentRoom','getDescription','getHelpMessage','quit','274tKHHVT','1251OYPSXQ','registerCommand','getInstance','player','204AbOAwm','663KLzILJ','help'];a45c=function(){return s;};return a45c();}import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];['scene'];[a45k(0x15b)];[a45k(0x153)];[a45k(0x15f)];constructor(a,b){const l=a45k;this[l(0x15b)]=a,this[l(0x166)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x166)]['initialize'](),this[l(0x15b)][l(0x162)]=this['determineStartRoom'](),this[l(0x173)]();}[a45k(0x173)](){const m=a45k;CommandFactory[m(0x159)](m(0x167),LookCommand),CommandFactory[m(0x159)]('go',GoCommand),CommandFactory[m(0x159)]('take',TakeCommand),CommandFactory[m(0x159)](m(0x14c),UseCommand),CommandFactory[m(0x159)]('equip',EquipCommand),CommandFactory[m(0x159)]('unequip',UnequipCommand),CommandFactory['registerCommand'](m(0x14d),SolveCommand),CommandFactory['registerCommand'](m(0x16e),DropCommand),CommandFactory[m(0x159)]('unlock',UnlockCommand),CommandFactory['registerCommand']('lock',LockCommand),CommandFactory[m(0x159)](m(0x150),SearchCommand),CommandFactory[m(0x159)](m(0x16c),SayCommand);}[a45k(0x142)](){const n=a45k;return this['scene'][n(0x142)]();}[a45k(0x16b)](){const o=a45k;return o(0x16d)+this['player'][o(0x164)];}static[a45k(0x15a)](a,b){const p=a45k;return!Game[p(0x176)]&&(Game['instance']=new Game(a,b)),Game[p(0x176)];}[a45k(0x149)](a){const q=a45k,b=a[q(0x151)]()[q(0x16a)]('\x20'),c=b[0x0][q(0x171)](),d=b[q(0x152)](0x1);if(c===q(0x156))return null;if(c==='maka')return q(0x143);if(c===q(0x15e))return this[q(0x155)]();if(c===q(0x161))return'';const e={'actor':this['player'],'rooms':this[q(0x166)][q(0x146)](),'scene':this[q(0x166)]},f=CommandFactory[q(0x175)](c,e);if(f){const g=f['execute'](d);return g;}return q(0x148)+c+'\x22.';}[a45k(0x155)](){const r=a45k,a=CommandFactory[r(0x14f)]();let b=r(0x144);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x154)]()+'\x0a';}}return b+=r(0x147),b+=r(0x169),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0xf0))/0x1*(parseInt(f(0xf6))/0x2)+parseInt(f(0xee))/0x3+parseInt(f(0xfa))/0x4+parseInt(f(0xed))/0x5*(parseInt(f(0xfb))/0x6)+parseInt(f(0xf5))/0x7+-parseInt(f(0xf7))/0x8*(-parseInt(f(0xef))/0x9)+-parseInt(f(0xf2))/0xa*(parseInt(f(0xf8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xe3816));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xf1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0xf3)]()[h(0xf9)](h(0xf4))[h(0xf3)]()['constructor'](a46a)[h(0xf9)](h(0xf4));});a46a();function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xed;var f=c[d];return f;},a46d(a,b);}export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';function a46c(){var i=['22gnhEbJ','search','6870892uhwOgl','808704QgXELj','15BleyAE','4819668EwlUCC','63792opSonA','3RINTla','apply','33424730SWaJVf','toString','(((.+)+)+)+$','6122956jicJXg','1068638OKBEpY','1592SlNGYC'];a46c=function(){return i;};return a46c();}
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x1b9))/0x1*(parseInt(f(0x1bb))/0x2)+parseInt(f(0x1ac))/0x3*(-parseInt(f(0x1b4))/0x4)+parseInt(f(0x1b0))/0x5*(parseInt(f(0x1b5))/0x6)+parseInt(f(0x1b2))/0x7+parseInt(f(0x1b1))/0x8*(parseInt(f(0x1ad))/0x9)+parseInt(f(0x1ba))/0xa+-parseInt(f(0x1b3))/0xb*(parseInt(f(0x1b8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xd501c));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1b6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x1ae)]()[h(0x1af)](h(0x1b7))[h(0x1ae)]()[h(0x1ab)](a46a)['search']('(((.+)+)+)+$');});a46a();function a46c(){var i=['2408439MSNccE','4bQKzOb','627492wxtfpl','apply','(((.+)+)+)+$','24MVEzEO','1Jlnrja','2234840JuJTyn','1147876KCDJGB','constructor','3685767hsdcXa','12816NOICdj','toString','search','65lYgXIz','5312kKjrNx','4090205tEihSF'];a46c=function(){return i;};return a46c();}export*from'./door.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1ab;var f=c[d];return f;},a46d(a,b);}export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x9a))/0x1+parseInt(f(0x90))/0x2+-parseInt(f(0x9c))/0x3*(parseInt(f(0x86))/0x4)+-parseInt(f(0x8f))/0x5*(parseInt(f(0x8c))/0x6)+parseInt(f(0x94))/0x7*(parseInt(f(0x89))/0x8)+parseInt(f(0x8b))/0x9+-parseInt(f(0xa0))/0xa*(parseInt(f(0x93))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xaac84));function a47c(){var o=['To\x20','8281624bpYkZu','isLocked','2964420qELyDK','76350KsQHon','search','apply','395MgRXUL','1057886yEKnYD','unlockItemOrSolution','toString','6511670mzwxVM','7fhnRje','logger','roomA','(((.+)+)+)+$','roomB','Door\x20unlocked:\x20','1156910wBGqrh','write','3189frTQJN','checkIfLocked','name','constructor','10UzjGpY','attemptUnlock','getOtherSide','Failed\x20to\x20unlock\x20door:\x20','checkIfLockable','.\x20Used:\x20','2836uNuELw','isLockable'];a47c=function(){return o;};return a47c();}function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x85;var f=c[d];return f;},a47d(a,b);}var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x92)]()[h(0x8d)](h(0x97))[h(0x92)]()[h(0x9f)](a47a)[h(0x8d)]('(((.+)+)+)+$');});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];['roomB'];[a47i(0x8a)];[a47i(0x91)];[a47i(0x9e)];[a47i(0x95)];['isLockable'];constructor(a){var j=a47i;super(),this[j(0x96)]=a[j(0x96)],this[j(0x98)]=a[j(0x98)],this[j(0x8a)]=a[j(0x8a)]||![],this['unlockItemOrSolution']=a[j(0x91)],this['name']=a[j(0x9e)]?capitalCase(a[j(0x9e)]):j(0x88)+a['roomB']['name'],this[j(0x95)]=Logger['getInstance'](),this[j(0x87)]=!!a[j(0x91)],this[j(0x95)][j(0x9b)]('Door\x20created\x20between\x20'+this['roomA'][j(0x9e)]+'\x20and\x20'+this[j(0x98)]['name']+'.\x20Is\x20Locked:\x20'+this[j(0x8a)]);}[a47i(0xa2)](a){var k=a47i;return this['roomA']===a?this['roomB']:this[k(0x96)];}[a47i(0xa1)](a){var l=a47i;if(this[l(0x8a)]&&this[l(0x91)]&&this[l(0x91)]===a)return this['isLocked']=![],this['logger'][l(0x9b)](l(0x99)+this['name']+l(0x85)+a),!![];return this[l(0x95)][l(0x9b)](l(0xa3)+this['name']+l(0x85)+a),![];}[a47i(0x9d)](){var m=a47i;return this[m(0x8a)];}[a47i(0xa4)](){var n=a47i;return this[n(0x87)];}}
1
+ var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x157))/0x1*(parseInt(f(0x151))/0x2)+-parseInt(f(0x163))/0x3+-parseInt(f(0x152))/0x4+-parseInt(f(0x15d))/0x5+-parseInt(f(0x16a))/0x6*(-parseInt(f(0x155))/0x7)+parseInt(f(0x158))/0x8*(parseInt(f(0x153))/0x9)+parseInt(f(0x16d))/0xa*(-parseInt(f(0x154))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xa05d0));function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x14f;var f=c[d];return f;},a47d(a,b);}var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x169)]()[h(0x16e)](h(0x161))['toString']()[h(0x159)](a47a)[h(0x16e)](h(0x161));});a47a();import{Logger}from'../utilities/logger.js';function a47c(){var o=['1261440gLqlGh','name','logger','4251460CDyHHW','search','attemptUnlock','Door\x20created\x20between\x20','apply','2IUVgWY','1082752tNtfXH','18lggFsG','33vkUWcM','42CmxaVr','roomB','817368OJEGJe','4198632GcoqBh','constructor','isLocked','.\x20Is\x20Locked:\x20','checkIfLocked','3816825oWexbS','\x20and\x20','isLockable','To\x20','(((.+)+)+)+$','.\x20Used:\x20','486381exyyEc','unlockItemOrSolution','roomA','Failed\x20to\x20unlock\x20door:\x20','write','Door\x20unlocked:\x20','toString'];a47c=function(){return o;};return a47c();}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x165)];[a47i(0x156)];[a47i(0x15a)];[a47i(0x164)];[a47i(0x16b)];[a47i(0x16c)];[a47i(0x15f)];constructor(a){var j=a47i;super(),this[j(0x165)]=a['roomA'],this[j(0x156)]=a[j(0x156)],this[j(0x15a)]=a[j(0x15a)]||![],this[j(0x164)]=a[j(0x164)],this[j(0x16b)]=a[j(0x16b)]?capitalCase(a[j(0x16b)]):j(0x160)+a['roomB'][j(0x16b)],this[j(0x16c)]=Logger['getInstance'](),this[j(0x15f)]=!!a[j(0x164)],this[j(0x16c)][j(0x167)](j(0x14f)+this[j(0x165)][j(0x16b)]+j(0x15e)+this['roomB']['name']+j(0x15b)+this[j(0x15a)]);}['getOtherSide'](a){var k=a47i;return this[k(0x165)]===a?this[k(0x156)]:this[k(0x165)];}[a47i(0x16f)](a){var l=a47i;if(this[l(0x15a)]&&this[l(0x164)]&&this[l(0x164)]===a)return this['isLocked']=![],this[l(0x16c)][l(0x167)](l(0x168)+this[l(0x16b)]+l(0x162)+a),!![];return this['logger'][l(0x167)](l(0x166)+this[l(0x16b)]+l(0x162)+a),![];}[a47i(0x15c)](){var m=a47i;return this[m(0x15a)];}['checkIfLockable'](){var n=a47i;return this[n(0x15f)];}}
@@ -1 +1 @@
1
- const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0xa4))/0x1+-parseInt(f(0x96))/0x2+parseInt(f(0xa0))/0x3*(parseInt(f(0xbe))/0x4)+-parseInt(f(0x9c))/0x5+parseInt(f(0x95))/0x6*(parseInt(f(0xb0))/0x7)+-parseInt(f(0xa2))/0x8+parseInt(f(0xb4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x5ace5));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a['toString']()[g(0x9a)](g(0xab))['toString']()[g(0xa1)](a48a)['search'](g(0xab));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x93;let f=c[d];return f;},a48d(a,b);}import{AbstractInventory}from'../types/abstracts.js';function a48c(){const q=['Retrieved\x20details\x20for\x20item:\x20','.\x20Exists:\x20','map','search','join','1544840ppqnlm','\x20to\x20inventory.','\x20in\x20','\x20from\x20inventory.','193923aACXgE','constructor','772528bZjdWh','getItem','729858stqnwP','has','values','getAllItems','toLowerCase','addItem','write','(((.+)+)+)+$','getWeight','removeItem','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','delete','21otluVc','Failed\x20to\x20remove\x20item:\x20','items','Listed\x20items\x20in\x20inventory:\x20','13381803lhRhNh','.\x20Item\x20not\x20found.','listItems','get','keys','hasItem','getInstance','Removed\x20item:\x20','logger','Checked\x20for\x20item:\x20','12erMHyd','Added\x20item:\x20','name','497682cOwywp','844596RaCdpt'];a48c=function(){return q;};return a48c();}export class Inventory extends AbstractInventory{[a48h(0xb2)];[a48h(0xbc)];constructor(){const i=a48h;super(),this[i(0xb2)]=new Map(),this[i(0xbc)]=Logger[i(0xba)]();}[a48h(0xa9)](a){const j=a48h;this[j(0xb2)]['set'](a[j(0x94)]['toLowerCase'](),a),this['logger'][j(0xaa)](j(0x93)+a[j(0x94)]+j(0x9d));}[a48h(0xad)](a){const k=a48h,b=this[k(0xa3)](a);if(b)return this[k(0xb2)][k(0xaf)](a[k(0xa8)]()),this[k(0xbc)]['write'](k(0xbb)+a+k(0x9f)),b;return this[k(0xbc)]['write'](k(0xb1)+a+k(0xb5)),null;}[a48h(0xb9)](a){const l=a48h,b=this[l(0xb2)][l(0xa5)](a[l(0xa8)]()),c=[...this[l(0xb2)][l(0xb8)]()];return this['logger'][l(0xaa)](l(0xbd)+a+l(0x9e)+c[l(0x9b)](',\x20')+l(0x98)+b+'.'),b;}[a48h(0xa3)](a){const m=a48h,b=this['items'][m(0xb7)](a[m(0xa8)]())||null;return b?this[m(0xbc)]['write'](m(0x97)+a+'.'):this[m(0xbc)][m(0xaa)](m(0xae)+a+m(0xb5)),b;}[a48h(0xb6)](){const n=a48h,a=[...this[n(0xb2)][n(0xb8)]()],b=a[n(0x99)](c=>capitalCase(c));return this[n(0xbc)][n(0xaa)](n(0xb3)+b[n(0x9b)](',\x20')+'.'),a;}[a48h(0xac)](){const o=a48h;let a=0x0;for(const b of this[o(0xb2)][o(0xa6)]()){a+=b['weight'];}return a;}[a48h(0xa7)](){const p=a48h;return[...this[p(0xb2)]['values']()];}}
1
+ const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x135))/0x1+-parseInt(f(0x110))/0x2*(parseInt(f(0x125))/0x3)+-parseInt(f(0x10f))/0x4*(parseInt(f(0x10b))/0x5)+-parseInt(f(0x12c))/0x6+-parseInt(f(0x128))/0x7*(-parseInt(f(0x11b))/0x8)+parseInt(f(0x120))/0x9*(-parseInt(f(0x11c))/0xa)+parseInt(f(0x12d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x7b094));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a[g(0x136)]()[g(0x12e)](g(0x113))[g(0x136)]()[g(0x124)](a48a)[g(0x12e)](g(0x113));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a48c(){const q=['Checked\x20for\x20item:\x20','toLowerCase','set','Retrieved\x20details\x20for\x20item:\x20','hasItem','379385GraaQn','toString','getInstance','16760LxjZNO','getWeight','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','get','40ieKLmo','2FEKoGS','items','has','(((.+)+)+)+$','.\x20Item\x20not\x20found.','\x20from\x20inventory.','getAllItems','values','write','\x20to\x20inventory.','Failed\x20to\x20remove\x20item:\x20','71256wcHLcE','19010bcsgJd','weight','name','keys','1233KMzkeH','join','\x20in\x20','Listed\x20items\x20in\x20inventory:\x20','constructor','1078689VcttKz','getItem','removeItem','567uamMkw','delete','.\x20Exists:\x20','logger','1171740ldwvKg','2771054SgwvuY','search','Added\x20item:\x20'];a48c=function(){return q;};return a48c();}function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x10b;let f=c[d];return f;},a48d(a,b);}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48h(0x111)];[a48h(0x12b)];constructor(){const i=a48h;super(),this['items']=new Map(),this[i(0x12b)]=Logger[i(0x137)]();}['addItem'](a){const j=a48h;this[j(0x111)][j(0x132)](a[j(0x11e)][j(0x131)](),a),this['logger'][j(0x118)](j(0x12f)+a['name']+j(0x119));}[a48h(0x127)](a){const k=a48h,b=this['getItem'](a);if(b)return this[k(0x111)][k(0x129)](a['toLowerCase']()),this[k(0x12b)][k(0x118)]('Removed\x20item:\x20'+a+k(0x115)),b;return this[k(0x12b)]['write'](k(0x11a)+a+'.\x20Item\x20not\x20found.'),null;}[a48h(0x134)](a){const l=a48h,b=this['items'][l(0x112)](a['toLowerCase']()),c=[...this[l(0x111)][l(0x11f)]()];return this['logger'][l(0x118)](l(0x130)+a+l(0x122)+c['join'](',\x20')+l(0x12a)+b+'.'),b;}[a48h(0x126)](a){const m=a48h,b=this[m(0x111)][m(0x10e)](a[m(0x131)]())||null;return b?this[m(0x12b)]['write'](m(0x133)+a+'.'):this['logger'][m(0x118)](m(0x10d)+a+m(0x114)),b;}['listItems'](){const n=a48h,a=[...this[n(0x111)][n(0x11f)]()],b=a['map'](c=>capitalCase(c));return this[n(0x12b)][n(0x118)](n(0x123)+b[n(0x121)](',\x20')+'.'),a;}[a48h(0x10c)](){const o=a48h;let a=0x0;for(const b of this[o(0x111)]['values']()){a+=b[o(0x11d)];}return a;}[a48h(0x116)](){const p=a48h;return[...this[p(0x111)][p(0x117)]()];}}
@@ -1 +1 @@
1
- function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1b7;var f=c[d];return f;},a49d(a,b);}var a49h=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1ba))/0x1+parseInt(f(0x1ca))/0x2+-parseInt(f(0x1cc))/0x3+parseInt(f(0x1c6))/0x4*(-parseInt(f(0x1bd))/0x5)+parseInt(f(0x1c0))/0x6+-parseInt(f(0x1c2))/0x7+parseInt(f(0x1b9))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x918c2));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(0x1b8)]()[g(0x1c3)](g(0x1cb))[g(0x1b8)]()[g(0x1b7)](a49a)['search']('(((.+)+)+)+$');});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a49c(){var k=['color','16756Dmlbxb','use','uuid','size','997862rFvuTq','(((.+)+)+)+$','2803344TmFmtb','rating','constructor','toString','15787840myVgbm','318894nKIjzA','category','weight','505ePDXwk','name','texture','4497426MJTulV','description','6645723fsdnoy','search','shape'];a49c=function(){return k;};return a49c();}export class Item extends AbstractItem{['uuid'];[a49h(0x1be)];['description'];[a49h(0x1c9)];['category'];[a49h(0x1c4)];['color'];[a49h(0x1bf)];[a49h(0x1cd)];[a49h(0x1bc)];constructor(a){var i=a49h;super(),this[i(0x1be)]=a[i(0x1be)],this[i(0x1c1)]=a[i(0x1c1)],this[i(0x1c9)]=a[i(0x1c9)],this[i(0x1bb)]=a[i(0x1bb)],this['shape']=a[i(0x1c4)],this[i(0x1c5)]=a[i(0x1c5)],this[i(0x1bf)]=a['texture'],this['rating']=a[i(0x1cd)],this['weight']=a['weight'],this[i(0x1c8)]=a49e();}[a49h(0x1c7)](){var j=a49h;return'You\x20use\x20the\x20'+this[j(0x1be)]+'.\x20Nothing\x20special\x20happens.';}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1c5))/0x1+parseInt(f(0x1bc))/0x2*(-parseInt(f(0x1ba))/0x3)+-parseInt(f(0x1c1))/0x4+parseInt(f(0x1bd))/0x5+parseInt(f(0x1c8))/0x6*(parseInt(f(0x1cb))/0x7)+-parseInt(f(0x1d0))/0x8*(parseInt(f(0x1bf))/0x9)+parseInt(f(0x1c7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xd6d2d));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1c2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1c9)]()['search'](h(0x1b9))['toString']()[h(0x1c0)](a49a)['search'](h(0x1b9));});a49a();import{v4 as a49e}from'uuid';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1b8;var f=c[d];return f;},a49d(a,b);}import{AbstractItem}from'../types/abstracts.js';function a49c(){var l=['772299IVNGHX','shape','29231670EWuJIf','2994198lzRXmR','toString','rating','7ofPLpL','description','color','uuid','size','552MdScre','use','.\x20Nothing\x20special\x20happens.','(((.+)+)+)+$','220965eRgfoY','category','30gHubso','1770755azrLod','texture','53163KESRah','constructor','2446908lzvDGD','apply','weight','name'];a49c=function(){return l;};return a49c();}export class Item extends AbstractItem{[a49i(0x1ce)];[a49i(0x1c4)];[a49i(0x1cc)];[a49i(0x1cf)];[a49i(0x1bb)];['shape'];[a49i(0x1cd)];['texture'];[a49i(0x1ca)];[a49i(0x1c3)];constructor(a){var j=a49i;super(),this[j(0x1c4)]=a[j(0x1c4)],this[j(0x1cc)]=a[j(0x1cc)],this[j(0x1cf)]=a[j(0x1cf)],this[j(0x1bb)]=a[j(0x1bb)],this[j(0x1c6)]=a['shape'],this[j(0x1cd)]=a[j(0x1cd)],this[j(0x1be)]=a[j(0x1be)],this[j(0x1ca)]=a[j(0x1ca)],this[j(0x1c3)]=a['weight'],this[j(0x1ce)]=a49e();}[a49i(0x1d1)](){var k=a49i;return'You\x20use\x20the\x20'+this[k(0x1c4)]+k(0x1b8);}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x1bc))/0x1*(parseInt(f(0x1ab))/0x2)+parseInt(f(0x1b7))/0x3+parseInt(f(0x1af))/0x4*(-parseInt(f(0x1ad))/0x5)+parseInt(f(0x1ac))/0x6+-parseInt(f(0x1b0))/0x7*(parseInt(f(0x1ae))/0x8)+parseInt(f(0x1a5))/0x9*(parseInt(f(0x1b3))/0xa)+parseInt(f(0x1a4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x50341));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1a4;let f=c[d];return f;},a50d(a,b);}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()[h(0x1b4)](h(0x1b2))[h(0x1be)]()[h(0x1b8)](a50a)['search']('(((.+)+)+)+$');});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a50c(){const o=['floor','speak','apply','execute','autonomousMove','263260DERIWL','14598ZRUXQj','75QqBjfv','1543664OVTFfX','92112CZYgUT','14QGdhCE','name','(((.+)+)+)+$','10QFUJyE','search','scene','length','685575JYZoXV','constructor','rooms','random','_name','1sFlgLi','moveTo','toString','_dialogue','6051342LgrOxU','1324251RCOrhr'];a50c=function(){return o;};return a50c();}export class NPC extends Player{[a50i(0x1bb)];['_dialogue'];[a50i(0x1b9)];[a50i(0x1b5)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x1bb)]=a,this[j(0x1bf)]=b,this[j(0x1b9)]=c;}get[a50i(0x1b1)](){const k=a50i;return this[k(0x1bb)];}[a50i(0x1a7)](){const l=a50i;return this['_dialogue'][Math[l(0x1a6)](Math[l(0x1ba)]()*this[l(0x1bf)][l(0x1b6)])];}[a50i(0x1aa)](a){const m=a50i,b=a[Math['floor'](Math[m(0x1ba)]()*a[m(0x1b6)])];this[m(0x1bd)](b[m(0x1b1)]);}[a50i(0x1bd)](a){const n=a50i,b={'actor':this,'rooms':this['rooms'],'scene':this[n(0x1b5)]},c=new GoCommand(b);c[n(0x1a9)]([a]);}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0xef))/0x1*(-parseInt(f(0xe7))/0x2)+-parseInt(f(0xf6))/0x3+parseInt(f(0xf0))/0x4*(parseInt(f(0xe5))/0x5)+parseInt(f(0xe3))/0x6+-parseInt(f(0xf8))/0x7*(-parseInt(f(0xf4))/0x8)+parseInt(f(0xed))/0x9+-parseInt(f(0xeb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x62060));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0xf5)]()[h(0xf9)](h(0xea))['toString']()[h(0xec)](a50a)[h(0xf9)](h(0xea));});function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xe0;let f=c[d];return f;},a50d(a,b);}a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a50c(){const o=['moveTo','3241152gevurs','speak','70LNBjuE','random','22AFDYVZ','name','rooms','(((.+)+)+)+$','4111480FREhFj','constructor','4088673OwHKQU','length','23843nzcfPz','141244hmqaHZ','autonomousMove','floor','_name','818936XXnTSE','toString','1548855aMdTfq','apply','7lCFmgO','search','execute','_dialogue'];a50c=function(){return o;};return a50c();}export class NPC extends Player{[a50i(0xf3)];[a50i(0xe1)];[a50i(0xe9)];['scene'];constructor(a,b,c,d){const j=a50i;super(d),this[j(0xf3)]=a,this[j(0xe1)]=b,this[j(0xe9)]=c;}get[a50i(0xe8)](){const k=a50i;return this[k(0xf3)];}[a50i(0xe4)](){const l=a50i;return this[l(0xe1)][Math[l(0xf2)](Math[l(0xe6)]()*this[l(0xe1)]['length'])];}[a50i(0xf1)](a){const m=a50i,b=a[Math['floor'](Math[m(0xe6)]()*a[m(0xee)])];this[m(0xe2)](b[m(0xe8)]);}['moveTo'](a){const n=a50i,b={'actor':this,'rooms':this['rooms'],'scene':this['scene']},c=new GoCommand(b);c[n(0xe0)]([a]);}}
@@ -1 +1 @@
1
- function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1be;let f=c[d];return f;},a51d(a,b);}const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x1e4))/0x1+-parseInt(f(0x213))/0x2+-parseInt(f(0x1d5))/0x3+-parseInt(f(0x1ff))/0x4+-parseInt(f(0x20b))/0x5+parseInt(f(0x202))/0x6+parseInt(f(0x1e6))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x5a5f8));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x215)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x1be)]()[h(0x216)](h(0x1c0))['toString']()[h(0x1dd)](a51a)['search'](h(0x1c0));});a51a();import{camelCase}from'change-case';function a51c(){const B=['A\x20featureless\x20room','removeItem','startLocation','Boots','addItem','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','You\x20equipped\x20','toLowerCase','legarmor','head','1337804IzrmFt','_equipment','_inventory','1732224TiSkTY','arms','LegArmor','addInventory','log','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','You\x20can\x27t\x20equip\x20','enterRoom','Invalid\x20category\x20or\x20slot:\x20','2719895fsvbhM','leftHand','legs','maxCarryingWeight','playerName','currentLocation','initialEquipment','body\x20armor','928788DruGHn','hat','apply','search','_currentLocation','toString','Removed\x20','(((.+)+)+)+$','hasItem','equipment','inventoryItems','\x20in\x20your\x20inventory.','canEquip','gloves','Helmet','torso','ArmArmor','write','\x20to\x20player\x27s\x20inventory.','\x20slot.','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','Gloves','\x20is\x20now\x20listening\x20in\x20room\x20','off','BodyArmor','leaveRoom','logger','Failed\x20to\x20remove\x20','1981305aJWbsv','helmet','determineEquipmentSlot','category','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','bind','Max\x20carrying\x20weight\x20must\x20be\x20positive.','getInstance','constructor','Hat','getWeight','leg\x20armor','\x20is\x20no\x20longer\x20listeng\x20in\x20','weight','feet','388348jkrhIj','\x20from\x20player\x27s\x20inventory.','17311497ZrDPxi','name','speak','_maxCarryingWeight','values','currentWeight','\x20says:\x20\x22','_playerName','You\x20unequipped\x20','Added\x20','removeInventory','shield','unequip','hear','unequipBySlot'];a51c=function(){return B;};return a51c();}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a51i(0x217)];[a51i(0x201)];[a51i(0x200)];[a51i(0x1e9)]=0x32;['logger'];constructor(a){const j=a51i;super(),this[j(0x1ed)]=a[j(0x20f)],this['_currentLocation']=a[j(0x1f7)]||new Room({'name':'Nexus','description':j(0x1f5)}),this[j(0x201)]=new Inventory(),this[j(0x1d3)]=Logger[j(0x1dc)]();if(a?.[j(0x1c3)])for(const b of a[j(0x1c3)]){this[j(0x201)][j(0x1f9)](b);}this[j(0x200)]=a?.[j(0x211)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x1e7)](){const k=a51i;return this[k(0x1ed)];}get['currentLocation'](){return this['_currentLocation'];}set[a51i(0x210)](a){const l=a51i;this[l(0x217)]!==a&&(this[l(0x1d2)](),this['enterRoom'](a)),this[l(0x217)]=a;}get['inventory'](){const m=a51i;return this[m(0x201)];}get[a51i(0x1c2)](){const n=a51i;return this[n(0x200)];}set[a51i(0x1c2)](a){this['_equipment']=a;}get[a51i(0x20e)](){const o=a51i;return this[o(0x1e9)];}set[a51i(0x20e)](a){const p=a51i;a>0x0?this['_maxCarryingWeight']=a:console['error'](p(0x1db));}get[a51i(0x1eb)](){const q=a51i;let a=this[q(0x201)][q(0x1df)]();for(const b in this[q(0x200)]){const c=this[q(0x200)][b];c&&(a+=c[q(0x1e2)]);}return a;}[a51i(0x205)](a){const r=a51i;if(this[r(0x1eb)]+a['weight']>this[r(0x20e)]){this[r(0x1d3)][r(0x1ca)](r(0x207));throw new Error(r(0x1d9));}this[r(0x201)][r(0x1f9)](a),this['logger'][r(0x1ca)](r(0x1ef)+a['name']+r(0x1cb));}[a51i(0x1f0)](a){const s=a51i;if(this[s(0x201)][s(0x1f6)](a[s(0x1e7)]))return this[s(0x1d3)]['write'](s(0x1bf)+a[s(0x1e7)]+s(0x1e5)),!![];return this['logger'][s(0x1ca)](s(0x1d4)+a['name']+s(0x1e5)),![];}['equip'](a){const t=a51i;if(!this[t(0x201)][t(0x1c1)](a[t(0x1e7)]))return'You\x20don\x27t\x20have\x20'+a['name']+t(0x1c4);if(!this['canEquip'](a))return t(0x208)+a['name']+'.';const b=this[t(0x1d7)](a[t(0x1d8)]);if(!b)return a[t(0x1e7)]+t(0x1fa);if(this[t(0x1c2)][b])return t(0x1cd)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this['equipment'][b]=a,this[t(0x1f0)](a),t(0x1fb)+a[t(0x1e7)]+'.';}[a51i(0x1f2)](a){const u=a51i;let b=a;if(!this[u(0x1c2)][camelCase(b)]){b=this[u(0x1d7)](a);if(!b)return u(0x20a)+a+'.';}return this['unequipBySlot'](b);}[a51i(0x1d7)](a){const v=a51i;switch(a['toLowerCase']()){case Category['Weapon'][v(0x1fc)]():return'rightHand';case Category['Shield'][v(0x1fc)]():return v(0x20c);case Category[v(0x1ce)]['toLowerCase']():return v(0x1c6);case Category[v(0x1c7)]['toLowerCase']():case Category[v(0x1de)][v(0x1fc)]():return v(0x1fe);case Category[v(0x1f8)]['toLowerCase']():return'feet';case Category[v(0x204)]['toLowerCase']():return v(0x20d);case Category[v(0x1c9)][v(0x1fc)]():return v(0x203);case Category[v(0x1d1)][v(0x1fc)]():return'torso';case'weapon':return'rightHand';case v(0x1f1):return v(0x20c);case'gloves':return v(0x1c6);case v(0x1d6):case v(0x214):return v(0x1fe);case'boots':return v(0x1e3);case v(0x1e0):case v(0x1fd):return v(0x20d);case'arm\x20armor':case'armarmor':return'arms';case v(0x212):case'bodyarmor':case v(0x1c8):return v(0x1c8);default:return null;}}[a51i(0x1c5)](a){const w=a51i;return Object[w(0x1ea)](Category)['includes'](a[w(0x1d8)]);}[a51i(0x1f4)](a){const x=a51i,b=this['equipment'][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+x(0x1cc);return this[x(0x205)](b),this['equipment'][a]=null,x(0x1ee)+b[x(0x1e7)]+'.';}[a51i(0x1f3)](a,b){const y=a51i;a!==this&&this['logger'][y(0x206)](a['name']+y(0x1ec)+b+'\x22');}[a51i(0x209)](a){const z=a51i;this[z(0x217)]=a,a['on'](z(0x1e8),this[z(0x1f3)]['bind'](this)),this[z(0x1d3)][z(0x1ca)](this[z(0x1e7)]+z(0x1cf)+a[z(0x1e7)]);}[a51i(0x1d2)](){const A=a51i;this['_currentLocation']&&(this[A(0x217)][A(0x1d0)](A(0x1e8),this[A(0x1f3)][A(0x1da)](this)),this[A(0x1d3)][A(0x1ca)](this[A(0x1e7)]+A(0x1e1)+this['_currentLocation'][A(0x1e7)]));}}
1
+ const a51h=a51d;function a51c(){const C=['2343710cmjmkS','bind','A\x20featureless\x20room','shield','equip','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','4263456bVvzlv','hasItem','enterRoom','initialEquipment','\x20in\x20your\x20inventory.','canEquip','18Epilct','leftHand','\x20from\x20player\x27s\x20inventory.','head','name','hear','Weapon','Hat','You\x20unequipped\x20','82DbyRaC','values','_inventory','category','toString','armarmor','toLowerCase','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','LegArmor','arm\x20armor','ArmArmor','addInventory','weapon','logger','inventory','129kxjovS','getInstance','currentLocation','\x20is\x20no\x20longer\x20listeng\x20in\x20','\x20slot.','legs','search','19073VSEaXM','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','arms','log','leaveRoom','helmet','determineEquipmentSlot','currentWeight','You\x20don\x27t\x20have\x20','hat','feet','_equipment','equipment','BodyArmor','2596500MJqvsc','(((.+)+)+)+$','Shield','torso','weight','_maxCarryingWeight','leg\x20armor','speak','body\x20armor','14272cuiHmp','inventoryItems','Invalid\x20category\x20or\x20slot:\x20','187824JuOFCy','removeItem','addItem','\x20is\x20now\x20listening\x20in\x20room\x20','\x20says:\x20\x22','constructor','maxCarryingWeight','startLocation','Removed\x20','write','removeInventory','_currentLocation','1679734sdZlbG','gloves','bodyarmor','rightHand','includes','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','\x20to\x20player\x27s\x20inventory.','Added\x20','You\x20can\x27t\x20equip\x20','error','boots','_playerName','unequipBySlot','.\x20You\x20must\x20unequip\x20it\x20first.'];a51c=function(){return C;};return a51c();}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x15d))/0x1*(parseInt(f(0x147))/0x2)+parseInt(f(0x156))/0x3*(-parseInt(f(0x174))/0x4)+-parseInt(f(0x16b))/0x5+parseInt(f(0x118))/0x6+parseInt(f(0x124))/0x7+parseInt(f(0x138))/0x8+parseInt(f(0x13e))/0x9*(-parseInt(f(0x132))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x6c935));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const g=a51d;return a51a[g(0x14b)]()[g(0x15c)](g(0x16c))['toString']()[g(0x11d)](a51a)[g(0x15c)](g(0x16c));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x116;let f=c[d];return f;},a51d(a,b);}import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51h(0x12f)];['_currentLocation'];[a51h(0x149)];['_equipment'];[a51h(0x170)]=0x32;[a51h(0x154)];constructor(a){const i=a51h;super(),this['_playerName']=a['playerName'],this[i(0x123)]=a[i(0x11f)]||new Room({'name':'Nexus','description':i(0x134)}),this[i(0x149)]=new Inventory(),this[i(0x154)]=Logger[i(0x157)]();if(a?.[i(0x116)])for(const b of a[i(0x116)]){this[i(0x149)][i(0x11a)](b);}this[i(0x168)]=a?.[i(0x13b)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0x142)](){const j=a51h;return this[j(0x12f)];}get[a51h(0x158)](){const k=a51h;return this[k(0x123)];}set['currentLocation'](a){const l=a51h;this['_currentLocation']!==a&&(this[l(0x161)](),this['enterRoom'](a)),this['_currentLocation']=a;}get[a51h(0x155)](){const m=a51h;return this[m(0x149)];}get['equipment'](){const n=a51h;return this[n(0x168)];}set[a51h(0x169)](a){const o=a51h;this[o(0x168)]=a;}get[a51h(0x11e)](){const p=a51h;return this[p(0x170)];}set[a51h(0x11e)](a){const q=a51h;a>0x0?this[q(0x170)]=a:console[q(0x12d)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const r=a51h;let a=this['_inventory']['getWeight']();for(const b in this['_equipment']){const c=this[r(0x168)][b];c&&(a+=c[r(0x16f)]);}return a;}[a51h(0x152)](a){const s=a51h;if(this[s(0x164)]+a[s(0x16f)]>this[s(0x11e)]){this['logger']['write'](s(0x137));throw new Error(s(0x15e));}this[s(0x149)][s(0x11a)](a),this[s(0x154)][s(0x121)](s(0x12b)+a[s(0x142)]+s(0x12a));}[a51h(0x122)](a){const t=a51h;if(this[t(0x149)][t(0x119)](a[t(0x142)]))return this['logger'][t(0x121)](t(0x120)+a[t(0x142)]+t(0x140)),!![];return this[t(0x154)][t(0x121)]('Failed\x20to\x20remove\x20'+a[t(0x142)]+t(0x140)),![];}[a51h(0x136)](a){const u=a51h;if(!this['_inventory'][u(0x139)](a['name']))return u(0x165)+a[u(0x142)]+u(0x13c);if(!this[u(0x13d)](a))return u(0x12c)+a['name']+'.';const b=this['determineEquipmentSlot'](a[u(0x14a)]);if(!b)return a[u(0x142)]+u(0x129);if(this[u(0x169)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+u(0x131);return this[u(0x169)][b]=a,this[u(0x122)](a),'You\x20equipped\x20'+a[u(0x142)]+'.';}['unequip'](a){const v=a51h;let b=a;if(!this[v(0x169)][camelCase(b)]){b=this[v(0x163)](a);if(!b)return v(0x117)+a+'.';}return this[v(0x130)](b);}[a51h(0x163)](a){const w=a51h;switch(a[w(0x14d)]()){case Category[w(0x144)][w(0x14d)]():return w(0x127);case Category[w(0x16d)][w(0x14d)]():return w(0x13f);case Category['Gloves'][w(0x14d)]():return w(0x125);case Category['Helmet']['toLowerCase']():case Category[w(0x145)][w(0x14d)]():return w(0x141);case Category['Boots']['toLowerCase']():return w(0x167);case Category[w(0x14f)][w(0x14d)]():return w(0x15b);case Category[w(0x151)]['toLowerCase']():return w(0x15f);case Category[w(0x16a)]['toLowerCase']():return w(0x16e);case w(0x153):return w(0x127);case w(0x135):return w(0x13f);case w(0x125):return w(0x125);case w(0x162):case w(0x166):return w(0x141);case w(0x12e):return w(0x167);case w(0x171):case'legarmor':return w(0x15b);case w(0x150):case w(0x14c):return'arms';case w(0x173):case w(0x126):case w(0x16e):return w(0x16e);default:return null;}}[a51h(0x13d)](a){const x=a51h;return Object[x(0x148)](Category)[x(0x128)](a[x(0x14a)]);}['unequipBySlot'](a){const y=a51h,b=this['equipment'][a];if(!b)return y(0x14e)+a+y(0x15a);return this[y(0x152)](b),this[y(0x169)][a]=null,y(0x146)+b[y(0x142)]+'.';}[a51h(0x143)](a,b){const z=a51h;a!==this&&this[z(0x154)][z(0x160)](a[z(0x142)]+z(0x11c)+b+'\x22');}[a51h(0x13a)](a){const A=a51h;this[A(0x123)]=a,a['on'](A(0x172),this['hear'][A(0x133)](this)),this[A(0x154)][A(0x121)](this[A(0x142)]+A(0x11b)+a[A(0x142)]);}[a51h(0x161)](){const B=a51h;this[B(0x123)]&&(this[B(0x123)]['off'](B(0x172),this[B(0x143)][B(0x133)](this)),this[B(0x154)][B(0x121)](this['name']+B(0x159)+this['_currentLocation']['name']));}}
@@ -1 +1 @@
1
- var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xbd))/0x1*(-parseInt(f(0xac))/0x2)+parseInt(f(0xa3))/0x3*(parseInt(f(0xc2))/0x4)+-parseInt(f(0xb9))/0x5+-parseInt(f(0xa1))/0x6*(-parseInt(f(0xab))/0x7)+-parseInt(f(0xb7))/0x8*(parseInt(f(0xba))/0x9)+-parseInt(f(0xad))/0xa*(-parseInt(f(0xa6))/0xb)+parseInt(f(0xa9))/0xc*(-parseInt(f(0xbc))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x9da24));function a52c(){var m=['8294qPUNQN','requiredItem','search','84UWieqd','Puzzle:\x20Correct\x20solution\x20provided.','7XyaFOO','8leuLIy','5510lTumLa','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','solve','constructor','hasRequiredItem','toString','solved','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','getInstance','rewardItem','8evuvwO','write','20625WqjaPM','4097358ikPvGm','logger','1425138XvNMvO','138896kdDCDw','You\x20solved\x20the\x20puzzle!','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','requiredPhrase','You\x20have\x20already\x20solved\x20this\x20puzzle.','376RLukxJ','(((.+)+)+)+$','successMessage','2728830nTjkRO','hasItem','14253lZEUkN','failureMessage','riddle'];a52c=function(){return m;};return a52c();}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0xb2)]()['search'](g(0xc3))[g(0xb2)]()[g(0xb0)](a52a)[g(0xa8)](g(0xc3));});a52a();function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xa0;var f=c[d];return f;},a52d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52h(0xbb)]=Logger[a52h(0xb5)]();[a52h(0xb3)]=![];[a52h(0xa7)];['requiredPhrase'];[a52h(0xa5)];[a52h(0xb6)];[a52h(0xa0)];[a52h(0xa4)];constructor(a){var i=a52h;super(),this['requiredItem']=a[i(0xa7)],this[i(0xc0)]=a[i(0xc0)],this['riddle']=a[i(0xa5)],this[i(0xb6)]=a[i(0xb6)],this[i(0xa0)]=a[i(0xa0)]||i(0xbe),this[i(0xa4)]=a['failureMessage']||i(0xbf);}[a52h(0xb1)](a){var j=a52h;if(this[j(0xa7)])return a[j(0xa2)](this[j(0xa7)]);return![];}['matchesRequiredPhrase'](a){var k=a52h;return this[k(0xc0)]===a;}[a52h(0xaf)](a,b){var l=a52h;if(this[l(0xb3)])return this[l(0xbb)]['write'](l(0xae)),{'success':![],'message':l(0xc1)};return this[l(0xb1)](b)||this['matchesRequiredPhrase'](a)?(this[l(0xb3)]=!![],this[l(0xbb)][l(0xb8)](l(0xaa)),{'success':!![],'message':this[l(0xa0)]}):(this['logger']['write'](l(0xb4)),{'success':![],'message':this[l(0xa4)]});}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xf1))/0x1*(-parseInt(f(0xe9))/0x2)+-parseInt(f(0xf5))/0x3*(parseInt(f(0xfb))/0x4)+-parseInt(f(0x100))/0x5*(parseInt(f(0xf4))/0x6)+-parseInt(f(0xef))/0x7+parseInt(f(0xfc))/0x8+parseInt(f(0xff))/0x9+parseInt(f(0xfa))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xd4031));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xe7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xf2)]()['search']('(((.+)+)+)+$')[h(0xf2)]()['constructor'](a52a)['search']('(((.+)+)+)+$');});a52a();import{Logger}from'../utilities/logger.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xe6;var f=c[d];return f;},a52d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger['getInstance']();[a52i(0xf7)]=![];[a52i(0xee)];[a52i(0xf8)];[a52i(0xe8)];[a52i(0xea)];['successMessage'];[a52i(0xec)];constructor(a){var j=a52i;super(),this['requiredItem']=a[j(0xee)],this['requiredPhrase']=a[j(0xf8)],this[j(0xe8)]=a[j(0xe8)],this['rewardItem']=a['rewardItem'],this[j(0xf9)]=a[j(0xf9)]||j(0xf6),this[j(0xec)]=a[j(0xec)]||j(0xfd);}[a52i(0xf0)](a){var k=a52i;if(this[k(0xee)])return a[k(0xe6)](this[k(0xee)]);return![];}[a52i(0xed)](a){var l=a52i;return this[l(0xf8)]===a;}['solve'](a,b){var m=a52i;if(this[m(0xf7)])return this[m(0xfe)][m(0xf3)](m(0x101)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this['hasRequiredItem'](b)||this[m(0xed)](a)?(this[m(0xf7)]=!![],this['logger'][m(0xf3)](m(0x102)),{'success':!![],'message':this[m(0xf9)]}):(this[m(0xfe)][m(0xf3)](m(0xeb)),{'success':![],'message':this[m(0xec)]});}}function a52c(){var n=['72612kQTQUv','7443064qjNuDa','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','logger','9228042waLpYl','5bnAibO','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','Puzzle:\x20Correct\x20solution\x20provided.','hasItem','apply','riddle','10AnWPgP','rewardItem','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','failureMessage','matchesRequiredPhrase','requiredItem','10652726ytxabP','hasRequiredItem','100279WBioPN','toString','write','9726036rzSifb','138qWThCw','You\x20solved\x20the\x20puzzle!','solved','requiredPhrase','successMessage','23891470UNfLbw'];a52c=function(){return n;};return a52c();}
@@ -1 +1 @@
1
- function a53c(){const u=['21cOyyOJ','\x20is\x20locked.\x20Result:\x20','attemptUnlock','NORTH','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','south','Checking\x20if\x20exit\x20in\x20direction\x20','SOUTH','1146tghZlE','\x20remains\x20locked.','.\x20Success:\x20','removeItem','write','search','4245696hAcviY','addItem','getOppositeDirection','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','2398095BIEguE','8091JmhxVS','Room\x20created:\x20','roomType','859512LhXPVS','apply','INSIDE','Item\x20removed\x20from\x20room\x20','get','speak','WEST','roomA','Puzzle\x20set\x20for\x20room\x20','inventory','getInstance','name','say','emit','checkIfLocked','isStartRoom','1880SplmCA','DOWN','values','riddle','roomB','Fetching\x20exit\x20in\x20direction:\x20','1850886qNrJlY','north','625858oIvXKa','findExistingDoor','538ImUoMS','toString','Item\x20added\x20to\x20room\x20','Invalid\x20direction:\x20','isExitLocked','No\x20locked\x20exit\x20found\x20in\x20direction\x20','logger','west','puzzle','description','exits','set','attemptUnlockExit','down','getExit','The\x20'];a53c=function(){return u;};return a53c();}const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x103))/0x1+-parseInt(f(0x105))/0x2*(parseInt(f(0xdd))/0x3)+parseInt(f(0xe3))/0x4+-parseInt(f(0xe7))/0x5+-parseInt(f(0x101))/0x6+-parseInt(f(0xd5))/0x7*(parseInt(f(0xeb))/0x8)+parseInt(f(0xe8))/0x9*(parseInt(f(0xfb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x9d02f));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0xe2)]('(((.+)+)+)+$')[h(0x106)]()['constructor'](a53a)[h(0xe2)]('(((.+)+)+)+$');});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xcc;let f=c[d];return f;},a53d(a,b);}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger[a53i(0xf5)]();[a53i(0xf6)];[a53i(0xce)];['exits']=new Map();[a53i(0xea)];[a53i(0xfa)];[a53i(0xf4)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0xf6)]=a[j(0xf6)],this[j(0xce)]=a[j(0xce)],this[j(0xea)]=a[j(0xea)]||RoomType[j(0xed)],a[j(0xcf)]&&(this[j(0xcf)]=a[j(0xcf)]||new Map()),a[j(0xf4)]&&(this['inventory']=a['inventory']),a[j(0xcd)]&&(this[j(0xcd)]=a[j(0xcd)]),this['isStartRoom']=a[j(0xfa)]||![],this[j(0x10b)]['write'](j(0xe9)+this[j(0xf6)]);}[a53i(0xf7)](a,b){const k=a53i;this[k(0xf8)](k(0xf0),a,b);}['addExit'](a,b,c){const l=a53i;let d=this[l(0x104)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0xcf)][l(0xd0)](a,d),b[l(0xcf)][l(0xd0)](this[l(0xe5)](a),d);}[a53i(0xd1)](a,b){const m=a53i,c=this[m(0xcf)][m(0xef)](a);if(c instanceof Door){const d=c[m(0xd7)](b);return this[m(0x10b)][m(0xe1)](m(0xd9)+a+m(0xdf)+d),d?m(0xd4)+c[m(0xf6)]+'\x20unlocked!':m(0xd4)+c['name']+m(0xde);}return this[m(0x10b)][m(0xe1)](m(0x10a)+a),m(0xe6);}[a53i(0xd3)](a){const n=a53i;return this[n(0x10b)][n(0xe1)](n(0x100)+a),this[n(0xcf)]['get'](a);}[a53i(0x109)](a){const o=a53i,b=this['exits'][o(0xef)](a),c=b instanceof Door&&b[o(0xf9)]();return this[o(0x10b)]['write'](o(0xdb)+a+o(0xd6)+c),c;}['addItem'](a){const p=a53i;this[p(0xf4)][p(0xe4)](a),this[p(0x10b)][p(0xe1)](p(0x107)+this[p(0xf6)]+':\x20'+a[p(0xf6)]);}[a53i(0xe0)](a){const q=a53i;this[q(0xf4)]['hasItem'](a[q(0xf6)])?(this['inventory'][q(0xe0)](a['name']),this[q(0x10b)][q(0xe1)](q(0xee)+this[q(0xf6)]+':\x20'+a[q(0xf6)])):this[q(0x10b)][q(0xe1)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0xf6)]+':\x20'+a[q(0xf6)]);}['setPuzzle'](a){const r=a53i;this[r(0xcd)]=a,this['logger'][r(0xe1)](r(0xf3)+this[r(0xf6)]+':\x20'+a[r(0xfe)]);}[a53i(0xe5)](a){const s=a53i;switch(a){case s(0x102):return Direction[s(0xdc)];case s(0xda):return Direction[s(0xd8)];case'east':return Direction[s(0xf1)];case s(0xcc):return Direction['EAST'];case'up':return Direction[s(0xfc)];case s(0xd2):return Direction['UP'];default:throw new Error(s(0x108)+a);}}[a53i(0x104)](a){const t=a53i;for(const b of this[t(0xcf)][t(0xfd)]()){if(b instanceof Door){if(b[t(0xf2)]===this&&b['roomB']===a||b[t(0xff)]===this&&b['roomA']===a)return b;}}return undefined;}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x117))/0x1+-parseInt(f(0x13b))/0x2*(parseInt(f(0x12a))/0x3)+-parseInt(f(0x113))/0x4+-parseInt(f(0x10d))/0x5*(-parseInt(f(0x111))/0x6)+parseInt(f(0x12c))/0x7*(parseInt(f(0x146))/0x8)+-parseInt(f(0x10f))/0x9+parseInt(f(0x114))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xe6d8c));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x10c)]()[h(0x147)]('(((.+)+)+)+$')['toString']()[h(0x132)](a53a)[h(0x147)]('(((.+)+)+)+$');});a53a();import{Logger}from'../utilities/logger.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x10b;let f=c[d];return f;},a53d(a,b);}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';function a53c(){const u=['56JNvDck','inventory','findExistingDoor','roomA','addItem','.\x20Success:\x20','constructor','riddle','name','values','getExit','attemptUnlockExit','attemptUnlock','No\x20locked\x20exit\x20found\x20in\x20direction\x20','set','72686yVggbc','get','\x20is\x20locked.\x20Result:\x20','SOUTH','getOppositeDirection','say','puzzle','hasItem','setPuzzle','west','logger','1136672ltzaCb','search','getInstance','isStartRoom','roomType','toString','5qTZiMz','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','5324022EDFfqS','NORTH','5409564qJeXdB','EAST','7241688RaSoaz','31278410tdgOAe','south','description','1237091wLSAYI','Checking\x20if\x20exit\x20in\x20direction\x20','Fetching\x20exit\x20in\x20direction:\x20','down','Room\x20created:\x20','checkIfLocked','speak','removeItem','Item\x20removed\x20from\x20room\x20','write','roomB','emit','The\x20','exits','isExitLocked','Item\x20added\x20to\x20room\x20','WEST','apply','DOWN','48pNomdo','east'];a53c=function(){return u;};return a53c();}export class Room extends AbstractRoom{[a53i(0x145)]=Logger[a53i(0x148)]();['name'];[a53i(0x116)];[a53i(0x124)]=new Map();[a53i(0x10b)];[a53i(0x149)];[a53i(0x12d)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x134)]=a['name'],this['description']=a['description'],this[j(0x10b)]=a[j(0x10b)]||RoomType['INSIDE'],a[j(0x124)]&&(this[j(0x124)]=a[j(0x124)]||new Map()),a['inventory']&&(this[j(0x12d)]=a['inventory']),a['puzzle']&&(this['puzzle']=a[j(0x141)]),this[j(0x149)]=a['isStartRoom']||![],this[j(0x145)]['write'](j(0x11b)+this[j(0x134)]);}[a53i(0x140)](a,b){const k=a53i;this[k(0x122)](k(0x11d),a,b);}['addExit'](a,b,c){const l=a53i;let d=this[l(0x12e)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x124)][l(0x13a)](a,d),b[l(0x124)]['set'](this['getOppositeDirection'](a),d);}[a53i(0x137)](a,b){const m=a53i,c=this[m(0x124)][m(0x13c)](a);if(c instanceof Door){const d=c[m(0x138)](b);return this[m(0x145)][m(0x120)](m(0x10e)+a+m(0x131)+d),d?m(0x123)+c[m(0x134)]+'\x20unlocked!':m(0x123)+c[m(0x134)]+'\x20remains\x20locked.';}return this[m(0x145)]['write'](m(0x139)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a53i(0x136)](a){const n=a53i;return this[n(0x145)]['write'](n(0x119)+a),this[n(0x124)]['get'](a);}[a53i(0x125)](a){const o=a53i,b=this[o(0x124)][o(0x13c)](a),c=b instanceof Door&&b[o(0x11c)]();return this[o(0x145)][o(0x120)](o(0x118)+a+o(0x13d)+c),c;}[a53i(0x130)](a){const p=a53i;this['inventory']['addItem'](a),this[p(0x145)]['write'](p(0x126)+this[p(0x134)]+':\x20'+a[p(0x134)]);}[a53i(0x11e)](a){const q=a53i;this[q(0x12d)][q(0x142)](a[q(0x134)])?(this[q(0x12d)][q(0x11e)](a[q(0x134)]),this[q(0x145)][q(0x120)](q(0x11f)+this[q(0x134)]+':\x20'+a[q(0x134)])):this[q(0x145)]['write']('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0x134)]+':\x20'+a['name']);}[a53i(0x143)](a){const r=a53i;this[r(0x141)]=a,this[r(0x145)]['write']('Puzzle\x20set\x20for\x20room\x20'+this[r(0x134)]+':\x20'+a[r(0x133)]);}[a53i(0x13f)](a){const s=a53i;switch(a){case'north':return Direction[s(0x13e)];case s(0x115):return Direction[s(0x110)];case s(0x12b):return Direction[s(0x127)];case s(0x144):return Direction[s(0x112)];case'up':return Direction[s(0x129)];case s(0x11a):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53i(0x12e)](a){const t=a53i;for(const b of this[t(0x124)][t(0x135)]()){if(b instanceof Door){if(b[t(0x12f)]===this&&b[t(0x121)]===a||b[t(0x121)]===this&&b[t(0x12f)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0xbb))/0x1+parseInt(i(0xdc))/0x2*(parseInt(i(0xbf))/0x3)+-parseInt(i(0xdf))/0x4+parseInt(i(0xc5))/0x5+parseInt(i(0xbc))/0x6*(-parseInt(i(0xb8))/0x7)+parseInt(i(0xe6))/0x8+parseInt(i(0xbd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x9a58f));function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xb7;let f=c[d];return f;},a54d(a,b);}function a54c(){const D=['currentLocation','addItemToRoom','Removed\x20room\x20from\x20scene:\x20','allActors','\x20is\x20now\x20in\x20room\x20','rooms','generateRoomsFromConfig','\x20to\x20room\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','addItem','search','Added\x20room\x20to\x20scene:\x20','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','24Brehyh','Failed\x20to\x20add\x20puzzle.\x20Room\x20','createExitsFromConfig','3097904HgaoeS','\x20found\x20in\x20the\x20scene.','length','determineStartRoom','addRoom','removeRoom','\x22\x20does\x20not\x20exist.','4169920fsdPMs','roomConfiguration','getCharacterLocation','Failed\x20to\x20set\x20','write','targetRoom','get','setCharacterLocation','constructor','push','getPlayer','from','addExit','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','actors','removeActor','.\x20Room\x20','logger','set','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','\x27s\x20location.\x20Room\x20','\x20already\x20exists\x20in\x20the\x20scene.','hasOwnProperty','connectRooms','getInstance','35UOkhqi','warn','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','980078PMQJiJ','823098IclEZt','9221760dMulAk','has','73944CymiUk','Room\x20\x22','values','(((.+)+)+)+$','name','exits','6155100NHSwtB','toString','player','roomFactory','characterLocations','Added\x20item\x20','apply','\x20not\x20found\x20in\x20scene.','join','keys'];a54c=function(){return D;};return a54c();}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a['toString']()[k(0xd9)](k(0xc2))[k(0xc6)]()[k(0xee)](a54a)['search']('(((.+)+)+)+$');});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0xd4)];[a54l(0xc7)];[a54l(0xf7)];[a54l(0xf4)];[a54l(0xc9)]=new Map();[a54l(0xc8)];constructor(a){const m=a54l;super(),this[m(0xc8)]=new RoomFactory(),this[m(0xc7)]=a[m(0xc7)],this[m(0xd4)]=this[m(0xd5)](a[m(0xe7)]),this['logger']=Logger[m(0xb7)](),this['actors']=new Map(),this[m(0xde)](a['roomConfiguration']),this['logger'][m(0xea)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0xce)](this[m(0xd4)])[m(0xcd)](',\x20'));}['initialize'](){const n=a54l;this[n(0xc7)][n(0xcf)]=this[n(0xe2)]();}[a54l(0xd5)](a){const o=a54l;if(!this['roomFactory'])throw new Error(o(0xf3));const b={};for(const c of a){const d=this[o(0xc8)]['createRoom'](c);b[c[o(0xc3)]]=d;}return b;}[a54l(0xde)](a){const p=a54l;for(const b of a){const c=this[p(0xd4)][b[p(0xc3)]];if(b[p(0xc4)])for(const d of b[p(0xc4)]){const e=d['direction']['toUpperCase'](),f=d[p(0xeb)],g=d['keyRequired'],h=this['rooms'][f];h&&c[p(0xf2)](Direction[e],h,g);}}}['addActor'](a){const q=a54l;if(this[q(0xf4)]['has'](a[q(0xc3)]))throw new Error('Actor\x20with\x20name\x20'+a['name']+q(0xfb));this[q(0xf4)][q(0xf8)](a['name'],a);}[a54l(0xf5)](a){const r=a54l;if(!this[r(0xf4)][r(0xbe)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0xe0));this[r(0xf4)]['delete'](a);}['getActor'](a){return this['actors']['get'](a);}get[a54l(0xd2)](){const s=a54l;return Array[s(0xf1)](this[s(0xf4)][s(0xc1)]());}[a54l(0xe3)](a){const t=a54l;this[t(0xd4)][a[t(0xc3)]]=a,this[t(0xf7)][t(0xea)](t(0xda)+a[t(0xc3)]);}[a54l(0xe4)](a){const u=a54l;return this['rooms'][a]?(delete this['rooms'][a],this[u(0xf7)]['write'](u(0xd1)+a),!![]):(this[u(0xf7)][u(0xea)](u(0xdb)+a),![]);}[a54l(0xd0)](a,b){const v=a54l,c=this[v(0xd4)][b];c?(c[v(0xd8)](a),this[v(0xf7)][v(0xea)](v(0xca)+a[v(0xc3)]+v(0xd6)+c[v(0xc3)])):this[v(0xf7)][v(0xea)]('Failed\x20to\x20add\x20item\x20'+a[v(0xc3)]+v(0xf6)+b+v(0xcc));}['addPuzzleToRoom'](a,b){const w=a54l,c=this[w(0xd4)][b];c?(c['setPuzzle'](a),this[w(0xf7)]['write']('Added\x20puzzle\x20to\x20room\x20'+c[w(0xc3)])):this['logger'][w(0xea)](w(0xdd)+b+w(0xcc));}[a54l(0xed)](a,b){const x=a54l,c=this[x(0xd4)][b];c?(this[x(0xc9)][x(0xf8)](a[x(0xc3)],c),this[x(0xf7)][x(0xea)](a['name']+x(0xd3)+c['name'])):this[x(0xf7)][x(0xea)](x(0xe9)+a[x(0xc3)]+x(0xfa)+b+x(0xcc));}[a54l(0xe8)](a){const y=a54l;return this[y(0xc9)][y(0xec)](a[y(0xc3)]);}['determineStartRoom'](){const z=a54l,a=[];for(const c in this[z(0xd4)]){if(this['rooms'][z(0xfc)](c)){const d=this['rooms'][c];d['isStartRoom']&&a[z(0xef)](d);}}if(a[z(0xe1)]>0x1)throw new Error(z(0xba));if(a['length']===0x1)return a[0x0];const b=Object[z(0xce)](this['rooms']);if(b['length']===0x0)throw new Error(z(0xf9));return console[z(0xb9)](z(0xd7)),this[z(0xd4)][b[0x0]];}[a54l(0xf0)](){const A=a54l;return this[A(0xc7)];}['getRooms'](){const B=a54l;return this[B(0xd4)];}[a54l(0xfd)](a,b,c,d){const C=a54l,e=this['rooms'][a],f=this[C(0xd4)][c];if(!e)throw new Error(C(0xc0)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(C(0xc0)+c+C(0xe5));e[C(0xf2)](b,f,d);}}
1
+ const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x92))/0x1+parseInt(i(0x9b))/0x2*(parseInt(i(0xcf))/0x3)+-parseInt(i(0xac))/0x4+-parseInt(i(0xc4))/0x5*(parseInt(i(0xcd))/0x6)+parseInt(i(0xc3))/0x7+parseInt(i(0xd0))/0x8+parseInt(i(0xd5))/0x9*(-parseInt(i(0xa8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xaf19a));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x98)]()[k(0xae)](k(0xc9))[k(0x98)]()[k(0xa5)](a54a)[k(0xae)](k(0xc9));});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x88;let f=c[d];return f;},a54d(a,b);}export class Scene extends AbstractScene{['rooms'];[a54l(0x97)];[a54l(0xa3)];['actors'];[a54l(0xd6)]=new Map();['roomFactory'];constructor(a){const m=a54l;super(),this[m(0xaa)]=new RoomFactory(),this[m(0x97)]=a['player'],this[m(0x88)]=this[m(0xb0)](a[m(0x9a)]),this[m(0xa3)]=Logger[m(0xbf)](),this['actors']=new Map(),this[m(0xc6)](a[m(0x9a)]),this[m(0xa3)][m(0x8c)](m(0x90)+Object[m(0xce)](this[m(0x88)])[m(0xc0)](',\x20'));}[a54l(0x89)](){const n=a54l;this[n(0x97)][n(0xb5)]=this[n(0xcb)]();}['generateRoomsFromConfig'](a){const o=a54l;if(!this[o(0xaa)])throw new Error(o(0x9e));const b={};for(const c of a){const d=this[o(0xaa)][o(0xa9)](c);b[c[o(0xb3)]]=d;}return b;}['createExitsFromConfig'](a){const p=a54l;for(const b of a){const c=this[p(0x88)][b['name']];if(b['exits'])for(const d of b[p(0x8d)]){const e=d['direction'][p(0xbc)](),f=d[p(0x8b)],g=d[p(0xb6)],h=this[p(0x88)][f];h&&c[p(0xd2)](Direction[e],h,g);}}}['addActor'](a){const q=a54l;if(this[q(0xbd)][q(0xad)](a[q(0xb3)]))throw new Error(q(0xc7)+a[q(0xb3)]+q(0xaf));this[q(0xbd)][q(0x9f)](a[q(0xb3)],a);}[a54l(0x91)](a){const r=a54l;if(!this['actors'][r(0xad)](a))throw new Error(r(0xb7)+a+r(0x95));this[r(0xbd)][r(0xa0)](a);}[a54l(0x9c)](a){const s=a54l;return this['actors'][s(0xd4)](a);}get['allActors'](){const t=a54l;return Array[t(0xd7)](this[t(0xbd)][t(0xd1)]());}[a54l(0xb2)](a){const u=a54l;this[u(0x88)][a[u(0xb3)]]=a,this[u(0xa3)]['write']('Added\x20room\x20to\x20scene:\x20'+a[u(0xb3)]);}[a54l(0xcc)](a){const v=a54l;return this[v(0x88)][a]?(delete this[v(0x88)][a],this[v(0xa3)][v(0x8c)](v(0xa4)+a),!![]):(this['logger'][v(0x8c)](v(0xa6)+a),![]);}[a54l(0xb8)](a,b){const w=a54l,c=this['rooms'][b];c?(c['addItem'](a),this[w(0xa3)][w(0x8c)]('Added\x20item\x20'+a['name']+'\x20to\x20room\x20'+c['name'])):this[w(0xa3)][w(0x8c)](w(0xa7)+a['name']+'.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0xab)](a,b){const x=a54l,c=this['rooms'][b];c?(c[x(0x99)](a),this[x(0xa3)][x(0x8c)](x(0xbe)+c[x(0xb3)])):this['logger'][x(0x8c)](x(0x93)+b+x(0xa1));}[a54l(0xc1)](a,b){const y=a54l,c=this['rooms'][b];c?(this['characterLocations'][y(0x9f)](a[y(0xb3)],c),this[y(0xa3)][y(0x8c)](a[y(0xb3)]+y(0xb9)+c[y(0xb3)])):this[y(0xa3)]['write'](y(0x8e)+a['name']+y(0x94)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x8a)](a){const z=a54l;return this[z(0xd6)][z(0xd4)](a[z(0xb3)]);}[a54l(0xcb)](){const A=a54l,a=[];for(const c in this[A(0x88)]){if(this[A(0x88)][A(0x8f)](c)){const d=this[A(0x88)][c];d[A(0x96)]&&a[A(0xc2)](d);}}if(a[A(0xc8)]>0x1)throw new Error(A(0xba));if(a[A(0xc8)]===0x1)return a[0x0];const b=Object[A(0xce)](this[A(0x88)]);if(b[A(0xc8)]===0x0)throw new Error(A(0xd3));return console['warn'](A(0xca)),this[A(0x88)][b[0x0]];}[a54l(0x9d)](){const B=a54l;return this[B(0x97)];}[a54l(0xb1)](){const C=a54l;return this[C(0x88)];}[a54l(0xa2)](a,b,c,d){const D=a54l,e=this[D(0x88)][a],f=this[D(0x88)][c];if(!e)throw new Error(D(0xb4)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error('Room\x20\x22'+c+D(0xc5));e[D(0xd2)](b,f,d);}}function a54c(){const E=['get','1701nipydc','characterLocations','from','rooms','initialize','getCharacterLocation','targetRoom','write','exits','Failed\x20to\x20set\x20','hasOwnProperty','Scene\x20initialized\x20with\x20rooms:\x20','removeActor','756225AUVxDH','Failed\x20to\x20add\x20puzzle.\x20Room\x20','\x27s\x20location.\x20Room\x20','\x20found\x20in\x20the\x20scene.','isStartRoom','player','toString','setPuzzle','roomConfiguration','6MeIFem','getActor','getPlayer','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','set','delete','\x20not\x20found\x20in\x20scene.','connectRooms','logger','Removed\x20room\x20from\x20scene:\x20','constructor','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','Failed\x20to\x20add\x20item\x20','46630nDrbgU','createRoom','roomFactory','addPuzzleToRoom','1825596FxvYyu','has','search','\x20already\x20exists\x20in\x20the\x20scene.','generateRoomsFromConfig','getRooms','addRoom','name','Room\x20\x22','currentLocation','keyRequired','No\x20actor\x20with\x20name\x20','addItemToRoom','\x20is\x20now\x20in\x20room\x20','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','apply','toUpperCase','actors','Added\x20puzzle\x20to\x20room\x20','getInstance','join','setCharacterLocation','push','7880838OReXWF','10wRdCmO','\x22\x20does\x20not\x20exist.','createExitsFromConfig','Actor\x20with\x20name\x20','length','(((.+)+)+)+$','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','determineStartRoom','removeRoom','2668242uBaKwN','keys','774222JaTeSK','2304392dtVqTT','values','addExit','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.'];a54c=function(){return E;};return a54c();}
@@ -1 +1 @@
1
- var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x7e))/0x1*(-parseInt(f(0xa9))/0x2)+parseInt(f(0x7a))/0x3+-parseInt(f(0x98))/0x4+parseInt(f(0x7b))/0x5+parseInt(f(0xa1))/0x6*(parseInt(f(0x83))/0x7)+parseInt(f(0x88))/0x8*(-parseInt(f(0x97))/0x9)+-parseInt(f(0x93))/0xa*(parseInt(f(0x9b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x41d76));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()['search'](h(0x8f))[h(0x9f)]()[h(0x9a)](a55a)['search'](h(0x8f));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Unknown'],'shape':Shape['Rectangle'],'color':Color[i(0x8a)],'texture':Texture[i(0x92)],'rating':Rating['Common'],'weight':0x1});}[a55j(0x8e)](){var k=a55j;return this[k(0x9e)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size[l(0x7d)],'category':Category['Weapon'],'shape':Shape[l(0xa7)],'color':Color[l(0xa8)],'texture':Texture[l(0x84)],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0x77)],'category':Category[m(0xa3)],'shape':Shape[m(0xa5)],'color':Color[m(0x80)],'texture':Texture['Metallic'],'rating':Rating[m(0x78)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x7d)],'category':Category[n(0x95)],'shape':Shape[n(0xa2)],'color':Color[n(0xa8)],'texture':Texture[n(0x84)],'rating':Rating[n(0x91)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size[o(0x77)],'category':Category[o(0x86)],'shape':Shape['Rectangle'],'color':Color[o(0xa8)],'texture':Texture['Metallic'],'rating':Rating[o(0x91)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0x7d)],'category':Category[p(0xa0)],'shape':Shape[p(0x9d)],'color':Color[p(0xa8)],'texture':Texture[p(0x84)],'rating':Rating[p(0x91)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x7d)],'category':Category['Boots'],'shape':Shape[q(0xa2)],'color':Color[q(0x80)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x90)],'category':Category[r(0x82)],'shape':Shape[r(0xa2)],'color':Color[r(0x80)],'texture':Texture[r(0x92)],'rating':Rating[r(0x91)],'weight':0x1});}}function a55c(){var D=['toString','LegArmor','16182Pmkxkx','Circle','Weapon','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Rifle','Unknown\x20Author','Blade','Grey','10oOUFuf','Short\x20Sword','Large','Rare','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','1364550QbLCYI','1930285IeYmiB','Cup','Medium','57397zbvCQe','author','Brown','You\x20hold\x20the\x20','Gloves','1295vklRkd','Metallic','pageCount','BodyArmor','Book','32zqXCMH','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Yellow','Tiny','Gold','Key','use','(((.+)+)+)+$','Small','Common','Smooth','1322570jHtKOD','Sniper\x20Rifle','Helmet','apply','1154187DyLokh','202548dNSvrG','\x20aloft,\x20feeling\x20its\x20immense\x20power.','constructor','66OGvWXV','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Rectangle','description'];a55c=function(){return D;};return a55c();}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x76;var f=c[d];return f;},a55d(a,b);}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x7d)],'category':Category['ArmArmor'],'shape':Shape['Rectangle'],'color':Color[s(0xa8)],'texture':Texture[s(0x84)],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x8b)],'category':Category[t(0x8d)],'shape':Shape['Rectangle'],'color':Color[t(0x8a)],'texture':Texture[t(0x92)],'rating':Rating[t(0x91)],'weight':0x0});}[a55j(0x8e)](){var u=a55j;return u(0x79);}}export class Weapon extends Item{constructor(a,b){var v=a55j;super({'name':a,'description':b,'size':Size[v(0x7d)],'category':Category[v(0xa3)],'shape':Shape[v(0xa7)],'color':Color[v(0xa8)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}[a55j(0x8e)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class Book extends Item{[a55j(0x7f)];['publishDate'];[a55j(0x85)];constructor(a,b='A\x20mysterious\x20book.',c=a55j(0xa6)){var w=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[w(0x87)],'shape':Shape[w(0x9d)],'color':Color[w(0x80)],'texture':Texture['Smooth'],'rating':Rating[w(0x91)],'weight':0x1}),this['author']=c,this['publishDate']=new Date(),this[w(0x85)]=0x64;}[a55j(0x8e)](){return'There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22';}}export class ShortSword extends Item{constructor(){var x=a55j;super({'name':x(0x76),'description':x(0x89),'size':Size[x(0x7d)],'category':Category[x(0xa3)],'shape':Shape[x(0xa7)],'color':Color[x(0xa8)],'texture':Texture['Metallic'],'rating':Rating[x(0x91)],'weight':0x3});}[a55j(0x8e)](){var y=a55j;return y(0x9c);}}export class SniperRifle extends Item{constructor(){var z=a55j;super({'name':z(0x94),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[z(0x77)],'category':Category[z(0xa3)],'shape':Shape[z(0xa5)],'color':Color['Brown'],'texture':Texture[z(0x92)],'rating':Rating[z(0x91)],'weight':0x5});}['use'](){var A=a55j;return A(0xa4);}}export class HolyGrail extends Item{constructor(){var B=a55j;super({'name':'Holy\x20Grail','description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size['Small'],'category':Category[B(0x7c)],'shape':Shape[B(0xa2)],'color':Color[B(0x8c)],'texture':Texture[B(0x84)],'rating':Rating['Legendary'],'weight':0x1});}[a55j(0x8e)](){var C=a55j;return C(0x81)+this['name']+C(0x99);}}
1
+ var a55s=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x14e))/0x1+parseInt(f(0x151))/0x2+parseInt(f(0x13e))/0x3*(parseInt(f(0x155))/0x4)+parseInt(f(0x129))/0x5*(parseInt(f(0x142))/0x6)+-parseInt(f(0x156))/0x7+-parseInt(f(0x150))/0x8*(-parseInt(f(0x131))/0x9)+-parseInt(f(0x135))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xc0c5f));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x15a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x13d)]()[h(0x153)](h(0x148))[h(0x13d)]()['constructor'](a55a)['search'](h(0x148));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size[i(0x154)],'category':Category['Unknown'],'shape':Shape['Rectangle'],'color':Color[i(0x152)],'texture':Texture['Smooth'],'rating':Rating[i(0x145)],'weight':0x1});}['use'](){return this['description'];}}export class Sword extends Item{constructor(a,b){var j=a55d;super({'name':a,'description':b,'size':Size[j(0x154)],'category':Category[j(0x143)],'shape':Shape[j(0x14f)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}}function a55c(){var D=['6crUFQz','name','Grey','Holy\x20Grail','18Ffytvq','Weapon','publishDate','Common','Unknown\x20Author','Key','(((.+)+)+)+$','Rifle','BodyArmor','Metallic','author','Sniper\x20Rifle','404fVZwDv','Blade','4345840msgYfd','2864988iBUDGV','Yellow','search','Medium','332564SLdPAx','3007998MYShXC','You\x20hold\x20the\x20','Book','Large','apply','Circle','404735FTQKdA','pageCount','Brown','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','ArmArmor','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Small','9kLriYi','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','A\x20mysterious\x20book.','Smooth','11659380qQVreS','Rectangle','LegArmor','Short\x20Sword','Gloves','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','use','Rare','toString'];a55c=function(){return D;};return a55c();}export class Rifle extends Item{constructor(a,b){var k=a55d;super({'name':a,'description':b,'size':Size[k(0x159)],'category':Category[k(0x143)],'shape':Shape[k(0x149)],'color':Color['Brown'],'texture':Texture[k(0x14b)],'rating':Rating[k(0x13c)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var l=a55d;super({'name':a,'description':b,'size':Size[l(0x154)],'category':Category['Helmet'],'shape':Shape[l(0x15b)],'color':Color[l(0x140)],'texture':Texture[l(0x14b)],'rating':Rating[l(0x145)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var m=a55d;super({'name':a,'description':b,'size':Size[m(0x159)],'category':Category[m(0x14a)],'shape':Shape[m(0x136)],'color':Color[m(0x140)],'texture':Texture[m(0x14b)],'rating':Rating[m(0x145)],'weight':0xa});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x129;var f=c[d];return f;},a55d(a,b);}export class LegArmor extends Item{constructor(a,b){var n=a55d;super({'name':a,'description':b,'size':Size[n(0x154)],'category':Category[n(0x137)],'shape':Shape[n(0x136)],'color':Color[n(0x140)],'texture':Texture['Metallic'],'rating':Rating[n(0x145)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var o=a55d;super({'name':a,'description':b,'size':Size[o(0x154)],'category':Category['Boots'],'shape':Shape[o(0x15b)],'color':Color[o(0x12b)],'texture':Texture[o(0x134)],'rating':Rating[o(0x145)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var p=a55d;super({'name':a,'description':b,'size':Size['Small'],'category':Category[p(0x139)],'shape':Shape[p(0x15b)],'color':Color[p(0x12b)],'texture':Texture[p(0x134)],'rating':Rating[p(0x145)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var q=a55d;super({'name':a,'description':b,'size':Size[q(0x154)],'category':Category[q(0x12d)],'shape':Shape[q(0x136)],'color':Color['Grey'],'texture':Texture[q(0x14b)],'rating':Rating[q(0x145)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var r=a55d;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category[r(0x147)],'shape':Shape['Rectangle'],'color':Color[r(0x152)],'texture':Texture[r(0x134)],'rating':Rating['Common'],'weight':0x0});}[a55s(0x13b)](){var t=a55s;return t(0x12e);}}export class Weapon extends Item{constructor(a,b){var u=a55s;super({'name':a,'description':b,'size':Size[u(0x154)],'category':Category[u(0x143)],'shape':Shape[u(0x14f)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[u(0x145)],'weight':0x3});}[a55s(0x13b)](){var v=a55s;return v(0x12c);}}export class Book extends Item{[a55s(0x14c)];[a55s(0x144)];[a55s(0x12a)];constructor(a,b=a55s(0x133),c=a55s(0x146)){var w=a55s;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[w(0x158)],'shape':Shape[w(0x136)],'color':Color[w(0x12b)],'texture':Texture[w(0x134)],'rating':Rating['Common'],'weight':0x1}),this[w(0x14c)]=c,this[w(0x144)]=new Date(),this[w(0x12a)]=0x64;}[a55s(0x13b)](){return'There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22';}}export class ShortSword extends Item{constructor(){var x=a55s;super({'name':x(0x138),'description':x(0x13a),'size':Size[x(0x154)],'category':Category[x(0x143)],'shape':Shape[x(0x14f)],'color':Color[x(0x140)],'texture':Texture[x(0x14b)],'rating':Rating[x(0x145)],'weight':0x3});}['use'](){var y=a55s;return y(0x12c);}}export class SniperRifle extends Item{constructor(){var z=a55s;super({'name':z(0x14d),'description':z(0x12f),'size':Size[z(0x159)],'category':Category[z(0x143)],'shape':Shape[z(0x149)],'color':Color[z(0x12b)],'texture':Texture[z(0x134)],'rating':Rating[z(0x145)],'weight':0x5});}['use'](){var A=a55s;return A(0x132);}}export class HolyGrail extends Item{constructor(){var B=a55s;super({'name':B(0x141),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[B(0x130)],'category':Category['Cup'],'shape':Shape[B(0x15b)],'color':Color['Gold'],'texture':Texture[B(0x14b)],'rating':Rating['Legendary'],'weight':0x1});}[a55s(0x13b)](){var C=a55s;return C(0x157)+this[C(0x13f)]+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}