@maka/maka-cli 4.7.28 → 4.7.29

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 (149) hide show
  1. package/README.md +18 -4
  2. package/bundle/obf/package.json +1 -1
  3. package/bundle/obf/src/README.md +18 -4
  4. package/bundle/obf/src/command.js +1 -1
  5. package/bundle/obf/src/commands/_index.js +1 -1
  6. package/bundle/obf/src/commands/ai.js +1 -1
  7. package/bundle/obf/src/commands/aws/_index.js +1 -1
  8. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  9. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/csg.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/rbi.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/build/_index.js +1 -1
  22. package/bundle/obf/src/commands/build/build.js +1 -1
  23. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/create.js +1 -1
  25. package/bundle/obf/src/commands/debug.js +1 -1
  26. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  27. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  28. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/_index.js +1 -1
  31. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/play.command.js +1 -1
  33. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/generate.js +1 -1
  71. package/bundle/obf/src/commands/get/_index.js +1 -1
  72. package/bundle/obf/src/commands/get/get.command.js +1 -1
  73. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/help.js +1 -1
  77. package/bundle/obf/src/commands/install.js +1 -1
  78. package/bundle/obf/src/commands/jsdoc.js +1 -1
  79. package/bundle/obf/src/commands/lint.js +1 -1
  80. package/bundle/obf/src/commands/login.js +1 -1
  81. package/bundle/obf/src/commands/logout.js +1 -1
  82. package/bundle/obf/src/commands/logs.js +1 -1
  83. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  84. package/bundle/obf/src/commands/murder.js +1 -1
  85. package/bundle/obf/src/commands/proxy.js +1 -1
  86. package/bundle/obf/src/commands/reconfig.js +1 -1
  87. package/bundle/obf/src/commands/run/_index.js +1 -1
  88. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  89. package/bundle/obf/src/commands/run/run.command.js +1 -1
  90. package/bundle/obf/src/commands/set/_index.js +1 -1
  91. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/set/set.command.js +1 -1
  94. package/bundle/obf/src/commands/ssh.js +1 -1
  95. package/bundle/obf/src/commands/ssl.js +1 -1
  96. package/bundle/obf/src/commands/test.js +1 -1
  97. package/bundle/obf/src/commands/version.js +1 -1
  98. package/bundle/obf/src/error.js +1 -1
  99. package/bundle/obf/src/exec.js +1 -1
  100. package/bundle/obf/src/generator.js +1 -1
  101. package/bundle/obf/src/generators/_index.js +1 -1
  102. package/bundle/obf/src/generators/api.js +1 -1
  103. package/bundle/obf/src/generators/collection.js +1 -1
  104. package/bundle/obf/src/generators/component.js +1 -1
  105. package/bundle/obf/src/generators/config.js +1 -1
  106. package/bundle/obf/src/generators/dbc.js +1 -1
  107. package/bundle/obf/src/generators/dockerfile.js +1 -1
  108. package/bundle/obf/src/generators/hook.js +1 -1
  109. package/bundle/obf/src/generators/kits/_index.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  111. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  112. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  113. package/bundle/obf/src/generators/kits/kit.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  115. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  116. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  117. package/bundle/obf/src/generators/layout.js +1 -1
  118. package/bundle/obf/src/generators/maka.gen.js +1 -1
  119. package/bundle/obf/src/generators/methods.js +1 -1
  120. package/bundle/obf/src/generators/package.js +1 -1
  121. package/bundle/obf/src/generators/page.js +1 -1
  122. package/bundle/obf/src/generators/publish.js +1 -1
  123. package/bundle/obf/src/generators/route.js +1 -1
  124. package/bundle/obf/src/generators/service.js +1 -1
  125. package/bundle/obf/src/generators/services/_index.js +1 -1
  126. package/bundle/obf/src/generators/services/openssl.js +1 -1
  127. package/bundle/obf/src/generators/services/translation.js +1 -1
  128. package/bundle/obf/src/maka.js +1 -1
  129. package/bundle/obf/src/templates/meteor/project/package.json +1 -1
  130. package/bundle/obf/src/tool.js +1 -1
  131. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  132. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  133. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  135. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  137. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  138. package/bundle/obf/src/tools/https/https.class.js +1 -1
  139. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  140. package/bundle/obf/src/tools/log/log.class.js +1 -1
  141. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  142. package/bundle/obf/src/tools/options/options.class.js +1 -1
  143. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  144. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  145. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  147. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  149. package/package.json +1 -1
@@ -1 +1 @@
1
- function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xb0;let f=c[d];return f;},a34d(a,b);}const a34h=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=-parseInt(f(0xb6))/0x1+parseInt(f(0xc4))/0x2+parseInt(f(0xc3))/0x3*(-parseInt(f(0xc6))/0x4)+parseInt(f(0xce))/0x5*(parseInt(f(0xd7))/0x6)+parseInt(f(0xc9))/0x7+-parseInt(f(0xbf))/0x8+parseInt(f(0xc0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xaae2e));const a34b=(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;};}()),a34a=a34b(this,function(){const g=a34d;return a34a[g(0xcb)]()['search'](g(0xbc))[g(0xcb)]()[g(0xb7)](a34a)[g(0xc5)](g(0xbc));});a34a();import{Command}from'./command.js';function a34c(){const k=['Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','length','441210ZyKmkp','constructor','error','You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.','hasItem','name','(((.+)+)+)+$','You\x20locked\x20the\x20door\x20named\x20\x22','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','5235816lZjdmJ','10781037lQXRHS','write','actor','3UhiivE','654916azGNza','search','2223156lLnwRr','LockCommand:\x20No\x20target\x20specified.','\x20Locked\x20the\x20','52395KpWywD','has','toString','LockCommand:\x20','isValidDirection','18775LEMiyl','logger','get','inventory','\x22\x20is\x20already\x20locked.','isLocked','lock','unlockItemOrSolution','currentLocation','1308yaFvcq','description','toLowerCase','verb','\x22\x20here.','Lock\x20a\x20door.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','The\x20door\x20named\x20\x22'];a34c=function(){return k;};return a34c();}export class LockCommand extends Command{static [a34h(0xda)]='lock';static [a34h(0xd8)]=a34h(0xb1);['execute'](a){const i=a34h;return this[i(0xd4)](a);}[a34h(0xd4)](a){const j=a34h;if(a[j(0xb5)]===0x0)return this[j(0xcf)][j(0xb8)](j(0xc7)),j(0xb4);const b=a[0x0][j(0xd9)](),c=this[j(0xc2)][j(0xd6)];if(this[j(0xcd)](b)&&c['exits'][j(0xca)](b)){const d=c['exits'][j(0xd0)](b);if(d['isLocked'])return j(0xb3)+b+j(0xd2);const e=d[j(0xd5)]?.[j(0xd9)]();return e&&this[j(0xc2)][j(0xd1)][j(0xba)](e)?(d[j(0xd3)]=!![],this[j(0xcf)][j(0xc1)](j(0xcc)+this[j(0xc2)]['name']+j(0xc8)+b+'\x20door.'),j(0xbd)+b+'\x22.'):(this[j(0xcf)][j(0xc1)](j(0xcc)+this[j(0xc2)][j(0xbb)]+j(0xbe)+b+'.'),j(0xb9));}else return this[j(0xcf)]['write'](j(0xcc)+b+j(0xb2)),'There\x27s\x20no\x20door\x20named\x20\x22'+b+j(0xb0);}}
1
+ function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x169;let f=c[d];return f;},a34d(a,b);}const a34i=a34d;(function(a,b){const f=a34d,c=a();while(!![]){try{const d=parseInt(f(0x185))/0x1*(parseInt(f(0x18d))/0x2)+parseInt(f(0x17d))/0x3*(-parseInt(f(0x188))/0x4)+parseInt(f(0x18c))/0x5+parseInt(f(0x179))/0x6+-parseInt(f(0x175))/0x7*(parseInt(f(0x16b))/0x8)+-parseInt(f(0x173))/0x9+-parseInt(f(0x172))/0xa*(parseInt(f(0x17b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xaae88));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a34d;if(c){const e=c[g(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const h=a34d;return a34a[h(0x195)]()[h(0x18f)](h(0x176))[h(0x195)]()[h(0x177)](a34a)['search']('(((.+)+)+)+$');});a34a();function a34c(){const l=['search','toLowerCase','name','lock','Lock\x20a\x20door.','hasItem','toString','\x20Locked\x20the\x20','exits','3286232GAppcH','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20lock.','You\x20locked\x20the\x20door\x20named\x20\x22','currentLocation','\x20door.','verb','write','610wFkEvY','2792250mgzNiY','LockCommand:\x20','7PiRXag','(((.+)+)+)+$','constructor','isValidDirection','1998576YjEiDI','logger','46321xPlqTs','actor','21831xhVFbm','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','error','has','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20this\x20room.','description','LockCommand:\x20No\x20target\x20specified.','apply','47416wXUWxG','inventory','isLocked','444iDBcrb','There\x27s\x20no\x20door\x20named\x20\x22','get','\x22\x20is\x20already\x20locked.','6969675ByOVhh','32JJIEVm','unlockItemOrSolution'];a34c=function(){return l;};return a34c();}import{Command}from'./command.js';export class LockCommand extends Command{static [a34i(0x170)]='lock';static [a34i(0x182)]=a34i(0x193);['execute'](a){const j=a34i;return this[j(0x192)](a);}['lock'](a){const k=a34i;if(a['length']===0x0)return this['logger'][k(0x17f)](k(0x183)),k(0x16c);const b=a[0x0][k(0x190)](),c=this[k(0x17c)][k(0x16e)];if(this[k(0x178)](b)&&c[k(0x16a)][k(0x180)](b)){const d=c[k(0x16a)][k(0x18a)](b);if(d[k(0x187)])return'The\x20door\x20named\x20\x22'+b+k(0x18b);const e=d[k(0x18e)]?.[k(0x190)]();return e&&this[k(0x17c)][k(0x186)][k(0x194)](e)?(d[k(0x187)]=!![],this[k(0x17a)][k(0x171)](k(0x174)+this[k(0x17c)][k(0x191)]+k(0x169)+b+k(0x16f)),k(0x16d)+b+'\x22.'):(this[k(0x17a)][k(0x171)](k(0x174)+this[k(0x17c)][k(0x191)]+k(0x17e)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20to\x20lock\x20this\x20door.');}else return this[k(0x17a)][k(0x171)](k(0x174)+b+k(0x181)),k(0x189)+b+'\x22\x20here.';}}
@@ -1 +1 @@
1
- const a35i=a35d;function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x9a;let f=c[d];return f;},a35d(a,b);}(function(a,b){const f=a35d,c=a();while(!![]){try{const d=parseInt(f(0xa7))/0x1*(-parseInt(f(0xb4))/0x2)+-parseInt(f(0xc7))/0x3+parseInt(f(0xbf))/0x4*(parseInt(f(0xb3))/0x5)+parseInt(f(0xc1))/0x6*(-parseInt(f(0xb8))/0x7)+parseInt(f(0xa3))/0x8*(-parseInt(f(0xce))/0x9)+parseInt(f(0xcc))/0xa+parseInt(f(0xa6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xa32e3));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a35d;if(c){const e=c[g(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const h=a35d;return a35a[h(0xa4)]()[h(0x9d)]('(((.+)+)+)+$')['toString']()[h(0xba)](a35a)[h(0x9d)](h(0x9e));});a35a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';function a35c(){const n=['currentLocation','exits','roomType','8610440deYRsQ','down','913428kdWyzQ','apply','OUTSIDE','isValidDirection','inventory','You\x27re\x20not\x20in\x20a\x20valid\x20room.','search','(((.+)+)+)+$','It\x27s\x20just\x20a\x20regular\x20','name','lookOutside','\x27\x20in\x20','72AqHQcR','toString','get','16146592BzJRMr','332023xtmvRW','description','write','join','actor','look','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','Above\x20you,\x20','string',',\x20you\x20see\x20','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','5brFaeN','8vlyPBW','\x20is\x20looking\x20around\x20the\x20current\x20room.','Looking\x20at\x20item\x20\x27','Executing\x20\x27Look\x27\x20command.','14UCbPRC','Examine\x20your\x20surroundings','constructor','You\x20don\x27t\x20see\x20any\x20','verb','rooms','getOtherSide','3782136YxASkx','error','146214POnwms','hasItem','logger','puzzle','To\x20the\x20','inspectItem','947415qbrIpF','riddle'];a35c=function(){return n;};return a35c();}import{Command}from'./command.js';export class LookCommand extends Command{static [a35i(0xbc)]=a35i(0xac);static [a35i(0xa8)]=a35i(0xb9);['execute'](a=[]){const j=a35i;this[j(0xc3)][j(0xa9)](j(0xb7));const b=a[j(0xaa)]('\x20');if(b){if(this['actor'][j(0x9b)]['hasItem'](b))return this[j(0xc3)][j(0xa9)](j(0xb6)+b+j(0xa2)+this[j(0xab)][j(0xa0)]+'\x20inventory.'),this[j(0xc6)](b,this[j(0xab)][j(0x9b)]);else{if(this['actor'][j(0xc9)][j(0x9b)][j(0xc2)](b))return this['logger']['write'](j(0xb6)+b+'\x27\x20in\x20current\x20room\x20inventory.'),this[j(0xc6)](b,this[j(0xab)]['currentLocation'][j(0x9b)]);else return this[j(0x9a)](b)?(this[j(0xc3)][j(0xa9)]('Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27'+b+'\x27.'),this[j(0xa1)](b)):'You\x20cannot\x20see\x20'+b;}}else return this[j(0xc3)][j(0xa9)](this[j(0xab)][j(0xa0)]+j(0xb5)),this[j(0xac)]();}[a35i(0xac)](){const k=a35i,a=this[k(0xab)][k(0xc9)];if(!a)return this[k(0xc3)][k(0xc0)](this[k(0xab)][k(0xa0)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),k(0x9c);let b=a[k(0xa8)];return a['puzzle']&&(b+='\x0a'+a[k(0xc4)][k(0xc8)]),b;}[a35i(0xa1)](a){const l=a35i,b=this['actor'][l(0xc9)];if(!b)return this[l(0xc3)][l(0xc0)](this['actor']['name']+l(0xb1)),'You\x27re\x20not\x20in\x20a\x20valid\x20room.';const c=b[l(0xca)][l(0xa5)](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c[l(0xbe)](b);else{if(typeof c===l(0xaf)){d=this['rooms']&&this[l(0xbd)][c];if(!d)return l(0xb2)+a+'\x22.';}else return l(0xad)+a+'\x22.';}if(d[l(0xcb)]===RoomType[l(0xd0)]){if(a==='up')return l(0xae)+d['description'];else return a===l(0xcd)?'Below\x20you,\x20'+d[l(0xa8)]:l(0xc5)+a+l(0xb0)+d[l(0xa8)];}else return'You\x20cannot\x20see\x20through';}['inspectItem'](a,b){const m=a35i,c=b['getItem'](a);if(!c)return m(0xbb)+a+'\x20here.';return c[m(0xa8)]||m(0x9f)+a+'.';}}
1
+ function a35c(){const m=['There\x27s\x20an\x20error\x20with\x20the\x20room\x20in\x20the\x20direction\x20\x22','149334pQaiAv','\x20here.','hasItem','riddle','getOtherSide','4568585mAxYEx','roomType','\x20is\x20looking\x20around\x20the\x20current\x20room.','down','10021toaxtX','lookOutside','Attempting\x20to\x20look\x20outside\x20in\x20direction\x20\x27','rooms','Above\x20you,\x20','You\x20cannot\x20see\x20through','877553UEstht','look','57132CsUIJR','string','\x27\x20in\x20','exits','Looking\x20at\x20item\x20\x27','OUTSIDE','\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.','(((.+)+)+)+$','currentLocation','315HlVePw','Unexpected\x20error\x20occurred\x20while\x20looking\x20at\x20the\x20room\x20in\x20the\x20direction\x20\x22','name','155KzZaUF','To\x20the\x20','actor','88YtGWWu','2537144dyswjI','constructor','puzzle',',\x20you\x20see\x20','4440nWghaQ','\x20inventory.','isValidDirection','\x27\x20in\x20current\x20room\x20inventory.','write','Examine\x20your\x20surroundings','You\x20don\x27t\x20see\x20any\x20','You\x27re\x20not\x20in\x20a\x20valid\x20room.','get','error','verb','getItem','search','description','inspectItem','inventory','logger','661401xrxxsK','Below\x20you,\x20','toString'];a35c=function(){return m;};return a35c();}const a35h=a35d;(function(a,b){const f=a35d,c=a();while(!![]){try{const d=parseInt(f(0x1fd))/0x1+-parseInt(f(0x20f))/0x2+-parseInt(f(0x208))/0x3*(-parseInt(f(0x1ff))/0x4)+parseInt(f(0x20b))/0x5*(parseInt(f(0x1ee))/0x6)+-parseInt(f(0x1f3))/0x7+parseInt(f(0x20e))/0x8*(-parseInt(f(0x1ea))/0x9)+-parseInt(f(0x213))/0xa*(-parseInt(f(0x1f7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xc9199));const a35b=(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;};}()),a35a=a35b(this,function(){const g=a35d;return a35a[g(0x1ec)]()[g(0x1e5)](g(0x206))[g(0x1ec)]()[g(0x210)](a35a)[g(0x1e5)]('(((.+)+)+)+$');});a35a();import{Door}from'../models/door.js';import{RoomType}from'../types/enums.js';import{Command}from'./command.js';function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x1e0;let f=c[d];return f;},a35d(a,b);}export class LookCommand extends Command{static [a35h(0x1e3)]=a35h(0x1fe);static [a35h(0x1e6)]=a35h(0x218);['execute'](a=[]){const i=a35h;this[i(0x1e9)][i(0x217)]('Executing\x20\x27Look\x27\x20command.');const b=a['join']('\x20');if(b){if(this[i(0x20d)][i(0x1e8)][i(0x1f0)](b))return this[i(0x1e9)][i(0x217)](i(0x203)+b+i(0x201)+this[i(0x20d)][i(0x20a)]+i(0x214)),this[i(0x1e7)](b,this[i(0x20d)]['inventory']);else{if(this[i(0x20d)][i(0x207)][i(0x1e8)][i(0x1f0)](b))return this[i(0x1e9)][i(0x217)]('Looking\x20at\x20item\x20\x27'+b+i(0x216)),this['inspectItem'](b,this[i(0x20d)][i(0x207)][i(0x1e8)]);else return this[i(0x215)](b)?(this[i(0x1e9)]['write'](i(0x1f9)+b+'\x27.'),this['lookOutside'](b)):'You\x20cannot\x20see\x20'+b;}}else return this[i(0x1e9)][i(0x217)](this[i(0x20d)][i(0x20a)]+i(0x1f5)),this[i(0x1fe)]();}[a35h(0x1fe)](){const j=a35h,a=this[j(0x20d)]['currentLocation'];if(!a)return this['logger']['error'](this[j(0x20d)][j(0x20a)]+j(0x205)),j(0x1e0);let b=a[j(0x1e6)];return a[j(0x211)]&&(b+='\x0a'+a[j(0x211)][j(0x1f1)]),b;}[a35h(0x1f8)](a){const k=a35h,b=this[k(0x20d)][k(0x207)];if(!b)return this[k(0x1e9)][k(0x1e2)](this[k(0x20d)][k(0x20a)]+'\x20is\x20not\x20in\x20a\x20valid\x20room\x20during\x20\x27Look\x27\x20command\x20execution.'),k(0x1e0);const c=b[k(0x202)][k(0x1e1)](a);if(!c)return'There\x27s\x20no\x20exit\x20in\x20the\x20direction\x20\x22'+a+'\x22.';let d;if(c instanceof Door)d=c[k(0x1f2)](b);else{if(typeof c===k(0x200)){d=this[k(0x1fa)]&&this['rooms'][c];if(!d)return k(0x1ed)+a+'\x22.';}else return k(0x209)+a+'\x22.';}if(d[k(0x1f4)]===RoomType[k(0x204)]){if(a==='up')return k(0x1fb)+d['description'];else return a===k(0x1f6)?k(0x1eb)+d['description']:k(0x20c)+a+k(0x212)+d[k(0x1e6)];}else return k(0x1fc);}[a35h(0x1e7)](a,b){const l=a35h,c=b[l(0x1e4)](a);if(!c)return l(0x219)+a+l(0x1ef);return c['description']||'It\x27s\x20just\x20a\x20regular\x20'+a+'.';}}
@@ -1 +1 @@
1
- function a36c(){const m=['4357045gxIumE','699swQkYJ','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','(((.+)+)+)+$','2090262tjZVxZ','name','apply','An\x20error\x20occurred.','What\x20do\x20you\x20want\x20to\x20say?','actor','search','log','scene','context','toString','join',':\x20\x22','4532512tNAcGI','11034qTesLM','constructor','5949705NUrtZG','say','logger','description','filter','2140YcPzcR','execute','currentLocation','1094587QDdPXd','You\x20say:\x20\x22','3352VxawBV'];a36c=function(){return m;};return a36c();}const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=parseInt(g(0x142))/0x1+parseInt(g(0x13f))/0x2*(parseInt(g(0x146))/0x3)+-parseInt(g(0x137))/0x4+parseInt(g(0x13a))/0x5+parseInt(g(0x12a))/0x6+-parseInt(g(0x145))/0x7+-parseInt(g(0x144))/0x8*(parseInt(g(0x138))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x95a5e));function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x128;let f=c[d];return f;},a36d(a,b);}const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a[i(0x134)]()[i(0x130)](i(0x129))[i(0x134)]()[i(0x139)](a36a)['search']('(((.+)+)+)+$');});a36a();import{Command}from'./command.js';export class SayCommand extends Command{static ['verb']=a36j(0x13b);static [a36j(0x13d)]=a36j(0x128);['context'];constructor(a){const k=a36j;super(a),this[k(0x133)]=a;}[a36j(0x140)](a){const l=a36j;if(a['length']===0x0)return l(0x12e);const b=a[l(0x135)]('\x20'),c=this[l(0x12f)],d=this[l(0x133)][l(0x132)];if(!d)return this[l(0x13c)]['log']('Scene\x20is\x20missing\x20from\x20context.'),l(0x12d);const e=d['allActors'][l(0x13e)](f=>f[l(0x141)]===c[l(0x141)]);for(const f of e){this[l(0x13c)][l(0x131)](c[l(0x12b)]+'\x20says\x20to\x20'+f[l(0x12b)]+l(0x136)+b+'\x22'),this[l(0x12f)][l(0x141)]['say'](f,b);}return l(0x143)+b+'\x22';}}
1
+ const a36j=a36d;function a36c(){const m=['460wYMegD','243AvopzF','logger','34576AAVmgY','239762wXGCTo','95MZwhSR','(((.+)+)+)+$','72fttDTq','length','name','actor','log','say','join','\x20says\x20to\x20','9NQZHaJ','170335BxrJLx','allActors','toString','scene','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','2248yfHVSX','438102lLyggx','445193lFbOHL','currentLocation','apply','100872Pompel','constructor','description','search','You\x20say:\x20\x22','context','377RnidDT'];a36c=function(){return m;};return a36c();}(function(a,b){const g=a36d,c=a();while(!![]){try{const d=parseInt(g(0x1b5))/0x1+parseInt(g(0x1c4))/0x2*(parseInt(g(0x1cf))/0x3)+-parseInt(g(0x1c3))/0x4*(parseInt(g(0x1c5))/0x5)+parseInt(g(0x1c7))/0x6*(parseInt(g(0x1b6))/0x7)+parseInt(g(0x1b4))/0x8*(-parseInt(g(0x1c1))/0x9)+-parseInt(g(0x1c0))/0xa*(parseInt(g(0x1d0))/0xb)+parseInt(g(0x1b9))/0xc*(-parseInt(g(0x1bf))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x69b82));function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x1b1;let f=c[d];return f;},a36d(a,b);}const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a[i(0x1b1)]()[i(0x1bc)](i(0x1c6))[i(0x1b1)]()[i(0x1ba)](a36a)[i(0x1bc)](i(0x1c6));});a36a();import{Command}from'./command.js';export class SayCommand extends Command{static ['verb']=a36j(0x1cc);static [a36j(0x1bb)]=a36j(0x1b3);['context'];constructor(a){const k=a36j;super(a),this[k(0x1be)]=a;}['execute'](a){const l=a36j;if(a[l(0x1c8)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[l(0x1cd)]('\x20'),c=this['actor'],d=this[l(0x1be)][l(0x1b2)];if(!d)return this[l(0x1c2)][l(0x1cb)]('Scene\x20is\x20missing\x20from\x20context.'),'An\x20error\x20occurred.';const e=d[l(0x1d1)]['filter'](f=>f[l(0x1b7)]===c[l(0x1b7)]);for(const f of e){this[l(0x1c2)][l(0x1cb)](c[l(0x1c9)]+l(0x1ce)+f['name']+':\x20\x22'+b+'\x22'),this[l(0x1ca)][l(0x1b7)][l(0x1cc)](f,b);}return l(0x1bd)+b+'\x22';}}
@@ -1 +1 @@
1
- function a37c(){const k=['name','\x20found\x20the\x20following\x20items:\x20','792054zlUXdF','write','175roBjgg','8XNjANV','42011gxWwmC','apply','logger','10yCixHm','You\x20search\x20the\x20area\x20and\x20find:\x20','search','346860OsQPQa','execute','19510RAaCbl','3628DmkcpR','actor','303247xZKbEz','length','77flMQEq','toString','listItems','Search\x20for\x20items\x20in\x20your\x20area','SearchCommand:\x20','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','(((.+)+)+)+$','1233epVkjq','constructor','131535QKHskp'];a37c=function(){return k;};return a37c();}const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x1d8))/0x1+-parseInt(f(0x1be))/0x2*(parseInt(f(0x1d1))/0x3)+-parseInt(f(0x1c4))/0x4*(-parseInt(f(0x1d6))/0x5)+-parseInt(f(0x1d4))/0x6+-parseInt(f(0x1c6))/0x7*(parseInt(f(0x1d7))/0x8)+parseInt(f(0x1cf))/0x9*(parseInt(f(0x1c3))/0xa)+-parseInt(f(0x1c8))/0xb*(-parseInt(f(0x1c1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x24557));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x1c9)]()[h(0x1c0)](h(0x1ce))['toString']()[h(0x1d0)](a37a)[h(0x1c0)](h(0x1ce));});a37a();function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a37d(a,b);}import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a37i(0x1c0);static ['description']=a37i(0x1cb);[a37i(0x1c2)](){const j=a37i,a=this[j(0x1c5)]['currentLocation']['inventory'][j(0x1ca)]();if(a[j(0x1c7)]===0x0)return this['logger'][j(0x1d5)](j(0x1cc)+this[j(0x1c5)][j(0x1d2)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0x1cd);const b=a['join'](',\x20');return this[j(0x1bd)]['write'](j(0x1cc)+this['actor'][j(0x1d2)]+j(0x1d3)+b),j(0x1bf)+b;}}
1
+ const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x160))/0x1*(parseInt(f(0x167))/0x2)+parseInt(f(0x163))/0x3*(parseInt(f(0x16d))/0x4)+-parseInt(f(0x170))/0x5+parseInt(f(0x165))/0x6*(-parseInt(f(0x15e))/0x7)+parseInt(f(0x156))/0x8+-parseInt(f(0x157))/0x9*(-parseInt(f(0x15b))/0xa)+parseInt(f(0x161))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x85e26));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x16b)]()[h(0x154)](h(0x164))[h(0x16b)]()[h(0x169)](a37a)[h(0x154)]('(((.+)+)+)+$');});function a37c(){const k=['316422BNGIQl','(((.+)+)+)+$','24aTFvli','join','14zmqtwE','apply','constructor','logger','toString','write','4EHqJdI','description','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','1730615XjkjnE','Search\x20for\x20items\x20in\x20your\x20area','search','\x20found\x20the\x20following\x20items:\x20','1185040OHIvYQ','378117kQUVCb','actor','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','You\x20search\x20the\x20area\x20and\x20find:\x20','70XjkkOP','verb','name','1619009tDIOLn','inventory','33559zTuIXE','11407583qegUMW','length'];a37c=function(){return k;};return a37c();}a37a();function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x154;let f=c[d];return f;},a37d(a,b);}import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x15c)]=a37i(0x154);static [a37i(0x16e)]=a37i(0x171);['execute'](){const j=a37i,a=this[j(0x158)]['currentLocation'][j(0x15f)]['listItems']();if(a[j(0x162)]===0x0)return this[j(0x16a)][j(0x16c)]('SearchCommand:\x20'+this['actor'][j(0x15d)]+j(0x159)),j(0x16f);const b=a[j(0x166)](',\x20');return this['logger'][j(0x16c)]('SearchCommand:\x20'+this['actor'][j(0x15d)]+j(0x155)+b),j(0x15a)+b;}}
@@ -1 +1 @@
1
- const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x1f4))/0x1+parseInt(f(0x1dd))/0x2+-parseInt(f(0x1e2))/0x3*(parseInt(f(0x1d8))/0x4)+parseInt(f(0x1f1))/0x5+-parseInt(f(0x1e4))/0x6+parseInt(f(0x1f0))/0x7*(parseInt(f(0x1e3))/0x8)+-parseInt(f(0x1e8))/0x9*(parseInt(f(0x1f3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xa0009));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x1e1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x1eb)]()[h(0x1db)](h(0x1da))[h(0x1eb)]()['constructor'](a38a)[h(0x1db)]('(((.+)+)+)+$');});a38a();function a38c(){const k=['write','apply','30300FdypiO','8JzExmC','725058XXFVUy','logger','description','puzzle','9NrzNnY','actor','addItem','toString','currentLocation','success','execute','solve','6256859wmgBUM','831640wXRCOH','SolveCommand:\x20','252680YTPmkd','437843FoQtNx','toLowerCase','message','inventory','396HoZzRj','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','(((.+)+)+)+$','search','join','2358116yzTyIo','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','rewardItem'];a38c=function(){return k;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';export class SolveCommand extends Command{static ['verb']=a38i(0x1ef);static [a38i(0x1e6)]='Attempt\x20to\x20solve\x20a\x20puzzle.';[a38i(0x1ee)](a){const j=a38i,b=a[j(0x1dc)]('\x20')[j(0x1f5)](),c=this[j(0x1e9)][j(0x1ec)];if(!c||!c[j(0x1e7)])return this[j(0x1e5)][j(0x1e0)](j(0x1d9)),j(0x1de);const d=c[j(0x1e7)][j(0x1ef)](b,this[j(0x1e9)][j(0x1d7)]);return d[j(0x1ed)]&&c[j(0x1e7)][j(0x1df)]&&this[j(0x1e9)]['inventory'][j(0x1ea)](c['puzzle'][j(0x1df)]),this[j(0x1e5)][j(0x1e0)](j(0x1f2)+d[j(0x1d6)]),d[j(0x1d6)];}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x199))/0x1+-parseInt(f(0x183))/0x2+parseInt(f(0x188))/0x3*(-parseInt(f(0x181))/0x4)+parseInt(f(0x180))/0x5+-parseInt(f(0x18d))/0x6*(-parseInt(f(0x195))/0x7)+parseInt(f(0x17e))/0x8*(parseInt(f(0x185))/0x9)+-parseInt(f(0x19a))/0xa*(parseInt(f(0x193))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x75d15));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x189)]()[h(0x19b)](h(0x196))[h(0x189)]()['constructor'](a38a)[h(0x19b)]('(((.+)+)+)+$');});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x17d;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x19c)]=a38i(0x18a);static [a38i(0x190)]=a38i(0x194);['execute'](a){const j=a38i,b=a[j(0x191)]('\x20')['toLowerCase'](),c=this[j(0x18f)][j(0x186)];if(!c||!c['puzzle'])return this[j(0x18e)][j(0x17f)](j(0x18c)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[j(0x17d)][j(0x18a)](b,this[j(0x18f)][j(0x182)]);return d[j(0x192)]&&c[j(0x17d)][j(0x187)]&&this[j(0x18f)][j(0x182)][j(0x198)](c[j(0x17d)][j(0x187)]),this[j(0x18e)][j(0x17f)](j(0x18b)+d['message']),d[j(0x197)];}}function a38c(){const k=['toString','solve','SolveCommand:\x20','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','18NWahzf','logger','actor','description','join','success','21505wOWFag','Attempt\x20to\x20solve\x20a\x20puzzle.','1573397phqjNu','(((.+)+)+)+$','message','addItem','852505qKNqVQ','370JEKGxi','search','verb','puzzle','772952iBFSYb','write','219925sboPfD','504WSaKWa','inventory','1824400HvLIxN','apply','45PBgGuY','currentLocation','rewardItem','13971tTlwKx'];a38c=function(){return k;};return a38c();}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0xb2))/0x1+parseInt(f(0xbd))/0x2+parseInt(f(0xa1))/0x3+-parseInt(f(0xbc))/0x4+-parseInt(f(0xac))/0x5+parseInt(f(0xb6))/0x6+-parseInt(f(0xc1))/0x7*(parseInt(f(0xc7))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xc1c55));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0xb3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0xa6)]()[h(0xbf)]('(((.+)+)+)+$')[h(0xa6)]()[h(0xa8)](a39a)[h(0xbf)](h(0xa2));});function a39c(){const l=['take','There\x20is\x20no\x20item\x20\x22','join','description','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','905368pzBkHL','apply','\x22\x20from\x20','The\x20item\x20\x22','600654vuVoJy','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','currentLocation','write','Item\x20\x22','logger','2467984BcokIu','3137194asysQs','\x22\x20in\x20this\x20room.','search','execute','7poOtqX','getItem','\x22\x20not\x20found\x20in\x20','toLowerCase','\x22\x20not\x20retrieved\x20from\x20','inventory','62016wlHuOJ','\x20during\x20\x27Take\x27\x20command.','Pick\x20up\x20an\x20item.','name','You\x20have\x20taken\x20the\x20','34776okNYwq','(((.+)+)+)+$','Error\x20during\x20\x27Take\x27\x20command:\x20','verb','message','toString','actor','constructor','Successfully\x20added\x20\x22','Successfully\x20removed\x20\x22','\x22\x20to\x20','5836165mmVlTV'];a39c=function(){return l;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x9e;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0xa4)]='take';static [a39i(0xb0)]=a39i(0x9e);[a39i(0xc0)](a){const j=a39i;return this['logger'][j(0xb9)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0xaf)]('\x20')),this[j(0xad)](a);}[a39i(0xad)](a){const k=a39i,b=a[k(0xaf)]('\x20')[k(0xc4)](),c=this[k(0xa7)][k(0xb8)];if(!c[k(0xc6)]['hasItem'](b))return this['logger'][k(0xb9)](k(0xba)+b+k(0xc3)+c['name']+k(0xc8)),k(0xae)+b+k(0xbe);const d=c[k(0xc6)][k(0xc2)](b);if(!d)return this[k(0xbb)][k(0xb9)](k(0xba)+b+k(0xc5)+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0xae)+b+k(0xbe);try{return this[k(0xa7)]['addInventory'](d),this['logger'][k(0xb9)](k(0xa9)+b+k(0xab)+this[k(0xa7)]['name']+k(0xb7)),c[k(0xc6)]['removeItem'](b),this[k(0xbb)]['write'](k(0xaa)+b+k(0xb4)+c[k(0x9f)]+k(0xb1)),k(0xa0)+b+'.';}catch(e){return this[k(0xbb)][k(0xb9)](k(0xa3)+e[k(0xa5)]),k(0xb5)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
1
+ function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a39d(a,b);}const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x1f2))/0x1*(-parseInt(f(0x1e9))/0x2)+parseInt(f(0x202))/0x3+-parseInt(f(0x20b))/0x4*(parseInt(f(0x1ef))/0x5)+-parseInt(f(0x209))/0x6+parseInt(f(0x1f3))/0x7*(parseInt(f(0x1fa))/0x8)+parseInt(f(0x1e6))/0x9*(parseInt(f(0x1fb))/0xa)+-parseInt(f(0x1fc))/0xb*(parseInt(f(0x1f1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x214f5));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x201)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x1f5)](h(0x1ec))[h(0x206)]()[h(0x1fd)](a39a)[h(0x1f5)](h(0x1ec));});a39a();import{Command}from'./command.js';function a39c(){const l=['\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20not\x20found\x20in\x20','inventory','take','1432ozWlOp','9890azDqIK','1903gQTVXK','constructor','removeItem','message','actor','apply','793773hjIFIK','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','description','hasItem','toString','addInventory','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','796044hmDLRk','You\x20have\x20taken\x20the\x20','325320ROZeSv','write','\x22\x20not\x20retrieved\x20from\x20','756yAsCXq','name','currentLocation','5078voWWzJ','Pick\x20up\x20an\x20item.','Item\x20\x22','(((.+)+)+)+$','There\x20is\x20no\x20item\x20\x22','\x22\x20in\x20this\x20room.','5PjOnRr','\x22\x20from\x20','9168FCkjEb','44eREcyG','9646qIJwFR','logger','search'];a39c=function(){return l;};return a39c();}export class TakeCommand extends Command{static ['verb']='take';static [a39i(0x204)]=a39i(0x1ea);['execute'](a){const j=a39i;return this[j(0x1f4)][j(0x20c)](j(0x203)+a['join']('\x20')),this[j(0x1f9)](a);}[a39i(0x1f9)](a){const k=a39i,b=a['join']('\x20')['toLowerCase'](),c=this[k(0x200)][k(0x1e8)];if(!c['inventory'][k(0x205)](b))return this[k(0x1f4)][k(0x20c)](k(0x1eb)+b+k(0x1f7)+c[k(0x1e7)]+'\x20during\x20\x27Take\x27\x20command.'),k(0x1ed)+b+'\x22\x20in\x20this\x20room.';const d=c[k(0x1f8)]['getItem'](b);if(!d)return this[k(0x1f4)][k(0x20c)]('Item\x20\x22'+b+k(0x20d)+c[k(0x1e7)]+k(0x208)),k(0x1ed)+b+k(0x1ee);try{return this[k(0x200)][k(0x207)](d),this[k(0x1f4)][k(0x20c)]('Successfully\x20added\x20\x22'+b+'\x22\x20to\x20'+this[k(0x200)][k(0x1e7)]+k(0x1f6)),c['inventory'][k(0x1fe)](b),this['logger'][k(0x20c)]('Successfully\x20removed\x20\x22'+b+k(0x1f0)+c['name']+k(0x208)),k(0x20a)+b+'.';}catch(e){return this['logger'][k(0x20c)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[k(0x1ff)]),'The\x20item\x20\x22'+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
@@ -1 +1 @@
1
- function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x118;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x128))/0x1*(parseInt(f(0x12b))/0x2)+-parseInt(f(0x130))/0x3*(parseInt(f(0x124))/0x4)+-parseInt(f(0x118))/0x5+parseInt(f(0x11e))/0x6+-parseInt(f(0x127))/0x7*(parseInt(f(0x11d))/0x8)+-parseInt(f(0x129))/0x9+-parseInt(f(0x12d))/0xa*(-parseInt(f(0x11f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x477c7));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x131)]()[h(0x126)]('(((.+)+)+)+$')['toString']()['constructor'](a40a)[h(0x126)](h(0x11c));});a40a();function a40c(){const k=['UnequipCommand:\x20','(((.+)+)+)+$','8toaEBo','1350084gtNDQL','662288POOOZY','apply','write','verb','actor','12960miGPxg','Unequip\x20an\x20item.','search','1510593DVreYK','539663jHflwq','2447352QhajfN','toLowerCase','2Fzyzbh','unqeuip','290SpWMxZ','execute','\x20unqeuiped\x20','495ToyXvl','toString','581245stbiNZ','join','logger'];a40c=function(){return k;};return a40c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x122)]=a40i(0x12c);static ['description']=a40i(0x125);[a40i(0x12e)](a){const j=a40i,b=a[j(0x119)]('\x20')[j(0x12a)](),c=this[j(0x123)]['unequip'](b);return this[j(0x11a)][j(0x121)](j(0x11b)+this[j(0x123)]['name']+j(0x12f)+c),c;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x7e))/0x1*(-parseInt(f(0x72))/0x2)+parseInt(f(0x65))/0x3+parseInt(f(0x76))/0x4*(-parseInt(f(0x73))/0x5)+-parseInt(f(0x6c))/0x6+-parseInt(f(0x6b))/0x7+-parseInt(f(0x71))/0x8*(-parseInt(f(0x74))/0x9)+parseInt(f(0x79))/0xa*(parseInt(f(0x75))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xda794));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x65;let f=c[d];return f;},a40d(a,b);}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x6f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a['toString']()[h(0x6a)](h(0x7a))['toString']()['constructor'](a40a)['search'](h(0x7a));});a40a();function a40c(){const k=['write','375140cOHzIE','(((.+)+)+)+$','description','unqeuip','name','23hZoflG','4746876vKwsqI','join','UnequipCommand:\x20','unequip','execute','search','2425591WwYNam','10082586GpEQTd','logger','Unequip\x20an\x20item.','apply','verb','4175032KbUNGB','53068xbywFm','463765KHIZdK','9cHzgeZ','88DfptyU','4wYuVRj','actor'];a40c=function(){return k;};return a40c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x70)]=a40i(0x7c);static [a40i(0x7b)]=a40i(0x6e);[a40i(0x69)](a){const j=a40i,b=a[j(0x66)]('\x20')['toLowerCase'](),c=this['actor'][j(0x68)](b);return this[j(0x6d)][j(0x78)](j(0x67)+this[j(0x77)][j(0x7d)]+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x16e))/0x1+-parseInt(h(0x175))/0x2+-parseInt(h(0x186))/0x3+-parseInt(h(0x15e))/0x4+-parseInt(h(0x172))/0x5+-parseInt(h(0x178))/0x6+-parseInt(h(0x185))/0x7*(-parseInt(h(0x164))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x2b822));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x17b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()[j(0x168)](j(0x173))['toString']()[j(0x165)](a41a)['search'](j(0x173));});function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x15d;let f=c[d];return f;},a41d(a,b);}a41a();import{Door}from'../models/door.js';function a41c(){const n=['(((.+)+)+)+$','exits','383338qhnChS','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','actor','1697958YGtdBR','length','execute','apply','inventory','logger','unlockItemOrSolution','\x22\x20here.','currentLocation','attemptUnlockExit','error','.\x20Result:\x20','isValidDirection','94619weEzuN','82125HUokah','There\x27s\x20no\x20door\x20named\x20\x22','1304756PKDXBK','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','toLowerCase','has','\x20is\x20attempted\x20to\x20unlock\x20','Unlock\x20a\x20door.','608CczsBF','constructor','write','get','search','hasItem','UnlockCommand:\x20No\x20target\x20specified.','unlock','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','description','327427SUdEAQ','verb','name','UnlockCommand:\x20','1741415HXaOQq'];a41c=function(){return n;};return a41c();}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x16f)]=a41k(0x16b);static [a41k(0x16d)]=a41k(0x163);[a41k(0x17a)](a){const l=a41k;return this[l(0x16b)](a);}[a41k(0x16b)](a){const m=a41k;if(a[m(0x179)]===0x0)return this['logger'][m(0x182)](m(0x16a)),m(0x15f);const b=a[0x0][m(0x160)](),c=this[m(0x177)][m(0x180)];if(this[m(0x184)](b)&&c[m(0x174)][m(0x161)](b)){const d=c[m(0x174)][m(0x167)](b);if(d instanceof Door){const e=d[m(0x17e)]?.[m(0x160)]();if(e&&this[m(0x177)][m(0x17c)][m(0x169)](e)){const f=this['actor'][m(0x17c)]['getItem'](e);if(f){const g=c[m(0x181)](b,f[m(0x170)]);return this[m(0x17d)][m(0x166)](m(0x171)+this[m(0x177)][m(0x170)]+m(0x162)+b+m(0x183)+g),g;}}return this[m(0x17d)][m(0x166)](m(0x171)+this[m(0x177)]['name']+m(0x176)+b+'.'),m(0x16c);}else return this['logger'][m(0x166)](m(0x171)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x17f);}else return this[m(0x17d)][m(0x166)](m(0x171)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x170)]+'.'),m(0x15d)+b+m(0x17f);}}
1
+ const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x1f1))/0x1+-parseInt(h(0x1f2))/0x2*(parseInt(h(0x1f8))/0x3)+parseInt(h(0x202))/0x4*(parseInt(h(0x211))/0x5)+parseInt(h(0x201))/0x6+-parseInt(h(0x1fa))/0x7+parseInt(h(0x205))/0x8*(parseInt(h(0x208))/0x9)+-parseInt(h(0x1fd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x5ddec));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x1f0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x207)]()[j(0x20b)]('(((.+)+)+)+$')['toString']()[j(0x212)](a41a)[j(0x20b)](j(0x204));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a41c(){const n=['UnlockCommand:\x20','hasItem','has','write','\x22\x20here.','5979QvdEju','error','4737012ZyFbJQ','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','.\x20Result:\x20','446190AFXPCe','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','\x20is\x20attempted\x20to\x20unlock\x20','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','2007408bfIdEP','106156fbWoIX','inventory','(((.+)+)+)+$','107152PORuLi','currentLocation','toString','414QUNgso','description','attemptUnlockExit','search','logger','unlock','verb','name','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','75SQWWCT','constructor','getItem','isValidDirection','execute','actor','length','toLowerCase','get','apply','309111IYoLiu','554porpuf'];a41c=function(){return n;};return a41c();}export class UnlockCommand extends Command{static [a41k(0x20e)]=a41k(0x20d);static [a41k(0x209)]='Unlock\x20a\x20door.';[a41k(0x1eb)](a){const l=a41k;return this[l(0x20d)](a);}['unlock'](a){const m=a41k;if(a[m(0x1ed)]===0x0)return this[m(0x20c)][m(0x1f9)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0x200);const b=a[0x0][m(0x1ee)](),c=this['actor'][m(0x206)];if(this[m(0x1ea)](b)&&c['exits'][m(0x1f5)](b)){const d=c['exits'][m(0x1ef)](b);if(d instanceof Door){const e=d['unlockItemOrSolution']?.[m(0x1ee)]();if(e&&this[m(0x1ec)][m(0x203)][m(0x1f4)](e)){const f=this[m(0x1ec)][m(0x203)][m(0x213)](e);if(f){const g=c[m(0x20a)](b,f[m(0x20f)]);return this[m(0x20c)][m(0x1f6)](m(0x1f3)+this[m(0x1ec)]['name']+m(0x1ff)+b+m(0x1fc)+g),g;}}return this[m(0x20c)][m(0x1f6)](m(0x1f3)+this[m(0x1ec)][m(0x20f)]+m(0x210)+b+'.'),m(0x1fe);}else return this[m(0x20c)]['write'](m(0x1f3)+b+m(0x1fb)+c[m(0x20f)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x1f7);}else return this['logger'][m(0x1f6)](m(0x1f3)+b+m(0x1fb)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x1f7);}}
@@ -1 +1 @@
1
- const a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x169))/0x1*(parseInt(f(0x166))/0x2)+-parseInt(f(0x171))/0x3+-parseInt(f(0x17b))/0x4*(-parseInt(f(0x158))/0x5)+-parseInt(f(0x15c))/0x6+parseInt(f(0x160))/0x7+-parseInt(f(0x164))/0x8*(parseInt(f(0x15f))/0x9)+parseInt(f(0x179))/0xa*(parseInt(f(0x16f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x1a265));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const g=a42d;return a42a['toString']()[g(0x177)](g(0x174))[g(0x178)]()[g(0x163)](a42a)['search']('(((.+)+)+)+$');});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42h(0x15d)]=a42h(0x16d);static [a42h(0x173)]=a42h(0x170);[a42h(0x168)](a){const i=a42h;return this[i(0x16d)](a);}[a42h(0x16d)](a){const j=a42h,b=a['join']('\x20')[j(0x16a)]();if(!this['actor'][j(0x16b)][j(0x162)](b))return this[j(0x159)][j(0x175)](j(0x161)+this['actor'][j(0x16e)]+j(0x17c)+b+j(0x17d)),j(0x176)+b+j(0x167);const c=this['actor']['inventory'][j(0x15b)](b);if(!c)return this[j(0x159)]['write']('UseCommand:\x20'+b+j(0x15a)+this[j(0x165)][j(0x16e)]+'\x27s\x20inventory.'),j(0x176)+b+j(0x167);if(typeof c[j(0x16d)]===j(0x15e)){const d=c['use']();return this['logger']['write'](j(0x161)+this[j(0x165)][j(0x16e)]+j(0x16c)+b+'.'),d;}else return this[j(0x159)][j(0x175)](j(0x161)+b+j(0x172)),'You\x20can\x27t\x20use\x20the\x20'+b+j(0x17a);}}function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x158;let f=c[d];return f;},a42d(a,b);}function a42c(){const k=['1GwAbhv','toLowerCase','inventory','\x20used\x20','use','name','145651GMQaeD','Use\x20an\x20item.','222924fXGYQT','\x20doesn\x27t\x20have\x20a\x20use\x20method.','description','(((.+)+)+)+$','write','You\x20don\x27t\x20have\x20the\x20','search','toString','70nhGPso','\x20in\x20this\x20way.','4kCkZWO','\x20attempted\x20to\x20use\x20',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','810220xCkTwT','logger','\x20not\x20retrieved\x20from\x20','getItem','267342DKomnX','verb','function','123408yunOUf','334327Fhpabf','UseCommand:\x20','hasItem','constructor','16DfkhMF','actor','98188ruEEjY','\x20to\x20use.','execute'];a42c=function(){return k;};return a42c();}
1
+ const a42h=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1ab))/0x1+-parseInt(f(0x1b2))/0x2+-parseInt(f(0x19f))/0x3*(-parseInt(f(0x1a7))/0x4)+parseInt(f(0x1a9))/0x5*(parseInt(f(0x1a1))/0x6)+parseInt(f(0x1a8))/0x7+parseInt(f(0x1bb))/0x8*(parseInt(f(0x1bf))/0x9)+-parseInt(f(0x1c3))/0xa*(parseInt(f(0x1ad))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x7d292));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x19f;let f=c[d];return f;},a42d(a,b);}function a42c(){const j=['92244vItOEd','hasItem','function','\x20used\x20','verb','inventory','36QpbHyv','6468672xclsuX','230ucIPBY','description','761684lBxbgI','toString','3120810enOxAv','actor','\x20attempted\x20to\x20use\x20','You\x20can\x27t\x20use\x20the\x20','join','1438086hsiloq','Use\x20an\x20item.',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','name','use','\x27s\x20inventory.','logger','write','getItem','24jxaQSR','search','You\x20don\x27t\x20have\x20the\x20','UseCommand:\x20','586026EZiqZB','toLowerCase','\x20doesn\x27t\x20have\x20a\x20use\x20method.','(((.+)+)+)+$','30GzGAlP','\x20to\x20use.','339291daajiu','execute'];a42c=function(){return j;};return a42c();}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const g=a42d;return a42a[g(0x1ac)]()['search'](g(0x1c2))['toString']()['constructor'](a42a)[g(0x1bc)](g(0x1c2));});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42h(0x1a5)]='use';static [a42h(0x1aa)]=a42h(0x1b3);[a42h(0x1a0)](a){return this['use'](a);}['use'](a){const i=a42h,b=a[i(0x1b1)]('\x20')[i(0x1c0)]();if(!this[i(0x1ae)]['inventory'][i(0x1a2)](b))return this[i(0x1b8)][i(0x1b9)](i(0x1be)+this['actor'][i(0x1b5)]+i(0x1af)+b+i(0x1b4)),i(0x1bd)+b+i(0x1c4);const c=this[i(0x1ae)][i(0x1a6)][i(0x1ba)](b);if(!c)return this[i(0x1b8)][i(0x1b9)]('UseCommand:\x20'+b+'\x20not\x20retrieved\x20from\x20'+this[i(0x1ae)][i(0x1b5)]+i(0x1b7)),i(0x1bd)+b+i(0x1c4);if(typeof c['use']===i(0x1a3)){const d=c[i(0x1b6)]();return this[i(0x1b8)]['write'](i(0x1be)+this[i(0x1ae)]['name']+i(0x1a4)+b+'.'),d;}else return this['logger'][i(0x1b9)](i(0x1be)+b+i(0x1c1)),i(0x1b0)+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x95;let f=c[d];return f;},a43d(a,b);}const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x9a))/0x1*(parseInt(f(0x9d))/0x2)+parseInt(f(0x9f))/0x3*(parseInt(f(0x97))/0x4)+-parseInt(f(0x95))/0x5*(-parseInt(f(0x9b))/0x6)+parseInt(f(0x98))/0x7+parseInt(f(0xa7))/0x8*(-parseInt(f(0xa0))/0x9)+-parseInt(f(0x96))/0xa*(-parseInt(f(0x99))/0xb)+-parseInt(f(0xa2))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x622b6));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const g=a43d;return a43a[g(0xa1)]()[g(0x9e)](g(0xa6))[g(0xa1)]()[g(0xa4)](a43a)['search'](g(0xa6));});a43a();function a43c(){const l=['30fumpLM','createCommand','48rMUvJT','search','3zYUkwB','105687ayQXfg','toString','21785736qtjlQB','registerCommand','constructor','commandMap','(((.+)+)+)+$','24hGrwLt','549595RIVkfr','10clwSln','3092204jcUtUz','3714634mjgztW','4214199EjfUxe','683cNmEzn'];a43c=function(){return l;};return a43c();}export class CommandFactory{static [a43h(0xa5)]={};static[a43h(0xa3)](a,b){const i=a43h;this[i(0xa5)][a]=b;}static[a43h(0x9c)](a,b){const j=a43h,c=this[j(0xa5)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){const k=a43h;return this[k(0xa5)];}}
1
+ function a43c(){const l=['216425XwYtzV','9Dkicgr','commandMap','344394LVmnhU','constructor','toString','15321192UfCydg','getAllRegisteredCommands','70mQdGhc','1184344bwqCUB','search','(((.+)+)+)+$','202456OsGTfH','7yuiUfE','registerCommand','634040GlHlvM','9BQBubt','5GbtigY','createCommand','3390714XPcNmF'];a43c=function(){return l;};return a43c();}const a43h=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x1ee))/0x1+-parseInt(f(0x1f6))/0x2*(parseInt(f(0x1ef))/0x3)+parseInt(f(0x1e8))/0x4*(-parseInt(f(0x1f0))/0x5)+parseInt(f(0x1f2))/0x6*(-parseInt(f(0x1ec))/0x7)+-parseInt(f(0x1eb))/0x8*(-parseInt(f(0x1f4))/0x9)+-parseInt(f(0x1e7))/0xa*(parseInt(f(0x1f3))/0xb)+parseInt(f(0x1e5))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x66af0));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const g=a43d;return a43a[g(0x1e4)]()[g(0x1e9)](g(0x1ea))[g(0x1e4)]()[g(0x1e3)](a43a)['search'](g(0x1ea));});function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1e3;let f=c[d];return f;},a43d(a,b);}a43a();export class CommandFactory{static ['commandMap']={};static[a43h(0x1ed)](a,b){const i=a43h;this[i(0x1f5)][a]=b;}static[a43h(0x1f1)](a,b){const j=a43h,c=this[j(0x1f5)][a];if(c)return new c(b);return null;}static[a43h(0x1e6)](){const k=a43h;return this[k(0x1f5)];}}
@@ -1 +1 @@
1
- const a44k=a44d;function a44c(){const n=['gauntlets','legarmor','createItem','items','rifle','bodyarmor','description','search','book','addItem','30HUsJcL','toUpperCase','INSIDE','apply','456neDcnb','610799bujNXi','toString','type','76761UiObXB','2663938GQFTPZ','175068aLOWIh','helmet','isStartRoom','sword','name','roomType','3bfhCOy','constructor','boots','gloves','290866UyldCc','convertToRoomConfig','createPuzzle','setPuzzle','4260290KLbSne','3289830kPpfkf','puzzle','key'];a44c=function(){return n;};return a44c();}(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0xcb))/0x1+-parseInt(f(0xc0))/0x2*(-parseInt(f(0xc7))/0x3)+-parseInt(f(0xc1))/0x4+-parseInt(f(0xcf))/0x5+parseInt(f(0xb7))/0x6*(parseInt(f(0xbc))/0x7)+parseInt(f(0xbb))/0x8*(parseInt(f(0xbf))/0x9)+-parseInt(f(0xd0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xb45ad));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0xbd)]()[h(0xb4)]('(((.+)+)+)+$')[h(0xbd)]()[h(0xc8)](a44a)[h(0xb4)]('(((.+)+)+)+$');});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xb3;let f=c[d];return f;},a44d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const i=a44d,b=this[i(0xcc)](a),c=new Room(b);if(a[i(0xd6)]){const d=new Inventory();a['items']['forEach'](e=>{const j=i;d[j(0xb6)](this[j(0xd5)](e));}),c['inventory']=d;}return a[i(0xd1)]&&c[i(0xce)](this[i(0xcd)](a[i(0xd1)])),c;}[a44k(0xd5)](a){const l=a44k;switch(a[l(0xbe)]){case l(0xd2):return new Key(a[l(0xc5)],a[l(0xb3)]);case l(0xb5):return new Book(a[l(0xc5)],a[l(0xb3)],a['content']);case l(0xc4):return new Sword(a[l(0xc5)],a[l(0xb3)]);case l(0xd7):return new Rifle(a['name'],a['description']);case l(0xc2):return new Helmet(a[l(0xc5)],a[l(0xb3)]);case l(0xd8):return new BodyArmor(a[l(0xc5)],a[l(0xb3)]);case l(0xd4):return new LegArmor(a[l(0xc5)],a['description']);case l(0xc9):return new Boots(a[l(0xc5)],a['description']);case l(0xca):return new Gloves(a[l(0xc5)],a[l(0xb3)]);case l(0xd3):return new Gauntlets(a['name'],a[l(0xb3)]);default:return new BasicItem(a[l(0xc5)],a[l(0xb3)]);}}[a44k(0xcd)](a){const b=this['createItem'](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a44k(0xcc)](a){const m=a44k,b=a[m(0xc6)]&&RoomType[a[m(0xc6)][m(0xb8)]()]?RoomType[a['roomType'][m(0xb8)]()]:RoomType[m(0xb9)];return{'name':a[m(0xc5)],'description':a['description'],'isStartRoom':a[m(0xc3)],'roomType':b};}}
1
+ const a44i=a44d;function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x17a;let f=c[d];return f;},a44d(a,b);}(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x1a4))/0x1*(parseInt(f(0x181))/0x2)+-parseInt(f(0x17f))/0x3*(parseInt(f(0x1a1))/0x4)+parseInt(f(0x19e))/0x5+-parseInt(f(0x19b))/0x6+-parseInt(f(0x180))/0x7*(parseInt(f(0x18a))/0x8)+-parseInt(f(0x190))/0x9*(-parseInt(f(0x1a0))/0xa)+-parseInt(f(0x18e))/0xb*(-parseInt(f(0x19f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xf0ac5));function a44c(){const o=['sword','items','convertToRoomConfig','constructor','42072WNZlnM','book','search','apply','2104619ThfHow','description','26091RTNuXC','puzzle','boots','forEach','legarmor','createPuzzle','toUpperCase','content','gauntlets','createItem','(((.+)+)+)+$','34458PPLBci','key','gloves','2970360ftugjG','72BbfZih','3790ZWlRXg','8GdbTQx','bodyarmor','rifle','2JhcxJC','helmet','toString','type','createRoom','INSIDE','747951EgxiRO','91VIlVvu','1282226jkiLzi','name','inventory','addItem','roomType'];a44c=function(){return o;};return a44c();}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x18d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()[h(0x18c)](h(0x19a))[h(0x17b)]()[h(0x189)](a44a)['search'](h(0x19a));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0x17d)](a){const j=a44i,b=this[j(0x188)](a),c=new Room(b);if(a[j(0x187)]){const d=new Inventory();a[j(0x187)][j(0x193)](e=>{const k=j;d[k(0x184)](this[k(0x199)](e));}),c[j(0x183)]=d;}return a[j(0x191)]&&c['setPuzzle'](this['createPuzzle'](a['puzzle'])),c;}[a44i(0x199)](a){const l=a44i;switch(a[l(0x17c)]){case l(0x19c):return new Key(a[l(0x182)],a[l(0x18f)]);case l(0x18b):return new Book(a[l(0x182)],a['description'],a[l(0x197)]);case l(0x186):return new Sword(a[l(0x182)],a['description']);case l(0x1a3):return new Rifle(a[l(0x182)],a[l(0x18f)]);case l(0x17a):return new Helmet(a[l(0x182)],a[l(0x18f)]);case l(0x1a2):return new BodyArmor(a['name'],a[l(0x18f)]);case l(0x194):return new LegArmor(a[l(0x182)],a['description']);case l(0x192):return new Boots(a[l(0x182)],a[l(0x18f)]);case l(0x19d):return new Gloves(a[l(0x182)],a[l(0x18f)]);case l(0x198):return new Gauntlets(a[l(0x182)],a[l(0x18f)]);default:return new BasicItem(a[l(0x182)],a['description']);}}[a44i(0x195)](a){const m=a44i,b=this[m(0x199)](a['rewardItem']);return new Puzzle({...a,'rewardItem':b});}[a44i(0x188)](a){const n=a44i,b=a['roomType']&&RoomType[a[n(0x185)][n(0x196)]()]?RoomType[a[n(0x185)][n(0x196)]()]:RoomType[n(0x17e)];return{'name':a[n(0x182)],'description':a[n(0x18f)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0x173))/0x1*(parseInt(h(0x16a))/0x2)+parseInt(h(0x142))/0x3*(parseInt(h(0x162))/0x4)+-parseInt(h(0x152))/0x5+-parseInt(h(0x174))/0x6+parseInt(h(0x14e))/0x7*(-parseInt(h(0x16c))/0x8)+-parseInt(h(0x158))/0x9*(-parseInt(h(0x15c))/0xa)+parseInt(h(0x143))/0xb*(parseInt(h(0x14f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x3e9c7));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x14a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x146)]()[j(0x141)]('(((.+)+)+)+$')[j(0x146)]()['constructor'](a45a)[j(0x141)](j(0x169));});a45a();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 a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x140;let f=c[d];return f;},a45d(a,b);}import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';function a45c(){const s=['instance','164CAveYb','quit','take','say','help','slice','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','(((.+)+)+)+$','448406MmTply','scene','352iakGxG','drop','getWelcomeMessage','name','-\x20clear:\x20Clear\x20the\x20screen.\x0a','split','clear','1nqInDz','2794530zRjeLG','use','search','28257HSeYxx','90607DvamQj','trim','hasOwnProperty','toString','look','registerCommands','getAllRegisteredCommands','apply','registerCommand','Available\x20Commands:\x0a','currentLocation','45472vKgyIx','900oanRue','createCommand','maka','1068790LFFTfP','determineStartRoom','player','equip','initialize','getHelpMessage','1326123eDVdpl','toLowerCase','unlock','getDescription','30wbEuTU','getInstance','unequip','rooms','currentRoom'];a45c=function(){return s;};return a45c();}export default class Game{static [a45k(0x161)];[a45k(0x16b)];[a45k(0x154)];[a45k(0x160)];[a45k(0x15f)];constructor(a,b){const l=a45k;this[l(0x154)]=a,this[l(0x16b)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x16b)][l(0x156)](),this['player'][l(0x14d)]=this[l(0x153)](),this['registerCommands']();}[a45k(0x148)](){const m=a45k;CommandFactory[m(0x14b)](m(0x147),LookCommand),CommandFactory[m(0x14b)]('go',GoCommand),CommandFactory['registerCommand'](m(0x164),TakeCommand),CommandFactory[m(0x14b)](m(0x140),UseCommand),CommandFactory[m(0x14b)](m(0x155),EquipCommand),CommandFactory[m(0x14b)](m(0x15e),UnequipCommand),CommandFactory[m(0x14b)]('solve',SolveCommand),CommandFactory[m(0x14b)](m(0x16d),DropCommand),CommandFactory[m(0x14b)](m(0x15a),UnlockCommand),CommandFactory[m(0x14b)]('lock',LockCommand),CommandFactory[m(0x14b)]('search',SearchCommand),CommandFactory[m(0x14b)](m(0x165),SayCommand);}['determineStartRoom'](){const n=a45k;return this[n(0x16b)][n(0x153)]();}[a45k(0x16e)](){const o=a45k;return'Welcome,\x20'+this[o(0x154)][o(0x16f)];}static[a45k(0x15d)](a,b){const p=a45k;return!Game[p(0x161)]&&(Game[p(0x161)]=new Game(a,b)),Game[p(0x161)];}['handleInput'](a){const q=a45k,b=a[q(0x144)]()[q(0x171)]('\x20'),c=b[0x0][q(0x159)](),d=b[q(0x167)](0x1);if(c===q(0x163))return null;if(c===q(0x151))return q(0x168);if(c===q(0x166))return this[q(0x157)]();if(c===q(0x172))return'';const e={'actor':this['player'],'rooms':this[q(0x16b)]['getRooms'](),'scene':this[q(0x16b)]},f=CommandFactory[q(0x150)](c,e);if(f){const g=f['execute'](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a45k(0x157)](){const r=a45k,a=CommandFactory[r(0x149)]();let b=r(0x14c);for(const c in a){if(a[r(0x145)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x15b)]()+'\x0a';}}return b+=r(0x170),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
1
+ const a45j=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x10f))/0x1+parseInt(h(0x111))/0x2*(-parseInt(h(0x113))/0x3)+parseInt(h(0x11e))/0x4*(-parseInt(h(0x121))/0x5)+parseInt(h(0x107))/0x6+-parseInt(h(0x11b))/0x7+-parseInt(h(0x120))/0x8*(-parseInt(h(0x11a))/0x9)+parseInt(h(0x109))/0xa*(parseInt(h(0xfd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xc0b9d));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 i=a45d;return a45a[i(0xf8)]()['search']('(((.+)+)+)+$')[i(0xf8)]()['constructor'](a45a)[i(0x112)](i(0x105));});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';function a45c(){const r=['410eOBeaa','getHelpMessage','getWelcomeMessage','handleInput','quit','rooms','currentLocation','Welcome,\x20','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','-\x20quit:\x20Exit\x20the\x20game.\x0a','unequip','drop','createCommand','solve','lock','toString','take','equip','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','clear','15690565NFyKdO','-\x20clear:\x20Clear\x20the\x20screen.\x0a','trim','initialize','name','unlock','registerCommand','split','(((.+)+)+)+$','determineStartRoom','3722172aXIiLv','slice','10SoCWyZ','Available\x20Commands:\x0a','help','hasOwnProperty','execute','toLowerCase','1466673VaAuPh','getInstance','1538PwlTtY','search','6078feZQjN','say','scene','registerCommands','getRooms','currentRoom','player','11116395gVAaPC','8558340fUEyLM','getAllRegisteredCommands','maka','57492ccQzla','instance','8dsizXn'];a45c=function(){return r;};return a45c();}import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xf3;let f=c[d];return f;},a45d(a,b);}import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45j(0x11f)];[a45j(0x115)];['player'];[a45j(0x118)];[a45j(0x126)];constructor(a,b){const k=a45j;this[k(0x119)]=a,this[k(0x115)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0x115)][k(0x100)](),this['player'][k(0x127)]=this[k(0x106)](),this[k(0x116)]();}[a45j(0x116)](){const l=a45j;CommandFactory['registerCommand']('look',LookCommand),CommandFactory[l(0x103)]('go',GoCommand),CommandFactory[l(0x103)](l(0xf9),TakeCommand),CommandFactory[l(0x103)]('use',UseCommand),CommandFactory[l(0x103)](l(0xfa),EquipCommand),CommandFactory[l(0x103)](l(0xf3),UnequipCommand),CommandFactory[l(0x103)](l(0xf6),SolveCommand),CommandFactory[l(0x103)](l(0xf4),DropCommand),CommandFactory[l(0x103)](l(0x102),UnlockCommand),CommandFactory[l(0x103)](l(0xf7),LockCommand),CommandFactory[l(0x103)](l(0x112),SearchCommand),CommandFactory['registerCommand'](l(0x114),SayCommand);}['determineStartRoom'](){const m=a45j;return this[m(0x115)][m(0x106)]();}[a45j(0x123)](){const n=a45j;return n(0x128)+this[n(0x119)][n(0x101)];}static[a45j(0x110)](a,b){const o=a45j;return!Game[o(0x11f)]&&(Game[o(0x11f)]=new Game(a,b)),Game[o(0x11f)];}[a45j(0x124)](a){const p=a45j,b=a[p(0xff)]()[p(0x104)]('\x20'),c=b[0x0][p(0x10e)](),d=b[p(0x108)](0x1);if(c===p(0x125))return null;if(c===p(0x11d))return p(0xfb);if(c===p(0x10b))return this[p(0x122)]();if(c===p(0xfc))return'';const e={'actor':this[p(0x119)],'rooms':this[p(0x115)][p(0x117)](),'scene':this[p(0x115)]},f=CommandFactory[p(0xf5)](c,e);if(f){const g=f[p(0x10d)](d);return g;}return p(0x129)+c+'\x22.';}[a45j(0x122)](){const q=a45j,a=CommandFactory[q(0x11c)]();let b=q(0x10a);for(const c in a){if(a[q(0x10c)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=q(0xfe),b+=q(0x12a),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x147))/0x1*(-parseInt(f(0x145))/0x2)+parseInt(f(0x13d))/0x3*(-parseInt(f(0x13e))/0x4)+parseInt(f(0x13f))/0x5+parseInt(f(0x142))/0x6*(parseInt(f(0x148))/0x7)+-parseInt(f(0x149))/0x8+parseInt(f(0x13a))/0x9*(-parseInt(f(0x144))/0xa)+parseInt(f(0x13b))/0xb*(parseInt(f(0x141))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x96ff2));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x146)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x13c)]()[h(0x143)](h(0x140))[h(0x13c)]()['constructor'](a46a)[h(0x143)](h(0x140));});a46a();export*from'./door.js';export*from'./inventory.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x13a;var f=c[d];return f;},a46d(a,b);}function a46c(){var i=['4MVdRcK','apply','55940GpwUlu','21ZSBAFQ','8684992klgBpn','8474337IHWFpn','27863vwmadE','toString','67854DyzrJV','32qgVLFc','3618895tUQZNb','(((.+)+)+)+$','7740hWOlFX','1161918xJfZOM','search','10vroPyi'];a46c=function(){return i;};return a46c();}export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x122))/0x1*(-parseInt(f(0x11d))/0x2)+-parseInt(f(0x125))/0x3+parseInt(f(0x129))/0x4+parseInt(f(0x127))/0x5+-parseInt(f(0x120))/0x6*(-parseInt(f(0x12a))/0x7)+parseInt(f(0x11f))/0x8*(parseInt(f(0x12b))/0x9)+parseInt(f(0x11c))/0xa*(-parseInt(f(0x123))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x68840));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0x128)](h(0x124))[h(0x11e)]()[h(0x126)](a46a)[h(0x128)]('(((.+)+)+)+$');});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x11c;var f=c[d];return f;},a46d(a,b);}export*from'./scene.js';function a46c(){var i=['toString','8vQqapE','42SyaxoV','apply','129226lhcotw','4144877UcHTEL','(((.+)+)+)+$','2027016RuWZPY','constructor','3825145liQnRB','search','262996iBGpfe','548359AGkJoD','6630273HfURgB','20yTSyVN','4dkOVvd'];a46c=function(){return i;};return a46c();}
@@ -1 +1 @@
1
- var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0xb5))/0x1*(-parseInt(f(0xb7))/0x2)+-parseInt(f(0xaa))/0x3*(parseInt(f(0xa1))/0x4)+parseInt(f(0xb8))/0x5+-parseInt(f(0xb3))/0x6+-parseInt(f(0xba))/0x7+-parseInt(f(0xb4))/0x8*(-parseInt(f(0xa3))/0x9)+-parseInt(f(0xb9))/0xa*(-parseInt(f(0xb2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xb852d));var a47b=(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;};}()),a47a=a47b(this,function(){var g=a47d;return a47a['toString']()[g(0xa6)]('(((.+)+)+)+$')[g(0xb0)]()['constructor'](a47a)['search']('(((.+)+)+)+$');});a47a();function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0xa1;var f=c[d];return f;},a47d(a,b);}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a47c(){var m=['4059315ujUzVa','10rmUlMJ','3227497UWjcvU','checkIfLockable','roomB','7352tarJpL','.\x20Used:\x20','677979hLkNhR','.\x20Is\x20Locked:\x20','logger','search','\x20and\x20','Door\x20created\x20between\x20','isLocked','1812uMICOu','To\x20','name','unlockItemOrSolution','roomA','Failed\x20to\x20unlock\x20door:\x20','toString','write','15891909ekmNlW','1655112zvPYnH','8srPruu','7saVFft','isLockable','77186KPLLRn'];a47c=function(){return m;};return a47c();}export class Door extends AbstractDoor{['roomA'];['roomB'];[a47h(0xa9)];[a47h(0xad)];[a47h(0xac)];[a47h(0xa5)];['isLockable'];constructor(a){var i=a47h;super(),this[i(0xae)]=a['roomA'],this[i(0xbc)]=a[i(0xbc)],this[i(0xa9)]=a[i(0xa9)]||![],this[i(0xad)]=a['unlockItemOrSolution'],this[i(0xac)]=a[i(0xac)]?capitalCase(a['name']):i(0xab)+a['roomB'][i(0xac)],this[i(0xa5)]=Logger['getInstance'](),this['isLockable']=!!a[i(0xad)],this[i(0xa5)]['write'](i(0xa8)+this[i(0xae)][i(0xac)]+i(0xa7)+this['roomB']['name']+i(0xa4)+this[i(0xa9)]);}['getOtherSide'](a){var j=a47h;return this['roomA']===a?this[j(0xbc)]:this[j(0xae)];}['attemptUnlock'](a){var k=a47h;if(this[k(0xa9)]&&this[k(0xad)]&&this[k(0xad)]===a)return this[k(0xa9)]=![],this[k(0xa5)][k(0xb1)]('Door\x20unlocked:\x20'+this[k(0xac)]+k(0xa2)+a),!![];return this['logger'][k(0xb1)](k(0xaf)+this[k(0xac)]+k(0xa2)+a),![];}['checkIfLocked'](){return this['isLocked'];}[a47h(0xbb)](){var l=a47h;return this[l(0xb6)];}}
1
+ function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0xdf;var f=c[d];return f;},a47d(a,b);}var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0xf1))/0x1*(-parseInt(f(0xfc))/0x2)+parseInt(f(0xe2))/0x3*(parseInt(f(0xec))/0x4)+parseInt(f(0xf0))/0x5*(parseInt(f(0x100))/0x6)+parseInt(f(0xfd))/0x7*(parseInt(f(0xdf))/0x8)+-parseInt(f(0xf9))/0x9*(-parseInt(f(0xf3))/0xa)+-parseInt(f(0xe1))/0xb*(-parseInt(f(0xed))/0xc)+-parseInt(f(0xf7))/0xd*(parseInt(f(0xeb))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x2adab));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a['toString']()[h(0xe9)](h(0xea))[h(0xf4)]()[h(0xf2)](a47a)[h(0xe9)](h(0xea));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a47c(){var n=['apply','name','Door\x20created\x20between\x20','search','(((.+)+)+)+$','14vPFbEy','1172VcOFNN','1732140VjSdiw','.\x20Is\x20Locked:\x20','roomA','142210wvmlic','1zFiMSm','constructor','220ZXJSXT','toString','isLockable','unlockItemOrSolution','11822863EDWyMt','logger','92970CCnUCm','roomB','\x20and\x20','368554fDGUzo','7903acMtQP','write','getInstance','6aufzSa','1432pFVUUE','.\x20Used:\x20','11APCVyz','3057jBsCpG','Failed\x20to\x20unlock\x20door:\x20','checkIfLockable','isLocked'];a47c=function(){return n;};return a47c();}export class Door extends AbstractDoor{[a47i(0xef)];[a47i(0xfa)];['isLocked'];['unlockItemOrSolution'];[a47i(0xe7)];[a47i(0xf8)];[a47i(0xf5)];constructor(a){var j=a47i;super(),this[j(0xef)]=a[j(0xef)],this[j(0xfa)]=a[j(0xfa)],this[j(0xe5)]=a[j(0xe5)]||![],this[j(0xf6)]=a['unlockItemOrSolution'],this['name']=a[j(0xe7)]?capitalCase(a[j(0xe7)]):'To\x20'+a[j(0xfa)][j(0xe7)],this[j(0xf8)]=Logger[j(0xff)](),this[j(0xf5)]=!!a[j(0xf6)],this[j(0xf8)][j(0xfe)](j(0xe8)+this[j(0xef)]['name']+j(0xfb)+this['roomB'][j(0xe7)]+j(0xee)+this[j(0xe5)]);}['getOtherSide'](a){var k=a47i;return this[k(0xef)]===a?this[k(0xfa)]:this[k(0xef)];}['attemptUnlock'](a){var l=a47i;if(this['isLocked']&&this[l(0xf6)]&&this[l(0xf6)]===a)return this[l(0xe5)]=![],this[l(0xf8)]['write']('Door\x20unlocked:\x20'+this[l(0xe7)]+l(0xe0)+a),!![];return this[l(0xf8)][l(0xfe)](l(0xe3)+this[l(0xe7)]+l(0xe0)+a),![];}['checkIfLocked'](){var m=a47i;return this[m(0xe5)];}[a47i(0xe4)](){return this['isLockable'];}}
@@ -1 +1 @@
1
- const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x118))/0x1+parseInt(f(0x134))/0x2+parseInt(f(0x138))/0x3*(-parseInt(f(0x130))/0x4)+parseInt(f(0x117))/0x5+-parseInt(f(0x11f))/0x6+parseInt(f(0x122))/0x7*(parseInt(f(0x119))/0x8)+-parseInt(f(0x133))/0x9*(parseInt(f(0x121))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x6e8f2));function a48c(){const q=['91fVzovF','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','listItems','\x20to\x20inventory.','search','toLowerCase','name','Listed\x20items\x20in\x20inventory:\x20','Checked\x20for\x20item:\x20','removeItem','Failed\x20to\x20remove\x20item:\x20','items','map','(((.+)+)+)+$','92AAtzzK','values','weight','2862iJmyGK','627010FodzBd','toString','join','getAllItems','1077AvIzDz','getItem','write','getWeight','logger','constructor','\x20from\x20inventory.','Removed\x20item:\x20','1726095SNlrzI','872614QfRuVp','519368SGyxab','hasItem','keys','delete','.\x20Exists:\x20','.\x20Item\x20not\x20found.','3818880GaUcAS','Retrieved\x20details\x20for\x20item:\x20','40180KKcrgX'];a48c=function(){return q;};return a48c();}const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a[g(0x135)]()['search'](g(0x12f))['toString']()[g(0x13d)](a48a)[g(0x126)](g(0x12f));});a48a();function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x116;let f=c[d];return f;},a48d(a,b);}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48h(0x12d)];[a48h(0x13c)];constructor(){const i=a48h;super(),this[i(0x12d)]=new Map(),this[i(0x13c)]=Logger['getInstance']();}['addItem'](a){const j=a48h;this[j(0x12d)]['set'](a[j(0x128)][j(0x127)](),a),this[j(0x13c)][j(0x13a)]('Added\x20item:\x20'+a['name']+j(0x125));}[a48h(0x12b)](a){const k=a48h,b=this[k(0x139)](a);if(b)return this['items'][k(0x11c)](a['toLowerCase']()),this['logger'][k(0x13a)](k(0x116)+a+k(0x13e)),b;return this[k(0x13c)][k(0x13a)](k(0x12c)+a+k(0x11e)),null;}[a48h(0x11a)](a){const l=a48h,b=this['items']['has'](a[l(0x127)]()),c=[...this['items'][l(0x11b)]()];return this[l(0x13c)]['write'](l(0x12a)+a+'\x20in\x20'+c[l(0x136)](',\x20')+l(0x11d)+b+'.'),b;}[a48h(0x139)](a){const m=a48h,b=this[m(0x12d)]['get'](a[m(0x127)]())||null;return b?this[m(0x13c)][m(0x13a)](m(0x120)+a+'.'):this['logger'][m(0x13a)](m(0x123)+a+m(0x11e)),b;}[a48h(0x124)](){const n=a48h,a=[...this[n(0x12d)][n(0x11b)]()],b=a[n(0x12e)](c=>capitalCase(c));return this['logger']['write'](n(0x129)+b[n(0x136)](',\x20')+'.'),a;}[a48h(0x13b)](){const o=a48h;let a=0x0;for(const b of this['items'][o(0x131)]()){a+=b[o(0x132)];}return a;}[a48h(0x137)](){const p=a48h;return[...this[p(0x12d)][p(0x131)]()];}}
1
+ const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x11e))/0x1*(parseInt(f(0x117))/0x2)+-parseInt(f(0x109))/0x3*(parseInt(f(0x114))/0x4)+parseInt(f(0x120))/0x5+-parseInt(f(0x11b))/0x6+-parseInt(f(0x110))/0x7*(-parseInt(f(0x11f))/0x8)+parseInt(f(0x129))/0x9+-parseInt(f(0x12c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xa4475));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x108)]()['search'](h(0x122))[h(0x108)]()[h(0x12e)](a48a)[h(0x113)](h(0x122));});function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x106;let f=c[d];return f;},a48d(a,b);}function a48c(){const r=['has','toLowerCase','466130FTDERg','apply','Listed\x20items\x20in\x20inventory:\x20','search','16TXZRYw','get','listItems','802TqTwbe','\x20in\x20','name','Removed\x20item:\x20','1882062sMXFPL','values','.\x20Item\x20not\x20found.','1366GbKmSv','152dmBYhz','3120440NHTzRs','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','(((.+)+)+)+$','delete','join','addItem','Added\x20item:\x20','items','removeItem','3441753vOGqfn','hasItem','getItem','15414790NhCgfX','getInstance','constructor','Checked\x20for\x20item:\x20','getAllItems','logger','toString','218580ZRsBxa','.\x20Exists:\x20','write','Retrieved\x20details\x20for\x20item:\x20','\x20to\x20inventory.'];a48c=function(){return r;};return a48c();}a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0x127)];[a48i(0x107)];constructor(){const j=a48i;super(),this[j(0x127)]=new Map(),this['logger']=Logger[j(0x12d)]();}[a48i(0x125)](a){const k=a48i;this['items']['set'](a['name'][k(0x10f)](),a),this['logger'][k(0x10b)](k(0x126)+a[k(0x119)]+k(0x10d));}[a48i(0x128)](a){const l=a48i,b=this[l(0x12b)](a);if(b)return this['items'][l(0x123)](a['toLowerCase']()),this[l(0x107)][l(0x10b)](l(0x11a)+a+'\x20from\x20inventory.'),b;return this[l(0x107)][l(0x10b)]('Failed\x20to\x20remove\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),null;}[a48i(0x12a)](a){const m=a48i,b=this[m(0x127)][m(0x10e)](a[m(0x10f)]()),c=[...this[m(0x127)]['keys']()];return this['logger']['write'](m(0x12f)+a+m(0x118)+c[m(0x124)](',\x20')+m(0x10a)+b+'.'),b;}['getItem'](a){const n=a48i,b=this[n(0x127)][n(0x115)](a[n(0x10f)]())||null;return b?this[n(0x107)][n(0x10b)](n(0x10c)+a+'.'):this[n(0x107)]['write'](n(0x121)+a+n(0x11d)),b;}[a48i(0x116)](){const o=a48i,a=[...this['items']['keys']()],b=a['map'](c=>capitalCase(c));return this['logger'][o(0x10b)](o(0x112)+b[o(0x124)](',\x20')+'.'),a;}['getWeight'](){const p=a48i;let a=0x0;for(const b of this['items'][p(0x11c)]()){a+=b['weight'];}return a;}[a48i(0x106)](){const q=a48i;return[...this[q(0x127)]['values']()];}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x148))/0x1*(parseInt(f(0x141))/0x2)+-parseInt(f(0x14f))/0x3*(parseInt(f(0x13a))/0x4)+parseInt(f(0x14b))/0x5+parseInt(f(0x13e))/0x6+parseInt(f(0x13d))/0x7*(parseInt(f(0x14c))/0x8)+parseInt(f(0x139))/0x9*(parseInt(f(0x145))/0xa)+-parseInt(f(0x14a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x634c4));function a49c(){var l=['shape','apply','.\x20Nothing\x20special\x20happens.','10WoulPo','color','texture','4omFIPw','uuid','16967918OlApBP','3825550TcSVGt','592iRdvbx','(((.+)+)+)+$','toString','771705JhRqvH','category','description','use','rating','search','980622PzJbvl','4pNckFl','size','You\x20use\x20the\x20','57337xsbWXS','124578SWLXrY','weight','name','352766zzknXf'];a49c=function(){return l;};return a49c();}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x14e)]()[h(0x154)](h(0x14d))['toString']()['constructor'](a49a)[h(0x154)](h(0x14d));});a49a();import{v4 as a49e}from'uuid';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x139;var f=c[d];return f;},a49d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];[a49i(0x140)];['description'];['size'];[a49i(0x150)];[a49i(0x142)];[a49i(0x146)];[a49i(0x147)];[a49i(0x153)];['weight'];constructor(a){var j=a49i;super(),this[j(0x140)]=a[j(0x140)],this['description']=a[j(0x151)],this[j(0x13b)]=a[j(0x13b)],this['category']=a[j(0x150)],this[j(0x142)]=a['shape'],this['color']=a[j(0x146)],this['texture']=a[j(0x147)],this[j(0x153)]=a['rating'],this[j(0x13f)]=a[j(0x13f)],this[j(0x149)]=a49e();}[a49i(0x152)](){var k=a49i;return k(0x13c)+this[k(0x140)]+k(0x144);}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0xbc))/0x1*(parseInt(f(0xb7))/0x2)+parseInt(f(0xc0))/0x3+-parseInt(f(0xc3))/0x4+-parseInt(f(0xb5))/0x5*(parseInt(f(0xb0))/0x6)+parseInt(f(0xb8))/0x7*(-parseInt(f(0xba))/0x8)+-parseInt(f(0xb1))/0x9+parseInt(f(0xaf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x5b222));function a49c(){var k=['description','shape','1753458FlVSMh','category','size','2632740JKKnOY','apply','toString','texture','uuid','15880210XsLgDd','1432974OMdmYh','1190709WSGWWG','weight','name','use','15dCujIW','constructor','2oUhicq','7oqOEQZ','(((.+)+)+)+$','4331752sjsYvb','rating','249217XjuQdD','color'];a49c=function(){return k;};return a49c();}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()['search'](h(0xb9))[h(0xc5)]()[h(0xb6)](a49a)['search'](h(0xb9));});a49a();import{v4 as a49e}from'uuid';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xaf;var f=c[d];return f;},a49d(a,b);}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0xc7)];['name'];[a49i(0xbe)];[a49i(0xc2)];[a49i(0xc1)];[a49i(0xbf)];[a49i(0xbd)];[a49i(0xc6)];[a49i(0xbb)];[a49i(0xb2)];constructor(a){var j=a49i;super(),this['name']=a[j(0xb3)],this[j(0xbe)]=a[j(0xbe)],this[j(0xc2)]=a[j(0xc2)],this['category']=a['category'],this[j(0xbf)]=a[j(0xbf)],this[j(0xbd)]=a[j(0xbd)],this[j(0xc6)]=a[j(0xc6)],this[j(0xbb)]=a['rating'],this[j(0xb2)]=a[j(0xb2)],this[j(0xc7)]=a49e();}[a49i(0xb4)](){return'You\x20use\x20the\x20'+this['name']+'.\x20Nothing\x20special\x20happens.';}}
@@ -1 +1 @@
1
- const a50i=a50d;function a50c(){const o=['rooms','_name','2557152nVoGqB','_dialogue','toString','random','2072HZTNHu','moveTo','27311562aUKTMY','scene','2709tTPeKj','apply','85107jSbmfM','search','autonomousMove','43002omPrBO','1601308CaeOrL','floor','name','length','5RcsUNm','speak','(((.+)+)+)+$','3026756VHjQHU'];a50c=function(){return o;};return a50c();}function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x151;let f=c[d];return f;},a50d(a,b);}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x164))/0x1+-parseInt(f(0x168))/0x2+-parseInt(f(0x15a))/0x3+parseInt(f(0x157))/0x4*(-parseInt(f(0x154))/0x5)+parseInt(f(0x167))/0x6+parseInt(f(0x162))/0x7*(-parseInt(f(0x15e))/0x8)+parseInt(f(0x160))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x6d0fe));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x163)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x15c)]()[h(0x165)](h(0x156))['toString']()['constructor'](a50a)['search']('(((.+)+)+)+$');});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];[a50i(0x15b)];['rooms'];[a50i(0x161)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x159)]=a,this[j(0x15b)]=b,this['rooms']=c;}get[a50i(0x152)](){const k=a50i;return this[k(0x159)];}[a50i(0x155)](){const l=a50i;return this[l(0x15b)][Math[l(0x151)](Math[l(0x15d)]()*this[l(0x15b)][l(0x153)])];}[a50i(0x166)](a){const m=a50i,b=a[Math[m(0x151)](Math[m(0x15d)]()*a[m(0x153)])];this['moveTo'](b['name']);}[a50i(0x15f)](a){const n=a50i,b={'actor':this,'rooms':this[n(0x158)],'scene':this[n(0x161)]},c=new GoCommand(b);c['execute']([a]);}}
1
+ const a50i=a50d;function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1b0;let f=c[d];return f;},a50d(a,b);}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x1c8))/0x1*(-parseInt(f(0x1bb))/0x2)+-parseInt(f(0x1c5))/0x3+parseInt(f(0x1b0))/0x4+-parseInt(f(0x1c4))/0x5+-parseInt(f(0x1bf))/0x6*(parseInt(f(0x1c3))/0x7)+-parseInt(f(0x1c1))/0x8*(-parseInt(f(0x1bc))/0x9)+parseInt(f(0x1c6))/0xa*(parseInt(f(0x1b7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xb7071));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1bd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x1b9)]()[h(0x1b6)]('(((.+)+)+)+$')[h(0x1b9)]()[h(0x1b4)](a50a)['search'](h(0x1b1));});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{['_name'];['_dialogue'];[a50i(0x1be)];['scene'];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x1b2)]=a,this['_dialogue']=b,this[j(0x1be)]=c;}get[a50i(0x1c7)](){return this['_name'];}['speak'](){const k=a50i;return this['_dialogue'][Math[k(0x1ba)](Math['random']()*this['_dialogue'][k(0x1b3)])];}['autonomousMove'](a){const l=a50i,b=a[Math[l(0x1ba)](Math[l(0x1b8)]()*a['length'])];this['moveTo'](b[l(0x1c7)]);}[a50i(0x1b5)](a){const m=a50i,b={'actor':this,'rooms':this['rooms'],'scene':this[m(0x1c0)]},c=new GoCommand(b);c[m(0x1c2)]([a]);}}function a50c(){const n=['3757RsmiWP','1110160LNHkVq','(((.+)+)+)+$','_name','length','constructor','moveTo','search','22OyiVJw','random','toString','floor','416VFMlMb','50913lzisyY','apply','rooms','6HxAlpK','scene','336XGkSJV','execute','4047309GglDWc','7415090OVJnRc','4135608vFGuck','22278720cXMHLN','name'];a50c=function(){return n;};return a50c();}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x1bb))/0x1*(-parseInt(f(0x1ad))/0x2)+parseInt(f(0x1be))/0x3*(parseInt(f(0x1c4))/0x4)+parseInt(f(0x1c8))/0x5+-parseInt(f(0x1a2))/0x6*(-parseInt(f(0x1b0))/0x7)+-parseInt(f(0x186))/0x8+parseInt(f(0x17e))/0x9*(-parseInt(f(0x17d))/0xa)+-parseInt(f(0x18c))/0xb*(-parseInt(f(0x18f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xd8c7e));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x1a5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x198)]()[h(0x19e)](h(0x1ac))[h(0x198)]()['constructor'](a51a)[h(0x19e)]('(((.+)+)+)+$');});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x177;let f=c[d];return f;},a51d(a,b);}function a51c(){const C=['gloves','helmet','legarmor','\x20says:\x20\x22','maxCarryingWeight','toString','arms','weight','\x20in\x20your\x20inventory.','_maxCarryingWeight','_currentLocation','search','_inventory','Nexus','arm\x20armor','12oGUxgE','logger','currentWeight','apply','.\x20You\x20must\x20unequip\x20it\x20first.','ArmArmor','getInstance','toLowerCase','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','Added\x20','(((.+)+)+)+$','12VIErOV','currentLocation','Max\x20carrying\x20weight\x20must\x20be\x20positive.','1965782eTVVvf','includes','Gloves','getWeight','write','playerName','\x20to\x20player\x27s\x20inventory.','determineEquipmentSlot','hasItem','Invalid\x20category\x20or\x20slot:\x20','rightHand','248039EyKFyp','off','addItem','3SXhAsV','legs','You\x20can\x27t\x20equip\x20','addInventory','_equipment','removeItem','3741596hgSFGt','A\x20featureless\x20room','leaveRoom','hear','7376720cjoLXj','bodyarmor','category','boots','startLocation','equipment','_playerName','removeInventory','torso','unequipBySlot','head','inventoryItems','enterRoom','3334750PJSkCL','27JExgpQ','You\x20unequipped\x20','body\x20armor','values','canEquip','bind','speak','unequip','10319216nCqzFq','\x20is\x20now\x20listening\x20in\x20room\x20','leg\x20armor','hat','leftHand','Removed\x20','310585NtXcfu','name','You\x20don\x27t\x20have\x20','720hIIlWi','LegArmor','\x20from\x20player\x27s\x20inventory.','initialEquipment'];a51c=function(){return C;};return a51c();}import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0x1ce)];['_currentLocation'];[a51i(0x19f)];[a51i(0x1c2)];[a51i(0x19c)]=0x32;[a51i(0x1a3)];constructor(a){const j=a51i;super(),this[j(0x1ce)]=a[j(0x1b5)],this[j(0x19d)]=a[j(0x1cc)]||new Room({'name':j(0x1a0),'description':j(0x1c5)}),this[j(0x19f)]=new Inventory(),this[j(0x1a3)]=Logger[j(0x1a8)]();if(a?.[j(0x17b)])for(const b of a['inventoryItems']){this[j(0x19f)][j(0x1bd)](b);}this[j(0x1c2)]=a?.[j(0x192)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x18d)](){const k=a51i;return this[k(0x1ce)];}get[a51i(0x1ae)](){const l=a51i;return this[l(0x19d)];}set[a51i(0x1ae)](a){const m=a51i;this[m(0x19d)]!==a&&(this[m(0x1c6)](),this[m(0x17c)](a)),this['_currentLocation']=a;}get['inventory'](){const n=a51i;return this[n(0x19f)];}get['equipment'](){const o=a51i;return this[o(0x1c2)];}set['equipment'](a){const p=a51i;this[p(0x1c2)]=a;}get[a51i(0x197)](){return this['_maxCarryingWeight'];}set[a51i(0x197)](a){const q=a51i;a>0x0?this[q(0x19c)]=a:console['error'](q(0x1af));}get['currentWeight'](){const r=a51i;let a=this[r(0x19f)][r(0x1b3)]();for(const b in this[r(0x1c2)]){const c=this[r(0x1c2)][b];c&&(a+=c[r(0x19a)]);}return a;}[a51i(0x1c1)](a){const s=a51i;if(this[s(0x1a4)]+a['weight']>this['maxCarryingWeight']){this[s(0x1a3)][s(0x1b4)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[s(0x19f)][s(0x1bd)](a),this[s(0x1a3)][s(0x1b4)](s(0x1ab)+a[s(0x18d)]+s(0x1b6));}[a51i(0x177)](a){const t=a51i;if(this[t(0x19f)][t(0x1c3)](a[t(0x18d)]))return this['logger'][t(0x1b4)](t(0x18b)+a[t(0x18d)]+t(0x191)),!![];return this[t(0x1a3)][t(0x1b4)]('Failed\x20to\x20remove\x20'+a['name']+t(0x191)),![];}['equip'](a){const u=a51i;if(!this[u(0x19f)][u(0x1b8)](a[u(0x18d)]))return u(0x18e)+a[u(0x18d)]+u(0x19b);if(!this[u(0x182)](a))return u(0x1c0)+a[u(0x18d)]+'.';const b=this[u(0x1b7)](a[u(0x1ca)]);if(!b)return a[u(0x18d)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[u(0x1cd)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+u(0x1a6);return this[u(0x1cd)][b]=a,this['removeInventory'](a),'You\x20equipped\x20'+a['name']+'.';}[a51i(0x185)](a){const v=a51i;let b=a;if(!this[v(0x1cd)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return v(0x1b9)+a+'.';}return this[v(0x179)](b);}['determineEquipmentSlot'](a){const w=a51i;switch(a[w(0x1a9)]()){case Category['Weapon'][w(0x1a9)]():return'rightHand';case Category['Shield'][w(0x1a9)]():return w(0x18a);case Category[w(0x1b2)][w(0x1a9)]():return w(0x193);case Category['Helmet'][w(0x1a9)]():case Category['Hat'][w(0x1a9)]():return'head';case Category['Boots'][w(0x1a9)]():return'feet';case Category[w(0x190)][w(0x1a9)]():return w(0x1bf);case Category[w(0x1a7)][w(0x1a9)]():return w(0x199);case Category['BodyArmor'][w(0x1a9)]():return w(0x178);case'weapon':return w(0x1ba);case'shield':return w(0x18a);case'gloves':return'gloves';case w(0x194):case w(0x189):return w(0x17a);case w(0x1cb):return'feet';case w(0x188):case w(0x195):return w(0x1bf);case w(0x1a1):case'armarmor':return w(0x199);case w(0x180):case w(0x1c9):case w(0x178):return w(0x178);default:return null;}}[a51i(0x182)](a){const x=a51i;return Object[x(0x181)](Category)[x(0x1b1)](a['category']);}[a51i(0x179)](a){const y=a51i,b=this[y(0x1cd)][a];if(!b)return y(0x1aa)+a+'\x20slot.';return this['addInventory'](b),this[y(0x1cd)][a]=null,y(0x17f)+b[y(0x18d)]+'.';}[a51i(0x1c7)](a,b){const z=a51i;a!==this&&this[z(0x1a3)]['log'](a[z(0x18d)]+z(0x196)+b+'\x22');}[a51i(0x17c)](a){const A=a51i;this[A(0x19d)]=a,a['on'](A(0x184),this[A(0x1c7)][A(0x183)](this)),this[A(0x1a3)][A(0x1b4)](this['name']+A(0x187)+a['name']);}[a51i(0x1c6)](){const B=a51i;this[B(0x19d)]&&(this[B(0x19d)][B(0x1bc)](B(0x184),this['hear']['bind'](this)),this['logger'][B(0x1b4)](this['name']+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this['_currentLocation'][B(0x18d)]));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x13e))/0x1*(-parseInt(f(0x138))/0x2)+parseInt(f(0x184))/0x3*(parseInt(f(0x14e))/0x4)+parseInt(f(0x12f))/0x5+-parseInt(f(0x134))/0x6+-parseInt(f(0x13b))/0x7+parseInt(f(0x15e))/0x8*(-parseInt(f(0x162))/0x9)+parseInt(f(0x136))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x9d661));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x177)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x135)]()[h(0x181)](h(0x170))[h(0x135)]()[h(0x13f)](a51a)[h(0x181)](h(0x170));});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x12d;let f=c[d];return f;},a51d(a,b);}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';function a51c(){const A=['helmet','leg\x20armor','gloves','hat','7886464CprmTF','torso','\x20to\x20player\x27s\x20inventory.','head','9afpRYF','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','feet','weight','body\x20armor','off','inventoryItems','currentWeight','\x20in\x20your\x20inventory.','write','Failed\x20to\x20remove\x20','inventory','values','_playerName','(((.+)+)+)+$','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','\x20says:\x20\x22','equipment','Nexus','You\x20can\x27t\x20equip\x20','Shield','apply','removeItem','You\x20don\x27t\x20have\x20','weapon','_equipment','BodyArmor','maxCarryingWeight','arm\x20armor','speak','_inventory','search','\x20is\x20now\x20listening\x20in\x20room\x20','_currentLocation','3YCEAJB','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','Added\x20','Gloves','shield','hasItem','enterRoom','playerName','startLocation','LegArmor','bind','Boots','currentLocation','ArmArmor','973860ZYtcEk','category','toLowerCase','includes','addItem','2085204MefqCc','toString','13497810xrwsTy','\x20from\x20player\x27s\x20inventory.','222NWhjcY','name','Helmet','8545621JucVzi','.\x20You\x20must\x20unequip\x20it\x20first.','You\x20unequipped\x20','6702CiUWAi','constructor','You\x20equipped\x20','leftHand','error','Weapon','unequipBySlot','legs','log','\x20slot.','logger','removeInventory','\x20is\x20no\x20longer\x20listeng\x20in\x20','getInstance','addInventory','determineEquipmentSlot','3641500ewzboR','equip','initialEquipment','leaveRoom','Removed\x20','rightHand','Max\x20carrying\x20weight\x20must\x20be\x20positive.','A\x20featureless\x20room','getWeight','_maxCarryingWeight','hear','arms'];a51c=function(){return A;};return a51c();}import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0x16f)];[a51i(0x183)];[a51i(0x180)];[a51i(0x17b)];['_maxCarryingWeight']=0x32;[a51i(0x148)];constructor(a){const j=a51i;super(),this[j(0x16f)]=a[j(0x18b)],this[j(0x183)]=a[j(0x18c)]||new Room({'name':j(0x174),'description':j(0x155)}),this[j(0x180)]=new Inventory(),this[j(0x148)]=Logger[j(0x14b)]();if(a?.[j(0x168)])for(const b of a[j(0x168)]){this['_inventory'][j(0x133)](b);}this['_equipment']=a?.[j(0x150)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x139)](){const k=a51i;return this[k(0x16f)];}get[a51i(0x12d)](){const l=a51i;return this[l(0x183)];}set[a51i(0x12d)](a){const m=a51i;this[m(0x183)]!==a&&(this[m(0x151)](),this[m(0x18a)](a)),this[m(0x183)]=a;}get[a51i(0x16d)](){const n=a51i;return this[n(0x180)];}get['equipment'](){return this['_equipment'];}set[a51i(0x173)](a){this['_equipment']=a;}get[a51i(0x17d)](){return this['_maxCarryingWeight'];}set[a51i(0x17d)](a){const o=a51i;a>0x0?this[o(0x157)]=a:console[o(0x142)](o(0x154));}get[a51i(0x169)](){const p=a51i;let a=this[p(0x180)][p(0x156)]();for(const b in this[p(0x17b)]){const c=this[p(0x17b)][b];c&&(a+=c[p(0x165)]);}return a;}[a51i(0x14c)](a){const q=a51i;if(this[q(0x169)]+a[q(0x165)]>this[q(0x17d)]){this['logger']['write'](q(0x171));throw new Error(q(0x163));}this[q(0x180)][q(0x133)](a),this[q(0x148)][q(0x16b)](q(0x186)+a['name']+q(0x160));}[a51i(0x149)](a){const r=a51i;if(this[r(0x180)][r(0x178)](a[r(0x139)]))return this[r(0x148)][r(0x16b)](r(0x152)+a['name']+r(0x137)),!![];return this[r(0x148)]['write'](r(0x16c)+a['name']+r(0x137)),![];}[a51i(0x14f)](a){const s=a51i;if(!this['_inventory'][s(0x189)](a['name']))return s(0x179)+a['name']+s(0x16a);if(!this['canEquip'](a))return s(0x175)+a[s(0x139)]+'.';const b=this[s(0x14d)](a[s(0x130)]);if(!b)return a[s(0x139)]+s(0x185);if(this[s(0x173)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+s(0x13c);return this[s(0x173)][b]=a,this[s(0x149)](a),s(0x140)+a[s(0x139)]+'.';}['unequip'](a){const t=a51i;let b=a;if(!this[t(0x173)][camelCase(b)]){b=this[t(0x14d)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[t(0x144)](b);}[a51i(0x14d)](a){const u=a51i;switch(a['toLowerCase']()){case Category[u(0x143)][u(0x131)]():return'rightHand';case Category[u(0x176)][u(0x131)]():return u(0x141);case Category[u(0x187)][u(0x131)]():return'gloves';case Category[u(0x13a)][u(0x131)]():case Category['Hat'][u(0x131)]():return'head';case Category[u(0x18f)][u(0x131)]():return u(0x164);case Category[u(0x18d)][u(0x131)]():return'legs';case Category[u(0x12e)][u(0x131)]():return'arms';case Category[u(0x17c)][u(0x131)]():return'torso';case u(0x17a):return u(0x153);case u(0x188):return u(0x141);case u(0x15c):return u(0x15c);case u(0x15a):case u(0x15d):return u(0x161);case'boots':return u(0x164);case u(0x15b):case'legarmor':return u(0x145);case u(0x17e):case'armarmor':return u(0x159);case u(0x166):case'bodyarmor':case u(0x15f):return u(0x15f);default:return null;}}['canEquip'](a){const v=a51i;return Object[v(0x16e)](Category)[v(0x132)](a['category']);}[a51i(0x144)](a){const w=a51i,b=this[w(0x173)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+w(0x147);return this[w(0x14c)](b),this[w(0x173)][a]=null,w(0x13d)+b[w(0x139)]+'.';}[a51i(0x158)](a,b){const x=a51i;a!==this&&this['logger'][x(0x146)](a[x(0x139)]+x(0x172)+b+'\x22');}[a51i(0x18a)](a){const y=a51i;this[y(0x183)]=a,a['on'](y(0x17f),this[y(0x158)][y(0x18e)](this)),this[y(0x148)]['write'](this['name']+y(0x182)+a[y(0x139)]);}[a51i(0x151)](){const z=a51i;this['_currentLocation']&&(this['_currentLocation'][z(0x167)](z(0x17f),this[z(0x158)][z(0x18e)](this)),this[z(0x148)][z(0x16b)](this[z(0x139)]+z(0x14a)+this[z(0x183)][z(0x139)]));}}
@@ -1 +1 @@
1
- function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x76;var f=c[d];return f;},a52d(a,b);}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x7c))/0x1*(-parseInt(f(0x95))/0x2)+parseInt(f(0x83))/0x3+-parseInt(f(0x8f))/0x4*(-parseInt(f(0x90))/0x5)+-parseInt(f(0x77))/0x6+-parseInt(f(0x84))/0x7*(parseInt(f(0x7f))/0x8)+parseInt(f(0x91))/0x9*(-parseInt(f(0x86))/0xa)+-parseInt(f(0x80))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x963c9));function a52c(){var m=['(((.+)+)+)+$','search','matchesRequiredPhrase','1892916eLjLwx','riddle','successMessage','solve','rewardItem','52741odoMBL','hasRequiredItem','hasItem','389072eGWWWW','10187980CyPmTG','You\x20solved\x20the\x20puzzle!','apply','3218304VvOBzf','7siilsV','Puzzle:\x20Correct\x20solution\x20provided.','30cVuNol','You\x20have\x20already\x20solved\x20this\x20puzzle.','failureMessage','getInstance','solved','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','logger','requiredPhrase','336012OJjoGT','45kzChKl','560493nOQfXz','write','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','requiredItem','10cilHPN','constructor'];a52c=function(){return m;};return a52c();}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x82)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x98)](h(0x97))['toString']()[h(0x96)](a52a)[h(0x98)]('(((.+)+)+)+$');});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger[a52i(0x89)]();['solved']=![];[a52i(0x94)];[a52i(0x8e)];['riddle'];[a52i(0x7b)];[a52i(0x79)];[a52i(0x88)];constructor(a){var j=a52i;super(),this[j(0x94)]=a[j(0x94)],this[j(0x8e)]=a[j(0x8e)],this[j(0x78)]=a[j(0x78)],this[j(0x7b)]=a['rewardItem'],this[j(0x79)]=a[j(0x79)]||j(0x81),this[j(0x88)]=a[j(0x88)]||j(0x93);}[a52i(0x7d)](a){var k=a52i;if(this['requiredItem'])return a[k(0x7e)](this['requiredItem']);return![];}[a52i(0x76)](a){return this['requiredPhrase']===a;}[a52i(0x7a)](a,b){var l=a52i;if(this[l(0x8a)])return this[l(0x8d)][l(0x92)](l(0x8b)),{'success':![],'message':l(0x87)};return this[l(0x7d)](b)||this[l(0x76)](a)?(this['solved']=!![],this[l(0x8d)][l(0x92)](l(0x85)),{'success':!![],'message':this[l(0x79)]}):(this['logger'][l(0x92)](l(0x8c)),{'success':![],'message':this[l(0x88)]});}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0xf1))/0x1*(-parseInt(f(0xff))/0x2)+parseInt(f(0xfe))/0x3*(parseInt(f(0xfb))/0x4)+parseInt(f(0xfd))/0x5*(-parseInt(f(0xf8))/0x6)+-parseInt(f(0xfc))/0x7+-parseInt(f(0xf3))/0x8*(-parseInt(f(0xfa))/0x9)+parseInt(f(0xf2))/0xa+parseInt(f(0xed))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xbf2c0));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xec)]()[h(0xea)](h(0xeb))['toString']()[h(0xf5)](a52a)[h(0xea)](h(0xeb));});a52a();function a52c(){var n=['Puzzle:\x20Correct\x20solution\x20provided.','requiredItem','matchesRequiredPhrase','requiredPhrase','write','search','(((.+)+)+)+$','toString','13453836rbEwkn','hasRequiredItem','apply','You\x20have\x20already\x20solved\x20this\x20puzzle.','1373239ozZCjs','869360VGqqVf','1288CTDpEE','getInstance','constructor','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','failureMessage','858FJfGjq','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','53568kVCoMX','16jXAXaO','546322ubDeIx','27305MiZaLy','560223SCqgVc','2bCoxDN','hasItem','logger','riddle','solved','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','successMessage','rewardItem','solve'];a52c=function(){return n;};return a52c();}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xe7;var f=c[d];return f;},a52d(a,b);}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x101)]=Logger[a52i(0xf4)]();['solved']=![];['requiredItem'];['requiredPhrase'];[a52i(0x102)];[a52i(0x106)];[a52i(0x105)];[a52i(0xf7)];constructor(a){var j=a52i;super(),this[j(0x109)]=a['requiredItem'],this[j(0xe8)]=a[j(0xe8)],this[j(0x102)]=a[j(0x102)],this[j(0x106)]=a[j(0x106)],this[j(0x105)]=a['successMessage']||'You\x20solved\x20the\x20puzzle!',this[j(0xf7)]=a['failureMessage']||j(0xf6);}['hasRequiredItem'](a){var k=a52i;if(this[k(0x109)])return a[k(0x100)](this[k(0x109)]);return![];}['matchesRequiredPhrase'](a){var l=a52i;return this[l(0xe8)]===a;}[a52i(0x107)](a,b){var m=a52i;if(this[m(0x103)])return this[m(0x101)][m(0xe9)](m(0x104)),{'success':![],'message':m(0xf0)};return this[m(0xee)](b)||this[m(0xe7)](a)?(this['solved']=!![],this[m(0x101)]['write'](m(0x108)),{'success':!![],'message':this[m(0x105)]}):(this[m(0x101)][m(0xe9)](m(0xf9)),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x97;let f=c[d];return f;},a53d(a,b);}const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0xc1))/0x1+-parseInt(f(0xb2))/0x2*(-parseInt(f(0xb3))/0x3)+-parseInt(f(0xd0))/0x4+-parseInt(f(0x9e))/0x5+parseInt(f(0xd3))/0x6+-parseInt(f(0xa0))/0x7+parseInt(f(0xc0))/0x8*(parseInt(f(0xc8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x90aeb));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a['toString']()['search'](h(0xce))[h(0xcd)]()['constructor'](a53a)[h(0xca)](h(0xce));});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0xcb)]=Logger[a53i(0xd1)]();[a53i(0xbc)];[a53i(0xbb)];['exits']=new Map();['roomType'];[a53i(0x9d)];[a53i(0xa7)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0xbc)]=a[j(0xbc)],this['description']=a[j(0xbb)],this[j(0xbf)]=a[j(0xbf)]||RoomType[j(0xbd)],a['exits']&&(this[j(0xc2)]=a['exits']||new Map()),a['inventory']&&(this[j(0xa7)]=a['inventory']),a[j(0xb8)]&&(this[j(0xb8)]=a[j(0xb8)]),this[j(0x9d)]=a['isStartRoom']||![],this['logger'][j(0xc5)]('Room\x20created:\x20'+this[j(0xbc)]);}[a53i(0xb6)](a,b){const k=a53i;this[k(0xa3)]('speak',a,b);}['addExit'](a,b,c){const l=a53i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0xc2)]['set'](a,d),b[l(0xc2)][l(0x9a)](this['getOppositeDirection'](a),d);}[a53i(0xc6)](a,b){const m=a53i,c=this[m(0xc2)][m(0xc3)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this['logger']['write']('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0xaa)+d),d?'The\x20'+c[m(0xbc)]+'\x20unlocked!':m(0xb5)+c[m(0xbc)]+m(0xad);}return this['logger']['write'](m(0x9c)+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a53i(0xa9)](a){const n=a53i;return this[n(0xcb)][n(0xc5)](n(0xa4)+a),this['exits'][n(0xc3)](a);}[a53i(0x99)](a){const o=a53i,b=this['exits'][o(0xc3)](a),c=b instanceof Door&&b[o(0xb1)]();return this[o(0xcb)][o(0xc5)](o(0xb0)+a+o(0xc9)+c),c;}[a53i(0x98)](a){const p=a53i;this[p(0xa7)][p(0x98)](a),this[p(0xcb)][p(0xc5)](p(0xd2)+this['name']+':\x20'+a[p(0xbc)]);}[a53i(0xa5)](a){const q=a53i;this[q(0xa7)][q(0x97)](a[q(0xbc)])?(this[q(0xa7)][q(0xa5)](a[q(0xbc)]),this[q(0xcb)][q(0xc5)](q(0xa8)+this[q(0xbc)]+':\x20'+a[q(0xbc)])):this[q(0xcb)][q(0xc5)](q(0xd4)+this['name']+':\x20'+a[q(0xbc)]);}[a53i(0xac)](a){const r=a53i;this[r(0xb8)]=a,this[r(0xcb)][r(0xc5)](r(0xab)+this['name']+':\x20'+a[r(0xc4)]);}[a53i(0xcc)](a){const s=a53i;switch(a){case s(0xb9):return Direction[s(0xcf)];case s(0xb7):return Direction[s(0xbe)];case s(0xc7):return Direction[s(0xba)];case s(0x9f):return Direction[s(0xb4)];case'up':return Direction[s(0x9b)];case s(0xa2):return Direction['UP'];default:throw new Error('Invalid\x20direction:\x20'+a);}}[a53i(0xa6)](a){const t=a53i;for(const b of this[t(0xc2)]['values']()){if(b instanceof Door){if(b['roomA']===this&&b[t(0xa1)]===a||b['roomB']===this&&b[t(0xaf)]===a)return b;}}return undefined;}}function a53c(){const u=['name','INSIDE','NORTH','roomType','16664IecHMS','193633SywQWY','exits','get','riddle','write','attemptUnlockExit','east','1710vbPKnL','\x20is\x20locked.\x20Result:\x20','search','logger','getOppositeDirection','toString','(((.+)+)+)+$','SOUTH','530788svWVQg','getInstance','Item\x20added\x20to\x20room\x20','5107926XxyrEy','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','hasItem','addItem','isExitLocked','set','DOWN','No\x20locked\x20exit\x20found\x20in\x20direction\x20','isStartRoom','3038595UGIJNr','west','6391938yQxnuT','roomB','down','emit','Fetching\x20exit\x20in\x20direction:\x20','removeItem','findExistingDoor','inventory','Item\x20removed\x20from\x20room\x20','getExit','.\x20Success:\x20','Puzzle\x20set\x20for\x20room\x20','setPuzzle','\x20remains\x20locked.','apply','roomA','Checking\x20if\x20exit\x20in\x20direction\x20','checkIfLocked','1610890epMiTc','3AsDFcS','EAST','The\x20','say','south','puzzle','north','WEST','description'];a53c=function(){return u;};return a53c();}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x9f))/0x1*(-parseInt(f(0x9a))/0x2)+parseInt(f(0x74))/0x3*(-parseInt(f(0x78))/0x4)+parseInt(f(0x9b))/0x5*(parseInt(f(0x89))/0x6)+-parseInt(f(0x9c))/0x7*(parseInt(f(0x6b))/0x8)+parseInt(f(0x77))/0x9*(-parseInt(f(0x6e))/0xa)+-parseInt(f(0x6c))/0xb*(parseInt(f(0xa4))/0xc)+-parseInt(f(0x97))/0xd*(-parseInt(f(0x6a))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x2b22f));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x86)]()[h(0x75)](h(0x95))[h(0x86)]()[h(0x69)](a53a)[h(0x75)](h(0x95));});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x65;let f=c[d];return f;},a53d(a,b);}function a53c(){const u=['logger','write','roomA','addExit','toString','east','DOWN','1423122uVCLDG','SOUTH','Puzzle\x20set\x20for\x20room\x20','Item\x20removed\x20from\x20room\x20','getInstance','removeItem','attemptUnlock','exits','hasItem','getOppositeDirection','addItem','inventory','(((.+)+)+)+$','description','65DgnPiQ','findExistingDoor','isStartRoom','12nnygrm','5NdXuPU','6909RYSWhk','INSIDE','apply','39448EgYdJg','\x20remains\x20locked.','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','\x20is\x20locked.\x20Result:\x20','roomType','540588bxIbCU','EAST','get','south','Invalid\x20direction:\x20','roomB','constructor','533274FwBTCe','600xwyJdM','66ryLPfx','The\x20','1370hAiprQ','getExit','Item\x20added\x20to\x20room\x20','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','west','emit','177giLncJ','search','WEST','4869SuhMxD','4692fmKWKW','attemptUnlockExit','NORTH','set','name','speak','down','puzzle','setPuzzle','No\x20locked\x20exit\x20found\x20in\x20direction\x20'];a53c=function(){return u;};return a53c();}export class Room extends AbstractRoom{[a53i(0x82)]=Logger[a53i(0x8d)]();[a53i(0x7c)];[a53i(0x96)];[a53i(0x90)]=new Map();[a53i(0xa3)];[a53i(0x99)];[a53i(0x94)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x7c)]=a[j(0x7c)],this['description']=a[j(0x96)],this['roomType']=a[j(0xa3)]||RoomType[j(0x9d)],a[j(0x90)]&&(this[j(0x90)]=a['exits']||new Map()),a[j(0x94)]&&(this[j(0x94)]=a[j(0x94)]),a['puzzle']&&(this[j(0x7f)]=a[j(0x7f)]),this[j(0x99)]=a[j(0x99)]||![],this[j(0x82)][j(0x83)]('Room\x20created:\x20'+this['name']);}['say'](a,b){const k=a53i;this[k(0x73)](k(0x7d),a,b);}[a53i(0x85)](a,b,c){const l=a53i;let d=this[l(0x98)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x90)][l(0x7b)](a,d),b[l(0x90)][l(0x7b)](this[l(0x92)](a),d);}[a53i(0x79)](a,b){const m=a53i,c=this[m(0x90)][m(0x65)](a);if(c instanceof Door){const d=c[m(0x8f)](b);return this[m(0x82)][m(0x83)](m(0xa1)+a+'.\x20Success:\x20'+d),d?m(0x6d)+c[m(0x7c)]+'\x20unlocked!':m(0x6d)+c['name']+m(0xa0);}return this['logger'][m(0x83)](m(0x81)+a),m(0x71);}[a53i(0x6f)](a){const n=a53i;return this['logger'][n(0x83)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0x90)][n(0x65)](a);}['isExitLocked'](a){const o=a53i,b=this[o(0x90)][o(0x65)](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0x82)][o(0x83)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0xa2)+c),c;}[a53i(0x93)](a){const p=a53i;this[p(0x94)]['addItem'](a),this[p(0x82)][p(0x83)](p(0x70)+this[p(0x7c)]+':\x20'+a[p(0x7c)]);}[a53i(0x8e)](a){const q=a53i;this['inventory'][q(0x91)](a[q(0x7c)])?(this['inventory'][q(0x8e)](a[q(0x7c)]),this['logger'][q(0x83)](q(0x8c)+this[q(0x7c)]+':\x20'+a['name'])):this['logger'][q(0x83)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this['name']+':\x20'+a[q(0x7c)]);}[a53i(0x80)](a){const r=a53i;this['puzzle']=a,this['logger'][r(0x83)](r(0x8b)+this[r(0x7c)]+':\x20'+a['riddle']);}[a53i(0x92)](a){const s=a53i;switch(a){case'north':return Direction[s(0x8a)];case s(0x66):return Direction[s(0x7a)];case s(0x87):return Direction[s(0x76)];case s(0x72):return Direction[s(0xa5)];case'up':return Direction[s(0x88)];case s(0x7e):return Direction['UP'];default:throw new Error(s(0x67)+a);}}['findExistingDoor'](a){const t=a53i;for(const b of this[t(0x90)]['values']()){if(b instanceof Door){if(b[t(0x84)]===this&&b[t(0x68)]===a||b[t(0x68)]===this&&b[t(0x84)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a54l=a54d;function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0xf5;let f=c[d];return f;},a54d(a,b);}(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x10e))/0x1*(-parseInt(i(0x125))/0x2)+-parseInt(i(0x142))/0x3*(parseInt(i(0x116))/0x4)+parseInt(i(0x11c))/0x5*(-parseInt(i(0x10c))/0x6)+-parseInt(i(0x13a))/0x7*(-parseInt(i(0x147))/0x8)+-parseInt(i(0x14a))/0x9*(parseInt(i(0x111))/0xa)+-parseInt(i(0x130))/0xb*(parseInt(i(0x136))/0xc)+-parseInt(i(0x126))/0xd*(-parseInt(i(0x101))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x64bc1));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a['toString']()[k(0x10a)]('(((.+)+)+)+$')[k(0x12f)]()[k(0x131)](a54a)[k(0x10a)](k(0x141));});a54a();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 a54c(){const D=['667372lhIIFh','214019lldSRF','keyRequired','warn','get','addItem','getPlayer','hasOwnProperty','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','Failed\x20to\x20add\x20item\x20','toString','59213XPeVob','constructor','actors','name','.\x20Room\x20','values','12mSWEhy','direction','Room\x20\x22','roomFactory','7Mbefai','keys','\x22\x20does\x20not\x20exist.','Added\x20item\x20','logger','join','createExitsFromConfig','(((.+)+)+)+$','37173HNenTq','write','set','delete','addExit','3150416afGqzQ','getCharacterLocation','removeRoom','105597mvIOgz','push','\x20is\x20now\x20in\x20room\x20','No\x20actor\x20with\x20name\x20','getActor','has','Added\x20puzzle\x20to\x20room\x20','setCharacterLocation','apply','connectRooms','length','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','Failed\x20to\x20add\x20puzzle.\x20Room\x20','1036mIamSH','\x27s\x20location.\x20Room\x20','Failed\x20to\x20set\x20','roomConfiguration','exits','\x20found\x20in\x20the\x20scene.','addActor','addItemToRoom','characterLocations','search','Scene\x20initialized\x20with\x20rooms:\x20','8724fQnZTE','\x20to\x20room\x20','1CinbDs','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','\x20not\x20found\x20in\x20scene.','60CwWZEz','rooms','addPuzzleToRoom','currentLocation','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','240fopqIi','allActors','toUpperCase','addRoom','removeActor','Removed\x20room\x20from\x20scene:\x20','160VryVwG','setPuzzle','player','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','generateRoomsFromConfig','from','initialize','isStartRoom','determineStartRoom'];a54c=function(){return D;};return a54c();}export class Scene extends AbstractScene{[a54l(0x112)];[a54l(0x11e)];[a54l(0x13e)];[a54l(0x132)];['characterLocations']=new Map();[a54l(0x139)];constructor(a){const m=a54l;super(),this['roomFactory']=new RoomFactory(),this[m(0x11e)]=a[m(0x11e)],this[m(0x112)]=this[m(0x120)](a['roomConfiguration']),this[m(0x13e)]=Logger['getInstance'](),this[m(0x132)]=new Map(),this[m(0x140)](a[m(0x104)]),this[m(0x13e)][m(0x143)](m(0x10b)+Object[m(0x13b)](this[m(0x112)])[m(0x13f)](',\x20'));}[a54l(0x122)](){const n=a54l;this[n(0x11e)][n(0x114)]=this['determineStartRoom']();}[a54l(0x120)](a){const o=a54l;if(!this[o(0x139)])throw new Error(o(0x10f));const b={};for(const c of a){const d=this['roomFactory']['createRoom'](c);b[c[o(0x133)]]=d;}return b;}[a54l(0x140)](a){const p=a54l;for(const b of a){const c=this['rooms'][b[p(0x133)]];if(b[p(0x105)])for(const d of b['exits']){const e=d[p(0x137)][p(0x118)](),f=d['targetRoom'],g=d[p(0x127)],h=this[p(0x112)][f];h&&c[p(0x146)](Direction[e],h,g);}}}[a54l(0x107)](a){const q=a54l;if(this['actors']['has'](a[q(0x133)]))throw new Error('Actor\x20with\x20name\x20'+a[q(0x133)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x132)]['set'](a[q(0x133)],a);}[a54l(0x11a)](a){const r=a54l;if(!this[r(0x132)][r(0xf9)](a))throw new Error(r(0xf7)+a+r(0x106));this[r(0x132)][r(0x145)](a);}[a54l(0xf8)](a){const s=a54l;return this['actors'][s(0x129)](a);}get[a54l(0x117)](){const t=a54l;return Array[t(0x121)](this[t(0x132)][t(0x135)]());}[a54l(0x119)](a){const u=a54l;this[u(0x112)][a[u(0x133)]]=a,this['logger'][u(0x143)]('Added\x20room\x20to\x20scene:\x20'+a[u(0x133)]);}[a54l(0x149)](a){const v=a54l;return this[v(0x112)][a]?(delete this[v(0x112)][a],this[v(0x13e)]['write'](v(0x11b)+a),!![]):(this[v(0x13e)]['write'](v(0xff)+a),![]);}[a54l(0x108)](a,b){const w=a54l,c=this[w(0x112)][b];c?(c[w(0x12a)](a),this[w(0x13e)][w(0x143)](w(0x13d)+a[w(0x133)]+w(0x10d)+c[w(0x133)])):this[w(0x13e)][w(0x143)](w(0x12e)+a[w(0x133)]+w(0x134)+b+w(0x110));}[a54l(0x113)](a,b){const x=a54l,c=this['rooms'][b];c?(c[x(0x11d)](a),this['logger']['write'](x(0xfa)+c['name'])):this['logger']['write'](x(0x100)+b+x(0x110));}[a54l(0xfb)](a,b){const y=a54l,c=this[y(0x112)][b];c?(this[y(0x109)][y(0x144)](a[y(0x133)],c),this['logger'][y(0x143)](a['name']+y(0xf6)+c[y(0x133)])):this[y(0x13e)][y(0x143)](y(0x103)+a['name']+y(0x102)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x148)](a){const z=a54l;return this['characterLocations']['get'](a[z(0x133)]);}[a54l(0x124)](){const A=a54l,a=[];for(const c in this[A(0x112)]){if(this[A(0x112)][A(0x12c)](c)){const d=this[A(0x112)][c];d[A(0x123)]&&a[A(0xf5)](d);}}if(a['length']>0x1)throw new Error(A(0x11f));if(a['length']===0x1)return a[0x0];const b=Object[A(0x13b)](this[A(0x112)]);if(b[A(0xfe)]===0x0)throw new Error(A(0x115));return console[A(0x128)](A(0x12d)),this['rooms'][b[0x0]];}[a54l(0x12b)](){const B=a54l;return this[B(0x11e)];}['getRooms'](){return this['rooms'];}[a54l(0xfd)](a,b,c,d){const C=a54l,e=this[C(0x112)][a],f=this['rooms'][c];if(!e)throw new Error(C(0x138)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(C(0x138)+c+C(0x13c));e[C(0x146)](b,f,d);}}
1
+ const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x14f))/0x1*(-parseInt(i(0x16e))/0x2)+-parseInt(i(0x186))/0x3+-parseInt(i(0x15f))/0x4+-parseInt(i(0x16c))/0x5+-parseInt(i(0x15c))/0x6*(parseInt(i(0x16a))/0x7)+-parseInt(i(0x167))/0x8*(parseInt(i(0x178))/0x9)+parseInt(i(0x190))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x886af));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x153)]()[k(0x175)](k(0x155))[k(0x153)]()[k(0x182)](a54a)[k(0x175)](k(0x155));});a54a();function a54c(){const E=['player','connectRooms','addItemToRoom','5WPZULq','Room\x20\x22','Failed\x20to\x20add\x20item\x20','write','toString','\x20already\x20exists\x20in\x20the\x20scene.','(((.+)+)+)+$','Scene\x20initialized\x20with\x20rooms:\x20','allActors','characterLocations','get','warn','name','30OyyVWC','getPlayer','delete','4113244xpreBc','keys','rooms','Removed\x20room\x20from\x20scene:\x20','toUpperCase','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','getInstance','addExit','298168fCHRBL','has','length','498918UiDJwB','Added\x20item\x20','748080eDngva','getCharacterLocation','388974jIZZnn','\x20found\x20in\x20the\x20scene.','No\x20actor\x20with\x20name\x20','setPuzzle','createExitsFromConfig','join','removeRoom','search','exits','determineStartRoom','171ZyVAIU','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','\x20is\x20now\x20in\x20room\x20','addPuzzleToRoom','getRooms','getActor','removeActor','addRoom','\x20to\x20room\x20','initialize','constructor','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','apply','addItem','2889885gmucNk','logger','\x20not\x20found\x20in\x20scene.','push','Failed\x20to\x20set\x20','actors','set','from','roomConfiguration','\x22\x20does\x20not\x20exist.','47369430QrttMc','keyRequired','createRoom','generateRoomsFromConfig','Added\x20puzzle\x20to\x20room\x20','Actor\x20with\x20name\x20','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','direction'];a54c=function(){return E;};return a54c();}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x14a;let f=c[d];return f;},a54d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];[a54l(0x14c)];[a54l(0x187)];['actors'];[a54l(0x158)]=new Map();['roomFactory'];constructor(a){const m=a54l;super(),this['roomFactory']=new RoomFactory(),this[m(0x14c)]=a[m(0x14c)],this[m(0x161)]=this[m(0x193)](a[m(0x18e)]),this[m(0x187)]=Logger[m(0x165)](),this[m(0x18b)]=new Map(),this[m(0x172)](a[m(0x18e)]),this[m(0x187)][m(0x152)](m(0x156)+Object[m(0x160)](this[m(0x161)])[m(0x173)](',\x20'));}[a54l(0x181)](){const n=a54l;this[n(0x14c)]['currentLocation']=this[n(0x177)]();}[a54l(0x193)](a){const o=a54l;if(!this['roomFactory'])throw new Error(o(0x164));const b={};for(const c of a){const d=this['roomFactory'][o(0x192)](c);b[c[o(0x15b)]]=d;}return b;}[a54l(0x172)](a){const p=a54l;for(const b of a){const c=this[p(0x161)][b[p(0x15b)]];if(b[p(0x176)])for(const d of b[p(0x176)]){const e=d[p(0x14b)][p(0x163)](),f=d['targetRoom'],g=d[p(0x191)],h=this[p(0x161)][f];h&&c[p(0x166)](Direction[e],h,g);}}}['addActor'](a){const q=a54l;if(this['actors'][q(0x168)](a['name']))throw new Error(q(0x195)+a[q(0x15b)]+q(0x154));this[q(0x18b)][q(0x18c)](a[q(0x15b)],a);}[a54l(0x17e)](a){const r=a54l;if(!this['actors'][r(0x168)](a))throw new Error(r(0x170)+a+r(0x16f));this['actors'][r(0x15e)](a);}[a54l(0x17d)](a){const s=a54l;return this[s(0x18b)][s(0x159)](a);}get[a54l(0x157)](){const t=a54l;return Array[t(0x18d)](this[t(0x18b)]['values']());}[a54l(0x17f)](a){const u=a54l;this['rooms'][a['name']]=a,this['logger'][u(0x152)]('Added\x20room\x20to\x20scene:\x20'+a[u(0x15b)]);}[a54l(0x174)](a){const v=a54l;return this[v(0x161)][a]?(delete this[v(0x161)][a],this[v(0x187)][v(0x152)](v(0x162)+a),!![]):(this[v(0x187)]['write']('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}[a54l(0x14e)](a,b){const w=a54l,c=this['rooms'][b];c?(c[w(0x185)](a),this[w(0x187)][w(0x152)](w(0x16b)+a[w(0x15b)]+w(0x180)+c[w(0x15b)])):this[w(0x187)][w(0x152)](w(0x151)+a[w(0x15b)]+'.\x20Room\x20'+b+w(0x188));}[a54l(0x17b)](a,b){const x=a54l,c=this['rooms'][b];c?(c[x(0x171)](a),this[x(0x187)][x(0x152)](x(0x194)+c[x(0x15b)])):this['logger'][x(0x152)]('Failed\x20to\x20add\x20puzzle.\x20Room\x20'+b+x(0x188));}['setCharacterLocation'](a,b){const y=a54l,c=this['rooms'][b];c?(this[y(0x158)][y(0x18c)](a['name'],c),this[y(0x187)][y(0x152)](a[y(0x15b)]+y(0x17a)+c[y(0x15b)])):this['logger'][y(0x152)](y(0x18a)+a['name']+'\x27s\x20location.\x20Room\x20'+b+y(0x188));}[a54l(0x16d)](a){const z=a54l;return this['characterLocations'][z(0x159)](a[z(0x15b)]);}['determineStartRoom'](){const A=a54l,a=[];for(const c in this[A(0x161)]){if(this['rooms']['hasOwnProperty'](c)){const d=this[A(0x161)][c];d['isStartRoom']&&a[A(0x189)](d);}}if(a['length']>0x1)throw new Error(A(0x14a));if(a[A(0x169)]===0x1)return a[0x0];const b=Object['keys'](this[A(0x161)]);if(b[A(0x169)]===0x0)throw new Error(A(0x183));return console[A(0x15a)](A(0x179)),this[A(0x161)][b[0x0]];}[a54l(0x15d)](){const B=a54l;return this[B(0x14c)];}[a54l(0x17c)](){const C=a54l;return this[C(0x161)];}[a54l(0x14d)](a,b,c,d){const D=a54l,e=this[D(0x161)][a],f=this[D(0x161)][c];if(!e)throw new Error(D(0x150)+a+D(0x18f));if(!f)throw new Error('Room\x20\x22'+c+D(0x18f));e['addExit'](b,f,d);}}