@maka/maka-cli 4.8.6 → 4.8.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  109. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/kit.js +1 -1
  112. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  115. package/bundle/obf/src/generators/layout.js +1 -1
  116. package/bundle/obf/src/generators/maka.gen.js +1 -1
  117. package/bundle/obf/src/generators/methods.js +1 -1
  118. package/bundle/obf/src/generators/package.js +1 -1
  119. package/bundle/obf/src/generators/page.js +1 -1
  120. package/bundle/obf/src/generators/publish.js +1 -1
  121. package/bundle/obf/src/generators/route.js +1 -1
  122. package/bundle/obf/src/generators/service.js +1 -1
  123. package/bundle/obf/src/generators/services/_index.js +1 -1
  124. package/bundle/obf/src/generators/services/openssl.js +1 -1
  125. package/bundle/obf/src/generators/services/translation.js +1 -1
  126. package/bundle/obf/src/maka.js +1 -1
  127. package/bundle/obf/src/templates/meteor/project/package.json +1 -1
  128. package/bundle/obf/src/tool.js +1 -1
  129. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  130. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/https/https.class.js +1 -1
  137. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  138. package/bundle/obf/src/tools/log/log.class.js +1 -1
  139. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/options/options.class.js +1 -1
  141. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  142. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  147. package/package.json +1 -1
@@ -1 +1 @@
1
- function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xaf;let f=c[d];return f;},a37d(a,b);}const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0xc5))/0x1*(-parseInt(f(0xc1))/0x2)+parseInt(f(0xbc))/0x3*(-parseInt(f(0xb5))/0x4)+-parseInt(f(0xb1))/0x5*(parseInt(f(0xc2))/0x6)+parseInt(f(0xb8))/0x7+parseInt(f(0xbf))/0x8+-parseInt(f(0xb2))/0x9+parseInt(f(0xbb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x71598));function a37c(){const j=['write','search','15orGBIO','582381TwVTXs','\x20found\x20the\x20following\x20items:\x20','toString','271692NvSdpI','join','(((.+)+)+)+$','2291548FinLEH','length','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','9136590ScQFwQ','39yYekso','inventory','logger','897408CewRor','actor','1178hxXLfN','3756XjtNIL','listItems','description','103gRSqxr','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','name','You\x20search\x20the\x20area\x20and\x20find:\x20'];a37c=function(){return j;};return a37c();}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(0xb4)]()[g(0xb0)]('(((.+)+)+)+$')[g(0xb4)]()['constructor'](a37a)[g(0xb0)](g(0xb7));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a37h(0xb0);static [a37h(0xc4)]='Search\x20for\x20items\x20in\x20your\x20area';['execute'](){const i=a37h,a=this['actor']['currentLocation'][i(0xbd)][i(0xc3)]();if(a[i(0xb9)]===0x0)return this[i(0xbe)]['write']('SearchCommand:\x20'+this[i(0xc0)][i(0xc7)]+i(0xba)),i(0xc6);const b=a[i(0xb6)](',\x20');return this['logger'][i(0xaf)]('SearchCommand:\x20'+this[i(0xc0)]['name']+i(0xb3)+b),i(0xc8)+b;}}
1
+ const a37i=a37d;function a37c(){const k=['100816LSZDVH','currentLocation','description','name','2aKlWAO','162kMTubY','toString','listItems','445hHnwdG','logger','4353790gKPYxi','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','2113932Rznbtk','length','search','632SUXzWj','(((.+)+)+)+$','execute','18612320Oywboa','constructor','join','apply','182577ihdflj','SearchCommand:\x20','actor','1880928deRTsN','\x20found\x20the\x20following\x20items:\x20'];a37c=function(){return k;};return a37c();}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x1cf))/0x1*(parseInt(f(0x1d8))/0x2)+-parseInt(f(0x1d2))/0x3+-parseInt(f(0x1c8))/0x4*(-parseInt(f(0x1dc))/0x5)+-parseInt(f(0x1e0))/0x6+-parseInt(f(0x1de))/0x7+parseInt(f(0x1d4))/0x8*(parseInt(f(0x1d9))/0x9)+parseInt(f(0x1cb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x4db4d));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x1da)]()[h(0x1e2)]('(((.+)+)+)+$')[h(0x1da)]()[h(0x1cc)](a37a)[h(0x1e2)](h(0x1c9));});a37a();function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a37d(a,b);}import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a37i(0x1e2);static [a37i(0x1d6)]='Search\x20for\x20items\x20in\x20your\x20area';[a37i(0x1ca)](){const j=a37i,a=this[j(0x1d1)][j(0x1d5)]['inventory'][j(0x1db)]();if(a[j(0x1e1)]===0x0)return this[j(0x1dd)]['write']('SearchCommand:\x20'+this[j(0x1d1)][j(0x1d7)]+j(0x1df)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0x1cd)](',\x20');return this['logger']['write'](j(0x1d0)+this[j(0x1d1)][j(0x1d7)]+j(0x1d3)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0xf7))/0x1+-parseInt(f(0xfe))/0x2*(parseInt(f(0xee))/0x3)+parseInt(f(0xf8))/0x4+parseInt(f(0xf5))/0x5+parseInt(f(0xf6))/0x6+-parseInt(f(0xea))/0x7+-parseInt(f(0xf4))/0x8*(parseInt(f(0x100))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x31692));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0xe6)]()[h(0xe5)](h(0xf1))[h(0xe6)]()[h(0xec)](a38a)[h(0xe5)](h(0xf1));});a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0xff)]=a38i(0xeb);static [a38i(0xfd)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a38i(0xe9)](a){const j=a38i,b=a[j(0xfc)]('\x20')[j(0x102)](),c=this[j(0xe4)]['currentLocation'];if(!c||!c[j(0xfa)])return this[j(0xe7)][j(0xf2)](j(0x101)),j(0xf9);const d=c[j(0xfa)][j(0xeb)](b,this[j(0xe4)][j(0xf3)]);return d[j(0xed)]&&c[j(0xfa)]['rewardItem']&&this[j(0xe4)][j(0xf3)][j(0xef)](c['puzzle']['rewardItem']),this[j(0xe7)][j(0xf2)](j(0xfb)+d['message']),d[j(0xe8)];}}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xe4;let f=c[d];return f;},a38d(a,b);}function a38c(){const k=['658512yEBXiP','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','puzzle','SolveCommand:\x20','join','description','45064uhNaMj','verb','27GOnryE','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','toLowerCase','actor','search','toString','logger','message','execute','2639931KQmuSl','solve','constructor','success','42xRAPQn','addItem','apply','(((.+)+)+)+$','write','inventory','641208LpcPMX','1928785RPPNOT','2153952qACgeb','226043FIeWKW'];a38c=function(){return k;};return a38c();}
1
+ const a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x1e5))/0x1*(-parseInt(f(0x1e3))/0x2)+parseInt(f(0x1e4))/0x3+-parseInt(f(0x1cc))/0x4*(-parseInt(f(0x1d2))/0x5)+parseInt(f(0x1dc))/0x6+-parseInt(f(0x1ce))/0x7*(-parseInt(f(0x1d8))/0x8)+-parseInt(f(0x1d9))/0x9+-parseInt(f(0x1de))/0xa*(parseInt(f(0x1d6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xc6c8f));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a['toString']()['search']('(((.+)+)+)+$')[g(0x1d7)]()['constructor'](a38a)[g(0x1e1)](g(0x1e2));});function a38c(){const j=['solve','search','(((.+)+)+)+$','36nMsxry','3803493FUAbQv','54521TquHgQ','verb','puzzle','currentLocation','430744iNOSLD','write','7wubyYH','success','execute','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','5uMDZmu','inventory','rewardItem','actor','33SCQgBH','toString','3853456bffGAJ','10434744WfHiId','toLowerCase','message','8593548EQRvuZ','logger','1114800tqmJiv','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'];a38c=function(){return j;};return a38c();}a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1cb;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';export class SolveCommand extends Command{static [a38h(0x1e6)]=a38h(0x1e0);static ['description']='Attempt\x20to\x20solve\x20a\x20puzzle.';[a38h(0x1d0)](a){const i=a38h,b=a['join']('\x20')[i(0x1da)](),c=this[i(0x1d5)][i(0x1cb)];if(!c||!c[i(0x1e7)])return this['logger'][i(0x1cd)](i(0x1df)),i(0x1d1);const d=c['puzzle']['solve'](b,this['actor'][i(0x1d3)]);return d[i(0x1cf)]&&c[i(0x1e7)][i(0x1d4)]&&this[i(0x1d5)][i(0x1d3)]['addItem'](c[i(0x1e7)][i(0x1d4)]),this[i(0x1dd)][i(0x1cd)]('SolveCommand:\x20'+d[i(0x1db)]),d[i(0x1db)];}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x1a6))/0x1*(parseInt(f(0x1ab))/0x2)+parseInt(f(0x198))/0x3+-parseInt(f(0x181))/0x4+parseInt(f(0x19c))/0x5+-parseInt(f(0x19f))/0x6+parseInt(f(0x1a9))/0x7+-parseInt(f(0x1a4))/0x8*(parseInt(f(0x18f))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x7f9fb));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x17f;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x1a5)]()['search'](h(0x190))[h(0x1a5)]()[h(0x1ac)](a39a)[h(0x18d)](h(0x190));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0x1a2)]=a39i(0x19a);static [a39i(0x18c)]=a39i(0x187);[a39i(0x1a7)](a){const j=a39i;return this[j(0x18e)]['write'](j(0x188)+a[j(0x193)]('\x20')),this[j(0x19a)](a);}['take'](a){const k=a39i,b=a[k(0x193)]('\x20')[k(0x184)](),c=this[k(0x182)][k(0x192)];if(!c[k(0x19d)][k(0x1a3)](b))return this[k(0x18e)]['write'](k(0x185)+b+k(0x196)+c[k(0x1a0)]+k(0x180)),k(0x1a1)+b+k(0x189);const d=c[k(0x19d)][k(0x199)](b);if(!d)return this['logger'][k(0x1a8)](k(0x185)+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0x1a0)]+k(0x183)),'There\x20is\x20no\x20item\x20\x22'+b+k(0x189);try{return this['actor'][k(0x197)](d),this[k(0x18e)][k(0x1a8)](k(0x195)+b+k(0x186)+this[k(0x182)][k(0x1a0)]+k(0x18b)),c[k(0x19d)][k(0x19b)](b),this['logger'][k(0x1a8)]('Successfully\x20removed\x20\x22'+b+k(0x18a)+c[k(0x1a0)]+k(0x183)),k(0x19e)+b+'.';}catch(e){return this[k(0x18e)]['write'](k(0x17f)+e[k(0x1aa)]),'The\x20item\x20\x22'+b+k(0x191);}}}function a39c(){const l=['actor','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','toLowerCase','Item\x20\x22','\x22\x20to\x20','Pick\x20up\x20an\x20item.','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20in\x20this\x20room.','\x22\x20from\x20','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','description','search','logger','2634984AUjyVa','(((.+)+)+)+$','\x22\x20is\x20too\x20heavy\x20to\x20carry.','currentLocation','join','apply','Successfully\x20added\x20\x22','\x22\x20not\x20found\x20in\x20','addInventory','573225RQMZan','getItem','take','removeItem','1668645UdqTgg','inventory','You\x20have\x20taken\x20the\x20','3183660DhwNfb','name','There\x20is\x20no\x20item\x20\x22','verb','hasItem','8HYdGaE','toString','16UTMFWk','execute','write','6853819CjIjVr','message','92472BgwStU','constructor','Error\x20during\x20\x27Take\x27\x20command:\x20','\x20during\x20\x27Take\x27\x20command.','3590256BEDngy'];a39c=function(){return l;};return a39c();}
1
+ const a39i=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x17d;let f=c[d];return f;},a39d(a,b);}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x19a))/0x1*(parseInt(f(0x18f))/0x2)+parseInt(f(0x188))/0x3*(-parseInt(f(0x191))/0x4)+parseInt(f(0x18c))/0x5+-parseInt(f(0x187))/0x6+parseInt(f(0x1a3))/0x7*(-parseInt(f(0x194))/0x8)+-parseInt(f(0x18a))/0x9+parseInt(f(0x1a0))/0xa*(parseInt(f(0x18b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x75b1c));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x18e)]()[h(0x197)](h(0x19d))[h(0x18e)]()['constructor'](a39a)[h(0x197)](h(0x19d));});function a39c(){const l=['removeItem','596670pOMIdv','logger','The\x20item\x20\x22','14UulVWw','\x20during\x20\x27Take\x27\x20command.','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','apply','currentLocation','take','inventory','join','addInventory','There\x20is\x20no\x20item\x20\x22','Successfully\x20removed\x20\x22','5109366TlqKBm','5451LRxUvS','\x22\x20in\x20this\x20room.','7942302PkPRZC','275fMYICI','3066250GnGoBG','name','toString','6pQjfka','execute','324rwJshN','getItem','write','946520ImKcKD','Pick\x20up\x20an\x20item.','actor','search','Error\x20during\x20\x27Take\x27\x20command:\x20','hasItem','164999vOCVgt','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x22\x20from\x20','(((.+)+)+)+$','Item\x20\x22'];a39c=function(){return l;};return a39c();}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']='take';static ['description']=a39i(0x195);[a39i(0x190)](a){const j=a39i;return this[j(0x1a1)]['write'](j(0x17e)+a[j(0x183)]('\x20')),this[j(0x181)](a);}[a39i(0x181)](a){const k=a39i,b=a[k(0x183)]('\x20')['toLowerCase'](),c=this[k(0x196)][k(0x180)];if(!c[k(0x182)][k(0x199)](b))return this['logger'][k(0x193)](k(0x19e)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x18d)]+k(0x17d)),k(0x185)+b+k(0x189);const d=c[k(0x182)][k(0x192)](b);if(!d)return this['logger']['write']('Item\x20\x22'+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0x18d)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x185)+b+k(0x189);try{return this[k(0x196)][k(0x184)](d),this[k(0x1a1)][k(0x193)]('Successfully\x20added\x20\x22'+b+'\x22\x20to\x20'+this[k(0x196)][k(0x18d)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0x182)][k(0x19f)](b),this[k(0x1a1)]['write'](k(0x186)+b+k(0x19c)+c[k(0x18d)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this['logger'][k(0x193)](k(0x198)+e['message']),k(0x1a2)+b+k(0x19b);}}}
@@ -1 +1 @@
1
- function a40c(){const k=['unequip','name','actor','2skBhgf','toString','unqeuip','UnequipCommand:\x20','\x20unqeuiped\x20','5318574fddQOt','7308795IAuuTq','Unequip\x20an\x20item.','596488IbULWW','description','7106808grJaFY','7GPltCR','(((.+)+)+)+$','6397616LgZISE','apply','search','696612clhEjj','verb','7477884gYOoNe','constructor','join','logger'];a40c=function(){return k;};return a40c();}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x152))/0x1*(parseInt(f(0x14a))/0x2)+-parseInt(f(0x14f))/0x3+parseInt(f(0x154))/0x4+parseInt(f(0x150))/0x5+parseInt(f(0x141))/0x6+parseInt(f(0x155))/0x7*(parseInt(f(0x13e))/0x8)+-parseInt(f(0x143))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xe8ebb));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x14b)]()[h(0x140)](h(0x156))[h(0x14b)]()[h(0x144)](a40a)['search']('(((.+)+)+)+$');});a40a();function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x13e;let f=c[d];return f;},a40d(a,b);}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x142)]=a40i(0x14c);static [a40i(0x153)]=a40i(0x151);['execute'](a){const j=a40i,b=a[j(0x145)]('\x20')['toLowerCase'](),c=this[j(0x149)][j(0x147)](b);return this[j(0x146)]['write'](j(0x14d)+this[j(0x149)][j(0x148)]+j(0x14e)+c),c;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1a5))/0x1+parseInt(f(0x1a1))/0x2*(parseInt(f(0x1ba))/0x3)+parseInt(f(0x1aa))/0x4*(-parseInt(f(0x1a7))/0x5)+-parseInt(f(0x1bb))/0x6+-parseInt(f(0x1b0))/0x7*(parseInt(f(0x1b2))/0x8)+parseInt(f(0x1a9))/0x9*(-parseInt(f(0x1b9))/0xa)+parseInt(f(0x1a6))/0xb*(parseInt(f(0x1b6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x6e2cc));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1a1;let f=c[d];return f;},a40d(a,b);}function a40c(){const k=['execute','write','3975084cdUbGJ','search','verb','1836930oKFAkt','489aJWmDX','768264kDmPVg','1546kPdDHa','toString','description','Unequip\x20an\x20item.','77394QPUvmU','55iFEfPz','455mClsZq','unqeuip','27fTVqgp','9484CaqqFo','unequip','name','join','actor','(((.+)+)+)+$','679UEOCVO','constructor','42352GJLfIz','apply'];a40c=function(){return k;};return a40c();}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()[h(0x1b7)](h(0x1af))[h(0x1a2)]()[h(0x1b1)](a40a)[h(0x1b7)](h(0x1af));});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x1b8)]=a40i(0x1a8);static [a40i(0x1a3)]=a40i(0x1a4);[a40i(0x1b4)](a){const j=a40i,b=a[j(0x1ad)]('\x20')['toLowerCase'](),c=this[j(0x1ae)][j(0x1ab)](b);return this['logger'][j(0x1b5)]('UnequipCommand:\x20'+this[j(0x1ae)][j(0x1ac)]+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a41k=a41d;function a41c(){const n=['13eJRLut','6PogIPt','460964feCapd','length','constructor','215215QjKCMg','.\x20Result:\x20','UnlockCommand:\x20No\x20target\x20specified.','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','\x22\x20here.','isValidDirection','description','logger','toLowerCase','has','name','\x20is\x20attempted\x20to\x20unlock\x20','(((.+)+)+)+$','42XBWOMU','3047ePkzAr','hasItem','write','1095858JBgmSJ','getItem','49142oNmBSF','error','actor','attemptUnlockExit','apply','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','There\x27s\x20no\x20door\x20named\x20\x22','unlockItemOrSolution','15nzzVuL','127218fZVYpJ','5557308jntPsw','execute','verb','inventory','8nBQSRv','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','UnlockCommand:\x20','13210BPWUxG','search','unlock','currentLocation'];a41c=function(){return n;};return a41c();}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x196))/0x1+-parseInt(h(0x18d))/0x2*(parseInt(h(0x1a3))/0x3)+parseInt(h(0x1a4))/0x4*(parseInt(h(0x195))/0x5)+parseInt(h(0x187))/0x6*(-parseInt(h(0x1a7))/0x7)+parseInt(h(0x19b))/0x8*(-parseInt(h(0x18b))/0x9)+-parseInt(h(0x19e))/0xa*(parseInt(h(0x188))/0xb)+-parseInt(h(0x197))/0xc*(-parseInt(h(0x1a2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x2cece));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x17c;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x191)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()[j(0x19f)]('(((.+)+)+)+$')['toString']()[j(0x1a6)](a41a)[j(0x19f)](j(0x186));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x199)]=a41k(0x1a0);static [a41k(0x180)]='Unlock\x20a\x20door.';[a41k(0x198)](a){const l=a41k;return this[l(0x1a0)](a);}['unlock'](a){const m=a41k;if(a[m(0x1a5)]===0x0)return this['logger'][m(0x18e)](m(0x17c)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][m(0x182)](),c=this[m(0x18f)][m(0x1a1)];if(this[m(0x17f)](b)&&c['exits'][m(0x183)](b)){const d=c['exits']['get'](b);if(d instanceof Door){const e=d[m(0x194)]?.[m(0x182)]();if(e&&this['actor'][m(0x19a)][m(0x189)](e)){const f=this['actor']['inventory'][m(0x18c)](e);if(f){const g=c[m(0x190)](b,f[m(0x184)]);return this[m(0x181)]['write'](m(0x19d)+this['actor'][m(0x184)]+m(0x185)+b+m(0x1a8)+g),g;}}return this[m(0x181)][m(0x18a)](m(0x19d)+this[m(0x18f)][m(0x184)]+m(0x192)+b+'.'),m(0x17d);}else return this[m(0x181)]['write'](m(0x19d)+b+m(0x19c)+c['name']+'.'),m(0x193)+b+m(0x17e);}else return this[m(0x181)][m(0x18a)](m(0x19d)+b+m(0x19c)+c[m(0x184)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x17e);}}
1
+ function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xd6;let f=c[d];return f;},a41d(a,b);}const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0xd9))/0x1*(parseInt(h(0xe3))/0x2)+parseInt(h(0xeb))/0x3+parseInt(h(0xf3))/0x4*(-parseInt(h(0xee))/0x5)+parseInt(h(0xdb))/0x6+-parseInt(h(0xe9))/0x7+parseInt(h(0xec))/0x8+parseInt(h(0xf4))/0x9*(parseInt(h(0xf2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xc10df));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0xd8)]()[j(0xfb)](j(0xd6))[j(0xd8)]()[j(0xf0)](a41a)[j(0xfb)](j(0xd6));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0xe1)]='unlock';static ['description']='Unlock\x20a\x20door.';[a41k(0xe4)](a){const l=a41k;return this[l(0xdf)](a);}[a41k(0xdf)](a){const m=a41k;if(a[m(0xe2)]===0x0)return this[m(0xd7)][m(0xf9)](m(0xe0)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][m(0xf7)](),c=this[m(0xef)]['currentLocation'];if(this[m(0xe6)](b)&&c['exits'][m(0xfc)](b)){const d=c['exits']['get'](b);if(d instanceof Door){const e=d[m(0xfa)]?.[m(0xf7)]();if(e&&this[m(0xef)][m(0xfd)][m(0xe8)](e)){const f=this[m(0xef)][m(0xfd)][m(0xda)](e);if(f){const g=c[m(0xed)](b,f[m(0xe5)]);return this[m(0xd7)]['write'](m(0xde)+this['actor'][m(0xe5)]+m(0xdc)+b+'.\x20Result:\x20'+g),g;}}return this[m(0xd7)][m(0xdd)](m(0xde)+this[m(0xef)][m(0xe5)]+m(0xea)+b+'.'),m(0xf1);}else return this[m(0xd7)][m(0xdd)]('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0xe5)]+'.'),m(0xf8)+b+m(0xe7);}else return this['logger'][m(0xdd)]('UnlockCommand:\x20'+b+m(0xf5)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0xe7);}}function a41c(){const n=['attemptUnlockExit','5uhoPuk','actor','constructor','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','220GFYIHH','4444084ywPxPj','703737mLewxE','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','apply','toLowerCase','There\x27s\x20no\x20door\x20named\x20\x22','error','unlockItemOrSolution','search','has','inventory','(((.+)+)+)+$','logger','toString','5angImY','getItem','3367482zkJVaO','\x20is\x20attempted\x20to\x20unlock\x20','write','UnlockCommand:\x20','unlock','UnlockCommand:\x20No\x20target\x20specified.','verb','length','256874rmELCy','execute','name','isValidDirection','\x22\x20here.','hasItem','1321488KfFLGX','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','652635HJicfT','1869624eKHmrD'];a41c=function(){return n;};return a41c();}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0xfa))/0x1+-parseInt(f(0xff))/0x2+-parseInt(f(0xeb))/0x3+parseInt(f(0xe0))/0x4+-parseInt(f(0xfe))/0x5*(parseInt(f(0xe7))/0x6)+-parseInt(f(0xf2))/0x7+-parseInt(f(0xea))/0x8*(-parseInt(f(0xee))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x8caa9));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xe4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xef)]()[h(0xf8)]('(((.+)+)+)+$')[h(0xef)]()['constructor'](a42a)['search']('(((.+)+)+)+$');});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xdf;let f=c[d];return f;},a42d(a,b);}function a42c(){const l=['apply','verb',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','566616RoQRSa','inventory','use','136NWydvv','1763559jQorZN','actor','\x20doesn\x27t\x20have\x20a\x20use\x20method.','1471761pyfgIR','toString','\x20not\x20retrieved\x20from\x20','\x20to\x20use.','5360054dposnE','description','logger','You\x20can\x27t\x20use\x20the\x20','\x20attempted\x20to\x20use\x20','join','search','\x27s\x20inventory.','314564psvFCH','\x20in\x20this\x20way.','Use\x20an\x20item.','UseCommand:\x20','40AxKhBB','1860364flklwd','name','function','execute','4599940etiWzA','You\x20don\x27t\x20have\x20the\x20','write','toLowerCase'];a42c=function(){return l;};return a42c();}a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0xe5)]=a42i(0xe9);static [a42i(0xf3)]=a42i(0xfc);[a42i(0xdf)](a){const j=a42i;return this[j(0xe9)](a);}[a42i(0xe9)](a){const k=a42i,b=a[k(0xf7)]('\x20')[k(0xe3)]();if(!this['actor'][k(0xe8)]['hasItem'](b))return this['logger'][k(0xe2)](k(0xfd)+this[k(0xec)][k(0x100)]+k(0xf6)+b+k(0xe6)),k(0xe1)+b+k(0xf1);const c=this[k(0xec)][k(0xe8)]['getItem'](b);if(!c)return this[k(0xf4)][k(0xe2)](k(0xfd)+b+k(0xf0)+this[k(0xec)][k(0x100)]+k(0xf9)),'You\x20don\x27t\x20have\x20the\x20'+b+k(0xf1);if(typeof c[k(0xe9)]===k(0x101)){const d=c[k(0xe9)]();return this[k(0xf4)]['write'](k(0xfd)+this[k(0xec)][k(0x100)]+'\x20used\x20'+b+'.'),d;}else return this[k(0xf4)]['write'](k(0xfd)+b+k(0xed)),k(0xf5)+b+k(0xfb);}}
1
+ const a42i=a42d;function a42c(){const l=['872210IWXrIi','apply','search','\x20not\x20retrieved\x20from\x20','execute','174520pYBGZJ','You\x20don\x27t\x20have\x20the\x20','\x20in\x20this\x20way.','actor','\x27s\x20inventory.','507516qwFFJu','18FTKqgX','use','25784HDmLgf','35UGQKDT','logger','5941560fAqezr','You\x20can\x27t\x20use\x20the\x20','getItem','write','818876YIouCr','Use\x20an\x20item.','inventory','\x20doesn\x27t\x20have\x20a\x20use\x20method.','1001514DNXigZ','description','1298GIllcu','\x20to\x20use.','UseCommand:\x20','(((.+)+)+)+$','hasItem','verb','1710nBFMdD','join','\x20attempted\x20to\x20use\x20','function','name'];a42c=function(){return l;};return a42c();}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0xb8))/0x1+-parseInt(f(0xa7))/0x2+-parseInt(f(0x9e))/0x3*(parseInt(f(0x9d))/0x4)+-parseInt(f(0xa3))/0x5+parseInt(f(0xab))/0x6*(parseInt(f(0xa1))/0x7)+-parseInt(f(0xa0))/0x8*(parseInt(f(0xb3))/0x9)+-parseInt(f(0xbd))/0xa*(-parseInt(f(0xad))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xc207b));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0xba)]('(((.+)+)+)+$')['toString']()['constructor'](a42a)[h(0xba)](h(0xb0));});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x9b;let f=c[d];return f;},a42d(a,b);}a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0xb2)]=a42i(0x9f);static [a42i(0xac)]=a42i(0xa8);[a42i(0xbc)](a){const j=a42i;return this[j(0x9f)](a);}['use'](a){const k=a42i,b=a[k(0xb4)]('\x20')['toLowerCase']();if(!this['actor'][k(0xa9)][k(0xb1)](b))return this[k(0xa2)][k(0xa6)](k(0xaf)+this[k(0x9b)][k(0xb7)]+k(0xb5)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),k(0xbe)+b+k(0xae);const c=this[k(0x9b)][k(0xa9)][k(0xa5)](b);if(!c)return this[k(0xa2)][k(0xa6)](k(0xaf)+b+k(0xbb)+this[k(0x9b)][k(0xb7)]+k(0x9c)),k(0xbe)+b+k(0xae);if(typeof c[k(0x9f)]===k(0xb6)){const d=c['use']();return this[k(0xa2)][k(0xa6)](k(0xaf)+this[k(0x9b)]['name']+'\x20used\x20'+b+'.'),d;}else return this[k(0xa2)][k(0xa6)](k(0xaf)+b+k(0xaa)),k(0xa4)+b+k(0xbf);}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0xf5))/0x1*(-parseInt(f(0xfb))/0x2)+parseInt(f(0xf4))/0x3+-parseInt(f(0xfe))/0x4*(-parseInt(f(0xfd))/0x5)+-parseInt(f(0xff))/0x6*(-parseInt(f(0xf3))/0x7)+-parseInt(f(0x103))/0x8*(-parseInt(f(0xf7))/0x9)+parseInt(f(0xfc))/0xa*(parseInt(f(0x104))/0xb)+-parseInt(f(0x102))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xb7a45));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x100)]()[h(0xfa)](h(0xf2))['toString']()[h(0x101)](a43a)['search'](h(0xf2));});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xf2;let f=c[d];return f;},a43d(a,b);}export class CommandFactory{static [a43i(0xf8)]={};static['registerCommand'](a,b){const j=a43i;this[j(0xf8)][a]=b;}static['createCommand'](a,b){const k=a43i,c=this[k(0xf8)][a];if(c)return new c(b);return null;}static[a43i(0xf9)](){const l=a43i;return this[l(0xf8)];}}function a43c(){const m=['1915365XLiesE','4FxFALA','1888386SfqaUg','toString','constructor','13566264LbuYOL','4328sFtYBy','4808793DtPcKg','(((.+)+)+)+$','14DdQTSz','4241211elDJtC','8677EIJAck','apply','5193aChvyJ','commandMap','getAllRegisteredCommands','search','298dOKIsM','10njBkNd'];a43c=function(){return m;};return a43c();}
1
+ function a43c(){const k=['3899aMHYyp','69kPcPbN','createCommand','toString','1843380SsqVdA','6306CfkwGM','4218680CqDpwE','44pwQqdW','commandMap','getAllRegisteredCommands','138XTrZdu','9111sGaAlj','search','152512bgzcew','4306920dNuDUc','24676HBPbbH','apply','registerCommand','(((.+)+)+)+$'];a43c=function(){return k;};return a43c();}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x161))/0x1*(-parseInt(f(0x160))/0x2)+-parseInt(f(0x16a))/0x3*(parseInt(f(0x165))/0x4)+parseInt(f(0x164))/0x5+parseInt(f(0x16e))/0x6*(parseInt(f(0x169))/0x7)+-parseInt(f(0x163))/0x8+parseInt(f(0x16d))/0x9+parseInt(f(0x15c))/0xa*(-parseInt(f(0x15d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x696e7));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x16c)]()[h(0x162)](h(0x168))[h(0x16c)]()['constructor'](a43a)[h(0x162)](h(0x168));});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x15c;let f=c[d];return f;},a43d(a,b);}export class CommandFactory{static [a43i(0x15e)]={};static[a43i(0x167)](a,b){this['commandMap'][a]=b;}static[a43i(0x16b)](a,b){const j=a43i,c=this[j(0x15e)][a];if(c)return new c(b);return null;}static[a43i(0x15f)](){return this['commandMap'];}}
@@ -1 +1 @@
1
- function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xab;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(0xbd))/0x1+-parseInt(f(0xc4))/0x2*(-parseInt(f(0xb9))/0x3)+parseInt(f(0xba))/0x4+parseInt(f(0xd1))/0x5*(parseInt(f(0xc8))/0x6)+-parseInt(f(0xbc))/0x7+parseInt(f(0xc5))/0x8*(parseInt(f(0xcf))/0x9)+-parseInt(f(0xbb))/0xa*(parseInt(f(0xd0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x33855));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xad)]()['search'](h(0xc7))[h(0xad)]()[h(0xb0)](a44a)[h(0xc6)](h(0xc7));});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=['search','(((.+)+)+)+$','2408676FtcxsP','name','content','forEach','INSIDE','createItem','addItem','9rRZtQw','33gGSOhh','5PjDgNi','setPuzzle','convertToRoomConfig','legarmor','type','book','toString','apply','createRoom','constructor','gloves','items','helmet','sword','isStartRoom','key','description','inventory','16035RfhbKl','529788lAQMIe','1445370cHwstG','1336503ZpCjfu','174394nUNtnF','roomType','boots','rewardItem','puzzle','toUpperCase','createPuzzle','120ymZzmA','1242960uBhddY'];a44c=function(){return o;};return a44c();}export class RoomFactory{[a44i(0xaf)](a){const j=a44i,b=this[j(0xd3)](a),c=new Room(b);if(a[j(0xb2)]){const d=new Inventory();a[j(0xb2)][j(0xcb)](e=>{const k=j;d[k(0xce)](this[k(0xcd)](e));}),c[j(0xb8)]=d;}return a[j(0xc1)]&&c[j(0xd2)](this[j(0xc3)](a[j(0xc1)])),c;}[a44i(0xcd)](a){const l=a44i;switch(a[l(0xab)]){case l(0xb6):return new Key(a[l(0xc9)],a[l(0xb7)]);case l(0xac):return new Book(a['name'],a['description'],a[l(0xca)]);case l(0xb4):return new Sword(a[l(0xc9)],a[l(0xb7)]);case'rifle':return new Rifle(a['name'],a['description']);case l(0xb3):return new Helmet(a[l(0xc9)],a['description']);case'bodyarmor':return new BodyArmor(a[l(0xc9)],a[l(0xb7)]);case l(0xd4):return new LegArmor(a[l(0xc9)],a[l(0xb7)]);case l(0xbf):return new Boots(a[l(0xc9)],a[l(0xb7)]);case l(0xb1):return new Gloves(a[l(0xc9)],a[l(0xb7)]);case'gauntlets':return new Gauntlets(a[l(0xc9)],a[l(0xb7)]);default:return new BasicItem(a['name'],a[l(0xb7)]);}}[a44i(0xc3)](a){const m=a44i,b=this[m(0xcd)](a[m(0xc0)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0xd3)](a){const n=a44i,b=a['roomType']&&RoomType[a[n(0xbe)]['toUpperCase']()]?RoomType[a[n(0xbe)][n(0xc2)]()]:RoomType[n(0xcc)];return{'name':a[n(0xc9)],'description':a['description'],'isStartRoom':a[n(0xb5)],'roomType':b};}}
1
+ const a44m=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0xc8))/0x1+parseInt(f(0xe3))/0x2*(parseInt(f(0xdf))/0x3)+-parseInt(f(0xd8))/0x4+parseInt(f(0xd1))/0x5+parseInt(f(0xdb))/0x6+parseInt(f(0xd4))/0x7+-parseInt(f(0xd0))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x9ab35));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xe7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xd3)]()[h(0xc7)]('(((.+)+)+)+$')['toString']()[h(0xd2)](a44a)['search'](h(0xde));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a44c(){const o=['5853006fNHlMz','createItem','name','(((.+)+)+)+$','9hUtRoy','boots','roomType','setPuzzle','778270TzCpYT','bodyarmor','legarmor','INSIDE','apply','rifle','puzzle','book','search','602950MjhjCL','rewardItem','items','gloves','convertToRoomConfig','sword','description','addItem','18161792BYiFBa','2235445IMjhPJ','constructor','toString','2825410mrgJfR','gauntlets','toUpperCase','helmet','2770792zBBREr','forEach','key'];a44c=function(){return o;};return a44c();}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xc6;let f=c[d];return f;},a44d(a,b);}export class RoomFactory{['createRoom'](a){const i=a44d,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[i(0xca)]){const d=new Inventory();a['items'][i(0xd9)](e=>{const j=i;d[j(0xcf)](this[j(0xdc)](e));}),c['inventory']=d;}return a['puzzle']&&c[i(0xe2)](this['createPuzzle'](a[i(0xe9)])),c;}['createItem'](a){const k=a44d;switch(a['type']){case k(0xda):return new Key(a[k(0xdd)],a[k(0xce)]);case k(0xc6):return new Book(a[k(0xdd)],a[k(0xce)],a['content']);case k(0xcd):return new Sword(a[k(0xdd)],a[k(0xce)]);case k(0xe8):return new Rifle(a['name'],a[k(0xce)]);case k(0xd7):return new Helmet(a[k(0xdd)],a[k(0xce)]);case k(0xe4):return new BodyArmor(a[k(0xdd)],a[k(0xce)]);case k(0xe5):return new LegArmor(a[k(0xdd)],a['description']);case k(0xe0):return new Boots(a['name'],a[k(0xce)]);case k(0xcb):return new Gloves(a[k(0xdd)],a[k(0xce)]);case k(0xd5):return new Gauntlets(a[k(0xdd)],a[k(0xce)]);default:return new BasicItem(a[k(0xdd)],a['description']);}}['createPuzzle'](a){const l=a44d,b=this['createItem'](a[l(0xc9)]);return new Puzzle({...a,'rewardItem':b});}[a44m(0xcc)](a){const n=a44m,b=a[n(0xe1)]&&RoomType[a['roomType']['toUpperCase']()]?RoomType[a[n(0xe1)][n(0xd6)]()]:RoomType[n(0xe6)];return{'name':a[n(0xdd)],'description':a['description'],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0x14c))/0x1+parseInt(h(0x16a))/0x2*(parseInt(h(0x159))/0x3)+-parseInt(h(0x15f))/0x4*(parseInt(h(0x149))/0x5)+-parseInt(h(0x173))/0x6*(parseInt(h(0x172))/0x7)+parseInt(h(0x171))/0x8*(-parseInt(h(0x175))/0x9)+parseInt(h(0x168))/0xa+parseInt(h(0x167))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xb2192));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x163)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a['toString']()[j(0x164)](j(0x15c))['toString']()['constructor'](a45a)['search'](j(0x15c));});a45a();import{Scene}from'./models/scene.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x148;let f=c[d];return f;},a45d(a,b);}import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';function a45c(){const s=['6uxAFly','scene','name','(((.+)+)+)+$','instance','getWelcomeMessage','26140WGWRkO','equip','slice','registerCommands','apply','search','registerCommand','getDescription','21459383aRaoDo','2464520ESPKuv','rooms','814054tewWeE','hasOwnProperty','maka','take','split','getHelpMessage','help','1192nnsbir','504ksETZn','14148iwjduj','Welcome,\x20','13788QeDOVk','getRooms','getAllRegisteredCommands','toLowerCase','505UOQdLN','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','determineStartRoom','1223790mzIeOV','trim','look','initialize','drop','quit','player','Available\x20Commands:\x0a','currentRoom','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','-\x20clear:\x20Clear\x20the\x20screen.\x0a','clear','-\x20quit:\x20Exit\x20the\x20game.\x0a'];a45c=function(){return s;};return a45c();}import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0x15d)];[a45k(0x15a)];[a45k(0x152)];[a45k(0x154)];[a45k(0x169)];constructor(a,b){const l=a45k;this['player']=a,this[l(0x15a)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x15a)][l(0x14f)](),this[l(0x152)]['currentLocation']=this[l(0x14b)](),this['registerCommands']();}[a45k(0x162)](){const m=a45k;CommandFactory['registerCommand'](m(0x14e),LookCommand),CommandFactory[m(0x165)]('go',GoCommand),CommandFactory[m(0x165)](m(0x16d),TakeCommand),CommandFactory[m(0x165)]('use',UseCommand),CommandFactory[m(0x165)](m(0x160),EquipCommand),CommandFactory[m(0x165)]('unequip',UnequipCommand),CommandFactory['registerCommand']('solve',SolveCommand),CommandFactory[m(0x165)](m(0x150),DropCommand),CommandFactory['registerCommand']('unlock',UnlockCommand),CommandFactory['registerCommand']('lock',LockCommand),CommandFactory[m(0x165)](m(0x164),SearchCommand),CommandFactory[m(0x165)]('say',SayCommand);}[a45k(0x14b)](){const n=a45k;return this[n(0x15a)][n(0x14b)]();}[a45k(0x15e)](){const o=a45k;return o(0x174)+this[o(0x152)][o(0x15b)];}static['getInstance'](a,b){const p=a45k;return!Game['instance']&&(Game[p(0x15d)]=new Game(a,b)),Game[p(0x15d)];}['handleInput'](a){const q=a45k,b=a[q(0x14d)]()[q(0x16e)]('\x20'),c=b[0x0][q(0x148)](),d=b[q(0x161)](0x1);if(c===q(0x151))return null;if(c===q(0x16c))return q(0x155);if(c===q(0x170))return this['getHelpMessage']();if(c===q(0x157))return'';const e={'actor':this[q(0x152)],'rooms':this[q(0x15a)][q(0x176)](),'scene':this[q(0x15a)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f['execute'](d);return g;}return q(0x14a)+c+'\x22.';}[a45k(0x16f)](){const r=a45k,a=CommandFactory[r(0x177)]();let b=r(0x153);for(const c in a){if(a[r(0x16b)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x166)]()+'\x0a';}}return b+=r(0x156),b+=r(0x158),b;}}
1
+ const a45k=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xb0;let f=c[d];return f;},a45d(a,b);}(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0xcc))/0x1+parseInt(h(0xd9))/0x2+-parseInt(h(0xc7))/0x3*(-parseInt(h(0xb9))/0x4)+-parseInt(h(0xb2))/0x5*(-parseInt(h(0xdc))/0x6)+-parseInt(h(0xc0))/0x7*(parseInt(h(0xb8))/0x8)+-parseInt(h(0xcb))/0x9*(-parseInt(h(0xe2))/0xa)+parseInt(h(0xd5))/0xb*(-parseInt(h(0xb1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xa3c0b));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0xd4)]()[j(0xcf)](j(0xdb))[j(0xd4)]()[j(0xb3)](a45a)[j(0xcf)](j(0xdb));});function a45c(){const s=['currentRoom','rooms','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','registerCommand','toString','222893ZEUeaG','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','registerCommands','trim','2238132qMzOrU','slice','(((.+)+)+)+$','7782ZxEnuz','toLowerCase','player','-\x20clear:\x20Clear\x20the\x20screen.\x0a','scene','unlock','28170TVRElZ','initialize','equip','1164wJFQYD','520bUNlJU','constructor','getDescription','Available\x20Commands:\x0a','hasOwnProperty','getRooms','233224KmEYZH','3424iMhsQc','getHelpMessage','createCommand','getWelcomeMessage','Welcome,\x20','solve','clear','91zYSdhn','determineStartRoom','currentLocation','getInstance','maka','apply','instance','2778lcqhNp','say','name','quit','45UbdYrJ','954536DzaJax','drop','getAllRegisteredCommands','search'];a45c=function(){return s;};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';import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a45k(0xe0)];[a45k(0xde)];[a45k(0xd0)];[a45k(0xd1)];constructor(a,b){const l=a45k;this[l(0xde)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0xe0)][l(0xe3)](),this[l(0xde)][l(0xc2)]=this['determineStartRoom'](),this[l(0xd7)]();}['registerCommands'](){const m=a45k;CommandFactory['registerCommand']('look',LookCommand),CommandFactory[m(0xd3)]('go',GoCommand),CommandFactory['registerCommand']('take',TakeCommand),CommandFactory[m(0xd3)]('use',UseCommand),CommandFactory['registerCommand'](m(0xb0),EquipCommand),CommandFactory[m(0xd3)]('unequip',UnequipCommand),CommandFactory[m(0xd3)](m(0xbe),SolveCommand),CommandFactory[m(0xd3)](m(0xcd),DropCommand),CommandFactory[m(0xd3)](m(0xe1),UnlockCommand),CommandFactory[m(0xd3)]('lock',LockCommand),CommandFactory[m(0xd3)]('search',SearchCommand),CommandFactory['registerCommand'](m(0xc8),SayCommand);}[a45k(0xc1)](){const n=a45k;return this[n(0xe0)][n(0xc1)]();}[a45k(0xbc)](){const o=a45k;return o(0xbd)+this[o(0xde)][o(0xc9)];}static[a45k(0xc3)](a,b){const p=a45k;return!Game['instance']&&(Game['instance']=new Game(a,b)),Game[p(0xc6)];}['handleInput'](a){const q=a45k,b=a[q(0xd8)]()['split']('\x20'),c=b[0x0][q(0xdd)](),d=b[q(0xda)](0x1);if(c===q(0xca))return null;if(c===q(0xc4))return q(0xd6);if(c==='help')return this[q(0xba)]();if(c===q(0xbf))return'';const e={'actor':this[q(0xde)],'rooms':this[q(0xe0)][q(0xb7)](),'scene':this['scene']},f=CommandFactory[q(0xbb)](c,e);if(f){const g=f['execute'](d);return g;}return q(0xd2)+c+'\x22.';}[a45k(0xba)](){const r=a45k,a=CommandFactory[r(0xce)]();let b=r(0xb5);for(const c in a){if(a[r(0xb6)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xb4)]()+'\x0a';}}return b+=r(0xdf),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x1e9))/0x1+parseInt(f(0x1e7))/0x2*(parseInt(f(0x1df))/0x3)+-parseInt(f(0x1e2))/0x4*(parseInt(f(0x1e4))/0x5)+parseInt(f(0x1e8))/0x6*(-parseInt(f(0x1e3))/0x7)+parseInt(f(0x1ea))/0x8+-parseInt(f(0x1e0))/0x9+-parseInt(f(0x1de))/0xa*(-parseInt(f(0x1e5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xe57a5));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1e6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x1dc)]()[h(0x1dd)](h(0x1db))['toString']()[h(0x1e1)](a46a)[h(0x1dd)](h(0x1db));});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-0x1db;var f=c[d];return f;},a46d(a,b);}export*from'./npc.js';export*from'./player.js';function a46c(){var i=['1197710LReCIU','72456PdqBzy','10202085oKgYij','constructor','8828UekeDM','7fdUati','3745lVUIav','429xBTzWd','apply','46PlULVs','4579632fFQcVb','879853uYVpsr','1144872qhhgkD','(((.+)+)+)+$','toString','search'];a46c=function(){return i;};return a46c();}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x141;var f=c[d];return f;},a46d(a,b);}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x14d))/0x1*(-parseInt(f(0x146))/0x2)+-parseInt(f(0x14f))/0x3+-parseInt(f(0x144))/0x4+parseInt(f(0x149))/0x5*(parseInt(f(0x147))/0x6)+-parseInt(f(0x145))/0x7+parseInt(f(0x141))/0x8*(parseInt(f(0x14e))/0x9)+parseInt(f(0x142))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xc0dbb));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x14a)]()[h(0x148)](h(0x143))[h(0x14a)]()[h(0x14c)](a46a)[h(0x148)](h(0x143));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a46c(){var i=['397420HRxDLx','toString','apply','constructor','295258DLYGZr','1717335zFKFmo','4107687EGVobj','32qkoFcv','44160860UJBOrN','(((.+)+)+)+$','5379136GEOPIu','10693522rhuqrG','8aQwvgU','78bCtdFJ','search'];a46c=function(){return i;};return a46c();}export*from'./scene.js';
@@ -1 +1 @@
1
- var a47i=a47d;function a47c(){var m=['attemptUnlock','329gulapW','name','931777UjHvXM','isLockable','search','logger','apply','17896WIDcFS','unlockItemOrSolution','\x20and\x20','checkIfLocked','roomB','11338820JswZmG','Failed\x20to\x20unlock\x20door:\x20','(((.+)+)+)+$','getInstance','47028hwUxAa','8BGLUqN','.\x20Used:\x20','write','Door\x20created\x20between\x20','To\x20','5998lWqmhK','1820935wHSCMp','477nphaHk','isLocked','Door\x20unlocked:\x20','toString','858TbTkIW','roomA','7714729UBHRpU'];a47c=function(){return m;};return a47c();}(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0xaf))/0x1+-parseInt(f(0xc3))/0x2*(-parseInt(f(0xa9))/0x3)+-parseInt(f(0xbe))/0x4*(-parseInt(f(0xc4))/0x5)+-parseInt(f(0xbd))/0x6*(-parseInt(f(0xad))/0x7)+parseInt(f(0xb4))/0x8*(-parseInt(f(0xc5))/0x9)+-parseInt(f(0xb9))/0xa+-parseInt(f(0xab))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xe3a75));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0xb3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0xa8)]()[h(0xb1)](h(0xbb))[h(0xa8)]()['constructor'](a47a)[h(0xb1)](h(0xbb));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0xa6;var f=c[d];return f;},a47d(a,b);}export class Door extends AbstractDoor{[a47i(0xaa)];[a47i(0xb8)];[a47i(0xa6)];[a47i(0xb5)];[a47i(0xae)];[a47i(0xb2)];[a47i(0xb0)];constructor(a){var j=a47i;super(),this[j(0xaa)]=a['roomA'],this[j(0xb8)]=a[j(0xb8)],this[j(0xa6)]=a[j(0xa6)]||![],this['unlockItemOrSolution']=a[j(0xb5)],this['name']=a[j(0xae)]?capitalCase(a[j(0xae)]):j(0xc2)+a['roomB'][j(0xae)],this['logger']=Logger[j(0xbc)](),this[j(0xb0)]=!!a[j(0xb5)],this['logger'][j(0xc0)](j(0xc1)+this['roomA'][j(0xae)]+j(0xb6)+this[j(0xb8)][j(0xae)]+'.\x20Is\x20Locked:\x20'+this[j(0xa6)]);}['getOtherSide'](a){var k=a47i;return this[k(0xaa)]===a?this['roomB']:this['roomA'];}[a47i(0xac)](a){var l=a47i;if(this[l(0xa6)]&&this['unlockItemOrSolution']&&this[l(0xb5)]===a)return this[l(0xa6)]=![],this[l(0xb2)][l(0xc0)](l(0xa7)+this['name']+l(0xbf)+a),!![];return this[l(0xb2)][l(0xc0)](l(0xba)+this[l(0xae)]+l(0xbf)+a),![];}[a47i(0xb7)](){return this['isLocked'];}['checkIfLockable'](){return this['isLockable'];}}
1
+ var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0xa6))/0x1*(-parseInt(f(0xae))/0x2)+parseInt(f(0x92))/0x3+parseInt(f(0xaa))/0x4*(parseInt(f(0xa9))/0x5)+parseInt(f(0x9c))/0x6*(parseInt(f(0xa7))/0x7)+parseInt(f(0xa8))/0x8*(parseInt(f(0xa3))/0x9)+parseInt(f(0x9d))/0xa+-parseInt(f(0x97))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x3409f));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(0x99)]()[g(0x98)]('(((.+)+)+)+$')[g(0x99)]()['constructor'](a47a)[g(0x98)](g(0x93));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x91;var f=c[d];return f;},a47d(a,b);}export class Door extends AbstractDoor{['roomA'];['roomB'];[a47h(0xa1)];[a47h(0x9b)];[a47h(0xa2)];[a47h(0x96)];[a47h(0xac)];constructor(a){var i=a47h;super(),this[i(0x95)]=a['roomA'],this['roomB']=a[i(0xab)],this[i(0xa1)]=a['isLocked']||![],this[i(0x9b)]=a[i(0x9b)],this[i(0xa2)]=a[i(0xa2)]?capitalCase(a[i(0xa2)]):i(0x9a)+a['roomB'][i(0xa2)],this[i(0x96)]=Logger[i(0x94)](),this[i(0xac)]=!!a[i(0x9b)],this[i(0x96)][i(0x9e)]('Door\x20created\x20between\x20'+this[i(0x95)][i(0xa2)]+'\x20and\x20'+this[i(0xab)][i(0xa2)]+i(0x9f)+this[i(0xa1)]);}[a47h(0xad)](a){var j=a47h;return this[j(0x95)]===a?this[j(0xab)]:this[j(0x95)];}['attemptUnlock'](a){var k=a47h;if(this['isLocked']&&this[k(0x9b)]&&this[k(0x9b)]===a)return this[k(0xa1)]=![],this[k(0x96)]['write'](k(0xa0)+this[k(0xa2)]+k(0x91)+a),!![];return this[k(0x96)][k(0x9e)](k(0xa5)+this[k(0xa2)]+'.\x20Used:\x20'+a),![];}[a47h(0xa4)](){var l=a47h;return this[l(0xa1)];}['checkIfLockable'](){var m=a47h;return this[m(0xac)];}}function a47c(){var n=['30efYiTM','254670lfjRaI','write','.\x20Is\x20Locked:\x20','Door\x20unlocked:\x20','isLocked','name','1343187WdCCBl','checkIfLocked','Failed\x20to\x20unlock\x20door:\x20','2HfrQOV','73479XnlnYa','8ohOeib','5Xupotg','1307672BoAAYS','roomB','isLockable','getOtherSide','110816tOlmTP','.\x20Used:\x20','650178XEmVIe','(((.+)+)+)+$','getInstance','roomA','logger','4915592uTEriB','search','toString','To\x20','unlockItemOrSolution'];a47c=function(){return n;};return a47c();}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x12b))/0x1+parseInt(f(0x12e))/0x2+parseInt(f(0x11c))/0x3+parseInt(f(0x135))/0x4+parseInt(f(0x12f))/0x5+-parseInt(f(0x117))/0x6+-parseInt(f(0x115))/0x7*(parseInt(f(0x139))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x6e820));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x134)]()[h(0x11a)](h(0x128))[h(0x134)]()[h(0x13a)](a48a)[h(0x11a)](h(0x128));});a48a();import{capitalCase}from'change-case';function a48c(){const r=['set','Removed\x20item:\x20','hasItem','listItems','\x20from\x20inventory.','getWeight','\x20in\x20','map','has','toLowerCase','Listed\x20items\x20in\x20inventory:\x20','(((.+)+)+)+$','name','apply','629848FGJoov','values','delete','1015798QRylxV','3454385rcPgvd','logger','Retrieved\x20details\x20for\x20item:\x20','.\x20Exists:\x20','\x20to\x20inventory.','toString','1012188ZWsOGu','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','items','.\x20Item\x20not\x20found.','248UbYmpf','constructor','getAllItems','309862xFGSmH','getItem','2806812klCmSn','keys','Added\x20item:\x20','search','write','633051NiNvQR'];a48c=function(){return r;};return a48c();}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-0x114;let f=c[d];return f;},a48d(a,b);}export class Inventory extends AbstractInventory{[a48i(0x137)];['logger'];constructor(){const j=a48i;super(),this[j(0x137)]=new Map(),this[j(0x130)]=Logger['getInstance']();}['addItem'](a){const k=a48i;this['items'][k(0x11d)](a['name'][k(0x126)](),a),this['logger']['write'](k(0x119)+a[k(0x129)]+k(0x133));}['removeItem'](a){const l=a48i,b=this[l(0x116)](a);if(b)return this['items'][l(0x12d)](a['toLowerCase']()),this['logger'][l(0x11b)](l(0x11e)+a+l(0x121)),b;return this[l(0x130)][l(0x11b)]('Failed\x20to\x20remove\x20item:\x20'+a+l(0x138)),null;}[a48i(0x11f)](a){const m=a48i,b=this[m(0x137)][m(0x125)](a[m(0x126)]()),c=[...this[m(0x137)][m(0x118)]()];return this[m(0x130)][m(0x11b)]('Checked\x20for\x20item:\x20'+a+m(0x123)+c['join'](',\x20')+m(0x132)+b+'.'),b;}[a48i(0x116)](a){const n=a48i,b=this['items']['get'](a['toLowerCase']())||null;return b?this[n(0x130)][n(0x11b)](n(0x131)+a+'.'):this[n(0x130)][n(0x11b)](n(0x136)+a+n(0x138)),b;}[a48i(0x120)](){const o=a48i,a=[...this['items']['keys']()],b=a[o(0x124)](c=>capitalCase(c));return this[o(0x130)]['write'](o(0x127)+b['join'](',\x20')+'.'),a;}[a48i(0x122)](){const p=a48i;let a=0x0;for(const b of this['items'][p(0x12c)]()){a+=b['weight'];}return a;}[a48i(0x114)](){const q=a48i;return[...this['items'][q(0x12c)]()];}}
1
+ const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0xa8))/0x1+-parseInt(f(0xa7))/0x2*(parseInt(f(0x8d))/0x3)+parseInt(f(0x91))/0x4*(-parseInt(f(0x8a))/0x5)+parseInt(f(0x92))/0x6+parseInt(f(0xa4))/0x7*(parseInt(f(0x90))/0x8)+parseInt(f(0x89))/0x9+parseInt(f(0x94))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x82dd2));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x8b)]()[h(0x9f)](h(0xa9))[h(0x8b)]()['constructor'](a48a)[h(0x9f)]('(((.+)+)+)+$');});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x81;let f=c[d];return f;},a48d(a,b);}function a48c(){const r=['has','logger','1841HIqBEx','getItem','getWeight','2fBkDIZ','108141PWoZSq','(((.+)+)+)+$','weight','join','map','listItems','getInstance','keys','\x20from\x20inventory.','.\x20Exists:\x20','3490002YssMan','35nqIpaa','toString','write','48567UJpQtY','addItem','Added\x20item:\x20','9984ftlTTP','241016bQMbZe','19914nezsXh','name','1465230KOrBCC','set','Failed\x20to\x20remove\x20item:\x20','\x20in\x20','values','get','hasItem','delete','Retrieved\x20details\x20for\x20item:\x20','items','Removed\x20item:\x20','search','apply','toLowerCase'];a48c=function(){return r;};return a48c();}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a48i(0xa3)];constructor(){const j=a48i;super(),this['items']=new Map(),this[j(0xa3)]=Logger[j(0x85)]();}[a48i(0x8e)](a){const k=a48i;this['items'][k(0x95)](a[k(0x93)][k(0xa1)](),a),this[k(0xa3)]['write'](k(0x8f)+a[k(0x93)]+'\x20to\x20inventory.');}['removeItem'](a){const l=a48i,b=this[l(0xa5)](a);if(b)return this[l(0x9d)][l(0x9b)](a[l(0xa1)]()),this[l(0xa3)][l(0x8c)](l(0x9e)+a+l(0x87)),b;return this[l(0xa3)][l(0x8c)](l(0x96)+a+'.\x20Item\x20not\x20found.'),null;}[a48i(0x9a)](a){const m=a48i,b=this[m(0x9d)][m(0xa2)](a[m(0xa1)]()),c=[...this['items']['keys']()];return this[m(0xa3)][m(0x8c)]('Checked\x20for\x20item:\x20'+a+m(0x97)+c[m(0x82)](',\x20')+m(0x88)+b+'.'),b;}['getItem'](a){const n=a48i,b=this[n(0x9d)][n(0x99)](a[n(0xa1)]())||null;return b?this['logger'][n(0x8c)](n(0x9c)+a+'.'):this[n(0xa3)][n(0x8c)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),b;}[a48i(0x84)](){const o=a48i,a=[...this['items'][o(0x86)]()],b=a[o(0x83)](c=>capitalCase(c));return this['logger'][o(0x8c)]('Listed\x20items\x20in\x20inventory:\x20'+b[o(0x82)](',\x20')+'.'),a;}[a48i(0xa6)](){const p=a48i;let a=0x0;for(const b of this[p(0x9d)][p(0x98)]()){a+=b[p(0x81)];}return a;}['getAllItems'](){const q=a48i;return[...this[q(0x9d)][q(0x98)]()];}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0xee))/0x1+-parseInt(f(0xf3))/0x2+parseInt(f(0xf5))/0x3+parseInt(f(0xf7))/0x4+-parseInt(f(0xe5))/0x5+-parseInt(f(0xfa))/0x6*(parseInt(f(0xf1))/0x7)+parseInt(f(0xfb))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x93907));function a49c(){var l=['toString','search','description','use','15561oiRDAS','uuid','(((.+)+)+)+$','2828623fGdfDY','shape','1303390LYgnLv','texture','943596fZXPAI','apply','1515576jjgsbx','You\x20use\x20the\x20','name','12CqaNNI','20410568dgTQDh','category','color','rating','5980060tgXAqE','weight','.\x20Nothing\x20special\x20happens.','size','constructor'];a49c=function(){return l;};return a49c();}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0xea)]()[h(0xeb)](h(0xf0))['toString']()[h(0xe9)](a49a)[h(0xeb)](h(0xf0));});function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xe2;var f=c[d];return f;},a49d(a,b);}a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0xef)];['name'];[a49i(0xec)];[a49i(0xe8)];[a49i(0xe2)];[a49i(0xf2)];[a49i(0xe3)];[a49i(0xf4)];['rating'];[a49i(0xe6)];constructor(a){var j=a49i;super(),this[j(0xf9)]=a[j(0xf9)],this['description']=a[j(0xec)],this['size']=a[j(0xe8)],this[j(0xe2)]=a[j(0xe2)],this[j(0xf2)]=a[j(0xf2)],this[j(0xe3)]=a['color'],this[j(0xf4)]=a[j(0xf4)],this[j(0xe4)]=a[j(0xe4)],this['weight']=a['weight'],this[j(0xef)]=a49e();}[a49i(0xed)](){var k=a49i;return k(0xf8)+this[k(0xf9)]+k(0xe7);}}
1
+ function a49c(){var l=['shape','3jLPOcw','10MfQOrS','.\x20Nothing\x20special\x20happens.','4142650YezPdq','5876577ZvjiLO','apply','texture','1WqbAAv','You\x20use\x20the\x20','name','use','168488wlnRIh','weight','toString','3568332FUkiWz','category','31867188ykdXil','rating','3036786RgovNX','search','uuid','size','708258qbBznX','459dqJlVp','color','(((.+)+)+)+$','11hBjVKG','description'];a49c=function(){return l;};return a49c();}var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1d6))/0x1*(-parseInt(f(0x1e5))/0x2)+-parseInt(f(0x1ec))/0x3*(parseInt(f(0x1dd))/0x4)+-parseInt(f(0x1ed))/0x5*(parseInt(f(0x1e1))/0x6)+parseInt(f(0x1d3))/0x7+-parseInt(f(0x1da))/0x8*(parseInt(f(0x1e6))/0x9)+parseInt(f(0x1ef))/0xa*(parseInt(f(0x1e9))/0xb)+parseInt(f(0x1df))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x8cd16));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1dc)]()['search'](h(0x1e8))[h(0x1dc)]()['constructor'](a49a)[h(0x1e2)](h(0x1e8));});function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1d3;var f=c[d];return f;},a49d(a,b);}a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x1e3)];['name'];['description'];[a49i(0x1e4)];[a49i(0x1de)];[a49i(0x1eb)];[a49i(0x1e7)];[a49i(0x1d5)];[a49i(0x1e0)];[a49i(0x1db)];constructor(a){var j=a49i;super(),this[j(0x1d8)]=a[j(0x1d8)],this['description']=a[j(0x1ea)],this[j(0x1e4)]=a[j(0x1e4)],this['category']=a['category'],this[j(0x1eb)]=a['shape'],this[j(0x1e7)]=a[j(0x1e7)],this[j(0x1d5)]=a[j(0x1d5)],this[j(0x1e0)]=a[j(0x1e0)],this['weight']=a[j(0x1db)],this[j(0x1e3)]=a49e();}[a49i(0x1d9)](){var k=a49i;return k(0x1d7)+this[k(0x1d8)]+k(0x1ee);}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x182))/0x1+parseInt(f(0x17e))/0x2+-parseInt(f(0x187))/0x3*(parseInt(f(0x18e))/0x4)+-parseInt(f(0x180))/0x5*(parseInt(f(0x190))/0x6)+-parseInt(f(0x185))/0x7*(-parseInt(f(0x192))/0x8)+-parseInt(f(0x186))/0x9+parseInt(f(0x18d))/0xa*(parseInt(f(0x18c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xc1de8));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x191)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()['search'](h(0x189))['toString']()[h(0x183)](a50a)[h(0x17c)](h(0x189));});a50a();import{Player}from'./player.js';function a50c(){const o=['10yZXiZB','894636uQosby','moveTo','2344668vvUjDc','apply','8wjGgXt','_name','execute','name','search','_dialogue','452942DopebN','speak','5WPBNhh','scene','955339MSFaor','constructor','random','7109137ZsMRao','1933857ibCZsZ','15QiJage','rooms','(((.+)+)+)+$','length','floor','24544421KpQmIT'];a50c=function(){return o;};return a50c();}import{GoCommand}from'../commands/go.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x17b;let f=c[d];return f;},a50d(a,b);}export class NPC extends Player{[a50i(0x193)];[a50i(0x17d)];['rooms'];['scene'];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x193)]=a,this['_dialogue']=b,this[j(0x188)]=c;}get[a50i(0x17b)](){const k=a50i;return this[k(0x193)];}[a50i(0x17f)](){const l=a50i;return this[l(0x17d)][Math[l(0x18b)](Math[l(0x184)]()*this['_dialogue']['length'])];}['autonomousMove'](a){const m=a50i,b=a[Math[m(0x18b)](Math['random']()*a[m(0x18a)])];this[m(0x18f)](b[m(0x17b)]);}[a50i(0x18f)](a){const n=a50i,b={'actor':this,'rooms':this[n(0x188)],'scene':this[n(0x181)]},c=new GoCommand(b);c[n(0x194)]([a]);}}
1
+ const a50i=a50d;function a50c(){const o=['search','217DrIiGS','59733tffQss','205515GZqlGm','floor','_name','160QaMVgr','23406ZiPwQa','66ZVGzNS','256wzRPXy','2412240TypCOH','toString','rooms','110hNahLt','1Benhco','scene','463208inQrUO','apply','length','autonomousMove','_dialogue','name','3138837hItokJ','moveTo','213912LiNCBX'];a50c=function(){return o;};return a50c();}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x1c1))/0x1*(-parseInt(f(0x1c3))/0x2)+-parseInt(f(0x1b5))/0x3*(parseInt(f(0x1bc))/0x4)+-parseInt(f(0x1c0))/0x5*(-parseInt(f(0x1ba))/0x6)+-parseInt(f(0x1b4))/0x7*(-parseInt(f(0x1b2))/0x8)+parseInt(f(0x1b6))/0x9*(parseInt(f(0x1b9))/0xa)+-parseInt(f(0x1bb))/0xb*(-parseInt(f(0x1bd))/0xc)+-parseInt(f(0x1c9))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xb4626));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x1be)]()[h(0x1b3)]('(((.+)+)+)+$')['toString']()['constructor'](a50a)['search']('(((.+)+)+)+$');});a50a();function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1b2;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{[a50i(0x1b8)];[a50i(0x1c7)];[a50i(0x1bf)];[a50i(0x1c2)];constructor(a,b,c,d){const j=a50i;super(d),this['_name']=a,this[j(0x1c7)]=b,this[j(0x1bf)]=c;}get[a50i(0x1c8)](){const k=a50i;return this[k(0x1b8)];}['speak'](){const l=a50i;return this[l(0x1c7)][Math['floor'](Math['random']()*this['_dialogue'][l(0x1c5)])];}[a50i(0x1c6)](a){const m=a50i,b=a[Math[m(0x1b7)](Math['random']()*a[m(0x1c5)])];this[m(0x1ca)](b[m(0x1c8)]);}[a50i(0x1ca)](a){const n=a50i,b={'actor':this,'rooms':this[n(0x1bf)],'scene':this[n(0x1c2)]},c=new GoCommand(b);c['execute']([a]);}}
@@ -1 +1 @@
1
- function a51c(){const B=['You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','\x20is\x20no\x20longer\x20listeng\x20in\x20','leftHand','1738014zffqFi','8xCTRyp','equipment','\x20slot.','474468GHhIsO','determineEquipmentSlot','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','You\x20equipped\x20','enterRoom','logger','body\x20armor','hear','7HEqoiB','armarmor','Removed\x20','_currentLocation','hasItem','weapon','torso','leg\x20armor','3691143dlEchy','error','toString','Nexus','arm\x20armor','_equipment','unequipBySlot','Boots','speak','\x20in\x20your\x20inventory.','Invalid\x20category\x20or\x20slot:\x20','Failed\x20to\x20remove\x20','weight','A\x20featureless\x20room','bind','toLowerCase','off','apply','2zBKtbZ','legarmor','_playerName','search','Gloves','2567528GlVxNz','getWeight','Weapon','category','(((.+)+)+)+$','name','log','removeInventory','You\x20don\x27t\x20have\x20','feet','removeItem','You\x20unequipped\x20','_maxCarryingWeight','values','addInventory','BodyArmor','Shield','constructor','\x20says:\x20\x22','\x20is\x20now\x20listening\x20in\x20room\x20','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','legs','3118475WhabCs','rightHand','_inventory','write','currentLocation','858134zzmZfx','getInstance','currentWeight','hat','\x20from\x20player\x27s\x20inventory.','gloves','leaveRoom','addItem','maxCarryingWeight','canEquip','initialEquipment','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','equip','.\x20You\x20must\x20unequip\x20it\x20first.','bodyarmor','Hat','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','arms','inventoryItems','35581880RWbMXD','head'];a51c=function(){return B;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xa1;let f=c[d];return f;},a51d(a,b);}const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0xe6))/0x1*(-parseInt(f(0xa8))/0x2)+-parseInt(f(0xc4))/0x3+-parseInt(f(0xeb))/0x4+-parseInt(f(0xa3))/0x5+parseInt(f(0xc0))/0x6*(-parseInt(f(0xcc))/0x7)+parseInt(f(0xc1))/0x8*(-parseInt(f(0xd4))/0x9)+parseInt(f(0xbb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x8cc0d));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xd6)]()[h(0xe9)](h(0xef))[h(0xd6)]()[h(0xfc)](a51a)['search'](h(0xef));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0xe8)];[a51i(0xcf)];[a51i(0xa5)];[a51i(0xd9)];[a51i(0xf7)]=0x32;['logger'];constructor(a){const j=a51i;super(),this['_playerName']=a['playerName'],this[j(0xcf)]=a['startLocation']||new Room({'name':j(0xd7),'description':j(0xe1)}),this[j(0xa5)]=new Inventory(),this['logger']=Logger[j(0xa9)]();if(a?.[j(0xba)])for(const b of a['inventoryItems']){this[j(0xa5)]['addItem'](b);}this['_equipment']=a?.[j(0xb2)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0xf0)](){const k=a51i;return this[k(0xe8)];}get[a51i(0xa7)](){const l=a51i;return this[l(0xcf)];}set[a51i(0xa7)](a){const m=a51i;this[m(0xcf)]!==a&&(this[m(0xae)](),this[m(0xc8)](a)),this[m(0xcf)]=a;}get['inventory'](){const n=a51i;return this[n(0xa5)];}get[a51i(0xc2)](){return this['_equipment'];}set['equipment'](a){const o=a51i;this[o(0xd9)]=a;}get[a51i(0xb0)](){return this['_maxCarryingWeight'];}set[a51i(0xb0)](a){const p=a51i;a>0x0?this[p(0xf7)]=a:console[p(0xd5)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a51i(0xaa)](){const q=a51i;let a=this[q(0xa5)][q(0xec)]();for(const b in this['_equipment']){const c=this[q(0xd9)][b];c&&(a+=c[q(0xe0)]);}return a;}[a51i(0xf9)](a){const r=a51i;if(this[r(0xaa)]+a[r(0xe0)]>this[r(0xb0)]){this[r(0xc9)][r(0xa6)](r(0xc6));throw new Error(r(0xb8));}this[r(0xa5)][r(0xaf)](a),this[r(0xc9)]['write']('Added\x20'+a[r(0xf0)]+'\x20to\x20player\x27s\x20inventory.');}[a51i(0xf2)](a){const s=a51i;if(this[s(0xa5)][s(0xf5)](a['name']))return this[s(0xc9)][s(0xa6)](s(0xce)+a[s(0xf0)]+s(0xac)),!![];return this[s(0xc9)][s(0xa6)](s(0xdf)+a[s(0xf0)]+s(0xac)),![];}[a51i(0xb4)](a){const t=a51i;if(!this[t(0xa5)][t(0xd0)](a[t(0xf0)]))return t(0xf3)+a[t(0xf0)]+t(0xdd);if(!this[t(0xb1)](a))return'You\x20can\x27t\x20equip\x20'+a[t(0xf0)]+'.';const b=this[t(0xc5)](a[t(0xee)]);if(!b)return a[t(0xf0)]+t(0xa1);if(this[t(0xc2)][b])return t(0xbd)+b+t(0xb5);return this['equipment'][b]=a,this[t(0xf2)](a),t(0xc7)+a[t(0xf0)]+'.';}['unequip'](a){const u=a51i;let b=a;if(!this[u(0xc2)][camelCase(b)]){b=this[u(0xc5)](a);if(!b)return u(0xde)+a+'.';}return this[u(0xda)](b);}[a51i(0xc5)](a){const v=a51i;switch(a[v(0xe3)]()){case Category[v(0xed)]['toLowerCase']():return v(0xa4);case Category[v(0xfb)][v(0xe3)]():return v(0xbf);case Category[v(0xea)][v(0xe3)]():return v(0xad);case Category['Helmet'][v(0xe3)]():case Category[v(0xb7)][v(0xe3)]():return v(0xbc);case Category[v(0xdb)][v(0xe3)]():return v(0xf4);case Category['LegArmor']['toLowerCase']():return v(0xa2);case Category['ArmArmor'][v(0xe3)]():return v(0xb9);case Category[v(0xfa)][v(0xe3)]():return v(0xd2);case v(0xd1):return'rightHand';case'shield':return v(0xbf);case v(0xad):return'gloves';case'helmet':case v(0xab):return v(0xbc);case'boots':return v(0xf4);case v(0xd3):case v(0xe7):return v(0xa2);case v(0xd8):case v(0xcd):return v(0xb9);case v(0xca):case v(0xb6):case v(0xd2):return v(0xd2);default:return null;}}['canEquip'](a){const w=a51i;return Object[w(0xf8)](Category)['includes'](a[w(0xee)]);}[a51i(0xda)](a){const x=a51i,b=this['equipment'][a];if(!b)return x(0xb3)+a+x(0xc3);return this[x(0xf9)](b),this[x(0xc2)][a]=null,x(0xf6)+b['name']+'.';}[a51i(0xcb)](a,b){const y=a51i;a!==this&&this[y(0xc9)][y(0xf1)](a[y(0xf0)]+y(0xfd)+b+'\x22');}['enterRoom'](a){const z=a51i;this[z(0xcf)]=a,a['on'](z(0xdc),this[z(0xcb)][z(0xe2)](this)),this[z(0xc9)][z(0xa6)](this[z(0xf0)]+z(0xfe)+a['name']);}[a51i(0xae)](){const A=a51i;this['_currentLocation']&&(this[A(0xcf)][A(0xe4)](A(0xdc),this[A(0xcb)]['bind'](this)),this['logger']['write'](this[A(0xf0)]+A(0xbe)+this['_currentLocation'][A(0xf0)]));}}
1
+ const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x107))/0x1*(-parseInt(f(0xde))/0x2)+parseInt(f(0x10a))/0x3+-parseInt(f(0xf0))/0x4+parseInt(f(0xe3))/0x5*(parseInt(f(0xfb))/0x6)+parseInt(f(0xf3))/0x7*(-parseInt(f(0xe7))/0x8)+-parseInt(f(0xf1))/0x9+-parseInt(f(0x12d))/0xa*(parseInt(f(0x12f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x58d50));function a51c(){const A=['302216HLdtAx','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','boots','getInstance','legs','torso','_currentLocation','Shield','You\x20equipped\x20','1525944jHkprS','4902129XOKRZE','category','7SZgYiv','logger','shield','playerName','Failed\x20to\x20remove\x20','weight','_playerName','write','5514dhWXew','bind','.\x20You\x20must\x20unequip\x20it\x20first.','getWeight','bodyarmor','currentWeight','body\x20armor','\x20in\x20your\x20inventory.','equipment','\x20says:\x20\x22','helmet','hat','11dthNep','Added\x20','leg\x20armor','1223376rxYrPu','addItem','\x20to\x20player\x27s\x20inventory.','_inventory','You\x20don\x27t\x20have\x20','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','off','leftHand','canEquip','enterRoom','weapon','\x20is\x20now\x20listening\x20in\x20room\x20','head','maxCarryingWeight','_maxCarryingWeight','ArmArmor','legarmor','unequipBySlot','A\x20featureless\x20room','gloves','startLocation','Removed\x20','hasItem','Boots','name','equip','speak','toString','currentLocation','leaveRoom','removeInventory','log','\x20from\x20player\x27s\x20inventory.','hear','Nexus','4410qNwxqB','\x20slot.','1309ywAbPJ','You\x20unequipped\x20','LegArmor','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','Gloves','rightHand','arm\x20armor','constructor','BodyArmor','toLowerCase','inventory','inventoryItems','98116kuxOKn','determineEquipmentSlot','arms','_equipment','Hat','2355RKGRah','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','search','feet'];a51c=function(){return A;};return a51c();}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const g=a51d;return a51a[g(0x125)]()[g(0xe5)]('(((.+)+)+)+$')[g(0x125)]()[g(0xd9)](a51a)[g(0xe5)]('(((.+)+)+)+$');});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xd8;let f=c[d];return f;},a51d(a,b);}export class Player extends AbstractPlayer{[a51h(0xf9)];[a51h(0xed)];[a51h(0x10d)];['_equipment'];[a51h(0x118)]=0x32;[a51h(0xf4)];constructor(a){const i=a51h;super(),this['_playerName']=a[i(0xf6)],this[i(0xed)]=a[i(0x11e)]||new Room({'name':i(0x12c),'description':i(0x11c)}),this[i(0x10d)]=new Inventory(),this[i(0xf4)]=Logger[i(0xea)]();if(a?.[i(0xdd)])for(const b of a[i(0xdd)]){this['_inventory'][i(0x10b)](b);}this[i(0xe1)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0x122)](){return this['_playerName'];}get[a51h(0x126)](){const j=a51h;return this[j(0xed)];}set[a51h(0x126)](a){const k=a51h;this[k(0xed)]!==a&&(this[k(0x127)](),this[k(0x113)](a)),this[k(0xed)]=a;}get[a51h(0xdc)](){const l=a51h;return this[l(0x10d)];}get[a51h(0x103)](){return this['_equipment'];}set['equipment'](a){const m=a51h;this[m(0xe1)]=a;}get[a51h(0x117)](){const n=a51h;return this[n(0x118)];}set[a51h(0x117)](a){const o=a51h;a>0x0?this[o(0x118)]=a:console['error']('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a51h(0x100)](){const p=a51h;let a=this['_inventory'][p(0xfe)]();for(const b in this[p(0xe1)]){const c=this[p(0xe1)][b];c&&(a+=c[p(0xf8)]);}return a;}['addInventory'](a){const q=a51h;if(this[q(0x100)]+a[q(0xf8)]>this[q(0x117)]){this[q(0xf4)][q(0xfa)](q(0x132));throw new Error(q(0x133));}this[q(0x10d)]['addItem'](a),this[q(0xf4)][q(0xfa)](q(0x108)+a[q(0x122)]+q(0x10c));}[a51h(0x128)](a){const r=a51h;if(this[r(0x10d)]['removeItem'](a[r(0x122)]))return this[r(0xf4)][r(0xfa)](r(0x11f)+a[r(0x122)]+r(0x12a)),!![];return this[r(0xf4)][r(0xfa)](r(0xf7)+a['name']+'\x20from\x20player\x27s\x20inventory.'),![];}[a51h(0x123)](a){const s=a51h;if(!this[s(0x10d)][s(0x120)](a[s(0x122)]))return s(0x10e)+a[s(0x122)]+s(0x102);if(!this[s(0x112)](a))return'You\x20can\x27t\x20equip\x20'+a[s(0x122)]+'.';const b=this[s(0xdf)](a['category']);if(!b)return a[s(0x122)]+s(0xe8);if(this[s(0x103)][b])return s(0x10f)+b+s(0xfd);return this[s(0x103)][b]=a,this['removeInventory'](a),s(0xef)+a['name']+'.';}['unequip'](a){const t=a51h;let b=a;if(!this[t(0x103)][camelCase(b)]){b=this[t(0xdf)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[t(0x11b)](b);}['determineEquipmentSlot'](a){const u=a51h;switch(a[u(0xdb)]()){case Category['Weapon'][u(0xdb)]():return u(0x135);case Category[u(0xee)][u(0xdb)]():return u(0x111);case Category[u(0x134)][u(0xdb)]():return u(0x11d);case Category['Helmet'][u(0xdb)]():case Category[u(0xe2)]['toLowerCase']():return u(0x116);case Category[u(0x121)][u(0xdb)]():return u(0xe6);case Category[u(0x131)]['toLowerCase']():return u(0xeb);case Category[u(0x119)][u(0xdb)]():return u(0xe0);case Category[u(0xda)]['toLowerCase']():return u(0xec);case u(0x114):return'rightHand';case u(0xf5):return u(0x111);case u(0x11d):return u(0x11d);case u(0x105):case u(0x106):return'head';case u(0xe9):return u(0xe6);case u(0x109):case u(0x11a):return'legs';case u(0xd8):case'armarmor':return'arms';case u(0x101):case u(0xff):case'torso':return'torso';default:return null;}}['canEquip'](a){const v=a51h;return Object['values'](Category)['includes'](a[v(0xf2)]);}[a51h(0x11b)](a){const w=a51h,b=this[w(0x103)][a];if(!b)return w(0xe4)+a+w(0x12e);return this['addInventory'](b),this['equipment'][a]=null,w(0x130)+b[w(0x122)]+'.';}[a51h(0x12b)](a,b){const x=a51h;a!==this&&this[x(0xf4)][x(0x129)](a[x(0x122)]+x(0x104)+b+'\x22');}[a51h(0x113)](a){const y=a51h;this[y(0xed)]=a,a['on'](y(0x124),this[y(0x12b)][y(0xfc)](this)),this[y(0xf4)][y(0xfa)](this[y(0x122)]+y(0x115)+a[y(0x122)]);}['leaveRoom'](){const z=a51h;this[z(0xed)]&&(this[z(0xed)][z(0x110)](z(0x124),this[z(0x12b)][z(0xfc)](this)),this[z(0xf4)][z(0xfa)](this[z(0x122)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[z(0xed)][z(0x122)]));}}
@@ -1 +1 @@
1
- function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x147;var f=c[d];return f;},a52d(a,b);}function a52c(){var m=['requiredPhrase','logger','42zeApcX','requiredItem','1011928bdqHHL','successMessage','5974zlBsei','constructor','solved','toString','(((.+)+)+)+$','49469eTPpTb','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','2UwgvHy','hasItem','search','write','failureMessage','You\x20have\x20already\x20solved\x20this\x20puzzle.','riddle','5gNFucT','1059336BzSHRA','564152ZPCVwg','6147040EXfTTX','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','getInstance','hasRequiredItem','rewardItem','231432IumZas','matchesRequiredPhrase','You\x20solved\x20the\x20puzzle!'];a52c=function(){return m;};return a52c();}var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x15a))/0x1*(-parseInt(f(0x153))/0x2)+-parseInt(f(0x14a))/0x3+-parseInt(f(0x163))/0x4*(parseInt(f(0x161))/0x5)+-parseInt(f(0x14f))/0x6*(parseInt(f(0x158))/0x7)+-parseInt(f(0x151))/0x8+-parseInt(f(0x162))/0x9+parseInt(f(0x164))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x1a920));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(0x156)]()[g(0x15c)](g(0x157))[g(0x156)]()[g(0x154)](a52a)[g(0x15c)](g(0x157));});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a52h(0x147)]();[a52h(0x155)]=![];[a52h(0x150)];['requiredPhrase'];[a52h(0x160)];[a52h(0x149)];[a52h(0x152)];[a52h(0x15e)];constructor(a){var i=a52h;super(),this[i(0x150)]=a[i(0x150)],this['requiredPhrase']=a['requiredPhrase'],this[i(0x160)]=a[i(0x160)],this[i(0x149)]=a[i(0x149)],this[i(0x152)]=a[i(0x152)]||i(0x14c),this['failureMessage']=a[i(0x15e)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a52h(0x148)](a){var j=a52h;if(this['requiredItem'])return a[j(0x15b)](this[j(0x150)]);return![];}['matchesRequiredPhrase'](a){var k=a52h;return this[k(0x14d)]===a;}['solve'](a,b){var l=a52h;if(this[l(0x155)])return this[l(0x14e)][l(0x15d)](l(0x165)),{'success':![],'message':l(0x15f)};return this[l(0x148)](b)||this[l(0x14b)](a)?(this['solved']=!![],this[l(0x14e)][l(0x15d)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this['successMessage']}):(this[l(0x14e)][l(0x15d)](l(0x159)),{'success':![],'message':this[l(0x15e)]});}}
1
+ var a52i=a52d;function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xf8;var f=c[d];return f;},a52d(a,b);}(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x116))/0x1*(parseInt(f(0x108))/0x2)+-parseInt(f(0x107))/0x3*(parseInt(f(0xf8))/0x4)+parseInt(f(0x112))/0x5+-parseInt(f(0x102))/0x6*(parseInt(f(0x109))/0x7)+-parseInt(f(0x110))/0x8*(-parseInt(f(0x105))/0x9)+-parseInt(f(0xfe))/0xa*(parseInt(f(0xfd))/0xb)+parseInt(f(0x10c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xa0029));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xfb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0xfc)](h(0x10f))['toString']()[h(0x117)](a52a)[h(0xfc)](h(0x10f));});function a52c(){var n=['requiredPhrase','rewardItem','apply','search','166298HtlXbN','590lnJgfe','riddle','getInstance','requiredItem','1106844TiipxN','matchesRequiredPhrase','solved','1701477SeTfUI','hasRequiredItem','1891185qdBVaW','2ZarWyZ','7vJAmFI','successMessage','logger','11360040ykcKGH','Puzzle:\x20Correct\x20solution\x20provided.','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','(((.+)+)+)+$','16yqyGfE','failureMessage','310025MxtUnO','You\x20solved\x20the\x20puzzle!','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','write','975451Mwdiyj','constructor','4jVOWoB'];a52c=function(){return n;};return a52c();}a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x10b)]=Logger[a52i(0x100)]();[a52i(0x104)]=![];['requiredItem'];['requiredPhrase'];['riddle'];[a52i(0xfa)];[a52i(0x10a)];[a52i(0x111)];constructor(a){var j=a52i;super(),this['requiredItem']=a[j(0x101)],this['requiredPhrase']=a[j(0xf9)],this[j(0xff)]=a[j(0xff)],this[j(0xfa)]=a['rewardItem'],this[j(0x10a)]=a[j(0x10a)]||j(0x113),this['failureMessage']=a[j(0x111)]||j(0x114);}[a52i(0x106)](a){var k=a52i;if(this['requiredItem'])return a['hasItem'](this[k(0x101)]);return![];}['matchesRequiredPhrase'](a){var l=a52i;return this[l(0xf9)]===a;}['solve'](a,b){var m=a52i;if(this[m(0x104)])return this[m(0x10b)][m(0x115)](m(0x10e)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[m(0x106)](b)||this[m(0x103)](a)?(this['solved']=!![],this[m(0x10b)][m(0x115)](m(0x10d)),{'success':!![],'message':this[m(0x10a)]}):(this[m(0x10b)][m(0x115)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[m(0x111)]});}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0xfc))/0x1+-parseInt(f(0xe2))/0x2+-parseInt(f(0x101))/0x3+-parseInt(f(0x107))/0x4+parseInt(f(0xf6))/0x5*(-parseInt(f(0xe0))/0x6)+parseInt(f(0x108))/0x7+-parseInt(f(0xf7))/0x8*(-parseInt(f(0xeb))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x6d25b));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xdd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0xf5)]('(((.+)+)+)+$')[h(0xd8)]()['constructor'](a53a)[h(0xf5)]('(((.+)+)+)+$');});a53a();function a53c(){const u=['Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','Item\x20added\x20to\x20room\x20','set','addExit','description','north','21663wHgEaY','isStartRoom','inventory','EAST','name','WEST','exits','No\x20locked\x20exit\x20found\x20in\x20direction\x20','.\x20Success:\x20','hasItem','search','210sASdlu','4808MApmvb','emit','roomA','attemptUnlockExit','get','352280tdamGC','The\x20','roomType','SOUTH','riddle','680502MxzhCo','Item\x20removed\x20from\x20room\x20','DOWN','roomB','logger','attemptUnlock','3278244fBrdbh','3895101PSkiuJ','findExistingDoor','south','checkIfLocked','\x20is\x20locked.\x20Result:\x20','Room\x20created:\x20','puzzle','west','addItem','removeItem','east','isExitLocked','Puzzle\x20set\x20for\x20room\x20','toString','write','NORTH','values','speak','apply','setPuzzle','say','47352kzDWGS','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','1060808JMgtqm','getOppositeDirection','getInstance'];a53c=function(){return u;};return a53c();}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-0xd3;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';export class Room extends AbstractRoom{[a53i(0x105)]=Logger[a53i(0xe4)]();[a53i(0xef)];[a53i(0xe9)];[a53i(0xf1)]=new Map();[a53i(0xfe)];[a53i(0xec)];[a53i(0xed)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0xef)]=a['name'],this[j(0xe9)]=a[j(0xe9)],this[j(0xfe)]=a['roomType']||RoomType['INSIDE'],a['exits']&&(this['exits']=a['exits']||new Map()),a['inventory']&&(this[j(0xed)]=a['inventory']),a[j(0x10e)]&&(this[j(0x10e)]=a[j(0x10e)]),this[j(0xec)]=a['isStartRoom']||![],this[j(0x105)]['write'](j(0x10d)+this[j(0xef)]);}[a53i(0xdf)](a,b){const k=a53i;this[k(0xf8)](k(0xdc),a,b);}[a53i(0xe8)](a,b,c){const l=a53i;let d=this[l(0x109)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0xe7)](a,d),b[l(0xf1)][l(0xe7)](this['getOppositeDirection'](a),d);}[a53i(0xfa)](a,b){const m=a53i,c=this['exits'][m(0xfb)](a);if(c instanceof Door){const d=c[m(0x106)](b);return this['logger'][m(0xd9)](m(0xe5)+a+m(0xf3)+d),d?'The\x20'+c[m(0xef)]+'\x20unlocked!':m(0xfd)+c[m(0xef)]+'\x20remains\x20locked.';}return this[m(0x105)][m(0xd9)](m(0xf2)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}['getExit'](a){const n=a53i;return this[n(0x105)][n(0xd9)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this['exits'][n(0xfb)](a);}[a53i(0xd6)](a){const o=a53i,b=this['exits'][o(0xfb)](a),c=b instanceof Door&&b[o(0x10b)]();return this[o(0x105)][o(0xd9)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0x10c)+c),c;}[a53i(0xd3)](a){const p=a53i;this['inventory'][p(0xd3)](a),this['logger'][p(0xd9)](p(0xe6)+this[p(0xef)]+':\x20'+a[p(0xef)]);}['removeItem'](a){const q=a53i;this[q(0xed)][q(0xf4)](a[q(0xef)])?(this[q(0xed)][q(0xd4)](a[q(0xef)]),this[q(0x105)][q(0xd9)](q(0x102)+this[q(0xef)]+':\x20'+a[q(0xef)])):this[q(0x105)][q(0xd9)](q(0xe1)+this[q(0xef)]+':\x20'+a[q(0xef)]);}[a53i(0xde)](a){const r=a53i;this['puzzle']=a,this[r(0x105)][r(0xd9)](r(0xd7)+this[r(0xef)]+':\x20'+a[r(0x100)]);}[a53i(0xe3)](a){const s=a53i;switch(a){case s(0xea):return Direction[s(0xff)];case s(0x10a):return Direction[s(0xda)];case s(0xd5):return Direction[s(0xf0)];case s(0x10f):return Direction[s(0xee)];case'up':return Direction[s(0x103)];case'down':return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53i(0x109)](a){const t=a53i;for(const b of this['exits'][t(0xdb)]()){if(b instanceof Door){if(b[t(0xf9)]===this&&b[t(0x104)]===a||b[t(0x104)]===this&&b[t(0xf9)]===a)return b;}}return undefined;}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x21a))/0x1+parseInt(f(0x206))/0x2+-parseInt(f(0x21f))/0x3*(-parseInt(f(0x218))/0x4)+parseInt(f(0x1e6))/0x5+parseInt(f(0x1f9))/0x6*(parseInt(f(0x204))/0x7)+parseInt(f(0x1e5))/0x8*(-parseInt(f(0x213))/0x9)+-parseInt(f(0x1f7))/0xa*(-parseInt(f(0x1fb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xe6622));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1e5;let f=c[d];return f;},a53d(a,b);}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x223)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x205)]()['search']('(((.+)+)+)+$')[h(0x205)]()[h(0x221)](a53a)[h(0x1fe)](h(0x1e7));});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a53c(){const u=['No\x20locked\x20exit\x20found\x20in\x20direction\x20','set','roomType','getExit','2940434wVzRsW','toString','1497938mZdYFi','EAST','addItem','.\x20Success:\x20','description','south','\x20unlocked!','west','values','name','The\x20','inventory','WEST','711PfrKDu','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','isExitLocked','NORTH','roomB','1668ikWaXM','getOppositeDirection','1074002kXBAaF','get','\x20remains\x20locked.','findExistingDoor','exits','327SmMdgJ','isStartRoom','constructor','Item\x20added\x20to\x20room\x20','apply','77512ZvmaQN','3816980RFRvkl','(((.+)+)+)+$','roomA','\x20is\x20locked.\x20Result:\x20','SOUTH','addExit','emit','INSIDE','puzzle','hasItem','logger','speak','say','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','north','Checking\x20if\x20exit\x20in\x20direction\x20','Puzzle\x20set\x20for\x20room\x20','10TTsXtx','write','12HtnXBu','attemptUnlockExit','4236551ujwbEv','east','attemptUnlock','search','down'];a53c=function(){return u;};return a53c();}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x1f0)]=Logger['getInstance']();[a53i(0x20f)];[a53i(0x20a)];[a53i(0x21e)]=new Map();['roomType'];['isStartRoom'];[a53i(0x211)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x20f)]=a[j(0x20f)],this[j(0x20a)]=a[j(0x20a)],this[j(0x202)]=a['roomType']||RoomType[j(0x1ed)],a[j(0x21e)]&&(this[j(0x21e)]=a[j(0x21e)]||new Map()),a['inventory']&&(this[j(0x211)]=a[j(0x211)]),a[j(0x1ee)]&&(this[j(0x1ee)]=a[j(0x1ee)]),this[j(0x220)]=a['isStartRoom']||![],this[j(0x1f0)][j(0x1f8)]('Room\x20created:\x20'+this['name']);}[a53i(0x1f2)](a,b){const k=a53i;this[k(0x1ec)](k(0x1f1),a,b);}[a53i(0x1eb)](a,b,c){const l=a53i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x21e)][l(0x201)](a,d),b[l(0x21e)][l(0x201)](this[l(0x219)](a),d);}[a53i(0x1fa)](a,b){const m=a53i,c=this[m(0x21e)][m(0x21b)](a);if(c instanceof Door){const d=c[m(0x1fd)](b);return this[m(0x1f0)]['write'](m(0x214)+a+m(0x209)+d),d?m(0x210)+c[m(0x20f)]+m(0x20c):m(0x210)+c['name']+m(0x21c);}return this[m(0x1f0)][m(0x1f8)](m(0x200)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a53i(0x203)](a){const n=a53i;return this[n(0x1f0)]['write']('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0x21e)][n(0x21b)](a);}[a53i(0x215)](a){const o=a53i,b=this[o(0x21e)][o(0x21b)](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0x1f0)][o(0x1f8)](o(0x1f5)+a+o(0x1e9)+c),c;}[a53i(0x208)](a){const p=a53i;this[p(0x211)][p(0x208)](a),this[p(0x1f0)][p(0x1f8)](p(0x222)+this[p(0x20f)]+':\x20'+a[p(0x20f)]);}['removeItem'](a){const q=a53i;this['inventory'][q(0x1ef)](a[q(0x20f)])?(this[q(0x211)]['removeItem'](a[q(0x20f)]),this['logger']['write']('Item\x20removed\x20from\x20room\x20'+this[q(0x20f)]+':\x20'+a['name'])):this[q(0x1f0)][q(0x1f8)](q(0x1f3)+this[q(0x20f)]+':\x20'+a[q(0x20f)]);}['setPuzzle'](a){const r=a53i;this[r(0x1ee)]=a,this[r(0x1f0)][r(0x1f8)](r(0x1f6)+this[r(0x20f)]+':\x20'+a['riddle']);}['getOppositeDirection'](a){const s=a53i;switch(a){case s(0x1f4):return Direction[s(0x1ea)];case s(0x20b):return Direction[s(0x216)];case s(0x1fc):return Direction[s(0x212)];case s(0x20d):return Direction[s(0x207)];case'up':return Direction['DOWN'];case s(0x1ff):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53i(0x21d)](a){const t=a53i;for(const b of this[t(0x21e)][t(0x20e)]()){if(b instanceof Door){if(b[t(0x1e8)]===this&&b[t(0x217)]===a||b['roomB']===this&&b['roomA']===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1df;let f=c[d];return f;},a54d(a,b);}const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x1fb))/0x1+parseInt(i(0x227))/0x2*(parseInt(i(0x1fc))/0x3)+parseInt(i(0x1e4))/0x4*(-parseInt(i(0x1f0))/0x5)+-parseInt(i(0x225))/0x6+-parseInt(i(0x205))/0x7*(-parseInt(i(0x223))/0x8)+-parseInt(i(0x1ff))/0x9+-parseInt(i(0x22a))/0xa*(-parseInt(i(0x224))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x56158));function a54c(){const E=['\x20to\x20room\x20','749352gSIPzT','search','actors','14398520OYbrml','toUpperCase','logger','removeActor','setCharacterLocation','join','Actor\x20with\x20name\x20','getCharacterLocation','rooms','1438816UvsySJ','connectRooms','push','isStartRoom','player','constructor','removeRoom','setPuzzle','write','(((.+)+)+)+$','.\x20Room\x20','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','5ZOGqQW','characterLocations','direction','length','generateRoomsFromConfig','currentLocation','Added\x20room\x20to\x20scene:\x20','has','getActor','name','Scene\x20initialized\x20with\x20rooms:\x20','623509xpelFq','3pWndXu','warn','Room\x20\x22','6318252RUMpJp','get','\x20not\x20found\x20in\x20scene.','apply','from','exits','28TDAFfF','toString','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','getPlayer','determineStartRoom','set','targetRoom','Failed\x20to\x20set\x20','addActor','\x20is\x20now\x20in\x20room\x20','createExitsFromConfig','addExit','Added\x20item\x20','allActors','addItemToRoom','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','addRoom','\x20already\x20exists\x20in\x20the\x20scene.','\x22\x20does\x20not\x20exist.','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','Failed\x20to\x20add\x20item\x20','initialize','hasOwnProperty','No\x20actor\x20with\x20name\x20','roomConfiguration','\x27s\x20location.\x20Room\x20','getInstance','Failed\x20to\x20add\x20puzzle.\x20Room\x20','roomFactory','keys','532976rsaTwY','11CPksEV','259050oAeZaA'];a54c=function(){return E;};return a54c();}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x202)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x206)]()['search'](k(0x1ed))[k(0x206)]()[k(0x1e9)](a54a)[k(0x228)](k(0x1ed));});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(0x1e3)];['player'];[a54l(0x22c)];[a54l(0x229)];['characterLocations']=new Map();[a54l(0x221)];constructor(a){const m=a54l;super(),this['roomFactory']=new RoomFactory(),this[m(0x1e8)]=a[m(0x1e8)],this[m(0x1e3)]=this[m(0x1f4)](a[m(0x21d)]),this[m(0x22c)]=Logger[m(0x21f)](),this[m(0x229)]=new Map(),this[m(0x20f)](a[m(0x21d)]),this[m(0x22c)][m(0x1ec)](m(0x1fa)+Object[m(0x222)](this[m(0x1e3)])[m(0x1e0)](',\x20'));}[a54l(0x21a)](){const n=a54l;this['player'][n(0x1f5)]=this[n(0x209)]();}[a54l(0x1f4)](a){const o=a54l;if(!this[o(0x221)])throw new Error(o(0x214));const b={};for(const c of a){const d=this[o(0x221)]['createRoom'](c);b[c[o(0x1f9)]]=d;}return b;}['createExitsFromConfig'](a){const p=a54l;for(const b of a){const c=this['rooms'][b[p(0x1f9)]];if(b['exits'])for(const d of b[p(0x204)]){const e=d[p(0x1f2)][p(0x22b)](),f=d[p(0x20b)],g=d['keyRequired'],h=this[p(0x1e3)][f];h&&c['addExit'](Direction[e],h,g);}}}[a54l(0x20d)](a){const q=a54l;if(this['actors'][q(0x1f7)](a['name']))throw new Error(q(0x1e1)+a[q(0x1f9)]+q(0x216));this['actors'][q(0x20a)](a[q(0x1f9)],a);}[a54l(0x22d)](a){const r=a54l;if(!this['actors'][r(0x1f7)](a))throw new Error(r(0x21c)+a+'\x20found\x20in\x20the\x20scene.');this['actors']['delete'](a);}[a54l(0x1f8)](a){const s=a54l;return this[s(0x229)][s(0x200)](a);}get[a54l(0x212)](){const t=a54l;return Array[t(0x203)](this[t(0x229)]['values']());}[a54l(0x215)](a){const u=a54l;this[u(0x1e3)][a['name']]=a,this[u(0x22c)][u(0x1ec)](u(0x1f6)+a[u(0x1f9)]);}[a54l(0x1ea)](a){const v=a54l;return this['rooms'][a]?(delete this[v(0x1e3)][a],this[v(0x22c)]['write']('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this['logger']['write']('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}[a54l(0x213)](a,b){const w=a54l,c=this['rooms'][b];c?(c['addItem'](a),this[w(0x22c)][w(0x1ec)](w(0x211)+a[w(0x1f9)]+w(0x226)+c[w(0x1f9)])):this[w(0x22c)][w(0x1ec)](w(0x219)+a[w(0x1f9)]+w(0x1ee)+b+w(0x201));}['addPuzzleToRoom'](a,b){const x=a54l,c=this[x(0x1e3)][b];c?(c[x(0x1eb)](a),this[x(0x22c)][x(0x1ec)]('Added\x20puzzle\x20to\x20room\x20'+c[x(0x1f9)])):this[x(0x22c)][x(0x1ec)](x(0x220)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x1df)](a,b){const y=a54l,c=this[y(0x1e3)][b];c?(this[y(0x1f1)][y(0x20a)](a[y(0x1f9)],c),this[y(0x22c)][y(0x1ec)](a[y(0x1f9)]+y(0x20e)+c[y(0x1f9)])):this[y(0x22c)]['write'](y(0x20c)+a[y(0x1f9)]+y(0x21e)+b+y(0x201));}[a54l(0x1e2)](a){const z=a54l;return this['characterLocations'][z(0x200)](a['name']);}[a54l(0x209)](){const A=a54l,a=[];for(const c in this[A(0x1e3)]){if(this[A(0x1e3)][A(0x21b)](c)){const d=this[A(0x1e3)][c];d[A(0x1e7)]&&a[A(0x1e6)](d);}}if(a[A(0x1f3)]>0x1)throw new Error(A(0x1ef));if(a[A(0x1f3)]===0x1)return a[0x0];const b=Object[A(0x222)](this['rooms']);if(b['length']===0x0)throw new Error(A(0x218));return console[A(0x1fd)](A(0x207)),this[A(0x1e3)][b[0x0]];}[a54l(0x208)](){const B=a54l;return this[B(0x1e8)];}['getRooms'](){const C=a54l;return this[C(0x1e3)];}[a54l(0x1e5)](a,b,c,d){const D=a54l,e=this['rooms'][a],f=this['rooms'][c];if(!e)throw new Error(D(0x1fe)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(D(0x1fe)+c+D(0x217));e[D(0x210)](b,f,d);}}
1
+ const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x166))/0x1+parseInt(i(0x138))/0x2*(-parseInt(i(0x15b))/0x3)+-parseInt(i(0x15d))/0x4+-parseInt(i(0x14c))/0x5*(-parseInt(i(0x12e))/0x6)+-parseInt(i(0x13b))/0x7+-parseInt(i(0x139))/0x8*(-parseInt(i(0x146))/0x9)+parseInt(i(0x149))/0xa*(parseInt(i(0x142))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xc912f));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x169)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a['toString']()[k(0x128)]('(((.+)+)+)+$')[k(0x162)]()[k(0x175)](a54a)[k(0x128)](k(0x131));});function a54c(){const C=['toUpperCase','write','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','addItem','values','getCharacterLocation','from','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','Actor\x20with\x20name\x20','roomFactory','constructor','keys','\x22\x20does\x20not\x20exist.','search','getRooms','targetRoom','Added\x20item\x20','Added\x20puzzle\x20to\x20room\x20','createRoom','6rIEMdo','logger','keyRequired','(((.+)+)+)+$','addItemToRoom','rooms','delete','initialize','\x20is\x20now\x20in\x20room\x20','allActors','3106876tTErGU','16SyBTOj','No\x20actor\x20with\x20name\x20','475363tVNYxX','get','Removed\x20room\x20from\x20scene:\x20','join','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','exits','player','237611OLYjan','connectRooms','setPuzzle','direction','5759136avRdJn','Added\x20room\x20to\x20scene:\x20','actors','510SyHHQo','Failed\x20to\x20add\x20puzzle.\x20Room\x20','generateRoomsFromConfig','1937440cTzzbQ','roomConfiguration','removeActor','addRoom','\x20found\x20in\x20the\x20scene.','getInstance','length','currentLocation','has','getPlayer','warn','Failed\x20to\x20set\x20','Failed\x20to\x20add\x20item\x20','characterLocations','determineStartRoom','3oDQHGU','isStartRoom','4953732BQdIGz','name','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','Room\x20\x22','addActor','toString','removeRoom','set','Scene\x20initialized\x20with\x20rooms:\x20','914432rgapBW','\x27s\x20location.\x20Room\x20','\x20not\x20found\x20in\x20scene.','apply','addExit'];a54c=function(){return C;};return a54c();}a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x128;let f=c[d];return f;},a54d(a,b);}export class Scene extends AbstractScene{[a54l(0x133)];['player'];[a54l(0x12f)];[a54l(0x148)];['characterLocations']=new Map();[a54l(0x174)];constructor(a){const m=a54l;super(),this[m(0x174)]=new RoomFactory(),this[m(0x141)]=a[m(0x141)],this['rooms']=this[m(0x14b)](a[m(0x14d)]),this[m(0x12f)]=Logger[m(0x151)](),this[m(0x148)]=new Map(),this['createExitsFromConfig'](a[m(0x14d)]),this[m(0x12f)][m(0x16c)](m(0x165)+Object[m(0x176)](this[m(0x133)])[m(0x13e)](',\x20'));}[a54l(0x135)](){const n=a54l;this[n(0x141)][n(0x153)]=this[n(0x15a)]();}[a54l(0x14b)](a){const o=a54l;if(!this[o(0x174)])throw new Error(o(0x16d));const b={};for(const c of a){const d=this[o(0x174)][o(0x12d)](c);b[c[o(0x15e)]]=d;}return b;}['createExitsFromConfig'](a){const p=a54l;for(const b of a){const c=this[p(0x133)][b['name']];if(b[p(0x140)])for(const d of b['exits']){const e=d[p(0x145)][p(0x16b)](),f=d[p(0x12a)],g=d[p(0x130)],h=this['rooms'][f];h&&c[p(0x16a)](Direction[e],h,g);}}}[a54l(0x161)](a){const q=a54l;if(this[q(0x148)][q(0x154)](a[q(0x15e)]))throw new Error(q(0x173)+a['name']+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x148)][q(0x164)](a[q(0x15e)],a);}[a54l(0x14e)](a){const r=a54l;if(!this[r(0x148)][r(0x154)](a))throw new Error(r(0x13a)+a+r(0x150));this[r(0x148)][r(0x134)](a);}['getActor'](a){const s=a54l;return this[s(0x148)][s(0x13c)](a);}get[a54l(0x137)](){const t=a54l;return Array[t(0x171)](this[t(0x148)][t(0x16f)]());}[a54l(0x14f)](a){const u=a54l;this[u(0x133)][a[u(0x15e)]]=a,this['logger'][u(0x16c)](u(0x147)+a['name']);}[a54l(0x163)](a){const v=a54l;return this['rooms'][a]?(delete this[v(0x133)][a],this['logger'][v(0x16c)](v(0x13d)+a),!![]):(this[v(0x12f)]['write'](v(0x15f)+a),![]);}[a54l(0x132)](a,b){const w=a54l,c=this[w(0x133)][b];c?(c[w(0x16e)](a),this['logger']['write'](w(0x12b)+a['name']+'\x20to\x20room\x20'+c[w(0x15e)])):this[w(0x12f)][w(0x16c)](w(0x158)+a[w(0x15e)]+'.\x20Room\x20'+b+w(0x168));}['addPuzzleToRoom'](a,b){const x=a54l,c=this['rooms'][b];c?(c[x(0x144)](a),this[x(0x12f)]['write'](x(0x12c)+c[x(0x15e)])):this['logger'][x(0x16c)](x(0x14a)+b+'\x20not\x20found\x20in\x20scene.');}['setCharacterLocation'](a,b){const y=a54l,c=this[y(0x133)][b];c?(this[y(0x159)][y(0x164)](a[y(0x15e)],c),this[y(0x12f)][y(0x16c)](a[y(0x15e)]+y(0x136)+c[y(0x15e)])):this['logger']['write'](y(0x157)+a[y(0x15e)]+y(0x167)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x170)](a){const z=a54l;return this[z(0x159)][z(0x13c)](a['name']);}[a54l(0x15a)](){const A=a54l,a=[];for(const c in this['rooms']){if(this[A(0x133)]['hasOwnProperty'](c)){const d=this['rooms'][c];d[A(0x15c)]&&a['push'](d);}}if(a[A(0x152)]>0x1)throw new Error(A(0x172));if(a['length']===0x1)return a[0x0];const b=Object[A(0x176)](this['rooms']);if(b[A(0x152)]===0x0)throw new Error(A(0x13f));return console[A(0x156)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0x133)][b[0x0]];}[a54l(0x155)](){return this['player'];}[a54l(0x129)](){return this['rooms'];}[a54l(0x143)](a,b,c,d){const B=a54l,e=this[B(0x133)][a],f=this[B(0x133)][c];if(!e)throw new Error(B(0x160)+a+B(0x177));if(!f)throw new Error(B(0x160)+c+B(0x177));e[B(0x16a)](b,f,d);}}
@@ -1 +1 @@
1
- var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x1cb))/0x1*(parseInt(f(0x1c1))/0x2)+parseInt(f(0x1d3))/0x3+-parseInt(f(0x1d2))/0x4*(parseInt(f(0x1c7))/0x5)+parseInt(f(0x1e0))/0x6+parseInt(f(0x1b7))/0x7+-parseInt(f(0x1bc))/0x8+parseInt(f(0x1cf))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xd0f65));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0x1e5)](h(0x1c0))['toString']()[h(0x1cc)](a55a)['search']('(((.+)+)+)+$');});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(0x1d0)],'category':Category['Unknown'],'shape':Shape[i(0x1e1)],'color':Color[i(0x1b6)],'texture':Texture['Smooth'],'rating':Rating[i(0x1be)],'weight':0x1});}[a55j(0x1c3)](){var k=a55j;return this[k(0x1c6)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size[l(0x1d0)],'category':Category[l(0x1dc)],'shape':Shape[l(0x1d5)],'color':Color[l(0x1b8)],'texture':Texture[l(0x1d6)],'rating':Rating[l(0x1be)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0x1bd)],'category':Category[m(0x1dc)],'shape':Shape['Rifle'],'color':Color[m(0x1db)],'texture':Texture[m(0x1d6)],'rating':Rating[m(0x1e3)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x1d0)],'category':Category[n(0x1c8)],'shape':Shape[n(0x1df)],'color':Color['Grey'],'texture':Texture[n(0x1d6)],'rating':Rating[n(0x1be)],'weight':0x2});}}function a55c(){var F=['LegArmor','Smooth','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Tiny','Short\x20Sword','Yellow','9080729sykXsj','Grey','Unknown\x20Author','Holy\x20Grail','Small','12977024EKOXyW','Large','Common','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','(((.+)+)+)+$','1955462EJVnYB','ArmArmor','use','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Sniper\x20Rifle','description','160PMYgfL','Helmet','pageCount','Gloves','1iIqkmo','constructor','A\x20mysterious\x20book.','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','8841906EvzSmP','Medium','name','174976xQDoka','1275633XwowTZ','apply','Blade','Metallic','publishDate','Key','Book','author','Brown','Weapon','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Circle','1171332dPTDaD','Rectangle','BodyArmor','Rare','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','search'];a55c=function(){return F;};return a55c();}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size[o(0x1bd)],'category':Category[o(0x1e2)],'shape':Shape[o(0x1e1)],'color':Color[o(0x1b8)],'texture':Texture['Metallic'],'rating':Rating[o(0x1be)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[p(0x1e6)],'shape':Shape[p(0x1e1)],'color':Color['Grey'],'texture':Texture[p(0x1d6)],'rating':Rating[p(0x1be)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x1d0)],'category':Category['Boots'],'shape':Shape[q(0x1df)],'color':Color[q(0x1db)],'texture':Texture[q(0x1e7)],'rating':Rating[q(0x1be)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x1bb)],'category':Category[r(0x1ca)],'shape':Shape[r(0x1df)],'color':Color[r(0x1db)],'texture':Texture[r(0x1e7)],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x1d0)],'category':Category[s(0x1c2)],'shape':Shape[s(0x1e1)],'color':Color[s(0x1b8)],'texture':Texture[s(0x1d6)],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x1b4)],'category':Category[t(0x1d8)],'shape':Shape[t(0x1e1)],'color':Color['Yellow'],'texture':Texture[t(0x1e7)],'rating':Rating[t(0x1be)],'weight':0x0});}[a55j(0x1c3)](){var u=a55j;return u(0x1de);}}export class Weapon extends Item{constructor(a,b){var v=a55j;super({'name':a,'description':b,'size':Size[v(0x1d0)],'category':Category[v(0x1dc)],'shape':Shape['Blade'],'color':Color[v(0x1b8)],'texture':Texture[v(0x1d6)],'rating':Rating[v(0x1be)],'weight':0x3});}['use'](){var w=a55j;return w(0x1ce);}}export class Book extends Item{[a55j(0x1da)];[a55j(0x1d7)];['pageCount'];constructor(a,b=a55j(0x1cd),c=a55j(0x1b9)){var x=a55j;super({'name':a,'description':b,'size':Size[x(0x1d0)],'category':Category[x(0x1d9)],'shape':Shape['Rectangle'],'color':Color[x(0x1db)],'texture':Texture[x(0x1e7)],'rating':Rating[x(0x1be)],'weight':0x1}),this[x(0x1da)]=c,this[x(0x1d7)]=new Date(),this[x(0x1c9)]=0x64;}[a55j(0x1c3)](){var y=a55j;return y(0x1dd);}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1b4;var f=c[d];return f;},a55d(a,b);}export class ShortSword extends Item{constructor(){var z=a55j;super({'name':z(0x1b5),'description':'A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','size':Size['Medium'],'category':Category[z(0x1dc)],'shape':Shape['Blade'],'color':Color[z(0x1b8)],'texture':Texture[z(0x1d6)],'rating':Rating[z(0x1be)],'weight':0x3});}['use'](){var A=a55j;return A(0x1ce);}}export class SniperRifle extends Item{constructor(){var B=a55j;super({'name':B(0x1c5),'description':B(0x1e4),'size':Size['Large'],'category':Category[B(0x1dc)],'shape':Shape['Rifle'],'color':Color[B(0x1db)],'texture':Texture[B(0x1e7)],'rating':Rating['Common'],'weight':0x5});}[a55j(0x1c3)](){var C=a55j;return C(0x1e8);}}export class HolyGrail extends Item{constructor(){var D=a55j;super({'name':D(0x1ba),'description':D(0x1bf),'size':Size['Small'],'category':Category['Cup'],'shape':Shape[D(0x1df)],'color':Color['Gold'],'texture':Texture[D(0x1d6)],'rating':Rating['Legendary'],'weight':0x1});}[a55j(0x1c3)](){var E=a55j;return'You\x20hold\x20the\x20'+this[E(0x1d1)]+E(0x1c4);}}
1
+ var a55i=a55d;function a55c(){var E=['Holy\x20Grail','2TKjxQX','Blade','toString','Helmet','Rifle','Gold','Metallic','3203448ryWJxO','Cup','Medium','You\x20hold\x20the\x20','Sniper\x20Rifle','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Key','Yellow','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Unknown','ArmArmor','A\x20mysterious\x20book.','Common','407351sVLTHn','Small','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','description','LegArmor','Large','Weapon','1117491QAtxmv','pageCount','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','11343096nrFHXR','Tiny','Gloves','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','use','66EHobdx','733473cltPEf','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','author','\x20aloft,\x20feeling\x20its\x20immense\x20power.','583788rNsdiX','Grey','search','Rectangle','1686565JBSPkn','name','Brown','Smooth','Book','Circle','Unknown\x20Author','(((.+)+)+)+$','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22'];a55c=function(){return E;};return a55c();}(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x201))/0x1+parseInt(f(0x1dd))/0x2*(parseInt(f(0x1f8))/0x3)+-parseInt(f(0x205))/0x4+-parseInt(f(0x209))/0x5+-parseInt(f(0x200))/0x6*(-parseInt(f(0x1f1))/0x7)+parseInt(f(0x1e4))/0x8+-parseInt(f(0x1fb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x625e8));var a55b=(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;};}()),a55a=a55b(this,function(){var g=a55d;return a55a[g(0x1df)]()[g(0x207)]('(((.+)+)+)+$')[g(0x1df)]()['constructor'](a55a)[g(0x207)](g(0x210));});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 h=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[h(0x1ed)],'shape':Shape['Rectangle'],'color':Color[h(0x1eb)],'texture':Texture[h(0x20c)],'rating':Rating[h(0x1f0)],'weight':0x1});}[a55i(0x1ff)](){var j=a55i;return this[j(0x1f4)];}}export class Sword extends Item{constructor(a,b){var k=a55i;super({'name':a,'description':b,'size':Size[k(0x1e6)],'category':Category['Weapon'],'shape':Shape['Blade'],'color':Color[k(0x206)],'texture':Texture[k(0x1e3)],'rating':Rating[k(0x1f0)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55i;super({'name':a,'description':b,'size':Size[l(0x1f6)],'category':Category[l(0x1f7)],'shape':Shape[l(0x1e1)],'color':Color['Brown'],'texture':Texture[l(0x1e3)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a55i;super({'name':a,'description':b,'size':Size[m(0x1e6)],'category':Category[m(0x1e0)],'shape':Shape[m(0x20e)],'color':Color[m(0x206)],'texture':Texture[m(0x1e3)],'rating':Rating[m(0x1f0)],'weight':0x2});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1db;var f=c[d];return f;},a55d(a,b);}export class BodyArmor extends Item{constructor(a,b){var n=a55i;super({'name':a,'description':b,'size':Size[n(0x1f6)],'category':Category['BodyArmor'],'shape':Shape[n(0x208)],'color':Color[n(0x206)],'texture':Texture['Metallic'],'rating':Rating[n(0x1f0)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[o(0x1f5)],'shape':Shape[o(0x208)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[o(0x1f0)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55i;super({'name':a,'description':b,'size':Size[p(0x1e6)],'category':Category['Boots'],'shape':Shape[p(0x20e)],'color':Color[p(0x20b)],'texture':Texture[p(0x20c)],'rating':Rating[p(0x1f0)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55i;super({'name':a,'description':b,'size':Size[q(0x1f2)],'category':Category[q(0x1fd)],'shape':Shape['Circle'],'color':Color[q(0x20b)],'texture':Texture[q(0x20c)],'rating':Rating[q(0x1f0)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a55i;super({'name':a,'description':b,'size':Size[r(0x1e6)],'category':Category[r(0x1ee)],'shape':Shape['Rectangle'],'color':Color[r(0x206)],'texture':Texture[r(0x1e3)],'rating':Rating[r(0x1f0)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a55i;super({'name':a,'description':b,'size':Size[s(0x1fc)],'category':Category[s(0x1ea)],'shape':Shape[s(0x208)],'color':Color['Yellow'],'texture':Texture[s(0x20c)],'rating':Rating[s(0x1f0)],'weight':0x0});}[a55i(0x1ff)](){var t=a55i;return t(0x1e9);}}export class Weapon extends Item{constructor(a,b){var u=a55i;super({'name':a,'description':b,'size':Size[u(0x1e6)],'category':Category['Weapon'],'shape':Shape[u(0x1de)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[u(0x1f0)],'weight':0x3});}[a55i(0x1ff)](){var v=a55i;return v(0x202);}}export class Book extends Item{[a55i(0x203)];['publishDate'];[a55i(0x1f9)];constructor(a,b=a55i(0x1ef),c=a55i(0x20f)){var w=a55i;super({'name':a,'description':b,'size':Size[w(0x1e6)],'category':Category[w(0x20d)],'shape':Shape[w(0x208)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating[w(0x1f0)],'weight':0x1}),this['author']=c,this['publishDate']=new Date(),this[w(0x1f9)]=0x64;}['use'](){var x=a55i;return x(0x1fe);}}export class ShortSword extends Item{constructor(){var y=a55i;super({'name':'Short\x20Sword','description':y(0x1f3),'size':Size[y(0x1e6)],'category':Category['Weapon'],'shape':Shape[y(0x1de)],'color':Color[y(0x206)],'texture':Texture[y(0x1e3)],'rating':Rating['Common'],'weight':0x3});}[a55i(0x1ff)](){var z=a55i;return z(0x202);}}export class SniperRifle extends Item{constructor(){var A=a55i;super({'name':A(0x1e8),'description':A(0x1fa),'size':Size[A(0x1f6)],'category':Category[A(0x1f7)],'shape':Shape['Rifle'],'color':Color[A(0x20b)],'texture':Texture[A(0x20c)],'rating':Rating[A(0x1f0)],'weight':0x5});}['use'](){var B=a55i;return B(0x1db);}}export class HolyGrail extends Item{constructor(){var C=a55i;super({'name':C(0x1dc),'description':C(0x1ec),'size':Size['Small'],'category':Category[C(0x1e5)],'shape':Shape[C(0x20e)],'color':Color[C(0x1e2)],'texture':Texture['Metallic'],'rating':Rating['Legendary'],'weight':0x1});}[a55i(0x1ff)](){var D=a55i;return D(0x1e7)+this[D(0x20a)]+D(0x204);}}