@maka/maka-cli 4.12.1 → 4.12.3

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 (155) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/patreon.js +1 -1
  84. package/bundle/obf/src/commands/profile.js +1 -1
  85. package/bundle/obf/src/commands/proxy.js +1 -1
  86. package/bundle/obf/src/commands/reconfig.js +1 -1
  87. package/bundle/obf/src/commands/register.js +1 -1
  88. package/bundle/obf/src/commands/run/_index.js +1 -1
  89. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/run/run.command.js +1 -1
  91. package/bundle/obf/src/commands/set/_index.js +1 -1
  92. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  94. package/bundle/obf/src/commands/set/set.command.js +1 -1
  95. package/bundle/obf/src/commands/ssh.js +1 -1
  96. package/bundle/obf/src/commands/ssl.js +1 -1
  97. package/bundle/obf/src/commands/test.js +1 -1
  98. package/bundle/obf/src/commands/undo.js +1 -1
  99. package/bundle/obf/src/commands/version.js +1 -1
  100. package/bundle/obf/src/error.js +1 -1
  101. package/bundle/obf/src/exec.js +1 -1
  102. package/bundle/obf/src/generator.js +1 -1
  103. package/bundle/obf/src/generators/_index.js +1 -1
  104. package/bundle/obf/src/generators/api.js +1 -1
  105. package/bundle/obf/src/generators/collection.js +1 -1
  106. package/bundle/obf/src/generators/component.js +1 -1
  107. package/bundle/obf/src/generators/config.js +1 -1
  108. package/bundle/obf/src/generators/dbc.js +1 -1
  109. package/bundle/obf/src/generators/dockerfile.js +1 -1
  110. package/bundle/obf/src/generators/hook.js +1 -1
  111. package/bundle/obf/src/generators/kits/_index.js +1 -1
  112. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  114. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  115. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  116. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  117. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  118. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  119. package/bundle/obf/src/generators/kits/kit.js +1 -1
  120. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  124. package/bundle/obf/src/generators/layout.js +1 -1
  125. package/bundle/obf/src/generators/maka.gen.js +1 -1
  126. package/bundle/obf/src/generators/methods.js +1 -1
  127. package/bundle/obf/src/generators/package.js +1 -1
  128. package/bundle/obf/src/generators/page.js +1 -1
  129. package/bundle/obf/src/generators/publish.js +1 -1
  130. package/bundle/obf/src/generators/route.js +1 -1
  131. package/bundle/obf/src/generators/service.js +1 -1
  132. package/bundle/obf/src/generators/services/_index.js +1 -1
  133. package/bundle/obf/src/generators/services/openssl.js +1 -1
  134. package/bundle/obf/src/generators/services/translation.js +1 -1
  135. package/bundle/obf/src/maka.js +1 -1
  136. package/bundle/obf/src/tool.js +1 -1
  137. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  138. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  139. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  141. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  142. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  143. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/https/https.class.js +1 -1
  145. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  146. package/bundle/obf/src/tools/log/log.class.js +1 -1
  147. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/options/options.class.js +1 -1
  149. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  150. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  151. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  153. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  154. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  155. package/package.json +1 -1
@@ -1 +1 @@
1
- const a36i=a36d;function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1df;let f=c[d];return f;},a36d(a,b);}(function(a,b){const g=a36d,c=a();while(!![]){try{const d=parseInt(g(0x1f4))/0x1+-parseInt(g(0x1e8))/0x2+parseInt(g(0x1e7))/0x3*(parseInt(g(0x1fb))/0x4)+-parseInt(g(0x1f9))/0x5+parseInt(g(0x1f2))/0x6+-parseInt(g(0x1e2))/0x7*(-parseInt(g(0x1ef))/0x8)+-parseInt(g(0x1e5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xbc96d));const a36b=(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;};}()),a36a=a36b(this,function(){const h=a36d;return a36a[h(0x1f0)]()[h(0x1f3)](h(0x1e0))[h(0x1f0)]()[h(0x1f1)](a36a)[h(0x1f3)](h(0x1e0));});a36a();import{Command}from'./command.js';export class SayCommand extends Command{static [a36i(0x1f8)]=a36i(0x1e9);static [a36i(0x1ec)]='Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.';[a36i(0x1fe)];constructor(a){const j=a36i;super(a),this[j(0x1fe)]=a;}[a36i(0x1e4)](a){const k=a36i;if(a[k(0x1ea)]===0x0)return k(0x1eb);const b=a['join']('\x20'),c=this[k(0x1f5)],d=this[k(0x1fe)]['scene'];if(!d)return this['logger'][k(0x1ee)](k(0x1df)),k(0x1ed);const e=d[k(0x1e1)][k(0x1fd)](f=>f['currentLocation']===c[k(0x1e3)]);for(const f of e){this[k(0x1fc)][k(0x1ee)](c[k(0x1e6)]+k(0x1fa)+f[k(0x1e6)]+k(0x1f6)+b+'\x22'),this['actor']['currentLocation'][k(0x1e9)](f,b);}return k(0x1f7)+b+'\x22';}}function a36c(){const l=['name','6snnLcB','548430KelkAw','say','length','What\x20do\x20you\x20want\x20to\x20say?','description','An\x20error\x20occurred.','log','14888FVMsGO','toString','constructor','1499214qpELGk','search','1462499YqVZSk','actor',':\x20\x22','You\x20say:\x20\x22','verb','5298670sCEyRQ','\x20says\x20to\x20','832460BqiEjf','logger','filter','context','Scene\x20is\x20missing\x20from\x20context.','(((.+)+)+)+$','allActors','2653GWehfK','currentLocation','execute','6547563PLTwLJ'];a36c=function(){return l;};return a36c();}
1
+ const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=-parseInt(g(0x174))/0x1+parseInt(g(0x184))/0x2+parseInt(g(0x168))/0x3+parseInt(g(0x16c))/0x4+parseInt(g(0x186))/0x5*(parseInt(g(0x17b))/0x6)+parseInt(g(0x177))/0x7*(parseInt(g(0x17e))/0x8)+-parseInt(g(0x16e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xbf29d));function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x168;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(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a['toString']()[i(0x182)](i(0x183))['toString']()[i(0x171)](a36a)[i(0x182)](i(0x183));});a36a();function a36c(){const m=['344024gzKafd','apply','logger','728dZKMvR','say','join','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','1684248dMpVTB','verb',':\x20\x22','93184EiTpKd','Scene\x20is\x20missing\x20from\x20context.','description','execute','search','(((.+)+)+)+$','1687934pqLLJu','actor','10vgkxGD','2359068KErQMN','scene','What\x20do\x20you\x20want\x20to\x20say?','filter','2269812itupPr','log','25591995bqcVbW','You\x20say:\x20\x22','context','constructor','name','currentLocation'];a36c=function(){return m;};return a36c();}import{Command}from'./command.js';export class SayCommand extends Command{static [a36j(0x17c)]=a36j(0x178);static [a36j(0x180)]=a36j(0x17a);['context'];constructor(a){const k=a36j;super(a),this[k(0x170)]=a;}[a36j(0x181)](a){const l=a36j;if(a['length']===0x0)return l(0x16a);const b=a[l(0x179)]('\x20'),c=this[l(0x185)],d=this['context'][l(0x169)];if(!d)return this[l(0x176)]['log'](l(0x17f)),'An\x20error\x20occurred.';const e=d['allActors'][l(0x16b)](f=>f[l(0x173)]===c[l(0x173)]);for(const f of e){this[l(0x176)][l(0x16d)](c[l(0x172)]+'\x20says\x20to\x20'+f[l(0x172)]+l(0x17d)+b+'\x22'),this[l(0x185)]['currentLocation']['say'](f,b);}return l(0x16f)+b+'\x22';}}
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x1b5))/0x1+parseInt(f(0x1be))/0x2*(parseInt(f(0x1c1))/0x3)+parseInt(f(0x1b1))/0x4+parseInt(f(0x1ba))/0x5+parseInt(f(0x1c3))/0x6*(-parseInt(f(0x1c9))/0x7)+parseInt(f(0x1b2))/0x8+-parseInt(f(0x1c0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x302cd));function a37c(){const k=['145234WqYHJF','name','1915551FqxTmz','3rTUbok','verb','6zzHRUV','actor','You\x20search\x20the\x20area\x20and\x20find:\x20','length','\x20found\x20the\x20following\x20items:\x20','toString','2177399FGLOpO','join','apply','execute','inventory','search','constructor','1411164yvWFoJ','1871440gPKKXI','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','currentLocation','59229wbPePs','write','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','SearchCommand:\x20','(((.+)+)+)+$','605560JHtUSu','Search\x20for\x20items\x20in\x20your\x20area','description','logger'];a37c=function(){return k;};return a37c();}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x1c8)]()[h(0x1af)](h(0x1b9))[h(0x1c8)]()[h(0x1b0)](a37a)[h(0x1af)](h(0x1b9));});a37a();import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1ae;let f=c[d];return f;},a37d(a,b);}export class SearchCommand extends Command{static [a37i(0x1c2)]='search';static [a37i(0x1bc)]=a37i(0x1bb);[a37i(0x1cc)](){const j=a37i,a=this['actor'][j(0x1b4)][j(0x1ae)]['listItems']();if(a[j(0x1c6)]===0x0)return this[j(0x1bd)][j(0x1b6)](j(0x1b8)+this['actor'][j(0x1bf)]+j(0x1b7)),j(0x1b3);const b=a[j(0x1ca)](',\x20');return this[j(0x1bd)][j(0x1b6)]('SearchCommand:\x20'+this[j(0x1c4)][j(0x1bf)]+j(0x1c7)+b),j(0x1c5)+b;}}
1
+ const a37i=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xd8;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0xee))/0x1*(parseInt(f(0xf0))/0x2)+parseInt(f(0xd9))/0x3+parseInt(f(0xea))/0x4*(-parseInt(f(0xe2))/0x5)+parseInt(f(0xeb))/0x6*(parseInt(f(0xef))/0x7)+-parseInt(f(0xe6))/0x8+parseInt(f(0xdd))/0x9+parseInt(f(0xe7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xa99f4));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xde)]()[h(0xe3)]('(((.+)+)+)+$')[h(0xde)]()[h(0xe9)](a37a)[h(0xe3)]('(((.+)+)+)+$');});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0xe1)]='search';static [a37i(0xe5)]='Search\x20for\x20items\x20in\x20your\x20area';['execute'](){const j=a37i,a=this['actor'][j(0xf2)][j(0xdf)]['listItems']();if(a[j(0xed)]===0x0)return this['logger'][j(0xf1)](j(0xf3)+this[j(0xdb)][j(0xe8)]+j(0xdc)),j(0xd8);const b=a[j(0xda)](',\x20');return this['logger'][j(0xf1)](j(0xf3)+this['actor']['name']+j(0xe4)+b),j(0xe0)+b;}}function a37c(){const k=['currentLocation','SearchCommand:\x20','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','2018757jlNyGy','join','actor','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','1455552HUptoX','toString','inventory','You\x20search\x20the\x20area\x20and\x20find:\x20','verb','20IVGFOr','search','\x20found\x20the\x20following\x20items:\x20','description','3964424bTGytJ','9482920DdiOwf','name','constructor','990908yAgPwP','36ZImsYL','apply','length','14qAwblP','34097nvipUx','52724eICHWk','write'];a37c=function(){return k;};return a37c();}
@@ -1 +1 @@
1
- const a38h=a38d;function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x10b;let f=c[d];return f;},a38d(a,b);}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x10f))/0x1*(-parseInt(f(0x114))/0x2)+parseInt(f(0x11b))/0x3+parseInt(f(0x125))/0x4+parseInt(f(0x117))/0x5*(parseInt(f(0x111))/0x6)+-parseInt(f(0x124))/0x7+parseInt(f(0x110))/0x8+-parseInt(f(0x10c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x4294d));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(0x10d)]()[g(0x112)](g(0x11c))[g(0x10d)]()[g(0x11d)](a38a)[g(0x112)]('(((.+)+)+)+$');});a38a();import{Command}from'./command.js';function a38c(){const j=['logger','inventory','Attempt\x20to\x20solve\x20a\x20puzzle.','2381750kSUENb','207160gishie','currentLocation','actor','2610693RtUwaK','toString','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','54265ykEMHA','722800LWFEOq','2730MSHCJa','search','write','10yazIAv','addItem','verb','4215ZTmZTH','description','message','toLowerCase','318042khlZeg','(((.+)+)+)+$','constructor','solve','puzzle','rewardItem'];a38c=function(){return j;};return a38c();}export class SolveCommand extends Command{static [a38h(0x116)]=a38h(0x11e);static [a38h(0x118)]=a38h(0x123);['execute'](a){const i=a38h,b=a['join']('\x20')[i(0x11a)](),c=this[i(0x10b)][i(0x126)];if(!c||!c['puzzle'])return this['logger'][i(0x113)](i(0x10e)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c['puzzle'][i(0x11e)](b,this[i(0x10b)][i(0x122)]);return d['success']&&c[i(0x11f)][i(0x120)]&&this[i(0x10b)][i(0x122)][i(0x115)](c[i(0x11f)][i(0x120)]),this[i(0x121)][i(0x113)]('SolveCommand:\x20'+d[i(0x119)]),d[i(0x119)];}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x83))/0x1*(-parseInt(f(0x72))/0x2)+parseInt(f(0x7c))/0x3*(-parseInt(f(0x6a))/0x4)+-parseInt(f(0x6f))/0x5+parseInt(f(0x6e))/0x6+-parseInt(f(0x69))/0x7+parseInt(f(0x75))/0x8*(parseInt(f(0x6d))/0x9)+parseInt(f(0x80))/0xa*(parseInt(f(0x67))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x21bb6));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x6c)]()[h(0x7e)](h(0x6b))[h(0x6c)]()[h(0x70)](a38a)['search'](h(0x6b));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x66;let f=c[d];return f;},a38d(a,b);}a38a();import{Command}from'./command.js';function a38c(){const k=['20ReveDs','(((.+)+)+)+$','toString','188442cwzhPS','1007646HsORRL','1193960zIdeWm','constructor','write','946JULZUU','message','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','24WyUlCU','execute','solve','puzzle','join','Attempt\x20to\x20solve\x20a\x20puzzle.','rewardItem','65301eWKvVF','actor','search','currentLocation','10nDZmhb','inventory','addItem','75NiNNOu','apply','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','success','2891119YnMtIc','verb','302862HXHdnV'];a38c=function(){return k;};return a38c();}export class SolveCommand extends Command{static [a38i(0x68)]=a38i(0x77);static ['description']=a38i(0x7a);[a38i(0x76)](a){const j=a38i,b=a[j(0x79)]('\x20')['toLowerCase'](),c=this[j(0x7d)][j(0x7f)];if(!c||!c[j(0x78)])return this['logger']['write'](j(0x74)),j(0x85);const d=c[j(0x78)][j(0x77)](b,this['actor'][j(0x81)]);return d[j(0x66)]&&c[j(0x78)][j(0x7b)]&&this[j(0x7d)][j(0x81)][j(0x82)](c['puzzle']['rewardItem']),this['logger'][j(0x71)]('SolveCommand:\x20'+d[j(0x73)]),d[j(0x73)];}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x124))/0x1+parseInt(f(0x12c))/0x2+-parseInt(f(0x120))/0x3*(-parseInt(f(0x13a))/0x4)+parseInt(f(0x128))/0x5*(parseInt(f(0x126))/0x6)+-parseInt(f(0x129))/0x7*(-parseInt(f(0x133))/0x8)+parseInt(f(0x11e))/0x9*(-parseInt(f(0x13e))/0xa)+-parseInt(f(0x144))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x57050));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x142)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x134)](h(0x132))['toString']()[h(0x11d)](a39a)['search'](h(0x132));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a39i(0x127);static ['description']=a39i(0x136);['execute'](a){const j=a39i;return this['logger'][j(0x13d)](j(0x11c)+a[j(0x137)]('\x20')),this[j(0x127)](a);}['take'](a){const k=a39i,b=a[k(0x137)]('\x20')[k(0x12e)](),c=this[k(0x122)][k(0x13c)];if(!c[k(0x12f)]['hasItem'](b))return this[k(0x13b)][k(0x13d)](k(0x123)+b+k(0x135)+c['name']+'\x20during\x20\x27Take\x27\x20command.'),k(0x12d)+b+k(0x13f);const d=c[k(0x12f)][k(0x140)](b);if(!d)return this[k(0x13b)][k(0x13d)](k(0x123)+b+k(0x11f)+c[k(0x12b)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x12d)+b+k(0x13f);try{return this[k(0x122)][k(0x125)](d),this['logger']['write']('Successfully\x20added\x20\x22'+b+k(0x139)+this[k(0x122)][k(0x12b)]+k(0x131)),c[k(0x12f)][k(0x130)](b),this[k(0x13b)][k(0x13d)](k(0x141)+b+'\x22\x20from\x20'+c[k(0x12b)]+k(0x145)),k(0x121)+b+'.';}catch(e){return this['logger'][k(0x13d)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x12a)]),k(0x143)+b+k(0x138);}}}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x11c;let f=c[d];return f;},a39d(a,b);}function a39c(){const l=['constructor','36upZwct','\x22\x20not\x20retrieved\x20from\x20','3fxHerf','You\x20have\x20taken\x20the\x20','actor','Item\x20\x22','444212MzfzlL','addInventory','1002BzYcvr','take','7065RJFUEc','7lHAxUl','message','name','615966SkqBnh','There\x20is\x20no\x20item\x20\x22','toLowerCase','inventory','removeItem','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','(((.+)+)+)+$','5408360NskoYB','search','\x22\x20not\x20found\x20in\x20','Pick\x20up\x20an\x20item.','join','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x22\x20to\x20','1320164CDasZF','logger','currentLocation','write','117460qhPMiO','\x22\x20in\x20this\x20room.','getItem','Successfully\x20removed\x20\x22','apply','The\x20item\x20\x22','17499196kBgjEh','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'];a39c=function(){return l;};return a39c();}
1
+ const a39i=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xad;let f=c[d];return f;},a39d(a,b);}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0xc6))/0x1+parseInt(f(0xb3))/0x2*(-parseInt(f(0xae))/0x3)+parseInt(f(0xad))/0x4*(parseInt(f(0xcb))/0x5)+parseInt(f(0xcf))/0x6*(-parseInt(f(0xb7))/0x7)+-parseInt(f(0xc2))/0x8+parseInt(f(0xc5))/0x9*(-parseInt(f(0xc4))/0xa)+parseInt(f(0xc3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x84897));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0xd2)]()[h(0xc9)]('(((.+)+)+)+$')[h(0xd2)]()[h(0xc0)](a39a)[h(0xc9)](h(0xbe));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0xc1)]=a39i(0xbd);static [a39i(0xb8)]=a39i(0xd5);[a39i(0xaf)](a){const j=a39i;return this[j(0xd4)][j(0xce)](j(0xd7)+a['join']('\x20')),this['take'](a);}[a39i(0xbd)](a){const k=a39i,b=a[k(0xc7)]('\x20')[k(0xb6)](),c=this['actor'][k(0xbf)];if(!c[k(0xba)]['hasItem'](b))return this['logger'][k(0xce)]('Item\x20\x22'+b+'\x22\x20not\x20found\x20in\x20'+c[k(0xcd)]+k(0xb2)),k(0xd0)+b+k(0xd8);const d=c[k(0xba)]['getItem'](b);if(!d)return this['logger'][k(0xce)](k(0xcc)+b+k(0xc8)+c[k(0xcd)]+k(0xbb)),k(0xd0)+b+k(0xd8);try{return this['actor']['addInventory'](d),this['logger'][k(0xce)](k(0xd6)+b+k(0xb5)+this[k(0xbc)][k(0xcd)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0xba)][k(0xb4)](b),this['logger'][k(0xce)](k(0xb9)+b+'\x22\x20from\x20'+c[k(0xcd)]+k(0xbb)),k(0xd1)+b+'.';}catch(e){return this[k(0xd4)][k(0xce)](k(0xb0)+e[k(0xca)]),k(0xb1)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}function a39c(){const l=['currentLocation','constructor','verb','5537224UZmsIg','12456840uhrnKq','44410rwhsUc','324LPqcnl','873818hWRjYq','join','\x22\x20not\x20retrieved\x20from\x20','search','message','105oIoxdf','Item\x20\x22','name','write','58074zTOjxE','There\x20is\x20no\x20item\x20\x22','You\x20have\x20taken\x20the\x20','toString','apply','logger','Pick\x20up\x20an\x20item.','Successfully\x20added\x20\x22','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20in\x20this\x20room.','193760nwuBNj','15yJNkuf','execute','Error\x20during\x20\x27Take\x27\x20command:\x20','The\x20item\x20\x22','\x20during\x20\x27Take\x27\x20command.','333968AKxUxZ','removeItem','\x22\x20to\x20','toLowerCase','574cCxBpy','description','Successfully\x20removed\x20\x22','inventory','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','actor','take','(((.+)+)+)+$'];a39c=function(){return l;};return a39c();}
@@ -1 +1 @@
1
- const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x1a3))/0x1*(parseInt(f(0x1a8))/0x2)+parseInt(f(0x19d))/0x3*(parseInt(f(0x1ad))/0x4)+-parseInt(f(0x1a4))/0x5+parseInt(f(0x19b))/0x6+parseInt(f(0x1ab))/0x7+parseInt(f(0x19e))/0x8+-parseInt(f(0x1a2))/0x9*(parseInt(f(0x1a7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xc52ed));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0x1a5)]()[g(0x19c)](g(0x19f))[g(0x1a5)]()[g(0x1a9)](a40a)[g(0x19c)](g(0x19f));});a40a();import{Command}from'./command.js';function a40c(){const j=['constructor','\x20unqeuiped\x20','3817520giitBi','unequip','3084npPdbX','actor','verb','logger','967446HOllBF','search','2430gzKSFz','9894904sXcRXp','(((.+)+)+)+$','write','description','9DOnWKO','40798zozKak','4030450xdnBgZ','toString','unqeuip','158690FHVxFH','46xuBdqH'];a40c=function(){return j;};return a40c();}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x19a;let f=c[d];return f;},a40d(a,b);}export class UnequipCommand extends Command{static [a40h(0x1af)]=a40h(0x1a6);static [a40h(0x1a1)]='Unequip\x20an\x20item.';['execute'](a){const i=a40h,b=a['join']('\x20')['toLowerCase'](),c=this[i(0x1ae)][i(0x1ac)](b);return this[i(0x19a)][i(0x1a0)]('UnequipCommand:\x20'+this['actor']['name']+i(0x1aa)+c),c;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x12b))/0x1*(parseInt(f(0x136))/0x2)+-parseInt(f(0x133))/0x3+parseInt(f(0x137))/0x4+-parseInt(f(0x125))/0x5+-parseInt(f(0x130))/0x6*(parseInt(f(0x132))/0x7)+-parseInt(f(0x138))/0x8*(-parseInt(f(0x12e))/0x9)+parseInt(f(0x128))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x2f0dc));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x13b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x134)]()[h(0x139)](h(0x13c))[h(0x134)]()['constructor'](a40a)[h(0x139)](h(0x13c));});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x125;let f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'./command.js';function a40c(){const k=['UnequipCommand:\x20','actor','6378jgvAQE','name','logger','27wlcbGm','toLowerCase','42cBjpot','description','14504UxDrnr','989817gJlWpE','toString','verb','94lQKRji','730304fINQay','1018152AohXhP','search','write','apply','(((.+)+)+)+$','1269820yUYeAW','unequip','Unequip\x20an\x20item.','5265220WkmdDV'];a40c=function(){return k;};return a40c();}export class UnequipCommand extends Command{static [a40i(0x135)]='unqeuip';static [a40i(0x131)]=a40i(0x127);['execute'](a){const j=a40i,b=a['join']('\x20')[j(0x12f)](),c=this['actor'][j(0x126)](b);return this[j(0x12d)][j(0x13a)](j(0x129)+this[j(0x12a)][j(0x12c)]+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x14f;let f=c[d];return f;},a41d(a,b);}const a41k=a41d;function a41c(){const n=['2966505qVodbY','hasItem','name','unlock','(((.+)+)+)+$','has','toString','There\x27s\x20no\x20door\x20named\x20\x22','error','10701XYFbTz','UnlockCommand:\x20','Unlock\x20a\x20door.','execute','exits','unlockItemOrSolution','logger','actor','apply','145393pACHTm','334155cJiHvR','\x22\x20here.','2210HoNUnQ','inventory','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','description','verb','toLowerCase','2784xxBkEI','currentLocation','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','length','get','write','getItem','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','676608JGpVyp','isValidDirection','8MuQiBk','2556484XSuLsI','10jVwchZ','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','constructor'];a41c=function(){return n;};return a41c();}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x157))/0x1+-parseInt(h(0x16c))/0x2*(parseInt(h(0x158))/0x3)+parseInt(h(0x160))/0x4+parseInt(h(0x16f))/0x5+parseInt(h(0x168))/0x6+-parseInt(h(0x16b))/0x7*(-parseInt(h(0x16a))/0x8)+parseInt(h(0x178))/0x9*(-parseInt(h(0x15a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x6116c));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x156)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()['search'](j(0x173))[j(0x175)]()[j(0x16e)](a41a)['search'](j(0x173));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x15e)]=a41k(0x172);static [a41k(0x15d)]=a41k(0x150);[a41k(0x151)](a){const l=a41k;return this[l(0x172)](a);}[a41k(0x172)](a){const m=a41k;if(a[m(0x163)]===0x0)return this[m(0x154)][m(0x177)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0x167);const b=a[0x0][m(0x15f)](),c=this['actor'][m(0x161)];if(this[m(0x169)](b)&&c[m(0x152)][m(0x174)](b)){const d=c['exits'][m(0x164)](b);if(d instanceof Door){const e=d[m(0x153)]?.['toLowerCase']();if(e&&this[m(0x155)][m(0x15b)][m(0x170)](e)){const f=this[m(0x155)][m(0x15b)][m(0x166)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0x171)]);return this[m(0x154)][m(0x165)](m(0x14f)+this[m(0x155)][m(0x171)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+'.\x20Result:\x20'+g),g;}}return this['logger'][m(0x165)](m(0x14f)+this[m(0x155)]['name']+m(0x15c)+b+'.'),m(0x16d);}else return this[m(0x154)]['write'](m(0x14f)+b+m(0x162)+c[m(0x171)]+'.'),m(0x176)+b+m(0x159);}else return this['logger'][m(0x165)]('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x171)]+'.'),m(0x176)+b+m(0x159);}}
1
+ function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x11e;let f=c[d];return f;},a41d(a,b);}const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x13e))/0x1*(-parseInt(h(0x130))/0x2)+parseInt(h(0x12a))/0x3*(parseInt(h(0x13a))/0x4)+parseInt(h(0x12f))/0x5*(parseInt(h(0x125))/0x6)+parseInt(h(0x124))/0x7+-parseInt(h(0x121))/0x8+-parseInt(h(0x11e))/0x9*(parseInt(h(0x135))/0xa)+-parseInt(h(0x140))/0xb*(-parseInt(h(0x122))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x38f6f));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x128)]()[j(0x134)](j(0x132))[j(0x128)]()[j(0x127)](a41a)[j(0x134)](j(0x132));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a41c(){const n=['logger','error','UnlockCommand:\x20No\x20target\x20specified.','inventory','UnlockCommand:\x20','hasItem','82683pnjDuk','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','Unlock\x20a\x20door.','2009584qRdolz','12FoFquO','getItem','2173129nNJWeY','12BmiUgA','verb','constructor','toString','There\x27s\x20no\x20door\x20named\x20\x22','739212cVJvuq','isValidDirection','exits','\x22\x20here.','apply','1073730LudFCi','125866KyxnqQ','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','(((.+)+)+)+$','toLowerCase','search','450anMRTj','currentLocation','write','.\x20Result:\x20','name','4GLOGxl','unlock','length','has','2OMbYJA','actor','412093wlHGBB','\x20is\x20attempted\x20to\x20unlock\x20'];a41c=function(){return n;};return a41c();}export class UnlockCommand extends Command{static [a41k(0x126)]=a41k(0x13b);static ['description']=a41k(0x120);['execute'](a){const l=a41k;return this[l(0x13b)](a);}[a41k(0x13b)](a){const m=a41k;if(a[m(0x13c)]===0x0)return this[m(0x142)][m(0x143)](m(0x144)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][m(0x133)](),c=this['actor'][m(0x136)];if(this[m(0x12b)](b)&&c['exits'][m(0x13d)](b)){const d=c[m(0x12c)]['get'](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[m(0x133)]();if(e&&this['actor']['inventory'][m(0x147)](e)){const f=this[m(0x13f)][m(0x145)][m(0x123)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0x139)]);return this['logger']['write'](m(0x146)+this['actor'][m(0x139)]+m(0x141)+b+m(0x138)+g),g;}}return this['logger']['write'](m(0x146)+this[m(0x13f)][m(0x139)]+m(0x11f)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this[m(0x142)][m(0x137)](m(0x146)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x139)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x12d);}else return this[m(0x142)]['write'](m(0x146)+b+m(0x131)+c['name']+'.'),m(0x129)+b+m(0x12d);}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x8b))/0x1+-parseInt(f(0xa7))/0x2+parseInt(f(0x98))/0x3+parseInt(f(0x9e))/0x4*(parseInt(f(0x8d))/0x5)+-parseInt(f(0xa4))/0x6*(-parseInt(f(0x92))/0x7)+parseInt(f(0x89))/0x8+-parseInt(f(0xa2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xa4d7c));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x90)]()[h(0x9a)](h(0xaa))['toString']()[h(0x9b)](a42a)[h(0x9a)]('(((.+)+)+)+$');});function a42c(){const k=['You\x20can\x27t\x20use\x20the\x20','12513195ClNArV','join','3804fLgGlP','getItem','\x20doesn\x27t\x20have\x20a\x20use\x20method.','2515534pIdBnl','\x20to\x20use.','toLowerCase','(((.+)+)+)+$','inventory','verb','write','7246592LmmDxL','execute','285690DDcYtW','UseCommand:\x20','5RhDdgj','Use\x20an\x20item.','\x20attempted\x20to\x20use\x20','toString','\x20used\x20','9107YBiDdG','\x20in\x20this\x20way.','apply','logger','You\x20don\x27t\x20have\x20the\x20','\x27s\x20inventory.','1656441bvgXoF','actor','search','constructor','use',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','5304812xMyHcy','hasItem','name'];a42c=function(){return k;};return a42c();}a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x89;let f=c[d];return f;},a42d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0xac)]=a42i(0x9c);static ['description']=a42i(0x8e);[a42i(0x8a)](a){return this['use'](a);}[a42i(0x9c)](a){const j=a42i,b=a[j(0xa3)]('\x20')[j(0xa9)]();if(!this[j(0x99)][j(0xab)][j(0x9f)](b))return this[j(0x95)][j(0xad)](j(0x8c)+this['actor'][j(0xa0)]+j(0x8f)+b+j(0x9d)),j(0x96)+b+j(0xa8);const c=this[j(0x99)][j(0xab)][j(0xa5)](b);if(!c)return this['logger'][j(0xad)](j(0x8c)+b+'\x20not\x20retrieved\x20from\x20'+this[j(0x99)][j(0xa0)]+j(0x97)),j(0x96)+b+j(0xa8);if(typeof c[j(0x9c)]==='function'){const d=c[j(0x9c)]();return this[j(0x95)][j(0xad)](j(0x8c)+this[j(0x99)]['name']+j(0x91)+b+'.'),d;}else return this[j(0x95)][j(0xad)]('UseCommand:\x20'+b+j(0xa6)),j(0xa1)+b+j(0x93);}}
1
+ const a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1bc))/0x1*(-parseInt(f(0x1cd))/0x2)+parseInt(f(0x1bf))/0x3*(parseInt(f(0x1d9))/0x4)+parseInt(f(0x1c2))/0x5+-parseInt(f(0x1d6))/0x6*(-parseInt(f(0x1cb))/0x7)+parseInt(f(0x1b8))/0x8*(-parseInt(f(0x1ca))/0x9)+parseInt(f(0x1d8))/0xa*(-parseInt(f(0x1db))/0xb)+-parseInt(f(0x1bb))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x921f4));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const g=a42d;return a42a[g(0x1cf)]()[g(0x1d7)](g(0x1ce))[g(0x1cf)]()[g(0x1dd)](a42a)['search']('(((.+)+)+)+$');});a42a();import{Command}from'./command.js';function a42c(){const k=['112MltvOB','\x20doesn\x27t\x20have\x20a\x20use\x20method.','getItem','5570880NeRFtS','11uBwqsM','function','\x27s\x20inventory.','3uohJhn','description','execute','1786120lTBjse','logger','toLowerCase','\x20attempted\x20to\x20use\x20','actor','hasItem','inventory','write','159282thlsCN','301DBIMsu',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','127266yHkIls','(((.+)+)+)+$','toString','use','Use\x20an\x20item.','\x20not\x20retrieved\x20from\x20','name','\x20to\x20use.','You\x20don\x27t\x20have\x20the\x20','58908KGGywg','search','2840EppTed','846908rUiVMy','UseCommand:\x20','14740esSdPb','\x20in\x20this\x20way.','constructor','\x20used\x20'];a42c=function(){return k;};return a42c();}export class UseCommand extends Command{static ['verb']=a42h(0x1d0);static [a42h(0x1c0)]=a42h(0x1d1);[a42h(0x1c1)](a){const i=a42h;return this[i(0x1d0)](a);}[a42h(0x1d0)](a){const j=a42h,b=a['join']('\x20')[j(0x1c4)]();if(!this[j(0x1c6)][j(0x1c8)][j(0x1c7)](b))return this[j(0x1c3)]['write'](j(0x1da)+this[j(0x1c6)]['name']+j(0x1c5)+b+j(0x1cc)),j(0x1d5)+b+j(0x1d4);const c=this[j(0x1c6)]['inventory'][j(0x1ba)](b);if(!c)return this[j(0x1c3)][j(0x1c9)]('UseCommand:\x20'+b+j(0x1d2)+this[j(0x1c6)][j(0x1d3)]+j(0x1be)),j(0x1d5)+b+j(0x1d4);if(typeof c['use']===j(0x1bd)){const d=c[j(0x1d0)]();return this[j(0x1c3)]['write'](j(0x1da)+this[j(0x1c6)][j(0x1d3)]+j(0x1de)+b+'.'),d;}else return this['logger'][j(0x1c9)](j(0x1da)+b+j(0x1b9)),'You\x20can\x27t\x20use\x20the\x20'+b+j(0x1dc);}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x12f))/0x1*(-parseInt(f(0x12a))/0x2)+parseInt(f(0x134))/0x3*(parseInt(f(0x130))/0x4)+-parseInt(f(0x132))/0x5+-parseInt(f(0x128))/0x6*(parseInt(f(0x12b))/0x7)+parseInt(f(0x125))/0x8+parseInt(f(0x133))/0x9*(-parseInt(f(0x127))/0xa)+-parseInt(f(0x131))/0xb*(-parseInt(f(0x12e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x1d72d));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()[h(0x12d)]('(((.+)+)+)+$')['toString']()[h(0x129)](a43a)[h(0x12d)](h(0x126));});function a43c(){const k=['commandMap','createCommand','288408EDUgpF','(((.+)+)+)+$','70rKeTqe','258114sDUKlx','constructor','2XqrHZn','14ZHnIwR','apply','search','296976Vwoepl','180181Qaajob','4arCljT','286jVqnji','1097890pzuZxl','173898uGZlfA','186519ENRPjm','getAllRegisteredCommands','registerCommand'];a43c=function(){return k;};return a43c();}a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x125;let f=c[d];return f;},a43d(a,b);}export class CommandFactory{static [a43i(0x137)]={};static[a43i(0x136)](a,b){const j=a43i;this[j(0x137)][a]=b;}static[a43i(0x138)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a43i(0x135)](){return this['commandMap'];}}
1
+ function a43c(){const m=['toString','registerCommand','590IhYCoJ','24892KMiucX','constructor','628422dwvdpR','53428AAEwHa','32KutGAf','(((.+)+)+)+$','apply','search','getAllRegisteredCommands','13665MwLEJh','commandMap','101097Xecjag','36bQGObW','1065306EStpwm','createCommand','188372YlaxpC'];a43c=function(){return m;};return a43c();}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x150))/0x1+parseInt(f(0x144))/0x2+-parseInt(f(0x143))/0x3+-parseInt(f(0x14d))/0x4*(parseInt(f(0x14a))/0x5)+parseInt(f(0x14e))/0x6+parseInt(f(0x141))/0x7*(-parseInt(f(0x145))/0x8)+parseInt(f(0x14c))/0x9*(parseInt(f(0x153))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x69109));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x141;let f=c[d];return f;},a43d(a,b);}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x151)]()[h(0x148)](h(0x146))[h(0x151)]()[h(0x142)](a43a)['search']('(((.+)+)+)+$');});a43a();export class CommandFactory{static [a43i(0x14b)]={};static[a43i(0x152)](a,b){const j=a43i;this[j(0x14b)][a]=b;}static[a43i(0x14f)](a,b){const k=a43i,c=this[k(0x14b)][a];if(c)return new c(b);return null;}static[a43i(0x149)](){const l=a43i;return this[l(0x14b)];}}
@@ -1 +1 @@
1
- const a44h=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x208))/0x1*(-parseInt(f(0x1e5))/0x2)+parseInt(f(0x207))/0x3*(-parseInt(f(0x1f4))/0x4)+-parseInt(f(0x1f3))/0x5*(parseInt(f(0x1f8))/0x6)+parseInt(f(0x20a))/0x7*(-parseInt(f(0x1e4))/0x8)+-parseInt(f(0x1f5))/0x9*(parseInt(f(0x1ef))/0xa)+parseInt(f(0x1fe))/0xb*(parseInt(f(0x1f1))/0xc)+parseInt(f(0x1ec))/0xd*(parseInt(f(0x1fd))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x2349b));function a44c(){const n=['gloves','type','6ANrYyh','sword','gauntlets','constructor','book','1106Ntuhdj','7799GwFNRU','rewardItem','INSIDE','legarmor','createPuzzle','items','inventory','description','name','6yLScnC','411sWhfuc','isStartRoom','7PohOxk','addItem','toUpperCase','forEach','rifle','1092664pMeUkV','106FcQvlv','createItem','setPuzzle','toString','roomType','createRoom','key','129025FwgbjR','boots','convertToRoomConfig','60XqTapb','puzzle','1596eOlLOu','search','1365905WKurzE','561168MRzyJO','97902WDeIVx'];a44c=function(){return n;};return a44c();}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const g=a44d;return a44a[g(0x1e8)]()[g(0x1f2)]('(((.+)+)+)+$')[g(0x1e8)]()[g(0x1fb)](a44a)[g(0x1f2)]('(((.+)+)+)+$');});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1e3;let f=c[d];return f;},a44d(a,b);}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44h(0x1ea)](a){const i=a44h,b=this[i(0x1ee)](a),c=new Room(b);if(a[i(0x203)]){const d=new Inventory();a['items'][i(0x20d)](e=>{const j=i;d[j(0x20b)](this[j(0x1e6)](e));}),c[i(0x204)]=d;}return a[i(0x1f0)]&&c[i(0x1e7)](this[i(0x202)](a[i(0x1f0)])),c;}[a44h(0x1e6)](a){const k=a44h;switch(a[k(0x1f7)]){case k(0x1eb):return new Key(a[k(0x206)],a[k(0x205)]);case k(0x1fc):return new Book(a[k(0x206)],a[k(0x205)],a['content']);case k(0x1f9):return new Sword(a[k(0x206)],a[k(0x205)]);case k(0x1e3):return new Rifle(a[k(0x206)],a['description']);case'helmet':return new Helmet(a[k(0x206)],a[k(0x205)]);case'bodyarmor':return new BodyArmor(a[k(0x206)],a[k(0x205)]);case k(0x201):return new LegArmor(a[k(0x206)],a[k(0x205)]);case k(0x1ed):return new Boots(a[k(0x206)],a[k(0x205)]);case k(0x1f6):return new Gloves(a[k(0x206)],a[k(0x205)]);case k(0x1fa):return new Gauntlets(a['name'],a['description']);default:return new BasicItem(a['name'],a['description']);}}[a44h(0x202)](a){const l=a44h,b=this[l(0x1e6)](a[l(0x1ff)]);return new Puzzle({...a,'rewardItem':b});}[a44h(0x1ee)](a){const m=a44h,b=a[m(0x1e9)]&&RoomType[a[m(0x1e9)][m(0x20c)]()]?RoomType[a[m(0x1e9)][m(0x20c)]()]:RoomType[m(0x200)];return{'name':a[m(0x206)],'description':a[m(0x205)],'isStartRoom':a[m(0x209)],'roomType':b};}}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x15d))/0x1+-parseInt(f(0x16b))/0x2+parseInt(f(0x154))/0x3*(parseInt(f(0x158))/0x4)+parseInt(f(0x166))/0x5+-parseInt(f(0x147))/0x6+parseInt(f(0x16f))/0x7*(parseInt(f(0x157))/0x8)+-parseInt(f(0x14c))/0x9*(parseInt(f(0x14f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xe3a44));function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x147;let f=c[d];return f;},a44d(a,b);}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x14a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x149)]()[h(0x168)](h(0x16a))[h(0x149)]()[h(0x15a)](a44a)[h(0x168)](h(0x16a));});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=['items','createPuzzle','convertToRoomConfig','isStartRoom','2837555StFNmW','forEach','search','rifle','(((.+)+)+)+$','103460NtOGbT','createItem','key','roomType','70014ekCwJw','3494232qYqeHW','description','toString','apply','book','3435075bDaySW','sword','name','70oDSJEQ','gloves','helmet','legarmor','rewardItem','1192071oHmaUb','toUpperCase','type','1416ckHPBc','4BxfcYA','setPuzzle','constructor','boots','bodyarmor','1503025dWNqlH','puzzle','addItem','createRoom','gauntlets'];a44c=function(){return o;};return a44c();}export class RoomFactory{[a44i(0x160)](a){const j=a44i,b=this[j(0x164)](a),c=new Room(b);if(a[j(0x162)]){const d=new Inventory();a['items'][j(0x167)](e=>{const k=j;d[k(0x15f)](this[k(0x16c)](e));}),c['inventory']=d;}return a[j(0x15e)]&&c[j(0x159)](this[j(0x163)](a[j(0x15e)])),c;}['createItem'](a){const l=a44i;switch(a[l(0x156)]){case l(0x16d):return new Key(a[l(0x14e)],a[l(0x148)]);case l(0x14b):return new Book(a[l(0x14e)],a[l(0x148)],a['content']);case l(0x14d):return new Sword(a[l(0x14e)],a[l(0x148)]);case l(0x169):return new Rifle(a[l(0x14e)],a[l(0x148)]);case l(0x151):return new Helmet(a[l(0x14e)],a['description']);case l(0x15c):return new BodyArmor(a[l(0x14e)],a['description']);case l(0x152):return new LegArmor(a['name'],a['description']);case l(0x15b):return new Boots(a['name'],a['description']);case l(0x150):return new Gloves(a[l(0x14e)],a[l(0x148)]);case l(0x161):return new Gauntlets(a['name'],a[l(0x148)]);default:return new BasicItem(a[l(0x14e)],a[l(0x148)]);}}[a44i(0x163)](a){const m=a44i,b=this[m(0x16c)](a[m(0x153)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0x164)](a){const n=a44i,b=a[n(0x16e)]&&RoomType[a[n(0x16e)]['toUpperCase']()]?RoomType[a['roomType'][n(0x155)]()]:RoomType['INSIDE'];return{'name':a[n(0x14e)],'description':a[n(0x148)],'isStartRoom':a[n(0x165)],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0x161))/0x1*(-parseInt(h(0x16e))/0x2)+-parseInt(h(0x158))/0x3*(-parseInt(h(0x156))/0x4)+parseInt(h(0x16c))/0x5+parseInt(h(0x152))/0x6*(parseInt(h(0x169))/0x7)+parseInt(h(0x157))/0x8+-parseInt(h(0x17a))/0x9*(-parseInt(h(0x171))/0xa)+-parseInt(h(0x14a))/0xb*(parseInt(h(0x170))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xa3e82));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x148)]()[j(0x14f)](j(0x14b))['toString']()[j(0x15e)](a45a)[j(0x14f)](j(0x14b));});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';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x144;let f=c[d];return f;},a45d(a,b);}import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';function a45c(){const s=['currentRoom','getInstance','determineStartRoom','search','take','handleInput','10134pIqRTS','rooms','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','use','76cPcWNM','5352208EPQzJV','56514siTSAU','unequip','initialize','Welcome,\x20','say','player','constructor','registerCommands','equip','1rjopHA','name','getHelpMessage','-\x20clear:\x20Clear\x20the\x20screen.\x0a','Available\x20Commands:\x0a','getRooms','trim','toLowerCase','2604GPwNIq','getAllRegisteredCommands','currentLocation','4065010cLlTHx','maka','1504598XjFdRI','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','39855516Daogop','60EOiNIg','apply','scene','unlock','execute','lock','createCommand','registerCommand','getDescription','1158147HScuBX','clear','instance','-\x20quit:\x20Exit\x20the\x20game.\x0a','slice','getWelcomeMessage','toString','hasOwnProperty','11HeQJoM','(((.+)+)+)+$'];a45c=function(){return s;};return a45c();}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(0x144)];[a45k(0x173)];[a45k(0x15d)];[a45k(0x14c)];[a45k(0x153)];constructor(a,b){const l=a45k;this[l(0x15d)]=a,this[l(0x173)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x173)][l(0x15a)](),this[l(0x15d)][l(0x16b)]=this[l(0x14e)](),this[l(0x15f)]();}[a45k(0x15f)](){const m=a45k;CommandFactory[m(0x178)]('look',LookCommand),CommandFactory[m(0x178)]('go',GoCommand),CommandFactory['registerCommand'](m(0x150),TakeCommand),CommandFactory[m(0x178)](m(0x155),UseCommand),CommandFactory['registerCommand'](m(0x160),EquipCommand),CommandFactory[m(0x178)](m(0x159),UnequipCommand),CommandFactory[m(0x178)]('solve',SolveCommand),CommandFactory[m(0x178)]('drop',DropCommand),CommandFactory['registerCommand'](m(0x174),UnlockCommand),CommandFactory[m(0x178)](m(0x176),LockCommand),CommandFactory[m(0x178)](m(0x14f),SearchCommand),CommandFactory[m(0x178)](m(0x15c),SayCommand);}[a45k(0x14e)](){const n=a45k;return this[n(0x173)][n(0x14e)]();}[a45k(0x147)](){const o=a45k;return o(0x15b)+this['player'][o(0x162)];}static[a45k(0x14d)](a,b){const p=a45k;return!Game[p(0x144)]&&(Game[p(0x144)]=new Game(a,b)),Game['instance'];}[a45k(0x151)](a){const q=a45k,b=a[q(0x167)]()['split']('\x20'),c=b[0x0][q(0x168)](),d=b[q(0x146)](0x1);if(c==='quit')return null;if(c===q(0x16d))return q(0x16f);if(c==='help')return this[q(0x163)]();if(c===q(0x17b))return'';const e={'actor':this[q(0x15d)],'rooms':this[q(0x173)][q(0x166)](),'scene':this[q(0x173)]},f=CommandFactory[q(0x177)](c,e);if(f){const g=f[q(0x175)](d);return g;}return q(0x154)+c+'\x22.';}['getHelpMessage'](){const r=a45k,a=CommandFactory[r(0x16a)]();let b=r(0x165);for(const c in a){if(a[r(0x149)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x179)]()+'\x0a';}}return b+=r(0x164),b+=r(0x145),b;}}
1
+ function a45c(){const s=['solve','registerCommand','player','take','createCommand','10782JEADUW','getWelcomeMessage','15iakcCZ','getInstance','scene','constructor','search','registerCommands','-\x20quit:\x20Exit\x20the\x20game.\x0a','602shaPYP','165832pzvULw','determineStartRoom','apply','7688YRgAUk','203130zEQxLC','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','1RCcDnX','lock','getDescription','getAllRegisteredCommands','handleInput','clear','toString','984232ygEgwi','78156DzoKKx','equip','getHelpMessage','maka','Available\x20Commands:\x0a','instance','slice','name','(((.+)+)+)+$','getRooms','572335MJfgpe','execute','trim','-\x20clear:\x20Clear\x20the\x20screen.\x0a','unequip'];a45c=function(){return s;};return a45c();}const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0xd5))/0x1*(-parseInt(h(0xd2))/0x2)+parseInt(h(0xc7))/0x3*(-parseInt(h(0xcf))/0x4)+parseInt(h(0xbb))/0x5+parseInt(h(0xc5))/0x6*(parseInt(h(0xce))/0x7)+parseInt(h(0xdc))/0x8+-parseInt(h(0xdd))/0x9+-parseInt(h(0xd3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x25163));function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xb7;let f=c[d];return f;},a45d(a,b);}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0xd1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0xdb)]()['search'](j(0xb9))[j(0xdb)]()[j(0xca)](a45a)[j(0xcb)]('(((.+)+)+)+$');});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0xe2)];[a45k(0xc9)];[a45k(0xc2)];['currentRoom'];['rooms'];constructor(a,b){const l=a45k;this[l(0xc2)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0xc9)]['initialize'](),this[l(0xc2)]['currentLocation']=this[l(0xd0)](),this[l(0xcc)]();}['registerCommands'](){const m=a45k;CommandFactory[m(0xc1)]('look',LookCommand),CommandFactory[m(0xc1)]('go',GoCommand),CommandFactory['registerCommand'](m(0xc3),TakeCommand),CommandFactory['registerCommand']('use',UseCommand),CommandFactory[m(0xc1)](m(0xde),EquipCommand),CommandFactory[m(0xc1)](m(0xbf),UnequipCommand),CommandFactory[m(0xc1)](m(0xc0),SolveCommand),CommandFactory[m(0xc1)]('drop',DropCommand),CommandFactory[m(0xc1)]('unlock',UnlockCommand),CommandFactory['registerCommand'](m(0xd6),LockCommand),CommandFactory[m(0xc1)](m(0xcb),SearchCommand),CommandFactory[m(0xc1)]('say',SayCommand);}[a45k(0xd0)](){const n=a45k;return this[n(0xc9)][n(0xd0)]();}[a45k(0xc6)](){const o=a45k;return'Welcome,\x20'+this[o(0xc2)][o(0xb8)];}static[a45k(0xc8)](a,b){const p=a45k;return!Game['instance']&&(Game['instance']=new Game(a,b)),Game[p(0xe2)];}[a45k(0xd9)](a){const q=a45k,b=a[q(0xbd)]()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0xb7)](0x1);if(c==='quit')return null;if(c===q(0xe0))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c==='help')return this[q(0xdf)]();if(c===q(0xda))return'';const e={'actor':this[q(0xc2)],'rooms':this['scene'][q(0xba)](),'scene':this[q(0xc9)]},f=CommandFactory[q(0xc4)](c,e);if(f){const g=f[q(0xbc)](d);return g;}return q(0xd4)+c+'\x22.';}['getHelpMessage'](){const r=a45k,a=CommandFactory[r(0xd8)]();let b=r(0xe1);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xd7)]()+'\x0a';}}return b+=r(0xbe),b+=r(0xcd),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x174))/0x1*(parseInt(f(0x171))/0x2)+-parseInt(f(0x16a))/0x3+parseInt(f(0x16c))/0x4*(parseInt(f(0x168))/0x5)+-parseInt(f(0x16d))/0x6*(-parseInt(f(0x172))/0x7)+parseInt(f(0x173))/0x8+parseInt(f(0x176))/0x9*(-parseInt(f(0x16b))/0xa)+parseInt(f(0x16e))/0xb*(-parseInt(f(0x169))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xa5b8e));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a['toString']()[g(0x170)](g(0x175))['toString']()[g(0x16f)](a46a)[g(0x170)](g(0x175));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x168;var f=c[d];return f;},a46d(a,b);}export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';function a46c(){var h=['14EAjbRD','8818432euqCjx','16xDhwpJ','(((.+)+)+)+$','730125RmtyYq','897265xIjppv','36yCHMra','3832899NgQpps','30dclCaE','28uNtHzB','4064454eCEHfK','7450311tlGaWO','constructor','search','64802JIBoDp'];a46c=function(){return h;};return a46c();}
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x100))/0x1*(-parseInt(f(0xf9))/0x2)+-parseInt(f(0x101))/0x3+-parseInt(f(0xff))/0x4+-parseInt(f(0x102))/0x5*(parseInt(f(0xfa))/0x6)+parseInt(f(0x104))/0x7*(-parseInt(f(0xf8))/0x8)+parseInt(f(0xfd))/0x9+parseInt(f(0x105))/0xa*(parseInt(f(0x103))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x82921));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0xfb)]()[h(0xfc)](h(0xfe))['toString']()['constructor'](a46a)[h(0xfc)]('(((.+)+)+)+$');});function a46c(){var i=['2869764YHwdiE','427229mSPvmN','2680071HcSuEo','130MFXwZP','11427317IItyls','7xTYqYC','30yNapWG','apply','4822296tFlKgk','2UcrPQq','227598bDTajA','toString','search','1718010TPqxua','(((.+)+)+)+$'];a46c=function(){return i;};return a46c();}a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xf7;var f=c[d];return f;},a46d(a,b);}export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- function a47c(){var l=['toString','2uTIgfM','search','958924aQJfbS','attemptUnlock','getInstance','.\x20Is\x20Locked:\x20','write','989955BziTxv','84OmNagN','.\x20Used:\x20','unlockItemOrSolution','48228653ifsHVR','roomA','roomB','isLockable','logger','getOtherSide','450196nnodEO','checkIfLocked','698243jYjjWn','(((.+)+)+)+$','To\x20','2205813BJxGtD','14478590wOETSi','isLocked','5XAlmoT','checkIfLockable','16efKRev','name'];a47c=function(){return l;};return a47c();}var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x20b))/0x1+-parseInt(f(0x1fa))/0x2*(parseInt(f(0x1f2))/0x3)+-parseInt(f(0x1fc))/0x4*(-parseInt(f(0x1f5))/0x5)+parseInt(f(0x202))/0x6*(-parseInt(f(0x20d))/0x7)+parseInt(f(0x1f7))/0x8*(parseInt(f(0x201))/0x9)+-parseInt(f(0x1f3))/0xa+parseInt(f(0x205))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xc6cfc));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var g=a47d;return a47a['toString']()[g(0x1fb)](g(0x1f0))[g(0x1f9)]()['constructor'](a47a)[g(0x1fb)]('(((.+)+)+)+$');});a47a();function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x1f0;var f=c[d];return f;},a47d(a,b);}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47h(0x206)];[a47h(0x207)];[a47h(0x1f4)];[a47h(0x204)];[a47h(0x1f8)];[a47h(0x209)];[a47h(0x208)];constructor(a){var i=a47h;super(),this['roomA']=a[i(0x206)],this[i(0x207)]=a[i(0x207)],this[i(0x1f4)]=a[i(0x1f4)]||![],this['unlockItemOrSolution']=a[i(0x204)],this[i(0x1f8)]=a['name']?capitalCase(a[i(0x1f8)]):i(0x1f1)+a[i(0x207)][i(0x1f8)],this[i(0x209)]=Logger[i(0x1fe)](),this[i(0x208)]=!!a[i(0x204)],this[i(0x209)]['write']('Door\x20created\x20between\x20'+this[i(0x206)][i(0x1f8)]+'\x20and\x20'+this[i(0x207)][i(0x1f8)]+i(0x1ff)+this['isLocked']);}[a47h(0x20a)](a){var j=a47h;return this[j(0x206)]===a?this[j(0x207)]:this[j(0x206)];}[a47h(0x1fd)](a){var k=a47h;if(this[k(0x1f4)]&&this[k(0x204)]&&this['unlockItemOrSolution']===a)return this[k(0x1f4)]=![],this['logger'][k(0x200)]('Door\x20unlocked:\x20'+this[k(0x1f8)]+'.\x20Used:\x20'+a),!![];return this[k(0x209)][k(0x200)]('Failed\x20to\x20unlock\x20door:\x20'+this[k(0x1f8)]+k(0x203)+a),![];}[a47h(0x20c)](){return this['isLocked'];}[a47h(0x1f6)](){return this['isLockable'];}}
1
+ var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0xa2))/0x1+-parseInt(f(0xae))/0x2+-parseInt(f(0xab))/0x3*(parseInt(f(0xac))/0x4)+-parseInt(f(0xb1))/0x5+-parseInt(f(0xa8))/0x6+-parseInt(f(0x94))/0x7*(-parseInt(f(0x98))/0x8)+parseInt(f(0xa7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x8c691));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var g=a47d;return a47a[g(0xa1)]()[g(0xad)]('(((.+)+)+)+$')['toString']()[g(0x9f)](a47a)[g(0xad)]('(((.+)+)+)+$');});a47a();function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x94;var f=c[d];return f;},a47d(a,b);}import{Logger}from'../utilities/logger.js';function a47c(){var m=['Failed\x20to\x20unlock\x20door:\x20','To\x20','constructor','checkIfLockable','toString','525712rCeetP','\x20and\x20','attemptUnlock','.\x20Used:\x20','logger','25153956xJgPjL','3706260AvRfiE','isLockable','Door\x20unlocked:\x20','6ylriTP','2198396ohrwwd','search','649752WshbDZ','unlockItemOrSolution','checkIfLocked','3908945fLINCC','16079KxzFGx','roomA','roomB','isLocked','272TfcAPq','name','.\x20Is\x20Locked:\x20','write','Door\x20created\x20between\x20'];a47c=function(){return m;};return a47c();}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47h(0x95)];['roomB'];[a47h(0x97)];['unlockItemOrSolution'];[a47h(0x99)];[a47h(0xa6)];[a47h(0xa9)];constructor(a){var i=a47h;super(),this[i(0x95)]=a[i(0x95)],this[i(0x96)]=a[i(0x96)],this[i(0x97)]=a[i(0x97)]||![],this[i(0xaf)]=a['unlockItemOrSolution'],this[i(0x99)]=a[i(0x99)]?capitalCase(a['name']):i(0x9e)+a[i(0x96)][i(0x99)],this[i(0xa6)]=Logger['getInstance'](),this[i(0xa9)]=!!a[i(0xaf)],this[i(0xa6)][i(0x9b)](i(0x9c)+this['roomA'][i(0x99)]+i(0xa3)+this[i(0x96)]['name']+i(0x9a)+this['isLocked']);}['getOtherSide'](a){var j=a47h;return this[j(0x95)]===a?this[j(0x96)]:this[j(0x95)];}[a47h(0xa4)](a){var k=a47h;if(this[k(0x97)]&&this[k(0xaf)]&&this[k(0xaf)]===a)return this['isLocked']=![],this[k(0xa6)][k(0x9b)](k(0xaa)+this[k(0x99)]+k(0xa5)+a),!![];return this[k(0xa6)][k(0x9b)](k(0x9d)+this[k(0x99)]+k(0xa5)+a),![];}[a47h(0xb0)](){var l=a47h;return this[l(0x97)];}[a47h(0xa0)](){return this['isLockable'];}}
@@ -1 +1 @@
1
- const a48i=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1a1;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x1c9))/0x1*(parseInt(f(0x1bc))/0x2)+parseInt(f(0x1c6))/0x3+parseInt(f(0x1b3))/0x4*(parseInt(f(0x1c5))/0x5)+-parseInt(f(0x1a1))/0x6+parseInt(f(0x1bf))/0x7+-parseInt(f(0x1be))/0x8+-parseInt(f(0x1b9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x7a2cf));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1ab)]()['search']('(((.+)+)+)+$')[h(0x1ab)]()[h(0x1ca)](a48a)[h(0x1c2)](h(0x1ad));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a48c(){const r=['listItems','toLowerCase','Listed\x20items\x20in\x20inventory:\x20','name','\x20to\x20inventory.','join','removeItem','getItem','toString','getInstance','(((.+)+)+)+$','\x20from\x20inventory.','Failed\x20to\x20remove\x20item:\x20','items','hasItem','Checked\x20for\x20item:\x20','84kMYTyN','logger','Retrieved\x20details\x20for\x20item:\x20','\x20in\x20','Removed\x20item:\x20','values','4329783NaKEcM','write','apply','20762VldqCT','weight','6507176xHoZDL','3449873DaRdEd','map','keys','search','getAllItems','getWeight','191985VgPcJT','1788678VTIMxL','has','addItem','19uOTTBt','constructor','Added\x20item:\x20','1786356CbiElv','.\x20Exists:\x20'];a48c=function(){return r;};return a48c();}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0x1b0)];['logger'];constructor(){const j=a48i;super(),this[j(0x1b0)]=new Map(),this[j(0x1b4)]=Logger[j(0x1ac)]();}[a48i(0x1c8)](a){const k=a48i;this['items']['set'](a['name']['toLowerCase'](),a),this['logger'][k(0x1ba)](k(0x1cb)+a[k(0x1a6)]+k(0x1a7));}[a48i(0x1a9)](a){const l=a48i,b=this[l(0x1aa)](a);if(b)return this[l(0x1b0)]['delete'](a[l(0x1a4)]()),this[l(0x1b4)][l(0x1ba)](l(0x1b7)+a+l(0x1ae)),b;return this[l(0x1b4)][l(0x1ba)](l(0x1af)+a+'.\x20Item\x20not\x20found.'),null;}[a48i(0x1b1)](a){const m=a48i,b=this[m(0x1b0)][m(0x1c7)](a[m(0x1a4)]()),c=[...this[m(0x1b0)][m(0x1c1)]()];return this['logger'][m(0x1ba)](m(0x1b2)+a+m(0x1b6)+c[m(0x1a8)](',\x20')+m(0x1a2)+b+'.'),b;}[a48i(0x1aa)](a){const n=a48i,b=this[n(0x1b0)]['get'](a['toLowerCase']())||null;return b?this[n(0x1b4)][n(0x1ba)](n(0x1b5)+a+'.'):this[n(0x1b4)][n(0x1ba)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),b;}[a48i(0x1a3)](){const o=a48i,a=[...this[o(0x1b0)][o(0x1c1)]()],b=a[o(0x1c0)](c=>capitalCase(c));return this[o(0x1b4)][o(0x1ba)](o(0x1a5)+b[o(0x1a8)](',\x20')+'.'),a;}[a48i(0x1c4)](){const p=a48i;let a=0x0;for(const b of this['items'][p(0x1b8)]()){a+=b[p(0x1bd)];}return a;}[a48i(0x1c3)](){const q=a48i;return[...this[q(0x1b0)][q(0x1b8)]()];}}
1
+ function a48c(){const r=['Added\x20item:\x20','constructor','getWeight','132sfqtFy','Checked\x20for\x20item:\x20','hasItem','3010356uDkUYg','.\x20Item\x20not\x20found.','639652GEDlqT','Retrieved\x20details\x20for\x20item:\x20','getAllItems','logger','\x20to\x20inventory.','6ClfbtF','Failed\x20to\x20remove\x20item:\x20','toLowerCase','addItem','707UahNny','63728blKqQr','weight','map','282990JwXDkQ','join','10IcMSXj','values','9587511WGoDmW','items','delete','toString','\x20from\x20inventory.','apply','(((.+)+)+)+$','1078NLyjJL','keys','9610UjBafd','set','13684dgJQqP','write','Listed\x20items\x20in\x20inventory:\x20','1077OWKqLX','search','\x20in\x20','Removed\x20item:\x20','name','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'];a48c=function(){return r;};return a48c();}const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x8b))/0x1*(parseInt(f(0x93))/0x2)+-parseInt(f(0xa5))/0x3*(-parseInt(f(0xa2))/0x4)+-parseInt(f(0x95))/0x5*(parseInt(f(0xb1))/0x6)+-parseInt(f(0x8f))/0x7*(parseInt(f(0x90))/0x8)+parseInt(f(0x97))/0x9+parseInt(f(0xa0))/0xa*(-parseInt(f(0x9e))/0xb)+-parseInt(f(0xae))/0xc*(parseInt(f(0xb3))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xaaa44));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x9a)]()[h(0xa6)](h(0x9d))['toString']()[h(0xac)](a48a)[h(0xa6)](h(0x9d));});a48a();import{capitalCase}from'change-case';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x8b;let f=c[d];return f;},a48d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0x98)];[a48i(0xb6)];constructor(){const j=a48i;super(),this[j(0x98)]=new Map(),this[j(0xb6)]=Logger['getInstance']();}[a48i(0x8e)](a){const k=a48i;this[k(0x98)][k(0xa1)](a[k(0xa9)][k(0x8d)](),a),this[k(0xb6)][k(0xa3)](k(0xab)+a[k(0xa9)]+k(0xb7));}['removeItem'](a){const l=a48i,b=this['getItem'](a);if(b)return this[l(0x98)][l(0x99)](a[l(0x8d)]()),this[l(0xb6)][l(0xa3)](l(0xa8)+a+l(0x9b)),b;return this[l(0xb6)][l(0xa3)](l(0x8c)+a+l(0xb2)),null;}[a48i(0xb0)](a){const m=a48i,b=this['items']['has'](a['toLowerCase']()),c=[...this[m(0x98)][m(0x9f)]()];return this[m(0xb6)]['write'](m(0xaf)+a+m(0xa7)+c['join'](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}['getItem'](a){const n=a48i,b=this[n(0x98)]['get'](a[n(0x8d)]())||null;return b?this[n(0xb6)][n(0xa3)](n(0xb4)+a+'.'):this[n(0xb6)][n(0xa3)](n(0xaa)+a+n(0xb2)),b;}['listItems'](){const o=a48i,a=[...this[o(0x98)][o(0x9f)]()],b=a[o(0x92)](c=>capitalCase(c));return this[o(0xb6)]['write'](o(0xa4)+b[o(0x94)](',\x20')+'.'),a;}[a48i(0xad)](){const p=a48i;let a=0x0;for(const b of this[p(0x98)][p(0x96)]()){a+=b[p(0x91)];}return a;}[a48i(0xb5)](){const q=a48i;return[...this[q(0x98)][q(0x96)]()];}}
@@ -1 +1 @@
1
- var a49i=a49d;function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x135;var f=c[d];return f;},a49d(a,b);}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x13d))/0x1+-parseInt(f(0x148))/0x2+parseInt(f(0x149))/0x3+-parseInt(f(0x14c))/0x4+-parseInt(f(0x143))/0x5*(-parseInt(f(0x141))/0x6)+-parseInt(f(0x13a))/0x7+parseInt(f(0x147))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xf39bb));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x13c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0x14a)](h(0x140))['toString']()[h(0x137)](a49a)[h(0x14a)]('(((.+)+)+)+$');});a49a();import{v4 as a49e}from'uuid';function a49c(){var l=['rating','use','157934lvDgGh','size','apply','1605563SSRRQW','name','weight','(((.+)+)+)+$','998706beGDsr','description','35HgcLvD','uuid','.\x20Nothing\x20special\x20happens.','color','17075672XsHHeq','3081594UrfFRj','2963901VQOBUz','search','category','483368OltvIL','You\x20use\x20the\x20','shape','texture','constructor'];a49c=function(){return l;};return a49c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x144)];['name'];[a49i(0x142)];[a49i(0x13b)];[a49i(0x14b)];[a49i(0x135)];[a49i(0x146)];[a49i(0x136)];[a49i(0x138)];[a49i(0x13f)];constructor(a){var j=a49i;super(),this[j(0x13e)]=a[j(0x13e)],this['description']=a['description'],this[j(0x13b)]=a[j(0x13b)],this[j(0x14b)]=a[j(0x14b)],this[j(0x135)]=a[j(0x135)],this[j(0x146)]=a[j(0x146)],this['texture']=a[j(0x136)],this['rating']=a['rating'],this['weight']=a[j(0x13f)],this[j(0x144)]=a49e();}[a49i(0x139)](){var k=a49i;return k(0x14d)+this[k(0x13e)]+k(0x145);}}
1
+ function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xb1;var f=c[d];return f;},a49d(a,b);}function a49c(){var k=['color','size','uuid','3422oITQry','163719HDjIHv','description','(((.+)+)+)+$','521388RJMwmM','search','218nRvXJh','constructor','24mPPvNu','toString','weight','2573109JjjBTS','5575885zYwrcY','140448UnpnZm','shape','.\x20Nothing\x20special\x20happens.','rating','name','39518120bzQRhF','texture','488CkHypw','category'];a49c=function(){return k;};return a49c();}var a49h=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0xb3))/0x1*(-parseInt(f(0xc6))/0x2)+-parseInt(f(0xb1))/0x3*(parseInt(f(0xb5))/0x4)+-parseInt(f(0xb9))/0x5+-parseInt(f(0xba))/0x6+-parseInt(f(0xb8))/0x7+-parseInt(f(0xc1))/0x8*(parseInt(f(0xc7))/0x9)+parseInt(f(0xbf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xa2a63));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['toString']()[g(0xb2)](g(0xc9))[g(0xb6)]()[g(0xb4)](a49a)[g(0xb2)](g(0xc9));});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49h(0xc5)];[a49h(0xbe)];[a49h(0xc8)];[a49h(0xc4)];[a49h(0xc2)];['shape'];[a49h(0xc3)];[a49h(0xc0)];['rating'];[a49h(0xb7)];constructor(a){var i=a49h;super(),this[i(0xbe)]=a[i(0xbe)],this['description']=a[i(0xc8)],this['size']=a[i(0xc4)],this[i(0xc2)]=a['category'],this[i(0xbb)]=a[i(0xbb)],this[i(0xc3)]=a[i(0xc3)],this[i(0xc0)]=a[i(0xc0)],this[i(0xbd)]=a['rating'],this[i(0xb7)]=a[i(0xb7)],this[i(0xc5)]=a49e();}['use'](){var j=a49h;return'You\x20use\x20the\x20'+this['name']+j(0xbc);}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x14e))/0x1*(-parseInt(f(0x14d))/0x2)+-parseInt(f(0x150))/0x3*(-parseInt(f(0x14f))/0x4)+parseInt(f(0x14a))/0x5*(-parseInt(f(0x13c))/0x6)+parseInt(f(0x141))/0x7*(parseInt(f(0x147))/0x8)+-parseInt(f(0x140))/0x9*(parseInt(f(0x142))/0xa)+-parseInt(f(0x144))/0xb*(parseInt(f(0x143))/0xc)+parseInt(f(0x153))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x32d1c));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x149)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x139)]()[h(0x154)](h(0x148))['toString']()[h(0x13b)](a50a)[h(0x154)](h(0x148));});a50a();import{Player}from'./player.js';function a50c(){const o=['5EdvimW','scene','floor','14Mhutam','36033RqfLCu','4ObysuB','31449zxddVO','rooms','autonomousMove','567697cfuzFY','search','_dialogue','toString','execute','constructor','672786ZLbkFI','moveTo','_name','name','2151027VhmPWC','329dBaNge','10MzuwGU','35952PFxcJA','517UClIBi','random','length','67016EKkpcc','(((.+)+)+)+$','apply'];a50c=function(){return o;};return a50c();}function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x139;let f=c[d];return f;},a50d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x13e)];[a50i(0x155)];[a50i(0x151)];[a50i(0x14b)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x13e)]=a,this[j(0x155)]=b,this[j(0x151)]=c;}get[a50i(0x13f)](){const k=a50i;return this[k(0x13e)];}['speak'](){const l=a50i;return this[l(0x155)][Math[l(0x14c)](Math[l(0x145)]()*this[l(0x155)][l(0x146)])];}[a50i(0x152)](a){const m=a50i,b=a[Math[m(0x14c)](Math['random']()*a[m(0x146)])];this['moveTo'](b[m(0x13f)]);}[a50i(0x13d)](a){const n=a50i,b={'actor':this,'rooms':this[n(0x151)],'scene':this[n(0x14b)]},c=new GoCommand(b);c[n(0x13a)]([a]);}}
1
+ const a50j=a50d;function a50c(){const o=['371968momzwg','215010PYMUig','autonomousMove','random','_dialogue','floor','27078RJKZXs','301014wHsTYF','12463GRYPWF','_name','rooms','20HHwYwx','(((.+)+)+)+$','9354709XkkfTs','speak','12PJIwfJ','8IQrtrB','name','execute','424cAzdAS','730lPyvZv','length','apply','scene','35gHmijT','27855HVMVKn','search','moveTo','constructor','toString'];a50c=function(){return o;};return a50c();}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x12d))/0x1*(parseInt(f(0x137))/0x2)+parseInt(f(0x128))/0x3+parseInt(f(0x127))/0x4*(-parseInt(f(0x132))/0x5)+-parseInt(f(0x12e))/0x6*(parseInt(f(0x13f))/0x7)+parseInt(f(0x13a))/0x8*(-parseInt(f(0x140))/0x9)+parseInt(f(0x13b))/0xa*(parseInt(f(0x12f))/0xb)+-parseInt(f(0x136))/0xc*(-parseInt(f(0x134))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x2fb6c));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x126)]()[h(0x141)](h(0x133))[h(0x126)]()[h(0x143)](a50a)[h(0x141)](h(0x133));});a50a();function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x126;let f=c[d];return f;},a50d(a,b);}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];['_dialogue'];['rooms'];['scene'];constructor(a,b,c,d){const i=a50d;super(d),this[i(0x130)]=a,this['_dialogue']=b,this['rooms']=c;}get[a50j(0x138)](){const k=a50j;return this[k(0x130)];}[a50j(0x135)](){const l=a50j;return this[l(0x12b)][Math[l(0x12c)](Math['random']()*this[l(0x12b)]['length'])];}[a50j(0x129)](a){const m=a50j,b=a[Math[m(0x12c)](Math[m(0x12a)]()*a[m(0x13c)])];this[m(0x142)](b['name']);}[a50j(0x142)](a){const n=a50j,b={'actor':this,'rooms':this[n(0x131)],'scene':this[n(0x13e)]},c=new GoCommand(b);c[n(0x139)]([a]);}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x205))/0x1*(-parseInt(f(0x237))/0x2)+parseInt(f(0x23d))/0x3+-parseInt(f(0x1ff))/0x4*(parseInt(f(0x21f))/0x5)+parseInt(f(0x252))/0x6+parseInt(f(0x217))/0x7+-parseInt(f(0x24c))/0x8*(parseInt(f(0x245))/0x9)+parseInt(f(0x231))/0xa*(-parseInt(f(0x22b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x29035));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(0x24e)]()[h(0x243)]('(((.+)+)+)+$')[h(0x24e)]()[h(0x211)](a51a)[h(0x243)](h(0x202));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a51d(a,b);}import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';function a51c(){const B=['legarmor','13944rztWJt','canEquip','initialEquipment','weapon','addInventory','Weapon','equip','_equipment','60gahCFY','hasItem','toLowerCase','Hat','currentWeight','armarmor','getWeight','BodyArmor','Invalid\x20category\x20or\x20slot:\x20','Shield','Max\x20carrying\x20weight\x20must\x20be\x20positive.','removeItem','86647wECRUB','weight','leaveRoom','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','You\x20can\x27t\x20equip\x20','log','10ZOMoFY','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','currentLocation','maxCarryingWeight','unequip','Removed\x20','19182bVmnBE','\x20says:\x20\x22','inventory','Nexus','write','addItem','841734GbEQvL','speak','category','torso','\x20to\x20player\x27s\x20inventory.','values','search','_maxCarryingWeight','63369OgRjPG','Boots','.\x20You\x20must\x20unequip\x20it\x20first.','bind','determineEquipmentSlot','arm\x20armor','gloves','40IFkQie','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','toString','arms','removeInventory','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','1328292vZCXnx','enterRoom','helmet','_currentLocation','\x20in\x20your\x20inventory.','playerName','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','equipment','shield','A\x20featureless\x20room','head','Failed\x20to\x20remove\x20','24096uuRWMY','_playerName','legs','(((.+)+)+)+$','unequipBySlot','\x20slot.','23EvLXUl','\x20from\x20player\x27s\x20inventory.','logger','\x20is\x20now\x20listening\x20in\x20room\x20','getInstance','name','hear','leg\x20armor','Added\x20','inventoryItems','Helmet','_inventory','constructor','leftHand','hat','Gloves','apply'];a51c=function(){return B;};return a51c();}export class Player extends AbstractPlayer{[a51i(0x200)];[a51i(0x1f6)];['_inventory'];['_equipment'];['_maxCarryingWeight']=0x32;[a51i(0x207)];constructor(a){const j=a51i;super(),this[j(0x200)]=a[j(0x1f8)],this['_currentLocation']=a['startLocation']||new Room({'name':j(0x23a),'description':j(0x1fc)}),this['_inventory']=new Inventory(),this[j(0x207)]=Logger[j(0x209)]();if(a?.[j(0x20e)])for(const b of a['inventoryItems']){this[j(0x210)][j(0x23c)](b);}this[j(0x21e)]=a?.[j(0x219)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x20a)](){const k=a51i;return this[k(0x200)];}get[a51i(0x233)](){const l=a51i;return this[l(0x1f6)];}set[a51i(0x233)](a){const m=a51i;this['_currentLocation']!==a&&(this[m(0x22d)](),this[m(0x1f4)](a)),this[m(0x1f6)]=a;}get[a51i(0x239)](){const n=a51i;return this[n(0x210)];}get[a51i(0x1fa)](){const o=a51i;return this[o(0x21e)];}set[a51i(0x1fa)](a){this['_equipment']=a;}get[a51i(0x234)](){return this['_maxCarryingWeight'];}set['maxCarryingWeight'](a){const p=a51i;a>0x0?this[p(0x244)]=a:console['error'](p(0x229));}get[a51i(0x223)](){const q=a51i;let a=this['_inventory'][q(0x225)]();for(const b in this['_equipment']){const c=this[q(0x21e)][b];c&&(a+=c[q(0x22c)]);}return a;}[a51i(0x21b)](a){const r=a51i;if(this[r(0x223)]+a[r(0x22c)]>this['maxCarryingWeight']){this[r(0x207)][r(0x23b)](r(0x251));throw new Error(r(0x1f9));}this['_inventory'][r(0x23c)](a),this[r(0x207)]['write'](r(0x20d)+a[r(0x20a)]+r(0x241));}[a51i(0x250)](a){const s=a51i;if(this['_inventory'][s(0x22a)](a[s(0x20a)]))return this[s(0x207)]['write'](s(0x236)+a[s(0x20a)]+s(0x206)),!![];return this['logger'][s(0x23b)](s(0x1fe)+a[s(0x20a)]+s(0x206)),![];}[a51i(0x21d)](a){const t=a51i;if(!this['_inventory'][t(0x220)](a[t(0x20a)]))return'You\x20don\x27t\x20have\x20'+a[t(0x20a)]+t(0x1f7);if(!this[t(0x218)](a))return t(0x22f)+a[t(0x20a)]+'.';const b=this[t(0x249)](a['category']);if(!b)return a[t(0x20a)]+t(0x22e);if(this['equipment'][b])return t(0x232)+b+t(0x247);return this[t(0x1fa)][b]=a,this['removeInventory'](a),'You\x20equipped\x20'+a['name']+'.';}[a51i(0x235)](a){const u=a51i;let b=a;if(!this['equipment'][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return u(0x227)+a+'.';}return this[u(0x203)](b);}[a51i(0x249)](a){const v=a51i;switch(a['toLowerCase']()){case Category[v(0x21c)][v(0x221)]():return'rightHand';case Category[v(0x228)]['toLowerCase']():return v(0x212);case Category[v(0x214)][v(0x221)]():return v(0x24b);case Category[v(0x20f)]['toLowerCase']():case Category[v(0x222)][v(0x221)]():return'head';case Category[v(0x246)][v(0x221)]():return'feet';case Category['LegArmor'][v(0x221)]():return v(0x201);case Category['ArmArmor'][v(0x221)]():return v(0x24f);case Category[v(0x226)][v(0x221)]():return'torso';case v(0x21a):return'rightHand';case v(0x1fb):return v(0x212);case'gloves':return v(0x24b);case v(0x1f5):case v(0x213):return v(0x1fd);case'boots':return'feet';case v(0x20c):case v(0x216):return'legs';case v(0x24a):case v(0x224):return'arms';case'body\x20armor':case'bodyarmor':case'torso':return v(0x240);default:return null;}}[a51i(0x218)](a){const w=a51i;return Object[w(0x242)](Category)['includes'](a[w(0x23f)]);}[a51i(0x203)](a){const x=a51i,b=this[x(0x1fa)][a];if(!b)return x(0x24d)+a+x(0x204);return this[x(0x21b)](b),this[x(0x1fa)][a]=null,'You\x20unequipped\x20'+b[x(0x20a)]+'.';}['hear'](a,b){const y=a51i;a!==this&&this[y(0x207)][y(0x230)](a[y(0x20a)]+y(0x238)+b+'\x22');}['enterRoom'](a){const z=a51i;this['_currentLocation']=a,a['on'](z(0x23e),this[z(0x20b)]['bind'](this)),this[z(0x207)]['write'](this[z(0x20a)]+z(0x208)+a[z(0x20a)]);}[a51i(0x22d)](){const A=a51i;this[A(0x1f6)]&&(this['_currentLocation']['off'](A(0x23e),this[A(0x20b)][A(0x248)](this)),this['logger'][A(0x23b)](this[A(0x20a)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[A(0x1f6)][A(0x20a)]));}}
1
+ const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0xba))/0x1*(parseInt(f(0xc1))/0x2)+parseInt(f(0xdd))/0x3*(-parseInt(f(0xfd))/0x4)+parseInt(f(0xb8))/0x5*(parseInt(f(0xfe))/0x6)+parseInt(f(0xad))/0x7*(-parseInt(f(0xc4))/0x8)+parseInt(f(0xd1))/0x9*(-parseInt(f(0x105))/0xa)+-parseInt(f(0xf5))/0xb+parseInt(f(0xfc))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x90d6a));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(0xe1)]()[g(0xde)](g(0xe5))['toString']()[g(0xf9)](a51a)['search'](g(0xe5));});function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xad;let f=c[d];return f;},a51d(a,b);}a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51h(0x109)];[a51h(0xb6)];[a51h(0xfa)];[a51h(0xce)];[a51h(0xe9)]=0x32;['logger'];constructor(a){const i=a51h;super(),this['_playerName']=a['playerName'],this[i(0xb6)]=a['startLocation']||new Room({'name':i(0x101),'description':i(0x102)}),this['_inventory']=new Inventory(),this[i(0xe7)]=Logger[i(0xff)]();if(a?.[i(0xd9)])for(const b of a[i(0xd9)]){this['_inventory'][i(0xcf)](b);}this[i(0xce)]=a?.[i(0xf8)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0xec)](){const j=a51h;return this[j(0x109)];}get[a51h(0xee)](){const k=a51h;return this[k(0xb6)];}set[a51h(0xee)](a){const l=a51h;this[l(0xb6)]!==a&&(this['leaveRoom'](),this[l(0xc0)](a)),this[l(0xb6)]=a;}get['inventory'](){const m=a51h;return this[m(0xfa)];}get[a51h(0xb9)](){return this['_equipment'];}set[a51h(0xb9)](a){const n=a51h;this[n(0xce)]=a;}get[a51h(0xfb)](){const o=a51h;return this[o(0xe9)];}set[a51h(0xfb)](a){const p=a51h;a>0x0?this[p(0xe9)]=a:console[p(0xaf)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const q=a51h;let a=this[q(0xfa)][q(0xc9)]();for(const b in this[q(0xce)]){const c=this[q(0xce)][b];c&&(a+=c[q(0xf4)]);}return a;}[a51h(0xdf)](a){const r=a51h;if(this[r(0xd4)]+a['weight']>this[r(0xfb)]){this[r(0xe7)]['write'](r(0xd8));throw new Error(r(0x100));}this['_inventory'][r(0xcf)](a),this['logger'][r(0xc2)](r(0xe6)+a[r(0xec)]+r(0xf3));}['removeInventory'](a){const s=a51h;if(this[s(0xfa)]['removeItem'](a['name']))return this[s(0xe7)][s(0xc2)](s(0xbe)+a['name']+s(0x10b)),!![];return this[s(0xe7)][s(0xc2)](s(0xc7)+a[s(0xec)]+s(0x10b)),![];}[a51h(0xf0)](a){const t=a51h;if(!this[t(0xfa)][t(0xf7)](a[t(0xec)]))return'You\x20don\x27t\x20have\x20'+a[t(0xec)]+t(0xb1);if(!this[t(0xb3)](a))return t(0xb7)+a[t(0xec)]+'.';const b=this[t(0x10a)](a['category']);if(!b)return a[t(0xec)]+t(0xbd);if(this[t(0xb9)][b])return t(0xd0)+b+t(0xc3);return this['equipment'][b]=a,this[t(0xc5)](a),t(0x10c)+a['name']+'.';}[a51h(0xd5)](a){const u=a51h;let b=a;if(!this[u(0xb9)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return u(0xb4)+a+'.';}return this[u(0xe2)](b);}['determineEquipmentSlot'](a){const v=a51h;switch(a['toLowerCase']()){case Category[v(0xca)]['toLowerCase']():return v(0xdb);case Category[v(0xc8)][v(0xcd)]():return v(0xbf);case Category[v(0xf6)]['toLowerCase']():return'gloves';case Category[v(0x107)]['toLowerCase']():case Category[v(0xb2)][v(0xcd)]():return v(0xe4);case Category[v(0x104)][v(0xcd)]():return v(0xe3);case Category[v(0xb5)][v(0xcd)]():return'legs';case Category[v(0xeb)][v(0xcd)]():return v(0xdc);case Category[v(0xbb)]['toLowerCase']():return v(0x103);case'weapon':return v(0xdb);case v(0xf1):return v(0xbf);case v(0xbc):return v(0xbc);case v(0xe8):case'hat':return'head';case v(0xe0):return v(0xe3);case v(0xd3):case v(0xda):return'legs';case v(0xea):case v(0xef):return v(0xdc);case v(0xcb):case v(0xcc):case'torso':return v(0x103);default:return null;}}[a51h(0xb3)](a){const w=a51h;return Object[w(0xb0)](Category)[w(0xed)](a[w(0xae)]);}['unequipBySlot'](a){const x=a51h,b=this['equipment'][a];if(!b)return x(0xd2)+a+x(0xf2);return this[x(0xdf)](b),this[x(0xb9)][a]=null,'You\x20unequipped\x20'+b[x(0xec)]+'.';}['hear'](a,b){const y=a51h;a!==this&&this[y(0xe7)][y(0xd6)](a[y(0xec)]+'\x20says:\x20\x22'+b+'\x22');}[a51h(0xc0)](a){const z=a51h;this[z(0xb6)]=a,a['on']('speak',this[z(0xc6)]['bind'](this)),this['logger'][z(0xc2)](this[z(0xec)]+z(0xd7)+a[z(0xec)]);}[a51h(0x106)](){const A=a51h;this['_currentLocation']&&(this['_currentLocation']['off']('speak',this[A(0xc6)]['bind'](this)),this[A(0xe7)][A(0xc2)](this[A(0xec)]+A(0x108)+this[A(0xb6)]['name']));}}function a51c(){const B=['BodyArmor','gloves','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','Removed\x20','leftHand','enterRoom','1798294xSJrBT','write','.\x20You\x20must\x20unequip\x20it\x20first.','7736OpmTou','removeInventory','hear','Failed\x20to\x20remove\x20','Shield','getWeight','Weapon','body\x20armor','bodyarmor','toLowerCase','_equipment','addItem','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','423nMYqpA','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','leg\x20armor','currentWeight','unequip','log','\x20is\x20now\x20listening\x20in\x20room\x20','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','inventoryItems','legarmor','rightHand','arms','69MKKxtj','search','addInventory','boots','toString','unequipBySlot','feet','head','(((.+)+)+)+$','Added\x20','logger','helmet','_maxCarryingWeight','arm\x20armor','ArmArmor','name','includes','currentLocation','armarmor','equip','shield','\x20slot.','\x20to\x20player\x27s\x20inventory.','weight','12147905GyULyN','Gloves','hasItem','initialEquipment','constructor','_inventory','maxCarryingWeight','35759304ZPdHLl','145060rTheBT','42lmBfIf','getInstance','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','Nexus','A\x20featureless\x20room','torso','Boots','178670eZeCyo','leaveRoom','Helmet','\x20is\x20no\x20longer\x20listeng\x20in\x20','_playerName','determineEquipmentSlot','\x20from\x20player\x27s\x20inventory.','You\x20equipped\x20','3913ZdwZAB','category','error','values','\x20in\x20your\x20inventory.','Hat','canEquip','Invalid\x20category\x20or\x20slot:\x20','LegArmor','_currentLocation','You\x20can\x27t\x20equip\x20','23515amujMs','equipment','1LfqcaY'];a51c=function(){return B;};return a51c();}
@@ -1 +1 @@
1
- var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xfa))/0x1*(parseInt(f(0xec))/0x2)+-parseInt(f(0xe8))/0x3*(-parseInt(f(0xe9))/0x4)+-parseInt(f(0xe4))/0x5*(parseInt(f(0xe5))/0x6)+parseInt(f(0xe7))/0x7+parseInt(f(0xfd))/0x8+-parseInt(f(0xf4))/0x9+-parseInt(f(0xf7))/0xa*(parseInt(f(0xfc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x37ac9));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var g=a52d;return a52a['toString']()[g(0xdc)](g(0xf0))[g(0xe3)]()[g(0xed)](a52a)[g(0xdc)](g(0xf0));});function a52c(){var m=['hasItem','793350yyVYYm','solved','riddle','170QVjaIf','You\x20have\x20already\x20solved\x20this\x20puzzle.','logger','347oluRZP','write','212333nvwdHF','2931088CSoEbe','search','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','getInstance','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','solve','requiredItem','failureMessage','toString','2144485qXeWLk','6kmPATI','requiredPhrase','3151232rHPtcu','111252yMObMt','40JDgkED','Puzzle:\x20Correct\x20solution\x20provided.','rewardItem','658LoEZbW','constructor','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','You\x20solved\x20the\x20puzzle!','(((.+)+)+)+$','successMessage','matchesRequiredPhrase'];a52c=function(){return m;};return a52c();}a52a();import{Logger}from'../utilities/logger.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xdc;var f=c[d];return f;},a52d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52h(0xf9)]=Logger[a52h(0xde)]();[a52h(0xf5)]=![];['requiredItem'];['requiredPhrase'];['riddle'];[a52h(0xeb)];['successMessage'];['failureMessage'];constructor(a){var i=a52h;super(),this[i(0xe1)]=a[i(0xe1)],this[i(0xe6)]=a['requiredPhrase'],this[i(0xf6)]=a[i(0xf6)],this[i(0xeb)]=a['rewardItem'],this[i(0xf1)]=a[i(0xf1)]||i(0xef),this['failureMessage']=a[i(0xe2)]||i(0xdf);}['hasRequiredItem'](a){var j=a52h;if(this[j(0xe1)])return a[j(0xf3)](this['requiredItem']);return![];}[a52h(0xf2)](a){var k=a52h;return this[k(0xe6)]===a;}[a52h(0xe0)](a,b){var l=a52h;if(this[l(0xf5)])return this['logger'][l(0xfb)](l(0xdd)),{'success':![],'message':l(0xf8)};return this['hasRequiredItem'](b)||this[l(0xf2)](a)?(this[l(0xf5)]=!![],this['logger'][l(0xfb)](l(0xea)),{'success':!![],'message':this[l(0xf1)]}):(this[l(0xf9)][l(0xfb)](l(0xee)),{'success':![],'message':this[l(0xe2)]});}}
1
+ function a52c(){var n=['logger','220360nfiOeT','solve','hasItem','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','3344706eBcNxl','657099ZGamSB','failureMessage','hasRequiredItem','matchesRequiredPhrase','1qFEOBW','search','constructor','You\x20solved\x20the\x20puzzle!','1822844NuoNUW','requiredPhrase','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','4062674eINrJh','(((.+)+)+)+$','riddle','toString','requiredItem','96ppulUr','961977ssJWmD','successMessage','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','rewardItem','8aSMNQK','20MByqUa','solved','11098461PZcZsd','write','apply'];a52c=function(){return n;};return a52c();}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xdd;var f=c[d];return f;},a52d(a,b);}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xfa))/0x1*(parseInt(f(0xdd))/0x2)+-parseInt(f(0xe6))/0x3*(-parseInt(f(0xea))/0x4)+parseInt(f(0xf1))/0x5+-parseInt(f(0xf5))/0x6+parseInt(f(0xe0))/0x7+-parseInt(f(0xe5))/0x8*(-parseInt(f(0xf6))/0x9)+parseInt(f(0xeb))/0xa*(-parseInt(f(0xed))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x74b15));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xe3)]()['search'](h(0xe1))[h(0xe3)]()[h(0xfc)](a52a)[h(0xfb)]('(((.+)+)+)+$');});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0xf0)]=Logger['getInstance']();[a52i(0xec)]=![];[a52i(0xe4)];[a52i(0xde)];[a52i(0xe2)];['rewardItem'];['successMessage'];[a52i(0xf7)];constructor(a){var j=a52i;super(),this['requiredItem']=a[j(0xe4)],this[j(0xde)]=a[j(0xde)],this[j(0xe2)]=a[j(0xe2)],this[j(0xe9)]=a[j(0xe9)],this[j(0xe7)]=a['successMessage']||j(0xfd),this[j(0xf7)]=a[j(0xf7)]||j(0xdf);}[a52i(0xf8)](a){var k=a52i;if(this[k(0xe4)])return a[k(0xf3)](this[k(0xe4)]);return![];}[a52i(0xf9)](a){var l=a52i;return this[l(0xde)]===a;}[a52i(0xf2)](a,b){var m=a52i;if(this[m(0xec)])return this[m(0xf0)]['write'](m(0xe8)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this['hasRequiredItem'](b)||this[m(0xf9)](a)?(this[m(0xec)]=!![],this['logger'][m(0xee)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[m(0xe7)]}):(this['logger'][m(0xee)](m(0xf4)),{'success':![],'message':this[m(0xf7)]});}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x206))/0x1*(-parseInt(f(0x1f0))/0x2)+parseInt(f(0x1d9))/0x3+-parseInt(f(0x1dc))/0x4*(parseInt(f(0x203))/0x5)+-parseInt(f(0x1f9))/0x6+parseInt(f(0x1f2))/0x7*(-parseInt(f(0x1e5))/0x8)+parseInt(f(0x1ee))/0x9+parseInt(f(0x204))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x398cb));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x1fa)]()[h(0x205)]('(((.+)+)+)+$')['toString']()[h(0x20c)](a53a)['search']('(((.+)+)+)+$');});a53a();function a53c(){const u=['write','logger','inventory','\x20unlocked!','113512SyTvDz','values','Puzzle\x20set\x20for\x20room\x20','findExistingDoor','removeItem','north','Invalid\x20direction:\x20','attemptUnlock','SOUTH','1677888xCyImT','exits','346714DMrYGX','east','133osFDDo','\x20is\x20locked.\x20Result:\x20','riddle','west','addExit','roomType','getInstance','1661136VAlaRK','toString','get','NORTH','checkIfLocked','down','getOppositeDirection','set','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','speak','262820BPlfsZ','4422650niZqWm','search','1OTVXtv','description','Fetching\x20exit\x20in\x20direction:\x20','WEST','isStartRoom','.\x20Success:\x20','constructor','roomA','addItem','roomB','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','say','Item\x20removed\x20from\x20room\x20','The\x20','98040uMaeKC','hasItem','puzzle','4haDlnS','No\x20locked\x20exit\x20found\x20in\x20direction\x20','apply','name','setPuzzle'];a53c=function(){return u;};return a53c();}import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a53d(a,b);}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x1e2)]=Logger[a53i(0x1f8)]();[a53i(0x1df)];[a53i(0x207)];['exits']=new Map();[a53i(0x1f7)];[a53i(0x20a)];[a53i(0x1e3)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x1df)]=a[j(0x1df)],this[j(0x207)]=a['description'],this[j(0x1f7)]=a[j(0x1f7)]||RoomType['INSIDE'],a[j(0x1ef)]&&(this[j(0x1ef)]=a[j(0x1ef)]||new Map()),a[j(0x1e3)]&&(this['inventory']=a[j(0x1e3)]),a['puzzle']&&(this['puzzle']=a[j(0x1db)]),this['isStartRoom']=a['isStartRoom']||![],this['logger'][j(0x1e1)]('Room\x20created:\x20'+this[j(0x1df)]);}[a53i(0x1d6)](a,b){const k=a53i;this['emit'](k(0x202),a,b);}[a53i(0x1f6)](a,b,c){const l=a53i;let d=this[l(0x1e8)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1ef)]['set'](a,d),b[l(0x1ef)][l(0x200)](this[l(0x1ff)](a),d);}['attemptUnlockExit'](a,b){const m=a53i,c=this[m(0x1ef)][m(0x1fb)](a);if(c instanceof Door){const d=c[m(0x1ec)](b);return this[m(0x1e2)]['write']('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0x20b)+d),d?m(0x1d8)+c[m(0x1df)]+m(0x1e4):m(0x1d8)+c[m(0x1df)]+'\x20remains\x20locked.';}return this['logger'][m(0x1e1)](m(0x1dd)+a),m(0x201);}['getExit'](a){const n=a53i;return this[n(0x1e2)][n(0x1e1)](n(0x208)+a),this[n(0x1ef)][n(0x1fb)](a);}['isExitLocked'](a){const o=a53i,b=this['exits'][o(0x1fb)](a),c=b instanceof Door&&b[o(0x1fd)]();return this[o(0x1e2)][o(0x1e1)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0x1f3)+c),c;}[a53i(0x1d3)](a){const p=a53i;this[p(0x1e3)][p(0x1d3)](a),this[p(0x1e2)][p(0x1e1)]('Item\x20added\x20to\x20room\x20'+this[p(0x1df)]+':\x20'+a[p(0x1df)]);}[a53i(0x1e9)](a){const q=a53i;this['inventory'][q(0x1da)](a[q(0x1df)])?(this[q(0x1e3)][q(0x1e9)](a[q(0x1df)]),this['logger']['write'](q(0x1d7)+this[q(0x1df)]+':\x20'+a['name'])):this['logger'][q(0x1e1)](q(0x1d5)+this[q(0x1df)]+':\x20'+a[q(0x1df)]);}[a53i(0x1e0)](a){const r=a53i;this[r(0x1db)]=a,this[r(0x1e2)][r(0x1e1)](r(0x1e7)+this[r(0x1df)]+':\x20'+a[r(0x1f4)]);}[a53i(0x1ff)](a){const s=a53i;switch(a){case s(0x1ea):return Direction[s(0x1ed)];case'south':return Direction[s(0x1fc)];case s(0x1f1):return Direction[s(0x209)];case s(0x1f5):return Direction['EAST'];case'up':return Direction['DOWN'];case s(0x1fe):return Direction['UP'];default:throw new Error(s(0x1eb)+a);}}[a53i(0x1e8)](a){const t=a53i;for(const b of this[t(0x1ef)][t(0x1e6)]()){if(b instanceof Door){if(b[t(0x20d)]===this&&b[t(0x1d4)]===a||b[t(0x1d4)]===this&&b[t(0x20d)]===a)return b;}}return undefined;}}
1
+ const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x17b))/0x1+parseInt(f(0x17f))/0x2*(parseInt(f(0x1b0))/0x3)+parseInt(f(0x19d))/0x4+parseInt(f(0x18f))/0x5*(-parseInt(f(0x1ad))/0x6)+-parseInt(f(0x18b))/0x7*(-parseInt(f(0x195))/0x8)+parseInt(f(0x19c))/0x9*(parseInt(f(0x1ac))/0xa)+parseInt(f(0x17e))/0xb*(-parseInt(f(0x18d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xdf09d));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const g=a53d;return a53a[g(0x1b5)]()[g(0x181)](g(0x17c))['toString']()['constructor'](a53a)[g(0x181)](g(0x17c));});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a53c(){const t=['SOUTH','No\x20locked\x20exit\x20found\x20in\x20direction\x20','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','down','Invalid\x20direction:\x20','405rTifrZ','6756652kAXXdp','\x20unlocked!','west','getOppositeDirection','Puzzle\x20set\x20for\x20room\x20','attemptUnlock','say','speak','The\x20','\x20is\x20locked.\x20Result:\x20','Checking\x20if\x20exit\x20in\x20direction\x20','puzzle','attemptUnlockExit','addExit','logger','352570ORRpBO','4002846RWwbox','removeItem','description','1485474VCSlaF','roomB','setPuzzle','write','checkIfLocked','toString','north','roomA','865117ggPwdB','(((.+)+)+)+$','Fetching\x20exit\x20in\x20direction:\x20','26375833wdkLOm','6ZxlBYj','emit','search','Item\x20added\x20to\x20room\x20','roomType','EAST','get','inventory','values','WEST','Item\x20removed\x20from\x20room\x20','.\x20Success:\x20','5249951cdmVPg','findExistingDoor','24vydyci','isStartRoom','5iGGAXF','set','addItem','\x20remains\x20locked.','exits','DOWN','8JaMfvw','name'];a53c=function(){return t;};return a53c();}import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x179;let f=c[d];return f;},a53d(a,b);}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger['getInstance']();[a53h(0x196)];['description'];[a53h(0x193)]=new Map();[a53h(0x183)];[a53h(0x18e)];[a53h(0x186)]=new Inventory();constructor(a){const i=a53h;super(),this['name']=a[i(0x196)],this[i(0x1af)]=a[i(0x1af)],this[i(0x183)]=a['roomType']||RoomType['INSIDE'],a['exits']&&(this[i(0x193)]=a[i(0x193)]||new Map()),a[i(0x186)]&&(this['inventory']=a[i(0x186)]),a['puzzle']&&(this[i(0x1a8)]=a[i(0x1a8)]),this[i(0x18e)]=a[i(0x18e)]||![],this[i(0x1ab)][i(0x1b3)]('Room\x20created:\x20'+this[i(0x196)]);}[a53h(0x1a3)](a,b){const j=a53h;this[j(0x180)](j(0x1a4),a,b);}[a53h(0x1aa)](a,b,c){const k=a53h;let d=this[k(0x18c)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits']['set'](a,d),b[k(0x193)][k(0x190)](this[k(0x1a0)](a),d);}[a53h(0x1a9)](a,b){const l=a53h,c=this[l(0x193)][l(0x185)](a);if(c instanceof Door){const d=c[l(0x1a2)](b);return this['logger']['write']('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+l(0x18a)+d),d?l(0x1a5)+c[l(0x196)]+l(0x19e):'The\x20'+c[l(0x196)]+l(0x192);}return this[l(0x1ab)]['write'](l(0x198)+a),l(0x199);}['getExit'](a){const m=a53h;return this['logger'][m(0x1b3)](m(0x17d)+a),this[m(0x193)]['get'](a);}['isExitLocked'](a){const n=a53h,b=this[n(0x193)][n(0x185)](a),c=b instanceof Door&&b[n(0x1b4)]();return this[n(0x1ab)][n(0x1b3)](n(0x1a7)+a+n(0x1a6)+c),c;}['addItem'](a){const o=a53h;this[o(0x186)][o(0x191)](a),this[o(0x1ab)]['write'](o(0x182)+this['name']+':\x20'+a[o(0x196)]);}[a53h(0x1ae)](a){const p=a53h;this[p(0x186)]['hasItem'](a['name'])?(this[p(0x186)]['removeItem'](a[p(0x196)]),this['logger'][p(0x1b3)](p(0x189)+this[p(0x196)]+':\x20'+a[p(0x196)])):this[p(0x1ab)][p(0x1b3)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[p(0x196)]+':\x20'+a[p(0x196)]);}[a53h(0x1b2)](a){const q=a53h;this[q(0x1a8)]=a,this[q(0x1ab)]['write'](q(0x1a1)+this[q(0x196)]+':\x20'+a['riddle']);}[a53h(0x1a0)](a){const r=a53h;switch(a){case r(0x179):return Direction[r(0x197)];case'south':return Direction['NORTH'];case'east':return Direction[r(0x188)];case r(0x19f):return Direction[r(0x184)];case'up':return Direction[r(0x194)];case r(0x19a):return Direction['UP'];default:throw new Error(r(0x19b)+a);}}[a53h(0x18c)](a){const s=a53h;for(const b of this[s(0x193)][s(0x187)]()){if(b instanceof Door){if(b[s(0x17a)]===this&&b[s(0x1b1)]===a||b[s(0x1b1)]===this&&b[s(0x17a)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- function a54c(){const D=['920EntHXT','removeRoom','setCharacterLocation','roomFactory','Failed\x20to\x20add\x20puzzle.\x20Room\x20','keys','(((.+)+)+)+$','removeActor','setPuzzle','actors','addRoom','characterLocations','3344887uqOSnA','warn','2068752itEfEg','determineStartRoom','650765ERtVpj','roomConfiguration','addPuzzleToRoom','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','2557516pkqsoQ','search','constructor','connectRooms','length','addExit','values','logger','\x27s\x20location.\x20Room\x20','\x20already\x20exists\x20in\x20the\x20scene.','has','getPlayer','toUpperCase','Room\x20\x22','delete','rooms','getActor','Added\x20room\x20to\x20scene:\x20','join','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','createExitsFromConfig','targetRoom','158022ywkDsX','toString','exits','\x20is\x20now\x20in\x20room\x20','push','1067918Xtjpwc','\x20not\x20found\x20in\x20scene.','set','3465126Bpiycv','Removed\x20room\x20from\x20scene:\x20','name','getCharacterLocation','getInstance','keyRequired','initialize','generateRoomsFromConfig','addItem','Added\x20item\x20','get','direction','isStartRoom','write','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','getRooms','\x20to\x20room\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','player','1yfblof'];a54c=function(){return D;};return a54c();}const a54k=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x1be))/0x1*(parseInt(i(0x1a8))/0x2)+parseInt(i(0x1cd))/0x3+-parseInt(i(0x18d))/0x4+-parseInt(i(0x189))/0x5+-parseInt(i(0x1ab))/0x6+-parseInt(i(0x1cb))/0x7+-parseInt(i(0x1bf))/0x8*(-parseInt(i(0x1a3))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x556cd));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const j=a54d;return a54a[j(0x1a4)]()[j(0x18e)](j(0x1c5))['toString']()[j(0x18f)](a54a)[j(0x18e)](j(0x1c5));});function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x189;let f=c[d];return f;},a54d(a,b);}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{[a54k(0x19c)];[a54k(0x1bd)];['logger'];[a54k(0x1c8)];[a54k(0x1ca)]=new Map();[a54k(0x1c2)];constructor(a){const l=a54k;super(),this[l(0x1c2)]=new RoomFactory(),this[l(0x1bd)]=a[l(0x1bd)],this[l(0x19c)]=this[l(0x1b2)](a[l(0x18a)]),this[l(0x194)]=Logger[l(0x1af)](),this[l(0x1c8)]=new Map(),this[l(0x1a1)](a[l(0x18a)]),this['logger'][l(0x1b8)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object['keys'](this[l(0x19c)])[l(0x19f)](',\x20'));}[a54k(0x1b1)](){const m=a54k;this[m(0x1bd)]['currentLocation']=this[m(0x1ce)]();}[a54k(0x1b2)](a){const n=a54k;if(!this[n(0x1c2)])throw new Error(n(0x1b9));const b={};for(const c of a){const d=this[n(0x1c2)]['createRoom'](c);b[c[n(0x1ad)]]=d;}return b;}['createExitsFromConfig'](a){const o=a54k;for(const b of a){const c=this[o(0x19c)][b['name']];if(b[o(0x1a5)])for(const d of b[o(0x1a5)]){const e=d[o(0x1b6)][o(0x199)](),f=d[o(0x1a2)],g=d[o(0x1b0)],h=this[o(0x19c)][f];h&&c[o(0x192)](Direction[e],h,g);}}}['addActor'](a){const p=a54k;if(this[p(0x1c8)][p(0x197)](a[p(0x1ad)]))throw new Error('Actor\x20with\x20name\x20'+a['name']+p(0x196));this[p(0x1c8)][p(0x1aa)](a[p(0x1ad)],a);}[a54k(0x1c6)](a){const q=a54k;if(!this[q(0x1c8)][q(0x197)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+'\x20found\x20in\x20the\x20scene.');this[q(0x1c8)][q(0x19b)](a);}[a54k(0x19d)](a){const r=a54k;return this['actors'][r(0x1b5)](a);}get['allActors'](){const s=a54k;return Array['from'](this[s(0x1c8)][s(0x193)]());}[a54k(0x1c9)](a){const t=a54k;this[t(0x19c)][a['name']]=a,this[t(0x194)][t(0x1b8)](t(0x19e)+a[t(0x1ad)]);}[a54k(0x1c0)](a){const u=a54k;return this[u(0x19c)][a]?(delete this[u(0x19c)][a],this[u(0x194)][u(0x1b8)](u(0x1ac)+a),!![]):(this['logger'][u(0x1b8)]('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}['addItemToRoom'](a,b){const v=a54k,c=this[v(0x19c)][b];c?(c[v(0x1b3)](a),this[v(0x194)][v(0x1b8)](v(0x1b4)+a['name']+v(0x1bb)+c['name'])):this[v(0x194)]['write']('Failed\x20to\x20add\x20item\x20'+a[v(0x1ad)]+'.\x20Room\x20'+b+v(0x1a9));}[a54k(0x18b)](a,b){const w=a54k,c=this[w(0x19c)][b];c?(c[w(0x1c7)](a),this[w(0x194)]['write']('Added\x20puzzle\x20to\x20room\x20'+c[w(0x1ad)])):this[w(0x194)][w(0x1b8)](w(0x1c3)+b+'\x20not\x20found\x20in\x20scene.');}[a54k(0x1c1)](a,b){const x=a54k,c=this[x(0x19c)][b];c?(this[x(0x1ca)][x(0x1aa)](a[x(0x1ad)],c),this[x(0x194)][x(0x1b8)](a[x(0x1ad)]+x(0x1a6)+c[x(0x1ad)])):this[x(0x194)][x(0x1b8)]('Failed\x20to\x20set\x20'+a['name']+x(0x195)+b+x(0x1a9));}[a54k(0x1ae)](a){const y=a54k;return this['characterLocations']['get'](a[y(0x1ad)]);}[a54k(0x1ce)](){const z=a54k,a=[];for(const c in this[z(0x19c)]){if(this[z(0x19c)]['hasOwnProperty'](c)){const d=this[z(0x19c)][c];d[z(0x1b7)]&&a[z(0x1a7)](d);}}if(a[z(0x191)]>0x1)throw new Error(z(0x18c));if(a['length']===0x1)return a[0x0];const b=Object[z(0x1c4)](this[z(0x19c)]);if(b[z(0x191)]===0x0)throw new Error(z(0x1bc));return console[z(0x1cc)](z(0x1a0)),this[z(0x19c)][b[0x0]];}[a54k(0x198)](){const A=a54k;return this[A(0x1bd)];}[a54k(0x1ba)](){const B=a54k;return this[B(0x19c)];}[a54k(0x190)](a,b,c,d){const C=a54k,e=this[C(0x19c)][a],f=this[C(0x19c)][c];if(!e)throw new Error(C(0x19a)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(C(0x19a)+c+'\x22\x20does\x20not\x20exist.');e[C(0x192)](b,f,d);}}
1
+ const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x190))/0x1+-parseInt(i(0x17a))/0x2+-parseInt(i(0x17d))/0x3+parseInt(i(0x195))/0x4+parseInt(i(0x1ac))/0x5*(-parseInt(i(0x16d))/0x6)+parseInt(i(0x193))/0x7+-parseInt(i(0x17e))/0x8*(-parseInt(i(0x165))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x53dd1));function a54c(){const D=['keys','name','5dwHVCY','player','846KSCCTh','.\x20Room\x20','\x20already\x20exists\x20in\x20the\x20scene.','\x27s\x20location.\x20Room\x20','isStartRoom','toString','toUpperCase','Scene\x20initialized\x20with\x20rooms:\x20','1559586fZPMXP','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','search','removeActor','roomConfiguration','Room\x20\x22','initialize','apply','No\x20actor\x20with\x20name\x20','exits','getActor','\x20to\x20room\x20','characterLocations','1150336WEdSXY','getRooms','Removed\x20room\x20from\x20scene:\x20','1653117qkrAAn','132816DLFReL','currentLocation','write','addExit','Failed\x20to\x20set\x20','Failed\x20to\x20add\x20item\x20','getInstance','\x20found\x20in\x20the\x20scene.','logger','join','(((.+)+)+)+$','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','Added\x20item\x20','keyRequired','Added\x20room\x20to\x20scene:\x20','connectRooms','get','308106YilMLt','getPlayer','hasOwnProperty','1521849mrkuNa','values','1039016qmRBlc','targetRoom','\x20not\x20found\x20in\x20scene.','delete','\x22\x20does\x20not\x20exist.','addActor','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','setPuzzle','generateRoomsFromConfig','set','length','rooms','actors','addItemToRoom','determineStartRoom','Added\x20puzzle\x20to\x20room\x20','roomFactory','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','Actor\x20with\x20name\x20','Failed\x20to\x20add\x20puzzle.\x20Room\x20','getCharacterLocation'];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(0x174)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x16a)]()['search'](k(0x188))[k(0x16a)]()['constructor'](a54a)[k(0x16f)](k(0x188));});a54a();import{Logger}from'../utilities/logger.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x164;let f=c[d];return f;},a54d(a,b);}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x1a0)];['player'];['logger'];[a54l(0x1a1)];['characterLocations']=new Map();['roomFactory'];constructor(a){const m=a54l;super(),this[m(0x1a5)]=new RoomFactory(),this[m(0x164)]=a[m(0x164)],this[m(0x1a0)]=this[m(0x19d)](a[m(0x171)]),this[m(0x186)]=Logger[m(0x184)](),this[m(0x1a1)]=new Map(),this['createExitsFromConfig'](a[m(0x171)]),this['logger']['write'](m(0x16c)+Object[m(0x1aa)](this[m(0x1a0)])[m(0x187)](',\x20'));}[a54l(0x173)](){const n=a54l;this[n(0x164)][n(0x17f)]=this[n(0x1a3)]();}[a54l(0x19d)](a){const o=a54l;if(!this[o(0x1a5)])throw new Error(o(0x19b));const b={};for(const c of a){const d=this[o(0x1a5)]['createRoom'](c);b[c[o(0x1ab)]]=d;}return b;}['createExitsFromConfig'](a){const p=a54l;for(const b of a){const c=this[p(0x1a0)][b[p(0x1ab)]];if(b[p(0x176)])for(const d of b[p(0x176)]){const e=d['direction'][p(0x16b)](),f=d[p(0x196)],g=d[p(0x18c)],h=this['rooms'][f];h&&c['addExit'](Direction[e],h,g);}}}[a54l(0x19a)](a){const q=a54l;if(this[q(0x1a1)]['has'](a[q(0x1ab)]))throw new Error(q(0x1a7)+a[q(0x1ab)]+q(0x167));this[q(0x1a1)][q(0x19e)](a[q(0x1ab)],a);}[a54l(0x170)](a){const r=a54l;if(!this[r(0x1a1)]['has'](a))throw new Error(r(0x175)+a+r(0x185));this[r(0x1a1)][r(0x198)](a);}[a54l(0x177)](a){const s=a54l;return this['actors'][s(0x18f)](a);}get['allActors'](){const t=a54l;return Array['from'](this[t(0x1a1)][t(0x194)]());}['addRoom'](a){const u=a54l;this['rooms'][a[u(0x1ab)]]=a,this[u(0x186)][u(0x180)](u(0x18d)+a[u(0x1ab)]);}['removeRoom'](a){const v=a54l;return this[v(0x1a0)][a]?(delete this[v(0x1a0)][a],this[v(0x186)][v(0x180)](v(0x17c)+a),!![]):(this[v(0x186)][v(0x180)](v(0x1a6)+a),![]);}[a54l(0x1a2)](a,b){const w=a54l,c=this['rooms'][b];c?(c['addItem'](a),this[w(0x186)][w(0x180)](w(0x18b)+a['name']+w(0x178)+c[w(0x1ab)])):this[w(0x186)]['write'](w(0x183)+a[w(0x1ab)]+w(0x166)+b+w(0x197));}['addPuzzleToRoom'](a,b){const x=a54l,c=this['rooms'][b];c?(c[x(0x19c)](a),this['logger'][x(0x180)](x(0x1a4)+c[x(0x1ab)])):this[x(0x186)][x(0x180)](x(0x1a8)+b+'\x20not\x20found\x20in\x20scene.');}['setCharacterLocation'](a,b){const y=a54l,c=this[y(0x1a0)][b];c?(this[y(0x179)][y(0x19e)](a[y(0x1ab)],c),this['logger'][y(0x180)](a['name']+'\x20is\x20now\x20in\x20room\x20'+c['name'])):this[y(0x186)][y(0x180)](y(0x182)+a['name']+y(0x168)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x1a9)](a){const z=a54l;return this[z(0x179)][z(0x18f)](a[z(0x1ab)]);}[a54l(0x1a3)](){const A=a54l,a=[];for(const c in this[A(0x1a0)]){if(this[A(0x1a0)][A(0x192)](c)){const d=this[A(0x1a0)][c];d[A(0x169)]&&a['push'](d);}}if(a[A(0x19f)]>0x1)throw new Error(A(0x18a));if(a['length']===0x1)return a[0x0];const b=Object['keys'](this[A(0x1a0)]);if(b[A(0x19f)]===0x0)throw new Error(A(0x16e));return console['warn'](A(0x189)),this[A(0x1a0)][b[0x0]];}[a54l(0x191)](){const B=a54l;return this[B(0x164)];}[a54l(0x17b)](){return this['rooms'];}[a54l(0x18e)](a,b,c,d){const C=a54l,e=this['rooms'][a],f=this[C(0x1a0)][c];if(!e)throw new Error(C(0x172)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error('Room\x20\x22'+c+C(0x199));e[C(0x181)](b,f,d);}}
@@ -1 +1 @@
1
- function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x11d;var f=c[d];return f;},a55d(a,b);}var a55t=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x155))/0x1+parseInt(f(0x13c))/0x2*(-parseInt(f(0x14a))/0x3)+-parseInt(f(0x13e))/0x4*(-parseInt(f(0x13a))/0x5)+-parseInt(f(0x151))/0x6*(-parseInt(f(0x14b))/0x7)+parseInt(f(0x156))/0x8*(parseInt(f(0x150))/0x9)+parseInt(f(0x138))/0xa*(parseInt(f(0x121))/0xb)+parseInt(f(0x11d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x4bb5b));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x126)]()[h(0x12b)]('(((.+)+)+)+$')['toString']()[h(0x12e)](a55a)[h(0x12b)](h(0x145));});a55a();function a55c(){var D=['Holy\x20Grail','toString','Small','Sniper\x20Rifle','Key','Circle','search','Common','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','constructor','Gloves','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','pageCount','A\x20mysterious\x20book.','Weapon','Rifle','Medium','Helmet','Boots','1334730BtUVoP','Smooth','15DfmHiD','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','1588RGCGmU','Brown','165820TSdfdx','Rectangle','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Metallic','Book','Tiny','description','(((.+)+)+)+$','Rare','apply','author','publishDate','1983GSfdBa','3905363bOPTPg','Large','Blade','Legendary','Cup','117QsOWnT','6dmdmjw','name','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','ArmArmor','553071FMhQCo','87664caIFQa','use','5157732cXPPut','Short\x20Sword','Unknown','You\x20hold\x20the\x20','11NRJJsH','Yellow','Grey','Unknown\x20Author'];a55c=function(){return D;};return a55c();}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(0x135)],'category':Category[i(0x11f)],'shape':Shape[i(0x13f)],'color':Color[i(0x122)],'texture':Texture[i(0x139)],'rating':Rating['Common'],'weight':0x1});}['use'](){var j=a55d;return this[j(0x144)];}}export class Sword extends Item{constructor(a,b){var k=a55d;super({'name':a,'description':b,'size':Size[k(0x135)],'category':Category[k(0x133)],'shape':Shape[k(0x14d)],'color':Color[k(0x123)],'texture':Texture[k(0x141)],'rating':Rating[k(0x12c)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55d;super({'name':a,'description':b,'size':Size['Large'],'category':Category[l(0x133)],'shape':Shape['Rifle'],'color':Color[l(0x13d)],'texture':Texture[l(0x141)],'rating':Rating[l(0x146)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a55d;super({'name':a,'description':b,'size':Size[m(0x135)],'category':Category[m(0x136)],'shape':Shape['Circle'],'color':Color['Grey'],'texture':Texture[m(0x141)],'rating':Rating[m(0x12c)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55d;super({'name':a,'description':b,'size':Size[n(0x14c)],'category':Category['BodyArmor'],'shape':Shape[n(0x13f)],'color':Color[n(0x123)],'texture':Texture[n(0x141)],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55d;super({'name':a,'description':b,'size':Size[o(0x135)],'category':Category['LegArmor'],'shape':Shape[o(0x13f)],'color':Color[o(0x123)],'texture':Texture['Metallic'],'rating':Rating[o(0x12c)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55d;super({'name':a,'description':b,'size':Size[p(0x135)],'category':Category[p(0x137)],'shape':Shape[p(0x12a)],'color':Color[p(0x13d)],'texture':Texture[p(0x139)],'rating':Rating[p(0x12c)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55d;super({'name':a,'description':b,'size':Size[q(0x127)],'category':Category[q(0x12f)],'shape':Shape[q(0x12a)],'color':Color[q(0x13d)],'texture':Texture[q(0x139)],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a55d;super({'name':a,'description':b,'size':Size[r(0x135)],'category':Category[r(0x154)],'shape':Shape['Rectangle'],'color':Color[r(0x123)],'texture':Texture[r(0x141)],'rating':Rating[r(0x12c)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a55d;super({'name':a,'description':b,'size':Size[s(0x143)],'category':Category[s(0x129)],'shape':Shape[s(0x13f)],'color':Color[s(0x122)],'texture':Texture['Smooth'],'rating':Rating[s(0x12c)],'weight':0x0});}[a55t(0x157)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var u=a55t;super({'name':a,'description':b,'size':Size[u(0x135)],'category':Category['Weapon'],'shape':Shape[u(0x14d)],'color':Color[u(0x123)],'texture':Texture['Metallic'],'rating':Rating[u(0x12c)],'weight':0x3});}['use'](){var v=a55t;return v(0x130);}}export class Book extends Item{['author'];[a55t(0x149)];[a55t(0x131)];constructor(a,b=a55t(0x132),c=a55t(0x124)){var w=a55t;super({'name':a,'description':b,'size':Size[w(0x135)],'category':Category[w(0x142)],'shape':Shape['Rectangle'],'color':Color['Brown'],'texture':Texture[w(0x139)],'rating':Rating[w(0x12c)],'weight':0x1}),this[w(0x148)]=c,this['publishDate']=new Date(),this[w(0x131)]=0x64;}[a55t(0x157)](){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=a55t;super({'name':x(0x11e),'description':x(0x12d),'size':Size[x(0x135)],'category':Category['Weapon'],'shape':Shape[x(0x14d)],'color':Color[x(0x123)],'texture':Texture[x(0x141)],'rating':Rating[x(0x12c)],'weight':0x3});}[a55t(0x157)](){var y=a55t;return y(0x130);}}export class SniperRifle extends Item{constructor(){var z=a55t;super({'name':z(0x128),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[z(0x14c)],'category':Category[z(0x133)],'shape':Shape[z(0x134)],'color':Color[z(0x13d)],'texture':Texture['Smooth'],'rating':Rating[z(0x12c)],'weight':0x5});}[a55t(0x157)](){var A=a55t;return A(0x153);}}export class HolyGrail extends Item{constructor(){var B=a55t;super({'name':B(0x125),'description':B(0x13b),'size':Size['Small'],'category':Category[B(0x14f)],'shape':Shape[B(0x12a)],'color':Color['Gold'],'texture':Texture['Metallic'],'rating':Rating[B(0x14e)],'weight':0x1});}[a55t(0x157)](){var C=a55t;return C(0x120)+this[C(0x152)]+C(0x140);}}
1
+ var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x1f5))/0x1+parseInt(f(0x20e))/0x2+parseInt(f(0x1f4))/0x3+parseInt(f(0x21f))/0x4+parseInt(f(0x213))/0x5*(-parseInt(f(0x1f2))/0x6)+parseInt(f(0x1f6))/0x7*(parseInt(f(0x200))/0x8)+-parseInt(f(0x21c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x70313));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x201)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x211)]()[h(0x1f9)](h(0x202))[h(0x211)]()[h(0x208)](a55a)[h(0x1f9)](h(0x202));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[i(0x226)],'shape':Shape[i(0x21b)],'color':Color['Yellow'],'texture':Texture[i(0x225)],'rating':Rating['Common'],'weight':0x1});}[a55j(0x21e)](){var k=a55j;return this[k(0x21a)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[l(0x206)],'shape':Shape[l(0x207)],'color':Color[l(0x203)],'texture':Texture['Metallic'],'rating':Rating[l(0x20c)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category['Weapon'],'shape':Shape[m(0x205)],'color':Color['Brown'],'texture':Texture[m(0x1ff)],'rating':Rating[m(0x1f3)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x1fa)],'category':Category[n(0x218)],'shape':Shape[n(0x20a)],'color':Color[n(0x203)],'texture':Texture[n(0x1ff)],'rating':Rating[n(0x20c)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[o(0x214)],'shape':Shape[o(0x21b)],'color':Color['Grey'],'texture':Texture[o(0x1ff)],'rating':Rating[o(0x20c)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0x1fa)],'category':Category[p(0x223)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[p(0x20c)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x1fa)],'category':Category[q(0x1f0)],'shape':Shape[q(0x20a)],'color':Color['Brown'],'texture':Texture[q(0x225)],'rating':Rating[q(0x20c)],'weight':0x2});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1f0;var f=c[d];return f;},a55d(a,b);}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x1fe)],'category':Category[r(0x20d)],'shape':Shape[r(0x20a)],'color':Color[r(0x1f8)],'texture':Texture['Smooth'],'rating':Rating[r(0x20c)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x1fa)],'category':Category[s(0x21d)],'shape':Shape[s(0x21b)],'color':Color[s(0x203)],'texture':Texture[s(0x1ff)],'rating':Rating[s(0x20c)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category[t(0x224)],'shape':Shape['Rectangle'],'color':Color[t(0x204)],'texture':Texture[t(0x225)],'rating':Rating['Common'],'weight':0x0});}[a55j(0x21e)](){var u=a55j;return u(0x216);}}export class Weapon extends Item{constructor(a,b){var v=a55j;super({'name':a,'description':b,'size':Size[v(0x1fa)],'category':Category['Weapon'],'shape':Shape['Blade'],'color':Color[v(0x203)],'texture':Texture[v(0x1ff)],'rating':Rating[v(0x20c)],'weight':0x3});}['use'](){var w=a55j;return w(0x222);}}function a55c(){var E=['Smooth','Unknown','Boots','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','6IcslvA','Rare','769470fujwzB','263393tNSAge','147xumjHE','Book','Brown','search','Medium','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Short\x20Sword','Small','Metallic','282248GXBGKz','apply','(((.+)+)+)+$','Grey','Yellow','Rifle','Weapon','Blade','constructor','author','Circle','A\x20mysterious\x20book.','Common','Gloves','121774ewdbhP','name','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','toString','Sniper\x20Rifle','2679190iSSrxf','BodyArmor','publishDate','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Legendary','Helmet','\x20aloft,\x20feeling\x20its\x20immense\x20power.','description','Rectangle','1363446DHlWxP','ArmArmor','use','1407944DcgyJS','Gold','You\x20hold\x20the\x20','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','LegArmor','Key'];a55c=function(){return E;};return a55c();}export class Book extends Item{['author'];[a55j(0x215)];['pageCount'];constructor(a,b=a55j(0x20b),c='Unknown\x20Author'){var x=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[x(0x1f7)],'shape':Shape[x(0x21b)],'color':Color[x(0x1f8)],'texture':Texture[x(0x225)],'rating':Rating[x(0x20c)],'weight':0x1}),this[x(0x209)]=c,this[x(0x215)]=new Date(),this['pageCount']=0x64;}[a55j(0x21e)](){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 y=a55j;super({'name':y(0x1fd),'description':y(0x1fc),'size':Size[y(0x1fa)],'category':Category[y(0x206)],'shape':Shape[y(0x207)],'color':Color[y(0x203)],'texture':Texture[y(0x1ff)],'rating':Rating[y(0x20c)],'weight':0x3});}[a55j(0x21e)](){var z=a55j;return z(0x222);}}export class SniperRifle extends Item{constructor(){var A=a55j;super({'name':A(0x212),'description':A(0x1f1),'size':Size['Large'],'category':Category[A(0x206)],'shape':Shape[A(0x205)],'color':Color[A(0x1f8)],'texture':Texture[A(0x225)],'rating':Rating[A(0x20c)],'weight':0x5});}[a55j(0x21e)](){var B=a55j;return B(0x210);}}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':'Holy\x20Grail','description':C(0x1fb),'size':Size['Small'],'category':Category['Cup'],'shape':Shape['Circle'],'color':Color[C(0x220)],'texture':Texture['Metallic'],'rating':Rating[C(0x217)],'weight':0x1});}[a55j(0x21e)](){var D=a55j;return D(0x221)+this[D(0x20f)]+D(0x219);}}