@maka/maka-cli 5.0.2 → 5.0.4

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 (164) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/aws/_index.js +1 -1
  109. package/bundle/obf/src/generators/aws/aws.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  113. package/bundle/obf/src/generators/collection.js +1 -1
  114. package/bundle/obf/src/generators/component.js +1 -1
  115. package/bundle/obf/src/generators/config.js +1 -1
  116. package/bundle/obf/src/generators/dbc.js +1 -1
  117. package/bundle/obf/src/generators/dockerfile.js +1 -1
  118. package/bundle/obf/src/generators/hook.js +1 -1
  119. package/bundle/obf/src/generators/kits/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  127. package/bundle/obf/src/generators/kits/kit.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  132. package/bundle/obf/src/generators/layout.js +1 -1
  133. package/bundle/obf/src/generators/maka.gen.js +1 -1
  134. package/bundle/obf/src/generators/methods.js +1 -1
  135. package/bundle/obf/src/generators/package.js +1 -1
  136. package/bundle/obf/src/generators/page.js +1 -1
  137. package/bundle/obf/src/generators/publish.js +1 -1
  138. package/bundle/obf/src/generators/route.js +1 -1
  139. package/bundle/obf/src/generators/service.js +1 -1
  140. package/bundle/obf/src/generators/services/_index.js +1 -1
  141. package/bundle/obf/src/generators/services/openssl.js +1 -1
  142. package/bundle/obf/src/generators/services/translation.js +1 -1
  143. package/bundle/obf/src/maka.js +1 -1
  144. package/bundle/obf/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.jsx +15 -9
  145. package/bundle/obf/src/tool.js +1 -1
  146. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  148. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  150. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  152. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  153. package/bundle/obf/src/tools/https/https.class.js +1 -1
  154. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  155. package/bundle/obf/src/tools/log/log.class.js +1 -1
  156. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/options/options.class.js +1 -1
  158. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  159. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  160. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  161. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  162. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  164. package/package.json +1 -1
@@ -1 +1 @@
1
- const a38i=a38d;function a38c(){const n=['lookOutside','2cEVeJm','execute','\x27\x20in\x20current\x20room\x20inventory.','getItem','look','rooms','Looking\x20at\x20item\x20\x27','353417ZRrMGY','getOtherSide','error','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','name','hasItem','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','18956hmrRWj','riddle','3026518mFMrqc','1013025lEvpde','\x20is\x20looking\x20around\x20the\x20current\x20room.','description','verb','It\x27s\x20just\x20a\x20regular\x20','\x20here.','You\x20cannot\x20see\x20through','351DBtuon','129880OoNYJH',',\x20you\x20see\x20','Above\x20you,\x20','roomType','apply','write','\x20inventory.','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','Below\x20you,\x20','(((.+)+)+)+$','inspectItem','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','currentLocation','get','12vBwFBo','isValidDirection','logger','join','You\x27re\x20not\x20in\x20a\x20valid\x20room.','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','OUTSIDE','puzzle','actor','To\x20the\x20','16047VfrRfp','198jGvulU','Executing\x20\x27Look\x27\x20command.','down','search','1048ZSWPyV','inventory','You\x20cannot\x20see\x20','103572bzTTkp','toString','string'];a38c=function(){return n;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0xfa))/0x1*(parseInt(f(0xf3))/0x2)+parseInt(f(0xce))/0x3*(-parseInt(f(0xc4))/0x4)+parseInt(f(0xc7))/0x5+parseInt(f(0xe8))/0x6*(parseInt(f(0xef))/0x7)+-parseInt(f(0xec))/0x8*(-parseInt(f(0xe7))/0x9)+-parseInt(f(0xcf))/0xa+-parseInt(f(0xc6))/0xb*(-parseInt(f(0xdd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x440bc));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xbf;let f=c[d];return f;},a38d(a,b);}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0xd3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0xf0)]()[h(0xeb)](h(0xd8))[h(0xf0)]()['constructor'](a38a)['search'](h(0xd8));});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(0xca)]=a38i(0xf7);static [a38i(0xc9)]='Examine\x20your\x20surroundings';[a38i(0xf4)](a=[]){const j=a38i;this[j(0xdf)][j(0xd4)](j(0xe9));const b=a[j(0xe0)]('\x20');if(b){if(this[j(0xe5)][j(0xed)][j(0xc2)](b))return this[j(0xdf)][j(0xd4)](j(0xf9)+b+'\x27\x20in\x20'+this['actor'][j(0xc1)]+j(0xd5)),this[j(0xd9)](b,this['actor'][j(0xed)]);else{if(this['actor']['currentLocation'][j(0xed)][j(0xc2)](b))return this[j(0xdf)]['write'](j(0xf9)+b+j(0xf5)),this[j(0xd9)](b,this[j(0xe5)]['currentLocation'][j(0xed)]);else return this[j(0xde)](b)?(this[j(0xdf)]['write'](j(0xda)+b+'\x27.'),this[j(0xf2)](b)):j(0xee)+b;}}else return this[j(0xdf)][j(0xd4)](this[j(0xe5)][j(0xc1)]+j(0xc8)),this[j(0xf7)]();}[a38i(0xf7)](){const k=a38i,a=this[k(0xe5)]['currentLocation'];if(!a)return this['logger'][k(0xbf)](this[k(0xe5)][k(0xc1)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),k(0xe1);let b=a['description'];return a[k(0xe4)]&&(b+='\x0a'+a[k(0xe4)][k(0xc5)]),b;}[a38i(0xf2)](a){const l=a38i,b=this[l(0xe5)][l(0xdb)];if(!b)return this[l(0xdf)][l(0xbf)](this['actor']['name']+l(0xd6)),l(0xe1);const c=b['exits'][l(0xdc)](a);if(!c)return l(0xc0)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0xfb)](b);else{if(typeof c===l(0xf1)){d=this[l(0xf8)]&&this[l(0xf8)][c];if(!d)return l(0xe2)+a+'\x22.';}else return l(0xc3)+a+'\x22.';}if(d[l(0xd2)]===RoomType[l(0xe3)]){if(a==='up')return l(0xd1)+d[l(0xc9)];else return a===l(0xea)?l(0xd7)+d['description']:l(0xe6)+a+l(0xd0)+d[l(0xc9)];}else return l(0xcd);}[a38i(0xd9)](a,b){const m=a38i,c=b[m(0xf6)](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+m(0xcc);return c['description']||m(0xcb)+a+'.';}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x15d))/0x1*(parseInt(f(0x15c))/0x2)+-parseInt(f(0x163))/0x3+parseInt(f(0x12e))/0x4+parseInt(f(0x13d))/0x5*(parseInt(f(0x138))/0x6)+-parseInt(f(0x12f))/0x7+-parseInt(f(0x144))/0x8+parseInt(f(0x134))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xacacd));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x153)]()[h(0x157)](h(0x15a))['toString']()[h(0x14e)](a38a)['search'](h(0x15a));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x12d;let f=c[d];return f;},a38d(a,b);}a38a();import{Door}from'../models/door.js';function a38c(){const n=['write','You\x20cannot\x20see\x20through','error','hasItem','\x20inventory.','603808pAlMbH','join','To\x20the\x20','exits','riddle','\x27\x20in\x20','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','description','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','\x20here.','constructor','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','actor','inspectItem','Below\x20you,\x20','toString','apply','verb','down','search','It\x27s\x20just\x20a\x20regular\x20','You\x27re\x20not\x20in\x20a\x20valid\x20room.','(((.+)+)+)+$','Examine\x20your\x20surroundings','14FWRyUH','41871rDKemv','getItem','look','lookOutside','Executing\x20\x27Look\x27\x20command.','inventory','3901974Sttbru','getOtherSide','3968672dApXeW','34468gmSsdc','currentLocation','Looking\x20at\x20item\x20\x27','OUTSIDE','You\x20cannot\x20see\x20','11129751scBOSJ','\x27\x20in\x20current\x20room\x20inventory.','puzzle','logger','12210nPgZyP','name','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','rooms','isValidDirection','375kgnywK','get'];a38c=function(){return n;};return a38c();}import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38i(0x155)]='look';static [a38i(0x14b)]=a38i(0x15b);['execute'](a=[]){const j=a38i;this[j(0x137)][j(0x13f)](j(0x161));const b=a[j(0x145)]('\x20');if(b){if(this[j(0x150)][j(0x162)][j(0x142)](b))return this[j(0x137)]['write'](j(0x131)+b+j(0x149)+this['actor']['name']+j(0x143)),this[j(0x151)](b,this[j(0x150)][j(0x162)]);else{if(this[j(0x150)][j(0x130)][j(0x162)]['hasItem'](b))return this[j(0x137)][j(0x13f)](j(0x131)+b+j(0x135)),this[j(0x151)](b,this[j(0x150)][j(0x130)][j(0x162)]);else return this[j(0x13c)](b)?(this[j(0x137)]['write'](j(0x14f)+b+'\x27.'),this[j(0x160)](b)):j(0x133)+b;}}else return this[j(0x137)][j(0x13f)](this[j(0x150)][j(0x139)]+'\x20is\x20looking\x20around\x20the\x20current\x20room.'),this[j(0x15f)]();}[a38i(0x15f)](){const k=a38i,a=this[k(0x150)][k(0x130)];if(!a)return this[k(0x137)][k(0x141)](this['actor'][k(0x139)]+k(0x14a)),k(0x159);let b=a[k(0x14b)];return a[k(0x136)]&&(b+='\x0a'+a[k(0x136)][k(0x148)]),b;}[a38i(0x160)](a){const l=a38i,b=this['actor']['currentLocation'];if(!b)return this[l(0x137)][l(0x141)](this[l(0x150)][l(0x139)]+l(0x14a)),l(0x159);const c=b[l(0x147)][l(0x13e)](a);if(!c)return l(0x14c)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x12d)](b);else{if(typeof c==='string'){d=this[l(0x13b)]&&this[l(0x13b)][c];if(!d)return'There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}else return l(0x13a)+a+'\x22.';}if(d['roomType']===RoomType[l(0x132)]){if(a==='up')return'Above\x20you,\x20'+d['description'];else return a===l(0x156)?l(0x152)+d[l(0x14b)]:l(0x146)+a+',\x20you\x20see\x20'+d['description'];}else return l(0x140);}[a38i(0x151)](a,b){const m=a38i,c=b[m(0x15e)](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+m(0x14d);return c[m(0x14b)]||m(0x158)+a+'.';}}
@@ -1 +1 @@
1
- function a39c(){const m=['1180934lpNcAI','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','267804XXBiLR','An\x20error\x20occurred.','context','say','557316EDYXOr','1795332fLbgiu','\x20says\x20to\x20','constructor','1579920PqxGdO',':\x20\x22','989750lNTYMV','currentLocation','filter','execute','(((.+)+)+)+$','actor','logger','log','length','139223ICObwr','description','apply','search','You\x20say:\x20\x22','scene','toString','552wzoVXH','name'];a39c=function(){return m;};return a39c();}const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x1aa))/0x1+-parseInt(g(0x1a8))/0x2+-parseInt(g(0x1af))/0x3+-parseInt(g(0x1b2))/0x4+parseInt(g(0x1b4))/0x5+parseInt(g(0x1ae))/0x6+-parseInt(g(0x19f))/0x7*(-parseInt(g(0x1a6))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x54bd2));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x1a1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x1a5)]()[i(0x1a2)](i(0x19a))[i(0x1a5)]()[i(0x1b1)](a39a)[i(0x1a2)](i(0x19a));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x197;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class SayCommand extends Command{static ['verb']=a39j(0x1ad);static [a39j(0x1a0)]=a39j(0x1a9);['context'];constructor(a){const k=a39j;super(a),this[k(0x1ac)]=a;}[a39j(0x199)](a){const l=a39j;if(a[l(0x19e)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a['join']('\x20'),c=this[l(0x19b)],d=this['context'][l(0x1a4)];if(!d)return this[l(0x19c)][l(0x19d)]('Scene\x20is\x20missing\x20from\x20context.'),l(0x1ab);const e=d['allActors'][l(0x198)](f=>f['currentLocation']===c[l(0x197)]);for(const f of e){this[l(0x19c)][l(0x19d)](c[l(0x1a7)]+l(0x1b0)+f[l(0x1a7)]+l(0x1b3)+b+'\x22'),this[l(0x19b)][l(0x197)]['say'](f,b);}return l(0x1a3)+b+'\x22';}}
1
+ const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0xb4))/0x1+-parseInt(g(0x9f))/0x2+parseInt(g(0xb3))/0x3+parseInt(g(0xab))/0x4+-parseInt(g(0xa5))/0x5+parseInt(g(0xaf))/0x6+-parseInt(g(0xa1))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xe8022));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0xb7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0xa0)]()[i(0xb9)](i(0xa7))[i(0xa0)]()[i(0xb2)](a39a)['search'](i(0xa7));});function a39c(){const m=['toString','4100390nEqCfq','context','An\x20error\x20occurred.','say','5295055bIITgJ','You\x20say:\x20\x22','(((.+)+)+)+$','\x20says\x20to\x20','log','currentLocation','488444WUCtrx','Scene\x20is\x20missing\x20from\x20context.','What\x20do\x20you\x20want\x20to\x20say?','logger','3968868tiKfbD','actor','filter','constructor','5498736KCkykk','1664702LSGRpS','name','allActors','apply','join','search','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','description',':\x20\x22','3372232itUkoH'];a39c=function(){return m;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x9d;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class SayCommand extends Command{static ['verb']=a39j(0xa4);static [a39j(0x9d)]=a39j(0xba);[a39j(0xa2)];constructor(a){const k=a39j;super(a),this[k(0xa2)]=a;}['execute'](a){const l=a39j;if(a['length']===0x0)return l(0xad);const b=a[l(0xb8)]('\x20'),c=this[l(0xb0)],d=this['context']['scene'];if(!d)return this[l(0xae)][l(0xa9)](l(0xac)),l(0xa3);const e=d[l(0xb6)][l(0xb1)](f=>f[l(0xaa)]===c['currentLocation']);for(const f of e){this[l(0xae)][l(0xa9)](c[l(0xb5)]+l(0xa8)+f[l(0xb5)]+l(0x9e)+b+'\x22'),this[l(0xb0)][l(0xaa)]['say'](f,b);}return l(0xa6)+b+'\x22';}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x87))/0x1*(parseInt(f(0x81))/0x2)+parseInt(f(0x7b))/0x3+parseInt(f(0x97))/0x4*(-parseInt(f(0x91))/0x5)+parseInt(f(0x7e))/0x6+-parseInt(f(0x8f))/0x7*(-parseInt(f(0x7d))/0x8)+-parseInt(f(0x8c))/0x9+parseInt(f(0x7f))/0xa*(-parseInt(f(0x86))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xc8c50));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x84)]()[h(0x95)]('(((.+)+)+)+$')[h(0x84)]()['constructor'](a40a)[h(0x95)](h(0x82));});a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x79;let f=c[d];return f;},a40d(a,b);}function a40c(){const k=['329bQwDQV','listItems','20ZoXZlh','join','SearchCommand:\x20','logger','search','currentLocation','1116676PRFAnN','\x20found\x20the\x20following\x20items:\x20','name','3072939ARwywP','description','258568frxYWG','7938942hlTeyA','10LxIanQ','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','1324DHeppD','(((.+)+)+)+$','You\x20search\x20the\x20area\x20and\x20find:\x20','toString','execute','14452097esonDj','1451dvlyWJ','inventory','write','actor','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','14168376ppqLPQ','length','apply'];a40c=function(){return k;};return a40c();}export class SearchCommand extends Command{static ['verb']=a40i(0x95);static [a40i(0x7c)]='Search\x20for\x20items\x20in\x20your\x20area';[a40i(0x85)](){const j=a40i,a=this[j(0x8a)][j(0x96)][j(0x88)][j(0x90)]();if(a[j(0x8d)]===0x0)return this[j(0x94)][j(0x89)](j(0x93)+this['actor'][j(0x7a)]+j(0x8b)),j(0x80);const b=a[j(0x92)](',\x20');return this[j(0x94)]['write'](j(0x93)+this[j(0x8a)][j(0x7a)]+j(0x79)+b),j(0x83)+b;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1ac))/0x1+-parseInt(f(0x1b3))/0x2+parseInt(f(0x1c7))/0x3*(parseInt(f(0x1c1))/0x4)+parseInt(f(0x1ae))/0x5*(parseInt(f(0x1c5))/0x6)+parseInt(f(0x1ad))/0x7*(parseInt(f(0x1c2))/0x8)+-parseInt(f(0x1be))/0x9+-parseInt(f(0x1af))/0xa*(parseInt(f(0x1b4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x4f279));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1b5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()['search'](h(0x1c0))[h(0x1b1)]()['constructor'](a40a)[h(0x1c3)](h(0x1c0));});a40a();function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1ac;let f=c[d];return f;},a40d(a,b);}import{Command}from'./command.js';function a40c(){const k=['listItems','write','length','actor','inventory','4176774tMvxbn','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','(((.+)+)+)+$','1530316hdTZjU','1384veqEDy','search','Search\x20for\x20items\x20in\x20your\x20area','6LCSSap','description','3BYBDVM','verb','362362PufMQH','9121PjSxFw','1368635txzqxM','710BjCcSX','execute','toString','join','611238TfQQMg','23265JENYEb','apply','logger','SearchCommand:\x20','name'];a40c=function(){return k;};return a40c();}export class SearchCommand extends Command{static [a40i(0x1c8)]=a40i(0x1c3);static [a40i(0x1c6)]=a40i(0x1c4);[a40i(0x1b0)](){const j=a40i,a=this[j(0x1bc)]['currentLocation'][j(0x1bd)][j(0x1b9)]();if(a[j(0x1bb)]===0x0)return this[j(0x1b6)][j(0x1ba)](j(0x1b7)+this[j(0x1bc)][j(0x1b8)]+j(0x1bf)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0x1b2)](',\x20');return this[j(0x1b6)][j(0x1ba)](j(0x1b7)+this[j(0x1bc)][j(0x1b8)]+'\x20found\x20the\x20following\x20items:\x20'+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
@@ -1 +1 @@
1
- const a41h=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x93))/0x1*(parseInt(f(0x94))/0x2)+parseInt(f(0x87))/0x3*(parseInt(f(0x95))/0x4)+-parseInt(f(0xa3))/0x5*(parseInt(f(0x9d))/0x6)+parseInt(f(0x89))/0x7+parseInt(f(0x97))/0x8*(-parseInt(f(0x98))/0x9)+parseInt(f(0x90))/0xa+-parseInt(f(0x8d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x5b8cb));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const g=a41d;return a41a[g(0x8e)]()['search'](g(0x9e))[g(0x8e)]()[g(0x99)](a41a)['search'](g(0x9e));});a41a();function a41c(){const j=['SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','1305010bNinsd','join','currentLocation','Attempt\x20to\x20solve\x20a\x20puzzle.','1822671rmfEzP','actor','5083351kumVEc','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','description','logger','7391131rRIWvj','toString','message','3781890UGgrYm','solve','success','299dGBBhQ','1718ivCafM','4BhHzGs','write','120VXBZDG','396522EbuwCg','constructor','inventory','SolveCommand:\x20','execute','6FaVkxc','(((.+)+)+)+$','verb','puzzle','rewardItem'];a41c=function(){return j;};return a41c();}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x85;let f=c[d];return f;},a41d(a,b);}import{Command}from'./command.js';export class SolveCommand extends Command{static [a41h(0x9f)]='solve';static [a41h(0x8b)]=a41h(0x86);[a41h(0x9c)](a){const i=a41h,b=a[i(0xa4)]('\x20')['toLowerCase'](),c=this['actor'][i(0x85)];if(!c||!c[i(0xa0)])return this[i(0x8c)][i(0x96)](i(0xa2)),i(0x8a);const d=c[i(0xa0)][i(0x91)](b,this[i(0x88)][i(0x9a)]);return d[i(0x92)]&&c[i(0xa0)][i(0xa1)]&&this[i(0x88)][i(0x9a)]['addItem'](c[i(0xa0)][i(0xa1)]),this['logger']['write'](i(0x9b)+d[i(0x8f)]),d[i(0x8f)];}}
1
+ function a41c(){const k=['12764943NNcpaS','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','302508QdnBaD','success','Attempt\x20to\x20solve\x20a\x20puzzle.','rewardItem','message','write','20oTQFqC','1652026diCHmt','3184448jPSCNc','29603iHfLUa','(((.+)+)+)+$','search','apply','inventory','219313aLHSPM','toString','solve','6480085TczpOf','4GGzrZP','puzzle','logger','actor','1212roMhNi','constructor','join','SolveCommand:\x20'];a41c=function(){return k;};return a41c();}const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x160))/0x1+parseInt(f(0x159))/0x2+parseInt(f(0x16e))/0x3*(-parseInt(f(0x164))/0x4)+parseInt(f(0x163))/0x5+parseInt(f(0x168))/0x6*(parseInt(f(0x15b))/0x7)+parseInt(f(0x15a))/0x8+parseInt(f(0x16c))/0x9*(-parseInt(f(0x158))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xa0327));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x15e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a['toString']()[h(0x15d)](h(0x15c))[h(0x161)]()[h(0x169)](a41a)['search'](h(0x15c));});a41a();import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x155;let f=c[d];return f;},a41d(a,b);}export class SolveCommand extends Command{static ['verb']=a41i(0x162);static ['description']=a41i(0x170);['execute'](a){const j=a41i,b=a[j(0x16a)]('\x20')['toLowerCase'](),c=this[j(0x167)]['currentLocation'];if(!c||!c[j(0x165)])return this[j(0x166)]['write'](j(0x16d)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[j(0x165)][j(0x162)](b,this[j(0x167)]['inventory']);return d[j(0x16f)]&&c[j(0x165)]['rewardItem']&&this['actor'][j(0x15f)]['addItem'](c['puzzle'][j(0x155)]),this[j(0x166)][j(0x157)](j(0x16b)+d[j(0x156)]),d['message'];}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x121))/0x1+-parseInt(f(0x12e))/0x2*(-parseInt(f(0x10b))/0x3)+parseInt(f(0x133))/0x4*(parseInt(f(0x120))/0x5)+-parseInt(f(0x10d))/0x6*(-parseInt(f(0x111))/0x7)+parseInt(f(0x129))/0x8*(parseInt(f(0x131))/0x9)+-parseInt(f(0x10f))/0xa*(-parseInt(f(0x10c))/0xb)+-parseInt(f(0x125))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x2a35d));function a42c(){const l=['1212959MjMCfG','990uBzTuz','logger','10myPqrm','verb','5411madqxO','getItem','execute','Pick\x20up\x20an\x20item.','write','toString','Item\x20\x22','The\x20item\x20\x22','There\x20is\x20no\x20item\x20\x22','removeItem','currentLocation','search','constructor','You\x20have\x20taken\x20the\x20','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','5uqwqog','24950GvyxXJ','description','toLowerCase','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','7126956lQBWca','addInventory','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','\x22\x20to\x20','75344LSRSGs','take','Successfully\x20removed\x20\x22','hasItem','\x22\x20in\x20this\x20room.','6822jYazmI','apply','(((.+)+)+)+$','72ikFtIi','Successfully\x20added\x20\x22','364036HjrLdM','inventory','\x22\x20from\x20','join','actor','name','\x22\x20is\x20too\x20heavy\x20to\x20carry.','297JYrhyl'];a42c=function(){return l;};return a42c();}function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x105;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x12f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x116)]()['search'](h(0x130))[h(0x116)]()[h(0x11d)](a42a)[h(0x11c)]('(((.+)+)+)+$');});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0x110)]=a42i(0x12a);static [a42i(0x122)]=a42i(0x114);[a42i(0x113)](a){const j=a42i;return this['logger']['write'](j(0x127)+a['join']('\x20')),this[j(0x12a)](a);}[a42i(0x12a)](a){const k=a42i,b=a[k(0x107)]('\x20')[k(0x123)](),c=this[k(0x108)][k(0x11b)];if(!c['inventory'][k(0x12c)](b))return this[k(0x10e)][k(0x115)](k(0x117)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x109)]+'\x20during\x20\x27Take\x27\x20command.'),k(0x119)+b+'\x22\x20in\x20this\x20room.';const d=c[k(0x105)][k(0x112)](b);if(!d)return this[k(0x10e)][k(0x115)]('Item\x20\x22'+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0x109)]+k(0x124)),k(0x119)+b+k(0x12d);try{return this[k(0x108)][k(0x126)](d),this['logger'][k(0x115)](k(0x132)+b+k(0x128)+this[k(0x108)][k(0x109)]+k(0x11f)),c['inventory'][k(0x11a)](b),this[k(0x10e)]['write'](k(0x12b)+b+k(0x106)+c[k(0x109)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x11e)+b+'.';}catch(e){return this[k(0x10e)][k(0x115)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e['message']),k(0x118)+b+k(0x10a);}}}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x10b))/0x1*(parseInt(f(0x10c))/0x2)+-parseInt(f(0x10a))/0x3+-parseInt(f(0x118))/0x4+parseInt(f(0x109))/0x5*(parseInt(f(0x11a))/0x6)+-parseInt(f(0x111))/0x7+parseInt(f(0x100))/0x8+parseInt(f(0x105))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xc50a9));function a42c(){const l=['(((.+)+)+)+$','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','apply','\x20during\x20\x27Take\x27\x20command.','execute','\x22\x20to\x20','actor','name','constructor','getItem','\x22\x20is\x20too\x20heavy\x20to\x20carry.','currentLocation','search','\x22\x20not\x20found\x20in\x20','Successfully\x20added\x20\x22','9892376OqvKwN','removeItem','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','inventory','\x22\x20not\x20retrieved\x20from\x20','26922969SOsrvZ','There\x20is\x20no\x20item\x20\x22','write','You\x20have\x20taken\x20the\x20','65hKDFcS','2952012JFkHQm','899749tnHzDo','2JGqxHo','hasItem','verb','addInventory','Successfully\x20removed\x20\x22','1662829pgetuA','toLowerCase','\x22\x20in\x20this\x20room.','take','toString','Error\x20during\x20\x27Take\x27\x20command:\x20','\x22\x20from\x20','5414696joozsB','Item\x20\x22','24954AqabKi','join','logger'];a42c=function(){return l;};return a42c();}function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x100;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0x129)]('(((.+)+)+)+$')[h(0x115)]()[h(0x125)](a42a)[h(0x129)](h(0x11d));});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0x10e)]=a42i(0x114);static ['description']='Pick\x20up\x20an\x20item.';[a42i(0x121)](a){const j=a42i;return this[j(0x11c)]['write']('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a['join']('\x20')),this[j(0x114)](a);}[a42i(0x114)](a){const k=a42i,b=a[k(0x11b)]('\x20')[k(0x112)](),c=this['actor'][k(0x128)];if(!c[k(0x103)][k(0x10d)](b))return this[k(0x11c)]['write']('Item\x20\x22'+b+k(0x12a)+c['name']+k(0x120)),k(0x106)+b+k(0x113);const d=c['inventory'][k(0x126)](b);if(!d)return this[k(0x11c)]['write'](k(0x119)+b+k(0x104)+c[k(0x124)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+k(0x113);try{return this[k(0x123)][k(0x10f)](d),this[k(0x11c)][k(0x107)](k(0x12b)+b+k(0x122)+this[k(0x123)][k(0x124)]+k(0x102)),c[k(0x103)][k(0x101)](b),this['logger'][k(0x107)](k(0x110)+b+k(0x117)+c[k(0x124)]+k(0x11e)),k(0x108)+b+'.';}catch(e){return this[k(0x11c)][k(0x107)](k(0x116)+e['message']),'The\x20item\x20\x22'+b+k(0x127);}}}
@@ -1 +1 @@
1
- function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xd3;let f=c[d];return f;},a43d(a,b);}const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0xd6))/0x1+-parseInt(f(0xe3))/0x2*(parseInt(f(0xe4))/0x3)+parseInt(f(0xe5))/0x4*(parseInt(f(0xda))/0x5)+parseInt(f(0xe6))/0x6+-parseInt(f(0xec))/0x7*(parseInt(f(0xd3))/0x8)+-parseInt(f(0xe0))/0x9+parseInt(f(0xdd))/0xa*(-parseInt(f(0xde))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xe3c3d));function a43c(){const j=['1460ChLmXl','27841ufdxrv','constructor','2726370pMLWEK','search','join','2uFTiFN','5505417nsXKtT','4ddnTcG','11171064lnuBxD','(((.+)+)+)+$','toLowerCase','verb','execute','unqeuip','7IEAbil','description','5314952hCwLtY','UnequipCommand:\x20','\x20unqeuiped\x20','849139NcXOPv','write','Unequip\x20an\x20item.','toString','6969530WmRYwt','name','actor'];a43c=function(){return j;};return a43c();}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const g=a43d;return a43a[g(0xd9)]()[g(0xe1)]('(((.+)+)+)+$')[g(0xd9)]()[g(0xdf)](a43a)[g(0xe1)](g(0xe7));});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43h(0xe9)]=a43h(0xeb);static [a43h(0xed)]=a43h(0xd8);[a43h(0xea)](a){const i=a43h,b=a[i(0xe2)]('\x20')[i(0xe8)](),c=this[i(0xdc)]['unequip'](b);return this['logger'][i(0xd7)](i(0xd4)+this[i(0xdc)][i(0xdb)]+i(0xd5)+c),c;}}
1
+ function a43c(){const k=['420741BGiBYv','description','UnequipCommand:\x20','verb','actor','44970GosdsC','unqeuip','549XpvRdC','Unequip\x20an\x20item.','356205xMQWbf','4891792VPaier','join','toString','logger','711268yHgAxJ','(((.+)+)+)+$','24CarRUt','execute','search','680564jzBjhD','apply','365710fZSgpS','7ECDKvs','constructor','unequip','write'];a43c=function(){return k;};return a43c();}const a43i=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x85;let f=c[d];return f;},a43d(a,b);}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x9d))/0x1+parseInt(f(0x88))/0x2+-parseInt(f(0x94))/0x3+-parseInt(f(0x8d))/0x4+parseInt(f(0x8f))/0x5*(parseInt(f(0x8a))/0x6)+-parseInt(f(0x90))/0x7*(parseInt(f(0x9e))/0x8)+parseInt(f(0x9b))/0x9*(parseInt(f(0x99))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x571fe));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x86)]()[h(0x8c)](h(0x89))[h(0x86)]()[h(0x91)](a43a)['search'](h(0x89));});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x97)]=a43i(0x9a);static [a43i(0x95)]=a43i(0x9c);[a43i(0x8b)](a){const j=a43i,b=a[j(0x85)]('\x20')['toLowerCase'](),c=this[j(0x98)][j(0x92)](b);return this[j(0x87)][j(0x93)](j(0x96)+this[j(0x98)]['name']+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x110))/0x1*(-parseInt(h(0x112))/0x2)+-parseInt(h(0x105))/0x3*(parseInt(h(0xf9))/0x4)+parseInt(h(0xfe))/0x5+-parseInt(h(0xf0))/0x6+-parseInt(h(0xf3))/0x7*(-parseInt(h(0x115))/0x8)+parseInt(h(0x102))/0x9*(parseInt(h(0x10b))/0xa)+-parseInt(h(0x108))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xcc7eb));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x114)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a['toString']()[j(0x116)](j(0x10d))[j(0xf1)]()[j(0x100)](a44a)[j(0x116)](j(0x10d));});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xee;let f=c[d];return f;},a44d(a,b);}function a44c(){const n=['get','5488272CJkNaN','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','toLowerCase','641511XZxXkf','getItem','\x22\x20here.','13910743TDxQhR','\x20is\x20attempted\x20to\x20unlock\x20','UnlockCommand:\x20No\x20target\x20specified.','20nIalHd','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','(((.+)+)+)+$','.\x20Result:\x20','UnlockCommand:\x20','1SMKUwW','attemptUnlockExit','670532piphgL','name','apply','8478584eFxTGB','search','inventory','unlock','3962520UEFvkj','toString','write','7kRYqDG','has','isValidDirection','currentLocation','exits','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','8NCcLGI','logger','error','There\x27s\x20no\x20door\x20named\x20\x22','Unlock\x20a\x20door.','6230725LiBWln','actor','constructor'];a44c=function(){return n;};return a44c();}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']=a44k(0xef);static ['description']=a44k(0xfd);['execute'](a){const l=a44k;return this[l(0xef)](a);}[a44k(0xef)](a){const m=a44k;if(a['length']===0x0)return this['logger'][m(0xfb)](m(0x10a)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][m(0x104)](),c=this[m(0xff)][m(0xf6)];if(this[m(0xf5)](b)&&c[m(0xf7)][m(0xf4)](b)){const d=c[m(0xf7)][m(0x101)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[m(0x104)]();if(e&&this[m(0xff)][m(0xee)]['hasItem'](e)){const f=this[m(0xff)][m(0xee)][m(0x106)](e);if(f){const g=c[m(0x111)](b,f['name']);return this['logger'][m(0xf2)](m(0x10f)+this[m(0xff)][m(0x113)]+m(0x109)+b+m(0x10e)+g),g;}}return this[m(0xfa)][m(0xf2)](m(0x10f)+this[m(0xff)][m(0x113)]+m(0x10c)+b+'.'),m(0x103);}else return this['logger'][m(0xf2)](m(0x10f)+b+m(0xf8)+c[m(0x113)]+'.'),m(0xfc)+b+m(0x107);}else return this[m(0xfa)]['write'](m(0x10f)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x113)]+'.'),m(0xfc)+b+'\x22\x20here.';}}
1
+ function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x12e;let f=c[d];return f;},a44d(a,b);}const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x14d))/0x1*(parseInt(h(0x152))/0x2)+-parseInt(h(0x13c))/0x3+parseInt(h(0x147))/0x4*(-parseInt(h(0x154))/0x5)+-parseInt(h(0x14b))/0x6*(-parseInt(h(0x138))/0x7)+-parseInt(h(0x12e))/0x8*(parseInt(h(0x13d))/0x9)+-parseInt(h(0x139))/0xa*(-parseInt(h(0x155))/0xb)+parseInt(h(0x13f))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x664b9));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x14e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x12f)]()['search'](j(0x148))[j(0x12f)]()[j(0x143)](a44a)[j(0x157)]('(((.+)+)+)+$');});a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']='unlock';static [a44k(0x150)]='Unlock\x20a\x20door.';[a44k(0x158)](a){const l=a44k;return this[l(0x146)](a);}[a44k(0x146)](a){const m=a44k;if(a[m(0x14c)]===0x0)return this['logger'][m(0x130)](m(0x153)),m(0x140);const b=a[0x0]['toLowerCase'](),c=this[m(0x142)][m(0x135)];if(this[m(0x149)](b)&&c[m(0x14a)][m(0x133)](b)){const d=c[m(0x14a)][m(0x134)](b);if(d instanceof Door){const e=d[m(0x156)]?.[m(0x14f)]();if(e&&this[m(0x142)]['inventory']['hasItem'](e)){const f=this[m(0x142)][m(0x13a)][m(0x145)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0x151)]);return this[m(0x141)][m(0x132)](m(0x144)+this[m(0x142)][m(0x151)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+'.\x20Result:\x20'+g),g;}}return this[m(0x141)][m(0x132)]('UnlockCommand:\x20'+this['actor'][m(0x151)]+m(0x136)+b+'.'),m(0x13e);}else return this[m(0x141)][m(0x132)](m(0x144)+b+m(0x13b)+c[m(0x151)]+'.'),m(0x131)+b+m(0x137);}else return this[m(0x141)][m(0x132)](m(0x144)+b+m(0x13b)+c[m(0x151)]+'.'),m(0x131)+b+m(0x137);}}function a44c(){const n=['728xAGuGW','apply','toLowerCase','description','name','644cgOcbZ','UnlockCommand:\x20No\x20target\x20specified.','10iDzuyS','203423aqftfZ','unlockItemOrSolution','search','execute','1416392MhsMrA','toString','error','There\x27s\x20no\x20door\x20named\x20\x22','write','has','get','currentLocation','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','\x22\x20here.','2058427JUGRhu','120tBBNap','inventory','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','2509341zJMhxU','27WxxgRD','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','13756752xBKLAt','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','logger','actor','constructor','UnlockCommand:\x20','getItem','unlock','220388Bcryqu','(((.+)+)+)+$','isValidDirection','exits','6LtjFZV','length'];a44c=function(){return n;};return a44c();}
@@ -1 +1 @@
1
- const a45h=a45d;function a45c(){const k=['\x20to\x20use.','join','inventory','25627YsfOuL','hasItem','2007550HrUien','Use\x20an\x20item.','2209395oSyZle','1640TYsoTj','function','actor','\x20used\x20','(((.+)+)+)+$','6MhgLuA','2203128sotcMU','2yfxiVC','description','45XKEEfF','24HAunhd','constructor','name','verb','\x20in\x20this\x20way.','1390892hgIDYu','toLowerCase','You\x20don\x27t\x20have\x20the\x20','logger','UseCommand:\x20','4898586JykEnx','7863295uEIFsG','You\x20can\x27t\x20use\x20the\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','getItem','toString','search','execute','\x20attempted\x20to\x20use\x20','write','use'];a45c=function(){return k;};return a45c();}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x153))/0x1*(-parseInt(f(0x15b))/0x2)+parseInt(f(0x160))/0x3+-parseInt(f(0x152))/0x4+-parseInt(f(0x172))/0x5*(parseInt(f(0x151))/0x6)+parseInt(f(0x16e))/0x7*(-parseInt(f(0x173))/0x8)+-parseInt(f(0x155))/0x9*(-parseInt(f(0x170))/0xa)+-parseInt(f(0x161))/0xb*(parseInt(f(0x156))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xd0a91));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const g=a45d;return a45a[g(0x165)]()[g(0x166)](g(0x177))[g(0x165)]()[g(0x157)](a45a)[g(0x166)](g(0x177));});function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x151;let f=c[d];return f;},a45d(a,b);}a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45h(0x159)]=a45h(0x16a);static [a45h(0x154)]=a45h(0x171);[a45h(0x167)](a){const i=a45h;return this[i(0x16a)](a);}[a45h(0x16a)](a){const j=a45h,b=a[j(0x16c)]('\x20')[j(0x15c)]();if(!this[j(0x175)][j(0x16d)][j(0x16f)](b))return this[j(0x15e)][j(0x169)](j(0x15f)+this['actor'][j(0x158)]+j(0x168)+b+j(0x163)),j(0x15d)+b+j(0x16b);const c=this[j(0x175)]['inventory'][j(0x164)](b);if(!c)return this['logger'][j(0x169)](j(0x15f)+b+'\x20not\x20retrieved\x20from\x20'+this[j(0x175)][j(0x158)]+'\x27s\x20inventory.'),j(0x15d)+b+j(0x16b);if(typeof c[j(0x16a)]===j(0x174)){const d=c[j(0x16a)]();return this[j(0x15e)][j(0x169)](j(0x15f)+this[j(0x175)][j(0x158)]+j(0x176)+b+'.'),d;}else return this[j(0x15e)][j(0x169)]('UseCommand:\x20'+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),j(0x162)+b+j(0x15a);}}
1
+ const a45i=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a45d(a,b);}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x1f5))/0x1*(parseInt(f(0x201))/0x2)+parseInt(f(0x20a))/0x3+parseInt(f(0x204))/0x4*(-parseInt(f(0x202))/0x5)+-parseInt(f(0x20f))/0x6*(-parseInt(f(0x20c))/0x7)+-parseInt(f(0x208))/0x8+parseInt(f(0x214))/0x9+-parseInt(f(0x216))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x74e44));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x218)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x1fd)]()[h(0x1f8)](h(0x212))[h(0x1fd)]()[h(0x1fe)](a45a)[h(0x1f8)]('(((.+)+)+)+$');});a45a();function a45c(){const k=['34RYeXGY','\x27s\x20inventory.','execute','search','join','\x20not\x20retrieved\x20from\x20','use','\x20attempted\x20to\x20use\x20','toString','constructor','logger','\x20used\x20','43716QMPvIG','1222145aSAelW','\x20to\x20use.','4edarKe','UseCommand:\x20','function','toLowerCase','5250576kXrySo','Use\x20an\x20item.','288423cnuGDn','You\x20don\x27t\x20have\x20the\x20','863394XrXrhA',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','name','6EdWqAf','write','getItem','(((.+)+)+)+$','You\x20can\x27t\x20use\x20the\x20','6703470LRdawU','description','3279460hQOvoD','\x20doesn\x27t\x20have\x20a\x20use\x20method.','apply','actor','inventory'];a45c=function(){return k;};return a45c();}import{Command}from'./command.js';export class UseCommand extends Command{static ['verb']=a45i(0x1fb);static [a45i(0x215)]=a45i(0x209);[a45i(0x1f7)](a){return this['use'](a);}['use'](a){const j=a45i,b=a[j(0x1f9)]('\x20')[j(0x207)]();if(!this[j(0x219)][j(0x1f4)]['hasItem'](b))return this[j(0x1ff)]['write'](j(0x205)+this[j(0x219)][j(0x20e)]+j(0x1fc)+b+j(0x20d)),j(0x20b)+b+j(0x203);const c=this['actor'][j(0x1f4)][j(0x211)](b);if(!c)return this['logger'][j(0x210)]('UseCommand:\x20'+b+j(0x1fa)+this[j(0x219)][j(0x20e)]+j(0x1f6)),j(0x20b)+b+'\x20to\x20use.';if(typeof c[j(0x1fb)]===j(0x206)){const d=c[j(0x1fb)]();return this[j(0x1ff)][j(0x210)](j(0x205)+this[j(0x219)]['name']+j(0x200)+b+'.'),d;}else return this[j(0x1ff)][j(0x210)](j(0x205)+b+j(0x217)),j(0x213)+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x18b))/0x1*(parseInt(f(0x189))/0x2)+-parseInt(f(0x183))/0x3*(-parseInt(f(0x17d))/0x4)+parseInt(f(0x185))/0x5+parseInt(f(0x180))/0x6+-parseInt(f(0x186))/0x7+parseInt(f(0x18d))/0x8*(parseInt(f(0x18c))/0x9)+-parseInt(f(0x187))/0xa*(parseInt(f(0x18e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xede93));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x18a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x188)]()['search']('(((.+)+)+)+$')[h(0x188)]()[h(0x181)](a46a)[h(0x184)](h(0x17f));});function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x17c;let f=c[d];return f;},a46d(a,b);}a46a();function a46c(){const l=['toString','35586NTlYEL','apply','43kbxnyi','299745bCFoBn','296irQQDh','221243XpfLzu','createCommand','72BzxYwA','registerCommand','(((.+)+)+)+$','8657088mSnjAu','constructor','commandMap','219753rdIuPB','search','286405iqdXLa','422128hhMRyV','1880iTwYeu'];a46c=function(){return l;};return a46c();}export class CommandFactory{static ['commandMap']={};static[a46i(0x17e)](a,b){this['commandMap'][a]=b;}static[a46i(0x17c)](a,b){const j=a46i,c=this[j(0x182)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const k=a46i;return this[k(0x182)];}}
1
+ const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x195))/0x1+-parseInt(f(0x197))/0x2+parseInt(f(0x194))/0x3+-parseInt(f(0x19f))/0x4+parseInt(f(0x193))/0x5*(parseInt(f(0x1a0))/0x6)+parseInt(f(0x199))/0x7+parseInt(f(0x19c))/0x8*(parseInt(f(0x192))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x57032));function a46c(){const m=['search','toString','50648zBdZcC','(((.+)+)+)+$','registerCommand','43876Hgkzij','78HIhSWp','createCommand','216CvDswx','131735YDItQH','787794RiKViw','369626rDylwt','apply','76538geEDLw','commandMap','127491ClRcrE'];a46c=function(){return m;};return a46c();}const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a['toString']()[h(0x19a)]('(((.+)+)+)+$')[h(0x19b)]()['constructor'](a46a)[h(0x19a)](h(0x19d));});function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x191;let f=c[d];return f;},a46d(a,b);}a46a();export class CommandFactory{static [a46i(0x198)]={};static[a46i(0x19e)](a,b){const j=a46i;this[j(0x198)][a]=b;}static[a46i(0x191)](a,b){const k=a46i,c=this[k(0x198)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const l=a46i;return this[l(0x198)];}}
@@ -1 +1 @@
1
- const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x1c8))/0x1+parseInt(f(0x1d3))/0x2+-parseInt(f(0x1c3))/0x3*(parseInt(f(0x1c2))/0x4)+parseInt(f(0x1c1))/0x5*(parseInt(f(0x1d2))/0x6)+-parseInt(f(0x1b5))/0x7+-parseInt(f(0x1c6))/0x8+parseInt(f(0x1bf))/0x9*(parseInt(f(0x1c0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x96170));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1be)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x1ce)]()[h(0x1b3)]('(((.+)+)+)+$')['toString']()[h(0x1d5)](a47a)[h(0x1b3)](h(0x1d4));});function a47c(){const o=['isStartRoom','key','roomType','apply','9JtoNHq','20860090YJwxWB','5EAsvpo','4TbOSBA','409002eOcAVS','items','createRoom','9356600yuFZYX','createPuzzle','207234QaCgLi','INSIDE','book','toUpperCase','rifle','inventory','toString','type','description','gloves','4886850DrZYak','394114jFXwDQ','(((.+)+)+)+$','constructor','createItem','puzzle','helmet','convertToRoomConfig','search','boots','6787410ecUnoJ','forEach','rewardItem','legarmor','name','content'];a47c=function(){return o;};return a47c();}a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a47d(a,b);}export class RoomFactory{[a47i(0x1c5)](a){const j=a47i,b=this[j(0x1b2)](a),c=new Room(b);if(a[j(0x1c4)]){const d=new Inventory();a[j(0x1c4)][j(0x1b6)](e=>{const k=j;d['addItem'](this[k(0x1d6)](e));}),c[j(0x1cd)]=d;}return a[j(0x1d7)]&&c['setPuzzle'](this[j(0x1c7)](a['puzzle'])),c;}[a47i(0x1d6)](a){const l=a47i;switch(a[l(0x1cf)]){case l(0x1bc):return new Key(a['name'],a[l(0x1d0)]);case l(0x1ca):return new Book(a[l(0x1b9)],a[l(0x1d0)],a[l(0x1ba)]);case'sword':return new Sword(a[l(0x1b9)],a['description']);case l(0x1cc):return new Rifle(a[l(0x1b9)],a[l(0x1d0)]);case l(0x1d8):return new Helmet(a[l(0x1b9)],a[l(0x1d0)]);case'bodyarmor':return new BodyArmor(a['name'],a[l(0x1d0)]);case l(0x1b8):return new LegArmor(a['name'],a['description']);case l(0x1b4):return new Boots(a[l(0x1b9)],a[l(0x1d0)]);case l(0x1d1):return new Gloves(a[l(0x1b9)],a[l(0x1d0)]);case'gauntlets':return new Gauntlets(a[l(0x1b9)],a['description']);default:return new BasicItem(a[l(0x1b9)],a[l(0x1d0)]);}}[a47i(0x1c7)](a){const m=a47i,b=this[m(0x1d6)](a[m(0x1b7)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0x1b2)](a){const n=a47i,b=a['roomType']&&RoomType[a[n(0x1bd)][n(0x1cb)]()]?RoomType[a[n(0x1bd)][n(0x1cb)]()]:RoomType[n(0x1c9)];return{'name':a[n(0x1b9)],'description':a[n(0x1d0)],'isStartRoom':a[n(0x1bb)],'roomType':b};}}
1
+ const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x119))/0x1*(-parseInt(f(0x132))/0x2)+-parseInt(f(0x11b))/0x3*(parseInt(f(0x122))/0x4)+-parseInt(f(0x113))/0x5+-parseInt(f(0x12d))/0x6*(-parseInt(f(0x11d))/0x7)+-parseInt(f(0x115))/0x8+parseInt(f(0x126))/0x9*(-parseInt(f(0x12a))/0xa)+parseInt(f(0x11e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xde1a3));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x12c)]()[h(0x123)](h(0x10f))['toString']()[h(0x11f)](a47a)[h(0x123)](h(0x10f));});function a47c(){const o=['bodyarmor','sword','book','7941360yZSJhQ','key','13093720LHgtbe','createRoom','description','addItem','138VIzGAn','items','12339QMwZhV','forEach','2110661sibBzJ','49178459wCiFQI','constructor','convertToRoomConfig','toUpperCase','1208BIZZCs','search','puzzle','helmet','873999rymVyQ','content','boots','rifle','130JrXZep','legarmor','toString','12FKBVxQ','gauntlets','name','isStartRoom','apply','22688OoLnpM','gloves','roomType','createPuzzle','createItem','(((.+)+)+)+$'];a47c=function(){return o;};return a47c();}function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x10c;let f=c[d];return f;},a47d(a,b);}a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0x116)](a){const j=a47i,b=this[j(0x120)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[j(0x11a)][j(0x11c)](e=>{const k=j;d[k(0x118)](this[k(0x10e)](e));}),c['inventory']=d;}return a[j(0x124)]&&c['setPuzzle'](this[j(0x10d)](a[j(0x124)])),c;}[a47i(0x10e)](a){const l=a47i;switch(a['type']){case l(0x114):return new Key(a['name'],a[l(0x117)]);case l(0x112):return new Book(a['name'],a[l(0x117)],a[l(0x127)]);case l(0x111):return new Sword(a['name'],a['description']);case l(0x129):return new Rifle(a['name'],a['description']);case l(0x125):return new Helmet(a['name'],a[l(0x117)]);case l(0x110):return new BodyArmor(a[l(0x12f)],a[l(0x117)]);case l(0x12b):return new LegArmor(a[l(0x12f)],a['description']);case l(0x128):return new Boots(a[l(0x12f)],a[l(0x117)]);case l(0x133):return new Gloves(a[l(0x12f)],a[l(0x117)]);case l(0x12e):return new Gauntlets(a['name'],a['description']);default:return new BasicItem(a[l(0x12f)],a['description']);}}[a47i(0x10d)](a){const m=a47i,b=this[m(0x10e)](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a47i,b=a[n(0x10c)]&&RoomType[a['roomType'][n(0x121)]()]?RoomType[a[n(0x10c)][n(0x121)]()]:RoomType['INSIDE'];return{'name':a[n(0x12f)],'description':a[n(0x117)],'isStartRoom':a[n(0x130)],'roomType':b};}}
@@ -1 +1 @@
1
- const a48k=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x141;let f=c[d];return f;},a48d(a,b);}(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0x15e))/0x1*(-parseInt(h(0x148))/0x2)+parseInt(h(0x16a))/0x3+-parseInt(h(0x162))/0x4+parseInt(h(0x165))/0x5+-parseInt(h(0x147))/0x6*(-parseInt(h(0x14a))/0x7)+parseInt(h(0x168))/0x8+parseInt(h(0x153))/0x9*(-parseInt(h(0x156))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xd07ea));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x16f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a['toString']()['search'](j(0x16e))['toString']()[j(0x16b)](a48a)[j(0x14c)]('(((.+)+)+)+$');});a48a();import{Scene}from'./models/scene.js';function a48c(){const s=['clear','getDescription','getInstance','1jKooSv','use','take','help','5270608FHjNXS','determineStartRoom','slice','7055420mAZOQz','look','hasOwnProperty','9823056ffDoDW','execute','1599780FnSGym','constructor','initialize','handleInput','(((.+)+)+)+$','apply','createCommand','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','Welcome,\x20','getHelpMessage','getWelcomeMessage','toLowerCase','6wysCQl','2895998JgXfAz','scene','5913299eknyaC','instance','search','solve','currentRoom','getAllRegisteredCommands','registerCommand','unlock','player','72GRpTxI','registerCommands','drop','4116670wCpQft','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','getRooms','lock','-\x20quit:\x20Exit\x20the\x20game.\x0a'];a48c=function(){return s;};return a48c();}import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0x14b)];[a48k(0x149)];[a48k(0x152)];[a48k(0x14e)];['rooms'];constructor(a,b){const l=a48k;this['player']=a,this[l(0x149)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0x16c)](),this[l(0x152)]['currentLocation']=this['determineStartRoom'](),this[l(0x154)]();}[a48k(0x154)](){const m=a48k;CommandFactory[m(0x150)](m(0x166),LookCommand),CommandFactory[m(0x150)]('go',GoCommand),CommandFactory[m(0x150)](m(0x160),TakeCommand),CommandFactory[m(0x150)](m(0x15f),UseCommand),CommandFactory[m(0x150)]('equip',EquipCommand),CommandFactory[m(0x150)]('unequip',UnequipCommand),CommandFactory[m(0x150)](m(0x14d),SolveCommand),CommandFactory[m(0x150)](m(0x155),DropCommand),CommandFactory[m(0x150)](m(0x151),UnlockCommand),CommandFactory[m(0x150)](m(0x159),LockCommand),CommandFactory[m(0x150)](m(0x14c),SearchCommand),CommandFactory['registerCommand']('say',SayCommand);}[a48k(0x163)](){const n=a48k;return this[n(0x149)][n(0x163)]();}[a48k(0x145)](){const o=a48k;return o(0x143)+this[o(0x152)]['name'];}static[a48k(0x15d)](a,b){const p=a48k;return!Game[p(0x14b)]&&(Game['instance']=new Game(a,b)),Game[p(0x14b)];}[a48k(0x16d)](a){const q=a48k,b=a['trim']()['split']('\x20'),c=b[0x0][q(0x146)](),d=b[q(0x164)](0x1);if(c==='quit')return null;if(c==='maka')return q(0x142);if(c===q(0x161))return this[q(0x144)]();if(c===q(0x15b))return'';const e={'actor':this[q(0x152)],'rooms':this[q(0x149)][q(0x158)](),'scene':this[q(0x149)]},f=CommandFactory[q(0x141)](c,e);if(f){const g=f[q(0x169)](d);return g;}return q(0x157)+c+'\x22.';}[a48k(0x144)](){const r=a48k,a=CommandFactory[r(0x14f)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0x167)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x15c)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+=r(0x15a),b;}}
1
+ const a48j=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x13d))/0x1*(-parseInt(h(0x124))/0x2)+-parseInt(h(0x13b))/0x3*(-parseInt(h(0x12b))/0x4)+parseInt(h(0x121))/0x5*(parseInt(h(0x119))/0x6)+-parseInt(h(0x10d))/0x7*(parseInt(h(0x123))/0x8)+-parseInt(h(0x11f))/0x9*(parseInt(h(0x136))/0xa)+parseInt(h(0x113))/0xb*(parseInt(h(0x114))/0xc)+-parseInt(h(0x117))/0xd*(parseInt(h(0x126))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x39551));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(0x141)]()[i(0x13c)](i(0x125))[i(0x141)]()['constructor'](a48a)['search'](i(0x125));});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x10d;let f=c[d];return f;},a48d(a,b);}import{TakeCommand}from'./commands/take.js';function a48c(){const r=['quit','531keYPfm','rooms','5oCqgMb','-\x20clear:\x20Clear\x20the\x20screen.\x0a','1120iRAFCe','306DxFEdf','(((.+)+)+)+$','645456xLBGDQ','player','initialize','hasOwnProperty','-\x20quit:\x20Exit\x20the\x20game.\x0a','4GeBTIy','help','getDescription','name','Welcome,\x20','Available\x20Commands:\x0a','execute','maka','registerCommands','currentLocation','getHelpMessage','13990RWoIgW','trim','use','lock','instance','326403KgAhLs','search','82fjQdiB','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','scene','say','toString','getAllRegisteredCommands','registerCommand','clear','22239fhFALv','getWelcomeMessage','getInstance','split','look','determineStartRoom','3922930VlprDp','12bazkde','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','currentRoom','39lfORtw','slice','2685486hHsDxA','getRooms','take','drop','unequip'];a48c=function(){return r;};return a48c();}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 [a48j(0x13a)];[a48j(0x13f)];[a48j(0x127)];[a48j(0x116)];[a48j(0x120)];constructor(a,b){const k=a48j;this[k(0x127)]=a,this[k(0x13f)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x13f)][k(0x128)](),this[k(0x127)][k(0x134)]=this[k(0x112)](),this[k(0x133)]();}['registerCommands'](){const l=a48j;CommandFactory['registerCommand'](l(0x111),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[l(0x143)](l(0x11b),TakeCommand),CommandFactory[l(0x143)](l(0x138),UseCommand),CommandFactory[l(0x143)]('equip',EquipCommand),CommandFactory[l(0x143)](l(0x11d),UnequipCommand),CommandFactory[l(0x143)]('solve',SolveCommand),CommandFactory[l(0x143)](l(0x11c),DropCommand),CommandFactory[l(0x143)]('unlock',UnlockCommand),CommandFactory[l(0x143)](l(0x139),LockCommand),CommandFactory[l(0x143)](l(0x13c),SearchCommand),CommandFactory[l(0x143)](l(0x140),SayCommand);}[a48j(0x112)](){const m=a48j;return this[m(0x13f)][m(0x112)]();}[a48j(0x10e)](){const n=a48j;return n(0x12f)+this[n(0x127)][n(0x12e)];}static[a48j(0x10f)](a,b){const o=a48j;return!Game[o(0x13a)]&&(Game[o(0x13a)]=new Game(a,b)),Game[o(0x13a)];}['handleInput'](a){const p=a48j,b=a[p(0x137)]()[p(0x110)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[p(0x118)](0x1);if(c===p(0x11e))return null;if(c===p(0x132))return p(0x115);if(c===p(0x12c))return this[p(0x135)]();if(c===p(0x144))return'';const e={'actor':this[p(0x127)],'rooms':this[p(0x13f)][p(0x11a)](),'scene':this[p(0x13f)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[p(0x131)](d);return g;}return p(0x13e)+c+'\x22.';}[a48j(0x135)](){const q=a48j,a=CommandFactory[q(0x142)]();let b=q(0x130);for(const c in a){if(a[q(0x129)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x12d)]()+'\x0a';}}return b+=q(0x122),b+=q(0x12a),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x106))/0x1*(parseInt(f(0x10a))/0x2)+-parseInt(f(0x113))/0x3*(-parseInt(f(0x107))/0x4)+parseInt(f(0x10e))/0x5+-parseInt(f(0x10c))/0x6*(parseInt(f(0x10b))/0x7)+-parseInt(f(0x112))/0x8+parseInt(f(0x110))/0x9*(parseInt(f(0x10f))/0xa)+parseInt(f(0x10d))/0xb*(parseInt(f(0x111))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xc5ed9));function a49c(){var h=['450mFrWwu','324bXzDNF','11218256xJcgTt','627twHrLi','toString','411LjESdG','5792CRvQJd','(((.+)+)+)+$','search','4964TQHqPU','427oirVRC','97932BbdOkW','918599ZblDEW','5195070YnJXmh','126470twLXfF'];a49c=function(){return h;};return a49c();}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0x105)]()[g(0x109)](g(0x108))[g(0x105)]()['constructor'](a49a)[g(0x109)]('(((.+)+)+)+$');});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x105;var f=c[d];return f;},a49d(a,b);}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(0x71))/0x1*(parseInt(f(0x72))/0x2)+parseInt(f(0x6d))/0x3+parseInt(f(0x73))/0x4*(-parseInt(f(0x6a))/0x5)+-parseInt(f(0x6f))/0x6+parseInt(f(0x69))/0x7*(-parseInt(f(0x74))/0x8)+-parseInt(f(0x6c))/0x9*(parseInt(f(0x68))/0xa)+-parseInt(f(0x70))/0xb*(-parseInt(f(0x6b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xefd2a));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0x6e)]()[g(0x67)](g(0x75))[g(0x6e)]()['constructor'](a49a)[g(0x67)](g(0x75));});function a49c(){var h=['3243735lKktdc','1895388mXppZT','toString','3682200onijnE','126269vSELex','1iRyNmg','1342366ZOsTTo','32kBYBkJ','2331944IsrnvN','(((.+)+)+)+$','search','50MNkbWs','7rSzfSP','818945NvIayM','5268pdUDMA'];a49c=function(){return h;};return a49c();}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x67;var f=c[d];return f;},a49d(a,b);}a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0xa5))/0x1+parseInt(f(0xa0))/0x2*(parseInt(f(0x9f))/0x3)+parseInt(f(0xb2))/0x4*(parseInt(f(0xa2))/0x5)+parseInt(f(0xaa))/0x6+-parseInt(f(0xae))/0x7+-parseInt(f(0xa6))/0x8*(parseInt(f(0xb0))/0x9)+-parseInt(f(0xa9))/0xa*(-parseInt(f(0xbf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x2bc9b));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0xa3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0xc0)]()[h(0xbe)](h(0xa4))[h(0xc0)]()[h(0xb5)](a50a)[h(0xbe)](h(0xa4));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a50c(){var o=['.\x20Used:\x20','Door\x20created\x20between\x20','search','66561XyjxRg','toString','.\x20Is\x20Locked:\x20','3HbWhZT','206474SWFfIS','To\x20','685GDLsdo','apply','(((.+)+)+)+$','7144fYXqPd','24HXZxHq','roomB','write','230JKrtjG','706476CychYH','\x20and\x20','getInstance','Door\x20unlocked:\x20','1589441CmtBTJ','logger','471609jdlnGL','roomA','5732LqBfEJ','Failed\x20to\x20unlock\x20door:\x20','checkIfLockable','constructor','isLockable','attemptUnlock','isLocked','name','getOtherSide','unlockItemOrSolution'];a50c=function(){return o;};return a50c();}import{AbstractDoor}from'../types/abstracts.js';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x9e;var f=c[d];return f;},a50d(a,b);}export class Door extends AbstractDoor{[a50i(0xb1)];[a50i(0xa7)];['isLocked'];['unlockItemOrSolution'];['name'];[a50i(0xaf)];[a50i(0xb6)];constructor(a){var j=a50i;super(),this[j(0xb1)]=a['roomA'],this[j(0xa7)]=a['roomB'],this['isLocked']=a['isLocked']||![],this[j(0xbb)]=a[j(0xbb)],this[j(0xb9)]=a['name']?capitalCase(a[j(0xb9)]):j(0xa1)+a['roomB'][j(0xb9)],this[j(0xaf)]=Logger[j(0xac)](),this[j(0xb6)]=!!a[j(0xbb)],this['logger']['write'](j(0xbd)+this['roomA']['name']+j(0xab)+this[j(0xa7)]['name']+j(0x9e)+this['isLocked']);}[a50i(0xba)](a){var k=a50i;return this[k(0xb1)]===a?this[k(0xa7)]:this['roomA'];}[a50i(0xb7)](a){var l=a50i;if(this['isLocked']&&this['unlockItemOrSolution']&&this[l(0xbb)]===a)return this[l(0xb8)]=![],this[l(0xaf)]['write'](l(0xad)+this[l(0xb9)]+'.\x20Used:\x20'+a),!![];return this[l(0xaf)][l(0xa8)](l(0xb3)+this['name']+l(0xbc)+a),![];}['checkIfLocked'](){var m=a50i;return this[m(0xb8)];}[a50i(0xb4)](){var n=a50i;return this[n(0xb6)];}}
1
+ var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0x17a))/0x1*(-parseInt(f(0x164))/0x2)+parseInt(f(0x168))/0x3+parseInt(f(0x171))/0x4+-parseInt(f(0x16e))/0x5*(parseInt(f(0x15e))/0x6)+parseInt(f(0x16a))/0x7+-parseInt(f(0x178))/0x8*(-parseInt(f(0x162))/0x9)+-parseInt(f(0x169))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x90bda));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a['toString']()[h(0x17d)](h(0x177))[h(0x175)]()[h(0x15f)](a50a)[h(0x17d)](h(0x177));});a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x15d;var f=c[d];return f;},a50d(a,b);}export class Door extends AbstractDoor{[a50i(0x16f)];[a50i(0x17b)];[a50i(0x163)];['unlockItemOrSolution'];[a50i(0x173)];[a50i(0x166)];[a50i(0x174)];constructor(a){var j=a50i;super(),this[j(0x16f)]=a[j(0x16f)],this['roomB']=a['roomB'],this[j(0x163)]=a[j(0x163)]||![],this['unlockItemOrSolution']=a['unlockItemOrSolution'],this[j(0x173)]=a[j(0x173)]?capitalCase(a['name']):j(0x16b)+a[j(0x17b)][j(0x173)],this[j(0x166)]=Logger[j(0x161)](),this[j(0x174)]=!!a[j(0x170)],this[j(0x166)][j(0x17c)]('Door\x20created\x20between\x20'+this['roomA'][j(0x173)]+j(0x172)+this['roomB'][j(0x173)]+j(0x160)+this['isLocked']);}[a50i(0x176)](a){var k=a50i;return this[k(0x16f)]===a?this[k(0x17b)]:this[k(0x16f)];}['attemptUnlock'](a){var l=a50i;if(this[l(0x163)]&&this[l(0x170)]&&this['unlockItemOrSolution']===a)return this[l(0x163)]=![],this[l(0x166)][l(0x17c)](l(0x167)+this['name']+l(0x179)+a),!![];return this[l(0x166)][l(0x17c)](l(0x15d)+this[l(0x173)]+l(0x179)+a),![];}[a50i(0x165)](){var m=a50i;return this[m(0x163)];}[a50i(0x16c)](){var n=a50i;return this[n(0x174)];}}function a50c(){var o=['logger','Door\x20unlocked:\x20','3077121AXbMEv','7491630oTZHKZ','257341rppXjF','To\x20','checkIfLockable','apply','5bCzsGC','roomA','unlockItemOrSolution','3844364VMBEQI','\x20and\x20','name','isLockable','toString','getOtherSide','(((.+)+)+)+$','64heViJZ','.\x20Used:\x20','1115482ssNywY','roomB','write','search','Failed\x20to\x20unlock\x20door:\x20','2653692umtNuj','constructor','.\x20Is\x20Locked:\x20','getInstance','985752foZyew','isLocked','2XRJzHD','checkIfLocked'];a50c=function(){return o;};return a50c();}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0xb2))/0x1*(-parseInt(f(0xa3))/0x2)+parseInt(f(0xb1))/0x3+parseInt(f(0x9c))/0x4+parseInt(f(0xae))/0x5*(parseInt(f(0xb0))/0x6)+-parseInt(f(0xb5))/0x7*(-parseInt(f(0x9f))/0x8)+parseInt(f(0xb7))/0x9+-parseInt(f(0xb8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x36210));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x97)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xbe)]()[h(0xb3)](h(0xbb))[h(0xbe)]()[h(0xaf)](a51a)['search'](h(0xbb));});function a51c(){const r=['14330MKrjDs','constructor','570qrljTq','1024941gGgCkp','6474cqtjUt','search','removeItem','7zaeCqI','write','3444669GsNvrk','10189200ANYCai','getItem','map','(((.+)+)+)+$','items','Removed\x20item:\x20','toString','apply','logger','Added\x20item:\x20','weight','\x20in\x20','1675540PSAROQ','Listed\x20items\x20in\x20inventory:\x20','getInstance','413432khcKXz','get','name','toLowerCase','70poggrc','.\x20Exists:\x20','join','keys','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','\x20to\x20inventory.','.\x20Item\x20not\x20found.','values','has','Failed\x20to\x20remove\x20item:\x20','Checked\x20for\x20item:\x20'];a51c=function(){return r;};return a51c();}a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x97;let f=c[d];return f;},a51d(a,b);}export class Inventory extends AbstractInventory{['items'];[a51i(0x98)];constructor(){const j=a51i;super(),this[j(0xbc)]=new Map(),this[j(0x98)]=Logger[j(0x9e)]();}['addItem'](a){const k=a51i;this[k(0xbc)]['set'](a[k(0xa1)][k(0xa2)](),a),this[k(0x98)][k(0xb6)](k(0x99)+a['name']+k(0xa8));}[a51i(0xb4)](a){const l=a51i,b=this[l(0xb9)](a);if(b)return this[l(0xbc)]['delete'](a['toLowerCase']()),this[l(0x98)][l(0xb6)](l(0xbd)+a+'\x20from\x20inventory.'),b;return this['logger']['write'](l(0xac)+a+l(0xa9)),null;}['hasItem'](a){const m=a51i,b=this['items'][m(0xab)](a[m(0xa2)]()),c=[...this[m(0xbc)]['keys']()];return this[m(0x98)][m(0xb6)](m(0xad)+a+m(0x9b)+c[m(0xa5)](',\x20')+m(0xa4)+b+'.'),b;}['getItem'](a){const n=a51i,b=this['items'][n(0xa0)](a['toLowerCase']())||null;return b?this['logger']['write']('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0x98)]['write'](n(0xa7)+a+n(0xa9)),b;}['listItems'](){const o=a51i,a=[...this[o(0xbc)][o(0xa6)]()],b=a[o(0xba)](c=>capitalCase(c));return this[o(0x98)][o(0xb6)](o(0x9d)+b[o(0xa5)](',\x20')+'.'),a;}['getWeight'](){const p=a51i;let a=0x0;for(const b of this[p(0xbc)][p(0xaa)]()){a+=b[p(0x9a)];}return a;}['getAllItems'](){const q=a51i;return[...this['items'][q(0xaa)]()];}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0xdd))/0x1+-parseInt(f(0xd0))/0x2+-parseInt(f(0xbe))/0x3+-parseInt(f(0xd7))/0x4*(-parseInt(f(0xba))/0x5)+-parseInt(f(0xb9))/0x6+-parseInt(f(0xc0))/0x7+parseInt(f(0xd4))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xa7059));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xb5;let f=c[d];return f;},a51d(a,b);}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xd1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xda)]()[h(0xbf)](h(0xd2))[h(0xda)]()[h(0xcd)](a51a)[h(0xbf)](h(0xd2));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a51c(){const r=['search','4940838BoFXNG','items','set','\x20to\x20inventory.','Checked\x20for\x20item:\x20','join','name','write','weight','map','values','logger','Added\x20item:\x20','constructor','get','Retrieved\x20details\x20for\x20item:\x20','2228946gYDMUo','apply','(((.+)+)+)+$','toLowerCase','38633872DCtAFi','removeItem','keys','100KBmKKe','delete','hasItem','toString','getAllItems','getItem','1313698FWXqdW','addItem','getInstance','has','.\x20Exists:\x20','\x20in\x20','3978366HcTYyU','186125VSLFsi','.\x20Item\x20not\x20found.','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','Failed\x20to\x20remove\x20item:\x20','3836016KOYDWB'];a51c=function(){return r;};return a51c();}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];[a51i(0xcb)];constructor(){const j=a51i;super(),this[j(0xc1)]=new Map(),this['logger']=Logger[j(0xb5)]();}[a51i(0xde)](a){const k=a51i;this[k(0xc1)][k(0xc2)](a[k(0xc6)][k(0xd3)](),a),this[k(0xcb)]['write'](k(0xcc)+a[k(0xc6)]+k(0xc3));}[a51i(0xd5)](a){const l=a51i,b=this['getItem'](a);if(b)return this[l(0xc1)][l(0xd8)](a[l(0xd3)]()),this[l(0xcb)][l(0xc7)]('Removed\x20item:\x20'+a+'\x20from\x20inventory.'),b;return this[l(0xcb)]['write'](l(0xbd)+a+l(0xbb)),null;}[a51i(0xd9)](a){const m=a51i,b=this[m(0xc1)][m(0xb6)](a[m(0xd3)]()),c=[...this['items']['keys']()];return this['logger']['write'](m(0xc4)+a+m(0xb8)+c[m(0xc5)](',\x20')+m(0xb7)+b+'.'),b;}[a51i(0xdc)](a){const n=a51i,b=this['items'][n(0xce)](a[n(0xd3)]())||null;return b?this[n(0xcb)][n(0xc7)](n(0xcf)+a+'.'):this['logger'][n(0xc7)](n(0xbc)+a+n(0xbb)),b;}['listItems'](){const o=a51i,a=[...this[o(0xc1)][o(0xd6)]()],b=a[o(0xc9)](c=>capitalCase(c));return this[o(0xcb)]['write']('Listed\x20items\x20in\x20inventory:\x20'+b[o(0xc5)](',\x20')+'.'),a;}['getWeight'](){const p=a51i;let a=0x0;for(const b of this[p(0xc1)][p(0xca)]()){a+=b[p(0xc8)];}return a;}[a51i(0xdb)](){const q=a51i;return[...this[q(0xc1)][q(0xca)]()];}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1dd))/0x1+parseInt(f(0x1d9))/0x2*(-parseInt(f(0x1d7))/0x3)+parseInt(f(0x1d0))/0x4+parseInt(f(0x1d6))/0x5+-parseInt(f(0x1c9))/0x6+-parseInt(f(0x1cd))/0x7*(-parseInt(f(0x1c7))/0x8)+parseInt(f(0x1d3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xaa2f5));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1ce)]()[h(0x1cc)](h(0x1cf))[h(0x1ce)]()[h(0x1d8)](a52a)[h(0x1cc)](h(0x1cf));});a52a();import{v4 as a52e}from'uuid';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1c6;var f=c[d];return f;},a52d(a,b);}function a52c(){var l=['description','size','apply','8rIXBEt','uuid','4774224FzxNCF','use','weight','search','3522358amnvdd','toString','(((.+)+)+)+$','3539472ognjrE','name','rating','12825891UEqpoG','category','shape','5443650peUgtT','3RWJzZY','constructor','2770132QqnPJC','color','texture','.\x20Nothing\x20special\x20happens.','1024044fjtigL','You\x20use\x20the\x20'];a52c=function(){return l;};return a52c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a52i(0x1c8)];[a52i(0x1d1)];[a52i(0x1df)];[a52i(0x1e0)];[a52i(0x1d4)];[a52i(0x1d5)];[a52i(0x1da)];['texture'];[a52i(0x1d2)];[a52i(0x1cb)];constructor(a){var j=a52i;super(),this['name']=a[j(0x1d1)],this[j(0x1df)]=a['description'],this[j(0x1e0)]=a[j(0x1e0)],this[j(0x1d4)]=a[j(0x1d4)],this['shape']=a[j(0x1d5)],this[j(0x1da)]=a['color'],this['texture']=a[j(0x1db)],this[j(0x1d2)]=a[j(0x1d2)],this[j(0x1cb)]=a['weight'],this[j(0x1c8)]=a52e();}[a52i(0x1ca)](){var k=a52i;return k(0x1de)+this[k(0x1d1)]+k(0x1dc);}}
1
+ var a52h=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x9a))/0x1*(parseInt(f(0x90))/0x2)+parseInt(f(0x96))/0x3*(parseInt(f(0x8c))/0x4)+-parseInt(f(0x8f))/0x5*(-parseInt(f(0x8a))/0x6)+parseInt(f(0x98))/0x7+-parseInt(f(0x93))/0x8*(-parseInt(f(0x87))/0x9)+-parseInt(f(0x85))/0xa*(-parseInt(f(0x94))/0xb)+parseInt(f(0x88))/0xc*(-parseInt(f(0x9d))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x2a2b9));function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x82;var f=c[d];return f;},a52d(a,b);}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['toString']()[g(0x8d)](g(0x8b))['toString']()[g(0x92)](a52a)[g(0x8d)](g(0x8b));});a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a52c(){var k=['16xwvLAg','517nYcMXN','category','4386rvgVhn','shape','1419901jObkRv','uuid','200134iWjeCi','rating','use','6427291vWsCkz','size','You\x20use\x20the\x20','description','17330LXeQIS','texture','452421HoksVC','12sTKGtD','name','66xQmAKX','(((.+)+)+)+$','44mLWYLM','search','weight','30040yDSZGG','2Zlekwb','color','constructor'];a52c=function(){return k;};return a52c();}export class Item extends AbstractItem{[a52h(0x99)];[a52h(0x89)];[a52h(0x84)];['size'];['category'];['shape'];[a52h(0x91)];[a52h(0x86)];['rating'];[a52h(0x8e)];constructor(a){var i=a52h;super(),this[i(0x89)]=a['name'],this[i(0x84)]=a['description'],this[i(0x82)]=a[i(0x82)],this[i(0x95)]=a[i(0x95)],this[i(0x97)]=a[i(0x97)],this[i(0x91)]=a[i(0x91)],this[i(0x86)]=a[i(0x86)],this[i(0x9b)]=a[i(0x9b)],this[i(0x8e)]=a['weight'],this[i(0x99)]=a52e();}[a52h(0x9c)](){var j=a52h;return j(0x83)+this[j(0x89)]+'.\x20Nothing\x20special\x20happens.';}}
@@ -1 +1 @@
1
- function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a53d(a,b);}const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x208))/0x1*(parseInt(f(0x1f6))/0x2)+-parseInt(f(0x203))/0x3*(parseInt(f(0x1fb))/0x4)+parseInt(f(0x1fd))/0x5*(parseInt(f(0x206))/0x6)+parseInt(f(0x209))/0x7*(-parseInt(f(0x1f0))/0x8)+-parseInt(f(0x1fc))/0x9*(parseInt(f(0x1f2))/0xa)+-parseInt(f(0x20b))/0xb+parseInt(f(0x205))/0xc*(parseInt(f(0x204))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xe5809));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x207)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x1f1)]()[h(0x1fe)](h(0x201))[h(0x1f1)]()['constructor'](a53a)[h(0x1fe)](h(0x201));});a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a53c(){const o=['random','floor','2899822wJCsfk','rooms','moveTo','scene','name','27204LYPWhX','8838gNbEfj','5KppGHm','search','_name','execute','(((.+)+)+)+$','length','252nwhpcB','55508531LlBksn','12PkSrUX','845430jJOzOx','apply','1HofBdw','1177288CQfVPJ','autonomousMove','4607328ejHMCp','48xolJof','toString','220mCXbzp','_dialogue'];a53c=function(){return o;};return a53c();}export class NPC extends Player{[a53i(0x1ff)];[a53i(0x1f3)];[a53i(0x1f7)];[a53i(0x1f9)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x1ff)]=a,this[j(0x1f3)]=b,this[j(0x1f7)]=c;}get[a53i(0x1fa)](){const k=a53i;return this[k(0x1ff)];}['speak'](){const l=a53i;return this['_dialogue'][Math[l(0x1f5)](Math[l(0x1f4)]()*this[l(0x1f3)][l(0x202)])];}[a53i(0x20a)](a){const m=a53i,b=a[Math['floor'](Math[m(0x1f4)]()*a[m(0x202)])];this[m(0x1f8)](b[m(0x1fa)]);}[a53i(0x1f8)](a){const n=a53i,b={'actor':this,'rooms':this[n(0x1f7)],'scene':this['scene']},c=new GoCommand(b);c[n(0x200)]([a]);}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x1e2))/0x1*(parseInt(f(0x1d2))/0x2)+parseInt(f(0x1d6))/0x3+-parseInt(f(0x1d5))/0x4+parseInt(f(0x1de))/0x5*(-parseInt(f(0x1e3))/0x6)+parseInt(f(0x1dc))/0x7+-parseInt(f(0x1e5))/0x8+parseInt(f(0x1e0))/0x9*(parseInt(f(0x1df))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x1c322));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x1e6)]()[h(0x1e7)](h(0x1d8))[h(0x1e6)]()['constructor'](a53a)['search'](h(0x1d8));});function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a53d(a,b);}a53a();import{Player}from'./player.js';function a53c(){const o=['speak','floor','_dialogue','1203027HrBfgn','execute','5pjQCZO','35170jHvoez','369dxpMcc','_name','13hZQvOO','447042OVgEpv','moveTo','1719096SQgOdr','toString','search','scene','name','apply','7754xDCcwr','autonomousMove','rooms','632096iVVVnZ','589347MZXScc','random','(((.+)+)+)+$'];a53c=function(){return o;};return a53c();}import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a53i(0x1db)];['rooms'];[a53i(0x1e8)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x1e1)]=a,this['_dialogue']=b,this[j(0x1d4)]=c;}get[a53i(0x1d0)](){const k=a53i;return this[k(0x1e1)];}[a53i(0x1d9)](){const l=a53i;return this[l(0x1db)][Math[l(0x1da)](Math['random']()*this[l(0x1db)]['length'])];}[a53i(0x1d3)](a){const m=a53i,b=a[Math['floor'](Math[m(0x1d7)]()*a['length'])];this[m(0x1e4)](b[m(0x1d0)]);}[a53i(0x1e4)](a){const n=a53i,b={'actor':this,'rooms':this[n(0x1d4)],'scene':this[n(0x1e8)]},c=new GoCommand(b);c[n(0x1dd)]([a]);}}
@@ -1 +1 @@
1
- const a54h=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x1bc))/0x1*(parseInt(f(0x1aa))/0x2)+-parseInt(f(0x1be))/0x3*(parseInt(f(0x1d0))/0x4)+parseInt(f(0x195))/0x5+parseInt(f(0x1c6))/0x6+-parseInt(f(0x19b))/0x7*(parseInt(f(0x1c1))/0x8)+parseInt(f(0x194))/0x9*(-parseInt(f(0x1d8))/0xa)+parseInt(f(0x1a7))/0xb*(-parseInt(f(0x1cf))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x8ce54));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(0x191)]()[g(0x192)](g(0x1b5))[g(0x191)]()[g(0x1ac)](a54a)[g(0x192)]('(((.+)+)+)+$');});function a54c(){const z=['removeItem','boots','LegArmor','canEquip','(((.+)+)+)+$','write','torso','Boots','maxCarryingWeight','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','currentLocation','1GlXxro','Helmet','9aBNKUz','arm\x20armor','shield','1079216TdzUVi','speak','.\x20You\x20must\x20unequip\x20it\x20first.','You\x20unequipped\x20','startLocation','4781796mGZXQT','Hat','includes','logger','weapon','Shield','You\x20can\x27t\x20equip\x20','\x20is\x20now\x20listening\x20in\x20room\x20','removeInventory','53160nmjbAh','707612KPSPRu','\x20from\x20player\x27s\x20inventory.','bodyarmor','category','inventoryItems','You\x20don\x27t\x20have\x20','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','Added\x20','10HGYzgt','equipment','addItem','hat','hasItem','hear','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','playerName','Gloves','Removed\x20','ArmArmor','head','values','body\x20armor','_currentLocation','legs','weight','Nexus','_inventory','gloves','A\x20featureless\x20room','_maxCarryingWeight','rightHand','helmet','\x20is\x20no\x20longer\x20listeng\x20in\x20','unequipBySlot','name','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','toString','search','toLowerCase','3975921HueFBT','818690fQiqCJ','initialEquipment','bind','_equipment','You\x20equipped\x20','\x20to\x20player\x27s\x20inventory.','7zFJCQX','\x20says:\x20\x22','getInstance','_playerName','equip','error','arms','enterRoom','unequip','armarmor','leftHand','off','209WpeVgq','feet','Failed\x20to\x20remove\x20','1615908hMeaER','Weapon','constructor','\x20slot.','inventory','determineEquipmentSlot','addInventory'];a54c=function(){return z;};return a54c();}a54a();import{camelCase}from'change-case';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x177;let f=c[d];return f;},a54d(a,b);}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54h(0x19e)];['_currentLocation'];[a54h(0x187)];[a54h(0x198)];[a54h(0x18a)]=0x32;[a54h(0x1c9)];constructor(a){const i=a54h;super(),this[i(0x19e)]=a[i(0x17c)],this['_currentLocation']=a[i(0x1c5)]||new Room({'name':i(0x186),'description':i(0x189)}),this[i(0x187)]=new Inventory(),this[i(0x1c9)]=Logger[i(0x19d)]();if(a?.[i(0x1d4)])for(const b of a[i(0x1d4)]){this[i(0x187)][i(0x1da)](b);}this['_equipment']=a?.[i(0x196)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const j=a54h;return this[j(0x19e)];}get['currentLocation'](){return this['_currentLocation'];}set[a54h(0x1bb)](a){const k=a54h;this[k(0x183)]!==a&&(this['leaveRoom'](),this[k(0x1a2)](a)),this['_currentLocation']=a;}get[a54h(0x1ae)](){const l=a54h;return this[l(0x187)];}get[a54h(0x1d9)](){const m=a54h;return this[m(0x198)];}set[a54h(0x1d9)](a){this['_equipment']=a;}get['maxCarryingWeight'](){return this['_maxCarryingWeight'];}set[a54h(0x1b9)](a){const n=a54h;a>0x0?this[n(0x18a)]=a:console[n(0x1a0)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const o=a54h;let a=this[o(0x187)]['getWeight']();for(const b in this[o(0x198)]){const c=this[o(0x198)][b];c&&(a+=c[o(0x185)]);}return a;}['addInventory'](a){const p=a54h;if(this['currentWeight']+a[p(0x185)]>this[p(0x1b9)]){this[p(0x1c9)]['write'](p(0x1d6));throw new Error(p(0x190));}this[p(0x187)][p(0x1da)](a),this[p(0x1c9)][p(0x1b6)](p(0x1d7)+a[p(0x18f)]+p(0x19a));}[a54h(0x1ce)](a){const q=a54h;if(this[q(0x187)][q(0x1b1)](a[q(0x18f)]))return this[q(0x1c9)][q(0x1b6)](q(0x17e)+a[q(0x18f)]+q(0x1d1)),!![];return this['logger'][q(0x1b6)](q(0x1a9)+a[q(0x18f)]+q(0x1d1)),![];}[a54h(0x19f)](a){const r=a54h;if(!this[r(0x187)][r(0x178)](a[r(0x18f)]))return r(0x1d5)+a['name']+'\x20in\x20your\x20inventory.';if(!this[r(0x1b4)](a))return r(0x1cc)+a[r(0x18f)]+'.';const b=this[r(0x1af)](a[r(0x1d3)]);if(!b)return a['name']+r(0x1ba);if(this[r(0x1d9)][b])return r(0x17b)+b+r(0x1c3);return this['equipment'][b]=a,this['removeInventory'](a),r(0x199)+a[r(0x18f)]+'.';}[a54h(0x1a3)](a){const s=a54h;let b=a;if(!this[s(0x1d9)][camelCase(b)]){b=this[s(0x1af)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this['unequipBySlot'](b);}['determineEquipmentSlot'](a){const t=a54h;switch(a[t(0x193)]()){case Category[t(0x1ab)][t(0x193)]():return t(0x18b);case Category[t(0x1cb)][t(0x193)]():return'leftHand';case Category[t(0x17d)][t(0x193)]():return t(0x188);case Category[t(0x1bd)][t(0x193)]():case Category[t(0x1c7)]['toLowerCase']():return t(0x180);case Category[t(0x1b8)][t(0x193)]():return t(0x1a8);case Category[t(0x1b3)][t(0x193)]():return t(0x184);case Category[t(0x17f)][t(0x193)]():return'arms';case Category['BodyArmor']['toLowerCase']():return t(0x1b7);case t(0x1ca):return t(0x18b);case t(0x1c0):return t(0x1a5);case'gloves':return t(0x188);case t(0x18c):case t(0x177):return t(0x180);case t(0x1b2):return'feet';case'leg\x20armor':case'legarmor':return t(0x184);case t(0x1bf):case t(0x1a4):return t(0x1a1);case t(0x182):case t(0x1d2):case t(0x1b7):return t(0x1b7);default:return null;}}[a54h(0x1b4)](a){const u=a54h;return Object[u(0x181)](Category)[u(0x1c8)](a[u(0x1d3)]);}[a54h(0x18e)](a){const v=a54h,b=this[v(0x1d9)][a];if(!b)return v(0x17a)+a+v(0x1ad);return this[v(0x1b0)](b),this[v(0x1d9)][a]=null,v(0x1c4)+b[v(0x18f)]+'.';}[a54h(0x179)](a,b){const w=a54h;a!==this&&this[w(0x1c9)]['log'](a['name']+w(0x19c)+b+'\x22');}[a54h(0x1a2)](a){const x=a54h;this[x(0x183)]=a,a['on']('speak',this['hear']['bind'](this)),this[x(0x1c9)][x(0x1b6)](this[x(0x18f)]+x(0x1cd)+a[x(0x18f)]);}['leaveRoom'](){const y=a54h;this[y(0x183)]&&(this[y(0x183)][y(0x1a6)](y(0x1c2),this[y(0x179)][y(0x197)](this)),this[y(0x1c9)][y(0x1b6)](this[y(0x18f)]+y(0x18d)+this[y(0x183)][y(0x18f)]));}}
1
+ const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0x1a5))/0x1*(-parseInt(f(0x1b1))/0x2)+-parseInt(f(0x1da))/0x3*(-parseInt(f(0x1ed))/0x4)+-parseInt(f(0x1be))/0x5+parseInt(f(0x1b3))/0x6*(-parseInt(f(0x1e1))/0x7)+parseInt(f(0x1cf))/0x8*(-parseInt(f(0x192))/0x9)+parseInt(f(0x1c9))/0xa*(parseInt(f(0x1d3))/0xb)+parseInt(f(0x195))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xce6ae));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a['toString']()[h(0x1a9)](h(0x1a4))[h(0x1e0)]()[h(0x1ca)](a54a)[h(0x1a9)](h(0x1a4));});a54a();import{camelCase}from'change-case';function a54c(){const B=['LegArmor','Failed\x20to\x20remove\x20','2667020qGJVow','head','_currentLocation','10026XZQoJX','leftHand','Max\x20carrying\x20weight\x20must\x20be\x20positive.','34978212dJbKvX','addItem','inventoryItems','\x20to\x20player\x27s\x20inventory.','apply','Nexus','_equipment','armarmor','equipment','bodyarmor','legs','logger','helmet','currentWeight','initialEquipment','(((.+)+)+)+$','865PfAUYv','category','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','bind','search','_playerName','enterRoom','gloves','write','getWeight','You\x20unequipped\x20','off','436xVWsJp','hear','30leelsp','log','feet','weapon','\x20in\x20your\x20inventory.','You\x20don\x27t\x20have\x20','removeInventory','You\x20equipped\x20','speak','\x20says:\x20\x22','error','808890KoOmai','name','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','\x20is\x20no\x20longer\x20listeng\x20in\x20','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','canEquip','\x20from\x20player\x27s\x20inventory.','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','boots','Helmet','70WJwUpa','constructor','torso','arms','\x20is\x20now\x20listening\x20in\x20room\x20','arm\x20armor','8456WwvxeT','_inventory','rightHand','addInventory','25883vMkKjX','weight','Added\x20','_maxCarryingWeight','toLowerCase','maxCarryingWeight','leg\x20armor','3daQppd','leaveRoom','inventory','\x20slot.','equip','.\x20You\x20must\x20unequip\x20it\x20first.','toString','2242639WdwsId','values','determineEquipmentSlot','includes','shield','unequipBySlot','currentLocation','Boots','removeItem','A\x20featureless\x20room'];a54c=function(){return B;};return a54c();}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x190;let f=c[d];return f;},a54d(a,b);}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0x1aa)];[a54i(0x191)];[a54i(0x1d0)];[a54i(0x19b)];[a54i(0x1d6)]=0x32;[a54i(0x1a0)];constructor(a){const j=a54i;super(),this['_playerName']=a['playerName'],this['_currentLocation']=a['startLocation']||new Room({'name':j(0x19a),'description':j(0x1ea)}),this[j(0x1d0)]=new Inventory(),this[j(0x1a0)]=Logger['getInstance']();if(a?.[j(0x197)])for(const b of a[j(0x197)]){this['_inventory']['addItem'](b);}this[j(0x19b)]=a?.[j(0x1a3)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a54i;return this[k(0x1aa)];}get[a54i(0x1e7)](){const l=a54i;return this[l(0x191)];}set[a54i(0x1e7)](a){const m=a54i;this[m(0x191)]!==a&&(this[m(0x1db)](),this[m(0x1ab)](a)),this['_currentLocation']=a;}get[a54i(0x1dc)](){const n=a54i;return this[n(0x1d0)];}get['equipment'](){const o=a54i;return this[o(0x19b)];}set[a54i(0x19d)](a){this['_equipment']=a;}get[a54i(0x1d8)](){return this['_maxCarryingWeight'];}set[a54i(0x1d8)](a){const p=a54i;a>0x0?this[p(0x1d6)]=a:console[p(0x1bd)](p(0x194));}get[a54i(0x1a2)](){const q=a54i;let a=this[q(0x1d0)][q(0x1ae)]();for(const b in this[q(0x19b)]){const c=this[q(0x19b)][b];c&&(a+=c[q(0x1d4)]);}return a;}[a54i(0x1d2)](a){const r=a54i;if(this[r(0x1a2)]+a[r(0x1d4)]>this[r(0x1d8)]){this[r(0x1a0)]['write'](r(0x1a7));throw new Error(r(0x1c3));}this[r(0x1d0)][r(0x196)](a),this[r(0x1a0)][r(0x1ad)](r(0x1d5)+a[r(0x1bf)]+r(0x198));}[a54i(0x1b9)](a){const s=a54i;if(this[s(0x1d0)][s(0x1e9)](a[s(0x1bf)]))return this[s(0x1a0)][s(0x1ad)]('Removed\x20'+a['name']+s(0x1c5)),!![];return this[s(0x1a0)][s(0x1ad)](s(0x1ec)+a['name']+s(0x1c5)),![];}[a54i(0x1de)](a){const t=a54i;if(!this[t(0x1d0)]['hasItem'](a[t(0x1bf)]))return t(0x1b8)+a[t(0x1bf)]+t(0x1b7);if(!this[t(0x1c4)](a))return'You\x20can\x27t\x20equip\x20'+a[t(0x1bf)]+'.';const b=this[t(0x1e3)](a['category']);if(!b)return a[t(0x1bf)]+t(0x1c1);if(this[t(0x19d)][b])return t(0x1c0)+b+t(0x1df);return this[t(0x19d)][b]=a,this[t(0x1b9)](a),t(0x1ba)+a[t(0x1bf)]+'.';}['unequip'](a){const u=a54i;let b=a;if(!this[u(0x19d)][camelCase(b)]){b=this[u(0x1e3)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[u(0x1e6)](b);}['determineEquipmentSlot'](a){const v=a54i;switch(a[v(0x1d7)]()){case Category['Weapon'][v(0x1d7)]():return v(0x1d1);case Category['Shield'][v(0x1d7)]():return v(0x193);case Category['Gloves']['toLowerCase']():return v(0x1ac);case Category[v(0x1c8)]['toLowerCase']():case Category['Hat'][v(0x1d7)]():return v(0x190);case Category[v(0x1e8)]['toLowerCase']():return v(0x1b5);case Category[v(0x1eb)][v(0x1d7)]():return v(0x19f);case Category['ArmArmor'][v(0x1d7)]():return v(0x1cc);case Category['BodyArmor'][v(0x1d7)]():return'torso';case v(0x1b6):return v(0x1d1);case v(0x1e5):return v(0x193);case v(0x1ac):return v(0x1ac);case v(0x1a1):case'hat':return v(0x190);case v(0x1c7):return'feet';case v(0x1d9):case'legarmor':return v(0x19f);case v(0x1ce):case v(0x19c):return'arms';case'body\x20armor':case v(0x19e):case v(0x1cb):return'torso';default:return null;}}[a54i(0x1c4)](a){const w=a54i;return Object[w(0x1e2)](Category)[w(0x1e4)](a[w(0x1a6)]);}['unequipBySlot'](a){const x=a54i,b=this[x(0x19d)][a];if(!b)return x(0x1c6)+a+x(0x1dd);return this['addInventory'](b),this['equipment'][a]=null,x(0x1af)+b[x(0x1bf)]+'.';}[a54i(0x1b2)](a,b){const y=a54i;a!==this&&this[y(0x1a0)][y(0x1b4)](a[y(0x1bf)]+y(0x1bc)+b+'\x22');}['enterRoom'](a){const z=a54i;this[z(0x191)]=a,a['on']('speak',this[z(0x1b2)][z(0x1a8)](this)),this[z(0x1a0)][z(0x1ad)](this[z(0x1bf)]+z(0x1cd)+a[z(0x1bf)]);}[a54i(0x1db)](){const A=a54i;this[A(0x191)]&&(this[A(0x191)][A(0x1b0)](A(0x1bb),this[A(0x1b2)][A(0x1a8)](this)),this[A(0x1a0)][A(0x1ad)](this['name']+A(0x1c2)+this[A(0x191)]['name']));}}
@@ -1 +1 @@
1
- var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xc7))/0x1+parseInt(f(0xe0))/0x2+-parseInt(f(0xe2))/0x3*(parseInt(f(0xcf))/0x4)+-parseInt(f(0xd0))/0x5+parseInt(f(0xcd))/0x6+parseInt(f(0xd1))/0x7*(parseInt(f(0xdf))/0x8)+-parseInt(f(0xda))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xcc0ec));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0xc9)]()[h(0xdb)](h(0xd3))[h(0xc9)]()[h(0xd9)](a55a)[h(0xdb)](h(0xd3));});a55a();import{Logger}from'../utilities/logger.js';function a55c(){var n=['4907735acIABZ','494606uxilJY','solved','(((.+)+)+)+$','riddle','requiredItem','matchesRequiredPhrase','hasRequiredItem','apply','constructor','2987541ANXRgz','search','Puzzle:\x20Correct\x20solution\x20provided.','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','solve','88bXBOon','1984248xWcjjg','failureMessage','1031154SEaAHU','rewardItem','write','You\x20solved\x20the\x20puzzle!','97790YPwOBi','successMessage','toString','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','logger','requiredPhrase','4928772oaPeDa','hasItem','4fWOLhg'];a55c=function(){return n;};return a55c();}import{AbstractPuzzle}from'../types/abstracts.js';function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xc6;var f=c[d];return f;},a55d(a,b);}export class Puzzle extends AbstractPuzzle{[a55i(0xcb)]=Logger['getInstance']();[a55i(0xd2)]=![];[a55i(0xd5)];[a55i(0xcc)];[a55i(0xd4)];[a55i(0xe3)];[a55i(0xc8)];[a55i(0xe1)];constructor(a){var j=a55i;super(),this[j(0xd5)]=a['requiredItem'],this[j(0xcc)]=a[j(0xcc)],this[j(0xd4)]=a[j(0xd4)],this[j(0xe3)]=a[j(0xe3)],this[j(0xc8)]=a[j(0xc8)]||j(0xc6),this[j(0xe1)]=a[j(0xe1)]||j(0xca);}[a55i(0xd7)](a){var k=a55i;if(this[k(0xd5)])return a[k(0xce)](this['requiredItem']);return![];}['matchesRequiredPhrase'](a){var l=a55i;return this[l(0xcc)]===a;}[a55i(0xde)](a,b){var m=a55i;if(this[m(0xd2)])return this[m(0xcb)][m(0xe4)]('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[m(0xd7)](b)||this[m(0xd6)](a)?(this['solved']=!![],this[m(0xcb)][m(0xe4)](m(0xdc)),{'success':!![],'message':this['successMessage']}):(this[m(0xcb)][m(0xe4)](m(0xdd)),{'success':![],'message':this[m(0xe1)]});}}
1
+ var a55h=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x1d6))/0x1+-parseInt(f(0x1de))/0x2*(-parseInt(f(0x1ea))/0x3)+-parseInt(f(0x1e7))/0x4+-parseInt(f(0x1e1))/0x5+parseInt(f(0x1d7))/0x6+-parseInt(f(0x1d9))/0x7*(parseInt(f(0x1e9))/0x8)+parseInt(f(0x1d3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x24930));function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1d3;var f=c[d];return f;},a55d(a,b);}var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var g=a55d;return a55a['toString']()[g(0x1eb)]('(((.+)+)+)+$')[g(0x1d4)]()[g(0x1ed)](a55a)[g(0x1eb)](g(0x1da));});a55a();function a55c(){var l=['1099032liExZh','riddle','8WvZeRn','6dIEwnx','search','requiredPhrase','constructor','successMessage','matchesRequiredPhrase','1411569KMoFjP','toString','You\x20have\x20already\x20solved\x20this\x20puzzle.','237262DiQIOQ','880854mkJbSX','failureMessage','2035194FAJYJY','(((.+)+)+)+$','logger','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','getInstance','182746fDcZum','requiredItem','hasItem','41750xnWzwd','hasRequiredItem','solved','write','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','rewardItem'];a55c=function(){return l;};return a55c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55h(0x1db)]=Logger[a55h(0x1dd)]();[a55h(0x1e3)]=![];[a55h(0x1df)];['requiredPhrase'];[a55h(0x1e8)];[a55h(0x1e6)];['successMessage'];[a55h(0x1d8)];constructor(a){var i=a55h;super(),this[i(0x1df)]=a[i(0x1df)],this[i(0x1ec)]=a[i(0x1ec)],this['riddle']=a[i(0x1e8)],this['rewardItem']=a[i(0x1e6)],this[i(0x1ee)]=a[i(0x1ee)]||'You\x20solved\x20the\x20puzzle!',this[i(0x1d8)]=a['failureMessage']||i(0x1dc);}[a55h(0x1e2)](a){var j=a55h;if(this[j(0x1df)])return a[j(0x1e0)](this[j(0x1df)]);return![];}['matchesRequiredPhrase'](a){return this['requiredPhrase']===a;}['solve'](a,b){var k=a55h;if(this[k(0x1e3)])return this[k(0x1db)]['write']('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':k(0x1d5)};return this[k(0x1e2)](b)||this[k(0x1ef)](a)?(this[k(0x1e3)]=!![],this[k(0x1db)][k(0x1e4)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this['successMessage']}):(this['logger']['write'](k(0x1e5)),{'success':![],'message':this[k(0x1d8)]});}}
@@ -1 +1 @@
1
- const a56h=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x128))/0x1*(-parseInt(f(0x125))/0x2)+parseInt(f(0x12b))/0x3+parseInt(f(0x145))/0x4*(parseInt(f(0x122))/0x5)+-parseInt(f(0x137))/0x6+parseInt(f(0x15d))/0x7+-parseInt(f(0x133))/0x8+-parseInt(f(0x135))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xbb0c0));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const g=a56d;return a56a['toString']()[g(0x143)]('(((.+)+)+)+$')[g(0x150)]()[g(0x155)](a56a)[g(0x143)](g(0x130));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56h(0x148)]=Logger[a56h(0x147)]();[a56h(0x127)];['description'];[a56h(0x153)]=new Map();['roomType'];['isStartRoom'];['inventory']=new Inventory();constructor(a){const i=a56h;super(),this[i(0x127)]=a['name'],this['description']=a[i(0x129)],this[i(0x14a)]=a[i(0x14a)]||RoomType[i(0x144)],a['exits']&&(this[i(0x153)]=a['exits']||new Map()),a[i(0x136)]&&(this['inventory']=a[i(0x136)]),a[i(0x152)]&&(this[i(0x152)]=a[i(0x152)]),this[i(0x14b)]=a[i(0x14b)]||![],this['logger'][i(0x14d)](i(0x12a)+this[i(0x127)]);}['say'](a,b){const j=a56h;this[j(0x141)](j(0x13e),a,b);}['addExit'](a,b,c){const k=a56h;let d=this[k(0x142)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits']['set'](a,d),b['exits'][k(0x12d)](this[k(0x151)](a),d);}['attemptUnlockExit'](a,b){const l=a56h,c=this[l(0x153)][l(0x124)](a);if(c instanceof Door){const d=c[l(0x131)](b);return this['logger'][l(0x14d)](l(0x158)+a+l(0x13b)+d),d?l(0x12f)+c[l(0x127)]+l(0x121):l(0x12f)+c[l(0x127)]+l(0x13f);}return this[l(0x148)]['write']('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),l(0x140);}[a56h(0x12c)](a){const m=a56h;return this['logger'][m(0x14d)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[m(0x153)][m(0x124)](a);}[a56h(0x134)](a){const n=a56h,b=this[n(0x153)][n(0x124)](a),c=b instanceof Door&&b['checkIfLocked']();return this['logger'][n(0x14d)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+n(0x123)+c),c;}[a56h(0x15c)](a){const o=a56h;this['inventory'][o(0x15c)](a),this[o(0x148)][o(0x14d)](o(0x15a)+this[o(0x127)]+':\x20'+a[o(0x127)]);}[a56h(0x157)](a){const p=a56h;this[p(0x136)]['hasItem'](a['name'])?(this[p(0x136)][p(0x157)](a['name']),this[p(0x148)]['write'](p(0x154)+this['name']+':\x20'+a[p(0x127)])):this['logger'][p(0x14d)](p(0x139)+this[p(0x127)]+':\x20'+a[p(0x127)]);}[a56h(0x13a)](a){const q=a56h;this[q(0x152)]=a,this[q(0x148)][q(0x14d)](q(0x156)+this[q(0x127)]+':\x20'+a['riddle']);}[a56h(0x151)](a){const r=a56h;switch(a){case r(0x14e):return Direction[r(0x14c)];case r(0x159):return Direction[r(0x126)];case r(0x12e):return Direction[r(0x146)];case r(0x13d):return Direction['EAST'];case'up':return Direction[r(0x15b)];case r(0x138):return Direction['UP'];default:throw new Error(r(0x14f)+a);}}[a56h(0x142)](a){const s=a56h;for(const b of this[s(0x153)][s(0x13c)]()){if(b instanceof Door){if(b[s(0x149)]===this&&b[s(0x132)]===a||b[s(0x132)]===this&&b[s(0x149)]===a)return b;}}return undefined;}}function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x121;let f=c[d];return f;},a56d(a,b);}function a56c(){const t=['puzzle','exits','Item\x20removed\x20from\x20room\x20','constructor','Puzzle\x20set\x20for\x20room\x20','removeItem','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','south','Item\x20added\x20to\x20room\x20','DOWN','addItem','7477295zEBBFd','\x20unlocked!','5aNJSrA','\x20is\x20locked.\x20Result:\x20','get','514OLXRWZ','NORTH','name','3257eJujDW','description','Room\x20created:\x20','1568148YdkXCJ','getExit','set','east','The\x20','(((.+)+)+)+$','attemptUnlock','roomB','9660168ZRiOau','isExitLocked','2650392eiEFBx','inventory','6617850TKcqJS','down','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','setPuzzle','.\x20Success:\x20','values','west','speak','\x20remains\x20locked.','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','emit','findExistingDoor','search','INSIDE','3772712DTgkPQ','WEST','getInstance','logger','roomA','roomType','isStartRoom','SOUTH','write','north','Invalid\x20direction:\x20','toString','getOppositeDirection'];a56c=function(){return t;};return a56c();}
1
+ const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x149))/0x1*(-parseInt(f(0x146))/0x2)+parseInt(f(0x13a))/0x3+-parseInt(f(0x13b))/0x4*(-parseInt(f(0x167))/0x5)+-parseInt(f(0x137))/0x6*(-parseInt(f(0x13d))/0x7)+-parseInt(f(0x166))/0x8+parseInt(f(0x145))/0x9+-parseInt(f(0x14c))/0xa*(parseInt(f(0x147))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xf37ce));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x169)]()[h(0x15f)]('(((.+)+)+)+$')[h(0x169)]()[h(0x14b)](a56a)[h(0x15f)]('(((.+)+)+)+$');});function a56c(){const u=['9244072tUuwzR','210HBWjUX','getOppositeDirection','toString','attemptUnlockExit','description','WEST','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','puzzle','No\x20locked\x20exit\x20found\x20in\x20direction\x20','Item\x20added\x20to\x20room\x20','roomType','roomA','101382LWKkHA','getExit','\x20unlocked!','219909OoKZAz','80808XfFXBw','set','497MHEyim','isStartRoom','attemptUnlock','DOWN','values','speak','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','west','14713893AfhthE','687514pSaiqn','11FmmrxV','SOUTH','5vqVTnX','The\x20','constructor','33223010LLxsNm','inventory','down','apply','INSIDE','.\x20Success:\x20','emit','getInstance','EAST','addItem','NORTH','logger','isExitLocked','get','south','Item\x20removed\x20from\x20room\x20','Invalid\x20direction:\x20','name','findExistingDoor','search','removeItem','east','Room\x20created:\x20','roomB','write','exits'];a56c=function(){return u;};return a56c();}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';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x132;let f=c[d];return f;},a56d(a,b);}export class Room extends AbstractRoom{[a56i(0x157)]=Logger[a56i(0x153)]();[a56i(0x15d)];['description'];['exits']=new Map();['roomType'];['isStartRoom'];[a56i(0x14d)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x15d)]=a['name'],this[j(0x16b)]=a[j(0x16b)],this[j(0x135)]=a[j(0x135)]||RoomType[j(0x150)],a[j(0x165)]&&(this['exits']=a[j(0x165)]||new Map()),a['inventory']&&(this[j(0x14d)]=a['inventory']),a['puzzle']&&(this['puzzle']=a[j(0x132)]),this[j(0x13e)]=a[j(0x13e)]||![],this[j(0x157)][j(0x164)](j(0x162)+this[j(0x15d)]);}['say'](a,b){const k=a56i;this[k(0x152)](k(0x142),a,b);}['addExit'](a,b,c){const l=a56i;let d=this[l(0x15e)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x165)][l(0x13c)](a,d),b[l(0x165)][l(0x13c)](this[l(0x168)](a),d);}[a56i(0x16a)](a,b){const m=a56i,c=this[m(0x165)][m(0x159)](a);if(c instanceof Door){const d=c[m(0x13f)](b);return this[m(0x157)][m(0x164)](m(0x16d)+a+m(0x151)+d),d?m(0x14a)+c[m(0x15d)]+m(0x139):m(0x14a)+c[m(0x15d)]+'\x20remains\x20locked.';}return this[m(0x157)]['write'](m(0x133)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a56i(0x138)](a){const n=a56i;return this['logger'][n(0x164)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this['exits']['get'](a);}[a56i(0x158)](a){const o=a56i,b=this['exits']['get'](a),c=b instanceof Door&&b['checkIfLocked']();return this['logger'][o(0x164)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a56i(0x155)](a){const p=a56i;this[p(0x14d)][p(0x155)](a),this[p(0x157)][p(0x164)](p(0x134)+this['name']+':\x20'+a[p(0x15d)]);}[a56i(0x160)](a){const q=a56i;this[q(0x14d)]['hasItem'](a[q(0x15d)])?(this[q(0x14d)][q(0x160)](a[q(0x15d)]),this[q(0x157)][q(0x164)](q(0x15b)+this[q(0x15d)]+':\x20'+a[q(0x15d)])):this[q(0x157)][q(0x164)](q(0x143)+this['name']+':\x20'+a[q(0x15d)]);}['setPuzzle'](a){const r=a56i;this[r(0x132)]=a,this[r(0x157)][r(0x164)]('Puzzle\x20set\x20for\x20room\x20'+this[r(0x15d)]+':\x20'+a['riddle']);}['getOppositeDirection'](a){const s=a56i;switch(a){case'north':return Direction[s(0x148)];case s(0x15a):return Direction[s(0x156)];case s(0x161):return Direction[s(0x16c)];case s(0x144):return Direction[s(0x154)];case'up':return Direction[s(0x140)];case s(0x14e):return Direction['UP'];default:throw new Error(s(0x15c)+a);}}[a56i(0x15e)](a){const t=a56i;for(const b of this[t(0x165)][t(0x141)]()){if(b instanceof Door){if(b[t(0x136)]===this&&b['roomB']===a||b[t(0x163)]===this&&b[t(0x136)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0xf5))/0x1*(parseInt(i(0xfc))/0x2)+-parseInt(i(0x107))/0x3*(-parseInt(i(0xec))/0x4)+-parseInt(i(0xf6))/0x5+-parseInt(i(0xd4))/0x6*(-parseInt(i(0x10e))/0x7)+-parseInt(i(0xdc))/0x8+parseInt(i(0xda))/0x9*(parseInt(i(0x10c))/0xa)+-parseInt(i(0xc6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x3b583));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x10d)]()[k(0xdd)]('(((.+)+)+)+$')['toString']()[k(0xd9)](a57a)['search'](k(0xe7));});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0xc5;let f=c[d];return f;},a57d(a,b);}function a57c(){const E=['setCharacterLocation','removeActor','currentLocation','\x20not\x20found\x20in\x20scene.','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','(((.+)+)+)+$','\x20to\x20room\x20','addExit','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','allActors','40IsSees','keyRequired','hasOwnProperty','Removed\x20room\x20from\x20scene:\x20','name','targetRoom','addPuzzleToRoom','apply','direction','416374uuLbIo','2202210kQlwUA','initialize','Actor\x20with\x20name\x20','Added\x20room\x20to\x20scene:\x20','exits','setPuzzle','2pewXJn','Scene\x20initialized\x20with\x20rooms:\x20','Room\x20\x22','getPlayer','createExitsFromConfig','has','getCharacterLocation','logger','Added\x20item\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','length','37983SDNYyp','getRooms','set','getActor','join','67970hctJLm','toString','9415cGDuBJ','addItem','generateRoomsFromConfig','keys','3153997BJdVHd','actors','Added\x20puzzle\x20to\x20room\x20','createRoom','getInstance','determineStartRoom','roomFactory','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','\x27s\x20location.\x20Room\x20','addItemToRoom','addActor','Failed\x20to\x20set\x20','\x20is\x20now\x20in\x20room\x20','isStartRoom','1884FhSUNW','addRoom','values','write','rooms','constructor','27FZkNCz','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','123688YVTsJO','search','\x22\x20does\x20not\x20exist.','characterLocations','player','delete'];a57c=function(){return E;};return a57c();}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57l(0xd8)];[a57l(0xe0)];['logger'];['actors'];[a57l(0xdf)]=new Map();[a57l(0xcc)];constructor(a){const m=a57l;super(),this['roomFactory']=new RoomFactory(),this[m(0xe0)]=a[m(0xe0)],this[m(0xd8)]=this[m(0x110)](a['roomConfiguration']),this[m(0x103)]=Logger[m(0xca)](),this[m(0xc7)]=new Map(),this['createExitsFromConfig'](a['roomConfiguration']),this[m(0x103)][m(0xd7)](m(0xfd)+Object[m(0xc5)](this['rooms'])[m(0x10b)](',\x20'));}[a57l(0xf7)](){const n=a57l;this[n(0xe0)][n(0xe4)]=this[n(0xcb)]();}['generateRoomsFromConfig'](a){const o=a57l;if(!this[o(0xcc)])throw new Error(o(0xdb));const b={};for(const c of a){const d=this[o(0xcc)][o(0xc9)](c);b[c[o(0xf0)]]=d;}return b;}[a57l(0x100)](a){const p=a57l;for(const b of a){const c=this[p(0xd8)][b[p(0xf0)]];if(b['exits'])for(const d of b[p(0xfa)]){const e=d[p(0xf4)]['toUpperCase'](),f=d[p(0xf1)],g=d[p(0xed)],h=this[p(0xd8)][f];h&&c[p(0xe9)](Direction[e],h,g);}}}[a57l(0xd0)](a){const q=a57l;if(this[q(0xc7)][q(0x101)](a[q(0xf0)]))throw new Error(q(0xf8)+a[q(0xf0)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0xc7)][q(0x109)](a[q(0xf0)],a);}[a57l(0xe3)](a){const r=a57l;if(!this['actors'][r(0x101)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+'\x20found\x20in\x20the\x20scene.');this[r(0xc7)][r(0xe1)](a);}[a57l(0x10a)](a){const s=a57l;return this[s(0xc7)]['get'](a);}get[a57l(0xeb)](){const t=a57l;return Array['from'](this[t(0xc7)][t(0xd6)]());}[a57l(0xd5)](a){const u=a57l;this[u(0xd8)][a[u(0xf0)]]=a,this[u(0x103)]['write'](u(0xf9)+a[u(0xf0)]);}['removeRoom'](a){const v=a57l;return this[v(0xd8)][a]?(delete this['rooms'][a],this['logger'][v(0xd7)](v(0xef)+a),!![]):(this[v(0x103)]['write'](v(0xea)+a),![]);}[a57l(0xcf)](a,b){const w=a57l,c=this['rooms'][b];c?(c[w(0x10f)](a),this[w(0x103)]['write'](w(0x104)+a[w(0xf0)]+w(0xe8)+c['name'])):this[w(0x103)]['write']('Failed\x20to\x20add\x20item\x20'+a[w(0xf0)]+'.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a57l(0xf2)](a,b){const x=a57l,c=this[x(0xd8)][b];c?(c[x(0xfb)](a),this[x(0x103)]['write'](x(0xc8)+c[x(0xf0)])):this[x(0x103)][x(0xd7)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+x(0xe5));}[a57l(0xe2)](a,b){const y=a57l,c=this['rooms'][b];c?(this['characterLocations'][y(0x109)](a[y(0xf0)],c),this[y(0x103)][y(0xd7)](a[y(0xf0)]+y(0xd2)+c[y(0xf0)])):this[y(0x103)]['write'](y(0xd1)+a[y(0xf0)]+y(0xce)+b+y(0xe5));}[a57l(0x102)](a){const z=a57l;return this[z(0xdf)]['get'](a[z(0xf0)]);}[a57l(0xcb)](){const A=a57l,a=[];for(const c in this[A(0xd8)]){if(this[A(0xd8)][A(0xee)](c)){const d=this['rooms'][c];d[A(0xd3)]&&a['push'](d);}}if(a['length']>0x1)throw new Error(A(0xcd));if(a[A(0x106)]===0x1)return a[0x0];const b=Object[A(0xc5)](this['rooms']);if(b['length']===0x0)throw new Error(A(0x105));return console['warn'](A(0xe6)),this[A(0xd8)][b[0x0]];}[a57l(0xff)](){const B=a57l;return this[B(0xe0)];}[a57l(0x108)](){const C=a57l;return this[C(0xd8)];}['connectRooms'](a,b,c,d){const D=a57l,e=this['rooms'][a],f=this[D(0xd8)][c];if(!e)throw new Error(D(0xfe)+a+D(0xde));if(!f)throw new Error(D(0xfe)+c+D(0xde));e[D(0xe9)](b,f,d);}}
1
+ const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x147))/0x1*(parseInt(i(0x150))/0x2)+parseInt(i(0x145))/0x3+parseInt(i(0x13d))/0x4*(-parseInt(i(0x13f))/0x5)+-parseInt(i(0x134))/0x6+-parseInt(i(0x121))/0x7+parseInt(i(0x12f))/0x8+-parseInt(i(0x12b))/0x9*(-parseInt(i(0x158))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x29220));function a57c(){const D=['warn','createRoom','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','581848pcqRWg','hasOwnProperty','10eUgITd','\x20found\x20in\x20the\x20scene.','logger','getActor','getInstance','(((.+)+)+)+$','276723SxwQug','direction','1432nLQhGW','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','No\x20actor\x20with\x20name\x20','write','determineStartRoom','\x27s\x20location.\x20Room\x20','getCharacterLocation','player','from','266hqMKil','name','roomFactory','\x20to\x20room\x20','\x20not\x20found\x20in\x20scene.','Added\x20room\x20to\x20scene:\x20','removeActor','set','1325380MVEnPj','\x20already\x20exists\x20in\x20the\x20scene.','has','search','.\x20Room\x20','Failed\x20to\x20set\x20','keyRequired','initialize','\x22\x20does\x20not\x20exist.','delete','\x20is\x20now\x20in\x20room\x20','apply','getRooms','constructor','rooms','toString','setCharacterLocation','649985SGRrKM','Failed\x20to\x20add\x20puzzle.\x20Room\x20','addActor','generateRoomsFromConfig','length','Room\x20\x22','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','setPuzzle','characterLocations','addItemToRoom','27VsJYxu','isStartRoom','currentLocation','actors','813128lVBTmY','join','getPlayer','addExit','Actor\x20with\x20name\x20','1378158vJmZSj','get','exits','addItem','push','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'];a57c=function(){return D;};return a57c();}const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x11b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x11f)]()['search'](k(0x144))[k(0x11f)]()[k(0x11d)](a57a)[k(0x15b)](k(0x144));});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-0x11b;let f=c[d];return f;},a57d(a,b);}export class Scene extends AbstractScene{[a57l(0x11e)];[a57l(0x14e)];[a57l(0x141)];['actors'];[a57l(0x129)]=new Map();[a57l(0x152)];constructor(a){const m=a57l;super(),this[m(0x152)]=new RoomFactory(),this['player']=a[m(0x14e)],this[m(0x11e)]=this[m(0x124)](a['roomConfiguration']),this[m(0x141)]=Logger[m(0x143)](),this[m(0x12e)]=new Map(),this['createExitsFromConfig'](a['roomConfiguration']),this[m(0x141)][m(0x14a)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object['keys'](this['rooms'])[m(0x130)](',\x20'));}[a57l(0x15f)](){const n=a57l;this[n(0x14e)][n(0x12d)]=this['determineStartRoom']();}[a57l(0x124)](a){const o=a57l;if(!this['roomFactory'])throw new Error(o(0x148));const b={};for(const c of a){const d=this[o(0x152)][o(0x13b)](c);b[c[o(0x151)]]=d;}return b;}['createExitsFromConfig'](a){const p=a57l;for(const b of a){const c=this[p(0x11e)][b['name']];if(b[p(0x136)])for(const d of b[p(0x136)]){const e=d[p(0x146)]['toUpperCase'](),f=d['targetRoom'],g=d[p(0x15e)],h=this[p(0x11e)][f];h&&c['addExit'](Direction[e],h,g);}}}[a57l(0x123)](a){const q=a57l;if(this[q(0x12e)][q(0x15a)](a['name']))throw new Error(q(0x133)+a['name']+q(0x159));this[q(0x12e)][q(0x157)](a[q(0x151)],a);}[a57l(0x156)](a){const r=a57l;if(!this[r(0x12e)]['has'](a))throw new Error(r(0x149)+a+r(0x140));this[r(0x12e)][r(0x161)](a);}[a57l(0x142)](a){const s=a57l;return this[s(0x12e)]['get'](a);}get['allActors'](){const t=a57l;return Array[t(0x14f)](this[t(0x12e)]['values']());}['addRoom'](a){const u=a57l;this['rooms'][a[u(0x151)]]=a,this['logger'][u(0x14a)](u(0x155)+a[u(0x151)]);}['removeRoom'](a){const v=a57l;return this[v(0x11e)][a]?(delete this['rooms'][a],this[v(0x141)][v(0x14a)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0x141)][v(0x14a)](v(0x139)+a),![]);}[a57l(0x12a)](a,b){const w=a57l,c=this[w(0x11e)][b];c?(c[w(0x137)](a),this[w(0x141)][w(0x14a)]('Added\x20item\x20'+a['name']+w(0x153)+c[w(0x151)])):this[w(0x141)][w(0x14a)]('Failed\x20to\x20add\x20item\x20'+a[w(0x151)]+w(0x15c)+b+w(0x154));}['addPuzzleToRoom'](a,b){const x=a57l,c=this[x(0x11e)][b];c?(c[x(0x128)](a),this[x(0x141)][x(0x14a)]('Added\x20puzzle\x20to\x20room\x20'+c[x(0x151)])):this[x(0x141)][x(0x14a)](x(0x122)+b+x(0x154));}[a57l(0x120)](a,b){const y=a57l,c=this['rooms'][b];c?(this['characterLocations'][y(0x157)](a[y(0x151)],c),this[y(0x141)][y(0x14a)](a[y(0x151)]+y(0x162)+c['name'])):this[y(0x141)][y(0x14a)](y(0x15d)+a[y(0x151)]+y(0x14c)+b+y(0x154));}[a57l(0x14d)](a){const z=a57l;return this[z(0x129)][z(0x135)](a[z(0x151)]);}[a57l(0x14b)](){const A=a57l,a=[];for(const c in this[A(0x11e)]){if(this[A(0x11e)][A(0x13e)](c)){const d=this[A(0x11e)][c];d[A(0x12c)]&&a[A(0x138)](d);}}if(a['length']>0x1)throw new Error(A(0x127));if(a[A(0x125)]===0x1)return a[0x0];const b=Object['keys'](this[A(0x11e)]);if(b[A(0x125)]===0x0)throw new Error(A(0x13c));return console[A(0x13a)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0x11e)][b[0x0]];}[a57l(0x131)](){const B=a57l;return this[B(0x14e)];}[a57l(0x11c)](){return this['rooms'];}['connectRooms'](a,b,c,d){const C=a57l,e=this[C(0x11e)][a],f=this[C(0x11e)][c];if(!e)throw new Error(C(0x126)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error('Room\x20\x22'+c+C(0x160));e[C(0x132)](b,f,d);}}