@maka/maka-cli 4.12.21 → 4.12.23

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 (159) 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/templates/service/docker/Dockerfile +1 -3
  140. package/bundle/obf/src/tool.js +1 -1
  141. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  142. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  143. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  145. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  147. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/https/https.class.js +1 -1
  149. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  150. package/bundle/obf/src/tools/log/log.class.js +1 -1
  151. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/options/options.class.js +1 -1
  153. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  154. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  155. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  157. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  158. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  159. package/package.json +1 -1
@@ -1 +1 @@
1
- const a38i=a38d;function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xc7;let f=c[d];return f;},a38d(a,b);}function a38c(){const n=['write','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','1483666wDGoEo','search','Above\x20you,\x20','Looking\x20at\x20item\x20\x27','rooms','get','exits','Executing\x20\x27Look\x27\x20command.','1821827lVzvZb','3235lPZZwu','3kVSzam','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','string',',\x20you\x20see\x20','riddle','execute','roomType','inspectItem','\x27\x20in\x20current\x20room\x20inventory.','name','currentLocation','apply','It\x27s\x20just\x20a\x20regular\x20','You\x20cannot\x20see\x20','look','error','\x20inventory.','1126405aIVCrt','\x27\x20in\x20','puzzle','constructor','lookOutside','OUTSIDE','18693220nMznQO','getItem','You\x20don\x27t\x20see\x20any\x20','You\x20cannot\x20see\x20through','down','(((.+)+)+)+$','getOtherSide','hasItem','logger','actor','4654568aKOznE','2230947nXAHxZ','description','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','verb','toString','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','Below\x20you,\x20','5262FNwOQh','You\x27re\x20not\x20in\x20a\x20valid\x20room.','40ipuhKR','join'];a38c=function(){return n;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0xc9))/0x1+-parseInt(f(0xe7))/0x2*(parseInt(f(0xf1))/0x3)+parseInt(f(0xd9))/0x4+-parseInt(f(0xf0))/0x5*(-parseInt(f(0xe1))/0x6)+parseInt(f(0xef))/0x7+parseInt(f(0xe3))/0x8*(-parseInt(f(0xda))/0x9)+parseInt(f(0xcf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xb7d5f));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0xde)]()[h(0xe8)](h(0xd4))['toString']()[h(0xcc)](a38a)['search']('(((.+)+)+)+$');});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0xdd)]='look';static [a38i(0xdb)]='Examine\x20your\x20surroundings';[a38i(0xf6)](a=[]){const j=a38i;this[j(0xd7)][j(0xe5)](j(0xee));const b=a[j(0xe4)]('\x20');if(b){if(this[j(0xd8)]['inventory']['hasItem'](b))return this[j(0xd7)][j(0xe5)](j(0xea)+b+j(0xca)+this[j(0xd8)][j(0xfa)]+j(0xc8)),this[j(0xf8)](b,this[j(0xd8)]['inventory']);else{if(this[j(0xd8)][j(0xfb)]['inventory'][j(0xd6)](b))return this[j(0xd7)]['write'](j(0xea)+b+j(0xf9)),this[j(0xf8)](b,this[j(0xd8)][j(0xfb)]['inventory']);else return this['isValidDirection'](b)?(this[j(0xd7)][j(0xe5)](j(0xe6)+b+'\x27.'),this[j(0xcd)](b)):j(0xfe)+b;}}else return this[j(0xd7)][j(0xe5)](this[j(0xd8)]['name']+'\x20is\x20looking\x20around\x20the\x20current\x20room.'),this[j(0xff)]();}[a38i(0xff)](){const k=a38i,a=this[k(0xd8)][k(0xfb)];if(!a)return this[k(0xd7)][k(0xc7)](this[k(0xd8)][k(0xfa)]+k(0xf2)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';let b=a[k(0xdb)];return a[k(0xcb)]&&(b+='\x0a'+a[k(0xcb)][k(0xf5)]),b;}['lookOutside'](a){const l=a38i,b=this[l(0xd8)][l(0xfb)];if(!b)return this['logger'][l(0xc7)](this[l(0xd8)][l(0xfa)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),l(0xe2);const c=b[l(0xed)][l(0xec)](a);if(!c)return l(0xdf)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0xd5)](b);else{if(typeof c===l(0xf3)){d=this[l(0xeb)]&&this['rooms'][c];if(!d)return l(0xdc)+a+'\x22.';}else return'Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}if(d[l(0xf7)]===RoomType[l(0xce)]){if(a==='up')return l(0xe9)+d[l(0xdb)];else return a===l(0xd3)?l(0xe0)+d[l(0xdb)]:'To\x20the\x20'+a+l(0xf4)+d['description'];}else return l(0xd2);}[a38i(0xf8)](a,b){const m=a38i,c=b[m(0xd0)](a);if(!c)return m(0xd1)+a+'\x20here.';return c[m(0xdb)]||m(0xfd)+a+'.';}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x117))/0x1*(-parseInt(f(0x12f))/0x2)+-parseInt(f(0x113))/0x3+-parseInt(f(0x11c))/0x4*(-parseInt(f(0x111))/0x5)+-parseInt(f(0x11a))/0x6+parseInt(f(0x123))/0x7+-parseInt(f(0x133))/0x8+parseInt(f(0x132))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x7bac4));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x10f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x126)](h(0x12e))[h(0x119)]()[h(0x12b)](a38a)[h(0x126)](h(0x12e));});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x10c;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0x11b)]=a38i(0x137);static ['description']=a38i(0x11d);[a38i(0x13a)](a=[]){const j=a38i;this[j(0x134)][j(0x11f)](j(0x138));const b=a[j(0x129)]('\x20');if(b){if(this['actor'][j(0x10e)]['hasItem'](b))return this[j(0x134)][j(0x11f)]('Looking\x20at\x20item\x20\x27'+b+j(0x136)+this['actor'][j(0x13c)]+'\x20inventory.'),this[j(0x115)](b,this['actor'][j(0x10e)]);else{if(this[j(0x116)][j(0x121)][j(0x10e)]['hasItem'](b))return this['logger'][j(0x11f)](j(0x13b)+b+j(0x125)),this[j(0x115)](b,this[j(0x116)]['currentLocation'][j(0x10e)]);else return this[j(0x10d)](b)?(this['logger'][j(0x11f)]('Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27'+b+'\x27.'),this[j(0x120)](b)):j(0x12c)+b;}}else return this[j(0x134)][j(0x11f)](this[j(0x116)][j(0x13c)]+'\x20is\x20looking\x20around\x20the\x20current\x20room.'),this['look']();}[a38i(0x137)](){const k=a38i,a=this['actor'][k(0x121)];if(!a)return this[k(0x134)][k(0x131)](this[k(0x116)]['name']+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),k(0x128);let b=a[k(0x12a)];return a[k(0x127)]&&(b+='\x0a'+a['puzzle'][k(0x124)]),b;}[a38i(0x120)](a){const l=a38i,b=this['actor'][l(0x121)];if(!b)return this['logger']['error'](this[l(0x116)][l(0x13c)]+l(0x110)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';const c=b[l(0x139)]['get'](a);if(!c)return l(0x12d)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x118)](b);else{if(typeof c===l(0x10c)){d=this['rooms']&&this[l(0x11e)][c];if(!d)return'There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}else return'Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}if(d[l(0x135)]===RoomType[l(0x130)]){if(a==='up')return'Above\x20you,\x20'+d[l(0x12a)];else return a==='down'?l(0x122)+d['description']:l(0x114)+a+',\x20you\x20see\x20'+d[l(0x12a)];}else return'You\x20cannot\x20see\x20through';}[a38i(0x115)](a,b){const m=a38i,c=b['getItem'](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+'\x20here.';return c[m(0x12a)]||m(0x112)+a+'.';}}function a38c(){const n=['\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','1635755yUJBWo','It\x27s\x20just\x20a\x20regular\x20','2494035dNGzdK','To\x20the\x20','inspectItem','actor','79185Ankfoe','getOtherSide','toString','4675764JfKPMz','verb','4XVxaxR','Examine\x20your\x20surroundings','rooms','write','lookOutside','currentLocation','Below\x20you,\x20','6413512bznWqV','riddle','\x27\x20in\x20current\x20room\x20inventory.','search','puzzle','You\x27re\x20not\x20in\x20a\x20valid\x20room.','join','description','constructor','You\x20cannot\x20see\x20','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','(((.+)+)+)+$','22WXdGWT','OUTSIDE','error','1982646IaXyes','1739944RPapyP','logger','roomType','\x27\x20in\x20','look','Executing\x20\x27Look\x27\x20command.','exits','execute','Looking\x20at\x20item\x20\x27','name','string','isValidDirection','inventory','apply'];a38c=function(){return n;};return a38c();}
@@ -1 +1 @@
1
- function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x108;let f=c[d];return f;},a39d(a,b);}const a39i=a39d;function a39c(){const k=['actor','43419563fUJzfs','28OGgwnm','say','Scene\x20is\x20missing\x20from\x20context.','(((.+)+)+)+$','244320gVzIqR','4651136MkQyQt','2206940gslgeS','log','What\x20do\x20you\x20want\x20to\x20say?','length','context','9066042ZGJjZt','constructor','257686pTFqgE','An\x20error\x20occurred.','12yHGpwx','name','description','logger','16PDcchE','4dYFzSA','72HxSqpN','search','currentLocation','9040vUxLMt','toString','You\x20say:\x20\x22'];a39c=function(){return k;};return a39c();}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x11e))/0x1+-parseInt(g(0x111))/0x2*(parseInt(g(0x115))/0x3)+-parseInt(g(0x108))/0x4*(parseInt(g(0x10c))/0x5)+parseInt(g(0x11c))/0x6+parseInt(g(0x116))/0x7*(-parseInt(g(0x124))/0x8)+parseInt(g(0x109))/0x9*(-parseInt(g(0x117))/0xa)+-parseInt(g(0x110))/0xb*(-parseInt(g(0x120))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xeb62a));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(0x10d)]()[h(0x10a)](h(0x114))[h(0x10d)]()[h(0x11d)](a39a)[h(0x10a)](h(0x114));});a39a();import{Command}from'./command.js';export class SayCommand extends Command{static ['verb']=a39i(0x112);static [a39i(0x122)]='Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.';['context'];constructor(a){super(a),this['context']=a;}['execute'](a){const j=a39i;if(a[j(0x11a)]===0x0)return j(0x119);const b=a['join']('\x20'),c=this[j(0x10f)],d=this[j(0x11b)]['scene'];if(!d)return this[j(0x123)][j(0x118)](j(0x113)),j(0x11f);const e=d['allActors']['filter'](f=>f[j(0x10b)]===c[j(0x10b)]);for(const f of e){this[j(0x123)][j(0x118)](c[j(0x121)]+'\x20says\x20to\x20'+f[j(0x121)]+':\x20\x22'+b+'\x22'),this[j(0x10f)][j(0x10b)]['say'](f,b);}return j(0x10e)+b+'\x22';}}
1
+ const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x13d))/0x1+parseInt(g(0x150))/0x2+parseInt(g(0x152))/0x3+-parseInt(g(0x13b))/0x4+parseInt(g(0x141))/0x5*(parseInt(g(0x14b))/0x6)+parseInt(g(0x154))/0x7+parseInt(g(0x149))/0x8*(-parseInt(g(0x14d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xbe4f5));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x138;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x142)]()['search'](i(0x139))[i(0x142)]()['constructor'](a39a)[i(0x146)](i(0x139));});a39a();import{Command}from'./command.js';export class SayCommand extends Command{static ['verb']=a39j(0x13e);static [a39j(0x13a)]=a39j(0x14c);[a39j(0x153)];constructor(a){const k=a39j;super(a),this[k(0x153)]=a;}['execute'](a){const l=a39j;if(a[l(0x140)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[l(0x145)]('\x20'),c=this[l(0x14a)],d=this[l(0x153)][l(0x14f)];if(!d)return this['logger'][l(0x14e)](l(0x13c)),l(0x144);const e=d[l(0x148)][l(0x147)](f=>f[l(0x143)]===c[l(0x143)]);for(const f of e){this[l(0x151)][l(0x14e)](c[l(0x138)]+l(0x155)+f[l(0x138)]+':\x20\x22'+b+'\x22'),this[l(0x14a)][l(0x143)][l(0x13e)](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}function a39c(){const m=['scene','1600648dAPDPe','logger','4353411IANDsr','context','5437292sOBznZ','\x20says\x20to\x20','name','(((.+)+)+)+$','description','4689908vwvRLC','Scene\x20is\x20missing\x20from\x20context.','448273OHSXqs','say','apply','length','190195fQJyhj','toString','currentLocation','An\x20error\x20occurred.','join','search','filter','allActors','8HlNVTW','actor','114HydFyv','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','12156291YEmMPT','log'];a39c=function(){return m;};return a39c();}
@@ -1 +1 @@
1
- const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x191))/0x1+-parseInt(f(0x183))/0x2*(parseInt(f(0x184))/0x3)+-parseInt(f(0x18e))/0x4*(parseInt(f(0x18f))/0x5)+parseInt(f(0x177))/0x6*(-parseInt(f(0x18b))/0x7)+parseInt(f(0x189))/0x8+parseInt(f(0x17c))/0x9+parseInt(f(0x17d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xcb8cb));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x177;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(0x17f)]()[g(0x18d)]('(((.+)+)+)+$')[g(0x17f)]()[g(0x17b)](a40a)['search']('(((.+)+)+)+$');});a40a();function a40c(){const j=['848544nTHtSk','join','logger','inventory','constructor','1525446qNdQOr','39122420qVjAOx','You\x20search\x20the\x20area\x20and\x20find:\x20','toString','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','currentLocation','length','58SMatwS','99987KoRnLr','listItems','name','\x20found\x20the\x20following\x20items:\x20','SearchCommand:\x20','8250104uZakko','execute','70sYamMH','write','search','263604uENYuQ','45fvojUx','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','1305370mizFCt','actor'];a40c=function(){return j;};return a40c();}import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a40h(0x18d);static ['description']='Search\x20for\x20items\x20in\x20your\x20area';[a40h(0x18a)](){const i=a40h,a=this[i(0x192)][i(0x181)][i(0x17a)][i(0x185)]();if(a[i(0x182)]===0x0)return this[i(0x179)][i(0x18c)]('SearchCommand:\x20'+this[i(0x192)]['name']+i(0x190)),i(0x180);const b=a[i(0x178)](',\x20');return this[i(0x179)][i(0x18c)](i(0x188)+this[i(0x192)][i(0x186)]+i(0x187)+b),i(0x17e)+b;}}
1
+ const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x1c3))/0x1*(parseInt(f(0x1cb))/0x2)+-parseInt(f(0x1bf))/0x3+-parseInt(f(0x1c1))/0x4+parseInt(f(0x1c8))/0x5*(-parseInt(f(0x1cc))/0x6)+parseInt(f(0x1c7))/0x7+parseInt(f(0x1ce))/0x8+parseInt(f(0x1c5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x62d00));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(0x1d7)]()[g(0x1d5)](g(0x1d6))[g(0x1d7)]()[g(0x1ca)](a40a)['search'](g(0x1d6));});a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1bb;let f=c[d];return f;},a40d(a,b);}function a40c(){const j=['toString','actor','Search\x20for\x20items\x20in\x20your\x20area','length','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','1403772PmpGUA','verb','381640ihnbRy','SearchCommand:\x20','85ciphUI','currentLocation','15184557DvBHAK','listItems','1364468NtLzAt','416275ktEBCB','write','constructor','18222IWyAtL','24phqsaU','name','1547424jDQWjQ','inventory','join','logger','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','execute','You\x20search\x20the\x20area\x20and\x20find:\x20','search','(((.+)+)+)+$'];a40c=function(){return j;};return a40c();}export class SearchCommand extends Command{static [a40h(0x1c0)]=a40h(0x1d5);static ['description']=a40h(0x1bc);[a40h(0x1d3)](){const i=a40h,a=this[i(0x1bb)][i(0x1c4)][i(0x1cf)][i(0x1c6)]();if(a[i(0x1bd)]===0x0)return this[i(0x1d1)][i(0x1c9)]('SearchCommand:\x20'+this[i(0x1bb)][i(0x1cd)]+i(0x1d2)),i(0x1be);const b=a[i(0x1d0)](',\x20');return this[i(0x1d1)][i(0x1c9)](i(0x1c2)+this[i(0x1bb)][i(0x1cd)]+'\x20found\x20the\x20following\x20items:\x20'+b),i(0x1d4)+b;}}
@@ -1 +1 @@
1
- const a41i=a41d;function a41c(){const k=['puzzle','166877gyxLGP','actor','inventory','10OIDDRS','toLowerCase','1369260FbExGj','192rslLWI','currentLocation','verb','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','7088HIVgws','SolveCommand:\x20','7540650QDdKWS','8214yIBVFP','Attempt\x20to\x20solve\x20a\x20puzzle.','638sFOlTB','950114OChCKy','description','solve','1476xDCeMF','rewardItem','constructor','apply','search','message','toString','28ENyALh','logger','71552oioHxC','join'];a41c=function(){return k;};return a41c();}(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0xac))/0x1+parseInt(f(0x9c))/0x2*(parseInt(f(0x9a))/0x3)+-parseInt(f(0xa9))/0x4*(parseInt(f(0x90))/0x5)+parseInt(f(0x92))/0x6*(-parseInt(f(0xa7))/0x7)+-parseInt(f(0x97))/0x8*(-parseInt(f(0xa0))/0x9)+-parseInt(f(0x99))/0xa+-parseInt(f(0x9d))/0xb*(-parseInt(f(0x93))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x81ad0));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x8f;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0xa3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0xa6)]()[h(0xa4)]('(((.+)+)+)+$')['toString']()[h(0xa2)](a41a)['search']('(((.+)+)+)+$');});a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0x95)]=a41i(0x9f);static [a41i(0x9e)]=a41i(0x9b);['execute'](a){const j=a41i,b=a[j(0xaa)]('\x20')[j(0x91)](),c=this[j(0xad)][j(0x94)];if(!c||!c[j(0xab)])return this[j(0xa8)]['write']('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0x96);const d=c['puzzle']['solve'](b,this[j(0xad)][j(0x8f)]);return d['success']&&c[j(0xab)][j(0xa1)]&&this[j(0xad)]['inventory']['addItem'](c[j(0xab)]['rewardItem']),this[j(0xa8)]['write'](j(0x98)+d[j(0xa5)]),d[j(0xa5)];}}
1
+ function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1db;let f=c[d];return f;},a41d(a,b);}const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x1f4))/0x1+parseInt(f(0x1eb))/0x2*(parseInt(f(0x1e8))/0x3)+parseInt(f(0x1ea))/0x4+-parseInt(f(0x1df))/0x5*(parseInt(f(0x1f5))/0x6)+-parseInt(f(0x1dd))/0x7*(parseInt(f(0x1fa))/0x8)+-parseInt(f(0x1e0))/0x9*(-parseInt(f(0x1ed))/0xa)+-parseInt(f(0x1f9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x282a9));function a41c(){const k=['SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','toLowerCase','message','apply','3171Vecanx','Attempt\x20to\x20solve\x20a\x20puzzle.','25dkxkgy','261IrgIZW','SolveCommand:\x20','(((.+)+)+)+$','puzzle','solve','write','toString','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','9UiCzrO','execute','453920nxiMsz','84332XznXCx','addItem','26150miXnEx','currentLocation','rewardItem','logger','verb','join','description','130796PmEYVl','139368HYiSAn','success','search','inventory','86361oFapbw','2792Znytgh','actor'];a41c=function(){return k;};return a41c();}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0x1e6)]()[h(0x1f7)](h(0x1e2))[h(0x1e6)]()['constructor'](a41a)[h(0x1f7)](h(0x1e2));});a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0x1f1)]=a41i(0x1e4);static [a41i(0x1f3)]=a41i(0x1de);[a41i(0x1e9)](a){const j=a41i,b=a[j(0x1f2)]('\x20')[j(0x1fd)](),c=this[j(0x1fb)][j(0x1ee)];if(!c||!c[j(0x1e3)])return this[j(0x1f0)][j(0x1e5)](j(0x1fc)),j(0x1e7);const d=c[j(0x1e3)][j(0x1e4)](b,this[j(0x1fb)][j(0x1f8)]);return d[j(0x1f6)]&&c[j(0x1e3)][j(0x1ef)]&&this[j(0x1fb)][j(0x1f8)][j(0x1ec)](c[j(0x1e3)]['rewardItem']),this[j(0x1f0)][j(0x1e5)](j(0x1e1)+d[j(0x1db)]),d[j(0x1db)];}}
@@ -1 +1 @@
1
- function a42c(){const k=['name','join','4212680ttBXjH','4448155uyXwHI','(((.+)+)+)+$','\x22\x20in\x20this\x20room.','\x22\x20is\x20too\x20heavy\x20to\x20carry.','hasItem','You\x20have\x20taken\x20the\x20','There\x20is\x20no\x20item\x20\x22','execute','verb','take','actor','getItem','\x22\x20from\x20','search','6VqHClv','\x22\x20not\x20found\x20in\x20','logger','addInventory','Successfully\x20removed\x20\x22','14841hYGwJc','\x22\x20not\x20retrieved\x20from\x20','inventory','constructor','Pick\x20up\x20an\x20item.','1580852WqAXhT','write','584857eAIbMl','\x20during\x20\x27Take\x27\x20command.','currentLocation','The\x20item\x20\x22','1408946peAgBj','description','38vBkFAH','Error\x20during\x20\x27Take\x27\x20command:\x20','Successfully\x20added\x20\x22','Item\x20\x22','6960555wFmdVi','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','toString'];a42c=function(){return k;};return a42c();}const a42h=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1e3))/0x1+-parseInt(f(0x1e9))/0x2*(parseInt(f(0x1dc))/0x3)+parseInt(f(0x1e1))/0x4+-parseInt(f(0x1f3))/0x5*(-parseInt(f(0x1d7))/0x6)+parseInt(f(0x1e7))/0x7+parseInt(f(0x1f2))/0x8+-parseInt(f(0x1ed))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x88d4e));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const g=a42d;return a42a[g(0x1ef)]()[g(0x1d6)](g(0x1f4))[g(0x1ef)]()[g(0x1df)](a42a)['search'](g(0x1f4));});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a42h(0x1d1)]=a42h(0x1d2);static [a42h(0x1e8)]=a42h(0x1e0);[a42h(0x1d0)](a){const i=a42h;return this[i(0x1d9)][i(0x1e2)](i(0x1ee)+a[i(0x1f1)]('\x20')),this[i(0x1d2)](a);}[a42h(0x1d2)](a){const j=a42h,b=a[j(0x1f1)]('\x20')['toLowerCase'](),c=this[j(0x1d3)][j(0x1e5)];if(!c[j(0x1de)][j(0x1f7)](b))return this['logger']['write'](j(0x1ec)+b+j(0x1d8)+c['name']+j(0x1e4)),j(0x1cf)+b+j(0x1f5);const d=c[j(0x1de)][j(0x1d4)](b);if(!d)return this[j(0x1d9)][j(0x1e2)]('Item\x20\x22'+b+j(0x1dd)+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x1cf)+b+j(0x1f5);try{return this['actor'][j(0x1da)](d),this[j(0x1d9)][j(0x1e2)](j(0x1eb)+b+'\x22\x20to\x20'+this[j(0x1d3)][j(0x1f0)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[j(0x1de)]['removeItem'](b),this[j(0x1d9)][j(0x1e2)](j(0x1db)+b+j(0x1d5)+c[j(0x1f0)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x1f8)+b+'.';}catch(e){return this[j(0x1d9)][j(0x1e2)](j(0x1ea)+e['message']),j(0x1e6)+b+j(0x1f6);}}}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1a0))/0x1+parseInt(f(0x199))/0x2*(-parseInt(f(0x187))/0x3)+parseInt(f(0x18c))/0x4+-parseInt(f(0x197))/0x5*(parseInt(f(0x192))/0x6)+parseInt(f(0x18a))/0x7+parseInt(f(0x184))/0x8*(parseInt(f(0x17e))/0x9)+parseInt(f(0x185))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x8a0a8));function a42c(){const l=['Pick\x20up\x20an\x20item.','1651528pudXIj','6059340wdUkgd','\x22\x20from\x20','3198399ZfQUPY','search','apply','3279983UOjTPY','write','4371460HMMZxS','(((.+)+)+)+$','description','There\x20is\x20no\x20item\x20\x22','getItem','join','114948jyrqSh','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x20during\x20\x27Take\x27\x20command.','addInventory','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','65amWpDD','\x22\x20in\x20this\x20room.','2AvnwNx','inventory','removeItem','\x22\x20to\x20','toString','name','message','493206LXKUKC','Item\x20\x22','\x22\x20is\x20too\x20heavy\x20to\x20carry.','take','currentLocation','constructor','execute','9ScxzLa','actor','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','You\x20have\x20taken\x20the\x20','logger'];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(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x19d)]()[h(0x188)](h(0x18d))[h(0x19d)]()[h(0x17c)](a42a)[h(0x188)](h(0x18d));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x179;let f=c[d];return f;},a42d(a,b);}import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a42i(0x17a);static [a42i(0x18e)]=a42i(0x183);[a42i(0x17d)](a){const j=a42i;return this[j(0x182)][j(0x18b)](j(0x196)+a[j(0x191)]('\x20')),this[j(0x17a)](a);}['take'](a){const k=a42i,b=a[k(0x191)]('\x20')['toLowerCase'](),c=this[k(0x17f)][k(0x17b)];if(!c[k(0x19a)]['hasItem'](b))return this[k(0x182)]['write'](k(0x1a1)+b+'\x22\x20not\x20found\x20in\x20'+c['name']+k(0x194)),k(0x18f)+b+'\x22\x20in\x20this\x20room.';const d=c[k(0x19a)][k(0x190)](b);if(!d)return this[k(0x182)][k(0x18b)]('Item\x20\x22'+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0x19e)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x18f)+b+k(0x198);try{return this[k(0x17f)][k(0x195)](d),this[k(0x182)][k(0x18b)]('Successfully\x20added\x20\x22'+b+k(0x19c)+this[k(0x17f)]['name']+k(0x180)),c[k(0x19a)][k(0x19b)](b),this[k(0x182)][k(0x18b)]('Successfully\x20removed\x20\x22'+b+k(0x186)+c[k(0x19e)]+k(0x193)),k(0x181)+b+'.';}catch(e){return this[k(0x182)][k(0x18b)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x19f)]),'The\x20item\x20\x22'+b+k(0x179);}}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x1a0))/0x1*(parseInt(f(0x193))/0x2)+-parseInt(f(0x1a9))/0x3+parseInt(f(0x195))/0x4*(-parseInt(f(0x1a8))/0x5)+parseInt(f(0x19d))/0x6*(parseInt(f(0x1a3))/0x7)+-parseInt(f(0x19c))/0x8*(parseInt(f(0x1a2))/0x9)+-parseInt(f(0x1a5))/0xa*(parseInt(f(0x19e))/0xb)+-parseInt(f(0x19a))/0xc*(-parseInt(f(0x196))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xf3c0b));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x191)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1a4)]()['search']('(((.+)+)+)+$')['toString']()[h(0x19b)](a43a)['search'](h(0x199));});a43a();function a43c(){const k=['write','206030mCINoR','Unequip\x20an\x20item.','125226DYDNts','2169881sGcnXj','toString','190kFLEsF','description','toLowerCase','446125jKaXTr','569493PGhsBx','actor','logger','apply','unqeuip','4TmrxAc','join','4WCSTeo','336063vWMEhc','unequip','verb','(((.+)+)+)+$','1476GyEtFb','constructor','896ShtRfP','6gMZiZQ','617089OoJhVv'];a43c=function(){return k;};return a43c();}import{Command}from'./command.js';function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x18f;let f=c[d];return f;},a43d(a,b);}export class UnequipCommand extends Command{static [a43i(0x198)]=a43i(0x192);static [a43i(0x1a6)]=a43i(0x1a1);['execute'](a){const j=a43i,b=a[j(0x194)]('\x20')[j(0x1a7)](),c=this[j(0x18f)][j(0x197)](b);return this[j(0x190)][j(0x19f)]('UnequipCommand:\x20'+this[j(0x18f)]['name']+'\x20unqeuiped\x20'+c),c;}}
1
+ function a43c(){const k=['Unequip\x20an\x20item.','6NjpDOt','UnequipCommand:\x20','execute','name','516805dxRvcP','join','logger','13236bKnWtV','1791972nZTIRR','21MqbBbh','toLowerCase','2ApCeQk','toString','search','description','unequip','182612jAwAJQ','451144ZmcqtF','1893584AVToLR','(((.+)+)+)+$','apply','write','12VWVLdB','actor','unqeuip','\x20unqeuiped\x20','constructor','3014770dYSdfr'];a43c=function(){return k;};return a43c();}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0xf2))/0x1*(parseInt(f(0xf7))/0x2)+-parseInt(f(0x104))/0x3*(parseInt(f(0xee))/0x4)+-parseInt(f(0x108))/0x5*(-parseInt(f(0xfd))/0x6)+parseInt(f(0xf0))/0x7*(-parseInt(f(0xf8))/0x8)+parseInt(f(0xef))/0x9+parseInt(f(0x102))/0xa+-parseInt(f(0xf9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x2b272));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xfb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0xf3)]()[h(0xf4)](h(0xfa))['toString']()[h(0x101)](a43a)[h(0xf4)](h(0xfa));});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xec;let f=c[d];return f;},a43d(a,b);}import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a43i(0xff);static [a43i(0xf5)]=a43i(0x103);[a43i(0x106)](a){const j=a43i,b=a[j(0xec)]('\x20')[j(0xf1)](),c=this['actor'][j(0xf6)](b);return this[j(0xed)][j(0xfc)](j(0x105)+this[j(0xfe)][j(0x107)]+j(0x100)+c),c;}}
@@ -1 +1 @@
1
- const a44k=a44d;function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1cc;let f=c[d];return f;},a44d(a,b);}(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x1ef))/0x1+parseInt(h(0x1dc))/0x2+parseInt(h(0x1e2))/0x3*(parseInt(h(0x1e6))/0x4)+-parseInt(h(0x1ed))/0x5*(parseInt(h(0x1e5))/0x6)+-parseInt(h(0x1e0))/0x7*(parseInt(h(0x1d0))/0x8)+-parseInt(h(0x1e8))/0x9+parseInt(h(0x1d7))/0xa*(parseInt(h(0x1e7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x4c20b));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x1d3)]()['search'](j(0x1ce))[j(0x1d3)]()[j(0x1f3)](a44a)[j(0x1eb)]('(((.+)+)+)+$');});a44a();function a44c(){const n=['unlock','toLowerCase','3392431fzhtfz','exits','1521SHPFLU','attemptUnlockExit','get','2898690cYLqdK','4212DOmYsj','77ZotmHU','1338255jjhsoK','logger','UnlockCommand:\x20','search','name','5aLeFGb','write','222072arUecF','actor','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','.\x20Result:\x20','constructor','execute','verb','hasItem','(((.+)+)+)+$','error','8nREkoR','currentLocation','description','toString','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','unlockItemOrSolution','apply','1055930BvgbJx','There\x27s\x20no\x20door\x20named\x20\x22','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','UnlockCommand:\x20No\x20target\x20specified.','has','754624Iodied','Unlock\x20a\x20door.'];a44c=function(){return n;};return a44c();}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0x1cc)]=a44k(0x1de);static [a44k(0x1d2)]=a44k(0x1dd);[a44k(0x1f4)](a){const l=a44k;return this[l(0x1de)](a);}[a44k(0x1de)](a){const m=a44k;if(a['length']===0x0)return this[m(0x1e9)][m(0x1cf)](m(0x1da)),m(0x1f1);const b=a[0x0]['toLowerCase'](),c=this[m(0x1f0)][m(0x1d1)];if(this['isValidDirection'](b)&&c[m(0x1e1)][m(0x1db)](b)){const d=c[m(0x1e1)][m(0x1e4)](b);if(d instanceof Door){const e=d[m(0x1d5)]?.[m(0x1df)]();if(e&&this['actor']['inventory'][m(0x1cd)](e)){const f=this['actor']['inventory']['getItem'](e);if(f){const g=c[m(0x1e3)](b,f[m(0x1ec)]);return this[m(0x1e9)][m(0x1ee)](m(0x1ea)+this[m(0x1f0)][m(0x1ec)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+m(0x1f2)+g),g;}}return this[m(0x1e9)][m(0x1ee)](m(0x1ea)+this[m(0x1f0)][m(0x1ec)]+m(0x1d9)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this['logger'][m(0x1ee)]('UnlockCommand:\x20'+b+m(0x1d4)+c['name']+'.'),m(0x1d8)+b+'\x22\x20here.';}else return this['logger'][m(0x1ee)](m(0x1ea)+b+m(0x1d4)+c[m(0x1ec)]+'.'),m(0x1d8)+b+'\x22\x20here.';}}
1
+ const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x14b))/0x1+-parseInt(h(0x15c))/0x2+parseInt(h(0x155))/0x3*(-parseInt(h(0x150))/0x4)+parseInt(h(0x15a))/0x5+-parseInt(h(0x165))/0x6+-parseInt(h(0x14e))/0x7+parseInt(h(0x14c))/0x8*(parseInt(h(0x151))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xba750));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x14f)]()[j(0x161)](j(0x166))[j(0x14f)]()[j(0x149)](a44a)[j(0x161)](j(0x166));});a44a();function a44c(){const m=['2350835FTZwwl','currentLocation','2871952JHnypG','verb','length','UnlockCommand:\x20','actor','search','hasItem','logger','unlock','3907518xfpSVu','(((.+)+)+)+$','unlockItemOrSolution','UnlockCommand:\x20No\x20target\x20specified.','There\x27s\x20no\x20door\x20named\x20\x22','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','inventory','\x22\x20here.','has','get','toLowerCase','constructor','write','1213542GJbaJj','24cPUbpJ','\x20is\x20attempted\x20to\x20unlock\x20','1315944VtxZex','toString','5208664FzEHNw','15253470cKdrHx','apply','exits','isValidDirection','3skkncp','description','Unlock\x20a\x20door.','attemptUnlockExit','name'];a44c=function(){return m;};return a44c();}import{Door}from'../models/door.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x141;let f=c[d];return f;},a44d(a,b);}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0x15d)]='unlock';static [a44k(0x156)]=a44k(0x157);['execute'](a){return this['unlock'](a);}[a44k(0x164)](a){const l=a44k;if(a[l(0x15e)]===0x0)return this['logger']['error'](l(0x141)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0]['toLowerCase'](),c=this[l(0x160)][l(0x15b)];if(this[l(0x154)](b)&&c['exits'][l(0x146)](b)){const d=c[l(0x153)][l(0x147)](b);if(d instanceof Door){const e=d[l(0x167)]?.[l(0x148)]();if(e&&this[l(0x160)]['inventory'][l(0x162)](e)){const f=this[l(0x160)][l(0x144)]['getItem'](e);if(f){const g=c[l(0x158)](b,f['name']);return this[l(0x163)][l(0x14a)]('UnlockCommand:\x20'+this[l(0x160)][l(0x159)]+l(0x14d)+b+'.\x20Result:\x20'+g),g;}}return this[l(0x163)]['write'](l(0x15f)+this['actor'][l(0x159)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this[l(0x163)][l(0x14a)](l(0x15f)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0x159)]+'.'),l(0x142)+b+'\x22\x20here.';}else return this[l(0x163)][l(0x14a)]('UnlockCommand:\x20'+b+l(0x143)+c[l(0x159)]+'.'),l(0x142)+b+l(0x145);}}
@@ -1 +1 @@
1
- function a45c(){const l=['inventory','logger',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','search','(((.+)+)+)+$','\x20doesn\x27t\x20have\x20a\x20use\x20method.','599314FnikWg','description','\x20not\x20retrieved\x20from\x20','32577IdFbhc','20145546rKToPi','2265150mpgTep','\x27s\x20inventory.','execute','Use\x20an\x20item.','18tIwOyy','join','UseCommand:\x20','\x20used\x20','22796ccTUTX','toLowerCase','write','6824944CXwnZK','use','constructor','verb','getItem','function','apply','name','3148649rUaWwL','actor','You\x20don\x27t\x20have\x20the\x20','33zPKLrS'];a45c=function(){return l;};return a45c();}const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x1a6))/0x1+parseInt(f(0x1a3))/0x2+parseInt(f(0x19c))/0x3*(-parseInt(f(0x18e))/0x4)+parseInt(f(0x186))/0x5+parseInt(f(0x18a))/0x6*(-parseInt(f(0x199))/0x7)+-parseInt(f(0x191))/0x8+parseInt(f(0x1a7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xb929e));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x197)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a['toString']()[h(0x1a0)](h(0x1a1))['toString']()[h(0x193)](a45a)['search'](h(0x1a1));});a45a();function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x186;let f=c[d];return f;},a45d(a,b);}import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0x194)]=a45i(0x192);static [a45i(0x1a4)]=a45i(0x189);[a45i(0x188)](a){const j=a45i;return this[j(0x192)](a);}[a45i(0x192)](a){const k=a45i,b=a[k(0x18b)]('\x20')[k(0x18f)]();if(!this['actor']['inventory']['hasItem'](b))return this['logger'][k(0x190)](k(0x18c)+this[k(0x19a)][k(0x198)]+'\x20attempted\x20to\x20use\x20'+b+k(0x19f)),k(0x19b)+b+'\x20to\x20use.';const c=this[k(0x19a)][k(0x19d)][k(0x195)](b);if(!c)return this['logger']['write'](k(0x18c)+b+k(0x1a5)+this[k(0x19a)]['name']+k(0x187)),'You\x20don\x27t\x20have\x20the\x20'+b+'\x20to\x20use.';if(typeof c[k(0x192)]===k(0x196)){const d=c[k(0x192)]();return this[k(0x19e)][k(0x190)](k(0x18c)+this[k(0x19a)][k(0x198)]+k(0x18d)+b+'.'),d;}else return this['logger'][k(0x190)](k(0x18c)+b+k(0x1a2)),'You\x20can\x27t\x20use\x20the\x20'+b+'\x20in\x20this\x20way.';}}
1
+ const a45i=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xcc;let f=c[d];return f;},a45d(a,b);}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0xe8))/0x1+-parseInt(f(0xda))/0x2*(-parseInt(f(0xcf))/0x3)+-parseInt(f(0xd0))/0x4+-parseInt(f(0xdb))/0x5+-parseInt(f(0xdd))/0x6+parseInt(f(0xdf))/0x7+parseInt(f(0xdc))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xb2145));function a45c(){const k=['\x20doesn\x27t\x20have\x20a\x20use\x20method.','2916900DNSJaP','UseCommand:\x20','toLowerCase','\x20attempted\x20to\x20use\x20','You\x20don\x27t\x20have\x20the\x20','toString','\x27s\x20inventory.','use','actor','1217855klJzqB','apply','hasItem','logger','join','verb','search','2928HLoIjA','5480108SebPzn','\x20used\x20','inventory','(((.+)+)+)+$','\x20to\x20use.','Use\x20an\x20item.','name','constructor','execute','write','928bZuXnc','6024565pJsyMg','31617264AzAwXh','1797084YVpgic'];a45c=function(){return k;};return a45c();}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0xe9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0xe4)]()[h(0xce)](h(0xd3))[h(0xe4)]()[h(0xd7)](a45a)[h(0xce)](h(0xd3));});a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0xcd)]=a45i(0xe6);static ['description']=a45i(0xd5);[a45i(0xd8)](a){return this['use'](a);}[a45i(0xe6)](a){const j=a45i,b=a[j(0xcc)]('\x20')[j(0xe1)]();if(!this[j(0xe7)][j(0xd2)][j(0xea)](b))return this[j(0xeb)][j(0xd9)]('UseCommand:\x20'+this[j(0xe7)][j(0xd6)]+j(0xe2)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),j(0xe3)+b+j(0xd4);const c=this[j(0xe7)][j(0xd2)]['getItem'](b);if(!c)return this[j(0xeb)][j(0xd9)](j(0xe0)+b+'\x20not\x20retrieved\x20from\x20'+this[j(0xe7)][j(0xd6)]+j(0xe5)),j(0xe3)+b+j(0xd4);if(typeof c[j(0xe6)]==='function'){const d=c[j(0xe6)]();return this[j(0xeb)][j(0xd9)](j(0xe0)+this[j(0xe7)]['name']+j(0xd1)+b+'.'),d;}else return this[j(0xeb)]['write'](j(0xe0)+b+j(0xde)),'You\x20can\x27t\x20use\x20the\x20'+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x176))/0x1*(parseInt(f(0x166))/0x2)+parseInt(f(0x16f))/0x3*(parseInt(f(0x16d))/0x4)+-parseInt(f(0x171))/0x5+parseInt(f(0x170))/0x6*(parseInt(f(0x169))/0x7)+parseInt(f(0x16c))/0x8*(parseInt(f(0x164))/0x9)+parseInt(f(0x174))/0xa+-parseInt(f(0x16a))/0xb*(parseInt(f(0x16e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x19706));function a46c(){const l=['68994ltrQlA','897615jqhfGb','search','(((.+)+)+)+$','1616930cwSCFI','constructor','46ifflJM','131049JnJtgr','registerCommand','5948UhBOVi','apply','getAllRegisteredCommands','7LTXSAQ','32626jmhBdQ','commandMap','80ydOaJp','12436LRtwow','708lSBKhw','3jTBQDi'];a46c=function(){return l;};return a46c();}function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x164;let f=c[d];return f;},a46d(a,b);}const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x167)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a['toString']()[h(0x172)](h(0x173))['toString']()[h(0x175)](a46a)[h(0x172)]('(((.+)+)+)+$');});a46a();export class CommandFactory{static [a46i(0x16b)]={};static[a46i(0x165)](a,b){const j=a46i;this[j(0x16b)][a]=b;}static['createCommand'](a,b){const k=a46i,c=this[k(0x16b)][a];if(c)return new c(b);return null;}static[a46i(0x168)](){return this['commandMap'];}}
1
+ const a46h=a46d;function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x11a;let f=c[d];return f;},a46d(a,b);}(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x124))/0x1*(parseInt(f(0x128))/0x2)+parseInt(f(0x127))/0x3+parseInt(f(0x11c))/0x4+-parseInt(f(0x120))/0x5*(parseInt(f(0x11a))/0x6)+parseInt(f(0x11d))/0x7*(-parseInt(f(0x11e))/0x8)+parseInt(f(0x126))/0x9*(parseInt(f(0x125))/0xa)+parseInt(f(0x12a))/0xb*(parseInt(f(0x11f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xba786));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const g=a46d;return a46a[g(0x129)]()[g(0x11b)](g(0x122))[g(0x129)]()[g(0x12b)](a46a)['search'](g(0x122));});a46a();export class CommandFactory{static [a46h(0x121)]={};static[a46h(0x12c)](a,b){const i=a46h;this[i(0x121)][a]=b;}static[a46h(0x123)](a,b){const j=a46h,c=this[j(0x121)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const k=a46h;return this[k(0x121)];}}function a46c(){const l=['search','3982612gBOAQn','149261QvxntO','168WGeIzJ','540KqDqQx','4390CVoGvY','commandMap','(((.+)+)+)+$','createCommand','661327ItNoNJ','2969140pOjhLe','45sUStPu','973335oeUIgs','4BpAPqQ','toString','252175kQoFfI','constructor','registerCommand','8898HJfyCM'];a46c=function(){return l;};return a46c();}
@@ -1 +1 @@
1
- const a47j=a47d;function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x12d;let f=c[d];return f;},a47d(a,b);}(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x133))/0x1+parseInt(f(0x147))/0x2+parseInt(f(0x13f))/0x3*(parseInt(f(0x134))/0x4)+-parseInt(f(0x136))/0x5*(-parseInt(f(0x12e))/0x6)+-parseInt(f(0x149))/0x7*(parseInt(f(0x132))/0x8)+-parseInt(f(0x12d))/0x9+parseInt(f(0x148))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xd9526));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const g=a47d;return a47a[g(0x142)]()[g(0x14d)](g(0x13c))[g(0x142)]()[g(0x12f)](a47a)[g(0x14d)](g(0x13c));});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const h=a47d,b=this[h(0x135)](a),c=new Room(b);if(a[h(0x13b)]){const d=new Inventory();a[h(0x13b)][h(0x14b)](e=>{const i=h;d['addItem'](this[i(0x143)](e));}),c[h(0x144)]=d;}return a[h(0x13e)]&&c[h(0x140)](this['createPuzzle'](a[h(0x13e)])),c;}[a47j(0x143)](a){const k=a47j;switch(a['type']){case k(0x131):return new Key(a['name'],a[k(0x145)]);case k(0x13d):return new Book(a[k(0x130)],a[k(0x145)],a['content']);case k(0x14c):return new Sword(a[k(0x130)],a['description']);case'rifle':return new Rifle(a[k(0x130)],a[k(0x145)]);case k(0x138):return new Helmet(a['name'],a[k(0x145)]);case'bodyarmor':return new BodyArmor(a[k(0x130)],a[k(0x145)]);case k(0x141):return new LegArmor(a['name'],a[k(0x145)]);case k(0x137):return new Boots(a[k(0x130)],a['description']);case'gloves':return new Gloves(a[k(0x130)],a['description']);case k(0x146):return new Gauntlets(a['name'],a[k(0x145)]);default:return new BasicItem(a[k(0x130)],a[k(0x145)]);}}['createPuzzle'](a){const l=a47j,b=this[l(0x143)](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const m=a47j,b=a[m(0x139)]&&RoomType[a['roomType'][m(0x14a)]()]?RoomType[a[m(0x139)][m(0x14a)]()]:RoomType[m(0x13a)];return{'name':a[m(0x130)],'description':a[m(0x145)],'isStartRoom':a['isStartRoom'],'roomType':b};}}function a47c(){const n=['8399720DFjCVm','7IOKqTN','toUpperCase','forEach','sword','search','13186071EhDuuR','1302bIVexb','constructor','name','key','11191576hjtCUM','131476JVZvWv','4NhzfzB','convertToRoomConfig','23995TmNOZk','boots','helmet','roomType','INSIDE','items','(((.+)+)+)+$','book','puzzle','2214732jZdEmy','setPuzzle','legarmor','toString','createItem','inventory','description','gauntlets','2532186MGNfbm'];a47c=function(){return n;};return a47c();}
1
+ const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x1cf))/0x1+-parseInt(f(0x1d8))/0x2+parseInt(f(0x1e0))/0x3*(parseInt(f(0x1c7))/0x4)+parseInt(f(0x1ce))/0x5+parseInt(f(0x1da))/0x6*(parseInt(f(0x1c9))/0x7)+-parseInt(f(0x1d0))/0x8*(parseInt(f(0x1cd))/0x9)+parseInt(f(0x1e5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x587ae));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x1df)]()['search'](h(0x1d7))[h(0x1df)]()['constructor'](a47a)[h(0x1c2)](h(0x1d7));});function a47c(){const o=['INSIDE','7axMzBV','gauntlets','content','createRoom','5706OAiFXk','3423340EsmWlH','698860BhlNZV','7976AQXTTV','name','roomType','boots','description','forEach','legarmor','(((.+)+)+)+$','1275620RMZGHo','puzzle','3174786awXemo','sword','rewardItem','rifle','gloves','toString','2328QcWmgE','convertToRoomConfig','apply','setPuzzle','createItem','4026870egpUdr','toUpperCase','bodyarmor','search','items','inventory','createPuzzle','key','3684MhxuVS'];a47c=function(){return o;};return a47c();}a47a();function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a47d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0x1cc)](a){const j=a47i,b=this[j(0x1e1)](a),c=new Room(b);if(a[j(0x1c3)]){const d=new Inventory();a[j(0x1c3)][j(0x1d5)](e=>{const k=j;d['addItem'](this[k(0x1e4)](e));}),c[j(0x1c4)]=d;}return a[j(0x1d9)]&&c[j(0x1e3)](this[j(0x1c5)](a[j(0x1d9)])),c;}['createItem'](a){const l=a47i;switch(a['type']){case l(0x1c6):return new Key(a['name'],a['description']);case'book':return new Book(a[l(0x1d1)],a[l(0x1d4)],a[l(0x1cb)]);case l(0x1db):return new Sword(a[l(0x1d1)],a[l(0x1d4)]);case l(0x1dd):return new Rifle(a[l(0x1d1)],a['description']);case'helmet':return new Helmet(a['name'],a[l(0x1d4)]);case l(0x1c1):return new BodyArmor(a[l(0x1d1)],a[l(0x1d4)]);case l(0x1d6):return new LegArmor(a[l(0x1d1)],a[l(0x1d4)]);case l(0x1d3):return new Boots(a[l(0x1d1)],a['description']);case l(0x1de):return new Gloves(a['name'],a['description']);case l(0x1ca):return new Gauntlets(a[l(0x1d1)],a['description']);default:return new BasicItem(a[l(0x1d1)],a[l(0x1d4)]);}}[a47i(0x1c5)](a){const m=a47i,b=this[m(0x1e4)](a[m(0x1dc)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0x1e1)](a){const n=a47i,b=a[n(0x1d2)]&&RoomType[a[n(0x1d2)][n(0x1c0)]()]?RoomType[a[n(0x1d2)][n(0x1c0)]()]:RoomType[n(0x1c8)];return{'name':a[n(0x1d1)],'description':a[n(0x1d4)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- const a48k=a48d;function a48c(){const s=['230448HIvdbq','1974200YKiYJh','getRooms','constructor','registerCommand','player','getAllRegisteredCommands','unlock','6BAECit','quit','help','registerCommands','determineStartRoom','apply','3865424BWnqgd','toLowerCase','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','-\x20clear:\x20Clear\x20the\x20screen.\x0a','Available\x20Commands:\x0a','look','slice','getHelpMessage','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','toString','instance','handleInput','rooms','currentRoom','3808270yHmmKB','4MPskDl','3808091juWXWD','say','(((.+)+)+)+$','currentLocation','646140UqFoHh','unequip','solve','scene','search','9BQyUsa','name','getInstance','-\x20quit:\x20Exit\x20the\x20game.\x0a','trim','getDescription','lock','932380rUcgNS','split','createCommand'];a48c=function(){return s;};return a48c();}(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0x1d8))/0x1+parseInt(h(0x1dc))/0x2+parseInt(h(0x1db))/0x3+parseInt(h(0x1c7))/0x4*(parseInt(h(0x1c6))/0x5)+-parseInt(h(0x1e3))/0x6*(parseInt(h(0x1c8))/0x7)+-parseInt(h(0x1e9))/0x8*(-parseInt(h(0x1d1))/0x9)+-parseInt(h(0x1cc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xbb6fd));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x1c1)]()[j(0x1d0)](j(0x1ca))['toString']()[j(0x1de)](a48a)['search'](j(0x1ca));});function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a48d(a,b);}a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0x1c2)];['scene'];[a48k(0x1e0)];[a48k(0x1c5)];[a48k(0x1c4)];constructor(a,b){const l=a48k;this[l(0x1e0)]=a,this[l(0x1cf)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x1cf)]['initialize'](),this[l(0x1e0)][l(0x1cb)]=this['determineStartRoom'](),this['registerCommands']();}[a48k(0x1e6)](){const m=a48k;CommandFactory[m(0x1df)](m(0x1ee),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0x1df)]('take',TakeCommand),CommandFactory[m(0x1df)]('use',UseCommand),CommandFactory[m(0x1df)]('equip',EquipCommand),CommandFactory[m(0x1df)](m(0x1cd),UnequipCommand),CommandFactory[m(0x1df)](m(0x1ce),SolveCommand),CommandFactory['registerCommand']('drop',DropCommand),CommandFactory[m(0x1df)](m(0x1e2),UnlockCommand),CommandFactory['registerCommand'](m(0x1d7),LockCommand),CommandFactory[m(0x1df)](m(0x1d0),SearchCommand),CommandFactory[m(0x1df)](m(0x1c9),SayCommand);}[a48k(0x1e7)](){const n=a48k;return this['scene'][n(0x1e7)]();}['getWelcomeMessage'](){const o=a48k;return'Welcome,\x20'+this['player'][o(0x1d2)];}static[a48k(0x1d3)](a,b){const p=a48k;return!Game[p(0x1c2)]&&(Game['instance']=new Game(a,b)),Game[p(0x1c2)];}[a48k(0x1c3)](a){const q=a48k,b=a[q(0x1d5)]()[q(0x1d9)]('\x20'),c=b[0x0][q(0x1ea)](),d=b[q(0x1ef)](0x1);if(c===q(0x1e4))return null;if(c==='maka')return q(0x1f1);if(c===q(0x1e5))return this[q(0x1f0)]();if(c==='clear')return'';const e={'actor':this[q(0x1e0)],'rooms':this[q(0x1cf)][q(0x1dd)](),'scene':this[q(0x1cf)]},f=CommandFactory[q(0x1da)](c,e);if(f){const g=f['execute'](d);return g;}return q(0x1eb)+c+'\x22.';}[a48k(0x1f0)](){const r=a48k,a=CommandFactory[r(0x1e1)]();let b=r(0x1ed);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x1d6)]()+'\x0a';}}return b+=r(0x1ec),b+=r(0x1d4),b;}}
1
+ const a48j=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x1c9))/0x1*(-parseInt(h(0x1c7))/0x2)+-parseInt(h(0x1ba))/0x3+parseInt(h(0x1d1))/0x4+-parseInt(h(0x1bf))/0x5+-parseInt(h(0x1dd))/0x6+parseInt(h(0x1d6))/0x7+-parseInt(h(0x1c8))/0x8*(-parseInt(h(0x1be))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xd784b));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const i=a48d;return a48a[i(0x1c3)]()['search'](i(0x1b9))[i(0x1c3)]()[i(0x1c2)](a48a)[i(0x1b2)](i(0x1b9));});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';function a48c(){const r=['instance','hasOwnProperty','createCommand','(((.+)+)+)+$','1354923wUzYDU','handleInput','currentRoom','look','977967ThwKCF','747305avqQUy','getDescription','determineStartRoom','constructor','toString','toLowerCase','Available\x20Commands:\x0a','unequip','4WORQwD','88OVLnaF','70049uBCYfG','rooms','registerCommands','unlock','registerCommand','take','initialize','name','2706748cmMttx','getInstance','execute','use','help','1079337eMvODq','getWelcomeMessage','lock','getRooms','slice','getHelpMessage','quit','2413248EleWJn','-\x20clear:\x20Clear\x20the\x20screen.\x0a','say','solve','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','drop','-\x20quit:\x20Exit\x20the\x20game.\x0a','split','search','Welcome,\x20','player','scene'];a48c=function(){return r;};return a48c();}import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1b0;let f=c[d];return f;},a48d(a,b);}import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48j(0x1b6)];[a48j(0x1b5)];[a48j(0x1b4)];[a48j(0x1bc)];[a48j(0x1ca)];constructor(a,b){const k=a48j;this[k(0x1b4)]=a,this[k(0x1b5)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x1b5)][k(0x1cf)](),this[k(0x1b4)]['currentLocation']=this[k(0x1c1)](),this[k(0x1cb)]();}[a48j(0x1cb)](){const l=a48j;CommandFactory[l(0x1cd)](l(0x1bd),LookCommand),CommandFactory[l(0x1cd)]('go',GoCommand),CommandFactory['registerCommand'](l(0x1ce),TakeCommand),CommandFactory[l(0x1cd)](l(0x1d4),UseCommand),CommandFactory[l(0x1cd)]('equip',EquipCommand),CommandFactory['registerCommand'](l(0x1c6),UnequipCommand),CommandFactory['registerCommand'](l(0x1e0),SolveCommand),CommandFactory['registerCommand'](l(0x1e2),DropCommand),CommandFactory['registerCommand'](l(0x1cc),UnlockCommand),CommandFactory[l(0x1cd)](l(0x1d8),LockCommand),CommandFactory[l(0x1cd)](l(0x1b2),SearchCommand),CommandFactory['registerCommand'](l(0x1df),SayCommand);}['determineStartRoom'](){const m=a48j;return this[m(0x1b5)]['determineStartRoom']();}[a48j(0x1d7)](){const n=a48j;return n(0x1b3)+this[n(0x1b4)][n(0x1d0)];}static[a48j(0x1d2)](a,b){const o=a48j;return!Game[o(0x1b6)]&&(Game[o(0x1b6)]=new Game(a,b)),Game[o(0x1b6)];}[a48j(0x1bb)](a){const p=a48j,b=a['trim']()[p(0x1b1)]('\x20'),c=b[0x0][p(0x1c4)](),d=b[p(0x1da)](0x1);if(c===p(0x1dc))return null;if(c==='maka')return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===p(0x1d5))return this[p(0x1db)]();if(c==='clear')return'';const e={'actor':this[p(0x1b4)],'rooms':this['scene'][p(0x1d9)](),'scene':this['scene']},f=CommandFactory[p(0x1b8)](c,e);if(f){const g=f[p(0x1d3)](d);return g;}return p(0x1e1)+c+'\x22.';}[a48j(0x1db)](){const q=a48j,a=CommandFactory['getAllRegisteredCommands']();let b=q(0x1c5);for(const c in a){if(a[q(0x1b7)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x1c0)]()+'\x0a';}}return b+=q(0x1de),b+=q(0x1b0),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0xc4))/0x1+parseInt(f(0xb9))/0x2+parseInt(f(0xc3))/0x3+-parseInt(f(0xbb))/0x4*(parseInt(f(0xc2))/0x5)+parseInt(f(0xc1))/0x6*(parseInt(f(0xba))/0x7)+parseInt(f(0xc6))/0x8+-parseInt(f(0xc0))/0x9*(parseInt(f(0xbd))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x93f94));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0xbc)]()['search'](h(0xbe))[h(0xbc)]()[h(0xc7)](a49a)[h(0xc5)](h(0xbe));});a49a();function a49c(){var i=['3006Syydie','407502KEJkQP','15nNDlWL','2149128VxUPEY','412341rvKIpQ','search','164416HZXgdq','constructor','1107450awqUCM','77hJrZDD','718724HeqLvs','toString','39070rWpkDI','(((.+)+)+)+$','apply'];a49c=function(){return i;};return a49c();}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xb9;var f=c[d];return f;},a49d(a,b);}export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x188))/0x1*(-parseInt(f(0x184))/0x2)+-parseInt(f(0x190))/0x3+-parseInt(f(0x181))/0x4*(parseInt(f(0x182))/0x5)+parseInt(f(0x18e))/0x6*(-parseInt(f(0x18d))/0x7)+-parseInt(f(0x183))/0x8*(parseInt(f(0x18b))/0x9)+parseInt(f(0x18a))/0xa+-parseInt(f(0x189))/0xb*(-parseInt(f(0x186))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x7dbbf));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x181;var f=c[d];return f;},a49d(a,b);}function a49c(){var i=['927562YZrAmD','154pinBZj','686860adccIB','9nGPyhv','(((.+)+)+)+$','1099OkajMH','1806ZhGhHy','apply','2677536lnHvPW','132EleLSf','91090hQPjWa','1885040ahPZvZ','2ybAntf','search','2700408SZnAIl','constructor'];a49c=function(){return i;};return a49c();}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0x185)](h(0x18c))['toString']()[h(0x187)](a49a)[h(0x185)]('(((.+)+)+)+$');});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 a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x108;var f=c[d];return f;},a50d(a,b);}(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x11c))/0x1+-parseInt(f(0x10f))/0x2*(-parseInt(f(0x117))/0x3)+parseInt(f(0x10d))/0x4*(-parseInt(f(0x10c))/0x5)+parseInt(f(0x11b))/0x6+parseInt(f(0x10e))/0x7*(parseInt(f(0x10a))/0x8)+parseInt(f(0x11d))/0x9+-parseInt(f(0x118))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x5fe1c));function a50c(){var n=['getOtherSide','To\x20','.\x20Is\x20Locked:\x20','logger','.\x20Used:\x20','getInstance','roomB','name','48296RjwHBu','unlockItemOrSolution','2075aYIvEa','3044SxMntf','679ZuwVjv','8HwkdwE','checkIfLocked','apply','(((.+)+)+)+$','Failed\x20to\x20unlock\x20door:\x20','write','isLocked','search','138741mbmSQB','4672030pBXQDr','\x20and\x20','roomA','122208SiWGnS','11519iVhhCZ','3566916SeWrjw','isLockable','checkIfLockable'];a50c=function(){return n;};return a50c();}var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a['toString']()[h(0x116)](h(0x112))['toString']()['constructor'](a50a)[h(0x116)](h(0x112));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0x11a)];['roomB'];[a50i(0x115)];[a50i(0x10b)];[a50i(0x109)];['logger'];[a50i(0x11e)];constructor(a){var j=a50i;super(),this[j(0x11a)]=a['roomA'],this['roomB']=a[j(0x108)],this[j(0x115)]=a[j(0x115)]||![],this[j(0x10b)]=a[j(0x10b)],this[j(0x109)]=a[j(0x109)]?capitalCase(a[j(0x109)]):j(0x121)+a[j(0x108)]['name'],this[j(0x123)]=Logger[j(0x125)](),this['isLockable']=!!a[j(0x10b)],this[j(0x123)][j(0x114)]('Door\x20created\x20between\x20'+this[j(0x11a)]['name']+j(0x119)+this[j(0x108)][j(0x109)]+j(0x122)+this[j(0x115)]);}[a50i(0x120)](a){var k=a50i;return this[k(0x11a)]===a?this['roomB']:this[k(0x11a)];}['attemptUnlock'](a){var l=a50i;if(this[l(0x115)]&&this[l(0x10b)]&&this[l(0x10b)]===a)return this[l(0x115)]=![],this[l(0x123)][l(0x114)]('Door\x20unlocked:\x20'+this[l(0x109)]+'.\x20Used:\x20'+a),!![];return this['logger'][l(0x114)](l(0x113)+this[l(0x109)]+l(0x124)+a),![];}[a50i(0x110)](){return this['isLocked'];}[a50i(0x11f)](){var m=a50i;return this[m(0x11e)];}}
1
+ function a50c(){var o=['checkIfLocked','unlockItemOrSolution','617964UdwVwV','constructor','372yiWaMi','roomA','119IRgiOf','\x20and\x20','attemptUnlock','checkIfLockable','(((.+)+)+)+$','name','write','.\x20Is\x20Locked:\x20','1214555ayQDCZ','228082ISdprb','15242620RsVsVB','getInstance','getOtherSide','apply','logger','24016nIjYnt','roomB','6QiExln','.\x20Used:\x20','isLockable','Door\x20unlocked:\x20','isLocked','To\x20','1UTWVpK','752208TZNASL','Failed\x20to\x20unlock\x20door:\x20','search','toString','398061CsofaG','78ctOYti','11jBMRMj'];a50c=function(){return o;};return a50c();}var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0xa4))/0x1*(parseInt(f(0x96))/0x2)+-parseInt(f(0x8b))/0x3*(-parseInt(f(0x9c))/0x4)+parseInt(f(0x95))/0x5*(-parseInt(f(0x9e))/0x6)+parseInt(f(0x8d))/0x7*(-parseInt(f(0xa5))/0x8)+-parseInt(f(0xa9))/0x9+parseInt(f(0x97))/0xa*(parseInt(f(0x86))/0xb)+parseInt(f(0x89))/0xc*(parseInt(f(0xaa))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xc4d37));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0xa8)]()[h(0xa7)](h(0x91))['toString']()[h(0x8a)](a50a)[h(0xa7)]('(((.+)+)+)+$');});a50a();function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x86;var f=c[d];return f;},a50d(a,b);}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0x8c)];['roomB'];['isLocked'];[a50i(0x88)];[a50i(0x92)];[a50i(0x9b)];['isLockable'];constructor(a){var j=a50i;super(),this['roomA']=a[j(0x8c)],this[j(0x9d)]=a[j(0x9d)],this['isLocked']=a[j(0xa2)]||![],this[j(0x88)]=a[j(0x88)],this[j(0x92)]=a[j(0x92)]?capitalCase(a[j(0x92)]):j(0xa3)+a[j(0x9d)]['name'],this[j(0x9b)]=Logger[j(0x98)](),this['isLockable']=!!a[j(0x88)],this['logger'][j(0x93)]('Door\x20created\x20between\x20'+this[j(0x8c)][j(0x92)]+j(0x8e)+this[j(0x9d)][j(0x92)]+j(0x94)+this[j(0xa2)]);}[a50i(0x99)](a){var k=a50i;return this[k(0x8c)]===a?this[k(0x9d)]:this['roomA'];}[a50i(0x8f)](a){var l=a50i;if(this[l(0xa2)]&&this['unlockItemOrSolution']&&this[l(0x88)]===a)return this[l(0xa2)]=![],this['logger']['write'](l(0xa1)+this[l(0x92)]+l(0x9f)+a),!![];return this[l(0x9b)][l(0x93)](l(0xa6)+this[l(0x92)]+l(0x9f)+a),![];}[a50i(0x87)](){var m=a50i;return this[m(0xa2)];}[a50i(0x90)](){var n=a50i;return this[n(0xa0)];}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x98))/0x1+-parseInt(f(0xa1))/0x2+parseInt(f(0x8e))/0x3+parseInt(f(0x82))/0x4+-parseInt(f(0xa2))/0x5*(parseInt(f(0x90))/0x6)+parseInt(f(0x91))/0x7+parseInt(f(0x9c))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xd8921));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a['toString']()[h(0x9a)](h(0x99))['toString']()[h(0x8a)](a51a)['search'](h(0x99));});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x7d;let f=c[d];return f;},a51d(a,b);}function a51c(){const q=['search','toLowerCase','19263776hpKFoZ','removeItem','getItem','Checked\x20for\x20item:\x20','apply','1678288XOyWeQ','823950afGzkI','set','name','\x20from\x20inventory.','has','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','.\x20Exists:\x20','getWeight','keys','delete','join','1335604fEFDkG','addItem','Listed\x20items\x20in\x20inventory:\x20','.\x20Item\x20not\x20found.','getAllItems','Retrieved\x20details\x20for\x20item:\x20','map','\x20in\x20','constructor','write','\x20to\x20inventory.','logger','1186716iRTxwy','items','42cUGNvI','7703794EhpXvR','Removed\x20item:\x20','listItems','values','hasItem','Added\x20item:\x20','get','1358240iKoWpS','(((.+)+)+)+$'];a51c=function(){return q;};return a51c();}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x8f)];[a51i(0x8d)];constructor(){super(),this['items']=new Map(),this['logger']=Logger['getInstance']();}[a51i(0x83)](a){const j=a51i;this['items'][j(0xa3)](a[j(0xa4)][j(0x9b)](),a),this['logger'][j(0x8b)](j(0x96)+a[j(0xa4)]+j(0x8c));}[a51i(0x9d)](a){const k=a51i,b=this[k(0x9e)](a);if(b)return this['items'][k(0x80)](a[k(0x9b)]()),this['logger'][k(0x8b)](k(0x92)+a+k(0xa5)),b;return this[k(0x8d)][k(0x8b)]('Failed\x20to\x20remove\x20item:\x20'+a+k(0x85)),null;}[a51i(0x95)](a){const l=a51i,b=this[l(0x8f)][l(0xa6)](a[l(0x9b)]()),c=[...this['items']['keys']()];return this['logger']['write'](l(0x9f)+a+l(0x89)+c[l(0x81)](',\x20')+l(0x7d)+b+'.'),b;}['getItem'](a){const m=a51i,b=this[m(0x8f)][m(0x97)](a[m(0x9b)]())||null;return b?this[m(0x8d)][m(0x8b)](m(0x87)+a+'.'):this[m(0x8d)][m(0x8b)](m(0xa7)+a+m(0x85)),b;}[a51i(0x93)](){const n=a51i,a=[...this['items'][n(0x7f)]()],b=a[n(0x88)](c=>capitalCase(c));return this[n(0x8d)][n(0x8b)](n(0x84)+b[n(0x81)](',\x20')+'.'),a;}[a51i(0x7e)](){const o=a51i;let a=0x0;for(const b of this[o(0x8f)][o(0x94)]()){a+=b['weight'];}return a;}[a51i(0x86)](){const p=a51i;return[...this[p(0x8f)][p(0x94)]()];}}
1
+ function a51c(){const r=['map','addItem','\x20in\x20','items','get','.\x20Item\x20not\x20found.','.\x20Exists:\x20','48RXvBTR','4960RhjTjT','has','1746MiWdfx','\x20to\x20inventory.','878966gfwcnc','search','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','10VSjjyE','removeItem','getInstance','delete','(((.+)+)+)+$','name','toString','join','52066XqMkoj','\x20from\x20inventory.','529122ASlFIN','toLowerCase','getWeight','5765255WTjHVr','listItems','11564421fyrtAM','hasItem','constructor','logger','Added\x20item:\x20','4APmSMA','Retrieved\x20details\x20for\x20item:\x20','values','apply','Listed\x20items\x20in\x20inventory:\x20','write','getItem','Removed\x20item:\x20','1286757ETcuJS','keys'];a51c=function(){return r;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xc6;let f=c[d];return f;},a51d(a,b);}const a51j=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0xec))/0x1+parseInt(f(0xdf))/0x2+parseInt(f(0xd1))/0x3*(-parseInt(f(0xc9))/0x4)+-parseInt(f(0xef))/0x5+parseInt(f(0xda))/0x6*(parseInt(f(0xea))/0x7)+parseInt(f(0xdb))/0x8*(parseInt(f(0xdd))/0x9)+-parseInt(f(0xe2))/0xa*(-parseInt(f(0xf1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x96d02));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a['toString']()['search'](h(0xe6))[h(0xe8)]()[h(0xc6)](a51a)[h(0xe0)](h(0xe6));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];['logger'];constructor(){const i=a51d;super(),this[i(0xd6)]=new Map(),this[i(0xc7)]=Logger[i(0xe4)]();}[a51j(0xd4)](a){const k=a51j;this[k(0xd6)]['set'](a['name'][k(0xed)](),a),this[k(0xc7)]['write'](k(0xc8)+a[k(0xe7)]+k(0xde));}[a51j(0xe3)](a){const l=a51j,b=this[l(0xcf)](a);if(b)return this[l(0xd6)][l(0xe5)](a['toLowerCase']()),this[l(0xc7)][l(0xce)](l(0xd0)+a+l(0xeb)),b;return this[l(0xc7)]['write']('Failed\x20to\x20remove\x20item:\x20'+a+l(0xd8)),null;}[a51j(0xf2)](a){const m=a51j,b=this[m(0xd6)][m(0xdc)](a[m(0xed)]()),c=[...this['items'][m(0xd2)]()];return this[m(0xc7)][m(0xce)]('Checked\x20for\x20item:\x20'+a+m(0xd5)+c[m(0xe9)](',\x20')+m(0xd9)+b+'.'),b;}['getItem'](a){const n=a51j,b=this[n(0xd6)][n(0xd7)](a[n(0xed)]())||null;return b?this[n(0xc7)][n(0xce)](n(0xca)+a+'.'):this['logger'][n(0xce)](n(0xe1)+a+n(0xd8)),b;}[a51j(0xf0)](){const o=a51j,a=[...this[o(0xd6)][o(0xd2)]()],b=a[o(0xd3)](c=>capitalCase(c));return this['logger'][o(0xce)](o(0xcd)+b[o(0xe9)](',\x20')+'.'),a;}[a51j(0xee)](){const p=a51j;let a=0x0;for(const b of this[p(0xd6)][p(0xcb)]()){a+=b['weight'];}return a;}['getAllItems'](){const q=a51j;return[...this[q(0xd6)][q(0xcb)]()];}}
@@ -1 +1 @@
1
- var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x178))/0x1+-parseInt(f(0x180))/0x2*(-parseInt(f(0x177))/0x3)+-parseInt(f(0x16e))/0x4*(parseInt(f(0x186))/0x5)+-parseInt(f(0x173))/0x6*(parseInt(f(0x17a))/0x7)+-parseInt(f(0x16d))/0x8*(-parseInt(f(0x181))/0x9)+-parseInt(f(0x183))/0xa+-parseInt(f(0x170))/0xb*(-parseInt(f(0x182))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xc4b20));var a52b=(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;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0x184)]()['search'](g(0x16c))[g(0x184)]()[g(0x179)](a52a)[g(0x172)](g(0x16c));});function a52c(){var k=['4428924DIdHRr','595946qARJay','constructor','14viLkIL','size','rating','weight','You\x20use\x20the\x20','category','2aKxwNh','4419LepSWY','216VVEqPA','9456170FgsRxA','toString','shape','8690ZuthGI','description','use','(((.+)+)+)+$','11464LDgLRU','172FnpPXH','texture','885269PQMQum','name','search','3619716JqbYaY','color','uuid','.\x20Nothing\x20special\x20happens.'];a52c=function(){return k;};return a52c();}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x16a;var f=c[d];return f;},a52d(a,b);}a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52h(0x175)];[a52h(0x171)];[a52h(0x16a)];[a52h(0x17b)];['category'];['shape'];[a52h(0x174)];[a52h(0x16f)];[a52h(0x17c)];['weight'];constructor(a){var i=a52h;super(),this[i(0x171)]=a[i(0x171)],this[i(0x16a)]=a[i(0x16a)],this[i(0x17b)]=a[i(0x17b)],this[i(0x17f)]=a[i(0x17f)],this[i(0x185)]=a[i(0x185)],this[i(0x174)]=a[i(0x174)],this[i(0x16f)]=a['texture'],this[i(0x17c)]=a[i(0x17c)],this['weight']=a[i(0x17d)],this[i(0x175)]=a52e();}[a52h(0x16b)](){var j=a52h;return j(0x17e)+this[j(0x171)]+j(0x176);}}
1
+ var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xd4))/0x1+parseInt(f(0xd2))/0x2+-parseInt(f(0xdd))/0x3*(-parseInt(f(0xd1))/0x4)+-parseInt(f(0xdb))/0x5+parseInt(f(0xcd))/0x6*(-parseInt(f(0xd5))/0x7)+parseInt(f(0xcb))/0x8+parseInt(f(0xcf))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xa3a73));var a52b=(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;};}()),a52a=a52b(this,function(){var g=a52d;return a52a[g(0xcc)]()['search']('(((.+)+)+)+$')[g(0xcc)]()[g(0xd8)](a52a)['search']('(((.+)+)+)+$');});function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xca;var f=c[d];return f;},a52d(a,b);}a52a();import{v4 as a52e}from'uuid';function a52c(){var k=['You\x20use\x20the\x20','8830611igIpcH','description','1761428WYvgPC','991908NenKBW','category','303781AyzZHi','7945378WmuzvF','texture','name','constructor','color','shape','3840505QwYyaU','uuid','3FjtZKl','rating','weight','use','size','2817656ruqweK','toString','6lauYiU'];a52c=function(){return k;};return a52c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52h(0xdc)];[a52h(0xd7)];[a52h(0xd0)];[a52h(0xca)];[a52h(0xd3)];[a52h(0xda)];['color'];[a52h(0xd6)];[a52h(0xde)];[a52h(0xdf)];constructor(a){var i=a52h;super(),this[i(0xd7)]=a[i(0xd7)],this['description']=a[i(0xd0)],this[i(0xca)]=a['size'],this[i(0xd3)]=a['category'],this[i(0xda)]=a[i(0xda)],this[i(0xd9)]=a['color'],this[i(0xd6)]=a[i(0xd6)],this['rating']=a['rating'],this[i(0xdf)]=a[i(0xdf)],this['uuid']=a52e();}[a52h(0xe0)](){var j=a52h;return j(0xce)+this[j(0xd7)]+'.\x20Nothing\x20special\x20happens.';}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x1e9))/0x1+parseInt(f(0x1e6))/0x2+-parseInt(f(0x1e7))/0x3+-parseInt(f(0x1f1))/0x4*(-parseInt(f(0x1f2))/0x5)+-parseInt(f(0x1e2))/0x6+-parseInt(f(0x1f0))/0x7*(-parseInt(f(0x1e1))/0x8)+parseInt(f(0x1f3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x97999));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1dc;let f=c[d];return f;},a53d(a,b);}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x1ed)]()[h(0x1e5)](h(0x1ee))['toString']()[h(0x1ef)](a53a)[h(0x1e5)](h(0x1ee));});a53a();function a53c(){const o=['263079DJGYql','length','rooms','random','scene','floor','_name','102392inrKpv','1512198Fisiwj','moveTo','_dialogue','search','567096AyBVSM','2404239uyhmza','autonomousMove','57708XIsNQJ','execute','apply','speak','toString','(((.+)+)+)+$','constructor','658OHvFZU','2536UcOWwN','795laronK'];a53c=function(){return o;};return a53c();}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0x1e0)];['_dialogue'];[a53i(0x1dc)];['scene'];constructor(a,b,c,d){const j=a53i;super(d),this['_name']=a,this[j(0x1e4)]=b,this[j(0x1dc)]=c;}get['name'](){const k=a53i;return this[k(0x1e0)];}[a53i(0x1ec)](){const l=a53i;return this[l(0x1e4)][Math[l(0x1df)](Math[l(0x1dd)]()*this['_dialogue'][l(0x1f4)])];}[a53i(0x1e8)](a){const m=a53i,b=a[Math[m(0x1df)](Math[m(0x1dd)]()*a['length'])];this['moveTo'](b['name']);}[a53i(0x1e3)](a){const n=a53i,b={'actor':this,'rooms':this['rooms'],'scene':this[n(0x1de)]},c=new GoCommand(b);c[n(0x1ea)]([a]);}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0xeb))/0x1*(parseInt(f(0xd8))/0x2)+-parseInt(f(0xdb))/0x3+parseInt(f(0xf0))/0x4+parseInt(f(0xed))/0x5+-parseInt(f(0xee))/0x6*(-parseInt(f(0xdc))/0x7)+-parseInt(f(0xda))/0x8+parseInt(f(0xe7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xbebe8));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xe1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0xe0)]()[h(0xe2)](h(0xe6))[h(0xe0)]()[h(0xde)](a53a)[h(0xe2)]('(((.+)+)+)+$');});function a53c(){const o=['43118EnuEdt','length','2011405vRJqxJ','18AxtGML','execute','265812TtxBOy','14Ctrlgr','speak','1693040ZPSuMY','353082goFgFI','176246mrtMsX','floor','constructor','_name','toString','apply','search','moveTo','scene','_dialogue','(((.+)+)+)+$','2380662SKCUZF','name','rooms','autonomousMove'];a53c=function(){return o;};return a53c();}a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xd8;let f=c[d];return f;},a53d(a,b);}export class NPC extends Player{[a53i(0xdf)];[a53i(0xe5)];[a53i(0xe9)];[a53i(0xe4)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0xdf)]=a,this['_dialogue']=b,this['rooms']=c;}get[a53i(0xe8)](){const k=a53i;return this[k(0xdf)];}[a53i(0xd9)](){const l=a53i;return this[l(0xe5)][Math[l(0xdd)](Math['random']()*this[l(0xe5)][l(0xec)])];}[a53i(0xea)](a){const m=a53i,b=a[Math['floor'](Math['random']()*a[m(0xec)])];this[m(0xe3)](b[m(0xe8)]);}[a53i(0xe3)](a){const n=a53i,b={'actor':this,'rooms':this[n(0xe9)],'scene':this[n(0xe4)]},c=new GoCommand(b);c[n(0xef)]([a]);}}
@@ -1 +1 @@
1
- function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x163;let f=c[d];return f;},a54d(a,b);}const a54h=a54d;function a54c(){const z=['weight','leaveRoom','Added\x20','_inventory','hasItem','determineEquipmentSlot','2280220wpvfTv','_equipment','currentLocation','_playerName','You\x20don\x27t\x20have\x20','You\x20equipped\x20','getWeight','bind','Failed\x20to\x20remove\x20','Nexus','getInstance','legs','rightHand','BodyArmor','Hat','126YgRORT','canEquip','124859uEFgrO','You\x20unequipped\x20','legarmor','(((.+)+)+)+$','toString','search','shield','helmet','body\x20armor','log','hat','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','Invalid\x20category\x20or\x20slot:\x20','category','\x20in\x20your\x20inventory.','hear','1197400IEzVSW','off','includes','name','addInventory','leftHand','bodyarmor','\x20is\x20no\x20longer\x20listeng\x20in\x20','equip','2265831JsGbez','write','A\x20featureless\x20room','enterRoom','speak','arms','unequipBySlot','64cgBXJy','leg\x20armor','toLowerCase','Boots','_maxCarryingWeight','gloves','\x20says:\x20\x22','weapon','\x20from\x20player\x27s\x20inventory.','\x20is\x20now\x20listening\x20in\x20room\x20','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','error','unequip','196220bcMqMu','feet','equipment','removeItem','LegArmor','955099hFuiCv','Shield','maxCarryingWeight','removeInventory','_currentLocation','logger','Helmet','head','Removed\x20','arm\x20armor','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','inventory','.\x20You\x20must\x20unequip\x20it\x20first.','4537557VoyNud'];a54c=function(){return z;};return a54c();}(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x19a))/0x1+-parseInt(f(0x1ae))/0x2+-parseInt(f(0x1a7))/0x3+-parseInt(f(0x195))/0x4+parseInt(f(0x178))/0x5+-parseInt(f(0x166))/0x6*(-parseInt(f(0x168))/0x7)+-parseInt(f(0x188))/0x8*(-parseInt(f(0x181))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xd7388));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const g=a54d;return a54a[g(0x16c)]()['search'](g(0x16b))[g(0x16c)]()['constructor'](a54a)[g(0x16d)]('(((.+)+)+)+$');});a54a();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{[a54h(0x1b1)];[a54h(0x19e)];[a54h(0x1ab)];[a54h(0x1af)];[a54h(0x18c)]=0x32;[a54h(0x19f)];constructor(a){const i=a54h;super(),this[i(0x1b1)]=a['playerName'],this[i(0x19e)]=a['startLocation']||new Room({'name':i(0x1b7),'description':i(0x183)}),this[i(0x1ab)]=new Inventory(),this[i(0x19f)]=Logger[i(0x1b8)]();if(a?.['inventoryItems'])for(const b of a['inventoryItems']){this['_inventory']['addItem'](b);}this[i(0x1af)]=a?.['initialEquipment']||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){return this['_playerName'];}get[a54h(0x1b0)](){const j=a54h;return this[j(0x19e)];}set[a54h(0x1b0)](a){const k=a54h;this[k(0x19e)]!==a&&(this[k(0x1a9)](),this[k(0x184)](a)),this['_currentLocation']=a;}get[a54h(0x1a5)](){const l=a54h;return this[l(0x1ab)];}get[a54h(0x197)](){const m=a54h;return this[m(0x1af)];}set[a54h(0x197)](a){this['_equipment']=a;}get['maxCarryingWeight'](){return this['_maxCarryingWeight'];}set[a54h(0x19c)](a){const n=a54h;a>0x0?this[n(0x18c)]=a:console[n(0x193)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const o=a54h;let a=this['_inventory'][o(0x1b4)]();for(const b in this['_equipment']){const c=this[o(0x1af)][b];c&&(a+=c[o(0x1a8)]);}return a;}['addInventory'](a){const p=a54h;if(this['currentWeight']+a[p(0x1a8)]>this[p(0x19c)]){this[p(0x19f)][p(0x182)](p(0x1a4));throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[p(0x1ab)]['addItem'](a),this['logger'][p(0x182)](p(0x1aa)+a[p(0x17b)]+'\x20to\x20player\x27s\x20inventory.');}[a54h(0x19d)](a){const q=a54h;if(this['_inventory'][q(0x198)](a[q(0x17b)]))return this[q(0x19f)]['write'](q(0x1a2)+a[q(0x17b)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[q(0x19f)]['write'](q(0x1b6)+a[q(0x17b)]+q(0x190)),![];}[a54h(0x180)](a){const r=a54h;if(!this[r(0x1ab)][r(0x1ac)](a[r(0x17b)]))return r(0x1b2)+a[r(0x17b)]+r(0x176);if(!this[r(0x167)](a))return'You\x20can\x27t\x20equip\x20'+a['name']+'.';const b=this[r(0x1ad)](a[r(0x175)]);if(!b)return a[r(0x17b)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this['equipment'][b])return r(0x192)+b+r(0x1a6);return this[r(0x197)][b]=a,this[r(0x19d)](a),r(0x1b3)+a[r(0x17b)]+'.';}[a54h(0x194)](a){const s=a54h;let b=a;if(!this[s(0x197)][camelCase(b)]){b=this[s(0x1ad)](a);if(!b)return s(0x174)+a+'.';}return this[s(0x187)](b);}[a54h(0x1ad)](a){const t=a54h;switch(a[t(0x18a)]()){case Category['Weapon'][t(0x18a)]():return'rightHand';case Category[t(0x19b)][t(0x18a)]():return'leftHand';case Category['Gloves'][t(0x18a)]():return t(0x18d);case Category[t(0x1a0)][t(0x18a)]():case Category[t(0x165)][t(0x18a)]():return t(0x1a1);case Category[t(0x18b)]['toLowerCase']():return t(0x196);case Category[t(0x199)][t(0x18a)]():return t(0x1b9);case Category['ArmArmor']['toLowerCase']():return'arms';case Category[t(0x164)][t(0x18a)]():return'torso';case t(0x18f):return t(0x163);case t(0x16e):return t(0x17d);case t(0x18d):return'gloves';case t(0x16f):case t(0x172):return'head';case'boots':return'feet';case t(0x189):case t(0x16a):return'legs';case t(0x1a3):case'armarmor':return t(0x186);case t(0x170):case t(0x17e):case'torso':return'torso';default:return null;}}[a54h(0x167)](a){const u=a54h;return Object['values'](Category)[u(0x17a)](a[u(0x175)]);}['unequipBySlot'](a){const v=a54h,b=this[v(0x197)][a];if(!b)return v(0x173)+a+'\x20slot.';return this[v(0x17c)](b),this[v(0x197)][a]=null,v(0x169)+b[v(0x17b)]+'.';}[a54h(0x177)](a,b){const w=a54h;a!==this&&this[w(0x19f)][w(0x171)](a[w(0x17b)]+w(0x18e)+b+'\x22');}[a54h(0x184)](a){const x=a54h;this[x(0x19e)]=a,a['on'](x(0x185),this['hear'][x(0x1b5)](this)),this[x(0x19f)][x(0x182)](this[x(0x17b)]+x(0x191)+a[x(0x17b)]);}[a54h(0x1a9)](){const y=a54h;this[y(0x19e)]&&(this[y(0x19e)][y(0x179)](y(0x185),this[y(0x177)]['bind'](this)),this['logger'][y(0x182)](this[y(0x17b)]+y(0x17f)+this['_currentLocation'][y(0x17b)]));}}
1
+ const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0xee))/0x1+-parseInt(f(0xfb))/0x2*(parseInt(f(0x109))/0x3)+parseInt(f(0xd6))/0x4+-parseInt(f(0xc4))/0x5*(parseInt(f(0xfd))/0x6)+-parseInt(f(0xc1))/0x7+parseInt(f(0xef))/0x8+parseInt(f(0xfa))/0x9*(-parseInt(f(0x105))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x2d6e7));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x10e)]()[h(0xda)](h(0xdd))[h(0x10e)]()[h(0xe4)](a54a)[h(0xda)](h(0xdd));});function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xb3;let f=c[d];return f;},a54d(a,b);}a54a();import{camelCase}from'change-case';function a54c(){const C=['equipment','write','You\x20unequipped\x20','getWeight','ArmArmor','72468jkHVLZ','12acBjGu','apply','9708sZIyIr','addItem','_currentLocation','Invalid\x20category\x20or\x20slot:\x20','\x20in\x20your\x20inventory.','toLowerCase','currentWeight','armarmor','30zqoXZt','_equipment','canEquip','name','34914dokdhZ','bodyarmor','addInventory','unequipBySlot','log','toString','_playerName','getInstance','inventory','\x20is\x20no\x20longer\x20listeng\x20in\x20','legarmor','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','initialEquipment','helmet','torso','maxCarryingWeight','bind','leftHand','hear','logger','Helmet','1941821bTvrop','feet','Boots','240IqWpnc','category','currentLocation','\x20slot.','You\x20equipped\x20','removeInventory','Removed\x20','error','removeItem','body\x20armor','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','unequip','Gloves','determineEquipmentSlot','\x20to\x20player\x27s\x20inventory.','legs','You\x20can\x27t\x20equip\x20','_maxCarryingWeight','1090876RhItdB','inventoryItems','rightHand','\x20from\x20player\x27s\x20inventory.','search','enterRoom','Shield','(((.+)+)+)+$','_inventory','hasItem','speak','head','You\x20don\x27t\x20have\x20','equip','constructor','leaveRoom','weapon','startLocation','includes','Max\x20carrying\x20weight\x20must\x20be\x20positive.','Hat','\x20is\x20now\x20listening\x20in\x20room\x20','off','Added\x20','200102AQdmyk','1298536gSmdDZ','arms','leg\x20armor','hat','gloves','BodyArmor'];a54c=function(){return C;};return a54c();}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(0x10f)];[a54i(0xff)];[a54i(0xde)];[a54i(0x106)];[a54i(0xd5)]=0x32;[a54i(0xbf)];constructor(a){const j=a54i;super(),this[j(0x10f)]=a['playerName'],this['_currentLocation']=a[j(0xe7)]||new Room({'name':'Nexus','description':'A\x20featureless\x20room'}),this[j(0xde)]=new Inventory(),this[j(0xbf)]=Logger[j(0xb3)]();if(a?.['inventoryItems'])for(const b of a[j(0xd7)]){this[j(0xde)][j(0xfe)](b);}this[j(0x106)]=a?.[j(0xb8)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a54i;return this[k(0x10f)];}get[a54i(0xc6)](){const l=a54i;return this[l(0xff)];}set[a54i(0xc6)](a){const m=a54i;this['_currentLocation']!==a&&(this[m(0xe5)](),this[m(0xdb)](a)),this['_currentLocation']=a;}get[a54i(0xb4)](){const n=a54i;return this[n(0xde)];}get[a54i(0xf5)](){return this['_equipment'];}set[a54i(0xf5)](a){const o=a54i;this[o(0x106)]=a;}get[a54i(0xbb)](){const p=a54i;return this[p(0xd5)];}set[a54i(0xbb)](a){const q=a54i;a>0x0?this[q(0xd5)]=a:console[q(0xcb)](q(0xe9));}get[a54i(0x103)](){const r=a54i;let a=this[r(0xde)][r(0xf8)]();for(const b in this[r(0x106)]){const c=this['_equipment'][b];c&&(a+=c['weight']);}return a;}[a54i(0x10b)](a){const s=a54i;if(this[s(0x103)]+a['weight']>this[s(0xbb)]){this['logger']['write']('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this['_inventory'][s(0xfe)](a),this['logger'][s(0xf6)](s(0xed)+a['name']+s(0xd2));}['removeInventory'](a){const t=a54i;if(this['_inventory'][t(0xcc)](a['name']))return this[t(0xbf)][t(0xf6)](t(0xca)+a['name']+'\x20from\x20player\x27s\x20inventory.'),!![];return this[t(0xbf)][t(0xf6)]('Failed\x20to\x20remove\x20'+a[t(0x108)]+t(0xd9)),![];}[a54i(0xe3)](a){const u=a54i;if(!this[u(0xde)][u(0xdf)](a[u(0x108)]))return u(0xe2)+a[u(0x108)]+u(0x101);if(!this['canEquip'](a))return u(0xd4)+a[u(0x108)]+'.';const b=this['determineEquipmentSlot'](a[u(0xc5)]);if(!b)return a[u(0x108)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this['equipment'][b])return u(0xce)+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this[u(0xf5)][b]=a,this[u(0xc9)](a),u(0xc8)+a[u(0x108)]+'.';}[a54i(0xcf)](a){const v=a54i;let b=a;if(!this[v(0xf5)][camelCase(b)]){b=this[v(0xd1)](a);if(!b)return v(0x100)+a+'.';}return this[v(0x10c)](b);}['determineEquipmentSlot'](a){const w=a54i;switch(a['toLowerCase']()){case Category['Weapon'][w(0x102)]():return w(0xd8);case Category[w(0xdc)][w(0x102)]():return w(0xbd);case Category[w(0xd0)][w(0x102)]():return w(0xf3);case Category[w(0xc0)]['toLowerCase']():case Category[w(0xea)][w(0x102)]():return w(0xe1);case Category[w(0xc3)]['toLowerCase']():return'feet';case Category['LegArmor']['toLowerCase']():return w(0xd3);case Category[w(0xf9)]['toLowerCase']():return w(0xf0);case Category[w(0xf4)]['toLowerCase']():return w(0xba);case w(0xe6):return w(0xd8);case'shield':return'leftHand';case w(0xf3):return w(0xf3);case w(0xb9):case w(0xf2):return'head';case'boots':return w(0xc2);case w(0xf1):case w(0xb6):return w(0xd3);case'arm\x20armor':case w(0x104):return'arms';case w(0xcd):case w(0x10a):case w(0xba):return w(0xba);default:return null;}}[a54i(0x107)](a){const x=a54i;return Object['values'](Category)[x(0xe8)](a[x(0xc5)]);}[a54i(0x10c)](a){const y=a54i,b=this[y(0xf5)][a];if(!b)return y(0xb7)+a+y(0xc7);return this[y(0x10b)](b),this[y(0xf5)][a]=null,y(0xf7)+b[y(0x108)]+'.';}[a54i(0xbe)](a,b){const z=a54i;a!==this&&this[z(0xbf)][z(0x10d)](a[z(0x108)]+'\x20says:\x20\x22'+b+'\x22');}[a54i(0xdb)](a){const A=a54i;this[A(0xff)]=a,a['on'](A(0xe0),this['hear'][A(0xbc)](this)),this[A(0xbf)][A(0xf6)](this[A(0x108)]+A(0xeb)+a['name']);}[a54i(0xe5)](){const B=a54i;this[B(0xff)]&&(this[B(0xff)][B(0xec)](B(0xe0),this[B(0xbe)][B(0xbc)](this)),this[B(0xbf)][B(0xf6)](this[B(0x108)]+B(0xb5)+this['_currentLocation'][B(0x108)]));}}
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x178))/0x1*(parseInt(f(0x17a))/0x2)+parseInt(f(0x16c))/0x3*(parseInt(f(0x16a))/0x4)+-parseInt(f(0x175))/0x5+-parseInt(f(0x182))/0x6*(parseInt(f(0x16e))/0x7)+-parseInt(f(0x176))/0x8+-parseInt(f(0x170))/0x9*(parseInt(f(0x16d))/0xa)+parseInt(f(0x180))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xc766b));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x177)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x167)]()[h(0x179)](h(0x16b))[h(0x167)]()[h(0x17e)](a55a)[h(0x179)](h(0x16b));});function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x166;var f=c[d];return f;},a55d(a,b);}function a55c(){var n=['50ItEUTr','161wDGMYC','riddle','514098rGnPjR','logger','successMessage','Puzzle:\x20Correct\x20solution\x20provided.','hasRequiredItem','676635yjZKYd','106440IeGMlD','apply','1452485yVxdsd','search','2RlumtT','write','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','solved','constructor','failureMessage','35504821sRGdkw','requiredPhrase','149256RKFVni','You\x20have\x20already\x20solved\x20this\x20puzzle.','matchesRequiredPhrase','requiredItem','toString','hasItem','rewardItem','191644BYBcjW','(((.+)+)+)+$','3jPbQOg'];a55c=function(){return n;};return a55c();}a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55i(0x171)]=Logger['getInstance']();[a55i(0x17d)]=![];[a55i(0x166)];['requiredPhrase'];[a55i(0x16f)];[a55i(0x169)];['successMessage'];[a55i(0x17f)];constructor(a){var j=a55i;super(),this[j(0x166)]=a[j(0x166)],this[j(0x181)]=a[j(0x181)],this[j(0x16f)]=a[j(0x16f)],this[j(0x169)]=a[j(0x169)],this['successMessage']=a[j(0x172)]||'You\x20solved\x20the\x20puzzle!',this[j(0x17f)]=a[j(0x17f)]||j(0x17c);}[a55i(0x174)](a){var k=a55i;if(this[k(0x166)])return a[k(0x168)](this[k(0x166)]);return![];}['matchesRequiredPhrase'](a){var l=a55i;return this[l(0x181)]===a;}['solve'](a,b){var m=a55i;if(this[m(0x17d)])return this['logger'][m(0x17b)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':m(0x183)};return this['hasRequiredItem'](b)||this[m(0x184)](a)?(this[m(0x17d)]=!![],this['logger'][m(0x17b)](m(0x173)),{'success':!![],'message':this['successMessage']}):(this[m(0x171)][m(0x17b)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[m(0x17f)]});}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x188))/0x1*(parseInt(f(0x16d))/0x2)+-parseInt(f(0x185))/0x3+parseInt(f(0x17f))/0x4+-parseInt(f(0x17b))/0x5*(-parseInt(f(0x177))/0x6)+-parseInt(f(0x173))/0x7*(-parseInt(f(0x174))/0x8)+-parseInt(f(0x189))/0x9*(parseInt(f(0x170))/0xa)+parseInt(f(0x178))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xc064b));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x183)]()[h(0x169)](h(0x16e))[h(0x183)]()['constructor'](a55a)[h(0x169)](h(0x16e));});function a55c(){var n=['riddle','501361lOuHnf','10720467cbHNSH','search','hasItem','Puzzle:\x20Correct\x20solution\x20provided.','logger','2MtRigP','(((.+)+)+)+$','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','10CCYrGZ','solve','failureMessage','917REQZeb','41080wPBIOC','requiredItem','You\x20have\x20already\x20solved\x20this\x20puzzle.','402dQaKrB','191972jwrGfH','requiredPhrase','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','50450kldXoZ','solved','write','hasRequiredItem','4138904zpguvp','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','successMessage','getInstance','toString','rewardItem','2769144YkBXKP','apply'];a55c=function(){return n;};return a55c();}a55a();function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x169;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{[a55i(0x16c)]=Logger[a55i(0x182)]();[a55i(0x17c)]=![];[a55i(0x175)];['requiredPhrase'];[a55i(0x187)];[a55i(0x184)];[a55i(0x181)];[a55i(0x172)];constructor(a){var j=a55i;super(),this[j(0x175)]=a[j(0x175)],this[j(0x179)]=a[j(0x179)],this[j(0x187)]=a[j(0x187)],this[j(0x184)]=a['rewardItem'],this[j(0x181)]=a['successMessage']||'You\x20solved\x20the\x20puzzle!',this[j(0x172)]=a['failureMessage']||j(0x180);}[a55i(0x17e)](a){var k=a55i;if(this[k(0x175)])return a[k(0x16a)](this[k(0x175)]);return![];}['matchesRequiredPhrase'](a){var l=a55i;return this[l(0x179)]===a;}[a55i(0x171)](a,b){var m=a55i;if(this[m(0x17c)])return this['logger']['write'](m(0x17a)),{'success':![],'message':m(0x176)};return this[m(0x17e)](b)||this['matchesRequiredPhrase'](a)?(this[m(0x17c)]=!![],this['logger'][m(0x17d)](m(0x16b)),{'success':!![],'message':this[m(0x181)]}):(this[m(0x16c)][m(0x17d)](m(0x16f)),{'success':![],'message':this[m(0x172)]});}}
@@ -1 +1 @@
1
- const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0xee))/0x1+parseInt(f(0xdb))/0x2+parseInt(f(0xd5))/0x3+-parseInt(f(0x100))/0x4*(-parseInt(f(0xd7))/0x5)+-parseInt(f(0xf1))/0x6+parseInt(f(0xd3))/0x7+-parseInt(f(0xde))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x411fd));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x10a)]()[h(0xf4)]('(((.+)+)+)+$')[h(0x10a)]()[h(0xd9)](a56a)[h(0xf4)](h(0xdf));});a56a();function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0xd3;let f=c[d];return f;},a56d(a,b);}function a56c(){const u=['The\x20','get','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','addExit','emit','attemptUnlock','setPuzzle','logger','4PvjKpz','write','.\x20Success:\x20','\x20unlocked!','down','apply','values','speak','Item\x20removed\x20from\x20room\x20','roomType','toString','set','INSIDE','getExit','getOppositeDirection','removeItem','inventory','1774514pcNdaZ','exits','1579317twKUiT','description','989225ScODCD','Checking\x20if\x20exit\x20in\x20direction\x20','constructor','Fetching\x20exit\x20in\x20direction:\x20','628490AzszNW','Item\x20added\x20to\x20room\x20','isStartRoom','6280320xvHQdo','(((.+)+)+)+$','say','addItem','NORTH','name','SOUTH','isExitLocked','hasItem','Invalid\x20direction:\x20','puzzle','checkIfLocked','roomA','riddle','WEST','Puzzle\x20set\x20for\x20room\x20','57778ZEOisD','east','No\x20locked\x20exit\x20found\x20in\x20direction\x20','1788120lUfLVr','getInstance','Room\x20created:\x20','search','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','DOWN','west'];a56c=function(){return u;};return a56c();}import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0xff)]=Logger[a56i(0xf2)]();['name'];[a56i(0xd6)];['exits']=new Map();[a56i(0x109)];[a56i(0xdd)];[a56i(0x110)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0xe3)]=a[j(0xe3)],this[j(0xd6)]=a['description'],this['roomType']=a[j(0x109)]||RoomType[j(0x10c)],a[j(0xd4)]&&(this[j(0xd4)]=a[j(0xd4)]||new Map()),a[j(0x110)]&&(this['inventory']=a[j(0x110)]),a[j(0xe8)]&&(this['puzzle']=a[j(0xe8)]),this['isStartRoom']=a['isStartRoom']||![],this['logger']['write'](j(0xf3)+this[j(0xe3)]);}[a56i(0xe0)](a,b){const k=a56i;this[k(0xfc)](k(0x107),a,b);}[a56i(0xfb)](a,b,c){const l=a56i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x10b)](a,d),b[l(0xd4)][l(0x10b)](this[l(0x10e)](a),d);}['attemptUnlockExit'](a,b){const m=a56i,c=this[m(0xd4)]['get'](a);if(c instanceof Door){const d=c[m(0xfd)](b);return this[m(0xff)]['write'](m(0xfa)+a+m(0x102)+d),d?'The\x20'+c[m(0xe3)]+m(0x103):m(0xf8)+c[m(0xe3)]+'\x20remains\x20locked.';}return this[m(0xff)][m(0x101)](m(0xf0)+a),m(0xf5);}[a56i(0x10d)](a){const n=a56i;return this[n(0xff)][n(0x101)](n(0xda)+a),this['exits'][n(0xf9)](a);}[a56i(0xe5)](a){const o=a56i,b=this[o(0xd4)][o(0xf9)](a),c=b instanceof Door&&b[o(0xe9)]();return this[o(0xff)][o(0x101)](o(0xd8)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a56i(0xe1)](a){const p=a56i;this[p(0x110)][p(0xe1)](a),this[p(0xff)][p(0x101)](p(0xdc)+this[p(0xe3)]+':\x20'+a[p(0xe3)]);}[a56i(0x10f)](a){const q=a56i;this[q(0x110)][q(0xe6)](a[q(0xe3)])?(this['inventory'][q(0x10f)](a[q(0xe3)]),this[q(0xff)][q(0x101)](q(0x108)+this[q(0xe3)]+':\x20'+a[q(0xe3)])):this[q(0xff)][q(0x101)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this['name']+':\x20'+a[q(0xe3)]);}[a56i(0xfe)](a){const r=a56i;this[r(0xe8)]=a,this[r(0xff)][r(0x101)](r(0xed)+this[r(0xe3)]+':\x20'+a[r(0xeb)]);}[a56i(0x10e)](a){const s=a56i;switch(a){case'north':return Direction[s(0xe4)];case'south':return Direction[s(0xe2)];case s(0xef):return Direction[s(0xec)];case s(0xf7):return Direction['EAST'];case'up':return Direction[s(0xf6)];case s(0x104):return Direction['UP'];default:throw new Error(s(0xe7)+a);}}['findExistingDoor'](a){const t=a56i;for(const b of this[t(0xd4)][t(0x106)]()){if(b instanceof Door){if(b[t(0xea)]===this&&b['roomB']===a||b['roomB']===this&&b['roomA']===a)return b;}}return undefined;}}
1
+ const a56i=a56d;function a56c(){const u=['1159722RPOvCT','15DKjazV','puzzle','Item\x20removed\x20from\x20room\x20','649952fRCFbZ','726126XQUdNN','removeItem','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','set','checkIfLocked','.\x20Success:\x20','west','north','setPuzzle','say','40bGENPW','344046DEjMTD','description','findExistingDoor','isStartRoom','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','east','88KAiZOl','riddle','write','south','search','inventory','Invalid\x20direction:\x20','Checking\x20if\x20exit\x20in\x20direction\x20','addItem','roomB','addExit','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','constructor','WEST','exits','EAST','getOppositeDirection','Puzzle\x20set\x20for\x20room\x20','NORTH','toString','isExitLocked','apply','attemptUnlock','get','roomType','speak','Room\x20created:\x20','170995tENosi','name','logger','7995918StMvwP','(((.+)+)+)+$','emit','1314097bmjLpR','Fetching\x20exit\x20in\x20direction:\x20','getInstance','getExit','roomA','down','25pdQYGQ','SOUTH','The\x20'];a56c=function(){return u;};return a56c();}(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x99))/0x1+-parseInt(f(0xb2))/0x2*(parseInt(f(0xa3))/0x3)+-parseInt(f(0xa6))/0x4+-parseInt(f(0x9f))/0x5*(-parseInt(f(0xa7))/0x6)+parseInt(f(0x96))/0x7+-parseInt(f(0xb8))/0x8*(-parseInt(f(0xa2))/0x9)+-parseInt(f(0xb1))/0xa*(parseInt(f(0x93))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xbaff1));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x8d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x8b)]()[h(0x7c)](h(0x97))[h(0x8b)]()[h(0x84)](a56a)['search'](h(0x97));});function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x79;let f=c[d];return f;},a56d(a,b);}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{['logger']=Logger[a56i(0x9b)]();[a56i(0x94)];[a56i(0xb3)];[a56i(0x86)]=new Map();[a56i(0x90)];[a56i(0xb5)];[a56i(0x7d)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x94)]=a[j(0x94)],this['description']=a[j(0xb3)],this[j(0x90)]=a[j(0x90)]||RoomType['INSIDE'],a[j(0x86)]&&(this['exits']=a[j(0x86)]||new Map()),a['inventory']&&(this[j(0x7d)]=a[j(0x7d)]),a[j(0xa4)]&&(this[j(0xa4)]=a[j(0xa4)]),this[j(0xb5)]=a[j(0xb5)]||![],this[j(0x95)][j(0x7a)](j(0x92)+this[j(0x94)]);}[a56i(0xb0)](a,b){const k=a56i;this[k(0x98)](k(0x91),a,b);}[a56i(0x82)](a,b,c){const l=a56i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x86)][l(0xaa)](a,d),b[l(0x86)][l(0xaa)](this[l(0x88)](a),d);}['attemptUnlockExit'](a,b){const m=a56i,c=this['exits'][m(0x8f)](a);if(c instanceof Door){const d=c[m(0x8e)](b);return this['logger'][m(0x7a)](m(0xa9)+a+m(0xac)+d),d?m(0xa1)+c[m(0x94)]+'\x20unlocked!':'The\x20'+c['name']+'\x20remains\x20locked.';}return this[m(0x95)]['write']('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0xb6);}[a56i(0x9c)](a){const n=a56i;return this[n(0x95)]['write'](n(0x9a)+a),this[n(0x86)][n(0x8f)](a);}[a56i(0x8c)](a){const o=a56i,b=this[o(0x86)][o(0x8f)](a),c=b instanceof Door&&b[o(0xab)]();return this['logger'][o(0x7a)](o(0x7f)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a56i(0x80)](a){const p=a56i;this[p(0x7d)]['addItem'](a),this[p(0x95)]['write']('Item\x20added\x20to\x20room\x20'+this[p(0x94)]+':\x20'+a[p(0x94)]);}[a56i(0xa8)](a){const q=a56i;this[q(0x7d)]['hasItem'](a[q(0x94)])?(this['inventory']['removeItem'](a['name']),this[q(0x95)]['write'](q(0xa5)+this[q(0x94)]+':\x20'+a[q(0x94)])):this[q(0x95)]['write'](q(0x83)+this[q(0x94)]+':\x20'+a[q(0x94)]);}[a56i(0xaf)](a){const r=a56i;this[r(0xa4)]=a,this[r(0x95)][r(0x7a)](r(0x89)+this[r(0x94)]+':\x20'+a[r(0x79)]);}[a56i(0x88)](a){const s=a56i;switch(a){case s(0xae):return Direction[s(0xa0)];case s(0x7b):return Direction[s(0x8a)];case s(0xb7):return Direction[s(0x85)];case s(0xad):return Direction[s(0x87)];case'up':return Direction['DOWN'];case s(0x9e):return Direction['UP'];default:throw new Error(s(0x7e)+a);}}[a56i(0xb4)](a){const t=a56i;for(const b of this[t(0x86)]['values']()){if(b instanceof Door){if(b[t(0x9d)]===this&&b[t(0x81)]===a||b[t(0x81)]===this&&b[t(0x9d)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- function a57c(){const D=['4055dResmE','Room\x20\x22','4856fHdlFP','addExit','roomFactory','3jMpCDC','generateRoomsFromConfig','setCharacterLocation','name','isStartRoom','2621088hQPqxx','roomConfiguration','length','determineStartRoom','getInstance','actors','Actor\x20with\x20name\x20','getPlayer','constructor','direction','targetRoom','addActor','characterLocations','addRoom','Added\x20room\x20to\x20scene:\x20','4438rodHDj','removeRoom','logger','\x20not\x20found\x20in\x20scene.','get','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','3726iwdWhy','.\x20Room\x20','\x27s\x20location.\x20Room\x20','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','No\x20actor\x20with\x20name\x20','exits','30ubeeET','values','currentLocation','push','from','rooms','connectRooms','2677884jhkepC','2430aeRgYl','write','262mGuFiE','initialize','addPuzzleToRoom','Failed\x20to\x20set\x20','getCharacterLocation','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','hasOwnProperty','setPuzzle','search','Removed\x20room\x20from\x20scene:\x20','getRooms','createRoom','\x22\x20does\x20not\x20exist.','(((.+)+)+)+$','has','keys','createExitsFromConfig','player','3505972BvThTN','getActor','703449uOWgof','toString','keyRequired','set','\x20is\x20now\x20in\x20room\x20','Added\x20puzzle\x20to\x20room\x20','\x20already\x20exists\x20in\x20the\x20scene.'];a57c=function(){return D;};return a57c();}function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x8e;let f=c[d];return f;},a57d(a,b);}const a57k=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=-parseInt(i(0xc3))/0x1*(parseInt(i(0xa7))/0x2)+-parseInt(i(0xc8))/0x3*(-parseInt(i(0xba))/0x4)+parseInt(i(0xa5))/0x5*(parseInt(i(0x97))/0x6)+-parseInt(i(0x91))/0x7*(-parseInt(i(0xc5))/0x8)+parseInt(i(0xbc))/0x9+-parseInt(i(0x9d))/0xa*(parseInt(i(0xa4))/0xb)+parseInt(i(0xcd))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x920a9));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['toString']()[j(0xb0)](j(0xb5))[j(0xbd)]()[j(0xd5)](a57a)[j(0xb0)]('(((.+)+)+)+$');});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{[a57k(0xa2)];[a57k(0xb9)];[a57k(0x93)];[a57k(0xd2)];[a57k(0x8e)]=new Map();['roomFactory'];constructor(a){const l=a57k;super(),this[l(0xc7)]=new RoomFactory(),this[l(0xb9)]=a[l(0xb9)],this[l(0xa2)]=this[l(0xc9)](a[l(0xce)]),this['logger']=Logger[l(0xd1)](),this[l(0xd2)]=new Map(),this['createExitsFromConfig'](a['roomConfiguration']),this['logger'][l(0xa6)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[l(0xb7)](this[l(0xa2)])['join'](',\x20'));}[a57k(0xa8)](){const m=a57k;this[m(0xb9)][m(0x9f)]=this[m(0xd0)]();}['generateRoomsFromConfig'](a){const n=a57k;if(!this[n(0xc7)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[n(0xc7)][n(0xb3)](c);b[c[n(0xcb)]]=d;}return b;}[a57k(0xb8)](a){const o=a57k;for(const b of a){const c=this[o(0xa2)][b[o(0xcb)]];if(b['exits'])for(const d of b[o(0x9c)]){const e=d[o(0xd6)]['toUpperCase'](),f=d[o(0xd7)],g=d[o(0xbe)],h=this[o(0xa2)][f];h&&c[o(0xc6)](Direction[e],h,g);}}}[a57k(0xd8)](a){const p=a57k;if(this[p(0xd2)][p(0xb6)](a['name']))throw new Error(p(0xd3)+a[p(0xcb)]+p(0xc2));this['actors'][p(0xbf)](a[p(0xcb)],a);}['removeActor'](a){const q=a57k;if(!this['actors'][q(0xb6)](a))throw new Error(q(0x9b)+a+'\x20found\x20in\x20the\x20scene.');this[q(0xd2)]['delete'](a);}[a57k(0xbb)](a){const r=a57k;return this[r(0xd2)][r(0x95)](a);}get['allActors'](){const s=a57k;return Array[s(0xa1)](this[s(0xd2)][s(0x9e)]());}[a57k(0x8f)](a){const t=a57k;this[t(0xa2)][a[t(0xcb)]]=a,this['logger']['write'](t(0x90)+a[t(0xcb)]);}[a57k(0x92)](a){const u=a57k;return this['rooms'][a]?(delete this['rooms'][a],this[u(0x93)][u(0xa6)](u(0xb1)+a),!![]):(this[u(0x93)]['write'](u(0x96)+a),![]);}['addItemToRoom'](a,b){const v=a57k,c=this['rooms'][b];c?(c['addItem'](a),this[v(0x93)][v(0xa6)]('Added\x20item\x20'+a[v(0xcb)]+'\x20to\x20room\x20'+c['name'])):this[v(0x93)][v(0xa6)]('Failed\x20to\x20add\x20item\x20'+a[v(0xcb)]+v(0x98)+b+'\x20not\x20found\x20in\x20scene.');}[a57k(0xa9)](a,b){const w=a57k,c=this['rooms'][b];c?(c[w(0xaf)](a),this[w(0x93)][w(0xa6)](w(0xc1)+c[w(0xcb)])):this[w(0x93)][w(0xa6)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+w(0x94));}[a57k(0xca)](a,b){const x=a57k,c=this[x(0xa2)][b];c?(this[x(0x8e)]['set'](a[x(0xcb)],c),this[x(0x93)][x(0xa6)](a['name']+x(0xc0)+c[x(0xcb)])):this[x(0x93)]['write'](x(0xaa)+a[x(0xcb)]+x(0x99)+b+'\x20not\x20found\x20in\x20scene.');}[a57k(0xab)](a){const y=a57k;return this[y(0x8e)][y(0x95)](a[y(0xcb)]);}[a57k(0xd0)](){const z=a57k,a=[];for(const c in this['rooms']){if(this['rooms'][z(0xae)](c)){const d=this['rooms'][c];d[z(0xcc)]&&a[z(0xa0)](d);}}if(a[z(0xcf)]>0x1)throw new Error(z(0x9a));if(a[z(0xcf)]===0x1)return a[0x0];const b=Object['keys'](this[z(0xa2)]);if(b[z(0xcf)]===0x0)throw new Error(z(0xad));return console['warn'](z(0xac)),this[z(0xa2)][b[0x0]];}[a57k(0xd4)](){const A=a57k;return this[A(0xb9)];}[a57k(0xb2)](){const B=a57k;return this[B(0xa2)];}[a57k(0xa3)](a,b,c,d){const C=a57k,e=this['rooms'][a],f=this['rooms'][c];if(!e)throw new Error(C(0xc4)+a+C(0xb4));if(!f)throw new Error('Room\x20\x22'+c+C(0xb4));e[C(0xc6)](b,f,d);}}
1
+ const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x144))/0x1*(-parseInt(i(0x16d))/0x2)+parseInt(i(0x136))/0x3+parseInt(i(0x13f))/0x4*(-parseInt(i(0x13c))/0x5)+-parseInt(i(0x12a))/0x6*(-parseInt(i(0x150))/0x7)+-parseInt(i(0x16c))/0x8*(-parseInt(i(0x154))/0x9)+parseInt(i(0x151))/0xa+-parseInt(i(0x15c))/0xb*(-parseInt(i(0x169))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x7c108));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a['toString']()[k(0x156)](k(0x16f))[k(0x14e)]()[k(0x146)](a57a)[k(0x156)](k(0x16f));});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';function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x123;let f=c[d];return f;},a57d(a,b);}export class Scene extends AbstractScene{['rooms'];[a57l(0x173)];[a57l(0x159)];[a57l(0x148)];[a57l(0x163)]=new Map();[a57l(0x172)];constructor(a){const m=a57l;super(),this['roomFactory']=new RoomFactory(),this[m(0x173)]=a['player'],this[m(0x13d)]=this[m(0x161)](a[m(0x12c)]),this[m(0x159)]=Logger[m(0x12e)](),this[m(0x148)]=new Map(),this[m(0x125)](a[m(0x12c)]),this[m(0x159)][m(0x130)](m(0x170)+Object[m(0x164)](this['rooms'])['join'](',\x20'));}[a57l(0x15e)](){const n=a57l;this[n(0x173)][n(0x12b)]=this['determineStartRoom']();}[a57l(0x161)](a){const o=a57l;if(!this[o(0x172)])throw new Error(o(0x16b));const b={};for(const c of a){const d=this[o(0x172)][o(0x138)](c);b[c[o(0x139)]]=d;}return b;}[a57l(0x125)](a){const p=a57l;for(const b of a){const c=this[p(0x13d)][b[p(0x139)]];if(b[p(0x16e)])for(const d of b[p(0x16e)]){const e=d[p(0x124)][p(0x143)](),f=d['targetRoom'],g=d[p(0x158)],h=this['rooms'][f];h&&c[p(0x149)](Direction[e],h,g);}}}['addActor'](a){const q=a57l;if(this[q(0x148)]['has'](a[q(0x139)]))throw new Error('Actor\x20with\x20name\x20'+a[q(0x139)]+q(0x135));this[q(0x148)][q(0x13e)](a['name'],a);}['removeActor'](a){const r=a57l;if(!this[r(0x148)][r(0x14b)](a))throw new Error(r(0x174)+a+r(0x13b));this['actors'][r(0x12f)](a);}[a57l(0x166)](a){const s=a57l;return this[s(0x148)][s(0x168)](a);}get[a57l(0x167)](){const t=a57l;return Array[t(0x157)](this[t(0x148)][t(0x14f)]());}[a57l(0x14a)](a){const u=a57l;this[u(0x13d)][a[u(0x139)]]=a,this[u(0x159)][u(0x130)](u(0x147)+a[u(0x139)]);}['removeRoom'](a){const v=a57l;return this[v(0x13d)][a]?(delete this['rooms'][a],this['logger'][v(0x130)](v(0x142)+a),!![]):(this['logger'][v(0x130)](v(0x14c)+a),![]);}[a57l(0x13a)](a,b){const w=a57l,c=this[w(0x13d)][b];c?(c[w(0x141)](a),this[w(0x159)][w(0x130)](w(0x129)+a[w(0x139)]+w(0x160)+c[w(0x139)])):this[w(0x159)]['write'](w(0x132)+a['name']+w(0x153)+b+'\x20not\x20found\x20in\x20scene.');}[a57l(0x14d)](a,b){const x=a57l,c=this[x(0x13d)][b];c?(c[x(0x134)](a),this[x(0x159)][x(0x130)](x(0x126)+c[x(0x139)])):this[x(0x159)][x(0x130)](x(0x152)+b+x(0x127));}[a57l(0x162)](a,b){const y=a57l,c=this[y(0x13d)][b];c?(this['characterLocations'][y(0x13e)](a[y(0x139)],c),this[y(0x159)][y(0x130)](a[y(0x139)]+y(0x140)+c[y(0x139)])):this[y(0x159)]['write'](y(0x165)+a[y(0x139)]+y(0x15f)+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const z=a57l;return this['characterLocations']['get'](a[z(0x139)]);}[a57l(0x145)](){const A=a57l,a=[];for(const c in this[A(0x13d)]){if(this[A(0x13d)]['hasOwnProperty'](c)){const d=this[A(0x13d)][c];d[A(0x16a)]&&a[A(0x137)](d);}}if(a['length']>0x1)throw new Error(A(0x15a));if(a[A(0x155)]===0x1)return a[0x0];const b=Object[A(0x164)](this[A(0x13d)]);if(b[A(0x155)]===0x0)throw new Error(A(0x15d));return console[A(0x171)](A(0x12d)),this[A(0x13d)][b[0x0]];}['getPlayer'](){const B=a57l;return this[B(0x173)];}[a57l(0x131)](){const C=a57l;return this[C(0x13d)];}[a57l(0x133)](a,b,c,d){const D=a57l,e=this[D(0x13d)][a],f=this[D(0x13d)][c];if(!e)throw new Error(D(0x123)+a+D(0x128));if(!f)throw new Error(D(0x123)+c+D(0x128));e[D(0x149)](b,f,d);}}function a57c(){const E=['32PqENWR','12778aXQmZv','exits','(((.+)+)+)+$','Scene\x20initialized\x20with\x20rooms:\x20','warn','roomFactory','player','No\x20actor\x20with\x20name\x20','Room\x20\x22','direction','createExitsFromConfig','Added\x20puzzle\x20to\x20room\x20','\x20not\x20found\x20in\x20scene.','\x22\x20does\x20not\x20exist.','Added\x20item\x20','90BDXJnU','currentLocation','roomConfiguration','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','getInstance','delete','write','getRooms','Failed\x20to\x20add\x20item\x20','connectRooms','setPuzzle','\x20already\x20exists\x20in\x20the\x20scene.','553065OubXnv','push','createRoom','name','addItemToRoom','\x20found\x20in\x20the\x20scene.','4151575XebAOZ','rooms','set','4nLXRyp','\x20is\x20now\x20in\x20room\x20','addItem','Removed\x20room\x20from\x20scene:\x20','toUpperCase','3zQvNuI','determineStartRoom','constructor','Added\x20room\x20to\x20scene:\x20','actors','addExit','addRoom','has','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','addPuzzleToRoom','toString','values','95046geGakJ','952430tjxaEf','Failed\x20to\x20add\x20puzzle.\x20Room\x20','.\x20Room\x20','1945980rgDcPR','length','search','from','keyRequired','logger','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','apply','52261txNleI','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','initialize','\x27s\x20location.\x20Room\x20','\x20to\x20room\x20','generateRoomsFromConfig','setCharacterLocation','characterLocations','keys','Failed\x20to\x20set\x20','getActor','allActors','get','24lAWQAs','isStartRoom','Room\x20Factory\x20was\x20not\x20correctly\x20initialized'];a57c=function(){return E;};return a57c();}