@maka/maka-cli 4.7.26 → 4.7.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  109. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/kit.js +1 -1
  112. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  115. package/bundle/obf/src/generators/layout.js +1 -1
  116. package/bundle/obf/src/generators/maka.gen.js +1 -1
  117. package/bundle/obf/src/generators/methods.js +1 -1
  118. package/bundle/obf/src/generators/package.js +1 -1
  119. package/bundle/obf/src/generators/page.js +1 -1
  120. package/bundle/obf/src/generators/publish.js +1 -1
  121. package/bundle/obf/src/generators/route.js +1 -1
  122. package/bundle/obf/src/generators/service.js +1 -1
  123. package/bundle/obf/src/generators/services/_index.js +1 -1
  124. package/bundle/obf/src/generators/services/openssl.js +1 -1
  125. package/bundle/obf/src/generators/services/translation.js +1 -1
  126. package/bundle/obf/src/maka.js +1 -1
  127. package/bundle/obf/src/templates/meteor/project/package.json +4 -1
  128. package/bundle/obf/src/tool.js +1 -1
  129. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  130. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/https/https.class.js +1 -1
  137. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  138. package/bundle/obf/src/tools/log/log.class.js +1 -1
  139. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/options/options.class.js +1 -1
  141. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  142. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  147. package/package.json +1 -1
@@ -1 +1 @@
1
- const a36i=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=parseInt(g(0xfa))/0x1+parseInt(g(0xf0))/0x2*(-parseInt(g(0xed))/0x3)+parseInt(g(0xdf))/0x4*(-parseInt(g(0xec))/0x5)+-parseInt(g(0xf4))/0x6*(parseInt(g(0xf1))/0x7)+-parseInt(g(0xf5))/0x8+parseInt(g(0xe3))/0x9+-parseInt(g(0xe6))/0xa*(-parseInt(g(0xee))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x2af81));function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xdd;let f=c[d];return f;},a36d(a,b);}function a36c(){const k=['logger','name','10QWmPtR','allActors','join','\x20says\x20to\x20','search','(((.+)+)+)+$','6845RQpomb','511671usgoDd','11070598iCpYdk','verb','4NZdZsN','21084VyHJeE','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','say','636xVZzaP','1471952sNkVPK','toString','actor','log','filter','206078NcaQGZ','An\x20error\x20occurred.','scene','length','892cLqBDo','context','You\x20say:\x20\x22','currentLocation','1018548CbDjnO'];a36c=function(){return k;};return a36c();}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(0xf6)]()[h(0xea)](h(0xeb))['toString']()['constructor'](a36a)[h(0xea)](h(0xeb));});a36a();import{Command}from'./command.js';export class SayCommand extends Command{static [a36i(0xef)]=a36i(0xf3);static ['description']=a36i(0xf2);[a36i(0xe0)];constructor(a){super(a),this['context']=a;}['execute'](a){const j=a36i;if(a[j(0xde)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[j(0xe8)]('\x20'),c=this[j(0xf7)],d=this['context'][j(0xdd)];if(!d)return this['logger']['log']('Scene\x20is\x20missing\x20from\x20context.'),j(0xfb);const e=d[j(0xe7)][j(0xf9)](f=>f['currentLocation']===c[j(0xe2)]);for(const f of e){this[j(0xe4)][j(0xf8)](c[j(0xe5)]+j(0xe9)+f['name']+':\x20\x22'+b+'\x22'),this[j(0xf7)]['currentLocation'][j(0xf3)](f,b);}return j(0xe1)+b+'\x22';}}
1
+ function a36c(){const m=['2908974ogaSIB','418695rFSlSe','context','An\x20error\x20occurred.','length','5ZDwibL','You\x20say:\x20\x22','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','currentLocation','10XNRsqE','Scene\x20is\x20missing\x20from\x20context.','What\x20do\x20you\x20want\x20to\x20say?','1786012IcuKsj','constructor','toString','actor','say','(((.+)+)+)+$','log','7mPpdVb','apply','execute','allActors','join','1277416NnCETf','search','logger','1478622wsyfkw','scene','filter','1077528diUXfX','description','9321687dDfxkY','name'];a36c=function(){return m;};return a36c();}function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xcb;let f=c[d];return f;},a36d(a,b);}const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=parseInt(g(0xe5))/0x1+parseInt(g(0xda))/0x2+parseInt(g(0xdd))/0x3+-parseInt(g(0xce))/0x4*(-parseInt(g(0xe9))/0x5)+parseInt(g(0xe4))/0x6*(-parseInt(g(0xd5))/0x7)+-parseInt(g(0xe0))/0x8+-parseInt(g(0xe2))/0x9*(parseInt(g(0xcb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x5360d));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0xd6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a[i(0xd0)]()[i(0xdb)](i(0xd3))[i(0xd0)]()[i(0xcf)](a36a)['search'](i(0xd3));});a36a();import{Command}from'./command.js';export class SayCommand extends Command{static ['verb']=a36j(0xd2);static [a36j(0xe1)]=a36j(0xeb);[a36j(0xe6)];constructor(a){const k=a36j;super(a),this[k(0xe6)]=a;}[a36j(0xd7)](a){const l=a36j;if(a[l(0xe8)]===0x0)return l(0xcd);const b=a[l(0xd9)]('\x20'),c=this[l(0xd1)],d=this['context'][l(0xde)];if(!d)return this[l(0xdc)][l(0xd4)](l(0xcc)),l(0xe7);const e=d[l(0xd8)][l(0xdf)](f=>f[l(0xec)]===c[l(0xec)]);for(const f of e){this[l(0xdc)]['log'](c[l(0xe3)]+'\x20says\x20to\x20'+f[l(0xe3)]+':\x20\x22'+b+'\x22'),this[l(0xd1)][l(0xec)][l(0xd2)](f,b);}return l(0xea)+b+'\x22';}}
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x164))/0x1+parseInt(f(0x158))/0x2*(parseInt(f(0x168))/0x3)+parseInt(f(0x15c))/0x4+parseInt(f(0x154))/0x5+-parseInt(f(0x170))/0x6*(parseInt(f(0x15b))/0x7)+-parseInt(f(0x156))/0x8+parseInt(f(0x155))/0x9*(parseInt(f(0x157))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x5214a));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x16d)]()[h(0x16a)](h(0x15f))[h(0x16d)]()['constructor'](a37a)['search'](h(0x15f));});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x154;let f=c[d];return f;},a37d(a,b);}a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x159)]=a37i(0x16a);static [a37i(0x16c)]=a37i(0x15d);[a37i(0x161)](){const j=a37i,a=this[j(0x15e)][j(0x160)][j(0x165)]['listItems']();if(a[j(0x171)]===0x0)return this[j(0x163)][j(0x16f)]('SearchCommand:\x20'+this[j(0x15e)][j(0x16e)]+j(0x15a)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0x167)](',\x20');return this[j(0x163)][j(0x16f)](j(0x162)+this[j(0x15e)][j(0x16e)]+j(0x169)+b),j(0x16b)+b;}}function a37c(){const k=['actor','(((.+)+)+)+$','currentLocation','execute','SearchCommand:\x20','logger','53982MlzcIO','inventory','apply','join','87iEWcAj','\x20found\x20the\x20following\x20items:\x20','search','You\x20search\x20the\x20area\x20and\x20find:\x20','description','toString','name','write','12fNlpnh','length','1446765OnPdqt','1476FDJRZT','1816416HvuqDf','1660PxIHzC','32552qoYgDb','verb','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','1418543RftAgl','935812PZvKKr','Search\x20for\x20items\x20in\x20your\x20area'];a37c=function(){return k;};return a37c();}
1
+ const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x160))/0x1+-parseInt(f(0x168))/0x2+parseInt(f(0x15f))/0x3+parseInt(f(0x16c))/0x4+parseInt(f(0x16b))/0x5+-parseInt(f(0x169))/0x6+parseInt(f(0x16a))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x4a4ea));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x15d)]()[h(0x161)](h(0x162))[h(0x15d)]()[h(0x163)](a37a)[h(0x161)](h(0x162));});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x15b;let f=c[d];return f;},a37d(a,b);}a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a37i(0x161);static ['description']='Search\x20for\x20items\x20in\x20your\x20area';[a37i(0x166)](){const j=a37i,a=this['actor'][j(0x16d)]['inventory'][j(0x15e)]();if(a[j(0x165)]===0x0)return this[j(0x16e)][j(0x170)]('SearchCommand:\x20'+this[j(0x167)]['name']+j(0x16f)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0x164)](',\x20');return this[j(0x16e)][j(0x170)]('SearchCommand:\x20'+this[j(0x167)][j(0x15c)]+'\x20found\x20the\x20following\x20items:\x20'+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}function a37c(){const k=['(((.+)+)+)+$','constructor','join','length','execute','actor','969496YdWIZG','1696824zmoKKM','553980QgRtQa','1091565FnYSRs','1304680HQKgjh','currentLocation','logger','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','write','apply','name','toString','listItems','461472pDNoHm','294467XqNgRR','search'];a37c=function(){return k;};return a37c();}
@@ -1 +1 @@
1
- const a38i=a38d;function a38c(){const k=['write','50WeHHvh','execute','verb','7790566JNLcBF','message','constructor','inventory','4625805vIJGrY','rewardItem','description','66oQWjhj','actor','toLowerCase','SolveCommand:\x20','currentLocation','search','toString','(((.+)+)+)+$','4WiFWSK','1817001rWnnyj','514981trvoZy','logger','4XOMlgK','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','5129220wvjTfs','puzzle','761613dOyIom','addItem','success','9108294arSInD','8cdxrwD','apply','solve'];a38c=function(){return k;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x15e))/0x1*(parseInt(f(0x160))/0x2)+-parseInt(f(0x164))/0x3+parseInt(f(0x15c))/0x4*(-parseInt(f(0x173))/0x5)+-parseInt(f(0x167))/0x6+parseInt(f(0x16f))/0x7*(-parseInt(f(0x168))/0x8)+parseInt(f(0x15d))/0x9*(parseInt(f(0x16c))/0xa)+-parseInt(f(0x176))/0xb*(-parseInt(f(0x162))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xc1d8e));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x169)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x17c)]()[h(0x17b)](h(0x15b))[h(0x17c)]()[h(0x171)](a38a)['search'](h(0x15b));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x15b;let f=c[d];return f;},a38d(a,b);}a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x16e)]='solve';static [a38i(0x175)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a38i(0x16d)](a){const j=a38i,b=a['join']('\x20')[j(0x178)](),c=this[j(0x177)][j(0x17a)];if(!c||!c['puzzle'])return this['logger'][j(0x16b)](j(0x161)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c['puzzle'][j(0x16a)](b,this[j(0x177)][j(0x172)]);return d[j(0x166)]&&c[j(0x163)]['rewardItem']&&this[j(0x177)][j(0x172)][j(0x165)](c[j(0x163)][j(0x174)]),this[j(0x15f)]['write'](j(0x179)+d[j(0x170)]),d[j(0x170)];}}
1
+ function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1a0;let f=c[d];return f;},a38d(a,b);}const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x1ad))/0x1+-parseInt(f(0x1b0))/0x2*(-parseInt(f(0x1bc))/0x3)+-parseInt(f(0x1aa))/0x4+-parseInt(f(0x1a5))/0x5+-parseInt(f(0x1a0))/0x6+-parseInt(f(0x1b4))/0x7+parseInt(f(0x1af))/0x8*(parseInt(f(0x1a3))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x959fa));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1bb)]()['search'](h(0x1a6))[h(0x1bb)]()['constructor'](a38a)[h(0x1b7)](h(0x1a6));});function a38c(){const k=['search','actor','toLowerCase','inventory','toString','20022gOJaGA','5164920hWnVRb','rewardItem','write','99YUTiqz','solve','2326015tKagph','(((.+)+)+)+$','Attempt\x20to\x20solve\x20a\x20puzzle.','puzzle','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','3005664xJNODa','description','apply','293292TDZEbP','message','1696208udztad','238zeJstn','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','verb','join','5106409bhiEQp','execute','SolveCommand:\x20'];a38c=function(){return k;};return a38c();}a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x1b2)]=a38i(0x1a4);static [a38i(0x1ab)]=a38i(0x1a7);[a38i(0x1b5)](a){const j=a38i,b=a[j(0x1b3)]('\x20')[j(0x1b9)](),c=this[j(0x1b8)]['currentLocation'];if(!c||!c[j(0x1a8)])return this['logger'][j(0x1a2)](j(0x1b1)),j(0x1a9);const d=c[j(0x1a8)][j(0x1a4)](b,this[j(0x1b8)][j(0x1ba)]);return d['success']&&c['puzzle']['rewardItem']&&this[j(0x1b8)][j(0x1ba)]['addItem'](c[j(0x1a8)][j(0x1a1)]),this['logger'][j(0x1a2)](j(0x1b6)+d[j(0x1ae)]),d[j(0x1ae)];}}
@@ -1 +1 @@
1
- function a39c(){const l=['5539912leFMrS','\x22\x20not\x20found\x20in\x20','Successfully\x20added\x20\x22','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x22\x20in\x20this\x20room.','logger','898491onSHWD','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Successfully\x20removed\x20\x22','join','20105WxJuay','3252JABpYU','Item\x20\x22','apply','addInventory','(((.+)+)+)+$','The\x20item\x20\x22','message','\x22\x20not\x20retrieved\x20from\x20','\x20during\x20\x27Take\x27\x20command.','1516pgOpVq','71740372YErPtu','\x22\x20from\x20','execute','82HvMpfE','write','removeItem','There\x20is\x20no\x20item\x20\x22','currentLocation','Error\x20during\x20\x27Take\x27\x20command:\x20','18286HBeCAG','toString','12926367NDOqgl','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','name','inventory','toLowerCase','You\x20have\x20taken\x20the\x20','actor','verb','Pick\x20up\x20an\x20item.','constructor','12747NpejcM','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','take','10xxEyzF','search','description'];a39c=function(){return l;};return a39c();}const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0xd6))/0x1*(parseInt(f(0xdc))/0x2)+-parseInt(f(0xc4))/0x3+parseInt(f(0xd2))/0x4*(-parseInt(f(0xc8))/0x5)+-parseInt(f(0xc9))/0x6*(parseInt(f(0xe8))/0x7)+-parseInt(f(0xbe))/0x8+parseInt(f(0xde))/0x9*(-parseInt(f(0xeb))/0xa)+parseInt(f(0xd3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xcb5a8));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0xdd)]()[h(0xec)]('(((.+)+)+)+$')[h(0xdd)]()[h(0xe7)](a39a)['search'](h(0xcd));});a39a();import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xbe;let f=c[d];return f;},a39d(a,b);}export class TakeCommand extends Command{static [a39i(0xe5)]=a39i(0xea);static [a39i(0xed)]=a39i(0xe6);[a39i(0xd5)](a){const j=a39i;return this['logger'][j(0xd7)](j(0xe9)+a[j(0xc7)]('\x20')),this[j(0xea)](a);}[a39i(0xea)](a){const k=a39i,b=a[k(0xc7)]('\x20')[k(0xe2)](),c=this[k(0xe4)][k(0xda)];if(!c[k(0xe1)]['hasItem'](b))return this[k(0xc3)][k(0xd7)](k(0xca)+b+k(0xbf)+c[k(0xe0)]+k(0xd1)),k(0xd9)+b+k(0xc2);const d=c['inventory']['getItem'](b);if(!d)return this['logger'][k(0xd7)](k(0xca)+b+k(0xd0)+c[k(0xe0)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+'\x22\x20in\x20this\x20room.';try{return this[k(0xe4)][k(0xcc)](d),this[k(0xc3)]['write'](k(0xc0)+b+'\x22\x20to\x20'+this[k(0xe4)]['name']+k(0xdf)),c['inventory'][k(0xd8)](b),this[k(0xc3)][k(0xd7)](k(0xc6)+b+k(0xd4)+c[k(0xe0)]+k(0xc5)),k(0xe3)+b+'.';}catch(e){return this[k(0xc3)][k(0xd7)](k(0xdb)+e[k(0xcf)]),k(0xce)+b+k(0xc1);}}}
1
+ const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x16f))/0x1*(parseInt(f(0x170))/0x2)+-parseInt(f(0x17d))/0x3*(parseInt(f(0x16d))/0x4)+-parseInt(f(0x167))/0x5*(parseInt(f(0x174))/0x6)+-parseInt(f(0x161))/0x7+parseInt(f(0x184))/0x8*(-parseInt(f(0x17a))/0x9)+parseInt(f(0x181))/0xa+parseInt(f(0x185))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xc975b));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x163)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x16e)]()[h(0x178)](h(0x176))['toString']()[h(0x18b)](a39a)[h(0x178)](h(0x176));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x15e;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a39i(0x162);static ['description']='Pick\x20up\x20an\x20item.';[a39i(0x177)](a){const j=a39i;return this['logger'][j(0x171)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x168)]('\x20')),this[j(0x162)](a);}[a39i(0x162)](a){const k=a39i,b=a[k(0x168)]('\x20')[k(0x17c)](),c=this[k(0x169)][k(0x188)];if(!c[k(0x165)][k(0x175)](b))return this[k(0x166)]['write'](k(0x179)+b+k(0x182)+c['name']+'\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+k(0x180);const d=c[k(0x165)][k(0x183)](b);if(!d)return this[k(0x166)][k(0x171)](k(0x179)+b+k(0x15e)+c[k(0x173)]+k(0x16c)),k(0x164)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0x169)][k(0x16b)](d),this[k(0x166)][k(0x171)](k(0x172)+b+k(0x189)+this[k(0x169)][k(0x173)]+k(0x17e)),c[k(0x165)][k(0x17f)](b),this[k(0x166)][k(0x171)](k(0x186)+b+k(0x15f)+c[k(0x173)]+k(0x16c)),k(0x187)+b+'.';}catch(e){return this[k(0x166)][k(0x171)](k(0x160)+e[k(0x17b)]),k(0x18a)+b+k(0x16a);}}}function a39c(){const l=['join','actor','\x22\x20is\x20too\x20heavy\x20to\x20carry.','addInventory','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','76wmKCMJ','toString','101sTrRVn','5004PWEvAR','write','Successfully\x20added\x20\x22','name','616872XjqclN','hasItem','(((.+)+)+)+$','execute','search','Item\x20\x22','9jUNfus','message','toLowerCase','77871cTbdTS','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','removeItem','\x22\x20in\x20this\x20room.','10834930jCEsPT','\x22\x20not\x20found\x20in\x20','getItem','2211896SYkYEF','38535123YJtktr','Successfully\x20removed\x20\x22','You\x20have\x20taken\x20the\x20','currentLocation','\x22\x20to\x20','The\x20item\x20\x22','constructor','\x22\x20not\x20retrieved\x20from\x20','\x22\x20from\x20','Error\x20during\x20\x27Take\x27\x20command:\x20','7659001qweQna','take','apply','There\x20is\x20no\x20item\x20\x22','inventory','logger','80GHyZlK'];a39c=function(){return l;};return a39c();}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x18b))/0x1*(-parseInt(f(0x17d))/0x2)+parseInt(f(0x179))/0x3*(-parseInt(f(0x18f))/0x4)+parseInt(f(0x178))/0x5+parseInt(f(0x186))/0x6+parseInt(f(0x17e))/0x7*(parseInt(f(0x18d))/0x8)+parseInt(f(0x187))/0x9*(parseInt(f(0x188))/0xa)+-parseInt(f(0x18e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xef428));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x18c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x185)]()[h(0x17c)](h(0x181))[h(0x185)]()[h(0x182)](a40a)[h(0x17c)](h(0x181));});a40a();function a40c(){const k=['toLowerCase','unqeuip','(((.+)+)+)+$','constructor','verb','join','toString','3706140mInTJD','18729QQofaJ','7410LyQgbC','name','UnequipCommand:\x20','10797nDVwPx','apply','5872qimMSI','31289918FskPhs','154064MqYort','actor','6548515DCfvuW','141tjNsiW','\x20unqeuiped\x20','Unequip\x20an\x20item.','search','268UfXtxN','6853KnICxA'];a40c=function(){return k;};return a40c();}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x178;let f=c[d];return f;},a40d(a,b);}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x183)]=a40i(0x180);static ['description']=a40i(0x17b);['execute'](a){const j=a40i,b=a[j(0x184)]('\x20')[j(0x17f)](),c=this['actor']['unequip'](b);return this['logger']['write'](j(0x18a)+this[j(0x190)][j(0x189)]+j(0x17a)+c),c;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x12b))/0x1+-parseInt(f(0x128))/0x2+-parseInt(f(0x127))/0x3*(parseInt(f(0x121))/0x4)+-parseInt(f(0x12e))/0x5+-parseInt(f(0x119))/0x6+-parseInt(f(0x125))/0x7+parseInt(f(0x129))/0x8*(parseInt(f(0x12d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xec309));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x12f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x124)]()[h(0x126)](h(0x130))[h(0x124)]()['constructor'](a40a)['search'](h(0x130));});a40a();function a40c(){const k=['223458wyMjLa','47536vUqfFE','description','494115xsRSVO','verb','6903ryxsff','2949545XWvysi','apply','(((.+)+)+)+$','join','11377080KlHOcH','execute','write','logger','UnequipCommand:\x20','name','toLowerCase','unequip','688SikENo','unqeuip','actor','toString','3407572UfXMVE','search','198krKfbQ'];a40c=function(){return k;};return a40c();}import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x119;let f=c[d];return f;},a40d(a,b);}export class UnequipCommand extends Command{static [a40i(0x12c)]=a40i(0x122);static [a40i(0x12a)]='Unequip\x20an\x20item.';[a40i(0x11a)](a){const j=a40i,b=a[j(0x131)]('\x20')[j(0x11f)](),c=this['actor'][j(0x120)](b);return this[j(0x11c)][j(0x11b)](j(0x11d)+this[j(0x123)][j(0x11e)]+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a41k=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x10b;let f=c[d];return f;},a41d(a,b);}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x125))/0x1+-parseInt(h(0x114))/0x2*(-parseInt(h(0x12c))/0x3)+parseInt(h(0x126))/0x4*(parseInt(h(0x127))/0x5)+-parseInt(h(0x121))/0x6+parseInt(h(0x11a))/0x7*(parseInt(h(0x10d))/0x8)+-parseInt(h(0x10b))/0x9*(-parseInt(h(0x115))/0xa)+parseInt(h(0x119))/0xb*(-parseInt(h(0x129))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb1b37));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x12f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x10c)]()['search'](j(0x12b))[j(0x10c)]()['constructor'](a41a)['search'](j(0x12b));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a41c(){const n=['431502SjQqiA','5274740YFBRkq','There\x27s\x20no\x20door\x20named\x20\x22','exits','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','2780987MpUCur','591521jZFaRg','getItem','isValidDirection','.\x20Result:\x20','name','toLowerCase','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','325194SVuGMh','Unlock\x20a\x20door.','actor','hasItem','326531RObtvf','32092dxnevn','395wjsHBz','logger','84VTOftC','currentLocation','(((.+)+)+)+$','18Zwhvra','UnlockCommand:\x20','write','apply','unlockItemOrSolution','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','description','length','\x22\x20here.','9FLeomL','toString','40CLhvNm','unlock','get','inventory','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','has','\x20is\x20attempted\x20to\x20unlock\x20'];a41c=function(){return n;};return a41c();}export class UnlockCommand extends Command{static ['verb']=a41k(0x10e);static [a41k(0x132)]=a41k(0x122);['execute'](a){const l=a41k;return this[l(0x10e)](a);}[a41k(0x10e)](a){const m=a41k;if(a[m(0x133)]===0x0)return this[m(0x128)]['error']('UnlockCommand:\x20No\x20target\x20specified.'),m(0x131);const b=a[0x0]['toLowerCase'](),c=this[m(0x123)][m(0x12a)];if(this[m(0x11c)](b)&&c[m(0x117)][m(0x112)](b)){const d=c[m(0x117)][m(0x10f)](b);if(d instanceof Door){const e=d[m(0x130)]?.[m(0x11f)]();if(e&&this[m(0x123)][m(0x110)][m(0x124)](e)){const f=this[m(0x123)]['inventory'][m(0x11b)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0x11e)]);return this['logger'][m(0x12e)](m(0x12d)+this[m(0x123)][m(0x11e)]+m(0x113)+b+m(0x11d)+g),g;}}return this['logger']['write'](m(0x12d)+this['actor'][m(0x11e)]+m(0x118)+b+'.'),m(0x111);}else return this[m(0x128)]['write'](m(0x12d)+b+m(0x120)+c[m(0x11e)]+'.'),m(0x116)+b+m(0x134);}else return this[m(0x128)][m(0x12e)](m(0x12d)+b+m(0x120)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x134);}}
1
+ const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x7e))/0x1+-parseInt(h(0x95))/0x2*(-parseInt(h(0x84))/0x3)+-parseInt(h(0x8b))/0x4*(parseInt(h(0x93))/0x5)+-parseInt(h(0x91))/0x6*(-parseInt(h(0x99))/0x7)+parseInt(h(0x77))/0x8*(parseInt(h(0x86))/0x9)+parseInt(h(0x72))/0xa*(-parseInt(h(0x7d))/0xb)+-parseInt(h(0x90))/0xc*(-parseInt(h(0x76))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x75086));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x85)]()[j(0x96)](j(0x7f))[j(0x85)]()['constructor'](a41a)[j(0x96)](j(0x7f));});a41a();import{Door}from'../models/door.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x72;let f=c[d];return f;},a41d(a,b);}function a41c(){const m=['toString','1132101zenHwg','apply','\x22\x20here.','exits','name','7080VQmGlx','currentLocation','UnlockCommand:\x20','has','\x20is\x20attempted\x20to\x20unlock\x20','16260YVqwFX','36SEcwBj','unlock','1095NTQmzO','.\x20Result:\x20','26NPNaaM','search','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','426496jhSoOb','hasItem','error','Unlock\x20a\x20door.','verb','write','isValidDirection','8910WLqRNi','toLowerCase','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','description','3081nDDbZR','8SNTkbT','execute','UnlockCommand:\x20No\x20target\x20specified.','getItem','actor','logger','6182vxbMpX','337308BAXIHq','(((.+)+)+)+$','There\x27s\x20no\x20door\x20named\x20\x22','get','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','inventory','205974vyVWds'];a41c=function(){return m;};return a41c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x9d)]='unlock';static [a41k(0x75)]=a41k(0x9c);[a41k(0x78)](a){return this['unlock'](a);}[a41k(0x92)](a){const l=a41k;if(a['length']===0x0)return this[l(0x7c)][l(0x9b)](l(0x79)),l(0x74);const b=a[0x0][l(0x73)](),c=this[l(0x7b)][l(0x8c)];if(this[l(0x9f)](b)&&c['exits'][l(0x8e)](b)){const d=c[l(0x89)][l(0x81)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[l(0x73)]();if(e&&this[l(0x7b)]['inventory'][l(0x9a)](e)){const f=this[l(0x7b)][l(0x83)][l(0x7a)](e);if(f){const g=c['attemptUnlockExit'](b,f[l(0x8a)]);return this[l(0x7c)]['write'](l(0x8d)+this[l(0x7b)]['name']+l(0x8f)+b+l(0x94)+g),g;}}return this['logger'][l(0x9e)](l(0x8d)+this[l(0x7b)]['name']+l(0x82)+b+'.'),l(0x97);}else return this[l(0x7c)][l(0x9e)]('UnlockCommand:\x20'+b+l(0x98)+c[l(0x8a)]+'.'),l(0x80)+b+l(0x88);}else return this['logger'][l(0x9e)](l(0x8d)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c['name']+'.'),l(0x80)+b+l(0x88);}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x14c))/0x1*(parseInt(f(0x148))/0x2)+-parseInt(f(0x143))/0x3*(-parseInt(f(0x165))/0x4)+parseInt(f(0x14b))/0x5+-parseInt(f(0x149))/0x6+parseInt(f(0x158))/0x7*(parseInt(f(0x162))/0x8)+parseInt(f(0x151))/0x9*(parseInt(f(0x150))/0xa)+-parseInt(f(0x13d))/0xb*(-parseInt(f(0x15b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x312c0));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x142)]()[h(0x141)](h(0x161))[h(0x142)]()[h(0x140)](a42a)[h(0x141)]('(((.+)+)+)+$');});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x13d;let f=c[d];return f;},a42d(a,b);}a42a();import{Command}from'./command.js';function a42c(){const l=['description','\x20in\x20this\x20way.','constructor','search','toString','3702igTdEv','write','join','\x20doesn\x27t\x20have\x20a\x20use\x20method.','\x20attempted\x20to\x20use\x20','38yoYjrS','2247198fKSKQx','toLowerCase','131470nHtPBT','1201zUVBfU','You\x20can\x27t\x20use\x20the\x20','function','apply','20wYRscg','715842YxVNUU','use','inventory','actor','\x20not\x20retrieved\x20from\x20','getItem','name','3514TGJBoz','execute','\x27s\x20inventory.','120Ynezol','hasItem','\x20to\x20use.','You\x20don\x27t\x20have\x20the\x20','UseCommand:\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','(((.+)+)+)+$','1752fgyrso','verb','logger','472NvOJwt','173624ReDOGk'];a42c=function(){return l;};return a42c();}export class UseCommand extends Command{static [a42i(0x163)]=a42i(0x152);static [a42i(0x13e)]='Use\x20an\x20item.';[a42i(0x159)](a){const j=a42i;return this[j(0x152)](a);}[a42i(0x152)](a){const k=a42i,b=a[k(0x145)]('\x20')[k(0x14a)]();if(!this[k(0x154)][k(0x153)][k(0x15c)](b))return this[k(0x164)]['write']('UseCommand:\x20'+this[k(0x154)][k(0x157)]+k(0x147)+b+k(0x160)),k(0x15e)+b+k(0x15d);const c=this[k(0x154)]['inventory'][k(0x156)](b);if(!c)return this[k(0x164)][k(0x144)](k(0x15f)+b+k(0x155)+this[k(0x154)][k(0x157)]+k(0x15a)),k(0x15e)+b+k(0x15d);if(typeof c[k(0x152)]===k(0x14e)){const d=c[k(0x152)]();return this[k(0x164)][k(0x144)]('UseCommand:\x20'+this['actor'][k(0x157)]+'\x20used\x20'+b+'.'),d;}else return this[k(0x164)][k(0x144)](k(0x15f)+b+k(0x146)),k(0x14d)+b+k(0x13f);}}
1
+ function a42c(){const l=['hasItem','use','You\x20can\x27t\x20use\x20the\x20','search','288vxtBZr','\x20not\x20retrieved\x20from\x20','4975890cMpeUx','\x20to\x20use.','\x20in\x20this\x20way.','inventory','name','toString','write','42AvkDhz','14664XBQbvI','apply','getItem','UseCommand:\x20','description','You\x20don\x27t\x20have\x20the\x20','3611104ZDCTRv','265952IlrlKK','join','517DKkUuT','constructor','logger','4538553ndLmhJ','execute','verb','6540401SOxebI','1525LTJCON','\x20doesn\x27t\x20have\x20a\x20use\x20method.',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','(((.+)+)+)+$','\x20used\x20','\x20attempted\x20to\x20use\x20','function','actor'];a42c=function(){return l;};return a42c();}const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0xd8))/0x1*(parseInt(f(0xce))/0x2)+parseInt(f(0xdb))/0x3+-parseInt(f(0xd5))/0x4+-parseInt(f(0xdf))/0x5*(-parseInt(f(0xcf))/0x6)+-parseInt(f(0xde))/0x7+parseInt(f(0xd6))/0x8*(parseInt(f(0xc5))/0x9)+-parseInt(f(0xc7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xee682));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xbb;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xcc)]()[h(0xc4)](h(0xbc))[h(0xcc)]()[h(0xd9)](a42a)[h(0xc4)](h(0xbc));});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0xdd)]='use';static [a42i(0xd3)]='Use\x20an\x20item.';[a42i(0xdc)](a){const j=a42i;return this[j(0xc2)](a);}[a42i(0xc2)](a){const k=a42i,b=a[k(0xd7)]('\x20')['toLowerCase']();if(!this[k(0xc0)][k(0xca)][k(0xc1)](b))return this[k(0xda)][k(0xcd)](k(0xd2)+this[k(0xc0)][k(0xcb)]+k(0xbe)+b+k(0xbb)),k(0xd4)+b+k(0xc8);const c=this[k(0xc0)]['inventory'][k(0xd1)](b);if(!c)return this['logger'][k(0xcd)]('UseCommand:\x20'+b+k(0xc6)+this['actor'][k(0xcb)]+'\x27s\x20inventory.'),k(0xd4)+b+'\x20to\x20use.';if(typeof c[k(0xc2)]===k(0xbf)){const d=c[k(0xc2)]();return this['logger'][k(0xcd)](k(0xd2)+this[k(0xc0)][k(0xcb)]+k(0xbd)+b+'.'),d;}else return this[k(0xda)][k(0xcd)]('UseCommand:\x20'+b+k(0xe0)),k(0xc3)+b+k(0xc9);}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x73))/0x1*(parseInt(f(0x6e))/0x2)+-parseInt(f(0x72))/0x3*(-parseInt(f(0x75))/0x4)+-parseInt(f(0x6a))/0x5+-parseInt(f(0x74))/0x6+-parseInt(f(0x69))/0x7+parseInt(f(0x77))/0x8*(-parseInt(f(0x76))/0x9)+parseInt(f(0x6d))/0xa*(parseInt(f(0x7a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x2bfeb));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x6b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x79)]()[h(0x6f)]('(((.+)+)+)+$')[h(0x79)]()[h(0x7b)](a43a)['search']('(((.+)+)+)+$');});function a43c(){const m=['819868VcFGAz','962285upWGud','apply','registerCommand','685310fRjrGJ','262wMwGLr','search','commandMap','createCommand','76713onFNmN','617vgGHAV','1032822bSOcxg','48DIUIfk','14607KLgujy','216qzZzHb','getAllRegisteredCommands','toString','77iTxHrP','constructor'];a43c=function(){return m;};return a43c();}a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x69;let f=c[d];return f;},a43d(a,b);}export class CommandFactory{static [a43i(0x70)]={};static[a43i(0x6c)](a,b){const j=a43i;this[j(0x70)][a]=b;}static[a43i(0x71)](a,b){const k=a43i,c=this[k(0x70)][a];if(c)return new c(b);return null;}static[a43i(0x78)](){const l=a43i;return this[l(0x70)];}}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x10a))/0x1+-parseInt(f(0x10b))/0x2+parseInt(f(0x106))/0x3*(parseInt(f(0x104))/0x4)+parseInt(f(0x100))/0x5*(parseInt(f(0x108))/0x6)+-parseInt(f(0xfe))/0x7*(-parseInt(f(0x105))/0x8)+-parseInt(f(0x109))/0x9+parseInt(f(0xfd))/0xa*(-parseInt(f(0x102))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xac4d7));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xfd;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(0x107)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x10c)]()['search'](h(0xff))['toString']()[h(0x10d)](a43a)['search'](h(0xff));});function a43c(){const m=['commandMap','60McWZkw','624760ZZCqkf','210339fpAmzq','apply','37650oABiUM','8076240cDiacl','11323AiToGP','2517630szifro','toString','constructor','5630GsXEJA','119WfBdua','(((.+)+)+)+$','965XPcRUw','createCommand','14454gUzcQz'];a43c=function(){return m;};return a43c();}a43a();export class CommandFactory{static [a43i(0x103)]={};static['registerCommand'](a,b){const j=a43i;this[j(0x103)][a]=b;}static[a43i(0x101)](a,b){const k=a43i,c=this[k(0x103)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const l=a43i;return this[l(0x103)];}}
@@ -1 +1 @@
1
- const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x18f))/0x1*(parseInt(f(0x192))/0x2)+parseInt(f(0x18d))/0x3*(-parseInt(f(0x176))/0x4)+parseInt(f(0x195))/0x5*(-parseInt(f(0x18b))/0x6)+parseInt(f(0x17b))/0x7*(-parseInt(f(0x178))/0x8)+parseInt(f(0x190))/0x9*(-parseInt(f(0x186))/0xa)+-parseInt(f(0x194))/0xb+parseInt(f(0x185))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xb8e90));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x180)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()[h(0x17c)](h(0x183))[h(0x18e)]()['constructor'](a44a)[h(0x17c)](h(0x183));});function a44c(){const o=['29484468fzJzBB','1172050HqROBj','inventory','rifle','roomType','sword','438QPXLEU','createItem','25692DMeUgn','toString','534892rCgzej','54tJPGvo','key','2ZFayfi','isStartRoom','13392005PWygef','14145fVEaBu','gauntlets','book','createRoom','gloves','puzzle','createPuzzle','convertToRoomConfig','4kujKkW','toUpperCase','790184UvZwoO','bodyarmor','name','7fPsCrL','search','boots','helmet','rewardItem','apply','addItem','items','(((.+)+)+)+$','description'];a44c=function(){return o;};return a44c();}a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x176;let f=c[d];return f;},a44d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0x198)](a){const j=a44i,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[j(0x182)]){const d=new Inventory();a[j(0x182)]['forEach'](e=>{const k=j;d[k(0x181)](this[k(0x18c)](e));}),c[j(0x187)]=d;}return a[j(0x19a)]&&c['setPuzzle'](this[j(0x19b)](a[j(0x19a)])),c;}[a44i(0x18c)](a){const l=a44i;switch(a['type']){case l(0x191):return new Key(a['name'],a[l(0x184)]);case l(0x197):return new Book(a[l(0x17a)],a[l(0x184)],a['content']);case l(0x18a):return new Sword(a[l(0x17a)],a[l(0x184)]);case l(0x188):return new Rifle(a[l(0x17a)],a[l(0x184)]);case l(0x17e):return new Helmet(a[l(0x17a)],a['description']);case l(0x179):return new BodyArmor(a[l(0x17a)],a[l(0x184)]);case'legarmor':return new LegArmor(a['name'],a[l(0x184)]);case l(0x17d):return new Boots(a['name'],a[l(0x184)]);case l(0x199):return new Gloves(a['name'],a['description']);case l(0x196):return new Gauntlets(a[l(0x17a)],a[l(0x184)]);default:return new BasicItem(a[l(0x17a)],a['description']);}}['createPuzzle'](a){const m=a44i,b=this[m(0x18c)](a[m(0x17f)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0x19c)](a){const n=a44i,b=a[n(0x189)]&&RoomType[a[n(0x189)][n(0x177)]()]?RoomType[a[n(0x189)]['toUpperCase']()]:RoomType['INSIDE'];return{'name':a[n(0x17a)],'description':a[n(0x184)],'isStartRoom':a[n(0x193)],'roomType':b};}}
1
+ const a44i=a44d;function a44c(){const o=['roomType','85575RGTKoz','createItem','puzzle','search','1784VrELXH','items','createPuzzle','945444zrCWUH','10278mhLUCY','199578xZoCKj','legarmor','inventory','description','name','content','helmet','constructor','forEach','30xgEYKz','996324ulJXLs','(((.+)+)+)+$','apply','222818GpExyv','gauntlets','convertToRoomConfig','47467YdCbNo','isStartRoom','toString','type','boots','INSIDE','key','toUpperCase','createRoom'];a44c=function(){return o;};return a44c();}(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x1d1))/0x1+-parseInt(f(0x1de))/0x2+-parseInt(f(0x1db))/0x3+parseInt(f(0x1cf))/0x4+parseInt(f(0x1c8))/0x5*(-parseInt(f(0x1da))/0x6)+parseInt(f(0x1e1))/0x7+-parseInt(f(0x1cc))/0x8*(-parseInt(f(0x1d0))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x29166));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x1dd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x1c0)]()[h(0x1cb)](h(0x1dc))['toString']()[h(0x1d8)](a44a)[h(0x1cb)](h(0x1dc));});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a44d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0x1c6)](a){const j=a44i,b=this[j(0x1e0)](a),c=new Room(b);if(a[j(0x1cd)]){const d=new Inventory();a[j(0x1cd)][j(0x1d9)](e=>{const k=j;d['addItem'](this[k(0x1c9)](e));}),c[j(0x1d3)]=d;}return a['puzzle']&&c['setPuzzle'](this[j(0x1ce)](a[j(0x1ca)])),c;}['createItem'](a){const l=a44i;switch(a[l(0x1c1)]){case l(0x1c4):return new Key(a[l(0x1d5)],a[l(0x1d4)]);case'book':return new Book(a[l(0x1d5)],a[l(0x1d4)],a[l(0x1d6)]);case'sword':return new Sword(a['name'],a[l(0x1d4)]);case'rifle':return new Rifle(a[l(0x1d5)],a['description']);case l(0x1d7):return new Helmet(a[l(0x1d5)],a['description']);case'bodyarmor':return new BodyArmor(a[l(0x1d5)],a[l(0x1d4)]);case l(0x1d2):return new LegArmor(a[l(0x1d5)],a[l(0x1d4)]);case l(0x1c2):return new Boots(a[l(0x1d5)],a[l(0x1d4)]);case'gloves':return new Gloves(a[l(0x1d5)],a[l(0x1d4)]);case l(0x1df):return new Gauntlets(a['name'],a[l(0x1d4)]);default:return new BasicItem(a[l(0x1d5)],a[l(0x1d4)]);}}[a44i(0x1ce)](a){const m=a44i,b=this[m(0x1c9)](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a44i(0x1e0)](a){const n=a44i,b=a[n(0x1c7)]&&RoomType[a['roomType']['toUpperCase']()]?RoomType[a[n(0x1c7)][n(0x1c5)]()]:RoomType[n(0x1c3)];return{'name':a[n(0x1d5)],'description':a[n(0x1d4)],'isStartRoom':a[n(0x1e2)],'roomType':b};}}
@@ -1 +1 @@
1
- const a45j=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0x137))/0x1*(parseInt(h(0x140))/0x2)+parseInt(h(0x118))/0x3+-parseInt(h(0x13e))/0x4*(parseInt(h(0x120))/0x5)+-parseInt(h(0x143))/0x6*(-parseInt(h(0x133))/0x7)+-parseInt(h(0x117))/0x8*(parseInt(h(0x11a))/0x9)+parseInt(h(0x127))/0xa+-parseInt(h(0x114))/0xb*(parseInt(h(0x121))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x3f686));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const i=a45d;return a45a['toString']()['search'](i(0x130))[i(0x12c)]()[i(0x144)](a45a)[i(0x136)](i(0x130));});a45a();import{Scene}from'./models/scene.js';function a45c(){const q=['handleInput','5dZLVWp','5842488XZCcub','unequip','createCommand','getRooms','hasOwnProperty','determineStartRoom','4501050qDIzpV','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','rooms','registerCommands','-\x20clear:\x20Clear\x20the\x20screen.\x0a','toString','name','registerCommand','equip','(((.+)+)+)+$','getHelpMessage','maka','41524fhBGBB','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','currentLocation','search','7883HlyEAe','execute','initialize','getWelcomeMessage','getInstance','look','drop','828368ZcSeIX','getDescription','10rEymcA','solve','unlock','396uDlOxp','constructor','getAllRegisteredCommands','toLowerCase','Available\x20Commands:\x0a','Welcome,\x20','11TluOQX','player','help','704FGZuRu','712374bghnWw','scene','8793mlpNPf','take','instance','split','clear'];a45c=function(){return q;};return a45c();}import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x111;let f=c[d];return f;},a45d(a,b);}import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45j(0x11c)];['scene'];['player'];['currentRoom'];[a45j(0x129)];constructor(a,b){const k=a45j;this[k(0x115)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[k(0x119)][k(0x139)](),this[k(0x115)][k(0x135)]=this['determineStartRoom'](),this[k(0x12a)]();}[a45j(0x12a)](){const l=a45j;CommandFactory['registerCommand'](l(0x13c),LookCommand),CommandFactory[l(0x12e)]('go',GoCommand),CommandFactory[l(0x12e)](l(0x11b),TakeCommand),CommandFactory[l(0x12e)]('use',UseCommand),CommandFactory[l(0x12e)](l(0x12f),EquipCommand),CommandFactory[l(0x12e)](l(0x122),UnequipCommand),CommandFactory[l(0x12e)](l(0x141),SolveCommand),CommandFactory['registerCommand'](l(0x13d),DropCommand),CommandFactory[l(0x12e)](l(0x142),UnlockCommand),CommandFactory[l(0x12e)]('lock',LockCommand),CommandFactory[l(0x12e)](l(0x136),SearchCommand),CommandFactory[l(0x12e)]('say',SayCommand);}[a45j(0x126)](){const m=a45j;return this[m(0x119)]['determineStartRoom']();}[a45j(0x13a)](){const n=a45j;return n(0x113)+this[n(0x115)][n(0x12d)];}static[a45j(0x13b)](a,b){return!Game['instance']&&(Game['instance']=new Game(a,b)),Game['instance'];}[a45j(0x11f)](a){const o=a45j,b=a['trim']()[o(0x11d)]('\x20'),c=b[0x0][o(0x111)](),d=b['slice'](0x1);if(c==='quit')return null;if(c===o(0x132))return o(0x128);if(c===o(0x116))return this[o(0x131)]();if(c===o(0x11e))return'';const e={'actor':this['player'],'rooms':this[o(0x119)][o(0x124)](),'scene':this[o(0x119)]},f=CommandFactory[o(0x123)](c,e);if(f){const g=f[o(0x138)](d);return g;}return o(0x134)+c+'\x22.';}[a45j(0x131)](){const p=a45j,a=CommandFactory[p(0x145)]();let b=p(0x112);for(const c in a){if(a[p(0x125)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[p(0x13f)]()+'\x0a';}}return b+=p(0x12b),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
1
+ const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0xae))/0x1*(parseInt(h(0x93))/0x2)+parseInt(h(0x9d))/0x3+parseInt(h(0x96))/0x4+-parseInt(h(0xb6))/0x5+parseInt(h(0xba))/0x6+-parseInt(h(0xa8))/0x7*(parseInt(h(0x9e))/0x8)+parseInt(h(0x98))/0x9*(-parseInt(h(0x8e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x49fb6));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x90)]()[j(0xb8)](j(0xbf))[j(0x90)]()[j(0xb5)](a45a)[j(0xb8)](j(0xbf));});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';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x8d;let f=c[d];return f;},a45d(a,b);}import{EquipCommand}from'./commands/equip.js';function a45c(){const s=['14ucYSeQ','maka','determineStartRoom','rooms','equip','trim','2CRodtY','currentLocation','registerCommands','look','Available\x20Commands:\x0a','Welcome,\x20','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','constructor','3004650EBAvvl','getRooms','search','instance','2980188TYTmQz','clear','use','currentRoom','lock','(((.+)+)+)+$','solve','342270aEGEWs','unlock','toString','scene','createCommand','294444lAwFVj','hasOwnProperty','player','2105680pazkNG','unequip','171ijZXYD','slice','apply','say','help','713607PeGGuh','4632jtvGcv','quit','drop','name','getWelcomeMessage','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','-\x20clear:\x20Clear\x20the\x20screen.\x0a','getHelpMessage','registerCommand','handleInput'];a45c=function(){return s;};return a45c();}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(0xb9)];['scene'];[a45k(0x95)];[a45k(0xbd)];[a45k(0xab)];constructor(a,b){const l=a45k;this[l(0x95)]=a,this[l(0x91)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x91)]['initialize'](),this[l(0x95)][l(0xaf)]=this[l(0xaa)](),this[l(0xb0)]();}[a45k(0xb0)](){const m=a45k;CommandFactory[m(0xa6)](m(0xb1),LookCommand),CommandFactory[m(0xa6)]('go',GoCommand),CommandFactory[m(0xa6)]('take',TakeCommand),CommandFactory['registerCommand'](m(0xbc),UseCommand),CommandFactory[m(0xa6)](m(0xac),EquipCommand),CommandFactory['registerCommand'](m(0x97),UnequipCommand),CommandFactory['registerCommand'](m(0x8d),SolveCommand),CommandFactory[m(0xa6)](m(0xa0),DropCommand),CommandFactory[m(0xa6)](m(0x8f),UnlockCommand),CommandFactory[m(0xa6)](m(0xbe),LockCommand),CommandFactory[m(0xa6)](m(0xb8),SearchCommand),CommandFactory['registerCommand'](m(0x9b),SayCommand);}[a45k(0xaa)](){const n=a45k;return this[n(0x91)]['determineStartRoom']();}[a45k(0xa2)](){const o=a45k;return o(0xb3)+this[o(0x95)][o(0xa1)];}static['getInstance'](a,b){const p=a45k;return!Game[p(0xb9)]&&(Game[p(0xb9)]=new Game(a,b)),Game[p(0xb9)];}[a45k(0xa7)](a){const q=a45k,b=a[q(0xad)]()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0x99)](0x1);if(c===q(0x9f))return null;if(c===q(0xa9))return q(0xb4);if(c===q(0x9c))return this[q(0xa5)]();if(c===q(0xbb))return'';const e={'actor':this[q(0x95)],'rooms':this[q(0x91)][q(0xb7)](),'scene':this['scene']},f=CommandFactory[q(0x92)](c,e);if(f){const g=f['execute'](d);return g;}return q(0xa3)+c+'\x22.';}[a45k(0xa5)](){const r=a45k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0xb2);for(const c in a){if(a[r(0x94)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=r(0xa4),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x1be))/0x1+-parseInt(f(0x1c0))/0x2+parseInt(f(0x1bf))/0x3*(parseInt(f(0x1ba))/0x4)+-parseInt(f(0x1c1))/0x5+-parseInt(f(0x1c2))/0x6*(-parseInt(f(0x1b9))/0x7)+-parseInt(f(0x1b5))/0x8+parseInt(f(0x1b7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x445a2));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0x1bb)](h(0x1b8))[h(0x1b6)]()[h(0x1bd)](a46a)[h(0x1bb)](h(0x1b8));});a46a();function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1b5;var f=c[d];return f;},a46d(a,b);}export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a46c(){var i=['7lcFYOy','3760BPwADn','search','apply','constructor','492591hjObTM','393mmseJu','874280plowAZ','764785RqOxgH','1418970qPJZvH','2793600gDRJTl','toString','12170007yeYVXW','(((.+)+)+)+$'];a46c=function(){return i;};return a46c();}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xae;var f=c[d];return f;},a46d(a,b);}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0xb2))/0x1+-parseInt(f(0xb1))/0x2+-parseInt(f(0xba))/0x3+-parseInt(f(0xb7))/0x4*(-parseInt(f(0xb4))/0x5)+parseInt(f(0xb9))/0x6*(-parseInt(f(0xb6))/0x7)+parseInt(f(0xb0))/0x8+parseInt(f(0xb3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x32e6c));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xaf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0xb5)]()[h(0xae)](h(0xbb))[h(0xb5)]()[h(0xb8)](a46a)[h(0xae)]('(((.+)+)+)+$');});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a46c(){var i=['516654swTJjW','902514BOFNJq','(((.+)+)+)+$','search','apply','2424440QaiPza','519390exxuBA','264420AxJiip','3285747SnorFN','43425OxUSuL','toString','14VcDuYH','4FSbTUx','constructor'];a46c=function(){return i;};return a46c();}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- function a47c(){var o=['isLocked','9504oznmWP','889322pvtqEH','logger','101248ohvMuY','To\x20','Door\x20unlocked:\x20','getInstance','5VhkXuD','1686186JFxpTg','getOtherSide','roomB','Failed\x20to\x20unlock\x20door:\x20','93668LvOmBG','Door\x20created\x20between\x20','search','apply','1020080yymXzv','name','attemptUnlock','3WFbmfC','unlockItemOrSolution','checkIfLockable','write','roomA','.\x20Is\x20Locked:\x20','(((.+)+)+)+$','isLockable','818492nQZrUN','toString'];a47c=function(){return o;};return a47c();}var a47i=a47d;function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x104;var f=c[d];return f;},a47d(a,b);}(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x11f))/0x1+-parseInt(f(0x10a))/0x2*(-parseInt(f(0x111))/0x3)+parseInt(f(0x119))/0x4*(parseInt(f(0x105))/0x5)+parseInt(f(0x11c))/0x6+parseInt(f(0x11d))/0x7+-parseInt(f(0x10e))/0x8+-parseInt(f(0x106))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x28a47));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x10d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x11a)]()[h(0x10c)](h(0x117))[h(0x11a)]()['constructor'](a47a)['search'](h(0x117));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x115)];[a47i(0x108)];[a47i(0x11b)];[a47i(0x112)];['name'];[a47i(0x11e)];[a47i(0x118)];constructor(a){var j=a47i;super(),this[j(0x115)]=a['roomA'],this['roomB']=a['roomB'],this[j(0x11b)]=a[j(0x11b)]||![],this[j(0x112)]=a['unlockItemOrSolution'],this[j(0x10f)]=a[j(0x10f)]?capitalCase(a[j(0x10f)]):j(0x120)+a[j(0x108)][j(0x10f)],this[j(0x11e)]=Logger[j(0x104)](),this[j(0x118)]=!!a[j(0x112)],this[j(0x11e)][j(0x114)](j(0x10b)+this[j(0x115)][j(0x10f)]+'\x20and\x20'+this['roomB']['name']+j(0x116)+this['isLocked']);}[a47i(0x107)](a){var k=a47i;return this[k(0x115)]===a?this[k(0x108)]:this[k(0x115)];}[a47i(0x110)](a){var l=a47i;if(this[l(0x11b)]&&this['unlockItemOrSolution']&&this[l(0x112)]===a)return this['isLocked']=![],this[l(0x11e)]['write'](l(0x121)+this['name']+'.\x20Used:\x20'+a),!![];return this['logger'][l(0x114)](l(0x109)+this[l(0x10f)]+'.\x20Used:\x20'+a),![];}['checkIfLocked'](){var m=a47i;return this[m(0x11b)];}[a47i(0x113)](){var n=a47i;return this[n(0x118)];}}
1
+ function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x6a;var f=c[d];return f;},a47d(a,b);}var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x80))/0x1*(parseInt(f(0x8a))/0x2)+-parseInt(f(0x6e))/0x3+parseInt(f(0x73))/0x4*(parseInt(f(0x7a))/0x5)+-parseInt(f(0x6b))/0x6*(-parseInt(f(0x84))/0x7)+parseInt(f(0x6d))/0x8+parseInt(f(0x76))/0x9+-parseInt(f(0x6c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xd1792));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x6a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a['toString']()['search']('(((.+)+)+)+$')[h(0x79)]()[h(0x82)](a47a)[h(0x7b)](h(0x7d));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x74)];['roomB'];[a47i(0x7c)];['unlockItemOrSolution'];[a47i(0x75)];['logger'];[a47i(0x7e)];constructor(a){var j=a47i;super(),this[j(0x74)]=a['roomA'],this[j(0x7f)]=a[j(0x7f)],this['isLocked']=a['isLocked']||![],this[j(0x81)]=a[j(0x81)],this['name']=a[j(0x75)]?capitalCase(a[j(0x75)]):j(0x86)+a['roomB'][j(0x75)],this[j(0x88)]=Logger[j(0x89)](),this['isLockable']=!!a['unlockItemOrSolution'],this[j(0x88)][j(0x78)](j(0x71)+this[j(0x74)][j(0x75)]+j(0x85)+this['roomB'][j(0x75)]+j(0x6f)+this['isLocked']);}[a47i(0x77)](a){var k=a47i;return this[k(0x74)]===a?this[k(0x7f)]:this['roomA'];}['attemptUnlock'](a){var l=a47i;if(this[l(0x7c)]&&this[l(0x81)]&&this[l(0x81)]===a)return this['isLocked']=![],this['logger'][l(0x78)]('Door\x20unlocked:\x20'+this[l(0x75)]+l(0x70)+a),!![];return this[l(0x88)][l(0x78)](l(0x72)+this[l(0x75)]+l(0x70)+a),![];}[a47i(0x87)](){var m=a47i;return this[m(0x7c)];}[a47i(0x83)](){var n=a47i;return this[n(0x7e)];}}function a47c(){var o=['37339Nmordy','unlockItemOrSolution','constructor','checkIfLockable','38696gINGDY','\x20and\x20','To\x20','checkIfLocked','logger','getInstance','16IJUNXv','apply','84xIFIAy','4580500PTQOSh','9436496IpHoiJ','1568373oVucGf','.\x20Is\x20Locked:\x20','.\x20Used:\x20','Door\x20created\x20between\x20','Failed\x20to\x20unlock\x20door:\x20','4496MjqrVn','roomA','name','7257753KvVNjt','getOtherSide','write','toString','330PqNkTP','search','isLocked','(((.+)+)+)+$','isLockable','roomB'];a47c=function(){return o;};return a47c();}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0xff))/0x1*(-parseInt(f(0xfb))/0x2)+-parseInt(f(0x106))/0x3*(parseInt(f(0x10f))/0x4)+-parseInt(f(0xef))/0x5+parseInt(f(0xfd))/0x6+parseInt(f(0xfc))/0x7+-parseInt(f(0x101))/0x8*(parseInt(f(0xf9))/0x9)+-parseInt(f(0xe6))/0xa*(-parseInt(f(0x105))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xce9d8));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x10c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a['toString']()[h(0xf7)](h(0xf3))[h(0xe8)]()['constructor'](a48a)[h(0xf7)]('(((.+)+)+)+$');});function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xe4;let f=c[d];return f;},a48d(a,b);}a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a48c(){const r=['105107QNuGzp','.\x20Item\x20not\x20found.','4528QKAZBm','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','getInstance','addItem','43769sImFjl','495UHoMJR','keys','getAllItems','toLowerCase','Removed\x20item:\x20','getWeight','apply','write','Retrieved\x20details\x20for\x20item:\x20','5068KdJWWP','has','logger','7710VLZKqx','Added\x20item:\x20','toString','getItem','Failed\x20to\x20remove\x20item:\x20','removeItem','join','items','get','5509940gaddNp','delete','hasItem','listItems','(((.+)+)+)+$','Listed\x20items\x20in\x20inventory:\x20','\x20from\x20inventory.','name','search','map','10449yowDKN','values','20AbKfwk','470071lIVrDa','4383438ZppAZx','Checked\x20for\x20item:\x20'];a48c=function(){return r;};return a48c();}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0xed)];['logger'];constructor(){const j=a48i;super(),this['items']=new Map(),this['logger']=Logger[j(0x103)]();}[a48i(0x104)](a){const k=a48i;this[k(0xed)]['set'](a[k(0xf6)]['toLowerCase'](),a),this[k(0xe5)][k(0x10d)](k(0xe7)+a[k(0xf6)]+'\x20to\x20inventory.');}[a48i(0xeb)](a){const l=a48i,b=this[l(0xe9)](a);if(b)return this[l(0xed)][l(0xf0)](a[l(0x109)]()),this[l(0xe5)][l(0x10d)](l(0x10a)+a+l(0xf5)),b;return this[l(0xe5)][l(0x10d)](l(0xea)+a+'.\x20Item\x20not\x20found.'),null;}[a48i(0xf1)](a){const m=a48i,b=this[m(0xed)][m(0xe4)](a[m(0x109)]()),c=[...this['items']['keys']()];return this['logger']['write'](m(0xfe)+a+'\x20in\x20'+c[m(0xec)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a48i(0xe9)](a){const n=a48i,b=this['items'][n(0xee)](a[n(0x109)]())||null;return b?this['logger'][n(0x10d)](n(0x10e)+a+'.'):this[n(0xe5)][n(0x10d)](n(0x102)+a+n(0x100)),b;}[a48i(0xf2)](){const o=a48i,a=[...this[o(0xed)][o(0x107)]()],b=a[o(0xf8)](c=>capitalCase(c));return this[o(0xe5)][o(0x10d)](o(0xf4)+b[o(0xec)](',\x20')+'.'),a;}[a48i(0x10b)](){const p=a48i;let a=0x0;for(const b of this[p(0xed)][p(0xfa)]()){a+=b['weight'];}return a;}[a48i(0x108)](){const q=a48i;return[...this[q(0xed)][q(0xfa)]()];}}
1
+ const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0xad))/0x1*(-parseInt(f(0xbd))/0x2)+-parseInt(f(0xc4))/0x3*(-parseInt(f(0xba))/0x4)+parseInt(f(0xbb))/0x5*(-parseInt(f(0xb8))/0x6)+parseInt(f(0xb6))/0x7+parseInt(f(0xc6))/0x8+parseInt(f(0xae))/0x9+-parseInt(f(0xc3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x243c6));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0xab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0xb2)]()[h(0xb5)](h(0xb4))[h(0xb2)]()['constructor'](a48a)[h(0xb5)]('(((.+)+)+)+$');});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a48c(){const r=['202347thNDmn','Checked\x20for\x20item:\x20','name','delete','toString','toLowerCase','(((.+)+)+)+$','search','1877211HjurKh','getWeight','184326anHlZi','\x20in\x20','4BhQhKo','5ANKwpq','\x20from\x20inventory.','16mdzumm','weight','getInstance','getAllItems','removeItem','values','5440600wgiNzI','251418neKvjm','.\x20Exists:\x20','1426408WUSjTX','getItem','write','Listed\x20items\x20in\x20inventory:\x20','hasItem','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','Failed\x20to\x20remove\x20item:\x20','Added\x20item:\x20','.\x20Item\x20not\x20found.','map','Retrieved\x20details\x20for\x20item:\x20','join','logger','items','apply','addItem','21305lWBppi'];a48c=function(){return r;};return a48c();}function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xa1;let f=c[d];return f;},a48d(a,b);}export class Inventory extends AbstractInventory{['items'];[a48i(0xa9)];constructor(){const j=a48i;super(),this[j(0xaa)]=new Map(),this['logger']=Logger[j(0xbf)]();}[a48i(0xac)](a){const k=a48i;this[k(0xaa)]['set'](a[k(0xb0)]['toLowerCase'](),a),this[k(0xa9)][k(0xc8)](k(0xa4)+a[k(0xb0)]+'\x20to\x20inventory.');}[a48i(0xc1)](a){const l=a48i,b=this['getItem'](a);if(b)return this[l(0xaa)][l(0xb1)](a[l(0xb3)]()),this[l(0xa9)]['write']('Removed\x20item:\x20'+a+l(0xbc)),b;return this[l(0xa9)][l(0xc8)](l(0xa3)+a+l(0xa5)),null;}[a48i(0xa1)](a){const m=a48i,b=this[m(0xaa)]['has'](a[m(0xb3)]()),c=[...this[m(0xaa)]['keys']()];return this[m(0xa9)][m(0xc8)](m(0xaf)+a+m(0xb9)+c['join'](',\x20')+m(0xc5)+b+'.'),b;}[a48i(0xc7)](a){const n=a48i,b=this['items']['get'](a[n(0xb3)]())||null;return b?this[n(0xa9)][n(0xc8)](n(0xa7)+a+'.'):this[n(0xa9)][n(0xc8)](n(0xa2)+a+n(0xa5)),b;}['listItems'](){const o=a48i,a=[...this[o(0xaa)]['keys']()],b=a[o(0xa6)](c=>capitalCase(c));return this['logger'][o(0xc8)](o(0xc9)+b[o(0xa8)](',\x20')+'.'),a;}[a48i(0xb7)](){const p=a48i;let a=0x0;for(const b of this['items'][p(0xc2)]()){a+=b[p(0xbe)];}return a;}[a48i(0xc0)](){const q=a48i;return[...this['items'][q(0xc2)]()];}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0xef))/0x1*(-parseInt(f(0xdf))/0x2)+-parseInt(f(0xe5))/0x3*(-parseInt(f(0xdc))/0x4)+parseInt(f(0xe3))/0x5*(parseInt(f(0xed))/0x6)+parseInt(f(0xee))/0x7+parseInt(f(0xe6))/0x8+parseInt(f(0xf4))/0x9*(-parseInt(f(0xec))/0xa)+-parseInt(f(0xf3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xd7ab3));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0xe0)]()['search'](h(0xe8))[h(0xe0)]()[h(0xe9)](a49a)[h(0xf0)](h(0xe8));});function a49c(){var l=['7099050dVMaCI','2ncWGzm','search','description','size','15017222pILOac','9Zpvovt','You\x20use\x20the\x20','apply','uuid','.\x20Nothing\x20special\x20happens.','41812qCOUGi','shape','rating','1505858kUbwMw','toString','texture','use','1330cefpuV','category','195RYRpbl','3191592DuQshq','name','(((.+)+)+)+$','constructor','color','weight','16224710CsNCen','6150SMChHz'];a49c=function(){return l;};return a49c();}a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xdb;var f=c[d];return f;},a49d(a,b);}export class Item extends AbstractItem{[a49i(0xf7)];[a49i(0xe7)];['description'];[a49i(0xf2)];[a49i(0xe4)];[a49i(0xdd)];[a49i(0xea)];[a49i(0xe1)];[a49i(0xde)];[a49i(0xeb)];constructor(a){var j=a49i;super(),this[j(0xe7)]=a[j(0xe7)],this[j(0xf1)]=a[j(0xf1)],this['size']=a['size'],this[j(0xe4)]=a['category'],this[j(0xdd)]=a[j(0xdd)],this[j(0xea)]=a[j(0xea)],this[j(0xe1)]=a[j(0xe1)],this[j(0xde)]=a['rating'],this[j(0xeb)]=a[j(0xeb)],this[j(0xf7)]=a49e();}[a49i(0xe2)](){var k=a49i;return k(0xf5)+this[k(0xe7)]+k(0xdb);}}
1
+ var a49h=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x168))/0x1+-parseInt(f(0x15b))/0x2*(-parseInt(f(0x161))/0x3)+-parseInt(f(0x171))/0x4+parseInt(f(0x16f))/0x5+parseInt(f(0x16b))/0x6*(-parseInt(f(0x15f))/0x7)+-parseInt(f(0x163))/0x8*(-parseInt(f(0x166))/0x9)+parseInt(f(0x16a))/0xa*(-parseInt(f(0x167))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xa7c66));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0x164)]()[g(0x15c)](g(0x16d))[g(0x164)]()[g(0x15e)](a49a)[g(0x15c)](g(0x16d));});a49a();function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x159;var f=c[d];return f;},a49d(a,b);}import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a49c(){var k=['weight','3LfoIKP','You\x20use\x20the\x20','173896GkbYMz','toString','shape','486FRyzvX','275nSqgTc','307435uEMMjc','size','173890DBYNsg','438hNfxUc','description','(((.+)+)+)+$','rating','1791520BQJfrJ','color','2423000AZwHsR','.\x20Nothing\x20special\x20happens.','name','texture','uuid','148442yXblun','search','category','constructor','17843tleEjf'];a49c=function(){return k;};return a49c();}export class Item extends AbstractItem{['uuid'];[a49h(0x173)];[a49h(0x16c)];[a49h(0x169)];[a49h(0x15d)];[a49h(0x165)];['color'];[a49h(0x159)];[a49h(0x16e)];[a49h(0x160)];constructor(a){var i=a49h;super(),this[i(0x173)]=a[i(0x173)],this[i(0x16c)]=a[i(0x16c)],this[i(0x169)]=a[i(0x169)],this[i(0x15d)]=a[i(0x15d)],this[i(0x165)]=a['shape'],this['color']=a[i(0x170)],this[i(0x159)]=a['texture'],this[i(0x16e)]=a[i(0x16e)],this[i(0x160)]=a[i(0x160)],this[i(0x15a)]=a49e();}['use'](){var j=a49h;return j(0x162)+this[j(0x173)]+j(0x172);}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0xaf))/0x1+-parseInt(f(0xb5))/0x2+-parseInt(f(0xb2))/0x3+parseInt(f(0xad))/0x4*(-parseInt(f(0xb3))/0x5)+-parseInt(f(0xb8))/0x6*(-parseInt(f(0xc0))/0x7)+parseInt(f(0xb9))/0x8+-parseInt(f(0xc2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x2dd7f));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()[h(0xc1)](h(0xba))[h(0xbd)]()[h(0xb6)](a50a)['search'](h(0xba));});a50a();import{Player}from'./player.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xad;let f=c[d];return f;},a50d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0xc3)];[a50i(0xb0)];[a50i(0xae)];[a50i(0xb4)];constructor(a,b,c,d){super(d),this['_name']=a,this['_dialogue']=b,this['rooms']=c;}get[a50i(0xb7)](){const j=a50i;return this[j(0xc3)];}[a50i(0xb1)](){const k=a50i;return this[k(0xb0)][Math[k(0xbf)](Math[k(0xc4)]()*this[k(0xb0)]['length'])];}['autonomousMove'](a){const l=a50i,b=a[Math[l(0xbf)](Math['random']()*a[l(0xbe)])];this[l(0xbc)](b[l(0xb7)]);}[a50i(0xbc)](a){const m=a50i,b={'actor':this,'rooms':this[m(0xae)],'scene':this[m(0xb4)]},c=new GoCommand(b);c['execute']([a]);}}function a50c(){const n=['length','floor','34538cRzzdL','search','498087vVEufQ','_name','random','4620UyWygR','rooms','96589ZSRUFi','_dialogue','speak','408627iJRrtc','205btwGJw','scene','370398jqKqYz','constructor','name','234iyWoSh','2582928xBoPao','(((.+)+)+)+$','apply','moveTo','toString'];a50c=function(){return n;};return a50c();}
1
+ const a50h=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x11b))/0x1*(parseInt(f(0x118))/0x2)+parseInt(f(0x124))/0x3*(-parseInt(f(0x122))/0x4)+parseInt(f(0x129))/0x5+-parseInt(f(0x121))/0x6*(-parseInt(f(0x117))/0x7)+parseInt(f(0x12a))/0x8+-parseInt(f(0x11c))/0x9*(parseInt(f(0x11e))/0xa)+parseInt(f(0x114))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x29939));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x114;let f=c[d];return f;},a50d(a,b);}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const g=a50d;return a50a['toString']()['search'](g(0x119))[g(0x11f)]()['constructor'](a50a)[g(0x12b)](g(0x119));});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a50c(){const n=['moveTo','102QrfwdA','4XDexzt','floor','37197lFWrzN','_dialogue','rooms','_name','random','1097680BXZkGc','474032FXPnjw','search','1782737YhRMet','length','execute','64666swojmt','42904uHIMjt','(((.+)+)+)+$','scene','6oeSFKd','99AWKYCT','name','260450SDSTMK','toString'];a50c=function(){return n;};return a50c();}export class NPC extends Player{[a50h(0x127)];['_dialogue'];['rooms'];[a50h(0x11a)];constructor(a,b,c,d){const i=a50h;super(d),this[i(0x127)]=a,this[i(0x125)]=b,this[i(0x126)]=c;}get[a50h(0x11d)](){const j=a50h;return this[j(0x127)];}['speak'](){const k=a50h;return this['_dialogue'][Math['floor'](Math[k(0x128)]()*this[k(0x125)][k(0x115)])];}['autonomousMove'](a){const l=a50h,b=a[Math[l(0x123)](Math['random']()*a[l(0x115)])];this[l(0x120)](b[l(0x11d)]);}[a50h(0x120)](a){const m=a50h,b={'actor':this,'rooms':this[m(0x126)],'scene':this['scene']},c=new GoCommand(b);c[m(0x116)]([a]);}}
@@ -1 +1 @@
1
- function a51c(){const B=['286723CGBlLO','weapon','You\x20unequipped\x20','Added\x20','4275588SqHGrb','leftHand','removeInventory','_maxCarryingWeight','Shield','Gloves','write','currentLocation','_currentLocation','Helmet','startLocation','\x20is\x20now\x20listening\x20in\x20room\x20','logger','unequip','Nexus','search','Hat','includes','10755924ZbqHwQ','5741750wYSDrl','category','head','leg\x20armor','body\x20armor','gloves','\x20slot.','addItem','_playerName','(((.+)+)+)+$','arm\x20armor','equipment','inventoryItems','Invalid\x20category\x20or\x20slot:\x20','hasItem','equip','unequipBySlot','You\x20don\x27t\x20have\x20','.\x20You\x20must\x20unequip\x20it\x20first.','error','playerName','weight','torso','\x20in\x20your\x20inventory.','toString','hear','Failed\x20to\x20remove\x20','You\x20can\x27t\x20equip\x20','_inventory','6333Nlmoal','1025768LCuqMz','enterRoom','feet','apply','852zsZUgG','BodyArmor','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','currentWeight','\x20to\x20player\x27s\x20inventory.','inventory','A\x20featureless\x20room','63aXldNd','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','arms','Removed\x20','ArmArmor','\x20from\x20player\x27s\x20inventory.','2yVtxWO','armarmor','getInstance','You\x20equipped\x20','removeItem','10cowQWI','constructor','Max\x20carrying\x20weight\x20must\x20be\x20positive.','canEquip','addInventory','leaveRoom','_equipment','legarmor','11132473MVuHjW','helmet','13dnpGsK','toLowerCase','bind','name','bodyarmor','5NuoAra','speak','rightHand','determineEquipmentSlot'];a51c=function(){return B;};return a51c();}const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x143))/0x1*(-parseInt(f(0x12b))/0x2)+-parseInt(f(0x119))/0x3*(parseInt(f(0x11e))/0x4)+parseInt(f(0x13f))/0x5*(parseInt(f(0x147))/0x6)+-parseInt(f(0xfc))/0x7+parseInt(f(0x11a))/0x8*(-parseInt(f(0x125))/0x9)+parseInt(f(0x130))/0xa*(parseInt(f(0x138))/0xb)+parseInt(f(0xfb))/0xc*(parseInt(f(0x13a))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xb4b9b));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x114)]()[h(0xf8)]('(((.+)+)+)+$')['toString']()[h(0x131)](a51a)['search'](h(0x105));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xed;let f=c[d];return f;},a51d(a,b);}export class Player extends AbstractPlayer{['_playerName'];[a51i(0xf1)];[a51i(0x118)];[a51i(0x136)];[a51i(0x14a)]=0x32;[a51i(0xf5)];constructor(a){const j=a51i;super(),this['_playerName']=a[j(0x110)],this[j(0xf1)]=a[j(0xf3)]||new Room({'name':j(0xf7),'description':j(0x124)}),this[j(0x118)]=new Inventory(),this[j(0xf5)]=Logger[j(0x12d)]();if(a?.[j(0x108)])for(const b of a[j(0x108)]){this['_inventory'][j(0x103)](b);}this[j(0x136)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x13d)](){const k=a51i;return this[k(0x104)];}get[a51i(0xf0)](){return this['_currentLocation'];}set[a51i(0xf0)](a){const l=a51i;this[l(0xf1)]!==a&&(this[l(0x135)](),this[l(0x11b)](a)),this['_currentLocation']=a;}get[a51i(0x123)](){return this['_inventory'];}get['equipment'](){const m=a51i;return this[m(0x136)];}set[a51i(0x107)](a){const n=a51i;this[n(0x136)]=a;}get['maxCarryingWeight'](){const o=a51i;return this[o(0x14a)];}set['maxCarryingWeight'](a){const p=a51i;a>0x0?this[p(0x14a)]=a:console[p(0x10f)](p(0x132));}get[a51i(0x121)](){const q=a51i;let a=this[q(0x118)]['getWeight']();for(const b in this['_equipment']){const c=this[q(0x136)][b];c&&(a+=c[q(0x111)]);}return a;}[a51i(0x134)](a){const r=a51i;if(this[r(0x121)]+a[r(0x111)]>this['maxCarryingWeight']){this[r(0xf5)]['write']('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[r(0x118)][r(0x103)](a),this[r(0xf5)]['write'](r(0x146)+a[r(0x13d)]+r(0x122));}['removeInventory'](a){const s=a51i;if(this['_inventory'][s(0x12f)](a['name']))return this['logger'][s(0xef)](s(0x128)+a[s(0x13d)]+s(0x12a)),!![];return this[s(0xf5)][s(0xef)](s(0x116)+a['name']+'\x20from\x20player\x27s\x20inventory.'),![];}[a51i(0x10b)](a){const t=a51i;if(!this[t(0x118)][t(0x10a)](a[t(0x13d)]))return t(0x10d)+a[t(0x13d)]+t(0x113);if(!this[t(0x133)](a))return t(0x117)+a[t(0x13d)]+'.';const b=this[t(0x142)](a[t(0xfd)]);if(!b)return a[t(0x13d)]+t(0x126);if(this['equipment'][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+t(0x10e);return this[t(0x107)][b]=a,this[t(0x149)](a),t(0x12e)+a['name']+'.';}[a51i(0xf6)](a){const u=a51i;let b=a;if(!this[u(0x107)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return u(0x109)+a+'.';}return this[u(0x10c)](b);}[a51i(0x142)](a){const v=a51i;switch(a['toLowerCase']()){case Category['Weapon'][v(0x13b)]():return v(0x141);case Category[v(0xed)][v(0x13b)]():return v(0x148);case Category[v(0xee)][v(0x13b)]():return'gloves';case Category[v(0xf2)][v(0x13b)]():case Category[v(0xf9)][v(0x13b)]():return v(0xfe);case Category['Boots'][v(0x13b)]():return'feet';case Category['LegArmor'][v(0x13b)]():return'legs';case Category[v(0x129)]['toLowerCase']():return v(0x127);case Category[v(0x11f)][v(0x13b)]():return v(0x112);case v(0x144):return v(0x141);case'shield':return'leftHand';case v(0x101):return v(0x101);case v(0x139):case'hat':return v(0xfe);case'boots':return v(0x11c);case v(0xff):case v(0x137):return'legs';case v(0x106):case v(0x12c):return v(0x127);case v(0x100):case v(0x13e):case'torso':return v(0x112);default:return null;}}[a51i(0x133)](a){const w=a51i;return Object['values'](Category)[w(0xfa)](a[w(0xfd)]);}[a51i(0x10c)](a){const x=a51i,b=this[x(0x107)][a];if(!b)return x(0x120)+a+x(0x102);return this[x(0x134)](b),this[x(0x107)][a]=null,x(0x145)+b[x(0x13d)]+'.';}[a51i(0x115)](a,b){const y=a51i;a!==this&&this[y(0xf5)]['log'](a[y(0x13d)]+'\x20says:\x20\x22'+b+'\x22');}['enterRoom'](a){const z=a51i;this['_currentLocation']=a,a['on'](z(0x140),this[z(0x115)][z(0x13c)](this)),this[z(0xf5)][z(0xef)](this[z(0x13d)]+z(0xf4)+a[z(0x13d)]);}[a51i(0x135)](){const A=a51i;this['_currentLocation']&&(this[A(0xf1)]['off'](A(0x140),this['hear'][A(0x13c)](this)),this[A(0xf5)][A(0xef)](this[A(0x13d)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[A(0xf1)][A(0x13d)]));}}
1
+ const a51i=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xb1;let f=c[d];return f;},a51d(a,b);}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x10d))/0x1+parseInt(f(0xe6))/0x2*(-parseInt(f(0xf3))/0x3)+parseInt(f(0xb9))/0x4+parseInt(f(0xd3))/0x5*(-parseInt(f(0xf9))/0x6)+parseInt(f(0xdd))/0x7+-parseInt(f(0xfe))/0x8+parseInt(f(0xe3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x228ed));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xeb)]()[h(0xd1)]('(((.+)+)+)+$')['toString']()[h(0xce)](a51a)[h(0xd1)](h(0xe7));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a51c(){const B=['Max\x20carrying\x20weight\x20must\x20be\x20positive.','2642xAzJWo','(((.+)+)+)+$','currentWeight','currentLocation','legarmor','toString','boots','\x20slot.','equipment','determineEquipmentSlot','Failed\x20to\x20remove\x20','weight','_playerName','549rKGgHX','You\x20can\x27t\x20equip\x20','rightHand','shield','You\x20don\x27t\x20have\x20','.\x20You\x20must\x20unequip\x20it\x20first.','6RLvNpF','\x20in\x20your\x20inventory.','\x20is\x20now\x20listening\x20in\x20room\x20','ArmArmor','A\x20featureless\x20room','1748712DjvgaB','You\x20equipped\x20','You\x20unequipped\x20','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','feet','Hat','includes','addInventory','off','Invalid\x20category\x20or\x20slot:\x20','log','unequip','bodyarmor','body\x20armor','_equipment','142854TKDfAQ','Shield','canEquip','helmet','hear','LegArmor','arms','equip','_maxCarryingWeight','959172HkdfBn','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','write','speak','unequipBySlot','legs','torso','hasItem','removeItem','addItem','_inventory','arm\x20armor','getInstance','_currentLocation','leaveRoom','armarmor','values','maxCarryingWeight','leftHand','initialEquipment','Removed\x20','constructor','toLowerCase','bind','search','Weapon','580280mvwAvI','Nexus','inventory','enterRoom','inventoryItems','removeInventory','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','category','head','gloves','54418ozuDGC','apply','name','\x20to\x20player\x27s\x20inventory.','startLocation','logger','5519016aXDiSC','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.'];a51c=function(){return B;};return a51c();}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];['_currentLocation'];[a51i(0xc3)];[a51i(0x10c)];[a51i(0xb8)]=0x32;[a51i(0xe2)];constructor(a){const j=a51i;super(),this[j(0xf2)]=a['playerName'],this[j(0xc6)]=a[j(0xe1)]||new Room({'name':j(0xd4),'description':j(0xfd)}),this[j(0xc3)]=new Inventory(),this['logger']=Logger[j(0xc5)]();if(a?.[j(0xd7)])for(const b of a[j(0xd7)]){this[j(0xc3)][j(0xc2)](b);}this[j(0x10c)]=a?.[j(0xcc)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a51i;return this[k(0xf2)];}get['currentLocation'](){const l=a51i;return this[l(0xc6)];}set[a51i(0xe9)](a){const m=a51i;this[m(0xc6)]!==a&&(this[m(0xc7)](),this[m(0xd6)](a)),this[m(0xc6)]=a;}get[a51i(0xd5)](){const n=a51i;return this[n(0xc3)];}get[a51i(0xee)](){return this['_equipment'];}set['equipment'](a){this['_equipment']=a;}get['maxCarryingWeight'](){const o=a51i;return this[o(0xb8)];}set[a51i(0xca)](a){const p=a51i;a>0x0?this[p(0xb8)]=a:console['error'](p(0xe5));}get[a51i(0xe8)](){const q=a51i;let a=this[q(0xc3)]['getWeight']();for(const b in this[q(0x10c)]){const c=this[q(0x10c)][b];c&&(a+=c[q(0xf1)]);}return a;}[a51i(0x105)](a){const r=a51i;if(this[r(0xe8)]+a[r(0xf1)]>this[r(0xca)]){this['logger'][r(0xbb)](r(0xe4));throw new Error(r(0x101));}this[r(0xc3)]['addItem'](a),this['logger'][r(0xbb)]('Added\x20'+a['name']+r(0xe0));}['removeInventory'](a){const s=a51i;if(this[s(0xc3)][s(0xc1)](a[s(0xdf)]))return this[s(0xe2)][s(0xbb)](s(0xcd)+a[s(0xdf)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[s(0xe2)][s(0xbb)](s(0xf0)+a[s(0xdf)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a51i(0xb7)](a){const t=a51i;if(!this[t(0xc3)][t(0xc0)](a[t(0xdf)]))return t(0xf7)+a[t(0xdf)]+t(0xfa);if(!this[t(0xb2)](a))return t(0xf4)+a['name']+'.';const b=this[t(0xef)](a[t(0xda)]);if(!b)return a[t(0xdf)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[t(0xee)][b])return t(0xd9)+b+t(0xf8);return this[t(0xee)][b]=a,this[t(0xd8)](a),t(0xff)+a[t(0xdf)]+'.';}[a51i(0x109)](a){const u=a51i;let b=a;if(!this[u(0xee)][camelCase(b)]){b=this[u(0xef)](a);if(!b)return u(0x107)+a+'.';}return this[u(0xbd)](b);}[a51i(0xef)](a){const v=a51i;switch(a[v(0xcf)]()){case Category[v(0xd2)][v(0xcf)]():return v(0xf5);case Category[v(0xb1)][v(0xcf)]():return'leftHand';case Category['Gloves']['toLowerCase']():return'gloves';case Category['Helmet'][v(0xcf)]():case Category[v(0x103)][v(0xcf)]():return v(0xdb);case Category['Boots']['toLowerCase']():return v(0x102);case Category[v(0xb5)]['toLowerCase']():return'legs';case Category[v(0xfc)][v(0xcf)]():return v(0xb6);case Category['BodyArmor'][v(0xcf)]():return v(0xbf);case'weapon':return v(0xf5);case v(0xf6):return v(0xcb);case'gloves':return v(0xdc);case v(0xb3):case'hat':return v(0xdb);case v(0xec):return v(0x102);case'leg\x20armor':case v(0xea):return v(0xbe);case v(0xc4):case v(0xc8):return'arms';case v(0x10b):case v(0x10a):case v(0xbf):return'torso';default:return null;}}[a51i(0xb2)](a){const w=a51i;return Object[w(0xc9)](Category)[w(0x104)](a['category']);}['unequipBySlot'](a){const x=a51i,b=this['equipment'][a];if(!b)return x(0xba)+a+x(0xed);return this['addInventory'](b),this['equipment'][a]=null,x(0x100)+b['name']+'.';}['hear'](a,b){const y=a51i;a!==this&&this['logger'][y(0x108)](a['name']+'\x20says:\x20\x22'+b+'\x22');}[a51i(0xd6)](a){const z=a51i;this['_currentLocation']=a,a['on'](z(0xbc),this[z(0xb4)][z(0xd0)](this)),this[z(0xe2)][z(0xbb)](this[z(0xdf)]+z(0xfb)+a['name']);}[a51i(0xc7)](){const A=a51i;this['_currentLocation']&&(this[A(0xc6)][A(0x106)](A(0xbc),this['hear'][A(0xd0)](this)),this[A(0xe2)][A(0xbb)](this[A(0xdf)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[A(0xc6)]['name']));}}
@@ -1 +1 @@
1
- function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x89;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(0x99))/0x1*(-parseInt(f(0x93))/0x2)+parseInt(f(0x89))/0x3+-parseInt(f(0x95))/0x4*(parseInt(f(0x8e))/0x5)+-parseInt(f(0xa7))/0x6+-parseInt(f(0xa2))/0x7+-parseInt(f(0x98))/0x8*(parseInt(f(0x90))/0x9)+-parseInt(f(0xa0))/0xa*(-parseInt(f(0x96))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x7b398));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0xa8)](h(0x9b))[h(0x8a)]()['constructor'](a52a)['search'](h(0x9b));});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a52c(){var m=['1326432mqjzOo','toString','solve','You\x20have\x20already\x20solved\x20this\x20puzzle.','hasRequiredItem','10cSqDmF','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','351VcBUoH','write','matchesRequiredPhrase','518876DnFEPY','solved','907012afWzBr','26719loFPuo','successMessage','161144llSdsw','3aCeIiZ','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','(((.+)+)+)+$','logger','riddle','apply','requiredPhrase','12800VIYUqu','rewardItem','5925864pBdARr','failureMessage','hasItem','getInstance','requiredItem','1095522uVTdMp','search'];a52c=function(){return m;};return a52c();}export class Puzzle extends AbstractPuzzle{[a52i(0x9c)]=Logger[a52i(0xa5)]();[a52i(0x94)]=![];[a52i(0xa6)];[a52i(0x9f)];[a52i(0x9d)];[a52i(0xa1)];[a52i(0x97)];['failureMessage'];constructor(a){var j=a52i;super(),this['requiredItem']=a[j(0xa6)],this[j(0x9f)]=a[j(0x9f)],this[j(0x9d)]=a['riddle'],this[j(0xa1)]=a[j(0xa1)],this[j(0x97)]=a[j(0x97)]||'You\x20solved\x20the\x20puzzle!',this[j(0xa3)]=a['failureMessage']||j(0x9a);}[a52i(0x8d)](a){var k=a52i;if(this[k(0xa6)])return a[k(0xa4)](this[k(0xa6)]);return![];}['matchesRequiredPhrase'](a){return this['requiredPhrase']===a;}[a52i(0x8b)](a,b){var l=a52i;if(this[l(0x94)])return this['logger'][l(0x91)](l(0x8f)),{'success':![],'message':l(0x8c)};return this[l(0x8d)](b)||this[l(0x92)](a)?(this['solved']=!![],this['logger']['write']('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[l(0x97)]}):(this[l(0x9c)]['write']('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this['failureMessage']});}}
1
+ var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xfe))/0x1*(parseInt(f(0xee))/0x2)+-parseInt(f(0xef))/0x3*(parseInt(f(0xe6))/0x4)+-parseInt(f(0xe8))/0x5*(-parseInt(f(0x102))/0x6)+-parseInt(f(0xea))/0x7*(parseInt(f(0x104))/0x8)+parseInt(f(0xf5))/0x9+parseInt(f(0x101))/0xa+parseInt(f(0xfa))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x7ce21));function a52c(){var m=['solve','You\x20solved\x20the\x20puzzle!','5654BZcSeW','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','search','3905830CxSwAD','6UWjKUT','successMessage','396088hLYgMa','Puzzle:\x20Correct\x20solution\x20provided.','rewardItem','739812KZjyOA','solved','2066085kTniQr','requiredItem','140gyifSo','constructor','write','toString','68KHtreD','12nJZMXX','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','(((.+)+)+)+$','getInstance','logger','hasRequiredItem','3669453lXSijT','failureMessage','requiredPhrase','riddle','hasItem','13444992CsUTGe','matchesRequiredPhrase'];a52c=function(){return m;};return a52c();}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0xed)]()[g(0x100)]('(((.+)+)+)+$')[g(0xed)]()[g(0xeb)](a52a)[g(0x100)](g(0xf1));});a52a();import{Logger}from'../utilities/logger.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xe4;var f=c[d];return f;},a52d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52h(0xf3)]=Logger[a52h(0xf2)]();['solved']=![];[a52h(0xe9)];['requiredPhrase'];[a52h(0xf8)];['rewardItem'];[a52h(0x103)];[a52h(0xf6)];constructor(a){var i=a52h;super(),this[i(0xe9)]=a[i(0xe9)],this[i(0xf7)]=a[i(0xf7)],this[i(0xf8)]=a[i(0xf8)],this[i(0xe5)]=a['rewardItem'],this[i(0x103)]=a[i(0x103)]||i(0xfd),this[i(0xf6)]=a[i(0xf6)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a52h(0xf4)](a){var j=a52h;if(this[j(0xe9)])return a[j(0xf9)](this[j(0xe9)]);return![];}['matchesRequiredPhrase'](a){var k=a52h;return this[k(0xf7)]===a;}[a52h(0xfc)](a,b){var l=a52h;if(this[l(0xe7)])return this[l(0xf3)][l(0xec)](l(0xf0)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[l(0xf4)](b)||this[l(0xfb)](a)?(this[l(0xe7)]=!![],this['logger'][l(0xec)](l(0xe4)),{'success':!![],'message':this[l(0x103)]}):(this[l(0xf3)]['write'](l(0xff)),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a53d(a,b);}const a53h=a53d;function a53c(){const t=['Item\x20added\x20to\x20room\x20','\x20is\x20locked.\x20Result:\x20','inventory','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','removeItem','search','DOWN','WEST','east','(((.+)+)+)+$','description','getOppositeDirection','toString','\x20remains\x20locked.','647620YBpVaF','constructor','emit','say','addExit','name','roomB','exits','INSIDE','4192464dlrNOR','SOUTH','Room\x20created:\x20','27qPWvCx','isStartRoom','EAST','attemptUnlockExit','puzzle','4720rKqgxa','set','addItem','454640olcMuN','checkIfLocked','Checking\x20if\x20exit\x20in\x20direction\x20','\x20unlocked!','4376736EfmJiR','1359giMrKi','250920LENsCW','The\x20','get','.\x20Success:\x20','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','roomA','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','findExistingDoor','setPuzzle','down','values','write','NORTH','No\x20locked\x20exit\x20found\x20in\x20direction\x20','attemptUnlock','16916ZjgZus','speak','Invalid\x20direction:\x20','73BtIUyy','roomType','143CuoYiv','logger','getExit'];a53c=function(){return t;};return a53c();}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x1c6))/0x1*(-parseInt(f(0x1c3))/0x2)+parseInt(f(0x1f2))/0x3*(parseInt(f(0x1ea))/0x4)+-parseInt(f(0x1ed))/0x5+parseInt(f(0x1e2))/0x6+-parseInt(f(0x1f1))/0x7+-parseInt(f(0x1f3))/0x8*(parseInt(f(0x1e5))/0x9)+parseInt(f(0x1d9))/0xa*(parseInt(f(0x1c8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x9e13d));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(0x1d7)]()[g(0x1d0)](g(0x1d4))[g(0x1d7)]()[g(0x1da)](a53a)[g(0x1d0)]('(((.+)+)+)+$');});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53h(0x1c9)]=Logger['getInstance']();[a53h(0x1de)];[a53h(0x1d5)];[a53h(0x1e0)]=new Map();[a53h(0x1c7)];[a53h(0x1e6)];[a53h(0x1cd)]=new Inventory();constructor(a){const i=a53h;super(),this[i(0x1de)]=a[i(0x1de)],this[i(0x1d5)]=a[i(0x1d5)],this[i(0x1c7)]=a[i(0x1c7)]||RoomType[i(0x1e1)],a[i(0x1e0)]&&(this['exits']=a['exits']||new Map()),a[i(0x1cd)]&&(this[i(0x1cd)]=a[i(0x1cd)]),a[i(0x1e9)]&&(this[i(0x1e9)]=a[i(0x1e9)]),this[i(0x1e6)]=a[i(0x1e6)]||![],this[i(0x1c9)][i(0x1fe)](i(0x1e4)+this[i(0x1de)]);}[a53h(0x1dc)](a,b){const j=a53h;this[j(0x1db)](j(0x1c4),a,b);}[a53h(0x1dd)](a,b,c){const k=a53h;let d=this[k(0x1fa)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0x1e0)][k(0x1eb)](a,d),b[k(0x1e0)]['set'](this[k(0x1d6)](a),d);}[a53h(0x1e8)](a,b){const l=a53h,c=this[l(0x1e0)][l(0x1f5)](a);if(c instanceof Door){const d=c[l(0x1c2)](b);return this[l(0x1c9)][l(0x1fe)](l(0x1ce)+a+l(0x1f6)+d),d?l(0x1f4)+c[l(0x1de)]+l(0x1f0):l(0x1f4)+c['name']+l(0x1d8);}return this['logger'][l(0x1fe)](l(0x1c1)+a),l(0x1f7);}[a53h(0x1ca)](a){const m=a53h;return this[m(0x1c9)][m(0x1fe)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this['exits'][m(0x1f5)](a);}['isExitLocked'](a){const n=a53h,b=this[n(0x1e0)][n(0x1f5)](a),c=b instanceof Door&&b[n(0x1ee)]();return this[n(0x1c9)][n(0x1fe)](n(0x1ef)+a+n(0x1cc)+c),c;}[a53h(0x1ec)](a){const o=a53h;this[o(0x1cd)][o(0x1ec)](a),this[o(0x1c9)][o(0x1fe)](o(0x1cb)+this[o(0x1de)]+':\x20'+a[o(0x1de)]);}['removeItem'](a){const p=a53h;this[p(0x1cd)]['hasItem'](a[p(0x1de)])?(this[p(0x1cd)][p(0x1cf)](a[p(0x1de)]),this[p(0x1c9)][p(0x1fe)]('Item\x20removed\x20from\x20room\x20'+this['name']+':\x20'+a[p(0x1de)])):this[p(0x1c9)][p(0x1fe)](p(0x1f9)+this[p(0x1de)]+':\x20'+a['name']);}[a53h(0x1fb)](a){const q=a53h;this[q(0x1e9)]=a,this[q(0x1c9)][q(0x1fe)]('Puzzle\x20set\x20for\x20room\x20'+this[q(0x1de)]+':\x20'+a['riddle']);}['getOppositeDirection'](a){const r=a53h;switch(a){case'north':return Direction[r(0x1e3)];case'south':return Direction[r(0x1c0)];case r(0x1d3):return Direction[r(0x1d2)];case'west':return Direction[r(0x1e7)];case'up':return Direction[r(0x1d1)];case r(0x1fc):return Direction['UP'];default:throw new Error(r(0x1c5)+a);}}[a53h(0x1fa)](a){const s=a53h;for(const b of this['exits'][s(0x1fd)]()){if(b instanceof Door){if(b[s(0x1f8)]===this&&b[s(0x1df)]===a||b[s(0x1df)]===this&&b[s(0x1f8)]===a)return b;}}return undefined;}}
1
+ function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xfc;let f=c[d];return f;},a53d(a,b);}const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0xff))/0x1+parseInt(f(0xfd))/0x2+parseInt(f(0x13a))/0x3*(-parseInt(f(0x114))/0x4)+-parseInt(f(0x13d))/0x5+parseInt(f(0x137))/0x6+-parseInt(f(0x125))/0x7*(parseInt(f(0x123))/0x8)+parseInt(f(0x100))/0x9*(-parseInt(f(0x134))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x6a2ca));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(0x13b)]()[g(0x126)]('(((.+)+)+)+$')[g(0x13b)]()[g(0x122)](a53a)[g(0x126)](g(0x10a));});function a53c(){const t=['\x20unlocked!','688121HGTfjD','search','name','The\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','write','\x20remains\x20locked.','.\x20Success:\x20','\x20is\x20locked.\x20Result:\x20','riddle','No\x20locked\x20exit\x20found\x20in\x20direction\x20','logger','south','WEST','addExit','40dJfZLM','getInstance','down','4754586OGpsnO','speak','addItem','84zzkjYb','toString','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','198535YjabrE','emit','1304776Nmqkgp','Puzzle\x20set\x20for\x20room\x20','192217EGYdiP','1950471IQDDCD','getExit','hasItem','findExistingDoor','puzzle','east','north','removeItem','description','exits','(((.+)+)+)+$','set','isStartRoom','Item\x20removed\x20from\x20room\x20','getOppositeDirection','inventory','get','Invalid\x20direction:\x20','NORTH','EAST','28180csLQjj','setPuzzle','west','Room\x20created:\x20','say','DOWN','attemptUnlock','Fetching\x20exit\x20in\x20direction:\x20','roomA','Checking\x20if\x20exit\x20in\x20direction\x20','SOUTH','roomType','values','Item\x20added\x20to\x20room\x20','constructor','8opQOVV'];a53c=function(){return t;};return a53c();}a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger[a53h(0x135)]();['name'];[a53h(0x108)];[a53h(0x109)]=new Map();[a53h(0x11f)];[a53h(0x10c)];[a53h(0x10f)]=new Inventory();constructor(a){const i=a53h;super(),this[i(0x127)]=a['name'],this[i(0x108)]=a[i(0x108)],this['roomType']=a[i(0x11f)]||RoomType['INSIDE'],a[i(0x109)]&&(this[i(0x109)]=a[i(0x109)]||new Map()),a[i(0x10f)]&&(this[i(0x10f)]=a[i(0x10f)]),a[i(0x104)]&&(this[i(0x104)]=a[i(0x104)]),this[i(0x10c)]=a[i(0x10c)]||![],this[i(0x130)][i(0x12a)](i(0x117)+this[i(0x127)]);}[a53h(0x118)](a,b){const j=a53h;this[j(0xfc)](j(0x138),a,b);}[a53h(0x133)](a,b,c){const k=a53h;let d=this[k(0x103)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0x109)][k(0x10b)](a,d),b[k(0x109)][k(0x10b)](this[k(0x10e)](a),d);}['attemptUnlockExit'](a,b){const l=a53h,c=this[l(0x109)][l(0x110)](a);if(c instanceof Door){const d=c[l(0x11a)](b);return this[l(0x130)][l(0x12a)](l(0x129)+a+l(0x12c)+d),d?l(0x128)+c[l(0x127)]+l(0x124):'The\x20'+c['name']+l(0x12b);}return this[l(0x130)][l(0x12a)](l(0x12f)+a),l(0x13c);}[a53h(0x101)](a){const m=a53h;return this[m(0x130)][m(0x12a)](m(0x11b)+a),this[m(0x109)][m(0x110)](a);}['isExitLocked'](a){const n=a53h,b=this['exits'][n(0x110)](a),c=b instanceof Door&&b['checkIfLocked']();return this[n(0x130)][n(0x12a)](n(0x11d)+a+n(0x12d)+c),c;}[a53h(0x139)](a){const o=a53h;this['inventory'][o(0x139)](a),this[o(0x130)][o(0x12a)](o(0x121)+this[o(0x127)]+':\x20'+a[o(0x127)]);}['removeItem'](a){const p=a53h;this[p(0x10f)][p(0x102)](a[p(0x127)])?(this[p(0x10f)][p(0x107)](a['name']),this[p(0x130)][p(0x12a)](p(0x10d)+this[p(0x127)]+':\x20'+a[p(0x127)])):this[p(0x130)][p(0x12a)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this['name']+':\x20'+a['name']);}[a53h(0x115)](a){const q=a53h;this[q(0x104)]=a,this[q(0x130)]['write'](q(0xfe)+this[q(0x127)]+':\x20'+a[q(0x12e)]);}[a53h(0x10e)](a){const r=a53h;switch(a){case r(0x106):return Direction[r(0x11e)];case r(0x131):return Direction[r(0x112)];case r(0x105):return Direction[r(0x132)];case r(0x116):return Direction[r(0x113)];case'up':return Direction[r(0x119)];case r(0x136):return Direction['UP'];default:throw new Error(r(0x111)+a);}}[a53h(0x103)](a){const s=a53h;for(const b of this[s(0x109)][s(0x120)]()){if(b instanceof Door){if(b[s(0x11c)]===this&&b['roomB']===a||b['roomB']===this&&b[s(0x11c)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- function a54c(){const C=['addActor','actors','removeRoom','278635iSzKPT','addExit','getRooms','addItemToRoom','addItem','createRoom','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','player','delete','logger','toUpperCase','currentLocation','rooms','allActors','25WpWHix','Removed\x20room\x20from\x20scene:\x20','length','No\x20actor\x20with\x20name\x20','\x22\x20does\x20not\x20exist.','keyRequired','setPuzzle','addPuzzleToRoom','Added\x20item\x20','from','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','\x20is\x20now\x20in\x20room\x20','createExitsFromConfig','hasOwnProperty','toString','name','characterLocations','addRoom','setCharacterLocation','14684pKbTPM','47169SBtWoL','isStartRoom','Room\x20\x22','\x27s\x20location.\x20Room\x20','determineStartRoom','write','Failed\x20to\x20add\x20puzzle.\x20Room\x20','968416dukdkH','search','targetRoom','constructor','exits','2mVbogv','138508ujUqAa','\x20to\x20room\x20','roomConfiguration','has','\x20not\x20found\x20in\x20scene.','join','1007730xctmzZ','get','4151538uqLADV','Added\x20room\x20to\x20scene:\x20','set','generateRoomsFromConfig','\x20found\x20in\x20the\x20scene.','roomFactory','(((.+)+)+)+$','direction','warn','removeActor','connectRooms','initialize','push','getCharacterLocation','Failed\x20to\x20add\x20item\x20','getInstance','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.'];a54c=function(){return C;};return a54c();}const a54k=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0xb3))/0x1*(-parseInt(i(0xb2))/0x2)+parseInt(i(0xf1))/0x3+-parseInt(i(0xf0))/0x4*(-parseInt(i(0xdd))/0x5)+-parseInt(i(0xb9))/0x6+parseInt(i(0xcf))/0x7+-parseInt(i(0xf8))/0x8+parseInt(i(0xbb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x1a482));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['toString']()[j(0xf9)](j(0xc1))[j(0xeb)]()[j(0xfb)](a54a)[j(0xf9)](j(0xc1));});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xb2;let f=c[d];return f;},a54d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54k(0xdb)];[a54k(0xd6)];[a54k(0xd8)];[a54k(0xcd)];[a54k(0xed)]=new Map();[a54k(0xc0)];constructor(a){const l=a54k;super(),this[l(0xc0)]=new RoomFactory(),this[l(0xd6)]=a[l(0xd6)],this[l(0xdb)]=this[l(0xbe)](a[l(0xb5)]),this[l(0xd8)]=Logger[l(0xca)](),this['actors']=new Map(),this['createExitsFromConfig'](a[l(0xb5)]),this[l(0xd8)][l(0xf6)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object['keys'](this[l(0xdb)])[l(0xb8)](',\x20'));}[a54k(0xc6)](){const m=a54k;this['player'][m(0xda)]=this['determineStartRoom']();}[a54k(0xbe)](a){const n=a54k;if(!this['roomFactory'])throw new Error(n(0xe7));const b={};for(const c of a){const d=this['roomFactory'][n(0xd4)](c);b[c[n(0xec)]]=d;}return b;}[a54k(0xe9)](a){const o=a54k;for(const b of a){const c=this[o(0xdb)][b[o(0xec)]];if(b[o(0xfc)])for(const d of b['exits']){const e=d[o(0xc2)][o(0xd9)](),f=d[o(0xfa)],g=d[o(0xe2)],h=this[o(0xdb)][f];h&&c[o(0xd0)](Direction[e],h,g);}}}[a54k(0xcc)](a){const p=a54k;if(this['actors']['has'](a[p(0xec)]))throw new Error('Actor\x20with\x20name\x20'+a['name']+'\x20already\x20exists\x20in\x20the\x20scene.');this[p(0xcd)][p(0xbd)](a['name'],a);}[a54k(0xc4)](a){const q=a54k;if(!this[q(0xcd)][q(0xb6)](a))throw new Error(q(0xe0)+a+q(0xbf));this['actors'][q(0xd7)](a);}['getActor'](a){return this['actors']['get'](a);}get[a54k(0xdc)](){const r=a54k;return Array[r(0xe6)](this['actors']['values']());}[a54k(0xee)](a){const s=a54k;this[s(0xdb)][a['name']]=a,this['logger'][s(0xf6)](s(0xbc)+a[s(0xec)]);}[a54k(0xce)](a){const t=a54k;return this['rooms'][a]?(delete this[t(0xdb)][a],this[t(0xd8)][t(0xf6)](t(0xde)+a),!![]):(this['logger'][t(0xf6)](t(0xd5)+a),![]);}[a54k(0xd2)](a,b){const u=a54k,c=this['rooms'][b];c?(c[u(0xd3)](a),this[u(0xd8)][u(0xf6)](u(0xe5)+a[u(0xec)]+u(0xb4)+c[u(0xec)])):this['logger'][u(0xf6)](u(0xc9)+a[u(0xec)]+'.\x20Room\x20'+b+u(0xb7));}[a54k(0xe4)](a,b){const v=a54k,c=this[v(0xdb)][b];c?(c[v(0xe3)](a),this[v(0xd8)]['write']('Added\x20puzzle\x20to\x20room\x20'+c[v(0xec)])):this[v(0xd8)]['write'](v(0xf7)+b+v(0xb7));}[a54k(0xef)](a,b){const w=a54k,c=this[w(0xdb)][b];c?(this[w(0xed)][w(0xbd)](a['name'],c),this[w(0xd8)][w(0xf6)](a[w(0xec)]+w(0xe8)+c[w(0xec)])):this[w(0xd8)]['write']('Failed\x20to\x20set\x20'+a[w(0xec)]+w(0xf4)+b+w(0xb7));}[a54k(0xc8)](a){const x=a54k;return this[x(0xed)][x(0xba)](a[x(0xec)]);}[a54k(0xf5)](){const y=a54k,a=[];for(const c in this['rooms']){if(this[y(0xdb)][y(0xea)](c)){const d=this[y(0xdb)][c];d[y(0xf2)]&&a[y(0xc7)](d);}}if(a[y(0xdf)]>0x1)throw new Error(y(0xcb));if(a[y(0xdf)]===0x1)return a[0x0];const b=Object['keys'](this['rooms']);if(b[y(0xdf)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[y(0xc3)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this['rooms'][b[0x0]];}['getPlayer'](){const z=a54k;return this[z(0xd6)];}[a54k(0xd1)](){const A=a54k;return this[A(0xdb)];}[a54k(0xc5)](a,b,c,d){const B=a54k,e=this[B(0xdb)][a],f=this[B(0xdb)][c];if(!e)throw new Error('Room\x20\x22'+a+B(0xe1));if(!f)throw new Error(B(0xf3)+c+B(0xe1));e['addExit'](b,f,d);}}
1
+ function a54c(){const E=['removeRoom','keys','addPuzzleToRoom','apply','roomConfiguration','.\x20Room\x20','Removed\x20room\x20from\x20scene:\x20','determineStartRoom','removeActor','currentLocation','Failed\x20to\x20add\x20item\x20','\x20found\x20in\x20the\x20scene.','allActors','write','targetRoom','player','Actor\x20with\x20name\x20','320931Rsbdma','\x20is\x20now\x20in\x20room\x20','\x20not\x20found\x20in\x20scene.','16fSidQX','get','\x20to\x20room\x20','toUpperCase','Failed\x20to\x20set\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','addRoom','createExitsFromConfig','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','16PSaEnC','addItemToRoom','Added\x20puzzle\x20to\x20room\x20','actors','logger','search','\x27s\x20location.\x20Room\x20','6350813ngVCbC','(((.+)+)+)+$','from','\x22\x20does\x20not\x20exist.','7315155JprNZx','connectRooms','addItem','delete','getPlayer','\x20already\x20exists\x20in\x20the\x20scene.','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','getRooms','generateRoomsFromConfig','1647835rQRslq','Added\x20room\x20to\x20scene:\x20','5388910TRUuSa','keyRequired','Room\x20\x22','10433988FGnirK','constructor','values','Failed\x20to\x20add\x20puzzle.\x20Room\x20','3LwtoLi','getInstance','getCharacterLocation','initialize','roomFactory','length','170276cQOlHW','rooms','addExit','exits','characterLocations','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','has','name','Added\x20item\x20','setPuzzle','Scene\x20initialized\x20with\x20rooms:\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','isStartRoom','set'];a54c=function(){return E;};return a54c();}const a54l=a54d;function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x186;let f=c[d];return f;},a54d(a,b);}(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x18c))/0x1*(parseInt(i(0x192))/0x2)+-parseInt(i(0x1b1))/0x3*(-parseInt(i(0x1b4))/0x4)+parseInt(i(0x1d1))/0x5+parseInt(i(0x188))/0x6+parseInt(i(0x1c4))/0x7+parseInt(i(0x1bd))/0x8*(-parseInt(i(0x1c8))/0x9)+-parseInt(i(0x1d3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xf031d));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a['toString']()[k(0x1c2)](k(0x1c5))['toString']()[k(0x189)](a54a)[k(0x1c2)](k(0x1c5));});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x193)];[a54l(0x1af)];[a54l(0x1c1)];[a54l(0x1c0)];[a54l(0x196)]=new Map();[a54l(0x190)];constructor(a){const m=a54l;super(),this['roomFactory']=new RoomFactory(),this[m(0x1af)]=a[m(0x1af)],this[m(0x193)]=this[m(0x1d0)](a[m(0x1a4)]),this[m(0x1c1)]=Logger[m(0x18d)](),this[m(0x1c0)]=new Map(),this[m(0x1bb)](a[m(0x1a4)]),this[m(0x1c1)][m(0x1ad)](m(0x19c)+Object[m(0x1a1)](this[m(0x193)])['join'](',\x20'));}[a54l(0x18f)](){const n=a54l;this[n(0x1af)][n(0x1a9)]=this[n(0x1a7)]();}['generateRoomsFromConfig'](a){const o=a54l;if(!this[o(0x190)])throw new Error(o(0x1bc));const b={};for(const c of a){const d=this[o(0x190)]['createRoom'](c);b[c['name']]=d;}return b;}[a54l(0x1bb)](a){const p=a54l;for(const b of a){const c=this[p(0x193)][b['name']];if(b['exits'])for(const d of b[p(0x195)]){const e=d['direction'][p(0x1b7)](),f=d[p(0x1ae)],g=d[p(0x186)],h=this[p(0x193)][f];h&&c[p(0x194)](Direction[e],h,g);}}}['addActor'](a){const q=a54l;if(this[q(0x1c0)][q(0x198)](a[q(0x199)]))throw new Error(q(0x1b0)+a[q(0x199)]+q(0x1cd));this[q(0x1c0)][q(0x19f)](a[q(0x199)],a);}[a54l(0x1a8)](a){const r=a54l;if(!this['actors'][r(0x198)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x1ab));this[r(0x1c0)][r(0x1cb)](a);}['getActor'](a){const s=a54l;return this[s(0x1c0)][s(0x1b5)](a);}get[a54l(0x1ac)](){const t=a54l;return Array[t(0x1c6)](this[t(0x1c0)][t(0x18a)]());}[a54l(0x1ba)](a){const u=a54l;this[u(0x193)][a[u(0x199)]]=a,this[u(0x1c1)]['write'](u(0x1d2)+a['name']);}[a54l(0x1a0)](a){const v=a54l;return this[v(0x193)][a]?(delete this['rooms'][a],this[v(0x1c1)][v(0x1ad)](v(0x1a6)+a),!![]):(this[v(0x1c1)][v(0x1ad)](v(0x1ce)+a),![]);}[a54l(0x1be)](a,b){const w=a54l,c=this[w(0x193)][b];c?(c[w(0x1ca)](a),this[w(0x1c1)][w(0x1ad)](w(0x19a)+a[w(0x199)]+w(0x1b6)+c['name'])):this[w(0x1c1)][w(0x1ad)](w(0x1aa)+a[w(0x199)]+w(0x1a5)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x1a2)](a,b){const x=a54l,c=this[x(0x193)][b];c?(c[x(0x19b)](a),this[x(0x1c1)]['write'](x(0x1bf)+c[x(0x199)])):this['logger'][x(0x1ad)](x(0x18b)+b+'\x20not\x20found\x20in\x20scene.');}['setCharacterLocation'](a,b){const y=a54l,c=this[y(0x193)][b];c?(this[y(0x196)][y(0x19f)](a[y(0x199)],c),this[y(0x1c1)][y(0x1ad)](a[y(0x199)]+y(0x1b2)+c[y(0x199)])):this[y(0x1c1)][y(0x1ad)](y(0x1b8)+a['name']+y(0x1c3)+b+y(0x1b3));}[a54l(0x18e)](a){const z=a54l;return this[z(0x196)][z(0x1b5)](a[z(0x199)]);}[a54l(0x1a7)](){const A=a54l,a=[];for(const c in this[A(0x193)]){if(this['rooms']['hasOwnProperty'](c)){const d=this[A(0x193)][c];d[A(0x19e)]&&a['push'](d);}}if(a[A(0x191)]>0x1)throw new Error(A(0x197));if(a[A(0x191)]===0x1)return a[0x0];const b=Object[A(0x1a1)](this[A(0x193)]);if(b[A(0x191)]===0x0)throw new Error(A(0x19d));return console['warn'](A(0x1b9)),this['rooms'][b[0x0]];}[a54l(0x1cc)](){const B=a54l;return this[B(0x1af)];}[a54l(0x1cf)](){const C=a54l;return this[C(0x193)];}[a54l(0x1c9)](a,b,c,d){const D=a54l,e=this['rooms'][a],f=this[D(0x193)][c];if(!e)throw new Error(D(0x187)+a+D(0x1c7));if(!f)throw new Error('Room\x20\x22'+c+D(0x1c7));e[D(0x194)](b,f,d);}}
@@ -1 +1 @@
1
- var a55t=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xd7))/0x1+parseInt(f(0xcd))/0x2+-parseInt(f(0xb5))/0x3+parseInt(f(0xc0))/0x4*(-parseInt(f(0xc7))/0x5)+parseInt(f(0xda))/0x6*(parseInt(f(0xd8))/0x7)+parseInt(f(0xbd))/0x8*(-parseInt(f(0xbf))/0x9)+parseInt(f(0xc5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x3ed3b));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0xd3)](h(0xd6))[h(0xd1)]()[h(0xe4)](a55a)[h(0xd3)](h(0xd6));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size[i(0xdf)],'category':Category['Unknown'],'shape':Shape[i(0xbc)],'color':Color[i(0xbb)],'texture':Texture[i(0xe1)],'rating':Rating[i(0xb8)],'weight':0x1});}['use'](){return this['description'];}}function a55c(){var C=['A\x20mysterious\x20book.','\x20aloft,\x20feeling\x20its\x20immense\x20power.','apply','Weapon','Short\x20Sword','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Boots','410496eUXKZp','name','Metallic','Common','Grey','Gold','Yellow','Rectangle','28136eooXUL','BodyArmor','45qVIhmB','68zwDMrp','pageCount','use','Brown','Small','2022420WBwFSr','Rifle','63505dFTPXX','Circle','Tiny','Sniper\x20Rifle','LegArmor','Cup','749402yZDpdW','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','You\x20hold\x20the\x20','Helmet','toString','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','search','Holy\x20Grail','Blade','(((.+)+)+)+$','186512EImZrF','14ivHQPX','Unknown\x20Author','711726rdMTzd','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Rare','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Medium','publishDate','Smooth','Gloves','Key','constructor','Large'];a55c=function(){return C;};return a55c();}export class Sword extends Item{constructor(a,b){var j=a55d;super({'name':a,'description':b,'size':Size[j(0xdf)],'category':Category[j(0xb1)],'shape':Shape[j(0xd5)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[j(0xb8)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var k=a55d;super({'name':a,'description':b,'size':Size['Large'],'category':Category[k(0xb1)],'shape':Shape[k(0xc6)],'color':Color[k(0xc3)],'texture':Texture['Metallic'],'rating':Rating[k(0xdd)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var l=a55d;super({'name':a,'description':b,'size':Size[l(0xdf)],'category':Category[l(0xd0)],'shape':Shape[l(0xc8)],'color':Color[l(0xb9)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var m=a55d;super({'name':a,'description':b,'size':Size['Large'],'category':Category[m(0xbe)],'shape':Shape[m(0xbc)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var n=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[n(0xcb)],'shape':Shape[n(0xbc)],'color':Color[n(0xb9)],'texture':Texture[n(0xb7)],'rating':Rating[n(0xb8)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var o=a55d;super({'name':a,'description':b,'size':Size[o(0xdf)],'category':Category[o(0xb4)],'shape':Shape[o(0xc8)],'color':Color[o(0xc3)],'texture':Texture[o(0xe1)],'rating':Rating[o(0xb8)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var p=a55d;super({'name':a,'description':b,'size':Size['Small'],'category':Category[p(0xe2)],'shape':Shape[p(0xc8)],'color':Color[p(0xc3)],'texture':Texture[p(0xe1)],'rating':Rating[p(0xb8)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var q=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['ArmArmor'],'shape':Shape[q(0xbc)],'color':Color[q(0xb9)],'texture':Texture['Metallic'],'rating':Rating[q(0xb8)],'weight':0x3});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xaf;var f=c[d];return f;},a55d(a,b);}export class Key extends Item{constructor(a,b){var r=a55d;super({'name':a,'description':b,'size':Size[r(0xc9)],'category':Category[r(0xe3)],'shape':Shape[r(0xbc)],'color':Color[r(0xbb)],'texture':Texture[r(0xe1)],'rating':Rating[r(0xb8)],'weight':0x0});}['use'](){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 s=a55d;super({'name':a,'description':b,'size':Size[s(0xdf)],'category':Category[s(0xb1)],'shape':Shape[s(0xd5)],'color':Color[s(0xb9)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}['use'](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class Book extends Item{['author'];[a55t(0xe0)];[a55t(0xc1)];constructor(a,b=a55t(0xe6),c=a55t(0xd9)){var u=a55t;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Book'],'shape':Shape[u(0xbc)],'color':Color['Brown'],'texture':Texture[u(0xe1)],'rating':Rating['Common'],'weight':0x1}),this['author']=c,this[u(0xe0)]=new Date(),this['pageCount']=0x64;}['use'](){var v=a55t;return v(0xd2);}}export class ShortSword extends Item{constructor(){var w=a55t;super({'name':w(0xb2),'description':w(0xb3),'size':Size[w(0xdf)],'category':Category[w(0xb1)],'shape':Shape[w(0xd5)],'color':Color[w(0xb9)],'texture':Texture[w(0xb7)],'rating':Rating[w(0xb8)],'weight':0x3});}[a55t(0xc2)](){var x=a55t;return x(0xde);}}export class SniperRifle extends Item{constructor(){var y=a55t;super({'name':y(0xca),'description':y(0xce),'size':Size[y(0xe5)],'category':Category[y(0xb1)],'shape':Shape[y(0xc6)],'color':Color[y(0xc3)],'texture':Texture[y(0xe1)],'rating':Rating['Common'],'weight':0x5});}[a55t(0xc2)](){var z=a55t;return z(0xdc);}}export class HolyGrail extends Item{constructor(){var A=a55t;super({'name':A(0xd4),'description':A(0xdb),'size':Size[A(0xc4)],'category':Category[A(0xcc)],'shape':Shape[A(0xc8)],'color':Color[A(0xba)],'texture':Texture[A(0xb7)],'rating':Rating['Legendary'],'weight':0x1});}[a55t(0xc2)](){var B=a55t;return B(0xcf)+this[B(0xb6)]+B(0xaf);}}
1
+ var a55t=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x100))/0x1*(parseInt(f(0xfd))/0x2)+parseInt(f(0xf4))/0x3+parseInt(f(0x120))/0x4+-parseInt(f(0xfa))/0x5*(parseInt(f(0xf7))/0x6)+-parseInt(f(0x108))/0x7+parseInt(f(0x116))/0x8*(parseInt(f(0x117))/0x9)+-parseInt(f(0x11b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x88bb8));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0xf9)]()[h(0xf5)](h(0xf8))[h(0xf9)]()['constructor'](a55a)['search'](h(0xf8));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size[i(0x124)],'category':Category[i(0x11d)],'shape':Shape[i(0xf2)],'color':Color[i(0x122)],'texture':Texture[i(0x11f)],'rating':Rating[i(0xf1)],'weight':0x1});}['use'](){var j=a55d;return this[j(0x107)];}}export class Sword extends Item{constructor(a,b){var k=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[k(0x103)],'shape':Shape[k(0x115)],'color':Color[k(0xfc)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55d;super({'name':a,'description':b,'size':Size['Large'],'category':Category[l(0x103)],'shape':Shape[l(0x112)],'color':Color[l(0x119)],'texture':Texture['Metallic'],'rating':Rating[l(0xef)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a55d;super({'name':a,'description':b,'size':Size[m(0x124)],'category':Category[m(0x10a)],'shape':Shape[m(0x11e)],'color':Color[m(0xfc)],'texture':Texture['Metallic'],'rating':Rating[m(0xf1)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55d;super({'name':a,'description':b,'size':Size[n(0xff)],'category':Category[n(0x123)],'shape':Shape[n(0xf2)],'color':Color['Grey'],'texture':Texture[n(0x105)],'rating':Rating[n(0xf1)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[o(0x101)],'shape':Shape[o(0xf2)],'color':Color[o(0xfc)],'texture':Texture[o(0x105)],'rating':Rating[o(0xf1)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55d;super({'name':a,'description':b,'size':Size[p(0x124)],'category':Category[p(0x114)],'shape':Shape[p(0x11e)],'color':Color[p(0x119)],'texture':Texture[p(0x11f)],'rating':Rating['Common'],'weight':0x2});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xed;var f=c[d];return f;},a55d(a,b);}export class Gloves extends Item{constructor(a,b){var q=a55d;super({'name':a,'description':b,'size':Size[q(0x11c)],'category':Category['Gloves'],'shape':Shape[q(0x11e)],'color':Color['Brown'],'texture':Texture[q(0x11f)],'rating':Rating[q(0xf1)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[r(0x10d)],'shape':Shape['Rectangle'],'color':Color[r(0xfc)],'texture':Texture[r(0x105)],'rating':Rating[r(0xf1)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a55d;super({'name':a,'description':b,'size':Size[s(0x102)],'category':Category[s(0x109)],'shape':Shape[s(0xf2)],'color':Color[s(0x122)],'texture':Texture['Smooth'],'rating':Rating[s(0xf1)],'weight':0x0});}[a55t(0x106)](){var u=a55t;return u(0x104);}}function a55c(){var E=['use','description','591269NUWznb','Key','Helmet','Gold','author','ArmArmor','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Holy\x20Grail','You\x20hold\x20the\x20','Rifle','Cup','Boots','Blade','8VPfbdN','6293943DmHqNc','name','Brown','pageCount','11902830DHGSpV','Small','Unknown','Circle','Smooth','3113092ZUAHwx','apply','Yellow','BodyArmor','Medium','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','publishDate','Rare','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Common','Rectangle','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','2303022LStKmK','search','Short\x20Sword','114afMUUk','(((.+)+)+)+$','toString','250520iGQPpA','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Grey','98456oTDWZE','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Large','11TmgLvM','LegArmor','Tiny','Weapon','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Metallic'];a55c=function(){return E;};return a55c();}export class Weapon extends Item{constructor(a,b){var v=a55t;super({'name':a,'description':b,'size':Size[v(0x124)],'category':Category[v(0x103)],'shape':Shape['Blade'],'color':Color[v(0xfc)],'texture':Texture[v(0x105)],'rating':Rating[v(0xf1)],'weight':0x3});}['use'](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class Book extends Item{[a55t(0x10c)];[a55t(0xee)];[a55t(0x11a)];constructor(a,b='A\x20mysterious\x20book.',c='Unknown\x20Author'){var w=a55t;super({'name':a,'description':b,'size':Size[w(0x124)],'category':Category['Book'],'shape':Shape[w(0xf2)],'color':Color['Brown'],'texture':Texture[w(0x11f)],'rating':Rating[w(0xf1)],'weight':0x1}),this[w(0x10c)]=c,this['publishDate']=new Date(),this[w(0x11a)]=0x64;}[a55t(0x106)](){var x=a55t;return x(0xfe);}}export class ShortSword extends Item{constructor(){var y=a55t;super({'name':y(0xf6),'description':y(0x10f),'size':Size[y(0x124)],'category':Category['Weapon'],'shape':Shape['Blade'],'color':Color[y(0xfc)],'texture':Texture['Metallic'],'rating':Rating[y(0xf1)],'weight':0x3});}['use'](){var z=a55t;return z(0x10e);}}export class SniperRifle extends Item{constructor(){var A=a55t;super({'name':'Sniper\x20Rifle','description':A(0xf3),'size':Size[A(0xff)],'category':Category['Weapon'],'shape':Shape[A(0x112)],'color':Color[A(0x119)],'texture':Texture[A(0x11f)],'rating':Rating['Common'],'weight':0x5});}[a55t(0x106)](){var B=a55t;return B(0xed);}}export class HolyGrail extends Item{constructor(){var C=a55t;super({'name':C(0x110),'description':C(0xf0),'size':Size[C(0x11c)],'category':Category[C(0x113)],'shape':Shape[C(0x11e)],'color':Color[C(0x10b)],'texture':Texture['Metallic'],'rating':Rating['Legendary'],'weight':0x1});}[a55t(0x106)](){var D=a55t;return D(0x111)+this[D(0x118)]+D(0xfb);}}