@maka/maka-cli 5.0.29 → 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 (173) 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/meteor/api/apollo-gateway.js +2 -0
  144. package/bundle/obf/src/templates/meteor/api/apollo-gateway.js.ts +3 -1
  145. package/bundle/obf/src/templates/meteor/api/graphql-api.js +2 -0
  146. package/bundle/obf/src/templates/meteor/api/graphql-api.js.ts +2 -0
  147. package/bundle/obf/src/templates/service/eslint/babelrc +3 -0
  148. package/bundle/obf/src/templates/service/eslint/config.eslint.js +61 -0
  149. package/bundle/obf/src/tool.js +1 -1
  150. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  151. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  152. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  153. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  154. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  155. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  157. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  158. package/bundle/obf/src/tools/https/https.class.js +1 -1
  159. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  160. package/bundle/obf/src/tools/log/log.class.js +1 -1
  161. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  163. package/bundle/obf/src/tools/options/options.class.js +1 -1
  164. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  165. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  166. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  167. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  168. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  169. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  170. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  171. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  172. package/package.json +2 -1
  173. 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(0x1b8))/0x1*(-parseInt(f(0x1b7))/0x2)+parseInt(f(0x186))/0x3+-parseInt(f(0x1a3))/0x4*(-parseInt(f(0x1b5))/0x5)+-parseInt(f(0x19e))/0x6*(-parseInt(f(0x1a8))/0x7)+parseInt(f(0x189))/0x8*(parseInt(f(0x1b3))/0x9)+parseInt(f(0x1a6))/0xa+parseInt(f(0x188))/0xb*(-parseInt(f(0x1bc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x8e3d8));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x19b)]()['search'](h(0x18e))[h(0x19b)]()[h(0x1ab)](a38a)[h(0x1b0)](h(0x18e));});a38a();import{Door}from'../models/door.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x182;let f=c[d];return f;},a38d(a,b);}import{RoomType}from'../types/enums.js';import{Command}from'./command.js';function a38c(){const n=['currentLocation','814Kqucoe','664BPyiTh','You\x20cannot\x20see\x20','puzzle','look','\x20inventory.','(((.+)+)+)+$','riddle','It\x27s\x20just\x20a\x20regular\x20','You\x20don\x27t\x20see\x20any\x20','isValidDirection','exits','string','To\x20the\x20','Below\x20you,\x20','inventory','getOtherSide','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','toString','description','logger','12wOPajk','\x27\x20in\x20current\x20room\x20inventory.','actor','\x27\x20in\x20','get','44icNHtP','name','You\x27re\x20not\x20in\x20a\x20valid\x20room.','3647020Bxnydx','verb','1586459mMvuNp','rooms','OUTSIDE','constructor','apply','\x20is\x20looking\x20around\x20the\x20current\x20room.','write','execute','search','down','roomType','124857RiTwUu','error','171355gNQanA','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','302CIwanF','1895WRoaek','getItem','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','hasItem','266256aGkhxL','Examine\x20your\x20surroundings','join','inspectItem','You\x20cannot\x20see\x20through','492771iHuKrN'];a38c=function(){return n;};return a38c();}export class LookCommand extends Command{static [a38i(0x1a7)]=a38i(0x18c);static ['description']=a38i(0x182);[a38i(0x1af)](a=[]){const j=a38i;this[j(0x19d)][j(0x1ae)]('Executing\x20\x27Look\x27\x20command.');const b=a[j(0x183)]('\x20');if(b){if(this[j(0x1a0)][j(0x197)][j(0x1bb)](b))return this['logger']['write']('Looking\x20at\x20item\x20\x27'+b+j(0x1a1)+this[j(0x1a0)]['name']+j(0x18d)),this[j(0x184)](b,this[j(0x1a0)][j(0x197)]);else{if(this[j(0x1a0)]['currentLocation'][j(0x197)][j(0x1bb)](b))return this[j(0x19d)][j(0x1ae)]('Looking\x20at\x20item\x20\x27'+b+j(0x19f)),this[j(0x184)](b,this[j(0x1a0)][j(0x187)]['inventory']);else return this[j(0x192)](b)?(this['logger']['write'](j(0x19a)+b+'\x27.'),this['lookOutside'](b)):j(0x18a)+b;}}else return this[j(0x19d)][j(0x1ae)](this[j(0x1a0)]['name']+j(0x1ad)),this[j(0x18c)]();}['look'](){const k=a38i,a=this[k(0x1a0)]['currentLocation'];if(!a)return this[k(0x19d)]['error'](this['actor'][k(0x1a4)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';let b=a[k(0x19c)];return a['puzzle']&&(b+='\x0a'+a[k(0x18b)][k(0x18f)]),b;}['lookOutside'](a){const l=a38i,b=this[l(0x1a0)][l(0x187)];if(!b)return this['logger'][l(0x1b4)](this[l(0x1a0)][l(0x1a4)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),l(0x1a5);const c=b[l(0x193)][l(0x1a2)](a);if(!c)return l(0x199)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x198)](b);else{if(typeof c===l(0x194)){d=this[l(0x1a9)]&&this['rooms'][c];if(!d)return l(0x1b6)+a+'\x22.';}else return l(0x1ba)+a+'\x22.';}if(d[l(0x1b2)]===RoomType[l(0x1aa)]){if(a==='up')return'Above\x20you,\x20'+d[l(0x19c)];else return a===l(0x1b1)?l(0x196)+d[l(0x19c)]:l(0x195)+a+',\x20you\x20see\x20'+d[l(0x19c)];}else return l(0x185);}[a38i(0x184)](a,b){const m=a38i,c=b[m(0x1b9)](a);if(!c)return m(0x191)+a+'\x20here.';return c[m(0x19c)]||m(0x190)+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 a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0xa3))/0x1*(-parseInt(g(0xa5))/0x2)+-parseInt(g(0x98))/0x3+-parseInt(g(0xb1))/0x4+parseInt(g(0xb4))/0x5*(-parseInt(g(0x9f))/0x6)+parseInt(g(0xa9))/0x7*(parseInt(g(0x9b))/0x8)+-parseInt(g(0xa0))/0x9*(-parseInt(g(0xb8))/0xa)+parseInt(g(0xb0))/0xb*(parseInt(g(0xa2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xce48d));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0xb3)]()[i(0xa1)]('(((.+)+)+)+$')[i(0xb3)]()[i(0xa8)](a39a)[i(0xa1)](i(0xa6));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x98;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';function a39c(){const m=[':\x20\x22','filter','56727dfYDTP','6071184VrSGuN','scene','toString','5EyVXhg','say','currentLocation','name','510SaQewr','2153139LoabkA','You\x20say:\x20\x22','length','216TnlTxS','actor','context','apply','108588ocpqWD','5625VcOXkD','search','7596AcZetd','5GEgzqD','verb','655490rqfHWt','(((.+)+)+)+$','An\x20error\x20occurred.','constructor','373597TcejLy','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','log','execute','description'];a39c=function(){return m;};return a39c();}export class SayCommand extends Command{static [a39j(0xa4)]=a39j(0xb5);static [a39j(0xad)]=a39j(0xaa);[a39j(0x9d)];constructor(a){const k=a39j;super(a),this[k(0x9d)]=a;}[a39j(0xac)](a){const l=a39j;if(a[l(0x9a)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a['join']('\x20'),c=this[l(0x9c)],d=this[l(0x9d)][l(0xb2)];if(!d)return this['logger'][l(0xab)]('Scene\x20is\x20missing\x20from\x20context.'),l(0xa7);const e=d['allActors'][l(0xaf)](f=>f['currentLocation']===c[l(0xb6)]);for(const f of e){this['logger'][l(0xab)](c[l(0xb7)]+'\x20says\x20to\x20'+f[l(0xb7)]+l(0xae)+b+'\x22'),this[l(0x9c)][l(0xb6)][l(0xb5)](f,b);}return l(0x99)+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
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1f6))/0x1+-parseInt(f(0x1fd))/0x2*(parseInt(f(0x202))/0x3)+-parseInt(f(0x1f4))/0x4+parseInt(f(0x203))/0x5*(-parseInt(f(0x200))/0x6)+parseInt(f(0x1fb))/0x7+-parseInt(f(0x20a))/0x8+parseInt(f(0x204))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xdb52b));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1ff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x205)]()[h(0x1f8)](h(0x20b))['toString']()['constructor'](a40a)[h(0x1f8)](h(0x20b));});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1f2;let f=c[d];return f;},a40d(a,b);}function a40c(){const k=['7566615obVyNC','\x20found\x20the\x20following\x20items:\x20','2LSfmdf','SearchCommand:\x20','apply','6aJqlOD','verb','895929CHejhC','8420255uvflIV','26676774ecjqhZ','toString','You\x20search\x20the\x20area\x20and\x20find:\x20','write','description','Search\x20for\x20items\x20in\x20your\x20area','8341048XbJvPh','(((.+)+)+)+$','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','inventory','actor','logger','3268948mWpdoH','length','695878rHWiEV','listItems','search','name','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.'];a40c=function(){return k;};return a40c();}a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0x201)]=a40i(0x1f8);static [a40i(0x208)]=a40i(0x209);['execute'](){const j=a40i,a=this['actor']['currentLocation'][j(0x20d)][j(0x1f7)]();if(a[j(0x1f5)]===0x0)return this[j(0x1f3)]['write'](j(0x1fe)+this[j(0x1f2)]['name']+j(0x20c)),j(0x1fa);const b=a['join'](',\x20');return this[j(0x1f3)][j(0x207)](j(0x1fe)+this[j(0x1f2)][j(0x1f9)]+j(0x1fc)+b),j(0x206)+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 a41h=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x153))/0x1+-parseInt(f(0x161))/0x2+-parseInt(f(0x158))/0x3+parseInt(f(0x14a))/0x4+parseInt(f(0x14d))/0x5+-parseInt(f(0x145))/0x6+parseInt(f(0x150))/0x7*(parseInt(f(0x154))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x1dade));function a41c(){const j=['316536iSvfjH','verb','addItem','135410uuhcSI','inventory','write','2236969nDByOK','currentLocation','success','72086tngXbp','8tVlJbO','execute','solve','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','322848XMHrTa','message','actor','toString','puzzle','description','toLowerCase','logger','Attempt\x20to\x20solve\x20a\x20puzzle.','418732tdXqQo','search','355926kziCZY','constructor','(((.+)+)+)+$','rewardItem','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'];a41c=function(){return j;};return a41c();}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const g=a41d;return a41a[g(0x15b)]()[g(0x144)]('(((.+)+)+)+$')[g(0x15b)]()[g(0x146)](a41a)[g(0x144)](g(0x147));});a41a();import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x144;let f=c[d];return f;},a41d(a,b);}export class SolveCommand extends Command{static [a41h(0x14b)]=a41h(0x156);static [a41h(0x15d)]=a41h(0x160);[a41h(0x155)](a){const i=a41h,b=a['join']('\x20')[i(0x15e)](),c=this[i(0x15a)][i(0x151)];if(!c||!c['puzzle'])return this[i(0x15f)][i(0x14f)](i(0x149)),i(0x157);const d=c[i(0x15c)][i(0x156)](b,this[i(0x15a)]['inventory']);return d[i(0x152)]&&c[i(0x15c)][i(0x148)]&&this['actor'][i(0x14e)][i(0x14c)](c['puzzle'][i(0x148)]),this[i(0x15f)][i(0x14f)]('SolveCommand:\x20'+d[i(0x159)]),d[i(0x159)];}}
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 a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1ed))/0x1+-parseInt(f(0x1ea))/0x2*(-parseInt(f(0x1e7))/0x3)+-parseInt(f(0x1d3))/0x4+parseInt(f(0x1e2))/0x5+-parseInt(f(0x1ec))/0x6+parseInt(f(0x1f6))/0x7+parseInt(f(0x1e5))/0x8*(parseInt(f(0x1db))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x61efb));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const g=a42d;return a42a[g(0x1cf)]()[g(0x1dc)](g(0x1d6))['toString']()['constructor'](a42a)[g(0x1dc)]('(((.+)+)+)+$');});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a42h(0x1e8)]=a42h(0x1f1);static [a42h(0x1f3)]=a42h(0x1dd);[a42h(0x1de)](a){const i=a42h;return this[i(0x1d9)][i(0x1f5)](i(0x1e9)+a['join']('\x20')),this['take'](a);}[a42h(0x1f1)](a){const j=a42h,b=a['join']('\x20')['toLowerCase'](),c=this['actor'][j(0x1d2)];if(!c[j(0x1e3)]['hasItem'](b))return this[j(0x1d9)][j(0x1f5)]('Item\x20\x22'+b+j(0x1f4)+c[j(0x1ee)]+j(0x1da)),j(0x1d0)+b+'\x22\x20in\x20this\x20room.';const d=c[j(0x1e3)][j(0x1e1)](b);if(!d)return this[j(0x1d9)][j(0x1f5)](j(0x1df)+b+j(0x1d1)+c[j(0x1ee)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x1d0)+b+j(0x1f0);try{return this['actor'][j(0x1ef)](d),this[j(0x1d9)][j(0x1f5)]('Successfully\x20added\x20\x22'+b+j(0x1e6)+this[j(0x1e4)][j(0x1ee)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[j(0x1e3)][j(0x1f2)](b),this['logger'][j(0x1f5)](j(0x1d7)+b+j(0x1d4)+c[j(0x1ee)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x1d5)+b+'.';}catch(e){return this[j(0x1d9)]['write'](j(0x1e0)+e['message']),j(0x1d8)+b+j(0x1eb);}}}function a42c(){const k=['removeItem','description','\x22\x20not\x20found\x20in\x20','write','645890aPiHUh','toString','There\x20is\x20no\x20item\x20\x22','\x22\x20not\x20retrieved\x20from\x20','currentLocation','2695272NIrFzH','\x22\x20from\x20','You\x20have\x20taken\x20the\x20','(((.+)+)+)+$','Successfully\x20removed\x20\x22','The\x20item\x20\x22','logger','\x20during\x20\x27Take\x27\x20command.','37872vLBtHh','search','Pick\x20up\x20an\x20item.','execute','Item\x20\x22','Error\x20during\x20\x27Take\x27\x20command:\x20','getItem','2138605cbiKHN','inventory','actor','1144Wyills','\x22\x20to\x20','3qlXcuG','verb','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','801250mSlUaw','\x22\x20is\x20too\x20heavy\x20to\x20carry.','2324706bgwSWx','59944blxGvg','name','addInventory','\x22\x20in\x20this\x20room.','take'];a42c=function(){return k;};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(0x113))/0x1+parseInt(f(0x122))/0x2*(parseInt(f(0x125))/0x3)+-parseInt(f(0x112))/0x4*(-parseInt(f(0x10e))/0x5)+parseInt(f(0x111))/0x6+-parseInt(f(0x114))/0x7+-parseInt(f(0x11f))/0x8+-parseInt(f(0x124))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xd5b5d));function a43c(){const k=['Unequip\x20an\x20item.','search','actor','verb','join','description','(((.+)+)+)+$','993208yynDZj','toString','UnequipCommand:\x20','1879738dmRMuO','toLowerCase','6854886KwaDbY','3lRyxto','\x20unqeuiped\x20','name','unqeuip','write','32475dpoBuR','apply','execute','1255650TVbHWF','612sJmbwu','1127257OwjGul','10562818njnbhm','logger','constructor','unequip'];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(0x10f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x120)]()['search'](h(0x11e))['toString']()[h(0x116)](a43a)[h(0x119)](h(0x11e));});function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x10e;let f=c[d];return f;},a43d(a,b);}a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x11b)]=a43i(0x128);static [a43i(0x11d)]=a43i(0x118);[a43i(0x110)](a){const j=a43i,b=a[j(0x11c)]('\x20')[j(0x123)](),c=this[j(0x11a)][j(0x117)](b);return this[j(0x115)][j(0x129)](j(0x121)+this['actor'][j(0x127)]+j(0x126)+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
- function a44c(){const m=['422608QTaqvD','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','\x20is\x20attempted\x20to\x20unlock\x20','name','.\x20Result:\x20','unlock','2796wCjhGw','(((.+)+)+)+$','689313TMcYZS','75339ubtggG','write','7VYvWDW','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','4sEKYSZ','getItem','326824KZRXCC','4258038YWmwzm','9EditWL','error','There\x27s\x20no\x20door\x20named\x20\x22','15EBLHmk','search','7761870DLDCgb','\x22\x20here.','unlockItemOrSolution','execute','hasItem','logger','toLowerCase','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','46936gGhbbf','UnlockCommand:\x20','UnlockCommand:\x20No\x20target\x20specified.','toString','isValidDirection','currentLocation','actor','inventory','get','constructor','exits','length'];a44c=function(){return m;};return a44c();}const a44j=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x198))/0x1*(-parseInt(h(0x19a))/0x2)+-parseInt(h(0x193))/0x3+-parseInt(h(0x1a9))/0x4*(-parseInt(h(0x19f))/0x5)+parseInt(h(0x19b))/0x6*(parseInt(h(0x196))/0x7)+parseInt(h(0x18b))/0x8+parseInt(h(0x19c))/0x9*(parseInt(h(0x1a1))/0xa)+parseInt(h(0x194))/0xb*(-parseInt(h(0x191))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x6221c));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const i=a44d;return a44a[i(0x1ac)]()['search'](i(0x192))[i(0x1ac)]()[i(0x188)](a44a)[i(0x1a0)](i(0x192));});a44a();import{Door}from'../models/door.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x183;let f=c[d];return f;},a44d(a,b);}import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']='unlock';static ['description']='Unlock\x20a\x20door.';[a44j(0x1a4)](a){const k=a44j;return this[k(0x190)](a);}[a44j(0x190)](a){const l=a44j;if(a[l(0x18a)]===0x0)return this[l(0x1a6)][l(0x19d)](l(0x1ab)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][l(0x1a7)](),c=this[l(0x185)][l(0x184)];if(this[l(0x183)](b)&&c[l(0x189)]['has'](b)){const d=c['exits'][l(0x187)](b);if(d instanceof Door){const e=d[l(0x1a3)]?.[l(0x1a7)]();if(e&&this[l(0x185)][l(0x186)][l(0x1a5)](e)){const f=this[l(0x185)][l(0x186)][l(0x199)](e);if(f){const g=c['attemptUnlockExit'](b,f[l(0x18e)]);return this['logger'][l(0x195)](l(0x1aa)+this['actor']['name']+l(0x18d)+b+l(0x18f)+g),g;}}return this['logger']['write'](l(0x1aa)+this[l(0x185)][l(0x18e)]+l(0x18c)+b+'.'),l(0x197);}else return this['logger'][l(0x195)](l(0x1aa)+b+l(0x1a8)+c[l(0x18e)]+'.'),l(0x19e)+b+l(0x1a2);}else return this[l(0x1a6)]['write']('UnlockCommand:\x20'+b+l(0x1a8)+c[l(0x18e)]+'.'),l(0x19e)+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
- function a45c(){const k=['inventory','1979180TaYVdn','toString','73792vCihSA','getItem','You\x20can\x27t\x20use\x20the\x20','15386120oXmSED','function','\x20not\x20retrieved\x20from\x20','Use\x20an\x20item.','\x20used\x20','use','\x20attempted\x20to\x20use\x20','You\x20don\x27t\x20have\x20the\x20','27180KFVyRi','177JlZFAM','name','write','(((.+)+)+)+$','execute','verb','148911qOCCYT','actor','306voWdjE','logger','1245595SrooAW','hasItem','description','UseCommand:\x20','toLowerCase','12570bqOtHm','\x20doesn\x27t\x20have\x20a\x20use\x20method.',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','74061STOgEL','\x20to\x20use.','constructor'];a45c=function(){return k;};return a45c();}function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x153;let f=c[d];return f;},a45d(a,b);}const a45h=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x15c))/0x1+parseInt(f(0x160))/0x2+parseInt(f(0x16e))/0x3*(parseInt(f(0x162))/0x4)+-parseInt(f(0x154))/0x5+-parseInt(f(0x176))/0x6*(-parseInt(f(0x174))/0x7)+parseInt(f(0x165))/0x8+-parseInt(f(0x16d))/0x9*(parseInt(f(0x159))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xec0ea));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(0x161)]()['search']('(((.+)+)+)+$')['toString']()[g(0x15e)](a45a)['search'](g(0x171));});a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45h(0x173)]=a45h(0x16a);static [a45h(0x156)]=a45h(0x168);[a45h(0x172)](a){const i=a45h;return this[i(0x16a)](a);}[a45h(0x16a)](a){const j=a45h,b=a['join']('\x20')[j(0x158)]();if(!this[j(0x175)]['inventory'][j(0x155)](b))return this[j(0x153)]['write'](j(0x157)+this[j(0x175)]['name']+j(0x16b)+b+j(0x15b)),j(0x16c)+b+'\x20to\x20use.';const c=this[j(0x175)][j(0x15f)][j(0x163)](b);if(!c)return this['logger'][j(0x170)](j(0x157)+b+j(0x167)+this[j(0x175)]['name']+'\x27s\x20inventory.'),j(0x16c)+b+j(0x15d);if(typeof c[j(0x16a)]===j(0x166)){const d=c[j(0x16a)]();return this[j(0x153)]['write']('UseCommand:\x20'+this[j(0x175)][j(0x16f)]+j(0x169)+b+'.'),d;}else return this[j(0x153)][j(0x170)](j(0x157)+b+j(0x15a)),j(0x164)+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 m=['7445490xRTuIV','10392977tqmNrv','constructor','1568970bvrlBI','16516vFxxcB','1917SFAVBE','(((.+)+)+)+$','commandMap','165cvgCBf','7qVVWgo','66372WREHKy','393680qIyFhi','registerCommand','8481ZeJDUE','toString','6IysAyJ','search','47128upyNsK','apply','getAllRegisteredCommands','createCommand'];a46c=function(){return m;};return a46c();}const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0xb4))/0x1*(-parseInt(f(0xb6))/0x2)+parseInt(f(0xb3))/0x3*(-parseInt(f(0xaf))/0x4)+-parseInt(f(0xc0))/0x5+parseInt(f(0xba))/0x6*(-parseInt(f(0xc1))/0x7)+parseInt(f(0xbc))/0x8*(parseInt(f(0xb0))/0x9)+-parseInt(f(0xc3))/0xa+parseInt(f(0xb8))/0xb*(parseInt(f(0xb5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xbf48f));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0xbd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0xb9)]()[h(0xbb)](h(0xb1))[h(0xb9)]()[h(0xc2)](a46a)[h(0xbb)](h(0xb1));});a46a();function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0xaf;let f=c[d];return f;},a46d(a,b);}export class CommandFactory{static ['commandMap']={};static[a46i(0xb7)](a,b){const j=a46i;this[j(0xb2)][a]=b;}static[a46i(0xbf)](a,b){const k=a46i,c=this[k(0xb2)][a];if(c)return new c(b);return null;}static[a46i(0xbe)](){const l=a46i;return this[l(0xb2)];}}
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
- function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xaa;let f=c[d];return f;},a47d(a,b);}const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0xbf))/0x1+parseInt(f(0xab))/0x2+parseInt(f(0xae))/0x3+-parseInt(f(0xc0))/0x4+-parseInt(f(0xaf))/0x5+parseInt(f(0xc8))/0x6*(parseInt(f(0xbc))/0x7)+-parseInt(f(0xc9))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x7b563));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xb3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()[h(0xb2)]('(((.+)+)+)+$')[h(0xc6)]()[h(0xb0)](a47a)[h(0xb2)](h(0xcb));});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a47c(){const o=['bodyarmor','name','669786akGDBf','2863350cTMgTb','constructor','key','search','apply','isStartRoom','items','description','addItem','createRoom','roomType','rifle','boots','2562070lUEhja','book','helmet','647948GoDVOS','185884AOuznz','createPuzzle','INSIDE','puzzle','convertToRoomConfig','gloves','toString','forEach','12fNIgIE','5470648QoXjmf','legarmor','(((.+)+)+)+$','toUpperCase','createItem','sword','409858xzEYag'];a47c=function(){return o;};return a47c();}export class RoomFactory{[a47i(0xb8)](a){const j=a47i,b=this[j(0xc4)](a),c=new Room(b);if(a[j(0xb5)]){const d=new Inventory();a[j(0xb5)][j(0xc7)](e=>{const k=j;d[k(0xb7)](this['createItem'](e));}),c['inventory']=d;}return a[j(0xc3)]&&c['setPuzzle'](this[j(0xc1)](a[j(0xc3)])),c;}[a47i(0xcd)](a){const l=a47i;switch(a['type']){case l(0xb1):return new Key(a[l(0xad)],a[l(0xb6)]);case l(0xbd):return new Book(a[l(0xad)],a['description'],a['content']);case l(0xaa):return new Sword(a[l(0xad)],a[l(0xb6)]);case l(0xba):return new Rifle(a['name'],a[l(0xb6)]);case l(0xbe):return new Helmet(a[l(0xad)],a[l(0xb6)]);case l(0xac):return new BodyArmor(a[l(0xad)],a[l(0xb6)]);case l(0xca):return new LegArmor(a[l(0xad)],a[l(0xb6)]);case l(0xbb):return new Boots(a[l(0xad)],a[l(0xb6)]);case l(0xc5):return new Gloves(a['name'],a[l(0xb6)]);case'gauntlets':return new Gauntlets(a['name'],a['description']);default:return new BasicItem(a['name'],a[l(0xb6)]);}}[a47i(0xc1)](a){const m=a47i,b=this[m(0xcd)](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a47i(0xc4)](a){const n=a47i,b=a[n(0xb9)]&&RoomType[a['roomType'][n(0xcc)]()]?RoomType[a[n(0xb9)][n(0xcc)]()]:RoomType[n(0xc2)];return{'name':a[n(0xad)],'description':a[n(0xb6)],'isStartRoom':a[n(0xb4)],'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 a48j=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0x18b))/0x1*(-parseInt(h(0x1a2))/0x2)+parseInt(h(0x192))/0x3*(-parseInt(h(0x1a5))/0x4)+parseInt(h(0x19e))/0x5+-parseInt(h(0x1ab))/0x6+parseInt(h(0x1a4))/0x7+-parseInt(h(0x1ad))/0x8+-parseInt(h(0x1a8))/0x9*(parseInt(h(0x1b1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xecf4a));const a48b=(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;};}()),a48a=a48b(this,function(){const i=a48d;return a48a[i(0x194)]()[i(0x193)](i(0x1ae))['toString']()[i(0x1b2)](a48a)[i(0x193)]('(((.+)+)+)+$');});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';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x185;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';function a48c(){const r=['take','27CIXhVx','getRooms','-\x20quit:\x20Exit\x20the\x20game.\x0a','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','name','player','toLowerCase','84306ivofiF','search','toString','execute','instance','Welcome,\x20','equip','getHelpMessage','Available\x20Commands:\x0a','rooms','scene','lock','1726955tmcGto','registerCommands','createCommand','look','111538UmeaAX','registerCommand','11968019eygznY','68mchLoZ','say','quit','9oMBZve','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','determineStartRoom','4145322uNwqRe','trim','8338248ezpMmr','(((.+)+)+)+$','unlock','getWelcomeMessage','3793990tFdLwm','constructor','currentLocation','drop','unequip','use','getDescription','slice','initialize','solve'];a48c=function(){return r;};return a48c();}import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a48j(0x19c)];[a48j(0x190)];['currentRoom'];[a48j(0x19b)];constructor(a,b){const k=a48j;this[k(0x190)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[k(0x19c)][k(0x188)](),this[k(0x190)][k(0x1b3)]=this['determineStartRoom'](),this[k(0x19f)]();}['registerCommands'](){const l=a48j;CommandFactory[l(0x1a3)](l(0x1a1),LookCommand),CommandFactory[l(0x1a3)]('go',GoCommand),CommandFactory[l(0x1a3)](l(0x18a),TakeCommand),CommandFactory[l(0x1a3)](l(0x185),UseCommand),CommandFactory[l(0x1a3)](l(0x198),EquipCommand),CommandFactory[l(0x1a3)](l(0x1b5),UnequipCommand),CommandFactory['registerCommand'](l(0x189),SolveCommand),CommandFactory[l(0x1a3)](l(0x1b4),DropCommand),CommandFactory[l(0x1a3)](l(0x1af),UnlockCommand),CommandFactory[l(0x1a3)](l(0x19d),LockCommand),CommandFactory[l(0x1a3)](l(0x193),SearchCommand),CommandFactory[l(0x1a3)](l(0x1a6),SayCommand);}[a48j(0x1aa)](){const m=a48j;return this[m(0x19c)]['determineStartRoom']();}[a48j(0x1b0)](){const n=a48j;return n(0x197)+this['player'][n(0x18f)];}static['getInstance'](a,b){const o=a48j;return!Game[o(0x196)]&&(Game[o(0x196)]=new Game(a,b)),Game['instance'];}['handleInput'](a){const p=a48j,b=a[p(0x1ac)]()['split']('\x20'),c=b[0x0][p(0x191)](),d=b[p(0x187)](0x1);if(c===p(0x1a7))return null;if(c==='maka')return p(0x1a9);if(c==='help')return this[p(0x199)]();if(c==='clear')return'';const e={'actor':this[p(0x190)],'rooms':this[p(0x19c)][p(0x18c)](),'scene':this['scene']},f=CommandFactory[p(0x1a0)](c,e);if(f){const g=f[p(0x195)](d);return g;}return p(0x18e)+c+'\x22.';}['getHelpMessage'](){const q=a48j,a=CommandFactory['getAllRegisteredCommands']();let b=q(0x19a);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x186)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+=q(0x18d),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(0xe7))/0x1+-parseInt(f(0xe6))/0x2+-parseInt(f(0xe8))/0x3+-parseInt(f(0xee))/0x4+-parseInt(f(0xec))/0x5+-parseInt(f(0xf0))/0x6*(-parseInt(f(0xe9))/0x7)+parseInt(f(0xf1))/0x8*(parseInt(f(0xed))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x299e7));function a49c(){var i=['constructor','972138adWVNT','9818136keZwoS','apply','467880UCJijy','204672fhVDzJ','936237orKpJi','7mWlHrl','search','toString','1684115DjSLbj','9iBrAwd','525220tGBzhO'];a49c=function(){return i;};return a49c();}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0xeb)]()[h(0xea)]('(((.+)+)+)+$')[h(0xeb)]()[h(0xef)](a49a)['search']('(((.+)+)+)+$');});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xe5;var f=c[d];return f;},a49d(a,b);}export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(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(0x86))/0x1+parseInt(f(0x95))/0x2*(parseInt(f(0x94))/0x3)+-parseInt(f(0x79))/0x4*(-parseInt(f(0x7d))/0x5)+parseInt(f(0x96))/0x6*(parseInt(f(0x9a))/0x7)+parseInt(f(0x84))/0x8+parseInt(f(0x7e))/0x9*(-parseInt(f(0x7b))/0xa)+parseInt(f(0x88))/0xb*(parseInt(f(0x91))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x3f3a9));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x80)]()[h(0x81)](h(0x8e))[h(0x80)]()[h(0x7f)](a50a)[h(0x81)](h(0x8e));});a50a();import{Logger}from'../utilities/logger.js';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x79;var f=c[d];return f;},a50d(a,b);}import{capitalCase}from'change-case';function a50c(){var o=['name','491760YiTBET','attemptUnlock','97807FtSruA','apply','11bLPIlZ','Failed\x20to\x20unlock\x20door:\x20','roomA','Door\x20unlocked:\x20','unlockItemOrSolution','isLocked','(((.+)+)+)+$','.\x20Used:\x20','logger','1271832dnOzye','Door\x20created\x20between\x20','checkIfLockable','225YjVgbZ','3434ClSTvp','152310YLtpwd','isLockable','checkIfLocked','.\x20Is\x20Locked:\x20','56wXJgqC','getInstance','120616rIPMcH','\x20and\x20','28070mlDxSs','roomB','15CIABar','747OAPeyw','constructor','toString','search','write'];a50c=function(){return o;};return a50c();}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a50i(0x7c)];[a50i(0x8d)];[a50i(0x8c)];['name'];[a50i(0x90)];[a50i(0x97)];constructor(a){var j=a50i;super(),this[j(0x8a)]=a[j(0x8a)],this[j(0x7c)]=a[j(0x7c)],this[j(0x8d)]=a[j(0x8d)]||![],this[j(0x8c)]=a['unlockItemOrSolution'],this['name']=a[j(0x83)]?capitalCase(a['name']):'To\x20'+a['roomB'][j(0x83)],this['logger']=Logger[j(0x9b)](),this[j(0x97)]=!!a[j(0x8c)],this[j(0x90)][j(0x82)](j(0x92)+this[j(0x8a)][j(0x83)]+j(0x7a)+this[j(0x7c)][j(0x83)]+j(0x99)+this[j(0x8d)]);}['getOtherSide'](a){var k=a50i;return this['roomA']===a?this[k(0x7c)]:this[k(0x8a)];}[a50i(0x85)](a){var l=a50i;if(this[l(0x8d)]&&this['unlockItemOrSolution']&&this[l(0x8c)]===a)return this['isLocked']=![],this[l(0x90)][l(0x82)](l(0x8b)+this[l(0x83)]+l(0x8f)+a),!![];return this[l(0x90)][l(0x82)](l(0x89)+this[l(0x83)]+'.\x20Used:\x20'+a),![];}[a50i(0x98)](){var m=a50i;return this[m(0x8d)];}[a50i(0x93)](){var n=a50i;return this[n(0x97)];}}
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 a51c(){const r=['getInstance','Retrieved\x20details\x20for\x20item:\x20','keys','\x20from\x20inventory.','delete','8vnPRnd','\x20in\x20','items','removeItem','constructor','toString','\x20to\x20inventory.','Failed\x20to\x20remove\x20item:\x20','1728684msVQDv','Listed\x20items\x20in\x20inventory:\x20','toLowerCase','7nIzWLA','Removed\x20item:\x20','apply','.\x20Item\x20not\x20found.','getWeight','2ujoLBm','150383OzqScX','getItem','values','119295pqhKnY','4970080HcOMmK','addItem','Added\x20item:\x20','logger','hasItem','441957VKccrQ','has','weight','(((.+)+)+)+$','2084748dAyFAG','search','2756304njBkWM','write','set'];a51c=function(){return r;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a51d(a,b);}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x1ee))/0x1*(parseInt(f(0x1ed))/0x2)+parseInt(f(0x1f7))/0x3*(-parseInt(f(0x205))/0x4)+-parseInt(f(0x1f1))/0x5+-parseInt(f(0x1fb))/0x6+parseInt(f(0x1e8))/0x7*(parseInt(f(0x1fd))/0x8)+parseInt(f(0x1e5))/0x9+parseInt(f(0x1f2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x350c4));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x1e2)]()[h(0x1fc)](h(0x1fa))['toString']()[h(0x209)](a51a)[h(0x1fc)](h(0x1fa));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x207)];[a51i(0x1f5)];constructor(){const j=a51i;super(),this[j(0x207)]=new Map(),this[j(0x1f5)]=Logger[j(0x200)]();}[a51i(0x1f3)](a){const k=a51i;this[k(0x207)][k(0x1ff)](a['name'][k(0x1e7)](),a),this[k(0x1f5)][k(0x1fe)](k(0x1f4)+a['name']+k(0x1e3));}[a51i(0x208)](a){const l=a51i,b=this[l(0x1ef)](a);if(b)return this['items'][l(0x204)](a[l(0x1e7)]()),this[l(0x1f5)][l(0x1fe)](l(0x1e9)+a+l(0x203)),b;return this[l(0x1f5)][l(0x1fe)](l(0x1e4)+a+l(0x1eb)),null;}[a51i(0x1f6)](a){const m=a51i,b=this[m(0x207)][m(0x1f8)](a[m(0x1e7)]()),c=[...this[m(0x207)][m(0x202)]()];return this[m(0x1f5)][m(0x1fe)]('Checked\x20for\x20item:\x20'+a+m(0x206)+c['join'](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a51i(0x1ef)](a){const n=a51i,b=this['items']['get'](a['toLowerCase']())||null;return b?this[n(0x1f5)]['write'](n(0x201)+a+'.'):this[n(0x1f5)][n(0x1fe)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+n(0x1eb)),b;}['listItems'](){const o=a51i,a=[...this[o(0x207)][o(0x202)]()],b=a['map'](c=>capitalCase(c));return this[o(0x1f5)][o(0x1fe)](o(0x1e6)+b['join'](',\x20')+'.'),a;}[a51i(0x1ec)](){const p=a51i;let a=0x0;for(const b of this[p(0x207)][p(0x1f0)]()){a+=b[p(0x1f9)];}return a;}['getAllItems'](){const q=a51i;return[...this['items'][q(0x1f0)]()];}}
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
- function a52c(){var l=['.\x20Nothing\x20special\x20happens.','You\x20use\x20the\x20','24PCcolW','(((.+)+)+)+$','54rHyUDZ','36303190LlHViR','611438ZsoSub','description','rating','4899864kjmMuu','uuid','weight','6091295crxANa','toString','14879169cRuVoQ','shape','628608hbipUi','name','apply','texture','2AMKOdt','size','category','321482pUIIEo','color','use'];a52c=function(){return l;};return a52c();}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1fb))/0x1*(parseInt(f(0x1ef))/0x2)+-parseInt(f(0x1f7))/0x3*(-parseInt(f(0x205))/0x4)+parseInt(f(0x201))/0x5+-parseInt(f(0x1f9))/0x6*(-parseInt(f(0x1f2))/0x7)+parseInt(f(0x1fe))/0x8+parseInt(f(0x203))/0x9+-parseInt(f(0x1fa))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xded88));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x207)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x202)]()['search'](h(0x1f8))[h(0x202)]()['constructor'](a52a)['search']('(((.+)+)+)+$');});a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1ee;var f=c[d];return f;},a52d(a,b);}export class Item extends AbstractItem{['uuid'];[a52i(0x206)];[a52i(0x1fc)];[a52i(0x1f0)];[a52i(0x1f1)];[a52i(0x204)];[a52i(0x1f3)];[a52i(0x1ee)];['rating'];['weight'];constructor(a){var j=a52i;super(),this[j(0x206)]=a[j(0x206)],this[j(0x1fc)]=a[j(0x1fc)],this['size']=a['size'],this[j(0x1f1)]=a['category'],this[j(0x204)]=a[j(0x204)],this[j(0x1f3)]=a[j(0x1f3)],this[j(0x1ee)]=a['texture'],this[j(0x1fd)]=a['rating'],this[j(0x200)]=a[j(0x200)],this[j(0x1ff)]=a52e();}[a52i(0x1f4)](){var k=a52i;return k(0x1f6)+this[k(0x206)]+k(0x1f5);}}
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 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(0xaa))/0x1+parseInt(f(0x9d))/0x2*(-parseInt(f(0x9e))/0x3)+parseInt(f(0xa0))/0x4+parseInt(f(0xac))/0x5+-parseInt(f(0xb0))/0x6+parseInt(f(0xb4))/0x7*(parseInt(f(0xa6))/0x8)+parseInt(f(0xab))/0x9*(-parseInt(f(0xae))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x7322b));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xa3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0xad)]()[h(0xb2)]('(((.+)+)+)+$')['toString']()[h(0xa9)](a53a)[h(0xb2)]('(((.+)+)+)+$');});a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a53c(){const o=['rooms','constructor','202982UFcelI','196740ucpDxx','1275970uVrvsB','toString','140FZuiJt','moveTo','3473106TeQquq','floor','search','name','190533DKSEqp','scene','203510hshIqJ','9ulzKCn','_name','1656896BHChzZ','length','autonomousMove','apply','speak','_dialogue','232zkTEcZ','execute'];a53c=function(){return o;};return a53c();}export class NPC extends Player{['_name'];['_dialogue'];['rooms'];[a53i(0xb5)];constructor(a,b,c,d){const j=a53i;super(d),this['_name']=a,this[j(0xa5)]=b,this['rooms']=c;}get[a53i(0xb3)](){const k=a53i;return this[k(0x9f)];}[a53i(0xa4)](){const l=a53i;return this[l(0xa5)][Math[l(0xb1)](Math['random']()*this[l(0xa5)][l(0xa1)])];}[a53i(0xa2)](a){const m=a53i,b=a[Math['floor'](Math['random']()*a[m(0xa1)])];this[m(0xaf)](b[m(0xb3)]);}[a53i(0xaf)](a){const n=a53i,b={'actor':this,'rooms':this[n(0xa8)],'scene':this[n(0xb5)]},c=new GoCommand(b);c[n(0xa7)]([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 a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x191))/0x1+-parseInt(f(0x179))/0x2+-parseInt(f(0x168))/0x3*(-parseInt(f(0x189))/0x4)+-parseInt(f(0x18d))/0x5+-parseInt(f(0x185))/0x6+-parseInt(f(0x195))/0x7+parseInt(f(0x190))/0x8*(parseInt(f(0x159))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xcec81));function a54c(){const D=['name','ArmArmor','addInventory','\x20is\x20no\x20longer\x20listeng\x20in\x20','leaveRoom','toString','constructor','includes','startLocation','3369XxQucR','enterRoom','values','arm\x20armor','\x20is\x20now\x20listening\x20in\x20room\x20','legarmor','Added\x20','hat','_maxCarryingWeight','addItem','apply','helmet','head','gloves','arms','You\x20can\x27t\x20equip\x20','BodyArmor','2666028FhEUVZ','unequipBySlot','A\x20featureless\x20room','Hat','You\x20unequipped\x20','maxCarryingWeight','torso','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','equipment','determineEquipmentSlot','unequip','hear','7297566vGqRaL','category','hasItem','rightHand','1108xjakav','_equipment','You\x20don\x27t\x20have\x20','Boots','1854035YEOtio','toLowerCase','Shield','128528otnIfX','1433011DWMyXN','error','playerName','removeItem','10468339OdXdlK','getInstance','_currentLocation','currentWeight','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','Failed\x20to\x20remove\x20','bodyarmor','LegArmor','armarmor','Invalid\x20category\x20or\x20slot:\x20','_playerName','weapon','\x20from\x20player\x27s\x20inventory.','logger','inventory','leg\x20armor','Weapon','log','feet','search','\x20slot.','write','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','\x20in\x20your\x20inventory.','bind','(((.+)+)+)+$','.\x20You\x20must\x20unequip\x20it\x20first.','\x20to\x20player\x27s\x20inventory.','inventoryItems','Removed\x20','leftHand','speak','Gloves','_inventory','getWeight','weight','body\x20armor','removeInventory','1971IBmXBF','boots','legs','canEquip','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','shield'];a54c=function(){return D;};return a54c();}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x164)]()[h(0x146)](h(0x14c))['toString']()[h(0x165)](a54a)[h(0x146)](h(0x14c));});function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x145;let f=c[d];return f;},a54d(a,b);}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(0x19f)];[a54i(0x197)];['_inventory'];['_equipment'];[a54i(0x170)]=0x32;[a54i(0x1a2)];constructor(a){const j=a54i;super(),this['_playerName']=a[j(0x193)],this[j(0x197)]=a[j(0x167)]||new Room({'name':'Nexus','description':j(0x17b)}),this[j(0x154)]=new Inventory(),this[j(0x1a2)]=Logger[j(0x196)]();if(a?.[j(0x14f)])for(const b of a[j(0x14f)]){this[j(0x154)][j(0x171)](b);}this[j(0x18a)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x15f)](){const k=a54i;return this[k(0x19f)];}get['currentLocation'](){const l=a54i;return this[l(0x197)];}set['currentLocation'](a){const m=a54i;this['_currentLocation']!==a&&(this['leaveRoom'](),this[m(0x169)](a)),this[m(0x197)]=a;}get[a54i(0x1a3)](){const n=a54i;return this[n(0x154)];}get[a54i(0x181)](){const o=a54i;return this[o(0x18a)];}set[a54i(0x181)](a){const p=a54i;this[p(0x18a)]=a;}get[a54i(0x17e)](){const q=a54i;return this[q(0x170)];}set['maxCarryingWeight'](a){const r=a54i;a>0x0?this[r(0x170)]=a:console[r(0x192)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a54i(0x198)](){const s=a54i;let a=this[s(0x154)][s(0x155)]();for(const b in this[s(0x18a)]){const c=this['_equipment'][b];c&&(a+=c[s(0x156)]);}return a;}[a54i(0x161)](a){const t=a54i;if(this[t(0x198)]+a['weight']>this[t(0x17e)]){this[t(0x1a2)][t(0x148)](t(0x149));throw new Error(t(0x180));}this[t(0x154)][t(0x171)](a),this[t(0x1a2)]['write'](t(0x16e)+a[t(0x15f)]+t(0x14e));}['removeInventory'](a){const u=a54i;if(this['_inventory'][u(0x194)](a[u(0x15f)]))return this[u(0x1a2)]['write'](u(0x150)+a[u(0x15f)]+u(0x1a1)),!![];return this['logger'][u(0x148)](u(0x19a)+a['name']+'\x20from\x20player\x27s\x20inventory.'),![];}['equip'](a){const v=a54i;if(!this[v(0x154)][v(0x187)](a[v(0x15f)]))return v(0x18b)+a[v(0x15f)]+v(0x14a);if(!this['canEquip'](a))return v(0x177)+a[v(0x15f)]+'.';const b=this[v(0x182)](a[v(0x186)]);if(!b)return a['name']+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this['equipment'][b])return v(0x15d)+b+v(0x14d);return this['equipment'][b]=a,this[v(0x158)](a),'You\x20equipped\x20'+a['name']+'.';}[a54i(0x183)](a){const w=a54i;let b=a;if(!this[w(0x181)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return w(0x19e)+a+'.';}return this[w(0x17a)](b);}['determineEquipmentSlot'](a){const x=a54i;switch(a[x(0x18e)]()){case Category[x(0x1a5)][x(0x18e)]():return x(0x188);case Category[x(0x18f)]['toLowerCase']():return'leftHand';case Category[x(0x153)][x(0x18e)]():return x(0x175);case Category['Helmet'][x(0x18e)]():case Category[x(0x17c)]['toLowerCase']():return'head';case Category[x(0x18c)]['toLowerCase']():return x(0x145);case Category[x(0x19c)][x(0x18e)]():return'legs';case Category[x(0x160)][x(0x18e)]():return x(0x176);case Category[x(0x178)][x(0x18e)]():return x(0x17f);case x(0x1a0):return x(0x188);case x(0x15e):return x(0x151);case'gloves':return x(0x175);case x(0x173):case x(0x16f):return x(0x174);case x(0x15a):return x(0x145);case x(0x1a4):case x(0x16d):return x(0x15b);case x(0x16b):case x(0x19d):return x(0x176);case x(0x157):case x(0x19b):case x(0x17f):return x(0x17f);default:return null;}}[a54i(0x15c)](a){const y=a54i;return Object[y(0x16a)](Category)[y(0x166)](a[y(0x186)]);}[a54i(0x17a)](a){const z=a54i,b=this[z(0x181)][a];if(!b)return z(0x199)+a+z(0x147);return this[z(0x161)](b),this[z(0x181)][a]=null,z(0x17d)+b['name']+'.';}[a54i(0x184)](a,b){const A=a54i;a!==this&&this[A(0x1a2)][A(0x1a6)](a[A(0x15f)]+'\x20says:\x20\x22'+b+'\x22');}['enterRoom'](a){const B=a54i;this['_currentLocation']=a,a['on'](B(0x152),this['hear'][B(0x14b)](this)),this[B(0x1a2)][B(0x148)](this[B(0x15f)]+B(0x16c)+a['name']);}[a54i(0x163)](){const C=a54i;this[C(0x197)]&&(this[C(0x197)]['off'](C(0x152),this[C(0x184)]['bind'](this)),this['logger'][C(0x148)](this[C(0x15f)]+C(0x162)+this['_currentLocation'][C(0x15f)]));}}
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 a55h=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xd1))/0x1+-parseInt(f(0xcb))/0x2+-parseInt(f(0xcf))/0x3*(-parseInt(f(0xdb))/0x4)+-parseInt(f(0xe3))/0x5*(-parseInt(f(0xd9))/0x6)+-parseInt(f(0xce))/0x7*(-parseInt(f(0xe7))/0x8)+-parseInt(f(0xe1))/0x9*(-parseInt(f(0xde))/0xa)+parseInt(f(0xd4))/0xb*(-parseInt(f(0xe5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xa6010));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var g=a55d;return a55a['toString']()[g(0xcd)](g(0xe2))['toString']()['constructor'](a55a)[g(0xcd)](g(0xe2));});a55a();import{Logger}from'../utilities/logger.js';function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xcb;var f=c[d];return f;},a55d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55h(0xd3)]=Logger['getInstance']();['solved']=![];['requiredItem'];[a55h(0xe4)];[a55h(0xcc)];[a55h(0xd5)];['successMessage'];['failureMessage'];constructor(a){var i=a55h;super(),this[i(0xe0)]=a[i(0xe0)],this['requiredPhrase']=a[i(0xe4)],this[i(0xcc)]=a[i(0xcc)],this[i(0xd5)]=a[i(0xd5)],this[i(0xe6)]=a[i(0xe6)]||i(0xda),this[i(0xdc)]=a[i(0xdc)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}['hasRequiredItem'](a){var j=a55h;if(this[j(0xe0)])return a[j(0xdd)](this[j(0xe0)]);return![];}[a55h(0xd6)](a){var k=a55h;return this[k(0xe4)]===a;}[a55h(0xd2)](a,b){var l=a55h;if(this[l(0xd0)])return this[l(0xd3)]['write'](l(0xd8)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this['hasRequiredItem'](b)||this['matchesRequiredPhrase'](a)?(this[l(0xd0)]=!![],this['logger'][l(0xdf)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[l(0xe6)]}):(this[l(0xd3)][l(0xdf)](l(0xd7)),{'success':![],'message':this[l(0xdc)]});}}function a55c(){var m=['8oEgILI','failureMessage','hasItem','4330CFzMJP','write','requiredItem','864DmZomH','(((.+)+)+)+$','2647420IHxIWn','requiredPhrase','1896ONNWNR','successMessage','8FWjfVW','2005020cDRxJx','riddle','search','7232323wSfuOH','1356081obpkbG','solved','281391JNkwHo','solve','logger','74767zlEiuy','rewardItem','matchesRequiredPhrase','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','12CwnXpA','You\x20solved\x20the\x20puzzle!'];a55c=function(){return m;};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(0x1c2))/0x1*(parseInt(f(0x1ed))/0x2)+-parseInt(f(0x1d1))/0x3*(-parseInt(f(0x1dc))/0x4)+-parseInt(f(0x1c4))/0x5*(parseInt(f(0x1e2))/0x6)+-parseInt(f(0x1f0))/0x7+-parseInt(f(0x1fe))/0x8+parseInt(f(0x1e3))/0x9*(parseInt(f(0x1f5))/0xa)+-parseInt(f(0x1e1))/0xb*(parseInt(f(0x1cf))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xddc09));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x1cd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x1c5)]()[h(0x1d4)]('(((.+)+)+)+$')[h(0x1c5)]()[h(0x1e0)](a56a)[h(0x1d4)]('(((.+)+)+)+$');});a56a();import{Logger}from'../utilities/logger.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a56d(a,b);}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';function a56c(){const u=['setPuzzle','west','Item\x20added\x20to\x20room\x20','east','Checking\x20if\x20exit\x20in\x20direction\x20','Invalid\x20direction:\x20','exits','Puzzle\x20set\x20for\x20room\x20','Fetching\x20exit\x20in\x20direction:\x20','151814ElhlVL','north','roomType','418565aZkwnB','values','name','addExit','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','207070gcZeRU','say','SOUTH','getOppositeDirection','checkIfLocked','emit','isExitLocked','roomA','hasItem','12099768mfOEic','speak','roomB','No\x20locked\x20exit\x20found\x20in\x20direction\x20','23BCJfHu','\x20is\x20locked.\x20Result:\x20','5SFTdDo','toString','write','\x20unlocked!','description','riddle','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','.\x20Success:\x20','DOWN','apply','WEST','141612buzHoM','attemptUnlock','233916MyIAmZ','findExistingDoor','removeItem','search','set','EAST','puzzle','inventory','get','logger','addItem','88lmRBBi','isStartRoom','The\x20','Item\x20removed\x20from\x20room\x20','constructor','517BEXBiT','4668324BmDwjP','153UejrNi'];a56c=function(){return u;};return a56c();}export class Room extends AbstractRoom{[a56i(0x1da)]=Logger['getInstance']();[a56i(0x1f2)];['description'];[a56i(0x1ea)]=new Map();[a56i(0x1ef)];[a56i(0x1dd)];[a56i(0x1d8)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x1f2)]=a['name'],this[j(0x1c8)]=a['description'],this['roomType']=a[j(0x1ef)]||RoomType['INSIDE'],a[j(0x1ea)]&&(this[j(0x1ea)]=a[j(0x1ea)]||new Map()),a['inventory']&&(this[j(0x1d8)]=a['inventory']),a['puzzle']&&(this[j(0x1d7)]=a[j(0x1d7)]),this[j(0x1dd)]=a[j(0x1dd)]||![],this[j(0x1da)][j(0x1c6)]('Room\x20created:\x20'+this[j(0x1f2)]);}[a56i(0x1f6)](a,b){const k=a56i;this[k(0x1fa)](k(0x1ff),a,b);}[a56i(0x1f3)](a,b,c){const l=a56i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1ea)][l(0x1d5)](a,d),b[l(0x1ea)][l(0x1d5)](this[l(0x1f8)](a),d);}['attemptUnlockExit'](a,b){const m=a56i,c=this['exits'][m(0x1d9)](a);if(c instanceof Door){const d=c[m(0x1d0)](b);return this['logger'][m(0x1c6)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0x1cb)+d),d?m(0x1de)+c[m(0x1f2)]+m(0x1c7):m(0x1de)+c['name']+'\x20remains\x20locked.';}return this[m(0x1da)][m(0x1c6)](m(0x1c1)+a),m(0x1f4);}['getExit'](a){const n=a56i;return this[n(0x1da)][n(0x1c6)](n(0x1ec)+a),this[n(0x1ea)][n(0x1d9)](a);}[a56i(0x1fb)](a){const o=a56i,b=this['exits']['get'](a),c=b instanceof Door&&b[o(0x1f9)]();return this[o(0x1da)][o(0x1c6)](o(0x1e8)+a+o(0x1c3)+c),c;}[a56i(0x1db)](a){const p=a56i;this[p(0x1d8)][p(0x1db)](a),this[p(0x1da)][p(0x1c6)](p(0x1e6)+this[p(0x1f2)]+':\x20'+a[p(0x1f2)]);}[a56i(0x1d3)](a){const q=a56i;this[q(0x1d8)][q(0x1fd)](a['name'])?(this[q(0x1d8)][q(0x1d3)](a[q(0x1f2)]),this['logger'][q(0x1c6)](q(0x1df)+this[q(0x1f2)]+':\x20'+a[q(0x1f2)])):this[q(0x1da)][q(0x1c6)](q(0x1ca)+this['name']+':\x20'+a[q(0x1f2)]);}[a56i(0x1e4)](a){const r=a56i;this['puzzle']=a,this['logger'][r(0x1c6)](r(0x1eb)+this[r(0x1f2)]+':\x20'+a[r(0x1c9)]);}['getOppositeDirection'](a){const s=a56i;switch(a){case s(0x1ee):return Direction[s(0x1f7)];case'south':return Direction['NORTH'];case s(0x1e7):return Direction[s(0x1ce)];case s(0x1e5):return Direction[s(0x1d6)];case'up':return Direction[s(0x1cc)];case'down':return Direction['UP'];default:throw new Error(s(0x1e9)+a);}}[a56i(0x1d2)](a){const t=a56i;for(const b of this['exits'][t(0x1f1)]()){if(b instanceof Door){if(b['roomA']===this&&b['roomB']===a||b[t(0x1c0)]===this&&b[t(0x1fc)]===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(0x88))/0x1+-parseInt(i(0xad))/0x2*(parseInt(i(0x85))/0x3)+-parseInt(i(0xb0))/0x4+-parseInt(i(0xb2))/0x5*(parseInt(i(0xbb))/0x6)+-parseInt(i(0xbd))/0x7+parseInt(i(0x7f))/0x8*(parseInt(i(0x8e))/0x9)+parseInt(i(0x9a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xdc3b4));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a['toString']()[k(0x87)](k(0xba))[k(0x8d)]()[k(0xbe)](a57a)[k(0x87)](k(0xba));});a57a();function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x7f;let f=c[d];return f;},a57d(a,b);}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a57c(){const E=['has','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','length','addExit','get','set','getCharacterLocation','addPuzzleToRoom','47512810nxwwBi','.\x20Room\x20','exits','roomFactory','\x20already\x20exists\x20in\x20the\x20scene.','Actor\x20with\x20name\x20','connectRooms','delete','addItemToRoom','Failed\x20to\x20set\x20','Failed\x20to\x20add\x20item\x20','logger','getRooms','removeRoom','determineStartRoom','\x22\x20does\x20not\x20exist.','\x20found\x20in\x20the\x20scene.','Removed\x20room\x20from\x20scene:\x20','rooms','3126RCpJlD','player','getActor','3903804ropszZ','characterLocations','1254275CcZxfK','direction','toUpperCase','Failed\x20to\x20add\x20puzzle.\x20Room\x20','actors','createExitsFromConfig','Added\x20room\x20to\x20scene:\x20','No\x20actor\x20with\x20name\x20','(((.+)+)+)+$','30AGMfpL','name','8695813HJTacI','constructor','join','\x20not\x20found\x20in\x20scene.','Room\x20\x22','roomConfiguration','write','keys','Added\x20puzzle\x20to\x20room\x20','getPlayer','keyRequired','targetRoom','setPuzzle','806456aFvLJB','\x20is\x20now\x20in\x20room\x20','Scene\x20initialized\x20with\x20rooms:\x20','setCharacterLocation','warn','apply','3405cedGIo','initialize','search','691628UGXYLF','isStartRoom','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','push','\x20to\x20room\x20','toString','63EHVFfG','from','addItem','generateRoomsFromConfig'];a57c=function(){return E;};return a57c();}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];[a57l(0xae)];[a57l(0xa5)];['actors'];['characterLocations']=new Map();[a57l(0x9d)];constructor(a){const m=a57l;super(),this['roomFactory']=new RoomFactory(),this[m(0xae)]=a[m(0xae)],this[m(0xac)]=this[m(0x91)](a['roomConfiguration']),this[m(0xa5)]=Logger['getInstance'](),this[m(0xb6)]=new Map(),this[m(0xb7)](a[m(0xc2)]),this[m(0xa5)][m(0xc3)](m(0x81)+Object[m(0xc4)](this[m(0xac)])[m(0xbf)](',\x20'));}[a57l(0x86)](){const n=a57l;this[n(0xae)]['currentLocation']=this[n(0xa8)]();}['generateRoomsFromConfig'](a){const o=a57l;if(!this['roomFactory'])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this['roomFactory']['createRoom'](c);b[c[o(0xbc)]]=d;}return b;}[a57l(0xb7)](a){const p=a57l;for(const b of a){const c=this[p(0xac)][b[p(0xbc)]];if(b[p(0x9c)])for(const d of b[p(0x9c)]){const e=d[p(0xb3)][p(0xb4)](),f=d[p(0xc8)],g=d[p(0xc7)],h=this[p(0xac)][f];h&&c[p(0x95)](Direction[e],h,g);}}}['addActor'](a){const q=a57l;if(this[q(0xb6)][q(0x92)](a[q(0xbc)]))throw new Error(q(0x9f)+a[q(0xbc)]+q(0x9e));this[q(0xb6)][q(0x97)](a[q(0xbc)],a);}['removeActor'](a){const r=a57l;if(!this[r(0xb6)][r(0x92)](a))throw new Error(r(0xb9)+a+r(0xaa));this[r(0xb6)][r(0xa1)](a);}[a57l(0xaf)](a){const s=a57l;return this['actors'][s(0x96)](a);}get['allActors'](){const t=a57l;return Array[t(0x8f)](this[t(0xb6)]['values']());}['addRoom'](a){const u=a57l;this[u(0xac)][a[u(0xbc)]]=a,this[u(0xa5)]['write'](u(0xb8)+a[u(0xbc)]);}[a57l(0xa7)](a){const v=a57l;return this[v(0xac)][a]?(delete this[v(0xac)][a],this[v(0xa5)][v(0xc3)](v(0xab)+a),!![]):(this[v(0xa5)][v(0xc3)](v(0x8a)+a),![]);}[a57l(0xa2)](a,b){const w=a57l,c=this['rooms'][b];c?(c[w(0x90)](a),this[w(0xa5)][w(0xc3)]('Added\x20item\x20'+a['name']+w(0x8c)+c['name'])):this[w(0xa5)][w(0xc3)](w(0xa4)+a[w(0xbc)]+w(0x9b)+b+'\x20not\x20found\x20in\x20scene.');}[a57l(0x99)](a,b){const x=a57l,c=this[x(0xac)][b];c?(c[x(0xc9)](a),this[x(0xa5)][x(0xc3)](x(0xc5)+c[x(0xbc)])):this[x(0xa5)][x(0xc3)](x(0xb5)+b+x(0xc0));}[a57l(0x82)](a,b){const y=a57l,c=this['rooms'][b];c?(this[y(0xb1)][y(0x97)](a[y(0xbc)],c),this['logger']['write'](a[y(0xbc)]+y(0x80)+c[y(0xbc)])):this['logger'][y(0xc3)](y(0xa3)+a['name']+'\x27s\x20location.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a57l(0x98)](a){const z=a57l;return this[z(0xb1)][z(0x96)](a[z(0xbc)]);}[a57l(0xa8)](){const A=a57l,a=[];for(const c in this['rooms']){if(this[A(0xac)]['hasOwnProperty'](c)){const d=this['rooms'][c];d[A(0x89)]&&a[A(0x8b)](d);}}if(a[A(0x94)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a['length']===0x1)return a[0x0];const b=Object['keys'](this[A(0xac)]);if(b[A(0x94)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[A(0x83)](A(0x93)),this['rooms'][b[0x0]];}[a57l(0xc6)](){const B=a57l;return this[B(0xae)];}[a57l(0xa6)](){const C=a57l;return this[C(0xac)];}[a57l(0xa0)](a,b,c,d){const D=a57l,e=this[D(0xac)][a],f=this[D(0xac)][c];if(!e)throw new Error(D(0xc1)+a+D(0xa9));if(!f)throw new Error(D(0xc1)+c+D(0xa9));e[D(0x95)](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);}}