@maka/maka-cli 5.0.9 → 5.0.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 (163) 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/aws/_index.js +1 -1
  109. package/bundle/obf/src/generators/aws/aws.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  113. package/bundle/obf/src/generators/collection.js +1 -1
  114. package/bundle/obf/src/generators/component.js +1 -1
  115. package/bundle/obf/src/generators/config.js +1 -1
  116. package/bundle/obf/src/generators/dbc.js +1 -1
  117. package/bundle/obf/src/generators/dockerfile.js +1 -1
  118. package/bundle/obf/src/generators/hook.js +1 -1
  119. package/bundle/obf/src/generators/kits/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  127. package/bundle/obf/src/generators/kits/kit.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  132. package/bundle/obf/src/generators/layout.js +1 -1
  133. package/bundle/obf/src/generators/maka.gen.js +1 -1
  134. package/bundle/obf/src/generators/methods.js +1 -1
  135. package/bundle/obf/src/generators/package.js +1 -1
  136. package/bundle/obf/src/generators/page.js +1 -1
  137. package/bundle/obf/src/generators/publish.js +1 -1
  138. package/bundle/obf/src/generators/route.js +1 -1
  139. package/bundle/obf/src/generators/service.js +1 -1
  140. package/bundle/obf/src/generators/services/_index.js +1 -1
  141. package/bundle/obf/src/generators/services/openssl.js +1 -1
  142. package/bundle/obf/src/generators/services/translation.js +1 -1
  143. package/bundle/obf/src/maka.js +1 -1
  144. package/bundle/obf/src/tool.js +1 -1
  145. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/options/options.class.js +1 -1
  157. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  158. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  159. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  161. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  163. package/package.json +1 -1
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1ea))/0x1*(-parseInt(f(0x1ce))/0x2)+-parseInt(f(0x1eb))/0x3+-parseInt(f(0x1ca))/0x4*(parseInt(f(0x1b8))/0x5)+parseInt(f(0x1be))/0x6*(parseInt(f(0x1c1))/0x7)+parseInt(f(0x1b9))/0x8*(-parseInt(f(0x1c8))/0x9)+-parseInt(f(0x1bf))/0xa+parseInt(f(0x1c7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x73d9e));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1d8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1e2)]()['search'](h(0x1d5))[h(0x1e2)]()[h(0x1cb)](a38a)['search'](h(0x1d5));});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a38d(a,b);}function a38c(){const n=['There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','You\x20cannot\x20see\x20','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','\x20here.','puzzle','11387453VqeYcv','63NKNcHd',',\x20you\x20see\x20','847268rKAVmn','constructor','exits','logger','1048204tPDhlc','rooms','hasItem','OUTSIDE','get','You\x27re\x20not\x20in\x20a\x20valid\x20room.','inventory','(((.+)+)+)+$','name','roomType','apply','getOtherSide','join','Below\x20you,\x20','error','riddle','down','\x20inventory.','lookOutside','You\x20cannot\x20see\x20through','toString','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','write','string','Looking\x20at\x20item\x20\x27','verb','Examine\x20your\x20surroundings','currentLocation','1Lnubbv','584148FfsNNA','actor','description','inspectItem','15wQxdlk','111376whplGQ','execute','look','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','Executing\x20\x27Look\x27\x20command.','768EaMXFi','1617860uxtHJw','\x20is\x20looking\x20around\x20the\x20current\x20room.','252CrNqhQ'];a38c=function(){return n;};return a38c();}import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0x1e7)]=a38i(0x1bb);static ['description']=a38i(0x1e8);[a38i(0x1ba)](a=[]){const j=a38i;this[j(0x1cd)][j(0x1e4)](j(0x1bd));const b=a[j(0x1da)]('\x20');if(b){if(this[j(0x1b5)][j(0x1d4)][j(0x1d0)](b))return this['logger'][j(0x1e4)](j(0x1e6)+b+'\x27\x20in\x20'+this[j(0x1b5)][j(0x1d6)]+j(0x1df)),this[j(0x1b7)](b,this[j(0x1b5)][j(0x1d4)]);else{if(this[j(0x1b5)][j(0x1e9)][j(0x1d4)][j(0x1d0)](b))return this[j(0x1cd)][j(0x1e4)](j(0x1e6)+b+'\x27\x20in\x20current\x20room\x20inventory.'),this[j(0x1b7)](b,this[j(0x1b5)][j(0x1e9)][j(0x1d4)]);else return this['isValidDirection'](b)?(this[j(0x1cd)][j(0x1e4)]('Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27'+b+'\x27.'),this[j(0x1e0)](b)):j(0x1c3)+b;}}else return this[j(0x1cd)][j(0x1e4)](this[j(0x1b5)][j(0x1d6)]+j(0x1c0)),this[j(0x1bb)]();}[a38i(0x1bb)](){const k=a38i,a=this['actor'][k(0x1e9)];if(!a)return this[k(0x1cd)][k(0x1dc)](this[k(0x1b5)][k(0x1d6)]+k(0x1c4)),k(0x1d3);let b=a[k(0x1b6)];return a['puzzle']&&(b+='\x0a'+a[k(0x1c6)][k(0x1dd)]),b;}[a38i(0x1e0)](a){const l=a38i,b=this[l(0x1b5)][l(0x1e9)];if(!b)return this['logger'][l(0x1dc)](this[l(0x1b5)]['name']+l(0x1c4)),l(0x1d3);const c=b[l(0x1cc)][l(0x1d2)](a);if(!c)return l(0x1e3)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x1d9)](b);else{if(typeof c===l(0x1e5)){d=this[l(0x1cf)]&&this[l(0x1cf)][c];if(!d)return l(0x1c2)+a+'\x22.';}else return l(0x1bc)+a+'\x22.';}if(d[l(0x1d7)]===RoomType[l(0x1d1)]){if(a==='up')return'Above\x20you,\x20'+d[l(0x1b6)];else return a===l(0x1de)?l(0x1db)+d[l(0x1b6)]:'To\x20the\x20'+a+l(0x1c9)+d[l(0x1b6)];}else return l(0x1e1);}['inspectItem'](a,b){const m=a38i,c=b['getItem'](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+m(0x1c5);return c[m(0x1b6)]||'It\x27s\x20just\x20a\x20regular\x20'+a+'.';}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x12f))/0x1*(parseInt(f(0x126))/0x2)+-parseInt(f(0x102))/0x3+-parseInt(f(0x118))/0x4+parseInt(f(0x120))/0x5*(parseInt(f(0x106))/0x6)+-parseInt(f(0x110))/0x7+parseInt(f(0x112))/0x8+-parseInt(f(0xfa))/0x9*(parseInt(f(0x12a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xe3d38));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x11c)]()[h(0x10a)](h(0x115))[h(0x11c)]()[h(0x10e)](a38a)[h(0x10a)]('(((.+)+)+)+$');});a38a();import{Door}from'../models/door.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xfa;let f=c[d];return f;},a38d(a,b);}import{RoomType}from'../types/enums.js';function a38c(){const n=['verb','rooms','constructor','down','1118705TAnoHX','OUTSIDE','12331920qfDUbd','currentLocation','inspectItem','(((.+)+)+)+$','\x20is\x20looking\x20around\x20the\x20current\x20room.','Examine\x20your\x20surroundings','638860hLwxeS','puzzle','getOtherSide','lookOutside','toString','\x20inventory.','Looking\x20at\x20item\x20\x27','error','445605OpDQCg','name','logger','roomType','actor','hasItem','2243134hSuMKI','\x20here.','apply','getItem','10QXPeTl','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','To\x20the\x20','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','string','1VhpsVj','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','You\x27re\x20not\x20in\x20a\x20valid\x20room.','2944539oYLoUw','You\x20cannot\x20see\x20through','It\x27s\x20just\x20a\x20regular\x20','write','Above\x20you,\x20','inventory','Executing\x20\x27Look\x27\x20command.','exits','797946zFsvVy','look','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','Below\x20you,\x20','96ZLNSfB',',\x20you\x20see\x20','execute','isValidDirection','search','description'];a38c=function(){return n;};return a38c();}import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0x10c)]='look';static [a38i(0x10b)]=a38i(0x117);[a38i(0x108)](a=[]){const j=a38i;this[j(0x122)]['write'](j(0x100));const b=a['join']('\x20');if(b){if(this[j(0x124)]['inventory'][j(0x125)](b))return this[j(0x122)][j(0xfd)]('Looking\x20at\x20item\x20\x27'+b+'\x27\x20in\x20'+this['actor']['name']+j(0x11d)),this[j(0x114)](b,this['actor'][j(0xff)]);else{if(this[j(0x124)][j(0x113)]['inventory'][j(0x125)](b))return this[j(0x122)][j(0xfd)](j(0x11e)+b+'\x27\x20in\x20current\x20room\x20inventory.'),this[j(0x114)](b,this[j(0x124)][j(0x113)]['inventory']);else return this[j(0x109)](b)?(this[j(0x122)][j(0xfd)](j(0x12d)+b+'\x27.'),this[j(0x11b)](b)):'You\x20cannot\x20see\x20'+b;}}else return this[j(0x122)]['write'](this[j(0x124)][j(0x121)]+j(0x116)),this[j(0x103)]();}[a38i(0x103)](){const k=a38i,a=this[k(0x124)][k(0x113)];if(!a)return this[k(0x122)][k(0x11f)](this[k(0x124)][k(0x121)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),k(0x131);let b=a[k(0x10b)];return a[k(0x119)]&&(b+='\x0a'+a[k(0x119)]['riddle']),b;}[a38i(0x11b)](a){const l=a38i,b=this[l(0x124)][l(0x113)];if(!b)return this[l(0x122)][l(0x11f)](this[l(0x124)]['name']+l(0x104)),l(0x131);const c=b[l(0x101)]['get'](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x11a)](b);else{if(typeof c===l(0x12e)){d=this[l(0x10d)]&&this['rooms'][c];if(!d)return l(0x130)+a+'\x22.';}else return l(0x12b)+a+'\x22.';}if(d[l(0x123)]===RoomType[l(0x111)]){if(a==='up')return l(0xfe)+d[l(0x10b)];else return a===l(0x10f)?l(0x105)+d['description']:l(0x12c)+a+l(0x107)+d[l(0x10b)];}else return l(0xfb);}[a38i(0x114)](a,b){const m=a38i,c=b[m(0x129)](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+m(0x127);return c['description']||m(0xfc)+a+'.';}}
@@ -1 +1 @@
1
- const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x1ee))/0x1*(parseInt(g(0x1fb))/0x2)+-parseInt(g(0x1f3))/0x3*(-parseInt(g(0x1fd))/0x4)+-parseInt(g(0x203))/0x5+parseInt(g(0x1fc))/0x6+-parseInt(g(0x1ed))/0x7+parseInt(g(0x1fe))/0x8*(parseInt(g(0x1ff))/0x9)+parseInt(g(0x1f7))/0xa*(parseInt(g(0x201))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xf2bb0));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a39d(a,b);}function a39c(){const m=['currentLocation',':\x20\x22','context','apply','15EbJSah','Scene\x20is\x20missing\x20from\x20context.','logger','search','50HulquK','verb','description','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','2rkAPwy','4699512gdCviU','215932oFvKYs','72aQYoWU','194031qYssUQ','execute','1498585VlchMX','scene','4898930wnnsyj','actor','say','name','constructor','toString','An\x20error\x20occurred.','length','What\x20do\x20you\x20want\x20to\x20say?','You\x20say:\x20\x22','join','\x20says\x20to\x20','log','8834427YaFrvY','1307698kwHvEv'];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(0x1f2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x1e5)]()[i(0x1f6)]('(((.+)+)+)+$')['toString']()[i(0x1e4)](a39a)['search']('(((.+)+)+)+$');});a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0x1f8)]=a39j(0x1e2);static [a39j(0x1f9)]=a39j(0x1fa);[a39j(0x1f1)];constructor(a){const k=a39j;super(a),this[k(0x1f1)]=a;}[a39j(0x200)](a){const l=a39j;if(a[l(0x1e7)]===0x0)return l(0x1e8);const b=a[l(0x1ea)]('\x20'),c=this[l(0x1e1)],d=this[l(0x1f1)][l(0x202)];if(!d)return this['logger'][l(0x1ec)](l(0x1f4)),l(0x1e6);const e=d['allActors']['filter'](f=>f[l(0x1ef)]===c[l(0x1ef)]);for(const f of e){this[l(0x1f5)][l(0x1ec)](c[l(0x1e3)]+l(0x1eb)+f['name']+l(0x1f0)+b+'\x22'),this['actor'][l(0x1ef)]['say'](f,b);}return l(0x1e9)+b+'\x22';}}
1
+ const a39j=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a39d(a,b);}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x1c7))/0x1+parseInt(g(0x1d3))/0x2*(parseInt(g(0x1ca))/0x3)+-parseInt(g(0x1d8))/0x4+parseInt(g(0x1dc))/0x5+parseInt(g(0x1e0))/0x6+-parseInt(g(0x1c3))/0x7+-parseInt(g(0x1d4))/0x8*(parseInt(g(0x1cf))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xecf5c));function a39c(){const m=['64778mtyUqb','join','toString','logger','166358JaWerr','execute','verb','9nOQDnE','actor','search','filter',':\x20\x22','18SBjxAj','(((.+)+)+)+$','constructor','say','69662kaRpsn','336712wfCtHT','currentLocation','log','context','5494572NmGjmP','\x20says\x20to\x20','description','apply','9705815bQAXTi','name','What\x20do\x20you\x20want\x20to\x20say?','You\x20say:\x20\x22','3350190uDFkHM'];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(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a['toString']()[i(0x1cc)]('(((.+)+)+)+$')[i(0x1c5)]()[i(0x1d1)](a39a)[i(0x1cc)](i(0x1d0));});a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0x1c9)]=a39j(0x1d2);static [a39j(0x1da)]='Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.';[a39j(0x1d7)];constructor(a){const k=a39j;super(a),this[k(0x1d7)]=a;}[a39j(0x1c8)](a){const l=a39j;if(a['length']===0x0)return l(0x1de);const b=a[l(0x1c4)]('\x20'),c=this[l(0x1cb)],d=this[l(0x1d7)]['scene'];if(!d)return this['logger'][l(0x1d6)]('Scene\x20is\x20missing\x20from\x20context.'),'An\x20error\x20occurred.';const e=d['allActors'][l(0x1cd)](f=>f[l(0x1d5)]===c[l(0x1d5)]);for(const f of e){this[l(0x1c6)][l(0x1d6)](c['name']+l(0x1d9)+f[l(0x1dd)]+l(0x1ce)+b+'\x22'),this['actor']['currentLocation'][l(0x1d2)](f,b);}return l(0x1df)+b+'\x22';}}
@@ -1 +1 @@
1
- function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xe4;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0xfa))/0x1*(parseInt(f(0xee))/0x2)+-parseInt(f(0xfd))/0x3*(-parseInt(f(0xf4))/0x4)+-parseInt(f(0x104))/0x5*(-parseInt(f(0xea))/0x6)+parseInt(f(0xfc))/0x7+parseInt(f(0xf8))/0x8*(-parseInt(f(0xe9))/0x9)+-parseInt(f(0xfe))/0xa*(parseInt(f(0xed))/0xb)+parseInt(f(0xef))/0xc*(parseInt(f(0x103))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xdafaa));function a40c(){const k=['inventory','write','execute','listItems','13QJzQSL','1172645kZNaVI','apply','actor','SearchCommand:\x20','join','search','45zKCdDw','6WQSDKD','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','verb','159709gpuFWp','14VNDeGz','32874888rnyBgz','toString','You\x20search\x20the\x20area\x20and\x20find:\x20','Search\x20for\x20items\x20in\x20your\x20area','(((.+)+)+)+$','6376ugIksV','name','constructor','\x20found\x20the\x20following\x20items:\x20','2359432ajXoHC','length','165198GmolSc','logger','124516SIErZA','1938RxhvdC','340kDDIdT'];a40c=function(){return k;};return a40c();}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xe4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xf0)]()[h(0xe8)](h(0xf3))['toString']()[h(0xf6)](a40a)[h(0xe8)]('(((.+)+)+)+$');});a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0xec)]=a40i(0xe8);static ['description']=a40i(0xf2);[a40i(0x101)](){const j=a40i,a=this['actor']['currentLocation'][j(0xff)][j(0x102)]();if(a[j(0xf9)]===0x0)return this[j(0xfb)][j(0x100)](j(0xe6)+this[j(0xe5)][j(0xf5)]+j(0xeb)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0xe7)](',\x20');return this[j(0xfb)]['write']('SearchCommand:\x20'+this[j(0xe5)][j(0xf5)]+j(0xf7)+b),j(0xf1)+b;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x104))/0x1+parseInt(f(0xfb))/0x2+parseInt(f(0xfc))/0x3*(-parseInt(f(0xf5))/0x4)+-parseInt(f(0x109))/0x5+-parseInt(f(0x108))/0x6+parseInt(f(0x10d))/0x7*(parseInt(f(0x10a))/0x8)+parseInt(f(0x105))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x3a7dd));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x10b)]()[h(0xf8)](h(0x100))[h(0x10b)]()[h(0xf6)](a40a)[h(0xf8)]('(((.+)+)+)+$');});a40a();import{Command}from'./command.js';function a40c(){const k=['description','457192XbujtK','236091gRKmBI','verb','actor','length','(((.+)+)+)+$','apply','logger','SearchCommand:\x20','348773dlcFYI','9380196qrnbKL','inventory','listItems','2566170TcAlfT','1339980mLbMzC','16UamtmV','toString','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','872536uCtIHB','You\x20search\x20the\x20area\x20and\x20find:\x20','write','12saVtvn','constructor','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','search','name'];a40c=function(){return k;};return a40c();}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xf4;let f=c[d];return f;},a40d(a,b);}export class SearchCommand extends Command{static [a40i(0xfd)]=a40i(0xf8);static [a40i(0xfa)]='Search\x20for\x20items\x20in\x20your\x20area';['execute'](){const j=a40i,a=this[j(0xfe)]['currentLocation'][j(0x106)][j(0x107)]();if(a[j(0xff)]===0x0)return this['logger'][j(0xf4)](j(0x103)+this[j(0xfe)][j(0xf9)]+j(0x10c)),j(0xf7);const b=a['join'](',\x20');return this[j(0x102)][j(0xf4)](j(0x103)+this[j(0xfe)]['name']+'\x20found\x20the\x20following\x20items:\x20'+b),j(0x10e)+b;}}
@@ -1 +1 @@
1
- const a41h=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x15d))/0x1+-parseInt(f(0x165))/0x2*(-parseInt(f(0x16d))/0x3)+parseInt(f(0x17b))/0x4*(parseInt(f(0x15f))/0x5)+parseInt(f(0x176))/0x6*(parseInt(f(0x16f))/0x7)+parseInt(f(0x170))/0x8+parseInt(f(0x15e))/0x9*(parseInt(f(0x172))/0xa)+-parseInt(f(0x16e))/0xb*(parseInt(f(0x17a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x6a080));function a41c(){const j=['20YjxzWh','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','logger','join','currentLocation','SolveCommand:\x20','actor','solve','160140sdGgNl','6669289Wulvrs','14wdwZSb','1179432ZOVIdK','execute','603310lWKRIP','inventory','message','toString','2423958ZgpBRm','toLowerCase','rewardItem','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','36xhsmkT','484jJvdeO','addItem','search','verb','309992KJRhvb','45ItpIKy','6295AQamiY','description','puzzle','constructor','(((.+)+)+)+$','write'];a41c=function(){return j;};return a41c();}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const g=a41d;return a41a[g(0x175)]()[g(0x17d)](g(0x163))[g(0x175)]()[g(0x162)](a41a)[g(0x17d)]('(((.+)+)+)+$');});a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x15d;let f=c[d];return f;},a41d(a,b);}import{Command}from'./command.js';export class SolveCommand extends Command{static [a41h(0x17e)]=a41h(0x16c);static [a41h(0x160)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a41h(0x171)](a){const i=a41h,b=a[i(0x168)]('\x20')[i(0x177)](),c=this['actor'][i(0x169)];if(!c||!c[i(0x161)])return this[i(0x167)][i(0x164)](i(0x166)),i(0x179);const d=c['puzzle'][i(0x16c)](b,this[i(0x16b)][i(0x173)]);return d['success']&&c[i(0x161)]['rewardItem']&&this[i(0x16b)][i(0x173)][i(0x17c)](c[i(0x161)][i(0x178)]),this[i(0x167)][i(0x164)](i(0x16a)+d[i(0x174)]),d[i(0x174)];}}
1
+ function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x154;let f=c[d];return f;},a41d(a,b);}const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x161))/0x1+parseInt(f(0x172))/0x2+-parseInt(f(0x15a))/0x3*(parseInt(f(0x16a))/0x4)+parseInt(f(0x15d))/0x5*(parseInt(f(0x160))/0x6)+parseInt(f(0x169))/0x7+parseInt(f(0x16f))/0x8+-parseInt(f(0x156))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xcf6c1));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x171)]()['search']('(((.+)+)+)+$')[h(0x171)]()[h(0x16d)](a41a)[h(0x155)](h(0x167));});function a41c(){const k=['description','execute','solve','(((.+)+)+)+$','success','11339475bECEFj','888424NIrbcW','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','inventory','constructor','logger','1064832sbQHva','Attempt\x20to\x20solve\x20a\x20puzzle.','toString','2924986fzRuiN','toLowerCase','search','28048320ninmYE','actor','verb','apply','6AzzywB','currentLocation','puzzle','10sKxfLM','write','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','4699902ZuwpRU','371863KwAjBG','SolveCommand:\x20','addItem'];a41c=function(){return k;};return a41c();}a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0x158)]=a41i(0x166);static [a41i(0x164)]=a41i(0x170);[a41i(0x165)](a){const j=a41i,b=a['join']('\x20')[j(0x154)](),c=this['actor'][j(0x15b)];if(!c||!c[j(0x15c)])return this[j(0x16e)][j(0x15e)](j(0x15f)),j(0x16b);const d=c['puzzle'][j(0x166)](b,this[j(0x157)]['inventory']);return d[j(0x168)]&&c[j(0x15c)]['rewardItem']&&this[j(0x157)][j(0x16c)][j(0x163)](c['puzzle']['rewardItem']),this['logger'][j(0x15e)](j(0x162)+d['message']),d['message'];}}
@@ -1 +1 @@
1
- function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xb3;let f=c[d];return f;},a42d(a,b);}const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0xbe))/0x1*(parseInt(f(0xb4))/0x2)+-parseInt(f(0xd3))/0x3+parseInt(f(0xb7))/0x4+-parseInt(f(0xcf))/0x5+parseInt(f(0xd4))/0x6*(parseInt(f(0xc3))/0x7)+parseInt(f(0xd5))/0x8+-parseInt(f(0xdc))/0x9*(parseInt(f(0xc8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x61341));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xb8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xc5)]()[h(0xb9)](h(0xce))[h(0xc5)]()[h(0xdd)](a42a)[h(0xb9)]('(((.+)+)+)+$');});a42a();function a42c(){const l=['getItem','2855280XYbmBo','apply','search','verb','Pick\x20up\x20an\x20item.','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','addInventory','1FSuGzZ','\x22\x20to\x20','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','execute','\x22\x20in\x20this\x20room.','2209046bstzRv','\x22\x20not\x20found\x20in\x20','toString','write','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','8490hZfXCm','currentLocation','\x22\x20from\x20','There\x20is\x20no\x20item\x20\x22','removeItem','Error\x20during\x20\x27Take\x27\x20command:\x20','(((.+)+)+)+$','3329955EVYFEn','logger','Successfully\x20added\x20\x22','The\x20item\x20\x22','2345766lKeWhO','12MGZrCe','2863696VyVuiT','Item\x20\x22','take','toLowerCase','join','inventory','\x20during\x20\x27Take\x27\x20command.','6291NderNJ','constructor','actor','name','1473142RJWJDA','description'];a42c=function(){return l;};return a42c();}import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0xba)]=a42i(0xd7);static [a42i(0xb5)]=a42i(0xbb);[a42i(0xc1)](a){const j=a42i;return this[j(0xd0)]['write'](j(0xc7)+a['join']('\x20')),this['take'](a);}[a42i(0xd7)](a){const k=a42i,b=a[k(0xd9)]('\x20')[k(0xd8)](),c=this[k(0xde)][k(0xc9)];if(!c[k(0xda)]['hasItem'](b))return this[k(0xd0)][k(0xc6)](k(0xd6)+b+k(0xc4)+c[k(0xb3)]+k(0xdb)),k(0xcb)+b+k(0xc2);const d=c[k(0xda)][k(0xb6)](b);if(!d)return this['logger'][k(0xc6)](k(0xd6)+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0xb3)]+k(0xbc)),k(0xcb)+b+k(0xc2);try{return this[k(0xde)][k(0xbd)](d),this['logger'][k(0xc6)](k(0xd1)+b+k(0xbf)+this[k(0xde)]['name']+k(0xc0)),c[k(0xda)][k(0xcc)](b),this['logger'][k(0xc6)]('Successfully\x20removed\x20\x22'+b+k(0xca)+c[k(0xb3)]+k(0xbc)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this['logger'][k(0xc6)](k(0xcd)+e['message']),k(0xd2)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
1
+ const a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1de))/0x1*(-parseInt(f(0x1db))/0x2)+-parseInt(f(0x1e2))/0x3+-parseInt(f(0x1df))/0x4+parseInt(f(0x1f4))/0x5*(-parseInt(f(0x1fe))/0x6)+parseInt(f(0x1fd))/0x7+-parseInt(f(0x1ea))/0x8*(-parseInt(f(0x1e9))/0x9)+-parseInt(f(0x1fb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x4cd80));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const g=a42d;return a42a[g(0x1e0)]()[g(0x1ec)]('(((.+)+)+)+$')[g(0x1e0)]()[g(0x1e5)](a42a)['search'](g(0x1f2));});a42a();import{Command}from'./command.js';function a42c(){const k=['join','actor','removeItem','name','(((.+)+)+)+$','write','5iTihre','currentLocation','logger','\x22\x20not\x20found\x20in\x20','\x22\x20is\x20too\x20heavy\x20to\x20carry.','Error\x20during\x20\x27Take\x27\x20command:\x20','Pick\x20up\x20an\x20item.','1490480WlzTDw','message','4085536XEjPSY','1962678AHxRNr','\x22\x20to\x20','\x22\x20from\x20','addInventory','\x22\x20not\x20retrieved\x20from\x20','Successfully\x20removed\x20\x22','366Itoxcs','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','verb','1905kxXdkv','717484ImbMOw','toString','Item\x20\x22','636519yudiBf','The\x20item\x20\x22','\x22\x20in\x20this\x20room.','constructor','toLowerCase','You\x20have\x20taken\x20the\x20','inventory','9DLgoPa','2001552NDAIhY','getItem','search','take'];a42c=function(){return k;};return a42c();}export class TakeCommand extends Command{static [a42h(0x1dd)]=a42h(0x1ed);static ['description']=a42h(0x1fa);['execute'](a){const i=a42h;return this['logger'][i(0x1f3)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[i(0x1ee)]('\x20')),this[i(0x1ed)](a);}['take'](a){const j=a42h,b=a['join']('\x20')[j(0x1e6)](),c=this[j(0x1ef)][j(0x1f5)];if(!c[j(0x1e8)]['hasItem'](b))return this['logger'][j(0x1f3)](j(0x1e1)+b+j(0x1f7)+c['name']+'\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+j(0x1e4);const d=c['inventory'][j(0x1eb)](b);if(!d)return this[j(0x1f6)]['write'](j(0x1e1)+b+j(0x1d9)+c[j(0x1f1)]+j(0x1dc)),'There\x20is\x20no\x20item\x20\x22'+b+j(0x1e4);try{return this[j(0x1ef)][j(0x1d8)](d),this[j(0x1f6)][j(0x1f3)]('Successfully\x20added\x20\x22'+b+j(0x1d6)+this[j(0x1ef)][j(0x1f1)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[j(0x1e8)][j(0x1f0)](b),this['logger'][j(0x1f3)](j(0x1da)+b+j(0x1d7)+c[j(0x1f1)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x1e7)+b+'.';}catch(e){return this[j(0x1f6)][j(0x1f3)](j(0x1f9)+e[j(0x1fc)]),j(0x1e3)+b+j(0x1f8);}}}
@@ -1 +1 @@
1
- function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x17e;let f=c[d];return f;},a43d(a,b);}function a43c(){const k=['3356bqPIGF','\x20unqeuiped\x20','Unequip\x20an\x20item.','889670HgzWrz','search','133658LmOFXs','unqeuip','apply','5393984KUDcEZ','join','1208403xzxOZw','1172630AuBbjN','toLowerCase','description','verb','unequip','258ezfxSo','name','1121091NUVTeI','(((.+)+)+)+$','2nemXQD','toString','write','235dCEGed'];a43c=function(){return k;};return a43c();}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x188))/0x1+parseInt(f(0x181))/0x2*(-parseInt(f(0x17f))/0x3)+parseInt(f(0x185))/0x4*(parseInt(f(0x184))/0x5)+parseInt(f(0x195))/0x6*(parseInt(f(0x18a))/0x7)+parseInt(f(0x18d))/0x8+parseInt(f(0x18f))/0x9+parseInt(f(0x190))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x7fa86));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x18c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x182)]()[h(0x189)](h(0x180))[h(0x182)]()['constructor'](a43a)[h(0x189)]('(((.+)+)+)+$');});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x193)]=a43i(0x18b);static [a43i(0x192)]=a43i(0x187);['execute'](a){const j=a43i,b=a[j(0x18e)]('\x20')[j(0x191)](),c=this['actor'][j(0x194)](b);return this['logger'][j(0x183)]('UnequipCommand:\x20'+this['actor'][j(0x17e)]+j(0x186)+c),c;}}
1
+ const a43i=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x197;let f=c[d];return f;},a43d(a,b);}function a43c(){const k=['UnequipCommand:\x20','unqeuip','159syPkPC','verb','2112200BADERu','name','toString','toLowerCase','logger','execute','8rPGPAI','apply','(((.+)+)+)+$','join','1016790nSIhej','Unequip\x20an\x20item.','write','search','90736cWvloc','10822023HXkXOT','6UzGYnd','actor','unequip','12096868EeEStq','23576530WxDdSy','317390TlUxFU'];a43c=function(){return k;};return a43c();}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x1a2))/0x1+parseInt(f(0x1a7))/0x2+-parseInt(f(0x1a5))/0x3*(-parseInt(f(0x19b))/0x4)+parseInt(f(0x197))/0x5*(parseInt(f(0x19d))/0x6)+-parseInt(f(0x1a0))/0x7*(-parseInt(f(0x1ad))/0x8)+-parseInt(f(0x19c))/0x9+-parseInt(f(0x1a1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xe73b4));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1ae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1a9)]()[h(0x19a)](h(0x1af))['toString']()['constructor'](a43a)[h(0x19a)](h(0x1af));});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x1a6)]=a43i(0x1a4);static ['description']=a43i(0x198);[a43i(0x1ac)](a){const j=a43i,b=a[j(0x1b0)]('\x20')[j(0x1aa)](),c=this['actor'][j(0x19f)](b);return this[j(0x1ab)][j(0x199)](j(0x1a3)+this[j(0x19e)][j(0x1a8)]+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a44k=a44d;function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xa7;let f=c[d];return f;},a44d(a,b);}(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0xba))/0x1+-parseInt(h(0xbd))/0x2*(parseInt(h(0xaf))/0x3)+parseInt(h(0xa9))/0x4+-parseInt(h(0xa8))/0x5*(-parseInt(h(0xc5))/0x6)+parseInt(h(0xb5))/0x7+-parseInt(h(0xc7))/0x8*(-parseInt(h(0xcf))/0x9)+-parseInt(h(0xc9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x8ab98));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0xb6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0xbc)]()[j(0xb3)](j(0xb7))[j(0xbc)]()[j(0xcc)](a44a)[j(0xb3)]('(((.+)+)+)+$');});a44a();import{Door}from'../models/door.js';function a44c(){const n=['.\x20Result:\x20','261685qyuHKW','1560076BhUiTI','description','toLowerCase','unlock','get','name','86109gqHNDh','There\x27s\x20no\x20door\x20named\x20\x22','attemptUnlockExit','logger','search','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','7165704QLkLLl','apply','(((.+)+)+)+$','Unlock\x20a\x20door.','inventory','331973tWQHcV','\x22\x20here.','toString','30hludok','verb','UnlockCommand:\x20','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','write','error','length','currentLocation','108dgEFDD','exits','5739368GKzkCl','\x20is\x20attempted\x20to\x20unlock\x20','24063900zFCfYp','actor','execute','constructor','isValidDirection','unlockItemOrSolution','9MOXUTw'];a44c=function(){return n;};return a44c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0xbe)]=a44k(0xac);static [a44k(0xaa)]=a44k(0xb8);[a44k(0xcb)](a){const l=a44k;return this[l(0xac)](a);}[a44k(0xac)](a){const m=a44k;if(a[m(0xc3)]===0x0)return this['logger'][m(0xc2)]('UnlockCommand:\x20No\x20target\x20specified.'),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][m(0xab)](),c=this['actor'][m(0xc4)];if(this[m(0xcd)](b)&&c[m(0xc6)]['has'](b)){const d=c[m(0xc6)][m(0xad)](b);if(d instanceof Door){const e=d[m(0xce)]?.[m(0xab)]();if(e&&this[m(0xca)][m(0xb9)]['hasItem'](e)){const f=this['actor'][m(0xb9)]['getItem'](e);if(f){const g=c[m(0xb1)](b,f[m(0xae)]);return this[m(0xb2)][m(0xc1)](m(0xbf)+this[m(0xca)][m(0xae)]+m(0xc8)+b+m(0xa7)+g),g;}}return this[m(0xb2)][m(0xc1)](m(0xbf)+this['actor'][m(0xae)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),m(0xb4);}else return this[m(0xb2)][m(0xc1)]('UnlockCommand:\x20'+b+m(0xc0)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}else return this[m(0xb2)][m(0xc1)]('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0xae)]+'.'),m(0xb0)+b+m(0xbb);}}
1
+ const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x96))/0x1+parseInt(h(0x8b))/0x2+-parseInt(h(0x8a))/0x3*(parseInt(h(0x8c))/0x4)+parseInt(h(0x88))/0x5*(parseInt(h(0x92))/0x6)+parseInt(h(0x90))/0x7+parseInt(h(0x94))/0x8+parseInt(h(0x80))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x635dc));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x97)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x7f)]()[j(0x81)](j(0x9f))[j(0x7f)]()[j(0x89)](a44a)[j(0x81)]('(((.+)+)+)+$');});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x7d;let f=c[d];return f;},a44d(a,b);}a44a();import{Door}from'../models/door.js';function a44c(){const m=['UnlockCommand:\x20','371476dIdJOZ','exits','6GcLHNh','There\x27s\x20no\x20door\x20named\x20\x22','1958928doANZu','write','519534VuwBIB','apply','.\x20Result:\x20','logger','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','length','actor','inventory','(((.+)+)+)+$','verb','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','toLowerCase','currentLocation','unlockItemOrSolution','toString','409158iSeqhg','search','name','unlock','error','hasItem','description','\x22\x20here.','1178565fVMZNo','constructor','3jRjvdk','186186uoBHME','3138928QDkbtp','getItem','UnlockCommand:\x20No\x20target\x20specified.'];a44c=function(){return m;};return a44c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0xa0)]=a44k(0x83);static [a44k(0x86)]='Unlock\x20a\x20door.';['execute'](a){return this['unlock'](a);}[a44k(0x83)](a){const l=a44k;if(a[l(0x9c)]===0x0)return this[l(0x99)][l(0x84)](l(0x8e)),l(0x9b);const b=a[0x0][l(0xa2)](),c=this[l(0x9d)][l(0x7d)];if(this['isValidDirection'](b)&&c[l(0x91)]['has'](b)){const d=c['exits']['get'](b);if(d instanceof Door){const e=d[l(0x7e)]?.[l(0xa2)]();if(e&&this['actor'][l(0x9e)][l(0x85)](e)){const f=this[l(0x9d)][l(0x9e)][l(0x8d)](e);if(f){const g=c['attemptUnlockExit'](b,f[l(0x82)]);return this[l(0x99)]['write'](l(0x8f)+this['actor'][l(0x82)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+l(0x98)+g),g;}}return this['logger'][l(0x95)](l(0x8f)+this['actor']['name']+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),l(0x9a);}else return this[l(0x99)][l(0x95)](l(0x8f)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x82)]+'.'),l(0x93)+b+'\x22\x20here.';}else return this[l(0x99)][l(0x95)](l(0x8f)+b+l(0xa1)+c[l(0x82)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0x87);}}
@@ -1 +1 @@
1
- const a45i=a45d;function a45c(){const l=['\x20used\x20','\x20to\x20use.','use','join','getItem','UseCommand:\x20','20ggpFOz','396821DdIQnN','257270ZlNwxK','(((.+)+)+)+$','9PXxKIH','925799ecfVbQ','function','actor','apply','execute','2096236rTeVAh','4266435MUqidM','hasItem','You\x20don\x27t\x20have\x20the\x20','inventory','description','search','name','constructor','\x20not\x20retrieved\x20from\x20','verb','logger','write','12wvNsey','141285fZRvwV','\x20in\x20this\x20way.','1922168HydLme','toString','\x20doesn\x27t\x20have\x20a\x20use\x20method.','toLowerCase',',\x20which\x20is\x20not\x20in\x20their\x20inventory.'];a45c=function(){return l;};return a45c();}function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x169;let f=c[d];return f;},a45d(a,b);}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x185))/0x1+-parseInt(f(0x184))/0x2*(-parseInt(f(0x177))/0x3)+-parseInt(f(0x169))/0x4+parseInt(f(0x16a))/0x5+-parseInt(f(0x176))/0x6*(-parseInt(f(0x189))/0x7)+-parseInt(f(0x179))/0x8*(parseInt(f(0x188))/0x9)+parseInt(f(0x186))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x6eacf));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x18c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x17a)]()[h(0x16f)](h(0x187))[h(0x17a)]()[h(0x171)](a45a)[h(0x16f)](h(0x187));});a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0x173)]=a45i(0x180);static [a45i(0x16e)]='Use\x20an\x20item.';[a45i(0x18d)](a){const j=a45i;return this[j(0x180)](a);}['use'](a){const k=a45i,b=a[k(0x181)]('\x20')[k(0x17c)]();if(!this['actor'][k(0x16d)][k(0x16b)](b))return this[k(0x174)][k(0x175)](k(0x183)+this[k(0x18b)][k(0x170)]+'\x20attempted\x20to\x20use\x20'+b+k(0x17d)),k(0x16c)+b+k(0x17f);const c=this[k(0x18b)][k(0x16d)][k(0x182)](b);if(!c)return this[k(0x174)][k(0x175)]('UseCommand:\x20'+b+k(0x172)+this[k(0x18b)][k(0x170)]+'\x27s\x20inventory.'),k(0x16c)+b+k(0x17f);if(typeof c[k(0x180)]===k(0x18a)){const d=c[k(0x180)]();return this['logger'][k(0x175)]('UseCommand:\x20'+this[k(0x18b)]['name']+k(0x17e)+b+'.'),d;}else return this['logger']['write']('UseCommand:\x20'+b+k(0x17b)),'You\x20can\x27t\x20use\x20the\x20'+b+k(0x178);}}
1
+ const a45h=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x121;let f=c[d];return f;},a45d(a,b);}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x13e))/0x1*(parseInt(f(0x12b))/0x2)+parseInt(f(0x12d))/0x3*(-parseInt(f(0x13b))/0x4)+parseInt(f(0x12e))/0x5+parseInt(f(0x143))/0x6+parseInt(f(0x141))/0x7+-parseInt(f(0x124))/0x8*(parseInt(f(0x128))/0x9)+-parseInt(f(0x130))/0xa*(parseInt(f(0x135))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xef18d));function a45c(){const k=['You\x20can\x27t\x20use\x20the\x20','use','\x20doesn\x27t\x20have\x20a\x20use\x20method.','8MGYEnW','toString','logger','1562646CEGvli','toLowerCase','UseCommand:\x20','5150173zXDNeM','You\x20don\x27t\x20have\x20the\x20','11025774macYQW','execute','constructor','(((.+)+)+)+$','name',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','join','2435464WIDeUd','search','\x20used\x20','Use\x20an\x20item.','9UFwYcw','\x20to\x20use.','\x20in\x20this\x20way.','2TxbBxT','write','1199241AmXTPf','6625200nBtYCA','actor','5060qJSKiy','\x27s\x20inventory.','verb','inventory','\x20not\x20retrieved\x20from\x20','5489BijMHE','function','hasItem'];a45c=function(){return k;};return a45c();}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const g=a45d;return a45a['toString']()[g(0x125)](g(0x146))[g(0x13c)]()[g(0x145)](a45a)[g(0x125)](g(0x146));});a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45h(0x132)]=a45h(0x139);static ['description']=a45h(0x127);[a45h(0x144)](a){const i=a45h;return this[i(0x139)](a);}[a45h(0x139)](a){const j=a45h,b=a[j(0x123)]('\x20')[j(0x13f)]();if(!this[j(0x12f)][j(0x133)][j(0x137)](b))return this['logger'][j(0x12c)](j(0x140)+this['actor'][j(0x121)]+'\x20attempted\x20to\x20use\x20'+b+j(0x122)),j(0x142)+b+j(0x129);const c=this[j(0x12f)][j(0x133)]['getItem'](b);if(!c)return this[j(0x13d)][j(0x12c)](j(0x140)+b+j(0x134)+this['actor']['name']+j(0x131)),'You\x20don\x27t\x20have\x20the\x20'+b+j(0x129);if(typeof c[j(0x139)]===j(0x136)){const d=c[j(0x139)]();return this[j(0x13d)][j(0x12c)](j(0x140)+this['actor'][j(0x121)]+j(0x126)+b+'.'),d;}else return this['logger'][j(0x12c)](j(0x140)+b+j(0x13a)),j(0x138)+b+j(0x12a);}}
@@ -1 +1 @@
1
- const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x15b))/0x1*(-parseInt(f(0x155))/0x2)+parseInt(f(0x152))/0x3+parseInt(f(0x160))/0x4*(parseInt(f(0x154))/0x5)+parseInt(f(0x15f))/0x6+-parseInt(f(0x15e))/0x7*(parseInt(f(0x15c))/0x8)+parseInt(f(0x15a))/0x9*(-parseInt(f(0x156))/0xa)+-parseInt(f(0x158))/0xb*(-parseInt(f(0x159))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x1a6b1));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x162)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x163)]()['search'](h(0x164))[h(0x163)]()[h(0x157)](a46a)[h(0x153)](h(0x164));});function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x152;let f=c[d];return f;},a46d(a,b);}a46a();export class CommandFactory{static [a46i(0x161)]={};static['registerCommand'](a,b){const j=a46i;this[j(0x161)][a]=b;}static[a46i(0x15d)](a,b){const k=a46i,c=this[k(0x161)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const l=a46i;return this[l(0x161)];}}function a46c(){const m=['130050QjClge','constructor','618717PZlXkm','12yMQYoY','135PWVYMS','1EiCkOh','241208YhydNH','createCommand','7faCwAR','1006254oJdZlp','44820qxpBhc','commandMap','apply','toString','(((.+)+)+)+$','107904dXPnud','search','25VaQgLB','34972VrFtcz'];a46c=function(){return m;};return a46c();}
1
+ const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x19a))/0x1+parseInt(f(0x1a3))/0x2*(parseInt(f(0x1a5))/0x3)+parseInt(f(0x19e))/0x4*(parseInt(f(0x1aa))/0x5)+parseInt(f(0x1a4))/0x6*(parseInt(f(0x1a1))/0x7)+-parseInt(f(0x19c))/0x8+parseInt(f(0x1a8))/0x9+-parseInt(f(0x1a2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x6c016));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x1a0)]()[h(0x1a7)]('(((.+)+)+)+$')[h(0x1a0)]()[h(0x1a6)](a46a)[h(0x1a7)](h(0x19b));});a46a();function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x19a;let f=c[d];return f;},a46d(a,b);}export class CommandFactory{static [a46i(0x19d)]={};static[a46i(0x19f)](a,b){this['commandMap'][a]=b;}static['createCommand'](a,b){const j=a46i,c=this[j(0x19d)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const k=a46i;return this[k(0x19d)];}}function a46c(){const l=['23610ruSpmq','6mJzmMK','90UKYHXq','constructor','search','7102260SApEOj','apply','83185KwlPxG','533010mZKEPV','(((.+)+)+)+$','6643440VTAJsu','commandMap','136fzPjgU','registerCommand','toString','1596014pKuQtF','1311200pvtdqB'];a46c=function(){return l;};return a46c();}
@@ -1 +1 @@
1
- const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x159))/0x1*(-parseInt(f(0x169))/0x2)+parseInt(f(0x15e))/0x3+parseInt(f(0x178))/0x4*(parseInt(f(0x176))/0x5)+parseInt(f(0x162))/0x6+parseInt(f(0x175))/0x7+-parseInt(f(0x165))/0x8*(-parseInt(f(0x17a))/0x9)+-parseInt(f(0x163))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x23dd6));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x177)]()[h(0x179)]('(((.+)+)+)+$')['toString']()[h(0x170)](a47a)[h(0x179)](h(0x164));});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';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x159;let f=c[d];return f;},a47d(a,b);}export class RoomFactory{[a47i(0x16b)](a){const j=a47i,b=this[j(0x160)](a),c=new Room(b);if(a[j(0x17e)]){const d=new Inventory();a[j(0x17e)][j(0x15d)](e=>{d['addItem'](this['createItem'](e));}),c[j(0x161)]=d;}return a[j(0x16e)]&&c[j(0x166)](this[j(0x16a)](a[j(0x16e)])),c;}['createItem'](a){const k=a47i;switch(a['type']){case k(0x15c):return new Key(a[k(0x174)],a[k(0x16f)]);case k(0x16c):return new Book(a[k(0x174)],a['description'],a[k(0x172)]);case k(0x17b):return new Sword(a[k(0x174)],a[k(0x16f)]);case k(0x15b):return new Rifle(a['name'],a[k(0x16f)]);case k(0x15a):return new Helmet(a['name'],a[k(0x16f)]);case k(0x180):return new BodyArmor(a[k(0x174)],a[k(0x16f)]);case k(0x17d):return new LegArmor(a[k(0x174)],a[k(0x16f)]);case'boots':return new Boots(a[k(0x174)],a[k(0x16f)]);case'gloves':return new Gloves(a['name'],a['description']);case k(0x171):return new Gauntlets(a[k(0x174)],a[k(0x16f)]);default:return new BasicItem(a[k(0x174)],a[k(0x16f)]);}}[a47i(0x16a)](a){const l=a47i,b=this[l(0x17f)](a[l(0x173)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0x160)](a){const m=a47i,b=a[m(0x16d)]&&RoomType[a[m(0x16d)]['toUpperCase']()]?RoomType[a[m(0x16d)][m(0x15f)]()]:RoomType[m(0x168)];return{'name':a['name'],'description':a[m(0x16f)],'isStartRoom':a[m(0x167)],'roomType':b};}}function a47c(){const n=['toUpperCase','convertToRoomConfig','inventory','186810bAMuxl','1773030sxKjdf','(((.+)+)+)+$','8ellPuR','setPuzzle','isStartRoom','INSIDE','12pbQxkm','createPuzzle','createRoom','book','roomType','puzzle','description','constructor','gauntlets','content','rewardItem','name','1267707GhkLli','65CNgXYE','toString','22808WieeHy','search','880677zBdRIo','sword','apply','legarmor','items','createItem','bodyarmor','39626OoWdsY','helmet','rifle','key','forEach','533238qqUSbj'];a47c=function(){return n;};return a47c();}
1
+ const a47h=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0xef))/0x1+parseInt(f(0xfa))/0x2+-parseInt(f(0xe4))/0x3+parseInt(f(0xe5))/0x4*(-parseInt(f(0xdd))/0x5)+parseInt(f(0xf2))/0x6+-parseInt(f(0xea))/0x7*(parseInt(f(0xde))/0x8)+-parseInt(f(0xee))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x8732a));function a47c(){const n=['roomType','addItem','puzzle','description','bodyarmor','createItem','1650652tiqkYc','forEach','content','key','2639105XcEUoF','56BbVThy','name','legarmor','helmet','search','createRoom','19290XltHHv','4XcNpVE','type','inventory','items','rewardItem','230069ujrMrA','gauntlets','constructor','createPuzzle','2751039FlUGSh','177895UokCQD','toUpperCase','toString','3723240sJZVEY','(((.+)+)+)+$'];a47c=function(){return n;};return a47c();}const a47b=(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;};}()),a47a=a47b(this,function(){const g=a47d;return a47a[g(0xf1)]()['search'](g(0xf3))[g(0xf1)]()[g(0xec)](a47a)[g(0xe2)](g(0xf3));});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xdb;let f=c[d];return f;},a47d(a,b);}import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47h(0xe3)](a){const i=a47h,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[i(0xe8)]){const d=new Inventory();a[i(0xe8)][i(0xfb)](e=>{const j=i;d[j(0xf5)](this[j(0xf9)](e));}),c[i(0xe7)]=d;}return a[i(0xf6)]&&c['setPuzzle'](this['createPuzzle'](a['puzzle'])),c;}[a47h(0xf9)](a){const k=a47h;switch(a[k(0xe6)]){case k(0xdc):return new Key(a[k(0xdf)],a[k(0xf7)]);case'book':return new Book(a[k(0xdf)],a[k(0xf7)],a[k(0xdb)]);case'sword':return new Sword(a[k(0xdf)],a[k(0xf7)]);case'rifle':return new Rifle(a[k(0xdf)],a['description']);case k(0xe1):return new Helmet(a['name'],a[k(0xf7)]);case k(0xf8):return new BodyArmor(a['name'],a[k(0xf7)]);case k(0xe0):return new LegArmor(a[k(0xdf)],a['description']);case'boots':return new Boots(a[k(0xdf)],a[k(0xf7)]);case'gloves':return new Gloves(a[k(0xdf)],a[k(0xf7)]);case k(0xeb):return new Gauntlets(a[k(0xdf)],a[k(0xf7)]);default:return new BasicItem(a[k(0xdf)],a['description']);}}[a47h(0xed)](a){const l=a47h,b=this['createItem'](a[l(0xe9)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const m=a47h,b=a['roomType']&&RoomType[a[m(0xf4)][m(0xf0)]()]?RoomType[a[m(0xf4)]['toUpperCase']()]:RoomType['INSIDE'];return{'name':a[m(0xdf)],'description':a['description'],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x1fd))/0x1*(parseInt(h(0x1fa))/0x2)+parseInt(h(0x1e5))/0x3+parseInt(h(0x203))/0x4+parseInt(h(0x1ea))/0x5*(-parseInt(h(0x1fb))/0x6)+parseInt(h(0x1f2))/0x7*(parseInt(h(0x1f5))/0x8)+parseInt(h(0x1ec))/0x9*(-parseInt(h(0x1e3))/0xa)+parseInt(h(0x1e4))/0xb*(-parseInt(h(0x1ef))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x95c75));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x1ee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x1f4)]()[j(0x1f0)](j(0x1f1))[j(0x1f4)]()[j(0x1e7)](a48a)[j(0x1f0)](j(0x1f1));});a48a();function a48c(){const r=['getAllRegisteredCommands','unequip','35988esbQQX','toLowerCase','getHelpMessage','determineStartRoom','registerCommand','currentRoom','scene','initialize','solve','currentLocation','getWelcomeMessage','createCommand','getInstance','3842430iZAJlj','22tXMqoE','1709271KapQmH','split','constructor','player','equip','18585zCacdf','use','18BmGWSD','clear','apply','860820KMCBCR','search','(((.+)+)+)+$','8442pgMebx','Available\x20Commands:\x0a','toString','16qGykdq','help','trim','registerCommands','lock','10536gRPosM','270PgHDCj','quit','211dCrfew','-\x20clear:\x20Clear\x20the\x20screen.\x0a','instance','-\x20quit:\x20Exit\x20the\x20game.\x0a'];a48c=function(){return r;};return a48c();}import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1db;let f=c[d];return f;},a48d(a,b);}import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0x1ff)];['scene'];['player'];[a48k(0x1db)];['rooms'];constructor(a,b){const l=a48k;this[l(0x1e8)]=a,this[l(0x1dc)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0x1dd)](),this[l(0x1e8)][l(0x1df)]=this[l(0x206)](),this[l(0x1f8)]();}[a48k(0x1f8)](){const m=a48k;CommandFactory[m(0x207)]('look',LookCommand),CommandFactory[m(0x207)]('go',GoCommand),CommandFactory[m(0x207)]('take',TakeCommand),CommandFactory[m(0x207)](m(0x1eb),UseCommand),CommandFactory[m(0x207)](m(0x1e9),EquipCommand),CommandFactory[m(0x207)](m(0x202),UnequipCommand),CommandFactory[m(0x207)](m(0x1de),SolveCommand),CommandFactory[m(0x207)]('drop',DropCommand),CommandFactory[m(0x207)]('unlock',UnlockCommand),CommandFactory['registerCommand'](m(0x1f9),LockCommand),CommandFactory[m(0x207)](m(0x1f0),SearchCommand),CommandFactory['registerCommand']('say',SayCommand);}[a48k(0x206)](){return this['scene']['determineStartRoom']();}[a48k(0x1e0)](){const n=a48k;return'Welcome,\x20'+this[n(0x1e8)]['name'];}static[a48k(0x1e2)](a,b){const o=a48k;return!Game[o(0x1ff)]&&(Game['instance']=new Game(a,b)),Game[o(0x1ff)];}['handleInput'](a){const p=a48k,b=a[p(0x1f7)]()[p(0x1e6)]('\x20'),c=b[0x0][p(0x204)](),d=b['slice'](0x1);if(c===p(0x1fc))return null;if(c==='maka')return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===p(0x1f6))return this[p(0x205)]();if(c===p(0x1ed))return'';const e={'actor':this[p(0x1e8)],'rooms':this[p(0x1dc)]['getRooms'](),'scene':this[p(0x1dc)]},f=CommandFactory[p(0x1e1)](c,e);if(f){const g=f['execute'](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a48k(0x205)](){const q=a48k,a=CommandFactory[q(0x201)]();let b=q(0x1f3);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=q(0x1fe),b+=q(0x200),b;}}
1
+ const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x83))/0x1*(parseInt(h(0x9a))/0x2)+parseInt(h(0xb8))/0x3*(parseInt(h(0xae))/0x4)+parseInt(h(0xb1))/0x5+-parseInt(h(0xad))/0x6*(-parseInt(h(0xb7))/0x7)+parseInt(h(0xa2))/0x8*(-parseInt(h(0x8d))/0x9)+parseInt(h(0x97))/0xa*(-parseInt(h(0xac))/0xb)+-parseInt(h(0xb3))/0xc*(parseInt(h(0x99))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x43ca9));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a['toString']()[j(0x8a)](j(0x8c))[j(0xaf)]()[j(0x95)](a48a)[j(0x8a)](j(0x8c));});a48a();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x80;let f=c[d];return f;},a48d(a,b);}import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';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(0x88)];[a48k(0x98)];['player'];[a48k(0x84)];[a48k(0x9d)];constructor(a,b){const l=a48k;this[l(0x92)]=a,this[l(0x98)]=new Scene({'player':a,'roomConfiguration':b}),this['scene']['initialize'](),this[l(0x92)][l(0x9b)]=this[l(0xab)](),this['registerCommands']();}['registerCommands'](){const m=a48k;CommandFactory[m(0xa5)]('look',LookCommand),CommandFactory[m(0xa5)]('go',GoCommand),CommandFactory[m(0xa5)](m(0x87),TakeCommand),CommandFactory[m(0xa5)](m(0xb4),UseCommand),CommandFactory[m(0xa5)](m(0x81),EquipCommand),CommandFactory[m(0xa5)](m(0xa0),UnequipCommand),CommandFactory['registerCommand'](m(0x9e),SolveCommand),CommandFactory[m(0xa5)](m(0x86),DropCommand),CommandFactory['registerCommand'](m(0xa4),UnlockCommand),CommandFactory[m(0xa5)](m(0x8e),LockCommand),CommandFactory[m(0xa5)](m(0x8a),SearchCommand),CommandFactory[m(0xa5)](m(0xa8),SayCommand);}[a48k(0xab)](){const n=a48k;return this[n(0x98)][n(0xab)]();}[a48k(0x82)](){const o=a48k;return o(0x9f)+this[o(0x92)][o(0xaa)];}static[a48k(0x80)](a,b){const p=a48k;return!Game[p(0x88)]&&(Game[p(0x88)]=new Game(a,b)),Game[p(0x88)];}[a48k(0x8b)](a){const q=a48k,b=a[q(0xb6)]()[q(0x89)]('\x20'),c=b[0x0][q(0xa6)](),d=b[q(0xa7)](0x1);if(c===q(0x94))return null;if(c===q(0xb5))return q(0xa9);if(c===q(0x8f))return this['getHelpMessage']();if(c===q(0xa3))return'';const e={'actor':this[q(0x92)],'rooms':this['scene']['getRooms'](),'scene':this['scene']},f=CommandFactory[q(0x91)](c,e);if(f){const g=f['execute'](d);return g;}return q(0xb9)+c+'\x22.';}[a48k(0x96)](){const r=a48k,a=CommandFactory[r(0xa1)]();let b=r(0xb0);for(const c in a){if(a[r(0x90)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x93)]()+'\x0a';}}return b+=r(0x85),b+=r(0xb2),b;}}function a48c(){const s=['1419845HAoeOb','-\x20quit:\x20Exit\x20the\x20game.\x0a','12CUgxDz','use','maka','trim','2219FojtjX','737859afiiit','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','getInstance','equip','getWelcomeMessage','77439bGIOUU','currentRoom','-\x20clear:\x20Clear\x20the\x20screen.\x0a','drop','take','instance','split','search','handleInput','(((.+)+)+)+$','3782934igYnZh','lock','help','hasOwnProperty','createCommand','player','getDescription','quit','constructor','getHelpMessage','10DSiRnK','scene','2269423FxJZoe','12JFtyLS','currentLocation','apply','rooms','solve','Welcome,\x20','unequip','getAllRegisteredCommands','8XKNALL','clear','unlock','registerCommand','toLowerCase','slice','say','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','name','determineStartRoom','2768029CpIukg','2454YWKKDL','4kBQJOY','toString','Available\x20Commands:\x0a'];a48c=function(){return s;};return a48c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x10a))/0x1+-parseInt(f(0x110))/0x2+parseInt(f(0x116))/0x3*(parseInt(f(0x114))/0x4)+-parseInt(f(0x10c))/0x5+parseInt(f(0x109))/0x6+parseInt(f(0x111))/0x7*(-parseInt(f(0x115))/0x8)+parseInt(f(0x10e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xf22e8));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x10d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()['search'](h(0x10b))[h(0x10f)]()[h(0x113)](a49a)[h(0x112)]('(((.+)+)+)+$');});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-0x109;var f=c[d];return f;},a49d(a,b);}function a49c(){var i=['2679756kipUgZ','30376kkWNmi','3GSsXgC','6259650DHHSCr','1274664nhbecp','(((.+)+)+)+$','6124185BQnZvS','apply','17970678AFRYac','toString','3538392yMzjeU','1841GcaJog','search','constructor'];a49c=function(){return i;};return a49c();}export*from'./scene.js';
1
+ function a49c(){var i=['90mIByaA','1285IiLOqC','318RPUugh','1142jEMFaV','1548euzMbk','constructor','33011cidZlh','197hzsOUR','1744164ONOGfN','8720QxqzLT','apply','641349zRPvkO','search','toString','4751008EKiyLU','17045mcZEzh'];a49c=function(){return i;};return a49c();}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1d5))/0x1*(parseInt(f(0x1d1))/0x2)+-parseInt(f(0x1d6))/0x3+-parseInt(f(0x1d7))/0x4*(-parseInt(f(0x1cf))/0x5)+-parseInt(f(0x1d0))/0x6*(-parseInt(f(0x1cd))/0x7)+parseInt(f(0x1cc))/0x8+parseInt(f(0x1d9))/0x9*(-parseInt(f(0x1ce))/0xa)+parseInt(f(0x1d4))/0xb*(parseInt(f(0x1d2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x51cf8));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1d8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1db)]()[h(0x1da)]('(((.+)+)+)+$')[h(0x1db)]()[h(0x1d3)](a49a)[h(0x1da)]('(((.+)+)+)+$');});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1cc;var f=c[d];return f;},a49d(a,b);}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a50i=a50d;function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x141;var f=c[d];return f;},a50d(a,b);}(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x14b))/0x1+parseInt(f(0x15c))/0x2+-parseInt(f(0x14e))/0x3+parseInt(f(0x153))/0x4*(parseInt(f(0x15b))/0x5)+parseInt(f(0x144))/0x6+-parseInt(f(0x15d))/0x7*(parseInt(f(0x14a))/0x8)+parseInt(f(0x151))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xb1f3f));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a['toString']()['search'](h(0x155))[h(0x156)]()['constructor'](a50a)['search'](h(0x155));});a50a();function a50c(){var n=['.\x20Used:\x20','55810jBBXZY','192570rZryIX','1881229PmFLhS','To\x20','\x20and\x20','name','.\x20Is\x20Locked:\x20','4235484ucyCZG','roomB','checkIfLocked','Door\x20created\x20between\x20','roomA','isLocked','8vFFpVZ','685237oNspWr','getOtherSide','isLockable','1921284spiqHN','write','checkIfLockable','1434096ekVtrl','attemptUnlock','488jeDHqL','Door\x20unlocked:\x20','(((.+)+)+)+$','toString','apply','logger','unlockItemOrSolution'];a50c=function(){return n;};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'];['roomB'];[a50i(0x149)];['unlockItemOrSolution'];[a50i(0x142)];[a50i(0x158)];['isLockable'];constructor(a){var j=a50i;super(),this[j(0x148)]=a[j(0x148)],this['roomB']=a[j(0x145)],this[j(0x149)]=a[j(0x149)]||![],this['unlockItemOrSolution']=a['unlockItemOrSolution'],this[j(0x142)]=a['name']?capitalCase(a[j(0x142)]):j(0x15e)+a['roomB'][j(0x142)],this[j(0x158)]=Logger['getInstance'](),this[j(0x14d)]=!!a['unlockItemOrSolution'],this[j(0x158)][j(0x14f)](j(0x147)+this[j(0x148)]['name']+j(0x141)+this[j(0x145)][j(0x142)]+j(0x143)+this[j(0x149)]);}[a50i(0x14c)](a){var k=a50i;return this[k(0x148)]===a?this['roomB']:this[k(0x148)];}[a50i(0x152)](a){var l=a50i;if(this['isLocked']&&this[l(0x159)]&&this[l(0x159)]===a)return this['isLocked']=![],this[l(0x158)]['write'](l(0x154)+this['name']+l(0x15a)+a),!![];return this[l(0x158)][l(0x14f)]('Failed\x20to\x20unlock\x20door:\x20'+this['name']+l(0x15a)+a),![];}[a50i(0x146)](){var m=a50i;return this[m(0x149)];}[a50i(0x150)](){return this['isLockable'];}}
1
+ var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0x1ea))/0x1+-parseInt(f(0x1e2))/0x2+-parseInt(f(0x1f0))/0x3+-parseInt(f(0x1ee))/0x4*(parseInt(f(0x1f1))/0x5)+parseInt(f(0x1dd))/0x6+-parseInt(f(0x1e6))/0x7+parseInt(f(0x1e7))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xbb84e));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x1e0)]()['search'](h(0x1e1))['toString']()[h(0x1ec)](a50a)[h(0x1ed)]('(((.+)+)+)+$');});a50a();function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x1d5;var f=c[d];return f;},a50d(a,b);}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a50c(){var m=['getOtherSide','7755349sUmXaX','30060872bxsxjl','isLocked','To\x20','576278CIRUEx','logger','constructor','search','1102036OVvoXr','unlockItemOrSolution','2718534BORKTD','15uoBLqK','Door\x20unlocked:\x20','roomA','write','roomB','.\x20Is\x20Locked:\x20','Door\x20created\x20between\x20','getInstance','checkIfLocked','Failed\x20to\x20unlock\x20door:\x20','name','695934JAeYqi','isLockable','apply','toString','(((.+)+)+)+$','1682372hlMydd','checkIfLockable','.\x20Used:\x20'];a50c=function(){return m;};return a50c();}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0x1f3)];[a50i(0x1d6)];[a50i(0x1e8)];[a50i(0x1ef)];[a50i(0x1dc)];['logger'];[a50i(0x1de)];constructor(a){var j=a50i;super(),this['roomA']=a[j(0x1f3)],this[j(0x1d6)]=a[j(0x1d6)],this[j(0x1e8)]=a['isLocked']||![],this[j(0x1ef)]=a[j(0x1ef)],this['name']=a[j(0x1dc)]?capitalCase(a[j(0x1dc)]):j(0x1e9)+a['roomB']['name'],this['logger']=Logger[j(0x1d9)](),this[j(0x1de)]=!!a[j(0x1ef)],this[j(0x1eb)][j(0x1d5)](j(0x1d8)+this[j(0x1f3)]['name']+'\x20and\x20'+this[j(0x1d6)][j(0x1dc)]+j(0x1d7)+this['isLocked']);}[a50i(0x1e5)](a){var k=a50i;return this[k(0x1f3)]===a?this[k(0x1d6)]:this['roomA'];}['attemptUnlock'](a){var l=a50i;if(this['isLocked']&&this[l(0x1ef)]&&this[l(0x1ef)]===a)return this[l(0x1e8)]=![],this[l(0x1eb)][l(0x1d5)](l(0x1f2)+this[l(0x1dc)]+l(0x1e4)+a),!![];return this[l(0x1eb)]['write'](l(0x1db)+this['name']+'.\x20Used:\x20'+a),![];}[a50i(0x1da)](){return this['isLocked'];}[a50i(0x1e3)](){return this['isLockable'];}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x134))/0x1*(parseInt(f(0x14e))/0x2)+parseInt(f(0x14c))/0x3+parseInt(f(0x15d))/0x4*(-parseInt(f(0x155))/0x5)+parseInt(f(0x14d))/0x6*(parseInt(f(0x147))/0x7)+parseInt(f(0x150))/0x8*(parseInt(f(0x159))/0x9)+parseInt(f(0x154))/0xa*(parseInt(f(0x153))/0xb)+parseInt(f(0x138))/0xc*(-parseInt(f(0x15e))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x85a82));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x13f)]()[h(0x152)](h(0x135))['toString']()[h(0x158)](a51a)['search'](h(0x135));});function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x132;let f=c[d];return f;},a51d(a,b);}a51a();import{capitalCase}from'change-case';function a51c(){const r=['Retrieved\x20details\x20for\x20item:\x20','\x20in\x20','logger','121416uKdWSw','13UlBdLe','keys','values','43VoKXMP','(((.+)+)+)+$','get','map','11369076yeEFLK','apply','getAllItems','write','delete','Listed\x20items\x20in\x20inventory:\x20','Added\x20item:\x20','toString','Failed\x20to\x20remove\x20item:\x20','items','Checked\x20for\x20item:\x20','addItem','join','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','getItem','2393461hkEwhl','has','\x20from\x20inventory.','hasItem','listItems','2893293aUvoXc','12rKckkN','16278qAxQac','weight','32FFDmTH','getWeight','search','247863wnomnb','110qeRFyB','145tlNIvi','Removed\x20item:\x20','toLowerCase','constructor','1865214aOLXno'];a51c=function(){return r;};return a51c();}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x141)];[a51i(0x15c)];constructor(){const j=a51i;super(),this['items']=new Map(),this[j(0x15c)]=Logger['getInstance']();}[a51i(0x143)](a){const k=a51i;this['items']['set'](a['name']['toLowerCase'](),a),this['logger'][k(0x13b)](k(0x13e)+a['name']+'\x20to\x20inventory.');}['removeItem'](a){const l=a51i,b=this[l(0x146)](a);if(b)return this[l(0x141)][l(0x13c)](a[l(0x157)]()),this[l(0x15c)][l(0x13b)](l(0x156)+a+l(0x149)),b;return this[l(0x15c)][l(0x13b)](l(0x140)+a+'.\x20Item\x20not\x20found.'),null;}[a51i(0x14a)](a){const m=a51i,b=this[m(0x141)][m(0x148)](a['toLowerCase']()),c=[...this[m(0x141)][m(0x132)]()];return this[m(0x15c)][m(0x13b)](m(0x142)+a+m(0x15b)+c[m(0x144)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a51i(0x146)](a){const n=a51i,b=this[n(0x141)][n(0x136)](a[n(0x157)]())||null;return b?this[n(0x15c)][n(0x13b)](n(0x15a)+a+'.'):this[n(0x15c)][n(0x13b)](n(0x145)+a+'.\x20Item\x20not\x20found.'),b;}[a51i(0x14b)](){const o=a51i,a=[...this[o(0x141)]['keys']()],b=a[o(0x137)](c=>capitalCase(c));return this[o(0x15c)][o(0x13b)](o(0x13d)+b[o(0x144)](',\x20')+'.'),a;}[a51i(0x151)](){const p=a51i;let a=0x0;for(const b of this[p(0x141)][p(0x133)]()){a+=b[p(0x14f)];}return a;}[a51i(0x13a)](){const q=a51i;return[...this[q(0x141)][q(0x133)]()];}}
1
+ const a51i=a51d;function a51c(){const q=['Checked\x20for\x20item:\x20','set','\x20to\x20inventory.','weight','items','Removed\x20item:\x20','609833IwcQoy','477590jppBIX','removeItem','logger','getItem','has','148286umuZWK','get','Retrieved\x20details\x20for\x20item:\x20','getAllItems','keys','Listed\x20items\x20in\x20inventory:\x20','write','36BsRdaZ','values','delete','map','.\x20Exists:\x20','getWeight','addItem','apply','\x20from\x20inventory.','toLowerCase','5640437lYavkQ','\x20in\x20','6kEoQYy','2ZkoMaj','.\x20Item\x20not\x20found.','503245UGCKWr','join','name','search','Added\x20item:\x20','Failed\x20to\x20remove\x20item:\x20','408396vxjJBw','4IoHmEW','52312eNUGbI','toString','(((.+)+)+)+$'];a51c=function(){return q;};return a51c();}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x100))/0x1*(-parseInt(f(0xe7))/0x2)+-parseInt(f(0xef))/0x3*(parseInt(f(0xf0))/0x4)+-parseInt(f(0xe9))/0x5+parseInt(f(0xe6))/0x6*(parseInt(f(0xfa))/0x7)+parseInt(f(0xf1))/0x8*(-parseInt(f(0x107))/0x9)+-parseInt(f(0xfb))/0xa+parseInt(f(0xe4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x22668));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xde;let f=c[d];return f;},a51d(a,b);}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xe1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xf2)]()[h(0xec)](h(0xf3))[h(0xf2)]()['constructor'](a51a)[h(0xec)](h(0xf3));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0xf8)];[a51i(0xfd)];constructor(){super(),this['items']=new Map(),this['logger']=Logger['getInstance']();}[a51i(0xe0)](a){const j=a51i;this['items'][j(0xf5)](a[j(0xeb)][j(0xe3)](),a),this[j(0xfd)]['write'](j(0xed)+a['name']+j(0xf6));}[a51i(0xfc)](a){const k=a51i,b=this[k(0xfe)](a);if(b)return this[k(0xf8)][k(0x109)](a['toLowerCase']()),this['logger'][k(0x106)](k(0xf9)+a+k(0xe2)),b;return this[k(0xfd)][k(0x106)](k(0xee)+a+k(0xe8)),null;}['hasItem'](a){const l=a51i,b=this[l(0xf8)][l(0xff)](a[l(0xe3)]()),c=[...this[l(0xf8)][l(0x104)]()];return this[l(0xfd)][l(0x106)](l(0xf4)+a+l(0xe5)+c[l(0xea)](',\x20')+l(0xde)+b+'.'),b;}[a51i(0xfe)](a){const m=a51i,b=this[m(0xf8)][m(0x101)](a[m(0xe3)]())||null;return b?this[m(0xfd)][m(0x106)](m(0x102)+a+'.'):this[m(0xfd)][m(0x106)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+m(0xe8)),b;}['listItems'](){const n=a51i,a=[...this[n(0xf8)][n(0x104)]()],b=a[n(0x10a)](c=>capitalCase(c));return this[n(0xfd)]['write'](n(0x105)+b[n(0xea)](',\x20')+'.'),a;}[a51i(0xdf)](){const o=a51i;let a=0x0;for(const b of this[o(0xf8)][o(0x108)]()){a+=b[o(0xf7)];}return a;}[a51i(0x103)](){const p=a51i;return[...this[p(0xf8)][p(0x108)]()];}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1ef))/0x1+-parseInt(f(0x1eb))/0x2+parseInt(f(0x1e3))/0x3*(-parseInt(f(0x1e6))/0x4)+parseInt(f(0x1d9))/0x5+-parseInt(f(0x1d7))/0x6*(-parseInt(f(0x1e0))/0x7)+-parseInt(f(0x1db))/0x8*(parseInt(f(0x1df))/0x9)+parseInt(f(0x1e1))/0xa*(parseInt(f(0x1dd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x86afe));function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1d7;var f=c[d];return f;},a52d(a,b);}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()['search'](h(0x1e2))[h(0x1ed)]()[h(0x1e4)](a52a)[h(0x1d8)](h(0x1e2));});a52a();function a52c(){var l=['shape','uuid','size','5040444XSgvIu','search','498575PErPeH','description','273760pEYDCv','weight','121IemwMP','category','288sPicND','7ZhDaTc','1618370SprzOw','(((.+)+)+)+$','3fWzkiW','constructor','You\x20use\x20the\x20','26032ITYZvO','name','apply','texture','color','207932UPLwqV','rating','toString','use','962804IYMvva','.\x20Nothing\x20special\x20happens.'];a52c=function(){return l;};return a52c();}import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0x1f2)];[a52i(0x1e7)];[a52i(0x1da)];[a52i(0x1f3)];['category'];[a52i(0x1f1)];[a52i(0x1ea)];[a52i(0x1e9)];[a52i(0x1ec)];[a52i(0x1dc)];constructor(a){var j=a52i;super(),this['name']=a[j(0x1e7)],this['description']=a[j(0x1da)],this[j(0x1f3)]=a[j(0x1f3)],this[j(0x1de)]=a[j(0x1de)],this[j(0x1f1)]=a[j(0x1f1)],this[j(0x1ea)]=a['color'],this['texture']=a[j(0x1e9)],this[j(0x1ec)]=a[j(0x1ec)],this[j(0x1dc)]=a[j(0x1dc)],this[j(0x1f2)]=a52e();}[a52i(0x1ee)](){var k=a52i;return k(0x1e5)+this['name']+k(0x1f0);}}
1
+ var a52i=a52d;function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1d6;var f=c[d];return f;},a52d(a,b);}(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x1d8))/0x1+parseInt(f(0x1db))/0x2*(parseInt(f(0x1e2))/0x3)+parseInt(f(0x1e7))/0x4*(parseInt(f(0x1f0))/0x5)+-parseInt(f(0x1ee))/0x6*(-parseInt(f(0x1eb))/0x7)+parseInt(f(0x1f2))/0x8*(parseInt(f(0x1df))/0x9)+parseInt(f(0x1e6))/0xa+-parseInt(f(0x1ec))/0xb*(parseInt(f(0x1ea))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xaf393));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1d6)]()[h(0x1ef)]('(((.+)+)+)+$')[h(0x1d6)]()[h(0x1da)](a52a)[h(0x1ef)](h(0x1e4));});a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a52c(){var l=['557451rIFeuQ','description','(((.+)+)+)+$','color','3070630YvfARB','1570056IEaSxf','category','apply','12ZkYusz','7baDpQt','33640519HMWaLA','rating','4871892xkjKHm','search','5OwbJVd','.\x20Nothing\x20special\x20happens.','6037872KxpXIF','toString','size','1323834WYppqF','shape','constructor','2ydupHB','name','weight','uuid','9stNSHi','You\x20use\x20the\x20','texture'];a52c=function(){return l;};return a52c();}export class Item extends AbstractItem{[a52i(0x1de)];[a52i(0x1dc)];[a52i(0x1e3)];['size'];[a52i(0x1e8)];['shape'];[a52i(0x1e5)];['texture'];[a52i(0x1ed)];[a52i(0x1dd)];constructor(a){var j=a52i;super(),this[j(0x1dc)]=a[j(0x1dc)],this[j(0x1e3)]=a['description'],this[j(0x1d7)]=a[j(0x1d7)],this[j(0x1e8)]=a[j(0x1e8)],this['shape']=a[j(0x1d9)],this[j(0x1e5)]=a[j(0x1e5)],this[j(0x1e1)]=a[j(0x1e1)],this[j(0x1ed)]=a[j(0x1ed)],this['weight']=a[j(0x1dd)],this[j(0x1de)]=a52e();}['use'](){var k=a52i;return k(0x1e0)+this[k(0x1dc)]+k(0x1f1);}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x191))/0x1*(parseInt(f(0x1a4))/0x2)+-parseInt(f(0x196))/0x3*(parseInt(f(0x190))/0x4)+parseInt(f(0x18e))/0x5*(parseInt(f(0x194))/0x6)+parseInt(f(0x18f))/0x7+-parseInt(f(0x19c))/0x8+parseInt(f(0x1a1))/0x9*(parseInt(f(0x1a5))/0xa)+-parseInt(f(0x1a2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x253cd));function a53c(){const o=['autonomousMove','length','1915xwUaSc','1754739gpEfkS','4HlSBHI','97LlblSX','rooms','scene','3912EFahtQ','(((.+)+)+)+$','492642Cckthd','moveTo','execute','toString','floor','_name','171760dwriEA','random','_dialogue','apply','constructor','45nwqVZV','4871614vNTIpn','search','710HVVByf','492510BPEsEl'];a53c=function(){return o;};return a53c();}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x199)]()[h(0x1a3)](h(0x195))[h(0x199)]()[h(0x1a0)](a53a)[h(0x1a3)](h(0x195));});a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x18d;let f=c[d];return f;},a53d(a,b);}export class NPC extends Player{[a53i(0x19b)];[a53i(0x19e)];[a53i(0x192)];[a53i(0x193)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x19b)]=a,this[j(0x19e)]=b,this[j(0x192)]=c;}get['name'](){const k=a53i;return this[k(0x19b)];}['speak'](){const l=a53i;return this[l(0x19e)][Math[l(0x19a)](Math[l(0x19d)]()*this[l(0x19e)]['length'])];}[a53i(0x1a6)](a){const m=a53i,b=a[Math[m(0x19a)](Math[m(0x19d)]()*a[m(0x18d)])];this[m(0x197)](b['name']);}[a53i(0x197)](a){const n=a53i,b={'actor':this,'rooms':this[n(0x192)],'scene':this[n(0x193)]},c=new GoCommand(b);c[n(0x198)]([a]);}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x147))/0x1+parseInt(f(0x139))/0x2+parseInt(f(0x142))/0x3+parseInt(f(0x146))/0x4*(-parseInt(f(0x13e))/0x5)+-parseInt(f(0x141))/0x6+parseInt(f(0x13c))/0x7+parseInt(f(0x140))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x582a2));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x13b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0x14d)]('(((.+)+)+)+$')[h(0x14e)]()[h(0x14f)](a53a)[h(0x14d)](h(0x14c));});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();import{Player}from'./player.js';function a53c(){const n=['_name','977536LnDiha','1576560hmnSzK','1520058tHClsS','execute','scene','moveTo','472fELLiJ','422244QLmLNB','speak','floor','_dialogue','random','(((.+)+)+)+$','search','toString','constructor','length','801122oOzAHA','name','apply','1753941KXkDOi','rooms','9910pQeqiL'];a53c=function(){return n;};return a53c();}import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];['_dialogue'];[a53i(0x13d)];[a53i(0x144)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x13f)]=a,this[j(0x14a)]=b,this[j(0x13d)]=c;}get[a53i(0x13a)](){return this['_name'];}[a53i(0x148)](){const k=a53i;return this[k(0x14a)][Math[k(0x149)](Math[k(0x14b)]()*this['_dialogue']['length'])];}['autonomousMove'](a){const l=a53i,b=a[Math[l(0x149)](Math[l(0x14b)]()*a[l(0x138)])];this[l(0x145)](b['name']);}[a53i(0x145)](a){const m=a53i,b={'actor':this,'rooms':this[m(0x13d)],'scene':this[m(0x144)]},c=new GoCommand(b);c[m(0x143)]([a]);}}
@@ -1 +1 @@
1
- function a54c(){const C=['6536508PMTGBv','torso','24624WhhiWH','leftHand','Invalid\x20category\x20or\x20slot:\x20','7032812hjbrEW','legarmor','toString','Boots','equip','weight','24EHQebd','logger','_playerName','boots','arm\x20armor','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','Max\x20carrying\x20weight\x20must\x20be\x20positive.','inventory','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','category','_maxCarryingWeight','currentLocation','name','legs','bodyarmor','shield','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','removeInventory','You\x20equipped\x20','.\x20You\x20must\x20unequip\x20it\x20first.','4145799feppKi','You\x20don\x27t\x20have\x20','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','4606005WqjbNI','log','Removed\x20','_currentLocation','feet','getWeight','maxCarryingWeight','bind','apply','1331901QHWZRs','Hat','LegArmor','getInstance','startLocation','weapon','leaveRoom','arms','addInventory','hasItem','A\x20featureless\x20room','\x20is\x20no\x20longer\x20listeng\x20in\x20','currentWeight','_equipment','addItem','Nexus','_inventory','values','unequipBySlot','\x20from\x20player\x27s\x20inventory.','You\x20unequipped\x20','11390LeOVua','head','body\x20armor','playerName','speak','Weapon','Added\x20','\x20to\x20player\x27s\x20inventory.','Shield','determineEquipmentSlot','unequip','2KInZxX','gloves','\x20slot.','You\x20can\x27t\x20equip\x20','hat','\x20in\x20your\x20inventory.','constructor','error','off','equipment','canEquip','BodyArmor','write','hear','276721GKyvHz','Helmet','toLowerCase','rightHand','enterRoom'];a54c=function(){return C;};return a54c();}const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x17b))/0x1+parseInt(f(0x1cb))/0x2*(parseInt(f(0x1ab))/0x3)+parseInt(f(0x185))/0x4+parseInt(f(0x1a2))/0x5+-parseInt(f(0x180))/0x6+parseInt(f(0x19f))/0x7*(parseInt(f(0x18b))/0x8)+parseInt(f(0x182))/0x9*(-parseInt(f(0x1c0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xed185));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x1aa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x187)]()['search']('(((.+)+)+)+$')[h(0x187)]()[h(0x1d1)](a54a)['search']('(((.+)+)+)+$');});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x176;let f=c[d];return f;},a54d(a,b);}import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];['_currentLocation'];['_inventory'];[a54i(0x1b8)];['_maxCarryingWeight']=0x32;[a54i(0x18c)];constructor(a){const j=a54i;super(),this[j(0x18d)]=a[j(0x1c3)],this[j(0x1a5)]=a[j(0x1af)]||new Room({'name':j(0x1ba),'description':j(0x1b5)}),this['_inventory']=new Inventory(),this['logger']=Logger[j(0x1ae)]();if(a?.['inventoryItems'])for(const b of a['inventoryItems']){this[j(0x1bb)]['addItem'](b);}this[j(0x1b8)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x197)](){const k=a54i;return this[k(0x18d)];}get[a54i(0x196)](){const l=a54i;return this[l(0x1a5)];}set[a54i(0x196)](a){const m=a54i;this[m(0x1a5)]!==a&&(this[m(0x1b1)](),this[m(0x17f)](a)),this[m(0x1a5)]=a;}get[a54i(0x192)](){const n=a54i;return this[n(0x1bb)];}get[a54i(0x176)](){const o=a54i;return this[o(0x1b8)];}set[a54i(0x176)](a){this['_equipment']=a;}get[a54i(0x1a8)](){const p=a54i;return this[p(0x195)];}set['maxCarryingWeight'](a){const q=a54i;a>0x0?this[q(0x195)]=a:console[q(0x1d2)](q(0x191));}get[a54i(0x1b7)](){const r=a54i;let a=this[r(0x1bb)][r(0x1a7)]();for(const b in this[r(0x1b8)]){const c=this[r(0x1b8)][b];c&&(a+=c['weight']);}return a;}[a54i(0x1b3)](a){const s=a54i;if(this[s(0x1b7)]+a[s(0x18a)]>this[s(0x1a8)]){this['logger']['write'](s(0x190));throw new Error(s(0x193));}this[s(0x1bb)][s(0x1b9)](a),this[s(0x18c)][s(0x179)](s(0x1c6)+a[s(0x197)]+s(0x1c7));}[a54i(0x19c)](a){const t=a54i;if(this[t(0x1bb)]['removeItem'](a[t(0x197)]))return this[t(0x18c)][t(0x179)](t(0x1a4)+a['name']+t(0x1be)),!![];return this['logger']['write']('Failed\x20to\x20remove\x20'+a[t(0x197)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a54i(0x189)](a){const u=a54i;if(!this[u(0x1bb)][u(0x1b4)](a[u(0x197)]))return u(0x1a0)+a['name']+u(0x1d0);if(!this['canEquip'](a))return u(0x1ce)+a[u(0x197)]+'.';const b=this[u(0x1c9)](a['category']);if(!b)return a[u(0x197)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[u(0x176)][b])return u(0x19b)+b+u(0x19e);return this['equipment'][b]=a,this[u(0x19c)](a),u(0x19d)+a[u(0x197)]+'.';}[a54i(0x1ca)](a){const v=a54i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[v(0x1c9)](a);if(!b)return v(0x184)+a+'.';}return this[v(0x1bd)](b);}['determineEquipmentSlot'](a){const w=a54i;switch(a[w(0x17d)]()){case Category[w(0x1c5)]['toLowerCase']():return w(0x17e);case Category[w(0x1c8)][w(0x17d)]():return w(0x183);case Category['Gloves']['toLowerCase']():return w(0x1cc);case Category[w(0x17c)][w(0x17d)]():case Category[w(0x1ac)][w(0x17d)]():return w(0x1c1);case Category[w(0x188)][w(0x17d)]():return w(0x1a6);case Category[w(0x1ad)]['toLowerCase']():return w(0x198);case Category['ArmArmor'][w(0x17d)]():return w(0x1b2);case Category[w(0x178)][w(0x17d)]():return w(0x181);case w(0x1b0):return w(0x17e);case w(0x19a):return'leftHand';case w(0x1cc):return w(0x1cc);case'helmet':case w(0x1cf):return w(0x1c1);case w(0x18e):return w(0x1a6);case'leg\x20armor':case w(0x186):return'legs';case w(0x18f):case'armarmor':return w(0x1b2);case w(0x1c2):case w(0x199):case w(0x181):return w(0x181);default:return null;}}[a54i(0x177)](a){const x=a54i;return Object[x(0x1bc)](Category)['includes'](a[x(0x194)]);}[a54i(0x1bd)](a){const y=a54i,b=this['equipment'][a];if(!b)return y(0x1a1)+a+y(0x1cd);return this[y(0x1b3)](b),this[y(0x176)][a]=null,y(0x1bf)+b['name']+'.';}[a54i(0x17a)](a,b){const z=a54i;a!==this&&this['logger'][z(0x1a3)](a[z(0x197)]+'\x20says:\x20\x22'+b+'\x22');}[a54i(0x17f)](a){const A=a54i;this[A(0x1a5)]=a,a['on'](A(0x1c4),this[A(0x17a)][A(0x1a9)](this)),this[A(0x18c)][A(0x179)](this[A(0x197)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a['name']);}[a54i(0x1b1)](){const B=a54i;this[B(0x1a5)]&&(this['_currentLocation'][B(0x1d3)]('speak',this[B(0x17a)][B(0x1a9)](this)),this[B(0x18c)][B(0x179)](this['name']+B(0x1b6)+this[B(0x1a5)][B(0x197)]));}}
1
+ const a54i=a54d;function a54c(){const C=['3227IGiHYq','Max\x20carrying\x20weight\x20must\x20be\x20positive.','boots','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','includes','equipment','getInstance','maxCarryingWeight','You\x20don\x27t\x20have\x20','Gloves','getWeight','armarmor','inventoryItems','body\x20armor','Hat','177ECSwQs','arms','hasItem','category','A\x20featureless\x20room','3494886YlsmwS','_playerName','arm\x20armor','518139OeLsYk','gloves','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','name','toLowerCase','playerName','_inventory','Added\x20','head','legs','determineEquipmentSlot','104028NEubPO','Removed\x20','feet','hear','apply','280bkTyES','legarmor','unequipBySlot','\x20in\x20your\x20inventory.','speak','.\x20You\x20must\x20unequip\x20it\x20first.','\x20from\x20player\x27s\x20inventory.','inventory','weight','_equipment','values','\x20is\x20now\x20listening\x20in\x20room\x20','rightHand','You\x20can\x27t\x20equip\x20','5107795mwUNoL','You\x20equipped\x20','currentWeight','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','write','leaveRoom','You\x20unequipped\x20','canEquip','Nexus','off','\x20says:\x20\x22','removeInventory','currentLocation','addItem','search','logger','997700RNLXuJ','weapon','Failed\x20to\x20remove\x20','error','shield','equip','LegArmor','_maxCarryingWeight','torso','toString','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','_currentLocation','bind','3659940IJJKSp','addInventory','leftHand','1616pkISHy','initialEquipment'];a54c=function(){return C;};return a54c();}(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0xd3))/0x1+-parseInt(f(0xf9))/0x2+parseInt(f(0xf4))/0x3*(parseInt(f(0x107))/0x4)+parseInt(f(0xc3))/0x5+parseInt(f(0xe0))/0x6+-parseInt(f(0xe5))/0x7*(-parseInt(f(0xe3))/0x8)+parseInt(f(0xfc))/0x9*(-parseInt(f(0xb5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xdb149));function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xb3;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(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0xdc)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a54a)[h(0xd1)]('(((.+)+)+)+$');});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';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0xfa)];[a54i(0xde)];[a54i(0x102)];[a54i(0xbe)];['_maxCarryingWeight']=0x32;['logger'];constructor(a){const j=a54i;super(),this[j(0xfa)]=a[j(0x101)],this[j(0xde)]=a['startLocation']||new Room({'name':j(0xcb),'description':j(0xf8)}),this[j(0x102)]=new Inventory(),this[j(0xd2)]=Logger[j(0xeb)]();if(a?.[j(0xf1)])for(const b of a[j(0xf1)]){this[j(0x102)][j(0xd0)](b);}this[j(0xbe)]=a?.[j(0xe4)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a54i;return this[k(0xfa)];}get[a54i(0xcf)](){const l=a54i;return this[l(0xde)];}set[a54i(0xcf)](a){const m=a54i;this[m(0xde)]!==a&&(this['leaveRoom'](),this['enterRoom'](a)),this[m(0xde)]=a;}get[a54i(0xbc)](){return this['_inventory'];}get[a54i(0xea)](){const n=a54i;return this[n(0xbe)];}set[a54i(0xea)](a){const o=a54i;this[o(0xbe)]=a;}get[a54i(0xec)](){const p=a54i;return this[p(0xda)];}set[a54i(0xec)](a){const q=a54i;a>0x0?this[q(0xda)]=a:console[q(0xd6)](q(0xe6));}get['currentWeight'](){const r=a54i;let a=this[r(0x102)][r(0xef)]();for(const b in this[r(0xbe)]){const c=this['_equipment'][b];c&&(a+=c['weight']);}return a;}[a54i(0xe1)](a){const s=a54i;if(this[s(0xc5)]+a[s(0xbd)]>this['maxCarryingWeight']){this[s(0xd2)][s(0xc7)](s(0xdd));throw new Error(s(0xfe));}this[s(0x102)][s(0xd0)](a),this['logger'][s(0xc7)](s(0x103)+a[s(0xff)]+'\x20to\x20player\x27s\x20inventory.');}[a54i(0xce)](a){const t=a54i;if(this[t(0x102)]['removeItem'](a[t(0xff)]))return this[t(0xd2)]['write'](t(0x108)+a['name']+t(0xbb)),!![];return this[t(0xd2)][t(0xc7)](t(0xd5)+a[t(0xff)]+t(0xbb)),![];}[a54i(0xd8)](a){const u=a54i;if(!this[u(0x102)][u(0xf6)](a[u(0xff)]))return u(0xed)+a['name']+u(0xb8);if(!this[u(0xca)](a))return u(0xc2)+a[u(0xff)]+'.';const b=this[u(0x106)](a[u(0xf7)]);if(!b)return a['name']+u(0xc6);if(this[u(0xea)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+u(0xba);return this[u(0xea)][b]=a,this[u(0xce)](a),u(0xc4)+a[u(0xff)]+'.';}['unequip'](a){const v=a54i;let b=a;if(!this[v(0xea)][camelCase(b)]){b=this[v(0x106)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[v(0xb7)](b);}['determineEquipmentSlot'](a){const w=a54i;switch(a['toLowerCase']()){case Category['Weapon'][w(0x100)]():return w(0xc1);case Category['Shield'][w(0x100)]():return w(0xe2);case Category[w(0xee)]['toLowerCase']():return w(0xfd);case Category['Helmet'][w(0x100)]():case Category[w(0xf3)][w(0x100)]():return w(0x104);case Category['Boots'][w(0x100)]():return'feet';case Category[w(0xd9)][w(0x100)]():return w(0x105);case Category['ArmArmor'][w(0x100)]():return w(0xf5);case Category['BodyArmor'][w(0x100)]():return w(0xdb);case w(0xd4):return w(0xc1);case w(0xd7):return'leftHand';case w(0xfd):return'gloves';case'helmet':case'hat':return w(0x104);case w(0xe7):return w(0x109);case'leg\x20armor':case w(0xb6):return w(0x105);case w(0xfb):case w(0xf0):return'arms';case w(0xf2):case'bodyarmor':case'torso':return w(0xdb);default:return null;}}['canEquip'](a){const x=a54i;return Object[x(0xbf)](Category)[x(0xe9)](a[x(0xf7)]);}[a54i(0xb7)](a){const y=a54i,b=this['equipment'][a];if(!b)return y(0xe8)+a+'\x20slot.';return this[y(0xe1)](b),this['equipment'][a]=null,y(0xc9)+b['name']+'.';}[a54i(0xb3)](a,b){const z=a54i;a!==this&&this[z(0xd2)]['log'](a[z(0xff)]+z(0xcd)+b+'\x22');}['enterRoom'](a){const A=a54i;this[A(0xde)]=a,a['on']('speak',this[A(0xb3)]['bind'](this)),this['logger'][A(0xc7)](this[A(0xff)]+A(0xc0)+a[A(0xff)]);}[a54i(0xc8)](){const B=a54i;this['_currentLocation']&&(this['_currentLocation'][B(0xcc)](B(0xb9),this[B(0xb3)][B(0xdf)](this)),this['logger']['write'](this['name']+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[B(0xde)]['name']));}}
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x1ea))/0x1+-parseInt(f(0x1da))/0x2*(parseInt(f(0x1dd))/0x3)+parseInt(f(0x1e7))/0x4+-parseInt(f(0x1f3))/0x5+parseInt(f(0x1ef))/0x6+parseInt(f(0x1e1))/0x7*(-parseInt(f(0x1d4))/0x8)+parseInt(f(0x1e8))/0x9*(parseInt(f(0x1ed))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x4c98a));function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1d2;var f=c[d];return f;},a55d(a,b);}function a55c(){var n=['(((.+)+)+)+$','getInstance','1966KwlVHB','successMessage','constructor','1371kOBXIN','matchesRequiredPhrase','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','solved','763MTFgtV','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','hasItem','You\x20have\x20already\x20solved\x20this\x20puzzle.','Puzzle:\x20Correct\x20solution\x20provided.','logger','235272xISDNL','727677IeWdMx','solve','560587MqamJT','riddle','requiredPhrase','30fthTLT','toString','3057888NUhNud','rewardItem','write','requiredItem','930250tYKTrd','apply','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','31016raKEoD','You\x20solved\x20the\x20puzzle!','search','failureMessage'];a55c=function(){return n;};return a55c();}var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1d2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x1ee)]()[h(0x1d6)](h(0x1d8))[h(0x1ee)]()[h(0x1dc)](a55a)[h(0x1d6)](h(0x1d8));});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a55i(0x1d9)]();[a55i(0x1e0)]=![];['requiredItem'];['requiredPhrase'];[a55i(0x1eb)];[a55i(0x1f0)];[a55i(0x1db)];['failureMessage'];constructor(a){var j=a55i;super(),this[j(0x1f2)]=a[j(0x1f2)],this[j(0x1ec)]=a[j(0x1ec)],this[j(0x1eb)]=a[j(0x1eb)],this[j(0x1f0)]=a['rewardItem'],this[j(0x1db)]=a['successMessage']||j(0x1d5),this[j(0x1d7)]=a[j(0x1d7)]||j(0x1df);}['hasRequiredItem'](a){var k=a55i;if(this[k(0x1f2)])return a[k(0x1e3)](this['requiredItem']);return![];}['matchesRequiredPhrase'](a){var l=a55i;return this[l(0x1ec)]===a;}[a55i(0x1e9)](a,b){var m=a55i;if(this['solved'])return this[m(0x1e6)]['write'](m(0x1d3)),{'success':![],'message':m(0x1e4)};return this['hasRequiredItem'](b)||this[m(0x1de)](a)?(this[m(0x1e0)]=!![],this['logger'][m(0x1f1)](m(0x1e5)),{'success':!![],'message':this['successMessage']}):(this[m(0x1e6)]['write'](m(0x1e2)),{'success':![],'message':this[m(0x1d7)]});}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x159))/0x1*(parseInt(f(0x162))/0x2)+-parseInt(f(0x15a))/0x3+-parseInt(f(0x163))/0x4*(parseInt(f(0x154))/0x5)+-parseInt(f(0x161))/0x6+-parseInt(f(0x169))/0x7+-parseInt(f(0x15c))/0x8*(parseInt(f(0x165))/0x9)+parseInt(f(0x16c))/0xa*(parseInt(f(0x157))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xdb74f));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x160)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x153)]()[h(0x152)](h(0x16d))[h(0x153)]()['constructor'](a55a)[h(0x152)](h(0x16d));});a55a();function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x151;var f=c[d];return f;},a55d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55i(0x168)]=Logger[a55i(0x158)]();[a55i(0x164)]=![];[a55i(0x16a)];[a55i(0x15e)];[a55i(0x16f)];[a55i(0x15d)];['successMessage'];[a55i(0x167)];constructor(a){var j=a55i;super(),this[j(0x16a)]=a[j(0x16a)],this[j(0x15e)]=a[j(0x15e)],this[j(0x16f)]=a[j(0x16f)],this[j(0x15d)]=a[j(0x15d)],this['successMessage']=a[j(0x15f)]||j(0x155),this[j(0x167)]=a['failureMessage']||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a55i(0x156)](a){var k=a55i;if(this['requiredItem'])return a['hasItem'](this[k(0x16a)]);return![];}['matchesRequiredPhrase'](a){var l=a55i;return this[l(0x15e)]===a;}['solve'](a,b){var m=a55i;if(this['solved'])return this['logger'][m(0x15b)](m(0x16e)),{'success':![],'message':m(0x151)};return this[m(0x156)](b)||this['matchesRequiredPhrase'](a)?(this['solved']=!![],this['logger'][m(0x15b)](m(0x166)),{'success':!![],'message':this[m(0x15f)]}):(this[m(0x168)][m(0x15b)](m(0x16b)),{'success':![],'message':this[m(0x167)]});}}function a55c(){var n=['2QAjPrl','572712olNMVw','solved','1188qUHMGQ','Puzzle:\x20Correct\x20solution\x20provided.','failureMessage','logger','8877421qKejrk','requiredItem','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','72768370uDOMqS','(((.+)+)+)+$','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','riddle','You\x20have\x20already\x20solved\x20this\x20puzzle.','search','toString','10oyvHDW','You\x20solved\x20the\x20puzzle!','hasRequiredItem','11EFceAe','getInstance','556089QIltku','3641826NVNnsx','write','97192VLmqrO','rewardItem','requiredPhrase','successMessage','apply','8698104eSOVqD'];a55c=function(){return n;};return a55c();}
@@ -1 +1 @@
1
- const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x14e))/0x1*(parseInt(f(0x14b))/0x2)+parseInt(f(0x14c))/0x3*(parseInt(f(0x164))/0x4)+-parseInt(f(0x167))/0x5+parseInt(f(0x158))/0x6*(-parseInt(f(0x144))/0x7)+-parseInt(f(0x174))/0x8*(parseInt(f(0x15d))/0x9)+parseInt(f(0x141))/0xa*(parseInt(f(0x147))/0xb)+parseInt(f(0x172))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x33a85));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x149)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x152)]()[h(0x16d)]('(((.+)+)+)+$')['toString']()[h(0x153)](a56a)['search'](h(0x137));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x137;let f=c[d];return f;},a56d(a,b);}import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a56c(){const u=['isExitLocked','apply','addItem','240082BRvsCo','20376yUpmjP','write','1LMOCFN','\x20remains\x20locked.','roomA','get','toString','constructor','SOUTH','checkIfLocked','\x20unlocked!','north','2526eZWrAj','set','findExistingDoor','attemptUnlock','west','27IqBJAP','roomType','exits','emit','Item\x20added\x20to\x20room\x20','WEST','DOWN','216IMGoBv','Room\x20created:\x20','getOppositeDirection','1263350SEleqX','getInstance','removeItem','No\x20locked\x20exit\x20found\x20in\x20direction\x20','riddle','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','search','isStartRoom','INSIDE','\x20is\x20locked.\x20Result:\x20','description','5048712UpoKSv','logger','318872xwYrER','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','(((.+)+)+)+$','addExit','inventory','name','hasItem','getExit','Puzzle\x20set\x20for\x20room\x20','Invalid\x20direction:\x20','puzzle','roomB','60OTwPZR','values','The\x20','3451IDRlbo','.\x20Success:\x20','east','227216tqIoSf'];a56c=function(){return u;};return a56c();}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x173)]=Logger[a56i(0x168)]();[a56i(0x13a)];[a56i(0x171)];[a56i(0x15f)]=new Map();[a56i(0x15e)];[a56i(0x16e)];[a56i(0x139)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x13a)]=a['name'],this['description']=a[j(0x171)],this[j(0x15e)]=a[j(0x15e)]||RoomType[j(0x16f)],a[j(0x15f)]&&(this[j(0x15f)]=a['exits']||new Map()),a[j(0x139)]&&(this['inventory']=a[j(0x139)]),a[j(0x13f)]&&(this[j(0x13f)]=a[j(0x13f)]),this[j(0x16e)]=a[j(0x16e)]||![],this['logger'][j(0x14d)](j(0x165)+this[j(0x13a)]);}['say'](a,b){const k=a56i;this[k(0x160)]('speak',a,b);}[a56i(0x138)](a,b,c){const l=a56i;let d=this[l(0x15a)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x15f)][l(0x159)](a,d),b[l(0x15f)][l(0x159)](this['getOppositeDirection'](a),d);}['attemptUnlockExit'](a,b){const m=a56i,c=this[m(0x15f)]['get'](a);if(c instanceof Door){const d=c[m(0x15b)](b);return this[m(0x173)][m(0x14d)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0x145)+d),d?m(0x143)+c['name']+m(0x156):m(0x143)+c[m(0x13a)]+m(0x14f);}return this['logger']['write'](m(0x16a)+a),m(0x16c);}[a56i(0x13c)](a){const n=a56i;return this[n(0x173)][n(0x14d)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this['exits'][n(0x151)](a);}[a56i(0x148)](a){const o=a56i,b=this[o(0x15f)][o(0x151)](a),c=b instanceof Door&&b[o(0x155)]();return this[o(0x173)]['write']('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0x170)+c),c;}[a56i(0x14a)](a){const p=a56i;this[p(0x139)][p(0x14a)](a),this['logger'][p(0x14d)](p(0x161)+this[p(0x13a)]+':\x20'+a[p(0x13a)]);}[a56i(0x169)](a){const q=a56i;this[q(0x139)][q(0x13b)](a[q(0x13a)])?(this[q(0x139)][q(0x169)](a[q(0x13a)]),this[q(0x173)][q(0x14d)]('Item\x20removed\x20from\x20room\x20'+this[q(0x13a)]+':\x20'+a[q(0x13a)])):this[q(0x173)][q(0x14d)](q(0x175)+this[q(0x13a)]+':\x20'+a['name']);}['setPuzzle'](a){const r=a56i;this['puzzle']=a,this[r(0x173)][r(0x14d)](r(0x13d)+this[r(0x13a)]+':\x20'+a[r(0x16b)]);}[a56i(0x166)](a){const s=a56i;switch(a){case s(0x157):return Direction[s(0x154)];case'south':return Direction['NORTH'];case s(0x146):return Direction[s(0x162)];case s(0x15c):return Direction['EAST'];case'up':return Direction[s(0x163)];case'down':return Direction['UP'];default:throw new Error(s(0x13e)+a);}}['findExistingDoor'](a){const t=a56i;for(const b of this['exits'][t(0x142)]()){if(b instanceof Door){if(b[t(0x150)]===this&&b[t(0x140)]===a||b[t(0x140)]===this&&b[t(0x150)]===a)return b;}}return undefined;}}
1
+ const a56i=a56d;function a56c(){const u=['puzzle','Item\x20removed\x20from\x20room\x20','removeItem','2tDBemv','toString','.\x20Success:\x20','write','logger','speak','The\x20','apply','INSIDE','93789DiUbcT','SOUTH','WEST','roomA','isStartRoom','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','DOWN','402885UgCZsz','Item\x20added\x20to\x20room\x20','Fetching\x20exit\x20in\x20direction:\x20','east','2897092jrSgYR','values','say','north','hasItem','Invalid\x20direction:\x20','Room\x20created:\x20','set','name','roomB','EAST','65BsaKBe','Puzzle\x20set\x20for\x20room\x20','126194gxbytK','NORTH','setPuzzle','description','No\x20locked\x20exit\x20found\x20in\x20direction\x20','\x20is\x20locked.\x20Result:\x20','getExit','constructor','1334304qFfStw','emit','addExit','230ZOhTtS','getOppositeDirection','isExitLocked','(((.+)+)+)+$','getInstance','7637lIgild','roomType','41596yMkhwz','search','down','addItem','get','inventory','findExistingDoor','exits','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','318KtravY','attemptUnlockExit'];a56c=function(){return u;};return a56c();}(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0xd3))/0x1*(-parseInt(f(0xf3))/0x2)+-parseInt(f(0x103))/0x3+parseInt(f(0xe5))/0x4*(parseInt(f(0xd1))/0x5)+parseInt(f(0xee))/0x6*(parseInt(f(0xe3))/0x7)+parseInt(f(0xdb))/0x8+-parseInt(f(0xfc))/0x9*(parseInt(f(0xde))/0xa)+parseInt(f(0xc6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x1e076));function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0xc6;let f=c[d];return f;},a56d(a,b);}const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0xf4)]()['search'](h(0xe1))[h(0xf4)]()[h(0xda)](a56a)[h(0xe6)](h(0xe1));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0xf7)]=Logger[a56i(0xe2)]();[a56i(0xce)];[a56i(0xd6)];[a56i(0xec)]=new Map();[a56i(0xe4)];[a56i(0x100)];[a56i(0xea)]=new Inventory();constructor(a){const j=a56i;super(),this['name']=a['name'],this[j(0xd6)]=a[j(0xd6)],this[j(0xe4)]=a['roomType']||RoomType[j(0xfb)],a[j(0xec)]&&(this[j(0xec)]=a[j(0xec)]||new Map()),a[j(0xea)]&&(this[j(0xea)]=a[j(0xea)]),a[j(0xf0)]&&(this[j(0xf0)]=a['puzzle']),this[j(0x100)]=a[j(0x100)]||![],this[j(0xf7)][j(0xf6)](j(0xcc)+this[j(0xce)]);}[a56i(0xc8)](a,b){const k=a56i;this[k(0xdc)](k(0xf8),a,b);}[a56i(0xdd)](a,b,c){const l=a56i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0xec)][l(0xcd)](a,d),b[l(0xec)][l(0xcd)](this['getOppositeDirection'](a),d);}[a56i(0xef)](a,b){const m=a56i,c=this[m(0xec)][m(0xe9)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0xf7)][m(0xf6)](m(0xed)+a+m(0xf5)+d),d?m(0xf9)+c[m(0xce)]+'\x20unlocked!':m(0xf9)+c['name']+'\x20remains\x20locked.';}return this[m(0xf7)][m(0xf6)](m(0xd7)+a),m(0x101);}[a56i(0xd9)](a){const n=a56i;return this['logger']['write'](n(0x105)+a),this[n(0xec)][n(0xe9)](a);}[a56i(0xe0)](a){const o=a56i,b=this['exits'][o(0xe9)](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0xf7)][o(0xf6)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0xd8)+c),c;}[a56i(0xe8)](a){const p=a56i;this[p(0xea)][p(0xe8)](a),this[p(0xf7)][p(0xf6)](p(0x104)+this[p(0xce)]+':\x20'+a['name']);}[a56i(0xf2)](a){const q=a56i;this[q(0xea)][q(0xca)](a['name'])?(this[q(0xea)][q(0xf2)](a[q(0xce)]),this['logger']['write'](q(0xf1)+this[q(0xce)]+':\x20'+a['name'])):this[q(0xf7)][q(0xf6)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this['name']+':\x20'+a[q(0xce)]);}[a56i(0xd5)](a){const r=a56i;this['puzzle']=a,this[r(0xf7)]['write'](r(0xd2)+this['name']+':\x20'+a['riddle']);}[a56i(0xdf)](a){const s=a56i;switch(a){case s(0xc9):return Direction[s(0xfd)];case'south':return Direction[s(0xd4)];case s(0x106):return Direction[s(0xfe)];case'west':return Direction[s(0xd0)];case'up':return Direction[s(0x102)];case s(0xe7):return Direction['UP'];default:throw new Error(s(0xcb)+a);}}[a56i(0xeb)](a){const t=a56i;for(const b of this[t(0xec)][t(0xc7)]()){if(b instanceof Door){if(b[t(0xff)]===this&&b[t(0xcf)]===a||b[t(0xcf)]===this&&b['roomA']===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(0x1a8))/0x1*(-parseInt(i(0x1b6))/0x2)+parseInt(i(0x184))/0x3*(parseInt(i(0x1b4))/0x4)+-parseInt(i(0x19a))/0x5*(-parseInt(i(0x191))/0x6)+parseInt(i(0x1be))/0x7+-parseInt(i(0x196))/0x8+-parseInt(i(0x181))/0x9*(-parseInt(i(0x17a))/0xa)+parseInt(i(0x19f))/0xb*(-parseInt(i(0x18e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xd534f));function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x178;let f=c[d];return f;},a57d(a,b);}const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x1a2)]()['search'](k(0x1bd))[k(0x1a2)]()[k(0x189)](a57a)['search'](k(0x1bd));});a57a();import{Logger}from'../utilities/logger.js';function a57c(){const E=['2370168IWuYSb','roomFactory','allActors','player','67805DhVXwk','get','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','addExit','9826729IZuObi','Failed\x20to\x20add\x20puzzle.\x20Room\x20','toUpperCase','toString','getActor','\x20is\x20now\x20in\x20room\x20','from','Added\x20puzzle\x20to\x20room\x20','Actor\x20with\x20name\x20','598065UyMRSj','name','\x20to\x20room\x20','\x20already\x20exists\x20in\x20the\x20scene.','setPuzzle','characterLocations','determineStartRoom','has','generateRoomsFromConfig','rooms','set','\x22\x20does\x20not\x20exist.','956tlWIbH','createRoom','2dCCYHQ','Added\x20item\x20','addItem','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','apply','addItemToRoom','roomConfiguration','(((.+)+)+)+$','804825mLanEs','Room\x20\x22','write','removeRoom','\x27s\x20location.\x20Room\x20','exits','length','getRooms','.\x20Room\x20','170dfrngG','keys','\x20not\x20found\x20in\x20scene.','addRoom','connectRooms','logger','warn','507609Rdjbfd','values','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','21774WXljLm','Scene\x20initialized\x20with\x20rooms:\x20','Failed\x20to\x20add\x20item\x20','createExitsFromConfig','addActor','constructor','initialize','addPuzzleToRoom','actors','removeActor','24ZOdykm','\x20found\x20in\x20the\x20scene.','No\x20actor\x20with\x20name\x20','330mWBOzr','isStartRoom','keyRequired','getInstance','push'];a57c=function(){return E;};return a57c();}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57l(0x1b1)];[a57l(0x199)];[a57l(0x17f)];[a57l(0x18c)];['characterLocations']=new Map();[a57l(0x197)];constructor(a){const m=a57l;super(),this[m(0x197)]=new RoomFactory(),this['player']=a[m(0x199)],this[m(0x1b1)]=this['generateRoomsFromConfig'](a['roomConfiguration']),this['logger']=Logger[m(0x194)](),this[m(0x18c)]=new Map(),this[m(0x187)](a[m(0x1bc)]),this[m(0x17f)]['write'](m(0x185)+Object[m(0x17b)](this[m(0x1b1)])['join'](',\x20'));}[a57l(0x18a)](){const n=a57l;this[n(0x199)]['currentLocation']=this[n(0x1ae)]();}[a57l(0x1b0)](a){const o=a57l;if(!this['roomFactory'])throw new Error(o(0x1b9));const b={};for(const c of a){const d=this[o(0x197)][o(0x1b5)](c);b[c[o(0x1a9)]]=d;}return b;}['createExitsFromConfig'](a){const p=a57l;for(const b of a){const c=this[p(0x1b1)][b[p(0x1a9)]];if(b[p(0x1c3)])for(const d of b[p(0x1c3)]){const e=d['direction'][p(0x1a1)](),f=d['targetRoom'],g=d[p(0x193)],h=this['rooms'][f];h&&c[p(0x19e)](Direction[e],h,g);}}}[a57l(0x188)](a){const q=a57l;if(this['actors'][q(0x1af)](a['name']))throw new Error(q(0x1a7)+a[q(0x1a9)]+q(0x1ab));this[q(0x18c)][q(0x1b2)](a['name'],a);}[a57l(0x18d)](a){const r=a57l;if(!this[r(0x18c)][r(0x1af)](a))throw new Error(r(0x190)+a+r(0x18f));this['actors']['delete'](a);}[a57l(0x1a3)](a){const s=a57l;return this[s(0x18c)]['get'](a);}get[a57l(0x198)](){const t=a57l;return Array[t(0x1a5)](this[t(0x18c)][t(0x182)]());}[a57l(0x17d)](a){const u=a57l;this[u(0x1b1)][a[u(0x1a9)]]=a,this[u(0x17f)]['write']('Added\x20room\x20to\x20scene:\x20'+a[u(0x1a9)]);}[a57l(0x1c1)](a){const v=a57l;return this[v(0x1b1)][a]?(delete this[v(0x1b1)][a],this['logger']['write']('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0x17f)]['write'](v(0x19d)+a),![]);}[a57l(0x1bb)](a,b){const w=a57l,c=this[w(0x1b1)][b];c?(c[w(0x1b8)](a),this['logger'][w(0x1c0)](w(0x1b7)+a['name']+w(0x1aa)+c[w(0x1a9)])):this[w(0x17f)][w(0x1c0)](w(0x186)+a[w(0x1a9)]+w(0x179)+b+w(0x17c));}[a57l(0x18b)](a,b){const x=a57l,c=this['rooms'][b];c?(c[x(0x1ac)](a),this[x(0x17f)][x(0x1c0)](x(0x1a6)+c[x(0x1a9)])):this[x(0x17f)][x(0x1c0)](x(0x1a0)+b+x(0x17c));}['setCharacterLocation'](a,b){const y=a57l,c=this[y(0x1b1)][b];c?(this['characterLocations'][y(0x1b2)](a[y(0x1a9)],c),this['logger']['write'](a[y(0x1a9)]+y(0x1a4)+c['name'])):this['logger'][y(0x1c0)]('Failed\x20to\x20set\x20'+a['name']+y(0x1c2)+b+y(0x17c));}['getCharacterLocation'](a){const z=a57l;return this[z(0x1ad)][z(0x19b)](a[z(0x1a9)]);}[a57l(0x1ae)](){const A=a57l,a=[];for(const c in this['rooms']){if(this['rooms']['hasOwnProperty'](c)){const d=this[A(0x1b1)][c];d[A(0x192)]&&a[A(0x195)](d);}}if(a[A(0x1c4)]>0x1)throw new Error(A(0x19c));if(a[A(0x1c4)]===0x1)return a[0x0];const b=Object['keys'](this['rooms']);if(b['length']===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[A(0x180)](A(0x183)),this[A(0x1b1)][b[0x0]];}['getPlayer'](){const B=a57l;return this[B(0x199)];}[a57l(0x178)](){const C=a57l;return this[C(0x1b1)];}[a57l(0x17e)](a,b,c,d){const D=a57l,e=this[D(0x1b1)][a],f=this[D(0x1b1)][c];if(!e)throw new Error('Room\x20\x22'+a+D(0x1b3));if(!f)throw new Error(D(0x1bf)+c+D(0x1b3));e[D(0x19e)](b,f,d);}}
1
+ const a57l=a57d;function a57c(){const D=['push','Removed\x20room\x20from\x20scene:\x20','getPlayer','write','getInstance','keys','toUpperCase','setCharacterLocation','keyRequired','createRoom','addItem','delete','63nIHAwa','rooms','\x20not\x20found\x20in\x20scene.','removeRoom','player','addActor','logger','initialize','addRoom','roomFactory','2525RhObZD','length','257ZJwseX','getRooms','apply','search','isStartRoom','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','431130mRUkyh','actors','getCharacterLocation','set','Added\x20puzzle\x20to\x20room\x20','determineStartRoom','Added\x20room\x20to\x20scene:\x20','has','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','generateRoomsFromConfig','519pCKKvO','\x20found\x20in\x20the\x20scene.','connectRooms','Room\x20\x22','name','constructor','addItemToRoom','exits','10792wBlIit','Scene\x20initialized\x20with\x20rooms:\x20','8572rRLfAr','roomConfiguration','Failed\x20to\x20add\x20puzzle.\x20Room\x20','\x20already\x20exists\x20in\x20the\x20scene.','(((.+)+)+)+$','\x20to\x20room\x20','Failed\x20to\x20set\x20','toString','characterLocations','4610168QDRJUu','2552506pLtthi','getActor','3871378QicFFw','addPuzzleToRoom','.\x20Room\x20','\x22\x20does\x20not\x20exist.','\x20is\x20now\x20in\x20room\x20','Added\x20item\x20','warn','Failed\x20to\x20add\x20item\x20','from','7530OHRoTv','values','join','get'];a57c=function(){return D;};return a57c();}(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x15f))/0x1*(parseInt(i(0x17a))/0x2)+parseInt(i(0x170))/0x3*(-parseInt(i(0x178))/0x4)+parseInt(i(0x15d))/0x5*(-parseInt(i(0x143))/0x6)+-parseInt(i(0x13a))/0x7+parseInt(i(0x137))/0x8+parseInt(i(0x153))/0x9*(parseInt(i(0x165))/0xa)+parseInt(i(0x138))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x883cb));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x161)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a['toString']()['search'](k(0x132))[k(0x135)]()[k(0x175)](a57a)[k(0x162)](k(0x132));});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';function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x130;let f=c[d];return f;},a57d(a,b);}export class Scene extends AbstractScene{[a57l(0x154)];[a57l(0x157)];[a57l(0x159)];[a57l(0x166)];['characterLocations']=new Map();[a57l(0x15c)];constructor(a){const m=a57l;super(),this[m(0x15c)]=new RoomFactory(),this[m(0x157)]=a['player'],this['rooms']=this[m(0x16f)](a['roomConfiguration']),this[m(0x159)]=Logger[m(0x14b)](),this[m(0x166)]=new Map(),this['createExitsFromConfig'](a[m(0x17b)]),this['logger'][m(0x14a)](m(0x179)+Object[m(0x14c)](this['rooms'])[m(0x145)](',\x20'));}[a57l(0x15a)](){const n=a57l;this[n(0x157)]['currentLocation']=this[n(0x16a)]();}[a57l(0x16f)](a){const o=a57l;if(!this[o(0x15c)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this['roomFactory'][o(0x150)](c);b[c['name']]=d;}return b;}['createExitsFromConfig'](a){const p=a57l;for(const b of a){const c=this['rooms'][b[p(0x174)]];if(b['exits'])for(const d of b[p(0x177)]){const e=d['direction'][p(0x14d)](),f=d['targetRoom'],g=d[p(0x14f)],h=this[p(0x154)][f];h&&c['addExit'](Direction[e],h,g);}}}[a57l(0x158)](a){const q=a57l;if(this[q(0x166)][q(0x16c)](a[q(0x174)]))throw new Error('Actor\x20with\x20name\x20'+a['name']+q(0x131));this['actors'][q(0x168)](a['name'],a);}['removeActor'](a){const r=a57l;if(!this[r(0x166)][r(0x16c)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x171));this[r(0x166)][r(0x152)](a);}[a57l(0x139)](a){const s=a57l;return this[s(0x166)][s(0x146)](a);}get['allActors'](){const t=a57l;return Array[t(0x142)](this[t(0x166)][t(0x144)]());}[a57l(0x15b)](a){const u=a57l;this[u(0x154)][a[u(0x174)]]=a,this[u(0x159)][u(0x14a)](u(0x16b)+a['name']);}[a57l(0x156)](a){const v=a57l;return this[v(0x154)][a]?(delete this[v(0x154)][a],this[v(0x159)][v(0x14a)](v(0x148)+a),!![]):(this[v(0x159)]['write']('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}[a57l(0x176)](a,b){const w=a57l,c=this['rooms'][b];c?(c[w(0x151)](a),this[w(0x159)][w(0x14a)](w(0x13f)+a[w(0x174)]+w(0x133)+c[w(0x174)])):this[w(0x159)][w(0x14a)](w(0x141)+a[w(0x174)]+w(0x13c)+b+w(0x155));}[a57l(0x13b)](a,b){const x=a57l,c=this[x(0x154)][b];c?(c['setPuzzle'](a),this[x(0x159)][x(0x14a)](x(0x169)+c['name'])):this[x(0x159)][x(0x14a)](x(0x130)+b+x(0x155));}[a57l(0x14e)](a,b){const y=a57l,c=this[y(0x154)][b];c?(this['characterLocations'][y(0x168)](a['name'],c),this[y(0x159)][y(0x14a)](a['name']+y(0x13e)+c['name'])):this[y(0x159)][y(0x14a)](y(0x134)+a[y(0x174)]+'\x27s\x20location.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a57l(0x167)](a){const z=a57l;return this[z(0x136)][z(0x146)](a['name']);}['determineStartRoom'](){const A=a57l,a=[];for(const c in this[A(0x154)]){if(this['rooms']['hasOwnProperty'](c)){const d=this[A(0x154)][c];d[A(0x163)]&&a[A(0x147)](d);}}if(a[A(0x15e)]>0x1)throw new Error(A(0x164));if(a[A(0x15e)]===0x1)return a[0x0];const b=Object[A(0x14c)](this['rooms']);if(b[A(0x15e)]===0x0)throw new Error(A(0x16d));return console[A(0x140)](A(0x16e)),this[A(0x154)][b[0x0]];}[a57l(0x149)](){const B=a57l;return this[B(0x157)];}[a57l(0x160)](){return this['rooms'];}[a57l(0x172)](a,b,c,d){const C=a57l,e=this[C(0x154)][a],f=this[C(0x154)][c];if(!e)throw new Error(C(0x173)+a+C(0x13d));if(!f)throw new Error(C(0x173)+c+C(0x13d));e['addExit'](b,f,d);}}