@maka/maka-cli 5.0.7 → 5.0.9

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 a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0xce))/0x1+-parseInt(f(0xee))/0x2*(parseInt(f(0xd7))/0x3)+parseInt(f(0xb9))/0x4*(parseInt(f(0xc5))/0x5)+-parseInt(f(0xbb))/0x6*(-parseInt(f(0xe4))/0x7)+-parseInt(f(0xc3))/0x8*(-parseInt(f(0xe1))/0x9)+-parseInt(f(0xd8))/0xa*(parseInt(f(0xdf))/0xb)+-parseInt(f(0xde))/0xc*(parseInt(f(0xcd))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xc1895));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a['toString']()[g(0xdd)](g(0xea))[g(0xda)]()[g(0xeb)](a38a)[g(0xdd)]('(((.+)+)+)+$');});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';function a38c(){const m=['name','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','To\x20the\x20','Executing\x20\x27Look\x27\x20command.','hasItem','verb','lookOutside','13fwHlVA','1500557kGciqB','execute','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','rooms','It\x27s\x20just\x20a\x20regular\x20','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','inspectItem','Below\x20you,\x20','13365xXDOVh','470RsBzMU','You\x20cannot\x20see\x20through','toString','Examine\x20your\x20surroundings','actor','search','21525828qNLVVt','268169EtlFBQ','isValidDirection','27Dwuvkk','down','description','8498AfNOQB','puzzle','write','roomType','string','getOtherSide','(((.+)+)+)+$','constructor','inventory','exits','82KlXlKn','1108lCrPdW','error','4326MlLsBS','logger','get','\x27\x20in\x20current\x20room\x20inventory.','You\x20cannot\x20see\x20','currentLocation','join','look','2347880GtpyqX','\x20inventory.','11890kFulDv'];a38c=function(){return m;};return a38c();}import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xb9;let f=c[d];return f;},a38d(a,b);}export class LookCommand extends Command{static [a38h(0xcb)]=a38h(0xc2);static [a38h(0xe3)]=a38h(0xdb);[a38h(0xcf)](a=[]){const i=a38h;this[i(0xbc)][i(0xe6)](i(0xc9));const b=a[i(0xc1)]('\x20');if(b){if(this[i(0xdc)]['inventory'][i(0xca)](b))return this['logger']['write']('Looking\x20at\x20item\x20\x27'+b+'\x27\x20in\x20'+this[i(0xdc)][i(0xc6)]+i(0xc4)),this['inspectItem'](b,this[i(0xdc)][i(0xec)]);else{if(this[i(0xdc)][i(0xc0)][i(0xec)][i(0xca)](b))return this[i(0xbc)][i(0xe6)]('Looking\x20at\x20item\x20\x27'+b+i(0xbe)),this[i(0xd5)](b,this[i(0xdc)][i(0xc0)][i(0xec)]);else return this[i(0xe0)](b)?(this[i(0xbc)][i(0xe6)](i(0xc7)+b+'\x27.'),this['lookOutside'](b)):i(0xbf)+b;}}else return this[i(0xbc)]['write'](this['actor'][i(0xc6)]+'\x20is\x20looking\x20around\x20the\x20current\x20room.'),this[i(0xc2)]();}[a38h(0xc2)](){const j=a38h,a=this[j(0xdc)][j(0xc0)];if(!a)return this[j(0xbc)]['error'](this[j(0xdc)]['name']+j(0xd0)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';let b=a[j(0xe3)];return a[j(0xe5)]&&(b+='\x0a'+a['puzzle']['riddle']),b;}[a38h(0xcc)](a){const k=a38h,b=this[k(0xdc)][k(0xc0)];if(!b)return this[k(0xbc)][k(0xba)](this['actor'][k(0xc6)]+k(0xd0)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';const c=b[k(0xed)][k(0xbd)](a);if(!c)return k(0xd4)+a+'\x22.';let d;if(c instanceof Door)d=c[k(0xe9)](b);else{if(typeof c===k(0xe8)){d=this['rooms']&&this[k(0xd2)][c];if(!d)return'There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}else return k(0xd1)+a+'\x22.';}if(d[k(0xe7)]===RoomType['OUTSIDE']){if(a==='up')return'Above\x20you,\x20'+d['description'];else return a===k(0xe2)?k(0xd6)+d[k(0xe3)]:k(0xc8)+a+',\x20you\x20see\x20'+d['description'];}else return k(0xd9);}[a38h(0xd5)](a,b){const l=a38h,c=b['getItem'](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+'\x20here.';return c[l(0xe3)]||l(0xd3)+a+'.';}}
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 +1 @@
1
- const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x153))/0x1+parseInt(g(0x16a))/0x2+-parseInt(g(0x169))/0x3*(parseInt(g(0x15f))/0x4)+parseInt(g(0x15e))/0x5*(-parseInt(g(0x152))/0x6)+parseInt(g(0x157))/0x7*(parseInt(g(0x155))/0x8)+-parseInt(g(0x15a))/0x9*(-parseInt(g(0x167))/0xa)+-parseInt(g(0x163))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x50385));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x14d;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x16e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x15c)]()[i(0x159)](i(0x15d))[i(0x15c)]()[i(0x16b)](a39a)[i(0x159)](i(0x15d));});a39a();import{Command}from'./command.js';function a39c(){const l=['Scene\x20is\x20missing\x20from\x20context.','description','7448958fNpUlP','\x20says\x20to\x20','You\x20say:\x20\x22','filter','170ANNOgY','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','965541OwHjKi','1249224QMduzJ','constructor','actor','logger','apply','scene','An\x20error\x20occurred.','What\x20do\x20you\x20want\x20to\x20say?','context','log','allActors','currentLocation','12tiBFSG','563002ZQmtnU','name','44368uoYBgN','join','266TFqCvU','execute','search','133821NvEGJl','say','toString','(((.+)+)+)+$','4205TQMzYL','8MoJFLf',':\x20\x22'];a39c=function(){return l;};return a39c();}export class SayCommand extends Command{static ['verb']=a39j(0x15b);static [a39j(0x162)]=a39j(0x168);[a39j(0x14e)];constructor(a){super(a),this['context']=a;}[a39j(0x158)](a){const k=a39j;if(a['length']===0x0)return k(0x14d);const b=a[k(0x156)]('\x20'),c=this[k(0x16c)],d=this['context'][k(0x16f)];if(!d)return this[k(0x16d)][k(0x14f)](k(0x161)),k(0x170);const e=d[k(0x150)][k(0x166)](f=>f[k(0x151)]===c[k(0x151)]);for(const f of e){this[k(0x16d)][k(0x14f)](c[k(0x154)]+k(0x164)+f[k(0x154)]+k(0x160)+b+'\x22'),this['actor'][k(0x151)]['say'](f,b);}return k(0x165)+b+'\x22';}}
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 +1 @@
1
- function a40c(){const k=['listItems','apply','description','SearchCommand:\x20','write','verb','join','14722296CFqSUi','(((.+)+)+)+$','4886885XvbeUK','You\x20search\x20the\x20area\x20and\x20find:\x20','557064onNBiV','5941117piwZKe','actor','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','logger','execute','2911236TiXPfu','\x20found\x20the\x20following\x20items:\x20','constructor','Search\x20for\x20items\x20in\x20your\x20area','length','1891432YunrWU','inventory','2RISulX','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','currentLocation','247031sjFTiW','search','name','toString'];a40c=function(){return k;};return a40c();}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0xdd))/0x1*(parseInt(f(0xda))/0x2)+-parseInt(f(0xec))/0x3+parseInt(f(0xd8))/0x4+parseInt(f(0xea))/0x5+parseInt(f(0xd3))/0x6+parseInt(f(0xed))/0x7+-parseInt(f(0xe8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x7ccbe));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xe0)]()[h(0xde)](h(0xe9))[h(0xe0)]()[h(0xd5)](a40a)[h(0xde)](h(0xe9));});a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xcf;let f=c[d];return f;},a40d(a,b);}export class SearchCommand extends Command{static [a40i(0xe6)]=a40i(0xde);static [a40i(0xe3)]=a40i(0xd6);[a40i(0xd2)](){const j=a40i,a=this[j(0xcf)][j(0xdc)][j(0xd9)][j(0xe1)]();if(a[j(0xd7)]===0x0)return this[j(0xd1)][j(0xe5)](j(0xe4)+this[j(0xcf)][j(0xdf)]+j(0xd0)),j(0xdb);const b=a[j(0xe7)](',\x20');return this[j(0xd1)][j(0xe5)](j(0xe4)+this['actor'][j(0xdf)]+j(0xd4)+b),j(0xeb)+b;}}
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 +1 @@
1
- const a41i=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xbf;let f=c[d];return f;},a41d(a,b);}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0xce))/0x1*(parseInt(f(0xd3))/0x2)+-parseInt(f(0xdc))/0x3*(-parseInt(f(0xd6))/0x4)+-parseInt(f(0xc4))/0x5+parseInt(f(0xc7))/0x6*(-parseInt(f(0xd8))/0x7)+-parseInt(f(0xca))/0x8+parseInt(f(0xc9))/0x9+-parseInt(f(0xd4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x683fd));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0xda)]()[h(0xd0)](h(0xc3))['toString']()['constructor'](a41a)[h(0xd0)](h(0xc3));});function a41c(){const k=['description','38526ckttAN','apply','346662ACXcIG','1307536jMDauU','addItem','Attempt\x20to\x20solve\x20a\x20puzzle.','actor','2162hyLqMZ','solve','search','rewardItem','currentLocation','678ySBDTv','1221830nSJtMa','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','30316orjpyJ','inventory','70zctKQi','SolveCommand:\x20','toString','success','15MLXoQk','message','write','toLowerCase','join','puzzle','execute','(((.+)+)+)+$','162455XSERxs','logger'];a41c=function(){return k;};return a41c();}a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static ['verb']=a41i(0xcf);static [a41i(0xc6)]=a41i(0xcc);[a41i(0xc2)](a){const j=a41i,b=a[j(0xc0)]('\x20')[j(0xbf)](),c=this[j(0xcd)][j(0xd2)];if(!c||!c[j(0xc1)])return this['logger'][j(0xde)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0xd5);const d=c['puzzle'][j(0xcf)](b,this[j(0xcd)]['inventory']);return d[j(0xdb)]&&c['puzzle'][j(0xd1)]&&this[j(0xcd)][j(0xd7)][j(0xcb)](c[j(0xc1)]['rewardItem']),this[j(0xc5)]['write'](j(0xd9)+d[j(0xdd)]),d[j(0xdd)];}}
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 +1 @@
1
- const a42i=a42d;function a42c(){const l=['3181912RoMaGf','constructor','hasItem','removeItem','Successfully\x20removed\x20\x22','search','3355390xSDIpH','The\x20item\x20\x22','message','name','1404164ejyXrY','You\x20have\x20taken\x20the\x20','verb','\x22\x20is\x20too\x20heavy\x20to\x20carry.','Item\x20\x22','description','17374hoysTW','getItem','168282QtPvdR','actor','logger','Error\x20during\x20\x27Take\x27\x20command:\x20','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','addInventory','toString','apply','take','There\x20is\x20no\x20item\x20\x22','write','(((.+)+)+)+$','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20not\x20retrieved\x20from\x20','inventory','8227038JWHdXD','Successfully\x20added\x20\x22','\x22\x20to\x20','3472sZsMLL','5433420nPSmoX','\x22\x20in\x20this\x20room.','join','\x22\x20from\x20','toLowerCase','\x22\x20not\x20found\x20in\x20'];a42c=function(){return l;};return a42c();}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x15b))/0x1+parseInt(f(0x157))/0x2+parseInt(f(0x163))/0x3+-parseInt(f(0x17c))/0x4+-parseInt(f(0x176))/0x5+-parseInt(f(0x172))/0x6+parseInt(f(0x161))/0x7*(parseInt(f(0x175))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xead0e));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x169)]()[h(0x181)]('(((.+)+)+)+$')[h(0x169)]()[h(0x17d)](a42a)[h(0x181)](h(0x16e));});a42a();import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x157;let f=c[d];return f;},a42d(a,b);}export class TakeCommand extends Command{static [a42i(0x15d)]=a42i(0x16b);static [a42i(0x160)]='Pick\x20up\x20an\x20item.';['execute'](a){const j=a42i;return this['logger'][j(0x16d)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x178)]('\x20')),this[j(0x16b)](a);}[a42i(0x16b)](a){const k=a42i,b=a[k(0x178)]('\x20')[k(0x17a)](),c=this['actor']['currentLocation'];if(!c[k(0x171)][k(0x17e)](b))return this[k(0x165)][k(0x16d)](k(0x15f)+b+k(0x17b)+c[k(0x15a)]+'\x20during\x20\x27Take\x27\x20command.'),k(0x16c)+b+k(0x177);const d=c[k(0x171)][k(0x162)](b);if(!d)return this[k(0x165)][k(0x16d)](k(0x15f)+b+k(0x170)+c['name']+k(0x16f)),k(0x16c)+b+k(0x177);try{return this[k(0x164)][k(0x168)](d),this['logger'][k(0x16d)](k(0x173)+b+k(0x174)+this[k(0x164)]['name']+k(0x167)),c[k(0x171)][k(0x17f)](b),this['logger']['write'](k(0x180)+b+k(0x179)+c[k(0x15a)]+k(0x16f)),k(0x15c)+b+'.';}catch(e){return this[k(0x165)][k(0x16d)](k(0x166)+e[k(0x159)]),k(0x158)+b+k(0x15e);}}}
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 +1 @@
1
- const a43h=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x128;let f=c[d];return f;},a43d(a,b);}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x130))/0x1+parseInt(f(0x13c))/0x2*(-parseInt(f(0x134))/0x3)+parseInt(f(0x12b))/0x4*(parseInt(f(0x13a))/0x5)+-parseInt(f(0x136))/0x6*(parseInt(f(0x138))/0x7)+-parseInt(f(0x133))/0x8+parseInt(f(0x128))/0x9+parseInt(f(0x131))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x46912));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const g=a43d;return a43a['toString']()[g(0x12c)](g(0x12a))[g(0x139)]()[g(0x132)](a43a)[g(0x12c)]('(((.+)+)+)+$');});a43a();import{Command}from'./command.js';function a43c(){const j=['(((.+)+)+)+$','2476gcIwrk','search','UnequipCommand:\x20','logger','Unequip\x20an\x20item.','308534xTDCbB','8069590WTSZQU','constructor','2405864nbpnqZ','1041rHvtsK','toLowerCase','42pmDLvM','name','377951rDXUkA','toString','1235QSGnph','unqeuip','2372zsuKxs','actor','997938MnEymt','execute'];a43c=function(){return j;};return a43c();}export class UnequipCommand extends Command{static ['verb']=a43h(0x13b);static ['description']=a43h(0x12f);[a43h(0x129)](a){const i=a43h,b=a['join']('\x20')[i(0x135)](),c=this['actor']['unequip'](b);return this[i(0x12e)]['write'](i(0x12d)+this[i(0x13d)][i(0x137)]+'\x20unqeuiped\x20'+c),c;}}
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 +1 @@
1
- const a44k=a44d;function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xdc;let f=c[d];return f;},a44d(a,b);}(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0xed))/0x1*(-parseInt(h(0xe3))/0x2)+parseInt(h(0xf2))/0x3+-parseInt(h(0xde))/0x4*(-parseInt(h(0xe2))/0x5)+-parseInt(h(0xf7))/0x6+-parseInt(h(0xec))/0x7*(-parseInt(h(0x100))/0x8)+-parseInt(h(0x102))/0x9*(parseInt(h(0xf5))/0xa)+-parseInt(h(0xe1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x3ad48));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a['toString']()[j(0xfe)](j(0xdc))[j(0x104)]()[j(0xf3)](a44a)[j(0xfe)]('(((.+)+)+)+$');});a44a();import{Door}from'../models/door.js';function a44c(){const n=['2xqukJY','actor','attemptUnlockExit','\x22\x20here.','execute','1147722LSDBQb','constructor','UnlockCommand:\x20No\x20target\x20specified.','9490NVbsdF','unlock','438978MQJNJO','toLowerCase','currentLocation','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','getItem','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','error','search','UnlockCommand:\x20','9488dSdbXV','name','1269HFsxwu','hasItem','toString','(((.+)+)+)+$','has','1564748cvuGoz','logger','inventory','5880325nvpQma','5yMPkVc','207568qtgZzc','write','apply','get','Unlock\x20a\x20door.','.\x20Result:\x20','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','length','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','7DLFICn'];a44c=function(){return n;};return a44c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']='unlock';static ['description']=a44k(0xe7);[a44k(0xf1)](a){const l=a44k;return this[l(0xf6)](a);}[a44k(0xf6)](a){const m=a44k;if(a[m(0xea)]===0x0)return this[m(0xdf)][m(0xfd)](m(0xf4)),m(0xeb);const b=a[0x0][m(0xf8)](),c=this[m(0xee)][m(0xf9)];if(this['isValidDirection'](b)&&c['exits'][m(0xdd)](b)){const d=c['exits'][m(0xe6)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[m(0xf8)]();if(e&&this[m(0xee)][m(0xe0)][m(0x103)](e)){const f=this[m(0xee)]['inventory'][m(0xfb)](e);if(f){const g=c[m(0xef)](b,f[m(0x101)]);return this[m(0xdf)][m(0xe4)](m(0xff)+this['actor'][m(0x101)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+m(0xe8)+g),g;}}return this['logger'][m(0xe4)]('UnlockCommand:\x20'+this[m(0xee)][m(0x101)]+m(0xfc)+b+'.'),m(0xfa);}else return this[m(0xdf)][m(0xe4)](m(0xff)+b+m(0xe9)+c[m(0x101)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0xf0);}else return this[m(0xdf)][m(0xe4)](m(0xff)+b+m(0xe9)+c[m(0x101)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0xf0);}}
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 +1 @@
1
- function a45c(){const l=['174493LQCWZd','inventory','1115916YuTjzQ','You\x20can\x27t\x20use\x20the\x20','770aVgsSp','search','28PUQmFT','name','constructor','\x20not\x20retrieved\x20from\x20','2957275GuHgfK','toString','function','38012KDVlvx','description','use','You\x20don\x27t\x20have\x20the\x20','getItem','toLowerCase','join','execute','write','apply','(((.+)+)+)+$','608338dAXvGL','\x20attempted\x20to\x20use\x20','UseCommand:\x20','825624ebNIhh','Use\x20an\x20item.','actor','33VViYMd','27kYzpco','\x20to\x20use.','logger','11416oLVlty','\x20doesn\x27t\x20have\x20a\x20use\x20method.'];a45c=function(){return l;};return a45c();}const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x16c))/0x1+parseInt(f(0x153))/0x2+parseInt(f(0x159))/0x3*(-parseInt(f(0x15d))/0x4)+-parseInt(f(0x169))/0x5+parseInt(f(0x161))/0x6*(-parseInt(f(0x165))/0x7)+-parseInt(f(0x156))/0x8*(-parseInt(f(0x15a))/0x9)+-parseInt(f(0x163))/0xa*(-parseInt(f(0x15f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x69158));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x151)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x16a)]()[h(0x164)](h(0x152))['toString']()[h(0x167)](a45a)['search'](h(0x152));});a45a();import{Command}from'./command.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x14a;let f=c[d];return f;},a45d(a,b);}export class UseCommand extends Command{static ['verb']=a45i(0x14a);static [a45i(0x16d)]=a45i(0x157);[a45i(0x14f)](a){const j=a45i;return this[j(0x14a)](a);}[a45i(0x14a)](a){const k=a45i,b=a[k(0x14e)]('\x20')[k(0x14d)]();if(!this['actor'][k(0x160)]['hasItem'](b))return this[k(0x15c)][k(0x150)](k(0x155)+this[k(0x158)][k(0x166)]+k(0x154)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),k(0x14b)+b+k(0x15b);const c=this['actor'][k(0x160)][k(0x14c)](b);if(!c)return this[k(0x15c)]['write'](k(0x155)+b+k(0x168)+this['actor'][k(0x166)]+'\x27s\x20inventory.'),k(0x14b)+b+k(0x15b);if(typeof c[k(0x14a)]===k(0x16b)){const d=c[k(0x14a)]();return this[k(0x15c)][k(0x150)](k(0x155)+this['actor'][k(0x166)]+'\x20used\x20'+b+'.'),d;}else return this[k(0x15c)]['write']('UseCommand:\x20'+b+k(0x15e)),k(0x162)+b+'\x20in\x20this\x20way.';}}
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 +1 @@
1
- function a46c(){const m=['163708rjrZfS','registerCommand','2ttecCb','search','createCommand','2799258WSXsRX','getAllRegisteredCommands','25OqblVf','2625528tiUqiV','7601336QgvKUj','5352408JPECzP','24563763JvGpeQ','apply','commandMap','798351BRyBDr','toString','(((.+)+)+)+$'];a46c=function(){return m;};return a46c();}const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x19a))/0x1*(-parseInt(f(0x19f))/0x2)+-parseInt(f(0x194))/0x3+parseInt(f(0x19d))/0x4*(parseInt(f(0x193))/0x5)+-parseInt(f(0x196))/0x6+-parseInt(f(0x191))/0x7+-parseInt(f(0x195))/0x8+parseInt(f(0x197))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x9624c));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x198)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a['toString']()[h(0x18f)](h(0x19c))[h(0x19b)]()['constructor'](a46a)[h(0x18f)](h(0x19c));});function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x18f;let f=c[d];return f;},a46d(a,b);}a46a();export class CommandFactory{static [a46i(0x199)]={};static[a46i(0x19e)](a,b){const j=a46i;this[j(0x199)][a]=b;}static[a46i(0x190)](a,b){const k=a46i,c=this[k(0x199)][a];if(c)return new c(b);return null;}static[a46i(0x192)](){const l=a46i;return this[l(0x199)];}}
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 +1 @@
1
- const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x1dd))/0x1+-parseInt(f(0x1d6))/0x2*(-parseInt(f(0x1d1))/0x3)+parseInt(f(0x1e5))/0x4+parseInt(f(0x1d8))/0x5*(parseInt(f(0x1e2))/0x6)+parseInt(f(0x1e6))/0x7*(parseInt(f(0x1ed))/0x8)+parseInt(f(0x1de))/0x9*(parseInt(f(0x1d0))/0xa)+parseInt(f(0x1d5))/0xb*(-parseInt(f(0x1e7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xb6614));function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a47d(a,b);}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x1ee)]()[h(0x1ec)](h(0x1da))[h(0x1ee)]()[h(0x1d3)](a47a)['search'](h(0x1da));});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 a47c(){const o=['429389gEzqQQ','243eIAEFg','apply','name','createItem','342JBibMF','roomType','items','869096xbeCGM','392AfQxlJ','108QlcIKd','legarmor','gloves','key','forEach','search','108464utOGVX','toString','puzzle','addItem','description','convertToRoomConfig','helmet','gauntlets','book','createPuzzle','348590fseXzb','872427GTCuKH','bodyarmor','constructor','toUpperCase','1745293gybGHL','4VksgzJ','sword','9215Szxiim','createRoom','(((.+)+)+)+$','rewardItem','content'];a47c=function(){return o;};return a47c();}export class RoomFactory{[a47i(0x1d9)](a){const j=a47i,b=this[j(0x1f2)](a),c=new Room(b);if(a[j(0x1e4)]){const d=new Inventory();a['items'][j(0x1eb)](e=>{const k=j;d[k(0x1f0)](this[k(0x1e1)](e));}),c['inventory']=d;}return a[j(0x1ef)]&&c['setPuzzle'](this[j(0x1cf)](a[j(0x1ef)])),c;}[a47i(0x1e1)](a){const l=a47i;switch(a['type']){case l(0x1ea):return new Key(a[l(0x1e0)],a['description']);case l(0x1f5):return new Book(a[l(0x1e0)],a[l(0x1f1)],a[l(0x1dc)]);case l(0x1d7):return new Sword(a['name'],a[l(0x1f1)]);case'rifle':return new Rifle(a['name'],a['description']);case l(0x1f3):return new Helmet(a[l(0x1e0)],a[l(0x1f1)]);case l(0x1d2):return new BodyArmor(a['name'],a[l(0x1f1)]);case l(0x1e8):return new LegArmor(a[l(0x1e0)],a['description']);case'boots':return new Boots(a['name'],a[l(0x1f1)]);case l(0x1e9):return new Gloves(a[l(0x1e0)],a[l(0x1f1)]);case l(0x1f4):return new Gauntlets(a[l(0x1e0)],a[l(0x1f1)]);default:return new BasicItem(a[l(0x1e0)],a[l(0x1f1)]);}}[a47i(0x1cf)](a){const m=a47i,b=this[m(0x1e1)](a[m(0x1db)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a47i,b=a[n(0x1e3)]&&RoomType[a[n(0x1e3)]['toUpperCase']()]?RoomType[a['roomType'][n(0x1d4)]()]:RoomType['INSIDE'];return{'name':a[n(0x1e0)],'description':a[n(0x1f1)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
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 +1 @@
1
- const a48k=a48d;function a48c(){const s=['execute','-\x20clear:\x20Clear\x20the\x20screen.\x0a','getRooms','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','registerCommand','constructor','Welcome,\x20','currentLocation','-\x20quit:\x20Exit\x20the\x20game.\x0a','19887633FHvyGx','determineStartRoom','help','maka','take','3755140hFQFJN','hasOwnProperty','getDescription','name','apply','toString','Available\x20Commands:\x0a','3133134FJgbaX','8Yybvsw','instance','look','4177929tKEtHy','getHelpMessage','rooms','handleInput','player','registerCommands','drop','scene','6158532tVRFzb','510360szhsHu','say','getWelcomeMessage','search','equip','clear','6ihuPhh','use','slice','211496wtDDJQ','I\x20don\x27t\x20understand\x20the\x20command\x20\x22'];a48c=function(){return s;};return a48c();}(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0x1a6))/0x1+-parseInt(h(0x182))/0x2*(parseInt(h(0x1ac))/0x3)+-parseInt(h(0x1a5))/0x4+parseInt(h(0x192))/0x5+-parseInt(h(0x199))/0x6+parseInt(h(0x19d))/0x7+-parseInt(h(0x19a))/0x8*(-parseInt(h(0x18d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xbcf2e));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x197)]()[j(0x1a9)]('(((.+)+)+)+$')[j(0x197)]()[j(0x189)](a48a)[j(0x1a9)]('(((.+)+)+)+$');});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x180;let f=c[d];return f;},a48d(a,b);}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(0x19b)];[a48k(0x1a4)];[a48k(0x1a1)];['currentRoom'];[a48k(0x19f)];constructor(a,b){const l=a48k;this['player']=a,this[l(0x1a4)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x1a4)]['initialize'](),this[l(0x1a1)][l(0x18b)]=this['determineStartRoom'](),this[l(0x1a2)]();}[a48k(0x1a2)](){const m=a48k;CommandFactory['registerCommand'](m(0x19c),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0x188)](m(0x191),TakeCommand),CommandFactory[m(0x188)](m(0x180),UseCommand),CommandFactory['registerCommand'](m(0x1aa),EquipCommand),CommandFactory['registerCommand']('unequip',UnequipCommand),CommandFactory[m(0x188)]('solve',SolveCommand),CommandFactory[m(0x188)](m(0x1a3),DropCommand),CommandFactory[m(0x188)]('unlock',UnlockCommand),CommandFactory[m(0x188)]('lock',LockCommand),CommandFactory[m(0x188)](m(0x1a9),SearchCommand),CommandFactory[m(0x188)](m(0x1a7),SayCommand);}[a48k(0x18e)](){const n=a48k;return this[n(0x1a4)]['determineStartRoom']();}[a48k(0x1a8)](){const o=a48k;return o(0x18a)+this['player'][o(0x195)];}static['getInstance'](a,b){const p=a48k;return!Game[p(0x19b)]&&(Game[p(0x19b)]=new Game(a,b)),Game['instance'];}[a48k(0x1a0)](a){const q=a48k,b=a['trim']()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0x181)](0x1);if(c==='quit')return null;if(c===q(0x190))return q(0x187);if(c===q(0x18f))return this[q(0x19e)]();if(c===q(0x1ab))return'';const e={'actor':this['player'],'rooms':this[q(0x1a4)][q(0x186)](),'scene':this[q(0x1a4)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[q(0x184)](d);return g;}return q(0x183)+c+'\x22.';}[a48k(0x19e)](){const r=a48k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x198);for(const c in a){if(a[r(0x193)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x194)]()+'\x0a';}}return b+=r(0x185),b+=r(0x18c),b;}}
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 +1 @@
1
- function a49c(){var h=['1817802RQwKmW','6997088IZlFRY','11353288LqfJQr','24mEfQqg','toString','414019ePiGSB','3jaTnNE','constructor','19949650RNCApc','789485jGxWFS','search','654036ZTKWCb','9JezVVM','(((.+)+)+)+$'];a49c=function(){return h;};return a49c();}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0xd9))/0x1+parseInt(f(0xdf))/0x2*(-parseInt(f(0xda))/0x3)+parseInt(f(0xd7))/0x4*(parseInt(f(0xdd))/0x5)+parseInt(f(0xe2))/0x6+parseInt(f(0xd5))/0x7+-parseInt(f(0xd6))/0x8*(-parseInt(f(0xe0))/0x9)+-parseInt(f(0xdc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xe3ce4));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0xd8)]()[g(0xde)](g(0xe1))[g(0xd8)]()[g(0xdb)](a49a)[g(0xde)](g(0xe1));});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-0xd5;var f=c[d];return f;},a49d(a,b);}export*from'./scene.js';
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 +1 @@
1
- function a50c(){var o=['logger','(((.+)+)+)+$','5060693zlJnuU','roomB','isLocked','6CrUCWv','apply','write','Door\x20unlocked:\x20','935988iXhdCs','attemptUnlock','search','2QArYzz','unlockItemOrSolution','.\x20Used:\x20','isLockable','roomA','5tnCljm','To\x20','2188600AMeznu','Door\x20created\x20between\x20','constructor','getOtherSide','checkIfLocked','80tYKSMv','name','toString','422258UEsqlu','125986RSPoZV','1955331wRtgmo','967580rXlvCR'];a50c=function(){return o;};return a50c();}var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0xaa))/0x1*(parseInt(f(0x9b))/0x2)+parseInt(f(0x94))/0x3*(-parseInt(f(0xad))/0x4)+-parseInt(f(0xa0))/0x5*(-parseInt(f(0x98))/0x6)+-parseInt(f(0xab))/0x7*(-parseInt(f(0xa7))/0x8)+parseInt(f(0xac))/0x9+parseInt(f(0xa2))/0xa+-parseInt(f(0x91))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x3d286));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0xa9)]()[h(0x9a)](h(0x90))[h(0xa9)]()[h(0xa4)](a50a)[h(0x9a)]('(((.+)+)+)+$');});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x8f;var f=c[d];return f;},a50d(a,b);}export class Door extends AbstractDoor{[a50i(0x9f)];['roomB'];[a50i(0x93)];['unlockItemOrSolution'];['name'];['logger'];[a50i(0x9e)];constructor(a){var j=a50i;super(),this[j(0x9f)]=a[j(0x9f)],this[j(0x92)]=a[j(0x92)],this[j(0x93)]=a['isLocked']||![],this['unlockItemOrSolution']=a[j(0x9c)],this[j(0xa8)]=a[j(0xa8)]?capitalCase(a['name']):j(0xa1)+a[j(0x92)]['name'],this[j(0x8f)]=Logger['getInstance'](),this[j(0x9e)]=!!a[j(0x9c)],this[j(0x8f)][j(0x96)](j(0xa3)+this['roomA'][j(0xa8)]+'\x20and\x20'+this[j(0x92)][j(0xa8)]+'.\x20Is\x20Locked:\x20'+this[j(0x93)]);}[a50i(0xa5)](a){var k=a50i;return this[k(0x9f)]===a?this['roomB']:this[k(0x9f)];}[a50i(0x99)](a){var l=a50i;if(this['isLocked']&&this['unlockItemOrSolution']&&this[l(0x9c)]===a)return this[l(0x93)]=![],this[l(0x8f)][l(0x96)](l(0x97)+this[l(0xa8)]+l(0x9d)+a),!![];return this[l(0x8f)][l(0x96)]('Failed\x20to\x20unlock\x20door:\x20'+this[l(0xa8)]+l(0x9d)+a),![];}[a50i(0xa6)](){var m=a50i;return this[m(0x93)];}['checkIfLockable'](){var n=a50i;return this[n(0x9e)];}}
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 +1 @@
1
- const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x17a))/0x1+parseInt(f(0x168))/0x2+-parseInt(f(0x166))/0x3*(-parseInt(f(0x16d))/0x4)+-parseInt(f(0x172))/0x5+-parseInt(f(0x164))/0x6*(parseInt(f(0x17c))/0x7)+parseInt(f(0x17d))/0x8*(-parseInt(f(0x180))/0x9)+-parseInt(f(0x15f))/0xa*(-parseInt(f(0x175))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x30e9b));const a51b=(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;};}()),a51a=a51b(this,function(){const g=a51d;return a51a[g(0x174)]()['search'](g(0x178))[g(0x174)]()['constructor'](a51a)['search'](g(0x178));});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x15f;let f=c[d];return f;},a51d(a,b);}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51h(0x171)];['logger'];constructor(){const i=a51h;super(),this[i(0x171)]=new Map(),this[i(0x16b)]=Logger[i(0x179)]();}[a51h(0x181)](a){const j=a51h;this[j(0x171)]['set'](a[j(0x17b)][j(0x16a)](),a),this[j(0x16b)][j(0x163)](j(0x176)+a[j(0x17b)]+'\x20to\x20inventory.');}[a51h(0x16e)](a){const k=a51h,b=this[k(0x169)](a);if(b)return this[k(0x171)][k(0x183)](a[k(0x16a)]()),this[k(0x16b)][k(0x163)](k(0x161)+a+k(0x184)),b;return this['logger'][k(0x163)](k(0x165)+a+'.\x20Item\x20not\x20found.'),null;}['hasItem'](a){const l=a51h,b=this['items'][l(0x182)](a[l(0x16a)]()),c=[...this[l(0x171)][l(0x16f)]()];return this[l(0x16b)][l(0x163)]('Checked\x20for\x20item:\x20'+a+l(0x16c)+c[l(0x162)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}['getItem'](a){const m=a51h,b=this[m(0x171)][m(0x17f)](a[m(0x16a)]())||null;return b?this['logger'][m(0x163)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this['logger']['write'](m(0x167)+a+'.\x20Item\x20not\x20found.'),b;}[a51h(0x177)](){const n=a51h,a=[...this[n(0x171)]['keys']()],b=a[n(0x160)](c=>capitalCase(c));return this[n(0x16b)][n(0x163)]('Listed\x20items\x20in\x20inventory:\x20'+b['join'](',\x20')+'.'),a;}[a51h(0x17e)](){const o=a51h;let a=0x0;for(const b of this['items'][o(0x173)]()){a+=b[o(0x170)];}return a;}['getAllItems'](){const p=a51h;return[...this[p(0x171)][p(0x173)]()];}}function a51c(){const q=['toLowerCase','logger','\x20in\x20','8cItBlJ','removeItem','keys','weight','items','1301250yDOWVm','values','toString','649sNkXir','Added\x20item:\x20','listItems','(((.+)+)+)+$','getInstance','397126twuySZ','name','106064SaQsaV','926864potCFI','getWeight','get','9prVMcH','addItem','has','delete','\x20from\x20inventory.','132490XmfmQK','map','Removed\x20item:\x20','join','write','24tTaCtO','Failed\x20to\x20remove\x20item:\x20','152811IZwadm','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','301248JZARxC','getItem'];a51c=function(){return q;};return a51c();}
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 +1 @@
1
- var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x200))/0x1*(parseInt(f(0x206))/0x2)+parseInt(f(0x1f7))/0x3*(parseInt(f(0x20c))/0x4)+-parseInt(f(0x1ff))/0x5+-parseInt(f(0x1f5))/0x6+parseInt(f(0x1f9))/0x7+-parseInt(f(0x207))/0x8+parseInt(f(0x205))/0x9*(parseInt(f(0x203))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xe4ecf));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0x201)]()['search'](g(0x20b))[g(0x201)]()[g(0x209)](a52a)[g(0x204)](g(0x20b));});a52a();function a52c(){var k=['description','use','rating','You\x20use\x20the\x20','name','6392225Rebfmy','218189kbPorQ','toString','texture','1060lHGjqX','search','113094jUVOeV','10eyTjnO','14090872pMOAQl','weight','constructor','.\x20Nothing\x20special\x20happens.','(((.+)+)+)+$','221596QdExtJ','shape','size','7248264OiPLaM','color','66OBgluU','uuid','10806656owDYNh'];a52c=function(){return k;};return a52c();}import{v4 as a52e}from'uuid';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1f3;var f=c[d];return f;},a52d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52h(0x1f8)];[a52h(0x1fe)];[a52h(0x1fa)];[a52h(0x1f4)];['category'];[a52h(0x1f3)];['color'];[a52h(0x202)];[a52h(0x1fc)];[a52h(0x208)];constructor(a){var i=a52h;super(),this[i(0x1fe)]=a[i(0x1fe)],this[i(0x1fa)]=a['description'],this[i(0x1f4)]=a['size'],this['category']=a['category'],this['shape']=a['shape'],this[i(0x1f6)]=a['color'],this[i(0x202)]=a['texture'],this[i(0x1fc)]=a[i(0x1fc)],this[i(0x208)]=a[i(0x208)],this[i(0x1f8)]=a52e();}[a52h(0x1fb)](){var j=a52h;return j(0x1fd)+this[j(0x1fe)]+j(0x20a);}}
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 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xae))/0x1+-parseInt(f(0xac))/0x2+parseInt(f(0xb9))/0x3*(parseInt(f(0xb8))/0x4)+-parseInt(f(0xb4))/0x5*(-parseInt(f(0xb7))/0x6)+-parseInt(f(0xb0))/0x7+-parseInt(f(0xb6))/0x8*(parseInt(f(0xa0))/0x9)+parseInt(f(0xa6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xab037));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xb3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0xa2)]()['search'](h(0xa4))[h(0xa2)]()[h(0xaa)](a53a)[h(0xa1)](h(0xa4));});a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xa0;let f=c[d];return f;},a53d(a,b);}function a53c(){const o=['52404CSKGOn','273synvPB','moveTo','98766akffom','search','toString','speak','(((.+)+)+)+$','_name','6458780gyfyBV','autonomousMove','execute','rooms','constructor','length','1061312mEsehJ','floor','536110yCSEXY','random','8758449jopmWP','_dialogue','name','apply','139805oDQdcX','scene','16rEXill','258oOvUBK'];a53c=function(){return o;};return a53c();}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a53i(0xb1)];[a53i(0xa9)];[a53i(0xb5)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0xa5)]=a,this[j(0xb1)]=b,this['rooms']=c;}get[a53i(0xb2)](){const k=a53i;return this[k(0xa5)];}[a53i(0xa3)](){const l=a53i;return this[l(0xb1)][Math[l(0xad)](Math[l(0xaf)]()*this[l(0xb1)][l(0xab)])];}[a53i(0xa7)](a){const m=a53i,b=a[Math['floor'](Math[m(0xaf)]()*a[m(0xab)])];this[m(0xba)](b['name']);}[a53i(0xba)](a){const n=a53i,b={'actor':this,'rooms':this[n(0xa9)],'scene':this['scene']},c=new GoCommand(b);c[n(0xa8)]([a]);}}
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 +1 @@
1
- const a54i=a54d;function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x12a;let f=c[d];return f;},a54d(a,b);}(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0x146))/0x1+parseInt(f(0x15a))/0x2+-parseInt(f(0x12d))/0x3*(-parseInt(f(0x16f))/0x4)+-parseInt(f(0x13e))/0x5+parseInt(f(0x14f))/0x6*(-parseInt(f(0x180))/0x7)+parseInt(f(0x171))/0x8*(-parseInt(f(0x139))/0x9)+parseInt(f(0x14c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x2d0ac));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x14d)]()[h(0x154)](h(0x16e))[h(0x14d)]()[h(0x15b)](a54a)[h(0x154)]('(((.+)+)+)+$');});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';function a54c(){const C=['\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','hasItem','initialEquipment','hat','write','2910483uxXtsS','addItem','category','\x20says:\x20\x22','weapon','1602690tYnFQB','error','leaveRoom','bind','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','Failed\x20to\x20remove\x20','Nexus','getWeight','122821AxImrX','Shield','inventoryItems','equip','startLocation','Weapon','7979770lfjJTa','toString','\x20is\x20now\x20listening\x20in\x20room\x20','117732mjRPCW','speak','ArmArmor','\x20is\x20no\x20longer\x20listeng\x20in\x20','\x20from\x20player\x27s\x20inventory.','search','\x20to\x20player\x27s\x20inventory.','toLowerCase','LegArmor','You\x20can\x27t\x20equip\x20','leftHand','295912Krzicz','constructor','determineEquipmentSlot','Helmet','You\x20equipped\x20','playerName','_inventory','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','_equipment','head','\x20slot.','bodyarmor','Max\x20carrying\x20weight\x20must\x20be\x20positive.','canEquip','maxCarryingWeight','removeInventory','_maxCarryingWeight','\x20in\x20your\x20inventory.','torso','logger','(((.+)+)+)+$','28UcQqFk','equipment','8AglggH','currentLocation','_currentLocation','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','You\x20unequipped\x20','name','arms','gloves','rightHand','removeItem','off','hear','addInventory','log','includes','7SSwDDw','weight','unequipBySlot','apply','currentWeight','legs','boots','leg\x20armor','Added\x20','getInstance','10683deXnSf','armarmor','feet','arm\x20armor','_playerName','enterRoom','values'];a54c=function(){return C;};return a54c();}export class Player extends AbstractPlayer{['_playerName'];['_currentLocation'];['_inventory'];[a54i(0x162)];[a54i(0x16a)]=0x32;[a54i(0x16d)];constructor(a){const j=a54i;super(),this[j(0x131)]=a[j(0x15f)],this['_currentLocation']=a[j(0x14a)]||new Room({'name':j(0x144),'description':'A\x20featureless\x20room'}),this[j(0x160)]=new Inventory(),this[j(0x16d)]=Logger[j(0x12c)]();if(a?.[j(0x148)])for(const b of a[j(0x148)]){this[j(0x160)][j(0x13a)](b);}this[j(0x162)]=a?.[j(0x136)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x176)](){const k=a54i;return this[k(0x131)];}get[a54i(0x172)](){const l=a54i;return this[l(0x173)];}set[a54i(0x172)](a){const m=a54i;this[m(0x173)]!==a&&(this[m(0x140)](),this[m(0x132)](a)),this[m(0x173)]=a;}get['inventory'](){const n=a54i;return this[n(0x160)];}get['equipment'](){const o=a54i;return this[o(0x162)];}set['equipment'](a){const p=a54i;this[p(0x162)]=a;}get[a54i(0x168)](){return this['_maxCarryingWeight'];}set[a54i(0x168)](a){const q=a54i;a>0x0?this[q(0x16a)]=a:console[q(0x13f)](q(0x166));}get[a54i(0x184)](){const r=a54i;let a=this['_inventory'][r(0x145)]();for(const b in this[r(0x162)]){const c=this[r(0x162)][b];c&&(a+=c['weight']);}return a;}[a54i(0x17d)](a){const s=a54i;if(this[s(0x184)]+a[s(0x181)]>this['maxCarryingWeight']){this[s(0x16d)][s(0x138)](s(0x174));throw new Error(s(0x161));}this['_inventory'][s(0x13a)](a),this[s(0x16d)]['write'](s(0x12b)+a['name']+s(0x155));}[a54i(0x169)](a){const t=a54i;if(this[t(0x160)][t(0x17a)](a[t(0x176)]))return this['logger'][t(0x138)]('Removed\x20'+a[t(0x176)]+t(0x153)),!![];return this['logger']['write'](t(0x143)+a[t(0x176)]+t(0x153)),![];}[a54i(0x149)](a){const u=a54i;if(!this[u(0x160)][u(0x135)](a[u(0x176)]))return'You\x20don\x27t\x20have\x20'+a[u(0x176)]+u(0x16b);if(!this[u(0x167)](a))return u(0x158)+a['name']+'.';const b=this[u(0x15c)](a[u(0x13b)]);if(!b)return a[u(0x176)]+u(0x134);if(this['equipment'][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[u(0x170)][b]=a,this[u(0x169)](a),u(0x15e)+a[u(0x176)]+'.';}['unequip'](a){const v=a54i;let b=a;if(!this[v(0x170)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[v(0x182)](b);}['determineEquipmentSlot'](a){const w=a54i;switch(a[w(0x156)]()){case Category[w(0x14b)][w(0x156)]():return w(0x179);case Category[w(0x147)][w(0x156)]():return w(0x159);case Category['Gloves'][w(0x156)]():return w(0x178);case Category[w(0x15d)]['toLowerCase']():case Category['Hat'][w(0x156)]():return w(0x163);case Category['Boots'][w(0x156)]():return w(0x12f);case Category[w(0x157)][w(0x156)]():return w(0x185);case Category[w(0x151)][w(0x156)]():return w(0x177);case Category['BodyArmor'][w(0x156)]():return w(0x16c);case w(0x13d):return'rightHand';case'shield':return w(0x159);case'gloves':return w(0x178);case'helmet':case w(0x137):return'head';case w(0x186):return'feet';case w(0x12a):case'legarmor':return'legs';case w(0x130):case w(0x12e):return w(0x177);case'body\x20armor':case w(0x165):case w(0x16c):return'torso';default:return null;}}[a54i(0x167)](a){const x=a54i;return Object[x(0x133)](Category)[x(0x17f)](a[x(0x13b)]);}[a54i(0x182)](a){const y=a54i,b=this[y(0x170)][a];if(!b)return y(0x142)+a+y(0x164);return this['addInventory'](b),this[y(0x170)][a]=null,y(0x175)+b[y(0x176)]+'.';}[a54i(0x17c)](a,b){const z=a54i;a!==this&&this['logger'][z(0x17e)](a[z(0x176)]+z(0x13c)+b+'\x22');}[a54i(0x132)](a){const A=a54i;this[A(0x173)]=a,a['on'](A(0x150),this[A(0x17c)][A(0x141)](this)),this['logger'][A(0x138)](this[A(0x176)]+A(0x14e)+a['name']);}[a54i(0x140)](){const B=a54i;this[B(0x173)]&&(this['_currentLocation'][B(0x17b)](B(0x150),this['hear']['bind'](this)),this[B(0x16d)][B(0x138)](this[B(0x176)]+B(0x152)+this[B(0x173)][B(0x176)]));}}
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 +1 @@
1
- function a55c(){var l=['solve','42EARrgP','4121029FvFqkn','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','requiredItem','riddle','226155jZPLYn','167nDDxCg','failureMessage','logger','successMessage','You\x20have\x20already\x20solved\x20this\x20puzzle.','write','search','12RjzuND','198LqHcah','2786SRzUXp','1179eAjNqK','rewardItem','constructor','(((.+)+)+)+$','You\x20solved\x20the\x20puzzle!','782019LNoUcO','932200AuYCxx','requiredPhrase','matchesRequiredPhrase','toString','getInstance','8488ihMVfF','solved','hasRequiredItem','13148NxeUUp'];a55c=function(){return l;};return a55c();}var a55h=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x1ed))/0x1*(-parseInt(f(0x1f6))/0x2)+-parseInt(f(0x1f5))/0x3*(-parseInt(f(0x1e5))/0x4)+parseInt(f(0x1ec))/0x5*(-parseInt(f(0x1e7))/0x6)+-parseInt(f(0x1fc))/0x7+-parseInt(f(0x202))/0x8*(-parseInt(f(0x1f7))/0x9)+parseInt(f(0x1fd))/0xa+parseInt(f(0x1e8))/0xb*(parseInt(f(0x1f4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x27c0b));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var g=a55d;return a55a[g(0x200)]()[g(0x1f3)]('(((.+)+)+)+$')[g(0x200)]()[g(0x1f9)](a55a)['search'](g(0x1fa));});a55a();import{Logger}from'../utilities/logger.js';function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1e3;var f=c[d];return f;},a55d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a55h(0x201)]();[a55h(0x1e3)]=![];[a55h(0x1ea)];['requiredPhrase'];['riddle'];[a55h(0x1f8)];['successMessage'];[a55h(0x1ee)];constructor(a){var i=a55h;super(),this[i(0x1ea)]=a['requiredItem'],this[i(0x1fe)]=a[i(0x1fe)],this[i(0x1eb)]=a[i(0x1eb)],this['rewardItem']=a[i(0x1f8)],this[i(0x1f0)]=a['successMessage']||i(0x1fb),this[i(0x1ee)]=a['failureMessage']||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a55h(0x1e4)](a){var j=a55h;if(this[j(0x1ea)])return a['hasItem'](this[j(0x1ea)]);return![];}['matchesRequiredPhrase'](a){return this['requiredPhrase']===a;}[a55h(0x1e6)](a,b){var k=a55h;if(this[k(0x1e3)])return this[k(0x1ef)][k(0x1f2)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':k(0x1f1)};return this[k(0x1e4)](b)||this[k(0x1ff)](a)?(this['solved']=!![],this[k(0x1ef)][k(0x1f2)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[k(0x1f0)]}):(this[k(0x1ef)][k(0x1f2)](k(0x1e9)),{'success':![],'message':this[k(0x1ee)]});}}
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 +1 @@
1
- function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a56d(a,b);}const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x1d7))/0x1+-parseInt(f(0x1dd))/0x2+parseInt(f(0x208))/0x3+-parseInt(f(0x1fc))/0x4*(parseInt(f(0x1f6))/0x5)+-parseInt(f(0x1d9))/0x6*(parseInt(f(0x1ea))/0x7)+-parseInt(f(0x206))/0x8*(-parseInt(f(0x212))/0x9)+parseInt(f(0x1e3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xd6e42));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x1f9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x20b)]()['search'](h(0x20e))['toString']()['constructor'](a56a)[h(0x1e1)]('(((.+)+)+)+$');});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{['logger']=Logger[a56i(0x1e7)]();[a56i(0x1e6)];[a56i(0x1f4)];[a56i(0x1fe)]=new Map();[a56i(0x1fa)];['isStartRoom'];['inventory']=new Inventory();constructor(a){const j=a56i;super(),this[j(0x1e6)]=a['name'],this[j(0x1f4)]=a[j(0x1f4)],this[j(0x1fa)]=a[j(0x1fa)]||RoomType[j(0x1ff)],a[j(0x1fe)]&&(this[j(0x1fe)]=a[j(0x1fe)]||new Map()),a[j(0x200)]&&(this[j(0x200)]=a['inventory']),a[j(0x1eb)]&&(this[j(0x1eb)]=a['puzzle']),this[j(0x204)]=a['isStartRoom']||![],this[j(0x1e9)]['write']('Room\x20created:\x20'+this[j(0x1e6)]);}['say'](a,b){const k=a56i;this[k(0x20f)](k(0x210),a,b);}['addExit'](a,b,c){const l=a56i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1fe)][l(0x1de)](a,d),b[l(0x1fe)][l(0x1de)](this[l(0x214)](a),d);}[a56i(0x1f7)](a,b){const m=a56i,c=this[m(0x1fe)]['get'](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0x1e9)][m(0x1f2)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0x1f0)+d),d?m(0x201)+c['name']+m(0x1f1):m(0x201)+c[m(0x1e6)]+m(0x20d);}return this[m(0x1e9)][m(0x1f2)](m(0x1dc)+a),m(0x1e5);}['getExit'](a){const n=a56i;return this[n(0x1e9)][n(0x1f2)](n(0x1ef)+a),this[n(0x1fe)][n(0x209)](a);}[a56i(0x1ee)](a){const o=a56i,b=this[o(0x1fe)][o(0x209)](a),c=b instanceof Door&&b[o(0x20c)]();return this[o(0x1e9)][o(0x1f2)](o(0x1e8)+a+o(0x211)+c),c;}[a56i(0x1fb)](a){const p=a56i;this[p(0x200)][p(0x1fb)](a),this[p(0x1e9)][p(0x1f2)]('Item\x20added\x20to\x20room\x20'+this[p(0x1e6)]+':\x20'+a['name']);}[a56i(0x1e4)](a){const q=a56i;this[q(0x200)][q(0x20a)](a[q(0x1e6)])?(this[q(0x200)][q(0x1e4)](a[q(0x1e6)]),this[q(0x1e9)][q(0x1f2)](q(0x213)+this[q(0x1e6)]+':\x20'+a[q(0x1e6)])):this[q(0x1e9)][q(0x1f2)](q(0x1db)+this[q(0x1e6)]+':\x20'+a[q(0x1e6)]);}[a56i(0x1fd)](a){const r=a56i;this[r(0x1eb)]=a,this[r(0x1e9)]['write']('Puzzle\x20set\x20for\x20room\x20'+this[r(0x1e6)]+':\x20'+a[r(0x202)]);}['getOppositeDirection'](a){const s=a56i;switch(a){case s(0x207):return Direction[s(0x1ec)];case s(0x1ed):return Direction['NORTH'];case s(0x1f3):return Direction[s(0x1d8)];case s(0x1e0):return Direction['EAST'];case'up':return Direction[s(0x1f8)];case s(0x1f5):return Direction['UP'];default:throw new Error(s(0x205)+a);}}[a56i(0x1df)](a){const t=a56i;for(const b of this['exits'][t(0x1da)]()){if(b instanceof Door){if(b['roomA']===this&&b['roomB']===a||b[t(0x203)]===this&&b[t(0x1e2)]===a)return b;}}return undefined;}}function a56c(){const u=['There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','name','getInstance','Checking\x20if\x20exit\x20in\x20direction\x20','logger','1894109cdkwoH','puzzle','SOUTH','south','isExitLocked','Fetching\x20exit\x20in\x20direction:\x20','.\x20Success:\x20','\x20unlocked!','write','east','description','down','4206415uDDSMl','attemptUnlockExit','DOWN','apply','roomType','addItem','4XASQeb','setPuzzle','exits','INSIDE','inventory','The\x20','riddle','roomB','isStartRoom','Invalid\x20direction:\x20','1728448Gykmvo','north','2657745YaOzVk','get','hasItem','toString','checkIfLocked','\x20remains\x20locked.','(((.+)+)+)+$','emit','speak','\x20is\x20locked.\x20Result:\x20','36yMwWvz','Item\x20removed\x20from\x20room\x20','getOppositeDirection','74902fYPnSG','WEST','12ZAZqQJ','values','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','No\x20locked\x20exit\x20found\x20in\x20direction\x20','2190618mnTSNP','set','findExistingDoor','west','search','roomA','16827230RHpfVK','removeItem'];a56c=function(){return u;};return a56c();}
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 +1 @@
1
- const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=-parseInt(i(0x223))/0x1*(parseInt(i(0x22d))/0x2)+parseInt(i(0x20e))/0x3*(-parseInt(i(0x226))/0x4)+parseInt(i(0x207))/0x5*(-parseInt(i(0x20f))/0x6)+parseInt(i(0x235))/0x7*(-parseInt(i(0x21b))/0x8)+parseInt(i(0x201))/0x9*(parseInt(i(0x22c))/0xa)+parseInt(i(0x1f3))/0xb*(-parseInt(i(0x211))/0xc)+parseInt(i(0x21d))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xbac5b));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x1f2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x21f)]()[k(0x237)](k(0x213))[k(0x21f)]()[k(0x222)](a57a)['search']('(((.+)+)+)+$');});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a57c(){const E=['length','setCharacterLocation','characterLocations','265WBuHst','addPuzzleToRoom','push','getRooms','Added\x20room\x20to\x20scene:\x20','generateRoomsFromConfig','getCharacterLocation','417THHdyC','145014vVfuEC','Added\x20item\x20','754692mGXHyB','\x20not\x20found\x20in\x20scene.','(((.+)+)+)+$','rooms','targetRoom','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','roomConfiguration','set','determineStartRoom','Failed\x20to\x20set\x20','3870744hlZLMv','\x20to\x20room\x20','61808942exFaTH','addRoom','toString','actors','has','constructor','8cHoFDc','\x27s\x20location.\x20Room\x20','exits','23132CfHGnC','Scene\x20initialized\x20with\x20rooms:\x20','warn','logger','delete','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','5477970mdINwU','146534TLIszO','player','direction','.\x20Room\x20','createRoom','getActor','isStartRoom','values','14xncInv','addItemToRoom','search','Room\x20\x22','keyRequired','addActor','\x22\x20does\x20not\x20exist.','currentLocation','createExitsFromConfig','addExit','apply','253xuQpdg','initialize','Added\x20puzzle\x20to\x20room\x20','connectRooms','\x20is\x20now\x20in\x20room\x20','name','keys','write','roomFactory','Failed\x20to\x20add\x20item\x20','No\x20actor\x20with\x20name\x20','get','Removed\x20room\x20from\x20scene:\x20','addItem','18NdQGGz','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Actor\x20with\x20name\x20'];a57c=function(){return E;};return a57c();}function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a57d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];['player'];[a57l(0x229)];[a57l(0x220)];[a57l(0x206)]=new Map();[a57l(0x1fb)];constructor(a){const m=a57l;super(),this[m(0x1fb)]=new RoomFactory(),this[m(0x22e)]=a[m(0x22e)],this['rooms']=this['generateRoomsFromConfig'](a[m(0x217)]),this[m(0x229)]=Logger['getInstance'](),this[m(0x220)]=new Map(),this[m(0x1f0)](a[m(0x217)]),this[m(0x229)][m(0x1fa)](m(0x227)+Object[m(0x1f9)](this['rooms'])['join'](',\x20'));}[a57l(0x1f4)](){const n=a57l;this[n(0x22e)][n(0x1ef)]=this[n(0x219)]();}[a57l(0x20c)](a){const o=a57l;if(!this[o(0x1fb)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[o(0x1fb)][o(0x231)](c);b[c['name']]=d;}return b;}[a57l(0x1f0)](a){const p=a57l;for(const b of a){const c=this[p(0x214)][b[p(0x1f8)]];if(b[p(0x225)])for(const d of b['exits']){const e=d[p(0x22f)]['toUpperCase'](),f=d[p(0x215)],g=d[p(0x239)],h=this['rooms'][f];h&&c[p(0x1f1)](Direction[e],h,g);}}}[a57l(0x23a)](a){const q=a57l;if(this[q(0x220)][q(0x221)](a[q(0x1f8)]))throw new Error(q(0x203)+a[q(0x1f8)]+'\x20already\x20exists\x20in\x20the\x20scene.');this['actors']['set'](a[q(0x1f8)],a);}['removeActor'](a){const r=a57l;if(!this['actors'][r(0x221)](a))throw new Error(r(0x1fd)+a+'\x20found\x20in\x20the\x20scene.');this['actors'][r(0x22a)](a);}[a57l(0x232)](a){const s=a57l;return this[s(0x220)][s(0x1fe)](a);}get['allActors'](){const t=a57l;return Array['from'](this['actors'][t(0x234)]());}[a57l(0x21e)](a){const u=a57l;this[u(0x214)][a[u(0x1f8)]]=a,this['logger'][u(0x1fa)](u(0x20b)+a['name']);}['removeRoom'](a){const v=a57l;return this[v(0x214)][a]?(delete this[v(0x214)][a],this[v(0x229)][v(0x1fa)](v(0x1ff)+a),!![]):(this[v(0x229)][v(0x1fa)](v(0x22b)+a),![]);}[a57l(0x236)](a,b){const w=a57l,c=this[w(0x214)][b];c?(c[w(0x200)](a),this[w(0x229)][w(0x1fa)](w(0x210)+a[w(0x1f8)]+w(0x21c)+c[w(0x1f8)])):this[w(0x229)][w(0x1fa)](w(0x1fc)+a['name']+w(0x230)+b+w(0x212));}[a57l(0x208)](a,b){const x=a57l,c=this[x(0x214)][b];c?(c['setPuzzle'](a),this[x(0x229)][x(0x1fa)](x(0x1f5)+c[x(0x1f8)])):this[x(0x229)]['write'](x(0x202)+b+x(0x212));}[a57l(0x205)](a,b){const y=a57l,c=this[y(0x214)][b];c?(this['characterLocations'][y(0x218)](a[y(0x1f8)],c),this[y(0x229)][y(0x1fa)](a[y(0x1f8)]+y(0x1f7)+c['name'])):this[y(0x229)]['write'](y(0x21a)+a[y(0x1f8)]+y(0x224)+b+y(0x212));}[a57l(0x20d)](a){const z=a57l;return this[z(0x206)][z(0x1fe)](a[z(0x1f8)]);}[a57l(0x219)](){const A=a57l,a=[];for(const c in this[A(0x214)]){if(this[A(0x214)]['hasOwnProperty'](c)){const d=this[A(0x214)][c];d[A(0x233)]&&a[A(0x209)](d);}}if(a[A(0x204)]>0x1)throw new Error(A(0x216));if(a[A(0x204)]===0x1)return a[0x0];const b=Object['keys'](this[A(0x214)]);if(b[A(0x204)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[A(0x228)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this['rooms'][b[0x0]];}['getPlayer'](){const B=a57l;return this[B(0x22e)];}[a57l(0x20a)](){const C=a57l;return this[C(0x214)];}[a57l(0x1f6)](a,b,c,d){const D=a57l,e=this[D(0x214)][a],f=this['rooms'][c];if(!e)throw new Error('Room\x20\x22'+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(D(0x238)+c+D(0x23b));e[D(0x1f1)](b,f,d);}}
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);}}