@maka/maka-cli 4.13.5 → 4.13.7

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 (163) 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/tool.js +1 -1
  145. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/options/options.class.js +1 -1
  157. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  158. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  159. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  161. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  163. package/package.json +1 -1
@@ -1 +1 @@
1
- function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x18f;let f=c[d];return f;},a38d(a,b);}const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x195))/0x1*(parseInt(f(0x19e))/0x2)+-parseInt(f(0x193))/0x3+-parseInt(f(0x1ae))/0x4*(-parseInt(f(0x19b))/0x5)+parseInt(f(0x194))/0x6+-parseInt(f(0x1a7))/0x7*(-parseInt(f(0x1a9))/0x8)+parseInt(f(0x198))/0x9+-parseInt(f(0x1b8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x25d7d));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1ba)]()[h(0x1a5)](h(0x1b2))[h(0x1ba)]()['constructor'](a38a)[h(0x1a5)](h(0x1b2));});a38a();import{Door}from'../models/door.js';function a38c(){const n=['There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','get','apply','search','Examine\x20your\x20surroundings','14JKPJsV','inspectItem','848960XXEqsE','name','lookOutside','Below\x20you,\x20','inventory','281236qvVHlZ','error','Looking\x20at\x20item\x20\x27','\x27\x20in\x20current\x20room\x20inventory.','(((.+)+)+)+$','actor','\x20inventory.','\x20here.','down','You\x20cannot\x20see\x20','3157810dUSgfD','isValidDirection','toString','To\x20the\x20','exits','rooms','\x20is\x20looking\x20around\x20the\x20current\x20room.','puzzle','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','logger','getOtherSide','riddle','899805eOBRPD','1026336FSGxpR','33503UxAnCf','It\x27s\x20just\x20a\x20regular\x20','You\x27re\x20not\x20in\x20a\x20valid\x20room.','80847tukMez','description','Above\x20you,\x20','15kUBMwe','currentLocation','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','10ayqXnr','join','look','write'];a38c=function(){return n;};return a38c();}import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static ['verb']='look';static [a38i(0x199)]=a38i(0x1a6);['execute'](a=[]){const j=a38i;this[j(0x190)][j(0x1a1)]('Executing\x20\x27Look\x27\x20command.');const b=a[j(0x19f)]('\x20');if(b){if(this[j(0x1b3)][j(0x1ad)]['hasItem'](b))return this[j(0x190)][j(0x1a1)](j(0x1b0)+b+'\x27\x20in\x20'+this[j(0x1b3)][j(0x1aa)]+j(0x1b4)),this[j(0x1a8)](b,this['actor'][j(0x1ad)]);else{if(this[j(0x1b3)][j(0x19c)][j(0x1ad)]['hasItem'](b))return this[j(0x190)][j(0x1a1)](j(0x1b0)+b+j(0x1b1)),this[j(0x1a8)](b,this['actor'][j(0x19c)][j(0x1ad)]);else return this[j(0x1b9)](b)?(this[j(0x190)][j(0x1a1)]('Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27'+b+'\x27.'),this[j(0x1ab)](b)):j(0x1b7)+b;}}else return this[j(0x190)][j(0x1a1)](this[j(0x1b3)][j(0x1aa)]+j(0x1be)),this['look']();}[a38i(0x1a0)](){const k=a38i,a=this[k(0x1b3)]['currentLocation'];if(!a)return this[k(0x190)]['error'](this[k(0x1b3)]['name']+k(0x18f)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';let b=a[k(0x199)];return a['puzzle']&&(b+='\x0a'+a[k(0x1bf)][k(0x192)]),b;}[a38i(0x1ab)](a){const l=a38i,b=this[l(0x1b3)][l(0x19c)];if(!b)return this['logger'][l(0x1af)](this['actor'][l(0x1aa)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),l(0x197);const c=b[l(0x1bc)][l(0x1a3)](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c[l(0x191)](b);else{if(typeof c==='string'){d=this[l(0x1bd)]&&this[l(0x1bd)][c];if(!d)return l(0x1a2)+a+'\x22.';}else return l(0x19d)+a+'\x22.';}if(d['roomType']===RoomType['OUTSIDE']){if(a==='up')return l(0x19a)+d[l(0x199)];else return a===l(0x1b6)?l(0x1ac)+d[l(0x199)]:l(0x1bb)+a+',\x20you\x20see\x20'+d['description'];}else return'You\x20cannot\x20see\x20through';}[a38i(0x1a8)](a,b){const m=a38i,c=b['getItem'](a);if(!c)return'You\x20don\x27t\x20see\x20any\x20'+a+m(0x1b5);return c[m(0x199)]||m(0x196)+a+'.';}}
1
+ function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xcc;let f=c[d];return f;},a38d(a,b);}const a38i=a38d;function a38c(){const n=['look',',\x20you\x20see\x20','2640638kIdjgL','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','description','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','write','78OHJGpq','You\x27re\x20not\x20in\x20a\x20valid\x20room.','Examine\x20your\x20surroundings','string','currentLocation','isValidDirection','\x20here.','riddle','puzzle','10135Igrqml','160lBkRqq','exits','You\x20cannot\x20see\x20through','join','You\x20cannot\x20see\x20','name','\x20is\x20looking\x20around\x20the\x20current\x20room.','inspectItem','\x20inventory.','334964sOSzLU','search','Below\x20you,\x20','rooms','toString','Looking\x20at\x20item\x20\x27','apply','(((.+)+)+)+$','get','actor','3tMGZcz','You\x20don\x27t\x20see\x20any\x20','lookOutside','3270340PBjdmV','Above\x20you,\x20','getOtherSide','getItem','2149724RNxFLv','logger','error','28936fDvGnW','execute','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','Executing\x20\x27Look\x27\x20command.','8905570qnmNmV','1863byduSe','down','\x27\x20in\x20','OUTSIDE','hasItem','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','roomType','\x27\x20in\x20current\x20room\x20inventory.'];a38c=function(){return n;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0xf7))/0x1*(parseInt(f(0xf8))/0x2)+parseInt(f(0xd0))/0x3*(-parseInt(f(0xd7))/0x4)+-parseInt(f(0xd3))/0x5+-parseInt(f(0xee))/0x6*(-parseInt(f(0x101))/0x7)+-parseInt(f(0xda))/0x8*(-parseInt(f(0xdf))/0x9)+parseInt(f(0xde))/0xa+parseInt(f(0xe9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x79da7));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x105)]()['search'](h(0xcd))[h(0x105)]()['constructor'](a38a)[h(0x102)]('(((.+)+)+)+$');});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static ['verb']=a38i(0xe7);static [a38i(0xeb)]=a38i(0xf0);[a38i(0xdb)](a=[]){const j=a38i;this['logger']['write'](j(0xdd));const b=a[j(0xfb)]('\x20');if(b){if(this[j(0xcf)]['inventory'][j(0xe3)](b))return this[j(0xd8)][j(0xed)](j(0x106)+b+j(0xe1)+this[j(0xcf)][j(0xfd)]+j(0x100)),this['inspectItem'](b,this[j(0xcf)]['inventory']);else{if(this[j(0xcf)]['currentLocation']['inventory'][j(0xe3)](b))return this['logger'][j(0xed)](j(0x106)+b+j(0xe6)),this[j(0xff)](b,this[j(0xcf)][j(0xf2)]['inventory']);else return this[j(0xf3)](b)?(this[j(0xd8)][j(0xed)](j(0xdc)+b+'\x27.'),this[j(0xd2)](b)):j(0xfc)+b;}}else return this[j(0xd8)][j(0xed)](this['actor'][j(0xfd)]+j(0xfe)),this['look']();}[a38i(0xe7)](){const k=a38i,a=this[k(0xcf)][k(0xf2)];if(!a)return this['logger'][k(0xd9)](this[k(0xcf)][k(0xfd)]+k(0xea)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';let b=a[k(0xeb)];return a['puzzle']&&(b+='\x0a'+a[k(0xf6)][k(0xf5)]),b;}[a38i(0xd2)](a){const l=a38i,b=this['actor']['currentLocation'];if(!b)return this['logger'][l(0xd9)](this[l(0xcf)][l(0xfd)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),l(0xef);const c=b[l(0xf9)][l(0xce)](a);if(!c)return l(0xec)+a+'\x22.';let d;if(c instanceof Door)d=c[l(0xd5)](b);else{if(typeof c===l(0xf1)){d=this[l(0x104)]&&this[l(0x104)][c];if(!d)return l(0xe4)+a+'\x22.';}else return'Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}if(d[l(0xe5)]===RoomType[l(0xe2)]){if(a==='up')return l(0xd4)+d[l(0xeb)];else return a===l(0xe0)?l(0x103)+d['description']:'To\x20the\x20'+a+l(0xe8)+d[l(0xeb)];}else return l(0xfa);}[a38i(0xff)](a,b){const m=a38i,c=b[m(0xd6)](a);if(!c)return m(0xd1)+a+m(0xf4);return c['description']||'It\x27s\x20just\x20a\x20regular\x20'+a+'.';}}
@@ -1 +1 @@
1
- function a39c(){const l=['11ymIuPv','230172zZlDJT','name','You\x20say:\x20\x22','5214pMlEtp','870JZyqxQ','What\x20do\x20you\x20want\x20to\x20say?','search','execute','8210pQGtKx','context','verb','21yGYviN','515320iHkmTy','say','log','532oLVsVT','allActors','logger','length','106218iOohAe','An\x20error\x20occurred.',':\x20\x22','toString','(((.+)+)+)+$','join','117112cohAAG','actor','219OhVyMo','currentLocation','1881qrUoTC','description','Scene\x20is\x20missing\x20from\x20context.'];a39c=function(){return l;};return a39c();}const a39i=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0xc7))/0x1+parseInt(g(0xc1))/0x2+-parseInt(g(0xc9))/0x3*(parseInt(g(0xbd))/0x4)+-parseInt(g(0xb2))/0x5*(parseInt(g(0xb1))/0x6)+-parseInt(g(0xb9))/0x7*(-parseInt(g(0xba))/0x8)+-parseInt(g(0xcb))/0x9*(-parseInt(g(0xb6))/0xa)+-parseInt(g(0xce))/0xb*(parseInt(g(0xcf))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x1d79f));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0xc4)]()[h(0xb4)](h(0xc5))[h(0xc4)]()['constructor'](a39a)[h(0xb4)](h(0xc5));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xb1;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39i(0xb8)]=a39i(0xbb);static [a39i(0xcc)]='Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.';[a39i(0xb7)];constructor(a){const j=a39i;super(a),this[j(0xb7)]=a;}[a39i(0xb5)](a){const k=a39i;if(a[k(0xc0)]===0x0)return k(0xb3);const b=a[k(0xc6)]('\x20'),c=this[k(0xc8)],d=this['context']['scene'];if(!d)return this[k(0xbf)][k(0xbc)](k(0xcd)),k(0xc2);const e=d[k(0xbe)]['filter'](f=>f['currentLocation']===c[k(0xca)]);for(const f of e){this[k(0xbf)]['log'](c['name']+'\x20says\x20to\x20'+f[k(0xd0)]+k(0xc3)+b+'\x22'),this[k(0xc8)][k(0xca)][k(0xbb)](f,b);}return k(0xd1)+b+'\x22';}}
1
+ function a39c(){const m=[':\x20\x22','1286728WcjNhj','2719340RFgXFJ','apply','verb','context','currentLocation','14308713twaoSt','2624592iZdKFy','(((.+)+)+)+$','1225275sIHmDA','\x20says\x20to\x20','toString','Scene\x20is\x20missing\x20from\x20context.','117047ECQqXo','actor','name','search','execute','You\x20say:\x20\x22','join','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','What\x20do\x20you\x20want\x20to\x20say?','scene','logger','2lAmzRE','16rJhxxf','log','183980gfIZpx'];a39c=function(){return m;};return a39c();}const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x11b))/0x1+-parseInt(g(0x118))/0x2*(-parseInt(g(0x109))/0x3)+parseInt(g(0x100))/0x4+parseInt(g(0x101))/0x5+parseInt(g(0x107))/0x6+-parseInt(g(0x10d))/0x7*(parseInt(g(0x119))/0x8)+-parseInt(g(0x106))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x426d8));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x100;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x102)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x10b)]()[i(0x110)](i(0x108))[i(0x10b)]()['constructor'](a39a)[i(0x110)](i(0x108));});a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0x103)]='say';static ['description']=a39j(0x114);[a39j(0x104)];constructor(a){const k=a39j;super(a),this[k(0x104)]=a;}[a39j(0x111)](a){const l=a39j;if(a['length']===0x0)return l(0x115);const b=a[l(0x113)]('\x20'),c=this[l(0x10e)],d=this[l(0x104)][l(0x116)];if(!d)return this['logger'][l(0x11a)](l(0x10c)),'An\x20error\x20occurred.';const e=d['allActors']['filter'](f=>f[l(0x105)]===c['currentLocation']);for(const f of e){this[l(0x117)][l(0x11a)](c[l(0x10f)]+l(0x10a)+f[l(0x10f)]+l(0x11c)+b+'\x22'),this[l(0x10e)][l(0x105)]['say'](f,b);}return l(0x112)+b+'\x22';}}
@@ -1 +1 @@
1
- function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xd6;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0xdf))/0x1+parseInt(f(0xe0))/0x2*(-parseInt(f(0xe6))/0x3)+parseInt(f(0xdd))/0x4*(parseInt(f(0xdb))/0x5)+parseInt(f(0xea))/0x6+parseInt(f(0xde))/0x7*(parseInt(f(0xee))/0x8)+-parseInt(f(0xf3))/0x9*(-parseInt(f(0xe7))/0xa)+-parseInt(f(0xeb))/0xb*(parseInt(f(0xd8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x85309));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xe4)]()['search'](h(0xe3))[h(0xe4)]()[h(0xf2)](a40a)['search'](h(0xe3));});a40a();function a40c(){const k=['338376hYaiTn','Search\x20for\x20items\x20in\x20your\x20area','length','name','constructor','462447GrztlH','You\x20search\x20the\x20area\x20and\x20find:\x20','write','1325472ioRauA','apply','description','5RVKFTr','SearchCommand:\x20','1298208ZwDhNf','175rhNHjJ','582192twWCDk','85886kyoiwB','execute','currentLocation','(((.+)+)+)+$','toString','logger','63mwOMZE','160nerAaZ','actor','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','3232818PXNpNQ','187GfPwQy','search','join'];a40c=function(){return k;};return a40c();}import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a40i(0xec);static [a40i(0xda)]=a40i(0xef);[a40i(0xe1)](){const j=a40i,a=this['actor'][j(0xe2)]['inventory']['listItems']();if(a[j(0xf0)]===0x0)return this[j(0xe5)]['write'](j(0xdc)+this[j(0xe8)][j(0xf1)]+j(0xe9)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0xed)](',\x20');return this[j(0xe5)][j(0xd7)]('SearchCommand:\x20'+this[j(0xe8)]['name']+'\x20found\x20the\x20following\x20items:\x20'+b),j(0xd6)+b;}}
1
+ (function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0xc3))/0x1*(-parseInt(f(0xcd))/0x2)+-parseInt(f(0xd4))/0x3+-parseInt(f(0xd7))/0x4+parseInt(f(0xc8))/0x5+parseInt(f(0xc6))/0x6+-parseInt(f(0xcc))/0x7+parseInt(f(0xce))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x70125));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xd1)]()[h(0xc4)](h(0xd0))[h(0xd1)]()[h(0xca)](a40a)[h(0xc4)]('(((.+)+)+)+$');});a40a();function a40c(){const j=['945264bfNxYc','join','apply','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','93146txnSfY','search','listItems','4711938GTgDLn','SearchCommand:\x20','309600EwxsMG','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','constructor','logger','4154094yqnxij','16QAcyrP','1396000WmSKkt','currentLocation','(((.+)+)+)+$','toString','write','\x20found\x20the\x20following\x20items:\x20','1434324KhOTFE','inventory','actor'];a40c=function(){return j;};return a40c();}import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xc3;let f=c[d];return f;},a40d(a,b);}export class SearchCommand extends Command{static ['verb']='search';static ['description']='Search\x20for\x20items\x20in\x20your\x20area';['execute'](){const i=a40d,a=this[i(0xd6)][i(0xcf)][i(0xd5)][i(0xc5)]();if(a['length']===0x0)return this[i(0xcb)]['write'](i(0xc7)+this[i(0xd6)]['name']+i(0xc9)),i(0xda);const b=a[i(0xd8)](',\x20');return this[i(0xcb)][i(0xd2)](i(0xc7)+this[i(0xd6)]['name']+i(0xd3)+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(0xc8))/0x1+-parseInt(f(0xbc))/0x2+parseInt(f(0xbf))/0x3*(-parseInt(f(0xc7))/0x4)+-parseInt(f(0xc1))/0x5+parseInt(f(0xd9))/0x6+-parseInt(f(0xc4))/0x7*(-parseInt(f(0xc9))/0x8)+-parseInt(f(0xdc))/0x9*(-parseInt(f(0xca))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x9c6c4));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(0xda)]()[g(0xd1)](g(0xc0))['toString']()[g(0xd2)](a41a)[g(0xd1)](g(0xc0));});a41a();import{Command}from'./command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xbc;let f=c[d];return f;},a41d(a,b);}function a41c(){const j=['Attempt\x20to\x20solve\x20a\x20puzzle.','rewardItem','search','constructor','toLowerCase','solve','actor','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','currentLocation','description','196968XsUKku','toString','execute','112365JCUjHk','message','1678030BISguE','write','success','651279ZmhTST','(((.+)+)+)+$','4019320ovzDkE','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','puzzle','56889zVEJgE','inventory','verb','4XjGanC','199473nATjux','1176AMrplJ','860RfsdVj','logger','addItem','join','SolveCommand:\x20'];a41c=function(){return j;};return a41c();}export class SolveCommand extends Command{static [a41h(0xc6)]=a41h(0xd4);static [a41h(0xd8)]=a41h(0xcf);[a41h(0xdb)](a){const i=a41h,b=a[i(0xcd)]('\x20')[i(0xd3)](),c=this[i(0xd5)][i(0xd7)];if(!c||!c[i(0xc3)])return this[i(0xcb)][i(0xbd)](i(0xc2)),i(0xd6);const d=c['puzzle']['solve'](b,this[i(0xd5)][i(0xc5)]);return d[i(0xbe)]&&c[i(0xc3)][i(0xd0)]&&this['actor'][i(0xc5)][i(0xcc)](c[i(0xc3)]['rewardItem']),this[i(0xcb)][i(0xbd)](i(0xce)+d['message']),d[i(0xdd)];}}
1
+ function a41c(){const k=['execute','write','rewardItem','currentLocation','360gAWFMC','toLowerCase','constructor','164952AbXLvc','15VtgYKv','addItem','verb','search','550OjDbQQ','success','puzzle','inventory','1155105oqusvZ','solve','605230VwzkiQ','toString','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','actor','66069MHJZTy','SolveCommand:\x20','message','apply','126sBRpgw','description','9930UAImRK','267510OuMaad','logger','253380GOgDjj','(((.+)+)+)+$','join'];a41c=function(){return k;};return a41c();}const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0x128))/0x1+parseInt(f(0x11d))/0x2+parseInt(f(0x11e))/0x3*(-parseInt(f(0x113))/0x4)+-parseInt(f(0x133))/0x5*(-parseInt(f(0x131))/0x6)+parseInt(f(0x126))/0x7+parseInt(f(0x11a))/0x8*(-parseInt(f(0x12d))/0x9)+parseInt(f(0x111))/0xa*(parseInt(f(0x122))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x5b6af));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a['toString']()[h(0x121)](h(0x114))[h(0x129)]()[h(0x11c)](a41a)[h(0x121)]('(((.+)+)+)+$');});function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x111;let f=c[d];return f;},a41d(a,b);}a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0x120)]=a41i(0x127);static [a41i(0x132)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a41i(0x116)](a){const j=a41i,b=a[j(0x115)]('\x20')[j(0x11b)](),c=this[j(0x12c)][j(0x119)];if(!c||!c[j(0x124)])return this[j(0x112)][j(0x117)](j(0x12b)),j(0x12a);const d=c[j(0x124)][j(0x127)](b,this[j(0x12c)][j(0x125)]);return d[j(0x123)]&&c[j(0x124)]['rewardItem']&&this[j(0x12c)][j(0x125)][j(0x11f)](c['puzzle'][j(0x118)]),this['logger']['write'](j(0x12e)+d[j(0x12f)]),d[j(0x12f)];}}
@@ -1 +1 @@
1
- const a42i=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x190;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1a5))/0x1*(parseInt(f(0x1a2))/0x2)+parseInt(f(0x19a))/0x3*(parseInt(f(0x19f))/0x4)+parseInt(f(0x198))/0x5+parseInt(f(0x1be))/0x6+-parseInt(f(0x1b1))/0x7*(-parseInt(f(0x1b7))/0x8)+-parseInt(f(0x1ab))/0x9+-parseInt(f(0x1a1))/0xa*(parseInt(f(0x19c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x18dd0));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x1b3)]()[h(0x1b5)](h(0x1b9))['toString']()['constructor'](a42a)[h(0x1b5)](h(0x1b9));});a42a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a42i(0x1ae)]=a42i(0x1af);static [a42i(0x193)]=a42i(0x1ac);[a42i(0x192)](a){const j=a42i;return this[j(0x1b2)][j(0x19b)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a['join']('\x20')),this[j(0x1af)](a);}[a42i(0x1af)](a){const k=a42i,b=a[k(0x197)]('\x20')[k(0x195)](),c=this['actor'][k(0x1b6)];if(!c['inventory'][k(0x1bb)](b))return this[k(0x1b2)][k(0x19b)](k(0x1bd)+b+k(0x1ba)+c['name']+'\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+k(0x194);const d=c[k(0x1a7)][k(0x191)](b);if(!d)return this['logger'][k(0x19b)]('Item\x20\x22'+b+k(0x1a9)+c[k(0x19e)]+k(0x1a8)),k(0x1b0)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0x1aa)][k(0x1b4)](d),this[k(0x1b2)]['write'](k(0x1a4)+b+k(0x19d)+this[k(0x1aa)][k(0x19e)]+k(0x190)),c[k(0x1a7)]['removeItem'](b),this[k(0x1b2)][k(0x19b)](k(0x1a3)+b+k(0x1b8)+c[k(0x19e)]+k(0x1a8)),k(0x199)+b+'.';}catch(e){return this[k(0x1b2)][k(0x19b)](k(0x196)+e[k(0x1ad)]),k(0x1bc)+b+k(0x1a0);}}}function a42c(){const l=['\x22\x20not\x20retrieved\x20from\x20','actor','1016496PHudtY','Pick\x20up\x20an\x20item.','message','verb','take','There\x20is\x20no\x20item\x20\x22','518812lLWQLZ','logger','toString','addInventory','search','currentLocation','8YfRzEA','\x22\x20from\x20','(((.+)+)+)+$','\x22\x20not\x20found\x20in\x20','hasItem','The\x20item\x20\x22','Item\x20\x22','208296nQbpcI','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','getItem','execute','description','\x22\x20in\x20this\x20room.','toLowerCase','Error\x20during\x20\x27Take\x27\x20command:\x20','join','785675IiXzwD','You\x20have\x20taken\x20the\x20','5685kbYYiW','write','33SrKqRk','\x22\x20to\x20','name','316NwaOVZ','\x22\x20is\x20too\x20heavy\x20to\x20carry.','427030IaeWVC','14XvwgvV','Successfully\x20removed\x20\x22','Successfully\x20added\x20\x22','10397wUKlCo','apply','inventory','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'];a42c=function(){return l;};return a42c();}
1
+ const a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x149))/0x1+-parseInt(f(0x167))/0x2+parseInt(f(0x159))/0x3*(parseInt(f(0x164))/0x4)+-parseInt(f(0x168))/0x5+-parseInt(f(0x14f))/0x6+parseInt(f(0x15d))/0x7*(-parseInt(f(0x14b))/0x8)+parseInt(f(0x155))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xf2c2e));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const g=a42d;return a42a[g(0x156)]()[g(0x142)](g(0x16c))[g(0x156)]()[g(0x166)](a42a)[g(0x142)](g(0x16c));});a42a();import{Command}from'./command.js';function a42c(){const k=['Item\x20\x22','name','2061hvTcVF','\x22\x20from\x20','description','hasItem','14ZoCkMc','currentLocation','\x22\x20not\x20found\x20in\x20','Successfully\x20added\x20\x22','getItem','The\x20item\x20\x22','Successfully\x20removed\x20\x22','8876UaUAdj','actor','constructor','2160288HMbNAO','3619185wZtkHJ','\x22\x20to\x20','You\x20have\x20taken\x20the\x20','\x22\x20in\x20this\x20room.','(((.+)+)+)+$','search','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','message','inventory','addInventory','logger','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','599721uTzoEN','\x22\x20not\x20retrieved\x20from\x20','1964376UksxmB','removeItem','write','Pick\x20up\x20an\x20item.','7481946qRhULw','take','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','join','There\x20is\x20no\x20item\x20\x22','verb','32505156mDqeVk','toString'];a42c=function(){return k;};return a42c();}function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x142;let f=c[d];return f;},a42d(a,b);}export class TakeCommand extends Command{static [a42h(0x154)]=a42h(0x150);static [a42h(0x15b)]=a42h(0x14e);['execute'](a){const i=a42h;return this[i(0x147)][i(0x14d)](i(0x143)+a[i(0x152)]('\x20')),this[i(0x150)](a);}[a42h(0x150)](a){const j=a42h,b=a[j(0x152)]('\x20')['toLowerCase'](),c=this[j(0x165)][j(0x15e)];if(!c['inventory'][j(0x15c)](b))return this[j(0x147)][j(0x14d)]('Item\x20\x22'+b+j(0x15f)+c[j(0x158)]+'\x20during\x20\x27Take\x27\x20command.'),j(0x153)+b+j(0x16b);const d=c[j(0x145)][j(0x161)](b);if(!d)return this[j(0x147)][j(0x14d)](j(0x157)+b+j(0x14a)+c[j(0x158)]+j(0x151)),j(0x153)+b+j(0x16b);try{return this['actor'][j(0x146)](d),this[j(0x147)]['write'](j(0x160)+b+j(0x169)+this[j(0x165)][j(0x158)]+j(0x148)),c[j(0x145)][j(0x14c)](b),this[j(0x147)][j(0x14d)](j(0x163)+b+j(0x15a)+c[j(0x158)]+j(0x151)),j(0x16a)+b+'.';}catch(e){return this[j(0x147)]['write']('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[j(0x144)]),j(0x162)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
@@ -1 +1 @@
1
- function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a43d(a,b);}const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1c2))/0x1+parseInt(f(0x1c7))/0x2*(parseInt(f(0x1c1))/0x3)+parseInt(f(0x1c8))/0x4*(parseInt(f(0x1b6))/0x5)+parseInt(f(0x1c9))/0x6*(parseInt(f(0x1cc))/0x7)+parseInt(f(0x1ca))/0x8+parseInt(f(0x1cb))/0x9+parseInt(f(0x1b5))/0xa*(-parseInt(f(0x1b7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x89c5f));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(0x1c4)]()[g(0x1c5)]('(((.+)+)+)+$')['toString']()[g(0x1b8)](a43a)[g(0x1c5)]('(((.+)+)+)+$');});a43a();import{Command}from'./command.js';function a43c(){const j=['1701750ngXRLZ','3475508ZWmqxn','168dJGHwl','1147992vdtyVs','6840720VDaKFa','145551ofuBdq','70ztkKXl','5lpLCuO','4068845NPVMzi','constructor','execute','Unequip\x20an\x20item.','toLowerCase','description','write','unequip','\x20unqeuiped\x20','name','3ZeFBJk','51951xKLZkC','logger','toString','search','actor'];a43c=function(){return j;};return a43c();}export class UnequipCommand extends Command{static ['verb']='unqeuip';static [a43h(0x1bc)]=a43h(0x1ba);[a43h(0x1b9)](a){const i=a43h,b=a['join']('\x20')[i(0x1bb)](),c=this[i(0x1c6)][i(0x1be)](b);return this[i(0x1c3)][i(0x1bd)]('UnequipCommand:\x20'+this[i(0x1c6)][i(0x1c0)]+i(0x1bf)+c),c;}}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x173))/0x1*(-parseInt(f(0x171))/0x2)+-parseInt(f(0x184))/0x3+parseInt(f(0x179))/0x4+parseInt(f(0x178))/0x5+parseInt(f(0x177))/0x6+-parseInt(f(0x182))/0x7*(parseInt(f(0x176))/0x8)+parseInt(f(0x180))/0x9*(-parseInt(f(0x175))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x2e202));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x174)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()[h(0x17e)](h(0x181))[h(0x187)]()[h(0x17d)](a43a)[h(0x17e)](h(0x181));});a43a();function a43c(){const k=['search','toLowerCase','206946RpMZdj','(((.+)+)+)+$','3409qksDXB','join','313809xMIGEf','description','unequip','toString','logger','5794BKVtNZ','name','19hJuiVv','apply','70YAwiGm','8DPHCOu','1720416WHMTsB','1051760qEfspk','51732eMbqsi','\x20unqeuiped\x20','UnequipCommand:\x20','verb','constructor'];a43c=function(){return k;};return a43c();}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x171;let f=c[d];return f;},a43d(a,b);}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x17c)]='unqeuip';static [a43i(0x185)]='Unequip\x20an\x20item.';['execute'](a){const j=a43i,b=a[j(0x183)]('\x20')[j(0x17f)](),c=this['actor'][j(0x186)](b);return this[j(0x188)]['write'](j(0x17b)+this['actor'][j(0x172)]+j(0x17a)+c),c;}}
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0xa4))/0x1+parseInt(h(0xb7))/0x2*(parseInt(h(0xb3))/0x3)+-parseInt(h(0xae))/0x4+parseInt(h(0xc3))/0x5+-parseInt(h(0xbd))/0x6*(-parseInt(h(0xb6))/0x7)+parseInt(h(0xb2))/0x8+-parseInt(h(0xad))/0x9*(parseInt(h(0xc4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x7343e));function a44c(){const n=['unlockItemOrSolution','1675345DRaNfZ','1910hzwRQU','toLowerCase','name','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','verb','execute','write','(((.+)+)+)+$','getItem','632574NMKTLy','exits','logger','description','toString','hasItem','length','has','\x20is\x20attempted\x20to\x20unlock\x20','51453bDFeLV','569708CafnXO','unlock','get','UnlockCommand:\x20','649280lOkInM','12606UJkBAa','There\x27s\x20no\x20door\x20named\x20\x22','currentLocation','1220877IMpMIR','64ZtGTjf','inventory','apply','Unlock\x20a\x20door.','actor','\x22\x20here.','18jwvDpn','constructor','error','UnlockCommand:\x20No\x20target\x20specified.','search'];a44c=function(){return n;};return a44c();}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0xa8)]()[j(0xc1)](j(0xa2))[j(0xa8)]()[j(0xbe)](a44a)['search'](j(0xa2));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x9f;let f=c[d];return f;},a44d(a,b);}a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a44k(0x9f)]=a44k(0xaf);static [a44k(0xa7)]=a44k(0xba);[a44k(0xa0)](a){const l=a44k;return this[l(0xaf)](a);}['unlock'](a){const m=a44k;if(a[m(0xaa)]===0x0)return this[m(0xa6)][m(0xbf)](m(0xc0)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][m(0xc5)](),c=this[m(0xbb)][m(0xb5)];if(this['isValidDirection'](b)&&c['exits'][m(0xab)](b)){const d=c[m(0xa5)][m(0xb0)](b);if(d instanceof Door){const e=d[m(0xc2)]?.['toLowerCase']();if(e&&this['actor'][m(0xb8)][m(0xa9)](e)){const f=this['actor'][m(0xb8)][m(0xa3)](e);if(f){const g=c['attemptUnlockExit'](b,f['name']);return this[m(0xa6)]['write'](m(0xb1)+this[m(0xbb)][m(0xc6)]+m(0xac)+b+'.\x20Result:\x20'+g),g;}}return this[m(0xa6)]['write'](m(0xb1)+this[m(0xbb)][m(0xc6)]+m(0xc7)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this['logger'][m(0xa1)](m(0xb1)+b+m(0xc8)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0xbc);}else return this[m(0xa6)][m(0xa1)](m(0xb1)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0xc6)]+'.'),m(0xb4)+b+'\x22\x20here.';}}
1
+ const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x112))/0x1+parseInt(h(0xef))/0x2*(parseInt(h(0x101))/0x3)+parseInt(h(0xf9))/0x4*(-parseInt(h(0x104))/0x5)+parseInt(h(0x10b))/0x6*(-parseInt(h(0xfa))/0x7)+-parseInt(h(0xf0))/0x8+parseInt(h(0xfb))/0x9*(parseInt(h(0xe8))/0xa)+parseInt(h(0xff))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x41fcb));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0xf8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0xeb)]()[j(0xf4)](j(0x100))['toString']()[j(0x105)](a44a)[j(0xf4)](j(0x100));});a44a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xe8;let f=c[d];return f;},a44d(a,b);}export class UnlockCommand extends Command{static [a44k(0xe9)]=a44k(0xf1);static [a44k(0xf5)]='Unlock\x20a\x20door.';[a44k(0x107)](a){const l=a44k;return this[l(0xf1)](a);}[a44k(0xf1)](a){const m=a44k;if(a[m(0x10e)]===0x0)return this[m(0xed)][m(0x103)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0x106);const b=a[0x0]['toLowerCase'](),c=this['actor']['currentLocation'];if(this[m(0x110)](b)&&c[m(0xf6)][m(0xfd)](b)){const d=c['exits'][m(0x102)](b);if(d instanceof Door){const e=d[m(0xf7)]?.[m(0x113)]();if(e&&this[m(0xec)][m(0x111)][m(0xf3)](e)){const f=this['actor']['inventory'][m(0xf2)](e);if(f){const g=c['attemptUnlockExit'](b,f['name']);return this[m(0xed)][m(0xee)]('UnlockCommand:\x20'+this[m(0xec)][m(0x108)]+m(0x10a)+b+m(0x10c)+g),g;}}return this[m(0xed)]['write']('UnlockCommand:\x20'+this['actor'][m(0x108)]+m(0x10f)+b+'.'),m(0x10d);}else return this[m(0xed)][m(0xee)](m(0x109)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x108)]+'.'),m(0xfc)+b+m(0xfe);}else return this[m(0xed)][m(0xee)](m(0x109)+b+m(0xea)+c[m(0x108)]+'.'),m(0xfc)+b+'\x22\x20here.';}}function a44c(){const n=['You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','length','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','isValidDirection','inventory','362488moBGHj','toLowerCase','4132710xJVWGt','verb','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','toString','actor','logger','write','37408soZlcj','2789440uzCHuS','unlock','getItem','hasItem','search','description','exits','unlockItemOrSolution','apply','52NnFMyr','56yWIiSm','9UKcRQa','There\x27s\x20no\x20door\x20named\x20\x22','has','\x22\x20here.','10000463dckGbw','(((.+)+)+)+$','30mQjvDq','get','error','144585UkaqMa','constructor','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','execute','name','UnlockCommand:\x20','\x20is\x20attempted\x20to\x20unlock\x20','114054tNFsbu','.\x20Result:\x20'];a44c=function(){return n;};return a44c();}
@@ -1 +1 @@
1
- const a45i=a45d;function a45c(){const k=['8191665KqXfOq','constructor','write','verb','toString','inventory','search','apply','join','\x27s\x20inventory.','Use\x20an\x20item.','(((.+)+)+)+$','\x20to\x20use.','\x20in\x20this\x20way.','toLowerCase','96RAKDTH','10YJAuNE','execute','95963hzkcfA','2972435DqlLfs','actor','description','2156244XfvZNf','use','4pPRsDY','name','logger','764542JvkTMt','1489640iGCqSZ','UseCommand:\x20','216902yaapuC','\x20not\x20retrieved\x20from\x20','You\x20don\x27t\x20have\x20the\x20'];a45c=function(){return k;};return a45c();}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x7d))/0x1+parseInt(f(0x80))/0x2+parseInt(f(0x78))/0x3*(parseInt(f(0x7a))/0x4)+-parseInt(f(0x75))/0x5+-parseInt(f(0x71))/0x6*(-parseInt(f(0x74))/0x7)+-parseInt(f(0x7e))/0x8+-parseInt(f(0x83))/0x9*(-parseInt(f(0x72))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x64766));function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x70;let f=c[d];return f;},a45d(a,b);}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x8a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x87)]()[h(0x89)](h(0x8e))['toString']()[h(0x84)](a45a)['search'](h(0x8e));});a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0x86)]='use';static [a45i(0x77)]=a45i(0x8d);[a45i(0x73)](a){return this['use'](a);}[a45i(0x79)](a){const j=a45i,b=a[j(0x8b)]('\x20')[j(0x70)]();if(!this[j(0x76)][j(0x88)]['hasItem'](b))return this[j(0x7c)][j(0x85)](j(0x7f)+this[j(0x76)][j(0x7b)]+'\x20attempted\x20to\x20use\x20'+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),j(0x82)+b+j(0x8f);const c=this['actor'][j(0x88)]['getItem'](b);if(!c)return this['logger'][j(0x85)](j(0x7f)+b+j(0x81)+this[j(0x76)]['name']+j(0x8c)),'You\x20don\x27t\x20have\x20the\x20'+b+j(0x8f);if(typeof c['use']==='function'){const d=c['use']();return this[j(0x7c)][j(0x85)](j(0x7f)+this[j(0x76)][j(0x7b)]+'\x20used\x20'+b+'.'),d;}else return this[j(0x7c)][j(0x85)](j(0x7f)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),'You\x20can\x27t\x20use\x20the\x20'+b+j(0x90);}}
1
+ const a45i=a45d;function a45c(){const l=['7IcwoHY','UseCommand:\x20','toLowerCase','\x20to\x20use.','4358550JclnVe','24bTlNwm','40756WEElxq','constructor','write','You\x20can\x27t\x20use\x20the\x20','\x20doesn\x27t\x20have\x20a\x20use\x20method.','8iMZvbE','use','function','apply','inventory','actor','toString','1432833ULUfXy','logger','description','You\x20don\x27t\x20have\x20the\x20','(((.+)+)+)+$',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','\x20attempted\x20to\x20use\x20','68170cTllDv','810mjaRLF','getItem','\x27s\x20inventory.','name','8009665lzeBTo','verb','search','14777950NgPJyv','6046472SrErLu'];a45c=function(){return l;};return a45c();}(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0xe8))/0x1*(-parseInt(f(0xe7))/0x2)+-parseInt(f(0xd1))/0x3*(parseInt(f(0xed))/0x4)+parseInt(f(0xdd))/0x5+parseInt(f(0xe6))/0x6+-parseInt(f(0xe2))/0x7*(-parseInt(f(0xe1))/0x8)+-parseInt(f(0xd9))/0x9*(-parseInt(f(0xd8))/0xa)+-parseInt(f(0xe0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xde281));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a['toString']()[h(0xdf)](h(0xd5))[h(0xd0)]()[h(0xe9)](a45a)[h(0xdf)](h(0xd5));});function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xcf;let f=c[d];return f;},a45d(a,b);}a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0xde)]=a45i(0xee);static [a45i(0xd3)]='Use\x20an\x20item.';['execute'](a){const j=a45i;return this[j(0xee)](a);}[a45i(0xee)](a){const k=a45i,b=a['join']('\x20')[k(0xe4)]();if(!this[k(0xcf)][k(0xf1)]['hasItem'](b))return this[k(0xd2)][k(0xea)](k(0xe3)+this[k(0xcf)][k(0xdc)]+k(0xd7)+b+k(0xd6)),k(0xd4)+b+k(0xe5);const c=this['actor'][k(0xf1)][k(0xda)](b);if(!c)return this[k(0xd2)][k(0xea)](k(0xe3)+b+'\x20not\x20retrieved\x20from\x20'+this[k(0xcf)][k(0xdc)]+k(0xdb)),k(0xd4)+b+k(0xe5);if(typeof c[k(0xee)]===k(0xef)){const d=c[k(0xee)]();return this['logger']['write'](k(0xe3)+this[k(0xcf)][k(0xdc)]+'\x20used\x20'+b+'.'),d;}else return this[k(0xd2)][k(0xea)](k(0xe3)+b+k(0xec)),k(0xeb)+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x1b7))/0x1*(parseInt(f(0x1bb))/0x2)+-parseInt(f(0x1b2))/0x3+parseInt(f(0x1ba))/0x4+parseInt(f(0x1b5))/0x5*(parseInt(f(0x1b1))/0x6)+-parseInt(f(0x1b4))/0x7*(-parseInt(f(0x1be))/0x8)+-parseInt(f(0x1b9))/0x9*(parseInt(f(0x1bd))/0xa)+parseInt(f(0x1b6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x25fff));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x1bc)]()['search'](h(0x1ae))[h(0x1bc)]()[h(0x1b8)](a46a)[h(0x1ad)](h(0x1ae));});a46a();function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a46d(a,b);}function a46c(){const l=['20tZLSWV','2891196QzHIqE','1fnwppL','constructor','18ctABtr','88468heVxHG','467778QWlEUQ','toString','1034660BarQxS','384648cLxiVn','search','(((.+)+)+)+$','createCommand','commandMap','317004JbKROn','564921yXHRDE','apply','42YQYghP'];a46c=function(){return l;};return a46c();}export class CommandFactory{static [a46i(0x1b0)]={};static['registerCommand'](a,b){this['commandMap'][a]=b;}static[a46i(0x1af)](a,b){const j=a46i,c=this[j(0x1b0)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const k=a46i;return this[k(0x1b0)];}}
1
+ const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x1da))/0x1+parseInt(f(0x1d6))/0x2*(parseInt(f(0x1e1))/0x3)+parseInt(f(0x1d5))/0x4+parseInt(f(0x1d4))/0x5*(parseInt(f(0x1df))/0x6)+parseInt(f(0x1d3))/0x7*(parseInt(f(0x1dd))/0x8)+-parseInt(f(0x1e0))/0x9*(-parseInt(f(0x1d8))/0xa)+-parseInt(f(0x1d7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x3ddc6));function a46c(){const m=['2808126jPVhON','92004VRhXrr','commandMap','search','(((.+)+)+)+$','apply','registerCommand','7987jATVXG','10cbWnRQ','680600aewuxH','6JPkClb','3792393Xxxabx','10dFEsue','getAllRegisteredCommands','334006xrNSxn','constructor','toString','392kRyISo','createCommand','906222OYBUfv'];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(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x1dc)]()[h(0x1cf)](h(0x1d0))[h(0x1dc)]()[h(0x1db)](a46a)['search'](h(0x1d0));});a46a();function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a46d(a,b);}export class CommandFactory{static ['commandMap']={};static[a46i(0x1d2)](a,b){const j=a46i;this[j(0x1e2)][a]=b;}static[a46i(0x1de)](a,b){const k=a46i,c=this[k(0x1e2)][a];if(c)return new c(b);return null;}static[a46i(0x1d9)](){const l=a46i;return this[l(0x1e2)];}}
@@ -1 +1 @@
1
- const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=parseInt(f(0x124))/0x1+parseInt(f(0x11c))/0x2*(-parseInt(f(0x114))/0x3)+parseInt(f(0x11b))/0x4*(parseInt(f(0x112))/0x5)+parseInt(f(0x10b))/0x6+-parseInt(f(0x10d))/0x7*(-parseInt(f(0x109))/0x8)+parseInt(f(0x115))/0x9+-parseInt(f(0x125))/0xa*(parseInt(f(0x110))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xe92a2));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a['toString']()['search'](h(0x11a))[h(0x108)]()[h(0x113)](a47a)[h(0x111)](h(0x11a));});a47a();function a47c(){const o=['11ccyUiM','search','5cdLtRx','constructor','153OLHESI','3947976eHHHLJ','INSIDE','helmet','apply','type','(((.+)+)+)+$','2340872jANlag','67516bJaUMI','sword','key','puzzle','boots','bodyarmor','forEach','items','1808214pEeBHB','20997190CXmNmQ','name','legarmor','rewardItem','createPuzzle','createItem','book','convertToRoomConfig','createRoom','isStartRoom','roomType','toString','12392yEdIxh','gloves','11415000ZNcjfE','toUpperCase','189gJxcVX','rifle','description'];a47c=function(){return o;};return a47c();}function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x107;let f=c[d];return f;},a47d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a47i(0x12d)](a){const j=a47i,b=this[j(0x12c)](a),c=new Room(b);if(a[j(0x123)]){const d=new Inventory();a[j(0x123)][j(0x122)](e=>{const k=j;d['addItem'](this[k(0x12a)](e));}),c['inventory']=d;}return a[j(0x11f)]&&c['setPuzzle'](this['createPuzzle'](a[j(0x11f)])),c;}['createItem'](a){const l=a47i;switch(a[l(0x119)]){case l(0x11e):return new Key(a[l(0x126)],a[l(0x10f)]);case l(0x12b):return new Book(a['name'],a['description'],a['content']);case l(0x11d):return new Sword(a[l(0x126)],a[l(0x10f)]);case l(0x10e):return new Rifle(a[l(0x126)],a[l(0x10f)]);case l(0x117):return new Helmet(a[l(0x126)],a['description']);case l(0x121):return new BodyArmor(a['name'],a[l(0x10f)]);case l(0x127):return new LegArmor(a['name'],a[l(0x10f)]);case l(0x120):return new Boots(a['name'],a[l(0x10f)]);case l(0x10a):return new Gloves(a['name'],a['description']);case'gauntlets':return new Gauntlets(a[l(0x126)],a[l(0x10f)]);default:return new BasicItem(a[l(0x126)],a[l(0x10f)]);}}[a47i(0x129)](a){const m=a47i,b=this[m(0x12a)](a[m(0x128)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a47i,b=a[n(0x107)]&&RoomType[a['roomType'][n(0x10c)]()]?RoomType[a[n(0x107)]['toUpperCase']()]:RoomType[n(0x116)];return{'name':a[n(0x126)],'description':a[n(0x10f)],'isStartRoom':a[n(0x12e)],'roomType':b};}}
1
+ const a47j=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0xb5))/0x1+parseInt(f(0xca))/0x2+parseInt(f(0xc8))/0x3+parseInt(f(0xc5))/0x4*(-parseInt(f(0xc6))/0x5)+-parseInt(f(0xc4))/0x6*(-parseInt(f(0xc1))/0x7)+-parseInt(f(0xce))/0x8+-parseInt(f(0xc2))/0x9*(-parseInt(f(0xc9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xae68c));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0xb6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0xba)]()[h(0xbc)]('(((.+)+)+)+$')[h(0xba)]()[h(0xc3)](a47a)[h(0xbc)](h(0xbf));});function a47c(){const n=['key','gloves','toString','isStartRoom','search','roomType','setPuzzle','(((.+)+)+)+$','createItem','928011jtcvJv','166149buoihd','constructor','42JNdOln','2228792FsVEUi','5itxKzX','convertToRoomConfig','3762435bcORkZ','70MWpntu','129640JhcQWj','content','helmet','createPuzzle','671760UPqTKD','toUpperCase','legarmor','name','puzzle','sword','forEach','INSIDE','description','items','1020655ZQjqCo','apply','gauntlets'];a47c=function(){return n;};return a47c();}function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xb5;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{['createRoom'](a){const i=a47d,b=this[i(0xc7)](a),c=new Room(b);if(a[i(0xd7)]){const d=new Inventory();a['items'][i(0xd4)](e=>{d['addItem'](this['createItem'](e));}),c['inventory']=d;}return a[i(0xd2)]&&c[i(0xbe)](this[i(0xcd)](a[i(0xd2)])),c;}[a47j(0xc0)](a){const k=a47j;switch(a['type']){case k(0xb8):return new Key(a[k(0xd1)],a[k(0xd6)]);case'book':return new Book(a['name'],a['description'],a[k(0xcb)]);case k(0xd3):return new Sword(a[k(0xd1)],a[k(0xd6)]);case'rifle':return new Rifle(a[k(0xd1)],a[k(0xd6)]);case k(0xcc):return new Helmet(a[k(0xd1)],a['description']);case'bodyarmor':return new BodyArmor(a[k(0xd1)],a[k(0xd6)]);case k(0xd0):return new LegArmor(a['name'],a[k(0xd6)]);case'boots':return new Boots(a[k(0xd1)],a[k(0xd6)]);case k(0xb9):return new Gloves(a[k(0xd1)],a[k(0xd6)]);case k(0xb7):return new Gauntlets(a[k(0xd1)],a[k(0xd6)]);default:return new BasicItem(a['name'],a[k(0xd6)]);}}[a47j(0xcd)](a){const l=a47j,b=this[l(0xc0)](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a47j(0xc7)](a){const m=a47j,b=a[m(0xbd)]&&RoomType[a['roomType'][m(0xcf)]()]?RoomType[a[m(0xbd)][m(0xcf)]()]:RoomType[m(0xd5)];return{'name':a[m(0xd1)],'description':a['description'],'isStartRoom':a[m(0xbb)],'roomType':b};}}
@@ -1 +1 @@
1
- const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x93))/0x1*(parseInt(h(0x7d))/0x2)+parseInt(h(0x85))/0x3*(parseInt(h(0x6a))/0x4)+-parseInt(h(0x81))/0x5+parseInt(h(0xa0))/0x6+-parseInt(h(0x6f))/0x7*(parseInt(h(0x73))/0x8)+-parseInt(h(0x9b))/0x9+-parseInt(h(0x96))/0xa*(parseInt(h(0x75))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x528ae));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x98)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a['toString']()[j(0x80)](j(0x9e))['toString']()[j(0x8e)](a48a)[j(0x80)](j(0x9e));});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x6a;let f=c[d];return f;},a48d(a,b);}import{SayCommand}from'./commands/say.js';function a48c(){const s=['registerCommand','use','instance','rooms','3lRtDZO','getHelpMessage','getRooms','41390TJywsm','unlock','apply','help','currentRoom','298818JbNNiB','Welcome,\x20','equip','(((.+)+)+)+$','createCommand','901422wuXkuM','2542908QfGQiC','scene','registerCommands','handleInput','unequip','2359cRclaa','getInstance','-\x20clear:\x20Clear\x20the\x20screen.\x0a','say','7792UNrajm','quit','297knTAYJ','drop','lock','split','trim','player','determineStartRoom','slice','84154IKRHwU','name','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','search','504540BqhEqU','execute','currentLocation','getWelcomeMessage','3mqFsEZ','Available\x20Commands:\x0a','maka','look','getDescription','hasOwnProperty','solve','toLowerCase','take','constructor'];a48c=function(){return s;};return a48c();}import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a48k(0x6b)];[a48k(0x7a)];[a48k(0x9a)];[a48k(0x92)];constructor(a,b){const l=a48k;this[l(0x7a)]=a,this[l(0x6b)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x6b)]['initialize'](),this[l(0x7a)][l(0x83)]=this[l(0x7b)](),this[l(0x6c)]();}[a48k(0x6c)](){const m=a48k;CommandFactory[m(0x8f)](m(0x88),LookCommand),CommandFactory[m(0x8f)]('go',GoCommand),CommandFactory[m(0x8f)](m(0x8d),TakeCommand),CommandFactory[m(0x8f)](m(0x90),UseCommand),CommandFactory['registerCommand'](m(0x9d),EquipCommand),CommandFactory[m(0x8f)](m(0x6e),UnequipCommand),CommandFactory[m(0x8f)](m(0x8b),SolveCommand),CommandFactory['registerCommand'](m(0x76),DropCommand),CommandFactory['registerCommand'](m(0x97),UnlockCommand),CommandFactory[m(0x8f)](m(0x77),LockCommand),CommandFactory[m(0x8f)](m(0x80),SearchCommand),CommandFactory['registerCommand'](m(0x72),SayCommand);}[a48k(0x7b)](){const n=a48k;return this['scene'][n(0x7b)]();}[a48k(0x84)](){const o=a48k;return o(0x9c)+this[o(0x7a)][o(0x7e)];}static[a48k(0x70)](a,b){const p=a48k;return!Game[p(0x91)]&&(Game[p(0x91)]=new Game(a,b)),Game['instance'];}[a48k(0x6d)](a){const q=a48k,b=a[q(0x79)]()[q(0x78)]('\x20'),c=b[0x0][q(0x8c)](),d=b[q(0x7c)](0x1);if(c===q(0x74))return null;if(c===q(0x87))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0x99))return this[q(0x94)]();if(c==='clear')return'';const e={'actor':this['player'],'rooms':this[q(0x6b)][q(0x95)](),'scene':this[q(0x6b)]},f=CommandFactory[q(0x9f)](c,e);if(f){const g=f[q(0x82)](d);return g;}return q(0x7f)+c+'\x22.';}[a48k(0x94)](){const r=a48k,a=CommandFactory['getAllRegisteredCommands']();let b=r(0x86);for(const c in a){if(a[r(0x8a)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x89)]()+'\x0a';}}return b+=r(0x71),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
1
+ const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=parseInt(h(0x145))/0x1*(-parseInt(h(0x13a))/0x2)+-parseInt(h(0x133))/0x3*(-parseInt(h(0x140))/0x4)+-parseInt(h(0x137))/0x5+-parseInt(h(0x12a))/0x6+-parseInt(h(0x14b))/0x7+-parseInt(h(0x152))/0x8+parseInt(h(0x157))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x7d475));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x127)]()['search'](j(0x144))[j(0x127)]()[j(0x132)](a48a)[j(0x131)](j(0x144));});a48a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';function a48c(){const s=['rooms','19588689nZoNIG','scene','solve','determineStartRoom','instance','lock','toString','getAllRegisteredCommands','getRooms','5668434Vhqzrq','-\x20clear:\x20Clear\x20the\x20screen.\x0a','handleInput','getHelpMessage','apply','quit','currentRoom','search','constructor','33yQEzzB','currentLocation','unequip','equip','78685XvJgRU','Available\x20Commands:\x0a','use','42atRwCO','registerCommand','player','trim','createCommand','name','292756sVCItO','-\x20quit:\x20Exit\x20the\x20game.\x0a','toLowerCase','registerCommands','(((.+)+)+)+$','41865zkYUxC','take','split','getDescription','clear','Welcome,\x20','2346442eyRfQW','look','unlock','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','maka','slice','help','2348896EJzDmH','initialize','getInstance','execute'];a48c=function(){return s;};return a48c();}import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x125;let f=c[d];return f;},a48d(a,b);}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(0x125)];[a48k(0x158)];[a48k(0x13c)];[a48k(0x130)];[a48k(0x156)];constructor(a,b){const l=a48k;this[l(0x13c)]=a,this[l(0x158)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x158)][l(0x153)](),this[l(0x13c)][l(0x134)]=this['determineStartRoom'](),this[l(0x143)]();}[a48k(0x143)](){const m=a48k;CommandFactory[m(0x13b)](m(0x14c),LookCommand),CommandFactory[m(0x13b)]('go',GoCommand),CommandFactory[m(0x13b)](m(0x146),TakeCommand),CommandFactory[m(0x13b)](m(0x139),UseCommand),CommandFactory[m(0x13b)](m(0x136),EquipCommand),CommandFactory[m(0x13b)](m(0x135),UnequipCommand),CommandFactory[m(0x13b)](m(0x159),SolveCommand),CommandFactory[m(0x13b)]('drop',DropCommand),CommandFactory[m(0x13b)](m(0x14d),UnlockCommand),CommandFactory[m(0x13b)](m(0x126),LockCommand),CommandFactory[m(0x13b)](m(0x131),SearchCommand),CommandFactory[m(0x13b)]('say',SayCommand);}[a48k(0x15a)](){const n=a48k;return this[n(0x158)][n(0x15a)]();}['getWelcomeMessage'](){const o=a48k;return o(0x14a)+this[o(0x13c)][o(0x13f)];}static[a48k(0x154)](a,b){const p=a48k;return!Game[p(0x125)]&&(Game[p(0x125)]=new Game(a,b)),Game[p(0x125)];}[a48k(0x12c)](a){const q=a48k,b=a[q(0x13d)]()[q(0x147)]('\x20'),c=b[0x0][q(0x142)](),d=b[q(0x150)](0x1);if(c===q(0x12f))return null;if(c===q(0x14f))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0x151))return this[q(0x12d)]();if(c===q(0x149))return'';const e={'actor':this[q(0x13c)],'rooms':this[q(0x158)][q(0x129)](),'scene':this['scene']},f=CommandFactory[q(0x13e)](c,e);if(f){const g=f[q(0x155)](d);return g;}return q(0x14e)+c+'\x22.';}['getHelpMessage'](){const r=a48k,a=CommandFactory[r(0x128)]();let b=r(0x138);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x148)]()+'\x0a';}}return b+=r(0x12b),b+=r(0x141),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x1c2))/0x1*(-parseInt(f(0x1c1))/0x2)+-parseInt(f(0x1b5))/0x3+-parseInt(f(0x1bb))/0x4*(parseInt(f(0x1bd))/0x5)+-parseInt(f(0x1b6))/0x6+-parseInt(f(0x1ba))/0x7*(-parseInt(f(0x1bc))/0x8)+parseInt(f(0x1b7))/0x9+parseInt(f(0x1c0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xb05b5));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1be)]()[h(0x1bf)](h(0x1c3))[h(0x1be)]()[h(0x1b9)](a49a)[h(0x1bf)]('(((.+)+)+)+$');});a49a();export*from'./door.js';export*from'./inventory.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1b5;var f=c[d];return f;},a49d(a,b);}export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a49c(){var i=['2792NXBuPt','5cAAzMu','toString','search','5776370dKTFHl','2839558UEuUgs','1HzTMHE','(((.+)+)+)+$','3068025YItDgo','4356312CztbGi','3504852taQWHF','apply','constructor','12026LNPwKO','2061368QeeNdO'];a49c=function(){return i;};return a49c();}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(0x109))/0x1*(parseInt(f(0x111))/0x2)+-parseInt(f(0x10c))/0x3+parseInt(f(0x106))/0x4+-parseInt(f(0x10a))/0x5+parseInt(f(0x10b))/0x6+-parseInt(f(0x107))/0x7*(parseInt(f(0x108))/0x8)+parseInt(f(0x105))/0x9*(parseInt(f(0x110))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x7425b));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x10f)]()['search'](h(0x10e))['toString']()[h(0x10d)](a49a)[h(0x112)](h(0x10e));});a49a();function a49c(){var i=['1703836QQlRhu','search','apply','9voJPAG','3113032iucViD','9233TrzWNr','5224GvOdlI','1UZyQmS','330915IhLpso','2234778ayhbrS','2698281jpxgcF','constructor','(((.+)+)+)+$','toString','3000170fCtrCw'];a49c=function(){return i;};return a49c();}export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x105;var f=c[d];return f;},a49d(a,b);}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(0x108))/0x1*(parseInt(f(0x114))/0x2)+-parseInt(f(0x10a))/0x3+parseInt(f(0x10c))/0x4+-parseInt(f(0x100))/0x5+-parseInt(f(0x101))/0x6*(parseInt(f(0x105))/0x7)+parseInt(f(0xfe))/0x8+parseInt(f(0x11a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x939f2));function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0xfc;var f=c[d];return f;},a50d(a,b);}var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x119)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x116)]()['search']('(((.+)+)+)+$')[h(0x116)]()[h(0xff)](a50a)[h(0x118)](h(0x104));});function a50c(){var n=['name','isLocked','attemptUnlock','.\x20Is\x20Locked:\x20','To\x20','230IhHBdi','logger','toString','isLockable','search','apply','24670053XHTHZJ','Door\x20unlocked:\x20','getInstance','checkIfLockable','877440YHJKeZ','constructor','5476055YlVFyB','348dNJwRa','.\x20Used:\x20','roomB','(((.+)+)+)+$','29365sZaetP','checkIfLocked','getOtherSide','3734rlhSYH','roomA','2582976ivWiHf','\x20and\x20','1531136ItlARh','unlockItemOrSolution','write'];a50c=function(){return n;};return a50c();}a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a50i(0x103)];['isLocked'];[a50i(0x10d)];['name'];[a50i(0x115)];['isLockable'];constructor(a){var j=a50i;super(),this[j(0x109)]=a['roomA'],this['roomB']=a[j(0x103)],this[j(0x110)]=a[j(0x110)]||![],this[j(0x10d)]=a[j(0x10d)],this[j(0x10f)]=a[j(0x10f)]?capitalCase(a[j(0x10f)]):j(0x113)+a[j(0x103)][j(0x10f)],this[j(0x115)]=Logger[j(0xfc)](),this[j(0x117)]=!!a['unlockItemOrSolution'],this[j(0x115)][j(0x10e)]('Door\x20created\x20between\x20'+this['roomA']['name']+j(0x10b)+this['roomB'][j(0x10f)]+j(0x112)+this[j(0x110)]);}[a50i(0x107)](a){var k=a50i;return this[k(0x109)]===a?this[k(0x103)]:this[k(0x109)];}[a50i(0x111)](a){var l=a50i;if(this[l(0x110)]&&this[l(0x10d)]&&this[l(0x10d)]===a)return this['isLocked']=![],this['logger'][l(0x10e)](l(0x11b)+this[l(0x10f)]+'.\x20Used:\x20'+a),!![];return this[l(0x115)][l(0x10e)]('Failed\x20to\x20unlock\x20door:\x20'+this[l(0x10f)]+l(0x102)+a),![];}[a50i(0x106)](){return this['isLocked'];}[a50i(0xfd)](){var m=a50i;return this[m(0x117)];}}
1
+ var a50i=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=parseInt(f(0x192))/0x1+-parseInt(f(0x18f))/0x2*(-parseInt(f(0x190))/0x3)+parseInt(f(0x181))/0x4*(-parseInt(f(0x183))/0x5)+parseInt(f(0x198))/0x6+parseInt(f(0x18c))/0x7+-parseInt(f(0x188))/0x8+-parseInt(f(0x195))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x3a935));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a50d;if(c){var e=c[g(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var h=a50d;return a50a[h(0x187)]()[h(0x19c)](h(0x18a))['toString']()[h(0x19a)](a50a)[h(0x19c)](h(0x18a));});a50a();function a50c(){var o=['search','181500QTCjgq','Failed\x20to\x20unlock\x20door:\x20','5ouvqjF','roomA','getInstance','isLockable','toString','270848uYZPes','checkIfLocked','(((.+)+)+)+$','logger','2910992pbavTW','Door\x20created\x20between\x20','unlockItemOrSolution','13540BFpbUW','117przjNq','name','406088pUtAUm','write','roomB','8654238qPMunX','.\x20Used:\x20','Door\x20unlocked:\x20','1168584CwOAEe','isLocked','constructor','apply'];a50c=function(){return o;};return a50c();}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x181;var f=c[d];return f;},a50d(a,b);}import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50i(0x184)];[a50i(0x194)];[a50i(0x199)];['unlockItemOrSolution'];[a50i(0x191)];[a50i(0x18b)];[a50i(0x186)];constructor(a){var j=a50i;super(),this[j(0x184)]=a[j(0x184)],this[j(0x194)]=a[j(0x194)],this['isLocked']=a['isLocked']||![],this['unlockItemOrSolution']=a[j(0x18e)],this[j(0x191)]=a[j(0x191)]?capitalCase(a[j(0x191)]):'To\x20'+a[j(0x194)][j(0x191)],this[j(0x18b)]=Logger[j(0x185)](),this[j(0x186)]=!!a[j(0x18e)],this[j(0x18b)][j(0x193)](j(0x18d)+this['roomA']['name']+'\x20and\x20'+this[j(0x194)][j(0x191)]+'.\x20Is\x20Locked:\x20'+this[j(0x199)]);}['getOtherSide'](a){var k=a50i;return this['roomA']===a?this[k(0x194)]:this[k(0x184)];}['attemptUnlock'](a){var l=a50i;if(this[l(0x199)]&&this[l(0x18e)]&&this[l(0x18e)]===a)return this[l(0x199)]=![],this[l(0x18b)][l(0x193)](l(0x197)+this['name']+'.\x20Used:\x20'+a),!![];return this['logger'][l(0x193)](l(0x182)+this['name']+l(0x196)+a),![];}[a50i(0x189)](){var m=a50i;return this[m(0x199)];}['checkIfLockable'](){var n=a50i;return this[n(0x186)];}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x89))/0x1+parseInt(f(0x9a))/0x2*(parseInt(f(0xb0))/0x3)+-parseInt(f(0xac))/0x4*(parseInt(f(0xad))/0x5)+parseInt(f(0x9b))/0x6+parseInt(f(0xaa))/0x7+parseInt(f(0xa6))/0x8+parseInt(f(0x8f))/0x9*(-parseInt(f(0xa5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xf2a42));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x88;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(0x98)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x90)]()['search'](h(0x9f))[h(0x90)]()['constructor'](a51a)[h(0xa0)](h(0x9f));});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x95)];['logger'];constructor(){const j=a51i;super(),this[j(0x95)]=new Map(),this[j(0xab)]=Logger[j(0x92)]();}[a51i(0xa1)](a){const k=a51i;this['items']['set'](a[k(0x91)][k(0x96)](),a),this[k(0xab)][k(0x88)](k(0x99)+a['name']+k(0xa8));}[a51i(0x93)](a){const l=a51i,b=this['getItem'](a);if(b)return this['items'][l(0x8d)](a[l(0x96)]()),this[l(0xab)][l(0x88)](l(0xaf)+a+l(0xa2)),b;return this[l(0xab)][l(0x88)]('Failed\x20to\x20remove\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),null;}['hasItem'](a){const m=a51i,b=this['items'][m(0x8e)](a['toLowerCase']()),c=[...this[m(0x95)][m(0xa4)]()];return this[m(0xab)][m(0x88)](m(0x94)+a+'\x20in\x20'+c[m(0x9c)](',\x20')+m(0x8b)+b+'.'),b;}[a51i(0x9d)](a){const n=a51i,b=this[n(0x95)][n(0x8a)](a[n(0x96)]())||null;return b?this[n(0xab)]['write']('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0xab)][n(0x88)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+n(0xa3)),b;}[a51i(0x9e)](){const o=a51i,a=[...this[o(0x95)][o(0xa4)]()],b=a[o(0xae)](c=>capitalCase(c));return this[o(0xab)][o(0x88)]('Listed\x20items\x20in\x20inventory:\x20'+b['join'](',\x20')+'.'),a;}[a51i(0x97)](){const p=a51i;let a=0x0;for(const b of this[p(0x95)][p(0xa9)]()){a+=b[p(0x8c)];}return a;}[a51i(0xa7)](){const q=a51i;return[...this[q(0x95)][q(0xa9)]()];}}function a51c(){const r=['addItem','\x20from\x20inventory.','.\x20Item\x20not\x20found.','keys','10NikQJW','3100960IOJgiF','getAllItems','\x20to\x20inventory.','values','4232039sQISly','logger','1329948YWSwIL','5ArNBIF','map','Removed\x20item:\x20','4520307akygve','write','584417JCcspq','get','.\x20Exists:\x20','weight','delete','has','14841531DfrYlJ','toString','name','getInstance','removeItem','Checked\x20for\x20item:\x20','items','toLowerCase','getWeight','apply','Added\x20item:\x20','2tpxiYe','6365130PtgEkk','join','getItem','listItems','(((.+)+)+)+$','search'];a51c=function(){return r;};return a51c();}
1
+ function a51c(){const r=['1118324QHDOYH','weight','logger','removeItem','apply','write','values','Listed\x20items\x20in\x20inventory:\x20','79310oYWdwG','set','map','24JDJvyN','930nooeUF','getAllItems','3uMPpEE','21580wLQoaf','\x20to\x20inventory.','Failed\x20to\x20remove\x20item:\x20','join','constructor','getInstance','7721928tCBMEy','items','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','2sNchst','1675079qgUkBV','addItem','1434JjfpLV','keys','(((.+)+)+)+$','listItems','Checked\x20for\x20item:\x20','\x20in\x20','get','8732mbbLhe','getWeight','Removed\x20item:\x20','has','toString','24oSUFKP','toLowerCase','search','1294553jXUEDa','.\x20Item\x20not\x20found.'];a51c=function(){return r;};return a51c();}const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0xf2))/0x1*(-parseInt(f(0x10a))/0x2)+-parseInt(f(0x100))/0x3*(-parseInt(f(0x114))/0x4)+parseInt(f(0x101))/0x5*(-parseInt(f(0x10d))/0x6)+-parseInt(f(0x10b))/0x7*(parseInt(f(0xfd))/0x8)+parseInt(f(0x107))/0x9+-parseInt(f(0xfe))/0xa*(-parseInt(f(0xfa))/0xb)+parseInt(f(0x119))/0xc*(-parseInt(f(0xf0))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xab024));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x118)]()[h(0xef)](h(0x10f))[h(0x118)]()[h(0x105)](a51a)['search']('(((.+)+)+)+$');});a51a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xef;let f=c[d];return f;},a51d(a,b);}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0x108)];[a51i(0xf4)];constructor(){const j=a51i;super(),this[j(0x108)]=new Map(),this[j(0xf4)]=Logger[j(0x106)]();}[a51i(0x10c)](a){const k=a51i;this['items'][k(0xfb)](a['name'][k(0x11a)](),a),this[k(0xf4)][k(0xf7)]('Added\x20item:\x20'+a['name']+k(0x102));}[a51i(0xf5)](a){const l=a51i,b=this['getItem'](a);if(b)return this['items']['delete'](a[l(0x11a)]()),this[l(0xf4)][l(0xf7)](l(0x116)+a+'\x20from\x20inventory.'),b;return this[l(0xf4)][l(0xf7)](l(0x103)+a+l(0xf1)),null;}['hasItem'](a){const m=a51i,b=this['items'][m(0x117)](a[m(0x11a)]()),c=[...this[m(0x108)][m(0x10e)]()];return this[m(0xf4)][m(0xf7)](m(0x111)+a+m(0x112)+c[m(0x104)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}['getItem'](a){const n=a51i,b=this[n(0x108)][n(0x113)](a[n(0x11a)]())||null;return b?this[n(0xf4)][n(0xf7)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0xf4)][n(0xf7)](n(0x109)+a+n(0xf1)),b;}[a51i(0x110)](){const o=a51i,a=[...this['items'][o(0x10e)]()],b=a[o(0xfc)](c=>capitalCase(c));return this[o(0xf4)][o(0xf7)](o(0xf9)+b['join'](',\x20')+'.'),a;}[a51i(0x115)](){const p=a51i;let a=0x0;for(const b of this[p(0x108)][p(0xf8)]()){a+=b[p(0xf3)];}return a;}[a51i(0xff)](){const q=a51i;return[...this[q(0x108)][q(0xf8)]()];}}
@@ -1 +1 @@
1
- function a52c(){var l=['uuid','toString','search','apply','category','254954gotxsh','weight','size','2932dMxgNR','description','(((.+)+)+)+$','name','2541YSRZVD','You\x20use\x20the\x20','203709ziLPiM','texture','910jeqEQR','4693437wtykSA','20184VClxOv','constructor','rating','469NlZfly','shape','1986162jEMdhr','.\x20Nothing\x20special\x20happens.','color','5mIsFSg','178144RufKuU'];a52c=function(){return l;};return a52c();}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x169))/0x1+parseInt(f(0x163))/0x2+parseInt(f(0x154))/0x3*(-parseInt(f(0x16c))/0x4)+-parseInt(f(0x162))/0x5*(parseInt(f(0x15f))/0x6)+parseInt(f(0x15d))/0x7*(-parseInt(f(0x15a))/0x8)+-parseInt(f(0x159))/0x9+-parseInt(f(0x158))/0xa*(-parseInt(f(0x156))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x5e71b));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x167)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x165)]()[h(0x166)](h(0x16e))[h(0x165)]()[h(0x15b)](a52a)[h(0x166)](h(0x16e));});a52a();import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x154;var f=c[d];return f;},a52d(a,b);}export class Item extends AbstractItem{[a52i(0x164)];[a52i(0x16f)];[a52i(0x16d)];[a52i(0x16b)];[a52i(0x168)];[a52i(0x15e)];[a52i(0x161)];['texture'];['rating'];[a52i(0x16a)];constructor(a){var j=a52i;super(),this[j(0x16f)]=a[j(0x16f)],this[j(0x16d)]=a[j(0x16d)],this[j(0x16b)]=a[j(0x16b)],this[j(0x168)]=a[j(0x168)],this[j(0x15e)]=a[j(0x15e)],this[j(0x161)]=a[j(0x161)],this[j(0x157)]=a[j(0x157)],this[j(0x15c)]=a[j(0x15c)],this['weight']=a[j(0x16a)],this[j(0x164)]=a52e();}['use'](){var k=a52i;return k(0x155)+this[k(0x16f)]+k(0x160);}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1ea))/0x1+-parseInt(f(0x1e3))/0x2+-parseInt(f(0x1f0))/0x3+parseInt(f(0x1f4))/0x4*(-parseInt(f(0x1fa))/0x5)+parseInt(f(0x1e5))/0x6+-parseInt(f(0x1ef))/0x7*(-parseInt(f(0x1f8))/0x8)+-parseInt(f(0x1f9))/0x9*(-parseInt(f(0x1e6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xb3fff));function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1e2;var f=c[d];return f;},a52d(a,b);}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1ed)]()['search'](h(0x1f1))[h(0x1ed)]()[h(0x1ee)](a52a)[h(0x1f3)]('(((.+)+)+)+$');});a52a();function a52c(){var l=['color','search','28qgxoDy','name','description','texture','3521816qsZYKm','14221764AerAbd','283990pPNpxN','use','shape','size','rating','732740PhJdNX','apply','4856868GTbzcX','10onhHht','You\x20use\x20the\x20','uuid','weight','12442TKuPit','.\x20Nothing\x20special\x20happens.','category','toString','constructor','7xFNZER','3948672KPdLyp','(((.+)+)+)+$'];a52c=function(){return l;};return a52c();}import{v4 as a52e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];['name'];[a52i(0x1f6)];[a52i(0x1fd)];[a52i(0x1ec)];[a52i(0x1fc)];[a52i(0x1f2)];[a52i(0x1f7)];[a52i(0x1e2)];['weight'];constructor(a){var j=a52i;super(),this[j(0x1f5)]=a['name'],this[j(0x1f6)]=a['description'],this[j(0x1fd)]=a['size'],this['category']=a['category'],this[j(0x1fc)]=a[j(0x1fc)],this['color']=a[j(0x1f2)],this[j(0x1f7)]=a[j(0x1f7)],this[j(0x1e2)]=a['rating'],this['weight']=a[j(0x1e9)],this[j(0x1e8)]=a52e();}[a52i(0x1fb)](){var k=a52i;return k(0x1e7)+this[k(0x1f5)]+k(0x1eb);}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x125))/0x1+parseInt(f(0x124))/0x2+parseInt(f(0x12a))/0x3*(parseInt(f(0x12b))/0x4)+parseInt(f(0x139))/0x5+parseInt(f(0x126))/0x6+-parseInt(f(0x131))/0x7+parseInt(f(0x12c))/0x8*(-parseInt(f(0x129))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xa81b8));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x138)]()[h(0x12e)](h(0x130))[h(0x138)]()['constructor'](a53a)[h(0x12e)]('(((.+)+)+)+$');});a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x124;let f=c[d];return f;},a53d(a,b);}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0x136)];[a53i(0x12f)];[a53i(0x127)];[a53i(0x128)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x136)]=a,this[j(0x12f)]=b,this['rooms']=c;}get['name'](){const k=a53i;return this[k(0x136)];}[a53i(0x135)](){const l=a53i;return this[l(0x12f)][Math['floor'](Math['random']()*this[l(0x12f)]['length'])];}[a53i(0x137)](a){const m=a53i,b=a[Math[m(0x12d)](Math[m(0x134)]()*a[m(0x132)])];this['moveTo'](b[m(0x133)]);}['moveTo'](a){const n=a53i,b={'actor':this,'rooms':this['rooms'],'scene':this[n(0x128)]},c=new GoCommand(b);c['execute']([a]);}}function a53c(){const o=['(((.+)+)+)+$','2409162pgPCYj','length','name','random','speak','_name','autonomousMove','toString','2285655FBisuc','apply','88718EYnxgU','1212751elxBLe','7903734ssjsCw','rooms','scene','315aodFTc','56847THvkEp','136SydvcQ','49728XkazlM','floor','search','_dialogue'];a53c=function(){return o;};return a53c();}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x13b))/0x1*(parseInt(f(0x149))/0x2)+-parseInt(f(0x13e))/0x3+-parseInt(f(0x140))/0x4+parseInt(f(0x141))/0x5+parseInt(f(0x150))/0x6+parseInt(f(0x144))/0x7*(parseInt(f(0x14a))/0x8)+parseInt(f(0x13c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xafd77));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x13d)]()[h(0x13a)](h(0x147))[h(0x13d)]()['constructor'](a53a)[h(0x13a)](h(0x147));});function a53c(){const o=['scene','moveTo','rooms','random','speak','7752540SfDAZH','_dialogue','apply','search','472121iPqHiC','3534075GmZDkw','toString','873462dYuAft','floor','2645664zbxEtA','6153840pxjpEw','name','length','7IOOcMq','execute','autonomousMove','(((.+)+)+)+$','_name','6HraIAi','1389176vrtchc'];a53c=function(){return o;};return a53c();}a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x138;let f=c[d];return f;},a53d(a,b);}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0x148)];[a53i(0x138)];['rooms'];[a53i(0x14b)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0x148)]=a,this[j(0x138)]=b,this[j(0x14d)]=c;}get[a53i(0x142)](){const k=a53i;return this[k(0x148)];}[a53i(0x14f)](){const l=a53i;return this['_dialogue'][Math[l(0x13f)](Math[l(0x14e)]()*this['_dialogue'][l(0x143)])];}[a53i(0x146)](a){const m=a53i,b=a[Math['floor'](Math['random']()*a[m(0x143)])];this[m(0x14c)](b[m(0x142)]);}['moveTo'](a){const n=a53i,b={'actor':this,'rooms':this[n(0x14d)],'scene':this[n(0x14b)]},c=new GoCommand(b);c[n(0x145)]([a]);}}
@@ -1 +1 @@
1
- function a54c(){const B=['search','inventoryItems','category','feet','arms','32979942ZpyASU','determineEquipmentSlot','maxCarryingWeight','\x20is\x20now\x20listening\x20in\x20room\x20','addItem','removeItem','.\x20You\x20must\x20unequip\x20it\x20first.','Nexus','apply','arm\x20armor','inventory','Removed\x20','write','4645232LgULyC','A\x20featureless\x20room','BodyArmor','You\x20can\x27t\x20equip\x20','addInventory','_equipment','leg\x20armor','includes','Weapon','head','leaveRoom','You\x20equipped\x20','unequip','getInstance','10dulDuX','currentLocation','LegArmor','toString','rightHand','5866112qxwzlu','canEquip','Helmet','Max\x20carrying\x20weight\x20must\x20be\x20positive.','7135896CbSbrV','_inventory','Invalid\x20category\x20or\x20slot:\x20','Boots','toLowerCase','You\x20don\x27t\x20have\x20','3BFfhsI','torso','name','enterRoom','armarmor','logger','initialEquipment','\x20from\x20player\x27s\x20inventory.','legs','hasItem','hat','_currentLocation','legarmor','_maxCarryingWeight','startLocation','You\x20unequipped\x20','Hat','4AwetXY','boots','weight','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','Failed\x20to\x20remove\x20','Gloves','gloves','ArmArmor','Shield','playerName','\x20says:\x20\x22','\x20to\x20player\x27s\x20inventory.','\x20slot.','getWeight','bind','8173200ErXbpj','\x20in\x20your\x20inventory.','3871885hOBADH','equipment','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','currentWeight','(((.+)+)+)+$','_playerName','body\x20armor','speak','hear','unequipBySlot','removeInventory','constructor','181464JlXVDs'];a54c=function(){return B;};return a54c();}const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0x23f))/0x1*(parseInt(f(0x222))/0x2)+-parseInt(f(0x211))/0x3*(-parseInt(f(0x1f4))/0x4)+-parseInt(f(0x233))/0x5+-parseInt(f(0x20b))/0x6+-parseInt(f(0x231))/0x7+-parseInt(f(0x207))/0x8+-parseInt(f(0x1e7))/0x9*(-parseInt(f(0x202))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x920f5));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x1ef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x205)]()[h(0x240)](h(0x237))[h(0x205)]()[h(0x23e)](a54a)['search'](h(0x237));});a54a();function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1e7;let f=c[d];return f;},a54d(a,b);}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0x238)];[a54i(0x21c)];['_inventory'];[a54i(0x1f9)];['_maxCarryingWeight']=0x32;[a54i(0x216)];constructor(a){const j=a54i;super(),this[j(0x238)]=a[j(0x22b)],this['_currentLocation']=a[j(0x21f)]||new Room({'name':j(0x1ee),'description':j(0x1f5)}),this[j(0x20c)]=new Inventory(),this[j(0x216)]=Logger[j(0x201)]();if(a?.[j(0x241)])for(const b of a[j(0x241)]){this[j(0x20c)][j(0x1eb)](b);}this['_equipment']=a?.[j(0x217)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a54i;return this[k(0x238)];}get['currentLocation'](){return this['_currentLocation'];}set[a54i(0x203)](a){const l=a54i;this[l(0x21c)]!==a&&(this[l(0x1fe)](),this[l(0x214)](a)),this['_currentLocation']=a;}get[a54i(0x1f1)](){const m=a54i;return this[m(0x20c)];}get[a54i(0x234)](){const n=a54i;return this[n(0x1f9)];}set[a54i(0x234)](a){this['_equipment']=a;}get[a54i(0x1e9)](){const o=a54i;return this[o(0x21e)];}set['maxCarryingWeight'](a){const p=a54i;a>0x0?this[p(0x21e)]=a:console['error'](p(0x20a));}get[a54i(0x236)](){const q=a54i;let a=this[q(0x20c)][q(0x22f)]();for(const b in this['_equipment']){const c=this[q(0x1f9)][b];c&&(a+=c[q(0x224)]);}return a;}[a54i(0x1f8)](a){const r=a54i;if(this[r(0x236)]+a[r(0x224)]>this['maxCarryingWeight']){this[r(0x216)][r(0x1f3)](r(0x225));throw new Error(r(0x235));}this['_inventory'][r(0x1eb)](a),this[r(0x216)][r(0x1f3)]('Added\x20'+a[r(0x213)]+r(0x22d));}[a54i(0x23d)](a){const s=a54i;if(this[s(0x20c)][s(0x1ec)](a[s(0x213)]))return this[s(0x216)][s(0x1f3)](s(0x1f2)+a[s(0x213)]+s(0x218)),!![];return this[s(0x216)][s(0x1f3)](s(0x226)+a['name']+s(0x218)),![];}['equip'](a){const t=a54i;if(!this[t(0x20c)][t(0x21a)](a[t(0x213)]))return t(0x210)+a[t(0x213)]+t(0x232);if(!this[t(0x208)](a))return t(0x1f7)+a[t(0x213)]+'.';const b=this[t(0x1e8)](a[t(0x242)]);if(!b)return a['name']+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[t(0x234)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+t(0x1ed);return this[t(0x234)][b]=a,this[t(0x23d)](a),t(0x1ff)+a[t(0x213)]+'.';}[a54i(0x200)](a){const u=a54i;let b=a;if(!this[u(0x234)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return u(0x20d)+a+'.';}return this[u(0x23c)](b);}[a54i(0x1e8)](a){const v=a54i;switch(a['toLowerCase']()){case Category[v(0x1fc)][v(0x20f)]():return v(0x206);case Category[v(0x22a)][v(0x20f)]():return'leftHand';case Category[v(0x227)][v(0x20f)]():return v(0x228);case Category[v(0x209)][v(0x20f)]():case Category[v(0x221)][v(0x20f)]():return v(0x1fd);case Category[v(0x20e)][v(0x20f)]():return v(0x243);case Category[v(0x204)][v(0x20f)]():return v(0x219);case Category[v(0x229)]['toLowerCase']():return v(0x244);case Category[v(0x1f6)][v(0x20f)]():return v(0x212);case'weapon':return v(0x206);case'shield':return'leftHand';case v(0x228):return v(0x228);case'helmet':case v(0x21b):return v(0x1fd);case v(0x223):return'feet';case v(0x1fa):case v(0x21d):return v(0x219);case v(0x1f0):case v(0x215):return v(0x244);case v(0x239):case'bodyarmor':case'torso':return v(0x212);default:return null;}}['canEquip'](a){const w=a54i;return Object['values'](Category)[w(0x1fb)](a['category']);}[a54i(0x23c)](a){const x=a54i,b=this[x(0x234)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+x(0x22e);return this['addInventory'](b),this[x(0x234)][a]=null,x(0x220)+b[x(0x213)]+'.';}['hear'](a,b){const y=a54i;a!==this&&this[y(0x216)]['log'](a[y(0x213)]+y(0x22c)+b+'\x22');}[a54i(0x214)](a){const z=a54i;this[z(0x21c)]=a,a['on']('speak',this[z(0x23b)][z(0x230)](this)),this[z(0x216)][z(0x1f3)](this[z(0x213)]+z(0x1ea)+a[z(0x213)]);}[a54i(0x1fe)](){const A=a54i;this['_currentLocation']&&(this[A(0x21c)]['off'](A(0x23a),this[A(0x23b)][A(0x230)](this)),this[A(0x216)][A(0x1f3)](this[A(0x213)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this['_currentLocation']['name']));}}
1
+ const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x137))/0x1+-parseInt(f(0xfe))/0x2+parseInt(f(0x140))/0x3*(-parseInt(f(0x142))/0x4)+-parseInt(f(0x106))/0x5*(-parseInt(f(0x10b))/0x6)+-parseInt(f(0x12e))/0x7+-parseInt(f(0x146))/0x8+-parseInt(f(0xf5))/0x9*(-parseInt(f(0x136))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x4bbb3));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x13b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x126)]()[h(0x149)](h(0x135))['toString']()['constructor'](a54a)[h(0x149)](h(0x135));});a54a();function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xe8;let f=c[d];return f;},a54d(a,b);}function a54c(){const C=['3584472pRoIdG','Shield','initialEquipment','legarmor','name','\x20slot.','You\x20unequipped\x20','arm\x20armor','\x20is\x20no\x20longer\x20listeng\x20in\x20','unequipBySlot','bind','speak','category','bodyarmor','leftHand','\x20in\x20your\x20inventory.','hasItem','values','LegArmor','canEquip','rightHand','Removed\x20','_currentLocation','Gloves','Boots','legs','log','toString','currentLocation','shield','weapon','maxCarryingWeight','inventoryItems','removeItem','logger','390229TWfaHZ','arms','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','equipment','You\x20don\x27t\x20have\x20','Nexus','gloves','(((.+)+)+)+$','101590qtLFzK','101855fEBGGM','armarmor','removeInventory','write','apply','body\x20armor','weight','A\x20featureless\x20room','_maxCarryingWeight','1576239YcyIpk','You\x20can\x27t\x20equip\x20','4QECEZQ','.\x20You\x20must\x20unequip\x20it\x20first.','determineEquipmentSlot','enterRoom','3815824SKByEF','unequip','ArmArmor','search','feet','off','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','toLowerCase','helmet','torso','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','BodyArmor','getInstance','playerName','startLocation','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','\x20from\x20player\x27s\x20inventory.','819InHSkb','currentWeight','\x20is\x20now\x20listening\x20in\x20room\x20','Added\x20','Hat','\x20says:\x20\x22','Invalid\x20category\x20or\x20slot:\x20','inventory','hat','510806xsrpWv','Weapon','_equipment','addItem','Max\x20carrying\x20weight\x20must\x20be\x20positive.','leaveRoom','leg\x20armor','error','5qwBiaF','head','_playerName','_inventory','hear'];a54c=function(){return C;};return a54c();}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{['_playerName'];['_currentLocation'];['_inventory'];[a54i(0x100)];[a54i(0x13f)]=0x32;[a54i(0x12d)];constructor(a){const j=a54i;super(),this[j(0x108)]=a[j(0xf1)],this[j(0x121)]=a[j(0xf2)]||new Room({'name':j(0x133),'description':j(0x13e)}),this['_inventory']=new Inventory(),this[j(0x12d)]=Logger[j(0xf0)]();if(a?.[j(0x12b)])for(const b of a[j(0x12b)]){this[j(0x109)][j(0x101)](b);}this[j(0x100)]=a?.[j(0x10d)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a54i;return this[k(0x108)];}get[a54i(0x127)](){const l=a54i;return this[l(0x121)];}set['currentLocation'](a){const m=a54i;this[m(0x121)]!==a&&(this['leaveRoom'](),this[m(0x145)](a)),this[m(0x121)]=a;}get[a54i(0xfc)](){const n=a54i;return this[n(0x109)];}get[a54i(0x131)](){const o=a54i;return this[o(0x100)];}set[a54i(0x131)](a){const p=a54i;this[p(0x100)]=a;}get['maxCarryingWeight'](){return this['_maxCarryingWeight'];}set['maxCarryingWeight'](a){const q=a54i;a>0x0?this['_maxCarryingWeight']=a:console[q(0x105)](q(0x102));}get['currentWeight'](){const r=a54i;let a=this[r(0x109)]['getWeight']();for(const b in this[r(0x100)]){const c=this[r(0x100)][b];c&&(a+=c[r(0x13d)]);}return a;}['addInventory'](a){const s=a54i;if(this[s(0xf6)]+a[s(0x13d)]>this[s(0x12a)]){this['logger'][s(0x13a)](s(0x130));throw new Error(s(0xf3));}this[s(0x109)][s(0x101)](a),this[s(0x12d)][s(0x13a)](s(0xf8)+a['name']+'\x20to\x20player\x27s\x20inventory.');}['removeInventory'](a){const t=a54i;if(this['_inventory'][t(0x12c)](a['name']))return this['logger']['write'](t(0x120)+a[t(0x10f)]+t(0xf4)),!![];return this['logger']['write']('Failed\x20to\x20remove\x20'+a[t(0x10f)]+t(0xf4)),![];}['equip'](a){const u=a54i;if(!this[u(0x109)][u(0x11b)](a[u(0x10f)]))return u(0x132)+a[u(0x10f)]+u(0x11a);if(!this['canEquip'](a))return u(0x141)+a[u(0x10f)]+'.';const b=this[u(0x144)](a[u(0x117)]);if(!b)return a['name']+u(0xea);if(this['equipment'][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+u(0x143);return this[u(0x131)][b]=a,this[u(0x139)](a),'You\x20equipped\x20'+a['name']+'.';}[a54i(0x147)](a){const v=a54i;let b=a;if(!this[v(0x131)][camelCase(b)]){b=this[v(0x144)](a);if(!b)return v(0xfb)+a+'.';}return this[v(0x114)](b);}[a54i(0x144)](a){const w=a54i;switch(a[w(0xeb)]()){case Category[w(0xff)][w(0xeb)]():return w(0x11f);case Category[w(0x10c)][w(0xeb)]():return'leftHand';case Category[w(0x122)][w(0xeb)]():return w(0x134);case Category['Helmet'][w(0xeb)]():case Category[w(0xf9)][w(0xeb)]():return w(0x107);case Category[w(0x123)]['toLowerCase']():return'feet';case Category[w(0x11d)]['toLowerCase']():return'legs';case Category[w(0x148)][w(0xeb)]():return'arms';case Category[w(0xef)][w(0xeb)]():return w(0xed);case w(0x129):return'rightHand';case w(0x128):return w(0x119);case w(0x134):return w(0x134);case w(0xec):case w(0xfd):return w(0x107);case'boots':return w(0xe8);case w(0x104):case w(0x10e):return w(0x124);case w(0x112):case w(0x138):return w(0x12f);case w(0x13c):case w(0x118):case w(0xed):return'torso';default:return null;}}[a54i(0x11e)](a){const x=a54i;return Object[x(0x11c)](Category)['includes'](a[x(0x117)]);}[a54i(0x114)](a){const y=a54i,b=this[y(0x131)][a];if(!b)return y(0xee)+a+y(0x110);return this['addInventory'](b),this['equipment'][a]=null,y(0x111)+b['name']+'.';}[a54i(0x10a)](a,b){const z=a54i;a!==this&&this[z(0x12d)][z(0x125)](a[z(0x10f)]+z(0xfa)+b+'\x22');}[a54i(0x145)](a){const A=a54i;this[A(0x121)]=a,a['on'](A(0x116),this[A(0x10a)][A(0x115)](this)),this['logger'][A(0x13a)](this[A(0x10f)]+A(0xf7)+a[A(0x10f)]);}[a54i(0x103)](){const B=a54i;this[B(0x121)]&&(this['_currentLocation'][B(0xe9)](B(0x116),this[B(0x10a)]['bind'](this)),this[B(0x12d)][B(0x13a)](this['name']+B(0x113)+this[B(0x121)]['name']));}}
@@ -1 +1 @@
1
- function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x17b;var f=c[d];return f;},a55d(a,b);}var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x18e))/0x1+parseInt(f(0x183))/0x2+parseInt(f(0x196))/0x3*(-parseInt(f(0x193))/0x4)+parseInt(f(0x194))/0x5*(parseInt(f(0x185))/0x6)+parseInt(f(0x182))/0x7*(parseInt(f(0x17f))/0x8)+parseInt(f(0x195))/0x9+-parseInt(f(0x186))/0xa*(parseInt(f(0x17b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xb0963));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0x18f)](h(0x190))[h(0x17e)]()[h(0x180)](a55a)['search'](h(0x190));});a55a();function a55c(){var n=['Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','8827522PegeLZ','hasRequiredItem','riddle','toString','2466096FniXor','constructor','requiredPhrase','28cFvOMp','145788WKAQuy','successMessage','2544vCDxVG','10zTsPUp','apply','solved','write','requiredItem','hasItem','You\x20solved\x20the\x20puzzle!','logger','195850MugpNm','search','(((.+)+)+)+$','failureMessage','rewardItem','92enxXBh','5335vfYCYd','7232661nwPssB','109608eDJdmR','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','matchesRequiredPhrase','You\x20have\x20already\x20solved\x20this\x20puzzle.'];a55c=function(){return n;};return a55c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55i(0x18d)]=Logger['getInstance']();[a55i(0x188)]=![];[a55i(0x18a)];[a55i(0x181)];['riddle'];[a55i(0x192)];[a55i(0x184)];[a55i(0x191)];constructor(a){var j=a55i;super(),this['requiredItem']=a[j(0x18a)],this['requiredPhrase']=a[j(0x181)],this[j(0x17d)]=a['riddle'],this[j(0x192)]=a[j(0x192)],this[j(0x184)]=a[j(0x184)]||j(0x18c),this[j(0x191)]=a[j(0x191)]||j(0x19b);}['hasRequiredItem'](a){var k=a55i;if(this[k(0x18a)])return a[k(0x18b)](this[k(0x18a)]);return![];}[a55i(0x198)](a){var l=a55i;return this[l(0x181)]===a;}['solve'](a,b){var m=a55i;if(this[m(0x188)])return this[m(0x18d)][m(0x189)](m(0x19a)),{'success':![],'message':m(0x199)};return this[m(0x17c)](b)||this[m(0x198)](a)?(this[m(0x188)]=!![],this[m(0x18d)]['write']('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[m(0x184)]}):(this[m(0x18d)][m(0x189)](m(0x197)),{'success':![],'message':this[m(0x191)]});}}
1
+ var a55h=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x1af))/0x1*(-parseInt(f(0x1a0))/0x2)+-parseInt(f(0x190))/0x3*(parseInt(f(0x18f))/0x4)+parseInt(f(0x19a))/0x5*(-parseInt(f(0x1a7))/0x6)+-parseInt(f(0x19c))/0x7+parseInt(f(0x193))/0x8*(parseInt(f(0x192))/0x9)+-parseInt(f(0x1a1))/0xa*(-parseInt(f(0x195))/0xb)+parseInt(f(0x1ac))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xa959a));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var g=a55d;return a55a[g(0x199)]()[g(0x19e)](g(0x1a6))['toString']()[g(0x1a2)](a55a)[g(0x19e)](g(0x1a6));});function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x18f;var f=c[d];return f;},a55d(a,b);}a55a();import{Logger}from'../utilities/logger.js';function a55c(){var m=['10hKaTuE','constructor','rewardItem','failureMessage','matchesRequiredPhrase','(((.+)+)+)+$','182844WDeOLw','You\x20have\x20already\x20solved\x20this\x20puzzle.','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','requiredItem','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','8340624ViHQCG','hasRequiredItem','logger','13NgLzQV','8eOxVhV','1106337ECClUq','successMessage','612FGAacE','53984dtIPra','requiredPhrase','15150542uGKhlQ','solved','You\x20solved\x20the\x20puzzle!','riddle','toString','135qEBIbz','write','3621975sgRaJc','hasItem','search','Puzzle:\x20Correct\x20solution\x20provided.','36954OELWrf'];a55c=function(){return m;};return a55c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55h(0x1ae)]=Logger['getInstance']();[a55h(0x196)]=![];[a55h(0x1aa)];[a55h(0x194)];[a55h(0x198)];['rewardItem'];[a55h(0x191)];[a55h(0x1a4)];constructor(a){var i=a55h;super(),this[i(0x1aa)]=a[i(0x1aa)],this[i(0x194)]=a[i(0x194)],this[i(0x198)]=a['riddle'],this[i(0x1a3)]=a['rewardItem'],this[i(0x191)]=a[i(0x191)]||i(0x197),this['failureMessage']=a[i(0x1a4)]||i(0x1a9);}['hasRequiredItem'](a){var j=a55h;if(this[j(0x1aa)])return a[j(0x19d)](this[j(0x1aa)]);return![];}[a55h(0x1a5)](a){var k=a55h;return this[k(0x194)]===a;}['solve'](a,b){var l=a55h;if(this['solved'])return this[l(0x1ae)][l(0x19b)](l(0x1ab)),{'success':![],'message':l(0x1a8)};return this[l(0x1ad)](b)||this['matchesRequiredPhrase'](a)?(this[l(0x196)]=!![],this[l(0x1ae)]['write'](l(0x19f)),{'success':!![],'message':this[l(0x191)]}):(this[l(0x1ae)]['write']('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[l(0x1a4)]});}}
@@ -1 +1 @@
1
- const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0x114))/0x1*(parseInt(f(0x110))/0x2)+-parseInt(f(0xf0))/0x3+-parseInt(f(0xf9))/0x4*(parseInt(f(0xf2))/0x5)+parseInt(f(0xe3))/0x6+-parseInt(f(0xfb))/0x7+-parseInt(f(0xf1))/0x8+parseInt(f(0x106))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x1be89));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x109)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x117)]()[h(0xfe)](h(0xde))[h(0x117)]()[h(0xec)](a56a)[h(0xfe)](h(0xde));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0xde;let f=c[d];return f;},a56d(a,b);}import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0xe7)]=Logger['getInstance']();[a56i(0xe9)];[a56i(0x102)];[a56i(0xe1)]=new Map();['roomType'];[a56i(0xfa)];[a56i(0xf7)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0xe9)]=a[j(0xe9)],this['description']=a['description'],this['roomType']=a[j(0xeb)]||RoomType[j(0x118)],a[j(0xe1)]&&(this[j(0xe1)]=a[j(0xe1)]||new Map()),a[j(0xf7)]&&(this['inventory']=a[j(0xf7)]),a[j(0xfd)]&&(this[j(0xfd)]=a[j(0xfd)]),this[j(0xfa)]=a[j(0xfa)]||![],this[j(0xe7)][j(0xf6)](j(0x105)+this[j(0xe9)]);}[a56i(0x111)](a,b){const k=a56i;this[k(0x10c)](k(0x104),a,b);}[a56i(0xed)](a,b,c){const l=a56i;let d=this[l(0xf3)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0xe1)]['set'](a,d),b[l(0xe1)][l(0xf8)](this['getOppositeDirection'](a),d);}[a56i(0x107)](a,b){const m=a56i,c=this[m(0xe1)][m(0x10a)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0xe7)][m(0xf6)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0xef)+d),d?'The\x20'+c[m(0xe9)]+m(0x10e):m(0xdf)+c[m(0xe9)]+m(0xe6);}return this[m(0xe7)][m(0xf6)](m(0x108)+a),m(0x10d);}[a56i(0xe0)](a){const n=a56i;return this[n(0xe7)][n(0xf6)](n(0xf4)+a),this[n(0xe1)][n(0x10a)](a);}[a56i(0xee)](a){const o=a56i,b=this['exits']['get'](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0xe7)][o(0xf6)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a56i(0x119)](a){const p=a56i;this[p(0xf7)][p(0x119)](a),this[p(0xe7)][p(0xf6)]('Item\x20added\x20to\x20room\x20'+this[p(0xe9)]+':\x20'+a[p(0xe9)]);}['removeItem'](a){const q=a56i;this[q(0xf7)][q(0x112)](a['name'])?(this[q(0xf7)][q(0x113)](a['name']),this[q(0xe7)][q(0xf6)](q(0xe2)+this[q(0xe9)]+':\x20'+a[q(0xe9)])):this[q(0xe7)][q(0xf6)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[q(0xe9)]+':\x20'+a[q(0xe9)]);}['setPuzzle'](a){const r=a56i;this[r(0xfd)]=a,this[r(0xe7)][r(0xf6)](r(0xe5)+this[r(0xe9)]+':\x20'+a[r(0xfc)]);}[a56i(0xf5)](a){const s=a56i;switch(a){case s(0x103):return Direction[s(0x10b)];case s(0xe8):return Direction['NORTH'];case s(0x116):return Direction[s(0x101)];case'west':return Direction['EAST'];case'up':return Direction[s(0xea)];case s(0xff):return Direction['UP'];default:throw new Error(s(0x10f)+a);}}[a56i(0xf3)](a){const t=a56i;for(const b of this[t(0xe1)][t(0xe4)]()){if(b instanceof Door){if(b[t(0x100)]===this&&b[t(0x115)]===a||b[t(0x115)]===this&&b['roomA']===a)return b;}}return undefined;}}function a56c(){const u=['search','down','roomA','WEST','description','north','speak','Room\x20created:\x20','5884020MIPdaM','attemptUnlockExit','No\x20locked\x20exit\x20found\x20in\x20direction\x20','apply','get','SOUTH','emit','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','\x20unlocked!','Invalid\x20direction:\x20','172eoKjft','say','hasItem','removeItem','274sQlzOA','roomB','east','toString','INSIDE','addItem','(((.+)+)+)+$','The\x20','getExit','exits','Item\x20removed\x20from\x20room\x20','16818QRggum','values','Puzzle\x20set\x20for\x20room\x20','\x20remains\x20locked.','logger','south','name','DOWN','roomType','constructor','addExit','isExitLocked','.\x20Success:\x20','312768cIgOZU','450216duiQeN','1044130ddYmaF','findExistingDoor','Fetching\x20exit\x20in\x20direction:\x20','getOppositeDirection','write','inventory','set','4IWqjFv','isStartRoom','1375325oSLKuN','riddle','puzzle'];a56c=function(){return u;};return a56c();}
1
+ const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=parseInt(f(0xca))/0x1+-parseInt(f(0xad))/0x2+parseInt(f(0xb3))/0x3*(-parseInt(f(0xc5))/0x4)+-parseInt(f(0xe6))/0x5*(parseInt(f(0xbe))/0x6)+-parseInt(f(0xc3))/0x7+-parseInt(f(0xd2))/0x8*(parseInt(f(0xdd))/0x9)+parseInt(f(0xba))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x3e78d));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a['toString']()[h(0xd0)](h(0xb2))[h(0xe1)]()[h(0xbd)](a56a)['search'](h(0xb2));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';function a56c(){const u=['logger','addExit','name','attemptUnlockExit','145PLplCV','speak','attemptUnlock','isStartRoom','removeItem','Fetching\x20exit\x20in\x20direction:\x20','NORTH','489220QtBkoS','say','puzzle','inventory','INSIDE','(((.+)+)+)+$','168951HpmEEf','roomB','.\x20Success:\x20','riddle','No\x20locked\x20exit\x20found\x20in\x20direction\x20','east','roomA','14440000wRmCBB','get','roomType','constructor','78132LMSnNT','set','getInstance','getExit','apply','1822674MluRpL','Puzzle\x20set\x20for\x20room\x20','28EnASyN','south','description','EAST','checkIfLocked','336013EcZVDk','\x20remains\x20locked.','findExistingDoor','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','SOUTH','exits','search','Invalid\x20direction:\x20','8LTRSpD','emit','The\x20','\x20is\x20locked.\x20Result:\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','write','WEST','Item\x20added\x20to\x20room\x20','isExitLocked','\x20unlocked!','values','2225511cIsBVX','setPuzzle','addItem','getOppositeDirection','toString'];a56c=function(){return u;};return a56c();}function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0xa7;let f=c[d];return f;},a56d(a,b);}import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger[a56i(0xc0)]();[a56i(0xe4)];[a56i(0xc7)];['exits']=new Map();[a56i(0xbc)];[a56i(0xa9)];['inventory']=new Inventory();constructor(a){const j=a56i;super(),this[j(0xe4)]=a['name'],this[j(0xc7)]=a[j(0xc7)],this[j(0xbc)]=a[j(0xbc)]||RoomType[j(0xb1)],a[j(0xcf)]&&(this[j(0xcf)]=a[j(0xcf)]||new Map()),a[j(0xb0)]&&(this[j(0xb0)]=a[j(0xb0)]),a['puzzle']&&(this[j(0xaf)]=a['puzzle']),this[j(0xa9)]=a['isStartRoom']||![],this[j(0xe2)][j(0xd7)]('Room\x20created:\x20'+this[j(0xe4)]);}[a56i(0xae)](a,b){const k=a56i;this[k(0xd3)](k(0xa7),a,b);}[a56i(0xe3)](a,b,c){const l=a56i;let d=this[l(0xcc)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0xcf)][l(0xbf)](a,d),b[l(0xcf)][l(0xbf)](this[l(0xe0)](a),d);}[a56i(0xe5)](a,b){const m=a56i,c=this[m(0xcf)][m(0xbb)](a);if(c instanceof Door){const d=c[m(0xa8)](b);return this[m(0xe2)][m(0xd7)](m(0xd6)+a+m(0xb5)+d),d?m(0xd4)+c[m(0xe4)]+m(0xdb):m(0xd4)+c[m(0xe4)]+m(0xcb);}return this[m(0xe2)][m(0xd7)](m(0xb7)+a),m(0xcd);}[a56i(0xc1)](a){const n=a56i;return this[n(0xe2)][n(0xd7)](n(0xab)+a),this['exits'][n(0xbb)](a);}[a56i(0xda)](a){const o=a56i,b=this[o(0xcf)][o(0xbb)](a),c=b instanceof Door&&b[o(0xc9)]();return this['logger']['write']('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0xd5)+c),c;}[a56i(0xdf)](a){const p=a56i;this[p(0xb0)]['addItem'](a),this[p(0xe2)]['write'](p(0xd9)+this[p(0xe4)]+':\x20'+a['name']);}[a56i(0xaa)](a){const q=a56i;this['inventory']['hasItem'](a['name'])?(this[q(0xb0)][q(0xaa)](a[q(0xe4)]),this[q(0xe2)]['write']('Item\x20removed\x20from\x20room\x20'+this[q(0xe4)]+':\x20'+a['name'])):this[q(0xe2)][q(0xd7)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this['name']+':\x20'+a['name']);}[a56i(0xde)](a){const r=a56i;this[r(0xaf)]=a,this[r(0xe2)][r(0xd7)](r(0xc4)+this[r(0xe4)]+':\x20'+a[r(0xb6)]);}[a56i(0xe0)](a){const s=a56i;switch(a){case'north':return Direction[s(0xce)];case s(0xc6):return Direction[s(0xac)];case s(0xb8):return Direction[s(0xd8)];case'west':return Direction[s(0xc8)];case'up':return Direction['DOWN'];case'down':return Direction['UP'];default:throw new Error(s(0xd1)+a);}}[a56i(0xcc)](a){const t=a56i;for(const b of this[t(0xcf)][t(0xdc)]()){if(b instanceof Door){if(b[t(0xb9)]===this&&b[t(0xb4)]===a||b[t(0xb4)]===this&&b[t(0xb9)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a57k=a57d;function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0xb8;let f=c[d];return f;},a57d(a,b);}(function(a,b){const i=a57d,c=a();while(!![]){try{const d=-parseInt(i(0xd6))/0x1+-parseInt(i(0xdd))/0x2+-parseInt(i(0xd1))/0x3+-parseInt(i(0xd0))/0x4+-parseInt(i(0xfb))/0x5+parseInt(i(0xdf))/0x6*(-parseInt(i(0xbb))/0x7)+parseInt(i(0xef))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xbe98c));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const j=a57d;return a57a[j(0xf6)]()[j(0xfa)](j(0xba))['toString']()[j(0xea)](a57a)[j(0xfa)](j(0xba));});function a57c(){const C=['direction','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','logger','initialize','2998288ckSgCr','3428796wLlxzp','warn','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','has','addExit','317354spIjev','write','roomFactory','Room\x20\x22','roomConfiguration','exits','actors','2329712kXFpWM','join','161886gsgBdL','characterLocations','set','setCharacterLocation','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','delete','\x20found\x20in\x20the\x20scene.','addActor','push','get','player','constructor','Added\x20room\x20to\x20scene:\x20','Failed\x20to\x20set\x20','removeActor','\x22\x20does\x20not\x20exist.','46586872qPPTwN','getInstance','determineStartRoom','Actor\x20with\x20name\x20','\x20not\x20found\x20in\x20scene.','connectRooms','Removed\x20room\x20from\x20scene:\x20','toString','generateRoomsFromConfig','Added\x20item\x20','currentLocation','search','5776610eYaSaZ','getActor','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','addItem','getPlayer','length','(((.+)+)+)+$','133MBCYRo','keys','getRooms','createExitsFromConfig','name','.\x20Room\x20','isStartRoom','Scene\x20initialized\x20with\x20rooms:\x20','removeRoom','createRoom','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','toUpperCase','\x20is\x20now\x20in\x20room\x20','from','rooms','allActors','keyRequired'];a57c=function(){return C;};return a57c();}a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a57k(0xc9)];['player'];[a57k(0xce)];[a57k(0xdc)];[a57k(0xe0)]=new Map();['roomFactory'];constructor(a){const l=a57k;super(),this['roomFactory']=new RoomFactory(),this[l(0xe9)]=a['player'],this['rooms']=this[l(0xf7)](a[l(0xda)]),this[l(0xce)]=Logger[l(0xf0)](),this['actors']=new Map(),this[l(0xbe)](a[l(0xda)]),this[l(0xce)]['write'](l(0xc2)+Object[l(0xbc)](this['rooms'])[l(0xde)](',\x20'));}[a57k(0xcf)](){const m=a57k;this['player'][m(0xf9)]=this[m(0xf1)]();}[a57k(0xf7)](a){const n=a57k;if(!this[n(0xd8)])throw new Error(n(0xc5));const b={};for(const c of a){const d=this['roomFactory'][n(0xc4)](c);b[c[n(0xbf)]]=d;}return b;}[a57k(0xbe)](a){const o=a57k;for(const b of a){const c=this[o(0xc9)][b[o(0xbf)]];if(b[o(0xdb)])for(const d of b[o(0xdb)]){const e=d[o(0xcc)][o(0xc6)](),f=d['targetRoom'],g=d[o(0xcb)],h=this[o(0xc9)][f];h&&c[o(0xd5)](Direction[e],h,g);}}}[a57k(0xe6)](a){const p=a57k;if(this[p(0xdc)][p(0xd4)](a[p(0xbf)]))throw new Error(p(0xf2)+a[p(0xbf)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[p(0xdc)][p(0xe1)](a[p(0xbf)],a);}[a57k(0xed)](a){const q=a57k;if(!this[q(0xdc)][q(0xd4)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+q(0xe5));this[q(0xdc)][q(0xe4)](a);}[a57k(0xfc)](a){const r=a57k;return this[r(0xdc)][r(0xe8)](a);}get[a57k(0xca)](){const s=a57k;return Array[s(0xc8)](this[s(0xdc)]['values']());}['addRoom'](a){const t=a57k;this[t(0xc9)][a[t(0xbf)]]=a,this[t(0xce)][t(0xd7)](t(0xeb)+a[t(0xbf)]);}[a57k(0xc3)](a){const u=a57k;return this['rooms'][a]?(delete this['rooms'][a],this[u(0xce)][u(0xd7)](u(0xf5)+a),!![]):(this[u(0xce)][u(0xd7)](u(0xfd)+a),![]);}['addItemToRoom'](a,b){const v=a57k,c=this[v(0xc9)][b];c?(c[v(0xfe)](a),this['logger'][v(0xd7)](v(0xf8)+a[v(0xbf)]+'\x20to\x20room\x20'+c[v(0xbf)])):this[v(0xce)][v(0xd7)]('Failed\x20to\x20add\x20item\x20'+a[v(0xbf)]+v(0xc0)+b+v(0xf3));}['addPuzzleToRoom'](a,b){const w=a57k,c=this['rooms'][b];c?(c['setPuzzle'](a),this[w(0xce)]['write']('Added\x20puzzle\x20to\x20room\x20'+c[w(0xbf)])):this[w(0xce)]['write']('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+w(0xf3));}[a57k(0xe2)](a,b){const x=a57k,c=this['rooms'][b];c?(this[x(0xe0)][x(0xe1)](a[x(0xbf)],c),this[x(0xce)][x(0xd7)](a[x(0xbf)]+x(0xc7)+c[x(0xbf)])):this[x(0xce)][x(0xd7)](x(0xec)+a[x(0xbf)]+'\x27s\x20location.\x20Room\x20'+b+x(0xf3));}['getCharacterLocation'](a){const y=a57k;return this[y(0xe0)][y(0xe8)](a[y(0xbf)]);}[a57k(0xf1)](){const z=a57k,a=[];for(const c in this['rooms']){if(this[z(0xc9)]['hasOwnProperty'](c)){const d=this[z(0xc9)][c];d[z(0xc1)]&&a[z(0xe7)](d);}}if(a[z(0xb9)]>0x1)throw new Error(z(0xcd));if(a[z(0xb9)]===0x1)return a[0x0];const b=Object[z(0xbc)](this[z(0xc9)]);if(b['length']===0x0)throw new Error(z(0xd3));return console[z(0xd2)](z(0xe3)),this[z(0xc9)][b[0x0]];}[a57k(0xb8)](){const A=a57k;return this[A(0xe9)];}[a57k(0xbd)](){return this['rooms'];}[a57k(0xf4)](a,b,c,d){const B=a57k,e=this[B(0xc9)][a],f=this[B(0xc9)][c];if(!e)throw new Error(B(0xd9)+a+B(0xee));if(!f)throw new Error(B(0xd9)+c+B(0xee));e[B(0xd5)](b,f,d);}}
1
+ const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=-parseInt(i(0x1c2))/0x1*(parseInt(i(0x194))/0x2)+parseInt(i(0x191))/0x3+parseInt(i(0x196))/0x4*(parseInt(i(0x17b))/0x5)+parseInt(i(0x1af))/0x6+parseInt(i(0x193))/0x7+parseInt(i(0x1bc))/0x8*(parseInt(i(0x18d))/0x9)+-parseInt(i(0x17e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x3d2db));function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x17a;let f=c[d];return f;},a57d(a,b);}const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a['toString']()[k(0x17c)]('(((.+)+)+)+$')[k(0x182)]()[k(0x1ba)](a57a)['search'](k(0x187));});a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a57c(){const C=['\x20not\x20found\x20in\x20scene.','1125744pZbZPl','rooms','3230640kficHi','646BEZKtN','values','4gNRzSS','Scene\x20initialized\x20with\x20rooms:\x20','\x20found\x20in\x20the\x20scene.','get','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','generateRoomsFromConfig','direction','getRooms','characterLocations','set','\x22\x20does\x20not\x20exist.','warn','isStartRoom','addItem','addExit','length','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','addPuzzleToRoom','addRoom','\x27s\x20location.\x20Room\x20','createExitsFromConfig','getInstance','getActor','Added\x20room\x20to\x20scene:\x20','write','20868NCGtvr','targetRoom','currentLocation','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','roomConfiguration','determineStartRoom','setCharacterLocation','removeRoom','connectRooms','Room\x20\x22','actors','constructor','No\x20actor\x20with\x20name\x20','416jONjVp','\x20to\x20room\x20','getPlayer','createRoom','hasOwnProperty','Added\x20item\x20','1116KtlfFm','roomFactory','logger','.\x20Room\x20','player','2059885gROqCr','search','exits','7067920efCAMB','name','allActors','addItemToRoom','toString','from','removeActor','\x20is\x20now\x20in\x20room\x20','Actor\x20with\x20name\x20','(((.+)+)+)+$','addActor','apply','Failed\x20to\x20add\x20puzzle.\x20Room\x20','initialize','keys','11358JEefss','join','has'];a57c=function(){return C;};return a57c();}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];[a57l(0x17a)];['logger'];['actors'];['characterLocations']=new Map();[a57l(0x1c3)];constructor(a){const m=a57l;super(),this[m(0x1c3)]=new RoomFactory(),this[m(0x17a)]=a[m(0x17a)],this[m(0x192)]=this[m(0x19b)](a['roomConfiguration']),this[m(0x1c4)]=Logger[m(0x1ab)](),this['actors']=new Map(),this[m(0x1aa)](a[m(0x1b3)]),this[m(0x1c4)]['write'](m(0x197)+Object['keys'](this[m(0x192)])[m(0x18e)](',\x20'));}[a57l(0x18b)](){const n=a57l;this[n(0x17a)][n(0x1b1)]=this[n(0x1b4)]();}[a57l(0x19b)](a){const o=a57l;if(!this[o(0x1c3)])throw new Error(o(0x1b2));const b={};for(const c of a){const d=this['roomFactory'][o(0x1bf)](c);b[c[o(0x17f)]]=d;}return b;}[a57l(0x1aa)](a){const p=a57l;for(const b of a){const c=this[p(0x192)][b[p(0x17f)]];if(b[p(0x17d)])for(const d of b[p(0x17d)]){const e=d[p(0x19c)]['toUpperCase'](),f=d[p(0x1b0)],g=d['keyRequired'],h=this['rooms'][f];h&&c[p(0x1a4)](Direction[e],h,g);}}}[a57l(0x188)](a){const q=a57l;if(this[q(0x1b9)]['has'](a[q(0x17f)]))throw new Error(q(0x186)+a[q(0x17f)]+'\x20already\x20exists\x20in\x20the\x20scene.');this['actors']['set'](a[q(0x17f)],a);}[a57l(0x184)](a){const r=a57l;if(!this[r(0x1b9)][r(0x18f)](a))throw new Error(r(0x1bb)+a+r(0x198));this[r(0x1b9)]['delete'](a);}[a57l(0x1ac)](a){const s=a57l;return this[s(0x1b9)][s(0x199)](a);}get[a57l(0x180)](){const t=a57l;return Array[t(0x183)](this[t(0x1b9)][t(0x195)]());}[a57l(0x1a8)](a){const u=a57l;this[u(0x192)][a['name']]=a,this[u(0x1c4)][u(0x1ae)](u(0x1ad)+a[u(0x17f)]);}[a57l(0x1b6)](a){const v=a57l;return this['rooms'][a]?(delete this[v(0x192)][a],this[v(0x1c4)][v(0x1ae)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0x1c4)]['write'](v(0x19a)+a),![]);}[a57l(0x181)](a,b){const w=a57l,c=this[w(0x192)][b];c?(c[w(0x1a3)](a),this['logger']['write'](w(0x1c1)+a['name']+w(0x1bd)+c[w(0x17f)])):this[w(0x1c4)][w(0x1ae)]('Failed\x20to\x20add\x20item\x20'+a[w(0x17f)]+w(0x1c5)+b+w(0x190));}[a57l(0x1a7)](a,b){const x=a57l,c=this['rooms'][b];c?(c['setPuzzle'](a),this[x(0x1c4)][x(0x1ae)]('Added\x20puzzle\x20to\x20room\x20'+c[x(0x17f)])):this['logger'][x(0x1ae)](x(0x18a)+b+x(0x190));}[a57l(0x1b5)](a,b){const y=a57l,c=this[y(0x192)][b];c?(this[y(0x19e)][y(0x19f)](a[y(0x17f)],c),this[y(0x1c4)][y(0x1ae)](a[y(0x17f)]+y(0x185)+c[y(0x17f)])):this[y(0x1c4)]['write']('Failed\x20to\x20set\x20'+a[y(0x17f)]+y(0x1a9)+b+'\x20not\x20found\x20in\x20scene.');}['getCharacterLocation'](a){const z=a57l;return this['characterLocations'][z(0x199)](a['name']);}[a57l(0x1b4)](){const A=a57l,a=[];for(const c in this[A(0x192)]){if(this[A(0x192)][A(0x1c0)](c)){const d=this['rooms'][c];d[A(0x1a2)]&&a['push'](d);}}if(a[A(0x1a5)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[A(0x1a5)]===0x1)return a[0x0];const b=Object[A(0x18c)](this[A(0x192)]);if(b[A(0x1a5)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[A(0x1a1)](A(0x1a6)),this[A(0x192)][b[0x0]];}[a57l(0x1be)](){return this['player'];}[a57l(0x19d)](){return this['rooms'];}[a57l(0x1b7)](a,b,c,d){const B=a57l,e=this[B(0x192)][a],f=this[B(0x192)][c];if(!e)throw new Error('Room\x20\x22'+a+B(0x1a0));if(!f)throw new Error(B(0x1b8)+c+B(0x1a0));e['addExit'](b,f,d);}}