@maka/maka-cli 4.12.12 → 4.12.14

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 (158) 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/collection.js +1 -1
  109. package/bundle/obf/src/generators/component.js +1 -1
  110. package/bundle/obf/src/generators/config.js +1 -1
  111. package/bundle/obf/src/generators/dbc.js +1 -1
  112. package/bundle/obf/src/generators/dockerfile.js +1 -1
  113. package/bundle/obf/src/generators/hook.js +1 -1
  114. package/bundle/obf/src/generators/kits/_index.js +1 -1
  115. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  117. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  119. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/kit.js +1 -1
  123. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  127. package/bundle/obf/src/generators/layout.js +1 -1
  128. package/bundle/obf/src/generators/maka.gen.js +1 -1
  129. package/bundle/obf/src/generators/methods.js +1 -1
  130. package/bundle/obf/src/generators/package.js +1 -1
  131. package/bundle/obf/src/generators/page.js +1 -1
  132. package/bundle/obf/src/generators/publish.js +1 -1
  133. package/bundle/obf/src/generators/route.js +1 -1
  134. package/bundle/obf/src/generators/service.js +1 -1
  135. package/bundle/obf/src/generators/services/_index.js +1 -1
  136. package/bundle/obf/src/generators/services/openssl.js +1 -1
  137. package/bundle/obf/src/generators/services/translation.js +1 -1
  138. package/bundle/obf/src/maka.js +1 -1
  139. package/bundle/obf/src/tool.js +1 -1
  140. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  141. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  142. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  143. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  144. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  146. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/https/https.class.js +1 -1
  148. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  149. package/bundle/obf/src/tools/log/log.class.js +1 -1
  150. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  151. package/bundle/obf/src/tools/options/options.class.js +1 -1
  152. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  153. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  154. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  155. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  156. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  158. 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(0x10a))/0x1*(-parseInt(f(0x126))/0x2)+-parseInt(f(0x124))/0x3+-parseInt(f(0x12d))/0x4*(parseInt(f(0x10f))/0x5)+parseInt(f(0x13c))/0x6+parseInt(f(0x125))/0x7+parseInt(f(0x12f))/0x8*(parseInt(f(0x134))/0x9)+-parseInt(f(0x136))/0xa*(-parseInt(f(0x11a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x67951));function a38c(){const n=['13856CSMVjK','error','Looking\x20at\x20item\x20\x27','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','918BosmRr','write','140kmHVFo','roomType','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27',',\x20you\x20see\x20','get','hasItem','2076342RXMwsm','inspectItem','search','1grphdm','lookOutside','look','apply','logger','2011915wLrcqi','rooms','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','currentLocation','toString','actor','To\x20the\x20','You\x27re\x20not\x20in\x20a\x20valid\x20room.','execute','Examine\x20your\x20surroundings','You\x20cannot\x20see\x20through','441947sTysUy','Above\x20you,\x20','exits','getOtherSide','\x20here.','verb','getItem','Executing\x20\x27Look\x27\x20command.','puzzle','name','1327335nHijFD','2256506kiIViI','527854fSaKHL','Below\x20you,\x20','inventory','isValidDirection','You\x20cannot\x20see\x20','\x20is\x20looking\x20around\x20the\x20current\x20room.','(((.+)+)+)+$','8auGMIy','description'];a38c=function(){return n;};return a38c();}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x10d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x113)]()[h(0x109)]('(((.+)+)+)+$')[h(0x113)]()['constructor'](a38a)[h(0x109)](h(0x12c));});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x108;let f=c[d];return f;},a38d(a,b);}import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0x11f)]='look';static ['description']=a38i(0x118);[a38i(0x117)](a=[]){const j=a38i;this['logger'][j(0x135)](j(0x121));const b=a['join']('\x20');if(b){if(this[j(0x114)]['inventory'][j(0x13b)](b))return this['logger'][j(0x135)](j(0x131)+b+'\x27\x20in\x20'+this[j(0x114)][j(0x123)]+'\x20inventory.'),this[j(0x108)](b,this[j(0x114)][j(0x128)]);else{if(this[j(0x114)][j(0x112)]['inventory'][j(0x13b)](b))return this[j(0x10e)]['write'](j(0x131)+b+'\x27\x20in\x20current\x20room\x20inventory.'),this[j(0x108)](b,this['actor'][j(0x112)][j(0x128)]);else return this[j(0x129)](b)?(this[j(0x10e)][j(0x135)](j(0x138)+b+'\x27.'),this[j(0x10b)](b)):j(0x12a)+b;}}else return this[j(0x10e)][j(0x135)](this[j(0x114)][j(0x123)]+j(0x12b)),this['look']();}[a38i(0x10c)](){const k=a38i,a=this[k(0x114)][k(0x112)];if(!a)return this[k(0x10e)][k(0x130)](this[k(0x114)]['name']+k(0x111)),k(0x116);let b=a[k(0x12e)];return a[k(0x122)]&&(b+='\x0a'+a[k(0x122)]['riddle']),b;}['lookOutside'](a){const l=a38i,b=this['actor'][l(0x112)];if(!b)return this[l(0x10e)][l(0x130)](this[l(0x114)][l(0x123)]+l(0x111)),l(0x116);const c=b[l(0x11c)][l(0x13a)](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x11d)](b);else{if(typeof c==='string'){d=this[l(0x110)]&&this[l(0x110)][c];if(!d)return l(0x133)+a+'\x22.';}else return l(0x132)+a+'\x22.';}if(d[l(0x137)]===RoomType['OUTSIDE']){if(a==='up')return l(0x11b)+d[l(0x12e)];else return a==='down'?l(0x127)+d[l(0x12e)]:l(0x115)+a+l(0x139)+d[l(0x12e)];}else return l(0x119);}[a38i(0x108)](a,b){const m=a38i,c=b[m(0x120)](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+m(0x11e);return c[m(0x12e)]||'It\x27s\x20just\x20a\x20regular\x20'+a+'.';}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x19b))/0x1*(parseInt(f(0x190))/0x2)+parseInt(f(0x1aa))/0x3*(-parseInt(f(0x1a9))/0x4)+parseInt(f(0x19f))/0x5+parseInt(f(0x1a2))/0x6+-parseInt(f(0x1bb))/0x7+parseInt(f(0x18d))/0x8*(-parseInt(f(0x18b))/0x9)+parseInt(f(0x1b6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x3abad));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1bd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x196)](h(0x191))[h(0x1a0)]()['constructor'](a38a)[h(0x196)](h(0x191));});a38a();import{Door}from'../models/door.js';function a38c(){const n=['name','write','Below\x20you,\x20','search','roomType','rooms','Executing\x20\x27Look\x27\x20command.','\x27\x20in\x20','1jMoOsF','down','To\x20the\x20','You\x27re\x20not\x20in\x20a\x20valid\x20room.','1721155LXsgXR','toString','look','162006umQBHY','exits','\x20here.','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','logger','description','get','652844rLzSFh','3Gsdqok','Above\x20you,\x20','You\x20cannot\x20see\x20','Looking\x20at\x20item\x20\x27','inspectItem','lookOutside','getOtherSide','\x20is\x20looking\x20around\x20the\x20current\x20room.','puzzle','\x27\x20in\x20current\x20room\x20inventory.','riddle','actor','11548560HfGpud','join','inventory','hasItem','getItem','1395940ulUarj','It\x27s\x20just\x20a\x20regular\x20','apply','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.',',\x20you\x20see\x20','string','currentLocation','1935ewTYtT','execute','17888COIViC','error','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','884320UWLXDG','(((.+)+)+)+$','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'];a38c=function(){return n;};return a38c();}import{RoomType}from'../types/enums.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x18a;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';export class LookCommand extends Command{static ['verb']=a38i(0x1a1);static ['description']='Examine\x20your\x20surroundings';[a38i(0x18c)](a=[]){const j=a38i;this[j(0x1a6)][j(0x194)](j(0x199));const b=a[j(0x1b7)]('\x20');if(b){if(this['actor'][j(0x1b8)][j(0x1b9)](b))return this[j(0x1a6)][j(0x194)](j(0x1ad)+b+j(0x19a)+this['actor']['name']+'\x20inventory.'),this[j(0x1ae)](b,this[j(0x1b5)][j(0x1b8)]);else{if(this['actor'][j(0x18a)][j(0x1b8)][j(0x1b9)](b))return this['logger'][j(0x194)](j(0x1ad)+b+j(0x1b3)),this[j(0x1ae)](b,this[j(0x1b5)][j(0x18a)][j(0x1b8)]);else return this['isValidDirection'](b)?(this[j(0x1a6)][j(0x194)](j(0x1a5)+b+'\x27.'),this[j(0x1af)](b)):j(0x1ac)+b;}}else return this[j(0x1a6)][j(0x194)](this[j(0x1b5)][j(0x193)]+j(0x1b1)),this[j(0x1a1)]();}[a38i(0x1a1)](){const k=a38i,a=this[k(0x1b5)][k(0x18a)];if(!a)return this[k(0x1a6)]['error'](this['actor'][k(0x193)]+k(0x1be)),k(0x19e);let b=a[k(0x1a7)];return a[k(0x1b2)]&&(b+='\x0a'+a['puzzle'][k(0x1b4)]),b;}['lookOutside'](a){const l=a38i,b=this['actor'][l(0x18a)];if(!b)return this['logger'][l(0x18e)](this[l(0x1b5)][l(0x193)]+l(0x1be)),l(0x19e);const c=b[l(0x1a3)][l(0x1a8)](a);if(!c)return l(0x18f)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x1b0)](b);else{if(typeof c===l(0x1c0)){d=this[l(0x198)]&&this[l(0x198)][c];if(!d)return l(0x192)+a+'\x22.';}else return'Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}if(d[l(0x197)]===RoomType['OUTSIDE']){if(a==='up')return l(0x1ab)+d[l(0x1a7)];else return a===l(0x19c)?l(0x195)+d[l(0x1a7)]:l(0x19d)+a+l(0x1bf)+d[l(0x1a7)];}else return'You\x20cannot\x20see\x20through';}[a38i(0x1ae)](a,b){const m=a38i,c=b[m(0x1ba)](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+m(0x1a4);return c[m(0x1a7)]||m(0x1bc)+a+'.';}}
@@ -1 +1 @@
1
- const a39j=a39d;function a39c(){const m=['2817ExMulF','context','filter',':\x20\x22','10021hZTnSt','join','\x20says\x20to\x20','name','verb','Scene\x20is\x20missing\x20from\x20context.','1761594CsCypB','920WuytAX','description','5ilYlHj','4160688UGizvG','What\x20do\x20you\x20want\x20to\x20say?','8ULHKDF','apply','actor','1447101wvKDbS','An\x20error\x20occurred.','allActors','toString','97448ISTSSX','say','search','logger','(((.+)+)+)+$','You\x20say:\x20\x22','currentLocation','1280leFzhh','9RVSEQO','1039563AHaktO','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','log'];a39c=function(){return m;};return a39c();}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x81))/0x1*(parseInt(g(0x79))/0x2)+parseInt(g(0x85))/0x3*(parseInt(g(0x80))/0x4)+parseInt(g(0x92))/0x5*(parseInt(g(0x8f))/0x6)+parseInt(g(0x82))/0x7+-parseInt(g(0x95))/0x8*(parseInt(g(0x75))/0x9)+parseInt(g(0x90))/0xa*(-parseInt(g(0x89))/0xb)+parseInt(g(0x93))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x632b3));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x78)]()[i(0x7b)]('(((.+)+)+)+$')[i(0x78)]()['constructor'](a39a)[i(0x7b)](i(0x7d));});a39a();import{Command}from'./command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x75;let f=c[d];return f;},a39d(a,b);}export class SayCommand extends Command{static [a39j(0x8d)]='say';static [a39j(0x91)]=a39j(0x83);[a39j(0x86)];constructor(a){const k=a39j;super(a),this[k(0x86)]=a;}['execute'](a){const l=a39j;if(a['length']===0x0)return l(0x94);const b=a[l(0x8a)]('\x20'),c=this['actor'],d=this[l(0x86)]['scene'];if(!d)return this[l(0x7c)][l(0x84)](l(0x8e)),l(0x76);const e=d[l(0x77)][l(0x87)](f=>f[l(0x7f)]===c[l(0x7f)]);for(const f of e){this['logger'][l(0x84)](c[l(0x8c)]+l(0x8b)+f[l(0x8c)]+l(0x88)+b+'\x22'),this[l(0x97)][l(0x7f)][l(0x7a)](f,b);}return l(0x7e)+b+'\x22';}}
1
+ function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xc1;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(0xc2))/0x1*(-parseInt(g(0xc4))/0x2)+parseInt(g(0xc5))/0x3+parseInt(g(0xda))/0x4*(-parseInt(g(0xc3))/0x5)+-parseInt(g(0xd1))/0x6*(-parseInt(g(0xd2))/0x7)+parseInt(g(0xd4))/0x8+-parseInt(g(0xd7))/0x9+-parseInt(g(0xce))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xb6b57));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0xca)]()[i(0xd5)](i(0xc9))[i(0xca)]()[i(0xdc)](a39a)[i(0xd5)](i(0xc9));});a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0xcd)]=a39j(0xc8);static [a39j(0xd3)]='Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.';['context'];constructor(a){const k=a39j;super(a),this[k(0xd9)]=a;}[a39j(0xcf)](a){const l=a39j;if(a[l(0xcc)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[l(0xdf)]('\x20'),c=this[l(0xc1)],d=this[l(0xd9)][l(0xc6)];if(!d)return this['logger']['log'](l(0xdd)),l(0xd8);const e=d['allActors'][l(0xcb)](f=>f[l(0xd6)]===c[l(0xd6)]);for(const f of e){this[l(0xd0)]['log'](c[l(0xde)]+'\x20says\x20to\x20'+f[l(0xde)]+l(0xc7)+b+'\x22'),this['actor'][l(0xd6)][l(0xc8)](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}function a39c(){const m=['name','join','actor','3SuYbtJ','35TRikUp','311726ljXtor','2428593bOmyhx','scene',':\x20\x22','say','(((.+)+)+)+$','toString','filter','length','verb','13099680LAaDan','execute','logger','246nSURoj','243439emOXuj','description','10795856QWapvf','search','currentLocation','8844174gwWWgs','An\x20error\x20occurred.','context','577960igPifK','apply','constructor','Scene\x20is\x20missing\x20from\x20context.'];a39c=function(){return m;};return a39c();}
@@ -1 +1 @@
1
- const a40i=a40d;function a40c(){const k=['SearchCommand:\x20','execute','4BoYVSX','21KShLaD','\x20found\x20the\x20following\x20items:\x20','apply','verb','30bkMRBg','108786ibuKOH','3810380hBUUVi','listItems','Search\x20for\x20items\x20in\x20your\x20area','toString','137810oRoYOV','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','641256IIMUGI','(((.+)+)+)+$','60332OeEdIL','97052fYejKW','actor','description','915012FSpgkc','join','name','You\x20search\x20the\x20area\x20and\x20find:\x20','currentLocation','write','constructor','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','search'];a40c=function(){return k;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1ef))/0x1*(-parseInt(f(0x1df))/0x2)+parseInt(f(0x1e4))/0x3*(parseInt(f(0x1ee))/0x4)+parseInt(f(0x1ea))/0x5+parseInt(f(0x1e5))/0x6*(-parseInt(f(0x1e0))/0x7)+-parseInt(f(0x1ec))/0x8+-parseInt(f(0x1d4))/0x9+parseInt(f(0x1e6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x1f854));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()['search'](h(0x1ed))[h(0x1e9)]()[h(0x1da)](a40a)['search'](h(0x1ed));});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0x1e3)]=a40i(0x1dc);static [a40i(0x1d3)]=a40i(0x1e8);[a40i(0x1de)](){const j=a40i,a=this[j(0x1f0)][j(0x1d8)]['inventory'][j(0x1e7)]();if(a['length']===0x0)return this['logger'][j(0x1d9)](j(0x1dd)+this['actor'][j(0x1d6)]+j(0x1db)),j(0x1eb);const b=a[j(0x1d5)](',\x20');return this['logger']['write'](j(0x1dd)+this[j(0x1f0)][j(0x1d6)]+j(0x1e1)+b),j(0x1d7)+b;}}
1
+ function a40c(){const k=['You\x20search\x20the\x20area\x20and\x20find:\x20','2779450yzlngQ','name','41TNQHzc','28ZrQZoQ','461920uhszGt','search','length','138723vUUqHl','28cUYlHj','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','2315316TUkbnh','inventory','1462KVezhI','verb','toString','constructor','11EMIYnG','listItems','actor','join','360416DVOpVI','apply','\x20found\x20the\x20following\x20items:\x20','write','SearchCommand:\x20','execute','11557812mfUjKW','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','9VVVhuo','logger','(((.+)+)+)+$'];a40c=function(){return k;};return a40c();}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x185))/0x1*(-parseInt(f(0x16f))/0x2)+-parseInt(f(0x16a))/0x3*(parseInt(f(0x16b))/0x4)+parseInt(f(0x187))/0x5+-parseInt(f(0x16d))/0x6+parseInt(f(0x186))/0x7*(parseInt(f(0x177))/0x8)+parseInt(f(0x17f))/0x9*(-parseInt(f(0x183))/0xa)+parseInt(f(0x173))/0xb*(parseInt(f(0x17d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x3548e));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x171)]()[h(0x188)]('(((.+)+)+)+$')['toString']()[h(0x172)](a40a)[h(0x188)](h(0x181));});a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x169;let f=c[d];return f;},a40d(a,b);}export class SearchCommand extends Command{static [a40i(0x170)]=a40i(0x188);static ['description']='Search\x20for\x20items\x20in\x20your\x20area';[a40i(0x17c)](){const j=a40i,a=this[j(0x175)]['currentLocation'][j(0x16e)][j(0x174)]();if(a[j(0x169)]===0x0)return this['logger']['write'](j(0x17b)+this[j(0x175)][j(0x184)]+j(0x17e)),j(0x16c);const b=a[j(0x176)](',\x20');return this[j(0x180)][j(0x17a)](j(0x17b)+this[j(0x175)][j(0x184)]+j(0x179)+b),j(0x182)+b;}}
@@ -1 +1 @@
1
- const a41i=a41d;function a41c(){const k=['addItem','apply','message','11832BaLVzH','verb','21ASQPKn','logger','join','633679klbZsl','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','1988016UQruRG','puzzle','4085191qhExtJ','inventory','(((.+)+)+)+$','search','write','4Uyzjhr','toString','toLowerCase','rewardItem','748677QkqYJT','4QayXWE','actor','10563714aLgylh','3861140XvTAoB','120xcVTBL','SolveCommand:\x20','success','solve'];a41c=function(){return k;};return a41c();}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x1c6))/0x1*(-parseInt(f(0x1b1))/0x2)+-parseInt(f(0x1b5))/0x3+parseInt(f(0x1b6))/0x4*(-parseInt(f(0x1b9))/0x5)+-parseInt(f(0x1c1))/0x6*(parseInt(f(0x1c3))/0x7)+-parseInt(f(0x1c8))/0x8+-parseInt(f(0x1b8))/0x9+parseInt(f(0x1ba))/0xa*(parseInt(f(0x1ca))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb47bf));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x1b2)]()[h(0x1af)](h(0x1ae))['toString']()['constructor'](a41a)[h(0x1af)](h(0x1ae));});a41a();import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a41d(a,b);}export class SolveCommand extends Command{static [a41i(0x1c2)]=a41i(0x1bd);static ['description']='Attempt\x20to\x20solve\x20a\x20puzzle.';['execute'](a){const j=a41i,b=a[j(0x1c5)]('\x20')[j(0x1b3)](),c=this[j(0x1b7)]['currentLocation'];if(!c||!c[j(0x1c9)])return this[j(0x1c4)]['write']('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0x1c7);const d=c['puzzle'][j(0x1bd)](b,this[j(0x1b7)][j(0x1ad)]);return d[j(0x1bc)]&&c[j(0x1c9)]['rewardItem']&&this[j(0x1b7)]['inventory'][j(0x1be)](c[j(0x1c9)][j(0x1b4)]),this[j(0x1c4)][j(0x1b0)](j(0x1bb)+d[j(0x1c0)]),d[j(0x1c0)];}}
1
+ const a41h=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x14c;let f=c[d];return f;},a41d(a,b);}function a41c(){const j=['toLowerCase','search','join','rewardItem','5131989AwuEyM','170KCLlob','toString','154uYqtPo','SolveCommand:\x20','message','puzzle','solve','62330rwrnaE','execute','1016200ZFqLjU','172484jEWEAU','logger','description','111BjLViv','inventory','verb','addItem','39557vtRhPD','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','actor','948ZgIwpL','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','write','4399455nsvNAj','12334frxjCE'];a41c=function(){return j;};return a41c();}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x155))/0x1*(parseInt(f(0x160))/0x2)+-parseInt(f(0x15f))/0x3+parseInt(f(0x152))/0x4*(parseInt(f(0x166))/0x5)+parseInt(f(0x15c))/0x6*(parseInt(f(0x159))/0x7)+-parseInt(f(0x151))/0x8+-parseInt(f(0x165))/0x9+-parseInt(f(0x14f))/0xa*(-parseInt(f(0x168))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xec180));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const g=a41d;return a41a[g(0x167)]()[g(0x162)]('(((.+)+)+)+$')[g(0x167)]()['constructor'](a41a)[g(0x162)]('(((.+)+)+)+$');});a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41h(0x157)]=a41h(0x14e);static [a41h(0x154)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a41h(0x150)](a){const i=a41h,b=a[i(0x163)]('\x20')[i(0x161)](),c=this[i(0x15b)]['currentLocation'];if(!c||!c[i(0x14d)])return this[i(0x153)][i(0x15e)](i(0x15d)),i(0x15a);const d=c[i(0x14d)][i(0x14e)](b,this[i(0x15b)][i(0x156)]);return d['success']&&c['puzzle'][i(0x164)]&&this['actor'][i(0x156)][i(0x158)](c[i(0x14d)][i(0x164)]),this[i(0x153)][i(0x15e)](i(0x169)+d[i(0x14c)]),d['message'];}}
@@ -1 +1 @@
1
- const a42h=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xdf;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0xf6))/0x1*(parseInt(f(0xf7))/0x2)+parseInt(f(0x104))/0x3*(parseInt(f(0x102))/0x4)+-parseInt(f(0xf5))/0x5+-parseInt(f(0xdf))/0x6*(parseInt(f(0xfc))/0x7)+-parseInt(f(0xe3))/0x8*(-parseInt(f(0x10a))/0x9)+parseInt(f(0xea))/0xa*(-parseInt(f(0xe2))/0xb)+parseInt(f(0xf2))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x64f63));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(0xf0)]()[g(0x107)](g(0xf8))[g(0xf0)]()[g(0xf1)](a42a)[g(0x107)](g(0xf8));});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a42h(0xe5)]=a42h(0x100);static [a42h(0x10b)]='Pick\x20up\x20an\x20item.';[a42h(0x106)](a){const i=a42h;return this[i(0xe0)][i(0xf9)](i(0xe1)+a['join']('\x20')),this[i(0x100)](a);}['take'](a){const j=a42h,b=a[j(0xee)]('\x20')[j(0xf3)](),c=this[j(0x105)][j(0xeb)];if(!c[j(0xfa)]['hasItem'](b))return this['logger']['write']('Item\x20\x22'+b+j(0xff)+c[j(0xfb)]+'\x20during\x20\x27Take\x27\x20command.'),j(0x103)+b+'\x22\x20in\x20this\x20room.';const d=c[j(0xfa)]['getItem'](b);if(!d)return this[j(0xe0)][j(0xf9)](j(0x101)+b+j(0xec)+c['name']+j(0xe7)),j(0x103)+b+j(0xe6);try{return this[j(0x105)][j(0xef)](d),this[j(0xe0)]['write'](j(0xed)+b+j(0xe9)+this[j(0x105)][j(0xfb)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[j(0xfa)]['removeItem'](b),this['logger']['write'](j(0xf4)+b+j(0xe8)+c[j(0xfb)]+j(0xe7)),j(0x108)+b+'.';}catch(e){return this[j(0xe0)][j(0xf9)](j(0x109)+e[j(0xfe)]),j(0xe4)+b+j(0xfd);}}}function a42c(){const k=['9628dLtDVF','122kknIyK','(((.+)+)+)+$','write','inventory','name','23737MuVNZj','\x22\x20is\x20too\x20heavy\x20to\x20carry.','message','\x22\x20not\x20found\x20in\x20','take','Item\x20\x22','12ZbGZSP','There\x20is\x20no\x20item\x20\x22','425133Oejyov','actor','execute','search','You\x20have\x20taken\x20the\x20','Error\x20during\x20\x27Take\x27\x20command:\x20','3182013zdBKlB','description','1116NLEGPX','logger','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','706783MEDhcO','16rzKHst','The\x20item\x20\x22','verb','\x22\x20in\x20this\x20room.','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20from\x20','\x22\x20to\x20','120EJuOhg','currentLocation','\x22\x20not\x20retrieved\x20from\x20','Successfully\x20added\x20\x22','join','addInventory','toString','constructor','3921444VhYDAC','toLowerCase','Successfully\x20removed\x20\x22','1155205PTZgRz'];a42c=function(){return k;};return a42c();}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1ac))/0x1+parseInt(f(0x1b3))/0x2*(-parseInt(f(0x1b1))/0x3)+parseInt(f(0x1bc))/0x4*(parseInt(f(0x1be))/0x5)+parseInt(f(0x1aa))/0x6+parseInt(f(0x1c5))/0x7*(-parseInt(f(0x1a5))/0x8)+-parseInt(f(0x1c2))/0x9*(-parseInt(f(0x1bd))/0xa)+-parseInt(f(0x1ae))/0xb*(-parseInt(f(0x19a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x47018));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0x1b2)](h(0x1b9))[h(0x1a0)]()[h(0x1b0)](a42a)[h(0x1b2)]('(((.+)+)+)+$');});a42a();import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x199;let f=c[d];return f;},a42d(a,b);}export class TakeCommand extends Command{static [a42i(0x1a8)]=a42i(0x1b5);static ['description']=a42i(0x1bf);[a42i(0x1a9)](a){const j=a42i;return this[j(0x1a4)][j(0x1a7)](j(0x1ab)+a[j(0x19e)]('\x20')),this['take'](a);}[a42i(0x1b5)](a){const k=a42i,b=a['join']('\x20')['toLowerCase'](),c=this[k(0x1c4)][k(0x1b4)];if(!c[k(0x1c0)][k(0x1b6)](b))return this['logger'][k(0x1a7)]('Item\x20\x22'+b+k(0x1a2)+c[k(0x1af)]+k(0x19d)),k(0x1b8)+b+k(0x1b7);const d=c['inventory'][k(0x19c)](b);if(!d)return this[k(0x1a4)]['write'](k(0x1ba)+b+k(0x1c1)+c[k(0x1af)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x1b8)+b+k(0x1b7);try{return this[k(0x1c4)][k(0x1ad)](d),this['logger'][k(0x1a7)]('Successfully\x20added\x20\x22'+b+'\x22\x20to\x20'+this[k(0x1c4)]['name']+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0x1c0)][k(0x1a1)](b),this[k(0x1a4)][k(0x1a7)](k(0x1a3)+b+'\x22\x20from\x20'+c[k(0x1af)]+k(0x199)),k(0x19b)+b+'.';}catch(e){return this['logger'][k(0x1a7)](k(0x1bb)+e[k(0x1c6)]),k(0x1c3)+b+k(0x1a6);}}}function a42c(){const l=['addInventory','73645OQiXeE','name','constructor','6SmYyoI','search','473006aSwEUV','currentLocation','take','hasItem','\x22\x20in\x20this\x20room.','There\x20is\x20no\x20item\x20\x22','(((.+)+)+)+$','Item\x20\x22','Error\x20during\x20\x27Take\x27\x20command:\x20','28BanFVq','30uMpVpS','246065YHrBrO','Pick\x20up\x20an\x20item.','inventory','\x22\x20not\x20retrieved\x20from\x20','287073eTvXda','The\x20item\x20\x22','actor','28xyFLLf','message','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','144owUoRb','You\x20have\x20taken\x20the\x20','getItem','\x20during\x20\x27Take\x27\x20command.','join','apply','toString','removeItem','\x22\x20not\x20found\x20in\x20','Successfully\x20removed\x20\x22','logger','379792zBCbMI','\x22\x20is\x20too\x20heavy\x20to\x20carry.','write','verb','execute','3048558sWNVNG','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','74873fXSZGO'];a42c=function(){return l;};return a42c();}
@@ -1 +1 @@
1
- function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1ec;let f=c[d];return f;},a43d(a,b);}const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1f9))/0x1*(parseInt(f(0x1fb))/0x2)+-parseInt(f(0x1f0))/0x3+-parseInt(f(0x201))/0x4+parseInt(f(0x1f2))/0x5+-parseInt(f(0x200))/0x6*(parseInt(f(0x1ed))/0x7)+parseInt(f(0x1ee))/0x8*(-parseInt(f(0x1ff))/0x9)+parseInt(f(0x1f4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x438cc));function a43c(){const j=['912520PBYGLh','(((.+)+)+)+$','join','search','519344ubSreW','8jhVXoQ','\x20unqeuiped\x20','1535466wCcrSC','toString','1302480IOyAPE','description','15145510zmBTrY','Unequip\x20an\x20item.','constructor','toLowerCase','write','67809NSHdUh','UnequipCommand:\x20','2AGBiHM','unequip','actor','unqeuip','4879962ehNnoJ','12YwszGo'];a43c=function(){return j;};return a43c();}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const g=a43d;return a43a[g(0x1f1)]()[g(0x1ec)]('(((.+)+)+)+$')[g(0x1f1)]()[g(0x1f6)](a43a)[g(0x1ec)](g(0x202));});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a43h(0x1fe);static [a43h(0x1f3)]=a43h(0x1f5);['execute'](a){const i=a43h,b=a[i(0x203)]('\x20')[i(0x1f7)](),c=this[i(0x1fd)][i(0x1fc)](b);return this['logger'][i(0x1f8)](i(0x1fa)+this[i(0x1fd)]['name']+i(0x1ef)+c),c;}}
1
+ function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a43d(a,b);}function a43c(){const k=['actor','logger','Unequip\x20an\x20item.','description','constructor','join','768PmbTwc','135853lgcXNO','60zbqYGx','3UrMXIE','10UcPraG','2109768JLomZb','toLowerCase','apply','4lJTNeM','1793468nWzLbh','7763aUhrEf','write','1550355CMLxMZ','toString','verb','unequip','85569ixrKmH','execute','170730WJAtyw','UnequipCommand:\x20','unqeuip','(((.+)+)+)+$'];a43c=function(){return k;};return a43c();}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1b5))/0x1*(-parseInt(f(0x1bc))/0x2)+parseInt(f(0x1b7))/0x3*(-parseInt(f(0x1bd))/0x4)+-parseInt(f(0x1c0))/0x5+-parseInt(f(0x1b6))/0x6*(parseInt(f(0x1be))/0x7)+parseInt(f(0x1b9))/0x8+-parseInt(f(0x1c6))/0x9*(parseInt(f(0x1b8))/0xa)+parseInt(f(0x1c4))/0xb*(parseInt(f(0x1d0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x3bc31));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1c1)]()['search'](h(0x1c9))[h(0x1c1)]()[h(0x1ce)](a43a)['search']('(((.+)+)+)+$');});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x1c2)]=a43i(0x1c8);static [a43i(0x1cd)]=a43i(0x1cc);[a43i(0x1c5)](a){const j=a43i,b=a[j(0x1cf)]('\x20')[j(0x1ba)](),c=this[j(0x1ca)][j(0x1c3)](b);return this[j(0x1cb)][j(0x1bf)](j(0x1c7)+this['actor']['name']+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x1a8))/0x1*(-parseInt(h(0x1ad))/0x2)+-parseInt(h(0x1b5))/0x3*(parseInt(h(0x1ab))/0x4)+parseInt(h(0x1bf))/0x5*(-parseInt(h(0x1a2))/0x6)+-parseInt(h(0x197))/0x7+-parseInt(h(0x1aa))/0x8+parseInt(h(0x1b1))/0x9*(-parseInt(h(0x1b4))/0xa)+-parseInt(h(0x1a1))/0xb*(-parseInt(h(0x1b3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xc0a67));function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x195;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(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x19b)]()['search'](j(0x195))[j(0x19b)]()['constructor'](a44a)[j(0x1a0)]('(((.+)+)+)+$');});a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0x19f)]=a44k(0x1a4);static [a44k(0x1ae)]='Unlock\x20a\x20door.';[a44k(0x19a)](a){const l=a44k;return this[l(0x1a4)](a);}[a44k(0x1a4)](a){const m=a44k;if(a[m(0x196)]===0x0)return this[m(0x199)][m(0x1af)](m(0x1a5)),m(0x19c);const b=a[0x0][m(0x1a7)](),c=this[m(0x1bd)][m(0x1bc)];if(this[m(0x1b6)](b)&&c[m(0x1ba)]['has'](b)){const d=c[m(0x1ba)][m(0x19e)](b);if(d instanceof Door){const e=d[m(0x1a3)]?.['toLowerCase']();if(e&&this['actor'][m(0x1b9)]['hasItem'](e)){const f=this[m(0x1bd)][m(0x1b9)]['getItem'](e);if(f){const g=c[m(0x19d)](b,f[m(0x1b2)]);return this[m(0x199)][m(0x1ac)]('UnlockCommand:\x20'+this[m(0x1bd)][m(0x1b2)]+m(0x1bb)+b+'.\x20Result:\x20'+g),g;}}return this[m(0x199)]['write']('UnlockCommand:\x20'+this[m(0x1bd)][m(0x1b2)]+m(0x1be)+b+'.'),m(0x1b8);}else return this['logger'][m(0x1ac)](m(0x1a9)+b+m(0x1b0)+c[m(0x1b2)]+'.'),m(0x198)+b+'\x22\x20here.';}else return this[m(0x199)][m(0x1ac)](m(0x1a9)+b+m(0x1b0)+c[m(0x1b2)]+'.'),m(0x198)+b+m(0x1b7);}}function a44c(){const n=['190hgOEJP','3NfLMEF','isValidDirection','\x22\x20here.','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','inventory','exits','\x20is\x20attempted\x20to\x20unlock\x20','currentLocation','actor','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','1324465SJZThB','(((.+)+)+)+$','length','7014007Fskhwj','There\x27s\x20no\x20door\x20named\x20\x22','logger','execute','toString','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','attemptUnlockExit','get','verb','search','1202883dXAvJZ','18NjsjsE','unlockItemOrSolution','unlock','UnlockCommand:\x20No\x20target\x20specified.','apply','toLowerCase','347nysbqE','UnlockCommand:\x20','2912472dULPdg','3730436TPyiek','write','1538zTcKBb','description','error','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','676287MSoMrf','name','612aUJZGY'];a44c=function(){return n;};return a44c();}
1
+ const a44j=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x18c))/0x1*(-parseInt(h(0x16e))/0x2)+-parseInt(h(0x18b))/0x3+-parseInt(h(0x168))/0x4+-parseInt(h(0x179))/0x5+-parseInt(h(0x16d))/0x6*(parseInt(h(0x17c))/0x7)+-parseInt(h(0x174))/0x8*(parseInt(h(0x189))/0x9)+parseInt(h(0x16c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x8a8cb));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const i=a44d;return a44a['toString']()[i(0x16b)]('(((.+)+)+)+$')[i(0x171)]()[i(0x169)](a44a)[i(0x16b)](i(0x182));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x167;let f=c[d];return f;},a44d(a,b);}a44a();function a44c(){const l=['unlock','781718aSxDMl','verb','\x22\x20here.','getItem','unlockItemOrSolution','currentLocation','(((.+)+)+)+$','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','actor','inventory','toLowerCase','UnlockCommand:\x20No\x20target\x20specified.','71946EHtNkK','There\x27s\x20no\x20door\x20named\x20\x22','2869260oTluuo','38hrIZep','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','get','exits','661468LgYRzV','constructor','logger','search','18623830elVzjp','24CPdpUe','26842ajkRRv','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','length','toString','UnlockCommand:\x20','\x20is\x20attempted\x20to\x20unlock\x20','16xfPAQC','write','isValidDirection','name','description','1102055ggPeVM','execute'];a44c=function(){return l;};return a44c();}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44j(0x17d)]='unlock';static [a44j(0x178)]='Unlock\x20a\x20door.';[a44j(0x17a)](a){return this['unlock'](a);}[a44j(0x17b)](a){const k=a44j;if(a[k(0x170)]===0x0)return this[k(0x16a)]['error'](k(0x188)),k(0x184);const b=a[0x0][k(0x187)](),c=this[k(0x185)][k(0x181)];if(this[k(0x176)](b)&&c[k(0x167)]['has'](b)){const d=c['exits'][k(0x18e)](b);if(d instanceof Door){const e=d[k(0x180)]?.[k(0x187)]();if(e&&this[k(0x185)][k(0x186)]['hasItem'](e)){const f=this[k(0x185)][k(0x186)][k(0x17f)](e);if(f){const g=c['attemptUnlockExit'](b,f[k(0x177)]);return this[k(0x16a)][k(0x175)]('UnlockCommand:\x20'+this[k(0x185)][k(0x177)]+k(0x173)+b+'.\x20Result:\x20'+g),g;}}return this[k(0x16a)]['write'](k(0x172)+this[k(0x185)][k(0x177)]+k(0x16f)+b+'.'),k(0x183);}else return this['logger'][k(0x175)](k(0x172)+b+k(0x18d)+c[k(0x177)]+'.'),k(0x18a)+b+'\x22\x20here.';}else return this['logger'][k(0x175)](k(0x172)+b+k(0x18d)+c[k(0x177)]+'.'),k(0x18a)+b+k(0x17e);}}
@@ -1 +1 @@
1
- const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x1cb))/0x1+parseInt(f(0x1c4))/0x2+-parseInt(f(0x1cc))/0x3*(parseInt(f(0x1b9))/0x4)+parseInt(f(0x1ca))/0x5*(parseInt(f(0x1c6))/0x6)+parseInt(f(0x1d3))/0x7+parseInt(f(0x1d0))/0x8*(parseInt(f(0x1cf))/0x9)+-parseInt(f(0x1b8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x8b6a0));function a45c(){const l=['8tekfIY','\x20in\x20this\x20way.','\x20to\x20use.','5713246cDloyx','function','hasItem',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','execute','\x27s\x20inventory.','actor','logger','34329360MzjVDg','4708YmiYBX','Use\x20an\x20item.','inventory','apply','You\x20can\x27t\x20use\x20the\x20','You\x20don\x27t\x20have\x20the\x20','use','name','UseCommand:\x20','description','toString','2110482muxlLy','constructor','4518906gQJmjr','write','search','getItem','5JcSjrQ','1039435SYYAku','90KauABe','(((.+)+)+)+$','\x20used\x20','3377529TdywrJ'];a45c=function(){return l;};return a45c();}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x1c3)]()[h(0x1c8)](h(0x1cd))[h(0x1c3)]()[h(0x1c5)](a45a)['search'](h(0x1cd));});function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a45d(a,b);}a45a();import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a45i(0x1bf);static [a45i(0x1c2)]=a45i(0x1ba);[a45i(0x1d7)](a){const j=a45i;return this[j(0x1bf)](a);}['use'](a){const k=a45i,b=a['join']('\x20')['toLowerCase']();if(!this[k(0x1b6)][k(0x1bb)][k(0x1d5)](b))return this['logger'][k(0x1c7)]('UseCommand:\x20'+this[k(0x1b6)][k(0x1c0)]+'\x20attempted\x20to\x20use\x20'+b+k(0x1d6)),k(0x1be)+b+k(0x1d2);const c=this['actor'][k(0x1bb)][k(0x1c9)](b);if(!c)return this['logger'][k(0x1c7)](k(0x1c1)+b+'\x20not\x20retrieved\x20from\x20'+this[k(0x1b6)][k(0x1c0)]+k(0x1b5)),k(0x1be)+b+'\x20to\x20use.';if(typeof c[k(0x1bf)]===k(0x1d4)){const d=c[k(0x1bf)]();return this[k(0x1b7)][k(0x1c7)]('UseCommand:\x20'+this['actor']['name']+k(0x1ce)+b+'.'),d;}else return this[k(0x1b7)]['write'](k(0x1c1)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),k(0x1bd)+b+k(0x1d1);}}
1
+ const a45h=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x1ae))/0x1*(parseInt(f(0x1b5))/0x2)+-parseInt(f(0x1ba))/0x3*(-parseInt(f(0x1b7))/0x4)+parseInt(f(0x1af))/0x5+-parseInt(f(0x1b1))/0x6+-parseInt(f(0x1ab))/0x7+-parseInt(f(0x1bc))/0x8*(parseInt(f(0x1b2))/0x9)+parseInt(f(0x1ac))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x4e3df));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(0x1ad)]()['search']('(((.+)+)+)+$')[g(0x1ad)]()['constructor'](a45a)['search'](g(0x1c1));});a45a();function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a45d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a45h(0x1c3);static ['description']='Use\x20an\x20item.';[a45h(0x1a8)](a){const i=a45h;return this[i(0x1c3)](a);}['use'](a){const j=a45h,b=a[j(0x1c0)]('\x20')['toLowerCase']();if(!this[j(0x1a6)][j(0x1aa)][j(0x1be)](b))return this[j(0x1bf)][j(0x1b9)](j(0x1bb)+this[j(0x1a6)][j(0x1c2)]+j(0x1c5)+b+j(0x1b8)),j(0x1a9)+b+j(0x1b3);const c=this[j(0x1a6)][j(0x1aa)][j(0x1b0)](b);if(!c)return this[j(0x1bf)]['write']('UseCommand:\x20'+b+j(0x1bd)+this['actor'][j(0x1c2)]+j(0x1b6)),'You\x20don\x27t\x20have\x20the\x20'+b+'\x20to\x20use.';if(typeof c['use']===j(0x1c6)){const d=c['use']();return this[j(0x1bf)][j(0x1b9)](j(0x1bb)+this[j(0x1a6)][j(0x1c2)]+j(0x1b4)+b+'.'),d;}else return this[j(0x1bf)][j(0x1b9)](j(0x1bb)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),j(0x1a7)+b+j(0x1c4);}}function a45c(){const k=['hasItem','logger','join','(((.+)+)+)+$','name','use','\x20in\x20this\x20way.','\x20attempted\x20to\x20use\x20','function','actor','You\x20can\x27t\x20use\x20the\x20','execute','You\x20don\x27t\x20have\x20the\x20','inventory','4410322TAbsqe','10310770ktSdIL','toString','568lpPhMw','176975QCeDZm','getItem','3465936kbChRw','144zHhZcW','\x20to\x20use.','\x20used\x20','262WaHWze','\x27s\x20inventory.','4CGHkHS',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','write','1576287AYZbpR','UseCommand:\x20','69064WSIUPH','\x20not\x20retrieved\x20from\x20'];a45c=function(){return k;};return a45c();}
@@ -1 +1 @@
1
- const a46i=a46d;function a46c(){const l=['apply','1552MHaquK','2352462qrSwqS','search','5545680dUfRCj','commandMap','1294276MwGKkp','667591ESpMJU','toString','24XNMKln','2681838iJKHcF','3020qQALLZ','createCommand','1764144inuzLk'];a46c=function(){return l;};return a46c();}function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0xeb;let f=c[d];return f;},a46d(a,b);}(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0xec))/0x1+parseInt(f(0xeb))/0x2+-parseInt(f(0xf2))/0x3+parseInt(f(0xf4))/0x4*(parseInt(f(0xf0))/0x5)+-parseInt(f(0xf5))/0x6+parseInt(f(0xf7))/0x7+parseInt(f(0xee))/0x8*(-parseInt(f(0xef))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x72132));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0xed)]()[h(0xf6)]('(((.+)+)+)+$')['toString']()['constructor'](a46a)[h(0xf6)]('(((.+)+)+)+$');});a46a();export class CommandFactory{static [a46i(0xf8)]={};static['registerCommand'](a,b){const j=a46i;this[j(0xf8)][a]=b;}static[a46i(0xf1)](a,b){const k=a46i,c=this[k(0xf8)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){return this['commandMap'];}}
1
+ const a46i=a46d;function a46c(){const l=['constructor','registerCommand','commandMap','(((.+)+)+)+$','2BHkdyM','818530prInVZ','87182vNvnQs','8pAHGsQ','6761557NPOHlF','6KiyoBi','56aipFqa','471951kxQnnL','search','114725IyJJCD','toString','apply','getAllRegisteredCommands','2553733gtHnjh','createCommand','904941bTnvQB'];a46c=function(){return l;};return a46c();}function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a46d(a,b);}(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x1d8))/0x1*(parseInt(f(0x1d6))/0x2)+parseInt(f(0x1e5))/0x3+parseInt(f(0x1dc))/0x4*(-parseInt(f(0x1df))/0x5)+-parseInt(f(0x1db))/0x6*(parseInt(f(0x1e3))/0x7)+parseInt(f(0x1d9))/0x8*(-parseInt(f(0x1dd))/0x9)+-parseInt(f(0x1d7))/0xa+parseInt(f(0x1da))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x2cb87));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x1e1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x1e0)]()[h(0x1de)](h(0x1e9))['toString']()[h(0x1e6)](a46a)[h(0x1de)](h(0x1e9));});a46a();export class CommandFactory{static [a46i(0x1e8)]={};static[a46i(0x1e7)](a,b){this['commandMap'][a]=b;}static[a46i(0x1e4)](a,b){const j=a46i,c=this[j(0x1e8)][a];if(c)return new c(b);return null;}static[a46i(0x1e2)](){const k=a46i;return this[k(0x1e8)];}}
@@ -1 +1 @@
1
- const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x1ca))/0x1+-parseInt(f(0x1ee))/0x2*(-parseInt(f(0x1e0))/0x3)+parseInt(f(0x1dd))/0x4+-parseInt(f(0x1ce))/0x5*(parseInt(f(0x1ea))/0x6)+-parseInt(f(0x1de))/0x7*(-parseInt(f(0x1c8))/0x8)+-parseInt(f(0x1e2))/0x9*(-parseInt(f(0x1c7))/0xa)+parseInt(f(0x1e3))/0xb*(parseInt(f(0x1cd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xab0aa));function a47c(){const o=['createRoom','puzzle','INSIDE','constructor','forEach','convertToRoomConfig','isStartRoom','items','search','createPuzzle','type','description','581164usMShp','1206506nBexwU','inventory','822TZMxnY','legarmor','279UtRfPc','13925538afUoqt','sword','addItem','createItem','book','toString','apply','13602hlTlSs','content','setPuzzle','rewardItem','1330SxZipo','toUpperCase','gloves','392410DOVCkm','8gzZWuZ','roomType','1166338Zlkkhy','name','boots','12GBxcnW','2460MYZdrk','gauntlets','(((.+)+)+)+$'];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(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x1e8)]()[h(0x1d9)]('(((.+)+)+)+$')[h(0x1e8)]()[h(0x1d4)](a47a)['search'](h(0x1d0));});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1c6;let f=c[d];return f;},a47d(a,b);}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(0x1d1)](a){const j=a47i,b=this[j(0x1d6)](a),c=new Room(b);if(a[j(0x1d8)]){const d=new Inventory();a['items'][j(0x1d5)](e=>{const k=j;d[k(0x1e5)](this[k(0x1e6)](e));}),c[j(0x1df)]=d;}return a['puzzle']&&c[j(0x1ec)](this[j(0x1da)](a[j(0x1d2)])),c;}[a47i(0x1e6)](a){const l=a47i;switch(a[l(0x1db)]){case'key':return new Key(a[l(0x1cb)],a[l(0x1dc)]);case l(0x1e7):return new Book(a[l(0x1cb)],a[l(0x1dc)],a[l(0x1eb)]);case l(0x1e4):return new Sword(a[l(0x1cb)],a['description']);case'rifle':return new Rifle(a[l(0x1cb)],a[l(0x1dc)]);case'helmet':return new Helmet(a[l(0x1cb)],a[l(0x1dc)]);case'bodyarmor':return new BodyArmor(a[l(0x1cb)],a['description']);case l(0x1e1):return new LegArmor(a[l(0x1cb)],a[l(0x1dc)]);case l(0x1cc):return new Boots(a[l(0x1cb)],a[l(0x1dc)]);case l(0x1c6):return new Gloves(a['name'],a[l(0x1dc)]);case l(0x1cf):return new Gauntlets(a[l(0x1cb)],a['description']);default:return new BasicItem(a[l(0x1cb)],a[l(0x1dc)]);}}[a47i(0x1da)](a){const m=a47i,b=this[m(0x1e6)](a[m(0x1ed)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0x1d6)](a){const n=a47i,b=a['roomType']&&RoomType[a[n(0x1c9)][n(0x1ef)]()]?RoomType[a[n(0x1c9)][n(0x1ef)]()]:RoomType[n(0x1d3)];return{'name':a[n(0x1cb)],'description':a[n(0x1dc)],'isStartRoom':a[n(0x1d7)],'roomType':b};}}
1
+ const a47k=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x1de))/0x1*(parseInt(f(0x1e2))/0x2)+-parseInt(f(0x1e5))/0x3*(-parseInt(f(0x1eb))/0x4)+parseInt(f(0x1d4))/0x5+-parseInt(f(0x1ce))/0x6*(-parseInt(f(0x1cc))/0x7)+parseInt(f(0x1c4))/0x8+parseInt(f(0x1d6))/0x9*(parseInt(f(0x1c7))/0xa)+-parseInt(f(0x1c9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x38033));function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a47d(a,b);}function a47c(){const o=['24HkjLba','1438576FGNTAL','createPuzzle','apply','60ZyHepp','gauntlets','11803176xeDNiy','createItem','bodyarmor','564123vpiWhB','toUpperCase','12utDjve','inventory','boots','gloves','sword','rifle','556540MeGBQT','items','271629cXrGjF','roomType','rewardItem','helmet','INSIDE','toString','description','content','434053SbmKkv','convertToRoomConfig','legarmor','puzzle','2NtkFSP','search','type','117498RVXVSn','(((.+)+)+)+$','setPuzzle','book','name','key'];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(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x1db)]()[h(0x1e3)](h(0x1e6))[h(0x1db)]()['constructor'](a47a)[h(0x1e3)](h(0x1e6));});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{['createRoom'](a){const i=a47d,b=this[i(0x1df)](a),c=new Room(b);if(a[i(0x1d5)]){const d=new Inventory();a[i(0x1d5)]['forEach'](e=>{const j=i;d['addItem'](this[j(0x1ca)](e));}),c[i(0x1cf)]=d;}return a['puzzle']&&c[i(0x1e7)](this[i(0x1c5)](a[i(0x1e1)])),c;}[a47k(0x1ca)](a){const l=a47k;switch(a[l(0x1e4)]){case l(0x1ea):return new Key(a[l(0x1e9)],a['description']);case l(0x1e8):return new Book(a[l(0x1e9)],a[l(0x1dc)],a[l(0x1dd)]);case l(0x1d2):return new Sword(a['name'],a[l(0x1dc)]);case l(0x1d3):return new Rifle(a['name'],a[l(0x1dc)]);case l(0x1d9):return new Helmet(a[l(0x1e9)],a['description']);case l(0x1cb):return new BodyArmor(a[l(0x1e9)],a[l(0x1dc)]);case l(0x1e0):return new LegArmor(a[l(0x1e9)],a[l(0x1dc)]);case l(0x1d0):return new Boots(a['name'],a[l(0x1dc)]);case l(0x1d1):return new Gloves(a[l(0x1e9)],a[l(0x1dc)]);case l(0x1c8):return new Gauntlets(a['name'],a[l(0x1dc)]);default:return new BasicItem(a['name'],a['description']);}}[a47k(0x1c5)](a){const m=a47k,b=this['createItem'](a[m(0x1d8)]);return new Puzzle({...a,'rewardItem':b});}[a47k(0x1df)](a){const n=a47k,b=a[n(0x1d7)]&&RoomType[a['roomType'][n(0x1cd)]()]?RoomType[a[n(0x1d7)][n(0x1cd)]()]:RoomType[n(0x1da)];return{'name':a['name'],'description':a['description'],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0x8b))/0x1+-parseInt(h(0xa9))/0x2*(-parseInt(h(0x8a))/0x3)+parseInt(h(0xa8))/0x4+parseInt(h(0x8f))/0x5*(parseInt(h(0x94))/0x6)+-parseInt(h(0x8c))/0x7*(parseInt(h(0x95))/0x8)+-parseInt(h(0x9f))/0x9*(parseInt(h(0x97))/0xa)+parseInt(h(0xa3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x57213));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x8d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a['toString']()[j(0x96)]('(((.+)+)+)+$')[j(0xac)]()[j(0xab)](a48a)['search'](j(0xa4));});a48a();import{Scene}from'./models/scene.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x88;let f=c[d];return f;},a48d(a,b);}import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';function a48c(){const s=['determineStartRoom','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','toLowerCase','registerCommands','getHelpMessage','currentLocation','Welcome,\x20','hasOwnProperty','unlock','instance','unequip','take','equip','clear','look','4509beVirg','460422EiqZiy','7woLDQy','apply','trim','2850pITReP','player','name','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','getAllRegisteredCommands','5178PxPocd','5513608newhus','search','20NcaFxy','solve','maka','lock','say','handleInput','getWelcomeMessage','registerCommand','2928087rMIRem','getRooms','help','rooms','11814726jajeWy','(((.+)+)+)+$','getDescription','scene','getInstance','86316sqowSX','758mxVEuh','initialize','constructor','toString'];a48c=function(){return s;};return a48c();}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(0xb6)];[a48k(0xa6)];['player'];['currentRoom'];[a48k(0xa2)];constructor(a,b){const l=a48k;this[l(0x90)]=a,this[l(0xa6)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0xa6)][l(0xaa)](),this[l(0x90)][l(0xb2)]=this[l(0xad)](),this[l(0xb0)]();}[a48k(0xb0)](){const m=a48k;CommandFactory['registerCommand'](m(0x89),LookCommand),CommandFactory[m(0x9e)]('go',GoCommand),CommandFactory[m(0x9e)](m(0xb8),TakeCommand),CommandFactory[m(0x9e)]('use',UseCommand),CommandFactory[m(0x9e)](m(0xb9),EquipCommand),CommandFactory[m(0x9e)](m(0xb7),UnequipCommand),CommandFactory[m(0x9e)](m(0x98),SolveCommand),CommandFactory['registerCommand']('drop',DropCommand),CommandFactory['registerCommand'](m(0xb5),UnlockCommand),CommandFactory[m(0x9e)](m(0x9a),LockCommand),CommandFactory[m(0x9e)](m(0x96),SearchCommand),CommandFactory['registerCommand'](m(0x9b),SayCommand);}[a48k(0xad)](){const n=a48k;return this[n(0xa6)]['determineStartRoom']();}[a48k(0x9d)](){const o=a48k;return o(0xb3)+this[o(0x90)][o(0x91)];}static[a48k(0xa7)](a,b){const p=a48k;return!Game['instance']&&(Game[p(0xb6)]=new Game(a,b)),Game['instance'];}[a48k(0x9c)](a){const q=a48k,b=a[q(0x8e)]()['split']('\x20'),c=b[0x0][q(0xaf)](),d=b['slice'](0x1);if(c==='quit')return null;if(c===q(0x99))return q(0xae);if(c===q(0xa1))return this[q(0xb1)]();if(c===q(0x88))return'';const e={'actor':this[q(0x90)],'rooms':this['scene'][q(0xa0)](),'scene':this[q(0xa6)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f['execute'](d);return g;}return q(0x92)+c+'\x22.';}[a48k(0xb1)](){const r=a48k,a=CommandFactory[r(0x93)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0xb4)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0xa5)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
1
+ const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x1a3))/0x1+parseInt(h(0x191))/0x2+-parseInt(h(0x194))/0x3*(-parseInt(h(0x1a4))/0x4)+-parseInt(h(0x1aa))/0x5+-parseInt(h(0x1a8))/0x6*(parseInt(h(0x1ab))/0x7)+-parseInt(h(0x18e))/0x8*(-parseInt(h(0x199))/0x9)+-parseInt(h(0x18c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xcaa06));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x183)]()['search'](j(0x1a6))['toString']()['constructor'](a48a)[j(0x19d)](j(0x1a6));});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x182;let f=c[d];return f;},a48d(a,b);}function a48c(){const s=['maka','344zKLkmr','registerCommands','getDescription','2050360XbolRB','Available\x20Commands:\x0a','equip','63tqsPCP','drop','execute','slice','handleInput','77481eyXOaS','look','currentLocation','-\x20clear:\x20Clear\x20the\x20screen.\x0a','search','player','instance','say','name','split','1239956GTFCsw','101628zGFcBB','unlock','(((.+)+)+)+$','registerCommand','30cCtAoC','rooms','1638235MncBin','690284ODKuGU','createCommand','toString','scene','solve','determineStartRoom','apply','initialize','trim','getRooms','Welcome,\x20','15182050rhODLF'];a48c=function(){return s;};return a48c();}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(0x19f)];['scene'];['player'];['currentRoom'];[a48k(0x1a9)];constructor(a,b){const l=a48k;this[l(0x19e)]=a,this[l(0x184)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0x188)](),this['player'][l(0x19b)]=this['determineStartRoom'](),this['registerCommands']();}[a48k(0x18f)](){const m=a48k;CommandFactory[m(0x1a7)](m(0x19a),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0x1a7)]('take',TakeCommand),CommandFactory['registerCommand']('use',UseCommand),CommandFactory[m(0x1a7)](m(0x193),EquipCommand),CommandFactory[m(0x1a7)]('unequip',UnequipCommand),CommandFactory['registerCommand'](m(0x185),SolveCommand),CommandFactory[m(0x1a7)](m(0x195),DropCommand),CommandFactory['registerCommand'](m(0x1a5),UnlockCommand),CommandFactory[m(0x1a7)]('lock',LockCommand),CommandFactory[m(0x1a7)](m(0x19d),SearchCommand),CommandFactory[m(0x1a7)](m(0x1a0),SayCommand);}['determineStartRoom'](){const n=a48k;return this[n(0x184)][n(0x186)]();}['getWelcomeMessage'](){const o=a48k;return o(0x18b)+this[o(0x19e)][o(0x1a1)];}static['getInstance'](a,b){const p=a48k;return!Game[p(0x19f)]&&(Game[p(0x19f)]=new Game(a,b)),Game[p(0x19f)];}[a48k(0x198)](a){const q=a48k,b=a[q(0x189)]()[q(0x1a2)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0x197)](0x1);if(c==='quit')return null;if(c===q(0x18d))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c==='help')return this['getHelpMessage']();if(c==='clear')return'';const e={'actor':this[q(0x19e)],'rooms':this[q(0x184)][q(0x18a)](),'scene':this[q(0x184)]},f=CommandFactory[q(0x182)](c,e);if(f){const g=f[q(0x196)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}['getHelpMessage'](){const r=a48k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x192);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x190)]()+'\x0a';}}return b+=r(0x19c),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- function a49c(){var h=['(((.+)+)+)+$','6534873hYSlay','568245DPRdOX','143EDhGAe','801870ozZcgR','toString','3038jbOyAg','search','9752pwalRG','constructor','404Cnzosd','8iaeQek','515598NPDxYv','2062840KbCiUn','3296vUeyry'];a49c=function(){return h;};return a49c();}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xd7;var f=c[d];return f;},a49d(a,b);}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0xde))/0x1*(parseInt(f(0xda))/0x2)+-parseInt(f(0xe1))/0x3*(parseInt(f(0xdb))/0x4)+parseInt(f(0xdd))/0x5+-parseInt(f(0xdc))/0x6+-parseInt(f(0xe5))/0x7*(parseInt(f(0xd8))/0x8)+-parseInt(f(0xe0))/0x9+parseInt(f(0xe3))/0xa*(parseInt(f(0xe2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x61df5));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(0xe4)]()[g(0xd7)](g(0xdf))[g(0xe4)]()[g(0xd9)](a49a)[g(0xd7)](g(0xdf));});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1ce))/0x1+-parseInt(f(0x1c5))/0x2*(-parseInt(f(0x1c6))/0x3)+parseInt(f(0x1cd))/0x4+parseInt(f(0x1d1))/0x5+parseInt(f(0x1c8))/0x6+parseInt(f(0x1ca))/0x7*(-parseInt(f(0x1cf))/0x8)+-parseInt(f(0x1d2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x39279));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1c5;var f=c[d];return f;},a49d(a,b);}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1cb)]()[h(0x1c9)](h(0x1d0))['toString']()[h(0x1cc)](a49a)['search'](h(0x1d0));});a49a();export*from'./door.js';export*from'./inventory.js';function a49c(){var i=['395398zOteWH','36664CaWkFX','(((.+)+)+)+$','575985tQybJV','2566881JsebwC','8xQfMVS','248679YPXPpj','apply','2106144TNCmFY','search','357dhdgGv','toString','constructor','1402608ZQrGMN'];a49c=function(){return i;};return a49c();}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
- var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0xd4))/0x1+parseInt(f(0xce))/0x2+parseInt(f(0xcb))/0x3+-parseInt(f(0xcc))/0x4*(parseInt(f(0xbc))/0x5)+-parseInt(f(0xbe))/0x6+-parseInt(f(0xc6))/0x7*(-parseInt(f(0xd2))/0x8)+parseInt(f(0xc3))/0x9*(parseInt(f(0xd7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xc74b9));function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0xbb;var f=c[d];return f;},a50d(a,b);}var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0xd5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0xbf)]()[h(0xcf)](h(0xc5))[h(0xbf)]()[h(0xbd)](a50a)[h(0xcf)](h(0xc5));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a50c(){var n=['.\x20Used:\x20','isLocked','\x20and\x20','1246260vzxbmZ','4xoWpzT','roomB','968220iMDHgL','search','roomA','unlockItemOrSolution','8PeJlpo','Door\x20created\x20between\x20','579002tRcoYH','apply','logger','13169950NsRCdH','name','2725515OGIJjH','constructor','8754000dWtiXS','toString','isLockable','getInstance','To\x20','9AkzYpR','getOtherSide','(((.+)+)+)+$','8280251aDaVjJ','write'];a50c=function(){return n;};return a50c();}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0xd0)];[a50i(0xcd)];['isLocked'];[a50i(0xd1)];[a50i(0xbb)];[a50i(0xd6)];[a50i(0xc0)];constructor(a){var j=a50i;super(),this[j(0xd0)]=a[j(0xd0)],this[j(0xcd)]=a['roomB'],this[j(0xc9)]=a['isLocked']||![],this[j(0xd1)]=a['unlockItemOrSolution'],this[j(0xbb)]=a['name']?capitalCase(a[j(0xbb)]):j(0xc2)+a[j(0xcd)]['name'],this[j(0xd6)]=Logger[j(0xc1)](),this[j(0xc0)]=!!a[j(0xd1)],this['logger'][j(0xc7)](j(0xd3)+this[j(0xd0)][j(0xbb)]+j(0xca)+this[j(0xcd)][j(0xbb)]+'.\x20Is\x20Locked:\x20'+this[j(0xc9)]);}[a50i(0xc4)](a){var k=a50i;return this[k(0xd0)]===a?this[k(0xcd)]:this[k(0xd0)];}['attemptUnlock'](a){var l=a50i;if(this['isLocked']&&this[l(0xd1)]&&this['unlockItemOrSolution']===a)return this['isLocked']=![],this[l(0xd6)]['write']('Door\x20unlocked:\x20'+this[l(0xbb)]+l(0xc8)+a),!![];return this[l(0xd6)][l(0xc7)]('Failed\x20to\x20unlock\x20door:\x20'+this[l(0xbb)]+l(0xc8)+a),![];}['checkIfLocked'](){return this['isLocked'];}['checkIfLockable'](){var m=a50i;return this[m(0xc0)];}}
1
+ var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0x1dc))/0x1+parseInt(f(0x1c5))/0x2*(-parseInt(f(0x1d7))/0x3)+parseInt(f(0x1d2))/0x4*(parseInt(f(0x1d9))/0x5)+-parseInt(f(0x1d3))/0x6*(parseInt(f(0x1da))/0x7)+parseInt(f(0x1ca))/0x8+parseInt(f(0x1c7))/0x9+parseInt(f(0x1d4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xd0ef8));function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x1c1;var f=c[d];return f;},a50d(a,b);}var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a['toString']()[h(0x1d5)](h(0x1c6))[h(0x1d0)]()[h(0x1cd)](a50a)['search'](h(0x1c6));});function a50c(){var n=['roomA','8426144ELVAnb','roomB','To\x20','constructor','name','isLockable','toString','unlockItemOrSolution','184ByhCAg','1689042dztjkp','381990toqdyj','search','Door\x20created\x20between\x20','3VmERar','write','62505sQzYem','21EDHrGR','checkIfLockable','934079vygZkx','\x20and\x20','logger','getInstance','Failed\x20to\x20unlock\x20door:\x20','apply','.\x20Is\x20Locked:\x20','3217010iMNhOw','(((.+)+)+)+$','6374106FHqqHO','isLocked'];a50c=function(){return n;};return a50c();}a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a50i(0x1cb)];[a50i(0x1c8)];[a50i(0x1d1)];['name'];[a50i(0x1de)];[a50i(0x1cf)];constructor(a){var j=a50i;super(),this[j(0x1c9)]=a[j(0x1c9)],this[j(0x1cb)]=a[j(0x1cb)],this[j(0x1c8)]=a[j(0x1c8)]||![],this[j(0x1d1)]=a[j(0x1d1)],this['name']=a[j(0x1ce)]?capitalCase(a[j(0x1ce)]):j(0x1cc)+a[j(0x1cb)][j(0x1ce)],this[j(0x1de)]=Logger[j(0x1c1)](),this['isLockable']=!!a[j(0x1d1)],this[j(0x1de)][j(0x1d8)](j(0x1d6)+this[j(0x1c9)][j(0x1ce)]+j(0x1dd)+this[j(0x1cb)][j(0x1ce)]+j(0x1c4)+this[j(0x1c8)]);}['getOtherSide'](a){var k=a50i;return this[k(0x1c9)]===a?this['roomB']:this[k(0x1c9)];}['attemptUnlock'](a){var l=a50i;if(this[l(0x1c8)]&&this[l(0x1d1)]&&this['unlockItemOrSolution']===a)return this[l(0x1c8)]=![],this[l(0x1de)][l(0x1d8)]('Door\x20unlocked:\x20'+this[l(0x1ce)]+'.\x20Used:\x20'+a),!![];return this['logger'][l(0x1d8)](l(0x1c2)+this['name']+'.\x20Used:\x20'+a),![];}['checkIfLocked'](){return this['isLocked'];}[a50i(0x1db)](){var m=a50i;return this[m(0x1cf)];}}
@@ -1 +1 @@
1
- const a51i=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xc7;let f=c[d];return f;},a51d(a,b);}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0xe3))/0x1*(parseInt(f(0xc8))/0x2)+-parseInt(f(0xc7))/0x3+parseInt(f(0xef))/0x4*(-parseInt(f(0xd3))/0x5)+-parseInt(f(0xe2))/0x6*(-parseInt(f(0xec))/0x7)+parseInt(f(0xf1))/0x8*(parseInt(f(0xea))/0x9)+parseInt(f(0xe5))/0xa*(parseInt(f(0xf2))/0xb)+-parseInt(f(0xdb))/0xc*(-parseInt(f(0xe9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xbfcb6));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xdf)]()['search'](h(0xda))['toString']()[h(0xcf)](a51a)['search'](h(0xda));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a51i(0xe7)];constructor(){const j=a51i;super(),this[j(0xd6)]=new Map(),this[j(0xe7)]=Logger[j(0xe1)]();}['addItem'](a){const k=a51i;this[k(0xd6)][k(0xca)](a[k(0xe6)]['toLowerCase'](),a),this[k(0xe7)]['write'](k(0xd7)+a['name']+k(0xde));}[a51i(0xe0)](a){const l=a51i,b=this[l(0xc9)](a);if(b)return this['items']['delete'](a[l(0xd4)]()),this['logger'][l(0xed)](l(0xe8)+a+l(0xd5)),b;return this[l(0xe7)][l(0xed)]('Failed\x20to\x20remove\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),null;}[a51i(0xd9)](a){const m=a51i,b=this[m(0xd6)][m(0xdd)](a[m(0xd4)]()),c=[...this[m(0xd6)][m(0xcd)]()];return this['logger'][m(0xed)](m(0xdc)+a+m(0xd2)+c['join'](',\x20')+m(0xd1)+b+'.'),b;}['getItem'](a){const n=a51i,b=this[n(0xd6)][n(0xeb)](a['toLowerCase']())||null;return b?this[n(0xe7)][n(0xed)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this['logger']['write']('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),b;}[a51i(0xcb)](){const o=a51i,a=[...this[o(0xd6)][o(0xcd)]()],b=a[o(0xd0)](c=>capitalCase(c));return this[o(0xe7)][o(0xed)](o(0xee)+b[o(0xe4)](',\x20')+'.'),a;}['getWeight'](){const p=a51i;let a=0x0;for(const b of this[p(0xd6)][p(0xf0)]()){a+=b[p(0xcc)];}return a;}[a51i(0xd8)](){const q=a51i;return[...this[q(0xd6)][q(0xf0)]()];}}function a51c(){const r=['6Sgqvqp','1jTuLiH','join','20IALHGt','name','logger','Removed\x20item:\x20','13ewZDpa','45eXXFwF','get','4248580VMfcYf','write','Listed\x20items\x20in\x20inventory:\x20','68YiXWmG','values','9320gpBiyg','6903644PYmooY','1180035mtvjEY','2698314BlslyY','getItem','set','listItems','weight','keys','apply','constructor','map','.\x20Exists:\x20','\x20in\x20','184280UceWFh','toLowerCase','\x20from\x20inventory.','items','Added\x20item:\x20','getAllItems','hasItem','(((.+)+)+)+$','15440052HdKmtm','Checked\x20for\x20item:\x20','has','\x20to\x20inventory.','toString','removeItem','getInstance'];a51c=function(){return r;};return a51c();}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x108))/0x1*(parseInt(f(0x100))/0x2)+-parseInt(f(0x10e))/0x3+-parseInt(f(0x10a))/0x4+-parseInt(f(0x10c))/0x5+parseInt(f(0x112))/0x6*(parseInt(f(0x105))/0x7)+parseInt(f(0xf6))/0x8*(-parseInt(f(0xf7))/0x9)+parseInt(f(0x110))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x76804));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xf0;let f=c[d];return f;},a51d(a,b);}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x118)]()[h(0x107)](h(0x10b))[h(0x118)]()[h(0x117)](a51a)['search'](h(0x10b));});a51a();function a51c(){const r=['set','5702874UlidmC','hasItem','.\x20Exists:\x20','weight','Checked\x20for\x20item:\x20','constructor','toString','Failed\x20to\x20remove\x20item:\x20','\x20to\x20inventory.','logger','write','getInstance','Removed\x20item:\x20','23208fqxAMT','333JLKmTi','removeItem','join','Listed\x20items\x20in\x20inventory:\x20','items','Retrieved\x20details\x20for\x20item:\x20','addItem','name','apply','386TuWmck','map','toLowerCase','get','values','7BSVEQQ','.\x20Item\x20not\x20found.','search','2709EaPnDb','keys','1776744NxMbuQ','(((.+)+)+)+$','780750SNCSTv','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','2197758MXBUYr','delete','4523230ITVOqE'];a51c=function(){return r;};return a51c();}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0xfb)];[a51i(0xf2)];constructor(){const j=a51i;super(),this[j(0xfb)]=new Map(),this[j(0xf2)]=Logger[j(0xf4)]();}[a51i(0xfd)](a){const k=a51i;this[k(0xfb)][k(0x111)](a[k(0xfe)][k(0x102)](),a),this['logger'][k(0xf3)]('Added\x20item:\x20'+a['name']+k(0xf1));}[a51i(0xf8)](a){const l=a51i,b=this['getItem'](a);if(b)return this[l(0xfb)][l(0x10f)](a[l(0x102)]()),this[l(0xf2)][l(0xf3)](l(0xf5)+a+'\x20from\x20inventory.'),b;return this[l(0xf2)]['write'](l(0xf0)+a+'.\x20Item\x20not\x20found.'),null;}[a51i(0x113)](a){const m=a51i,b=this['items']['has'](a[m(0x102)]()),c=[...this[m(0xfb)]['keys']()];return this[m(0xf2)][m(0xf3)](m(0x116)+a+'\x20in\x20'+c['join'](',\x20')+m(0x114)+b+'.'),b;}['getItem'](a){const n=a51i,b=this[n(0xfb)][n(0x103)](a[n(0x102)]())||null;return b?this[n(0xf2)][n(0xf3)](n(0xfc)+a+'.'):this[n(0xf2)][n(0xf3)](n(0x10d)+a+n(0x106)),b;}['listItems'](){const o=a51i,a=[...this[o(0xfb)][o(0x109)]()],b=a[o(0x101)](c=>capitalCase(c));return this[o(0xf2)][o(0xf3)](o(0xfa)+b[o(0xf9)](',\x20')+'.'),a;}['getWeight'](){const p=a51i;let a=0x0;for(const b of this[p(0xfb)]['values']()){a+=b[p(0x115)];}return a;}['getAllItems'](){const q=a51i;return[...this[q(0xfb)][q(0x104)]()];}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1b2))/0x1*(parseInt(f(0x1a9))/0x2)+parseInt(f(0x1a7))/0x3+-parseInt(f(0x1a8))/0x4*(parseInt(f(0x1ad))/0x5)+parseInt(f(0x1b4))/0x6+-parseInt(f(0x1a3))/0x7+parseInt(f(0x1b9))/0x8+-parseInt(f(0x1a0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xeeae4));function a52c(){var l=['3736593aHLKJF','1108BTRYuv','188HvHMmr','use','search','color','15230QXyjem','name','toString','rating','size','407ZaXiQI','uuid','3255990oZTjxY','description','weight','apply','category','7391152JXMoaC','3664764iJHohL','constructor','.\x20Nothing\x20special\x20happens.','3116806Mvkdqa','shape','(((.+)+)+)+$','texture'];a52c=function(){return l;};return a52c();}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x1ab)](h(0x1a5))[h(0x1af)]()[h(0x1a1)](a52a)[h(0x1ab)](h(0x1a5));});a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1a0;var f=c[d];return f;},a52d(a,b);}export class Item extends AbstractItem{[a52i(0x1b3)];['name'];[a52i(0x1b5)];[a52i(0x1b1)];['category'];[a52i(0x1a4)];[a52i(0x1ac)];[a52i(0x1a6)];[a52i(0x1b0)];[a52i(0x1b6)];constructor(a){var j=a52i;super(),this[j(0x1ae)]=a[j(0x1ae)],this[j(0x1b5)]=a[j(0x1b5)],this[j(0x1b1)]=a[j(0x1b1)],this[j(0x1b8)]=a[j(0x1b8)],this[j(0x1a4)]=a[j(0x1a4)],this[j(0x1ac)]=a['color'],this['texture']=a[j(0x1a6)],this[j(0x1b0)]=a['rating'],this['weight']=a[j(0x1b6)],this[j(0x1b3)]=a52e();}[a52i(0x1aa)](){var k=a52i;return'You\x20use\x20the\x20'+this[k(0x1ae)]+k(0x1a2);}}
1
+ function a52c(){var l=['7875864KjEfOU','10PfbVTd','rating','name','category','uuid','3obtuyD','toString','2176452WzLCwp','weight','description','.\x20Nothing\x20special\x20happens.','search','40210hNHfom','9mroiBC','8078060obRORL','1651396lgAIji','3219384mxWyFw','use','color','10271100KFTuYf','apply','size','(((.+)+)+)+$','shape'];a52c=function(){return l;};return a52c();}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0xd0))/0x1*(-parseInt(f(0xd7))/0x2)+-parseInt(f(0xdb))/0x3+parseInt(f(0xda))/0x4*(parseInt(f(0xcb))/0x5)+-parseInt(f(0xd2))/0x6+parseInt(f(0xde))/0x7+-parseInt(f(0xca))/0x8*(parseInt(f(0xd8))/0x9)+parseInt(f(0xd9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xb4d9e));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xd1)]()[h(0xd6)](h(0xe1))['toString']()['constructor'](a52a)['search']('(((.+)+)+)+$');});a52a();import{v4 as a52e}from'uuid';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xc9;var f=c[d];return f;},a52d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];[a52i(0xcd)];[a52i(0xd4)];[a52i(0xe0)];[a52i(0xce)];[a52i(0xc9)];['color'];['texture'];[a52i(0xcc)];['weight'];constructor(a){var j=a52i;super(),this[j(0xcd)]=a[j(0xcd)],this[j(0xd4)]=a[j(0xd4)],this[j(0xe0)]=a['size'],this['category']=a[j(0xce)],this[j(0xc9)]=a['shape'],this[j(0xdd)]=a['color'],this['texture']=a['texture'],this[j(0xcc)]=a[j(0xcc)],this['weight']=a[j(0xd3)],this[j(0xcf)]=a52e();}[a52i(0xdc)](){var k=a52i;return'You\x20use\x20the\x20'+this[k(0xcd)]+k(0xd5);}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x198))/0x1+parseInt(f(0x1a4))/0x2*(-parseInt(f(0x19d))/0x3)+parseInt(f(0x19b))/0x4+-parseInt(f(0x1ab))/0x5+parseInt(f(0x1a0))/0x6*(-parseInt(f(0x1a8))/0x7)+-parseInt(f(0x1a7))/0x8+parseInt(f(0x199))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x65450));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0x1a2)](h(0x1a6))[h(0x19f)]()[h(0x1a3)](a53a)['search'](h(0x1a6));});a53a();function a53c(){const o=['length','search','constructor','85286OSCZIR','speak','(((.+)+)+)+$','773072ahCZrH','2569gWeqpt','apply','autonomousMove','3826245UrwALy','_dialogue','execute','rooms','floor','random','280393Riwwhm','11816388iBMFMI','scene','2304168IGBBXO','_name','21LXRBBb','moveTo','toString','546BTlwkk'];a53c=function(){return o;};return a53c();}import{Player}from'./player.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x197;let f=c[d];return f;},a53d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0x19c)];[a53i(0x1ac)];[a53i(0x1ae)];[a53i(0x19a)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x19c)]=a,this[j(0x1ac)]=b,this['rooms']=c;}get['name'](){const k=a53i;return this[k(0x19c)];}[a53i(0x1a5)](){const l=a53i;return this[l(0x1ac)][Math[l(0x1af)](Math[l(0x197)]()*this[l(0x1ac)][l(0x1a1)])];}[a53i(0x1aa)](a){const m=a53i,b=a[Math[m(0x1af)](Math[m(0x197)]()*a[m(0x1a1)])];this[m(0x19e)](b['name']);}['moveTo'](a){const n=a53i,b={'actor':this,'rooms':this['rooms'],'scene':this['scene']},c=new GoCommand(b);c[n(0x1ad)]([a]);}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x12f))/0x1*(parseInt(f(0x135))/0x2)+parseInt(f(0x137))/0x3+parseInt(f(0x129))/0x4*(-parseInt(f(0x133))/0x5)+parseInt(f(0x13d))/0x6+parseInt(f(0x124))/0x7+-parseInt(f(0x136))/0x8+parseInt(f(0x13a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xdfa79));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x124;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(0x127)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x130)]()[h(0x12e)](h(0x139))[h(0x130)]()[h(0x138)](a53a)[h(0x12e)](h(0x139));});a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0x128)];[a53i(0x125)];[a53i(0x126)];[a53i(0x12d)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x128)]=a,this[j(0x125)]=b,this[j(0x126)]=c;}get[a53i(0x12c)](){const k=a53i;return this[k(0x128)];}[a53i(0x132)](){const l=a53i;return this[l(0x125)][Math[l(0x12a)](Math[l(0x134)]()*this[l(0x125)][l(0x131)])];}[a53i(0x13c)](a){const m=a53i,b=a[Math['floor'](Math[m(0x134)]()*a[m(0x131)])];this[m(0x12b)](b[m(0x12c)]);}[a53i(0x12b)](a){const n=a53i,b={'actor':this,'rooms':this[n(0x126)],'scene':this[n(0x12d)]},c=new GoCommand(b);c[n(0x13b)]([a]);}}function a53c(){const o=['constructor','(((.+)+)+)+$','7944039xieXys','execute','autonomousMove','7892352pNAHlU','7310205CtfcSa','_dialogue','rooms','apply','_name','199816OfyoSK','floor','moveTo','name','scene','search','1hIDBXQ','toString','length','speak','70WoHKsI','random','2079698tmrXup','8560848hNoswW','1449066JYkdYX'];a53c=function(){return o;};return a53c();}
@@ -1 +1 @@
1
- const a54h=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x1bb))/0x1+parseInt(f(0x1af))/0x2*(-parseInt(f(0x1de))/0x3)+-parseInt(f(0x1ea))/0x4+-parseInt(f(0x1fe))/0x5*(parseInt(f(0x1df))/0x6)+-parseInt(f(0x1b7))/0x7*(-parseInt(f(0x1e4))/0x8)+parseInt(f(0x1c2))/0x9+-parseInt(f(0x1f9))/0xa*(-parseInt(f(0x206))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x5fce9));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(0x205)]()['search'](g(0x202))[g(0x205)]()[g(0x1fc)](a54a)['search'](g(0x202));});a54a();function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a54d(a,b);}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a54c(){const B=['Invalid\x20category\x20or\x20slot:\x20','currentLocation','boots','hat','gloves','values','240534VOFdCb','off','leaveRoom','log','Helmet','_playerName','getInstance','rightHand','shield','\x20from\x20player\x27s\x20inventory.','hear','_equipment','Gloves','\x20is\x20now\x20listening\x20in\x20room\x20','removeInventory','You\x20unequipped\x20','leg\x20armor','removeItem','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','equip','You\x20don\x27t\x20have\x20','category','Removed\x20','\x20is\x20no\x20longer\x20listeng\x20in\x20','currentWeight','\x20says:\x20\x22','startLocation','inventoryItems','15051Kppcnw','18PfpZIt','\x20slot.','canEquip','BodyArmor','maxCarryingWeight','641336JuHTND','playerName','_maxCarryingWeight','bind','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','enterRoom','441604pmXiXT','leftHand','inventory','A\x20featureless\x20room','Failed\x20to\x20remove\x20','Hat','.\x20You\x20must\x20unequip\x20it\x20first.','speak','LegArmor','weight','determineEquipmentSlot','write','addItem','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','feet','20CeGCLz','name','includes','constructor','initialEquipment','1178545kwDgiw','torso','armarmor','bodyarmor','(((.+)+)+)+$','legs','unequipBySlot','toString','7812596fjFnkc','error','getWeight','_currentLocation','weapon','body\x20armor','toLowerCase','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','206FFzEdA','ArmArmor','head','logger','Added\x20','arms','You\x20equipped\x20','Max\x20carrying\x20weight\x20must\x20be\x20positive.','7nJhlsp','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','_inventory','equipment','199339AlRKWu'];a54c=function(){return B;};return a54c();}import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a54h(0x209)];[a54h(0x1b9)];[a54h(0x1cd)];[a54h(0x1e6)]=0x32;[a54h(0x1b2)];constructor(a){const i=a54h;super(),this[i(0x1c7)]=a[i(0x1e5)],this[i(0x209)]=a[i(0x1dc)]||new Room({'name':'Nexus','description':i(0x1ed)}),this['_inventory']=new Inventory(),this[i(0x1b2)]=Logger[i(0x1c8)]();if(a?.[i(0x1dd)])for(const b of a[i(0x1dd)]){this['_inventory'][i(0x1f6)](b);}this[i(0x1cd)]=a?.[i(0x1fd)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54h(0x1fa)](){const j=a54h;return this[j(0x1c7)];}get[a54h(0x1bd)](){const k=a54h;return this[k(0x209)];}set[a54h(0x1bd)](a){const l=a54h;this['_currentLocation']!==a&&(this[l(0x1c4)](),this[l(0x1e9)](a)),this[l(0x209)]=a;}get[a54h(0x1ec)](){const m=a54h;return this[m(0x1b9)];}get[a54h(0x1ba)](){const n=a54h;return this[n(0x1cd)];}set[a54h(0x1ba)](a){const o=a54h;this[o(0x1cd)]=a;}get[a54h(0x1e3)](){return this['_maxCarryingWeight'];}set[a54h(0x1e3)](a){const p=a54h;a>0x0?this[p(0x1e6)]=a:console[p(0x207)](p(0x1b6));}get[a54h(0x1da)](){const q=a54h;let a=this[q(0x1b9)][q(0x208)]();for(const b in this[q(0x1cd)]){const c=this[q(0x1cd)][b];c&&(a+=c[q(0x1f3)]);}return a;}['addInventory'](a){const r=a54h;if(this[r(0x1da)]+a[r(0x1f3)]>this['maxCarryingWeight']){this[r(0x1b2)][r(0x1f5)](r(0x1b8));throw new Error(r(0x1f7));}this[r(0x1b9)][r(0x1f6)](a),this[r(0x1b2)]['write'](r(0x1b3)+a[r(0x1fa)]+'\x20to\x20player\x27s\x20inventory.');}[a54h(0x1d0)](a){const s=a54h;if(this[s(0x1b9)][s(0x1d3)](a[s(0x1fa)]))return this['logger'][s(0x1f5)](s(0x1d8)+a[s(0x1fa)]+s(0x1cb)),!![];return this[s(0x1b2)]['write'](s(0x1ee)+a[s(0x1fa)]+s(0x1cb)),![];}[a54h(0x1d5)](a){const t=a54h;if(!this[t(0x1b9)]['hasItem'](a['name']))return t(0x1d6)+a[t(0x1fa)]+'\x20in\x20your\x20inventory.';if(!this[t(0x1e1)](a))return'You\x20can\x27t\x20equip\x20'+a[t(0x1fa)]+'.';const b=this[t(0x1f4)](a[t(0x1d7)]);if(!b)return a[t(0x1fa)]+t(0x1e8);if(this['equipment'][b])return t(0x1ae)+b+t(0x1f0);return this[t(0x1ba)][b]=a,this[t(0x1d0)](a),t(0x1b5)+a['name']+'.';}['unequip'](a){const u=a54h;let b=a;if(!this[u(0x1ba)][camelCase(b)]){b=this[u(0x1f4)](a);if(!b)return u(0x1bc)+a+'.';}return this[u(0x204)](b);}[a54h(0x1f4)](a){const v=a54h;switch(a[v(0x1ad)]()){case Category['Weapon'][v(0x1ad)]():return v(0x1c9);case Category['Shield'][v(0x1ad)]():return v(0x1eb);case Category[v(0x1ce)][v(0x1ad)]():return v(0x1c0);case Category[v(0x1c6)][v(0x1ad)]():case Category[v(0x1ef)][v(0x1ad)]():return v(0x1b1);case Category['Boots'][v(0x1ad)]():return v(0x1f8);case Category[v(0x1f2)][v(0x1ad)]():return v(0x203);case Category[v(0x1b0)][v(0x1ad)]():return'arms';case Category[v(0x1e2)]['toLowerCase']():return v(0x1ff);case v(0x1ab):return v(0x1c9);case v(0x1ca):return v(0x1eb);case'gloves':return v(0x1c0);case'helmet':case v(0x1bf):return v(0x1b1);case v(0x1be):return v(0x1f8);case v(0x1d2):case'legarmor':return v(0x203);case'arm\x20armor':case v(0x200):return v(0x1b4);case v(0x1ac):case v(0x201):case v(0x1ff):return'torso';default:return null;}}[a54h(0x1e1)](a){const w=a54h;return Object[w(0x1c1)](Category)[w(0x1fb)](a[w(0x1d7)]);}[a54h(0x204)](a){const x=a54h,b=this['equipment'][a];if(!b)return x(0x1d4)+a+x(0x1e0);return this['addInventory'](b),this['equipment'][a]=null,x(0x1d1)+b[x(0x1fa)]+'.';}[a54h(0x1cc)](a,b){const y=a54h;a!==this&&this[y(0x1b2)][y(0x1c5)](a[y(0x1fa)]+y(0x1db)+b+'\x22');}[a54h(0x1e9)](a){const z=a54h;this[z(0x209)]=a,a['on'](z(0x1f1),this[z(0x1cc)]['bind'](this)),this['logger'][z(0x1f5)](this['name']+z(0x1cf)+a[z(0x1fa)]);}['leaveRoom'](){const A=a54h;this[A(0x209)]&&(this[A(0x209)][A(0x1c3)](A(0x1f1),this['hear'][A(0x1e7)](this)),this[A(0x1b2)][A(0x1f5)](this[A(0x1fa)]+A(0x1d9)+this[A(0x209)]['name']));}}
1
+ const a54i=a54d;function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xe2;let f=c[d];return f;},a54d(a,b);}(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0xf2))/0x1+parseInt(f(0x13e))/0x2+-parseInt(f(0xfe))/0x3*(parseInt(f(0xe7))/0x4)+parseInt(f(0x107))/0x5*(-parseInt(f(0xe5))/0x6)+parseInt(f(0xff))/0x7+-parseInt(f(0xf5))/0x8*(-parseInt(f(0x13a))/0x9)+parseInt(f(0xf9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x55890));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x12d)]()[h(0xed)](h(0xf6))[h(0x12d)]()[h(0x13c)](a54a)[h(0xed)]('(((.+)+)+)+$');});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a54c(){const C=['torso','Removed\x20','toLowerCase','leg\x20armor','search','startLocation','currentWeight','Gloves','speak','98905GVUeKc','leftHand','inventoryItems','509232dlmPLI','(((.+)+)+)+$','maxCarryingWeight','\x20is\x20no\x20longer\x20listeng\x20in\x20','1278030AnCLcV','write','arm\x20armor','_playerName','equipment','127431wQIGUu','1213387NtAHug','determineEquipmentSlot','legs','weapon','error','gloves','rightHand','shield','15hqKvtF','Helmet','playerName','Shield','You\x20equipped\x20','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','You\x20unequipped\x20','bind','_currentLocation','addInventory','\x20from\x20player\x27s\x20inventory.','A\x20featureless\x20room','apply','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','\x20in\x20your\x20inventory.','name','hasItem','values','Nexus','arms','logger','BodyArmor','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','head','category','leaveRoom','canEquip','off','feet','You\x20don\x27t\x20have\x20','\x20slot.','ArmArmor','.\x20You\x20must\x20unequip\x20it\x20first.','Boots','_maxCarryingWeight','helmet','You\x20can\x27t\x20equip\x20','includes','toString','bodyarmor','weight','body\x20armor','addItem','getWeight','inventory','hear','removeInventory','Added\x20','_inventory','Invalid\x20category\x20or\x20slot:\x20','Max\x20carrying\x20weight\x20must\x20be\x20positive.','45PWWiGc','Failed\x20to\x20remove\x20','constructor','LegArmor','421374GWlAdd','removeItem','\x20says:\x20\x22','currentLocation','enterRoom','unequipBySlot','unequip','251964Bbmmhu','_equipment','24iSPXNe','legarmor'];a54c=function(){return C;};return a54c();}import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0xfc)];[a54i(0x10f)];[a54i(0x137)];[a54i(0xe6)];[a54i(0x129)]=0x32;[a54i(0x11b)];constructor(a){const j=a54i;super(),this[j(0xfc)]=a[j(0x109)],this[j(0x10f)]=a[j(0xee)]||new Room({'name':j(0x119),'description':j(0x112)}),this[j(0x137)]=new Inventory(),this[j(0x11b)]=Logger['getInstance']();if(a?.[j(0xf4)])for(const b of a[j(0xf4)]){this['_inventory']['addItem'](b);}this['_equipment']=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x116)](){const k=a54i;return this[k(0xfc)];}get[a54i(0x141)](){const l=a54i;return this[l(0x10f)];}set['currentLocation'](a){const m=a54i;this[m(0x10f)]!==a&&(this[m(0x120)](),this[m(0xe2)](a)),this['_currentLocation']=a;}get[a54i(0x133)](){return this['_inventory'];}get['equipment'](){const n=a54i;return this[n(0xe6)];}set['equipment'](a){const o=a54i;this[o(0xe6)]=a;}get[a54i(0xf7)](){const p=a54i;return this[p(0x129)];}set[a54i(0xf7)](a){const q=a54i;a>0x0?this[q(0x129)]=a:console[q(0x103)](q(0x139));}get[a54i(0xef)](){const r=a54i;let a=this[r(0x137)][r(0x132)]();for(const b in this[r(0xe6)]){const c=this[r(0xe6)][b];c&&(a+=c[r(0x12f)]);}return a;}[a54i(0x110)](a){const s=a54i;if(this['currentWeight']+a[s(0x12f)]>this[s(0xf7)]){this['logger'][s(0xfa)](s(0x114));throw new Error(s(0x11d));}this[s(0x137)][s(0x131)](a),this[s(0x11b)][s(0xfa)](s(0x136)+a['name']+'\x20to\x20player\x27s\x20inventory.');}[a54i(0x135)](a){const t=a54i;if(this['_inventory'][t(0x13f)](a[t(0x116)]))return this[t(0x11b)]['write'](t(0xea)+a[t(0x116)]+t(0x111)),!![];return this['logger'][t(0xfa)](t(0x13b)+a['name']+t(0x111)),![];}['equip'](a){const u=a54i;if(!this[u(0x137)][u(0x117)](a[u(0x116)]))return u(0x124)+a[u(0x116)]+u(0x115);if(!this[u(0x121)](a))return u(0x12b)+a[u(0x116)]+'.';const b=this[u(0x100)](a[u(0x11f)]);if(!b)return a[u(0x116)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[u(0xfd)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+u(0x127);return this[u(0xfd)][b]=a,this[u(0x135)](a),u(0x10b)+a[u(0x116)]+'.';}[a54i(0xe4)](a){const v=a54i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[v(0x100)](a);if(!b)return v(0x138)+a+'.';}return this['unequipBySlot'](b);}['determineEquipmentSlot'](a){const w=a54i;switch(a[w(0xeb)]()){case Category['Weapon']['toLowerCase']():return w(0x105);case Category[w(0x10a)][w(0xeb)]():return w(0xf3);case Category[w(0xf0)]['toLowerCase']():return w(0x104);case Category[w(0x108)][w(0xeb)]():case Category['Hat']['toLowerCase']():return w(0x11e);case Category[w(0x128)][w(0xeb)]():return w(0x123);case Category[w(0x13d)][w(0xeb)]():return w(0x101);case Category[w(0x126)]['toLowerCase']():return w(0x11a);case Category[w(0x11c)][w(0xeb)]():return'torso';case w(0x102):return'rightHand';case w(0x106):return'leftHand';case'gloves':return w(0x104);case w(0x12a):case'hat':return'head';case'boots':return w(0x123);case w(0xec):case w(0xe8):return w(0x101);case w(0xfb):case'armarmor':return w(0x11a);case w(0x130):case w(0x12e):case w(0xe9):return w(0xe9);default:return null;}}[a54i(0x121)](a){const x=a54i;return Object[x(0x118)](Category)[x(0x12c)](a[x(0x11f)]);}[a54i(0xe3)](a){const y=a54i,b=this['equipment'][a];if(!b)return y(0x10c)+a+y(0x125);return this[y(0x110)](b),this['equipment'][a]=null,y(0x10d)+b[y(0x116)]+'.';}[a54i(0x134)](a,b){const z=a54i;a!==this&&this['logger']['log'](a[z(0x116)]+z(0x140)+b+'\x22');}[a54i(0xe2)](a){const A=a54i;this[A(0x10f)]=a,a['on'](A(0xf1),this[A(0x134)][A(0x10e)](this)),this[A(0x11b)][A(0xfa)](this[A(0x116)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[A(0x116)]);}[a54i(0x120)](){const B=a54i;this['_currentLocation']&&(this['_currentLocation'][B(0x122)](B(0xf1),this[B(0x134)][B(0x10e)](this)),this['logger'][B(0xfa)](this[B(0x116)]+B(0xf8)+this[B(0x10f)][B(0x116)]));}}
@@ -1 +1 @@
1
- function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x174;var f=c[d];return f;},a55d(a,b);}var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x194))/0x1*(-parseInt(f(0x197))/0x2)+-parseInt(f(0x175))/0x3+-parseInt(f(0x189))/0x4*(-parseInt(f(0x178))/0x5)+parseInt(f(0x181))/0x6+-parseInt(f(0x174))/0x7+parseInt(f(0x18e))/0x8*(-parseInt(f(0x185))/0x9)+-parseInt(f(0x179))/0xa*(-parseInt(f(0x182))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xf32ed));function a55c(){var m=['45oaFWue','35453540RIfBCn','requiredItem','logger','hasRequiredItem','getInstance','toString','riddle','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','4068042uVPUTb','11dWYBdM','constructor','solved','12371553CJBWQn','hasItem','successMessage','failureMessage','808132xAAoyB','Puzzle:\x20Correct\x20solution\x20provided.','solve','search','write','8wikSqh','You\x20have\x20already\x20solved\x20this\x20puzzle.','(((.+)+)+)+$','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','matchesRequiredPhrase','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','1972114GqJPlG','apply','rewardItem','2XNZiKU','1748096TxQNDU','4347366QfdcFJ','requiredPhrase','You\x20solved\x20the\x20puzzle!'];a55c=function(){return m;};return a55c();}var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x17e)]()[h(0x18c)](h(0x190))[h(0x17e)]()[h(0x183)](a55a)[h(0x18c)](h(0x190));});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a55i(0x17d)]();[a55i(0x184)]=![];[a55i(0x17a)];['requiredPhrase'];[a55i(0x17f)];[a55i(0x196)];['successMessage'];[a55i(0x188)];constructor(a){var j=a55i;super(),this[j(0x17a)]=a[j(0x17a)],this['requiredPhrase']=a[j(0x176)],this[j(0x17f)]=a['riddle'],this[j(0x196)]=a['rewardItem'],this[j(0x187)]=a[j(0x187)]||j(0x177),this['failureMessage']=a[j(0x188)]||j(0x180);}[a55i(0x17c)](a){var k=a55i;if(this['requiredItem'])return a[k(0x186)](this[k(0x17a)]);return![];}['matchesRequiredPhrase'](a){return this['requiredPhrase']===a;}[a55i(0x18b)](a,b){var l=a55i;if(this[l(0x184)])return this[l(0x17b)]['write'](l(0x193)),{'success':![],'message':l(0x18f)};return this[l(0x17c)](b)||this[l(0x192)](a)?(this[l(0x184)]=!![],this['logger'][l(0x18d)](l(0x18a)),{'success':!![],'message':this[l(0x187)]}):(this[l(0x17b)][l(0x18d)](l(0x191)),{'success':![],'message':this[l(0x188)]});}}
1
+ function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x98;var f=c[d];return f;},a55d(a,b);}var a55h=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xab))/0x1+parseInt(f(0xae))/0x2+-parseInt(f(0xb7))/0x3*(-parseInt(f(0xa2))/0x4)+parseInt(f(0x9a))/0x5*(parseInt(f(0x9c))/0x6)+-parseInt(f(0xaa))/0x7+-parseInt(f(0xb2))/0x8*(-parseInt(f(0xa8))/0x9)+parseInt(f(0xa7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x856c6));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var g=a55d;return a55a[g(0xac)]()[g(0x9f)](g(0xaf))['toString']()[g(0xa5)](a55a)[g(0x9f)](g(0xaf));});a55a();function a55c(){var l=['You\x20have\x20already\x20solved\x20this\x20puzzle.','5956489wFLaYz','1022538IVLcKG','toString','requiredPhrase','1678556svCHjN','(((.+)+)+)+$','getInstance','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','144BZoCHJ','write','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','solved','57CJisIg','Puzzle:\x20Correct\x20solution\x20provided.','failureMessage','2225525tatGKK','requiredItem','12hvOQxq','hasRequiredItem','logger','search','successMessage','solve','1516Uploii','matchesRequiredPhrase','riddle','constructor','hasItem','4694920UMIXQv','106893HzuQlW'];a55c=function(){return l;};return a55c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55h(0x9e)]=Logger[a55h(0xb0)]();['solved']=![];[a55h(0x9b)];[a55h(0xad)];['riddle'];['rewardItem'];[a55h(0xa0)];[a55h(0x99)];constructor(a){var i=a55h;super(),this[i(0x9b)]=a[i(0x9b)],this[i(0xad)]=a[i(0xad)],this[i(0xa4)]=a['riddle'],this['rewardItem']=a['rewardItem'],this['successMessage']=a[i(0xa0)]||'You\x20solved\x20the\x20puzzle!',this[i(0x99)]=a[i(0x99)]||i(0xb5);}[a55h(0x9d)](a){var j=a55h;if(this[j(0x9b)])return a[j(0xa6)](this[j(0x9b)]);return![];}[a55h(0xa3)](a){return this['requiredPhrase']===a;}[a55h(0xa1)](a,b){var k=a55h;if(this[k(0xb6)])return this[k(0x9e)][k(0xb3)](k(0xb4)),{'success':![],'message':k(0xa9)};return this[k(0x9d)](b)||this[k(0xa3)](a)?(this[k(0xb6)]=!![],this['logger'][k(0xb3)](k(0x98)),{'success':!![],'message':this[k(0xa0)]}):(this[k(0x9e)][k(0xb3)](k(0xb1)),{'success':![],'message':this[k(0x99)]});}}
@@ -1 +1 @@
1
- function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x64;let f=c[d];return f;},a56d(a,b);}const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0x71))/0x1*(parseInt(f(0x93))/0x2)+-parseInt(f(0x99))/0x3*(-parseInt(f(0x91))/0x4)+parseInt(f(0x86))/0x5*(-parseInt(f(0x83))/0x6)+parseInt(f(0x7e))/0x7*(-parseInt(f(0x68))/0x8)+parseInt(f(0x69))/0x9*(-parseInt(f(0x6a))/0xa)+parseInt(f(0x9c))/0xb+parseInt(f(0x75))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xdb5fc));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x9b)]()[h(0x65)]('(((.+)+)+)+$')[h(0x9b)]()['constructor'](a56a)[h(0x65)]('(((.+)+)+)+$');});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x94)]=Logger[a56i(0x7b)]();[a56i(0x87)];[a56i(0x77)];[a56i(0x97)]=new Map();[a56i(0x72)];[a56i(0x6d)];[a56i(0x6e)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x87)]=a[j(0x87)],this[j(0x77)]=a[j(0x77)],this[j(0x72)]=a[j(0x72)]||RoomType[j(0x8e)],a[j(0x97)]&&(this[j(0x97)]=a[j(0x97)]||new Map()),a['inventory']&&(this['inventory']=a['inventory']),a['puzzle']&&(this['puzzle']=a[j(0x8f)]),this[j(0x6d)]=a[j(0x6d)]||![],this[j(0x94)]['write']('Room\x20created:\x20'+this['name']);}[a56i(0x7f)](a,b){const k=a56i;this[k(0x9e)](k(0x96),a,b);}[a56i(0x70)](a,b,c){const l=a56i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x97)][l(0x8b)](a,d),b[l(0x97)]['set'](this[l(0x67)](a),d);}['attemptUnlockExit'](a,b){const m=a56i,c=this[m(0x97)][m(0x81)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0x94)][m(0x8d)](m(0x74)+a+m(0x6c)+d),d?'The\x20'+c[m(0x87)]+m(0x85):'The\x20'+c['name']+m(0x98);}return this['logger'][m(0x8d)](m(0x6b)+a),m(0x84);}[a56i(0x8a)](a){const n=a56i;return this[n(0x94)][n(0x8d)](n(0x9d)+a),this[n(0x97)][n(0x81)](a);}[a56i(0x80)](a){const o=a56i,b=this['exits'][o(0x81)](a),c=b instanceof Door&&b[o(0x92)]();return this[o(0x94)][o(0x8d)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0x90)+c),c;}['addItem'](a){const p=a56i;this[p(0x6e)][p(0x7d)](a),this[p(0x94)][p(0x8d)](p(0x9f)+this[p(0x87)]+':\x20'+a[p(0x87)]);}['removeItem'](a){const q=a56i;this['inventory'][q(0x95)](a[q(0x87)])?(this['inventory']['removeItem'](a['name']),this[q(0x94)][q(0x8d)](q(0x8c)+this['name']+':\x20'+a[q(0x87)])):this['logger'][q(0x8d)](q(0x6f)+this[q(0x87)]+':\x20'+a[q(0x87)]);}[a56i(0x82)](a){const r=a56i;this[r(0x8f)]=a,this['logger'][r(0x8d)]('Puzzle\x20set\x20for\x20room\x20'+this[r(0x87)]+':\x20'+a[r(0x88)]);}[a56i(0x67)](a){const s=a56i;switch(a){case'north':return Direction['SOUTH'];case s(0x79):return Direction[s(0x89)];case s(0xa0):return Direction[s(0x76)];case s(0x7a):return Direction[s(0x66)];case'up':return Direction['DOWN'];case s(0x64):return Direction['UP'];default:throw new Error(s(0x78)+a);}}['findExistingDoor'](a){const t=a56i;for(const b of this['exits']['values']()){if(b instanceof Door){if(b[t(0x73)]===this&&b[t(0x7c)]===a||b['roomB']===this&&b[t(0x73)]===a)return b;}}return undefined;}}function a56c(){const u=['4075360dzjssF','No\x20locked\x20exit\x20found\x20in\x20direction\x20','.\x20Success:\x20','isStartRoom','inventory','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','addExit','26594NAirYI','roomType','roomA','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','14119308gybZYV','WEST','description','Invalid\x20direction:\x20','south','west','getInstance','roomB','addItem','195209RLdaTd','say','isExitLocked','get','setPuzzle','906GxPYxB','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','\x20unlocked!','26615iSZQxe','name','riddle','NORTH','getExit','set','Item\x20removed\x20from\x20room\x20','write','INSIDE','puzzle','\x20is\x20locked.\x20Result:\x20','8lmnsnt','checkIfLocked','58oMjDSA','logger','hasItem','speak','exits','\x20remains\x20locked.','2221014HZROkJ','apply','toString','2980043yrYZdp','Fetching\x20exit\x20in\x20direction:\x20','emit','Item\x20added\x20to\x20room\x20','east','down','search','EAST','getOppositeDirection','456LOOxaN','9VZLEgV'];a56c=function(){return u;};return a56c();}
1
+ const a56i=a56d;function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x114;let f=c[d];return f;},a56d(a,b);}(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0x146))/0x1*(-parseInt(f(0x143))/0x2)+parseInt(f(0x14f))/0x3+parseInt(f(0x12e))/0x4*(parseInt(f(0x11d))/0x5)+parseInt(f(0x129))/0x6+parseInt(f(0x13a))/0x7*(parseInt(f(0x140))/0x8)+parseInt(f(0x14b))/0x9+parseInt(f(0x132))/0xa*(-parseInt(f(0x119))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xbb8c6));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x144)]()[h(0x150)](h(0x153))[h(0x144)]()[h(0x12f)](a56a)[h(0x150)]('(((.+)+)+)+$');});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a56c(){const u=['getOppositeDirection','\x20remains\x20locked.','11NTqouZ','set','get','attemptUnlock','115AZaLoE','description','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','apply','.\x20Success:\x20','name','roomB','attemptUnlockExit','addItem','EAST','addExit','findExistingDoor','1429998yuvxhK','north','getInstance','Item\x20added\x20to\x20room\x20','speak','161816IYjvuc','constructor','logger','Fetching\x20exit\x20in\x20direction:\x20','18201160cFymjr','isExitLocked','values','The\x20','INSIDE','\x20is\x20locked.\x20Result:\x20','roomA','getExit','266Zuncyy','south','exits','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','Room\x20created:\x20','puzzle','149024EslRQP','Item\x20removed\x20from\x20room\x20','write','141648KQAGjB','toString','roomType','12SVWzEW','inventory','east','removeItem','SOUTH','7254495dpNMGp','checkIfLocked','isStartRoom','\x20unlocked!','2266524jmSWMP','search','hasItem','WEST','(((.+)+)+)+$','riddle','NORTH','No\x20locked\x20exit\x20found\x20in\x20direction\x20'];a56c=function(){return u;};return a56c();}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x130)]=Logger[a56i(0x12b)]();[a56i(0x122)];['description'];[a56i(0x13c)]=new Map();[a56i(0x145)];['isStartRoom'];[a56i(0x147)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x122)]=a['name'],this['description']=a[j(0x11e)],this[j(0x145)]=a[j(0x145)]||RoomType[j(0x136)],a[j(0x13c)]&&(this[j(0x13c)]=a['exits']||new Map()),a[j(0x147)]&&(this[j(0x147)]=a[j(0x147)]),a[j(0x13f)]&&(this[j(0x13f)]=a[j(0x13f)]),this[j(0x14d)]=a[j(0x14d)]||![],this['logger'][j(0x142)](j(0x13e)+this[j(0x122)]);}['say'](a,b){const k=a56i;this['emit'](k(0x12d),a,b);}[a56i(0x127)](a,b,c){const l=a56i;let d=this[l(0x128)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x11a)](a,d),b[l(0x13c)][l(0x11a)](this[l(0x117)](a),d);}[a56i(0x124)](a,b){const m=a56i,c=this['exits'][m(0x11b)](a);if(c instanceof Door){const d=c[m(0x11c)](b);return this[m(0x130)][m(0x142)](m(0x13d)+a+m(0x121)+d),d?m(0x135)+c[m(0x122)]+m(0x14e):'The\x20'+c[m(0x122)]+m(0x118);}return this[m(0x130)]['write'](m(0x116)+a),m(0x11f);}[a56i(0x139)](a){const n=a56i;return this[n(0x130)][n(0x142)](n(0x131)+a),this[n(0x13c)][n(0x11b)](a);}[a56i(0x133)](a){const o=a56i,b=this[o(0x13c)][o(0x11b)](a),c=b instanceof Door&&b[o(0x14c)]();return this['logger'][o(0x142)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0x137)+c),c;}[a56i(0x125)](a){const p=a56i;this[p(0x147)][p(0x125)](a),this[p(0x130)]['write'](p(0x12c)+this[p(0x122)]+':\x20'+a['name']);}['removeItem'](a){const q=a56i;this[q(0x147)][q(0x151)](a[q(0x122)])?(this[q(0x147)][q(0x149)](a[q(0x122)]),this[q(0x130)][q(0x142)](q(0x141)+this['name']+':\x20'+a[q(0x122)])):this[q(0x130)][q(0x142)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0x122)]+':\x20'+a[q(0x122)]);}['setPuzzle'](a){const r=a56i;this['puzzle']=a,this[r(0x130)][r(0x142)]('Puzzle\x20set\x20for\x20room\x20'+this['name']+':\x20'+a[r(0x114)]);}['getOppositeDirection'](a){const s=a56i;switch(a){case s(0x12a):return Direction[s(0x14a)];case s(0x13b):return Direction[s(0x115)];case s(0x148):return Direction[s(0x152)];case'west':return Direction[s(0x126)];case'up':return Direction['DOWN'];case'down':return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a56i(0x128)](a){const t=a56i;for(const b of this['exits'][t(0x134)]()){if(b instanceof Door){if(b[t(0x138)]===this&&b[t(0x123)]===a||b[t(0x123)]===this&&b[t(0x138)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a57k=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=-parseInt(i(0x1eb))/0x1*(parseInt(i(0x1e9))/0x2)+parseInt(i(0x1e6))/0x3+-parseInt(i(0x205))/0x4*(-parseInt(i(0x1f7))/0x5)+-parseInt(i(0x1d8))/0x6+-parseInt(i(0x209))/0x7*(parseInt(i(0x1fb))/0x8)+-parseInt(i(0x1e1))/0x9*(parseInt(i(0x1fc))/0xa)+parseInt(i(0x207))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xabf33));function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x1c9;let f=c[d];return f;},a57d(a,b);}const a57b=(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;};}()),a57a=a57b(this,function(){const j=a57d;return a57a[j(0x210)]()[j(0x1f1)](j(0x1ed))[j(0x210)]()[j(0x1ee)](a57a)[j(0x1f1)](j(0x1ed));});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a57c(){const C=['addExit','set','\x20found\x20in\x20the\x20scene.','2046300SsmZyX','No\x20actor\x20with\x20name\x20','roomFactory','get','join','removeActor','\x20is\x20now\x20in\x20room\x20','values','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','4185xOBtkR','hasOwnProperty','Added\x20room\x20to\x20scene:\x20','allActors','\x20already\x20exists\x20in\x20the\x20scene.','202869dVCqzW','addItemToRoom','length','52tzVXPN','characterLocations','23397sSlSjk','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','(((.+)+)+)+$','constructor','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','getRooms','search','addRoom','direction','\x22\x20does\x20not\x20exist.','player','has','4070730wdVhLI','\x20not\x20found\x20in\x20scene.','generateRoomsFromConfig','determineStartRoom','1872bSjNju','8860YiRBvI','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','connectRooms','Failed\x20to\x20add\x20puzzle.\x20Room\x20','createExitsFromConfig','Failed\x20to\x20add\x20item\x20','Removed\x20room\x20from\x20scene:\x20','name','Scene\x20initialized\x20with\x20rooms:\x20','4nsgXVH','exits','22013882CGAIIQ','Room\x20\x22','24451IUoJgB','write','keys','.\x20Room\x20','keyRequired','initialize','\x20to\x20room\x20','toString','setPuzzle','delete','currentLocation','actors','addPuzzleToRoom','addItem','removeRoom','rooms','getPlayer','push','roomConfiguration','getActor','Failed\x20to\x20set\x20','setCharacterLocation','\x27s\x20location.\x20Room\x20','getInstance','Added\x20item\x20','getCharacterLocation','logger'];a57c=function(){return C;};return a57c();}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57k(0x1c9)];[a57k(0x1f5)];[a57k(0x1d4)];[a57k(0x214)];['characterLocations']=new Map();['roomFactory'];constructor(a){const l=a57k;super(),this[l(0x1da)]=new RoomFactory(),this[l(0x1f5)]=a[l(0x1f5)],this[l(0x1c9)]=this[l(0x1f9)](a[l(0x1cc)]),this[l(0x1d4)]=Logger[l(0x1d1)](),this[l(0x214)]=new Map(),this[l(0x200)](a[l(0x1cc)]),this[l(0x1d4)][l(0x20a)](l(0x204)+Object[l(0x20b)](this[l(0x1c9)])[l(0x1dc)](',\x20'));}[a57k(0x20e)](){const m=a57k;this['player'][m(0x213)]=this['determineStartRoom']();}['generateRoomsFromConfig'](a){const n=a57k;if(!this[n(0x1da)])throw new Error(n(0x1fd));const b={};for(const c of a){const d=this[n(0x1da)]['createRoom'](c);b[c[n(0x203)]]=d;}return b;}[a57k(0x200)](a){const o=a57k;for(const b of a){const c=this[o(0x1c9)][b[o(0x203)]];if(b[o(0x206)])for(const d of b[o(0x206)]){const e=d[o(0x1f3)]['toUpperCase'](),f=d['targetRoom'],g=d[o(0x20d)],h=this[o(0x1c9)][f];h&&c['addExit'](Direction[e],h,g);}}}['addActor'](a){const p=a57k;if(this[p(0x214)]['has'](a[p(0x203)]))throw new Error('Actor\x20with\x20name\x20'+a[p(0x203)]+p(0x1e5));this[p(0x214)][p(0x1d6)](a[p(0x203)],a);}[a57k(0x1dd)](a){const q=a57k;if(!this[q(0x214)][q(0x1f6)](a))throw new Error(q(0x1d9)+a+q(0x1d7));this[q(0x214)][q(0x212)](a);}[a57k(0x1cd)](a){const r=a57k;return this[r(0x214)][r(0x1db)](a);}get[a57k(0x1e4)](){const s=a57k;return Array['from'](this['actors'][s(0x1df)]());}[a57k(0x1f2)](a){const t=a57k;this[t(0x1c9)][a[t(0x203)]]=a,this[t(0x1d4)][t(0x20a)](t(0x1e3)+a['name']);}[a57k(0x217)](a){const u=a57k;return this[u(0x1c9)][a]?(delete this['rooms'][a],this['logger']['write'](u(0x202)+a),!![]):(this[u(0x1d4)][u(0x20a)](u(0x1ec)+a),![]);}[a57k(0x1e7)](a,b){const v=a57k,c=this[v(0x1c9)][b];c?(c[v(0x216)](a),this[v(0x1d4)][v(0x20a)](v(0x1d2)+a[v(0x203)]+v(0x20f)+c['name'])):this['logger'][v(0x20a)](v(0x201)+a[v(0x203)]+v(0x20c)+b+v(0x1f8));}[a57k(0x215)](a,b){const w=a57k,c=this[w(0x1c9)][b];c?(c[w(0x211)](a),this[w(0x1d4)][w(0x20a)]('Added\x20puzzle\x20to\x20room\x20'+c[w(0x203)])):this['logger']['write'](w(0x1ff)+b+w(0x1f8));}[a57k(0x1cf)](a,b){const x=a57k,c=this[x(0x1c9)][b];c?(this['characterLocations'][x(0x1d6)](a[x(0x203)],c),this['logger'][x(0x20a)](a[x(0x203)]+x(0x1de)+c[x(0x203)])):this[x(0x1d4)][x(0x20a)](x(0x1ce)+a[x(0x203)]+x(0x1d0)+b+'\x20not\x20found\x20in\x20scene.');}[a57k(0x1d3)](a){const y=a57k;return this[y(0x1ea)]['get'](a[y(0x203)]);}[a57k(0x1fa)](){const z=a57k,a=[];for(const c in this[z(0x1c9)]){if(this[z(0x1c9)][z(0x1e2)](c)){const d=this['rooms'][c];d['isStartRoom']&&a[z(0x1cb)](d);}}if(a[z(0x1e8)]>0x1)throw new Error(z(0x1ef));if(a['length']===0x1)return a[0x0];const b=Object['keys'](this[z(0x1c9)]);if(b['length']===0x0)throw new Error(z(0x1e0));return console['warn']('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[z(0x1c9)][b[0x0]];}[a57k(0x1ca)](){const A=a57k;return this[A(0x1f5)];}[a57k(0x1f0)](){return this['rooms'];}[a57k(0x1fe)](a,b,c,d){const B=a57k,e=this['rooms'][a],f=this[B(0x1c9)][c];if(!e)throw new Error(B(0x208)+a+B(0x1f4));if(!f)throw new Error(B(0x208)+c+B(0x1f4));e[B(0x1d5)](b,f,d);}}
1
+ function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a57d(a,b);}const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=-parseInt(i(0x206))/0x1+parseInt(i(0x207))/0x2+parseInt(i(0x202))/0x3+parseInt(i(0x224))/0x4+-parseInt(i(0x209))/0x5+parseInt(i(0x213))/0x6+-parseInt(i(0x211))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x59add));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x215)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x226)]()[k(0x221)]('(((.+)+)+)+$')[k(0x226)]()['constructor'](a57a)[k(0x221)]('(((.+)+)+)+$');});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a57c(){const E=['direction','\x20found\x20in\x20the\x20scene.','rooms','\x27s\x20location.\x20Room\x20','Room\x20\x22','roomConfiguration','warn','getCharacterLocation','delete','roomFactory','allActors','name','Removed\x20room\x20from\x20scene:\x20','\x20is\x20now\x20in\x20room\x20','player','actors','1397292hbSnKQ','length','Added\x20puzzle\x20to\x20room\x20','join','206961hvdRUl','1386670rCZOzG','logger','927770jZERIU','createRoom','targetRoom','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','\x20not\x20found\x20in\x20scene.','getInstance','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','addExit','7677362SeOFom','generateRoomsFromConfig','2850726SiJRTV','setPuzzle','apply','keyRequired','addActor','removeRoom','getActor','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','.\x20Room\x20','addItemToRoom','from','set','Failed\x20to\x20set\x20','Failed\x20to\x20add\x20item\x20','search','initialize','keys','889544TxRoFC','Added\x20room\x20to\x20scene:\x20','toString','values','characterLocations','exits','write','getRooms','Added\x20item\x20','connectRooms','determineStartRoom'];a57c=function(){return E;};return a57c();}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57l(0x1f4)];[a57l(0x200)];[a57l(0x208)];[a57l(0x201)];[a57l(0x228)]=new Map();[a57l(0x1fb)];constructor(a){const m=a57l;super(),this[m(0x1fb)]=new RoomFactory(),this[m(0x200)]=a[m(0x200)],this['rooms']=this['generateRoomsFromConfig'](a[m(0x1f7)]),this[m(0x208)]=Logger[m(0x20e)](),this[m(0x201)]=new Map(),this['createExitsFromConfig'](a[m(0x1f7)]),this[m(0x208)][m(0x22a)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x223)](this[m(0x1f4)])[m(0x205)](',\x20'));}[a57l(0x222)](){const n=a57l;this[n(0x200)]['currentLocation']=this[n(0x1f1)]();}[a57l(0x212)](a){const o=a57l;if(!this['roomFactory'])throw new Error(o(0x20c));const b={};for(const c of a){const d=this[o(0x1fb)][o(0x20a)](c);b[c[o(0x1fd)]]=d;}return b;}['createExitsFromConfig'](a){const p=a57l;for(const b of a){const c=this[p(0x1f4)][b[p(0x1fd)]];if(b[p(0x229)])for(const d of b[p(0x229)]){const e=d[p(0x1f2)]['toUpperCase'](),f=d[p(0x20b)],g=d[p(0x216)],h=this[p(0x1f4)][f];h&&c[p(0x210)](Direction[e],h,g);}}}[a57l(0x217)](a){const q=a57l;if(this['actors']['has'](a[q(0x1fd)]))throw new Error('Actor\x20with\x20name\x20'+a[q(0x1fd)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x201)]['set'](a[q(0x1fd)],a);}['removeActor'](a){const r=a57l;if(!this[r(0x201)]['has'](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x1f3));this[r(0x201)][r(0x1fa)](a);}[a57l(0x219)](a){const s=a57l;return this[s(0x201)]['get'](a);}get[a57l(0x1fc)](){const t=a57l;return Array[t(0x21d)](this[t(0x201)][t(0x227)]());}['addRoom'](a){const u=a57l;this['rooms'][a[u(0x1fd)]]=a,this[u(0x208)][u(0x22a)](u(0x225)+a['name']);}[a57l(0x218)](a){const v=a57l;return this[v(0x1f4)][a]?(delete this[v(0x1f4)][a],this['logger'][v(0x22a)](v(0x1fe)+a),!![]):(this[v(0x208)]['write'](v(0x21a)+a),![]);}[a57l(0x21c)](a,b){const w=a57l,c=this[w(0x1f4)][b];c?(c['addItem'](a),this[w(0x208)][w(0x22a)](w(0x22c)+a[w(0x1fd)]+'\x20to\x20room\x20'+c[w(0x1fd)])):this[w(0x208)][w(0x22a)](w(0x220)+a[w(0x1fd)]+w(0x21b)+b+w(0x20d));}['addPuzzleToRoom'](a,b){const x=a57l,c=this[x(0x1f4)][b];c?(c[x(0x214)](a),this[x(0x208)][x(0x22a)](x(0x204)+c['name'])):this[x(0x208)]['write']('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}['setCharacterLocation'](a,b){const y=a57l,c=this[y(0x1f4)][b];c?(this[y(0x228)][y(0x21e)](a[y(0x1fd)],c),this[y(0x208)]['write'](a[y(0x1fd)]+y(0x1ff)+c[y(0x1fd)])):this[y(0x208)][y(0x22a)](y(0x21f)+a[y(0x1fd)]+y(0x1f5)+b+y(0x20d));}[a57l(0x1f9)](a){const z=a57l;return this[z(0x228)]['get'](a[z(0x1fd)]);}[a57l(0x1f1)](){const A=a57l,a=[];for(const c in this['rooms']){if(this[A(0x1f4)]['hasOwnProperty'](c)){const d=this[A(0x1f4)][c];d['isStartRoom']&&a['push'](d);}}if(a[A(0x203)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[A(0x203)]===0x1)return a[0x0];const b=Object[A(0x223)](this[A(0x1f4)]);if(b['length']===0x0)throw new Error(A(0x20f));return console[A(0x1f8)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this['rooms'][b[0x0]];}['getPlayer'](){const B=a57l;return this[B(0x200)];}[a57l(0x22b)](){const C=a57l;return this[C(0x1f4)];}[a57l(0x1f0)](a,b,c,d){const D=a57l,e=this['rooms'][a],f=this[D(0x1f4)][c];if(!e)throw new Error(D(0x1f6)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(D(0x1f6)+c+'\x22\x20does\x20not\x20exist.');e['addExit'](b,f,d);}}