@maka/maka-cli 4.12.14 → 4.12.16

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 (158) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/collection.js +1 -1
  109. package/bundle/obf/src/generators/component.js +1 -1
  110. package/bundle/obf/src/generators/config.js +1 -1
  111. package/bundle/obf/src/generators/dbc.js +1 -1
  112. package/bundle/obf/src/generators/dockerfile.js +1 -1
  113. package/bundle/obf/src/generators/hook.js +1 -1
  114. package/bundle/obf/src/generators/kits/_index.js +1 -1
  115. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  117. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  119. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/kit.js +1 -1
  123. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  127. package/bundle/obf/src/generators/layout.js +1 -1
  128. package/bundle/obf/src/generators/maka.gen.js +1 -1
  129. package/bundle/obf/src/generators/methods.js +1 -1
  130. package/bundle/obf/src/generators/package.js +1 -1
  131. package/bundle/obf/src/generators/page.js +1 -1
  132. package/bundle/obf/src/generators/publish.js +1 -1
  133. package/bundle/obf/src/generators/route.js +1 -1
  134. package/bundle/obf/src/generators/service.js +1 -1
  135. package/bundle/obf/src/generators/services/_index.js +1 -1
  136. package/bundle/obf/src/generators/services/openssl.js +1 -1
  137. package/bundle/obf/src/generators/services/translation.js +1 -1
  138. package/bundle/obf/src/maka.js +1 -1
  139. package/bundle/obf/src/tool.js +1 -1
  140. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  141. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  142. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  143. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  144. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  146. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/https/https.class.js +1 -1
  148. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  149. package/bundle/obf/src/tools/log/log.class.js +1 -1
  150. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  151. package/bundle/obf/src/tools/options/options.class.js +1 -1
  152. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  153. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  154. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  155. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  156. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  158. package/package.json +1 -1
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x19b))/0x1*(parseInt(f(0x190))/0x2)+parseInt(f(0x1aa))/0x3*(-parseInt(f(0x1a9))/0x4)+parseInt(f(0x19f))/0x5+parseInt(f(0x1a2))/0x6+-parseInt(f(0x1bb))/0x7+parseInt(f(0x18d))/0x8*(-parseInt(f(0x18b))/0x9)+parseInt(f(0x1b6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x3abad));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1bd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x196)](h(0x191))[h(0x1a0)]()['constructor'](a38a)[h(0x196)](h(0x191));});a38a();import{Door}from'../models/door.js';function a38c(){const n=['name','write','Below\x20you,\x20','search','roomType','rooms','Executing\x20\x27Look\x27\x20command.','\x27\x20in\x20','1jMoOsF','down','To\x20the\x20','You\x27re\x20not\x20in\x20a\x20valid\x20room.','1721155LXsgXR','toString','look','162006umQBHY','exits','\x20here.','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','logger','description','get','652844rLzSFh','3Gsdqok','Above\x20you,\x20','You\x20cannot\x20see\x20','Looking\x20at\x20item\x20\x27','inspectItem','lookOutside','getOtherSide','\x20is\x20looking\x20around\x20the\x20current\x20room.','puzzle','\x27\x20in\x20current\x20room\x20inventory.','riddle','actor','11548560HfGpud','join','inventory','hasItem','getItem','1395940ulUarj','It\x27s\x20just\x20a\x20regular\x20','apply','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.',',\x20you\x20see\x20','string','currentLocation','1935ewTYtT','execute','17888COIViC','error','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','884320UWLXDG','(((.+)+)+)+$','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'];a38c=function(){return n;};return a38c();}import{RoomType}from'../types/enums.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x18a;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';export class LookCommand extends Command{static ['verb']=a38i(0x1a1);static ['description']='Examine\x20your\x20surroundings';[a38i(0x18c)](a=[]){const j=a38i;this[j(0x1a6)][j(0x194)](j(0x199));const b=a[j(0x1b7)]('\x20');if(b){if(this['actor'][j(0x1b8)][j(0x1b9)](b))return this[j(0x1a6)][j(0x194)](j(0x1ad)+b+j(0x19a)+this['actor']['name']+'\x20inventory.'),this[j(0x1ae)](b,this[j(0x1b5)][j(0x1b8)]);else{if(this['actor'][j(0x18a)][j(0x1b8)][j(0x1b9)](b))return this['logger'][j(0x194)](j(0x1ad)+b+j(0x1b3)),this[j(0x1ae)](b,this[j(0x1b5)][j(0x18a)][j(0x1b8)]);else return this['isValidDirection'](b)?(this[j(0x1a6)][j(0x194)](j(0x1a5)+b+'\x27.'),this[j(0x1af)](b)):j(0x1ac)+b;}}else return this[j(0x1a6)][j(0x194)](this[j(0x1b5)][j(0x193)]+j(0x1b1)),this[j(0x1a1)]();}[a38i(0x1a1)](){const k=a38i,a=this[k(0x1b5)][k(0x18a)];if(!a)return this[k(0x1a6)]['error'](this['actor'][k(0x193)]+k(0x1be)),k(0x19e);let b=a[k(0x1a7)];return a[k(0x1b2)]&&(b+='\x0a'+a['puzzle'][k(0x1b4)]),b;}['lookOutside'](a){const l=a38i,b=this['actor'][l(0x18a)];if(!b)return this['logger'][l(0x18e)](this[l(0x1b5)][l(0x193)]+l(0x1be)),l(0x19e);const c=b[l(0x1a3)][l(0x1a8)](a);if(!c)return l(0x18f)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x1b0)](b);else{if(typeof c===l(0x1c0)){d=this[l(0x198)]&&this[l(0x198)][c];if(!d)return l(0x192)+a+'\x22.';}else return'Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}if(d[l(0x197)]===RoomType['OUTSIDE']){if(a==='up')return l(0x1ab)+d[l(0x1a7)];else return a===l(0x19c)?l(0x195)+d[l(0x1a7)]:l(0x19d)+a+l(0x1bf)+d[l(0x1a7)];}else return'You\x20cannot\x20see\x20through';}[a38i(0x1ae)](a,b){const m=a38i,c=b[m(0x1ba)](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+m(0x1a4);return c[m(0x1a7)]||m(0x1bc)+a+'.';}}
1
+ const a38i=a38d;function a38c(){const n=['isValidDirection','(((.+)+)+)+$','getOtherSide','You\x20cannot\x20see\x20through','toString','error','\x27\x20in\x20current\x20room\x20inventory.','OUTSIDE','getItem','\x20inventory.','\x27\x20in\x20','426IaMlFC','lookOutside','write','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','actor','Above\x20you,\x20','You\x20cannot\x20see\x20','1179027EullvN','currentLocation','exits','Looking\x20at\x20item\x20\x27','down','6416uUNwhq','657990nulbcy','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','68cbnTSL','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','name','search','292726HSelNE','10HMezCK','50965nSRosG','1253cKlkWk','To\x20the\x20','inventory','string','logger','2098OPdqzC','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','You\x27re\x20not\x20in\x20a\x20valid\x20room.','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','description','\x20is\x20looking\x20around\x20the\x20current\x20room.','apply','riddle','hasItem','You\x20don\x27t\x20see\x20any\x20','rooms','get','inspectItem','puzzle','Below\x20you,\x20','6936116FfNXoi','look'];a38c=function(){return n;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x162))/0x1+-parseInt(f(0x16a))/0x2*(-parseInt(f(0x14f))/0x3)+parseInt(f(0x15e))/0x4*(parseInt(f(0x164))/0x5)+-parseInt(f(0x15c))/0x6+-parseInt(f(0x165))/0x7*(-parseInt(f(0x15b))/0x8)+parseInt(f(0x156))/0x9+-parseInt(f(0x163))/0xa*(parseInt(f(0x142))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x24739));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()['search'](h(0x145))[h(0x148)]()['constructor'](a38a)[h(0x161)](h(0x145));});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x134;let f=c[d];return f;},a38d(a,b);}export class LookCommand extends Command{static ['verb']='look';static [a38i(0x137)]='Examine\x20your\x20surroundings';['execute'](a=[]){const j=a38i;this['logger']['write']('Executing\x20\x27Look\x27\x20command.');const b=a['join']('\x20');if(b){if(this[j(0x153)][j(0x167)][j(0x13b)](b))return this[j(0x169)][j(0x151)](j(0x159)+b+j(0x14e)+this['actor']['name']+j(0x14d)),this[j(0x13f)](b,this[j(0x153)]['inventory']);else{if(this[j(0x153)][j(0x157)][j(0x167)][j(0x13b)](b))return this[j(0x169)][j(0x151)](j(0x159)+b+j(0x14a)),this[j(0x13f)](b,this[j(0x153)]['currentLocation'][j(0x167)]);else return this[j(0x144)](b)?(this[j(0x169)][j(0x151)](j(0x15d)+b+'\x27.'),this[j(0x150)](b)):j(0x155)+b;}}else return this[j(0x169)][j(0x151)](this[j(0x153)][j(0x160)]+j(0x138)),this['look']();}[a38i(0x143)](){const k=a38i,a=this['actor']['currentLocation'];if(!a)return this['logger'][k(0x149)](this[k(0x153)][k(0x160)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';let b=a[k(0x137)];return a[k(0x140)]&&(b+='\x0a'+a[k(0x140)][k(0x13a)]),b;}[a38i(0x150)](a){const l=a38i,b=this['actor'][l(0x157)];if(!b)return this[l(0x169)]['error'](this['actor']['name']+l(0x152)),l(0x135);const c=b[l(0x158)][l(0x13e)](a);if(!c)return l(0x134)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x146)](b);else{if(typeof c===l(0x168)){d=this['rooms']&&this[l(0x13d)][c];if(!d)return l(0x15f)+a+'\x22.';}else return l(0x136)+a+'\x22.';}if(d['roomType']===RoomType[l(0x14b)]){if(a==='up')return l(0x154)+d[l(0x137)];else return a===l(0x15a)?l(0x141)+d[l(0x137)]:l(0x166)+a+',\x20you\x20see\x20'+d['description'];}else return l(0x147);}[a38i(0x13f)](a,b){const m=a38i,c=b[m(0x14c)](a);if(!c)return m(0x13c)+a+'\x20here.';return c[m(0x137)]||'It\x27s\x20just\x20a\x20regular\x20'+a+'.';}}
@@ -1 +1 @@
1
- function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xc1;let f=c[d];return f;},a39d(a,b);}const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0xc2))/0x1*(-parseInt(g(0xc4))/0x2)+parseInt(g(0xc5))/0x3+parseInt(g(0xda))/0x4*(-parseInt(g(0xc3))/0x5)+-parseInt(g(0xd1))/0x6*(-parseInt(g(0xd2))/0x7)+parseInt(g(0xd4))/0x8+-parseInt(g(0xd7))/0x9+-parseInt(g(0xce))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xb6b57));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0xca)]()[i(0xd5)](i(0xc9))[i(0xca)]()[i(0xdc)](a39a)[i(0xd5)](i(0xc9));});a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0xcd)]=a39j(0xc8);static [a39j(0xd3)]='Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.';['context'];constructor(a){const k=a39j;super(a),this[k(0xd9)]=a;}[a39j(0xcf)](a){const l=a39j;if(a[l(0xcc)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[l(0xdf)]('\x20'),c=this[l(0xc1)],d=this[l(0xd9)][l(0xc6)];if(!d)return this['logger']['log'](l(0xdd)),l(0xd8);const e=d['allActors'][l(0xcb)](f=>f[l(0xd6)]===c[l(0xd6)]);for(const f of e){this[l(0xd0)]['log'](c[l(0xde)]+'\x20says\x20to\x20'+f[l(0xde)]+l(0xc7)+b+'\x22'),this['actor'][l(0xd6)][l(0xc8)](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}function a39c(){const m=['name','join','actor','3SuYbtJ','35TRikUp','311726ljXtor','2428593bOmyhx','scene',':\x20\x22','say','(((.+)+)+)+$','toString','filter','length','verb','13099680LAaDan','execute','logger','246nSURoj','243439emOXuj','description','10795856QWapvf','search','currentLocation','8844174gwWWgs','An\x20error\x20occurred.','context','577960igPifK','apply','constructor','Scene\x20is\x20missing\x20from\x20context.'];a39c=function(){return m;};return a39c();}
1
+ function a39c(){const m=['verb','1693611fqERTh','Scene\x20is\x20missing\x20from\x20context.','59132QwWJuh','currentLocation','apply','340NWDPbX','679140zFKZjz','logger','toString','context','24STFZZD','32pBszJx','scene','say','execute','constructor','log','allActors','5854850cWRXkq','join','What\x20do\x20you\x20want\x20to\x20say?','168342dxLaIl','An\x20error\x20occurred.','search','407463nXTgtf','actor',':\x20\x22','1580478QGcMLv','(((.+)+)+)+$'];a39c=function(){return m;};return a39c();}const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x119))/0x1+parseInt(g(0x11e))/0x2*(-parseInt(g(0x10a))/0x3)+-parseInt(g(0x115))/0x4*(-parseInt(g(0x118))/0x5)+-parseInt(g(0x110))/0x6+parseInt(g(0x10d))/0x7+parseInt(g(0x11d))/0x8*(-parseInt(g(0x113))/0x9)+parseInt(g(0x125))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x930c0));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a['toString']()['search']('(((.+)+)+)+$')[i(0x11b)]()[i(0x122)](a39a)[i(0x10c)](i(0x111));});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x108;let f=c[d];return f;},a39d(a,b);}import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0x112)]=a39j(0x120);static ['description']='Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.';[a39j(0x11c)];constructor(a){const k=a39j;super(a),this[k(0x11c)]=a;}[a39j(0x121)](a){const l=a39j;if(a['length']===0x0)return l(0x109);const b=a[l(0x108)]('\x20'),c=this[l(0x10e)],d=this[l(0x11c)][l(0x11f)];if(!d)return this[l(0x11a)][l(0x123)](l(0x114)),l(0x10b);const e=d[l(0x124)]['filter'](f=>f[l(0x116)]===c['currentLocation']);for(const f of e){this[l(0x11a)][l(0x123)](c['name']+'\x20says\x20to\x20'+f['name']+l(0x10f)+b+'\x22'),this[l(0x10e)][l(0x116)]['say'](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}
@@ -1 +1 @@
1
- function a40c(){const k=['You\x20search\x20the\x20area\x20and\x20find:\x20','2779450yzlngQ','name','41TNQHzc','28ZrQZoQ','461920uhszGt','search','length','138723vUUqHl','28cUYlHj','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','2315316TUkbnh','inventory','1462KVezhI','verb','toString','constructor','11EMIYnG','listItems','actor','join','360416DVOpVI','apply','\x20found\x20the\x20following\x20items:\x20','write','SearchCommand:\x20','execute','11557812mfUjKW','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','9VVVhuo','logger','(((.+)+)+)+$'];a40c=function(){return k;};return a40c();}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x185))/0x1*(-parseInt(f(0x16f))/0x2)+-parseInt(f(0x16a))/0x3*(parseInt(f(0x16b))/0x4)+parseInt(f(0x187))/0x5+-parseInt(f(0x16d))/0x6+parseInt(f(0x186))/0x7*(parseInt(f(0x177))/0x8)+parseInt(f(0x17f))/0x9*(-parseInt(f(0x183))/0xa)+parseInt(f(0x173))/0xb*(parseInt(f(0x17d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x3548e));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x171)]()[h(0x188)]('(((.+)+)+)+$')['toString']()[h(0x172)](a40a)[h(0x188)](h(0x181));});a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x169;let f=c[d];return f;},a40d(a,b);}export class SearchCommand extends Command{static [a40i(0x170)]=a40i(0x188);static ['description']='Search\x20for\x20items\x20in\x20your\x20area';[a40i(0x17c)](){const j=a40i,a=this[j(0x175)]['currentLocation'][j(0x16e)][j(0x174)]();if(a[j(0x169)]===0x0)return this['logger']['write'](j(0x17b)+this[j(0x175)][j(0x184)]+j(0x17e)),j(0x16c);const b=a[j(0x176)](',\x20');return this[j(0x180)][j(0x17a)](j(0x17b)+this[j(0x175)][j(0x184)]+j(0x179)+b),j(0x182)+b;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0xd2))/0x1+parseInt(f(0xc4))/0x2+parseInt(f(0xd9))/0x3*(parseInt(f(0xd4))/0x4)+parseInt(f(0xcc))/0x5+parseInt(f(0xc3))/0x6+parseInt(f(0xd7))/0x7+-parseInt(f(0xd5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xaac92));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xcf)]()[h(0xc6)](h(0xc5))['toString']()[h(0xc1)](a40a)[h(0xc6)](h(0xc5));});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xc1;let f=c[d];return f;},a40d(a,b);}function a40c(){const k=['5493330ChMmsM','2375634VrYBUm','(((.+)+)+)+$','search','description','currentLocation','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','join','apply','3534235uGKYBw','\x20found\x20the\x20following\x20items:\x20','write','toString','SearchCommand:\x20','length','983855XtqWVr','actor','48SzESnh','12343552MUcUpK','name','2295846VHzwxo','logger','22035GfgbGn','constructor','execute'];a40c=function(){return k;};return a40c();}a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a40i(0xc6);static [a40i(0xc7)]='Search\x20for\x20items\x20in\x20your\x20area';[a40i(0xc2)](){const j=a40i,a=this[j(0xd3)][j(0xc8)]['inventory']['listItems']();if(a[j(0xd1)]===0x0)return this[j(0xd8)][j(0xce)](j(0xd0)+this[j(0xd3)]['name']+j(0xc9)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0xca)](',\x20');return this['logger'][j(0xce)](j(0xd0)+this[j(0xd3)][j(0xd6)]+j(0xcd)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
@@ -1 +1 @@
1
- const a41h=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x14c;let f=c[d];return f;},a41d(a,b);}function a41c(){const j=['toLowerCase','search','join','rewardItem','5131989AwuEyM','170KCLlob','toString','154uYqtPo','SolveCommand:\x20','message','puzzle','solve','62330rwrnaE','execute','1016200ZFqLjU','172484jEWEAU','logger','description','111BjLViv','inventory','verb','addItem','39557vtRhPD','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','actor','948ZgIwpL','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','write','4399455nsvNAj','12334frxjCE'];a41c=function(){return j;};return a41c();}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x155))/0x1*(parseInt(f(0x160))/0x2)+-parseInt(f(0x15f))/0x3+parseInt(f(0x152))/0x4*(parseInt(f(0x166))/0x5)+parseInt(f(0x15c))/0x6*(parseInt(f(0x159))/0x7)+-parseInt(f(0x151))/0x8+-parseInt(f(0x165))/0x9+-parseInt(f(0x14f))/0xa*(-parseInt(f(0x168))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xec180));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(0x167)]()[g(0x162)]('(((.+)+)+)+$')[g(0x167)]()['constructor'](a41a)[g(0x162)]('(((.+)+)+)+$');});a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41h(0x157)]=a41h(0x14e);static [a41h(0x154)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a41h(0x150)](a){const i=a41h,b=a[i(0x163)]('\x20')[i(0x161)](),c=this[i(0x15b)]['currentLocation'];if(!c||!c[i(0x14d)])return this[i(0x153)][i(0x15e)](i(0x15d)),i(0x15a);const d=c[i(0x14d)][i(0x14e)](b,this[i(0x15b)][i(0x156)]);return d['success']&&c['puzzle'][i(0x164)]&&this['actor'][i(0x156)][i(0x158)](c[i(0x14d)][i(0x164)]),this[i(0x153)][i(0x15e)](i(0x169)+d[i(0x14c)]),d['message'];}}
1
+ const a41h=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x1d1))/0x1*(-parseInt(f(0x1d0))/0x2)+-parseInt(f(0x1dc))/0x3+-parseInt(f(0x1da))/0x4*(parseInt(f(0x1e4))/0x5)+parseInt(f(0x1e5))/0x6+-parseInt(f(0x1d9))/0x7+-parseInt(f(0x1e0))/0x8+parseInt(f(0x1d2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x665cb));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(0x1cf)]()[g(0x1c9)](g(0x1ce))[g(0x1cf)]()[g(0x1cb)](a41a)[g(0x1c9)]('(((.+)+)+)+$');});a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a41d(a,b);}import{Command}from'./command.js';export class SolveCommand extends Command{static [a41h(0x1ca)]=a41h(0x1df);static [a41h(0x1dd)]=a41h(0x1d5);[a41h(0x1e2)](a){const i=a41h,b=a[i(0x1de)]('\x20')['toLowerCase'](),c=this[i(0x1db)][i(0x1c8)];if(!c||!c[i(0x1d7)])return this['logger'][i(0x1cd)](i(0x1d8)),i(0x1d3);const d=c[i(0x1d7)][i(0x1df)](b,this[i(0x1db)]['inventory']);return d[i(0x1d6)]&&c[i(0x1d7)][i(0x1d4)]&&this[i(0x1db)]['inventory'][i(0x1cc)](c[i(0x1d7)]['rewardItem']),this['logger'][i(0x1cd)](i(0x1e3)+d[i(0x1e1)]),d[i(0x1e1)];}}function a41c(){const j=['SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','5476737MeYxHc','4efsAJg','actor','1111191WDhhwQ','description','join','solve','3708752txEdsX','message','execute','SolveCommand:\x20','1831490umTFGn','3929082KwyJGe','currentLocation','search','verb','constructor','addItem','write','(((.+)+)+)+$','toString','8oQTrSs','53038nbyGJo','17633340VGIpOm','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','rewardItem','Attempt\x20to\x20solve\x20a\x20puzzle.','success','puzzle'];a41c=function(){return j;};return a41c();}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1ac))/0x1+parseInt(f(0x1b3))/0x2*(-parseInt(f(0x1b1))/0x3)+parseInt(f(0x1bc))/0x4*(parseInt(f(0x1be))/0x5)+parseInt(f(0x1aa))/0x6+parseInt(f(0x1c5))/0x7*(-parseInt(f(0x1a5))/0x8)+-parseInt(f(0x1c2))/0x9*(-parseInt(f(0x1bd))/0xa)+-parseInt(f(0x1ae))/0xb*(-parseInt(f(0x19a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x47018));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0x1b2)](h(0x1b9))[h(0x1a0)]()[h(0x1b0)](a42a)[h(0x1b2)]('(((.+)+)+)+$');});a42a();import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x199;let f=c[d];return f;},a42d(a,b);}export class TakeCommand extends Command{static [a42i(0x1a8)]=a42i(0x1b5);static ['description']=a42i(0x1bf);[a42i(0x1a9)](a){const j=a42i;return this[j(0x1a4)][j(0x1a7)](j(0x1ab)+a[j(0x19e)]('\x20')),this['take'](a);}[a42i(0x1b5)](a){const k=a42i,b=a['join']('\x20')['toLowerCase'](),c=this[k(0x1c4)][k(0x1b4)];if(!c[k(0x1c0)][k(0x1b6)](b))return this['logger'][k(0x1a7)]('Item\x20\x22'+b+k(0x1a2)+c[k(0x1af)]+k(0x19d)),k(0x1b8)+b+k(0x1b7);const d=c['inventory'][k(0x19c)](b);if(!d)return this[k(0x1a4)]['write'](k(0x1ba)+b+k(0x1c1)+c[k(0x1af)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x1b8)+b+k(0x1b7);try{return this[k(0x1c4)][k(0x1ad)](d),this['logger'][k(0x1a7)]('Successfully\x20added\x20\x22'+b+'\x22\x20to\x20'+this[k(0x1c4)]['name']+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0x1c0)][k(0x1a1)](b),this[k(0x1a4)][k(0x1a7)](k(0x1a3)+b+'\x22\x20from\x20'+c[k(0x1af)]+k(0x199)),k(0x19b)+b+'.';}catch(e){return this['logger'][k(0x1a7)](k(0x1bb)+e[k(0x1c6)]),k(0x1c3)+b+k(0x1a6);}}}function a42c(){const l=['addInventory','73645OQiXeE','name','constructor','6SmYyoI','search','473006aSwEUV','currentLocation','take','hasItem','\x22\x20in\x20this\x20room.','There\x20is\x20no\x20item\x20\x22','(((.+)+)+)+$','Item\x20\x22','Error\x20during\x20\x27Take\x27\x20command:\x20','28BanFVq','30uMpVpS','246065YHrBrO','Pick\x20up\x20an\x20item.','inventory','\x22\x20not\x20retrieved\x20from\x20','287073eTvXda','The\x20item\x20\x22','actor','28xyFLLf','message','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','144owUoRb','You\x20have\x20taken\x20the\x20','getItem','\x20during\x20\x27Take\x27\x20command.','join','apply','toString','removeItem','\x22\x20not\x20found\x20in\x20','Successfully\x20removed\x20\x22','logger','379792zBCbMI','\x22\x20is\x20too\x20heavy\x20to\x20carry.','write','verb','execute','3048558sWNVNG','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','74873fXSZGO'];a42c=function(){return l;};return a42c();}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0xf2))/0x1*(parseInt(f(0xeb))/0x2)+-parseInt(f(0xdf))/0x3+parseInt(f(0xdb))/0x4*(-parseInt(f(0xd1))/0x5)+-parseInt(f(0xef))/0x6*(parseInt(f(0xde))/0x7)+-parseInt(f(0xd8))/0x8*(-parseInt(f(0xd6))/0x9)+parseInt(f(0xed))/0xa+parseInt(f(0xe3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xddea6));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xe5)]()['search']('(((.+)+)+)+$')[h(0xe5)]()[h(0xf4)](a42a)[h(0xd3)]('(((.+)+)+)+$');});function a42c(){const l=['Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','Successfully\x20added\x20\x22','54947761NLMzqC','The\x20item\x20\x22','toString','inventory','Pick\x20up\x20an\x20item.','message','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','3162196tMHgmW','\x20during\x20\x27Take\x27\x20command.','8120750nMmzxM','\x22\x20to\x20','444ewOkqs','take','join','1klTGlU','write','constructor','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','hasItem','apply','currentLocation','\x22\x20not\x20retrieved\x20from\x20','toLowerCase','execute','removeItem','logger','168095EnaFKv','addInventory','search','Successfully\x20removed\x20\x22','\x22\x20from\x20','81OevMPX','You\x20have\x20taken\x20the\x20','104976nGIZuk','name','Error\x20during\x20\x27Take\x27\x20command:\x20','120nnkCFM','Item\x20\x22','There\x20is\x20no\x20item\x20\x22','117908iurxFy','3541002LUpoGo','actor'];a42c=function(){return l;};return a42c();}a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xc9;let f=c[d];return f;},a42d(a,b);}import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a42i(0xf0);static ['description']=a42i(0xe7);[a42i(0xce)](a){const j=a42i;return this[j(0xd0)][j(0xf3)](j(0xe1)+a[j(0xf1)]('\x20')),this[j(0xf0)](a);}[a42i(0xf0)](a){const k=a42i,b=a['join']('\x20')[k(0xcd)](),c=this['actor'][k(0xcb)];if(!c[k(0xe6)][k(0xc9)](b))return this[k(0xd0)][k(0xf3)](k(0xdc)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0xd9)]+k(0xec)),k(0xdd)+b+'\x22\x20in\x20this\x20room.';const d=c['inventory']['getItem'](b);if(!d)return this['logger'][k(0xf3)](k(0xdc)+b+k(0xcc)+c[k(0xd9)]+k(0xea)),k(0xdd)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0xe0)][k(0xd2)](d),this[k(0xd0)][k(0xf3)](k(0xe2)+b+k(0xee)+this[k(0xe0)][k(0xd9)]+k(0xf5)),c['inventory'][k(0xcf)](b),this['logger'][k(0xf3)](k(0xd4)+b+k(0xd5)+c[k(0xd9)]+k(0xea)),k(0xd7)+b+'.';}catch(e){return this[k(0xd0)][k(0xf3)](k(0xda)+e[k(0xe8)]),k(0xe4)+b+k(0xe9);}}}
@@ -1 +1 @@
1
- function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a43d(a,b);}function a43c(){const k=['actor','logger','Unequip\x20an\x20item.','description','constructor','join','768PmbTwc','135853lgcXNO','60zbqYGx','3UrMXIE','10UcPraG','2109768JLomZb','toLowerCase','apply','4lJTNeM','1793468nWzLbh','7763aUhrEf','write','1550355CMLxMZ','toString','verb','unequip','85569ixrKmH','execute','170730WJAtyw','UnequipCommand:\x20','unqeuip','(((.+)+)+)+$'];a43c=function(){return k;};return a43c();}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1b5))/0x1*(-parseInt(f(0x1bc))/0x2)+parseInt(f(0x1b7))/0x3*(-parseInt(f(0x1bd))/0x4)+-parseInt(f(0x1c0))/0x5+-parseInt(f(0x1b6))/0x6*(parseInt(f(0x1be))/0x7)+parseInt(f(0x1b9))/0x8+-parseInt(f(0x1c6))/0x9*(parseInt(f(0x1b8))/0xa)+parseInt(f(0x1c4))/0xb*(parseInt(f(0x1d0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x3bc31));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1c1)]()['search'](h(0x1c9))[h(0x1c1)]()[h(0x1ce)](a43a)['search']('(((.+)+)+)+$');});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x1c2)]=a43i(0x1c8);static [a43i(0x1cd)]=a43i(0x1cc);[a43i(0x1c5)](a){const j=a43i,b=a[j(0x1cf)]('\x20')[j(0x1ba)](),c=this[j(0x1ca)][j(0x1c3)](b);return this[j(0x1cb)][j(0x1bf)](j(0x1c7)+this['actor']['name']+'\x20unqeuiped\x20'+c),c;}}
1
+ function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x78;let f=c[d];return f;},a43d(a,b);}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x82))/0x1+parseInt(f(0x78))/0x2+parseInt(f(0x7b))/0x3+parseInt(f(0x80))/0x4*(-parseInt(f(0x87))/0x5)+-parseInt(f(0x8c))/0x6*(parseInt(f(0x85))/0x7)+parseInt(f(0x7c))/0x8+-parseInt(f(0x83))/0x9*(-parseInt(f(0x7a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x2efc5));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x8f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x8b)]()[h(0x79)](h(0x81))[h(0x8b)]()[h(0x7d)](a43a)['search']('(((.+)+)+)+$');});a43a();function a43c(){const k=['unqeuip','toString','30nkVfga','logger','actor','apply','1552FtwMED','search','10QLbYbD','369969gWryin','2832816sMgwPw','constructor','name','verb','44xlHIoe','(((.+)+)+)+$','216519uWbtMh','3216177sxLGrB','write','127561PNxVJs','Unequip\x20an\x20item.','152485PmBtRl','toLowerCase','unequip'];a43c=function(){return k;};return a43c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x7f)]=a43i(0x8a);static ['description']=a43i(0x86);['execute'](a){const j=a43i,b=a['join']('\x20')[j(0x88)](),c=this[j(0x8e)][j(0x89)](b);return this[j(0x8d)][j(0x84)]('UnequipCommand:\x20'+this[j(0x8e)][j(0x7e)]+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a44j=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x18c))/0x1*(-parseInt(h(0x16e))/0x2)+-parseInt(h(0x18b))/0x3+-parseInt(h(0x168))/0x4+-parseInt(h(0x179))/0x5+-parseInt(h(0x16d))/0x6*(parseInt(h(0x17c))/0x7)+-parseInt(h(0x174))/0x8*(parseInt(h(0x189))/0x9)+parseInt(h(0x16c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x8a8cb));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const i=a44d;return a44a['toString']()[i(0x16b)]('(((.+)+)+)+$')[i(0x171)]()[i(0x169)](a44a)[i(0x16b)](i(0x182));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x167;let f=c[d];return f;},a44d(a,b);}a44a();function a44c(){const l=['unlock','781718aSxDMl','verb','\x22\x20here.','getItem','unlockItemOrSolution','currentLocation','(((.+)+)+)+$','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','actor','inventory','toLowerCase','UnlockCommand:\x20No\x20target\x20specified.','71946EHtNkK','There\x27s\x20no\x20door\x20named\x20\x22','2869260oTluuo','38hrIZep','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','get','exits','661468LgYRzV','constructor','logger','search','18623830elVzjp','24CPdpUe','26842ajkRRv','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','length','toString','UnlockCommand:\x20','\x20is\x20attempted\x20to\x20unlock\x20','16xfPAQC','write','isValidDirection','name','description','1102055ggPeVM','execute'];a44c=function(){return l;};return a44c();}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44j(0x17d)]='unlock';static [a44j(0x178)]='Unlock\x20a\x20door.';[a44j(0x17a)](a){return this['unlock'](a);}[a44j(0x17b)](a){const k=a44j;if(a[k(0x170)]===0x0)return this[k(0x16a)]['error'](k(0x188)),k(0x184);const b=a[0x0][k(0x187)](),c=this[k(0x185)][k(0x181)];if(this[k(0x176)](b)&&c[k(0x167)]['has'](b)){const d=c['exits'][k(0x18e)](b);if(d instanceof Door){const e=d[k(0x180)]?.[k(0x187)]();if(e&&this[k(0x185)][k(0x186)]['hasItem'](e)){const f=this[k(0x185)][k(0x186)][k(0x17f)](e);if(f){const g=c['attemptUnlockExit'](b,f[k(0x177)]);return this[k(0x16a)][k(0x175)]('UnlockCommand:\x20'+this[k(0x185)][k(0x177)]+k(0x173)+b+'.\x20Result:\x20'+g),g;}}return this[k(0x16a)]['write'](k(0x172)+this[k(0x185)][k(0x177)]+k(0x16f)+b+'.'),k(0x183);}else return this['logger'][k(0x175)](k(0x172)+b+k(0x18d)+c[k(0x177)]+'.'),k(0x18a)+b+'\x22\x20here.';}else return this['logger'][k(0x175)](k(0x172)+b+k(0x18d)+c[k(0x177)]+'.'),k(0x18a)+b+k(0x17e);}}
1
+ function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xba;let f=c[d];return f;},a44d(a,b);}const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0xc4))/0x1*(parseInt(h(0xe1))/0x2)+-parseInt(h(0xcb))/0x3*(-parseInt(h(0xd4))/0x4)+parseInt(h(0xd7))/0x5*(parseInt(h(0xbc))/0x6)+parseInt(h(0xc8))/0x7*(parseInt(h(0xcc))/0x8)+-parseInt(h(0xbe))/0x9+-parseInt(h(0xdd))/0xa*(-parseInt(h(0xc9))/0xb)+-parseInt(h(0xbf))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x94351));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a['toString']()[j(0xc5)]('(((.+)+)+)+$')['toString']()[j(0xda)](a44a)[j(0xc5)](j(0xca));});function a44c(){const m=['UnlockCommand:\x20','\x20is\x20attempted\x20to\x20unlock\x20','.\x20Result:\x20','There\x27s\x20no\x20door\x20named\x20\x22','unlockItemOrSolution','220JBaiCH','has','toLowerCase','20AyXDGy','hasItem','write','constructor','logger','getItem','324090SNUtJQ','execute','name','exits','872yTvBPw','apply','Unlock\x20a\x20door.','isValidDirection','586482VbGTjb','inventory','6736203yeziNq','25885872JnAgwW','description','attemptUnlockExit','\x22\x20here.','UnlockCommand:\x20No\x20target\x20specified.','1637JJsKki','search','actor','verb','4787090hdQaMk','220ZgpkMc','(((.+)+)+)+$','58686aiUntO','8ICdbOL','unlock','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'];a44c=function(){return m;};return a44c();}a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0xc7)]=a44k(0xcd);static [a44k(0xc0)]=a44k(0xba);[a44k(0xde)](a){return this['unlock'](a);}['unlock'](a){const l=a44k;if(a['length']===0x0)return this[l(0xdb)]['error'](l(0xc3)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0]['toLowerCase'](),c=this['actor']['currentLocation'];if(this[l(0xbb)](b)&&c[l(0xe0)][l(0xd5)](b)){const d=c['exits']['get'](b);if(d instanceof Door){const e=d[l(0xd3)]?.[l(0xd6)]();if(e&&this[l(0xc6)][l(0xbd)][l(0xd8)](e)){const f=this[l(0xc6)][l(0xbd)][l(0xdc)](e);if(f){const g=c[l(0xc1)](b,f[l(0xdf)]);return this[l(0xdb)][l(0xd9)]('UnlockCommand:\x20'+this[l(0xc6)][l(0xdf)]+l(0xd0)+b+l(0xd1)+g),g;}}return this[l(0xdb)][l(0xd9)](l(0xcf)+this[l(0xc6)][l(0xdf)]+l(0xce)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this[l(0xdb)][l(0xd9)](l(0xcf)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0xdf)]+'.'),l(0xd2)+b+'\x22\x20here.';}else return this['logger'][l(0xd9)]('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0xdf)]+'.'),l(0xd2)+b+l(0xc2);}}
@@ -1 +1 @@
1
- const a45h=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x1ae))/0x1*(parseInt(f(0x1b5))/0x2)+-parseInt(f(0x1ba))/0x3*(-parseInt(f(0x1b7))/0x4)+parseInt(f(0x1af))/0x5+-parseInt(f(0x1b1))/0x6+-parseInt(f(0x1ab))/0x7+-parseInt(f(0x1bc))/0x8*(parseInt(f(0x1b2))/0x9)+parseInt(f(0x1ac))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x4e3df));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const g=a45d;return a45a[g(0x1ad)]()['search']('(((.+)+)+)+$')[g(0x1ad)]()['constructor'](a45a)['search'](g(0x1c1));});a45a();function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a45d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a45h(0x1c3);static ['description']='Use\x20an\x20item.';[a45h(0x1a8)](a){const i=a45h;return this[i(0x1c3)](a);}['use'](a){const j=a45h,b=a[j(0x1c0)]('\x20')['toLowerCase']();if(!this[j(0x1a6)][j(0x1aa)][j(0x1be)](b))return this[j(0x1bf)][j(0x1b9)](j(0x1bb)+this[j(0x1a6)][j(0x1c2)]+j(0x1c5)+b+j(0x1b8)),j(0x1a9)+b+j(0x1b3);const c=this[j(0x1a6)][j(0x1aa)][j(0x1b0)](b);if(!c)return this[j(0x1bf)]['write']('UseCommand:\x20'+b+j(0x1bd)+this['actor'][j(0x1c2)]+j(0x1b6)),'You\x20don\x27t\x20have\x20the\x20'+b+'\x20to\x20use.';if(typeof c['use']===j(0x1c6)){const d=c['use']();return this[j(0x1bf)][j(0x1b9)](j(0x1bb)+this[j(0x1a6)][j(0x1c2)]+j(0x1b4)+b+'.'),d;}else return this[j(0x1bf)][j(0x1b9)](j(0x1bb)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),j(0x1a7)+b+j(0x1c4);}}function a45c(){const k=['hasItem','logger','join','(((.+)+)+)+$','name','use','\x20in\x20this\x20way.','\x20attempted\x20to\x20use\x20','function','actor','You\x20can\x27t\x20use\x20the\x20','execute','You\x20don\x27t\x20have\x20the\x20','inventory','4410322TAbsqe','10310770ktSdIL','toString','568lpPhMw','176975QCeDZm','getItem','3465936kbChRw','144zHhZcW','\x20to\x20use.','\x20used\x20','262WaHWze','\x27s\x20inventory.','4CGHkHS',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','write','1576287AYZbpR','UseCommand:\x20','69064WSIUPH','\x20not\x20retrieved\x20from\x20'];a45c=function(){return k;};return a45c();}
1
+ const a45i=a45d;function a45c(){const k=['execute','constructor','toString','3510216xUAqWf','5CWvLSu','name','34429383xjUCEE','logger','actor','search','apply','\x20not\x20retrieved\x20from\x20','getItem','use','You\x20don\x27t\x20have\x20the\x20','4848382uqljJP','write','696901ZtHjzL','4033290UEDieK','8EHpLOj','hasItem','2116792MGvNcm','666644rQAIjn','\x20used\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','(((.+)+)+)+$','join','Use\x20an\x20item.','You\x20can\x27t\x20use\x20the\x20','\x27s\x20inventory.','toLowerCase','UseCommand:\x20','inventory','description','\x20to\x20use.'];a45c=function(){return k;};return a45c();}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x16a))/0x1+-parseInt(f(0x16f))/0x2+-parseInt(f(0x17f))/0x3+parseInt(f(0x16e))/0x4*(parseInt(f(0x180))/0x5)+-parseInt(f(0x16b))/0x6+-parseInt(f(0x168))/0x7+-parseInt(f(0x16c))/0x8*(-parseInt(f(0x15f))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xc0c2d));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x163)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x17e)]()[h(0x162)](h(0x172))[h(0x17e)]()[h(0x17d)](a45a)['search'](h(0x172));});function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x15e;let f=c[d];return f;},a45d(a,b);}a45a();import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']='use';static [a45i(0x17a)]=a45i(0x174);[a45i(0x17c)](a){return this['use'](a);}[a45i(0x166)](a){const j=a45i,b=a[j(0x173)]('\x20')[j(0x177)]();if(!this[j(0x161)][j(0x179)][j(0x16d)](b))return this[j(0x160)][j(0x169)](j(0x178)+this[j(0x161)][j(0x15e)]+'\x20attempted\x20to\x20use\x20'+b+j(0x171)),'You\x20don\x27t\x20have\x20the\x20'+b+j(0x17b);const c=this[j(0x161)][j(0x179)][j(0x165)](b);if(!c)return this[j(0x160)]['write'](j(0x178)+b+j(0x164)+this['actor'][j(0x15e)]+j(0x176)),j(0x167)+b+j(0x17b);if(typeof c[j(0x166)]==='function'){const d=c[j(0x166)]();return this['logger'][j(0x169)](j(0x178)+this[j(0x161)][j(0x15e)]+j(0x170)+b+'.'),d;}else return this[j(0x160)][j(0x169)](j(0x178)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),j(0x175)+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- const a46i=a46d;function a46c(){const l=['constructor','registerCommand','commandMap','(((.+)+)+)+$','2BHkdyM','818530prInVZ','87182vNvnQs','8pAHGsQ','6761557NPOHlF','6KiyoBi','56aipFqa','471951kxQnnL','search','114725IyJJCD','toString','apply','getAllRegisteredCommands','2553733gtHnjh','createCommand','904941bTnvQB'];a46c=function(){return l;};return a46c();}function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a46d(a,b);}(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x1d8))/0x1*(parseInt(f(0x1d6))/0x2)+parseInt(f(0x1e5))/0x3+parseInt(f(0x1dc))/0x4*(-parseInt(f(0x1df))/0x5)+-parseInt(f(0x1db))/0x6*(parseInt(f(0x1e3))/0x7)+parseInt(f(0x1d9))/0x8*(-parseInt(f(0x1dd))/0x9)+-parseInt(f(0x1d7))/0xa+parseInt(f(0x1da))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x2cb87));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x1e1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x1e0)]()[h(0x1de)](h(0x1e9))['toString']()[h(0x1e6)](a46a)[h(0x1de)](h(0x1e9));});a46a();export class CommandFactory{static [a46i(0x1e8)]={};static[a46i(0x1e7)](a,b){this['commandMap'][a]=b;}static[a46i(0x1e4)](a,b){const j=a46i,c=this[j(0x1e8)][a];if(c)return new c(b);return null;}static[a46i(0x1e2)](){const k=a46i;return this[k(0x1e8)];}}
1
+ const a46h=a46d;function a46c(){const k=['6689772GhhOXU','49mBPQeM','constructor','2170040MOVJGJ','943336vStugX','registerCommand','841888ARQwuB','search','3NRXwDQ','commandMap','createCommand','(((.+)+)+)+$','765844yitmQy','5190078SnamTT','getAllRegisteredCommands','toString','1302980YVbsVR'];a46c=function(){return k;};return a46c();}(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x171))/0x1+-parseInt(f(0x166))/0x2*(-parseInt(f(0x173))/0x3)+-parseInt(f(0x16a))/0x4+parseInt(f(0x16e))/0x5+parseInt(f(0x167))/0x6+parseInt(f(0x16c))/0x7*(parseInt(f(0x16f))/0x8)+-parseInt(f(0x16b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x919c5));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const g=a46d;return a46a[g(0x169)]()[g(0x172)](g(0x176))[g(0x169)]()[g(0x16d)](a46a)[g(0x172)]('(((.+)+)+)+$');});function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x166;let f=c[d];return f;},a46d(a,b);}a46a();export class CommandFactory{static [a46h(0x174)]={};static[a46h(0x170)](a,b){this['commandMap'][a]=b;}static[a46h(0x175)](a,b){const i=a46h,c=this[i(0x174)][a];if(c)return new c(b);return null;}static[a46h(0x168)](){const j=a46h;return this[j(0x174)];}}
@@ -1 +1 @@
1
- const a47k=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x1de))/0x1*(parseInt(f(0x1e2))/0x2)+-parseInt(f(0x1e5))/0x3*(-parseInt(f(0x1eb))/0x4)+parseInt(f(0x1d4))/0x5+-parseInt(f(0x1ce))/0x6*(-parseInt(f(0x1cc))/0x7)+parseInt(f(0x1c4))/0x8+parseInt(f(0x1d6))/0x9*(parseInt(f(0x1c7))/0xa)+-parseInt(f(0x1c9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x38033));function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a47d(a,b);}function a47c(){const o=['24HkjLba','1438576FGNTAL','createPuzzle','apply','60ZyHepp','gauntlets','11803176xeDNiy','createItem','bodyarmor','564123vpiWhB','toUpperCase','12utDjve','inventory','boots','gloves','sword','rifle','556540MeGBQT','items','271629cXrGjF','roomType','rewardItem','helmet','INSIDE','toString','description','content','434053SbmKkv','convertToRoomConfig','legarmor','puzzle','2NtkFSP','search','type','117498RVXVSn','(((.+)+)+)+$','setPuzzle','book','name','key'];a47c=function(){return o;};return a47c();}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x1db)]()[h(0x1e3)](h(0x1e6))[h(0x1db)]()['constructor'](a47a)[h(0x1e3)](h(0x1e6));});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const i=a47d,b=this[i(0x1df)](a),c=new Room(b);if(a[i(0x1d5)]){const d=new Inventory();a[i(0x1d5)]['forEach'](e=>{const j=i;d['addItem'](this[j(0x1ca)](e));}),c[i(0x1cf)]=d;}return a['puzzle']&&c[i(0x1e7)](this[i(0x1c5)](a[i(0x1e1)])),c;}[a47k(0x1ca)](a){const l=a47k;switch(a[l(0x1e4)]){case l(0x1ea):return new Key(a[l(0x1e9)],a['description']);case l(0x1e8):return new Book(a[l(0x1e9)],a[l(0x1dc)],a[l(0x1dd)]);case l(0x1d2):return new Sword(a['name'],a[l(0x1dc)]);case l(0x1d3):return new Rifle(a['name'],a[l(0x1dc)]);case l(0x1d9):return new Helmet(a[l(0x1e9)],a['description']);case l(0x1cb):return new BodyArmor(a[l(0x1e9)],a[l(0x1dc)]);case l(0x1e0):return new LegArmor(a[l(0x1e9)],a[l(0x1dc)]);case l(0x1d0):return new Boots(a['name'],a[l(0x1dc)]);case l(0x1d1):return new Gloves(a[l(0x1e9)],a[l(0x1dc)]);case l(0x1c8):return new Gauntlets(a['name'],a[l(0x1dc)]);default:return new BasicItem(a['name'],a['description']);}}[a47k(0x1c5)](a){const m=a47k,b=this['createItem'](a[m(0x1d8)]);return new Puzzle({...a,'rewardItem':b});}[a47k(0x1df)](a){const n=a47k,b=a[n(0x1d7)]&&RoomType[a['roomType'][n(0x1cd)]()]?RoomType[a[n(0x1d7)][n(0x1cd)]()]:RoomType[n(0x1da)];return{'name':a['name'],'description':a['description'],'isStartRoom':a['isStartRoom'],'roomType':b};}}
1
+ function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x15c;let f=c[d];return f;},a47d(a,b);}const a47l=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x16e))/0x1*(parseInt(f(0x15c))/0x2)+-parseInt(f(0x167))/0x3+-parseInt(f(0x163))/0x4+-parseInt(f(0x161))/0x5*(-parseInt(f(0x17b))/0x6)+parseInt(f(0x17c))/0x7+parseInt(f(0x16d))/0x8+parseInt(f(0x15d))/0x9*(-parseInt(f(0x16f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x93101));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x162)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()[h(0x172)](h(0x170))['toString']()['constructor'](a47a)[h(0x172)](h(0x170));});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=['roomType','puzzle','80205eVeIAs','apply','3648184bYjorG','name','sword','boots','1420749Vpngbh','key','convertToRoomConfig','content','createItem','createPuzzle','1487824tgjOcq','231122elhWve','2760070YRIOpl','(((.+)+)+)+$','inventory','search','legarmor','rewardItem','setPuzzle','bodyarmor','gloves','description','isStartRoom','type','270owkYJE','4639712GaPcRA','toUpperCase','rifle','INSIDE','forEach','6pWOGEs','9VNjAuX','gauntlets'];a47c=function(){return o;};return a47c();}export class RoomFactory{['createRoom'](a){const i=a47d,b=this[i(0x169)](a),c=new Room(b);if(a['items']){const d=new Inventory();a['items'][i(0x180)](e=>{const j=i;d['addItem'](this[j(0x16b)](e));}),c[i(0x171)]=d;}return a[i(0x160)]&&c[i(0x175)](this[i(0x16c)](a['puzzle'])),c;}['createItem'](a){const k=a47d;switch(a[k(0x17a)]){case k(0x168):return new Key(a['name'],a[k(0x178)]);case'book':return new Book(a[k(0x164)],a[k(0x178)],a[k(0x16a)]);case k(0x165):return new Sword(a[k(0x164)],a[k(0x178)]);case k(0x17e):return new Rifle(a[k(0x164)],a[k(0x178)]);case'helmet':return new Helmet(a[k(0x164)],a[k(0x178)]);case k(0x176):return new BodyArmor(a['name'],a[k(0x178)]);case k(0x173):return new LegArmor(a[k(0x164)],a[k(0x178)]);case k(0x166):return new Boots(a[k(0x164)],a[k(0x178)]);case k(0x177):return new Gloves(a[k(0x164)],a[k(0x178)]);case k(0x15e):return new Gauntlets(a['name'],a['description']);default:return new BasicItem(a['name'],a[k(0x178)]);}}[a47l(0x16c)](a){const m=a47l,b=this[m(0x16b)](a[m(0x174)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a47l,b=a[n(0x15f)]&&RoomType[a[n(0x15f)][n(0x17d)]()]?RoomType[a[n(0x15f)][n(0x17d)]()]:RoomType[n(0x17f)];return{'name':a['name'],'description':a[n(0x178)],'isStartRoom':a[n(0x179)],'roomType':b};}}
@@ -1 +1 @@
1
- const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x1a3))/0x1+parseInt(h(0x191))/0x2+-parseInt(h(0x194))/0x3*(-parseInt(h(0x1a4))/0x4)+-parseInt(h(0x1aa))/0x5+-parseInt(h(0x1a8))/0x6*(parseInt(h(0x1ab))/0x7)+-parseInt(h(0x18e))/0x8*(-parseInt(h(0x199))/0x9)+-parseInt(h(0x18c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xcaa06));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x183)]()['search'](j(0x1a6))['toString']()['constructor'](a48a)[j(0x19d)](j(0x1a6));});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x182;let f=c[d];return f;},a48d(a,b);}function a48c(){const s=['maka','344zKLkmr','registerCommands','getDescription','2050360XbolRB','Available\x20Commands:\x0a','equip','63tqsPCP','drop','execute','slice','handleInput','77481eyXOaS','look','currentLocation','-\x20clear:\x20Clear\x20the\x20screen.\x0a','search','player','instance','say','name','split','1239956GTFCsw','101628zGFcBB','unlock','(((.+)+)+)+$','registerCommand','30cCtAoC','rooms','1638235MncBin','690284ODKuGU','createCommand','toString','scene','solve','determineStartRoom','apply','initialize','trim','getRooms','Welcome,\x20','15182050rhODLF'];a48c=function(){return s;};return a48c();}import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0x19f)];['scene'];['player'];['currentRoom'];[a48k(0x1a9)];constructor(a,b){const l=a48k;this[l(0x19e)]=a,this[l(0x184)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0x188)](),this['player'][l(0x19b)]=this['determineStartRoom'](),this['registerCommands']();}[a48k(0x18f)](){const m=a48k;CommandFactory[m(0x1a7)](m(0x19a),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0x1a7)]('take',TakeCommand),CommandFactory['registerCommand']('use',UseCommand),CommandFactory[m(0x1a7)](m(0x193),EquipCommand),CommandFactory[m(0x1a7)]('unequip',UnequipCommand),CommandFactory['registerCommand'](m(0x185),SolveCommand),CommandFactory[m(0x1a7)](m(0x195),DropCommand),CommandFactory['registerCommand'](m(0x1a5),UnlockCommand),CommandFactory[m(0x1a7)]('lock',LockCommand),CommandFactory[m(0x1a7)](m(0x19d),SearchCommand),CommandFactory[m(0x1a7)](m(0x1a0),SayCommand);}['determineStartRoom'](){const n=a48k;return this[n(0x184)][n(0x186)]();}['getWelcomeMessage'](){const o=a48k;return o(0x18b)+this[o(0x19e)][o(0x1a1)];}static['getInstance'](a,b){const p=a48k;return!Game[p(0x19f)]&&(Game[p(0x19f)]=new Game(a,b)),Game[p(0x19f)];}[a48k(0x198)](a){const q=a48k,b=a[q(0x189)]()[q(0x1a2)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0x197)](0x1);if(c==='quit')return null;if(c===q(0x18d))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c==='help')return this['getHelpMessage']();if(c==='clear')return'';const e={'actor':this[q(0x19e)],'rooms':this[q(0x184)][q(0x18a)](),'scene':this[q(0x184)]},f=CommandFactory[q(0x182)](c,e);if(f){const g=f[q(0x196)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}['getHelpMessage'](){const r=a48k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x192);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x190)]()+'\x0a';}}return b+=r(0x19c),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
1
+ const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0xd2))/0x1+-parseInt(h(0xd7))/0x2*(parseInt(h(0xdc))/0x3)+-parseInt(h(0xe8))/0x4+-parseInt(h(0xda))/0x5*(-parseInt(h(0xeb))/0x6)+parseInt(h(0xed))/0x7*(parseInt(h(0xe3))/0x8)+parseInt(h(0xe2))/0x9*(-parseInt(h(0xd3))/0xa)+parseInt(h(0xcb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x92b90));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0xcd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0xce)]()[j(0xe9)](j(0xe1))['toString']()[j(0xf1)](a48a)[j(0xe9)](j(0xe1));});a48a();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xc3;let f=c[d];return f;},a48d(a,b);}import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';function a48c(){const s=['2239732hgOMAj','search','instance','156ksVolH','getDescription','476DsvXsO','currentRoom','getHelpMessage','registerCommands','constructor','getRooms','registerCommand','help','trim','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','currentLocation','say','rooms','32758440yXAuIv','use','apply','toString','take','name','determineStartRoom','1169340tfwyLV','70PcYfKn','lock','quit','-\x20quit:\x20Exit\x20the\x20game.\x0a','2IgDVWU','initialize','handleInput','156380yWPNhd','player','2726469ptZovv','createCommand','equip','solve','execute','(((.+)+)+)+$','817524LhmByU','9848nuRukq','Welcome,\x20','unequip','scene','hasOwnProperty'];a48c=function(){return s;};return a48c();}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 ['instance'];[a48k(0xe6)];[a48k(0xdb)];[a48k(0xee)];[a48k(0xca)];constructor(a,b){const l=a48k;this[l(0xdb)]=a,this[l(0xe6)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0xe6)][l(0xd8)](),this[l(0xdb)][l(0xc8)]=this[l(0xd1)](),this[l(0xf0)]();}['registerCommands'](){const m=a48k;CommandFactory['registerCommand']('look',LookCommand),CommandFactory[m(0xc4)]('go',GoCommand),CommandFactory['registerCommand'](m(0xcf),TakeCommand),CommandFactory[m(0xc4)](m(0xcc),UseCommand),CommandFactory[m(0xc4)](m(0xde),EquipCommand),CommandFactory[m(0xc4)](m(0xe5),UnequipCommand),CommandFactory['registerCommand'](m(0xdf),SolveCommand),CommandFactory[m(0xc4)]('drop',DropCommand),CommandFactory[m(0xc4)]('unlock',UnlockCommand),CommandFactory['registerCommand'](m(0xd4),LockCommand),CommandFactory[m(0xc4)]('search',SearchCommand),CommandFactory[m(0xc4)](m(0xc9),SayCommand);}[a48k(0xd1)](){const n=a48k;return this[n(0xe6)]['determineStartRoom']();}['getWelcomeMessage'](){const o=a48k;return o(0xe4)+this[o(0xdb)][o(0xd0)];}static['getInstance'](a,b){const p=a48k;return!Game[p(0xea)]&&(Game[p(0xea)]=new Game(a,b)),Game[p(0xea)];}[a48k(0xd9)](a){const q=a48k,b=a[q(0xc6)]()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b['slice'](0x1);if(c===q(0xd5))return null;if(c==='maka')return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0xc5))return this[q(0xef)]();if(c==='clear')return'';const e={'actor':this[q(0xdb)],'rooms':this[q(0xe6)][q(0xc3)](),'scene':this[q(0xe6)]},f=CommandFactory[q(0xdd)](c,e);if(f){const g=f[q(0xe0)](d);return g;}return q(0xc7)+c+'\x22.';}[a48k(0xef)](){const r=a48k,a=CommandFactory['getAllRegisteredCommands']();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0xe7)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xec)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+=r(0xd6),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1ce))/0x1+-parseInt(f(0x1c5))/0x2*(-parseInt(f(0x1c6))/0x3)+parseInt(f(0x1cd))/0x4+parseInt(f(0x1d1))/0x5+parseInt(f(0x1c8))/0x6+parseInt(f(0x1ca))/0x7*(-parseInt(f(0x1cf))/0x8)+-parseInt(f(0x1d2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x39279));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1c5;var f=c[d];return f;},a49d(a,b);}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1cb)]()[h(0x1c9)](h(0x1d0))['toString']()[h(0x1cc)](a49a)['search'](h(0x1d0));});a49a();export*from'./door.js';export*from'./inventory.js';function a49c(){var i=['395398zOteWH','36664CaWkFX','(((.+)+)+)+$','575985tQybJV','2566881JsebwC','8xQfMVS','248679YPXPpj','apply','2106144TNCmFY','search','357dhdgGv','toString','constructor','1402608ZQrGMN'];a49c=function(){return i;};return a49c();}export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x166))/0x1*(-parseInt(f(0x16a))/0x2)+parseInt(f(0x163))/0x3+-parseInt(f(0x16b))/0x4*(-parseInt(f(0x161))/0x5)+-parseInt(f(0x165))/0x6*(-parseInt(f(0x169))/0x7)+-parseInt(f(0x164))/0x8*(-parseInt(f(0x16d))/0x9)+parseInt(f(0x170))/0xa*(parseInt(f(0x16f))/0xb)+parseInt(f(0x162))/0xc*(-parseInt(f(0x16c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xc2daa));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x16e)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a49a)[h(0x160)](h(0x167));});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a49c(){var i=['search','35FLrDtB','58504428dpoQCP','4600467LGxTxc','3513264lsOUNP','3042YTzivj','9QsPcTH','(((.+)+)+)+$','apply','3703rbWuRa','214420YEnrLp','503824OwXIVE','13WiaclG','9ESutNY','toString','11jVywHm','15860590SuDpGO'];a49c=function(){return i;};return a49c();}export*from'./puzzle.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x160;var f=c[d];return f;},a49d(a,b);}export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0x1dc))/0x1+parseInt(f(0x1c5))/0x2*(-parseInt(f(0x1d7))/0x3)+parseInt(f(0x1d2))/0x4*(parseInt(f(0x1d9))/0x5)+-parseInt(f(0x1d3))/0x6*(parseInt(f(0x1da))/0x7)+parseInt(f(0x1ca))/0x8+parseInt(f(0x1c7))/0x9+parseInt(f(0x1d4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xd0ef8));function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x1c1;var f=c[d];return f;},a50d(a,b);}var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a['toString']()[h(0x1d5)](h(0x1c6))[h(0x1d0)]()[h(0x1cd)](a50a)['search'](h(0x1c6));});function a50c(){var n=['roomA','8426144ELVAnb','roomB','To\x20','constructor','name','isLockable','toString','unlockItemOrSolution','184ByhCAg','1689042dztjkp','381990toqdyj','search','Door\x20created\x20between\x20','3VmERar','write','62505sQzYem','21EDHrGR','checkIfLockable','934079vygZkx','\x20and\x20','logger','getInstance','Failed\x20to\x20unlock\x20door:\x20','apply','.\x20Is\x20Locked:\x20','3217010iMNhOw','(((.+)+)+)+$','6374106FHqqHO','isLocked'];a50c=function(){return n;};return a50c();}a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a50i(0x1cb)];[a50i(0x1c8)];[a50i(0x1d1)];['name'];[a50i(0x1de)];[a50i(0x1cf)];constructor(a){var j=a50i;super(),this[j(0x1c9)]=a[j(0x1c9)],this[j(0x1cb)]=a[j(0x1cb)],this[j(0x1c8)]=a[j(0x1c8)]||![],this[j(0x1d1)]=a[j(0x1d1)],this['name']=a[j(0x1ce)]?capitalCase(a[j(0x1ce)]):j(0x1cc)+a[j(0x1cb)][j(0x1ce)],this[j(0x1de)]=Logger[j(0x1c1)](),this['isLockable']=!!a[j(0x1d1)],this[j(0x1de)][j(0x1d8)](j(0x1d6)+this[j(0x1c9)][j(0x1ce)]+j(0x1dd)+this[j(0x1cb)][j(0x1ce)]+j(0x1c4)+this[j(0x1c8)]);}['getOtherSide'](a){var k=a50i;return this[k(0x1c9)]===a?this['roomB']:this[k(0x1c9)];}['attemptUnlock'](a){var l=a50i;if(this[l(0x1c8)]&&this[l(0x1d1)]&&this['unlockItemOrSolution']===a)return this[l(0x1c8)]=![],this[l(0x1de)][l(0x1d8)]('Door\x20unlocked:\x20'+this[l(0x1ce)]+'.\x20Used:\x20'+a),!![];return this['logger'][l(0x1d8)](l(0x1c2)+this['name']+'.\x20Used:\x20'+a),![];}['checkIfLocked'](){return this['isLocked'];}[a50i(0x1db)](){var m=a50i;return this[m(0x1cf)];}}
1
+ function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x6a;var f=c[d];return f;},a50d(a,b);}var a50h=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0x72))/0x1+-parseInt(f(0x6d))/0x2*(-parseInt(f(0x81))/0x3)+parseInt(f(0x70))/0x4*(-parseInt(f(0x7d))/0x5)+-parseInt(f(0x85))/0x6+-parseInt(f(0x73))/0x7+-parseInt(f(0x7e))/0x8*(-parseInt(f(0x77))/0x9)+parseInt(f(0x84))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x51f67));var a50b=(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;};}()),a50a=a50b(this,function(){var g=a50d;return a50a[g(0x6c)]()[g(0x76)](g(0x6e))[g(0x6c)]()[g(0x75)](a50a)['search']('(((.+)+)+)+$');});function a50c(){var n=['isLockable','getInstance','40585SubfBc','104qEheee','write','checkIfLocked','32223OyPZcZ','To\x20','name','4667580zkGmFG','3063132pylJqv','roomB','logger','Door\x20unlocked:\x20','isLocked','toString','82YPVDBN','(((.+)+)+)+$','roomA','32MZtDTw','attemptUnlock','281098sRBtqO','4432365UeJDcT','unlockItemOrSolution','constructor','search','246555IhRhCX','.\x20Used:\x20','getOtherSide','Failed\x20to\x20unlock\x20door:\x20'];a50c=function(){return n;};return a50c();}a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];['roomB'];[a50h(0x6b)];['unlockItemOrSolution'];[a50h(0x83)];[a50h(0x87)];[a50h(0x7b)];constructor(a){var i=a50h;super(),this[i(0x6f)]=a['roomA'],this[i(0x86)]=a[i(0x86)],this[i(0x6b)]=a['isLocked']||![],this[i(0x74)]=a['unlockItemOrSolution'],this['name']=a['name']?capitalCase(a[i(0x83)]):i(0x82)+a['roomB'][i(0x83)],this[i(0x87)]=Logger[i(0x7c)](),this[i(0x7b)]=!!a[i(0x74)],this[i(0x87)]['write']('Door\x20created\x20between\x20'+this[i(0x6f)][i(0x83)]+'\x20and\x20'+this[i(0x86)][i(0x83)]+'.\x20Is\x20Locked:\x20'+this['isLocked']);}[a50h(0x79)](a){var j=a50h;return this['roomA']===a?this[j(0x86)]:this[j(0x6f)];}[a50h(0x71)](a){var k=a50h;if(this[k(0x6b)]&&this[k(0x74)]&&this['unlockItemOrSolution']===a)return this[k(0x6b)]=![],this[k(0x87)][k(0x7f)](k(0x6a)+this[k(0x83)]+k(0x78)+a),!![];return this[k(0x87)]['write'](k(0x7a)+this['name']+k(0x78)+a),![];}[a50h(0x80)](){var l=a50h;return this[l(0x6b)];}['checkIfLockable'](){var m=a50h;return this[m(0x7b)];}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x108))/0x1*(parseInt(f(0x100))/0x2)+-parseInt(f(0x10e))/0x3+-parseInt(f(0x10a))/0x4+-parseInt(f(0x10c))/0x5+parseInt(f(0x112))/0x6*(parseInt(f(0x105))/0x7)+parseInt(f(0xf6))/0x8*(-parseInt(f(0xf7))/0x9)+parseInt(f(0x110))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x76804));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xf0;let f=c[d];return f;},a51d(a,b);}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x118)]()[h(0x107)](h(0x10b))[h(0x118)]()[h(0x117)](a51a)['search'](h(0x10b));});a51a();function a51c(){const r=['set','5702874UlidmC','hasItem','.\x20Exists:\x20','weight','Checked\x20for\x20item:\x20','constructor','toString','Failed\x20to\x20remove\x20item:\x20','\x20to\x20inventory.','logger','write','getInstance','Removed\x20item:\x20','23208fqxAMT','333JLKmTi','removeItem','join','Listed\x20items\x20in\x20inventory:\x20','items','Retrieved\x20details\x20for\x20item:\x20','addItem','name','apply','386TuWmck','map','toLowerCase','get','values','7BSVEQQ','.\x20Item\x20not\x20found.','search','2709EaPnDb','keys','1776744NxMbuQ','(((.+)+)+)+$','780750SNCSTv','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','2197758MXBUYr','delete','4523230ITVOqE'];a51c=function(){return r;};return a51c();}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0xfb)];[a51i(0xf2)];constructor(){const j=a51i;super(),this[j(0xfb)]=new Map(),this[j(0xf2)]=Logger[j(0xf4)]();}[a51i(0xfd)](a){const k=a51i;this[k(0xfb)][k(0x111)](a[k(0xfe)][k(0x102)](),a),this['logger'][k(0xf3)]('Added\x20item:\x20'+a['name']+k(0xf1));}[a51i(0xf8)](a){const l=a51i,b=this['getItem'](a);if(b)return this[l(0xfb)][l(0x10f)](a[l(0x102)]()),this[l(0xf2)][l(0xf3)](l(0xf5)+a+'\x20from\x20inventory.'),b;return this[l(0xf2)]['write'](l(0xf0)+a+'.\x20Item\x20not\x20found.'),null;}[a51i(0x113)](a){const m=a51i,b=this['items']['has'](a[m(0x102)]()),c=[...this[m(0xfb)]['keys']()];return this[m(0xf2)][m(0xf3)](m(0x116)+a+'\x20in\x20'+c['join'](',\x20')+m(0x114)+b+'.'),b;}['getItem'](a){const n=a51i,b=this[n(0xfb)][n(0x103)](a[n(0x102)]())||null;return b?this[n(0xf2)][n(0xf3)](n(0xfc)+a+'.'):this[n(0xf2)][n(0xf3)](n(0x10d)+a+n(0x106)),b;}['listItems'](){const o=a51i,a=[...this[o(0xfb)][o(0x109)]()],b=a[o(0x101)](c=>capitalCase(c));return this[o(0xf2)][o(0xf3)](o(0xfa)+b[o(0xf9)](',\x20')+'.'),a;}['getWeight'](){const p=a51i;let a=0x0;for(const b of this[p(0xfb)]['values']()){a+=b[p(0x115)];}return a;}['getAllItems'](){const q=a51i;return[...this[q(0xfb)][q(0x104)]()];}}
1
+ const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x1aa))/0x1*(parseInt(f(0x1c8))/0x2)+parseInt(f(0x1bb))/0x3*(parseInt(f(0x1bc))/0x4)+-parseInt(f(0x1a3))/0x5+-parseInt(f(0x1ba))/0x6+parseInt(f(0x1af))/0x7*(parseInt(f(0x1b3))/0x8)+parseInt(f(0x1a5))/0x9*(parseInt(f(0x1a9))/0xa)+parseInt(f(0x1cc))/0xb*(-parseInt(f(0x1ab))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x1f45b));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(0x1b6)]()[g(0x1b7)](g(0x1cb))[g(0x1b6)]()[g(0x1a4)](a51a)[g(0x1b7)](g(0x1cb));});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1a3;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';function a51c(){const q=['delete','424iTgVPO','has','getWeight','toString','search','addItem','hasItem','1221438NgWgwU','2487irejCN','708rNqXYI','.\x20Exists:\x20','Retrieved\x20details\x20for\x20item:\x20','toLowerCase','logger','map','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','\x20from\x20inventory.','removeItem','name','Added\x20item:\x20','getItem','30iaoaRq','\x20in\x20','listItems','(((.+)+)+)+$','81829iKOIKa','1179600jtAcuW','constructor','1042191HwlFfj','Removed\x20item:\x20','values','join','20JAbIPm','1549nhqTfz','60aXBjKR','.\x20Item\x20not\x20found.','getAllItems','write','32977GLgKjA','items','Listed\x20items\x20in\x20inventory:\x20'];a51c=function(){return q;};return a51c();}export class Inventory extends AbstractInventory{[a51h(0x1b0)];['logger'];constructor(){const i=a51h;super(),this[i(0x1b0)]=new Map(),this['logger']=Logger['getInstance']();}[a51h(0x1b8)](a){const j=a51h;this['items']['set'](a[j(0x1c5)][j(0x1bf)](),a),this['logger'][j(0x1ae)](j(0x1c6)+a[j(0x1c5)]+'\x20to\x20inventory.');}[a51h(0x1c4)](a){const k=a51h,b=this[k(0x1c7)](a);if(b)return this[k(0x1b0)][k(0x1b2)](a[k(0x1bf)]()),this['logger'][k(0x1ae)](k(0x1a6)+a+k(0x1c3)),b;return this[k(0x1c0)][k(0x1ae)]('Failed\x20to\x20remove\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),null;}[a51h(0x1b9)](a){const l=a51h,b=this[l(0x1b0)][l(0x1b4)](a['toLowerCase']()),c=[...this[l(0x1b0)]['keys']()];return this[l(0x1c0)][l(0x1ae)]('Checked\x20for\x20item:\x20'+a+l(0x1c9)+c['join'](',\x20')+l(0x1bd)+b+'.'),b;}[a51h(0x1c7)](a){const m=a51h,b=this['items']['get'](a[m(0x1bf)]())||null;return b?this[m(0x1c0)]['write'](m(0x1be)+a+'.'):this['logger'][m(0x1ae)](m(0x1c2)+a+m(0x1ac)),b;}[a51h(0x1ca)](){const n=a51h,a=[...this[n(0x1b0)]['keys']()],b=a[n(0x1c1)](c=>capitalCase(c));return this[n(0x1c0)][n(0x1ae)](n(0x1b1)+b[n(0x1a8)](',\x20')+'.'),a;}[a51h(0x1b5)](){const o=a51h;let a=0x0;for(const b of this['items'][o(0x1a7)]()){a+=b['weight'];}return a;}[a51h(0x1ad)](){const p=a51h;return[...this[p(0x1b0)][p(0x1a7)]()];}}
@@ -1 +1 @@
1
- function a52c(){var l=['7875864KjEfOU','10PfbVTd','rating','name','category','uuid','3obtuyD','toString','2176452WzLCwp','weight','description','.\x20Nothing\x20special\x20happens.','search','40210hNHfom','9mroiBC','8078060obRORL','1651396lgAIji','3219384mxWyFw','use','color','10271100KFTuYf','apply','size','(((.+)+)+)+$','shape'];a52c=function(){return l;};return a52c();}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xd0))/0x1*(-parseInt(f(0xd7))/0x2)+-parseInt(f(0xdb))/0x3+parseInt(f(0xda))/0x4*(parseInt(f(0xcb))/0x5)+-parseInt(f(0xd2))/0x6+parseInt(f(0xde))/0x7+-parseInt(f(0xca))/0x8*(parseInt(f(0xd8))/0x9)+parseInt(f(0xd9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xb4d9e));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xd1)]()[h(0xd6)](h(0xe1))['toString']()['constructor'](a52a)['search']('(((.+)+)+)+$');});a52a();import{v4 as a52e}from'uuid';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xc9;var f=c[d];return f;},a52d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];[a52i(0xcd)];[a52i(0xd4)];[a52i(0xe0)];[a52i(0xce)];[a52i(0xc9)];['color'];['texture'];[a52i(0xcc)];['weight'];constructor(a){var j=a52i;super(),this[j(0xcd)]=a[j(0xcd)],this[j(0xd4)]=a[j(0xd4)],this[j(0xe0)]=a['size'],this['category']=a[j(0xce)],this[j(0xc9)]=a['shape'],this[j(0xdd)]=a['color'],this['texture']=a['texture'],this[j(0xcc)]=a[j(0xcc)],this['weight']=a[j(0xd3)],this[j(0xcf)]=a52e();}[a52i(0xdc)](){var k=a52i;return'You\x20use\x20the\x20'+this[k(0xcd)]+k(0xd5);}}
1
+ function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xa0;var f=c[d];return f;},a52d(a,b);}var a52h=a52d;function a52c(){var k=['332467gmwqSh','texture','rating','15772qGmkUN','4386790fZlcyD','shape','You\x20use\x20the\x20','3414216JYqbNu','uuid','1157648NaRVvY','9VDZjSd','168WcEXGu','3AIEtvF','name','color','description','size','toString','category','(((.+)+)+)+$','constructor','11LZylkA','435BnbRKN','weight','62070SemtvO','471206fphqPG'];a52c=function(){return k;};return a52c();}(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xa5))/0x1+parseInt(f(0xa4))/0x2*(parseInt(f(0xb1))/0x3)+parseInt(f(0xa8))/0x4*(-parseInt(f(0xa1))/0x5)+-parseInt(f(0xa3))/0x6*(parseInt(f(0xb0))/0x7)+parseInt(f(0xae))/0x8+parseInt(f(0xaf))/0x9*(parseInt(f(0xa9))/0xa)+parseInt(f(0xa0))/0xb*(-parseInt(f(0xac))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x434a0));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['toString']()['search'](g(0xb8))[g(0xb6)]()[g(0xb9)](a52a)['search'](g(0xb8));});a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52h(0xad)];[a52h(0xb2)];[a52h(0xb4)];[a52h(0xb5)];[a52h(0xb7)];[a52h(0xaa)];[a52h(0xb3)];['texture'];[a52h(0xa7)];[a52h(0xa2)];constructor(a){var i=a52h;super(),this[i(0xb2)]=a[i(0xb2)],this['description']=a[i(0xb4)],this[i(0xb5)]=a['size'],this[i(0xb7)]=a[i(0xb7)],this[i(0xaa)]=a[i(0xaa)],this[i(0xb3)]=a[i(0xb3)],this[i(0xa6)]=a[i(0xa6)],this[i(0xa7)]=a[i(0xa7)],this['weight']=a[i(0xa2)],this[i(0xad)]=a52e();}['use'](){var j=a52h;return j(0xab)+this['name']+'.\x20Nothing\x20special\x20happens.';}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x12f))/0x1*(parseInt(f(0x135))/0x2)+parseInt(f(0x137))/0x3+parseInt(f(0x129))/0x4*(-parseInt(f(0x133))/0x5)+parseInt(f(0x13d))/0x6+parseInt(f(0x124))/0x7+-parseInt(f(0x136))/0x8+parseInt(f(0x13a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xdfa79));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x124;let f=c[d];return f;},a53d(a,b);}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x127)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x130)]()[h(0x12e)](h(0x139))[h(0x130)]()[h(0x138)](a53a)[h(0x12e)](h(0x139));});a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0x128)];[a53i(0x125)];[a53i(0x126)];[a53i(0x12d)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x128)]=a,this[j(0x125)]=b,this[j(0x126)]=c;}get[a53i(0x12c)](){const k=a53i;return this[k(0x128)];}[a53i(0x132)](){const l=a53i;return this[l(0x125)][Math[l(0x12a)](Math[l(0x134)]()*this[l(0x125)][l(0x131)])];}[a53i(0x13c)](a){const m=a53i,b=a[Math['floor'](Math[m(0x134)]()*a[m(0x131)])];this[m(0x12b)](b[m(0x12c)]);}[a53i(0x12b)](a){const n=a53i,b={'actor':this,'rooms':this[n(0x126)],'scene':this[n(0x12d)]},c=new GoCommand(b);c[n(0x13b)]([a]);}}function a53c(){const o=['constructor','(((.+)+)+)+$','7944039xieXys','execute','autonomousMove','7892352pNAHlU','7310205CtfcSa','_dialogue','rooms','apply','_name','199816OfyoSK','floor','moveTo','name','scene','search','1hIDBXQ','toString','length','speak','70WoHKsI','random','2079698tmrXup','8560848hNoswW','1449066JYkdYX'];a53c=function(){return o;};return a53c();}
1
+ function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x6a;let f=c[d];return f;},a53d(a,b);}const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x77))/0x1+-parseInt(f(0x71))/0x2+-parseInt(f(0x76))/0x3*(parseInt(f(0x84))/0x4)+-parseInt(f(0x6b))/0x5*(-parseInt(f(0x7f))/0x6)+parseInt(f(0x6a))/0x7*(parseInt(f(0x74))/0x8)+-parseInt(f(0x82))/0x9+-parseInt(f(0x80))/0xa*(-parseInt(f(0x7b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x30917));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const g=a53d;return a53a[g(0x83)]()[g(0x79)](g(0x7d))[g(0x83)]()[g(0x81)](a53a)['search']('(((.+)+)+)+$');});function a53c(){const n=['constructor','3121155SdHRor','toString','124uravLG','63441KrjAJt','1441205ozGjjO','speak','autonomousMove','floor','moveTo','random','595314rbsynb','_name','length','240prCNqN','_dialogue','21282IDWUOl','99823RgzHyi','execute','search','rooms','1478939jnuurz','name','(((.+)+)+)+$','scene','6LDPfWM','30HTxoVH'];a53c=function(){return n;};return a53c();}a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53h(0x72)];['_dialogue'];['rooms'];[a53h(0x7e)];constructor(a,b,c,d){const i=a53h;super(d),this[i(0x72)]=a,this['_dialogue']=b,this['rooms']=c;}get[a53h(0x7c)](){const j=a53h;return this[j(0x72)];}[a53h(0x6c)](){const k=a53h;return this[k(0x75)][Math[k(0x6e)](Math[k(0x70)]()*this[k(0x75)][k(0x73)])];}[a53h(0x6d)](a){const l=a53h,b=a[Math[l(0x6e)](Math['random']()*a['length'])];this['moveTo'](b[l(0x7c)]);}[a53h(0x6f)](a){const m=a53h,b={'actor':this,'rooms':this[m(0x7a)],'scene':this['scene']},c=new GoCommand(b);c[m(0x78)]([a]);}}
@@ -1 +1 @@
1
- const a54i=a54d;function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xe2;let f=c[d];return f;},a54d(a,b);}(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0xf2))/0x1+parseInt(f(0x13e))/0x2+-parseInt(f(0xfe))/0x3*(parseInt(f(0xe7))/0x4)+parseInt(f(0x107))/0x5*(-parseInt(f(0xe5))/0x6)+parseInt(f(0xff))/0x7+-parseInt(f(0xf5))/0x8*(-parseInt(f(0x13a))/0x9)+parseInt(f(0xf9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x55890));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x12d)]()[h(0xed)](h(0xf6))[h(0x12d)]()[h(0x13c)](a54a)[h(0xed)]('(((.+)+)+)+$');});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a54c(){const C=['torso','Removed\x20','toLowerCase','leg\x20armor','search','startLocation','currentWeight','Gloves','speak','98905GVUeKc','leftHand','inventoryItems','509232dlmPLI','(((.+)+)+)+$','maxCarryingWeight','\x20is\x20no\x20longer\x20listeng\x20in\x20','1278030AnCLcV','write','arm\x20armor','_playerName','equipment','127431wQIGUu','1213387NtAHug','determineEquipmentSlot','legs','weapon','error','gloves','rightHand','shield','15hqKvtF','Helmet','playerName','Shield','You\x20equipped\x20','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','You\x20unequipped\x20','bind','_currentLocation','addInventory','\x20from\x20player\x27s\x20inventory.','A\x20featureless\x20room','apply','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','\x20in\x20your\x20inventory.','name','hasItem','values','Nexus','arms','logger','BodyArmor','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','head','category','leaveRoom','canEquip','off','feet','You\x20don\x27t\x20have\x20','\x20slot.','ArmArmor','.\x20You\x20must\x20unequip\x20it\x20first.','Boots','_maxCarryingWeight','helmet','You\x20can\x27t\x20equip\x20','includes','toString','bodyarmor','weight','body\x20armor','addItem','getWeight','inventory','hear','removeInventory','Added\x20','_inventory','Invalid\x20category\x20or\x20slot:\x20','Max\x20carrying\x20weight\x20must\x20be\x20positive.','45PWWiGc','Failed\x20to\x20remove\x20','constructor','LegArmor','421374GWlAdd','removeItem','\x20says:\x20\x22','currentLocation','enterRoom','unequipBySlot','unequip','251964Bbmmhu','_equipment','24iSPXNe','legarmor'];a54c=function(){return C;};return a54c();}import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0xfc)];[a54i(0x10f)];[a54i(0x137)];[a54i(0xe6)];[a54i(0x129)]=0x32;[a54i(0x11b)];constructor(a){const j=a54i;super(),this[j(0xfc)]=a[j(0x109)],this[j(0x10f)]=a[j(0xee)]||new Room({'name':j(0x119),'description':j(0x112)}),this[j(0x137)]=new Inventory(),this[j(0x11b)]=Logger['getInstance']();if(a?.[j(0xf4)])for(const b of a[j(0xf4)]){this['_inventory']['addItem'](b);}this['_equipment']=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x116)](){const k=a54i;return this[k(0xfc)];}get[a54i(0x141)](){const l=a54i;return this[l(0x10f)];}set['currentLocation'](a){const m=a54i;this[m(0x10f)]!==a&&(this[m(0x120)](),this[m(0xe2)](a)),this['_currentLocation']=a;}get[a54i(0x133)](){return this['_inventory'];}get['equipment'](){const n=a54i;return this[n(0xe6)];}set['equipment'](a){const o=a54i;this[o(0xe6)]=a;}get[a54i(0xf7)](){const p=a54i;return this[p(0x129)];}set[a54i(0xf7)](a){const q=a54i;a>0x0?this[q(0x129)]=a:console[q(0x103)](q(0x139));}get[a54i(0xef)](){const r=a54i;let a=this[r(0x137)][r(0x132)]();for(const b in this[r(0xe6)]){const c=this[r(0xe6)][b];c&&(a+=c[r(0x12f)]);}return a;}[a54i(0x110)](a){const s=a54i;if(this['currentWeight']+a[s(0x12f)]>this[s(0xf7)]){this['logger'][s(0xfa)](s(0x114));throw new Error(s(0x11d));}this[s(0x137)][s(0x131)](a),this[s(0x11b)][s(0xfa)](s(0x136)+a['name']+'\x20to\x20player\x27s\x20inventory.');}[a54i(0x135)](a){const t=a54i;if(this['_inventory'][t(0x13f)](a[t(0x116)]))return this[t(0x11b)]['write'](t(0xea)+a[t(0x116)]+t(0x111)),!![];return this['logger'][t(0xfa)](t(0x13b)+a['name']+t(0x111)),![];}['equip'](a){const u=a54i;if(!this[u(0x137)][u(0x117)](a[u(0x116)]))return u(0x124)+a[u(0x116)]+u(0x115);if(!this[u(0x121)](a))return u(0x12b)+a[u(0x116)]+'.';const b=this[u(0x100)](a[u(0x11f)]);if(!b)return a[u(0x116)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[u(0xfd)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+u(0x127);return this[u(0xfd)][b]=a,this[u(0x135)](a),u(0x10b)+a[u(0x116)]+'.';}[a54i(0xe4)](a){const v=a54i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[v(0x100)](a);if(!b)return v(0x138)+a+'.';}return this['unequipBySlot'](b);}['determineEquipmentSlot'](a){const w=a54i;switch(a[w(0xeb)]()){case Category['Weapon']['toLowerCase']():return w(0x105);case Category[w(0x10a)][w(0xeb)]():return w(0xf3);case Category[w(0xf0)]['toLowerCase']():return w(0x104);case Category[w(0x108)][w(0xeb)]():case Category['Hat']['toLowerCase']():return w(0x11e);case Category[w(0x128)][w(0xeb)]():return w(0x123);case Category[w(0x13d)][w(0xeb)]():return w(0x101);case Category[w(0x126)]['toLowerCase']():return w(0x11a);case Category[w(0x11c)][w(0xeb)]():return'torso';case w(0x102):return'rightHand';case w(0x106):return'leftHand';case'gloves':return w(0x104);case w(0x12a):case'hat':return'head';case'boots':return w(0x123);case w(0xec):case w(0xe8):return w(0x101);case w(0xfb):case'armarmor':return w(0x11a);case w(0x130):case w(0x12e):case w(0xe9):return w(0xe9);default:return null;}}[a54i(0x121)](a){const x=a54i;return Object[x(0x118)](Category)[x(0x12c)](a[x(0x11f)]);}[a54i(0xe3)](a){const y=a54i,b=this['equipment'][a];if(!b)return y(0x10c)+a+y(0x125);return this[y(0x110)](b),this['equipment'][a]=null,y(0x10d)+b[y(0x116)]+'.';}[a54i(0x134)](a,b){const z=a54i;a!==this&&this['logger']['log'](a[z(0x116)]+z(0x140)+b+'\x22');}[a54i(0xe2)](a){const A=a54i;this[A(0x10f)]=a,a['on'](A(0xf1),this[A(0x134)][A(0x10e)](this)),this[A(0x11b)][A(0xfa)](this[A(0x116)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[A(0x116)]);}[a54i(0x120)](){const B=a54i;this['_currentLocation']&&(this['_currentLocation'][B(0x122)](B(0xf1),this[B(0x134)][B(0x10e)](this)),this['logger'][B(0xfa)](this[B(0x116)]+B(0xf8)+this[B(0x10f)][B(0x116)]));}}
1
+ const a54h=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0x1e0))/0x1+parseInt(f(0x1d4))/0x2+-parseInt(f(0x21b))/0x3+-parseInt(f(0x1d2))/0x4+-parseInt(f(0x1fe))/0x5*(-parseInt(f(0x207))/0x6)+parseInt(f(0x1db))/0x7+parseInt(f(0x1f7))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xc2588));const a54b=(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;};}()),a54a=a54b(this,function(){const g=a54d;return a54a[g(0x205)]()[g(0x1d7)]('(((.+)+)+)+$')['toString']()[g(0x1c1)](a54a)[g(0x1d7)](g(0x1f4));});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a54d(a,b);}function a54c(){const B=['Added\x20','leftHand','ArmArmor','equip','boots','2283087TFitSv','hear','constructor','You\x20can\x27t\x20equip\x20','head','error','arm\x20armor','enterRoom','Nexus','\x20to\x20player\x27s\x20inventory.','logger','determineEquipmentSlot','arms','_maxCarryingWeight','_playerName','playerName','hasItem','toLowerCase','feet','6134120XRWVkc','canEquip','76414ZKVvfE','helmet','Failed\x20to\x20remove\x20','search','Gloves','inventory','A\x20featureless\x20room','4593757bImVus','category','\x20says:\x20\x22','hat','\x20in\x20your\x20inventory.','1533024JysTBC','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','_currentLocation','removeInventory','name','Helmet','write','Invalid\x20category\x20or\x20slot:\x20','unequipBySlot','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','includes','currentLocation','speak','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','leaveRoom','getWeight','_equipment','addItem','torso','removeItem','(((.+)+)+)+$','.\x20You\x20must\x20unequip\x20it\x20first.','Removed\x20','27073536jCYnSz','leg\x20armor','armarmor','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','log','currentWeight','getInstance','55gOrBlp','unequip','values','You\x20equipped\x20','_inventory','\x20is\x20now\x20listening\x20in\x20room\x20','equipment','toString','legarmor','297258bWlQHo','bind','\x20is\x20no\x20longer\x20listeng\x20in\x20','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','maxCarryingWeight','\x20slot.','Hat','Weapon','rightHand','legs','\x20from\x20player\x27s\x20inventory.','gloves','addInventory','weight','Shield'];a54c=function(){return B;};return a54c();}import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54h(0x1cd)];[a54h(0x1e2)];['_inventory'];[a54h(0x1f0)];[a54h(0x1cc)]=0x32;[a54h(0x1c9)];constructor(a){const i=a54h;super(),this[i(0x1cd)]=a[i(0x1ce)],this['_currentLocation']=a['startLocation']||new Room({'name':i(0x1c7),'description':i(0x1da)}),this[i(0x202)]=new Inventory(),this['logger']=Logger[i(0x1fd)]();if(a?.['inventoryItems'])for(const b of a['inventoryItems']){this[i(0x202)][i(0x1f1)](b);}this[i(0x1f0)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54h(0x1e4)](){const j=a54h;return this[j(0x1cd)];}get[a54h(0x1eb)](){const k=a54h;return this[k(0x1e2)];}set[a54h(0x1eb)](a){const l=a54h;this[l(0x1e2)]!==a&&(this[l(0x1ee)](),this[l(0x1c6)](a)),this[l(0x1e2)]=a;}get[a54h(0x1d9)](){const m=a54h;return this[m(0x202)];}get['equipment'](){const n=a54h;return this[n(0x1f0)];}set[a54h(0x204)](a){const o=a54h;this[o(0x1f0)]=a;}get[a54h(0x20b)](){return this['_maxCarryingWeight'];}set[a54h(0x20b)](a){const p=a54h;a>0x0?this['_maxCarryingWeight']=a:console[p(0x1c4)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const q=a54h;let a=this[q(0x202)][q(0x1ef)]();for(const b in this[q(0x1f0)]){const c=this[q(0x1f0)][b];c&&(a+=c[q(0x214)]);}return a;}[a54h(0x213)](a){const r=a54h;if(this[r(0x1fc)]+a[r(0x214)]>this['maxCarryingWeight']){this[r(0x1c9)][r(0x1e6)](r(0x1e9));throw new Error(r(0x20a));}this[r(0x202)][r(0x1f1)](a),this[r(0x1c9)][r(0x1e6)](r(0x216)+a[r(0x1e4)]+r(0x1c8));}[a54h(0x1e3)](a){const s=a54h;if(this[s(0x202)][s(0x1f3)](a[s(0x1e4)]))return this[s(0x1c9)]['write'](s(0x1f6)+a['name']+s(0x211)),!![];return this[s(0x1c9)]['write'](s(0x1d6)+a[s(0x1e4)]+s(0x211)),![];}[a54h(0x219)](a){const t=a54h;if(!this['_inventory'][t(0x1cf)](a[t(0x1e4)]))return'You\x20don\x27t\x20have\x20'+a['name']+t(0x1df);if(!this[t(0x1d3)](a))return t(0x1c2)+a[t(0x1e4)]+'.';const b=this[t(0x1ca)](a[t(0x1dc)]);if(!b)return a[t(0x1e4)]+t(0x1ed);if(this[t(0x204)][b])return t(0x1e1)+b+t(0x1f5);return this[t(0x204)][b]=a,this[t(0x1e3)](a),t(0x201)+a['name']+'.';}[a54h(0x1ff)](a){const u=a54h;let b=a;if(!this[u(0x204)][camelCase(b)]){b=this[u(0x1ca)](a);if(!b)return u(0x1e7)+a+'.';}return this[u(0x1e8)](b);}[a54h(0x1ca)](a){const v=a54h;switch(a['toLowerCase']()){case Category[v(0x20e)][v(0x1d0)]():return'rightHand';case Category[v(0x215)][v(0x1d0)]():return v(0x217);case Category[v(0x1d8)][v(0x1d0)]():return v(0x212);case Category[v(0x1e5)]['toLowerCase']():case Category[v(0x20d)][v(0x1d0)]():return'head';case Category['Boots'][v(0x1d0)]():return v(0x1d1);case Category['LegArmor'][v(0x1d0)]():return v(0x210);case Category[v(0x218)][v(0x1d0)]():return v(0x1cb);case Category['BodyArmor']['toLowerCase']():return v(0x1f2);case'weapon':return v(0x20f);case'shield':return v(0x217);case v(0x212):return v(0x212);case v(0x1d5):case v(0x1de):return v(0x1c3);case v(0x21a):return v(0x1d1);case v(0x1f8):case v(0x206):return v(0x210);case v(0x1c5):case v(0x1f9):return v(0x1cb);case'body\x20armor':case'bodyarmor':case v(0x1f2):return v(0x1f2);default:return null;}}['canEquip'](a){const w=a54h;return Object[w(0x200)](Category)[w(0x1ea)](a[w(0x1dc)]);}[a54h(0x1e8)](a){const x=a54h,b=this[x(0x204)][a];if(!b)return x(0x1fa)+a+x(0x20c);return this[x(0x213)](b),this[x(0x204)][a]=null,'You\x20unequipped\x20'+b['name']+'.';}[a54h(0x1c0)](a,b){const y=a54h;a!==this&&this[y(0x1c9)][y(0x1fb)](a['name']+y(0x1dd)+b+'\x22');}[a54h(0x1c6)](a){const z=a54h;this[z(0x1e2)]=a,a['on'](z(0x1ec),this[z(0x1c0)][z(0x208)](this)),this[z(0x1c9)]['write'](this[z(0x1e4)]+z(0x203)+a[z(0x1e4)]);}[a54h(0x1ee)](){const A=a54h;this[A(0x1e2)]&&(this[A(0x1e2)]['off']('speak',this[A(0x1c0)][A(0x208)](this)),this['logger'][A(0x1e6)](this[A(0x1e4)]+A(0x209)+this[A(0x1e2)][A(0x1e4)]));}}
@@ -1 +1 @@
1
- function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x98;var f=c[d];return f;},a55d(a,b);}var a55h=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xab))/0x1+parseInt(f(0xae))/0x2+-parseInt(f(0xb7))/0x3*(-parseInt(f(0xa2))/0x4)+parseInt(f(0x9a))/0x5*(parseInt(f(0x9c))/0x6)+-parseInt(f(0xaa))/0x7+-parseInt(f(0xb2))/0x8*(-parseInt(f(0xa8))/0x9)+parseInt(f(0xa7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x856c6));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(0xac)]()[g(0x9f)](g(0xaf))['toString']()[g(0xa5)](a55a)[g(0x9f)](g(0xaf));});a55a();function a55c(){var l=['You\x20have\x20already\x20solved\x20this\x20puzzle.','5956489wFLaYz','1022538IVLcKG','toString','requiredPhrase','1678556svCHjN','(((.+)+)+)+$','getInstance','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','144BZoCHJ','write','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','solved','57CJisIg','Puzzle:\x20Correct\x20solution\x20provided.','failureMessage','2225525tatGKK','requiredItem','12hvOQxq','hasRequiredItem','logger','search','successMessage','solve','1516Uploii','matchesRequiredPhrase','riddle','constructor','hasItem','4694920UMIXQv','106893HzuQlW'];a55c=function(){return l;};return a55c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55h(0x9e)]=Logger[a55h(0xb0)]();['solved']=![];[a55h(0x9b)];[a55h(0xad)];['riddle'];['rewardItem'];[a55h(0xa0)];[a55h(0x99)];constructor(a){var i=a55h;super(),this[i(0x9b)]=a[i(0x9b)],this[i(0xad)]=a[i(0xad)],this[i(0xa4)]=a['riddle'],this['rewardItem']=a['rewardItem'],this['successMessage']=a[i(0xa0)]||'You\x20solved\x20the\x20puzzle!',this[i(0x99)]=a[i(0x99)]||i(0xb5);}[a55h(0x9d)](a){var j=a55h;if(this[j(0x9b)])return a[j(0xa6)](this[j(0x9b)]);return![];}[a55h(0xa3)](a){return this['requiredPhrase']===a;}[a55h(0xa1)](a,b){var k=a55h;if(this[k(0xb6)])return this[k(0x9e)][k(0xb3)](k(0xb4)),{'success':![],'message':k(0xa9)};return this[k(0x9d)](b)||this[k(0xa3)](a)?(this[k(0xb6)]=!![],this['logger'][k(0xb3)](k(0x98)),{'success':!![],'message':this[k(0xa0)]}):(this[k(0x9e)][k(0xb3)](k(0xb1)),{'success':![],'message':this[k(0x99)]});}}
1
+ var a55i=a55d;function a55c(){var m=['solved','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','matchesRequiredPhrase','208KbJLmI','You\x20have\x20already\x20solved\x20this\x20puzzle.','2692JlzeHU','119350vlIBYw','getInstance','write','12TOdqYe','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','successMessage','812160stwlzB','toString','requiredItem','75kRavCv','1109995rXYbbU','792BEEerj','hasItem','constructor','(((.+)+)+)+$','110362neObLa','hasRequiredItem','Puzzle:\x20Correct\x20solution\x20provided.','1927671vtGoIU','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','apply','logger','rewardItem','requiredPhrase','search','riddle','4247406ATKYPa','failureMessage'];a55c=function(){return m;};return a55c();}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1b0;var f=c[d];return f;},a55d(a,b);}(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x1b6))/0x1*(parseInt(f(0x1ce))/0x2)+-parseInt(f(0x1bf))/0x3+-parseInt(f(0x1b0))/0x4*(-parseInt(f(0x1b7))/0x5)+-parseInt(f(0x1c7))/0x6+-parseInt(f(0x1bc))/0x7*(-parseInt(f(0x1cc))/0x8)+-parseInt(f(0x1b3))/0x9+parseInt(f(0x1cf))/0xa*(parseInt(f(0x1b8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x9161d));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x1b4)]()['search'](h(0x1bb))[h(0x1b4)]()[h(0x1ba)](a55a)[h(0x1c5)](h(0x1bb));});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55i(0x1c2)]=Logger[a55i(0x1d0)]();[a55i(0x1c9)]=![];[a55i(0x1b5)];[a55i(0x1c4)];[a55i(0x1c6)];[a55i(0x1c3)];[a55i(0x1b2)];[a55i(0x1c8)];constructor(a){var j=a55i;super(),this[j(0x1b5)]=a[j(0x1b5)],this[j(0x1c4)]=a['requiredPhrase'],this['riddle']=a[j(0x1c6)],this['rewardItem']=a[j(0x1c3)],this['successMessage']=a[j(0x1b2)]||'You\x20solved\x20the\x20puzzle!',this[j(0x1c8)]=a['failureMessage']||j(0x1b1);}[a55i(0x1bd)](a){var k=a55i;if(this[k(0x1b5)])return a[k(0x1b9)](this[k(0x1b5)]);return![];}[a55i(0x1cb)](a){return this['requiredPhrase']===a;}['solve'](a,b){var l=a55i;if(this['solved'])return this[l(0x1c2)]['write'](l(0x1c0)),{'success':![],'message':l(0x1cd)};return this['hasRequiredItem'](b)||this[l(0x1cb)](a)?(this[l(0x1c9)]=!![],this[l(0x1c2)]['write'](l(0x1be)),{'success':!![],'message':this[l(0x1b2)]}):(this[l(0x1c2)][l(0x1d1)](l(0x1ca)),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- const a56i=a56d;function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x114;let f=c[d];return f;},a56d(a,b);}(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0x146))/0x1*(-parseInt(f(0x143))/0x2)+parseInt(f(0x14f))/0x3+parseInt(f(0x12e))/0x4*(parseInt(f(0x11d))/0x5)+parseInt(f(0x129))/0x6+parseInt(f(0x13a))/0x7*(parseInt(f(0x140))/0x8)+parseInt(f(0x14b))/0x9+parseInt(f(0x132))/0xa*(-parseInt(f(0x119))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xbb8c6));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x144)]()[h(0x150)](h(0x153))[h(0x144)]()[h(0x12f)](a56a)[h(0x150)]('(((.+)+)+)+$');});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a56c(){const u=['getOppositeDirection','\x20remains\x20locked.','11NTqouZ','set','get','attemptUnlock','115AZaLoE','description','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','apply','.\x20Success:\x20','name','roomB','attemptUnlockExit','addItem','EAST','addExit','findExistingDoor','1429998yuvxhK','north','getInstance','Item\x20added\x20to\x20room\x20','speak','161816IYjvuc','constructor','logger','Fetching\x20exit\x20in\x20direction:\x20','18201160cFymjr','isExitLocked','values','The\x20','INSIDE','\x20is\x20locked.\x20Result:\x20','roomA','getExit','266Zuncyy','south','exits','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','Room\x20created:\x20','puzzle','149024EslRQP','Item\x20removed\x20from\x20room\x20','write','141648KQAGjB','toString','roomType','12SVWzEW','inventory','east','removeItem','SOUTH','7254495dpNMGp','checkIfLocked','isStartRoom','\x20unlocked!','2266524jmSWMP','search','hasItem','WEST','(((.+)+)+)+$','riddle','NORTH','No\x20locked\x20exit\x20found\x20in\x20direction\x20'];a56c=function(){return u;};return a56c();}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x130)]=Logger[a56i(0x12b)]();[a56i(0x122)];['description'];[a56i(0x13c)]=new Map();[a56i(0x145)];['isStartRoom'];[a56i(0x147)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x122)]=a['name'],this['description']=a[j(0x11e)],this[j(0x145)]=a[j(0x145)]||RoomType[j(0x136)],a[j(0x13c)]&&(this[j(0x13c)]=a['exits']||new Map()),a[j(0x147)]&&(this[j(0x147)]=a[j(0x147)]),a[j(0x13f)]&&(this[j(0x13f)]=a[j(0x13f)]),this[j(0x14d)]=a[j(0x14d)]||![],this['logger'][j(0x142)](j(0x13e)+this[j(0x122)]);}['say'](a,b){const k=a56i;this['emit'](k(0x12d),a,b);}[a56i(0x127)](a,b,c){const l=a56i;let d=this[l(0x128)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x11a)](a,d),b[l(0x13c)][l(0x11a)](this[l(0x117)](a),d);}[a56i(0x124)](a,b){const m=a56i,c=this['exits'][m(0x11b)](a);if(c instanceof Door){const d=c[m(0x11c)](b);return this[m(0x130)][m(0x142)](m(0x13d)+a+m(0x121)+d),d?m(0x135)+c[m(0x122)]+m(0x14e):'The\x20'+c[m(0x122)]+m(0x118);}return this[m(0x130)]['write'](m(0x116)+a),m(0x11f);}[a56i(0x139)](a){const n=a56i;return this[n(0x130)][n(0x142)](n(0x131)+a),this[n(0x13c)][n(0x11b)](a);}[a56i(0x133)](a){const o=a56i,b=this[o(0x13c)][o(0x11b)](a),c=b instanceof Door&&b[o(0x14c)]();return this['logger'][o(0x142)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0x137)+c),c;}[a56i(0x125)](a){const p=a56i;this[p(0x147)][p(0x125)](a),this[p(0x130)]['write'](p(0x12c)+this[p(0x122)]+':\x20'+a['name']);}['removeItem'](a){const q=a56i;this[q(0x147)][q(0x151)](a[q(0x122)])?(this[q(0x147)][q(0x149)](a[q(0x122)]),this[q(0x130)][q(0x142)](q(0x141)+this['name']+':\x20'+a[q(0x122)])):this[q(0x130)][q(0x142)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0x122)]+':\x20'+a[q(0x122)]);}['setPuzzle'](a){const r=a56i;this['puzzle']=a,this[r(0x130)][r(0x142)]('Puzzle\x20set\x20for\x20room\x20'+this['name']+':\x20'+a[r(0x114)]);}['getOppositeDirection'](a){const s=a56i;switch(a){case s(0x12a):return Direction[s(0x14a)];case s(0x13b):return Direction[s(0x115)];case s(0x148):return Direction[s(0x152)];case'west':return Direction[s(0x126)];case'up':return Direction['DOWN'];case'down':return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a56i(0x128)](a){const t=a56i;for(const b of this['exits'][t(0x134)]()){if(b instanceof Door){if(b[t(0x138)]===this&&b[t(0x123)]===a||b[t(0x123)]===this&&b[t(0x138)]===a)return b;}}return undefined;}}
1
+ function a56c(){const t=['676488Dkyjih','apply','findExistingDoor','description','attemptUnlockExit','toString','addExit','logger','6898342KEKelW','isStartRoom','\x20is\x20locked.\x20Result:\x20','510lrgpYg','riddle','Invalid\x20direction:\x20','NORTH','\x20unlocked!','set','getInstance','values','60414IwExKc','inventory','51235nxUlxm','INSIDE','Item\x20removed\x20from\x20room\x20','7BSxdKV','puzzle','get','down','roomA','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','WEST','constructor','exits','search','Checking\x20if\x20exit\x20in\x20direction\x20','36SiwjGl','EAST','attemptUnlock','Item\x20added\x20to\x20room\x20','2916756AKpzLE','say','hasItem','write','664278JVltBn','Puzzle\x20set\x20for\x20room\x20','isExitLocked','roomType','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','name','setPuzzle','No\x20locked\x20exit\x20found\x20in\x20direction\x20','20SNXOtI','(((.+)+)+)+$','south','SOUTH','Room\x20created:\x20','3485200lXhUMA'];a56c=function(){return t;};return a56c();}const a56i=a56d;function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x16b;let f=c[d];return f;},a56d(a,b);}(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0x18a))/0x1+parseInt(f(0x172))/0x2*(parseInt(f(0x182))/0x3)+-parseInt(f(0x198))/0x4+parseInt(f(0x174))/0x5*(-parseInt(f(0x1a3))/0x6)+-parseInt(f(0x177))/0x7*(-parseInt(f(0x197))/0x8)+-parseInt(f(0x186))/0x9*(-parseInt(f(0x192))/0xa)+-parseInt(f(0x1a0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x6c3cd));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x19d)]()[h(0x180)](h(0x193))[h(0x19d)]()[h(0x17e)](a56a)[h(0x180)](h(0x193));});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(0x170)]();[a56i(0x18f)];[a56i(0x19b)];[a56i(0x17f)]=new Map();[a56i(0x18d)];[a56i(0x1a1)];[a56i(0x173)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x18f)]=a[j(0x18f)],this['description']=a['description'],this[j(0x18d)]=a['roomType']||RoomType[j(0x175)],a[j(0x17f)]&&(this['exits']=a[j(0x17f)]||new Map()),a['inventory']&&(this[j(0x173)]=a[j(0x173)]),a[j(0x178)]&&(this[j(0x178)]=a[j(0x178)]),this[j(0x1a1)]=a['isStartRoom']||![],this[j(0x19f)][j(0x189)](j(0x196)+this[j(0x18f)]);}[a56i(0x187)](a,b){this['emit']('speak',a,b);}[a56i(0x19e)](a,b,c){const k=a56i;let d=this[k(0x19a)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0x17f)][k(0x16f)](a,d),b[k(0x17f)][k(0x16f)](this['getOppositeDirection'](a),d);}[a56i(0x19c)](a,b){const l=a56i,c=this[l(0x17f)]['get'](a);if(c instanceof Door){const d=c[l(0x184)](b);return this[l(0x19f)]['write'](l(0x17c)+a+'.\x20Success:\x20'+d),d?'The\x20'+c[l(0x18f)]+l(0x16e):'The\x20'+c['name']+'\x20remains\x20locked.';}return this['logger'][l(0x189)](l(0x191)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}['getExit'](a){const m=a56i;return this[m(0x19f)][m(0x189)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this['exits']['get'](a);}[a56i(0x18c)](a){const n=a56i,b=this[n(0x17f)][n(0x179)](a),c=b instanceof Door&&b['checkIfLocked']();return this['logger'][n(0x189)](n(0x181)+a+n(0x1a2)+c),c;}['addItem'](a){const o=a56i;this[o(0x173)]['addItem'](a),this[o(0x19f)][o(0x189)](o(0x185)+this['name']+':\x20'+a[o(0x18f)]);}['removeItem'](a){const p=a56i;this[p(0x173)][p(0x188)](a[p(0x18f)])?(this[p(0x173)]['removeItem'](a['name']),this['logger'][p(0x189)](p(0x176)+this['name']+':\x20'+a[p(0x18f)])):this[p(0x19f)][p(0x189)](p(0x18e)+this[p(0x18f)]+':\x20'+a[p(0x18f)]);}[a56i(0x190)](a){const q=a56i;this['puzzle']=a,this['logger']['write'](q(0x18b)+this[q(0x18f)]+':\x20'+a[q(0x16b)]);}['getOppositeDirection'](a){const r=a56i;switch(a){case'north':return Direction[r(0x195)];case r(0x194):return Direction[r(0x16d)];case'east':return Direction[r(0x17d)];case'west':return Direction[r(0x183)];case'up':return Direction['DOWN'];case r(0x17a):return Direction['UP'];default:throw new Error(r(0x16c)+a);}}[a56i(0x19a)](a){const s=a56i;for(const b of this[s(0x17f)][s(0x171)]()){if(b instanceof Door){if(b[s(0x17b)]===this&&b['roomB']===a||b['roomB']===this&&b[s(0x17b)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a57d(a,b);}const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=-parseInt(i(0x206))/0x1+parseInt(i(0x207))/0x2+parseInt(i(0x202))/0x3+parseInt(i(0x224))/0x4+-parseInt(i(0x209))/0x5+parseInt(i(0x213))/0x6+-parseInt(i(0x211))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x59add));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x215)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x226)]()[k(0x221)]('(((.+)+)+)+$')[k(0x226)]()['constructor'](a57a)[k(0x221)]('(((.+)+)+)+$');});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a57c(){const E=['direction','\x20found\x20in\x20the\x20scene.','rooms','\x27s\x20location.\x20Room\x20','Room\x20\x22','roomConfiguration','warn','getCharacterLocation','delete','roomFactory','allActors','name','Removed\x20room\x20from\x20scene:\x20','\x20is\x20now\x20in\x20room\x20','player','actors','1397292hbSnKQ','length','Added\x20puzzle\x20to\x20room\x20','join','206961hvdRUl','1386670rCZOzG','logger','927770jZERIU','createRoom','targetRoom','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','\x20not\x20found\x20in\x20scene.','getInstance','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','addExit','7677362SeOFom','generateRoomsFromConfig','2850726SiJRTV','setPuzzle','apply','keyRequired','addActor','removeRoom','getActor','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','.\x20Room\x20','addItemToRoom','from','set','Failed\x20to\x20set\x20','Failed\x20to\x20add\x20item\x20','search','initialize','keys','889544TxRoFC','Added\x20room\x20to\x20scene:\x20','toString','values','characterLocations','exits','write','getRooms','Added\x20item\x20','connectRooms','determineStartRoom'];a57c=function(){return E;};return a57c();}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57l(0x1f4)];[a57l(0x200)];[a57l(0x208)];[a57l(0x201)];[a57l(0x228)]=new Map();[a57l(0x1fb)];constructor(a){const m=a57l;super(),this[m(0x1fb)]=new RoomFactory(),this[m(0x200)]=a[m(0x200)],this['rooms']=this['generateRoomsFromConfig'](a[m(0x1f7)]),this[m(0x208)]=Logger[m(0x20e)](),this[m(0x201)]=new Map(),this['createExitsFromConfig'](a[m(0x1f7)]),this[m(0x208)][m(0x22a)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x223)](this[m(0x1f4)])[m(0x205)](',\x20'));}[a57l(0x222)](){const n=a57l;this[n(0x200)]['currentLocation']=this[n(0x1f1)]();}[a57l(0x212)](a){const o=a57l;if(!this['roomFactory'])throw new Error(o(0x20c));const b={};for(const c of a){const d=this[o(0x1fb)][o(0x20a)](c);b[c[o(0x1fd)]]=d;}return b;}['createExitsFromConfig'](a){const p=a57l;for(const b of a){const c=this[p(0x1f4)][b[p(0x1fd)]];if(b[p(0x229)])for(const d of b[p(0x229)]){const e=d[p(0x1f2)]['toUpperCase'](),f=d[p(0x20b)],g=d[p(0x216)],h=this[p(0x1f4)][f];h&&c[p(0x210)](Direction[e],h,g);}}}[a57l(0x217)](a){const q=a57l;if(this['actors']['has'](a[q(0x1fd)]))throw new Error('Actor\x20with\x20name\x20'+a[q(0x1fd)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x201)]['set'](a[q(0x1fd)],a);}['removeActor'](a){const r=a57l;if(!this[r(0x201)]['has'](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x1f3));this[r(0x201)][r(0x1fa)](a);}[a57l(0x219)](a){const s=a57l;return this[s(0x201)]['get'](a);}get[a57l(0x1fc)](){const t=a57l;return Array[t(0x21d)](this[t(0x201)][t(0x227)]());}['addRoom'](a){const u=a57l;this['rooms'][a[u(0x1fd)]]=a,this[u(0x208)][u(0x22a)](u(0x225)+a['name']);}[a57l(0x218)](a){const v=a57l;return this[v(0x1f4)][a]?(delete this[v(0x1f4)][a],this['logger'][v(0x22a)](v(0x1fe)+a),!![]):(this[v(0x208)]['write'](v(0x21a)+a),![]);}[a57l(0x21c)](a,b){const w=a57l,c=this[w(0x1f4)][b];c?(c['addItem'](a),this[w(0x208)][w(0x22a)](w(0x22c)+a[w(0x1fd)]+'\x20to\x20room\x20'+c[w(0x1fd)])):this[w(0x208)][w(0x22a)](w(0x220)+a[w(0x1fd)]+w(0x21b)+b+w(0x20d));}['addPuzzleToRoom'](a,b){const x=a57l,c=this[x(0x1f4)][b];c?(c[x(0x214)](a),this[x(0x208)][x(0x22a)](x(0x204)+c['name'])):this[x(0x208)]['write']('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}['setCharacterLocation'](a,b){const y=a57l,c=this[y(0x1f4)][b];c?(this[y(0x228)][y(0x21e)](a[y(0x1fd)],c),this[y(0x208)]['write'](a[y(0x1fd)]+y(0x1ff)+c[y(0x1fd)])):this[y(0x208)][y(0x22a)](y(0x21f)+a[y(0x1fd)]+y(0x1f5)+b+y(0x20d));}[a57l(0x1f9)](a){const z=a57l;return this[z(0x228)]['get'](a[z(0x1fd)]);}[a57l(0x1f1)](){const A=a57l,a=[];for(const c in this['rooms']){if(this[A(0x1f4)]['hasOwnProperty'](c)){const d=this[A(0x1f4)][c];d['isStartRoom']&&a['push'](d);}}if(a[A(0x203)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[A(0x203)]===0x1)return a[0x0];const b=Object[A(0x223)](this[A(0x1f4)]);if(b['length']===0x0)throw new Error(A(0x20f));return console[A(0x1f8)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this['rooms'][b[0x0]];}['getPlayer'](){const B=a57l;return this[B(0x200)];}[a57l(0x22b)](){const C=a57l;return this[C(0x1f4)];}[a57l(0x1f0)](a,b,c,d){const D=a57l,e=this['rooms'][a],f=this[D(0x1f4)][c];if(!e)throw new Error(D(0x1f6)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(D(0x1f6)+c+'\x22\x20does\x20not\x20exist.');e['addExit'](b,f,d);}}
1
+ const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=-parseInt(i(0x10f))/0x1+parseInt(i(0x102))/0x2*(-parseInt(i(0x141))/0x3)+-parseInt(i(0x10b))/0x4*(-parseInt(i(0x119))/0x5)+parseInt(i(0x145))/0x6+-parseInt(i(0x118))/0x7+parseInt(i(0x14c))/0x8*(parseInt(i(0x12d))/0x9)+parseInt(i(0x123))/0xa*(parseInt(i(0x139))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xeca8e));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x136)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x135)]()[k(0x134)](k(0x121))[k(0x135)]()[k(0x112)](a57a)[k(0x134)](k(0x121));});a57a();import{Logger}from'../utilities/logger.js';function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x102;let f=c[d];return f;},a57d(a,b);}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a57c(){const E=['10BiRyWe','from','join','actors','roomConfiguration','keys','getPlayer','Scene\x20initialized\x20with\x20rooms:\x20','removeRoom','getInstance','420111cmOsSw','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','exits','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','Actor\x20with\x20name\x20','determineStartRoom','warn','search','toString','apply','direction','logger','11494241vDKfpx','Failed\x20to\x20set\x20','Failed\x20to\x20add\x20puzzle.\x20Room\x20','\x20already\x20exists\x20in\x20the\x20scene.','player','\x20not\x20found\x20in\x20scene.','addExit','createRoom','4686153EjxlVX','has','targetRoom','removeActor','8057760DlNcHA','.\x20Room\x20','Added\x20room\x20to\x20scene:\x20','get','allActors','Removed\x20room\x20from\x20scene:\x20','values','232rAWOVB','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','Failed\x20to\x20add\x20item\x20','\x27s\x20location.\x20Room\x20','2sfKDsi','addRoom','createExitsFromConfig','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','length','addItemToRoom','currentLocation','generateRoomsFromConfig','setCharacterLocation','1547828AWSVAX','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','delete','toUpperCase','225096ADSFXJ','roomFactory','push','constructor','\x22\x20does\x20not\x20exist.','\x20found\x20in\x20the\x20scene.','connectRooms','hasOwnProperty','addItem','9604238ettlwy','5LtcMht','isStartRoom','getActor','characterLocations','write','name','keyRequired','rooms','(((.+)+)+)+$','No\x20actor\x20with\x20name\x20'];a57c=function(){return E;};return a57c();}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];[a57l(0x13d)];['logger'];[a57l(0x126)];['characterLocations']=new Map();[a57l(0x110)];constructor(a){const m=a57l;super(),this[m(0x110)]=new RoomFactory(),this['player']=a[m(0x13d)],this[m(0x120)]=this['generateRoomsFromConfig'](a['roomConfiguration']),this[m(0x138)]=Logger[m(0x12c)](),this[m(0x126)]=new Map(),this[m(0x104)](a[m(0x127)]),this['logger'][m(0x11d)](m(0x12a)+Object[m(0x128)](this[m(0x120)])[m(0x125)](',\x20'));}['initialize'](){const n=a57l;this[n(0x13d)][n(0x108)]=this['determineStartRoom']();}[a57l(0x109)](a){const o=a57l;if(!this[o(0x110)])throw new Error(o(0x14d));const b={};for(const c of a){const d=this[o(0x110)][o(0x140)](c);b[c[o(0x11e)]]=d;}return b;}[a57l(0x104)](a){const p=a57l;for(const b of a){const c=this[p(0x120)][b[p(0x11e)]];if(b[p(0x12f)])for(const d of b[p(0x12f)]){const e=d[p(0x137)][p(0x10e)](),f=d[p(0x143)],g=d[p(0x11f)],h=this[p(0x120)][f];h&&c[p(0x13f)](Direction[e],h,g);}}}['addActor'](a){const q=a57l;if(this[q(0x126)][q(0x142)](a[q(0x11e)]))throw new Error(q(0x131)+a[q(0x11e)]+q(0x13c));this['actors']['set'](a[q(0x11e)],a);}[a57l(0x144)](a){const r=a57l;if(!this[r(0x126)]['has'](a))throw new Error(r(0x122)+a+r(0x114));this[r(0x126)][r(0x10d)](a);}[a57l(0x11b)](a){const s=a57l;return this[s(0x126)][s(0x148)](a);}get[a57l(0x149)](){const t=a57l;return Array[t(0x124)](this[t(0x126)][t(0x14b)]());}[a57l(0x103)](a){const u=a57l;this[u(0x120)][a[u(0x11e)]]=a,this[u(0x138)][u(0x11d)](u(0x147)+a['name']);}[a57l(0x12b)](a){const v=a57l;return this['rooms'][a]?(delete this[v(0x120)][a],this[v(0x138)][v(0x11d)](v(0x14a)+a),!![]):(this['logger'][v(0x11d)](v(0x130)+a),![]);}[a57l(0x107)](a,b){const w=a57l,c=this[w(0x120)][b];c?(c[w(0x117)](a),this[w(0x138)][w(0x11d)]('Added\x20item\x20'+a[w(0x11e)]+'\x20to\x20room\x20'+c['name'])):this[w(0x138)][w(0x11d)](w(0x14e)+a['name']+w(0x146)+b+'\x20not\x20found\x20in\x20scene.');}['addPuzzleToRoom'](a,b){const x=a57l,c=this[x(0x120)][b];c?(c['setPuzzle'](a),this['logger'][x(0x11d)]('Added\x20puzzle\x20to\x20room\x20'+c['name'])):this[x(0x138)][x(0x11d)](x(0x13b)+b+x(0x13e));}[a57l(0x10a)](a,b){const y=a57l,c=this['rooms'][b];c?(this[y(0x11c)]['set'](a[y(0x11e)],c),this[y(0x138)][y(0x11d)](a['name']+'\x20is\x20now\x20in\x20room\x20'+c['name'])):this[y(0x138)][y(0x11d)](y(0x13a)+a['name']+y(0x14f)+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const z=a57l;return this[z(0x11c)][z(0x148)](a[z(0x11e)]);}[a57l(0x132)](){const A=a57l,a=[];for(const c in this[A(0x120)]){if(this[A(0x120)][A(0x116)](c)){const d=this[A(0x120)][c];d[A(0x11a)]&&a[A(0x111)](d);}}if(a[A(0x106)]>0x1)throw new Error(A(0x12e));if(a[A(0x106)]===0x1)return a[0x0];const b=Object[A(0x128)](this[A(0x120)]);if(b['length']===0x0)throw new Error(A(0x105));return console[A(0x133)](A(0x10c)),this['rooms'][b[0x0]];}[a57l(0x129)](){const B=a57l;return this[B(0x13d)];}['getRooms'](){const C=a57l;return this[C(0x120)];}[a57l(0x115)](a,b,c,d){const D=a57l,e=this[D(0x120)][a],f=this[D(0x120)][c];if(!e)throw new Error('Room\x20\x22'+a+D(0x113));if(!f)throw new Error('Room\x20\x22'+c+D(0x113));e[D(0x13f)](b,f,d);}}