@maka/maka-cli 5.0.0-beta.1 → 5.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/aws/_index.js +1 -1
  109. package/bundle/obf/src/generators/aws/aws.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  113. package/bundle/obf/src/generators/collection.js +1 -1
  114. package/bundle/obf/src/generators/component.js +1 -1
  115. package/bundle/obf/src/generators/config.js +1 -1
  116. package/bundle/obf/src/generators/dbc.js +1 -1
  117. package/bundle/obf/src/generators/dockerfile.js +1 -1
  118. package/bundle/obf/src/generators/hook.js +1 -1
  119. package/bundle/obf/src/generators/kits/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  127. package/bundle/obf/src/generators/kits/kit.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  132. package/bundle/obf/src/generators/layout.js +1 -1
  133. package/bundle/obf/src/generators/maka.gen.js +1 -1
  134. package/bundle/obf/src/generators/methods.js +1 -1
  135. package/bundle/obf/src/generators/package.js +1 -1
  136. package/bundle/obf/src/generators/page.js +1 -1
  137. package/bundle/obf/src/generators/publish.js +1 -1
  138. package/bundle/obf/src/generators/route.js +1 -1
  139. package/bundle/obf/src/generators/service.js +1 -1
  140. package/bundle/obf/src/generators/services/_index.js +1 -1
  141. package/bundle/obf/src/generators/services/openssl.js +1 -1
  142. package/bundle/obf/src/generators/services/translation.js +1 -1
  143. package/bundle/obf/src/maka.js +1 -1
  144. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +2 -3
  145. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +2 -3
  146. package/bundle/obf/src/tool.js +1 -1
  147. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  148. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  149. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  151. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  153. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  154. package/bundle/obf/src/tools/https/https.class.js +1 -1
  155. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  156. package/bundle/obf/src/tools/log/log.class.js +1 -1
  157. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  158. package/bundle/obf/src/tools/options/options.class.js +1 -1
  159. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  160. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  161. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  163. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  164. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  165. package/package.json +1 -1
@@ -1 +1 @@
1
- const a37i=a37d;function a37c(){const k=['hasItem','3368576CBRjel','lock','\x22\x20here.','unlockItemOrSolution','LockCommand:\x20No\x20target\x20specified.','1220259UTphDS','You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.','21381890rjnhqd','\x20door.','inventory','16975usOlUh','LockCommand:\x20','toString','logger','\x22\x20is\x20already\x20locked.','1351878eBxyoh','toLowerCase','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','search','1283058UMynRw','has','9Nkcwbt','isValidDirection','There\x27s\x20no\x20door\x20named\x20\x22','actor','name','length','1400qKmCqf','isLocked','error','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','2KbRFJl','exits','write','get','316388UmnxIy','(((.+)+)+)+$','\x20Locked\x20the\x20'];a37c=function(){return k;};return a37c();}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x142))/0x1+parseInt(f(0x13e))/0x2*(parseInt(f(0x14b))/0x3)+parseInt(f(0x13a))/0x4*(parseInt(f(0x150))/0x5)+parseInt(f(0x12e))/0x6+parseInt(f(0x132))/0x7+parseInt(f(0x146))/0x8+-parseInt(f(0x134))/0x9*(parseInt(f(0x14d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x93301));const a37b=(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;};}()),a37a=a37b(this,function(){const g=a37d;return a37a[g(0x152)]()[g(0x131)]('(((.+)+)+)+$')['toString']()['constructor'](a37a)[g(0x131)](g(0x143));});a37a();function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x12e;let f=c[d];return f;},a37d(a,b);}import{Command}from'./command.js';export class LockCommand extends Command{static ['verb']='lock';static ['description']='Lock\x20a\x20door.';['execute'](a){const h=a37d;return this[h(0x147)](a);}[a37i(0x147)](a){const j=a37i;if(a[j(0x139)]===0x0)return this[j(0x153)][j(0x13c)](j(0x14a)),j(0x13d);const b=a[0x0][j(0x12f)](),c=this[j(0x137)]['currentLocation'];if(this[j(0x135)](b)&&c[j(0x13f)][j(0x133)](b)){const d=c[j(0x13f)][j(0x141)](b);if(d['isLocked'])return'The\x20door\x20named\x20\x22'+b+j(0x154);const e=d[j(0x149)]?.[j(0x12f)]();return e&&this[j(0x137)][j(0x14f)][j(0x145)](e)?(d[j(0x13b)]=!![],this[j(0x153)][j(0x140)](j(0x151)+this['actor'][j(0x138)]+j(0x144)+b+j(0x14e)),'You\x20locked\x20the\x20door\x20named\x20\x22'+b+'\x22.'):(this['logger'][j(0x140)](j(0x151)+this[j(0x137)][j(0x138)]+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),j(0x14c));}else return this[j(0x153)][j(0x140)](j(0x151)+b+j(0x130)),j(0x136)+b+j(0x148);}}
1
+ const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x93))/0x1*(-parseInt(f(0x91))/0x2)+parseInt(f(0x7a))/0x3+-parseInt(f(0x85))/0x4*(-parseInt(f(0x84))/0x5)+parseInt(f(0x89))/0x6+-parseInt(f(0x79))/0x7+parseInt(f(0x8a))/0x8*(parseInt(f(0x87))/0x9)+parseInt(f(0x98))/0xa*(parseInt(f(0x99))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x21d5a));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x78)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()['search'](h(0x94))[h(0x9d)]()[h(0x80)](a37a)[h(0x96)](h(0x94));});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x78;let f=c[d];return f;},a37d(a,b);}a37a();import{Command}from'./command.js';function a37c(){const l=['error','description','actor','isLocked','currentLocation','190xBxFpX','toLowerCase','62hFLQFz','(((.+)+)+)+$','LockCommand:\x20No\x20target\x20specified.','search','write','260IOeZku','46706iiewbO','exits','get','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','toString','You\x20locked\x20the\x20door\x20named\x20\x22','apply','1866417pfjkDS','292044xDsWnH','unlockItemOrSolution','inventory','logger','\x20door.','LockCommand:\x20','constructor','The\x20door\x20named\x20\x22','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','There\x27s\x20no\x20door\x20named\x20\x22','115jfBziS','2888AIQYPW','execute','162qHLOae','lock','783966tGNKtg','19696GiwnOP','You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.'];a37c=function(){return l;};return a37c();}export class LockCommand extends Command{static ['verb']=a37i(0x88);static [a37i(0x8d)]='Lock\x20a\x20door.';[a37i(0x86)](a){const j=a37i;return this[j(0x88)](a);}[a37i(0x88)](a){const k=a37i;if(a['length']===0x0)return this[k(0x7d)][k(0x8c)](k(0x95)),k(0x82);const b=a[0x0][k(0x92)](),c=this['actor'][k(0x90)];if(this['isValidDirection'](b)&&c[k(0x9a)]['has'](b)){const d=c['exits'][k(0x9b)](b);if(d['isLocked'])return k(0x81)+b+'\x22\x20is\x20already\x20locked.';const e=d[k(0x7b)]?.[k(0x92)]();return e&&this[k(0x8e)][k(0x7c)]['hasItem'](e)?(d[k(0x8f)]=!![],this[k(0x7d)][k(0x97)](k(0x7f)+this['actor']['name']+'\x20Locked\x20the\x20'+b+k(0x7e)),k(0x9e)+b+'\x22.'):(this[k(0x7d)][k(0x97)](k(0x7f)+this[k(0x8e)]['name']+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),k(0x8b));}else return this[k(0x7d)][k(0x97)]('LockCommand:\x20'+b+k(0x9c)),k(0x83)+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- const a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x13a))/0x1+-parseInt(f(0x138))/0x2+parseInt(f(0x14d))/0x3*(parseInt(f(0x14e))/0x4)+-parseInt(f(0x150))/0x5+parseInt(f(0x14b))/0x6+-parseInt(f(0x12d))/0x7+-parseInt(f(0x142))/0x8*(-parseInt(f(0x146))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x69198));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x121;let f=c[d];return f;},a38d(a,b);}function a38c(){const m=['382842CsDeRF','getItem','down','join','You\x20cannot\x20see\x20through','hasItem','description',',\x20you\x20see\x20','14340424UWrSAX','\x27\x20in\x20current\x20room\x20inventory.','string','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','9PXmuTd','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','look','You\x20cannot\x20see\x20','868104FAuxlM','Looking\x20at\x20item\x20\x27','1818294IGUBwW','4czMDyH','To\x20the\x20','1336915RgLIFG','roomType','riddle','inventory','actor','write','inspectItem','name','Below\x20you,\x20','(((.+)+)+)+$','get','rooms','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','Executing\x20\x27Look\x27\x20command.','\x20inventory.','lookOutside','You\x27re\x20not\x20in\x20a\x20valid\x20room.','getOtherSide','error','4723040TOzgUn','constructor','verb','toString','currentLocation','You\x20don\x27t\x20see\x20any\x20','\x20here.','logger','\x20is\x20looking\x20around\x20the\x20current\x20room.','Examine\x20your\x20surroundings','It\x27s\x20just\x20a\x20regular\x20','1575804qssSgo','puzzle'];a38c=function(){return m;};return a38c();}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0x130)]()['search'](g(0x123))[g(0x130)]()[g(0x12e)](a38a)['search'](g(0x123));});a38a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38h(0x12f)]='look';static [a38h(0x140)]=a38h(0x136);['execute'](a=[]){const i=a38h;this['logger'][i(0x155)](i(0x127));const b=a[i(0x13d)]('\x20');if(b){if(this[i(0x154)][i(0x153)][i(0x13f)](b))return this['logger'][i(0x155)](i(0x14c)+b+'\x27\x20in\x20'+this[i(0x154)][i(0x121)]+i(0x128)),this[i(0x156)](b,this['actor'][i(0x153)]);else{if(this[i(0x154)][i(0x131)]['inventory'][i(0x13f)](b))return this['logger'][i(0x155)](i(0x14c)+b+i(0x143)),this[i(0x156)](b,this[i(0x154)][i(0x131)][i(0x153)]);else return this['isValidDirection'](b)?(this[i(0x134)][i(0x155)](i(0x147)+b+'\x27.'),this[i(0x129)](b)):i(0x14a)+b;}}else return this['logger'][i(0x155)](this[i(0x154)][i(0x121)]+i(0x135)),this[i(0x149)]();}[a38h(0x149)](){const j=a38h,a=this[j(0x154)][j(0x131)];if(!a)return this['logger'][j(0x12c)](this[j(0x154)]['name']+j(0x145)),j(0x12a);let b=a[j(0x140)];return a[j(0x139)]&&(b+='\x0a'+a[j(0x139)][j(0x152)]),b;}[a38h(0x129)](a){const k=a38h,b=this['actor'][k(0x131)];if(!b)return this[k(0x134)]['error'](this[k(0x154)]['name']+k(0x145)),k(0x12a);const c=b['exits'][k(0x124)](a);if(!c)return k(0x126)+a+'\x22.';let d;if(c instanceof Door)d=c[k(0x12b)](b);else{if(typeof c===k(0x144)){d=this[k(0x125)]&&this['rooms'][c];if(!d)return'There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22'+a+'\x22.';}else return k(0x148)+a+'\x22.';}if(d[k(0x151)]===RoomType['OUTSIDE']){if(a==='up')return'Above\x20you,\x20'+d[k(0x140)];else return a===k(0x13c)?k(0x122)+d[k(0x140)]:k(0x14f)+a+k(0x141)+d['description'];}else return k(0x13e);}[a38h(0x156)](a,b){const l=a38h,c=b[l(0x13b)](a);if(!c)return l(0x132)+a+l(0x133);return c[l(0x140)]||l(0x137)+a+'.';}}
1
+ const a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x1d3))/0x1*(-parseInt(f(0x1ba))/0x2)+-parseInt(f(0x1be))/0x3+parseInt(f(0x1d1))/0x4*(parseInt(f(0x1c9))/0x5)+parseInt(f(0x1d4))/0x6*(parseInt(f(0x1a4))/0x7)+-parseInt(f(0x1a5))/0x8+parseInt(f(0x1c5))/0x9*(-parseInt(f(0x1c3))/0xa)+parseInt(f(0x1b6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x6c7a4));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0x1b2)]()['search']('(((.+)+)+)+$')[g(0x1b2)]()[g(0x1bb)](a38a)[g(0x1bc)](g(0x1af));});function a38c(){const m=['You\x27re\x20not\x20in\x20a\x20valid\x20room.','verb','(((.+)+)+)+$','error','riddle','toString','To\x20the\x20','OUTSIDE','write','12721379JYoinT','Looking\x20at\x20item\x20\x27','lookOutside','puzzle','40244KhblrA','constructor','search','join','2383137bFPVrp','getItem','Examine\x20your\x20surroundings','\x20inventory.','There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22','21610eFFnKP','\x27\x20in\x20current\x20room\x20inventory.','531ftVrHF','get','You\x20don\x27t\x20see\x20any\x20','description','5iJBpbe','isValidDirection','Below\x20you,\x20',',\x20you\x20see\x20','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','inspectItem','hasItem','\x20here.','1148924hiCAip','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','1qhgErp','1290522eGsMvR','look','logger','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','21nFWZZZ','5621256MEUVsg','currentLocation','actor','You\x20cannot\x20see\x20','inventory','Above\x20you,\x20','name','\x27\x20in\x20'];a38c=function(){return m;};return a38c();}a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a38d(a,b);}import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';export class LookCommand extends Command{static [a38h(0x1ae)]=a38h(0x1d5);static ['description']=a38h(0x1c0);['execute'](a=[]){const i=a38h;this['logger'][i(0x1b5)]('Executing\x20\x27Look\x27\x20command.');const b=a[i(0x1bd)]('\x20');if(b){if(this[i(0x1a7)][i(0x1a9)][i(0x1cf)](b))return this[i(0x1d6)][i(0x1b5)]('Looking\x20at\x20item\x20\x27'+b+i(0x1ac)+this[i(0x1a7)][i(0x1ab)]+i(0x1c1)),this['inspectItem'](b,this[i(0x1a7)][i(0x1a9)]);else{if(this['actor'][i(0x1a6)][i(0x1a9)][i(0x1cf)](b))return this[i(0x1d6)]['write'](i(0x1b7)+b+i(0x1c4)),this['inspectItem'](b,this[i(0x1a7)][i(0x1a6)][i(0x1a9)]);else return this[i(0x1ca)](b)?(this[i(0x1d6)]['write']('Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27'+b+'\x27.'),this[i(0x1b8)](b)):i(0x1a8)+b;}}else return this[i(0x1d6)][i(0x1b5)](this[i(0x1a7)][i(0x1ab)]+'\x20is\x20looking\x20around\x20the\x20current\x20room.'),this[i(0x1d5)]();}[a38h(0x1d5)](){const j=a38h,a=this[j(0x1a7)][j(0x1a6)];if(!a)return this[j(0x1d6)][j(0x1b0)](this[j(0x1a7)][j(0x1ab)]+j(0x1a3)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';let b=a[j(0x1c8)];return a[j(0x1b9)]&&(b+='\x0a'+a[j(0x1b9)][j(0x1b1)]),b;}['lookOutside'](a){const k=a38h,b=this['actor'][k(0x1a6)];if(!b)return this['logger']['error'](this[k(0x1a7)][k(0x1ab)]+k(0x1a3)),k(0x1ad);const c=b['exits'][k(0x1c6)](a);if(!c)return k(0x1c2)+a+'\x22.';let d;if(c instanceof Door)d=c['getOtherSide'](b);else{if(typeof c==='string'){d=this['rooms']&&this['rooms'][c];if(!d)return k(0x1d2)+a+'\x22.';}else return k(0x1cd)+a+'\x22.';}if(d['roomType']===RoomType[k(0x1b4)]){if(a==='up')return k(0x1aa)+d['description'];else return a==='down'?k(0x1cb)+d['description']:k(0x1b3)+a+k(0x1cc)+d['description'];}else return'You\x20cannot\x20see\x20through';}[a38h(0x1ce)](a,b){const l=a38h,c=b[l(0x1bf)](a);if(!c)return l(0x1c7)+a+l(0x1d0);return c[l(0x1c8)]||'It\x27s\x20just\x20a\x20regular\x20'+a+'.';}}
@@ -1 +1 @@
1
- const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x1b0))/0x1+-parseInt(g(0x1ac))/0x2+-parseInt(g(0x1b9))/0x3*(parseInt(g(0x1a5))/0x4)+-parseInt(g(0x1c0))/0x5*(parseInt(g(0x1ab))/0x6)+-parseInt(g(0x1ba))/0x7*(parseInt(g(0x1b1))/0x8)+-parseInt(g(0x1c1))/0x9*(parseInt(g(0x1bb))/0xa)+parseInt(g(0x1ae))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x28fcd));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x1bf)]()['search'](i(0x1a9))[i(0x1bf)]()[i(0x1c3)](a39a)['search'](i(0x1a9));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a39d(a,b);}function a39c(){const m=['696230VnXngw','scene','Scene\x20is\x20missing\x20from\x20context.','What\x20do\x20you\x20want\x20to\x20say?','toString','115IRMqGE','36VUIeCU','log','constructor','context','currentLocation','say','367196dURqxn','verb','logger','execute','(((.+)+)+)+$','allActors','30570CWdvAU','134528TUOtgQ',':\x20\x22','12098372XiXZtr','join','233606zuPdEj','414576DAyCJA','actor','length','name','filter','An\x20error\x20occurred.','apply','\x20says\x20to\x20','6srIPTp','7bjQbTB'];a39c=function(){return m;};return a39c();}a39a();import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0x1a6)]=a39j(0x1a4);static ['description']='Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.';[a39j(0x1c4)];constructor(a){const k=a39j;super(a),this[k(0x1c4)]=a;}[a39j(0x1a8)](a){const l=a39j;if(a[l(0x1b3)]===0x0)return l(0x1be);const b=a[l(0x1af)]('\x20'),c=this[l(0x1b2)],d=this['context'][l(0x1bc)];if(!d)return this[l(0x1a7)]['log'](l(0x1bd)),l(0x1b6);const e=d[l(0x1aa)][l(0x1b5)](f=>f[l(0x1a3)]===c['currentLocation']);for(const f of e){this[l(0x1a7)][l(0x1c2)](c[l(0x1b4)]+l(0x1b8)+f[l(0x1b4)]+l(0x1ad)+b+'\x22'),this['actor']['currentLocation'][l(0x1a4)](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}
1
+ const a39j=a39d;function a39c(){const m=['name','say','56423TkCDXQ','search','756445bwInwN',':\x20\x22','140871FsphLr','currentLocation','scene','12ssoyIB','constructor','filter','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','946204ZBItqi','toString','12hMvcQx','Scene\x20is\x20missing\x20from\x20context.','actor','allActors','6QASZgU','554400PKqRfZ','What\x20do\x20you\x20want\x20to\x20say?','length','(((.+)+)+)+$','apply','verb','You\x20say:\x20\x22','join','An\x20error\x20occurred.','38819EaDFtd','logger','391272qYLWjz','description','context','\x20says\x20to\x20','2110LCTiON'];a39c=function(){return m;};return a39c();}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x96))/0x1*(-parseInt(g(0xa7))/0x2)+-parseInt(g(0x9a))/0x3*(parseInt(g(0xa3))/0x4)+parseInt(g(0x98))/0x5*(-parseInt(g(0x9d))/0x6)+parseInt(g(0xa1))/0x7+-parseInt(g(0xb3))/0x8+-parseInt(g(0xa8))/0x9+-parseInt(g(0x93))/0xa*(-parseInt(g(0xb1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x26394));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0xac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0xa2)]()[i(0x97)](i(0xab))[i(0xa2)]()[i(0x9e)](a39a)['search']('(((.+)+)+)+$');});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x92;let f=c[d];return f;},a39d(a,b);}import{Command}from'./command.js';export class SayCommand extends Command{static [a39j(0xad)]=a39j(0x95);static [a39j(0xb4)]=a39j(0xa0);[a39j(0xb5)];constructor(a){const k=a39j;super(a),this[k(0xb5)]=a;}['execute'](a){const l=a39j;if(a[l(0xaa)]===0x0)return l(0xa9);const b=a[l(0xaf)]('\x20'),c=this[l(0xa5)],d=this[l(0xb5)][l(0x9c)];if(!d)return this[l(0xb2)]['log'](l(0xa4)),l(0xb0);const e=d[l(0xa6)][l(0x9f)](f=>f[l(0x9b)]===c[l(0x9b)]);for(const f of e){this[l(0xb2)]['log'](c[l(0x94)]+l(0x92)+f[l(0x94)]+l(0x99)+b+'\x22'),this[l(0xa5)][l(0x9b)][l(0x95)](f,b);}return l(0xae)+b+'\x22';}}
@@ -1 +1 @@
1
- const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x94))/0x1+-parseInt(f(0x96))/0x2+-parseInt(f(0x91))/0x3+-parseInt(f(0x92))/0x4+parseInt(f(0x9a))/0x5+parseInt(f(0x86))/0x6*(parseInt(f(0x98))/0x7)+parseInt(f(0x82))/0x8*(parseInt(f(0x89))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x8e3eb));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x85)]()['search']('(((.+)+)+)+$')[h(0x85)]()[h(0x8d)](a40a)[h(0x84)](h(0x8c));});a40a();import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a40i(0x84);static ['description']='Search\x20for\x20items\x20in\x20your\x20area';[a40i(0x99)](){const j=a40i,a=this[j(0x8e)]['currentLocation'][j(0x83)]['listItems']();if(a[j(0x87)]===0x0)return this['logger'][j(0x97)](j(0x8a)+this[j(0x8e)]['name']+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0x90);const b=a[j(0x95)](',\x20');return this['logger']['write'](j(0x8a)+this['actor'][j(0x8f)]+j(0x8b)+b),j(0x93)+b;}}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x82;let f=c[d];return f;},a40d(a,b);}function a40c(){const k=['apply','27BTqKJs','SearchCommand:\x20','\x20found\x20the\x20following\x20items:\x20','(((.+)+)+)+$','constructor','actor','name','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','192201OqsznR','1023556DlosNV','You\x20search\x20the\x20area\x20and\x20find:\x20','91334iJdNqq','join','1341984uXCCWB','write','7WsTPfI','execute','1293370LdOjPp','2527536ZmfBHS','inventory','search','toString','2750502BPjNyP','length'];a40c=function(){return k;};return a40c();}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x7a))/0x1*(parseInt(f(0x6b))/0x2)+parseInt(f(0x6a))/0x3+-parseInt(f(0x69))/0x4*(parseInt(f(0x78))/0x5)+parseInt(f(0x80))/0x6*(parseInt(f(0x7b))/0x7)+parseInt(f(0x74))/0x8+-parseInt(f(0x6d))/0x9+parseInt(f(0x68))/0xa*(-parseInt(f(0x7d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xbe8a5));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x67)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x77)]()[h(0x82)](h(0x6f))[h(0x77)]()[h(0x7e)](a40a)[h(0x82)](h(0x6f));});a40a();function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x66;let f=c[d];return f;},a40d(a,b);}function a40c(){const k=['12889900oTLPAC','67828qWxUPU','781887wdanED','3019758QkeTJV','actor','5342382MByAyn','listItems','(((.+)+)+)+$','SearchCommand:\x20','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','execute','logger','5825688eAOOKu','verb','Search\x20for\x20items\x20in\x20your\x20area','toString','295Xxniiw','name','1GXLNqN','1939pUPqSU','write','11LTDBUJ','constructor','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','25230pBmWLB','currentLocation','search','join','apply'];a40c=function(){return k;};return a40c();}import{Command}from'./command.js';export class SearchCommand extends Command{static [a40i(0x75)]=a40i(0x82);static ['description']=a40i(0x76);[a40i(0x72)](){const j=a40i,a=this['actor'][j(0x81)]['inventory'][j(0x6e)]();if(a['length']===0x0)return this[j(0x73)]['write'](j(0x70)+this[j(0x6c)][j(0x79)]+j(0x7f)),j(0x71);const b=a[j(0x66)](',\x20');return this[j(0x73)][j(0x7c)](j(0x70)+this['actor'][j(0x79)]+'\x20found\x20the\x20following\x20items:\x20'+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
@@ -1 +1 @@
1
- const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=parseInt(f(0x12a))/0x1+-parseInt(f(0x11f))/0x2+-parseInt(f(0x12d))/0x3*(-parseInt(f(0x136))/0x4)+parseInt(f(0x121))/0x5+-parseInt(f(0x124))/0x6+parseInt(f(0x137))/0x7+-parseInt(f(0x122))/0x8*(parseInt(f(0x132))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x76362));function a41c(){const k=['description','inventory','success','654936XmXtlk','toString','currentLocation','1163019spGaUW','verb','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','puzzle','write','186669aucWgP','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','actor','message','8siCWIR','5033455oemXlO','solve','apply','rewardItem','277380Ymhjja','addItem','2914280EShHQo','776whYzFq','constructor','584652FEvwsG','logger','search'];a41c=function(){return k;};return a41c();}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x11f;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a['toString']()[h(0x126)]('(((.+)+)+)+$')[h(0x12b)]()[h(0x123)](a41a)[h(0x126)]('(((.+)+)+)+$');});a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0x12e)]=a41i(0x138);static [a41i(0x127)]='Attempt\x20to\x20solve\x20a\x20puzzle.';['execute'](a){const j=a41i,b=a['join']('\x20')['toLowerCase'](),c=this[j(0x134)][j(0x12c)];if(!c||!c[j(0x130)])return this[j(0x125)][j(0x131)](j(0x12f)),j(0x133);const d=c[j(0x130)][j(0x138)](b,this['actor'][j(0x128)]);return d[j(0x129)]&&c[j(0x130)]['rewardItem']&&this['actor'][j(0x128)][j(0x120)](c[j(0x130)][j(0x13a)]),this[j(0x125)][j(0x131)]('SolveCommand:\x20'+d[j(0x135)]),d['message'];}}
1
+ function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xaa;let f=c[d];return f;},a41d(a,b);}const a41i=a41d;(function(a,b){const f=a41d,c=a();while(!![]){try{const d=-parseInt(f(0xc0))/0x1+-parseInt(f(0xbf))/0x2+-parseInt(f(0xc2))/0x3+parseInt(f(0xbb))/0x4+parseInt(f(0xc1))/0x5+-parseInt(f(0xbe))/0x6+parseInt(f(0xc5))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x88ca2));function a41c(){const k=['logger','1081528EnKccR','description','message','5978082adUEET','1099234jmMFiA','793697UAKPIO','4962730DrYRfR','40143woxyuG','execute','apply','11552828LtdCDq','inventory','write','solve','SolveCommand:\x20','toLowerCase','success','toString','join','search','rewardItem','actor','currentLocation','puzzle','(((.+)+)+)+$','verb','addItem'];a41c=function(){return k;};return a41c();}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a41d;if(c){const e=c[g(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const h=a41d;return a41a[h(0xb0)]()[h(0xb2)](h(0xb7))['toString']()['constructor'](a41a)['search'](h(0xb7));});a41a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a41i(0xb8)]=a41i(0xac);static [a41i(0xbc)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a41i(0xc3)](a){const j=a41i,b=a[j(0xb1)]('\x20')[j(0xae)](),c=this[j(0xb4)][j(0xb5)];if(!c||!c[j(0xb6)])return this[j(0xba)]['write']('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[j(0xb6)][j(0xac)](b,this[j(0xb4)][j(0xaa)]);return d[j(0xaf)]&&c[j(0xb6)][j(0xb3)]&&this[j(0xb4)]['inventory'][j(0xb9)](c['puzzle'][j(0xb3)]),this[j(0xba)][j(0xab)](j(0xad)+d[j(0xbd)]),d[j(0xbd)];}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x113))/0x1+parseInt(f(0x115))/0x2*(-parseInt(f(0x12b))/0x3)+-parseInt(f(0x112))/0x4*(-parseInt(f(0x111))/0x5)+parseInt(f(0x110))/0x6*(parseInt(f(0x118))/0x7)+-parseInt(f(0x10d))/0x8+parseInt(f(0x11a))/0x9*(-parseInt(f(0x12d))/0xa)+parseInt(f(0x10c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xed989));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x126)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x123)]()[h(0x11e)](h(0x11c))[h(0x123)]()[h(0x121)](a42a)[h(0x11e)]('(((.+)+)+)+$');});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x107;let f=c[d];return f;},a42d(a,b);}import{Command}from'./command.js';function a42c(){const l=['\x22\x20from\x20','constructor','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','toString','\x22\x20is\x20too\x20heavy\x20to\x20carry.','The\x20item\x20\x22','apply','logger','name','Successfully\x20removed\x20\x22','\x22\x20in\x20this\x20room.','591BRYQfZ','\x22\x20not\x20retrieved\x20from\x20','445430kxumzE','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Error\x20during\x20\x27Take\x27\x20command:\x20','actor','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','removeItem','Successfully\x20added\x20\x22','verb','message','currentLocation','21628794gHhaYX','4030864wxwASn','join','There\x20is\x20no\x20item\x20\x22','7674tiMNRB','5sXEKEh','1389208kSifoD','1052545FozBjn','execute','16462xnAxYi','take','\x20during\x20\x27Take\x27\x20command.','3899nrGFqc','write','198JTQUwb','Item\x20\x22','(((.+)+)+)+$','\x22\x20not\x20found\x20in\x20','search','inventory'];a42c=function(){return l;};return a42c();}export class TakeCommand extends Command{static [a42i(0x109)]=a42i(0x116);static ['description']='Pick\x20up\x20an\x20item.';[a42i(0x114)](a){const j=a42i;return this[j(0x127)][j(0x119)](j(0x122)+a[j(0x10e)]('\x20')),this[j(0x116)](a);}['take'](a){const k=a42i,b=a[k(0x10e)]('\x20')['toLowerCase'](),c=this[k(0x130)][k(0x10b)];if(!c[k(0x11f)]['hasItem'](b))return this[k(0x127)][k(0x119)](k(0x11b)+b+k(0x11d)+c[k(0x128)]+k(0x117)),k(0x10f)+b+'\x22\x20in\x20this\x20room.';const d=c[k(0x11f)]['getItem'](b);if(!d)return this[k(0x127)][k(0x119)]('Item\x20\x22'+b+k(0x12c)+c[k(0x128)]+k(0x12e)),k(0x10f)+b+k(0x12a);try{return this[k(0x130)]['addInventory'](d),this[k(0x127)][k(0x119)](k(0x108)+b+'\x22\x20to\x20'+this[k(0x130)][k(0x128)]+k(0x131)),c[k(0x11f)][k(0x107)](b),this[k(0x127)]['write'](k(0x129)+b+k(0x120)+c[k(0x128)]+k(0x12e)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this[k(0x127)][k(0x119)](k(0x12f)+e[k(0x10a)]),k(0x125)+b+k(0x124);}}}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x173))/0x1+-parseInt(f(0x16f))/0x2+-parseInt(f(0x17b))/0x3+parseInt(f(0x185))/0x4*(-parseInt(f(0x16d))/0x5)+-parseInt(f(0x184))/0x6+parseInt(f(0x188))/0x7+parseInt(f(0x172))/0x8*(parseInt(f(0x16c))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xd7a61));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x177)]()[h(0x18a)](h(0x189))[h(0x177)]()[h(0x169)](a42a)['search'](h(0x189));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x166;let f=c[d];return f;},a42d(a,b);}function a42c(){const l=['addInventory','removeItem','16syShxm','1289364VBLXWj','join','inventory','logger','toString','Successfully\x20removed\x20\x22','toLowerCase','There\x20is\x20no\x20item\x20\x22','680589JfxMnj','\x22\x20to\x20','\x22\x20not\x20found\x20in\x20','take','apply','write','\x22\x20not\x20retrieved\x20from\x20','You\x20have\x20taken\x20the\x20','\x20during\x20\x27Take\x27\x20command.','2175486QxjJIX','116OHNaDP','Successfully\x20added\x20\x22','\x22\x20is\x20too\x20heavy\x20to\x20carry.','12268886SbxMZB','(((.+)+)+)+$','search','\x22\x20in\x20this\x20room.','actor','hasItem','constructor','Error\x20during\x20\x27Take\x27\x20command:\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','13134942ZLQBXN','177595UsPykK','name','1758836wCCVfr'];a42c=function(){return l;};return a42c();}import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a42i(0x17e);static ['description']='Pick\x20up\x20an\x20item.';['execute'](a){const j=a42i;return this['logger'][j(0x180)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x174)]('\x20')),this['take'](a);}[a42i(0x17e)](a){const k=a42i,b=a[k(0x174)]('\x20')[k(0x179)](),c=this[k(0x167)]['currentLocation'];if(!c['inventory'][k(0x168)](b))return this[k(0x176)][k(0x180)]('Item\x20\x22'+b+k(0x17d)+c['name']+k(0x183)),k(0x17a)+b+'\x22\x20in\x20this\x20room.';const d=c[k(0x175)]['getItem'](b);if(!d)return this[k(0x176)]['write']('Item\x20\x22'+b+k(0x181)+c['name']+k(0x16b)),'There\x20is\x20no\x20item\x20\x22'+b+k(0x166);try{return this[k(0x167)][k(0x170)](d),this['logger']['write'](k(0x186)+b+k(0x17c)+this['actor'][k(0x16e)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0x175)][k(0x171)](b),this[k(0x176)][k(0x180)](k(0x178)+b+'\x22\x20from\x20'+c[k(0x16e)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x182)+b+'.';}catch(e){return this[k(0x176)][k(0x180)](k(0x16a)+e['message']),'The\x20item\x20\x22'+b+k(0x187);}}}
@@ -1 +1 @@
1
- function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x116;let f=c[d];return f;},a43d(a,b);}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x12c))/0x1+parseInt(f(0x129))/0x2+-parseInt(f(0x11b))/0x3+-parseInt(f(0x11c))/0x4*(parseInt(f(0x119))/0x5)+-parseInt(f(0x116))/0x6*(-parseInt(f(0x125))/0x7)+-parseInt(f(0x11a))/0x8+-parseInt(f(0x124))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x55263));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x118)]()[h(0x11e)](h(0x12b))[h(0x118)]()['constructor'](a43a)[h(0x11e)]('(((.+)+)+)+$');});function a43c(){const k=['15585CsGmyQ','792248mamGyd','1102686zFiIhy','116fpfJgu','logger','search','unequip','unqeuip','UnequipCommand:\x20','name','execute','4481811fPWKaE','22589JhjGei','\x20unqeuiped\x20','actor','toLowerCase','299980Fitjmk','apply','(((.+)+)+)+$','695475kYVaJR','1038OGXbtC','Unequip\x20an\x20item.','toString'];a43c=function(){return k;};return a43c();}a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a43i(0x120);static ['description']=a43i(0x117);[a43i(0x123)](a){const j=a43i,b=a['join']('\x20')[j(0x128)](),c=this['actor'][j(0x11f)](b);return this[j(0x11d)]['write'](j(0x121)+this[j(0x127)][j(0x122)]+j(0x126)+c),c;}}
1
+ const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x91))/0x1*(-parseInt(f(0x94))/0x2)+parseInt(f(0x95))/0x3+-parseInt(f(0xa0))/0x4+parseInt(f(0x92))/0x5+parseInt(f(0x9e))/0x6+parseInt(f(0xa2))/0x7+-parseInt(f(0x97))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x54e39));function a43c(){const k=['24234pufLOt','996339OxVqaX','description','9475512OvVaSP','write','constructor','logger','(((.+)+)+)+$','toLowerCase','Unequip\x20an\x20item.','2739654mYsAEh','unqeuip','724040ybmXcX','UnequipCommand:\x20','611639Fnavvo','search','unequip','\x20unqeuiped\x20','apply','verb','12ySMOUh','3458255XxmjNR','toString'];a43c=function(){return k;};return a43c();}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x8c;let f=c[d];return f;},a43d(a,b);}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x8f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x93)]()['search'](h(0x9b))['toString']()[h(0x99)](a43a)[h(0x8c)]('(((.+)+)+)+$');});a43a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a43i(0x90)]=a43i(0x9f);static [a43i(0x96)]=a43i(0x9d);['execute'](a){const j=a43i,b=a['join']('\x20')[j(0x9c)](),c=this['actor'][j(0x8d)](b);return this[j(0x9a)][j(0x98)](j(0xa1)+this['actor']['name']+j(0x8e)+c),c;}}
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=parseInt(h(0x12d))/0x1+parseInt(h(0x126))/0x2+-parseInt(h(0x133))/0x3*(parseInt(h(0x119))/0x4)+parseInt(h(0x12c))/0x5*(parseInt(h(0x139))/0x6)+parseInt(h(0x113))/0x7+-parseInt(h(0x132))/0x8+-parseInt(h(0x11a))/0x9*(-parseInt(h(0x128))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xa5505));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x122)]()[j(0x130)]('(((.+)+)+)+$')[j(0x122)]()[j(0x12b)](a44a)[j(0x130)](j(0x11e));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x112;let f=c[d];return f;},a44d(a,b);}a44a();import{Door}from'../models/door.js';function a44c(){const m=['toLowerCase','constructor','3700915qyyWVd','121903NbTLCd','inventory','logger','search','actor','6801336LYWxMn','15GtVcYd','.\x20Result:\x20','unlock','Unlock\x20a\x20door.','unlockItemOrSolution','write','6JkxzuR','There\x27s\x20no\x20door\x20named\x20\x22','75887bhvplX','UnlockCommand:\x20No\x20target\x20specified.','name','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','execute','hasItem','664948QlcRhT','250839fffKpm','get','currentLocation','length','(((.+)+)+)+$','attemptUnlockExit','UnlockCommand:\x20','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','toString','exits','getItem','apply','2246454IgEPDC','\x20is\x20attempted\x20to\x20unlock\x20','130JuhKVn','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'];a44c=function(){return m;};return a44c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static ['verb']=a44k(0x135);static ['description']=a44k(0x136);[a44k(0x117)](a){return this['unlock'](a);}['unlock'](a){const l=a44k;if(a[l(0x11d)]===0x0)return this[l(0x12f)]['error'](l(0x114)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][l(0x12a)](),c=this[l(0x131)][l(0x11c)];if(this['isValidDirection'](b)&&c[l(0x123)]['has'](b)){const d=c[l(0x123)][l(0x11b)](b);if(d instanceof Door){const e=d[l(0x137)]?.[l(0x12a)]();if(e&&this[l(0x131)]['inventory'][l(0x118)](e)){const f=this[l(0x131)][l(0x12e)][l(0x124)](e);if(f){const g=c[l(0x11f)](b,f[l(0x115)]);return this[l(0x12f)][l(0x138)](l(0x120)+this['actor'][l(0x115)]+l(0x127)+b+l(0x134)+g),g;}}return this[l(0x12f)][l(0x138)]('UnlockCommand:\x20'+this[l(0x131)][l(0x115)]+l(0x116)+b+'.'),l(0x121);}else return this['logger'][l(0x138)](l(0x120)+b+l(0x129)+c['name']+'.'),l(0x112)+b+'\x22\x20here.';}else return this[l(0x12f)][l(0x138)](l(0x120)+b+l(0x129)+c[l(0x115)]+'.'),l(0x112)+b+'\x22\x20here.';}}
1
+ const a44k=a44d;(function(a,b){const h=a44d,c=a();while(!![]){try{const d=-parseInt(h(0x86))/0x1*(parseInt(h(0xa5))/0x2)+parseInt(h(0x94))/0x3+-parseInt(h(0xa7))/0x4*(-parseInt(h(0xa2))/0x5)+parseInt(h(0xab))/0x6*(parseInt(h(0x9f))/0x7)+-parseInt(h(0xa9))/0x8*(-parseInt(h(0xa1))/0x9)+-parseInt(h(0x8f))/0xa*(parseInt(h(0x88))/0xb)+-parseInt(h(0xa3))/0xc*(-parseInt(h(0x8c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x7a3cc));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a44d;if(c){const e=c[i(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x8b)]()[j(0x99)](j(0x97))[j(0x8b)]()['constructor'](a44a)['search'](j(0x97));});function a44c(){const n=['UnlockCommand:\x20','4370otQfix','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','unlock','unlockItemOrSolution','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','462570DcwlzV','logger','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','(((.+)+)+)+$','Unlock\x20a\x20door.','search','UnlockCommand:\x20No\x20target\x20specified.','error','write','attemptUnlockExit','toLowerCase','210OYbDWK','There\x27s\x20no\x20door\x20named\x20\x22','207GyITEo','295DHnIkq','228pwyAlt','length','484688lDqUbg','currentLocation','41692GiDRPJ','apply','63976PfwFhW','description','6846pUhGxH','name','isValidDirection','inventory','4GzvoMZ','actor','8877ucYMKg','\x22\x20here.','\x20is\x20attempted\x20to\x20unlock\x20','toString','571597yAXnaf','exits'];a44c=function(){return n;};return a44c();}function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x86;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 ['verb']='unlock';static [a44k(0xaa)]=a44k(0x98);['execute'](a){const l=a44k;return this[l(0x91)](a);}[a44k(0x91)](a){const m=a44k;if(a[m(0xa4)]===0x0)return this[m(0x95)][m(0x9b)](m(0x9a)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][m(0x9e)](),c=this[m(0x87)][m(0xa6)];if(this[m(0xad)](b)&&c[m(0x8d)]['has'](b)){const d=c['exits']['get'](b);if(d instanceof Door){const e=d[m(0x92)]?.[m(0x9e)]();if(e&&this[m(0x87)]['inventory']['hasItem'](e)){const f=this[m(0x87)][m(0xae)]['getItem'](e);if(f){const g=c[m(0x9d)](b,f[m(0xac)]);return this[m(0x95)][m(0x9c)](m(0x8e)+this[m(0x87)][m(0xac)]+m(0x8a)+b+'.\x20Result:\x20'+g),g;}}return this[m(0x95)]['write'](m(0x8e)+this[m(0x87)][m(0xac)]+m(0x90)+b+'.'),m(0x93);}else return this['logger']['write'](m(0x8e)+b+m(0x96)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x89);}else return this[m(0x95)][m(0x9c)](m(0x8e)+b+m(0x96)+c[m(0xac)]+'.'),m(0xa0)+b+m(0x89);}}
@@ -1 +1 @@
1
- function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x17c;let f=c[d];return f;},a45d(a,b);}const a45i=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=-parseInt(f(0x188))/0x1*(-parseInt(f(0x19e))/0x2)+-parseInt(f(0x192))/0x3+parseInt(f(0x19f))/0x4*(parseInt(f(0x1a0))/0x5)+-parseInt(f(0x17f))/0x6*(-parseInt(f(0x17d))/0x7)+-parseInt(f(0x1a2))/0x8*(parseInt(f(0x18f))/0x9)+parseInt(f(0x19b))/0xa+-parseInt(f(0x1a1))/0xb*(parseInt(f(0x193))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x9e358));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a45d;if(c){const e=c[g(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const h=a45d;return a45a[h(0x182)]()[h(0x191)](h(0x195))['toString']()['constructor'](a45a)[h(0x191)](h(0x195));});a45a();import{Command}from'./command.js';export class UseCommand extends Command{static [a45i(0x19a)]='use';static [a45i(0x185)]='Use\x20an\x20item.';[a45i(0x17c)](a){const j=a45i;return this[j(0x187)](a);}[a45i(0x187)](a){const k=a45i,b=a[k(0x18a)]('\x20')[k(0x18c)]();if(!this['actor'][k(0x19d)][k(0x17e)](b))return this['logger'][k(0x18b)](k(0x190)+this['actor'][k(0x186)]+k(0x197)+b+k(0x19c)),k(0x181)+b+k(0x1a3);const c=this[k(0x184)][k(0x19d)][k(0x18e)](b);if(!c)return this[k(0x183)]['write'](k(0x190)+b+k(0x194)+this[k(0x184)][k(0x186)]+'\x27s\x20inventory.'),'You\x20don\x27t\x20have\x20the\x20'+b+k(0x1a3);if(typeof c[k(0x187)]===k(0x196)){const d=c[k(0x187)]();return this[k(0x183)][k(0x18b)]('UseCommand:\x20'+this[k(0x184)]['name']+k(0x18d)+b+'.'),d;}else return this[k(0x183)][k(0x18b)](k(0x190)+b+k(0x198)),k(0x199)+b+k(0x180);}}function a45c(){const l=['toString','logger','actor','description','name','use','254VpuPul','apply','join','write','toLowerCase','\x20used\x20','getItem','306exxUcP','UseCommand:\x20','search','3824052tkyoVX','12BskPZG','\x20not\x20retrieved\x20from\x20','(((.+)+)+)+$','function','\x20attempted\x20to\x20use\x20','\x20doesn\x27t\x20have\x20a\x20use\x20method.','You\x20can\x27t\x20use\x20the\x20','verb','5418630CUjrkD',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','inventory','1114ASQIQJ','1016cAFygb','17245tIpJDk','4272059FyxoBi','105992qvSLww','\x20to\x20use.','execute','8415092jhCtFM','hasItem','6qKECIW','\x20in\x20this\x20way.','You\x20don\x27t\x20have\x20the\x20'];a45c=function(){return l;};return a45c();}
1
+ const a45h=a45d;(function(a,b){const f=a45d,c=a();while(!![]){try{const d=parseInt(f(0x18d))/0x1+-parseInt(f(0x198))/0x2*(parseInt(f(0x196))/0x3)+-parseInt(f(0x19e))/0x4*(-parseInt(f(0x1a5))/0x5)+-parseInt(f(0x19f))/0x6+parseInt(f(0x1a7))/0x7*(-parseInt(f(0x1a4))/0x8)+-parseInt(f(0x191))/0x9+-parseInt(f(0x1a1))/0xa*(-parseInt(f(0x1a3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x5b4ec));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const g=a45d;return a45a['toString']()[g(0x19d)]('(((.+)+)+)+$')[g(0x195)]()[g(0x18f)](a45a)[g(0x19d)](g(0x19b));});function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x187;let f=c[d];return f;},a45d(a,b);}a45a();import{Command}from'./command.js';function a45c(){const k=['\x20to\x20use.','hasItem','logger','UseCommand:\x20','use','366001MMMICY','You\x20can\x27t\x20use\x20the\x20','constructor','\x20doesn\x27t\x20have\x20a\x20use\x20method.','3906279Bpxrww','\x20in\x20this\x20way.','Use\x20an\x20item.','join','toString','1068090CwnIPI','toLowerCase','2QWGcXO','description','\x20used\x20','(((.+)+)+)+$','name','search','1934756xgUhGX','3696084NgmcnL','\x20attempted\x20to\x20use\x20','17210XKXCfK','\x27s\x20inventory.','7887eJrsUI','4368cXFzBb','5qEfaOv','getItem','3892FGudaY','inventory','You\x20don\x27t\x20have\x20the\x20','actor','write'];a45c=function(){return k;};return a45c();}export class UseCommand extends Command{static ['verb']=a45h(0x18c);static [a45h(0x199)]=a45h(0x193);['execute'](a){const i=a45h;return this[i(0x18c)](a);}[a45h(0x18c)](a){const j=a45h,b=a[j(0x194)]('\x20')[j(0x197)]();if(!this[j(0x1aa)][j(0x1a8)][j(0x189)](b))return this[j(0x18a)][j(0x187)](j(0x18b)+this['actor'][j(0x19c)]+j(0x1a0)+b+',\x20which\x20is\x20not\x20in\x20their\x20inventory.'),j(0x1a9)+b+j(0x188);const c=this[j(0x1aa)][j(0x1a8)][j(0x1a6)](b);if(!c)return this[j(0x18a)][j(0x187)](j(0x18b)+b+'\x20not\x20retrieved\x20from\x20'+this[j(0x1aa)]['name']+j(0x1a2)),j(0x1a9)+b+'\x20to\x20use.';if(typeof c[j(0x18c)]==='function'){const d=c[j(0x18c)]();return this[j(0x18a)]['write'](j(0x18b)+this[j(0x1aa)][j(0x19c)]+j(0x19a)+b+'.'),d;}else return this[j(0x18a)][j(0x187)](j(0x18b)+b+j(0x190)),j(0x18e)+b+j(0x192);}}
@@ -1 +1 @@
1
- const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=parseInt(f(0x1a2))/0x1+-parseInt(f(0x1a3))/0x2*(-parseInt(f(0x1a4))/0x3)+-parseInt(f(0x199))/0x4*(-parseInt(f(0x1a7))/0x5)+-parseInt(f(0x19d))/0x6+-parseInt(f(0x1a1))/0x7*(parseInt(f(0x1a5))/0x8)+parseInt(f(0x197))/0x9+-parseInt(f(0x198))/0xa*(parseInt(f(0x19f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xe2be2));function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x196;let f=c[d];return f;},a46d(a,b);}const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0x1a0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0x19e)]()[h(0x19b)](h(0x1a8))['toString']()[h(0x196)](a46a)[h(0x19b)](h(0x1a8));});a46a();export class CommandFactory{static ['commandMap']={};static[a46i(0x19c)](a,b){const j=a46i;this[j(0x19a)][a]=b;}static['createCommand'](a,b){const k=a46i,c=this[k(0x19a)][a];if(c)return new c(b);return null;}static[a46i(0x1a6)](){const l=a46i;return this[l(0x19a)];}}function a46c(){const m=['12084129SgOqlt','2536520QdRsqe','153076DOZqYt','commandMap','search','registerCommand','384810NTFYVh','toString','88EvomWT','apply','8953TJlSVA','517455lMnEfy','1770892tyTWOF','6eKLYdZ','7160CpVQKg','getAllRegisteredCommands','70hlwhYt','(((.+)+)+)+$','constructor'];a46c=function(){return m;};return a46c();}
1
+ function a46c(){const m=['4619830ahUXZT','apply','toString','commandMap','search','getAllRegisteredCommands','48128913QRuoCy','511GaPiQL','registerCommand','576WwMeqi','17672WnnWir','(((.+)+)+)+$','7639362XIDcSX','50608SGyTLG','constructor','1007812dBRCkN','2016122YeLaiS'];a46c=function(){return m;};return a46c();}const a46i=a46d;(function(a,b){const f=a46d,c=a();while(!![]){try{const d=-parseInt(f(0x9e))/0x1+-parseInt(f(0x9f))/0x2+-parseInt(f(0x98))/0x3*(parseInt(f(0x99))/0x4)+-parseInt(f(0xa0))/0x5+-parseInt(f(0x9b))/0x6+-parseInt(f(0x96))/0x7*(-parseInt(f(0x9c))/0x8)+parseInt(f(0x95))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xb6a65));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a46d;if(c){const e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const h=a46d;return a46a[h(0xa2)]()[h(0x93)](h(0x9a))[h(0xa2)]()[h(0x9d)](a46a)[h(0x93)]('(((.+)+)+)+$');});a46a();function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x93;let f=c[d];return f;},a46d(a,b);}export class CommandFactory{static [a46i(0xa3)]={};static[a46i(0x97)](a,b){const j=a46i;this[j(0xa3)][a]=b;}static['createCommand'](a,b){const k=a46i,c=this[k(0xa3)][a];if(c)return new c(b);return null;}static[a46i(0x94)](){const l=a46i;return this[l(0xa3)];}}
@@ -1 +1 @@
1
- const a47k=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x1a1))/0x1*(parseInt(f(0x1ab))/0x2)+-parseInt(f(0x199))/0x3*(parseInt(f(0x1aa))/0x4)+parseInt(f(0x1b6))/0x5+parseInt(f(0x1a9))/0x6*(parseInt(f(0x1a5))/0x7)+-parseInt(f(0x1b5))/0x8*(parseInt(f(0x195))/0x9)+parseInt(f(0x1ac))/0xa+parseInt(f(0x19b))/0xb*(parseInt(f(0x197))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xbd140));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x1ae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x1a2)]()[h(0x19d)](h(0x1b4))[h(0x1a2)]()[h(0x1af)](a47a)['search']('(((.+)+)+)+$');});function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x195;let f=c[d];return f;},a47d(a,b);}a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a47c(){const n=['INSIDE','items','36ubpaMo','220xHlDOS','4PMteWR','318520SybuYI','description','apply','constructor','forEach','roomType','createItem','type','(((.+)+)+)+$','24etOdRJ','3678800vTwpkD','book','createPuzzle','inventory','2671173vKLPOo','helmet','216XZasGv','sword','35553jtKUbm','rewardItem','654940HJuzHi','boots','search','gloves','convertToRoomConfig','bodyarmor','260035bfBIsX','toString','puzzle','setPuzzle','1163631jivDZq','name'];a47c=function(){return n;};return a47c();}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(0x19f)](a),c=new Room(b);if(a[i(0x1a8)]){const d=new Inventory();a[i(0x1a8)][i(0x1b0)](e=>{d['addItem'](this['createItem'](e));}),c[i(0x1b9)]=d;}return a[i(0x1a3)]&&c[i(0x1a4)](this['createPuzzle'](a[i(0x1a3)])),c;}['createItem'](a){const j=a47d;switch(a[j(0x1b3)]){case'key':return new Key(a[j(0x1a6)],a['description']);case j(0x1b7):return new Book(a['name'],a[j(0x1ad)],a['content']);case j(0x198):return new Sword(a['name'],a[j(0x1ad)]);case'rifle':return new Rifle(a[j(0x1a6)],a['description']);case j(0x196):return new Helmet(a[j(0x1a6)],a[j(0x1ad)]);case j(0x1a0):return new BodyArmor(a[j(0x1a6)],a[j(0x1ad)]);case'legarmor':return new LegArmor(a['name'],a[j(0x1ad)]);case j(0x19c):return new Boots(a[j(0x1a6)],a['description']);case j(0x19e):return new Gloves(a[j(0x1a6)],a[j(0x1ad)]);case'gauntlets':return new Gauntlets(a['name'],a[j(0x1ad)]);default:return new BasicItem(a[j(0x1a6)],a[j(0x1ad)]);}}[a47k(0x1b8)](a){const l=a47k,b=this[l(0x1b2)](a[l(0x19a)]);return new Puzzle({...a,'rewardItem':b});}[a47k(0x19f)](a){const m=a47k,b=a['roomType']&&RoomType[a['roomType']['toUpperCase']()]?RoomType[a[m(0x1b1)]['toUpperCase']()]:RoomType[m(0x1a7)];return{'name':a[m(0x1a6)],'description':a[m(0x1ad)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
1
+ const a47i=a47d;(function(a,b){const f=a47d,c=a();while(!![]){try{const d=-parseInt(f(0x1e4))/0x1+-parseInt(f(0x1ef))/0x2*(-parseInt(f(0x1f4))/0x3)+parseInt(f(0x1eb))/0x4*(parseInt(f(0x203))/0x5)+-parseInt(f(0x1ed))/0x6+-parseInt(f(0x200))/0x7*(parseInt(f(0x1e8))/0x8)+parseInt(f(0x201))/0x9*(parseInt(f(0x202))/0xa)+parseInt(f(0x1e0))/0xb*(parseInt(f(0x1f6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x62082));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a47d;if(c){const e=c[g(0x205)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const h=a47d;return a47a[h(0x1f9)]()[h(0x1ff)](h(0x1e3))[h(0x1f9)]()[h(0x1de)](a47a)[h(0x1ff)]('(((.+)+)+)+$');});a47a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1de;let f=c[d];return f;},a47d(a,b);}function a47c(){const o=['gauntlets','(((.+)+)+)+$','517724uIJipw','convertToRoomConfig','book','setPuzzle','16IRehpx','createRoom','rewardItem','40oxcCFh','isStartRoom','1122216tAaArd','legarmor','378BBSabS','createItem','helmet','roomType','items','2469xczEly','type','527892jnmWqY','key','content','toString','forEach','name','addItem','description','bodyarmor','search','2455649OaIuNC','162OEikAY','79010gjzclM','161195RCwoek','createPuzzle','apply','constructor','puzzle','297eyLwOn','toUpperCase'];a47c=function(){return o;};return a47c();}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(0x1e9)](a){const j=a47i,b=this[j(0x1e5)](a),c=new Room(b);if(a[j(0x1f3)]){const d=new Inventory();a['items'][j(0x1fa)](e=>{const k=j;d[k(0x1fc)](this[k(0x1f0)](e));}),c['inventory']=d;}return a[j(0x1df)]&&c[j(0x1e7)](this[j(0x204)](a[j(0x1df)])),c;}[a47i(0x1f0)](a){const l=a47i;switch(a[l(0x1f5)]){case l(0x1f7):return new Key(a[l(0x1fb)],a[l(0x1fd)]);case l(0x1e6):return new Book(a[l(0x1fb)],a[l(0x1fd)],a[l(0x1f8)]);case'sword':return new Sword(a[l(0x1fb)],a[l(0x1fd)]);case'rifle':return new Rifle(a[l(0x1fb)],a[l(0x1fd)]);case l(0x1f1):return new Helmet(a['name'],a[l(0x1fd)]);case l(0x1fe):return new BodyArmor(a[l(0x1fb)],a[l(0x1fd)]);case l(0x1ee):return new LegArmor(a['name'],a[l(0x1fd)]);case'boots':return new Boots(a[l(0x1fb)],a[l(0x1fd)]);case'gloves':return new Gloves(a[l(0x1fb)],a['description']);case l(0x1e2):return new Gauntlets(a[l(0x1fb)],a[l(0x1fd)]);default:return new BasicItem(a[l(0x1fb)],a[l(0x1fd)]);}}[a47i(0x204)](a){const m=a47i,b=this[m(0x1f0)](a[m(0x1ea)]);return new Puzzle({...a,'rewardItem':b});}[a47i(0x1e5)](a){const n=a47i,b=a[n(0x1f2)]&&RoomType[a[n(0x1f2)][n(0x1e1)]()]?RoomType[a['roomType']['toUpperCase']()]:RoomType['INSIDE'];return{'name':a[n(0x1fb)],'description':a[n(0x1fd)],'isStartRoom':a[n(0x1ec)],'roomType':b};}}
@@ -1 +1 @@
1
- const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0xcd))/0x1+parseInt(h(0xc5))/0x2*(-parseInt(h(0xd2))/0x3)+parseInt(h(0xca))/0x4+-parseInt(h(0xc4))/0x5+parseInt(h(0xbc))/0x6*(-parseInt(h(0xa9))/0x7)+-parseInt(h(0xaf))/0x8*(-parseInt(h(0xcf))/0x9)+parseInt(h(0xba))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xde1fd));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a['toString']()['search']('(((.+)+)+)+$')[j(0xb3)]()['constructor'](a48a)[j(0xd1)](j(0xcb));});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';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xa5;let f=c[d];return f;},a48d(a,b);}import{UnequipCommand}from'./commands/unequip.js';function a48c(){const s=['scene','instance','232Wtzbcc','getInstance','registerCommand','maka','toString','help','getHelpMessage','Welcome,\x20','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','-\x20clear:\x20Clear\x20the\x20screen.\x0a','split','28918580rVCAoD','rooms','52902awzIWn','determineStartRoom','handleInput','say','clear','use','slice','registerCommands','7957495EEpRDE','150894XgiICj','currentLocation','getAllRegisteredCommands','unequip','initialize','6660200KuZWnu','(((.+)+)+)+$','getWelcomeMessage','237020VjjfuT','apply','24930RxsIoV','look','search','72qKBQXT','toLowerCase','-\x20quit:\x20Exit\x20the\x20game.\x0a','player','quit','drop','70yolDzX','createCommand','solve','currentRoom'];a48c=function(){return s;};return a48c();}import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0xae)];[a48k(0xad)];[a48k(0xa6)];[a48k(0xac)];[a48k(0xbb)];constructor(a,b){const l=a48k;this[l(0xa6)]=a,this[l(0xad)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0xad)][l(0xc9)](),this[l(0xa6)][l(0xc6)]=this['determineStartRoom'](),this[l(0xc3)]();}[a48k(0xc3)](){const m=a48k;CommandFactory[m(0xb1)](m(0xd0),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0xb1)]('take',TakeCommand),CommandFactory[m(0xb1)](m(0xc1),UseCommand),CommandFactory[m(0xb1)]('equip',EquipCommand),CommandFactory[m(0xb1)](m(0xc8),UnequipCommand),CommandFactory['registerCommand'](m(0xab),SolveCommand),CommandFactory['registerCommand'](m(0xa8),DropCommand),CommandFactory[m(0xb1)]('unlock',UnlockCommand),CommandFactory[m(0xb1)]('lock',LockCommand),CommandFactory[m(0xb1)](m(0xd1),SearchCommand),CommandFactory[m(0xb1)](m(0xbf),SayCommand);}['determineStartRoom'](){const n=a48k;return this[n(0xad)][n(0xbd)]();}[a48k(0xcc)](){const o=a48k;return o(0xb6)+this[o(0xa6)]['name'];}static[a48k(0xb0)](a,b){const p=a48k;return!Game[p(0xae)]&&(Game[p(0xae)]=new Game(a,b)),Game[p(0xae)];}[a48k(0xbe)](a){const q=a48k,b=a['trim']()[q(0xb9)]('\x20'),c=b[0x0][q(0xd3)](),d=b[q(0xc2)](0x1);if(c===q(0xa7))return null;if(c===q(0xb2))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0xb4))return this['getHelpMessage']();if(c===q(0xc0))return'';const e={'actor':this[q(0xa6)],'rooms':this[q(0xad)]['getRooms'](),'scene':this[q(0xad)]},f=CommandFactory[q(0xaa)](c,e);if(f){const g=f['execute'](d);return g;}return q(0xb7)+c+'\x22.';}[a48k(0xb5)](){const r=a48k,a=CommandFactory[r(0xc7)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=r(0xb8),b+=r(0xa5),b;}}
1
+ const a48k=a48d;(function(a,b){const h=a48d,c=a();while(!![]){try{const d=-parseInt(h(0x189))/0x1+-parseInt(h(0x17b))/0x2+parseInt(h(0x194))/0x3*(parseInt(h(0x195))/0x4)+parseInt(h(0x172))/0x5+-parseInt(h(0x182))/0x6*(-parseInt(h(0x176))/0x7)+parseInt(h(0x180))/0x8+parseInt(h(0x185))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x3e3b9));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a48d;if(c){const e=c[i(0x177)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const j=a48d;return a48a[j(0x174)]()[j(0x19e)](j(0x18b))[j(0x174)]()[j(0x184)](a48a)[j(0x19e)](j(0x18b));});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 a48c(){const s=['rooms','lock','hasOwnProperty','equip','solve','-\x20clear:\x20Clear\x20the\x20screen.\x0a','quit','currentLocation','search','handleInput','currentRoom','411035XFxIFA','getDescription','toString','getHelpMessage','32578vLuVQM','apply','trim','determineStartRoom','createCommand','935996szXdyr','initialize','unequip','player','registerCommand','2826552esdTbw','clear','174ZVCfuF','unlock','constructor','1231641BUsQLE','getWelcomeMessage','scene','Available\x20Commands:\x0a','363246StSrtf','name','(((.+)+)+)+$','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','take','getAllRegisteredCommands','getInstance','use','registerCommands','look','instance','3WmtZBU','1515232lqRpUO'];a48c=function(){return s;};return a48c();}function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x171;let f=c[d];return f;},a48d(a,b);}import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a48k(0x193)];[a48k(0x187)];[a48k(0x17e)];[a48k(0x171)];[a48k(0x196)];constructor(a,b){const l=a48k;this[l(0x17e)]=a,this[l(0x187)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x187)][l(0x17c)](),this[l(0x17e)][l(0x19d)]=this[l(0x179)](),this[l(0x191)]();}[a48k(0x191)](){const m=a48k;CommandFactory[m(0x17f)](m(0x192),LookCommand),CommandFactory[m(0x17f)]('go',GoCommand),CommandFactory[m(0x17f)](m(0x18d),TakeCommand),CommandFactory[m(0x17f)](m(0x190),UseCommand),CommandFactory[m(0x17f)](m(0x199),EquipCommand),CommandFactory[m(0x17f)](m(0x17d),UnequipCommand),CommandFactory['registerCommand'](m(0x19a),SolveCommand),CommandFactory[m(0x17f)]('drop',DropCommand),CommandFactory['registerCommand'](m(0x183),UnlockCommand),CommandFactory[m(0x17f)](m(0x197),LockCommand),CommandFactory['registerCommand'](m(0x19e),SearchCommand),CommandFactory[m(0x17f)]('say',SayCommand);}['determineStartRoom'](){const n=a48k;return this[n(0x187)][n(0x179)]();}[a48k(0x186)](){const o=a48k;return'Welcome,\x20'+this[o(0x17e)][o(0x18a)];}static[a48k(0x18f)](a,b){const p=a48k;return!Game[p(0x193)]&&(Game[p(0x193)]=new Game(a,b)),Game[p(0x193)];}[a48k(0x19f)](a){const q=a48k,b=a[q(0x178)]()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b['slice'](0x1);if(c===q(0x19c))return null;if(c==='maka')return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c==='help')return this['getHelpMessage']();if(c===q(0x181))return'';const e={'actor':this[q(0x17e)],'rooms':this[q(0x187)]['getRooms'](),'scene':this['scene']},f=CommandFactory[q(0x17a)](c,e);if(f){const g=f['execute'](d);return g;}return q(0x18c)+c+'\x22.';}[a48k(0x175)](){const r=a48k,a=CommandFactory[r(0x18e)]();let b=r(0x188);for(const c in a){if(a[r(0x198)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x173)]()+'\x0a';}}return b+=r(0x19b),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0xf4))/0x1*(-parseInt(f(0xf2))/0x2)+parseInt(f(0xf5))/0x3+-parseInt(f(0xf3))/0x4+-parseInt(f(0xee))/0x5+-parseInt(f(0xf0))/0x6*(-parseInt(f(0xeb))/0x7)+parseInt(f(0xed))/0x8+-parseInt(f(0xef))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xf18fe));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xeb;var f=c[d];return f;},a49d(a,b);}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0xf6)](h(0xf1))['toString']()['constructor'](a49a)[h(0xf6)](h(0xf1));});a49a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';function a49c(){var i=['16KAnXVx','2086656lPRkko','207374QRPnRk','3689172URVwtX','search','427014kvMQWF','apply','4992648hIElaj','6083230wFAgWy','10359549iHJhLy','36ofaSrm','(((.+)+)+)+$'];a49c=function(){return i;};return a49c();}export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x197))/0x1*(parseInt(f(0x19f))/0x2)+-parseInt(f(0x1a3))/0x3*(-parseInt(f(0x19d))/0x4)+-parseInt(f(0x19b))/0x5*(-parseInt(f(0x198))/0x6)+parseInt(f(0x1a4))/0x7+-parseInt(f(0x196))/0x8*(parseInt(f(0x1a1))/0x9)+-parseInt(f(0x199))/0xa*(-parseInt(f(0x19a))/0xb)+-parseInt(f(0x1a0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x3d80d));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var g=a49d;return a49a[g(0x19e)]()[g(0x195)](g(0x19c))['toString']()[g(0x1a2)](a49a)[g(0x195)](g(0x19c));});a49a();export*from'./door.js';export*from'./inventory.js';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x195;var f=c[d];return f;},a49d(a,b);}function a49c(){var h=['12831096WQIzly','138150EGjPwg','constructor','204987utiRmk','798070ZfALMt','search','48IQKkWv','787XYwmuj','10098ZWFVmd','576590MoEjnE','77UhluZE','1455thuNHg','(((.+)+)+)+$','28lsAmkZ','toString','184AkxwFP'];a49c=function(){return h;};return a49c();}export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a50h=a50d;function a50c(){var n=['Door\x20created\x20between\x20','143gGVCAi','.\x20Used:\x20','name','getOtherSide','roomA','unlockItemOrSolution','228glfSLT','(((.+)+)+)+$','isLocked','logger','563645xozyMe','13518yrwWZJ','isLockable','882hLNpfv','getInstance','To\x20','checkIfLockable','6833223pAkyzA','checkIfLocked','4tesLNx','toString','roomB','Door\x20unlocked:\x20','search','30968WXJUeq','\x20and\x20','write','228586FsYaWj','5094280HovSaJ','attemptUnlock','2337980DqqkEI'];a50c=function(){return n;};return a50c();}(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x1fc))/0x1*(parseInt(f(0x1f4))/0x2)+-parseInt(f(0x20c))/0x3*(parseInt(f(0x207))/0x4)+parseInt(f(0x20b))/0x5+parseInt(f(0x1ee))/0x6*(-parseInt(f(0x1f9))/0x7)+-parseInt(f(0x1fd))/0x8+-parseInt(f(0x1f2))/0x9+parseInt(f(0x1ff))/0xa*(parseInt(f(0x201))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x5fa31));var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var g=a50d;return a50a['toString']()[g(0x1f8)]('(((.+)+)+)+$')[g(0x1f5)]()['constructor'](a50a)[g(0x1f8)](g(0x208));});a50a();function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x1ed;var f=c[d];return f;},a50d(a,b);}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50h(0x205)];[a50h(0x1f6)];[a50h(0x209)];['unlockItemOrSolution'];[a50h(0x203)];[a50h(0x20a)];[a50h(0x1ed)];constructor(a){var i=a50h;super(),this[i(0x205)]=a[i(0x205)],this[i(0x1f6)]=a[i(0x1f6)],this[i(0x209)]=a['isLocked']||![],this[i(0x206)]=a[i(0x206)],this[i(0x203)]=a[i(0x203)]?capitalCase(a[i(0x203)]):i(0x1f0)+a[i(0x1f6)][i(0x203)],this[i(0x20a)]=Logger[i(0x1ef)](),this[i(0x1ed)]=!!a['unlockItemOrSolution'],this[i(0x20a)][i(0x1fb)](i(0x200)+this[i(0x205)]['name']+i(0x1fa)+this['roomB'][i(0x203)]+'.\x20Is\x20Locked:\x20'+this['isLocked']);}[a50h(0x204)](a){var j=a50h;return this[j(0x205)]===a?this[j(0x1f6)]:this[j(0x205)];}[a50h(0x1fe)](a){var k=a50h;if(this[k(0x209)]&&this[k(0x206)]&&this[k(0x206)]===a)return this[k(0x209)]=![],this['logger'][k(0x1fb)](k(0x1f7)+this[k(0x203)]+k(0x202)+a),!![];return this[k(0x20a)][k(0x1fb)]('Failed\x20to\x20unlock\x20door:\x20'+this[k(0x203)]+k(0x202)+a),![];}[a50h(0x1f3)](){var l=a50h;return this[l(0x209)];}[a50h(0x1f1)](){var m=a50h;return this[m(0x1ed)];}}
1
+ var a50h=a50d;(function(a,b){var f=a50d,c=a();while(!![]){try{var d=-parseInt(f(0x16f))/0x1*(parseInt(f(0x171))/0x2)+parseInt(f(0x166))/0x3*(parseInt(f(0x160))/0x4)+parseInt(f(0x15d))/0x5+-parseInt(f(0x169))/0x6+-parseInt(f(0x170))/0x7*(parseInt(f(0x168))/0x8)+parseInt(f(0x16a))/0x9*(parseInt(f(0x16c))/0xa)+parseInt(f(0x17c))/0xb*(parseInt(f(0x179))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x42c05));function a50c(){var m=['constructor','checkIfLockable','22hrbOWQ','roomB','602635aIIBqI','.\x20Used:\x20','attemptUnlock','104GlDJuX','Door\x20unlocked:\x20','toString','search','isLockable','.\x20Is\x20Locked:\x20','54987DgGVOz','checkIfLocked','829736VnnsyZ','1535082RElLsq','27OBBFfD','isLocked','1394670SkhfeR','name','unlockItemOrSolution','476276qgyZJA','14xPLRsY','2sqpnjj','roomA','Door\x20created\x20between\x20','getOtherSide','Failed\x20to\x20unlock\x20door:\x20','(((.+)+)+)+$','logger','write','1184928ScxgSE'];a50c=function(){return m;};return a50c();}var a50b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){var g=a50d;return a50a[g(0x162)]()[g(0x163)](g(0x176))[g(0x162)]()[g(0x17a)](a50a)[g(0x163)](g(0x176));});function a50d(a,b){var c=a50c();return a50d=function(d,e){d=d-0x15c;var f=c[d];return f;},a50d(a,b);}a50a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a50h(0x172)];[a50h(0x15c)];[a50h(0x16b)];[a50h(0x16e)];['name'];['logger'];[a50h(0x164)];constructor(a){var i=a50h;super(),this[i(0x172)]=a[i(0x172)],this[i(0x15c)]=a[i(0x15c)],this['isLocked']=a[i(0x16b)]||![],this[i(0x16e)]=a[i(0x16e)],this['name']=a[i(0x16d)]?capitalCase(a[i(0x16d)]):'To\x20'+a[i(0x15c)][i(0x16d)],this[i(0x177)]=Logger['getInstance'](),this[i(0x164)]=!!a[i(0x16e)],this[i(0x177)][i(0x178)](i(0x173)+this['roomA'][i(0x16d)]+'\x20and\x20'+this['roomB'][i(0x16d)]+i(0x165)+this[i(0x16b)]);}[a50h(0x174)](a){var j=a50h;return this['roomA']===a?this[j(0x15c)]:this[j(0x172)];}[a50h(0x15f)](a){var k=a50h;if(this[k(0x16b)]&&this[k(0x16e)]&&this[k(0x16e)]===a)return this['isLocked']=![],this[k(0x177)][k(0x178)](k(0x161)+this['name']+k(0x15e)+a),!![];return this['logger'][k(0x178)](k(0x175)+this[k(0x16d)]+k(0x15e)+a),![];}[a50h(0x167)](){return this['isLocked'];}[a50h(0x17b)](){var l=a50h;return this[l(0x164)];}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0xd0))/0x1+parseInt(f(0xea))/0x2*(-parseInt(f(0xd1))/0x3)+-parseInt(f(0xcd))/0x4+parseInt(f(0xd5))/0x5+-parseInt(f(0xde))/0x6*(parseInt(f(0xda))/0x7)+parseInt(f(0xe7))/0x8*(parseInt(f(0xd2))/0x9)+-parseInt(f(0xc3))/0xa*(-parseInt(f(0xc5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xae189));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xc9)]()[h(0xd7)]('(((.+)+)+)+$')[h(0xc9)]()[h(0xd8)](a51a)[h(0xd7)]('(((.+)+)+)+$');});a51a();function a51c(){const r=['30BwEhmg','keys','Retrieved\x20details\x20for\x20item:\x20','Added\x20item:\x20','get','weight','Failed\x20to\x20remove\x20item:\x20','\x20in\x20','logger','387928fHyvBE','getInstance','items','2IKtwVu','name','30Mdggew','join','4110711FGXmNe','\x20to\x20inventory.','values','removeItem','toString','delete','getAllItems','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','3901788rLIMTP','write','Removed\x20item:\x20','197468vvHnAl','936807MfscCt','90THORwZ','addItem','getItem','4842440rrBMvk','Checked\x20for\x20item:\x20','search','constructor','.\x20Item\x20not\x20found.','526708UWlTIc','apply','toLowerCase','getWeight'];a51c=function(){return r;};return a51c();}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xc2;let f=c[d];return f;},a51d(a,b);}export class Inventory extends AbstractInventory{[a51i(0xe9)];[a51i(0xe6)];constructor(){const j=a51i;super(),this[j(0xe9)]=new Map(),this[j(0xe6)]=Logger[j(0xe8)]();}[a51i(0xd3)](a){const k=a51i;this[k(0xe9)]['set'](a['name'][k(0xdc)](),a),this[k(0xe6)][k(0xce)](k(0xe1)+a[k(0xc2)]+k(0xc6));}[a51i(0xc8)](a){const l=a51i,b=this['getItem'](a);if(b)return this['items'][l(0xca)](a[l(0xdc)]()),this[l(0xe6)]['write'](l(0xcf)+a+'\x20from\x20inventory.'),b;return this[l(0xe6)][l(0xce)](l(0xe4)+a+l(0xd9)),null;}['hasItem'](a){const m=a51i,b=this['items']['has'](a[m(0xdc)]()),c=[...this['items'][m(0xdf)]()];return this['logger'][m(0xce)](m(0xd6)+a+m(0xe5)+c[m(0xc4)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a51i(0xd4)](a){const n=a51i,b=this['items'][n(0xe2)](a[n(0xdc)]())||null;return b?this[n(0xe6)][n(0xce)](n(0xe0)+a+'.'):this[n(0xe6)][n(0xce)](n(0xcc)+a+n(0xd9)),b;}['listItems'](){const o=a51i,a=[...this[o(0xe9)][o(0xdf)]()],b=a['map'](c=>capitalCase(c));return this[o(0xe6)]['write']('Listed\x20items\x20in\x20inventory:\x20'+b[o(0xc4)](',\x20')+'.'),a;}[a51i(0xdd)](){const p=a51i;let a=0x0;for(const b of this['items'][p(0xc7)]()){a+=b[p(0xe3)];}return a;}[a51i(0xcb)](){const q=a51i;return[...this[q(0xe9)]['values']()];}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0xbe))/0x1+-parseInt(f(0xce))/0x2*(parseInt(f(0xd6))/0x3)+-parseInt(f(0xbd))/0x4+parseInt(f(0xd4))/0x5*(parseInt(f(0xd9))/0x6)+-parseInt(f(0xcf))/0x7+parseInt(f(0xb6))/0x8+parseInt(f(0xbc))/0x9*(parseInt(f(0xd0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x5f229));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0xba)]()['search'](h(0xc5))[h(0xba)]()[h(0xd5)](a51a)[h(0xb8)]('(((.+)+)+)+$');});a51a();function a51c(){const r=['addItem','49182yYgVCe','map','Removed\x20item:\x20','Listed\x20items\x20in\x20inventory:\x20','toLowerCase','apply','write','.\x20Item\x20not\x20found.','1202888sOpKBR','removeItem','search','Checked\x20for\x20item:\x20','toString','\x20in\x20','45IPXdQR','457512MGBHOD','17603NTPjCT','logger','values','getItem','getAllItems','\x20from\x20inventory.','keys','(((.+)+)+)+$','items','Added\x20item:\x20','join','\x20to\x20inventory.','has','getInstance','get','getWeight','2EdTVlB','3338461PMpHde','2096980PAOQNc','set','.\x20Exists:\x20','delete','115abBtLb','constructor','1166415WbPrgf','weight'];a51c=function(){return r;};return a51c();}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-0xb5;let f=c[d];return f;},a51d(a,b);}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a51i(0xc6)];[a51i(0xbf)];constructor(){const j=a51i;super(),this[j(0xc6)]=new Map(),this[j(0xbf)]=Logger[j(0xcb)]();}[a51i(0xd8)](a){const k=a51i;this[k(0xc6)][k(0xd1)](a['name'][k(0xdd)](),a),this['logger']['write'](k(0xc7)+a['name']+k(0xc9));}[a51i(0xb7)](a){const l=a51i,b=this['getItem'](a);if(b)return this[l(0xc6)][l(0xd3)](a['toLowerCase']()),this[l(0xbf)][l(0xdf)](l(0xdb)+a+l(0xc3)),b;return this[l(0xbf)][l(0xdf)]('Failed\x20to\x20remove\x20item:\x20'+a+l(0xb5)),null;}['hasItem'](a){const m=a51i,b=this[m(0xc6)][m(0xca)](a[m(0xdd)]()),c=[...this[m(0xc6)][m(0xc4)]()];return this[m(0xbf)]['write'](m(0xb9)+a+m(0xbb)+c[m(0xc8)](',\x20')+m(0xd2)+b+'.'),b;}[a51i(0xc1)](a){const n=a51i,b=this[n(0xc6)][n(0xcc)](a[n(0xdd)]())||null;return b?this[n(0xbf)][n(0xdf)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0xbf)][n(0xdf)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),b;}['listItems'](){const o=a51i,a=[...this[o(0xc6)][o(0xc4)]()],b=a[o(0xda)](c=>capitalCase(c));return this[o(0xbf)][o(0xdf)](o(0xdc)+b['join'](',\x20')+'.'),a;}[a51i(0xcd)](){const p=a51i;let a=0x0;for(const b of this[p(0xc6)][p(0xc0)]()){a+=b[p(0xd7)];}return a;}[a51i(0xc2)](){const q=a51i;return[...this['items'][q(0xc0)]()];}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xf1))/0x1*(parseInt(f(0xeb))/0x2)+-parseInt(f(0xf7))/0x3*(-parseInt(f(0xf8))/0x4)+-parseInt(f(0xfb))/0x5*(parseInt(f(0xfa))/0x6)+-parseInt(f(0xe5))/0x7+parseInt(f(0xf2))/0x8+-parseInt(f(0xe8))/0x9*(parseInt(f(0xe9))/0xa)+parseInt(f(0xe0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xde52c));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xe4)]()[h(0xea)](h(0xf4))[h(0xe4)]()[h(0xe1)](a52a)['search'](h(0xf4));});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-0xdf;var f=c[d];return f;},a52d(a,b);}export class Item extends AbstractItem{[a52i(0xf9)];[a52i(0xe2)];[a52i(0xe3)];['size'];[a52i(0xf3)];['shape'];[a52i(0xe6)];[a52i(0xdf)];[a52i(0xf5)];[a52i(0xf6)];constructor(a){var j=a52i;super(),this['name']=a['name'],this[j(0xe3)]=a[j(0xe3)],this['size']=a[j(0xf0)],this[j(0xf3)]=a[j(0xf3)],this[j(0xed)]=a['shape'],this[j(0xe6)]=a[j(0xe6)],this[j(0xdf)]=a[j(0xdf)],this[j(0xf5)]=a[j(0xf5)],this[j(0xf6)]=a[j(0xf6)],this['uuid']=a52e();}[a52i(0xef)](){var k=a52i;return k(0xee)+this[k(0xe2)]+k(0xe7);}}function a52c(){var l=['5097685FsPcof','texture','6867949kOftcs','constructor','name','description','toString','9059876ouGmpo','color','.\x20Nothing\x20special\x20happens.','9pBntCT','2230510acVdfP','search','2LrPBzH','apply','shape','You\x20use\x20the\x20','use','size','343529taWjzT','7572424VOrRZE','category','(((.+)+)+)+$','rating','weight','351XusaCp','52412tGkdOw','uuid','6ayRGur'];a52c=function(){return l;};return a52c();}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x194))/0x1+parseInt(f(0x19f))/0x2*(parseInt(f(0x1a7))/0x3)+-parseInt(f(0x1a0))/0x4*(parseInt(f(0x195))/0x5)+parseInt(f(0x19e))/0x6*(-parseInt(f(0x193))/0x7)+parseInt(f(0x198))/0x8+parseInt(f(0x19c))/0x9*(-parseInt(f(0x19d))/0xa)+-parseInt(f(0x1a1))/0xb*(-parseInt(f(0x1a5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x78d54));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x19b)](h(0x192))[h(0x1a8)]()[h(0x196)](a52a)[h(0x19b)](h(0x192));});a52a();function a52c(){var l=['You\x20use\x20the\x20','search','9pvZCQB','625990sjiGyR','1328094YYCIFL','3142TBCkzQ','4bjVSeF','24673QHWWdH','uuid','.\x20Nothing\x20special\x20happens.','texture','9564eHWQOy','size','627FVbqhT','toString','name','color','shape','category','rating','weight','use','(((.+)+)+)+$','14IcqmfI','653961WLGUZA','2583015YdKBGo','constructor','description','438264MtOdzd','apply'];a52c=function(){return l;};return a52c();}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-0x18f;var f=c[d];return f;},a52d(a,b);}export class Item extends AbstractItem{[a52i(0x1a2)];[a52i(0x1a9)];[a52i(0x197)];[a52i(0x1a6)];[a52i(0x1ac)];[a52i(0x1ab)];[a52i(0x1aa)];[a52i(0x1a4)];[a52i(0x18f)];[a52i(0x190)];constructor(a){var j=a52i;super(),this['name']=a[j(0x1a9)],this[j(0x197)]=a[j(0x197)],this[j(0x1a6)]=a[j(0x1a6)],this[j(0x1ac)]=a[j(0x1ac)],this[j(0x1ab)]=a[j(0x1ab)],this['color']=a['color'],this[j(0x1a4)]=a['texture'],this[j(0x18f)]=a[j(0x18f)],this[j(0x190)]=a[j(0x190)],this['uuid']=a52e();}[a52i(0x191)](){var k=a52i;return k(0x19a)+this[k(0x1a9)]+k(0x1a3);}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0xd7))/0x1+parseInt(f(0xdf))/0x2+parseInt(f(0xd3))/0x3*(-parseInt(f(0xc8))/0x4)+parseInt(f(0xc7))/0x5*(-parseInt(f(0xda))/0x6)+-parseInt(f(0xde))/0x7+parseInt(f(0xcf))/0x8*(parseInt(f(0xd1))/0x9)+parseInt(f(0xd0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x2db75));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xc6;let f=c[d];return f;},a53d(a,b);}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()[h(0xce)](h(0xd5))[h(0xdc)]()[h(0xd8)](a53a)[h(0xce)](h(0xd5));});a53a();function a53c(){const o=['_dialogue','364684cLuMlZ','constructor','scene','182760afEmzQ','length','toString','execute','2507358vNrmGw','57588PuRrRN','random','name','10UAHiBF','20nOyvgl','rooms','apply','floor','autonomousMove','moveTo','search','16HdDBwz','2733000ZcMpKK','881883ypoVEd','_name','153831VfNqxN','speak','(((.+)+)+)+$'];a53c=function(){return o;};return a53c();}import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a53i(0xd2)];[a53i(0xd6)];[a53i(0xc9)];[a53i(0xd9)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0xd2)]=a,this[j(0xd6)]=b,this[j(0xc9)]=c;}get[a53i(0xc6)](){const k=a53i;return this[k(0xd2)];}[a53i(0xd4)](){const l=a53i;return this[l(0xd6)][Math[l(0xcb)](Math[l(0xe0)]()*this['_dialogue'][l(0xdb)])];}[a53i(0xcc)](a){const m=a53i,b=a[Math[m(0xcb)](Math[m(0xe0)]()*a['length'])];this['moveTo'](b[m(0xc6)]);}[a53i(0xcd)](a){const n=a53i,b={'actor':this,'rooms':this[n(0xc9)],'scene':this[n(0xd9)]},c=new GoCommand(b);c[n(0xdd)]([a]);}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xe1))/0x1*(-parseInt(f(0xe6))/0x2)+parseInt(f(0xe2))/0x3+-parseInt(f(0xe3))/0x4+-parseInt(f(0xd0))/0x5*(parseInt(f(0xde))/0x6)+-parseInt(f(0xe5))/0x7+parseInt(f(0xe8))/0x8*(parseInt(f(0xd7))/0x9)+-parseInt(f(0xdf))/0xa*(-parseInt(f(0xea))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x70bd9));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xd5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0xda)]()['search']('(((.+)+)+)+$')[h(0xda)]()[h(0xdc)](a53a)[h(0xd6)](h(0xd3));});a53a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a53c(){const o=['(((.+)+)+)+$','execute','apply','search','27VLdAXM','floor','random','toString','_name','constructor','speak','30oQbPrJ','464190tVNBif','moveTo','864524EjULob','1658331zDcgat','3230240lOQMPT','autonomousMove','776685ukGsIu','2FYgSBY','length','1892152IvGnbE','rooms','33AankyE','name','885815YdgTkT','_dialogue','scene'];a53c=function(){return o;};return a53c();}function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xcf;let f=c[d];return f;},a53d(a,b);}export class NPC extends Player{[a53i(0xdb)];[a53i(0xd1)];['rooms'];[a53i(0xd2)];constructor(a,b,c,d){const j=a53i;super(d),this[j(0xdb)]=a,this[j(0xd1)]=b,this[j(0xe9)]=c;}get[a53i(0xcf)](){const k=a53i;return this[k(0xdb)];}[a53i(0xdd)](){const l=a53i;return this[l(0xd1)][Math[l(0xd8)](Math[l(0xd9)]()*this[l(0xd1)][l(0xe7)])];}[a53i(0xe4)](a){const m=a53i,b=a[Math[m(0xd8)](Math[m(0xd9)]()*a[m(0xe7)])];this[m(0xe0)](b[m(0xcf)]);}[a53i(0xe0)](a){const n=a53i,b={'actor':this,'rooms':this[n(0xe9)],'scene':this[n(0xd2)]},c=new GoCommand(b);c[n(0xd4)]([a]);}}
@@ -1 +1 @@
1
- const a54i=a54d;(function(a,b){const f=a54d,c=a();while(!![]){try{const d=parseInt(f(0x146))/0x1*(parseInt(f(0x16c))/0x2)+-parseInt(f(0x19c))/0x3+parseInt(f(0x182))/0x4+-parseInt(f(0x188))/0x5*(parseInt(f(0x165))/0x6)+parseInt(f(0x16e))/0x7*(-parseInt(f(0x13f))/0x8)+-parseInt(f(0x192))/0x9+parseInt(f(0x154))/0xa*(parseInt(f(0x17a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xa6fa7));function a54c(){const C=['bodyarmor','Nexus','4427504UoreEW','weapon','getInstance','Added\x20','\x20is\x20now\x20listening\x20in\x20room\x20','logger','9385yCUOLz','_playerName','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','rightHand','startLocation','\x20from\x20player\x27s\x20inventory.','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','Boots','hear','leg\x20armor','9887022WgRAzP','_currentLocation','addItem','hat','error','_maxCarryingWeight','toString','weight','removeInventory','boots','3446544NjOCqC','hasItem','You\x20can\x27t\x20equip\x20','\x20is\x20no\x20longer\x20listeng\x20in\x20','4976uiLfXD','Max\x20carrying\x20weight\x20must\x20be\x20positive.','ArmArmor','Weapon','maxCarryingWeight','initialEquipment','removeItem','273468aGkBWT','equipment','You\x20unequipped\x20','category','inventoryItems','leaveRoom','You\x20don\x27t\x20have\x20','inventory','speak','feet','head','includes','armarmor','\x20to\x20player\x27s\x20inventory.','6420NskzFg','Shield','currentLocation','_inventory','currentWeight','enterRoom','toLowerCase','log','shield','determineEquipmentSlot','A\x20featureless\x20room','gloves','constructor','playerName','torso','unequip','.\x20You\x20must\x20unequip\x20it\x20first.','1698VnEYMg','addInventory','helmet','(((.+)+)+)+$','arm\x20armor','apply','name','4kDakdE','unequipBySlot','749sooSMT','Gloves','Invalid\x20category\x20or\x20slot:\x20','bind','canEquip','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','\x20in\x20your\x20inventory.','arms','Hat','Failed\x20to\x20remove\x20','legs','_equipment','32131QXJyvt','write','legarmor','values','Removed\x20','leftHand'];a54c=function(){return C;};return a54c();}function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x13c;let f=c[d];return f;},a54d(a,b);}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x198)]()['search']('(((.+)+)+)+$')['toString']()[h(0x160)](a54a)['search'](h(0x168));});a54a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a54i(0x189)];[a54i(0x193)];[a54i(0x157)];[a54i(0x179)];[a54i(0x197)]=0x32;[a54i(0x187)];constructor(a){const j=a54i;super(),this['_playerName']=a[j(0x161)],this[j(0x193)]=a[j(0x18c)]||new Room({'name':j(0x181),'description':j(0x15e)}),this[j(0x157)]=new Inventory(),this[j(0x187)]=Logger[j(0x184)]();if(a?.['inventoryItems'])for(const b of a[j(0x14a)]){this[j(0x157)][j(0x194)](b);}this[j(0x179)]=a?.[j(0x144)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x16b)](){const k=a54i;return this[k(0x189)];}get[a54i(0x156)](){const l=a54i;return this[l(0x193)];}set[a54i(0x156)](a){const m=a54i;this['_currentLocation']!==a&&(this[m(0x14b)](),this[m(0x159)](a)),this[m(0x193)]=a;}get[a54i(0x14d)](){const n=a54i;return this[n(0x157)];}get[a54i(0x147)](){const o=a54i;return this[o(0x179)];}set[a54i(0x147)](a){this['_equipment']=a;}get[a54i(0x143)](){const p=a54i;return this[p(0x197)];}set['maxCarryingWeight'](a){const q=a54i;a>0x0?this[q(0x197)]=a:console[q(0x196)](q(0x140));}get[a54i(0x158)](){const r=a54i;let a=this['_inventory']['getWeight']();for(const b in this[r(0x179)]){const c=this[r(0x179)][b];c&&(a+=c[r(0x199)]);}return a;}[a54i(0x166)](a){const s=a54i;if(this[s(0x158)]+a['weight']>this[s(0x143)]){this[s(0x187)][s(0x17b)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(s(0x18e));}this['_inventory'][s(0x194)](a),this[s(0x187)][s(0x17b)](s(0x185)+a[s(0x16b)]+s(0x153));}[a54i(0x19a)](a){const t=a54i;if(this[t(0x157)][t(0x145)](a['name']))return this[t(0x187)][t(0x17b)](t(0x17e)+a['name']+'\x20from\x20player\x27s\x20inventory.'),!![];return this[t(0x187)][t(0x17b)](t(0x177)+a[t(0x16b)]+t(0x18d)),![];}['equip'](a){const u=a54i;if(!this['_inventory'][u(0x13c)](a[u(0x16b)]))return u(0x14c)+a['name']+u(0x174);if(!this[u(0x172)](a))return u(0x13d)+a['name']+'.';const b=this[u(0x15d)](a[u(0x149)]);if(!b)return a[u(0x16b)]+u(0x173);if(this[u(0x147)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+u(0x164);return this['equipment'][b]=a,this[u(0x19a)](a),'You\x20equipped\x20'+a[u(0x16b)]+'.';}[a54i(0x163)](a){const v=a54i;let b=a;if(!this[v(0x147)][camelCase(b)]){b=this[v(0x15d)](a);if(!b)return v(0x170)+a+'.';}return this[v(0x16d)](b);}[a54i(0x15d)](a){const w=a54i;switch(a[w(0x15a)]()){case Category[w(0x142)][w(0x15a)]():return w(0x18b);case Category[w(0x155)][w(0x15a)]():return'leftHand';case Category[w(0x16f)][w(0x15a)]():return w(0x15f);case Category['Helmet'][w(0x15a)]():case Category[w(0x176)][w(0x15a)]():return w(0x150);case Category[w(0x18f)][w(0x15a)]():return w(0x14f);case Category['LegArmor'][w(0x15a)]():return w(0x178);case Category[w(0x141)][w(0x15a)]():return w(0x175);case Category['BodyArmor'][w(0x15a)]():return'torso';case w(0x183):return w(0x18b);case w(0x15c):return w(0x17f);case w(0x15f):return'gloves';case w(0x167):case w(0x195):return w(0x150);case w(0x19b):return'feet';case w(0x191):case w(0x17c):return w(0x178);case w(0x169):case w(0x152):return w(0x175);case'body\x20armor':case w(0x180):case w(0x162):return'torso';default:return null;}}[a54i(0x172)](a){const x=a54i;return Object[x(0x17d)](Category)[x(0x151)](a['category']);}[a54i(0x16d)](a){const y=a54i,b=this[y(0x147)][a];if(!b)return y(0x18a)+a+'\x20slot.';return this[y(0x166)](b),this['equipment'][a]=null,y(0x148)+b['name']+'.';}[a54i(0x190)](a,b){const z=a54i;a!==this&&this[z(0x187)][z(0x15b)](a[z(0x16b)]+'\x20says:\x20\x22'+b+'\x22');}[a54i(0x159)](a){const A=a54i;this[A(0x193)]=a,a['on'](A(0x14e),this[A(0x190)][A(0x171)](this)),this[A(0x187)][A(0x17b)](this[A(0x16b)]+A(0x186)+a['name']);}[a54i(0x14b)](){const B=a54i;this[B(0x193)]&&(this['_currentLocation']['off'](B(0x14e),this[B(0x190)][B(0x171)](this)),this[B(0x187)][B(0x17b)](this[B(0x16b)]+B(0x13e)+this[B(0x193)][B(0x16b)]));}}
1
+ const a54i=a54d;function a54c(){const C=['inventoryItems','hat','leaveRoom','_maxCarryingWeight','bind','\x20in\x20your\x20inventory.','off','leg\x20armor','playerName','torso','values','arm\x20armor','logger','apply','Shield','_playerName','(((.+)+)+)+$','8TKbJDa','You\x20equipped\x20','4187687xZeTGN','512ccNBLQ','Nexus','You\x20unequipped\x20','\x20says:\x20\x22','helmet','2124cKwhoT','leftHand','addItem','constructor','3803913luduxS','_currentLocation','canEquip','.\x20You\x20must\x20unequip\x20it\x20first.','legs','equip','Removed\x20','Weapon','rightHand','name','error','Added\x20','477462qWaaBc','currentLocation','inventory','toLowerCase','\x20is\x20no\x20longer\x20listeng\x20in\x20','determineEquipmentSlot','You\x20don\x27t\x20have\x20','body\x20armor','addInventory','armarmor','weapon','initialEquipment','category','startLocation','unequip','enterRoom','48926UsdTxc','Hat','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','\x20from\x20player\x27s\x20inventory.','ArmArmor','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','boots','getWeight','weight','toString','removeItem','equipment','feet','write','Invalid\x20category\x20or\x20slot:\x20','_inventory','Helmet','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','hasItem','1782175hNHndo','getInstance','currentWeight','unequipBySlot','maxCarryingWeight','log','16385340rENUod','BodyArmor','arms','bodyarmor','Boots','4pirBwm','removeInventory','hear','speak','_equipment','search','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','head','A\x20featureless\x20room'];a54c=function(){return C;};return a54c();}(function(a,b){const f=a54d,c=a();while(!![]){try{const d=-parseInt(f(0x1c9))/0x1+parseInt(f(0x1a4))/0x2*(parseInt(f(0x1a9))/0x3)+-parseInt(f(0x1e7))/0x4*(parseInt(f(0x1dc))/0x5)+-parseInt(f(0x1b9))/0x6+-parseInt(f(0x1a3))/0x7+-parseInt(f(0x1a1))/0x8*(parseInt(f(0x1ad))/0x9)+parseInt(f(0x1e2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x4ca5a));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a54d;if(c){const e=c[g(0x19d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const h=a54d;return a54a[h(0x1d2)]()[h(0x1ec)](h(0x1a0))[h(0x1d2)]()[h(0x1ac)](a54a)[h(0x1ec)]('(((.+)+)+)+$');});a54a();function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x190;let f=c[d];return f;},a54d(a,b);}import{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'];[a54i(0x1ae)];['_inventory'];[a54i(0x1eb)];['_maxCarryingWeight']=0x32;[a54i(0x19c)];constructor(a){const j=a54i;super(),this[j(0x19f)]=a[j(0x198)],this['_currentLocation']=a[j(0x1c6)]||new Room({'name':j(0x1a5),'description':j(0x1ef)}),this[j(0x1d8)]=new Inventory(),this[j(0x19c)]=Logger[j(0x1dd)]();if(a?.['inventoryItems'])for(const b of a[j(0x190)]){this[j(0x1d8)][j(0x1ab)](b);}this[j(0x1eb)]=a?.[j(0x1c4)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a54i(0x1b6)](){const k=a54i;return this[k(0x19f)];}get[a54i(0x1ba)](){const l=a54i;return this[l(0x1ae)];}set[a54i(0x1ba)](a){const m=a54i;this[m(0x1ae)]!==a&&(this[m(0x192)](),this['enterRoom'](a)),this[m(0x1ae)]=a;}get[a54i(0x1bb)](){const n=a54i;return this[n(0x1d8)];}get[a54i(0x1d4)](){const o=a54i;return this[o(0x1eb)];}set[a54i(0x1d4)](a){const p=a54i;this[p(0x1eb)]=a;}get['maxCarryingWeight'](){return this['_maxCarryingWeight'];}set[a54i(0x1e0)](a){const q=a54i;a>0x0?this[q(0x193)]=a:console[q(0x1b7)]('Max\x20carrying\x20weight\x20must\x20be\x20positive.');}get['currentWeight'](){const r=a54i;let a=this[r(0x1d8)][r(0x1d0)]();for(const b in this[r(0x1eb)]){const c=this[r(0x1eb)][b];c&&(a+=c['weight']);}return a;}[a54i(0x1c1)](a){const s=a54i;if(this[s(0x1de)]+a[s(0x1d1)]>this[s(0x1e0)]){this[s(0x19c)][s(0x1d6)](s(0x1da));throw new Error(s(0x1ce));}this[s(0x1d8)][s(0x1ab)](a),this[s(0x19c)][s(0x1d6)](s(0x1b8)+a[s(0x1b6)]+'\x20to\x20player\x27s\x20inventory.');}[a54i(0x1e8)](a){const t=a54i;if(this['_inventory'][t(0x1d3)](a[t(0x1b6)]))return this[t(0x19c)][t(0x1d6)](t(0x1b3)+a[t(0x1b6)]+t(0x1cc)),!![];return this[t(0x19c)][t(0x1d6)]('Failed\x20to\x20remove\x20'+a[t(0x1b6)]+t(0x1cc)),![];}[a54i(0x1b2)](a){const u=a54i;if(!this[u(0x1d8)][u(0x1db)](a[u(0x1b6)]))return u(0x1bf)+a[u(0x1b6)]+u(0x195);if(!this[u(0x1af)](a))return'You\x20can\x27t\x20equip\x20'+a['name']+'.';const b=this[u(0x1be)](a[u(0x1c5)]);if(!b)return a[u(0x1b6)]+u(0x1ed);if(this[u(0x1d4)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+u(0x1b0);return this[u(0x1d4)][b]=a,this[u(0x1e8)](a),u(0x1a2)+a[u(0x1b6)]+'.';}[a54i(0x1c7)](a){const v=a54i;let b=a;if(!this[v(0x1d4)][camelCase(b)]){b=this[v(0x1be)](a);if(!b)return v(0x1d7)+a+'.';}return this[v(0x1df)](b);}[a54i(0x1be)](a){const w=a54i;switch(a[w(0x1bc)]()){case Category[w(0x1b4)][w(0x1bc)]():return w(0x1b5);case Category[w(0x19e)][w(0x1bc)]():return w(0x1aa);case Category['Gloves']['toLowerCase']():return'gloves';case Category[w(0x1d9)][w(0x1bc)]():case Category[w(0x1ca)]['toLowerCase']():return w(0x1ee);case Category[w(0x1e6)][w(0x1bc)]():return w(0x1d5);case Category['LegArmor']['toLowerCase']():return w(0x1b1);case Category[w(0x1cd)][w(0x1bc)]():return'arms';case Category[w(0x1e3)][w(0x1bc)]():return'torso';case w(0x1c3):return w(0x1b5);case'shield':return w(0x1aa);case'gloves':return'gloves';case w(0x1a8):case w(0x191):return'head';case w(0x1cf):return'feet';case w(0x197):case'legarmor':return'legs';case w(0x19b):case w(0x1c2):return w(0x1e4);case w(0x1c0):case w(0x1e5):case'torso':return w(0x199);default:return null;}}[a54i(0x1af)](a){const x=a54i;return Object[x(0x19a)](Category)['includes'](a[x(0x1c5)]);}['unequipBySlot'](a){const y=a54i,b=this[y(0x1d4)][a];if(!b)return y(0x1cb)+a+'\x20slot.';return this[y(0x1c1)](b),this[y(0x1d4)][a]=null,y(0x1a6)+b['name']+'.';}[a54i(0x1e9)](a,b){const z=a54i;a!==this&&this[z(0x19c)][z(0x1e1)](a[z(0x1b6)]+z(0x1a7)+b+'\x22');}[a54i(0x1c8)](a){const A=a54i;this[A(0x1ae)]=a,a['on'](A(0x1ea),this[A(0x1e9)][A(0x194)](this)),this[A(0x19c)][A(0x1d6)](this[A(0x1b6)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[A(0x1b6)]);}[a54i(0x192)](){const B=a54i;this[B(0x1ae)]&&(this[B(0x1ae)][B(0x196)](B(0x1ea),this[B(0x1e9)][B(0x194)](this)),this[B(0x19c)]['write'](this[B(0x1b6)]+B(0x1bd)+this[B(0x1ae)][B(0x1b6)]));}}
@@ -1 +1 @@
1
- var a55i=a55d;function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x17e;var f=c[d];return f;},a55d(a,b);}(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x195))/0x1+-parseInt(f(0x187))/0x2+parseInt(f(0x191))/0x3*(-parseInt(f(0x193))/0x4)+parseInt(f(0x183))/0x5+parseInt(f(0x180))/0x6+-parseInt(f(0x198))/0x7+parseInt(f(0x197))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x3c036));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0x182)](h(0x192))[h(0x185)]()['constructor'](a55a)[h(0x182)](h(0x192));});function a55c(){var n=['toString','You\x20have\x20already\x20solved\x20this\x20puzzle.','708786QlOmAI','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','hasRequiredItem','getInstance','logger','matchesRequiredPhrase','You\x20solved\x20the\x20puzzle!','apply','rewardItem','riddle','3itCWoC','(((.+)+)+)+$','283964BFczsM','failureMessage','94207HQvLmf','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','6326592IiLfOu','1619366FrcTbV','Puzzle:\x20Correct\x20solution\x20provided.','successMessage','requiredPhrase','solve','solved','write','899676IHAvUz','requiredItem','search','279865SrktIh','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'];a55c=function(){return n;};return a55c();}a55a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55i(0x18b)]=Logger[a55i(0x18a)]();[a55i(0x17e)]=![];[a55i(0x181)];[a55i(0x19b)];[a55i(0x190)];['rewardItem'];[a55i(0x19a)];['failureMessage'];constructor(a){var j=a55i;super(),this['requiredItem']=a[j(0x181)],this[j(0x19b)]=a[j(0x19b)],this['riddle']=a[j(0x190)],this['rewardItem']=a[j(0x18f)],this[j(0x19a)]=a[j(0x19a)]||j(0x18d),this['failureMessage']=a[j(0x194)]||j(0x196);}['hasRequiredItem'](a){var k=a55i;if(this[k(0x181)])return a['hasItem'](this[k(0x181)]);return![];}['matchesRequiredPhrase'](a){var l=a55i;return this[l(0x19b)]===a;}[a55i(0x19c)](a,b){var m=a55i;if(this['solved'])return this['logger'][m(0x17f)](m(0x188)),{'success':![],'message':m(0x186)};return this[m(0x189)](b)||this[m(0x18c)](a)?(this[m(0x17e)]=!![],this[m(0x18b)]['write'](m(0x199)),{'success':!![],'message':this[m(0x19a)]}):(this[m(0x18b)][m(0x17f)](m(0x184)),{'success':![],'message':this[m(0x194)]});}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xab))/0x1+-parseInt(f(0xac))/0x2+parseInt(f(0xa0))/0x3+parseInt(f(0xb3))/0x4+-parseInt(f(0x9d))/0x5*(-parseInt(f(0xa9))/0x6)+-parseInt(f(0xa7))/0x7+parseInt(f(0xae))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xe92cb));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0xaf)](h(0xb2))[h(0x9f)]()[h(0x9c)](a55a)[h(0xaf)](h(0xb2));});a55a();import{Logger}from'../utilities/logger.js';function a55c(){var n=['riddle','19678560IBBhMH','search','rewardItem','apply','(((.+)+)+)+$','3832948UmzUvt','requiredItem','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','You\x20have\x20already\x20solved\x20this\x20puzzle.','solve','write','logger','constructor','2888055txQntO','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','toString','159945PpKlYv','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','getInstance','requiredPhrase','solved','matchesRequiredPhrase','failureMessage','2665565fxbcHN','successMessage','6rBvEUl','hasRequiredItem','1685121kcmYgY','2055968meCPum'];a55c=function(){return n;};return a55c();}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x99;var f=c[d];return f;},a55d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a55i(0x9b)]=Logger[a55i(0xa2)]();[a55i(0xa4)]=![];[a55i(0xb4)];[a55i(0xa3)];['riddle'];[a55i(0xb0)];[a55i(0xa8)];[a55i(0xa6)];constructor(a){var j=a55i;super(),this[j(0xb4)]=a[j(0xb4)],this['requiredPhrase']=a[j(0xa3)],this[j(0xad)]=a['riddle'],this[j(0xb0)]=a[j(0xb0)],this[j(0xa8)]=a[j(0xa8)]||'You\x20solved\x20the\x20puzzle!',this[j(0xa6)]=a['failureMessage']||j(0xb5);}[a55i(0xaa)](a){var k=a55i;if(this[k(0xb4)])return a['hasItem'](this['requiredItem']);return![];}[a55i(0xa5)](a){var l=a55i;return this[l(0xa3)]===a;}[a55i(0x99)](a,b){var m=a55i;if(this[m(0xa4)])return this[m(0x9b)]['write'](m(0xa1)),{'success':![],'message':m(0xb6)};return this[m(0xaa)](b)||this[m(0xa5)](a)?(this['solved']=!![],this[m(0x9b)][m(0x9a)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this['successMessage']}):(this[m(0x9b)][m(0x9a)](m(0x9e)),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x16f))/0x1+parseInt(f(0x169))/0x2*(parseInt(f(0x173))/0x3)+-parseInt(f(0x13d))/0x4*(parseInt(f(0x175))/0x5)+parseInt(f(0x13f))/0x6+-parseInt(f(0x15d))/0x7*(-parseInt(f(0x14f))/0x8)+parseInt(f(0x13e))/0x9*(parseInt(f(0x15f))/0xa)+-parseInt(f(0x155))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xe830c));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x167)]()[h(0x153)]('(((.+)+)+)+$')[h(0x167)]()[h(0x168)](a56a)['search'](h(0x158));});a56a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a56c(){const u=['Fetching\x20exit\x20in\x20direction:\x20','2835DLduTn','The\x20','50XQNCji','set','findExistingDoor','name','Item\x20removed\x20from\x20room\x20','description','\x20unlocked!','apply','toString','constructor','6vNYMcf','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','roomA','exits','roomB','setPuzzle','154922xcxGyU','Invalid\x20direction:\x20','\x20is\x20locked.\x20Result:\x20','\x20remains\x20locked.','1295745fujrMS','inventory','15bhKxSq','Room\x20created:\x20','logger','south','get','values','783208LLGzbz','1672317Bgvnxv','9468024TjhTnv','.\x20Success:\x20','addItem','Checking\x20if\x20exit\x20in\x20direction\x20','EAST','write','DOWN','getOppositeDirection','attemptUnlockExit','Item\x20added\x20to\x20room\x20','Puzzle\x20set\x20for\x20room\x20','speak','puzzle','checkIfLocked','say','riddle','22424EJDUcm','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','down','removeItem','search','getExit','35691139bKIPjd','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','hasItem','(((.+)+)+)+$','addExit','isStartRoom','roomType'];a56c=function(){return u;};return a56c();}function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x13c;let f=c[d];return f;},a56d(a,b);}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{['logger']=Logger['getInstance']();[a56i(0x162)];[a56i(0x164)];['exits']=new Map();[a56i(0x15b)];['isStartRoom'];[a56i(0x174)]=new Inventory();constructor(a){const j=a56i;super(),this[j(0x162)]=a['name'],this[j(0x164)]=a[j(0x164)],this[j(0x15b)]=a['roomType']||RoomType['INSIDE'],a[j(0x16c)]&&(this[j(0x16c)]=a[j(0x16c)]||new Map()),a[j(0x174)]&&(this[j(0x174)]=a[j(0x174)]),a[j(0x14b)]&&(this[j(0x14b)]=a[j(0x14b)]),this[j(0x15a)]=a[j(0x15a)]||![],this[j(0x177)][j(0x144)](j(0x176)+this[j(0x162)]);}[a56i(0x14d)](a,b){const k=a56i;this['emit'](k(0x14a),a,b);}[a56i(0x159)](a,b,c){const l=a56i;let d=this[l(0x161)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x16c)][l(0x160)](a,d),b['exits'][l(0x160)](this[l(0x146)](a),d);}[a56i(0x147)](a,b){const m=a56i,c=this[m(0x16c)]['get'](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0x177)][m(0x144)](m(0x16a)+a+m(0x140)+d),d?m(0x15e)+c[m(0x162)]+m(0x165):m(0x15e)+c[m(0x162)]+m(0x172);}return this['logger'][m(0x144)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0x156);}[a56i(0x154)](a){const n=a56i;return this['logger'][n(0x144)](n(0x15c)+a),this['exits'][n(0x179)](a);}['isExitLocked'](a){const o=a56i,b=this[o(0x16c)][o(0x179)](a),c=b instanceof Door&&b[o(0x14c)]();return this[o(0x177)]['write'](o(0x142)+a+o(0x171)+c),c;}[a56i(0x141)](a){const p=a56i;this['inventory']['addItem'](a),this['logger'][p(0x144)](p(0x148)+this[p(0x162)]+':\x20'+a[p(0x162)]);}[a56i(0x152)](a){const q=a56i;this[q(0x174)][q(0x157)](a[q(0x162)])?(this[q(0x174)]['removeItem'](a[q(0x162)]),this[q(0x177)][q(0x144)](q(0x163)+this[q(0x162)]+':\x20'+a[q(0x162)])):this['logger'][q(0x144)](q(0x150)+this[q(0x162)]+':\x20'+a[q(0x162)]);}[a56i(0x16e)](a){const r=a56i;this[r(0x14b)]=a,this[r(0x177)]['write'](r(0x149)+this[r(0x162)]+':\x20'+a[r(0x14e)]);}['getOppositeDirection'](a){const s=a56i;switch(a){case'north':return Direction['SOUTH'];case s(0x178):return Direction['NORTH'];case'east':return Direction['WEST'];case'west':return Direction[s(0x143)];case'up':return Direction[s(0x145)];case s(0x151):return Direction['UP'];default:throw new Error(s(0x170)+a);}}[a56i(0x161)](a){const t=a56i;for(const b of this['exits'][t(0x13c)]()){if(b instanceof Door){if(b[t(0x16b)]===this&&b[t(0x16d)]===a||b[t(0x16d)]===this&&b['roomA']===a)return b;}}return undefined;}}
1
+ const a56i=a56d;(function(a,b){const f=a56d,c=a();while(!![]){try{const d=-parseInt(f(0x1dc))/0x1+parseInt(f(0x1ea))/0x2*(parseInt(f(0x1ce))/0x3)+parseInt(f(0x1b9))/0x4*(-parseInt(f(0x1d5))/0x5)+parseInt(f(0x1cf))/0x6+parseInt(f(0x1cd))/0x7+-parseInt(f(0x1b6))/0x8+parseInt(f(0x1df))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0xc3ace));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a56d;if(c){const e=c[g(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const h=a56d;return a56a[h(0x1e8)]()['search'](h(0x1e9))['toString']()[h(0x1bb)](a56a)[h(0x1d1)](h(0x1e9));});a56a();function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a56d(a,b);}import{Logger}from'../utilities/logger.js';function a56c(){const u=['EAST','Item\x20added\x20to\x20room\x20','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','inventory','WEST','puzzle','checkIfLocked','isStartRoom','attemptUnlockExit','DOWN','description','4087104kifXMz','9mwYSjq','9086250rTExfG','exits','search','get','roomB','findExistingDoor','15miejaL','riddle','setPuzzle','.\x20Success:\x20','Checking\x20if\x20exit\x20in\x20direction\x20','getOppositeDirection','apply','555735XmuytI','down','north','211167jxWRxX','The\x20','removeItem','roomType','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','Fetching\x20exit\x20in\x20direction:\x20','INSIDE','Item\x20removed\x20from\x20room\x20','speak','toString','(((.+)+)+)+$','532054NtDNpQ','Room\x20created:\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','set','No\x20locked\x20exit\x20found\x20in\x20direction\x20','emit','hasItem','addItem','8783512oEntOT','write','roomA','619508ypnydw','values','constructor','logger','getExit','name','\x20remains\x20locked.','Puzzle\x20set\x20for\x20room\x20','west'];a56c=function(){return u;};return a56c();}import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a56i(0x1bc)]=Logger['getInstance']();[a56i(0x1be)];[a56i(0x1cc)];['exits']=new Map();['roomType'];['isStartRoom'];[a56i(0x1c5)]=new Inventory();constructor(a){const j=a56i;super(),this['name']=a[j(0x1be)],this[j(0x1cc)]=a[j(0x1cc)],this[j(0x1e2)]=a[j(0x1e2)]||RoomType[j(0x1e5)],a[j(0x1d0)]&&(this[j(0x1d0)]=a[j(0x1d0)]||new Map()),a[j(0x1c5)]&&(this[j(0x1c5)]=a[j(0x1c5)]),a[j(0x1c7)]&&(this[j(0x1c7)]=a[j(0x1c7)]),this[j(0x1c9)]=a[j(0x1c9)]||![],this[j(0x1bc)][j(0x1b7)](j(0x1eb)+this[j(0x1be)]);}['say'](a,b){const k=a56i;this[k(0x1b3)](k(0x1e7),a,b);}['addExit'](a,b,c){const l=a56i;let d=this[l(0x1d4)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1d0)][l(0x1ed)](a,d),b['exits'][l(0x1ed)](this['getOppositeDirection'](a),d);}[a56i(0x1ca)](a,b){const m=a56i,c=this[m(0x1d0)]['get'](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0x1bc)][m(0x1b7)](m(0x1ec)+a+m(0x1d8)+d),d?m(0x1e0)+c[m(0x1be)]+'\x20unlocked!':m(0x1e0)+c[m(0x1be)]+m(0x1bf);}return this[m(0x1bc)][m(0x1b7)](m(0x1ee)+a),m(0x1c4);}[a56i(0x1bd)](a){const n=a56i;return this['logger'][n(0x1b7)](n(0x1e4)+a),this[n(0x1d0)][n(0x1d2)](a);}['isExitLocked'](a){const o=a56i,b=this[o(0x1d0)][o(0x1d2)](a),c=b instanceof Door&&b[o(0x1c8)]();return this[o(0x1bc)][o(0x1b7)](o(0x1d9)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a56i(0x1b5)](a){const p=a56i;this[p(0x1c5)][p(0x1b5)](a),this[p(0x1bc)][p(0x1b7)](p(0x1c3)+this[p(0x1be)]+':\x20'+a[p(0x1be)]);}['removeItem'](a){const q=a56i;this[q(0x1c5)][q(0x1b4)](a['name'])?(this['inventory'][q(0x1e1)](a[q(0x1be)]),this[q(0x1bc)][q(0x1b7)](q(0x1e6)+this[q(0x1be)]+':\x20'+a[q(0x1be)])):this['logger'][q(0x1b7)](q(0x1e3)+this[q(0x1be)]+':\x20'+a['name']);}[a56i(0x1d7)](a){const r=a56i;this[r(0x1c7)]=a,this[r(0x1bc)][r(0x1b7)](r(0x1c0)+this[r(0x1be)]+':\x20'+a[r(0x1d6)]);}[a56i(0x1da)](a){const s=a56i;switch(a){case s(0x1de):return Direction['SOUTH'];case'south':return Direction['NORTH'];case'east':return Direction[s(0x1c6)];case s(0x1c1):return Direction[s(0x1c2)];case'up':return Direction[s(0x1cb)];case s(0x1dd):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}['findExistingDoor'](a){const t=a56i;for(const b of this[t(0x1d0)][t(0x1ba)]()){if(b instanceof Door){if(b['roomA']===this&&b[t(0x1d3)]===a||b[t(0x1d3)]===this&&b[t(0x1b8)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a57k=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0xd0))/0x1+-parseInt(i(0xc8))/0x2*(parseInt(i(0xbf))/0x3)+parseInt(i(0xde))/0x4+parseInt(i(0xd8))/0x5+-parseInt(i(0xd6))/0x6+parseInt(i(0xf1))/0x7+-parseInt(i(0xc4))/0x8*(parseInt(i(0xe5))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x9ad76));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(0xc7)]()[j(0xc5)](j(0xc1))[j(0xc7)]()[j(0xfb)](a57a)[j(0xc5)]('(((.+)+)+)+$');});function a57c(){const D=['addPuzzleToRoom','588850maXSZQ','createRoom','keys','\x20found\x20in\x20the\x20scene.','targetRoom','roomConfiguration','6778824hiDvWm','getPlayer','4243340nGUUom','addItemToRoom','toUpperCase','setPuzzle','Failed\x20to\x20set\x20','Added\x20puzzle\x20to\x20room\x20','4627140sdsHLl','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','generateRoomsFromConfig','initialize','actors','getActor','direction','162HSUFvn','characterLocations','write','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','length','Added\x20item\x20','setCharacterLocation','isStartRoom','removeActor','get','warn','Added\x20room\x20to\x20scene:\x20','2713081oldYPD','getInstance','addExit','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','getCharacterLocation','connectRooms','createExitsFromConfig','rooms','Room\x20\x22','.\x20Room\x20','constructor','roomFactory','logger','delete','addRoom','push','getRooms','determineStartRoom','has','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','Scene\x20initialized\x20with\x20rooms:\x20','set','keyRequired','hasOwnProperty','6XOxFXV','allActors','(((.+)+)+)+$','\x20not\x20found\x20in\x20scene.','\x22\x20does\x20not\x20exist.','317848Jkljhv','search','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','toString','502694potoEV','name','\x20to\x20room\x20','player','Failed\x20to\x20add\x20item\x20','exits','removeRoom'];a57c=function(){return D;};return a57c();}a57a();function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0xb2;let f=c[d];return f;},a57d(a,b);}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];[a57k(0xcb)];[a57k(0xb3)];[a57k(0xe2)];[a57k(0xe6)]=new Map();[a57k(0xb2)];constructor(a){const l=a57k;super(),this[l(0xb2)]=new RoomFactory(),this[l(0xcb)]=a[l(0xcb)],this['rooms']=this['generateRoomsFromConfig'](a['roomConfiguration']),this['logger']=Logger[l(0xf2)](),this[l(0xe2)]=new Map(),this['createExitsFromConfig'](a[l(0xd5)]),this[l(0xb3)][l(0xe7)](l(0xbb)+Object[l(0xd2)](this[l(0xf8)])['join'](',\x20'));}[a57k(0xe1)](){const m=a57k;this['player']['currentLocation']=this[m(0xb8)]();}[a57k(0xe0)](a){const n=a57k;if(!this[n(0xb2)])throw new Error(n(0xba));const b={};for(const c of a){const d=this[n(0xb2)][n(0xd1)](c);b[c[n(0xc9)]]=d;}return b;}[a57k(0xf7)](a){const o=a57k;for(const b of a){const c=this[o(0xf8)][b[o(0xc9)]];if(b[o(0xcd)])for(const d of b[o(0xcd)]){const e=d[o(0xe4)][o(0xda)](),f=d[o(0xd4)],g=d[o(0xbd)],h=this[o(0xf8)][f];h&&c[o(0xf3)](Direction[e],h,g);}}}['addActor'](a){const p=a57k;if(this[p(0xe2)][p(0xb9)](a[p(0xc9)]))throw new Error('Actor\x20with\x20name\x20'+a['name']+'\x20already\x20exists\x20in\x20the\x20scene.');this[p(0xe2)][p(0xbc)](a['name'],a);}[a57k(0xed)](a){const q=a57k;if(!this['actors'][q(0xb9)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+q(0xd3));this[q(0xe2)][q(0xb4)](a);}[a57k(0xe3)](a){const r=a57k;return this[r(0xe2)]['get'](a);}get[a57k(0xc0)](){const s=a57k;return Array['from'](this[s(0xe2)]['values']());}[a57k(0xb5)](a){const t=a57k;this[t(0xf8)][a['name']]=a,this['logger'][t(0xe7)](t(0xf0)+a[t(0xc9)]);}[a57k(0xce)](a){const u=a57k;return this[u(0xf8)][a]?(delete this[u(0xf8)][a],this['logger']['write']('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[u(0xb3)][u(0xe7)](u(0xc6)+a),![]);}[a57k(0xd9)](a,b){const v=a57k,c=this[v(0xf8)][b];c?(c['addItem'](a),this[v(0xb3)]['write'](v(0xea)+a['name']+v(0xca)+c[v(0xc9)])):this[v(0xb3)][v(0xe7)](v(0xcc)+a['name']+v(0xfa)+b+v(0xc2));}[a57k(0xcf)](a,b){const w=a57k,c=this['rooms'][b];c?(c[w(0xdb)](a),this[w(0xb3)][w(0xe7)](w(0xdd)+c[w(0xc9)])):this[w(0xb3)][w(0xe7)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a57k(0xeb)](a,b){const x=a57k,c=this[x(0xf8)][b];c?(this[x(0xe6)]['set'](a[x(0xc9)],c),this['logger'][x(0xe7)](a[x(0xc9)]+'\x20is\x20now\x20in\x20room\x20'+c[x(0xc9)])):this['logger'][x(0xe7)](x(0xdc)+a[x(0xc9)]+'\x27s\x20location.\x20Room\x20'+b+x(0xc2));}[a57k(0xf5)](a){const y=a57k;return this[y(0xe6)][y(0xee)](a['name']);}['determineStartRoom'](){const z=a57k,a=[];for(const c in this['rooms']){if(this['rooms'][z(0xbe)](c)){const d=this[z(0xf8)][c];d[z(0xec)]&&a[z(0xb6)](d);}}if(a[z(0xe9)]>0x1)throw new Error(z(0xe8));if(a[z(0xe9)]===0x1)return a[0x0];const b=Object[z(0xd2)](this['rooms']);if(b[z(0xe9)]===0x0)throw new Error(z(0xf4));return console[z(0xef)](z(0xdf)),this[z(0xf8)][b[0x0]];}[a57k(0xd7)](){const A=a57k;return this[A(0xcb)];}[a57k(0xb7)](){const B=a57k;return this[B(0xf8)];}[a57k(0xf6)](a,b,c,d){const C=a57k,e=this[C(0xf8)][a],f=this[C(0xf8)][c];if(!e)throw new Error(C(0xf9)+a+C(0xc3));if(!f)throw new Error('Room\x20\x22'+c+C(0xc3));e[C(0xf3)](b,f,d);}}
1
+ const a57l=a57d;(function(a,b){const i=a57d,c=a();while(!![]){try{const d=parseInt(i(0x1bb))/0x1*(-parseInt(i(0x1d9))/0x2)+-parseInt(i(0x1b4))/0x3+-parseInt(i(0x1ba))/0x4*(parseInt(i(0x1a2))/0x5)+-parseInt(i(0x1d7))/0x6*(parseInt(i(0x1c2))/0x7)+parseInt(i(0x1b6))/0x8+parseInt(i(0x1da))/0x9*(parseInt(i(0x1e1))/0xa)+parseInt(i(0x1a8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0xf3d2e));const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a57d;if(c){const e=c[j(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const k=a57d;return a57a[k(0x19d)]()[k(0x1be)](k(0x1e7))['toString']()[k(0x1af)](a57a)[k(0x1be)](k(0x1e7));});function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x19b;let f=c[d];return f;},a57d(a,b);}a57a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a57c(){const D=['14571EqYHDr','getInstance','Failed\x20to\x20add\x20item\x20','values','.\x20Room\x20','rooms','targetRoom','9390PPaqMq','has','Failed\x20to\x20set\x20','addActor','logger','set','(((.+)+)+)+$','allActors','addExit','isStartRoom','toString','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','addPuzzleToRoom','currentLocation','addItemToRoom','135CxQknf','\x20to\x20room\x20','\x20found\x20in\x20the\x20scene.','addItem','createRoom','Added\x20puzzle\x20to\x20room\x20','30633339hqLGbb','from','initialize','characterLocations','\x20not\x20found\x20in\x20scene.','addRoom','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','constructor','write','connectRooms','removeRoom','\x20is\x20now\x20in\x20room\x20','1078239HuZEMa','\x22\x20does\x20not\x20exist.','2689576cyCaRB','roomFactory','Actor\x20with\x20name\x20','keys','231228TiMCns','45997dEAUzr','exits','length','search','apply','actors','hasOwnProperty','1431374ayqAEe','setCharacterLocation','keyRequired','get','name','Room\x20\x22','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','getCharacterLocation','createExitsFromConfig','direction','delete','determineStartRoom','player','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','getRooms','toUpperCase','No\x20actor\x20with\x20name\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','setPuzzle','Failed\x20to\x20add\x20puzzle.\x20Room\x20','generateRoomsFromConfig','6TxispP','join','66JddKmq'];a57c=function(){return D;};return a57c();}export class Scene extends AbstractScene{['rooms'];[a57l(0x1ce)];[a57l(0x1e5)];[a57l(0x1c0)];['characterLocations']=new Map();['roomFactory'];constructor(a){const m=a57l;super(),this[m(0x1b7)]=new RoomFactory(),this['player']=a[m(0x1ce)],this[m(0x1df)]=this[m(0x1d6)](a['roomConfiguration']),this[m(0x1e5)]=Logger[m(0x1db)](),this[m(0x1c0)]=new Map(),this[m(0x1ca)](a['roomConfiguration']),this[m(0x1e5)][m(0x1b0)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x1b9)](this[m(0x1df)])[m(0x1d8)](',\x20'));}[a57l(0x1aa)](){const n=a57l;this['player'][n(0x1a0)]=this[n(0x1cd)]();}[a57l(0x1d6)](a){const o=a57l;if(!this[o(0x1b7)])throw new Error(o(0x1ae));const b={};for(const c of a){const d=this[o(0x1b7)][o(0x1a6)](c);b[c[o(0x1c6)]]=d;}return b;}[a57l(0x1ca)](a){const p=a57l;for(const b of a){const c=this[p(0x1df)][b[p(0x1c6)]];if(b[p(0x1bc)])for(const d of b[p(0x1bc)]){const e=d[p(0x1cb)][p(0x1d1)](),f=d[p(0x1e0)],g=d[p(0x1c4)],h=this[p(0x1df)][f];h&&c['addExit'](Direction[e],h,g);}}}[a57l(0x1e4)](a){const q=a57l;if(this[q(0x1c0)]['has'](a[q(0x1c6)]))throw new Error(q(0x1b8)+a['name']+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x1c0)][q(0x1e6)](a[q(0x1c6)],a);}['removeActor'](a){const r=a57l;if(!this[r(0x1c0)][r(0x1e2)](a))throw new Error(r(0x1d2)+a+r(0x1a4));this[r(0x1c0)][r(0x1cc)](a);}['getActor'](a){const s=a57l;return this[s(0x1c0)][s(0x1c5)](a);}get[a57l(0x1e8)](){const t=a57l;return Array[t(0x1a9)](this[t(0x1c0)][t(0x1dd)]());}[a57l(0x1ad)](a){const u=a57l;this[u(0x1df)][a['name']]=a,this[u(0x1e5)][u(0x1b0)]('Added\x20room\x20to\x20scene:\x20'+a[u(0x1c6)]);}[a57l(0x1b2)](a){const v=a57l;return this[v(0x1df)][a]?(delete this[v(0x1df)][a],this[v(0x1e5)][v(0x1b0)]('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0x1e5)][v(0x1b0)](v(0x1cf)+a),![]);}[a57l(0x1a1)](a,b){const w=a57l,c=this['rooms'][b];c?(c[w(0x1a5)](a),this[w(0x1e5)]['write']('Added\x20item\x20'+a[w(0x1c6)]+w(0x1a3)+c[w(0x1c6)])):this[w(0x1e5)][w(0x1b0)](w(0x1dc)+a[w(0x1c6)]+w(0x1de)+b+w(0x1ac));}[a57l(0x19f)](a,b){const x=a57l,c=this['rooms'][b];c?(c[x(0x1d4)](a),this[x(0x1e5)]['write'](x(0x1a7)+c[x(0x1c6)])):this[x(0x1e5)][x(0x1b0)](x(0x1d5)+b+'\x20not\x20found\x20in\x20scene.');}[a57l(0x1c3)](a,b){const y=a57l,c=this['rooms'][b];c?(this['characterLocations'][y(0x1e6)](a[y(0x1c6)],c),this['logger']['write'](a[y(0x1c6)]+y(0x1b3)+c[y(0x1c6)])):this[y(0x1e5)][y(0x1b0)](y(0x1e3)+a[y(0x1c6)]+'\x27s\x20location.\x20Room\x20'+b+y(0x1ac));}[a57l(0x1c9)](a){const z=a57l;return this[z(0x1ab)][z(0x1c5)](a[z(0x1c6)]);}['determineStartRoom'](){const A=a57l,a=[];for(const c in this[A(0x1df)]){if(this[A(0x1df)][A(0x1c1)](c)){const d=this[A(0x1df)][c];d[A(0x19c)]&&a['push'](d);}}if(a[A(0x1bd)]>0x1)throw new Error(A(0x1c8));if(a[A(0x1bd)]===0x1)return a[0x0];const b=Object[A(0x1b9)](this[A(0x1df)]);if(b['length']===0x0)throw new Error(A(0x1d3));return console['warn'](A(0x19e)),this[A(0x1df)][b[0x0]];}['getPlayer'](){const B=a57l;return this[B(0x1ce)];}[a57l(0x1d0)](){return this['rooms'];}[a57l(0x1b1)](a,b,c,d){const C=a57l,e=this[C(0x1df)][a],f=this[C(0x1df)][c];if(!e)throw new Error(C(0x1c7)+a+C(0x1b5));if(!f)throw new Error(C(0x1c7)+c+C(0x1b5));e[C(0x19b)](b,f,d);}}