@maka/maka-cli 4.12.10 → 4.12.11

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 (162) 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/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/collection.js +1 -1
  109. package/bundle/obf/src/generators/component.js +1 -1
  110. package/bundle/obf/src/generators/config.js +1 -1
  111. package/bundle/obf/src/generators/dbc.js +1 -1
  112. package/bundle/obf/src/generators/dockerfile.js +1 -1
  113. package/bundle/obf/src/generators/hook.js +1 -1
  114. package/bundle/obf/src/generators/kits/_index.js +1 -1
  115. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  117. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  119. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/kit.js +1 -1
  123. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  127. package/bundle/obf/src/generators/layout.js +1 -1
  128. package/bundle/obf/src/generators/maka.gen.js +1 -1
  129. package/bundle/obf/src/generators/methods.js +1 -1
  130. package/bundle/obf/src/generators/package.js +1 -1
  131. package/bundle/obf/src/generators/page.js +1 -1
  132. package/bundle/obf/src/generators/publish.js +1 -1
  133. package/bundle/obf/src/generators/route.js +1 -1
  134. package/bundle/obf/src/generators/service.js +1 -1
  135. package/bundle/obf/src/generators/services/_index.js +1 -1
  136. package/bundle/obf/src/generators/services/openssl.js +1 -1
  137. package/bundle/obf/src/generators/services/translation.js +1 -1
  138. package/bundle/obf/src/maka.js +1 -1
  139. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js +1 -1
  140. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.jsx +1 -1
  141. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.ts +1 -1
  142. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.tsx +1 -1
  143. package/bundle/obf/src/tool.js +1 -1
  144. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  145. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  148. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  151. package/bundle/obf/src/tools/https/https.class.js +1 -1
  152. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  153. package/bundle/obf/src/tools/log/log.class.js +1 -1
  154. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  155. package/bundle/obf/src/tools/options/options.class.js +1 -1
  156. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  157. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  158. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  159. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  160. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  161. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  162. 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(0x83))/0x1*(parseInt(f(0x9d))/0x2)+parseInt(f(0x9b))/0x3+parseInt(f(0x84))/0x4*(-parseInt(f(0x9c))/0x5)+-parseInt(f(0x97))/0x6+-parseInt(f(0x80))/0x7+-parseInt(f(0x8a))/0x8+-parseInt(f(0x85))/0x9*(-parseInt(f(0x8d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x2feb1));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x98)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()[h(0x82)](h(0x9a))[h(0xa0)]()[h(0x90)](a37a)['search']('(((.+)+)+)+$');});a37a();import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x79;let f=c[d];return f;},a37d(a,b);}export class LockCommand extends Command{static [a37i(0x9e)]=a37i(0x88);static [a37i(0x8c)]=a37i(0x95);[a37i(0x8f)](a){return this['lock'](a);}[a37i(0x88)](a){const j=a37i;if(a['length']===0x0)return this[j(0xa2)][j(0x92)]('LockCommand:\x20No\x20target\x20specified.'),j(0x7b);const b=a[0x0]['toLowerCase'](),c=this[j(0x79)][j(0x7d)];if(this[j(0x93)](b)&&c['exits'][j(0x7f)](b)){const d=c[j(0x7c)][j(0x99)](b);if(d[j(0x96)])return j(0x81)+b+j(0x9f);const e=d[j(0x91)]?.['toLowerCase']();return e&&this[j(0x79)][j(0x86)][j(0x8b)](e)?(d['isLocked']=!![],this[j(0xa2)][j(0xa4)](j(0xa1)+this[j(0x79)][j(0xa3)]+j(0x87)+b+'\x20door.'),j(0x7e)+b+'\x22.'):(this[j(0xa2)][j(0xa4)]('LockCommand:\x20'+this['actor'][j(0xa3)]+j(0x7a)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.');}else return this[j(0xa2)]['write'](j(0xa1)+b+j(0x89)),j(0x8e)+b+j(0x94);}}function a37c(){const k=['2133hboewS','inventory','\x20Locked\x20the\x20','lock','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','1465424UAgMuZ','hasItem','description','26920NKYxwA','There\x27s\x20no\x20door\x20named\x20\x22','execute','constructor','unlockItemOrSolution','error','isValidDirection','\x22\x20here.','Lock\x20a\x20door.','isLocked','969288YfjsXJ','apply','get','(((.+)+)+)+$','695727zysTvR','10IUJYvk','15874VQgOEr','verb','\x22\x20is\x20already\x20locked.','toString','LockCommand:\x20','logger','name','write','actor','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','exits','currentLocation','You\x20locked\x20the\x20door\x20named\x20\x22','has','729533hiBZws','The\x20door\x20named\x20\x22','search','19eOhIXZ','147784HxNpfw'];a37c=function(){return k;};return a37c();}
1
+ const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x128))/0x1+-parseInt(f(0x152))/0x2*(-parseInt(f(0x14e))/0x3)+-parseInt(f(0x13f))/0x4*(parseInt(f(0x150))/0x5)+parseInt(f(0x135))/0x6*(parseInt(f(0x14d))/0x7)+parseInt(f(0x143))/0x8+parseInt(f(0x13a))/0x9+-parseInt(f(0x14b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x7a3a0));function a37c(){const k=['488qBhxdU','length','451355MPjpwA','execute','name','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','verb','toLowerCase','isLocked','LockCommand:\x20','logger','error','There\x27s\x20no\x20door\x20named\x20\x22','exits','has','78uRDHgF','The\x20door\x20named\x20\x22','(((.+)+)+)+$','toString','Lock\x20a\x20door.','7690050lioNWj','get','inventory','hasItem','unlockItemOrSolution','1636HqpFCQ','\x22\x20is\x20already\x20locked.','actor','search','7954352vyQcXD','constructor','isValidDirection','write','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','\x22\x20here.','\x20Locked\x20the\x20','lock','13778140rPgYFc','\x20door.','221396hhKvLd','7794NrXgnE','description','6895sxbtLe','apply'];a37c=function(){return k;};return a37c();}function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x128;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(0x151)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x138)]()['search'](h(0x137))['toString']()[h(0x144)](a37a)[h(0x142)](h(0x137));});a37a();import{Command}from'./command.js';export class LockCommand extends Command{static [a37i(0x12c)]='lock';static [a37i(0x14f)]=a37i(0x139);[a37i(0x129)](a){return this['lock'](a);}[a37i(0x14a)](a){const j=a37i;if(a[j(0x153)]===0x0)return this[j(0x130)][j(0x131)]('LockCommand:\x20No\x20target\x20specified.'),j(0x12b);const b=a[0x0][j(0x12d)](),c=this[j(0x141)]['currentLocation'];if(this[j(0x145)](b)&&c[j(0x133)][j(0x134)](b)){const d=c[j(0x133)][j(0x13b)](b);if(d['isLocked'])return j(0x136)+b+j(0x140);const e=d[j(0x13e)]?.[j(0x12d)]();return e&&this['actor'][j(0x13c)][j(0x13d)](e)?(d[j(0x12e)]=!![],this[j(0x130)][j(0x146)](j(0x12f)+this[j(0x141)][j(0x12a)]+j(0x149)+b+j(0x14c)),'You\x20locked\x20the\x20door\x20named\x20\x22'+b+'\x22.'):(this[j(0x130)]['write'](j(0x12f)+this[j(0x141)][j(0x12a)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.');}else return this[j(0x130)][j(0x146)](j(0x12f)+b+j(0x147)),j(0x132)+b+j(0x148);}}
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1b1))/0x1+-parseInt(f(0x1a6))/0x2*(parseInt(f(0x1b6))/0x3)+parseInt(f(0x19f))/0x4*(parseInt(f(0x1b5))/0x5)+parseInt(f(0x1b9))/0x6+parseInt(f(0x1b3))/0x7+parseInt(f(0x195))/0x8+-parseInt(f(0x1be))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x7434a));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x18d;let f=c[d];return f;},a38d(a,b);}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x191)]()[h(0x194)](h(0x1b8))[h(0x191)]()[h(0x18e)](a38a)['search'](h(0x1b8));});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';function a38c(){const n=['inventory','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','\x20here.','getItem','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','1857196NNHVBn','Looking\x20at\x20item\x20\x27','inspectItem','To\x20the\x20','It\x27s\x20just\x20a\x20regular\x20','name','exits','66578YVeypB','description','join','roomType','write','Below\x20you,\x20','down','rooms','getOtherSide','logger','Executing\x20\x27Look\x27\x20command.','551601ggzeHm','puzzle','3773049oOnYKO','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','5USuWLo','33ZDYrlC','You\x20don\x27t\x20see\x20any\x20','(((.+)+)+)+$','3462210sSteJZ','\x20is\x20looking\x20around\x20the\x20current\x20room.','apply','actor','isValidDirection','8292429hSaSxq','You\x20cannot\x20see\x20','look','error','constructor','currentLocation','You\x20cannot\x20see\x20through','toString','You\x27re\x20not\x20in\x20a\x20valid\x20room.','\x27\x20in\x20','search','5878384wMfBTr','riddle','lookOutside','hasItem'];a38c=function(){return n;};return a38c();}import{Command}from'./command.js';export class LookCommand extends Command{static ['verb']=a38i(0x1c0);static [a38i(0x1a7)]='Examine\x20your\x20surroundings';['execute'](a=[]){const j=a38i;this['logger'][j(0x1aa)](j(0x1b0));const b=a[j(0x1a8)]('\x20');if(b){if(this[j(0x1bc)][j(0x199)][j(0x198)](b))return this[j(0x1af)]['write']('Looking\x20at\x20item\x20\x27'+b+j(0x193)+this['actor'][j(0x1a4)]+'\x20inventory.'),this['inspectItem'](b,this[j(0x1bc)][j(0x199)]);else{if(this[j(0x1bc)]['currentLocation']['inventory'][j(0x198)](b))return this[j(0x1af)][j(0x1aa)](j(0x1a0)+b+'\x27\x20in\x20current\x20room\x20inventory.'),this['inspectItem'](b,this[j(0x1bc)][j(0x18f)]['inventory']);else return this[j(0x1bd)](b)?(this['logger']['write'](j(0x19a)+b+'\x27.'),this['lookOutside'](b)):j(0x1bf)+b;}}else return this[j(0x1af)]['write'](this['actor'][j(0x1a4)]+j(0x1ba)),this[j(0x1c0)]();}[a38i(0x1c0)](){const k=a38i,a=this[k(0x1bc)]['currentLocation'];if(!a)return this[k(0x1af)][k(0x18d)](this['actor']['name']+k(0x19e)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';let b=a[k(0x1a7)];return a[k(0x1b2)]&&(b+='\x0a'+a[k(0x1b2)][k(0x196)]),b;}[a38i(0x197)](a){const l=a38i,b=this[l(0x1bc)][l(0x18f)];if(!b)return this[l(0x1af)][l(0x18d)](this[l(0x1bc)]['name']+l(0x19e)),l(0x192);const c=b[l(0x1a5)]['get'](a);if(!c)return l(0x19b)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x1ae)](b);else{if(typeof c==='string'){d=this[l(0x1ad)]&&this['rooms'][c];if(!d)return'There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}else return l(0x1b4)+a+'\x22.';}if(d[l(0x1a9)]===RoomType['OUTSIDE']){if(a==='up')return'Above\x20you,\x20'+d['description'];else return a===l(0x1ac)?l(0x1ab)+d[l(0x1a7)]:l(0x1a2)+a+',\x20you\x20see\x20'+d[l(0x1a7)];}else return l(0x190);}[a38i(0x1a1)](a,b){const m=a38i,c=b[m(0x19d)](a);if(!c)return m(0x1b7)+a+m(0x19c);return c['description']||m(0x1a3)+a+'.';}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x13f))/0x1+parseInt(f(0x173))/0x2*(parseInt(f(0x14f))/0x3)+parseInt(f(0x165))/0x4+parseInt(f(0x15e))/0x5*(-parseInt(f(0x16d))/0x6)+-parseInt(f(0x14b))/0x7*(parseInt(f(0x142))/0x8)+parseInt(f(0x16f))/0x9+-parseInt(f(0x16c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x710c2));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x158)]()[h(0x155)](h(0x176))[h(0x158)]()[h(0x167)](a38a)[h(0x155)](h(0x176));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x13e;let f=c[d];return f;},a38d(a,b);}a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';function a38c(){const n=['actor','787550OxnJqz','Executing\x20\x27Look\x27\x20command.',',\x20you\x20see\x20','204248PqWdHh','isValidDirection','You\x20cannot\x20see\x20through','inventory','You\x27re\x20not\x20in\x20a\x20valid\x20room.','description','currentLocation','write','down','91SlmnxU','Below\x20you,\x20','error','hasItem','546846MMMlnn','join','get','It\x27s\x20just\x20a\x20regular\x20','string','Above\x20you,\x20','search','riddle','apply','toString','rooms','You\x20cannot\x20see\x20','puzzle','execute','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','4196750JMzQDK','roomType','name','lookOutside','OUTSIDE','You\x20don\x27t\x20see\x20any\x20','To\x20the\x20','632372OcLCpm','look','constructor','\x20here.','\x27\x20in\x20current\x20room\x20inventory.','logger','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','5873020MHpFAD','6mwtVsi','Looking\x20at\x20item\x20\x27','3280896acbowU','\x20is\x20looking\x20around\x20the\x20current\x20room.','inspectItem','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','10HZZaxx','getOtherSide','getItem','(((.+)+)+)+$'];a38c=function(){return n;};return a38c();}export class LookCommand extends Command{static ['verb']=a38i(0x166);static [a38i(0x147)]='Examine\x20your\x20surroundings';[a38i(0x15c)](a=[]){const j=a38i;this['logger'][j(0x149)](j(0x140));const b=a[j(0x150)]('\x20');if(b){if(this[j(0x13e)][j(0x145)][j(0x14e)](b))return this[j(0x16a)][j(0x149)](j(0x16e)+b+'\x27\x20in\x20'+this[j(0x13e)][j(0x160)]+'\x20inventory.'),this[j(0x171)](b,this['actor']['inventory']);else{if(this[j(0x13e)]['currentLocation']['inventory'][j(0x14e)](b))return this[j(0x16a)]['write']('Looking\x20at\x20item\x20\x27'+b+j(0x169)),this['inspectItem'](b,this[j(0x13e)][j(0x148)][j(0x145)]);else return this[j(0x143)](b)?(this[j(0x16a)][j(0x149)](j(0x15d)+b+'\x27.'),this[j(0x161)](b)):j(0x15a)+b;}}else return this[j(0x16a)]['write'](this[j(0x13e)][j(0x160)]+j(0x170)),this[j(0x166)]();}[a38i(0x166)](){const k=a38i,a=this[k(0x13e)][k(0x148)];if(!a)return this['logger'][k(0x14d)](this[k(0x13e)]['name']+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),k(0x146);let b=a['description'];return a[k(0x15b)]&&(b+='\x0a'+a[k(0x15b)][k(0x156)]),b;}[a38i(0x161)](a){const l=a38i,b=this[l(0x13e)][l(0x148)];if(!b)return this[l(0x16a)][l(0x14d)](this[l(0x13e)][l(0x160)]+l(0x172)),l(0x146);const c=b['exits'][l(0x151)](a);if(!c)return l(0x16b)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x174)](b);else{if(typeof c===l(0x153)){d=this[l(0x159)]&&this[l(0x159)][c];if(!d)return'There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}else return'Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}if(d[l(0x15f)]===RoomType[l(0x162)]){if(a==='up')return l(0x154)+d[l(0x147)];else return a===l(0x14a)?l(0x14c)+d[l(0x147)]:l(0x164)+a+l(0x141)+d[l(0x147)];}else return l(0x144);}[a38i(0x171)](a,b){const m=a38i,c=b[m(0x175)](a);if(!c)return m(0x163)+a+m(0x168);return c['description']||m(0x152)+a+'.';}}
@@ -1 +1 @@
1
- const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x1cf))/0x1*(-parseInt(g(0x1ca))/0x2)+parseInt(g(0x1d7))/0x3*(parseInt(g(0x1cb))/0x4)+-parseInt(g(0x1da))/0x5*(-parseInt(g(0x1e6))/0x6)+-parseInt(g(0x1e2))/0x7*(parseInt(g(0x1d0))/0x8)+-parseInt(g(0x1e0))/0x9+parseInt(g(0x1dd))/0xa+-parseInt(g(0x1ea))/0xb*(-parseInt(g(0x1d4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xf3cb5));function a39c(){const m=['actor','14516381mTNooR','filter','Scene\x20is\x20missing\x20from\x20context.','verb','apply','allActors','2574SlVTiz','12fFLePx','execute','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','say','17MoQXrw','44344rDTySG','You\x20say:\x20\x22','An\x20error\x20occurred.','log','24jlMNzd','context','(((.+)+)+)+$','158421YdXrLX','\x20says\x20to\x20','join','2405fCcLsO','toString','scene','7339050TKXtdZ','length',':\x20\x22','8761842dzMMLz','currentLocation','2135bCIOBG','logger','name','search','1362dbWHZW','description','constructor'];a39c=function(){return m;};return a39c();}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x1db)]()[i(0x1e5)](i(0x1d6))['toString']()[i(0x1e8)](a39a)[i(0x1e5)](i(0x1d6));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1c5;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0x1c7)]=a39j(0x1ce);static [a39j(0x1e7)]=a39j(0x1cd);[a39j(0x1d5)];constructor(a){const k=a39j;super(a),this[k(0x1d5)]=a;}[a39j(0x1cc)](a){const l=a39j;if(a[l(0x1de)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[l(0x1d9)]('\x20'),c=this['actor'],d=this[l(0x1d5)][l(0x1dc)];if(!d)return this[l(0x1e3)][l(0x1d3)](l(0x1c6)),l(0x1d2);const e=d[l(0x1c9)][l(0x1c5)](f=>f[l(0x1e1)]===c[l(0x1e1)]);for(const f of e){this['logger']['log'](c[l(0x1e4)]+l(0x1d8)+f[l(0x1e4)]+l(0x1df)+b+'\x22'),this[l(0x1e9)][l(0x1e1)][l(0x1ce)](f,b);}return l(0x1d1)+b+'\x22';}}
1
+ const a39i=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x174))/0x1*(parseInt(g(0x173))/0x2)+-parseInt(g(0x185))/0x3*(-parseInt(g(0x16f))/0x4)+-parseInt(g(0x183))/0x5*(parseInt(g(0x16a))/0x6)+parseInt(g(0x17a))/0x7+-parseInt(g(0x17d))/0x8*(parseInt(g(0x17f))/0x9)+parseInt(g(0x16d))/0xa*(parseInt(g(0x169))/0xb)+-parseInt(g(0x17e))/0xc*(-parseInt(g(0x16c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x83242));const a39b=(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;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x186)]()[h(0x16b)]('(((.+)+)+)+$')[h(0x186)]()['constructor'](a39a)[h(0x16b)](h(0x180));});a39a();import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x167;let f=c[d];return f;},a39d(a,b);}export class SayCommand extends Command{static ['verb']=a39i(0x181);static [a39i(0x170)]=a39i(0x178);[a39i(0x184)];constructor(a){const j=a39i;super(a),this[j(0x184)]=a;}[a39i(0x176)](a){const k=a39i;if(a['length']===0x0)return k(0x172);const b=a[k(0x175)]('\x20'),c=this['actor'],d=this['context'][k(0x171)];if(!d)return this['logger'][k(0x16e)](k(0x179)),k(0x17c);const e=d['allActors'][k(0x187)](f=>f[k(0x182)]===c[k(0x182)]);for(const f of e){this['logger'][k(0x16e)](c[k(0x17b)]+'\x20says\x20to\x20'+f[k(0x17b)]+k(0x168)+b+'\x22'),this[k(0x167)][k(0x182)][k(0x181)](f,b);}return k(0x177)+b+'\x22';}}function a39c(){const l=['execute','You\x20say:\x20\x22','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','Scene\x20is\x20missing\x20from\x20context.','4397729gWaXvk','name','An\x20error\x20occurred.','2020344zVKOFu','36oxUdLK','9sFHCGn','(((.+)+)+)+$','say','currentLocation','10ouVYPw','context','13173XPNyXD','toString','filter','actor',':\x20\x22','154781GHQGkz','1321794RwCNpD','search','2499978qnCCEo','610Bsaqrj','log','36ozZJYz','description','scene','What\x20do\x20you\x20want\x20to\x20say?','21818uoWlzc','80bPNIKC','join'];a39c=function(){return l;};return a39c();}
@@ -1 +1 @@
1
- function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xf6;let f=c[d];return f;},a40d(a,b);}const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x105))/0x1+-parseInt(f(0x112))/0x2*(-parseInt(f(0x104))/0x3)+parseInt(f(0xff))/0x4*(-parseInt(f(0xf9))/0x5)+-parseInt(f(0x113))/0x6*(parseInt(f(0x108))/0x7)+parseInt(f(0xfa))/0x8+parseInt(f(0xf6))/0x9+parseInt(f(0xfb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xe58a5));const a40b=(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;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0xfd)]()[g(0xfe)]('(((.+)+)+)+$')[g(0xfd)]()[g(0x10d)](a40a)[g(0xfe)](g(0x10e));});a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40h(0x103)]=a40h(0xfe);static [a40h(0xf8)]=a40h(0xf7);[a40h(0x10c)](){const i=a40h,a=this[i(0x107)][i(0x106)][i(0x111)][i(0x10f)]();if(a[i(0xfc)]===0x0)return this[i(0x109)][i(0x110)]('SearchCommand:\x20'+this[i(0x107)][i(0x102)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),i(0x10b);const b=a[i(0x10a)](',\x20');return this[i(0x109)][i(0x110)](i(0x100)+this[i(0x107)][i(0x102)]+i(0x101)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}function a40c(){const j=['logger','join','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','execute','constructor','(((.+)+)+)+$','listItems','write','inventory','118XMlBPp','12UfbiTi','6781230eaHVnO','Search\x20for\x20items\x20in\x20your\x20area','description','15LVOjdW','7976904uVXIAN','7107220BKmxEg','length','toString','search','237768KSSeeF','SearchCommand:\x20','\x20found\x20the\x20following\x20items:\x20','name','verb','25833gyhHiO','921193eTdwSG','currentLocation','actor','3253733OOENjq'];a40c=function(){return j;};return a40c();}
1
+ function a40c(){const j=['toString','815ZgPZEa','36qtBExe','1575702ErSTwF','SearchCommand:\x20','1083645URjJMN','461QtVWEo','logger','length','search','(((.+)+)+)+$','1314uVshBD','41896HuimOF','Search\x20for\x20items\x20in\x20your\x20area','1600zXjOEK','1142FGsToE','1016ypkaAP','verb','\x20found\x20the\x20following\x20items:\x20','actor','name','constructor','1170191mRVBWF','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','currentLocation','238ezjElI'];a40c=function(){return j;};return a40c();}const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x1d4))/0x1*(parseInt(f(0x1c3))/0x2)+-parseInt(f(0x1d3))/0x3+-parseInt(f(0x1c4))/0x4*(-parseInt(f(0x1cf))/0x5)+parseInt(f(0x1d1))/0x6+parseInt(f(0x1cd))/0x7*(parseInt(f(0x1c0))/0x8)+-parseInt(f(0x1bf))/0x9*(-parseInt(f(0x1c2))/0xa)+parseInt(f(0x1ca))/0xb*(parseInt(f(0x1d0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x30dc6));const a40b=(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;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0x1ce)]()[g(0x1d7)](g(0x1be))[g(0x1ce)]()[g(0x1c9)](a40a)[g(0x1d7)](g(0x1be));});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1be;let f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40h(0x1c5)]=a40h(0x1d7);static ['description']=a40h(0x1c1);['execute'](){const i=a40h,a=this[i(0x1c7)][i(0x1cc)]['inventory']['listItems']();if(a[i(0x1d6)]===0x0)return this['logger']['write'](i(0x1d2)+this[i(0x1c7)][i(0x1c8)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),i(0x1cb);const b=a['join'](',\x20');return this[i(0x1d5)]['write'](i(0x1d2)+this[i(0x1c7)]['name']+i(0x1c6)+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(0xc2))/0x1*(-parseInt(f(0xb6))/0x2)+-parseInt(f(0xba))/0x3+parseInt(f(0xc8))/0x4+-parseInt(f(0xc5))/0x5+parseInt(f(0xbe))/0x6*(parseInt(f(0xc0))/0x7)+-parseInt(f(0xd0))/0x8*(parseInt(f(0xcb))/0x9)+-parseInt(f(0xc1))/0xa*(-parseInt(f(0xcd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x8a200));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a['toString']()[h(0xb9)](h(0xcf))['toString']()[h(0xca)](a41a)[h(0xb9)](h(0xcf));});function a41c(){const k=['SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','930270sHLEMu','toLowerCase','(((.+)+)+)+$','2962696snarTS','success','message','logger','puzzle','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','join','610754ksmywP','write','actor','search','163410ZhcPaB','currentLocation','verb','solve','327882nZixRU','inventory','28mZOyst','100KTjqXa','2WPLGXn','execute','SolveCommand:\x20','1985660feFyYa','apply','rewardItem','3736660rKJIaf','description','constructor','9lpXxcr'];a41c=function(){return k;};return a41c();}a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xb5;let f=c[d];return f;},a41d(a,b);}import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0xbc)]=a41i(0xbd);static [a41i(0xc9)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a41i(0xc3)](a){const j=a41i,b=a[j(0xb5)]('\x20')[j(0xce)](),c=this[j(0xb8)][j(0xbb)];if(!c||!c['puzzle'])return this[j(0xd3)][j(0xb7)](j(0xcc)),j(0xd5);const d=c[j(0xd4)][j(0xbd)](b,this['actor']['inventory']);return d[j(0xd1)]&&c['puzzle'][j(0xc7)]&&this['actor'][j(0xbf)]['addItem'](c[j(0xd4)][j(0xc7)]),this[j(0xd3)][j(0xb7)](j(0xc4)+d[j(0xd2)]),d[j(0xd2)];}}
1
+ const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x7c))/0x1*(parseInt(f(0x7b))/0x2)+parseInt(f(0x8a))/0x3+-parseInt(f(0x8f))/0x4+-parseInt(f(0x7f))/0x5+-parseInt(f(0x8b))/0x6+-parseInt(f(0x85))/0x7+parseInt(f(0x7d))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb47cd));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x75;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(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x82)]()[h(0x7e)](h(0x77))[h(0x82)]()['constructor'](a41a)[h(0x7e)](h(0x77));});a41a();import{Command}from'./command.js';function a41c(){const k=['38693856LYfLRa','search','4073240kHJiBX','verb','Attempt\x20to\x20solve\x20a\x20puzzle.','toString','currentLocation','message','10322494RCBLKv','logger','puzzle','execute','apply','1668075FiXjPY','973536rdbAIE','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','inventory','toLowerCase','3321084vUsUlu','description','solve','write','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','addItem','(((.+)+)+)+$','actor','SolveCommand:\x20','rewardItem','18MXQQYY','152407iiGxac'];a41c=function(){return k;};return a41c();}export class SolveCommand extends Command{static [a41i(0x80)]=a41i(0x91);static [a41i(0x90)]=a41i(0x81);[a41i(0x88)](a){const j=a41i,b=a['join']('\x20')[j(0x8e)](),c=this[j(0x78)][j(0x83)];if(!c||!c[j(0x87)])return this['logger'][j(0x92)](j(0x8c)),j(0x75);const d=c['puzzle']['solve'](b,this[j(0x78)]['inventory']);return d['success']&&c[j(0x87)][j(0x7a)]&&this[j(0x78)][j(0x8d)][j(0x76)](c[j(0x87)][j(0x7a)]),this[j(0x86)][j(0x92)](j(0x79)+d[j(0x84)]),d['message'];}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x78))/0x1*(parseInt(f(0x7b))/0x2)+-parseInt(f(0x82))/0x3*(-parseInt(f(0x90))/0x4)+parseInt(f(0x7a))/0x5*(-parseInt(f(0x8d))/0x6)+parseInt(f(0x8a))/0x7+-parseInt(f(0x71))/0x8*(parseInt(f(0x89))/0x9)+parseInt(f(0x8f))/0xa*(-parseInt(f(0x6e))/0xb)+parseInt(f(0x73))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x3cfca));function a42c(){const l=['currentLocation','\x22\x20in\x20this\x20room.','\x22\x20not\x20retrieved\x20from\x20','77IYsBwU','You\x20have\x20taken\x20the\x20','\x22\x20to\x20','184uJeYTb','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','6046008aJOFpx','Successfully\x20removed\x20\x22','logger','removeItem','write','47230feolKP','Item\x20\x22','10cHZGtN','2yeHgwT','inventory','apply','toString','search','(((.+)+)+)+$','name','24bRWitg','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','constructor','join','\x22\x20is\x20too\x20heavy\x20to\x20carry.','The\x20item\x20\x22','take','113571BMtCUo','158879aXJnyn','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','verb','13092eGgbKa','getItem','171420dgXImu','92548LfbAuZ','toLowerCase','actor','There\x20is\x20no\x20item\x20\x22','message','\x20during\x20\x27Take\x27\x20command.','hasItem'];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(0x7d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x7e)]()[h(0x7f)](h(0x80))[h(0x7e)]()[h(0x84)](a42a)[h(0x7f)](h(0x80));});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x6a;let f=c[d];return f;},a42d(a,b);}a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0x8c)]=a42i(0x88);static ['description']='Pick\x20up\x20an\x20item.';['execute'](a){const j=a42i;return this[j(0x75)][j(0x77)](j(0x83)+a[j(0x85)]('\x20')),this['take'](a);}['take'](a){const k=a42i,b=a['join']('\x20')[k(0x91)](),c=this[k(0x92)][k(0x6b)];if(!c['inventory'][k(0x6a)](b))return this[k(0x75)][k(0x77)](k(0x79)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x81)]+k(0x95)),k(0x93)+b+k(0x6c);const d=c[k(0x7c)][k(0x8e)](b);if(!d)return this[k(0x75)][k(0x77)](k(0x79)+b+k(0x6d)+c[k(0x81)]+k(0x72)),k(0x93)+b+k(0x6c);try{return this[k(0x92)]['addInventory'](d),this[k(0x75)][k(0x77)]('Successfully\x20added\x20\x22'+b+k(0x70)+this[k(0x92)][k(0x81)]+k(0x8b)),c[k(0x7c)][k(0x76)](b),this[k(0x75)][k(0x77)](k(0x74)+b+'\x22\x20from\x20'+c[k(0x81)]+k(0x72)),k(0x6f)+b+'.';}catch(e){return this[k(0x75)][k(0x77)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x94)]),k(0x87)+b+k(0x86);}}}
1
+ function a42c(){const l=['718002OUTFnu','5682LfZTHq','join','actor','1547520vflWdW','You\x20have\x20taken\x20the\x20','Item\x20\x22','\x22\x20in\x20this\x20room.','4257451qIqbun','apply','addInventory','50GJjEsJ','take','constructor','write','removeItem','Error\x20during\x20\x27Take\x27\x20command:\x20','(((.+)+)+)+$','The\x20item\x20\x22','\x22\x20to\x20','There\x20is\x20no\x20item\x20\x22','4FnQAui','Successfully\x20removed\x20\x22','message','32ZkvMPP','522761PWRVIk','inventory','execute','6774936XAmGIq','1720NmNuPi','\x22\x20is\x20too\x20heavy\x20to\x20carry.','toString','Successfully\x20added\x20\x22','toLowerCase','\x22\x20from\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','45732osYCNF','logger','description','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','search','name'];a42c=function(){return l;};return a42c();}const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0xb1))/0x1+-parseInt(f(0xad))/0x2*(-parseInt(f(0x92))/0x3)+-parseInt(f(0x9c))/0x4+-parseInt(f(0x8b))/0x5*(-parseInt(f(0x99))/0x6)+-parseInt(f(0x8a))/0x7+parseInt(f(0xb0))/0x8*(parseInt(f(0x98))/0x9)+-parseInt(f(0xa3))/0xa*(-parseInt(f(0xa0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xb2f9c));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x8d)]()[h(0x96)](h(0xa9))[h(0x8d)]()[h(0xa5)](a42a)[h(0x96)](h(0xa9));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x8a;let f=c[d];return f;},a42d(a,b);}import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a42i(0xa4);static [a42i(0x94)]='Pick\x20up\x20an\x20item.';[a42i(0xb3)](a){const j=a42i;return this[j(0x93)]['write'](j(0x95)+a['join']('\x20')),this[j(0xa4)](a);}['take'](a){const k=a42i,b=a[k(0x9a)]('\x20')[k(0x8f)](),c=this['actor']['currentLocation'];if(!c[k(0xb2)]['hasItem'](b))return this[k(0x93)]['write'](k(0x9e)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x97)]+'\x20during\x20\x27Take\x27\x20command.'),k(0xac)+b+k(0x9f);const d=c['inventory']['getItem'](b);if(!d)return this[k(0x93)][k(0xa6)](k(0x9e)+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0x97)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0xac)+b+k(0x9f);try{return this['actor'][k(0xa2)](d),this['logger'][k(0xa6)](k(0x8e)+b+k(0xab)+this[k(0x9b)]['name']+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0xb2)][k(0xa7)](b),this[k(0x93)][k(0xa6)](k(0xae)+b+k(0x90)+c['name']+k(0x91)),k(0x9d)+b+'.';}catch(e){return this['logger']['write'](k(0xa8)+e[k(0xaf)]),k(0xaa)+b+k(0x8c);}}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x141))/0x1+parseInt(f(0x140))/0x2*(-parseInt(f(0x14b))/0x3)+-parseInt(f(0x145))/0x4*(-parseInt(f(0x13d))/0x5)+parseInt(f(0x148))/0x6*(parseInt(f(0x142))/0x7)+parseInt(f(0x134))/0x8+parseInt(f(0x149))/0x9+-parseInt(f(0x13a))/0xa*(parseInt(f(0x138))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xe9908));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x13b)]()[h(0x143)](h(0x139))['toString']()[h(0x147)](a43a)['search']('(((.+)+)+)+$');});function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x133;let f=c[d];return f;},a43d(a,b);}a43a();function a43c(){const k=['actor','140ebvurR','unqeuip','constructor','6jqFLDs','11105028jVkEzx','toLowerCase','5710035bucnJd','unequip','2673752WdljSS','join','name','UnequipCommand:\x20','11qGSMlf','(((.+)+)+)+$','31609660ShlAOd','toString','\x20unqeuiped\x20','153735WbRDlc','verb','apply','2Ytsjlp','1787472LuqtIO','11124841LxVeXb','search'];a43c=function(){return k;};return a43c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x13e)]=a43i(0x146);static ['description']='Unequip\x20an\x20item.';['execute'](a){const j=a43i,b=a[j(0x135)]('\x20')[j(0x14a)](),c=this['actor'][j(0x133)](b);return this['logger']['write'](j(0x137)+this[j(0x144)][j(0x136)]+j(0x13c)+c),c;}}
1
+ function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x196;let f=c[d];return f;},a43d(a,b);}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x19a))/0x1+-parseInt(f(0x19c))/0x2*(-parseInt(f(0x196))/0x3)+parseInt(f(0x1ae))/0x4*(parseInt(f(0x1a3))/0x5)+parseInt(f(0x1a2))/0x6+parseInt(f(0x1a8))/0x7+-parseInt(f(0x1a4))/0x8*(-parseInt(f(0x1ab))/0x9)+parseInt(f(0x1ac))/0xa*(-parseInt(f(0x1a5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x51196));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1a1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()[h(0x198)](h(0x19e))['toString']()[h(0x197)](a43a)['search'](h(0x19e));});a43a();import{Command}from'./command.js';function a43c(){const k=['unqeuip','(((.+)+)+)+$','logger','name','apply','3846186npDRMI','25880AbDLBf','229544PmfSes','90541ZrLBFY','UnequipCommand:\x20','verb','2566823qWsxWh','unequip','Unequip\x20an\x20item.','99rojbja','1930bAxigz','description','128yqBjJh','177ltfpTW','constructor','search','actor','139153ppFfwP','\x20unqeuiped\x20','19354XcBFXT'];a43c=function(){return k;};return a43c();}export class UnequipCommand extends Command{static [a43i(0x1a7)]=a43i(0x19d);static [a43i(0x1ad)]=a43i(0x1aa);['execute'](a){const j=a43i,b=a['join']('\x20')['toLowerCase'](),c=this[j(0x199)][j(0x1a9)](b);return this[j(0x19f)]['write'](j(0x1a6)+this[j(0x199)][j(0x1a0)]+j(0x19b)+c),c;}}
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x16e))/0x1*(parseInt(h(0x174))/0x2)+parseInt(h(0x172))/0x3+-parseInt(h(0x16c))/0x4*(parseInt(h(0x170))/0x5)+-parseInt(h(0x15b))/0x6*(parseInt(h(0x15a))/0x7)+-parseInt(h(0x175))/0x8*(parseInt(h(0x165))/0x9)+-parseInt(h(0x15c))/0xa+parseInt(h(0x16d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xe94de));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x180)]()[j(0x17b)](j(0x173))[j(0x180)]()['constructor'](a44a)[j(0x17b)](j(0x173));});a44a();import{Door}from'../models/door.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x155;let f=c[d];return f;},a44d(a,b);}import{Command}from'./command.js';function a44c(){const n=['hasItem','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','currentLocation','toString','getItem','actor','UnlockCommand:\x20No\x20target\x20specified.','write','name','7skQGHU','2870718aJbxUL','15018040bKziTE','verb','exits','.\x20Result:\x20','logger','length','UnlockCommand:\x20','\x20is\x20attempted\x20to\x20unlock\x20','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','27xADqmY','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','unlock','error','There\x27s\x20no\x20door\x20named\x20\x22','attemptUnlockExit','toLowerCase','1873068MmIbqc','53510083ptYewv','121gaWvnc','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','5zumWtk','\x22\x20here.','1755372GCZkmd','(((.+)+)+)+$','22316SwdZJv','1854456WyGzZp','Unlock\x20a\x20door.','isValidDirection','apply','get','unlockItemOrSolution','search','inventory'];a44c=function(){return n;};return a44c();}export class UnlockCommand extends Command{static [a44k(0x15d)]=a44k(0x167);static ['description']=a44k(0x176);['execute'](a){const l=a44k;return this[l(0x167)](a);}['unlock'](a){const m=a44k;if(a[m(0x161)]===0x0)return this['logger'][m(0x168)](m(0x157)),m(0x17e);const b=a[0x0]['toLowerCase'](),c=this[m(0x156)][m(0x17f)];if(this[m(0x177)](b)&&c[m(0x15e)]['has'](b)){const d=c[m(0x15e)][m(0x179)](b);if(d instanceof Door){const e=d[m(0x17a)]?.[m(0x16b)]();if(e&&this['actor'][m(0x17c)][m(0x17d)](e)){const f=this[m(0x156)][m(0x17c)][m(0x155)](e);if(f){const g=c[m(0x16a)](b,f[m(0x159)]);return this[m(0x160)][m(0x158)](m(0x162)+this[m(0x156)][m(0x159)]+m(0x163)+b+m(0x15f)+g),g;}}return this[m(0x160)][m(0x158)](m(0x162)+this[m(0x156)][m(0x159)]+m(0x16f)+b+'.'),m(0x166);}else return this[m(0x160)]['write'](m(0x162)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c['name']+'.'),m(0x169)+b+'\x22\x20here.';}else return this[m(0x160)][m(0x158)](m(0x162)+b+m(0x164)+c[m(0x159)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x171);}}
1
+ const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x14f))/0x1+parseInt(h(0x161))/0x2+-parseInt(h(0x150))/0x3+parseInt(h(0x15c))/0x4*(-parseInt(h(0x156))/0x5)+parseInt(h(0x153))/0x6+parseInt(h(0x155))/0x7+-parseInt(h(0x165))/0x8*(-parseInt(h(0x152))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x47ebb));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x15e)]()['search']('(((.+)+)+)+$')[j(0x15e)]()['constructor'](a44a)[j(0x157)](j(0x168));});a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x149;let f=c[d];return f;},a44d(a,b);}function a44c(){const n=['\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','2141188XfubHw','1905iyiUIN','search','actor','exits','description','unlock','2252TyftIh','write','toString','getItem','hasItem','758626HOLhuF','has','\x22\x20here.','inventory','56YkbGGr','UnlockCommand:\x20','.\x20Result:\x20','(((.+)+)+)+$','isValidDirection','\x20is\x20attempted\x20to\x20unlock\x20','apply','execute','There\x27s\x20no\x20door\x20named\x20\x22','name','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','attemptUnlockExit','error','UnlockCommand:\x20No\x20target\x20specified.','logger','271014BxJDaB','967611FPgClm','toLowerCase','73449LJRFBo','2161902ksbbbt'];a44c=function(){return n;};return a44c();}export class UnlockCommand extends Command{static ['verb']='unlock';static [a44k(0x15a)]='Unlock\x20a\x20door.';[a44k(0x16c)](a){const l=a44k;return this[l(0x15b)](a);}['unlock'](a){const m=a44k;if(a['length']===0x0)return this[m(0x14e)][m(0x14c)](m(0x14d)),m(0x14a);const b=a[0x0][m(0x151)](),c=this[m(0x158)]['currentLocation'];if(this[m(0x169)](b)&&c[m(0x159)][m(0x162)](b)){const d=c[m(0x159)]['get'](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[m(0x151)]();if(e&&this[m(0x158)]['inventory'][m(0x160)](e)){const f=this[m(0x158)][m(0x164)][m(0x15f)](e);if(f){const g=c[m(0x14b)](b,f[m(0x149)]);return this['logger'][m(0x15d)](m(0x166)+this[m(0x158)][m(0x149)]+m(0x16a)+b+m(0x167)+g),g;}}return this[m(0x14e)]['write']('UnlockCommand:\x20'+this['actor']['name']+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this[m(0x14e)][m(0x15d)](m(0x166)+b+m(0x154)+c['name']+'.'),m(0x16d)+b+m(0x163);}else return this[m(0x14e)][m(0x15d)](m(0x166)+b+m(0x154)+c[m(0x149)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- const a45i=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1ae;let f=c[d];return f;},a45d(a,b);}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x1cd))/0x1*(-parseInt(f(0x1bd))/0x2)+-parseInt(f(0x1c8))/0x3+-parseInt(f(0x1c2))/0x4*(parseInt(f(0x1c6))/0x5)+-parseInt(f(0x1b5))/0x6+-parseInt(f(0x1ae))/0x7*(parseInt(f(0x1af))/0x8)+-parseInt(f(0x1c0))/0x9+parseInt(f(0x1b8))/0xa*(parseInt(f(0x1b2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xd4d23));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x1c1)]()['search'](h(0x1cb))[h(0x1c1)]()['constructor'](a45a)['search'](h(0x1cb));});a45a();function a45c(){const k=['toLowerCase','(((.+)+)+)+$','actor','1DXWyZn','\x20doesn\x27t\x20have\x20a\x20use\x20method.','You\x20can\x27t\x20use\x20the\x20','1538047NYEEjL','48GxLCfk','join','UseCommand:\x20','1497496TcGkgl','use','execute','3544236iKKnCf','write','\x20used\x20','260QkbuUg','\x20to\x20use.','name','\x20attempted\x20to\x20use\x20','inventory','2562744LlhMrJ','getItem','apply','4904937BWdvun','toString','4vcxsEI','verb','\x20not\x20retrieved\x20from\x20','\x20in\x20this\x20way.','266155NpSdRr','hasItem','4325811TAvlkD',',\x20which\x20is\x20not\x20in\x20their\x20inventory.'];a45c=function(){return k;};return a45c();}import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0x1c3)]=a45i(0x1b3);static ['description']='Use\x20an\x20item.';[a45i(0x1b4)](a){return this['use'](a);}[a45i(0x1b3)](a){const j=a45i,b=a[j(0x1b0)]('\x20')[j(0x1ca)]();if(!this[j(0x1cc)][j(0x1bc)][j(0x1c7)](b))return this['logger']['write']('UseCommand:\x20'+this['actor'][j(0x1ba)]+j(0x1bb)+b+j(0x1c9)),'You\x20don\x27t\x20have\x20the\x20'+b+j(0x1b9);const c=this[j(0x1cc)][j(0x1bc)][j(0x1be)](b);if(!c)return this['logger'][j(0x1b6)](j(0x1b1)+b+j(0x1c4)+this['actor'][j(0x1ba)]+'\x27s\x20inventory.'),'You\x20don\x27t\x20have\x20the\x20'+b+j(0x1b9);if(typeof c[j(0x1b3)]==='function'){const d=c[j(0x1b3)]();return this['logger'][j(0x1b6)]('UseCommand:\x20'+this['actor'][j(0x1ba)]+j(0x1b7)+b+'.'),d;}else return this['logger'][j(0x1b6)](j(0x1b1)+b+j(0x1ce)),j(0x1cf)+b+j(0x1c5);}}
1
+ const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x176))/0x1*(parseInt(f(0x175))/0x2)+parseInt(f(0x15b))/0x3*(parseInt(f(0x179))/0x4)+parseInt(f(0x172))/0x5+-parseInt(f(0x167))/0x6*(-parseInt(f(0x162))/0x7)+parseInt(f(0x16e))/0x8+-parseInt(f(0x178))/0x9*(parseInt(f(0x160))/0xa)+parseInt(f(0x181))/0xb*(parseInt(f(0x15c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xc63c1));function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x15b;let f=c[d];return f;},a45d(a,b);}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x171)]()[h(0x166)](h(0x170))[h(0x171)]()[h(0x177)](a45a)['search'](h(0x170));});a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0x165)]='use';static ['description']=a45i(0x16f);[a45i(0x17d)](a){return this['use'](a);}[a45i(0x16b)](a){const j=a45i,b=a[j(0x15e)]('\x20')[j(0x15f)]();if(!this['actor']['inventory'][j(0x164)](b))return this[j(0x17f)]['write'](j(0x16c)+this[j(0x17e)][j(0x17c)]+'\x20attempted\x20to\x20use\x20'+b+j(0x16a)),j(0x15d)+b+j(0x161);const c=this['actor'][j(0x173)][j(0x182)](b);if(!c)return this[j(0x17f)][j(0x17b)]('UseCommand:\x20'+b+j(0x17a)+this['actor']['name']+'\x27s\x20inventory.'),j(0x15d)+b+j(0x161);if(typeof c[j(0x16b)]===j(0x16d)){const d=c[j(0x16b)]();return this[j(0x17f)][j(0x17b)]('UseCommand:\x20'+this[j(0x17e)]['name']+j(0x174)+b+'.'),d;}else return this[j(0x17f)]['write'](j(0x16c)+b+j(0x180)),j(0x169)+b+j(0x163);}}function a45c(){const k=[',\x20which\x20is\x20not\x20in\x20their\x20inventory.','use','UseCommand:\x20','function','8185728qrwxEP','Use\x20an\x20item.','(((.+)+)+)+$','toString','425520JucYTN','inventory','\x20used\x20','1507026HdZwKc','1Eolgui','constructor','9sgCYDs','4QjwIKS','\x20not\x20retrieved\x20from\x20','write','name','execute','actor','logger','\x20doesn\x27t\x20have\x20a\x20use\x20method.','4811279cWZxNU','getItem','520005JvnAWv','24jHZIhY','You\x20don\x27t\x20have\x20the\x20','join','toLowerCase','15298870HzKCKi','\x20to\x20use.','13496cVKuOa','\x20in\x20this\x20way.','hasItem','verb','search','2922mGZTtb','apply','You\x20can\x27t\x20use\x20the\x20'];a45c=function(){return k;};return a45c();}
@@ -1 +1 @@
1
- const a46i=a46d;function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x1e0;let f=c[d];return f;},a46d(a,b);}(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x1e4))/0x1+-parseInt(f(0x1f1))/0x2+parseInt(f(0x1ed))/0x3*(parseInt(f(0x1ef))/0x4)+parseInt(f(0x1e9))/0x5+-parseInt(f(0x1e2))/0x6*(parseInt(f(0x1e1))/0x7)+-parseInt(f(0x1eb))/0x8*(-parseInt(f(0x1f2))/0x9)+-parseInt(f(0x1e6))/0xa*(-parseInt(f(0x1e5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xa3dbd));function a46c(){const l=['144892INdUiR','commandMap','1060716Oznnef','9oAGBtI','(((.+)+)+)+$','28krXyME','1947366sbeGkn','createCommand','256563GAcYkY','24277CnScjA','4790Royoix','search','toString','5035285Ajmcue','apply','1142168MfaVNz','getAllRegisteredCommands','3Qyawnu','constructor'];a46c=function(){return l;};return a46c();}const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x1e8)]()[h(0x1e7)](h(0x1e0))[h(0x1e8)]()[h(0x1ee)](a46a)[h(0x1e7)]('(((.+)+)+)+$');});a46a();export class CommandFactory{static [a46i(0x1f0)]={};static['registerCommand'](a,b){const j=a46i;this[j(0x1f0)][a]=b;}static[a46i(0x1e3)](a,b){const k=a46i,c=this[k(0x1f0)][a];if(c)return new c(b);return null;}static[a46i(0x1ec)](){return this['commandMap'];}}
1
+ const a46h=a46d;function a46c(){const j=['toString','10183041PArknJ','24IEzFHp','8667690qHIIuF','3SDzsbG','search','474138KaBukT','2907090cczhqf','registerCommand','18052210LFBnjY','commandMap','10fffoHh','constructor','(((.+)+)+)+$','createCommand','520742oGeMew','4KbhIJN','2223036RSAuxt'];a46c=function(){return j;};return a46c();}(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0xac))/0x1*(-parseInt(f(0xb7))/0x2)+parseInt(f(0xb9))/0x3+-parseInt(f(0xb8))/0x4*(-parseInt(f(0xbd))/0x5)+-parseInt(f(0xaf))/0x6+parseInt(f(0xae))/0x7*(parseInt(f(0xbc))/0x8)+-parseInt(f(0xbb))/0x9*(-parseInt(f(0xb3))/0xa)+-parseInt(f(0xb1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xdc53f));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const g=a46d;return a46a[g(0xba)]()[g(0xad)](g(0xb5))[g(0xba)]()[g(0xb4)](a46a)[g(0xad)](g(0xb5));});a46a();function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0xac;let f=c[d];return f;},a46d(a,b);}export class CommandFactory{static ['commandMap']={};static[a46h(0xb0)](a,b){this['commandMap'][a]=b;}static[a46h(0xb6)](a,b){const i=a46h,c=this[i(0xb2)][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(0x138))/0x1+-parseInt(f(0x126))/0x2*(parseInt(f(0x125))/0x3)+parseInt(f(0x128))/0x4*(-parseInt(f(0x12e))/0x5)+-parseInt(f(0x12a))/0x6*(parseInt(f(0x139))/0x7)+parseInt(f(0x130))/0x8+parseInt(f(0x141))/0x9+parseInt(f(0x124))/0xa*(parseInt(f(0x11f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xce2a9));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x13d)]()[h(0x133)](h(0x11e))['toString']()[h(0x144)](a47a)[h(0x133)](h(0x11e));});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x11e;let f=c[d];return f;},a47d(a,b);}import{RoomType}from'../types/enums.js';function a47c(){const o=['toUpperCase','25540NkqjPf','14058TcDYkB','40DFvQGp','type','3252644okIdhU','createItem','5404428rJvTnR','book','gloves','name','5YHsZfw','setPuzzle','5871712qKjBKQ','boots','content','search','createRoom','createPuzzle','legarmor','description','1620653JoSqdd','7fjCVuH','puzzle','bodyarmor','convertToRoomConfig','toString','inventory','forEach','sword','2013057mQgxhA','helmet','roomType','constructor','INSIDE','(((.+)+)+)+$','14278SpUjGj','isStartRoom','key','apply'];a47c=function(){return o;};return a47c();}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0x134)](a){const j=a47i,b=this[j(0x13c)](a),c=new Room(b);if(a['items']){const d=new Inventory();a['items'][j(0x13f)](e=>{const k=j;d['addItem'](this[k(0x129)](e));}),c[j(0x13e)]=d;}return a[j(0x13a)]&&c[j(0x12f)](this[j(0x135)](a[j(0x13a)])),c;}[a47i(0x129)](a){const l=a47i;switch(a[l(0x127)]){case l(0x121):return new Key(a[l(0x12d)],a[l(0x137)]);case l(0x12b):return new Book(a[l(0x12d)],a[l(0x137)],a[l(0x132)]);case l(0x140):return new Sword(a[l(0x12d)],a[l(0x137)]);case'rifle':return new Rifle(a[l(0x12d)],a[l(0x137)]);case l(0x142):return new Helmet(a[l(0x12d)],a[l(0x137)]);case l(0x13b):return new BodyArmor(a['name'],a[l(0x137)]);case l(0x136):return new LegArmor(a[l(0x12d)],a['description']);case l(0x131):return new Boots(a[l(0x12d)],a['description']);case l(0x12c):return new Gloves(a[l(0x12d)],a[l(0x137)]);case'gauntlets':return new Gauntlets(a[l(0x12d)],a[l(0x137)]);default:return new BasicItem(a[l(0x12d)],a[l(0x137)]);}}['createPuzzle'](a){const m=a47i,b=this[m(0x129)](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a47i(0x13c)](a){const n=a47i,b=a[n(0x143)]&&RoomType[a[n(0x143)][n(0x123)]()]?RoomType[a['roomType'][n(0x123)]()]:RoomType[n(0x145)];return{'name':a['name'],'description':a['description'],'isStartRoom':a[n(0x120)],'roomType':b};}}
1
+ const a47m=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x1a9))/0x1+parseInt(f(0x1bd))/0x2+parseInt(f(0x1ce))/0x3*(-parseInt(f(0x1c9))/0x4)+parseInt(f(0x1bc))/0x5*(parseInt(f(0x1ad))/0x6)+-parseInt(f(0x1cd))/0x7*(-parseInt(f(0x1c3))/0x8)+-parseInt(f(0x1af))/0x9*(parseInt(f(0x1bb))/0xa)+parseInt(f(0x1b5))/0xb*(parseInt(f(0x1c1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x92c55));function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1a8;let f=c[d];return f;},a47d(a,b);}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x1c0)]()[h(0x1c4)]('(((.+)+)+)+$')[h(0x1c0)]()[h(0x1cc)](a47a)[h(0x1c4)](h(0x1c5));});function a47c(){const o=['search','(((.+)+)+)+$','description','helmet','content','5692zLlVOb','createItem','items','constructor','28dWYorF','2400fubsje','boots','sword','bodyarmor','roomType','458350uZlaVx','isStartRoom','createPuzzle','inventory','865374iJXhSz','book','38601vDsufC','key','name','forEach','convertToRoomConfig','rifle','114301AREqFq','toUpperCase','legarmor','addItem','puzzle','apply','1570rdWvaf','25nVfUJM','11168PsDHtz','INSIDE','rewardItem','toString','156HBSaxd','setPuzzle','2185568mnrApl'];a47c=function(){return o;};return a47c();}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{['createRoom'](a){const i=a47d,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[i(0x1cb)]){const d=new Inventory();a[i(0x1cb)][i(0x1b2)](e=>{const j=i;d[j(0x1b8)](this['createItem'](e));}),c[i(0x1ac)]=d;}return a[i(0x1b9)]&&c[i(0x1c2)](this[i(0x1ab)](a[i(0x1b9)])),c;}['createItem'](a){const k=a47d;switch(a['type']){case k(0x1b0):return new Key(a[k(0x1b1)],a[k(0x1c6)]);case k(0x1ae):return new Book(a[k(0x1b1)],a[k(0x1c6)],a[k(0x1c8)]);case k(0x1d0):return new Sword(a[k(0x1b1)],a['description']);case k(0x1b4):return new Rifle(a[k(0x1b1)],a[k(0x1c6)]);case k(0x1c7):return new Helmet(a[k(0x1b1)],a[k(0x1c6)]);case k(0x1d1):return new BodyArmor(a[k(0x1b1)],a['description']);case k(0x1b7):return new LegArmor(a[k(0x1b1)],a[k(0x1c6)]);case k(0x1cf):return new Boots(a[k(0x1b1)],a['description']);case'gloves':return new Gloves(a['name'],a[k(0x1c6)]);case'gauntlets':return new Gauntlets(a[k(0x1b1)],a[k(0x1c6)]);default:return new BasicItem(a[k(0x1b1)],a['description']);}}['createPuzzle'](a){const l=a47d,b=this[l(0x1ca)](a[l(0x1bf)]);return new Puzzle({...a,'rewardItem':b});}[a47m(0x1b3)](a){const n=a47m,b=a[n(0x1a8)]&&RoomType[a[n(0x1a8)][n(0x1b6)]()]?RoomType[a[n(0x1a8)]['toUpperCase']()]:RoomType[n(0x1be)];return{'name':a[n(0x1b1)],'description':a[n(0x1c6)],'isStartRoom':a[n(0x1aa)],'roomType':b};}}
@@ -1 +1 @@
1
- const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0xc4))/0x1+parseInt(h(0xa4))/0x2+parseInt(h(0xd0))/0x3*(-parseInt(h(0xb9))/0x4)+-parseInt(h(0xa0))/0x5*(-parseInt(h(0xc7))/0x6)+-parseInt(h(0xc9))/0x7+parseInt(h(0xc8))/0x8+-parseInt(h(0xba))/0x9*(parseInt(h(0xca))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x95667));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0xa3)]()['search'](j(0xa7))[j(0xa3)]()[j(0xcd)](a48a)[j(0xaa)](j(0xa7));});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 a48c(){const s=['createCommand','hasOwnProperty','rooms','instance','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','-\x20quit:\x20Exit\x20the\x20game.\x0a','determineStartRoom','-\x20clear:\x20Clear\x20the\x20screen.\x0a','52AQqfYJ','12307959mwACRI','maka','Welcome,\x20','toLowerCase','handleInput','unequip','take','lock','scene','player','806754AklvUE','execute','trim','174vMrgBU','6528376tubAcp','2357775npKWty','10szRFOO','use','registerCommand','constructor','slice','equip','113979HotVMX','55795wPoltH','getInstance','registerCommands','toString','1727632XZulhf','getDescription','getAllRegisteredCommands','(((.+)+)+)+$','apply','help','search','unlock','getHelpMessage','drop','currentRoom','clear','quit'];a48c=function(){return s;};return a48c();}import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xa0;let f=c[d];return f;},a48d(a,b);}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(0xb4)];[a48k(0xc2)];[a48k(0xc3)];[a48k(0xae)];[a48k(0xb3)];constructor(a,b){const l=a48k;this[l(0xc3)]=a,this[l(0xc2)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0xc2)]['initialize'](),this[l(0xc3)]['currentLocation']=this[l(0xb7)](),this[l(0xa2)]();}['registerCommands'](){const m=a48k;CommandFactory[m(0xcc)]('look',LookCommand),CommandFactory[m(0xcc)]('go',GoCommand),CommandFactory[m(0xcc)](m(0xc0),TakeCommand),CommandFactory[m(0xcc)](m(0xcb),UseCommand),CommandFactory['registerCommand'](m(0xcf),EquipCommand),CommandFactory[m(0xcc)](m(0xbf),UnequipCommand),CommandFactory[m(0xcc)]('solve',SolveCommand),CommandFactory[m(0xcc)](m(0xad),DropCommand),CommandFactory[m(0xcc)](m(0xab),UnlockCommand),CommandFactory[m(0xcc)](m(0xc1),LockCommand),CommandFactory[m(0xcc)](m(0xaa),SearchCommand),CommandFactory[m(0xcc)]('say',SayCommand);}['determineStartRoom'](){const n=a48k;return this[n(0xc2)][n(0xb7)]();}['getWelcomeMessage'](){const o=a48k;return o(0xbc)+this[o(0xc3)]['name'];}static[a48k(0xa1)](a,b){const p=a48k;return!Game[p(0xb4)]&&(Game[p(0xb4)]=new Game(a,b)),Game['instance'];}[a48k(0xbe)](a){const q=a48k,b=a[q(0xc6)]()['split']('\x20'),c=b[0x0][q(0xbd)](),d=b[q(0xce)](0x1);if(c===q(0xb0))return null;if(c===q(0xbb))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0xa9))return this['getHelpMessage']();if(c===q(0xaf))return'';const e={'actor':this[q(0xc3)],'rooms':this[q(0xc2)]['getRooms'](),'scene':this[q(0xc2)]},f=CommandFactory[q(0xb1)](c,e);if(f){const g=f[q(0xc5)](d);return g;}return q(0xb5)+c+'\x22.';}[a48k(0xac)](){const r=a48k,a=CommandFactory[r(0xa6)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0xb2)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xa5)]()+'\x0a';}}return b+=r(0xb8),b+=r(0xb6),b;}}
1
+ const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0x7a))/0x1*(parseInt(h(0x6b))/0x2)+-parseInt(h(0x91))/0x3*(parseInt(h(0x81))/0x4)+-parseInt(h(0x6f))/0x5*(parseInt(h(0x79))/0x6)+-parseInt(h(0x89))/0x7*(parseInt(h(0x9f))/0x8)+-parseInt(h(0x72))/0x9*(-parseInt(h(0x97))/0xa)+parseInt(h(0x71))/0xb*(parseInt(h(0x9b))/0xc)+-parseInt(h(0x92))/0xd*(-parseInt(h(0x6e))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x3cae7));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x82)]()[j(0x9d)](j(0x98))[j(0x82)]()[j(0x80)](a48a)[j(0x9d)](j(0x98));});a48a();import{Scene}from'./models/scene.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x6b;let f=c[d];return f;},a48d(a,b);}import{LookCommand}from'./commands/look.js';function a48c(){const s=['toLowerCase','lock','maka','-\x20quit:\x20Exit\x20the\x20game.\x0a','17562FYERMo','12117118irqAER','name','unlock','take','trim','3258770loxzeM','(((.+)+)+)+$','-\x20clear:\x20Clear\x20the\x20screen.\x0a','unequip','2004uJQmGz','player','search','say','2528752IIpgJg','rooms','execute','determineStartRoom','841378vRigLe','slice','handleInput','14nbaKAQ','4835ARRbxX','getAllRegisteredCommands','22055sAIFCS','9lhavbR','split','registerCommands','Welcome,\x20','currentLocation','getInstance','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','936pnnRbx','1ksKscX','solve','instance','initialize','help','getHelpMessage','constructor','312yYgyJd','toString','currentRoom','use','hasOwnProperty','scene','look','apply','7gqxfvF','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','drop','registerCommand'];a48c=function(){return s;};return a48c();}import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0x7c)];['scene'];[a48k(0x9c)];[a48k(0x83)];[a48k(0xa0)];constructor(a,b){const l=a48k;this['player']=a,this[l(0x86)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0x7d)](),this[l(0x9c)][l(0x76)]=this['determineStartRoom'](),this[l(0x74)]();}[a48k(0x74)](){const m=a48k;CommandFactory[m(0x8c)](m(0x87),LookCommand),CommandFactory[m(0x8c)]('go',GoCommand),CommandFactory[m(0x8c)](m(0x95),TakeCommand),CommandFactory[m(0x8c)](m(0x84),UseCommand),CommandFactory[m(0x8c)]('equip',EquipCommand),CommandFactory['registerCommand'](m(0x9a),UnequipCommand),CommandFactory['registerCommand'](m(0x7b),SolveCommand),CommandFactory[m(0x8c)](m(0x8b),DropCommand),CommandFactory[m(0x8c)](m(0x94),UnlockCommand),CommandFactory[m(0x8c)](m(0x8e),LockCommand),CommandFactory[m(0x8c)](m(0x9d),SearchCommand),CommandFactory['registerCommand'](m(0x9e),SayCommand);}[a48k(0xa2)](){const n=a48k;return this[n(0x86)][n(0xa2)]();}['getWelcomeMessage'](){const o=a48k;return o(0x75)+this[o(0x9c)][o(0x93)];}static[a48k(0x77)](a,b){const p=a48k;return!Game[p(0x7c)]&&(Game[p(0x7c)]=new Game(a,b)),Game['instance'];}[a48k(0x6d)](a){const q=a48k,b=a[q(0x96)]()[q(0x73)]('\x20'),c=b[0x0][q(0x8d)](),d=b[q(0x6c)](0x1);if(c==='quit')return null;if(c===q(0x8f))return q(0x78);if(c===q(0x7e))return this[q(0x7f)]();if(c==='clear')return'';const e={'actor':this[q(0x9c)],'rooms':this[q(0x86)]['getRooms'](),'scene':this[q(0x86)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[q(0xa1)](d);return g;}return q(0x8a)+c+'\x22.';}[a48k(0x7f)](){const r=a48k,a=CommandFactory[r(0x70)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0x85)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=r(0x99),b+=r(0x90),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1f8))/0x1*(parseInt(f(0x1f6))/0x2)+-parseInt(f(0x1fa))/0x3+parseInt(f(0x1fd))/0x4*(parseInt(f(0x1ff))/0x5)+-parseInt(f(0x1fb))/0x6+-parseInt(f(0x1f5))/0x7+parseInt(f(0x1fe))/0x8*(-parseInt(f(0x1f7))/0x9)+parseInt(f(0x1fc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x59462));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x200)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1f9)]()[h(0x1f2)](h(0x1f3))['toString']()[h(0x1f4)](a49a)[h(0x1f2)]('(((.+)+)+)+$');});a49a();export*from'./door.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1f2;var f=c[d];return f;},a49d(a,b);}export*from'./inventory.js';export*from'./item.js';function a49c(){var i=['539643JWZPkd','toString','1128144uqVIjC','1705032NPMffw','20587480tvRTWP','669768XtboVf','1411112TOwfMy','5nxhBLk','apply','search','(((.+)+)+)+$','constructor','3389904SfGoJh','2aSBdtO','9vzftCZ'];a49c=function(){return i;};return a49c();}export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x151))/0x1+-parseInt(f(0x14a))/0x2+parseInt(f(0x155))/0x3*(-parseInt(f(0x14f))/0x4)+parseInt(f(0x156))/0x5+-parseInt(f(0x152))/0x6*(-parseInt(f(0x150))/0x7)+-parseInt(f(0x14d))/0x8*(-parseInt(f(0x154))/0x9)+parseInt(f(0x14c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xbef29));function a49c(){var h=['6DCOEZl','toString','1251MXNiio','57FRoiRS','3297470phiZxD','2588096ViBmbm','search','14384580zJHGNR','83296dzwepY','(((.+)+)+)+$','78956EvwOtP','3092453GgVvoy','1535789CBnIeN'];a49c=function(){return h;};return a49c();}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(0x153)]()[g(0x14b)](g(0x14e))[g(0x153)]()['constructor'](a49a)['search'](g(0x14e));});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x14a;var f=c[d];return f;},a49d(a,b);}export*from'./scene.js';
@@ -1 +1 @@
1
- var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x179))/0x1*(parseInt(f(0x181))/0x2)+-parseInt(f(0x185))/0x3*(-parseInt(f(0x183))/0x4)+parseInt(f(0x189))/0x5+-parseInt(f(0x18b))/0x6+-parseInt(f(0x175))/0x7+parseInt(f(0x177))/0x8*(parseInt(f(0x182))/0x9)+parseInt(f(0x18e))/0xa*(parseInt(f(0x172))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xf0e5e));function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x171;var f=c[d];return f;},a50d(a,b);}var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x18c)]()['search'](h(0x17e))[h(0x18c)]()['constructor'](a50a)['search'](h(0x17e));});a50a();import{Logger}from'../utilities/logger.js';function a50c(){var n=['12pFqNHn','isLockable','343113nkwcCp','isLocked','apply','getInstance','9711100WptDyT','To\x20','6095712suVPWD','toString','unlockItemOrSolution','270FnSvpd','attemptUnlock','roomB','31141eLVrMf','checkIfLockable','roomA','2376045AdpnoI','name','24nyvCUJ','.\x20Used:\x20','306653BuWlLx','checkIfLocked','\x20and\x20','.\x20Is\x20Locked:\x20','Door\x20unlocked:\x20','(((.+)+)+)+$','write','logger','12vcyRzh','5460759tdJKsS'];a50c=function(){return n;};return a50c();}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0x174)];[a50i(0x171)];[a50i(0x186)];[a50i(0x18d)];[a50i(0x176)];[a50i(0x180)];[a50i(0x184)];constructor(a){var j=a50i;super(),this[j(0x174)]=a['roomA'],this[j(0x171)]=a[j(0x171)],this[j(0x186)]=a[j(0x186)]||![],this['unlockItemOrSolution']=a[j(0x18d)],this['name']=a[j(0x176)]?capitalCase(a[j(0x176)]):j(0x18a)+a[j(0x171)][j(0x176)],this[j(0x180)]=Logger[j(0x188)](),this[j(0x184)]=!!a[j(0x18d)],this[j(0x180)]['write']('Door\x20created\x20between\x20'+this['roomA'][j(0x176)]+j(0x17b)+this[j(0x171)][j(0x176)]+j(0x17c)+this[j(0x186)]);}['getOtherSide'](a){var k=a50i;return this[k(0x174)]===a?this[k(0x171)]:this[k(0x174)];}[a50i(0x18f)](a){var l=a50i;if(this[l(0x186)]&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this[l(0x186)]=![],this[l(0x180)][l(0x17f)](l(0x17d)+this[l(0x176)]+l(0x178)+a),!![];return this[l(0x180)]['write']('Failed\x20to\x20unlock\x20door:\x20'+this['name']+l(0x178)+a),![];}[a50i(0x17a)](){var m=a50i;return this[m(0x186)];}[a50i(0x173)](){return this['isLockable'];}}
1
+ function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x1bc;var f=c[d];return f;},a50d(a,b);}var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x1d9))/0x1*(parseInt(f(0x1cc))/0x2)+-parseInt(f(0x1ce))/0x3+-parseInt(f(0x1cd))/0x4+-parseInt(f(0x1c9))/0x5+-parseInt(f(0x1cb))/0x6*(parseInt(f(0x1d7))/0x7)+parseInt(f(0x1bc))/0x8+parseInt(f(0x1bf))/0x9*(parseInt(f(0x1d6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x18b2d));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x1c8)]()['search'](h(0x1c7))['toString']()[h(0x1dc)](a50a)[h(0x1d1)](h(0x1c7));});a50a();function a50c(){var o=['610544yXsvev','getOtherSide','To\x20','9DPpRJA','unlockItemOrSolution','roomB','.\x20Is\x20Locked:\x20','apply','roomA','Failed\x20to\x20unlock\x20door:\x20','attemptUnlock','(((.+)+)+)+$','toString','962200EggQwz','isLocked','60oWMuxI','2uadGHF','408796qkaRdV','229926vcaSnD','name','write','search','logger','checkIfLocked','\x20and\x20','getInstance','6172830LnlyMm','52829yABnHs','checkIfLockable','145685rudObX','isLockable','Door\x20created\x20between\x20','constructor'];a50c=function(){return o;};return a50c();}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a50i(0x1c1)];[a50i(0x1ca)];['unlockItemOrSolution'];[a50i(0x1cf)];['logger'];['isLockable'];constructor(a){var j=a50i;super(),this['roomA']=a['roomA'],this[j(0x1c1)]=a[j(0x1c1)],this[j(0x1ca)]=a[j(0x1ca)]||![],this[j(0x1c0)]=a[j(0x1c0)],this[j(0x1cf)]=a[j(0x1cf)]?capitalCase(a[j(0x1cf)]):j(0x1be)+a[j(0x1c1)][j(0x1cf)],this[j(0x1d2)]=Logger[j(0x1d5)](),this[j(0x1da)]=!!a['unlockItemOrSolution'],this[j(0x1d2)][j(0x1d0)](j(0x1db)+this[j(0x1c4)][j(0x1cf)]+j(0x1d4)+this[j(0x1c1)][j(0x1cf)]+j(0x1c2)+this[j(0x1ca)]);}[a50i(0x1bd)](a){var k=a50i;return this[k(0x1c4)]===a?this[k(0x1c1)]:this['roomA'];}[a50i(0x1c6)](a){var l=a50i;if(this['isLocked']&&this['unlockItemOrSolution']&&this[l(0x1c0)]===a)return this[l(0x1ca)]=![],this[l(0x1d2)][l(0x1d0)]('Door\x20unlocked:\x20'+this[l(0x1cf)]+'.\x20Used:\x20'+a),!![];return this[l(0x1d2)][l(0x1d0)](l(0x1c5)+this['name']+'.\x20Used:\x20'+a),![];}[a50i(0x1d3)](){var m=a50i;return this[m(0x1ca)];}[a50i(0x1d8)](){var n=a50i;return this[n(0x1da)];}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x93))/0x1*(parseInt(f(0x8e))/0x2)+-parseInt(f(0x94))/0x3*(-parseInt(f(0x88))/0x4)+parseInt(f(0x95))/0x5+parseInt(f(0x97))/0x6*(-parseInt(f(0xaf))/0x7)+-parseInt(f(0xab))/0x8+-parseInt(f(0x89))/0x9*(-parseInt(f(0xa0))/0xa)+parseInt(f(0x9a))/0xb*(-parseInt(f(0xa8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xef14d));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x98)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xaa)]()[h(0xa4)](h(0xa7))[h(0xaa)]()[h(0xad)](a51a)[h(0xa4)](h(0xa7));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a51c(){const r=['get','(((.+)+)+)+$','17987628JCJfkE','items','toString','15566552EvCVXs','Checked\x20for\x20item:\x20','constructor','delete','7QBGtJX','getInstance','264844LnFyVQ','539658AHaiyg','weight','Retrieved\x20details\x20for\x20item:\x20','getAllItems','has','609514gDMnkG','write','Removed\x20item:\x20','name','listItems','1AFSoEp','57pKHVrD','7534320FefpXS','getItem','867690OzYEGu','apply','removeItem','11kSSwsB','keys','toLowerCase','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','Listed\x20items\x20in\x20inventory:\x20','logger','250vnzAcl','values','addItem','.\x20Item\x20not\x20found.','search','\x20in\x20'];a51c=function(){return r;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x87;let f=c[d];return f;},a51d(a,b);}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0xa9)];['logger'];constructor(){const j=a51i;super(),this[j(0xa9)]=new Map(),this['logger']=Logger[j(0x87)]();}[a51i(0xa2)](a){const k=a51i;this[k(0xa9)]['set'](a[k(0x91)][k(0x9c)](),a),this[k(0x9f)][k(0x8f)]('Added\x20item:\x20'+a[k(0x91)]+'\x20to\x20inventory.');}[a51i(0x99)](a){const l=a51i,b=this[l(0x96)](a);if(b)return this['items'][l(0xae)](a[l(0x9c)]()),this['logger'][l(0x8f)](l(0x90)+a+'\x20from\x20inventory.'),b;return this[l(0x9f)][l(0x8f)]('Failed\x20to\x20remove\x20item:\x20'+a+l(0xa3)),null;}['hasItem'](a){const m=a51i,b=this['items'][m(0x8d)](a[m(0x9c)]()),c=[...this[m(0xa9)][m(0x9b)]()];return this['logger'][m(0x8f)](m(0xac)+a+m(0xa5)+c['join'](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a51i(0x96)](a){const n=a51i,b=this['items'][n(0xa6)](a[n(0x9c)]())||null;return b?this['logger'][n(0x8f)](n(0x8b)+a+'.'):this['logger'][n(0x8f)](n(0x9d)+a+n(0xa3)),b;}[a51i(0x92)](){const o=a51i,a=[...this[o(0xa9)][o(0x9b)]()],b=a['map'](c=>capitalCase(c));return this[o(0x9f)][o(0x8f)](o(0x9e)+b['join'](',\x20')+'.'),a;}['getWeight'](){const p=a51i;let a=0x0;for(const b of this['items'][p(0xa1)]()){a+=b[p(0x8a)];}return a;}[a51i(0x8c)](){const q=a51i;return[...this[q(0xa9)][q(0xa1)]()];}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x15a))/0x1+-parseInt(f(0x161))/0x2*(-parseInt(f(0x156))/0x3)+parseInt(f(0x158))/0x4+parseInt(f(0x150))/0x5*(parseInt(f(0x13d))/0x6)+-parseInt(f(0x15b))/0x7*(-parseInt(f(0x140))/0x8)+-parseInt(f(0x14a))/0x9+-parseInt(f(0x15c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x8bdb0));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a['toString']()['search']('(((.+)+)+)+$')[h(0x154)]()[h(0x157)](a51a)[h(0x155)]('(((.+)+)+)+$');});function a51c(){const r=['toLowerCase','220kPaYer','write','getInstance','addItem','toString','search','41601rPDIYD','constructor','2193776iQwQUk','items','639523WxJiFM','51667CxxkSI','14691030LkUeeW','Retrieved\x20details\x20for\x20item:\x20','set','Removed\x20item:\x20','get','82KNPEEd','logger','weight','.\x20Item\x20not\x20found.','Failed\x20to\x20remove\x20item:\x20','hasItem','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','72042EnOknZ','keys','Listed\x20items\x20in\x20inventory:\x20','32jfJbjx','getAllItems','values','\x20in\x20','removeItem','\x20from\x20inventory.','name','apply','has','Checked\x20for\x20item:\x20','2451555slXyxq','getItem','map','join','\x20to\x20inventory.'];a51c=function(){return r;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x13a;let f=c[d];return f;},a51d(a,b);}a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x159)];[a51i(0x162)];constructor(){const j=a51i;super(),this['items']=new Map(),this['logger']=Logger[j(0x152)]();}[a51i(0x153)](a){const k=a51i;this[k(0x159)][k(0x15e)](a['name']['toLowerCase'](),a),this[k(0x162)][k(0x151)]('Added\x20item:\x20'+a[k(0x146)]+k(0x14e));}[a51i(0x144)](a){const l=a51i,b=this[l(0x14b)](a);if(b)return this[l(0x159)]['delete'](a[l(0x14f)]()),this['logger'][l(0x151)](l(0x15f)+a+l(0x145)),b;return this['logger'][l(0x151)](l(0x13a)+a+l(0x164)),null;}[a51i(0x13b)](a){const m=a51i,b=this[m(0x159)][m(0x148)](a['toLowerCase']()),c=[...this[m(0x159)]['keys']()];return this[m(0x162)][m(0x151)](m(0x149)+a+m(0x143)+c[m(0x14d)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a51i(0x14b)](a){const n=a51i,b=this[n(0x159)][n(0x160)](a['toLowerCase']())||null;return b?this['logger']['write'](n(0x15d)+a+'.'):this[n(0x162)][n(0x151)](n(0x13c)+a+n(0x164)),b;}['listItems'](){const o=a51i,a=[...this['items'][o(0x13e)]()],b=a[o(0x14c)](c=>capitalCase(c));return this[o(0x162)]['write'](o(0x13f)+b[o(0x14d)](',\x20')+'.'),a;}['getWeight'](){const p=a51i;let a=0x0;for(const b of this[p(0x159)][p(0x142)]()){a+=b[p(0x163)];}return a;}[a51i(0x141)](){const q=a51i;return[...this['items'][q(0x142)]()];}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xdc))/0x1+parseInt(f(0xd8))/0x2+-parseInt(f(0xd2))/0x3*(parseInt(f(0xca))/0x4)+parseInt(f(0xd7))/0x5*(-parseInt(f(0xcf))/0x6)+parseInt(f(0xc6))/0x7+-parseInt(f(0xcb))/0x8*(parseInt(f(0xce))/0x9)+-parseInt(f(0xd0))/0xa*(-parseInt(f(0xdd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xd1959));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xc8)]()[h(0xd6)](h(0xd4))[h(0xc8)]()['constructor'](a52a)['search']('(((.+)+)+)+$');});a52a();import{v4 as a52e}from'uuid';function a52c(){var l=['You\x20use\x20the\x20','description','apply','.\x20Nothing\x20special\x20happens.','5477381EkgGAv','name','toString','rating','320588gmELuL','2865208swTeqR','use','uuid','9fVWjLR','6WBoWaS','170KOIVkw','texture','9zUVuHH','color','(((.+)+)+)+$','shape','search','2038920grMwQV','3075376NGcnck','size','weight','category','767543CcpvXe','202015WOycfe'];a52c=function(){return l;};return a52c();}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xc4;var f=c[d];return f;},a52d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0xcd)];[a52i(0xc7)];[a52i(0xdf)];['size'];[a52i(0xdb)];[a52i(0xd5)];['color'];['texture'];['rating'];[a52i(0xda)];constructor(a){var j=a52i;super(),this[j(0xc7)]=a[j(0xc7)],this['description']=a[j(0xdf)],this[j(0xd9)]=a[j(0xd9)],this[j(0xdb)]=a[j(0xdb)],this[j(0xd5)]=a[j(0xd5)],this[j(0xd3)]=a[j(0xd3)],this[j(0xd1)]=a[j(0xd1)],this[j(0xc9)]=a[j(0xc9)],this[j(0xda)]=a['weight'],this['uuid']=a52e();}[a52i(0xcc)](){var k=a52i;return k(0xde)+this['name']+k(0xc5);}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xa8))/0x1*(parseInt(f(0xb1))/0x2)+-parseInt(f(0xab))/0x3*(parseInt(f(0xb4))/0x4)+-parseInt(f(0xac))/0x5*(-parseInt(f(0x9d))/0x6)+parseInt(f(0xa9))/0x7*(parseInt(f(0x99))/0x8)+parseInt(f(0xaf))/0x9*(-parseInt(f(0xa1))/0xa)+-parseInt(f(0xb0))/0xb+parseInt(f(0x9e))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xa6203));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xa2)]()[h(0xb3)](h(0xa3))[h(0xa2)]()['constructor'](a52a)[h(0xb3)]('(((.+)+)+)+$');});function a52c(){var l=['apply','uuid','category','texture','42516crslWc','427588DoTWkF','description','7812rqgPnf','828335OZjOWp','rating','name','2535849DgSEqK','8078422gXpiOp','24TrrKnP','shape','search','164QRXqCs','104wBxNHu','color','You\x20use\x20the\x20','size','6zqKMOa','7382256FuRlcq','weight','.\x20Nothing\x20special\x20happens.','20SYIcjP','toString','(((.+)+)+)+$'];a52c=function(){return l;};return a52c();}a52a();import{v4 as a52e}from'uuid';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x99;var f=c[d];return f;},a52d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0xa5)];[a52i(0xae)];['description'];[a52i(0x9c)];[a52i(0xa6)];['shape'];[a52i(0x9a)];[a52i(0xa7)];[a52i(0xad)];[a52i(0x9f)];constructor(a){var j=a52i;super(),this[j(0xae)]=a[j(0xae)],this[j(0xaa)]=a['description'],this[j(0x9c)]=a['size'],this[j(0xa6)]=a[j(0xa6)],this[j(0xb2)]=a['shape'],this[j(0x9a)]=a[j(0x9a)],this[j(0xa7)]=a[j(0xa7)],this[j(0xad)]=a[j(0xad)],this[j(0x9f)]=a[j(0x9f)],this[j(0xa5)]=a52e();}['use'](){var k=a52i;return k(0x9b)+this[k(0xae)]+k(0xa0);}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x13f))/0x1*(parseInt(f(0x138))/0x2)+parseInt(f(0x13e))/0x3+parseInt(f(0x140))/0x4+parseInt(f(0x13b))/0x5+-parseInt(f(0x145))/0x6+-parseInt(f(0x149))/0x7*(-parseInt(f(0x139))/0x8)+parseInt(f(0x141))/0x9*(-parseInt(f(0x14e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x919ca));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0x14b)](h(0x146))[h(0x14a)]()[h(0x14d)](a53a)[h(0x14b)](h(0x146));});function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x138;let f=c[d];return f;},a53d(a,b);}a53a();function a53c(){const n=['name','98fAGhZG','toString','search','scene','constructor','8150dSyRAJ','apply','62NlFrVa','664312dzJHje','_dialogue','2845440LMSAEq','autonomousMove','rooms','956313nrZbEq','33574JZArYG','2914988stDQci','7263iLrOwC','random','moveTo','length','2905362cExCwI','(((.+)+)+)+$','_name'];a53c=function(){return n;};return a53c();}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0x147)];[a53i(0x13a)];[a53i(0x13d)];[a53i(0x14c)];constructor(a,b,c,d){const j=a53i;super(d),this['_name']=a,this['_dialogue']=b,this[j(0x13d)]=c;}get[a53i(0x148)](){return this['_name'];}['speak'](){const k=a53i;return this[k(0x13a)][Math['floor'](Math['random']()*this['_dialogue'][k(0x144)])];}[a53i(0x13c)](a){const l=a53i,b=a[Math['floor'](Math[l(0x142)]()*a['length'])];this[l(0x143)](b['name']);}['moveTo'](a){const m=a53i,b={'actor':this,'rooms':this[m(0x13d)],'scene':this['scene']},c=new GoCommand(b);c['execute']([a]);}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x17b))/0x1+parseInt(f(0x187))/0x2*(-parseInt(f(0x17d))/0x3)+-parseInt(f(0x184))/0x4*(parseInt(f(0x17f))/0x5)+parseInt(f(0x186))/0x6*(-parseInt(f(0x17a))/0x7)+parseInt(f(0x185))/0x8*(parseInt(f(0x16f))/0x9)+-parseInt(f(0x171))/0xa*(-parseInt(f(0x182))/0xb)+parseInt(f(0x181))/0xc*(parseInt(f(0x177))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x72335));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x183)]()[h(0x175)](h(0x172))[h(0x183)]()[h(0x16e)](a53a)[h(0x175)]('(((.+)+)+)+$');});a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x16c;let f=c[d];return f;},a53d(a,b);}import{Player}from'./player.js';function a53c(){const o=['12WpxVeB','338vwPkLA','length','floor','constructor','27144RlEIiC','autonomousMove','19280MlLCFc','(((.+)+)+)+$','apply','scene','search','random','39VDzjSp','name','rooms','2726339iSFNWp','14547qQBCRU','_name','1830rDtLKp','moveTo','5zByOfA','_dialogue','4815516kYasjP','1474vZBTGo','toString','1561708hFBiKx','776nmZiGk'];a53c=function(){return o;};return a53c();}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0x17c)];['_dialogue'];[a53i(0x179)];[a53i(0x174)];constructor(a,b,c,d){const j=a53i;super(d),this['_name']=a,this[j(0x180)]=b,this['rooms']=c;}get[a53i(0x178)](){const k=a53i;return this[k(0x17c)];}['speak'](){const l=a53i;return this[l(0x180)][Math['floor'](Math[l(0x176)]()*this[l(0x180)][l(0x16c)])];}[a53i(0x170)](a){const m=a53i,b=a[Math[m(0x16d)](Math[m(0x176)]()*a[m(0x16c)])];this['moveTo'](b[m(0x178)]);}[a53i(0x17e)](a){const n=a53i,b={'actor':this,'rooms':this[n(0x179)],'scene':this[n(0x174)]},c=new GoCommand(b);c['execute']([a]);}}
@@ -1 +1 @@
1
- const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x164))/0x1+parseInt(f(0x185))/0x2*(-parseInt(f(0x19a))/0x3)+parseInt(f(0x17d))/0x4+-parseInt(f(0x156))/0x5+-parseInt(f(0x186))/0x6*(parseInt(f(0x16e))/0x7)+-parseInt(f(0x177))/0x8*(parseInt(f(0x171))/0x9)+-parseInt(f(0x1a3))/0xa*(-parseInt(f(0x16f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xd8752));function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x149;let f=c[d];return f;},a54d(a,b);}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x170)]()[h(0x15f)](h(0x173))[h(0x170)]()[h(0x183)](a54a)[h(0x15f)](h(0x173));});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a54c(){const C=['currentWeight','Hat','leftHand','leaveRoom','arm\x20armor','Gloves','bind','Added\x20','feet','weight','86215BaCmMT','hear','unequip','leg\x20armor','rightHand','BodyArmor','Invalid\x20category\x20or\x20slot:\x20','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','_playerName','search','Nexus','currentLocation','determineEquipmentSlot','body\x20armor','3873SCRCeQ','_currentLocation','You\x20equipped\x20','speak','legs','A\x20featureless\x20room','Shield','Removed\x20','hat','_maxCarryingWeight','182nmIzqt','11MphzVW','toString','75861cctdKz','Failed\x20to\x20remove\x20','(((.+)+)+)+$','inventoryItems','You\x20don\x27t\x20have\x20','inventory','688BrfJof','\x20to\x20player\x27s\x20inventory.','torso','playerName','canEquip','boots','6525860KnLucR','gloves','apply','_equipment','addItem','write','constructor','startLocation','4766OkVGdl','23952oEDTBs','Max\x20carrying\x20weight\x20must\x20be\x20positive.','bodyarmor','removeItem','unequipBySlot','shield','off','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','removeInventory','You\x20unequipped\x20','\x20from\x20player\x27s\x20inventory.','legarmor','enterRoom','toLowerCase','name','maxCarryingWeight','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','addInventory','ArmArmor','LegArmor','1770rSJsPh','head','\x20is\x20no\x20longer\x20listeng\x20in\x20','getWeight','armarmor','\x20in\x20your\x20inventory.','equipment','helmet','logger','15031710ZqtiQf','category','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','getInstance','initialEquipment','equip','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','_inventory','Helmet','arms'];a54c=function(){return C;};return a54c();}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];['_currentLocation'];[a54i(0x149)];['_equipment'];['_maxCarryingWeight']=0x32;[a54i(0x1a2)];constructor(a){const j=a54i;super(),this[j(0x15e)]=a[j(0x17a)],this['_currentLocation']=a[j(0x184)]||new Room({'name':j(0x160),'description':j(0x169)}),this[j(0x149)]=new Inventory(),this[j(0x1a2)]=Logger[j(0x1a6)]();if(a?.['inventoryItems'])for(const b of a[j(0x174)]){this[j(0x149)][j(0x181)](b);}this[j(0x180)]=a?.[j(0x1a7)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x194)](){const k=a54i;return this[k(0x15e)];}get[a54i(0x161)](){const l=a54i;return this[l(0x165)];}set[a54i(0x161)](a){const m=a54i;this[m(0x165)]!==a&&(this['leaveRoom'](),this[m(0x192)](a)),this[m(0x165)]=a;}get[a54i(0x176)](){return this['_inventory'];}get[a54i(0x1a0)](){const n=a54i;return this[n(0x180)];}set['equipment'](a){const o=a54i;this[o(0x180)]=a;}get[a54i(0x195)](){const p=a54i;return this[p(0x16d)];}set['maxCarryingWeight'](a){const q=a54i;a>0x0?this['_maxCarryingWeight']=a:console['error'](q(0x187));}get[a54i(0x14c)](){const r=a54i;let a=this['_inventory'][r(0x19d)]();for(const b in this[r(0x180)]){const c=this['_equipment'][b];c&&(a+=c[r(0x155)]);}return a;}[a54i(0x197)](a){const s=a54i;if(this[s(0x14c)]+a[s(0x155)]>this[s(0x195)]){this[s(0x1a2)]['write'](s(0x1a9));throw new Error(s(0x196));}this[s(0x149)][s(0x181)](a),this[s(0x1a2)][s(0x182)](s(0x153)+a['name']+s(0x178));}[a54i(0x18e)](a){const t=a54i;if(this[t(0x149)][t(0x189)](a[t(0x194)]))return this['logger'][t(0x182)](t(0x16b)+a['name']+t(0x190)),!![];return this[t(0x1a2)][t(0x182)](t(0x172)+a[t(0x194)]+t(0x190)),![];}[a54i(0x1a8)](a){const u=a54i;if(!this[u(0x149)]['hasItem'](a[u(0x194)]))return u(0x175)+a[u(0x194)]+u(0x19f);if(!this[u(0x17b)](a))return'You\x20can\x27t\x20equip\x20'+a['name']+'.';const b=this[u(0x162)](a[u(0x1a4)]);if(!b)return a['name']+u(0x15d);if(this['equipment'][b])return u(0x1a5)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[u(0x1a0)][b]=a,this[u(0x18e)](a),u(0x166)+a['name']+'.';}[a54i(0x158)](a){const v=a54i;let b=a;if(!this[v(0x1a0)][camelCase(b)]){b=this[v(0x162)](a);if(!b)return v(0x15c)+a+'.';}return this['unequipBySlot'](b);}[a54i(0x162)](a){const w=a54i;switch(a[w(0x193)]()){case Category['Weapon']['toLowerCase']():return'rightHand';case Category[w(0x16a)][w(0x193)]():return w(0x14e);case Category[w(0x151)]['toLowerCase']():return w(0x17e);case Category[w(0x14a)][w(0x193)]():case Category[w(0x14d)][w(0x193)]():return'head';case Category['Boots'][w(0x193)]():return w(0x154);case Category[w(0x199)]['toLowerCase']():return w(0x168);case Category[w(0x198)][w(0x193)]():return w(0x14b);case Category[w(0x15b)][w(0x193)]():return w(0x179);case'weapon':return w(0x15a);case w(0x18b):return w(0x14e);case w(0x17e):return w(0x17e);case w(0x1a1):case w(0x16c):return w(0x19b);case w(0x17c):return w(0x154);case w(0x159):case w(0x191):return'legs';case w(0x150):case w(0x19e):return'arms';case w(0x163):case w(0x188):case w(0x179):return w(0x179);default:return null;}}[a54i(0x17b)](a){const x=a54i;return Object['values'](Category)['includes'](a[x(0x1a4)]);}[a54i(0x18a)](a){const y=a54i,b=this[y(0x1a0)][a];if(!b)return y(0x18d)+a+'\x20slot.';return this[y(0x197)](b),this[y(0x1a0)][a]=null,y(0x18f)+b[y(0x194)]+'.';}['hear'](a,b){const z=a54i;a!==this&&this[z(0x1a2)]['log'](a[z(0x194)]+'\x20says:\x20\x22'+b+'\x22');}[a54i(0x192)](a){const A=a54i;this['_currentLocation']=a,a['on'](A(0x167),this[A(0x157)][A(0x152)](this)),this[A(0x1a2)]['write'](this[A(0x194)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[A(0x194)]);}[a54i(0x14f)](){const B=a54i;this[B(0x165)]&&(this[B(0x165)][B(0x18c)](B(0x167),this[B(0x157)][B(0x152)](this)),this[B(0x1a2)][B(0x182)](this['name']+B(0x19c)+this[B(0x165)][B(0x194)]));}}
1
+ const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0x103))/0x1*(parseInt(f(0xf1))/0x2)+parseInt(f(0x122))/0x3*(-parseInt(f(0xe5))/0x4)+-parseInt(f(0xe6))/0x5+-parseInt(f(0x105))/0x6*(-parseInt(f(0xdf))/0x7)+parseInt(f(0x11e))/0x8+parseInt(f(0x11d))/0x9+parseInt(f(0x127))/0xa*(-parseInt(f(0xde))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x37c80));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0xf5)]()[h(0x138)]('(((.+)+)+)+$')[h(0xf5)]()[h(0x114)](a54a)[h(0x138)](h(0x10e));});a54a();import{camelCase}from'change-case';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xd8;let f=c[d];return f;},a54d(a,b);}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a54c(){const C=['Hat','(((.+)+)+)+$','Nexus','equip','unequipBySlot','leftHand','canEquip','constructor','arm\x20armor','write','Weapon','initialEquipment','error','\x20is\x20no\x20longer\x20listeng\x20in\x20','maxCarryingWeight','leaveRoom','1598652lEVAWf','3356192hjUzTg','gloves','addInventory','legarmor','12iZjdzS','name','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','\x20from\x20player\x27s\x20inventory.','hear','970uqNGyF','head','_equipment','.\x20You\x20must\x20unequip\x20it\x20first.','unequip','bodyarmor','log','Added\x20','Removed\x20','feet','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','Invalid\x20category\x20or\x20slot:\x20','Max\x20carrying\x20weight\x20must\x20be\x20positive.','currentWeight','bind','ArmArmor','currentLocation','search','shield','removeItem','Helmet','_currentLocation','LegArmor','arms','25839EWxtcd','189mZTwNp','rightHand','_maxCarryingWeight','You\x20can\x27t\x20equip\x20','equipment','startLocation','42940kvlEBp','488255pBACGI','torso','hasItem','removeInventory','\x20slot.','logger','\x20in\x20your\x20inventory.','addItem','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','leg\x20armor','_inventory','1902RAWDlB','speak','category','getWeight','toString','armarmor','toLowerCase','legs','boots','You\x20unequipped\x20','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','weight','You\x20don\x27t\x20have\x20','enterRoom','inventoryItems','Failed\x20to\x20remove\x20','\x20to\x20player\x27s\x20inventory.','hat','389ZWeRuM','A\x20featureless\x20room','82158abQkqS','Gloves','You\x20equipped\x20','includes','_playerName','apply','getInstance','determineEquipmentSlot'];a54c=function(){return C;};return a54c();}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0x109)];[a54i(0xdb)];[a54i(0xf0)];[a54i(0x129)];[a54i(0xe1)]=0x32;['logger'];constructor(a){const j=a54i;super(),this['_playerName']=a['playerName'],this[j(0xdb)]=a[j(0xe4)]||new Room({'name':j(0x10f),'description':j(0x104)}),this[j(0xf0)]=new Inventory(),this[j(0xeb)]=Logger[j(0x10b)]();if(a?.[j(0xff)])for(const b of a[j(0xff)]){this['_inventory'][j(0xed)](b);}this[j(0x129)]=a?.[j(0x118)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x123)](){const k=a54i;return this[k(0x109)];}get[a54i(0x137)](){const l=a54i;return this[l(0xdb)];}set['currentLocation'](a){const m=a54i;this['_currentLocation']!==a&&(this['leaveRoom'](),this[m(0xfe)](a)),this[m(0xdb)]=a;}get['inventory'](){const n=a54i;return this[n(0xf0)];}get[a54i(0xe3)](){const o=a54i;return this[o(0x129)];}set[a54i(0xe3)](a){const p=a54i;this[p(0x129)]=a;}get[a54i(0x11b)](){return this['_maxCarryingWeight'];}set[a54i(0x11b)](a){const q=a54i;a>0x0?this['_maxCarryingWeight']=a:console[q(0x119)](q(0x133));}get[a54i(0x134)](){const r=a54i;let a=this['_inventory'][r(0xf4)]();for(const b in this['_equipment']){const c=this[r(0x129)][b];c&&(a+=c[r(0xfc)]);}return a;}[a54i(0x120)](a){const s=a54i;if(this[s(0x134)]+a[s(0xfc)]>this[s(0x11b)]){this[s(0xeb)]['write'](s(0xfb));throw new Error(s(0x124));}this[s(0xf0)][s(0xed)](a),this[s(0xeb)][s(0x116)](s(0x12e)+a[s(0x123)]+s(0x101));}[a54i(0xe9)](a){const t=a54i;if(this[t(0xf0)][t(0xd9)](a[t(0x123)]))return this[t(0xeb)][t(0x116)](t(0x12f)+a['name']+'\x20from\x20player\x27s\x20inventory.'),!![];return this[t(0xeb)][t(0x116)](t(0x100)+a[t(0x123)]+t(0x125)),![];}[a54i(0x110)](a){const u=a54i;if(!this[u(0xf0)][u(0xe8)](a[u(0x123)]))return u(0xfd)+a['name']+u(0xec);if(!this['canEquip'](a))return u(0xe2)+a[u(0x123)]+'.';const b=this[u(0x10c)](a[u(0xf3)]);if(!b)return a['name']+u(0xee);if(this[u(0xe3)][b])return u(0x131)+b+u(0x12a);return this[u(0xe3)][b]=a,this[u(0xe9)](a),u(0x107)+a[u(0x123)]+'.';}[a54i(0x12b)](a){const v=a54i;let b=a;if(!this[v(0xe3)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return v(0x132)+a+'.';}return this[v(0x111)](b);}[a54i(0x10c)](a){const w=a54i;switch(a[w(0xf7)]()){case Category[w(0x117)][w(0xf7)]():return w(0xe0);case Category['Shield'][w(0xf7)]():return'leftHand';case Category[w(0x106)][w(0xf7)]():return w(0x11f);case Category[w(0xda)][w(0xf7)]():case Category[w(0x10d)][w(0xf7)]():return w(0x128);case Category['Boots'][w(0xf7)]():return w(0x130);case Category[w(0xdc)]['toLowerCase']():return w(0xf8);case Category[w(0x136)][w(0xf7)]():return w(0xdd);case Category['BodyArmor'][w(0xf7)]():return'torso';case'weapon':return w(0xe0);case w(0xd8):return w(0x112);case w(0x11f):return w(0x11f);case'helmet':case w(0x102):return'head';case w(0xf9):return w(0x130);case w(0xef):case w(0x121):return w(0xf8);case w(0x115):case w(0xf6):return w(0xdd);case'body\x20armor':case w(0x12c):case w(0xe7):return'torso';default:return null;}}[a54i(0x113)](a){const x=a54i;return Object['values'](Category)[x(0x108)](a[x(0xf3)]);}['unequipBySlot'](a){const y=a54i,b=this['equipment'][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+y(0xea);return this[y(0x120)](b),this[y(0xe3)][a]=null,y(0xfa)+b['name']+'.';}[a54i(0x126)](a,b){const z=a54i;a!==this&&this[z(0xeb)][z(0x12d)](a[z(0x123)]+'\x20says:\x20\x22'+b+'\x22');}['enterRoom'](a){const A=a54i;this[A(0xdb)]=a,a['on']('speak',this['hear'][A(0x135)](this)),this[A(0xeb)]['write'](this[A(0x123)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[A(0x123)]);}[a54i(0x11c)](){const B=a54i;this[B(0xdb)]&&(this[B(0xdb)]['off'](B(0xf2),this['hear'][B(0x135)](this)),this[B(0xeb)][B(0x116)](this[B(0x123)]+B(0x11a)+this[B(0xdb)][B(0x123)]));}}
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x98))/0x1+parseInt(f(0x9c))/0x2*(-parseInt(f(0x91))/0x3)+parseInt(f(0x89))/0x4+-parseInt(f(0x9e))/0x5+parseInt(f(0x8b))/0x6+-parseInt(f(0x9d))/0x7+parseInt(f(0x96))/0x8*(-parseInt(f(0x88))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x71b98));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x99)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x87)]()[h(0x95)](h(0x9a))[h(0x87)]()[h(0x94)](a55a)[h(0x95)](h(0x9a));});a55a();function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x83;var f=c[d];return f;},a55d(a,b);}function a55c(){var n=['requiredItem','constructor','search','8behXTE','write','60898PZqdCJ','apply','(((.+)+)+)+$','You\x20solved\x20the\x20puzzle!','8716OCeevy','5278175KeWehO','1152510vEOHNs','matchesRequiredPhrase','logger','requiredPhrase','solved','rewardItem','hasRequiredItem','solve','toString','376389HPNsBo','3399008OBVmtw','You\x20have\x20already\x20solved\x20this\x20puzzle.','4638228yzeTyl','getInstance','failureMessage','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','Puzzle:\x20Correct\x20solution\x20provided.','48gktiSb','riddle'];a55c=function(){return n;};return a55c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55i(0xa0)]=Logger[a55i(0x8c)]();[a55i(0x83)]=![];[a55i(0x93)];[a55i(0xa1)];[a55i(0x92)];[a55i(0x84)];['successMessage'];[a55i(0x8d)];constructor(a){var j=a55i;super(),this[j(0x93)]=a[j(0x93)],this['requiredPhrase']=a['requiredPhrase'],this[j(0x92)]=a['riddle'],this[j(0x84)]=a['rewardItem'],this['successMessage']=a['successMessage']||j(0x9b),this[j(0x8d)]=a[j(0x8d)]||j(0x8e);}['hasRequiredItem'](a){var k=a55i;if(this[k(0x93)])return a['hasItem'](this['requiredItem']);return![];}['matchesRequiredPhrase'](a){var l=a55i;return this[l(0xa1)]===a;}[a55i(0x86)](a,b){var m=a55i;if(this['solved'])return this[m(0xa0)][m(0x97)](m(0x8f)),{'success':![],'message':m(0x8a)};return this[m(0x85)](b)||this[m(0x9f)](a)?(this[m(0x83)]=!![],this[m(0xa0)]['write'](m(0x90)),{'success':!![],'message':this['successMessage']}):(this[m(0xa0)][m(0x97)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[m(0x8d)]});}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x139))/0x1+-parseInt(f(0x131))/0x2*(parseInt(f(0x126))/0x3)+parseInt(f(0x130))/0x4+-parseInt(f(0x12b))/0x5+-parseInt(f(0x125))/0x6*(-parseInt(f(0x12f))/0x7)+-parseInt(f(0x12a))/0x8*(parseInt(f(0x136))/0x9)+parseInt(f(0x128))/0xa*(parseInt(f(0x133))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x42231));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0x13d)]('(((.+)+)+)+$')['toString']()['constructor'](a55a)[h(0x13d)](h(0x13e));});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a55c(){var n=['successMessage','2346798BscFMY','3KxWsRb','getInstance','42310aEUeQZ','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','24fWeonL','1357505rxCfNp','solved','solve','rewardItem','7JJmWor','841204bNowCR','643442aqeThp','logger','2497rhnDVq','hasRequiredItem','You\x20have\x20already\x20solved\x20this\x20puzzle.','1303371DmWSEv','requiredItem','requiredPhrase','263295vuBRWO','write','riddle','matchesRequiredPhrase','search','(((.+)+)+)+$','apply','hasItem','failureMessage'];a55c=function(){return n;};return a55c();}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x123;var f=c[d];return f;},a55d(a,b);}export class Puzzle extends AbstractPuzzle{[a55i(0x132)]=Logger[a55i(0x127)]();[a55i(0x12c)]=![];['requiredItem'];['requiredPhrase'];[a55i(0x13b)];['rewardItem'];['successMessage'];['failureMessage'];constructor(a){var j=a55i;super(),this[j(0x137)]=a[j(0x137)],this[j(0x138)]=a[j(0x138)],this['riddle']=a[j(0x13b)],this[j(0x12e)]=a[j(0x12e)],this['successMessage']=a[j(0x124)]||'You\x20solved\x20the\x20puzzle!',this['failureMessage']=a[j(0x123)]||j(0x129);}[a55i(0x134)](a){var k=a55i;if(this[k(0x137)])return a[k(0x140)](this[k(0x137)]);return![];}[a55i(0x13c)](a){var l=a55i;return this[l(0x138)]===a;}[a55i(0x12d)](a,b){var m=a55i;if(this[m(0x12c)])return this[m(0x132)]['write']('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':m(0x135)};return this[m(0x134)](b)||this[m(0x13c)](a)?(this[m(0x12c)]=!![],this[m(0x132)][m(0x13a)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[m(0x124)]}):(this[m(0x132)][m(0x13a)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[m(0x123)]});}}
@@ -1 +1 @@
1
- const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0x13a))/0x1+parseInt(f(0x133))/0x2*(parseInt(f(0x10f))/0x3)+parseInt(f(0x125))/0x4+parseInt(f(0x140))/0x5*(parseInt(f(0x115))/0x6)+-parseInt(f(0x135))/0x7*(-parseInt(f(0x122))/0x8)+parseInt(f(0x126))/0x9+-parseInt(f(0x12a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x2fd68));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x10b)]()[h(0x129)](h(0x10e))[h(0x10b)]()['constructor'](a56a)[h(0x129)](h(0x10e));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x109;let f=c[d];return f;},a56d(a,b);}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';function a56c(){const t=['addItem','Puzzle\x20set\x20for\x20room\x20','2XsrgQB','EAST','7yMreqd','isExitLocked','riddle','down','DOWN','154471sobhpF','WEST','say','Item\x20removed\x20from\x20room\x20','removeItem','write','5oDrjAB','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','No\x20locked\x20exit\x20found\x20in\x20direction\x20','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','hasItem','toString','Room\x20created:\x20','inventory','(((.+)+)+)+$','647337GLTfXa','get','isStartRoom','exits','west','findExistingDoor','543786bdoISL','values','\x20is\x20locked.\x20Result:\x20','apply','INSIDE','getOppositeDirection','description','set','attemptUnlock','SOUTH','puzzle','setPuzzle','attemptUnlockExit','498840UnsAyn','Item\x20added\x20to\x20room\x20','roomType','1067732zazPUf','3135663wmVctY','addExit','logger','search','9426320tkomQm','The\x20','north','\x20unlocked!','south','roomA','name'];a56c=function(){return t;};return a56c();}export class Room extends AbstractRoom{['logger']=Logger['getInstance']();[a56i(0x130)];[a56i(0x11b)];[a56i(0x112)]=new Map();[a56i(0x124)];[a56i(0x111)];[a56i(0x10d)]=new Inventory();constructor(a){const j=a56i;super(),this['name']=a[j(0x130)],this[j(0x11b)]=a[j(0x11b)],this['roomType']=a[j(0x124)]||RoomType[j(0x119)],a[j(0x112)]&&(this['exits']=a['exits']||new Map()),a['inventory']&&(this[j(0x10d)]=a['inventory']),a[j(0x11f)]&&(this[j(0x11f)]=a[j(0x11f)]),this[j(0x111)]=a['isStartRoom']||![],this['logger']['write'](j(0x10c)+this[j(0x130)]);}[a56i(0x13c)](a,b){this['emit']('speak',a,b);}[a56i(0x127)](a,b,c){const k=a56i;let d=this[k(0x114)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0x112)][k(0x11c)](a,d),b[k(0x112)]['set'](this[k(0x11a)](a),d);}[a56i(0x121)](a,b){const l=a56i,c=this[l(0x112)][l(0x110)](a);if(c instanceof Door){const d=c[l(0x11d)](b);return this[l(0x128)][l(0x13f)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+'.\x20Success:\x20'+d),d?'The\x20'+c[l(0x130)]+l(0x12d):l(0x12b)+c[l(0x130)]+'\x20remains\x20locked.';}return this[l(0x128)][l(0x13f)](l(0x142)+a),l(0x141);}['getExit'](a){const m=a56i;return this[m(0x128)][m(0x13f)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[m(0x112)]['get'](a);}[a56i(0x136)](a){const n=a56i,b=this['exits']['get'](a),c=b instanceof Door&&b['checkIfLocked']();return this['logger'][n(0x13f)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+n(0x117)+c),c;}[a56i(0x131)](a){const o=a56i;this[o(0x10d)][o(0x131)](a),this[o(0x128)][o(0x13f)](o(0x123)+this[o(0x130)]+':\x20'+a[o(0x130)]);}['removeItem'](a){const p=a56i;this['inventory'][p(0x10a)](a[p(0x130)])?(this['inventory'][p(0x13e)](a[p(0x130)]),this[p(0x128)]['write'](p(0x13d)+this['name']+':\x20'+a['name'])):this[p(0x128)][p(0x13f)](p(0x109)+this[p(0x130)]+':\x20'+a[p(0x130)]);}[a56i(0x120)](a){const q=a56i;this['puzzle']=a,this['logger'][q(0x13f)](q(0x132)+this[q(0x130)]+':\x20'+a[q(0x137)]);}['getOppositeDirection'](a){const r=a56i;switch(a){case r(0x12c):return Direction[r(0x11e)];case r(0x12e):return Direction['NORTH'];case'east':return Direction[r(0x13b)];case r(0x113):return Direction[r(0x134)];case'up':return Direction[r(0x139)];case r(0x138):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a56i(0x114)](a){const s=a56i;for(const b of this[s(0x112)][s(0x116)]()){if(b instanceof Door){if(b[s(0x12f)]===this&&b['roomB']===a||b['roomB']===this&&b[s(0x12f)]===a)return b;}}return undefined;}}
1
+ const a56i=a56d;function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x112;let f=c[d];return f;},a56d(a,b);}(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0x12b))/0x1+-parseInt(f(0x124))/0x2*(parseInt(f(0x138))/0x3)+parseInt(f(0x11d))/0x4*(parseInt(f(0x144))/0x5)+parseInt(f(0x12c))/0x6*(-parseInt(f(0x14c))/0x7)+-parseInt(f(0x129))/0x8*(-parseInt(f(0x147))/0x9)+-parseInt(f(0x12a))/0xa+parseInt(f(0x13b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x3e19e));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x115)]()[h(0x127)](h(0x11c))[h(0x115)]()['constructor'](a56a)[h(0x127)](h(0x11c));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a56c(){const u=['addItem','isStartRoom','roomA','.\x20Success:\x20','Invalid\x20direction:\x20','(((.+)+)+)+$','55732RnbPhw','findExistingDoor','speak','puzzle','west','roomType','Fetching\x20exit\x20in\x20direction:\x20','34IFlgXZ','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','checkIfLocked','search','get','1112QOeIuH','767710bQQpsu','199797MxSEOo','12IrtjIS','logger','write','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','description','getExit','east','The\x20','No\x20locked\x20exit\x20found\x20in\x20direction\x20','getInstance','roomB','apply','57957XCJyEX','south','inventory','1679777YqsuUV','attemptUnlock','Checking\x20if\x20exit\x20in\x20direction\x20','removeItem','emit','exits','Room\x20created:\x20','set','Puzzle\x20set\x20for\x20room\x20','65KzKJhJ','Item\x20removed\x20from\x20room\x20','hasItem','27891BMYGRV','isExitLocked','\x20is\x20locked.\x20Result:\x20','INSIDE','getOppositeDirection','1066919uHZaVr','name','Item\x20added\x20to\x20room\x20','NORTH','toString','north'];a56c=function(){return u;};return a56c();}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x12d)]=Logger[a56i(0x135)]();['name'];[a56i(0x130)];[a56i(0x140)]=new Map();[a56i(0x122)];['isStartRoom'];['inventory']=new Inventory();constructor(a){const j=a56i;super(),this[j(0x112)]=a[j(0x112)],this[j(0x130)]=a[j(0x130)],this[j(0x122)]=a[j(0x122)]||RoomType[j(0x14a)],a['exits']&&(this['exits']=a[j(0x140)]||new Map()),a[j(0x13a)]&&(this[j(0x13a)]=a[j(0x13a)]),a[j(0x120)]&&(this[j(0x120)]=a['puzzle']),this['isStartRoom']=a[j(0x118)]||![],this['logger'][j(0x12e)](j(0x141)+this['name']);}['say'](a,b){const k=a56i;this[k(0x13f)](k(0x11f),a,b);}['addExit'](a,b,c){const l=a56i;let d=this[l(0x11e)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits']['set'](a,d),b[l(0x140)][l(0x142)](this[l(0x14b)](a),d);}['attemptUnlockExit'](a,b){const m=a56i,c=this[m(0x140)]['get'](a);if(c instanceof Door){const d=c[m(0x13c)](b);return this[m(0x12d)][m(0x12e)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0x11a)+d),d?'The\x20'+c[m(0x112)]+'\x20unlocked!':m(0x133)+c['name']+'\x20remains\x20locked.';}return this['logger']['write'](m(0x134)+a),m(0x12f);}[a56i(0x131)](a){const n=a56i;return this[n(0x12d)][n(0x12e)](n(0x123)+a),this['exits'][n(0x128)](a);}[a56i(0x148)](a){const o=a56i,b=this[o(0x140)]['get'](a),c=b instanceof Door&&b[o(0x126)]();return this[o(0x12d)][o(0x12e)](o(0x13d)+a+o(0x149)+c),c;}['addItem'](a){const p=a56i;this[p(0x13a)][p(0x117)](a),this[p(0x12d)][p(0x12e)](p(0x113)+this['name']+':\x20'+a['name']);}[a56i(0x13e)](a){const q=a56i;this[q(0x13a)][q(0x146)](a[q(0x112)])?(this['inventory'][q(0x13e)](a[q(0x112)]),this['logger']['write'](q(0x145)+this['name']+':\x20'+a[q(0x112)])):this['logger'][q(0x12e)](q(0x125)+this[q(0x112)]+':\x20'+a[q(0x112)]);}['setPuzzle'](a){const r=a56i;this['puzzle']=a,this[r(0x12d)][r(0x12e)](r(0x143)+this[r(0x112)]+':\x20'+a['riddle']);}[a56i(0x14b)](a){const s=a56i;switch(a){case s(0x116):return Direction['SOUTH'];case s(0x139):return Direction[s(0x114)];case s(0x132):return Direction['WEST'];case s(0x121):return Direction['EAST'];case'up':return Direction['DOWN'];case'down':return Direction['UP'];default:throw new Error(s(0x11b)+a);}}['findExistingDoor'](a){const t=a56i;for(const b of this['exits']['values']()){if(b instanceof Door){if(b['roomA']===this&&b[t(0x136)]===a||b[t(0x136)]===this&&b[t(0x119)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=-parseInt(i(0xc1))/0x1*(-parseInt(i(0xbb))/0x2)+-parseInt(i(0xe0))/0x3*(-parseInt(i(0xa3))/0x4)+-parseInt(i(0xd2))/0x5+-parseInt(i(0xc0))/0x6+parseInt(i(0xb5))/0x7*(parseInt(i(0xb3))/0x8)+parseInt(i(0xdf))/0x9+-parseInt(i(0xce))/0xa*(parseInt(i(0xdd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xf2b4c));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0xc9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0xb0)]()[k(0xb7)](k(0xa9))[k(0xb0)]()[k(0xbe)](a57a)['search'](k(0xa9));});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a57c(){const E=['getActor','Added\x20puzzle\x20to\x20room\x20','(((.+)+)+)+$','Added\x20room\x20to\x20scene:\x20','removeActor','Added\x20item\x20','toUpperCase','connectRooms','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','toString','addRoom','setCharacterLocation','15398392nnhqoX','addActor','7isnZtl','setPuzzle','search','allActors','direction','addPuzzleToRoom','2450458JHhuUC','has','determineStartRoom','constructor','roomFactory','1458786GyBoXk','1RXlFUN','Failed\x20to\x20add\x20item\x20','hasOwnProperty','exits','join','keyRequired','delete','generateRoomsFromConfig','apply','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','set','\x22\x20does\x20not\x20exist.','1026790ZlYTVd','Removed\x20room\x20from\x20scene:\x20','roomConfiguration','\x20not\x20found\x20in\x20scene.','8154025Wvzzfs','push','Scene\x20initialized\x20with\x20rooms:\x20','targetRoom','name','\x20already\x20exists\x20in\x20the\x20scene.','\x20found\x20in\x20the\x20scene.','get','Failed\x20to\x20set\x20','values','length','363PMEVdq','write','12596553IZKsZu','78ovAubw','player','Actor\x20with\x20name\x20','actors','rooms','\x20is\x20now\x20in\x20room\x20','characterLocations','warn','removeRoom','keys','initialize','isStartRoom','getCharacterLocation','getRooms','No\x20actor\x20with\x20name\x20','Room\x20\x22','262588EBTkkV','createRoom','logger','addExit'];a57c=function(){return E;};return a57c();}import{AbstractScene}from'../types/abstracts.js';function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x9c;let f=c[d];return f;},a57d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57l(0xe4)];[a57l(0xe1)];[a57l(0xa5)];[a57l(0xe3)];[a57l(0xe6)]=new Map();[a57l(0xbf)];constructor(a){const m=a57l;super(),this[m(0xbf)]=new RoomFactory(),this[m(0xe1)]=a[m(0xe1)],this['rooms']=this[m(0xc8)](a['roomConfiguration']),this['logger']=Logger['getInstance'](),this[m(0xe3)]=new Map(),this['createExitsFromConfig'](a[m(0xd0)]),this[m(0xa5)]['write'](m(0xd4)+Object[m(0x9c)](this[m(0xe4)])[m(0xc5)](',\x20'));}[a57l(0x9d)](){const n=a57l;this['player']['currentLocation']=this[n(0xbd)]();}[a57l(0xc8)](a){const o=a57l;if(!this[o(0xbf)])throw new Error(o(0xcb));const b={};for(const c of a){const d=this['roomFactory'][o(0xa4)](c);b[c[o(0xd6)]]=d;}return b;}['createExitsFromConfig'](a){const p=a57l;for(const b of a){const c=this[p(0xe4)][b[p(0xd6)]];if(b['exits'])for(const d of b[p(0xc4)]){const e=d[p(0xb9)][p(0xad)](),f=d[p(0xd5)],g=d[p(0xc6)],h=this[p(0xe4)][f];h&&c[p(0xa6)](Direction[e],h,g);}}}[a57l(0xb4)](a){const q=a57l;if(this['actors'][q(0xbc)](a[q(0xd6)]))throw new Error(q(0xe2)+a[q(0xd6)]+q(0xd7));this[q(0xe3)][q(0xcc)](a['name'],a);}[a57l(0xab)](a){const r=a57l;if(!this['actors'][r(0xbc)](a))throw new Error(r(0xa1)+a+r(0xd8));this[r(0xe3)][r(0xc7)](a);}[a57l(0xa7)](a){const s=a57l;return this[s(0xe3)][s(0xd9)](a);}get[a57l(0xb8)](){const t=a57l;return Array['from'](this[t(0xe3)][t(0xdb)]());}[a57l(0xb1)](a){const u=a57l;this[u(0xe4)][a[u(0xd6)]]=a,this['logger']['write'](u(0xaa)+a[u(0xd6)]);}[a57l(0xe8)](a){const v=a57l;return this[v(0xe4)][a]?(delete this[v(0xe4)][a],this[v(0xa5)]['write'](v(0xcf)+a),!![]):(this[v(0xa5)][v(0xde)](v(0xca)+a),![]);}['addItemToRoom'](a,b){const w=a57l,c=this[w(0xe4)][b];c?(c['addItem'](a),this[w(0xa5)][w(0xde)](w(0xac)+a[w(0xd6)]+'\x20to\x20room\x20'+c[w(0xd6)])):this[w(0xa5)][w(0xde)](w(0xc2)+a[w(0xd6)]+'.\x20Room\x20'+b+w(0xd1));}[a57l(0xba)](a,b){const x=a57l,c=this['rooms'][b];c?(c[x(0xb6)](a),this[x(0xa5)][x(0xde)](x(0xa8)+c['name'])):this[x(0xa5)][x(0xde)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a57l(0xb2)](a,b){const y=a57l,c=this[y(0xe4)][b];c?(this[y(0xe6)][y(0xcc)](a[y(0xd6)],c),this['logger'][y(0xde)](a[y(0xd6)]+y(0xe5)+c[y(0xd6)])):this[y(0xa5)][y(0xde)](y(0xda)+a['name']+'\x27s\x20location.\x20Room\x20'+b+y(0xd1));}[a57l(0x9f)](a){const z=a57l;return this[z(0xe6)][z(0xd9)](a[z(0xd6)]);}['determineStartRoom'](){const A=a57l,a=[];for(const c in this[A(0xe4)]){if(this[A(0xe4)][A(0xc3)](c)){const d=this[A(0xe4)][c];d[A(0x9e)]&&a[A(0xd3)](d);}}if(a[A(0xdc)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[A(0xdc)]===0x1)return a[0x0];const b=Object[A(0x9c)](this[A(0xe4)]);if(b[A(0xdc)]===0x0)throw new Error(A(0xaf));return console[A(0xe7)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0xe4)][b[0x0]];}['getPlayer'](){const B=a57l;return this[B(0xe1)];}[a57l(0xa0)](){const C=a57l;return this[C(0xe4)];}[a57l(0xae)](a,b,c,d){const D=a57l,e=this[D(0xe4)][a],f=this[D(0xe4)][c];if(!e)throw new Error(D(0xa2)+a+D(0xcd));if(!f)throw new Error(D(0xa2)+c+D(0xcd));e['addExit'](b,f,d);}}
1
+ function a57c(){const E=['Added\x20room\x20to\x20scene:\x20','7koBOXJ','has','Scene\x20initialized\x20with\x20rooms:\x20','createRoom','createExitsFromConfig','3737565RFChbK','exits','roomConfiguration','.\x20Room\x20','addItemToRoom','getRooms','toUpperCase','write','\x22\x20does\x20not\x20exist.','No\x20actor\x20with\x20name\x20','delete','2547606FVjeNi','addExit','getCharacterLocation','setCharacterLocation','search','rooms','direction','from','join','(((.+)+)+)+$','apply','determineStartRoom','set','logger','keyRequired','allActors','constructor','Failed\x20to\x20set\x20','characterLocations','getInstance','removeActor','hasOwnProperty','setPuzzle','10YgGkFy','currentLocation','279722tGjrHc','\x20is\x20now\x20in\x20room\x20','9dnUrUl','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','connectRooms','removeRoom','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','getPlayer','5993495dvApsT','player','11214270YITwJn','Failed\x20to\x20add\x20puzzle.\x20Room\x20','length','4wgmDOM','46620464NcvqGr','\x20already\x20exists\x20in\x20the\x20scene.','addRoom','name','values','actors','addItem','Room\x20\x22','addActor','get','isStartRoom','Added\x20puzzle\x20to\x20room\x20','getActor','\x20found\x20in\x20the\x20scene.','3324704vDoMwL','roomFactory','\x20not\x20found\x20in\x20scene.','keys','\x20to\x20room\x20'];a57c=function(){return E;};return a57c();}function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x73;let f=c[d];return f;},a57d(a,b);}const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x75))/0x1*(parseInt(i(0x73))/0x2)+parseInt(i(0x9a))/0x3+-parseInt(i(0x80))/0x4*(-parseInt(i(0x7b))/0x5)+parseInt(i(0xa5))/0x6*(parseInt(i(0x95))/0x7)+-parseInt(i(0x8f))/0x8+parseInt(i(0x7d))/0x9+parseInt(i(0xbc))/0xa*(-parseInt(i(0x81))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xafcfa));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0xaf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a['toString']()[k(0xa9)](k(0xae))['toString']()[k(0xb5)](a57a)[k(0xa9)]('(((.+)+)+)+$');});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(0xaa)];[a57l(0x7c)];['logger'];['actors'];[a57l(0xb7)]=new Map();['roomFactory'];constructor(a){const m=a57l;super(),this[m(0x90)]=new RoomFactory(),this[m(0x7c)]=a['player'],this['rooms']=this['generateRoomsFromConfig'](a[m(0x9c)]),this['logger']=Logger[m(0xb8)](),this[m(0x86)]=new Map(),this[m(0x99)](a[m(0x9c)]),this['logger']['write'](m(0x97)+Object[m(0x92)](this[m(0xaa)])[m(0xad)](',\x20'));}['initialize'](){const n=a57l;this[n(0x7c)][n(0xbd)]=this[n(0xb0)]();}['generateRoomsFromConfig'](a){const o=a57l;if(!this[o(0x90)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[o(0x90)][o(0x98)](c);b[c['name']]=d;}return b;}[a57l(0x99)](a){const p=a57l;for(const b of a){const c=this[p(0xaa)][b[p(0x84)]];if(b[p(0x9b)])for(const d of b['exits']){const e=d[p(0xab)][p(0xa0)](),f=d['targetRoom'],g=d[p(0xb3)],h=this[p(0xaa)][f];h&&c[p(0xa6)](Direction[e],h,g);}}}[a57l(0x89)](a){const q=a57l;if(this[q(0x86)][q(0x96)](a[q(0x84)]))throw new Error('Actor\x20with\x20name\x20'+a['name']+q(0x82));this[q(0x86)][q(0xb1)](a[q(0x84)],a);}[a57l(0xb9)](a){const r=a57l;if(!this[r(0x86)][r(0x96)](a))throw new Error(r(0xa3)+a+r(0x8e));this['actors'][r(0xa4)](a);}[a57l(0x8d)](a){const s=a57l;return this[s(0x86)]['get'](a);}get[a57l(0xb4)](){const t=a57l;return Array[t(0xac)](this[t(0x86)][t(0x85)]());}[a57l(0x83)](a){const u=a57l;this[u(0xaa)][a['name']]=a,this[u(0xb2)][u(0xa1)](u(0x94)+a['name']);}[a57l(0x78)](a){const v=a57l;return this[v(0xaa)][a]?(delete this[v(0xaa)][a],this[v(0xb2)]['write']('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0xb2)][v(0xa1)](v(0x76)+a),![]);}[a57l(0x9e)](a,b){const w=a57l,c=this['rooms'][b];c?(c[w(0x87)](a),this['logger'][w(0xa1)]('Added\x20item\x20'+a[w(0x84)]+w(0x93)+c['name'])):this[w(0xb2)]['write']('Failed\x20to\x20add\x20item\x20'+a['name']+w(0x9d)+b+'\x20not\x20found\x20in\x20scene.');}['addPuzzleToRoom'](a,b){const x=a57l,c=this[x(0xaa)][b];c?(c[x(0xbb)](a),this[x(0xb2)][x(0xa1)](x(0x8c)+c['name'])):this[x(0xb2)]['write'](x(0x7e)+b+x(0x91));}[a57l(0xa8)](a,b){const y=a57l,c=this['rooms'][b];c?(this[y(0xb7)][y(0xb1)](a[y(0x84)],c),this[y(0xb2)][y(0xa1)](a[y(0x84)]+y(0x74)+c[y(0x84)])):this[y(0xb2)][y(0xa1)](y(0xb6)+a[y(0x84)]+'\x27s\x20location.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a57l(0xa7)](a){const z=a57l;return this[z(0xb7)][z(0x8a)](a['name']);}[a57l(0xb0)](){const A=a57l,a=[];for(const c in this[A(0xaa)]){if(this[A(0xaa)][A(0xba)](c)){const d=this['rooms'][c];d[A(0x8b)]&&a['push'](d);}}if(a[A(0x7f)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[A(0x7f)]===0x1)return a[0x0];const b=Object['keys'](this['rooms']);if(b['length']===0x0)throw new Error(A(0x79));return console['warn']('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this['rooms'][b[0x0]];}[a57l(0x7a)](){const B=a57l;return this[B(0x7c)];}[a57l(0x9f)](){const C=a57l;return this[C(0xaa)];}[a57l(0x77)](a,b,c,d){const D=a57l,e=this[D(0xaa)][a],f=this[D(0xaa)][c];if(!e)throw new Error(D(0x88)+a+D(0xa2));if(!f)throw new Error(D(0x88)+c+D(0xa2));e['addExit'](b,f,d);}}