@maka/maka-cli 4.13.16 → 4.13.17

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
- 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
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1ea))/0x1+parseInt(f(0x1fb))/0x2+-parseInt(f(0x211))/0x3+parseInt(f(0x1ef))/0x4+parseInt(f(0x1e4))/0x5*(parseInt(f(0x1fe))/0x6)+parseInt(f(0x202))/0x7*(-parseInt(f(0x204))/0x8)+-parseInt(f(0x208))/0x9*(-parseInt(f(0x1e9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x51093));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x205)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x20a)](h(0x1e7))[h(0x1e1)]()['constructor'](a38a)['search'](h(0x1e7));});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';function a38c(){const n=['24gDiRfF','Examine\x20your\x20surroundings','You\x27re\x20not\x20in\x20a\x20valid\x20room.','rooms','1939oOWxcW','It\x27s\x20just\x20a\x20regular\x20','6616icQDKV','apply','join','puzzle','152586uFpzZd','isValidDirection','search','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','Below\x20you,\x20','riddle','inspectItem','write','currentLocation','1188510Xobpjy','You\x20don\x27t\x20see\x20any\x20','inventory','Above\x20you,\x20','You\x20cannot\x20see\x20','toString','logger','\x20here.','823045wbfMeL','verb','error','(((.+)+)+)+$','Executing\x20\x27Look\x27\x20command.','80NwmhWe','152668wWpBcV','actor','lookOutside','OUTSIDE','roomType','712272NocIAl','Looking\x20at\x20item\x20\x27','down','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','\x27\x20in\x20current\x20room\x20inventory.','get','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','description','look','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','\x20inventory.','name','275408LBMNEv','string','getItem'];a38c=function(){return n;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1e0;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0x1e5)]=a38i(0x1f7);static ['description']=a38i(0x1ff);['execute'](a=[]){const j=a38i;this[j(0x1e2)][j(0x20f)](j(0x1e8));const b=a[j(0x206)]('\x20');if(b){if(this[j(0x1eb)][j(0x213)]['hasItem'](b))return this['logger'][j(0x20f)]('Looking\x20at\x20item\x20\x27'+b+'\x27\x20in\x20'+this[j(0x1eb)][j(0x1fa)]+j(0x1f9)),this['inspectItem'](b,this[j(0x1eb)][j(0x213)]);else{if(this[j(0x1eb)]['currentLocation'][j(0x213)]['hasItem'](b))return this[j(0x1e2)][j(0x20f)](j(0x1f0)+b+j(0x1f3)),this[j(0x20e)](b,this['actor']['currentLocation']['inventory']);else return this[j(0x209)](b)?(this['logger'][j(0x20f)](j(0x1f2)+b+'\x27.'),this['lookOutside'](b)):j(0x1e0)+b;}}else return this[j(0x1e2)][j(0x20f)](this['actor'][j(0x1fa)]+'\x20is\x20looking\x20around\x20the\x20current\x20room.'),this[j(0x1f7)]();}[a38i(0x1f7)](){const k=a38i,a=this[k(0x1eb)]['currentLocation'];if(!a)return this['logger'][k(0x1e6)](this[k(0x1eb)][k(0x1fa)]+k(0x20b)),k(0x200);let b=a[k(0x1f6)];return a[k(0x207)]&&(b+='\x0a'+a[k(0x207)][k(0x20d)]),b;}[a38i(0x1ec)](a){const l=a38i,b=this[l(0x1eb)][l(0x210)];if(!b)return this['logger']['error'](this[l(0x1eb)][l(0x1fa)]+l(0x20b)),l(0x200);const c=b['exits'][l(0x1f4)](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c['getOtherSide'](b);else{if(typeof c===l(0x1fc)){d=this[l(0x201)]&&this['rooms'][c];if(!d)return l(0x1f8)+a+'\x22.';}else return l(0x1f5)+a+'\x22.';}if(d[l(0x1ee)]===RoomType[l(0x1ed)]){if(a==='up')return l(0x214)+d[l(0x1f6)];else return a===l(0x1f1)?l(0x20c)+d['description']:'To\x20the\x20'+a+',\x20you\x20see\x20'+d[l(0x1f6)];}else return'You\x20cannot\x20see\x20through';}[a38i(0x20e)](a,b){const m=a38i,c=b[m(0x1fd)](a);if(!c)return m(0x212)+a+m(0x1e3);return c[m(0x1f6)]||m(0x203)+a+'.';}}
@@ -1 +1 @@
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
+ function a39c(){const k=['2ohVpvH','search',':\x20\x22','name','execute','240145UsUfac','3604488oZiXBq','What\x20do\x20you\x20want\x20to\x20say?','2339FtJrpO','length','Scene\x20is\x20missing\x20from\x20context.','verb','say','description','446592hCuTxs','allActors','(((.+)+)+)+$','currentLocation','actor','join','log','context','1323504GiCPlI','1335768TQLqDy','filter','scene','logger','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','toString','124134HNsAao','constructor'];a39c=function(){return k;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x194;let f=c[d];return f;},a39d(a,b);}const a39i=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x19e))/0x1+parseInt(g(0x196))/0x2*(-parseInt(g(0x194))/0x3)+parseInt(g(0x1a4))/0x4+parseInt(g(0x19b))/0x5+-parseInt(g(0x1ad))/0x6+-parseInt(g(0x1ac))/0x7+parseInt(g(0x19c))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x25cc5));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['toString']()[h(0x197)](h(0x1a6))[h(0x1b2)]()[h(0x195)](a39a)[h(0x197)](h(0x1a6));});a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39i(0x1a1)]='say';static [a39i(0x1a3)]=a39i(0x1b1);[a39i(0x1ab)];constructor(a){super(a),this['context']=a;}[a39i(0x19a)](a){const j=a39i;if(a[j(0x19f)]===0x0)return j(0x19d);const b=a[j(0x1a9)]('\x20'),c=this[j(0x1a8)],d=this['context'][j(0x1af)];if(!d)return this['logger']['log'](j(0x1a0)),'An\x20error\x20occurred.';const e=d[j(0x1a5)][j(0x1ae)](f=>f['currentLocation']===c[j(0x1a7)]);for(const f of e){this[j(0x1b0)][j(0x1aa)](c[j(0x199)]+'\x20says\x20to\x20'+f['name']+j(0x198)+b+'\x22'),this[j(0x1a8)][j(0x1a7)][j(0x1a2)](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}
@@ -1 +1 @@
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
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1cf))/0x1+parseInt(f(0x1ca))/0x2*(-parseInt(f(0x1bf))/0x3)+parseInt(f(0x1c1))/0x4+parseInt(f(0x1d9))/0x5*(parseInt(f(0x1d5))/0x6)+-parseInt(f(0x1c8))/0x7+parseInt(f(0x1cc))/0x8*(-parseInt(f(0x1ce))/0x9)+-parseInt(f(0x1cb))/0xa*(-parseInt(f(0x1d7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xb93d0));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1c5)]()[h(0x1d4)](h(0x1d6))[h(0x1c5)]()['constructor'](a40a)['search'](h(0x1d6));});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0x1c3)]=a40i(0x1d4);static [a40i(0x1c9)]=a40i(0x1cd);['execute'](){const j=a40i,a=this[j(0x1bd)][j(0x1c2)][j(0x1d3)]['listItems']();if(a[j(0x1be)]===0x0)return this[j(0x1d0)]['write'](j(0x1c4)+this[j(0x1bd)][j(0x1c7)]+j(0x1d2)),j(0x1d1);const b=a['join'](',\x20');return this[j(0x1d0)]['write']('SearchCommand:\x20'+this[j(0x1bd)][j(0x1c7)]+j(0x1c0)+b),j(0x1d8)+b;}}function a40c(){const k=['\x20searched\x20the\x20room\x20but\x20found\x20nothing.','inventory','search','30EbqOrM','(((.+)+)+)+$','18273343vHbJfZ','You\x20search\x20the\x20area\x20and\x20find:\x20','297035zMHFFw','actor','length','543xkMkqB','\x20found\x20the\x20following\x20items:\x20','2760600dRvBxu','currentLocation','verb','SearchCommand:\x20','toString','apply','name','9549372KFDBrH','description','9566UIIDVR','10jjvWou','8beIabU','Search\x20for\x20items\x20in\x20your\x20area','6697449uimEgB','1084418ptaqdY','logger','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.'];a40c=function(){return k;};return a40c();}
@@ -1 +1 @@
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
+ const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0xe7))/0x1*(-parseInt(f(0xf6))/0x2)+parseInt(f(0xe3))/0x3+parseInt(f(0xe6))/0x4*(-parseInt(f(0xfc))/0x5)+-parseInt(f(0xf3))/0x6+-parseInt(f(0xef))/0x7*(parseInt(f(0xf7))/0x8)+parseInt(f(0xe1))/0x9+parseInt(f(0xe5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb2f25));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0xf1)]()[h(0xe4)]('(((.+)+)+)+$')[h(0xf1)]()[h(0xe0)](a41a)[h(0xe4)](h(0xee));});a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xe0;let f=c[d];return f;},a41d(a,b);}import{Command}from'./command.js';function a41c(){const k=['write','2959305KYLvFb','search','8359620xAqZOY','632OxLCzR','40759IqujtF','verb','addItem','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','join','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','inventory','(((.+)+)+)+$','16569mupCRy','rewardItem','toString','SolveCommand:\x20','8147694jiDkMl','solve','logger','52gDhnkd','304vTAMjM','puzzle','apply','actor','success','42695iNCsQh','constructor','5831019RxmfwI'];a41c=function(){return k;};return a41c();}export class SolveCommand extends Command{static [a41i(0xe8)]='solve';static ['description']='Attempt\x20to\x20solve\x20a\x20puzzle.';['execute'](a){const j=a41i,b=a[j(0xeb)]('\x20')['toLowerCase'](),c=this[j(0xfa)]['currentLocation'];if(!c||!c['puzzle'])return this[j(0xf5)]['write'](j(0xec)),j(0xea);const d=c[j(0xf8)][j(0xf4)](b,this[j(0xfa)][j(0xed)]);return d[j(0xfb)]&&c[j(0xf8)][j(0xf0)]&&this[j(0xfa)][j(0xed)][j(0xe9)](c[j(0xf8)][j(0xf0)]),this[j(0xf5)][j(0xe2)](j(0xf2)+d['message']),d['message'];}}
@@ -1 +1 @@
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
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x164))/0x1+parseInt(f(0x15a))/0x2+-parseInt(f(0x15f))/0x3+parseInt(f(0x14d))/0x4+-parseInt(f(0x158))/0x5*(parseInt(f(0x148))/0x6)+-parseInt(f(0x141))/0x7+parseInt(f(0x13e))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x2a56d));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x156)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x13b)]()[h(0x13f)](h(0x155))[h(0x13b)]()[h(0x14e)](a42a)['search'](h(0x155));});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x13b;let f=c[d];return f;},a42d(a,b);}function a42c(){const l=['1642669hRxlcf','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','actor','\x22\x20not\x20retrieved\x20from\x20','You\x20have\x20taken\x20the\x20','\x22\x20to\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','268500FCjjaF','join','execute','getItem','removeItem','241680GLbxSp','constructor','inventory','name','currentLocation','Item\x20\x22','message','Pick\x20up\x20an\x20item.','(((.+)+)+)+$','apply','take','5VwJBPk','There\x20is\x20no\x20item\x20\x22','314024lvgJLG','Successfully\x20removed\x20\x22','write','logger','addInventory','825720zDyHeS','\x22\x20in\x20this\x20room.','Error\x20during\x20\x27Take\x27\x20command:\x20','\x22\x20from\x20','toLowerCase','43684jyKykT','toString','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','4434640QNrxks','search','Successfully\x20added\x20\x22'];a42c=function(){return l;};return a42c();}a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a42i(0x157);static ['description']=a42i(0x154);[a42i(0x14a)](a){const j=a42i;return this[j(0x15d)]['write'](j(0x142)+a['join']('\x20')),this[j(0x157)](a);}[a42i(0x157)](a){const k=a42i,b=a[k(0x149)]('\x20')[k(0x163)](),c=this[k(0x143)][k(0x151)];if(!c[k(0x14f)]['hasItem'](b))return this[k(0x15d)]['write'](k(0x152)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x150)]+'\x20during\x20\x27Take\x27\x20command.'),k(0x159)+b+k(0x160);const d=c['inventory'][k(0x14b)](b);if(!d)return this[k(0x15d)][k(0x15c)](k(0x152)+b+k(0x144)+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x159)+b+'\x22\x20in\x20this\x20room.';try{return this['actor'][k(0x15e)](d),this[k(0x15d)][k(0x15c)](k(0x140)+b+k(0x146)+this[k(0x143)]['name']+k(0x13d)),c[k(0x14f)][k(0x14c)](b),this['logger'][k(0x15c)](k(0x15b)+b+k(0x162)+c[k(0x150)]+k(0x147)),k(0x145)+b+'.';}catch(e){return this['logger'][k(0x15c)](k(0x161)+e[k(0x153)]),'The\x20item\x20\x22'+b+k(0x13c);}}}
@@ -1 +1 @@
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
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0xc5))/0x1*(parseInt(f(0xca))/0x2)+parseInt(f(0xcc))/0x3*(parseInt(f(0xcd))/0x4)+parseInt(f(0xcf))/0x5*(-parseInt(f(0xd2))/0x6)+-parseInt(f(0xc3))/0x7+-parseInt(f(0xd3))/0x8+-parseInt(f(0xd1))/0x9*(parseInt(f(0xd0))/0xa)+-parseInt(f(0xd5))/0xb*(-parseInt(f(0xd4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x7c48e));function a43c(){const k=['toLowerCase','4580tAiLdN','620iBBuIW','109233JHHEDP','5544fswdJv','6324920eojYOE','1371336mzbjhu','275sBquHt','constructor','name','search','unequip','(((.+)+)+)+$','2060926ZeIAwe','toString','1oGgTsC','execute','verb','apply','actor','784776iQzGhC','unqeuip','2185257HuUJvz','4zkpVHt'];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(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0xc4)]()[h(0xd8)](h(0xda))['toString']()[h(0xd6)](a43a)['search']('(((.+)+)+)+$');});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xc3;let f=c[d];return f;},a43d(a,b);}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0xc7)]=a43i(0xcb);static ['description']='Unequip\x20an\x20item.';[a43i(0xc6)](a){const j=a43i,b=a['join']('\x20')[j(0xce)](),c=this['actor'][j(0xd9)](b);return this['logger']['write']('UnequipCommand:\x20'+this[j(0xc9)][j(0xd7)]+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
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
+ const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x1ee))/0x1*(-parseInt(h(0x1f2))/0x2)+-parseInt(h(0x1de))/0x3*(parseInt(h(0x1e3))/0x4)+parseInt(h(0x1f0))/0x5*(parseInt(h(0x1df))/0x6)+-parseInt(h(0x1ea))/0x7+-parseInt(h(0x1e8))/0x8*(-parseInt(h(0x200))/0x9)+parseInt(h(0x1e7))/0xa+-parseInt(h(0x1fb))/0xb*(parseInt(h(0x1f4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xea7e9));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x1f5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a['toString']()[j(0x1f6)](j(0x208))['toString']()[j(0x1fe)](a44a)[j(0x1f6)](j(0x208));});a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a44c(){const n=['write','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','63569NceMtD','length','unlockItemOrSolution','constructor','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','3339mSItLL','exits','isValidDirection','.\x20Result:\x20','logger','has','attemptUnlockExit','unlock','(((.+)+)+)+$','2597331kpJCmc','6243462MgzOzU','execute','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','UnlockCommand:\x20No\x20target\x20specified.','4kQWNUR','getItem','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','inventory','16587490NDZeai','27256NrGNUO','UnlockCommand:\x20','832111stvVRx','There\x27s\x20no\x20door\x20named\x20\x22','actor','toLowerCase','5261IAVFqZ','\x22\x20here.','5uIGReP','hasItem','642ExOmKI','name','684egxnPv','apply','search','Unlock\x20a\x20door.','\x20is\x20attempted\x20to\x20unlock\x20'];a44c=function(){return n;};return a44c();}function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1de;let f=c[d];return f;},a44d(a,b);}export class UnlockCommand extends Command{static ['verb']=a44k(0x207);static ['description']=a44k(0x1f7);[a44k(0x1e0)](a){const l=a44k;return this[l(0x207)](a);}['unlock'](a){const m=a44k;if(a[m(0x1fc)]===0x0)return this['logger']['error'](m(0x1e2)),m(0x1ff);const b=a[0x0][m(0x1ed)](),c=this[m(0x1ec)]['currentLocation'];if(this[m(0x202)](b)&&c[m(0x201)][m(0x205)](b)){const d=c[m(0x201)]['get'](b);if(d instanceof Door){const e=d[m(0x1fd)]?.[m(0x1ed)]();if(e&&this['actor'][m(0x1e6)][m(0x1f1)](e)){const f=this[m(0x1ec)][m(0x1e6)][m(0x1e4)](e);if(f){const g=c[m(0x206)](b,f[m(0x1f3)]);return this[m(0x204)]['write'](m(0x1e9)+this[m(0x1ec)]['name']+m(0x1f8)+b+m(0x203)+g),g;}}return this[m(0x204)][m(0x1f9)](m(0x1e9)+this['actor']['name']+m(0x1fa)+b+'.'),m(0x1e5);}else return this['logger'][m(0x1f9)](m(0x1e9)+b+m(0x1e1)+c[m(0x1f3)]+'.'),m(0x1eb)+b+m(0x1ef);}else return this[m(0x204)]['write'](m(0x1e9)+b+m(0x1e1)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x1ef);}}
@@ -1 +1 @@
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
+ const a45h=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0xdf))/0x1*(parseInt(f(0xe8))/0x2)+parseInt(f(0xed))/0x3*(-parseInt(f(0xfd))/0x4)+-parseInt(f(0xe3))/0x5+parseInt(f(0xe2))/0x6*(parseInt(f(0xf6))/0x7)+-parseInt(f(0xf3))/0x8+parseInt(f(0xe1))/0x9+parseInt(f(0xfe))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xd946d));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(0xde)]()[g(0xee)]('(((.+)+)+)+$')[g(0xde)]()[g(0xe5)](a45a)[g(0xee)](g(0xea));});function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xdc;let f=c[d];return f;},a45d(a,b);}function a45c(){const k=['(((.+)+)+)+$','\x20attempted\x20to\x20use\x20','\x20to\x20use.','3leGJEz','search','\x20used\x20','hasItem','join','\x20in\x20this\x20way.','10482104PHAplo','You\x20don\x27t\x20have\x20the\x20','actor','7654437xcuwZT','use','\x27s\x20inventory.','You\x20can\x27t\x20use\x20the\x20','execute','name',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','6833972DYDQCa','20313940aKGvRE','verb','write','\x20not\x20retrieved\x20from\x20','\x20doesn\x27t\x20have\x20a\x20use\x20method.','function','toString','1jKlQUf','logger','8802234ohyuFq','6cAiXmq','1901745pQjDty','inventory','constructor','Use\x20an\x20item.','toLowerCase','372318QkRWva','UseCommand:\x20'];a45c=function(){return k;};return a45c();}a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45h(0xff)]='use';static ['description']=a45h(0xe6);[a45h(0xfa)](a){const i=a45h;return this[i(0xf7)](a);}[a45h(0xf7)](a){const j=a45h,b=a[j(0xf1)]('\x20')[j(0xe7)]();if(!this[j(0xf5)][j(0xe4)][j(0xf0)](b))return this[j(0xe0)][j(0x100)](j(0xe9)+this[j(0xf5)]['name']+j(0xeb)+b+j(0xfc)),'You\x20don\x27t\x20have\x20the\x20'+b+'\x20to\x20use.';const c=this['actor'][j(0xe4)]['getItem'](b);if(!c)return this['logger'][j(0x100)](j(0xe9)+b+j(0x101)+this[j(0xf5)][j(0xfb)]+j(0xf8)),j(0xf4)+b+j(0xec);if(typeof c[j(0xf7)]===j(0xdd)){const d=c[j(0xf7)]();return this['logger'][j(0x100)](j(0xe9)+this[j(0xf5)][j(0xfb)]+j(0xef)+b+'.'),d;}else return this[j(0xe0)]['write']('UseCommand:\x20'+b+j(0xdc)),j(0xf9)+b+j(0xf2);}}
@@ -1 +1 @@
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
+ const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0xb9))/0x1*(-parseInt(f(0xbd))/0x2)+-parseInt(f(0xbc))/0x3+parseInt(f(0xb3))/0x4+-parseInt(f(0xb0))/0x5*(parseInt(f(0xaf))/0x6)+-parseInt(f(0xba))/0x7+-parseInt(f(0xb6))/0x8+parseInt(f(0xbe))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xb0a13));function a46c(){const l=['8314740qoBOIi','toString','2100303JldtQP','758oeWmee','13281093BpXWaf','6xZrPeJ','1280745zXlBFt','apply','getAllRegisteredCommands','4553840DckfdU','search','commandMap','7969240fFgCbo','(((.+)+)+)+$','constructor','3297kJqyGo'];a46c=function(){return l;};return a46c();}const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a['toString']()[h(0xb4)](h(0xb7))[h(0xbb)]()[h(0xb8)](a46a)['search'](h(0xb7));});function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0xaf;let f=c[d];return f;},a46d(a,b);}a46a();export class CommandFactory{static [a46i(0xb5)]={};static['registerCommand'](a,b){const j=a46i;this[j(0xb5)][a]=b;}static['createCommand'](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a46i(0xb2)](){const k=a46i;return this[k(0xb5)];}}
@@ -1 +1 @@
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
+ function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x118;let f=c[d];return f;},a47d(a,b);}const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x11b))/0x1*(parseInt(f(0x137))/0x2)+parseInt(f(0x13b))/0x3+-parseInt(f(0x130))/0x4+parseInt(f(0x122))/0x5+-parseInt(f(0x13c))/0x6+parseInt(f(0x124))/0x7+-parseInt(f(0x133))/0x8*(parseInt(f(0x12e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x37d20));function a47c(){const o=['1827810UDacTk','isStartRoom','2696071eIuleH','key','constructor','convertToRoomConfig','inventory','createRoom','toString','type','INSIDE','sword','81UyQMdu','legarmor','931820zOWVTH','createPuzzle','name','768360ufsTdI','apply','search','roomType','892246YdMZAk','description','toUpperCase','book','1102854UuswVC','1430736OiNXEE','puzzle','addItem','content','1REGPiZ','forEach','boots','helmet','rewardItem','items','bodyarmor'];a47c=function(){return o;};return a47c();}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x12a)]()[h(0x135)]('(((.+)+)+)+$')[h(0x12a)]()[h(0x126)](a47a)[h(0x135)]('(((.+)+)+)+$');});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0x129)](a){const j=a47i,b=this[j(0x127)](a),c=new Room(b);if(a[j(0x120)]){const d=new Inventory();a[j(0x120)][j(0x11c)](e=>{const k=j;d[k(0x119)](this['createItem'](e));}),c[j(0x128)]=d;}return a[j(0x118)]&&c['setPuzzle'](this[j(0x131)](a['puzzle'])),c;}['createItem'](a){const l=a47i;switch(a[l(0x12b)]){case l(0x125):return new Key(a[l(0x132)],a[l(0x138)]);case l(0x13a):return new Book(a['name'],a[l(0x138)],a[l(0x11a)]);case l(0x12d):return new Sword(a['name'],a[l(0x138)]);case'rifle':return new Rifle(a[l(0x132)],a['description']);case l(0x11e):return new Helmet(a['name'],a[l(0x138)]);case l(0x121):return new BodyArmor(a[l(0x132)],a[l(0x138)]);case l(0x12f):return new LegArmor(a[l(0x132)],a[l(0x138)]);case l(0x11d):return new Boots(a['name'],a[l(0x138)]);case'gloves':return new Gloves(a[l(0x132)],a[l(0x138)]);case'gauntlets':return new Gauntlets(a['name'],a[l(0x138)]);default:return new BasicItem(a[l(0x132)],a[l(0x138)]);}}[a47i(0x131)](a){const m=a47i,b=this['createItem'](a[m(0x11f)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0x127)](a){const n=a47i,b=a['roomType']&&RoomType[a['roomType']['toUpperCase']()]?RoomType[a[n(0x136)][n(0x139)]()]:RoomType[n(0x12c)];return{'name':a[n(0x132)],'description':a[n(0x138)],'isStartRoom':a[n(0x123)],'roomType':b};}}
@@ -1 +1 @@
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
+ const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x1c8))/0x1+-parseInt(h(0x1b2))/0x2*(parseInt(h(0x1a3))/0x3)+-parseInt(h(0x1d2))/0x4*(parseInt(h(0x1aa))/0x5)+-parseInt(h(0x1a4))/0x6*(parseInt(h(0x1cd))/0x7)+parseInt(h(0x1b8))/0x8*(parseInt(h(0x1c0))/0x9)+-parseInt(h(0x19f))/0xa*(parseInt(h(0x1d4))/0xb)+parseInt(h(0x1b6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x6066e));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x1b4)]()[j(0x1af)]('(((.+)+)+)+$')['toString']()[j(0x1b5)](a48a)[j(0x1af)]('(((.+)+)+)+$');});a48a();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x19f;let f=c[d];return f;},a48d(a,b);}import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';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(0x1a8)];['scene'];['player'];['currentRoom'];[a48k(0x1b1)];constructor(a,b){const l=a48k;this['player']=a,this[l(0x1bf)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x1bf)][l(0x1d3)](),this['player'][l(0x1be)]=this[l(0x1cc)](),this[l(0x1ca)]();}[a48k(0x1ca)](){const m=a48k;CommandFactory[m(0x1a5)](m(0x1bc),LookCommand),CommandFactory[m(0x1a5)]('go',GoCommand),CommandFactory[m(0x1a5)](m(0x1c6),TakeCommand),CommandFactory[m(0x1a5)]('use',UseCommand),CommandFactory[m(0x1a5)](m(0x1ce),EquipCommand),CommandFactory[m(0x1a5)](m(0x1c7),UnequipCommand),CommandFactory[m(0x1a5)]('solve',SolveCommand),CommandFactory[m(0x1a5)](m(0x1ae),DropCommand),CommandFactory['registerCommand'](m(0x1a9),UnlockCommand),CommandFactory[m(0x1a5)](m(0x1c1),LockCommand),CommandFactory[m(0x1a5)](m(0x1af),SearchCommand),CommandFactory[m(0x1a5)](m(0x1a2),SayCommand);}['determineStartRoom'](){const n=a48k;return this[n(0x1bf)][n(0x1cc)]();}[a48k(0x1b7)](){const o=a48k;return o(0x1a6)+this[o(0x1cf)][o(0x1c3)];}static[a48k(0x1d0)](a,b){const p=a48k;return!Game[p(0x1a8)]&&(Game[p(0x1a8)]=new Game(a,b)),Game[p(0x1a8)];}[a48k(0x1d5)](a){const q=a48k,b=a[q(0x1ab)]()[q(0x1ad)]('\x20'),c=b[0x0][q(0x1c4)](),d=b[q(0x1a0)](0x1);if(c===q(0x1c9))return null;if(c==='maka')return q(0x1a1);if(c===q(0x1b9))return this[q(0x1cb)]();if(c===q(0x1a7))return'';const e={'actor':this[q(0x1cf)],'rooms':this[q(0x1bf)][q(0x1ba)](),'scene':this[q(0x1bf)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[q(0x1bb)](d);return g;}return q(0x1c5)+c+'\x22.';}[a48k(0x1cb)](){const r=a48k,a=CommandFactory[r(0x1b0)]();let b=r(0x1ac);for(const c in a){if(a[r(0x1bd)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x1b3)]()+'\x0a';}}return b+=r(0x1c2),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}function a48c(){const s=['equip','player','getInstance','apply','8yZzsCA','initialize','73799kfIHqg','handleInput','590GfpRLe','slice','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','say','3YeyJxx','492ZMmHEv','registerCommand','Welcome,\x20','clear','instance','unlock','1192090eoZSnL','trim','Available\x20Commands:\x0a','split','drop','search','getAllRegisteredCommands','rooms','1119652wqKTdr','getDescription','toString','constructor','13277604yVkCGT','getWelcomeMessage','8jtmTuS','help','getRooms','execute','look','hasOwnProperty','currentLocation','scene','3037041LDIFeW','lock','-\x20clear:\x20Clear\x20the\x20screen.\x0a','name','toLowerCase','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','take','unequip','429605NXtMyG','quit','registerCommands','getHelpMessage','determineStartRoom','3941xAfiPV'];a48c=function(){return s;};return a48c();}
@@ -1 +1 @@
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
+ (function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1d6))/0x1*(parseInt(f(0x1db))/0x2)+parseInt(f(0x1d9))/0x3*(-parseInt(f(0x1de))/0x4)+-parseInt(f(0x1e0))/0x5+parseInt(f(0x1d8))/0x6+parseInt(f(0x1df))/0x7+-parseInt(f(0x1dc))/0x8*(-parseInt(f(0x1e1))/0x9)+parseInt(f(0x1dd))/0xa*(-parseInt(f(0x1d4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x25787));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0x1d7)](h(0x1d5))['toString']()['constructor'](a49a)[h(0x1d7)](h(0x1d5));});function a49c(){var i=['11KhpdQA','(((.+)+)+)+$','173657NjLUmp','search','670452dNMIGT','627921upCava','apply','2tbCmBO','208Nzrxrd','2871620ELizBH','4PNabvX','1800183nexdZr','595010UMJIAo','78363SICGRy'];a49c=function(){return i;};return a49c();}a49a();export*from'./door.js';export*from'./inventory.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1d4;var f=c[d];return f;},a49d(a,b);}export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
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
+ var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x136))/0x1*(-parseInt(f(0x135))/0x2)+parseInt(f(0x12a))/0x3+parseInt(f(0x142))/0x4+parseInt(f(0x145))/0x5*(parseInt(f(0x127))/0x6)+-parseInt(f(0x146))/0x7*(-parseInt(f(0x13a))/0x8)+parseInt(f(0x133))/0x9*(-parseInt(f(0x137))/0xa)+-parseInt(f(0x126))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x84d48));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x140)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x134)]()[h(0x128)](h(0x138))[h(0x134)]()[h(0x12d)](a50a)['search'](h(0x138));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x125;var f=c[d];return f;},a50d(a,b);}function a50c(){var n=['4KSldXA','336318sexqxe','4114840mSfirW','(((.+)+)+)+$','\x20and\x20','4208mjWLXn','name','checkIfLocked','roomA','Door\x20unlocked:\x20','getOtherSide','apply','Failed\x20to\x20unlock\x20door:\x20','4134164lJXesL','checkIfLockable','unlockItemOrSolution','5044855lrXKAo','12775MMOENe','getInstance','Door\x20created\x20between\x20','30003963bqEuNa','6fAmeTQ','search','write','24273GTmoWF','.\x20Is\x20Locked:\x20','isLockable','constructor','logger','To\x20','roomB','isLocked','.\x20Used:\x20','9AYabxo','toString'];a50c=function(){return n;};return a50c();}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0x13d)];[a50i(0x130)];[a50i(0x131)];[a50i(0x144)];[a50i(0x13b)];[a50i(0x12e)];[a50i(0x12c)];constructor(a){var j=a50i;super(),this[j(0x13d)]=a['roomA'],this[j(0x130)]=a[j(0x130)],this[j(0x131)]=a[j(0x131)]||![],this['unlockItemOrSolution']=a[j(0x144)],this['name']=a[j(0x13b)]?capitalCase(a[j(0x13b)]):j(0x12f)+a[j(0x130)][j(0x13b)],this[j(0x12e)]=Logger[j(0x147)](),this['isLockable']=!!a['unlockItemOrSolution'],this[j(0x12e)][j(0x129)](j(0x125)+this[j(0x13d)][j(0x13b)]+j(0x139)+this['roomB'][j(0x13b)]+j(0x12b)+this[j(0x131)]);}[a50i(0x13f)](a){var k=a50i;return this[k(0x13d)]===a?this[k(0x130)]:this[k(0x13d)];}['attemptUnlock'](a){var l=a50i;if(this[l(0x131)]&&this[l(0x144)]&&this['unlockItemOrSolution']===a)return this[l(0x131)]=![],this[l(0x12e)][l(0x129)](l(0x13e)+this[l(0x13b)]+l(0x132)+a),!![];return this['logger'][l(0x129)](l(0x141)+this[l(0x13b)]+l(0x132)+a),![];}[a50i(0x13c)](){var m=a50i;return this[m(0x131)];}[a50i(0x143)](){return this['isLockable'];}}
@@ -1 +1 @@
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
+ function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xdb;let f=c[d];return f;},a51d(a,b);}const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0xfc))/0x1+-parseInt(f(0x104))/0x2*(-parseInt(f(0x105))/0x3)+-parseInt(f(0xe1))/0x4*(-parseInt(f(0xfb))/0x5)+parseInt(f(0xe2))/0x6+-parseInt(f(0xf2))/0x7+parseInt(f(0xf4))/0x8+parseInt(f(0xe4))/0x9*(-parseInt(f(0xe0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xd85a3));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a['toString']()[h(0xf6)](h(0xec))[h(0x101)]()[h(0x103)](a51a)[h(0xf6)](h(0xec));});a51a();import{capitalCase}from'change-case';function a51c(){const r=['81855qxgViv','Checked\x20for\x20item:\x20','\x20in\x20','hasItem','listItems','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','\x20from\x20inventory.','\x20to\x20inventory.','(((.+)+)+)+$','set','map','.\x20Item\x20not\x20found.','getItem','removeItem','6800850KQigks','toLowerCase','4895984VkoXwf','apply','search','logger','.\x20Exists:\x20','join','weight','5IeIlfH','756753Hxyouw','Listed\x20items\x20in\x20inventory:\x20','getWeight','values','keys','toString','Removed\x20item:\x20','constructor','1888YhVtvn','5250ecNwam','delete','items','write','has','Failed\x20to\x20remove\x20item:\x20','1430Cpgshp','2972472lAfTGx','5447706ILnqxh','name'];a51c=function(){return r;};return a51c();}import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0xdc)];[a51i(0xf7)];constructor(){const j=a51i;super(),this[j(0xdc)]=new Map(),this['logger']=Logger['getInstance']();}['addItem'](a){const k=a51i;this[k(0xdc)][k(0xed)](a['name'][k(0xf3)](),a),this[k(0xf7)][k(0xdd)]('Added\x20item:\x20'+a[k(0xe3)]+k(0xeb));}[a51i(0xf1)](a){const l=a51i,b=this[l(0xf0)](a);if(b)return this[l(0xdc)][l(0xdb)](a[l(0xf3)]()),this[l(0xf7)][l(0xdd)](l(0x102)+a+l(0xea)),b;return this[l(0xf7)][l(0xdd)](l(0xdf)+a+l(0xef)),null;}[a51i(0xe7)](a){const m=a51i,b=this[m(0xdc)][m(0xde)](a[m(0xf3)]()),c=[...this[m(0xdc)][m(0x100)]()];return this[m(0xf7)][m(0xdd)](m(0xe5)+a+m(0xe6)+c[m(0xf9)](',\x20')+m(0xf8)+b+'.'),b;}[a51i(0xf0)](a){const n=a51i,b=this[n(0xdc)]['get'](a[n(0xf3)]())||null;return b?this['logger'][n(0xdd)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0xf7)][n(0xdd)](n(0xe9)+a+n(0xef)),b;}[a51i(0xe8)](){const o=a51i,a=[...this[o(0xdc)][o(0x100)]()],b=a[o(0xee)](c=>capitalCase(c));return this[o(0xf7)]['write'](o(0xfd)+b['join'](',\x20')+'.'),a;}[a51i(0xfe)](){const p=a51i;let a=0x0;for(const b of this[p(0xdc)]['values']()){a+=b[p(0xfa)];}return a;}['getAllItems'](){const q=a51i;return[...this['items'][q(0xff)]()];}}
@@ -1 +1 @@
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
+ var a52i=a52d;function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xb8;var f=c[d];return f;},a52d(a,b);}function a52c(){var l=['size','26504GwlkUe','category','1289700HQpeKo','apply','texture','color','description','shape','rating','.\x20Nothing\x20special\x20happens.','search','name','(((.+)+)+)+$','222424FIZtXL','2944170mZTUxQ','343GlnbTC','167108XAbQSe','You\x20use\x20the\x20','uuid','9VFDXyO','4ptKZAI','696875hsLBlY','9078660YinuZT','use','toString','weight'];a52c=function(){return l;};return a52c();}(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xbe))/0x1*(parseInt(f(0xd2))/0x2)+parseInt(f(0xbd))/0x3*(parseInt(f(0xba))/0x4)+-parseInt(f(0xbf))/0x5+parseInt(f(0xc7))/0x6+-parseInt(f(0xb9))/0x7*(-parseInt(f(0xc5))/0x8)+parseInt(f(0xb8))/0x9+-parseInt(f(0xc0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x3781b));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xc2)]()[h(0xcf)]('(((.+)+)+)+$')[h(0xc2)]()['constructor'](a52a)[h(0xcf)](h(0xd1));});a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0xbc)];[a52i(0xd0)];['description'];[a52i(0xc4)];[a52i(0xc6)];[a52i(0xcc)];[a52i(0xca)];['texture'];[a52i(0xcd)];[a52i(0xc3)];constructor(a){var j=a52i;super(),this[j(0xd0)]=a[j(0xd0)],this[j(0xcb)]=a['description'],this[j(0xc4)]=a[j(0xc4)],this[j(0xc6)]=a[j(0xc6)],this[j(0xcc)]=a[j(0xcc)],this[j(0xca)]=a[j(0xca)],this[j(0xc9)]=a[j(0xc9)],this[j(0xcd)]=a['rating'],this[j(0xc3)]=a[j(0xc3)],this[j(0xbc)]=a52e();}[a52i(0xc1)](){var k=a52i;return k(0xbb)+this['name']+k(0xce);}}
@@ -1 +1 @@
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
+ function a53c(){const n=['3079196MZJSGk','scene','238142MasHyu','length','4080792BAIcAu','_name','moveTo','613116cxzarb','execute','6OgxwMT','5fYpnaD','autonomousMove','7180794HHEfMs','name','search','5822817GbCEfG','toString','floor','10amvHEr','random','_dialogue','76168UfZaEL','(((.+)+)+)+$','rooms'];a53c=function(){return n;};return a53c();}const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x18e))/0x1+parseInt(f(0x189))/0x2+-parseInt(f(0x193))/0x3+-parseInt(f(0x18c))/0x4*(parseInt(f(0x196))/0x5)+parseInt(f(0x195))/0x6*(parseInt(f(0x19b))/0x7)+-parseInt(f(0x190))/0x8+-parseInt(f(0x198))/0x9*(-parseInt(f(0x19e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x66f15));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const g=a53d;return a53a[g(0x19c)]()[g(0x19a)](g(0x18a))[g(0x19c)]()['constructor'](a53a)[g(0x19a)](g(0x18a));});a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x187;let f=c[d];return f;},a53d(a,b);}export class NPC extends Player{[a53h(0x191)];['_dialogue'];[a53h(0x18b)];['scene'];constructor(a,b,c,d){const i=a53h;super(d),this[i(0x191)]=a,this[i(0x188)]=b,this['rooms']=c;}get[a53h(0x199)](){const j=a53h;return this[j(0x191)];}['speak'](){const k=a53h;return this[k(0x188)][Math[k(0x19d)](Math[k(0x187)]()*this['_dialogue']['length'])];}[a53h(0x197)](a){const l=a53h,b=a[Math[l(0x19d)](Math['random']()*a[l(0x18f)])];this['moveTo'](b['name']);}[a53h(0x192)](a){const m=a53h,b={'actor':this,'rooms':this[m(0x18b)],'scene':this[m(0x18d)]},c=new GoCommand(b);c[m(0x194)]([a]);}}
@@ -1 +1 @@
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
+ const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0xd8))/0x1+parseInt(f(0x10b))/0x2*(parseInt(f(0xff))/0x3)+parseInt(f(0x107))/0x4+parseInt(f(0xcb))/0x5*(-parseInt(f(0x119))/0x6)+parseInt(f(0xef))/0x7+-parseInt(f(0xd5))/0x8+-parseInt(f(0xcf))/0x9*(parseInt(f(0xee))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x811cb));function a54c(){const B=['ArmArmor','maxCarryingWeight','enterRoom','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','shield','apply','playerName','_currentLocation','getInstance','12csVOrj','arm\x20armor','removeItem','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','logger','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','Shield','startLocation','leaveRoom','error','getWeight','Invalid\x20category\x20or\x20slot:\x20','leftHand','\x20to\x20player\x27s\x20inventory.','LegArmor','name','1882885ODSqlh','removeInventory','Max\x20carrying\x20weight\x20must\x20be\x20positive.','constructor','3354102UtwbdW','hear','Helmet','You\x20unequipped\x20','equip','boots','7972408oizXGJ','currentLocation','You\x20can\x27t\x20equip\x20','739087REYIdX','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','gloves','_equipment','weight','Nexus','Hat','\x20is\x20now\x20listening\x20in\x20room\x20','hasItem','initialEquipment','.\x20You\x20must\x20unequip\x20it\x20first.','feet','BodyArmor','body\x20armor','toString','canEquip','\x20says:\x20\x22','weapon','category','off','toLowerCase','legarmor','10NtXzmd','4329717BjOMPz','Gloves','includes','write','determineEquipmentSlot','inventory','bind','helmet','You\x20don\x27t\x20have\x20','head','Added\x20','inventoryItems','_playerName','unequipBySlot','speak','Boots','74691DkPfSe','rightHand','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','equipment','_inventory','Weapon','\x20is\x20no\x20longer\x20listeng\x20in\x20','legs','1489676xUJnGZ','You\x20equipped\x20','A\x20featureless\x20room','torso','74nszdqY','search','addInventory','\x20in\x20your\x20inventory.','_maxCarryingWeight'];a54c=function(){return B;};return a54c();}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x115)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0xe6)]()[h(0x10c)]('(((.+)+)+)+$')['toString']()[h(0xce)](a54a)[h(0x10c)]('(((.+)+)+)+$');});a54a();import{camelCase}from'change-case';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xc9;let f=c[d];return f;},a54d(a,b);}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a54i(0x117)];['_inventory'];[a54i(0xdb)];[a54i(0x10f)]=0x32;[a54i(0x11d)];constructor(a){const j=a54i;super(),this[j(0xfb)]=a[j(0x116)],this[j(0x117)]=a[j(0x120)]||new Room({'name':j(0xdd),'description':j(0x109)}),this[j(0x103)]=new Inventory(),this[j(0x11d)]=Logger[j(0x118)]();if(a?.[j(0xfa)])for(const b of a['inventoryItems']){this['_inventory']['addItem'](b);}this[j(0xdb)]=a?.[j(0xe1)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0xca)](){return this['_playerName'];}get['currentLocation'](){const k=a54i;return this[k(0x117)];}set[a54i(0xd6)](a){const l=a54i;this['_currentLocation']!==a&&(this[l(0x121)](),this[l(0x112)](a)),this[l(0x117)]=a;}get[a54i(0xf4)](){const m=a54i;return this[m(0x103)];}get[a54i(0x102)](){return this['_equipment'];}set[a54i(0x102)](a){const n=a54i;this[n(0xdb)]=a;}get[a54i(0x111)](){const o=a54i;return this[o(0x10f)];}set[a54i(0x111)](a){const p=a54i;a>0x0?this[p(0x10f)]=a:console[p(0x122)](p(0xcd));}get['currentWeight'](){const q=a54i;let a=this[q(0x103)][q(0x123)]();for(const b in this['_equipment']){const c=this[q(0xdb)][b];c&&(a+=c[q(0xdc)]);}return a;}[a54i(0x10d)](a){const r=a54i;if(this['currentWeight']+a[r(0xdc)]>this[r(0x111)]){this[r(0x11d)][r(0xf2)](r(0x101));throw new Error(r(0x113));}this['_inventory']['addItem'](a),this[r(0x11d)][r(0xf2)](r(0xf9)+a[r(0xca)]+r(0x126));}[a54i(0xcc)](a){const s=a54i;if(this['_inventory'][s(0x11b)](a[s(0xca)]))return this[s(0x11d)][s(0xf2)]('Removed\x20'+a[s(0xca)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[s(0x11d)][s(0xf2)]('Failed\x20to\x20remove\x20'+a['name']+'\x20from\x20player\x27s\x20inventory.'),![];}[a54i(0xd3)](a){const t=a54i;if(!this[t(0x103)][t(0xe0)](a[t(0xca)]))return t(0xf7)+a[t(0xca)]+t(0x10e);if(!this['canEquip'](a))return t(0xd7)+a['name']+'.';const b=this['determineEquipmentSlot'](a[t(0xea)]);if(!b)return a[t(0xca)]+t(0xd9);if(this[t(0x102)][b])return t(0x11c)+b+t(0xe2);return this[t(0x102)][b]=a,this[t(0xcc)](a),t(0x108)+a['name']+'.';}['unequip'](a){const u=a54i;let b=a;if(!this[u(0x102)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return u(0x124)+a+'.';}return this[u(0xfc)](b);}[a54i(0xf3)](a){const v=a54i;switch(a[v(0xec)]()){case Category[v(0x104)][v(0xec)]():return v(0x100);case Category[v(0x11f)][v(0xec)]():return v(0x125);case Category[v(0xf0)][v(0xec)]():return'gloves';case Category[v(0xd1)][v(0xec)]():case Category[v(0xde)][v(0xec)]():return v(0xf8);case Category[v(0xfe)][v(0xec)]():return v(0xe3);case Category[v(0xc9)][v(0xec)]():return v(0x106);case Category[v(0x110)][v(0xec)]():return'arms';case Category[v(0xe4)][v(0xec)]():return v(0x10a);case v(0xe9):return v(0x100);case v(0x114):return'leftHand';case'gloves':return v(0xda);case v(0xf6):case'hat':return v(0xf8);case v(0xd4):return'feet';case'leg\x20armor':case v(0xed):return v(0x106);case v(0x11a):case'armarmor':return'arms';case v(0xe5):case'bodyarmor':case v(0x10a):return v(0x10a);default:return null;}}[a54i(0xe7)](a){const w=a54i;return Object['values'](Category)[w(0xf1)](a['category']);}[a54i(0xfc)](a){const x=a54i,b=this[x(0x102)][a];if(!b)return x(0x11e)+a+'\x20slot.';return this[x(0x10d)](b),this[x(0x102)][a]=null,x(0xd2)+b[x(0xca)]+'.';}['hear'](a,b){const y=a54i;a!==this&&this['logger']['log'](a[y(0xca)]+y(0xe8)+b+'\x22');}[a54i(0x112)](a){const z=a54i;this['_currentLocation']=a,a['on'](z(0xfd),this[z(0xd0)]['bind'](this)),this['logger'][z(0xf2)](this[z(0xca)]+z(0xdf)+a[z(0xca)]);}[a54i(0x121)](){const A=a54i;this[A(0x117)]&&(this['_currentLocation'][A(0xeb)]('speak',this[A(0xd0)][A(0xf5)](this)),this[A(0x11d)][A(0xf2)](this['name']+A(0x105)+this[A(0x117)][A(0xca)]));}}
@@ -1 +1 @@
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
+ var a55h=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x158))/0x1+-parseInt(f(0x148))/0x2+parseInt(f(0x156))/0x3*(parseInt(f(0x15a))/0x4)+-parseInt(f(0x149))/0x5+parseInt(f(0x15e))/0x6+-parseInt(f(0x147))/0x7+-parseInt(f(0x155))/0x8*(-parseInt(f(0x15d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x4b0d0));function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x143;var f=c[d];return f;},a55d(a,b);}var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var g=a55d;return a55a['toString']()[g(0x14d)]('(((.+)+)+)+$')[g(0x157)]()[g(0x153)](a55a)['search'](g(0x15b));});a55a();function a55c(){var l=['You\x20have\x20already\x20solved\x20this\x20puzzle.','45QtNYvl','1098192MlrKkl','riddle','You\x20solved\x20the\x20puzzle!','successMessage','hasRequiredItem','failureMessage','rewardItem','2838836FpdVqb','790064YkZxyA','1740115Pjohul','solved','write','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','search','solve','requiredItem','hasItem','requiredPhrase','matchesRequiredPhrase','constructor','Puzzle:\x20Correct\x20solution\x20provided.','2214224fsuXPh','3BamEVO','toString','250950CgmibI','logger','560156JHcuib','(((.+)+)+)+$'];a55c=function(){return l;};return a55c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55h(0x159)]=Logger['getInstance']();['solved']=![];[a55h(0x14f)];[a55h(0x151)];[a55h(0x15f)];[a55h(0x146)];['successMessage'];['failureMessage'];constructor(a){var i=a55h;super(),this['requiredItem']=a[i(0x14f)],this[i(0x151)]=a[i(0x151)],this['riddle']=a['riddle'],this[i(0x146)]=a[i(0x146)],this['successMessage']=a[i(0x143)]||i(0x160),this[i(0x145)]=a[i(0x145)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a55h(0x144)](a){var j=a55h;if(this[j(0x14f)])return a[j(0x150)](this[j(0x14f)]);return![];}[a55h(0x152)](a){return this['requiredPhrase']===a;}[a55h(0x14e)](a,b){var k=a55h;if(this[k(0x14a)])return this[k(0x159)][k(0x14b)](k(0x14c)),{'success':![],'message':k(0x15c)};return this['hasRequiredItem'](b)||this[k(0x152)](a)?(this[k(0x14a)]=!![],this['logger'][k(0x14b)](k(0x154)),{'success':!![],'message':this[k(0x143)]}):(this[k(0x159)][k(0x14b)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[k(0x145)]});}}
@@ -1 +1 @@
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
+ const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0xab))/0x1*(parseInt(f(0xac))/0x2)+parseInt(f(0xc0))/0x3+-parseInt(f(0xdd))/0x4*(-parseInt(f(0xd9))/0x5)+-parseInt(f(0xd3))/0x6*(-parseInt(f(0xca))/0x7)+parseInt(f(0xbb))/0x8*(-parseInt(f(0xa7))/0x9)+parseInt(f(0xbc))/0xa+parseInt(f(0xa6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x2c33a));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0xe0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0xaf)]()['search'](h(0xb3))['toString']()[h(0xd5)](a56a)[h(0xa4)]('(((.+)+)+)+$');});a56a();import{Logger}from'../utilities/logger.js';function a56c(){const u=['say','isExitLocked','name','Checking\x20if\x20exit\x20in\x20direction\x20','2536064ntipkF','1246000TKMusL','getOppositeDirection','logger','get','944712HkOBvN','getInstance','No\x20locked\x20exit\x20found\x20in\x20direction\x20','south','Invalid\x20direction:\x20','east','Puzzle\x20set\x20for\x20room\x20','roomType','Fetching\x20exit\x20in\x20direction:\x20','\x20remains\x20locked.','7XrQmXR','down','inventory','removeItem','SOUTH','INSIDE','.\x20Success:\x20','hasItem','roomA','134406TukoLV','addExit','constructor','EAST','addItem','findExistingDoor','155405wvwfPg','WEST','attemptUnlockExit','description','16toyoEC','puzzle','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','apply','exits','DOWN','isStartRoom','The\x20','search','set','309518JFDHHx','9WAguop','Item\x20added\x20to\x20room\x20','emit','Item\x20removed\x20from\x20room\x20','1087UXsKhO','214usFmDo','write','roomB','toString','getExit','speak','\x20is\x20locked.\x20Result:\x20','(((.+)+)+)+$','checkIfLocked','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','Room\x20created:\x20'];a56c=function(){return u;};return a56c();}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0xa0;let f=c[d];return f;},a56d(a,b);}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0xbe)]=Logger[a56i(0xc1)]();['name'];[a56i(0xdc)];[a56i(0xa0)]=new Map();[a56i(0xc7)];[a56i(0xa2)];['inventory']=new Inventory();constructor(a){const j=a56i;super(),this[j(0xb9)]=a[j(0xb9)],this[j(0xdc)]=a['description'],this[j(0xc7)]=a[j(0xc7)]||RoomType[j(0xcf)],a[j(0xa0)]&&(this['exits']=a[j(0xa0)]||new Map()),a['inventory']&&(this['inventory']=a[j(0xcc)]),a[j(0xde)]&&(this[j(0xde)]=a[j(0xde)]),this['isStartRoom']=a[j(0xa2)]||![],this[j(0xbe)][j(0xad)](j(0xb6)+this[j(0xb9)]);}[a56i(0xb7)](a,b){const k=a56i;this[k(0xa9)](k(0xb1),a,b);}[a56i(0xd4)](a,b,c){const l=a56i;let d=this[l(0xd8)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0xa0)][l(0xa5)](a,d),b[l(0xa0)][l(0xa5)](this[l(0xbd)](a),d);}[a56i(0xdb)](a,b){const m=a56i,c=this[m(0xa0)][m(0xbf)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0xbe)][m(0xad)](m(0xb5)+a+m(0xd0)+d),d?m(0xa3)+c['name']+'\x20unlocked!':m(0xa3)+c[m(0xb9)]+m(0xc9);}return this[m(0xbe)][m(0xad)](m(0xc2)+a),m(0xdf);}[a56i(0xb0)](a){const n=a56i;return this[n(0xbe)][n(0xad)](n(0xc8)+a),this[n(0xa0)][n(0xbf)](a);}[a56i(0xb8)](a){const o=a56i,b=this[o(0xa0)][o(0xbf)](a),c=b instanceof Door&&b[o(0xb4)]();return this[o(0xbe)][o(0xad)](o(0xba)+a+o(0xb2)+c),c;}[a56i(0xd7)](a){const p=a56i;this[p(0xcc)][p(0xd7)](a),this[p(0xbe)][p(0xad)](p(0xa8)+this[p(0xb9)]+':\x20'+a[p(0xb9)]);}[a56i(0xcd)](a){const q=a56i;this[q(0xcc)][q(0xd1)](a[q(0xb9)])?(this['inventory'][q(0xcd)](a[q(0xb9)]),this[q(0xbe)][q(0xad)](q(0xaa)+this[q(0xb9)]+':\x20'+a[q(0xb9)])):this['logger'][q(0xad)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0xb9)]+':\x20'+a[q(0xb9)]);}['setPuzzle'](a){const r=a56i;this[r(0xde)]=a,this['logger'][r(0xad)](r(0xc6)+this[r(0xb9)]+':\x20'+a['riddle']);}['getOppositeDirection'](a){const s=a56i;switch(a){case'north':return Direction[s(0xce)];case s(0xc3):return Direction['NORTH'];case s(0xc5):return Direction[s(0xda)];case'west':return Direction[s(0xd6)];case'up':return Direction[s(0xa1)];case s(0xcb):return Direction['UP'];default:throw new Error(s(0xc4)+a);}}['findExistingDoor'](a){const t=a56i;for(const b of this[t(0xa0)]['values']()){if(b instanceof Door){if(b[t(0xd2)]===this&&b[t(0xae)]===a||b[t(0xae)]===this&&b[t(0xd2)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
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);}}
1
+ function a57c(){const E=['logger','direction','roomConfiguration','has','write','280KdSlqS','3793096tDNSra','\x20already\x20exists\x20in\x20the\x20scene.','addItemToRoom','addExit','getRooms','name','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','determineStartRoom','join','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','removeRoom','values','apply','length','No\x20actor\x20with\x20name\x20','getPlayer','1555254nDeTTz','.\x20Room\x20','delete','224297iNHZyu','keys','targetRoom','Scene\x20initialized\x20with\x20rooms:\x20','1293593bbAHmB','set','actors','push','connectRooms','player','Added\x20room\x20to\x20scene:\x20','roomFactory','toUpperCase','characterLocations','Removed\x20room\x20from\x20scene:\x20','Actor\x20with\x20name\x20','exits','createExitsFromConfig','createRoom','removeActor','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','\x22\x20does\x20not\x20exist.','currentLocation','8700804TUXXZi','729214pgFeKL','toString','Failed\x20to\x20add\x20puzzle.\x20Room\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','Room\x20\x22','addItem','addPuzzleToRoom','setCharacterLocation','30235ZrOJdU','getActor','from','generateRoomsFromConfig','rooms','get','addActor','initialize','\x20not\x20found\x20in\x20scene.','search','3AsFKYy','getCharacterLocation','\x20found\x20in\x20the\x20scene.','hasOwnProperty','(((.+)+)+)+$'];a57c=function(){return E;};return a57c();}const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=-parseInt(i(0x1c6))/0x1+-parseInt(i(0x195))/0x2*(parseInt(i(0x1a8))/0x3)+-parseInt(i(0x1b2))/0x4*(-parseInt(i(0x19e))/0x5)+-parseInt(i(0x1c3))/0x6+parseInt(i(0x1ca))/0x7+-parseInt(i(0x1b3))/0x8+parseInt(i(0x194))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x3dab3));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x196)]()[k(0x1a7)]('(((.+)+)+)+$')[k(0x196)]()['constructor'](a57a)[k(0x1a7)](k(0x1ac));});function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x18b;let f=c[d];return f;},a57d(a,b);}a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57l(0x1a2)];[a57l(0x1cf)];[a57l(0x1ad)];[a57l(0x1cc)];['characterLocations']=new Map();[a57l(0x1d1)];constructor(a){const m=a57l;super(),this[m(0x1d1)]=new RoomFactory(),this[m(0x1cf)]=a['player'],this[m(0x1a2)]=this[m(0x1a1)](a[m(0x1af)]),this['logger']=Logger['getInstance'](),this[m(0x1cc)]=new Map(),this[m(0x18e)](a[m(0x1af)]),this[m(0x1ad)]['write'](m(0x1c9)+Object[m(0x1c7)](this[m(0x1a2)])[m(0x1bb)](',\x20'));}[a57l(0x1a5)](){const n=a57l;this[n(0x1cf)][n(0x193)]=this['determineStartRoom']();}[a57l(0x1a1)](a){const o=a57l;if(!this[o(0x1d1)])throw new Error(o(0x1bc));const b={};for(const c of a){const d=this[o(0x1d1)][o(0x18f)](c);b[c[o(0x1b8)]]=d;}return b;}[a57l(0x18e)](a){const p=a57l;for(const b of a){const c=this['rooms'][b[p(0x1b8)]];if(b['exits'])for(const d of b[p(0x18d)]){const e=d[p(0x1ae)][p(0x1d2)](),f=d[p(0x1c8)],g=d['keyRequired'],h=this['rooms'][f];h&&c[p(0x1b6)](Direction[e],h,g);}}}[a57l(0x1a4)](a){const q=a57l;if(this[q(0x1cc)][q(0x1b0)](a[q(0x1b8)]))throw new Error(q(0x18c)+a[q(0x1b8)]+q(0x1b4));this[q(0x1cc)]['set'](a[q(0x1b8)],a);}[a57l(0x190)](a){const r=a57l;if(!this[r(0x1cc)][r(0x1b0)](a))throw new Error(r(0x1c1)+a+r(0x1aa));this[r(0x1cc)][r(0x1c5)](a);}[a57l(0x19f)](a){const s=a57l;return this[s(0x1cc)][s(0x1a3)](a);}get['allActors'](){const t=a57l;return Array[t(0x1a0)](this[t(0x1cc)][t(0x1be)]());}['addRoom'](a){const u=a57l;this[u(0x1a2)][a[u(0x1b8)]]=a,this[u(0x1ad)][u(0x1b1)](u(0x1d0)+a[u(0x1b8)]);}[a57l(0x1bd)](a){const v=a57l;return this[v(0x1a2)][a]?(delete this[v(0x1a2)][a],this[v(0x1ad)]['write'](v(0x18b)+a),!![]):(this[v(0x1ad)][v(0x1b1)](v(0x199)+a),![]);}[a57l(0x1b5)](a,b){const w=a57l,c=this[w(0x1a2)][b];c?(c[w(0x19b)](a),this[w(0x1ad)]['write']('Added\x20item\x20'+a[w(0x1b8)]+'\x20to\x20room\x20'+c[w(0x1b8)])):this[w(0x1ad)][w(0x1b1)]('Failed\x20to\x20add\x20item\x20'+a['name']+w(0x1c4)+b+w(0x1a6));}[a57l(0x19c)](a,b){const x=a57l,c=this[x(0x1a2)][b];c?(c['setPuzzle'](a),this[x(0x1ad)]['write']('Added\x20puzzle\x20to\x20room\x20'+c[x(0x1b8)])):this[x(0x1ad)][x(0x1b1)](x(0x197)+b+x(0x1a6));}[a57l(0x19d)](a,b){const y=a57l,c=this['rooms'][b];c?(this[y(0x1d3)][y(0x1cb)](a[y(0x1b8)],c),this[y(0x1ad)][y(0x1b1)](a[y(0x1b8)]+'\x20is\x20now\x20in\x20room\x20'+c[y(0x1b8)])):this[y(0x1ad)][y(0x1b1)]('Failed\x20to\x20set\x20'+a[y(0x1b8)]+'\x27s\x20location.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a57l(0x1a9)](a){const z=a57l;return this[z(0x1d3)]['get'](a[z(0x1b8)]);}[a57l(0x1ba)](){const A=a57l,a=[];for(const c in this['rooms']){if(this[A(0x1a2)][A(0x1ab)](c)){const d=this[A(0x1a2)][c];d['isStartRoom']&&a[A(0x1cd)](d);}}if(a[A(0x1c0)]>0x1)throw new Error(A(0x191));if(a['length']===0x1)return a[0x0];const b=Object[A(0x1c7)](this[A(0x1a2)]);if(b[A(0x1c0)]===0x0)throw new Error(A(0x1b9));return console['warn'](A(0x198)),this[A(0x1a2)][b[0x0]];}[a57l(0x1c2)](){const B=a57l;return this[B(0x1cf)];}[a57l(0x1b7)](){const C=a57l;return this[C(0x1a2)];}[a57l(0x1ce)](a,b,c,d){const D=a57l,e=this['rooms'][a],f=this[D(0x1a2)][c];if(!e)throw new Error(D(0x19a)+a+D(0x192));if(!f)throw new Error(D(0x19a)+c+D(0x192));e[D(0x1b6)](b,f,d);}}