@maka/maka-cli 4.12.19 → 4.12.20

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 a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x78))/0x1*(-parseInt(f(0x71))/0x2)+-parseInt(f(0x8b))/0x3*(parseInt(f(0x72))/0x4)+-parseInt(f(0x9e))/0x5+-parseInt(f(0x8f))/0x6*(-parseInt(f(0x6f))/0x7)+-parseInt(f(0x88))/0x8*(parseInt(f(0x76))/0x9)+parseInt(f(0x90))/0xa*(-parseInt(f(0x7f))/0xb)+parseInt(f(0x87))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xdb2d1));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0x6e)]()[g(0x9a)](g(0x91))['toString']()[g(0x77)](a38a)[g(0x9a)](g(0x91));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x6d;let f=c[d];return f;},a38d(a,b);}a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';function a38c(){const m=['Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','inventory','string','currentLocation','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','2058914CwnljB','logger','getOtherSide','\x20is\x20looking\x20around\x20the\x20current\x20room.','actor','To\x20the\x20','hasItem','look','44619288wzCoeE','8vlVcOq','Executing\x20\x27Look\x27\x20command.','rooms','1455TUKosl','lookOutside','Below\x20you,\x20','inspectItem','287382ygFJYE','30DAfrjO','(((.+)+)+)+$','description','exits','It\x27s\x20just\x20a\x20regular\x20','get','isValidDirection','\x20here.','You\x27re\x20not\x20in\x20a\x20valid\x20room.','name','search','Above\x20you,\x20','error','Looking\x20at\x20item\x20\x27','5238580FyvjiS','write','join','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','toString','77QuLpFP','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','7798quypzG','6464FTNYST','roomType','OUTSIDE','Examine\x20your\x20surroundings','13747959rUUham','constructor','147xKPKlk','down'];a38c=function(){return m;};return a38c();}import{Command}from'./command.js';export class LookCommand extends Command{static ['verb']=a38h(0x86);static [a38h(0x92)]=a38h(0x75);['execute'](a=[]){const i=a38h;this[i(0x80)][i(0x9f)](i(0x89));const b=a[i(0xa0)]('\x20');if(b){if(this['actor'][i(0x7b)][i(0x85)](b))return this[i(0x80)][i(0x9f)]('Looking\x20at\x20item\x20\x27'+b+'\x27\x20in\x20'+this[i(0x83)][i(0x99)]+'\x20inventory.'),this['inspectItem'](b,this[i(0x83)][i(0x7b)]);else{if(this[i(0x83)][i(0x7d)][i(0x7b)][i(0x85)](b))return this[i(0x80)][i(0x9f)](i(0x9d)+b+'\x27\x20in\x20current\x20room\x20inventory.'),this[i(0x8e)](b,this[i(0x83)][i(0x7d)][i(0x7b)]);else return this[i(0x96)](b)?(this['logger'][i(0x9f)](i(0x7a)+b+'\x27.'),this[i(0x8c)](b)):'You\x20cannot\x20see\x20'+b;}}else return this[i(0x80)][i(0x9f)](this[i(0x83)]['name']+i(0x82)),this['look']();}[a38h(0x86)](){const j=a38h,a=this[j(0x83)]['currentLocation'];if(!a)return this[j(0x80)][j(0x9c)](this[j(0x83)][j(0x99)]+j(0x70)),j(0x98);let b=a['description'];return a['puzzle']&&(b+='\x0a'+a['puzzle']['riddle']),b;}[a38h(0x8c)](a){const k=a38h,b=this[k(0x83)][k(0x7d)];if(!b)return this[k(0x80)][k(0x9c)](this[k(0x83)][k(0x99)]+k(0x70)),k(0x98);const c=b[k(0x93)][k(0x95)](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c[k(0x81)](b);else{if(typeof c===k(0x7c)){d=this[k(0x8a)]&&this[k(0x8a)][c];if(!d)return k(0x7e)+a+'\x22.';}else return k(0x6d)+a+'\x22.';}if(d[k(0x73)]===RoomType[k(0x74)]){if(a==='up')return k(0x9b)+d[k(0x92)];else return a===k(0x79)?k(0x8d)+d[k(0x92)]:k(0x84)+a+',\x20you\x20see\x20'+d[k(0x92)];}else return'You\x20cannot\x20see\x20through';}['inspectItem'](a,b){const l=a38h,c=b['getItem'](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+l(0x97);return c[l(0x92)]||l(0x94)+a+'.';}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0xe7))/0x1+parseInt(f(0x118))/0x2+parseInt(f(0xf5))/0x3+-parseInt(f(0xfd))/0x4+parseInt(f(0x10c))/0x5+-parseInt(f(0xf3))/0x6+-parseInt(f(0x114))/0x7*(parseInt(f(0x111))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xa42a7));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xe7;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(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x104)]()['search'](h(0x110))[h(0x104)]()[h(0x11b)](a38a)[h(0x113)](h(0x110));});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';function a38c(){const n=['5138670avnBwo','isValidDirection','1856700KeywLu','error','write','hasItem','\x27\x20in\x20current\x20room\x20inventory.','apply','currentLocation','string','1989792tENvKJ','\x20here.','logger','getOtherSide','getItem','To\x20the\x20','look','toString','Looking\x20at\x20item\x20\x27','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','Examine\x20your\x20surroundings','You\x27re\x20not\x20in\x20a\x20valid\x20room.','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','get','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','4971800SinSda','join','\x27\x20in\x20','lookOutside','(((.+)+)+)+$','42232CsxKYT','It\x27s\x20just\x20a\x20regular\x20','search','91aPWNxu','actor','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','name','763268pAowCA',',\x20you\x20see\x20','Below\x20you,\x20','constructor','description','100049cdZCNm','Executing\x20\x27Look\x27\x20command.','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','rooms','You\x20don\x27t\x20see\x20any\x20','puzzle','down','exits','You\x20cannot\x20see\x20through','\x20inventory.','inventory','inspectItem'];a38c=function(){return n;};return a38c();}export class LookCommand extends Command{static ['verb']=a38i(0x103);static [a38i(0x11c)]=a38i(0x107);['execute'](a=[]){const j=a38i;this['logger'][j(0xf7)](j(0xe8));const b=a[j(0x10d)]('\x20');if(b){if(this[j(0x115)][j(0xf1)][j(0xf8)](b))return this[j(0xff)][j(0xf7)](j(0x105)+b+j(0x10e)+this[j(0x115)][j(0x117)]+j(0xf0)),this[j(0xf2)](b,this['actor'][j(0xf1)]);else{if(this[j(0x115)][j(0xfb)][j(0xf1)][j(0xf8)](b))return this[j(0xff)][j(0xf7)](j(0x105)+b+j(0xf9)),this[j(0xf2)](b,this[j(0x115)][j(0xfb)][j(0xf1)]);else return this[j(0xf4)](b)?(this[j(0xff)][j(0xf7)](j(0x106)+b+'\x27.'),this['lookOutside'](b)):'You\x20cannot\x20see\x20'+b;}}else return this[j(0xff)][j(0xf7)](this[j(0x115)]['name']+'\x20is\x20looking\x20around\x20the\x20current\x20room.'),this[j(0x103)]();}[a38i(0x103)](){const k=a38i,a=this['actor'][k(0xfb)];if(!a)return this[k(0xff)][k(0xf6)](this[k(0x115)][k(0x117)]+k(0x109)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';let b=a[k(0x11c)];return a[k(0xec)]&&(b+='\x0a'+a['puzzle']['riddle']),b;}[a38i(0x10f)](a){const l=a38i,b=this[l(0x115)][l(0xfb)];if(!b)return this[l(0xff)][l(0xf6)](this[l(0x115)][l(0x117)]+l(0x109)),l(0x108);const c=b[l(0xee)][l(0x10a)](a);if(!c)return l(0xe9)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x100)](b);else{if(typeof c===l(0xfc)){d=this[l(0xea)]&&this[l(0xea)][c];if(!d)return l(0x10b)+a+'\x22.';}else return l(0x116)+a+'\x22.';}if(d['roomType']===RoomType['OUTSIDE']){if(a==='up')return'Above\x20you,\x20'+d[l(0x11c)];else return a===l(0xed)?l(0x11a)+d[l(0x11c)]:l(0x102)+a+l(0x119)+d['description'];}else return l(0xef);}[a38i(0xf2)](a,b){const m=a38i,c=b[m(0x101)](a);if(!c)return m(0xeb)+a+m(0xfe);return c['description']||m(0x112)+a+'.';}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x118))/0x1*(-parseInt(g(0x10a))/0x2)+-parseInt(g(0x11b))/0x3+-parseInt(g(0x10f))/0x4+parseInt(g(0x109))/0x5+-parseInt(g(0x113))/0x6+parseInt(g(0x106))/0x7*(parseInt(g(0x112))/0x8)+-parseInt(g(0x11e))/0x9*(-parseInt(g(0x111))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xce662));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x106;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x115)]('(((.+)+)+)+$')['toString']()[h(0x11f)](a39a)[h(0x115)]('(((.+)+)+)+$');});a39a();function a39c(){const k=['say','9GVNlHN','constructor','An\x20error\x20occurred.','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','verb','540855TzUURc','logger','What\x20do\x20you\x20want\x20to\x20say?','4897115CLuFkE','51926fuhEeQ','log','name','execute','scene','4311912jdlNms','length','33819920uePvhD','40GzURsg','8084052DoqfnE','actor','search','\x20says\x20to\x20',':\x20\x22','31SQGAwo','description','You\x20say:\x20\x22','2016471wWrZtr','currentLocation'];a39c=function(){return k;};return a39c();}import{Command}from'./command.js';export class SayCommand extends Command{static [a39i(0x122)]='say';static [a39i(0x119)]=a39i(0x121);['context'];constructor(a){super(a),this['context']=a;}[a39i(0x10d)](a){const j=a39i;if(a[j(0x110)]===0x0)return j(0x108);const b=a['join']('\x20'),c=this[j(0x114)],d=this['context'][j(0x10e)];if(!d)return this[j(0x107)][j(0x10b)]('Scene\x20is\x20missing\x20from\x20context.'),j(0x120);const e=d['allActors']['filter'](f=>f['currentLocation']===c[j(0x11c)]);for(const f of e){this[j(0x107)][j(0x10b)](c['name']+j(0x116)+f[j(0x10c)]+j(0x117)+b+'\x22'),this[j(0x114)][j(0x11c)][j(0x11d)](f,b);}return j(0x11a)+b+'\x22';}}
1
+ function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x9f;let f=c[d];return f;},a39d(a,b);}const a39i=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0xb3))/0x1*(parseInt(g(0xb5))/0x2)+parseInt(g(0xb9))/0x3*(parseInt(g(0xba))/0x4)+-parseInt(g(0xb2))/0x5*(parseInt(g(0xbc))/0x6)+-parseInt(g(0xc0))/0x7*(parseInt(g(0xa9))/0x8)+-parseInt(g(0xac))/0x9+parseInt(g(0xa6))/0xa*(-parseInt(g(0xb6))/0xb)+-parseInt(g(0xa1))/0xc*(-parseInt(g(0xa2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x9286b));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0xbf)]()[h(0xad)](h(0xa3))[h(0xbf)]()[h(0xb7)](a39a)['search']('(((.+)+)+)+$');});a39a();import{Command}from'./command.js';function a39c(){const l=['451131PoSKUe','8gSRAIf','execute','19392qbEOph','say','length','toString','42VlFSUc','logger','Scene\x20is\x20missing\x20from\x20context.','4802712yHqcrK','26OnmGBU','(((.+)+)+)+$','What\x20do\x20you\x20want\x20to\x20say?','scene','196290XyKvba','currentLocation','description','688136WSFNPd','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','log','3351618relsTc','search','actor','verb','context',':\x20\x22','110kCrkIg','753008PLoueQ','You\x20say:\x20\x22','2xwIkpk','165BTpgag','constructor','name'];a39c=function(){return l;};return a39c();}export class SayCommand extends Command{static [a39i(0xaf)]=a39i(0xbd);static [a39i(0xa8)]=a39i(0xaa);[a39i(0xb0)];constructor(a){const j=a39i;super(a),this[j(0xb0)]=a;}[a39i(0xbb)](a){const k=a39i;if(a[k(0xbe)]===0x0)return k(0xa4);const b=a['join']('\x20'),c=this[k(0xae)],d=this[k(0xb0)][k(0xa5)];if(!d)return this[k(0x9f)]['log'](k(0xa0)),'An\x20error\x20occurred.';const e=d['allActors']['filter'](f=>f['currentLocation']===c['currentLocation']);for(const f of e){this[k(0x9f)][k(0xab)](c['name']+'\x20says\x20to\x20'+f[k(0xb8)]+k(0xb1)+b+'\x22'),this[k(0xae)][k(0xa7)][k(0xbd)](f,b);}return k(0xb4)+b+'\x22';}}
@@ -1 +1 @@
1
- const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x100))/0x1+-parseInt(f(0x10f))/0x2*(parseInt(f(0xfb))/0x3)+-parseInt(f(0x101))/0x4+parseInt(f(0x105))/0x5+-parseInt(f(0xff))/0x6+-parseInt(f(0xf9))/0x7*(-parseInt(f(0x108))/0x8)+-parseInt(f(0xf8))/0x9*(-parseInt(f(0x109))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x207e1));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xf5;let f=c[d];return f;},a40d(a,b);}const a40b=(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;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0xf5)]()['search'](g(0x10b))['toString']()[g(0x10c)](a40a)['search']('(((.+)+)+)+$');});a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a40h(0x10e)]=a40h(0x110);static ['description']=a40h(0xf7);[a40h(0xfc)](){const i=a40h,a=this['actor'][i(0x10d)]['inventory'][i(0x10a)]();if(a[i(0x107)]===0x0)return this[i(0x102)][i(0x103)](i(0x104)+this['actor']['name']+i(0xfa)),i(0xfe);const b=a['join'](',\x20');return this['logger'][i(0x103)]('SearchCommand:\x20'+this[i(0xfd)][i(0xf6)]+i(0x106)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}function a40c(){const j=['length','333376wqsvNf','10EdQfVR','listItems','(((.+)+)+)+$','constructor','currentLocation','verb','2EZHKNl','search','toString','name','Search\x20for\x20items\x20in\x20your\x20area','2298789AsQgxp','7pIiBOe','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','60075ylLRys','execute','actor','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','45180ibackh','228951GnMKlg','81188VdEPEH','logger','write','SearchCommand:\x20','563995Hnmlwz','\x20found\x20the\x20following\x20items:\x20'];a40c=function(){return j;};return a40c();}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x1ab))/0x1+parseInt(f(0x1b3))/0x2*(-parseInt(f(0x1ba))/0x3)+-parseInt(f(0x1b1))/0x4*(parseInt(f(0x1b8))/0x5)+-parseInt(f(0x1ae))/0x6+parseInt(f(0x1ad))/0x7+parseInt(f(0x1ac))/0x8+parseInt(f(0x1c2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x639d4));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1c1)]()['search'](h(0x1af))[h(0x1c1)]()[h(0x1be)](a40a)[h(0x1c0)](h(0x1af));});a40a();function a40c(){const k=['execute','constructor','length','search','toString','16578837oHkvsJ','SearchCommand:\x20','apply','listItems','391657HWHmcF','2911800PaTAmz','538181tZEnzs','3865800XHBkyR','(((.+)+)+)+$','inventory','116jjGVGM','logger','2730UDVvLg','name','\x20found\x20the\x20following\x20items:\x20','write','description','55455Oghogb','actor','1137jDOjvG','You\x20search\x20the\x20area\x20and\x20find:\x20','Search\x20for\x20items\x20in\x20your\x20area'];a40c=function(){return k;};return a40c();}import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1a9;let f=c[d];return f;},a40d(a,b);}export class SearchCommand extends Command{static ['verb']=a40i(0x1c0);static [a40i(0x1b7)]=a40i(0x1bc);[a40i(0x1bd)](){const j=a40i,a=this[j(0x1b9)]['currentLocation'][j(0x1b0)][j(0x1aa)]();if(a[j(0x1bf)]===0x0)return this[j(0x1b2)]['write'](j(0x1c3)+this[j(0x1b9)][j(0x1b4)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a['join'](',\x20');return this[j(0x1b2)][j(0x1b6)](j(0x1c3)+this[j(0x1b9)][j(0x1b4)]+j(0x1b5)+b),j(0x1bb)+b;}}
@@ -1 +1 @@
1
- const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0xa5))/0x1*(-parseInt(f(0xa2))/0x2)+-parseInt(f(0xa7))/0x3+parseInt(f(0x9a))/0x4+parseInt(f(0xaa))/0x5+parseInt(f(0xa8))/0x6+parseInt(f(0xad))/0x7+-parseInt(f(0xae))/0x8*(parseInt(f(0xb1))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x774d9));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a['toString']()[h(0xb2)]('(((.+)+)+)+$')['toString']()['constructor'](a41a)['search'](h(0xa0));});a41a();import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x94;let f=c[d];return f;},a41d(a,b);}export class SolveCommand extends Command{static [a41i(0x96)]=a41i(0x97);static [a41i(0x9d)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a41i(0x98)](a){const j=a41i,b=a[j(0xac)]('\x20')[j(0xa3)](),c=this['actor'][j(0xa9)];if(!c||!c[j(0xab)])return this[j(0x9c)][j(0xa1)](j(0xa6)),j(0x9f);const d=c['puzzle'][j(0x97)](b,this[j(0xa4)][j(0x95)]);return d[j(0x9b)]&&c[j(0xab)][j(0xaf)]&&this[j(0xa4)]['inventory'][j(0xb0)](c[j(0xab)][j(0xaf)]),this[j(0x9c)][j(0xa1)](j(0x9e)+d[j(0x99)]),d[j(0x99)];}}function a41c(){const k=['3300283ltLSUa','142424fbCFQb','rewardItem','addItem','54yWfHKa','search','apply','inventory','verb','solve','execute','message','217416RpkOzw','success','logger','description','SolveCommand:\x20','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','(((.+)+)+)+$','write','2DdWrpF','toLowerCase','actor','608653fIVRhw','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','1730625FLTqxt','1970112qXawks','currentLocation','4634180IpfFUs','puzzle','join'];a41c=function(){return k;};return a41c();}
1
+ function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x14a;let f=c[d];return f;},a41d(a,b);}const a41h=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x14f))/0x1*(-parseInt(f(0x152))/0x2)+parseInt(f(0x150))/0x3+parseInt(f(0x169))/0x4*(parseInt(f(0x167))/0x5)+-parseInt(f(0x163))/0x6+-parseInt(f(0x156))/0x7*(parseInt(f(0x154))/0x8)+-parseInt(f(0x158))/0x9*(parseInt(f(0x166))/0xa)+-parseInt(f(0x15a))/0xb*(-parseInt(f(0x14c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xcbee8));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const g=a41d;return a41a[g(0x153)]()[g(0x14d)](g(0x15e))[g(0x153)]()['constructor'](a41a)[g(0x14d)](g(0x15e));});a41a();import{Command}from'./command.js';function a41c(){const j=['execute','inventory','addItem','(((.+)+)+)+$','logger','join','write','success','2955012QQCIdk','actor','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','741140mBuMph','280pGwcgo','Attempt\x20to\x20solve\x20a\x20puzzle.','17704lEXAVr','verb','puzzle','6620172UXRhxa','search','SolveCommand:\x20','1TAFTTA','2091042pZBYvr','description','2370694oEkWHV','toString','753232YIuHsJ','solve','7OMQTGi','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','153QqXGcg','rewardItem','11EuigFo'];a41c=function(){return j;};return a41c();}export class SolveCommand extends Command{static [a41h(0x14a)]=a41h(0x155);static [a41h(0x151)]=a41h(0x168);[a41h(0x15b)](a){const i=a41h,b=a[i(0x160)]('\x20')['toLowerCase'](),c=this[i(0x164)]['currentLocation'];if(!c||!c[i(0x14b)])return this[i(0x15f)]['write'](i(0x165)),i(0x157);const d=c[i(0x14b)]['solve'](b,this[i(0x164)][i(0x15c)]);return d[i(0x162)]&&c['puzzle'][i(0x159)]&&this[i(0x164)][i(0x15c)][i(0x15d)](c[i(0x14b)]['rewardItem']),this[i(0x15f)][i(0x161)](i(0x14e)+d['message']),d['message'];}}
@@ -1 +1 @@
1
- function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x10b;let f=c[d];return f;},a42d(a,b);}const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x10b))/0x1*(-parseInt(f(0x112))/0x2)+-parseInt(f(0x11d))/0x3+parseInt(f(0x113))/0x4*(parseInt(f(0x120))/0x5)+-parseInt(f(0x10f))/0x6+-parseInt(f(0x10d))/0x7*(-parseInt(f(0x121))/0x8)+-parseInt(f(0x119))/0x9+parseInt(f(0x130))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xd2413));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0x127)]('(((.+)+)+)+$')[h(0x111)]()[h(0x10e)](a42a)['search'](h(0x134));});function a42c(){const l=['22824330HSEAcL','write','\x22\x20from\x20','toLowerCase','(((.+)+)+)+$','101teBmDS','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','245PkVSwg','constructor','5140554LoiCOT','getItem','toString','8854VqiBHD','128CNadUK','verb','There\x20is\x20no\x20item\x20\x22','Successfully\x20added\x20\x22','description','\x22\x20not\x20retrieved\x20from\x20','3763710GdmuRU','\x22\x20not\x20found\x20in\x20','\x22\x20in\x20this\x20room.','The\x20item\x20\x22','1468188gMvebJ','Pick\x20up\x20an\x20item.','take','48455WKaSQh','109744zsiJBe','name','inventory','currentLocation','join','Item\x20\x22','search','logger','hasItem','apply','addInventory','actor','message','Successfully\x20removed\x20\x22','\x20during\x20\x27Take\x27\x20command.'];a42c=function(){return l;};return a42c();}a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0x114)]=a42i(0x11f);static [a42i(0x117)]=a42i(0x11e);['execute'](a){const j=a42i;return this[j(0x128)][j(0x131)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x125)]('\x20')),this[j(0x11f)](a);}[a42i(0x11f)](a){const k=a42i,b=a[k(0x125)]('\x20')[k(0x133)](),c=this[k(0x12c)][k(0x124)];if(!c[k(0x123)][k(0x129)](b))return this[k(0x128)]['write']('Item\x20\x22'+b+k(0x11a)+c[k(0x122)]+k(0x12f)),k(0x115)+b+k(0x11b);const d=c['inventory'][k(0x110)](b);if(!d)return this['logger']['write'](k(0x126)+b+k(0x118)+c[k(0x122)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x115)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0x12c)][k(0x12b)](d),this[k(0x128)][k(0x131)](k(0x116)+b+'\x22\x20to\x20'+this[k(0x12c)][k(0x122)]+k(0x10c)),c[k(0x123)]['removeItem'](b),this[k(0x128)]['write'](k(0x12e)+b+k(0x132)+c[k(0x122)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this[k(0x128)]['write']('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x12d)]),k(0x11c)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
1
+ const a42i=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xd5;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0xf1))/0x1*(parseInt(f(0xd8))/0x2)+parseInt(f(0xea))/0x3+-parseInt(f(0xed))/0x4+-parseInt(f(0xfa))/0x5*(parseInt(f(0xf4))/0x6)+-parseInt(f(0xee))/0x7+-parseInt(f(0xeb))/0x8+-parseInt(f(0xfe))/0x9*(-parseInt(f(0xec))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x8e053));function a42c(){const l=['Error\x20during\x20\x27Take\x27\x20command:\x20','Successfully\x20removed\x20\x22','description','960543wQPTaF','\x22\x20from\x20','The\x20item\x20\x22','\x20during\x20\x27Take\x27\x20command.','161758SURMXz','addInventory','\x22\x20to\x20','You\x20have\x20taken\x20the\x20','\x22\x20not\x20retrieved\x20from\x20','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','apply','name','toString','write','take','toLowerCase','verb','join','actor','\x22\x20is\x20too\x20heavy\x20to\x20carry.','getItem','inventory','2385765znLMAr','1031600ngoYhJ','100gMjkgI','2025224WBvRja','2025478gFsHfU','message','Item\x20\x22','7GeDHFr','removeItem','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','6KrHaic','There\x20is\x20no\x20item\x20\x22','(((.+)+)+)+$','\x22\x20in\x20this\x20room.','logger','search','4611765WPUtKg'];a42c=function(){return l;};return a42c();}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xe0)]()[h(0xf9)](h(0xf6))[h(0xe0)]()['constructor'](a42a)[h(0xf9)](h(0xf6));});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0xe4)]=a42i(0xe2);static [a42i(0xfd)]='Pick\x20up\x20an\x20item.';['execute'](a){const j=a42i;return this[j(0xf8)][j(0xe1)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a['join']('\x20')),this[j(0xe2)](a);}[a42i(0xe2)](a){const k=a42i,b=a[k(0xe5)]('\x20')[k(0xe3)](),c=this[k(0xe6)]['currentLocation'];if(!c[k(0xe9)]['hasItem'](b))return this['logger'][k(0xe1)](k(0xf0)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0xdf)]+k(0xd7)),k(0xf5)+b+k(0xf7);const d=c['inventory'][k(0xe8)](b);if(!d)return this[k(0xf8)][k(0xe1)](k(0xf0)+b+k(0xdc)+c['name']+k(0xf3)),'There\x20is\x20no\x20item\x20\x22'+b+k(0xf7);try{return this['actor'][k(0xd9)](d),this[k(0xf8)][k(0xe1)]('Successfully\x20added\x20\x22'+b+k(0xda)+this['actor'][k(0xdf)]+k(0xdd)),c[k(0xe9)][k(0xf2)](b),this[k(0xf8)][k(0xe1)](k(0xfc)+b+k(0xd5)+c[k(0xdf)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0xdb)+b+'.';}catch(e){return this['logger'][k(0xe1)](k(0xfb)+e[k(0xef)]),k(0xd6)+b+k(0xe7);}}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x193))/0x1+parseInt(f(0x19a))/0x2*(-parseInt(f(0x1a8))/0x3)+parseInt(f(0x1a0))/0x4*(-parseInt(f(0x1a6))/0x5)+-parseInt(f(0x192))/0x6+parseInt(f(0x1a7))/0x7*(-parseInt(f(0x196))/0x8)+-parseInt(f(0x19e))/0x9+parseInt(f(0x197))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xa2e88));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1a4)]()[h(0x195)](h(0x1ab))['toString']()[h(0x198)](a43a)[h(0x195)](h(0x1ab));});a43a();import{Command}from'./command.js';function a43c(){const k=['6809730XpuzzW','582708HSDNvs','actor','search','10171104RrETcP','46651100iqxvFf','constructor','description','606BvSTjR','Unequip\x20an\x20item.','UnequipCommand:\x20','execute','1880406KRJWry','unqeuip','632qeJEmD','toLowerCase','unequip','join','toString','verb','12185wJJdXK','7NrXnmb','4107hwNZAt','apply','\x20unqeuiped\x20','(((.+)+)+)+$'];a43c=function(){return k;};return a43c();}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x192;let f=c[d];return f;},a43d(a,b);}export class UnequipCommand extends Command{static [a43i(0x1a5)]=a43i(0x19f);static [a43i(0x199)]=a43i(0x19b);[a43i(0x19d)](a){const j=a43i,b=a[j(0x1a3)]('\x20')[j(0x1a1)](),c=this[j(0x194)][j(0x1a2)](b);return this['logger']['write'](j(0x19c)+this['actor']['name']+j(0x1aa)+c),c;}}
1
+ const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x170))/0x1+-parseInt(f(0x166))/0x2*(parseInt(f(0x15d))/0x3)+-parseInt(f(0x15e))/0x4*(-parseInt(f(0x163))/0x5)+parseInt(f(0x160))/0x6+parseInt(f(0x16d))/0x7+parseInt(f(0x168))/0x8+-parseInt(f(0x169))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x5f3c1));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(0x15f)]()[g(0x16a)](g(0x16f))['toString']()[g(0x165)](a43a)[g(0x16a)](g(0x16f));});a43a();function a43c(){const j=['302956BBpLGE','toString','74988iDIJed','toLowerCase','execute','5PxpRmL','verb','constructor','338XylaKE','unqeuip','2229112MGpFPx','5320341sunHfT','search','actor','logger','2229864uTKfhR','\x20unqeuiped\x20','(((.+)+)+)+$','483899iDFDif','write','3339giqROg'];a43c=function(){return j;};return a43c();}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x15d;let f=c[d];return f;},a43d(a,b);}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43h(0x164)]=a43h(0x167);static ['description']='Unequip\x20an\x20item.';[a43h(0x162)](a){const i=a43h,b=a['join']('\x20')[i(0x161)](),c=this[i(0x16b)]['unequip'](b);return this[i(0x16c)][i(0x171)]('UnequipCommand:\x20'+this[i(0x16b)]['name']+i(0x16e)+c),c;}}
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x1a4))/0x1+-parseInt(h(0x1aa))/0x2*(parseInt(h(0x1a1))/0x3)+-parseInt(h(0x1be))/0x4*(parseInt(h(0x1a3))/0x5)+-parseInt(h(0x1b2))/0x6+-parseInt(h(0x199))/0x7+parseInt(h(0x1b4))/0x8+parseInt(h(0x19e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x7c5db));function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x196;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(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x198)]()[j(0x1b9)](j(0x1a7))['toString']()[j(0x1ba)](a44a)['search'](j(0x1a7));});a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a44c(){const n=['isValidDirection','getItem','8753040mRGszy','hasItem','There\x27s\x20no\x20door\x20named\x20\x22','4908UlfHdn','has','5vtdtyI','519033DiAXxx','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','\x20is\x20attempted\x20to\x20unlock\x20','(((.+)+)+)+$','UnlockCommand:\x20No\x20target\x20specified.','unlockItemOrSolution','728RqjuNm','currentLocation','execute','attemptUnlockExit','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','inventory','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','\x22\x20here.','3153576nEFRmQ','toLowerCase','7264808VHkDsi','UnlockCommand:\x20','logger','name','write','search','constructor','length','get','description','2461700iHyAVI','apply','verb','error','actor','unlock','toString','1076362SihoLp','.\x20Result:\x20','exits'];a44c=function(){return n;};return a44c();}export class UnlockCommand extends Command{static [a44k(0x1c0)]=a44k(0x197);static [a44k(0x1bd)]='Unlock\x20a\x20door.';[a44k(0x1ac)](a){const l=a44k;return this[l(0x197)](a);}[a44k(0x197)](a){const m=a44k;if(a[m(0x1bb)]===0x0)return this['logger'][m(0x1c1)](m(0x1a8)),m(0x1a5);const b=a[0x0][m(0x1b3)](),c=this[m(0x196)][m(0x1ab)];if(this[m(0x19c)](b)&&c['exits'][m(0x1a2)](b)){const d=c[m(0x19b)][m(0x1bc)](b);if(d instanceof Door){const e=d[m(0x1a9)]?.[m(0x1b3)]();if(e&&this[m(0x196)]['inventory'][m(0x19f)](e)){const f=this[m(0x196)][m(0x1af)][m(0x19d)](e);if(f){const g=c[m(0x1ad)](b,f['name']);return this[m(0x1b6)][m(0x1b8)](m(0x1b5)+this['actor'][m(0x1b7)]+m(0x1a6)+b+m(0x19a)+g),g;}}return this[m(0x1b6)][m(0x1b8)](m(0x1b5)+this[m(0x196)][m(0x1b7)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),m(0x1b0);}else return this['logger'][m(0x1b8)](m(0x1b5)+b+m(0x1ae)+c['name']+'.'),m(0x1a0)+b+m(0x1b1);}else return this[m(0x1b6)][m(0x1b8)]('UnlockCommand:\x20'+b+m(0x1ae)+c['name']+'.'),m(0x1a0)+b+'\x22\x20here.';}}
1
+ const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x1f8))/0x1*(-parseInt(h(0x1ff))/0x2)+-parseInt(h(0x207))/0x3+-parseInt(h(0x209))/0x4+parseInt(h(0x210))/0x5+-parseInt(h(0x202))/0x6+parseInt(h(0x1fd))/0x7*(parseInt(h(0x1f7))/0x8)+-parseInt(h(0x20b))/0x9*(-parseInt(h(0x214))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xce871));function a44c(){const n=['Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','5692338EoXFip','unlock','toLowerCase','\x22\x20here.','Unlock\x20a\x20door.','4210935TjeuWa','execute','2974956qxaCZk','actor','315ntvFVI','constructor','logger','UnlockCommand:\x20','name','6370765slNPLx','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','unlockItemOrSolution','isValidDirection','444240vUaSZb','exits','getItem','length','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','verb','description','error','has','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','write','attemptUnlockExit','toString','630160JGivnC','1nCCcbl','\x20is\x20attempted\x20to\x20unlock\x20','apply','search','get','119oDzgLO','(((.+)+)+)+$','452078dqIxtw','currentLocation'];a44c=function(){return n;};return a44c();}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x1f6)]()[j(0x1fb)](j(0x1fe))[j(0x1f6)]()[j(0x20c)](a44a)[j(0x1fb)](j(0x1fe));});a44a();import{Door}from'../models/door.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1ec;let f=c[d];return f;},a44d(a,b);}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0x1ef)]=a44k(0x203);static [a44k(0x1f0)]=a44k(0x206);[a44k(0x208)](a){const l=a44k;return this[l(0x203)](a);}['unlock'](a){const m=a44k;if(a[m(0x1ed)]===0x0)return this[m(0x20d)][m(0x1f1)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0x201);const b=a[0x0][m(0x204)](),c=this[m(0x20a)][m(0x200)];if(this[m(0x213)](b)&&c[m(0x215)][m(0x1f2)](b)){const d=c[m(0x215)][m(0x1fc)](b);if(d instanceof Door){const e=d[m(0x212)]?.[m(0x204)]();if(e&&this[m(0x20a)]['inventory']['hasItem'](e)){const f=this[m(0x20a)]['inventory'][m(0x1ec)](e);if(f){const g=c[m(0x1f5)](b,f[m(0x20f)]);return this['logger'][m(0x1f4)](m(0x20e)+this[m(0x20a)][m(0x20f)]+m(0x1f9)+b+'.\x20Result:\x20'+g),g;}}return this['logger']['write'](m(0x20e)+this[m(0x20a)][m(0x20f)]+m(0x211)+b+'.'),m(0x1f3);}else return this[m(0x20d)][m(0x1f4)]('UnlockCommand:\x20'+b+m(0x1ee)+c[m(0x20f)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x205);}else return this[m(0x20d)][m(0x1f4)](m(0x20e)+b+m(0x1ee)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x205);}}
@@ -1 +1 @@
1
- function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a45d(a,b);}function a45c(){const l=['16602lbeJfv','toLowerCase','111752wfIMQA','\x20not\x20retrieved\x20from\x20','\x20in\x20this\x20way.','Use\x20an\x20item.','logger','function','\x20used\x20','You\x20can\x27t\x20use\x20the\x20','constructor','execute','use',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','1407iffKRj','description','26bEMpeb','actor','join','4548040AjoAOA','apply','164AjmUXq','1449yIyCra','3733704yzdlFv','1777864zyOKWX','45KGSDuD','search','name','\x20attempted\x20to\x20use\x20','44hvLsOJ','write','\x20doesn\x27t\x20have\x20a\x20use\x20method.','UseCommand:\x20','toString','You\x20don\x27t\x20have\x20the\x20','\x20to\x20use.','13622130SipfZl','\x27s\x20inventory.'];a45c=function(){return l;};return a45c();}const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x1be))/0x1*(-parseInt(f(0x1cc))/0x2)+-parseInt(f(0x1ca))/0x3*(parseInt(f(0x1d1))/0x4)+-parseInt(f(0x1cf))/0x5+parseInt(f(0x1bc))/0x6*(-parseInt(f(0x1d2))/0x7)+parseInt(f(0x1d4))/0x8*(parseInt(f(0x1d5))/0x9)+parseInt(f(0x1ba))/0xa+parseInt(f(0x1d9))/0xb*(parseInt(f(0x1d3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xba6ac));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a['toString']()[h(0x1d6)]('(((.+)+)+)+$')[h(0x1dd)]()[h(0x1c6)](a45a)['search']('(((.+)+)+)+$');});a45a();import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a45i(0x1c8);static [a45i(0x1cb)]=a45i(0x1c1);[a45i(0x1c7)](a){const j=a45i;return this[j(0x1c8)](a);}[a45i(0x1c8)](a){const k=a45i,b=a[k(0x1ce)]('\x20')[k(0x1bd)]();if(!this[k(0x1cd)]['inventory']['hasItem'](b))return this[k(0x1c2)][k(0x1da)](k(0x1dc)+this[k(0x1cd)][k(0x1d7)]+k(0x1d8)+b+k(0x1c9)),k(0x1b8)+b+k(0x1b9);const c=this[k(0x1cd)]['inventory']['getItem'](b);if(!c)return this[k(0x1c2)][k(0x1da)](k(0x1dc)+b+k(0x1bf)+this[k(0x1cd)]['name']+k(0x1bb)),k(0x1b8)+b+k(0x1b9);if(typeof c[k(0x1c8)]===k(0x1c3)){const d=c[k(0x1c8)]();return this[k(0x1c2)][k(0x1da)](k(0x1dc)+this['actor']['name']+k(0x1c4)+b+'.'),d;}else return this[k(0x1c2)]['write'](k(0x1dc)+b+k(0x1db)),k(0x1c5)+b+k(0x1c0);}}
1
+ const a45i=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xcd;let f=c[d];return f;},a45d(a,b);}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0xe1))/0x1*(-parseInt(f(0xd3))/0x2)+parseInt(f(0xdb))/0x3+parseInt(f(0xcf))/0x4*(-parseInt(f(0xdd))/0x5)+parseInt(f(0xf3))/0x6*(parseInt(f(0xd4))/0x7)+parseInt(f(0xf1))/0x8*(parseInt(f(0xea))/0x9)+parseInt(f(0xd0))/0xa*(parseInt(f(0xde))/0xb)+parseInt(f(0xf5))/0xc*(-parseInt(f(0xd7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x25fcd));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0xd1)]()[h(0xe7)](h(0xd9))[h(0xd1)]()[h(0xf4)](a45a)[h(0xe7)]('(((.+)+)+)+$');});a45a();import{Command}from'./command.js';function a45c(){const k=['20gcutQL','toString','use','6rUqWYB','7XOwnnj','getItem','\x20to\x20use.','8182759ppoFea','\x20attempted\x20to\x20use\x20','(((.+)+)+)+$','Use\x20an\x20item.','877692FcZhTz','logger','30VawIdh','1314885KKyCZm','You\x20don\x27t\x20have\x20the\x20','write','86453IEpwSb','\x27s\x20inventory.','actor','\x20not\x20retrieved\x20from\x20','execute','inventory','search','\x20used\x20','UseCommand:\x20','109476LjqqPZ','name','join','description','\x20doesn\x27t\x20have\x20a\x20use\x20method.','toLowerCase','apply','160aQkmDz','hasItem','110022hfemWv','constructor','12HGaWkt','\x20in\x20this\x20way.',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','178380LTsUZE'];a45c=function(){return k;};return a45c();}export class UseCommand extends Command{static ['verb']=a45i(0xd2);static [a45i(0xed)]=a45i(0xda);[a45i(0xe5)](a){return this['use'](a);}['use'](a){const j=a45i,b=a[j(0xec)]('\x20')[j(0xef)]();if(!this[j(0xe3)]['inventory'][j(0xf2)](b))return this[j(0xdc)]['write'](j(0xe9)+this[j(0xe3)][j(0xeb)]+j(0xd8)+b+j(0xce)),'You\x20don\x27t\x20have\x20the\x20'+b+j(0xd6);const c=this[j(0xe3)][j(0xe6)][j(0xd5)](b);if(!c)return this[j(0xdc)][j(0xe0)]('UseCommand:\x20'+b+j(0xe4)+this['actor']['name']+j(0xe2)),j(0xdf)+b+j(0xd6);if(typeof c[j(0xd2)]==='function'){const d=c[j(0xd2)]();return this[j(0xdc)]['write'](j(0xe9)+this[j(0xe3)][j(0xeb)]+j(0xe8)+b+'.'),d;}else return this[j(0xdc)][j(0xe0)](j(0xe9)+b+j(0xee)),'You\x20can\x27t\x20use\x20the\x20'+b+j(0xcd);}}
@@ -1 +1 @@
1
- function a46c(){const k=['1352616vNfvjI','919064QePZXz','4wwOypw','440571jEiwgI','apply','search','18VYplNE','7geZEwk','2443632qoykUe','(((.+)+)+)+$','83035pbPXaG','registerCommand','4092LrDZmk','toString','getAllRegisteredCommands','41836MOafLY','3440oijZjx','constructor','commandMap'];a46c=function(){return k;};return a46c();}function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x1ac;let f=c[d];return f;},a46d(a,b);}const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x1bc))/0x1+-parseInt(f(0x1b5))/0x2+-parseInt(f(0x1b9))/0x3*(parseInt(f(0x1bb))/0x4)+-parseInt(f(0x1b0))/0x5+parseInt(f(0x1ae))/0x6*(parseInt(f(0x1ad))/0x7)+parseInt(f(0x1ba))/0x8*(-parseInt(f(0x1ac))/0x9)+parseInt(f(0x1b6))/0xa*(parseInt(f(0x1b2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x3ee70));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x1bd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x1b3)]()['search'](h(0x1af))[h(0x1b3)]()[h(0x1b7)](a46a)[h(0x1be)](h(0x1af));});a46a();export class CommandFactory{static [a46i(0x1b8)]={};static[a46i(0x1b1)](a,b){this['commandMap'][a]=b;}static['createCommand'](a,b){const c=this['commandMap'][a];if(c)return new c(b);return null;}static[a46i(0x1b4)](){const j=a46i;return this[j(0x1b8)];}}
1
+ const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0xa0))/0x1*(-parseInt(f(0xa4))/0x2)+parseInt(f(0x9a))/0x3+parseInt(f(0xa7))/0x4+-parseInt(f(0xa5))/0x5+-parseInt(f(0xa2))/0x6+-parseInt(f(0x9d))/0x7+parseInt(f(0xa1))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xb05f6));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x99)]()[h(0x9b)](h(0x9f))['toString']()['constructor'](a46a)[h(0x9b)](h(0x9f));});function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x98;let f=c[d];return f;},a46d(a,b);}a46a();export class CommandFactory{static [a46i(0x9e)]={};static[a46i(0xa3)](a,b){const j=a46i;this[j(0x9e)][a]=b;}static[a46i(0x98)](a,b){const k=a46i,c=this[k(0x9e)][a];if(c)return new c(b);return null;}static[a46i(0xa6)](){const l=a46i;return this[l(0x9e)];}}function a46c(){const m=['commandMap','(((.+)+)+)+$','131453MeGiKc','6467496wWxZYl','4596312anvCPe','registerCommand','6mMRVef','6657345MlHIql','getAllRegisteredCommands','4548648EeOVnL','createCommand','toString','4188042FPFxnQ','search','apply','6412203koZdAG'];a46c=function(){return m;};return a46c();}
@@ -1 +1 @@
1
- function a47c(){const o=['toUpperCase','rewardItem','createPuzzle','isStartRoom','convertToRoomConfig','18lFGcgz','createItem','constructor','sword','rifle','10030251BdhebQ','apply','150SWKDfM','1498490UyhWUn','description','items','createRoom','addItem','type','654938WxDDju','key','1SRwMdP','291585pPEqtH','roomType','name','setPuzzle','(((.+)+)+)+$','103407azvKzK','forEach','content','bodyarmor','324560hpQPGE','boots','36JulHLW','197595CSLRBo','search'];a47c=function(){return o;};return a47c();}const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x1d3))/0x1*(-parseInt(f(0x1d1))/0x2)+-parseInt(f(0x1d9))/0x3*(parseInt(f(0x1df))/0x4)+parseInt(f(0x1d4))/0x5*(-parseInt(f(0x1e7))/0x6)+-parseInt(f(0x1cb))/0x7+-parseInt(f(0x1dd))/0x8+parseInt(f(0x1e0))/0x9*(parseInt(f(0x1ca))/0xa)+parseInt(f(0x1c8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x2a73d));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()[h(0x1e1)](h(0x1d8))['toString']()[h(0x1c5)](a47a)[h(0x1e1)]('(((.+)+)+)+$');});function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a47d(a,b);}a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0x1ce)](a){const j=a47i,b=this[j(0x1e6)](a),c=new Room(b);if(a[j(0x1cd)]){const d=new Inventory();a[j(0x1cd)][j(0x1da)](e=>{const k=j;d[k(0x1cf)](this[k(0x1c4)](e));}),c['inventory']=d;}return a['puzzle']&&c[j(0x1d7)](this[j(0x1e4)](a['puzzle'])),c;}[a47i(0x1c4)](a){const l=a47i;switch(a[l(0x1d0)]){case l(0x1d2):return new Key(a['name'],a[l(0x1cc)]);case'book':return new Book(a[l(0x1d6)],a[l(0x1cc)],a[l(0x1db)]);case l(0x1c6):return new Sword(a[l(0x1d6)],a[l(0x1cc)]);case l(0x1c7):return new Rifle(a[l(0x1d6)],a[l(0x1cc)]);case'helmet':return new Helmet(a[l(0x1d6)],a['description']);case l(0x1dc):return new BodyArmor(a['name'],a[l(0x1cc)]);case'legarmor':return new LegArmor(a[l(0x1d6)],a['description']);case l(0x1de):return new Boots(a[l(0x1d6)],a[l(0x1cc)]);case'gloves':return new Gloves(a[l(0x1d6)],a[l(0x1cc)]);case'gauntlets':return new Gauntlets(a[l(0x1d6)],a[l(0x1cc)]);default:return new BasicItem(a[l(0x1d6)],a[l(0x1cc)]);}}[a47i(0x1e4)](a){const m=a47i,b=this['createItem'](a[m(0x1e3)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0x1e6)](a){const n=a47i,b=a[n(0x1d5)]&&RoomType[a[n(0x1d5)][n(0x1e2)]()]?RoomType[a[n(0x1d5)]['toUpperCase']()]:RoomType['INSIDE'];return{'name':a[n(0x1d6)],'description':a['description'],'isStartRoom':a[n(0x1e5)],'roomType':b};}}
1
+ function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xcc;let f=c[d];return f;},a47d(a,b);}const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0xeb))/0x1+-parseInt(f(0xd6))/0x2*(-parseInt(f(0xf0))/0x3)+parseInt(f(0xcc))/0x4*(-parseInt(f(0xd8))/0x5)+-parseInt(f(0xea))/0x6*(-parseInt(f(0xd2))/0x7)+parseInt(f(0xdc))/0x8+-parseInt(f(0xd0))/0x9*(-parseInt(f(0xdf))/0xa)+parseInt(f(0xd7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x376d3));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()[h(0xd1)](h(0xce))[h(0xe6)]()[h(0xf2)](a47a)['search'](h(0xce));});function a47c(){const o=['puzzle','3830sIBmVB','roomType','forEach','setPuzzle','createRoom','INSIDE','inventory','toString','type','bodyarmor','createPuzzle','24edgwby','329387lNeybk','legarmor','rewardItem','name','items','15558Vnqzwz','toUpperCase','constructor','convertToRoomConfig','556qrFKnj','createItem','(((.+)+)+)+$','gauntlets','5949kQUmCl','search','293937KCDqWF','apply','content','sword','26smMCtP','156244vAkPso','7135pAjHmD','rifle','description','addItem','2016144KaraGp','book'];a47c=function(){return o;};return a47c();}a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0xe3)](a){const j=a47i,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[j(0xef)]){const d=new Inventory();a[j(0xef)][j(0xe1)](e=>{const k=j;d[k(0xdb)](this[k(0xcd)](e));}),c[j(0xe5)]=d;}return a[j(0xde)]&&c[j(0xe2)](this['createPuzzle'](a[j(0xde)])),c;}['createItem'](a){const l=a47i;switch(a[l(0xe7)]){case'key':return new Key(a[l(0xee)],a[l(0xda)]);case l(0xdd):return new Book(a[l(0xee)],a[l(0xda)],a[l(0xd4)]);case l(0xd5):return new Sword(a['name'],a['description']);case l(0xd9):return new Rifle(a[l(0xee)],a[l(0xda)]);case'helmet':return new Helmet(a[l(0xee)],a[l(0xda)]);case l(0xe8):return new BodyArmor(a[l(0xee)],a[l(0xda)]);case l(0xec):return new LegArmor(a['name'],a['description']);case'boots':return new Boots(a[l(0xee)],a[l(0xda)]);case'gloves':return new Gloves(a[l(0xee)],a[l(0xda)]);case l(0xcf):return new Gauntlets(a[l(0xee)],a['description']);default:return new BasicItem(a['name'],a[l(0xda)]);}}[a47i(0xe9)](a){const m=a47i,b=this[m(0xcd)](a[m(0xed)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0xf3)](a){const n=a47i,b=a[n(0xe0)]&&RoomType[a['roomType'][n(0xf1)]()]?RoomType[a[n(0xe0)]['toUpperCase']()]:RoomType[n(0xe4)];return{'name':a[n(0xee)],'description':a[n(0xda)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x1d5))/0x1+parseInt(h(0x1e0))/0x2*(-parseInt(h(0x1f3))/0x3)+-parseInt(h(0x1f1))/0x4*(-parseInt(h(0x1eb))/0x5)+parseInt(h(0x1d3))/0x6+parseInt(h(0x1ce))/0x7+-parseInt(h(0x1db))/0x8*(parseInt(h(0x1e4))/0x9)+-parseInt(h(0x1d7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x6078f));function a48c(){const s=['getAllRegisteredCommands','createCommand','3637176uhdtgL','help','463335oMhBMp','equip','5891570eTNypa','take','drop','scene','312EbzDNm','instance','currentLocation','apply','split','366nnvjqV','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','player','hasOwnProperty','116613fNTuDr','slice','say','toString','quit','Available\x20Commands:\x0a','solve','725tEUFhE','registerCommands','getHelpMessage','search','unlock','clear','19156fCVPKh','-\x20clear:\x20Clear\x20the\x20screen.\x0a','7614WmIDNl','unequip','currentRoom','toLowerCase','getInstance','lock','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','registerCommand','handleInput','rooms','name','(((.+)+)+)+$','Welcome,\x20','trim','1331043UMRvvd','determineStartRoom','execute'];a48c=function(){return s;};return a48c();}const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a['toString']()['search'](j(0x1fe))[j(0x1e7)]()['constructor'](a48a)[j(0x1ee)]('(((.+)+)+)+$');});a48a();import{Scene}from'./models/scene.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a48d(a,b);}import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';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(0x1dc)];[a48k(0x1da)];[a48k(0x1e2)];[a48k(0x1f5)];[a48k(0x1fc)];constructor(a,b){const l=a48k;this[l(0x1e2)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0x1da)]['initialize'](),this[l(0x1e2)][l(0x1dd)]=this[l(0x1cf)](),this[l(0x1ec)]();}['registerCommands'](){const m=a48k;CommandFactory[m(0x1fa)]('look',LookCommand),CommandFactory[m(0x1fa)]('go',GoCommand),CommandFactory[m(0x1fa)](m(0x1d8),TakeCommand),CommandFactory[m(0x1fa)]('use',UseCommand),CommandFactory[m(0x1fa)](m(0x1d6),EquipCommand),CommandFactory[m(0x1fa)](m(0x1f4),UnequipCommand),CommandFactory[m(0x1fa)](m(0x1ea),SolveCommand),CommandFactory[m(0x1fa)](m(0x1d9),DropCommand),CommandFactory[m(0x1fa)](m(0x1ef),UnlockCommand),CommandFactory[m(0x1fa)](m(0x1f8),LockCommand),CommandFactory['registerCommand'](m(0x1ee),SearchCommand),CommandFactory[m(0x1fa)](m(0x1e6),SayCommand);}['determineStartRoom'](){const n=a48k;return this[n(0x1da)][n(0x1cf)]();}['getWelcomeMessage'](){const o=a48k;return o(0x1ff)+this[o(0x1e2)][o(0x1fd)];}static[a48k(0x1f7)](a,b){const p=a48k;return!Game[p(0x1dc)]&&(Game[p(0x1dc)]=new Game(a,b)),Game[p(0x1dc)];}[a48k(0x1fb)](a){const q=a48k,b=a[q(0x1cd)]()[q(0x1df)]('\x20'),c=b[0x0][q(0x1f6)](),d=b[q(0x1e5)](0x1);if(c===q(0x1e8))return null;if(c==='maka')return q(0x1e1);if(c===q(0x1d4))return this[q(0x1ed)]();if(c===q(0x1f0))return'';const e={'actor':this[q(0x1e2)],'rooms':this[q(0x1da)]['getRooms'](),'scene':this[q(0x1da)]},f=CommandFactory[q(0x1d2)](c,e);if(f){const g=f[q(0x1d0)](d);return g;}return q(0x1f9)+c+'\x22.';}[a48k(0x1ed)](){const r=a48k,a=CommandFactory[r(0x1d1)]();let b=r(0x1e9);for(const c in a){if(a[r(0x1e3)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=r(0x1f2),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
1
+ const a48k=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x145;let f=c[d];return f;},a48d(a,b);}(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0x16d))/0x1*(parseInt(h(0x154))/0x2)+parseInt(h(0x14f))/0x3+-parseInt(h(0x156))/0x4*(-parseInt(h(0x15e))/0x5)+parseInt(h(0x151))/0x6+parseInt(h(0x146))/0x7+-parseInt(h(0x14b))/0x8+-parseInt(h(0x14a))/0x9*(parseInt(h(0x161))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xb6d24));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x14c)]()[j(0x16f)](j(0x169))[j(0x14c)]()['constructor'](a48a)[j(0x16f)](j(0x169));});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';function a48c(){const s=['use','2546559fOFlzu','initialize','1049304aKRyEk','solve','instance','2KZaYyz','getHelpMessage','4281276upphaN','getDescription','player','registerCommands','say','apply','getAllRegisteredCommands','currentRoom','5ZYwmXc','determineStartRoom','look','1200YOkAjx','rooms','equip','unlock','toLowerCase','Welcome,\x20','hasOwnProperty','take','(((.+)+)+)+$','clear','help','scene','42153YpnIlS','execute','search','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','getInstance','-\x20quit:\x20Exit\x20the\x20game.\x0a','lock','drop','name','getRooms','7349454BvEsGk','currentLocation','Available\x20Commands:\x0a','createCommand','103266mdNDEo','7808872SLmaRq','toString','registerCommand'];a48c=function(){return s;};return a48c();}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(0x153)];['scene'];['player'];[a48k(0x15d)];[a48k(0x162)];constructor(a,b){const l=a48k;this[l(0x158)]=a,this[l(0x16c)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x16c)][l(0x150)](),this['player'][l(0x147)]=this[l(0x15f)](),this[l(0x159)]();}[a48k(0x159)](){const m=a48k;CommandFactory[m(0x14d)](m(0x160),LookCommand),CommandFactory[m(0x14d)]('go',GoCommand),CommandFactory['registerCommand'](m(0x168),TakeCommand),CommandFactory[m(0x14d)](m(0x14e),UseCommand),CommandFactory['registerCommand'](m(0x163),EquipCommand),CommandFactory['registerCommand']('unequip',UnequipCommand),CommandFactory[m(0x14d)](m(0x152),SolveCommand),CommandFactory[m(0x14d)](m(0x174),DropCommand),CommandFactory[m(0x14d)](m(0x164),UnlockCommand),CommandFactory['registerCommand'](m(0x173),LockCommand),CommandFactory[m(0x14d)](m(0x16f),SearchCommand),CommandFactory[m(0x14d)](m(0x15a),SayCommand);}['determineStartRoom'](){const n=a48k;return this[n(0x16c)]['determineStartRoom']();}['getWelcomeMessage'](){const o=a48k;return o(0x166)+this[o(0x158)][o(0x175)];}static[a48k(0x171)](a,b){const p=a48k;return!Game[p(0x153)]&&(Game[p(0x153)]=new Game(a,b)),Game[p(0x153)];}['handleInput'](a){const q=a48k,b=a['trim']()['split']('\x20'),c=b[0x0][q(0x165)](),d=b['slice'](0x1);if(c==='quit')return null;if(c==='maka')return q(0x170);if(c===q(0x16b))return this[q(0x155)]();if(c===q(0x16a))return'';const e={'actor':this[q(0x158)],'rooms':this[q(0x16c)][q(0x145)](),'scene':this[q(0x16c)]},f=CommandFactory[q(0x149)](c,e);if(f){const g=f[q(0x16e)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a48k(0x155)](){const r=a48k,a=CommandFactory[r(0x15c)]();let b=r(0x148);for(const c in a){if(a[r(0x167)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x157)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+=r(0x172),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x157))/0x1*(parseInt(f(0x15d))/0x2)+parseInt(f(0x156))/0x3*(-parseInt(f(0x15e))/0x4)+parseInt(f(0x160))/0x5+parseInt(f(0x161))/0x6*(-parseInt(f(0x159))/0x7)+-parseInt(f(0x153))/0x8+parseInt(f(0x15b))/0x9*(parseInt(f(0x15a))/0xa)+-parseInt(f(0x158))/0xb*(-parseInt(f(0x162))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x2ce4f));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x15c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x154)]()[h(0x152)](h(0x155))[h(0x154)]()[h(0x15f)](a49a)['search'](h(0x155));});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-0x152;var f=c[d];return f;},a49d(a,b);}export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a49c(){var i=['6CWbBwH','24bJejDL','search','2694432yxRpxr','toString','(((.+)+)+)+$','678597ifqQJH','112569SPBJpf','2044889piWWOs','241549WfICLK','2271930fkJOnl','9nzlYof','apply','2GMNOtu','4OYfjLJ','constructor','349185HGqeHi'];a49c=function(){return i;};return a49c();}export*from'./scene.js';
1
+ function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xc6;var f=c[d];return f;},a49d(a,b);}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0xd0))/0x1*(-parseInt(f(0xca))/0x2)+parseInt(f(0xc9))/0x3*(-parseInt(f(0xd2))/0x4)+parseInt(f(0xcb))/0x5*(-parseInt(f(0xcc))/0x6)+parseInt(f(0xc7))/0x7*(-parseInt(f(0xd3))/0x8)+-parseInt(f(0xc8))/0x9+parseInt(f(0xce))/0xa+-parseInt(f(0xc6))/0xb*(-parseInt(f(0xd1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xde3b8));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0xd4)]()[g(0xd5)](g(0xcd))['toString']()[g(0xcf)](a49a)[g(0xd5)](g(0xcd));});function a49c(){var h=['(((.+)+)+)+$','5522450tevLzK','constructor','37139FYlijm','4869912sufMZE','4yakWGe','4172640LHXjfD','toString','search','132yRPrIq','21UJUWGG','3660930GtuKXW','2528403ooPfIo','10juxRbw','5zsJYcW','9071322yBSjfa'];a49c=function(){return h;};return a49c();}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 +1 @@
1
- var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x86))/0x1*(parseInt(f(0x67))/0x2)+-parseInt(f(0x83))/0x3+-parseInt(f(0x6f))/0x4*(parseInt(f(0x72))/0x5)+-parseInt(f(0x75))/0x6*(-parseInt(f(0x85))/0x7)+parseInt(f(0x7a))/0x8*(-parseInt(f(0x66))/0x9)+-parseInt(f(0x6a))/0xa*(parseInt(f(0x6b))/0xb)+parseInt(f(0x70))/0xc*(parseInt(f(0x7f))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x5d13a));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x65)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x7b)]()[h(0x7c)](h(0x73))['toString']()[h(0x6e)](a50a)[h(0x7c)](h(0x73));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x65;var f=c[d];return f;},a50d(a,b);}function a50c(){var m=['roomB','roomA','429130skVrCy','187GppgTk','\x20and\x20','name','constructor','109084EcQNaQ','4808412PJkgUA','isLockable','30kDanOM','(((.+)+)+)+$','.\x20Is\x20Locked:\x20','186qHSUqy','checkIfLocked','logger','unlockItemOrSolution','Door\x20unlocked:\x20','8IFBWEb','toString','search','write','attemptUnlock','65WCgtwr','Door\x20created\x20between\x20','.\x20Used:\x20','getInstance','563898HOLtSl','isLocked','130501pJDzht','48JQEfrT','apply','4451859hWAFUU','26018CgBudV'];a50c=function(){return m;};return a50c();}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0x69)];[a50i(0x68)];[a50i(0x84)];[a50i(0x78)];[a50i(0x6d)];[a50i(0x77)];['isLockable'];constructor(a){var j=a50i;super(),this[j(0x69)]=a[j(0x69)],this[j(0x68)]=a[j(0x68)],this[j(0x84)]=a['isLocked']||![],this['unlockItemOrSolution']=a[j(0x78)],this[j(0x6d)]=a[j(0x6d)]?capitalCase(a['name']):'To\x20'+a[j(0x68)][j(0x6d)],this[j(0x77)]=Logger[j(0x82)](),this[j(0x71)]=!!a[j(0x78)],this[j(0x77)]['write'](j(0x80)+this[j(0x69)][j(0x6d)]+j(0x6c)+this[j(0x68)][j(0x6d)]+j(0x74)+this[j(0x84)]);}['getOtherSide'](a){var k=a50i;return this[k(0x69)]===a?this[k(0x68)]:this[k(0x69)];}[a50i(0x7e)](a){var l=a50i;if(this[l(0x84)]&&this['unlockItemOrSolution']&&this[l(0x78)]===a)return this[l(0x84)]=![],this[l(0x77)][l(0x7d)](l(0x79)+this[l(0x6d)]+'.\x20Used:\x20'+a),!![];return this['logger'][l(0x7d)]('Failed\x20to\x20unlock\x20door:\x20'+this[l(0x6d)]+l(0x81)+a),![];}[a50i(0x76)](){return this['isLocked'];}['checkIfLockable'](){return this['isLockable'];}}
1
+ var a50i=a50d;function a50c(){var o=['.\x20Used:\x20','getInstance','16819yYJpsr','isLockable','\x20and\x20','roomB','attemptUnlock','getOtherSide','.\x20Is\x20Locked:\x20','unlockItemOrSolution','658725DzAfjA','2051672rlrmXu','405210PhLjKF','300bXXVLe','(((.+)+)+)+$','9ThWaZA','Failed\x20to\x20unlock\x20door:\x20','roomA','search','isLocked','name','Door\x20created\x20between\x20','74894TORjuS','11tTOkWZ','constructor','8172XoXEIK','To\x20','write','1611995ZmNTQv','toString','checkIfLockable','309cbLLJV','Door\x20unlocked:\x20','logger','330cPFSxn','apply','checkIfLocked','6TutIQU'];a50c=function(){return o;};return a50c();}(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0xcc))/0x1*(-parseInt(f(0xf1))/0x2)+parseInt(f(0xd4))/0x3*(-parseInt(f(0xce))/0x4)+-parseInt(f(0xe5))/0x5*(-parseInt(f(0xda))/0x6)+-parseInt(f(0xd1))/0x7+parseInt(f(0xe6))/0x8*(parseInt(f(0xea))/0x9)+-parseInt(f(0xd7))/0xa*(parseInt(f(0xdd))/0xb)+parseInt(f(0xe8))/0xc*(parseInt(f(0xe7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x408ae));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0xd2)]()[h(0xed)]('(((.+)+)+)+$')['toString']()[h(0xcd)](a50a)[h(0xed)](h(0xe9));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0xcc;var f=c[d];return f;},a50d(a,b);}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0xec)];[a50i(0xe0)];[a50i(0xee)];[a50i(0xe4)];[a50i(0xef)];['logger'];[a50i(0xde)];constructor(a){var j=a50i;super(),this[j(0xec)]=a['roomA'],this[j(0xe0)]=a['roomB'],this[j(0xee)]=a[j(0xee)]||![],this[j(0xe4)]=a[j(0xe4)],this[j(0xef)]=a[j(0xef)]?capitalCase(a[j(0xef)]):j(0xcf)+a[j(0xe0)]['name'],this[j(0xd6)]=Logger[j(0xdc)](),this[j(0xde)]=!!a[j(0xe4)],this[j(0xd6)][j(0xd0)](j(0xf0)+this[j(0xec)][j(0xef)]+j(0xdf)+this[j(0xe0)][j(0xef)]+j(0xe3)+this['isLocked']);}[a50i(0xe2)](a){var k=a50i;return this[k(0xec)]===a?this[k(0xe0)]:this[k(0xec)];}[a50i(0xe1)](a){var l=a50i;if(this[l(0xee)]&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this[l(0xee)]=![],this[l(0xd6)][l(0xd0)](l(0xd5)+this[l(0xef)]+l(0xdb)+a),!![];return this['logger'][l(0xd0)](l(0xeb)+this[l(0xef)]+l(0xdb)+a),![];}[a50i(0xd9)](){var m=a50i;return this[m(0xee)];}[a50i(0xd3)](){var n=a50i;return this[n(0xde)];}}
@@ -1 +1 @@
1
- const a51h=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x120;let f=c[d];return f;},a51d(a,b);}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x122))/0x1*(parseInt(f(0x134))/0x2)+parseInt(f(0x13b))/0x3*(parseInt(f(0x147))/0x4)+parseInt(f(0x124))/0x5+parseInt(f(0x137))/0x6*(parseInt(f(0x13a))/0x7)+parseInt(f(0x12d))/0x8+-parseInt(f(0x12c))/0x9+-parseInt(f(0x127))/0xa*(parseInt(f(0x130))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xdb28e));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const g=a51d;return a51a[g(0x148)]()[g(0x12f)](g(0x14b))[g(0x148)]()[g(0x125)](a51a)['search'](g(0x14b));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51h(0x126)];['logger'];constructor(){const i=a51h;super(),this['items']=new Map(),this[i(0x138)]=Logger[i(0x121)]();}[a51h(0x145)](a){const j=a51h;this[j(0x126)][j(0x14a)](a[j(0x146)]['toLowerCase'](),a),this[j(0x138)][j(0x143)](j(0x13c)+a[j(0x146)]+'\x20to\x20inventory.');}[a51h(0x123)](a){const k=a51h,b=this[k(0x13e)](a);if(b)return this[k(0x126)][k(0x120)](a[k(0x135)]()),this['logger'][k(0x143)]('Removed\x20item:\x20'+a+k(0x128)),b;return this[k(0x138)][k(0x143)]('Failed\x20to\x20remove\x20item:\x20'+a+k(0x141)),null;}['hasItem'](a){const l=a51h,b=this[l(0x126)][l(0x142)](a['toLowerCase']()),c=[...this[l(0x126)][l(0x140)]()];return this[l(0x138)][l(0x143)](l(0x13d)+a+l(0x129)+c['join'](',\x20')+l(0x133)+b+'.'),b;}[a51h(0x13e)](a){const m=a51h,b=this[m(0x126)][m(0x131)](a[m(0x135)]())||null;return b?this[m(0x138)][m(0x143)](m(0x136)+a+'.'):this[m(0x138)][m(0x143)](m(0x149)+a+m(0x141)),b;}[a51h(0x12e)](){const n=a51h,a=[...this['items']['keys']()],b=a[n(0x13f)](c=>capitalCase(c));return this[n(0x138)][n(0x143)](n(0x139)+b[n(0x144)](',\x20')+'.'),a;}[a51h(0x12a)](){const o=a51h;let a=0x0;for(const b of this[o(0x126)][o(0x12b)]()){a+=b['weight'];}return a;}[a51h(0x132)](){const p=a51h;return[...this[p(0x126)][p(0x12b)]()];}}function a51c(){const q=['getInstance','19cmZWkn','removeItem','5848515tiBcYh','constructor','items','70amAYLr','\x20from\x20inventory.','\x20in\x20','getWeight','values','4071951jzvfIg','2568712gXOIMZ','listItems','search','1434719uORFnP','get','getAllItems','.\x20Exists:\x20','69204hDYqEu','toLowerCase','Retrieved\x20details\x20for\x20item:\x20','694536ROGqlw','logger','Listed\x20items\x20in\x20inventory:\x20','7oNdoCa','3wicjvW','Added\x20item:\x20','Checked\x20for\x20item:\x20','getItem','map','keys','.\x20Item\x20not\x20found.','has','write','join','addItem','name','5256040IiKBgJ','toString','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','set','(((.+)+)+)+$','delete'];a51c=function(){return q;};return a51c();}
1
+ const a51h=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1a7;let f=c[d];return f;},a51d(a,b);}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x1c1))/0x1*(-parseInt(f(0x1b8))/0x2)+parseInt(f(0x1ab))/0x3*(parseInt(f(0x1cb))/0x4)+parseInt(f(0x1d0))/0x5+parseInt(f(0x1ce))/0x6+-parseInt(f(0x1c0))/0x7*(-parseInt(f(0x1c2))/0x8)+-parseInt(f(0x1c4))/0x9*(-parseInt(f(0x1ae))/0xa)+-parseInt(f(0x1ac))/0xb*(-parseInt(f(0x1b3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x30288));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const g=a51d;return a51a[g(0x1ad)]()[g(0x1c5)](g(0x1c6))['toString']()[g(0x1b9)](a51a)[g(0x1c5)](g(0x1c6));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a51c(){const q=['keys','name','Listed\x20items\x20in\x20inventory:\x20','4FOCvEr','addItem','Failed\x20to\x20remove\x20item:\x20','980232kCjQKr','delete','619750dYrqLa','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','logger','listItems','getInstance','join','getItem','147981yjqwJx','11QErGNN','toString','10HWcnnL','Added\x20item:\x20','write','Checked\x20for\x20item:\x20','values','2355732MTbLWP','hasItem','weight','toLowerCase','getAllItems','34RlwIvV','constructor','items','Retrieved\x20details\x20for\x20item:\x20','has','get','set','.\x20Exists:\x20','14oePqYq','21155kkBSLc','20576oTuVBs','.\x20Item\x20not\x20found.','169083tgjJsN','search','(((.+)+)+)+$','\x20in\x20'];a51c=function(){return q;};return a51c();}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51h(0x1ba)];['logger'];constructor(){const i=a51h;super(),this['items']=new Map(),this[i(0x1d2)]=Logger[i(0x1a8)]();}[a51h(0x1cc)](a){const j=a51h;this['items'][j(0x1be)](a[j(0x1c9)][j(0x1b6)](),a),this['logger'][j(0x1b0)](j(0x1af)+a[j(0x1c9)]+'\x20to\x20inventory.');}['removeItem'](a){const k=a51h,b=this[k(0x1aa)](a);if(b)return this[k(0x1ba)][k(0x1cf)](a['toLowerCase']()),this[k(0x1d2)][k(0x1b0)]('Removed\x20item:\x20'+a+'\x20from\x20inventory.'),b;return this[k(0x1d2)]['write'](k(0x1cd)+a+k(0x1c3)),null;}[a51h(0x1b4)](a){const l=a51h,b=this['items'][l(0x1bc)](a[l(0x1b6)]()),c=[...this[l(0x1ba)][l(0x1c8)]()];return this[l(0x1d2)][l(0x1b0)](l(0x1b1)+a+l(0x1c7)+c[l(0x1a9)](',\x20')+l(0x1bf)+b+'.'),b;}['getItem'](a){const m=a51h,b=this[m(0x1ba)][m(0x1bd)](a[m(0x1b6)]())||null;return b?this[m(0x1d2)][m(0x1b0)](m(0x1bb)+a+'.'):this[m(0x1d2)][m(0x1b0)](m(0x1d1)+a+m(0x1c3)),b;}[a51h(0x1a7)](){const n=a51h,a=[...this[n(0x1ba)][n(0x1c8)]()],b=a['map'](c=>capitalCase(c));return this[n(0x1d2)][n(0x1b0)](n(0x1ca)+b[n(0x1a9)](',\x20')+'.'),a;}['getWeight'](){const o=a51h;let a=0x0;for(const b of this[o(0x1ba)]['values']()){a+=b[o(0x1b5)];}return a;}[a51h(0x1b7)](){const p=a51h;return[...this[p(0x1ba)][p(0x1b2)]()];}}
@@ -1 +1 @@
1
- function a52c(){var l=['14qrJOmI','texture','199506ovtslC','(((.+)+)+)+$','14931EuHvIa','constructor','toString','2080536CRTkFx','shape','description','weight','color','name','You\x20use\x20the\x20','10UlACNQ','152806ZGaijN','7032047VDcbfy','75kgpreR','use','search','977845HuwAIH','apply','12916KExEAh','size','rating','3jeeEuS','category','.\x20Nothing\x20special\x20happens.','uuid'];a52c=function(){return l;};return a52c();}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1d4;var f=c[d];return f;},a52d(a,b);}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1e8))/0x1*(-parseInt(f(0x1de))/0x2)+-parseInt(f(0x1e0))/0x3*(-parseInt(f(0x1e5))/0x4)+parseInt(f(0x1e3))/0x5+parseInt(f(0x1ee))/0x6*(parseInt(f(0x1ec))/0x7)+parseInt(f(0x1d6))/0x8+-parseInt(f(0x1f0))/0x9+-parseInt(f(0x1dd))/0xa*(parseInt(f(0x1df))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x2eaa0));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1d5)]()[h(0x1e2)](h(0x1ef))[h(0x1d5)]()[h(0x1d4)](a52a)[h(0x1e2)](h(0x1ef));});a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0x1eb)];[a52i(0x1db)];['description'];[a52i(0x1e6)];[a52i(0x1e9)];[a52i(0x1d7)];['color'];[a52i(0x1ed)];[a52i(0x1e7)];[a52i(0x1d9)];constructor(a){var j=a52i;super(),this[j(0x1db)]=a['name'],this[j(0x1d8)]=a[j(0x1d8)],this[j(0x1e6)]=a['size'],this['category']=a['category'],this[j(0x1d7)]=a[j(0x1d7)],this[j(0x1da)]=a[j(0x1da)],this[j(0x1ed)]=a[j(0x1ed)],this[j(0x1e7)]=a[j(0x1e7)],this[j(0x1d9)]=a[j(0x1d9)],this['uuid']=a52e();}[a52i(0x1e1)](){var k=a52i;return k(0x1dc)+this[k(0x1db)]+k(0x1ea);}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x124))/0x1*(parseInt(f(0x118))/0x2)+-parseInt(f(0x11d))/0x3*(parseInt(f(0x120))/0x4)+parseInt(f(0x122))/0x5+-parseInt(f(0x115))/0x6+-parseInt(f(0x11b))/0x7*(-parseInt(f(0x117))/0x8)+-parseInt(f(0x123))/0x9+-parseInt(f(0x116))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xd4d0d));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x129)]('(((.+)+)+)+$')['toString']()[h(0x126)](a52a)[h(0x129)](h(0x121));});function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x115;var f=c[d];return f;},a52d(a,b);}a52a();function a52c(){var l=['shape','description','search','apply','.\x20Nothing\x20special\x20happens.','texture','uuid','rating','2902548sxAHYU','1336930FiIzGO','74504jpbEwu','166xlSKZT','size','You\x20use\x20the\x20','441OsYVWB','name','159537FrdEyl','category','weight','112mNueyj','(((.+)+)+)+$','7721860tUrslp','165384FysTKp','10427eYMCiG','color','constructor'];a52c=function(){return l;};return a52c();}import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];['name'];['description'];[a52i(0x119)];[a52i(0x11e)];[a52i(0x127)];[a52i(0x125)];[a52i(0x12c)];['rating'];['weight'];constructor(a){var j=a52i;super(),this[j(0x11c)]=a[j(0x11c)],this[j(0x128)]=a[j(0x128)],this[j(0x119)]=a[j(0x119)],this['category']=a[j(0x11e)],this['shape']=a[j(0x127)],this['color']=a[j(0x125)],this[j(0x12c)]=a[j(0x12c)],this[j(0x12e)]=a[j(0x12e)],this['weight']=a[j(0x11f)],this[j(0x12d)]=a52e();}['use'](){var k=a52i;return k(0x11a)+this[k(0x11c)]+k(0x12b);}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xe4))/0x1+-parseInt(f(0xe5))/0x2+parseInt(f(0xe8))/0x3+parseInt(f(0xe7))/0x4+-parseInt(f(0xe2))/0x5+-parseInt(f(0xdc))/0x6+-parseInt(f(0xe0))/0x7*(-parseInt(f(0xea))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x29b6b));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xe9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0xdb)]()['search'](h(0xd8))[h(0xdb)]()[h(0xdf)](a53a)['search']('(((.+)+)+)+$');});function a53c(){const o=['apply','8YTfYuD','moveTo','execute','_dialogue','(((.+)+)+)+$','rooms','random','toString','1373214FEEEKK','scene','speak','constructor','4800509NobxZL','_name','1615620dtyxCr','name','125456vxonBD','345966bLvieX','floor','568440uFthBN','580182CqWhPu'];a53c=function(){return o;};return a53c();}a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xd5;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'];[a53i(0xd7)];[a53i(0xd9)];[a53i(0xdd)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0xe1)]=a,this[j(0xd7)]=b,this['rooms']=c;}get[a53i(0xe3)](){const k=a53i;return this[k(0xe1)];}[a53i(0xde)](){const l=a53i;return this[l(0xd7)][Math[l(0xe6)](Math[l(0xda)]()*this['_dialogue']['length'])];}['autonomousMove'](a){const m=a53i,b=a[Math[m(0xe6)](Math['random']()*a['length'])];this[m(0xd5)](b[m(0xe3)]);}['moveTo'](a){const n=a53i,b={'actor':this,'rooms':this['rooms'],'scene':this[n(0xdd)]},c=new GoCommand(b);c[n(0xd6)]([a]);}}
1
+ function a53c(){const o=['32699090ftYsAA','18bkGuVB','execute','(((.+)+)+)+$','name','2687814drMgSH','1749136cyCOwi','speak','search','constructor','scene','apply','123555AtlnIH','random','932493dgaPyc','moveTo','floor','toString','length','_dialogue','116alUGUy','5149515iKzJPy','889592MkJRIV','_name','rooms','21yjHwiA'];a53c=function(){return o;};return a53c();}function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xe6;let f=c[d];return f;},a53d(a,b);}const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xe6))/0x1+-parseInt(f(0xee))/0x2+parseInt(f(0xfe))/0x3*(-parseInt(f(0xec))/0x4)+parseInt(f(0xed))/0x5+parseInt(f(0xf7))/0x6*(-parseInt(f(0xf1))/0x7)+-parseInt(f(0xf8))/0x8*(-parseInt(f(0xf3))/0x9)+parseInt(f(0xf2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xc891f));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xfd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0xe9)]()[h(0xfa)](h(0xf5))[h(0xe9)]()[h(0xfb)](a53a)['search'](h(0xf5));});a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a53i(0xeb)];[a53i(0xf0)];[a53i(0xfc)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0xef)]=a,this[j(0xeb)]=b,this[j(0xf0)]=c;}get[a53i(0xf6)](){const k=a53i;return this[k(0xef)];}[a53i(0xf9)](){const l=a53i;return this['_dialogue'][Math[l(0xe8)](Math[l(0xff)]()*this['_dialogue']['length'])];}['autonomousMove'](a){const m=a53i,b=a[Math[m(0xe8)](Math[m(0xff)]()*a[m(0xea)])];this[m(0xe7)](b[m(0xf6)]);}[a53i(0xe7)](a){const n=a53i,b={'actor':this,'rooms':this[n(0xf0)],'scene':this[n(0xfc)]},c=new GoCommand(b);c[n(0xf4)]([a]);}}
@@ -1 +1 @@
1
- const a54i=a54d;function a54c(){const C=['\x20in\x20your\x20inventory.','enterRoom','_inventory','_currentLocation','equipment','addItem','(((.+)+)+)+$','toLowerCase','988254YpKiKH','_equipment','maxCarryingWeight','unequip','13849880nJzEXq','currentLocation','boots','category','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','determineEquipmentSlot','arms','speak','startLocation','toString','legs','addInventory','hasItem','\x20slot.','initialEquipment','helmet','head','error','playerName','legarmor','constructor','Gloves','feet','You\x20unequipped\x20','A\x20featureless\x20room','weight','Added\x20','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','hat','_maxCarryingWeight','name','Hat','values','Weapon','unequipBySlot','off','2478550yfETxj','Helmet','Max\x20carrying\x20weight\x20must\x20be\x20positive.','leaveRoom','rightHand','.\x20You\x20must\x20unequip\x20it\x20first.','inventoryItems','write','4056YbjGTl','bind','BodyArmor','search','currentWeight','Invalid\x20category\x20or\x20slot:\x20','getWeight','inventory','Shield','Removed\x20','LegArmor','3UwVmHw','includes','\x20to\x20player\x27s\x20inventory.','torso','body\x20armor','1605132IurAoc','928149bnrMYu','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','_playerName','\x20from\x20player\x27s\x20inventory.','logger','995992QLxBUw','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','weapon','equip','\x20says:\x20\x22','removeInventory','\x20is\x20no\x20longer\x20listeng\x20in\x20','leftHand','leg\x20armor','2OvNrOw','hear','\x20is\x20now\x20listening\x20in\x20room\x20','4746ZNYpiW','apply','getInstance'];a54c=function(){return C;};return a54c();}(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x21f))/0x1*(parseInt(f(0x1d0))/0x2)+parseInt(f(0x219))/0x3*(parseInt(f(0x224))/0x4)+parseInt(f(0x206))/0x5+-parseInt(f(0x21e))/0x6+-parseInt(f(0x1d3))/0x7*(-parseInt(f(0x20e))/0x8)+parseInt(f(0x1de))/0x9+-parseInt(f(0x1e2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x73b2b));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x1eb)]()['search'](h(0x1dc))[h(0x1eb)]()[h(0x1f6)](a54a)[h(0x211)](h(0x1dc));});a54a();function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a54d(a,b);}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0x221)];[a54i(0x1d9)];[a54i(0x1d8)];[a54i(0x1df)];['_maxCarryingWeight']=0x32;['logger'];constructor(a){const j=a54i;super(),this[j(0x221)]=a[j(0x1f4)],this['_currentLocation']=a[j(0x1ea)]||new Room({'name':'Nexus','description':j(0x1fa)}),this[j(0x1d8)]=new Inventory(),this[j(0x223)]=Logger[j(0x1d5)]();if(a?.[j(0x20c)])for(const b of a[j(0x20c)]){this['_inventory'][j(0x1db)](b);}this['_equipment']=a?.[j(0x1f0)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a54i;return this[k(0x221)];}get['currentLocation'](){return this['_currentLocation'];}set[a54i(0x1e3)](a){const l=a54i;this[l(0x1d9)]!==a&&(this[l(0x209)](),this[l(0x1d7)](a)),this[l(0x1d9)]=a;}get[a54i(0x215)](){const m=a54i;return this[m(0x1d8)];}get[a54i(0x1da)](){const n=a54i;return this[n(0x1df)];}set[a54i(0x1da)](a){const o=a54i;this[o(0x1df)]=a;}get[a54i(0x1e0)](){const p=a54i;return this[p(0x1ff)];}set[a54i(0x1e0)](a){const q=a54i;a>0x0?this[q(0x1ff)]=a:console[q(0x1f3)](q(0x208));}get[a54i(0x212)](){const r=a54i;let a=this[r(0x1d8)][r(0x214)]();for(const b in this['_equipment']){const c=this['_equipment'][b];c&&(a+=c[r(0x1fb)]);}return a;}[a54i(0x1ed)](a){const s=a54i;if(this['currentWeight']+a['weight']>this[s(0x1e0)]){this[s(0x223)][s(0x20d)](s(0x220));throw new Error(s(0x1e6));}this[s(0x1d8)]['addItem'](a),this['logger'][s(0x20d)](s(0x1fc)+a[s(0x200)]+s(0x21b));}[a54i(0x229)](a){const t=a54i;if(this[t(0x1d8)]['removeItem'](a[t(0x200)]))return this[t(0x223)]['write'](t(0x217)+a[t(0x200)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this['logger'][t(0x20d)]('Failed\x20to\x20remove\x20'+a[t(0x200)]+t(0x222)),![];}[a54i(0x227)](a){const u=a54i;if(!this[u(0x1d8)][u(0x1ee)](a[u(0x200)]))return'You\x20don\x27t\x20have\x20'+a[u(0x200)]+u(0x1d6);if(!this['canEquip'](a))return'You\x20can\x27t\x20equip\x20'+a[u(0x200)]+'.';const b=this[u(0x1e7)](a[u(0x1e5)]);if(!b)return a[u(0x200)]+u(0x225);if(this[u(0x1da)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+u(0x20b);return this[u(0x1da)][b]=a,this[u(0x229)](a),'You\x20equipped\x20'+a[u(0x200)]+'.';}[a54i(0x1e1)](a){const v=a54i;let b=a;if(!this[v(0x1da)][camelCase(b)]){b=this[v(0x1e7)](a);if(!b)return v(0x213)+a+'.';}return this[v(0x204)](b);}[a54i(0x1e7)](a){const w=a54i;switch(a[w(0x1dd)]()){case Category[w(0x203)][w(0x1dd)]():return w(0x20a);case Category[w(0x216)]['toLowerCase']():return w(0x1ce);case Category[w(0x1f7)]['toLowerCase']():return'gloves';case Category[w(0x207)][w(0x1dd)]():case Category[w(0x201)][w(0x1dd)]():return w(0x1f2);case Category['Boots'][w(0x1dd)]():return w(0x1f8);case Category[w(0x218)][w(0x1dd)]():return w(0x1ec);case Category['ArmArmor'][w(0x1dd)]():return'arms';case Category[w(0x210)][w(0x1dd)]():return w(0x21c);case w(0x226):return w(0x20a);case'shield':return w(0x1ce);case'gloves':return'gloves';case w(0x1f1):case w(0x1fe):return w(0x1f2);case w(0x1e4):return'feet';case w(0x1cf):case w(0x1f5):return w(0x1ec);case'arm\x20armor':case'armarmor':return w(0x1e8);case w(0x21d):case'bodyarmor':case w(0x21c):return w(0x21c);default:return null;}}['canEquip'](a){const x=a54i;return Object[x(0x202)](Category)[x(0x21a)](a['category']);}[a54i(0x204)](a){const y=a54i,b=this['equipment'][a];if(!b)return y(0x1fd)+a+y(0x1ef);return this[y(0x1ed)](b),this['equipment'][a]=null,y(0x1f9)+b['name']+'.';}[a54i(0x1d1)](a,b){const z=a54i;a!==this&&this[z(0x223)]['log'](a[z(0x200)]+z(0x228)+b+'\x22');}[a54i(0x1d7)](a){const A=a54i;this['_currentLocation']=a,a['on'](A(0x1e9),this[A(0x1d1)][A(0x20f)](this)),this[A(0x223)][A(0x20d)](this['name']+A(0x1d2)+a[A(0x200)]);}['leaveRoom'](){const B=a54i;this[B(0x1d9)]&&(this[B(0x1d9)][B(0x205)](B(0x1e9),this['hear'][B(0x20f)](this)),this[B(0x223)]['write'](this['name']+B(0x22a)+this[B(0x1d9)][B(0x200)]));}}
1
+ const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0xe1))/0x1+parseInt(f(0xb0))/0x2+parseInt(f(0xa5))/0x3+parseInt(f(0x9c))/0x4*(-parseInt(f(0xce))/0x5)+parseInt(f(0xcd))/0x6+-parseInt(f(0xdc))/0x7+parseInt(f(0xcb))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x1a7bf));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0xa9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0xc9)]()['search'](h(0xe8))[h(0xc9)]()['constructor'](a54a)[h(0xde)](h(0xe8));});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';function a54c(){const B=['armarmor','legs','includes','inventoryItems','maxCarryingWeight','toString','Hat','2455064vykVEY','.\x20You\x20must\x20unequip\x20it\x20first.','380112bhMYrC','287085JLPNKf','unequipBySlot','leftHand','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','\x20is\x20now\x20listening\x20in\x20room\x20','name','Weapon','You\x20unequipped\x20','getWeight','You\x20equipped\x20','\x20is\x20no\x20longer\x20listeng\x20in\x20','\x20to\x20player\x27s\x20inventory.','boots','arms','865627CTnAwR','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','search','weapon','_playerName','176115PePaac','leaveRoom','logger','legarmor','startLocation','Boots','gloves','(((.+)+)+)+$','\x20says:\x20\x22','ArmArmor','Failed\x20to\x20remove\x20','head','_equipment','You\x20can\x27t\x20equip\x20','helmet','currentLocation','Removed\x20','_inventory','_maxCarryingWeight','initialEquipment','arm\x20armor','log','8Eavyzd','equipment','toLowerCase','currentWeight','removeInventory','weight','feet','hear','equip','195864UdhUHY','torso','enterRoom','values','apply','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','playerName','speak','addItem','removeItem','bind','175132MbXBHz','rightHand','Shield','canEquip','addInventory','inventory','body\x20armor','shield','off','Added\x20','_currentLocation','\x20from\x20player\x27s\x20inventory.','write','Gloves','category','getInstance','\x20slot.','determineEquipmentSlot','Invalid\x20category\x20or\x20slot:\x20','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'];a54c=function(){return B;};return a54c();}function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x8e;let f=c[d];return f;},a54d(a,b);}import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];['_currentLocation'];[a54i(0x97)];[a54i(0x92)];['_maxCarryingWeight']=0x32;[a54i(0xe3)];constructor(a){const j=a54i;super(),this[j(0xe0)]=a[j(0xab)],this[j(0xba)]=a[j(0xe5)]||new Room({'name':'Nexus','description':'A\x20featureless\x20room'}),this[j(0x97)]=new Inventory(),this[j(0xe3)]=Logger[j(0xbf)]();if(a?.['inventoryItems'])for(const b of a[j(0xc7)]){this[j(0x97)][j(0xad)](b);}this[j(0x92)]=a?.[j(0x99)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0xd3)](){const k=a54i;return this[k(0xe0)];}get[a54i(0x95)](){const l=a54i;return this[l(0xba)];}set['currentLocation'](a){const m=a54i;this[m(0xba)]!==a&&(this['leaveRoom'](),this[m(0xa7)](a)),this[m(0xba)]=a;}get[a54i(0xb5)](){return this['_inventory'];}get[a54i(0x9d)](){const n=a54i;return this[n(0x92)];}set[a54i(0x9d)](a){const o=a54i;this[o(0x92)]=a;}get[a54i(0xc8)](){return this['_maxCarryingWeight'];}set[a54i(0xc8)](a){const p=a54i;a>0x0?this[p(0x98)]=a:console['error']('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get[a54i(0x9f)](){const q=a54i;let a=this['_inventory'][q(0xd6)]();for(const b in this[q(0x92)]){const c=this[q(0x92)][b];c&&(a+=c[q(0xa1)]);}return a;}[a54i(0xb4)](a){const r=a54i;if(this[r(0x9f)]+a[r(0xa1)]>this[r(0xc8)]){this[r(0xe3)][r(0xbc)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(r(0xd1));}this[r(0x97)]['addItem'](a),this[r(0xe3)][r(0xbc)](r(0xb9)+a[r(0xd3)]+r(0xd9));}[a54i(0xa0)](a){const s=a54i;if(this[s(0x97)][s(0xae)](a[s(0xd3)]))return this['logger']['write'](s(0x96)+a['name']+s(0xbb)),!![];return this[s(0xe3)][s(0xbc)](s(0x90)+a[s(0xd3)]+s(0xbb)),![];}[a54i(0xa4)](a){const t=a54i;if(!this[t(0x97)]['hasItem'](a[t(0xd3)]))return'You\x20don\x27t\x20have\x20'+a[t(0xd3)]+'\x20in\x20your\x20inventory.';if(!this[t(0xb3)](a))return t(0x93)+a['name']+'.';const b=this[t(0xc1)](a[t(0xbe)]);if(!b)return a[t(0xd3)]+t(0xdd);if(this[t(0x9d)][b])return t(0xaa)+b+t(0xcc);return this[t(0x9d)][b]=a,this['removeInventory'](a),t(0xd7)+a['name']+'.';}['unequip'](a){const u=a54i;let b=a;if(!this[u(0x9d)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return u(0xc2)+a+'.';}return this[u(0xcf)](b);}['determineEquipmentSlot'](a){const v=a54i;switch(a[v(0x9e)]()){case Category[v(0xd4)][v(0x9e)]():return v(0xb1);case Category[v(0xb2)][v(0x9e)]():return'leftHand';case Category[v(0xbd)][v(0x9e)]():return v(0xe7);case Category['Helmet'][v(0x9e)]():case Category[v(0xca)][v(0x9e)]():return v(0x91);case Category[v(0xe6)]['toLowerCase']():return v(0xa2);case Category['LegArmor'][v(0x9e)]():return v(0xc5);case Category[v(0x8f)]['toLowerCase']():return v(0xdb);case Category['BodyArmor'][v(0x9e)]():return'torso';case v(0xdf):return v(0xb1);case v(0xb7):return v(0xd0);case'gloves':return'gloves';case v(0x94):case'hat':return'head';case v(0xda):return v(0xa2);case'leg\x20armor':case v(0xe4):return v(0xc5);case v(0x9a):case v(0xc4):return'arms';case v(0xb6):case'bodyarmor':case v(0xa6):return v(0xa6);default:return null;}}[a54i(0xb3)](a){const w=a54i;return Object[w(0xa8)](Category)[w(0xc6)](a[w(0xbe)]);}[a54i(0xcf)](a){const x=a54i,b=this[x(0x9d)][a];if(!b)return x(0xc3)+a+x(0xc0);return this[x(0xb4)](b),this['equipment'][a]=null,x(0xd5)+b[x(0xd3)]+'.';}[a54i(0xa3)](a,b){const y=a54i;a!==this&&this[y(0xe3)][y(0x9b)](a[y(0xd3)]+y(0x8e)+b+'\x22');}['enterRoom'](a){const z=a54i;this[z(0xba)]=a,a['on'](z(0xac),this[z(0xa3)][z(0xaf)](this)),this[z(0xe3)]['write'](this['name']+z(0xd2)+a[z(0xd3)]);}[a54i(0xe2)](){const A=a54i;this['_currentLocation']&&(this[A(0xba)][A(0xb8)](A(0xac),this[A(0xa3)][A(0xaf)](this)),this['logger'][A(0xbc)](this[A(0xd3)]+A(0xd8)+this[A(0xba)][A(0xd3)]));}}
@@ -1 +1 @@
1
- var a55h=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x1c1))/0x1*(-parseInt(f(0x1ca))/0x2)+-parseInt(f(0x1cd))/0x3+-parseInt(f(0x1cf))/0x4+parseInt(f(0x1c4))/0x5+-parseInt(f(0x1c3))/0x6+-parseInt(f(0x1dc))/0x7*(-parseInt(f(0x1d9))/0x8)+parseInt(f(0x1c5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xada79));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var g=a55d;return a55a[g(0x1c9)]()[g(0x1dd)](g(0x1c8))[g(0x1c9)]()['constructor'](a55a)[g(0x1dd)]('(((.+)+)+)+$');});a55a();function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1c1;var f=c[d];return f;},a55d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger['getInstance']();[a55h(0x1d3)]=![];[a55h(0x1d6)];['requiredPhrase'];[a55h(0x1d5)];[a55h(0x1c2)];['successMessage'];[a55h(0x1d1)];constructor(a){var i=a55h;super(),this[i(0x1d6)]=a[i(0x1d6)],this[i(0x1d4)]=a[i(0x1d4)],this[i(0x1d5)]=a[i(0x1d5)],this[i(0x1c2)]=a[i(0x1c2)],this[i(0x1da)]=a[i(0x1da)]||i(0x1d0),this[i(0x1d1)]=a[i(0x1d1)]||i(0x1c6);}[a55h(0x1c7)](a){var j=a55h;if(this[j(0x1d6)])return a['hasItem'](this[j(0x1d6)]);return![];}['matchesRequiredPhrase'](a){var k=a55h;return this[k(0x1d4)]===a;}[a55h(0x1cb)](a,b){var l=a55h;if(this[l(0x1d3)])return this[l(0x1d8)]['write'](l(0x1ce)),{'success':![],'message':l(0x1d2)};return this[l(0x1c7)](b)||this[l(0x1d7)](a)?(this[l(0x1d3)]=!![],this[l(0x1d8)][l(0x1db)](l(0x1cc)),{'success':!![],'message':this[l(0x1da)]}):(this[l(0x1d8)][l(0x1db)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[l(0x1d1)]});}}function a55c(){var m=['successMessage','write','63fQYWNS','search','428629lkSKqs','rewardItem','5594886eMGBqt','3707290vJwDSU','16774767KjmLCW','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','hasRequiredItem','(((.+)+)+)+$','toString','2INuSrs','solve','Puzzle:\x20Correct\x20solution\x20provided.','2586834ilDplV','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','4207532vShmJC','You\x20solved\x20the\x20puzzle!','failureMessage','You\x20have\x20already\x20solved\x20this\x20puzzle.','solved','requiredPhrase','riddle','requiredItem','matchesRequiredPhrase','logger','1227768PItPpz'];a55c=function(){return m;};return a55c();}
1
+ function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1ba;var f=c[d];return f;},a55d(a,b);}function a55c(){var n=['You\x20solved\x20the\x20puzzle!','riddle','solved','Puzzle:\x20Correct\x20solution\x20provided.','logger','You\x20have\x20already\x20solved\x20this\x20puzzle.','3014198iupVtH','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','606YomdPh','8qGUapV','920493yziqyR','requiredPhrase','610nPLhws','(((.+)+)+)+$','failureMessage','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','matchesRequiredPhrase','solve','hasRequiredItem','hasItem','2450871GLaWRs','30MfgnpC','toString','2459844loMKbe','search','write','rewardItem','20xkZVuX','apply','2636760zcMvJf','285716QMJmag','requiredItem'];a55c=function(){return n;};return a55c();}var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x1c6))/0x1*(parseInt(f(0x1c2))/0x2)+parseInt(f(0x1c4))/0x3+parseInt(f(0x1d8))/0x4*(parseInt(f(0x1cf))/0x5)+-parseInt(f(0x1d1))/0x6+parseInt(f(0x1d7))/0x7+-parseInt(f(0x1c3))/0x8*(-parseInt(f(0x1ce))/0x9)+-parseInt(f(0x1d5))/0xa*(parseInt(f(0x1c0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x3af9c));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0x1d2)]('(((.+)+)+)+$')[h(0x1d0)]()['constructor'](a55a)['search'](h(0x1c7));});a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger['getInstance']();[a55i(0x1bc)]=![];['requiredItem'];[a55i(0x1c5)];[a55i(0x1bb)];[a55i(0x1d4)];['successMessage'];[a55i(0x1c8)];constructor(a){var j=a55i;super(),this['requiredItem']=a[j(0x1d9)],this[j(0x1c5)]=a[j(0x1c5)],this['riddle']=a[j(0x1bb)],this['rewardItem']=a['rewardItem'],this['successMessage']=a['successMessage']||j(0x1ba),this[j(0x1c8)]=a[j(0x1c8)]||j(0x1c9);}[a55i(0x1cc)](a){var k=a55i;if(this['requiredItem'])return a[k(0x1cd)](this[k(0x1d9)]);return![];}[a55i(0x1ca)](a){var l=a55i;return this[l(0x1c5)]===a;}[a55i(0x1cb)](a,b){var m=a55i;if(this[m(0x1bc)])return this[m(0x1be)][m(0x1d3)](m(0x1c1)),{'success':![],'message':m(0x1bf)};return this[m(0x1cc)](b)||this[m(0x1ca)](a)?(this[m(0x1bc)]=!![],this['logger'][m(0x1d3)](m(0x1bd)),{'success':!![],'message':this['successMessage']}):(this[m(0x1be)][m(0x1d3)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[m(0x1c8)]});}}
@@ -1 +1 @@
1
- const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x9f))/0x1+-parseInt(f(0xa7))/0x2+-parseInt(f(0x93))/0x3+-parseInt(f(0x87))/0x4*(parseInt(f(0xa2))/0x5)+-parseInt(f(0xac))/0x6*(parseInt(f(0x9a))/0x7)+-parseInt(f(0xb9))/0x8+parseInt(f(0x99))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x45337));function a56c(){const u=['Puzzle\x20set\x20for\x20room\x20','roomA','apply','setPuzzle','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','\x20remains\x20locked.','puzzle','emit','down','say','340192kyBJZI','getOppositeDirection','exits','Checking\x20if\x20exit\x20in\x20direction\x20','isStartRoom','name','toString','addExit','104blYOVt','Item\x20removed\x20from\x20room\x20','inventory','write','Item\x20added\x20to\x20room\x20','Room\x20created:\x20','west','attemptUnlock','(((.+)+)+)+$','removeItem','speak','roomType','1066944DfwVle','INSIDE','hasItem','set','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','Fetching\x20exit\x20in\x20direction:\x20','14877792VujWKA','2282IQbBQp','get','checkIfLocked','roomB','findExistingDoor','272171iaegnK','.\x20Success:\x20','logger','12655qnWjhP','EAST','south','\x20is\x20locked.\x20Result:\x20','addItem','841880UNZaUO','WEST','search','riddle','The\x20','3912SuBkDw','DOWN','isExitLocked'];a56c=function(){return u;};return a56c();}const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x85)]()[h(0xa9)](h(0x8f))['toString']()['constructor'](a56a)[h(0xa9)](h(0x8f));});a56a();import{Logger}from'../utilities/logger.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x84;let f=c[d];return f;},a56d(a,b);}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0xa1)]=Logger['getInstance']();[a56i(0x84)];['description'];[a56i(0xbb)]=new Map();[a56i(0x92)];[a56i(0xbd)];[a56i(0x89)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x84)]=a[j(0x84)],this['description']=a['description'],this[j(0x92)]=a[j(0x92)]||RoomType[j(0x94)],a['exits']&&(this[j(0xbb)]=a['exits']||new Map()),a[j(0x89)]&&(this[j(0x89)]=a['inventory']),a['puzzle']&&(this[j(0xb5)]=a[j(0xb5)]),this['isStartRoom']=a[j(0xbd)]||![],this['logger'][j(0x8a)](j(0x8c)+this[j(0x84)]);}[a56i(0xb8)](a,b){const k=a56i;this[k(0xb6)](k(0x91),a,b);}[a56i(0x86)](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['exits'][l(0x96)](a,d),b[l(0xbb)][l(0x96)](this['getOppositeDirection'](a),d);}['attemptUnlockExit'](a,b){const m=a56i,c=this[m(0xbb)][m(0x9b)](a);if(c instanceof Door){const d=c[m(0x8e)](b);return this[m(0xa1)][m(0x8a)](m(0xb3)+a+m(0xa0)+d),d?m(0xab)+c[m(0x84)]+'\x20unlocked!':'The\x20'+c[m(0x84)]+m(0xb4);}return this[m(0xa1)][m(0x8a)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0x97);}['getExit'](a){const n=a56i;return this['logger'][n(0x8a)](n(0x98)+a),this['exits'][n(0x9b)](a);}[a56i(0xae)](a){const o=a56i,b=this[o(0xbb)]['get'](a),c=b instanceof Door&&b[o(0x9c)]();return this[o(0xa1)][o(0x8a)](o(0xbc)+a+o(0xa5)+c),c;}[a56i(0xa6)](a){const p=a56i;this[p(0x89)]['addItem'](a),this[p(0xa1)][p(0x8a)](p(0x8b)+this['name']+':\x20'+a['name']);}[a56i(0x90)](a){const q=a56i;this[q(0x89)][q(0x95)](a[q(0x84)])?(this['inventory'][q(0x90)](a['name']),this[q(0xa1)]['write'](q(0x88)+this[q(0x84)]+':\x20'+a['name'])):this[q(0xa1)][q(0x8a)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0x84)]+':\x20'+a['name']);}[a56i(0xb2)](a){const r=a56i;this[r(0xb5)]=a,this[r(0xa1)][r(0x8a)](r(0xaf)+this['name']+':\x20'+a[r(0xaa)]);}[a56i(0xba)](a){const s=a56i;switch(a){case'north':return Direction['SOUTH'];case s(0xa4):return Direction['NORTH'];case'east':return Direction[s(0xa8)];case s(0x8d):return Direction[s(0xa3)];case'up':return Direction[s(0xad)];case s(0xb7):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}['findExistingDoor'](a){const t=a56i;for(const b of this[t(0xbb)]['values']()){if(b instanceof Door){if(b[t(0xb0)]===this&&b[t(0x9d)]===a||b[t(0x9d)]===this&&b['roomA']===a)return b;}}return undefined;}}
1
+ const a56h=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x1e8))/0x1*(parseInt(f(0x1f2))/0x2)+parseInt(f(0x1d2))/0x3*(-parseInt(f(0x1db))/0x4)+parseInt(f(0x1d9))/0x5*(parseInt(f(0x1f3))/0x6)+-parseInt(f(0x1eb))/0x7*(-parseInt(f(0x1e9))/0x8)+-parseInt(f(0x1c0))/0x9+parseInt(f(0x1e2))/0xa*(parseInt(f(0x1d4))/0xb)+parseInt(f(0x1f5))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x68e02));function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a56d(a,b);}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[g(0x1b8)]()['search']('(((.+)+)+)+$')[g(0x1b8)]()[g(0x1ed)](a56a)[g(0x1cc)]('(((.+)+)+)+$');});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56h(0x1f7)]=Logger[a56h(0x1c1)]();[a56h(0x1f0)];[a56h(0x1ce)];[a56h(0x1f8)]=new Map();['roomType'];[a56h(0x1c4)];['inventory']=new Inventory();constructor(a){const i=a56h;super(),this[i(0x1f0)]=a[i(0x1f0)],this[i(0x1ce)]=a[i(0x1ce)],this[i(0x1c8)]=a[i(0x1c8)]||RoomType[i(0x1e5)],a['exits']&&(this['exits']=a[i(0x1f8)]||new Map()),a[i(0x1e3)]&&(this['inventory']=a[i(0x1e3)]),a[i(0x1dc)]&&(this[i(0x1dc)]=a[i(0x1dc)]),this[i(0x1c4)]=a[i(0x1c4)]||![],this[i(0x1f7)][i(0x1ec)](i(0x1ef)+this[i(0x1f0)]);}[a56h(0x1e1)](a,b){const j=a56h;this[j(0x1b7)](j(0x1e4),a,b);}[a56h(0x1ca)](a,b,c){const k=a56h;let d=this[k(0x1ee)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0x1f8)][k(0x1c9)](a,d),b['exits']['set'](this[k(0x1ba)](a),d);}[a56h(0x1d1)](a,b){const l=a56h,c=this['exits'][l(0x1cb)](a);if(c instanceof Door){const d=c[l(0x1c5)](b);return this[l(0x1f7)]['write'](l(0x1dd)+a+l(0x1fc)+d),d?l(0x1d7)+c[l(0x1f0)]+l(0x1f4):'The\x20'+c[l(0x1f0)]+l(0x1bf);}return this[l(0x1f7)]['write'](l(0x1d3)+a),l(0x1c2);}[a56h(0x1be)](a){const m=a56h;return this[m(0x1f7)]['write'](m(0x1cd)+a),this[m(0x1f8)][m(0x1cb)](a);}['isExitLocked'](a){const n=a56h,b=this[n(0x1f8)][n(0x1cb)](a),c=b instanceof Door&&b[n(0x1fd)]();return this[n(0x1f7)][n(0x1ec)](n(0x1c3)+a+n(0x1cf)+c),c;}['addItem'](a){const o=a56h;this[o(0x1e3)][o(0x1bc)](a),this['logger'][o(0x1ec)](o(0x1d6)+this[o(0x1f0)]+':\x20'+a[o(0x1f0)]);}[a56h(0x1e0)](a){const p=a56h;this[p(0x1e3)][p(0x1c6)](a[p(0x1f0)])?(this[p(0x1e3)][p(0x1e0)](a[p(0x1f0)]),this[p(0x1f7)]['write'](p(0x1c7)+this[p(0x1f0)]+':\x20'+a[p(0x1f0)])):this['logger'][p(0x1ec)](p(0x1bb)+this[p(0x1f0)]+':\x20'+a[p(0x1f0)]);}[a56h(0x1b9)](a){const q=a56h;this[q(0x1dc)]=a,this['logger'][q(0x1ec)](q(0x1df)+this['name']+':\x20'+a[q(0x1bd)]);}[a56h(0x1ba)](a){const r=a56h;switch(a){case r(0x1d5):return Direction[r(0x1fb)];case r(0x1f6):return Direction[r(0x1da)];case r(0x1f9):return Direction[r(0x1e6)];case r(0x1d8):return Direction[r(0x1fa)];case'up':return Direction['DOWN'];case r(0x1d0):return Direction['UP'];default:throw new Error(r(0x1de)+a);}}['findExistingDoor'](a){const s=a56h;for(const b of this[s(0x1f8)][s(0x1ea)]()){if(b instanceof Door){if(b[s(0x1e7)]===this&&b[s(0x1f1)]===a||b['roomB']===this&&b[s(0x1e7)]===a)return b;}}return undefined;}}function a56c(){const t=['60OvsrPU','NORTH','3149444yWAZbu','puzzle','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','Invalid\x20direction:\x20','Puzzle\x20set\x20for\x20room\x20','removeItem','say','40780TBimGy','inventory','speak','INSIDE','WEST','roomA','373QivJnS','8WIIxVg','values','1704227ylbEQV','write','constructor','findExistingDoor','Room\x20created:\x20','name','roomB','866PwPBip','156402jdHpNk','\x20unlocked!','7713204wqeFek','south','logger','exits','east','EAST','SOUTH','.\x20Success:\x20','checkIfLocked','emit','toString','setPuzzle','getOppositeDirection','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','addItem','riddle','getExit','\x20remains\x20locked.','4954986bNqQrp','getInstance','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','Checking\x20if\x20exit\x20in\x20direction\x20','isStartRoom','attemptUnlock','hasItem','Item\x20removed\x20from\x20room\x20','roomType','set','addExit','get','search','Fetching\x20exit\x20in\x20direction:\x20','description','\x20is\x20locked.\x20Result:\x20','down','attemptUnlockExit','3Ztqdxw','No\x20locked\x20exit\x20found\x20in\x20direction\x20','1969UxWCOP','north','Item\x20added\x20to\x20room\x20','The\x20','west'];a56c=function(){return t;};return a56c();}
@@ -1 +1 @@
1
- const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x1fd))/0x1*(-parseInt(i(0x1f9))/0x2)+parseInt(i(0x1ef))/0x3+-parseInt(i(0x1d8))/0x4*(-parseInt(i(0x20c))/0x5)+parseInt(i(0x1f7))/0x6+parseInt(i(0x1c9))/0x7*(parseInt(i(0x1d5))/0x8)+-parseInt(i(0x203))/0x9*(-parseInt(i(0x20f))/0xa)+parseInt(i(0x1d2))/0xb*(-parseInt(i(0x1fc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x37dcd));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a['toString']()[k(0x1ed)](k(0x1c5))['toString']()[k(0x1ea)](a57a)[k(0x1ed)](k(0x1c5));});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];[a57l(0x208)];[a57l(0x1e3)];[a57l(0x1f0)];[a57l(0x210)]=new Map();[a57l(0x1fe)];constructor(a){const m=a57l;super(),this[m(0x1fe)]=new RoomFactory(),this[m(0x208)]=a[m(0x208)],this[m(0x1d9)]=this[m(0x1c8)](a[m(0x1d7)]),this['logger']=Logger[m(0x1c7)](),this[m(0x1f0)]=new Map(),this[m(0x1db)](a[m(0x1d7)]),this[m(0x1e3)]['write'](m(0x1ce)+Object[m(0x1d0)](this[m(0x1d9)])[m(0x201)](',\x20'));}[a57l(0x1e8)](){const n=a57l;this[n(0x208)][n(0x1f4)]=this['determineStartRoom']();}[a57l(0x1c8)](a){const o=a57l;if(!this[o(0x1fe)])throw new Error(o(0x1cf));const b={};for(const c of a){const d=this[o(0x1fe)][o(0x1ec)](c);b[c[o(0x1c6)]]=d;}return b;}[a57l(0x1db)](a){const p=a57l;for(const b of a){const c=this['rooms'][b['name']];if(b[p(0x1c4)])for(const d of b[p(0x1c4)]){const e=d[p(0x1f6)][p(0x1dc)](),f=d['targetRoom'],g=d[p(0x1e1)],h=this[p(0x1d9)][f];h&&c[p(0x20b)](Direction[e],h,g);}}}[a57l(0x1e7)](a){const q=a57l;if(this[q(0x1f0)][q(0x1d6)](a[q(0x1c6)]))throw new Error(q(0x1cd)+a[q(0x1c6)]+q(0x1f2));this[q(0x1f0)][q(0x1d3)](a[q(0x1c6)],a);}[a57l(0x207)](a){const r=a57l;if(!this[r(0x1f0)][r(0x1d6)](a))throw new Error(r(0x209)+a+r(0x1d1));this['actors'][r(0x200)](a);}[a57l(0x1cb)](a){const s=a57l;return this[s(0x1f0)][s(0x1e6)](a);}get['allActors'](){const t=a57l;return Array[t(0x1fa)](this[t(0x1f0)]['values']());}[a57l(0x202)](a){const u=a57l;this[u(0x1d9)][a[u(0x1c6)]]=a,this[u(0x1e3)][u(0x1fb)](u(0x1c3)+a['name']);}['removeRoom'](a){const v=a57l;return this[v(0x1d9)][a]?(delete this[v(0x1d9)][a],this['logger'][v(0x1fb)](v(0x1dd)+a),!![]):(this['logger'][v(0x1fb)]('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}[a57l(0x1f5)](a,b){const w=a57l,c=this[w(0x1d9)][b];c?(c['addItem'](a),this[w(0x1e3)]['write']('Added\x20item\x20'+a[w(0x1c6)]+w(0x1e4)+c['name'])):this[w(0x1e3)][w(0x1fb)](w(0x1f3)+a[w(0x1c6)]+'.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a57l(0x1e0)](a,b){const x=a57l,c=this['rooms'][b];c?(c[x(0x1e9)](a),this[x(0x1e3)][x(0x1fb)](x(0x1eb)+c[x(0x1c6)])):this[x(0x1e3)][x(0x1fb)](x(0x1ff)+b+'\x20not\x20found\x20in\x20scene.');}[a57l(0x1df)](a,b){const y=a57l,c=this[y(0x1d9)][b];c?(this[y(0x210)][y(0x1d3)](a['name'],c),this[y(0x1e3)][y(0x1fb)](a[y(0x1c6)]+y(0x1ca)+c[y(0x1c6)])):this[y(0x1e3)][y(0x1fb)](y(0x204)+a[y(0x1c6)]+y(0x206)+b+y(0x1cc));}[a57l(0x1f8)](a){const z=a57l;return this[z(0x210)][z(0x1e6)](a['name']);}['determineStartRoom'](){const A=a57l,a=[];for(const c in this[A(0x1d9)]){if(this[A(0x1d9)][A(0x1e5)](c)){const d=this[A(0x1d9)][c];d[A(0x1de)]&&a['push'](d);}}if(a[A(0x20d)]>0x1)throw new Error(A(0x20e));if(a[A(0x20d)]===0x1)return a[0x0];const b=Object['keys'](this[A(0x1d9)]);if(b[A(0x20d)]===0x0)throw new Error(A(0x1e2));return console[A(0x1ee)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0x1d9)][b[0x0]];}[a57l(0x20a)](){const B=a57l;return this[B(0x208)];}[a57l(0x205)](){return this['rooms'];}['connectRooms'](a,b,c,d){const C=a57l,e=this[C(0x1d9)][a],f=this[C(0x1d9)][c];if(!e)throw new Error(C(0x1f1)+a+C(0x1da));if(!f)throw new Error(C(0x1f1)+c+C(0x1da));e[C(0x20b)](b,f,d);}}function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a57d(a,b);}function a57c(){const D=['addItemToRoom','direction','1021722xazsyk','getCharacterLocation','14ovIuZk','from','write','276XpQCOH','20689NhoVVO','roomFactory','Failed\x20to\x20add\x20puzzle.\x20Room\x20','delete','join','addRoom','9FJXAHE','Failed\x20to\x20set\x20','getRooms','\x27s\x20location.\x20Room\x20','removeActor','player','No\x20actor\x20with\x20name\x20','getPlayer','addExit','940inRjDx','length','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','808590NFLcyj','characterLocations','Added\x20room\x20to\x20scene:\x20','exits','(((.+)+)+)+$','name','getInstance','generateRoomsFromConfig','532dcSpGO','\x20is\x20now\x20in\x20room\x20','getActor','\x20not\x20found\x20in\x20scene.','Actor\x20with\x20name\x20','Scene\x20initialized\x20with\x20rooms:\x20','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','keys','\x20found\x20in\x20the\x20scene.','230197PGbQUp','set','apply','10976prYtmS','has','roomConfiguration','9388lGuLot','rooms','\x22\x20does\x20not\x20exist.','createExitsFromConfig','toUpperCase','Removed\x20room\x20from\x20scene:\x20','isStartRoom','setCharacterLocation','addPuzzleToRoom','keyRequired','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','logger','\x20to\x20room\x20','hasOwnProperty','get','addActor','initialize','setPuzzle','constructor','Added\x20puzzle\x20to\x20room\x20','createRoom','search','warn','174909DYLYxl','actors','Room\x20\x22','\x20already\x20exists\x20in\x20the\x20scene.','Failed\x20to\x20add\x20item\x20','currentLocation'];a57c=function(){return D;};return a57c();}
1
+ const a57k=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x1db))/0x1*(-parseInt(i(0x1d8))/0x2)+-parseInt(i(0x1aa))/0x3+parseInt(i(0x1ad))/0x4+-parseInt(i(0x19e))/0x5*(parseInt(i(0x199))/0x6)+parseInt(i(0x1b1))/0x7+parseInt(i(0x19c))/0x8+parseInt(i(0x1c6))/0x9*(parseInt(i(0x1d0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x1ae60));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(0x1a1)]()[j(0x1a3)](j(0x1c9))[j(0x1a1)]()[j(0x198)](a57a)[j(0x1a3)](j(0x1c9));});a57a();import{Logger}from'../utilities/logger.js';function a57c(){const D=['get','characterLocations','\x20found\x20in\x20the\x20scene.','join','has','set','590379fQNNGv','createRoom','initialize','273912yjKvZd','length','keyRequired','determineStartRoom','220528kJzzlh','\x20already\x20exists\x20in\x20the\x20scene.','getActor','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','addActor','Failed\x20to\x20set\x20','addExit','removeActor','values','name','\x22\x20does\x20not\x20exist.','currentLocation','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','addPuzzleToRoom','actors','No\x20actor\x20with\x20name\x20','removeRoom','write','hasOwnProperty','\x20is\x20now\x20in\x20room\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','54GprHcg','addRoom','allActors','(((.+)+)+)+$','roomFactory','push','\x20not\x20found\x20in\x20scene.','player','getRooms','generateRoomsFromConfig','496040WyMcZQ','toUpperCase','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Failed\x20to\x20add\x20item\x20','setPuzzle','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','warn','keys','4ZrikOE','logger','Actor\x20with\x20name\x20','11651Ebzoxl','rooms','targetRoom','getInstance','getCharacterLocation','createExitsFromConfig','\x27s\x20location.\x20Room\x20','roomConfiguration','constructor','3606MItneU','Added\x20item\x20','exits','764288AXzsqq','Added\x20room\x20to\x20scene:\x20','1355MDyQPr','connectRooms','Removed\x20room\x20from\x20scene:\x20','toString','Added\x20puzzle\x20to\x20room\x20','search'];a57c=function(){return D;};return a57c();}import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x197;let f=c[d];return f;},a57d(a,b);}export class Scene extends AbstractScene{[a57k(0x1dc)];[a57k(0x1cd)];[a57k(0x1d9)];[a57k(0x1bf)];['characterLocations']=new Map();['roomFactory'];constructor(a){const l=a57k;super(),this['roomFactory']=new RoomFactory(),this['player']=a[l(0x1cd)],this[l(0x1dc)]=this[l(0x1cf)](a[l(0x197)]),this[l(0x1d9)]=Logger[l(0x1de)](),this['actors']=new Map(),this[l(0x1e0)](a['roomConfiguration']),this[l(0x1d9)]['write']('Scene\x20initialized\x20with\x20rooms:\x20'+Object[l(0x1d7)](this[l(0x1dc)])[l(0x1a7)](',\x20'));}[a57k(0x1ac)](){const m=a57k;this[m(0x1cd)][m(0x1bc)]=this[m(0x1b0)]();}[a57k(0x1cf)](a){const n=a57k;if(!this[n(0x1ca)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this['roomFactory'][n(0x1ab)](c);b[c['name']]=d;}return b;}[a57k(0x1e0)](a){const o=a57k;for(const b of a){const c=this['rooms'][b[o(0x1ba)]];if(b[o(0x19b)])for(const d of b[o(0x19b)]){const e=d['direction'][o(0x1d1)](),f=d[o(0x1dd)],g=d[o(0x1af)],h=this[o(0x1dc)][f];h&&c[o(0x1b7)](Direction[e],h,g);}}}[a57k(0x1b5)](a){const p=a57k;if(this['actors']['has'](a['name']))throw new Error(p(0x1da)+a['name']+p(0x1b2));this[p(0x1bf)][p(0x1a9)](a['name'],a);}[a57k(0x1b8)](a){const q=a57k;if(!this[q(0x1bf)][q(0x1a8)](a))throw new Error(q(0x1c0)+a+q(0x1a6));this[q(0x1bf)]['delete'](a);}[a57k(0x1b3)](a){const r=a57k;return this[r(0x1bf)][r(0x1a4)](a);}get[a57k(0x1c8)](){const s=a57k;return Array['from'](this['actors'][s(0x1b9)]());}[a57k(0x1c7)](a){const t=a57k;this['rooms'][a['name']]=a,this[t(0x1d9)][t(0x1c2)](t(0x19d)+a['name']);}[a57k(0x1c1)](a){const u=a57k;return this[u(0x1dc)][a]?(delete this['rooms'][a],this[u(0x1d9)][u(0x1c2)](u(0x1a0)+a),!![]):(this[u(0x1d9)][u(0x1c2)](u(0x1bd)+a),![]);}['addItemToRoom'](a,b){const v=a57k,c=this['rooms'][b];c?(c['addItem'](a),this[v(0x1d9)][v(0x1c2)](v(0x19a)+a[v(0x1ba)]+'\x20to\x20room\x20'+c[v(0x1ba)])):this[v(0x1d9)]['write'](v(0x1d3)+a[v(0x1ba)]+'.\x20Room\x20'+b+v(0x1cc));}[a57k(0x1be)](a,b){const w=a57k,c=this['rooms'][b];c?(c[w(0x1d4)](a),this[w(0x1d9)][w(0x1c2)](w(0x1a2)+c['name'])):this[w(0x1d9)][w(0x1c2)](w(0x1d2)+b+w(0x1cc));}['setCharacterLocation'](a,b){const x=a57k,c=this[x(0x1dc)][b];c?(this['characterLocations'][x(0x1a9)](a['name'],c),this[x(0x1d9)][x(0x1c2)](a[x(0x1ba)]+x(0x1c4)+c[x(0x1ba)])):this['logger'][x(0x1c2)](x(0x1b6)+a[x(0x1ba)]+x(0x1e1)+b+'\x20not\x20found\x20in\x20scene.');}[a57k(0x1df)](a){const y=a57k;return this[y(0x1a5)][y(0x1a4)](a['name']);}[a57k(0x1b0)](){const z=a57k,a=[];for(const c in this['rooms']){if(this[z(0x1dc)][z(0x1c3)](c)){const d=this[z(0x1dc)][c];d['isStartRoom']&&a[z(0x1cb)](d);}}if(a[z(0x1ae)]>0x1)throw new Error(z(0x1d5));if(a[z(0x1ae)]===0x1)return a[0x0];const b=Object[z(0x1d7)](this[z(0x1dc)]);if(b['length']===0x0)throw new Error(z(0x1c5));return console[z(0x1d6)](z(0x1b4)),this[z(0x1dc)][b[0x0]];}['getPlayer'](){const A=a57k;return this[A(0x1cd)];}[a57k(0x1ce)](){const B=a57k;return this[B(0x1dc)];}[a57k(0x19f)](a,b,c,d){const C=a57k,e=this[C(0x1dc)][a],f=this[C(0x1dc)][c];if(!e)throw new Error('Room\x20\x22'+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error('Room\x20\x22'+c+C(0x1bb));e['addExit'](b,f,d);}}