@maka/maka-cli 4.8.15 → 4.8.16

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 (149) 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/register.js +1 -1
  86. package/bundle/obf/src/commands/run/_index.js +1 -1
  87. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  88. package/bundle/obf/src/commands/run/run.command.js +1 -1
  89. package/bundle/obf/src/commands/set/_index.js +1 -1
  90. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/set/set.command.js +1 -1
  93. package/bundle/obf/src/commands/ssh.js +1 -1
  94. package/bundle/obf/src/commands/ssl.js +1 -1
  95. package/bundle/obf/src/commands/test.js +1 -1
  96. package/bundle/obf/src/commands/undo.js +1 -1
  97. package/bundle/obf/src/commands/version.js +1 -1
  98. package/bundle/obf/src/error.js +1 -1
  99. package/bundle/obf/src/exec.js +1 -1
  100. package/bundle/obf/src/generator.js +1 -1
  101. package/bundle/obf/src/generators/_index.js +1 -1
  102. package/bundle/obf/src/generators/api.js +1 -1
  103. package/bundle/obf/src/generators/collection.js +1 -1
  104. package/bundle/obf/src/generators/component.js +1 -1
  105. package/bundle/obf/src/generators/config.js +1 -1
  106. package/bundle/obf/src/generators/dbc.js +1 -1
  107. package/bundle/obf/src/generators/dockerfile.js +1 -1
  108. package/bundle/obf/src/generators/hook.js +1 -1
  109. package/bundle/obf/src/generators/kits/_index.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  111. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  112. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  113. package/bundle/obf/src/generators/kits/kit.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  115. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  116. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  117. package/bundle/obf/src/generators/layout.js +1 -1
  118. package/bundle/obf/src/generators/maka.gen.js +1 -1
  119. package/bundle/obf/src/generators/methods.js +1 -1
  120. package/bundle/obf/src/generators/package.js +1 -1
  121. package/bundle/obf/src/generators/page.js +1 -1
  122. package/bundle/obf/src/generators/publish.js +1 -1
  123. package/bundle/obf/src/generators/route.js +1 -1
  124. package/bundle/obf/src/generators/service.js +1 -1
  125. package/bundle/obf/src/generators/services/_index.js +1 -1
  126. package/bundle/obf/src/generators/services/openssl.js +1 -1
  127. package/bundle/obf/src/generators/services/translation.js +1 -1
  128. package/bundle/obf/src/maka.js +1 -1
  129. package/bundle/obf/src/templates/meteor/project/package.json +1 -1
  130. package/bundle/obf/src/tool.js +1 -1
  131. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  132. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  133. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  135. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  137. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  138. package/bundle/obf/src/tools/https/https.class.js +1 -1
  139. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  140. package/bundle/obf/src/tools/log/log.class.js +1 -1
  141. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  142. package/bundle/obf/src/tools/options/options.class.js +1 -1
  143. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  144. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  145. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  147. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  149. package/package.json +1 -1
@@ -1 +1 @@
1
- function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x19a;let f=c[d];return f;},a37d(a,b);}const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x1b4))/0x1*(-parseInt(f(0x1af))/0x2)+-parseInt(f(0x19d))/0x3*(-parseInt(f(0x1ae))/0x4)+-parseInt(f(0x1aa))/0x5+-parseInt(f(0x1ad))/0x6+-parseInt(f(0x1a5))/0x7+-parseInt(f(0x1b8))/0x8*(-parseInt(f(0x1b2))/0x9)+parseInt(f(0x1a8))/0xa*(parseInt(f(0x1a9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x69f9c));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()[h(0x1b6)](h(0x1b0))['toString']()[h(0x1b1)](a37a)['search'](h(0x1b0));});function a37c(){const k=['11hqhRTC','1437115WSpCtI','length','currentLocation','4101444vVnFVo','1188548jKsWdX','4xAaGjC','(((.+)+)+)+$','constructor','171hLEEbl','apply','422495ZmsgIl','\x20found\x20the\x20following\x20items:\x20','search','execute','112856lQVEdg','write','inventory','You\x20search\x20the\x20area\x20and\x20find:\x20','3lDCLNb','listItems','name','description','logger','actor','verb','SearchCommand:\x20','2668750qfKRFv','join','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','20661430dbHJea'];a37c=function(){return k;};return a37c();}a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x1a3)]='search';static [a37i(0x1a0)]='Search\x20for\x20items\x20in\x20your\x20area';[a37i(0x1b7)](){const j=a37i,a=this[j(0x1a2)][j(0x1ac)][j(0x19b)][j(0x19e)]();if(a[j(0x1ab)]===0x0)return this[j(0x1a1)][j(0x19a)](j(0x1a4)+this[j(0x1a2)]['name']+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0x1a7);const b=a[j(0x1a6)](',\x20');return this[j(0x1a1)][j(0x19a)](j(0x1a4)+this['actor'][j(0x19f)]+j(0x1b5)+b),j(0x19c)+b;}}
1
+ function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xce;let f=c[d];return f;},a37d(a,b);}const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0xd6))/0x1*(-parseInt(f(0xec))/0x2)+parseInt(f(0xe7))/0x3*(parseInt(f(0xdc))/0x4)+-parseInt(f(0xd5))/0x5+parseInt(f(0xd9))/0x6*(-parseInt(f(0xde))/0x7)+parseInt(f(0xea))/0x8+-parseInt(f(0xdf))/0x9+parseInt(f(0xdb))/0xa*(parseInt(f(0xe2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x5ca93));function a37c(){const k=['You\x20search\x20the\x20area\x20and\x20find:\x20','verb','129svsSfa','length','name','2197000xmAMZX','join','42242oVavLY','search','apply','inventory','write','\x20found\x20the\x20following\x20items:\x20','execute','actor','Search\x20for\x20items\x20in\x20your\x20area','constructor','1464635RVPeGB','3uQrdTD','listItems','currentLocation','315858rxqAgv','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','760siIQUu','58588ajsdEd','logger','49QuILVi','6062940yTAnMS','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','(((.+)+)+)+$','126434SeqFoW','SearchCommand:\x20','toString'];a37c=function(){return k;};return a37c();}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()[h(0xed)](h(0xe1))[h(0xe4)]()[h(0xd4)](a37a)[h(0xed)](h(0xe1));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0xe6)]=a37i(0xed);static ['description']=a37i(0xd3);[a37i(0xd1)](){const j=a37i,a=this[j(0xd2)][j(0xd8)][j(0xce)][j(0xd7)]();if(a[j(0xe8)]===0x0)return this[j(0xdd)][j(0xcf)]('SearchCommand:\x20'+this['actor'][j(0xe9)]+j(0xda)),j(0xe0);const b=a[j(0xeb)](',\x20');return this[j(0xdd)][j(0xcf)](j(0xe3)+this[j(0xd2)]['name']+j(0xd0)+b),j(0xe5)+b;}}
@@ -1 +1 @@
1
- function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1ba;let f=c[d];return f;},a38d(a,b);}const a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1d9))/0x1*(-parseInt(f(0x1ce))/0x2)+-parseInt(f(0x1bb))/0x3*(-parseInt(f(0x1d6))/0x4)+parseInt(f(0x1cc))/0x5+parseInt(f(0x1c2))/0x6+parseInt(f(0x1c7))/0x7+parseInt(f(0x1d4))/0x8*(parseInt(f(0x1d3))/0x9)+parseInt(f(0x1cb))/0xa*(-parseInt(f(0x1c3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x2a378));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0x1c6)]()[g(0x1ca)](g(0x1d1))[g(0x1c6)]()[g(0x1bf)](a38a)[g(0x1ca)](g(0x1d1));});a38a();function a38c(){const j=['rewardItem','156ArxYGW','write','verb','(((.+)+)+)+$','Attempt\x20to\x20solve\x20a\x20puzzle.','306nDnCik','77840SWVZDT','inventory','340ebJNXx','addItem','toLowerCase','30qYTdZZ','puzzle','3402BGZPje','SolveCommand:\x20','description','currentLocation','constructor','logger','message','742896FRCLGn','67111wPldnL','actor','join','toString','632597flUzjm','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','solve','search','1270rioOMT','1520050WDYQOV'];a38c=function(){return j;};return a38c();}import{Command}from'./command.js';export class SolveCommand extends Command{static [a38h(0x1d0)]=a38h(0x1c9);static [a38h(0x1bd)]=a38h(0x1d2);['execute'](a){const i=a38h,b=a[i(0x1c5)]('\x20')[i(0x1d8)](),c=this[i(0x1c4)][i(0x1be)];if(!c||!c[i(0x1ba)])return this[i(0x1c0)][i(0x1cf)](i(0x1c8)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[i(0x1ba)][i(0x1c9)](b,this['actor'][i(0x1d5)]);return d['success']&&c[i(0x1ba)][i(0x1cd)]&&this[i(0x1c4)][i(0x1d5)][i(0x1d7)](c[i(0x1ba)][i(0x1cd)]),this[i(0x1c0)][i(0x1cf)](i(0x1bc)+d[i(0x1c1)]),d['message'];}}
1
+ const a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x114))/0x1*(parseInt(f(0x115))/0x2)+parseInt(f(0x10c))/0x3+parseInt(f(0x111))/0x4+parseInt(f(0x106))/0x5+parseInt(f(0xff))/0x6*(-parseInt(f(0x100))/0x7)+parseInt(f(0x10b))/0x8*(parseInt(f(0x101))/0x9)+-parseInt(f(0x109))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x69069));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0xfc)]()['search']('(((.+)+)+)+$')[g(0xfc)]()['constructor'](a38a)[g(0x112)]('(((.+)+)+)+$');});a38a();import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xfc;let f=c[d];return f;},a38d(a,b);}function a38c(){const j=['rewardItem','toLowerCase','message','1263916cbfrTI','search','join','157917LlBcew','2QICAAA','description','toString','puzzle','actor','18jdZycR','1219001BBLOGZ','6750IhFKxJ','verb','logger','solve','inventory','698045tYnfPX','addItem','Attempt\x20to\x20solve\x20a\x20puzzle.','4696350fYLGKM','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','3672cpKkKB','2340984WaJeMw','currentLocation'];a38c=function(){return j;};return a38c();}export class SolveCommand extends Command{static [a38h(0x102)]=a38h(0x104);static [a38h(0x116)]=a38h(0x108);['execute'](a){const i=a38h,b=a[i(0x113)]('\x20')[i(0x10f)](),c=this['actor'][i(0x10d)];if(!c||!c[i(0xfd)])return this['logger']['write'](i(0x10a)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c['puzzle'][i(0x104)](b,this[i(0xfe)][i(0x105)]);return d['success']&&c[i(0xfd)]['rewardItem']&&this['actor'][i(0x105)][i(0x107)](c['puzzle'][i(0x10e)]),this[i(0x103)]['write']('SolveCommand:\x20'+d['message']),d[i(0x110)];}}
@@ -1 +1 @@
1
- function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xbb;let f=c[d];return f;},a39d(a,b);}const a39i=a39d;function a39c(){const l=['take','2EMbCxt','logger','message','join','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','currentLocation','1542762hmFAfr','\x20during\x20\x27Take\x27\x20command.','actor','7kySSju','\x22\x20not\x20found\x20in\x20','Successfully\x20removed\x20\x22','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','4766850kMGtDx','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','The\x20item\x20\x22','Error\x20during\x20\x27Take\x27\x20command:\x20','inventory','There\x20is\x20no\x20item\x20\x22','2864322xqTfRW','constructor','24964ExaGga','name','verb','Item\x20\x22','Successfully\x20added\x20\x22','hasItem','write','(((.+)+)+)+$','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x22\x20not\x20retrieved\x20from\x20','execute','description','apply','1859384sLHOst','You\x20have\x20taken\x20the\x20','\x22\x20to\x20','Pick\x20up\x20an\x20item.','800710AXLNug','27zsLAuk','removeItem','\x22\x20in\x20this\x20room.','toString','getItem','1101322IKEuKk'];a39c=function(){return l;};return a39c();}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0xc0))/0x1*(-parseInt(f(0xbe))/0x2)+-parseInt(f(0xc6))/0x3+-parseInt(f(0xd5))/0x4+-parseInt(f(0xcd))/0x5+-parseInt(f(0xd3))/0x6*(-parseInt(f(0xc9))/0x7)+-parseInt(f(0xe2))/0x8*(-parseInt(f(0xe7))/0x9)+parseInt(f(0xe6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xd7608));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0xe1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0xbc)]()['search'](h(0xdc))['toString']()[h(0xd4)](a39a)['search'](h(0xdc));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0xd7)]='take';static [a39i(0xe0)]=a39i(0xe5);[a39i(0xdf)](a){const j=a39i;return this[j(0xc1)]['write'](j(0xce)+a['join']('\x20')),this[j(0xbf)](a);}[a39i(0xbf)](a){const k=a39i,b=a[k(0xc3)]('\x20')['toLowerCase'](),c=this[k(0xc8)][k(0xc5)];if(!c[k(0xd1)][k(0xda)](b))return this[k(0xc1)][k(0xdb)](k(0xd8)+b+k(0xca)+c[k(0xd6)]+k(0xc7)),k(0xd2)+b+k(0xbb);const d=c['inventory'][k(0xbd)](b);if(!d)return this[k(0xc1)][k(0xdb)](k(0xd8)+b+k(0xde)+c[k(0xd6)]+k(0xc4)),'There\x20is\x20no\x20item\x20\x22'+b+k(0xbb);try{return this[k(0xc8)]['addInventory'](d),this[k(0xc1)][k(0xdb)](k(0xd9)+b+k(0xe4)+this[k(0xc8)]['name']+k(0xcc)),c['inventory'][k(0xe8)](b),this[k(0xc1)][k(0xdb)](k(0xcb)+b+'\x22\x20from\x20'+c[k(0xd6)]+k(0xc4)),k(0xe3)+b+'.';}catch(e){return this['logger'][k(0xdb)](k(0xd0)+e[k(0xc2)]),k(0xcf)+b+k(0xdd);}}}
1
+ const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x142))/0x1+parseInt(f(0x15d))/0x2*(-parseInt(f(0x149))/0x3)+-parseInt(f(0x166))/0x4*(parseInt(f(0x15b))/0x5)+parseInt(f(0x148))/0x6+parseInt(f(0x13d))/0x7*(-parseInt(f(0x165))/0x8)+-parseInt(f(0x162))/0x9+-parseInt(f(0x161))/0xa*(-parseInt(f(0x14c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x30b3c));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x13c;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(0x145)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()['search']('(((.+)+)+)+$')[h(0x168)]()[h(0x155)](a39a)[h(0x144)](h(0x153));});a39a();import{Command}from'./command.js';function a39c(){const l=['3472018BqneGk','You\x20have\x20taken\x20the\x20','join','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','Item\x20\x22','message','The\x20item\x20\x22','(((.+)+)+)+$','getItem','constructor','Pick\x20up\x20an\x20item.','logger','hasItem','toLowerCase','\x22\x20is\x20too\x20heavy\x20to\x20carry.','965sOfbNn','take','18KLZyJX','actor','Successfully\x20removed\x20\x22','name','20PJMXOp','1700370rVrWvc','addInventory','\x22\x20not\x20found\x20in\x20','23976emJfCm','3044FDXDMU','description','toString','inventory','removeItem','812otCQvc','There\x20is\x20no\x20item\x20\x22','currentLocation','\x22\x20not\x20retrieved\x20from\x20','\x22\x20to\x20','224844xaeqFy','verb','search','apply','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20from\x20','2280090RJGlCn','117732NZNeKU','write','\x22\x20in\x20this\x20room.'];a39c=function(){return l;};return a39c();}export class TakeCommand extends Command{static [a39i(0x143)]='take';static [a39i(0x167)]=a39i(0x156);['execute'](a){const j=a39i;return this[j(0x157)][j(0x14a)](j(0x14f)+a[j(0x14e)]('\x20')),this['take'](a);}[a39i(0x15c)](a){const k=a39i,b=a[k(0x14e)]('\x20')[k(0x159)](),c=this[k(0x15e)][k(0x13f)];if(!c[k(0x169)][k(0x158)](b))return this[k(0x157)][k(0x14a)](k(0x150)+b+k(0x164)+c['name']+'\x20during\x20\x27Take\x27\x20command.'),k(0x13e)+b+k(0x14b);const d=c[k(0x169)][k(0x154)](b);if(!d)return this[k(0x157)][k(0x14a)](k(0x150)+b+k(0x140)+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+k(0x14b);try{return this[k(0x15e)][k(0x163)](d),this[k(0x157)][k(0x14a)]('Successfully\x20added\x20\x22'+b+k(0x141)+this[k(0x15e)][k(0x160)]+k(0x146)),c['inventory'][k(0x13c)](b),this[k(0x157)][k(0x14a)](k(0x15f)+b+k(0x147)+c[k(0x160)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x14d)+b+'.';}catch(e){return this['logger']['write']('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x151)]),k(0x152)+b+k(0x15a);}}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0xef))/0x1+parseInt(f(0xf0))/0x2*(parseInt(f(0xe3))/0x3)+-parseInt(f(0xe7))/0x4+parseInt(f(0xf7))/0x5*(parseInt(f(0xf6))/0x6)+parseInt(f(0xea))/0x7+-parseInt(f(0xe0))/0x8*(-parseInt(f(0xf8))/0x9)+-parseInt(f(0xe4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x58a51));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xdd;let f=c[d];return f;},a40d(a,b);}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xe5)]()[h(0xec)](h(0xe9))[h(0xe5)]()[h(0xf1)](a40a)[h(0xec)](h(0xe9));});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0xdf)]=a40i(0xe1);static [a40i(0xeb)]=a40i(0xe2);[a40i(0xf5)](a){const j=a40i,b=a['join']('\x20')[j(0xde)](),c=this[j(0xe8)][j(0xf3)](b);return this[j(0xed)][j(0xf2)](j(0xdd)+this[j(0xe8)][j(0xf4)]+j(0xee)+c),c;}}function a40c(){const k=['Unequip\x20an\x20item.','9QHycMU','7417690HDeWSQ','toString','apply','1517324Vqakws','actor','(((.+)+)+)+$','4765915VBbgOZ','description','search','logger','\x20unqeuiped\x20','692711BwfYrj','419098XalRlp','constructor','write','unequip','name','execute','3739992oobxHD','5lIlCJC','13644kLweGT','UnequipCommand:\x20','toLowerCase','verb','1288MDTtAD','unqeuip'];a40c=function(){return k;};return a40c();}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0xd4))/0x1*(-parseInt(f(0xc9))/0x2)+parseInt(f(0xc6))/0x3*(-parseInt(f(0xbf))/0x4)+-parseInt(f(0xc3))/0x5+parseInt(f(0xc7))/0x6+parseInt(f(0xc5))/0x7*(parseInt(f(0xc8))/0x8)+-parseInt(f(0xcb))/0x9+parseInt(f(0xcc))/0xa*(parseInt(f(0xc0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x64b5e));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()['search'](h(0xca))[h(0xcf)]()['constructor'](a40a)[h(0xd1)](h(0xca));});a40a();function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xbf;let f=c[d];return f;},a40d(a,b);}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0xcd)]='unqeuip';static ['description']='Unequip\x20an\x20item.';[a40i(0xd0)](a){const j=a40i,b=a['join']('\x20')[j(0xc4)](),c=this[j(0xd3)][j(0xc1)](b);return this[j(0xd2)][j(0xce)]('UnequipCommand:\x20'+this[j(0xd3)]['name']+'\x20unqeuiped\x20'+c),c;}}function a40c(){const k=['63610kQCQti','verb','write','toString','execute','search','logger','actor','536574MgTJMF','2656FEPSbb','2068fXxtGs','unequip','apply','1573240sjwKNG','toLowerCase','259rEVyYd','2958rjQlfR','2891958WscUVF','105904acsXAv','2XDmxdu','(((.+)+)+)+$','2243079VQJoWa'];a40c=function(){return k;};return a40c();}
@@ -1 +1 @@
1
- function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xdb;let f=c[d];return f;},a41d(a,b);}function a41c(){const m=['execute','24RLPdQF','(((.+)+)+)+$','3366018IcBMwW','toString','10qgcAkU','exits','.\x20Result:\x20','3684mvUPTG','hasItem','1270qBIGEI','apply','9493SakVKZ','704nqMraK','unlock','\x20is\x20attempted\x20to\x20unlock\x20','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','unlockItemOrSolution','isValidDirection','get','There\x27s\x20no\x20door\x20named\x20\x22','inventory','Unlock\x20a\x20door.','353940sOnkLF','name','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','has','7572229JJSFUl','UnlockCommand:\x20No\x20target\x20specified.','\x22\x20here.','455jrNyto','UnlockCommand:\x20','error','toLowerCase','write','length','description','97294lGifys','verb','10723761NAnIAC','actor','8HCNqVu','attemptUnlockExit','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','constructor','logger'];a41c=function(){return m;};return a41c();}const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0xe8))/0x1*(parseInt(h(0xf2))/0x2)+parseInt(h(0xf9))/0x3*(-parseInt(h(0xfe))/0x4)+parseInt(h(0xf6))/0x5*(parseInt(h(0xf4))/0x6)+-parseInt(h(0xde))/0x7+-parseInt(h(0xec))/0x8*(-parseInt(h(0xea))/0x9)+parseInt(h(0xfb))/0xa*(-parseInt(h(0xfd))/0xb)+parseInt(h(0x108))/0xc*(parseInt(h(0xe1))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xbc328));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0xf5)]()['search']('(((.+)+)+)+$')[j(0xf5)]()[j(0xef)](a41a)['search'](j(0xf3));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0xe9)]=a41k(0xff);static [a41k(0xe7)]=a41k(0x107);[a41k(0xf1)](a){return this['unlock'](a);}['unlock'](a){const l=a41k;if(a[l(0xe6)]===0x0)return this[l(0xf0)][l(0xe3)](l(0xdf)),l(0x101);const b=a[0x0][l(0xe4)](),c=this[l(0xeb)]['currentLocation'];if(this[l(0x103)](b)&&c[l(0xf7)][l(0xdd)](b)){const d=c[l(0xf7)][l(0x104)](b);if(d instanceof Door){const e=d[l(0x102)]?.[l(0xe4)]();if(e&&this['actor'][l(0x106)][l(0xfa)](e)){const f=this[l(0xeb)][l(0x106)]['getItem'](e);if(f){const g=c[l(0xed)](b,f[l(0xdb)]);return this[l(0xf0)]['write'](l(0xe2)+this[l(0xeb)][l(0xdb)]+l(0x100)+b+l(0xf8)+g),g;}}return this['logger']['write'](l(0xe2)+this['actor'][l(0xdb)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),l(0xee);}else return this[l(0xf0)][l(0xe5)](l(0xe2)+b+l(0xdc)+c['name']+'.'),l(0x105)+b+l(0xe0);}else return this[l(0xf0)][l(0xe5)](l(0xe2)+b+l(0xdc)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0xe0);}}
1
+ const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x1c7))/0x1+parseInt(h(0x1b5))/0x2*(parseInt(h(0x1bb))/0x3)+-parseInt(h(0x1ba))/0x4*(-parseInt(h(0x1b2))/0x5)+parseInt(h(0x1b8))/0x6*(parseInt(h(0x1d0))/0x7)+-parseInt(h(0x1ca))/0x8*(-parseInt(h(0x1bd))/0x9)+parseInt(h(0x1ab))/0xa*(-parseInt(h(0x1b9))/0xb)+-parseInt(h(0x1bf))/0xc*(-parseInt(h(0x1ce))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xe068a));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x1aa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()[j(0x1d5)]('(((.+)+)+)+$')['toString']()[j(0x1c0)](a41a)['search'](j(0x1cd));});a41a();import{Door}from'../models/door.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1aa;let f=c[d];return f;},a41d(a,b);}import{Command}from'./command.js';function a41c(){const m=['length','27012VRxqVE','constructor','UnlockCommand:\x20','.\x20Result:\x20','There\x27s\x20no\x20door\x20named\x20\x22','error','UnlockCommand:\x20No\x20target\x20specified.','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','856815HMkinB','description','unlockItemOrSolution','32werYiY','logger','get','(((.+)+)+)+$','533BbWtZw','unlock','70fdUrjn','currentLocation','actor','toLowerCase','has','search','exits','apply','60MEPJUb','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','write','\x22\x20here.','hasItem','inventory','\x20is\x20attempted\x20to\x20unlock\x20','5qiMBSb','name','verb','1779702UsARkt','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','execute','517890wWfANn','2278166izUspe','106036JIGspK','3vCRCHo','getItem','2580363bkWFBR'];a41c=function(){return m;};return a41c();}export class UnlockCommand extends Command{static [a41k(0x1b4)]='unlock';static [a41k(0x1c8)]='Unlock\x20a\x20door.';[a41k(0x1b7)](a){return this['unlock'](a);}[a41k(0x1cf)](a){const l=a41k;if(a[l(0x1be)]===0x0)return this['logger'][l(0x1c4)](l(0x1c5)),l(0x1ac);const b=a[0x0]['toLowerCase'](),c=this[l(0x1d2)][l(0x1d1)];if(this['isValidDirection'](b)&&c[l(0x1d6)][l(0x1d4)](b)){const d=c['exits'][l(0x1cc)](b);if(d instanceof Door){const e=d[l(0x1c9)]?.[l(0x1d3)]();if(e&&this[l(0x1d2)]['inventory'][l(0x1af)](e)){const f=this[l(0x1d2)][l(0x1b0)][l(0x1bc)](e);if(f){const g=c['attemptUnlockExit'](b,f['name']);return this[l(0x1cb)][l(0x1ad)](l(0x1c1)+this['actor'][l(0x1b3)]+l(0x1b1)+b+l(0x1c2)+g),g;}}return this[l(0x1cb)]['write'](l(0x1c1)+this[l(0x1d2)]['name']+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),l(0x1c6);}else return this[l(0x1cb)][l(0x1ad)]('UnlockCommand:\x20'+b+l(0x1b6)+c[l(0x1b3)]+'.'),l(0x1c3)+b+l(0x1ae);}else return this[l(0x1cb)][l(0x1ad)](l(0x1c1)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x1b3)]+'.'),l(0x1c3)+b+l(0x1ae);}}
@@ -1 +1 @@
1
- function a42c(){const l=['8613515TJyZnI','hasItem','(((.+)+)+)+$','\x20to\x20use.','apply','toString',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','\x20in\x20this\x20way.','toLowerCase','37489ogjJZm','search','name','inventory','function','5056821unMMxg','\x20attempted\x20to\x20use\x20','write','656UOPFpS','3544736VSVVmN','actor','You\x20don\x27t\x20have\x20the\x20','40IcBqLX','verb','You\x20can\x27t\x20use\x20the\x20','\x20not\x20retrieved\x20from\x20','use','8251270iQPnze','\x20used\x20','77wVmVgs','description','\x27s\x20inventory.','\x20doesn\x27t\x20have\x20a\x20use\x20method.','join','logger','7561539QUznEf','UseCommand:\x20','33273vCqiei','6kwfKgA'];a42c=function(){return l;};return a42c();}const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x168))/0x1*(-parseInt(f(0x14e))/0x2)+parseInt(f(0x15d))/0x3*(-parseInt(f(0x14a))/0x4)+-parseInt(f(0x15f))/0x5+parseInt(f(0x15e))/0x6*(parseInt(f(0x147))/0x7)+-parseInt(f(0x14b))/0x8+-parseInt(f(0x15b))/0x9+-parseInt(f(0x153))/0xa*(-parseInt(f(0x155))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xe17e6));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x147;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x163)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x164)]()[h(0x169)]('(((.+)+)+)+$')[h(0x164)]()['constructor'](a42a)[h(0x169)](h(0x161));});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x14f)]=a42i(0x152);static [a42i(0x156)]='Use\x20an\x20item.';['execute'](a){const j=a42i;return this[j(0x152)](a);}[a42i(0x152)](a){const k=a42i,b=a[k(0x159)]('\x20')[k(0x167)]();if(!this[k(0x14c)]['inventory'][k(0x160)](b))return this['logger']['write'](k(0x15c)+this[k(0x14c)][k(0x16a)]+k(0x148)+b+k(0x165)),k(0x14d)+b+k(0x162);const c=this[k(0x14c)][k(0x16b)]['getItem'](b);if(!c)return this[k(0x15a)][k(0x149)]('UseCommand:\x20'+b+k(0x151)+this[k(0x14c)][k(0x16a)]+k(0x157)),'You\x20don\x27t\x20have\x20the\x20'+b+'\x20to\x20use.';if(typeof c['use']===k(0x16c)){const d=c[k(0x152)]();return this[k(0x15a)][k(0x149)](k(0x15c)+this[k(0x14c)]['name']+k(0x154)+b+'.'),d;}else return this[k(0x15a)]['write'](k(0x15c)+b+k(0x158)),k(0x150)+b+k(0x166);}}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0xf6))/0x1+-parseInt(f(0x101))/0x2*(-parseInt(f(0x10a))/0x3)+-parseInt(f(0x109))/0x4*(-parseInt(f(0x10e))/0x5)+parseInt(f(0x103))/0x6+-parseInt(f(0xff))/0x7*(-parseInt(f(0xfd))/0x8)+-parseInt(f(0x10c))/0x9+-parseInt(f(0xfc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x6040d));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xfe)]()[h(0x114)](h(0x111))[h(0xfe)]()[h(0x119)](a42a)[h(0x114)](h(0x111));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xf6;let f=c[d];return f;},a42d(a,b);}function a42c(){const l=['(((.+)+)+)+$','apply','hasItem','search','Use\x20an\x20item.','name','You\x20can\x27t\x20use\x20the\x20','\x20used\x20','constructor','725181CEeRMl','\x20in\x20this\x20way.','function','join','use','description','5976460cYsbnZ','92216BkeFvy','toString','119BDhtsT','\x20doesn\x27t\x20have\x20a\x20use\x20method.','635042UdQzzt','UseCommand:\x20','98352TgkIZh','getItem','\x27s\x20inventory.','actor','You\x20don\x27t\x20have\x20the\x20','\x20to\x20use.','4zunwxL','3EtHTSH','logger','3046590hELAPP','execute','376780ZSqkRp','verb','write'];a42c=function(){return l;};return a42c();}import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x10f)]='use';static [a42i(0xfb)]=a42i(0x115);[a42i(0x10d)](a){const j=a42i;return this[j(0xfa)](a);}[a42i(0xfa)](a){const k=a42i,b=a[k(0xf9)]('\x20')['toLowerCase']();if(!this[k(0x106)]['inventory'][k(0x113)](b))return this['logger'][k(0x110)](k(0x102)+this[k(0x106)]['name']+'\x20attempted\x20to\x20use\x20'+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),k(0x107)+b+k(0x108);const c=this[k(0x106)]['inventory'][k(0x104)](b);if(!c)return this['logger'][k(0x110)](k(0x102)+b+'\x20not\x20retrieved\x20from\x20'+this['actor']['name']+k(0x105)),k(0x107)+b+k(0x108);if(typeof c['use']===k(0xf8)){const d=c[k(0xfa)]();return this[k(0x10b)][k(0x110)](k(0x102)+this[k(0x106)][k(0x116)]+k(0x118)+b+'.'),d;}else return this[k(0x10b)][k(0x110)](k(0x102)+b+k(0x100)),k(0x117)+b+k(0xf7);}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0xa4))/0x1*(parseInt(f(0xae))/0x2)+parseInt(f(0xa3))/0x3*(parseInt(f(0xaf))/0x4)+parseInt(f(0xab))/0x5+-parseInt(f(0xa0))/0x6+parseInt(f(0xaa))/0x7*(parseInt(f(0xb1))/0x8)+-parseInt(f(0xa1))/0x9+-parseInt(f(0xa7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x479ed));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0xa9)]()[h(0xad)](h(0xa6))['toString']()[h(0xa5)](a43a)[h(0xad)]('(((.+)+)+)+$');});function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xa0;let f=c[d];return f;},a43d(a,b);}a43a();export class CommandFactory{static [a43i(0xa2)]={};static[a43i(0xb0)](a,b){this['commandMap'][a]=b;}static[a43i(0xa8)](a,b){const j=a43i,c=this[j(0xa2)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){return this['commandMap'];}}function a43c(){const k=['7rYsiov','1678175jGRIjB','apply','search','76016vxzTvn','12AcsJZp','registerCommand','2357592wBnIaJ','1850778iwYLOb','4304844OHXedN','commandMap','446868kVKvXs','9vLtkLO','constructor','(((.+)+)+)+$','3391380quGamw','createCommand','toString'];a43c=function(){return k;};return a43c();}
1
+ function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x191;let f=c[d];return f;},a43d(a,b);}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x197))/0x1*(-parseInt(f(0x192))/0x2)+parseInt(f(0x19a))/0x3+-parseInt(f(0x195))/0x4*(parseInt(f(0x1a1))/0x5)+parseInt(f(0x19e))/0x6*(-parseInt(f(0x19f))/0x7)+-parseInt(f(0x198))/0x8*(parseInt(f(0x193))/0x9)+parseInt(f(0x196))/0xa*(-parseInt(f(0x1a2))/0xb)+-parseInt(f(0x19d))/0xc*(-parseInt(f(0x199))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x49466));function a43c(){const k=['registerCommand','404XGxdbd','369FRMKPQ','commandMap','12dPbkCN','20QkLWnp','2902kzxlai','52584pDgTTF','209443OcZBpq','1546257JgPnzI','createCommand','constructor','1044xuGcpo','18IDvmIB','507591kqDnHt','search','246710SsBFQM','2176240LhlgwJ','apply','toString','getAllRegisteredCommands','(((.+)+)+)+$'];a43c=function(){return k;};return a43c();}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1a4)]()['search'](h(0x1a6))[h(0x1a4)]()[h(0x19c)](a43a)[h(0x1a0)](h(0x1a6));});a43a();export class CommandFactory{static [a43i(0x194)]={};static[a43i(0x191)](a,b){this['commandMap'][a]=b;}static[a43i(0x19b)](a,b){const j=a43i,c=this[j(0x194)][a];if(c)return new c(b);return null;}static[a43i(0x1a5)](){return this['commandMap'];}}
@@ -1 +1 @@
1
- function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x66;let f=c[d];return f;},a44d(a,b);}const a44k=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x66))/0x1+parseInt(f(0x72))/0x2*(parseInt(f(0x6e))/0x3)+-parseInt(f(0x81))/0x4*(-parseInt(f(0x78))/0x5)+-parseInt(f(0x85))/0x6+-parseInt(f(0x69))/0x7*(parseInt(f(0x67))/0x8)+parseInt(f(0x71))/0x9*(-parseInt(f(0x80))/0xa)+parseInt(f(0x73))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xbcbce));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x70)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x7c)]()[h(0x7e)]('(((.+)+)+)+$')[h(0x7c)]()['constructor'](a44a)[h(0x7e)](h(0x87));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a44c(){const o=['helmet','10CXbPkW','8JhbINv','addItem','roomType','items','6440238DpDwDj','rewardItem','(((.+)+)+)+$','rifle','219364DJWQgf','5791736kEvGUP','legarmor','14NaWbyi','forEach','toUpperCase','type','convertToRoomConfig','261kOzvPL','boots','apply','13462731kCdiaZ','33752trNhtB','22909876YXLXjW','key','name','gauntlets','createPuzzle','2549860UFhMzq','createItem','gloves','book','toString','description','search'];a44c=function(){return o;};return a44c();}import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const i=a44d,b=this[i(0x6d)](a),c=new Room(b);if(a[i(0x84)]){const d=new Inventory();a[i(0x84)][i(0x6a)](e=>{const j=i;d[j(0x82)](this[j(0x79)](e));}),c['inventory']=d;}return a['puzzle']&&c['setPuzzle'](this['createPuzzle'](a['puzzle'])),c;}[a44k(0x79)](a){const l=a44k;switch(a[l(0x6c)]){case l(0x74):return new Key(a[l(0x75)],a[l(0x7d)]);case l(0x7b):return new Book(a[l(0x75)],a[l(0x7d)],a['content']);case'sword':return new Sword(a[l(0x75)],a[l(0x7d)]);case l(0x88):return new Rifle(a[l(0x75)],a['description']);case l(0x7f):return new Helmet(a['name'],a[l(0x7d)]);case'bodyarmor':return new BodyArmor(a[l(0x75)],a[l(0x7d)]);case l(0x68):return new LegArmor(a['name'],a[l(0x7d)]);case l(0x6f):return new Boots(a[l(0x75)],a[l(0x7d)]);case l(0x7a):return new Gloves(a[l(0x75)],a['description']);case l(0x76):return new Gauntlets(a['name'],a[l(0x7d)]);default:return new BasicItem(a[l(0x75)],a[l(0x7d)]);}}[a44k(0x77)](a){const m=a44k,b=this[m(0x79)](a[m(0x86)]);return new Puzzle({...a,'rewardItem':b});}[a44k(0x6d)](a){const n=a44k,b=a['roomType']&&RoomType[a[n(0x83)][n(0x6b)]()]?RoomType[a['roomType'][n(0x6b)]()]:RoomType['INSIDE'];return{'name':a[n(0x75)],'description':a['description'],'isStartRoom':a['isStartRoom'],'roomType':b};}}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0xf5))/0x1+-parseInt(f(0xdd))/0x2*(parseInt(f(0xe5))/0x3)+-parseInt(f(0xee))/0x4+-parseInt(f(0xe3))/0x5*(parseInt(f(0xea))/0x6)+parseInt(f(0xd8))/0x7+-parseInt(f(0xf1))/0x8+-parseInt(f(0xf7))/0x9*(-parseInt(f(0xe2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xa2ef7));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xe4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xe0)]()[h(0xd7)](h(0xd9))[h(0xe0)]()[h(0xfb)](a44a)['search'](h(0xd9));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xd7;let f=c[d];return f;},a44d(a,b);}a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a44c(){const n=['name','createItem','createPuzzle','156JcoKCh','rewardItem','key','isStartRoom','3493012uFyXxK','roomType','items','7015896lwWpvp','gloves','helmet','puzzle','644970SDozog','inventory','1242mQrCnC','content','toUpperCase','createRoom','constructor','search','4913335yBuVQF','(((.+)+)+)+$','gauntlets','description','rifle','850xqzNhE','convertToRoomConfig','forEach','toString','boots','244690csncFj','179045LLjtas','apply','600ZpdJtr','type'];a44c=function(){return n;};return a44c();}export class RoomFactory{[a44i(0xfa)](a){const j=a44i,b=this[j(0xde)](a),c=new Room(b);if(a[j(0xf0)]){const d=new Inventory();a['items'][j(0xdf)](e=>{d['addItem'](this['createItem'](e));}),c[j(0xf6)]=d;}return a[j(0xf4)]&&c['setPuzzle'](this[j(0xe9)](a['puzzle'])),c;}[a44i(0xe8)](a){const k=a44i;switch(a[k(0xe6)]){case k(0xec):return new Key(a[k(0xe7)],a[k(0xdb)]);case'book':return new Book(a[k(0xe7)],a['description'],a[k(0xf8)]);case'sword':return new Sword(a[k(0xe7)],a[k(0xdb)]);case k(0xdc):return new Rifle(a['name'],a[k(0xdb)]);case k(0xf3):return new Helmet(a[k(0xe7)],a['description']);case'bodyarmor':return new BodyArmor(a[k(0xe7)],a['description']);case'legarmor':return new LegArmor(a[k(0xe7)],a[k(0xdb)]);case k(0xe1):return new Boots(a[k(0xe7)],a[k(0xdb)]);case k(0xf2):return new Gloves(a['name'],a['description']);case k(0xda):return new Gauntlets(a[k(0xe7)],a['description']);default:return new BasicItem(a['name'],a[k(0xdb)]);}}[a44i(0xe9)](a){const l=a44i,b=this[l(0xe8)](a[l(0xeb)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0xde)](a){const m=a44i,b=a[m(0xef)]&&RoomType[a['roomType'][m(0xf9)]()]?RoomType[a[m(0xef)][m(0xf9)]()]:RoomType['INSIDE'];return{'name':a[m(0xe7)],'description':a['description'],'isStartRoom':a[m(0xed)],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0xe2))/0x1*(-parseInt(h(0xf5))/0x2)+parseInt(h(0xfb))/0x3*(-parseInt(h(0x109))/0x4)+parseInt(h(0xfd))/0x5+parseInt(h(0xe5))/0x6+-parseInt(h(0x107))/0x7+-parseInt(h(0x104))/0x8*(parseInt(h(0xfa))/0x9)+-parseInt(h(0xf6))/0xa*(parseInt(h(0xf7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x8a5f7));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0xd5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0xf9)]()[j(0xe9)](j(0xdd))['toString']()[j(0xf0)](a45a)['search'](j(0xdd));});a45a();import{Scene}from'./models/scene.js';function a45c(){const s=['unequip','4162795zfAudR','slice','7064onemFX','look','take','getDescription','instance','apply','drop','trim','execute','solve','getInstance','currentRoom','registerCommand','(((.+)+)+)+$','createCommand','currentLocation','initialize','lock','37403dyuOXQ','getWelcomeMessage','unlock','6376032BTDULC','rooms','Available\x20Commands:\x0a','say','search','use','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','scene','maka','player','Welcome,\x20','constructor','toLowerCase','-\x20quit:\x20Exit\x20the\x20game.\x0a','name','getRooms','26hnVZZV','56010ylRRal','638kehBTA','determineStartRoom','toString','9VuhVfz','1023qpOwML','help','2834520RnuGlL','registerCommands','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','hasOwnProperty','getAllRegisteredCommands','getHelpMessage','split','218328VshNNF','handleInput'];a45c=function(){return s;};return a45c();}import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xd1;let f=c[d];return f;},a45d(a,b);}export default class Game{static [a45k(0xd4)];[a45k(0xec)];[a45k(0xee)];[a45k(0xdb)];[a45k(0xe6)];constructor(a,b){const l=a45k;this[l(0xee)]=a,this[l(0xec)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0xec)][l(0xe0)](),this['player'][l(0xdf)]=this[l(0xf8)](),this[l(0xfe)]();}[a45k(0xfe)](){const m=a45k;CommandFactory[m(0xdc)](m(0xd1),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0xdc)](m(0xd2),TakeCommand),CommandFactory[m(0xdc)](m(0xea),UseCommand),CommandFactory[m(0xdc)]('equip',EquipCommand),CommandFactory[m(0xdc)](m(0x106),UnequipCommand),CommandFactory[m(0xdc)](m(0xd9),SolveCommand),CommandFactory[m(0xdc)](m(0xd6),DropCommand),CommandFactory[m(0xdc)](m(0xe4),UnlockCommand),CommandFactory[m(0xdc)](m(0xe1),LockCommand),CommandFactory['registerCommand'](m(0xe9),SearchCommand),CommandFactory[m(0xdc)](m(0xe8),SayCommand);}[a45k(0xf8)](){const n=a45k;return this['scene'][n(0xf8)]();}[a45k(0xe3)](){const o=a45k;return o(0xef)+this[o(0xee)][o(0xf3)];}static[a45k(0xda)](a,b){const p=a45k;return!Game[p(0xd4)]&&(Game[p(0xd4)]=new Game(a,b)),Game[p(0xd4)];}[a45k(0x105)](a){const q=a45k,b=a[q(0xd7)]()[q(0x103)]('\x20'),c=b[0x0][q(0xf1)](),d=b[q(0x108)](0x1);if(c==='quit')return null;if(c===q(0xed))return q(0xff);if(c===q(0xfc))return this[q(0x102)]();if(c==='clear')return'';const e={'actor':this[q(0xee)],'rooms':this[q(0xec)][q(0xf4)](),'scene':this[q(0xec)]},f=CommandFactory[q(0xde)](c,e);if(f){const g=f[q(0xd8)](d);return g;}return q(0xeb)+c+'\x22.';}[a45k(0x102)](){const r=a45k,a=CommandFactory[r(0x101)]();let b=r(0xe7);for(const c in a){if(a[r(0x100)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xd3)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+=r(0xf2),b;}}
1
+ function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x116;let f=c[d];return f;},a45d(a,b);}const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x11c))/0x1+-parseInt(h(0x11a))/0x2+parseInt(h(0x139))/0x3+parseInt(h(0x13c))/0x4*(-parseInt(h(0x12e))/0x5)+-parseInt(h(0x129))/0x6*(-parseInt(h(0x11f))/0x7)+-parseInt(h(0x12b))/0x8+parseInt(h(0x116))/0x9*(-parseInt(h(0x137))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xa6bc9));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x146)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x13d)]()[j(0x149)](j(0x11d))['toString']()[j(0x148)](a45a)[j(0x149)](j(0x11d));});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';function a45c(){const s=['getRooms','1823016mJPpKn','currentLocation','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','4395AAPpZB','scene','split','Available\x20Commands:\x0a','name','getDescription','instance','trim','getWelcomeMessage','150ytQODg','solve','3232176nueyUG','unlock','use','3580EJXhNi','toString','-\x20quit:\x20Exit\x20the\x20game.\x0a','currentRoom','hasOwnProperty','getHelpMessage','execute','initialize','toLowerCase','-\x20clear:\x20Clear\x20the\x20screen.\x0a','apply','slice','constructor','search','Welcome,\x20','help','191934jCPLIZ','look','registerCommand','registerCommands','476506YLDPqw','take','454222FIiigG','(((.+)+)+)+$','quit','37268PfAjCm','equip','player','handleInput','createCommand','unequip','rooms','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','maka','determineStartRoom','816jhvwvE'];a45c=function(){return s;};return a45c();}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(0x12f)];[a45k(0x121)];[a45k(0x13f)];[a45k(0x125)];constructor(a,b){const l=a45k;this[l(0x121)]=a,this[l(0x12f)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x12f)][l(0x143)](),this[l(0x121)][l(0x12c)]=this[l(0x128)](),this[l(0x119)]();}[a45k(0x119)](){const m=a45k;CommandFactory[m(0x118)](m(0x117),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0x118)](m(0x11b),TakeCommand),CommandFactory[m(0x118)](m(0x13b),UseCommand),CommandFactory[m(0x118)](m(0x120),EquipCommand),CommandFactory[m(0x118)](m(0x124),UnequipCommand),CommandFactory[m(0x118)](m(0x138),SolveCommand),CommandFactory[m(0x118)]('drop',DropCommand),CommandFactory[m(0x118)](m(0x13a),UnlockCommand),CommandFactory[m(0x118)]('lock',LockCommand),CommandFactory[m(0x118)](m(0x149),SearchCommand),CommandFactory[m(0x118)]('say',SayCommand);}[a45k(0x128)](){const n=a45k;return this[n(0x12f)][n(0x128)]();}[a45k(0x136)](){const o=a45k;return o(0x14a)+this[o(0x121)][o(0x132)];}static['getInstance'](a,b){const p=a45k;return!Game['instance']&&(Game[p(0x134)]=new Game(a,b)),Game['instance'];}[a45k(0x122)](a){const q=a45k,b=a[q(0x135)]()[q(0x130)]('\x20'),c=b[0x0][q(0x144)](),d=b[q(0x147)](0x1);if(c===q(0x11e))return null;if(c===q(0x127))return q(0x126);if(c===q(0x14b))return this[q(0x141)]();if(c==='clear')return'';const e={'actor':this[q(0x121)],'rooms':this[q(0x12f)][q(0x12a)](),'scene':this[q(0x12f)]},f=CommandFactory[q(0x123)](c,e);if(f){const g=f[q(0x142)](d);return g;}return q(0x12d)+c+'\x22.';}['getHelpMessage'](){const r=a45k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x131);for(const c in a){if(a[r(0x140)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x133)]()+'\x0a';}}return b+=r(0x145),b+=r(0x13e),b;}}
@@ -1 +1 @@
1
- function a46c(){var i=['2201680jCJGxa','toString','272604SCnGhz','search','constructor','220997PXljDa','9286VIZvXQ','40fpbFtI','(((.+)+)+)+$','apply','3jlUXuZ','1181070Zryvch','769965jhqhFy','177348lkfINq'];a46c=function(){return i;};return a46c();}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0xea))/0x1+-parseInt(f(0xeb))/0x2+parseInt(f(0xef))/0x3*(-parseInt(f(0xe7))/0x4)+-parseInt(f(0xe5))/0x5+-parseInt(f(0xe4))/0x6+-parseInt(f(0xe3))/0x7+parseInt(f(0xec))/0x8*(parseInt(f(0xe2))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x36cd0));function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xe2;var f=c[d];return f;},a46d(a,b);}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0xe6)]()[h(0xe8)]('(((.+)+)+)+$')['toString']()[h(0xe9)](a46a)['search'](h(0xed));});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';export*from'./scene.js';
1
+ function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xc5;var f=c[d];return f;},a46d(a,b);}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0xc7))/0x1*(parseInt(f(0xd2))/0x2)+parseInt(f(0xc6))/0x3*(parseInt(f(0xca))/0x4)+-parseInt(f(0xcf))/0x5*(parseInt(f(0xc5))/0x6)+parseInt(f(0xd6))/0x7*(parseInt(f(0xcb))/0x8)+parseInt(f(0xd1))/0x9*(-parseInt(f(0xce))/0xa)+-parseInt(f(0xd3))/0xb*(-parseInt(f(0xc9))/0xc)+parseInt(f(0xcd))/0xd*(-parseInt(f(0xc8))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xa44da));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0xd5)]()[h(0xd0)](h(0xd7))[h(0xd5)]()[h(0xcc)](a46a)[h(0xd0)](h(0xd7));});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';export*from'./scene.js';function a46c(){var i=['12KZKBwl','4tGmuIC','3784xnTiUe','constructor','6027463tRbNJl','10xmfjOK','27065qhwagb','search','2268387MUJcap','10mqtoEZ','3408889SOOfVq','apply','toString','13979qmEeiq','(((.+)+)+)+$','1110iajjNB','3993063kiecUu','53647TURaKe','28gNviBH'];a46c=function(){return i;};return a46c();}
@@ -1 +1 @@
1
- function a47c(){var o=['name','.\x20Used:\x20','3682184atkcOH','roomA','12JzHkHU','isLockable','Failed\x20to\x20unlock\x20door:\x20','logger','(((.+)+)+)+$','search','5IaIwSl','write','.\x20Is\x20Locked:\x20','To\x20','getInstance','546780BungRl','1090355ujnsmy','checkIfLockable','getOtherSide','Door\x20unlocked:\x20','1564660fUhaBy','8361kyZmbx','6qCMEAO','apply','roomB','attemptUnlock','toString','1184HLKMPu','isLocked','5ESiLSc','84948GnzZhf','591912iNAqkp','checkIfLocked','unlockItemOrSolution'];a47c=function(){return o;};return a47c();}var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x203))/0x1*(parseInt(f(0x1f5))/0x2)+parseInt(f(0x1ed))/0x3*(parseInt(f(0x1e6))/0x4)+-parseInt(f(0x1f4))/0x5*(parseInt(f(0x1f6))/0x6)+-parseInt(f(0x1e7))/0x7+parseInt(f(0x1f2))/0x8*(-parseInt(f(0x1ec))/0x9)+parseInt(f(0x1eb))/0xa+parseInt(f(0x1fb))/0xb*(parseInt(f(0x1fd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x27241));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x1ee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a['toString']()[h(0x202)](h(0x201))[h(0x1f1)]()['constructor'](a47a)[h(0x202)]('(((.+)+)+)+$');});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x1e6;var f=c[d];return f;},a47d(a,b);}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x1fc)];['roomB'];['isLocked'];['unlockItemOrSolution'];[a47i(0x1f9)];[a47i(0x200)];[a47i(0x1fe)];constructor(a){var j=a47i;super(),this['roomA']=a[j(0x1fc)],this[j(0x1ef)]=a[j(0x1ef)],this['isLocked']=a['isLocked']||![],this[j(0x1f8)]=a[j(0x1f8)],this['name']=a['name']?capitalCase(a[j(0x1f9)]):j(0x206)+a['roomB'][j(0x1f9)],this['logger']=Logger[j(0x207)](),this[j(0x1fe)]=!!a['unlockItemOrSolution'],this[j(0x200)][j(0x204)]('Door\x20created\x20between\x20'+this[j(0x1fc)][j(0x1f9)]+'\x20and\x20'+this[j(0x1ef)][j(0x1f9)]+j(0x205)+this['isLocked']);}[a47i(0x1e9)](a){var k=a47i;return this[k(0x1fc)]===a?this['roomB']:this[k(0x1fc)];}[a47i(0x1f0)](a){var l=a47i;if(this[l(0x1f3)]&&this[l(0x1f8)]&&this['unlockItemOrSolution']===a)return this['isLocked']=![],this[l(0x200)][l(0x204)](l(0x1ea)+this[l(0x1f9)]+l(0x1fa)+a),!![];return this[l(0x200)][l(0x204)](l(0x1ff)+this[l(0x1f9)]+'.\x20Used:\x20'+a),![];}[a47i(0x1f7)](){var m=a47i;return this[m(0x1f3)];}[a47i(0x1e8)](){var n=a47i;return this[n(0x1fe)];}}
1
+ function a47c(){var n=['14522ArgfTW','name','Failed\x20to\x20unlock\x20door:\x20','checkIfLocked','search','12955332gwLLlS','6eZVily','isLocked','attemptUnlock','logger','constructor','roomA','toString','Door\x20created\x20between\x20','getOtherSide','4788812fOoYIJ','isLockable','getInstance','8WxFCiV','56510fhRuQN','9497097wIIQZE','100frbCRV','320645CZWVMH','.\x20Used:\x20','write','roomB','To\x20','apply','12crhRUB','(((.+)+)+)+$','814yJfdHC','unlockItemOrSolution','1779028JnTdch','171wBfVPY'];a47c=function(){return n;};return a47c();}var a47i=a47d;function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x189;var f=c[d];return f;},a47d(a,b);}(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x1a8))/0x1+parseInt(f(0x1aa))/0x2*(parseInt(f(0x1a9))/0x3)+-parseInt(f(0x19d))/0x4*(parseInt(f(0x19e))/0x5)+parseInt(f(0x18e))/0x6*(parseInt(f(0x197))/0x7)+parseInt(f(0x19a))/0x8*(parseInt(f(0x19c))/0x9)+-parseInt(f(0x19b))/0xa*(parseInt(f(0x1a6))/0xb)+parseInt(f(0x1a4))/0xc*(-parseInt(f(0x18d))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xdf373));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x194)]()['search'](h(0x1a5))[h(0x194)]()[h(0x192)](a47a)[h(0x18c)](h(0x1a5));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x193)];[a47i(0x1a1)];['isLocked'];[a47i(0x1a7)];[a47i(0x189)];[a47i(0x191)];[a47i(0x198)];constructor(a){var j=a47i;super(),this[j(0x193)]=a[j(0x193)],this[j(0x1a1)]=a[j(0x1a1)],this[j(0x18f)]=a[j(0x18f)]||![],this[j(0x1a7)]=a[j(0x1a7)],this[j(0x189)]=a[j(0x189)]?capitalCase(a['name']):j(0x1a2)+a[j(0x1a1)][j(0x189)],this['logger']=Logger[j(0x199)](),this[j(0x198)]=!!a[j(0x1a7)],this[j(0x191)][j(0x1a0)](j(0x195)+this[j(0x193)][j(0x189)]+'\x20and\x20'+this[j(0x1a1)][j(0x189)]+'.\x20Is\x20Locked:\x20'+this[j(0x18f)]);}[a47i(0x196)](a){var k=a47i;return this[k(0x193)]===a?this[k(0x1a1)]:this[k(0x193)];}[a47i(0x190)](a){var l=a47i;if(this[l(0x18f)]&&this[l(0x1a7)]&&this[l(0x1a7)]===a)return this['isLocked']=![],this[l(0x191)][l(0x1a0)]('Door\x20unlocked:\x20'+this[l(0x189)]+l(0x19f)+a),!![];return this['logger'][l(0x1a0)](l(0x18a)+this[l(0x189)]+l(0x19f)+a),![];}[a47i(0x18b)](){var m=a47i;return this[m(0x18f)];}['checkIfLockable'](){return this['isLockable'];}}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x17b))/0x1*(-parseInt(f(0x15d))/0x2)+parseInt(f(0x164))/0x3*(-parseInt(f(0x177))/0x4)+parseInt(f(0x174))/0x5+-parseInt(f(0x169))/0x6*(-parseInt(f(0x158))/0x7)+parseInt(f(0x16d))/0x8*(parseInt(f(0x175))/0x9)+parseInt(f(0x15a))/0xa*(parseInt(f(0x171))/0xb)+-parseInt(f(0x15c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x748e0));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x166)]()[h(0x153)](h(0x151))[h(0x166)]()[h(0x165)](a48a)[h(0x153)](h(0x151));});function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x151;let f=c[d];return f;},a48d(a,b);}a48a();function a48c(){const r=['getWeight','30MLshVP','logger','13547904xKyIzC','2evGahs','items','set','addItem','Listed\x20items\x20in\x20inventory:\x20','name','.\x20Item\x20not\x20found.','914601tlgJtV','constructor','toString','has','write','1302NmdWgd','weight','\x20from\x20inventory.','join','8CHXWdt','getAllItems','Added\x20item:\x20','\x20in\x20','40007EYxqLH','Checked\x20for\x20item:\x20','map','4765695wbiQYj','3441213inFRFk','apply','12vdsyXs','\x20to\x20inventory.','values','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','755567FjEmcT','Failed\x20to\x20remove\x20item:\x20','(((.+)+)+)+$','getInstance','search','getItem','toLowerCase','hasItem','keys','13517soPrnf'];a48c=function(){return r;};return a48c();}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a48i(0x15b)];constructor(){const j=a48i;super(),this['items']=new Map(),this[j(0x15b)]=Logger[j(0x152)]();}[a48i(0x160)](a){const k=a48i;this[k(0x15e)][k(0x15f)](a[k(0x162)][k(0x155)](),a),this['logger'][k(0x168)](k(0x16f)+a[k(0x162)]+k(0x178));}['removeItem'](a){const l=a48i,b=this[l(0x154)](a);if(b)return this[l(0x15e)]['delete'](a[l(0x155)]()),this[l(0x15b)][l(0x168)]('Removed\x20item:\x20'+a+l(0x16b)),b;return this[l(0x15b)][l(0x168)](l(0x17c)+a+l(0x163)),null;}[a48i(0x156)](a){const m=a48i,b=this[m(0x15e)][m(0x167)](a[m(0x155)]()),c=[...this[m(0x15e)][m(0x157)]()];return this[m(0x15b)][m(0x168)](m(0x172)+a+m(0x170)+c[m(0x16c)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a48i(0x154)](a){const n=a48i,b=this[n(0x15e)]['get'](a[n(0x155)]())||null;return b?this['logger'][n(0x168)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0x15b)][n(0x168)](n(0x17a)+a+'.\x20Item\x20not\x20found.'),b;}['listItems'](){const o=a48i,a=[...this[o(0x15e)][o(0x157)]()],b=a[o(0x173)](c=>capitalCase(c));return this[o(0x15b)]['write'](o(0x161)+b[o(0x16c)](',\x20')+'.'),a;}[a48i(0x159)](){const p=a48i;let a=0x0;for(const b of this['items'][p(0x179)]()){a+=b[p(0x16a)];}return a;}[a48i(0x16e)](){const q=a48i;return[...this[q(0x15e)][q(0x179)]()];}}
1
+ function a48c(){const r=['name','addItem','Listed\x20items\x20in\x20inventory:\x20','46EYkSrM','toLowerCase','483183EePVon','removeItem','\x20in\x20','getItem','values','1556908DCzACC','hasItem','3753155nxEequ','3425584PZBxCs','.\x20Item\x20not\x20found.','260OJuJzV','items','write','map','weight','set','Removed\x20item:\x20','471581VSXPWr','(((.+)+)+)+$','8184IQeCGr','has','.\x20Exists:\x20','logger','delete','getWeight','toString','keys','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','getInstance','1255242uTUbrr','Checked\x20for\x20item:\x20','getAllItems','apply','listItems','search','5EFzhTj','get'];a48c=function(){return r;};return a48c();}const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0xa1))/0x1+parseInt(f(0xb8))/0x2*(parseInt(f(0xa3))/0x3)+parseInt(f(0x95))/0x4*(parseInt(f(0xb3))/0x5)+-parseInt(f(0xad))/0x6+parseInt(f(0x97))/0x7+parseInt(f(0x98))/0x8+parseInt(f(0xba))/0x9*(-parseInt(f(0x9a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x450de));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0xa9)]()[h(0xb2)]('(((.+)+)+)+$')[h(0xa9)]()['constructor'](a48a)[h(0xb2)](h(0xa2));});a48a();import{capitalCase}from'change-case';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x93;let f=c[d];return f;},a48d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0x9b)];[a48i(0xa6)];constructor(){const j=a48i;super(),this[j(0x9b)]=new Map(),this[j(0xa6)]=Logger[j(0xac)]();}[a48i(0xb6)](a){const k=a48i;this[k(0x9b)][k(0x9f)](a['name'][k(0xb9)](),a),this[k(0xa6)][k(0x9c)]('Added\x20item:\x20'+a[k(0xb5)]+'\x20to\x20inventory.');}[a48i(0xbb)](a){const l=a48i,b=this['getItem'](a);if(b)return this[l(0x9b)][l(0xa7)](a[l(0xb9)]()),this[l(0xa6)][l(0x9c)](l(0xa0)+a+'\x20from\x20inventory.'),b;return this['logger']['write']('Failed\x20to\x20remove\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),null;}[a48i(0x96)](a){const m=a48i,b=this[m(0x9b)][m(0xa4)](a[m(0xb9)]()),c=[...this['items'][m(0xaa)]()];return this[m(0xa6)][m(0x9c)](m(0xae)+a+m(0xbc)+c['join'](',\x20')+m(0xa5)+b+'.'),b;}[a48i(0x93)](a){const n=a48i,b=this[n(0x9b)][n(0xb4)](a[n(0xb9)]())||null;return b?this['logger']['write']('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0xa6)][n(0x9c)](n(0xab)+a+n(0x99)),b;}[a48i(0xb1)](){const o=a48i,a=[...this[o(0x9b)][o(0xaa)]()],b=a[o(0x9d)](c=>capitalCase(c));return this[o(0xa6)]['write'](o(0xb7)+b['join'](',\x20')+'.'),a;}[a48i(0xa8)](){const p=a48i;let a=0x0;for(const b of this[p(0x9b)][p(0x94)]()){a+=b[p(0x9e)];}return a;}[a48i(0xaf)](){const q=a48i;return[...this[q(0x9b)][q(0x94)]()];}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0xcb))/0x1*(-parseInt(f(0xd6))/0x2)+-parseInt(f(0xd5))/0x3*(parseInt(f(0xc4))/0x4)+-parseInt(f(0xc5))/0x5+-parseInt(f(0xd7))/0x6+parseInt(f(0xc6))/0x7+-parseInt(f(0xce))/0x8*(-parseInt(f(0xdc))/0x9)+-parseInt(f(0xc8))/0xa*(-parseInt(f(0xc7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x94de6));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0xd8)](h(0xd2))[h(0xdf)]()[h(0xd9)](a49a)[h(0xd8)](h(0xd2));});function a49c(){var l=['377674HInnqv','10VUEfdo','description','use','395887BzIJRA','apply','color','88sMJcEo','rating','shape','weight','(((.+)+)+)+$','category','name','173919bjUriO','2KgWCFg','2270982aCWtzi','search','constructor','size','texture','403227xBDDKA','.\x20Nothing\x20special\x20happens.','uuid','toString','56gocuDE','874975VwAEQB','7362782JcmiTh'];a49c=function(){return l;};return a49c();}a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xc4;var f=c[d];return f;},a49d(a,b);}export class Item extends AbstractItem{[a49i(0xde)];[a49i(0xd4)];[a49i(0xc9)];[a49i(0xda)];[a49i(0xd3)];[a49i(0xd0)];[a49i(0xcd)];[a49i(0xdb)];[a49i(0xcf)];[a49i(0xd1)];constructor(a){var j=a49i;super(),this[j(0xd4)]=a[j(0xd4)],this['description']=a[j(0xc9)],this[j(0xda)]=a[j(0xda)],this[j(0xd3)]=a['category'],this[j(0xd0)]=a[j(0xd0)],this[j(0xcd)]=a['color'],this['texture']=a[j(0xdb)],this[j(0xcf)]=a[j(0xcf)],this[j(0xd1)]=a[j(0xd1)],this['uuid']=a49e();}[a49i(0xca)](){var k=a49i;return'You\x20use\x20the\x20'+this['name']+k(0xdd);}}
1
+ function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1a8;var f=c[d];return f;},a49d(a,b);}function a49c(){var k=['name','2813240JjEIvH','uuid','toString','category','You\x20use\x20the\x20','.\x20Nothing\x20special\x20happens.','color','258YCbfcp','(((.+)+)+)+$','3591168ljXSgT','shape','weight','9905QCwhOC','1010037wcszuQ','search','1667330nNgkNJ','715687lJNArU','rating','description','16oTRhsT','9KDEOHr','constructor','texture','use','size','108831txEHsm'];a49c=function(){return k;};return a49c();}var a49h=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1ae))/0x1+parseInt(f(0x1b0))/0x2+-parseInt(f(0x1ba))/0x3+-parseInt(f(0x1aa))/0x4+-parseInt(f(0x1ad))/0x5*(-parseInt(f(0x1a8))/0x6)+-parseInt(f(0x1b1))/0x7*(parseInt(f(0x1b4))/0x8)+parseInt(f(0x1b5))/0x9*(-parseInt(f(0x1bc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x7c452));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a['toString']()[g(0x1af)](g(0x1a9))[g(0x1be)]()[g(0x1b6)](a49a)[g(0x1af)]('(((.+)+)+)+$');});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49h(0x1bd)];[a49h(0x1bb)];[a49h(0x1b3)];[a49h(0x1b9)];[a49h(0x1bf)];[a49h(0x1ab)];[a49h(0x1c2)];[a49h(0x1b7)];[a49h(0x1b2)];[a49h(0x1ac)];constructor(a){var i=a49h;super(),this[i(0x1bb)]=a[i(0x1bb)],this[i(0x1b3)]=a[i(0x1b3)],this[i(0x1b9)]=a[i(0x1b9)],this[i(0x1bf)]=a[i(0x1bf)],this[i(0x1ab)]=a[i(0x1ab)],this[i(0x1c2)]=a[i(0x1c2)],this[i(0x1b7)]=a[i(0x1b7)],this[i(0x1b2)]=a[i(0x1b2)],this[i(0x1ac)]=a[i(0x1ac)],this[i(0x1bd)]=a49e();}[a49h(0x1b8)](){var j=a49h;return j(0x1c0)+this[j(0x1bb)]+j(0x1c1);}}
@@ -1 +1 @@
1
- const a50h=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x8b))/0x1*(parseInt(f(0x90))/0x2)+-parseInt(f(0x89))/0x3*(parseInt(f(0x8e))/0x4)+parseInt(f(0x83))/0x5+parseInt(f(0x8d))/0x6+parseInt(f(0x94))/0x7*(parseInt(f(0x91))/0x8)+parseInt(f(0x8f))/0x9*(-parseInt(f(0x84))/0xa)+parseInt(f(0x98))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xcdd6a));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const g=a50d;return a50a[g(0x85)]()['search'](g(0x95))[g(0x85)]()[g(0x8c)](a50a)[g(0x93)](g(0x95));});a50a();import{Player}from'./player.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x83;let f=c[d];return f;},a50d(a,b);}import{GoCommand}from'../commands/go.js';function a50c(){const n=['221437GvCmIh','constructor','692520PrFLnT','6694032tNusXg','9EPerRN','4LqxGOV','40DIlBly','length','search','2356858HeoOmw','(((.+)+)+)+$','name','speak','16603708dxpMIO','floor','scene','rooms','execute','2351220mCpvYJ','8190660MGSypv','toString','_name','random','moveTo','3LdMFDc','_dialogue'];a50c=function(){return n;};return a50c();}export class NPC extends Player{[a50h(0x86)];[a50h(0x8a)];[a50h(0x9b)];[a50h(0x9a)];constructor(a,b,c,d){const i=a50h;super(d),this[i(0x86)]=a,this['_dialogue']=b,this['rooms']=c;}get[a50h(0x96)](){const j=a50h;return this[j(0x86)];}[a50h(0x97)](){const k=a50h;return this[k(0x8a)][Math[k(0x99)](Math['random']()*this[k(0x8a)]['length'])];}['autonomousMove'](a){const l=a50h,b=a[Math[l(0x99)](Math[l(0x87)]()*a[l(0x92)])];this[l(0x88)](b[l(0x96)]);}[a50h(0x88)](a){const m=a50h,b={'actor':this,'rooms':this[m(0x9b)],'scene':this[m(0x9a)]},c=new GoCommand(b);c[m(0x9c)]([a]);}}
1
+ function a50c(){const o=['3330649Fuwhbx','446450Gbypse','33WdGDyE','_name','248lnsvxd','length','25REIhps','name','110136FSyHDU','3467380jeVYPr','141132Gwabwo','scene','autonomousMove','353928MKMdny','72ATUgMJ','_dialogue','moveTo','search','floor','apply','rooms','execute','constructor','111015bNHqqZ','(((.+)+)+)+$','random','toString'];a50c=function(){return o;};return a50c();}const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x15d))/0x1+parseInt(f(0x14b))/0x2+-parseInt(f(0x14f))/0x3*(-parseInt(f(0x149))/0x4)+parseInt(f(0x147))/0x5*(parseInt(f(0x14e))/0x6)+-parseInt(f(0x15c))/0x7+parseInt(f(0x160))/0x8*(parseInt(f(0x158))/0x9)+-parseInt(f(0x14a))/0xa*(parseInt(f(0x15e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x52cc0));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()['search'](h(0x159))[h(0x15b)]()[h(0x157)](a50a)[h(0x152)]('(((.+)+)+)+$');});function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x146;let f=c[d];return f;},a50d(a,b);}a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a50i(0x150)];['rooms'];[a50i(0x14c)];constructor(a,b,c,d){const j=a50i;super(d),this['_name']=a,this['_dialogue']=b,this[j(0x155)]=c;}get[a50i(0x148)](){const k=a50i;return this[k(0x15f)];}['speak'](){const l=a50i;return this[l(0x150)][Math[l(0x153)](Math['random']()*this[l(0x150)][l(0x146)])];}[a50i(0x14d)](a){const m=a50i,b=a[Math[m(0x153)](Math[m(0x15a)]()*a['length'])];this[m(0x151)](b[m(0x148)]);}[a50i(0x151)](a){const n=a50i,b={'actor':this,'rooms':this['rooms'],'scene':this[n(0x14c)]},c=new GoCommand(b);c[n(0x156)]([a]);}}
@@ -1 +1 @@
1
- const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x160))/0x1+parseInt(f(0x111))/0x2*(-parseInt(f(0x128))/0x3)+parseInt(f(0x118))/0x4+-parseInt(f(0x12a))/0x5*(-parseInt(f(0x107))/0x6)+parseInt(f(0x146))/0x7*(-parseInt(f(0x120))/0x8)+parseInt(f(0x147))/0x9*(-parseInt(f(0x161))/0xa)+-parseInt(f(0x112))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x3300d));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(0x13a)]()['search']('(((.+)+)+)+$')[g(0x13a)]()[g(0x106)](a51a)['search'](g(0x152));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a51c(){const B=['log','8CIWxAa','Added\x20','hear','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','addItem','_currentLocation','getInstance','currentLocation','12456kRorYo','\x20to\x20player\x27s\x20inventory.','5qAPrlG','\x20says:\x20\x22','bodyarmor','_inventory','logger','Hat','leg\x20armor','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','legs','currentWeight','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','unequipBySlot','ArmArmor','includes','Boots','feet','toString','write','helmet','rightHand','inventoryItems','weapon','head','arm\x20armor','category','startLocation','values','\x20slot.','2498636NyfWLR','25227vlxOcT','legarmor','\x20in\x20your\x20inventory.','You\x20unequipped\x20','leaveRoom','_maxCarryingWeight','_playerName','unequip','shield','removeInventory','Helmet','(((.+)+)+)+$','Nexus','initialEquipment','maxCarryingWeight','canEquip','playerName','.\x20You\x20must\x20unequip\x20it\x20first.','Gloves','speak','name','Max\x20carrying\x20weight\x20must\x20be\x20positive.','enterRoom','_equipment','equip','364606DQgdgH','1370iJTqvW','hat','hasItem','Weapon','constructor','1645428xUhGTx','\x20from\x20player\x27s\x20inventory.','Removed\x20','leftHand','arms','gloves','boots','weight','addInventory','\x20is\x20no\x20longer\x20listeng\x20in\x20','32JkdAkU','105105UXlxUm','equipment','LegArmor','toLowerCase','BodyArmor','\x20is\x20now\x20listening\x20in\x20room\x20','1548044sWYYvE','determineEquipmentSlot','torso','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','bind','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','You\x20don\x27t\x20have\x20'];a51c=function(){return B;};return a51c();}import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x104;let f=c[d];return f;},a51d(a,b);}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51h(0x14d)];['_currentLocation'];[a51h(0x12d)];[a51h(0x15e)];[a51h(0x14c)]=0x32;[a51h(0x12e)];constructor(a){const i=a51h;super(),this['_playerName']=a[i(0x157)],this[i(0x125)]=a[i(0x143)]||new Room({'name':i(0x153),'description':'A\x20featureless\x20room'}),this['_inventory']=new Inventory(),this['logger']=Logger[i(0x126)]();if(a?.[i(0x13e)])for(const b of a['inventoryItems']){this[i(0x12d)][i(0x124)](b);}this['_equipment']=a?.[i(0x154)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0x15b)](){const j=a51h;return this[j(0x14d)];}get[a51h(0x127)](){const k=a51h;return this[k(0x125)];}set[a51h(0x127)](a){const l=a51h;this[l(0x125)]!==a&&(this[l(0x14b)](),this[l(0x15d)](a)),this['_currentLocation']=a;}get['inventory'](){const m=a51h;return this[m(0x12d)];}get[a51h(0x113)](){return this['_equipment'];}set[a51h(0x113)](a){const n=a51h;this[n(0x15e)]=a;}get[a51h(0x155)](){const o=a51h;return this[o(0x14c)];}set['maxCarryingWeight'](a){const p=a51h;a>0x0?this['_maxCarryingWeight']=a:console['error'](p(0x15c));}get[a51h(0x133)](){const q=a51h;let a=this[q(0x12d)]['getWeight']();for(const b in this['_equipment']){const c=this[q(0x15e)][b];c&&(a+=c[q(0x10e)]);}return a;}['addInventory'](a){const r=a51h;if(this[r(0x133)]+a['weight']>this['maxCarryingWeight']){this[r(0x12e)][r(0x13b)](r(0x11d));throw new Error(r(0x131));}this[r(0x12d)][r(0x124)](a),this['logger'][r(0x13b)](r(0x121)+a['name']+r(0x129));}['removeInventory'](a){const s=a51h;if(this[s(0x12d)]['removeItem'](a[s(0x15b)]))return this[s(0x12e)][s(0x13b)](s(0x109)+a[s(0x15b)]+s(0x108)),!![];return this[s(0x12e)][s(0x13b)]('Failed\x20to\x20remove\x20'+a['name']+'\x20from\x20player\x27s\x20inventory.'),![];}[a51h(0x15f)](a){const t=a51h;if(!this['_inventory'][t(0x104)](a[t(0x15b)]))return t(0x11e)+a[t(0x15b)]+t(0x149);if(!this[t(0x156)](a))return'You\x20can\x27t\x20equip\x20'+a['name']+'.';const b=this[t(0x119)](a['category']);if(!b)return a['name']+t(0x134);if(this[t(0x113)][b])return t(0x123)+b+t(0x158);return this[t(0x113)][b]=a,this[t(0x150)](a),'You\x20equipped\x20'+a['name']+'.';}[a51h(0x14e)](a){const u=a51h;let b=a;if(!this[u(0x113)][camelCase(b)]){b=this[u(0x119)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[u(0x135)](b);}['determineEquipmentSlot'](a){const v=a51h;switch(a[v(0x115)]()){case Category[v(0x105)]['toLowerCase']():return v(0x13d);case Category['Shield'][v(0x115)]():return'leftHand';case Category[v(0x159)][v(0x115)]():return'gloves';case Category[v(0x151)][v(0x115)]():case Category[v(0x12f)][v(0x115)]():return v(0x140);case Category[v(0x138)][v(0x115)]():return'feet';case Category[v(0x114)][v(0x115)]():return v(0x132);case Category[v(0x136)][v(0x115)]():return v(0x10b);case Category[v(0x116)]['toLowerCase']():return'torso';case v(0x13f):return v(0x13d);case v(0x14f):return v(0x10a);case v(0x10c):return v(0x10c);case v(0x13c):case v(0x162):return v(0x140);case v(0x10d):return v(0x139);case v(0x130):case v(0x148):return'legs';case v(0x141):case'armarmor':return'arms';case'body\x20armor':case v(0x12c):case v(0x11a):return'torso';default:return null;}}[a51h(0x156)](a){const w=a51h;return Object[w(0x144)](Category)[w(0x137)](a[w(0x142)]);}[a51h(0x135)](a){const x=a51h,b=this[x(0x113)][a];if(!b)return x(0x11b)+a+x(0x145);return this[x(0x10f)](b),this[x(0x113)][a]=null,x(0x14a)+b[x(0x15b)]+'.';}[a51h(0x122)](a,b){const y=a51h;a!==this&&this['logger'][y(0x11f)](a[y(0x15b)]+y(0x12b)+b+'\x22');}[a51h(0x15d)](a){const z=a51h;this[z(0x125)]=a,a['on'](z(0x15a),this['hear'][z(0x11c)](this)),this['logger'][z(0x13b)](this[z(0x15b)]+z(0x117)+a[z(0x15b)]);}[a51h(0x14b)](){const A=a51h;this[A(0x125)]&&(this[A(0x125)]['off']('speak',this[A(0x122)][A(0x11c)](this)),this[A(0x12e)][A(0x13b)](this[A(0x15b)]+A(0x110)+this[A(0x125)]['name']));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0xa8))/0x1*(parseInt(f(0xc4))/0x2)+-parseInt(f(0xb1))/0x3*(parseInt(f(0xbc))/0x4)+-parseInt(f(0xae))/0x5+parseInt(f(0xcf))/0x6*(parseInt(f(0x95))/0x7)+parseInt(f(0x92))/0x8*(parseInt(f(0xd7))/0x9)+parseInt(f(0xa4))/0xa+-parseInt(f(0xb5))/0xb*(parseInt(f(0xbd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xeb7e1));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xb4)]()[h(0xc1)](h(0xbf))[h(0xb4)]()[h(0x9a)](a51a)[h(0xc1)](h(0xbf));});function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x8e;let f=c[d];return f;},a51d(a,b);}function a51c(){const C=['882076AYxYTv','speak','torso','Boots','initialEquipment','category','_currentLocation','apply','getWeight','equipment','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','6jFWOJS','leftHand','.\x20You\x20must\x20unequip\x20it\x20first.','write','helmet','addInventory','determineEquipmentSlot','inventory','387KAxjPz','toLowerCase','Removed\x20','startLocation','head','\x20to\x20player\x27s\x20inventory.','_playerName','unequipBySlot','rightHand','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','inventoryItems','_maxCarryingWeight','error','equip','currentLocation','\x20is\x20no\x20longer\x20listeng\x20in\x20','feet','removeItem','armarmor','log','88480FTPnUm','maxCarryingWeight','arm\x20armor','7595763fkqEDc','You\x20don\x27t\x20have\x20','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','_inventory','leaveRoom','constructor','leg\x20armor','Helmet','Added\x20','gloves','currentWeight','Gloves','\x20from\x20player\x27s\x20inventory.','_equipment','name','11442860uYzhTA','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','hat','body\x20armor','3WvxPFP','logger','Invalid\x20category\x20or\x20slot:\x20','getInstance','Hat','Max\x20carrying\x20weight\x20must\x20be\x20positive.','2155870LTyYDP','weight','bind','90cmSCyb','ArmArmor','You\x20can\x27t\x20equip\x20','toString','66YbXeoL','playerName','removeInventory','arms','\x20slot.','hear','hasItem','99156bYqCfl','3777336SMBpag','LegArmor','(((.+)+)+)+$','canEquip','search','legs','weapon'];a51c=function(){return C;};return a51c();}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(0xdd)];[a51i(0xca)];[a51i(0x98)];[a51i(0xa2)];['_maxCarryingWeight']=0x32;[a51i(0xa9)];constructor(a){const j=a51i;super(),this[j(0xdd)]=a[j(0xb6)],this[j(0xca)]=a[j(0xda)]||new Room({'name':'Nexus','description':'A\x20featureless\x20room'}),this[j(0x98)]=new Inventory(),this['logger']=Logger[j(0xab)]();if(a?.[j(0xe1)])for(const b of a['inventoryItems']){this[j(0x98)]['addItem'](b);}this[j(0xa2)]=a?.[j(0xc8)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0xa3)](){const k=a51i;return this[k(0xdd)];}get[a51i(0xe5)](){const l=a51i;return this[l(0xca)];}set['currentLocation'](a){const m=a51i;this[m(0xca)]!==a&&(this[m(0x99)](),this['enterRoom'](a)),this[m(0xca)]=a;}get[a51i(0xd6)](){const n=a51i;return this[n(0x98)];}get[a51i(0xcd)](){const o=a51i;return this[o(0xa2)];}set[a51i(0xcd)](a){const p=a51i;this[p(0xa2)]=a;}get['maxCarryingWeight'](){const q=a51i;return this[q(0xe2)];}set[a51i(0x93)](a){const r=a51i;a>0x0?this[r(0xe2)]=a:console[r(0xe3)](r(0xad));}get[a51i(0x9f)](){const s=a51i;let a=this['_inventory'][s(0xcc)]();for(const b in this['_equipment']){const c=this['_equipment'][b];c&&(a+=c[s(0xaf)]);}return a;}[a51i(0xd4)](a){const t=a51i;if(this[t(0x9f)]+a[t(0xaf)]>this['maxCarryingWeight']){this[t(0xa9)][t(0xd2)](t(0x97));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[t(0x98)]['addItem'](a),this[t(0xa9)]['write'](t(0x9d)+a['name']+t(0xdc));}[a51i(0xb7)](a){const u=a51i;if(this[u(0x98)][u(0x8f)](a[u(0xa3)]))return this[u(0xa9)]['write'](u(0xd9)+a[u(0xa3)]+u(0xa1)),!![];return this[u(0xa9)][u(0xd2)]('Failed\x20to\x20remove\x20'+a[u(0xa3)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a51i(0xe4)](a){const v=a51i;if(!this[v(0x98)][v(0xbb)](a[v(0xa3)]))return v(0x96)+a[v(0xa3)]+'\x20in\x20your\x20inventory.';if(!this[v(0xc0)](a))return v(0xb3)+a[v(0xa3)]+'.';const b=this[v(0xd5)](a[v(0xc9)]);if(!b)return a['name']+v(0xa5);if(this[v(0xcd)][b])return v(0xe0)+b+v(0xd1);return this['equipment'][b]=a,this[v(0xb7)](a),'You\x20equipped\x20'+a[v(0xa3)]+'.';}['unequip'](a){const w=a51i;let b=a;if(!this[w(0xcd)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return w(0xaa)+a+'.';}return this[w(0xde)](b);}[a51i(0xd5)](a){const x=a51i;switch(a[x(0xd8)]()){case Category['Weapon']['toLowerCase']():return'rightHand';case Category['Shield']['toLowerCase']():return x(0xd0);case Category[x(0xa0)]['toLowerCase']():return x(0x9e);case Category[x(0x9c)]['toLowerCase']():case Category[x(0xac)]['toLowerCase']():return x(0xdb);case Category[x(0xc7)][x(0xd8)]():return x(0x8e);case Category[x(0xbe)][x(0xd8)]():return x(0xc2);case Category[x(0xb2)][x(0xd8)]():return x(0xb8);case Category['BodyArmor'][x(0xd8)]():return'torso';case x(0xc3):return x(0xdf);case'shield':return x(0xd0);case x(0x9e):return'gloves';case x(0xd3):case x(0xa6):return x(0xdb);case'boots':return'feet';case x(0x9b):case'legarmor':return x(0xc2);case x(0x94):case x(0x90):return x(0xb8);case x(0xa7):case'bodyarmor':case x(0xc6):return x(0xc6);default:return null;}}[a51i(0xc0)](a){return Object['values'](Category)['includes'](a['category']);}['unequipBySlot'](a){const y=a51i,b=this[y(0xcd)][a];if(!b)return y(0xce)+a+y(0xb9);return this[y(0xd4)](b),this[y(0xcd)][a]=null,'You\x20unequipped\x20'+b[y(0xa3)]+'.';}[a51i(0xba)](a,b){const z=a51i;a!==this&&this[z(0xa9)][z(0x91)](a['name']+'\x20says:\x20\x22'+b+'\x22');}['enterRoom'](a){const A=a51i;this[A(0xca)]=a,a['on'](A(0xc5),this[A(0xba)][A(0xb0)](this)),this[A(0xa9)][A(0xd2)](this[A(0xa3)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a['name']);}['leaveRoom'](){const B=a51i;this['_currentLocation']&&(this[B(0xca)]['off']('speak',this[B(0xba)][B(0xb0)](this)),this[B(0xa9)][B(0xd2)](this[B(0xa3)]+B(0xe6)+this[B(0xca)]['name']));}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xdc))/0x1*(-parseInt(f(0xd2))/0x2)+parseInt(f(0xec))/0x3*(-parseInt(f(0xe6))/0x4)+-parseInt(f(0xea))/0x5*(parseInt(f(0xd6))/0x6)+parseInt(f(0xe9))/0x7+parseInt(f(0xe8))/0x8*(-parseInt(f(0xd3))/0x9)+parseInt(f(0xdd))/0xa+parseInt(f(0xcf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x249ad));function a52c(){var n=['14620MROjTF','9EKmNKz','write','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','781098fuWYin','hasRequiredItem','requiredItem','toString','successMessage','You\x20have\x20already\x20solved\x20this\x20puzzle.','32wTKWcB','1938730BiWiSm','matchesRequiredPhrase','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','solved','(((.+)+)+)+$','requiredPhrase','You\x20solved\x20the\x20puzzle!','rewardItem','4NYjUsE','failureMessage','2336144SSjXGN','494242VUZltj','5mBCKFM','search','128577XBAtcF','getInstance','apply','solve','1282534nMOeAF','hasItem','logger'];a52c=function(){return n;};return a52c();}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xd9)]()[h(0xeb)](h(0xe2))[h(0xd9)]()['constructor'](a52a)[h(0xeb)]('(((.+)+)+)+$');});a52a();function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xce;var f=c[d];return f;},a52d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a52i(0xed)]();[a52i(0xe1)]=![];[a52i(0xd8)];['requiredPhrase'];['riddle'];['rewardItem'];[a52i(0xda)];['failureMessage'];constructor(a){var j=a52i;super(),this['requiredItem']=a[j(0xd8)],this['requiredPhrase']=a[j(0xe3)],this['riddle']=a['riddle'],this[j(0xe5)]=a[j(0xe5)],this[j(0xda)]=a['successMessage']||j(0xe4),this[j(0xe7)]=a[j(0xe7)]||j(0xe0);}[a52i(0xd7)](a){var k=a52i;if(this[k(0xd8)])return a[k(0xd0)](this['requiredItem']);return![];}[a52i(0xde)](a){var l=a52i;return this[l(0xe3)]===a;}[a52i(0xce)](a,b){var m=a52i;if(this['solved'])return this['logger'][m(0xd4)](m(0xdf)),{'success':![],'message':m(0xdb)};return this[m(0xd7)](b)||this[m(0xde)](a)?(this[m(0xe1)]=!![],this[m(0xd1)]['write']('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[m(0xda)]}):(this['logger']['write'](m(0xd5)),{'success':![],'message':this['failureMessage']});}}
1
+ var a52h=a52d;function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xfd;var f=c[d];return f;},a52d(a,b);}(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xfe))/0x1*(-parseInt(f(0x119))/0x2)+parseInt(f(0x11b))/0x3+-parseInt(f(0x106))/0x4+-parseInt(f(0x117))/0x5*(parseInt(f(0xfd))/0x6)+-parseInt(f(0x102))/0x7*(parseInt(f(0x111))/0x8)+parseInt(f(0x115))/0x9+-parseInt(f(0x112))/0xa*(-parseInt(f(0x11d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x70c96));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(0x103)]()[g(0x10c)](g(0x10a))['toString']()[g(0x100)](a52a)['search']('(((.+)+)+)+$');});a52a();import{Logger}from'../utilities/logger.js';function a52c(){var l=['Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','480aPMtHq','write','2defKCX','hasItem','1539690JnYBMb','requiredPhrase','22DNEXFA','requiredItem','52566ZKEbGi','900273BLOTqG','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','constructor','You\x20have\x20already\x20solved\x20this\x20puzzle.','1756853ByLsgT','toString','hasRequiredItem','rewardItem','510296JBqXhk','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','solved','logger','(((.+)+)+)+$','riddle','search','successMessage','failureMessage','solve','matchesRequiredPhrase','8APCmwU','692190XAFVro','You\x20solved\x20the\x20puzzle!','Puzzle:\x20Correct\x20solution\x20provided.','1166778RiIUwF'];a52c=function(){return l;};return a52c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger['getInstance']();[a52h(0x108)]=![];[a52h(0x11e)];[a52h(0x11c)];['riddle'];[a52h(0x105)];[a52h(0x10d)];[a52h(0x10e)];constructor(a){var i=a52h;super(),this[i(0x11e)]=a[i(0x11e)],this['requiredPhrase']=a['requiredPhrase'],this[i(0x10b)]=a['riddle'],this[i(0x105)]=a[i(0x105)],this[i(0x10d)]=a[i(0x10d)]||i(0x113),this[i(0x10e)]=a[i(0x10e)]||i(0xff);}[a52h(0x104)](a){var j=a52h;if(this[j(0x11e)])return a[j(0x11a)](this[j(0x11e)]);return![];}[a52h(0x110)](a){return this['requiredPhrase']===a;}[a52h(0x10f)](a,b){var k=a52h;if(this[k(0x108)])return this[k(0x109)]['write'](k(0x116)),{'success':![],'message':k(0x101)};return this[k(0x104)](b)||this[k(0x110)](a)?(this[k(0x108)]=!![],this[k(0x109)][k(0x118)](k(0x114)),{'success':!![],'message':this['successMessage']}):(this[k(0x109)][k(0x118)](k(0x107)),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x11e))/0x1+-parseInt(f(0xf6))/0x2+-parseInt(f(0x113))/0x3+parseInt(f(0xf8))/0x4+-parseInt(f(0x10c))/0x5*(-parseInt(f(0x11f))/0x6)+-parseInt(f(0xfa))/0x7+parseInt(f(0x110))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xe0e5d));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x122)]()[h(0x116)]('(((.+)+)+)+$')[h(0x122)]()[h(0x129)](a53a)[h(0x116)](h(0x131));});a53a();function a53c(){const u=['There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','\x20remains\x20locked.','getInstance','write','emit','Item\x20removed\x20from\x20room\x20','puzzle','attemptUnlock','riddle','Room\x20created:\x20','EAST','DOWN','Fetching\x20exit\x20in\x20direction:\x20','addItem','1245nlDYUQ','checkIfLocked','apply','getOppositeDirection','10137696FOSzMO','No\x20locked\x20exit\x20found\x20in\x20direction\x20','name','2716857OoxBVi','findExistingDoor','Item\x20added\x20to\x20room\x20','search','set','.\x20Success:\x20','logger','removeItem','\x20is\x20locked.\x20Result:\x20','getExit','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','863213KeUbPd','5772mDHrvb','isExitLocked','addExit','toString','north','get','hasItem','roomType','INSIDE','west','constructor','description','roomB','values','exits','attemptUnlockExit','The\x20','roomA','(((.+)+)+)+$','inventory','325230sydBgQ','down','5059396kNOUyv','speak','11517779zBrQAI','isStartRoom','WEST','say'];a53c=function(){return u;};return a53c();}function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xf6;let f=c[d];return f;},a53d(a,b);}import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x119)]=Logger[a53i(0x100)]();['name'];[a53i(0x12a)];[a53i(0x12d)]=new Map();[a53i(0x126)];[a53i(0xfb)];[a53i(0x132)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x112)]=a[j(0x112)],this[j(0x12a)]=a[j(0x12a)],this[j(0x126)]=a[j(0x126)]||RoomType[j(0x127)],a[j(0x12d)]&&(this[j(0x12d)]=a[j(0x12d)]||new Map()),a[j(0x132)]&&(this['inventory']=a['inventory']),a[j(0x104)]&&(this[j(0x104)]=a[j(0x104)]),this[j(0xfb)]=a[j(0xfb)]||![],this[j(0x119)][j(0x101)](j(0x107)+this[j(0x112)]);}[a53i(0xfd)](a,b){const k=a53i;this[k(0x102)](k(0xf9),a,b);}[a53i(0x121)](a,b,c){const l=a53i;let d=this[l(0x114)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x12d)]['set'](a,d),b['exits'][l(0x117)](this[l(0x10f)](a),d);}[a53i(0x12e)](a,b){const m=a53i,c=this[m(0x12d)][m(0x124)](a);if(c instanceof Door){const d=c[m(0x105)](b);return this[m(0x119)][m(0x101)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0x118)+d),d?'The\x20'+c[m(0x112)]+'\x20unlocked!':m(0x12f)+c[m(0x112)]+m(0xff);}return this[m(0x119)][m(0x101)](m(0x111)+a),m(0xfe);}[a53i(0x11c)](a){const n=a53i;return this[n(0x119)][n(0x101)](n(0x10a)+a),this[n(0x12d)][n(0x124)](a);}[a53i(0x120)](a){const o=a53i,b=this[o(0x12d)]['get'](a),c=b instanceof Door&&b[o(0x10d)]();return this[o(0x119)][o(0x101)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0x11b)+c),c;}[a53i(0x10b)](a){const p=a53i;this[p(0x132)][p(0x10b)](a),this[p(0x119)]['write'](p(0x115)+this['name']+':\x20'+a['name']);}[a53i(0x11a)](a){const q=a53i;this[q(0x132)][q(0x125)](a[q(0x112)])?(this['inventory']['removeItem'](a['name']),this[q(0x119)][q(0x101)](q(0x103)+this['name']+':\x20'+a[q(0x112)])):this[q(0x119)][q(0x101)](q(0x11d)+this[q(0x112)]+':\x20'+a[q(0x112)]);}['setPuzzle'](a){const r=a53i;this[r(0x104)]=a,this['logger']['write']('Puzzle\x20set\x20for\x20room\x20'+this[r(0x112)]+':\x20'+a[r(0x106)]);}[a53i(0x10f)](a){const s=a53i;switch(a){case s(0x123):return Direction['SOUTH'];case'south':return Direction['NORTH'];case'east':return Direction[s(0xfc)];case s(0x128):return Direction[s(0x108)];case'up':return Direction[s(0x109)];case s(0xf7):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53i(0x114)](a){const t=a53i;for(const b of this[t(0x12d)][t(0x12c)]()){if(b instanceof Door){if(b[t(0x130)]===this&&b[t(0x12b)]===a||b[t(0x12b)]===this&&b[t(0x130)]===a)return b;}}return undefined;}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x148))/0x1*(parseInt(f(0x16e))/0x2)+parseInt(f(0x144))/0x3+parseInt(f(0x15f))/0x4*(-parseInt(f(0x151))/0x5)+-parseInt(f(0x14e))/0x6*(parseInt(f(0x162))/0x7)+parseInt(f(0x141))/0x8+parseInt(f(0x150))/0x9+-parseInt(f(0x138))/0xa*(parseInt(f(0x13a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x50d1f));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0x13c)](h(0x163))[h(0x160)]()[h(0x16b)](a53a)[h(0x13c)](h(0x163));});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x137;let f=c[d];return f;},a53d(a,b);}function a53c(){const u=['Item\x20added\x20to\x20room\x20','6550fVtJCN','Checking\x20if\x20exit\x20in\x20direction\x20','INSIDE','\x20unlocked!','south','EAST','say','setPuzzle','riddle','\x20remains\x20locked.','20SmeSih','hasItem','4848877KkXEMA','checkIfLocked','search','NORTH','down','WEST','DOWN','3339376gLukMD','roomA','findExistingDoor','1025739vdoBxP','isExitLocked','set','apply','47RcKear','removeItem','get','addExit','west','north','6EEXirj','attemptUnlockExit','3791610buzPUZ','138455KAtoaH','speak','puzzle','The\x20','Fetching\x20exit\x20in\x20direction:\x20','write','isStartRoom','SOUTH','Item\x20removed\x20from\x20room\x20','inventory','getOppositeDirection','No\x20locked\x20exit\x20found\x20in\x20direction\x20','east','Puzzle\x20set\x20for\x20room\x20','12czAoGU','toString','Room\x20created:\x20','271768HGdBXt','(((.+)+)+)+$','addItem','\x20is\x20locked.\x20Result:\x20','values','name','description','roomType','exits','constructor','logger'];a53c=function(){return u;};return a53c();}import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x16c)]=Logger['getInstance']();[a53i(0x167)];[a53i(0x168)];['exits']=new Map();['roomType'];[a53i(0x157)];[a53i(0x15a)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x167)]=a[j(0x167)],this[j(0x168)]=a[j(0x168)],this[j(0x169)]=a[j(0x169)]||RoomType[j(0x170)],a[j(0x16a)]&&(this[j(0x16a)]=a['exits']||new Map()),a[j(0x15a)]&&(this[j(0x15a)]=a[j(0x15a)]),a[j(0x153)]&&(this[j(0x153)]=a[j(0x153)]),this['isStartRoom']=a['isStartRoom']||![],this[j(0x16c)][j(0x156)](j(0x161)+this[j(0x167)]);}[a53i(0x174)](a,b){const k=a53i;this['emit'](k(0x152),a,b);}[a53i(0x14b)](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(0x16a)][l(0x146)](a,d),b[l(0x16a)][l(0x146)](this[l(0x15b)](a),d);}[a53i(0x14f)](a,b){const m=a53i,c=this[m(0x16a)][m(0x14a)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0x16c)][m(0x156)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+'.\x20Success:\x20'+d),d?'The\x20'+c[m(0x167)]+m(0x171):m(0x154)+c[m(0x167)]+m(0x137);}return this[m(0x16c)][m(0x156)](m(0x15c)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}['getExit'](a){const n=a53i;return this[n(0x16c)][n(0x156)](n(0x155)+a),this['exits'][n(0x14a)](a);}[a53i(0x145)](a){const o=a53i,b=this[o(0x16a)][o(0x14a)](a),c=b instanceof Door&&b[o(0x13b)]();return this[o(0x16c)][o(0x156)](o(0x16f)+a+o(0x165)+c),c;}[a53i(0x164)](a){const p=a53i;this[p(0x15a)][p(0x164)](a),this[p(0x16c)][p(0x156)](p(0x16d)+this['name']+':\x20'+a[p(0x167)]);}[a53i(0x149)](a){const q=a53i;this[q(0x15a)][q(0x139)](a['name'])?(this['inventory']['removeItem'](a[q(0x167)]),this[q(0x16c)]['write'](q(0x159)+this[q(0x167)]+':\x20'+a[q(0x167)])):this[q(0x16c)][q(0x156)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0x167)]+':\x20'+a['name']);}[a53i(0x175)](a){const r=a53i;this[r(0x153)]=a,this[r(0x16c)]['write'](r(0x15e)+this['name']+':\x20'+a[r(0x176)]);}[a53i(0x15b)](a){const s=a53i;switch(a){case s(0x14d):return Direction[s(0x158)];case s(0x172):return Direction[s(0x13d)];case s(0x15d):return Direction[s(0x13f)];case s(0x14c):return Direction[s(0x173)];case'up':return Direction[s(0x140)];case s(0x13e):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53i(0x143)](a){const t=a53i;for(const b of this[t(0x16a)][t(0x166)]()){if(b instanceof Door){if(b[t(0x142)]===this&&b['roomB']===a||b['roomB']===this&&b['roomA']===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a54k=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0xaf))/0x1*(parseInt(i(0xa3))/0x2)+-parseInt(i(0xd4))/0x3+-parseInt(i(0xc8))/0x4+-parseInt(i(0xe3))/0x5*(-parseInt(i(0xc6))/0x6)+-parseInt(i(0xce))/0x7*(-parseInt(i(0x98))/0x8)+-parseInt(i(0xa5))/0x9*(parseInt(i(0xc2))/0xa)+parseInt(i(0xb6))/0xb*(parseInt(i(0xab))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xf036e));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const j=a54d;return a54a[j(0xb2)]()[j(0xbb)](j(0xb8))[j(0xb2)]()[j(0xc5)](a54a)['search'](j(0xb8));});a54a();function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x96;let f=c[d];return f;},a54d(a,b);}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 a54c(){const D=['Scene\x20initialized\x20with\x20rooms:\x20','removeRoom','search','addExit','No\x20actor\x20with\x20name\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','keys','logger','setCharacterLocation','5947090qaZGEf','\x22\x20does\x20not\x20exist.','actors','constructor','6zLmRqX','determineStartRoom','3230500KtMMwa','toUpperCase','createRoom','\x20not\x20found\x20in\x20scene.','roomFactory','addItem','91XSMPMG','\x20already\x20exists\x20in\x20the\x20scene.','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','addItemToRoom','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','exits','2555502uXuCec','delete','getActor','initialize','addRoom','isStartRoom','getInstance','generateRoomsFromConfig','player','.\x20Room\x20','write','addPuzzleToRoom','getCharacterLocation','hasOwnProperty','from','1092785bzXDfI','name','has','584128xSRwCf','Room\x20\x22','Failed\x20to\x20set\x20','currentLocation','\x27s\x20location.\x20Room\x20','characterLocations','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','createExitsFromConfig','Removed\x20room\x20from\x20scene:\x20','Actor\x20with\x20name\x20','targetRoom','26nXKjlY','length','9IzdADv','values','warn','Added\x20room\x20to\x20scene:\x20','keyRequired','\x20is\x20now\x20in\x20room\x20','12ecOqDM','Added\x20puzzle\x20to\x20room\x20','Failed\x20to\x20add\x20item\x20','rooms','105634oHctbW','Failed\x20to\x20add\x20puzzle.\x20Room\x20','set','toString','Added\x20item\x20','\x20found\x20in\x20the\x20scene.','removeActor','7667869yfHpBa','roomConfiguration','(((.+)+)+)+$'];a54c=function(){return D;};return a54c();}export class Scene extends AbstractScene{[a54k(0xae)];['player'];['logger'];[a54k(0xc4)];[a54k(0x9d)]=new Map();[a54k(0xcc)];constructor(a){const l=a54k;super(),this[l(0xcc)]=new RoomFactory(),this[l(0xdc)]=a['player'],this['rooms']=this[l(0xdb)](a[l(0xb7)]),this['logger']=Logger[l(0xda)](),this['actors']=new Map(),this[l(0x9f)](a[l(0xb7)]),this['logger'][l(0xde)](l(0xb9)+Object[l(0xbf)](this[l(0xae)])['join'](',\x20'));}[a54k(0xd7)](){const m=a54k;this['player'][m(0x9b)]=this[m(0xc7)]();}[a54k(0xdb)](a){const n=a54k;if(!this['roomFactory'])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[n(0xcc)][n(0xca)](c);b[c[n(0x96)]]=d;}return b;}[a54k(0x9f)](a){const o=a54k;for(const b of a){const c=this[o(0xae)][b[o(0x96)]];if(b[o(0xd3)])for(const d of b[o(0xd3)]){const e=d['direction'][o(0xc9)](),f=d[o(0xa2)],g=d[o(0xa9)],h=this[o(0xae)][f];h&&c[o(0xbc)](Direction[e],h,g);}}}['addActor'](a){const p=a54k;if(this[p(0xc4)]['has'](a[p(0x96)]))throw new Error(p(0xa1)+a[p(0x96)]+p(0xcf));this[p(0xc4)][p(0xb1)](a[p(0x96)],a);}[a54k(0xb5)](a){const q=a54k;if(!this['actors'][q(0x97)](a))throw new Error(q(0xbd)+a+q(0xb4));this[q(0xc4)][q(0xd5)](a);}[a54k(0xd6)](a){const r=a54k;return this[r(0xc4)]['get'](a);}get['allActors'](){const s=a54k;return Array[s(0xe2)](this[s(0xc4)][s(0xa6)]());}[a54k(0xd8)](a){const t=a54k;this[t(0xae)][a[t(0x96)]]=a,this['logger'][t(0xde)](t(0xa8)+a[t(0x96)]);}[a54k(0xba)](a){const u=a54k;return this[u(0xae)][a]?(delete this[u(0xae)][a],this[u(0xc0)][u(0xde)](u(0xa0)+a),!![]):(this[u(0xc0)][u(0xde)](u(0xd2)+a),![]);}[a54k(0xd1)](a,b){const v=a54k,c=this['rooms'][b];c?(c[v(0xcd)](a),this[v(0xc0)]['write'](v(0xb3)+a['name']+'\x20to\x20room\x20'+c['name'])):this['logger']['write'](v(0xad)+a[v(0x96)]+v(0xdd)+b+v(0xcb));}[a54k(0xdf)](a,b){const w=a54k,c=this[w(0xae)][b];c?(c['setPuzzle'](a),this[w(0xc0)]['write'](w(0xac)+c[w(0x96)])):this[w(0xc0)][w(0xde)](w(0xb0)+b+'\x20not\x20found\x20in\x20scene.');}[a54k(0xc1)](a,b){const x=a54k,c=this[x(0xae)][b];c?(this['characterLocations'][x(0xb1)](a[x(0x96)],c),this['logger'][x(0xde)](a[x(0x96)]+x(0xaa)+c[x(0x96)])):this[x(0xc0)][x(0xde)](x(0x9a)+a[x(0x96)]+x(0x9c)+b+x(0xcb));}[a54k(0xe0)](a){const y=a54k;return this[y(0x9d)]['get'](a[y(0x96)]);}[a54k(0xc7)](){const z=a54k,a=[];for(const c in this[z(0xae)]){if(this['rooms'][z(0xe1)](c)){const d=this[z(0xae)][c];d[z(0xd9)]&&a['push'](d);}}if(a[z(0xa4)]>0x1)throw new Error(z(0x9e));if(a[z(0xa4)]===0x1)return a[0x0];const b=Object['keys'](this[z(0xae)]);if(b['length']===0x0)throw new Error(z(0xbe));return console[z(0xa7)](z(0xd0)),this[z(0xae)][b[0x0]];}['getPlayer'](){const A=a54k;return this[A(0xdc)];}['getRooms'](){const B=a54k;return this[B(0xae)];}['connectRooms'](a,b,c,d){const C=a54k,e=this['rooms'][a],f=this[C(0xae)][c];if(!e)throw new Error(C(0x99)+a+C(0xc3));if(!f)throw new Error(C(0x99)+c+C(0xc3));e[C(0xbc)](b,f,d);}}
1
+ const a54k=a54d;function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x7c;let f=c[d];return f;},a54d(a,b);}(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0xbf))/0x1*(-parseInt(i(0x85))/0x2)+parseInt(i(0xbc))/0x3*(-parseInt(i(0xc6))/0x4)+parseInt(i(0xa8))/0x5+-parseInt(i(0xa1))/0x6*(parseInt(i(0x8b))/0x7)+-parseInt(i(0x84))/0x8*(parseInt(i(0x82))/0x9)+-parseInt(i(0xae))/0xa*(parseInt(i(0x92))/0xb)+parseInt(i(0x7f))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x63c59));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const j=a54d;return a54a[j(0x89)]()[j(0xbe)](j(0x9e))[j(0x89)]()[j(0xab)](a54a)[j(0xbe)](j(0x9e));});a54a();function a54c(){const D=['getCharacterLocation','push','length','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','\x22\x20does\x20not\x20exist.','write','addItemToRoom','75nqvTvl','toUpperCase','search','52ighMDJ','Failed\x20to\x20add\x20item\x20','connectRooms','delete','createRoom','Scene\x20initialized\x20with\x20rooms:\x20','Failed\x20to\x20add\x20puzzle.\x20Room\x20','101228EUFKSS','addPuzzleToRoom','removeRoom','isStartRoom','hasOwnProperty','keys','\x20not\x20found\x20in\x20scene.','21466716YuqFJQ','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','getActor','9jmctqF','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','2479480eOJdQk','1396iTPIhl','set','addExit','addItem','toString','Added\x20room\x20to\x20scene:\x20','7ZSLboZ','createExitsFromConfig','Removed\x20room\x20from\x20scene:\x20','keyRequired','.\x20Room\x20','roomConfiguration','Added\x20item\x20','915453zeORys','determineStartRoom','\x20to\x20room\x20','has','actors','direction','Actor\x20with\x20name\x20','exits','rooms','characterLocations','addActor','initialize','(((.+)+)+)+$','getRooms','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','3422718lWeEOL','setPuzzle','No\x20actor\x20with\x20name\x20','\x20found\x20in\x20the\x20scene.','generateRoomsFromConfig','addRoom','get','3811615OmfDyg','logger','roomFactory','constructor','warn','getPlayer','80nWumqJ','player','values','Room\x20\x22','name','\x27s\x20location.\x20Room\x20','Room\x20Factory\x20was\x20not\x20correctly\x20initialized'];a54c=function(){return D;};return a54c();}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{['rooms'];[a54k(0xaf)];[a54k(0xa9)];[a54k(0x96)];[a54k(0x9b)]=new Map();[a54k(0xaa)];constructor(a){const l=a54k;super(),this[l(0xaa)]=new RoomFactory(),this['player']=a[l(0xaf)],this[l(0x9a)]=this[l(0xa5)](a[l(0x90)]),this[l(0xa9)]=Logger['getInstance'](),this[l(0x96)]=new Map(),this[l(0x8c)](a[l(0x90)]),this['logger'][l(0xba)](l(0xc4)+Object[l(0x7d)](this[l(0x9a)])['join'](',\x20'));}[a54k(0x9d)](){const m=a54k;this[m(0xaf)]['currentLocation']=this[m(0x93)]();}['generateRoomsFromConfig'](a){const n=a54k;if(!this[n(0xaa)])throw new Error(n(0xb4));const b={};for(const c of a){const d=this['roomFactory'][n(0xc3)](c);b[c[n(0xb2)]]=d;}return b;}[a54k(0x8c)](a){const o=a54k;for(const b of a){const c=this[o(0x9a)][b[o(0xb2)]];if(b['exits'])for(const d of b[o(0x99)]){const e=d[o(0x97)][o(0xbd)](),f=d['targetRoom'],g=d[o(0x8e)],h=this[o(0x9a)][f];h&&c[o(0x87)](Direction[e],h,g);}}}[a54k(0x9c)](a){const p=a54k;if(this['actors']['has'](a[p(0xb2)]))throw new Error(p(0x98)+a['name']+'\x20already\x20exists\x20in\x20the\x20scene.');this[p(0x96)]['set'](a[p(0xb2)],a);}['removeActor'](a){const q=a54k;if(!this[q(0x96)][q(0x95)](a))throw new Error(q(0xa3)+a+q(0xa4));this[q(0x96)][q(0xc2)](a);}[a54k(0x81)](a){const r=a54k;return this[r(0x96)]['get'](a);}get['allActors'](){const s=a54k;return Array['from'](this['actors'][s(0xb0)]());}[a54k(0xa6)](a){const t=a54k;this[t(0x9a)][a[t(0xb2)]]=a,this[t(0xa9)][t(0xba)](t(0x8a)+a['name']);}[a54k(0xc8)](a){const u=a54k;return this[u(0x9a)][a]?(delete this[u(0x9a)][a],this['logger'][u(0xba)](u(0x8d)+a),!![]):(this[u(0xa9)][u(0xba)](u(0xa0)+a),![]);}[a54k(0xbb)](a,b){const v=a54k,c=this[v(0x9a)][b];c?(c[v(0x88)](a),this[v(0xa9)][v(0xba)](v(0x91)+a['name']+v(0x94)+c[v(0xb2)])):this[v(0xa9)][v(0xba)](v(0xc0)+a[v(0xb2)]+v(0x8f)+b+v(0x7e));}[a54k(0xc7)](a,b){const w=a54k,c=this[w(0x9a)][b];c?(c[w(0xa2)](a),this['logger'][w(0xba)]('Added\x20puzzle\x20to\x20room\x20'+c['name'])):this[w(0xa9)][w(0xba)](w(0xc5)+b+w(0x7e));}['setCharacterLocation'](a,b){const x=a54k,c=this[x(0x9a)][b];c?(this['characterLocations'][x(0x86)](a['name'],c),this[x(0xa9)][x(0xba)](a[x(0xb2)]+'\x20is\x20now\x20in\x20room\x20'+c[x(0xb2)])):this[x(0xa9)]['write']('Failed\x20to\x20set\x20'+a[x(0xb2)]+x(0xb3)+b+x(0x7e));}[a54k(0xb5)](a){const y=a54k;return this[y(0x9b)][y(0xa7)](a['name']);}[a54k(0x93)](){const z=a54k,a=[];for(const c in this[z(0x9a)]){if(this[z(0x9a)][z(0x7c)](c)){const d=this[z(0x9a)][c];d[z(0xc9)]&&a[z(0xb6)](d);}}if(a[z(0xb7)]>0x1)throw new Error(z(0xb8));if(a[z(0xb7)]===0x1)return a[0x0];const b=Object[z(0x7d)](this[z(0x9a)]);if(b[z(0xb7)]===0x0)throw new Error(z(0x83));return console[z(0xac)](z(0x80)),this[z(0x9a)][b[0x0]];}[a54k(0xad)](){const A=a54k;return this[A(0xaf)];}[a54k(0x9f)](){const B=a54k;return this[B(0x9a)];}[a54k(0xc1)](a,b,c,d){const C=a54k,e=this[C(0x9a)][a],f=this[C(0x9a)][c];if(!e)throw new Error(C(0xb1)+a+C(0xb9));if(!f)throw new Error(C(0xb1)+c+'\x22\x20does\x20not\x20exist.');e['addExit'](b,f,d);}}
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xef))/0x1+-parseInt(f(0xee))/0x2+-parseInt(f(0xf5))/0x3*(parseInt(f(0xe9))/0x4)+-parseInt(f(0x106))/0x5+-parseInt(f(0x108))/0x6+-parseInt(f(0xf8))/0x7+parseInt(f(0xf0))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xe9703));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(0xff)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a55a)[g(0xfa)](g(0xf4));});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[h(0xfd)],'category':Category[h(0xe5)],'shape':Shape['Rectangle'],'color':Color[h(0xf9)],'texture':Texture[h(0x10d)],'rating':Rating[h(0xe8)],'weight':0x1});}[a55i(0xec)](){var j=a55i;return this[j(0xf6)];}}export class Sword extends Item{constructor(a,b){var k=a55i;super({'name':a,'description':b,'size':Size[k(0xfd)],'category':Category[k(0x10b)],'shape':Shape['Blade'],'color':Color['Grey'],'texture':Texture[k(0xf3)],'rating':Rating[k(0xe8)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55i;super({'name':a,'description':b,'size':Size['Large'],'category':Category[l(0x10b)],'shape':Shape[l(0xe1)],'color':Color[l(0xea)],'texture':Texture['Metallic'],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a55i;super({'name':a,'description':b,'size':Size[m(0xfd)],'category':Category['Helmet'],'shape':Shape[m(0xf1)],'color':Color[m(0xeb)],'texture':Texture[m(0xf3)],'rating':Rating[m(0xe8)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55i;super({'name':a,'description':b,'size':Size['Large'],'category':Category['BodyArmor'],'shape':Shape[n(0x101)],'color':Color['Grey'],'texture':Texture[n(0xf3)],'rating':Rating[n(0xe8)],'weight':0xa});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xdf;var f=c[d];return f;},a55d(a,b);}export class LegArmor extends Item{constructor(a,b){var o=a55i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[o(0x111)],'shape':Shape[o(0x101)],'color':Color[o(0xeb)],'texture':Texture[o(0xf3)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[p(0x109)],'shape':Shape[p(0xf1)],'color':Color[p(0xea)],'texture':Texture['Smooth'],'rating':Rating[p(0xe8)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55i;super({'name':a,'description':b,'size':Size[q(0xfb)],'category':Category[q(0xe6)],'shape':Shape[q(0xf1)],'color':Color['Brown'],'texture':Texture[q(0x10d)],'rating':Rating[q(0xe8)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a55i;super({'name':a,'description':b,'size':Size[r(0xfd)],'category':Category[r(0xfe)],'shape':Shape[r(0x101)],'color':Color[r(0xeb)],'texture':Texture[r(0xf3)],'rating':Rating[r(0xe8)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a55i;super({'name':a,'description':b,'size':Size[s(0xe4)],'category':Category[s(0xdf)],'shape':Shape[s(0x101)],'color':Color[s(0xf9)],'texture':Texture['Smooth'],'rating':Rating[s(0xe8)],'weight':0x0});}[a55i(0xec)](){var t=a55i;return t(0x10e);}}export class Weapon extends Item{constructor(a,b){var u=a55i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Weapon'],'shape':Shape[u(0x105)],'color':Color[u(0xeb)],'texture':Texture[u(0xf3)],'rating':Rating[u(0xe8)],'weight':0x3});}[a55i(0xec)](){var v=a55i;return v(0x107);}}export class Book extends Item{[a55i(0xe7)];[a55i(0x110)];[a55i(0xf2)];constructor(a,b=a55i(0x10c),c=a55i(0xf7)){var w=a55i;super({'name':a,'description':b,'size':Size[w(0xfd)],'category':Category['Book'],'shape':Shape['Rectangle'],'color':Color[w(0xea)],'texture':Texture[w(0x10d)],'rating':Rating[w(0xe8)],'weight':0x1}),this[w(0xe7)]=c,this[w(0x110)]=new Date(),this['pageCount']=0x64;}[a55i(0xec)](){var x=a55i;return x(0x100);}}function a55c(){var E=['An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Cup','Tiny','Unknown','Gloves','author','Common','7265612IfUDcR','Brown','Grey','use','You\x20hold\x20the\x20','1772120AFfMTQ','1381593NmcenP','79531008IOuJXF','Circle','pageCount','Metallic','(((.+)+)+)+$','3JrlToa','description','Unknown\x20Author','11520012dOpsWK','Yellow','search','Small','Legendary','Medium','ArmArmor','toString','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Rectangle','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Short\x20Sword','Sniper\x20Rifle','Blade','8070765adnATO','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','9847728MLgPVP','Boots','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','Weapon','A\x20mysterious\x20book.','Smooth','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','publishDate','LegArmor','Key','Gold','Rifle'];a55c=function(){return E;};return a55c();}export class ShortSword extends Item{constructor(){var y=a55i;super({'name':y(0x103),'description':y(0x10a),'size':Size[y(0xfd)],'category':Category[y(0x10b)],'shape':Shape[y(0x105)],'color':Color[y(0xeb)],'texture':Texture[y(0xf3)],'rating':Rating[y(0xe8)],'weight':0x3});}['use'](){var z=a55i;return z(0x107);}}export class SniperRifle extends Item{constructor(){var A=a55i;super({'name':A(0x104),'description':A(0xe2),'size':Size['Large'],'category':Category['Weapon'],'shape':Shape['Rifle'],'color':Color['Brown'],'texture':Texture[A(0x10d)],'rating':Rating[A(0xe8)],'weight':0x5});}[a55i(0xec)](){var B=a55i;return B(0x10f);}}export class HolyGrail extends Item{constructor(){var C=a55i;super({'name':'Holy\x20Grail','description':C(0x102),'size':Size[C(0xfb)],'category':Category[C(0xe3)],'shape':Shape['Circle'],'color':Color[C(0xe0)],'texture':Texture[C(0xf3)],'rating':Rating[C(0xfc)],'weight':0x1});}[a55i(0xec)](){var D=a55i;return D(0xed)+this['name']+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}
1
+ var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0xe2))/0x1+-parseInt(f(0xc6))/0x2*(-parseInt(f(0xc8))/0x3)+-parseInt(f(0xe4))/0x4+-parseInt(f(0xda))/0x5*(-parseInt(f(0xc9))/0x6)+-parseInt(f(0xe0))/0x7*(-parseInt(f(0xe6))/0x8)+parseInt(f(0xdf))/0x9+-parseInt(f(0xb8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xee8cc));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0xbf)]()[h(0xba)](h(0xd3))[h(0xbf)]()['constructor'](a55a)[h(0xba)](h(0xd3));});a55a();function a55c(){var E=['Tiny','Key','Rectangle','Cup','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Sniper\x20Rifle','Legendary','author','Metallic','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','28835080xSCabl','Yellow','search','Weapon','Boots','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Unknown\x20Author','toString','description','Large','Grey','pageCount','Blade','publishDate','93298KcfeNu','Rifle','39GQLrLQ','177234ZzaEar','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Gloves','Book','Circle','Brown','apply','Common','Unknown','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','(((.+)+)+)+$','Medium','use','A\x20mysterious\x20book.','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','name','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','160xTzhTy','Rare','Gold','ArmArmor','BodyArmor','814842wZulij','14NdSLoD','Small','1649676cuDUap','Smooth','4342212NcdaIc','LegArmor','6617048hRGQln'];a55c=function(){return E;};return a55c();}import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[i(0xd1)],'shape':Shape[i(0xe9)],'color':Color['Yellow'],'texture':Texture[i(0xe3)],'rating':Rating[i(0xd0)],'weight':0x1});}[a55j(0xd5)](){var k=a55j;return this[k(0xc0)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[l(0xbb)],'shape':Shape[l(0xc4)],'color':Color[l(0xc2)],'texture':Texture[l(0xb6)],'rating':Rating[l(0xd0)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category['Weapon'],'shape':Shape[m(0xc7)],'color':Color[m(0xce)],'texture':Texture[m(0xb6)],'rating':Rating[m(0xdb)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0xd4)],'category':Category['Helmet'],'shape':Shape[n(0xcd)],'color':Color[n(0xc2)],'texture':Texture[n(0xb6)],'rating':Rating[n(0xd0)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[o(0xde)],'shape':Shape[o(0xe9)],'color':Color['Grey'],'texture':Texture[o(0xb6)],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0xd4)],'category':Category[p(0xe5)],'shape':Shape[p(0xe9)],'color':Color['Grey'],'texture':Texture[p(0xb6)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[q(0xbc)],'shape':Shape['Circle'],'color':Color[q(0xce)],'texture':Texture['Smooth'],'rating':Rating[q(0xd0)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0xe1)],'category':Category[r(0xcb)],'shape':Shape['Circle'],'color':Color[r(0xce)],'texture':Texture[r(0xe3)],'rating':Rating[r(0xd0)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0xd4)],'category':Category[s(0xdd)],'shape':Shape[s(0xe9)],'color':Color[s(0xc2)],'texture':Texture['Metallic'],'rating':Rating[s(0xd0)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0xe7)],'category':Category[t(0xe8)],'shape':Shape[t(0xe9)],'color':Color[t(0xb9)],'texture':Texture[t(0xe3)],'rating':Rating[t(0xd0)],'weight':0x0});}[a55j(0xd5)](){var u=a55j;return u(0xb2);}}export class Weapon extends Item{constructor(a,b){var v=a55j;super({'name':a,'description':b,'size':Size[v(0xd4)],'category':Category['Weapon'],'shape':Shape[v(0xc4)],'color':Color['Grey'],'texture':Texture[v(0xb6)],'rating':Rating[v(0xd0)],'weight':0x3});}[a55j(0xd5)](){var w=a55j;return w(0xbd);}}export class Book extends Item{[a55j(0xb5)];[a55j(0xc5)];[a55j(0xc3)];constructor(a,b=a55j(0xd6),c=a55j(0xbe)){var x=a55j;super({'name':a,'description':b,'size':Size[x(0xd4)],'category':Category[x(0xcc)],'shape':Shape[x(0xe9)],'color':Color['Brown'],'texture':Texture[x(0xe3)],'rating':Rating[x(0xd0)],'weight':0x1}),this['author']=c,this[x(0xc5)]=new Date(),this[x(0xc3)]=0x64;}['use'](){var y=a55j;return y(0xd7);}}export class ShortSword extends Item{constructor(){var z=a55j;super({'name':'Short\x20Sword','description':z(0xd9),'size':Size[z(0xd4)],'category':Category[z(0xbb)],'shape':Shape[z(0xc4)],'color':Color[z(0xc2)],'texture':Texture[z(0xb6)],'rating':Rating[z(0xd0)],'weight':0x3});}[a55j(0xd5)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var A=a55j;super({'name':A(0xb3),'description':A(0xd2),'size':Size[A(0xc1)],'category':Category['Weapon'],'shape':Shape[A(0xc7)],'color':Color[A(0xce)],'texture':Texture[A(0xe3)],'rating':Rating['Common'],'weight':0x5});}[a55j(0xd5)](){var B=a55j;return B(0xb1);}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xb1;var f=c[d];return f;},a55d(a,b);}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':'Holy\x20Grail','description':C(0xb7),'size':Size[C(0xe1)],'category':Category[C(0xea)],'shape':Shape[C(0xcd)],'color':Color[C(0xdc)],'texture':Texture[C(0xb6)],'rating':Rating[C(0xb4)],'weight':0x1});}[a55j(0xd5)](){var D=a55j;return'You\x20hold\x20the\x20'+this[D(0xd8)]+D(0xca);}}