@maka/maka-cli 4.11.0 → 4.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (155) hide show
  1. package/bundle/obf/package.json +2 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/patreon.js +1 -1
  84. package/bundle/obf/src/commands/profile.js +1 -0
  85. package/bundle/obf/src/commands/proxy.js +1 -1
  86. package/bundle/obf/src/commands/reconfig.js +1 -1
  87. package/bundle/obf/src/commands/register.js +1 -1
  88. package/bundle/obf/src/commands/run/_index.js +1 -1
  89. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/run/run.command.js +1 -1
  91. package/bundle/obf/src/commands/set/_index.js +1 -1
  92. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  94. package/bundle/obf/src/commands/set/set.command.js +1 -1
  95. package/bundle/obf/src/commands/ssh.js +1 -1
  96. package/bundle/obf/src/commands/ssl.js +1 -1
  97. package/bundle/obf/src/commands/test.js +1 -1
  98. package/bundle/obf/src/commands/undo.js +1 -1
  99. package/bundle/obf/src/commands/version.js +1 -1
  100. package/bundle/obf/src/error.js +1 -1
  101. package/bundle/obf/src/exec.js +1 -1
  102. package/bundle/obf/src/generator.js +1 -1
  103. package/bundle/obf/src/generators/_index.js +1 -1
  104. package/bundle/obf/src/generators/api.js +1 -1
  105. package/bundle/obf/src/generators/collection.js +1 -1
  106. package/bundle/obf/src/generators/component.js +1 -1
  107. package/bundle/obf/src/generators/config.js +1 -1
  108. package/bundle/obf/src/generators/dbc.js +1 -1
  109. package/bundle/obf/src/generators/dockerfile.js +1 -1
  110. package/bundle/obf/src/generators/hook.js +1 -1
  111. package/bundle/obf/src/generators/kits/_index.js +1 -1
  112. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  114. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  115. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  116. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  117. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  118. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  119. package/bundle/obf/src/generators/kits/kit.js +1 -1
  120. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  124. package/bundle/obf/src/generators/layout.js +1 -1
  125. package/bundle/obf/src/generators/maka.gen.js +1 -1
  126. package/bundle/obf/src/generators/methods.js +1 -1
  127. package/bundle/obf/src/generators/package.js +1 -1
  128. package/bundle/obf/src/generators/page.js +1 -1
  129. package/bundle/obf/src/generators/publish.js +1 -1
  130. package/bundle/obf/src/generators/route.js +1 -1
  131. package/bundle/obf/src/generators/service.js +1 -1
  132. package/bundle/obf/src/generators/services/_index.js +1 -1
  133. package/bundle/obf/src/generators/services/openssl.js +1 -1
  134. package/bundle/obf/src/generators/services/translation.js +1 -1
  135. package/bundle/obf/src/maka.js +1 -1
  136. package/bundle/obf/src/tool.js +1 -1
  137. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  138. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  139. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  141. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  142. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  143. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/https/https.class.js +1 -1
  145. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  146. package/bundle/obf/src/tools/log/log.class.js +1 -1
  147. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/options/options.class.js +1 -1
  149. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  150. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  151. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  153. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  154. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  155. package/package.json +2 -1
@@ -1 +1 @@
1
- const a37i=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x8b;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x8f))/0x1+-parseInt(f(0x99))/0x2*(parseInt(f(0x8d))/0x3)+parseInt(f(0x91))/0x4+-parseInt(f(0x8c))/0x5+parseInt(f(0xa3))/0x6*(-parseInt(f(0x95))/0x7)+parseInt(f(0x9c))/0x8*(parseInt(f(0x8b))/0x9)+-parseInt(f(0x92))/0xa*(parseInt(f(0x96))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x1b1a6));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xa0)]()['search']('(((.+)+)+)+$')[h(0xa0)]()[h(0xa2)](a37a)[h(0xa8)](h(0x9f));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x93)]='search';static [a37i(0xa5)]='Search\x20for\x20items\x20in\x20your\x20area';[a37i(0xa4)](){const j=a37i,a=this[j(0xa9)][j(0x98)][j(0x9e)]['listItems']();if(a[j(0x97)]===0x0)return this[j(0x94)][j(0xa7)](j(0x8e)+this[j(0xa9)][j(0x9b)]+j(0xa6)),j(0x9a);const b=a[j(0x9d)](',\x20');return this[j(0x94)][j(0xa7)](j(0x8e)+this[j(0xa9)][j(0x9b)]+'\x20found\x20the\x20following\x20items:\x20'+b),j(0x90)+b;}}function a37c(){const k=['logger','91kiCpAl','2948bQkoFJ','length','currentLocation','46HQhdKP','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','name','64lZbTgk','join','inventory','(((.+)+)+)+$','toString','apply','constructor','78036acDFPZ','execute','description','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','write','search','actor','196389qvnVuJ','856630mNSKYx','3207vjfITw','SearchCommand:\x20','203993JCvvbM','You\x20search\x20the\x20area\x20and\x20find:\x20','836800MIkGfP','4170AXEFHW','verb'];a37c=function(){return k;};return a37c();}
1
+ const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x15c))/0x1+-parseInt(f(0x150))/0x2*(-parseInt(f(0x151))/0x3)+parseInt(f(0x161))/0x4*(parseInt(f(0x14f))/0x5)+-parseInt(f(0x14c))/0x6+parseInt(f(0x149))/0x7+parseInt(f(0x148))/0x8+-parseInt(f(0x145))/0x9*(parseInt(f(0x146))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x1bc45));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x144;let f=c[d];return f;},a37d(a,b);}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const g=a37d;return a37a[g(0x156)]()[g(0x14b)](g(0x157))[g(0x156)]()[g(0x14d)](a37a)[g(0x14b)](g(0x157));});a37a();function a37c(){const j=['Search\x20for\x20items\x20in\x20your\x20area','SearchCommand:\x20','logger','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','28319ftoWAT','currentLocation','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','You\x20search\x20the\x20area\x20and\x20find:\x20','name','4oleHOd','execute','2628243glzclx','10XIiqeE','inventory','426128nMPEjq','1044897BwfRUx','actor','search','994068zdBezg','constructor','description','1091385DEEHzK','254iPalUA','4227eHNsPZ','listItems','join','\x20found\x20the\x20following\x20items:\x20','write','toString','(((.+)+)+)+$'];a37c=function(){return j;};return a37c();}import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a37h(0x14b);static [a37h(0x14e)]=a37h(0x158);[a37h(0x144)](){const i=a37h,a=this[i(0x14a)][i(0x15d)][i(0x147)][i(0x152)]();if(a['length']===0x0)return this[i(0x15a)]['write'](i(0x159)+this['actor'][i(0x160)]+i(0x15b)),i(0x15e);const b=a[i(0x153)](',\x20');return this[i(0x15a)][i(0x155)](i(0x159)+this[i(0x14a)]['name']+i(0x154)+b),i(0x15f)+b;}}
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x1ff))/0x1+parseInt(f(0x1ec))/0x2*(parseInt(f(0x1e5))/0x3)+parseInt(f(0x1f9))/0x4+parseInt(f(0x201))/0x5*(-parseInt(f(0x1e9))/0x6)+parseInt(f(0x1fd))/0x7+-parseInt(f(0x1fc))/0x8+parseInt(f(0x1eb))/0x9*(-parseInt(f(0x1ea))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xbc861));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1f6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1e3)]()[h(0x1fe)](h(0x1e8))[h(0x1e3)]()[h(0x1f2)](a38a)[h(0x1fe)](h(0x1e8));});a38a();import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1e3;let f=c[d];return f;},a38d(a,b);}export class SolveCommand extends Command{static [a38i(0x1e6)]=a38i(0x1ed);static [a38i(0x1f0)]=a38i(0x1f7);[a38i(0x200)](a){const j=a38i,b=a[j(0x1fa)]('\x20')[j(0x1f8)](),c=this[j(0x1ef)]['currentLocation'];if(!c||!c[j(0x1f3)])return this[j(0x1f4)]['write']('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[j(0x1f3)][j(0x1ed)](b,this[j(0x1ef)][j(0x1f5)]);return d[j(0x1ee)]&&c[j(0x1f3)][j(0x1e4)]&&this['actor'][j(0x1f5)][j(0x1f1)](c[j(0x1f3)][j(0x1e4)]),this[j(0x1f4)]['write'](j(0x1fb)+d[j(0x1e7)]),d[j(0x1e7)];}}function a38c(){const k=['description','addItem','constructor','puzzle','logger','inventory','apply','Attempt\x20to\x20solve\x20a\x20puzzle.','toLowerCase','2059316WcgtYY','join','SolveCommand:\x20','1349336APmVaK','457121AbKndu','search','605705nflUTk','execute','15iNRirZ','toString','rewardItem','198ydekyP','verb','message','(((.+)+)+)+$','873156ZHWNFW','4844370BEtFfh','9pxCPEw','20486SVwVaR','solve','success','actor'];a38c=function(){return k;};return a38c();}
1
+ const a38i=a38d;function a38c(){const k=['(((.+)+)+)+$','currentLocation','description','message','execute','puzzle','actor','rewardItem','118212szXckv','addItem','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','6914313QCwyvQ','4680085jRMPdE','solve','31061912Ewjpkm','2592728IzEPDG','join','logger','toLowerCase','write','2796684wuWLUj','search','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','797187FjBwRK','2eyAKQW','apply','inventory','toString','verb'];a38c=function(){return k;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x13d))/0x1+-parseInt(f(0x130))/0x2*(parseInt(f(0x12f))/0x3)+-parseInt(f(0x144))/0x4+-parseInt(f(0x141))/0x5+-parseInt(f(0x12c))/0x6+-parseInt(f(0x140))/0x7+parseInt(f(0x143))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xaa33e));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x12d)](h(0x135))[h(0x133)]()['constructor'](a38a)[h(0x12d)](h(0x135));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x12c;let f=c[d];return f;},a38d(a,b);}a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x134)]=a38i(0x142);static [a38i(0x137)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a38i(0x139)](a){const j=a38i,b=a[j(0x145)]('\x20')[j(0x147)](),c=this[j(0x13b)][j(0x136)];if(!c||!c[j(0x13a)])return this[j(0x146)][j(0x148)](j(0x13f)),j(0x12e);const d=c[j(0x13a)][j(0x142)](b,this[j(0x13b)][j(0x132)]);return d['success']&&c[j(0x13a)][j(0x13c)]&&this['actor'][j(0x132)][j(0x13e)](c[j(0x13a)][j(0x13c)]),this[j(0x146)][j(0x148)]('SolveCommand:\x20'+d[j(0x138)]),d['message'];}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0xe1))/0x1+parseInt(f(0xee))/0x2+-parseInt(f(0xf2))/0x3*(parseInt(f(0x10b))/0x4)+parseInt(f(0xeb))/0x5*(parseInt(f(0x107))/0x6)+parseInt(f(0xe3))/0x7*(-parseInt(f(0x108))/0x8)+-parseInt(f(0x105))/0x9+-parseInt(f(0xfb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x8778d));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0xec)]()[h(0xef)](h(0x104))[h(0xec)]()[h(0x10a)](a39a)['search'](h(0x104));});function a39c(){const l=['2149800iahJbJ','The\x20item\x20\x22','description','Item\x20\x22','\x20during\x20\x27Take\x27\x20command.','inventory','Successfully\x20removed\x20\x22','removeItem','Pick\x20up\x20an\x20item.','(((.+)+)+)+$','5421456IYqHiA','apply','34038XxFmHW','48zxkIsX','join','constructor','77856QODgud','write','\x22\x20to\x20','Successfully\x20added\x20\x22','281575nXEmfw','execute','46445LsNJAH','logger','\x22\x20is\x20too\x20heavy\x20to\x20carry.','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','Error\x20during\x20\x27Take\x27\x20command:\x20','\x22\x20in\x20this\x20room.','There\x20is\x20no\x20item\x20\x22','verb','860eJAotx','toString','hasItem','620896YlyLpD','search','take','\x22\x20not\x20found\x20in\x20','24CepYxy','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','name','message','toLowerCase','actor','\x22\x20from\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','You\x20have\x20taken\x20the\x20'];a39c=function(){return l;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xdf;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0xea)]=a39i(0xf0);static [a39i(0xfd)]=a39i(0x103);[a39i(0xe2)](a){const j=a39i;return this['logger']['write'](j(0xe6)+a[j(0x109)]('\x20')),this[j(0xf0)](a);}[a39i(0xf0)](a){const k=a39i,b=a['join']('\x20')[k(0xf6)](),c=this[k(0xf7)]['currentLocation'];if(!c[k(0x100)][k(0xed)](b))return this[k(0xe4)][k(0x10c)](k(0xfe)+b+k(0xf1)+c[k(0xf4)]+k(0xff)),k(0xe9)+b+k(0xe8);const d=c[k(0x100)]['getItem'](b);if(!d)return this['logger'][k(0x10c)](k(0xfe)+b+'\x22\x20not\x20retrieved\x20from\x20'+c['name']+k(0xf9)),k(0xe9)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0xf7)]['addInventory'](d),this['logger'][k(0x10c)](k(0xe0)+b+k(0xdf)+this['actor'][k(0xf4)]+k(0xf3)),c['inventory'][k(0x102)](b),this[k(0xe4)]['write'](k(0x101)+b+k(0xf8)+c[k(0xf4)]+k(0xf9)),k(0xfa)+b+'.';}catch(e){return this[k(0xe4)]['write'](k(0xe7)+e[k(0xf5)]),k(0xfc)+b+k(0xe5);}}}
1
+ const a39h=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x7f;let f=c[d];return f;},a39d(a,b);}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x80))/0x1*(parseInt(f(0xa9))/0x2)+-parseInt(f(0x8f))/0x3*(-parseInt(f(0x84))/0x4)+parseInt(f(0x88))/0x5*(parseInt(f(0x81))/0x6)+parseInt(f(0xa1))/0x7+-parseInt(f(0x95))/0x8+parseInt(f(0x89))/0x9*(parseInt(f(0x9c))/0xa)+parseInt(f(0x93))/0xb*(parseInt(f(0x8d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x4cb31));function a39c(){const k=['173RkzZWo','6ceDanM','Item\x20\x22','currentLocation','50972GmMakd','join','Error\x20during\x20\x27Take\x27\x20command:\x20','toLowerCase','122600FklPYx','9kRxHKC','take','\x22\x20to\x20','description','1716qiMrDg','You\x20have\x20taken\x20the\x20','9UcrzTV','There\x20is\x20no\x20item\x20\x22','removeItem','\x22\x20in\x20this\x20room.','32021pFzwcT','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','2764160sJqcYD','Successfully\x20removed\x20\x22','execute','getItem','Successfully\x20added\x20\x22','toString','logger','5166160MHhZZo','verb','\x20during\x20\x27Take\x27\x20command.','\x22\x20is\x20too\x20heavy\x20to\x20carry.','name','1254659voIyaj','Pick\x20up\x20an\x20item.','search','\x22\x20not\x20retrieved\x20from\x20','message','inventory','write','actor','5956toOTMe','\x22\x20from\x20'];a39c=function(){return k;};return a39c();}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const g=a39d;return a39a['toString']()[g(0xa3)]('(((.+)+)+)+$')[g(0x9a)]()['constructor'](a39a)[g(0xa3)]('(((.+)+)+)+$');});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39h(0x9d)]=a39h(0x8a);static [a39h(0x8c)]=a39h(0xa2);[a39h(0x97)](a){const i=a39h;return this[i(0x9b)][i(0xa7)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[i(0x85)]('\x20')),this['take'](a);}[a39h(0x8a)](a){const j=a39h,b=a[j(0x85)]('\x20')[j(0x87)](),c=this[j(0xa8)][j(0x83)];if(!c[j(0xa6)]['hasItem'](b))return this[j(0x9b)][j(0xa7)](j(0x82)+b+'\x22\x20not\x20found\x20in\x20'+c['name']+j(0x9e)),j(0x90)+b+j(0x92);const d=c[j(0xa6)][j(0x98)](b);if(!d)return this[j(0x9b)][j(0xa7)]('Item\x20\x22'+b+j(0xa4)+c['name']+j(0x94)),j(0x90)+b+j(0x92);try{return this[j(0xa8)]['addInventory'](d),this[j(0x9b)]['write'](j(0x99)+b+j(0x8b)+this[j(0xa8)][j(0xa0)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[j(0xa6)][j(0x91)](b),this[j(0x9b)][j(0xa7)](j(0x96)+b+j(0x7f)+c[j(0xa0)]+j(0x94)),j(0x8e)+b+'.';}catch(e){return this[j(0x9b)][j(0xa7)](j(0x86)+e[j(0xa5)]),'The\x20item\x20\x22'+b+j(0x9f);}}}
@@ -1 +1 @@
1
- function a40c(){const j=['546090ZObBOa','actor','unequip','12jixndm','4RmeYuo','5071210QXjlsc','9659744lRvypi','search','310678jTWLlJ','join','262272XWHhwf','UnequipCommand:\x20','execute','constructor','toString','3101574HsdoBW','(((.+)+)+)+$','Unequip\x20an\x20item.','9ilMqme','3478515TMqmCb','logger','description'];a40c=function(){return j;};return a40c();}const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x13e))/0x1+parseInt(f(0x140))/0x2+parseInt(f(0x136))/0x3*(parseInt(f(0x13a))/0x4)+parseInt(f(0x133))/0x5+-parseInt(f(0x139))/0x6*(-parseInt(f(0x12f))/0x7)+-parseInt(f(0x13c))/0x8+parseInt(f(0x132))/0x9*(parseInt(f(0x13b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xd7d28));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0x12e)]()[g(0x13d)]('(((.+)+)+)+$')[g(0x12e)]()[g(0x12d)](a40a)[g(0x13d)](g(0x130));});a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x12b;let f=c[d];return f;},a40d(a,b);}export class UnequipCommand extends Command{static ['verb']='unqeuip';static [a40h(0x135)]=a40h(0x131);[a40h(0x12c)](a){const i=a40h,b=a[i(0x13f)]('\x20')['toLowerCase'](),c=this[i(0x137)][i(0x138)](b);return this[i(0x134)]['write'](i(0x12b)+this['actor']['name']+'\x20unqeuiped\x20'+c),c;}}
1
+ function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1a8;let f=c[d];return f;},a40d(a,b);}const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1c1))/0x1+parseInt(f(0x1bc))/0x2*(-parseInt(f(0x1c0))/0x3)+-parseInt(f(0x1b0))/0x4+parseInt(f(0x1bd))/0x5*(-parseInt(f(0x1ac))/0x6)+parseInt(f(0x1b1))/0x7*(-parseInt(f(0x1b3))/0x8)+parseInt(f(0x1a9))/0x9+parseInt(f(0x1b8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x4ef87));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0x1bf)]()['search']('(((.+)+)+)+$')[g(0x1bf)]()[g(0x1ae)](a40a)[g(0x1c3)](g(0x1b5));});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40h(0x1b4)]=a40h(0x1aa);static [a40h(0x1b6)]=a40h(0x1be);[a40h(0x1ad)](a){const i=a40h,b=a[i(0x1ab)]('\x20')[i(0x1a8)](),c=this[i(0x1b2)][i(0x1b7)](b);return this[i(0x1b9)][i(0x1bb)](i(0x1c2)+this['actor'][i(0x1af)]+i(0x1ba)+c),c;}}function a40c(){const j=['name','897008IHlFXE','7XNPNtQ','actor','1339232FyOFZM','verb','(((.+)+)+)+$','description','unequip','9505980coKrDY','logger','\x20unqeuiped\x20','write','629542aEwRoi','55UPiUAZ','Unequip\x20an\x20item.','toString','3YKJTjO','31678IfxbvA','UnequipCommand:\x20','search','toLowerCase','721368zCRPij','unqeuip','join','17748nifYKQ','execute','constructor'];a40c=function(){return j;};return a40c();}
@@ -1 +1 @@
1
- const a41j=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x1d2))/0x1+-parseInt(h(0x1c5))/0x2*(parseInt(h(0x1c4))/0x3)+parseInt(h(0x1bb))/0x4*(parseInt(h(0x1c8))/0x5)+-parseInt(h(0x1b2))/0x6+-parseInt(h(0x1cc))/0x7*(-parseInt(h(0x1b4))/0x8)+parseInt(h(0x1d7))/0x9*(-parseInt(h(0x1b5))/0xa)+parseInt(h(0x1b6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xce892));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const i=a41d;return a41a['toString']()[i(0x1d3)]('(((.+)+)+)+$')['toString']()['constructor'](a41a)[i(0x1d3)]('(((.+)+)+)+$');});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a41d(a,b);}export class UnlockCommand extends Command{static [a41j(0x1ba)]=a41j(0x1ce);static [a41j(0x1d6)]=a41j(0x1cb);[a41j(0x1c3)](a){const k=a41j;return this[k(0x1ce)](a);}[a41j(0x1ce)](a){const l=a41j;if(a[l(0x1c9)]===0x0)return this[l(0x1c7)][l(0x1be)](l(0x1b7)),l(0x1bc);const b=a[0x0][l(0x1cd)](),c=this[l(0x1bf)]['currentLocation'];if(this[l(0x1b9)](b)&&c['exits'][l(0x1b3)](b)){const d=c[l(0x1cf)][l(0x1d0)](b);if(d instanceof Door){const e=d[l(0x1bd)]?.['toLowerCase']();if(e&&this[l(0x1bf)]['inventory']['hasItem'](e)){const f=this['actor']['inventory']['getItem'](e);if(f){const g=c[l(0x1c0)](b,f[l(0x1d5)]);return this[l(0x1c7)][l(0x1ca)]('UnlockCommand:\x20'+this[l(0x1bf)][l(0x1d5)]+l(0x1d1)+b+l(0x1b8)+g),g;}}return this[l(0x1c7)][l(0x1ca)]('UnlockCommand:\x20'+this['actor'][l(0x1d5)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),l(0x1c2);}else return this['logger']['write'](l(0x1c1)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x1d5)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}else return this[l(0x1c7)][l(0x1ca)](l(0x1c1)+b+l(0x1c6)+c[l(0x1d5)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0x1d4);}}function a41c(){const m=['exits','get','\x20is\x20attempted\x20to\x20unlock\x20','1645149PFmUVV','search','\x22\x20here.','name','description','711549zjolEc','7590804MZJseF','has','200YtwopG','20oiBVXf','41967904gNIetf','UnlockCommand:\x20No\x20target\x20specified.','.\x20Result:\x20','isValidDirection','verb','7416MTZNyg','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','unlockItemOrSolution','error','actor','attemptUnlockExit','UnlockCommand:\x20','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','execute','920097ofNTvG','8vpOjTT','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','logger','790DVzEJO','length','write','Unlock\x20a\x20door.','289233OCBAOv','toLowerCase','unlock'];a41c=function(){return m;};return a41c();}
1
+ function a41c(){const n=['exits','actor','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','hasItem','unlockItemOrSolution','126GriDCW','write','get','attemptUnlockExit','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','name','has','\x22\x20here.','327868PgBbev','constructor','toString','212566MBKsSs','1902410mtuhiQ','verb','9PwPtkb','7464198rIKrSn','currentLocation','.\x20Result:\x20','search','error','209928Xgcnrs','(((.+)+)+)+$','inventory','unlock','4161068ULYugQ','logger','toLowerCase','There\x27s\x20no\x20door\x20named\x20\x22','UnlockCommand:\x20No\x20target\x20specified.','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','\x20is\x20attempted\x20to\x20unlock\x20','isValidDirection','apply','4902576nIgJey','UnlockCommand:\x20'];a41c=function(){return n;};return a41c();}const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x18f))/0x1+-parseInt(h(0x18c))/0x2*(-parseInt(h(0x192))/0x3)+-parseInt(h(0x19c))/0x4+-parseInt(h(0x190))/0x5+parseInt(h(0x1a5))/0x6+parseInt(h(0x193))/0x7+parseInt(h(0x198))/0x8*(-parseInt(h(0x184))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xc33a7));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x18e)]()[j(0x196)](j(0x199))[j(0x18e)]()[j(0x18d)](a41a)[j(0x196)]('(((.+)+)+)+$');});a41a();import{Door}from'../models/door.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x182;let f=c[d];return f;},a41d(a,b);}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x191)]=a41k(0x19b);static ['description']='Unlock\x20a\x20door.';['execute'](a){const l=a41k;return this[l(0x19b)](a);}[a41k(0x19b)](a){const m=a41k;if(a['length']===0x0)return this[m(0x19d)][m(0x197)](m(0x1a0)),m(0x1a9);const b=a[0x0][m(0x19e)](),c=this['actor'][m(0x194)];if(this[m(0x1a3)](b)&&c[m(0x1a7)][m(0x18a)](b)){const d=c[m(0x1a7)][m(0x186)](b);if(d instanceof Door){const e=d[m(0x183)]?.[m(0x19e)]();if(e&&this[m(0x1a8)]['inventory'][m(0x182)](e)){const f=this[m(0x1a8)][m(0x19a)]['getItem'](e);if(f){const g=c[m(0x187)](b,f[m(0x189)]);return this[m(0x19d)][m(0x185)]('UnlockCommand:\x20'+this[m(0x1a8)]['name']+m(0x1a2)+b+m(0x195)+g),g;}}return this[m(0x19d)][m(0x185)](m(0x1a6)+this['actor'][m(0x189)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),m(0x1a1);}else return this[m(0x19d)]['write'](m(0x1a6)+b+m(0x188)+c[m(0x189)]+'.'),m(0x19f)+b+m(0x18b);}else return this[m(0x19d)][m(0x185)](m(0x1a6)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x189)]+'.'),m(0x19f)+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- const a42i=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x77;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x77))/0x1+-parseInt(f(0x7c))/0x2+-parseInt(f(0x92))/0x3+-parseInt(f(0x84))/0x4+parseInt(f(0x96))/0x5*(-parseInt(f(0x98))/0x6)+parseInt(f(0x94))/0x7*(-parseInt(f(0x79))/0x8)+parseInt(f(0x81))/0x9*(parseInt(f(0x7e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x4ee30));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x7d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x99)]()['search'](h(0x93))[h(0x99)]()[h(0x87)](a42a)[h(0x9a)]('(((.+)+)+)+$');});a42a();import{Command}from'./command.js';function a42c(){const l=['59004REqbOU','toLowerCase','write','229804QfEmji','verb','inventory','constructor',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','name','logger','actor','use','UseCommand:\x20','\x20doesn\x27t\x20have\x20a\x20use\x20method.','execute','You\x20can\x27t\x20use\x20the\x20','\x20not\x20retrieved\x20from\x20','1018788RJilKO','(((.+)+)+)+$','7alLsib','join','1965AitDpD','description','4716ulTZEC','toString','search','482705WiVfOH','\x20used\x20','4243848OsmtJy','\x20attempted\x20to\x20use\x20','getItem','491586EyHTuu','apply','3490bHcTqA','\x20to\x20use.','You\x20don\x27t\x20have\x20the\x20'];a42c=function(){return l;};return a42c();}export class UseCommand extends Command{static [a42i(0x85)]=a42i(0x8c);static [a42i(0x97)]='Use\x20an\x20item.';[a42i(0x8f)](a){const j=a42i;return this[j(0x8c)](a);}[a42i(0x8c)](a){const k=a42i,b=a[k(0x95)]('\x20')[k(0x82)]();if(!this[k(0x8b)][k(0x86)]['hasItem'](b))return this[k(0x8a)][k(0x83)](k(0x8d)+this[k(0x8b)][k(0x89)]+k(0x7a)+b+k(0x88)),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x7f);const c=this[k(0x8b)][k(0x86)][k(0x7b)](b);if(!c)return this[k(0x8a)][k(0x83)](k(0x8d)+b+k(0x91)+this[k(0x8b)][k(0x89)]+'\x27s\x20inventory.'),k(0x80)+b+k(0x7f);if(typeof c[k(0x8c)]==='function'){const d=c['use']();return this[k(0x8a)]['write'](k(0x8d)+this[k(0x8b)]['name']+k(0x78)+b+'.'),d;}else return this[k(0x8a)]['write'](k(0x8d)+b+k(0x8e)),k(0x90)+b+'\x20in\x20this\x20way.';}}
1
+ function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x142;let f=c[d];return f;},a42d(a,b);}const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x150))/0x1*(parseInt(f(0x157))/0x2)+parseInt(f(0x142))/0x3+-parseInt(f(0x15d))/0x4+parseInt(f(0x153))/0x5*(parseInt(f(0x160))/0x6)+parseInt(f(0x163))/0x7*(-parseInt(f(0x148))/0x8)+-parseInt(f(0x15c))/0x9*(-parseInt(f(0x162))/0xa)+-parseInt(f(0x164))/0xb*(-parseInt(f(0x15b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x47c4d));function a42c(){const l=['\x27s\x20inventory.','write','282WmVNOS','toString','19330sXkOax','7xycjFP','1481722tiItYZ','731694UIYiMh','getItem','You\x20can\x27t\x20use\x20the\x20','actor','logger','inventory','3600088SMgsbi','(((.+)+)+)+$','name','\x20in\x20this\x20way.','\x20attempted\x20to\x20use\x20','You\x20don\x27t\x20have\x20the\x20','constructor','apply','517337XKxJzZ','search','\x20to\x20use.','55445vQFSiS','execute','toLowerCase','Use\x20an\x20item.','2ZkayWo','UseCommand:\x20','\x20not\x20retrieved\x20from\x20','use','60FmuMgg','639KQTDGd','1258084SHGvfk'];a42c=function(){return l;};return a42c();}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x161)]()[h(0x151)](h(0x149))[h(0x161)]()[h(0x14e)](a42a)[h(0x151)](h(0x149));});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a42i(0x15a);static ['description']=a42i(0x156);[a42i(0x154)](a){const j=a42i;return this[j(0x15a)](a);}[a42i(0x15a)](a){const k=a42i,b=a['join']('\x20')[k(0x155)]();if(!this[k(0x145)][k(0x147)]['hasItem'](b))return this[k(0x146)][k(0x15f)](k(0x158)+this[k(0x145)][k(0x14a)]+k(0x14c)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x152);const c=this[k(0x145)]['inventory'][k(0x143)](b);if(!c)return this[k(0x146)][k(0x15f)](k(0x158)+b+k(0x159)+this['actor'][k(0x14a)]+k(0x15e)),k(0x14d)+b+'\x20to\x20use.';if(typeof c[k(0x15a)]==='function'){const d=c[k(0x15a)]();return this['logger'][k(0x15f)](k(0x158)+this[k(0x145)][k(0x14a)]+'\x20used\x20'+b+'.'),d;}else return this[k(0x146)][k(0x15f)](k(0x158)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),k(0x144)+b+k(0x14b);}}
@@ -1 +1 @@
1
- function a43c(){const l=['9DiQWBY','getAllRegisteredCommands','toString','4655203XuFcZt','constructor','registerCommand','52652DEiuIu','6dDOkVW','commandMap','1140928kKPTCu','(((.+)+)+)+$','apply','5420984YFsTNg','433327PoOcns','search','createCommand','600054KCyUKT','290eXgEiP','11276830zemKhL'];a43c=function(){return l;};return a43c();}const a43i=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xd0;let f=c[d];return f;},a43d(a,b);}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0xd0))/0x1+parseInt(f(0xdf))/0x2+-parseInt(f(0xd3))/0x3+parseInt(f(0xdc))/0x4*(parseInt(f(0xd4))/0x5)+parseInt(f(0xdd))/0x6*(-parseInt(f(0xd9))/0x7)+-parseInt(f(0xe2))/0x8+-parseInt(f(0xd6))/0x9*(-parseInt(f(0xd5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x768e4));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xe1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()[h(0xd1)](h(0xe0))[h(0xd8)]()[h(0xda)](a43a)[h(0xd1)](h(0xe0));});a43a();export class CommandFactory{static [a43i(0xde)]={};static[a43i(0xdb)](a,b){const j=a43i;this[j(0xde)][a]=b;}static[a43i(0xd2)](a,b){const k=a43i,c=this[k(0xde)][a];if(c)return new c(b);return null;}static[a43i(0xd7)](){return this['commandMap'];}}
1
+ function a43c(){const m=['15045930nnSSwv','2016511mDVzPC','2031156ZFjJFj','getAllRegisteredCommands','constructor','commandMap','toString','apply','registerCommand','6546iiWVtG','15JifQIA','5755VitzYI','(((.+)+)+)+$','3024495VERXfC','4006144VEqUNf','26890hUmrKQ','search'];a43c=function(){return m;};return a43c();}const a43i=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1e3;let f=c[d];return f;},a43d(a,b);}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1f1))/0x1*(parseInt(f(0x1e5))/0x2)+-parseInt(f(0x1e3))/0x3+-parseInt(f(0x1e9))/0x4+-parseInt(f(0x1f2))/0x5*(-parseInt(f(0x1f0))/0x6)+parseInt(f(0x1e8))/0x7+-parseInt(f(0x1e4))/0x8+parseInt(f(0x1e7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xf3743));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1ee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1ed)]()[h(0x1e6)](h(0x1f3))[h(0x1ed)]()[h(0x1eb)](a43a)[h(0x1e6)](h(0x1f3));});a43a();export class CommandFactory{static [a43i(0x1ec)]={};static[a43i(0x1ef)](a,b){const j=a43i;this[j(0x1ec)][a]=b;}static['createCommand'](a,b){const k=a43i,c=this[k(0x1ec)][a];if(c)return new c(b);return null;}static[a43i(0x1ea)](){const l=a43i;return this[l(0x1ec)];}}
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x176))/0x1+parseInt(f(0x188))/0x2+-parseInt(f(0x18e))/0x3*(parseInt(f(0x170))/0x4)+-parseInt(f(0x185))/0x5+-parseInt(f(0x18c))/0x6+-parseInt(f(0x186))/0x7*(-parseInt(f(0x17d))/0x8)+parseInt(f(0x18a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x2dad0));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x18f)]()[h(0x179)](h(0x189))[h(0x18f)]()[h(0x17b)](a44a)[h(0x179)](h(0x189));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a44c(){const o=['inventory','roomType','setPuzzle','315880VPVHNa','1665615JuJqrr','name','55608WdvZuS','(((.+)+)+)+$','320400zqTDif','description','1361490KOKWYF','createPuzzle','417771XPCfWW','toString','rewardItem','book','toUpperCase','4pKEwvC','puzzle','createItem','legarmor','rifle','apply','315087XkVZbr','isStartRoom','items','search','bodyarmor','constructor','convertToRoomConfig','8GeSJMC','boots','type','gloves','INSIDE'];a44c=function(){return o;};return a44c();}import{RoomType}from'../types/enums.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x16e;let f=c[d];return f;},a44d(a,b);}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const i=a44d,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[i(0x178)]){const d=new Inventory();a['items']['forEach'](e=>{const j=i;d['addItem'](this[j(0x172)](e));}),c[i(0x182)]=d;}return a[i(0x171)]&&c[i(0x184)](this[i(0x18d)](a['puzzle'])),c;}[a44k(0x172)](a){const l=a44k;switch(a[l(0x17f)]){case'key':return new Key(a[l(0x187)],a[l(0x18b)]);case l(0x16e):return new Book(a[l(0x187)],a[l(0x18b)],a['content']);case'sword':return new Sword(a[l(0x187)],a[l(0x18b)]);case l(0x174):return new Rifle(a[l(0x187)],a[l(0x18b)]);case'helmet':return new Helmet(a[l(0x187)],a['description']);case l(0x17a):return new BodyArmor(a[l(0x187)],a[l(0x18b)]);case l(0x173):return new LegArmor(a[l(0x187)],a['description']);case l(0x17e):return new Boots(a[l(0x187)],a[l(0x18b)]);case l(0x180):return new Gloves(a['name'],a['description']);case'gauntlets':return new Gauntlets(a['name'],a['description']);default:return new BasicItem(a[l(0x187)],a[l(0x18b)]);}}['createPuzzle'](a){const m=a44k,b=this[m(0x172)](a[m(0x190)]);return new Puzzle({...a,'rewardItem':b});}[a44k(0x17c)](a){const n=a44k,b=a[n(0x183)]&&RoomType[a[n(0x183)][n(0x16f)]()]?RoomType[a[n(0x183)][n(0x16f)]()]:RoomType[n(0x181)];return{'name':a[n(0x187)],'description':a['description'],'isStartRoom':a[n(0x177)],'roomType':b};}}
1
+ function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1af;let f=c[d];return f;},a44d(a,b);}const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x1b8))/0x1+-parseInt(f(0x1d5))/0x2*(parseInt(f(0x1b2))/0x3)+parseInt(f(0x1d4))/0x4*(-parseInt(f(0x1cf))/0x5)+parseInt(f(0x1d3))/0x6*(-parseInt(f(0x1d0))/0x7)+parseInt(f(0x1d7))/0x8*(-parseInt(f(0x1c1))/0x9)+-parseInt(f(0x1c9))/0xa*(-parseInt(f(0x1d2))/0xb)+-parseInt(f(0x1af))/0xc*(-parseInt(f(0x1c2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x848b2));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x1c5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x1c7)]()[h(0x1c8)](h(0x1d1))[h(0x1c7)]()[h(0x1bb)](a44a)[h(0x1c8)](h(0x1d1));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a44c(){const o=['30658316HFfSdX','isStartRoom','legarmor','apply','rewardItem','toString','search','28030eavjoW','gloves','items','convertToRoomConfig','rifle','sword','4131575jsgvPP','773262YFldAP','(((.+)+)+)+$','3707wegUEX','48xLoddT','4HpdkYh','2HQcphh','roomType','76048ccNXBd','12sNHcMz','INSIDE','toUpperCase','1363059sMiEnJ','type','createItem','book','content','setPuzzle','186891cqtZmY','bodyarmor','puzzle','constructor','description','name','createRoom','inventory','forEach','387esOBsH'];a44c=function(){return o;};return a44c();}export class RoomFactory{[a44i(0x1be)](a){const j=a44i,b=this[j(0x1cc)](a),c=new Room(b);if(a[j(0x1cb)]){const d=new Inventory();a[j(0x1cb)][j(0x1c0)](e=>{const k=j;d['addItem'](this[k(0x1b4)](e));}),c[j(0x1bf)]=d;}return a[j(0x1ba)]&&c[j(0x1b7)](this['createPuzzle'](a[j(0x1ba)])),c;}['createItem'](a){const l=a44i;switch(a[l(0x1b3)]){case'key':return new Key(a['name'],a[l(0x1bc)]);case l(0x1b5):return new Book(a[l(0x1bd)],a[l(0x1bc)],a[l(0x1b6)]);case l(0x1ce):return new Sword(a[l(0x1bd)],a[l(0x1bc)]);case l(0x1cd):return new Rifle(a['name'],a[l(0x1bc)]);case'helmet':return new Helmet(a[l(0x1bd)],a[l(0x1bc)]);case l(0x1b9):return new BodyArmor(a[l(0x1bd)],a[l(0x1bc)]);case l(0x1c4):return new LegArmor(a[l(0x1bd)],a[l(0x1bc)]);case'boots':return new Boots(a[l(0x1bd)],a[l(0x1bc)]);case l(0x1ca):return new Gloves(a[l(0x1bd)],a[l(0x1bc)]);case'gauntlets':return new Gauntlets(a[l(0x1bd)],a[l(0x1bc)]);default:return new BasicItem(a['name'],a[l(0x1bc)]);}}['createPuzzle'](a){const m=a44i,b=this[m(0x1b4)](a[m(0x1c6)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0x1cc)](a){const n=a44i,b=a['roomType']&&RoomType[a[n(0x1d6)]['toUpperCase']()]?RoomType[a[n(0x1d6)][n(0x1b1)]()]:RoomType[n(0x1b0)];return{'name':a[n(0x1bd)],'description':a[n(0x1bc)],'isStartRoom':a[n(0x1c3)],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0xce))/0x1+parseInt(h(0xf6))/0x2+parseInt(h(0xf9))/0x3+parseInt(h(0xf5))/0x4+-parseInt(h(0xf2))/0x5*(parseInt(h(0xd5))/0x6)+parseInt(h(0xf3))/0x7*(-parseInt(h(0xe1))/0x8)+-parseInt(h(0xfa))/0x9*(parseInt(h(0xcf))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x94f97));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0xe9)]()[j(0xf1)](j(0xd2))['toString']()[j(0xe4)](a45a)[j(0xf1)](j(0xd2));});function a45c(){const r=['player','scene','40vDqQuS','name','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','constructor','toLowerCase','rooms','solve','registerCommand','toString','unequip','look','Welcome,\x20','getHelpMessage','registerCommands','quit','Available\x20Commands:\x0a','search','5GqLKHD','255577PKkVBT','clear','2503376ibVVSk','771908otroQf','getWelcomeMessage','determineStartRoom','1743696aTxjXg','54ykmYSh','instance','742379lkfdMz','1104010sXPCbw','getInstance','say','(((.+)+)+)+$','-\x20clear:\x20Clear\x20the\x20screen.\x0a','createCommand','5281494fEDQpa','hasOwnProperty','initialize','help','currentRoom','apply','execute','-\x20quit:\x20Exit\x20the\x20game.\x0a','trim','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit'];a45c=function(){return r;};return a45c();}a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xcd;let f=c[d];return f;},a45d(a,b);}import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a45k(0xe0)];[a45k(0xdf)];[a45k(0xd9)];[a45k(0xe6)];constructor(a,b){const l=a45k;this[l(0xdf)]=a,this[l(0xe0)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0xe0)][l(0xd7)](),this[l(0xdf)]['currentLocation']=this['determineStartRoom'](),this['registerCommands']();}[a45k(0xee)](){const m=a45k;CommandFactory['registerCommand'](m(0xeb),LookCommand),CommandFactory[m(0xe8)]('go',GoCommand),CommandFactory[m(0xe8)]('take',TakeCommand),CommandFactory['registerCommand']('use',UseCommand),CommandFactory['registerCommand']('equip',EquipCommand),CommandFactory[m(0xe8)](m(0xea),UnequipCommand),CommandFactory['registerCommand'](m(0xe7),SolveCommand),CommandFactory[m(0xe8)]('drop',DropCommand),CommandFactory[m(0xe8)]('unlock',UnlockCommand),CommandFactory[m(0xe8)]('lock',LockCommand),CommandFactory[m(0xe8)](m(0xf1),SearchCommand),CommandFactory[m(0xe8)](m(0xd1),SayCommand);}[a45k(0xf8)](){return this['scene']['determineStartRoom']();}[a45k(0xf7)](){const n=a45k;return n(0xec)+this['player'][n(0xe2)];}static[a45k(0xd0)](a,b){const o=a45k;return!Game[o(0xcd)]&&(Game[o(0xcd)]=new Game(a,b)),Game[o(0xcd)];}['handleInput'](a){const p=a45k,b=a[p(0xdd)]()['split']('\x20'),c=b[0x0][p(0xe5)](),d=b['slice'](0x1);if(c===p(0xef))return null;if(c==='maka')return p(0xde);if(c===p(0xd8))return this['getHelpMessage']();if(c===p(0xf4))return'';const e={'actor':this[p(0xdf)],'rooms':this['scene']['getRooms'](),'scene':this[p(0xe0)]},f=CommandFactory[p(0xd4)](c,e);if(f){const g=f[p(0xdb)](d);return g;}return p(0xe3)+c+'\x22.';}[a45k(0xed)](){const q=a45k,a=CommandFactory['getAllRegisteredCommands']();let b=q(0xf0);for(const c in a){if(a[q(0xd6)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=q(0xd3),b+=q(0xdc),b;}}
1
+ const a45j=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x175))/0x1*(-parseInt(h(0x17f))/0x2)+-parseInt(h(0x16f))/0x3*(parseInt(h(0x16d))/0x4)+-parseInt(h(0x16a))/0x5*(parseInt(h(0x195))/0x6)+-parseInt(h(0x16e))/0x7+-parseInt(h(0x178))/0x8*(-parseInt(h(0x194))/0x9)+-parseInt(h(0x17e))/0xa+parseInt(h(0x177))/0xb*(parseInt(h(0x199))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x4c1cd));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const i=a45d;return a45a[i(0x183)]()[i(0x19b)](i(0x19a))['toString']()[i(0x189)](a45a)[i(0x19b)](i(0x19a));});function a45c(){const r=['constructor','getRooms','trim','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','getHelpMessage','player','execute','createCommand','name','take','getDescription','45uWIvAJ','644958IyCVCH','Available\x20Commands:\x0a','help','scene','47052FdbMmH','(((.+)+)+)+$','search','slice','getInstance','lock','solve','getWelcomeMessage','25TCzuXu','currentRoom','determineStartRoom','1782984MKBIIy','297185gCjPHg','3BXseOT','look','-\x20clear:\x20Clear\x20the\x20screen.\x0a','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','split','drop','1SJPtQr','maka','4158VnbbwC','627368JWBGiD','clear','say','handleInput','instance','currentLocation','1337370hPmunW','806166fOPWoJ','-\x20quit:\x20Exit\x20the\x20game.\x0a','unequip','use','toString','equip','Welcome,\x20','toLowerCase','registerCommand','hasOwnProperty'];a45c=function(){return r;};return a45c();}a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x168;let f=c[d];return f;},a45d(a,b);}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45j(0x17c)];['scene'];['player'];[a45j(0x16b)];['rooms'];constructor(a,b){const k=a45j;this['player']=a,this[k(0x198)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x198)]['initialize'](),this['player'][k(0x17d)]=this[k(0x16c)](),this['registerCommands']();}['registerCommands'](){const l=a45j;CommandFactory[l(0x187)](l(0x170),LookCommand),CommandFactory[l(0x187)]('go',GoCommand),CommandFactory[l(0x187)](l(0x192),TakeCommand),CommandFactory[l(0x187)](l(0x182),UseCommand),CommandFactory[l(0x187)](l(0x184),EquipCommand),CommandFactory[l(0x187)](l(0x181),UnequipCommand),CommandFactory[l(0x187)](l(0x168),SolveCommand),CommandFactory[l(0x187)](l(0x174),DropCommand),CommandFactory[l(0x187)]('unlock',UnlockCommand),CommandFactory[l(0x187)](l(0x19e),LockCommand),CommandFactory[l(0x187)](l(0x19b),SearchCommand),CommandFactory['registerCommand'](l(0x17a),SayCommand);}[a45j(0x16c)](){const m=a45j;return this[m(0x198)][m(0x16c)]();}[a45j(0x169)](){const n=a45j;return n(0x185)+this[n(0x18e)][n(0x191)];}static[a45j(0x19d)](a,b){const o=a45j;return!Game[o(0x17c)]&&(Game[o(0x17c)]=new Game(a,b)),Game[o(0x17c)];}[a45j(0x17b)](a){const p=a45j,b=a[p(0x18b)]()[p(0x173)]('\x20'),c=b[0x0][p(0x186)](),d=b[p(0x19c)](0x1);if(c==='quit')return null;if(c===p(0x176))return p(0x172);if(c===p(0x197))return this['getHelpMessage']();if(c===p(0x179))return'';const e={'actor':this[p(0x18e)],'rooms':this[p(0x198)][p(0x18a)](),'scene':this[p(0x198)]},f=CommandFactory[p(0x190)](c,e);if(f){const g=f[p(0x18f)](d);return g;}return p(0x18c)+c+'\x22.';}[a45j(0x18d)](){const q=a45j,a=CommandFactory['getAllRegisteredCommands']();let b=q(0x196);for(const c in a){if(a[q(0x188)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x193)]()+'\x0a';}}return b+=q(0x171),b+=q(0x180),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0xe4))/0x1*(parseInt(f(0xdc))/0x2)+-parseInt(f(0xe0))/0x3*(parseInt(f(0xdf))/0x4)+parseInt(f(0xe1))/0x5*(parseInt(f(0xde))/0x6)+parseInt(f(0xe2))/0x7+-parseInt(f(0xdd))/0x8+-parseInt(f(0xe8))/0x9*(-parseInt(f(0xe6))/0xa)+parseInt(f(0xe7))/0xb*(parseInt(f(0xdb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x23a72));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0xe9)]()['search'](g(0xe5))[g(0xe9)]()['constructor'](a46a)[g(0xe3)](g(0xe5));});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xdb;var f=c[d];return f;},a46d(a,b);}a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a46c(){var h=['4JotFlS','1935744dvnTzm','31470CjyUrY','99916nWOdRn','27eELWEF','15Nrtfht','1149246fKfXZg','search','89654QAUfWT','(((.+)+)+)+$','2194810naCvPj','1199XJbiXU','9rFhuUh','toString','43236SxRIbx'];a46c=function(){return h;};return a46c();}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0xb4))/0x1+parseInt(f(0xb3))/0x2+parseInt(f(0xab))/0x3+parseInt(f(0xa8))/0x4+-parseInt(f(0xb2))/0x5+parseInt(f(0xb1))/0x6*(-parseInt(f(0xad))/0x7)+-parseInt(f(0xaa))/0x8*(parseInt(f(0xaf))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x2dd1b));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xa9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0xac)]('(((.+)+)+)+$')[h(0xb5)]()[h(0xae)](a46a)['search'](h(0xb0));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xa8;var f=c[d];return f;},a46d(a,b);}export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';function a46c(){var i=['search','791DyWwpV','constructor','45zlfQrH','(((.+)+)+)+$','5622glQAKx','530775YveFzf','450bRotZl','259137BfpSVI','toString','223224TrNpxh','apply','271792Qlewxg','763239kEocXU'];a46c=function(){return i;};return a46c();}
@@ -1 +1 @@
1
- var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x1f0))/0x1+-parseInt(f(0x1e7))/0x2*(parseInt(f(0x1dc))/0x3)+-parseInt(f(0x1e1))/0x4+parseInt(f(0x1e2))/0x5*(-parseInt(f(0x1d9))/0x6)+-parseInt(f(0x1ed))/0x7+parseInt(f(0x1ef))/0x8+parseInt(f(0x1e8))/0x9*(parseInt(f(0x1e0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xaccf1));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var g=a47d;return a47a['toString']()[g(0x1e5)]('(((.+)+)+)+$')['toString']()['constructor'](a47a)[g(0x1e5)]('(((.+)+)+)+$');});function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x1d8;var f=c[d];return f;},a47d(a,b);}a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a47c(){var m=['Door\x20created\x20between\x20','10HVSHLm','105952nHmKYu','2899510HdUnjg','Door\x20unlocked:\x20','.\x20Used:\x20','search','logger','2228oCNEFm','17839656gJClme','\x20and\x20','roomA','unlockItemOrSolution','roomB','5363316xANZLl','getInstance','4597424ljRxkB','789045NVzzor','write','6zfnOOR','Failed\x20to\x20unlock\x20door:\x20','isLockable','3408elamUP','isLocked','name'];a47c=function(){return m;};return a47c();}export class Door extends AbstractDoor{[a47h(0x1ea)];[a47h(0x1ec)];[a47h(0x1dd)];[a47h(0x1eb)];[a47h(0x1de)];[a47h(0x1e6)];[a47h(0x1db)];constructor(a){var i=a47h;super(),this[i(0x1ea)]=a[i(0x1ea)],this[i(0x1ec)]=a[i(0x1ec)],this[i(0x1dd)]=a['isLocked']||![],this[i(0x1eb)]=a[i(0x1eb)],this[i(0x1de)]=a['name']?capitalCase(a[i(0x1de)]):'To\x20'+a[i(0x1ec)][i(0x1de)],this['logger']=Logger[i(0x1ee)](),this[i(0x1db)]=!!a[i(0x1eb)],this[i(0x1e6)][i(0x1d8)](i(0x1df)+this[i(0x1ea)][i(0x1de)]+i(0x1e9)+this[i(0x1ec)][i(0x1de)]+'.\x20Is\x20Locked:\x20'+this[i(0x1dd)]);}['getOtherSide'](a){var j=a47h;return this[j(0x1ea)]===a?this[j(0x1ec)]:this[j(0x1ea)];}['attemptUnlock'](a){var k=a47h;if(this[k(0x1dd)]&&this[k(0x1eb)]&&this[k(0x1eb)]===a)return this['isLocked']=![],this[k(0x1e6)][k(0x1d8)](k(0x1e3)+this['name']+k(0x1e4)+a),!![];return this[k(0x1e6)]['write'](k(0x1da)+this[k(0x1de)]+k(0x1e4)+a),![];}['checkIfLocked'](){var l=a47h;return this[l(0x1dd)];}['checkIfLockable'](){return this['isLockable'];}}
1
+ function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x1dc;var f=c[d];return f;},a47d(a,b);}var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x1fd))/0x1*(-parseInt(f(0x1fb))/0x2)+-parseInt(f(0x1ec))/0x3*(parseInt(f(0x1ea))/0x4)+-parseInt(f(0x1df))/0x5*(-parseInt(f(0x1f1))/0x6)+-parseInt(f(0x1f5))/0x7*(-parseInt(f(0x1e9))/0x8)+parseInt(f(0x1f7))/0x9*(-parseInt(f(0x1e4))/0xa)+parseInt(f(0x1f2))/0xb+-parseInt(f(0x1de))/0xc*(parseInt(f(0x1e7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x68438));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var g=a47d;return a47a[g(0x1ef)]()[g(0x1e3)](g(0x1ee))[g(0x1ef)]()['constructor'](a47a)['search'](g(0x1ee));});a47a();function a47c(){var n=['\x20and\x20','(((.+)+)+)+$','toString','isLockable','10506DqHZYL','4678916SEzhtG','getOtherSide','roomA','7FbnqgX','logger','36NwRgIz','checkIfLockable','To\x20','write','1054MNjbRL','unlockItemOrSolution','1021xxoCms','roomB','getInstance','350604QaTQbw','5UuNUXr','.\x20Used:\x20','isLocked','Failed\x20to\x20unlock\x20door:\x20','search','1692820tkLeyt','name','checkIfLocked','208zerZyW','attemptUnlock','5807544aGfueO','477812LszVAi','.\x20Is\x20Locked:\x20','3KVfpwM'];a47c=function(){return n;};return a47c();}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47h(0x1f4)];[a47h(0x1dc)];[a47h(0x1e1)];[a47h(0x1fc)];[a47h(0x1e5)];['logger'];[a47h(0x1f0)];constructor(a){var i=a47h;super(),this[i(0x1f4)]=a[i(0x1f4)],this[i(0x1dc)]=a[i(0x1dc)],this[i(0x1e1)]=a[i(0x1e1)]||![],this[i(0x1fc)]=a[i(0x1fc)],this['name']=a['name']?capitalCase(a[i(0x1e5)]):i(0x1f9)+a[i(0x1dc)][i(0x1e5)],this[i(0x1f6)]=Logger[i(0x1dd)](),this[i(0x1f0)]=!!a[i(0x1fc)],this[i(0x1f6)][i(0x1fa)]('Door\x20created\x20between\x20'+this[i(0x1f4)][i(0x1e5)]+i(0x1ed)+this[i(0x1dc)][i(0x1e5)]+i(0x1eb)+this[i(0x1e1)]);}[a47h(0x1f3)](a){var j=a47h;return this['roomA']===a?this[j(0x1dc)]:this['roomA'];}[a47h(0x1e8)](a){var k=a47h;if(this[k(0x1e1)]&&this[k(0x1fc)]&&this['unlockItemOrSolution']===a)return this['isLocked']=![],this[k(0x1f6)][k(0x1fa)]('Door\x20unlocked:\x20'+this[k(0x1e5)]+k(0x1e0)+a),!![];return this['logger']['write'](k(0x1e2)+this[k(0x1e5)]+k(0x1e0)+a),![];}[a47h(0x1e6)](){var l=a47h;return this[l(0x1e1)];}[a47h(0x1f8)](){var m=a47h;return this[m(0x1f0)];}}
@@ -1 +1 @@
1
- function a48c(){const r=['hasItem','\x20to\x20inventory.','removeItem','apply','75sroRew','name','231108DbZsYB','.\x20Item\x20not\x20found.','has','constructor','32071950JIsXXC','360JNvkqm','keys','listItems','items','getWeight','\x20from\x20inventory.','getInstance','search','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','logger','\x20in\x20','join','Failed\x20to\x20remove\x20item:\x20','Added\x20item:\x20','toString','8613456eyWfBM','Retrieved\x20details\x20for\x20item:\x20','(((.+)+)+)+$','values','3069780ewXtZH','Removed\x20item:\x20','986gWedjR','write','getItem','toLowerCase','875378zeIkcY','1369125LDxhyi','set','delete'];a48c=function(){return r;};return a48c();}function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x65;let f=c[d];return f;},a48d(a,b);}const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x79))/0x1+parseInt(f(0x74))/0x2*(-parseInt(f(0x87))/0x3)+-parseInt(f(0x72))/0x4+parseInt(f(0x80))/0x5*(parseInt(f(0x82))/0x6)+parseInt(f(0x78))/0x7+-parseInt(f(0x6e))/0x8+parseInt(f(0x86))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xf2aaa));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a['toString']()[h(0x66)](h(0x70))[h(0x6d)]()[h(0x85)](a48a)[h(0x66)](h(0x70));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0x8a)];[a48i(0x68)];constructor(){const j=a48i;super(),this['items']=new Map(),this[j(0x68)]=Logger[j(0x65)]();}['addItem'](a){const k=a48i;this['items'][k(0x7a)](a[k(0x81)]['toLowerCase'](),a),this[k(0x68)]['write'](k(0x6c)+a[k(0x81)]+k(0x7d));}[a48i(0x7e)](a){const l=a48i,b=this[l(0x76)](a);if(b)return this[l(0x8a)][l(0x7b)](a['toLowerCase']()),this[l(0x68)][l(0x75)](l(0x73)+a+l(0x8c)),b;return this[l(0x68)]['write'](l(0x6b)+a+l(0x83)),null;}[a48i(0x7c)](a){const m=a48i,b=this[m(0x8a)][m(0x84)](a[m(0x77)]()),c=[...this['items'][m(0x88)]()];return this[m(0x68)][m(0x75)]('Checked\x20for\x20item:\x20'+a+m(0x69)+c[m(0x6a)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a48i(0x76)](a){const n=a48i,b=this[n(0x8a)]['get'](a['toLowerCase']())||null;return b?this[n(0x68)][n(0x75)](n(0x6f)+a+'.'):this[n(0x68)][n(0x75)](n(0x67)+a+n(0x83)),b;}[a48i(0x89)](){const o=a48i,a=[...this[o(0x8a)][o(0x88)]()],b=a['map'](c=>capitalCase(c));return this[o(0x68)]['write']('Listed\x20items\x20in\x20inventory:\x20'+b[o(0x6a)](',\x20')+'.'),a;}[a48i(0x8b)](){const p=a48i;let a=0x0;for(const b of this['items'][p(0x71)]()){a+=b['weight'];}return a;}['getAllItems'](){const q=a48i;return[...this[q(0x8a)][q(0x71)]()];}}
1
+ const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x116))/0x1+parseInt(f(0x115))/0x2+-parseInt(f(0x10c))/0x3+-parseInt(f(0x10f))/0x4+parseInt(f(0xf6))/0x5+parseInt(f(0x100))/0x6+parseInt(f(0x108))/0x7*(parseInt(f(0xf5))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xaca97));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0xf3)]()[h(0x109)](h(0x104))[h(0xf3)]()[h(0x113)](a48a)[h(0x109)](h(0x104));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xf2;let f=c[d];return f;},a48d(a,b);}export class Inventory extends AbstractInventory{[a48i(0x102)];[a48i(0x10d)];constructor(){const j=a48i;super(),this['items']=new Map(),this[j(0x10d)]=Logger[j(0xfe)]();}[a48i(0xf8)](a){const k=a48i;this['items'][k(0x10e)](a['name'][k(0xf4)](),a),this[k(0x10d)][k(0xfc)](k(0x112)+a['name']+'\x20to\x20inventory.');}[a48i(0x101)](a){const l=a48i,b=this[l(0xff)](a);if(b)return this[l(0x102)][l(0xf7)](a[l(0xf4)]()),this[l(0x10d)][l(0xfc)](l(0x106)+a+l(0xf9)),b;return this['logger'][l(0xfc)](l(0x103)+a+l(0x111)),null;}['hasItem'](a){const m=a48i,b=this['items']['has'](a['toLowerCase']()),c=[...this[m(0x102)]['keys']()];return this[m(0x10d)][m(0xfc)](m(0x10b)+a+m(0xfb)+c[m(0xfd)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}['getItem'](a){const n=a48i,b=this[n(0x102)][n(0x110)](a['toLowerCase']())||null;return b?this['logger'][n(0xfc)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this['logger'][n(0xfc)](n(0xfa)+a+n(0x111)),b;}[a48i(0x114)](){const o=a48i,a=[...this['items']['keys']()],b=a['map'](c=>capitalCase(c));return this[o(0x10d)]['write']('Listed\x20items\x20in\x20inventory:\x20'+b[o(0xfd)](',\x20')+'.'),a;}['getWeight'](){const p=a48i;let a=0x0;for(const b of this['items'][p(0xf2)]()){a+=b[p(0x10a)];}return a;}[a48i(0x107)](){const q=a48i;return[...this['items'][q(0xf2)]()];}}function a48c(){const r=['.\x20Item\x20not\x20found.','Added\x20item:\x20','constructor','listItems','1715474ddQgGX','529736HjEwUv','values','toString','toLowerCase','392uxBoPM','1119885WRMPIy','delete','addItem','\x20from\x20inventory.','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','\x20in\x20','write','join','getInstance','getItem','5342640mSOaIH','removeItem','items','Failed\x20to\x20remove\x20item:\x20','(((.+)+)+)+$','apply','Removed\x20item:\x20','getAllItems','130921XWplix','search','weight','Checked\x20for\x20item:\x20','1867212mfcZnn','logger','set','4116952ZLvmZU','get'];a48c=function(){return r;};return a48c();}
@@ -1 +1 @@
1
- function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1a6;var f=c[d];return f;},a49d(a,b);}var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1b5))/0x1+-parseInt(f(0x1b0))/0x2+parseInt(f(0x1bb))/0x3*(-parseInt(f(0x1ba))/0x4)+-parseInt(f(0x1a9))/0x5+-parseInt(f(0x1bf))/0x6+parseInt(f(0x1b2))/0x7*(-parseInt(f(0x1a8))/0x8)+parseInt(f(0x1ac))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x1a452));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1b8)]()[h(0x1b3)](h(0x1bd))[h(0x1b8)]()['constructor'](a49a)['search']('(((.+)+)+)+$');});a49a();import{v4 as a49e}from'uuid';function a49c(){var l=['8CfgZiK','201147imbpBp','apply','(((.+)+)+)+$','weight','1027710LFUpZY','texture','use','40bpmNkW','950645DYOKZg','category','description','6128847SEBhAt','size','shape','.\x20Nothing\x20special\x20happens.','425576zxFBvn','color','43435dKHxux','search','uuid','165944BnAVRb','You\x20use\x20the\x20','name','toString','rating'];a49c=function(){return l;};return a49c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x1b4)];[a49i(0x1b7)];[a49i(0x1ab)];['size'];[a49i(0x1aa)];[a49i(0x1ae)];[a49i(0x1b1)];['texture'];[a49i(0x1b9)];['weight'];constructor(a){var j=a49i;super(),this[j(0x1b7)]=a[j(0x1b7)],this[j(0x1ab)]=a['description'],this[j(0x1ad)]=a[j(0x1ad)],this[j(0x1aa)]=a['category'],this['shape']=a['shape'],this[j(0x1b1)]=a[j(0x1b1)],this[j(0x1a6)]=a[j(0x1a6)],this[j(0x1b9)]=a[j(0x1b9)],this[j(0x1be)]=a['weight'],this['uuid']=a49e();}[a49i(0x1a7)](){var k=a49i;return k(0x1b6)+this[k(0x1b7)]+k(0x1af);}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x13f))/0x1+-parseInt(f(0x14f))/0x2*(-parseInt(f(0x14a))/0x3)+-parseInt(f(0x150))/0x4+parseInt(f(0x139))/0x5*(-parseInt(f(0x144))/0x6)+-parseInt(f(0x148))/0x7*(-parseInt(f(0x13d))/0x8)+-parseInt(f(0x14e))/0x9*(parseInt(f(0x145))/0xa)+-parseInt(f(0x134))/0xb*(-parseInt(f(0x13a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xd5d0e));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x142)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x136)]()[h(0x149)]('(((.+)+)+)+$')['toString']()[h(0x143)](a49a)[h(0x149)](h(0x14c));});function a49c(){var l=['(((.+)+)+)+$','weight','14750838AERbDZ','2RHQvDJ','933080kHukfu','41906535YkikFG','description','toString','texture','rating','5Pqmvpg','12EAlKhD','name','uuid','31832AXoaUA','color','827528aOSXSw','category','You\x20use\x20the\x20','apply','constructor','8021238egIKhx','10cxpXdj','.\x20Nothing\x20special\x20happens.','shape','1148ykCWaM','search','1350606xMuFFl','size'];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-0x134;var f=c[d];return f;},a49d(a,b);}export class Item extends AbstractItem{[a49i(0x13c)];[a49i(0x13b)];['description'];['size'];[a49i(0x140)];[a49i(0x147)];[a49i(0x13e)];[a49i(0x137)];[a49i(0x138)];['weight'];constructor(a){var j=a49i;super(),this[j(0x13b)]=a[j(0x13b)],this[j(0x135)]=a[j(0x135)],this[j(0x14b)]=a['size'],this[j(0x140)]=a[j(0x140)],this['shape']=a['shape'],this[j(0x13e)]=a['color'],this[j(0x137)]=a['texture'],this['rating']=a[j(0x138)],this[j(0x14d)]=a['weight'],this[j(0x13c)]=a49e();}['use'](){var k=a49i;return k(0x141)+this[k(0x13b)]+k(0x146);}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0xf2))/0x1*(-parseInt(f(0xee))/0x2)+-parseInt(f(0xfe))/0x3+parseInt(f(0xef))/0x4*(-parseInt(f(0xf8))/0x5)+-parseInt(f(0xf9))/0x6*(-parseInt(f(0xe6))/0x7)+-parseInt(f(0xf6))/0x8+-parseInt(f(0xf7))/0x9+parseInt(f(0x100))/0xa*(parseInt(f(0xe9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xd8066));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0xf4)]()[h(0xed)](h(0xf1))[h(0xf4)]()[h(0xec)](a50a)['search']('(((.+)+)+)+$');});a50a();function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xe6;let f=c[d];return f;},a50d(a,b);}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a50i(0xfa)];[a50i(0xf3)];[a50i(0xff)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0xfb)]=a,this['_dialogue']=b,this[j(0xf3)]=c;}get['name'](){const k=a50i;return this[k(0xfb)];}[a50i(0xe7)](){const l=a50i;return this[l(0xfa)][Math[l(0xea)](Math[l(0xfc)]()*this[l(0xfa)][l(0xe8)])];}[a50i(0xf0)](a){const m=a50i,b=a[Math[m(0xea)](Math[m(0xfc)]()*a['length'])];this[m(0xfd)](b['name']);}['moveTo'](a){const n=a50i,b={'actor':this,'rooms':this['rooms'],'scene':this[n(0xff)]},c=new GoCommand(b);c[n(0xeb)]([a]);}}function a50c(){const o=['rooms','toString','apply','8550040WXjtRW','11255850sRvkaA','8719270pIDDtr','171300vaUgqh','_dialogue','_name','random','moveTo','2275203lPhPmM','scene','10CoRSCc','42TTttdX','speak','length','59021347iiFiTN','floor','execute','constructor','search','58XZzzzE','4TGcoqF','autonomousMove','(((.+)+)+)+$','5849dbCaPu'];a50c=function(){return o;};return a50c();}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x1e0))/0x1*(-parseInt(f(0x1dc))/0x2)+parseInt(f(0x1e1))/0x3+-parseInt(f(0x1e9))/0x4+-parseInt(f(0x1ed))/0x5*(-parseInt(f(0x1e4))/0x6)+parseInt(f(0x1d6))/0x7*(parseInt(f(0x1db))/0x8)+-parseInt(f(0x1d8))/0x9+-parseInt(f(0x1d7))/0xa*(-parseInt(f(0x1dd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x1ac47));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()[h(0x1d9)](h(0x1df))[h(0x1e3)]()[h(0x1d5)](a50a)[h(0x1d9)](h(0x1df));});function a50c(){const o=['519330PZZUrd','23020DKTIjT','786339gpZAWo','search','autonomousMove','8JMgBXi','148VmQGhb','517vyXDsL','rooms','(((.+)+)+)+$','1396EwjTFl','281100DDpLMs','floor','toString','6aIYXjd','apply','scene','_name','name','773436YFfhsv','_dialogue','random','speak','54905VcpswM','constructor'];a50c=function(){return o;};return a50c();}a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a50d(a,b);}export class NPC extends Player{[a50i(0x1e7)];[a50i(0x1ea)];[a50i(0x1de)];['scene'];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x1e7)]=a,this[j(0x1ea)]=b,this['rooms']=c;}get[a50i(0x1e8)](){const k=a50i;return this[k(0x1e7)];}[a50i(0x1ec)](){const l=a50i;return this[l(0x1ea)][Math[l(0x1e2)](Math[l(0x1eb)]()*this['_dialogue']['length'])];}[a50i(0x1da)](a){const m=a50i,b=a[Math[m(0x1e2)](Math[m(0x1eb)]()*a['length'])];this['moveTo'](b[m(0x1e8)]);}['moveTo'](a){const n=a50i,b={'actor':this,'rooms':this[n(0x1de)],'scene':this[n(0x1e6)]},c=new GoCommand(b);c['execute']([a]);}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x161))/0x1+-parseInt(f(0x14c))/0x2*(parseInt(f(0x17c))/0x3)+-parseInt(f(0x189))/0x4+-parseInt(f(0x178))/0x5*(-parseInt(f(0x18d))/0x6)+-parseInt(f(0x143))/0x7*(parseInt(f(0x15c))/0x8)+-parseInt(f(0x175))/0x9+parseInt(f(0x156))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xbd7a8));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x17b)]()[h(0x191)](h(0x163))[h(0x17b)]()[h(0x155)](a51a)['search'](h(0x163));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a51c(){const B=['\x20from\x20player\x27s\x20inventory.','getInstance','bodyarmor','220128eYUcBq','LegArmor','\x20slot.','weapon','Hat','345698cpcXgP','getWeight','(((.+)+)+)+$','hasItem','torso','gloves','category','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','log','enterRoom','body\x20armor','head','leftHand','hear','currentLocation','leaveRoom','weight','helmet','equipment','Weapon','9756819SJTKNo','write','leg\x20armor','30nDLKQc','.\x20You\x20must\x20unequip\x20it\x20first.','Nexus','toString','243anmJXV','boots','logger','_playerName','inventoryItems','Added\x20','values','maxCarryingWeight','includes','determineEquipmentSlot','toLowerCase','arms','\x20is\x20now\x20listening\x20in\x20room\x20','3631152eHOinq','startLocation','addInventory','hat','301524LikuYM','removeInventory','A\x20featureless\x20room','_currentLocation','search','removeItem','canEquip','_maxCarryingWeight','_inventory','You\x20can\x27t\x20equip\x20','\x20in\x20your\x20inventory.','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','currentWeight','unequipBySlot','Shield','playerName','You\x20equipped\x20','arm\x20armor','equip','_equipment','initialEquipment','56IzWVwx','armarmor','ArmArmor','Gloves','rightHand','Max\x20carrying\x20weight\x20must\x20be\x20positive.','speak','error','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','34586xcIyWJ','bind','legs','addItem','apply','Helmet','\x20to\x20player\x27s\x20inventory.','Invalid\x20category\x20or\x20slot:\x20','unequip','constructor','37416220fqXAbF','name','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'];a51c=function(){return B;};return a51c();}import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x13c;let f=c[d];return f;},a51d(a,b);}import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a51i(0x190)];[a51i(0x195)];[a51i(0x141)];[a51i(0x194)]=0x32;[a51i(0x17e)];constructor(a){const j=a51i;super(),this[j(0x17f)]=a[j(0x13d)],this['_currentLocation']=a[j(0x18a)]||new Room({'name':j(0x17a),'description':j(0x18f)}),this[j(0x195)]=new Inventory(),this[j(0x17e)]=Logger[j(0x15a)]();if(a?.[j(0x180)])for(const b of a[j(0x180)]){this[j(0x195)][j(0x14f)](b);}this[j(0x141)]=a?.[j(0x142)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x157)](){return this['_playerName'];}get[a51i(0x16f)](){return this['_currentLocation'];}set[a51i(0x16f)](a){const k=a51i;this['_currentLocation']!==a&&(this[k(0x170)](),this[k(0x16a)](a)),this[k(0x190)]=a;}get['inventory'](){const l=a51i;return this[l(0x195)];}get[a51i(0x173)](){const m=a51i;return this[m(0x141)];}set[a51i(0x173)](a){const n=a51i;this[n(0x141)]=a;}get[a51i(0x183)](){const o=a51i;return this[o(0x194)];}set[a51i(0x183)](a){const p=a51i;a>0x0?this[p(0x194)]=a:console[p(0x14a)](p(0x148));}get[a51i(0x199)](){const q=a51i;let a=this[q(0x195)][q(0x162)]();for(const b in this[q(0x141)]){const c=this[q(0x141)][b];c&&(a+=c[q(0x171)]);}return a;}[a51i(0x18b)](a){const r=a51i;if(this[r(0x199)]+a['weight']>this[r(0x183)]){this[r(0x17e)]['write']('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(r(0x168));}this[r(0x195)]['addItem'](a),this[r(0x17e)][r(0x176)](r(0x181)+a['name']+r(0x152));}[a51i(0x18e)](a){const s=a51i;if(this[s(0x195)][s(0x192)](a['name']))return this[s(0x17e)][s(0x176)]('Removed\x20'+a[s(0x157)]+s(0x159)),!![];return this[s(0x17e)][s(0x176)]('Failed\x20to\x20remove\x20'+a[s(0x157)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a51i(0x140)](a){const t=a51i;if(!this[t(0x195)][t(0x164)](a[t(0x157)]))return'You\x20don\x27t\x20have\x20'+a[t(0x157)]+t(0x197);if(!this[t(0x193)](a))return t(0x196)+a[t(0x157)]+'.';const b=this[t(0x185)](a['category']);if(!b)return a[t(0x157)]+t(0x198);if(this[t(0x173)][b])return t(0x14b)+b+t(0x179);return this[t(0x173)][b]=a,this[t(0x18e)](a),t(0x13e)+a[t(0x157)]+'.';}[a51i(0x154)](a){const u=a51i;let b=a;if(!this[u(0x173)][camelCase(b)]){b=this[u(0x185)](a);if(!b)return u(0x153)+a+'.';}return this[u(0x19a)](b);}['determineEquipmentSlot'](a){const v=a51i;switch(a[v(0x186)]()){case Category[v(0x174)]['toLowerCase']():return v(0x147);case Category[v(0x13c)][v(0x186)]():return v(0x16d);case Category[v(0x146)][v(0x186)]():return v(0x166);case Category[v(0x151)]['toLowerCase']():case Category[v(0x160)][v(0x186)]():return v(0x16c);case Category['Boots'][v(0x186)]():return'feet';case Category[v(0x15d)][v(0x186)]():return v(0x14e);case Category[v(0x145)][v(0x186)]():return v(0x187);case Category['BodyArmor'][v(0x186)]():return v(0x165);case v(0x15f):return v(0x147);case'shield':return v(0x16d);case v(0x166):return v(0x166);case v(0x172):case v(0x18c):return v(0x16c);case v(0x17d):return'feet';case v(0x177):case'legarmor':return v(0x14e);case v(0x13f):case v(0x144):return'arms';case v(0x16b):case v(0x15b):case'torso':return v(0x165);default:return null;}}[a51i(0x193)](a){const w=a51i;return Object[w(0x182)](Category)[w(0x184)](a[w(0x167)]);}[a51i(0x19a)](a){const x=a51i,b=this['equipment'][a];if(!b)return x(0x158)+a+x(0x15e);return this[x(0x18b)](b),this[x(0x173)][a]=null,'You\x20unequipped\x20'+b['name']+'.';}[a51i(0x16e)](a,b){const y=a51i;a!==this&&this['logger'][y(0x169)](a[y(0x157)]+'\x20says:\x20\x22'+b+'\x22');}[a51i(0x16a)](a){const z=a51i;this[z(0x190)]=a,a['on']('speak',this[z(0x16e)][z(0x14d)](this)),this[z(0x17e)][z(0x176)](this[z(0x157)]+z(0x188)+a['name']);}['leaveRoom'](){const A=a51i;this['_currentLocation']&&(this[A(0x190)]['off'](A(0x149),this[A(0x16e)][A(0x14d)](this)),this['logger']['write'](this[A(0x157)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[A(0x190)][A(0x157)]));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x1b4))/0x1+-parseInt(f(0x1e9))/0x2+-parseInt(f(0x19a))/0x3+parseInt(f(0x1c3))/0x4+-parseInt(f(0x1be))/0x5+-parseInt(f(0x195))/0x6+parseInt(f(0x1a8))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x492da));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x1aa)]()[h(0x1d8)](h(0x1b2))[h(0x1aa)]()[h(0x1ad)](a51a)[h(0x1d8)]('(((.+)+)+)+$');});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x18d;let f=c[d];return f;},a51d(a,b);}function a51c(){const D=['equip','Added\x20','determineEquipmentSlot','1458480WsPUMu','arm\x20armor','Weapon','log','_currentLocation','Gloves','leftHand','_equipment','getInstance','A\x20featureless\x20room','includes','\x20slot.','leg\x20armor','values','playerName','hat','_playerName','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','off','inventoryItems','weapon','search','enterRoom','speak','Removed\x20','Failed\x20to\x20remove\x20','weight','\x20is\x20now\x20listening\x20in\x20room\x20','feet','legs','logger','_inventory','removeItem','\x20from\x20player\x27s\x20inventory.','hear','_maxCarryingWeight','You\x20equipped\x20','category','915258HixDLd','canEquip','bind','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','addItem','apply','arms','body\x20armor','maxCarryingWeight','.\x20You\x20must\x20unequip\x20it\x20first.','433086WKzlsE','Boots','\x20to\x20player\x27s\x20inventory.','error','shield','116781XasJHU','name','currentWeight','removeInventory','legarmor','toLowerCase','torso','ArmArmor','write','addInventory','You\x20can\x27t\x20equip\x20','LegArmor','Nexus','bodyarmor','9966096lvdRlf','\x20in\x20your\x20inventory.','toString','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','constructor','\x20says:\x20\x22','getWeight','boots','Helmet','(((.+)+)+)+$','gloves','507099LDNqio','hasItem','leaveRoom','equipment','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','rightHand','You\x20don\x27t\x20have\x20','currentLocation','unequipBySlot','armarmor','2063870jeSiKC','BodyArmor'];a51c=function(){return D;};return a51c();}import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];['_currentLocation'];[a51i(0x1e2)];[a51i(0x1ca)];[a51i(0x1e6)]=0x32;['logger'];constructor(a){const j=a51i;super(),this[j(0x1d3)]=a[j(0x1d1)],this[j(0x1c7)]=a['startLocation']||new Room({'name':j(0x1a6),'description':j(0x1cc)}),this[j(0x1e2)]=new Inventory(),this[j(0x1e1)]=Logger[j(0x1cb)]();if(a?.[j(0x1d6)])for(const b of a[j(0x1d6)]){this[j(0x1e2)][j(0x18f)](b);}this['_equipment']=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x19b)](){const k=a51i;return this[k(0x1d3)];}get['currentLocation'](){const l=a51i;return this[l(0x1c7)];}set[a51i(0x1bb)](a){const m=a51i;this[m(0x1c7)]!==a&&(this[m(0x1b6)](),this[m(0x1d9)](a)),this[m(0x1c7)]=a;}get['inventory'](){const n=a51i;return this[n(0x1e2)];}get[a51i(0x1b7)](){const o=a51i;return this[o(0x1ca)];}set['equipment'](a){const p=a51i;this[p(0x1ca)]=a;}get[a51i(0x193)](){const q=a51i;return this[q(0x1e6)];}set[a51i(0x193)](a){const r=a51i;a>0x0?this[r(0x1e6)]=a:console[r(0x198)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const s=a51i;let a=this[s(0x1e2)][s(0x1af)]();for(const b in this['_equipment']){const c=this['_equipment'][b];c&&(a+=c['weight']);}return a;}['addInventory'](a){const t=a51i;if(this[t(0x19c)]+a[t(0x1dd)]>this['maxCarryingWeight']){this[t(0x1e1)]['write'](t(0x18e));throw new Error(t(0x1ac));}this['_inventory'][t(0x18f)](a),this[t(0x1e1)][t(0x1a2)](t(0x1c1)+a['name']+t(0x197));}[a51i(0x19d)](a){const u=a51i;if(this[u(0x1e2)][u(0x1e3)](a['name']))return this['logger'][u(0x1a2)](u(0x1db)+a['name']+u(0x1e4)),!![];return this[u(0x1e1)][u(0x1a2)](u(0x1dc)+a[u(0x19b)]+u(0x1e4)),![];}[a51i(0x1c0)](a){const v=a51i;if(!this[v(0x1e2)][v(0x1b5)](a[v(0x19b)]))return v(0x1ba)+a['name']+v(0x1a9);if(!this[v(0x1ea)](a))return v(0x1a4)+a[v(0x19b)]+'.';const b=this['determineEquipmentSlot'](a['category']);if(!b)return a[v(0x19b)]+v(0x1d4);if(this[v(0x1b7)][b])return v(0x1b8)+b+v(0x194);return this[v(0x1b7)][b]=a,this[v(0x19d)](a),v(0x1e7)+a[v(0x19b)]+'.';}['unequip'](a){const w=a51i;let b=a;if(!this[w(0x1b7)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[w(0x1bc)](b);}[a51i(0x1c2)](a){const x=a51i;switch(a[x(0x19f)]()){case Category[x(0x1c5)][x(0x19f)]():return x(0x1b9);case Category['Shield']['toLowerCase']():return x(0x1c9);case Category[x(0x1c8)][x(0x19f)]():return x(0x1b3);case Category[x(0x1b1)][x(0x19f)]():case Category['Hat'][x(0x19f)]():return'head';case Category[x(0x196)]['toLowerCase']():return x(0x1df);case Category[x(0x1a5)]['toLowerCase']():return x(0x1e0);case Category[x(0x1a1)][x(0x19f)]():return x(0x191);case Category[x(0x1bf)][x(0x19f)]():return x(0x1a0);case x(0x1d7):return x(0x1b9);case x(0x199):return x(0x1c9);case x(0x1b3):return x(0x1b3);case'helmet':case x(0x1d2):return'head';case x(0x1b0):return x(0x1df);case x(0x1cf):case x(0x19e):return x(0x1e0);case x(0x1c4):case x(0x1bd):return'arms';case x(0x192):case x(0x1a7):case x(0x1a0):return x(0x1a0);default:return null;}}[a51i(0x1ea)](a){const y=a51i;return Object[y(0x1d0)](Category)[y(0x1cd)](a[y(0x1e8)]);}['unequipBySlot'](a){const z=a51i,b=this[z(0x1b7)][a];if(!b)return z(0x1ab)+a+z(0x1ce);return this[z(0x1a3)](b),this[z(0x1b7)][a]=null,'You\x20unequipped\x20'+b[z(0x19b)]+'.';}[a51i(0x1e5)](a,b){const A=a51i;a!==this&&this[A(0x1e1)][A(0x1c6)](a['name']+A(0x1ae)+b+'\x22');}[a51i(0x1d9)](a){const B=a51i;this[B(0x1c7)]=a,a['on']('speak',this[B(0x1e5)][B(0x18d)](this)),this[B(0x1e1)]['write'](this[B(0x19b)]+B(0x1de)+a[B(0x19b)]);}[a51i(0x1b6)](){const C=a51i;this[C(0x1c7)]&&(this[C(0x1c7)][C(0x1d5)](C(0x1da),this[C(0x1e5)][C(0x18d)](this)),this['logger'][C(0x1a2)](this[C(0x19b)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[C(0x1c7)][C(0x19b)]));}}
@@ -1 +1 @@
1
- function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x17c;var f=c[d];return f;},a52d(a,b);}var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x192))/0x1*(-parseInt(f(0x18f))/0x2)+-parseInt(f(0x181))/0x3*(-parseInt(f(0x195))/0x4)+-parseInt(f(0x198))/0x5+-parseInt(f(0x180))/0x6*(parseInt(f(0x17c))/0x7)+parseInt(f(0x182))/0x8*(parseInt(f(0x196))/0x9)+-parseInt(f(0x18d))/0xa+-parseInt(f(0x190))/0xb*(-parseInt(f(0x191))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x6e982));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(0x186)]()['search']('(((.+)+)+)+$')[g(0x186)]()[g(0x189)](a52a)['search'](g(0x188));});a52a();function a52c(){var m=['write','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','You\x20have\x20already\x20solved\x20this\x20puzzle.','5232801oaPsGW','matchesRequiredPhrase','solve','logger','6oVSner','105483nyzyui','8fMUrcj','requiredItem','Puzzle:\x20Correct\x20solution\x20provided.','solved','toString','riddle','(((.+)+)+)+$','constructor','You\x20solved\x20the\x20puzzle!','failureMessage','rewardItem','1655400xyAzeE','successMessage','814RXJmBw','4466pPEnwP','14112Kosivx','983HkCKpf','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','requiredPhrase','52LtpCGO','7632270MMfCZF','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','4082915ejnjZi'];a52c=function(){return m;};return a52c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52h(0x17f)]=Logger['getInstance']();[a52h(0x185)]=![];[a52h(0x183)];[a52h(0x194)];['riddle'];[a52h(0x18c)];['successMessage'];['failureMessage'];constructor(a){var i=a52h;super(),this[i(0x183)]=a[i(0x183)],this['requiredPhrase']=a['requiredPhrase'],this[i(0x187)]=a[i(0x187)],this['rewardItem']=a[i(0x18c)],this['successMessage']=a[i(0x18e)]||i(0x18a),this[i(0x18b)]=a[i(0x18b)]||i(0x197);}['hasRequiredItem'](a){var j=a52h;if(this['requiredItem'])return a['hasItem'](this[j(0x183)]);return![];}[a52h(0x17d)](a){var k=a52h;return this[k(0x194)]===a;}[a52h(0x17e)](a,b){var l=a52h;if(this[l(0x185)])return this['logger'][l(0x199)](l(0x19a)),{'success':![],'message':l(0x19b)};return this['hasRequiredItem'](b)||this[l(0x17d)](a)?(this[l(0x185)]=!![],this[l(0x17f)][l(0x199)](l(0x184)),{'success':!![],'message':this[l(0x18e)]}):(this['logger'][l(0x199)](l(0x193)),{'success':![],'message':this['failureMessage']});}}
1
+ var a52i=a52d;function a52c(){var n=['getInstance','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','(((.+)+)+)+$','successMessage','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','170lbvYSw','search','hasRequiredItem','solve','rewardItem','153996SOfrqz','riddle','hasItem','1145570IcrBJH','matchesRequiredPhrase','apply','9PUudOv','1487024VHBgBx','316456KzQfWN','You\x20solved\x20the\x20puzzle!','solved','5QwTrcz','2049558echltP','2119976OeAHvw','4646CMJeGC','write','You\x20have\x20already\x20solved\x20this\x20puzzle.','requiredItem','toString','logger','requiredPhrase','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','failureMessage','Puzzle:\x20Correct\x20solution\x20provided.'];a52c=function(){return n;};return a52c();}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x159;var f=c[d];return f;},a52d(a,b);}(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x159))/0x1*(-parseInt(f(0x168))/0x2)+parseInt(f(0x16d))/0x3+parseInt(f(0x17a))/0x4*(parseInt(f(0x178))/0x5)+-parseInt(f(0x179))/0x6+-parseInt(f(0x174))/0x7+-parseInt(f(0x175))/0x8*(parseInt(f(0x173))/0x9)+-parseInt(f(0x170))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x41741));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x15d)]()[h(0x169)]('(((.+)+)+)+$')[h(0x15d)]()['constructor'](a52a)[h(0x169)](h(0x165));});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x15e)]=Logger[a52i(0x163)]();[a52i(0x177)]=![];[a52i(0x15c)];[a52i(0x15f)];[a52i(0x16e)];[a52i(0x16c)];[a52i(0x166)];[a52i(0x161)];constructor(a){var j=a52i;super(),this[j(0x15c)]=a['requiredItem'],this[j(0x15f)]=a[j(0x15f)],this[j(0x16e)]=a[j(0x16e)],this[j(0x16c)]=a[j(0x16c)],this[j(0x166)]=a[j(0x166)]||j(0x176),this['failureMessage']=a[j(0x161)]||j(0x160);}[a52i(0x16a)](a){var k=a52i;if(this['requiredItem'])return a[k(0x16f)](this[k(0x15c)]);return![];}[a52i(0x171)](a){var l=a52i;return this[l(0x15f)]===a;}[a52i(0x16b)](a,b){var m=a52i;if(this['solved'])return this['logger'][m(0x15a)](m(0x164)),{'success':![],'message':m(0x15b)};return this[m(0x16a)](b)||this['matchesRequiredPhrase'](a)?(this[m(0x177)]=!![],this[m(0x15e)]['write'](m(0x162)),{'success':!![],'message':this[m(0x166)]}):(this[m(0x15e)][m(0x15a)](m(0x167)),{'success':![],'message':this[m(0x161)]});}}
@@ -1 +1 @@
1
- const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0xf8))/0x1*(-parseInt(f(0xfe))/0x2)+parseInt(f(0xc2))/0x3+-parseInt(f(0xd1))/0x4+parseInt(f(0xd6))/0x5*(-parseInt(f(0xf3))/0x6)+-parseInt(f(0xe9))/0x7+parseInt(f(0xc5))/0x8+-parseInt(f(0xcf))/0x9*(-parseInt(f(0xcb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x57805));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(0xf0)]()['search']('(((.+)+)+)+$')[g(0xf0)]()[g(0xca)](a53a)[g(0x102)](g(0xde));});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xc1;let f=c[d];return f;},a53d(a,b);}import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';function a53c(){const t=['puzzle','attemptUnlockExit','DOWN','constructor','44570VVBIvn','logger','findExistingDoor','north','1692TFVWBt','exits','1854968UeTduO','No\x20locked\x20exit\x20found\x20in\x20direction\x20','east','inventory','NORTH','5TvGawO','write','emit','roomType','Fetching\x20exit\x20in\x20direction:\x20','down','hasItem','roomA','(((.+)+)+)+$','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','south','riddle','SOUTH','speak','Invalid\x20direction:\x20','Item\x20removed\x20from\x20room\x20','get','.\x20Success:\x20','values','2859612QmkrMu','\x20is\x20locked.\x20Result:\x20','attemptUnlock','\x20remains\x20locked.','Item\x20added\x20to\x20room\x20','description','name','toString','set','say','332952BCnwzo','Room\x20created:\x20','addItem','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','roomB','388aoXWkE','\x20unlocked!','getInstance','getOppositeDirection','addExit','removeItem','1962cLaxwo','setPuzzle','EAST','isStartRoom','search','WEST','INSIDE','782829VnRHdt','Checking\x20if\x20exit\x20in\x20direction\x20','isExitLocked','4543392SEUrrb','The\x20'];a53c=function(){return t;};return a53c();}export class Room extends AbstractRoom{[a53h(0xcc)]=Logger[a53h(0xfa)]();[a53h(0xef)];[a53h(0xee)];[a53h(0xd0)]=new Map();[a53h(0xd9)];['isStartRoom'];[a53h(0xd4)]=new Inventory();constructor(a){const i=a53h;super(),this[i(0xef)]=a[i(0xef)],this[i(0xee)]=a[i(0xee)],this[i(0xd9)]=a[i(0xd9)]||RoomType[i(0xc1)],a['exits']&&(this['exits']=a['exits']||new Map()),a[i(0xd4)]&&(this[i(0xd4)]=a[i(0xd4)]),a[i(0xc7)]&&(this[i(0xc7)]=a['puzzle']),this[i(0x101)]=a[i(0x101)]||![],this[i(0xcc)][i(0xd7)](i(0xf4)+this[i(0xef)]);}[a53h(0xf2)](a,b){const j=a53h;this[j(0xd8)](j(0xe3),a,b);}[a53h(0xfc)](a,b,c){const k=a53h;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][k(0xf1)](a,d),b[k(0xd0)][k(0xf1)](this[k(0xfb)](a),d);}[a53h(0xc8)](a,b){const l=a53h,c=this[l(0xd0)]['get'](a);if(c instanceof Door){const d=c[l(0xeb)](b);return this[l(0xcc)][l(0xd7)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+l(0xe7)+d),d?l(0xc6)+c['name']+l(0xf9):l(0xc6)+c['name']+l(0xec);}return this[l(0xcc)]['write'](l(0xd2)+a),l(0xdf);}['getExit'](a){const m=a53h;return this[m(0xcc)]['write'](m(0xda)+a),this[m(0xd0)][m(0xe6)](a);}[a53h(0xc4)](a){const n=a53h,b=this[n(0xd0)]['get'](a),c=b instanceof Door&&b['checkIfLocked']();return this[n(0xcc)][n(0xd7)](n(0xc3)+a+n(0xea)+c),c;}[a53h(0xf5)](a){const o=a53h;this[o(0xd4)][o(0xf5)](a),this['logger'][o(0xd7)](o(0xed)+this[o(0xef)]+':\x20'+a[o(0xef)]);}[a53h(0xfd)](a){const p=a53h;this[p(0xd4)][p(0xdc)](a['name'])?(this[p(0xd4)][p(0xfd)](a[p(0xef)]),this[p(0xcc)][p(0xd7)](p(0xe5)+this['name']+':\x20'+a[p(0xef)])):this[p(0xcc)]['write'](p(0xf6)+this[p(0xef)]+':\x20'+a[p(0xef)]);}[a53h(0xff)](a){const q=a53h;this[q(0xc7)]=a,this[q(0xcc)][q(0xd7)]('Puzzle\x20set\x20for\x20room\x20'+this[q(0xef)]+':\x20'+a[q(0xe1)]);}[a53h(0xfb)](a){const r=a53h;switch(a){case r(0xce):return Direction[r(0xe2)];case r(0xe0):return Direction[r(0xd5)];case r(0xd3):return Direction[r(0x103)];case'west':return Direction[r(0x100)];case'up':return Direction[r(0xc9)];case r(0xdb):return Direction['UP'];default:throw new Error(r(0xe4)+a);}}[a53h(0xcd)](a){const s=a53h;for(const b of this[s(0xd0)][s(0xe8)]()){if(b instanceof Door){if(b[s(0xdd)]===this&&b[s(0xf7)]===a||b['roomB']===this&&b[s(0xdd)]===a)return b;}}return undefined;}}
1
+ const a53h=a53d;function a53c(){const t=['27936150iKTTXm','search','setPuzzle','isExitLocked','roomB','riddle','exits','5659326elflLu','\x20remains\x20locked.','4209396wtFUXZ','roomA','4fwPxBB','WEST','Item\x20added\x20to\x20room\x20','get','roomType','set','south','Room\x20created:\x20','toString','14ZGuQPj','3208056MLhHRO','inventory','attemptUnlock','write','checkIfLocked','getInstance','\x20is\x20locked.\x20Result:\x20','SOUTH','DOWN','469904fPnQvL','findExistingDoor','addExit','isStartRoom','getExit','NORTH','name','Item\x20removed\x20from\x20room\x20','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','getOppositeDirection','puzzle','say','description','Fetching\x20exit\x20in\x20direction:\x20','east','Invalid\x20direction:\x20','constructor','3289235kPTNET','removeItem','The\x20','hasItem','logger','emit','addItem','4130248QrVvkW','.\x20Success:\x20','down','speak','north','EAST','6jzPQRK','(((.+)+)+)+$'];a53c=function(){return t;};return a53c();}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xfc))/0x1*(parseInt(f(0xe9))/0x2)+parseInt(f(0xe7))/0x3+parseInt(f(0xf3))/0x4+parseInt(f(0x10d))/0x5*(parseInt(f(0xdc))/0x6)+-parseInt(f(0xf2))/0x7*(-parseInt(f(0xd6))/0x8)+parseInt(f(0xe5))/0x9+-parseInt(f(0xde))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xc11a2));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(0xf1)]()['search'](g(0xdd))['toString']()[g(0x10c)](a53a)[g(0xdf)]('(((.+)+)+)+$');});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';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xd6;let f=c[d];return f;},a53d(a,b);}export class Room extends AbstractRoom{[a53h(0x111)]=Logger[a53h(0xf8)]();[a53h(0x102)];['description'];[a53h(0xe4)]=new Map();[a53h(0xed)];['isStartRoom'];[a53h(0xf4)]=new Inventory();constructor(a){const i=a53h;super(),this[i(0x102)]=a[i(0x102)],this[i(0x108)]=a[i(0x108)],this[i(0xed)]=a[i(0xed)]||RoomType['INSIDE'],a[i(0xe4)]&&(this['exits']=a['exits']||new Map()),a[i(0xf4)]&&(this[i(0xf4)]=a[i(0xf4)]),a[i(0x106)]&&(this[i(0x106)]=a['puzzle']),this[i(0xff)]=a[i(0xff)]||![],this[i(0x111)][i(0xf6)](i(0xf0)+this[i(0x102)]);}[a53h(0x107)](a,b){const j=a53h;this[j(0x112)](j(0xd9),a,b);}[a53h(0xfe)](a,b,c){const k=a53h;let d=this[k(0xfd)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0xe4)][k(0xee)](a,d),b['exits'][k(0xee)](this[k(0x105)](a),d);}['attemptUnlockExit'](a,b){const l=a53h,c=this[l(0xe4)][l(0xec)](a);if(c instanceof Door){const d=c[l(0xf5)](b);return this[l(0x111)][l(0xf6)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+l(0xd7)+d),d?l(0x10f)+c[l(0x102)]+'\x20unlocked!':l(0x10f)+c[l(0x102)]+l(0xe6);}return this['logger']['write']('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),l(0x104);}[a53h(0x100)](a){const m=a53h;return this[m(0x111)][m(0xf6)](m(0x109)+a),this[m(0xe4)]['get'](a);}[a53h(0xe1)](a){const n=a53h,b=this['exits'][n(0xec)](a),c=b instanceof Door&&b[n(0xf7)]();return this[n(0x111)][n(0xf6)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+n(0xf9)+c),c;}[a53h(0x113)](a){const o=a53h;this[o(0xf4)][o(0x113)](a),this['logger'][o(0xf6)](o(0xeb)+this[o(0x102)]+':\x20'+a[o(0x102)]);}[a53h(0x10e)](a){const p=a53h;this[p(0xf4)][p(0x110)](a[p(0x102)])?(this[p(0xf4)]['removeItem'](a['name']),this[p(0x111)]['write'](p(0x103)+this[p(0x102)]+':\x20'+a[p(0x102)])):this[p(0x111)][p(0xf6)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this['name']+':\x20'+a['name']);}[a53h(0xe0)](a){const q=a53h;this[q(0x106)]=a,this[q(0x111)][q(0xf6)]('Puzzle\x20set\x20for\x20room\x20'+this['name']+':\x20'+a[q(0xe3)]);}[a53h(0x105)](a){const r=a53h;switch(a){case r(0xda):return Direction[r(0xfa)];case r(0xef):return Direction[r(0x101)];case r(0x10a):return Direction[r(0xea)];case'west':return Direction[r(0xdb)];case'up':return Direction[r(0xfb)];case r(0xd8):return Direction['UP'];default:throw new Error(r(0x10b)+a);}}[a53h(0xfd)](a){const s=a53h;for(const b of this[s(0xe4)]['values']()){if(b instanceof Door){if(b['roomA']===this&&b[s(0xe2)]===a||b[s(0xe2)]===this&&b[s(0xe8)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a54l=a54d;function a54c(){const C=['targetRoom','4933576corXIm','characterLocations','toString','keys','rooms','addActor','Added\x20puzzle\x20to\x20room\x20','toUpperCase','Added\x20item\x20','getCharacterLocation','connectRooms','Failed\x20to\x20add\x20puzzle.\x20Room\x20','length','values','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','get','181988fpIBjV','Removed\x20room\x20from\x20scene:\x20','.\x20Room\x20','roomConfiguration','8leNrAR','2314910RLUhrH','Scene\x20initialized\x20with\x20rooms:\x20','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','removeActor','createExitsFromConfig','name','delete','\x20to\x20room\x20','exits','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','getActor','\x20is\x20now\x20in\x20room\x20','set','Room\x20\x22','Failed\x20to\x20add\x20item\x20','addExit','1516295tPENbf','keyRequired','addPuzzleToRoom','Failed\x20to\x20set\x20','addItem','logger','generateRoomsFromConfig','apply','push','addRoom','determineStartRoom','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','Added\x20room\x20to\x20scene:\x20','getPlayer','warn','write','player','8086272FdNhQa','\x22\x20does\x20not\x20exist.','actors','\x20not\x20found\x20in\x20scene.','search','\x20already\x20exists\x20in\x20the\x20scene.','12PZzUnb','Actor\x20with\x20name\x20','getRooms','1175271KZlaRj','roomFactory','hasOwnProperty','setCharacterLocation','14SDxRqS','constructor','join','currentLocation','9657351WvPkyR','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','getInstance'];a54c=function(){return C;};return a54c();}function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a54d(a,b);}(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x1ed))/0x1+parseInt(i(0x209))/0x2*(parseInt(i(0x1ea))/0x3)+parseInt(i(0x20d))/0x4*(parseInt(i(0x21e))/0x5)+-parseInt(i(0x1e4))/0x6+parseInt(i(0x1f1))/0x7*(-parseInt(i(0x1f9))/0x8)+parseInt(i(0x1f5))/0x9+parseInt(i(0x20e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xd4345));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x1fb)]()['search']('(((.+)+)+)+$')[k(0x1fb)]()[k(0x1f2)](a54a)[k(0x1e8)]('(((.+)+)+)+$');});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(0x1fd)];[a54l(0x1e3)];[a54l(0x1d8)];[a54l(0x1e6)];['characterLocations']=new Map();[a54l(0x1ee)];constructor(a){const m=a54l;super(),this[m(0x1ee)]=new RoomFactory(),this[m(0x1e3)]=a['player'],this[m(0x1fd)]=this['generateRoomsFromConfig'](a[m(0x20c)]),this['logger']=Logger[m(0x1f7)](),this[m(0x1e6)]=new Map(),this[m(0x212)](a[m(0x20c)]),this[m(0x1d8)]['write'](m(0x20f)+Object[m(0x1fc)](this[m(0x1fd)])[m(0x1f3)](',\x20'));}['initialize'](){const n=a54l;this[n(0x1e3)][n(0x1f4)]=this[n(0x1dd)]();}[a54l(0x1d9)](a){const o=a54l;if(!this['roomFactory'])throw new Error(o(0x207));const b={};for(const c of a){const d=this[o(0x1ee)]['createRoom'](c);b[c['name']]=d;}return b;}[a54l(0x212)](a){const p=a54l;for(const b of a){const c=this[p(0x1fd)][b[p(0x213)]];if(b[p(0x216)])for(const d of b[p(0x216)]){const e=d['direction'][p(0x200)](),f=d[p(0x1f8)],g=d[p(0x1d4)],h=this['rooms'][f];h&&c[p(0x21d)](Direction[e],h,g);}}}[a54l(0x1fe)](a){const q=a54l;if(this[q(0x1e6)]['has'](a[q(0x213)]))throw new Error(q(0x1eb)+a[q(0x213)]+q(0x1e9));this[q(0x1e6)][q(0x21a)](a[q(0x213)],a);}[a54l(0x211)](a){const r=a54l;if(!this[r(0x1e6)]['has'](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+'\x20found\x20in\x20the\x20scene.');this[r(0x1e6)][r(0x214)](a);}[a54l(0x218)](a){return this['actors']['get'](a);}get['allActors'](){const s=a54l;return Array['from'](this[s(0x1e6)][s(0x206)]());}[a54l(0x1dc)](a){const t=a54l;this[t(0x1fd)][a['name']]=a,this[t(0x1d8)][t(0x1e2)](t(0x1df)+a[t(0x213)]);}['removeRoom'](a){const u=a54l;return this['rooms'][a]?(delete this[u(0x1fd)][a],this[u(0x1d8)][u(0x1e2)](u(0x20a)+a),!![]):(this[u(0x1d8)]['write'](u(0x217)+a),![]);}['addItemToRoom'](a,b){const v=a54l,c=this[v(0x1fd)][b];c?(c[v(0x1d7)](a),this['logger'][v(0x1e2)](v(0x201)+a[v(0x213)]+v(0x215)+c['name'])):this['logger']['write'](v(0x21c)+a['name']+v(0x20b)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x1d5)](a,b){const w=a54l,c=this[w(0x1fd)][b];c?(c['setPuzzle'](a),this[w(0x1d8)][w(0x1e2)](w(0x1ff)+c[w(0x213)])):this[w(0x1d8)]['write'](w(0x204)+b+w(0x1e7));}[a54l(0x1f0)](a,b){const x=a54l,c=this[x(0x1fd)][b];c?(this[x(0x1fa)]['set'](a[x(0x213)],c),this[x(0x1d8)]['write'](a[x(0x213)]+x(0x219)+c[x(0x213)])):this['logger'][x(0x1e2)](x(0x1d6)+a[x(0x213)]+'\x27s\x20location.\x20Room\x20'+b+x(0x1e7));}[a54l(0x202)](a){const y=a54l;return this[y(0x1fa)][y(0x208)](a[y(0x213)]);}[a54l(0x1dd)](){const z=a54l,a=[];for(const c in this['rooms']){if(this[z(0x1fd)][z(0x1ef)](c)){const d=this[z(0x1fd)][c];d['isStartRoom']&&a[z(0x1db)](d);}}if(a[z(0x205)]>0x1)throw new Error(z(0x210));if(a[z(0x205)]===0x1)return a[0x0];const b=Object['keys'](this[z(0x1fd)]);if(b[z(0x205)]===0x0)throw new Error(z(0x1f6));return console[z(0x1e1)](z(0x1de)),this['rooms'][b[0x0]];}[a54l(0x1e0)](){return this['player'];}[a54l(0x1ec)](){const A=a54l;return this[A(0x1fd)];}[a54l(0x203)](a,b,c,d){const B=a54l,e=this[B(0x1fd)][a],f=this[B(0x1fd)][c];if(!e)throw new Error(B(0x21b)+a+B(0x1e5));if(!f)throw new Error(B(0x21b)+c+'\x22\x20does\x20not\x20exist.');e[B(0x21d)](b,f,d);}}
1
+ const a54k=a54d;function a54c(){const B=['No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','8785uEecrm','delete','name','addPuzzleToRoom','167874voxQfa','removeActor','roomConfiguration','push','Added\x20item\x20','search','actors','toString','addRoom','\x20is\x20now\x20in\x20room\x20','rooms','getInstance','No\x20actor\x20with\x20name\x20','setCharacterLocation','1712216aqUrMI','\x20found\x20in\x20the\x20scene.','player','\x20already\x20exists\x20in\x20the\x20scene.','exits','addActor','2lnAjds','Failed\x20to\x20set\x20','constructor','311229bcDFCl','has','join','463498KyrMuf','addExit','Added\x20puzzle\x20to\x20room\x20','initialize','from','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','getCharacterLocation','231kMMQOM','hasOwnProperty','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','targetRoom','Room\x20\x22','isStartRoom','roomFactory','getPlayer','2811009rSsqhB','direction','addItem','length','currentLocation','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','(((.+)+)+)+$','Removed\x20room\x20from\x20scene:\x20','\x20not\x20found\x20in\x20scene.','allActors','8378528FWLLXO','set','generateRoomsFromConfig','createExitsFromConfig','\x22\x20does\x20not\x20exist.','getActor','logger','70JKphRY','Failed\x20to\x20add\x20puzzle.\x20Room\x20','write','Failed\x20to\x20add\x20item\x20','Added\x20room\x20to\x20scene:\x20','Actor\x20with\x20name\x20','keys','determineStartRoom','3488gUTfKp','get','\x27s\x20location.\x20Room\x20','characterLocations','getRooms'];a54c=function(){return B;};return a54c();}(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0xa9))/0x1*(-parseInt(i(0xaf))/0x2)+parseInt(i(0xbe))/0x3+-parseInt(i(0xd7))/0x4*(parseInt(i(0xdd))/0x5)+-parseInt(i(0xe1))/0x6*(-parseInt(i(0xb6))/0x7)+parseInt(i(0xc8))/0x8+-parseInt(i(0xac))/0x9*(-parseInt(i(0xcf))/0xa)+-parseInt(i(0xa3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xf3c23));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const j=a54d;return a54a[j(0x9c)]()[j(0x9a)](j(0xc4))[j(0x9c)]()[j(0xab)](a54a)[j(0x9a)](j(0xc4));});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-0x99;let f=c[d];return f;},a54d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54k(0x9f)];[a54k(0xa5)];[a54k(0xce)];[a54k(0x9b)];['characterLocations']=new Map();['roomFactory'];constructor(a){const l=a54k;super(),this[l(0xbc)]=new RoomFactory(),this[l(0xa5)]=a[l(0xa5)],this[l(0x9f)]=this[l(0xca)](a[l(0xe3)]),this['logger']=Logger[l(0xa0)](),this[l(0x9b)]=new Map(),this[l(0xcb)](a[l(0xe3)]),this[l(0xce)][l(0xd1)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[l(0xd5)](this[l(0x9f)])[l(0xae)](',\x20'));}[a54k(0xb2)](){const m=a54k;this['player'][m(0xc2)]=this[m(0xd6)]();}[a54k(0xca)](a){const n=a54k;if(!this[n(0xbc)])throw new Error(n(0xb4));const b={};for(const c of a){const d=this[n(0xbc)]['createRoom'](c);b[c['name']]=d;}return b;}[a54k(0xcb)](a){const o=a54k;for(const b of a){const c=this[o(0x9f)][b['name']];if(b[o(0xa7)])for(const d of b[o(0xa7)]){const e=d[o(0xbf)]['toUpperCase'](),f=d[o(0xb9)],g=d['keyRequired'],h=this[o(0x9f)][f];h&&c[o(0xb0)](Direction[e],h,g);}}}[a54k(0xa8)](a){const p=a54k;if(this[p(0x9b)]['has'](a[p(0xdf)]))throw new Error(p(0xd4)+a['name']+p(0xa6));this[p(0x9b)][p(0xc9)](a[p(0xdf)],a);}[a54k(0xe2)](a){const q=a54k;if(!this[q(0x9b)][q(0xad)](a))throw new Error(q(0xa1)+a+q(0xa4));this[q(0x9b)][q(0xde)](a);}[a54k(0xcd)](a){return this['actors']['get'](a);}get[a54k(0xc7)](){const r=a54k;return Array[r(0xb3)](this[r(0x9b)]['values']());}[a54k(0x9d)](a){const s=a54k;this[s(0x9f)][a[s(0xdf)]]=a,this[s(0xce)][s(0xd1)](s(0xd3)+a[s(0xdf)]);}['removeRoom'](a){const t=a54k;return this[t(0x9f)][a]?(delete this[t(0x9f)][a],this[t(0xce)][t(0xd1)](t(0xc5)+a),!![]):(this[t(0xce)]['write']('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}['addItemToRoom'](a,b){const u=a54k,c=this['rooms'][b];c?(c[u(0xc0)](a),this[u(0xce)][u(0xd1)](u(0x99)+a[u(0xdf)]+'\x20to\x20room\x20'+c[u(0xdf)])):this['logger'][u(0xd1)](u(0xd2)+a[u(0xdf)]+'.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a54k(0xe0)](a,b){const v=a54k,c=this[v(0x9f)][b];c?(c['setPuzzle'](a),this['logger']['write'](v(0xb1)+c[v(0xdf)])):this[v(0xce)][v(0xd1)](v(0xd0)+b+'\x20not\x20found\x20in\x20scene.');}[a54k(0xa2)](a,b){const w=a54k,c=this[w(0x9f)][b];c?(this[w(0xda)][w(0xc9)](a[w(0xdf)],c),this[w(0xce)][w(0xd1)](a[w(0xdf)]+w(0x9e)+c[w(0xdf)])):this['logger'][w(0xd1)](w(0xaa)+a[w(0xdf)]+w(0xd9)+b+w(0xc6));}[a54k(0xb5)](a){const x=a54k;return this['characterLocations'][x(0xd8)](a[x(0xdf)]);}[a54k(0xd6)](){const y=a54k,a=[];for(const c in this[y(0x9f)]){if(this[y(0x9f)][y(0xb7)](c)){const d=this[y(0x9f)][c];d[y(0xbb)]&&a[y(0xe4)](d);}}if(a[y(0xc1)]>0x1)throw new Error(y(0xc3));if(a[y(0xc1)]===0x1)return a[0x0];const b=Object[y(0xd5)](this[y(0x9f)]);if(b[y(0xc1)]===0x0)throw new Error(y(0xdc));return console['warn'](y(0xb8)),this[y(0x9f)][b[0x0]];}[a54k(0xbd)](){const z=a54k;return this[z(0xa5)];}[a54k(0xdb)](){return this['rooms'];}['connectRooms'](a,b,c,d){const A=a54k,e=this[A(0x9f)][a],f=this['rooms'][c];if(!e)throw new Error('Room\x20\x22'+a+A(0xcc));if(!f)throw new Error(A(0xba)+c+'\x22\x20does\x20not\x20exist.');e[A(0xb0)](b,f,d);}}
@@ -1 +1 @@
1
- var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x138))/0x1*(-parseInt(f(0x13e))/0x2)+-parseInt(f(0x155))/0x3*(parseInt(f(0x148))/0x4)+-parseInt(f(0x129))/0x5*(parseInt(f(0x13d))/0x6)+-parseInt(f(0x130))/0x7+parseInt(f(0x14a))/0x8+parseInt(f(0x122))/0x9+parseInt(f(0x152))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x499b2));function a55c(){var E=['LegArmor','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Large','toString','author','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Legendary','Brown','1612UADxUg','use','1248656qQujSq','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Rifle','search','pageCount','description','Short\x20Sword','Tiny','10357450fyCqmW','Rare','ArmArmor','3414XeXllz','Key','Common','Small','Grey','constructor','1455507RgXGxF','Gloves','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Weapon','Rectangle','Metallic','You\x20hold\x20the\x20','7720qujDyF','Boots','Circle','BodyArmor','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Yellow','Helmet','2784131lHBIxv','apply','A\x20mysterious\x20book.','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Holy\x20Grail','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Medium','Book','7333NxMCiT','Cup','(((.+)+)+)+$','Unknown','Smooth','1074SYIPED','22KTywkj','publishDate'];a55c=function(){return E;};return a55c();}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x121;var f=c[d];return f;},a55d(a,b);}var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x143)]()[h(0x14d)](h(0x13a))[h(0x143)]()[h(0x121)](a55a)[h(0x14d)](h(0x13a));});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(0x136)],'category':Category[i(0x13b)],'shape':Shape[i(0x126)],'color':Color[i(0x12e)],'texture':Texture[i(0x13c)],'rating':Rating['Common'],'weight':0x1});}[a55j(0x149)](){var k=a55j;return this[k(0x14f)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size[l(0x136)],'category':Category[l(0x125)],'shape':Shape['Blade'],'color':Color[l(0x159)],'texture':Texture[l(0x127)],'rating':Rating[l(0x157)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0x142)],'category':Category[m(0x125)],'shape':Shape[m(0x14c)],'color':Color[m(0x147)],'texture':Texture[m(0x127)],'rating':Rating[m(0x153)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x136)],'category':Category[n(0x12f)],'shape':Shape[n(0x12b)],'color':Color['Grey'],'texture':Texture[n(0x127)],'rating':Rating[n(0x157)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[o(0x12c)],'shape':Shape[o(0x126)],'color':Color[o(0x159)],'texture':Texture[o(0x127)],'rating':Rating[o(0x157)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[p(0x140)],'shape':Shape[p(0x126)],'color':Color['Grey'],'texture':Texture[p(0x127)],'rating':Rating[p(0x157)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x136)],'category':Category[q(0x12a)],'shape':Shape[q(0x12b)],'color':Color['Brown'],'texture':Texture[q(0x13c)],'rating':Rating[q(0x157)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size['Small'],'category':Category[r(0x123)],'shape':Shape[r(0x12b)],'color':Color[r(0x147)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x136)],'category':Category[s(0x154)],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[s(0x157)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x151)],'category':Category[t(0x156)],'shape':Shape[t(0x126)],'color':Color[t(0x12e)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x0});}['use'](){var u=a55j;return u(0x141);}}export class Weapon extends Item{constructor(a,b){var v=a55j;super({'name':a,'description':b,'size':Size[v(0x136)],'category':Category[v(0x125)],'shape':Shape['Blade'],'color':Color[v(0x159)],'texture':Texture[v(0x127)],'rating':Rating[v(0x157)],'weight':0x3});}['use'](){var w=a55j;return w(0x12d);}}export class Book extends Item{[a55j(0x144)];['publishDate'];['pageCount'];constructor(a,b=a55j(0x132),c='Unknown\x20Author'){var x=a55j;super({'name':a,'description':b,'size':Size[x(0x136)],'category':Category[x(0x137)],'shape':Shape[x(0x126)],'color':Color[x(0x147)],'texture':Texture[x(0x13c)],'rating':Rating[x(0x157)],'weight':0x1}),this[x(0x144)]=c,this[x(0x13f)]=new Date(),this[x(0x14e)]=0x64;}[a55j(0x149)](){var y=a55j;return y(0x14b);}}export class ShortSword extends Item{constructor(){var z=a55j;super({'name':z(0x150),'description':z(0x124),'size':Size[z(0x136)],'category':Category[z(0x125)],'shape':Shape['Blade'],'color':Color['Grey'],'texture':Texture[z(0x127)],'rating':Rating['Common'],'weight':0x3});}['use'](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var A=a55j;super({'name':'Sniper\x20Rifle','description':A(0x145),'size':Size[A(0x142)],'category':Category[A(0x125)],'shape':Shape[A(0x14c)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating[A(0x157)],'weight':0x5});}[a55j(0x149)](){var B=a55j;return B(0x135);}}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':C(0x134),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[C(0x158)],'category':Category[C(0x139)],'shape':Shape[C(0x12b)],'color':Color['Gold'],'texture':Texture['Metallic'],'rating':Rating[C(0x146)],'weight':0x1});}['use'](){var D=a55j;return D(0x128)+this['name']+D(0x133);}}
1
+ var a55v=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x20c))/0x1*(parseInt(f(0x20a))/0x2)+-parseInt(f(0x214))/0x3+parseInt(f(0x21c))/0x4+parseInt(f(0x1f9))/0x5+parseInt(f(0x206))/0x6+parseInt(f(0x1fe))/0x7*(-parseInt(f(0x1f4))/0x8)+-parseInt(f(0x21f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x7494d));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x215)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0x222)](h(0x203))['toString']()[h(0x20f)](a55a)['search'](h(0x203));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';function a55c(){var E=['Rectangle','25899615ADJYzS','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Sniper\x20Rifle','search','Key','Smooth','Cup','BodyArmor','publishDate','Helmet','Medium','732720jbEnZe','Gold','Circle','description','pageCount','4747690iDNdio','Blade','Yellow','Large','Small','14WDGPqO','Metallic','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','\x20aloft,\x20feeling\x20its\x20immense\x20power.','A\x20mysterious\x20book.','(((.+)+)+)+$','Tiny','Weapon','4905294TlbKtL','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Common','Short\x20Sword','56114zuQuVW','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','32LZUDSU','use','LegArmor','constructor','name','Brown','ArmArmor','Legendary','84510usWXWB','apply','Grey','You\x20hold\x20the\x20','author','Rare','Unknown','Gloves','3606764qMaevk','Book'];a55c=function(){return E;};return a55c();}import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[i(0x21a)],'shape':Shape[i(0x21e)],'color':Color[i(0x1fb)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x1});}['use'](){var j=a55d;return this[j(0x1f7)];}}export class Sword extends Item{constructor(a,b){var k=a55d;super({'name':a,'description':b,'size':Size[k(0x1f3)],'category':Category[k(0x205)],'shape':Shape[k(0x1fa)],'color':Color[k(0x216)],'texture':Texture[k(0x1ff)],'rating':Rating[k(0x208)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55d;super({'name':a,'description':b,'size':Size[l(0x1fc)],'category':Category[l(0x205)],'shape':Shape['Rifle'],'color':Color[l(0x211)],'texture':Texture[l(0x1ff)],'rating':Rating[l(0x219)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[m(0x1f2)],'shape':Shape[m(0x1f6)],'color':Color[m(0x216)],'texture':Texture[m(0x1ff)],'rating':Rating[m(0x208)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55d;super({'name':a,'description':b,'size':Size['Large'],'category':Category[n(0x1f0)],'shape':Shape[n(0x21e)],'color':Color[n(0x216)],'texture':Texture[n(0x1ff)],'rating':Rating['Common'],'weight':0xa});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1ed;var f=c[d];return f;},a55d(a,b);}export class LegArmor extends Item{constructor(a,b){var o=a55d;super({'name':a,'description':b,'size':Size[o(0x1f3)],'category':Category[o(0x20e)],'shape':Shape[o(0x21e)],'color':Color[o(0x216)],'texture':Texture[o(0x1ff)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55d;super({'name':a,'description':b,'size':Size[p(0x1f3)],'category':Category['Boots'],'shape':Shape[p(0x1f6)],'color':Color[p(0x211)],'texture':Texture[p(0x1ee)],'rating':Rating[p(0x208)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55d;super({'name':a,'description':b,'size':Size[q(0x1fd)],'category':Category[q(0x21b)],'shape':Shape[q(0x1f6)],'color':Color[q(0x211)],'texture':Texture[q(0x1ee)],'rating':Rating[q(0x208)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a55d;super({'name':a,'description':b,'size':Size[r(0x1f3)],'category':Category[r(0x212)],'shape':Shape[r(0x21e)],'color':Color[r(0x216)],'texture':Texture[r(0x1ff)],'rating':Rating[r(0x208)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a55d;super({'name':a,'description':b,'size':Size[s(0x204)],'category':Category[s(0x1ed)],'shape':Shape['Rectangle'],'color':Color[s(0x1fb)],'texture':Texture[s(0x1ee)],'rating':Rating[s(0x208)],'weight':0x0});}['use'](){var t=a55d;return t(0x20b);}}export class Weapon extends Item{constructor(a,b){var u=a55d;super({'name':a,'description':b,'size':Size[u(0x1f3)],'category':Category[u(0x205)],'shape':Shape[u(0x1fa)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[u(0x208)],'weight':0x3});}[a55v(0x20d)](){var w=a55v;return w(0x200);}}export class Book extends Item{[a55v(0x218)];[a55v(0x1f1)];[a55v(0x1f8)];constructor(a,b=a55v(0x202),c='Unknown\x20Author'){var x=a55v;super({'name':a,'description':b,'size':Size[x(0x1f3)],'category':Category[x(0x21d)],'shape':Shape[x(0x21e)],'color':Color['Brown'],'texture':Texture[x(0x1ee)],'rating':Rating[x(0x208)],'weight':0x1}),this[x(0x218)]=c,this[x(0x1f1)]=new Date(),this[x(0x1f8)]=0x64;}[a55v(0x20d)](){var y=a55v;return y(0x220);}}export class ShortSword extends Item{constructor(){var z=a55v;super({'name':z(0x209),'description':'A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','size':Size[z(0x1f3)],'category':Category[z(0x205)],'shape':Shape[z(0x1fa)],'color':Color[z(0x216)],'texture':Texture['Metallic'],'rating':Rating[z(0x208)],'weight':0x3});}[a55v(0x20d)](){var A=a55v;return A(0x200);}}export class SniperRifle extends Item{constructor(){var B=a55v;super({'name':B(0x221),'description':B(0x207),'size':Size[B(0x1fc)],'category':Category[B(0x205)],'shape':Shape['Rifle'],'color':Color['Brown'],'texture':Texture[B(0x1ee)],'rating':Rating['Common'],'weight':0x5});}[a55v(0x20d)](){return'You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22';}}export class HolyGrail extends Item{constructor(){var C=a55v;super({'name':'Holy\x20Grail','description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[C(0x1fd)],'category':Category[C(0x1ef)],'shape':Shape[C(0x1f6)],'color':Color[C(0x1f5)],'texture':Texture[C(0x1ff)],'rating':Rating[C(0x213)],'weight':0x1});}[a55v(0x20d)](){var D=a55v;return D(0x217)+this[D(0x210)]+D(0x201);}}