@maka/maka-cli 4.13.2 → 4.13.3

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(0xf5))/0x1+parseInt(f(0x103))/0x2+parseInt(f(0x104))/0x3+-parseInt(f(0xf3))/0x4*(-parseInt(f(0x102))/0x5)+parseInt(f(0xf6))/0x6*(parseInt(f(0xde))/0x7)+parseInt(f(0xdc))/0x8+-parseInt(f(0xe2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xe0aa6));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0xe0)]()['search'](h(0xeb))['toString']()['constructor'](a38a)[h(0xe9)](h(0xeb));});a38a();import{Door}from'../models/door.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xdb;let f=c[d];return f;},a38d(a,b);}function a38c(){const n=['name','exits','down','actor','Examine\x20your\x20surroundings','inspectItem','Executing\x20\x27Look\x27\x20command.','OUTSIDE',',\x20you\x20see\x20','currentLocation','hasItem','2570030IiOucX','269834rManFy','390138huIVCW','write','Below\x20you,\x20','look','Looking\x20at\x20item\x20\x27','puzzle','\x20is\x20looking\x20around\x20the\x20current\x20room.','description','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','isValidDirection','11850184euMggS','getOtherSide','126cbUmLu','lookOutside','toString','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','20105064isjdzb','execute','get','\x27\x20in\x20','You\x20cannot\x20see\x20','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','You\x27re\x20not\x20in\x20a\x20valid\x20room.','search','apply','(((.+)+)+)+$','To\x20the\x20','\x20here.','logger','error','roomType','inventory','rooms','4cprPkH','verb','160762HUPuOy','244374vUIqeB'];a38c=function(){return n;};return a38c();}import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0xf4)]=a38i(0x107);static ['description']=a38i(0xfb);[a38i(0xe3)](a=[]){const j=a38i;this[j(0xee)][j(0x105)](j(0xfd));const b=a['join']('\x20');if(b){if(this['actor'][j(0xf1)][j(0x101)](b))return this['logger'][j(0x105)](j(0x108)+b+j(0xe5)+this[j(0xfa)][j(0xf7)]+'\x20inventory.'),this[j(0xfc)](b,this['actor'][j(0xf1)]);else{if(this[j(0xfa)][j(0x100)][j(0xf1)][j(0x101)](b))return this[j(0xee)][j(0x105)](j(0x108)+b+'\x27\x20in\x20current\x20room\x20inventory.'),this[j(0xfc)](b,this['actor'][j(0x100)]['inventory']);else return this[j(0xdb)](b)?(this[j(0xee)][j(0x105)](j(0xe1)+b+'\x27.'),this[j(0xdf)](b)):j(0xe6)+b;}}else return this['logger']['write'](this['actor'][j(0xf7)]+j(0x10a)),this['look']();}[a38i(0x107)](){const k=a38i,a=this[k(0xfa)][k(0x100)];if(!a)return this['logger'][k(0xef)](this[k(0xfa)][k(0xf7)]+k(0x10c)),k(0xe8);let b=a[k(0x10b)];return a[k(0x109)]&&(b+='\x0a'+a['puzzle']['riddle']),b;}[a38i(0xdf)](a){const l=a38i,b=this[l(0xfa)]['currentLocation'];if(!b)return this[l(0xee)][l(0xef)](this[l(0xfa)][l(0xf7)]+l(0x10c)),l(0xe8);const c=b[l(0xf8)][l(0xe4)](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c[l(0xdd)](b);else{if(typeof c==='string'){d=this[l(0xf2)]&&this['rooms'][c];if(!d)return'There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}else return l(0xe7)+a+'\x22.';}if(d[l(0xf0)]===RoomType[l(0xfe)]){if(a==='up')return'Above\x20you,\x20'+d[l(0x10b)];else return a===l(0xf9)?l(0x106)+d[l(0x10b)]:l(0xec)+a+l(0xff)+d['description'];}else return'You\x20cannot\x20see\x20through';}[a38i(0xfc)](a,b){const m=a38i,c=b['getItem'](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+m(0xed);return c[m(0x10b)]||'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(0x1ef))/0x1+parseInt(f(0x1f1))/0x2+-parseInt(f(0x1ea))/0x3*(-parseInt(f(0x1ca))/0x4)+parseInt(f(0x1f8))/0x5+-parseInt(f(0x1e1))/0x6+parseInt(f(0x1ec))/0x7*(parseInt(f(0x1d2))/0x8)+parseInt(f(0x1d0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x7fcbb));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a38d(a,b);}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1d7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1cf)]()[h(0x1db)](h(0x1e5))[h(0x1cf)]()[h(0x1d4)](a38a)[h(0x1db)](h(0x1e5));});a38a();import{Door}from'../models/door.js';function a38c(){const n=['OUTSIDE','1924170aSBIVF','down','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','You\x27re\x20not\x20in\x20a\x20valid\x20room.','getItem','logger','inspectItem','140MCXYYZ','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','Executing\x20\x27Look\x27\x20command.','You\x20cannot\x20see\x20','toString','2245050iHMPoG','\x20here.','13968SGblVs','Looking\x20at\x20item\x20\x27','constructor','isValidDirection','hasItem','apply','currentLocation','Examine\x20your\x20surroundings','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','search','\x27\x20in\x20current\x20room\x20inventory.','join',',\x20you\x20see\x20','write','It\x27s\x20just\x20a\x20regular\x20','5014818Mcubye','\x27\x20in\x20','error','execute','(((.+)+)+)+$','inventory','You\x20cannot\x20see\x20through','roomType','puzzle','2691Wniubl','look','2163zoTjvn','Below\x20you,\x20','name','239198RcYwVp','actor','786518xXGgzh','lookOutside','rooms','Above\x20you,\x20','riddle','description'];a38c=function(){return n;};return a38c();}import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static ['verb']=a38i(0x1eb);static ['description']=a38i(0x1d9);[a38i(0x1e4)](a=[]){const j=a38i;this[j(0x1c8)][j(0x1df)](j(0x1cd));const b=a[j(0x1dd)]('\x20');if(b){if(this['actor'][j(0x1e6)][j(0x1d6)](b))return this[j(0x1c8)][j(0x1df)](j(0x1d3)+b+j(0x1e2)+this[j(0x1f0)]['name']+'\x20inventory.'),this[j(0x1c9)](b,this[j(0x1f0)][j(0x1e6)]);else{if(this[j(0x1f0)][j(0x1d8)][j(0x1e6)][j(0x1d6)](b))return this['logger'][j(0x1df)](j(0x1d3)+b+j(0x1dc)),this[j(0x1c9)](b,this[j(0x1f0)][j(0x1d8)][j(0x1e6)]);else return this[j(0x1d5)](b)?(this[j(0x1c8)][j(0x1df)](j(0x1da)+b+'\x27.'),this[j(0x1f2)](b)):j(0x1ce)+b;}}else return this['logger']['write'](this[j(0x1f0)]['name']+'\x20is\x20looking\x20around\x20the\x20current\x20room.'),this[j(0x1eb)]();}[a38i(0x1eb)](){const k=a38i,a=this[k(0x1f0)]['currentLocation'];if(!a)return this[k(0x1c8)][k(0x1e3)](this[k(0x1f0)][k(0x1ee)]+k(0x1c5)),k(0x1c6);let b=a[k(0x1f6)];return a[k(0x1e9)]&&(b+='\x0a'+a[k(0x1e9)][k(0x1f5)]),b;}[a38i(0x1f2)](a){const l=a38i,b=this[l(0x1f0)][l(0x1d8)];if(!b)return this[l(0x1c8)]['error'](this[l(0x1f0)][l(0x1ee)]+l(0x1c5)),l(0x1c6);const c=b['exits']['get'](a);if(!c)return l(0x1cb)+a+'\x22.';let d;if(c instanceof Door)d=c['getOtherSide'](b);else{if(typeof c==='string'){d=this[l(0x1f3)]&&this[l(0x1f3)][c];if(!d)return'There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}else return l(0x1cc)+a+'\x22.';}if(d[l(0x1e8)]===RoomType[l(0x1f7)]){if(a==='up')return l(0x1f4)+d['description'];else return a===l(0x1c4)?l(0x1ed)+d[l(0x1f6)]:'To\x20the\x20'+a+l(0x1de)+d['description'];}else return l(0x1e7);}['inspectItem'](a,b){const m=a38i,c=b[m(0x1c7)](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+m(0x1d1);return c[m(0x1f6)]||m(0x1e0)+a+'.';}}
@@ -1 +1 @@
1
- const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x1b4))/0x1+parseInt(g(0x1c9))/0x2*(parseInt(g(0x1c6))/0x3)+-parseInt(g(0x1b6))/0x4+-parseInt(g(0x1cc))/0x5+-parseInt(g(0x1bd))/0x6*(parseInt(g(0x1c2))/0x7)+parseInt(g(0x1b5))/0x8+-parseInt(g(0x1c8))/0x9*(-parseInt(g(0x1b3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x366ec));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x1ca)]()[i(0x1bc)]('(((.+)+)+)+$')['toString']()[i(0x1c0)](a39a)[i(0x1bc)](i(0x1c5));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1b0;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0x1c4)]=a39j(0x1b9);static [a39j(0x1b0)]=a39j(0x1b7);[a39j(0x1b8)];constructor(a){const k=a39j;super(a),this[k(0x1b8)]=a;}[a39j(0x1be)](a){const l=a39j;if(a[l(0x1cf)]===0x0)return l(0x1ce);const b=a[l(0x1ba)]('\x20'),c=this[l(0x1bf)],d=this['context'][l(0x1b1)];if(!d)return this[l(0x1c7)][l(0x1c1)]('Scene\x20is\x20missing\x20from\x20context.'),l(0x1b2);const e=d['allActors']['filter'](f=>f['currentLocation']===c[l(0x1cb)]);for(const f of e){this[l(0x1c7)][l(0x1c1)](c[l(0x1cd)]+'\x20says\x20to\x20'+f[l(0x1cd)]+l(0x1bb)+b+'\x22'),this[l(0x1bf)][l(0x1cb)][l(0x1b9)](f,b);}return l(0x1d0)+b+'\x22';}}function a39c(){const m=['context','say','join',':\x20\x22','search','44466MeslGj','execute','actor','constructor','log','98AEdpsN','apply','verb','(((.+)+)+)+$','281019NsugBV','logger','1466811JuQjLw','6ozXbIB','toString','currentLocation','460670HtQXmE','name','What\x20do\x20you\x20want\x20to\x20say?','length','You\x20say:\x20\x22','description','scene','An\x20error\x20occurred.','40WOvjKe','422670LBvEZT','1838072ovHzwt','1284720NthyQO','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.'];a39c=function(){return m;};return a39c();}
1
+ const a39j=a39d;function a39c(){const m=['say','constructor','logger','You\x20say:\x20\x22','search','Scene\x20is\x20missing\x20from\x20context.','length','actor','currentLocation','allActors','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','14HjPvaM','What\x20do\x20you\x20want\x20to\x20say?','3004675xKtXCc','apply','\x20says\x20to\x20','815352uykzQq','scene','log','(((.+)+)+)+$','An\x20error\x20occurred.','execute','filter','verb','context','145544WApGud','11185281fsQpoL','145986SEVWJi','516554dibFjN','83481xPMaIB','join','60sAhkvN','toString'];a39c=function(){return m;};return a39c();}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x1f3))/0x1+parseInt(g(0x1f6))/0x2+-parseInt(g(0x1f7))/0x3*(-parseInt(g(0x1f9))/0x4)+parseInt(g(0x1e7))/0x5+-parseInt(g(0x1f5))/0x6*(-parseInt(g(0x1e5))/0x7)+parseInt(g(0x1ea))/0x8+-parseInt(g(0x1f4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x508cd));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x1fa)]()[i(0x1de)](i(0x1ed))[i(0x1fa)]()[i(0x1fc)](a39a)[i(0x1de)](i(0x1ed));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1de;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0x1f1)]=a39j(0x1fb);static ['description']=a39j(0x1e4);[a39j(0x1f2)];constructor(a){const k=a39j;super(a),this[k(0x1f2)]=a;}[a39j(0x1ef)](a){const l=a39j;if(a[l(0x1e0)]===0x0)return l(0x1e6);const b=a[l(0x1f8)]('\x20'),c=this[l(0x1e1)],d=this[l(0x1f2)][l(0x1eb)];if(!d)return this[l(0x1fd)][l(0x1ec)](l(0x1df)),l(0x1ee);const e=d[l(0x1e3)][l(0x1f0)](f=>f[l(0x1e2)]===c['currentLocation']);for(const f of e){this['logger'][l(0x1ec)](c['name']+l(0x1e9)+f['name']+':\x20\x22'+b+'\x22'),this[l(0x1e1)][l(0x1e2)][l(0x1fb)](f,b);}return l(0x1fe)+b+'\x22';}}
@@ -1 +1 @@
1
- function a40c(){const k=['328GwjxOa','4599930fPfVSJ','currentLocation','inventory','length','logger','10zkmzzu','search','\x20found\x20the\x20following\x20items:\x20','(((.+)+)+)+$','246159OJJGeb','29CmQTwv','116192WAcKKz','name','SearchCommand:\x20','4uSJPit','listItems','937026xNMyLv','join','apply','execute','You\x20search\x20the\x20area\x20and\x20find:\x20','write','constructor','209883nLAKYE','actor','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','toString','7756875NqYqWZ','20523261eijwRt'];a40c=function(){return k;};return a40c();}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1bf))/0x1*(parseInt(f(0x1c0))/0x2)+-parseInt(f(0x1cc))/0x3+parseInt(f(0x1c3))/0x4*(-parseInt(f(0x1d3))/0x5)+-parseInt(f(0x1c5))/0x6+parseInt(f(0x1d0))/0x7+parseInt(f(0x1d2))/0x8*(parseInt(f(0x1be))/0x9)+-parseInt(f(0x1ba))/0xa*(parseInt(f(0x1d1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xdc51f));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a40d(a,b);}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1cf)]()[h(0x1bb)](h(0x1bd))['toString']()[h(0x1cb)](a40a)[h(0x1bb)]('(((.+)+)+)+$');});a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a40i(0x1bb);static ['description']='Search\x20for\x20items\x20in\x20your\x20area';[a40i(0x1c8)](){const j=a40i,a=this[j(0x1cd)][j(0x1b6)][j(0x1b7)][j(0x1c4)]();if(a[j(0x1b8)]===0x0)return this[j(0x1b9)][j(0x1ca)](j(0x1c2)+this['actor'][j(0x1c1)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0x1ce);const b=a[j(0x1c6)](',\x20');return this[j(0x1b9)][j(0x1ca)](j(0x1c2)+this[j(0x1cd)][j(0x1c1)]+j(0x1bc)+b),j(0x1c9)+b;}}
1
+ const a40i=a40d;function a40c(){const k=['You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','toString','actor','You\x20search\x20the\x20area\x20and\x20find:\x20','(((.+)+)+)+$','Search\x20for\x20items\x20in\x20your\x20area','write','\x20found\x20the\x20following\x20items:\x20','search','189GJohxQ','logger','189048hAGbiT','646845uABWqc','currentLocation','join','description','apply','763620muFUFm','6ODrZtC','length','3817163YpFbRr','verb','2592DCVqMA','name','SearchCommand:\x20','263102aEmPZb','594568zeVxJb'];a40c=function(){return k;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0xb3))/0x1+parseInt(f(0xb4))/0x2+parseInt(f(0xa6))/0x3+parseInt(f(0xb0))/0x4+parseInt(f(0xab))/0x5+parseInt(f(0xac))/0x6*(-parseInt(f(0xae))/0x7)+parseInt(f(0xa5))/0x8*(parseInt(f(0xa3))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x5673f));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xa0;let f=c[d];return f;},a40d(a,b);}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xb6)]()[h(0xa2)](h(0xb9))[h(0xb6)]()['constructor'](a40a)[h(0xa2)]('(((.+)+)+)+$');});a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0xaf)]='search';static [a40i(0xa9)]=a40i(0xba);['execute'](){const j=a40i,a=this['actor'][j(0xa7)]['inventory']['listItems']();if(a[j(0xad)]===0x0)return this[j(0xa4)][j(0xa0)](j(0xb2)+this[j(0xb7)][j(0xb1)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0xb5);const b=a[j(0xa8)](',\x20');return this[j(0xa4)][j(0xa0)](j(0xb2)+this[j(0xb7)][j(0xb1)]+j(0xa1)+b),j(0xb8)+b;}}
@@ -1 +1 @@
1
- const a41i=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1a4;let f=c[d];return f;},a41d(a,b);}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x1b6))/0x1+parseInt(f(0x1b7))/0x2*(parseInt(f(0x1a4))/0x3)+-parseInt(f(0x1ad))/0x4*(-parseInt(f(0x1be))/0x5)+parseInt(f(0x1bc))/0x6*(parseInt(f(0x1aa))/0x7)+parseInt(f(0x1b2))/0x8*(parseInt(f(0x1b3))/0x9)+parseInt(f(0x1a6))/0xa*(-parseInt(f(0x1bb))/0xb)+-parseInt(f(0x1b4))/0xc*(parseInt(f(0x1a7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x5c419));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x1b9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x1b8)]()[h(0x1b0)](h(0x1a8))[h(0x1b8)]()['constructor'](a41a)['search'](h(0x1a8));});a41a();import{Command}from'./command.js';function a41c(){const k=['search','description','3420792ujXoIp','9PmtEVC','5445852IPKlkM','rewardItem','236170fnKjjx','156GjuMdC','toString','apply','success','33pIdlSL','6jXvLgs','message','108775yHybCl','inventory','logger','SolveCommand:\x20','solve','actor','6771XRdbkv','Attempt\x20to\x20solve\x20a\x20puzzle.','1670PNSJtM','13IaBYyy','(((.+)+)+)+$','write','2491671owPSam','verb','addItem','20itOcUh','puzzle','execute'];a41c=function(){return k;};return a41c();}export class SolveCommand extends Command{static [a41i(0x1ab)]=a41i(0x1c2);static [a41i(0x1b1)]=a41i(0x1a5);[a41i(0x1af)](a){const j=a41i,b=a['join']('\x20')['toLowerCase'](),c=this[j(0x1c3)]['currentLocation'];if(!c||!c[j(0x1ae)])return this['logger'][j(0x1a9)]('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c['puzzle']['solve'](b,this['actor'][j(0x1bf)]);return d[j(0x1ba)]&&c[j(0x1ae)]['rewardItem']&&this[j(0x1c3)][j(0x1bf)][j(0x1ac)](c['puzzle'][j(0x1b5)]),this[j(0x1c0)][j(0x1a9)](j(0x1c1)+d[j(0x1bd)]),d['message'];}}
1
+ const a41i=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x175;let f=c[d];return f;},a41d(a,b);}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x18d))/0x1*(-parseInt(f(0x186))/0x2)+parseInt(f(0x194))/0x3+-parseInt(f(0x175))/0x4*(parseInt(f(0x190))/0x5)+parseInt(f(0x18b))/0x6*(-parseInt(f(0x180))/0x7)+-parseInt(f(0x18a))/0x8*(parseInt(f(0x189))/0x9)+-parseInt(f(0x17d))/0xa+parseInt(f(0x193))/0xb*(parseInt(f(0x17b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x5a7c7));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a['toString']()['search'](h(0x183))[h(0x178)]()[h(0x195)](a41a)[h(0x17c)](h(0x183));});a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0x176)]='solve';static [a41i(0x184)]=a41i(0x177);[a41i(0x18e)](a){const j=a41i,b=a[j(0x179)]('\x20')['toLowerCase'](),c=this[j(0x17f)][j(0x181)];if(!c||!c[j(0x191)])return this['logger'][j(0x17e)](j(0x18f)),j(0x18c);const d=c[j(0x191)]['solve'](b,this['actor']['inventory']);return d[j(0x17a)]&&c[j(0x191)][j(0x196)]&&this[j(0x17f)][j(0x187)]['addItem'](c[j(0x191)]['rewardItem']),this[j(0x192)][j(0x17e)](j(0x182)+d[j(0x188)]),d[j(0x188)];}}function a41c(){const k=['write','actor','7KVWXbw','currentLocation','SolveCommand:\x20','(((.+)+)+)+$','description','apply','266078qVpFKI','inventory','message','4607244qoHNMc','8AADMcH','183630YZbtkC','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','1BGJbvH','execute','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','1565thWCxs','puzzle','logger','11OtITcr','49269PaYdFe','constructor','rewardItem','1172hkwtWM','verb','Attempt\x20to\x20solve\x20a\x20puzzle.','toString','join','success','13835004UVBJpt','search','2975180wvzsMe'];a41c=function(){return k;};return a41c();}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x1bf))/0x1+parseInt(f(0x1b8))/0x2*(-parseInt(f(0x1a9))/0x3)+parseInt(f(0x1ac))/0x4+-parseInt(f(0x1b4))/0x5+parseInt(f(0x19f))/0x6+parseInt(f(0x1a2))/0x7*(parseInt(f(0x19e))/0x8)+parseInt(f(0x1c0))/0x9*(-parseInt(f(0x19b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x7bbfd));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x1b1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0x1a4)](h(0x1b7))[h(0x1ae)]()['constructor'](a42a)[h(0x1a4)](h(0x1b7));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x19a;let f=c[d];return f;},a42d(a,b);}import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0x1b2)]=a42i(0x1bb);static [a42i(0x1ba)]=a42i(0x1a8);[a42i(0x1ab)](a){const j=a42i;return this[j(0x1c5)][j(0x1a3)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x1c3)]('\x20')),this[j(0x1bb)](a);}[a42i(0x1bb)](a){const k=a42i,b=a[k(0x1c3)]('\x20')[k(0x1be)](),c=this[k(0x1a5)]['currentLocation'];if(!c[k(0x1a7)][k(0x1a1)](b))return this[k(0x1c5)][k(0x1a3)]('Item\x20\x22'+b+k(0x19a)+c[k(0x1c2)]+k(0x1b6)),k(0x1a0)+b+k(0x1af);const d=c[k(0x1a7)][k(0x19d)](b);if(!d)return this[k(0x1c5)][k(0x1a3)](k(0x1aa)+b+k(0x1b0)+c[k(0x1c2)]+k(0x1bd)),k(0x1a0)+b+k(0x1af);try{return this[k(0x1a5)][k(0x1bc)](d),this[k(0x1c5)]['write'](k(0x1b3)+b+k(0x1c4)+this[k(0x1a5)][k(0x1c2)]+k(0x1c1)),c[k(0x1a7)][k(0x1b9)](b),this[k(0x1c5)]['write'](k(0x1ad)+b+k(0x1a6)+c[k(0x1c2)]+k(0x1bd)),k(0x1b5)+b+'.';}catch(e){return this['logger'][k(0x1a3)](k(0x1c6)+e['message']),k(0x19c)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}function a42c(){const l=['search','actor','\x22\x20from\x20','inventory','Pick\x20up\x20an\x20item.','3936LAclsn','Item\x20\x22','execute','497288tiSVuY','Successfully\x20removed\x20\x22','toString','\x22\x20in\x20this\x20room.','\x22\x20not\x20retrieved\x20from\x20','apply','verb','Successfully\x20added\x20\x22','392475jJfgty','You\x20have\x20taken\x20the\x20','\x20during\x20\x27Take\x27\x20command.','(((.+)+)+)+$','860lLXgzk','removeItem','description','take','addInventory','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','toLowerCase','714465okNhJF','2124CyqlVW','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','name','join','\x22\x20to\x20','logger','Error\x20during\x20\x27Take\x27\x20command:\x20','\x22\x20not\x20found\x20in\x20','50940kRjTYi','The\x20item\x20\x22','getItem','1928ZqNXhK','5779248HsDOuz','There\x20is\x20no\x20item\x20\x22','hasItem','15967AelBXi','write'];a42c=function(){return l;};return a42c();}
1
+ const a42i=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x11a;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x143))/0x1*(-parseInt(f(0x11c))/0x2)+parseInt(f(0x137))/0x3+parseInt(f(0x146))/0x4*(parseInt(f(0x11b))/0x5)+parseInt(f(0x136))/0x6+parseInt(f(0x131))/0x7+-parseInt(f(0x11a))/0x8+-parseInt(f(0x13e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xea916));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x120)]()['search']('(((.+)+)+)+$')[h(0x120)]()[h(0x13c)](a42a)['search'](h(0x12b));});a42a();function a42c(){const l=['currentLocation','\x22\x20not\x20found\x20in\x20','toLowerCase','8929014WjQdYN','3281238YPZIGe','Error\x20during\x20\x27Take\x27\x20command:\x20','execute','\x22\x20to\x20','\x22\x20in\x20this\x20room.','constructor','Successfully\x20removed\x20\x22','8906310VKPhWf','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Pick\x20up\x20an\x20item.','inventory','\x22\x20from\x20','1XSAnzr','getItem','removeItem','983352xgSAct','5466432uIhlZW','5VefAHH','613688ojwerx','take','apply','\x22\x20is\x20too\x20heavy\x20to\x20carry.','toString','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','verb','The\x20item\x20\x22','name','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Item\x20\x22','join','hasItem','addInventory','write','(((.+)+)+)+$','There\x20is\x20no\x20item\x20\x22','logger','\x22\x20not\x20retrieved\x20from\x20','You\x20have\x20taken\x20the\x20','description','789425hhiyCd','\x20during\x20\x27Take\x27\x20command.'];a42c=function(){return l;};return a42c();}import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0x122)]=a42i(0x11d);static [a42i(0x130)]=a42i(0x140);[a42i(0x139)](a){const j=a42i;return this[j(0x12d)][j(0x12a)](j(0x121)+a[j(0x127)]('\x20')),this[j(0x11d)](a);}[a42i(0x11d)](a){const k=a42i,b=a[k(0x127)]('\x20')[k(0x135)](),c=this['actor'][k(0x133)];if(!c[k(0x141)][k(0x128)](b))return this[k(0x12d)][k(0x12a)](k(0x126)+b+k(0x134)+c[k(0x124)]+k(0x132)),'There\x20is\x20no\x20item\x20\x22'+b+k(0x13b);const d=c[k(0x141)][k(0x144)](b);if(!d)return this[k(0x12d)][k(0x12a)](k(0x126)+b+k(0x12e)+c[k(0x124)]+k(0x13f)),k(0x12c)+b+k(0x13b);try{return this['actor'][k(0x129)](d),this['logger'][k(0x12a)]('Successfully\x20added\x20\x22'+b+k(0x13a)+this['actor'][k(0x124)]+k(0x125)),c[k(0x141)][k(0x145)](b),this['logger'][k(0x12a)](k(0x13d)+b+k(0x142)+c[k(0x124)]+k(0x13f)),k(0x12f)+b+'.';}catch(e){return this[k(0x12d)][k(0x12a)](k(0x138)+e['message']),k(0x123)+b+k(0x11f);}}}
@@ -1 +1 @@
1
- const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1ee))/0x1+-parseInt(f(0x1df))/0x2+parseInt(f(0x1e0))/0x3+-parseInt(f(0x1f0))/0x4+parseInt(f(0x1f2))/0x5+-parseInt(f(0x1f6))/0x6+-parseInt(f(0x1e1))/0x7*(-parseInt(f(0x1de))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x45dfa));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1de;let f=c[d];return f;},a43d(a,b);}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(0x1f5)]()[g(0x1e6)](g(0x1e4))[g(0x1f5)]()[g(0x1eb)](a43a)['search'](g(0x1e4));});a43a();function a43c(){const j=['write','search','unqeuip','Unequip\x20an\x20item.','actor','execute','constructor','\x20unqeuiped\x20','join','145602rcZGig','description','530088laILPR','name','245755WLQWhs','verb','logger','toString','224544dWnqvJ','1181728KYVzeo','424914meWOKs','1408872baAsrH','14HehJjr','UnequipCommand:\x20','unequip','(((.+)+)+)+$'];a43c=function(){return j;};return a43c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43h(0x1f3)]=a43h(0x1e7);static [a43h(0x1ef)]=a43h(0x1e8);[a43h(0x1ea)](a){const i=a43h,b=a[i(0x1ed)]('\x20')['toLowerCase'](),c=this['actor'][i(0x1e3)](b);return this[i(0x1f4)][i(0x1e5)](i(0x1e2)+this[i(0x1e9)][i(0x1f1)]+i(0x1ec)+c),c;}}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x1ad))/0x1*(parseInt(f(0x1a6))/0x2)+parseInt(f(0x1ab))/0x3*(-parseInt(f(0x1a7))/0x4)+parseInt(f(0x1a4))/0x5*(-parseInt(f(0x1a5))/0x6)+-parseInt(f(0x1b2))/0x7+parseInt(f(0x1bb))/0x8+-parseInt(f(0x1a8))/0x9*(parseInt(f(0x1af))/0xa)+parseInt(f(0x1ae))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x81193));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1b1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1b5)]()[h(0x1ac)](h(0x1b9))[h(0x1b5)]()[h(0x1b0)](a43a)[h(0x1ac)]('(((.+)+)+)+$');});a43a();import{Command}from'./command.js';function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a43d(a,b);}function a43c(){const k=['execute','actor','843xKcfNQ','search','2ifYPae','15387273VHEArv','73630MFFRfI','constructor','apply','1617EBnFfr','logger','name','toString','write','description','\x20unqeuiped\x20','(((.+)+)+)+$','toLowerCase','6351656NVnigc','UnequipCommand:\x20','995IQlUFd','14466PccxDt','42494UiiaQb','12952JBWRbi','387BeIyzk'];a43c=function(){return k;};return a43c();}export class UnequipCommand extends Command{static ['verb']='unqeuip';static [a43i(0x1b7)]='Unequip\x20an\x20item.';[a43i(0x1a9)](a){const j=a43i,b=a['join']('\x20')[j(0x1ba)](),c=this[j(0x1aa)]['unequip'](b);return this[j(0x1b3)][j(0x1b6)](j(0x1a3)+this[j(0x1aa)][j(0x1b4)]+j(0x1b8)+c),c;}}
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x17a))/0x1*(-parseInt(h(0x17d))/0x2)+-parseInt(h(0x187))/0x3+-parseInt(h(0x179))/0x4+-parseInt(h(0x175))/0x5+-parseInt(h(0x18b))/0x6+-parseInt(h(0x184))/0x7+-parseInt(h(0x18e))/0x8*(-parseInt(h(0x191))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x80a03));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x188)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x177)]()['search'](j(0x17b))['toString']()['constructor'](a44a)[j(0x18c)](j(0x17b));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x175;let f=c[d];return f;},a44d(a,b);}a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0x181)]=a44k(0x19a);static [a44k(0x186)]=a44k(0x193);[a44k(0x176)](a){const l=a44k;return this[l(0x19a)](a);}[a44k(0x19a)](a){const m=a44k;if(a['length']===0x0)return this['logger']['error'](m(0x192)),m(0x194);const b=a[0x0][m(0x17f)](),c=this[m(0x185)][m(0x199)];if(this[m(0x180)](b)&&c['exits']['has'](b)){const d=c['exits']['get'](b);if(d instanceof Door){const e=d[m(0x18d)]?.['toLowerCase']();if(e&&this[m(0x185)]['inventory'][m(0x18a)](e)){const f=this[m(0x185)][m(0x197)]['getItem'](e);if(f){const g=c[m(0x19b)](b,f[m(0x183)]);return this['logger'][m(0x198)]('UnlockCommand:\x20'+this['actor'][m(0x183)]+m(0x178)+b+m(0x17e)+g),g;}}return this[m(0x18f)][m(0x198)]('UnlockCommand:\x20'+this[m(0x185)][m(0x183)]+m(0x189)+b+'.'),m(0x195);}else return this[m(0x18f)]['write'](m(0x182)+b+m(0x190)+c[m(0x183)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}else return this[m(0x18f)][m(0x198)](m(0x182)+b+m(0x190)+c[m(0x183)]+'.'),m(0x196)+b+m(0x17c);}}function a44c(){const n=['hasItem','3387528yFlYuO','search','unlockItemOrSolution','10151728ISEpXK','logger','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','27WMFuBL','UnlockCommand:\x20No\x20target\x20specified.','Unlock\x20a\x20door.','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','There\x27s\x20no\x20door\x20named\x20\x22','inventory','write','currentLocation','unlock','attemptUnlockExit','557700JSJGNr','execute','toString','\x20is\x20attempted\x20to\x20unlock\x20','1885884iyhQJg','19253aDJQeR','(((.+)+)+)+$','\x22\x20here.','94atpaWv','.\x20Result:\x20','toLowerCase','isValidDirection','verb','UnlockCommand:\x20','name','3564666JfWXVO','actor','description','2154957eeNQME','apply','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'];a44c=function(){return n;};return a44c();}
1
+ const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x165))/0x1*(parseInt(h(0x161))/0x2)+-parseInt(h(0x14c))/0x3+-parseInt(h(0x14e))/0x4*(-parseInt(h(0x164))/0x5)+-parseInt(h(0x148))/0x6*(-parseInt(h(0x160))/0x7)+parseInt(h(0x156))/0x8*(-parseInt(h(0x143))/0x9)+-parseInt(h(0x147))/0xa+parseInt(h(0x15c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xd9b16));function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x13e;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(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x142)]()[j(0x145)](j(0x14d))[j(0x142)]()[j(0x166)](a44a)[j(0x145)](j(0x14d));});function a44c(){const n=['unlockItemOrSolution','currentLocation','2495VtgSVM','1dWnQvT','constructor','.\x20Result:\x20','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','isValidDirection','\x22\x20here.','toString','34479rsKkfx','description','search','has','15350380vcYVmw','7596opJdky','error','exits','UnlockCommand:\x20No\x20target\x20specified.','2754564bYrLAv','(((.+)+)+)+$','8684ptwOyx','apply','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','UnlockCommand:\x20','verb','attemptUnlockExit','logger','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','2608EsDAcE','unlock','write','toLowerCase','inventory','actor','31352233MSoWBO','name','There\x27s\x20no\x20door\x20named\x20\x22','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','3045xSBgFX','219120EgOXCO'];a44c=function(){return n;};return a44c();}a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0x152)]=a44k(0x157);static [a44k(0x144)]='Unlock\x20a\x20door.';['execute'](a){const l=a44k;return this[l(0x157)](a);}[a44k(0x157)](a){const m=a44k;if(a['length']===0x0)return this[m(0x154)][m(0x149)](m(0x14b)),m(0x155);const b=a[0x0]['toLowerCase'](),c=this[m(0x15b)][m(0x163)];if(this[m(0x140)](b)&&c[m(0x14a)][m(0x146)](b)){const d=c[m(0x14a)]['get'](b);if(d instanceof Door){const e=d[m(0x162)]?.[m(0x159)]();if(e&&this[m(0x15b)][m(0x15a)]['hasItem'](e)){const f=this['actor'][m(0x15a)]['getItem'](e);if(f){const g=c[m(0x153)](b,f['name']);return this[m(0x154)][m(0x158)](m(0x151)+this[m(0x15b)][m(0x15d)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+m(0x13e)+g),g;}}return this[m(0x154)][m(0x158)](m(0x151)+this['actor'][m(0x15d)]+m(0x150)+b+'.'),m(0x13f);}else return this[m(0x154)][m(0x158)]('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x15d)]+'.'),m(0x15e)+b+m(0x141);}else return this[m(0x154)][m(0x158)]('UnlockCommand:\x20'+b+m(0x15f)+c['name']+'.'),m(0x15e)+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x15e;let f=c[d];return f;},a45d(a,b);}const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x165))/0x1+parseInt(f(0x15e))/0x2+parseInt(f(0x17b))/0x3+-parseInt(f(0x162))/0x4*(-parseInt(f(0x161))/0x5)+parseInt(f(0x16f))/0x6*(-parseInt(f(0x16b))/0x7)+parseInt(f(0x169))/0x8+-parseInt(f(0x164))/0x9*(-parseInt(f(0x178))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x5ba85));function a45c(){const l=['10yZmXJT','write','\x20in\x20this\x20way.','782316znCoUY','\x20doesn\x27t\x20have\x20a\x20use\x20method.','You\x20can\x27t\x20use\x20the\x20','toString','verb','You\x20don\x27t\x20have\x20the\x20','82328AFEpWQ','UseCommand:\x20','(((.+)+)+)+$','88940JuRaor','92touYZe','use','232830YKiPHR','164922sOLphE','join','execute','\x27s\x20inventory.','1136680HVZbKV','actor','592662MccxIE','\x20not\x20retrieved\x20from\x20','\x20attempted\x20to\x20use\x20','toLowerCase','24nWFTDS','logger','inventory','name','search',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','\x20to\x20use.','constructor','apply'];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(0x177)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a['toString']()[h(0x173)](h(0x160))[h(0x17e)]()[h(0x176)](a45a)['search']('(((.+)+)+)+$');});a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0x17f)]=a45i(0x163);static ['description']='Use\x20an\x20item.';[a45i(0x167)](a){const j=a45i;return this[j(0x163)](a);}['use'](a){const k=a45i,b=a[k(0x166)]('\x20')[k(0x16e)]();if(!this[k(0x16a)][k(0x171)]['hasItem'](b))return this[k(0x170)][k(0x179)](k(0x15f)+this[k(0x16a)][k(0x172)]+k(0x16d)+b+k(0x174)),k(0x180)+b+k(0x175);const c=this[k(0x16a)][k(0x171)]['getItem'](b);if(!c)return this['logger']['write'](k(0x15f)+b+k(0x16c)+this['actor'][k(0x172)]+k(0x168)),k(0x180)+b+k(0x175);if(typeof c[k(0x163)]==='function'){const d=c['use']();return this['logger'][k(0x179)]('UseCommand:\x20'+this[k(0x16a)][k(0x172)]+'\x20used\x20'+b+'.'),d;}else return this[k(0x170)][k(0x179)](k(0x15f)+b+k(0x17c)),k(0x17d)+b+k(0x17a);}}
1
+ function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x12d;let f=c[d];return f;},a45d(a,b);}const a45i=a45d;function a45c(){const l=['1980288qhoqZk','toLowerCase','You\x20can\x27t\x20use\x20the\x20','1571060FXWnMY','use','inventory','name','398436kIlnBE','68715FfwPOq','(((.+)+)+)+$','\x20not\x20retrieved\x20from\x20','1644SrfWqy','actor','1090ZjBAji','\x20used\x20','UseCommand:\x20','184194KaPJox','toString','\x27s\x20inventory.','function','logger','write','verb','getItem','3654Yuwzvm','6qenUfM','1326296lAaKpH','apply','hasItem','constructor','\x20to\x20use.','\x20in\x20this\x20way.','You\x20don\x27t\x20have\x20the\x20','join','execute'];a45c=function(){return l;};return a45c();}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x14e))/0x1+parseInt(f(0x13d))/0x2*(parseInt(f(0x134))/0x3)+-parseInt(f(0x13e))/0x4+parseInt(f(0x14a))/0x5+parseInt(f(0x12f))/0x6*(-parseInt(f(0x13c))/0x7)+-parseInt(f(0x147))/0x8+parseInt(f(0x14f))/0x9*(parseInt(f(0x131))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x3347f));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x135)]()['search'](h(0x12d))[h(0x135)]()[h(0x141)](a45a)['search'](h(0x12d));});a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0x13a)]='use';static ['description']='Use\x20an\x20item.';[a45i(0x146)](a){const j=a45i;return this[j(0x14b)](a);}['use'](a){const k=a45i,b=a[k(0x145)]('\x20')[k(0x148)]();if(!this[k(0x130)][k(0x14c)][k(0x140)](b))return this[k(0x138)][k(0x139)](k(0x133)+this[k(0x130)]['name']+'\x20attempted\x20to\x20use\x20'+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),k(0x144)+b+k(0x142);const c=this[k(0x130)][k(0x14c)][k(0x13b)](b);if(!c)return this['logger'][k(0x139)](k(0x133)+b+k(0x12e)+this[k(0x130)][k(0x14d)]+k(0x136)),k(0x144)+b+k(0x142);if(typeof c[k(0x14b)]===k(0x137)){const d=c['use']();return this[k(0x138)][k(0x139)](k(0x133)+this['actor'][k(0x14d)]+k(0x132)+b+'.'),d;}else return this['logger']['write'](k(0x133)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),k(0x149)+b+k(0x143);}}
@@ -1 +1 @@
1
- const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x109))/0x1*(parseInt(f(0x108))/0x2)+parseInt(f(0xfe))/0x3*(parseInt(f(0x104))/0x4)+parseInt(f(0xfd))/0x5*(-parseInt(f(0xff))/0x6)+-parseInt(f(0xfb))/0x7+-parseInt(f(0x101))/0x8*(-parseInt(f(0x103))/0x9)+-parseInt(f(0x10b))/0xa*(-parseInt(f(0xfc))/0xb)+parseInt(f(0x10e))/0xc*(parseInt(f(0x10a))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x92971));function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0xfb;let f=c[d];return f;},a46d(a,b);}const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x102)]()[h(0x106)](h(0x10d))['toString']()['constructor'](a46a)['search']('(((.+)+)+)+$');});a46a();export class CommandFactory{static ['commandMap']={};static[a46i(0x107)](a,b){const j=a46i;this[j(0x10c)][a]=b;}static['createCommand'](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a46i(0x100)](){const k=a46i;return this[k(0x10c)];}}function a46c(){const l=['(((.+)+)+)+$','161664CgICed','7822297PipRwE','231YXhyou','775ZXIZKg','153thWTWy','13164OeSSxG','getAllRegisteredCommands','8uRVjdb','toString','7868925Xgqmug','65836UGnHVy','apply','search','registerCommand','2ukXUDI','743487vcsUTy','13FPdaRX','511550GPuvYf','commandMap'];a46c=function(){return l;};return a46c();}
1
+ const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0xac))/0x1*(-parseInt(f(0xb4))/0x2)+parseInt(f(0xa9))/0x3+parseInt(f(0xa4))/0x4*(-parseInt(f(0xae))/0x5)+parseInt(f(0xa6))/0x6+parseInt(f(0xa3))/0x7+parseInt(f(0xb3))/0x8*(-parseInt(f(0xa5))/0x9)+parseInt(f(0xad))/0xa*(parseInt(f(0xb5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xbe01c));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a['toString']()[h(0xa8)](h(0xab))[h(0xb0)]()[h(0xaf)](a46a)[h(0xa8)](h(0xab));});a46a();function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0xa3;let f=c[d];return f;},a46d(a,b);}export class CommandFactory{static [a46i(0xa7)]={};static['registerCommand'](a,b){const j=a46i;this[j(0xa7)][a]=b;}static[a46i(0xb2)](a,b){const k=a46i,c=this[k(0xa7)][a];if(c)return new c(b);return null;}static[a46i(0xb1)](){const l=a46i;return this[l(0xa7)];}}function a46c(){const m=['10EMjXQl','constructor','toString','getAllRegisteredCommands','createCommand','385704kvpuEx','2QSYyxw','44bDXheI','7462224HfcfSL','613712CaIkih','261vKIeeL','1175592pLVyjx','commandMap','search','363624nxEDtb','apply','(((.+)+)+)+$','731881mYflBh','920620roMUld'];a46c=function(){return m;};return a46c();}
@@ -1 +1 @@
1
- const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x137))/0x1+parseInt(f(0x11b))/0x2*(parseInt(f(0x12a))/0x3)+parseInt(f(0x138))/0x4*(-parseInt(f(0x12f))/0x5)+-parseInt(f(0x127))/0x6*(-parseInt(f(0x133))/0x7)+-parseInt(f(0x132))/0x8*(parseInt(f(0x13b))/0x9)+parseInt(f(0x114))/0xa+-parseInt(f(0x13c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x1a858));function a47c(){const o=['112cQcSDZ','2534JYsFXE','search','gauntlets','setPuzzle','181884WhiMBM','11092IKpxkw','createRoom','items','19566DXKEEa','2821819fKMDTF','626560YVTTwe','toString','legarmor','apply','puzzle','createItem','name','32RXGUvM','createPuzzle','type','book','roomType','forEach','addItem','constructor','convertToRoomConfig','gloves','toUpperCase','inventory','1986bgNBVk','key','(((.+)+)+)+$','35493rFIdJo','INSIDE','sword','content','rewardItem','285OeYfmF','rifle','description'];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(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()[h(0x134)](h(0x129))[h(0x115)]()[h(0x122)](a47a)[h(0x134)](h(0x129));});a47a();function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x114;let f=c[d];return f;},a47d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0x139)](a){const j=a47i,b=this[j(0x123)](a),c=new Room(b);if(a[j(0x13a)]){const d=new Inventory();a[j(0x13a)][j(0x120)](e=>{const k=j;d[k(0x121)](this[k(0x119)](e));}),c[j(0x126)]=d;}return a[j(0x118)]&&c[j(0x136)](this[j(0x11c)](a[j(0x118)])),c;}[a47i(0x119)](a){const l=a47i;switch(a[l(0x11d)]){case l(0x128):return new Key(a[l(0x11a)],a[l(0x131)]);case l(0x11e):return new Book(a['name'],a['description'],a[l(0x12d)]);case l(0x12c):return new Sword(a[l(0x11a)],a[l(0x131)]);case l(0x130):return new Rifle(a['name'],a['description']);case'helmet':return new Helmet(a[l(0x11a)],a[l(0x131)]);case'bodyarmor':return new BodyArmor(a[l(0x11a)],a[l(0x131)]);case l(0x116):return new LegArmor(a['name'],a[l(0x131)]);case'boots':return new Boots(a[l(0x11a)],a[l(0x131)]);case l(0x124):return new Gloves(a['name'],a['description']);case l(0x135):return new Gauntlets(a['name'],a[l(0x131)]);default:return new BasicItem(a[l(0x11a)],a[l(0x131)]);}}[a47i(0x11c)](a){const m=a47i,b=this[m(0x119)](a[m(0x12e)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0x123)](a){const n=a47i,b=a['roomType']&&RoomType[a[n(0x11f)]['toUpperCase']()]?RoomType[a[n(0x11f)][n(0x125)]()]:RoomType[n(0x12b)];return{'name':a[n(0x11a)],'description':a[n(0x131)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
1
+ const a47j=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x1ca))/0x1+-parseInt(f(0x1c4))/0x2*(-parseInt(f(0x1e8))/0x3)+parseInt(f(0x1de))/0x4+parseInt(f(0x1c7))/0x5+-parseInt(f(0x1df))/0x6+-parseInt(f(0x1cb))/0x7*(-parseInt(f(0x1cd))/0x8)+-parseInt(f(0x1c5))/0x9*(parseInt(f(0x1ce))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x85a55));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const g=a47d;return a47a['toString']()[g(0x1d1)](g(0x1e9))[g(0x1cf)]()[g(0x1d7)](a47a)['search'](g(0x1e9));});a47a();function a47c(){const n=['4860099CQetnf','name','3304100zVthkE','convertToRoomConfig','items','731376oQQrgU','14VgxEqu','rewardItem','2848744NevmsB','40eLgNtd','toString','content','search','setPuzzle','createPuzzle','puzzle','INSIDE','boots','constructor','sword','inventory','bodyarmor','addItem','gloves','gauntlets','1846940dHnBxR','2032266qSAuDf','rifle','helmet','createItem','key','legarmor','toUpperCase','roomType','type','43641zUWTLO','(((.+)+)+)+$','description','66SqUEhl'];a47c=function(){return n;};return a47c();}function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a47d(a,b);}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 h=a47d,b=this[h(0x1c8)](a),c=new Room(b);if(a[h(0x1c9)]){const d=new Inventory();a[h(0x1c9)]['forEach'](e=>{const i=h;d[i(0x1db)](this[i(0x1e2)](e));}),c[h(0x1d9)]=d;}return a[h(0x1d4)]&&c[h(0x1d2)](this['createPuzzle'](a['puzzle'])),c;}[a47j(0x1e2)](a){const k=a47j;switch(a[k(0x1e7)]){case k(0x1e3):return new Key(a[k(0x1c6)],a[k(0x1c3)]);case'book':return new Book(a['name'],a[k(0x1c3)],a[k(0x1d0)]);case k(0x1d8):return new Sword(a['name'],a['description']);case k(0x1e0):return new Rifle(a['name'],a['description']);case k(0x1e1):return new Helmet(a[k(0x1c6)],a[k(0x1c3)]);case k(0x1da):return new BodyArmor(a[k(0x1c6)],a[k(0x1c3)]);case k(0x1e4):return new LegArmor(a[k(0x1c6)],a[k(0x1c3)]);case k(0x1d6):return new Boots(a[k(0x1c6)],a[k(0x1c3)]);case k(0x1dc):return new Gloves(a[k(0x1c6)],a[k(0x1c3)]);case k(0x1dd):return new Gauntlets(a[k(0x1c6)],a['description']);default:return new BasicItem(a[k(0x1c6)],a[k(0x1c3)]);}}[a47j(0x1d3)](a){const l=a47j,b=this[l(0x1e2)](a[l(0x1cc)]);return new Puzzle({...a,'rewardItem':b});}[a47j(0x1c8)](a){const m=a47j,b=a[m(0x1e6)]&&RoomType[a[m(0x1e6)][m(0x1e5)]()]?RoomType[a['roomType']['toUpperCase']()]:RoomType[m(0x1d5)];return{'name':a[m(0x1c6)],'description':a['description'],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x160;let f=c[d];return f;},a48d(a,b);}const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x181))/0x1*(-parseInt(h(0x17e))/0x2)+-parseInt(h(0x187))/0x3+parseInt(h(0x164))/0x4*(-parseInt(h(0x16f))/0x5)+parseInt(h(0x180))/0x6+parseInt(h(0x182))/0x7+parseInt(h(0x188))/0x8*(parseInt(h(0x177))/0x9)+-parseInt(h(0x18c))/0xa*(parseInt(h(0x16a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xacf88));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a['toString']()['search'](j(0x16d))[j(0x178)]()['constructor'](a48a)[j(0x17c)](j(0x16d));});a48a();import{Scene}from'./models/scene.js';function a48c(){const s=['solve','search','handleInput','76hAREPH','unequip','7061490LOBNYL','2173AWEXYS','7885528KqxJiA','getInstance','getRooms','registerCommand','-\x20clear:\x20Clear\x20the\x20screen.\x0a','3593328sfWsdk','376184rEVkzN','initialize','currentLocation','help','10CSPThi','rooms','getWelcomeMessage','take','instance','Available\x20Commands:\x0a','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','getAllRegisteredCommands','152JmYNzi','Welcome,\x20','currentRoom','quit','unlock','drop','12608673hNigTw','clear','equip','(((.+)+)+)+$','slice','26690eSELYS','determineStartRoom','scene','name','apply','createCommand','getHelpMessage','registerCommands','198BcbQvm','toString','trim','player'];a48c=function(){return s;};return a48c();}import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0x190)];[a48k(0x171)];[a48k(0x17a)];[a48k(0x166)];[a48k(0x18d)];constructor(a,b){const l=a48k;this[l(0x17a)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0x171)][l(0x189)](),this[l(0x17a)][l(0x18a)]=this[l(0x170)](),this[l(0x176)]();}[a48k(0x176)](){const m=a48k;CommandFactory['registerCommand']('look',LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0x185)](m(0x18f),TakeCommand),CommandFactory[m(0x185)]('use',UseCommand),CommandFactory[m(0x185)](m(0x16c),EquipCommand),CommandFactory['registerCommand'](m(0x17f),UnequipCommand),CommandFactory[m(0x185)](m(0x17b),SolveCommand),CommandFactory[m(0x185)](m(0x169),DropCommand),CommandFactory['registerCommand'](m(0x168),UnlockCommand),CommandFactory[m(0x185)]('lock',LockCommand),CommandFactory[m(0x185)](m(0x17c),SearchCommand),CommandFactory[m(0x185)]('say',SayCommand);}[a48k(0x170)](){const n=a48k;return this[n(0x171)]['determineStartRoom']();}[a48k(0x18e)](){const o=a48k;return o(0x165)+this[o(0x17a)][o(0x172)];}static[a48k(0x183)](a,b){const p=a48k;return!Game['instance']&&(Game[p(0x190)]=new Game(a,b)),Game[p(0x190)];}[a48k(0x17d)](a){const q=a48k,b=a[q(0x179)]()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0x16e)](0x1);if(c===q(0x167))return null;if(c==='maka')return q(0x161);if(c===q(0x18b))return this[q(0x175)]();if(c===q(0x16b))return'';const e={'actor':this[q(0x17a)],'rooms':this['scene'][q(0x184)](),'scene':this[q(0x171)]},f=CommandFactory[q(0x174)](c,e);if(f){const g=f['execute'](d);return g;}return q(0x162)+c+'\x22.';}[a48k(0x175)](){const r=a48k,a=CommandFactory[r(0x163)]();let b=r(0x160);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=r(0x186),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
1
+ const a48j=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x172))/0x1*(parseInt(h(0x158))/0x2)+parseInt(h(0x174))/0x3+-parseInt(h(0x17e))/0x4*(parseInt(h(0x151))/0x5)+-parseInt(h(0x164))/0x6*(parseInt(h(0x16e))/0x7)+parseInt(h(0x166))/0x8*(parseInt(h(0x153))/0x9)+parseInt(h(0x156))/0xa+parseInt(h(0x15a))/0xb*(-parseInt(h(0x15b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x8e2b5));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const i=a48d;return a48a['toString']()[i(0x170)](i(0x160))['toString']()[i(0x173)](a48a)['search'](i(0x160));});a48a();import{Scene}from'./models/scene.js';function a48c(){const q=['unlock','hasOwnProperty','-\x20quit:\x20Exit\x20the\x20game.\x0a','registerCommands','solve','scene','777686hUyuIJ','getDescription','search','getHelpMessage','13EeEaLD','constructor','2445213RKrBFN','look','quit','use','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','unequip','help','-\x20clear:\x20Clear\x20the\x20screen.\x0a','equip','lock','5996WMELoa','player','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','2710zXPwCz','initialize','63xbuzjS','currentLocation','rooms','11163300ufWOqW','registerCommand','109474iBSlhM','getWelcomeMessage','2926YQmzya','62820ctzkRj','currentRoom','Available\x20Commands:\x0a','getAllRegisteredCommands','determineStartRoom','(((.+)+)+)+$','slice','execute','say','6xXKAPh','split','291896oTEqHB','getInstance'];a48c=function(){return q;};return a48c();}import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x151;let f=c[d];return f;},a48d(a,b);}import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a48j(0x16d)];[a48j(0x17f)];[a48j(0x15c)];[a48j(0x155)];constructor(a,b){const k=a48j;this[k(0x17f)]=a,this[k(0x16d)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x16d)][k(0x152)](),this[k(0x17f)][k(0x154)]=this['determineStartRoom'](),this[k(0x16b)]();}[a48j(0x16b)](){const l=a48j;CommandFactory['registerCommand'](l(0x175),LookCommand),CommandFactory[l(0x157)]('go',GoCommand),CommandFactory[l(0x157)]('take',TakeCommand),CommandFactory[l(0x157)](l(0x177),UseCommand),CommandFactory[l(0x157)](l(0x17c),EquipCommand),CommandFactory[l(0x157)](l(0x179),UnequipCommand),CommandFactory[l(0x157)](l(0x16c),SolveCommand),CommandFactory['registerCommand']('drop',DropCommand),CommandFactory[l(0x157)](l(0x168),UnlockCommand),CommandFactory['registerCommand'](l(0x17d),LockCommand),CommandFactory['registerCommand']('search',SearchCommand),CommandFactory['registerCommand'](l(0x163),SayCommand);}[a48j(0x15f)](){const m=a48j;return this[m(0x16d)][m(0x15f)]();}[a48j(0x159)](){const n=a48j;return'Welcome,\x20'+this[n(0x17f)]['name'];}static[a48j(0x167)](a,b){return!Game['instance']&&(Game['instance']=new Game(a,b)),Game['instance'];}['handleInput'](a){const o=a48j,b=a['trim']()[o(0x165)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[o(0x161)](0x1);if(c===o(0x176))return null;if(c==='maka')return o(0x178);if(c===o(0x17a))return this['getHelpMessage']();if(c==='clear')return'';const e={'actor':this[o(0x17f)],'rooms':this[o(0x16d)]['getRooms'](),'scene':this[o(0x16d)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[o(0x162)](d);return g;}return o(0x180)+c+'\x22.';}[a48j(0x171)](){const p=a48j,a=CommandFactory[p(0x15e)]();let b=p(0x15d);for(const c in a){if(a[p(0x169)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[p(0x16f)]()+'\x0a';}}return b+=p(0x17b),b+=p(0x16a),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x14f))/0x1+parseInt(f(0x159))/0x2+-parseInt(f(0x155))/0x3*(parseInt(f(0x14e))/0x4)+-parseInt(f(0x15a))/0x5*(-parseInt(f(0x14d))/0x6)+parseInt(f(0x152))/0x7*(parseInt(f(0x157))/0x8)+-parseInt(f(0x150))/0x9*(parseInt(f(0x153))/0xa)+-parseInt(f(0x14c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x6d781));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x14b;var f=c[d];return f;},a49d(a,b);}function a49c(){var i=['toString','479270eQGjjM','45324hgrvFZ','272EwHcAB','515893ygySbG','213633qRXCWQ','search','7XyoLmX','230LkCpnx','(((.+)+)+)+$','31041ReAeXe','apply','3509048mBGoYk','constructor','501288vKVuKU','355MpkmTW'];a49c=function(){return i;};return a49c();}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x156)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x14b)]()[h(0x151)]('(((.+)+)+)+$')['toString']()[h(0x158)](a49a)[h(0x151)](h(0x154));});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(0x1f0))/0x1+-parseInt(f(0x1f7))/0x2+-parseInt(f(0x1f3))/0x3+parseInt(f(0x1f1))/0x4*(parseInt(f(0x1ef))/0x5)+parseInt(f(0x1ee))/0x6+parseInt(f(0x1f5))/0x7*(parseInt(f(0x1ec))/0x8)+parseInt(f(0x1f4))/0x9*(parseInt(f(0x1f8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xcf03c));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1ed)]()['search'](h(0x1f9))[h(0x1ed)]()[h(0x1f6)](a49a)[h(0x1f2)](h(0x1f9));});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1eb;var f=c[d];return f;},a49d(a,b);}export*from'./player.js';function a49c(){var i=['(((.+)+)+)+$','apply','112QWytaO','toString','3671574nPJouI','79145FtMUMo','791324txhEum','136SJquvW','search','842610ufXoyP','4437noQAjz','505883lfEbkU','constructor','2224786wITPPp','17660LATDgu'];a49c=function(){return i;};return a49c();}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a50h=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0x8c))/0x1*(-parseInt(f(0x87))/0x2)+parseInt(f(0x8a))/0x3+-parseInt(f(0x8f))/0x4*(-parseInt(f(0x8b))/0x5)+parseInt(f(0x80))/0x6*(parseInt(f(0x82))/0x7)+-parseInt(f(0x90))/0x8*(parseInt(f(0x81))/0x9)+-parseInt(f(0x7f))/0xa*(parseInt(f(0x89))/0xb)+parseInt(f(0x7c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xe797f));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var g=a50d;return a50a['toString']()[g(0x83)](g(0x96))[g(0x7d)]()[g(0x79)](a50a)[g(0x83)](g(0x96));});function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x79;var f=c[d];return f;},a50d(a,b);}a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a50c(){var n=['24nOMWxA','\x20and\x20','getOtherSide','checkIfLocked','.\x20Used:\x20','checkIfLockable','(((.+)+)+)+$','unlockItemOrSolution','roomA','constructor','To\x20','write','4980480cPquPq','toString','roomB','1007900SraEkg','744138viNdSx','3587139qCrhzQ','49POHQQT','search','name','isLockable','.\x20Is\x20Locked:\x20','67504wislqo','isLocked','11ltGxTM','2186169dHsnPD','2853530UeFzHX','10itGazu','Door\x20unlocked:\x20','logger','4pVICaW'];a50c=function(){return n;};return a50c();}export class Door extends AbstractDoor{['roomA'];[a50h(0x7e)];[a50h(0x88)];[a50h(0x97)];[a50h(0x84)];[a50h(0x8e)];['isLockable'];constructor(a){var i=a50h;super(),this[i(0x98)]=a['roomA'],this['roomB']=a['roomB'],this[i(0x88)]=a[i(0x88)]||![],this[i(0x97)]=a[i(0x97)],this[i(0x84)]=a[i(0x84)]?capitalCase(a[i(0x84)]):i(0x7a)+a[i(0x7e)][i(0x84)],this[i(0x8e)]=Logger['getInstance'](),this[i(0x85)]=!!a[i(0x97)],this['logger']['write']('Door\x20created\x20between\x20'+this[i(0x98)][i(0x84)]+i(0x91)+this[i(0x7e)][i(0x84)]+i(0x86)+this['isLocked']);}[a50h(0x92)](a){var j=a50h;return this['roomA']===a?this['roomB']:this[j(0x98)];}['attemptUnlock'](a){var k=a50h;if(this[k(0x88)]&&this['unlockItemOrSolution']&&this[k(0x97)]===a)return this['isLocked']=![],this[k(0x8e)]['write'](k(0x8d)+this['name']+k(0x94)+a),!![];return this[k(0x8e)][k(0x7b)]('Failed\x20to\x20unlock\x20door:\x20'+this[k(0x84)]+k(0x94)+a),![];}[a50h(0x93)](){var l=a50h;return this[l(0x88)];}[a50h(0x95)](){var m=a50h;return this[m(0x85)];}}
1
+ function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x1bc;var f=c[d];return f;},a50d(a,b);}var a50h=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0x1d4))/0x1*(parseInt(f(0x1be))/0x2)+-parseInt(f(0x1c2))/0x3+-parseInt(f(0x1bd))/0x4*(-parseInt(f(0x1c3))/0x5)+parseInt(f(0x1d9))/0x6+parseInt(f(0x1d7))/0x7*(-parseInt(f(0x1c5))/0x8)+-parseInt(f(0x1cf))/0x9*(parseInt(f(0x1c9))/0xa)+parseInt(f(0x1da))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x66925));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var g=a50d;return a50a[g(0x1c0)]()[g(0x1c8)](g(0x1d5))['toString']()[g(0x1cb)](a50a)[g(0x1c8)](g(0x1d5));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a50c(){var n=['Door\x20created\x20between\x20','117kbdKyg','name','checkIfLocked','To\x20','roomB','1ZRosRk','(((.+)+)+)+$','.\x20Is\x20Locked:\x20','189ljQsAk','checkIfLockable','40116OuViUF','20112301SbYmkX','isLocked','roomA','getInstance','60GqicLB','880084HAJzFh','Failed\x20to\x20unlock\x20door:\x20','toString','\x20and\x20','2165259lFTebA','97490mdCTdW','.\x20Used:\x20','211272wjfwGT','unlockItemOrSolution','write','search','548200phHZAu','logger','constructor','attemptUnlock','isLockable'];a50c=function(){return n;};return a50c();}export class Door extends AbstractDoor{['roomA'];[a50h(0x1d3)];[a50h(0x1db)];[a50h(0x1c6)];[a50h(0x1d0)];[a50h(0x1ca)];[a50h(0x1cd)];constructor(a){var i=a50h;super(),this['roomA']=a['roomA'],this[i(0x1d3)]=a[i(0x1d3)],this[i(0x1db)]=a[i(0x1db)]||![],this['unlockItemOrSolution']=a[i(0x1c6)],this[i(0x1d0)]=a['name']?capitalCase(a[i(0x1d0)]):i(0x1d2)+a[i(0x1d3)]['name'],this[i(0x1ca)]=Logger[i(0x1bc)](),this['isLockable']=!!a[i(0x1c6)],this[i(0x1ca)][i(0x1c7)](i(0x1ce)+this[i(0x1dc)][i(0x1d0)]+i(0x1c1)+this[i(0x1d3)]['name']+i(0x1d6)+this['isLocked']);}['getOtherSide'](a){var j=a50h;return this[j(0x1dc)]===a?this[j(0x1d3)]:this['roomA'];}[a50h(0x1cc)](a){var k=a50h;if(this[k(0x1db)]&&this[k(0x1c6)]&&this[k(0x1c6)]===a)return this[k(0x1db)]=![],this['logger'][k(0x1c7)]('Door\x20unlocked:\x20'+this[k(0x1d0)]+'.\x20Used:\x20'+a),!![];return this[k(0x1ca)][k(0x1c7)](k(0x1bf)+this[k(0x1d0)]+k(0x1c4)+a),![];}[a50h(0x1d1)](){var l=a50h;return this[l(0x1db)];}[a50h(0x1d8)](){var m=a50h;return this[m(0x1cd)];}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x173))/0x1+-parseInt(f(0x179))/0x2+-parseInt(f(0x17c))/0x3+parseInt(f(0x18d))/0x4+parseInt(f(0x175))/0x5+-parseInt(f(0x170))/0x6*(parseInt(f(0x18a))/0x7)+parseInt(f(0x171))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x1900a));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x16d)]()['search'](h(0x18f))[h(0x16d)]()['constructor'](a51a)[h(0x187)](h(0x18f));});function a51c(){const r=['write','\x20to\x20inventory.','7QffMXX','join','Failed\x20to\x20remove\x20item:\x20','703016azkRur','toLowerCase','(((.+)+)+)+$','set','removeItem','logger','toString','getWeight','listItems','99366pPjVHJ','1946152mWFRdy','.\x20Item\x20not\x20found.','76125oCUxWI','has','319910pqJpWo','weight','hasItem','getItem','239026NiwDwv','items','values','505188PtsQHS','getAllItems','delete','Checked\x20for\x20item:\x20','get','addItem','Removed\x20item:\x20','apply','keys','name','Added\x20item:\x20','search'];a51c=function(){return r;};return a51c();}a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x16d;let f=c[d];return f;},a51d(a,b);}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x17a)];[a51i(0x192)];constructor(){const j=a51i;super(),this['items']=new Map(),this[j(0x192)]=Logger['getInstance']();}[a51i(0x181)](a){const k=a51i;this[k(0x17a)][k(0x190)](a[k(0x185)]['toLowerCase'](),a),this[k(0x192)][k(0x188)](k(0x186)+a['name']+k(0x189));}[a51i(0x191)](a){const l=a51i,b=this[l(0x178)](a);if(b)return this[l(0x17a)][l(0x17e)](a[l(0x18e)]()),this[l(0x192)]['write'](l(0x182)+a+'\x20from\x20inventory.'),b;return this['logger']['write'](l(0x18c)+a+l(0x172)),null;}[a51i(0x177)](a){const m=a51i,b=this[m(0x17a)][m(0x174)](a[m(0x18e)]()),c=[...this[m(0x17a)][m(0x184)]()];return this[m(0x192)][m(0x188)](m(0x17f)+a+'\x20in\x20'+c[m(0x18b)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a51i(0x178)](a){const n=a51i,b=this[n(0x17a)][n(0x180)](a[n(0x18e)]())||null;return b?this[n(0x192)][n(0x188)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this['logger']['write']('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),b;}[a51i(0x16f)](){const o=a51i,a=[...this[o(0x17a)]['keys']()],b=a['map'](c=>capitalCase(c));return this[o(0x192)][o(0x188)]('Listed\x20items\x20in\x20inventory:\x20'+b[o(0x18b)](',\x20')+'.'),a;}[a51i(0x16e)](){const p=a51i;let a=0x0;for(const b of this[p(0x17a)][p(0x17b)]()){a+=b[p(0x176)];}return a;}[a51i(0x17d)](){const q=a51i;return[...this[q(0x17a)]['values']()];}}
1
+ const a51i=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xc9;let f=c[d];return f;},a51d(a,b);}function a51c(){const r=['items','logger','toString','Checked\x20for\x20item:\x20','\x20in\x20','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','apply','Added\x20item:\x20','getInstance','map','get','286905wkKwdn','weight','name','set','write','keys','27iPVUeR','Failed\x20to\x20remove\x20item:\x20','1976600AVIBes','8sCBkxL','156oDpTQd','\x20from\x20inventory.','toLowerCase','join','getItem','addItem','446MKwZWm','Retrieved\x20details\x20for\x20item:\x20','.\x20Item\x20not\x20found.','501547jVXiRj','values','(((.+)+)+)+$','getWeight','2544647ihJwAF','14534685VAHyAx','8VOfhIE','6032970CyfgyB','Listed\x20items\x20in\x20inventory:\x20','\x20to\x20inventory.','search','.\x20Exists:\x20','has'];a51c=function(){return r;};return a51c();}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0xcc))/0x1+-parseInt(f(0xc9))/0x2*(parseInt(f(0xee))/0x3)+-parseInt(f(0xd2))/0x4*(parseInt(f(0xe4))/0x5)+-parseInt(f(0xd3))/0x6+-parseInt(f(0xd0))/0x7*(-parseInt(f(0xed))/0x8)+-parseInt(f(0xea))/0x9*(-parseInt(f(0xec))/0xa)+parseInt(f(0xd1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x9d554));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xdb)]()[h(0xd6)](h(0xce))['toString']()['constructor'](a51a)[h(0xd6)](h(0xce));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0xd9)];['logger'];constructor(){const j=a51i;super(),this[j(0xd9)]=new Map(),this[j(0xda)]=Logger[j(0xe1)]();}[a51i(0xf3)](a){const k=a51i;this['items'][k(0xe7)](a[k(0xe6)][k(0xf0)](),a),this[k(0xda)][k(0xe8)](k(0xe0)+a[k(0xe6)]+k(0xd5));}['removeItem'](a){const l=a51i,b=this[l(0xf2)](a);if(b)return this[l(0xd9)]['delete'](a[l(0xf0)]()),this[l(0xda)][l(0xe8)]('Removed\x20item:\x20'+a+l(0xef)),b;return this[l(0xda)][l(0xe8)](l(0xeb)+a+l(0xcb)),null;}['hasItem'](a){const m=a51i,b=this[m(0xd9)][m(0xd8)](a[m(0xf0)]()),c=[...this[m(0xd9)][m(0xe9)]()];return this['logger'][m(0xe8)](m(0xdc)+a+m(0xdd)+c[m(0xf1)](',\x20')+m(0xd7)+b+'.'),b;}[a51i(0xf2)](a){const n=a51i,b=this[n(0xd9)][n(0xe3)](a[n(0xf0)]())||null;return b?this[n(0xda)][n(0xe8)](n(0xca)+a+'.'):this[n(0xda)][n(0xe8)](n(0xde)+a+n(0xcb)),b;}['listItems'](){const o=a51i,a=[...this[o(0xd9)][o(0xe9)]()],b=a[o(0xe2)](c=>capitalCase(c));return this[o(0xda)][o(0xe8)](o(0xd4)+b[o(0xf1)](',\x20')+'.'),a;}[a51i(0xcf)](){const p=a51i;let a=0x0;for(const b of this[p(0xd9)][p(0xcd)]()){a+=b[p(0xe5)];}return a;}['getAllItems'](){const q=a51i;return[...this[q(0xd9)][q(0xcd)]()];}}
@@ -1 +1 @@
1
- function a52c(){var l=['uuid','758418wzUVJD','name','.\x20Nothing\x20special\x20happens.','constructor','toString','1270952eFxdYW','4392bQMPvs','shape','rating','color','size','use','664937xRwupj','443110bDIoRU','apply','16070ranYxB','65iQMrwL','24fzmAQO','search','(((.+)+)+)+$','weight','category','texture','3317556FTpoRp','10254vclxjg','description'];a52c=function(){return l;};return a52c();}var a52i=a52d;function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1ed;var f=c[d];return f;},a52d(a,b);}(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x203))/0x1*(-parseInt(f(0x1f0))/0x2)+-parseInt(f(0x1f3))/0x3+parseInt(f(0x1f8))/0x4+-parseInt(f(0x200))/0x5+parseInt(f(0x1ef))/0x6+parseInt(f(0x1ff))/0x7*(parseInt(f(0x204))/0x8)+-parseInt(f(0x1f9))/0x9*(parseInt(f(0x202))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x58af0));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x201)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1f7)]()[h(0x205)](h(0x206))[h(0x1f7)]()[h(0x1f6)](a52a)[h(0x205)]('(((.+)+)+)+$');});a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0x1f2)];['name'];[a52i(0x1f1)];[a52i(0x1fd)];[a52i(0x1ed)];[a52i(0x1fa)];['color'];[a52i(0x1ee)];[a52i(0x1fb)];[a52i(0x207)];constructor(a){var j=a52i;super(),this[j(0x1f4)]=a[j(0x1f4)],this['description']=a[j(0x1f1)],this[j(0x1fd)]=a[j(0x1fd)],this['category']=a[j(0x1ed)],this['shape']=a[j(0x1fa)],this['color']=a[j(0x1fc)],this[j(0x1ee)]=a[j(0x1ee)],this[j(0x1fb)]=a[j(0x1fb)],this[j(0x207)]=a['weight'],this['uuid']=a52e();}[a52i(0x1fe)](){var k=a52i;return'You\x20use\x20the\x20'+this[k(0x1f4)]+k(0x1f5);}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xe0))/0x1+-parseInt(f(0xd7))/0x2+parseInt(f(0xda))/0x3*(-parseInt(f(0xca))/0x4)+parseInt(f(0xdb))/0x5*(-parseInt(f(0xd9))/0x6)+-parseInt(f(0xe1))/0x7*(parseInt(f(0xce))/0x8)+parseInt(f(0xdc))/0x9+parseInt(f(0xd8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x59b90));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xdd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xcc)]()[h(0xd4)](h(0xd2))[h(0xcc)]()[h(0xcf)](a52a)[h(0xd4)](h(0xd2));});a52a();import{v4 as a52e}from'uuid';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xca;var f=c[d];return f;},a52d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0xe2)];[a52i(0xd0)];[a52i(0xd3)];[a52i(0xd5)];[a52i(0xdf)];[a52i(0xcb)];[a52i(0xd6)];[a52i(0xde)];[a52i(0xe4)];[a52i(0xcd)];constructor(a){var j=a52i;super(),this['name']=a[j(0xd0)],this['description']=a[j(0xd3)],this[j(0xd5)]=a['size'],this[j(0xdf)]=a[j(0xdf)],this['shape']=a[j(0xcb)],this['color']=a['color'],this[j(0xde)]=a[j(0xde)],this[j(0xe4)]=a['rating'],this[j(0xcd)]=a[j(0xcd)],this[j(0xe2)]=a52e();}[a52i(0xd1)](){var k=a52i;return k(0xe3)+this[k(0xd0)]+'.\x20Nothing\x20special\x20happens.';}}function a52c(){var l=['278135qzvqst','4465278uIdlwF','apply','texture','category','205231ehYDUG','7nrZEdZ','uuid','You\x20use\x20the\x20','rating','348ketAZI','shape','toString','weight','483304GOXrFh','constructor','name','use','(((.+)+)+)+$','description','search','size','color','127992rtWtwf','5616660XIAqRi','54XctMhn','9327wJyXvw'];a52c=function(){return l;};return a52c();}
@@ -1 +1 @@
1
- const a53i=a53d;function a53c(){const o=['speak','execute','apply','_dialogue','moveTo','63jZHkYb','scene','1876690eJyTBi','1232144PoHwII','floor','16aoSeSr','toString','9084yBzhJn','982854XgdqrB','random','503050YVQWbI','24eLRUvG','250208OQDHAD','_name','rooms','4767mTHRRU','name','12682945NdWXsB','(((.+)+)+)+$','search'];a53c=function(){return o;};return a53c();}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x99))/0x1+-parseInt(f(0x9d))/0x2*(-parseInt(f(0x9c))/0x3)+-parseInt(f(0x96))/0x4*(-parseInt(f(0x93))/0x5)+parseInt(f(0x98))/0x6*(-parseInt(f(0x87))/0x7)+-parseInt(f(0x94))/0x8+-parseInt(f(0x91))/0x9*(parseInt(f(0x9b))/0xa)+-parseInt(f(0x89))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xc20e8));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x97)]()[h(0x8b)](h(0x8a))[h(0x97)]()['constructor'](a53a)[h(0x8b)](h(0x8a));});a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x86;let f=c[d];return f;},a53d(a,b);}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];['_dialogue'];[a53i(0x86)];[a53i(0x92)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x9e)]=a,this[j(0x8f)]=b,this[j(0x86)]=c;}get[a53i(0x88)](){const k=a53i;return this[k(0x9e)];}[a53i(0x8c)](){const l=a53i;return this[l(0x8f)][Math[l(0x95)](Math[l(0x9a)]()*this[l(0x8f)]['length'])];}['autonomousMove'](a){const m=a53i,b=a[Math[m(0x95)](Math[m(0x9a)]()*a['length'])];this[m(0x90)](b[m(0x88)]);}[a53i(0x90)](a){const n=a53i,b={'actor':this,'rooms':this['rooms'],'scene':this[n(0x92)]},c=new GoCommand(b);c[n(0x8d)]([a]);}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x106))/0x1*(-parseInt(f(0x118))/0x2)+parseInt(f(0x10d))/0x3+parseInt(f(0x117))/0x4*(-parseInt(f(0x108))/0x5)+-parseInt(f(0x11b))/0x6+parseInt(f(0x11c))/0x7+-parseInt(f(0x119))/0x8*(-parseInt(f(0x11a))/0x9)+-parseInt(f(0x111))/0xa*(-parseInt(f(0x10f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xa14c0));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x103;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(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x115)]()[h(0x116)](h(0x103))[h(0x115)]()[h(0x112)](a53a)[h(0x116)](h(0x103));});a53a();import{Player}from'./player.js';function a53c(){const o=['constructor','moveTo','rooms','toString','search','4175144fKelsF','2KHuRSm','21536nCUrIj','189IeZLSz','1604460EIkIHn','4391730yUzygs','scene','(((.+)+)+)+$','_dialogue','autonomousMove','210262LJLiJm','random','5HzVGSG','speak','floor','length','_name','2083509IwrdEB','apply','11nNyYSZ','execute','3831810MzNrjt'];a53c=function(){return o;};return a53c();}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0x10c)];['_dialogue'];[a53i(0x114)];[a53i(0x11d)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x10c)]=a,this[j(0x104)]=b,this[j(0x114)]=c;}get['name'](){const k=a53i;return this[k(0x10c)];}[a53i(0x109)](){const l=a53i;return this['_dialogue'][Math[l(0x10a)](Math[l(0x107)]()*this[l(0x104)][l(0x10b)])];}[a53i(0x105)](a){const m=a53i,b=a[Math[m(0x10a)](Math[m(0x107)]()*a[m(0x10b)])];this[m(0x113)](b['name']);}[a53i(0x113)](a){const n=a53i,b={'actor':this,'rooms':this[n(0x114)],'scene':this[n(0x11d)]},c=new GoCommand(b);c[n(0x110)]([a]);}}
@@ -1 +1 @@
1
- const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0x1c9))/0x1+parseInt(f(0x1bc))/0x2*(-parseInt(f(0x1b8))/0x3)+-parseInt(f(0x1ab))/0x4+-parseInt(f(0x177))/0x5*(parseInt(f(0x188))/0x6)+-parseInt(f(0x1b3))/0x7+parseInt(f(0x18d))/0x8*(-parseInt(f(0x181))/0x9)+parseInt(f(0x197))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x80cf7));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x1c2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x182)]()[h(0x17d)](h(0x1c4))['toString']()[h(0x1c3)](a54a)[h(0x17d)](h(0x1c4));});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x175;let f=c[d];return f;},a54d(a,b);}function a54c(){const B=['currentLocation','Shield','inventoryItems','weight','leg\x20armor','torso','Max\x20carrying\x20weight\x20must\x20be\x20positive.','legs','canEquip','hasItem','You\x20don\x27t\x20have\x20','\x20says:\x20\x22','You\x20equipped\x20','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','leaveRoom','2627316CLsebY','maxCarryingWeight','playerName','rightHand','equip','getInstance','bind','_equipment','656817srAYUv','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','addItem','name','write','15bQtmPB','Gloves','_inventory','boots','188990YMeuLX','_playerName','currentWeight','_currentLocation','You\x20can\x27t\x20equip\x20','determineEquipmentSlot','apply','constructor','(((.+)+)+)+$','LegArmor','\x20is\x20no\x20longer\x20listeng\x20in\x20','Failed\x20to\x20remove\x20','\x20from\x20player\x27s\x20inventory.','886430IgRiLU','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','equipment','bodyarmor','addInventory','Added\x20','gloves','log','ArmArmor','Hat','enterRoom','1000535NmeRSP','toLowerCase','\x20in\x20your\x20inventory.','removeInventory','startLocation','arms','search','Boots','head','unequip','2601vGesNq','toString','logger','_maxCarryingWeight','hat','speak','Removed\x20','18UTcVoa','body\x20armor','values','BodyArmor','removeItem','4208fHjJaX','feet','legarmor','Weapon','weapon','leftHand','Nexus','initialEquipment','\x20to\x20player\x27s\x20inventory.','category','33895070cMvqss','shield','unequipBySlot','hear'];a54c=function(){return B;};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(0x1bd)];[a54i(0x1bf)];[a54i(0x1ba)];[a54i(0x1b2)];[a54i(0x184)]=0x32;['logger'];constructor(a){const j=a54i;super(),this['_playerName']=a[j(0x1ad)],this['_currentLocation']=a[j(0x17b)]||new Room({'name':j(0x193),'description':'A\x20featureless\x20room'}),this[j(0x1ba)]=new Inventory(),this[j(0x183)]=Logger[j(0x1b0)]();if(a?.[j(0x19d)])for(const b of a[j(0x19d)]){this[j(0x1ba)][j(0x1b5)](b);}this[j(0x1b2)]=a?.[j(0x194)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x1b6)](){return this['_playerName'];}get[a54i(0x19b)](){const k=a54i;return this[k(0x1bf)];}set[a54i(0x19b)](a){const l=a54i;this[l(0x1bf)]!==a&&(this[l(0x1aa)](),this[l(0x176)](a)),this[l(0x1bf)]=a;}get['inventory'](){const m=a54i;return this[m(0x1ba)];}get[a54i(0x1cb)](){const n=a54i;return this[n(0x1b2)];}set[a54i(0x1cb)](a){const o=a54i;this[o(0x1b2)]=a;}get['maxCarryingWeight'](){return this['_maxCarryingWeight'];}set[a54i(0x1ac)](a){const p=a54i;a>0x0?this[p(0x184)]=a:console['error'](p(0x1a1));}get[a54i(0x1be)](){const q=a54i;let a=this['_inventory']['getWeight']();for(const b in this[q(0x1b2)]){const c=this['_equipment'][b];c&&(a+=c[q(0x19e)]);}return a;}['addInventory'](a){const r=a54i;if(this[r(0x1be)]+a[r(0x19e)]>this[r(0x1ac)]){this[r(0x183)][r(0x1b7)](r(0x1ca));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[r(0x1ba)][r(0x1b5)](a),this[r(0x183)]['write'](r(0x1ce)+a[r(0x1b6)]+r(0x195));}[a54i(0x17a)](a){const s=a54i;if(this['_inventory'][s(0x18c)](a[s(0x1b6)]))return this[s(0x183)]['write'](s(0x187)+a[s(0x1b6)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[s(0x183)][s(0x1b7)](s(0x1c7)+a[s(0x1b6)]+s(0x1c8)),![];}[a54i(0x1af)](a){const t=a54i;if(!this[t(0x1ba)][t(0x1a4)](a[t(0x1b6)]))return t(0x1a5)+a['name']+t(0x179);if(!this[t(0x1a3)](a))return t(0x1c0)+a[t(0x1b6)]+'.';const b=this[t(0x1c1)](a[t(0x196)]);if(!b)return a['name']+t(0x1b4);if(this[t(0x1cb)][b])return t(0x1a9)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[t(0x1cb)][b]=a,this[t(0x17a)](a),t(0x1a7)+a['name']+'.';}[a54i(0x180)](a){const u=a54i;let b=a;if(!this[u(0x1cb)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[u(0x199)](b);}[a54i(0x1c1)](a){const v=a54i;switch(a[v(0x178)]()){case Category[v(0x190)][v(0x178)]():return v(0x1ae);case Category[v(0x19c)][v(0x178)]():return v(0x192);case Category[v(0x1b9)]['toLowerCase']():return'gloves';case Category['Helmet'][v(0x178)]():case Category[v(0x175)][v(0x178)]():return v(0x17f);case Category[v(0x17e)][v(0x178)]():return v(0x18e);case Category[v(0x1c5)][v(0x178)]():return'legs';case Category[v(0x1d1)][v(0x178)]():return v(0x17c);case Category[v(0x18b)][v(0x178)]():return'torso';case v(0x191):return v(0x1ae);case v(0x198):return v(0x192);case v(0x1cf):return v(0x1cf);case'helmet':case v(0x185):return v(0x17f);case v(0x1bb):return v(0x18e);case v(0x19f):case v(0x18f):return v(0x1a2);case'arm\x20armor':case'armarmor':return'arms';case v(0x189):case v(0x1cc):case'torso':return v(0x1a0);default:return null;}}[a54i(0x1a3)](a){const w=a54i;return Object[w(0x18a)](Category)['includes'](a[w(0x196)]);}[a54i(0x199)](a){const x=a54i,b=this['equipment'][a];if(!b)return x(0x1a8)+a+'\x20slot.';return this[x(0x1cd)](b),this[x(0x1cb)][a]=null,'You\x20unequipped\x20'+b[x(0x1b6)]+'.';}[a54i(0x19a)](a,b){const y=a54i;a!==this&&this[y(0x183)][y(0x1d0)](a[y(0x1b6)]+y(0x1a6)+b+'\x22');}[a54i(0x176)](a){const z=a54i;this[z(0x1bf)]=a,a['on'](z(0x186),this[z(0x19a)]['bind'](this)),this[z(0x183)][z(0x1b7)](this['name']+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[z(0x1b6)]);}[a54i(0x1aa)](){const A=a54i;this[A(0x1bf)]&&(this[A(0x1bf)]['off'](A(0x186),this[A(0x19a)][A(0x1b1)](this)),this[A(0x183)]['write'](this[A(0x1b6)]+A(0x1c6)+this['_currentLocation'][A(0x1b6)]));}}
1
+ const a54i=a54d;function a54c(){const A=['head','apply','Hat','1330772kTfRrv','Failed\x20to\x20remove\x20','leaveRoom','addItem','toLowerCase','search','2333562YbvVXo','getInstance','maxCarryingWeight','63tYGgly','enterRoom','leftHand','log','You\x20equipped\x20','5008nayPlP','18248dSHXYy','initialEquipment','\x20from\x20player\x27s\x20inventory.','\x20is\x20no\x20longer\x20listeng\x20in\x20','getWeight','_equipment','Shield','.\x20You\x20must\x20unequip\x20it\x20first.','write','bodyarmor','helmet','leg\x20armor','shield','445852OiYMDD','Weapon','currentWeight','logger','(((.+)+)+)+$','You\x20can\x27t\x20equip\x20','constructor','canEquip','torso','toString','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','body\x20armor','startLocation','Max\x20carrying\x20weight\x20must\x20be\x20positive.','determineEquipmentSlot','category','12194842mOZIrY','values','225309mSETNM','error','legs','\x20in\x20your\x20inventory.','equip','removeInventory','speak','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','20OHvGCZ','_maxCarryingWeight','legarmor','rightHand','18CJjtUq','LegArmor','Gloves','You\x20don\x27t\x20have\x20','bind','hear','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','Invalid\x20category\x20or\x20slot:\x20','equipment','2745QAxLdJ','hasItem','hat','\x20says:\x20\x22','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','addInventory','\x20is\x20now\x20listening\x20in\x20room\x20','\x20slot.','boots','gloves','name','Helmet','arm\x20armor','unequipBySlot','includes','_currentLocation','playerName','_inventory','arms','_playerName','A\x20featureless\x20room','You\x20unequipped\x20','currentLocation','feet','Boots','ArmArmor','Removed\x20'];a54c=function(){return A;};return a54c();}(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x8e))/0x1+parseInt(f(0xd3))/0x2+parseInt(f(0xd9))/0x3+-parseInt(f(0x80))/0x4*(-parseInt(f(0xb5))/0x5)+parseInt(f(0xac))/0x6*(parseInt(f(0xa0))/0x7)+parseInt(f(0x81))/0x8*(-parseInt(f(0x7b))/0x9)+-parseInt(f(0xa8))/0xa*(parseInt(f(0x9e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x6b5ee));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0xd1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x97)]()[h(0xd8)](h(0x92))['toString']()[h(0x94)](a54a)[h(0xd8)](h(0x92));});a54a();import{camelCase}from'change-case';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x7a;let f=c[d];return f;},a54d(a,b);}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];[a54i(0xc4)];[a54i(0xc6)];[a54i(0x86)];[a54i(0xa9)]=0x32;[a54i(0x91)];constructor(a){const j=a54i;super(),this['_playerName']=a[j(0xc5)],this[j(0xc4)]=a[j(0x9a)]||new Room({'name':'Nexus','description':j(0xc9)}),this[j(0xc6)]=new Inventory(),this[j(0x91)]=Logger[j(0xda)]();if(a?.['inventoryItems'])for(const b of a['inventoryItems']){this[j(0xc6)][j(0xd6)](b);}this[j(0x86)]=a?.[j(0x82)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a54i;return this[k(0xc8)];}get[a54i(0xcb)](){const l=a54i;return this[l(0xc4)];}set[a54i(0xcb)](a){const m=a54i;this['_currentLocation']!==a&&(this['leaveRoom'](),this[m(0x7c)](a)),this[m(0xc4)]=a;}get['inventory'](){return this['_inventory'];}get[a54i(0xb4)](){const n=a54i;return this[n(0x86)];}set[a54i(0xb4)](a){this['_equipment']=a;}get[a54i(0x7a)](){return this['_maxCarryingWeight'];}set['maxCarryingWeight'](a){const o=a54i;a>0x0?this[o(0xa9)]=a:console[o(0xa1)](o(0x9b));}get[a54i(0x90)](){const p=a54i;let a=this[p(0xc6)][p(0x85)]();for(const b in this[p(0x86)]){const c=this['_equipment'][b];c&&(a+=c['weight']);}return a;}[a54i(0xba)](a){const q=a54i;if(this[q(0x90)]+a['weight']>this['maxCarryingWeight']){this[q(0x91)][q(0x89)](q(0x98));throw new Error(q(0xb9));}this[q(0xc6)][q(0xd6)](a),this[q(0x91)]['write']('Added\x20'+a[q(0xbf)]+'\x20to\x20player\x27s\x20inventory.');}[a54i(0xa5)](a){const r=a54i;if(this[r(0xc6)]['removeItem'](a[r(0xbf)]))return this[r(0x91)][r(0x89)](r(0xcf)+a[r(0xbf)]+r(0x83)),!![];return this[r(0x91)][r(0x89)](r(0xd4)+a[r(0xbf)]+r(0x83)),![];}[a54i(0xa4)](a){const s=a54i;if(!this[s(0xc6)][s(0xb6)](a[s(0xbf)]))return s(0xaf)+a[s(0xbf)]+s(0xa3);if(!this[s(0x95)](a))return s(0x93)+a[s(0xbf)]+'.';const b=this[s(0x9c)](a[s(0x9d)]);if(!b)return a[s(0xbf)]+s(0xb2);if(this[s(0xb4)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+s(0x88);return this[s(0xb4)][b]=a,this[s(0xa5)](a),s(0x7f)+a[s(0xbf)]+'.';}['unequip'](a){const t=a54i;let b=a;if(!this['equipment'][camelCase(b)]){b=this[t(0x9c)](a);if(!b)return t(0xb3)+a+'.';}return this[t(0xc2)](b);}[a54i(0x9c)](a){const u=a54i;switch(a['toLowerCase']()){case Category[u(0x8f)][u(0xd7)]():return u(0xab);case Category[u(0x87)][u(0xd7)]():return'leftHand';case Category[u(0xae)][u(0xd7)]():return u(0xbe);case Category[u(0xc0)][u(0xd7)]():case Category[u(0xd2)][u(0xd7)]():return u(0xd0);case Category[u(0xcd)][u(0xd7)]():return u(0xcc);case Category[u(0xad)][u(0xd7)]():return u(0xa2);case Category[u(0xce)][u(0xd7)]():return u(0xc7);case Category['BodyArmor'][u(0xd7)]():return u(0x96);case'weapon':return u(0xab);case u(0x8d):return u(0x7d);case u(0xbe):return u(0xbe);case u(0x8b):case u(0xb7):return u(0xd0);case u(0xbd):return'feet';case u(0x8c):case u(0xaa):return'legs';case u(0xc1):case'armarmor':return u(0xc7);case u(0x99):case u(0x8a):case'torso':return u(0x96);default:return null;}}['canEquip'](a){const v=a54i;return Object[v(0x9f)](Category)[v(0xc3)](a[v(0x9d)]);}[a54i(0xc2)](a){const w=a54i,b=this['equipment'][a];if(!b)return w(0xa7)+a+w(0xbc);return this[w(0xba)](b),this[w(0xb4)][a]=null,w(0xca)+b[w(0xbf)]+'.';}[a54i(0xb1)](a,b){const x=a54i;a!==this&&this[x(0x91)][x(0x7e)](a[x(0xbf)]+x(0xb8)+b+'\x22');}['enterRoom'](a){const y=a54i;this[y(0xc4)]=a,a['on'](y(0xa6),this[y(0xb1)]['bind'](this)),this[y(0x91)][y(0x89)](this['name']+y(0xbb)+a[y(0xbf)]);}[a54i(0xd5)](){const z=a54i;this[z(0xc4)]&&(this[z(0xc4)]['off']('speak',this[z(0xb1)][z(0xb0)](this)),this[z(0x91)]['write'](this[z(0xbf)]+z(0x84)+this['_currentLocation'][z(0xbf)]));}}
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x87))/0x1+parseInt(f(0x9b))/0x2+-parseInt(f(0x8a))/0x3+parseInt(f(0x97))/0x4+parseInt(f(0x9f))/0x5+-parseInt(f(0x9c))/0x6*(-parseInt(f(0x85))/0x7)+-parseInt(f(0x89))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xd8d17));function a55c(){var n=['Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','You\x20solved\x20the\x20puzzle!','solved','toString','riddle','failureMessage','requiredPhrase','matchesRequiredPhrase','hasItem','requiredItem','logger','(((.+)+)+)+$','2961564AuwnEk','constructor','search','successMessage','231266DfpkLJ','7938NKFyUS','getInstance','write','3783265MWmDTG','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','solve','apply','hasRequiredItem','4571ToDOec','You\x20have\x20already\x20solved\x20this\x20puzzle.','198406uMQIyX','rewardItem','7487064WWBJCI','1362660Ongbpo'];a55c=function(){return n;};return a55c();}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x84;var f=c[d];return f;},a55d(a,b);}var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0xa2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x8e)]()[h(0x99)](h(0x96))[h(0x8e)]()[h(0x98)](a55a)[h(0x99)](h(0x96));});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55i(0x95)]=Logger[a55i(0x9d)]();['solved']=![];[a55i(0x94)];[a55i(0x91)];['riddle'];[a55i(0x88)];['successMessage'];[a55i(0x90)];constructor(a){var j=a55i;super(),this[j(0x94)]=a['requiredItem'],this['requiredPhrase']=a[j(0x91)],this['riddle']=a[j(0x8f)],this['rewardItem']=a[j(0x88)],this['successMessage']=a[j(0x9a)]||j(0x8c),this[j(0x90)]=a['failureMessage']||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a55i(0x84)](a){var k=a55i;if(this[k(0x94)])return a[k(0x93)](this['requiredItem']);return![];}[a55i(0x92)](a){var l=a55i;return this[l(0x91)]===a;}[a55i(0xa1)](a,b){var m=a55i;if(this[m(0x8d)])return this[m(0x95)][m(0x9e)](m(0xa0)),{'success':![],'message':m(0x86)};return this[m(0x84)](b)||this[m(0x92)](a)?(this[m(0x8d)]=!![],this['logger'][m(0x9e)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[m(0x9a)]}):(this[m(0x95)]['write'](m(0x8b)),{'success':![],'message':this['failureMessage']});}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x1cf))/0x1*(parseInt(f(0x1e6))/0x2)+-parseInt(f(0x1db))/0x3*(-parseInt(f(0x1e9))/0x4)+parseInt(f(0x1e5))/0x5+parseInt(f(0x1eb))/0x6*(-parseInt(f(0x1e2))/0x7)+-parseInt(f(0x1cc))/0x8*(-parseInt(f(0x1da))/0x9)+parseInt(f(0x1dd))/0xa*(-parseInt(f(0x1e7))/0xb)+-parseInt(f(0x1ee))/0xc*(parseInt(f(0x1d9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xdedba));function a55c(){var m=['5241650NxJitp','5898pNVGDZ','77NcxStZ','matchesRequiredPhrase','168invpBM','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','5574dPFQaU','getInstance','riddle','36ljEcvs','831736UUEpGl','requiredItem','logger','162TTFzfV','solve','(((.+)+)+)+$','hasRequiredItem','toString','successMessage','requiredPhrase','You\x20have\x20already\x20solved\x20this\x20puzzle.','rewardItem','solved','8779147zPfJIZ','99RqQqOW','102099mTjlvP','hasItem','702040QwruMO','constructor','apply','failureMessage','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','5040NCszRr','write','search'];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(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x1d3)]()[h(0x1e4)](h(0x1d1))[h(0x1d3)]()[h(0x1de)](a55a)[h(0x1e4)](h(0x1d1));});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1cc;var f=c[d];return f;},a55d(a,b);}export class Puzzle extends AbstractPuzzle{['logger']=Logger[a55i(0x1ec)]();[a55i(0x1d8)]=![];['requiredItem'];[a55i(0x1d5)];[a55i(0x1ed)];[a55i(0x1d7)];['successMessage'];[a55i(0x1e0)];constructor(a){var j=a55i;super(),this[j(0x1cd)]=a[j(0x1cd)],this[j(0x1d5)]=a['requiredPhrase'],this['riddle']=a['riddle'],this[j(0x1d7)]=a[j(0x1d7)],this['successMessage']=a[j(0x1d4)]||'You\x20solved\x20the\x20puzzle!',this[j(0x1e0)]=a[j(0x1e0)]||j(0x1ea);}[a55i(0x1d2)](a){var k=a55i;if(this[k(0x1cd)])return a[k(0x1dc)](this[k(0x1cd)]);return![];}[a55i(0x1e8)](a){return this['requiredPhrase']===a;}[a55i(0x1d0)](a,b){var l=a55i;if(this[l(0x1d8)])return this[l(0x1ce)][l(0x1e3)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':l(0x1d6)};return this[l(0x1d2)](b)||this[l(0x1e8)](a)?(this[l(0x1d8)]=!![],this[l(0x1ce)][l(0x1e3)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[l(0x1d4)]}):(this[l(0x1ce)]['write'](l(0x1e1)),{'success':![],'message':this[l(0x1e0)]});}}
@@ -1 +1 @@
1
- const a56h=a56d;function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x1dd;let f=c[d];return f;},a56d(a,b);}(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x1e4))/0x1*(-parseInt(f(0x211))/0x2)+-parseInt(f(0x206))/0x3*(-parseInt(f(0x1f4))/0x4)+-parseInt(f(0x210))/0x5+parseInt(f(0x20f))/0x6+parseInt(f(0x1e7))/0x7*(-parseInt(f(0x1e3))/0x8)+parseInt(f(0x208))/0x9*(parseInt(f(0x20d))/0xa)+-parseInt(f(0x209))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xd1957));const a56b=(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;};}()),a56a=a56b(this,function(){const g=a56d;return a56a['toString']()['search'](g(0x20a))[g(0x20b)]()[g(0x1fc)](a56a)[g(0x1e6)]('(((.+)+)+)+$');});a56a();import{Logger}from'../utilities/logger.js';function a56c(){const t=['roomA','3klPNfl','puzzle','9XFguyf','10478325HMqLda','(((.+)+)+)+$','toString','.\x20Success:\x20','12906730LWyDug','Item\x20added\x20to\x20room\x20','5984730yhnKoV','591550ISarNK','399122WQxYtI','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','No\x20locked\x20exit\x20found\x20in\x20direction\x20','removeItem','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','getExit','name','emit','checkIfLocked','attemptUnlock','down','setPuzzle','south','get','6402256UpqKex','1HmTGsi','logger','search','7phzHMX','\x20is\x20locked.\x20Result:\x20','isExitLocked','addItem','north','speak','getOppositeDirection','Invalid\x20direction:\x20','findExistingDoor','inventory','NORTH','getInstance','addExit','967732CKlHIK','hasItem','isStartRoom','The\x20','SOUTH','east','exits','description','constructor','INSIDE','Checking\x20if\x20exit\x20in\x20direction\x20','roomB','write','\x20remains\x20locked.','values','set','Fetching\x20exit\x20in\x20direction:\x20'];a56c=function(){return t;};return a56c();}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{[a56h(0x1e5)]=Logger[a56h(0x1f2)]();[a56h(0x217)];[a56h(0x1fb)];[a56h(0x1fa)]=new Map();['roomType'];['isStartRoom'];[a56h(0x1f0)]=new Inventory();constructor(a){const i=a56h;super(),this[i(0x217)]=a['name'],this[i(0x1fb)]=a[i(0x1fb)],this['roomType']=a['roomType']||RoomType[i(0x1fd)],a['exits']&&(this[i(0x1fa)]=a[i(0x1fa)]||new Map()),a[i(0x1f0)]&&(this[i(0x1f0)]=a['inventory']),a[i(0x207)]&&(this[i(0x207)]=a[i(0x207)]),this[i(0x1f6)]=a['isStartRoom']||![],this[i(0x1e5)]['write']('Room\x20created:\x20'+this[i(0x217)]);}['say'](a,b){const j=a56h;this[j(0x218)](j(0x1ec),a,b);}[a56h(0x1f3)](a,b,c){const k=a56h;let d=this[k(0x1ef)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0x1fa)][k(0x203)](a,d),b[k(0x1fa)][k(0x203)](this[k(0x1ed)](a),d);}['attemptUnlockExit'](a,b){const l=a56h,c=this[l(0x1fa)]['get'](a);if(c instanceof Door){const d=c[l(0x1de)](b);return this[l(0x1e5)]['write'](l(0x215)+a+l(0x20c)+d),d?l(0x1f7)+c[l(0x217)]+'\x20unlocked!':l(0x1f7)+c[l(0x217)]+l(0x201);}return this[l(0x1e5)][l(0x200)](l(0x213)+a),l(0x212);}[a56h(0x216)](a){const m=a56h;return this[m(0x1e5)][m(0x200)](m(0x204)+a),this[m(0x1fa)][m(0x1e2)](a);}[a56h(0x1e9)](a){const n=a56h,b=this[n(0x1fa)][n(0x1e2)](a),c=b instanceof Door&&b[n(0x1dd)]();return this['logger'][n(0x200)](n(0x1fe)+a+n(0x1e8)+c),c;}['addItem'](a){const o=a56h;this[o(0x1f0)][o(0x1ea)](a),this[o(0x1e5)][o(0x200)](o(0x20e)+this[o(0x217)]+':\x20'+a[o(0x217)]);}['removeItem'](a){const p=a56h;this[p(0x1f0)][p(0x1f5)](a[p(0x217)])?(this[p(0x1f0)][p(0x214)](a[p(0x217)]),this['logger'][p(0x200)]('Item\x20removed\x20from\x20room\x20'+this[p(0x217)]+':\x20'+a['name'])):this[p(0x1e5)][p(0x200)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this['name']+':\x20'+a[p(0x217)]);}[a56h(0x1e0)](a){const q=a56h;this[q(0x207)]=a,this[q(0x1e5)][q(0x200)]('Puzzle\x20set\x20for\x20room\x20'+this['name']+':\x20'+a['riddle']);}['getOppositeDirection'](a){const r=a56h;switch(a){case r(0x1eb):return Direction[r(0x1f8)];case r(0x1e1):return Direction[r(0x1f1)];case r(0x1f9):return Direction['WEST'];case'west':return Direction['EAST'];case'up':return Direction['DOWN'];case r(0x1df):return Direction['UP'];default:throw new Error(r(0x1ee)+a);}}[a56h(0x1ef)](a){const s=a56h;for(const b of this['exits'][s(0x202)]()){if(b instanceof Door){if(b[s(0x205)]===this&&b[s(0x1ff)]===a||b[s(0x1ff)]===this&&b[s(0x205)]===a)return b;}}return undefined;}}
1
+ const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0x8d))/0x1*(-parseInt(f(0x96))/0x2)+parseInt(f(0x7d))/0x3+-parseInt(f(0x83))/0x4*(-parseInt(f(0x93))/0x5)+-parseInt(f(0x7f))/0x6*(-parseInt(f(0xa3))/0x7)+parseInt(f(0xad))/0x8+parseInt(f(0x82))/0x9*(parseInt(f(0x85))/0xa)+-parseInt(f(0x92))/0xb*(-parseInt(f(0x8f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xb0ecb));function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x78;let f=c[d];return f;},a56d(a,b);}const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0xa4)]()[h(0x7a)]('(((.+)+)+)+$')['toString']()[h(0xa1)](a56a)[h(0x7a)](h(0x9b));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a56c(){const u=['6109301HwlXta','1665UjpRct','logger','roomA','2123332gXfUSw','\x20is\x20locked.\x20Result:\x20','roomB','speak','hasItem','(((.+)+)+)+$','EAST','addItem','findExistingDoor','south','roomType','constructor','set','7eQYzcP','toString','Invalid\x20direction:\x20','.\x20Success:\x20','puzzle','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','getOppositeDirection','checkIfLocked','attemptUnlock','isStartRoom','3283800kHNOeh','getInstance','emit','WEST','Puzzle\x20set\x20for\x20room\x20','write','down','Room\x20created:\x20','setPuzzle','description','The\x20','DOWN','\x20remains\x20locked.','search','inventory','east','179907UtVbzV','exits','2107320sRPDHE','west','Checking\x20if\x20exit\x20in\x20direction\x20','17316mEpEOo','4616PxaMST','attemptUnlockExit','130mGVedm','Item\x20removed\x20from\x20room\x20','NORTH','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','apply','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','say','Fetching\x20exit\x20in\x20direction:\x20','1EgiFUI','get','12CUlbLi','north','name'];a56c=function(){return u;};return a56c();}import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger[a56i(0xae)]();[a56i(0x91)];[a56i(0xb6)];['exits']=new Map();[a56i(0xa0)];[a56i(0xac)];[a56i(0x7b)]=new Inventory();constructor(a){const j=a56i;super(),this['name']=a[j(0x91)],this[j(0xb6)]=a[j(0xb6)],this[j(0xa0)]=a[j(0xa0)]||RoomType['INSIDE'],a[j(0x7e)]&&(this[j(0x7e)]=a[j(0x7e)]||new Map()),a[j(0x7b)]&&(this[j(0x7b)]=a['inventory']),a[j(0xa7)]&&(this[j(0xa7)]=a[j(0xa7)]),this[j(0xac)]=a[j(0xac)]||![],this[j(0x94)][j(0xb2)](j(0xb4)+this[j(0x91)]);}[a56i(0x8b)](a,b){const k=a56i;this[k(0xaf)](k(0x99),a,b);}['addExit'](a,b,c){const l=a56i;let d=this[l(0x9e)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x7e)][l(0xa2)](a,d),b[l(0x7e)][l(0xa2)](this[l(0xa9)](a),d);}[a56i(0x84)](a,b){const m=a56i,c=this[m(0x7e)][m(0x8e)](a);if(c instanceof Door){const d=c[m(0xab)](b);return this[m(0x94)][m(0xb2)](m(0x88)+a+m(0xa6)+d),d?m(0xb7)+c['name']+'\x20unlocked!':'The\x20'+c[m(0x91)]+m(0x79);}return this[m(0x94)][m(0xb2)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0x8a);}['getExit'](a){const n=a56i;return this[n(0x94)][n(0xb2)](n(0x8c)+a),this[n(0x7e)]['get'](a);}['isExitLocked'](a){const o=a56i,b=this[o(0x7e)][o(0x8e)](a),c=b instanceof Door&&b[o(0xaa)]();return this[o(0x94)]['write'](o(0x81)+a+o(0x97)+c),c;}[a56i(0x9d)](a){const p=a56i;this['inventory'][p(0x9d)](a),this['logger'][p(0xb2)]('Item\x20added\x20to\x20room\x20'+this[p(0x91)]+':\x20'+a['name']);}['removeItem'](a){const q=a56i;this[q(0x7b)][q(0x9a)](a[q(0x91)])?(this['inventory']['removeItem'](a[q(0x91)]),this[q(0x94)][q(0xb2)](q(0x86)+this[q(0x91)]+':\x20'+a['name'])):this['logger']['write'](q(0xa8)+this[q(0x91)]+':\x20'+a[q(0x91)]);}[a56i(0xb5)](a){const r=a56i;this['puzzle']=a,this[r(0x94)][r(0xb2)](r(0xb1)+this[r(0x91)]+':\x20'+a['riddle']);}[a56i(0xa9)](a){const s=a56i;switch(a){case s(0x90):return Direction['SOUTH'];case s(0x9f):return Direction[s(0x87)];case s(0x7c):return Direction[s(0xb0)];case s(0x80):return Direction[s(0x9c)];case'up':return Direction[s(0x78)];case s(0xb3):return Direction['UP'];default:throw new Error(s(0xa5)+a);}}[a56i(0x9e)](a){const t=a56i;for(const b of this[t(0x7e)]['values']()){if(b instanceof Door){if(b[t(0x95)]===this&&b[t(0x98)]===a||b[t(0x98)]===this&&b[t(0x95)]===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(0x101))/0x1+-parseInt(i(0xf4))/0x2+-parseInt(i(0xca))/0x3*(parseInt(i(0xff))/0x4)+-parseInt(i(0x10b))/0x5*(-parseInt(i(0xd4))/0x6)+parseInt(i(0x107))/0x7+-parseInt(i(0x103))/0x8*(-parseInt(i(0xd0))/0x9)+-parseInt(i(0xe2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xe62f4));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(0xde)]()['search']('(((.+)+)+)+$')['toString']()[j(0xf3)](a57a)[j(0xf8)](j(0xf5));});a57a();import{Logger}from'../utilities/logger.js';function a57c(){const D=['characterLocations','push','564kSEAeU','keys','determineStartRoom','delete','getInstance','player','keyRequired','\x20found\x20in\x20the\x20scene.','createRoom','removeRoom','toString','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','join','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','1100390doqgkW','addExit','direction','set','\x20to\x20room\x20','\x22\x20does\x20not\x20exist.','No\x20actor\x20with\x20name\x20','roomConfiguration','write','currentLocation','Failed\x20to\x20add\x20puzzle.\x20Room\x20','createExitsFromConfig','Scene\x20initialized\x20with\x20rooms:\x20','addItemToRoom','logger','.\x20Room\x20','setPuzzle','constructor','1648356ofIKAs','(((.+)+)+)+$','name','get','search','roomFactory','\x20is\x20now\x20in\x20room\x20','setCharacterLocation','addPuzzleToRoom','\x20not\x20found\x20in\x20scene.','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','12gLxpFu','rooms','1485578xHpsZq','\x27s\x20location.\x20Room\x20','304csWnKP','getPlayer','Removed\x20room\x20from\x20scene:\x20','Room\x20\x22','1505714qZrdCC','removeActor','warn','generateRoomsFromConfig','62945BPTamR','exits','actors','Added\x20item\x20','toUpperCase','\x20already\x20exists\x20in\x20the\x20scene.','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','Actor\x20with\x20name\x20','length','1135509rWlnfv','targetRoom','addActor','connectRooms','has','Failed\x20to\x20add\x20item\x20','30438HbOePi','from'];a57c=function(){return D;};return a57c();}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0xc6;let f=c[d];return f;},a57d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];['player'];[a57k(0xf0)];[a57k(0x10d)];['characterLocations']=new Map();[a57k(0xf9)];constructor(a){const l=a57k;super(),this[l(0xf9)]=new RoomFactory(),this[l(0xd9)]=a[l(0xd9)],this[l(0x100)]=this[l(0x10a)](a[l(0xe9)]),this['logger']=Logger[l(0xd8)](),this['actors']=new Map(),this[l(0xed)](a[l(0xe9)]),this['logger'][l(0xea)](l(0xee)+Object[l(0xd5)](this[l(0x100)])[l(0xe0)](',\x20'));}['initialize'](){const m=a57k;this[m(0xd9)][m(0xeb)]=this[m(0xd6)]();}[a57k(0x10a)](a){const n=a57k;if(!this[n(0xf9)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[n(0xf9)][n(0xdc)](c);b[c[n(0xf6)]]=d;}return b;}[a57k(0xed)](a){const o=a57k;for(const b of a){const c=this[o(0x100)][b[o(0xf6)]];if(b[o(0x10c)])for(const d of b['exits']){const e=d[o(0xe4)][o(0x10f)](),f=d[o(0xcb)],g=d[o(0xda)],h=this['rooms'][f];h&&c[o(0xe3)](Direction[e],h,g);}}}[a57k(0xcc)](a){const p=a57k;if(this[p(0x10d)][p(0xce)](a['name']))throw new Error(p(0xc8)+a[p(0xf6)]+p(0xc6));this[p(0x10d)]['set'](a[p(0xf6)],a);}[a57k(0x108)](a){const q=a57k;if(!this['actors'][q(0xce)](a))throw new Error(q(0xe8)+a+q(0xdb));this[q(0x10d)][q(0xd7)](a);}['getActor'](a){const r=a57k;return this['actors'][r(0xf7)](a);}get['allActors'](){const s=a57k;return Array[s(0xd1)](this['actors']['values']());}['addRoom'](a){const t=a57k;this['rooms'][a[t(0xf6)]]=a,this[t(0xf0)][t(0xea)]('Added\x20room\x20to\x20scene:\x20'+a['name']);}[a57k(0xdd)](a){const u=a57k;return this[u(0x100)][a]?(delete this[u(0x100)][a],this[u(0xf0)][u(0xea)](u(0x105)+a),!![]):(this[u(0xf0)][u(0xea)](u(0xe1)+a),![]);}[a57k(0xef)](a,b){const v=a57k,c=this[v(0x100)][b];c?(c['addItem'](a),this['logger'][v(0xea)](v(0x10e)+a[v(0xf6)]+v(0xe6)+c[v(0xf6)])):this[v(0xf0)][v(0xea)](v(0xcf)+a[v(0xf6)]+v(0xf1)+b+v(0xfd));}[a57k(0xfc)](a,b){const w=a57k,c=this[w(0x100)][b];c?(c[w(0xf2)](a),this[w(0xf0)][w(0xea)]('Added\x20puzzle\x20to\x20room\x20'+c[w(0xf6)])):this[w(0xf0)]['write'](w(0xec)+b+w(0xfd));}[a57k(0xfb)](a,b){const x=a57k,c=this[x(0x100)][b];c?(this[x(0xd2)][x(0xe5)](a[x(0xf6)],c),this['logger'][x(0xea)](a[x(0xf6)]+x(0xfa)+c[x(0xf6)])):this[x(0xf0)][x(0xea)]('Failed\x20to\x20set\x20'+a[x(0xf6)]+x(0x102)+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const y=a57k;return this[y(0xd2)]['get'](a[y(0xf6)]);}[a57k(0xd6)](){const z=a57k,a=[];for(const c in this[z(0x100)]){if(this[z(0x100)]['hasOwnProperty'](c)){const d=this[z(0x100)][c];d['isStartRoom']&&a[z(0xd3)](d);}}if(a[z(0xc9)]>0x1)throw new Error(z(0xdf));if(a[z(0xc9)]===0x1)return a[0x0];const b=Object[z(0xd5)](this[z(0x100)]);if(b[z(0xc9)]===0x0)throw new Error(z(0xfe));return console[z(0x109)](z(0xc7)),this[z(0x100)][b[0x0]];}[a57k(0x104)](){const A=a57k;return this[A(0xd9)];}['getRooms'](){const B=a57k;return this[B(0x100)];}[a57k(0xcd)](a,b,c,d){const C=a57k,e=this[C(0x100)][a],f=this[C(0x100)][c];if(!e)throw new Error('Room\x20\x22'+a+C(0xe7));if(!f)throw new Error(C(0x106)+c+C(0xe7));e[C(0xe3)](b,f,d);}}
1
+ function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x1ed;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(0x1fa))/0x1*(parseInt(i(0x1f1))/0x2)+-parseInt(i(0x201))/0x3+-parseInt(i(0x233))/0x4+-parseInt(i(0x20c))/0x5*(-parseInt(i(0x1f6))/0x6)+parseInt(i(0x225))/0x7+parseInt(i(0x217))/0x8+parseInt(i(0x223))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xdd856));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x20d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x227)]()['search'](k(0x219))['toString']()[k(0x1f4)](a57a)[k(0x22e)](k(0x219));});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a57c(){const E=['addItemToRoom','3305491ppIxHk','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','toString','values','actors','targetRoom','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','exits','search','addExit','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Added\x20room\x20to\x20scene:\x20','rooms','4212880pkbbep','Failed\x20to\x20set\x20','write','direction','characterLocations','createRoom','warn','toUpperCase','setCharacterLocation','roomFactory','2nRlSgj','delete','keys','constructor','generateRoomsFromConfig','12qPeTsh','determineStartRoom','setPuzzle','.\x20Room\x20','34857aDgyfR','Room\x20\x22','currentLocation','has','Actor\x20with\x20name\x20','connectRooms','hasOwnProperty','3453861JTbqiG','from','push','logger','\x20found\x20in\x20the\x20scene.','Scene\x20initialized\x20with\x20rooms:\x20','player','\x27s\x20location.\x20Room\x20','No\x20actor\x20with\x20name\x20','\x20is\x20now\x20in\x20room\x20','addRoom','806755jutJWP','apply','\x20not\x20found\x20in\x20scene.','get','Added\x20puzzle\x20to\x20room\x20','getInstance','set','\x20to\x20room\x20','length','allActors','removeActor','8878464ptFUAX','keyRequired','(((.+)+)+)+$','Removed\x20room\x20from\x20scene:\x20','Failed\x20to\x20add\x20item\x20','name','removeRoom','addItem','\x22\x20does\x20not\x20exist.','createExitsFromConfig','Added\x20item\x20','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','10550493ozumgD'];a57c=function(){return E;};return a57c();}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57l(0x232)];[a57l(0x207)];[a57l(0x204)];['actors'];[a57l(0x237)]=new Map();[a57l(0x1f0)];constructor(a){const m=a57l;super(),this['roomFactory']=new RoomFactory(),this[m(0x207)]=a[m(0x207)],this['rooms']=this[m(0x1f5)](a['roomConfiguration']),this[m(0x204)]=Logger[m(0x211)](),this[m(0x229)]=new Map(),this[m(0x220)](a['roomConfiguration']),this[m(0x204)]['write'](m(0x206)+Object[m(0x1f3)](this[m(0x232)])['join'](',\x20'));}['initialize'](){const n=a57l;this[n(0x207)][n(0x1fc)]=this[n(0x1f7)]();}[a57l(0x1f5)](a){const o=a57l;if(!this[o(0x1f0)])throw new Error(o(0x222));const b={};for(const c of a){const d=this[o(0x1f0)][o(0x238)](c);b[c[o(0x21c)]]=d;}return b;}[a57l(0x220)](a){const p=a57l;for(const b of a){const c=this[p(0x232)][b[p(0x21c)]];if(b[p(0x22d)])for(const d of b[p(0x22d)]){const e=d[p(0x236)][p(0x1ee)](),f=d[p(0x22a)],g=d[p(0x218)],h=this[p(0x232)][f];h&&c[p(0x22f)](Direction[e],h,g);}}}['addActor'](a){const q=a57l;if(this[q(0x229)][q(0x1fd)](a[q(0x21c)]))throw new Error(q(0x1fe)+a[q(0x21c)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x229)][q(0x212)](a['name'],a);}[a57l(0x216)](a){const r=a57l;if(!this[r(0x229)][r(0x1fd)](a))throw new Error(r(0x209)+a+r(0x205));this[r(0x229)][r(0x1f2)](a);}['getActor'](a){const s=a57l;return this[s(0x229)][s(0x20f)](a);}get[a57l(0x215)](){const t=a57l;return Array[t(0x202)](this[t(0x229)][t(0x228)]());}[a57l(0x20b)](a){const u=a57l;this['rooms'][a[u(0x21c)]]=a,this[u(0x204)][u(0x235)](u(0x231)+a['name']);}[a57l(0x21d)](a){const v=a57l;return this['rooms'][a]?(delete this[v(0x232)][a],this[v(0x204)][v(0x235)](v(0x21a)+a),!![]):(this[v(0x204)][v(0x235)](v(0x22b)+a),![]);}[a57l(0x224)](a,b){const w=a57l,c=this[w(0x232)][b];c?(c[w(0x21e)](a),this[w(0x204)][w(0x235)](w(0x221)+a[w(0x21c)]+w(0x213)+c['name'])):this[w(0x204)]['write'](w(0x21b)+a[w(0x21c)]+w(0x1f9)+b+w(0x20e));}['addPuzzleToRoom'](a,b){const x=a57l,c=this[x(0x232)][b];c?(c[x(0x1f8)](a),this[x(0x204)][x(0x235)](x(0x210)+c[x(0x21c)])):this[x(0x204)]['write'](x(0x230)+b+x(0x20e));}[a57l(0x1ef)](a,b){const y=a57l,c=this[y(0x232)][b];c?(this[y(0x237)]['set'](a[y(0x21c)],c),this[y(0x204)][y(0x235)](a[y(0x21c)]+y(0x20a)+c[y(0x21c)])):this[y(0x204)][y(0x235)](y(0x234)+a['name']+y(0x208)+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const z=a57l;return this[z(0x237)][z(0x20f)](a[z(0x21c)]);}[a57l(0x1f7)](){const A=a57l,a=[];for(const c in this[A(0x232)]){if(this[A(0x232)][A(0x200)](c)){const d=this['rooms'][c];d['isStartRoom']&&a[A(0x203)](d);}}if(a[A(0x214)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[A(0x214)]===0x1)return a[0x0];const b=Object[A(0x1f3)](this[A(0x232)]);if(b['length']===0x0)throw new Error(A(0x226));return console[A(0x1ed)](A(0x22c)),this[A(0x232)][b[0x0]];}['getPlayer'](){const B=a57l;return this[B(0x207)];}['getRooms'](){const C=a57l;return this[C(0x232)];}[a57l(0x1ff)](a,b,c,d){const D=a57l,e=this[D(0x232)][a],f=this[D(0x232)][c];if(!e)throw new Error(D(0x1fb)+a+D(0x21f));if(!f)throw new Error(D(0x1fb)+c+D(0x21f));e[D(0x22f)](b,f,d);}}