@maka/maka-cli 4.5.29 → 4.5.30

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 (132) 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/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/build/_index.js +1 -1
  19. package/bundle/obf/src/commands/build/build.js +1 -1
  20. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/create.js +1 -1
  22. package/bundle/obf/src/commands/debug.js +1 -1
  23. package/bundle/obf/src/commands/deploy.js +1 -1
  24. package/bundle/obf/src/commands/game/_index.js +1 -1
  25. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/play.command.js +1 -1
  27. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  62. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/generate.js +1 -1
  65. package/bundle/obf/src/commands/get/_index.js +1 -1
  66. package/bundle/obf/src/commands/get/get.command.js +1 -1
  67. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/help.js +1 -1
  71. package/bundle/obf/src/commands/jsdoc.js +1 -1
  72. package/bundle/obf/src/commands/lint.js +1 -1
  73. package/bundle/obf/src/commands/login.js +1 -1
  74. package/bundle/obf/src/commands/logout.js +1 -1
  75. package/bundle/obf/src/commands/logs.js +1 -1
  76. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  77. package/bundle/obf/src/commands/murder.js +1 -1
  78. package/bundle/obf/src/commands/proxy.js +1 -1
  79. package/bundle/obf/src/commands/reconfig.js +1 -1
  80. package/bundle/obf/src/commands/run/_index.js +1 -1
  81. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  82. package/bundle/obf/src/commands/run/run.command.js +1 -1
  83. package/bundle/obf/src/commands/set/_index.js +1 -1
  84. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  85. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  86. package/bundle/obf/src/commands/set/set.command.js +1 -1
  87. package/bundle/obf/src/commands/ssh.js +1 -1
  88. package/bundle/obf/src/commands/ssl.js +1 -1
  89. package/bundle/obf/src/commands/test.js +1 -1
  90. package/bundle/obf/src/commands/version.js +1 -1
  91. package/bundle/obf/src/error.js +1 -1
  92. package/bundle/obf/src/exec.js +1 -1
  93. package/bundle/obf/src/generator.js +1 -1
  94. package/bundle/obf/src/generators/_index.js +1 -1
  95. package/bundle/obf/src/generators/api.js +1 -1
  96. package/bundle/obf/src/generators/collection.js +1 -1
  97. package/bundle/obf/src/generators/component.js +1 -1
  98. package/bundle/obf/src/generators/config.js +1 -1
  99. package/bundle/obf/src/generators/dbc.js +1 -1
  100. package/bundle/obf/src/generators/dockerfile.js +1 -1
  101. package/bundle/obf/src/generators/hook.js +1 -1
  102. package/bundle/obf/src/generators/kit.js +1 -1
  103. package/bundle/obf/src/generators/layout.js +1 -1
  104. package/bundle/obf/src/generators/maka.gen.js +1 -1
  105. package/bundle/obf/src/generators/methods.js +1 -1
  106. package/bundle/obf/src/generators/package.js +1 -1
  107. package/bundle/obf/src/generators/page.js +1 -1
  108. package/bundle/obf/src/generators/publish.js +1 -1
  109. package/bundle/obf/src/generators/route.js +1 -1
  110. package/bundle/obf/src/generators/service.js +1 -1
  111. package/bundle/obf/src/generators/services/_index.js +1 -1
  112. package/bundle/obf/src/generators/services/openssl.js +1 -1
  113. package/bundle/obf/src/generators/services/translation.js +1 -1
  114. package/bundle/obf/src/maka.js +1 -1
  115. package/bundle/obf/src/tool.js +1 -1
  116. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  117. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  118. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  119. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  120. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  121. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  122. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  123. package/bundle/obf/src/tools/https/https.class.js +1 -1
  124. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  125. package/bundle/obf/src/tools/log/log.class.js +1 -1
  126. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  127. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  128. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  129. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  130. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  131. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  132. package/package.json +1 -1
@@ -1 +1 @@
1
- const a36h=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d=-parseInt(f(0xb8))/0x1+-parseInt(f(0xad))/0x2*(parseInt(f(0xbc))/0x3)+-parseInt(f(0xc2))/0x4*(parseInt(f(0xab))/0x5)+-parseInt(f(0xbd))/0x6*(parseInt(f(0xc0))/0x7)+-parseInt(f(0xb9))/0x8*(-parseInt(f(0xc1))/0x9)+parseInt(f(0xbf))/0xa*(-parseInt(f(0xba))/0xb)+parseInt(f(0xb0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x65698));function a36c(){const j=['execute','toLowerCase','314900drybhr','720jyvrIx','847AoqooS','unqeuip','3qYIrkY','3058854djTvuH','UnequipCommand:\x20','76280SLXLad','7NlHfOs','29133SFBEuc','12GglhBP','378955YNZqSk','toString','1053304TbxnwX','(((.+)+)+)+$','logger','27481728evblfN','Unequip\x20an\x20item.','description','constructor','actor','search'];a36c=function(){return j;};return a36c();}const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const g=a36d;return a36a['toString']()['search']('(((.+)+)+)+$')[g(0xac)]()[g(0xb3)](a36a)[g(0xb5)](g(0xae));});a36a();function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xab;let f=c[d];return f;},a36d(a,b);}import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a36h(0xbb);static [a36h(0xb2)]=a36h(0xb1);[a36h(0xb6)](a){const i=a36h,b=a['join']('\x20')[i(0xb7)](),c=this[i(0xb4)]['unequip'](b);return this[i(0xaf)]['write'](i(0xbe)+this[i(0xb4)]['name']+'\x20unqeuiped\x20'+c),c;}}
1
+ function a36c(){const j=['description','toLowerCase','3807171VsVZUb','1104808LMwauv','actor','unequip','6sVgpry','search','toString','execute','2816310aTIlZH','280dwuGqj','7ZmobaR','55374oaRqSx','(((.+)+)+)+$','\x20unqeuiped\x20','696268wBimdU','logger','join','verb','323055xXQARm','write','1301528NBzIBG'];a36c=function(){return j;};return a36c();}const a36h=a36d;(function(a,b){const f=a36d,c=a();while(!![]){try{const d=parseInt(f(0x1b7))/0x1+-parseInt(f(0x1b3))/0x2+parseInt(f(0x1c0))/0x3*(parseInt(f(0x1bd))/0x4)+parseInt(f(0x1ae))/0x5*(parseInt(f(0x1b0))/0x6)+-parseInt(f(0x1af))/0x7*(-parseInt(f(0x1b9))/0x8)+-parseInt(f(0x1bc))/0x9+-parseInt(f(0x1ad))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x7a9ae));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const g=a36d;return a36a['toString']()[g(0x1c1)](g(0x1b1))[g(0x1ab)]()['constructor'](a36a)['search'](g(0x1b1));});a36a();import{Command}from'./command.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a36d(a,b);}export class UnequipCommand extends Command{static [a36h(0x1b6)]='unqeuip';static [a36h(0x1ba)]='Unequip\x20an\x20item.';[a36h(0x1ac)](a){const i=a36h,b=a[i(0x1b5)]('\x20')[i(0x1bb)](),c=this[i(0x1be)][i(0x1bf)](b);return this[i(0x1b4)][i(0x1b8)]('UnequipCommand:\x20'+this[i(0x1be)]['name']+i(0x1b2)+c),c;}}
@@ -1 +1 @@
1
- const a37j=a37d;(function(a,b){const h=a37d,c=a();while(!![]){try{const d=parseInt(h(0x11c))/0x1+-parseInt(h(0x116))/0x2*(parseInt(h(0x133))/0x3)+-parseInt(h(0x12a))/0x4+parseInt(h(0x122))/0x5+parseInt(h(0x12d))/0x6+parseInt(h(0x11d))/0x7+-parseInt(h(0x130))/0x8*(-parseInt(h(0x117))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x56e79));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const i=a37d;return a37a[i(0x123)]()['search'](i(0x121))[i(0x123)]()[i(0x11e)](a37a)['search'](i(0x121));});function a37c(){const m=['get','UnlockCommand:\x20No\x20target\x20specified.','There\x27s\x20no\x20door\x20named\x20\x22','28486Xteeah','9yMEGtk','Unlock\x20a\x20door.','unlock','currentLocation','UnlockCommand:\x20','76740rEjVAV','785785JsUARI','constructor','\x22\x20here.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','(((.+)+)+)+$','3244305oUJzaF','toString','verb','execute','inventory','unlockItemOrSolution','actor','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','2742472JYyEBg','hasItem','toLowerCase','891078kAMVop','write','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','2948448WyOGGx','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','exits','66EnBJAL','logger','name','isValidDirection'];a37c=function(){return m;};return a37c();}a37a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x116;let f=c[d];return f;},a37d(a,b);}export class UnlockCommand extends Command{static [a37j(0x124)]='unlock';static ['description']=a37j(0x118);[a37j(0x125)](a){const k=a37j;return this[k(0x119)](a);}[a37j(0x119)](a){const l=a37j;if(a['length']===0x0)return this[l(0x134)]['error'](l(0x138)),l(0x129);const b=a[0x0][l(0x12c)](),c=this[l(0x128)][l(0x11a)];if(this[l(0x136)](b)&&c['exits']['has'](b)){const d=c[l(0x132)][l(0x137)](b);if(d instanceof Door){const e=d[l(0x127)]?.[l(0x12c)]();if(e&&this[l(0x128)][l(0x126)][l(0x12b)](e)){const f=this[l(0x128)]['inventory']['getItem'](e);if(f){const g=c['attemptUnlockExit'](b,f['name']);return this[l(0x134)][l(0x12e)]('UnlockCommand:\x20'+this[l(0x128)]['name']+'\x20is\x20attempted\x20to\x20unlock\x20'+b+'.\x20Result:\x20'+g),g;}}return this[l(0x134)]['write'](l(0x11b)+this[l(0x128)]['name']+l(0x131)+b+'.'),l(0x12f);}else return this[l(0x134)]['write'](l(0x11b)+b+l(0x120)+c[l(0x135)]+'.'),l(0x139)+b+l(0x11f);}else return this[l(0x134)][l(0x12e)]('UnlockCommand:\x20'+b+l(0x120)+c['name']+'.'),l(0x139)+b+l(0x11f);}}
1
+ const a37j=a37d;(function(a,b){const h=a37d,c=a();while(!![]){try{const d=parseInt(h(0x1e7))/0x1+parseInt(h(0x1ec))/0x2+-parseInt(h(0x1f2))/0x3*(parseInt(h(0x1eb))/0x4)+parseInt(h(0x1fc))/0x5*(-parseInt(h(0x1e3))/0x6)+-parseInt(h(0x1e2))/0x7*(parseInt(h(0x1da))/0x8)+-parseInt(h(0x1e5))/0x9+parseInt(h(0x1f0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xb9fc6));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const i=a37d;return a37a[i(0x1d9)]()[i(0x1ef)](i(0x1d8))[i(0x1d9)]()[i(0x1ee)](a37a)[i(0x1ef)]('(((.+)+)+)+$');});a37a();import{Door}from'../models/door.js';function a37c(){const m=['verb','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','Unlock\x20a\x20door.','actor','toLowerCase','UnlockCommand:\x20No\x20target\x20specified.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','21434JXeiXe','108pzfCmV','logger','9920664QZGYdy','unlock','737154qEMzRK','inventory','exits','hasItem','128retHYu','2209056kjFXhy','length','constructor','search','18015140jnwYTE','name','5001pqGBbv','UnlockCommand:\x20','\x20is\x20attempted\x20to\x20unlock\x20','.\x20Result:\x20','\x22\x20here.','execute','write','description','get','getItem','192740Aeolgu','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','error','currentLocation','There\x27s\x20no\x20door\x20named\x20\x22','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','(((.+)+)+)+$','toString','2696WBoMPw'];a37c=function(){return m;};return a37c();}import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a37d(a,b);}export class UnlockCommand extends Command{static [a37j(0x1db)]=a37j(0x1e6);static [a37j(0x1f9)]=a37j(0x1dd);[a37j(0x1f7)](a){const k=a37j;return this[k(0x1e6)](a);}[a37j(0x1e6)](a){const l=a37j;if(a[l(0x1ed)]===0x0)return this[l(0x1e4)][l(0x1d4)](l(0x1e0)),l(0x1d7);const b=a[0x0][l(0x1df)](),c=this['actor'][l(0x1d5)];if(this['isValidDirection'](b)&&c[l(0x1e9)]['has'](b)){const d=c[l(0x1e9)][l(0x1fa)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[l(0x1df)]();if(e&&this['actor'][l(0x1e8)][l(0x1ea)](e)){const f=this[l(0x1de)][l(0x1e8)][l(0x1fb)](e);if(f){const g=c['attemptUnlockExit'](b,f[l(0x1f1)]);return this[l(0x1e4)]['write'](l(0x1f3)+this['actor'][l(0x1f1)]+l(0x1f4)+b+l(0x1f5)+g),g;}}return this[l(0x1e4)][l(0x1f8)](l(0x1f3)+this[l(0x1de)]['name']+l(0x1fd)+b+'.'),l(0x1dc);}else return this[l(0x1e4)][l(0x1f8)](l(0x1f3)+b+l(0x1e1)+c[l(0x1f1)]+'.'),l(0x1d6)+b+l(0x1f6);}else return this['logger'][l(0x1f8)](l(0x1f3)+b+l(0x1e1)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0x1f6);}}
@@ -1 +1 @@
1
- const a38i=a38d;function a38c(){const k=['4970520DXCdLv','actor','logger','176024VdcciY','Use\x20an\x20item.','279cHVBPW','5719420grcKpQ','inventory','\x20to\x20use.','44yApXSS','You\x20can\x27t\x20use\x20the\x20','toString','100aVkvJk','getItem','\x20in\x20this\x20way.','148aTTMmM','626351NZOHzs','You\x20don\x27t\x20have\x20the\x20','UseCommand:\x20','\x20doesn\x27t\x20have\x20a\x20use\x20method.','953lADOAe','write','search','(((.+)+)+)+$','\x20attempted\x20to\x20use\x20','name','function','apply','constructor','description','\x27s\x20inventory.',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','execute','hasItem','use','2431203hzmwCS','toLowerCase','360285FbSAKo','\x20used\x20'];a38c=function(){return k;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x177;let f=c[d];return f;},a38d(a,b);}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x196))/0x1*(-parseInt(f(0x191))/0x2)+parseInt(f(0x17e))/0x3+-parseInt(f(0x18b))/0x4*(-parseInt(f(0x180))/0x5)+parseInt(f(0x182))/0x6+-parseInt(f(0x188))/0x7+-parseInt(f(0x185))/0x8*(parseInt(f(0x187))/0x9)+parseInt(f(0x18e))/0xa*(-parseInt(f(0x192))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x69cff));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x19d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x18d)]()[h(0x198)](h(0x199))['toString']()[h(0x177)](a38a)[h(0x198)]('(((.+)+)+)+$');});a38a();import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a38i(0x17d);static [a38i(0x178)]=a38i(0x186);[a38i(0x17b)](a){return this['use'](a);}[a38i(0x17d)](a){const j=a38i,b=a['join']('\x20')[j(0x17f)]();if(!this[j(0x183)][j(0x189)][j(0x17c)](b))return this[j(0x184)][j(0x197)](j(0x194)+this['actor'][j(0x19b)]+j(0x19a)+b+j(0x17a)),'You\x20don\x27t\x20have\x20the\x20'+b+j(0x18a);const c=this[j(0x183)][j(0x189)][j(0x18f)](b);if(!c)return this['logger'][j(0x197)](j(0x194)+b+'\x20not\x20retrieved\x20from\x20'+this[j(0x183)][j(0x19b)]+j(0x179)),j(0x193)+b+j(0x18a);if(typeof c[j(0x17d)]===j(0x19c)){const d=c[j(0x17d)]();return this['logger'][j(0x197)](j(0x194)+this['actor']['name']+j(0x181)+b+'.'),d;}else return this[j(0x184)][j(0x197)](j(0x194)+b+j(0x195)),j(0x18c)+b+j(0x190);}}
1
+ function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xe8;let f=c[d];return f;},a38d(a,b);}const a38h=a38d;function a38c(){const k=['1209160ErNoDW','You\x20don\x27t\x20have\x20the\x20','4qaTvHa','217478xiYCUd','(((.+)+)+)+$','66CiVeUm','\x20to\x20use.','UseCommand:\x20','getItem','You\x20can\x27t\x20use\x20the\x20','2048410KXmqZR','22qqkdhO','inventory','43479aEKioe','\x20used\x20','\x20doesn\x27t\x20have\x20a\x20use\x20method.','\x20attempted\x20to\x20use\x20','name','use','toString','Use\x20an\x20item.','join','hasItem','42796piiuLo','\x20in\x20this\x20way.','217263UhsJRC','logger','write','1BxBUsJ','toLowerCase','execute','2556UbuDSY','verb','actor','\x27s\x20inventory.',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','search','constructor','description','184UFhTMp','\x20not\x20retrieved\x20from\x20','3899uyCeDP'];a38c=function(){return k;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0xf7))/0x1*(-parseInt(f(0x108))/0x2)+-parseInt(f(0xf4))/0x3*(parseInt(f(0x107))/0x4)+parseInt(f(0x105))/0x5+parseInt(f(0x10a))/0x6*(parseInt(f(0x104))/0x7)+parseInt(f(0x102))/0x8*(-parseInt(f(0xe8))/0x9)+parseInt(f(0x10f))/0xa*(-parseInt(f(0x110))/0xb)+parseInt(f(0xfa))/0xc*(parseInt(f(0xf2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x3c5a0));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0xee)]()[g(0xff)](g(0x109))[g(0xee)]()[g(0x100)](a38a)[g(0xff)](g(0x109));});a38a();import{Command}from'./command.js';export class UseCommand extends Command{static [a38h(0xfb)]=a38h(0xed);static [a38h(0x101)]=a38h(0xef);[a38h(0xf9)](a){const i=a38h;return this[i(0xed)](a);}[a38h(0xed)](a){const j=a38h,b=a[j(0xf0)]('\x20')[j(0xf8)]();if(!this[j(0xfc)][j(0x111)][j(0xf1)](b))return this[j(0xf5)][j(0xf6)](j(0x10c)+this['actor'][j(0xec)]+j(0xeb)+b+j(0xfe)),j(0x106)+b+j(0x10b);const c=this[j(0xfc)]['inventory'][j(0x10d)](b);if(!c)return this[j(0xf5)][j(0xf6)](j(0x10c)+b+j(0x103)+this[j(0xfc)]['name']+j(0xfd)),j(0x106)+b+j(0x10b);if(typeof c[j(0xed)]==='function'){const d=c[j(0xed)]();return this[j(0xf5)][j(0xf6)](j(0x10c)+this['actor'][j(0xec)]+j(0xe9)+b+'.'),d;}else return this[j(0xf5)][j(0xf6)]('UseCommand:\x20'+b+j(0xea)),j(0x10e)+b+j(0xf3);}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x1bb))/0x1+parseInt(f(0x1b6))/0x2*(-parseInt(f(0x1b0))/0x3)+-parseInt(f(0x1b8))/0x4+-parseInt(f(0x1be))/0x5+parseInt(f(0x1c0))/0x6*(-parseInt(f(0x1b7))/0x7)+parseInt(f(0x1bf))/0x8+parseInt(f(0x1ba))/0x9*(parseInt(f(0x1b5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xb81f5));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x1b3)]()[h(0x1b1)](h(0x1c1))[h(0x1b3)]()[h(0x1b2)](a39a)[h(0x1b1)]('(((.+)+)+)+$');});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1b0;let f=c[d];return f;},a39d(a,b);}function a39c(){const l=['34458UHeqMc','(((.+)+)+)+$','93MjoDwa','search','constructor','toString','getAllRegisteredCommands','4758170mKyyCc','92662fHxuFS','875mdKrZl','1907012Eomkbw','commandMap','72uPCemC','12132YXhqQg','apply','registerCommand','3141755WKUzWM','1752008pMQnyh'];a39c=function(){return l;};return a39c();}export class CommandFactory{static ['commandMap']={};static[a39i(0x1bd)](a,b){this['commandMap'][a]=b;}static['createCommand'](a,b){const j=a39i,c=this[j(0x1b9)][a];if(c)return new c(b);return null;}static[a39i(0x1b4)](){const k=a39i;return this[k(0x1b9)];}}
1
+ const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x1d7))/0x1*(-parseInt(f(0x1e3))/0x2)+-parseInt(f(0x1d8))/0x3*(-parseInt(f(0x1e2))/0x4)+parseInt(f(0x1db))/0x5+parseInt(f(0x1df))/0x6+parseInt(f(0x1d9))/0x7*(parseInt(f(0x1e0))/0x8)+-parseInt(f(0x1e1))/0x9+parseInt(f(0x1dc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x6c394));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x1dd)]('(((.+)+)+)+$')[h(0x1de)]()[h(0x1d6)](a39a)['search']('(((.+)+)+)+$');});a39a();export class CommandFactory{static [a39i(0x1da)]={};static[a39i(0x1e4)](a,b){const j=a39i;this[j(0x1da)][a]=b;}static['createCommand'](a,b){const k=a39i,c=this[k(0x1da)][a];if(c)return new c(b);return null;}static[a39i(0x1e6)](){const l=a39i;return this[l(0x1da)];}}function a39c(){const m=['commandMap','1980860mqLjYJ','6992670npaYXC','search','toString','2948334ZRyDit','16QPJtRU','7871742Ppjnuz','28fVjWBS','1631166SNvyBS','registerCommand','apply','getAllRegisteredCommands','constructor','1tBNwsr','193299PVAjUu','334761nsotTu'];a39c=function(){return m;};return a39c();}
@@ -1 +1 @@
1
- const a40k=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x122))/0x1*(-parseInt(f(0x131))/0x2)+-parseInt(f(0x123))/0x3+parseInt(f(0x127))/0x4+-parseInt(f(0x11b))/0x5*(-parseInt(f(0x133))/0x6)+-parseInt(f(0x136))/0x7+parseInt(f(0x11f))/0x8*(parseInt(f(0x12a))/0x9)+parseInt(f(0x115))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xac6f2));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x12e)]()[h(0x12f)](h(0x13a))[h(0x12e)]()[h(0x134)](a40a)[h(0x12f)]('(((.+)+)+)+$');});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x115;let f=c[d];return f;},a40d(a,b);}a40a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a40c(){const o=['boots','1926saUymR','constructor','createPuzzle','6248039RfquOT','forEach','gauntlets','sword','(((.+)+)+)+$','helmet','18130460OviYio','toUpperCase','puzzle','addItem','name','inventory','3805obAkXb','description','rifle','gloves','330704dMeeJH','roomType','bodyarmor','44179bHboEP','2447271LYFXGh','legarmor','book','items','2009900OnhpZM','apply','INSIDE','180duhQFQ','setPuzzle','convertToRoomConfig','createItem','toString','search','rewardItem','44lTRQdc'];a40c=function(){return o;};return a40c();}export class RoomFactory{['createRoom'](a){const i=a40d,b=this[i(0x12c)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[i(0x126)][i(0x137)](e=>{const j=i;d[j(0x118)](this[j(0x12d)](e));}),c[i(0x11a)]=d;}return a[i(0x117)]&&c[i(0x12b)](this[i(0x135)](a[i(0x117)])),c;}[a40k(0x12d)](a){const l=a40k;switch(a['type']){case'key':return new Key(a[l(0x119)],a[l(0x11c)]);case l(0x125):return new Book(a['name'],a[l(0x11c)],a['content']);case l(0x139):return new Sword(a['name'],a[l(0x11c)]);case l(0x11d):return new Rifle(a['name'],a[l(0x11c)]);case l(0x13b):return new Helmet(a[l(0x119)],a[l(0x11c)]);case l(0x121):return new BodyArmor(a[l(0x119)],a[l(0x11c)]);case l(0x124):return new LegArmor(a[l(0x119)],a[l(0x11c)]);case l(0x132):return new Boots(a['name'],a[l(0x11c)]);case l(0x11e):return new Gloves(a[l(0x119)],a['description']);case l(0x138):return new Gauntlets(a['name'],a[l(0x11c)]);default:return new BasicItem(a['name'],a['description']);}}['createPuzzle'](a){const m=a40k,b=this['createItem'](a[m(0x130)]);return new Puzzle({...a,'rewardItem':b});}[a40k(0x12c)](a){const n=a40k,b=a[n(0x120)]&&RoomType[a[n(0x120)][n(0x116)]()]?RoomType[a[n(0x120)][n(0x116)]()]:RoomType[n(0x129)];return{'name':a[n(0x119)],'description':a[n(0x11c)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x115))/0x1*(-parseInt(f(0x121))/0x2)+parseInt(f(0x125))/0x3*(-parseInt(f(0x117))/0x4)+-parseInt(f(0x11e))/0x5*(parseInt(f(0x102))/0x6)+-parseInt(f(0x11d))/0x7*(parseInt(f(0x127))/0x8)+-parseInt(f(0x109))/0x9+-parseInt(f(0x108))/0xa*(parseInt(f(0x10d))/0xb)+parseInt(f(0x129))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x90c90));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x10f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x10a)]()['search']('(((.+)+)+)+$')[h(0x10a)]()['constructor'](a40a)[h(0x118)](h(0x10c));});a40a();function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x102;let f=c[d];return f;},a40d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a40c(){const o=['content','key','42KNyWKJ','name','rewardItem','boots','3nNNzEa','createRoom','4698712abmvrf','bodyarmor','50996340nXxxVO','setPuzzle','50016eRHUEy','convertToRoomConfig','INSIDE','sword','legarmor','createPuzzle','50090MgRnYD','7357860lppisn','toString','inventory','(((.+)+)+)+$','110bVFygv','toUpperCase','apply','createItem','description','items','roomType','helmet','44633rjTFuj','gloves','2308088wFzphL','search','book','addItem','isStartRoom','puzzle','14lyASYp','60jfiDgx'];a40c=function(){return o;};return a40c();}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a40i(0x126)](a){const j=a40i,b=this[j(0x103)](a),c=new Room(b);if(a[j(0x112)]){const d=new Inventory();a['items']['forEach'](e=>{const k=j;d[k(0x11a)](this[k(0x110)](e));}),c[j(0x10b)]=d;}return a[j(0x11c)]&&c[j(0x12a)](this[j(0x107)](a[j(0x11c)])),c;}[a40i(0x110)](a){const l=a40i;switch(a['type']){case l(0x120):return new Key(a[l(0x122)],a['description']);case l(0x119):return new Book(a[l(0x122)],a[l(0x111)],a[l(0x11f)]);case l(0x105):return new Sword(a['name'],a[l(0x111)]);case'rifle':return new Rifle(a[l(0x122)],a[l(0x111)]);case l(0x114):return new Helmet(a[l(0x122)],a['description']);case l(0x128):return new BodyArmor(a[l(0x122)],a[l(0x111)]);case l(0x106):return new LegArmor(a['name'],a[l(0x111)]);case l(0x124):return new Boots(a[l(0x122)],a[l(0x111)]);case l(0x116):return new Gloves(a['name'],a[l(0x111)]);case'gauntlets':return new Gauntlets(a[l(0x122)],a[l(0x111)]);default:return new BasicItem(a[l(0x122)],a[l(0x111)]);}}[a40i(0x107)](a){const m=a40i,b=this['createItem'](a[m(0x123)]);return new Puzzle({...a,'rewardItem':b});}[a40i(0x103)](a){const n=a40i,b=a[n(0x113)]&&RoomType[a[n(0x113)]['toUpperCase']()]?RoomType[a[n(0x113)][n(0x10e)]()]:RoomType[n(0x104)];return{'name':a[n(0x122)],'description':a[n(0x111)],'isStartRoom':a[n(0x11b)],'roomType':b};}}
@@ -1 +1 @@
1
- const a41j=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x11f;let f=c[d];return f;},a41d(a,b);}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x139))/0x1*(-parseInt(h(0x120))/0x2)+-parseInt(h(0x134))/0x3+parseInt(h(0x13a))/0x4+parseInt(h(0x129))/0x5+parseInt(h(0x14a))/0x6+parseInt(h(0x138))/0x7+parseInt(h(0x12c))/0x8*(-parseInt(h(0x135))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x2f338));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(0x148)]()[i(0x125)](i(0x121))[i(0x148)]()[i(0x12b)](a41a)['search'](i(0x121));});a41a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';function a41c(){const r=['(((.+)+)+)+$','split','unequip','getRooms','search','initialize','getHelpMessage','take','1796735BSnbuj','look','constructor','2949080RkjLKv','quit','player','toLowerCase','registerCommands','currentLocation','-\x20clear:\x20Clear\x20the\x20screen.\x0a','getWelcomeMessage','275220fMHsws','18XvwaOt','help','rooms','871822IsFpVk','5914dgRvIc','586620GMRjti','-\x20quit:\x20Exit\x20the\x20game.\x0a','execute','instance','getInstance','equip','getDescription','determineStartRoom','lock','registerCommand','scene','currentRoom','drop','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','toString','clear','1286268OOjpEG','name','maka','slice','say','60nFyKuq'];a41c=function(){return r;};return a41c();}import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a41j(0x13d)];['scene'];[a41j(0x12e)];[a41j(0x145)];[a41j(0x137)];constructor(a,b){const k=a41j;this[k(0x12e)]=a,this[k(0x144)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x144)][k(0x126)](),this[k(0x12e)][k(0x131)]=this[k(0x141)](),this[k(0x130)]();}[a41j(0x130)](){const l=a41j;CommandFactory['registerCommand'](l(0x12a),LookCommand),CommandFactory[l(0x143)]('go',GoCommand),CommandFactory[l(0x143)](l(0x128),TakeCommand),CommandFactory[l(0x143)]('use',UseCommand),CommandFactory[l(0x143)](l(0x13f),EquipCommand),CommandFactory[l(0x143)](l(0x123),UnequipCommand),CommandFactory['registerCommand']('solve',SolveCommand),CommandFactory['registerCommand'](l(0x146),DropCommand),CommandFactory[l(0x143)]('unlock',UnlockCommand),CommandFactory[l(0x143)](l(0x142),LockCommand),CommandFactory[l(0x143)](l(0x125),SearchCommand),CommandFactory['registerCommand'](l(0x11f),SayCommand);}[a41j(0x141)](){const m=a41j;return this[m(0x144)][m(0x141)]();}[a41j(0x133)](){const n=a41j;return'Welcome,\x20'+this['player'][n(0x14b)];}static[a41j(0x13e)](a,b){const o=a41j;return!Game[o(0x13d)]&&(Game[o(0x13d)]=new Game(a,b)),Game[o(0x13d)];}['handleInput'](a){const p=a41j,b=a['trim']()[p(0x122)]('\x20'),c=b[0x0][p(0x12f)](),d=b[p(0x14d)](0x1);if(c===p(0x12d))return null;if(c===p(0x14c))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===p(0x136))return this[p(0x127)]();if(c===p(0x149))return'';const e={'actor':this[p(0x12e)],'rooms':this[p(0x144)][p(0x124)](),'scene':this[p(0x144)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[p(0x13c)](d);return g;}return p(0x147)+c+'\x22.';}[a41j(0x127)](){const q=a41j,a=CommandFactory['getAllRegisteredCommands']();let b='Available\x20Commands:\x0a';for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x140)]()+'\x0a';}}return b+=q(0x132),b+=q(0x13b),b;}}
1
+ const a41j=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0x119))/0x1+-parseInt(h(0x133))/0x2+parseInt(h(0x13b))/0x3*(parseInt(h(0x134))/0x4)+-parseInt(h(0x140))/0x5*(parseInt(h(0x13e))/0x6)+-parseInt(h(0x125))/0x7*(-parseInt(h(0x110))/0x8)+parseInt(h(0x12b))/0x9+-parseInt(h(0x138))/0xa*(-parseInt(h(0x13a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x3634b));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(0x120)]()[i(0x132)](i(0x122))['toString']()[i(0x115)](a41a)[i(0x132)](i(0x122));});a41a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';function a41c(){const q=['help','drop','toString','handleInput','(((.+)+)+)+$','quit','currentLocation','3367GCQqrT','currentRoom','name','equip','unequip','lock','495045hwYWAp','solve','execute','getRooms','initialize','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','createCommand','search','396946MLHgJY','773940WVeNop','take','hasOwnProperty','getDescription','2240950RLyfCL','getHelpMessage','11ISESsC','3OQGiKJ','registerCommands','player','264vCFZKe','-\x20clear:\x20Clear\x20the\x20screen.\x0a','19870bPNicw','slice','getWelcomeMessage','split','2712AfFZPY','-\x20quit:\x20Exit\x20the\x20game.\x0a','toLowerCase','Available\x20Commands:\x0a','instance','constructor','scene','clear','trim','40288CGFXSg','use','registerCommand','look','determineStartRoom'];a41c=function(){return q;};return a41c();}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 a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x10f;let f=c[d];return f;},a41d(a,b);}export default class Game{static [a41j(0x114)];[a41j(0x116)];['player'];[a41j(0x126)];['rooms'];constructor(a,b){const k=a41j;this[k(0x13d)]=a,this[k(0x116)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x116)][k(0x12f)](),this['player'][k(0x124)]=this[k(0x11d)](),this[k(0x13c)]();}[a41j(0x13c)](){const l=a41j;CommandFactory[l(0x11b)](l(0x11c),LookCommand),CommandFactory[l(0x11b)]('go',GoCommand),CommandFactory['registerCommand'](l(0x135),TakeCommand),CommandFactory[l(0x11b)](l(0x11a),UseCommand),CommandFactory['registerCommand'](l(0x128),EquipCommand),CommandFactory['registerCommand'](l(0x129),UnequipCommand),CommandFactory['registerCommand'](l(0x12c),SolveCommand),CommandFactory[l(0x11b)](l(0x11f),DropCommand),CommandFactory[l(0x11b)]('unlock',UnlockCommand),CommandFactory['registerCommand'](l(0x12a),LockCommand),CommandFactory[l(0x11b)](l(0x132),SearchCommand),CommandFactory[l(0x11b)]('say',SayCommand);}[a41j(0x11d)](){return this['scene']['determineStartRoom']();}[a41j(0x142)](){const m=a41j;return'Welcome,\x20'+this[m(0x13d)][m(0x127)];}static['getInstance'](a,b){const n=a41j;return!Game[n(0x114)]&&(Game['instance']=new Game(a,b)),Game[n(0x114)];}[a41j(0x121)](a){const o=a41j,b=a[o(0x118)]()[o(0x10f)]('\x20'),c=b[0x0][o(0x112)](),d=b[o(0x141)](0x1);if(c===o(0x123))return null;if(c==='maka')return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===o(0x11e))return this['getHelpMessage']();if(c===o(0x117))return'';const e={'actor':this['player'],'rooms':this[o(0x116)][o(0x12e)](),'scene':this['scene']},f=CommandFactory[o(0x131)](c,e);if(f){const g=f[o(0x12d)](d);return g;}return o(0x130)+c+'\x22.';}[a41j(0x139)](){const p=a41j,a=CommandFactory['getAllRegisteredCommands']();let b=p(0x113);for(const c in a){if(a[p(0x136)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[p(0x137)]()+'\x0a';}}return b+=p(0x13f),b+=p(0x111),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a42d,c=a();while(!![]){try{var d=-parseInt(f(0x148))/0x1*(parseInt(f(0x143))/0x2)+parseInt(f(0x142))/0x3+-parseInt(f(0x145))/0x4*(-parseInt(f(0x146))/0x5)+parseInt(f(0x14a))/0x6+-parseInt(f(0x144))/0x7*(-parseInt(f(0x147))/0x8)+parseInt(f(0x13f))/0x9+-parseInt(f(0x141))/0xa*(parseInt(f(0x140))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x2b9ed));var a42b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a42d;if(c){var e=c[g(0x14c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){var h=a42d;return a42a[h(0x14b)]()[h(0x14d)](h(0x149))[h(0x14b)]()['constructor'](a42a)[h(0x14d)](h(0x149));});a42a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a42c(){var i=['145368dzoHaI','14YfhGuf','650398nCWapz','4moVbnW','1160485RuSRcF','16DKysWx','40529ZSSsuC','(((.+)+)+)+$','907566ybfmzP','toString','apply','search','3036339tKupBz','11YWbfzy','4926410ghMHSC'];a42c=function(){return i;};return a42c();}export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0x13f;var f=c[d];return f;},a42d(a,b);}export*from'./scene.js';
1
+ (function(a,b){var f=a42d,c=a();while(!![]){try{var d=-parseInt(f(0x1e7))/0x1*(-parseInt(f(0x1e4))/0x2)+-parseInt(f(0x1e6))/0x3*(-parseInt(f(0x1ed))/0x4)+parseInt(f(0x1de))/0x5*(-parseInt(f(0x1e9))/0x6)+-parseInt(f(0x1e3))/0x7*(parseInt(f(0x1e8))/0x8)+-parseInt(f(0x1e2))/0x9*(parseInt(f(0x1e0))/0xa)+parseInt(f(0x1ea))/0xb*(parseInt(f(0x1e5))/0xc)+parseInt(f(0x1eb))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x7f954));function a42c(){var i=['1CDghKs','8EaJsKM','6poyLRd','1220791joQZnE','9151064NcRKkD','apply','4hrXzYB','(((.+)+)+)+$','2794310nPkCcN','toString','340DfbPEp','search','195831QxZWdD','971593IOvYjy','957656StjTli','24aVROEm','1665987PSLZNF'];a42c=function(){return i;};return a42c();}var a42b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a42d;if(c){var e=c[g(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){var h=a42d;return a42a[h(0x1df)]()['search'](h(0x1dd))[h(0x1df)]()['constructor'](a42a)[h(0x1e1)](h(0x1dd));});a42a();export*from'./door.js';export*from'./inventory.js';function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0x1dd;var f=c[d];return f;},a42d(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 +1 @@
1
- var a43i=a43d;function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xb6;var f=c[d];return f;},a43d(a,b);}function a43c(){var o=['isLockable','.\x20Used:\x20','84zuvVZd','roomB','Failed\x20to\x20unlock\x20door:\x20','name','405180qzIORM','checkIfLockable','unlockItemOrSolution','isLocked','attemptUnlock','Door\x20unlocked:\x20','5486437RbaOuc','2320qvufvV','.\x20Is\x20Locked:\x20','Door\x20created\x20between\x20','write','3762296rcunBr','apply','694059yRNuLT','2nOkrto','643823hBWdtw','roomA','search','toString','41409LLhfrv','To\x20','getOtherSide','5KUDZou','getInstance','logger','5159716jSuYYo','\x20and\x20','(((.+)+)+)+$'];a43c=function(){return o;};return a43c();}(function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0xbe))/0x1+parseInt(f(0xbd))/0x2*(-parseInt(f(0xbc))/0x3)+-parseInt(f(0xc8))/0x4*(-parseInt(f(0xc5))/0x5)+-parseInt(f(0xd1))/0x6*(parseInt(f(0xcd))/0x7)+-parseInt(f(0xba))/0x8+-parseInt(f(0xc2))/0x9*(-parseInt(f(0xb6))/0xa)+parseInt(f(0xd7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xaaf91));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a['toString']()[h(0xc0)](h(0xca))[h(0xc1)]()['constructor'](a43a)[h(0xc0)]('(((.+)+)+)+$');});a43a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];['roomB'];[a43i(0xd4)];['unlockItemOrSolution'];[a43i(0xd0)];[a43i(0xc7)];[a43i(0xcb)];constructor(a){var j=a43i;super(),this[j(0xbf)]=a[j(0xbf)],this[j(0xce)]=a['roomB'],this['isLocked']=a[j(0xd4)]||![],this['unlockItemOrSolution']=a[j(0xd3)],this[j(0xd0)]=a['name']?capitalCase(a['name']):j(0xc3)+a[j(0xce)][j(0xd0)],this[j(0xc7)]=Logger[j(0xc6)](),this['isLockable']=!!a[j(0xd3)],this[j(0xc7)][j(0xb9)](j(0xb8)+this[j(0xbf)][j(0xd0)]+j(0xc9)+this[j(0xce)][j(0xd0)]+j(0xb7)+this[j(0xd4)]);}[a43i(0xc4)](a){var k=a43i;return this[k(0xbf)]===a?this[k(0xce)]:this[k(0xbf)];}[a43i(0xd5)](a){var l=a43i;if(this['isLocked']&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this[l(0xd4)]=![],this[l(0xc7)][l(0xb9)](l(0xd6)+this[l(0xd0)]+l(0xcc)+a),!![];return this['logger'][l(0xb9)](l(0xcf)+this[l(0xd0)]+l(0xcc)+a),![];}['checkIfLocked'](){var m=a43i;return this[m(0xd4)];}[a43i(0xd2)](){var n=a43i;return this[n(0xcb)];}}
1
+ function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x182;var f=c[d];return f;},a43d(a,b);}var a43i=a43d;function a43c(){var n=['unlockItemOrSolution','985746plvweR','write','checkIfLocked','Door\x20created\x20between\x20','checkIfLockable','2244324vUQztf','5675tygEBS','isLockable','constructor','toString','getOtherSide','name','To\x20','3393599WQdhou','\x20and\x20','.\x20Is\x20Locked:\x20','240vvWtWX','logger','getInstance','Door\x20unlocked:\x20','203042uumjVs','1KTSuKo','568lYwDzU','72NxWNix','roomA','isLocked','80950UcnSZW','roomB','apply','122292IYUiRq','.\x20Used:\x20','(((.+)+)+)+$'];a43c=function(){return n;};return a43c();}(function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x192))/0x1*(-parseInt(f(0x197))/0x2)+parseInt(f(0x19e))/0x3+-parseInt(f(0x193))/0x4*(parseInt(f(0x183))/0x5)+parseInt(f(0x182))/0x6+-parseInt(f(0x191))/0x7*(-parseInt(f(0x194))/0x8)+-parseInt(f(0x19a))/0x9*(parseInt(f(0x18d))/0xa)+-parseInt(f(0x18a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x32df6));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x186)]()['search'](h(0x19c))['toString']()[h(0x185)](a43a)['search'](h(0x19c));});a43a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a43i(0x198)];[a43i(0x196)];[a43i(0x19d)];[a43i(0x188)];[a43i(0x18e)];['isLockable'];constructor(a){var j=a43i;super(),this[j(0x195)]=a[j(0x195)],this[j(0x198)]=a[j(0x198)],this[j(0x196)]=a['isLocked']||![],this[j(0x19d)]=a['unlockItemOrSolution'],this[j(0x188)]=a['name']?capitalCase(a[j(0x188)]):j(0x189)+a[j(0x198)][j(0x188)],this[j(0x18e)]=Logger[j(0x18f)](),this['isLockable']=!!a[j(0x19d)],this['logger'][j(0x19f)](j(0x1a1)+this[j(0x195)][j(0x188)]+j(0x18b)+this['roomB'][j(0x188)]+j(0x18c)+this[j(0x196)]);}[a43i(0x187)](a){var k=a43i;return this['roomA']===a?this[k(0x198)]:this[k(0x195)];}['attemptUnlock'](a){var l=a43i;if(this['isLocked']&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this['isLocked']=![],this[l(0x18e)]['write'](l(0x190)+this['name']+'.\x20Used:\x20'+a),!![];return this[l(0x18e)][l(0x19f)]('Failed\x20to\x20unlock\x20door:\x20'+this['name']+l(0x19b)+a),![];}[a43i(0x1a0)](){return this['isLocked'];}[a43i(0x1a2)](){var m=a43i;return this[m(0x184)];}}
@@ -1 +1 @@
1
- function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x139;let f=c[d];return f;},a44d(a,b);}const a44h=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x148))/0x1+-parseInt(f(0x143))/0x2+parseInt(f(0x15f))/0x3*(-parseInt(f(0x155))/0x4)+parseInt(f(0x140))/0x5*(parseInt(f(0x15c))/0x6)+parseInt(f(0x156))/0x7*(-parseInt(f(0x14f))/0x8)+parseInt(f(0x14b))/0x9*(-parseInt(f(0x15e))/0xa)+parseInt(f(0x14d))/0xb*(parseInt(f(0x13b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xea156));const a44b=(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;};}()),a44a=a44b(this,function(){const g=a44d;return a44a['toString']()[g(0x142)](g(0x162))[g(0x159)]()[g(0x164)](a44a)[g(0x142)](g(0x162));});a44a();import{capitalCase}from'change-case';function a44c(){const p=['3577228alyyju','toLowerCase','name','write','.\x20Item\x20not\x20found.','526105tgJpFw','items','Removed\x20item:\x20','120051oBtMKE','weight','33xUEUWJ','delete','761992XtRUDr','logger','Failed\x20to\x20remove\x20item:\x20','join','listItems','map','4BThpVE','63APTacA','.\x20Exists:\x20','Listed\x20items\x20in\x20inventory:\x20','toString','get','getWeight','8142BWWctB','hasItem','1390GrYeHh','3852207PiPcNn','getItem','has','(((.+)+)+)+$','Checked\x20for\x20item:\x20','constructor','\x20in\x20','removeItem','Added\x20item:\x20','29070396tapjrf','set','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','getAllItems','\x20to\x20inventory.','5hERryK','addItem','search'];a44c=function(){return p;};return a44c();}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a44h(0x149)];['logger'];constructor(){const i=a44h;super(),this['items']=new Map(),this[i(0x150)]=Logger['getInstance']();}[a44h(0x141)](a){const j=a44h;this[j(0x149)][j(0x13c)](a[j(0x145)][j(0x144)](),a),this[j(0x150)][j(0x146)](j(0x13a)+a[j(0x145)]+j(0x13f));}[a44h(0x139)](a){const k=a44h,b=this[k(0x160)](a);if(b)return this[k(0x149)][k(0x14e)](a[k(0x144)]()),this[k(0x150)][k(0x146)](k(0x14a)+a+'\x20from\x20inventory.'),b;return this[k(0x150)][k(0x146)](k(0x151)+a+'.\x20Item\x20not\x20found.'),null;}[a44h(0x15d)](a){const l=a44h,b=this[l(0x149)][l(0x161)](a['toLowerCase']()),c=[...this[l(0x149)]['keys']()];return this[l(0x150)][l(0x146)](l(0x163)+a+l(0x165)+c[l(0x152)](',\x20')+l(0x157)+b+'.'),b;}[a44h(0x160)](a){const m=a44h,b=this['items'][m(0x15a)](a[m(0x144)]())||null;return b?this[m(0x150)][m(0x146)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this['logger'][m(0x146)](m(0x13d)+a+m(0x147)),b;}[a44h(0x153)](){const n=a44h,a=[...this['items']['keys']()],b=a[n(0x154)](c=>capitalCase(c));return this[n(0x150)][n(0x146)](n(0x158)+b[n(0x152)](',\x20')+'.'),a;}[a44h(0x15b)](){const o=a44h;let a=0x0;for(const b of this[o(0x149)]['values']()){a+=b[o(0x14c)];}return a;}[a44h(0x13e)](){return[...this['items']['values']()];}}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0xc7))/0x1*(parseInt(f(0xba))/0x2)+parseInt(f(0xd7))/0x3*(parseInt(f(0xd5))/0x4)+parseInt(f(0xd4))/0x5+-parseInt(f(0xd8))/0x6*(parseInt(f(0xb8))/0x7)+-parseInt(f(0xd6))/0x8*(parseInt(f(0xbb))/0x9)+parseInt(f(0xc6))/0xa+parseInt(f(0xd1))/0xb*(parseInt(f(0xbe))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x7acf0));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xc4)]()[h(0xbc)]('(((.+)+)+)+$')[h(0xc4)]()[h(0xce)](a44a)['search']('(((.+)+)+)+$');});a44a();import{capitalCase}from'change-case';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xb5;let f=c[d];return f;},a44d(a,b);}import{Logger}from'../utilities/logger.js';function a44c(){const r=['items','11OzHydb','Added\x20item:\x20','.\x20Exists:\x20','3904950KPOezG','228692NEbZrg','8WvlayI','6IAGvpm','2338854wMTUdh','logger','Retrieved\x20details\x20for\x20item:\x20','get','join','.\x20Item\x20not\x20found.','map','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','weight','keys','write','14oGSuZO','getItem','2pOqiko','846711PyrkaF','search','getWeight','3937980EPtLtd','toLowerCase','name','Removed\x20item:\x20','removeItem','has','toString','values','8840310PkQFzm','730811jHdFbe','\x20from\x20inventory.','hasItem','getInstance','apply','\x20in\x20','delete','constructor','Checked\x20for\x20item:\x20'];a44c=function(){return r;};return a44c();}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a44i(0xd0)];[a44i(0xd9)];constructor(){const j=a44i;super(),this['items']=new Map(),this[j(0xd9)]=Logger[j(0xca)]();}['addItem'](a){const k=a44i;this[k(0xd0)]['set'](a[k(0xc0)][k(0xbf)](),a),this['logger'][k(0xb7)](k(0xd2)+a[k(0xc0)]+'\x20to\x20inventory.');}[a44i(0xc2)](a){const l=a44i,b=this[l(0xb9)](a);if(b)return this[l(0xd0)][l(0xcd)](a[l(0xbf)]()),this[l(0xd9)]['write'](l(0xc1)+a+l(0xc8)),b;return this['logger']['write']('Failed\x20to\x20remove\x20item:\x20'+a+l(0xdd)),null;}[a44i(0xc9)](a){const m=a44i,b=this['items'][m(0xc3)](a['toLowerCase']()),c=[...this[m(0xd0)][m(0xb6)]()];return this[m(0xd9)]['write'](m(0xcf)+a+m(0xcc)+c[m(0xdc)](',\x20')+m(0xd3)+b+'.'),b;}[a44i(0xb9)](a){const n=a44i,b=this[n(0xd0)][n(0xdb)](a[n(0xbf)]())||null;return b?this[n(0xd9)][n(0xb7)](n(0xda)+a+'.'):this[n(0xd9)][n(0xb7)](n(0xdf)+a+n(0xdd)),b;}['listItems'](){const o=a44i,a=[...this[o(0xd0)]['keys']()],b=a[o(0xde)](c=>capitalCase(c));return this['logger'][o(0xb7)]('Listed\x20items\x20in\x20inventory:\x20'+b[o(0xdc)](',\x20')+'.'),a;}[a44i(0xbd)](){const p=a44i;let a=0x0;for(const b of this[p(0xd0)][p(0xc5)]()){a+=b[p(0xb5)];}return a;}['getAllItems'](){const q=a44i;return[...this[q(0xd0)][q(0xc5)]()];}}
@@ -1 +1 @@
1
- function a45c(){var l=['1197785xcMixJ','category','You\x20use\x20the\x20','(((.+)+)+)+$','size','search','toString','texture','name','uuid','736644xHqMSn','description','use','611178NmLjyu','731796PmeFqc','color','1759902UIaxYl','shape','.\x20Nothing\x20special\x20happens.','rating','7875455LqEcNt','362285xYUTPA','weight','apply'];a45c=function(){return l;};return a45c();}var a45i=a45d;function a45d(a,b){var c=a45c();return a45d=function(d,e){d=d-0x177;var f=c[d];return f;},a45d(a,b);}(function(a,b){var f=a45d,c=a();while(!![]){try{var d=parseInt(f(0x183))/0x1+-parseInt(f(0x17c))/0x2+-parseInt(f(0x17b))/0x3+-parseInt(f(0x178))/0x4+-parseInt(f(0x186))/0x5+-parseInt(f(0x17e))/0x6+parseInt(f(0x182))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x30ff3));var a45b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a45d;if(c){var e=c[g(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){var h=a45d;return a45a[h(0x18c)]()[h(0x18b)](h(0x189))['toString']()['constructor'](a45a)['search']('(((.+)+)+)+$');});a45a();import{v4 as a45e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a45i(0x177)];[a45i(0x18e)];[a45i(0x179)];[a45i(0x18a)];[a45i(0x187)];[a45i(0x17f)];[a45i(0x17d)];['texture'];['rating'];[a45i(0x184)];constructor(a){var j=a45i;super(),this['name']=a[j(0x18e)],this[j(0x179)]=a[j(0x179)],this['size']=a[j(0x18a)],this[j(0x187)]=a[j(0x187)],this[j(0x17f)]=a[j(0x17f)],this[j(0x17d)]=a[j(0x17d)],this[j(0x18d)]=a[j(0x18d)],this['rating']=a[j(0x181)],this['weight']=a[j(0x184)],this['uuid']=a45e();}[a45i(0x17a)](){var k=a45i;return k(0x188)+this[k(0x18e)]+k(0x180);}}
1
+ var a45h=a45d;(function(a,b){var f=a45d,c=a();while(!![]){try{var d=parseInt(f(0xfb))/0x1*(parseInt(f(0xfe))/0x2)+-parseInt(f(0xf1))/0x3*(-parseInt(f(0xfd))/0x4)+-parseInt(f(0xf9))/0x5*(-parseInt(f(0xf2))/0x6)+-parseInt(f(0x109))/0x7*(parseInt(f(0xf5))/0x8)+parseInt(f(0x105))/0x9+-parseInt(f(0x103))/0xa*(-parseInt(f(0xf3))/0xb)+-parseInt(f(0x108))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x8ea25));var a45b=(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;};}()),a45a=a45b(this,function(){var g=a45d;return a45a['toString']()['search'](g(0x104))[g(0xf7)]()['constructor'](a45a)[g(0xf8)](g(0x104));});a45a();import{v4 as a45e}from'uuid';function a45d(a,b){var c=a45c();return a45d=function(d,e){d=d-0xee;var f=c[d];return f;},a45d(a,b);}import{AbstractItem}from'../types/abstracts.js';function a45c(){var k=['weight','shape','3111hdurjA','5466RXHHHd','11vMvlmN','rating','2104360Yinlzu','color','toString','search','725nOYsEv','category','534MeAGUi','uuid','2724nFRMUc','1544yLZjIz','size','texture','description','use','10550170DNevpm','(((.+)+)+)+$','1808001wjKVAP','name','You\x20use\x20the\x20','19910064XKAlhB','7RAesQh','.\x20Nothing\x20special\x20happens.'];a45c=function(){return k;};return a45c();}export class Item extends AbstractItem{[a45h(0xfc)];[a45h(0x106)];['description'];[a45h(0xff)];['category'];[a45h(0xf0)];[a45h(0xf6)];['texture'];[a45h(0xf4)];[a45h(0xef)];constructor(a){var i=a45h;super(),this['name']=a[i(0x106)],this[i(0x101)]=a['description'],this[i(0xff)]=a['size'],this[i(0xfa)]=a[i(0xfa)],this[i(0xf0)]=a[i(0xf0)],this[i(0xf6)]=a[i(0xf6)],this[i(0x100)]=a[i(0x100)],this['rating']=a[i(0xf4)],this[i(0xef)]=a['weight'],this[i(0xfc)]=a45e();}[a45h(0x102)](){var j=a45h;return j(0x107)+this['name']+j(0xee);}}
@@ -1 +1 @@
1
- const a46h=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x88))/0x1+parseInt(f(0x83))/0x2*(-parseInt(f(0x84))/0x3)+-parseInt(f(0x8a))/0x4*(parseInt(f(0x8f))/0x5)+parseInt(f(0x93))/0x6*(parseInt(f(0x7e))/0x7)+parseInt(f(0x8d))/0x8*(parseInt(f(0x94))/0x9)+-parseInt(f(0x91))/0xa*(-parseInt(f(0x9a))/0xb)+parseInt(f(0x95))/0xc*(parseInt(f(0x8b))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x23d89));const a46b=(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;};}()),a46a=a46b(this,function(){const g=a46d;return a46a[g(0x81)]()['search'](g(0x7f))[g(0x81)]()[g(0x8e)](a46a)[g(0x8c)](g(0x7f));});a46a();import{Player}from'./player.js';function a46c(){const n=['(((.+)+)+)+$','_dialogue','toString','rooms','493540bmYEUe','3DThPey','length','_name','name','92183nOiCFN','execute','12SYqAJM','1469XnLAkx','search','8sNjUxn','constructor','389715QKIZDp','scene','155510lmrSce','random','3678lBcJhl','143973QrVnhW','27036aRxCcK','floor','speak','autonomousMove','moveTo','22cugsZl','2667CUaOCF'];a46c=function(){return n;};return a46c();}import{GoCommand}from'../commands/go.js';function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x7e;let f=c[d];return f;},a46d(a,b);}export class NPC extends Player{[a46h(0x86)];['_dialogue'];[a46h(0x82)];[a46h(0x90)];constructor(a,b,c,d){const i=a46h;super(d),this[i(0x86)]=a,this['_dialogue']=b,this[i(0x82)]=c;}get[a46h(0x87)](){const j=a46h;return this[j(0x86)];}[a46h(0x97)](){const k=a46h;return this[k(0x80)][Math[k(0x96)](Math[k(0x92)]()*this[k(0x80)][k(0x85)])];}[a46h(0x98)](a){const l=a46h,b=a[Math[l(0x96)](Math[l(0x92)]()*a[l(0x85)])];this[l(0x99)](b[l(0x87)]);}[a46h(0x99)](a){const m=a46h,b={'actor':this,'rooms':this[m(0x82)],'scene':this[m(0x90)]},c=new GoCommand(b);c[m(0x89)]([a]);}}
1
+ function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x154;let f=c[d];return f;},a46d(a,b);}const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x166))/0x1*(-parseInt(f(0x155))/0x2)+parseInt(f(0x154))/0x3+-parseInt(f(0x168))/0x4+-parseInt(f(0x16a))/0x5+parseInt(f(0x16b))/0x6*(parseInt(f(0x167))/0x7)+parseInt(f(0x162))/0x8+parseInt(f(0x156))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xb3b1a));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x15a)]()['search'](h(0x15e))[h(0x15a)]()['constructor'](a46a)[h(0x161)]('(((.+)+)+)+$');});a46a();import{Player}from'./player.js';function a46c(){const o=['moveTo','scene','(((.+)+)+)+$','_name','floor','search','8267048AhOmlg','name','random','autonomousMove','1HUPnZQ','37877lQayhm','4681812PEeTbb','length','5327095FBjIpe','1518qNoIJX','execute','4056993vQPrUS','1924968zwcEHv','1617183dmGGgG','rooms','_dialogue','speak','toString','apply'];a46c=function(){return o;};return a46c();}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a46i(0x15f)];['_dialogue'];[a46i(0x157)];[a46i(0x15d)];constructor(a,b,c,d){const j=a46i;super(d),this['_name']=a,this['_dialogue']=b,this[j(0x157)]=c;}get[a46i(0x163)](){const k=a46i;return this[k(0x15f)];}[a46i(0x159)](){const l=a46i;return this['_dialogue'][Math[l(0x160)](Math['random']()*this[l(0x158)][l(0x169)])];}[a46i(0x165)](a){const m=a46i,b=a[Math['floor'](Math[m(0x164)]()*a[m(0x169)])];this['moveTo'](b[m(0x163)]);}[a46i(0x15c)](a){const n=a46i,b={'actor':this,'rooms':this[n(0x157)],'scene':this[n(0x15d)]},c=new GoCommand(b);c[n(0x16c)]([a]);}}
@@ -1 +1 @@
1
- const a47i=a47d;function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xf6;let f=c[d];return f;},a47d(a,b);}(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x13d))/0x1+-parseInt(f(0x11a))/0x2*(parseInt(f(0x10f))/0x3)+-parseInt(f(0xfc))/0x4+-parseInt(f(0x126))/0x5*(parseInt(f(0x111))/0x6)+-parseInt(f(0x147))/0x7+-parseInt(f(0x112))/0x8*(parseInt(f(0x142))/0x9)+parseInt(f(0x116))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x54384));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()['search'](h(0x10d))['toString']()['constructor'](a47a)['search'](h(0x10d));});a47a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a47c(){const B=['\x20to\x20player\x27s\x20inventory.','1239232NnHcTk','bodyarmor','Nexus','write','torso','off','You\x20equipped\x20','getInstance','\x20slot.','You\x20can\x27t\x20equip\x20','name','category','Helmet','inventoryItems','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','_maxCarryingWeight','canEquip','(((.+)+)+)+$','arms','345909FJvFGH','leaveRoom','6IlBOzf','8eLEJcO','apply','determineEquipmentSlot','currentWeight','26097210FDgQSv','You\x20don\x27t\x20have\x20','Added\x20','equipment','6EnqeRX','rightHand','legarmor','\x20is\x20now\x20listening\x20in\x20room\x20','removeItem','unequipBySlot','addInventory','Gloves','Removed\x20','includes','removeInventory','maxCarryingWeight','2476505BWYuCk','inventory','weight','getWeight','gloves','unequip','currentLocation','leftHand','A\x20featureless\x20room','Weapon','Boots','_inventory','initialEquipment','speak','playerName','head','toLowerCase','BodyArmor','hat','\x20is\x20no\x20longer\x20listeng\x20in\x20','Invalid\x20category\x20or\x20slot:\x20','log','body\x20armor','286669NJSWOq','\x20in\x20your\x20inventory.','logger','_currentLocation','legs','1744623sFxZcQ','addItem','values','feet','\x20from\x20player\x27s\x20inventory.','4432561fzZaiI','.\x20You\x20must\x20unequip\x20it\x20first.','leg\x20armor','helmet','arm\x20armor','_equipment','hear','armarmor','bind','_playerName','LegArmor','Shield'];a47c=function(){return B;};return a47c();}import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a47i(0xf8)];[a47i(0x140)];['_inventory'];['_equipment'];[a47i(0x10b)]=0x32;[a47i(0x13f)];constructor(a){const j=a47i;super(),this[j(0xf8)]=a[j(0x134)],this[j(0x140)]=a['startLocation']||new Room({'name':j(0xfe),'description':j(0x12e)}),this[j(0x131)]=new Inventory(),this[j(0x13f)]=Logger[j(0x103)]();if(a?.[j(0x109)])for(const b of a[j(0x109)]){this['_inventory'][j(0x143)](b);}this[j(0x14c)]=a?.[j(0x132)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a47i;return this[k(0xf8)];}get[a47i(0x12c)](){const l=a47i;return this[l(0x140)];}set[a47i(0x12c)](a){const m=a47i;this[m(0x140)]!==a&&(this[m(0x110)](),this['enterRoom'](a)),this[m(0x140)]=a;}get[a47i(0x127)](){return this['_inventory'];}get[a47i(0x119)](){const n=a47i;return this[n(0x14c)];}set[a47i(0x119)](a){const o=a47i;this[o(0x14c)]=a;}get[a47i(0x125)](){return this['_maxCarryingWeight'];}set[a47i(0x125)](a){const p=a47i;a>0x0?this[p(0x10b)]=a:console['error']('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a47i(0x115)](){const q=a47i;let a=this[q(0x131)][q(0x129)]();for(const b in this[q(0x14c)]){const c=this[q(0x14c)][b];c&&(a+=c[q(0x128)]);}return a;}['addInventory'](a){const r=a47i;if(this[r(0x115)]+a[r(0x128)]>this['maxCarryingWeight']){this['logger'][r(0xff)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[r(0x131)]['addItem'](a),this[r(0x13f)][r(0xff)](r(0x118)+a[r(0x106)]+r(0xfb));}[a47i(0x124)](a){const s=a47i;if(this[s(0x131)][s(0x11e)](a[s(0x106)]))return this[s(0x13f)]['write'](s(0x122)+a[s(0x106)]+s(0x146)),!![];return this[s(0x13f)][s(0xff)]('Failed\x20to\x20remove\x20'+a[s(0x106)]+s(0x146)),![];}['equip'](a){const t=a47i;if(!this['_inventory']['hasItem'](a[t(0x106)]))return t(0x117)+a['name']+t(0x13e);if(!this[t(0x10c)](a))return t(0x105)+a[t(0x106)]+'.';const b=this[t(0x114)](a[t(0x107)]);if(!b)return a[t(0x106)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[t(0x119)][b])return t(0x10a)+b+t(0x148);return this['equipment'][b]=a,this[t(0x124)](a),t(0x102)+a[t(0x106)]+'.';}[a47i(0x12b)](a){const u=a47i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[u(0x114)](a);if(!b)return u(0x13a)+a+'.';}return this[u(0x11f)](b);}['determineEquipmentSlot'](a){const v=a47i;switch(a['toLowerCase']()){case Category[v(0x12f)]['toLowerCase']():return v(0x11b);case Category[v(0xfa)][v(0x136)]():return v(0x12d);case Category[v(0x121)][v(0x136)]():return'gloves';case Category[v(0x108)]['toLowerCase']():case Category['Hat'][v(0x136)]():return'head';case Category[v(0x130)][v(0x136)]():return v(0x145);case Category[v(0xf9)][v(0x136)]():return v(0x141);case Category['ArmArmor'][v(0x136)]():return v(0x10e);case Category[v(0x137)][v(0x136)]():return v(0x100);case'weapon':return v(0x11b);case'shield':return v(0x12d);case'gloves':return v(0x12a);case v(0x14a):case v(0x138):return v(0x135);case'boots':return v(0x145);case v(0x149):case v(0x11c):return'legs';case v(0x14b):case v(0xf6):return v(0x10e);case v(0x13c):case v(0xfd):case v(0x100):return v(0x100);default:return null;}}[a47i(0x10c)](a){const w=a47i;return Object[w(0x144)](Category)[w(0x123)](a[w(0x107)]);}[a47i(0x11f)](a){const x=a47i,b=this['equipment'][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+x(0x104);return this[x(0x120)](b),this['equipment'][a]=null,'You\x20unequipped\x20'+b[x(0x106)]+'.';}['hear'](a,b){const y=a47i;a!==this&&this[y(0x13f)][y(0x13b)](a['name']+'\x20says:\x20\x22'+b+'\x22');}['enterRoom'](a){const z=a47i;this[z(0x140)]=a,a['on'](z(0x133),this['hear'][z(0xf7)](this)),this['logger'][z(0xff)](this[z(0x106)]+z(0x11d)+a['name']);}['leaveRoom'](){const A=a47i;this['_currentLocation']&&(this[A(0x140)][A(0x101)](A(0x133),this[A(0x14d)][A(0xf7)](this)),this['logger'][A(0xff)](this[A(0x106)]+A(0x139)+this[A(0x140)][A(0x106)]));}}
1
+ const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x87))/0x1*(-parseInt(f(0xb7))/0x2)+-parseInt(f(0xa8))/0x3+-parseInt(f(0xc2))/0x4*(parseInt(f(0xb9))/0x5)+-parseInt(f(0xb1))/0x6+-parseInt(f(0xac))/0x7+-parseInt(f(0xc6))/0x8*(-parseInt(f(0x8a))/0x9)+parseInt(f(0xb5))/0xa*(-parseInt(f(0xc7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x63d6e));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0xb6)]()[h(0xa5)](h(0xa6))['toString']()['constructor'](a47a)['search'](h(0xa6));});a47a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a47c(){const B=['currentLocation','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','addItem','torso','gloves','weight','legarmor','A\x20featureless\x20room','canEquip','determineEquipmentSlot','bind','Helmet','Failed\x20to\x20remove\x20','bodyarmor','2CFXsuh','getInstance','log','360PVCogX','.\x20You\x20must\x20unequip\x20it\x20first.','equipment','Nexus','_maxCarryingWeight','Gloves','arm\x20armor','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','legs','Removed\x20','\x20slot.','head','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','_equipment','Boots','_inventory','removeItem','enterRoom','removeInventory','arms','error','You\x20don\x27t\x20have\x20','startLocation','leftHand','inventoryItems','boots','getWeight','search','(((.+)+)+)+$','LegArmor','849753gRMJNA','off','equip','Weapon','1165920qSnxrr','Hat','hear','values','You\x20can\x27t\x20equip\x20','412716vDPndk','_currentLocation','hasItem','unequip','100pXpAGf','toString','276556TaFdjK','write','5IfOHcC','weapon','toLowerCase','\x20says:\x20\x22','\x20is\x20no\x20longer\x20listeng\x20in\x20','\x20is\x20now\x20listening\x20in\x20room\x20','name','\x20from\x20player\x27s\x20inventory.','speak','18388qwsVDf','armarmor','rightHand','BodyArmor','133080wBpPoQ','10802aMYZNA','You\x20equipped\x20','helmet','leaveRoom','maxCarryingWeight','category','unequipBySlot','apply','Shield','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','\x20to\x20player\x27s\x20inventory.','Invalid\x20category\x20or\x20slot:\x20','logger','addInventory'];a47c=function(){return B;};return a47c();}import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x7c;let f=c[d];return f;},a47d(a,b);}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];['_currentLocation'];[a47i(0x99)];[a47i(0x97)];[a47i(0x8e)]=0x32;[a47i(0xd3)];constructor(a){const j=a47i;super(),this['_playerName']=a['playerName'],this[j(0xb2)]=a[j(0xa0)]||new Room({'name':j(0x8d),'description':j(0x80)}),this['_inventory']=new Inventory(),this[j(0xd3)]=Logger[j(0x88)]();if(a?.[j(0xa2)])for(const b of a[j(0xa2)]){this['_inventory'][j(0xd7)](b);}this[j(0x97)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a47i(0xbf)](){return this['_playerName'];}get[a47i(0xd5)](){return this['_currentLocation'];}set[a47i(0xd5)](a){const k=a47i;this[k(0xb2)]!==a&&(this[k(0xca)](),this[k(0x9b)](a)),this['_currentLocation']=a;}get['inventory'](){const l=a47i;return this[l(0x99)];}get[a47i(0x8c)](){const m=a47i;return this[m(0x97)];}set[a47i(0x8c)](a){const n=a47i;this[n(0x97)]=a;}get[a47i(0xcb)](){const o=a47i;return this[o(0x8e)];}set[a47i(0xcb)](a){const p=a47i;a>0x0?this[p(0x8e)]=a:console[p(0x9e)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const q=a47i;let a=this['_inventory'][q(0xa4)]();for(const b in this[q(0x97)]){const c=this[q(0x97)][b];c&&(a+=c['weight']);}return a;}[a47i(0xd4)](a){const r=a47i;if(this['currentWeight']+a[r(0x7e)]>this[r(0xcb)]){this[r(0xd3)]['write'](r(0xd6));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[r(0x99)]['addItem'](a),this[r(0xd3)][r(0xb8)]('Added\x20'+a[r(0xbf)]+r(0xd1));}[a47i(0x9c)](a){const s=a47i;if(this[s(0x99)][s(0x9a)](a['name']))return this[s(0xd3)][s(0xb8)](s(0x93)+a[s(0xbf)]+s(0xc0)),!![];return this['logger'][s(0xb8)](s(0x85)+a['name']+s(0xc0)),![];}[a47i(0xaa)](a){const t=a47i;if(!this[t(0x99)][t(0xb3)](a[t(0xbf)]))return t(0x9f)+a[t(0xbf)]+'\x20in\x20your\x20inventory.';if(!this[t(0x81)](a))return t(0xb0)+a[t(0xbf)]+'.';const b=this[t(0x82)](a[t(0xcc)]);if(!b)return a[t(0xbf)]+t(0xd0);if(this['equipment'][b])return t(0x91)+b+t(0x8b);return this[t(0x8c)][b]=a,this['removeInventory'](a),t(0xc8)+a['name']+'.';}[a47i(0xb4)](a){const u=a47i;let b=a;if(!this[u(0x8c)][camelCase(b)]){b=this[u(0x82)](a);if(!b)return u(0xd2)+a+'.';}return this[u(0xcd)](b);}['determineEquipmentSlot'](a){const v=a47i;switch(a[v(0xbb)]()){case Category[v(0xab)]['toLowerCase']():return v(0xc4);case Category[v(0xcf)]['toLowerCase']():return v(0xa1);case Category[v(0x8f)]['toLowerCase']():return v(0x7d);case Category[v(0x84)][v(0xbb)]():case Category[v(0xad)][v(0xbb)]():return v(0x95);case Category[v(0x98)][v(0xbb)]():return'feet';case Category[v(0xa7)][v(0xbb)]():return v(0x92);case Category['ArmArmor'][v(0xbb)]():return v(0x9d);case Category[v(0xc5)][v(0xbb)]():return v(0x7c);case v(0xba):return v(0xc4);case'shield':return v(0xa1);case v(0x7d):return v(0x7d);case v(0xc9):case'hat':return v(0x95);case v(0xa3):return'feet';case'leg\x20armor':case v(0x7f):return v(0x92);case v(0x90):case v(0xc3):return'arms';case'body\x20armor':case v(0x86):case v(0x7c):return v(0x7c);default:return null;}}['canEquip'](a){const w=a47i;return Object[w(0xaf)](Category)['includes'](a['category']);}[a47i(0xcd)](a){const x=a47i,b=this[x(0x8c)][a];if(!b)return x(0x96)+a+x(0x94);return this[x(0xd4)](b),this[x(0x8c)][a]=null,'You\x20unequipped\x20'+b[x(0xbf)]+'.';}[a47i(0xae)](a,b){const y=a47i;a!==this&&this['logger'][y(0x89)](a[y(0xbf)]+y(0xbc)+b+'\x22');}[a47i(0x9b)](a){const z=a47i;this[z(0xb2)]=a,a['on'](z(0xc1),this[z(0xae)][z(0x83)](this)),this['logger']['write'](this[z(0xbf)]+z(0xbe)+a['name']);}[a47i(0xca)](){const A=a47i;this[A(0xb2)]&&(this[A(0xb2)][A(0xa9)]('speak',this['hear'][A(0x83)](this)),this[A(0xd3)][A(0xb8)](this[A(0xbf)]+A(0xbd)+this[A(0xb2)]['name']));}}
@@ -1 +1 @@
1
- function a48c(){var m=['toString','hasRequiredItem','successMessage','4790sZAHUZ','732yrUWrc','56881oLTWHb','6hHZVEr','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','matchesRequiredPhrase','getInstance','requiredPhrase','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','227112SFRzEo','hasItem','solved','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','17042joAUTN','38szcjtW','14MmkboC','rewardItem','538500eAMEtK','193955GIsNtR','write','logger','failureMessage','apply','792JAVkgQ','riddle','900972HBLfDy','requiredItem','You\x20have\x20already\x20solved\x20this\x20puzzle.','constructor'];a48c=function(){return m;};return a48c();}var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0x167))/0x1*(-parseInt(f(0x166))/0x2)+-parseInt(f(0x16a))/0x3+-parseInt(f(0x172))/0x4+parseInt(f(0x16b))/0x5*(-parseInt(f(0x17c))/0x6)+-parseInt(f(0x168))/0x7*(parseInt(f(0x162))/0x8)+parseInt(f(0x170))/0x9*(parseInt(f(0x179))/0xa)+-parseInt(f(0x17b))/0xb*(-parseInt(f(0x17a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x2c34d));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x16f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x176)]()['search']('(((.+)+)+)+$')['toString']()[h(0x175)](a48a)['search']('(((.+)+)+)+$');});a48a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x15e;var f=c[d];return f;},a48d(a,b);}export class Puzzle extends AbstractPuzzle{[a48i(0x16d)]=Logger[a48i(0x15f)]();['solved']=![];[a48i(0x173)];['requiredPhrase'];[a48i(0x171)];[a48i(0x169)];['successMessage'];['failureMessage'];constructor(a){var j=a48i;super(),this[j(0x173)]=a[j(0x173)],this[j(0x160)]=a['requiredPhrase'],this[j(0x171)]=a[j(0x171)],this[j(0x169)]=a[j(0x169)],this[j(0x178)]=a[j(0x178)]||'You\x20solved\x20the\x20puzzle!',this[j(0x16e)]=a[j(0x16e)]||j(0x165);}['hasRequiredItem'](a){var k=a48i;if(this[k(0x173)])return a[k(0x163)](this['requiredItem']);return![];}[a48i(0x15e)](a){return this['requiredPhrase']===a;}['solve'](a,b){var l=a48i;if(this[l(0x164)])return this['logger'][l(0x16c)](l(0x161)),{'success':![],'message':l(0x174)};return this[l(0x177)](b)||this[l(0x15e)](a)?(this['solved']=!![],this['logger'][l(0x16c)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[l(0x178)]}):(this['logger'][l(0x16c)](l(0x17d)),{'success':![],'message':this['failureMessage']});}}
1
+ var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=parseInt(f(0x10e))/0x1*(-parseInt(f(0xfc))/0x2)+-parseInt(f(0x111))/0x3*(-parseInt(f(0xfd))/0x4)+parseInt(f(0x113))/0x5*(-parseInt(f(0xfe))/0x6)+parseInt(f(0x107))/0x7*(-parseInt(f(0x103))/0x8)+parseInt(f(0xf9))/0x9+parseInt(f(0xf4))/0xa*(parseInt(f(0x108))/0xb)+parseInt(f(0x10b))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x8af6f));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x104)]()[h(0xfb)](h(0x10d))['toString']()[h(0x106)](a48a)['search'](h(0x10d));});a48a();function a48c(){var n=['hasItem','requiredItem','logger','You\x20solved\x20the\x20puzzle!','4137075NdAOZf','successMessage','search','32vTBmRd','20mVZLLA','18xgcTHr','write','matchesRequiredPhrase','riddle','solved','6112YCIFAc','toString','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','constructor','532GSNDKJ','220npoTMo','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','You\x20have\x20already\x20solved\x20this\x20puzzle.','9293772iRsKQn','failureMessage','(((.+)+)+)+$','42169ughbnI','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','rewardItem','170580Twpcfn','apply','1310915DELChy','requiredPhrase','Puzzle:\x20Correct\x20solution\x20provided.','285030GrXmgp'];a48c=function(){return n;};return a48c();}import{Logger}from'../utilities/logger.js';function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0xf4;var f=c[d];return f;},a48d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a48i(0xf7)]=Logger['getInstance']();[a48i(0x102)]=![];['requiredItem'];[a48i(0x114)];[a48i(0x101)];[a48i(0x110)];[a48i(0xfa)];[a48i(0x10c)];constructor(a){var j=a48i;super(),this['requiredItem']=a['requiredItem'],this[j(0x114)]=a['requiredPhrase'],this['riddle']=a[j(0x101)],this[j(0x110)]=a[j(0x110)],this['successMessage']=a[j(0xfa)]||j(0xf8),this[j(0x10c)]=a[j(0x10c)]||j(0x105);}['hasRequiredItem'](a){var k=a48i;if(this[k(0xf6)])return a[k(0xf5)](this[k(0xf6)]);return![];}[a48i(0x100)](a){var l=a48i;return this[l(0x114)]===a;}['solve'](a,b){var m=a48i;if(this[m(0x102)])return this[m(0xf7)][m(0xff)](m(0x10f)),{'success':![],'message':m(0x10a)};return this['hasRequiredItem'](b)||this[m(0x100)](a)?(this[m(0x102)]=!![],this[m(0xf7)][m(0xff)](m(0x115)),{'success':!![],'message':this[m(0xfa)]}):(this['logger'][m(0xff)](m(0x109)),{'success':![],'message':this[m(0x10c)]});}}
@@ -1 +1 @@
1
- const a49i=a49d;function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a49d(a,b);}(function(a,b){const f=a49d,c=a();while(!![]){try{const d=parseInt(f(0x205))/0x1+-parseInt(f(0x1f8))/0x2*(parseInt(f(0x201))/0x3)+parseInt(f(0x1f5))/0x4+parseInt(f(0x1ff))/0x5*(parseInt(f(0x206))/0x6)+-parseInt(f(0x1fb))/0x7+-parseInt(f(0x214))/0x8+-parseInt(f(0x222))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x7d181));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0x20a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a[h(0x20b)]()[h(0x20d)](h(0x227))[h(0x20b)]()[h(0x1f0)](a49a)[h(0x20d)](h(0x227));});a49a();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{[a49i(0x210)]=Logger[a49i(0x22c)]();[a49i(0x200)];[a49i(0x215)];[a49i(0x21d)]=new Map();[a49i(0x221)];[a49i(0x217)];['inventory']=new Inventory();constructor(a){const j=a49i;super(),this[j(0x200)]=a[j(0x200)],this[j(0x215)]=a[j(0x215)],this['roomType']=a['roomType']||RoomType[j(0x22a)],a[j(0x21d)]&&(this[j(0x21d)]=a[j(0x21d)]||new Map()),a[j(0x21c)]&&(this[j(0x21c)]=a[j(0x21c)]),a[j(0x216)]&&(this[j(0x216)]=a[j(0x216)]),this['isStartRoom']=a[j(0x217)]||![],this['logger'][j(0x20f)](j(0x21b)+this['name']);}['say'](a,b){const k=a49i;this[k(0x208)](k(0x1fa),a,b);}['addExit'](a,b,c){const l=a49i;let d=this[l(0x1f2)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x21d)][l(0x1f7)](a,d),b[l(0x21d)][l(0x1f7)](this['getOppositeDirection'](a),d);}[a49i(0x1f6)](a,b){const m=a49i,c=this['exits'][m(0x225)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0x210)]['write']('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0x1f9)+d),d?m(0x212)+c[m(0x200)]+m(0x211):m(0x212)+c[m(0x200)]+m(0x1f1);}return this[m(0x210)][m(0x20f)](m(0x1f4)+a),m(0x203);}[a49i(0x219)](a){const n=a49i;return this[n(0x210)][n(0x20f)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this['exits'][n(0x225)](a);}[a49i(0x202)](a){const o=a49i,b=this[o(0x21d)][o(0x225)](a),c=b instanceof Door&&b[o(0x1ef)]();return this[o(0x210)][o(0x20f)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0x209)+c),c;}[a49i(0x220)](a){const p=a49i;this[p(0x21c)][p(0x220)](a),this[p(0x210)]['write'](p(0x218)+this[p(0x200)]+':\x20'+a['name']);}[a49i(0x226)](a){const q=a49i;this['inventory'][q(0x1f3)](a['name'])?(this['inventory'][q(0x226)](a['name']),this[q(0x210)][q(0x20f)]('Item\x20removed\x20from\x20room\x20'+this['name']+':\x20'+a[q(0x200)])):this['logger'][q(0x20f)](q(0x22b)+this[q(0x200)]+':\x20'+a[q(0x200)]);}[a49i(0x228)](a){const r=a49i;this['puzzle']=a,this[r(0x210)][r(0x20f)](r(0x223)+this[r(0x200)]+':\x20'+a[r(0x1fe)]);}[a49i(0x20e)](a){const s=a49i;switch(a){case s(0x207):return Direction[s(0x213)];case'south':return Direction[s(0x21a)];case s(0x21e):return Direction['WEST'];case s(0x224):return Direction[s(0x229)];case'up':return Direction[s(0x21f)];case s(0x20c):return Direction['UP'];default:throw new Error(s(0x204)+a);}}[a49i(0x1f2)](a){const t=a49i;for(const b of this[t(0x21d)]['values']()){if(b instanceof Door){if(b['roomA']===this&&b['roomB']===a||b[t(0x1fd)]===this&&b[t(0x1fc)]===a)return b;}}return undefined;}}function a49c(){const u=['isExitLocked','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','Invalid\x20direction:\x20','849709ikHUgy','18AkGWMD','north','emit','\x20is\x20locked.\x20Result:\x20','apply','toString','down','search','getOppositeDirection','write','logger','\x20unlocked!','The\x20','SOUTH','2888296ydoPMg','description','puzzle','isStartRoom','Item\x20added\x20to\x20room\x20','getExit','NORTH','Room\x20created:\x20','inventory','exits','east','DOWN','addItem','roomType','7147440XlNnIK','Puzzle\x20set\x20for\x20room\x20','west','get','removeItem','(((.+)+)+)+$','setPuzzle','EAST','INSIDE','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','getInstance','checkIfLocked','constructor','\x20remains\x20locked.','findExistingDoor','hasItem','No\x20locked\x20exit\x20found\x20in\x20direction\x20','3690388fSDdeg','attemptUnlockExit','set','14SMoJzE','.\x20Success:\x20','speak','3284995Nxtqny','roomA','roomB','riddle','661280UtykkN','name','13803sBQogm'];a49c=function(){return u;};return a49c();}
1
+ const a49i=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0x114))/0x1+parseInt(f(0x119))/0x2+parseInt(f(0x10b))/0x3*(-parseInt(f(0x109))/0x4)+parseInt(f(0x120))/0x5+-parseInt(f(0x118))/0x6+parseInt(f(0x11d))/0x7*(parseInt(f(0xff))/0x8)+parseInt(f(0x129))/0x9*(parseInt(f(0x116))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xd2836));function a49c(){const u=['get','isExitLocked','south','set','values','emit','3518396tBVTuK','constructor','3AvvAGj','name','Checking\x20if\x20exit\x20in\x20direction\x20','hasItem','roomA','say','Puzzle\x20set\x20for\x20room\x20','(((.+)+)+)+$','logger','43585JlKNCl','description','10966380KLQPJW','getExit','5600952GLxvLX','694100kyMtWA','inventory','Invalid\x20direction:\x20','attemptUnlock','28LYhbPk','write','puzzle','5348110lNvPEn','Fetching\x20exit\x20in\x20direction:\x20','addExit','apply','Room\x20created:\x20','checkIfLocked','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','roomB','NORTH','9HTqFOL','Item\x20added\x20to\x20room\x20','removeItem','The\x20','findExistingDoor','addItem','toString','speak','setPuzzle','getOppositeDirection','\x20is\x20locked.\x20Result:\x20','EAST','search','exits','\x20remains\x20locked.','No\x20locked\x20exit\x20found\x20in\x20direction\x20','roomType','\x20unlocked!','isStartRoom','411256UewOMm','SOUTH','Item\x20removed\x20from\x20room\x20','north'];a49c=function(){return u;};return a49c();}function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0xf7;let f=c[d];return f;},a49d(a,b);}const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a[h(0x12f)]()['search']('(((.+)+)+)+$')[h(0x12f)]()[h(0x10a)](a49a)[h(0xf8)](h(0x112));});a49a();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{[a49i(0x113)]=Logger['getInstance']();[a49i(0x10c)];['description'];[a49i(0xf9)]=new Map();[a49i(0xfc)];[a49i(0xfe)];[a49i(0x11a)]=new Inventory();constructor(a){const j=a49i;super(),this['name']=a[j(0x10c)],this[j(0x115)]=a['description'],this[j(0xfc)]=a[j(0xfc)]||RoomType['INSIDE'],a[j(0xf9)]&&(this[j(0xf9)]=a[j(0xf9)]||new Map()),a[j(0x11a)]&&(this[j(0x11a)]=a['inventory']),a['puzzle']&&(this[j(0x11f)]=a[j(0x11f)]),this[j(0xfe)]=a[j(0xfe)]||![],this['logger'][j(0x11e)](j(0x124)+this['name']);}[a49i(0x110)](a,b){const k=a49i;this[k(0x108)](k(0x130),a,b);}[a49i(0x122)](a,b,c){const l=a49i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0xf9)][l(0x106)](a,d),b[l(0xf9)][l(0x106)](this[l(0x132)](a),d);}['attemptUnlockExit'](a,b){const m=a49i,c=this[m(0xf9)][m(0x103)](a);if(c instanceof Door){const d=c[m(0x11c)](b);return this[m(0x113)][m(0x11e)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+'.\x20Success:\x20'+d),d?m(0x12c)+c[m(0x10c)]+m(0xfd):'The\x20'+c[m(0x10c)]+m(0xfa);}return this[m(0x113)][m(0x11e)](m(0xfb)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a49i(0x117)](a){const n=a49i;return this['logger'][n(0x11e)](n(0x121)+a),this[n(0xf9)][n(0x103)](a);}[a49i(0x104)](a){const o=a49i,b=this[o(0xf9)][o(0x103)](a),c=b instanceof Door&&b[o(0x125)]();return this[o(0x113)][o(0x11e)](o(0x10d)+a+o(0x133)+c),c;}[a49i(0x12e)](a){const p=a49i;this[p(0x11a)][p(0x12e)](a),this[p(0x113)][p(0x11e)](p(0x12a)+this[p(0x10c)]+':\x20'+a[p(0x10c)]);}[a49i(0x12b)](a){const q=a49i;this[q(0x11a)][q(0x10e)](a['name'])?(this[q(0x11a)][q(0x12b)](a['name']),this[q(0x113)]['write'](q(0x101)+this[q(0x10c)]+':\x20'+a[q(0x10c)])):this[q(0x113)][q(0x11e)](q(0x126)+this[q(0x10c)]+':\x20'+a[q(0x10c)]);}[a49i(0x131)](a){const r=a49i;this[r(0x11f)]=a,this[r(0x113)][r(0x11e)](r(0x111)+this[r(0x10c)]+':\x20'+a['riddle']);}[a49i(0x132)](a){const s=a49i;switch(a){case s(0x102):return Direction[s(0x100)];case s(0x105):return Direction[s(0x128)];case'east':return Direction['WEST'];case'west':return Direction[s(0xf7)];case'up':return Direction['DOWN'];case'down':return Direction['UP'];default:throw new Error(s(0x11b)+a);}}[a49i(0x12d)](a){const t=a49i;for(const b of this['exits'][t(0x107)]()){if(b instanceof Door){if(b[t(0x10f)]===this&&b['roomB']===a||b[t(0x127)]===this&&b[t(0x10f)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x7a;let f=c[d];return f;},a50d(a,b);}const a50l=a50d;(function(a,b){const i=a50d,c=a();while(!![]){try{const d=-parseInt(i(0xc6))/0x1+-parseInt(i(0xa3))/0x2*(parseInt(i(0xcc))/0x3)+parseInt(i(0xc4))/0x4*(parseInt(i(0xb4))/0x5)+-parseInt(i(0x8b))/0x6+parseInt(i(0x8c))/0x7+-parseInt(i(0x8d))/0x8+-parseInt(i(0x84))/0x9*(-parseInt(i(0x91))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xbbb0e));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a50d;if(c){const e=c[j(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const k=a50d;return a50a['toString']()[k(0xbc)](k(0xa5))[k(0x96)]()[k(0x9a)](a50a)[k(0xbc)](k(0xa5));});a50a();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{[a50l(0x97)];['player'];['logger'];[a50l(0x99)];['characterLocations']=new Map();[a50l(0xb6)];constructor(a){const m=a50l;super(),this[m(0xb6)]=new RoomFactory(),this[m(0x9f)]=a['player'],this['rooms']=this['generateRoomsFromConfig'](a[m(0x8a)]),this['logger']=Logger[m(0x83)](),this[m(0x99)]=new Map(),this[m(0x80)](a['roomConfiguration']),this[m(0x7e)][m(0xb5)](m(0x88)+Object[m(0xcb)](this[m(0x97)])[m(0xaf)](',\x20'));}[a50l(0x7c)](){const n=a50l;this[n(0x9f)][n(0x7a)]=this[n(0x9b)]();}[a50l(0x81)](a){const o=a50l;if(!this['roomFactory'])throw new Error(o(0xa1));const b={};for(const c of a){const d=this[o(0xb6)][o(0x95)](c);b[c[o(0x9c)]]=d;}return b;}[a50l(0x80)](a){const p=a50l;for(const b of a){const c=this[p(0x97)][b['name']];if(b[p(0xab)])for(const d of b['exits']){const e=d[p(0xc3)]['toUpperCase'](),f=d[p(0x9d)],g=d[p(0xc2)],h=this['rooms'][f];h&&c[p(0xb1)](Direction[e],h,g);}}}[a50l(0x92)](a){const q=a50l;if(this[q(0x99)]['has'](a['name']))throw new Error(q(0xb3)+a[q(0x9c)]+q(0xac));this['actors']['set'](a[q(0x9c)],a);}[a50l(0x89)](a){const r=a50l;if(!this['actors'][r(0xc8)](a))throw new Error(r(0xa9)+a+r(0x7b));this[r(0x99)][r(0xaa)](a);}[a50l(0xc0)](a){const s=a50l;return this[s(0x99)][s(0xa8)](a);}get['allActors'](){const t=a50l;return Array[t(0xa4)](this['actors'][t(0xae)]());}[a50l(0x8f)](a){const u=a50l;this[u(0x97)][a[u(0x9c)]]=a,this[u(0x7e)][u(0xb5)](u(0x93)+a['name']);}[a50l(0x94)](a){const v=a50l;return this[v(0x97)][a]?(delete this[v(0x97)][a],this[v(0x7e)][v(0xb5)](v(0xbd)+a),!![]):(this[v(0x7e)][v(0xb5)](v(0x7f)+a),![]);}[a50l(0xb2)](a,b){const w=a50l,c=this[w(0x97)][b];c?(c[w(0xc5)](a),this[w(0x7e)][w(0xb5)]('Added\x20item\x20'+a[w(0x9c)]+w(0xc7)+c[w(0x9c)])):this[w(0x7e)][w(0xb5)]('Failed\x20to\x20add\x20item\x20'+a['name']+w(0x85)+b+w(0x82));}[a50l(0xa7)](a,b){const x=a50l,c=this[x(0x97)][b];c?(c[x(0x98)](a),this[x(0x7e)][x(0xb5)]('Added\x20puzzle\x20to\x20room\x20'+c[x(0x9c)])):this[x(0x7e)][x(0xb5)](x(0xb0)+b+x(0x82));}[a50l(0xc1)](a,b){const y=a50l,c=this[y(0x97)][b];c?(this[y(0x90)][y(0xcd)](a[y(0x9c)],c),this['logger']['write'](a[y(0x9c)]+y(0x8e)+c[y(0x9c)])):this['logger'][y(0xb5)](y(0x86)+a[y(0x9c)]+y(0xb8)+b+y(0x82));}[a50l(0xb9)](a){const z=a50l;return this[z(0x90)][z(0xa8)](a[z(0x9c)]);}[a50l(0x9b)](){const A=a50l,a=[];for(const c in this['rooms']){if(this[A(0x97)][A(0xa0)](c)){const d=this['rooms'][c];d[A(0xad)]&&a[A(0x7d)](d);}}if(a['length']>0x1)throw new Error(A(0x9e));if(a[A(0xbe)]===0x1)return a[0x0];const b=Object['keys'](this[A(0x97)]);if(b[A(0xbe)]===0x0)throw new Error(A(0xa6));return console[A(0xbf)](A(0x87)),this[A(0x97)][b[0x0]];}[a50l(0xc9)](){return this['player'];}[a50l(0xbb)](){return this['rooms'];}[a50l(0xca)](a,b,c,d){const B=a50l,e=this[B(0x97)][a],f=this['rooms'][c];if(!e)throw new Error('Room\x20\x22'+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(B(0xb7)+c+B(0xa2));e[B(0xb1)](b,f,d);}}function a50c(){const C=['6921dOqgYO','.\x20Room\x20','Failed\x20to\x20set\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','Scene\x20initialized\x20with\x20rooms:\x20','removeActor','roomConfiguration','1663830tUxKsP','2963016ZEkSZk','2869768IUSKee','\x20is\x20now\x20in\x20room\x20','addRoom','characterLocations','18650QUzaGA','addActor','Added\x20room\x20to\x20scene:\x20','removeRoom','createRoom','toString','rooms','setPuzzle','actors','constructor','determineStartRoom','name','targetRoom','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','player','hasOwnProperty','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','\x22\x20does\x20not\x20exist.','15206pMQSje','from','(((.+)+)+)+$','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','addPuzzleToRoom','get','No\x20actor\x20with\x20name\x20','delete','exits','\x20already\x20exists\x20in\x20the\x20scene.','isStartRoom','values','join','Failed\x20to\x20add\x20puzzle.\x20Room\x20','addExit','addItemToRoom','Actor\x20with\x20name\x20','10WNasGJ','write','roomFactory','Room\x20\x22','\x27s\x20location.\x20Room\x20','getCharacterLocation','apply','getRooms','search','Removed\x20room\x20from\x20scene:\x20','length','warn','getActor','setCharacterLocation','keyRequired','direction','294632lrDntm','addItem','265449BCGLxe','\x20to\x20room\x20','has','getPlayer','connectRooms','keys','132fWfjzy','set','currentLocation','\x20found\x20in\x20the\x20scene.','initialize','push','logger','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','createExitsFromConfig','generateRoomsFromConfig','\x20not\x20found\x20in\x20scene.','getInstance'];a50c=function(){return C;};return a50c();}
1
+ const a50l=a50d;(function(a,b){const i=a50d,c=a();while(!![]){try{const d=-parseInt(i(0x7a))/0x1*(-parseInt(i(0xbc))/0x2)+parseInt(i(0x9a))/0x3*(-parseInt(i(0x90))/0x4)+-parseInt(i(0x80))/0x5*(-parseInt(i(0x7b))/0x6)+-parseInt(i(0x70))/0x7+-parseInt(i(0x9b))/0x8*(-parseInt(i(0x9f))/0x9)+parseInt(i(0x8c))/0xa*(-parseInt(i(0x75))/0xb)+parseInt(i(0x7c))/0xc*(parseInt(i(0x97))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x664b4));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x6d;let f=c[d];return f;},a50d(a,b);}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a50d;if(c){const e=c[j(0x8f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const k=a50d;return a50a[k(0x88)]()[k(0xbd)](k(0xa8))[k(0x88)]()[k(0x92)](a50a)[k(0xbd)](k(0xa8));});a50a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a50c(){const E=['(((.+)+)+)+$','direction','name','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','join','Room\x20\x22','isStartRoom','removeRoom','write','addExit','player','Failed\x20to\x20add\x20item\x20','Added\x20room\x20to\x20scene:\x20','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','warn','keyRequired','logger','\x20not\x20found\x20in\x20scene.','roomFactory','\x20to\x20room\x20','4fIOxGp','search','setPuzzle','initialize','Failed\x20to\x20set\x20','\x22\x20does\x20not\x20exist.','2102730jtSUJC','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','length','getActor','\x20is\x20now\x20in\x20room\x20','28248gSLviS','Added\x20item\x20','has','getRooms','addItemToRoom','61059VjSWzp','2034wfjtpA','84EafYoy','\x20found\x20in\x20the\x20scene.','createRoom','push','5090UTXRlk','values','generateRoomsFromConfig','addPuzzleToRoom','actors','getCharacterLocation','allActors','rooms','toString','setCharacterLocation','getInstance','hasOwnProperty','750whNoPp','createExitsFromConfig','set','apply','3059356pnvctv','\x27s\x20location.\x20Room\x20','constructor','toUpperCase','removeActor','Actor\x20with\x20name\x20','Scene\x20initialized\x20with\x20rooms:\x20','1556399JkalFj','keys','.\x20Room\x20','3yOldkX','16dkkTQm','connectRooms','getPlayer','get','1671948oKUYEF','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','roomConfiguration','exits','characterLocations','determineStartRoom','delete','currentLocation','addActor'];a50c=function(){return E;};return a50c();}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];['player'];[a50l(0xb8)];[a50l(0x84)];[a50l(0xa3)]=new Map();['roomFactory'];constructor(a){const m=a50l;super(),this[m(0xba)]=new RoomFactory(),this['player']=a['player'],this[m(0x87)]=this['generateRoomsFromConfig'](a['roomConfiguration']),this[m(0xb8)]=Logger[m(0x8a)](),this[m(0x84)]=new Map(),this[m(0x8d)](a[m(0xa1)]),this['logger'][m(0xb0)](m(0x96)+Object[m(0x98)](this[m(0x87)])[m(0xac)](',\x20'));}[a50l(0x6d)](){const n=a50l;this['player'][n(0xa6)]=this['determineStartRoom']();}[a50l(0x82)](a){const o=a50l;if(!this[o(0xba)])throw new Error(o(0xab));const b={};for(const c of a){const d=this['roomFactory'][o(0x7e)](c);b[c[o(0xaa)]]=d;}return b;}[a50l(0x8d)](a){const p=a50l;for(const b of a){const c=this[p(0x87)][b[p(0xaa)]];if(b[p(0xa2)])for(const d of b[p(0xa2)]){const e=d[p(0xa9)][p(0x93)](),f=d['targetRoom'],g=d[p(0xb7)],h=this[p(0x87)][f];h&&c[p(0xb1)](Direction[e],h,g);}}}[a50l(0xa7)](a){const q=a50l;if(this[q(0x84)]['has'](a[q(0xaa)]))throw new Error(q(0x95)+a[q(0xaa)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x84)][q(0x8e)](a[q(0xaa)],a);}[a50l(0x94)](a){const r=a50l;if(!this[r(0x84)][r(0x77)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x7d));this[r(0x84)][r(0xa5)](a);}[a50l(0x73)](a){const s=a50l;return this['actors'][s(0x9e)](a);}get[a50l(0x86)](){const t=a50l;return Array['from'](this[t(0x84)][t(0x81)]());}['addRoom'](a){const u=a50l;this[u(0x87)][a[u(0xaa)]]=a,this[u(0xb8)][u(0xb0)](u(0xb4)+a[u(0xaa)]);}[a50l(0xaf)](a){const v=a50l;return this['rooms'][a]?(delete this[v(0x87)][a],this[v(0xb8)][v(0xb0)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0xb8)]['write'](v(0xb5)+a),![]);}[a50l(0x79)](a,b){const w=a50l,c=this[w(0x87)][b];c?(c['addItem'](a),this[w(0xb8)][w(0xb0)](w(0x76)+a[w(0xaa)]+w(0xbb)+c[w(0xaa)])):this[w(0xb8)][w(0xb0)](w(0xb3)+a[w(0xaa)]+w(0x99)+b+'\x20not\x20found\x20in\x20scene.');}[a50l(0x83)](a,b){const x=a50l,c=this['rooms'][b];c?(c[x(0xbe)](a),this[x(0xb8)]['write']('Added\x20puzzle\x20to\x20room\x20'+c[x(0xaa)])):this[x(0xb8)][x(0xb0)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a50l(0x89)](a,b){const y=a50l,c=this[y(0x87)][b];c?(this[y(0xa3)][y(0x8e)](a['name'],c),this[y(0xb8)]['write'](a['name']+y(0x74)+c[y(0xaa)])):this['logger'][y(0xb0)](y(0x6e)+a[y(0xaa)]+y(0x91)+b+y(0xb9));}[a50l(0x85)](a){const z=a50l;return this[z(0xa3)]['get'](a[z(0xaa)]);}[a50l(0xa4)](){const A=a50l,a=[];for(const c in this['rooms']){if(this[A(0x87)][A(0x8b)](c)){const d=this[A(0x87)][c];d[A(0xae)]&&a[A(0x7f)](d);}}if(a['length']>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[A(0x72)]===0x1)return a[0x0];const b=Object[A(0x98)](this['rooms']);if(b[A(0x72)]===0x0)throw new Error(A(0x71));return console[A(0xb6)](A(0xa0)),this[A(0x87)][b[0x0]];}[a50l(0x9d)](){const B=a50l;return this[B(0xb2)];}[a50l(0x78)](){const C=a50l;return this[C(0x87)];}[a50l(0x9c)](a,b,c,d){const D=a50l,e=this[D(0x87)][a],f=this[D(0x87)][c];if(!e)throw new Error(D(0xad)+a+D(0x6f));if(!f)throw new Error(D(0xad)+c+D(0x6f));e[D(0xb1)](b,f,d);}}
@@ -1 +1 @@
1
- var a51j=a51d;(function(a,b){var f=a51d,c=a();while(!![]){try{var d=-parseInt(f(0xaf))/0x1*(parseInt(f(0x87))/0x2)+parseInt(f(0x80))/0x3*(parseInt(f(0xa2))/0x4)+parseInt(f(0x9e))/0x5+-parseInt(f(0x98))/0x6+parseInt(f(0x89))/0x7+parseInt(f(0xa3))/0x8+parseInt(f(0x94))/0x9*(-parseInt(f(0x90))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xc3539));var a51b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a51d;if(c){var e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){var h=a51d;return a51a[h(0xad)]()[h(0x9f)](h(0xb4))[h(0xad)]()['constructor'](a51a)[h(0x9f)](h(0xb4));});a51a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a51d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[i(0xa7)],'shape':Shape[i(0xa4)],'color':Color['Yellow'],'texture':Texture[i(0x86)],'rating':Rating[i(0xb0)],'weight':0x1});}[a51j(0x8b)](){var k=a51j;return this[k(0xac)];}}export class Sword extends Item{constructor(a,b){var l=a51j;super({'name':a,'description':b,'size':Size[l(0x8f)],'category':Category[l(0x8d)],'shape':Shape['Blade'],'color':Color['Grey'],'texture':Texture[l(0x8a)],'rating':Rating[l(0xb0)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a51j;super({'name':a,'description':b,'size':Size[m(0x83)],'category':Category[m(0x8d)],'shape':Shape[m(0xb1)],'color':Color['Brown'],'texture':Texture[m(0x8a)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a51j;super({'name':a,'description':b,'size':Size[n(0x8f)],'category':Category['Helmet'],'shape':Shape[n(0xa6)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[n(0xb0)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a51j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[o(0xb2)],'shape':Shape[o(0xa4)],'color':Color[o(0xb3)],'texture':Texture[o(0x8a)],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a51j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['LegArmor'],'shape':Shape['Rectangle'],'color':Color[p(0xb3)],'texture':Texture['Metallic'],'rating':Rating[p(0xb0)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a51j;super({'name':a,'description':b,'size':Size[q(0x8f)],'category':Category[q(0x84)],'shape':Shape[q(0xa6)],'color':Color[q(0x96)],'texture':Texture[q(0x86)],'rating':Rating[q(0xb0)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a51j;super({'name':a,'description':b,'size':Size[r(0x9a)],'category':Category['Gloves'],'shape':Shape[r(0xa6)],'color':Color['Brown'],'texture':Texture[r(0x86)],'rating':Rating[r(0xb0)],'weight':0x1});}}function a51d(a,b){var c=a51c();return a51d=function(d,e){d=d-0x80;var f=c[d];return f;},a51d(a,b);}export class Gauntlets extends Item{constructor(a,b){var s=a51j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[s(0xa8)],'shape':Shape[s(0xa4)],'color':Color[s(0xb3)],'texture':Texture[s(0x8a)],'rating':Rating[s(0xb0)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a51j;super({'name':a,'description':b,'size':Size[t(0x8e)],'category':Category[t(0xae)],'shape':Shape[t(0xa4)],'color':Color[t(0xa5)],'texture':Texture[t(0x86)],'rating':Rating[t(0xb0)],'weight':0x0});}[a51j(0x8b)](){var u=a51j;return u(0x85);}}function a51c(){var E=['Metallic','use','Legendary','Weapon','Tiny','Medium','90HRKURd','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Blade','1318059TosyKL','author','Brown','A\x20mysterious\x20book.','7624896hwElUR','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Small','You\x20hold\x20the\x20','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Sniper\x20Rifle','4480700nRmWYv','search','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','apply','8dshidI','11349184xaXzSo','Rectangle','Yellow','Circle','Unknown','ArmArmor','Book','Gold','pageCount','description','toString','Key','1qWiCZv','Common','Rifle','BodyArmor','Grey','(((.+)+)+)+$','1547178ZtQfNX','Holy\x20Grail','Cup','Large','Boots','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Smooth','2064772LoChwI','publishDate','7525546gTrmZx'];a51c=function(){return E;};return a51c();}export class Weapon extends Item{constructor(a,b){var v=a51j;super({'name':a,'description':b,'size':Size[v(0x8f)],'category':Category['Weapon'],'shape':Shape['Blade'],'color':Color[v(0xb3)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}[a51j(0x8b)](){var w=a51j;return w(0xa0);}}export class Book extends Item{[a51j(0x95)];[a51j(0x88)];[a51j(0xab)];constructor(a,b=a51j(0x97),c='Unknown\x20Author'){var x=a51j;super({'name':a,'description':b,'size':Size[x(0x8f)],'category':Category[x(0xa9)],'shape':Shape[x(0xa4)],'color':Color[x(0x96)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x1}),this['author']=c,this[x(0x88)]=new Date(),this[x(0xab)]=0x64;}[a51j(0x8b)](){var y=a51j;return y(0x91);}}export class ShortSword extends Item{constructor(){var z=a51j;super({'name':'Short\x20Sword','description':'A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','size':Size['Medium'],'category':Category[z(0x8d)],'shape':Shape[z(0x93)],'color':Color[z(0xb3)],'texture':Texture[z(0x8a)],'rating':Rating[z(0xb0)],'weight':0x3});}[a51j(0x8b)](){var A=a51j;return A(0xa0);}}export class SniperRifle extends Item{constructor(){var B=a51j;super({'name':B(0x9d),'description':B(0x99),'size':Size[B(0x83)],'category':Category['Weapon'],'shape':Shape['Rifle'],'color':Color['Brown'],'texture':Texture[B(0x86)],'rating':Rating[B(0xb0)],'weight':0x5});}['use'](){return'You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22';}}export class HolyGrail extends Item{constructor(){var C=a51j;super({'name':C(0x81),'description':C(0x92),'size':Size[C(0x9a)],'category':Category[C(0x82)],'shape':Shape[C(0xa6)],'color':Color[C(0xaa)],'texture':Texture[C(0x8a)],'rating':Rating[C(0x8c)],'weight':0x1});}[a51j(0x8b)](){var D=a51j;return D(0x9b)+this['name']+D(0x9c);}}
1
+ var a51i=a51d;(function(a,b){var f=a51d,c=a();while(!![]){try{var d=parseInt(f(0x111))/0x1+-parseInt(f(0x10c))/0x2*(-parseInt(f(0x10d))/0x3)+parseInt(f(0x102))/0x4+-parseInt(f(0xee))/0x5*(parseInt(f(0xeb))/0x6)+parseInt(f(0x104))/0x7*(-parseInt(f(0xf8))/0x8)+parseInt(f(0x112))/0x9*(-parseInt(f(0x116))/0xa)+parseInt(f(0x101))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xd1079));var a51b=(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;};}()),a51a=a51b(this,function(){var g=a51d;return a51a[g(0x109)]()[g(0xff)](g(0x108))[g(0x109)]()[g(0x105)](a51a)[g(0xff)]('(((.+)+)+)+$');});a51a();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=a51d;super({'name':a,'description':b,'size':Size[h(0x121)],'category':Category['Unknown'],'shape':Shape['Rectangle'],'color':Color[h(0x10b)],'texture':Texture[h(0xf4)],'rating':Rating[h(0x115)],'weight':0x1});}[a51i(0x122)](){return this['description'];}}export class Sword extends Item{constructor(a,b){var j=a51i;super({'name':a,'description':b,'size':Size[j(0x121)],'category':Category['Weapon'],'shape':Shape[j(0xf9)],'color':Color[j(0x114)],'texture':Texture[j(0x10a)],'rating':Rating[j(0x115)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var k=a51i;super({'name':a,'description':b,'size':Size[k(0x11c)],'category':Category[k(0x10f)],'shape':Shape[k(0x110)],'color':Color['Brown'],'texture':Texture['Metallic'],'rating':Rating[k(0xf3)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var l=a51i;super({'name':a,'description':b,'size':Size[l(0x121)],'category':Category['Helmet'],'shape':Shape[l(0x119)],'color':Color[l(0x114)],'texture':Texture[l(0x10a)],'rating':Rating[l(0x115)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var m=a51i;super({'name':a,'description':b,'size':Size['Large'],'category':Category[m(0x11f)],'shape':Shape[m(0xfb)],'color':Color[m(0x114)],'texture':Texture['Metallic'],'rating':Rating[m(0x115)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var n=a51i;super({'name':a,'description':b,'size':Size[n(0x121)],'category':Category[n(0xf0)],'shape':Shape['Rectangle'],'color':Color[n(0x114)],'texture':Texture[n(0x10a)],'rating':Rating[n(0x115)],'weight':0x6});}}function a51d(a,b){var c=a51c();return a51d=function(d,e){d=d-0xeb;var f=c[d];return f;},a51d(a,b);}export class Boots extends Item{constructor(a,b){var o=a51i;super({'name':a,'description':b,'size':Size[o(0x121)],'category':Category[o(0xfe)],'shape':Shape[o(0x119)],'color':Color['Brown'],'texture':Texture[o(0xf4)],'rating':Rating[o(0x115)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var p=a51i;super({'name':a,'description':b,'size':Size[p(0xf1)],'category':Category[p(0xef)],'shape':Shape[p(0x119)],'color':Color['Brown'],'texture':Texture[p(0xf4)],'rating':Rating['Common'],'weight':0x1});}}function a51c(){var D=['publishDate','Grey','Common','9988210EDGvoo','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Circle','Book','Brown','Large','author','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','BodyArmor','ArmArmor','Medium','use','Gold','9138288LpPPmT','A\x20mysterious\x20book.','Key','5aBImdC','Gloves','LegArmor','Small','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Rare','Smooth','Holy\x20Grail','name','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','16wpmjtw','Blade','Short\x20Sword','Rectangle','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Tiny','Boots','search','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','38031554sTUSnh','2481364IPzenQ','You\x20hold\x20the\x20','5578979skcgGz','constructor','pageCount','Sniper\x20Rifle','(((.+)+)+)+$','toString','Metallic','Yellow','26xKAnAW','7071VbkBxQ','Legendary','Weapon','Rifle','863652kkWTob','9BpcxZL'];a51c=function(){return D;};return a51c();}export class Gauntlets extends Item{constructor(a,b){var q=a51i;super({'name':a,'description':b,'size':Size[q(0x121)],'category':Category[q(0x120)],'shape':Shape[q(0xfb)],'color':Color[q(0x114)],'texture':Texture[q(0x10a)],'rating':Rating[q(0x115)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var r=a51i;super({'name':a,'description':b,'size':Size[r(0xfd)],'category':Category[r(0xed)],'shape':Shape[r(0xfb)],'color':Color[r(0x10b)],'texture':Texture[r(0xf4)],'rating':Rating[r(0x115)],'weight':0x0});}[a51i(0x122)](){var s=a51i;return s(0xf2);}}export class Weapon extends Item{constructor(a,b){var t=a51i;super({'name':a,'description':b,'size':Size[t(0x121)],'category':Category[t(0x10f)],'shape':Shape['Blade'],'color':Color[t(0x114)],'texture':Texture[t(0x10a)],'rating':Rating[t(0x115)],'weight':0x3});}[a51i(0x122)](){var u=a51i;return u(0x100);}}export class Book extends Item{['author'];[a51i(0x113)];['pageCount'];constructor(a,b=a51i(0xec),c='Unknown\x20Author'){var v=a51i;super({'name':a,'description':b,'size':Size[v(0x121)],'category':Category[v(0x11a)],'shape':Shape[v(0xfb)],'color':Color[v(0x11b)],'texture':Texture[v(0xf4)],'rating':Rating[v(0x115)],'weight':0x1}),this[v(0x11d)]=c,this['publishDate']=new Date(),this[v(0x106)]=0x64;}['use'](){var w=a51i;return w(0xfc);}}export class ShortSword extends Item{constructor(){var x=a51i;super({'name':x(0xfa),'description':x(0xf7),'size':Size['Medium'],'category':Category['Weapon'],'shape':Shape['Blade'],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[x(0x115)],'weight':0x3});}[a51i(0x122)](){var y=a51i;return y(0x100);}}export class SniperRifle extends Item{constructor(){var z=a51i;super({'name':z(0x107),'description':z(0x117),'size':Size[z(0x11c)],'category':Category['Weapon'],'shape':Shape['Rifle'],'color':Color[z(0x11b)],'texture':Texture[z(0xf4)],'rating':Rating[z(0x115)],'weight':0x5});}[a51i(0x122)](){var A=a51i;return A(0x11e);}}export class HolyGrail extends Item{constructor(){var B=a51i;super({'name':B(0xf5),'description':B(0x118),'size':Size[B(0xf1)],'category':Category['Cup'],'shape':Shape[B(0x119)],'color':Color[B(0x123)],'texture':Texture['Metallic'],'rating':Rating[B(0x10e)],'weight':0x1});}[a51i(0x122)](){var C=a51i;return C(0x103)+this[C(0xf6)]+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}
@@ -1 +1 @@
1
- const a53i=a53d;function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x7c;let f=c[d];return f;},a53d(a,b);}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xa5))/0x1*(parseInt(f(0x8b))/0x2)+parseInt(f(0x80))/0x3+parseInt(f(0xed))/0x4+-parseInt(f(0xb1))/0x5+parseInt(f(0x96))/0x6*(parseInt(f(0xd4))/0x7)+-parseInt(f(0x7c))/0x8*(-parseInt(f(0x93))/0x9)+parseInt(f(0xe4))/0xa*(-parseInt(f(0xac))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x22ed7));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xdd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0xc3)]()[h(0xb7)]('(((.+)+)+)+$')['toString']()[h(0xd5)](a53a)[h(0xb7)](h(0xa9));});function a53c(){const j=['To\x20enter\x20deeper\x20into\x20the\x20Barrens,\x20you\x20must\x20show\x20allegiance\x20to\x20one\x20of\x20the\x20gangs.','Rows\x20of\x20ancient\x20weapons\x20and\x20armors.','A\x20key\x20stained\x20with\x20old\x20blood.','Mage\x27s\x20Lair','Gang\x20Insignia','Holy\x20Grail','A\x20room\x20filled\x20with\x20potions,\x20beakers,\x20and\x20an\x20enchantment\x20circle.','The\x20chest\x20remains\x20firmly\x20shut.','Glittering\x20treasures\x20from\x20floor\x20to\x20ceiling.','Speak\x20the\x20ancient\x20phrase\x20to\x20unlock\x20the\x20Central\x20Chamber.','658vntRKe','The\x20outskirts\x20of\x20the\x20lawless\x20Redmond\x20Barrens.\x20Gang\x20graffiti\x20is\x20everywhere.','Speak\x20the\x20word\x20to\x20free\x20the\x20ghost.','release','rifle','A\x20grand\x20entrance\x20with\x20huge\x20wooden\x20doors\x20behind\x20and\x20a\x20dimly\x20lit\x20corridor\x20ahead.','Alchemy\x20Lab','Guard\x27s\x20Log\x20Book','549aIIklK','outside','insert\x20gem','6WjaYYy','holyGrail','The\x20gang\x20members\x20block\x20your\x20way,\x20suspicious\x20of\x20your\x20motives.','gem','A\x20virtual\x20portal\x20in\x20the\x20Matrix.\x20Glowing\x20neon\x20lights\x20everywhere,\x20with\x20digital\x20sprites\x20zipping\x20by.','An\x20old\x20and\x20rusted\x20sword.','The\x20data\x20stream\x20reveals\x20a\x20location:\x20Downtown\x20Seattle.','Ancient\x20Gem','A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','weapon','Armory','Central\x20Chamber\x20Key','A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','A\x20powerful\x20amulet\x20said\x20to\x20wake\x20spirits\x20from\x20slumber.','5SRklUh','A\x20small\x20surveillance\x20drone.','A\x20shield\x20with\x20the\x20emblem\x20of\x20the\x20dungeon.','Treasure\x20Room','(((.+)+)+)+$','Corp\x20Enclave','west','11XDuxQQ','The\x20chains\x20rattle\x20ominously,\x20but\x20nothing\x20else\x20happens.','decrypt','Downtown\x20Seattle','The\x20data\x20remains\x20encrypted.','1349545SiUGDG','Amulet\x20of\x20Awakening','Corporate\x20Creditstick','Dark,\x20grim\x20with\x20chains\x20on\x20walls\x20and\x20an\x20eerie\x20silence.','Matrix\x20Data\x20Haven','You\x20pull\x20the\x20sniper\x20rifle\x20from\x20the\x20gun\x20cabinet.\x20\x20Just\x20as\x20you\x20do,\x20you\x20hear\x20a\x20guy\x20from\x20the\x20Courtyard\x20yell\x20\x22HEY!\x20WHAT\x27S\x20YA\x20NAME?!\x22','search','A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.','shield','Drones\x20and\x20vehicles\x20being\x20modified,\x20tools\x20everywhere,\x20and\x20a\x20rigger\x20jacked\x20in\x20to\x20a\x20command\x20console.','The\x20gang\x20members\x20nod\x20and\x20let\x20you\x20pass\x20deeper\x20into\x20the\x20Barrens.','A\x20digital\x20realm\x20with\x20information\x20streams\x20flowing\x20like\x20rivers.','Nothing\x20happens.','A\x20thin\x20log\x20book','cup','A\x20large\x20circular\x20room\x20with\x20four\x20doors.','Study','NORTH','toString','The\x20rain-soaked\x20streets\x20of\x20Seattle\x20with\x20neon\x20lights\x20reflecting\x20off\x20wet\x20pavement.\x20The\x20distant\x20sound\x20of\x20corporate\x20security\x20drones\x20can\x20be\x20heard.','show\x20loyalty','disenchant','down','A\x20badge\x20proving\x20your\x20loyalty\x20to\x20one\x20of\x20the\x20Barrens\x27\x20gangs.','south','Encrypted\x20Data\x20Key','A\x20gem\x20radiating\x20a\x20mysterious\x20aura.','A\x20popular\x20heavy\x20pistol\x20among\x20shadowrunners.','Barrens\x20Hideout','OUTSIDE','Jackpoint\x20Login','Torture\x20Chamber','The\x20chest\x20unlocks\x20revealing\x20the\x20chalice.','key','basic','1448209oDqiQy','constructor','amulet','Central\x20Chamber','Riddle\x20Book','creditstick','EAST','A\x20long-range\x20weapon.','document','apply','CorpSec\x20Plans','Sniper\x20Rifle','A\x20chalice\x20made\x20of\x20pure\x20gold.','Empty\x20vial','east','The\x20high-security\x20corporate\x20zone,\x20complete\x20with\x20looming\x20skyscrapers\x20and\x20security\x20checkpoints.','3723530hCSZhL','book','inside','Golden\x20Chalice','secret123','Rusted\x20Sword','Barrens\x20Entrance','A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]','Watch\x20Tower','947676PuVCAc','A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','Golden\x20Key','The\x20gate\x20slowly\x20opens\x20revealing\x20the\x20path\x20to\x20the\x20Central\x20Chamber.','Blood-stained\x20Key','A\x20hidden\x20alley\x20in\x20the\x20Barrens\x20where\x20shadowrunners\x20meet\x20up\x20for\x20covert\x20jobs.','The\x20legendary\x20Holy\x20Grail.','open\x20sesame','north','A\x20quiet\x20room\x20filled\x20with\x20bookshelves,\x20a\x20large\x20desk,\x20and\x20scattered\x20papers.','Entrance\x20Hall','Emblem\x20Shield','MCT\x20Fly-Spy','22664xyXiin','Unlock\x20the\x20encrypted\x20data\x20to\x20receive\x20your\x20next\x20mission.','A\x20key\x20made\x20of\x20pure\x20digital\x20energy.','Detailed\x20security\x20plans\x20for\x20a\x20corporate\x20building.','511053auABRF'];a53c=function(){return j;};return a53c();}a53a();export const rooms=[{'name':'Library','description':a53i(0xeb),'isStartRoom':!![],'items':[{'type':a53i(0xd2),'name':'Golden\x20Key','description':a53i(0xee)},{'type':a53i(0xe5),'name':a53i(0x92),'description':a53i(0xbe),'content':'Chad\x20the\x20stupid\x20guard'}],'exits':[{'direction':a53i(0xda),'targetRoom':'Secret\x20Passage'}]},{'name':'Secret\x20Passage','description':a53i(0x9f),'exits':[{'direction':a53i(0xc2),'targetRoom':a53i(0xa8),'keyRequired':a53i(0xef)},{'direction':'SOUTH','targetRoom':'Courtyard'}]},{'name':a53i(0xa8),'description':'A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','items':[{'type':a53i(0x97),'name':a53i(0x86),'description':a53i(0xf3)}]},{'name':'Courtyard','description':a53i(0x9e),'roomType':'OUTSIDE','exits':[{'direction':'UP','targetRoom':a53i(0xec)}]},{'name':a53i(0xec),'description':'A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','roomType':a53i(0xce),'puzzle':{'requiredPhrase':a53i(0xe8),'riddle':a53i(0xa3),'rewardItem':{'type':a53i(0x8f),'name':a53i(0xdf),'description':a53i(0xdb)},'successMessage':a53i(0xb6),'failureMessage':'That\x20passcode\x20is\x20incorrect'}}];export const dungeonConfig=[{'name':a53i(0xf7),'description':a53i(0x90),'isStartRoom':!![],'roomType':a53i(0xe6),'puzzle':{'requiredPhrase':a53i(0xf4),'riddle':a53i(0x8a),'rewardItem':{'type':a53i(0xd2),'name':a53i(0xa2),'description':a53i(0xb8)},'successMessage':a53i(0xf0),'failureMessage':a53i(0xbd)},'exits':[{'direction':a53i(0xf5),'targetRoom':a53i(0xc1)},{'direction':a53i(0xe2),'targetRoom':'Central\x20Chamber','keyRequired':a53i(0xa2)}]},{'name':a53i(0xc1),'description':a53i(0xf6),'roomType':'inside','items':[{'type':a53i(0xe5),'name':a53i(0xd8),'description':'A\x20book\x20containing\x20a\x20mysterious\x20riddle.','content':'When\x20is\x20a\x20door\x20not\x20a\x20door?\x20When\x20it\x27s\x20ajar!'},{'type':a53i(0xd2),'name':'Central\x20Chamber\x20Key','description':a53i(0xb8)}],'exits':[{'direction':a53i(0xc9),'targetRoom':'Entrance\x20Hall'},{'direction':a53i(0xe2),'targetRoom':a53i(0x91)}]},{'name':a53i(0x91),'description':a53i(0x87),'roomType':a53i(0xe6),'items':[{'type':a53i(0xd3),'name':a53i(0xe1),'description':'A\x20clear\x20glass\x20vial.'}],'exits':[{'direction':a53i(0xab),'targetRoom':a53i(0xc1)},{'direction':a53i(0xf5),'targetRoom':a53i(0xa1)}]},{'name':a53i(0xa1),'description':a53i(0x82),'roomType':'inside','items':[{'type':a53i(0xb9),'name':a53i(0xf8),'description':a53i(0xa7)},{'type':'sword','name':a53i(0xe9),'description':a53i(0x9b)}],'exits':[{'direction':a53i(0xc9),'targetRoom':'Alchemy\x20Lab'},{'direction':'east','targetRoom':a53i(0xd7)}]},{'name':a53i(0xd7),'description':a53i(0xc0),'roomType':a53i(0xe6),'exits':[{'direction':'west','targetRoom':a53i(0xa1)},{'direction':a53i(0xc9),'targetRoom':a53i(0xf7)},{'direction':a53i(0xf5),'targetRoom':a53i(0xd0)},{'direction':a53i(0xe2),'targetRoom':a53i(0xa8)}]},{'name':a53i(0xd0),'description':a53i(0xb4),'roomType':a53i(0xe6),'items':[{'type':a53i(0xd2),'name':a53i(0xf1),'description':a53i(0x83)}],'puzzle':{'requiredPhrase':a53i(0x8e),'riddle':a53i(0x8d),'rewardItem':{'type':a53i(0x99),'name':a53i(0x9d),'description':a53i(0xcb)},'successMessage':'The\x20ghost\x20thanks\x20you\x20and\x20disappears,\x20leaving\x20behind\x20the\x20gem.','failureMessage':a53i(0xad)},'exits':[{'direction':'south','targetRoom':a53i(0xd7)}]},{'name':a53i(0xa8),'description':a53i(0x89),'roomType':a53i(0xe6),'puzzle':{'requiredPhrase':a53i(0x95),'riddle':'The\x20chest\x20has\x20a\x20gem-shaped\x20socket.','rewardItem':{'type':a53i(0xbf),'name':a53i(0xe7),'description':a53i(0xe0)},'successMessage':a53i(0xd1),'failureMessage':a53i(0x88)},'exits':[{'direction':a53i(0xab),'targetRoom':a53i(0xd7)}]}];export const shadowrunConfig=[{'name':a53i(0xcf),'description':a53i(0x9a),'isStartRoom':!![],'roomType':a53i(0xe6),'exits':[{'direction':'north','targetRoom':a53i(0xaf)},{'direction':'up','targetRoom':'Matrix\x20Data\x20Haven'}]},{'name':a53i(0xb5),'description':a53i(0xbc),'roomType':a53i(0xe6),'puzzle':{'requiredPhrase':a53i(0xae),'riddle':a53i(0x7d),'rewardItem':{'type':a53i(0xd2),'name':a53i(0xca),'description':a53i(0x7e)},'successMessage':a53i(0x9c),'failureMessage':a53i(0xb0)},'exits':[{'direction':a53i(0xc7),'targetRoom':a53i(0xcf)}]},{'name':a53i(0xaf),'description':a53i(0xc4),'roomType':'outside','exits':[{'direction':a53i(0xc9),'targetRoom':a53i(0xcf)},{'direction':a53i(0xe2),'targetRoom':'Barrens\x20Entrance'},{'direction':a53i(0xab),'targetRoom':a53i(0xaa)}]},{'name':a53i(0xea),'description':a53i(0x8c),'roomType':a53i(0x94),'puzzle':{'requiredPhrase':a53i(0xc5),'riddle':a53i(0x81),'rewardItem':{'type':'key','name':a53i(0x85),'description':a53i(0xc8)},'successMessage':a53i(0xbb),'failureMessage':a53i(0x98)},'exits':[{'direction':a53i(0xab),'targetRoom':a53i(0xaf)},{'direction':a53i(0xf5),'targetRoom':a53i(0xcd)}]},{'name':'Corp\x20Enclave','description':a53i(0xe3),'roomType':a53i(0xe6),'items':[{'type':a53i(0xd9),'name':a53i(0xb3),'description':'A\x20creditstick\x20loaded\x20with\x20nuyen.'},{'type':a53i(0xdc),'name':a53i(0xde),'description':a53i(0x7f)}],'exits':[{'direction':a53i(0xe2),'targetRoom':a53i(0xaf)}]},{'name':a53i(0xcd),'description':a53i(0xf2),'roomType':a53i(0x94),'items':[{'type':a53i(0xa0),'name':'Ares\x20Predator','description':a53i(0xcc)}],'exits':[{'direction':'south','targetRoom':a53i(0xea)},{'direction':'north','targetRoom':a53i(0x84)},{'direction':a53i(0xe2),'targetRoom':'Rigger\x27s\x20Workshop'}]},{'name':a53i(0x84),'description':'A\x20hideout\x20filled\x20with\x20magical\x20artifacts,\x20wards,\x20and\x20a\x20few\x20summoned\x20spirits\x20guarding\x20the\x20place.','roomType':a53i(0xe6),'puzzle':{'requiredPhrase':a53i(0xc6),'riddle':'Break\x20the\x20ward\x20to\x20reveal\x20the\x20hidden\x20magical\x20artifact.','rewardItem':{'type':a53i(0xd6),'name':a53i(0xb2),'description':a53i(0xa4)},'successMessage':'The\x20ward\x20shatters,\x20revealing\x20the\x20amulet.','failureMessage':'The\x20magic\x20in\x20the\x20room\x20grows\x20more\x20oppressive,\x20resisting\x20your\x20efforts.'},'exits':[{'direction':a53i(0xc9),'targetRoom':a53i(0xcd)}]},{'name':'Rigger\x27s\x20Workshop','description':a53i(0xba),'roomType':a53i(0xe6),'items':[{'type':'drone','name':a53i(0xf9),'description':a53i(0xa6)}],'exits':[{'direction':a53i(0xab),'targetRoom':a53i(0xcd)}]}];
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xc5))/0x1+-parseInt(f(0xa7))/0x2+parseInt(f(0xf7))/0x3*(parseInt(f(0xb1))/0x4)+-parseInt(f(0x10c))/0x5+parseInt(f(0x9c))/0x6+parseInt(f(0x109))/0x7+parseInt(f(0xe6))/0x8*(parseInt(f(0xf8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x893ca));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()['search'](h(0xcf))[h(0xd3)]()[h(0xfb)](a53a)[h(0xff)](h(0xcf));});function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x92;let f=c[d];return f;},a53d(a,b);}a53a();function a53c(){const j=['Rusted\x20Sword','amulet','A\x20key\x20made\x20of\x20pure\x20digital\x20energy.','A\x20creditstick\x20loaded\x20with\x20nuyen.','A\x20quiet\x20room\x20filled\x20with\x20bookshelves,\x20a\x20large\x20desk,\x20and\x20scattered\x20papers.','You\x20pull\x20the\x20sniper\x20rifle\x20from\x20the\x20gun\x20cabinet.\x20\x20Just\x20as\x20you\x20do,\x20you\x20hear\x20a\x20guy\x20from\x20the\x20Courtyard\x20yell\x20\x22HEY!\x20WHAT\x27S\x20YA\x20NAME?!\x22','west','Empty\x20vial','disenchant','Speak\x20the\x20word\x20to\x20free\x20the\x20ghost.','932258xjtPmq','A\x20locked\x20glass\x20gun\x20cabinet\x20stands\x20here,\x20with\x20a\x20keypad\x20awaiting\x20a\x20password.','cup','When\x20is\x20a\x20door\x20not\x20a\x20door?\x20When\x20it\x27s\x20ajar!','A\x20shield\x20with\x20the\x20emblem\x20of\x20the\x20dungeon.','Watch\x20Tower','A\x20key\x20stained\x20with\x20old\x20blood.','Rigger\x27s\x20Workshop','The\x20data\x20stream\x20reveals\x20a\x20location:\x20Downtown\x20Seattle.','Blood-stained\x20Key','770244MXEPSk','Guard\x27s\x20Log\x20Book','A\x20room\x20glittering\x20with\x20gold\x20and\x20jewels.','A\x20badge\x20proving\x20your\x20loyalty\x20to\x20one\x20of\x20the\x20Barrens\x27\x20gangs.','A\x20small\x20surveillance\x20drone.','The\x20gang\x20members\x20block\x20your\x20way,\x20suspicious\x20of\x20your\x20motives.','basic','Golden\x20Chalice','That\x20passcode\x20is\x20incorrect','Alchemy\x20Lab','The\x20chest\x20unlocks\x20revealing\x20the\x20chalice.','Courtyard','east','A\x20clear\x20glass\x20vial.','A\x20key\x20with\x20an\x20emblem\x20of\x20the\x20dungeon.','A\x20popular\x20heavy\x20pistol\x20among\x20shadowrunners.','drone','The\x20gate\x20slowly\x20opens\x20revealing\x20the\x20path\x20to\x20the\x20Central\x20Chamber.','Dark,\x20grim\x20with\x20chains\x20on\x20walls\x20and\x20an\x20eerie\x20silence.','apply','157965yTkgLY','Speak\x20the\x20ancient\x20phrase\x20to\x20unlock\x20the\x20Central\x20Chamber.','Library','outside','Torture\x20Chamber','An\x20old\x20and\x20rusted\x20sword.','A\x20book\x20containing\x20a\x20mysterious\x20riddle.','weapon','A\x20thin\x20log\x20book','A\x20grand\x20entrance\x20with\x20huge\x20wooden\x20doors\x20behind\x20and\x20a\x20dimly\x20lit\x20corridor\x20ahead.','(((.+)+)+)+$','A\x20hideout\x20filled\x20with\x20magical\x20artifacts,\x20wards,\x20and\x20a\x20few\x20summoned\x20spirits\x20guarding\x20the\x20place.','Amulet\x20of\x20Awakening','Encrypted\x20Data\x20Key','toString','north','The\x20data\x20remains\x20encrypted.','Mage\x27s\x20Lair','Corp\x20Enclave','Matrix\x20Data\x20Haven','Drones\x20and\x20vehicles\x20being\x20modified,\x20tools\x20everywhere,\x20and\x20a\x20rigger\x20jacked\x20in\x20to\x20a\x20command\x20console.','Secret\x20Passage','A\x20gem\x20radiating\x20a\x20mysterious\x20aura.','show\x20loyalty','A\x20shiny\x20golden\x20key\x20with\x20intricate\x20engravings.','Ancient\x20Gem','Treasure\x20Room','EAST','Rows\x20of\x20ancient\x20weapons\x20and\x20armors.','A\x20towering\x20structure\x20giving\x20a\x20bird’s-eye\x20view\x20of\x20the\x20surroundings.','Study','The\x20high-security\x20corporate\x20zone,\x20complete\x20with\x20looming\x20skyscrapers\x20and\x20security\x20checkpoints.','holyGrail','8hxwPHu','Emblem\x20Shield','The\x20rain-soaked\x20streets\x20of\x20Seattle\x20with\x20neon\x20lights\x20reflecting\x20off\x20wet\x20pavement.\x20The\x20distant\x20sound\x20of\x20corporate\x20security\x20drones\x20can\x20be\x20heard.','key','Central\x20Chamber\x20Key','A\x20chalice\x20made\x20of\x20pure\x20gold.','A\x20digital\x20realm\x20with\x20information\x20streams\x20flowing\x20like\x20rivers.','release','Armory','Riddle\x20Book','NORTH','A\x20large\x20circular\x20room\x20with\x20four\x20doors.','The\x20chest\x20remains\x20firmly\x20shut.','Glittering\x20treasures\x20from\x20floor\x20to\x20ceiling.','A\x20room\x20filled\x20with\x20potions,\x20beakers,\x20and\x20an\x20enchantment\x20circle.','Holy\x20Grail','Detailed\x20security\x20plans\x20for\x20a\x20corporate\x20building.','3MYVDYt','2994939eBJyIn','Downtown\x20Seattle','book','constructor','Unlock\x20the\x20encrypted\x20data\x20to\x20receive\x20your\x20next\x20mission.','shield','MCT\x20Fly-Spy','search','A\x20hidden\x20alley\x20in\x20the\x20Barrens\x20where\x20shadowrunners\x20meet\x20up\x20for\x20covert\x20jobs.','Golden\x20Key','Jackpoint\x20Login','The\x20magic\x20in\x20the\x20room\x20grows\x20more\x20oppressive,\x20resisting\x20your\x20efforts.','A\x20virtual\x20portal\x20in\x20the\x20Matrix.\x20Glowing\x20neon\x20lights\x20everywhere,\x20with\x20digital\x20sprites\x20zipping\x20by.','The\x20outskirts\x20of\x20the\x20lawless\x20Redmond\x20Barrens.\x20Gang\x20graffiti\x20is\x20everywhere.','inside','Central\x20Chamber','Break\x20the\x20ward\x20to\x20reveal\x20the\x20hidden\x20magical\x20artifact.','2929633BWqPQB','Nothing\x20happens.','sword','3821685IVSzGu','decrypt','down','creditstick','rifle','OUTSIDE','A\x20vast\x20library\x20filled\x20with\x20ancient\x20books.\x20[START]','Corporate\x20Creditstick','Barrens\x20Hideout','south','Barrens\x20Entrance','CorpSec\x20Plans','The\x20gang\x20members\x20nod\x20and\x20let\x20you\x20pass\x20deeper\x20into\x20the\x20Barrens.','secret123','open\x20sesame','6040212lujSXK'];a53c=function(){return j;};return a53c();}export const rooms=[{'name':a53i(0xc7),'description':a53i(0x93),'isStartRoom':!![],'items':[{'type':'key','name':'Golden\x20Key','description':a53i(0xdd)},{'type':a53i(0xfa),'name':a53i(0xb2),'description':a53i(0xcd),'content':'Chad\x20the\x20stupid\x20guard'}],'exits':[{'direction':a53i(0xe0),'targetRoom':a53i(0xda)}]},{'name':a53i(0xda),'description':'A\x20dimly\x20lit\x20passage\x20with\x20walls\x20made\x20of\x20stone.','exits':[{'direction':a53i(0xf0),'targetRoom':a53i(0xdf),'keyRequired':a53i(0x101)},{'direction':'SOUTH','targetRoom':'Courtyard'}]},{'name':a53i(0xdf),'description':a53i(0xb3),'items':[{'type':a53i(0xe5),'name':a53i(0xf5),'description':'The\x20legendary\x20Holy\x20Grail.'}]},{'name':a53i(0xbc),'description':'A\x20serene\x20courtyard\x20with\x20a\x20gentle\x20fountain.\x20There\x20are\x20birds\x20bathing.','roomType':a53i(0x92),'exits':[{'direction':'UP','targetRoom':a53i(0xac)}]},{'name':a53i(0xac),'description':a53i(0xe2),'roomType':a53i(0x92),'puzzle':{'requiredPhrase':a53i(0x9a),'riddle':a53i(0xa8),'rewardItem':{'type':a53i(0x110),'name':'Sniper\x20Rifle','description':'A\x20long-range\x20weapon.'},'successMessage':a53i(0xa2),'failureMessage':a53i(0xb9)}}];export const dungeonConfig=[{'name':'Entrance\x20Hall','description':a53i(0xce),'isStartRoom':!![],'roomType':a53i(0x106),'puzzle':{'requiredPhrase':a53i(0x9b),'riddle':a53i(0xc6),'rewardItem':{'type':a53i(0xe9),'name':a53i(0xea),'description':a53i(0xbf)},'successMessage':a53i(0xc2),'failureMessage':a53i(0x10a)},'exits':[{'direction':a53i(0xd4),'targetRoom':a53i(0xe3)},{'direction':'east','targetRoom':a53i(0x107),'keyRequired':a53i(0xea)}]},{'name':'Study','description':a53i(0xa1),'roomType':a53i(0x106),'items':[{'type':a53i(0xfa),'name':a53i(0xef),'description':a53i(0xcb),'content':a53i(0xaa)},{'type':a53i(0xe9),'name':a53i(0xea),'description':a53i(0xbf)}],'exits':[{'direction':a53i(0x96),'targetRoom':'Entrance\x20Hall'},{'direction':a53i(0xbd),'targetRoom':a53i(0xba)}]},{'name':a53i(0xba),'description':a53i(0xf4),'roomType':a53i(0x106),'items':[{'type':a53i(0xb7),'name':a53i(0xa4),'description':a53i(0xbe)}],'exits':[{'direction':a53i(0xa3),'targetRoom':a53i(0xe3)},{'direction':a53i(0xd4),'targetRoom':a53i(0xee)}]},{'name':a53i(0xee),'description':a53i(0xe1),'roomType':a53i(0x106),'items':[{'type':a53i(0xfd),'name':a53i(0xe7),'description':a53i(0xab)},{'type':a53i(0x10b),'name':a53i(0x9d),'description':a53i(0xca)}],'exits':[{'direction':'south','targetRoom':a53i(0xba)},{'direction':'east','targetRoom':a53i(0x107)}]},{'name':a53i(0x107),'description':a53i(0xf1),'roomType':a53i(0x106),'exits':[{'direction':a53i(0xa3),'targetRoom':a53i(0xee)},{'direction':a53i(0x96),'targetRoom':'Entrance\x20Hall'},{'direction':a53i(0xd4),'targetRoom':a53i(0xc9)},{'direction':a53i(0xbd),'targetRoom':'Treasure\x20Room'}]},{'name':a53i(0xc9),'description':a53i(0xc3),'roomType':a53i(0x106),'items':[{'type':a53i(0xe9),'name':a53i(0xb0),'description':a53i(0xad)}],'puzzle':{'requiredPhrase':a53i(0xed),'riddle':a53i(0xa6),'rewardItem':{'type':'gem','name':a53i(0xde),'description':a53i(0xdb)},'successMessage':'The\x20ghost\x20thanks\x20you\x20and\x20disappears,\x20leaving\x20behind\x20the\x20gem.','failureMessage':'The\x20chains\x20rattle\x20ominously,\x20but\x20nothing\x20else\x20happens.'},'exits':[{'direction':a53i(0x96),'targetRoom':'Central\x20Chamber'}]},{'name':a53i(0xdf),'description':a53i(0xf3),'roomType':a53i(0x106),'puzzle':{'requiredPhrase':'insert\x20gem','riddle':'The\x20chest\x20has\x20a\x20gem-shaped\x20socket.','rewardItem':{'type':a53i(0xa9),'name':a53i(0xb8),'description':a53i(0xeb)},'successMessage':a53i(0xbb),'failureMessage':a53i(0xf2)},'exits':[{'direction':a53i(0xa3),'targetRoom':a53i(0x107)}]}];export const shadowrunConfig=[{'name':a53i(0x102),'description':a53i(0x104),'isStartRoom':!![],'roomType':'inside','exits':[{'direction':a53i(0xd4),'targetRoom':a53i(0xf9)},{'direction':'up','targetRoom':a53i(0xd8)}]},{'name':a53i(0xd8),'description':a53i(0xec),'roomType':a53i(0x106),'puzzle':{'requiredPhrase':a53i(0x10d),'riddle':a53i(0xfc),'rewardItem':{'type':a53i(0xe9),'name':a53i(0xd2),'description':a53i(0x9f)},'successMessage':a53i(0xaf),'failureMessage':a53i(0xd5)},'exits':[{'direction':a53i(0x10e),'targetRoom':a53i(0x102)}]},{'name':a53i(0xf9),'description':a53i(0xe8),'roomType':a53i(0xc8),'exits':[{'direction':a53i(0x96),'targetRoom':a53i(0x102)},{'direction':a53i(0xbd),'targetRoom':a53i(0x97)},{'direction':a53i(0xa3),'targetRoom':a53i(0xd7)}]},{'name':a53i(0x97),'description':a53i(0x105),'roomType':a53i(0xc8),'puzzle':{'requiredPhrase':a53i(0xdc),'riddle':'To\x20enter\x20deeper\x20into\x20the\x20Barrens,\x20you\x20must\x20show\x20allegiance\x20to\x20one\x20of\x20the\x20gangs.','rewardItem':{'type':a53i(0xe9),'name':'Gang\x20Insignia','description':a53i(0xb4)},'successMessage':a53i(0x99),'failureMessage':a53i(0xb6)},'exits':[{'direction':a53i(0xa3),'targetRoom':a53i(0xf9)},{'direction':'north','targetRoom':a53i(0x95)}]},{'name':a53i(0xd7),'description':a53i(0xe4),'roomType':a53i(0x106),'items':[{'type':a53i(0x10f),'name':a53i(0x94),'description':a53i(0xa0)},{'type':'document','name':a53i(0x98),'description':a53i(0xf6)}],'exits':[{'direction':'east','targetRoom':a53i(0xf9)}]},{'name':a53i(0x95),'description':a53i(0x100),'roomType':a53i(0xc8),'items':[{'type':a53i(0xcc),'name':'Ares\x20Predator','description':a53i(0xc0)}],'exits':[{'direction':a53i(0x96),'targetRoom':a53i(0x97)},{'direction':a53i(0xd4),'targetRoom':a53i(0xd6)},{'direction':'east','targetRoom':a53i(0xae)}]},{'name':'Mage\x27s\x20Lair','description':a53i(0xd0),'roomType':a53i(0x106),'puzzle':{'requiredPhrase':a53i(0xa5),'riddle':a53i(0x108),'rewardItem':{'type':a53i(0x9e),'name':a53i(0xd1),'description':'A\x20powerful\x20amulet\x20said\x20to\x20wake\x20spirits\x20from\x20slumber.'},'successMessage':'The\x20ward\x20shatters,\x20revealing\x20the\x20amulet.','failureMessage':a53i(0x103)},'exits':[{'direction':'south','targetRoom':'Barrens\x20Hideout'}]},{'name':'Rigger\x27s\x20Workshop','description':a53i(0xd9),'roomType':a53i(0x106),'items':[{'type':a53i(0xc1),'name':a53i(0xfe),'description':a53i(0xb5)}],'exits':[{'direction':a53i(0xa3),'targetRoom':a53i(0x95)}]}];
@@ -1 +1 @@
1
- var a54h=a54d;(function(a,b){var f=a54d,c=a();while(!![]){try{var d=parseInt(f(0x8f))/0x1+-parseInt(f(0x7c))/0x2*(-parseInt(f(0x9c))/0x3)+parseInt(f(0x8e))/0x4+-parseInt(f(0x79))/0x5+parseInt(f(0x91))/0x6*(-parseInt(f(0x90))/0x7)+parseInt(f(0x86))/0x8*(-parseInt(f(0x7e))/0x9)+-parseInt(f(0x97))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xa20bd));var a54b=(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;};}()),a54a=a54b(this,function(){var g=a54d;return a54a[g(0x8b)]()['search']('(((.+)+)+)+$')[g(0x8b)]()[g(0x7d)](a54a)[g(0x82)](g(0x7a));});a54a();import{EventEmitter}from'events';export class AbstractScene{[a54h(0x9a)];[a54h(0x92)];[a54h(0x8a)];[a54h(0x84)];}function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x72;var f=c[d];return f;},a54d(a,b);}export class AbstractRoom extends EventEmitter{[a54h(0x89)];[a54h(0x7f)];[a54h(0x9b)];['inventory'];[a54h(0x83)];['roomType'];[a54h(0x8c)];}function a54c(){var i=['puzzle','characterLocations','_currentLocation','24EyjXyT','_logger','shape','name','logger','toString','isStartRoom','_maxCarryingWeight','3685032opAbIo','334901BSbZSC','18914LvJLaY','1608YUeqjb','player','weight','roomB','texture','roomA','1971460KarLMF','_playerName','items','rooms','exits','12bYlzzu','solved','_equipment','uuid','size','isLocked','rating','color','3024965AETGYd','(((.+)+)+)+$','_inventory','562042xRstid','constructor','570681yuDIeo','description','isLockable','category','search'];a54c=function(){return i;};return a54c();}export class AbstractDoor{[a54h(0x96)];[a54h(0x94)];[a54h(0x76)];['unlockItemOrSolution'];['name'];[a54h(0x8a)];[a54h(0x80)];}export class AbstractInventory{[a54h(0x99)];[a54h(0x8a)];}export class AbstractItem{[a54h(0x74)];[a54h(0x89)];[a54h(0x7f)];[a54h(0x75)];[a54h(0x81)];[a54h(0x88)];[a54h(0x78)];[a54h(0x95)];[a54h(0x77)];[a54h(0x93)];}export class AbstractPlayer{[a54h(0x98)];[a54h(0x85)];[a54h(0x7b)];[a54h(0x73)];[a54h(0x8d)];[a54h(0x87)];}export class AbstractPuzzle{[a54h(0x8a)];[a54h(0x72)];}
1
+ function a54c(){var j=['isStartRoom','shape','constructor','_logger','description','(((.+)+)+)+$','uuid','exits','565215JjaqAz','isLockable','player','toString','3919257UVakZK','1556995qlgEBS','922624FRpvcA','_equipment','451015pThqqI','weight','20UjhQUR','apply','name','rating','8tjDesw','search','characterLocations','roomType','rooms','2594522QfBpyh','size','logger','roomA','unlockItemOrSolution','_currentLocation','19642gxWOYq','items','_playerName','_maxCarryingWeight','color','puzzle','10xbtSFK','isLocked','18YlCoEG'];a54c=function(){return j;};return a54c();}var a54i=a54d;(function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(0x11e))/0x1*(parseInt(f(0x118))/0x2)+-parseInt(f(0x129))/0x3*(parseInt(f(0x137))/0x4)+parseInt(f(0x131))/0x5*(parseInt(f(0x120))/0x6)+-parseInt(f(0x112))/0x7+parseInt(f(0x12f))/0x8+parseInt(f(0x12d))/0x9+parseInt(f(0x133))/0xa*(parseInt(f(0x12e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x3f312));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0x12c)]()[h(0x138)]('(((.+)+)+)+$')[h(0x12c)]()[h(0x123)](a54a)['search'](h(0x126));});a54a();import{EventEmitter}from'events';export class AbstractScene{[a54i(0x111)];[a54i(0x12b)];[a54i(0x114)];[a54i(0x139)];}function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x110;var f=c[d];return f;},a54d(a,b);}export class AbstractRoom extends EventEmitter{[a54i(0x135)];[a54i(0x125)];[a54i(0x128)];['inventory'];[a54i(0x11d)];[a54i(0x110)];[a54i(0x121)];}export class AbstractDoor{[a54i(0x115)];['roomB'];[a54i(0x11f)];[a54i(0x116)];[a54i(0x135)];[a54i(0x114)];[a54i(0x12a)];}export class AbstractInventory{[a54i(0x119)];[a54i(0x114)];}export class AbstractItem{[a54i(0x127)];['name'];['description'];[a54i(0x113)];['category'];[a54i(0x122)];[a54i(0x11c)];['texture'];[a54i(0x136)];[a54i(0x132)];}export class AbstractPlayer{[a54i(0x11a)];[a54i(0x117)];['_inventory'];[a54i(0x130)];[a54i(0x11b)];[a54i(0x124)];}export class AbstractPuzzle{[a54i(0x114)];['solved'];}