@maka/maka-cli 4.7.8 → 4.7.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  109. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/kit.js +1 -1
  112. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  115. package/bundle/obf/src/generators/layout.js +1 -1
  116. package/bundle/obf/src/generators/maka.gen.js +1 -1
  117. package/bundle/obf/src/generators/methods.js +1 -1
  118. package/bundle/obf/src/generators/package.js +1 -1
  119. package/bundle/obf/src/generators/page.js +1 -1
  120. package/bundle/obf/src/generators/publish.js +1 -1
  121. package/bundle/obf/src/generators/route.js +1 -1
  122. package/bundle/obf/src/generators/service.js +1 -1
  123. package/bundle/obf/src/generators/services/_index.js +1 -1
  124. package/bundle/obf/src/generators/services/openssl.js +1 -1
  125. package/bundle/obf/src/generators/services/translation.js +1 -1
  126. package/bundle/obf/src/maka.js +1 -1
  127. package/bundle/obf/src/templates/meteor/project/package.json +20 -0
  128. package/bundle/obf/src/tool.js +1 -1
  129. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  130. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/https/https.class.js +1 -1
  137. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  138. package/bundle/obf/src/tools/log/log.class.js +1 -1
  139. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/options/options.class.js +1 -1
  141. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  142. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  147. package/package.json +1 -1
@@ -1 +1 @@
1
- function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xfc;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(0x104))/0x1*(parseInt(f(0xfe))/0x2)+-parseInt(f(0xfc))/0x3*(-parseInt(f(0x108))/0x4)+parseInt(f(0x105))/0x5*(parseInt(f(0xff))/0x6)+-parseInt(f(0x102))/0x7+-parseInt(f(0x10c))/0x8*(parseInt(f(0x109))/0x9)+-parseInt(f(0x115))/0xa*(-parseInt(f(0x107))/0xb)+-parseInt(f(0xfd))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xc09a3));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()[h(0x10a)](h(0x110))[h(0x10b)]()[h(0x100)](a37a)[h(0x10a)](h(0x110));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x103)]=a37i(0x10a);static ['description']='Search\x20for\x20items\x20in\x20your\x20area';['execute'](){const j=a37i,a=this[j(0x10f)][j(0x10e)]['inventory']['listItems']();if(a[j(0x116)]===0x0)return this['logger'][j(0x106)](j(0x117)+this['actor'][j(0x114)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0x101)](',\x20');return this[j(0x112)][j(0x106)](j(0x117)+this[j(0x10f)][j(0x114)]+j(0x10d)+b),j(0x113)+b;}}function a37c(){const k=['apply','logger','You\x20search\x20the\x20area\x20and\x20find:\x20','name','2567170aeuKtJ','length','SearchCommand:\x20','18orYzqc','5118348xGmxxJ','2299320yyyNpS','15882TOESBa','constructor','join','284676WexxJR','verb','1qlWbxY','2815midZdg','write','22POatlB','310868xsYRve','2043Qdksbh','search','toString','2264ilmnQI','\x20found\x20the\x20following\x20items:\x20','currentLocation','actor','(((.+)+)+)+$'];a37c=function(){return k;};return a37c();}
1
+ const a37i=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x116;let f=c[d];return f;},a37d(a,b);}function a37c(){const k=['3665728sTNbvN','currentLocation','10mqwCsu','name','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','9804LOfrTT','length','1jxXKkL','You\x20search\x20the\x20area\x20and\x20find:\x20','3992904uUfeXF','constructor','join','apply','(((.+)+)+)+$','logger','description','write','toString','\x20found\x20the\x20following\x20items:\x20','1603OzOCwq','execute','15684krLjQt','1478798HqzkvI','verb','489ViDIbR','Search\x20for\x20items\x20in\x20your\x20area','listItems','search','actor','1596100wmlGhe','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','730242AOHDyv'];a37c=function(){return k;};return a37c();}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x11d))/0x1*(-parseInt(f(0x12c))/0x2)+parseInt(f(0x12e))/0x3*(parseInt(f(0x11b))/0x4)+-parseInt(f(0x133))/0x5+-parseInt(f(0x12b))/0x6*(parseInt(f(0x129))/0x7)+parseInt(f(0x11f))/0x8+parseInt(f(0x135))/0x9*(parseInt(f(0x118))/0xa)+-parseInt(f(0x116))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x72479));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x127)]()[h(0x131)](h(0x123))[h(0x127)]()[h(0x120)](a37a)[h(0x131)]('(((.+)+)+)+$');});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x12d)]=a37i(0x131);static [a37i(0x125)]=a37i(0x12f);[a37i(0x12a)](){const j=a37i,a=this[j(0x132)][j(0x117)]['inventory'][j(0x130)]();if(a[j(0x11c)]===0x0)return this[j(0x124)][j(0x126)]('SearchCommand:\x20'+this[j(0x132)][j(0x119)]+j(0x11a)),j(0x134);const b=a[j(0x121)](',\x20');return this[j(0x124)][j(0x126)]('SearchCommand:\x20'+this['actor'][j(0x119)]+j(0x128)+b),j(0x11e)+b;}}
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x9c))/0x1+parseInt(f(0x97))/0x2*(parseInt(f(0x86))/0x3)+parseInt(f(0x9e))/0x4*(-parseInt(f(0x90))/0x5)+parseInt(f(0x8f))/0x6*(-parseInt(f(0xa0))/0x7)+-parseInt(f(0x9a))/0x8*(-parseInt(f(0x98))/0x9)+-parseInt(f(0x93))/0xa*(-parseInt(f(0x96))/0xb)+-parseInt(f(0x83))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x92134));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x85)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x8d)]()[h(0x8e)](h(0x92))[h(0x8d)]()[h(0x8a)](a38a)[h(0x8e)](h(0x92));});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x7c;let f=c[d];return f;},a38d(a,b);}function a38c(){const k=['533240sjbRcm','actor','125668QmXnza','description','28DapYyJ','execute','7toONJL','success','write','puzzle','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','currentLocation','solve','SolveCommand:\x20','24385140qWeagZ','message','apply','3NKlIcd','logger','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','toLowerCase','constructor','verb','join','toString','search','118254MxYuXL','179950wUTEdS','inventory','(((.+)+)+)+$','78170ArMeMv','addItem','rewardItem','1331fJxpya','2297398obXcWc','126WPBGtX','Attempt\x20to\x20solve\x20a\x20puzzle.'];a38c=function(){return k;};return a38c();}import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x8b)]=a38i(0x81);static [a38i(0x9d)]=a38i(0x99);[a38i(0x9f)](a){const j=a38i,b=a[j(0x8c)]('\x20')[j(0x89)](),c=this[j(0x9b)][j(0x80)];if(!c||!c[j(0x7e)])return this[j(0x87)][j(0x7d)](j(0x7f)),j(0x88);const d=c[j(0x7e)][j(0x81)](b,this[j(0x9b)]['inventory']);return d[j(0x7c)]&&c[j(0x7e)][j(0x95)]&&this[j(0x9b)][j(0x91)][j(0x94)](c['puzzle'][j(0x95)]),this[j(0x87)][j(0x7d)](j(0x82)+d[j(0x84)]),d[j(0x84)];}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x7b))/0x1+-parseInt(f(0x74))/0x2*(-parseInt(f(0x85))/0x3)+-parseInt(f(0x81))/0x4*(-parseInt(f(0x89))/0x5)+parseInt(f(0x72))/0x6*(-parseInt(f(0x7a))/0x7)+-parseInt(f(0x71))/0x8*(parseInt(f(0x7c))/0x9)+-parseInt(f(0x75))/0xa*(-parseInt(f(0x88))/0xb)+parseInt(f(0x78))/0xc*(-parseInt(f(0x73))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x1878e));function a38c(){const k=['SolveCommand:\x20','12xmMEZb','toString','868kDMPgO','92731xHrTly','9BycErW','actor','search','verb','join','444DGmENh','write','inventory','puzzle','181197RzNbJR','Attempt\x20to\x20solve\x20a\x20puzzle.','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','341HrCUXT','1700LKZylC','rewardItem','apply','logger','solve','(((.+)+)+)+$','message','28592ymtebE','4974RokzTk','1219205rAZAZG','2Psarbv','35330TLKqzB','toLowerCase'];a38c=function(){return k;};return a38c();}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x8b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x79)]()['search'](h(0x6f))[h(0x79)]()['constructor'](a38a)[h(0x7e)](h(0x6f));});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x6d;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x7f)]='solve';static ['description']=a38i(0x86);['execute'](a){const j=a38i,b=a[j(0x80)]('\x20')[j(0x76)](),c=this[j(0x7d)]['currentLocation'];if(!c||!c[j(0x84)])return this[j(0x6d)][j(0x82)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0x87);const d=c['puzzle'][j(0x6e)](b,this[j(0x7d)][j(0x83)]);return d['success']&&c[j(0x84)][j(0x8a)]&&this[j(0x7d)]['inventory']['addItem'](c[j(0x84)]['rewardItem']),this[j(0x6d)][j(0x82)](j(0x77)+d[j(0x70)]),d[j(0x70)];}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x1f4))/0x1+parseInt(f(0x1e9))/0x2*(-parseInt(f(0x1f3))/0x3)+-parseInt(f(0x1e6))/0x4+-parseInt(f(0x1e0))/0x5*(-parseInt(f(0x1e4))/0x6)+parseInt(f(0x1d8))/0x7+-parseInt(f(0x1d5))/0x8*(-parseInt(f(0x1eb))/0x9)+parseInt(f(0x1e1))/0xa*(parseInt(f(0x1ee))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x2dd40));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x1f5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x1d7)]()['search'](h(0x1d3))[h(0x1d7)]()['constructor'](a39a)[h(0x1e7)]('(((.+)+)+)+$');});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a39d(a,b);}import{Command}from'./command.js';function a39c(){const l=['(((.+)+)+)+$','There\x20is\x20no\x20item\x20\x22','744EPHewu','The\x20item\x20\x22','toString','1065393jTstoQ','\x22\x20from\x20','\x22\x20in\x20this\x20room.','Successfully\x20added\x20\x22','\x20during\x20\x27Take\x27\x20command.','join','You\x20have\x20taken\x20the\x20','take','1665795fhXhqp','3710fDEfXy','addInventory','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','6WNpJYA','removeItem','1063512xNgmSC','search','description','283748hIOEuC','verb','15597MjjSmH','Error\x20during\x20\x27Take\x27\x20command:\x20','\x22\x20is\x20too\x20heavy\x20to\x20carry.','8844RyrCoU','\x22\x20to\x20','\x22\x20not\x20found\x20in\x20','execute','logger','6NdWaHV','207473vsKsGF','apply','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','inventory','message','Item\x20\x22','Successfully\x20removed\x20\x22','hasItem','actor','Pick\x20up\x20an\x20item.','write','name'];a39c=function(){return l;};return a39c();}export class TakeCommand extends Command{static [a39i(0x1ea)]=a39i(0x1df);static [a39i(0x1e8)]=a39i(0x1d0);[a39i(0x1f1)](a){const j=a39i;return this[j(0x1f2)]['write']('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x1dd)]('\x20')),this[j(0x1df)](a);}['take'](a){const k=a39i,b=a[k(0x1dd)]('\x20')['toLowerCase'](),c=this[k(0x1cf)]['currentLocation'];if(!c['inventory'][k(0x1ce)](b))return this[k(0x1f2)][k(0x1d1)](k(0x1f9)+b+k(0x1f0)+c[k(0x1d2)]+k(0x1dc)),'There\x20is\x20no\x20item\x20\x22'+b+'\x22\x20in\x20this\x20room.';const d=c[k(0x1f7)]['getItem'](b);if(!d)return this[k(0x1f2)][k(0x1d1)]('Item\x20\x22'+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0x1d2)]+k(0x1f6)),k(0x1d4)+b+k(0x1da);try{return this[k(0x1cf)][k(0x1e2)](d),this[k(0x1f2)][k(0x1d1)](k(0x1db)+b+k(0x1ef)+this[k(0x1cf)][k(0x1d2)]+k(0x1e3)),c[k(0x1f7)][k(0x1e5)](b),this['logger'][k(0x1d1)](k(0x1cd)+b+k(0x1d9)+c[k(0x1d2)]+k(0x1f6)),k(0x1de)+b+'.';}catch(e){return this['logger']['write'](k(0x1ec)+e[k(0x1f8)]),k(0x1d6)+b+k(0x1ed);}}}
1
+ const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x114))/0x1*(parseInt(f(0x10e))/0x2)+-parseInt(f(0x109))/0x3+-parseInt(f(0x10a))/0x4+-parseInt(f(0xf9))/0x5*(-parseInt(f(0x107))/0x6)+-parseInt(f(0x104))/0x7+-parseInt(f(0x111))/0x8+parseInt(f(0x118))/0x9*(parseInt(f(0x113))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x4f136));function a39c(){const l=['Error\x20during\x20\x27Take\x27\x20command:\x20','30aZPBMc','496255ViqDUO','logger','toLowerCase','\x22\x20to\x20','8272737kOajEb','addInventory','verb','Item\x20\x22','search','actor','You\x20have\x20taken\x20the\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20from\x20','removeItem','name','toString','6410VGMKbH','write','(((.+)+)+)+$','getItem','Successfully\x20added\x20\x22','description','inventory','There\x20is\x20no\x20item\x20\x22','Pick\x20up\x20an\x20item.','apply','join','3747352SMOeYM','currentLocation','\x22\x20not\x20found\x20in\x20','318RdMjTn','\x22\x20in\x20this\x20room.','1772136SipvQZ','1686668ZXNHJI','execute','The\x20item\x20\x22','\x20during\x20\x27Take\x27\x20command.','2JBfqml','take','\x22\x20not\x20retrieved\x20from\x20','3661288FgyXhS'];a39c=function(){return l;};return a39c();}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x102)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0xf8)]()[h(0x11c)](h(0xfb))['toString']()['constructor'](a39a)[h(0x11c)](h(0xfb));});a39a();import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xf3;let f=c[d];return f;},a39d(a,b);}export class TakeCommand extends Command{static [a39i(0x11a)]=a39i(0x10f);static [a39i(0xfe)]=a39i(0x101);[a39i(0x10b)](a){const j=a39i;return this[j(0x115)][j(0xfa)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x103)]('\x20')),this[j(0x10f)](a);}[a39i(0x10f)](a){const k=a39i,b=a['join']('\x20')[k(0x116)](),c=this[k(0x11d)][k(0x105)];if(!c[k(0xff)]['hasItem'](b))return this[k(0x115)][k(0xfa)](k(0x11b)+b+k(0x106)+c[k(0xf7)]+k(0x10d)),k(0x100)+b+k(0x108);const d=c['inventory'][k(0xfc)](b);if(!d)return this[k(0x115)][k(0xfa)](k(0x11b)+b+k(0x110)+c[k(0xf7)]+k(0xf4)),k(0x100)+b+k(0x108);try{return this['actor'][k(0x119)](d),this[k(0x115)]['write'](k(0xfd)+b+k(0x117)+this[k(0x11d)][k(0xf7)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c['inventory'][k(0xf6)](b),this['logger'][k(0xfa)]('Successfully\x20removed\x20\x22'+b+k(0xf5)+c[k(0xf7)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0xf3)+b+'.';}catch(e){return this['logger'][k(0xfa)](k(0x112)+e['message']),k(0x10c)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0xc6))/0x1*(parseInt(f(0xbd))/0x2)+parseInt(f(0xc5))/0x3*(parseInt(f(0xb6))/0x4)+parseInt(f(0xc4))/0x5*(-parseInt(f(0xc3))/0x6)+-parseInt(f(0xbb))/0x7*(parseInt(f(0xbe))/0x8)+-parseInt(f(0xbf))/0x9+-parseInt(f(0xc7))/0xa+parseInt(f(0xb0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x8c449));function a40c(){const k=['51248gCJSyZ','6735540nTEUED','logger','unequip','35926451ogfnxg','actor','(((.+)+)+)+$','apply','constructor','UnequipCommand:\x20','10484jbiuff','verb','Unequip\x20an\x20item.','write','search','217nBBXnv','\x20unqeuiped\x20','8mEqXHU','120808kvmiZl','10268199dEOSim','join','unqeuip','description','3975546dQNofp','5nEGtRn','525wErenj'];a40c=function(){return k;};return a40c();}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xb3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()[h(0xba)](h(0xb2))['toString']()[h(0xb4)](a40a)[h(0xba)](h(0xb2));});a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xb0;let f=c[d];return f;},a40d(a,b);}export class UnequipCommand extends Command{static [a40i(0xb7)]=a40i(0xc1);static [a40i(0xc2)]=a40i(0xb8);['execute'](a){const j=a40i,b=a[j(0xc0)]('\x20')['toLowerCase'](),c=this[j(0xb1)][j(0xc9)](b);return this[j(0xc8)][j(0xb9)](j(0xb5)+this[j(0xb1)]['name']+j(0xbc)+c),c;}}
1
+ const a40i=a40d;function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x156;let f=c[d];return f;},a40d(a,b);}function a40c(){const k=['2265100rNEocu','description','write','274070rvwzJk','constructor','logger','\x20unqeuiped\x20','toString','28639KqJEXM','3620736KNMdey','66snveIM','unequip','Unequip\x20an\x20item.','765920iKovfJ','UnequipCommand:\x20','apply','verb','266115iMQmjB','16504821RaypiD','(((.+)+)+)+$','name','unqeuip','actor','join','execute','search','2ojPdfk'];a40c=function(){return k;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x15b))/0x1*(parseInt(f(0x16d))/0x2)+parseInt(f(0x164))/0x3+-parseInt(f(0x16e))/0x4+parseInt(f(0x156))/0x5*(-parseInt(f(0x15d))/0x6)+-parseInt(f(0x15c))/0x7+parseInt(f(0x160))/0x8+parseInt(f(0x165))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x4a05e));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x162)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()[h(0x16c)](h(0x166))[h(0x15a)]()[h(0x157)](a40a)['search']('(((.+)+)+)+$');});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x163)]=a40i(0x168);static [a40i(0x16f)]=a40i(0x15f);[a40i(0x16b)](a){const j=a40i,b=a[j(0x16a)]('\x20')['toLowerCase'](),c=this[j(0x169)][j(0x15e)](b);return this[j(0x158)][j(0x170)](j(0x161)+this['actor'][j(0x167)]+j(0x159)+c),c;}}
@@ -1 +1 @@
1
- function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x192;let f=c[d];return f;},a41d(a,b);}const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x1a1))/0x1+parseInt(h(0x1a9))/0x2*(-parseInt(h(0x1a0))/0x3)+parseInt(h(0x1a8))/0x4+-parseInt(h(0x1aa))/0x5+parseInt(h(0x19d))/0x6+parseInt(h(0x1a4))/0x7*(-parseInt(h(0x1ae))/0x8)+parseInt(h(0x193))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x4aeb9));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x1b4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x1a2)]()['search'](j(0x196))[j(0x1a2)]()[j(0x199)](a41a)['search'](j(0x196));});a41a();function a41c(){const m=['UnlockCommand:\x20No\x20target\x20specified.','toLowerCase','inventory','apply','length','name','logger','description','getItem','7914888jfOiMj','actor','isValidDirection','(((.+)+)+)+$','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','currentLocation','constructor','get','write','execute','1997262PibwaZ','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','UnlockCommand:\x20','16431RuwLZY','596091gRGobB','toString','\x20is\x20attempted\x20to\x20unlock\x20','3787UGodKL','has','\x22\x20here.','Unlock\x20a\x20door.','2015352gxfqja','94kwDvkG','284810CfhPkR','verb','error','exits','7376EceZDe','There\x27s\x20no\x20door\x20named\x20\x22','unlock'];a41c=function(){return m;};return a41c();}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x1ab)]='unlock';static [a41k(0x1b8)]=a41k(0x1a7);[a41k(0x19c)](a){return this['unlock'](a);}[a41k(0x1b0)](a){const l=a41k;if(a[l(0x1b5)]===0x0)return this[l(0x1b7)][l(0x1ac)](l(0x1b1)),l(0x19e);const b=a[0x0][l(0x1b2)](),c=this[l(0x194)][l(0x198)];if(this[l(0x195)](b)&&c[l(0x1ad)][l(0x1a5)](b)){const d=c[l(0x1ad)][l(0x19a)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[l(0x1b2)]();if(e&&this[l(0x194)]['inventory']['hasItem'](e)){const f=this[l(0x194)][l(0x1b3)][l(0x192)](e);if(f){const g=c['attemptUnlockExit'](b,f[l(0x1b6)]);return this['logger'][l(0x19b)]('UnlockCommand:\x20'+this[l(0x194)]['name']+l(0x1a3)+b+'.\x20Result:\x20'+g),g;}}return this[l(0x1b7)][l(0x19b)](l(0x19f)+this[l(0x194)]['name']+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this[l(0x1b7)][l(0x19b)](l(0x19f)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x1b6)]+'.'),l(0x1af)+b+l(0x1a6);}else return this[l(0x1b7)][l(0x19b)]('UnlockCommand:\x20'+b+l(0x197)+c['name']+'.'),l(0x1af)+b+l(0x1a6);}}
1
+ const a41j=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x164))/0x1*(-parseInt(h(0x166))/0x2)+parseInt(h(0x167))/0x3+-parseInt(h(0x15e))/0x4*(-parseInt(h(0x148))/0x5)+-parseInt(h(0x16e))/0x6+-parseInt(h(0x145))/0x7*(parseInt(h(0x165))/0x8)+parseInt(h(0x158))/0x9*(-parseInt(h(0x156))/0xa)+parseInt(h(0x14e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xeec69));function a41c(){const l=['hasItem','attemptUnlockExit','2520KpqxZL','has','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','Unlock\x20a\x20door.','inventory','(((.+)+)+)+$','29454612atFWsn','actor','.\x20Result:\x20','UnlockCommand:\x20','logger','description','exits','verb','1880yBqXUw','UnlockCommand:\x20No\x20target\x20specified.','30978sGCqxj','isValidDirection','\x20is\x20attempted\x20to\x20unlock\x20','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','length','unlock','15032MyiIhF','\x22\x20here.','write','error','There\x27s\x20no\x20door\x20named\x20\x22','get','1635391obfHAe','110024foPUiv','2kSixno','3072159uAKNGw','search','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','toString','unlockItemOrSolution','getItem','toLowerCase','2376552qoYMOK','name','987KYCqGW'];a41c=function(){return l;};return a41c();}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const i=a41d;return a41a[i(0x16a)]()[i(0x168)](i(0x14d))[i(0x16a)]()['constructor'](a41a)[i(0x168)](i(0x14d));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x145;let f=c[d];return f;},a41d(a,b);}export class UnlockCommand extends Command{static [a41j(0x155)]=a41j(0x15d);static [a41j(0x153)]=a41j(0x14b);['execute'](a){return this['unlock'](a);}[a41j(0x15d)](a){const k=a41j;if(a[k(0x15c)]===0x0)return this[k(0x152)][k(0x161)](k(0x157)),k(0x169);const b=a[0x0]['toLowerCase'](),c=this['actor']['currentLocation'];if(this[k(0x159)](b)&&c['exits'][k(0x149)](b)){const d=c[k(0x154)][k(0x163)](b);if(d instanceof Door){const e=d[k(0x16b)]?.[k(0x16d)]();if(e&&this[k(0x14f)][k(0x14c)][k(0x146)](e)){const f=this[k(0x14f)][k(0x14c)][k(0x16c)](e);if(f){const g=c[k(0x147)](b,f[k(0x16f)]);return this[k(0x152)][k(0x160)](k(0x151)+this[k(0x14f)][k(0x16f)]+k(0x15a)+b+k(0x150)+g),g;}}return this[k(0x152)][k(0x160)](k(0x151)+this[k(0x14f)]['name']+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),k(0x15b);}else return this[k(0x152)][k(0x160)](k(0x151)+b+k(0x14a)+c[k(0x16f)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+k(0x15f);}else return this[k(0x152)][k(0x160)](k(0x151)+b+k(0x14a)+c[k(0x16f)]+'.'),k(0x162)+b+k(0x15f);}}
@@ -1 +1 @@
1
- const a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x1cb))/0x1+-parseInt(f(0x1cc))/0x2+parseInt(f(0x1d8))/0x3*(parseInt(f(0x1c9))/0x4)+-parseInt(f(0x1c6))/0x5*(-parseInt(f(0x1ce))/0x6)+-parseInt(f(0x1d4))/0x7*(parseInt(f(0x1c7))/0x8)+parseInt(f(0x1c8))/0x9+-parseInt(f(0x1d3))/0xa*(parseInt(f(0x1d6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x8c064));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const g=a42d;return a42a[g(0x1c5)]()[g(0x1db)]('(((.+)+)+)+$')[g(0x1c5)]()[g(0x1de)](a42a)[g(0x1db)](g(0x1c4));});a42a();import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1bb;let f=c[d];return f;},a42d(a,b);}export class UseCommand extends Command{static [a42h(0x1c2)]=a42h(0x1d2);static [a42h(0x1da)]=a42h(0x1bb);[a42h(0x1ca)](a){return this['use'](a);}['use'](a){const i=a42h,b=a[i(0x1bf)]('\x20')[i(0x1c1)]();if(!this[i(0x1dc)][i(0x1d5)][i(0x1d1)](b))return this[i(0x1df)][i(0x1c0)]('UseCommand:\x20'+this['actor'][i(0x1bc)]+i(0x1c3)+b+i(0x1be)),i(0x1d7)+b+'\x20to\x20use.';const c=this[i(0x1dc)]['inventory'][i(0x1dd)](b);if(!c)return this[i(0x1df)][i(0x1c0)](i(0x1bd)+b+'\x20not\x20retrieved\x20from\x20'+this[i(0x1dc)]['name']+i(0x1e1)),i(0x1d7)+b+i(0x1cf);if(typeof c[i(0x1d2)]===i(0x1d0)){const d=c[i(0x1d2)]();return this[i(0x1df)][i(0x1c0)](i(0x1bd)+this['actor'][i(0x1bc)]+i(0x1e0)+b+'.'),d;}else return this['logger'][i(0x1c0)](i(0x1bd)+b+i(0x1d9)),i(0x1cd)+b+'\x20in\x20this\x20way.';}}function a42c(){const j=['9BMBVbB','\x20doesn\x27t\x20have\x20a\x20use\x20method.','description','search','actor','getItem','constructor','logger','\x20used\x20','\x27s\x20inventory.','Use\x20an\x20item.','name','UseCommand:\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','join','write','toLowerCase','verb','\x20attempted\x20to\x20use\x20','(((.+)+)+)+$','toString','361835ZqjEgr','1886568IFNkuB','6565500WmUoVa','429016vegwrY','execute','991978sofxhu','489516bwGrbd','You\x20can\x27t\x20use\x20the\x20','60KzwVqX','\x20to\x20use.','function','hasItem','use','17127910RYxHqS','7eirNPD','inventory','11AeWlVj','You\x20don\x27t\x20have\x20the\x20'];a42c=function(){return j;};return a42c();}
1
+ const a42h=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x145;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x14c))/0x1+parseInt(f(0x15c))/0x2*(-parseInt(f(0x160))/0x3)+parseInt(f(0x164))/0x4*(-parseInt(f(0x156))/0x5)+-parseInt(f(0x15b))/0x6+parseInt(f(0x152))/0x7+-parseInt(f(0x14d))/0x8+parseInt(f(0x149))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x2355b));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const g=a42d;return a42a['toString']()[g(0x157)](g(0x153))[g(0x14f)]()[g(0x162)](a42a)[g(0x157)](g(0x153));});function a42c(){const k=['use','actor','664069JlnYuM','(((.+)+)+)+$','\x20to\x20use.','join','85205WkIKgC','search','description','You\x20don\x27t\x20have\x20the\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','1583220DtEEsv','38wiXMVd','Use\x20an\x20item.','inventory','getItem','33558FTfliJ','toLowerCase','constructor','verb','32rntNmv','\x20doesn\x27t\x20have\x20a\x20use\x20method.','UseCommand:\x20','function','name','logger','3651129ijhhKA','You\x20can\x27t\x20use\x20the\x20','\x20attempted\x20to\x20use\x20','282637wewUEe','205776vYHLRQ','write','toString'];a42c=function(){return k;};return a42c();}a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42h(0x163)]=a42h(0x150);static [a42h(0x158)]=a42h(0x15d);['execute'](a){const i=a42h;return this[i(0x150)](a);}[a42h(0x150)](a){const j=a42h,b=a[j(0x155)]('\x20')[j(0x161)]();if(!this[j(0x151)][j(0x15e)]['hasItem'](b))return this['logger'][j(0x14e)](j(0x145)+this['actor'][j(0x147)]+j(0x14b)+b+j(0x15a)),j(0x159)+b+j(0x154);const c=this[j(0x151)][j(0x15e)][j(0x15f)](b);if(!c)return this['logger'][j(0x14e)](j(0x145)+b+'\x20not\x20retrieved\x20from\x20'+this[j(0x151)][j(0x147)]+'\x27s\x20inventory.'),'You\x20don\x27t\x20have\x20the\x20'+b+j(0x154);if(typeof c['use']===j(0x146)){const d=c[j(0x150)]();return this['logger'][j(0x14e)](j(0x145)+this['actor'][j(0x147)]+'\x20used\x20'+b+'.'),d;}else return this[j(0x148)][j(0x14e)](j(0x145)+b+j(0x165)),j(0x14a)+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1c8;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(0x1cd))/0x1+-parseInt(f(0x1cc))/0x2*(parseInt(f(0x1cf))/0x3)+-parseInt(f(0x1d8))/0x4*(-parseInt(f(0x1d6))/0x5)+parseInt(f(0x1d7))/0x6*(-parseInt(f(0x1da))/0x7)+parseInt(f(0x1c9))/0x8+-parseInt(f(0x1d0))/0x9*(-parseInt(f(0x1d1))/0xa)+-parseInt(f(0x1d2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x632b2));function a43c(){const m=['154uHRYaI','commandMap','registerCommand','6046568XVEgTr','createCommand','getAllRegisteredCommands','4694ynKLwV','613205RZzHOt','toString','93YKdfhc','5337XPbAVQ','13390iGVGfS','10205734TJHOFZ','search','constructor','(((.+)+)+)+$','10160PTZiUF','4794XKunvI','960gdePAL','apply'];a43c=function(){return m;};return a43c();}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1ce)]()[h(0x1d3)](h(0x1d5))[h(0x1ce)]()[h(0x1d4)](a43a)['search'](h(0x1d5));});a43a();export class CommandFactory{static [a43i(0x1db)]={};static[a43i(0x1c8)](a,b){const j=a43i;this[j(0x1db)][a]=b;}static[a43i(0x1ca)](a,b){const k=a43i,c=this[k(0x1db)][a];if(c)return new c(b);return null;}static[a43i(0x1cb)](){const l=a43i;return this[l(0x1db)];}}
1
+ function a43c(){const l=['toString','11008161QLjMoR','apply','1167035CbIctn','getAllRegisteredCommands','240740TtPHdz','12qtCgtW','56ATjKhZ','createCommand','search','21133xLvSuZ','1509672rjNRda','constructor','10XGmfUq','2546100zpkYQt','registerCommand','(((.+)+)+)+$','commandMap','246472WFjTQg'];a43c=function(){return l;};return a43c();}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x76))/0x1+-parseInt(f(0x71))/0x2+-parseInt(f(0x7a))/0x3+-parseInt(f(0x72))/0x4*(-parseInt(f(0x6f))/0x5)+-parseInt(f(0x77))/0x6+parseInt(f(0x73))/0x7*(-parseInt(f(0x7e))/0x8)+-parseInt(f(0x80))/0x9*(-parseInt(f(0x79))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x6a377));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x7f)]()[h(0x75)](h(0x7c))['toString']()[h(0x78)](a43a)['search'](h(0x7c));});function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x6f;let f=c[d];return f;},a43d(a,b);}a43a();export class CommandFactory{static [a43i(0x7d)]={};static[a43i(0x7b)](a,b){this['commandMap'][a]=b;}static[a43i(0x74)](a,b){const j=a43i,c=this[j(0x7d)][a];if(c)return new c(b);return null;}static[a43i(0x70)](){const k=a43i;return this[k(0x7d)];}}
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x1f1))/0x1*(-parseInt(f(0x1e1))/0x2)+parseInt(f(0x1ed))/0x3*(parseInt(f(0x1ec))/0x4)+parseInt(f(0x1d5))/0x5*(-parseInt(f(0x1e3))/0x6)+-parseInt(f(0x1ef))/0x7+parseInt(f(0x1e2))/0x8+parseInt(f(0x1e5))/0x9*(parseInt(f(0x1ea))/0xa)+parseInt(f(0x1e8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x53519));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x1f3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()['search'](h(0x1df))[h(0x1d6)]()[h(0x1f2)](a44a)[h(0x1d7)](h(0x1df));});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a44d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a44c(){const o=['811224FgQFIb','gloves','531UDwuiH','convertToRoomConfig','roomType','3836448RRjouR','content','35830ByAIIV','rifle','7892HeYBNr','792Bvsmqe','addItem','4767448pDwaWE','createItem','2GEnHrt','constructor','apply','setPuzzle','book','createPuzzle','forEach','INSIDE','inventory','name','20WEtucS','toString','search','sword','puzzle','rewardItem','description','bodyarmor','toUpperCase','items','(((.+)+)+)+$','legarmor','50354FfRqQZ','3454096iYJNGM'];a44c=function(){return o;};return a44c();}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const i=a44d,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[i(0x1de)]){const d=new Inventory();a['items'][i(0x1f7)](e=>{const j=i;d[j(0x1ee)](this[j(0x1f0)](e));}),c[i(0x1f9)]=d;}return a[i(0x1d9)]&&c[i(0x1f4)](this[i(0x1f6)](a['puzzle'])),c;}[a44k(0x1f0)](a){const l=a44k;switch(a['type']){case'key':return new Key(a[l(0x1d4)],a[l(0x1db)]);case l(0x1f5):return new Book(a[l(0x1d4)],a[l(0x1db)],a[l(0x1e9)]);case l(0x1d8):return new Sword(a['name'],a[l(0x1db)]);case l(0x1eb):return new Rifle(a[l(0x1d4)],a['description']);case'helmet':return new Helmet(a[l(0x1d4)],a[l(0x1db)]);case l(0x1dc):return new BodyArmor(a[l(0x1d4)],a['description']);case l(0x1e0):return new LegArmor(a[l(0x1d4)],a[l(0x1db)]);case'boots':return new Boots(a['name'],a['description']);case l(0x1e4):return new Gloves(a[l(0x1d4)],a[l(0x1db)]);case'gauntlets':return new Gauntlets(a[l(0x1d4)],a[l(0x1db)]);default:return new BasicItem(a[l(0x1d4)],a['description']);}}[a44k(0x1f6)](a){const m=a44k,b=this[m(0x1f0)](a[m(0x1da)]);return new Puzzle({...a,'rewardItem':b});}[a44k(0x1e6)](a){const n=a44k,b=a[n(0x1e7)]&&RoomType[a[n(0x1e7)][n(0x1dd)]()]?RoomType[a['roomType']['toUpperCase']()]:RoomType[n(0x1f8)];return{'name':a['name'],'description':a['description'],'isStartRoom':a['isStartRoom'],'roomType':b};}}
1
+ function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a44d(a,b);}function a44c(){const o=['443753ftHCiW','rewardItem','447072TtJXyX','10mRDqAF','4811275yoCzgQ','description','forEach','setPuzzle','isStartRoom','sword','helmet','2egsZMh','search','gauntlets','bodyarmor','items','107460PhaRCK','INSIDE','toString','240BiMgZP','convertToRoomConfig','book','9429930RyLXCA','inventory','puzzle','createPuzzle','roomType','toUpperCase','apply','legarmor','682040KwEOjd','55SDqvdC','type','content','name','13221bEDcCc','createItem','332nRuLBG','(((.+)+)+)+$','constructor','createRoom'];a44c=function(){return o;};return a44c();}const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x1fd))/0x1*(parseInt(f(0x208))/0x2)+parseInt(f(0x1f7))/0x3*(-parseInt(f(0x1f9))/0x4)+-parseInt(f(0x20d))/0x5*(-parseInt(f(0x210))/0x6)+-parseInt(f(0x201))/0x7+parseInt(f(0x21b))/0x8+-parseInt(f(0x213))/0x9*(-parseInt(f(0x200))/0xa)+parseInt(f(0x21c))/0xb*(parseInt(f(0x1ff))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xa688e));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x219)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x20f)]()[h(0x209)](h(0x1fa))[h(0x20f)]()[h(0x1fb)](a44a)[h(0x209)](h(0x1fa));});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';export class RoomFactory{[a44i(0x1fc)](a){const j=a44i,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[j(0x20c)]){const d=new Inventory();a[j(0x20c)][j(0x203)](e=>{const k=j;d['addItem'](this[k(0x1f8)](e));}),c[j(0x214)]=d;}return a[j(0x215)]&&c[j(0x204)](this[j(0x216)](a[j(0x215)])),c;}[a44i(0x1f8)](a){const l=a44i;switch(a[l(0x1f4)]){case'key':return new Key(a[l(0x1f6)],a[l(0x202)]);case l(0x212):return new Book(a[l(0x1f6)],a[l(0x202)],a[l(0x1f5)]);case l(0x206):return new Sword(a['name'],a[l(0x202)]);case'rifle':return new Rifle(a['name'],a[l(0x202)]);case l(0x207):return new Helmet(a['name'],a[l(0x202)]);case l(0x20b):return new BodyArmor(a['name'],a['description']);case l(0x21a):return new LegArmor(a[l(0x1f6)],a[l(0x202)]);case'boots':return new Boots(a[l(0x1f6)],a[l(0x202)]);case'gloves':return new Gloves(a[l(0x1f6)],a[l(0x202)]);case l(0x20a):return new Gauntlets(a[l(0x1f6)],a[l(0x202)]);default:return new BasicItem(a['name'],a['description']);}}[a44i(0x216)](a){const m=a44i,b=this['createItem'](a[m(0x1fe)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0x211)](a){const n=a44i,b=a[n(0x217)]&&RoomType[a[n(0x217)][n(0x218)]()]?RoomType[a['roomType'][n(0x218)]()]:RoomType[n(0x20e)];return{'name':a[n(0x1f6)],'description':a['description'],'isStartRoom':a[n(0x205)],'roomType':b};}}
@@ -1 +1 @@
1
- function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x181;let f=c[d];return f;},a45d(a,b);}const a45j=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x192))/0x1+-parseInt(h(0x1ac))/0x2+parseInt(h(0x1a7))/0x3*(-parseInt(h(0x18a))/0x4)+-parseInt(h(0x1a5))/0x5*(-parseInt(h(0x1ae))/0x6)+parseInt(h(0x18e))/0x7+-parseInt(h(0x18d))/0x8+parseInt(h(0x182))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xa2b65));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const i=a45d;return a45a['toString']()[i(0x184)](i(0x19c))['toString']()[i(0x199)](a45a)[i(0x184)]('(((.+)+)+)+$');});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';function a45c(){const r=['scene','quit','initialize','1195755ckWFJy','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','maka','getHelpMessage','registerCommand','slice','-\x20quit:\x20Exit\x20the\x20game.\x0a','constructor','trim','help','(((.+)+)+)+$','Available\x20Commands:\x0a','take','toLowerCase','unlock','registerCommands','Welcome,\x20','getWelcomeMessage','hasOwnProperty','352355nFugom','execute','2984511tvgCsY','player','instance','split','createCommand','2612460xOXoWz','name','18GmmQVW','solve','getRooms','lock','handleInput','12359862OXdxJY','rooms','search','look','determineStartRoom','getAllRegisteredCommands','unequip','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','4IBcWNh','-\x20clear:\x20Clear\x20the\x20screen.\x0a','currentRoom','8898328EtmCTY','9095387qfEElC'];a45c=function(){return r;};return a45c();}export default class Game{static [a45j(0x1a9)];[a45j(0x18f)];[a45j(0x1a8)];[a45j(0x18c)];[a45j(0x183)];constructor(a,b){const k=a45j;this[k(0x1a8)]=a,this[k(0x18f)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x18f)][k(0x191)](),this[k(0x1a8)]['currentLocation']=this['determineStartRoom'](),this[k(0x1a1)]();}[a45j(0x1a1)](){const l=a45j;CommandFactory[l(0x196)](l(0x185),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[l(0x196)](l(0x19e),TakeCommand),CommandFactory['registerCommand']('use',UseCommand),CommandFactory[l(0x196)]('equip',EquipCommand),CommandFactory[l(0x196)](l(0x188),UnequipCommand),CommandFactory[l(0x196)](l(0x1af),SolveCommand),CommandFactory[l(0x196)]('drop',DropCommand),CommandFactory['registerCommand'](l(0x1a0),UnlockCommand),CommandFactory[l(0x196)](l(0x1b1),LockCommand),CommandFactory[l(0x196)](l(0x184),SearchCommand),CommandFactory[l(0x196)]('say',SayCommand);}[a45j(0x186)](){const m=a45j;return this[m(0x18f)][m(0x186)]();}[a45j(0x1a3)](){const n=a45j;return n(0x1a2)+this[n(0x1a8)][n(0x1ad)];}static['getInstance'](a,b){const o=a45j;return!Game[o(0x1a9)]&&(Game[o(0x1a9)]=new Game(a,b)),Game[o(0x1a9)];}[a45j(0x181)](a){const p=a45j,b=a[p(0x19a)]()[p(0x1aa)]('\x20'),c=b[0x0][p(0x19f)](),d=b[p(0x197)](0x1);if(c===p(0x190))return null;if(c===p(0x194))return p(0x189);if(c===p(0x19b))return this[p(0x195)]();if(c==='clear')return'';const e={'actor':this[p(0x1a8)],'rooms':this[p(0x18f)][p(0x1b0)](),'scene':this[p(0x18f)]},f=CommandFactory[p(0x1ab)](c,e);if(f){const g=f[p(0x1a6)](d);return g;}return p(0x193)+c+'\x22.';}[a45j(0x195)](){const q=a45j,a=CommandFactory[q(0x187)]();let b=q(0x19d);for(const c in a){if(a[q(0x1a4)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=q(0x18b),b+=q(0x198),b;}}
1
+ const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x1e3))/0x1+parseInt(h(0x1f2))/0x2+parseInt(h(0x1c6))/0x3+-parseInt(h(0x1cf))/0x4+parseInt(h(0x1e5))/0x5+-parseInt(h(0x1ee))/0x6*(-parseInt(h(0x1cc))/0x7)+-parseInt(h(0x1e0))/0x8*(parseInt(h(0x1e4))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x31e4c));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x1d8)]()['search'](j(0x1c7))[j(0x1d8)]()[j(0x1e9)](a45a)['search']('(((.+)+)+)+$');});function a45c(){const s=['currentLocation','determineStartRoom','unequip','88543yHhDiK','execute','scene','44416SaqTsO','createCommand','search','drop','handleInput','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','registerCommands','currentRoom','player','toString','getHelpMessage','quit','maka','getWelcomeMessage','toLowerCase','apply','-\x20quit:\x20Exit\x20the\x20game.\x0a','8SwQBFb','equip','instance','218186BGlJGq','5617071EoPeVO','464805qjEOKN','Welcome,\x20','getRooms','help','constructor','clear','name','split','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','174AuFGyo','solve','hasOwnProperty','slice','158800BZmluh','getDescription','registerCommand','-\x20clear:\x20Clear\x20the\x20screen.\x0a','take','rooms','246657BTDtMb','(((.+)+)+)+$','look'];a45c=function(){return s;};return a45c();}a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a45d(a,b);}import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a45k(0x1ce)];[a45k(0x1d7)];[a45k(0x1d6)];[a45k(0x1c5)];constructor(a,b){const l=a45k;this['player']=a,this[l(0x1ce)]=new Scene({'player':a,'roomConfiguration':b}),this['scene']['initialize'](),this['player'][l(0x1c9)]=this[l(0x1ca)](),this[l(0x1d5)]();}[a45k(0x1d5)](){const m=a45k;CommandFactory['registerCommand'](m(0x1c8),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0x1c2)](m(0x1c4),TakeCommand),CommandFactory[m(0x1c2)]('use',UseCommand),CommandFactory[m(0x1c2)](m(0x1e1),EquipCommand),CommandFactory[m(0x1c2)](m(0x1cb),UnequipCommand),CommandFactory[m(0x1c2)](m(0x1ef),SolveCommand),CommandFactory[m(0x1c2)](m(0x1d2),DropCommand),CommandFactory[m(0x1c2)]('unlock',UnlockCommand),CommandFactory[m(0x1c2)]('lock',LockCommand),CommandFactory['registerCommand'](m(0x1d1),SearchCommand),CommandFactory[m(0x1c2)]('say',SayCommand);}['determineStartRoom'](){const n=a45k;return this[n(0x1ce)][n(0x1ca)]();}[a45k(0x1dc)](){const o=a45k;return o(0x1e6)+this[o(0x1d7)][o(0x1eb)];}static['getInstance'](a,b){const p=a45k;return!Game[p(0x1e2)]&&(Game[p(0x1e2)]=new Game(a,b)),Game[p(0x1e2)];}[a45k(0x1d3)](a){const q=a45k,b=a['trim']()[q(0x1ec)]('\x20'),c=b[0x0][q(0x1dd)](),d=b[q(0x1f1)](0x1);if(c===q(0x1da))return null;if(c===q(0x1db))return q(0x1ed);if(c===q(0x1e8))return this[q(0x1d9)]();if(c===q(0x1ea))return'';const e={'actor':this[q(0x1d7)],'rooms':this[q(0x1ce)][q(0x1e7)](),'scene':this[q(0x1ce)]},f=CommandFactory[q(0x1d0)](c,e);if(f){const g=f[q(0x1cd)](d);return g;}return q(0x1d4)+c+'\x22.';}[a45k(0x1d9)](){const r=a45k,a=CommandFactory['getAllRegisteredCommands']();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0x1f0)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x1f3)]()+'\x0a';}}return b+=r(0x1c3),b+=r(0x1df),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x8a))/0x1+parseInt(f(0x84))/0x2*(-parseInt(f(0x82))/0x3)+-parseInt(f(0x7f))/0x4+-parseInt(f(0x8c))/0x5+parseInt(f(0x85))/0x6*(parseInt(f(0x86))/0x7)+-parseInt(f(0x83))/0x8*(parseInt(f(0x81))/0x9)+parseInt(f(0x89))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x28857));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x8b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x80)]()[h(0x88)](h(0x8d))['toString']()[h(0x87)](a46a)['search'](h(0x8d));});function a46c(){var i=['5902700PXZePp','199512kYukpo','apply','878420gHHqNf','(((.+)+)+)+$','1182032HRaxcB','toString','1602uvebpV','516YwaztM','824RdTMwZ','1748uIRdVv','96282WjSDFz','7YRjUFv','constructor','search'];a46c=function(){return i;};return a46c();}a46a();export*from'./door.js';export*from'./inventory.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x7f;var f=c[d];return f;},a46d(a,b);}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-0xac;var f=c[d];return f;},a46d(a,b);}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0xb1))/0x1+parseInt(f(0xb4))/0x2*(parseInt(f(0xac))/0x3)+parseInt(f(0xbc))/0x4*(-parseInt(f(0xad))/0x5)+-parseInt(f(0xb0))/0x6*(parseInt(f(0xb9))/0x7)+parseInt(f(0xb2))/0x8+parseInt(f(0xbb))/0x9*(parseInt(f(0xb8))/0xa)+parseInt(f(0xba))/0xb*(parseInt(f(0xb5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xac383));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xb7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0xb3)]()[h(0xb6)](h(0xaf))[h(0xb3)]()[h(0xae)](a46a)['search'](h(0xaf));});function a46c(){var i=['15UYutSg','constructor','(((.+)+)+)+$','5190fKtOvd','492919BkCTkq','4596544ECjECi','toString','4FdPfUF','42324dwAUSy','search','apply','6836820xHcaXa','7441QSSAeO','1562enytaK','9eZjOXO','516356WtlYay','1119012twmvmh'];a46c=function(){return i;};return a46c();}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 +1 @@
1
- var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0xe5))/0x1*(parseInt(f(0xdb))/0x2)+parseInt(f(0xe8))/0x3*(parseInt(f(0xf1))/0x4)+parseInt(f(0xeb))/0x5*(parseInt(f(0xe1))/0x6)+-parseInt(f(0xf7))/0x7+parseInt(f(0xf2))/0x8+-parseInt(f(0xdf))/0x9*(parseInt(f(0xea))/0xa)+parseInt(f(0xd9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x5c7bc));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0xdd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0xec)]()[h(0xf8)](h(0xef))['toString']()[h(0xe6)](a47a)[h(0xf8)]('(((.+)+)+)+$');});a47a();import{Logger}from'../utilities/logger.js';function a47c(){var n=['checkIfLockable','55108LxlocT','252592BAkOwQ','roomB','Failed\x20to\x20unlock\x20door:\x20','isLocked','getOtherSide','2187017MFhWFe','search','2329272mTkgYj','Door\x20created\x20between\x20','2EVFzWg','write','apply','.\x20Used:\x20','9aNTCgR','To\x20','423534uQpgTR','.\x20Is\x20Locked:\x20','logger','name','471887faOyUL','constructor','checkIfLocked','129AtkSPF','attemptUnlock','2373190eRaDZW','40DdJshE','toString','roomA','unlockItemOrSolution','(((.+)+)+)+$'];a47c=function(){return n;};return a47c();}function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0xd9;var f=c[d];return f;},a47d(a,b);}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0xed)];[a47i(0xf3)];['isLocked'];[a47i(0xee)];[a47i(0xe4)];[a47i(0xe3)];['isLockable'];constructor(a){var j=a47i;super(),this['roomA']=a['roomA'],this[j(0xf3)]=a[j(0xf3)],this[j(0xf5)]=a[j(0xf5)]||![],this['unlockItemOrSolution']=a['unlockItemOrSolution'],this[j(0xe4)]=a[j(0xe4)]?capitalCase(a[j(0xe4)]):j(0xe0)+a[j(0xf3)][j(0xe4)],this[j(0xe3)]=Logger['getInstance'](),this['isLockable']=!!a[j(0xee)],this[j(0xe3)][j(0xdc)](j(0xda)+this[j(0xed)][j(0xe4)]+'\x20and\x20'+this[j(0xf3)][j(0xe4)]+j(0xe2)+this[j(0xf5)]);}[a47i(0xf6)](a){var k=a47i;return this[k(0xed)]===a?this[k(0xf3)]:this[k(0xed)];}[a47i(0xe9)](a){var l=a47i;if(this[l(0xf5)]&&this[l(0xee)]&&this['unlockItemOrSolution']===a)return this['isLocked']=![],this[l(0xe3)][l(0xdc)]('Door\x20unlocked:\x20'+this[l(0xe4)]+'.\x20Used:\x20'+a),!![];return this['logger']['write'](l(0xf4)+this[l(0xe4)]+l(0xde)+a),![];}[a47i(0xe7)](){var m=a47i;return this[m(0xf5)];}[a47i(0xf0)](){return this['isLockable'];}}
1
+ function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x1cd;var f=c[d];return f;},a47d(a,b);}var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x1da))/0x1*(-parseInt(f(0x1de))/0x2)+-parseInt(f(0x1e5))/0x3+parseInt(f(0x1d6))/0x4*(-parseInt(f(0x1e2))/0x5)+parseInt(f(0x1ec))/0x6*(-parseInt(f(0x1d7))/0x7)+parseInt(f(0x1cd))/0x8+parseInt(f(0x1df))/0x9+-parseInt(f(0x1d2))/0xa*(-parseInt(f(0x1ea))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x441d9));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x1d1)]()[h(0x1d8)](h(0x1ef))[h(0x1d1)]()[h(0x1e7)](a47a)[h(0x1d8)](h(0x1ef));});function a47c(){var o=['unlockItemOrSolution','constructor','logger','apply','157718PKxTMt','getInstance','6RrovKo','Failed\x20to\x20unlock\x20door:\x20','To\x20','(((.+)+)+)+$','3903152OvFbGC','getOtherSide','Door\x20created\x20between\x20','roomA','toString','400fzEBeC','.\x20Used:\x20','checkIfLockable','write','602868UFSxAH','85393sLAaSy','search','.\x20Is\x20Locked:\x20','457374IwXDqM','name','Door\x20unlocked:\x20','isLocked','2hIBvzT','3563127empoDf','\x20and\x20','isLockable','10fNYSRD','checkIfLocked','roomB','1221927ZDnaUN'];a47c=function(){return o;};return a47c();}a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x1d0)];[a47i(0x1e4)];['isLocked'];['unlockItemOrSolution'];[a47i(0x1db)];['logger'];[a47i(0x1e1)];constructor(a){var j=a47i;super(),this[j(0x1d0)]=a[j(0x1d0)],this[j(0x1e4)]=a[j(0x1e4)],this[j(0x1dd)]=a[j(0x1dd)]||![],this['unlockItemOrSolution']=a['unlockItemOrSolution'],this[j(0x1db)]=a[j(0x1db)]?capitalCase(a[j(0x1db)]):j(0x1ee)+a[j(0x1e4)][j(0x1db)],this[j(0x1e8)]=Logger[j(0x1eb)](),this[j(0x1e1)]=!!a[j(0x1e6)],this[j(0x1e8)][j(0x1d5)](j(0x1cf)+this[j(0x1d0)][j(0x1db)]+j(0x1e0)+this[j(0x1e4)][j(0x1db)]+j(0x1d9)+this['isLocked']);}[a47i(0x1ce)](a){var k=a47i;return this[k(0x1d0)]===a?this['roomB']:this[k(0x1d0)];}['attemptUnlock'](a){var l=a47i;if(this[l(0x1dd)]&&this[l(0x1e6)]&&this[l(0x1e6)]===a)return this[l(0x1dd)]=![],this['logger'][l(0x1d5)](l(0x1dc)+this['name']+'.\x20Used:\x20'+a),!![];return this[l(0x1e8)]['write'](l(0x1ed)+this[l(0x1db)]+l(0x1d3)+a),![];}[a47i(0x1e3)](){var m=a47i;return this[m(0x1dd)];}[a47i(0x1d4)](){var n=a47i;return this[n(0x1e1)];}}
@@ -1 +1 @@
1
- function a48c(){const q=['search','items','\x20to\x20inventory.','keys','getAllItems','weight','Added\x20item:\x20','getInstance','.\x20Item\x20not\x20found.','Removed\x20item:\x20','4ltbQwQ','.\x20Exists:\x20','hasItem','16VnYlvx','13570GsqbaQ','13694670YmplfM','2772018prlcGW','write','removeItem','(((.+)+)+)+$','constructor','Checked\x20for\x20item:\x20','Listed\x20items\x20in\x20inventory:\x20','toLowerCase','1468OOnowz','3747919InhNSJ','toString','addItem','listItems','346372bjZQcZ','has','6397596cCvTaf','35658370oqIbrF','map','values','delete','set','join','name','logger','getItem'];a48c=function(){return q;};return a48c();}const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x112))/0x1*(-parseInt(f(0xff))/0x2)+-parseInt(f(0x105))/0x3+-parseInt(f(0x10d))/0x4*(parseInt(f(0x103))/0x5)+-parseInt(f(0x114))/0x6+-parseInt(f(0x10e))/0x7*(-parseInt(f(0x102))/0x8)+-parseInt(f(0x104))/0x9+parseInt(f(0x115))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xc88e3));function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xf4;let f=c[d];return f;},a48d(a,b);}const a48b=(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;};}()),a48a=a48b(this,function(){const g=a48d;return a48a['toString']()[g(0xf5)](g(0x108))[g(0x10f)]()[g(0x109)](a48a)[g(0xf5)]('(((.+)+)+)+$');});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48h(0xf6)];[a48h(0x11c)];constructor(){const i=a48h;super(),this['items']=new Map(),this['logger']=Logger[i(0xfc)]();}[a48h(0x110)](a){const j=a48h;this['items'][j(0x119)](a['name'][j(0x10c)](),a),this[j(0x11c)][j(0x106)](j(0xfb)+a[j(0x11b)]+j(0xf7));}[a48h(0x107)](a){const k=a48h,b=this[k(0xf4)](a);if(b)return this['items'][k(0x118)](a[k(0x10c)]()),this[k(0x11c)][k(0x106)](k(0xfe)+a+'\x20from\x20inventory.'),b;return this['logger'][k(0x106)]('Failed\x20to\x20remove\x20item:\x20'+a+k(0xfd)),null;}[a48h(0x101)](a){const l=a48h,b=this['items'][l(0x113)](a['toLowerCase']()),c=[...this[l(0xf6)][l(0xf8)]()];return this[l(0x11c)][l(0x106)](l(0x10a)+a+'\x20in\x20'+c['join'](',\x20')+l(0x100)+b+'.'),b;}[a48h(0xf4)](a){const m=a48h,b=this[m(0xf6)]['get'](a[m(0x10c)]())||null;return b?this[m(0x11c)][m(0x106)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[m(0x11c)][m(0x106)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+m(0xfd)),b;}[a48h(0x111)](){const n=a48h,a=[...this[n(0xf6)][n(0xf8)]()],b=a[n(0x116)](c=>capitalCase(c));return this['logger'][n(0x106)](n(0x10b)+b[n(0x11a)](',\x20')+'.'),a;}['getWeight'](){const o=a48h;let a=0x0;for(const b of this[o(0xf6)][o(0x117)]()){a+=b[o(0xfa)];}return a;}[a48h(0xf9)](){const p=a48h;return[...this[p(0xf6)][p(0x117)]()];}}
1
+ const a48i=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x79;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x8b))/0x1+-parseInt(f(0x89))/0x2+parseInt(f(0x85))/0x3*(parseInt(f(0x87))/0x4)+parseInt(f(0x90))/0x5*(-parseInt(f(0x96))/0x6)+parseInt(f(0x8d))/0x7+parseInt(f(0x94))/0x8+-parseInt(f(0x99))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xcd55c));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x8a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x97)]()['search']('(((.+)+)+)+$')[h(0x97)]()['constructor'](a48a)['search'](h(0x7f));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a48i(0x9f)];constructor(){const j=a48i;super(),this[j(0x82)]=new Map(),this[j(0x9f)]=Logger[j(0x7b)]();}[a48i(0x7d)](a){const k=a48i;this[k(0x82)][k(0x8f)](a[k(0x98)][k(0x86)](),a),this[k(0x9f)]['write'](k(0x95)+a[k(0x98)]+'\x20to\x20inventory.');}[a48i(0x79)](a){const l=a48i,b=this[l(0x8e)](a);if(b)return this[l(0x82)]['delete'](a['toLowerCase']()),this['logger']['write'](l(0x80)+a+'\x20from\x20inventory.'),b;return this['logger']['write'](l(0x84)+a+'.\x20Item\x20not\x20found.'),null;}[a48i(0x91)](a){const m=a48i,b=this['items'][m(0x83)](a[m(0x86)]()),c=[...this['items'][m(0x7a)]()];return this[m(0x9f)][m(0x7e)](m(0x7c)+a+m(0x9e)+c['join'](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a48i(0x8e)](a){const n=a48i,b=this[n(0x82)][n(0x81)](a[n(0x86)]())||null;return b?this[n(0x9f)]['write'](n(0x8c)+a+'.'):this['logger'][n(0x7e)](n(0x9a)+a+n(0xa1)),b;}[a48i(0x88)](){const o=a48i,a=[...this[o(0x82)][o(0x7a)]()],b=a['map'](c=>capitalCase(c));return this[o(0x9f)][o(0x7e)](o(0x93)+b[o(0x9b)](',\x20')+'.'),a;}[a48i(0x92)](){const p=a48i;let a=0x0;for(const b of this['items'][p(0xa0)]()){a+=b[p(0x9c)];}return a;}[a48i(0x9d)](){const q=a48i;return[...this['items'][q(0xa0)]()];}}function a48c(){const r=['hasItem','getWeight','Listed\x20items\x20in\x20inventory:\x20','8957872UXqevk','Added\x20item:\x20','1551954VrggqT','toString','name','18055530hTyTdt','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','join','weight','getAllItems','\x20in\x20','logger','values','.\x20Item\x20not\x20found.','removeItem','keys','getInstance','Checked\x20for\x20item:\x20','addItem','write','(((.+)+)+)+$','Removed\x20item:\x20','get','items','has','Failed\x20to\x20remove\x20item:\x20','330795XLIGcQ','toLowerCase','56rDJFxW','listItems','957158RsEMba','apply','506707TqObjO','Retrieved\x20details\x20for\x20item:\x20','9994061csJQvH','getItem','set','5QnTSdy'];a48c=function(){return r;};return a48c();}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0xcb))/0x1+-parseInt(f(0xd0))/0x2*(-parseInt(f(0xc9))/0x3)+-parseInt(f(0xbe))/0x4+-parseInt(f(0xce))/0x5+-parseInt(f(0xc5))/0x6*(parseInt(f(0xcc))/0x7)+parseInt(f(0xcf))/0x8+-parseInt(f(0xc1))/0x9*(-parseInt(f(0xc6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xa15c7));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0xd6)]()[h(0xc2)]('(((.+)+)+)+$')[h(0xd6)]()['constructor'](a49a)[h(0xc2)](h(0xc7));});a49a();import{v4 as a49e}from'uuid';function a49c(){var l=['21EDdUHj','size','1172126xnApzZ','175574HftiLT','use','6584600hIgGRI','687144oMgjEM','357652xyTtAZ','category','color','apply','You\x20use\x20the\x20','name','toString','description','2346920auhPvV','shape','uuid','18GkajCM','search','rating','texture','48wistEX','12998460lKTdOT','(((.+)+)+)+$','weight'];a49c=function(){return l;};return a49c();}import{AbstractItem}from'../types/abstracts.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xbe;var f=c[d];return f;},a49d(a,b);}export class Item extends AbstractItem{['uuid'];[a49i(0xd5)];[a49i(0xd7)];['size'];['category'];[a49i(0xbf)];['color'];['texture'];[a49i(0xc3)];[a49i(0xc8)];constructor(a){var j=a49i;super(),this[j(0xd5)]=a[j(0xd5)],this[j(0xd7)]=a[j(0xd7)],this[j(0xca)]=a[j(0xca)],this[j(0xd1)]=a[j(0xd1)],this[j(0xbf)]=a['shape'],this[j(0xd2)]=a[j(0xd2)],this[j(0xc4)]=a[j(0xc4)],this[j(0xc3)]=a[j(0xc3)],this[j(0xc8)]=a[j(0xc8)],this[j(0xc0)]=a49e();}[a49i(0xcd)](){var k=a49i;return k(0xd4)+this[k(0xd5)]+'.\x20Nothing\x20special\x20happens.';}}
1
+ var a49h=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x86))/0x1*(-parseInt(f(0x94))/0x2)+parseInt(f(0x92))/0x3+-parseInt(f(0x7c))/0x4*(parseInt(f(0x89))/0x5)+parseInt(f(0x7f))/0x6*(-parseInt(f(0x88))/0x7)+-parseInt(f(0x7d))/0x8+parseInt(f(0x95))/0x9+parseInt(f(0x82))/0xa*(parseInt(f(0x90))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x7f963));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0x8a)]()['search'](g(0x8d))[g(0x8a)]()['constructor'](a49a)[g(0x85)](g(0x8d));});function a49c(){var k=['6950504UAFHhy','weight','6yjaCiT','color','.\x20Nothing\x20special\x20happens.','102860PLCbYG','You\x20use\x20the\x20','shape','search','386965ApicEs','name','6051731tgLoQe','1505rwRNaF','toString','rating','uuid','(((.+)+)+)+$','description','use','792xPPyTQ','size','2536767CYVdXT','category','2eFaGoR','3945708LAaWdn','texture','2068hJPplY'];a49c=function(){return k;};return a49c();}a49a();import{v4 as a49e}from'uuid';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x7b;var f=c[d];return f;},a49d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];[a49h(0x87)];[a49h(0x8e)];[a49h(0x91)];[a49h(0x93)];['shape'];['color'];[a49h(0x7b)];[a49h(0x8b)];[a49h(0x7e)];constructor(a){var i=a49h;super(),this[i(0x87)]=a['name'],this[i(0x8e)]=a['description'],this[i(0x91)]=a[i(0x91)],this[i(0x93)]=a['category'],this['shape']=a[i(0x84)],this['color']=a[i(0x80)],this[i(0x7b)]=a['texture'],this[i(0x8b)]=a[i(0x8b)],this[i(0x7e)]=a['weight'],this[i(0x8c)]=a49e();}[a49h(0x8f)](){var j=a49h;return j(0x83)+this[j(0x87)]+j(0x81);}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x181))/0x1*(-parseInt(f(0x171))/0x2)+-parseInt(f(0x172))/0x3*(-parseInt(f(0x178))/0x4)+-parseInt(f(0x17d))/0x5+-parseInt(f(0x17b))/0x6+parseInt(f(0x186))/0x7*(-parseInt(f(0x175))/0x8)+-parseInt(f(0x174))/0x9*(-parseInt(f(0x183))/0xa)+parseInt(f(0x17c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x34bc2));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x17f)]()['search'](h(0x180))['toString']()[h(0x185)](a50a)['search'](h(0x180));});function a50c(){const o=['11292wDJDQx','floor','random','1096584ZeYoUo','3192365BTyWcm','995005QfhCnU','name','toString','(((.+)+)+)+$','27TzwhAk','_name','4303090hTXttU','_dialogue','constructor','172907rQgSQv','apply','scene','moveTo','length','206rrhxaq','30xfMmMi','rooms','9hYenfh','48JdFcHk','autonomousMove','speak'];a50c=function(){return o;};return a50c();}a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x170;let f=c[d];return f;},a50d(a,b);}export class NPC extends Player{[a50i(0x182)];[a50i(0x184)];[a50i(0x173)];['scene'];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x182)]=a,this[j(0x184)]=b,this['rooms']=c;}get[a50i(0x17e)](){const k=a50i;return this[k(0x182)];}[a50i(0x177)](){const l=a50i;return this[l(0x184)][Math[l(0x179)](Math[l(0x17a)]()*this[l(0x184)][l(0x170)])];}[a50i(0x176)](a){const m=a50i,b=a[Math['floor'](Math[m(0x17a)]()*a[m(0x170)])];this['moveTo'](b['name']);}[a50i(0x189)](a){const n=a50i,b={'actor':this,'rooms':this[n(0x173)],'scene':this[n(0x188)]},c=new GoCommand(b);c['execute']([a]);}}
1
+ const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x9e))/0x1*(-parseInt(f(0x99))/0x2)+parseInt(f(0x98))/0x3+parseInt(f(0x9a))/0x4+parseInt(f(0x9b))/0x5*(-parseInt(f(0xa5))/0x6)+-parseInt(f(0xa0))/0x7*(-parseInt(f(0xa3))/0x8)+parseInt(f(0xab))/0x9+parseInt(f(0xa4))/0xa*(-parseInt(f(0xae))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x471e0));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x9f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a['toString']()[h(0xa1)](h(0xb1))[h(0xa6)]()[h(0x9d)](a50a)[h(0xa1)](h(0xb1));});a50a();import{Player}from'./player.js';function a50c(){const o=['102mjZWyj','toString','execute','speak','rooms','length','3425526gVOUwz','random','_name','55aFqyOt','moveTo','_dialogue','(((.+)+)+)+$','name','878319KzrcCv','496SgJSjn','1181044pSPSSg','28445CwXJqM','scene','constructor','295acOFgE','apply','581ozGmCu','search','floor','38216tRXUdZ','1807940zZUvmq'];a50c=function(){return o;};return a50c();}function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x97;let f=c[d];return f;},a50d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0xad)];['_dialogue'];[a50i(0xa9)];[a50i(0x9c)];constructor(a,b,c,d){const j=a50i;super(d),this['_name']=a,this[j(0xb0)]=b,this[j(0xa9)]=c;}get['name'](){const k=a50i;return this[k(0xad)];}[a50i(0xa8)](){const l=a50i;return this[l(0xb0)][Math[l(0xa2)](Math[l(0xac)]()*this['_dialogue'][l(0xaa)])];}['autonomousMove'](a){const m=a50i,b=a[Math['floor'](Math[m(0xac)]()*a['length'])];this[m(0xaf)](b[m(0x97)]);}[a50i(0xaf)](a){const n=a50i,b={'actor':this,'rooms':this[n(0xa9)],'scene':this[n(0x9c)]},c=new GoCommand(b);c[n(0xa7)]([a]);}}
@@ -1 +1 @@
1
- function a51c(){const D=['maxCarryingWeight','_playerName','_inventory','addItem','leftHand','initialEquipment','legs','7513ABkFjV','Weapon','torso','hat','8208536pvviKo','Failed\x20to\x20remove\x20','Shield','Helmet','addInventory','inventoryItems','legarmor','helmet','shield','gloves','values','\x20to\x20player\x27s\x20inventory.','boots','52344enIMNS','You\x20unequipped\x20','determineEquipmentSlot','constructor','3293082xkChvI','Boots','name','7tdpkHV','827RTbSbx','.\x20You\x20must\x20unequip\x20it\x20first.','18pTokxs','getInstance','toLowerCase','leaveRoom','_equipment','startLocation','log','arms','search','getWeight','playerName','weight','weapon','feet','Max\x20carrying\x20weight\x20must\x20be\x20positive.','Gloves','currentWeight','canEquip','rightHand','BodyArmor','Added\x20','speak','10brJaea','LegArmor','error','2914tkpIlU','hasItem','Hat','toString','(((.+)+)+)+$','unequipBySlot','equipment','Removed\x20','1672984noIpou','leg\x20armor','head','category','Invalid\x20category\x20or\x20slot:\x20','hear','2208588UyMfob','bodyarmor','A\x20featureless\x20room','_currentLocation','bind','apply','enterRoom','_maxCarryingWeight','7493130lIujUJ','\x20is\x20now\x20listening\x20in\x20room\x20','\x20slot.','\x20from\x20player\x27s\x20inventory.','arm\x20armor','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','write','armarmor','\x20is\x20no\x20longer\x20listeng\x20in\x20','logger','removeInventory'];a51c=function(){return D;};return a51c();}const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x1f9))/0x1*(parseInt(f(0x214))/0x2)+-parseInt(f(0x1f5))/0x3+parseInt(f(0x21c))/0x4+-parseInt(f(0x211))/0x5*(-parseInt(f(0x222))/0x6)+-parseInt(f(0x1f8))/0x7*(-parseInt(f(0x240))/0x8)+-parseInt(f(0x1fb))/0x9*(-parseInt(f(0x22a))/0xa)+-parseInt(f(0x23c))/0xb*(parseInt(f(0x24d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xc50de));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x227)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a['toString']()[h(0x203)](h(0x218))[h(0x217)]()[h(0x1f4)](a51a)[h(0x203)](h(0x218));});function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a51d(a,b);}a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0x236)];[a51i(0x225)];[a51i(0x237)];[a51i(0x1ff)];[a51i(0x229)]=0x32;[a51i(0x233)];constructor(a){const j=a51i;super(),this[j(0x236)]=a[j(0x205)],this[j(0x225)]=a[j(0x200)]||new Room({'name':'Nexus','description':j(0x224)}),this[j(0x237)]=new Inventory(),this['logger']=Logger[j(0x1fc)]();if(a?.[j(0x245)])for(const b of a[j(0x245)]){this[j(0x237)]['addItem'](b);}this[j(0x1ff)]=a?.[j(0x23a)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x1f7)](){const k=a51i;return this[k(0x236)];}get['currentLocation'](){const l=a51i;return this[l(0x225)];}set['currentLocation'](a){const m=a51i;this[m(0x225)]!==a&&(this[m(0x1fe)](),this[m(0x228)](a)),this[m(0x225)]=a;}get['inventory'](){const n=a51i;return this[n(0x237)];}get[a51i(0x21a)](){const o=a51i;return this[o(0x1ff)];}set[a51i(0x21a)](a){const p=a51i;this[p(0x1ff)]=a;}get[a51i(0x235)](){const q=a51i;return this[q(0x229)];}set[a51i(0x235)](a){const r=a51i;a>0x0?this[r(0x229)]=a:console[r(0x213)](r(0x209));}get[a51i(0x20b)](){const s=a51i;let a=this['_inventory'][s(0x204)]();for(const b in this[s(0x1ff)]){const c=this[s(0x1ff)][b];c&&(a+=c[s(0x206)]);}return a;}[a51i(0x244)](a){const t=a51i;if(this[t(0x20b)]+a[t(0x206)]>this['maxCarryingWeight']){this[t(0x233)][t(0x230)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(t(0x22f));}this[t(0x237)][t(0x238)](a),this['logger'][t(0x230)](t(0x20f)+a[t(0x1f7)]+t(0x24b));}[a51i(0x234)](a){const u=a51i;if(this[u(0x237)]['removeItem'](a[u(0x1f7)]))return this[u(0x233)][u(0x230)](u(0x21b)+a[u(0x1f7)]+u(0x22d)),!![];return this[u(0x233)][u(0x230)](u(0x241)+a[u(0x1f7)]+u(0x22d)),![];}['equip'](a){const v=a51i;if(!this[v(0x237)][v(0x215)](a[v(0x1f7)]))return'You\x20don\x27t\x20have\x20'+a['name']+'\x20in\x20your\x20inventory.';if(!this[v(0x20c)](a))return'You\x20can\x27t\x20equip\x20'+a[v(0x1f7)]+'.';const b=this[v(0x1f3)](a[v(0x21f)]);if(!b)return a['name']+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[v(0x21a)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+v(0x1fa);return this[v(0x21a)][b]=a,this[v(0x234)](a),'You\x20equipped\x20'+a[v(0x1f7)]+'.';}['unequip'](a){const w=a51i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[w(0x1f3)](a);if(!b)return w(0x220)+a+'.';}return this[w(0x219)](b);}['determineEquipmentSlot'](a){const x=a51i;switch(a[x(0x1fd)]()){case Category[x(0x23d)][x(0x1fd)]():return x(0x20d);case Category[x(0x242)]['toLowerCase']():return x(0x239);case Category[x(0x20a)][x(0x1fd)]():return x(0x249);case Category[x(0x243)]['toLowerCase']():case Category[x(0x216)][x(0x1fd)]():return'head';case Category[x(0x1f6)][x(0x1fd)]():return x(0x208);case Category[x(0x212)][x(0x1fd)]():return x(0x23b);case Category['ArmArmor']['toLowerCase']():return x(0x202);case Category[x(0x20e)][x(0x1fd)]():return x(0x23e);case x(0x207):return x(0x20d);case x(0x248):return x(0x239);case x(0x249):return x(0x249);case x(0x247):case x(0x23f):return x(0x21e);case x(0x24c):return x(0x208);case x(0x21d):case x(0x246):return x(0x23b);case x(0x22e):case x(0x231):return'arms';case'body\x20armor':case x(0x223):case x(0x23e):return x(0x23e);default:return null;}}[a51i(0x20c)](a){const y=a51i;return Object[y(0x24a)](Category)['includes'](a[y(0x21f)]);}[a51i(0x219)](a){const z=a51i,b=this[z(0x21a)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+z(0x22c);return this[z(0x244)](b),this['equipment'][a]=null,z(0x24e)+b[z(0x1f7)]+'.';}[a51i(0x221)](a,b){const A=a51i;a!==this&&this[A(0x233)][A(0x201)](a[A(0x1f7)]+'\x20says:\x20\x22'+b+'\x22');}[a51i(0x228)](a){const B=a51i;this['_currentLocation']=a,a['on'](B(0x210),this[B(0x221)][B(0x226)](this)),this[B(0x233)]['write'](this[B(0x1f7)]+B(0x22b)+a['name']);}[a51i(0x1fe)](){const C=a51i;this['_currentLocation']&&(this['_currentLocation']['off'](C(0x210),this[C(0x221)][C(0x226)](this)),this[C(0x233)][C(0x230)](this[C(0x1f7)]+C(0x232)+this[C(0x225)][C(0x1f7)]));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x89))/0x1*(-parseInt(f(0x74))/0x2)+parseInt(f(0xae))/0x3+-parseInt(f(0xb5))/0x4+-parseInt(f(0xb0))/0x5*(-parseInt(f(0x7f))/0x6)+-parseInt(f(0x98))/0x7*(parseInt(f(0x9d))/0x8)+parseInt(f(0x91))/0x9*(parseInt(f(0x7c))/0xa)+parseInt(f(0x96))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xbfd03));function a51c(){const C=['name','1374447AvyLaV','_inventory','5INsLrK','\x20is\x20no\x20longer\x20listeng\x20in\x20','.\x20You\x20must\x20unequip\x20it\x20first.','startLocation','Boots','2114192kCvkop','_currentLocation','determineEquipmentSlot','addInventory','write','Hat','\x20says:\x20\x22','toLowerCase','feet','\x20slot.','rightHand','\x20to\x20player\x27s\x20inventory.','You\x20can\x27t\x20equip\x20','maxCarryingWeight','_maxCarryingWeight','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','Gloves','Shield','canEquip','unequip','leaveRoom','getWeight','Max\x20carrying\x20weight\x20must\x20be\x20positive.','2877684fTJqaV','arm\x20armor','gloves','legs','values','enterRoom','_playerName','boots','37000fKzPOG','Weapon','equip','2044026YDGGSo','unequipBySlot','arms','removeInventory','helmet','off','logger','toString','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','Removed\x20','1mqNyNK','body\x20armor','torso','error','search','apply','\x20in\x20your\x20inventory.','speak','2241sxdjWz','hear','category','weapon','(((.+)+)+)+$','21228988KzRTds','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','7BQCYjq','\x20from\x20player\x27s\x20inventory.','bodyarmor','You\x20unequipped\x20','leg\x20armor','7175768kgaqja','A\x20featureless\x20room','weight','hasItem','head','currentWeight','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','bind','\x20is\x20now\x20listening\x20in\x20room\x20','leftHand','_equipment','equipment','addItem','initialEquipment','armarmor','Failed\x20to\x20remove\x20'];a51c=function(){return C;};return a51c();}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x86)]()[h(0x8d)](h(0x95))[h(0x86)]()['constructor'](a51a)[h(0x8d)](h(0x95));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x69;let f=c[d];return f;},a51d(a,b);}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(0x7a)];[a51i(0xb6)];[a51i(0xaf)];[a51i(0xa7)];['_maxCarryingWeight']=0x32;[a51i(0x85)];constructor(a){const j=a51i;super(),this[j(0x7a)]=a['playerName'],this[j(0xb6)]=a[j(0xb3)]||new Room({'name':'Nexus','description':j(0x9e)}),this[j(0xaf)]=new Inventory(),this[j(0x85)]=Logger['getInstance']();if(a?.['inventoryItems'])for(const b of a['inventoryItems']){this[j(0xaf)][j(0xa9)](b);}this['_equipment']=a?.[j(0xaa)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0xad)](){const k=a51i;return this[k(0x7a)];}get['currentLocation'](){const l=a51i;return this[l(0xb6)];}set['currentLocation'](a){const m=a51i;this[m(0xb6)]!==a&&(this['leaveRoom'](),this[m(0x79)](a)),this['_currentLocation']=a;}get['inventory'](){const n=a51i;return this[n(0xaf)];}get[a51i(0xa8)](){const o=a51i;return this[o(0xa7)];}set[a51i(0xa8)](a){this['_equipment']=a;}get[a51i(0x6a)](){const p=a51i;return this[p(0x6b)];}set[a51i(0x6a)](a){const q=a51i;a>0x0?this[q(0x6b)]=a:console[q(0x8c)](q(0x73));}get[a51i(0xa2)](){const r=a51i;let a=this['_inventory'][r(0x72)]();for(const b in this[r(0xa7)]){const c=this[r(0xa7)][b];c&&(a+=c[r(0x9f)]);}return a;}[a51i(0xb8)](a){const s=a51i;if(this[s(0xa2)]+a[s(0x9f)]>this['maxCarryingWeight']){this['logger'][s(0xb9)](s(0x97));throw new Error(s(0xa3));}this['_inventory'][s(0xa9)](a),this[s(0x85)][s(0xb9)]('Added\x20'+a[s(0xad)]+s(0xc0));}[a51i(0x82)](a){const t=a51i;if(this[t(0xaf)]['removeItem'](a[t(0xad)]))return this[t(0x85)][t(0xb9)](t(0x88)+a[t(0xad)]+t(0x99)),!![];return this[t(0x85)][t(0xb9)](t(0xac)+a[t(0xad)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a51i(0x7e)](a){const u=a51i;if(!this[u(0xaf)][u(0xa0)](a[u(0xad)]))return'You\x20don\x27t\x20have\x20'+a['name']+u(0x8f);if(!this[u(0x6f)](a))return u(0x69)+a[u(0xad)]+'.';const b=this['determineEquipmentSlot'](a[u(0x93)]);if(!b)return a[u(0xad)]+u(0x6c);if(this[u(0xa8)][b])return u(0x87)+b+u(0xb2);return this[u(0xa8)][b]=a,this[u(0x82)](a),'You\x20equipped\x20'+a[u(0xad)]+'.';}[a51i(0x70)](a){const v=a51i;let b=a;if(!this[v(0xa8)][camelCase(b)]){b=this[v(0xb7)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[v(0x80)](b);}[a51i(0xb7)](a){const w=a51i;switch(a[w(0xbc)]()){case Category[w(0x7d)]['toLowerCase']():return w(0xbf);case Category[w(0x6e)][w(0xbc)]():return w(0xa6);case Category[w(0x6d)][w(0xbc)]():return w(0x76);case Category['Helmet'][w(0xbc)]():case Category[w(0xba)][w(0xbc)]():return'head';case Category[w(0xb4)][w(0xbc)]():return w(0xbd);case Category['LegArmor'][w(0xbc)]():return w(0x77);case Category['ArmArmor'][w(0xbc)]():return w(0x81);case Category['BodyArmor'][w(0xbc)]():return w(0x8b);case w(0x94):return w(0xbf);case'shield':return'leftHand';case'gloves':return w(0x76);case w(0x83):case'hat':return w(0xa1);case w(0x7b):return'feet';case w(0x9c):case'legarmor':return'legs';case w(0x75):case w(0xab):return w(0x81);case w(0x8a):case w(0x9a):case w(0x8b):return w(0x8b);default:return null;}}['canEquip'](a){const x=a51i;return Object[x(0x78)](Category)['includes'](a['category']);}[a51i(0x80)](a){const y=a51i,b=this[y(0xa8)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+y(0xbe);return this['addInventory'](b),this[y(0xa8)][a]=null,y(0x9b)+b['name']+'.';}[a51i(0x92)](a,b){const z=a51i;a!==this&&this[z(0x85)]['log'](a[z(0xad)]+z(0xbb)+b+'\x22');}[a51i(0x79)](a){const A=a51i;this[A(0xb6)]=a,a['on']('speak',this[A(0x92)][A(0xa4)](this)),this[A(0x85)][A(0xb9)](this['name']+A(0xa5)+a[A(0xad)]);}[a51i(0x71)](){const B=a51i;this[B(0xb6)]&&(this[B(0xb6)][B(0x84)](B(0x90),this[B(0x92)][B(0xa4)](this)),this[B(0x85)][B(0xb9)](this['name']+B(0xb1)+this[B(0xb6)][B(0xad)]));}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x135))/0x1*(parseInt(f(0x125))/0x2)+parseInt(f(0x132))/0x3+-parseInt(f(0x134))/0x4+parseInt(f(0x12a))/0x5+-parseInt(f(0x12c))/0x6*(-parseInt(f(0x128))/0x7)+-parseInt(f(0x137))/0x8+parseInt(f(0x12d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x40829));function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x11b;var f=c[d];return f;},a52d(a,b);}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x11b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x127)]('(((.+)+)+)+$')[h(0x11c)]()['constructor'](a52a)[h(0x127)](h(0x121));});a52a();import{Logger}from'../utilities/logger.js';function a52c(){var m=['logger','write','solve','(((.+)+)+)+$','hasItem','riddle','successMessage','4838nirPGg','requiredPhrase','search','255619bJnNwz','requiredItem','708845RGTzCf','You\x20solved\x20the\x20puzzle!','60MRAuWX','8276265ZnsCDf','rewardItem','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','solved','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','7185JWcpvS','Puzzle:\x20Correct\x20solution\x20provided.','764244wFrGtv','193kSFiAv','matchesRequiredPhrase','4054064kfhEEm','apply','toString','failureMessage'];a52c=function(){return m;};return a52c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x11e)]=Logger['getInstance']();[a52i(0x130)]=![];[a52i(0x129)];[a52i(0x126)];['riddle'];[a52i(0x12e)];[a52i(0x124)];[a52i(0x11d)];constructor(a){var j=a52i;super(),this[j(0x129)]=a[j(0x129)],this['requiredPhrase']=a['requiredPhrase'],this[j(0x123)]=a[j(0x123)],this[j(0x12e)]=a[j(0x12e)],this['successMessage']=a[j(0x124)]||j(0x12b),this[j(0x11d)]=a[j(0x11d)]||j(0x12f);}['hasRequiredItem'](a){var k=a52i;if(this[k(0x129)])return a[k(0x122)](this['requiredItem']);return![];}[a52i(0x136)](a){return this['requiredPhrase']===a;}[a52i(0x120)](a,b){var l=a52i;if(this[l(0x130)])return this['logger'][l(0x11f)](l(0x131)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this['hasRequiredItem'](b)||this[l(0x136)](a)?(this[l(0x130)]=!![],this[l(0x11e)][l(0x11f)](l(0x133)),{'success':!![],'message':this['successMessage']}):(this['logger']['write']('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[l(0x11d)]});}}
1
+ var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x17d))/0x1+parseInt(f(0x16f))/0x2+-parseInt(f(0x171))/0x3+-parseInt(f(0x18b))/0x4*(parseInt(f(0x173))/0x5)+-parseInt(f(0x182))/0x6*(parseInt(f(0x180))/0x7)+-parseInt(f(0x183))/0x8*(parseInt(f(0x17a))/0x9)+parseInt(f(0x187))/0xa*(parseInt(f(0x18c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x2abec));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(0x16e)]()[g(0x18a)]('(((.+)+)+)+$')['toString']()[g(0x170)](a52a)[g(0x18a)](g(0x16c));});a52a();import{Logger}from'../utilities/logger.js';function a52c(){var l=['constructor','198819NIqXJA','hasRequiredItem','38795YXFJcs','Puzzle:\x20Correct\x20solution\x20provided.','requiredPhrase','requiredItem','logger','getInstance','solve','2297511rkytAH','riddle','successMessage','175684vCKoOi','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','write','2149hJPfNK','solved','4386hIXPfO','8pErsdJ','hasItem','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','matchesRequiredPhrase','389570oyuntX','failureMessage','You\x20solved\x20the\x20puzzle!','search','120avsQzq','308gsJCCU','(((.+)+)+)+$','rewardItem','toString','77422BzWjwQ'];a52c=function(){return l;};return a52c();}import{AbstractPuzzle}from'../types/abstracts.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x16c;var f=c[d];return f;},a52d(a,b);}export class Puzzle extends AbstractPuzzle{[a52h(0x177)]=Logger[a52h(0x178)]();[a52h(0x181)]=![];[a52h(0x176)];[a52h(0x175)];['riddle'];[a52h(0x16d)];[a52h(0x17c)];[a52h(0x188)];constructor(a){var i=a52h;super(),this[i(0x176)]=a[i(0x176)],this[i(0x175)]=a[i(0x175)],this[i(0x17b)]=a['riddle'],this[i(0x16d)]=a[i(0x16d)],this['successMessage']=a['successMessage']||i(0x189),this['failureMessage']=a[i(0x188)]||i(0x185);}[a52h(0x172)](a){var j=a52h;if(this['requiredItem'])return a[j(0x184)](this[j(0x176)]);return![];}['matchesRequiredPhrase'](a){return this['requiredPhrase']===a;}[a52h(0x179)](a,b){var k=a52h;if(this[k(0x181)])return this['logger']['write']('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[k(0x172)](b)||this[k(0x186)](a)?(this[k(0x181)]=!![],this[k(0x177)][k(0x17f)](k(0x174)),{'success':!![],'message':this['successMessage']}):(this[k(0x177)]['write'](k(0x17e)),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x98))/0x1+-parseInt(f(0x86))/0x2*(parseInt(f(0x79))/0x3)+parseInt(f(0x8e))/0x4*(parseInt(f(0x96))/0x5)+-parseInt(f(0x92))/0x6+parseInt(f(0x95))/0x7*(parseInt(f(0x7a))/0x8)+parseInt(f(0x9e))/0x9*(parseInt(f(0x7c))/0xa)+-parseInt(f(0xb0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x2b9a6));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const g=a53d;return a53a[g(0xb4)]()[g(0xa7)](g(0x9b))[g(0xb4)]()[g(0x7d)](a53a)[g(0xa7)]('(((.+)+)+)+$');});a53a();import{Logger}from'../utilities/logger.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x76;let f=c[d];return f;},a53d(a,b);}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53h(0xa3)]=Logger[a53h(0xad)]();[a53h(0xb3)];[a53h(0x8f)];[a53h(0xb6)]=new Map();[a53h(0x83)];[a53h(0x78)];['inventory']=new Inventory();constructor(a){const i=a53h;super(),this[i(0xb3)]=a[i(0xb3)],this[i(0x8f)]=a[i(0x8f)],this['roomType']=a[i(0x83)]||RoomType[i(0xa4)],a[i(0xb6)]&&(this[i(0xb6)]=a[i(0xb6)]||new Map()),a[i(0x89)]&&(this[i(0x89)]=a[i(0x89)]),a[i(0x97)]&&(this['puzzle']=a[i(0x97)]),this[i(0x78)]=a[i(0x78)]||![],this[i(0xa3)][i(0xa8)](i(0xa9)+this['name']);}[a53h(0x76)](a,b){const j=a53h;this['emit'](j(0xb2),a,b);}[a53h(0x8b)](a,b,c){const k=a53h;let d=this[k(0x8c)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0xb6)][k(0x9d)](a,d),b[k(0xb6)][k(0x9d)](this['getOppositeDirection'](a),d);}[a53h(0xb1)](a,b){const l=a53h,c=this[l(0xb6)]['get'](a);if(c instanceof Door){const d=c[l(0x88)](b);return this['logger'][l(0xa8)](l(0xa5)+a+l(0xab)+d),d?l(0xac)+c['name']+l(0x8d):'The\x20'+c[l(0xb3)]+'\x20remains\x20locked.';}return this[l(0xa3)][l(0xa8)](l(0x85)+a),l(0xb5);}[a53h(0x99)](a){const m=a53h;return this[m(0xa3)][m(0xa8)](m(0x7f)+a),this['exits'][m(0x94)](a);}['isExitLocked'](a){const n=a53h,b=this['exits'][n(0x94)](a),c=b instanceof Door&&b[n(0x82)]();return this[n(0xa3)]['write'](n(0x80)+a+n(0xa2)+c),c;}[a53h(0x9c)](a){const o=a53h;this[o(0x89)][o(0x9c)](a),this[o(0xa3)][o(0xa8)]('Item\x20added\x20to\x20room\x20'+this[o(0xb3)]+':\x20'+a[o(0xb3)]);}[a53h(0xa0)](a){const p=a53h;this['inventory']['hasItem'](a[p(0xb3)])?(this[p(0x89)][p(0xa0)](a[p(0xb3)]),this['logger'][p(0xa8)](p(0x81)+this[p(0xb3)]+':\x20'+a[p(0xb3)])):this[p(0xa3)][p(0xa8)](p(0x7e)+this[p(0xb3)]+':\x20'+a[p(0xb3)]);}[a53h(0x87)](a){const q=a53h;this['puzzle']=a,this['logger'][q(0xa8)](q(0x93)+this[q(0xb3)]+':\x20'+a[q(0x8a)]);}['getOppositeDirection'](a){const r=a53h;switch(a){case r(0x9a):return Direction[r(0x84)];case r(0x90):return Direction[r(0xa1)];case r(0xae):return Direction['WEST'];case r(0x7b):return Direction[r(0x91)];case'up':return Direction[r(0x77)];case'down':return Direction['UP'];default:throw new Error(r(0xaf)+a);}}[a53h(0x8c)](a){const s=a53h;for(const b of this[s(0xb6)][s(0xaa)]()){if(b instanceof Door){if(b[s(0x9f)]===this&&b[s(0xa6)]===a||b[s(0xa6)]===this&&b[s(0x9f)]===a)return b;}}return undefined;}}function a53c(){const t=['3044833pkECyI','attemptUnlockExit','speak','name','toString','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','exits','say','DOWN','isStartRoom','994866BiuVIj','813680jwSyZX','west','50zCWNpT','constructor','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','Fetching\x20exit\x20in\x20direction:\x20','Checking\x20if\x20exit\x20in\x20direction\x20','Item\x20removed\x20from\x20room\x20','checkIfLocked','roomType','SOUTH','No\x20locked\x20exit\x20found\x20in\x20direction\x20','2BLRuRW','setPuzzle','attemptUnlock','inventory','riddle','addExit','findExistingDoor','\x20unlocked!','12RciNPl','description','south','EAST','766296SMYswz','Puzzle\x20set\x20for\x20room\x20','get','14CjvdFT','456900vtafSY','puzzle','121439KyRMqu','getExit','north','(((.+)+)+)+$','addItem','set','568332XmPIgQ','roomA','removeItem','NORTH','\x20is\x20locked.\x20Result:\x20','logger','INSIDE','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','roomB','search','write','Room\x20created:\x20','values','.\x20Success:\x20','The\x20','getInstance','east','Invalid\x20direction:\x20'];a53c=function(){return t;};return a53c();}
1
+ const a53i=a53d;function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a53d(a,b);}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x1fa))/0x1*(-parseInt(f(0x1e9))/0x2)+-parseInt(f(0x1f8))/0x3+parseInt(f(0x20e))/0x4+parseInt(f(0x1e3))/0x5+parseInt(f(0x1d6))/0x6*(parseInt(f(0x1df))/0x7)+-parseInt(f(0x1ff))/0x8+-parseInt(f(0x1ec))/0x9*(parseInt(f(0x1f0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x3d7a6));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x20a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0x204)](h(0x200))[h(0x20d)]()['constructor'](a53a)[h(0x204)](h(0x200));});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x1e7)]=Logger[a53i(0x1fe)]();[a53i(0x1ee)];['description'];[a53i(0x1f1)]=new Map();['roomType'];[a53i(0x206)];['inventory']=new Inventory();constructor(a){const j=a53i;super(),this[j(0x1ee)]=a['name'],this['description']=a[j(0x1f6)],this['roomType']=a['roomType']||RoomType[j(0x1f3)],a[j(0x1f1)]&&(this['exits']=a[j(0x1f1)]||new Map()),a[j(0x1e0)]&&(this[j(0x1e0)]=a['inventory']),a[j(0x207)]&&(this[j(0x207)]=a[j(0x207)]),this[j(0x206)]=a['isStartRoom']||![],this['logger'][j(0x1da)](j(0x1eb)+this[j(0x1ee)]);}[a53i(0x1ed)](a,b){const k=a53i;this['emit'](k(0x208),a,b);}[a53i(0x203)](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['exits'][l(0x202)](a,d),b[l(0x1f1)]['set'](this['getOppositeDirection'](a),d);}[a53i(0x1e1)](a,b){const m=a53i,c=this[m(0x1f1)][m(0x1db)](a);if(c instanceof Door){const d=c[m(0x1dd)](b);return this[m(0x1e7)][m(0x1da)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+'.\x20Success:\x20'+d),d?m(0x201)+c['name']+m(0x1e5):m(0x201)+c['name']+'\x20remains\x20locked.';}return this[m(0x1e7)][m(0x1da)](m(0x1d7)+a),m(0x1e2);}[a53i(0x1f5)](a){const n=a53i;return this[n(0x1e7)][n(0x1da)](n(0x1e6)+a),this[n(0x1f1)][n(0x1db)](a);}[a53i(0x1d8)](a){const o=a53i,b=this[o(0x1f1)]['get'](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0x1e7)][o(0x1da)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a53i(0x205)](a){const p=a53i;this['inventory']['addItem'](a),this['logger'][p(0x1da)](p(0x1dc)+this[p(0x1ee)]+':\x20'+a[p(0x1ee)]);}[a53i(0x1f9)](a){const q=a53i;this[q(0x1e0)][q(0x209)](a['name'])?(this[q(0x1e0)][q(0x1f9)](a[q(0x1ee)]),this[q(0x1e7)][q(0x1da)]('Item\x20removed\x20from\x20room\x20'+this[q(0x1ee)]+':\x20'+a[q(0x1ee)])):this[q(0x1e7)]['write'](q(0x1fc)+this[q(0x1ee)]+':\x20'+a[q(0x1ee)]);}[a53i(0x1e8)](a){const r=a53i;this[r(0x207)]=a,this[r(0x1e7)][r(0x1da)]('Puzzle\x20set\x20for\x20room\x20'+this[r(0x1ee)]+':\x20'+a[r(0x1f7)]);}['getOppositeDirection'](a){const s=a53i;switch(a){case s(0x1ea):return Direction[s(0x1e4)];case s(0x1f4):return Direction['NORTH'];case s(0x1fb):return Direction['WEST'];case'west':return Direction[s(0x20b)];case'up':return Direction[s(0x1fd)];case s(0x20c):return Direction['UP'];default:throw new Error(s(0x1ef)+a);}}[a53i(0x1f2)](a){const t=a53i;for(const b of this[t(0x1f1)][t(0x1d9)]()){if(b instanceof Door){if(b['roomA']===this&&b[t(0x1de)]===a||b[t(0x1de)]===this&&b['roomA']===a)return b;}}return undefined;}}function a53c(){const u=['attemptUnlockExit','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','1471880CNxdQj','SOUTH','\x20unlocked!','Fetching\x20exit\x20in\x20direction:\x20','logger','setPuzzle','32432mHBwUG','north','Room\x20created:\x20','1224assKBU','say','name','Invalid\x20direction:\x20','31670OWNPEV','exits','findExistingDoor','INSIDE','south','getExit','description','riddle','500187XcnMEc','removeItem','16rpocvi','east','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','DOWN','getInstance','1678496siuIEA','(((.+)+)+)+$','The\x20','set','addExit','search','addItem','isStartRoom','puzzle','speak','hasItem','apply','EAST','down','toString','1544376XtwCAS','66QYFDSD','No\x20locked\x20exit\x20found\x20in\x20direction\x20','isExitLocked','values','write','get','Item\x20added\x20to\x20room\x20','attemptUnlock','roomB','75817xYHggJ','inventory'];a53c=function(){return u;};return a53c();}
@@ -1 +1 @@
1
- const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x17c))/0x1*(parseInt(i(0x188))/0x2)+parseInt(i(0x170))/0x3*(-parseInt(i(0x152))/0x4)+-parseInt(i(0x154))/0x5+-parseInt(i(0x15a))/0x6*(parseInt(i(0x151))/0x7)+parseInt(i(0x177))/0x8*(-parseInt(i(0x167))/0x9)+parseInt(i(0x145))/0xa+-parseInt(i(0x146))/0xb*(-parseInt(i(0x18f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xb8d82));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x174)]()[k(0x192)](k(0x16c))[k(0x174)]()[k(0x14d)](a54a)['search'](k(0x16c));});a54a();function a54c(){const D=['Failed\x20to\x20add\x20item\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','length','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','2661912FdGEOj','addPuzzleToRoom','Added\x20room\x20to\x20scene:\x20','allActors','keys','(((.+)+)+)+$','getRooms','\x20not\x20found\x20in\x20scene.','Failed\x20to\x20add\x20puzzle.\x20Room\x20','61851rmwpCs','getActor','join','addItemToRoom','toString','generateRoomsFromConfig','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','32GKyorg','\x20already\x20exists\x20in\x20the\x20scene.','name','values','logger','127WNPCHL','\x20to\x20room\x20','\x20found\x20in\x20the\x20scene.','roomFactory','removeActor','toUpperCase','rooms','Added\x20puzzle\x20to\x20room\x20','\x20is\x20now\x20in\x20room\x20','write','isStartRoom','hasOwnProperty','14222wjUXZq','connectRooms','\x27s\x20location.\x20Room\x20','Failed\x20to\x20set\x20','get','Room\x20\x22','removeRoom','27192UFcYFo','characterLocations','has','search','14744790dfVMje','14509RxIUuZ','Added\x20item\x20','actors','set','getCharacterLocation','apply','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','constructor','addExit','Removed\x20room\x20from\x20scene:\x20','No\x20actor\x20with\x20name\x20','1393WxiJXm','24pKhrCG','addItem','6575255lHlKTu','\x22\x20does\x20not\x20exist.','createRoom','getInstance','roomConfiguration','.\x20Room\x20','5466CztZTM','player','Scene\x20initialized\x20with\x20rooms:\x20','currentLocation','setCharacterLocation','targetRoom','setPuzzle','addActor','addRoom'];a54c=function(){return D;};return a54c();}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x145;let f=c[d];return f;},a54d(a,b);}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x182)];[a54l(0x15b)];[a54l(0x17b)];[a54l(0x148)];[a54l(0x190)]=new Map();[a54l(0x17f)];constructor(a){const m=a54l;super(),this[m(0x17f)]=new RoomFactory(),this[m(0x15b)]=a['player'],this[m(0x182)]=this[m(0x175)](a[m(0x158)]),this['logger']=Logger[m(0x157)](),this[m(0x148)]=new Map(),this['createExitsFromConfig'](a[m(0x158)]),this[m(0x17b)][m(0x185)](m(0x15c)+Object[m(0x16b)](this[m(0x182)])[m(0x172)](',\x20'));}['initialize'](){const n=a54l;this[n(0x15b)][n(0x15d)]=this['determineStartRoom']();}[a54l(0x175)](a){const o=a54l;if(!this[o(0x17f)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[o(0x17f)][o(0x156)](c);b[c[o(0x179)]]=d;}return b;}['createExitsFromConfig'](a){const p=a54l;for(const b of a){const c=this['rooms'][b[p(0x179)]];if(b['exits'])for(const d of b['exits']){const e=d['direction'][p(0x181)](),f=d[p(0x15f)],g=d['keyRequired'],h=this[p(0x182)][f];h&&c[p(0x14e)](Direction[e],h,g);}}}[a54l(0x161)](a){const q=a54l;if(this['actors'][q(0x191)](a[q(0x179)]))throw new Error('Actor\x20with\x20name\x20'+a[q(0x179)]+q(0x178));this[q(0x148)]['set'](a[q(0x179)],a);}[a54l(0x180)](a){const r=a54l;if(!this['actors']['has'](a))throw new Error(r(0x150)+a+r(0x17e));this[r(0x148)]['delete'](a);}[a54l(0x171)](a){const s=a54l;return this[s(0x148)]['get'](a);}get[a54l(0x16a)](){const t=a54l;return Array['from'](this[t(0x148)][t(0x17a)]());}[a54l(0x162)](a){const u=a54l;this['rooms'][a[u(0x179)]]=a,this[u(0x17b)]['write'](u(0x169)+a[u(0x179)]);}[a54l(0x18e)](a){const v=a54l;return this[v(0x182)][a]?(delete this[v(0x182)][a],this[v(0x17b)][v(0x185)](v(0x14f)+a),!![]):(this['logger'][v(0x185)](v(0x14c)+a),![]);}[a54l(0x173)](a,b){const w=a54l,c=this[w(0x182)][b];c?(c[w(0x153)](a),this[w(0x17b)][w(0x185)](w(0x147)+a[w(0x179)]+w(0x17d)+c['name'])):this['logger'][w(0x185)](w(0x163)+a[w(0x179)]+w(0x159)+b+w(0x16e));}[a54l(0x168)](a,b){const x=a54l,c=this[x(0x182)][b];c?(c[x(0x160)](a),this[x(0x17b)][x(0x185)](x(0x183)+c['name'])):this[x(0x17b)][x(0x185)](x(0x16f)+b+x(0x16e));}[a54l(0x15e)](a,b){const y=a54l,c=this[y(0x182)][b];c?(this['characterLocations'][y(0x149)](a[y(0x179)],c),this[y(0x17b)][y(0x185)](a['name']+y(0x184)+c['name'])):this[y(0x17b)][y(0x185)](y(0x18b)+a['name']+y(0x18a)+b+y(0x16e));}[a54l(0x14a)](a){const z=a54l;return this['characterLocations'][z(0x18c)](a['name']);}['determineStartRoom'](){const A=a54l,a=[];for(const c in this[A(0x182)]){if(this[A(0x182)][A(0x187)](c)){const d=this[A(0x182)][c];d[A(0x186)]&&a['push'](d);}}if(a[A(0x165)]>0x1)throw new Error(A(0x176));if(a['length']===0x1)return a[0x0];const b=Object[A(0x16b)](this[A(0x182)]);if(b['length']===0x0)throw new Error(A(0x166));return console['warn'](A(0x164)),this[A(0x182)][b[0x0]];}['getPlayer'](){return this['player'];}[a54l(0x16d)](){const B=a54l;return this[B(0x182)];}[a54l(0x189)](a,b,c,d){const C=a54l,e=this['rooms'][a],f=this[C(0x182)][c];if(!e)throw new Error(C(0x18d)+a+C(0x155));if(!f)throw new Error('Room\x20\x22'+c+C(0x155));e[C(0x14e)](b,f,d);}}
1
+ function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a54d(a,b);}const a54k=a54d;function a54c(){const D=['roomConfiguration','roomFactory','12164hlikZV','Failed\x20to\x20add\x20puzzle.\x20Room\x20','name','direction','allActors','setCharacterLocation','constructor','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','addItemToRoom','determineStartRoom','addPuzzleToRoom','Added\x20item\x20','logger','join','Removed\x20room\x20from\x20scene:\x20','No\x20actor\x20with\x20name\x20','addActor','isStartRoom','connectRooms','search','removeActor','\x20found\x20in\x20the\x20scene.','3449922AwrdhK','rooms','getActor','(((.+)+)+)+$','createExitsFromConfig','player','Actor\x20with\x20name\x20','toString','getInstance','write','characterLocations','push','\x27s\x20location.\x20Room\x20','exits','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','getRooms','addRoom','215rGWWtC','\x20is\x20now\x20in\x20room\x20','Added\x20puzzle\x20to\x20room\x20','set','Added\x20room\x20to\x20scene:\x20','get','107834JcskgI','\x22\x20does\x20not\x20exist.','170432PvbmIz','\x20not\x20found\x20in\x20scene.','Failed\x20to\x20add\x20item\x20','values','addItem','107634NSuEMR','keys','targetRoom','warn','keyRequired','591443oVstcI','setPuzzle','\x20already\x20exists\x20in\x20the\x20scene.','113418TznIUk','toUpperCase','length','has','generateRoomsFromConfig','from','addExit','102ONACeJ','Scene\x20initialized\x20with\x20rooms:\x20','actors'];a54c=function(){return D;};return a54c();}(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x1f3))/0x1+-parseInt(i(0x1e7))/0x2+-parseInt(i(0x1fd))/0x3*(parseInt(i(0x202))/0x4)+-parseInt(i(0x1e1))/0x5*(-parseInt(i(0x1ee))/0x6)+parseInt(i(0x1d0))/0x7+parseInt(i(0x1e9))/0x8+parseInt(i(0x1f6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x861ff));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(0x1d7)]()[j(0x1cd)](j(0x1d3))[j(0x1d7)]()[j(0x208)](a54a)[j(0x1cd)]('(((.+)+)+)+$');});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54k(0x1d1)];['player'];[a54k(0x1c6)];['actors'];[a54k(0x1da)]=new Map();['roomFactory'];constructor(a){const l=a54k;super(),this[l(0x201)]=new RoomFactory(),this[l(0x1d5)]=a['player'],this['rooms']=this[l(0x1fa)](a[l(0x200)]),this[l(0x1c6)]=Logger[l(0x1d8)](),this[l(0x1ff)]=new Map(),this[l(0x1d4)](a[l(0x200)]),this['logger'][l(0x1d9)](l(0x1fe)+Object[l(0x1ef)](this[l(0x1d1)])[l(0x1c7)](',\x20'));}['initialize'](){const m=a54k;this[m(0x1d5)]['currentLocation']=this['determineStartRoom']();}[a54k(0x1fa)](a){const n=a54k;if(!this[n(0x201)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this['roomFactory']['createRoom'](c);b[c[n(0x204)]]=d;}return b;}[a54k(0x1d4)](a){const o=a54k;for(const b of a){const c=this[o(0x1d1)][b[o(0x204)]];if(b['exits'])for(const d of b[o(0x1dd)]){const e=d[o(0x205)][o(0x1f7)](),f=d[o(0x1f0)],g=d[o(0x1f2)],h=this['rooms'][f];h&&c[o(0x1fc)](Direction[e],h,g);}}}[a54k(0x1ca)](a){const p=a54k;if(this['actors'][p(0x1f9)](a[p(0x204)]))throw new Error(p(0x1d6)+a[p(0x204)]+p(0x1f5));this[p(0x1ff)][p(0x1e4)](a[p(0x204)],a);}[a54k(0x1ce)](a){const q=a54k;if(!this['actors'][q(0x1f9)](a))throw new Error(q(0x1c9)+a+q(0x1cf));this['actors']['delete'](a);}[a54k(0x1d2)](a){const r=a54k;return this['actors'][r(0x1e6)](a);}get[a54k(0x206)](){const s=a54k;return Array[s(0x1fb)](this[s(0x1ff)][s(0x1ec)]());}[a54k(0x1e0)](a){const t=a54k;this[t(0x1d1)][a['name']]=a,this[t(0x1c6)][t(0x1d9)](t(0x1e5)+a[t(0x204)]);}['removeRoom'](a){const u=a54k;return this[u(0x1d1)][a]?(delete this['rooms'][a],this[u(0x1c6)][u(0x1d9)](u(0x1c8)+a),!![]):(this[u(0x1c6)]['write'](u(0x1de)+a),![]);}[a54k(0x1c2)](a,b){const v=a54k,c=this['rooms'][b];c?(c[v(0x1ed)](a),this[v(0x1c6)][v(0x1d9)](v(0x1c5)+a['name']+'\x20to\x20room\x20'+c[v(0x204)])):this[v(0x1c6)]['write'](v(0x1eb)+a['name']+'.\x20Room\x20'+b+v(0x1ea));}[a54k(0x1c4)](a,b){const w=a54k,c=this[w(0x1d1)][b];c?(c[w(0x1f4)](a),this['logger'][w(0x1d9)](w(0x1e3)+c[w(0x204)])):this[w(0x1c6)][w(0x1d9)](w(0x203)+b+w(0x1ea));}[a54k(0x207)](a,b){const x=a54k,c=this[x(0x1d1)][b];c?(this[x(0x1da)]['set'](a[x(0x204)],c),this[x(0x1c6)][x(0x1d9)](a[x(0x204)]+x(0x1e2)+c['name'])):this[x(0x1c6)][x(0x1d9)]('Failed\x20to\x20set\x20'+a[x(0x204)]+x(0x1dc)+b+x(0x1ea));}['getCharacterLocation'](a){const y=a54k;return this['characterLocations'][y(0x1e6)](a[y(0x204)]);}[a54k(0x1c3)](){const z=a54k,a=[];for(const c in this[z(0x1d1)]){if(this[z(0x1d1)]['hasOwnProperty'](c)){const d=this[z(0x1d1)][c];d[z(0x1cb)]&&a[z(0x1db)](d);}}if(a[z(0x1f8)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[z(0x1f8)]===0x1)return a[0x0];const b=Object[z(0x1ef)](this[z(0x1d1)]);if(b[z(0x1f8)]===0x0)throw new Error(z(0x209));return console[z(0x1f1)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[z(0x1d1)][b[0x0]];}['getPlayer'](){const A=a54k;return this[A(0x1d5)];}[a54k(0x1df)](){const B=a54k;return this[B(0x1d1)];}[a54k(0x1cc)](a,b,c,d){const C=a54k,e=this[C(0x1d1)][a],f=this['rooms'][c];if(!e)throw new Error('Room\x20\x22'+a+C(0x1e8));if(!f)throw new Error('Room\x20\x22'+c+C(0x1e8));e[C(0x1fc)](b,f,d);}}
@@ -1 +1 @@
1
- function a55c(){var E=['Small','publishDate','name','Metallic','pageCount','Unknown','1829745jENGmj','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','toString','BodyArmor','Common','Sniper\x20Rifle','10455344LDgjGM','Circle','1399134ZxGWKl','Yellow','Large','Grey','Gold','(((.+)+)+)+$','Weapon','Blade','A\x20mysterious\x20book.','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','4308717YgiOEv','Rectangle','57721epDGom','327244GrCgtE','apply','137202gnGrKj','use','Boots','search','3aFwKaS','Rare','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','constructor','You\x20hold\x20the\x20','Medium','author','Smooth','Cup','ArmArmor','Rifle','Holy\x20Grail','Brown'];a55c=function(){return E;};return a55c();}var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x157))/0x1+parseInt(f(0x17b))/0x2+-parseInt(f(0x15e))/0x3*(parseInt(f(0x158))/0x4)+parseInt(f(0x172))/0x5+parseInt(f(0x15a))/0x6+parseInt(f(0x155))/0x7+-parseInt(f(0x179))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x5b0aa));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x175)]()[h(0x15d)](h(0x14e))[h(0x175)]()[h(0x162)](a55a)[h(0x15d)](h(0x14e));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x14b;var f=c[d];return f;},a55d(a,b);}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(0x171)],'shape':Shape[i(0x156)],'color':Color[i(0x17c)],'texture':Texture['Smooth'],'rating':Rating[i(0x177)],'weight':0x1});}[a55j(0x15b)](){return this['description'];}}export class Sword extends Item{constructor(a,b){var k=a55j;super({'name':a,'description':b,'size':Size[k(0x164)],'category':Category[k(0x14f)],'shape':Shape['Blade'],'color':Color[k(0x14c)],'texture':Texture[k(0x16f)],'rating':Rating[k(0x177)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[l(0x14f)],'shape':Shape['Rifle'],'color':Color['Brown'],'texture':Texture[l(0x16f)],'rating':Rating[l(0x15f)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0x164)],'category':Category['Helmet'],'shape':Shape['Circle'],'color':Color[m(0x14c)],'texture':Texture[m(0x16f)],'rating':Rating[m(0x177)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x14b)],'category':Category[n(0x176)],'shape':Shape[n(0x156)],'color':Color['Grey'],'texture':Texture[n(0x16f)],'rating':Rating[n(0x177)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['LegArmor'],'shape':Shape[o(0x156)],'color':Color[o(0x14c)],'texture':Texture[o(0x16f)],'rating':Rating[o(0x177)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0x164)],'category':Category[p(0x15c)],'shape':Shape[p(0x17a)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating[p(0x177)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x16c)],'category':Category['Gloves'],'shape':Shape[q(0x17a)],'color':Color[q(0x16b)],'texture':Texture[q(0x166)],'rating':Rating[q(0x177)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x164)],'category':Category[r(0x168)],'shape':Shape[r(0x156)],'color':Color[r(0x14c)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category['Key'],'shape':Shape[s(0x156)],'color':Color[s(0x17c)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x0});}[a55j(0x15b)](){var t=a55j;return t(0x174);}}export class Weapon extends Item{constructor(a,b){var u=a55j;super({'name':a,'description':b,'size':Size[u(0x164)],'category':Category[u(0x14f)],'shape':Shape[u(0x150)],'color':Color[u(0x14c)],'texture':Texture['Metallic'],'rating':Rating[u(0x177)],'weight':0x3});}[a55j(0x15b)](){var v=a55j;return v(0x154);}}export class Book extends Item{[a55j(0x165)];[a55j(0x16d)];[a55j(0x170)];constructor(a,b=a55j(0x151),c='Unknown\x20Author'){var w=a55j;super({'name':a,'description':b,'size':Size[w(0x164)],'category':Category['Book'],'shape':Shape[w(0x156)],'color':Color[w(0x16b)],'texture':Texture[w(0x166)],'rating':Rating[w(0x177)],'weight':0x1}),this['author']=c,this['publishDate']=new Date(),this['pageCount']=0x64;}[a55j(0x15b)](){var x=a55j;return x(0x161);}}export class ShortSword extends Item{constructor(){var y=a55j;super({'name':'Short\x20Sword','description':y(0x160),'size':Size[y(0x164)],'category':Category['Weapon'],'shape':Shape[y(0x150)],'color':Color[y(0x14c)],'texture':Texture['Metallic'],'rating':Rating[y(0x177)],'weight':0x3});}[a55j(0x15b)](){var z=a55j;return z(0x154);}}export class SniperRifle extends Item{constructor(){var A=a55j;super({'name':A(0x178),'description':A(0x173),'size':Size[A(0x14b)],'category':Category['Weapon'],'shape':Shape[A(0x169)],'color':Color['Brown'],'texture':Texture[A(0x166)],'rating':Rating[A(0x177)],'weight':0x5});}[a55j(0x15b)](){var B=a55j;return B(0x153);}}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':C(0x16a),'description':C(0x152),'size':Size[C(0x16c)],'category':Category[C(0x167)],'shape':Shape[C(0x17a)],'color':Color[C(0x14d)],'texture':Texture[C(0x16f)],'rating':Rating['Legendary'],'weight':0x1});}[a55j(0x15b)](){var D=a55j;return D(0x163)+this[D(0x16e)]+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x196))/0x1*(-parseInt(f(0x183))/0x2)+-parseInt(f(0x17e))/0x3+-parseInt(f(0x188))/0x4+parseInt(f(0x17d))/0x5*(parseInt(f(0x194))/0x6)+-parseInt(f(0x1a4))/0x7+parseInt(f(0x190))/0x8+parseInt(f(0x1a3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xdc267));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['toString']()['search']('(((.+)+)+)+$')['toString']()[g(0x19c)](a55a)[g(0x19b)](g(0x195));});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(0x181)],'category':Category[h(0x186)],'shape':Shape[h(0x197)],'color':Color[h(0x18c)],'texture':Texture[h(0x19e)],'rating':Rating[h(0x189)],'weight':0x1});}[a55i(0x191)](){var j=a55i;return this[j(0x18a)];}}export class Sword extends Item{constructor(a,b){var k=a55i;super({'name':a,'description':b,'size':Size[k(0x181)],'category':Category[k(0x1a0)],'shape':Shape[k(0x182)],'color':Color[k(0x175)],'texture':Texture[k(0x176)],'rating':Rating[k(0x189)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55i;super({'name':a,'description':b,'size':Size[l(0x184)],'category':Category[l(0x1a0)],'shape':Shape[l(0x185)],'color':Color[l(0x174)],'texture':Texture[l(0x176)],'rating':Rating[l(0x17c)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a55i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Helmet'],'shape':Shape[m(0x177)],'color':Color[m(0x175)],'texture':Texture[m(0x176)],'rating':Rating[m(0x189)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55i;super({'name':a,'description':b,'size':Size[n(0x184)],'category':Category['BodyArmor'],'shape':Shape['Rectangle'],'color':Color[n(0x175)],'texture':Texture[n(0x176)],'rating':Rating[n(0x189)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[o(0x1a1)],'shape':Shape['Rectangle'],'color':Color[o(0x175)],'texture':Texture[o(0x176)],'rating':Rating[o(0x189)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55i;super({'name':a,'description':b,'size':Size[p(0x181)],'category':Category[p(0x19a)],'shape':Shape[p(0x177)],'color':Color[p(0x174)],'texture':Texture['Smooth'],'rating':Rating[p(0x189)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55i;super({'name':a,'description':b,'size':Size[q(0x18b)],'category':Category[q(0x17a)],'shape':Shape[q(0x177)],'color':Color[q(0x174)],'texture':Texture['Smooth'],'rating':Rating[q(0x189)],'weight':0x1});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x172;var f=c[d];return f;},a55d(a,b);}export class Gauntlets extends Item{constructor(a,b){var r=a55i;super({'name':a,'description':b,'size':Size[r(0x181)],'category':Category[r(0x19f)],'shape':Shape[r(0x197)],'color':Color[r(0x175)],'texture':Texture['Metallic'],'rating':Rating[r(0x189)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a55i;super({'name':a,'description':b,'size':Size[s(0x18e)],'category':Category[s(0x18f)],'shape':Shape[s(0x197)],'color':Color[s(0x18c)],'texture':Texture['Smooth'],'rating':Rating[s(0x189)],'weight':0x0});}[a55i(0x191)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var t=a55i;super({'name':a,'description':b,'size':Size[t(0x181)],'category':Category[t(0x1a0)],'shape':Shape[t(0x182)],'color':Color[t(0x175)],'texture':Texture[t(0x176)],'rating':Rating['Common'],'weight':0x3});}[a55i(0x191)](){var u=a55i;return u(0x198);}}function a55c(){var C=['Weapon','LegArmor','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','46887453SqRpXx','8778469ZlkhlC','Holy\x20Grail','Cup','Brown','Grey','Metallic','Circle','You\x20hold\x20the\x20','author','Gloves','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Rare','2398495FGhcBd','3475989vBgwjJ','Legendary','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Medium','Blade','3766KyOKfk','Large','Rifle','Unknown','\x20aloft,\x20feeling\x20its\x20immense\x20power.','6951404yKcRvv','Common','description','Small','Yellow','publishDate','Tiny','Key','7210488AEoYHP','use','Unknown\x20Author','pageCount','6gQycoc','(((.+)+)+)+$','817gGTzJj','Rectangle','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Boots','search','constructor','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Smooth','ArmArmor'];a55c=function(){return C;};return a55c();}export class Book extends Item{[a55i(0x179)];['publishDate'];[a55i(0x193)];constructor(a,b='A\x20mysterious\x20book.',c=a55i(0x192)){var v=a55i;super({'name':a,'description':b,'size':Size[v(0x181)],'category':Category['Book'],'shape':Shape[v(0x197)],'color':Color['Brown'],'texture':Texture[v(0x19e)],'rating':Rating['Common'],'weight':0x1}),this[v(0x179)]=c,this[v(0x18d)]=new Date(),this[v(0x193)]=0x64;}[a55i(0x191)](){var w=a55i;return w(0x17b);}}export class ShortSword extends Item{constructor(){var x=a55i;super({'name':'Short\x20Sword','description':x(0x1a2),'size':Size[x(0x181)],'category':Category[x(0x1a0)],'shape':Shape[x(0x182)],'color':Color['Grey'],'texture':Texture[x(0x176)],'rating':Rating[x(0x189)],'weight':0x3});}['use'](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var y=a55i;super({'name':'Sniper\x20Rifle','description':y(0x19d),'size':Size[y(0x184)],'category':Category['Weapon'],'shape':Shape[y(0x185)],'color':Color['Brown'],'texture':Texture[y(0x19e)],'rating':Rating[y(0x189)],'weight':0x5});}[a55i(0x191)](){var z=a55i;return z(0x180);}}export class HolyGrail extends Item{constructor(){var A=a55i;super({'name':A(0x172),'description':A(0x199),'size':Size[A(0x18b)],'category':Category[A(0x173)],'shape':Shape[A(0x177)],'color':Color['Gold'],'texture':Texture['Metallic'],'rating':Rating[A(0x17f)],'weight':0x1});}[a55i(0x191)](){var B=a55i;return B(0x178)+this['name']+B(0x187);}}