@maka/maka-cli 5.1.21 → 5.1.23

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 (174) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/testCmd/_index.js +1 -1
  100. package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -1
  101. package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -1
  102. package/bundle/obf/src/commands/testCmd/test.command.js +1 -1
  103. package/bundle/obf/src/commands/undo.js +1 -1
  104. package/bundle/obf/src/commands/uninstall.js +1 -1
  105. package/bundle/obf/src/commands/version/_index.js +1 -1
  106. package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -1
  107. package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -1
  108. package/bundle/obf/src/commands/version/version.js +1 -1
  109. package/bundle/obf/src/error.js +1 -1
  110. package/bundle/obf/src/exec.js +1 -1
  111. package/bundle/obf/src/generator.js +1 -1
  112. package/bundle/obf/src/generators/_index.js +1 -1
  113. package/bundle/obf/src/generators/api.js +1 -1
  114. package/bundle/obf/src/generators/aws/_index.js +1 -1
  115. package/bundle/obf/src/generators/aws/aws.js +1 -1
  116. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  117. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  118. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  119. package/bundle/obf/src/generators/collection.js +1 -1
  120. package/bundle/obf/src/generators/component.js +1 -1
  121. package/bundle/obf/src/generators/config.js +1 -1
  122. package/bundle/obf/src/generators/dbc.js +1 -1
  123. package/bundle/obf/src/generators/dockerfile.js +1 -1
  124. package/bundle/obf/src/generators/hook.js +1 -1
  125. package/bundle/obf/src/generators/kits/_index.js +1 -1
  126. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  127. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  128. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  131. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  132. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  133. package/bundle/obf/src/generators/kits/kit.js +1 -1
  134. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  135. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  136. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  137. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  138. package/bundle/obf/src/generators/layout.js +1 -1
  139. package/bundle/obf/src/generators/maka.gen.js +1 -1
  140. package/bundle/obf/src/generators/methods.js +1 -1
  141. package/bundle/obf/src/generators/package.js +1 -1
  142. package/bundle/obf/src/generators/page.js +1 -1
  143. package/bundle/obf/src/generators/publish.js +1 -1
  144. package/bundle/obf/src/generators/route.js +1 -1
  145. package/bundle/obf/src/generators/services/_index.js +1 -1
  146. package/bundle/obf/src/generators/services/logger.js +1 -1
  147. package/bundle/obf/src/generators/services/openssl.js +1 -1
  148. package/bundle/obf/src/generators/services/service.js +1 -1
  149. package/bundle/obf/src/generators/services/translation.js +1 -1
  150. package/bundle/obf/src/maka.js +1 -1
  151. package/bundle/obf/src/tool.js +1 -1
  152. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  153. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  154. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  155. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  156. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  157. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  158. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  159. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/https/https.class.js +1 -1
  161. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  162. package/bundle/obf/src/tools/log/log.class.js +1 -1
  163. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  164. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  165. package/bundle/obf/src/tools/options/options.class.js +1 -1
  166. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  167. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  168. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  169. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  170. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  171. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  172. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  173. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  174. package/package.json +1 -1
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x1d7))/0x1+parseInt(f(0x1ec))/0x2+parseInt(f(0x1e8))/0x3*(parseInt(f(0x1c8))/0x4)+-parseInt(f(0x1db))/0x5+-parseInt(f(0x1d1))/0x6+parseInt(f(0x1d0))/0x7*(parseInt(f(0x1ed))/0x8)+parseInt(f(0x1cf))/0x9*(parseInt(f(0x1ce))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x909aa));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x1cb)]()[h(0x1c6)](h(0x1dd))[h(0x1cb)]()[h(0x1da)](a37a)[h(0x1c6)](h(0x1dd));});function a37c(){const l=['\x20door.','20PmEeAu','logger','isLocked','toString','inventory','\x20Locked\x20the\x20','4927220Oxrwiq','9MiEjVz','63zghFgM','4079934AhSNjF','hasItem','name','You\x20locked\x20the\x20door\x20named\x20\x22','description','\x22\x20here.','44555dLVVcu','write','lock','constructor','877100VaauCj','Lock\x20a\x20door.','(((.+)+)+)+$','actor','execute','\x22\x20is\x20already\x20locked.','LockCommand:\x20No\x20target\x20specified.','apply','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','has','verb','length','LockCommand:\x20','214029SOGHmK','get','unlockItemOrSolution','toLowerCase','955060WKrhlH','67720HNrHAe','The\x20door\x20named\x20\x22','exits','search'];a37c=function(){return l;};return a37c();}function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1c5;let f=c[d];return f;},a37d(a,b);}a37a();import{Command}from'./command.js';export class LockCommand extends Command{static [a37i(0x1e5)]=a37i(0x1d9);static [a37i(0x1d5)]=a37i(0x1dc);[a37i(0x1df)](a){const j=a37i;return this[j(0x1d9)](a);}[a37i(0x1d9)](a){const k=a37i;if(a[k(0x1e6)]===0x0)return this[k(0x1c9)]['error'](k(0x1e1)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.';const b=a[0x0][k(0x1eb)](),c=this['actor']['currentLocation'];if(this['isValidDirection'](b)&&c[k(0x1c5)][k(0x1e4)](b)){const d=c[k(0x1c5)][k(0x1e9)](b);if(d[k(0x1ca)])return k(0x1ee)+b+k(0x1e0);const e=d[k(0x1ea)]?.[k(0x1eb)]();return e&&this[k(0x1de)][k(0x1cc)][k(0x1d2)](e)?(d[k(0x1ca)]=!![],this[k(0x1c9)][k(0x1d8)](k(0x1e7)+this[k(0x1de)][k(0x1d3)]+k(0x1cd)+b+k(0x1c7)),k(0x1d4)+b+'\x22.'):(this['logger'][k(0x1d8)](k(0x1e7)+this[k(0x1de)]['name']+k(0x1e3)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.');}else return this[k(0x1c9)][k(0x1d8)](k(0x1e7)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+k(0x1d6);}}
1
+ function a37c(){const k=['The\x20door\x20named\x20\x22','verb','(((.+)+)+)+$','32ldPNEj','74gtPzbo','1883630FoPOIJ','6456252tMzagg','logger','toLowerCase','constructor','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','47482macsjt','unlockItemOrSolution','inventory','hasItem','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','There\x27s\x20no\x20door\x20named\x20\x22','currentLocation','get','\x22\x20here.','execute','actor','search','toString','exits','4SyPPXc','LockCommand:\x20No\x20target\x20specified.','2499264IDQVLl','name','description','\x22\x20is\x20already\x20locked.','34399750oYsmTb','lock','2130834VgjpLq','You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.','write','\x20door.','\x20Locked\x20the\x20','error','LockCommand:\x20','has','isValidDirection','length','isLocked','apply','6891705GOboZn'];a37c=function(){return k;};return a37c();}const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x13f))/0x1*(-parseInt(f(0x138))/0x2)+parseInt(f(0x127))/0x3*(-parseInt(f(0x14d))/0x4)+parseInt(f(0x133))/0x5+parseInt(f(0x13a))/0x6+-parseInt(f(0x139))/0x7+-parseInt(f(0x137))/0x8*(-parseInt(f(0x121))/0x9)+-parseInt(f(0x125))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xdc602));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x121;let f=c[d];return f;},a37d(a,b);}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x14b)]()[h(0x14a)](h(0x136))[h(0x14b)]()[h(0x13d)](a37a)[h(0x14a)]('(((.+)+)+)+$');});a37a();import{Command}from'./command.js';export class LockCommand extends Command{static [a37i(0x135)]=a37i(0x126);static [a37i(0x123)]='Lock\x20a\x20door.';[a37i(0x148)](a){return this['lock'](a);}[a37i(0x126)](a){const j=a37i;if(a[j(0x130)]===0x0)return this['logger'][j(0x12c)](j(0x14e)),j(0x143);const b=a[0x0][j(0x13c)](),c=this[j(0x149)][j(0x145)];if(this[j(0x12f)](b)&&c[j(0x14c)][j(0x12e)](b)){const d=c[j(0x14c)][j(0x146)](b);if(d[j(0x131)])return j(0x134)+b+j(0x124);const e=d[j(0x140)]?.['toLowerCase']();return e&&this[j(0x149)][j(0x141)][j(0x142)](e)?(d[j(0x131)]=!![],this[j(0x13b)]['write'](j(0x12d)+this['actor'][j(0x122)]+j(0x12b)+b+j(0x12a)),'You\x20locked\x20the\x20door\x20named\x20\x22'+b+'\x22.'):(this['logger']['write'](j(0x12d)+this[j(0x149)][j(0x122)]+j(0x13e)+b+'.'),j(0x128));}else return this[j(0x13b)][j(0x129)](j(0x12d)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.'),j(0x144)+b+j(0x147);}}
@@ -1 +1 @@
1
- function a38c(){const n=['You\x20don\x27t\x20see\x20any\x20','You\x20cannot\x20see\x20','32fDlMYt','Above\x20you,\x20','OUTSIDE','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','get','error','look','join','toString','riddle','inspectItem','search','To\x20the\x20','Examine\x20your\x20surroundings','down','currentLocation','hasItem','constructor','It\x27s\x20just\x20a\x20regular\x20','exits','You\x20cannot\x20see\x20through','getOtherSide','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','896805yXmKsY','38483cJIcXe','verb','95sCgjqR','Executing\x20\x27Look\x27\x20command.','8371600iVaSlq','execute','You\x27re\x20not\x20in\x20a\x20valid\x20room.','3590664xBgGwj','\x20is\x20looking\x20around\x20the\x20current\x20room.','(((.+)+)+)+$','inventory','\x20inventory.','actor','string','\x27\x20in\x20current\x20room\x20inventory.','Below\x20you,\x20','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','14CtXnkB','write','rooms','description','\x20here.','9939231xmtoKH','name','lookOutside','apply','212442bNkkKV','2584792apIhAo','logger'];a38c=function(){return n;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a38d(a,b);}const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1fc))/0x1*(-parseInt(f(0x1e4))/0x2)+-parseInt(f(0x1fb))/0x3+parseInt(f(0x1e0))/0x4+-parseInt(f(0x1fe))/0x5*(-parseInt(f(0x1df))/0x6)+-parseInt(f(0x1d6))/0x7*(-parseInt(f(0x203))/0x8)+-parseInt(f(0x1db))/0x9+-parseInt(f(0x200))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x907ff));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()['search'](h(0x1ce))[h(0x1ec)]()[h(0x1f5)](a38a)[h(0x1ef)](h(0x1ce));});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0x1fd)]=a38i(0x1ea);static [a38i(0x1d9)]=a38i(0x1f1);[a38i(0x201)](a=[]){const j=a38i;this[j(0x1e1)][j(0x1d7)](j(0x1ff));const b=a[j(0x1eb)]('\x20');if(b){if(this[j(0x1d1)][j(0x1cf)][j(0x1f4)](b))return this[j(0x1e1)]['write']('Looking\x20at\x20item\x20\x27'+b+'\x27\x20in\x20'+this[j(0x1d1)][j(0x1dc)]+j(0x1d0)),this[j(0x1ee)](b,this[j(0x1d1)]['inventory']);else{if(this['actor'][j(0x1f3)][j(0x1cf)]['hasItem'](b))return this['logger'][j(0x1d7)]('Looking\x20at\x20item\x20\x27'+b+j(0x1d3)),this[j(0x1ee)](b,this['actor'][j(0x1f3)][j(0x1cf)]);else return this['isValidDirection'](b)?(this[j(0x1e1)][j(0x1d7)](j(0x1fa)+b+'\x27.'),this['lookOutside'](b)):j(0x1e3)+b;}}else return this[j(0x1e1)]['write'](this[j(0x1d1)][j(0x1dc)]+j(0x204)),this[j(0x1ea)]();}['look'](){const k=a38i,a=this[k(0x1d1)][k(0x1f3)];if(!a)return this[k(0x1e1)][k(0x1e9)](this[k(0x1d1)][k(0x1dc)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';let b=a[k(0x1d9)];return a['puzzle']&&(b+='\x0a'+a['puzzle'][k(0x1ed)]),b;}[a38i(0x1dd)](a){const l=a38i,b=this['actor'][l(0x1f3)];if(!b)return this[l(0x1e1)][l(0x1e9)](this['actor'][l(0x1dc)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),l(0x202);const c=b[l(0x1f7)][l(0x1e8)](a);if(!c)return l(0x1e7)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x1f9)](b);else{if(typeof c===l(0x1d2)){d=this[l(0x1d8)]&&this[l(0x1d8)][c];if(!d)return'There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}else return l(0x1d5)+a+'\x22.';}if(d['roomType']===RoomType[l(0x1e6)]){if(a==='up')return l(0x1e5)+d[l(0x1d9)];else return a===l(0x1f2)?l(0x1d4)+d[l(0x1d9)]:l(0x1f0)+a+',\x20you\x20see\x20'+d[l(0x1d9)];}else return l(0x1f8);}['inspectItem'](a,b){const m=a38i,c=b['getItem'](a);if(!c)return m(0x1e2)+a+m(0x1da);return c[m(0x1d9)]||m(0x1f6)+a+'.';}}
1
+ const a38i=a38d;function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x18f;let f=c[d];return f;},a38d(a,b);}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x199))/0x1*(parseInt(f(0x1af))/0x2)+-parseInt(f(0x1a7))/0x3*(-parseInt(f(0x195))/0x4)+parseInt(f(0x1b0))/0x5+parseInt(f(0x1bf))/0x6*(-parseInt(f(0x1bd))/0x7)+-parseInt(f(0x1a0))/0x8*(parseInt(f(0x1a5))/0x9)+parseInt(f(0x19c))/0xa+parseInt(f(0x1c9))/0xb*(parseInt(f(0x1bb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x48205));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1a2)]()[h(0x19a)]('(((.+)+)+)+$')[h(0x1a2)]()[h(0x1be)](a38a)[h(0x19a)](h(0x1b2));});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';function a38c(){const n=['lookOutside','You\x20don\x27t\x20see\x20any\x20','apply','rooms','getOtherSide','11iCFnca','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','actor','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','hasItem','inventory','\x20is\x20looking\x20around\x20the\x20current\x20room.','You\x20cannot\x20see\x20through','description','25512PVBqZZ','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','execute','You\x27re\x20not\x20in\x20a\x20valid\x20room.','476558TrgJzv','search','OUTSIDE','129960yENcWJ','\x27\x20in\x20','Looking\x20at\x20item\x20\x27','string','2360BpyNUh','getItem','toString','Above\x20you,\x20','down','2583iLvQIN','name','3MSDExc','logger',',\x20you\x20see\x20','error','inspectItem','\x20here.','\x27\x20in\x20current\x20room\x20inventory.','look','2EGpVgT','1030740YifJfv','You\x20cannot\x20see\x20','(((.+)+)+)+$','write','verb','roomType','currentLocation','Executing\x20\x27Look\x27\x20command.','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','puzzle','isValidDirection','10995528bWUyGX','exits','90734AxnQAq','constructor','132kPWyxV','Examine\x20your\x20surroundings','Below\x20you,\x20','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','riddle'];a38c=function(){return n;};return a38c();}import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0x1b4)]='look';static [a38i(0x194)]=a38i(0x1c0);[a38i(0x197)](a=[]){const j=a38i;this['logger']['write'](j(0x1b7));const b=a['join']('\x20');if(b){if(this[j(0x1cb)][j(0x191)][j(0x190)](b))return this['logger'][j(0x1b3)]('Looking\x20at\x20item\x20\x27'+b+j(0x19d)+this[j(0x1cb)][j(0x1a6)]+'\x20inventory.'),this[j(0x1ab)](b,this[j(0x1cb)][j(0x191)]);else{if(this[j(0x1cb)]['currentLocation']['inventory']['hasItem'](b))return this[j(0x1a8)][j(0x1b3)](j(0x19e)+b+j(0x1ad)),this[j(0x1ab)](b,this[j(0x1cb)][j(0x1b6)][j(0x191)]);else return this[j(0x1ba)](b)?(this[j(0x1a8)][j(0x1b3)](j(0x196)+b+'\x27.'),this[j(0x1c4)](b)):j(0x1b1)+b;}}else return this['logger'][j(0x1b3)](this[j(0x1cb)][j(0x1a6)]+j(0x192)),this[j(0x1ae)]();}['look'](){const k=a38i,a=this[k(0x1cb)][k(0x1b6)];if(!a)return this[k(0x1a8)][k(0x1aa)](this[k(0x1cb)]['name']+k(0x18f)),k(0x198);let b=a[k(0x194)];return a[k(0x1b9)]&&(b+='\x0a'+a[k(0x1b9)][k(0x1c3)]),b;}[a38i(0x1c4)](a){const l=a38i,b=this[l(0x1cb)][l(0x1b6)];if(!b)return this[l(0x1a8)][l(0x1aa)](this['actor'][l(0x1a6)]+l(0x18f)),l(0x198);const c=b[l(0x1bc)]['get'](a);if(!c)return l(0x1c2)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x1c8)](b);else{if(typeof c===l(0x19f)){d=this[l(0x1c7)]&&this[l(0x1c7)][c];if(!d)return l(0x1b8)+a+'\x22.';}else return l(0x1ca)+a+'\x22.';}if(d[l(0x1b5)]===RoomType[l(0x19b)]){if(a==='up')return l(0x1a3)+d['description'];else return a===l(0x1a4)?l(0x1c1)+d[l(0x194)]:'To\x20the\x20'+a+l(0x1a9)+d[l(0x194)];}else return l(0x193);}['inspectItem'](a,b){const m=a38i,c=b[m(0x1a1)](a);if(!c)return m(0x1c5)+a+m(0x1ac);return c[m(0x194)]||'It\x27s\x20just\x20a\x20regular\x20'+a+'.';}}
@@ -1 +1 @@
1
- const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x209))/0x1+parseInt(g(0x20c))/0x2*(-parseInt(g(0x1f8))/0x3)+parseInt(g(0x1fd))/0x4+parseInt(g(0x1f1))/0x5+parseInt(g(0x205))/0x6*(-parseInt(g(0x1fa))/0x7)+-parseInt(g(0x208))/0x8+-parseInt(g(0x20e))/0x9*(parseInt(g(0x1f3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xad6c5));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x200)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x20d)]()['search'](i(0x1f6))[i(0x20d)]()[i(0x20b)](a39a)[i(0x1fb)]('(((.+)+)+)+$');});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a39d(a,b);}function a39c(){const m=['An\x20error\x20occurred.','1072160wavpFa','1189258cDepRi','filter','constructor','8170XPMsOk','toString','9fzAzOk','allActors','\x20says\x20to\x20','You\x20say:\x20\x22','6255960BxLsvm','actor','8540890ojFEKb','verb','log','(((.+)+)+)+$','execute','408LiKqtI','currentLocation','147FdHLUG','search','context','4630828qDEQfK','What\x20do\x20you\x20want\x20to\x20say?','length','apply','join','scene','logger','name','384042JCPsCP',':\x20\x22'];a39c=function(){return m;};return a39c();}import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0x1f4)]='say';static ['description']='Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.';[a39j(0x1fc)];constructor(a){const k=a39j;super(a),this[k(0x1fc)]=a;}[a39j(0x1f7)](a){const l=a39j;if(a[l(0x1ff)]===0x0)return l(0x1fe);const b=a[l(0x201)]('\x20'),c=this[l(0x1f2)],d=this[l(0x1fc)][l(0x202)];if(!d)return this[l(0x203)][l(0x1f5)]('Scene\x20is\x20missing\x20from\x20context.'),l(0x207);const e=d[l(0x20f)][l(0x20a)](f=>f[l(0x1f9)]===c['currentLocation']);for(const f of e){this[l(0x203)][l(0x1f5)](c[l(0x204)]+l(0x1ef)+f[l(0x204)]+l(0x206)+b+'\x22'),this[l(0x1f2)][l(0x1f9)]['say'](f,b);}return l(0x1f0)+b+'\x22';}}
1
+ const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x1e6))/0x1*(parseInt(g(0x1f5))/0x2)+-parseInt(g(0x1f2))/0x3+-parseInt(g(0x1f0))/0x4+parseInt(g(0x1ea))/0x5*(-parseInt(g(0x1fc))/0x6)+parseInt(g(0x1f6))/0x7+parseInt(g(0x1fe))/0x8*(-parseInt(g(0x1f3))/0x9)+-parseInt(g(0x202))/0xa*(-parseInt(g(0x1fa))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xadc6b));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x200)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a['toString']()[i(0x203)](i(0x1ff))['toString']()[i(0x1e4)](a39a)[i(0x203)](i(0x1ff));});a39a();import{Command}from'./command.js';function a39c(){const m=['757JrCNoY','filter','logger','name','1634770UalkUp','scene','You\x20say:\x20\x22','\x20says\x20to\x20','log','allActors','2298564zLSyVr','currentLocation','1640301mSOaKr','1962mEmSvP','say','292bIYiaW','1951943yucBTW','verb','join','context','16869479QpCISD',':\x20\x22','12QcDuav','An\x20error\x20occurred.','35576YRNJEY','(((.+)+)+)+$','apply','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','20MEMePj','search','constructor','actor'];a39c=function(){return m;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1e4;let f=c[d];return f;},a39d(a,b);}export class SayCommand extends Command{static [a39j(0x1f7)]='say';static ['description']=a39j(0x201);[a39j(0x1f9)];constructor(a){const k=a39j;super(a),this[k(0x1f9)]=a;}['execute'](a){const l=a39j;if(a['length']===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[l(0x1f8)]('\x20'),c=this[l(0x1e5)],d=this[l(0x1f9)][l(0x1eb)];if(!d)return this[l(0x1e8)][l(0x1ee)]('Scene\x20is\x20missing\x20from\x20context.'),l(0x1fd);const e=d[l(0x1ef)][l(0x1e7)](f=>f[l(0x1f1)]===c[l(0x1f1)]);for(const f of e){this['logger'][l(0x1ee)](c[l(0x1e9)]+l(0x1ed)+f[l(0x1e9)]+l(0x1fb)+b+'\x22'),this['actor'][l(0x1f1)][l(0x1f4)](f,b);}return l(0x1ec)+b+'\x22';}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0xa5))/0x1*(-parseInt(f(0xa7))/0x2)+parseInt(f(0x9e))/0x3+parseInt(f(0xa8))/0x4+parseInt(f(0xa2))/0x5*(-parseInt(f(0x98))/0x6)+-parseInt(f(0xa1))/0x7*(parseInt(f(0xac))/0x8)+-parseInt(f(0x9c))/0x9*(parseInt(f(0x97))/0xa)+-parseInt(f(0x96))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xb598f));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()['search']('(((.+)+)+)+$')[h(0xae)]()['constructor'](a40a)[h(0xb0)](h(0x99));});a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x94;let f=c[d];return f;},a40d(a,b);}function a40c(){const k=['\x20searched\x20the\x20room\x20but\x20found\x20nothing.','173251oSsYcL','SearchCommand:\x20','2rvWkkt','5392416YDvrFv','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','listItems','currentLocation','1502864KIRjmW','description','toString','verb','search','logger','name','You\x20search\x20the\x20area\x20and\x20find:\x20','apply','2949122idnxEM','10ScRYlN','91920OYCSws','(((.+)+)+)+$','inventory','execute','4207311ynujxy','write','2270601wDKbBn','Search\x20for\x20items\x20in\x20your\x20area','join','14aPHkQt','25UgDMRf','\x20found\x20the\x20following\x20items:\x20'];a40c=function(){return k;};return a40c();}export class SearchCommand extends Command{static [a40i(0xaf)]=a40i(0xb0);static [a40i(0xad)]=a40i(0x9f);[a40i(0x9b)](){const j=a40i,a=this['actor'][j(0xab)][j(0x9a)][j(0xaa)]();if(a['length']===0x0)return this[j(0xb1)]['write'](j(0xa6)+this['actor']['name']+j(0xa4)),j(0xa9);const b=a[j(0xa0)](',\x20');return this[j(0xb1)][j(0x9d)]('SearchCommand:\x20'+this['actor'][j(0xb2)]+j(0xa3)+b),j(0x94)+b;}}
1
+ function a40c(){const k=['32425hZkoIG','687210ydJERw','execute','24DQcadi','15KoQrZY','apply','\x20found\x20the\x20following\x20items:\x20','SearchCommand:\x20','316tvWDOv','131148oKDdXd','join','write','toString','actor','1080966PdfQvn','(((.+)+)+)+$','listItems','logger','verb','search','Search\x20for\x20items\x20in\x20your\x20area','name','1838097BnlelP','3635317YSQPBg','22871530FrOeUm'];a40c=function(){return k;};return a40c();}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x16e))/0x1*(-parseInt(f(0x173))/0x2)+-parseInt(f(0x16b))/0x3+parseInt(f(0x172))/0x4*(-parseInt(f(0x16a))/0x5)+parseInt(f(0x178))/0x6+parseInt(f(0x168))/0x7+-parseInt(f(0x16d))/0x8*(parseInt(f(0x167))/0x9)+parseInt(f(0x169))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x9e6f7));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x16f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x176)]()[h(0x164)]('(((.+)+)+)+$')[h(0x176)]()['constructor'](a40a)[h(0x164)](h(0x179));});a40a();function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x164;let f=c[d];return f;},a40d(a,b);}import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0x17c)]=a40i(0x164);static ['description']=a40i(0x165);[a40i(0x16c)](){const j=a40i,a=this[j(0x177)]['currentLocation']['inventory'][j(0x17a)]();if(a['length']===0x0)return this[j(0x17b)][j(0x175)](j(0x171)+this[j(0x177)][j(0x166)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0x174)](',\x20');return this['logger'][j(0x175)](j(0x171)+this[j(0x177)][j(0x166)]+j(0x170)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
@@ -1 +1 @@
1
- const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x187))/0x1*(parseInt(f(0x181))/0x2)+parseInt(f(0x19b))/0x3*(parseInt(f(0x188))/0x4)+parseInt(f(0x18e))/0x5+-parseInt(f(0x195))/0x6*(-parseInt(f(0x180))/0x7)+parseInt(f(0x185))/0x8+parseInt(f(0x192))/0x9+-parseInt(f(0x196))/0xa*(parseInt(f(0x18a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x90de9));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a['toString']()[h(0x18c)](h(0x183))['toString']()[h(0x18d)](a41a)[h(0x18c)](h(0x183));});a41a();import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x17c;let f=c[d];return f;},a41d(a,b);}export class SolveCommand extends Command{static ['verb']=a41i(0x19c);static [a41i(0x17e)]=a41i(0x199);[a41i(0x18f)](a){const j=a41i,b=a[j(0x17c)]('\x20')[j(0x18b)](),c=this[j(0x17f)][j(0x193)];if(!c||!c['puzzle'])return this[j(0x19a)][j(0x182)](j(0x190)),j(0x17d);const d=c[j(0x197)]['solve'](b,this[j(0x17f)]['inventory']);return d['success']&&c['puzzle'][j(0x198)]&&this[j(0x17f)][j(0x186)][j(0x184)](c[j(0x197)][j(0x198)]),this[j(0x19a)][j(0x182)](j(0x191)+d[j(0x189)]),d[j(0x189)];}}function a41c(){const k=['addItem','910040MjPPZT','inventory','1jSpcHR','4dqESXj','message','275IkUFyd','toLowerCase','search','constructor','3565230dgxNjc','execute','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','SolveCommand:\x20','6649434KRadki','currentLocation','apply','4170OPLXLA','637050IeDUXL','puzzle','rewardItem','Attempt\x20to\x20solve\x20a\x20puzzle.','logger','2047374nCcvRG','solve','join','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','description','actor','10451npBxRf','2199420rfgRZC','write','(((.+)+)+)+$'];a41c=function(){return k;};return a41c();}
1
+ const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x159))/0x1*(parseInt(f(0x160))/0x2)+parseInt(f(0x144))/0x3*(parseInt(f(0x156))/0x4)+parseInt(f(0x14f))/0x5+parseInt(f(0x15b))/0x6*(parseInt(f(0x145))/0x7)+-parseInt(f(0x150))/0x8+-parseInt(f(0x15f))/0x9+-parseInt(f(0x15a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x25cf6));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x143;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a['toString']()[h(0x14b)]('(((.+)+)+)+$')[h(0x15e)]()['constructor'](a41a)[h(0x14b)](h(0x151));});function a41c(){const k=['rewardItem','toString','1774584iAHUxh','13624QkbTFA','actor','write','SolveCommand:\x20','1413lwHEtH','2041109KhDwzU','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','puzzle','solve','Attempt\x20to\x20solve\x20a\x20puzzle.','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','search','join','success','message','1547200hbqtig','1560816ROXJwd','(((.+)+)+)+$','logger','description','inventory','apply','1292ssMJUY','verb','execute','14QrVYaW','1106440DSMmvW','6MVRvpK','toLowerCase'];a41c=function(){return k;};return a41c();}a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0x157)]=a41i(0x148);static [a41i(0x153)]=a41i(0x149);[a41i(0x158)](a){const j=a41i,b=a[j(0x14c)]('\x20')[j(0x15c)](),c=this[j(0x161)]['currentLocation'];if(!c||!c['puzzle'])return this['logger'][j(0x162)](j(0x146)),j(0x14a);const d=c[j(0x147)][j(0x148)](b,this[j(0x161)][j(0x154)]);return d[j(0x14d)]&&c[j(0x147)][j(0x15d)]&&this[j(0x161)]['inventory']['addItem'](c[j(0x147)][j(0x15d)]),this[j(0x152)][j(0x162)](j(0x143)+d['message']),d[j(0x14e)];}}
@@ -1 +1 @@
1
- function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x14d;let f=c[d];return f;},a42d(a,b);}const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x15a))/0x1+-parseInt(f(0x170))/0x2+parseInt(f(0x166))/0x3*(parseInt(f(0x162))/0x4)+parseInt(f(0x168))/0x5+parseInt(f(0x16a))/0x6+-parseInt(f(0x172))/0x7+-parseInt(f(0x16f))/0x8*(-parseInt(f(0x152))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xec33c));function a42c(){const l=['23949xAFSYN','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20not\x20found\x20in\x20','search','There\x20is\x20no\x20item\x20\x22','Successfully\x20added\x20\x22','actor','(((.+)+)+)+$','1676107nldXSe','inventory','apply','Item\x20\x22','\x20during\x20\x27Take\x27\x20command.','\x22\x20is\x20too\x20heavy\x20to\x20carry.','toString','removeItem','948vyMEUN','currentLocation','\x22\x20from\x20','description','21915VxOgui','join','8971190AVUmuq','constructor','5959890IHEywJ','You\x20have\x20taken\x20the\x20','Successfully\x20removed\x20\x22','message','take','344DwGKxc','111814dMWUzM','addInventory','13536341iyKwaL','name','\x22\x20in\x20this\x20room.','write','logger','getItem'];a42c=function(){return l;};return a42c();}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x15c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x160)]()[h(0x155)]('(((.+)+)+)+$')['toString']()[h(0x169)](a42a)[h(0x155)](h(0x159));});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a42i(0x16e);static [a42i(0x165)]='Pick\x20up\x20an\x20item.';['execute'](a){const j=a42i;return this[j(0x150)][j(0x14f)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x167)]('\x20')),this['take'](a);}[a42i(0x16e)](a){const k=a42i,b=a[k(0x167)]('\x20')['toLowerCase'](),c=this[k(0x158)][k(0x163)];if(!c['inventory']['hasItem'](b))return this[k(0x150)][k(0x14f)](k(0x15d)+b+k(0x154)+c[k(0x14d)]+k(0x15e)),k(0x156)+b+'\x22\x20in\x20this\x20room.';const d=c[k(0x15b)][k(0x151)](b);if(!d)return this[k(0x150)]['write'](k(0x15d)+b+'\x22\x20not\x20retrieved\x20from\x20'+c['name']+k(0x153)),k(0x156)+b+k(0x14e);try{return this[k(0x158)][k(0x171)](d),this['logger'][k(0x14f)](k(0x157)+b+'\x22\x20to\x20'+this[k(0x158)][k(0x14d)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0x15b)][k(0x161)](b),this[k(0x150)][k(0x14f)](k(0x16c)+b+k(0x164)+c[k(0x14d)]+k(0x153)),k(0x16b)+b+'.';}catch(e){return this[k(0x150)][k(0x14f)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x16d)]),'The\x20item\x20\x22'+b+k(0x15f);}}}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x11c))/0x1*(-parseInt(f(0x12d))/0x2)+-parseInt(f(0x11a))/0x3+parseInt(f(0x132))/0x4*(parseInt(f(0x121))/0x5)+parseInt(f(0x124))/0x6*(parseInt(f(0x12e))/0x7)+-parseInt(f(0x118))/0x8+-parseInt(f(0x13b))/0x9*(-parseInt(f(0x12f))/0xa)+-parseInt(f(0x116))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x9d29c));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x114;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0x125)](h(0x134))[h(0x13c)]()[h(0x129)](a42a)[h(0x125)](h(0x134));});function a42c(){const l=['\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','12hHeOWx','search','currentLocation','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20from\x20','constructor','logger','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','join','410vJrZWS','2293669oRWrDL','206740Fveqwg','getItem','\x22\x20not\x20found\x20in\x20','164tNaIXg','inventory','(((.+)+)+)+$','\x20during\x20\x27Take\x27\x20command.','Item\x20\x22','write','verb','actor','You\x20have\x20taken\x20the\x20','432KAodmH','toString','description','\x22\x20is\x20too\x20heavy\x20to\x20carry.','2450195RwfUer','\x22\x20in\x20this\x20room.','585192OPPBHt','name','3375435JiUBXb','There\x20is\x20no\x20item\x20\x22','4189motwDW','\x22\x20to\x20','execute','apply','removeItem','155590DgebUD','take'];a42c=function(){return l;};return a42c();}a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0x138)]=a42i(0x122);static [a42i(0x114)]='Pick\x20up\x20an\x20item.';[a42i(0x11e)](a){const j=a42i;return this['logger'][j(0x137)](j(0x12b)+a['join']('\x20')),this[j(0x122)](a);}['take'](a){const k=a42i,b=a[k(0x12c)]('\x20')['toLowerCase'](),c=this['actor'][k(0x126)];if(!c[k(0x133)]['hasItem'](b))return this['logger'][k(0x137)](k(0x136)+b+k(0x131)+c['name']+k(0x135)),'There\x20is\x20no\x20item\x20\x22'+b+k(0x117);const d=c['inventory'][k(0x130)](b);if(!d)return this[k(0x12a)][k(0x137)](k(0x136)+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0x119)]+k(0x127)),k(0x11b)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0x139)]['addInventory'](d),this[k(0x12a)]['write']('Successfully\x20added\x20\x22'+b+k(0x11d)+this[k(0x139)][k(0x119)]+k(0x123)),c[k(0x133)][k(0x120)](b),this['logger']['write']('Successfully\x20removed\x20\x22'+b+k(0x128)+c[k(0x119)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x13a)+b+'.';}catch(e){return this[k(0x12a)][k(0x137)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e['message']),'The\x20item\x20\x22'+b+k(0x115);}}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1af))/0x1*(parseInt(f(0x1ad))/0x2)+-parseInt(f(0x1a5))/0x3+parseInt(f(0x1a6))/0x4+-parseInt(f(0x1ae))/0x5*(-parseInt(f(0x1ac))/0x6)+parseInt(f(0x1b3))/0x7*(-parseInt(f(0x1a0))/0x8)+-parseInt(f(0x19f))/0x9+-parseInt(f(0x1b8))/0xa*(-parseInt(f(0x1b7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xc9561));function a43c(){const k=['toLowerCase','description','14250879xhYtld','151288jSOdll','constructor','name','apply','write','392475HoEbgp','1502648DhVnOM','Unequip\x20an\x20item.','actor','unqeuip','(((.+)+)+)+$','UnequipCommand:\x20','3247350xBcqmt','2FbcRbs','10VWwPRE','248393nYtbBq','logger','search','verb','308ASTPrw','join','unequip','\x20unqeuiped\x20','23774234SbWXvV','10ZPPbDb'];a43c=function(){return k;};return a43c();}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x19d;let f=c[d];return f;},a43d(a,b);}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()[h(0x1b1)]('(((.+)+)+)+$')['toString']()[h(0x1a1)](a43a)[h(0x1b1)](h(0x1aa));});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x1b2)]=a43i(0x1a9);static [a43i(0x19e)]=a43i(0x1a7);['execute'](a){const j=a43i,b=a[j(0x1b4)]('\x20')[j(0x19d)](),c=this['actor'][j(0x1b5)](b);return this[j(0x1b0)][j(0x1a4)](j(0x1ab)+this[j(0x1a8)][j(0x1a2)]+j(0x1b6)+c),c;}}
1
+ function a43c(){const j=['480Epvwhn','search','toLowerCase','3067130GLadpl','description','name','verb','15670gpEdPO','actor','114896Ukraht','57WwyZfA','UnequipCommand:\x20','logger','55554NTtCNe','execute','1483192yaIARY','Unequip\x20an\x20item.','38030wzzdHG','91PBOlGG','(((.+)+)+)+$','\x20unqeuiped\x20','33evdvpA','toString','unqeuip','constructor','unequip','6567462hojYcF'];a43c=function(){return j;};return a43c();}const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x145))/0x1+-parseInt(f(0x149))/0x2*(parseInt(f(0x142))/0x3)+-parseInt(f(0x147))/0x4+parseInt(f(0x13f))/0x5*(-parseInt(f(0x138))/0x6)+parseInt(f(0x14a))/0x7*(-parseInt(f(0x141))/0x8)+parseInt(f(0x137))/0x9+-parseInt(f(0x13b))/0xa*(-parseInt(f(0x14d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x82d5e));const a43b=(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;};}()),a43a=a43b(this,function(){const g=a43d;return a43a[g(0x14e)]()['search'](g(0x14b))['toString']()[g(0x150)](a43a)[g(0x139)](g(0x14b));});function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x136;let f=c[d];return f;},a43d(a,b);}a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43h(0x13e)]=a43h(0x14f);static [a43h(0x13c)]=a43h(0x148);[a43h(0x146)](a){const i=a43h,b=a['join']('\x20')[i(0x13a)](),c=this[i(0x140)][i(0x136)](b);return this[i(0x144)]['write'](i(0x143)+this[i(0x140)][i(0x13d)]+i(0x14c)+c),c;}}
@@ -1 +1 @@
1
- const a44k=a44d;function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x6b;let f=c[d];return f;},a44d(a,b);}(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x79))/0x1+parseInt(h(0x7e))/0x2*(-parseInt(h(0x7c))/0x3)+-parseInt(h(0x6b))/0x4*(parseInt(h(0x6d))/0x5)+parseInt(h(0x78))/0x6*(parseInt(h(0x76))/0x7)+parseInt(h(0x7b))/0x8+parseInt(h(0x8d))/0x9+parseInt(h(0x82))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x1e907));function a44c(){const n=['has','get','85580fNEMtx','name','55gTKpBN','There\x27s\x20no\x20door\x20named\x20\x22','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','unlockItemOrSolution','execute','unlock','hasItem','write','UnlockCommand:\x20','21EdaMlX','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','374922vLuBCx','91823MGjXTf','(((.+)+)+)+$','1261848wunpDe','195438CqUGjQ','toLowerCase','4rOSRTw','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','\x22\x20here.','currentLocation','454160hnSnpY','description','error','UnlockCommand:\x20No\x20target\x20specified.','attemptUnlockExit','.\x20Result:\x20','verb','inventory','actor','exits','toString','1728387Bawcms','apply','logger'];a44c=function(){return n;};return a44c();}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x8c)]()['search'](j(0x7a))[j(0x8c)]()['constructor'](a44a)['search'](j(0x7a));});a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0x88)]=a44k(0x72);static [a44k(0x83)]='Unlock\x20a\x20door.';[a44k(0x71)](a){const l=a44k;return this[l(0x72)](a);}[a44k(0x72)](a){const m=a44k;if(a['length']===0x0)return this[m(0x8f)][m(0x84)](m(0x85)),m(0x77);const b=a[0x0][m(0x7d)](),c=this['actor'][m(0x81)];if(this['isValidDirection'](b)&&c[m(0x8b)][m(0x90)](b)){const d=c[m(0x8b)][m(0x91)](b);if(d instanceof Door){const e=d[m(0x70)]?.['toLowerCase']();if(e&&this[m(0x8a)][m(0x89)][m(0x73)](e)){const f=this[m(0x8a)]['inventory']['getItem'](e);if(f){const g=c[m(0x86)](b,f['name']);return this[m(0x8f)][m(0x74)](m(0x75)+this['actor'][m(0x6c)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+m(0x87)+g),g;}}return this[m(0x8f)][m(0x74)](m(0x75)+this[m(0x8a)][m(0x6c)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),m(0x6f);}else return this[m(0x8f)][m(0x74)](m(0x75)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x6c)]+'.'),m(0x6e)+b+m(0x80);}else return this[m(0x8f)][m(0x74)](m(0x75)+b+m(0x7f)+c[m(0x6c)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x80);}}
1
+ function a44c(){const n=['187887YyUMxt','actor','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','1ESxDXb','get','UnlockCommand:\x20','verb','\x20is\x20attempted\x20to\x20unlock\x20','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','logger','toString','hasItem','unlockItemOrSolution','exits','8yUjFZR','length','search','isValidDirection','231048GbIQbw','.\x20Result:\x20','There\x27s\x20no\x20door\x20named\x20\x22','unlock','error','getItem','106161uEtKxr','UnlockCommand:\x20No\x20target\x20specified.','12IZhuRb','Unlock\x20a\x20door.','write','apply','inventory','\x22\x20here.','3855303qVQtyl','1384008NhSGyJ','530qajyWr','(((.+)+)+)+$','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','1753225OCDMZO','name','1952952QMivzX','toLowerCase'];a44c=function(){return n;};return a44c();}const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x19e))/0x1*(-parseInt(h(0x199))/0x2)+parseInt(h(0x193))/0x3+parseInt(h(0x18c))/0x4*(-parseInt(h(0x197))/0x5)+parseInt(h(0x1ad))/0x6+-parseInt(h(0x19b))/0x7*(-parseInt(h(0x1a9))/0x8)+-parseInt(h(0x192))/0x9+-parseInt(h(0x194))/0xa*(-parseInt(h(0x18a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x8275a));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a['toString']()[j(0x1ab)](j(0x195))[j(0x1a5)]()['constructor'](a44a)['search']('(((.+)+)+)+$');});a44a();import{Door}from'../models/door.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x185;let f=c[d];return f;},a44d(a,b);}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0x1a1)]=a44k(0x187);static ['description']=a44k(0x18d);['execute'](a){const l=a44k;return this[l(0x187)](a);}[a44k(0x187)](a){const m=a44k;if(a[m(0x1aa)]===0x0)return this[m(0x1a4)][m(0x188)](m(0x18b)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0]['toLowerCase'](),c=this[m(0x19c)]['currentLocation'];if(this[m(0x1ac)](b)&&c['exits']['has'](b)){const d=c[m(0x1a8)][m(0x19f)](b);if(d instanceof Door){const e=d[m(0x1a7)]?.[m(0x19a)]();if(e&&this['actor']['inventory'][m(0x1a6)](e)){const f=this['actor'][m(0x190)][m(0x189)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0x198)]);return this[m(0x1a4)][m(0x18e)](m(0x1a0)+this[m(0x19c)][m(0x198)]+m(0x1a2)+b+m(0x185)+g),g;}}return this[m(0x1a4)][m(0x18e)](m(0x1a0)+this[m(0x19c)][m(0x198)]+m(0x1a3)+b+'.'),m(0x196);}else return this[m(0x1a4)]['write'](m(0x1a0)+b+m(0x19d)+c[m(0x198)]+'.'),m(0x186)+b+m(0x191);}else return this[m(0x1a4)][m(0x18e)](m(0x1a0)+b+m(0x19d)+c[m(0x198)]+'.'),m(0x186)+b+m(0x191);}}
@@ -1 +1 @@
1
- const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x107))/0x1*(-parseInt(f(0x10a))/0x2)+-parseInt(f(0x11d))/0x3*(parseInt(f(0x10e))/0x4)+parseInt(f(0x101))/0x5+parseInt(f(0x109))/0x6*(parseInt(f(0x111))/0x7)+-parseInt(f(0xfb))/0x8+parseInt(f(0x113))/0x9*(parseInt(f(0x118))/0xa)+-parseInt(f(0x10b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x8e9e1));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a['toString']()[h(0x10f)](h(0xfa))[h(0xfc)]()[h(0xfd)](a45a)['search'](h(0xfa));});a45a();function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xfa;let f=c[d];return f;},a45d(a,b);}import{Command}from'./command.js';function a45c(){const k=['27XdNDoo','function','12ztrDUU','7694PgtwmN','12544477fTXhjl','Use\x20an\x20item.','logger','4QXjaSX','search','UseCommand:\x20','1940841lElJOy',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','96759RCrvQD','\x20not\x20retrieved\x20from\x20','join','verb','write','950nZFqit','inventory','name','You\x20can\x27t\x20use\x20the\x20','hasItem','558909NaAHuC','\x27s\x20inventory.','You\x20don\x27t\x20have\x20the\x20','(((.+)+)+)+$','4334984RTYlvu','toString','constructor','\x20to\x20use.','\x20used\x20','getItem','3865020YaszrD','actor','use','\x20doesn\x27t\x20have\x20a\x20use\x20method.','apply','description'];a45c=function(){return k;};return a45c();}export class UseCommand extends Command{static [a45i(0x116)]='use';static [a45i(0x106)]=a45i(0x10c);['execute'](a){return this['use'](a);}[a45i(0x103)](a){const j=a45i,b=a[j(0x115)]('\x20')['toLowerCase']();if(!this[j(0x102)][j(0x119)][j(0x11c)](b))return this[j(0x10d)][j(0x117)]('UseCommand:\x20'+this[j(0x102)][j(0x11a)]+'\x20attempted\x20to\x20use\x20'+b+j(0x112)),'You\x20don\x27t\x20have\x20the\x20'+b+j(0xfe);const c=this[j(0x102)][j(0x119)][j(0x100)](b);if(!c)return this['logger'][j(0x117)](j(0x110)+b+j(0x114)+this[j(0x102)]['name']+j(0x11e)),j(0x11f)+b+j(0xfe);if(typeof c[j(0x103)]===j(0x108)){const d=c[j(0x103)]();return this['logger'][j(0x117)](j(0x110)+this['actor'][j(0x11a)]+j(0xff)+b+'.'),d;}else return this['logger'][j(0x117)]('UseCommand:\x20'+b+j(0x104)),j(0x11b)+b+'\x20in\x20this\x20way.';}}
1
+ const a45i=a45d;function a45c(){const l=['(((.+)+)+)+$','\x20attempted\x20to\x20use\x20','verb','\x20not\x20retrieved\x20from\x20','UseCommand:\x20','558496qgAHuU','search',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','\x20to\x20use.','You\x20can\x27t\x20use\x20the\x20','3262lRWzwo','\x27s\x20inventory.','constructor','toLowerCase','toString','826398EYJdaF','getItem','7678340dRCDYq','use','You\x20don\x27t\x20have\x20the\x20','6UdCjPW','write','hasItem','\x20used\x20','Use\x20an\x20item.','inventory','apply','5722456cvteeq','21OEIlCA','function','actor','description','369STrmwv','logger','683QXZOHi','69344trlJIu','3708IkybNG','395390yflKsp','name'];a45c=function(){return l;};return a45c();}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x123))/0x1*(parseInt(f(0x132))/0x2)+parseInt(f(0x13c))/0x3*(parseInt(f(0x12d))/0x4)+-parseInt(f(0x139))/0x5+-parseInt(f(0x137))/0x6*(-parseInt(f(0x11d))/0x7)+-parseInt(f(0x11c))/0x8+parseInt(f(0x121))/0x9*(parseInt(f(0x126))/0xa)+-parseInt(f(0x124))/0xb*(-parseInt(f(0x125))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xdae16));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x11b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x136)]()[h(0x12e)](h(0x128))[h(0x136)]()[h(0x134)](a45a)[h(0x12e)](h(0x128));});a45a();import{Command}from'./command.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x118;let f=c[d];return f;},a45d(a,b);}export class UseCommand extends Command{static [a45i(0x12a)]='use';static [a45i(0x120)]=a45i(0x119);['execute'](a){const j=a45i;return this[j(0x13a)](a);}[a45i(0x13a)](a){const k=a45i,b=a['join']('\x20')[k(0x135)]();if(!this[k(0x11f)][k(0x11a)][k(0x13e)](b))return this[k(0x122)][k(0x13d)](k(0x12c)+this[k(0x11f)][k(0x127)]+k(0x129)+b+k(0x12f)),k(0x13b)+b+k(0x130);const c=this[k(0x11f)][k(0x11a)][k(0x138)](b);if(!c)return this[k(0x122)][k(0x13d)](k(0x12c)+b+k(0x12b)+this[k(0x11f)][k(0x127)]+k(0x133)),k(0x13b)+b+k(0x130);if(typeof c[k(0x13a)]===k(0x11e)){const d=c[k(0x13a)]();return this[k(0x122)][k(0x13d)](k(0x12c)+this[k(0x11f)]['name']+k(0x118)+b+'.'),d;}else return this['logger'][k(0x13d)]('UseCommand:\x20'+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),k(0x131)+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x141))/0x1*(-parseInt(f(0x139))/0x2)+parseInt(f(0x144))/0x3*(-parseInt(f(0x13a))/0x4)+-parseInt(f(0x145))/0x5*(-parseInt(f(0x142))/0x6)+parseInt(f(0x13f))/0x7+-parseInt(f(0x13e))/0x8*(-parseInt(f(0x143))/0x9)+-parseInt(f(0x136))/0xa+-parseInt(f(0x135))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x1c29f));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x13c)]()[h(0x138)](h(0x13b))['toString']()[h(0x140)](a46a)[h(0x138)](h(0x13b));});a46a();function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x133;let f=c[d];return f;},a46d(a,b);}export class CommandFactory{static [a46i(0x134)]={};static[a46i(0x13d)](a,b){const j=a46i;this[j(0x134)][a]=b;}static['createCommand'](a,b){const k=a46i,c=this[k(0x134)][a];if(c)return new c(b);return null;}static[a46i(0x133)](){const l=a46i;return this[l(0x134)];}}function a46c(){const m=['358967POwJzQ','constructor','203935qtcvEL','1914kkFhvn','9jdqaGe','3EHbjoG','3115JjwmUh','getAllRegisteredCommands','commandMap','1063733REWPcZ','2014590aVdwqF','apply','search','2udNeWa','489548Vrwbrr','(((.+)+)+)+$','toString','registerCommand','655640GgPUIH'];a46c=function(){return m;};return a46c();}
1
+ const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x193))/0x1+-parseInt(f(0x191))/0x2+parseInt(f(0x19f))/0x3*(parseInt(f(0x199))/0x4)+-parseInt(f(0x194))/0x5*(parseInt(f(0x1a0))/0x6)+parseInt(f(0x1a2))/0x7*(parseInt(f(0x19b))/0x8)+parseInt(f(0x19c))/0x9+-parseInt(f(0x192))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x67266));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x1a1)]()[h(0x197)]('(((.+)+)+)+$')[h(0x1a1)]()[h(0x19e)](a46a)[h(0x197)](h(0x19a));});function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x191;let f=c[d];return f;},a46d(a,b);}function a46c(){const l=['5552577sEkfTv','commandMap','constructor','736938kwHjWd','294uSRANv','toString','496874VnjZGF','876328lMAgvj','3460600iagYVt','665808zirhTn','1685OciePI','createCommand','apply','search','registerCommand','8fMaRbe','(((.+)+)+)+$','88ccwbbT'];a46c=function(){return l;};return a46c();}a46a();export class CommandFactory{static [a46i(0x19d)]={};static[a46i(0x198)](a,b){const j=a46i;this[j(0x19d)][a]=b;}static[a46i(0x195)](a,b){const k=a46i,c=this[k(0x19d)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){return this['commandMap'];}}
@@ -1 +1 @@
1
- const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x1c6))/0x1+parseInt(f(0x1c2))/0x2*(-parseInt(f(0x1ce))/0x3)+parseInt(f(0x1bd))/0x4*(-parseInt(f(0x1bc))/0x5)+-parseInt(f(0x1cf))/0x6+-parseInt(f(0x1b9))/0x7+parseInt(f(0x1bf))/0x8+parseInt(f(0x1c3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x6c499));function a47c(){const n=['717328YGLLWX','10814760VtfgMS','items','apply','493501VKGPrt','description','rewardItem','(((.+)+)+)+$','forEach','isStartRoom','book','INSIDE','3zaQmMw','2854836uPeZlq','helmet','bodyarmor','roomType','setPuzzle','sword','toString','boots','gloves','inventory','createItem','type','convertToRoomConfig','toUpperCase','content','legarmor','createPuzzle','4466693lnMvgc','search','createRoom','5UhkZyE','251284DbxXFA','puzzle','2270352AKvtSE','name','constructor'];a47c=function(){return n;};return a47c();}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1c5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x1ae)]()[h(0x1ba)](h(0x1c9))[h(0x1ae)]()[h(0x1c1)](a47a)[h(0x1ba)](h(0x1c9));});function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1aa;let f=c[d];return f;},a47d(a,b);}a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0x1bb)](a){const j=a47i,b=this[j(0x1b4)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[j(0x1c4)][j(0x1ca)](e=>{d['addItem'](this['createItem'](e));}),c[j(0x1b1)]=d;}return a[j(0x1be)]&&c[j(0x1ac)](this[j(0x1b8)](a[j(0x1be)])),c;}[a47i(0x1b2)](a){const k=a47i;switch(a[k(0x1b3)]){case'key':return new Key(a['name'],a[k(0x1c7)]);case k(0x1cc):return new Book(a[k(0x1c0)],a['description'],a[k(0x1b6)]);case k(0x1ad):return new Sword(a['name'],a[k(0x1c7)]);case'rifle':return new Rifle(a[k(0x1c0)],a[k(0x1c7)]);case k(0x1d0):return new Helmet(a[k(0x1c0)],a[k(0x1c7)]);case k(0x1aa):return new BodyArmor(a[k(0x1c0)],a[k(0x1c7)]);case k(0x1b7):return new LegArmor(a['name'],a['description']);case k(0x1af):return new Boots(a[k(0x1c0)],a['description']);case k(0x1b0):return new Gloves(a[k(0x1c0)],a[k(0x1c7)]);case'gauntlets':return new Gauntlets(a['name'],a[k(0x1c7)]);default:return new BasicItem(a[k(0x1c0)],a[k(0x1c7)]);}}[a47i(0x1b8)](a){const l=a47i,b=this[l(0x1b2)](a[l(0x1c8)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0x1b4)](a){const m=a47i,b=a[m(0x1ab)]&&RoomType[a[m(0x1ab)][m(0x1b5)]()]?RoomType[a['roomType'][m(0x1b5)]()]:RoomType[m(0x1cd)];return{'name':a[m(0x1c0)],'description':a[m(0x1c7)],'isStartRoom':a[m(0x1cb)],'roomType':b};}}
1
+ const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x1e7))/0x1*(parseInt(f(0x1fa))/0x2)+parseInt(f(0x1fd))/0x3+-parseInt(f(0x201))/0x4+-parseInt(f(0x1eb))/0x5*(parseInt(f(0x1f9))/0x6)+-parseInt(f(0x1ed))/0x7+-parseInt(f(0x1f3))/0x8+parseInt(f(0x1ef))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x5f75a));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x1e8)]()['search'](h(0x1e5))['toString']()[h(0x1e2)](a47a)[h(0x1e0)](h(0x1e5));});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1dd;let f=c[d];return f;},a47d(a,b);}import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0x1e3)](a){const j=a47i,b=this[j(0x1f5)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[j(0x1f4)][j(0x1ff)](e=>{const k=j;d[k(0x1ec)](this['createItem'](e));}),c['inventory']=d;}return a[j(0x1e9)]&&c[j(0x1f7)](this[j(0x1fc)](a[j(0x1e9)])),c;}['createItem'](a){const l=a47i;switch(a[l(0x1e6)]){case'key':return new Key(a[l(0x1ea)],a['description']);case'book':return new Book(a[l(0x1ea)],a[l(0x1f2)],a[l(0x1fe)]);case l(0x1de):return new Sword(a[l(0x1ea)],a['description']);case l(0x1e1):return new Rifle(a[l(0x1ea)],a[l(0x1f2)]);case'helmet':return new Helmet(a[l(0x1ea)],a[l(0x1f2)]);case l(0x1ee):return new BodyArmor(a[l(0x1ea)],a[l(0x1f2)]);case l(0x1f0):return new LegArmor(a[l(0x1ea)],a[l(0x1f2)]);case l(0x1fb):return new Boots(a[l(0x1ea)],a[l(0x1f2)]);case l(0x1df):return new Gloves(a[l(0x1ea)],a[l(0x1f2)]);case l(0x1e4):return new Gauntlets(a[l(0x1ea)],a[l(0x1f2)]);default:return new BasicItem(a[l(0x1ea)],a['description']);}}[a47i(0x1fc)](a){const m=a47i,b=this[m(0x200)](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a47i(0x1f5)](a){const n=a47i,b=a[n(0x1f6)]&&RoomType[a['roomType'][n(0x1dd)]()]?RoomType[a['roomType']['toUpperCase']()]:RoomType[n(0x1f1)];return{'name':a[n(0x1ea)],'description':a['description'],'isStartRoom':a['isStartRoom'],'roomType':b};}}function a47c(){const o=['toUpperCase','sword','gloves','search','rifle','constructor','createRoom','gauntlets','(((.+)+)+)+$','type','594265qoFVhL','toString','puzzle','name','788885qDvyXQ','addItem','4132114cDXxgI','bodyarmor','9453474xsdpVl','legarmor','INSIDE','description','4628744FapwvY','items','convertToRoomConfig','roomType','setPuzzle','apply','6SCSIZz','2vZqgrm','boots','createPuzzle','2064990bFXUgD','content','forEach','createItem','2461228BGLTIb'];a47c=function(){return o;};return a47c();}
@@ -1 +1 @@
1
- const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x16c))/0x1*(-parseInt(h(0x168))/0x2)+-parseInt(h(0x156))/0x3+-parseInt(h(0x166))/0x4*(parseInt(h(0x154))/0x5)+-parseInt(h(0x162))/0x6*(parseInt(h(0x161))/0x7)+-parseInt(h(0x165))/0x8+-parseInt(h(0x16b))/0x9*(-parseInt(h(0x15a))/0xa)+parseInt(h(0x163))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x83c3d));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x174)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x177)]()['search']('(((.+)+)+)+$')[j(0x177)]()['constructor'](a48a)[j(0x15c)](j(0x16f));});a48a();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x154;let f=c[d];return f;},a48d(a,b);}import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';function a48c(){const s=['look','determineStartRoom','instance','maka','registerCommands','initialize','getWelcomeMessage','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','30OINAWf','lock','111264UykqXy','split','scene','getInstance','307330HHWlsf','registerCommand','search','drop','trim','slice','unlock','1392216jXltLa','30lRLpsp','42938192INcyPK','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','8026632gbmaru','288188dcmhGx','player','282zdjYAz','clear','createCommand','9EQvneC','6577WmwrIf','getHelpMessage','toLowerCase','(((.+)+)+)+$','rooms','getDescription','Available\x20Commands:\x0a','take','apply','-\x20quit:\x20Exit\x20the\x20game.\x0a','-\x20clear:\x20Clear\x20the\x20screen.\x0a','toString','currentRoom','unequip'];a48c=function(){return s;};return a48c();}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 [a48k(0x17c)];[a48k(0x158)];[a48k(0x167)];[a48k(0x178)];[a48k(0x170)];constructor(a,b){const l=a48k;this[l(0x167)]=a,this[l(0x158)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x158)][l(0x17f)](),this[l(0x167)]['currentLocation']=this[l(0x17b)](),this[l(0x17e)]();}['registerCommands'](){const m=a48k;CommandFactory[m(0x15b)](m(0x17a),LookCommand),CommandFactory[m(0x15b)]('go',GoCommand),CommandFactory[m(0x15b)](m(0x173),TakeCommand),CommandFactory[m(0x15b)]('use',UseCommand),CommandFactory[m(0x15b)]('equip',EquipCommand),CommandFactory[m(0x15b)](m(0x179),UnequipCommand),CommandFactory['registerCommand']('solve',SolveCommand),CommandFactory['registerCommand'](m(0x15d),DropCommand),CommandFactory[m(0x15b)](m(0x160),UnlockCommand),CommandFactory[m(0x15b)](m(0x155),LockCommand),CommandFactory[m(0x15b)](m(0x15c),SearchCommand),CommandFactory[m(0x15b)]('say',SayCommand);}['determineStartRoom'](){const n=a48k;return this['scene'][n(0x17b)]();}[a48k(0x180)](){const o=a48k;return'Welcome,\x20'+this[o(0x167)]['name'];}static[a48k(0x159)](a,b){const p=a48k;return!Game['instance']&&(Game[p(0x17c)]=new Game(a,b)),Game[p(0x17c)];}['handleInput'](a){const q=a48k,b=a[q(0x15e)]()[q(0x157)]('\x20'),c=b[0x0][q(0x16e)](),d=b[q(0x15f)](0x1);if(c==='quit')return null;if(c===q(0x17d))return q(0x181);if(c==='help')return this[q(0x16d)]();if(c===q(0x169))return'';const e={'actor':this['player'],'rooms':this[q(0x158)]['getRooms'](),'scene':this[q(0x158)]},f=CommandFactory[q(0x16a)](c,e);if(f){const g=f['execute'](d);return g;}return q(0x164)+c+'\x22.';}['getHelpMessage'](){const r=a48k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x172);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x171)]()+'\x0a';}}return b+=r(0x176),b+=r(0x175),b;}}
1
+ const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0xbf))/0x1+-parseInt(h(0xdd))/0x2*(parseInt(h(0xd3))/0x3)+parseInt(h(0xc6))/0x4*(-parseInt(h(0xeb))/0x5)+parseInt(h(0xce))/0x6+-parseInt(h(0xe1))/0x7*(-parseInt(h(0xe5))/0x8)+parseInt(h(0xec))/0x9+-parseInt(h(0xdf))/0xa*(parseInt(h(0xf0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xc5e09));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0xc0)]()[j(0xe7)](j(0xd1))['toString']()[j(0xca)](a48a)[j(0xe7)](j(0xd1));});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xbe;let f=c[d];return f;},a48d(a,b);}import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a48c(){const s=['lock','getRooms','execute','initialize','trim','8kkLjfg','take','use','currentRoom','constructor','quit','solve','say','5388378FBpqQh','registerCommands','getDescription','(((.+)+)+)+$','player','3KmywCN','-\x20clear:\x20Clear\x20the\x20screen.\x0a','hasOwnProperty','handleInput','slice','Welcome,\x20','apply','scene','help','maka','1137646MaAYJm','toLowerCase','280710MBhSxc','registerCommand','14AOcwEv','unlock','equip','clear','1404464SBcuES','unequip','search','look','name','getWelcomeMessage','2042710ZNQUAa','11479518reNOHT','getInstance','Available\x20Commands:\x0a','createCommand','407nzMgjU','determineStartRoom','instance','getHelpMessage','710358hWEVBp','toString'];a48c=function(){return s;};return a48c();}import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0xf2)];['scene'];[a48k(0xd2)];[a48k(0xc9)];['rooms'];constructor(a,b){const l=a48k;this['player']=a,this[l(0xda)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0xda)][l(0xc4)](),this['player']['currentLocation']=this[l(0xf1)](),this[l(0xcf)]();}[a48k(0xcf)](){const m=a48k;CommandFactory[m(0xe0)](m(0xe8),LookCommand),CommandFactory[m(0xe0)]('go',GoCommand),CommandFactory['registerCommand'](m(0xc7),TakeCommand),CommandFactory['registerCommand'](m(0xc8),UseCommand),CommandFactory[m(0xe0)](m(0xe3),EquipCommand),CommandFactory[m(0xe0)](m(0xe6),UnequipCommand),CommandFactory[m(0xe0)](m(0xcc),SolveCommand),CommandFactory[m(0xe0)]('drop',DropCommand),CommandFactory[m(0xe0)](m(0xe2),UnlockCommand),CommandFactory[m(0xe0)](m(0xc1),LockCommand),CommandFactory[m(0xe0)](m(0xe7),SearchCommand),CommandFactory[m(0xe0)](m(0xcd),SayCommand);}[a48k(0xf1)](){const n=a48k;return this[n(0xda)][n(0xf1)]();}[a48k(0xea)](){const o=a48k;return o(0xd8)+this[o(0xd2)][o(0xe9)];}static[a48k(0xed)](a,b){const p=a48k;return!Game[p(0xf2)]&&(Game[p(0xf2)]=new Game(a,b)),Game[p(0xf2)];}[a48k(0xd6)](a){const q=a48k,b=a[q(0xc5)]()['split']('\x20'),c=b[0x0][q(0xde)](),d=b[q(0xd7)](0x1);if(c===q(0xcb))return null;if(c===q(0xdc))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0xdb))return this[q(0xbe)]();if(c===q(0xe4))return'';const e={'actor':this[q(0xd2)],'rooms':this[q(0xda)][q(0xc2)](),'scene':this[q(0xda)]},f=CommandFactory[q(0xef)](c,e);if(f){const g=f[q(0xc3)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a48k(0xbe)](){const r=a48k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0xee);for(const c in a){if(a[r(0xd5)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xd0)]()+'\x0a';}}return b+=r(0xd4),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x12b))/0x1*(-parseInt(f(0x127))/0x2)+parseInt(f(0x12a))/0x3+-parseInt(f(0x126))/0x4+parseInt(f(0x12e))/0x5+-parseInt(f(0x12d))/0x6+parseInt(f(0x125))/0x7*(parseInt(f(0x130))/0x8)+parseInt(f(0x12c))/0x9*(-parseInt(f(0x124))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x32917));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x12f)]()['search']('(((.+)+)+)+$')[h(0x12f)]()['constructor'](a49a)['search'](h(0x128));});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';function a49c(){var i=['43594FBDpHa','19179QmYJsL','180132zDikHb','462155KuhZUW','toString','339752iGHSTb','1130mZtjeJ','28SRcDYs','131092VYPzeG','6JkriyF','(((.+)+)+)+$','apply','1137600yQDjwt'];a49c=function(){return i;};return a49c();}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x124;var f=c[d];return f;},a49d(a,b);}export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x147;var f=c[d];return f;},a49d(a,b);}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x14b))/0x1+-parseInt(f(0x14c))/0x2*(parseInt(f(0x150))/0x3)+-parseInt(f(0x14f))/0x4*(-parseInt(f(0x147))/0x5)+-parseInt(f(0x148))/0x6+parseInt(f(0x14e))/0x7+parseInt(f(0x14a))/0x8*(parseInt(f(0x149))/0x9)+parseInt(f(0x14d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x4efb0));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0x151)]()[g(0x153)](g(0x152))['toString']()['constructor'](a49a)[g(0x153)]('(((.+)+)+)+$');});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a49c(){var h=['(((.+)+)+)+$','search','10610DzZYZy','3274626TlEnFh','1410057ZSlEmB','32eTcdyy','514566kVpEpi','9526IHUwXW','5040030qZQvvq','1921479fejmuQ','1100yLRTNE','381oTpRuT','toString'];a49c=function(){return h;};return a49c();}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a50i=a50d;function a50c(){var o=['1692918WCiINx','(((.+)+)+)+$','To\x20','write','roomA','isLockable','15069313xkszml','\x20and\x20','attemptUnlock','3233860NogoLP','Door\x20created\x20between\x20','isLocked','Door\x20unlocked:\x20','8101092DUzrEh','toString','3061497NJNLWD','3989430vwVcUM','logger','apply','roomB','checkIfLocked','search','getInstance','.\x20Is\x20Locked:\x20','unlockItemOrSolution','.\x20Used:\x20','name','1993014ettprJ'];a50c=function(){return o;};return a50c();}(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0x1fe))/0x1+parseInt(f(0x1fd))/0x2+-parseInt(f(0x1f1))/0x3+-parseInt(f(0x207))/0x4+-parseInt(f(0x1f2))/0x5+-parseInt(f(0x1ef))/0x6+parseInt(f(0x204))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xd3380));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x1f4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x1f0)]()['search'](h(0x1ff))[h(0x1f0)]()['constructor'](a50a)[h(0x1f7)](h(0x1ff));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x1ee;var f=c[d];return f;},a50d(a,b);}export class Door extends AbstractDoor{[a50i(0x202)];[a50i(0x1f5)];['isLocked'];[a50i(0x1fa)];[a50i(0x1fc)];['logger'];[a50i(0x203)];constructor(a){var j=a50i;super(),this['roomA']=a[j(0x202)],this[j(0x1f5)]=a[j(0x1f5)],this['isLocked']=a[j(0x209)]||![],this[j(0x1fa)]=a[j(0x1fa)],this['name']=a[j(0x1fc)]?capitalCase(a['name']):j(0x200)+a['roomB']['name'],this[j(0x1f3)]=Logger[j(0x1f8)](),this['isLockable']=!!a[j(0x1fa)],this[j(0x1f3)][j(0x201)](j(0x208)+this[j(0x202)]['name']+j(0x205)+this[j(0x1f5)][j(0x1fc)]+j(0x1f9)+this[j(0x209)]);}['getOtherSide'](a){var k=a50i;return this[k(0x202)]===a?this[k(0x1f5)]:this[k(0x202)];}[a50i(0x206)](a){var l=a50i;if(this[l(0x209)]&&this[l(0x1fa)]&&this[l(0x1fa)]===a)return this[l(0x209)]=![],this[l(0x1f3)]['write'](l(0x1ee)+this[l(0x1fc)]+l(0x1fb)+a),!![];return this[l(0x1f3)]['write']('Failed\x20to\x20unlock\x20door:\x20'+this[l(0x1fc)]+l(0x1fb)+a),![];}[a50i(0x1f6)](){var m=a50i;return this[m(0x209)];}['checkIfLockable'](){var n=a50i;return this[n(0x203)];}}
1
+ var a50i=a50d;function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x144;var f=c[d];return f;},a50d(a,b);}(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x15a))/0x1*(-parseInt(f(0x15f))/0x2)+parseInt(f(0x162))/0x3*(parseInt(f(0x14b))/0x4)+-parseInt(f(0x148))/0x5*(parseInt(f(0x15d))/0x6)+-parseInt(f(0x155))/0x7+-parseInt(f(0x14e))/0x8*(-parseInt(f(0x14f))/0x9)+-parseInt(f(0x146))/0xa*(-parseInt(f(0x14a))/0xb)+-parseInt(f(0x161))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xccb3b));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x164)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x160)]()[h(0x15c)]('(((.+)+)+)+$')['toString']()['constructor'](a50a)[h(0x15c)](h(0x159));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a50c(){var o=['checkIfLockable','\x20and\x20','.\x20Is\x20Locked:\x20','name','9968931omKJfG','getInstance','unlockItemOrSolution','Door\x20created\x20between\x20','(((.+)+)+)+$','1sKEMaT','getOtherSide','search','16152YYzsbX','checkIfLocked','312442aEZHXY','toString','4545072GdkkCB','303yKljcE','roomA','apply','attemptUnlock','roomB','20wphLtz','write','395PAXAjb','logger','7872337pcDYbF','49592DGOdua','isLocked','isLockable','136BqZZyW','7551oChgoq','Door\x20unlocked:\x20'];a50c=function(){return o;};return a50c();}export class Door extends AbstractDoor{[a50i(0x163)];[a50i(0x145)];[a50i(0x14c)];[a50i(0x157)];[a50i(0x154)];['logger'];[a50i(0x14d)];constructor(a){var j=a50i;super(),this[j(0x163)]=a[j(0x163)],this[j(0x145)]=a[j(0x145)],this['isLocked']=a[j(0x14c)]||![],this[j(0x157)]=a[j(0x157)],this[j(0x154)]=a[j(0x154)]?capitalCase(a[j(0x154)]):'To\x20'+a[j(0x145)][j(0x154)],this[j(0x149)]=Logger[j(0x156)](),this[j(0x14d)]=!!a[j(0x157)],this[j(0x149)][j(0x147)](j(0x158)+this['roomA'][j(0x154)]+j(0x152)+this[j(0x145)][j(0x154)]+j(0x153)+this[j(0x14c)]);}[a50i(0x15b)](a){var k=a50i;return this[k(0x163)]===a?this['roomB']:this[k(0x163)];}[a50i(0x144)](a){var l=a50i;if(this[l(0x14c)]&&this[l(0x157)]&&this[l(0x157)]===a)return this['isLocked']=![],this[l(0x149)]['write'](l(0x150)+this[l(0x154)]+'.\x20Used:\x20'+a),!![];return this[l(0x149)][l(0x147)]('Failed\x20to\x20unlock\x20door:\x20'+this[l(0x154)]+'.\x20Used:\x20'+a),![];}[a50i(0x15e)](){var m=a50i;return this[m(0x14c)];}[a50i(0x151)](){var n=a50i;return this[n(0x14d)];}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x15c))/0x1*(-parseInt(f(0x174))/0x2)+parseInt(f(0x16d))/0x3+-parseInt(f(0x161))/0x4+-parseInt(f(0x152))/0x5+-parseInt(f(0x168))/0x6*(-parseInt(f(0x176))/0x7)+-parseInt(f(0x16c))/0x8+-parseInt(f(0x165))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x63dba));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a['toString']()[h(0x15d)]('(((.+)+)+)+$')['toString']()[h(0x162)](a51a)[h(0x15d)]('(((.+)+)+)+$');});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x14f;let f=c[d];return f;},a51d(a,b);}function a51c(){const r=['join','getAllItems','has','map','getItem','7HIvJfJ','search','weight','hasItem','items','300180UqaElE','constructor','Listed\x20items\x20in\x20inventory:\x20','\x20to\x20inventory.','1627101IMpXGG','Checked\x20for\x20item:\x20','toLowerCase','354kxWuYS','values','\x20from\x20inventory.','apply','3030456kRmrrV','1098282loDFBR','getInstance','.\x20Item\x20not\x20found.','write','keys','logger','removeItem','153740SwpkGT','Failed\x20to\x20remove\x20item:\x20','20902tBUqzl','listItems','delete','\x20in\x20','183495UoOvaO','name','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','get','set'];a51c=function(){return r;};return a51c();}export class Inventory extends AbstractInventory{[a51i(0x160)];['logger'];constructor(){const j=a51i;super(),this['items']=new Map(),this[j(0x172)]=Logger[j(0x16e)]();}['addItem'](a){const k=a51i;this[k(0x160)][k(0x156)](a['name'][k(0x167)](),a),this[k(0x172)][k(0x170)]('Added\x20item:\x20'+a[k(0x153)]+k(0x164));}[a51i(0x173)](a){const l=a51i,b=this[l(0x15b)](a);if(b)return this[l(0x160)][l(0x150)](a[l(0x167)]()),this['logger'][l(0x170)]('Removed\x20item:\x20'+a+l(0x16a)),b;return this[l(0x172)]['write'](l(0x175)+a+l(0x16f)),null;}[a51i(0x15f)](a){const m=a51i,b=this['items'][m(0x159)](a[m(0x167)]()),c=[...this[m(0x160)][m(0x171)]()];return this[m(0x172)]['write'](m(0x166)+a+m(0x151)+c[m(0x157)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a51i(0x15b)](a){const n=a51i,b=this[n(0x160)][n(0x155)](a['toLowerCase']())||null;return b?this[n(0x172)][n(0x170)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this['logger'][n(0x170)](n(0x154)+a+n(0x16f)),b;}[a51i(0x14f)](){const o=a51i,a=[...this['items'][o(0x171)]()],b=a[o(0x15a)](c=>capitalCase(c));return this[o(0x172)][o(0x170)](o(0x163)+b['join'](',\x20')+'.'),a;}['getWeight'](){const p=a51i;let a=0x0;for(const b of this[p(0x160)][p(0x169)]()){a+=b[p(0x15e)];}return a;}[a51i(0x158)](){const q=a51i;return[...this[q(0x160)]['values']()];}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x1d2))/0x1*(parseInt(f(0x1ba))/0x2)+parseInt(f(0x1c2))/0x3+-parseInt(f(0x1c3))/0x4+-parseInt(f(0x1d0))/0x5*(-parseInt(f(0x1b4))/0x6)+parseInt(f(0x1d4))/0x7*(parseInt(f(0x1d1))/0x8)+parseInt(f(0x1ce))/0x9+-parseInt(f(0x1af))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xded1c));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x1bc)]()[h(0x1cd)](h(0x1b9))[h(0x1bc)]()[h(0x1d8)](a51a)[h(0x1cd)]('(((.+)+)+)+$');});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1af;let f=c[d];return f;},a51d(a,b);}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x1c5)];[a51i(0x1bd)];constructor(){const j=a51i;super(),this[j(0x1c5)]=new Map(),this['logger']=Logger[j(0x1b6)]();}['addItem'](a){const k=a51i;this[k(0x1c5)][k(0x1b3)](a[k(0x1cc)][k(0x1c7)](),a),this[k(0x1bd)][k(0x1c4)](k(0x1c9)+a['name']+k(0x1b0));}[a51i(0x1d3)](a){const l=a51i,b=this[l(0x1ca)](a);if(b)return this['items']['delete'](a[l(0x1c7)]()),this[l(0x1bd)][l(0x1c4)]('Removed\x20item:\x20'+a+l(0x1b1)),b;return this[l(0x1bd)][l(0x1c4)]('Failed\x20to\x20remove\x20item:\x20'+a+l(0x1cf)),null;}[a51i(0x1c8)](a){const m=a51i,b=this[m(0x1c5)][m(0x1b7)](a[m(0x1c7)]()),c=[...this['items']['keys']()];return this[m(0x1bd)][m(0x1c4)](m(0x1c0)+a+m(0x1c6)+c[m(0x1bb)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a51i(0x1ca)](a){const n=a51i,b=this['items']['get'](a[n(0x1c7)]())||null;return b?this[n(0x1bd)][n(0x1c4)](n(0x1d7)+a+'.'):this[n(0x1bd)][n(0x1c4)](n(0x1d6)+a+n(0x1cf)),b;}[a51i(0x1b2)](){const o=a51i,a=[...this['items'][o(0x1b5)]()],b=a[o(0x1c1)](c=>capitalCase(c));return this[o(0x1bd)]['write'](o(0x1b8)+b['join'](',\x20')+'.'),a;}[a51i(0x1be)](){const p=a51i;let a=0x0;for(const b of this[p(0x1c5)]['values']()){a+=b[p(0x1d5)];}return a;}['getAllItems'](){const q=a51i;return[...this[q(0x1c5)][q(0x1bf)]()];}}function a51c(){const r=['set','63324beDoHi','keys','getInstance','has','Listed\x20items\x20in\x20inventory:\x20','(((.+)+)+)+$','26XLCvnF','join','toString','logger','getWeight','values','Checked\x20for\x20item:\x20','map','4759749cJGeoB','938396yntUrI','write','items','\x20in\x20','toLowerCase','hasItem','Added\x20item:\x20','getItem','apply','name','search','3787488PLDqPu','.\x20Item\x20not\x20found.','20rxTjET','7304eCFosW','129289oUrkkp','removeItem','7287HSIrRW','weight','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','Retrieved\x20details\x20for\x20item:\x20','constructor','1720400wTEEXt','\x20to\x20inventory.','\x20from\x20inventory.','listItems'];a51c=function(){return r;};return a51c();}
@@ -1 +1 @@
1
- function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x158;var f=c[d];return f;},a52d(a,b);}var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x16a))/0x1*(parseInt(f(0x169))/0x2)+parseInt(f(0x172))/0x3+-parseInt(f(0x16b))/0x4*(-parseInt(f(0x15d))/0x5)+-parseInt(f(0x171))/0x6+-parseInt(f(0x15b))/0x7*(parseInt(f(0x16e))/0x8)+parseInt(f(0x168))/0x9+parseInt(f(0x164))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xa2f2d));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0x165)]()[g(0x15e)](g(0x16c))['toString']()[g(0x161)](a52a)[g(0x15e)](g(0x16c));});a52a();function a52c(){var k=['80XzOBBT','rating','uuid','3209670CAaRJR','3198519fXjWPY','use','description','.\x20Nothing\x20special\x20happens.','311206gopUKV','category','5RzsXMc','search','size','You\x20use\x20the\x20','constructor','texture','weight','292840JsRUyL','toString','shape','name','2003715KnnjdY','34jUkNBr','56429dvdLYP','5152652BjjhYw','(((.+)+)+)+$','color'];a52c=function(){return k;};return a52c();}import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52h(0x170)];[a52h(0x167)];[a52h(0x159)];[a52h(0x15f)];[a52h(0x15c)];[a52h(0x166)];['color'];[a52h(0x162)];[a52h(0x16f)];[a52h(0x163)];constructor(a){var i=a52h;super(),this[i(0x167)]=a[i(0x167)],this['description']=a[i(0x159)],this['size']=a[i(0x15f)],this[i(0x15c)]=a['category'],this[i(0x166)]=a[i(0x166)],this[i(0x16d)]=a[i(0x16d)],this[i(0x162)]=a[i(0x162)],this[i(0x16f)]=a[i(0x16f)],this[i(0x163)]=a[i(0x163)],this[i(0x170)]=a52e();}[a52h(0x158)](){var j=a52h;return j(0x160)+this['name']+j(0x15a);}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x1ab))/0x1+parseInt(f(0x1a0))/0x2*(parseInt(f(0x19f))/0x3)+parseInt(f(0x19c))/0x4+-parseInt(f(0x19a))/0x5+-parseInt(f(0x19b))/0x6+-parseInt(f(0x199))/0x7*(-parseInt(f(0x1ad))/0x8)+parseInt(f(0x1a2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xb684d));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1a1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x1a3)](h(0x1aa))[h(0x19e)]()['constructor'](a52a)['search'](h(0x1aa));});function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x197;var f=c[d];return f;},a52d(a,b);}a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0x1a4)];['name'];['description'];[a52i(0x1a9)];[a52i(0x1a6)];['shape'];[a52i(0x1a5)];[a52i(0x197)];[a52i(0x1a7)];['weight'];constructor(a){var j=a52i;super(),this[j(0x1ac)]=a['name'],this[j(0x1a8)]=a['description'],this[j(0x1a9)]=a[j(0x1a9)],this[j(0x1a6)]=a[j(0x1a6)],this[j(0x19d)]=a['shape'],this[j(0x1a5)]=a[j(0x1a5)],this[j(0x197)]=a[j(0x197)],this[j(0x1a7)]=a[j(0x1a7)],this[j(0x1ae)]=a[j(0x1ae)],this[j(0x1a4)]=a52e();}[a52i(0x1af)](){var k=a52i;return'You\x20use\x20the\x20'+this[k(0x1ac)]+k(0x198);}}function a52c(){var l=['size','(((.+)+)+)+$','208926QdGAjl','name','40rGeQtc','weight','use','texture','.\x20Nothing\x20special\x20happens.','5509eayDyM','3051895DStSXf','6762462ytCQdJ','800640dAoCRp','shape','toString','664593IkGvXl','2criCwK','apply','16654509ifQKsE','search','uuid','color','category','rating','description'];a52c=function(){return l;};return a52c();}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x194))/0x1+-parseInt(f(0x180))/0x2+-parseInt(f(0x18d))/0x3+-parseInt(f(0x191))/0x4+-parseInt(f(0x18b))/0x5*(parseInt(f(0x181))/0x6)+-parseInt(f(0x18c))/0x7*(-parseInt(f(0x185))/0x8)+parseInt(f(0x190))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x964b8));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x193)]()[h(0x186)](h(0x184))['toString']()[h(0x182)](a53a)[h(0x186)]('(((.+)+)+)+$');});a53a();import{Player}from'./player.js';function a53c(){const n=['speak','5928030VVTdrX','3046352UpQBiA','scene','toString','616193jLobPz','rooms','length','autonomousMove','random','1030556duvxwn','960ZxSsvQ','constructor','execute','(((.+)+)+)+$','8604152dERDUu','search','floor','_dialogue','moveTo','name','10300jETaIe','7vmCEWy','384924nSTZRP','apply'];a53c=function(){return n;};return a53c();}import{GoCommand}from'../commands/go.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x17e;let f=c[d];return f;},a53d(a,b);}export class NPC extends Player{['_name'];[a53i(0x188)];[a53i(0x195)];[a53i(0x192)];constructor(a,b,c,d){const j=a53i;super(d),this['_name']=a,this[j(0x188)]=b,this[j(0x195)]=c;}get[a53i(0x18a)](){return this['_name'];}[a53i(0x18f)](){const k=a53i;return this[k(0x188)][Math[k(0x187)](Math[k(0x17f)]()*this[k(0x188)][k(0x196)])];}[a53i(0x17e)](a){const l=a53i,b=a[Math[l(0x187)](Math['random']()*a[l(0x196)])];this[l(0x189)](b['name']);}[a53i(0x189)](a){const m=a53i,b={'actor':this,'rooms':this[m(0x195)],'scene':this[m(0x192)]},c=new GoCommand(b);c[m(0x183)]([a]);}}
1
+ const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0xa9))/0x1*(-parseInt(f(0xab))/0x2)+-parseInt(f(0xb4))/0x3+parseInt(f(0xba))/0x4+parseInt(f(0xb7))/0x5*(-parseInt(f(0xbd))/0x6)+-parseInt(f(0xb9))/0x7*(parseInt(f(0xb6))/0x8)+-parseInt(f(0xc2))/0x9+parseInt(f(0xb8))/0xa*(parseInt(f(0xaf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x41e33));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const g=a53d;return a53a[g(0xac)]()['search'](g(0xc1))[g(0xac)]()[g(0xbc)](a53a)[g(0xb0)](g(0xc1));});a53a();import{Player}from'./player.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xa9;let f=c[d];return f;},a53d(a,b);}import{GoCommand}from'../commands/go.js';function a53c(){const m=['scene','constructor','3032802DrYxEF','autonomousMove','_dialogue','name','(((.+)+)+)+$','2565261fxJNwn','13121pRpjpW','rooms','8HZGyjJ','toString','_name','execute','16708043OQHxLj','search','floor','moveTo','random','1212738PtNZJb','length','792TyHeHH','5TZxzaz','10YLBbaO','9639mmGEoN','538044dmjCKb'];a53c=function(){return m;};return a53c();}export class NPC extends Player{[a53h(0xad)];['_dialogue'];[a53h(0xaa)];['scene'];constructor(a,b,c,d){const i=a53h;super(d),this[i(0xad)]=a,this['_dialogue']=b,this[i(0xaa)]=c;}get[a53h(0xc0)](){return this['_name'];}['speak'](){const j=a53h;return this[j(0xbf)][Math[j(0xb1)](Math[j(0xb3)]()*this['_dialogue'][j(0xb5)])];}[a53h(0xbe)](a){const k=a53h,b=a[Math[k(0xb1)](Math[k(0xb3)]()*a[k(0xb5)])];this[k(0xb2)](b['name']);}[a53h(0xb2)](a){const l=a53h,b={'actor':this,'rooms':this[l(0xaa)],'scene':this[l(0xbb)]},c=new GoCommand(b);c[l(0xae)]([a]);}}
@@ -1 +1 @@
1
- const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x15a))/0x1+parseInt(f(0x13d))/0x2*(-parseInt(f(0x17f))/0x3)+-parseInt(f(0x17c))/0x4*(parseInt(f(0x14f))/0x5)+-parseInt(f(0x192))/0x6*(parseInt(f(0x153))/0x7)+-parseInt(f(0x140))/0x8+-parseInt(f(0x175))/0x9+parseInt(f(0x191))/0xa*(parseInt(f(0x145))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x1be5d));function a54c(){const B=['You\x20don\x27t\x20have\x20','.\x20You\x20must\x20unequip\x20it\x20first.','search','determineEquipmentSlot','toLowerCase','off','LegArmor','hat','leftHand','currentWeight','torso','leg\x20armor','1941669FWhgVi','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','inventory','enterRoom','addInventory','removeInventory','Invalid\x20category\x20or\x20slot:\x20','224764Eovhck','\x20says:\x20\x22','_playerName','6mUAGqa','bodyarmor','\x20in\x20your\x20inventory.','\x20is\x20no\x20longer\x20listeng\x20in\x20','gloves','error','hasItem','_inventory','maxCarryingWeight','initialEquipment','speak','equip','Shield','Gloves','_currentLocation','unequip','weight','body\x20armor','50ixHIbc','1722uCnDga','(((.+)+)+)+$','32566QBzNlx','name','shield','758344GpeDNk','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','values','logger','getWeight','763653mhGaap','armarmor','inventoryItems','leaveRoom','addItem','Hat','BodyArmor','hear','arm\x20armor','Failed\x20to\x20remove\x20','5rwQzDH','head','currentLocation','Helmet','1043xyPsHs','bind','legarmor','arms','unequipBySlot','equipment','Weapon','209208KnkKPm','helmet','write','_maxCarryingWeight','A\x20featureless\x20room','toString','You\x20can\x27t\x20equip\x20','Boots','\x20from\x20player\x27s\x20inventory.','_equipment','apply','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','legs','startLocation','removeItem'];a54c=function(){return B;};return a54c();}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x164)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x15f)]()[h(0x16b)]('(((.+)+)+)+$')[h(0x15f)]()['constructor'](a54a)[h(0x16b)](h(0x193));});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x13d;let f=c[d];return f;},a54d(a,b);}import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a54i(0x18d)];['_inventory'];['_equipment'];[a54i(0x15d)]=0x32;[a54i(0x143)];constructor(a){const j=a54i;super(),this[j(0x17e)]=a['playerName'],this[j(0x18d)]=a[j(0x167)]||new Room({'name':'Nexus','description':j(0x15e)}),this[j(0x186)]=new Inventory(),this['logger']=Logger['getInstance']();if(a?.[j(0x147)])for(const b of a[j(0x147)]){this[j(0x186)][j(0x149)](b);}this['_equipment']=a?.[j(0x188)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x13e)](){const k=a54i;return this[k(0x17e)];}get[a54i(0x151)](){const l=a54i;return this[l(0x18d)];}set['currentLocation'](a){const m=a54i;this[m(0x18d)]!==a&&(this['leaveRoom'](),this['enterRoom'](a)),this[m(0x18d)]=a;}get[a54i(0x177)](){const n=a54i;return this[n(0x186)];}get['equipment'](){const o=a54i;return this[o(0x163)];}set[a54i(0x158)](a){this['_equipment']=a;}get[a54i(0x187)](){return this['_maxCarryingWeight'];}set[a54i(0x187)](a){const p=a54i;a>0x0?this[p(0x15d)]=a:console[p(0x184)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const q=a54i;let a=this[q(0x186)][q(0x144)]();for(const b in this[q(0x163)]){const c=this[q(0x163)][b];c&&(a+=c[q(0x18f)]);}return a;}[a54i(0x179)](a){const r=a54i;if(this[r(0x172)]+a['weight']>this['maxCarryingWeight']){this[r(0x143)][r(0x15c)](r(0x176));throw new Error(r(0x165));}this['_inventory'][r(0x149)](a),this[r(0x143)][r(0x15c)]('Added\x20'+a['name']+'\x20to\x20player\x27s\x20inventory.');}[a54i(0x17a)](a){const s=a54i;if(this[s(0x186)][s(0x168)](a[s(0x13e)]))return this[s(0x143)][s(0x15c)]('Removed\x20'+a[s(0x13e)]+s(0x162)),!![];return this[s(0x143)][s(0x15c)](s(0x14e)+a[s(0x13e)]+s(0x162)),![];}[a54i(0x18a)](a){const t=a54i;if(!this[t(0x186)][t(0x185)](a[t(0x13e)]))return t(0x169)+a[t(0x13e)]+t(0x181);if(!this['canEquip'](a))return t(0x160)+a[t(0x13e)]+'.';const b=this[t(0x16c)](a['category']);if(!b)return a[t(0x13e)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[t(0x158)][b])return t(0x141)+b+t(0x16a);return this[t(0x158)][b]=a,this['removeInventory'](a),'You\x20equipped\x20'+a[t(0x13e)]+'.';}[a54i(0x18e)](a){const u=a54i;let b=a;if(!this[u(0x158)][camelCase(b)]){b=this[u(0x16c)](a);if(!b)return u(0x17b)+a+'.';}return this[u(0x157)](b);}[a54i(0x16c)](a){const v=a54i;switch(a[v(0x16d)]()){case Category[v(0x159)]['toLowerCase']():return'rightHand';case Category[v(0x18b)][v(0x16d)]():return v(0x171);case Category[v(0x18c)][v(0x16d)]():return v(0x183);case Category[v(0x152)][v(0x16d)]():case Category[v(0x14a)]['toLowerCase']():return v(0x150);case Category[v(0x161)][v(0x16d)]():return'feet';case Category[v(0x16f)]['toLowerCase']():return v(0x166);case Category['ArmArmor'][v(0x16d)]():return'arms';case Category[v(0x14b)][v(0x16d)]():return'torso';case'weapon':return'rightHand';case v(0x13f):return'leftHand';case v(0x183):return v(0x183);case v(0x15b):case v(0x170):return'head';case'boots':return'feet';case v(0x174):case v(0x155):return'legs';case v(0x14d):case v(0x146):return v(0x156);case v(0x190):case v(0x180):case v(0x173):return v(0x173);default:return null;}}['canEquip'](a){const w=a54i;return Object[w(0x142)](Category)['includes'](a['category']);}['unequipBySlot'](a){const x=a54i,b=this[x(0x158)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+'\x20slot.';return this['addInventory'](b),this[x(0x158)][a]=null,'You\x20unequipped\x20'+b[x(0x13e)]+'.';}[a54i(0x14c)](a,b){const y=a54i;a!==this&&this[y(0x143)]['log'](a[y(0x13e)]+y(0x17d)+b+'\x22');}[a54i(0x178)](a){const z=a54i;this['_currentLocation']=a,a['on'](z(0x189),this[z(0x14c)][z(0x154)](this)),this[z(0x143)][z(0x15c)](this['name']+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[z(0x13e)]);}[a54i(0x148)](){const A=a54i;this[A(0x18d)]&&(this['_currentLocation'][A(0x16e)](A(0x189),this[A(0x14c)][A(0x154)](this)),this['logger'][A(0x15c)](this[A(0x13e)]+A(0x182)+this[A(0x18d)][A(0x13e)]));}}
1
+ const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0x114))/0x1+parseInt(f(0xec))/0x2*(parseInt(f(0xe2))/0x3)+-parseInt(f(0x131))/0x4+parseInt(f(0xfa))/0x5*(-parseInt(f(0x122))/0x6)+parseInt(f(0x11f))/0x7+parseInt(f(0xe4))/0x8+parseInt(f(0x128))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x630eb));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a['toString']()[h(0xf1)]('(((.+)+)+)+$')[h(0x127)]()['constructor'](a54a)[h(0xf1)](h(0x116));});a54a();import{camelCase}from'change-case';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xe1;let f=c[d];return f;},a54d(a,b);}function a54c(){const C=['104718oXjUfh','arm\x20armor','_maxCarryingWeight','\x20from\x20player\x27s\x20inventory.','Hat','toString','7854201JCpIyO','speak','You\x20don\x27t\x20have\x20','You\x20equipped\x20','off','_currentLocation','hat','unequip','boots','1457756fpziAN','name','torso','Max\x20carrying\x20weight\x20must\x20be\x20positive.','Failed\x20to\x20remove\x20','\x20is\x20now\x20listening\x20in\x20room\x20','values','\x20says:\x20\x22','You\x20unequipped\x20','\x20in\x20your\x20inventory.','bind','initialEquipment','3vjjVqj','_inventory','5845472dDQfhY','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','weight','error','Invalid\x20category\x20or\x20slot:\x20','_playerName','getWeight','category','366olUvfw','bodyarmor','maxCarryingWeight','addInventory','gloves','search','Boots','_equipment','feet','legs','toLowerCase','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','determineEquipmentSlot','weapon','215BIAIrE','leftHand','currentLocation','currentWeight','write','.\x20You\x20must\x20unequip\x20it\x20first.','equip','leaveRoom','\x20is\x20no\x20longer\x20listeng\x20in\x20','head','Gloves','arms','hasItem','rightHand','ArmArmor','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','\x20to\x20player\x27s\x20inventory.','You\x20can\x27t\x20equip\x20','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','\x20slot.','removeInventory','equipment','armarmor','removeItem','playerName','logger','278355yibqCb','Shield','(((.+)+)+)+$','addItem','log','legarmor','getInstance','inventoryItems','hear','Helmet','Removed\x20','1368192PfsSvx','unequipBySlot','apply'];a54c=function(){return C;};return a54c();}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0xe9)];[a54i(0x12d)];[a54i(0xe3)];[a54i(0xf3)];['_maxCarryingWeight']=0x32;['logger'];constructor(a){const j=a54i;super(),this[j(0xe9)]=a[j(0x112)],this[j(0x12d)]=a['startLocation']||new Room({'name':'Nexus','description':'A\x20featureless\x20room'}),this['_inventory']=new Inventory(),this[j(0x113)]=Logger[j(0x11a)]();if(a?.[j(0x11b)])for(const b of a[j(0x11b)]){this[j(0xe3)][j(0x117)](b);}this[j(0xf3)]=a?.[j(0xe1)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x132)](){const k=a54i;return this[k(0xe9)];}get[a54i(0xfc)](){const l=a54i;return this[l(0x12d)];}set[a54i(0xfc)](a){const m=a54i;this[m(0x12d)]!==a&&(this['leaveRoom'](),this['enterRoom'](a)),this[m(0x12d)]=a;}get['inventory'](){const n=a54i;return this[n(0xe3)];}get['equipment'](){const o=a54i;return this[o(0xf3)];}set[a54i(0x10f)](a){const p=a54i;this[p(0xf3)]=a;}get[a54i(0xee)](){return this['_maxCarryingWeight'];}set[a54i(0xee)](a){const q=a54i;a>0x0?this[q(0x124)]=a:console[q(0xe7)](q(0x134));}get[a54i(0xfd)](){const r=a54i;let a=this[r(0xe3)][r(0xea)]();for(const b in this[r(0xf3)]){const c=this['_equipment'][b];c&&(a+=c[r(0xe6)]);}return a;}['addInventory'](a){const s=a54i;if(this['currentWeight']+a[s(0xe6)]>this[s(0xee)]){this['logger']['write'](s(0xf7));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[s(0xe3)][s(0x117)](a),this[s(0x113)][s(0xfe)]('Added\x20'+a[s(0x132)]+s(0x10a));}[a54i(0x10e)](a){const t=a54i;if(this[t(0xe3)][t(0x111)](a['name']))return this['logger'][t(0xfe)](t(0x11e)+a['name']+t(0x125)),!![];return this[t(0x113)][t(0xfe)](t(0x135)+a['name']+t(0x125)),![];}[a54i(0x100)](a){const u=a54i;if(!this[u(0xe3)][u(0x106)](a[u(0x132)]))return u(0x12a)+a['name']+u(0x13a);if(!this['canEquip'](a))return u(0x10b)+a['name']+'.';const b=this[u(0xf8)](a['category']);if(!b)return a[u(0x132)]+u(0xe5);if(this['equipment'][b])return u(0x10c)+b+u(0xff);return this[u(0x10f)][b]=a,this[u(0x10e)](a),u(0x12b)+a['name']+'.';}[a54i(0x12f)](a){const v=a54i;let b=a;if(!this[v(0x10f)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return v(0xe8)+a+'.';}return this['unequipBySlot'](b);}['determineEquipmentSlot'](a){const w=a54i;switch(a[w(0xf6)]()){case Category['Weapon'][w(0xf6)]():return w(0x107);case Category[w(0x115)][w(0xf6)]():return w(0xfb);case Category[w(0x104)][w(0xf6)]():return w(0xf0);case Category[w(0x11d)][w(0xf6)]():case Category[w(0x126)][w(0xf6)]():return w(0x103);case Category[w(0xf2)][w(0xf6)]():return w(0xf4);case Category['LegArmor'][w(0xf6)]():return w(0xf5);case Category[w(0x108)][w(0xf6)]():return'arms';case Category['BodyArmor'][w(0xf6)]():return w(0x133);case w(0xf9):return'rightHand';case'shield':return w(0xfb);case'gloves':return w(0xf0);case'helmet':case w(0x12e):return w(0x103);case w(0x130):return w(0xf4);case'leg\x20armor':case w(0x119):return w(0xf5);case w(0x123):case w(0x110):return w(0x105);case'body\x20armor':case w(0xed):case w(0x133):return'torso';default:return null;}}['canEquip'](a){const x=a54i;return Object[x(0x137)](Category)['includes'](a[x(0xeb)]);}[a54i(0x120)](a){const y=a54i,b=this['equipment'][a];if(!b)return y(0x109)+a+y(0x10d);return this[y(0xef)](b),this['equipment'][a]=null,y(0x139)+b[y(0x132)]+'.';}[a54i(0x11c)](a,b){const z=a54i;a!==this&&this[z(0x113)][z(0x118)](a['name']+z(0x138)+b+'\x22');}['enterRoom'](a){const A=a54i;this[A(0x12d)]=a,a['on'](A(0x129),this[A(0x11c)][A(0x13b)](this)),this['logger'][A(0xfe)](this[A(0x132)]+A(0x136)+a[A(0x132)]);}[a54i(0x101)](){const B=a54i;this['_currentLocation']&&(this['_currentLocation'][B(0x12c)]('speak',this[B(0x11c)][B(0x13b)](this)),this['logger'][B(0xfe)](this[B(0x132)]+B(0x102)+this[B(0x12d)][B(0x132)]));}}
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x90))/0x1+-parseInt(f(0x8e))/0x2*(-parseInt(f(0x7b))/0x3)+-parseInt(f(0x7f))/0x4*(-parseInt(f(0x80))/0x5)+parseInt(f(0x77))/0x6+parseInt(f(0x89))/0x7*(parseInt(f(0x82))/0x8)+parseInt(f(0x8a))/0x9+-parseInt(f(0x92))/0xa*(parseInt(f(0x93))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x8a8b2));function a55c(){var n=['logger','write','requiredPhrase','2yQLIyL','solved','1015527CzNsZn','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','20ydIjYQ','7510580MzsOIc','(((.+)+)+)+$','apply','Puzzle:\x20Correct\x20solution\x20provided.','2156136abtMbK','successMessage','hasItem','search','939915EPgDHQ','toString','matchesRequiredPhrase','failureMessage','4PBSQLx','2986825ShZlUZ','requiredItem','4216IgNtNn','You\x20have\x20already\x20solved\x20this\x20puzzle.','You\x20solved\x20the\x20puzzle!','solve','riddle','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','rewardItem','8939zzjohz','9050004tbkiAL'];a55c=function(){return n;};return a55c();}var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x7c)]()['search'](h(0x94))[h(0x7c)]()['constructor'](a55a)[h(0x7a)](h(0x94));});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x77;var f=c[d];return f;},a55d(a,b);}export class Puzzle extends AbstractPuzzle{[a55i(0x8b)]=Logger['getInstance']();[a55i(0x8f)]=![];[a55i(0x81)];[a55i(0x8d)];[a55i(0x86)];[a55i(0x88)];[a55i(0x78)];[a55i(0x7e)];constructor(a){var j=a55i;super(),this['requiredItem']=a[j(0x81)],this['requiredPhrase']=a[j(0x8d)],this['riddle']=a['riddle'],this[j(0x88)]=a[j(0x88)],this[j(0x78)]=a[j(0x78)]||j(0x84),this[j(0x7e)]=a[j(0x7e)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}['hasRequiredItem'](a){var k=a55i;if(this[k(0x81)])return a[k(0x79)](this[k(0x81)]);return![];}[a55i(0x7d)](a){var l=a55i;return this[l(0x8d)]===a;}[a55i(0x85)](a,b){var m=a55i;if(this['solved'])return this['logger']['write'](m(0x87)),{'success':![],'message':m(0x83)};return this['hasRequiredItem'](b)||this['matchesRequiredPhrase'](a)?(this['solved']=!![],this[m(0x8b)][m(0x8c)](m(0x96)),{'success':!![],'message':this[m(0x78)]}):(this[m(0x8b)][m(0x8c)](m(0x91)),{'success':![],'message':this['failureMessage']});}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x1f6))/0x1*(-parseInt(f(0x1eb))/0x2)+parseInt(f(0x1e9))/0x3*(parseInt(f(0x1f4))/0x4)+parseInt(f(0x1f0))/0x5+parseInt(f(0x1f3))/0x6*(parseInt(f(0x1f8))/0x7)+-parseInt(f(0x1ef))/0x8+parseInt(f(0x1f2))/0x9*(-parseInt(f(0x1fe))/0xa)+parseInt(f(0x1fa))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x5bb1b));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0x1ff)]('(((.+)+)+)+$')[h(0x202)]()[h(0x1ea)](a55a)[h(0x1ff)](h(0x1fd));});a55a();import{Logger}from'../utilities/logger.js';function a55c(){var n=['6uuNvAA','constructor','191500XdubtP','requiredPhrase','write','riddle','6000552LXWVwY','296845zvUANw','You\x20solved\x20the\x20puzzle!','9VFOQFX','6uLkWpr','853564sFXmkE','successMessage','1bPhmYc','logger','1978991ashsqw','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','2922788TPIjQV','requiredItem','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','(((.+)+)+)+$','46740IfOToM','search','failureMessage','getInstance','toString','hasRequiredItem','Puzzle:\x20Correct\x20solution\x20provided.','You\x20have\x20already\x20solved\x20this\x20puzzle.','hasItem','apply','matchesRequiredPhrase','rewardItem','solved','solve'];a55c=function(){return n;};return a55c();}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1e4;var f=c[d];return f;},a55d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a55i(0x201)]();['solved']=![];[a55i(0x1fb)];['requiredPhrase'];[a55i(0x1ee)];[a55i(0x1e6)];[a55i(0x1f5)];[a55i(0x200)];constructor(a){var j=a55i;super(),this[j(0x1fb)]=a[j(0x1fb)],this[j(0x1ec)]=a['requiredPhrase'],this['riddle']=a[j(0x1ee)],this[j(0x1e6)]=a[j(0x1e6)],this[j(0x1f5)]=a[j(0x1f5)]||j(0x1f1),this[j(0x200)]=a['failureMessage']||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a55i(0x203)](a){var k=a55i;if(this[k(0x1fb)])return a[k(0x206)](this[k(0x1fb)]);return![];}[a55i(0x1e5)](a){var l=a55i;return this[l(0x1ec)]===a;}[a55i(0x1e8)](a,b){var m=a55i;if(this['solved'])return this[m(0x1f7)]['write'](m(0x1fc)),{'success':![],'message':m(0x205)};return this[m(0x203)](b)||this[m(0x1e5)](a)?(this[m(0x1e7)]=!![],this[m(0x1f7)][m(0x1ed)](m(0x204)),{'success':!![],'message':this[m(0x1f5)]}):(this[m(0x1f7)][m(0x1ed)](m(0x1f9)),{'success':![],'message':this[m(0x200)]});}}
@@ -1 +1 @@
1
- const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0x1cd))/0x1*(parseInt(f(0x1bb))/0x2)+parseInt(f(0x1e7))/0x3+parseInt(f(0x1c1))/0x4*(-parseInt(f(0x1be))/0x5)+parseInt(f(0x1b8))/0x6*(-parseInt(f(0x1d1))/0x7)+parseInt(f(0x1d6))/0x8+parseInt(f(0x1d7))/0x9+parseInt(f(0x1e6))/0xa*(-parseInt(f(0x1f2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xbc704));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a['toString']()[h(0x1f0)]('(((.+)+)+)+$')[h(0x1cc)]()[h(0x1ea)](a56a)[h(0x1f0)](h(0x1f4));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a56d(a,b);}import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a56c(){const u=['(((.+)+)+)+$','removeItem','north','say','48348qFKfoN','get','Room\x20created:\x20','1313666WSlJQc','Item\x20removed\x20from\x20room\x20','description','10Efcact','DOWN','getExit','3005120jrQnhU','Checking\x20if\x20exit\x20in\x20direction\x20','Invalid\x20direction:\x20','isExitLocked','checkIfLocked','values','Puzzle\x20set\x20for\x20room\x20','addExit','apply','addItem','Item\x20added\x20to\x20room\x20','toString','1DpcKxw','WEST','.\x20Success:\x20','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','749HRDvhk','INSIDE','hasItem','attemptUnlock','puzzle','1858320pXHOLr','9204237iwaUov','east','emit','name','EAST','setPuzzle','riddle','roomB','roomA','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','logger','write','Fetching\x20exit\x20in\x20direction:\x20','set','SOUTH','70qkmMZX','4614699yDkYyg','findExistingDoor','The\x20','constructor','exits','isStartRoom','getInstance','inventory','south','search','getOppositeDirection','492547saAumy','speak'];a56c=function(){return u;};return a56c();}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x1e1)]=Logger[a56i(0x1ed)]();[a56i(0x1da)];['description'];[a56i(0x1eb)]=new Map();['roomType'];[a56i(0x1ec)];[a56i(0x1ee)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x1da)]=a[j(0x1da)],this['description']=a[j(0x1bd)],this['roomType']=a['roomType']||RoomType[j(0x1d2)],a[j(0x1eb)]&&(this['exits']=a[j(0x1eb)]||new Map()),a[j(0x1ee)]&&(this[j(0x1ee)]=a[j(0x1ee)]),a[j(0x1d5)]&&(this[j(0x1d5)]=a[j(0x1d5)]),this[j(0x1ec)]=a['isStartRoom']||![],this[j(0x1e1)][j(0x1e2)](j(0x1ba)+this[j(0x1da)]);}[a56i(0x1f7)](a,b){const k=a56i;this[k(0x1d9)](k(0x1f3),a,b);}[a56i(0x1c8)](a,b,c){const l=a56i;let d=this[l(0x1e8)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1eb)][l(0x1e4)](a,d),b['exits'][l(0x1e4)](this[l(0x1f1)](a),d);}['attemptUnlockExit'](a,b){const m=a56i,c=this[m(0x1eb)][m(0x1b9)](a);if(c instanceof Door){const d=c[m(0x1d4)](b);return this[m(0x1e1)][m(0x1e2)](m(0x1e0)+a+m(0x1cf)+d),d?m(0x1e9)+c[m(0x1da)]+'\x20unlocked!':m(0x1e9)+c[m(0x1da)]+'\x20remains\x20locked.';}return this[m(0x1e1)][m(0x1e2)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a56i(0x1c0)](a){const n=a56i;return this[n(0x1e1)][n(0x1e2)](n(0x1e3)+a),this[n(0x1eb)][n(0x1b9)](a);}[a56i(0x1c4)](a){const o=a56i,b=this[o(0x1eb)][o(0x1b9)](a),c=b instanceof Door&&b[o(0x1c5)]();return this[o(0x1e1)][o(0x1e2)](o(0x1c2)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a56i(0x1ca)](a){const p=a56i;this['inventory'][p(0x1ca)](a),this['logger'][p(0x1e2)](p(0x1cb)+this[p(0x1da)]+':\x20'+a[p(0x1da)]);}[a56i(0x1f5)](a){const q=a56i;this['inventory'][q(0x1d3)](a[q(0x1da)])?(this[q(0x1ee)]['removeItem'](a[q(0x1da)]),this[q(0x1e1)]['write'](q(0x1bc)+this[q(0x1da)]+':\x20'+a['name'])):this[q(0x1e1)][q(0x1e2)](q(0x1d0)+this[q(0x1da)]+':\x20'+a['name']);}[a56i(0x1dc)](a){const r=a56i;this[r(0x1d5)]=a,this[r(0x1e1)][r(0x1e2)](r(0x1c7)+this[r(0x1da)]+':\x20'+a[r(0x1dd)]);}['getOppositeDirection'](a){const s=a56i;switch(a){case s(0x1f6):return Direction[s(0x1e5)];case s(0x1ef):return Direction['NORTH'];case s(0x1d8):return Direction[s(0x1ce)];case'west':return Direction[s(0x1db)];case'up':return Direction[s(0x1bf)];case'down':return Direction['UP'];default:throw new Error(s(0x1c3)+a);}}['findExistingDoor'](a){const t=a56i;for(const b of this['exits'][t(0x1c6)]()){if(b instanceof Door){if(b[t(0x1df)]===this&&b[t(0x1de)]===a||b[t(0x1de)]===this&&b[t(0x1df)]===a)return b;}}return undefined;}}
1
+ const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x1a4))/0x1*(-parseInt(f(0x185))/0x2)+-parseInt(f(0x1ad))/0x3+-parseInt(f(0x1a3))/0x4*(-parseInt(f(0x189))/0x5)+parseInt(f(0x1aa))/0x6*(-parseInt(f(0x181))/0x7)+parseInt(f(0x195))/0x8*(-parseInt(f(0x1ac))/0x9)+-parseInt(f(0x1b3))/0xa*(parseInt(f(0x187))/0xb)+parseInt(f(0x183))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x932c1));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x18c)]()[h(0x1a8)](h(0x18f))[h(0x18c)]()[h(0x19f)](a56a)['search'](h(0x18f));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x175;let f=c[d];return f;},a56d(a,b);}import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a56c(){const u=['904987rXIoYm','Item\x20added\x20to\x20room\x20','south','say','search','findExistingDoor','15486HmuvJS','getInstance','1974276AJGmrh','3153207txUzZe','\x20remains\x20locked.','exits','WEST','name','inventory','693790MNLAhV','down','write','roomType','puzzle','north','isStartRoom','description','logger','get','DOWN','\x20unlocked!','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','3108gBZSGH','emit','28649424whpYYK','west','2OyCdqD','Invalid\x20direction:\x20','165RgTcqI','setPuzzle','300FRlJkm','roomA','values','toString','EAST','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','(((.+)+)+)+$','removeItem','speak','east','\x20is\x20locked.\x20Result:\x20','Room\x20created:\x20','8WgVZgv','apply','addItem','NORTH','set','hasItem','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','isExitLocked','getExit','SOUTH','constructor','checkIfLocked','Checking\x20if\x20exit\x20in\x20direction\x20','getOppositeDirection','51164aTyZlq'];a56c=function(){return u;};return a56c();}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x17c)]=Logger[a56i(0x1ab)]();[a56i(0x1b1)];[a56i(0x17b)];[a56i(0x1af)]=new Map();[a56i(0x177)];[a56i(0x17a)];[a56i(0x1b2)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x1b1)]=a[j(0x1b1)],this[j(0x17b)]=a[j(0x17b)],this['roomType']=a['roomType']||RoomType['INSIDE'],a[j(0x1af)]&&(this[j(0x1af)]=a['exits']||new Map()),a['inventory']&&(this[j(0x1b2)]=a[j(0x1b2)]),a[j(0x178)]&&(this[j(0x178)]=a[j(0x178)]),this[j(0x17a)]=a[j(0x17a)]||![],this[j(0x17c)][j(0x176)](j(0x194)+this['name']);}[a56i(0x1a7)](a,b){const k=a56i;this[k(0x182)](k(0x191),a,b);}['addExit'](a,b,c){const l=a56i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits']['set'](a,d),b[l(0x1af)][l(0x199)](this[l(0x1a2)](a),d);}['attemptUnlockExit'](a,b){const m=a56i,c=this['exits'][m(0x17d)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0x17c)][m(0x176)](m(0x18e)+a+'.\x20Success:\x20'+d),d?'The\x20'+c[m(0x1b1)]+m(0x17f):'The\x20'+c[m(0x1b1)]+m(0x1ae);}return this[m(0x17c)][m(0x176)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0x180);}[a56i(0x19d)](a){const n=a56i;return this[n(0x17c)][n(0x176)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0x1af)][n(0x17d)](a);}[a56i(0x19c)](a){const o=a56i,b=this[o(0x1af)][o(0x17d)](a),c=b instanceof Door&&b[o(0x1a0)]();return this[o(0x17c)]['write'](o(0x1a1)+a+o(0x193)+c),c;}[a56i(0x197)](a){const p=a56i;this['inventory'][p(0x197)](a),this[p(0x17c)]['write'](p(0x1a5)+this[p(0x1b1)]+':\x20'+a[p(0x1b1)]);}['removeItem'](a){const q=a56i;this['inventory'][q(0x19a)](a[q(0x1b1)])?(this[q(0x1b2)][q(0x190)](a[q(0x1b1)]),this[q(0x17c)][q(0x176)]('Item\x20removed\x20from\x20room\x20'+this['name']+':\x20'+a[q(0x1b1)])):this[q(0x17c)][q(0x176)](q(0x19b)+this['name']+':\x20'+a['name']);}[a56i(0x188)](a){const r=a56i;this['puzzle']=a,this[r(0x17c)][r(0x176)]('Puzzle\x20set\x20for\x20room\x20'+this['name']+':\x20'+a['riddle']);}[a56i(0x1a2)](a){const s=a56i;switch(a){case s(0x179):return Direction[s(0x19e)];case s(0x1a6):return Direction[s(0x198)];case s(0x192):return Direction[s(0x1b0)];case s(0x184):return Direction[s(0x18d)];case'up':return Direction[s(0x17e)];case s(0x175):return Direction['UP'];default:throw new Error(s(0x186)+a);}}[a56i(0x1a9)](a){const t=a56i;for(const b of this[t(0x1af)][t(0x18b)]()){if(b instanceof Door){if(b[t(0x18a)]===this&&b['roomB']===a||b['roomB']===this&&b[t(0x18a)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- function a57c(){const E=['\x20is\x20now\x20in\x20room\x20','Failed\x20to\x20add\x20item\x20','getPlayer','createExitsFromConfig','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','No\x20actor\x20with\x20name\x20','roomConfiguration','player','297UumGgh','join','from','apply','name','Scene\x20initialized\x20with\x20rooms:\x20','addExit','get','addPuzzleToRoom','\x22\x20does\x20not\x20exist.','warn','has','Removed\x20room\x20from\x20scene:\x20','currentLocation','\x20already\x20exists\x20in\x20the\x20scene.','addActor','11KVtYYC','Room\x20\x22','9747564EkYdTk','constructor','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','exits','getInstance','initialize','(((.+)+)+)+$','generateRoomsFromConfig','Added\x20item\x20','characterLocations','set','addItemToRoom','search','rooms','Actor\x20with\x20name\x20','values','setCharacterLocation','actors','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','direction','194235taOEUa','toUpperCase','Added\x20room\x20to\x20scene:\x20','connectRooms','5677OMjPWW','837516jqmFur','addRoom','Failed\x20to\x20set\x20','190344UnOuLz','\x20found\x20in\x20the\x20scene.','toString','targetRoom','push','delete','\x20not\x20found\x20in\x20scene.','getActor','write','createRoom','roomFactory','keyRequired','determineStartRoom','Failed\x20to\x20add\x20puzzle.\x20Room\x20','removeRoom','logger','52CIYmis','length','Added\x20puzzle\x20to\x20room\x20','920CiMHPr','132665vAtrTT','\x20to\x20room\x20','.\x20Room\x20','168420mAvfVi','removeActor','6kIfUeA','isStartRoom'];a57c=function(){return E;};return a57c();}const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0xb9))/0x1*(parseInt(i(0xbe))/0x2)+parseInt(i(0xf3))/0x3+-parseInt(i(0xb5))/0x4*(parseInt(i(0xee))/0x5)+-parseInt(i(0xf6))/0x6+-parseInt(i(0xf2))/0x7*(parseInt(i(0xb8))/0x8)+-parseInt(i(0xc8))/0x9*(parseInt(i(0xbc))/0xa)+parseInt(i(0xd8))/0xb*(parseInt(i(0xda))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x4a23e));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0xf8)]()[k(0xe6)](k(0xe0))[k(0xf8)]()[k(0xdb)](a57a)[k(0xe6)](k(0xe0));});function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0xab;let f=c[d];return f;},a57d(a,b);}a57a();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{[a57l(0xe7)];[a57l(0xc7)];[a57l(0xb4)];[a57l(0xeb)];['characterLocations']=new Map();['roomFactory'];constructor(a){const m=a57l;super(),this[m(0xaf)]=new RoomFactory(),this[m(0xc7)]=a[m(0xc7)],this[m(0xe7)]=this[m(0xe1)](a[m(0xc6)]),this[m(0xb4)]=Logger[m(0xde)](),this[m(0xeb)]=new Map(),this[m(0xc3)](a['roomConfiguration']),this['logger'][m(0xad)](m(0xcd)+Object['keys'](this[m(0xe7)])[m(0xc9)](',\x20'));}[a57l(0xdf)](){const n=a57l;this[n(0xc7)][n(0xd5)]=this[n(0xb1)]();}['generateRoomsFromConfig'](a){const o=a57l;if(!this[o(0xaf)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[o(0xaf)][o(0xae)](c);b[c[o(0xcc)]]=d;}return b;}[a57l(0xc3)](a){const p=a57l;for(const b of a){const c=this[p(0xe7)][b['name']];if(b['exits'])for(const d of b[p(0xdd)]){const e=d[p(0xed)][p(0xef)](),f=d[p(0xf9)],g=d[p(0xb0)],h=this['rooms'][f];h&&c[p(0xce)](Direction[e],h,g);}}}[a57l(0xd7)](a){const q=a57l;if(this[q(0xeb)][q(0xd3)](a[q(0xcc)]))throw new Error(q(0xe8)+a['name']+q(0xd6));this['actors'][q(0xe4)](a[q(0xcc)],a);}[a57l(0xbd)](a){const r=a57l;if(!this[r(0xeb)][r(0xd3)](a))throw new Error(r(0xc5)+a+r(0xf7));this[r(0xeb)][r(0xfb)](a);}[a57l(0xac)](a){const s=a57l;return this[s(0xeb)][s(0xcf)](a);}get['allActors'](){const t=a57l;return Array[t(0xca)](this[t(0xeb)][t(0xe9)]());}[a57l(0xf4)](a){const u=a57l;this[u(0xe7)][a[u(0xcc)]]=a,this[u(0xb4)]['write'](u(0xf0)+a[u(0xcc)]);}[a57l(0xb3)](a){const v=a57l;return this[v(0xe7)][a]?(delete this['rooms'][a],this[v(0xb4)][v(0xad)](v(0xd4)+a),!![]):(this[v(0xb4)][v(0xad)](v(0xec)+a),![]);}[a57l(0xe5)](a,b){const w=a57l,c=this[w(0xe7)][b];c?(c['addItem'](a),this[w(0xb4)][w(0xad)](w(0xe2)+a[w(0xcc)]+w(0xba)+c[w(0xcc)])):this[w(0xb4)]['write'](w(0xc1)+a['name']+w(0xbb)+b+w(0xab));}[a57l(0xd0)](a,b){const x=a57l,c=this[x(0xe7)][b];c?(c['setPuzzle'](a),this[x(0xb4)][x(0xad)](x(0xb7)+c['name'])):this[x(0xb4)][x(0xad)](x(0xb2)+b+x(0xab));}[a57l(0xea)](a,b){const y=a57l,c=this[y(0xe7)][b];c?(this[y(0xe3)][y(0xe4)](a[y(0xcc)],c),this[y(0xb4)][y(0xad)](a[y(0xcc)]+y(0xc0)+c[y(0xcc)])):this[y(0xb4)][y(0xad)](y(0xf5)+a[y(0xcc)]+'\x27s\x20location.\x20Room\x20'+b+y(0xab));}['getCharacterLocation'](a){const z=a57l;return this[z(0xe3)][z(0xcf)](a[z(0xcc)]);}['determineStartRoom'](){const A=a57l,a=[];for(const c in this[A(0xe7)]){if(this[A(0xe7)]['hasOwnProperty'](c)){const d=this['rooms'][c];d[A(0xbf)]&&a[A(0xfa)](d);}}if(a[A(0xb6)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[A(0xb6)]===0x1)return a[0x0];const b=Object['keys'](this[A(0xe7)]);if(b[A(0xb6)]===0x0)throw new Error(A(0xc4));return console[A(0xd2)](A(0xdc)),this[A(0xe7)][b[0x0]];}[a57l(0xc2)](){const B=a57l;return this[B(0xc7)];}['getRooms'](){const C=a57l;return this[C(0xe7)];}[a57l(0xf1)](a,b,c,d){const D=a57l,e=this[D(0xe7)][a],f=this[D(0xe7)][c];if(!e)throw new Error(D(0xd9)+a+D(0xd1));if(!f)throw new Error(D(0xd9)+c+'\x22\x20does\x20not\x20exist.');e[D(0xce)](b,f,d);}}
1
+ const a57k=a57d;function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x154;let f=c[d];return f;},a57d(a,b);}(function(a,b){const i=a57d,c=a();while(!![]){try{const d=-parseInt(i(0x19b))/0x1*(-parseInt(i(0x19c))/0x2)+parseInt(i(0x178))/0x3*(parseInt(i(0x162))/0x4)+-parseInt(i(0x175))/0x5*(-parseInt(i(0x173))/0x6)+-parseInt(i(0x16f))/0x7+parseInt(i(0x161))/0x8*(-parseInt(i(0x194))/0x9)+parseInt(i(0x182))/0xa*(-parseInt(i(0x18a))/0xb)+parseInt(i(0x191))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x23339));const a57b=(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;};}()),a57a=a57b(this,function(){const j=a57d;return a57a[j(0x197)]()[j(0x1a0)](j(0x15c))['toString']()[j(0x156)](a57a)[j(0x1a0)]('(((.+)+)+)+$');});a57a();import{Logger}from'../utilities/logger.js';function a57c(){const D=['roomFactory','warn','get','3732996KzSfhp','Added\x20room\x20to\x20scene:\x20','direction','963WEuhNf','keys','addItem','toString','rooms','addActor','exits','48EqGIqe','3732DGUdwB','\x20is\x20now\x20in\x20room\x20','actors','length','search','.\x20Room\x20','getInstance','Removed\x20room\x20from\x20scene:\x20','push','constructor','Room\x20\x22','currentLocation','keyRequired','\x20already\x20exists\x20in\x20the\x20scene.','Added\x20puzzle\x20to\x20room\x20','(((.+)+)+)+$','hasOwnProperty','join','removeRoom','generateRoomsFromConfig','3944JqARPs','4YjrBek','No\x20actor\x20with\x20name\x20','\x20to\x20room\x20','Added\x20item\x20','characterLocations','from','\x20found\x20in\x20the\x20scene.','initialize','values','addPuzzleToRoom','write','addExit','logger','1940085XlbWcR','getRooms','determineStartRoom','Failed\x20to\x20set\x20','3504wtrzSB','isStartRoom','1475NuqQeR','roomConfiguration','Failed\x20to\x20add\x20item\x20','114591GmlqDx','toUpperCase','delete','\x20not\x20found\x20in\x20scene.','setCharacterLocation','\x27s\x20location.\x20Room\x20','Scene\x20initialized\x20with\x20rooms:\x20','has','createRoom','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','26870OxEqHd','player','Failed\x20to\x20add\x20puzzle.\x20Room\x20','getPlayer','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','name','set','createExitsFromConfig','561vVRXEk','Actor\x20with\x20name\x20','\x22\x20does\x20not\x20exist.','allActors'];a57c=function(){return D;};return a57c();}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57k(0x198)];[a57k(0x183)];[a57k(0x16e)];[a57k(0x19e)];['characterLocations']=new Map();[a57k(0x18e)];constructor(a){const l=a57k;super(),this[l(0x18e)]=new RoomFactory(),this[l(0x183)]=a[l(0x183)],this[l(0x198)]=this[l(0x160)](a[l(0x176)]),this[l(0x16e)]=Logger[l(0x1a2)](),this[l(0x19e)]=new Map(),this['createExitsFromConfig'](a[l(0x176)]),this[l(0x16e)][l(0x16c)](l(0x17e)+Object['keys'](this[l(0x198)])[l(0x15e)](',\x20'));}[a57k(0x169)](){const m=a57k;this[m(0x183)][m(0x158)]=this[m(0x171)]();}[a57k(0x160)](a){const n=a57k;if(!this[n(0x18e)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[n(0x18e)][n(0x180)](c);b[c['name']]=d;}return b;}[a57k(0x189)](a){const o=a57k;for(const b of a){const c=this['rooms'][b[o(0x187)]];if(b[o(0x19a)])for(const d of b['exits']){const e=d[o(0x193)][o(0x179)](),f=d['targetRoom'],g=d[o(0x159)],h=this[o(0x198)][f];h&&c[o(0x16d)](Direction[e],h,g);}}}[a57k(0x199)](a){const p=a57k;if(this['actors'][p(0x17f)](a[p(0x187)]))throw new Error(p(0x18b)+a[p(0x187)]+p(0x15a));this[p(0x19e)]['set'](a['name'],a);}['removeActor'](a){const q=a57k;if(!this[q(0x19e)][q(0x17f)](a))throw new Error(q(0x163)+a+q(0x168));this[q(0x19e)][q(0x17a)](a);}['getActor'](a){const r=a57k;return this['actors'][r(0x190)](a);}get[a57k(0x18d)](){const s=a57k;return Array[s(0x167)](this[s(0x19e)][s(0x16a)]());}['addRoom'](a){const t=a57k;this['rooms'][a[t(0x187)]]=a,this[t(0x16e)][t(0x16c)](t(0x192)+a[t(0x187)]);}[a57k(0x15f)](a){const u=a57k;return this['rooms'][a]?(delete this[u(0x198)][a],this[u(0x16e)][u(0x16c)](u(0x154)+a),!![]):(this['logger'][u(0x16c)](u(0x181)+a),![]);}['addItemToRoom'](a,b){const v=a57k,c=this['rooms'][b];c?(c[v(0x196)](a),this[v(0x16e)]['write'](v(0x165)+a[v(0x187)]+v(0x164)+c[v(0x187)])):this[v(0x16e)][v(0x16c)](v(0x177)+a[v(0x187)]+v(0x1a1)+b+v(0x17b));}[a57k(0x16b)](a,b){const w=a57k,c=this[w(0x198)][b];c?(c['setPuzzle'](a),this[w(0x16e)][w(0x16c)](w(0x15b)+c[w(0x187)])):this[w(0x16e)]['write'](w(0x184)+b+w(0x17b));}[a57k(0x17c)](a,b){const x=a57k,c=this[x(0x198)][b];c?(this[x(0x166)][x(0x188)](a[x(0x187)],c),this[x(0x16e)]['write'](a['name']+x(0x19d)+c[x(0x187)])):this[x(0x16e)]['write'](x(0x172)+a[x(0x187)]+x(0x17d)+b+x(0x17b));}['getCharacterLocation'](a){const y=a57k;return this[y(0x166)][y(0x190)](a[y(0x187)]);}[a57k(0x171)](){const z=a57k,a=[];for(const c in this[z(0x198)]){if(this['rooms'][z(0x15d)](c)){const d=this['rooms'][c];d[z(0x174)]&&a[z(0x155)](d);}}if(a['length']>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[z(0x19f)]===0x1)return a[0x0];const b=Object[z(0x195)](this[z(0x198)]);if(b[z(0x19f)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[z(0x18f)](z(0x186)),this[z(0x198)][b[0x0]];}[a57k(0x185)](){const A=a57k;return this[A(0x183)];}[a57k(0x170)](){const B=a57k;return this[B(0x198)];}['connectRooms'](a,b,c,d){const C=a57k,e=this[C(0x198)][a],f=this['rooms'][c];if(!e)throw new Error(C(0x157)+a+C(0x18c));if(!f)throw new Error(C(0x157)+c+C(0x18c));e[C(0x16d)](b,f,d);}}