@maka/maka-cli 4.13.15 → 4.13.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/aws/_index.js +1 -1
  109. package/bundle/obf/src/generators/aws/aws.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  113. package/bundle/obf/src/generators/collection.js +1 -1
  114. package/bundle/obf/src/generators/component.js +1 -1
  115. package/bundle/obf/src/generators/config.js +1 -1
  116. package/bundle/obf/src/generators/dbc.js +1 -1
  117. package/bundle/obf/src/generators/dockerfile.js +1 -1
  118. package/bundle/obf/src/generators/hook.js +1 -1
  119. package/bundle/obf/src/generators/kits/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  127. package/bundle/obf/src/generators/kits/kit.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  132. package/bundle/obf/src/generators/layout.js +1 -1
  133. package/bundle/obf/src/generators/maka.gen.js +1 -1
  134. package/bundle/obf/src/generators/methods.js +1 -1
  135. package/bundle/obf/src/generators/package.js +1 -1
  136. package/bundle/obf/src/generators/page.js +1 -1
  137. package/bundle/obf/src/generators/publish.js +1 -1
  138. package/bundle/obf/src/generators/route.js +1 -1
  139. package/bundle/obf/src/generators/service.js +1 -1
  140. package/bundle/obf/src/generators/services/_index.js +1 -1
  141. package/bundle/obf/src/generators/services/openssl.js +1 -1
  142. package/bundle/obf/src/generators/services/translation.js +1 -1
  143. package/bundle/obf/src/maka.js +1 -1
  144. package/bundle/obf/src/tool.js +1 -1
  145. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/options/options.class.js +1 -1
  157. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  158. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  159. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  161. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  163. package/package.json +1 -1
@@ -1 +1 @@
1
- function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x159;let f=c[d];return f;},a38d(a,b);}const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x18b))/0x1*(-parseInt(f(0x16f))/0x2)+-parseInt(f(0x15a))/0x3*(-parseInt(f(0x16c))/0x4)+parseInt(f(0x15c))/0x5*(parseInt(f(0x185))/0x6)+parseInt(f(0x161))/0x7+parseInt(f(0x17a))/0x8+parseInt(f(0x15d))/0x9*(parseInt(f(0x16b))/0xa)+-parseInt(f(0x178))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x87b5b));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x174)]()[h(0x181)](h(0x18d))[h(0x174)]()['constructor'](a38a)[h(0x181)](h(0x18d));});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0x172)]=a38i(0x179);static [a38i(0x182)]=a38i(0x159);[a38i(0x186)](a=[]){const j=a38i;this[j(0x18a)]['write'](j(0x15e));const b=a[j(0x180)]('\x20');if(b){if(this[j(0x16a)]['inventory'][j(0x17b)](b))return this['logger'][j(0x16d)](j(0x17c)+b+'\x27\x20in\x20'+this[j(0x16a)][j(0x17d)]+j(0x168)),this[j(0x187)](b,this[j(0x16a)][j(0x175)]);else{if(this[j(0x16a)]['currentLocation'][j(0x175)][j(0x17b)](b))return this[j(0x18a)][j(0x16d)]('Looking\x20at\x20item\x20\x27'+b+'\x27\x20in\x20current\x20room\x20inventory.'),this[j(0x187)](b,this[j(0x16a)][j(0x190)][j(0x175)]);else return this[j(0x160)](b)?(this[j(0x18a)]['write'](j(0x15f)+b+'\x27.'),this[j(0x183)](b)):j(0x188)+b;}}else return this['logger'][j(0x16d)](this[j(0x16a)][j(0x17d)]+j(0x189)),this['look']();}[a38i(0x179)](){const k=a38i,a=this['actor']['currentLocation'];if(!a)return this[k(0x18a)][k(0x173)](this[k(0x16a)]['name']+k(0x162)),k(0x17f);let b=a['description'];return a['puzzle']&&(b+='\x0a'+a[k(0x171)][k(0x18e)]),b;}['lookOutside'](a){const l=a38i,b=this[l(0x16a)]['currentLocation'];if(!b)return this[l(0x18a)]['error'](this[l(0x16a)][l(0x17d)]+l(0x162)),l(0x17f);const c=b[l(0x176)][l(0x18f)](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x165)](b);else{if(typeof c===l(0x15b)){d=this[l(0x16e)]&&this[l(0x16e)][c];if(!d)return l(0x163)+a+'\x22.';}else return l(0x184)+a+'\x22.';}if(d[l(0x169)]===RoomType[l(0x170)]){if(a==='up')return l(0x18c)+d[l(0x182)];else return a==='down'?l(0x167)+d['description']:l(0x17e)+a+',\x20you\x20see\x20'+d[l(0x182)];}else return l(0x191);}[a38i(0x187)](a,b){const m=a38i,c=b['getItem'](a);if(!c)return m(0x164)+a+'\x20here.';return c['description']||m(0x177)+a+'.';}}function a38c(){const n=['You\x27re\x20not\x20in\x20a\x20valid\x20room.','join','search','description','lookOutside','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','214878HjpgEt','execute','inspectItem','You\x20cannot\x20see\x20','\x20is\x20looking\x20around\x20the\x20current\x20room.','logger','1ZAuOmt','Above\x20you,\x20','(((.+)+)+)+$','riddle','get','currentLocation','You\x20cannot\x20see\x20through','Examine\x20your\x20surroundings','117354BQvXjc','string','150OGPAAr','162fxAquX','Executing\x20\x27Look\x27\x20command.','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','isValidDirection','5867694jcizpa','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','You\x20don\x27t\x20see\x20any\x20','getOtherSide','apply','Below\x20you,\x20','\x20inventory.','roomType','actor','544610snGXNT','48pwXimh','write','rooms','1859742LjptiK','OUTSIDE','puzzle','verb','error','toString','inventory','exits','It\x27s\x20just\x20a\x20regular\x20','48294697wJJaxk','look','5232616gytExK','hasItem','Looking\x20at\x20item\x20\x27','name','To\x20the\x20'];a38c=function(){return n;};return a38c();}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x147))/0x1+-parseInt(f(0x137))/0x2+-parseInt(f(0x135))/0x3+parseInt(f(0x163))/0x4+-parseInt(f(0x141))/0x5+parseInt(f(0x149))/0x6+parseInt(f(0x13b))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x6593c));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x156)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x14d)]()[h(0x161)]('(((.+)+)+)+$')[h(0x14d)]()[h(0x153)](a38a)[h(0x161)](h(0x142));});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x130;let f=c[d];return f;},a38d(a,b);}function a38c(){const n=['toString','Below\x20you,\x20','puzzle','You\x20cannot\x20see\x20','OUTSIDE','error','constructor','Executing\x20\x27Look\x27\x20command.','actor','apply','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','You\x20don\x27t\x20see\x20any\x20','Above\x20you,\x20','getOtherSide','Examine\x20your\x20surroundings','It\x27s\x20just\x20a\x20regular\x20','down','get','\x27\x20in\x20','To\x20the\x20','search','You\x27re\x20not\x20in\x20a\x20valid\x20room.','2296292EruVod','write','Looking\x20at\x20item\x20\x27','\x20is\x20looking\x20around\x20the\x20current\x20room.','\x20here.','description','1686324zAPAyn','\x27\x20in\x20current\x20room\x20inventory.','1317108XOHpaH','isValidDirection','name','inventory','4132751fifPQg','verb','currentLocation','riddle','You\x20cannot\x20see\x20through','lookOutside','3186845BPmKYu','(((.+)+)+)+$','execute','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','getItem','look','458205CsTwMM','inspectItem','3908520MCaGmI','join','hasItem','logger'];a38c=function(){return n;};return a38c();}import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0x13c)]=a38i(0x146);static [a38i(0x134)]=a38i(0x15b);[a38i(0x143)](a=[]){const j=a38i;this['logger']['write'](j(0x154));const b=a[j(0x14a)]('\x20');if(b){if(this['actor'][j(0x13a)][j(0x14b)](b))return this[j(0x14c)][j(0x130)]('Looking\x20at\x20item\x20\x27'+b+j(0x15f)+this[j(0x155)]['name']+'\x20inventory.'),this[j(0x148)](b,this[j(0x155)][j(0x13a)]);else{if(this['actor'][j(0x13d)][j(0x13a)][j(0x14b)](b))return this[j(0x14c)][j(0x130)](j(0x131)+b+j(0x136)),this['inspectItem'](b,this[j(0x155)][j(0x13d)][j(0x13a)]);else return this[j(0x138)](b)?(this['logger'][j(0x130)](j(0x157)+b+'\x27.'),this[j(0x140)](b)):j(0x150)+b;}}else return this[j(0x14c)][j(0x130)](this[j(0x155)][j(0x139)]+j(0x132)),this[j(0x146)]();}['look'](){const k=a38i,a=this['actor']['currentLocation'];if(!a)return this['logger'][k(0x152)](this['actor'][k(0x139)]+k(0x144)),k(0x162);let b=a['description'];return a['puzzle']&&(b+='\x0a'+a[k(0x14f)][k(0x13e)]),b;}[a38i(0x140)](a){const l=a38i,b=this['actor']['currentLocation'];if(!b)return this[l(0x14c)][l(0x152)](this[l(0x155)][l(0x139)]+l(0x144)),l(0x162);const c=b['exits'][l(0x15e)](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x15a)](b);else{if(typeof c==='string'){d=this['rooms']&&this['rooms'][c];if(!d)return'There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}else return'Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}if(d['roomType']===RoomType[l(0x151)]){if(a==='up')return l(0x159)+d[l(0x134)];else return a===l(0x15d)?l(0x14e)+d[l(0x134)]:l(0x160)+a+',\x20you\x20see\x20'+d['description'];}else return l(0x13f);}['inspectItem'](a,b){const m=a38i,c=b[m(0x145)](a);if(!c)return m(0x158)+a+m(0x133);return c[m(0x134)]||m(0x15c)+a+'.';}}
@@ -1 +1 @@
1
- const a39i=a39d;function a39c(){const k=['You\x20say:\x20\x22','359904DpFXwR','allActors','(((.+)+)+)+$','verb','What\x20do\x20you\x20want\x20to\x20say?','2LCfzKu','toString','description','search','currentLocation','371871KCybCk','\x20says\x20to\x20','actor','106342qJpzDX','context','join','constructor','637203HvJCYs','4340SALKmX','1184652PDWNja','529326WuPGFH','log','execute','615AwviYv','say','filter','name','logger'];a39c=function(){return k;};return a39c();}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x1dd))/0x1*(-parseInt(g(0x1f2))/0x2)+-parseInt(g(0x1e1))/0x3+-parseInt(g(0x1e2))/0x4*(-parseInt(g(0x1e7))/0x5)+-parseInt(g(0x1e4))/0x6+parseInt(g(0x1e3))/0x7+parseInt(g(0x1ed))/0x8+-parseInt(g(0x1da))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x1b5d0));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1d8;let f=c[d];return f;},a39d(a,b);}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(0x1f3)]()[h(0x1d8)]('(((.+)+)+)+$')[h(0x1f3)]()[h(0x1e0)](a39a)['search'](h(0x1ef));});a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39i(0x1f0)]=a39i(0x1e8);static [a39i(0x1f4)]='Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.';[a39i(0x1de)];constructor(a){super(a),this['context']=a;}[a39i(0x1e6)](a){const j=a39i;if(a['length']===0x0)return j(0x1f1);const b=a[j(0x1df)]('\x20'),c=this[j(0x1dc)],d=this[j(0x1de)]['scene'];if(!d)return this['logger']['log']('Scene\x20is\x20missing\x20from\x20context.'),'An\x20error\x20occurred.';const e=d[j(0x1ee)][j(0x1e9)](f=>f[j(0x1d9)]===c['currentLocation']);for(const f of e){this[j(0x1eb)][j(0x1e5)](c[j(0x1ea)]+j(0x1db)+f[j(0x1ea)]+':\x20\x22'+b+'\x22'),this[j(0x1dc)][j(0x1d9)]['say'](f,b);}return j(0x1ec)+b+'\x22';}}
1
+ function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x83;let f=c[d];return f;},a39d(a,b);}const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x91))/0x1+parseInt(g(0x90))/0x2+-parseInt(g(0x99))/0x3+parseInt(g(0x8c))/0x4*(parseInt(g(0x8f))/0x5)+-parseInt(g(0x9e))/0x6*(parseInt(g(0x83))/0x7)+parseInt(g(0x8d))/0x8*(parseInt(g(0x8e))/0x9)+-parseInt(g(0x9c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x78d50));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x85)]()[i(0x97)](i(0x87))[i(0x85)]()[i(0x9b)](a39a)[i(0x97)](i(0x87));});a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0xa0)]=a39j(0x89);static ['description']=a39j(0x96);[a39j(0x95)];constructor(a){const k=a39j;super(a),this[k(0x95)]=a;}[a39j(0x88)](a){const l=a39j;if(a[l(0x93)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a['join']('\x20'),c=this['actor'],d=this[l(0x95)][l(0x9f)];if(!d)return this['logger']['log'](l(0x9a)),l(0xa2);const e=d[l(0x8b)][l(0x9d)](f=>f[l(0x92)]===c[l(0x92)]);for(const f of e){this['logger'][l(0x86)](c[l(0x98)]+l(0x8a)+f[l(0x98)]+l(0x94)+b+'\x22'),this[l(0xa1)][l(0x92)][l(0x89)](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}function a39c(){const m=[':\x20\x22','context','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','search','name','347805JAojsY','Scene\x20is\x20missing\x20from\x20context.','constructor','5292450Ugittf','filter','5548962TBhFcC','scene','verb','actor','An\x20error\x20occurred.','7kEDOey','apply','toString','log','(((.+)+)+)+$','execute','say','\x20says\x20to\x20','allActors','3392oRJXwS','8GQUikD','2535138rFgJDr','4910SoucmA','1750898AFptuv','75068veSMhW','currentLocation','length'];a39c=function(){return m;};return a39c();}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0xa7))/0x1*(-parseInt(f(0xb6))/0x2)+-parseInt(f(0xb4))/0x3*(-parseInt(f(0xab))/0x4)+parseInt(f(0x9b))/0x5*(parseInt(f(0xa4))/0x6)+parseInt(f(0xb9))/0x7+-parseInt(f(0xa9))/0x8+parseInt(f(0x9e))/0x9+-parseInt(f(0x9a))/0xa*(-parseInt(f(0xac))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xdc162));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()['search']('(((.+)+)+)+$')[h(0xa3)]()[h(0xb1)](a40a)[h(0xaf)](h(0xad));});a40a();function a40c(){const k=['1496684poJaVu','actor','23090UYgeIU','1932240dLPHzj','execute','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','625068ZDhBub','inventory','write','join','Search\x20for\x20items\x20in\x20your\x20area','toString','6ZVbMOb','currentLocation','listItems','186091rcgnLR','name','202256ofjbiK','apply','108jUhWBL','8008DJfvTD','(((.+)+)+)+$','You\x20search\x20the\x20area\x20and\x20find:\x20','search','length','constructor','SearchCommand:\x20','\x20found\x20the\x20following\x20items:\x20','27879oyRpLz','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','18qAfhLg','description','logger'];a40c=function(){return k;};return a40c();}import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x9a;let f=c[d];return f;},a40d(a,b);}export class SearchCommand extends Command{static ['verb']=a40i(0xaf);static [a40i(0xb7)]=a40i(0xa2);[a40i(0x9c)](){const j=a40i,a=this[j(0xba)][j(0xa5)][j(0x9f)][j(0xa6)]();if(a[j(0xb0)]===0x0)return this[j(0xb8)]['write']('SearchCommand:\x20'+this[j(0xba)][j(0xa8)]+j(0xb5)),j(0x9d);const b=a[j(0xa1)](',\x20');return this[j(0xb8)][j(0xa0)](j(0xb2)+this[j(0xba)]['name']+j(0xb3)+b),j(0xae)+b;}}
1
+ const a40i=a40d;function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x172;let f=c[d];return f;},a40d(a,b);}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x17c))/0x1+parseInt(f(0x174))/0x2*(-parseInt(f(0x186))/0x3)+-parseInt(f(0x18a))/0x4*(parseInt(f(0x189))/0x5)+parseInt(f(0x173))/0x6+parseInt(f(0x180))/0x7+-parseInt(f(0x184))/0x8*(parseInt(f(0x172))/0x9)+parseInt(f(0x176))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xcb6e2));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x187)]()[h(0x17e)](h(0x181))[h(0x187)]()['constructor'](a40a)[h(0x17e)]('(((.+)+)+)+$');});function a40c(){const k=['1787990WyBNax','execute','logger','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','verb','SearchCommand:\x20','114691lpYoMq','length','search','actor','8780646owmxsX','(((.+)+)+)+$','write','currentLocation','328YBaSFp','apply','11901ZAxvjx','toString','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','50zszWlY','61148IgsaJa','\x20found\x20the\x20following\x20items:\x20','inventory','name','128151cNSvTL','2583912EjLOtM','206grhiUc','listItems'];a40c=function(){return k;};return a40c();}a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0x17a)]=a40i(0x17e);static ['description']='Search\x20for\x20items\x20in\x20your\x20area';[a40i(0x177)](){const j=a40i,a=this[j(0x17f)][j(0x183)][j(0x18c)][j(0x175)]();if(a[j(0x17d)]===0x0)return this[j(0x178)][j(0x182)](j(0x17b)+this['actor'][j(0x18d)]+j(0x188)),j(0x179);const b=a['join'](',\x20');return this[j(0x178)]['write'](j(0x17b)+this['actor'][j(0x18d)]+j(0x18b)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
@@ -1 +1 @@
1
- const a41i=a41d;function a41c(){const k=['description','319313FLDVUE','currentLocation','success','inventory','172884qFCgTQ','48424icWBfi','addItem','3PPdXnj','toString','3000030LzYSlI','verb','actor','297gPrIiF','90GvtjvZ','2138198fIeifJ','Attempt\x20to\x20solve\x20a\x20puzzle.','logger','write','toLowerCase','solve','185nMQQAu','6540611BvEeaS','puzzle','search','rewardItem','3432940lnvoAt','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','apply','(((.+)+)+)+$','join','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'];a41c=function(){return k;};return a41c();}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x136))/0x1+parseInt(f(0x124))/0x2*(-parseInt(f(0x13d))/0x3)+-parseInt(f(0x12f))/0x4+parseInt(f(0x12a))/0x5*(parseInt(f(0x13a))/0x6)+-parseInt(f(0x12b))/0x7+-parseInt(f(0x13b))/0x8*(-parseInt(f(0x142))/0x9)+parseInt(f(0x143))/0xa*(parseInt(f(0x13f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x83b19));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x124;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x13e)]()[h(0x12d)](h(0x132))[h(0x13e)]()['constructor'](a41a)[h(0x12d)](h(0x132));});a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0x140)]=a41i(0x129);static [a41i(0x135)]=a41i(0x125);['execute'](a){const j=a41i,b=a[j(0x133)]('\x20')[j(0x128)](),c=this['actor'][j(0x137)];if(!c||!c[j(0x12c)])return this['logger'][j(0x127)](j(0x134)),j(0x130);const d=c[j(0x12c)]['solve'](b,this[j(0x141)][j(0x139)]);return d[j(0x138)]&&c[j(0x12c)][j(0x12e)]&&this[j(0x141)]['inventory'][j(0x13c)](c[j(0x12c)][j(0x12e)]),this[j(0x126)][j(0x127)]('SolveCommand:\x20'+d['message']),d['message'];}}
1
+ function a41c(){const k=['9PQzYiI','toString','4215024tPKhvP','486cgLEEW','9076WHbPEH','rewardItem','Attempt\x20to\x20solve\x20a\x20puzzle.','actor','write','392571toCybk','237812ZWxVlc','21kvTyoI','apply','solve','1851610ZVHnZF','search','puzzle','toLowerCase','7355sJDXcD','success','message','245880vnkDTw','SolveCommand:\x20','verb','inventory','currentLocation','107NfzHyp','logger','join','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','description','(((.+)+)+)+$','execute'];a41c=function(){return k;};return a41c();}const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x79))/0x1*(-parseInt(f(0x84))/0x2)+parseInt(f(0x89))/0x3+-parseInt(f(0x8a))/0x4+parseInt(f(0x92))/0x5*(-parseInt(f(0x83))/0x6)+-parseInt(f(0x8b))/0x7*(-parseInt(f(0x95))/0x8)+-parseInt(f(0x80))/0x9*(-parseInt(f(0x8e))/0xa)+-parseInt(f(0x82))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x510e1));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x8c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x81)]()[h(0x8f)](h(0x7e))['toString']()['constructor'](a41a)[h(0x8f)]('(((.+)+)+)+$');});a41a();import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x79;let f=c[d];return f;},a41d(a,b);}export class SolveCommand extends Command{static [a41i(0x97)]=a41i(0x8d);static [a41i(0x7d)]=a41i(0x86);[a41i(0x7f)](a){const j=a41i,b=a[j(0x7b)]('\x20')[j(0x91)](),c=this[j(0x87)][j(0x99)];if(!c||!c['puzzle'])return this[j(0x7a)][j(0x88)](j(0x7c)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[j(0x90)]['solve'](b,this[j(0x87)][j(0x98)]);return d[j(0x93)]&&c['puzzle'][j(0x85)]&&this[j(0x87)][j(0x98)]['addItem'](c[j(0x90)][j(0x85)]),this[j(0x7a)][j(0x88)](j(0x96)+d[j(0x94)]),d[j(0x94)];}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x154))/0x1+parseInt(f(0x156))/0x2+-parseInt(f(0x17c))/0x3*(parseInt(f(0x16f))/0x4)+parseInt(f(0x163))/0x5+-parseInt(f(0x17a))/0x6+-parseInt(f(0x17f))/0x7*(parseInt(f(0x16a))/0x8)+-parseInt(f(0x15d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xc4baf));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x171)]()[h(0x15f)](h(0x175))[h(0x171)]()[h(0x16c)](a42a)[h(0x15f)]('(((.+)+)+)+$');});a42a();function a42c(){const l=['6ApyNIY','join','removeItem','7EmIPoB','message','996640xWPNZP','\x22\x20from\x20','2057266SojdHx','addInventory','\x22\x20in\x20this\x20room.','apply','The\x20item\x20\x22','\x20during\x20\x27Take\x27\x20command.','You\x20have\x20taken\x20the\x20','542196uwUJAO','hasItem','search','\x22\x20to\x20','name','write','7708240VEKTWr','actor','execute','getItem','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Item\x20\x22','take','12017232KcQFok','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','constructor','Error\x20during\x20\x27Take\x27\x20command:\x20','toLowerCase','988852NTrcYC','\x22\x20not\x20found\x20in\x20','toString','There\x20is\x20no\x20item\x20\x22','logger','\x22\x20not\x20retrieved\x20from\x20','(((.+)+)+)+$','Successfully\x20removed\x20\x22','verb','description','currentLocation','4225740FmFdZU','Pick\x20up\x20an\x20item.'];a42c=function(){return l;};return a42c();}import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x153;let f=c[d];return f;},a42d(a,b);}export class TakeCommand extends Command{static [a42i(0x177)]=a42i(0x169);static [a42i(0x178)]=a42i(0x17b);[a42i(0x165)](a){const j=a42i;return this[j(0x173)]['write']('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x17d)]('\x20')),this['take'](a);}[a42i(0x169)](a){const k=a42i,b=a['join']('\x20')[k(0x16e)](),c=this[k(0x164)][k(0x179)];if(!c['inventory'][k(0x15e)](b))return this[k(0x173)][k(0x162)](k(0x168)+b+k(0x170)+c[k(0x161)]+k(0x15b)),k(0x172)+b+k(0x158);const d=c['inventory'][k(0x166)](b);if(!d)return this[k(0x173)][k(0x162)](k(0x168)+b+k(0x174)+c[k(0x161)]+k(0x16b)),k(0x172)+b+k(0x158);try{return this['actor'][k(0x157)](d),this[k(0x173)][k(0x162)]('Successfully\x20added\x20\x22'+b+k(0x160)+this[k(0x164)][k(0x161)]+k(0x167)),c['inventory'][k(0x17e)](b),this[k(0x173)]['write'](k(0x176)+b+k(0x155)+c[k(0x161)]+k(0x16b)),k(0x15c)+b+'.';}catch(e){return this[k(0x173)][k(0x162)](k(0x16d)+e[k(0x153)]),k(0x15a)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
1
+ const a42h=a42d;function a42c(){const k=['6KiXHQt','removeItem','Successfully\x20added\x20\x22','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','2124895HPkguG','\x22\x20not\x20found\x20in\x20','Pick\x20up\x20an\x20item.','hasItem','execute','take','toLowerCase','inventory','logger','2153696ghEZXA','\x22\x20from\x20','constructor','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','93496xpDvqx','1717rwiuzr','verb','name','1331057rXvMTt','actor','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','450uLdThm','3409470ypQPkk','There\x20is\x20no\x20item\x20\x22','\x22\x20is\x20too\x20heavy\x20to\x20carry.','write','join','The\x20item\x20\x22','getItem','334005ZrfbSR','(((.+)+)+)+$','description','Item\x20\x22','\x22\x20in\x20this\x20room.','\x22\x20to\x20','toString'];a42c=function(){return k;};return a42c();}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x1f2))/0x1*(parseInt(f(0x1f8))/0x2)+-parseInt(f(0x1d9))/0x3+-parseInt(f(0x1f1))/0x4+-parseInt(f(0x1e4))/0x5+-parseInt(f(0x1e0))/0x6*(parseInt(f(0x1f5))/0x7)+parseInt(f(0x1ed))/0x8+parseInt(f(0x1f9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x45770));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const g=a42d;return a42a[g(0x1df)]()['search']('(((.+)+)+)+$')[g(0x1df)]()[g(0x1ef)](a42a)['search'](g(0x1da));});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a42d(a,b);}a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a42h(0x1f3)]=a42h(0x1e9);static [a42h(0x1db)]=a42h(0x1e6);[a42h(0x1e8)](a){const i=a42h;return this[i(0x1ec)]['write'](i(0x1f7)+a[i(0x1d6)]('\x20')),this[i(0x1e9)](a);}[a42h(0x1e9)](a){const j=a42h,b=a['join']('\x20')[j(0x1ea)](),c=this[j(0x1f6)]['currentLocation'];if(!c[j(0x1eb)][j(0x1e7)](b))return this[j(0x1ec)][j(0x1d5)](j(0x1dc)+b+j(0x1e5)+c[j(0x1f4)]+'\x20during\x20\x27Take\x27\x20command.'),j(0x1d3)+b+j(0x1dd);const d=c[j(0x1eb)][j(0x1d8)](b);if(!d)return this[j(0x1ec)][j(0x1d5)](j(0x1dc)+b+'\x22\x20not\x20retrieved\x20from\x20'+c['name']+j(0x1f0)),'There\x20is\x20no\x20item\x20\x22'+b+j(0x1dd);try{return this['actor']['addInventory'](d),this['logger'][j(0x1d5)](j(0x1e2)+b+j(0x1de)+this[j(0x1f6)][j(0x1f4)]+j(0x1e3)),c[j(0x1eb)][j(0x1e1)](b),this[j(0x1ec)]['write']('Successfully\x20removed\x20\x22'+b+j(0x1ee)+c[j(0x1f4)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this[j(0x1ec)][j(0x1d5)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e['message']),j(0x1d7)+b+j(0x1d4);}}}
@@ -1 +1 @@
1
- const a43i=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x85;let f=c[d];return f;},a43d(a,b);}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x89))/0x1+-parseInt(f(0x8d))/0x2*(parseInt(f(0x8f))/0x3)+parseInt(f(0x8c))/0x4*(parseInt(f(0x90))/0x5)+parseInt(f(0x93))/0x6*(parseInt(f(0x94))/0x7)+-parseInt(f(0x86))/0x8+parseInt(f(0x98))/0x9+parseInt(f(0x96))/0xa*(parseInt(f(0x95))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xe4629));function a43c(){const k=['constructor','678aGCmCN','865vQbFfd','search','logger','6EFJONm','1701875EJnzEl','10355048cPtUqa','10STRaRj','UnequipCommand:\x20','14020623hjRzRi','unqeuip','Unequip\x20an\x20item.','join','toString','13900504zaRezR','\x20unqeuiped\x20','apply','1685333oEvIlZ','(((.+)+)+)+$','verb','37396TOSyxv','12Obnzza'];a43c=function(){return k;};return a43c();}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x85)]()[h(0x91)](h(0x8a))[h(0x85)]()[h(0x8e)](a43a)[h(0x91)](h(0x8a));});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x8b)]=a43i(0x99);static ['description']=a43i(0x9a);['execute'](a){const j=a43i,b=a[j(0x9b)]('\x20')['toLowerCase'](),c=this['actor']['unequip'](b);return this[j(0x92)]['write'](j(0x97)+this['actor']['name']+j(0x87)+c),c;}}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x143))/0x1+parseInt(f(0x152))/0x2*(parseInt(f(0x151))/0x3)+parseInt(f(0x148))/0x4*(-parseInt(f(0x141))/0x5)+parseInt(f(0x147))/0x6+parseInt(f(0x13c))/0x7*(parseInt(f(0x13e))/0x8)+-parseInt(f(0x154))/0x9*(parseInt(f(0x14d))/0xa)+-parseInt(f(0x153))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x64b5a));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x14e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x14c)]()[h(0x14a)](h(0x13f))[h(0x14c)]()[h(0x142)](a43a)[h(0x14a)](h(0x13f));});function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x13c;let f=c[d];return f;},a43d(a,b);}function a43c(){const k=['unequip','search','toLowerCase','toString','10CZxrQC','apply','verb','logger','6bbYxCk','504572erVmjB','9363761ZucLTK','5360787lNOLTt','55314mdDYNV','execute','696BjLBZh','(((.+)+)+)+$','description','1910820rfxgxj','constructor','687326KVdIGF','actor','Unequip\x20an\x20item.','write','4466136LbttNU','8DpjGgB'];a43c=function(){return k;};return a43c();}a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x14f)]='unqeuip';static [a43i(0x140)]=a43i(0x145);[a43i(0x13d)](a){const j=a43i,b=a['join']('\x20')[j(0x14b)](),c=this[j(0x144)][j(0x149)](b);return this[j(0x150)][j(0x146)]('UnequipCommand:\x20'+this[j(0x144)]['name']+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0xca))/0x1+parseInt(h(0xcd))/0x2*(-parseInt(h(0xce))/0x3)+-parseInt(h(0xe2))/0x4+parseInt(h(0xb9))/0x5+parseInt(h(0xde))/0x6*(parseInt(h(0xd5))/0x7)+-parseInt(h(0xd0))/0x8*(-parseInt(h(0xbd))/0x9)+-parseInt(h(0xd4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x49c59));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a['toString']()[j(0xbc)](j(0xc1))[j(0xc0)]()[j(0xc3)](a44a)[j(0xbc)](j(0xc1));});function a44c(){const n=['currentLocation','UnlockCommand:\x20No\x20target\x20specified.','Unlock\x20a\x20door.','2435240KKTQuJ','763YcyWCI','description','UnlockCommand:\x20','name','inventory','attemptUnlockExit','error','\x20is\x20attempted\x20to\x20unlock\x20','exits','5466Btfbrs','actor','hasItem','get','1060412SedNrK','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','There\x27s\x20no\x20door\x20named\x20\x22','2335010juItFT','write','has','search','2362401vuOfWN','apply','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','toString','(((.+)+)+)+$','logger','constructor','execute','unlock','\x22\x20here.','getItem','unlockItemOrSolution','toLowerCase','167665mlgqBN','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','isValidDirection','1592TApKKN','1689Cyickh','verb','16xjMobd'];a44c=function(){return n;};return a44c();}a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xb9;let f=c[d];return f;},a44d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0xcf)]=a44k(0xc5);static [a44k(0xd6)]=a44k(0xd3);[a44k(0xc4)](a){const l=a44k;return this[l(0xc5)](a);}[a44k(0xc5)](a){const m=a44k;if(a['length']===0x0)return this[m(0xc2)][m(0xdb)](m(0xd2)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][m(0xc9)](),c=this[m(0xdf)][m(0xd1)];if(this[m(0xcc)](b)&&c['exits'][m(0xbb)](b)){const d=c[m(0xdd)][m(0xe1)](b);if(d instanceof Door){const e=d[m(0xc8)]?.[m(0xc9)]();if(e&&this[m(0xdf)][m(0xd9)][m(0xe0)](e)){const f=this[m(0xdf)][m(0xd9)][m(0xc7)](e);if(f){const g=c[m(0xda)](b,f['name']);return this[m(0xc2)]['write'](m(0xd7)+this[m(0xdf)][m(0xd8)]+m(0xdc)+b+'.\x20Result:\x20'+g),g;}}return this[m(0xc2)][m(0xba)](m(0xd7)+this[m(0xdf)]['name']+m(0xcb)+b+'.'),m(0xbf);}else return this[m(0xc2)][m(0xba)](m(0xd7)+b+m(0xe3)+c[m(0xd8)]+'.'),m(0xe4)+b+m(0xc6);}else return this[m(0xc2)][m(0xba)](m(0xd7)+b+m(0xe3)+c[m(0xd8)]+'.'),m(0xe4)+b+m(0xc6);}}
1
+ const a44k=a44d;function a44c(){const m=['2605324xIGQmZ','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','4yfEQSW','3786576WgEPgq','unlock','constructor','search','154740jYdlrE','error','14851845RWEVHn','\x22\x20here.','(((.+)+)+)+$','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','UnlockCommand:\x20','apply','Unlock\x20a\x20door.','length','description','logger','execute','toString','attemptUnlockExit','UnlockCommand:\x20No\x20target\x20specified.','5892640vrodOn','There\x27s\x20no\x20door\x20named\x20\x22','has','10OyeLRq','name','30troDRh','actor','verb','write','7953211fZtLbA','currentLocation','inventory','get','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','exits','unlockItemOrSolution','isValidDirection','toLowerCase','87829cTizfO'];a44c=function(){return m;};return a44c();}(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0xe6))/0x1*(parseInt(h(0xbf))/0x2)+parseInt(h(0xc0))/0x3+-parseInt(h(0xbd))/0x4+-parseInt(h(0xc4))/0x5*(parseInt(h(0xd9))/0x6)+parseInt(h(0xdd))/0x7+parseInt(h(0xd4))/0x8+-parseInt(h(0xc6))/0x9*(parseInt(h(0xd7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xd0937));function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xbd;let f=c[d];return f;},a44d(a,b);}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0xd1)]()[j(0xc3)](j(0xc8))['toString']()[j(0xc2)](a44a)[j(0xc3)]('(((.+)+)+)+$');});a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0xdb)]='unlock';static [a44k(0xce)]=a44k(0xcc);[a44k(0xd0)](a){return this['unlock'](a);}[a44k(0xc1)](a){const l=a44k;if(a[l(0xcd)]===0x0)return this['logger'][l(0xc5)](l(0xd3)),l(0xe1);const b=a[0x0][l(0xe5)](),c=this[l(0xda)][l(0xde)];if(this[l(0xe4)](b)&&c[l(0xe2)][l(0xd6)](b)){const d=c[l(0xe2)][l(0xe0)](b);if(d instanceof Door){const e=d[l(0xe3)]?.[l(0xe5)]();if(e&&this['actor'][l(0xdf)]['hasItem'](e)){const f=this[l(0xda)][l(0xdf)]['getItem'](e);if(f){const g=c[l(0xd2)](b,f[l(0xd8)]);return this[l(0xcf)][l(0xdc)](l(0xca)+this[l(0xda)][l(0xd8)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+'.\x20Result:\x20'+g),g;}}return this['logger'][l(0xdc)](l(0xca)+this[l(0xda)]['name']+l(0xc9)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this['logger'][l(0xdc)](l(0xca)+b+l(0xbe)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0xc7);}else return this[l(0xcf)][l(0xdc)](l(0xca)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0xd8)]+'.'),l(0xd5)+b+l(0xc7);}}
@@ -1 +1 @@
1
- const a45h=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x71))/0x1+parseInt(f(0x93))/0x2*(-parseInt(f(0x7a))/0x3)+parseInt(f(0x90))/0x4*(parseInt(f(0x7b))/0x5)+parseInt(f(0x6f))/0x6+-parseInt(f(0x70))/0x7*(parseInt(f(0x84))/0x8)+-parseInt(f(0x92))/0x9+parseInt(f(0x7f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x84ac6));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const g=a45d;return a45a[g(0x8d)]()[g(0x86)](g(0x7d))['toString']()[g(0x74)](a45a)[g(0x86)](g(0x7d));});a45a();function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x6f;let f=c[d];return f;},a45d(a,b);}import{Command}from'./command.js';function a45c(){const k=[',\x20which\x20is\x20not\x20in\x20their\x20inventory.','3NHZnrO','85vcNWNV','You\x20can\x27t\x20use\x20the\x20','(((.+)+)+)+$','\x20to\x20use.','1147390ObopuJ','inventory','\x27s\x20inventory.','logger','\x20attempted\x20to\x20use\x20','5296iQldqP','execute','search','getItem','toLowerCase','write','function','\x20in\x20this\x20way.','join','toString','hasItem','\x20used\x20','182348dfeIMT','You\x20don\x27t\x20have\x20the\x20','3921381QZOBgW','702038ISeZYF','3835854nKrJgM','1645oQqiWj','43299WiuXJl','actor','UseCommand:\x20','constructor','name','\x20doesn\x27t\x20have\x20a\x20use\x20method.','use','verb'];a45c=function(){return k;};return a45c();}export class UseCommand extends Command{static [a45h(0x78)]='use';static ['description']='Use\x20an\x20item.';[a45h(0x85)](a){const i=a45h;return this[i(0x77)](a);}[a45h(0x77)](a){const j=a45h,b=a[j(0x8c)]('\x20')[j(0x88)]();if(!this['actor'][j(0x80)][j(0x8e)](b))return this[j(0x82)][j(0x89)](j(0x73)+this['actor']['name']+j(0x83)+b+j(0x79)),j(0x91)+b+j(0x7e);const c=this[j(0x72)]['inventory'][j(0x87)](b);if(!c)return this['logger'][j(0x89)](j(0x73)+b+'\x20not\x20retrieved\x20from\x20'+this['actor'][j(0x75)]+j(0x81)),j(0x91)+b+'\x20to\x20use.';if(typeof c[j(0x77)]===j(0x8a)){const d=c[j(0x77)]();return this[j(0x82)][j(0x89)](j(0x73)+this[j(0x72)]['name']+j(0x8f)+b+'.'),d;}else return this[j(0x82)]['write']('UseCommand:\x20'+b+j(0x76)),j(0x7c)+b+j(0x8b);}}
1
+ const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x209))/0x1*(-parseInt(f(0x1f3))/0x2)+parseInt(f(0x20b))/0x3*(-parseInt(f(0x1fa))/0x4)+parseInt(f(0x1fe))/0x5+parseInt(f(0x20a))/0x6*(parseInt(f(0x203))/0x7)+parseInt(f(0x215))/0x8*(-parseInt(f(0x1f8))/0x9)+-parseInt(f(0x20d))/0xa+parseInt(f(0x1fc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x96464));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x210)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x1ee)]()[h(0x1f0)](h(0x1fd))[h(0x1ee)]()[h(0x1ef)](a45a)[h(0x1f0)](h(0x1fd));});a45a();function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a45d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0x20e)]=a45i(0x201);static [a45i(0x1f7)]=a45i(0x206);[a45i(0x1f9)](a){const j=a45i;return this[j(0x201)](a);}[a45i(0x201)](a){const k=a45i,b=a[k(0x1fb)]('\x20')[k(0x1f1)]();if(!this[k(0x1f6)][k(0x20f)]['hasItem'](b))return this[k(0x1f4)][k(0x213)](k(0x202)+this['actor']['name']+k(0x208)+b+k(0x205)),k(0x1f2)+b+k(0x1ff);const c=this[k(0x1f6)][k(0x20f)][k(0x212)](b);if(!c)return this[k(0x1f4)]['write']('UseCommand:\x20'+b+k(0x211)+this[k(0x1f6)]['name']+k(0x20c)),k(0x1f2)+b+k(0x1ff);if(typeof c['use']===k(0x207)){const d=c[k(0x201)]();return this['logger'][k(0x213)]('UseCommand:\x20'+this['actor'][k(0x204)]+'\x20used\x20'+b+'.'),d;}else return this['logger'][k(0x213)](k(0x202)+b+k(0x1f5)),k(0x214)+b+k(0x200);}}function a45c(){const l=['You\x20can\x27t\x20use\x20the\x20','411304VwxwEN','toString','constructor','search','toLowerCase','You\x20don\x27t\x20have\x20the\x20','2348662hqrjQj','logger','\x20doesn\x27t\x20have\x20a\x20use\x20method.','actor','description','189xWgiDc','execute','196VggWGg','join','2960144tpRmRK','(((.+)+)+)+$','6151775jBeWSQ','\x20to\x20use.','\x20in\x20this\x20way.','use','UseCommand:\x20','3010910xoiMQf','name',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','Use\x20an\x20item.','function','\x20attempted\x20to\x20use\x20','1TPUkaj','6opguiI','15303FqQctq','\x27s\x20inventory.','11587740XcOoSK','verb','inventory','apply','\x20not\x20retrieved\x20from\x20','getItem','write'];a45c=function(){return l;};return a45c();}
@@ -1 +1 @@
1
- const a46h=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x1d6))/0x1*(parseInt(f(0x1e1))/0x2)+parseInt(f(0x1df))/0x3*(-parseInt(f(0x1e0))/0x4)+parseInt(f(0x1de))/0x5*(-parseInt(f(0x1d4))/0x6)+parseInt(f(0x1da))/0x7*(parseInt(f(0x1d8))/0x8)+-parseInt(f(0x1d7))/0x9+parseInt(f(0x1e5))/0xa+parseInt(f(0x1e3))/0xb*(parseInt(f(0x1e6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x94b50));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const g=a46d;return a46a[g(0x1dc)]()[g(0x1d9)](g(0x1e2))['toString']()[g(0x1dd)](a46a)['search']('(((.+)+)+)+$');});a46a();export class CommandFactory{static [a46h(0x1d5)]={};static[a46h(0x1e4)](a,b){const i=a46h;this[i(0x1d5)][a]=b;}static[a46h(0x1db)](a,b){const j=a46h,c=this[j(0x1d5)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const k=a46h;return this[k(0x1d5)];}}function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a46d(a,b);}function a46c(){const l=['106kYWMeY','(((.+)+)+)+$','134057UGBTYH','registerCommand','4131700EQJVzp','1668dtJxxs','690ZLnDpR','commandMap','8057WkmYCj','2374002GDHwiP','8NrXFOS','search','4506649BvomFK','createCommand','toString','constructor','18485HlrUCG','6SJOLcl','2051824QJrxEK'];a46c=function(){return l;};return a46c();}
1
+ function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x131;let f=c[d];return f;},a46d(a,b);}const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x134))/0x1*(parseInt(f(0x140))/0x2)+parseInt(f(0x13c))/0x3+-parseInt(f(0x136))/0x4+-parseInt(f(0x139))/0x5+-parseInt(f(0x138))/0x6+parseInt(f(0x13a))/0x7+parseInt(f(0x13b))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x83e95));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x13e)]()[h(0x131)]('(((.+)+)+)+$')[h(0x13e)]()[h(0x133)](a46a)[h(0x131)]('(((.+)+)+)+$');});a46a();function a46c(){const l=['toString','commandMap','6BvwDdC','search','createCommand','constructor','305649vtgnbQ','registerCommand','504928GDuqVP','getAllRegisteredCommands','2816268LaMWHL','2701625BVjjOi','1296981jRbevl','1583624LIqTxo','1128183pmzCWQ','apply'];a46c=function(){return l;};return a46c();}export class CommandFactory{static [a46i(0x13f)]={};static[a46i(0x135)](a,b){const j=a46i;this[j(0x13f)][a]=b;}static[a46i(0x132)](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a46i(0x137)](){const k=a46i;return this[k(0x13f)];}}
@@ -1 +1 @@
1
- const a47i=a47d;function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xa3;let f=c[d];return f;},a47d(a,b);}(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0xc3))/0x1*(-parseInt(f(0xbf))/0x2)+-parseInt(f(0xc4))/0x3+parseInt(f(0xa8))/0x4+-parseInt(f(0xb7))/0x5*(parseInt(f(0xb1))/0x6)+-parseInt(f(0xa5))/0x7+-parseInt(f(0xbe))/0x8+parseInt(f(0xa9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xa65db));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0xb9)]()[h(0xaf)](h(0xac))[h(0xb9)]()[h(0xc1)](a47a)[h(0xaf)](h(0xac));});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a47c(){const n=['key','9565616XWcnBm','1781016ivujuq','roomType','constructor','type','1BGrfET','2352135KRjnXz','createPuzzle','items','apply','1352932MRXzHF','INSIDE','createItem','739880DhCPIx','24994107jruRxW','convertToRoomConfig','bodyarmor','(((.+)+)+)+$','gauntlets','name','search','setPuzzle','366fLIPAP','createRoom','forEach','description','toUpperCase','puzzle','81815DfoBjF','rifle','toString','content','isStartRoom','legarmor'];a47c=function(){return n;};return a47c();}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0xb2)](a){const j=a47i,b=this[j(0xaa)](a),c=new Room(b);if(a[j(0xa3)]){const d=new Inventory();a[j(0xa3)][j(0xb3)](e=>{const k=j;d['addItem'](this[k(0xa7)](e));}),c['inventory']=d;}return a['puzzle']&&c[j(0xb0)](this[j(0xc5)](a[j(0xb6)])),c;}[a47i(0xa7)](a){const l=a47i;switch(a[l(0xc2)]){case l(0xbd):return new Key(a[l(0xae)],a[l(0xb4)]);case'book':return new Book(a['name'],a[l(0xb4)],a[l(0xba)]);case'sword':return new Sword(a[l(0xae)],a[l(0xb4)]);case l(0xb8):return new Rifle(a['name'],a['description']);case'helmet':return new Helmet(a[l(0xae)],a['description']);case l(0xab):return new BodyArmor(a['name'],a[l(0xb4)]);case l(0xbc):return new LegArmor(a[l(0xae)],a[l(0xb4)]);case'boots':return new Boots(a[l(0xae)],a[l(0xb4)]);case'gloves':return new Gloves(a[l(0xae)],a['description']);case l(0xad):return new Gauntlets(a[l(0xae)],a[l(0xb4)]);default:return new BasicItem(a[l(0xae)],a[l(0xb4)]);}}[a47i(0xc5)](a){const b=this['createItem'](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const m=a47i,b=a[m(0xc0)]&&RoomType[a[m(0xc0)][m(0xb5)]()]?RoomType[a['roomType'][m(0xb5)]()]:RoomType[m(0xa6)];return{'name':a[m(0xae)],'description':a[m(0xb4)],'isStartRoom':a[m(0xbb)],'roomType':b};}}
1
+ const a47k=a47d;function a47c(){const o=['35414863pXPHSr','items','2848716lWkzwf','gloves','description','toUpperCase','1139760VqIoue','33268rPcvzV','inventory','createItem','isStartRoom','243LNZXLp','12367096nWiuQy','convertToRoomConfig','book','key','rewardItem','(((.+)+)+)+$','boots','setPuzzle','1162550RqPQts','constructor','99lphLHw','addItem','63RlwddO','toString','7xGIJoW','roomType','puzzle','gauntlets','INSIDE','24934WerMXS','rifle','forEach','createPuzzle','search','name','apply','bodyarmor'];a47c=function(){return o;};return a47c();}(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0xd7))/0x1*(parseInt(f(0xde))/0x2)+-parseInt(f(0xca))/0x3*(-parseInt(f(0xc6))/0x4)+parseInt(f(0xc5))/0x5+-parseInt(f(0xc1))/0x6+-parseInt(f(0xd9))/0x7*(-parseInt(f(0xcb))/0x8)+-parseInt(f(0xd5))/0x9*(-parseInt(f(0xd3))/0xa)+-parseInt(f(0xbf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xc790f));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xe4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0xd8)]()[h(0xe2)](h(0xd0))[h(0xd8)]()[h(0xd4)](a47a)[h(0xe2)]('(((.+)+)+)+$');});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xbe;let f=c[d];return f;},a47d(a,b);}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const i=a47d,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[i(0xc0)]){const d=new Inventory();a[i(0xc0)][i(0xe0)](e=>{const j=i;d[j(0xd6)](this[j(0xc8)](e));}),c[i(0xc7)]=d;}return a['puzzle']&&c[i(0xd2)](this[i(0xe1)](a[i(0xdb)])),c;}[a47k(0xc8)](a){const l=a47k;switch(a['type']){case l(0xce):return new Key(a['name'],a[l(0xc3)]);case l(0xcd):return new Book(a[l(0xe3)],a[l(0xc3)],a['content']);case'sword':return new Sword(a[l(0xe3)],a[l(0xc3)]);case l(0xdf):return new Rifle(a[l(0xe3)],a[l(0xc3)]);case'helmet':return new Helmet(a['name'],a[l(0xc3)]);case l(0xbe):return new BodyArmor(a['name'],a['description']);case'legarmor':return new LegArmor(a[l(0xe3)],a[l(0xc3)]);case l(0xd1):return new Boots(a[l(0xe3)],a[l(0xc3)]);case l(0xc2):return new Gloves(a[l(0xe3)],a[l(0xc3)]);case l(0xdc):return new Gauntlets(a[l(0xe3)],a['description']);default:return new BasicItem(a[l(0xe3)],a[l(0xc3)]);}}[a47k(0xe1)](a){const m=a47k,b=this[m(0xc8)](a[m(0xcf)]);return new Puzzle({...a,'rewardItem':b});}[a47k(0xcc)](a){const n=a47k,b=a[n(0xda)]&&RoomType[a[n(0xda)][n(0xc4)]()]?RoomType[a['roomType']['toUpperCase']()]:RoomType[n(0xdd)];return{'name':a[n(0xe3)],'description':a[n(0xc3)],'isStartRoom':a[n(0xc9)],'roomType':b};}}
@@ -1 +1 @@
1
- function a48c(){const s=['getInstance','2301984GwAidl','hasOwnProperty','trim','scene','drop','lock','unlock','5950860IeLviU','2NWmYLJ','-\x20clear:\x20Clear\x20the\x20screen.\x0a','determineStartRoom','690501wBzmQe','solve','player','execute','getHelpMessage','name','clear','Welcome,\x20','74787MlxnDX','5121QLCJDE','toLowerCase','registerCommands','getWelcomeMessage','equip','getDescription','(((.+)+)+)+$','quit','6312160cmbudY','maka','search','8158115iWayiO','instance','registerCommand','slice','handleInput','212yYYLty','take','23530wfDujb','getRooms','createCommand','currentLocation','toString','split','currentRoom','initialize','use','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','-\x20quit:\x20Exit\x20the\x20game.\x0a','look','getAllRegisteredCommands','apply'];a48c=function(){return s;};return a48c();}const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x18a))/0x1*(-parseInt(h(0x187))/0x2)+parseInt(h(0x192))/0x3*(parseInt(h(0x16e))/0x4)+parseInt(h(0x19b))/0x5+parseInt(h(0x186))/0x6+-parseInt(h(0x169))/0x7+parseInt(h(0x17f))/0x8+parseInt(h(0x193))/0x9*(-parseInt(h(0x170))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xa3308));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x174)]()[j(0x19d)]('(((.+)+)+)+$')[j(0x174)]()['constructor'](a48a)[j(0x19d)](j(0x199));});function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x169;let f=c[d];return f;},a48d(a,b);}a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0x16a)];[a48k(0x182)];[a48k(0x18c)];[a48k(0x176)];['rooms'];constructor(a,b){const l=a48k;this[l(0x18c)]=a,this[l(0x182)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x182)][l(0x177)](),this[l(0x18c)][l(0x173)]=this[l(0x189)](),this[l(0x195)]();}[a48k(0x195)](){const m=a48k;CommandFactory[m(0x16b)](m(0x17b),LookCommand),CommandFactory[m(0x16b)]('go',GoCommand),CommandFactory[m(0x16b)](m(0x16f),TakeCommand),CommandFactory[m(0x16b)](m(0x178),UseCommand),CommandFactory[m(0x16b)](m(0x197),EquipCommand),CommandFactory[m(0x16b)]('unequip',UnequipCommand),CommandFactory[m(0x16b)](m(0x18b),SolveCommand),CommandFactory[m(0x16b)](m(0x183),DropCommand),CommandFactory[m(0x16b)](m(0x185),UnlockCommand),CommandFactory[m(0x16b)](m(0x184),LockCommand),CommandFactory[m(0x16b)](m(0x19d),SearchCommand),CommandFactory[m(0x16b)]('say',SayCommand);}['determineStartRoom'](){const n=a48k;return this[n(0x182)][n(0x189)]();}[a48k(0x196)](){const o=a48k;return o(0x191)+this[o(0x18c)][o(0x18f)];}static[a48k(0x17e)](a,b){const p=a48k;return!Game[p(0x16a)]&&(Game['instance']=new Game(a,b)),Game[p(0x16a)];}[a48k(0x16d)](a){const q=a48k,b=a[q(0x181)]()[q(0x175)]('\x20'),c=b[0x0][q(0x194)](),d=b[q(0x16c)](0x1);if(c===q(0x19a))return null;if(c===q(0x19c))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c==='help')return this[q(0x18e)]();if(c===q(0x190))return'';const e={'actor':this[q(0x18c)],'rooms':this['scene'][q(0x171)](),'scene':this[q(0x182)]},f=CommandFactory[q(0x172)](c,e);if(f){const g=f[q(0x18d)](d);return g;}return q(0x179)+c+'\x22.';}[a48k(0x18e)](){const r=a48k,a=CommandFactory[r(0x17c)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0x180)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x198)]()+'\x0a';}}return b+=r(0x188),b+=r(0x17a),b;}}
1
+ const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x16d))/0x1*(-parseInt(h(0x153))/0x2)+parseInt(h(0x15f))/0x3*(-parseInt(h(0x175))/0x4)+-parseInt(h(0x169))/0x5*(parseInt(h(0x17f))/0x6)+-parseInt(h(0x149))/0x7*(parseInt(h(0x166))/0x8)+parseInt(h(0x179))/0x9*(-parseInt(h(0x16f))/0xa)+parseInt(h(0x15a))/0xb+parseInt(h(0x176))/0xc*(parseInt(h(0x161))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xc460b));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x14d)]()[j(0x15e)](j(0x17b))['toString']()[j(0x151)](a48a)[j(0x15e)](j(0x17b));});a48a();import{Scene}from'./models/scene.js';function a48c(){const s=['take','quit','execute','say','9232SsXhal','registerCommands','apply','10sCGtmB','Available\x20Commands:\x0a','getHelpMessage','hasOwnProperty','16471teurqw','split','1600oQFLbt','trim','drop','handleInput','currentLocation','toLowerCase','12siPkTs','852zKNcHV','clear','createCommand','5877RcVLlF','player','(((.+)+)+)+$','-\x20quit:\x20Exit\x20the\x20game.\x0a','instance','-\x20clear:\x20Clear\x20the\x20screen.\x0a','1684182RCjGau','9079dMDiKd','currentRoom','getAllRegisteredCommands','initialize','toString','getDescription','look','slice','constructor','Welcome,\x20','106KijrJn','scene','lock','registerCommand','name','help','equip','10316229iXcnTu','getRooms','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','unlock','search','598698pKNGzx','unequip','640991RAXmxQ'];a48c=function(){return s;};return a48c();}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';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';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x149;let f=c[d];return f;},a48d(a,b);}export default class Game{static [a48k(0x17d)];[a48k(0x154)];[a48k(0x17a)];[a48k(0x14a)];['rooms'];constructor(a,b){const l=a48k;this[l(0x17a)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0x154)][l(0x14c)](),this[l(0x17a)][l(0x173)]=this['determineStartRoom'](),this[l(0x167)]();}[a48k(0x167)](){const m=a48k;CommandFactory[m(0x156)](m(0x14f),LookCommand),CommandFactory[m(0x156)]('go',GoCommand),CommandFactory['registerCommand'](m(0x162),TakeCommand),CommandFactory[m(0x156)]('use',UseCommand),CommandFactory[m(0x156)](m(0x159),EquipCommand),CommandFactory['registerCommand'](m(0x160),UnequipCommand),CommandFactory[m(0x156)]('solve',SolveCommand),CommandFactory[m(0x156)](m(0x171),DropCommand),CommandFactory[m(0x156)](m(0x15d),UnlockCommand),CommandFactory['registerCommand'](m(0x155),LockCommand),CommandFactory[m(0x156)](m(0x15e),SearchCommand),CommandFactory[m(0x156)](m(0x165),SayCommand);}['determineStartRoom'](){const n=a48k;return this[n(0x154)]['determineStartRoom']();}['getWelcomeMessage'](){const o=a48k;return o(0x152)+this[o(0x17a)][o(0x157)];}static['getInstance'](a,b){const p=a48k;return!Game['instance']&&(Game['instance']=new Game(a,b)),Game[p(0x17d)];}[a48k(0x172)](a){const q=a48k,b=a[q(0x170)]()[q(0x16e)]('\x20'),c=b[0x0][q(0x174)](),d=b[q(0x150)](0x1);if(c===q(0x163))return null;if(c==='maka')return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0x158))return this[q(0x16b)]();if(c===q(0x177))return'';const e={'actor':this[q(0x17a)],'rooms':this['scene'][q(0x15b)](),'scene':this[q(0x154)]},f=CommandFactory[q(0x178)](c,e);if(f){const g=f[q(0x164)](d);return g;}return q(0x15c)+c+'\x22.';}['getHelpMessage'](){const r=a48k,a=CommandFactory[r(0x14b)]();let b=r(0x16a);for(const c in a){if(a[r(0x16c)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x14e)]()+'\x0a';}}return b+=r(0x17e),b+=r(0x17c),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1ea))/0x1+-parseInt(f(0x1e6))/0x2+parseInt(f(0x1de))/0x3*(-parseInt(f(0x1e7))/0x4)+-parseInt(f(0x1e4))/0x5+-parseInt(f(0x1df))/0x6*(-parseInt(f(0x1e2))/0x7)+parseInt(f(0x1e1))/0x8*(parseInt(f(0x1e3))/0x9)+-parseInt(f(0x1dd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x3899b));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0x1e8)](h(0x1e5))['toString']()[h(0x1e9)](a49a)[h(0x1e8)]('(((.+)+)+)+$');});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';function a49c(){var i=['constructor','345834YJBwtT','179150QiTwqD','28545RbKkLE','1986pkDTEM','apply','1870136FczOdm','9037FpUrLx','9kGzNbz','1292630zjAJLt','(((.+)+)+)+$','864082RzpzHG','28MsiIre','search'];a49c=function(){return i;};return a49c();}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1dd;var f=c[d];return f;},a49d(a,b);}export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1e7))/0x1*(parseInt(f(0x1e6))/0x2)+-parseInt(f(0x1ec))/0x3*(-parseInt(f(0x1ed))/0x4)+parseInt(f(0x1e3))/0x5+parseInt(f(0x1ee))/0x6*(parseInt(f(0x1e4))/0x7)+parseInt(f(0x1eb))/0x8+parseInt(f(0x1e8))/0x9+-parseInt(f(0x1e5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xacd72));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0x1ef)]()[g(0x1e9)](g(0x1ea))['toString']()['constructor'](a49a)[g(0x1e9)](g(0x1ea));});function a49c(){var h=['3934mNgWhp','32933310lFczJW','127550KZpaam','11jcPoVd','9123894oMHBDq','search','(((.+)+)+)+$','4265440YzeTxK','3sdRuDl','3680660IeWYKE','4140XHLKXt','toString','2224345WaZtrk'];a49c=function(){return h;};return a49c();}a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1e3;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 +1 @@
1
- function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0xa4;var f=c[d];return f;},a50d(a,b);}function a50c(){var n=['toString','getOtherSide','Door\x20unlocked:\x20','19084239hXwJmA','2036792TJySok','1167ilWDRA','.\x20Used:\x20','1185fAyzvu','(((.+)+)+)+$','getInstance','Failed\x20to\x20unlock\x20door:\x20','8063839ocwBRl','11836jJmNva','roomA','.\x20Is\x20Locked:\x20','isLocked','1242088jVysZe','2686744rFJKuz','32250DLZtns','name','logger','write','checkIfLocked','search','checkIfLockable','isLockable','roomB','attemptUnlock','unlockItemOrSolution','apply'];a50c=function(){return n;};return a50c();}var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0xb6))/0x1+parseInt(f(0xb7))/0x2+-parseInt(f(0xab))/0x3*(parseInt(f(0xb2))/0x4)+-parseInt(f(0xad))/0x5*(-parseInt(f(0xb8))/0x6)+-parseInt(f(0xb1))/0x7+-parseInt(f(0xaa))/0x8+parseInt(f(0xa9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xe5013));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[h(0xa6)]()[h(0xbd)](h(0xae))[h(0xa6)]()['constructor'](a50a)[h(0xbd)](h(0xae));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0xb3)];[a50i(0xc0)];['isLocked'];[a50i(0xa4)];[a50i(0xb9)];['logger'];[a50i(0xbf)];constructor(a){var j=a50i;super(),this[j(0xb3)]=a[j(0xb3)],this[j(0xc0)]=a[j(0xc0)],this[j(0xb5)]=a[j(0xb5)]||![],this['unlockItemOrSolution']=a[j(0xa4)],this[j(0xb9)]=a[j(0xb9)]?capitalCase(a[j(0xb9)]):'To\x20'+a[j(0xc0)][j(0xb9)],this[j(0xba)]=Logger[j(0xaf)](),this[j(0xbf)]=!!a[j(0xa4)],this[j(0xba)]['write']('Door\x20created\x20between\x20'+this[j(0xb3)]['name']+'\x20and\x20'+this[j(0xc0)][j(0xb9)]+j(0xb4)+this['isLocked']);}[a50i(0xa7)](a){var k=a50i;return this[k(0xb3)]===a?this[k(0xc0)]:this[k(0xb3)];}[a50i(0xc1)](a){var l=a50i;if(this[l(0xb5)]&&this[l(0xa4)]&&this[l(0xa4)]===a)return this['isLocked']=![],this[l(0xba)][l(0xbb)](l(0xa8)+this[l(0xb9)]+l(0xac)+a),!![];return this['logger'][l(0xbb)](l(0xb0)+this[l(0xb9)]+l(0xac)+a),![];}[a50i(0xbc)](){return this['isLocked'];}[a50i(0xbe)](){var m=a50i;return this[m(0xbf)];}}
1
+ function a50c(){var o=['write','logger','Door\x20created\x20between\x20','.\x20Used:\x20','2337616oczQtw','899673EYMNRU','.\x20Is\x20Locked:\x20','16379726amXYcq','24IgKpPN','name','search','\x20and\x20','650027UktaJQ','59382CKYDTh','40MNtYtN','checkIfLockable','163259dTYtqz','getOtherSide','1130800ErZMin','4CaouAh','unlockItemOrSolution','attemptUnlock','apply','toString','isLockable','roomB','roomA','10KDbntx','(((.+)+)+)+$','isLocked'];a50c=function(){return o;};return a50c();}var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0xb2))/0x1*(-parseInt(f(0xb5))/0x2)+parseInt(f(0xc5))/0x3+parseInt(f(0xc4))/0x4+parseInt(f(0xb4))/0x5+-parseInt(f(0xc8))/0x6*(-parseInt(f(0xae))/0x7)+-parseInt(f(0xb0))/0x8*(-parseInt(f(0xaf))/0x9)+-parseInt(f(0xbd))/0xa*(parseInt(f(0xc7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x56055));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0xb8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a['toString']()['search'](h(0xbe))[h(0xb9)]()['constructor'](a50a)[h(0xca)](h(0xbe));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0xad;var f=c[d];return f;},a50d(a,b);}export class Door extends AbstractDoor{[a50i(0xbc)];[a50i(0xbb)];[a50i(0xbf)];[a50i(0xb6)];[a50i(0xc9)];[a50i(0xc1)];['isLockable'];constructor(a){var j=a50i;super(),this['roomA']=a[j(0xbc)],this[j(0xbb)]=a[j(0xbb)],this[j(0xbf)]=a[j(0xbf)]||![],this[j(0xb6)]=a[j(0xb6)],this[j(0xc9)]=a['name']?capitalCase(a[j(0xc9)]):'To\x20'+a[j(0xbb)][j(0xc9)],this[j(0xc1)]=Logger['getInstance'](),this[j(0xba)]=!!a['unlockItemOrSolution'],this['logger'][j(0xc0)](j(0xc2)+this[j(0xbc)][j(0xc9)]+j(0xad)+this[j(0xbb)][j(0xc9)]+j(0xc6)+this[j(0xbf)]);}[a50i(0xb3)](a){var k=a50i;return this['roomA']===a?this[k(0xbb)]:this[k(0xbc)];}[a50i(0xb7)](a){var l=a50i;if(this[l(0xbf)]&&this[l(0xb6)]&&this[l(0xb6)]===a)return this['isLocked']=![],this[l(0xc1)][l(0xc0)]('Door\x20unlocked:\x20'+this[l(0xc9)]+l(0xc3)+a),!![];return this[l(0xc1)]['write']('Failed\x20to\x20unlock\x20door:\x20'+this[l(0xc9)]+'.\x20Used:\x20'+a),![];}['checkIfLocked'](){var m=a50i;return this[m(0xbf)];}[a50i(0xb1)](){var n=a50i;return this[n(0xba)];}}
@@ -1 +1 @@
1
- function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x12a;let f=c[d];return f;},a51d(a,b);}const a51i=a51d;function a51c(){const r=['getInstance','1391514WEhOCJ','weight','toLowerCase','Checked\x20for\x20item:\x20','\x20from\x20inventory.','listItems','Added\x20item:\x20','removeItem','.\x20Exists:\x20','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','.\x20Item\x20not\x20found.','search','696agHPIp','8097ABrrEd','write','toString','name','(((.+)+)+)+$','Retrieved\x20details\x20for\x20item:\x20','204JLozLI','53942skDgZT','map','622560troagS','getWeight','232UiFeAT','126315beIMWx','items','apply','Removed\x20item:\x20','values','Failed\x20to\x20remove\x20item:\x20','delete','595002XFIhZF','logger','320yjJgHk','528330RASjjU','getItem','keys','1aLqYnz','addItem','\x20to\x20inventory.','constructor','join','Listed\x20items\x20in\x20inventory:\x20'];a51c=function(){return r;};return a51c();}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x139))/0x1*(parseInt(f(0x133))/0x2)+parseInt(f(0x14d))/0x3*(-parseInt(f(0x12b))/0x4)+parseInt(f(0x156))/0x5+-parseInt(f(0x140))/0x6+parseInt(f(0x154))/0x7*(parseInt(f(0x14c))/0x8)+-parseInt(f(0x12c))/0x9*(-parseInt(f(0x135))/0xa)+-parseInt(f(0x136))/0xb*(parseInt(f(0x153))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x522c8));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x14f)]()[h(0x14b)](h(0x151))[h(0x14f)]()[h(0x13c)](a51a)['search'](h(0x151));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x12d)];[a51i(0x134)];constructor(){const j=a51i;super(),this[j(0x12d)]=new Map(),this[j(0x134)]=Logger[j(0x13f)]();}[a51i(0x13a)](a){const k=a51i;this['items']['set'](a['name'][k(0x142)](),a),this[k(0x134)][k(0x14e)](k(0x146)+a[k(0x150)]+k(0x13b));}[a51i(0x147)](a){const l=a51i,b=this[l(0x137)](a);if(b)return this[l(0x12d)][l(0x132)](a[l(0x142)]()),this['logger'][l(0x14e)](l(0x12f)+a+l(0x144)),b;return this[l(0x134)][l(0x14e)](l(0x131)+a+l(0x14a)),null;}['hasItem'](a){const m=a51i,b=this['items']['has'](a[m(0x142)]()),c=[...this['items']['keys']()];return this[m(0x134)][m(0x14e)](m(0x143)+a+'\x20in\x20'+c[m(0x13d)](',\x20')+m(0x148)+b+'.'),b;}['getItem'](a){const n=a51i,b=this['items']['get'](a[n(0x142)]())||null;return b?this[n(0x134)]['write'](n(0x152)+a+'.'):this[n(0x134)][n(0x14e)](n(0x149)+a+n(0x14a)),b;}[a51i(0x145)](){const o=a51i,a=[...this[o(0x12d)][o(0x138)]()],b=a[o(0x155)](c=>capitalCase(c));return this[o(0x134)][o(0x14e)](o(0x13e)+b['join'](',\x20')+'.'),a;}[a51i(0x12a)](){const p=a51i;let a=0x0;for(const b of this[p(0x12d)][p(0x130)]()){a+=b[p(0x141)];}return a;}['getAllItems'](){const q=a51i;return[...this[q(0x12d)][q(0x130)]()];}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x18a))/0x1*(-parseInt(f(0x189))/0x2)+-parseInt(f(0x17f))/0x3*(parseInt(f(0x190))/0x4)+-parseInt(f(0x193))/0x5+parseInt(f(0x19c))/0x6+-parseInt(f(0x184))/0x7*(-parseInt(f(0x178))/0x8)+-parseInt(f(0x192))/0x9+parseInt(f(0x198))/0xa*(parseInt(f(0x18e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x24839));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x182)]()[h(0x194)](h(0x18c))['toString']()[h(0x19a)](a51a)[h(0x194)](h(0x18c));});a51a();function a51c(){const r=['hasItem','logger','map','166xrMqCj','3101YzPqKr','Added\x20item:\x20','(((.+)+)+)+$','get','121ZvYPid','name','8BudtYq','weight','1851237nwVBrf','1099315wQGIPs','search','apply','join','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','909590GPWUZy','Checked\x20for\x20item:\x20','constructor','write','299718pRDuKY','items','getWeight','.\x20Exists:\x20','239576YZsOOe','toLowerCase','addItem','\x20to\x20inventory.','.\x20Item\x20not\x20found.','values','Retrieved\x20details\x20for\x20item:\x20','416844PZYqnm','Removed\x20item:\x20','delete','toString','has','14oNBUgG','keys'];a51c=function(){return r;};return a51c();}import{capitalCase}from'change-case';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x178;let f=c[d];return f;},a51d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a51i(0x187)];constructor(){const j=a51i;super(),this[j(0x19d)]=new Map(),this[j(0x187)]=Logger['getInstance']();}[a51i(0x17a)](a){const k=a51i;this['items']['set'](a['name']['toLowerCase'](),a),this[k(0x187)]['write'](k(0x18b)+a[k(0x18f)]+k(0x17b));}['removeItem'](a){const l=a51i,b=this['getItem'](a);if(b)return this['items'][l(0x181)](a[l(0x179)]()),this[l(0x187)][l(0x19b)](l(0x180)+a+'\x20from\x20inventory.'),b;return this[l(0x187)]['write']('Failed\x20to\x20remove\x20item:\x20'+a+l(0x17c)),null;}[a51i(0x186)](a){const m=a51i,b=this[m(0x19d)][m(0x183)](a[m(0x179)]()),c=[...this[m(0x19d)][m(0x185)]()];return this[m(0x187)][m(0x19b)](m(0x199)+a+'\x20in\x20'+c['join'](',\x20')+m(0x19f)+b+'.'),b;}['getItem'](a){const n=a51i,b=this[n(0x19d)][n(0x18d)](a[n(0x179)]())||null;return b?this['logger'][n(0x19b)](n(0x17e)+a+'.'):this[n(0x187)][n(0x19b)](n(0x197)+a+n(0x17c)),b;}['listItems'](){const o=a51i,a=[...this[o(0x19d)]['keys']()],b=a[o(0x188)](c=>capitalCase(c));return this[o(0x187)][o(0x19b)]('Listed\x20items\x20in\x20inventory:\x20'+b[o(0x196)](',\x20')+'.'),a;}[a51i(0x19e)](){const p=a51i;let a=0x0;for(const b of this['items'][p(0x17d)]()){a+=b[p(0x191)];}return a;}['getAllItems'](){const q=a51i;return[...this['items'][q(0x17d)]()];}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x14b))/0x1+parseInt(f(0x138))/0x2+-parseInt(f(0x136))/0x3*(-parseInt(f(0x14d))/0x4)+-parseInt(f(0x140))/0x5*(-parseInt(f(0x135))/0x6)+-parseInt(f(0x14a))/0x7*(-parseInt(f(0x14c))/0x8)+-parseInt(f(0x142))/0x9*(parseInt(f(0x144))/0xa)+-parseInt(f(0x13b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xba799));function a52c(){var l=['(((.+)+)+)+$','2152124LvUKYT','search','toString','6484236QVvjzU','shape','texture','category','color','5Pmyreg','apply','22275yImzVS','constructor','4660lDYZYK','description','uuid','weight','name','.\x20Nothing\x20special\x20happens.','762251jVWVCX','620558DJgBOO','40AbnOGs','304nyHYhQ','rating','size','2772228TnxnIF','41235brxjpW'];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(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x13a)]()[h(0x139)](h(0x137))[h(0x13a)]()[h(0x143)](a52a)['search'](h(0x137));});function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x133;var f=c[d];return f;},a52d(a,b);}a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0x146)];['name'];[a52i(0x145)];[a52i(0x134)];[a52i(0x13e)];[a52i(0x13c)];['color'];[a52i(0x13d)];['rating'];[a52i(0x147)];constructor(a){var j=a52i;super(),this[j(0x148)]=a[j(0x148)],this[j(0x145)]=a[j(0x145)],this[j(0x134)]=a[j(0x134)],this[j(0x13e)]=a['category'],this['shape']=a[j(0x13c)],this[j(0x13f)]=a[j(0x13f)],this[j(0x13d)]=a[j(0x13d)],this[j(0x133)]=a[j(0x133)],this[j(0x147)]=a[j(0x147)],this[j(0x146)]=a52e();}['use'](){var k=a52i;return'You\x20use\x20the\x20'+this[k(0x148)]+k(0x149);}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x1cf))/0x1+-parseInt(f(0x1d2))/0x2*(-parseInt(f(0x1e0))/0x3)+-parseInt(f(0x1cc))/0x4*(parseInt(f(0x1d3))/0x5)+parseInt(f(0x1d8))/0x6*(-parseInt(f(0x1dd))/0x7)+-parseInt(f(0x1ca))/0x8+parseInt(f(0x1e2))/0x9*(parseInt(f(0x1d4))/0xa)+-parseInt(f(0x1c8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xcc285));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1e1)]()['search'](h(0x1d7))[h(0x1e1)]()[h(0x1db)](a52a)['search'](h(0x1d7));});function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1c8;var f=c[d];return f;},a52d(a,b);}a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0x1d9)];[a52i(0x1cd)];[a52i(0x1e3)];[a52i(0x1d1)];[a52i(0x1cb)];[a52i(0x1ce)];['color'];[a52i(0x1d5)];[a52i(0x1dc)];[a52i(0x1d6)];constructor(a){var j=a52i;super(),this[j(0x1cd)]=a[j(0x1cd)],this[j(0x1e3)]=a[j(0x1e3)],this[j(0x1d1)]=a['size'],this[j(0x1cb)]=a[j(0x1cb)],this[j(0x1ce)]=a[j(0x1ce)],this[j(0x1df)]=a['color'],this[j(0x1d5)]=a[j(0x1d5)],this[j(0x1dc)]=a['rating'],this[j(0x1d6)]=a['weight'],this[j(0x1d9)]=a52e();}[a52i(0x1de)](){var k=a52i;return k(0x1da)+this[k(0x1cd)]+k(0x1d0);}}function a52c(){var l=['(((.+)+)+)+$','10866DMSoMr','uuid','You\x20use\x20the\x20','constructor','rating','994eYimbM','use','color','1629LBaDmL','toString','1742715EFsbRb','description','3744202rUKAAd','apply','8178496hPAhVi','category','12hhrtkl','name','shape','1475544KOYfEl','.\x20Nothing\x20special\x20happens.','size','4766QhNUDC','845105KPyYhk','10tSxRqB','texture','weight'];a52c=function(){return l;};return a52c();}
@@ -1 +1 @@
1
- function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x145;let f=c[d];return f;},a53d(a,b);}const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x14e))/0x1+-parseInt(f(0x157))/0x2*(-parseInt(f(0x158))/0x3)+-parseInt(f(0x153))/0x4+parseInt(f(0x154))/0x5+-parseInt(f(0x148))/0x6*(-parseInt(f(0x14c))/0x7)+parseInt(f(0x146))/0x8+parseInt(f(0x159))/0x9*(-parseInt(f(0x150))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x8b79c));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x145)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x14a)]()[h(0x14b)]('(((.+)+)+)+$')[h(0x14a)]()['constructor'](a53a)['search'](h(0x155));});a53a();function a53c(){const n=['4025430fXzhhM','(((.+)+)+)+$','length','32MRAUck','126198fePbbA','15058503InZnnW','speak','apply','4773616JTYDSz','autonomousMove','66pEGTiC','name','toString','search','48013GNLBfE','rooms','1060792EhyAxQ','_dialogue','10mdkpNS','moveTo','random','3866504jlMXmH'];a53c=function(){return n;};return a53c();}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];['_dialogue'];[a53i(0x14d)];['scene'];constructor(a,b,c,d){const j=a53i;super(d),this['_name']=a,this[j(0x14f)]=b,this[j(0x14d)]=c;}get['name'](){return this['_name'];}[a53i(0x15a)](){const k=a53i;return this[k(0x14f)][Math['floor'](Math[k(0x152)]()*this['_dialogue']['length'])];}[a53i(0x147)](a){const l=a53i,b=a[Math['floor'](Math['random']()*a[l(0x156)])];this[l(0x151)](b[l(0x149)]);}[a53i(0x151)](a){const m=a53i,b={'actor':this,'rooms':this[m(0x14d)],'scene':this['scene']},c=new GoCommand(b);c['execute']([a]);}}
1
+ const a53i=a53d;function a53c(){const o=['apply','name','moveTo','constructor','toString','_name','execute','1413033TOEJpI','946800aASZYx','2rsHvLi','310725wwwuyv','6aUmVcv','108169xdtbSL','1459776SfkeMH','1253854bDUPaZ','length','2069199xwRVKr','(((.+)+)+)+$','random','floor','search','_dialogue','speak','scene','rooms'];a53c=function(){return o;};return a53c();}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x1ad))/0x1*(parseInt(f(0x1aa))/0x2)+parseInt(f(0x1a8))/0x3+parseInt(f(0x1a9))/0x4+parseInt(f(0x1ab))/0x5*(-parseInt(f(0x1ac))/0x6)+-parseInt(f(0x1af))/0x7+parseInt(f(0x1ae))/0x8+-parseInt(f(0x1b1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x4be34));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a53d(a,b);}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x1be)]()[h(0x1b5)](h(0x1b2))['toString']()[h(0x1bd)](a53a)['search'](h(0x1b2));});a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];['_dialogue'];[a53i(0x1b9)];[a53i(0x1b8)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x1a6)]=a,this[j(0x1b6)]=b,this['rooms']=c;}get[a53i(0x1bb)](){const k=a53i;return this[k(0x1a6)];}[a53i(0x1b7)](){const l=a53i;return this['_dialogue'][Math[l(0x1b4)](Math['random']()*this['_dialogue'][l(0x1b0)])];}['autonomousMove'](a){const m=a53i,b=a[Math[m(0x1b4)](Math[m(0x1b3)]()*a[m(0x1b0)])];this['moveTo'](b['name']);}[a53i(0x1bc)](a){const n=a53i,b={'actor':this,'rooms':this[n(0x1b9)],'scene':this[n(0x1b8)]},c=new GoCommand(b);c[n(0x1a7)]([a]);}}
@@ -1 +1 @@
1
- const a54h=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x169))/0x1*(parseInt(f(0x1a4))/0x2)+-parseInt(f(0x193))/0x3*(-parseInt(f(0x17b))/0x4)+-parseInt(f(0x14f))/0x5*(-parseInt(f(0x14e))/0x6)+parseInt(f(0x163))/0x7+parseInt(f(0x180))/0x8+parseInt(f(0x196))/0x9+-parseInt(f(0x179))/0xa*(parseInt(f(0x16c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xa1a78));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(0x191)]()[g(0x18f)](g(0x19d))[g(0x191)]()[g(0x17f)](a54a)['search'](g(0x19d));});a54a();function a54c(){const z=['getInstance','\x20is\x20now\x20listening\x20in\x20room\x20','_inventory','legs','gloves','error','armarmor','\x20in\x20your\x20inventory.','20FOxTxS','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','371020piXoUb','Shield','category','removeItem','constructor','2167416mixBkE','write','getWeight','\x20is\x20no\x20longer\x20listeng\x20in\x20','addItem','weight','currentWeight','Invalid\x20category\x20or\x20slot:\x20','_currentLocation','toLowerCase','startLocation','maxCarryingWeight','bodyarmor','You\x20don\x27t\x20have\x20','values','search','body\x20armor','toString','weapon','42eMeEtL','You\x20can\x27t\x20equip\x20','determineEquipmentSlot','4491432zsgNeY','rightHand','torso','You\x20equipped\x20','head','name','\x20slot.','(((.+)+)+)+$','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','You\x20unequipped\x20','Nexus','_maxCarryingWeight','shield','equipment','5276DfjQDD','speak','log','Hat','includes','arms','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','108fFYVHH','173605dsKgan','removeInventory','leaveRoom','Max\x20carrying\x20weight\x20must\x20be\x20positive.','helmet','enterRoom','off','ArmArmor','arm\x20armor','playerName','leg\x20armor','hear','unequipBySlot','inventoryItems','canEquip','_equipment','inventory','\x20from\x20player\x27s\x20inventory.','Removed\x20','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','8468313RPmttt','logger','bind','Weapon','A\x20featureless\x20room','currentLocation','26xHEIIM','Failed\x20to\x20remove\x20','leftHand','18203537Thxnch','.\x20You\x20must\x20unequip\x20it\x20first.','_playerName','Added\x20','hat'];a54c=function(){return z;};return a54c();}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x14e;let f=c[d];return f;},a54d(a,b);}import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a54h(0x188)];[a54h(0x173)];[a54h(0x15e)];[a54h(0x1a1)]=0x32;['logger'];constructor(a){const i=a54h;super(),this[i(0x16e)]=a[i(0x158)],this[i(0x188)]=a[i(0x18a)]||new Room({'name':i(0x1a0),'description':i(0x167)}),this[i(0x173)]=new Inventory(),this[i(0x164)]=Logger[i(0x171)]();if(a?.[i(0x15c)])for(const b of a[i(0x15c)]){this[i(0x173)][i(0x184)](b);}this[i(0x15e)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54h(0x19b)](){return this['_playerName'];}get['currentLocation'](){return this['_currentLocation'];}set[a54h(0x168)](a){const j=a54h;this[j(0x188)]!==a&&(this[j(0x151)](),this[j(0x154)](a)),this[j(0x188)]=a;}get[a54h(0x15f)](){const k=a54h;return this[k(0x173)];}get['equipment'](){const l=a54h;return this[l(0x15e)];}set['equipment'](a){const m=a54h;this[m(0x15e)]=a;}get['maxCarryingWeight'](){return this['_maxCarryingWeight'];}set[a54h(0x18b)](a){const n=a54h;a>0x0?this[n(0x1a1)]=a:console[n(0x176)](n(0x152));}get['currentWeight'](){const o=a54h;let a=this[o(0x173)][o(0x182)]();for(const b in this['_equipment']){const c=this[o(0x15e)][b];c&&(a+=c[o(0x185)]);}return a;}['addInventory'](a){const p=a54h;if(this[p(0x186)]+a[p(0x185)]>this['maxCarryingWeight']){this[p(0x164)][p(0x181)](p(0x1aa));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this['_inventory'][p(0x184)](a),this[p(0x164)][p(0x181)](p(0x16f)+a[p(0x19b)]+'\x20to\x20player\x27s\x20inventory.');}[a54h(0x150)](a){const q=a54h;if(this['_inventory'][q(0x17e)](a['name']))return this[q(0x164)]['write'](q(0x161)+a[q(0x19b)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[q(0x164)]['write'](q(0x16a)+a['name']+q(0x160)),![];}['equip'](a){const r=a54h;if(!this[r(0x173)]['hasItem'](a[r(0x19b)]))return r(0x18d)+a['name']+r(0x178);if(!this['canEquip'](a))return r(0x194)+a[r(0x19b)]+'.';const b=this[r(0x195)](a[r(0x17d)]);if(!b)return a['name']+r(0x19e);if(this[r(0x1a3)][b])return r(0x17a)+b+r(0x16d);return this[r(0x1a3)][b]=a,this[r(0x150)](a),r(0x199)+a[r(0x19b)]+'.';}['unequip'](a){const s=a54h;let b=a;if(!this['equipment'][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return s(0x187)+a+'.';}return this['unequipBySlot'](b);}[a54h(0x195)](a){const t=a54h;switch(a[t(0x189)]()){case Category[t(0x166)][t(0x189)]():return t(0x197);case Category[t(0x17c)][t(0x189)]():return t(0x16b);case Category['Gloves'][t(0x189)]():return t(0x175);case Category['Helmet'][t(0x189)]():case Category[t(0x1a7)][t(0x189)]():return t(0x19a);case Category['Boots'][t(0x189)]():return'feet';case Category['LegArmor'][t(0x189)]():return t(0x174);case Category[t(0x156)]['toLowerCase']():return t(0x1a9);case Category['BodyArmor'][t(0x189)]():return t(0x198);case t(0x192):return t(0x197);case t(0x1a2):return t(0x16b);case'gloves':return t(0x175);case t(0x153):case t(0x170):return t(0x19a);case'boots':return'feet';case t(0x159):case'legarmor':return t(0x174);case t(0x157):case t(0x177):return t(0x1a9);case t(0x190):case t(0x18c):case t(0x198):return'torso';default:return null;}}[a54h(0x15d)](a){const u=a54h;return Object[u(0x18e)](Category)[u(0x1a8)](a[u(0x17d)]);}[a54h(0x15b)](a){const v=a54h,b=this[v(0x1a3)][a];if(!b)return v(0x162)+a+v(0x19c);return this['addInventory'](b),this[v(0x1a3)][a]=null,v(0x19f)+b[v(0x19b)]+'.';}['hear'](a,b){const w=a54h;a!==this&&this[w(0x164)][w(0x1a6)](a['name']+'\x20says:\x20\x22'+b+'\x22');}[a54h(0x154)](a){const x=a54h;this['_currentLocation']=a,a['on'](x(0x1a5),this[x(0x15a)][x(0x165)](this)),this[x(0x164)][x(0x181)](this[x(0x19b)]+x(0x172)+a[x(0x19b)]);}[a54h(0x151)](){const y=a54h;this[y(0x188)]&&(this['_currentLocation'][y(0x155)](y(0x1a5),this[y(0x15a)][y(0x165)](this)),this[y(0x164)][y(0x181)](this[y(0x19b)]+y(0x183)+this[y(0x188)][y(0x19b)]));}}
1
+ const a54h=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0xec))/0x1*(-parseInt(f(0x108))/0x2)+-parseInt(f(0x13d))/0x3+-parseInt(f(0x123))/0x4+-parseInt(f(0x126))/0x5*(parseInt(f(0x104))/0x6)+parseInt(f(0xe0))/0x7*(parseInt(f(0xf7))/0x8)+-parseInt(f(0x11f))/0x9*(parseInt(f(0xe2))/0xa)+-parseInt(f(0x122))/0xb*(-parseInt(f(0x12f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xab122));function a54c(){const C=['A\x20featureless\x20room','boots','Nexus','inventoryItems','write','3067pGcmqq','shield','gloves','leftHand','determineEquipmentSlot','unequipBySlot','bind','addInventory','log','leaveRoom','Invalid\x20category\x20or\x20slot:\x20','3512RUBKJH','removeItem','You\x20equipped\x20','arm\x20armor','rightHand','removeInventory','name','_maxCarryingWeight','\x20from\x20player\x27s\x20inventory.','enterRoom','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','.\x20You\x20must\x20unequip\x20it\x20first.','6DUdUUo','Removed\x20','(((.+)+)+)+$','_inventory','604jmYFyH','logger','includes','hear','Weapon','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','currentWeight','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','currentLocation','toString','Failed\x20to\x20remove\x20','\x20to\x20player\x27s\x20inventory.','speak','startLocation','\x20slot.','category','Max\x20carrying\x20weight\x20must\x20be\x20positive.','\x20is\x20now\x20listening\x20in\x20room\x20','You\x20can\x27t\x20equip\x20','getWeight','Hat','_playerName','getInstance','5013VcnLgS','canEquip','equipment','22ByINWG','3395352bWoOgf','ArmArmor','bodyarmor','6120845SbVSDD','torso','constructor','_currentLocation','hasItem','Gloves','legs','helmet','hat','14582316EanPKj','Added\x20','legarmor','equip','body\x20armor','leg\x20armor','values','Helmet','error','_equipment','Shield','arms','playerName','search','4094292KdGVvD','unequip','initialEquipment','18613ssiYbB','maxCarryingWeight','6920sJIZBp','addItem','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','toLowerCase','head'];a54c=function(){return C;};return a54c();}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(0x111)]()[g(0x13c)](g(0x106))[g(0x111)]()[g(0x128)](a54a)[g(0x13c)](g(0x106));});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xe0;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(0x11d)];[a54h(0x129)];[a54h(0x107)];[a54h(0x138)];[a54h(0xfe)]=0x32;['logger'];constructor(a){const i=a54h;super(),this[i(0x11d)]=a[i(0x13b)],this['_currentLocation']=a[i(0x115)]||new Room({'name':i(0xe9),'description':i(0xe7)}),this[i(0x107)]=new Inventory(),this[i(0x109)]=Logger[i(0x11e)]();if(a?.[i(0xea)])for(const b of a[i(0xea)]){this[i(0x107)][i(0xe3)](b);}this['_equipment']=a?.[i(0x13f)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const j=a54h;return this[j(0x11d)];}get[a54h(0x110)](){const k=a54h;return this[k(0x129)];}set['currentLocation'](a){const l=a54h;this[l(0x129)]!==a&&(this[l(0xf5)](),this[l(0x100)](a)),this[l(0x129)]=a;}get['inventory'](){const m=a54h;return this[m(0x107)];}get[a54h(0x121)](){const n=a54h;return this[n(0x138)];}set[a54h(0x121)](a){const o=a54h;this[o(0x138)]=a;}get['maxCarryingWeight'](){const p=a54h;return this[p(0xfe)];}set[a54h(0xe1)](a){const q=a54h;a>0x0?this[q(0xfe)]=a:console[q(0x137)](q(0x118));}get[a54h(0x10e)](){const r=a54h;let a=this['_inventory'][r(0x11b)]();for(const b in this[r(0x138)]){const c=this['_equipment'][b];c&&(a+=c['weight']);}return a;}[a54h(0xf3)](a){const s=a54h;if(this[s(0x10e)]+a['weight']>this[s(0xe1)]){this[s(0x109)][s(0xeb)](s(0xe4));throw new Error(s(0x10d));}this[s(0x107)]['addItem'](a),this[s(0x109)]['write'](s(0x130)+a[s(0xfd)]+s(0x113));}[a54h(0xfc)](a){const t=a54h;if(this[t(0x107)][t(0xf8)](a[t(0xfd)]))return this['logger'][t(0xeb)](t(0x105)+a['name']+t(0xff)),!![];return this[t(0x109)]['write'](t(0x112)+a[t(0xfd)]+t(0xff)),![];}[a54h(0x132)](a){const u=a54h;if(!this[u(0x107)][u(0x12a)](a[u(0xfd)]))return'You\x20don\x27t\x20have\x20'+a[u(0xfd)]+'\x20in\x20your\x20inventory.';if(!this[u(0x120)](a))return u(0x11a)+a[u(0xfd)]+'.';const b=this[u(0xf0)](a[u(0x117)]);if(!b)return a[u(0xfd)]+u(0x10f);if(this[u(0x121)][b])return u(0x101)+b+u(0x103);return this[u(0x121)][b]=a,this[u(0xfc)](a),u(0xf9)+a[u(0xfd)]+'.';}[a54h(0x13e)](a){const v=a54h;let b=a;if(!this['equipment'][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return v(0xf6)+a+'.';}return this[v(0xf1)](b);}['determineEquipmentSlot'](a){const w=a54h;switch(a[w(0xe5)]()){case Category[w(0x10c)][w(0xe5)]():return w(0xfb);case Category[w(0x139)][w(0xe5)]():return w(0xef);case Category[w(0x12b)][w(0xe5)]():return w(0xee);case Category[w(0x136)][w(0xe5)]():case Category[w(0x11c)][w(0xe5)]():return'head';case Category['Boots'][w(0xe5)]():return'feet';case Category['LegArmor'][w(0xe5)]():return w(0x12c);case Category[w(0x124)][w(0xe5)]():return w(0x13a);case Category['BodyArmor'][w(0xe5)]():return w(0x127);case'weapon':return'rightHand';case w(0xed):return w(0xef);case'gloves':return'gloves';case w(0x12d):case w(0x12e):return w(0xe6);case w(0xe8):return'feet';case w(0x134):case w(0x131):return w(0x12c);case w(0xfa):case'armarmor':return w(0x13a);case w(0x133):case w(0x125):case w(0x127):return w(0x127);default:return null;}}[a54h(0x120)](a){const x=a54h;return Object[x(0x135)](Category)[x(0x10a)](a[x(0x117)]);}[a54h(0xf1)](a){const y=a54h,b=this['equipment'][a];if(!b)return y(0x102)+a+y(0x116);return this[y(0xf3)](b),this[y(0x121)][a]=null,'You\x20unequipped\x20'+b[y(0xfd)]+'.';}['hear'](a,b){const z=a54h;a!==this&&this['logger'][z(0xf4)](a['name']+'\x20says:\x20\x22'+b+'\x22');}[a54h(0x100)](a){const A=a54h;this[A(0x129)]=a,a['on'](A(0x114),this[A(0x10b)][A(0xf2)](this)),this[A(0x109)][A(0xeb)](this[A(0xfd)]+A(0x119)+a[A(0xfd)]);}[a54h(0xf5)](){const B=a54h;this[B(0x129)]&&(this[B(0x129)]['off'](B(0x114),this[B(0x10b)][B(0xf2)](this)),this['logger']['write'](this[B(0xfd)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[B(0x129)]['name']));}}
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x177))/0x1+parseInt(f(0x183))/0x2*(-parseInt(f(0x16d))/0x3)+parseInt(f(0x16b))/0x4+-parseInt(f(0x185))/0x5+parseInt(f(0x176))/0x6+parseInt(f(0x17c))/0x7*(-parseInt(f(0x16e))/0x8)+-parseInt(f(0x175))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xc8154));function a55c(){var n=['apply','solved','requiredPhrase','4635909TVQeOP','6419214MtLkHU','1223629JOBLcP','(((.+)+)+)+$','search','toString','matchesRequiredPhrase','205793dKzHCF','hasItem','successMessage','solve','constructor','You\x20have\x20already\x20solved\x20this\x20puzzle.','failureMessage','4zfxwNN','riddle','142995EMvpAu','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','Puzzle:\x20Correct\x20solution\x20provided.','write','getInstance','hasRequiredItem','2822600QrXKvn','You\x20solved\x20the\x20puzzle!','689922upQlSs','320pNkbvR','rewardItem','requiredItem','logger'];a55c=function(){return n;};return a55c();}var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x17a)]()[h(0x179)](h(0x178))[h(0x17a)]()[h(0x180)](a55a)[h(0x179)](h(0x178));});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x16a;var f=c[d];return f;},a55d(a,b);}export class Puzzle extends AbstractPuzzle{[a55i(0x171)]=Logger[a55i(0x189)]();[a55i(0x173)]=![];[a55i(0x170)];[a55i(0x174)];[a55i(0x184)];['rewardItem'];[a55i(0x17e)];[a55i(0x182)];constructor(a){var j=a55i;super(),this[j(0x170)]=a[j(0x170)],this[j(0x174)]=a[j(0x174)],this[j(0x184)]=a[j(0x184)],this['rewardItem']=a[j(0x16f)],this[j(0x17e)]=a[j(0x17e)]||j(0x16c),this['failureMessage']=a[j(0x182)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a55i(0x16a)](a){var k=a55i;if(this['requiredItem'])return a[k(0x17d)](this[k(0x170)]);return![];}[a55i(0x17b)](a){var l=a55i;return this[l(0x174)]===a;}[a55i(0x17f)](a,b){var m=a55i;if(this['solved'])return this[m(0x171)]['write'](m(0x186)),{'success':![],'message':m(0x181)};return this[m(0x16a)](b)||this['matchesRequiredPhrase'](a)?(this[m(0x173)]=!![],this[m(0x171)]['write'](m(0x187)),{'success':!![],'message':this[m(0x17e)]}):(this[m(0x171)][m(0x188)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this['failureMessage']});}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x168))/0x1+-parseInt(f(0x178))/0x2+-parseInt(f(0x17b))/0x3*(parseInt(f(0x17d))/0x4)+-parseInt(f(0x17f))/0x5*(-parseInt(f(0x16f))/0x6)+parseInt(f(0x166))/0x7+-parseInt(f(0x181))/0x8+parseInt(f(0x17e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x259d9));function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x162;var f=c[d];return f;},a55d(a,b);}var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x180)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x177)]()['search'](h(0x179))[h(0x177)]()['constructor'](a55a)[h(0x170)]('(((.+)+)+)+$');});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a55c(){var n=['getInstance','11250BBwcvf','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','172gTJAdp','7015716qGETvq','5AucUVo','apply','2066792bmyctB','Puzzle:\x20Correct\x20solution\x20provided.','requiredItem','solved','matchesRequiredPhrase','1363124itmkzS','solve','232713JnxZqc','requiredPhrase','riddle','hasRequiredItem','logger','failureMessage','hasItem','559770BcdCNX','search','You\x20solved\x20the\x20puzzle!','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','You\x20have\x20already\x20solved\x20this\x20puzzle.','write','rewardItem','successMessage','toString','522332yodshl','(((.+)+)+)+$'];a55c=function(){return n;};return a55c();}export class Puzzle extends AbstractPuzzle{[a55i(0x16c)]=Logger[a55i(0x17a)]();[a55i(0x164)]=![];[a55i(0x163)];['requiredPhrase'];['riddle'];[a55i(0x175)];[a55i(0x176)];['failureMessage'];constructor(a){var j=a55i;super(),this[j(0x163)]=a[j(0x163)],this[j(0x169)]=a[j(0x169)],this['riddle']=a[j(0x16a)],this[j(0x175)]=a[j(0x175)],this[j(0x176)]=a[j(0x176)]||j(0x171),this[j(0x16d)]=a[j(0x16d)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a55i(0x16b)](a){var k=a55i;if(this[k(0x163)])return a[k(0x16e)](this[k(0x163)]);return![];}[a55i(0x165)](a){var l=a55i;return this[l(0x169)]===a;}[a55i(0x167)](a,b){var m=a55i;if(this['solved'])return this['logger']['write'](m(0x172)),{'success':![],'message':m(0x173)};return this[m(0x16b)](b)||this[m(0x165)](a)?(this[m(0x164)]=!![],this[m(0x16c)][m(0x174)](m(0x162)),{'success':!![],'message':this[m(0x176)]}):(this[m(0x16c)][m(0x174)](m(0x17c)),{'success':![],'message':this[m(0x16d)]});}}
@@ -1 +1 @@
1
- const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x1d4))/0x1+parseInt(f(0x1d8))/0x2*(-parseInt(f(0x1e1))/0x3)+parseInt(f(0x1ea))/0x4*(-parseInt(f(0x1e3))/0x5)+-parseInt(f(0x1f7))/0x6*(-parseInt(f(0x1c8))/0x7)+-parseInt(f(0x1e9))/0x8+parseInt(f(0x1db))/0x9+parseInt(f(0x1f9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xab089));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x1e0)]()[h(0x1f5)](h(0x1e2))[h(0x1e0)]()[h(0x1cd)](a56a)[h(0x1f5)](h(0x1e2));});a56a();import{Logger}from'../utilities/logger.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x1be;let f=c[d];return f;},a56d(a,b);}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a56c(){const u=['speak','roomType','name','get','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','description','399760uYQfTM','WEST','inventory','Checking\x20if\x20exit\x20in\x20direction\x20','215746hirGKS','write','roomB','7522587iSrsxA','findExistingDoor','east','Item\x20removed\x20from\x20room\x20','getOppositeDirection','toString','36SacZKZ','(((.+)+)+)+$','115jDPPJK','DOWN','removeItem','isStartRoom','SOUTH','EAST','4338528fzHnNe','18168RlZzCQ','values','riddle','apply','INSIDE','NORTH','north','isExitLocked','say','roomA','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','search','attemptUnlockExit','30SajqrG','down','21243130iIbuQK','Item\x20added\x20to\x20room\x20','Fetching\x20exit\x20in\x20direction:\x20','puzzle','.\x20Success:\x20','addItem','getInstance','The\x20','exits','set','getExit','hasItem','113981UokUJh','checkIfLocked','logger','setPuzzle','\x20remains\x20locked.','constructor'];a56c=function(){return u;};return a56c();}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x1ca)]=Logger[a56i(0x1c2)]();[a56i(0x1d0)];[a56i(0x1d3)];['exits']=new Map();[a56i(0x1cf)];[a56i(0x1e6)];[a56i(0x1d6)]=new Inventory();constructor(a){const j=a56i;super(),this['name']=a[j(0x1d0)],this[j(0x1d3)]=a['description'],this[j(0x1cf)]=a[j(0x1cf)]||RoomType[j(0x1ee)],a['exits']&&(this[j(0x1c4)]=a[j(0x1c4)]||new Map()),a[j(0x1d6)]&&(this[j(0x1d6)]=a[j(0x1d6)]),a[j(0x1bf)]&&(this[j(0x1bf)]=a['puzzle']),this['isStartRoom']=a[j(0x1e6)]||![],this['logger']['write']('Room\x20created:\x20'+this[j(0x1d0)]);}[a56i(0x1f2)](a,b){const k=a56i;this['emit'](k(0x1ce),a,b);}['addExit'](a,b,c){const l=a56i;let d=this[l(0x1dc)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1c4)][l(0x1c5)](a,d),b['exits'][l(0x1c5)](this['getOppositeDirection'](a),d);}[a56i(0x1f6)](a,b){const m=a56i,c=this[m(0x1c4)][m(0x1d1)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0x1ca)][m(0x1d9)](m(0x1f4)+a+m(0x1c0)+d),d?m(0x1c3)+c[m(0x1d0)]+'\x20unlocked!':m(0x1c3)+c[m(0x1d0)]+m(0x1cc);}return this[m(0x1ca)][m(0x1d9)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0x1d2);}[a56i(0x1c6)](a){const n=a56i;return this[n(0x1ca)]['write'](n(0x1be)+a),this[n(0x1c4)][n(0x1d1)](a);}[a56i(0x1f1)](a){const o=a56i,b=this[o(0x1c4)][o(0x1d1)](a),c=b instanceof Door&&b[o(0x1c9)]();return this[o(0x1ca)][o(0x1d9)](o(0x1d7)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a56i(0x1c1)](a){const p=a56i;this[p(0x1d6)]['addItem'](a),this[p(0x1ca)][p(0x1d9)](p(0x1fa)+this['name']+':\x20'+a[p(0x1d0)]);}[a56i(0x1e5)](a){const q=a56i;this['inventory'][q(0x1c7)](a[q(0x1d0)])?(this[q(0x1d6)][q(0x1e5)](a[q(0x1d0)]),this['logger']['write'](q(0x1de)+this[q(0x1d0)]+':\x20'+a['name'])):this['logger'][q(0x1d9)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0x1d0)]+':\x20'+a['name']);}[a56i(0x1cb)](a){const r=a56i;this[r(0x1bf)]=a,this[r(0x1ca)][r(0x1d9)]('Puzzle\x20set\x20for\x20room\x20'+this[r(0x1d0)]+':\x20'+a[r(0x1ec)]);}[a56i(0x1df)](a){const s=a56i;switch(a){case s(0x1f0):return Direction[s(0x1e7)];case'south':return Direction[s(0x1ef)];case s(0x1dd):return Direction[s(0x1d5)];case'west':return Direction[s(0x1e8)];case'up':return Direction[s(0x1e4)];case s(0x1f8):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a56i(0x1dc)](a){const t=a56i;for(const b of this['exits'][t(0x1eb)]()){if(b instanceof Door){if(b['roomA']===this&&b[t(0x1da)]===a||b[t(0x1da)]===this&&b[t(0x1f3)]===a)return b;}}return undefined;}}
1
+ const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0xf4))/0x1*(parseInt(f(0xd8))/0x2)+-parseInt(f(0xc7))/0x3*(parseInt(f(0xeb))/0x4)+parseInt(f(0xf7))/0x5*(-parseInt(f(0xc8))/0x6)+-parseInt(f(0xfe))/0x7+-parseInt(f(0xed))/0x8*(-parseInt(f(0xc6))/0x9)+-parseInt(f(0xf6))/0xa+-parseInt(f(0xd4))/0xb*(-parseInt(f(0xe2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x251b1));function a56c(){const u=['logger','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','.\x20Success:\x20','roomB','INSIDE','\x20unlocked!','get','addItem','154yeZOyK','puzzle','emit','setPuzzle','424872JIaUbo','east','isStartRoom','description','getOppositeDirection','Item\x20added\x20to\x20room\x20','down','removeItem','Item\x20removed\x20from\x20room\x20','name','246936zpvfgk','exits','The\x20','addExit','apply','set','Puzzle\x20set\x20for\x20room\x20','WEST','checkIfLocked','8GwVZyp','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','16meSqfo','getExit','toString','Invalid\x20direction:\x20','speak','inventory','roomA','1echuaV','EAST','2269940DdGiwn','29245dxJteA','(((.+)+)+)+$','west','getInstance','\x20is\x20locked.\x20Result:\x20','write','\x20remains\x20locked.','841316IXlQAx','Checking\x20if\x20exit\x20in\x20direction\x20','roomType','900810EEHcME','12786LjLcUs','198PRQSBH','Room\x20created:\x20','Fetching\x20exit\x20in\x20direction:\x20','search'];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(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0xef)]()[h(0xcb)](h(0xf8))[h(0xef)]()['constructor'](a56a)['search'](h(0xf8));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0xc4;let f=c[d];return f;},a56d(a,b);}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0xcc)]=Logger[a56i(0xfa)]();[a56i(0xe1)];['description'];[a56i(0xe3)]=new Map();['roomType'];[a56i(0xda)];['inventory']=new Inventory();constructor(a){const j=a56i;super(),this[j(0xe1)]=a[j(0xe1)],this[j(0xdb)]=a[j(0xdb)],this[j(0xc5)]=a['roomType']||RoomType[j(0xd0)],a[j(0xe3)]&&(this[j(0xe3)]=a[j(0xe3)]||new Map()),a[j(0xf2)]&&(this[j(0xf2)]=a[j(0xf2)]),a[j(0xd5)]&&(this[j(0xd5)]=a[j(0xd5)]),this[j(0xda)]=a[j(0xda)]||![],this[j(0xcc)][j(0xfc)](j(0xc9)+this[j(0xe1)]);}['say'](a,b){const k=a56i;this[k(0xd6)](k(0xf1),a,b);}[a56i(0xe5)](a,b,c){const l=a56i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0xe7)](a,d),b[l(0xe3)][l(0xe7)](this[l(0xdc)](a),d);}['attemptUnlockExit'](a,b){const m=a56i,c=this['exits'][m(0xd2)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this['logger'][m(0xfc)](m(0xec)+a+m(0xce)+d),d?m(0xe4)+c[m(0xe1)]+m(0xd1):m(0xe4)+c['name']+m(0xfd);}return this[m(0xcc)]['write']('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0xcd);}[a56i(0xee)](a){const n=a56i;return this[n(0xcc)][n(0xfc)](n(0xca)+a),this[n(0xe3)][n(0xd2)](a);}['isExitLocked'](a){const o=a56i,b=this[o(0xe3)][o(0xd2)](a),c=b instanceof Door&&b[o(0xea)]();return this[o(0xcc)][o(0xfc)](o(0xc4)+a+o(0xfb)+c),c;}[a56i(0xd3)](a){const p=a56i;this['inventory'][p(0xd3)](a),this[p(0xcc)][p(0xfc)](p(0xdd)+this['name']+':\x20'+a[p(0xe1)]);}['removeItem'](a){const q=a56i;this['inventory']['hasItem'](a['name'])?(this[q(0xf2)][q(0xdf)](a['name']),this[q(0xcc)][q(0xfc)](q(0xe0)+this[q(0xe1)]+':\x20'+a['name'])):this[q(0xcc)][q(0xfc)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0xe1)]+':\x20'+a[q(0xe1)]);}[a56i(0xd7)](a){const r=a56i;this['puzzle']=a,this[r(0xcc)][r(0xfc)](r(0xe8)+this['name']+':\x20'+a['riddle']);}['getOppositeDirection'](a){const s=a56i;switch(a){case'north':return Direction['SOUTH'];case'south':return Direction['NORTH'];case s(0xd9):return Direction[s(0xe9)];case s(0xf9):return Direction[s(0xf5)];case'up':return Direction['DOWN'];case s(0xde):return Direction['UP'];default:throw new Error(s(0xf0)+a);}}['findExistingDoor'](a){const t=a56i;for(const b of this[t(0xe3)]['values']()){if(b instanceof Door){if(b[t(0xf3)]===this&&b[t(0xcf)]===a||b[t(0xcf)]===this&&b[t(0xf3)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x183))/0x1+-parseInt(i(0x144))/0x2*(parseInt(i(0x162))/0x3)+-parseInt(i(0x165))/0x4+parseInt(i(0x14d))/0x5+parseInt(i(0x180))/0x6+parseInt(i(0x170))/0x7+parseInt(i(0x17a))/0x8*(-parseInt(i(0x140))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x7d9a5));function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x13f;let f=c[d];return f;},a57d(a,b);}const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x184)]()[k(0x17e)](k(0x167))[k(0x184)]()[k(0x14f)](a57a)[k(0x17e)](k(0x167));});a57a();import{Logger}from'../utilities/logger.js';function a57c(){const C=['keys','addRoom','3GkXgoo','get','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','270724zqUYsY','length','(((.+)+)+)+$','actors','player','allActors','initialize','Removed\x20room\x20from\x20scene:\x20','\x20found\x20in\x20the\x20scene.','Failed\x20to\x20set\x20','\x20already\x20exists\x20in\x20the\x20scene.','2290862wVYjri','setPuzzle','targetRoom','removeActor','logger','roomConfiguration','push','direction','Failed\x20to\x20add\x20item\x20','\x20is\x20now\x20in\x20room\x20','24HapSvp','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','createExitsFromConfig','\x20to\x20room\x20','search','has','3049002IsdHqa','join','Actor\x20with\x20name\x20','302620yZfrtG','toString','Room\x20\x22','name','set','.\x20Room\x20','characterLocations','addItemToRoom','2678409JOgxpd','exits','setCharacterLocation','warn','564666YvAQPO','Added\x20puzzle\x20to\x20room\x20','\x20not\x20found\x20in\x20scene.','Failed\x20to\x20add\x20puzzle.\x20Room\x20','addExit','Added\x20item\x20','No\x20actor\x20with\x20name\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','rooms','3096165yrcDVK','determineStartRoom','constructor','addItem','hasOwnProperty','generateRoomsFromConfig','write','values','\x22\x20does\x20not\x20exist.','roomFactory','getPlayer','getRooms','keyRequired','addActor','apply','toUpperCase','getActor','Scene\x20initialized\x20with\x20rooms:\x20','removeRoom'];a57c=function(){return C;};return a57c();}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57l(0x14c)];[a57l(0x169)];[a57l(0x174)];[a57l(0x168)];[a57l(0x189)]=new Map();[a57l(0x156)];constructor(a){const m=a57l;super(),this[m(0x156)]=new RoomFactory(),this[m(0x169)]=a[m(0x169)],this['rooms']=this[m(0x152)](a[m(0x175)]),this[m(0x174)]=Logger['getInstance'](),this[m(0x168)]=new Map(),this[m(0x17c)](a[m(0x175)]),this[m(0x174)]['write'](m(0x15e)+Object[m(0x160)](this[m(0x14c)])[m(0x181)](',\x20'));}[a57l(0x16b)](){const n=a57l;this[n(0x169)]['currentLocation']=this[n(0x14e)]();}[a57l(0x152)](a){const o=a57l;if(!this[o(0x156)])throw new Error(o(0x164));const b={};for(const c of a){const d=this[o(0x156)]['createRoom'](c);b[c[o(0x186)]]=d;}return b;}[a57l(0x17c)](a){const p=a57l;for(const b of a){const c=this[p(0x14c)][b['name']];if(b['exits'])for(const d of b[p(0x141)]){const e=d[p(0x177)][p(0x15c)](),f=d[p(0x172)],g=d[p(0x159)],h=this['rooms'][f];h&&c['addExit'](Direction[e],h,g);}}}[a57l(0x15a)](a){const q=a57l;if(this['actors'][q(0x17f)](a['name']))throw new Error(q(0x182)+a[q(0x186)]+q(0x16f));this[q(0x168)][q(0x187)](a[q(0x186)],a);}[a57l(0x173)](a){const r=a57l;if(!this[r(0x168)][r(0x17f)](a))throw new Error(r(0x14a)+a+r(0x16d));this['actors']['delete'](a);}[a57l(0x15d)](a){return this['actors']['get'](a);}get[a57l(0x16a)](){const s=a57l;return Array['from'](this[s(0x168)][s(0x154)]());}[a57l(0x161)](a){const t=a57l;this[t(0x14c)][a[t(0x186)]]=a,this[t(0x174)][t(0x153)]('Added\x20room\x20to\x20scene:\x20'+a[t(0x186)]);}[a57l(0x15f)](a){const u=a57l;return this[u(0x14c)][a]?(delete this[u(0x14c)][a],this['logger'][u(0x153)](u(0x16c)+a),!![]):(this[u(0x174)][u(0x153)](u(0x17b)+a),![]);}[a57l(0x13f)](a,b){const v=a57l,c=this[v(0x14c)][b];c?(c[v(0x150)](a),this[v(0x174)][v(0x153)](v(0x149)+a['name']+v(0x17d)+c['name'])):this[v(0x174)][v(0x153)](v(0x178)+a['name']+v(0x188)+b+v(0x146));}['addPuzzleToRoom'](a,b){const w=a57l,c=this['rooms'][b];c?(c[w(0x171)](a),this[w(0x174)][w(0x153)](w(0x145)+c[w(0x186)])):this['logger'][w(0x153)](w(0x147)+b+w(0x146));}[a57l(0x142)](a,b){const x=a57l,c=this[x(0x14c)][b];c?(this[x(0x189)][x(0x187)](a['name'],c),this['logger'][x(0x153)](a['name']+x(0x179)+c[x(0x186)])):this[x(0x174)][x(0x153)](x(0x16e)+a[x(0x186)]+'\x27s\x20location.\x20Room\x20'+b+x(0x146));}['getCharacterLocation'](a){const y=a57l;return this[y(0x189)][y(0x163)](a[y(0x186)]);}['determineStartRoom'](){const z=a57l,a=[];for(const c in this[z(0x14c)]){if(this['rooms'][z(0x151)](c)){const d=this[z(0x14c)][c];d['isStartRoom']&&a[z(0x176)](d);}}if(a[z(0x166)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a['length']===0x1)return a[0x0];const b=Object[z(0x160)](this[z(0x14c)]);if(b['length']===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[z(0x143)](z(0x14b)),this['rooms'][b[0x0]];}[a57l(0x157)](){return this['player'];}[a57l(0x158)](){const A=a57l;return this[A(0x14c)];}['connectRooms'](a,b,c,d){const B=a57l,e=this[B(0x14c)][a],f=this['rooms'][c];if(!e)throw new Error(B(0x185)+a+B(0x155));if(!f)throw new Error('Room\x20\x22'+c+'\x22\x20does\x20not\x20exist.');e[B(0x148)](b,f,d);}}
1
+ const a57l=a57d;function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x162;let f=c[d];return f;},a57d(a,b);}(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x1a3))/0x1+parseInt(i(0x17a))/0x2+-parseInt(i(0x173))/0x3+-parseInt(i(0x17b))/0x4+parseInt(i(0x188))/0x5*(parseInt(i(0x16a))/0x6)+parseInt(i(0x18a))/0x7*(-parseInt(i(0x19d))/0x8)+-parseInt(i(0x175))/0x9*(-parseInt(i(0x199))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xa08a5));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x17f)]()[k(0x181)](k(0x166))['toString']()['constructor'](a57a)['search'](k(0x166));});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a57c(){const C=['roomConfiguration','apply','rooms','determineStartRoom','Removed\x20room\x20from\x20scene:\x20','hasOwnProperty','\x20is\x20now\x20in\x20room\x20','length','warn','(((.+)+)+)+$','.\x20Room\x20','roomFactory','addItemToRoom','18asntJY','addRoom','Added\x20room\x20to\x20scene:\x20','name','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','getRooms','\x20not\x20found\x20in\x20scene.','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','write','1603986StAlhD','has','5193xLXqei','exits','logger','removeActor','getInstance','1703808uUTxfn','4950772vCiHWq','\x20found\x20in\x20the\x20scene.','Failed\x20to\x20set\x20','direction','toString','connectRooms','search','Room\x20\x22','\x27s\x20location.\x20Room\x20','addPuzzleToRoom','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Added\x20item\x20','addActor','862445MxBgfl','player','8744659QZgTeq','set','addItem','join','get','targetRoom','Scene\x20initialized\x20with\x20rooms:\x20','getActor','setPuzzle','\x22\x20does\x20not\x20exist.','getCharacterLocation','createExitsFromConfig','characterLocations','isStartRoom','initialize','22570iTZWmG','keyRequired','Actor\x20with\x20name\x20','actors','8oBHOtD','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','currentLocation','push','addExit','Added\x20puzzle\x20to\x20room\x20','1007505OtQZOf','toUpperCase','\x20already\x20exists\x20in\x20the\x20scene.','keys'];a57c=function(){return C;};return a57c();}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57l(0x1a9)];[a57l(0x189)];[a57l(0x177)];[a57l(0x19c)];[a57l(0x196)]=new Map();[a57l(0x168)];constructor(a){const m=a57l;super(),this[m(0x168)]=new RoomFactory(),this[m(0x189)]=a['player'],this['rooms']=this['generateRoomsFromConfig'](a[m(0x1a7)]),this[m(0x177)]=Logger[m(0x179)](),this[m(0x19c)]=new Map(),this[m(0x195)](a[m(0x1a7)]),this['logger'][m(0x172)](m(0x190)+Object['keys'](this[m(0x1a9)])[m(0x18d)](',\x20'));}[a57l(0x198)](){const n=a57l;this[n(0x189)][n(0x19f)]=this[n(0x1aa)]();}['generateRoomsFromConfig'](a){const o=a57l;if(!this[o(0x168)])throw new Error(o(0x16e));const b={};for(const c of a){const d=this['roomFactory']['createRoom'](c);b[c[o(0x16d)]]=d;}return b;}[a57l(0x195)](a){const p=a57l;for(const b of a){const c=this[p(0x1a9)][b['name']];if(b[p(0x176)])for(const d of b[p(0x176)]){const e=d[p(0x17e)][p(0x1a4)](),f=d[p(0x18f)],g=d[p(0x19a)],h=this[p(0x1a9)][f];h&&c[p(0x1a1)](Direction[e],h,g);}}}[a57l(0x187)](a){const q=a57l;if(this[q(0x19c)][q(0x174)](a[q(0x16d)]))throw new Error(q(0x19b)+a['name']+q(0x1a5));this[q(0x19c)][q(0x18b)](a[q(0x16d)],a);}[a57l(0x178)](a){const r=a57l;if(!this[r(0x19c)][r(0x174)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x17c));this[r(0x19c)]['delete'](a);}[a57l(0x191)](a){const s=a57l;return this[s(0x19c)]['get'](a);}get['allActors'](){const t=a57l;return Array['from'](this[t(0x19c)]['values']());}[a57l(0x16b)](a){const u=a57l;this[u(0x1a9)][a[u(0x16d)]]=a,this[u(0x177)][u(0x172)](u(0x16c)+a[u(0x16d)]);}['removeRoom'](a){const v=a57l;return this[v(0x1a9)][a]?(delete this['rooms'][a],this[v(0x177)][v(0x172)](v(0x1ab)+a),!![]):(this[v(0x177)][v(0x172)](v(0x171)+a),![]);}[a57l(0x169)](a,b){const w=a57l,c=this[w(0x1a9)][b];c?(c[w(0x18c)](a),this[w(0x177)]['write'](w(0x186)+a[w(0x16d)]+'\x20to\x20room\x20'+c[w(0x16d)])):this['logger'][w(0x172)]('Failed\x20to\x20add\x20item\x20'+a[w(0x16d)]+w(0x167)+b+w(0x170));}[a57l(0x184)](a,b){const x=a57l,c=this[x(0x1a9)][b];c?(c[x(0x192)](a),this['logger'][x(0x172)](x(0x1a2)+c[x(0x16d)])):this[x(0x177)][x(0x172)](x(0x185)+b+x(0x170));}['setCharacterLocation'](a,b){const y=a57l,c=this[y(0x1a9)][b];c?(this[y(0x196)][y(0x18b)](a[y(0x16d)],c),this[y(0x177)][y(0x172)](a[y(0x16d)]+y(0x163)+c['name'])):this[y(0x177)][y(0x172)](y(0x17d)+a[y(0x16d)]+y(0x183)+b+'\x20not\x20found\x20in\x20scene.');}[a57l(0x194)](a){const z=a57l;return this[z(0x196)][z(0x18e)](a[z(0x16d)]);}[a57l(0x1aa)](){const A=a57l,a=[];for(const c in this['rooms']){if(this[A(0x1a9)][A(0x162)](c)){const d=this['rooms'][c];d[A(0x197)]&&a[A(0x1a0)](d);}}if(a[A(0x164)]>0x1)throw new Error(A(0x19e));if(a[A(0x164)]===0x1)return a[0x0];const b=Object[A(0x1a6)](this[A(0x1a9)]);if(b['length']===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[A(0x165)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0x1a9)][b[0x0]];}['getPlayer'](){return this['player'];}[a57l(0x16f)](){return this['rooms'];}[a57l(0x180)](a,b,c,d){const B=a57l,e=this[B(0x1a9)][a],f=this['rooms'][c];if(!e)throw new Error(B(0x182)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(B(0x182)+c+B(0x193));e[B(0x1a1)](b,f,d);}}