@maka/maka-cli 5.0.41 → 5.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/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/_index.js +1 -1
  100. package/bundle/obf/src/commands/test/jest.sub.cmd.js +1 -1
  101. package/bundle/obf/src/commands/test/mocha.sub.cmd.js +1 -1
  102. package/bundle/obf/src/commands/test/test.command.js +1 -1
  103. package/bundle/obf/src/commands/undo.js +1 -1
  104. package/bundle/obf/src/commands/version.js +1 -1
  105. package/bundle/obf/src/error.js +1 -1
  106. package/bundle/obf/src/exec.js +1 -1
  107. package/bundle/obf/src/generator.js +1 -1
  108. package/bundle/obf/src/generators/_index.js +1 -1
  109. package/bundle/obf/src/generators/api.js +1 -1
  110. package/bundle/obf/src/generators/aws/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/aws.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  113. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  114. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  115. package/bundle/obf/src/generators/collection.js +1 -1
  116. package/bundle/obf/src/generators/component.js +1 -1
  117. package/bundle/obf/src/generators/config.js +1 -1
  118. package/bundle/obf/src/generators/dbc.js +1 -1
  119. package/bundle/obf/src/generators/dockerfile.js +1 -1
  120. package/bundle/obf/src/generators/hook.js +1 -1
  121. package/bundle/obf/src/generators/kits/_index.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  124. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  127. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  128. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/kit.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  132. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  133. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  134. package/bundle/obf/src/generators/layout.js +1 -1
  135. package/bundle/obf/src/generators/maka.gen.js +1 -1
  136. package/bundle/obf/src/generators/methods.js +1 -1
  137. package/bundle/obf/src/generators/package.js +1 -1
  138. package/bundle/obf/src/generators/page.js +1 -1
  139. package/bundle/obf/src/generators/publish.js +1 -1
  140. package/bundle/obf/src/generators/route.js +1 -1
  141. package/bundle/obf/src/generators/service.js +1 -1
  142. package/bundle/obf/src/generators/services/_index.js +1 -1
  143. package/bundle/obf/src/generators/services/openssl.js +1 -1
  144. package/bundle/obf/src/generators/services/translation.js +1 -1
  145. package/bundle/obf/src/maka.js +1 -1
  146. package/bundle/obf/src/tool.js +1 -1
  147. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  148. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  149. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  151. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  152. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  153. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  154. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  155. package/bundle/obf/src/tools/https/https.class.js +1 -1
  156. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  157. package/bundle/obf/src/tools/log/log.class.js +1 -1
  158. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  159. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  160. package/bundle/obf/src/tools/options/options.class.js +1 -1
  161. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  162. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  163. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  164. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  165. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  166. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  167. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  168. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  169. package/package.json +1 -1
@@ -1 +1 @@
1
- function a38c(){const m=['constructor','18498195vXxXeF','302378TyVSgM','logger','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','1135772EgePHy','You\x27re\x20not\x20in\x20a\x20valid\x20room.','description','look','getOtherSide','actor','1939690fnuxNu','\x20is\x20looking\x20around\x20the\x20current\x20room.','riddle','search','\x27\x20in\x20','You\x20cannot\x20see\x20through','\x27\x20in\x20current\x20room\x20inventory.','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','lookOutside','name','hasItem','\x20here.','Below\x20you,\x20','error','You\x20cannot\x20see\x20','12cKAMxC','join','write','Looking\x20at\x20item\x20\x27','It\x27s\x20just\x20a\x20regular\x20','inventory','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','rooms','inspectItem','string','8809752yolAbN','To\x20the\x20','You\x20don\x27t\x20see\x20any\x20','get','roomType','10312120ZdpXEh','puzzle','8NEDtOD','Executing\x20\x27Look\x27\x20command.','1644900mzQibL','(((.+)+)+)+$','currentLocation','exits','\x20inventory.','verb','execute',',\x20you\x20see\x20'];a38c=function(){return m;};return a38c();}const a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x179))/0x1+-parseInt(f(0x183))/0x2*(-parseInt(f(0x166))/0x3)+parseInt(f(0x186))/0x4+-parseInt(f(0x157))/0x5+parseInt(f(0x170))/0x6+-parseInt(f(0x175))/0x7+parseInt(f(0x177))/0x8*(parseInt(f(0x182))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xdd46c));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a['toString']()[g(0x15a)](g(0x17a))['toString']()[g(0x181)](a38a)[g(0x15a)](g(0x17a));});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x155;let f=c[d];return f;},a38d(a,b);}export class LookCommand extends Command{static [a38h(0x17e)]='look';static ['description']='Examine\x20your\x20surroundings';[a38h(0x17f)](a=[]){const i=a38h;this[i(0x184)]['write'](i(0x178));const b=a[i(0x167)]('\x20');if(b){if(this[i(0x156)][i(0x16b)][i(0x161)](b))return this[i(0x184)][i(0x168)]('Looking\x20at\x20item\x20\x27'+b+i(0x15b)+this['actor']['name']+i(0x17d)),this[i(0x16e)](b,this['actor'][i(0x16b)]);else{if(this[i(0x156)][i(0x17b)]['inventory'][i(0x161)](b))return this[i(0x184)]['write'](i(0x169)+b+i(0x15d)),this[i(0x16e)](b,this[i(0x156)]['currentLocation'][i(0x16b)]);else return this['isValidDirection'](b)?(this[i(0x184)][i(0x168)]('Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27'+b+'\x27.'),this[i(0x15f)](b)):i(0x165)+b;}}else return this[i(0x184)][i(0x168)](this[i(0x156)][i(0x160)]+i(0x158)),this[i(0x189)]();}[a38h(0x189)](){const j=a38h,a=this[j(0x156)][j(0x17b)];if(!a)return this[j(0x184)]['error'](this['actor'][j(0x160)]+j(0x185)),j(0x187);let b=a[j(0x188)];return a[j(0x176)]&&(b+='\x0a'+a[j(0x176)][j(0x159)]),b;}[a38h(0x15f)](a){const k=a38h,b=this[k(0x156)][k(0x17b)];if(!b)return this['logger'][k(0x164)](this[k(0x156)][k(0x160)]+k(0x185)),k(0x187);const c=b[k(0x17c)][k(0x173)](a);if(!c)return k(0x15e)+a+'\x22.';let d;if(c instanceof Door)d=c[k(0x155)](b);else{if(typeof c===k(0x16f)){d=this['rooms']&&this[k(0x16d)][c];if(!d)return'There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}else return k(0x16c)+a+'\x22.';}if(d[k(0x174)]===RoomType['OUTSIDE']){if(a==='up')return'Above\x20you,\x20'+d[k(0x188)];else return a==='down'?k(0x163)+d[k(0x188)]:k(0x171)+a+k(0x180)+d[k(0x188)];}else return k(0x15c);}[a38h(0x16e)](a,b){const l=a38h,c=b['getItem'](a);if(!c)return l(0x172)+a+l(0x162);return c[l(0x188)]||l(0x16a)+a+'.';}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x1c1))/0x1+-parseInt(f(0x195))/0x2+parseInt(f(0x1ba))/0x3*(-parseInt(f(0x1b8))/0x4)+-parseInt(f(0x1c8))/0x5*(parseInt(f(0x1ab))/0x6)+parseInt(f(0x1b1))/0x7+parseInt(f(0x1b0))/0x8*(parseInt(f(0x19f))/0x9)+parseInt(f(0x1aa))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x28442));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1bc)]()['search'](h(0x1a3))['toString']()['constructor'](a38a)[h(0x1b7)](h(0x1a3));});a38a();import{Door}from'../models/door.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x195;let f=c[d];return f;},a38d(a,b);}import{RoomType}from'../types/enums.js';import{Command}from'./command.js';function a38c(){const n=['Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','name','2916690khwOMl','64968urxXbW','You\x20cannot\x20see\x20through','You\x27re\x20not\x20in\x20a\x20valid\x20room.','execute','logger','1048jceJol','1205596higSeo','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','riddle','inventory','isValidDirection','description','search','4UBwDoC','currentLocation','526059ldtAKX','getOtherSide','toString','write','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','\x20inventory.','\x20is\x20looking\x20around\x20the\x20current\x20room.','328778PUlNkn','puzzle',',\x20you\x20see\x20','\x27\x20in\x20current\x20room\x20inventory.','Examine\x20your\x20surroundings','hasItem','verb','120VxBGvs','629486FwsLIx','down','Executing\x20\x27Look\x27\x20command.','actor','getItem','apply','lookOutside','exits','To\x20the\x20','rooms','8397HMFaUC','look','OUTSIDE','inspectItem','(((.+)+)+)+$','Looking\x20at\x20item\x20\x27','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','You\x20cannot\x20see\x20','get'];a38c=function(){return n;};return a38c();}export class LookCommand extends Command{static [a38i(0x1c7)]=a38i(0x1a0);static [a38i(0x1b6)]=a38i(0x1c5);[a38i(0x1ae)](a=[]){const j=a38i;this['logger'][j(0x1bd)](j(0x197));const b=a['join']('\x20');if(b){if(this['actor'][j(0x1b4)][j(0x1c6)](b))return this[j(0x1af)]['write'](j(0x1a4)+b+'\x27\x20in\x20'+this[j(0x198)][j(0x1a9)]+j(0x1bf)),this[j(0x1a2)](b,this[j(0x198)]['inventory']);else{if(this['actor'][j(0x1b9)][j(0x1b4)][j(0x1c6)](b))return this[j(0x1af)][j(0x1bd)](j(0x1a4)+b+j(0x1c4)),this[j(0x1a2)](b,this[j(0x198)]['currentLocation'][j(0x1b4)]);else return this[j(0x1b5)](b)?(this[j(0x1af)][j(0x1bd)]('Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27'+b+'\x27.'),this[j(0x19b)](b)):j(0x1a6)+b;}}else return this[j(0x1af)][j(0x1bd)](this[j(0x198)][j(0x1a9)]+j(0x1c0)),this[j(0x1a0)]();}[a38i(0x1a0)](){const k=a38i,a=this[k(0x198)][k(0x1b9)];if(!a)return this[k(0x1af)]['error'](this[k(0x198)][k(0x1a9)]+k(0x1be)),k(0x1ad);let b=a[k(0x1b6)];return a[k(0x1c2)]&&(b+='\x0a'+a[k(0x1c2)][k(0x1b3)]),b;}[a38i(0x19b)](a){const l=a38i,b=this[l(0x198)]['currentLocation'];if(!b)return this[l(0x1af)]['error'](this['actor'][l(0x1a9)]+l(0x1be)),l(0x1ad);const c=b[l(0x19c)][l(0x1a7)](a);if(!c)return l(0x1b2)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x1bb)](b);else{if(typeof c==='string'){d=this[l(0x19e)]&&this[l(0x19e)][c];if(!d)return l(0x1a5)+a+'\x22.';}else return l(0x1a8)+a+'\x22.';}if(d['roomType']===RoomType[l(0x1a1)]){if(a==='up')return'Above\x20you,\x20'+d[l(0x1b6)];else return a===l(0x196)?'Below\x20you,\x20'+d[l(0x1b6)]:l(0x19d)+a+l(0x1c3)+d[l(0x1b6)];}else return l(0x1ac);}[a38i(0x1a2)](a,b){const m=a38i,c=b[m(0x199)](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+'\x20here.';return c[m(0x1b6)]||'It\x27s\x20just\x20a\x20regular\x20'+a+'.';}}
@@ -1 +1 @@
1
- const a39j=a39d;function a39c(){const m=['1310115hiCzQi','apply','39070207logpYv','context','76gNhJaz','What\x20do\x20you\x20want\x20to\x20say?','(((.+)+)+)+$','name','An\x20error\x20occurred.','log','378gkOmJS','911281BSEnOx','filter','6ypEwOH','logger',':\x20\x22','description','currentLocation','actor','search','say','166557fkmPuu','4710770RAfmhF','execute','verb','280072yiLAMX','Scene\x20is\x20missing\x20from\x20context.','\x20says\x20to\x20','You\x20say:\x20\x22','length','9587746OHyUrv','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','2cqJeFE'];a39c=function(){return m;};return a39c();}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x18b))/0x1*(-parseInt(g(0x1a0))/0x2)+parseInt(g(0x195))/0x3*(-parseInt(g(0x1a5))/0x4)+-parseInt(g(0x1a1))/0x5+-parseInt(g(0x18d))/0x6*(-parseInt(g(0x19e))/0x7)+parseInt(g(0x199))/0x8*(-parseInt(g(0x1ab))/0x9)+-parseInt(g(0x196))/0xa+parseInt(g(0x1a3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xb7917));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x1a2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a['toString']()[i(0x193)](i(0x1a7))['toString']()['constructor'](a39a)[i(0x193)](i(0x1a7));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x18b;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0x198)]=a39j(0x194);static [a39j(0x190)]=a39j(0x19f);[a39j(0x1a4)];constructor(a){const k=a39j;super(a),this[k(0x1a4)]=a;}[a39j(0x197)](a){const l=a39j;if(a[l(0x19d)]===0x0)return l(0x1a6);const b=a['join']('\x20'),c=this[l(0x192)],d=this['context']['scene'];if(!d)return this[l(0x18e)][l(0x1aa)](l(0x19a)),l(0x1a9);const e=d['allActors'][l(0x18c)](f=>f[l(0x191)]===c['currentLocation']);for(const f of e){this[l(0x18e)]['log'](c[l(0x1a8)]+l(0x19b)+f[l(0x1a8)]+l(0x18f)+b+'\x22'),this['actor'][l(0x191)][l(0x194)](f,b);}return l(0x19c)+b+'\x22';}}
1
+ function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a39d(a,b);}const a39i=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x1c9))/0x1+parseInt(g(0x1ba))/0x2+-parseInt(g(0x1be))/0x3*(parseInt(g(0x1b8))/0x4)+parseInt(g(0x1c8))/0x5+parseInt(g(0x1cf))/0x6+parseInt(g(0x1d5))/0x7+-parseInt(g(0x1c3))/0x8*(parseInt(g(0x1c7))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xa7ce7));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x1d2)]()[h(0x1bc)](h(0x1cd))['toString']()[h(0x1b9)](a39a)[h(0x1bc)](h(0x1cd));});function a39c(){const l=['What\x20do\x20you\x20want\x20to\x20say?',':\x20\x22','103653QFvIav','788195ZvjKIE','540591Ewecte','\x20says\x20to\x20','An\x20error\x20occurred.','logger','(((.+)+)+)+$','length','5112402KdNqUl','execute','log','toString','verb','say','3483529vyBUPl','context','currentLocation','88dwqNNl','constructor','2301756vyPxsr','allActors','search','name','133599uqTusQ','filter','join','scene','You\x20say:\x20\x22','1064jCpPEc','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.'];a39c=function(){return l;};return a39c();}a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39i(0x1d3)]=a39i(0x1d4);static ['description']=a39i(0x1c4);['context'];constructor(a){const j=a39i;super(a),this[j(0x1b6)]=a;}[a39i(0x1d0)](a){const k=a39i;if(a[k(0x1ce)]===0x0)return k(0x1c5);const b=a[k(0x1c0)]('\x20'),c=this['actor'],d=this[k(0x1b6)][k(0x1c1)];if(!d)return this[k(0x1cc)][k(0x1d1)]('Scene\x20is\x20missing\x20from\x20context.'),k(0x1cb);const e=d[k(0x1bb)][k(0x1bf)](f=>f[k(0x1b7)]===c[k(0x1b7)]);for(const f of e){this[k(0x1cc)][k(0x1d1)](c[k(0x1bd)]+k(0x1ca)+f[k(0x1bd)]+k(0x1c6)+b+'\x22'),this['actor'][k(0x1b7)]['say'](f,b);}return k(0x1c2)+b+'\x22';}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x144))/0x1+-parseInt(f(0x13d))/0x2*(parseInt(f(0x138))/0x3)+-parseInt(f(0x149))/0x4*(parseInt(f(0x137))/0x5)+parseInt(f(0x13e))/0x6+parseInt(f(0x142))/0x7+parseInt(f(0x156))/0x8*(parseInt(f(0x145))/0x9)+parseInt(f(0x13c))/0xa*(-parseInt(f(0x13a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x32d8a));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x137;let f=c[d];return f;},a40d(a,b);}function a40c(){const k=['45891fzHVIz','35253XiikDX','inventory','apply','toString','22996sxuCjk','currentLocation','join','write','logger','constructor','name','SearchCommand:\x20','execute','(((.+)+)+)+$','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','length','You\x20search\x20the\x20area\x20and\x20find:\x20','592UMCAnB','115VJqWMH','387yXIATC','search','132vUdRyH','\x20found\x20the\x20following\x20items:\x20','436610lflWYX','38JAbmcy','1404546yDuobe','actor','Search\x20for\x20items\x20in\x20your\x20area','description','2079252vQiLlu','listItems'];a40c=function(){return k;};return a40c();}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()['search'](h(0x152))[h(0x148)]()[h(0x14e)](a40a)[h(0x139)](h(0x152));});a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a40i(0x139);static [a40i(0x141)]=a40i(0x140);[a40i(0x151)](){const j=a40i,a=this[j(0x13f)][j(0x14a)][j(0x146)][j(0x143)]();if(a[j(0x154)]===0x0)return this[j(0x14d)][j(0x14c)](j(0x150)+this[j(0x13f)]['name']+j(0x153)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0x14b)](',\x20');return this[j(0x14d)][j(0x14c)]('SearchCommand:\x20'+this[j(0x13f)][j(0x14f)]+j(0x13b)+b),j(0x155)+b;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x1f1))/0x1+-parseInt(f(0x1ee))/0x2+-parseInt(f(0x1de))/0x3*(parseInt(f(0x1e0))/0x4)+parseInt(f(0x1db))/0x5+parseInt(f(0x1e9))/0x6*(-parseInt(f(0x1e7))/0x7)+parseInt(f(0x1f2))/0x8+parseInt(f(0x1ea))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x6dae1));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1e8)]()[h(0x1eb)](h(0x1dc))[h(0x1e8)]()[h(0x1e3)](a40a)[h(0x1eb)](h(0x1dc));});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1db;let f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'./command.js';function a40c(){const k=['12mwTDzU','actor','177972SXumUX','inventory','You\x20search\x20the\x20area\x20and\x20find:\x20','constructor','\x20found\x20the\x20following\x20items:\x20','join','write','3416HMJajX','toString','7764czrEYB','14559057sbojXm','search','apply','currentLocation','1436556ADEXOV','execute','description','465471nwEEzR','1482336paQFLA','Search\x20for\x20items\x20in\x20your\x20area','length','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','3197385vICvcy','(((.+)+)+)+$','SearchCommand:\x20'];a40c=function(){return k;};return a40c();}export class SearchCommand extends Command{static ['verb']=a40i(0x1eb);static [a40i(0x1f0)]=a40i(0x1f3);[a40i(0x1ef)](){const j=a40i,a=this[j(0x1df)][j(0x1ed)][j(0x1e1)]['listItems']();if(a[j(0x1f4)]===0x0)return this['logger']['write'](j(0x1dd)+this[j(0x1df)]['name']+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0x1f5);const b=a[j(0x1e5)](',\x20');return this['logger'][j(0x1e6)](j(0x1dd)+this['actor']['name']+j(0x1e4)+b),j(0x1e2)+b;}}
@@ -1 +1 @@
1
- const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x115))/0x1+parseInt(f(0x10c))/0x2*(-parseInt(f(0x100))/0x3)+-parseInt(f(0x10d))/0x4+-parseInt(f(0x103))/0x5+parseInt(f(0x107))/0x6+-parseInt(f(0x10e))/0x7*(-parseInt(f(0x110))/0x8)+parseInt(f(0x111))/0x9*(parseInt(f(0x109))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x8a351));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a['toString']()['search'](h(0x116))[h(0x117)]()['constructor'](a41a)[h(0xfe)](h(0x116));});function a41c(){const k=['verb','description','672611qWihCi','(((.+)+)+)+$','toString','inventory','execute','solve','search','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','3XVeFCv','logger','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','1780075cCXwYo','toLowerCase','rewardItem','apply','1988520fhMOPV','currentLocation','810lxIvFB','Attempt\x20to\x20solve\x20a\x20puzzle.','write','1575178DfZXCJ','2339180oprZeS','1194921thHebh','message','48pqruJG','29583Vgaejn','join'];a41c=function(){return k;};return a41c();}a41a();import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xfd;let f=c[d];return f;},a41d(a,b);}export class SolveCommand extends Command{static [a41i(0x113)]=a41i(0xfd);static [a41i(0x114)]=a41i(0x10a);[a41i(0x119)](a){const j=a41i,b=a[j(0x112)]('\x20')[j(0x104)](),c=this['actor'][j(0x108)];if(!c||!c['puzzle'])return this[j(0x101)][j(0x10b)](j(0xff)),j(0x102);const d=c['puzzle'][j(0xfd)](b,this['actor']['inventory']);return d['success']&&c['puzzle'][j(0x105)]&&this['actor'][j(0x118)]['addItem'](c['puzzle']['rewardItem']),this[j(0x101)][j(0x10b)]('SolveCommand:\x20'+d[j(0x10f)]),d[j(0x10f)];}}
1
+ const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x1fc))/0x1+parseInt(f(0x1fe))/0x2*(-parseInt(f(0x200))/0x3)+-parseInt(f(0x1ec))/0x4+parseInt(f(0x1f4))/0x5+parseInt(f(0x1f0))/0x6+parseInt(f(0x20c))/0x7*(parseInt(f(0x1f1))/0x8)+parseInt(f(0x204))/0x9*(-parseInt(f(0x1ff))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xe8413));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x20a)]()[h(0x1f7)]('(((.+)+)+)+$')[h(0x20a)]()[h(0x1f9)](a41a)[h(0x1f7)](h(0x1f6));});a41a();import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1ec;let f=c[d];return f;},a41d(a,b);}export class SolveCommand extends Command{static [a41i(0x202)]='solve';static [a41i(0x205)]=a41i(0x207);[a41i(0x1fa)](a){const j=a41i,b=a[j(0x209)]('\x20')[j(0x20d)](),c=this[j(0x1ed)][j(0x1f2)];if(!c||!c[j(0x1ef)])return this['logger'][j(0x208)](j(0x206)),j(0x1f3);const d=c['puzzle'][j(0x203)](b,this['actor'][j(0x20e)]);return d[j(0x1fd)]&&c[j(0x1ef)][j(0x20b)]&&this[j(0x1ed)]['inventory'][j(0x1f5)](c['puzzle'][j(0x20b)]),this[j(0x201)][j(0x208)](j(0x1ee)+d[j(0x1fb)]),d[j(0x1fb)];}}function a41c(){const k=['126KnufRO','logger','verb','solve','954TFGubw','description','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','Attempt\x20to\x20solve\x20a\x20puzzle.','write','join','toString','rewardItem','7OnNWOi','toLowerCase','inventory','997228FDuNuf','actor','SolveCommand:\x20','puzzle','2820972iotRPj','8360008PNsZnr','currentLocation','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','5085465YTIdoQ','addItem','(((.+)+)+)+$','search','apply','constructor','execute','message','667042rLvqxX','success','17206pktaep','28610FdkWuD'];a41c=function(){return k;};return a41c();}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x73))/0x1+-parseInt(f(0x7b))/0x2+parseInt(f(0x89))/0x3*(-parseInt(f(0x88))/0x4)+-parseInt(f(0x9b))/0x5+-parseInt(f(0x8c))/0x6*(-parseInt(f(0x9a))/0x7)+parseInt(f(0x8f))/0x8*(parseInt(f(0x76))/0x9)+parseInt(f(0x86))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x5c6e0));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0x8a)](h(0x7e))[h(0x93)]()[h(0x87)](a42a)[h(0x8a)]('(((.+)+)+)+$');});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x72;let f=c[d];return f;},a42d(a,b);}a42a();function a42c(){const l=['addInventory','\x22\x20in\x20this\x20room.','message','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','apply','join','1889250bRaaSW','constructor','4wToJzs','300459ImzwEp','search','removeItem','6jFzUPm','description','You\x20have\x20taken\x20the\x20','456mSvqWw','\x22\x20not\x20found\x20in\x20','Successfully\x20added\x20\x22','verb','toString','toLowerCase','There\x20is\x20no\x20item\x20\x22','hasItem','Error\x20during\x20\x27Take\x27\x20command:\x20','Successfully\x20removed\x20\x22','The\x20item\x20\x22','4674418sXXOWQ','2432825RltzVh','execute','actor','name','\x22\x20from\x20','take','261928XbytwO','write','\x22\x20not\x20retrieved\x20from\x20','119043xukHYt','\x20during\x20\x27Take\x27\x20command.','inventory','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Item\x20\x22','766800aOBYUz','getItem','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','(((.+)+)+)+$','logger'];a42c=function(){return l;};return a42c();}import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0x92)]=a42i(0x72);static [a42i(0x8d)]='Pick\x20up\x20an\x20item.';[a42i(0x9c)](a){const j=a42i;return this[j(0x7f)][j(0x74)](j(0x7d)+a[j(0x85)]('\x20')),this[j(0x72)](a);}['take'](a){const k=a42i,b=a[k(0x85)]('\x20')[k(0x94)](),c=this[k(0x9d)]['currentLocation'];if(!c[k(0x78)][k(0x96)](b))return this[k(0x7f)][k(0x74)](k(0x7a)+b+k(0x90)+c[k(0x9e)]+k(0x77)),k(0x95)+b+k(0x81);const d=c[k(0x78)][k(0x7c)](b);if(!d)return this[k(0x7f)][k(0x74)](k(0x7a)+b+k(0x75)+c['name']+k(0x79)),'There\x20is\x20no\x20item\x20\x22'+b+'\x22\x20in\x20this\x20room.';try{return this[k(0x9d)][k(0x80)](d),this['logger'][k(0x74)](k(0x91)+b+'\x22\x20to\x20'+this[k(0x9d)][k(0x9e)]+k(0x83)),c[k(0x78)][k(0x8b)](b),this[k(0x7f)][k(0x74)](k(0x98)+b+k(0x9f)+c[k(0x9e)]+k(0x79)),k(0x8e)+b+'.';}catch(e){return this[k(0x7f)][k(0x74)](k(0x97)+e[k(0x82)]),k(0x99)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0xbb))/0x1+parseInt(f(0xba))/0x2*(-parseInt(f(0xcc))/0x3)+parseInt(f(0xd9))/0x4*(-parseInt(f(0xd1))/0x5)+-parseInt(f(0xdc))/0x6+parseInt(f(0xcf))/0x7*(-parseInt(f(0xbc))/0x8)+-parseInt(f(0xe1))/0x9*(-parseInt(f(0xe3))/0xa)+parseInt(f(0xde))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x8be07));function a42c(){const l=['There\x20is\x20no\x20item\x20\x22','inventory','hasItem','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','actor','description','take','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','The\x20item\x20\x22','Item\x20\x22','toString','apply','224061GyVTee','Pick\x20up\x20an\x20item.','\x22\x20not\x20retrieved\x20from\x20','14qaVLhR','name','229225KzxVci','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Successfully\x20removed\x20\x22','currentLocation','search','verb','\x22\x20not\x20found\x20in\x20','join','4sIhKLA','message','\x22\x20is\x20too\x20heavy\x20to\x20carry.','4188282YSTJBX','write','27826865IBBGhc','getItem','addInventory','15858mybfhu','(((.+)+)+)+$','3220YYggod','\x22\x20in\x20this\x20room.','22sATLLb','666537YJEKjh','1168632JFjSqQ','logger','execute','Error\x20during\x20\x27Take\x27\x20command:\x20'];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(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xca)]()[h(0xd5)]('(((.+)+)+)+$')[h(0xca)]()['constructor'](a42a)['search'](h(0xe2));});a42a();import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xba;let f=c[d];return f;},a42d(a,b);}export class TakeCommand extends Command{static [a42i(0xd6)]=a42i(0xc6);static [a42i(0xc5)]=a42i(0xcd);[a42i(0xbe)](a){const j=a42i;return this[j(0xbd)][j(0xdd)](j(0xc3)+a[j(0xd8)]('\x20')),this[j(0xc6)](a);}['take'](a){const k=a42i,b=a['join']('\x20')['toLowerCase'](),c=this[k(0xc4)][k(0xd4)];if(!c[k(0xc1)][k(0xc2)](b))return this[k(0xbd)][k(0xdd)](k(0xc9)+b+k(0xd7)+c['name']+'\x20during\x20\x27Take\x27\x20command.'),k(0xc0)+b+k(0xe4);const d=c['inventory'][k(0xdf)](b);if(!d)return this[k(0xbd)][k(0xdd)](k(0xc9)+b+k(0xce)+c[k(0xd0)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0xc0)+b+k(0xe4);try{return this[k(0xc4)][k(0xe0)](d),this[k(0xbd)][k(0xdd)]('Successfully\x20added\x20\x22'+b+'\x22\x20to\x20'+this[k(0xc4)]['name']+k(0xd2)),c[k(0xc1)]['removeItem'](b),this[k(0xbd)][k(0xdd)](k(0xd3)+b+'\x22\x20from\x20'+c[k(0xd0)]+k(0xc7)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this[k(0xbd)][k(0xdd)](k(0xbf)+e[k(0xda)]),k(0xc8)+b+k(0xdb);}}}
@@ -1 +1 @@
1
- const a43h=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x189;let f=c[d];return f;},a43d(a,b);}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x191))/0x1+parseInt(f(0x19d))/0x2*(parseInt(f(0x195))/0x3)+-parseInt(f(0x18f))/0x4+parseInt(f(0x19a))/0x5*(-parseInt(f(0x199))/0x6)+-parseInt(f(0x194))/0x7+parseInt(f(0x18d))/0x8+parseInt(f(0x192))/0x9*(parseInt(f(0x18b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x5c8c5));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const g=a43d;return a43a[g(0x18e)]()[g(0x193)](g(0x19b))[g(0x18e)]()[g(0x19c)](a43a)['search']('(((.+)+)+)+$');});a43a();function a43c(){const j=['1572qwxKeF','3215gWguFr','(((.+)+)+)+$','constructor','6Uphhmx','unequip','join','name','91870SXtMbK','execute','5564872ydgaoL','toString','1518796OkudlJ','logger','211429bTdgtQ','747sRbKpV','search','3846073JhUkVl','229980MTYXFz','Unequip\x20an\x20item.','UnequipCommand:\x20','\x20unqeuiped\x20'];a43c=function(){return j;};return a43c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']='unqeuip';static ['description']=a43h(0x196);[a43h(0x18c)](a){const i=a43h,b=a[i(0x189)]('\x20')['toLowerCase'](),c=this['actor'][i(0x19e)](b);return this[i(0x190)]['write'](i(0x197)+this['actor'][i(0x18a)]+i(0x198)+c),c;}}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0xaf))/0x1+-parseInt(f(0xba))/0x2*(parseInt(f(0xad))/0x3)+parseInt(f(0xb7))/0x4+-parseInt(f(0xbc))/0x5+parseInt(f(0xc1))/0x6+parseInt(f(0xc3))/0x7+parseInt(f(0xbe))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x6e532));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0xb1)]()[h(0xb5)](h(0xb9))['toString']()[h(0xb3)](a43a)[h(0xb5)](h(0xb9));});function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xad;let f=c[d];return f;},a43d(a,b);}a43a();import{Command}from'./command.js';function a43c(){const k=['toString','join','constructor','execute','search','unqeuip','2171720croNiO','name','(((.+)+)+)+$','4560hqIruD','\x20unqeuiped\x20','3462765pEsjgE','description','8039792vagtyU','write','actor','2389992lohZSR','unequip','4324649IWZdtr','792NZEaFu','UnequipCommand:\x20','817680NDOMyH','apply'];a43c=function(){return k;};return a43c();}export class UnequipCommand extends Command{static ['verb']=a43i(0xb6);static [a43i(0xbd)]='Unequip\x20an\x20item.';[a43i(0xb4)](a){const j=a43i,b=a[j(0xb2)]('\x20')['toLowerCase'](),c=this[j(0xc0)][j(0xc2)](b);return this['logger'][j(0xbf)](j(0xae)+this[j(0xc0)][j(0xb8)]+j(0xbb)+c),c;}}
@@ -1 +1 @@
1
- const a44j=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x6b))/0x1*(parseInt(h(0x73))/0x2)+-parseInt(h(0x80))/0x3+parseInt(h(0x75))/0x4*(-parseInt(h(0x76))/0x5)+parseInt(h(0x8e))/0x6*(-parseInt(h(0x86))/0x7)+parseInt(h(0x78))/0x8+parseInt(h(0x79))/0x9*(parseInt(h(0x88))/0xa)+parseInt(h(0x8a))/0xb*(-parseInt(h(0x7f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xad9e8));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(0x6d)]()['search'](i(0x6a))[i(0x6d)]()['constructor'](a44a)[i(0x89)](i(0x6a));});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x65;let f=c[d];return f;},a44d(a,b);}import{Door}from'../models/door.js';function a44c(){const m=['385WcrCyL','toLowerCase','2691504AasbBB','9qJooOy','name','\x20is\x20attempted\x20to\x20unlock\x20','exits','attemptUnlockExit','write','108cXLDgA','2813133fBaPGu','error','hasItem','getItem','Unlock\x20a\x20door.','actor','36197HYpHzk','logger','7218770ukAIfT','search','245333DwduUy','isValidDirection','There\x27s\x20no\x20door\x20named\x20\x22','unlockItemOrSolution','108iUDMGz','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','UnlockCommand:\x20','.\x20Result:\x20','UnlockCommand:\x20No\x20target\x20specified.','\x22\x20here.','(((.+)+)+)+$','77IBoyhB','length','toString','verb','inventory','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','currentLocation','34820ezFmXY','unlock','23700FFOJXK'];a44c=function(){return m;};return a44c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44j(0x6e)]=a44j(0x74);static ['description']=a44j(0x84);['execute'](a){const k=a44j;return this[k(0x74)](a);}['unlock'](a){const l=a44j;if(a[l(0x6c)]===0x0)return this[l(0x87)][l(0x81)](l(0x68)),l(0x65);const b=a[0x0]['toLowerCase'](),c=this['actor'][l(0x72)];if(this[l(0x8b)](b)&&c[l(0x7c)]['has'](b)){const d=c[l(0x7c)]['get'](b);if(d instanceof Door){const e=d[l(0x8d)]?.[l(0x77)]();if(e&&this[l(0x85)][l(0x6f)][l(0x82)](e)){const f=this[l(0x85)][l(0x6f)][l(0x83)](e);if(f){const g=c[l(0x7d)](b,f['name']);return this[l(0x87)][l(0x7e)](l(0x66)+this['actor'][l(0x7a)]+l(0x7b)+b+l(0x67)+g),g;}}return this[l(0x87)][l(0x7e)]('UnlockCommand:\x20'+this[l(0x85)][l(0x7a)]+l(0x71)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this[l(0x87)][l(0x7e)](l(0x66)+b+l(0x70)+c['name']+'.'),l(0x8c)+b+l(0x69);}else return this['logger'][l(0x7e)](l(0x66)+b+l(0x70)+c[l(0x7a)]+'.'),l(0x8c)+b+l(0x69);}}
1
+ function a44c(){const n=['12031380aSFoyT','447777ukntcE','toString','has','61638rtOCzZ','18ZQMsPi','error','inventory','description','currentLocation','155eBqNtA','toLowerCase','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','1030992omZRgC','23854DFNAbn','getItem','unlockItemOrSolution','search','Unlock\x20a\x20door.','unlock','isValidDirection','.\x20Result:\x20','get','There\x27s\x20no\x20door\x20named\x20\x22','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','exits','actor','apply','name','write','hasItem','attemptUnlockExit','4538793ezEooP','length','logger','\x22\x20here.','5218444PgfDck','constructor','124yOySVk','(((.+)+)+)+$','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','UnlockCommand:\x20'];a44c=function(){return n;};return a44c();}const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x1a2))/0x1*(-parseInt(h(0x18a))/0x2)+-parseInt(h(0x1a7))/0x3+parseInt(h(0x1a0))/0x4+-parseInt(h(0x186))/0x5*(-parseInt(h(0x1aa))/0x6)+-parseInt(h(0x19c))/0x7+parseInt(h(0x189))/0x8*(parseInt(h(0x1ab))/0x9)+parseInt(h(0x1a6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xc51ba));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x197)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x1a8)]()[j(0x18d)](j(0x1a3))[j(0x1a8)]()[j(0x1a1)](a44a)[j(0x18d)](j(0x1a3));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x185;let f=c[d];return f;},a44d(a,b);}a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']=a44k(0x18f);static [a44k(0x1ae)]=a44k(0x18e);['execute'](a){const l=a44k;return this[l(0x18f)](a);}['unlock'](a){const m=a44k;if(a[m(0x19d)]===0x0)return this[m(0x19e)][m(0x1ac)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0x1a4);const b=a[0x0][m(0x187)](),c=this[m(0x196)][m(0x185)];if(this[m(0x190)](b)&&c[m(0x195)][m(0x1a9)](b)){const d=c[m(0x195)][m(0x192)](b);if(d instanceof Door){const e=d[m(0x18c)]?.[m(0x187)]();if(e&&this[m(0x196)][m(0x1ad)][m(0x19a)](e)){const f=this[m(0x196)][m(0x1ad)][m(0x18b)](e);if(f){const g=c[m(0x19b)](b,f[m(0x198)]);return this[m(0x19e)][m(0x199)](m(0x1a5)+this[m(0x196)]['name']+'\x20is\x20attempted\x20to\x20unlock\x20'+b+m(0x191)+g),g;}}return this[m(0x19e)][m(0x199)](m(0x1a5)+this['actor'][m(0x198)]+m(0x188)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this[m(0x19e)][m(0x199)](m(0x1a5)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x198)]+'.'),m(0x193)+b+m(0x19f);}else return this[m(0x19e)]['write']('UnlockCommand:\x20'+b+m(0x194)+c[m(0x198)]+'.'),m(0x193)+b+m(0x19f);}}
@@ -1 +1 @@
1
- const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x7a))/0x1+-parseInt(f(0x8d))/0x2*(parseInt(f(0x84))/0x3)+parseInt(f(0x87))/0x4*(-parseInt(f(0x7c))/0x5)+parseInt(f(0x9c))/0x6*(-parseInt(f(0x8e))/0x7)+-parseInt(f(0x93))/0x8+parseInt(f(0x99))/0x9*(parseInt(f(0x7f))/0xa)+parseInt(f(0x94))/0xb*(parseInt(f(0x89))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xb3393));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x88)]()[h(0x90)](h(0x85))[h(0x88)]()[h(0x8b)](a45a)['search']('(((.+)+)+)+$');});function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x75;let f=c[d];return f;},a45d(a,b);}function a45c(){const l=['getItem','1491955xNFPPq','hasItem','use','90QJKhWO','\x20doesn\x27t\x20have\x20a\x20use\x20method.','description','\x20to\x20use.','name','87kBYyRc','(((.+)+)+)+$','logger','16jupfHP','toString','48VdoCkv','\x20attempted\x20to\x20use\x20','constructor','\x27s\x20inventory.','23804HLKnWx','7cevxPs','verb','search','\x20used\x20','toLowerCase','9208616QCdEKc','9995051BlGgKV','execute','apply','join','UseCommand:\x20','1359954uBZsBZ','actor','inventory','4150080pJobJr',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','\x20not\x20retrieved\x20from\x20','Use\x20an\x20item.','write','function','You\x20don\x27t\x20have\x20the\x20','\x20in\x20this\x20way.','878940dtjlFU'];a45c=function(){return l;};return a45c();}a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0x8f)]=a45i(0x7e);static [a45i(0x81)]=a45i(0x75);[a45i(0x95)](a){const j=a45i;return this[j(0x7e)](a);}['use'](a){const k=a45i,b=a[k(0x97)]('\x20')[k(0x92)]();if(!this[k(0x9a)][k(0x9b)][k(0x7d)](b))return this[k(0x86)][k(0x76)](k(0x98)+this[k(0x9a)][k(0x83)]+k(0x8a)+b+k(0x9d)),k(0x78)+b+k(0x82);const c=this[k(0x9a)][k(0x9b)][k(0x7b)](b);if(!c)return this['logger'][k(0x76)]('UseCommand:\x20'+b+k(0x9e)+this[k(0x9a)][k(0x83)]+k(0x8c)),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x82);if(typeof c[k(0x7e)]===k(0x77)){const d=c[k(0x7e)]();return this[k(0x86)][k(0x76)]('UseCommand:\x20'+this[k(0x9a)][k(0x83)]+k(0x91)+b+'.'),d;}else return this[k(0x86)][k(0x76)](k(0x98)+b+k(0x80)),'You\x20can\x27t\x20use\x20the\x20'+b+k(0x79);}}
1
+ const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x189))/0x1*(parseInt(f(0x188))/0x2)+-parseInt(f(0x196))/0x3+parseInt(f(0x19e))/0x4*(-parseInt(f(0x1a9))/0x5)+parseInt(f(0x18e))/0x6*(-parseInt(f(0x1aa))/0x7)+parseInt(f(0x1a1))/0x8*(parseInt(f(0x195))/0x9)+parseInt(f(0x18d))/0xa+parseInt(f(0x18b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xcde4f));function a45c(){const k=['3070269GjTyoD','\x20doesn\x27t\x20have\x20a\x20use\x20method.','constructor','verb','\x20to\x20use.','search','UseCommand:\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','40QFgTGM','logger','toLowerCase','48FzzcPj','join','\x20used\x20','actor','description','apply','\x27s\x20inventory.','name','592595oMExHL','217boVHkl','toString','\x20attempted\x20to\x20use\x20','\x20in\x20this\x20way.','execute','462122RyzwZF','1CNgDDe','use','7802982UOpfsH','write','12462630tiRDtJ','51876FHjmjV','(((.+)+)+)+$','function','\x20not\x20retrieved\x20from\x20','getItem','Use\x20an\x20item.','You\x20don\x27t\x20have\x20the\x20','2393127XTTeRU'];a45c=function(){return k;};return a45c();}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x1ab)]()[h(0x19b)](h(0x18f))[h(0x1ab)]()[h(0x198)](a45a)[h(0x19b)](h(0x18f));});a45a();function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x185;let f=c[d];return f;},a45d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0x199)]=a45i(0x18a);static [a45i(0x1a5)]=a45i(0x193);[a45i(0x187)](a){return this['use'](a);}['use'](a){const j=a45i,b=a[j(0x1a2)]('\x20')[j(0x1a0)]();if(!this[j(0x1a4)]['inventory']['hasItem'](b))return this['logger'][j(0x18c)](j(0x19c)+this[j(0x1a4)][j(0x1a8)]+j(0x185)+b+j(0x19d)),j(0x194)+b+j(0x19a);const c=this['actor']['inventory'][j(0x192)](b);if(!c)return this[j(0x19f)][j(0x18c)](j(0x19c)+b+j(0x191)+this[j(0x1a4)][j(0x1a8)]+j(0x1a7)),j(0x194)+b+j(0x19a);if(typeof c[j(0x18a)]===j(0x190)){const d=c['use']();return this[j(0x19f)][j(0x18c)](j(0x19c)+this[j(0x1a4)][j(0x1a8)]+j(0x1a3)+b+'.'),d;}else return this['logger'][j(0x18c)]('UseCommand:\x20'+b+j(0x197)),'You\x20can\x27t\x20use\x20the\x20'+b+j(0x186);}}
@@ -1 +1 @@
1
- const a46h=a46d;function a46c(){const k=['821611MdVzNv','6326JtWDZI','8109UwFfdE','commandMap','constructor','2UThzCI','toString','(((.+)+)+)+$','1282296RMmvzL','873882lQmwdh','createCommand','search','125394Jtlrra','3190fpltgs','16LVMGzr','202385nmOFxK'];a46c=function(){return k;};return a46c();}(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x136))/0x1*(-parseInt(f(0x132))/0x2)+parseInt(f(0x12d))/0x3*(parseInt(f(0x12f))/0x4)+parseInt(f(0x130))/0x5+parseInt(f(0x13a))/0x6+-parseInt(f(0x131))/0x7+parseInt(f(0x139))/0x8+parseInt(f(0x133))/0x9*(-parseInt(f(0x12e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x1c1c1));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['toString']()[g(0x13c)](g(0x138))[g(0x137)]()[g(0x135)](a46a)['search'](g(0x138));});function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x12d;let f=c[d];return f;},a46d(a,b);}a46a();export class CommandFactory{static [a46h(0x134)]={};static['registerCommand'](a,b){const i=a46h;this[i(0x134)][a]=b;}static[a46h(0x13b)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const j=a46h;return this[j(0x134)];}}
1
+ const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x155))/0x1*(-parseInt(f(0x159))/0x2)+parseInt(f(0x153))/0x3*(-parseInt(f(0x15e))/0x4)+parseInt(f(0x15c))/0x5+-parseInt(f(0x160))/0x6*(parseInt(f(0x165))/0x7)+parseInt(f(0x156))/0x8*(parseInt(f(0x15a))/0x9)+parseInt(f(0x15b))/0xa*(-parseInt(f(0x161))/0xb)+parseInt(f(0x15d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xaef0d));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x162)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a['toString']()[h(0x164)](h(0x157))[h(0x163)]()['constructor'](a46a)[h(0x164)]('(((.+)+)+)+$');});function a46c(){const l=['381214CvLdQq','3451473jAJMMr','139420CmtKPV','6351005RkUeFx','18246012cpdDti','2208296GQXuIa','commandMap','684TNSXqF','176pvzwMt','apply','toString','search','81256MjEBrq','6jOgEYS','createCommand','1TLTyMq','16KuzFKo','(((.+)+)+)+$','registerCommand'];a46c=function(){return l;};return a46c();}function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x153;let f=c[d];return f;},a46d(a,b);}a46a();export class CommandFactory{static ['commandMap']={};static[a46i(0x158)](a,b){const j=a46i;this[j(0x15f)][a]=b;}static[a46i(0x154)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const k=a46i;return this[k(0x15f)];}}
@@ -1 +1 @@
1
- const a47h=a47d;function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a47d(a,b);}(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x1d7))/0x1+parseInt(f(0x1db))/0x2*(parseInt(f(0x1ef))/0x3)+-parseInt(f(0x1da))/0x4*(-parseInt(f(0x1dc))/0x5)+parseInt(f(0x1df))/0x6+parseInt(f(0x1d0))/0x7+-parseInt(f(0x1ce))/0x8*(-parseInt(f(0x1f0))/0x9)+parseInt(f(0x1d2))/0xa*(-parseInt(f(0x1d4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x718b0));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const g=a47d;return a47a[g(0x1ea)]()[g(0x1f1)](g(0x1e9))['toString']()[g(0x1ee)](a47a)[g(0x1f1)](g(0x1e9));});a47a();function a47c(){const n=['book','forEach','(((.+)+)+)+$','toString','gauntlets','items','description','constructor','5157ItkdTu','3115089kfsMTn','search','content','8FBzubP','addItem','1032976fVoOpR','INSIDE','215680gsLIdb','convertToRoomConfig','968PyUlJl','gloves','legarmor','589590dDHFqd','createPuzzle','rewardItem','1512944tjHXPp','948KpkgMt','10zhpmZt','createItem','inventory','5326074QHRvSG','isStartRoom','toUpperCase','roomType','puzzle','createRoom','name','type'];a47c=function(){return n;};return a47c();}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{[a47h(0x1e4)](a){const i=a47h,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[i(0x1ec)]){const d=new Inventory();a[i(0x1ec)][i(0x1e8)](e=>{const j=i;d[j(0x1cf)](this['createItem'](e));}),c[i(0x1de)]=d;}return a[i(0x1e3)]&&c['setPuzzle'](this[i(0x1d8)](a[i(0x1e3)])),c;}[a47h(0x1dd)](a){const k=a47h;switch(a[k(0x1e6)]){case'key':return new Key(a[k(0x1e5)],a[k(0x1ed)]);case k(0x1e7):return new Book(a['name'],a['description'],a[k(0x1f2)]);case'sword':return new Sword(a['name'],a[k(0x1ed)]);case'rifle':return new Rifle(a[k(0x1e5)],a[k(0x1ed)]);case'helmet':return new Helmet(a[k(0x1e5)],a[k(0x1ed)]);case'bodyarmor':return new BodyArmor(a['name'],a[k(0x1ed)]);case k(0x1d6):return new LegArmor(a[k(0x1e5)],a[k(0x1ed)]);case'boots':return new Boots(a[k(0x1e5)],a['description']);case k(0x1d5):return new Gloves(a[k(0x1e5)],a['description']);case k(0x1eb):return new Gauntlets(a[k(0x1e5)],a[k(0x1ed)]);default:return new BasicItem(a[k(0x1e5)],a[k(0x1ed)]);}}[a47h(0x1d8)](a){const l=a47h,b=this['createItem'](a[l(0x1d9)]);return new Puzzle({...a,'rewardItem':b});}[a47h(0x1d3)](a){const m=a47h,b=a[m(0x1e2)]&&RoomType[a['roomType'][m(0x1e1)]()]?RoomType[a[m(0x1e2)][m(0x1e1)]()]:RoomType[m(0x1d1)];return{'name':a['name'],'description':a['description'],'isStartRoom':a[m(0x1e0)],'roomType':b};}}
1
+ const a47i=a47d;function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x19a;let f=c[d];return f;},a47d(a,b);}(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x1ad))/0x1*(-parseInt(f(0x1b2))/0x2)+-parseInt(f(0x1a7))/0x3*(-parseInt(f(0x1b4))/0x4)+-parseInt(f(0x1a4))/0x5+-parseInt(f(0x1b3))/0x6+parseInt(f(0x1aa))/0x7+parseInt(f(0x1af))/0x8+-parseInt(f(0x1ac))/0x9*(parseInt(f(0x1ba))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x97ecc));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x19c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()[h(0x1bd)](h(0x1a2))[h(0x1a6)]()[h(0x1bb)](a47a)[h(0x1bd)](h(0x1a2));});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(0x1b1)](a){const j=a47i,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[j(0x1b7)]){const d=new Inventory();a[j(0x1b7)]['forEach'](e=>{d['addItem'](this['createItem'](e));}),c['inventory']=d;}return a[j(0x19e)]&&c[j(0x1b8)](this[j(0x19d)](a['puzzle'])),c;}[a47i(0x1a8)](a){const k=a47i;switch(a['type']){case k(0x1a1):return new Key(a['name'],a[k(0x1a0)]);case'book':return new Book(a[k(0x19a)],a[k(0x1a0)],a[k(0x1ae)]);case k(0x1b9):return new Sword(a['name'],a['description']);case k(0x1bc):return new Rifle(a['name'],a[k(0x1a0)]);case k(0x1a9):return new Helmet(a['name'],a[k(0x1a0)]);case'bodyarmor':return new BodyArmor(a[k(0x19a)],a[k(0x1a0)]);case k(0x1b6):return new LegArmor(a[k(0x19a)],a[k(0x1a0)]);case k(0x1ab):return new Boots(a[k(0x19a)],a['description']);case k(0x1a3):return new Gloves(a[k(0x19a)],a['description']);case k(0x1b5):return new Gauntlets(a[k(0x19a)],a[k(0x1a0)]);default:return new BasicItem(a['name'],a[k(0x1a0)]);}}[a47i(0x19d)](a){const l=a47i,b=this[l(0x1a8)](a[l(0x1be)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0x19b)](a){const m=a47i,b=a[m(0x1a5)]&&RoomType[a[m(0x1a5)][m(0x19f)]()]?RoomType[a[m(0x1a5)][m(0x19f)]()]:RoomType[m(0x1b0)];return{'name':a['name'],'description':a['description'],'isStartRoom':a['isStartRoom'],'roomType':b};}}function a47c(){const n=['gloves','954265KlNcku','roomType','toString','768363LMgaXU','createItem','helmet','3282517PtCLpA','boots','18kwHZBR','331NsTHur','content','9352120UETLui','INSIDE','createRoom','4394VWPcoW','6181800TGxunk','16HEcBol','gauntlets','legarmor','items','setPuzzle','sword','458930SmGWhb','constructor','rifle','search','rewardItem','name','convertToRoomConfig','apply','createPuzzle','puzzle','toUpperCase','description','key','(((.+)+)+)+$'];a47c=function(){return n;};return a47c();}
@@ -1 +1 @@
1
- const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0x1b1))/0x1*(parseInt(h(0x1d0))/0x2)+parseInt(h(0x19e))/0x3+parseInt(h(0x19b))/0x4*(-parseInt(h(0x1c4))/0x5)+parseInt(h(0x1bf))/0x6*(-parseInt(h(0x1c6))/0x7)+parseInt(h(0x1ad))/0x8*(-parseInt(h(0x1ac))/0x9)+-parseInt(h(0x1c1))/0xa*(parseInt(h(0x1aa))/0xb)+parseInt(h(0x1ba))/0xc*(parseInt(h(0x1c9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x877f5));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x1cd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x1b4)]()['search'](j(0x1c2))['toString']()[j(0x1ab)](a48a)[j(0x1a7)](j(0x1c2));});a48a();function a48c(){const s=['You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','3581710jrHgcX','constructor','2438955qHLPxb','16lJdGhd','instance','clear','split','26iYHvPV','help','currentRoom','toString','toLowerCase','getInstance','getHelpMessage','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','equip','237636VsXeNn','-\x20quit:\x20Exit\x20the\x20game.\x0a','-\x20clear:\x20Clear\x20the\x20screen.\x0a','lock','player','462TrgBif','registerCommand','10yhHZbE','(((.+)+)+)+$','determineStartRoom','20dksDmN','Welcome,\x20','45962ZnhSIs','say','hasOwnProperty','1313NYxgYz','execute','trim','unlock','apply','scene','handleInput','3868eAUYXK','getRooms','Available\x20Commands:\x0a','rooms','815212OFFdVn','quit','getDescription','2380716AIKbBM','maka','createCommand','look','registerCommands','unequip','initialize','take','getWelcomeMessage','search','slice'];a48c=function(){return s;};return a48c();}import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x198;let f=c[d];return f;},a48d(a,b);}import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a48k(0x1ce)];[a48k(0x1be)];[a48k(0x1b3)];[a48k(0x19a)];constructor(a,b){const l=a48k;this[l(0x1be)]=a,this[l(0x1ce)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x1ce)][l(0x1a4)](),this['player']['currentLocation']=this[l(0x1c3)](),this[l(0x1a2)]();}['registerCommands'](){const m=a48k;CommandFactory[m(0x1c0)](m(0x1a1),LookCommand),CommandFactory[m(0x1c0)]('go',GoCommand),CommandFactory[m(0x1c0)](m(0x1a5),TakeCommand),CommandFactory['registerCommand']('use',UseCommand),CommandFactory['registerCommand'](m(0x1b9),EquipCommand),CommandFactory['registerCommand'](m(0x1a3),UnequipCommand),CommandFactory['registerCommand']('solve',SolveCommand),CommandFactory[m(0x1c0)]('drop',DropCommand),CommandFactory[m(0x1c0)](m(0x1cc),UnlockCommand),CommandFactory['registerCommand'](m(0x1bd),LockCommand),CommandFactory[m(0x1c0)](m(0x1a7),SearchCommand),CommandFactory['registerCommand'](m(0x1c7),SayCommand);}['determineStartRoom'](){const n=a48k;return this[n(0x1ce)]['determineStartRoom']();}[a48k(0x1a6)](){const o=a48k;return o(0x1c5)+this[o(0x1be)]['name'];}static[a48k(0x1b6)](a,b){const p=a48k;return!Game['instance']&&(Game['instance']=new Game(a,b)),Game[p(0x1ae)];}[a48k(0x1cf)](a){const q=a48k,b=a[q(0x1cb)]()[q(0x1b0)]('\x20'),c=b[0x0][q(0x1b5)](),d=b[q(0x1a8)](0x1);if(c===q(0x19c))return null;if(c===q(0x19f))return q(0x1a9);if(c===q(0x1b2))return this[q(0x1b7)]();if(c===q(0x1af))return'';const e={'actor':this[q(0x1be)],'rooms':this['scene'][q(0x198)](),'scene':this[q(0x1ce)]},f=CommandFactory[q(0x1a0)](c,e);if(f){const g=f[q(0x1ca)](d);return g;}return q(0x1b8)+c+'\x22.';}[a48k(0x1b7)](){const r=a48k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x199);for(const c in a){if(a[r(0x1c8)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x19d)]()+'\x0a';}}return b+=r(0x1bc),b+=r(0x1bb),b;}}
1
+ const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x158))/0x1+-parseInt(h(0x14e))/0x2+-parseInt(h(0x13d))/0x3+parseInt(h(0x154))/0x4+-parseInt(h(0x141))/0x5*(-parseInt(h(0x146))/0x6)+-parseInt(h(0x142))/0x7*(-parseInt(h(0x14a))/0x8)+-parseInt(h(0x15b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x65d7b));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x161)]()[j(0x134)](j(0x149))[j(0x161)]()[j(0x162)](a48a)[j(0x134)](j(0x149));});a48a();function a48c(){const s=['drop','getAllRegisteredCommands','3399714MemFHe','initialize','Available\x20Commands:\x0a','trim','solve','name','toString','constructor','-\x20clear:\x20Clear\x20the\x20screen.\x0a','hasOwnProperty','search','registerCommands','quit','apply','unequip','currentRoom','execute','lock','toLowerCase','2360982VfhkZC','registerCommand','instance','handleInput','666605dxDGil','9408QTFySh','getHelpMessage','Welcome,\x20','getWelcomeMessage','18GFoFzo','-\x20quit:\x20Exit\x20the\x20game.\x0a','split','(((.+)+)+)+$','1408AbmvvN','getInstance','maka','look','1269066HseaPv','player','use','determineStartRoom','take','currentLocation','3011316VkOnfa','scene','rooms','createCommand','827084mURsRO'];a48c=function(){return s;};return a48c();}import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';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';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x134;let f=c[d];return f;},a48d(a,b);}import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0x13f)];[a48k(0x155)];['player'];[a48k(0x139)];[a48k(0x156)];constructor(a,b){const l=a48k;this[l(0x14f)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0x15c)](),this[l(0x14f)][l(0x153)]=this['determineStartRoom'](),this[l(0x135)]();}[a48k(0x135)](){const m=a48k;CommandFactory[m(0x13e)](m(0x14d),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory['registerCommand'](m(0x152),TakeCommand),CommandFactory[m(0x13e)](m(0x150),UseCommand),CommandFactory[m(0x13e)]('equip',EquipCommand),CommandFactory['registerCommand'](m(0x138),UnequipCommand),CommandFactory[m(0x13e)](m(0x15f),SolveCommand),CommandFactory[m(0x13e)](m(0x159),DropCommand),CommandFactory[m(0x13e)]('unlock',UnlockCommand),CommandFactory['registerCommand'](m(0x13b),LockCommand),CommandFactory['registerCommand'](m(0x134),SearchCommand),CommandFactory['registerCommand']('say',SayCommand);}[a48k(0x151)](){const n=a48k;return this[n(0x155)][n(0x151)]();}[a48k(0x145)](){const o=a48k;return o(0x144)+this[o(0x14f)][o(0x160)];}static[a48k(0x14b)](a,b){const p=a48k;return!Game[p(0x13f)]&&(Game[p(0x13f)]=new Game(a,b)),Game['instance'];}[a48k(0x140)](a){const q=a48k,b=a[q(0x15e)]()[q(0x148)]('\x20'),c=b[0x0][q(0x13c)](),d=b['slice'](0x1);if(c===q(0x136))return null;if(c===q(0x14c))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c==='help')return this[q(0x143)]();if(c==='clear')return'';const e={'actor':this['player'],'rooms':this[q(0x155)]['getRooms'](),'scene':this['scene']},f=CommandFactory[q(0x157)](c,e);if(f){const g=f[q(0x13a)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a48k(0x143)](){const r=a48k,a=CommandFactory[r(0x15a)]();let b=r(0x15d);for(const c in a){if(a[r(0x164)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=r(0x163),b+=r(0x147),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1b6))/0x1*(-parseInt(f(0x1b8))/0x2)+parseInt(f(0x1b4))/0x3+-parseInt(f(0x1b2))/0x4+-parseInt(f(0x1b9))/0x5*(-parseInt(f(0x1bb))/0x6)+-parseInt(f(0x1b7))/0x7*(-parseInt(f(0x1ad))/0x8)+-parseInt(f(0x1b1))/0x9*(parseInt(f(0x1ba))/0xa)+parseInt(f(0x1ae))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x47c9e));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1af)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1b0)]()['search'](h(0x1b3))['toString']()['constructor'](a49a)[h(0x1b5)](h(0x1b3));});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a49c(){var i=['toString','36ooMjqK','1672752QEAlZH','(((.+)+)+)+$','691881PHqfTJ','search','4147FbsOtt','658581PLhQnH','142tbAesi','75BPkZGr','1317770exzINX','82182jgDANG','24fDoSIX','2492314HXTTJg','apply'];a49c=function(){return i;};return a49c();}export*from'./npc.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1ad;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 a49c(){var i=['630114ycPIfh','793800pzUudq','12pYXSTX','4803810oNxpQa','734188xvsgiJ','apply','(((.+)+)+)+$','search','164857UKhXkM','3597780QSjuak','48rTCaMJ','37398WztzqQ','23EWuyZX','toString','430tiLcsk'];a49c=function(){return i;};return a49c();}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1cf))/0x1*(-parseInt(f(0x1ce))/0x2)+-parseInt(f(0x1d2))/0x3*(-parseInt(f(0x1d4))/0x4)+-parseInt(f(0x1d5))/0x5+parseInt(f(0x1db))/0x6+parseInt(f(0x1d6))/0x7*(parseInt(f(0x1dc))/0x8)+parseInt(f(0x1d3))/0x9+parseInt(f(0x1d1))/0xa*(-parseInt(f(0x1da))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xbc81a));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1d7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0x1d9)](h(0x1d8))[h(0x1d0)]()['constructor'](a49a)['search'](h(0x1d8));});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1ce;var f=c[d];return f;},a49d(a,b);}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(0xba))/0x1*(parseInt(f(0xae))/0x2)+parseInt(f(0xa6))/0x3+-parseInt(f(0xbb))/0x4*(parseInt(f(0xb7))/0x5)+parseInt(f(0xb4))/0x6+parseInt(f(0xbc))/0x7+parseInt(f(0xad))/0x8+parseInt(f(0xbf))/0x9*(-parseInt(f(0xa9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x38565));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a['toString']()['search'](h(0xa7))[h(0xab)]()[h(0xb1)](a50a)[h(0xc1)](h(0xa7));});a50a();import{Logger}from'../utilities/logger.js';function a50c(){var n=['5396jhWydm','797412gHdqxD','.\x20Is\x20Locked:\x20','To\x20','24912AwkbKQ','isLocked','search','Door\x20unlocked:\x20','Door\x20created\x20between\x20','isLockable','write','\x20and\x20','apply','1019487DIwkDD','(((.+)+)+)+$','roomB','1430TmdCWU','getInstance','toString','unlockItemOrSolution','1924736crSvft','59218Mwspzn','checkIfLocked','logger','constructor','name','Failed\x20to\x20unlock\x20door:\x20','2292720jbfmSG','checkIfLockable','attemptUnlock','570zGwHDk','.\x20Used:\x20','roomA','10cnyCBG'];a50c=function(){return n;};return a50c();}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-0xa1;var f=c[d];return f;},a50d(a,b);}export class Door extends AbstractDoor{[a50i(0xb9)];['roomB'];[a50i(0xc0)];[a50i(0xac)];[a50i(0xb2)];['logger'];['isLockable'];constructor(a){var j=a50i;super(),this[j(0xb9)]=a['roomA'],this[j(0xa8)]=a[j(0xa8)],this['isLocked']=a['isLocked']||![],this['unlockItemOrSolution']=a[j(0xac)],this[j(0xb2)]=a[j(0xb2)]?capitalCase(a[j(0xb2)]):j(0xbe)+a[j(0xa8)][j(0xb2)],this[j(0xb0)]=Logger[j(0xaa)](),this[j(0xa2)]=!!a[j(0xac)],this[j(0xb0)][j(0xa3)](j(0xa1)+this[j(0xb9)][j(0xb2)]+j(0xa4)+this['roomB'][j(0xb2)]+j(0xbd)+this[j(0xc0)]);}['getOtherSide'](a){var k=a50i;return this[k(0xb9)]===a?this[k(0xa8)]:this[k(0xb9)];}[a50i(0xb6)](a){var l=a50i;if(this[l(0xc0)]&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this['isLocked']=![],this[l(0xb0)]['write'](l(0xc2)+this[l(0xb2)]+l(0xb8)+a),!![];return this[l(0xb0)]['write'](l(0xb3)+this[l(0xb2)]+'.\x20Used:\x20'+a),![];}[a50i(0xaf)](){var m=a50i;return this[m(0xc0)];}[a50i(0xb5)](){return this['isLockable'];}}
1
+ function a50c(){var o=['24EyufAb','roomB','12UGgPEp','8467118CbEpOU','getInstance','1539000WzMhoR','constructor','write','(((.+)+)+)+$','attemptUnlock','Failed\x20to\x20unlock\x20door:\x20','\x20and\x20','unlockItemOrSolution','6165630daGeHI','28nrkehk','apply','logger','isLocked','isLockable','toString','name','1MlcRhU','734580yexIyF','.\x20Used:\x20','Door\x20unlocked:\x20','search','1184990uGebOD','120807VZAEtr','roomA','getOtherSide','1765598RZjdZR'];a50c=function(){return o;};return a50c();}var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x194))/0x1*(-parseInt(f(0x17e))/0x2)+parseInt(f(0x195))/0x3+parseInt(f(0x181))/0x4*(-parseInt(f(0x17a))/0x5)+-parseInt(f(0x184))/0x6*(parseInt(f(0x18d))/0x7)+-parseInt(f(0x17f))/0x8*(parseInt(f(0x17b))/0x9)+parseInt(f(0x18c))/0xa+parseInt(f(0x182))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xb3db9));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a['toString']()[h(0x179)](h(0x187))[h(0x192)]()[h(0x185)](a50a)[h(0x179)](h(0x187));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x178;var f=c[d];return f;},a50d(a,b);}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0x17c)];[a50i(0x180)];[a50i(0x190)];[a50i(0x18b)];[a50i(0x193)];['logger'];['isLockable'];constructor(a){var j=a50i;super(),this[j(0x17c)]=a[j(0x17c)],this[j(0x180)]=a['roomB'],this['isLocked']=a[j(0x190)]||![],this['unlockItemOrSolution']=a[j(0x18b)],this['name']=a[j(0x193)]?capitalCase(a[j(0x193)]):'To\x20'+a[j(0x180)][j(0x193)],this['logger']=Logger[j(0x183)](),this[j(0x191)]=!!a[j(0x18b)],this[j(0x18f)]['write']('Door\x20created\x20between\x20'+this[j(0x17c)][j(0x193)]+j(0x18a)+this[j(0x180)][j(0x193)]+'.\x20Is\x20Locked:\x20'+this['isLocked']);}[a50i(0x17d)](a){var k=a50i;return this[k(0x17c)]===a?this[k(0x180)]:this[k(0x17c)];}[a50i(0x188)](a){var l=a50i;if(this[l(0x190)]&&this[l(0x18b)]&&this['unlockItemOrSolution']===a)return this['isLocked']=![],this['logger'][l(0x186)](l(0x178)+this['name']+l(0x196)+a),!![];return this[l(0x18f)][l(0x186)](l(0x189)+this['name']+'.\x20Used:\x20'+a),![];}['checkIfLocked'](){var m=a50i;return this[m(0x190)];}['checkIfLockable'](){var n=a50i;return this[n(0x191)];}}
@@ -1 +1 @@
1
- function a51c(){const q=['7578BiFXIf','hasItem','getInstance','has','set','873888hUvmAF','.\x20Item\x20not\x20found.','name','Added\x20item:\x20','27513kpuXEE','.\x20Exists:\x20','constructor','(((.+)+)+)+$','removeItem','toLowerCase','join','search','logger','Listed\x20items\x20in\x20inventory:\x20','delete','write','weight','284977qiggXS','2Jljrtb','999861qiylxH','\x20in\x20','Failed\x20to\x20remove\x20item:\x20','items','getItem','values','200354icviYT','2016pwGfwZ','290nmpiiD','toString','get','Checked\x20for\x20item:\x20','listItems','608325IezmOp','1072juvQpK','Retrieved\x20details\x20for\x20item:\x20','keys','\x20to\x20inventory.'];a51c=function(){return q;};return a51c();}const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0xe3))/0x1+-parseInt(f(0xdc))/0x2*(-parseInt(f(0xdd))/0x3)+parseInt(f(0xf4))/0x4+-parseInt(f(0xea))/0x5+parseInt(f(0xef))/0x6*(-parseInt(f(0xe4))/0x7)+-parseInt(f(0xeb))/0x8*(parseInt(f(0xf8))/0x9)+parseInt(f(0xe5))/0xa*(parseInt(f(0xdb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x32b2d));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(0xe6)]()[g(0xd5)](g(0xd1))['toString']()[g(0xd0)](a51a)[g(0xd5)](g(0xd1));});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xcf;let f=c[d];return f;},a51d(a,b);}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51h(0xe0)];['logger'];constructor(){const i=a51h;super(),this[i(0xe0)]=new Map(),this[i(0xd6)]=Logger[i(0xf1)]();}['addItem'](a){const j=a51h;this['items'][j(0xf3)](a[j(0xf6)][j(0xd3)](),a),this[j(0xd6)]['write'](j(0xf7)+a[j(0xf6)]+j(0xee));}[a51h(0xd2)](a){const k=a51h,b=this['getItem'](a);if(b)return this['items'][k(0xd8)](a[k(0xd3)]()),this[k(0xd6)][k(0xd9)]('Removed\x20item:\x20'+a+'\x20from\x20inventory.'),b;return this[k(0xd6)]['write'](k(0xdf)+a+k(0xf5)),null;}[a51h(0xf0)](a){const l=a51h,b=this['items'][l(0xf2)](a[l(0xd3)]()),c=[...this['items'][l(0xed)]()];return this[l(0xd6)][l(0xd9)](l(0xe8)+a+l(0xde)+c[l(0xd4)](',\x20')+l(0xcf)+b+'.'),b;}[a51h(0xe1)](a){const m=a51h,b=this['items'][m(0xe7)](a[m(0xd3)]())||null;return b?this['logger']['write'](m(0xec)+a+'.'):this[m(0xd6)][m(0xd9)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+m(0xf5)),b;}[a51h(0xe9)](){const n=a51h,a=[...this[n(0xe0)]['keys']()],b=a['map'](c=>capitalCase(c));return this[n(0xd6)]['write'](n(0xd7)+b['join'](',\x20')+'.'),a;}['getWeight'](){const o=a51h;let a=0x0;for(const b of this[o(0xe0)][o(0xe2)]()){a+=b[o(0xda)];}return a;}['getAllItems'](){const p=a51h;return[...this['items'][p(0xe2)]()];}}
1
+ const a51i=a51d;function a51c(){const r=['getItem','\x20to\x20inventory.','17684821KLDWdl','set','search','4OCGfLb','248021lQuSNy','2015016DpuIRB','Listed\x20items\x20in\x20inventory:\x20','get','8lOKooH','getAllItems','8758746mJsVaM','(((.+)+)+)+$','has','values','constructor','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','10MFdLzD','weight','\x20from\x20inventory.','getWeight','getInstance','\x20in\x20','write','4793278cygerQ','toString','map','logger','toLowerCase','24OpkIWA','9719128HHdoGV','hasItem','.\x20Exists:\x20','keys','10WgcPzh','Added\x20item:\x20','Checked\x20for\x20item:\x20','3064326nPvjUQ','items','apply','join','Retrieved\x20details\x20for\x20item:\x20','Removed\x20item:\x20','.\x20Item\x20not\x20found.','name','listItems'];a51c=function(){return r;};return a51c();}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x120))/0x1*(-parseInt(f(0x124))/0x2)+-parseInt(f(0x111))/0x3*(parseInt(f(0x11f))/0x4)+-parseInt(f(0x12c))/0x5*(parseInt(f(0x121))/0x6)+parseInt(f(0x133))/0x7+-parseInt(f(0x10a))/0x8+parseInt(f(0x126))/0x9*(parseInt(f(0x10e))/0xa)+parseInt(f(0x11c))/0xb*(parseInt(f(0x138))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xed9e1));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x134)]()['search'](h(0x127))[h(0x134)]()[h(0x12a)](a51a)[h(0x11e)]('(((.+)+)+)+$');});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x10a;let f=c[d];return f;},a51d(a,b);}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x112)];[a51i(0x136)];constructor(){const j=a51i;super(),this['items']=new Map(),this['logger']=Logger[j(0x130)]();}['addItem'](a){const k=a51i;this['items'][k(0x11d)](a[k(0x118)]['toLowerCase'](),a),this[k(0x136)][k(0x132)](k(0x10f)+a[k(0x118)]+k(0x11b));}['removeItem'](a){const l=a51i,b=this[l(0x11a)](a);if(b)return this[l(0x112)]['delete'](a[l(0x137)]()),this[l(0x136)][l(0x132)](l(0x116)+a+l(0x12e)),b;return this['logger'][l(0x132)]('Failed\x20to\x20remove\x20item:\x20'+a+l(0x117)),null;}[a51i(0x10b)](a){const m=a51i,b=this[m(0x112)][m(0x128)](a['toLowerCase']()),c=[...this['items']['keys']()];return this[m(0x136)]['write'](m(0x110)+a+m(0x131)+c[m(0x114)](',\x20')+m(0x10c)+b+'.'),b;}[a51i(0x11a)](a){const n=a51i,b=this[n(0x112)][n(0x123)](a[n(0x137)]())||null;return b?this[n(0x136)][n(0x132)](n(0x115)+a+'.'):this[n(0x136)][n(0x132)](n(0x12b)+a+n(0x117)),b;}[a51i(0x119)](){const o=a51i,a=[...this[o(0x112)][o(0x10d)]()],b=a[o(0x135)](c=>capitalCase(c));return this['logger'][o(0x132)](o(0x122)+b[o(0x114)](',\x20')+'.'),a;}[a51i(0x12f)](){const p=a51i;let a=0x0;for(const b of this[p(0x112)][p(0x129)]()){a+=b[p(0x12d)];}return a;}[a51i(0x125)](){const q=a51i;return[...this[q(0x112)]['values']()];}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1b5))/0x1+-parseInt(f(0x1b2))/0x2*(parseInt(f(0x1a4))/0x3)+-parseInt(f(0x19e))/0x4*(parseInt(f(0x1a2))/0x5)+parseInt(f(0x1b9))/0x6+-parseInt(f(0x1a6))/0x7*(parseInt(f(0x1b4))/0x8)+parseInt(f(0x1b3))/0x9+-parseInt(f(0x19f))/0xa*(-parseInt(f(0x1a1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xc1385));function a52c(){var l=['constructor','35YFVWnB','uuid','size','use','color','weight','category','.\x20Nothing\x20special\x20happens.','apply','shape','name','toString','2803222hkUJTf','10097307nQodJv','1814088seBALj','917253QxNOuO','search','description','(((.+)+)+)+$','1017522FfIbWa','You\x20use\x20the\x20','4DZSPyw','10SYCYmt','rating','38605501NsLWpS','2785015LxHhJv','texture','3XqbHdQ'];a52c=function(){return l;};return a52c();}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1ae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()['search'](h(0x1b8))[h(0x1b1)]()[h(0x1a5)](a52a)[h(0x1b6)](h(0x1b8));});a52a();import{v4 as a52e}from'uuid';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x19e;var f=c[d];return f;},a52d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0x1a7)];['name'];[a52i(0x1b7)];[a52i(0x1a8)];['category'];[a52i(0x1af)];[a52i(0x1aa)];[a52i(0x1a3)];[a52i(0x1a0)];[a52i(0x1ab)];constructor(a){var j=a52i;super(),this[j(0x1b0)]=a[j(0x1b0)],this[j(0x1b7)]=a[j(0x1b7)],this[j(0x1a8)]=a[j(0x1a8)],this[j(0x1ac)]=a[j(0x1ac)],this[j(0x1af)]=a['shape'],this['color']=a[j(0x1aa)],this['texture']=a[j(0x1a3)],this[j(0x1a0)]=a[j(0x1a0)],this['weight']=a[j(0x1ab)],this['uuid']=a52e();}[a52i(0x1a9)](){var k=a52i;return k(0x1ba)+this[k(0x1b0)]+k(0x1ad);}}
1
+ function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x146;var f=c[d];return f;},a52d(a,b);}var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x14f))/0x1+-parseInt(f(0x146))/0x2+-parseInt(f(0x15f))/0x3*(-parseInt(f(0x160))/0x4)+parseInt(f(0x157))/0x5*(-parseInt(f(0x15b))/0x6)+-parseInt(f(0x150))/0x7*(parseInt(f(0x153))/0x8)+parseInt(f(0x154))/0x9*(-parseInt(f(0x156))/0xa)+-parseInt(f(0x149))/0xb*(-parseInt(f(0x14e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x756f5));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0x15d)]()[g(0x148)](g(0x151))[g(0x15d)]()[g(0x15c)](a52a)['search'](g(0x151));});a52a();function a52c(){var k=['5652TvoiRc','constructor','toString','rating','1862769EIJFZo','4dcXVWg','726338NKaqSJ','description','search','20611844suiTan','weight','color','texture','use','12idzdmO','127260nZSNdn','707ahQpfl','(((.+)+)+)+$','size','36160atSiZi','9IQKtnL','name','4489930ybwDHN','4630goqxqv','uuid','shape','category'];a52c=function(){return k;};return a52c();}import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52h(0x158)];['name'];[a52h(0x147)];[a52h(0x152)];['category'];['shape'];['color'];[a52h(0x14c)];['rating'];[a52h(0x14a)];constructor(a){var i=a52h;super(),this[i(0x155)]=a[i(0x155)],this[i(0x147)]=a[i(0x147)],this[i(0x152)]=a[i(0x152)],this[i(0x15a)]=a[i(0x15a)],this[i(0x159)]=a[i(0x159)],this[i(0x14b)]=a[i(0x14b)],this[i(0x14c)]=a[i(0x14c)],this[i(0x15e)]=a[i(0x15e)],this[i(0x14a)]=a['weight'],this['uuid']=a52e();}[a52h(0x14d)](){var j=a52h;return'You\x20use\x20the\x20'+this[j(0x155)]+'.\x20Nothing\x20special\x20happens.';}}
@@ -1 +1 @@
1
- function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x141;let f=c[d];return f;},a53d(a,b);}const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x14c))/0x1*(-parseInt(f(0x14a))/0x2)+parseInt(f(0x14f))/0x3*(-parseInt(f(0x151))/0x4)+parseInt(f(0x153))/0x5*(-parseInt(f(0x152))/0x6)+-parseInt(f(0x158))/0x7+-parseInt(f(0x146))/0x8*(parseInt(f(0x15b))/0x9)+parseInt(f(0x143))/0xa+parseInt(f(0x144))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xf2717));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const g=a53d;return a53a[g(0x145)]()['search'](g(0x157))[g(0x145)]()[g(0x155)](a53a)[g(0x154)](g(0x157));});function a53c(){const m=['name','_dialogue','6vUtnXV','execute','245138iXFoPB','floor','autonomousMove','38427UzeRGC','rooms','28jqOyGe','2052UBjQyW','9565dudXBe','search','constructor','length','(((.+)+)+)+$','882784evoHSd','moveTo','_name','5633811PKaGsm','speak','random','5250610JiIwuI','13514292Brsajt','toString','8ZeGfiD','scene'];a53c=function(){return m;};return a53c();}a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53h(0x15a)];[a53h(0x149)];[a53h(0x150)];[a53h(0x147)];constructor(a,b,c,d){const i=a53h;super(d),this[i(0x15a)]=a,this[i(0x149)]=b,this[i(0x150)]=c;}get[a53h(0x148)](){return this['_name'];}[a53h(0x141)](){const j=a53h;return this[j(0x149)][Math[j(0x14d)](Math['random']()*this[j(0x149)]['length'])];}[a53h(0x14e)](a){const k=a53h,b=a[Math[k(0x14d)](Math[k(0x142)]()*a[k(0x156)])];this[k(0x159)](b['name']);}[a53h(0x159)](a){const l=a53h,b={'actor':this,'rooms':this[l(0x150)],'scene':this[l(0x147)]},c=new GoCommand(b);c[l(0x14b)]([a]);}}
1
+ const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0xbf))/0x1*(parseInt(f(0xc0))/0x2)+parseInt(f(0xcf))/0x3+-parseInt(f(0xbd))/0x4*(parseInt(f(0xce))/0x5)+parseInt(f(0xc9))/0x6+parseInt(f(0xd2))/0x7+parseInt(f(0xd1))/0x8+parseInt(f(0xc3))/0x9*(-parseInt(f(0xd0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x8c6fd));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xba;let f=c[d];return f;},a53d(a,b);}function a53c(){const m=['25307757uddfmR','floor','moveTo','constructor','scene','random','4477008TSbphD','execute','autonomousMove','_dialogue','(((.+)+)+)+$','443425msFPOe','3374088bEwmOj','10OMwCeY','7337264fGWrUd','2688805lRwFZV','name','length','rooms','40qYRNfP','toString','5LPLYjt','440766uitvYG','search','_name'];a53c=function(){return m;};return a53c();}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const g=a53d;return a53a[g(0xbe)]()[g(0xc1)]('(((.+)+)+)+$')['toString']()[g(0xc6)](a53a)[g(0xc1)](g(0xcd));});a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53h(0xc2)];[a53h(0xcc)];[a53h(0xbc)];[a53h(0xc7)];constructor(a,b,c,d){const i=a53h;super(d),this['_name']=a,this[i(0xcc)]=b,this['rooms']=c;}get['name'](){return this['_name'];}['speak'](){const j=a53h;return this['_dialogue'][Math['floor'](Math[j(0xc8)]()*this[j(0xcc)][j(0xbb)])];}[a53h(0xcb)](a){const k=a53h,b=a[Math[k(0xc4)](Math[k(0xc8)]()*a[k(0xbb)])];this[k(0xc5)](b[k(0xba)]);}[a53h(0xc5)](a){const l=a53h,b={'actor':this,'rooms':this['rooms'],'scene':this['scene']},c=new GoCommand(b);c[l(0xca)]([a]);}}
@@ -1 +1 @@
1
- const a54h=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0x140))/0x1*(-parseInt(f(0x10d))/0x2)+parseInt(f(0x11a))/0x3*(-parseInt(f(0x10a))/0x4)+parseInt(f(0xf2))/0x5*(-parseInt(f(0x11c))/0x6)+-parseInt(f(0x135))/0x7*(-parseInt(f(0xed))/0x8)+parseInt(f(0x121))/0x9*(parseInt(f(0x113))/0xa)+-parseInt(f(0xe8))/0xb+parseInt(f(0xf5))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x3b3c7));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const g=a54d;return a54a[g(0xf4)]()[g(0x133)](g(0x125))[g(0xf4)]()[g(0xef)](a54a)[g(0x133)](g(0x125));});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a54c(){const C=['constructor','Gloves','\x20slot.','5LbNiKG','maxCarryingWeight','toString','969132xzORiM','getWeight','includes','currentLocation','_playerName','leaveRoom','You\x20can\x27t\x20equip\x20','weapon','off','determineEquipmentSlot','leg\x20armor','.\x20You\x20must\x20unequip\x20it\x20first.','_maxCarryingWeight','You\x20don\x27t\x20have\x20','equipment','LegArmor','_currentLocation','Removed\x20','startLocation','inventory','currentWeight','64gJzVVN','\x20is\x20no\x20longer\x20listeng\x20in\x20','_inventory','98354fukLBg','Nexus','BodyArmor','gloves','log','Hat','310Qfdzfc','Max\x20carrying\x20weight\x20must\x20be\x20positive.','unequipBySlot','\x20says:\x20\x22','Helmet','_equipment','Boots','3960DFqYPq','values','2210262nyRwnK','addItem','torso','\x20to\x20player\x27s\x20inventory.','You\x20unequipped\x20','140823fSZrYB','addInventory','A\x20featureless\x20room','weight','(((.+)+)+)+$','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','legs','write','toLowerCase','hear','hat','logger','name','category','removeInventory','arm\x20armor','ArmArmor','playerName','search','rightHand','60424ouinwm','speak','body\x20armor','Weapon','helmet','equip','\x20from\x20player\x27s\x20inventory.','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','bind','canEquip','feet','8kyjxEr','initialEquipment','inventoryItems','boots','Failed\x20to\x20remove\x20','head','4262830bDkpqx','legarmor','bodyarmor','enterRoom','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','56YmUoKi','armarmor'];a54c=function(){return C;};return a54c();}import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xe4;let f=c[d];return f;},a54d(a,b);}import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54h(0xf9)];['_currentLocation'];[a54h(0x10c)];[a54h(0x118)];[a54h(0x101)]=0x32;[a54h(0x12c)];constructor(a){const i=a54h;super(),this[i(0xf9)]=a[i(0x132)],this[i(0x105)]=a[i(0x107)]||new Room({'name':i(0x10e),'description':i(0x123)}),this[i(0x10c)]=new Inventory(),this['logger']=Logger['getInstance']();if(a?.[i(0xe4)])for(const b of a[i(0xe4)]){this[i(0x10c)][i(0x11d)](b);}this[i(0x118)]=a?.[i(0x141)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const j=a54h;return this[j(0xf9)];}get['currentLocation'](){const k=a54h;return this[k(0x105)];}set[a54h(0xf8)](a){const l=a54h;this[l(0x105)]!==a&&(this[l(0xfa)](),this['enterRoom'](a)),this[l(0x105)]=a;}get[a54h(0x108)](){const m=a54h;return this[m(0x10c)];}get['equipment'](){const n=a54h;return this[n(0x118)];}set['equipment'](a){const o=a54h;this[o(0x118)]=a;}get[a54h(0xf3)](){const p=a54h;return this[p(0x101)];}set['maxCarryingWeight'](a){const q=a54h;a>0x0?this[q(0x101)]=a:console['error'](q(0x114));}get[a54h(0x109)](){const r=a54h;let a=this[r(0x10c)][r(0xf6)]();for(const b in this[r(0x118)]){const c=this[r(0x118)][b];c&&(a+=c[r(0x124)]);}return a;}['addInventory'](a){const s=a54h;if(this[s(0x109)]+a[s(0x124)]>this['maxCarryingWeight']){this[s(0x12c)][s(0x128)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[s(0x10c)][s(0x11d)](a),this[s(0x12c)][s(0x128)]('Added\x20'+a[s(0x12d)]+s(0x11f));}[a54h(0x12f)](a){const t=a54h;if(this[t(0x10c)]['removeItem'](a['name']))return this[t(0x12c)][t(0x128)](t(0x106)+a[t(0x12d)]+t(0x13b)),!![];return this['logger']['write'](t(0xe6)+a[t(0x12d)]+t(0x13b)),![];}[a54h(0x13a)](a){const u=a54h;if(!this[u(0x10c)]['hasItem'](a[u(0x12d)]))return u(0x102)+a['name']+'\x20in\x20your\x20inventory.';if(!this['canEquip'](a))return u(0xfb)+a[u(0x12d)]+'.';const b=this[u(0xfe)](a[u(0x12e)]);if(!b)return a[u(0x12d)]+u(0x13c);if(this[u(0x103)][b])return u(0x126)+b+u(0x100);return this[u(0x103)][b]=a,this[u(0x12f)](a),'You\x20equipped\x20'+a[u(0x12d)]+'.';}['unequip'](a){const v=a54h;let b=a;if(!this['equipment'][camelCase(b)]){b=this[v(0xfe)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[v(0x115)](b);}['determineEquipmentSlot'](a){const w=a54h;switch(a['toLowerCase']()){case Category[w(0x138)][w(0x129)]():return w(0x134);case Category['Shield'][w(0x129)]():return'leftHand';case Category[w(0xf0)]['toLowerCase']():return'gloves';case Category[w(0x117)]['toLowerCase']():case Category[w(0x112)][w(0x129)]():return'head';case Category[w(0x119)]['toLowerCase']():return'feet';case Category[w(0x104)]['toLowerCase']():return'legs';case Category[w(0x131)][w(0x129)]():return'arms';case Category[w(0x10f)]['toLowerCase']():return w(0x11e);case w(0xfc):return w(0x134);case'shield':return'leftHand';case w(0x110):return w(0x110);case w(0x139):case w(0x12b):return w(0xe7);case w(0xe5):return w(0x13f);case w(0xff):case w(0xe9):return w(0x127);case w(0x130):case w(0xee):return'arms';case w(0x137):case w(0xea):case w(0x11e):return'torso';default:return null;}}[a54h(0x13e)](a){const x=a54h;return Object[x(0x11b)](Category)[x(0xf7)](a[x(0x12e)]);}[a54h(0x115)](a){const y=a54h,b=this['equipment'][a];if(!b)return y(0xec)+a+y(0xf1);return this[y(0x122)](b),this['equipment'][a]=null,y(0x120)+b[y(0x12d)]+'.';}[a54h(0x12a)](a,b){const z=a54h;a!==this&&this['logger'][z(0x111)](a['name']+z(0x116)+b+'\x22');}[a54h(0xeb)](a){const A=a54h;this[A(0x105)]=a,a['on'](A(0x136),this[A(0x12a)][A(0x13d)](this)),this[A(0x12c)][A(0x128)](this[A(0x12d)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[A(0x12d)]);}[a54h(0xfa)](){const B=a54h;this[B(0x105)]&&(this['_currentLocation'][B(0xfd)](B(0x136),this[B(0x12a)][B(0x13d)](this)),this[B(0x12c)]['write'](this[B(0x12d)]+B(0x10b)+this['_currentLocation']['name']));}}
1
+ const a54i=a54d;function a54c(){const A=['Added\x20','equipment','includes','Removed\x20','addInventory','legs','59985tMJvWp','values','constructor','_playerName','_inventory','write','equip','toLowerCase','\x20says:\x20\x22','\x20in\x20your\x20inventory.','body\x20armor','inventory','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','inventoryItems','toString','LegArmor','bodyarmor','gloves','420294gyrPYD','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','Boots','removeItem','_equipment','A\x20featureless\x20room','Failed\x20to\x20remove\x20','error','armarmor','determineEquipmentSlot','rightHand','_maxCarryingWeight','BodyArmor','Helmet','1129300aUsAFm','unequip','leftHand','legarmor','Max\x20carrying\x20weight\x20must\x20be\x20positive.','leaveRoom','startLocation','hear','bind','category','logger','You\x20can\x27t\x20equip\x20','currentWeight','enterRoom','removeInventory','log','Shield','unequipBySlot','arms','Hat','getWeight','torso','getInstance','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','(((.+)+)+)+$','boots','leg\x20armor','head','Weapon','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','You\x20equipped\x20','helmet','\x20slot.','\x20is\x20now\x20listening\x20in\x20room\x20','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','speak','205601bZvMuC','2168910creDdG','Invalid\x20category\x20or\x20slot:\x20','name','397989MhYhwJ','8ZwDygx','feet','search','2210SgSDNq','You\x20don\x27t\x20have\x20','currentLocation','initialEquipment','ArmArmor','Gloves','959QoyKjc','playerName','Nexus','shield','hat','arm\x20armor','24544VBZlQE','\x20is\x20no\x20longer\x20listeng\x20in\x20','\x20from\x20player\x27s\x20inventory.','weight','_currentLocation','apply','maxCarryingWeight'];a54c=function(){return A;};return a54c();}(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x19c))/0x1+parseInt(f(0x16a))/0x2+-parseInt(f(0x1a0))/0x3*(-parseInt(f(0x1a1))/0x4)+parseInt(f(0x178))/0x5+parseInt(f(0x19d))/0x6+-parseInt(f(0x145))/0x7*(-parseInt(f(0x14b))/0x8)+-parseInt(f(0x158))/0x9*(parseInt(f(0x13f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x34ada));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(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x166)]()[h(0x13e)]('(((.+)+)+)+$')[h(0x166)]()[h(0x15a)](a54a)[h(0x13e)](h(0x190));});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(0x15b)];[a54i(0x14f)];[a54i(0x15c)];[a54i(0x16e)];[a54i(0x175)]=0x32;[a54i(0x182)];constructor(a){const j=a54i;super(),this['_playerName']=a[j(0x146)],this[j(0x14f)]=a[j(0x17e)]||new Room({'name':j(0x147),'description':j(0x16f)}),this[j(0x15c)]=new Inventory(),this[j(0x182)]=Logger[j(0x18e)]();if(a?.[j(0x165)])for(const b of a[j(0x165)]){this[j(0x15c)]['addItem'](b);}this[j(0x16e)]=a?.[j(0x142)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a54i;return this[k(0x15b)];}get[a54i(0x141)](){const l=a54i;return this[l(0x14f)];}set[a54i(0x141)](a){const m=a54i;this[m(0x14f)]!==a&&(this['leaveRoom'](),this['enterRoom'](a)),this[m(0x14f)]=a;}get[a54i(0x163)](){const n=a54i;return this[n(0x15c)];}get[a54i(0x153)](){return this['_equipment'];}set[a54i(0x153)](a){this['_equipment']=a;}get['maxCarryingWeight'](){return this['_maxCarryingWeight'];}set[a54i(0x151)](a){const o=a54i;a>0x0?this['_maxCarryingWeight']=a:console[o(0x171)](o(0x17c));}get[a54i(0x184)](){const p=a54i;let a=this[p(0x15c)][p(0x18c)]();for(const b in this[p(0x16e)]){const c=this[p(0x16e)][b];c&&(a+=c[p(0x14e)]);}return a;}[a54i(0x156)](a){const q=a54i;if(this[q(0x184)]+a[q(0x14e)]>this[q(0x151)]){this[q(0x182)][q(0x15d)](q(0x164));throw new Error(q(0x19a));}this[q(0x15c)]['addItem'](a),this[q(0x182)][q(0x15d)](q(0x152)+a[q(0x19f)]+'\x20to\x20player\x27s\x20inventory.');}[a54i(0x186)](a){const r=a54i;if(this[r(0x15c)][r(0x16d)](a[r(0x19f)]))return this[r(0x182)]['write'](r(0x155)+a[r(0x19f)]+r(0x14d)),!![];return this['logger'][r(0x15d)](r(0x170)+a[r(0x19f)]+r(0x14d)),![];}[a54i(0x15e)](a){const s=a54i;if(!this[s(0x15c)]['hasItem'](a[s(0x19f)]))return s(0x140)+a[s(0x19f)]+s(0x161);if(!this['canEquip'](a))return s(0x183)+a[s(0x19f)]+'.';const b=this[s(0x173)](a[s(0x181)]);if(!b)return a[s(0x19f)]+s(0x195);if(this[s(0x153)][b])return s(0x18f)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this['equipment'][b]=a,this['removeInventory'](a),s(0x196)+a['name']+'.';}[a54i(0x179)](a){const t=a54i;let b=a;if(!this[t(0x153)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return t(0x19e)+a+'.';}return this[t(0x189)](b);}[a54i(0x173)](a){const u=a54i;switch(a[u(0x15f)]()){case Category[u(0x194)][u(0x15f)]():return u(0x174);case Category[u(0x188)]['toLowerCase']():return u(0x17a);case Category[u(0x144)][u(0x15f)]():return u(0x169);case Category[u(0x177)][u(0x15f)]():case Category[u(0x18b)][u(0x15f)]():return u(0x193);case Category[u(0x16c)][u(0x15f)]():return u(0x13d);case Category[u(0x167)][u(0x15f)]():return u(0x157);case Category[u(0x143)][u(0x15f)]():return u(0x18a);case Category[u(0x176)][u(0x15f)]():return u(0x18d);case'weapon':return u(0x174);case u(0x148):return u(0x17a);case u(0x169):return u(0x169);case u(0x197):case u(0x149):return u(0x193);case u(0x191):return u(0x13d);case u(0x192):case u(0x17b):return'legs';case u(0x14a):case u(0x172):return u(0x18a);case u(0x162):case u(0x168):case u(0x18d):return u(0x18d);default:return null;}}['canEquip'](a){const v=a54i;return Object[v(0x159)](Category)[v(0x154)](a[v(0x181)]);}[a54i(0x189)](a){const w=a54i,b=this[w(0x153)][a];if(!b)return w(0x16b)+a+w(0x198);return this['addInventory'](b),this[w(0x153)][a]=null,'You\x20unequipped\x20'+b[w(0x19f)]+'.';}[a54i(0x17f)](a,b){const x=a54i;a!==this&&this[x(0x182)][x(0x187)](a[x(0x19f)]+x(0x160)+b+'\x22');}[a54i(0x185)](a){const y=a54i;this[y(0x14f)]=a,a['on'](y(0x19b),this[y(0x17f)][y(0x180)](this)),this[y(0x182)]['write'](this[y(0x19f)]+y(0x199)+a['name']);}[a54i(0x17d)](){const z=a54i;this[z(0x14f)]&&(this[z(0x14f)]['off'](z(0x19b),this[z(0x17f)]['bind'](this)),this[z(0x182)][z(0x15d)](this[z(0x19f)]+z(0x14c)+this[z(0x14f)][z(0x19f)]));}}
@@ -1 +1 @@
1
- var a55h=a55d;function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x9a;var f=c[d];return f;},a55d(a,b);}function a55c(){var m=['requiredPhrase','matchesRequiredPhrase','getInstance','You\x20have\x20already\x20solved\x20this\x20puzzle.','45AKENYT','545354tAipfi','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','riddle','rewardItem','12DmmNpE','requiredItem','(((.+)+)+)+$','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','34bKlJyl','115977xJynaL','successMessage','You\x20solved\x20the\x20puzzle!','582310GdQEbG','2337818JfRTLV','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','toString','3922124oZwhOz','hasRequiredItem','4042060txYALv','failureMessage','hasItem','1883408ztAkzz','solved','Puzzle:\x20Correct\x20solution\x20provided.','logger','write','solve'];a55c=function(){return m;};return a55c();}(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xb1))/0x1+-parseInt(f(0xb9))/0x2*(-parseInt(f(0x9a))/0x3)+parseInt(f(0xa1))/0x4+-parseInt(f(0xa3))/0x5+parseInt(f(0xb5))/0x6*(-parseInt(f(0x9e))/0x7)+parseInt(f(0xa6))/0x8*(parseInt(f(0xb0))/0x9)+parseInt(f(0x9d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xcfdb5));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var g=a55d;return a55a[g(0xa0)]()['search'](g(0xb7))[g(0xa0)]()['constructor'](a55a)['search'](g(0xb7));});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55h(0xa9)]=Logger[a55h(0xae)]();[a55h(0xa7)]=![];[a55h(0xb6)];[a55h(0xac)];[a55h(0xb3)];[a55h(0xb4)];[a55h(0x9b)];[a55h(0xa4)];constructor(a){var i=a55h;super(),this[i(0xb6)]=a[i(0xb6)],this[i(0xac)]=a[i(0xac)],this['riddle']=a[i(0xb3)],this[i(0xb4)]=a[i(0xb4)],this[i(0x9b)]=a[i(0x9b)]||i(0x9c),this['failureMessage']=a[i(0xa4)]||i(0xb8);}['hasRequiredItem'](a){var j=a55h;if(this[j(0xb6)])return a[j(0xa5)](this[j(0xb6)]);return![];}[a55h(0xad)](a){var k=a55h;return this[k(0xac)]===a;}[a55h(0xab)](a,b){var l=a55h;if(this['solved'])return this['logger'][l(0xaa)](l(0x9f)),{'success':![],'message':l(0xaf)};return this[l(0xa2)](b)||this[l(0xad)](a)?(this[l(0xa7)]=!![],this[l(0xa9)][l(0xaa)](l(0xa8)),{'success':!![],'message':this[l(0x9b)]}):(this[l(0xa9)][l(0xaa)](l(0xb2)),{'success':![],'message':this[l(0xa4)]});}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x18a))/0x1*(-parseInt(f(0x184))/0x2)+parseInt(f(0x190))/0x3*(-parseInt(f(0x196))/0x4)+parseInt(f(0x199))/0x5*(-parseInt(f(0x19a))/0x6)+-parseInt(f(0x18f))/0x7+-parseInt(f(0x183))/0x8+parseInt(f(0x193))/0x9+parseInt(f(0x198))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xba430));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x197)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x18b)]()['search'](h(0x187))[h(0x18b)]()[h(0x181)](a55a)[h(0x192)]('(((.+)+)+)+$');});function a55c(){var n=['15YpOvCX','rewardItem','search','8887554WAqyYL','matchesRequiredPhrase','hasRequiredItem','1154732xsRSoW','apply','36292180eyVRcc','1010YyaOJI','37086FKMTLc','write','successMessage','failureMessage','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','getInstance','riddle','constructor','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','6949552lqrcBT','3026hPXqEj','You\x20have\x20already\x20solved\x20this\x20puzzle.','solve','(((.+)+)+)+$','requiredItem','solved','139ogthcX','toString','Puzzle:\x20Correct\x20solution\x20provided.','logger','requiredPhrase','3524024EJUUsv'];a55c=function(){return n;};return a55c();}a55a();import{Logger}from'../utilities/logger.js';function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x17e;var f=c[d];return f;},a55d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a55i(0x17f)]();['solved']=![];['requiredItem'];['requiredPhrase'];[a55i(0x180)];[a55i(0x191)];[a55i(0x19c)];[a55i(0x19d)];constructor(a){var j=a55i;super(),this[j(0x188)]=a[j(0x188)],this[j(0x18e)]=a['requiredPhrase'],this[j(0x180)]=a[j(0x180)],this['rewardItem']=a[j(0x191)],this[j(0x19c)]=a[j(0x19c)]||'You\x20solved\x20the\x20puzzle!',this[j(0x19d)]=a['failureMessage']||j(0x182);}[a55i(0x195)](a){var k=a55i;if(this['requiredItem'])return a['hasItem'](this[k(0x188)]);return![];}[a55i(0x194)](a){var l=a55i;return this[l(0x18e)]===a;}[a55i(0x186)](a,b){var m=a55i;if(this[m(0x189)])return this['logger'][m(0x19b)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':m(0x185)};return this['hasRequiredItem'](b)||this['matchesRequiredPhrase'](a)?(this[m(0x189)]=!![],this['logger'][m(0x19b)](m(0x18c)),{'success':!![],'message':this[m(0x19c)]}):(this[m(0x18d)][m(0x19b)](m(0x17e)),{'success':![],'message':this[m(0x19d)]});}}
@@ -1 +1 @@
1
- const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0xed))/0x1*(parseInt(f(0xd9))/0x2)+-parseInt(f(0xda))/0x3*(-parseInt(f(0xcf))/0x4)+-parseInt(f(0xd5))/0x5*(parseInt(f(0xc0))/0x6)+parseInt(f(0xba))/0x7*(parseInt(f(0xf1))/0x8)+parseInt(f(0xe4))/0x9+parseInt(f(0xb5))/0xa+-parseInt(f(0xe9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xb51f4));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0xf2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a['toString']()[h(0xc5)]('(((.+)+)+)+$')['toString']()[h(0xd7)](a56a)['search'](h(0xca));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a56c(){const u=['(((.+)+)+)+$','emit','roomA','removeItem','getOppositeDirection','941572PqMKyt','write','exits','roomType','getExit','checkIfLocked','85StUxnr','No\x20locked\x20exit\x20found\x20in\x20direction\x20','constructor','Puzzle\x20set\x20for\x20room\x20','369506knfGWW','6NJOEjq','addItem','hasItem','down','speak','riddle','north','getInstance','values','\x20is\x20locked.\x20Result:\x20','2842758lzYEyB','Item\x20removed\x20from\x20room\x20','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','get','EAST','6678232CQHZfC','south','set','inventory','3vrHQEw','description','\x20remains\x20locked.','NORTH','34856LMiJyP','apply','Invalid\x20direction:\x20','The\x20','4616510ogbHZw','name','findExistingDoor','isExitLocked','puzzle','2317QFfjUr','attemptUnlockExit','logger','.\x20Success:\x20','west','east','277842HYyNfh','isStartRoom','setPuzzle','Item\x20added\x20to\x20room\x20','INSIDE','search','roomB','WEST','SOUTH','Room\x20created:\x20'];a56c=function(){return u;};return a56c();}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0xb3;let f=c[d];return f;},a56d(a,b);}export class Room extends AbstractRoom{[a56i(0xbc)]=Logger[a56i(0xe1)]();[a56i(0xb6)];[a56i(0xee)];['exits']=new Map();[a56i(0xd2)];[a56i(0xc1)];[a56i(0xec)]=new Inventory();constructor(a){const j=a56i;super(),this['name']=a['name'],this[j(0xee)]=a[j(0xee)],this[j(0xd2)]=a['roomType']||RoomType[j(0xc4)],a[j(0xd1)]&&(this[j(0xd1)]=a[j(0xd1)]||new Map()),a[j(0xec)]&&(this[j(0xec)]=a[j(0xec)]),a[j(0xb9)]&&(this['puzzle']=a[j(0xb9)]),this[j(0xc1)]=a['isStartRoom']||![],this['logger'][j(0xd0)](j(0xc9)+this[j(0xb6)]);}['say'](a,b){const k=a56i;this[k(0xcb)](k(0xde),a,b);}['addExit'](a,b,c){const l=a56i;let d=this[l(0xb7)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0xeb)](a,d),b[l(0xd1)][l(0xeb)](this['getOppositeDirection'](a),d);}[a56i(0xbb)](a,b){const m=a56i,c=this[m(0xd1)]['get'](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this['logger'][m(0xd0)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0xbd)+d),d?m(0xb4)+c[m(0xb6)]+'\x20unlocked!':'The\x20'+c[m(0xb6)]+m(0xef);}return this[m(0xbc)][m(0xd0)](m(0xd6)+a),m(0xe6);}[a56i(0xd3)](a){const n=a56i;return this[n(0xbc)][n(0xd0)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0xd1)][n(0xe7)](a);}[a56i(0xb8)](a){const o=a56i,b=this[o(0xd1)][o(0xe7)](a),c=b instanceof Door&&b[o(0xd4)]();return this[o(0xbc)]['write']('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0xe3)+c),c;}[a56i(0xdb)](a){const p=a56i;this[p(0xec)]['addItem'](a),this[p(0xbc)]['write'](p(0xc3)+this[p(0xb6)]+':\x20'+a[p(0xb6)]);}[a56i(0xcd)](a){const q=a56i;this[q(0xec)][q(0xdc)](a[q(0xb6)])?(this['inventory'][q(0xcd)](a['name']),this[q(0xbc)][q(0xd0)](q(0xe5)+this[q(0xb6)]+':\x20'+a[q(0xb6)])):this[q(0xbc)][q(0xd0)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0xb6)]+':\x20'+a[q(0xb6)]);}[a56i(0xc2)](a){const r=a56i;this[r(0xb9)]=a,this[r(0xbc)][r(0xd0)](r(0xd8)+this[r(0xb6)]+':\x20'+a[r(0xdf)]);}[a56i(0xce)](a){const s=a56i;switch(a){case s(0xe0):return Direction[s(0xc8)];case s(0xea):return Direction[s(0xf0)];case s(0xbf):return Direction[s(0xc7)];case s(0xbe):return Direction[s(0xe8)];case'up':return Direction['DOWN'];case s(0xdd):return Direction['UP'];default:throw new Error(s(0xb3)+a);}}[a56i(0xb7)](a){const t=a56i;for(const b of this['exits'][t(0xe2)]()){if(b instanceof Door){if(b[t(0xcc)]===this&&b[t(0xc6)]===a||b[t(0xc6)]===this&&b['roomA']===a)return b;}}return undefined;}}
1
+ const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x158))/0x1+-parseInt(f(0x194))/0x2*(-parseInt(f(0x193))/0x3)+parseInt(f(0x186))/0x4+-parseInt(f(0x18c))/0x5*(parseInt(f(0x169))/0x6)+-parseInt(f(0x16a))/0x7*(parseInt(f(0x18a))/0x8)+-parseInt(f(0x183))/0x9*(parseInt(f(0x16c))/0xa)+parseInt(f(0x17e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x3ff23));function a56c(){const u=['16FdAxHQ','Fetching\x20exit\x20in\x20direction:\x20','395LyEpaR','No\x20locked\x20exit\x20found\x20in\x20direction\x20','exits','isExitLocked','attemptUnlockExit','apply','\x20remains\x20locked.','507wqZRSw','462PSzRVX','(((.+)+)+)+$','Checking\x20if\x20exit\x20in\x20direction\x20','WEST','183107zQCxRP','west','speak','getExit','addItem','isStartRoom','emit','Invalid\x20direction:\x20','search','logger','\x20is\x20locked.\x20Result:\x20','name','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','.\x20Success:\x20','description','attemptUnlock','write','30372TivVKM','921277botbDJ','DOWN','20jmIhVq','getOppositeDirection','addExit','inventory','EAST','\x20unlocked!','Item\x20added\x20to\x20room\x20','say','SOUTH','The\x20','roomType','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','get','puzzle','getInstance','findExistingDoor','toString','checkIfLocked','13291300npLsfK','removeItem','set','east','roomA','2118609Thtjtq','south','values','1326452cGpLEv','Puzzle\x20set\x20for\x20room\x20','Room\x20created:\x20','down'];a56c=function(){return u;};return a56c();}const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x191)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a['toString']()[h(0x160)](h(0x195))[h(0x17c)]()['constructor'](a56a)['search']('(((.+)+)+)+$');});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x157;let f=c[d];return f;},a56d(a,b);}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x161)]=Logger[a56i(0x17a)]();['name'];[a56i(0x166)];[a56i(0x18e)]=new Map();[a56i(0x176)];[a56i(0x15d)];[a56i(0x16f)]=new Inventory();constructor(a){const j=a56i;super(),this['name']=a[j(0x163)],this[j(0x166)]=a[j(0x166)],this[j(0x176)]=a[j(0x176)]||RoomType['INSIDE'],a[j(0x18e)]&&(this[j(0x18e)]=a[j(0x18e)]||new Map()),a[j(0x16f)]&&(this['inventory']=a[j(0x16f)]),a[j(0x179)]&&(this[j(0x179)]=a[j(0x179)]),this[j(0x15d)]=a[j(0x15d)]||![],this['logger']['write'](j(0x188)+this[j(0x163)]);}[a56i(0x173)](a,b){const k=a56i;this[k(0x15e)](k(0x15a),a,b);}[a56i(0x16e)](a,b,c){const l=a56i;let d=this[l(0x17b)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x18e)][l(0x180)](a,d),b[l(0x18e)]['set'](this['getOppositeDirection'](a),d);}[a56i(0x190)](a,b){const m=a56i,c=this[m(0x18e)]['get'](a);if(c instanceof Door){const d=c[m(0x167)](b);return this[m(0x161)][m(0x168)](m(0x177)+a+m(0x165)+d),d?m(0x175)+c['name']+m(0x171):'The\x20'+c[m(0x163)]+m(0x192);}return this[m(0x161)][m(0x168)](m(0x18d)+a),m(0x164);}[a56i(0x15b)](a){const n=a56i;return this[n(0x161)][n(0x168)](n(0x18b)+a),this[n(0x18e)][n(0x178)](a);}[a56i(0x18f)](a){const o=a56i,b=this[o(0x18e)][o(0x178)](a),c=b instanceof Door&&b[o(0x17d)]();return this[o(0x161)][o(0x168)](o(0x196)+a+o(0x162)+c),c;}[a56i(0x15c)](a){const p=a56i;this['inventory'][p(0x15c)](a),this[p(0x161)][p(0x168)](p(0x172)+this['name']+':\x20'+a[p(0x163)]);}[a56i(0x17f)](a){const q=a56i;this[q(0x16f)]['hasItem'](a[q(0x163)])?(this[q(0x16f)][q(0x17f)](a['name']),this['logger'][q(0x168)]('Item\x20removed\x20from\x20room\x20'+this[q(0x163)]+':\x20'+a[q(0x163)])):this[q(0x161)]['write']('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0x163)]+':\x20'+a['name']);}['setPuzzle'](a){const r=a56i;this[r(0x179)]=a,this[r(0x161)][r(0x168)](r(0x187)+this[r(0x163)]+':\x20'+a['riddle']);}[a56i(0x16d)](a){const s=a56i;switch(a){case'north':return Direction[s(0x174)];case s(0x184):return Direction['NORTH'];case s(0x181):return Direction[s(0x157)];case s(0x159):return Direction[s(0x170)];case'up':return Direction[s(0x16b)];case s(0x189):return Direction['UP'];default:throw new Error(s(0x15f)+a);}}[a56i(0x17b)](a){const t=a56i;for(const b of this['exits'][t(0x185)]()){if(b instanceof Door){if(b['roomA']===this&&b['roomB']===a||b['roomB']===this&&b[t(0x182)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0xa9;let f=c[d];return f;},a57d(a,b);}const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0xf2))/0x1*(-parseInt(i(0xc7))/0x2)+-parseInt(i(0xca))/0x3*(-parseInt(i(0xe9))/0x4)+parseInt(i(0xef))/0x5*(-parseInt(i(0xd3))/0x6)+parseInt(i(0xcd))/0x7+parseInt(i(0xd4))/0x8*(-parseInt(i(0xae))/0x9)+-parseInt(i(0xf7))/0xa+parseInt(i(0xe6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xc5afe));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0xb5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0xb6)]()[k(0xc3)]('(((.+)+)+)+$')[k(0xb6)]()[k(0xd1)](a57a)[k(0xc3)](k(0xaa));});function a57c(){const D=['warn','actors','Added\x20puzzle\x20to\x20room\x20','(((.+)+)+)+$','initialize','join','has','328257Uosksl','No\x20actor\x20with\x20name\x20','.\x20Room\x20','getRooms','\x20to\x20room\x20','allActors','toUpperCase','apply','toString','logger','getPlayer','getActor','removeActor','determineStartRoom','Scene\x20initialized\x20with\x20rooms:\x20','removeRoom','createExitsFromConfig','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Failed\x20to\x20add\x20item\x20','addRoom','hasOwnProperty','search','values','keys','push','6qNcpdp','addPuzzleToRoom','keyRequired','1581HXsJZz','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','connectRooms','5821760YmUbiv','setPuzzle','generateRoomsFromConfig','getInstance','constructor','\x20already\x20exists\x20in\x20the\x20scene.','37104GufUJK','8rtwzXO','Failed\x20to\x20set\x20','roomConfiguration','setCharacterLocation','write','set','\x20not\x20found\x20in\x20scene.','isStartRoom','Room\x20\x22','delete','name','exits','rooms','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','getCharacterLocation','createRoom','Removed\x20room\x20from\x20scene:\x20','\x22\x20does\x20not\x20exist.','23328415EawZMN','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','length','2164OyHGOt','currentLocation','player','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','direction','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','255DNGryM','roomFactory','\x20found\x20in\x20the\x20scene.','500353DMkrDg','get','\x20is\x20now\x20in\x20room\x20','Actor\x20with\x20name\x20','characterLocations','5749100BQpPLs'];a57c=function(){return D;};return a57c();}a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57l(0xe0)];['player'];[a57l(0xb7)];[a57l(0xf9)];[a57l(0xf6)]=new Map();[a57l(0xf0)];constructor(a){const m=a57l;super(),this[m(0xf0)]=new RoomFactory(),this[m(0xeb)]=a[m(0xeb)],this[m(0xe0)]=this[m(0xcf)](a[m(0xd6)]),this[m(0xb7)]=Logger[m(0xd0)](),this['actors']=new Map(),this[m(0xbe)](a[m(0xd6)]),this['logger'][m(0xd8)](m(0xbc)+Object[m(0xc5)](this['rooms'])[m(0xac)](',\x20'));}[a57l(0xab)](){const n=a57l;this[n(0xeb)][n(0xea)]=this[n(0xbb)]();}['generateRoomsFromConfig'](a){const o=a57l;if(!this[o(0xf0)])throw new Error(o(0xcb));const b={};for(const c of a){const d=this[o(0xf0)][o(0xe3)](c);b[c[o(0xde)]]=d;}return b;}[a57l(0xbe)](a){const p=a57l;for(const b of a){const c=this[p(0xe0)][b[p(0xde)]];if(b[p(0xdf)])for(const d of b[p(0xdf)]){const e=d[p(0xed)][p(0xb4)](),f=d['targetRoom'],g=d[p(0xc9)],h=this[p(0xe0)][f];h&&c['addExit'](Direction[e],h,g);}}}['addActor'](a){const q=a57l;if(this[q(0xf9)][q(0xad)](a[q(0xde)]))throw new Error(q(0xf5)+a['name']+q(0xd2));this['actors'][q(0xd9)](a[q(0xde)],a);}[a57l(0xba)](a){const r=a57l;if(!this[r(0xf9)][r(0xad)](a))throw new Error(r(0xaf)+a+r(0xf1));this['actors'][r(0xdd)](a);}[a57l(0xb9)](a){const s=a57l;return this[s(0xf9)][s(0xf3)](a);}get[a57l(0xb3)](){const t=a57l;return Array['from'](this[t(0xf9)][t(0xc4)]());}[a57l(0xc1)](a){const u=a57l;this[u(0xe0)][a[u(0xde)]]=a,this[u(0xb7)][u(0xd8)]('Added\x20room\x20to\x20scene:\x20'+a['name']);}[a57l(0xbd)](a){const v=a57l;return this['rooms'][a]?(delete this[v(0xe0)][a],this['logger'][v(0xd8)](v(0xe4)+a),!![]):(this['logger'][v(0xd8)](v(0xec)+a),![]);}['addItemToRoom'](a,b){const w=a57l,c=this['rooms'][b];c?(c['addItem'](a),this[w(0xb7)][w(0xd8)]('Added\x20item\x20'+a['name']+w(0xb2)+c[w(0xde)])):this[w(0xb7)][w(0xd8)](w(0xc0)+a['name']+w(0xb0)+b+w(0xda));}[a57l(0xc8)](a,b){const x=a57l,c=this[x(0xe0)][b];c?(c[x(0xce)](a),this['logger'][x(0xd8)](x(0xa9)+c[x(0xde)])):this[x(0xb7)][x(0xd8)](x(0xbf)+b+x(0xda));}[a57l(0xd7)](a,b){const y=a57l,c=this[y(0xe0)][b];c?(this[y(0xf6)][y(0xd9)](a['name'],c),this['logger'][y(0xd8)](a['name']+y(0xf4)+c[y(0xde)])):this[y(0xb7)][y(0xd8)](y(0xd5)+a[y(0xde)]+'\x27s\x20location.\x20Room\x20'+b+y(0xda));}[a57l(0xe2)](a){const z=a57l;return this[z(0xf6)][z(0xf3)](a['name']);}[a57l(0xbb)](){const A=a57l,a=[];for(const c in this[A(0xe0)]){if(this[A(0xe0)][A(0xc2)](c)){const d=this[A(0xe0)][c];d[A(0xdb)]&&a[A(0xc6)](d);}}if(a[A(0xe8)]>0x1)throw new Error(A(0xe7));if(a[A(0xe8)]===0x1)return a[0x0];const b=Object[A(0xc5)](this[A(0xe0)]);if(b[A(0xe8)]===0x0)throw new Error(A(0xee));return console[A(0xf8)](A(0xe1)),this[A(0xe0)][b[0x0]];}[a57l(0xb8)](){return this['player'];}[a57l(0xb1)](){const B=a57l;return this[B(0xe0)];}[a57l(0xcc)](a,b,c,d){const C=a57l,e=this[C(0xe0)][a],f=this[C(0xe0)][c];if(!e)throw new Error(C(0xdc)+a+C(0xe5));if(!f)throw new Error(C(0xdc)+c+C(0xe5));e['addExit'](b,f,d);}}
1
+ const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=-parseInt(i(0xed))/0x1+parseInt(i(0xea))/0x2*(-parseInt(i(0x116))/0x3)+-parseInt(i(0x114))/0x4+-parseInt(i(0x101))/0x5+parseInt(i(0x128))/0x6+-parseInt(i(0x124))/0x7*(parseInt(i(0xee))/0x8)+parseInt(i(0xf7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x2e562));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0xec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0xeb)]()[k(0xf0)](k(0x118))['toString']()[k(0x11f)](a57a)[k(0xf0)]('(((.+)+)+)+$');});function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0xe6;let f=c[d];return f;},a57d(a,b);}a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a57c(){const D=['currentLocation','\x20found\x20in\x20the\x20scene.','Failed\x20to\x20set\x20','getPlayer','roomConfiguration','hasOwnProperty','createRoom','removeActor','has','targetRoom','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','1181468HZncGm','actors','3nKIUaj','toUpperCase','(((.+)+)+)+$','characterLocations','\x22\x20does\x20not\x20exist.','Added\x20puzzle\x20to\x20room\x20','keyRequired','get','getInstance','constructor','addRoom','set','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','Scene\x20initialized\x20with\x20rooms:\x20','7CFiOSw','push','direction','name','589032tTkAjL','\x20to\x20room\x20','write','rooms','logger','\x20already\x20exists\x20in\x20the\x20scene.','initialize','connectRooms','\x20not\x20found\x20in\x20scene.','getRooms','addItemToRoom','join','determineStartRoom','695416GlPBAK','toString','apply','317444CaLAVT','2043896gauGnF','addItem','search','values','length','Failed\x20to\x20add\x20item\x20','getActor','addActor','roomFactory','13727106EwrDkk','exits','allActors','getCharacterLocation','keys','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','\x27s\x20location.\x20Room\x20','addExit','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','setCharacterLocation','1088030hpMRET','.\x20Room\x20','player','\x20is\x20now\x20in\x20room\x20','warn','from','createExitsFromConfig','generateRoomsFromConfig'];a57c=function(){return D;};return a57c();}export class Scene extends AbstractScene{[a57l(0x12b)];[a57l(0x103)];[a57l(0x12c)];[a57l(0x115)];[a57l(0x119)]=new Map();['roomFactory'];constructor(a){const m=a57l;super(),this['roomFactory']=new RoomFactory(),this[m(0x103)]=a['player'],this[m(0x12b)]=this[m(0x108)](a[m(0x10d)]),this[m(0x12c)]=Logger[m(0x11e)](),this[m(0x115)]=new Map(),this[m(0x107)](a['roomConfiguration']),this[m(0x12c)][m(0x12a)](m(0x123)+Object[m(0xfb)](this[m(0x12b)])[m(0xe8)](',\x20'));}[a57l(0x12e)](){const n=a57l;this['player'][n(0x109)]=this[n(0xe9)]();}['generateRoomsFromConfig'](a){const o=a57l;if(!this[o(0xf6)])throw new Error(o(0xfc));const b={};for(const c of a){const d=this[o(0xf6)][o(0x10f)](c);b[c[o(0x127)]]=d;}return b;}[a57l(0x107)](a){const p=a57l;for(const b of a){const c=this[p(0x12b)][b[p(0x127)]];if(b['exits'])for(const d of b[p(0xf8)]){const e=d[p(0x126)][p(0x117)](),f=d[p(0x112)],g=d[p(0x11c)],h=this[p(0x12b)][f];h&&c['addExit'](Direction[e],h,g);}}}[a57l(0xf5)](a){const q=a57l;if(this[q(0x115)][q(0x111)](a[q(0x127)]))throw new Error('Actor\x20with\x20name\x20'+a['name']+q(0x12d));this[q(0x115)][q(0x121)](a[q(0x127)],a);}[a57l(0x110)](a){const r=a57l;if(!this[r(0x115)]['has'](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x10a));this[r(0x115)]['delete'](a);}[a57l(0xf4)](a){const s=a57l;return this[s(0x115)][s(0x11d)](a);}get[a57l(0xf9)](){const t=a57l;return Array[t(0x106)](this['actors'][t(0xf1)]());}[a57l(0x120)](a){const u=a57l;this[u(0x12b)][a[u(0x127)]]=a,this[u(0x12c)][u(0x12a)]('Added\x20room\x20to\x20scene:\x20'+a[u(0x127)]);}['removeRoom'](a){const v=a57l;return this['rooms'][a]?(delete this[v(0x12b)][a],this[v(0x12c)][v(0x12a)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this['logger'][v(0x12a)](v(0xff)+a),![]);}[a57l(0xe7)](a,b){const w=a57l,c=this[w(0x12b)][b];c?(c[w(0xef)](a),this[w(0x12c)][w(0x12a)]('Added\x20item\x20'+a[w(0x127)]+w(0x129)+c[w(0x127)])):this[w(0x12c)][w(0x12a)](w(0xf3)+a[w(0x127)]+w(0x102)+b+w(0x130));}['addPuzzleToRoom'](a,b){const x=a57l,c=this[x(0x12b)][b];c?(c['setPuzzle'](a),this[x(0x12c)]['write'](x(0x11b)+c[x(0x127)])):this[x(0x12c)][x(0x12a)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+x(0x130));}[a57l(0x100)](a,b){const y=a57l,c=this['rooms'][b];c?(this[y(0x119)][y(0x121)](a[y(0x127)],c),this[y(0x12c)][y(0x12a)](a[y(0x127)]+y(0x104)+c[y(0x127)])):this[y(0x12c)]['write'](y(0x10b)+a[y(0x127)]+y(0xfd)+b+'\x20not\x20found\x20in\x20scene.');}[a57l(0xfa)](a){const z=a57l;return this['characterLocations'][z(0x11d)](a[z(0x127)]);}[a57l(0xe9)](){const A=a57l,a=[];for(const c in this['rooms']){if(this['rooms'][A(0x10e)](c)){const d=this[A(0x12b)][c];d['isStartRoom']&&a[A(0x125)](d);}}if(a[A(0xf2)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[A(0xf2)]===0x1)return a[0x0];const b=Object[A(0xfb)](this['rooms']);if(b['length']===0x0)throw new Error(A(0x122));return console[A(0x105)](A(0x113)),this[A(0x12b)][b[0x0]];}[a57l(0x10c)](){const B=a57l;return this[B(0x103)];}[a57l(0xe6)](){return this['rooms'];}[a57l(0x12f)](a,b,c,d){const C=a57l,e=this[C(0x12b)][a],f=this[C(0x12b)][c];if(!e)throw new Error('Room\x20\x22'+a+C(0x11a));if(!f)throw new Error('Room\x20\x22'+c+C(0x11a));e[C(0xfe)](b,f,d);}}