@maka/maka-cli 5.0.30 → 5.0.31

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 (169) hide show
  1. package/bundle/obf/package.json +2 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/test.js +1 -1
  100. package/bundle/obf/src/commands/undo.js +1 -1
  101. package/bundle/obf/src/commands/version.js +1 -1
  102. package/bundle/obf/src/error.js +1 -1
  103. package/bundle/obf/src/exec.js +1 -1
  104. package/bundle/obf/src/generator.js +1 -1
  105. package/bundle/obf/src/generators/_index.js +1 -1
  106. package/bundle/obf/src/generators/api.js +1 -1
  107. package/bundle/obf/src/generators/aws/_index.js +1 -1
  108. package/bundle/obf/src/generators/aws/aws.js +1 -1
  109. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  112. package/bundle/obf/src/generators/collection.js +1 -1
  113. package/bundle/obf/src/generators/component.js +1 -1
  114. package/bundle/obf/src/generators/config.js +1 -1
  115. package/bundle/obf/src/generators/dbc.js +1 -1
  116. package/bundle/obf/src/generators/dockerfile.js +1 -1
  117. package/bundle/obf/src/generators/hook.js +1 -1
  118. package/bundle/obf/src/generators/kits/_index.js +1 -1
  119. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/kit.js +1 -1
  127. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  131. package/bundle/obf/src/generators/layout.js +1 -1
  132. package/bundle/obf/src/generators/maka.gen.js +1 -1
  133. package/bundle/obf/src/generators/methods.js +1 -1
  134. package/bundle/obf/src/generators/package.js +1 -1
  135. package/bundle/obf/src/generators/page.js +1 -1
  136. package/bundle/obf/src/generators/publish.js +1 -1
  137. package/bundle/obf/src/generators/route.js +1 -1
  138. package/bundle/obf/src/generators/service.js +1 -1
  139. package/bundle/obf/src/generators/services/_index.js +1 -1
  140. package/bundle/obf/src/generators/services/openssl.js +1 -1
  141. package/bundle/obf/src/generators/services/translation.js +1 -1
  142. package/bundle/obf/src/maka.js +1 -1
  143. package/bundle/obf/src/templates/service/eslint/babelrc +3 -0
  144. package/bundle/obf/src/templates/service/eslint/config.eslint.js +61 -0
  145. package/bundle/obf/src/tool.js +1 -1
  146. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  148. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  150. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  151. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  153. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  154. package/bundle/obf/src/tools/https/https.class.js +1 -1
  155. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  156. package/bundle/obf/src/tools/log/log.class.js +1 -1
  157. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  158. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  159. package/bundle/obf/src/tools/options/options.class.js +1 -1
  160. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  161. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  162. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  163. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  164. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  165. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  166. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  167. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  168. package/package.json +2 -1
  169. package/bundle/obf/src/templates/service/eslint/eslintrc.json +0 -54
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x180))/0x1+-parseInt(f(0x15d))/0x2+-parseInt(f(0x14f))/0x3*(parseInt(f(0x170))/0x4)+parseInt(f(0x17a))/0x5*(-parseInt(f(0x14d))/0x6)+-parseInt(f(0x177))/0x7+-parseInt(f(0x17e))/0x8*(-parseInt(f(0x15b))/0x9)+parseInt(f(0x148))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x7deba));function a38c(){const n=['To\x20the\x20','getOtherSide','name','\x27\x20in\x20','lookOutside','apply','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','toString','88916kVPMSq','inventory','currentLocation','constructor','\x20inventory.','actor','You\x20cannot\x20see\x20','4317782hUbzMC','rooms','hasItem','820345HlWHWV','inspectItem','write','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','984LabGOV','(((.+)+)+)+$','713996NnYGPs','down','26628880Fsoigp','Looking\x20at\x20item\x20\x27','execute','It\x27s\x20just\x20a\x20regular\x20','string','18gtRPle','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','51IgVoEJ','puzzle','Examine\x20your\x20surroundings','isValidDirection','You\x20cannot\x20see\x20through','get','join','search','Below\x20you,\x20','look','logger','You\x20don\x27t\x20see\x20any\x20','34389yPxqva','error','832358EhTqwz','Executing\x20\x27Look\x27\x20command.','OUTSIDE','You\x27re\x20not\x20in\x20a\x20valid\x20room.','description','\x20is\x20looking\x20around\x20the\x20current\x20room.','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','getItem','verb',',\x20you\x20see\x20','\x20here.'];a38c=function(){return n;};return a38c();}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x156)]('(((.+)+)+)+$')[h(0x16f)]()[h(0x173)](a38a)[h(0x156)](h(0x17f));});a38a();import{Door}from'../models/door.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x148;let f=c[d];return f;},a38d(a,b);}import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0x165)]=a38i(0x158);static [a38i(0x161)]=a38i(0x151);[a38i(0x14a)](a=[]){const j=a38i;this['logger'][j(0x17c)](j(0x15e));const b=a[j(0x155)]('\x20');if(b){if(this[j(0x175)]['inventory'][j(0x179)](b))return this['logger']['write']('Looking\x20at\x20item\x20\x27'+b+j(0x16b)+this[j(0x175)][j(0x16a)]+j(0x174)),this['inspectItem'](b,this[j(0x175)][j(0x171)]);else{if(this['actor']['currentLocation'][j(0x171)][j(0x179)](b))return this[j(0x159)]['write'](j(0x149)+b+'\x27\x20in\x20current\x20room\x20inventory.'),this[j(0x17b)](b,this[j(0x175)]['currentLocation'][j(0x171)]);else return this[j(0x152)](b)?(this['logger']['write'](j(0x14e)+b+'\x27.'),this[j(0x16c)](b)):j(0x176)+b;}}else return this[j(0x159)]['write'](this[j(0x175)]['name']+j(0x162)),this[j(0x158)]();}['look'](){const k=a38i,a=this[k(0x175)][k(0x172)];if(!a)return this[k(0x159)]['error'](this[k(0x175)][k(0x16a)]+k(0x17d)),k(0x160);let b=a['description'];return a[k(0x150)]&&(b+='\x0a'+a[k(0x150)]['riddle']),b;}[a38i(0x16c)](a){const l=a38i,b=this[l(0x175)][l(0x172)];if(!b)return this[l(0x159)][l(0x15c)](this[l(0x175)][l(0x16a)]+l(0x17d)),l(0x160);const c=b['exits'][l(0x154)](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x169)](b);else{if(typeof c===l(0x14c)){d=this[l(0x178)]&&this[l(0x178)][c];if(!d)return l(0x16e)+a+'\x22.';}else return l(0x163)+a+'\x22.';}if(d['roomType']===RoomType[l(0x15f)]){if(a==='up')return'Above\x20you,\x20'+d['description'];else return a===l(0x181)?l(0x157)+d[l(0x161)]:l(0x168)+a+l(0x166)+d[l(0x161)];}else return l(0x153);}[a38i(0x17b)](a,b){const m=a38i,c=b[m(0x164)](a);if(!c)return m(0x15a)+a+m(0x167);return c[m(0x161)]||m(0x14b)+a+'.';}}
1
+ function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x7d;let f=c[d];return f;},a38d(a,b);}const a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x8a))/0x1*(-parseInt(f(0x7d))/0x2)+-parseInt(f(0x94))/0x3*(parseInt(f(0xa2))/0x4)+parseInt(f(0xa7))/0x5*(parseInt(f(0xb5))/0x6)+parseInt(f(0xa6))/0x7*(-parseInt(f(0xb7))/0x8)+parseInt(f(0x93))/0x9+-parseInt(f(0x9f))/0xa*(parseInt(f(0xb6))/0xb)+parseInt(f(0x87))/0xc*(parseInt(f(0x91))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xd4fab));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0x81)]()['search'](g(0x88))[g(0x81)]()[g(0xa1)](a38a)[g(0x90)](g(0x88));});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';function a38c(){const m=['isValidDirection','\x27\x20in\x20current\x20room\x20inventory.','\x20inventory.','join','3101730lkdDFE','inspectItem','constructor','276HyudZq','OUTSIDE','name','\x27\x20in\x20','1777307GiLHfT','6042760ogBmAP','To\x20the\x20','getItem','look','Above\x20you,\x20','description','Executing\x20\x27Look\x27\x20command.','puzzle','write','Below\x20you,\x20','lookOutside','string','down','logger','6tbjQZu','33HmdEJk','8AqWqYL','383158YamjiW','hasItem','\x20here.','You\x20don\x27t\x20see\x20any\x20','toString','roomType','getOtherSide','currentLocation','You\x27re\x20not\x20in\x20a\x20valid\x20room.','inventory','20279652rLIauE','(((.+)+)+)+$','You\x20cannot\x20see\x20','8kOXMzG','exits','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','Looking\x20at\x20item\x20\x27','actor','\x20is\x20looking\x20around\x20the\x20current\x20room.','search','26EBTvZj','verb','3009735VVlHXu','57978wECVcn','get','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','execute','error','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','rooms'];a38c=function(){return m;};return a38c();}export class LookCommand extends Command{static [a38h(0x92)]=a38h(0xaa);static [a38h(0xac)]='Examine\x20your\x20surroundings';[a38h(0x97)](a=[]){const i=a38h;this[i(0xb4)][i(0xaf)](i(0xad));const b=a[i(0x9e)]('\x20');if(b){if(this['actor'][i(0x86)][i(0x7e)](b))return this[i(0xb4)][i(0xaf)](i(0x8d)+b+i(0xa5)+this[i(0x8e)][i(0xa4)]+i(0x9d)),this[i(0xa0)](b,this[i(0x8e)][i(0x86)]);else{if(this[i(0x8e)][i(0x84)]['inventory'][i(0x7e)](b))return this[i(0xb4)][i(0xaf)](i(0x8d)+b+i(0x9c)),this[i(0xa0)](b,this[i(0x8e)]['currentLocation'][i(0x86)]);else return this[i(0x9b)](b)?(this['logger']['write']('Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27'+b+'\x27.'),this[i(0xb1)](b)):i(0x89)+b;}}else return this[i(0xb4)][i(0xaf)](this[i(0x8e)][i(0xa4)]+i(0x8f)),this['look']();}[a38h(0xaa)](){const j=a38h,a=this['actor'][j(0x84)];if(!a)return this['logger'][j(0x98)](this[j(0x8e)][j(0xa4)]+j(0x99)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';let b=a[j(0xac)];return a[j(0xae)]&&(b+='\x0a'+a[j(0xae)]['riddle']),b;}[a38h(0xb1)](a){const k=a38h,b=this[k(0x8e)][k(0x84)];if(!b)return this[k(0xb4)]['error'](this[k(0x8e)][k(0xa4)]+k(0x99)),k(0x85);const c=b[k(0x8b)][k(0x95)](a);if(!c)return k(0x8c)+a+'\x22.';let d;if(c instanceof Door)d=c[k(0x83)](b);else{if(typeof c===k(0xb2)){d=this[k(0x9a)]&&this[k(0x9a)][c];if(!d)return'There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}else return k(0x96)+a+'\x22.';}if(d[k(0x82)]===RoomType[k(0xa3)]){if(a==='up')return k(0xab)+d['description'];else return a===k(0xb3)?k(0xb0)+d[k(0xac)]:k(0xa8)+a+',\x20you\x20see\x20'+d[k(0xac)];}else return'You\x20cannot\x20see\x20through';}[a38h(0xa0)](a,b){const l=a38h,c=b[l(0xa9)](a);if(!c)return l(0x80)+a+l(0x7f);return c['description']||'It\x27s\x20just\x20a\x20regular\x20'+a+'.';}}
@@ -1 +1 @@
1
- const a39i=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xf5;let f=c[d];return f;},a39d(a,b);}function a39c(){const l=['scene','(((.+)+)+)+$','search','\x20says\x20to\x20','verb','An\x20error\x20occurred.','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','6UqbRrQ','context','1831810KWTZVI','23784SjrHmr','433008tGsgoy','135246MWzDQW','toString','currentLocation','798381SjQwdT','constructor','actor','say','logger','1239XpYhKQ','description','You\x20say:\x20\x22','filter','execute','Scene\x20is\x20missing\x20from\x20context.','name','3389910nkaKxb','join','allActors','What\x20do\x20you\x20want\x20to\x20say?','751912Owexri','length'];a39c=function(){return l;};return a39c();}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0xfc))/0x1*(parseInt(g(0xf7))/0x2)+parseInt(g(0xfb))/0x3+parseInt(g(0x10f))/0x4+parseInt(g(0xf9))/0x5+-parseInt(g(0x10b))/0x6+-parseInt(g(0x104))/0x7*(-parseInt(g(0xfa))/0x8)+parseInt(g(0xff))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x53b63));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0xfd)]()[h(0x113)](h(0x112))[h(0xfd)]()[h(0x100)](a39a)[h(0x113)]('(((.+)+)+)+$');});a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39i(0x115)]='say';static [a39i(0x105)]=a39i(0xf6);[a39i(0xf8)];constructor(a){const j=a39i;super(a),this[j(0xf8)]=a;}[a39i(0x108)](a){const k=a39i;if(a[k(0x110)]===0x0)return k(0x10e);const b=a[k(0x10c)]('\x20'),c=this[k(0x101)],d=this[k(0xf8)][k(0x111)];if(!d)return this[k(0x103)]['log'](k(0x109)),k(0xf5);const e=d[k(0x10d)][k(0x107)](f=>f['currentLocation']===c[k(0xfe)]);for(const f of e){this[k(0x103)]['log'](c['name']+k(0x114)+f[k(0x10a)]+':\x20\x22'+b+'\x22'),this[k(0x101)]['currentLocation'][k(0x102)](f,b);}return k(0x106)+b+'\x22';}}
1
+ const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0xdc))/0x1+parseInt(g(0xcf))/0x2+parseInt(g(0xd4))/0x3+-parseInt(g(0xd7))/0x4+parseInt(g(0xdb))/0x5+parseInt(g(0xe1))/0x6*(-parseInt(g(0xd2))/0x7)+parseInt(g(0xdd))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x29f5e));function a39c(){const m=['210284uSlNdJ','join','(((.+)+)+)+$','321902rXEitu','log','795594hGzWId','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','name','400664nGSeTb','An\x20error\x20occurred.','verb','actor','1128350xrnbmf','289863dcUDyP','1566552hXvtlM','currentLocation','\x20says\x20to\x20','length','30HsgpGV','Scene\x20is\x20missing\x20from\x20context.','toString','scene','filter','execute','context','logger','search','apply'];a39c=function(){return m;};return a39c();}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0xe3)]()[i(0xcd)]('(((.+)+)+)+$')['toString']()['constructor'](a39a)[i(0xcd)](i(0xd1));});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xca;let f=c[d];return f;},a39d(a,b);}import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0xd9)]='say';static ['description']=a39j(0xd5);['context'];constructor(a){const k=a39j;super(a),this[k(0xcb)]=a;}[a39j(0xca)](a){const l=a39j;if(a[l(0xe0)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[l(0xd0)]('\x20'),c=this['actor'],d=this['context'][l(0xe4)];if(!d)return this[l(0xcc)][l(0xd3)](l(0xe2)),l(0xd8);const e=d['allActors'][l(0xe5)](f=>f[l(0xde)]===c['currentLocation']);for(const f of e){this[l(0xcc)][l(0xd3)](c[l(0xd6)]+l(0xdf)+f[l(0xd6)]+':\x20\x22'+b+'\x22'),this[l(0xda)][l(0xde)]['say'](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}
@@ -1 +1 @@
1
- function a40c(){const k=['\x20found\x20the\x20following\x20items:\x20','Search\x20for\x20items\x20in\x20your\x20area','2779oCcIdb','87529RekUtj','SearchCommand:\x20','11IyAXKK','You\x20search\x20the\x20area\x20and\x20find:\x20','currentLocation','name','8280290HVhkoL','actor','1637199VazLvG','21176QBumSz','4ZGOedI','3vCeGPq','length','416915FXhmdX','inventory','write','10230710ckzWZc','execute','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','logger','(((.+)+)+)+$','search','410612eYGmCa','3912gtKOoH','description','join','6DLXcxg','apply','listItems'];a40c=function(){return k;};return a40c();}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x14e))/0x1*(parseInt(f(0x14b))/0x2)+-parseInt(f(0x14c))/0x3*(-parseInt(f(0x137))/0x4)+parseInt(f(0x147))/0x5*(parseInt(f(0x13b))/0x6)+-parseInt(f(0x140))/0x7*(-parseInt(f(0x14a))/0x8)+parseInt(f(0x149))/0x9+-parseInt(f(0x151))/0xa*(-parseInt(f(0x143))/0xb)+parseInt(f(0x138))/0xc*(-parseInt(f(0x141))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xf0aa4));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x137;let f=c[d];return f;},a40d(a,b);}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x13c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()['search']('(((.+)+)+)+$')['toString']()['constructor'](a40a)['search'](h(0x155));});a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a40i(0x156);static [a40i(0x139)]=a40i(0x13f);[a40i(0x152)](){const j=a40i,a=this[j(0x148)][j(0x145)][j(0x14f)][j(0x13d)]();if(a[j(0x14d)]===0x0)return this[j(0x154)]['write'](j(0x142)+this['actor']['name']+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0x153);const b=a[j(0x13a)](',\x20');return this[j(0x154)][j(0x150)](j(0x142)+this[j(0x148)][j(0x146)]+j(0x13e)+b),j(0x144)+b;}}
1
+ function a40c(){const k=['search','execute','toString','430437LjsctD','54uwYRtY','apply','name','You\x20search\x20the\x20area\x20and\x20find:\x20','20687000oJKaGU','constructor','827032bLnWKN','length','write','actor','currentLocation','(((.+)+)+)+$','inventory','583807ldtaFw','join','description','1456850dPUeAR','6xvQlGW','133911FmODLb','2815364LvmtQh','listItems','SearchCommand:\x20','34NaVPpl','verb','logger','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.'];a40c=function(){return k;};return a40c();}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x1d0))/0x1+-parseInt(f(0x1d9))/0x2*(parseInt(f(0x1d5))/0x3)+-parseInt(f(0x1d6))/0x4+parseInt(f(0x1d3))/0x5*(-parseInt(f(0x1d4))/0x6)+parseInt(f(0x1e0))/0x7+-parseInt(f(0x1c9))/0x8*(-parseInt(f(0x1e1))/0x9)+parseInt(f(0x1c7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x64bca));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1df)]()[h(0x1dd)](h(0x1ce))[h(0x1df)]()[h(0x1c8)](a40a)[h(0x1dd)](h(0x1ce));});a40a();function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1c5;let f=c[d];return f;},a40d(a,b);}import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0x1da)]=a40i(0x1dd);static [a40i(0x1d2)]='Search\x20for\x20items\x20in\x20your\x20area';[a40i(0x1de)](){const j=a40i,a=this['actor'][j(0x1cd)][j(0x1cf)][j(0x1d7)]();if(a[j(0x1ca)]===0x0)return this['logger']['write'](j(0x1d8)+this[j(0x1cc)][j(0x1c5)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0x1dc);const b=a[j(0x1d1)](',\x20');return this[j(0x1db)][j(0x1cb)](j(0x1d8)+this[j(0x1cc)][j(0x1c5)]+'\x20found\x20the\x20following\x20items:\x20'+b),j(0x1c6)+b;}}
@@ -1 +1 @@
1
- const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0xb6))/0x1+-parseInt(f(0xc1))/0x2+parseInt(f(0xb2))/0x3*(parseInt(f(0xc0))/0x4)+parseInt(f(0xbd))/0x5*(-parseInt(f(0xb9))/0x6)+parseInt(f(0xd1))/0x7*(-parseInt(f(0xca))/0x8)+-parseInt(f(0xc2))/0x9*(parseInt(f(0xcd))/0xa)+parseInt(f(0xb7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb731c));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xb1;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a['toString']()[h(0xcf)](h(0xb5))[h(0xc9)]()['constructor'](a41a)[h(0xcf)]('(((.+)+)+)+$');});function a41c(){const k=['rewardItem','158850CYqFhu','inventory','verb','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','55ODLAoy','write','description','101028xxHKId','2013020CFLBUj','9FsrQya','toLowerCase','SolveCommand:\x20','Attempt\x20to\x20solve\x20a\x20puzzle.','puzzle','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','apply','toString','2425072HyHOfK','addItem','solve','4866520dqnVyp','message','search','logger','7gJROev','actor','success','51ybVrZj','execute','join','(((.+)+)+)+$','713536pfGlCm','18644780nwLQNG'];a41c=function(){return k;};return a41c();}a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0xbb)]=a41i(0xcc);static [a41i(0xbf)]=a41i(0xc5);[a41i(0xb3)](a){const j=a41i,b=a[j(0xb4)]('\x20')[j(0xc3)](),c=this['actor']['currentLocation'];if(!c||!c[j(0xc6)])return this[j(0xd0)][j(0xbe)](j(0xc7)),j(0xbc);const d=c[j(0xc6)][j(0xcc)](b,this[j(0xd2)]['inventory']);return d[j(0xb1)]&&c[j(0xc6)]['rewardItem']&&this[j(0xd2)][j(0xba)][j(0xcb)](c['puzzle'][j(0xb8)]),this['logger'][j(0xbe)](j(0xc4)+d[j(0xce)]),d[j(0xce)];}}
1
+ const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x163))/0x1*(parseInt(f(0x175))/0x2)+parseInt(f(0x171))/0x3*(parseInt(f(0x17b))/0x4)+-parseInt(f(0x174))/0x5+-parseInt(f(0x16c))/0x6+-parseInt(f(0x16d))/0x7+parseInt(f(0x169))/0x8+parseInt(f(0x16a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x280a7));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x180)]()[h(0x17a)](h(0x173))[h(0x180)]()[h(0x168)](a41a)[h(0x17a)](h(0x173));});a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static ['verb']=a41i(0x177);static ['description']=a41i(0x16e);[a41i(0x176)](a){const j=a41i,b=a[j(0x178)]('\x20')[j(0x17c)](),c=this['actor'][j(0x162)];if(!c||!c[j(0x17e)])return this[j(0x16b)][j(0x179)](j(0x166)),j(0x165);const d=c[j(0x17e)][j(0x177)](b,this[j(0x170)][j(0x17d)]);return d[j(0x164)]&&c[j(0x17e)][j(0x16f)]&&this[j(0x170)][j(0x17d)][j(0x167)](c['puzzle'][j(0x16f)]),this[j(0x16b)][j(0x179)](j(0x172)+d[j(0x181)]),d[j(0x181)];}}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x162;let f=c[d];return f;},a41d(a,b);}function a41c(){const k=['actor','3OqhlIM','SolveCommand:\x20','(((.+)+)+)+$','1027325hxRQXM','2zhuHQQ','execute','solve','join','write','search','571248Hqxmss','toLowerCase','inventory','puzzle','apply','toString','message','currentLocation','624vXEsvt','success','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','addItem','constructor','1082696ZpNTRL','3441051NQItzR','logger','1001700iQvOdm','872830MOsSjL','Attempt\x20to\x20solve\x20a\x20puzzle.','rewardItem'];a41c=function(){return k;};return a41c();}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x76))/0x1+-parseInt(f(0x8c))/0x2+parseInt(f(0x92))/0x3+parseInt(f(0x8d))/0x4*(parseInt(f(0x8e))/0x5)+-parseInt(f(0x89))/0x6+parseInt(f(0x6d))/0x7*(-parseInt(f(0x75))/0x8)+parseInt(f(0x83))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x5c674));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x6d;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x82)]()[h(0x88)](h(0x8f))[h(0x82)]()[h(0x95)](a42a)[h(0x88)](h(0x8f));});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0x87)]=a42i(0x7d);static [a42i(0x7e)]='Pick\x20up\x20an\x20item.';['execute'](a){const j=a42i;return this[j(0x86)][j(0x94)](j(0x79)+a[j(0x80)]('\x20')),this[j(0x7d)](a);}['take'](a){const k=a42i,b=a[k(0x80)]('\x20')['toLowerCase'](),c=this[k(0x7a)][k(0x7b)];if(!c[k(0x74)][k(0x77)](b))return this[k(0x86)][k(0x94)](k(0x8b)+b+k(0x93)+c[k(0x6e)]+k(0x7c)),'There\x20is\x20no\x20item\x20\x22'+b+k(0x6f);const d=c['inventory']['getItem'](b);if(!d)return this['logger'][k(0x94)](k(0x8b)+b+k(0x78)+c['name']+k(0x72)),'There\x20is\x20no\x20item\x20\x22'+b+k(0x6f);try{return this['actor']['addInventory'](d),this['logger'][k(0x94)](k(0x90)+b+k(0x73)+this[k(0x7a)][k(0x6e)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0x74)][k(0x91)](b),this[k(0x86)][k(0x94)](k(0x85)+b+k(0x7f)+c[k(0x6e)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x71)+b+'.';}catch(e){return this[k(0x86)][k(0x94)](k(0x70)+e[k(0x8a)]),k(0x84)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}function a42c(){const l=['removeItem','811176fYBxgT','\x22\x20not\x20found\x20in\x20','write','constructor','2153214VeYFQk','name','\x22\x20in\x20this\x20room.','Error\x20during\x20\x27Take\x27\x20command:\x20','You\x20have\x20taken\x20the\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20to\x20','inventory','16IVrCLU','92215ewiEqM','hasItem','\x22\x20not\x20retrieved\x20from\x20','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','actor','currentLocation','\x20during\x20\x27Take\x27\x20command.','take','description','\x22\x20from\x20','join','apply','toString','13138443cWtihV','The\x20item\x20\x22','Successfully\x20removed\x20\x22','logger','verb','search','3798726ASGYPf','message','Item\x20\x22','678182lhkdgJ','1311584kFxBNu','5pyUyCu','(((.+)+)+)+$','Successfully\x20added\x20\x22'];a42c=function(){return l;};return a42c();}
1
+ const a42i=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x14d;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x167))/0x1*(-parseInt(f(0x155))/0x2)+-parseInt(f(0x170))/0x3+parseInt(f(0x16c))/0x4*(parseInt(f(0x175))/0x5)+parseInt(f(0x174))/0x6*(parseInt(f(0x165))/0x7)+parseInt(f(0x163))/0x8+parseInt(f(0x153))/0x9+-parseInt(f(0x150))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xe438c));function a42c(){const l=['\x22\x20from\x20','685HAHUNj','\x22\x20not\x20found\x20in\x20','removeItem','\x22\x20not\x20retrieved\x20from\x20','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','4XLpEVQ','join','toString','Successfully\x20removed\x20\x22','5523525jRuTrz','\x20during\x20\x27Take\x27\x20command.','take','hasItem','58452mviMGK','4781535Iuodoj','constructor','\x22\x20in\x20this\x20room.','(((.+)+)+)+$','10605530VzLpRv','execute','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','16703028CJfYWm','name','4388exFJsC','apply','write','The\x20item\x20\x22','logger','\x22\x20to\x20','message','getItem','\x22\x20is\x20too\x20heavy\x20to\x20carry.','Error\x20during\x20\x27Take\x27\x20command:\x20','Item\x20\x22','search','inventory','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','11410952iMTgyi','actor','791czYCpd'];a42c=function(){return l;};return a42c();}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x156)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x16e)]()[h(0x160)](h(0x14f))[h(0x16e)]()[h(0x14d)](a42a)['search'](h(0x14f));});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a42i(0x172);static ['description']='Pick\x20up\x20an\x20item.';[a42i(0x151)](a){const j=a42i;return this[j(0x159)]['write'](j(0x152)+a[j(0x16d)]('\x20')),this[j(0x172)](a);}['take'](a){const k=a42i,b=a[k(0x16d)]('\x20')['toLowerCase'](),c=this['actor']['currentLocation'];if(!c['inventory'][k(0x173)](b))return this[k(0x159)]['write'](k(0x15f)+b+k(0x168)+c[k(0x154)]+k(0x171)),'There\x20is\x20no\x20item\x20\x22'+b+k(0x14e);const d=c[k(0x161)][k(0x15c)](b);if(!d)return this[k(0x159)][k(0x157)](k(0x15f)+b+k(0x16a)+c[k(0x154)]+k(0x162)),'There\x20is\x20no\x20item\x20\x22'+b+'\x22\x20in\x20this\x20room.';try{return this[k(0x164)]['addInventory'](d),this[k(0x159)]['write']('Successfully\x20added\x20\x22'+b+k(0x15a)+this['actor'][k(0x154)]+k(0x16b)),c[k(0x161)][k(0x169)](b),this[k(0x159)]['write'](k(0x16f)+b+k(0x166)+c[k(0x154)]+k(0x162)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this[k(0x159)][k(0x157)](k(0x15e)+e[k(0x15b)]),k(0x158)+b+k(0x15d);}}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x11e))/0x1*(parseInt(f(0x128))/0x2)+-parseInt(f(0x12c))/0x3*(parseInt(f(0x121))/0x4)+parseInt(f(0x123))/0x5*(-parseInt(f(0x12a))/0x6)+-parseInt(f(0x12e))/0x7+-parseInt(f(0x127))/0x8+parseInt(f(0x12b))/0x9+parseInt(f(0x130))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x1c435));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x11c;let f=c[d];return f;},a43d(a,b);}function a43c(){const k=['actor','7266tgLehV','constructor','3351150QqAnGY','unequip','search','toString','(((.+)+)+)+$','name','UnequipCommand:\x20','logger','3507oqlsHX','unqeuip','verb','308LzTswK','toLowerCase','65jNrRmq','Unequip\x20an\x20item.','\x20unqeuiped\x20','apply','298344wEdDtq','6SidTiW','execute','85596UcWCKK','1587672QQBXTj','7110mdpOsy'];a43c=function(){return k;};return a43c();}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x126)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x133)]()[h(0x132)]('(((.+)+)+)+$')[h(0x133)]()[h(0x12f)](a43a)[h(0x132)](h(0x134));});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x120)]=a43i(0x11f);static ['description']=a43i(0x124);[a43i(0x129)](a){const j=a43i,b=a['join']('\x20')[j(0x122)](),c=this['actor'][j(0x131)](b);return this[j(0x11d)]['write'](j(0x11c)+this[j(0x12d)][j(0x135)]+j(0x125)+c),c;}}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x178))/0x1*(parseInt(f(0x18a))/0x2)+parseInt(f(0x191))/0x3*(parseInt(f(0x176))/0x4)+parseInt(f(0x181))/0x5+parseInt(f(0x18d))/0x6+parseInt(f(0x17e))/0x7+-parseInt(f(0x183))/0x8*(-parseInt(f(0x184))/0x9)+parseInt(f(0x18f))/0xa*(-parseInt(f(0x186))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x324d7));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x180)]()['search']('(((.+)+)+)+$')[h(0x180)]()[h(0x17f)](a43a)[h(0x188)](h(0x18e));});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x175;let f=c[d];return f;},a43d(a,b);}function a43c(){const k=['toString','825700NWqWOO','verb','578568oAIIvv','9gAqKCt','UnequipCommand:\x20','11078111fTijEb','logger','search','apply','54310UsxQAN','write','join','1434792EznCOw','(((.+)+)+)+$','10YFIEaf','actor','339WExUxL','execute','5176bUxXQZ','\x20unqeuiped\x20','13PmCwCn','toLowerCase','name','unqeuip','Unequip\x20an\x20item.','description','1661170wJCHSA','constructor'];a43c=function(){return k;};return a43c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x182)]=a43i(0x17b);static [a43i(0x17d)]=a43i(0x17c);[a43i(0x175)](a){const j=a43i,b=a[j(0x18c)]('\x20')[j(0x179)](),c=this[j(0x190)]['unequip'](b);return this[j(0x187)][j(0x18b)](j(0x185)+this[j(0x190)][j(0x17a)]+j(0x177)+c),c;}}
@@ -1 +1 @@
1
- const a44k=a44d;function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x17d;let f=c[d];return f;},a44d(a,b);}(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x19d))/0x1*(parseInt(h(0x17e))/0x2)+parseInt(h(0x1a1))/0x3+parseInt(h(0x18d))/0x4*(parseInt(h(0x183))/0x5)+parseInt(h(0x186))/0x6+parseInt(h(0x185))/0x7+parseInt(h(0x184))/0x8*(parseInt(h(0x1a2))/0x9)+-parseInt(h(0x193))/0xa*(parseInt(h(0x18c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x6313c));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x18a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x18e)]()[j(0x19e)]('(((.+)+)+)+$')['toString']()['constructor'](a44a)[j(0x19e)](j(0x19a));});a44a();function a44c(){const n=['8LbNkCY','3122476DTzIFu','2714022CCrzFb','actor','get','error','apply','attemptUnlockExit','22dlOdFc','69808PpoBzz','toString','unlock','length','getItem','UnlockCommand:\x20','10173230gxmQtA','inventory','toLowerCase','.\x20Result:\x20','currentLocation','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','\x20is\x20attempted\x20to\x20unlock\x20','(((.+)+)+)+$','logger','write','1WRPKNA','search','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','UnlockCommand:\x20No\x20target\x20specified.','1745538dynzNT','6352821HNCvXv','\x22\x20here.','name','exits','There\x27s\x20no\x20door\x20named\x20\x22','119580qpUvoF','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','has','isValidDirection','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','90rdBjrr'];a44c=function(){return n;};return a44c();}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']=a44k(0x18f);static ['description']='Unlock\x20a\x20door.';['execute'](a){const l=a44k;return this[l(0x18f)](a);}[a44k(0x18f)](a){const m=a44k;if(a[m(0x190)]===0x0)return this[m(0x19b)][m(0x189)](m(0x1a0)),m(0x19f);const b=a[0x0][m(0x195)](),c=this[m(0x187)][m(0x197)];if(this[m(0x181)](b)&&c[m(0x1a5)][m(0x180)](b)){const d=c[m(0x1a5)][m(0x188)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[m(0x195)]();if(e&&this[m(0x187)][m(0x194)]['hasItem'](e)){const f=this[m(0x187)][m(0x194)][m(0x191)](e);if(f){const g=c[m(0x18b)](b,f[m(0x1a4)]);return this[m(0x19b)][m(0x19c)](m(0x192)+this[m(0x187)][m(0x1a4)]+m(0x199)+b+m(0x196)+g),g;}}return this[m(0x19b)][m(0x19c)]('UnlockCommand:\x20'+this[m(0x187)][m(0x1a4)]+m(0x182)+b+'.'),m(0x17f);}else return this['logger']['write'](m(0x192)+b+m(0x198)+c['name']+'.'),m(0x17d)+b+m(0x1a3);}else return this[m(0x19b)]['write'](m(0x192)+b+m(0x198)+c['name']+'.'),m(0x17d)+b+'\x22\x20here.';}}
1
+ function a44c(){const n=['constructor','length','currentLocation','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','isValidDirection','write','get','Unlock\x20a\x20door.','There\x27s\x20no\x20door\x20named\x20\x22','UnlockCommand:\x20No\x20target\x20specified.','2PvZIQy','\x22\x20here.','attemptUnlockExit','execute','UnlockCommand:\x20','search','toString','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','verb','actor','hasItem','logger','apply','2208618yORvvg','unlockItemOrSolution','getItem','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','1550139ZTFmPh','has','8248SGjzvb','826hHLFIK','toLowerCase','321411YzHLgZ','exits','inventory','name','\x20is\x20attempted\x20to\x20unlock\x20','1446084ASOFRT','.\x20Result:\x20','1903276hiyTsp','unlock','3175695lEfrpo','(((.+)+)+)+$'];a44c=function(){return n;};return a44c();}const a44k=a44d;function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x17e;let f=c[d];return f;},a44d(a,b);}(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x1a9))/0x1+-parseInt(h(0x192))/0x2*(-parseInt(h(0x1a4))/0x3)+-parseInt(h(0x184))/0x4+parseInt(h(0x186))/0x5+parseInt(h(0x19f))/0x6+parseInt(h(0x1a7))/0x7*(-parseInt(h(0x1a6))/0x8)+-parseInt(h(0x182))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x6b847));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x19e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x198)]()[j(0x197)]('(((.+)+)+)+$')['toString']()[j(0x188)](a44a)[j(0x197)](j(0x187));});a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0x19a)]='unlock';static ['description']=a44k(0x18f);[a44k(0x195)](a){const l=a44k;return this[l(0x185)](a);}[a44k(0x185)](a){const m=a44k;if(a[m(0x189)]===0x0)return this[m(0x19d)]['error'](m(0x191)),m(0x1a3);const b=a[0x0][m(0x1a8)](),c=this[m(0x19b)][m(0x18a)];if(this[m(0x18c)](b)&&c[m(0x17e)][m(0x1a5)](b)){const d=c[m(0x17e)][m(0x18e)](b);if(d instanceof Door){const e=d[m(0x1a0)]?.[m(0x1a8)]();if(e&&this[m(0x19b)][m(0x17f)][m(0x19c)](e)){const f=this[m(0x19b)][m(0x17f)][m(0x1a1)](e);if(f){const g=c[m(0x194)](b,f[m(0x180)]);return this[m(0x19d)][m(0x18d)](m(0x196)+this[m(0x19b)]['name']+m(0x181)+b+m(0x183)+g),g;}}return this[m(0x19d)][m(0x18d)](m(0x196)+this[m(0x19b)][m(0x180)]+m(0x1a2)+b+'.'),m(0x199);}else return this[m(0x19d)][m(0x18d)](m(0x196)+b+m(0x18b)+c[m(0x180)]+'.'),m(0x190)+b+m(0x193);}else return this['logger'][m(0x18d)](m(0x196)+b+m(0x18b)+c[m(0x180)]+'.'),m(0x190)+b+m(0x193);}}
@@ -1 +1 @@
1
- const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x194))/0x1*(parseInt(f(0x18b))/0x2)+parseInt(f(0x17e))/0x3*(-parseInt(f(0x18c))/0x4)+-parseInt(f(0x18a))/0x5*(parseInt(f(0x199))/0x6)+-parseInt(f(0x17f))/0x7+parseInt(f(0x190))/0x8*(parseInt(f(0x187))/0x9)+-parseInt(f(0x193))/0xa+parseInt(f(0x191))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xddaab));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x18d)]()[h(0x188)](h(0x184))[h(0x18d)]()[h(0x180)](a45a)[h(0x188)](h(0x184));});a45a();import{Command}from'./command.js';function a45c(){const l=['use',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','inventory','6EOxVzX','You\x20don\x27t\x20have\x20the\x20','name','apply','You\x20can\x27t\x20use\x20the\x20','function','\x27s\x20inventory.','logger','\x20to\x20use.','12423GAcAjP','4908855KoPxsL','constructor','hasItem','\x20attempted\x20to\x20use\x20','UseCommand:\x20','(((.+)+)+)+$','\x20not\x20retrieved\x20from\x20','execute','9qXJNFe','search','\x20used\x20','6342855bQdHkA','172uEsVxq','304oFUtzX','toString','Use\x20an\x20item.','actor','1036008UHaRjq','47329931JVycmp','verb','8588290SWOren','4429hKKlng','write'];a45c=function(){return l;};return a45c();}function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x176;let f=c[d];return f;},a45d(a,b);}export class UseCommand extends Command{static [a45i(0x192)]='use';static ['description']=a45i(0x18e);[a45i(0x186)](a){const j=a45i;return this[j(0x196)](a);}[a45i(0x196)](a){const k=a45i,b=a['join']('\x20')['toLowerCase']();if(!this[k(0x18f)][k(0x198)][k(0x181)](b))return this['logger'][k(0x195)](k(0x183)+this[k(0x18f)][k(0x177)]+k(0x182)+b+k(0x197)),k(0x176)+b+'\x20to\x20use.';const c=this[k(0x18f)][k(0x198)]['getItem'](b);if(!c)return this[k(0x17c)][k(0x195)](k(0x183)+b+k(0x185)+this[k(0x18f)][k(0x177)]+k(0x17b)),k(0x176)+b+k(0x17d);if(typeof c[k(0x196)]===k(0x17a)){const d=c[k(0x196)]();return this['logger'][k(0x195)](k(0x183)+this[k(0x18f)][k(0x177)]+k(0x189)+b+'.'),d;}else return this[k(0x17c)][k(0x195)](k(0x183)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),k(0x179)+b+'\x20in\x20this\x20way.';}}
1
+ const a45h=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a45d(a,b);}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x1e7))/0x1+parseInt(f(0x1ef))/0x2*(-parseInt(f(0x1f0))/0x3)+parseInt(f(0x1d7))/0x4*(parseInt(f(0x1f9))/0x5)+-parseInt(f(0x1f2))/0x6+parseInt(f(0x1da))/0x7*(parseInt(f(0x1e6))/0x8)+parseInt(f(0x1ee))/0x9+-parseInt(f(0x1eb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x4dd02));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(0x1e5)]()[g(0x1ed)](g(0x1d9))[g(0x1e5)]()[g(0x1ec)](a45a)[g(0x1ed)](g(0x1d9));});a45a();function a45c(){const k=['1078335RaEbde','301062ISPUtS','9FToOLM','use','2946852MXRqVy','\x27s\x20inventory.',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','logger','description','You\x20can\x27t\x20use\x20the\x20','actor','5punrLq','inventory','Use\x20an\x20item.','toLowerCase','getItem','2290876etASUm','\x20in\x20this\x20way.','(((.+)+)+)+$','803054nbyYAI','name','hasItem','\x20attempted\x20to\x20use\x20','verb','write','\x20not\x20retrieved\x20from\x20','\x20to\x20use.','You\x20don\x27t\x20have\x20the\x20','UseCommand:\x20','join','toString','24lZGvXQ','512309wotdYJ','function','execute','\x20doesn\x27t\x20have\x20a\x20use\x20method.','2875520vzISwA','constructor','search'];a45c=function(){return k;};return a45c();}import{Command}from'./command.js';export class UseCommand extends Command{static [a45h(0x1de)]=a45h(0x1f1);static [a45h(0x1f6)]=a45h(0x1d4);[a45h(0x1e9)](a){const i=a45h;return this[i(0x1f1)](a);}[a45h(0x1f1)](a){const j=a45h,b=a[j(0x1e4)]('\x20')[j(0x1d5)]();if(!this[j(0x1f8)][j(0x1d3)][j(0x1dc)](b))return this[j(0x1f5)]['write'](j(0x1e3)+this['actor'][j(0x1db)]+j(0x1dd)+b+j(0x1f4)),j(0x1e2)+b+j(0x1e1);const c=this['actor']['inventory'][j(0x1d6)](b);if(!c)return this[j(0x1f5)]['write']('UseCommand:\x20'+b+j(0x1e0)+this[j(0x1f8)][j(0x1db)]+j(0x1f3)),j(0x1e2)+b+j(0x1e1);if(typeof c[j(0x1f1)]===j(0x1e8)){const d=c['use']();return this[j(0x1f5)]['write'](j(0x1e3)+this[j(0x1f8)]['name']+'\x20used\x20'+b+'.'),d;}else return this[j(0x1f5)][j(0x1df)](j(0x1e3)+b+j(0x1ea)),j(0x1f7)+b+j(0x1d8);}}
@@ -1 +1 @@
1
- function a46c(){const l=['644478rXrRAN','368LWvbiL','createCommand','1863030xyACUU','129202xwPkVo','toString','4tJDufa','139360pfFQTr','getAllRegisteredCommands','apply','constructor','6ftnemm','864295wspEzK','305578inEnvZ','commandMap','(((.+)+)+)+$','15777bySAKh','11INZsOJ','search'];a46c=function(){return l;};return a46c();}const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x194))/0x1+parseInt(f(0x191))/0x2*(parseInt(f(0x198))/0x3)+parseInt(f(0x193))/0x4*(parseInt(f(0x199))/0x5)+-parseInt(f(0x18d))/0x6+parseInt(f(0x19a))/0x7+-parseInt(f(0x18e))/0x8*(parseInt(f(0x18a))/0x9)+-parseInt(f(0x190))/0xa*(parseInt(f(0x18b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x1b081));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x192)]()[h(0x18c)](h(0x19c))[h(0x192)]()[h(0x197)](a46a)[h(0x18c)](h(0x19c));});a46a();function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x18a;let f=c[d];return f;},a46d(a,b);}export class CommandFactory{static [a46i(0x19b)]={};static['registerCommand'](a,b){const j=a46i;this[j(0x19b)][a]=b;}static[a46i(0x18f)](a,b){const k=a46i,c=this[k(0x19b)][a];if(c)return new c(b);return null;}static[a46i(0x195)](){return this['commandMap'];}}
1
+ const a46h=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x1f1))/0x1+-parseInt(f(0x1e7))/0x2+parseInt(f(0x1f2))/0x3*(-parseInt(f(0x1e8))/0x4)+parseInt(f(0x1ea))/0x5*(-parseInt(f(0x1f3))/0x6)+-parseInt(f(0x1f5))/0x7*(-parseInt(f(0x1e6))/0x8)+-parseInt(f(0x1ec))/0x9*(parseInt(f(0x1ed))/0xa)+parseInt(f(0x1f0))/0xb*(parseInt(f(0x1f7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xd5b00));function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a46d(a,b);}function a46c(){const j=['(((.+)+)+)+$','createCommand','531223fonslr','317477EnKtid','6873qrHvhH','6kuDrke','constructor','476LidcYN','getAllRegisteredCommands','612bceNVS','commandMap','9488AKwHQy','2036938fbVblR','124vUMqVp','search','1549645TYOfMa','toString','207RWQTUm','254950GwDupf'];a46c=function(){return j;};return a46c();}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(0x1eb)]()[g(0x1e9)](g(0x1ee))['toString']()[g(0x1f4)](a46a)['search'](g(0x1ee));});a46a();export class CommandFactory{static [a46h(0x1f8)]={};static['registerCommand'](a,b){this['commandMap'][a]=b;}static[a46h(0x1ef)](a,b){const i=a46h,c=this[i(0x1f8)][a];if(c)return new c(b);return null;}static[a46h(0x1f6)](){return this['commandMap'];}}
@@ -1 +1 @@
1
- const a47l=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x1ba))/0x1*(-parseInt(f(0x1b8))/0x2)+-parseInt(f(0x1aa))/0x3+-parseInt(f(0x1c9))/0x4+parseInt(f(0x1bd))/0x5*(parseInt(f(0x1c7))/0x6)+parseInt(f(0x1c1))/0x7+parseInt(f(0x1cd))/0x8*(parseInt(f(0x1b9))/0x9)+-parseInt(f(0x1c6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x8535d));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1c2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x1ca)]()[h(0x1bb)](h(0x1c8))[h(0x1ca)]()[h(0x1b6)](a47a)[h(0x1bb)](h(0x1c8));});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a47c(){const o=['25TxURsO','items','description','createPuzzle','5839680fsqDeH','apply','toUpperCase','helmet','isStartRoom','1561100pJuGST','673734SbUOpF','(((.+)+)+)+$','1423544CkVEdX','toString','roomType','rifle','9608kJCxYd','2302575FTNTHr','sword','key','createItem','INSIDE','content','setPuzzle','puzzle','rewardItem','inventory','name','boots','constructor','convertToRoomConfig','3872GvKFbf','5409sPtuhK','151pJUHer','search','forEach'];a47c=function(){return o;};return a47c();}import{RoomType}from'../types/enums.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1aa;let f=c[d];return f;},a47d(a,b);}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(0x1b7)](a),c=new Room(b);if(a[i(0x1be)]){const d=new Inventory();a[i(0x1be)][i(0x1bc)](e=>{const j=i;d['addItem'](this[j(0x1ad)](e));}),c[i(0x1b3)]=d;}return a['puzzle']&&c[i(0x1b0)](this[i(0x1c0)](a[i(0x1b1)])),c;}['createItem'](a){const k=a47d;switch(a['type']){case k(0x1ac):return new Key(a[k(0x1b4)],a[k(0x1bf)]);case'book':return new Book(a['name'],a[k(0x1bf)],a[k(0x1af)]);case k(0x1ab):return new Sword(a[k(0x1b4)],a[k(0x1bf)]);case k(0x1cc):return new Rifle(a['name'],a[k(0x1bf)]);case k(0x1c4):return new Helmet(a['name'],a[k(0x1bf)]);case'bodyarmor':return new BodyArmor(a[k(0x1b4)],a[k(0x1bf)]);case'legarmor':return new LegArmor(a[k(0x1b4)],a[k(0x1bf)]);case k(0x1b5):return new Boots(a[k(0x1b4)],a[k(0x1bf)]);case'gloves':return new Gloves(a[k(0x1b4)],a[k(0x1bf)]);case'gauntlets':return new Gauntlets(a[k(0x1b4)],a[k(0x1bf)]);default:return new BasicItem(a['name'],a[k(0x1bf)]);}}[a47l(0x1c0)](a){const m=a47l,b=this[m(0x1ad)](a[m(0x1b2)]);return new Puzzle({...a,'rewardItem':b});}[a47l(0x1b7)](a){const n=a47l,b=a[n(0x1cb)]&&RoomType[a['roomType']['toUpperCase']()]?RoomType[a['roomType'][n(0x1c3)]()]:RoomType[n(0x1ae)];return{'name':a['name'],'description':a['description'],'isStartRoom':a[n(0x1c5)],'roomType':b};}}
1
+ const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x1ac))/0x1+parseInt(f(0x1bb))/0x2+-parseInt(f(0x1b7))/0x3*(-parseInt(f(0x1bf))/0x4)+-parseInt(f(0x1b1))/0x5*(parseInt(f(0x1ae))/0x6)+-parseInt(f(0x1a5))/0x7+-parseInt(f(0x1b0))/0x8*(parseInt(f(0x1a7))/0x9)+parseInt(f(0x1aa))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x58fa7));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x1c2)]()[h(0x1c8)](h(0x1b6))['toString']()[h(0x1c6)](a47a)[h(0x1c8)]('(((.+)+)+)+$');});function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a47d(a,b);}a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0x1b3)](a){const j=a47i,b=this[j(0x1b4)](a),c=new Room(b);if(a[j(0x1cc)]){const d=new Inventory();a[j(0x1cc)][j(0x1af)](e=>{const k=j;d[k(0x1a8)](this[k(0x1a6)](e));}),c[j(0x1bd)]=d;}return a[j(0x1c0)]&&c[j(0x1ab)](this[j(0x1a9)](a['puzzle'])),c;}[a47i(0x1a6)](a){const l=a47i;switch(a[l(0x1ad)]){case l(0x1b5):return new Key(a[l(0x1c1)],a[l(0x1c5)]);case l(0x1b2):return new Book(a[l(0x1c1)],a[l(0x1c5)],a['content']);case'sword':return new Sword(a[l(0x1c1)],a[l(0x1c5)]);case l(0x1ca):return new Rifle(a[l(0x1c1)],a[l(0x1c5)]);case l(0x1bc):return new Helmet(a[l(0x1c1)],a[l(0x1c5)]);case'bodyarmor':return new BodyArmor(a[l(0x1c1)],a['description']);case l(0x1b9):return new LegArmor(a[l(0x1c1)],a[l(0x1c5)]);case'boots':return new Boots(a[l(0x1c1)],a[l(0x1c5)]);case l(0x1cb):return new Gloves(a['name'],a[l(0x1c5)]);case l(0x1be):return new Gauntlets(a['name'],a[l(0x1c5)]);default:return new BasicItem(a[l(0x1c1)],a['description']);}}[a47i(0x1a9)](a){const m=a47i,b=this[m(0x1a6)](a[m(0x1c9)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0x1b4)](a){const n=a47i,b=a[n(0x1c4)]&&RoomType[a[n(0x1c4)][n(0x1ba)]()]?RoomType[a[n(0x1c4)][n(0x1ba)]()]:RoomType[n(0x1c7)];return{'name':a[n(0x1c1)],'description':a[n(0x1c5)],'isStartRoom':a[n(0x1b8)],'roomType':b};}}function a47c(){const o=['gauntlets','41348zDWgYH','puzzle','name','toString','apply','roomType','description','constructor','INSIDE','search','rewardItem','rifle','gloves','items','4673249AqPkJP','createItem','36yVoHSc','addItem','createPuzzle','11647270LgNhVf','setPuzzle','321732zbUvdD','type','78URdGYr','forEach','456472LCWWwb','131995WYJFLP','book','createRoom','convertToRoomConfig','key','(((.+)+)+)+$','120hAhTGF','isStartRoom','legarmor','toUpperCase','694020vAUIzH','helmet','inventory'];a47c=function(){return o;};return a47c();}
@@ -1 +1 @@
1
- const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0x17f))/0x1+parseInt(h(0x15a))/0x2*(-parseInt(h(0x15d))/0x3)+parseInt(h(0x15c))/0x4+parseInt(h(0x162))/0x5+-parseInt(h(0x172))/0x6+-parseInt(h(0x15f))/0x7*(parseInt(h(0x155))/0x8)+parseInt(h(0x16a))/0x9*(parseInt(h(0x14a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xde7d6));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a['toString']()[j(0x169)](j(0x167))[j(0x16b)]()[j(0x17b)](a48a)[j(0x169)](j(0x167));});a48a();function a48c(){const s=['1138045rrqWfd','7558410hAwQyu','slice','solve','toLowerCase','help','rooms','determineStartRoom','quit','say','equip','-\x20quit:\x20Exit\x20the\x20game.\x0a','696sBQUkl','handleInput','unlock','getInstance','scene','86RMnhvD','registerCommand','6474804CdwoOb','13482TGgTXV','unequip','40005XWTMwi','look','split','5906045sbBFJK','registerCommands','getWelcomeMessage','Welcome,\x20','currentRoom','(((.+)+)+)+$','trim','search','18YOBhMC','toString','getRooms','player','use','instance','maka','-\x20clear:\x20Clear\x20the\x20screen.\x0a','9430692jPHYir','apply','getAllRegisteredCommands','hasOwnProperty','clear','lock','Available\x20Commands:\x0a','take','execute','constructor','drop','createCommand','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit'];a48c=function(){return s;};return a48c();}import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x14a;let f=c[d];return f;},a48d(a,b);}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(0x16f)];['scene'];['player'];[a48k(0x166)];[a48k(0x14f)];constructor(a,b){const l=a48k;this[l(0x16d)]=a,this[l(0x159)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x159)]['initialize'](),this[l(0x16d)]['currentLocation']=this[l(0x150)](),this[l(0x163)]();}[a48k(0x163)](){const m=a48k;CommandFactory[m(0x15b)](m(0x160),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory['registerCommand'](m(0x179),TakeCommand),CommandFactory[m(0x15b)](m(0x16e),UseCommand),CommandFactory['registerCommand'](m(0x153),EquipCommand),CommandFactory[m(0x15b)](m(0x15e),UnequipCommand),CommandFactory[m(0x15b)](m(0x14c),SolveCommand),CommandFactory[m(0x15b)](m(0x17c),DropCommand),CommandFactory[m(0x15b)](m(0x157),UnlockCommand),CommandFactory[m(0x15b)](m(0x177),LockCommand),CommandFactory[m(0x15b)](m(0x169),SearchCommand),CommandFactory[m(0x15b)](m(0x152),SayCommand);}[a48k(0x150)](){const n=a48k;return this[n(0x159)][n(0x150)]();}[a48k(0x164)](){const o=a48k;return o(0x165)+this[o(0x16d)]['name'];}static[a48k(0x158)](a,b){const p=a48k;return!Game[p(0x16f)]&&(Game[p(0x16f)]=new Game(a,b)),Game[p(0x16f)];}[a48k(0x156)](a){const q=a48k,b=a[q(0x168)]()[q(0x161)]('\x20'),c=b[0x0][q(0x14d)](),d=b[q(0x14b)](0x1);if(c===q(0x151))return null;if(c===q(0x170))return q(0x17e);if(c===q(0x14e))return this['getHelpMessage']();if(c===q(0x176))return'';const e={'actor':this[q(0x16d)],'rooms':this[q(0x159)][q(0x16c)](),'scene':this[q(0x159)]},f=CommandFactory[q(0x17d)](c,e);if(f){const g=f[q(0x17a)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}['getHelpMessage'](){const r=a48k,a=CommandFactory[r(0x174)]();let b=r(0x178);for(const c in a){if(a[r(0x175)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=r(0x171),b+=r(0x154),b;}}
1
+ const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0x132))/0x1+-parseInt(h(0x13e))/0x2*(-parseInt(h(0x143))/0x3)+parseInt(h(0x126))/0x4+-parseInt(h(0x130))/0x5+-parseInt(h(0x115))/0x6*(-parseInt(h(0x11b))/0x7)+-parseInt(h(0x117))/0x8*(parseInt(h(0x121))/0x9)+parseInt(h(0x124))/0xa*(parseInt(h(0x12f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x45941));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x128)]()['search'](j(0x134))['toString']()['constructor'](a48a)[j(0x13c)]('(((.+)+)+)+$');});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x112;let f=c[d];return f;},a48d(a,b);}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';function a48c(){const s=['execute','unlock','handleInput','split','hasOwnProperty','21923gPccyY','907340GITilD','currentLocation','300396PtUXPQ','instance','(((.+)+)+)+$','look','name','help','use','getDescription','equip','getHelpMessage','search','getInstance','518HtnlnF','-\x20clear:\x20Clear\x20the\x20screen.\x0a','rooms','determineStartRoom','player','24WgxkFz','lock','scene','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','solve','drop','85584kMSnrj','getRooms','40aDkQxh','maka','toLowerCase','unequip','133gIqNEu','getAllRegisteredCommands','-\x20quit:\x20Exit\x20the\x20game.\x0a','apply','registerCommands','registerCommand','469620WJHeBf','clear','take','2650TjoQIg','say','906096uYYGEY','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','toString','createCommand'];a48c=function(){return s;};return a48c();}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0x133)];[a48k(0x145)];[a48k(0x142)];['currentRoom'];[a48k(0x140)];constructor(a,b){const l=a48k;this[l(0x142)]=a,this[l(0x145)]=new Scene({'player':a,'roomConfiguration':b}),this['scene']['initialize'](),this[l(0x142)][l(0x131)]=this[l(0x141)](),this[l(0x11f)]();}[a48k(0x11f)](){const m=a48k;CommandFactory[m(0x120)](m(0x135),LookCommand),CommandFactory[m(0x120)]('go',GoCommand),CommandFactory[m(0x120)](m(0x123),TakeCommand),CommandFactory[m(0x120)](m(0x138),UseCommand),CommandFactory[m(0x120)](m(0x13a),EquipCommand),CommandFactory[m(0x120)](m(0x11a),UnequipCommand),CommandFactory[m(0x120)](m(0x113),SolveCommand),CommandFactory[m(0x120)](m(0x114),DropCommand),CommandFactory[m(0x120)](m(0x12b),UnlockCommand),CommandFactory[m(0x120)](m(0x144),LockCommand),CommandFactory[m(0x120)](m(0x13c),SearchCommand),CommandFactory['registerCommand'](m(0x125),SayCommand);}[a48k(0x141)](){const n=a48k;return this[n(0x145)][n(0x141)]();}['getWelcomeMessage'](){const o=a48k;return'Welcome,\x20'+this['player'][o(0x136)];}static[a48k(0x13d)](a,b){const p=a48k;return!Game[p(0x133)]&&(Game['instance']=new Game(a,b)),Game[p(0x133)];}[a48k(0x12c)](a){const q=a48k,b=a['trim']()[q(0x12d)]('\x20'),c=b[0x0][q(0x119)](),d=b['slice'](0x1);if(c==='quit')return null;if(c===q(0x118))return q(0x112);if(c===q(0x137))return this[q(0x13b)]();if(c===q(0x122))return'';const e={'actor':this[q(0x142)],'rooms':this[q(0x145)][q(0x116)](),'scene':this[q(0x145)]},f=CommandFactory[q(0x129)](c,e);if(f){const g=f[q(0x12a)](d);return g;}return q(0x127)+c+'\x22.';}[a48k(0x13b)](){const r=a48k,a=CommandFactory[r(0x11c)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0x12e)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x139)]()+'\x0a';}}return b+=r(0x13f),b+=r(0x11d),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x160))/0x1*(parseInt(f(0x165))/0x2)+parseInt(f(0x168))/0x3+parseInt(f(0x15e))/0x4*(-parseInt(f(0x16a))/0x5)+-parseInt(f(0x15f))/0x6*(-parseInt(f(0x166))/0x7)+-parseInt(f(0x164))/0x8+-parseInt(f(0x161))/0x9*(-parseInt(f(0x162))/0xa)+parseInt(f(0x15d))/0xb*(parseInt(f(0x167))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x56c51));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x15d;var f=c[d];return f;},a49d(a,b);}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a['toString']()['search'](g(0x169))['toString']()['constructor'](a49a)[g(0x163)]('(((.+)+)+)+$');});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a49c(){var h=['187HgyOhN','2061008vGQOrK','6EPUaqk','75jhOckI','207675mNHzjV','190qbPWgS','search','4328648lpstry','6482qJftCy','2820167QodiCs','466248SQgyCU','458979NPokkv','(((.+)+)+)+$','5KTsgtx'];a49c=function(){return h;};return a49c();}export*from'./scene.js';
1
+ (function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x183))/0x1*(-parseInt(f(0x188))/0x2)+-parseInt(f(0x189))/0x3*(-parseInt(f(0x181))/0x4)+parseInt(f(0x17b))/0x5*(-parseInt(f(0x180))/0x6)+-parseInt(f(0x182))/0x7*(parseInt(f(0x17e))/0x8)+-parseInt(f(0x187))/0x9*(-parseInt(f(0x17d))/0xa)+-parseInt(f(0x17a))/0xb+parseInt(f(0x17c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xbdad4));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x17a;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(0x18a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x17f)]()[h(0x185)](h(0x186))[h(0x17f)]()[h(0x184)](a49a)[h(0x185)](h(0x186));});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a49c(){var i=['2fkJeqL','34953xzHZGR','apply','6429027mCJwMp','5qwTBNt','31917288UAgPFz','1225140dnYuMS','294664pESBvv','toString','7680246TXMwal','328BqTgJe','287hHipZT','198673fvVlvc','constructor','search','(((.+)+)+)+$','54jTmpbD'];a49c=function(){return i;};return a49c();}export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0x19e))/0x1+parseInt(f(0x1b7))/0x2+-parseInt(f(0x1af))/0x3*(-parseInt(f(0x1b3))/0x4)+-parseInt(f(0x1ae))/0x5*(parseInt(f(0x1b0))/0x6)+-parseInt(f(0x1a3))/0x7+parseInt(f(0x1ab))/0x8+-parseInt(f(0x19f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xb7ff5));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x1b2)]()[h(0x1a5)](h(0x19d))['toString']()[h(0x1b4)](a50a)[h(0x1a5)](h(0x19d));});a50a();function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x199;var f=c[d];return f;},a50d(a,b);}import{Logger}from'../utilities/logger.js';function a50c(){var m=['6mgFotn','roomA','toString','190472rSaApx','constructor','isLockable','checkIfLockable','124688qhnKwh','Failed\x20to\x20unlock\x20door:\x20','write','apply','.\x20Used:\x20','isLocked','Door\x20unlocked:\x20','(((.+)+)+)+$','574120JchgIf','1147671Pofsei','.\x20Is\x20Locked:\x20','roomB','checkIfLocked','681114tKHrCN','getOtherSide','search','name','logger','\x20and\x20','To\x20','attemptUnlock','7095064zEaczN','Door\x20created\x20between\x20','unlockItemOrSolution','4152905cLSPSX','18ySUteX'];a50c=function(){return m;};return a50c();}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0x1b1)];[a50i(0x1a1)];[a50i(0x19b)];[a50i(0x1ad)];[a50i(0x1a6)];['logger'];['isLockable'];constructor(a){var j=a50i;super(),this[j(0x1b1)]=a['roomA'],this['roomB']=a[j(0x1a1)],this[j(0x19b)]=a[j(0x19b)]||![],this['unlockItemOrSolution']=a[j(0x1ad)],this[j(0x1a6)]=a[j(0x1a6)]?capitalCase(a[j(0x1a6)]):j(0x1a9)+a[j(0x1a1)][j(0x1a6)],this[j(0x1a7)]=Logger['getInstance'](),this[j(0x1b5)]=!!a[j(0x1ad)],this[j(0x1a7)][j(0x1b9)](j(0x1ac)+this[j(0x1b1)][j(0x1a6)]+j(0x1a8)+this[j(0x1a1)]['name']+j(0x1a0)+this['isLocked']);}[a50i(0x1a4)](a){var k=a50i;return this[k(0x1b1)]===a?this[k(0x1a1)]:this[k(0x1b1)];}[a50i(0x1aa)](a){var l=a50i;if(this[l(0x19b)]&&this[l(0x1ad)]&&this['unlockItemOrSolution']===a)return this[l(0x19b)]=![],this['logger']['write'](l(0x19c)+this['name']+l(0x19a)+a),!![];return this['logger'][l(0x1b9)](l(0x1b8)+this['name']+l(0x19a)+a),![];}[a50i(0x1a2)](){return this['isLocked'];}[a50i(0x1b6)](){return this['isLockable'];}}
1
+ function a50c(){var m=['3980TwTsec','write','93531bAUyaF','172OWqdKT','Door\x20created\x20between\x20','31437ZXSmFT','name','.\x20Is\x20Locked:\x20','2396376bqhwgY','(((.+)+)+)+$','To\x20','getOtherSide','5559037dpUHTu','roomA','568rSVapY','2500400pxefxZ','isLockable','116109dDkMGD','.\x20Used:\x20','roomB','isLocked','163414rjFiua','unlockItemOrSolution','checkIfLocked','getInstance','toString','logger','3ccTNyL','Failed\x20to\x20unlock\x20door:\x20'];a50c=function(){return m;};return a50c();}var a50h=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0xb6))/0x1*(parseInt(f(0xcd))/0x2)+parseInt(f(0xba))/0x3*(parseInt(f(0xbb))/0x4)+-parseInt(f(0xc7))/0x5+-parseInt(f(0xc0))/0x6+parseInt(f(0xc9))/0x7*(parseInt(f(0xc6))/0x8)+parseInt(f(0xbd))/0x9*(-parseInt(f(0xb8))/0xa)+parseInt(f(0xc4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xef08e));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(0xb4)]()['search']('(((.+)+)+)+$')[g(0xb4)]()['constructor'](a50a)['search'](g(0xc1));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0xb3;var f=c[d];return f;},a50d(a,b);}export class Door extends AbstractDoor{['roomA'];[a50h(0xcb)];[a50h(0xcc)];[a50h(0xce)];['name'];['logger'];[a50h(0xc8)];constructor(a){var i=a50h;super(),this[i(0xc5)]=a[i(0xc5)],this[i(0xcb)]=a[i(0xcb)],this['isLocked']=a[i(0xcc)]||![],this[i(0xce)]=a[i(0xce)],this['name']=a[i(0xbe)]?capitalCase(a[i(0xbe)]):i(0xc2)+a[i(0xcb)]['name'],this[i(0xb5)]=Logger[i(0xb3)](),this[i(0xc8)]=!!a[i(0xce)],this[i(0xb5)][i(0xb9)](i(0xbc)+this[i(0xc5)][i(0xbe)]+'\x20and\x20'+this['roomB'][i(0xbe)]+i(0xbf)+this['isLocked']);}[a50h(0xc3)](a){var j=a50h;return this['roomA']===a?this[j(0xcb)]:this['roomA'];}['attemptUnlock'](a){var k=a50h;if(this[k(0xcc)]&&this['unlockItemOrSolution']&&this[k(0xce)]===a)return this[k(0xcc)]=![],this['logger']['write']('Door\x20unlocked:\x20'+this['name']+k(0xca)+a),!![];return this[k(0xb5)][k(0xb9)](k(0xb7)+this[k(0xbe)]+k(0xca)+a),![];}[a50h(0xcf)](){var l=a50h;return this[l(0xcc)];}['checkIfLockable'](){return this['isLockable'];}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x120))/0x1*(parseInt(f(0x13f))/0x2)+-parseInt(f(0x12b))/0x3+parseInt(f(0x140))/0x4+-parseInt(f(0x136))/0x5+parseInt(f(0x126))/0x6+parseInt(f(0x13e))/0x7*(-parseInt(f(0x148))/0x8)+parseInt(f(0x135))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x67302));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(0x139)]()[g(0x13c)](g(0x12a))[g(0x139)]()[g(0x138)](a51a)[g(0x13c)]('(((.+)+)+)+$');});a51a();import{capitalCase}from'change-case';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x11f;let f=c[d];return f;},a51d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];['logger'];constructor(){const h=a51d;super(),this[h(0x123)]=new Map(),this[h(0x124)]=Logger[h(0x133)]();}[a51i(0x146)](a){const j=a51i;this[j(0x123)]['set'](a['name'][j(0x125)](),a),this['logger']['write'](j(0x13b)+a[j(0x129)]+j(0x121));}[a51i(0x132)](a){const k=a51i,b=this[k(0x130)](a);if(b)return this[k(0x123)][k(0x12d)](a[k(0x125)]()),this[k(0x124)]['write']('Removed\x20item:\x20'+a+'\x20from\x20inventory.'),b;return this['logger']['write'](k(0x122)+a+k(0x127)),null;}['hasItem'](a){const l=a51i,b=this[l(0x123)][l(0x13d)](a[l(0x125)]()),c=[...this[l(0x123)][l(0x11f)]()];return this['logger']['write'](l(0x131)+a+l(0x13a)+c['join'](',\x20')+l(0x12e)+b+'.'),b;}[a51i(0x130)](a){const m=a51i,b=this[m(0x123)][m(0x128)](a[m(0x125)]())||null;return b?this[m(0x124)][m(0x147)](m(0x141)+a+'.'):this[m(0x124)][m(0x147)](m(0x134)+a+'.\x20Item\x20not\x20found.'),b;}[a51i(0x137)](){const n=a51i,a=[...this['items'][n(0x11f)]()],b=a[n(0x12f)](c=>capitalCase(c));return this['logger']['write'](n(0x12c)+b[n(0x144)](',\x20')+'.'),a;}[a51i(0x145)](){const o=a51i;let a=0x0;for(const b of this[o(0x123)]['values']()){a+=b[o(0x142)];}return a;}[a51i(0x143)](){const p=a51i;return[...this[p(0x123)]['values']()];}}function a51c(){const q=['write','80hzWfxA','keys','5471slbqFA','\x20to\x20inventory.','Failed\x20to\x20remove\x20item:\x20','items','logger','toLowerCase','2967630qyQddc','.\x20Item\x20not\x20found.','get','name','(((.+)+)+)+$','281919KcSMac','Listed\x20items\x20in\x20inventory:\x20','delete','.\x20Exists:\x20','map','getItem','Checked\x20for\x20item:\x20','removeItem','getInstance','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','904743PKODwm','1918555ufFWGr','listItems','constructor','toString','\x20in\x20','Added\x20item:\x20','search','has','188153mWXFBT','164UiDyEv','501512miajHr','Retrieved\x20details\x20for\x20item:\x20','weight','getAllItems','join','getWeight','addItem'];a51c=function(){return q;};return a51c();}
1
+ const a51h=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1c7;let f=c[d];return f;},a51d(a,b);}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x1d4))/0x1+parseInt(f(0x1e1))/0x2*(parseInt(f(0x1d6))/0x3)+parseInt(f(0x1d8))/0x4+-parseInt(f(0x1da))/0x5*(-parseInt(f(0x1e7))/0x6)+-parseInt(f(0x1d5))/0x7*(-parseInt(f(0x1e8))/0x8)+-parseInt(f(0x1ee))/0x9+parseInt(f(0x1e9))/0xa*(parseInt(f(0x1e5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x9df14));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(0x1f1)]()[g(0x1de)](g(0x1db))[g(0x1f1)]()[g(0x1ea)](a51a)['search'](g(0x1db));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a51c(){const q=['.\x20Item\x20not\x20found.','getInstance','values','set','addItem','.\x20Exists:\x20','map','624820nChUWe','1446389uogBFr','2958jMGLBg','join','1499824vQVLAg','write','19885ZROYZq','(((.+)+)+)+$','toLowerCase','getWeight','search','\x20from\x20inventory.','get','1478qKRZUA','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','Checked\x20for\x20item:\x20','Removed\x20item:\x20','4851zawEvp','logger','972Jaaibj','16bfQZve','270QhBZsf','constructor','listItems','items','Failed\x20to\x20remove\x20item:\x20','8111637UtkUQI','Listed\x20items\x20in\x20inventory:\x20','delete','toString','hasItem','removeItem','keys','has','name','getAllItems'];a51c=function(){return q;};return a51c();}export class Inventory extends AbstractInventory{['items'];[a51h(0x1e6)];constructor(){const i=a51h;super(),this[i(0x1ec)]=new Map(),this['logger']=Logger[i(0x1ce)]();}[a51h(0x1d1)](a){const j=a51h;this[j(0x1ec)][j(0x1d0)](a[j(0x1cb)][j(0x1dc)](),a),this[j(0x1e6)][j(0x1d9)]('Added\x20item:\x20'+a['name']+'\x20to\x20inventory.');}[a51h(0x1c8)](a){const k=a51h,b=this['getItem'](a);if(b)return this['items'][k(0x1f0)](a[k(0x1dc)]()),this['logger'][k(0x1d9)](k(0x1e4)+a+k(0x1df)),b;return this['logger'][k(0x1d9)](k(0x1ed)+a+k(0x1cd)),null;}[a51h(0x1c7)](a){const l=a51h,b=this[l(0x1ec)][l(0x1ca)](a[l(0x1dc)]()),c=[...this[l(0x1ec)][l(0x1c9)]()];return this[l(0x1e6)]['write'](l(0x1e3)+a+'\x20in\x20'+c[l(0x1d7)](',\x20')+l(0x1d2)+b+'.'),b;}['getItem'](a){const m=a51h,b=this[m(0x1ec)][m(0x1e0)](a[m(0x1dc)]())||null;return b?this[m(0x1e6)][m(0x1d9)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this['logger'][m(0x1d9)](m(0x1e2)+a+m(0x1cd)),b;}[a51h(0x1eb)](){const n=a51h,a=[...this[n(0x1ec)][n(0x1c9)]()],b=a[n(0x1d3)](c=>capitalCase(c));return this[n(0x1e6)]['write'](n(0x1ef)+b['join'](',\x20')+'.'),a;}[a51h(0x1dd)](){const o=a51h;let a=0x0;for(const b of this['items'][o(0x1cf)]()){a+=b['weight'];}return a;}[a51h(0x1cc)](){const p=a51h;return[...this[p(0x1ec)]['values']()];}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xbf))/0x1*(-parseInt(f(0xca))/0x2)+parseInt(f(0xb4))/0x3*(parseInt(f(0xbd))/0x4)+-parseInt(f(0xd0))/0x5*(-parseInt(f(0xb6))/0x6)+-parseInt(f(0xcb))/0x7+parseInt(f(0xbc))/0x8*(-parseInt(f(0xb7))/0x9)+parseInt(f(0xc7))/0xa*(parseInt(f(0xb9))/0xb)+-parseInt(f(0xcf))/0xc*(parseInt(f(0xc1))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x29d2f));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xcc)]()[h(0xc4)](h(0xce))['toString']()[h(0xc8)](a52a)['search'](h(0xce));});a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a52c(){var l=['weight','use','200LQcgEp','4iHPihC','rating','84367Sunsps','description','1937BIEiST','name','You\x20use\x20the\x20','search','category','apply','1084370nGjAje','constructor','uuid','8sALlUS','523439ZAnJIE','toString','texture','(((.+)+)+)+$','42132HohZzc','30YcXtyF','349881EQXyrJ','size','272520ywgKhE','23697mhTmRJ','color','11pODvCu'];a52c=function(){return l;};return a52c();}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xb4;var f=c[d];return f;},a52d(a,b);}export class Item extends AbstractItem{[a52i(0xc9)];[a52i(0xc2)];[a52i(0xc0)];[a52i(0xb5)];[a52i(0xc5)];['shape'];[a52i(0xb8)];[a52i(0xcd)];[a52i(0xbe)];[a52i(0xba)];constructor(a){var j=a52i;super(),this[j(0xc2)]=a[j(0xc2)],this[j(0xc0)]=a[j(0xc0)],this[j(0xb5)]=a[j(0xb5)],this['category']=a[j(0xc5)],this['shape']=a['shape'],this['color']=a['color'],this[j(0xcd)]=a[j(0xcd)],this[j(0xbe)]=a[j(0xbe)],this[j(0xba)]=a[j(0xba)],this[j(0xc9)]=a52e();}[a52i(0xbb)](){var k=a52i;return k(0xc3)+this[k(0xc2)]+'.\x20Nothing\x20special\x20happens.';}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xbf))/0x1+parseInt(f(0xbd))/0x2*(-parseInt(f(0xd1))/0x3)+-parseInt(f(0xd3))/0x4*(parseInt(f(0xce))/0x5)+-parseInt(f(0xb9))/0x6*(-parseInt(f(0xcb))/0x7)+parseInt(f(0xba))/0x8+-parseInt(f(0xc4))/0x9+parseInt(f(0xc0))/0xa*(parseInt(f(0xc1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x4ecbe));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xcd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xc9)]()[h(0xc3)]('(((.+)+)+)+$')[h(0xc9)]()[h(0xcc)](a52a)['search'](h(0xbb));});a52a();import{v4 as a52e}from'uuid';function a52c(){var l=['1441sXODlU','color','search','854010koLBCu','texture','rating','size','.\x20Nothing\x20special\x20happens.','toString','uuid','211379hLVeUf','constructor','apply','517745rluCRw','name','shape','51951kUGsQL','You\x20use\x20the\x20','16SfuxAN','use','weight','30cVcADl','4082000XJbzGn','(((.+)+)+)+$','description','24zJvpaQ','category','119418VUyVBg','19770SYWInJ'];a52c=function(){return l;};return a52c();}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xb7;var f=c[d];return f;},a52d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0xca)];[a52i(0xcf)];['description'];[a52i(0xc7)];[a52i(0xbe)];[a52i(0xd0)];[a52i(0xc2)];['texture'];['rating'];['weight'];constructor(a){var j=a52i;super(),this[j(0xcf)]=a[j(0xcf)],this[j(0xbc)]=a[j(0xbc)],this['size']=a[j(0xc7)],this[j(0xbe)]=a[j(0xbe)],this[j(0xd0)]=a['shape'],this[j(0xc2)]=a[j(0xc2)],this[j(0xc5)]=a[j(0xc5)],this[j(0xc6)]=a['rating'],this[j(0xb8)]=a['weight'],this[j(0xca)]=a52e();}[a52i(0xb7)](){var k=a52i;return k(0xd2)+this[k(0xcf)]+k(0xc8);}}
@@ -1 +1 @@
1
- function a53c(){const o=['308092dRzfdG','rooms','22104suBtHZ','5114560UjcnWm','6iLKTDG','scene','_name','moveTo','length','search','speak','constructor','name','apply','245940IrILoe','floor','autonomousMove','2781198ZgYJub','(((.+)+)+)+$','_dialogue','189RRZcgb','81hZzfcT','random','toString','7717040qrqgpQ','777900qIYyiJ'];a53c=function(){return o;};return a53c();}function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x9d;let f=c[d];return f;},a53d(a,b);}const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0xa4))/0x1+parseInt(f(0xa6))/0x2*(-parseInt(f(0x9e))/0x3)+-parseInt(f(0xa3))/0x4+parseInt(f(0xa2))/0x5+-parseInt(f(0xa8))/0x6*(-parseInt(f(0xb5))/0x7)+-parseInt(f(0xa7))/0x8+parseInt(f(0x9f))/0x9*(parseInt(f(0xb2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xe5839));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0xa1)]()[h(0xad)](h(0xb6))[h(0xa1)]()[h(0xaf)](a53a)[h(0xad)](h(0xb6));});a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0xaa)];[a53i(0x9d)];[a53i(0xa5)];[a53i(0xa9)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0xaa)]=a,this[j(0x9d)]=b,this[j(0xa5)]=c;}get[a53i(0xb0)](){const k=a53i;return this[k(0xaa)];}[a53i(0xae)](){const l=a53i;return this['_dialogue'][Math[l(0xb3)](Math[l(0xa0)]()*this[l(0x9d)]['length'])];}[a53i(0xb4)](a){const m=a53i,b=a[Math['floor'](Math['random']()*a[m(0xac)])];this[m(0xab)](b['name']);}[a53i(0xab)](a){const n=a53i,b={'actor':this,'rooms':this[n(0xa5)],'scene':this['scene']},c=new GoCommand(b);c['execute']([a]);}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0xdb))/0x1+-parseInt(f(0xe5))/0x2+parseInt(f(0xe0))/0x3+parseInt(f(0xd0))/0x4+-parseInt(f(0xdd))/0x5*(-parseInt(f(0xd5))/0x6)+-parseInt(f(0xd8))/0x7+-parseInt(f(0xcf))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x411a2));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0xd3)]()[h(0xdf)](h(0xe1))['toString']()[h(0xd4)](a53a)[h(0xdf)](h(0xe1));});a53a();import{Player}from'./player.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xcf;let f=c[d];return f;},a53d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0xdc)];['_dialogue'];[a53i(0xda)];[a53i(0xe4)];constructor(a,b,c,d){const j=a53i;super(d),this['_name']=a,this['_dialogue']=b,this[j(0xda)]=c;}get[a53i(0xd6)](){return this['_name'];}['speak'](){const k=a53i;return this[k(0xd9)][Math[k(0xd1)](Math[k(0xde)]()*this['_dialogue'][k(0xe2)])];}[a53i(0xd7)](a){const l=a53i,b=a[Math['floor'](Math[l(0xde)]()*a[l(0xe2)])];this['moveTo'](b[l(0xd6)]);}[a53i(0xe3)](a){const m=a53i,b={'actor':this,'rooms':this['rooms'],'scene':this[m(0xe4)]},c=new GoCommand(b);c['execute']([a]);}}function a53c(){const n=['length','moveTo','scene','961162jFcUMs','806688nmgsAx','1757660bOyLXF','floor','apply','toString','constructor','30FVKpBr','name','autonomousMove','123648aDiKij','_dialogue','rooms','177688JzAxha','_name','151465mcGiqu','random','search','291513NrKaqT','(((.+)+)+)+$'];a53c=function(){return n;};return a53c();}
@@ -1 +1 @@
1
- const a54h=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x1e7))/0x1*(parseInt(f(0x207))/0x2)+parseInt(f(0x21d))/0x3+parseInt(f(0x1fc))/0x4*(parseInt(f(0x1cf))/0x5)+-parseInt(f(0x214))/0x6+-parseInt(f(0x20d))/0x7*(parseInt(f(0x210))/0x8)+parseInt(f(0x1db))/0x9*(-parseInt(f(0x1d3))/0xa)+parseInt(f(0x200))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xd5ce5));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(0x219)]()[g(0x221)](g(0x1d1))[g(0x219)]()[g(0x213)](a54a)['search'](g(0x1d1));});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1c6;let f=c[d];return f;},a54d(a,b);}function a54c(){const C=['addInventory','unequipBySlot','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','4951tLqyRt','values','currentLocation','Weapon','arm\x20armor','bind','Added\x20','Boots','logger','You\x20equipped\x20','Nexus','unequip','includes','addItem','removeItem','currentWeight','A\x20featureless\x20room','\x20slot.','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','legarmor','speak','4efJMlG','bodyarmor','weight','maxCarryingWeight','14439029ngytPH','legs','Invalid\x20category\x20or\x20slot:\x20','shield','leftHand','armarmor','weapon','532WIeWYu','torso','log','leg\x20armor','determineEquipmentSlot','_currentLocation','8262401WGikQT','ArmArmor','arms','8IDJSVq','equip','startLocation','constructor','10007058vepDJR','boots','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','You\x20can\x27t\x20equip\x20','_equipment','toString','\x20in\x20your\x20inventory.','canEquip','inventoryItems','2996037CDCUcs','gloves','hat','playerName','search','hasItem','removeInventory','off','name','\x20is\x20now\x20listening\x20in\x20room\x20','getInstance','equipment','BodyArmor','leaveRoom','category','_maxCarryingWeight','_playerName','_inventory','6997965enGEFU','Removed\x20','(((.+)+)+)+$','LegArmor','10XSzJRl','enterRoom','\x20to\x20player\x27s\x20inventory.','You\x20unequipped\x20','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','Helmet','toLowerCase','\x20from\x20player\x27s\x20inventory.','11735478zlwfnl','write','body\x20armor','Shield','feet','hear','Max\x20carrying\x20weight\x20must\x20be\x20positive.','head','rightHand'];a54c=function(){return C;};return a54c();}import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54h(0x1cd)];[a54h(0x20c)];['_inventory'];['_equipment'];[a54h(0x1cc)]=0x32;[a54h(0x1ef)];constructor(a){const i=a54h;super(),this[i(0x1cd)]=a[i(0x220)],this[i(0x20c)]=a[i(0x212)]||new Room({'name':i(0x1f1),'description':i(0x1f7)}),this[i(0x1ce)]=new Inventory(),this['logger']=Logger[i(0x1c7)]();if(a?.[i(0x21c)])for(const b of a[i(0x21c)]){this['_inventory'][i(0x1f4)](b);}this['_equipment']=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const j=a54h;return this[j(0x1cd)];}get[a54h(0x1e9)](){const k=a54h;return this[k(0x20c)];}set['currentLocation'](a){const l=a54h;this[l(0x20c)]!==a&&(this[l(0x1ca)](),this[l(0x1d4)](a)),this[l(0x20c)]=a;}get['inventory'](){const m=a54h;return this[m(0x1ce)];}get[a54h(0x1c8)](){const n=a54h;return this[n(0x218)];}set[a54h(0x1c8)](a){const o=a54h;this[o(0x218)]=a;}get[a54h(0x1ff)](){const p=a54h;return this[p(0x1cc)];}set[a54h(0x1ff)](a){const q=a54h;a>0x0?this[q(0x1cc)]=a:console['error'](q(0x1e1));}get[a54h(0x1f6)](){const r=a54h;let a=this[r(0x1ce)]['getWeight']();for(const b in this['_equipment']){const c=this[r(0x218)][b];c&&(a+=c[r(0x1fe)]);}return a;}[a54h(0x1e4)](a){const s=a54h;if(this[s(0x1f6)]+a[s(0x1fe)]>this[s(0x1ff)]){this[s(0x1ef)]['write'](s(0x1e6));throw new Error(s(0x1d7));}this[s(0x1ce)][s(0x1f4)](a),this[s(0x1ef)]['write'](s(0x1ed)+a[s(0x225)]+s(0x1d5));}[a54h(0x223)](a){const t=a54h;if(this['_inventory'][t(0x1f5)](a[t(0x225)]))return this['logger'][t(0x1dc)](t(0x1d0)+a[t(0x225)]+t(0x1da)),!![];return this['logger'][t(0x1dc)]('Failed\x20to\x20remove\x20'+a[t(0x225)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a54h(0x211)](a){const u=a54h;if(!this[u(0x1ce)][u(0x222)](a[u(0x225)]))return'You\x20don\x27t\x20have\x20'+a[u(0x225)]+u(0x21a);if(!this[u(0x21b)](a))return u(0x217)+a[u(0x225)]+'.';const b=this[u(0x20b)](a['category']);if(!b)return a['name']+u(0x216);if(this[u(0x1c8)][b])return u(0x1f9)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[u(0x1c8)][b]=a,this[u(0x223)](a),u(0x1f0)+a[u(0x225)]+'.';}[a54h(0x1f2)](a){const v=a54h;let b=a;if(!this[v(0x1c8)][camelCase(b)]){b=this[v(0x20b)](a);if(!b)return v(0x202)+a+'.';}return this[v(0x1e5)](b);}['determineEquipmentSlot'](a){const w=a54h;switch(a['toLowerCase']()){case Category[w(0x1ea)][w(0x1d9)]():return w(0x1e3);case Category[w(0x1de)]['toLowerCase']():return w(0x204);case Category['Gloves'][w(0x1d9)]():return w(0x21e);case Category[w(0x1d8)]['toLowerCase']():case Category['Hat']['toLowerCase']():return w(0x1e2);case Category[w(0x1ee)][w(0x1d9)]():return w(0x1df);case Category[w(0x1d2)][w(0x1d9)]():return w(0x201);case Category[w(0x20e)][w(0x1d9)]():return w(0x20f);case Category[w(0x1c9)][w(0x1d9)]():return'torso';case w(0x206):return w(0x1e3);case w(0x203):return w(0x204);case'gloves':return w(0x21e);case'helmet':case w(0x21f):return w(0x1e2);case w(0x215):return w(0x1df);case w(0x20a):case w(0x1fa):return w(0x201);case w(0x1eb):case w(0x205):return w(0x20f);case w(0x1dd):case w(0x1fd):case w(0x208):return'torso';default:return null;}}[a54h(0x21b)](a){const x=a54h;return Object[x(0x1e8)](Category)[x(0x1f3)](a[x(0x1cb)]);}[a54h(0x1e5)](a){const y=a54h,b=this[y(0x1c8)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+y(0x1f8);return this['addInventory'](b),this[y(0x1c8)][a]=null,y(0x1d6)+b['name']+'.';}[a54h(0x1e0)](a,b){const z=a54h;a!==this&&this['logger'][z(0x209)](a['name']+'\x20says:\x20\x22'+b+'\x22');}[a54h(0x1d4)](a){const A=a54h;this['_currentLocation']=a,a['on'](A(0x1fb),this[A(0x1e0)]['bind'](this)),this[A(0x1ef)]['write'](this['name']+A(0x1c6)+a[A(0x225)]);}[a54h(0x1ca)](){const B=a54h;this[B(0x20c)]&&(this[B(0x20c)][B(0x224)](B(0x1fb),this[B(0x1e0)][B(0x1ec)](this)),this[B(0x1ef)][B(0x1dc)](this[B(0x225)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[B(0x20c)][B(0x225)]));}}
1
+ const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x143))/0x1*(parseInt(f(0x17e))/0x2)+-parseInt(f(0x198))/0x3+parseInt(f(0x189))/0x4*(parseInt(f(0x16f))/0x5)+parseInt(f(0x147))/0x6+parseInt(f(0x187))/0x7*(-parseInt(f(0x14b))/0x8)+-parseInt(f(0x16e))/0x9*(-parseInt(f(0x165))/0xa)+parseInt(f(0x14e))/0xb*(-parseInt(f(0x17f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xd8dc8));function a54c(){const D=['determineEquipmentSlot','(((.+)+)+)+$','634280UuAyZr','You\x20equipped\x20','_currentLocation','addItem','hear','\x20slot.','BodyArmor','bodyarmor','bind','81wUtXGC','65xrisBi','toLowerCase','body\x20armor','torso','error','Hat','hat','leaveRoom','hasItem','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','write','canEquip','playerName','_playerName','_inventory','12oQDlTU','10948596BDLCuf','Failed\x20to\x20remove\x20','Shield','\x20is\x20no\x20longer\x20listeng\x20in\x20','A\x20featureless\x20room','helmet','initialEquipment','head','21TRVajx','log','474340fBhzWk','You\x20can\x27t\x20equip\x20','gloves','.\x20You\x20must\x20unequip\x20it\x20first.','Max\x20carrying\x20weight\x20must\x20be\x20positive.','inventory','unequipBySlot','armarmor','maxCarryingWeight','leg\x20armor','Gloves','You\x20unequipped\x20','ArmArmor','_maxCarryingWeight','equipment','1831221gtFNOC','Removed\x20','shield','boots','inventoryItems','legs','Boots','speak','arms','87938KFcBbh','enterRoom','getInstance','Invalid\x20category\x20or\x20slot:\x20','10137150IugGoC','_equipment','weapon','equip','2683128PpEMaP','arm\x20armor','category','22wFmQFr','search','\x20to\x20player\x27s\x20inventory.','currentWeight','leftHand','You\x20don\x27t\x20have\x20','startLocation','apply','getWeight','feet','\x20in\x20your\x20inventory.','Weapon','addInventory','rightHand','logger','name','currentLocation','values','toString','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','removeInventory'];a54c=function(){return D;};return a54c();}function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x13d;let f=c[d];return f;},a54d(a,b);}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a['toString']()[h(0x14f)](h(0x164))[h(0x160)]()['constructor'](a54a)['search']('(((.+)+)+)+$');});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0x17c)];[a54i(0x167)];[a54i(0x17d)];[a54i(0x148)];['_maxCarryingWeight']=0x32;[a54i(0x15c)];constructor(a){const j=a54i;super(),this[j(0x17c)]=a[j(0x17b)],this[j(0x167)]=a[j(0x154)]||new Room({'name':'Nexus','description':j(0x183)}),this[j(0x17d)]=new Inventory(),this[j(0x15c)]=Logger[j(0x145)]();if(a?.['inventoryItems'])for(const b of a[j(0x13e)]){this[j(0x17d)][j(0x168)](b);}this[j(0x148)]=a?.[j(0x185)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a54i;return this[k(0x17c)];}get[a54i(0x15e)](){const l=a54i;return this[l(0x167)];}set[a54i(0x15e)](a){const m=a54i;this[m(0x167)]!==a&&(this[m(0x176)](),this[m(0x144)](a)),this['_currentLocation']=a;}get[a54i(0x18e)](){const n=a54i;return this[n(0x17d)];}get[a54i(0x197)](){const o=a54i;return this[o(0x148)];}set[a54i(0x197)](a){const p=a54i;this[p(0x148)]=a;}get[a54i(0x191)](){const q=a54i;return this[q(0x196)];}set[a54i(0x191)](a){const r=a54i;a>0x0?this['_maxCarryingWeight']=a:console[r(0x173)](r(0x18d));}get['currentWeight'](){const s=a54i;let a=this[s(0x17d)][s(0x156)]();for(const b in this[s(0x148)]){const c=this[s(0x148)][b];c&&(a+=c['weight']);}return a;}[a54i(0x15a)](a){const t=a54i;if(this[t(0x151)]+a['weight']>this['maxCarryingWeight']){this['logger'][t(0x179)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[t(0x17d)][t(0x168)](a),this['logger'][t(0x179)]('Added\x20'+a[t(0x15d)]+t(0x150));}[a54i(0x162)](a){const u=a54i;if(this[u(0x17d)]['removeItem'](a[u(0x15d)]))return this[u(0x15c)][u(0x179)](u(0x199)+a[u(0x15d)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[u(0x15c)][u(0x179)](u(0x180)+a['name']+'\x20from\x20player\x27s\x20inventory.'),![];}[a54i(0x14a)](a){const v=a54i;if(!this[v(0x17d)][v(0x177)](a['name']))return v(0x153)+a[v(0x15d)]+v(0x158);if(!this[v(0x17a)](a))return v(0x18a)+a[v(0x15d)]+'.';const b=this[v(0x163)](a[v(0x14d)]);if(!b)return a[v(0x15d)]+v(0x178);if(this[v(0x197)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+v(0x18c);return this[v(0x197)][b]=a,this[v(0x162)](a),v(0x166)+a['name']+'.';}['unequip'](a){const w=a54i;let b=a;if(!this[w(0x197)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return w(0x146)+a+'.';}return this[w(0x18f)](b);}[a54i(0x163)](a){const x=a54i;switch(a[x(0x170)]()){case Category[x(0x159)]['toLowerCase']():return'rightHand';case Category[x(0x181)]['toLowerCase']():return x(0x152);case Category[x(0x193)][x(0x170)]():return x(0x18b);case Category['Helmet'][x(0x170)]():case Category[x(0x174)][x(0x170)]():return x(0x186);case Category[x(0x140)][x(0x170)]():return x(0x157);case Category['LegArmor'][x(0x170)]():return x(0x13f);case Category[x(0x195)]['toLowerCase']():return x(0x142);case Category[x(0x16b)][x(0x170)]():return x(0x172);case x(0x149):return x(0x15b);case x(0x19a):return x(0x152);case x(0x18b):return x(0x18b);case x(0x184):case x(0x175):return x(0x186);case x(0x13d):return x(0x157);case x(0x192):case'legarmor':return'legs';case x(0x14c):case x(0x190):return x(0x142);case x(0x171):case x(0x16c):case x(0x172):return x(0x172);default:return null;}}[a54i(0x17a)](a){const y=a54i;return Object[y(0x15f)](Category)['includes'](a[y(0x14d)]);}[a54i(0x18f)](a){const z=a54i,b=this[z(0x197)][a];if(!b)return z(0x161)+a+z(0x16a);return this['addInventory'](b),this[z(0x197)][a]=null,z(0x194)+b[z(0x15d)]+'.';}[a54i(0x169)](a,b){const A=a54i;a!==this&&this['logger'][A(0x188)](a[A(0x15d)]+'\x20says:\x20\x22'+b+'\x22');}[a54i(0x144)](a){const B=a54i;this['_currentLocation']=a,a['on'](B(0x141),this[B(0x169)][B(0x16d)](this)),this['logger']['write'](this[B(0x15d)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[B(0x15d)]);}[a54i(0x176)](){const C=a54i;this['_currentLocation']&&(this[C(0x167)]['off'](C(0x141),this['hear'][C(0x16d)](this)),this[C(0x15c)][C(0x179)](this[C(0x15d)]+C(0x182)+this[C(0x167)][C(0x15d)]));}}
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x1a3))/0x1*(parseInt(f(0x1c0))/0x2)+parseInt(f(0x1b5))/0x3*(-parseInt(f(0x1ac))/0x4)+parseInt(f(0x1a5))/0x5*(parseInt(f(0x1a1))/0x6)+-parseInt(f(0x1af))/0x7+parseInt(f(0x1bb))/0x8+-parseInt(f(0x1a2))/0x9+parseInt(f(0x1b7))/0xa*(parseInt(f(0x1b8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x19ad6));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1b0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x1bf)]()[h(0x1b4)]('(((.+)+)+)+$')[h(0x1bf)]()[h(0x1ab)](a55a)[h(0x1b4)](h(0x1a8));});a55a();function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x19e;var f=c[d];return f;},a55d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55i(0x1b1)]=Logger[a55i(0x1b9)]();[a55i(0x1ae)]=![];[a55i(0x1b2)];[a55i(0x19e)];[a55i(0x1a0)];[a55i(0x1aa)];['successMessage'];[a55i(0x1a4)];constructor(a){var j=a55i;super(),this[j(0x1b2)]=a[j(0x1b2)],this['requiredPhrase']=a['requiredPhrase'],this[j(0x1a0)]=a['riddle'],this[j(0x1aa)]=a[j(0x1aa)],this[j(0x1c1)]=a['successMessage']||j(0x1a9),this[j(0x1a4)]=a[j(0x1a4)]||j(0x19f);}[a55i(0x1be)](a){var k=a55i;if(this['requiredItem'])return a[k(0x1ba)](this[k(0x1b2)]);return![];}['matchesRequiredPhrase'](a){var l=a55i;return this[l(0x19e)]===a;}[a55i(0x1ad)](a,b){var m=a55i;if(this['solved'])return this['logger']['write'](m(0x1b3)),{'success':![],'message':m(0x1bd)};return this['hasRequiredItem'](b)||this[m(0x1a6)](a)?(this['solved']=!![],this['logger'][m(0x1a7)](m(0x1b6)),{'success':!![],'message':this['successMessage']}):(this[m(0x1b1)]['write'](m(0x1bc)),{'success':![],'message':this[m(0x1a4)]});}}function a55c(){var n=['Puzzle:\x20Correct\x20solution\x20provided.','10rnSwTa','2041952TKmFpR','getInstance','hasItem','84784ztrqwQ','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','You\x20have\x20already\x20solved\x20this\x20puzzle.','hasRequiredItem','toString','2JaikRH','successMessage','requiredPhrase','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','riddle','2412YgoErj','324207DefLJY','6949MaIGGW','failureMessage','2010hsryVb','matchesRequiredPhrase','write','(((.+)+)+)+$','You\x20solved\x20the\x20puzzle!','rewardItem','constructor','28SZowVc','solve','solved','1062047TgAdNL','apply','logger','requiredItem','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','search','24843GjlWvr'];a55c=function(){return n;};return a55c();}
1
+ var a55i=a55d;function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x10a;var f=c[d];return f;},a55d(a,b);}function a55c(){var n=['56qzJSif','failureMessage','requiredPhrase','393168LNINEG','logger','search','176uWKMBc','(((.+)+)+)+$','Puzzle:\x20Correct\x20solution\x20provided.','You\x20have\x20already\x20solved\x20this\x20puzzle.','solve','52rEBjsj','3051480OXzdvr','336085ukGxmE','solved','successMessage','153NiVsBV','574956crNnqz','constructor','hasItem','requiredItem','riddle','getInstance','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','apply','726710raADje','30093iyZYpD','toString','27795141jfCqjP','write','rewardItem','matchesRequiredPhrase'];a55c=function(){return n;};return a55c();}(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x129))/0x1+-parseInt(f(0x11e))/0x2*(-parseInt(f(0x112))/0x3)+parseInt(f(0x123))/0x4*(parseInt(f(0x125))/0x5)+parseInt(f(0x11b))/0x6*(parseInt(f(0x118))/0x7)+parseInt(f(0x124))/0x8+parseInt(f(0x128))/0x9*(parseInt(f(0x111))/0xa)+-parseInt(f(0x114))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xc24b4));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x110)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x113)]()['search']('(((.+)+)+)+$')[h(0x113)]()[h(0x10a)](a55a)[h(0x11d)](h(0x11f));});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a55i(0x10e)]();['solved']=![];[a55i(0x10c)];[a55i(0x11a)];[a55i(0x10d)];['rewardItem'];['successMessage'];[a55i(0x119)];constructor(a){var j=a55i;super(),this['requiredItem']=a['requiredItem'],this[j(0x11a)]=a[j(0x11a)],this[j(0x10d)]=a[j(0x10d)],this[j(0x116)]=a[j(0x116)],this[j(0x127)]=a[j(0x127)]||'You\x20solved\x20the\x20puzzle!',this[j(0x119)]=a[j(0x119)]||j(0x10f);}['hasRequiredItem'](a){var k=a55i;if(this[k(0x10c)])return a[k(0x10b)](this[k(0x10c)]);return![];}[a55i(0x117)](a){var l=a55i;return this[l(0x11a)]===a;}[a55i(0x122)](a,b){var m=a55i;if(this[m(0x126)])return this[m(0x11c)][m(0x115)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':m(0x121)};return this['hasRequiredItem'](b)||this['matchesRequiredPhrase'](a)?(this[m(0x126)]=!![],this[m(0x11c)][m(0x115)](m(0x120)),{'success':!![],'message':this[m(0x127)]}):(this['logger']['write']('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x113))/0x1+parseInt(f(0xf5))/0x2*(-parseInt(f(0xfb))/0x3)+-parseInt(f(0xf0))/0x4*(-parseInt(f(0x120))/0x5)+parseInt(f(0xe2))/0x6+-parseInt(f(0xef))/0x7*(-parseInt(f(0xe0))/0x8)+parseInt(f(0x107))/0x9*(parseInt(f(0x109))/0xa)+parseInt(f(0x119))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xf1dcf));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0xf2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a['toString']()[h(0xe5)](h(0x10c))[h(0x104)]()[h(0xf7)](a56a)['search'](h(0x10c));});a56a();import{Logger}from'../utilities/logger.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0xde;let f=c[d];return f;},a56d(a,b);}function a56c(){const t=['west','INSIDE','roomType','190qKrmKI','No\x20locked\x20exit\x20found\x20in\x20direction\x20','values','112pnpAiG','getOppositeDirection','980286spQLUb','findExistingDoor','Item\x20added\x20to\x20room\x20','search','hasItem','The\x20','inventory','Item\x20removed\x20from\x20room\x20','isStartRoom','roomA','riddle','removeItem','say','786709BtAHux','66972HJPZNt','exits','apply','addItem','east','106wDamOy','down','constructor','\x20is\x20locked.\x20Result:\x20','attemptUnlockExit','north','54633KkVMiD','EAST','get','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','NORTH','Checking\x20if\x20exit\x20in\x20direction\x20','getInstance','Puzzle\x20set\x20for\x20room\x20','name','toString','checkIfLocked','south','9xcZdgz','set','696130jBojok','getExit','Invalid\x20direction:\x20','(((.+)+)+)+$','roomB','setPuzzle','\x20remains\x20locked.','logger','.\x20Success:\x20','description','1467715FElBcI','WEST','isExitLocked','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','DOWN','write','10790153AguDtQ','puzzle','Room\x20created:\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'];a56c=function(){return t;};return a56c();}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x110)]=Logger[a56i(0x101)]();[a56i(0x103)];[a56i(0x112)];[a56i(0xf1)]=new Map();[a56i(0x11f)];['isStartRoom'];['inventory']=new Inventory();constructor(a){const j=a56i;super(),this['name']=a[j(0x103)],this[j(0x112)]=a[j(0x112)],this['roomType']=a[j(0x11f)]||RoomType[j(0x11e)],a[j(0xf1)]&&(this[j(0xf1)]=a['exits']||new Map()),a[j(0xe8)]&&(this[j(0xe8)]=a['inventory']),a[j(0x11a)]&&(this[j(0x11a)]=a[j(0x11a)]),this[j(0xea)]=a[j(0xea)]||![],this[j(0x110)][j(0x118)](j(0x11b)+this[j(0x103)]);}[a56i(0xee)](a,b){this['emit']('speak',a,b);}['addExit'](a,b,c){const k=a56i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0xf1)]['set'](a,d),b[k(0xf1)][k(0x108)](this[k(0xe1)](a),d);}[a56i(0xf9)](a,b){const l=a56i,c=this[l(0xf1)][l(0xfd)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[l(0x110)][l(0x118)](l(0x11c)+a+l(0x111)+d),d?l(0xe7)+c[l(0x103)]+'\x20unlocked!':l(0xe7)+c[l(0x103)]+l(0x10f);}return this[l(0x110)][l(0x118)](l(0xde)+a),l(0xfe);}[a56i(0x10a)](a){const m=a56i;return this[m(0x110)][m(0x118)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[m(0xf1)][m(0xfd)](a);}[a56i(0x115)](a){const n=a56i,b=this[n(0xf1)][n(0xfd)](a),c=b instanceof Door&&b[n(0x105)]();return this[n(0x110)][n(0x118)](n(0x100)+a+n(0xf8)+c),c;}['addItem'](a){const o=a56i;this[o(0xe8)][o(0xf3)](a),this[o(0x110)][o(0x118)](o(0xe4)+this['name']+':\x20'+a[o(0x103)]);}[a56i(0xed)](a){const p=a56i;this['inventory'][p(0xe6)](a['name'])?(this[p(0xe8)][p(0xed)](a[p(0x103)]),this[p(0x110)][p(0x118)](p(0xe9)+this[p(0x103)]+':\x20'+a[p(0x103)])):this[p(0x110)][p(0x118)](p(0x116)+this[p(0x103)]+':\x20'+a[p(0x103)]);}[a56i(0x10e)](a){const q=a56i;this[q(0x11a)]=a,this[q(0x110)]['write'](q(0x102)+this['name']+':\x20'+a[q(0xec)]);}['getOppositeDirection'](a){const r=a56i;switch(a){case r(0xfa):return Direction['SOUTH'];case r(0x106):return Direction[r(0xff)];case r(0xf4):return Direction[r(0x114)];case r(0x11d):return Direction[r(0xfc)];case'up':return Direction[r(0x117)];case r(0xf6):return Direction['UP'];default:throw new Error(r(0x10b)+a);}}[a56i(0xe3)](a){const s=a56i;for(const b of this['exits'][s(0xdf)]()){if(b instanceof Door){if(b[s(0xeb)]===this&&b[s(0x10d)]===a||b[s(0x10d)]===this&&b[s(0xeb)]===a)return b;}}return undefined;}}
1
+ const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0x174))/0x1*(parseInt(f(0x16a))/0x2)+-parseInt(f(0x173))/0x3*(parseInt(f(0x18a))/0x4)+-parseInt(f(0x167))/0x5+parseInt(f(0x166))/0x6+parseInt(f(0x158))/0x7+parseInt(f(0x188))/0x8+-parseInt(f(0x157))/0x9*(parseInt(f(0x15f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x619a8));function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x152;let f=c[d];return f;},a56d(a,b);}const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x15e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a['toString']()[h(0x171)](h(0x182))[h(0x156)]()['constructor'](a56a)['search']('(((.+)+)+)+$');});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x161)]=Logger[a56i(0x177)]();[a56i(0x159)];[a56i(0x164)];[a56i(0x183)]=new Map();[a56i(0x154)];[a56i(0x184)];[a56i(0x168)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x159)]=a['name'],this['description']=a[j(0x164)],this['roomType']=a[j(0x154)]||RoomType[j(0x179)],a[j(0x183)]&&(this[j(0x183)]=a[j(0x183)]||new Map()),a[j(0x168)]&&(this[j(0x168)]=a[j(0x168)]),a['puzzle']&&(this[j(0x155)]=a[j(0x155)]),this[j(0x184)]=a[j(0x184)]||![],this[j(0x161)]['write'](j(0x160)+this[j(0x159)]);}[a56i(0x15c)](a,b){const k=a56i;this['emit'](k(0x175),a,b);}['addExit'](a,b,c){const l=a56i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x153)](a,d),b['exits'][l(0x153)](this['getOppositeDirection'](a),d);}[a56i(0x176)](a,b){const m=a56i,c=this[m(0x183)][m(0x152)](a);if(c instanceof Door){const d=c[m(0x165)](b);return this[m(0x161)]['write'](m(0x16c)+a+'.\x20Success:\x20'+d),d?m(0x17c)+c[m(0x159)]+'\x20unlocked!':m(0x17c)+c[m(0x159)]+m(0x162);}return this['logger']['write'](m(0x16b)+a),m(0x185);}[a56i(0x15d)](a){const n=a56i;return this[n(0x161)][n(0x163)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0x183)]['get'](a);}[a56i(0x18c)](a){const o=a56i,b=this[o(0x183)]['get'](a),c=b instanceof Door&&b[o(0x170)]();return this[o(0x161)][o(0x163)](o(0x172)+a+o(0x16e)+c),c;}[a56i(0x169)](a){const p=a56i;this['inventory'][p(0x169)](a),this[p(0x161)]['write'](p(0x187)+this[p(0x159)]+':\x20'+a[p(0x159)]);}['removeItem'](a){const q=a56i;this[q(0x168)][q(0x16f)](a[q(0x159)])?(this[q(0x168)][q(0x17b)](a[q(0x159)]),this[q(0x161)]['write'](q(0x17e)+this[q(0x159)]+':\x20'+a[q(0x159)])):this[q(0x161)][q(0x163)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0x159)]+':\x20'+a['name']);}[a56i(0x189)](a){const r=a56i;this[r(0x155)]=a,this[r(0x161)][r(0x163)](r(0x18d)+this[r(0x159)]+':\x20'+a['riddle']);}[a56i(0x180)](a){const s=a56i;switch(a){case s(0x17d):return Direction[s(0x16d)];case s(0x15a):return Direction[s(0x17f)];case'east':return Direction[s(0x18b)];case'west':return Direction['EAST'];case'up':return Direction[s(0x181)];case'down':return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a56i(0x178)](a){const t=a56i;for(const b of this[t(0x183)][t(0x17a)]()){if(b instanceof Door){if(b[t(0x15b)]===this&&b[t(0x186)]===a||b['roomB']===this&&b[t(0x15b)]===a)return b;}}return undefined;}}function a56c(){const u=['puzzle','toString','9ujoQCA','2213813PIsouf','name','south','roomA','say','getExit','apply','799790bKiffQ','Room\x20created:\x20','logger','\x20remains\x20locked.','write','description','attemptUnlock','2804970cDKHBN','3867720SOEjzz','inventory','addItem','50750xkVIfi','No\x20locked\x20exit\x20found\x20in\x20direction\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','SOUTH','\x20is\x20locked.\x20Result:\x20','hasItem','checkIfLocked','search','Checking\x20if\x20exit\x20in\x20direction\x20','2217Ccehwj','26qTKkxf','speak','attemptUnlockExit','getInstance','findExistingDoor','INSIDE','values','removeItem','The\x20','north','Item\x20removed\x20from\x20room\x20','NORTH','getOppositeDirection','DOWN','(((.+)+)+)+$','exits','isStartRoom','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','roomB','Item\x20added\x20to\x20room\x20','4301744PwLDrH','setPuzzle','3940ZHHVvh','WEST','isExitLocked','Puzzle\x20set\x20for\x20room\x20','get','set','roomType'];a56c=function(){return u;};return a56c();}
@@ -1 +1 @@
1
- const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x154))/0x1+-parseInt(i(0x18f))/0x2+parseInt(i(0x16a))/0x3*(parseInt(i(0x175))/0x4)+-parseInt(i(0x160))/0x5*(-parseInt(i(0x17d))/0x6)+-parseInt(i(0x199))/0x7+-parseInt(i(0x16d))/0x8+-parseInt(i(0x18b))/0x9*(-parseInt(i(0x172))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xd3f96));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x15b)]()['search'](k(0x177))['toString']()[k(0x161)](a57a)['search']('(((.+)+)+)+$');});function a57c(){const E=['values','.\x20Room\x20','addExit','createRoom','Failed\x20to\x20set\x20','roomFactory','1286136KqGItU','removeRoom','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','get','1268610uigdHB','Actor\x20with\x20name\x20','\x20to\x20room\x20','\x20already\x20exists\x20in\x20the\x20scene.','getActor','warn','setPuzzle','length','keys','roomConfiguration','6353872CGUeyU','getPlayer','logger','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','getRooms','push','\x20found\x20in\x20the\x20scene.','getCharacterLocation','delete','Added\x20puzzle\x20to\x20room\x20','338849YpWmTW','actors','characterLocations','Failed\x20to\x20add\x20puzzle.\x20Room\x20','createExitsFromConfig','isStartRoom','has','toString','addActor','\x20not\x20found\x20in\x20scene.','addItem','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','25Elnkvj','constructor','Added\x20item\x20','setCharacterLocation','name','rooms','Room\x20\x22','join','Removed\x20room\x20from\x20scene:\x20','player','2190KmujET','initialize','toUpperCase','1995048KnSFNB','removeActor','addItemToRoom','\x27s\x20location.\x20Room\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','10aImsIq','addRoom','getInstance','7976PDLVIR','connectRooms','(((.+)+)+)+$','apply','Added\x20room\x20to\x20scene:\x20','\x22\x20does\x20not\x20exist.','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','write','866706aOJBFh','set','exits','determineStartRoom','allActors','Failed\x20to\x20add\x20item\x20','generateRoomsFromConfig','targetRoom'];a57c=function(){return E;};return a57c();}a57a();function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x14d;let f=c[d];return f;},a57d(a,b);}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];[a57l(0x169)];[a57l(0x19b)];[a57l(0x155)];['characterLocations']=new Map();[a57l(0x18a)];constructor(a){const m=a57l;super(),this[m(0x18a)]=new RoomFactory(),this[m(0x169)]=a[m(0x169)],this['rooms']=this['generateRoomsFromConfig'](a[m(0x198)]),this[m(0x19b)]=Logger[m(0x174)](),this['actors']=new Map(),this[m(0x158)](a['roomConfiguration']),this[m(0x19b)][m(0x17c)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x197)](this[m(0x165)])[m(0x167)](',\x20'));}[a57l(0x16b)](){const n=a57l;this[n(0x169)]['currentLocation']=this['determineStartRoom']();}[a57l(0x183)](a){const o=a57l;if(!this[o(0x18a)])throw new Error(o(0x18d));const b={};for(const c of a){const d=this[o(0x18a)][o(0x188)](c);b[c[o(0x164)]]=d;}return b;}[a57l(0x158)](a){const p=a57l;for(const b of a){const c=this[p(0x165)][b[p(0x164)]];if(b['exits'])for(const d of b[p(0x17f)]){const e=d['direction'][p(0x16c)](),f=d[p(0x184)],g=d['keyRequired'],h=this[p(0x165)][f];h&&c[p(0x187)](Direction[e],h,g);}}}[a57l(0x15c)](a){const q=a57l;if(this[q(0x155)][q(0x15a)](a[q(0x164)]))throw new Error(q(0x190)+a[q(0x164)]+q(0x192));this[q(0x155)][q(0x17e)](a[q(0x164)],a);}[a57l(0x16e)](a){const r=a57l;if(!this[r(0x155)]['has'](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x150));this[r(0x155)][r(0x152)](a);}[a57l(0x193)](a){const s=a57l;return this[s(0x155)]['get'](a);}get[a57l(0x181)](){const t=a57l;return Array['from'](this[t(0x155)][t(0x185)]());}[a57l(0x173)](a){const u=a57l;this[u(0x165)][a[u(0x164)]]=a,this[u(0x19b)][u(0x17c)](u(0x179)+a[u(0x164)]);}[a57l(0x18c)](a){const v=a57l;return this[v(0x165)][a]?(delete this[v(0x165)][a],this[v(0x19b)][v(0x17c)](v(0x168)+a),!![]):(this['logger'][v(0x17c)](v(0x17b)+a),![]);}[a57l(0x16f)](a,b){const w=a57l,c=this[w(0x165)][b];c?(c[w(0x15e)](a),this[w(0x19b)][w(0x17c)](w(0x162)+a['name']+w(0x191)+c[w(0x164)])):this[w(0x19b)]['write'](w(0x182)+a['name']+w(0x186)+b+w(0x15d));}['addPuzzleToRoom'](a,b){const x=a57l,c=this['rooms'][b];c?(c[x(0x195)](a),this[x(0x19b)]['write'](x(0x153)+c['name'])):this[x(0x19b)][x(0x17c)](x(0x157)+b+x(0x15d));}[a57l(0x163)](a,b){const y=a57l,c=this['rooms'][b];c?(this[y(0x156)][y(0x17e)](a['name'],c),this['logger'][y(0x17c)](a['name']+'\x20is\x20now\x20in\x20room\x20'+c[y(0x164)])):this[y(0x19b)][y(0x17c)](y(0x189)+a['name']+y(0x170)+b+y(0x15d));}[a57l(0x151)](a){const z=a57l;return this[z(0x156)][z(0x18e)](a[z(0x164)]);}[a57l(0x180)](){const A=a57l,a=[];for(const c in this[A(0x165)]){if(this['rooms']['hasOwnProperty'](c)){const d=this['rooms'][c];d[A(0x159)]&&a[A(0x14f)](d);}}if(a[A(0x196)]>0x1)throw new Error(A(0x14d));if(a['length']===0x1)return a[0x0];const b=Object[A(0x197)](this[A(0x165)]);if(b['length']===0x0)throw new Error(A(0x15f));return console[A(0x194)](A(0x171)),this[A(0x165)][b[0x0]];}[a57l(0x19a)](){const B=a57l;return this[B(0x169)];}[a57l(0x14e)](){const C=a57l;return this[C(0x165)];}[a57l(0x176)](a,b,c,d){const D=a57l,e=this[D(0x165)][a],f=this[D(0x165)][c];if(!e)throw new Error(D(0x166)+a+D(0x17a));if(!f)throw new Error(D(0x166)+c+D(0x17a));e[D(0x187)](b,f,d);}}
1
+ const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x16e))/0x1*(-parseInt(i(0x161))/0x2)+-parseInt(i(0x17d))/0x3*(parseInt(i(0x180))/0x4)+-parseInt(i(0x16b))/0x5+-parseInt(i(0x181))/0x6*(parseInt(i(0x17e))/0x7)+-parseInt(i(0x156))/0x8*(-parseInt(i(0x179))/0x9)+-parseInt(i(0x195))/0xa+parseInt(i(0x19e))/0xb*(parseInt(i(0x19f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x35535));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a['toString']()[k(0x178)]('(((.+)+)+)+$')['toString']()[k(0x184)](a57a)[k(0x178)](k(0x194));});function a57c(){const E=['addItemToRoom','Removed\x20room\x20from\x20scene:\x20','constructor','Added\x20room\x20to\x20scene:\x20','from','join','Added\x20item\x20','apply','getInstance','logger','Actor\x20with\x20name\x20','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','connectRooms','toUpperCase','isStartRoom','get','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','set','(((.+)+)+)+$','3985490mnYvun','length','rooms','roomFactory','\x20already\x20exists\x20in\x20the\x20scene.','getActor','addActor','currentLocation','keys','334004HXNCei','432rhBOkv','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','8TPcNcU','Failed\x20to\x20add\x20item\x20','\x20not\x20found\x20in\x20scene.','No\x20actor\x20with\x20name\x20','write','\x22\x20does\x20not\x20exist.','createRoom','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','name','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','createExitsFromConfig','2yTfzCx','actors','Failed\x20to\x20add\x20puzzle.\x20Room\x20','characterLocations','determineStartRoom','Scene\x20initialized\x20with\x20rooms:\x20','addPuzzleToRoom','values','getPlayer','\x27s\x20location.\x20Room\x20','557295AwWfGp','removeRoom','delete','280040NenyUR','player','Failed\x20to\x20set\x20','addRoom','initialize','targetRoom','addExit','hasOwnProperty','removeActor','exits','search','2206719czxMeq','generateRoomsFromConfig','getRooms','has','3wubaHv','153874YkaFZM','\x20to\x20room\x20','1231376GfTVQs','6UywYGJ'];a57c=function(){return E;};return a57c();}a57a();import{Logger}from'../utilities/logger.js';function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x156;let f=c[d];return f;},a57d(a,b);}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57l(0x197)];[a57l(0x16f)];[a57l(0x18b)];[a57l(0x162)];[a57l(0x164)]=new Map();[a57l(0x198)];constructor(a){const m=a57l;super(),this[m(0x198)]=new RoomFactory(),this[m(0x16f)]=a[m(0x16f)],this[m(0x197)]=this[m(0x17a)](a['roomConfiguration']),this[m(0x18b)]=Logger[m(0x18a)](),this[m(0x162)]=new Map(),this[m(0x160)](a['roomConfiguration']),this[m(0x18b)]['write'](m(0x166)+Object[m(0x19d)](this[m(0x197)])[m(0x187)](',\x20'));}[a57l(0x172)](){const n=a57l;this[n(0x16f)][n(0x19c)]=this[n(0x165)]();}[a57l(0x17a)](a){const o=a57l;if(!this['roomFactory'])throw new Error(o(0x15f));const b={};for(const c of a){const d=this[o(0x198)][o(0x15c)](c);b[c['name']]=d;}return b;}['createExitsFromConfig'](a){const p=a57l;for(const b of a){const c=this[p(0x197)][b[p(0x15e)]];if(b[p(0x177)])for(const d of b['exits']){const e=d['direction'][p(0x18f)](),f=d[p(0x173)],g=d['keyRequired'],h=this[p(0x197)][f];h&&c[p(0x174)](Direction[e],h,g);}}}[a57l(0x19b)](a){const q=a57l;if(this[q(0x162)][q(0x17c)](a['name']))throw new Error(q(0x18c)+a[q(0x15e)]+q(0x199));this[q(0x162)][q(0x193)](a[q(0x15e)],a);}[a57l(0x176)](a){const r=a57l;if(!this['actors'][r(0x17c)](a))throw new Error(r(0x159)+a+'\x20found\x20in\x20the\x20scene.');this[r(0x162)][r(0x16d)](a);}[a57l(0x19a)](a){const s=a57l;return this[s(0x162)]['get'](a);}get['allActors'](){const t=a57l;return Array[t(0x186)](this['actors'][t(0x168)]());}[a57l(0x171)](a){const u=a57l;this[u(0x197)][a['name']]=a,this[u(0x18b)]['write'](u(0x185)+a[u(0x15e)]);}[a57l(0x16c)](a){const v=a57l;return this[v(0x197)][a]?(delete this[v(0x197)][a],this[v(0x18b)][v(0x15a)](v(0x183)+a),!![]):(this['logger']['write'](v(0x18d)+a),![]);}[a57l(0x182)](a,b){const w=a57l,c=this[w(0x197)][b];c?(c['addItem'](a),this[w(0x18b)][w(0x15a)](w(0x188)+a[w(0x15e)]+w(0x17f)+c[w(0x15e)])):this['logger']['write'](w(0x157)+a[w(0x15e)]+'.\x20Room\x20'+b+w(0x158));}[a57l(0x167)](a,b){const x=a57l,c=this[x(0x197)][b];c?(c['setPuzzle'](a),this[x(0x18b)]['write']('Added\x20puzzle\x20to\x20room\x20'+c[x(0x15e)])):this[x(0x18b)][x(0x15a)](x(0x163)+b+'\x20not\x20found\x20in\x20scene.');}['setCharacterLocation'](a,b){const y=a57l,c=this[y(0x197)][b];c?(this[y(0x164)]['set'](a[y(0x15e)],c),this[y(0x18b)][y(0x15a)](a[y(0x15e)]+'\x20is\x20now\x20in\x20room\x20'+c[y(0x15e)])):this[y(0x18b)]['write'](y(0x170)+a['name']+y(0x16a)+b+y(0x158));}['getCharacterLocation'](a){const z=a57l;return this[z(0x164)][z(0x191)](a[z(0x15e)]);}[a57l(0x165)](){const A=a57l,a=[];for(const c in this[A(0x197)]){if(this[A(0x197)][A(0x175)](c)){const d=this[A(0x197)][c];d[A(0x190)]&&a['push'](d);}}if(a[A(0x196)]>0x1)throw new Error(A(0x1a0));if(a[A(0x196)]===0x1)return a[0x0];const b=Object[A(0x19d)](this[A(0x197)]);if(b[A(0x196)]===0x0)throw new Error(A(0x15d));return console['warn'](A(0x192)),this[A(0x197)][b[0x0]];}[a57l(0x169)](){const B=a57l;return this[B(0x16f)];}[a57l(0x17b)](){const C=a57l;return this[C(0x197)];}[a57l(0x18e)](a,b,c,d){const D=a57l,e=this[D(0x197)][a],f=this[D(0x197)][c];if(!e)throw new Error('Room\x20\x22'+a+D(0x15b));if(!f)throw new Error('Room\x20\x22'+c+'\x22\x20does\x20not\x20exist.');e[D(0x174)](b,f,d);}}