@maka/maka-cli 4.9.10 → 4.9.11

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 (150) hide show
  1. package/bundle/obf/package.json +1 -2
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/patreon.js +1 -1
  84. package/bundle/obf/src/commands/proxy.js +1 -1
  85. package/bundle/obf/src/commands/reconfig.js +1 -1
  86. package/bundle/obf/src/commands/register.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/undo.js +1 -1
  98. package/bundle/obf/src/commands/version.js +1 -1
  99. package/bundle/obf/src/error.js +1 -1
  100. package/bundle/obf/src/exec.js +1 -1
  101. package/bundle/obf/src/generator.js +1 -1
  102. package/bundle/obf/src/generators/_index.js +1 -1
  103. package/bundle/obf/src/generators/api.js +1 -1
  104. package/bundle/obf/src/generators/collection.js +1 -1
  105. package/bundle/obf/src/generators/component.js +1 -1
  106. package/bundle/obf/src/generators/config.js +1 -1
  107. package/bundle/obf/src/generators/dbc.js +1 -1
  108. package/bundle/obf/src/generators/dockerfile.js +1 -1
  109. package/bundle/obf/src/generators/hook.js +1 -1
  110. package/bundle/obf/src/generators/kits/_index.js +1 -1
  111. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  112. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  113. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/kit.js +1 -1
  115. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  117. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  118. package/bundle/obf/src/generators/layout.js +1 -1
  119. package/bundle/obf/src/generators/maka.gen.js +1 -1
  120. package/bundle/obf/src/generators/methods.js +1 -1
  121. package/bundle/obf/src/generators/package.js +1 -1
  122. package/bundle/obf/src/generators/page.js +1 -1
  123. package/bundle/obf/src/generators/publish.js +1 -1
  124. package/bundle/obf/src/generators/route.js +1 -1
  125. package/bundle/obf/src/generators/service.js +1 -1
  126. package/bundle/obf/src/generators/services/_index.js +1 -1
  127. package/bundle/obf/src/generators/services/openssl.js +1 -1
  128. package/bundle/obf/src/generators/services/translation.js +1 -1
  129. package/bundle/obf/src/maka.js +1 -1
  130. package/bundle/obf/src/templates/meteor/project/package.json +1 -1
  131. package/bundle/obf/src/tool.js +1 -1
  132. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  133. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  134. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  136. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  137. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  138. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  139. package/bundle/obf/src/tools/https/https.class.js +1 -1
  140. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  141. package/bundle/obf/src/tools/log/log.class.js +1 -1
  142. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  143. package/bundle/obf/src/tools/options/options.class.js +1 -1
  144. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  145. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  146. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  148. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  150. package/package.json +1 -2
@@ -1 +1 @@
1
- const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=-parseInt(g(0x16e))/0x1+parseInt(g(0x176))/0x2+-parseInt(g(0x189))/0x3*(-parseInt(g(0x186))/0x4)+-parseInt(g(0x17b))/0x5*(parseInt(g(0x17c))/0x6)+-parseInt(g(0x179))/0x7*(-parseInt(g(0x185))/0x8)+-parseInt(g(0x17e))/0x9+-parseInt(g(0x177))/0xa*(parseInt(g(0x17f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xd522c));function a36c(){const l=['description','name','279333jJFZhH','allActors','scene','\x20says\x20to\x20','filter','apply','What\x20do\x20you\x20want\x20to\x20say?','You\x20say:\x20\x22','2525392HquKic','10tTZrEE','currentLocation','12159EdDMND','verb','5lMRDmV','1904166kFPkQQ','context','1272366FqscWl','25999699XqdRQL','actor','logger','log','An\x20error\x20occurred.','search','5752aVhoGi','12RVlBGT','(((.+)+)+)+$','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','1463082ddQfvU','toString',':\x20\x22'];a36c=function(){return l;};return a36c();}const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a[i(0x16a)]()[i(0x184)]('(((.+)+)+)+$')[i(0x16a)]()['constructor'](a36a)[i(0x184)](i(0x187));});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x16a;let f=c[d];return f;},a36d(a,b);}a36a();import{Command}from'./command.js';export class SayCommand extends Command{static [a36j(0x17a)]='say';static [a36j(0x16c)]=a36j(0x188);[a36j(0x17d)];constructor(a){super(a),this['context']=a;}['execute'](a){const k=a36j;if(a['length']===0x0)return k(0x174);const b=a['join']('\x20'),c=this[k(0x180)],d=this[k(0x17d)][k(0x170)];if(!d)return this[k(0x181)][k(0x182)]('Scene\x20is\x20missing\x20from\x20context.'),k(0x183);const e=d[k(0x16f)][k(0x172)](f=>f['currentLocation']===c['currentLocation']);for(const f of e){this[k(0x181)][k(0x182)](c[k(0x16d)]+k(0x171)+f['name']+k(0x16b)+b+'\x22'),this[k(0x180)][k(0x178)]['say'](f,b);}return k(0x175)+b+'\x22';}}
1
+ const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=-parseInt(g(0x15c))/0x1*(parseInt(g(0x16e))/0x2)+parseInt(g(0x174))/0x3+-parseInt(g(0x157))/0x4*(parseInt(g(0x162))/0x5)+parseInt(g(0x16d))/0x6*(-parseInt(g(0x158))/0x7)+parseInt(g(0x15b))/0x8*(parseInt(g(0x15e))/0x9)+-parseInt(g(0x169))/0xa+parseInt(g(0x15d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xe4052));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0x179)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a[i(0x163)]()[i(0x160)](i(0x15f))[i(0x163)]()[i(0x165)](a36a)[i(0x160)]('(((.+)+)+)+$');});function a36c(){const m=['verb','6uStlsW','2DXSWxR','currentLocation','Scene\x20is\x20missing\x20from\x20context.','logger','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','execute','1925679HvewyR',':\x20\x22','What\x20do\x20you\x20want\x20to\x20say?','say','context','apply','join','scene','1856840HZSsmW','3957443YIPBVF','description','\x20says\x20to\x20','1096fNaQns','52112fQNUtF','22371965dkFWXC','58932tLSVvd','(((.+)+)+)+$','search','length','5ughrxg','toString','allActors','constructor','actor','An\x20error\x20occurred.','filter','15571430ndwOnA','name','You\x20say:\x20\x22'];a36c=function(){return m;};return a36c();}a36a();import{Command}from'./command.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x156;let f=c[d];return f;},a36d(a,b);}export class SayCommand extends Command{static [a36j(0x16c)]=a36j(0x177);static [a36j(0x159)]=a36j(0x172);[a36j(0x178)];constructor(a){const k=a36j;super(a),this[k(0x178)]=a;}[a36j(0x173)](a){const l=a36j;if(a[l(0x161)]===0x0)return l(0x176);const b=a[l(0x17a)]('\x20'),c=this[l(0x166)],d=this[l(0x178)][l(0x156)];if(!d)return this[l(0x171)]['log'](l(0x170)),l(0x167);const e=d[l(0x164)][l(0x168)](f=>f[l(0x16f)]===c[l(0x16f)]);for(const f of e){this['logger']['log'](c[l(0x16a)]+l(0x15a)+f[l(0x16a)]+l(0x175)+b+'\x22'),this[l(0x166)][l(0x16f)][l(0x177)](f,b);}return l(0x16b)+b+'\x22';}}
@@ -1 +1 @@
1
- const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0xd4))/0x1*(-parseInt(f(0xdd))/0x2)+-parseInt(f(0xd2))/0x3*(-parseInt(f(0xce))/0x4)+parseInt(f(0xd6))/0x5+-parseInt(f(0xe1))/0x6+-parseInt(f(0xe4))/0x7*(parseInt(f(0xd9))/0x8)+parseInt(f(0xd8))/0x9+-parseInt(f(0xdf))/0xa*(-parseInt(f(0xe2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x7d05f));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()[h(0xe6)](h(0xdb))[h(0xda)]()['constructor'](a37a)[h(0xe6)](h(0xdb));});a37a();import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xce;let f=c[d];return f;},a37d(a,b);}export class SearchCommand extends Command{static [a37i(0xe5)]='search';static [a37i(0xd0)]='Search\x20for\x20items\x20in\x20your\x20area';[a37i(0xde)](){const j=a37i,a=this[j(0xea)][j(0xdc)]['inventory'][j(0xd5)]();if(a[j(0xe9)]===0x0)return this[j(0xe7)][j(0xd7)](j(0xe3)+this[j(0xea)]['name']+j(0xcf)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0xd3)](',\x20');return this['logger'][j(0xd7)](j(0xe3)+this[j(0xea)][j(0xe0)]+j(0xe8)+b),j(0xd1)+b;}}function a37c(){const k=['\x20found\x20the\x20following\x20items:\x20','length','actor','apply','40ZUjDLc','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','description','You\x20search\x20the\x20area\x20and\x20find:\x20','50097JfgOJa','join','425QfHUnh','listItems','986295uAwXum','write','7444737IdZGug','64vUPWos','toString','(((.+)+)+)+$','currentLocation','314MZzwqe','execute','437350HUTTNc','name','5645988OhIGcZ','88BYNQQK','SearchCommand:\x20','18816eomaSZ','verb','search','logger'];a37c=function(){return k;};return a37c();}
1
+ const a37i=a37d;function a37c(){const k=['\x20found\x20the\x20following\x20items:\x20','write','constructor','apply','currentLocation','SearchCommand:\x20','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','listItems','description','(((.+)+)+)+$','1757931OqpYrv','Search\x20for\x20items\x20in\x20your\x20area','execute','12DcFMUT','search','7IWQMli','verb','actor','7841072XOLDLp','1639440KAcAuZ','You\x20search\x20the\x20area\x20and\x20find:\x20','3038448QKQJFl','join','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','109433XxRFHU','inventory','14433012vLRZDk','330795tpmljk','name'];a37c=function(){return k;};return a37c();}function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xfd;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x112))/0x1*(-parseInt(f(0x107))/0x2)+parseInt(f(0x104))/0x3+parseInt(f(0x10d))/0x4+parseInt(f(0x115))/0x5+-parseInt(f(0x10f))/0x6+-parseInt(f(0x109))/0x7*(-parseInt(f(0x10c))/0x8)+-parseInt(f(0x114))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x8fb6c));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xfd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a['toString']()[h(0x108)](h(0x103))['toString']()[h(0x119)](a37a)[h(0x108)](h(0x103));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x10a)]=a37i(0x108);static [a37i(0x102)]=a37i(0x105);[a37i(0x106)](){const j=a37i,a=this[j(0x10b)][j(0xfe)][j(0x113)][j(0x101)]();if(a['length']===0x0)return this['logger'][j(0x118)](j(0xff)+this[j(0x10b)][j(0x116)]+j(0x100)),j(0x111);const b=a[j(0x110)](',\x20');return this['logger']['write']('SearchCommand:\x20'+this[j(0x10b)][j(0x116)]+j(0x117)+b),j(0x10e)+b;}}
@@ -1 +1 @@
1
- function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xf3;let f=c[d];return f;},a38d(a,b);}function a38c(){const k=['28128hzMXiu','2RFMHHF','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','constructor','puzzle','verb','rewardItem','(((.+)+)+)+$','inventory','apply','addItem','description','write','logger','432596oJUXBv','success','toString','actor','4231870DUXdXg','727836KhtwhL','execute','8yqHlWp','879993YhbINc','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','Attempt\x20to\x20solve\x20a\x20puzzle.','19812UAqVle','40pvlkcR','SolveCommand:\x20','solve','812546KnxHdD','search'];a38c=function(){return k;};return a38c();}const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x110))/0x1*(parseInt(f(0xf8))/0x2)+-parseInt(f(0x10a))/0x3+parseInt(f(0x105))/0x4+parseInt(f(0x111))/0x5*(parseInt(f(0xf7))/0x6)+-parseInt(f(0xf5))/0x7+-parseInt(f(0x10c))/0x8*(parseInt(f(0x10d))/0x9)+parseInt(f(0x109))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x20459));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x100)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x107)]()[h(0xf6)](h(0xfe))[h(0x107)]()[h(0xfa)](a38a)[h(0xf6)](h(0xfe));});a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0xfc)]=a38i(0xf4);static [a38i(0x102)]=a38i(0x10f);[a38i(0x10b)](a){const j=a38i,b=a['join']('\x20')['toLowerCase'](),c=this[j(0x108)]['currentLocation'];if(!c||!c[j(0xfb)])return this[j(0x104)]['write'](j(0xf9)),j(0x10e);const d=c['puzzle'][j(0xf4)](b,this['actor'][j(0xff)]);return d[j(0x106)]&&c[j(0xfb)][j(0xfd)]&&this['actor'][j(0xff)][j(0x101)](c[j(0xfb)][j(0xfd)]),this[j(0x104)][j(0x103)](j(0xf3)+d['message']),d['message'];}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x124))/0x1+parseInt(f(0x11c))/0x2*(parseInt(f(0x11f))/0x3)+parseInt(f(0x117))/0x4*(parseInt(f(0x115))/0x5)+parseInt(f(0x10a))/0x6+parseInt(f(0x11e))/0x7+parseInt(f(0x10f))/0x8*(parseInt(f(0x123))/0x9)+-parseInt(f(0x127))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x75038));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a['toString']()[h(0x109)](h(0x112))[h(0x10c)]()[h(0x125)](a38a)[h(0x109)](h(0x112));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x108;let f=c[d];return f;},a38d(a,b);}function a38c(){const k=['apply','message','238715LYWvrC','addItem','4DsfUav','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','SolveCommand:\x20','inventory','Attempt\x20to\x20solve\x20a\x20puzzle.','1106fEqmIU','description','4552835xNcXDw','2235kdicdF','logger','verb','actor','141597GtEons','193347UxkFsi','constructor','currentLocation','15566430oMoesl','success','solve','search','901980AgNhMG','execute','toString','rewardItem','write','296rHjJjZ','puzzle','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','(((.+)+)+)+$'];a38c=function(){return k;};return a38c();}a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x121)]='solve';static [a38i(0x11d)]=a38i(0x11b);[a38i(0x10b)](a){const j=a38i,b=a['join']('\x20')['toLowerCase'](),c=this[j(0x122)][j(0x126)];if(!c||!c[j(0x110)])return this[j(0x120)]['write'](j(0x118)),j(0x111);const d=c[j(0x110)][j(0x108)](b,this['actor'][j(0x11a)]);return d[j(0x128)]&&c[j(0x110)][j(0x10d)]&&this[j(0x122)]['inventory'][j(0x116)](c[j(0x110)][j(0x10d)]),this[j(0x120)][j(0x10e)](j(0x119)+d[j(0x114)]),d['message'];}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x81))/0x1*(-parseInt(f(0xa9))/0x2)+-parseInt(f(0x7e))/0x3+parseInt(f(0xa4))/0x4+-parseInt(f(0x92))/0x5+-parseInt(f(0x9a))/0x6+parseInt(f(0x86))/0x7+-parseInt(f(0x80))/0x8*(parseInt(f(0x90))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xe11b9));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x98)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x8b)]()[h(0xa8)](h(0xa1))['toString']()[h(0x8e)](a39a)['search'](h(0xa1));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x7e;let f=c[d];return f;},a39d(a,b);}a39a();function a39c(){const l=['\x22\x20in\x20this\x20room.','execute','apply','logger','6151650QEhuhJ','description','Error\x20during\x20\x27Take\x27\x20command:\x20','name','currentLocation','The\x20item\x20\x22','addInventory','(((.+)+)+)+$','\x20during\x20\x27Take\x27\x20command.','Successfully\x20added\x20\x22','7230592rQqcMT','take','\x22\x20to\x20','actor','search','2VBPKFT','4569051WJhOjs','\x22\x20not\x20retrieved\x20from\x20','1949896AjvwOk','333843vdPXoa','message','inventory','You\x20have\x20taken\x20the\x20','Successfully\x20removed\x20\x22','12462779nGBuvA','Pick\x20up\x20an\x20item.','\x22\x20is\x20too\x20heavy\x20to\x20carry.','Item\x20\x22','join','toString','toLowerCase','removeItem','constructor','hasItem','9iRywuX','write','1039090srcOns','\x22\x20not\x20found\x20in\x20','verb','There\x20is\x20no\x20item\x20\x22'];a39c=function(){return l;};return a39c();}import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0x94)]=a39i(0xa5);static [a39i(0x9b)]=a39i(0x87);[a39i(0x97)](a){const j=a39i;return this[j(0x99)][j(0x91)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x8a)]('\x20')),this[j(0xa5)](a);}['take'](a){const k=a39i,b=a[k(0x8a)]('\x20')[k(0x8c)](),c=this['actor'][k(0x9e)];if(!c[k(0x83)][k(0x8f)](b))return this[k(0x99)]['write'](k(0x89)+b+k(0x93)+c[k(0x9d)]+k(0xa2)),k(0x95)+b+k(0x96);const d=c[k(0x83)]['getItem'](b);if(!d)return this['logger']['write'](k(0x89)+b+k(0x7f)+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+k(0x96);try{return this[k(0xa7)][k(0xa0)](d),this[k(0x99)]['write'](k(0xa3)+b+k(0xa6)+this[k(0xa7)][k(0x9d)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0x83)][k(0x8d)](b),this[k(0x99)][k(0x91)](k(0x85)+b+'\x22\x20from\x20'+c['name']+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),k(0x84)+b+'.';}catch(e){return this[k(0x99)][k(0x91)](k(0x9c)+e[k(0x82)]),k(0x9f)+b+k(0x88);}}}
1
+ const a39i=a39d;function a39c(){const l=['description','Pick\x20up\x20an\x20item.','message','18vitknG','The\x20item\x20\x22','addInventory','logger','Item\x20\x22','currentLocation','964qkOVWe','940FLMFUs','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','2220RdUNHF','take','constructor','toLowerCase','(((.+)+)+)+$','write','hasItem','getItem','\x22\x20in\x20this\x20room.','21968SIergI','7370poejZJ','join','name','1169271llsUrx','toString','2424rzcpBd','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x22\x20from\x20','\x20during\x20\x27Take\x27\x20command.','There\x20is\x20no\x20item\x20\x22','\x22\x20not\x20retrieved\x20from\x20','actor','removeItem','182315RKIZDK','inventory','execute','\x22\x20is\x20too\x20heavy\x20to\x20carry.','search','5257HUCNGd','Successfully\x20removed\x20\x22','\x22\x20not\x20found\x20in\x20','30ELRVwK','verb','Error\x20during\x20\x27Take\x27\x20command:\x20','8940384GfkTeC','apply'];a39c=function(){return l;};return a39c();}(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x1ad))/0x1*(parseInt(f(0x1bf))/0x2)+-parseInt(f(0x1b6))/0x3*(-parseInt(f(0x1b3))/0x4)+parseInt(f(0x1cd))/0x5*(-parseInt(f(0x1a5))/0x6)+-parseInt(f(0x1d2))/0x7*(parseInt(f(0x1c5))/0x8)+-parseInt(f(0x1c3))/0x9+-parseInt(f(0x1b4))/0xa*(parseInt(f(0x1c0))/0xb)+parseInt(f(0x1a8))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x1e00d));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a['toString']()[h(0x1d1)](h(0x1ba))[h(0x1c4)]()[h(0x1b8)](a39a)[h(0x1d1)](h(0x1ba));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1a4;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0x1a6)]=a39i(0x1b7);static [a39i(0x1aa)]=a39i(0x1ab);[a39i(0x1cf)](a){const j=a39i;return this['logger'][j(0x1bb)](j(0x1b5)+a[j(0x1c1)]('\x20')),this[j(0x1b7)](a);}[a39i(0x1b7)](a){const k=a39i,b=a[k(0x1c1)]('\x20')[k(0x1b9)](),c=this[k(0x1cb)][k(0x1b2)];if(!c[k(0x1ce)][k(0x1bc)](b))return this[k(0x1b0)][k(0x1bb)](k(0x1b1)+b+k(0x1a4)+c[k(0x1c2)]+k(0x1c8)),k(0x1c9)+b+k(0x1be);const d=c[k(0x1ce)][k(0x1bd)](b);if(!d)return this[k(0x1b0)][k(0x1bb)](k(0x1b1)+b+k(0x1ca)+c['name']+k(0x1c6)),k(0x1c9)+b+k(0x1be);try{return this['actor'][k(0x1af)](d),this[k(0x1b0)][k(0x1bb)]('Successfully\x20added\x20\x22'+b+'\x22\x20to\x20'+this[k(0x1cb)][k(0x1c2)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0x1ce)][k(0x1cc)](b),this[k(0x1b0)][k(0x1bb)](k(0x1d3)+b+k(0x1c7)+c[k(0x1c2)]+k(0x1c6)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this['logger']['write'](k(0x1a7)+e[k(0x1ac)]),k(0x1ae)+b+k(0x1d0);}}}
@@ -1 +1 @@
1
- function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x171;let f=c[d];return f;},a40d(a,b);}const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x179))/0x1+parseInt(f(0x172))/0x2+-parseInt(f(0x177))/0x3*(-parseInt(f(0x181))/0x4)+parseInt(f(0x171))/0x5+parseInt(f(0x178))/0x6*(parseInt(f(0x17f))/0x7)+parseInt(f(0x185))/0x8+-parseInt(f(0x17b))/0x9*(parseInt(f(0x18c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x97117));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0x184)]()[g(0x17a)](g(0x188))[g(0x184)]()[g(0x17d)](a40a)['search'](g(0x188));});a40a();function a40c(){const j=['execute','join','UnequipCommand:\x20','description','1713fShiEG','90mrkdQW','160464oNxpEd','search','91809zvZnRw','unqeuip','constructor','verb','291452DAhufs','unequip','936qujSdJ','logger','Unequip\x20an\x20item.','toString','1816576FCpMue','write','\x20unqeuiped\x20','(((.+)+)+)+$','actor','toLowerCase','name','1610qZtSEW','3301910sZmcQI','910128PmHdft'];a40c=function(){return j;};return a40c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40h(0x17e)]=a40h(0x17c);static [a40h(0x176)]=a40h(0x183);[a40h(0x173)](a){const i=a40h,b=a[i(0x174)]('\x20')[i(0x18a)](),c=this[i(0x189)][i(0x180)](b);return this[i(0x182)][i(0x186)](i(0x175)+this['actor'][i(0x18b)]+i(0x187)+c),c;}}
1
+ function a40c(){const j=['123683XkHeHd','659245iNcXkC','38529HypCcl','7951850JYHmVy','3xNBdWV','toLowerCase','2dzqqyc','282745PAOqwi','156erAiaD','(((.+)+)+)+$','3450684HMTBGR','verb','216todeTZ','Unequip\x20an\x20item.','unequip','constructor','join','99jfPvtN','execute','actor','description','toString','search','2598660qSaVyU'];a40c=function(){return j;};return a40c();}const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x87))/0x1*(parseInt(f(0x74))/0x2)+parseInt(f(0x8a))/0x3*(-parseInt(f(0x78))/0x4)+parseInt(f(0x75))/0x5+parseInt(f(0x76))/0x6*(-parseInt(f(0x86))/0x7)+parseInt(f(0x7a))/0x8*(parseInt(f(0x88))/0x9)+-parseInt(f(0x89))/0xa+-parseInt(f(0x7f))/0xb*(-parseInt(f(0x85))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xa1e56));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const g=a40d;return a40a[g(0x83)]()[g(0x84)](g(0x77))['toString']()[g(0x7d)](a40a)[g(0x84)](g(0x77));});a40a();import{Command}from'./command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x73;let f=c[d];return f;},a40d(a,b);}export class UnequipCommand extends Command{static [a40h(0x79)]='unqeuip';static [a40h(0x82)]=a40h(0x7b);[a40h(0x80)](a){const i=a40h,b=a[i(0x7e)]('\x20')[i(0x73)](),c=this[i(0x81)][i(0x7c)](b);return this['logger']['write']('UnequipCommand:\x20'+this['actor']['name']+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a41k=a41d;function a41c(){const m=['.\x20Result:\x20','4528GwYTPF','2826378uLNHQS','logger','Unlock\x20a\x20door.','(((.+)+)+)+$','UnlockCommand:\x20','execute','attemptUnlockExit','apply','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','3547986QpYzcf','has','error','description','UnlockCommand:\x20No\x20target\x20specified.','name','actor','currentLocation','isValidDirection','unlockItemOrSolution','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','toLowerCase','There\x27s\x20no\x20door\x20named\x20\x22','toString','write','3470pcfNkA','55ixMJkU','2585905OPKWsX','5714624TfOwWR','\x20is\x20attempted\x20to\x20unlock\x20','unlock','search','3175410lpwJXt','length','verb','inventory','constructor','\x22\x20here.','exits','1473BVUIUX','getItem'];a41c=function(){return m;};return a41c();}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0xb7))/0x1*(-parseInt(h(0xb6))/0x2)+-parseInt(h(0x99))/0x3*(-parseInt(h(0x9c))/0x4)+-parseInt(h(0xb8))/0x5+-parseInt(h(0xa7))/0x6+parseInt(h(0xbd))/0x7+parseInt(h(0xb9))/0x8+-parseInt(h(0x9d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x60d61));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0xb4)]()[j(0xbc)](j(0xa0))[j(0xb4)]()[j(0xc1)](a41a)['search'](j(0xa0));});a41a();import{Door}from'../models/door.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x98;let f=c[d];return f;},a41d(a,b);}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0xbf)]=a41k(0xbb);static [a41k(0xaa)]=a41k(0x9f);[a41k(0xa2)](a){return this['unlock'](a);}[a41k(0xbb)](a){const l=a41k;if(a[l(0xbe)]===0x0)return this['logger'][l(0xa9)](l(0xab)),l(0xa6);const b=a[0x0][l(0xb2)](),c=this[l(0xad)][l(0xae)];if(this[l(0xaf)](b)&&c[l(0x98)][l(0xa8)](b)){const d=c[l(0x98)]['get'](b);if(d instanceof Door){const e=d[l(0xb0)]?.[l(0xb2)]();if(e&&this[l(0xad)][l(0xc0)]['hasItem'](e)){const f=this[l(0xad)][l(0xc0)][l(0x9a)](e);if(f){const g=c[l(0xa3)](b,f[l(0xac)]);return this[l(0x9e)][l(0xb5)](l(0xa1)+this['actor'][l(0xac)]+l(0xba)+b+l(0x9b)+g),g;}}return this[l(0x9e)]['write'](l(0xa1)+this['actor']['name']+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),l(0xa5);}else return this['logger']['write'](l(0xa1)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[l(0xac)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+l(0xc2);}else return this[l(0x9e)][l(0xb5)](l(0xa1)+b+l(0xb1)+c[l(0xac)]+'.'),l(0xb3)+b+'\x22\x20here.';}}
1
+ const a41k=a41d;function a41c(){const n=['\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','search','4054fJUwTy','14701275lThsNN','unlockItemOrSolution','apply','execute','constructor','\x20is\x20attempted\x20to\x20unlock\x20','logger','error','977604pXzpoX','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','6SktmGn','39745rnBQPJ','unlock','write','14628970XwCEBH','attemptUnlockExit','UnlockCommand:\x20','actor','has','6963728inlnmF','7dLMrBa','name','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','.\x20Result:\x20','22quKlQp','description','UnlockCommand:\x20No\x20target\x20specified.','480FfycUi','779088DwpOfV','\x22\x20here.','isValidDirection','length','inventory','getItem','Unlock\x20a\x20door.','toLowerCase','verb','exits'];a41c=function(){return n;};return a41c();}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x170))/0x1*(parseInt(h(0x165))/0x2)+-parseInt(h(0x16e))/0x3+-parseInt(h(0x158))/0x4*(-parseInt(h(0x171))/0x5)+-parseInt(h(0x159))/0x6+-parseInt(h(0x17a))/0x7*(parseInt(h(0x179))/0x8)+-parseInt(h(0x166))/0x9+-parseInt(h(0x174))/0xa*(-parseInt(h(0x155))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xe3953));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()[j(0x164)]('(((.+)+)+)+$')['toString']()[j(0x16a)](a41a)['search']('(((.+)+)+)+$');});a41a();import{Door}from'../models/door.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x152;let f=c[d];return f;},a41d(a,b);}import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x161)]=a41k(0x172);static [a41k(0x156)]=a41k(0x15f);[a41k(0x169)](a){const l=a41k;return this[l(0x172)](a);}[a41k(0x172)](a){const m=a41k;if(a[m(0x15c)]===0x0)return this['logger'][m(0x16d)](m(0x157)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0]['toLowerCase'](),c=this[m(0x177)]['currentLocation'];if(this[m(0x15b)](b)&&c['exits'][m(0x178)](b)){const d=c[m(0x162)]['get'](b);if(d instanceof Door){const e=d[m(0x167)]?.[m(0x160)]();if(e&&this[m(0x177)]['inventory']['hasItem'](e)){const f=this[m(0x177)][m(0x15d)][m(0x15e)](e);if(f){const g=c[m(0x175)](b,f[m(0x152)]);return this[m(0x16c)][m(0x173)](m(0x176)+this[m(0x177)][m(0x152)]+m(0x16b)+b+m(0x154)+g),g;}}return this[m(0x16c)][m(0x173)](m(0x176)+this[m(0x177)][m(0x152)]+m(0x163)+b+'.'),m(0x16f);}else return this[m(0x16c)][m(0x173)](m(0x176)+b+m(0x153)+c[m(0x152)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x15a);}else return this[m(0x16c)]['write'](m(0x176)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x152)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x15a);}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0xf7))/0x1*(parseInt(f(0xed))/0x2)+-parseInt(f(0xe3))/0x3+parseInt(f(0xf1))/0x4*(-parseInt(f(0xf4))/0x5)+parseInt(f(0xe9))/0x6*(-parseInt(f(0xf0))/0x7)+parseInt(f(0x102))/0x8+parseInt(f(0xf9))/0x9+parseInt(f(0xe6))/0xa*(parseInt(f(0xee))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x56d0c));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xf8)]()[h(0xec)]('(((.+)+)+)+$')[h(0xf8)]()[h(0xe4)](a42a)[h(0xec)](h(0xe5));});function a42c(){const k=['logger','use','verb','toLowerCase','\x20used\x20','\x20in\x20this\x20way.','1393806ftDmZx','constructor','(((.+)+)+)+$','970RkwrBl','\x20attempted\x20to\x20use\x20','description','54BeBTgz','function','actor','search','18hSFkuH','52261mrAusi','\x20not\x20retrieved\x20from\x20','34223GsxGar','2544nRaiJI','\x20to\x20use.','\x27s\x20inventory.','4090PAglvl',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','Use\x20an\x20item.','32589UDweww','toString','1120959DNSKvy','inventory','write','apply','join','UseCommand:\x20','name','You\x20don\x27t\x20have\x20the\x20','execute','4045984iCpMEq'];a42c=function(){return k;};return a42c();}a42a();import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xe0;let f=c[d];return f;},a42d(a,b);}export class UseCommand extends Command{static [a42i(0x105)]=a42i(0x104);static [a42i(0xe8)]=a42i(0xf6);[a42i(0x101)](a){return this['use'](a);}[a42i(0x104)](a){const j=a42i,b=a[j(0xfd)]('\x20')[j(0xe0)]();if(!this[j(0xeb)][j(0xfa)]['hasItem'](b))return this[j(0x103)][j(0xfb)]('UseCommand:\x20'+this[j(0xeb)][j(0xff)]+j(0xe7)+b+j(0xf5)),'You\x20don\x27t\x20have\x20the\x20'+b+j(0xf2);const c=this[j(0xeb)][j(0xfa)]['getItem'](b);if(!c)return this[j(0x103)][j(0xfb)](j(0xfe)+b+j(0xef)+this['actor']['name']+j(0xf3)),j(0x100)+b+j(0xf2);if(typeof c[j(0x104)]===j(0xea)){const d=c[j(0x104)]();return this[j(0x103)][j(0xfb)](j(0xfe)+this[j(0xeb)][j(0xff)]+j(0xe1)+b+'.'),d;}else return this[j(0x103)][j(0xfb)]('UseCommand:\x20'+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),'You\x20can\x27t\x20use\x20the\x20'+b+j(0xe2);}}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x8f))/0x1*(-parseInt(f(0xa3))/0x2)+-parseInt(f(0x97))/0x3+-parseInt(f(0x8d))/0x4*(-parseInt(f(0xa6))/0x5)+-parseInt(f(0x8c))/0x6+-parseInt(f(0xa4))/0x7*(parseInt(f(0x8e))/0x8)+-parseInt(f(0x9a))/0x9+-parseInt(f(0x89))/0xa*(-parseInt(f(0xa8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x71bc8));function a42c(){const l=['logger','name',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','getItem','1925889eKpMOp','execute','toString','3695724leLrLi','You\x20can\x27t\x20use\x20the\x20','use','(((.+)+)+)+$','\x20used\x20','toLowerCase','You\x20don\x27t\x20have\x20the\x20','write','\x20in\x20this\x20way.','6wGGNDD','1013733dxMsPp','\x20doesn\x27t\x20have\x20a\x20use\x20method.','5CZDJrt','search','33ONqiUF','constructor','UseCommand:\x20','\x20attempted\x20to\x20use\x20','2848470SIrkjI','actor','description','1226100ruaujp','3269040IKyLPA','8sUgbPM','65277zAoXfa','join','apply','\x20to\x20use.'];a42c=function(){return l;};return a42c();}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x99)]()[h(0xa7)](h(0x9d))[h(0x99)]()[h(0xa9)](a42a)[h(0xa7)](h(0x9d));});a42a();import{Command}from'./command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x89;let f=c[d];return f;},a42d(a,b);}export class UseCommand extends Command{static ['verb']='use';static [a42i(0x8b)]='Use\x20an\x20item.';[a42i(0x98)](a){const j=a42i;return this[j(0x9c)](a);}['use'](a){const k=a42i,b=a[k(0x90)]('\x20')[k(0x9f)]();if(!this[k(0x8a)]['inventory']['hasItem'](b))return this[k(0x93)]['write'](k(0xaa)+this[k(0x8a)][k(0x94)]+k(0xab)+b+k(0x95)),k(0xa0)+b+k(0x92);const c=this[k(0x8a)]['inventory'][k(0x96)](b);if(!c)return this[k(0x93)]['write']('UseCommand:\x20'+b+'\x20not\x20retrieved\x20from\x20'+this[k(0x8a)]['name']+'\x27s\x20inventory.'),k(0xa0)+b+k(0x92);if(typeof c[k(0x9c)]==='function'){const d=c[k(0x9c)]();return this[k(0x93)][k(0xa1)](k(0xaa)+this['actor'][k(0x94)]+k(0x9e)+b+'.'),d;}else return this[k(0x93)]['write'](k(0xaa)+b+k(0xa5)),k(0x9b)+b+k(0xa2);}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x1be))/0x1*(parseInt(f(0x1b9))/0x2)+parseInt(f(0x1b5))/0x3*(-parseInt(f(0x1c3))/0x4)+-parseInt(f(0x1c7))/0x5*(-parseInt(f(0x1c6))/0x6)+-parseInt(f(0x1bf))/0x7+-parseInt(f(0x1b7))/0x8*(-parseInt(f(0x1bc))/0x9)+parseInt(f(0x1c0))/0xa*(-parseInt(f(0x1c1))/0xb)+parseInt(f(0x1b6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xe7d3f));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1c4)]()[h(0x1bb)]('(((.+)+)+)+$')[h(0x1c4)]()[h(0x1c5)](a43a)[h(0x1bb)](h(0x1ba));});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a43d(a,b);}function a43c(){const m=['5530744opEGBn','apply','13544dJrXRW','(((.+)+)+)+$','search','9TkIJFj','commandMap','62FHUwUW','11841627QfDHnR','280XbxRMT','534853jPQTWf','getAllRegisteredCommands','140jjJxGD','toString','constructor','354hoGHdI','55135JRozWW','5271LdkmfV','27628404XkHYAW'];a43c=function(){return m;};return a43c();}export class CommandFactory{static [a43i(0x1bd)]={};static['registerCommand'](a,b){const j=a43i;this[j(0x1bd)][a]=b;}static['createCommand'](a,b){const k=a43i,c=this[k(0x1bd)][a];if(c)return new c(b);return null;}static[a43i(0x1c2)](){const l=a43i;return this[l(0x1bd)];}}
1
+ function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x12f;let f=c[d];return f;},a43d(a,b);}const a43h=a43d;function a43c(){const k=['2636988avbgvz','468584Gxcwoc','63epmXJO','937452wnLGSl','search','14290760VizKnf','toString','1784LLfSXr','registerCommand','4773195yjiBwg','5870noJbrl','4BYkzav','(((.+)+)+)+$','commandMap','1303045npxnLg'];a43c=function(){return k;};return a43c();}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x137))/0x1+parseInt(f(0x134))/0x2*(parseInt(f(0x13b))/0x3)+-parseInt(f(0x130))/0x4*(-parseInt(f(0x133))/0x5)+parseInt(f(0x138))/0x6+-parseInt(f(0x13a))/0x7*(parseInt(f(0x139))/0x8)+-parseInt(f(0x132))/0x9+parseInt(f(0x13d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xa04cd));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(0x12f)]()[g(0x13c)](g(0x135))['toString']()['constructor'](a43a)['search']('(((.+)+)+)+$');});a43a();export class CommandFactory{static [a43h(0x136)]={};static[a43h(0x131)](a,b){const i=a43h;this[i(0x136)][a]=b;}static['createCommand'](a,b){const j=a43h,c=this[j(0x136)][a];if(c)return new c(b);return null;}static['getAllRegisteredCommands'](){return this['commandMap'];}}
@@ -1 +1 @@
1
- const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x10e))/0x1+-parseInt(f(0x110))/0x2+parseInt(f(0x10d))/0x3*(parseInt(f(0x106))/0x4)+-parseInt(f(0xfe))/0x5+-parseInt(f(0xf1))/0x6+-parseInt(f(0x10f))/0x7*(-parseInt(f(0x104))/0x8)+parseInt(f(0xfb))/0x9*(parseInt(f(0x111))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xcc464));function a44c(){const o=['createItem','40ipQNhs','createRoom','12WEUkId','search','createPuzzle','(((.+)+)+)+$','boots','content','addItem','1386549KjIxMh','605534MfABvT','27769LxtRIo','692784gnYmvQ','310YSSPCC','toString','INSIDE','sword','description','convertToRoomConfig','7169574zjLszY','rewardItem','toUpperCase','rifle','isStartRoom','inventory','items','book','name','helmet','836253fpKvjs','constructor','apply','6516240pHkRbK','type','roomType','key','forEach'];a44c=function(){return o;};return a44c();}function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xef;let f=c[d];return f;},a44d(a,b);}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xfd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x112)]()['search'](h(0x109))['toString']()[h(0xfc)](a44a)[h(0x107)](h(0x109));});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(0x105)](a){const j=a44i,b=this[j(0xf0)](a),c=new Room(b);if(a[j(0xf7)]){const d=new Inventory();a[j(0xf7)][j(0x102)](e=>{const k=j;d[k(0x10c)](this[k(0x103)](e));}),c[j(0xf6)]=d;}return a['puzzle']&&c['setPuzzle'](this[j(0x108)](a['puzzle'])),c;}['createItem'](a){const l=a44i;switch(a[l(0xff)]){case l(0x101):return new Key(a[l(0xf9)],a[l(0xef)]);case l(0xf8):return new Book(a[l(0xf9)],a[l(0xef)],a[l(0x10b)]);case l(0x114):return new Sword(a[l(0xf9)],a[l(0xef)]);case l(0xf4):return new Rifle(a[l(0xf9)],a[l(0xef)]);case l(0xfa):return new Helmet(a[l(0xf9)],a[l(0xef)]);case'bodyarmor':return new BodyArmor(a[l(0xf9)],a[l(0xef)]);case'legarmor':return new LegArmor(a[l(0xf9)],a['description']);case l(0x10a):return new Boots(a[l(0xf9)],a[l(0xef)]);case'gloves':return new Gloves(a['name'],a['description']);case'gauntlets':return new Gauntlets(a[l(0xf9)],a['description']);default:return new BasicItem(a[l(0xf9)],a[l(0xef)]);}}[a44i(0x108)](a){const m=a44i,b=this[m(0x103)](a[m(0xf2)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0xf0)](a){const n=a44i,b=a['roomType']&&RoomType[a['roomType'][n(0xf3)]()]?RoomType[a[n(0x100)][n(0xf3)]()]:RoomType[n(0x113)];return{'name':a['name'],'description':a[n(0xef)],'isStartRoom':a[n(0xf5)],'roomType':b};}}
1
+ const a44k=a44d;function a44c(){const o=['roomType','505884yThzYx','addItem','name','createPuzzle','search','forEach','2xfpDiL','INSIDE','rewardItem','750amsauy','createItem','key','constructor','boots','442873hAtoco','10MAWYfZ','7664lUOwdp','content','rifle','isStartRoom','helmet','gloves','puzzle','25PZqEJa','20759244OvPGXM','setPuzzle','apply','gauntlets','(((.+)+)+)+$','bodyarmor','toString','items','3726fiOBrP','convertToRoomConfig','description','46312McWBbG','toUpperCase','3989359opCalE','type','book','441789NPnWIV'];a44c=function(){return o;};return a44c();}(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x19a))/0x1+parseInt(f(0x192))/0x2*(parseInt(f(0x1b4))/0x3)+-parseInt(f(0x1b6))/0x4*(-parseInt(f(0x1a3))/0x5)+-parseInt(f(0x195))/0x6*(parseInt(f(0x1af))/0x7)+parseInt(f(0x19c))/0x8*(-parseInt(f(0x1ac))/0x9)+-parseInt(f(0x19b))/0xa*(parseInt(f(0x1b1))/0xb)+parseInt(f(0x1a4))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x75491));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x1aa)]()['search'](h(0x1a8))[h(0x1aa)]()[h(0x198)](a44a)[h(0x190)]('(((.+)+)+)+$');});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x18f;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['convertToRoomConfig'](a),c=new Room(b);if(a[i(0x1ab)]){const d=new Inventory();a[i(0x1ab)][i(0x191)](e=>{const j=i;d[j(0x1b7)](this[j(0x196)](e));}),c['inventory']=d;}return a[i(0x1a2)]&&c[i(0x1a5)](this[i(0x18f)](a['puzzle'])),c;}[a44k(0x196)](a){const l=a44k;switch(a[l(0x1b2)]){case l(0x197):return new Key(a[l(0x1b8)],a[l(0x1ae)]);case l(0x1b3):return new Book(a[l(0x1b8)],a[l(0x1ae)],a[l(0x19d)]);case'sword':return new Sword(a[l(0x1b8)],a['description']);case l(0x19e):return new Rifle(a[l(0x1b8)],a[l(0x1ae)]);case l(0x1a0):return new Helmet(a[l(0x1b8)],a[l(0x1ae)]);case l(0x1a9):return new BodyArmor(a[l(0x1b8)],a['description']);case'legarmor':return new LegArmor(a[l(0x1b8)],a['description']);case l(0x199):return new Boots(a[l(0x1b8)],a[l(0x1ae)]);case l(0x1a1):return new Gloves(a['name'],a[l(0x1ae)]);case l(0x1a7):return new Gauntlets(a['name'],a[l(0x1ae)]);default:return new BasicItem(a[l(0x1b8)],a[l(0x1ae)]);}}[a44k(0x18f)](a){const m=a44k,b=this['createItem'](a[m(0x194)]);return new Puzzle({...a,'rewardItem':b});}[a44k(0x1ad)](a){const n=a44k,b=a[n(0x1b5)]&&RoomType[a[n(0x1b5)]['toUpperCase']()]?RoomType[a[n(0x1b5)][n(0x1b0)]()]:RoomType[n(0x193)];return{'name':a[n(0x1b8)],'description':a[n(0x1ae)],'isStartRoom':a[n(0x19f)],'roomType':b};}}
@@ -1 +1 @@
1
- const a45j=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xa9;let f=c[d];return f;},a45d(a,b);}(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0xc1))/0x1*(parseInt(h(0xc6))/0x2)+-parseInt(h(0xb6))/0x3+parseInt(h(0xcc))/0x4*(-parseInt(h(0xba))/0x5)+parseInt(h(0xc5))/0x6+-parseInt(h(0xc3))/0x7*(-parseInt(h(0xc2))/0x8)+-parseInt(h(0xac))/0x9*(parseInt(h(0xb8))/0xa)+parseInt(h(0xa9))/0xb*(parseInt(h(0xc8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x49df4));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(0xaf)]()[i(0xcf)]('(((.+)+)+)+$')[i(0xaf)]()[i(0xc0)](a45a)[i(0xcf)]('(((.+)+)+)+$');});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';function a45c(){const r=['scene','getInstance','search','clear','Available\x20Commands:\x0a','execute','129173KwBaix','getDescription','getHelpMessage','9ARVUVw','unlock','instance','toString','currentLocation','rooms','take','registerCommand','help','split','1331832eeiIxt','initialize','5056360xxrneD','createCommand','55AhLXVD','-\x20clear:\x20Clear\x20the\x20screen.\x0a','toLowerCase','unequip','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','getAllRegisteredCommands','constructor','180294YdOWXg','11048SnoTgm','49IPjdKt','player','3169716tDbgKC','6iVdQad','determineStartRoom','348mIzcSV','Welcome,\x20','getWelcomeMessage','drop','60808yuUDBy'];a45c=function(){return r;};return a45c();}import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];['scene'];[a45j(0xc4)];['currentRoom'];[a45j(0xb1)];constructor(a,b){const k=a45j;this[k(0xc4)]=a,this[k(0xcd)]=new Scene({'player':a,'roomConfiguration':b}),this[k(0xcd)][k(0xb7)](),this[k(0xc4)][k(0xb0)]=this[k(0xc7)](),this['registerCommands']();}['registerCommands'](){const l=a45j;CommandFactory['registerCommand']('look',LookCommand),CommandFactory[l(0xb3)]('go',GoCommand),CommandFactory['registerCommand'](l(0xb2),TakeCommand),CommandFactory[l(0xb3)]('use',UseCommand),CommandFactory[l(0xb3)]('equip',EquipCommand),CommandFactory[l(0xb3)](l(0xbd),UnequipCommand),CommandFactory['registerCommand']('solve',SolveCommand),CommandFactory[l(0xb3)](l(0xcb),DropCommand),CommandFactory[l(0xb3)](l(0xad),UnlockCommand),CommandFactory[l(0xb3)]('lock',LockCommand),CommandFactory[l(0xb3)]('search',SearchCommand),CommandFactory[l(0xb3)]('say',SayCommand);}['determineStartRoom'](){const m=a45j;return this[m(0xcd)][m(0xc7)]();}[a45j(0xca)](){const n=a45j;return n(0xc9)+this[n(0xc4)]['name'];}static[a45j(0xce)](a,b){const o=a45j;return!Game[o(0xae)]&&(Game[o(0xae)]=new Game(a,b)),Game[o(0xae)];}['handleInput'](a){const p=a45j,b=a['trim']()[p(0xb5)]('\x20'),c=b[0x0][p(0xbc)](),d=b['slice'](0x1);if(c==='quit')return null;if(c==='maka')return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===p(0xb4))return this['getHelpMessage']();if(c===p(0xd0))return'';const e={'actor':this[p(0xc4)],'rooms':this[p(0xcd)]['getRooms'](),'scene':this[p(0xcd)]},f=CommandFactory[p(0xb9)](c,e);if(f){const g=f[p(0xd2)](d);return g;}return p(0xbe)+c+'\x22.';}[a45j(0xab)](){const q=a45j,a=CommandFactory[q(0xbf)]();let b=q(0xd1);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0xaa)]()+'\x0a';}}return b+=q(0xbb),b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
1
+ const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x1fe))/0x1*(parseInt(h(0x212))/0x2)+parseInt(h(0x1ec))/0x3+-parseInt(h(0x214))/0x4*(parseInt(h(0x1f3))/0x5)+parseInt(h(0x1e9))/0x6*(-parseInt(h(0x20b))/0x7)+-parseInt(h(0x1f4))/0x8*(parseInt(h(0x1f6))/0x9)+-parseInt(h(0x1fd))/0xa+parseInt(h(0x218))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x8c8ee));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x200)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x202)]()['search'](j(0x201))[j(0x202)]()[j(0x1f7)](a45a)[j(0x205)](j(0x201));});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';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1e5;let f=c[d];return f;},a45d(a,b);}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 a45c(){const s=['clear','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','search','determineStartRoom','use','unequip','currentLocation','-\x20quit:\x20Exit\x20the\x20game.\x0a','14021gHUGBo','slice','drop','hasOwnProperty','toLowerCase','rooms','quit','384746ChGNnF','registerCommand','4RMBxZW','handleInput','getRooms','split','21937520Edrcaz','initialize','registerCommands','Available\x20Commands:\x0a','take','2466nbPNbK','instance','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','1683336SBPYXV','trim','player','Welcome,\x20','getAllRegisteredCommands','getInstance','getDescription','2592085dwhLSF','184nGJKPZ','maka','432522LFMfdV','constructor','lock','help','getHelpMessage','look','execute','1098410Bbafgv','3qoTRMG','scene','apply','(((.+)+)+)+$','toString'];a45c=function(){return s;};return a45c();}import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a45k(0x1ff)];['player'];['currentRoom'];[a45k(0x210)];constructor(a,b){const l=a45k;this[l(0x1ee)]=a,this[l(0x1ff)]=new Scene({'player':a,'roomConfiguration':b}),this['scene'][l(0x1e5)](),this[l(0x1ee)][l(0x209)]=this[l(0x206)](),this[l(0x1e6)]();}['registerCommands'](){const m=a45k;CommandFactory[m(0x213)](m(0x1fb),LookCommand),CommandFactory[m(0x213)]('go',GoCommand),CommandFactory[m(0x213)](m(0x1e8),TakeCommand),CommandFactory['registerCommand'](m(0x207),UseCommand),CommandFactory[m(0x213)]('equip',EquipCommand),CommandFactory[m(0x213)](m(0x208),UnequipCommand),CommandFactory['registerCommand']('solve',SolveCommand),CommandFactory[m(0x213)](m(0x20d),DropCommand),CommandFactory[m(0x213)]('unlock',UnlockCommand),CommandFactory[m(0x213)](m(0x1f8),LockCommand),CommandFactory[m(0x213)]('search',SearchCommand),CommandFactory['registerCommand']('say',SayCommand);}['determineStartRoom'](){const n=a45k;return this[n(0x1ff)][n(0x206)]();}['getWelcomeMessage'](){const o=a45k;return o(0x1ef)+this[o(0x1ee)]['name'];}static[a45k(0x1f1)](a,b){const p=a45k;return!Game[p(0x1ea)]&&(Game[p(0x1ea)]=new Game(a,b)),Game[p(0x1ea)];}[a45k(0x215)](a){const q=a45k,b=a[q(0x1ed)]()[q(0x217)]('\x20'),c=b[0x0][q(0x20f)](),d=b[q(0x20c)](0x1);if(c===q(0x211))return null;if(c===q(0x1f5))return q(0x204);if(c===q(0x1f9))return this[q(0x1fa)]();if(c===q(0x203))return'';const e={'actor':this[q(0x1ee)],'rooms':this[q(0x1ff)][q(0x216)](),'scene':this[q(0x1ff)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[q(0x1fc)](d);return g;}return q(0x1eb)+c+'\x22.';}['getHelpMessage'](){const r=a45k,a=CommandFactory[r(0x1f0)]();let b=r(0x1e7);for(const c in a){if(a[r(0x20e)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x1f2)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+=r(0x20a),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0xbb))/0x1+parseInt(f(0xbf))/0x2*(-parseInt(f(0xb2))/0x3)+-parseInt(f(0xb8))/0x4*(parseInt(f(0xb9))/0x5)+parseInt(f(0xb7))/0x6*(-parseInt(f(0xb5))/0x7)+parseInt(f(0xb6))/0x8*(parseInt(f(0xba))/0x9)+parseInt(f(0xbc))/0xa+parseInt(f(0xb3))/0xb*(parseInt(f(0xbe))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x5e0ad));var a46b=(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;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0xbd)]()[g(0xb0)]('(((.+)+)+)+$')[g(0xbd)]()[g(0xb4)](a46a)['search'](g(0xb1));});a46a();function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xb0;var f=c[d];return f;},a46d(a,b);}export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';function a46c(){var h=['39732LkODQA','constructor','73913cNxYTG','8WtIQQl','378jWxALM','28316XBoknU','150DPzpBQ','3223629tNBlro','710610NGQvCZ','677360JubKBe','toString','7416pHITWS','242ZpnVUu','search','(((.+)+)+)+$','16977tOUONU'];a46c=function(){return h;};return a46c();}export*from'./room.js';export*from'./scene.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x1e1))/0x1*(-parseInt(f(0x1e7))/0x2)+parseInt(f(0x1e6))/0x3+parseInt(f(0x1ea))/0x4*(parseInt(f(0x1ec))/0x5)+parseInt(f(0x1e2))/0x6*(-parseInt(f(0x1e5))/0x7)+parseInt(f(0x1df))/0x8+-parseInt(f(0x1e4))/0x9*(parseInt(f(0x1e0))/0xa)+-parseInt(f(0x1e8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x470f2));function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1df;var f=c[d];return f;},a46d(a,b);}var a46b=(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;};}()),a46a=a46b(this,function(){var g=a46d;return a46a[g(0x1eb)]()[g(0x1e3)]('(((.+)+)+)+$')[g(0x1eb)]()[g(0x1e9)](a46a)['search']('(((.+)+)+)+$');});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';function a46c(){var h=['74MvgHfK','6176060YBEiBC','constructor','18488ZFboDg','toString','275TGqlAK','3135584sdtRCh','20mGZqGa','4501FoVMcu','10314DEqRiJ','search','1402722PgOrDi','98rpGtog','1126815BpVJaS'];a46c=function(){return h;};return a46c();}export*from'./room.js';export*from'./scene.js';
@@ -1 +1 @@
1
- var a47i=a47d;function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0xca;var f=c[d];return f;},a47d(a,b);}(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0xce))/0x1*(parseInt(f(0xea))/0x2)+parseInt(f(0xe5))/0x3+-parseInt(f(0xde))/0x4*(parseInt(f(0xdf))/0x5)+-parseInt(f(0xd0))/0x6*(-parseInt(f(0xd4))/0x7)+-parseInt(f(0xca))/0x8*(parseInt(f(0xd8))/0x9)+-parseInt(f(0xe0))/0xa*(-parseInt(f(0xdc))/0xb)+parseInt(f(0xe4))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x3aa19));function a47c(){var n=['isLocked','checkIfLocked','330uqMQpK','To\x20','1124RKGHXB','2895XVccPY','46740JWZKSQ','Door\x20created\x20between\x20','unlockItemOrSolution','name','7896828IJyTQe','615063AZDCMA','(((.+)+)+)+$','apply','write','search','3522FpVdzU','56760jSoAzn','logger','roomA','.\x20Used:\x20','238hSlNQW','isLockable','60iaBIVN','roomB','constructor','.\x20Is\x20Locked:\x20','2191ImOSOx','attemptUnlock','toString','\x20and\x20','234GUsBQf','getOtherSide'];a47c=function(){return n;};return a47c();}var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0xe7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a['toString']()[h(0xe9)](h(0xe6))[h(0xd6)]()[h(0xd2)](a47a)[h(0xe9)](h(0xe6));});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0xcc)];[a47i(0xd1)];['isLocked'];['unlockItemOrSolution'];[a47i(0xe3)];['logger'];[a47i(0xcf)];constructor(a){var j=a47i;super(),this[j(0xcc)]=a[j(0xcc)],this[j(0xd1)]=a[j(0xd1)],this[j(0xda)]=a['isLocked']||![],this['unlockItemOrSolution']=a[j(0xe2)],this[j(0xe3)]=a[j(0xe3)]?capitalCase(a[j(0xe3)]):j(0xdd)+a[j(0xd1)][j(0xe3)],this[j(0xcb)]=Logger['getInstance'](),this[j(0xcf)]=!!a['unlockItemOrSolution'],this['logger'][j(0xe8)](j(0xe1)+this[j(0xcc)][j(0xe3)]+j(0xd7)+this[j(0xd1)][j(0xe3)]+j(0xd3)+this[j(0xda)]);}[a47i(0xd9)](a){var k=a47i;return this[k(0xcc)]===a?this[k(0xd1)]:this['roomA'];}[a47i(0xd5)](a){var l=a47i;if(this[l(0xda)]&&this[l(0xe2)]&&this['unlockItemOrSolution']===a)return this[l(0xda)]=![],this['logger'][l(0xe8)]('Door\x20unlocked:\x20'+this['name']+'.\x20Used:\x20'+a),!![];return this[l(0xcb)][l(0xe8)]('Failed\x20to\x20unlock\x20door:\x20'+this['name']+l(0xcd)+a),![];}[a47i(0xdb)](){var m=a47i;return this[m(0xda)];}['checkIfLockable'](){return this['isLockable'];}}
1
+ var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x102))/0x1+-parseInt(f(0xfb))/0x2*(-parseInt(f(0xf4))/0x3)+parseInt(f(0x114))/0x4*(parseInt(f(0x10f))/0x5)+parseInt(f(0xf6))/0x6+parseInt(f(0x104))/0x7+parseInt(f(0x109))/0x8+parseInt(f(0x113))/0x9*(-parseInt(f(0x10e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xba9ef));function a47c(){var o=['isLockable','roomA','Door\x20created\x20between\x20','974742xoggaG','Failed\x20to\x20unlock\x20door:\x20','235354nRFiPg','toString','checkIfLockable','search','(((.+)+)+)+$','6502208owGDMI','isLocked','.\x20Is\x20Locked:\x20','apply','getInstance','1161770AAkOHx','5zfBNEV','logger','Door\x20unlocked:\x20','name','252bhysPA','2283628fxoxvD','roomB','3NxbUCr','checkIfLocked','2047458JOrkvQ','constructor','getOtherSide','To\x20','\x20and\x20','2568130fEJgTn','unlockItemOrSolution','write','attemptUnlock'];a47c=function(){return o;};return a47c();}var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x10c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x105)]()[h(0x107)](h(0x108))[h(0x105)]()[h(0xf7)](a47a)[h(0x107)]('(((.+)+)+)+$');});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0xf4;var f=c[d];return f;},a47d(a,b);}export class Door extends AbstractDoor{[a47i(0x100)];[a47i(0x115)];[a47i(0x10a)];[a47i(0xfc)];[a47i(0x112)];['logger'];[a47i(0xff)];constructor(a){var j=a47i;super(),this[j(0x100)]=a[j(0x100)],this[j(0x115)]=a[j(0x115)],this[j(0x10a)]=a[j(0x10a)]||![],this[j(0xfc)]=a[j(0xfc)],this[j(0x112)]=a[j(0x112)]?capitalCase(a[j(0x112)]):j(0xf9)+a[j(0x115)][j(0x112)],this[j(0x110)]=Logger[j(0x10d)](),this[j(0xff)]=!!a[j(0xfc)],this[j(0x110)][j(0xfd)](j(0x101)+this[j(0x100)][j(0x112)]+j(0xfa)+this[j(0x115)]['name']+j(0x10b)+this['isLocked']);}[a47i(0xf8)](a){var k=a47i;return this[k(0x100)]===a?this[k(0x115)]:this[k(0x100)];}[a47i(0xfe)](a){var l=a47i;if(this[l(0x10a)]&&this[l(0xfc)]&&this[l(0xfc)]===a)return this[l(0x10a)]=![],this[l(0x110)][l(0xfd)](l(0x111)+this[l(0x112)]+'.\x20Used:\x20'+a),!![];return this[l(0x110)][l(0xfd)](l(0x103)+this[l(0x112)]+'.\x20Used:\x20'+a),![];}[a47i(0xf5)](){var m=a47i;return this[m(0x10a)];}[a47i(0x106)](){var n=a47i;return this[n(0xff)];}}
@@ -1 +1 @@
1
- function a48c(){const r=['283458dYJILw','join','addItem','\x20from\x20inventory.','search','keys','listItems','11769iwSSdV','removeItem','hasItem','1117788varnOZ','1102176AsSQOk','\x20in\x20','getItem','5JcEHpB','weight','8bnDhBC','10128448jnOerO','10zCBtgD','getWeight','logger','(((.+)+)+)+$','\x20to\x20inventory.','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','.\x20Item\x20not\x20found.','Added\x20item:\x20','items','1631352LbeOuV','constructor','get','toLowerCase','write','toString','Failed\x20to\x20remove\x20item:\x20','map','delete','values','.\x20Exists:\x20','Listed\x20items\x20in\x20inventory:\x20','Removed\x20item:\x20','getAllItems','1967595tmcdLq','38GIldyK','apply','name'];a48c=function(){return r;};return a48c();}function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x125;let f=c[d];return f;},a48d(a,b);}const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x13f))/0x1+-parseInt(f(0x13c))/0x2*(parseInt(f(0x146))/0x3)+-parseInt(f(0x149))/0x4+parseInt(f(0x14d))/0x5*(-parseInt(f(0x12d))/0x6)+-parseInt(f(0x13b))/0x7+parseInt(f(0x14f))/0x8*(parseInt(f(0x14a))/0x9)+parseInt(f(0x151))/0xa*(parseInt(f(0x150))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x66791));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x132)]()[h(0x143)](h(0x127))[h(0x132)]()[h(0x12e)](a48a)[h(0x143)](h(0x127));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0x12c)];[a48i(0x126)];constructor(){const j=a48i;super(),this[j(0x12c)]=new Map(),this[j(0x126)]=Logger['getInstance']();}[a48i(0x141)](a){const k=a48i;this[k(0x12c)]['set'](a['name'][k(0x130)](),a),this[k(0x126)][k(0x131)](k(0x12b)+a[k(0x13e)]+k(0x128));}[a48i(0x147)](a){const l=a48i,b=this[l(0x14c)](a);if(b)return this['items'][l(0x135)](a[l(0x130)]()),this[l(0x126)]['write'](l(0x139)+a+l(0x142)),b;return this[l(0x126)][l(0x131)](l(0x133)+a+l(0x12a)),null;}[a48i(0x148)](a){const m=a48i,b=this[m(0x12c)]['has'](a[m(0x130)]()),c=[...this['items'][m(0x144)]()];return this['logger'][m(0x131)]('Checked\x20for\x20item:\x20'+a+m(0x14b)+c[m(0x140)](',\x20')+m(0x137)+b+'.'),b;}[a48i(0x14c)](a){const n=a48i,b=this[n(0x12c)][n(0x12f)](a['toLowerCase']())||null;return b?this[n(0x126)][n(0x131)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[n(0x126)][n(0x131)](n(0x129)+a+'.\x20Item\x20not\x20found.'),b;}[a48i(0x145)](){const o=a48i,a=[...this['items'][o(0x144)]()],b=a[o(0x134)](c=>capitalCase(c));return this[o(0x126)]['write'](o(0x138)+b[o(0x140)](',\x20')+'.'),a;}[a48i(0x125)](){const p=a48i;let a=0x0;for(const b of this['items'][p(0x136)]()){a+=b[p(0x14e)];}return a;}[a48i(0x13a)](){const q=a48i;return[...this[q(0x12c)][q(0x136)]()];}}
1
+ const a48j=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x1d9))/0x1*(parseInt(f(0x1d2))/0x2)+parseInt(f(0x1d8))/0x3+parseInt(f(0x1ed))/0x4*(parseInt(f(0x1d1))/0x5)+parseInt(f(0x1f1))/0x6*(parseInt(f(0x1f2))/0x7)+parseInt(f(0x1ee))/0x8*(parseInt(f(0x1d5))/0x9)+-parseInt(f(0x1d0))/0xa+-parseInt(f(0x1e5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x6127b));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1de)]()[h(0x1e4)]('(((.+)+)+)+$')['toString']()[h(0x1e8)](a48a)[h(0x1e4)]('(((.+)+)+)+$');});function a48c(){const r=['keys','search','10619378tQpVaH','getAllItems','getItem','constructor','apply','.\x20Item\x20not\x20found.','\x20in\x20','addItem','51388JkJyYz','8KXiBuM','getInstance','removeItem','132CCFzJc','245651wOkcIm','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','Failed\x20to\x20remove\x20item:\x20','\x20to\x20inventory.','hasItem','Checked\x20for\x20item:\x20','2117590vbWhRT','145YKnKIk','8408vBOMEB','logger','Removed\x20item:\x20','1357938OgSRBB','toLowerCase','values','914511DDRJbN','6HpYsmD','write','Listed\x20items\x20in\x20inventory:\x20','items','name','toString','set','map','delete','listItems'];a48c=function(){return r;};return a48c();}function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a48d(a,b);}a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{['items'];['logger'];constructor(){const i=a48d;super(),this['items']=new Map(),this[i(0x1d3)]=Logger[i(0x1ef)]();}[a48j(0x1ec)](a){const k=a48j;this[k(0x1dc)][k(0x1df)](a[k(0x1dd)]['toLowerCase'](),a),this[k(0x1d3)][k(0x1da)]('Added\x20item:\x20'+a[k(0x1dd)]+k(0x1f5));}[a48j(0x1f0)](a){const l=a48j,b=this[l(0x1e7)](a);if(b)return this['items'][l(0x1e1)](a[l(0x1d6)]()),this[l(0x1d3)][l(0x1da)](l(0x1d4)+a+'\x20from\x20inventory.'),b;return this[l(0x1d3)][l(0x1da)](l(0x1f4)+a+'.\x20Item\x20not\x20found.'),null;}[a48j(0x1f6)](a){const m=a48j,b=this['items']['has'](a[m(0x1d6)]()),c=[...this[m(0x1dc)][m(0x1e3)]()];return this['logger'][m(0x1da)](m(0x1f7)+a+m(0x1eb)+c['join'](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}['getItem'](a){const n=a48j,b=this[n(0x1dc)]['get'](a[n(0x1d6)]())||null;return b?this[n(0x1d3)][n(0x1da)]('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this['logger'][n(0x1da)](n(0x1f3)+a+n(0x1ea)),b;}[a48j(0x1e2)](){const o=a48j,a=[...this['items']['keys']()],b=a[o(0x1e0)](c=>capitalCase(c));return this['logger']['write'](o(0x1db)+b['join'](',\x20')+'.'),a;}['getWeight'](){const p=a48j;let a=0x0;for(const b of this[p(0x1dc)][p(0x1d7)]()){a+=b['weight'];}return a;}[a48j(0x1e6)](){const q=a48j;return[...this[q(0x1dc)][q(0x1d7)]()];}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1c6))/0x1*(parseInt(f(0x1c9))/0x2)+-parseInt(f(0x1cb))/0x3*(parseInt(f(0x1cf))/0x4)+-parseInt(f(0x1c1))/0x5*(-parseInt(f(0x1c3))/0x6)+-parseInt(f(0x1c8))/0x7*(parseInt(f(0x1be))/0x8)+-parseInt(f(0x1c4))/0x9*(parseInt(f(0x1bc))/0xa)+-parseInt(f(0x1cd))/0xb*(parseInt(f(0x1ce))/0xc)+-parseInt(f(0x1d4))/0xd*(-parseInt(f(0x1c2))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xbf6f5));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1bd)]()[h(0x1ca)](h(0x1b9))[h(0x1bd)]()[h(0x1bb)](a49a)['search'](h(0x1b9));});a49a();import{v4 as a49e}from'uuid';function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1b9;var f=c[d];return f;},a49d(a,b);}function a49c(){var l=['color','(((.+)+)+)+$','name','constructor','10swXicw','toString','6969512fJkGJS','weight','.\x20Nothing\x20special\x20happens.','4882385ukhCvJ','437038RxYfQC','6QjFWqO','5417892UvLAsD','shape','99553ixrbjs','uuid','7fHRjwI','20xExjWO','search','1995RkVOut','You\x20use\x20the\x20','11UMjupS','9014184WTKagN','1652jPpwHb','rating','size','category','apply','546kBjXAf','texture','description'];a49c=function(){return l;};return a49c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x1c7)];['name'];[a49i(0x1d6)];[a49i(0x1d1)];['category'];[a49i(0x1c5)];[a49i(0x1d7)];['texture'];[a49i(0x1d0)];[a49i(0x1bf)];constructor(a){var j=a49i;super(),this['name']=a[j(0x1ba)],this[j(0x1d6)]=a[j(0x1d6)],this[j(0x1d1)]=a[j(0x1d1)],this[j(0x1d2)]=a[j(0x1d2)],this['shape']=a[j(0x1c5)],this[j(0x1d7)]=a[j(0x1d7)],this[j(0x1d5)]=a[j(0x1d5)],this[j(0x1d0)]=a['rating'],this[j(0x1bf)]=a[j(0x1bf)],this[j(0x1c7)]=a49e();}['use'](){var k=a49i;return k(0x1cc)+this[k(0x1ba)]+k(0x1c0);}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0x195))/0x1+-parseInt(f(0x1a0))/0x2*(parseInt(f(0x193))/0x3)+-parseInt(f(0x19a))/0x4*(-parseInt(f(0x1a2))/0x5)+parseInt(f(0x1a7))/0x6+parseInt(f(0x1a8))/0x7*(parseInt(f(0x1a3))/0x8)+-parseInt(f(0x18e))/0x9*(-parseInt(f(0x18f))/0xa)+-parseInt(f(0x197))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x9135b));function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x18d;var f=c[d];return f;},a49d(a,b);}var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x18d)]()[h(0x19e)](h(0x191))[h(0x18d)]()[h(0x194)](a49a)[h(0x19e)](h(0x191));});a49a();function a49c(){var l=['uuid','name','search','apply','109786OTSxhR','rating','1114815PdcOmm','176Tlvmwn','description','use','color','6625584Kdwyre','145649QIOQNB','.\x20Nothing\x20special\x20happens.','toString','21834bLTayu','730RzrhmJ','shape','(((.+)+)+)+$','texture','15kyKiVP','constructor','417386PbHCep','weight','17240311DrZvmF','category','You\x20use\x20the\x20','20QgPKMg','size'];a49c=function(){return l;};return a49c();}import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x19c)];['name'];[a49i(0x1a4)];['size'];[a49i(0x198)];[a49i(0x190)];[a49i(0x1a6)];[a49i(0x192)];[a49i(0x1a1)];['weight'];constructor(a){var j=a49i;super(),this[j(0x19d)]=a[j(0x19d)],this['description']=a['description'],this[j(0x19b)]=a['size'],this['category']=a[j(0x198)],this[j(0x190)]=a[j(0x190)],this[j(0x1a6)]=a[j(0x1a6)],this['texture']=a[j(0x192)],this[j(0x1a1)]=a[j(0x1a1)],this[j(0x196)]=a[j(0x196)],this[j(0x19c)]=a49e();}[a49i(0x1a5)](){var k=a49i;return k(0x199)+this['name']+k(0x1a9);}}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0xed))/0x1*(parseInt(f(0xfc))/0x2)+-parseInt(f(0xf9))/0x3+-parseInt(f(0xf1))/0x4+-parseInt(f(0xf8))/0x5*(parseInt(f(0xf4))/0x6)+-parseInt(f(0xfe))/0x7*(-parseInt(f(0x101))/0x8)+parseInt(f(0xee))/0x9+parseInt(f(0xef))/0xa*(parseInt(f(0x102))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xe6f1e));function a50c(){const o=['11514937APQuFc','_dialogue','scene','8rOODAc','52891905qgGOkk','search','rooms','length','speak','215191QReCnR','8870859phABEt','10YOuRIk','apply','6861152KKhkwc','(((.+)+)+)+$','name','6zyAmoK','toString','moveTo','_name','6349390KbgxzX','5359059pfdVez','random','autonomousMove','16rcyoFP','execute'];a50c=function(){return o;};return a50c();}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0xf5)]()[h(0x103)]('(((.+)+)+)+$')[h(0xf5)]()['constructor'](a50a)['search'](h(0xf2));});a50a();import{Player}from'./player.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xeb;let f=c[d];return f;},a50d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0xf7)];[a50i(0xff)];[a50i(0x104)];[a50i(0x100)];constructor(a,b,c,d){const j=a50i;super(d),this['_name']=a,this['_dialogue']=b,this[j(0x104)]=c;}get[a50i(0xf3)](){const k=a50i;return this[k(0xf7)];}[a50i(0xec)](){const l=a50i;return this[l(0xff)][Math['floor'](Math[l(0xfa)]()*this[l(0xff)][l(0xeb)])];}[a50i(0xfb)](a){const m=a50i,b=a[Math['floor'](Math[m(0xfa)]()*a[m(0xeb)])];this[m(0xf6)](b[m(0xf3)]);}['moveTo'](a){const n=a50i,b={'actor':this,'rooms':this[n(0x104)],'scene':this['scene']},c=new GoCommand(b);c[n(0xfd)]([a]);}}
1
+ const a50i=a50d;function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xaf;let f=c[d];return f;},a50d(a,b);}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0xba))/0x1*(-parseInt(f(0xb8))/0x2)+-parseInt(f(0xc5))/0x3+-parseInt(f(0xb5))/0x4*(parseInt(f(0xc0))/0x5)+parseInt(f(0xc6))/0x6+parseInt(f(0xb0))/0x7+parseInt(f(0xb1))/0x8*(parseInt(f(0xc3))/0x9)+parseInt(f(0xb4))/0xa*(parseInt(f(0xb3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xbb9c9));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0xc1)]()[h(0xb2)](h(0xb9))[h(0xc1)]()['constructor'](a50a)[h(0xb2)](h(0xb9));});a50a();import{Player}from'./player.js';function a50c(){const n=['scene','execute','floor','length','apply','6050235fKibJG','toString','name','12251025QoWjLE','rooms','2891739ruUOUM','2402244tJujCc','speak','_name','random','moveTo','3658340UOkPXB','8WGbkdF','search','2544410LEdPHc','90ORNgnV','4Tiyddq','_dialogue','autonomousMove','711796FZFQoK','(((.+)+)+)+$','4VQVIBE'];a50c=function(){return n;};return a50c();}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0xc8)];['_dialogue'];[a50i(0xc4)];[a50i(0xbb)];constructor(a,b,c,d){const j=a50i;super(d),this['_name']=a,this[j(0xb6)]=b,this[j(0xc4)]=c;}get[a50i(0xc2)](){return this['_name'];}[a50i(0xc7)](){const k=a50i;return this[k(0xb6)][Math[k(0xbd)](Math[k(0xc9)]()*this[k(0xb6)][k(0xbe)])];}[a50i(0xb7)](a){const l=a50i,b=a[Math[l(0xbd)](Math['random']()*a[l(0xbe)])];this[l(0xaf)](b['name']);}[a50i(0xaf)](a){const m=a50i,b={'actor':this,'rooms':this[m(0xc4)],'scene':this[m(0xbb)]},c=new GoCommand(b);c[m(0xbc)]([a]);}}
@@ -1 +1 @@
1
- const a51i=a51d;function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xe0;let f=c[d];return f;},a51d(a,b);}(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x12d))/0x1+parseInt(f(0x106))/0x2*(-parseInt(f(0x140))/0x3)+-parseInt(f(0x101))/0x4+parseInt(f(0x120))/0x5*(-parseInt(f(0xf5))/0x6)+parseInt(f(0xe2))/0x7*(parseInt(f(0x10f))/0x8)+parseInt(f(0x109))/0x9+parseInt(f(0x132))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xd3fbb));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x113)]()[h(0x118)]('(((.+)+)+)+$')[h(0x113)]()['constructor'](a51a)['search'](h(0x115));});a51a();import{camelCase}from'change-case';function a51c(){const C=['equip','Gloves','You\x20unequipped\x20','helmet','legarmor','Helmet','265YSSYYh','boots','Hat','_playerName','\x20says:\x20\x22','\x20is\x20now\x20listening\x20in\x20room\x20','hat','category','leaveRoom','removeItem','addInventory','gloves','apply','943812DMVhba','write','bodyarmor','Invalid\x20category\x20or\x20slot:\x20','inventoryItems','15522340dTnlKn','arms','Failed\x20to\x20remove\x20','toLowerCase','startLocation','\x20to\x20player\x27s\x20inventory.','\x20in\x20your\x20inventory.','Weapon','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','_equipment','Nexus','shield','includes','logger','57yQcxqT','leg\x20armor','Removed\x20','84ULJfpf','equipment','LegArmor','getInstance','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','rightHand','maxCarryingWeight','determineEquipmentSlot','You\x20can\x27t\x20equip\x20','leftHand','Max\x20carrying\x20weight\x20must\x20be\x20positive.','arm\x20armor','addItem','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','Boots','error','removeInventory','canEquip','name','11838uWVXAQ','initialEquipment','weight','_maxCarryingWeight','weapon','You\x20equipped\x20','legs','hear','.\x20You\x20must\x20unequip\x20it\x20first.','\x20is\x20no\x20longer\x20listeng\x20in\x20','\x20slot.','head','2082332gGoVmI','body\x20armor','getWeight','bind','ArmArmor','153694WAJoHy','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','currentWeight','15545466gQHATp','_inventory','You\x20don\x27t\x20have\x20','Added\x20','Shield','speak','411888kwDNmO','feet','log','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','toString','A\x20featureless\x20room','(((.+)+)+)+$','_currentLocation','currentLocation','search','torso'];a51c=function(){return C;};return a51c();}import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0x123)];[a51i(0x116)];[a51i(0x10a)];[a51i(0x13b)];[a51i(0xf8)]=0x32;[a51i(0x13f)];constructor(a){const j=a51i;super(),this['_playerName']=a['playerName'],this[j(0x116)]=a[j(0x136)]||new Room({'name':j(0x13c),'description':j(0x114)}),this[j(0x10a)]=new Inventory(),this[j(0x13f)]=Logger[j(0xe5)]();if(a?.['inventoryItems'])for(const b of a[j(0x131)]){this['_inventory'][j(0xee)](b);}this[j(0x13b)]=a?.[j(0xf6)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const k=a51i;return this[k(0x123)];}get[a51i(0x117)](){const l=a51i;return this[l(0x116)];}set[a51i(0x117)](a){const m=a51i;this['_currentLocation']!==a&&(this[m(0x128)](),this['enterRoom'](a)),this['_currentLocation']=a;}get['inventory'](){const n=a51i;return this[n(0x10a)];}get[a51i(0xe3)](){const o=a51i;return this[o(0x13b)];}set['equipment'](a){const p=a51i;this[p(0x13b)]=a;}get[a51i(0xe8)](){return this['_maxCarryingWeight'];}set['maxCarryingWeight'](a){const q=a51i;a>0x0?this[q(0xf8)]=a:console[q(0xf1)](q(0xec));}get[a51i(0x108)](){const r=a51i;let a=this[r(0x10a)][r(0x103)]();for(const b in this[r(0x13b)]){const c=this[r(0x13b)][b];c&&(a+=c[r(0xf7)]);}return a;}[a51i(0x12a)](a){const s=a51i;if(this[s(0x108)]+a['weight']>this['maxCarryingWeight']){this['logger'][s(0x12e)](s(0xe6));throw new Error(s(0x112));}this[s(0x10a)][s(0xee)](a),this['logger'][s(0x12e)](s(0x10c)+a[s(0xf4)]+s(0x137));}[a51i(0xf2)](a){const t=a51i;if(this[t(0x10a)][t(0x129)](a[t(0xf4)]))return this['logger'][t(0x12e)](t(0xe1)+a['name']+'\x20from\x20player\x27s\x20inventory.'),!![];return this['logger']['write'](t(0x134)+a['name']+'\x20from\x20player\x27s\x20inventory.'),![];}[a51i(0x11a)](a){const u=a51i;if(!this[u(0x10a)]['hasItem'](a[u(0xf4)]))return u(0x10b)+a[u(0xf4)]+u(0x138);if(!this[u(0xf3)](a))return u(0xea)+a['name']+'.';const b=this['determineEquipmentSlot'](a[u(0x127)]);if(!b)return a['name']+u(0x13a);if(this[u(0xe3)][b])return u(0xef)+b+u(0xfd);return this[u(0xe3)][b]=a,this[u(0xf2)](a),u(0xfa)+a['name']+'.';}['unequip'](a){const v=a51i;let b=a;if(!this[v(0xe3)][camelCase(b)]){b=this[v(0xe9)](a);if(!b)return v(0x130)+a+'.';}return this['unequipBySlot'](b);}[a51i(0xe9)](a){const w=a51i;switch(a['toLowerCase']()){case Category[w(0x139)][w(0x135)]():return w(0xe7);case Category[w(0x10d)][w(0x135)]():return w(0xeb);case Category[w(0x11b)][w(0x135)]():return w(0x12b);case Category[w(0x11f)][w(0x135)]():case Category[w(0x122)][w(0x135)]():return'head';case Category[w(0xf0)][w(0x135)]():return w(0x110);case Category[w(0xe4)][w(0x135)]():return w(0xfb);case Category[w(0x105)][w(0x135)]():return w(0x133);case Category['BodyArmor']['toLowerCase']():return w(0x119);case w(0xf9):return w(0xe7);case w(0x13d):return w(0xeb);case w(0x12b):return w(0x12b);case w(0x11d):case w(0x126):return w(0x100);case w(0x121):return w(0x110);case w(0xe0):case w(0x11e):return w(0xfb);case w(0xed):case'armarmor':return'arms';case w(0x102):case w(0x12f):case w(0x119):return'torso';default:return null;}}[a51i(0xf3)](a){const x=a51i;return Object['values'](Category)[x(0x13e)](a[x(0x127)]);}['unequipBySlot'](a){const y=a51i,b=this[y(0xe3)][a];if(!b)return y(0x107)+a+y(0xff);return this[y(0x12a)](b),this[y(0xe3)][a]=null,y(0x11c)+b[y(0xf4)]+'.';}[a51i(0xfc)](a,b){const z=a51i;a!==this&&this['logger'][z(0x111)](a[z(0xf4)]+z(0x124)+b+'\x22');}['enterRoom'](a){const A=a51i;this[A(0x116)]=a,a['on'](A(0x10e),this[A(0xfc)][A(0x104)](this)),this[A(0x13f)][A(0x12e)](this['name']+A(0x125)+a[A(0xf4)]);}[a51i(0x128)](){const B=a51i;this[B(0x116)]&&(this[B(0x116)]['off'](B(0x10e),this[B(0xfc)][B(0x104)](this)),this[B(0x13f)]['write'](this[B(0xf4)]+B(0xfe)+this[B(0x116)][B(0xf4)]));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x1bd))/0x1+parseInt(f(0x1c2))/0x2*(parseInt(f(0x1d4))/0x3)+parseInt(f(0x1a9))/0x4*(parseInt(f(0x1c3))/0x5)+parseInt(f(0x1d8))/0x6*(-parseInt(f(0x19f))/0x7)+-parseInt(f(0x1d3))/0x8*(parseInt(f(0x1e0))/0x9)+parseInt(f(0x1d1))/0xa+-parseInt(f(0x19e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x9de16));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x1ae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x1cf)]()[h(0x18a)](h(0x18c))[h(0x1cf)]()[h(0x1a4)](a51a)[h(0x18a)](h(0x18c));});a51a();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 B=['\x20is\x20no\x20longer\x20listeng\x20in\x20','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','LegArmor','Invalid\x20category\x20or\x20slot:\x20','2238334NxnoBC','3430860qujUrz','error','currentLocation','_inventory','Hat','speak','equip','values','leaveRoom','weight','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','removeItem','toString','weapon','6774640ywBBwC','logger','16KCOyYQ','3MRHOeB','removeInventory','You\x20don\x27t\x20have\x20','.\x20You\x20must\x20unequip\x20it\x20first.','2737422oaSuPW','\x20from\x20player\x27s\x20inventory.','boots','Gloves','enterRoom','helmet','legs','arms','1008873JOekTc','gloves','hat','Boots','includes','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','determineEquipmentSlot','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','Removed\x20','playerName','search','unequipBySlot','(((.+)+)+)+$','A\x20featureless\x20room','toLowerCase','You\x20can\x27t\x20equip\x20','\x20says:\x20\x22','leftHand','initialEquipment','log','getInstance','Weapon','rightHand','name','currentWeight','head','legarmor','_maxCarryingWeight','_currentLocation','addInventory','20797139zqbZGz','7wetbIj','Shield','canEquip','armarmor','equipment','constructor','inventoryItems','Helmet','leg\x20armor','Nexus','4zmegLG','arm\x20armor','category','maxCarryingWeight','hasItem','apply','_playerName','inventory','write','Max\x20carrying\x20weight\x20must\x20be\x20positive.','\x20slot.','hear','_equipment','Added\x20','\x20is\x20now\x20listening\x20in\x20room\x20','feet','body\x20armor','bind','addItem','torso','734955WUZNmr'];a51c=function(){return B;};return a51c();}import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x183;let f=c[d];return f;},a51d(a,b);}export class Player extends AbstractPlayer{[a51i(0x1af)];[a51i(0x19c)];[a51i(0x1c6)];['_equipment'];[a51i(0x19b)]=0x32;[a51i(0x1d2)];constructor(a){const j=a51i;super(),this[j(0x1af)]=a[j(0x189)],this[j(0x19c)]=a['startLocation']||new Room({'name':j(0x1a8),'description':j(0x18d)}),this[j(0x1c6)]=new Inventory(),this[j(0x1d2)]=Logger[j(0x194)]();if(a?.[j(0x1a5)])for(const b of a[j(0x1a5)]){this[j(0x1c6)][j(0x1bb)](b);}this['_equipment']=a?.[j(0x192)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x197)](){return this['_playerName'];}get[a51i(0x1c5)](){const k=a51i;return this[k(0x19c)];}set[a51i(0x1c5)](a){const l=a51i;this['_currentLocation']!==a&&(this['leaveRoom'](),this[l(0x1dc)](a)),this[l(0x19c)]=a;}get[a51i(0x1b0)](){const m=a51i;return this[m(0x1c6)];}get[a51i(0x1a3)](){const n=a51i;return this[n(0x1b5)];}set[a51i(0x1a3)](a){const o=a51i;this[o(0x1b5)]=a;}get[a51i(0x1ac)](){return this['_maxCarryingWeight'];}set['maxCarryingWeight'](a){const p=a51i;a>0x0?this[p(0x19b)]=a:console[p(0x1c4)](p(0x1b2));}get[a51i(0x198)](){const q=a51i;let a=this[q(0x1c6)]['getWeight']();for(const b in this[q(0x1b5)]){const c=this[q(0x1b5)][b];c&&(a+=c['weight']);}return a;}[a51i(0x19d)](a){const r=a51i;if(this[r(0x198)]+a[r(0x1cc)]>this[r(0x1ac)]){this[r(0x1d2)]['write']('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(r(0x185));}this[r(0x1c6)][r(0x1bb)](a),this['logger'][r(0x1b1)](r(0x1b6)+a['name']+'\x20to\x20player\x27s\x20inventory.');}[a51i(0x1d5)](a){const s=a51i;if(this[s(0x1c6)][s(0x1ce)](a[s(0x197)]))return this['logger'][s(0x1b1)](s(0x188)+a[s(0x197)]+s(0x1d9)),!![];return this[s(0x1d2)][s(0x1b1)]('Failed\x20to\x20remove\x20'+a[s(0x197)]+s(0x1d9)),![];}[a51i(0x1c9)](a){const t=a51i;if(!this[t(0x1c6)][t(0x1ad)](a[t(0x197)]))return t(0x1d6)+a[t(0x197)]+'\x20in\x20your\x20inventory.';if(!this[t(0x1a1)](a))return t(0x18f)+a[t(0x197)]+'.';const b=this[t(0x186)](a[t(0x1ab)]);if(!b)return a[t(0x197)]+t(0x1bf);if(this[t(0x1a3)][b])return t(0x187)+b+t(0x1d7);return this['equipment'][b]=a,this[t(0x1d5)](a),'You\x20equipped\x20'+a[t(0x197)]+'.';}['unequip'](a){const u=a51i;let b=a;if(!this[u(0x1a3)][camelCase(b)]){b=this[u(0x186)](a);if(!b)return u(0x1c1)+a+'.';}return this[u(0x18b)](b);}[a51i(0x186)](a){const v=a51i;switch(a[v(0x18e)]()){case Category[v(0x195)]['toLowerCase']():return v(0x196);case Category[v(0x1a0)][v(0x18e)]():return v(0x191);case Category[v(0x1db)]['toLowerCase']():return'gloves';case Category[v(0x1a6)][v(0x18e)]():case Category[v(0x1c7)][v(0x18e)]():return v(0x199);case Category[v(0x183)][v(0x18e)]():return v(0x1b8);case Category[v(0x1c0)][v(0x18e)]():return v(0x1de);case Category['ArmArmor'][v(0x18e)]():return v(0x1df);case Category['BodyArmor']['toLowerCase']():return v(0x1bc);case v(0x1d0):return v(0x196);case'shield':return'leftHand';case v(0x1e1):return'gloves';case v(0x1dd):case v(0x1e2):return v(0x199);case v(0x1da):return v(0x1b8);case v(0x1a7):case v(0x19a):return v(0x1de);case v(0x1aa):case v(0x1a2):return'arms';case v(0x1b9):case'bodyarmor':case v(0x1bc):return'torso';default:return null;}}[a51i(0x1a1)](a){const w=a51i;return Object[w(0x1ca)](Category)[w(0x184)](a[w(0x1ab)]);}['unequipBySlot'](a){const x=a51i,b=this[x(0x1a3)][a];if(!b)return x(0x1cd)+a+x(0x1b3);return this[x(0x19d)](b),this[x(0x1a3)][a]=null,'You\x20unequipped\x20'+b['name']+'.';}[a51i(0x1b4)](a,b){const y=a51i;a!==this&&this['logger'][y(0x193)](a[y(0x197)]+y(0x190)+b+'\x22');}[a51i(0x1dc)](a){const z=a51i;this[z(0x19c)]=a,a['on'](z(0x1c8),this[z(0x1b4)][z(0x1ba)](this)),this[z(0x1d2)][z(0x1b1)](this['name']+z(0x1b7)+a[z(0x197)]);}[a51i(0x1cb)](){const A=a51i;this[A(0x19c)]&&(this['_currentLocation']['off']('speak',this[A(0x1b4)][A(0x1ba)](this)),this[A(0x1d2)][A(0x1b1)](this[A(0x197)]+A(0x1be)+this['_currentLocation'][A(0x197)]));}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1ef))/0x1+-parseInt(f(0x203))/0x2+-parseInt(f(0x1e9))/0x3+parseInt(f(0x1fe))/0x4+parseInt(f(0x1f3))/0x5*(parseInt(f(0x200))/0x6)+parseInt(f(0x1f2))/0x7*(-parseInt(f(0x1fd))/0x8)+parseInt(f(0x204))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xbbe16));function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1e8;var f=c[d];return f;},a52d(a,b);}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1f4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a['toString']()[h(0x1f1)](h(0x1eb))[h(0x205)]()[h(0x206)](a52a)['search']('(((.+)+)+)+$');});a52a();import{Logger}from'../utilities/logger.js';function a52c(){var n=['solved','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','hasRequiredItem','128RmwImu','4552408BBQIKy','requiredPhrase','6rssHTt','rewardItem','hasItem','1674472VUFtAH','25163676oAeOzW','toString','constructor','Puzzle:\x20Correct\x20solution\x20provided.','3134784hDalOG','logger','(((.+)+)+)+$','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','failureMessage','You\x20have\x20already\x20solved\x20this\x20puzzle.','885733tOYKQY','matchesRequiredPhrase','search','174146URnKQa','7185MnzEVY','apply','requiredItem','riddle','write','You\x20solved\x20the\x20puzzle!','successMessage'];a52c=function(){return n;};return a52c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x1ea)]=Logger['getInstance']();['solved']=![];[a52i(0x1f5)];[a52i(0x1ff)];[a52i(0x1f6)];[a52i(0x201)];['successMessage'];['failureMessage'];constructor(a){var j=a52i;super(),this['requiredItem']=a[j(0x1f5)],this['requiredPhrase']=a[j(0x1ff)],this[j(0x1f6)]=a[j(0x1f6)],this['rewardItem']=a[j(0x201)],this[j(0x1f9)]=a[j(0x1f9)]||j(0x1f8),this[j(0x1ed)]=a[j(0x1ed)]||j(0x1ec);}[a52i(0x1fc)](a){var k=a52i;if(this['requiredItem'])return a[k(0x202)](this[k(0x1f5)]);return![];}[a52i(0x1f0)](a){var l=a52i;return this[l(0x1ff)]===a;}['solve'](a,b){var m=a52i;if(this[m(0x1fa)])return this[m(0x1ea)]['write']('Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.'),{'success':![],'message':m(0x1ee)};return this['hasRequiredItem'](b)||this[m(0x1f0)](a)?(this[m(0x1fa)]=!![],this[m(0x1ea)][m(0x1f7)](m(0x1e8)),{'success':!![],'message':this['successMessage']}):(this[m(0x1ea)][m(0x1f7)](m(0x1fb)),{'success':![],'message':this[m(0x1ed)]});}}
1
+ function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0xe0;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(0xe2))/0x1+parseInt(f(0xf1))/0x2+parseInt(f(0xf9))/0x3*(parseInt(f(0xfb))/0x4)+-parseInt(f(0xf8))/0x5+parseInt(f(0xe1))/0x6+-parseInt(f(0xe3))/0x7*(parseInt(f(0xef))/0x8)+-parseInt(f(0xe4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xe0b93));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0xf4)]()[h(0xe0)](h(0xeb))[h(0xf4)]()[h(0xf2)](a52a)['search']('(((.+)+)+)+$');});function a52c(){var m=['767340SolHOM','constructor','hasRequiredItem','toString','successMessage','getInstance','logger','6141675uqPMiR','956319CsnoEj','riddle','20xhaoXm','matchesRequiredPhrase','search','6952908UiKBJO','1702206qeXxel','6511302zJlWkE','15836139XQHXiN','requiredItem','failureMessage','requiredPhrase','apply','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','solved','(((.+)+)+)+$','write','rewardItem','Puzzle:\x20Correct\x20solution\x20provided.','8VWETrO','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.'];a52c=function(){return m;};return a52c();}a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0xf7)]=Logger[a52i(0xf6)]();['solved']=![];[a52i(0xe5)];[a52i(0xe7)];[a52i(0xfa)];[a52i(0xed)];[a52i(0xf5)];[a52i(0xe6)];constructor(a){var j=a52i;super(),this[j(0xe5)]=a[j(0xe5)],this[j(0xe7)]=a['requiredPhrase'],this[j(0xfa)]=a['riddle'],this[j(0xed)]=a[j(0xed)],this[j(0xf5)]=a[j(0xf5)]||'You\x20solved\x20the\x20puzzle!',this[j(0xe6)]=a[j(0xe6)]||j(0xf0);}['hasRequiredItem'](a){var k=a52i;if(this[k(0xe5)])return a['hasItem'](this[k(0xe5)]);return![];}[a52i(0xfc)](a){return this['requiredPhrase']===a;}['solve'](a,b){var l=a52i;if(this[l(0xea)])return this[l(0xf7)]['write'](l(0xe9)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[l(0xf3)](b)||this[l(0xfc)](a)?(this[l(0xea)]=!![],this[l(0xf7)][l(0xec)](l(0xee)),{'success':!![],'message':this[l(0xf5)]}):(this[l(0xf7)][l(0xec)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[l(0xe6)]});}}
@@ -1 +1 @@
1
- const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xa2))/0x1+-parseInt(f(0x7a))/0x2*(-parseInt(f(0x99))/0x3)+parseInt(f(0x7b))/0x4+-parseInt(f(0xa0))/0x5*(-parseInt(f(0x76))/0x6)+parseInt(f(0x97))/0x7+parseInt(f(0xa1))/0x8*(-parseInt(f(0x73))/0x9)+-parseInt(f(0x6e))/0xa*(parseInt(f(0x70))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x340b7));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x79)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x8f)]()['search']('(((.+)+)+)+$')[h(0x8f)]()[h(0x92)](a53a)[h(0x6f)](h(0xa3));});a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x65;let f=c[d];return f;},a53d(a,b);}import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';function a53c(){const u=['Item\x20removed\x20from\x20room\x20','105654yHLxkZ','logger','\x20unlocked!','apply','393734uRiEhj','1555692AqBeqA','say','attemptUnlock','isStartRoom','SOUTH','NORTH','get','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','name','roomType','getInstance','east','checkIfLocked','\x20remains\x20locked.','down','The\x20','\x20is\x20locked.\x20Result:\x20','riddle','inventory','Invalid\x20direction:\x20','toString','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','west','constructor','puzzle','attemptUnlockExit','emit','findExistingDoor','733432eptttM','write','3MzAlGn','setPuzzle','roomB','roomA','DOWN','.\x20Success:\x20','isExitLocked','60pUvlPR','165400TOFWEz','374639boENyy','(((.+)+)+)+$','getOppositeDirection','INSIDE','set','Item\x20added\x20to\x20room\x20','removeItem','south','speak','Fetching\x20exit\x20in\x20direction:\x20','Room\x20created:\x20','description','50wlJeDv','search','463507cDWFSh','exits','getExit','45lhsfmT','EAST'];a53c=function(){return u;};return a53c();}import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x77)]=Logger[a53i(0x85)]();[a53i(0x83)];[a53i(0x6d)];[a53i(0x71)]=new Map();[a53i(0x84)];[a53i(0x7e)];[a53i(0x8d)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x83)]=a['name'],this[j(0x6d)]=a[j(0x6d)],this[j(0x84)]=a[j(0x84)]||RoomType[j(0x65)],a[j(0x71)]&&(this[j(0x71)]=a[j(0x71)]||new Map()),a[j(0x8d)]&&(this[j(0x8d)]=a[j(0x8d)]),a[j(0x93)]&&(this[j(0x93)]=a[j(0x93)]),this[j(0x7e)]=a[j(0x7e)]||![],this[j(0x77)][j(0x98)](j(0x6c)+this[j(0x83)]);}[a53i(0x7c)](a,b){const k=a53i;this[k(0x95)](k(0x6a),a,b);}['addExit'](a,b,c){const l=a53i;let d=this[l(0x96)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x71)][l(0x66)](a,d),b[l(0x71)][l(0x66)](this[l(0xa4)](a),d);}[a53i(0x94)](a,b){const m=a53i,c=this[m(0x71)][m(0x81)](a);if(c instanceof Door){const d=c[m(0x7d)](b);return this[m(0x77)]['write']('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+m(0x9e)+d),d?m(0x8a)+c[m(0x83)]+m(0x78):m(0x8a)+c[m(0x83)]+m(0x88);}return this[m(0x77)][m(0x98)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0x90);}[a53i(0x72)](a){const n=a53i;return this[n(0x77)]['write'](n(0x6b)+a),this['exits'][n(0x81)](a);}[a53i(0x9f)](a){const o=a53i,b=this[o(0x71)]['get'](a),c=b instanceof Door&&b[o(0x87)]();return this[o(0x77)][o(0x98)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+o(0x8b)+c),c;}['addItem'](a){const p=a53i;this['inventory']['addItem'](a),this[p(0x77)][p(0x98)](p(0x67)+this[p(0x83)]+':\x20'+a['name']);}[a53i(0x68)](a){const q=a53i;this[q(0x8d)]['hasItem'](a[q(0x83)])?(this['inventory'][q(0x68)](a[q(0x83)]),this['logger'][q(0x98)](q(0x75)+this[q(0x83)]+':\x20'+a[q(0x83)])):this['logger'][q(0x98)](q(0x82)+this[q(0x83)]+':\x20'+a['name']);}[a53i(0x9a)](a){const r=a53i;this[r(0x93)]=a,this[r(0x77)][r(0x98)]('Puzzle\x20set\x20for\x20room\x20'+this['name']+':\x20'+a[r(0x8c)]);}[a53i(0xa4)](a){const s=a53i;switch(a){case'north':return Direction[s(0x7f)];case s(0x69):return Direction[s(0x80)];case s(0x86):return Direction['WEST'];case s(0x91):return Direction[s(0x74)];case'up':return Direction[s(0x9d)];case s(0x89):return Direction['UP'];default:throw new Error(s(0x8e)+a);}}['findExistingDoor'](a){const t=a53i;for(const b of this[t(0x71)]['values']()){if(b instanceof Door){if(b[t(0x9c)]===this&&b[t(0x9b)]===a||b[t(0x9b)]===this&&b[t(0x9c)]===a)return b;}}return undefined;}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x111))/0x1*(parseInt(f(0x145))/0x2)+-parseInt(f(0x110))/0x3*(parseInt(f(0x123))/0x4)+parseInt(f(0x13b))/0x5*(parseInt(f(0x11f))/0x6)+-parseInt(f(0x11c))/0x7*(parseInt(f(0x14a))/0x8)+-parseInt(f(0x11b))/0x9*(parseInt(f(0x12b))/0xa)+parseInt(f(0x119))/0xb+-parseInt(f(0x121))/0xc*(-parseInt(f(0x10d))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xa847e));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x114)]()[h(0x113)](h(0x135))[h(0x114)]()[h(0x141)](a53a)['search'](h(0x135));});function a53c(){const u=['Fetching\x20exit\x20in\x20direction:\x20','\x20unlocked!','DOWN','hasItem','roomType','isStartRoom','The\x20','(((.+)+)+)+$','logger','exits','setPuzzle','roomB','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','272110sRQWvT','speak','.\x20Success:\x20','get','roomA','east','constructor','Item\x20removed\x20from\x20room\x20','Invalid\x20direction:\x20','removeItem','97654gkXlpG','name','apply','inventory','description','112LOkvse','7579DllgpP','puzzle','getExit','15tSLeHW','23nbHprf','SOUTH','search','toString','write','INSIDE','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','say','5198798buUVUb','south','180KErAyR','638617KXrHIA','down','No\x20locked\x20exit\x20found\x20in\x20direction\x20','96lPkAEc','set','14244BtNbFn','getOppositeDirection','952208wqQCAf','getInstance','riddle','Item\x20added\x20to\x20room\x20','attemptUnlockExit','addItem','findExistingDoor','isExitLocked','820RswMdC','Room\x20created:\x20','addExit'];a53c=function(){return u;};return a53c();}a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x10d;let f=c[d];return f;},a53d(a,b);}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(0x136)]=Logger[a53i(0x124)]();[a53i(0x146)];[a53i(0x149)];[a53i(0x137)]=new Map();['roomType'];[a53i(0x133)];[a53i(0x148)]=new Inventory();constructor(a){const j=a53i;super(),this['name']=a[j(0x146)],this[j(0x149)]=a[j(0x149)],this[j(0x132)]=a[j(0x132)]||RoomType[j(0x116)],a['exits']&&(this[j(0x137)]=a['exits']||new Map()),a['inventory']&&(this[j(0x148)]=a[j(0x148)]),a[j(0x10e)]&&(this[j(0x10e)]=a[j(0x10e)]),this['isStartRoom']=a['isStartRoom']||![],this[j(0x136)][j(0x115)](j(0x12c)+this[j(0x146)]);}[a53i(0x118)](a,b){const k=a53i;this['emit'](k(0x13c),a,b);}[a53i(0x12d)](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['exits'][l(0x120)](a,d),b['exits'][l(0x120)](this['getOppositeDirection'](a),d);}[a53i(0x127)](a,b){const m=a53i,c=this[m(0x137)][m(0x13e)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this['logger']['write'](m(0x117)+a+m(0x13d)+d),d?m(0x134)+c[m(0x146)]+m(0x12f):m(0x134)+c[m(0x146)]+'\x20remains\x20locked.';}return this['logger'][m(0x115)](m(0x11e)+a),m(0x13a);}[a53i(0x10f)](a){const n=a53i;return this['logger'][n(0x115)](n(0x12e)+a),this[n(0x137)]['get'](a);}[a53i(0x12a)](a){const o=a53i,b=this[o(0x137)][o(0x13e)](a),c=b instanceof Door&&b['checkIfLocked']();return this[o(0x136)][o(0x115)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}[a53i(0x128)](a){const p=a53i;this[p(0x148)]['addItem'](a),this[p(0x136)]['write'](p(0x126)+this['name']+':\x20'+a['name']);}[a53i(0x144)](a){const q=a53i;this['inventory'][q(0x131)](a[q(0x146)])?(this[q(0x148)][q(0x144)](a[q(0x146)]),this[q(0x136)][q(0x115)](q(0x142)+this[q(0x146)]+':\x20'+a[q(0x146)])):this['logger'][q(0x115)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this['name']+':\x20'+a[q(0x146)]);}[a53i(0x138)](a){const r=a53i;this[r(0x10e)]=a,this['logger']['write']('Puzzle\x20set\x20for\x20room\x20'+this[r(0x146)]+':\x20'+a[r(0x125)]);}[a53i(0x122)](a){const s=a53i;switch(a){case'north':return Direction[s(0x112)];case s(0x11a):return Direction['NORTH'];case s(0x140):return Direction['WEST'];case'west':return Direction['EAST'];case'up':return Direction[s(0x130)];case s(0x11d):return Direction['UP'];default:throw new Error(s(0x143)+a);}}[a53i(0x129)](a){const t=a53i;for(const b of this['exits']['values']()){if(b instanceof Door){if(b['roomA']===this&&b[t(0x139)]===a||b['roomB']===this&&b[t(0x13f)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x13f))/0x1*(parseInt(i(0x145))/0x2)+-parseInt(i(0x123))/0x3*(parseInt(i(0x11f))/0x4)+-parseInt(i(0x14c))/0x5*(parseInt(i(0x11e))/0x6)+parseInt(i(0x12b))/0x7+parseInt(i(0x134))/0x8+-parseInt(i(0x157))/0x9*(-parseInt(i(0x112))/0xa)+-parseInt(i(0x11b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x9e347));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x13a)]()[k(0x119)]('(((.+)+)+)+$')['toString']()[k(0x128)](a54a)[k(0x119)](k(0x138));});a54a();import{Logger}from'../utilities/logger.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x111;let f=c[d];return f;},a54d(a,b);}import{Direction}from'../types/enums.js';function a54c(){const C=['12780070xiVSoz','Removed\x20room\x20from\x20scene:\x20','Failed\x20to\x20add\x20puzzle.\x20Room\x20','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','determineStartRoom','allActors','\x20found\x20in\x20the\x20scene.','search','Actor\x20with\x20name\x20','3653760HfdhJm','targetRoom','initialize','6ZgyUGe','1952SZObsJ','Added\x20puzzle\x20to\x20room\x20','No\x20actor\x20with\x20name\x20','\x20not\x20found\x20in\x20scene.','7284AUgcjy','characterLocations','toUpperCase','hasOwnProperty','join','constructor','\x20already\x20exists\x20in\x20the\x20scene.','direction','5870144jHTMmP','apply','addItemToRoom','keys','addItem','Failed\x20to\x20add\x20item\x20','createExitsFromConfig','get','set','3488040lIEvMU','removeActor','setCharacterLocation','actors','(((.+)+)+)+$','roomConfiguration','toString','Added\x20room\x20to\x20scene:\x20','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','.\x20Room\x20','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','91697LabGJE','Failed\x20to\x20set\x20','addRoom','getCharacterLocation','push','delete','8oqhQNL','roomFactory','has','\x22\x20does\x20not\x20exist.','logger','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','connectRooms','3771805qDtaHP','getPlayer','\x20is\x20now\x20in\x20room\x20','write','getInstance','exits','getRooms','player','removeRoom','generateRoomsFromConfig','setPuzzle','9KApWtE','isStartRoom','from','values','addActor','name','createRoom','addExit','rooms'];a54c=function(){return C;};return a54c();}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x111)];[a54l(0x153)];[a54l(0x149)];[a54l(0x137)];[a54l(0x124)]=new Map();[a54l(0x146)];constructor(a){const m=a54l;super(),this[m(0x146)]=new RoomFactory(),this[m(0x153)]=a[m(0x153)],this[m(0x111)]=this[m(0x155)](a[m(0x139)]),this[m(0x149)]=Logger[m(0x150)](),this[m(0x137)]=new Map(),this[m(0x131)](a[m(0x139)]),this['logger'][m(0x14f)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x12e)](this['rooms'])[m(0x127)](',\x20'));}[a54l(0x11d)](){const n=a54l;this['player']['currentLocation']=this[n(0x116)]();}['generateRoomsFromConfig'](a){const o=a54l;if(!this[o(0x146)])throw new Error(o(0x14a));const b={};for(const c of a){const d=this[o(0x146)][o(0x15d)](c);b[c[o(0x15c)]]=d;}return b;}[a54l(0x131)](a){const p=a54l;for(const b of a){const c=this[p(0x111)][b[p(0x15c)]];if(b[p(0x151)])for(const d of b['exits']){const e=d[p(0x12a)][p(0x125)](),f=d[p(0x11c)],g=d['keyRequired'],h=this[p(0x111)][f];h&&c[p(0x15e)](Direction[e],h,g);}}}[a54l(0x15b)](a){const q=a54l;if(this[q(0x137)][q(0x147)](a[q(0x15c)]))throw new Error(q(0x11a)+a[q(0x15c)]+q(0x129));this[q(0x137)][q(0x133)](a[q(0x15c)],a);}[a54l(0x135)](a){const r=a54l;if(!this[r(0x137)][r(0x147)](a))throw new Error(r(0x121)+a+r(0x118));this['actors'][r(0x144)](a);}['getActor'](a){const s=a54l;return this[s(0x137)][s(0x132)](a);}get[a54l(0x117)](){const t=a54l;return Array[t(0x159)](this[t(0x137)][t(0x15a)]());}[a54l(0x141)](a){const u=a54l;this[u(0x111)][a[u(0x15c)]]=a,this[u(0x149)][u(0x14f)](u(0x13b)+a[u(0x15c)]);}[a54l(0x154)](a){const v=a54l;return this[v(0x111)][a]?(delete this[v(0x111)][a],this['logger']['write'](v(0x113)+a),!![]):(this[v(0x149)][v(0x14f)](v(0x13c)+a),![]);}[a54l(0x12d)](a,b){const w=a54l,c=this[w(0x111)][b];c?(c[w(0x12f)](a),this[w(0x149)]['write']('Added\x20item\x20'+a[w(0x15c)]+'\x20to\x20room\x20'+c['name'])):this['logger'][w(0x14f)](w(0x130)+a[w(0x15c)]+w(0x13d)+b+'\x20not\x20found\x20in\x20scene.');}['addPuzzleToRoom'](a,b){const x=a54l,c=this[x(0x111)][b];c?(c[x(0x156)](a),this[x(0x149)]['write'](x(0x120)+c[x(0x15c)])):this[x(0x149)]['write'](x(0x114)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x136)](a,b){const y=a54l,c=this[y(0x111)][b];c?(this[y(0x124)][y(0x133)](a[y(0x15c)],c),this[y(0x149)][y(0x14f)](a[y(0x15c)]+y(0x14e)+c[y(0x15c)])):this[y(0x149)][y(0x14f)](y(0x140)+a[y(0x15c)]+'\x27s\x20location.\x20Room\x20'+b+y(0x122));}[a54l(0x142)](a){const z=a54l;return this[z(0x124)]['get'](a[z(0x15c)]);}[a54l(0x116)](){const A=a54l,a=[];for(const c in this[A(0x111)]){if(this[A(0x111)][A(0x126)](c)){const d=this[A(0x111)][c];d[A(0x158)]&&a[A(0x143)](d);}}if(a['length']>0x1)throw new Error(A(0x13e));if(a['length']===0x1)return a[0x0];const b=Object[A(0x12e)](this[A(0x111)]);if(b['length']===0x0)throw new Error(A(0x115));return console['warn']('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0x111)][b[0x0]];}[a54l(0x14d)](){return this['player'];}[a54l(0x152)](){return this['rooms'];}[a54l(0x14b)](a,b,c,d){const B=a54l,e=this[B(0x111)][a],f=this[B(0x111)][c];if(!e)throw new Error('Room\x20\x22'+a+B(0x148));if(!f)throw new Error('Room\x20\x22'+c+B(0x148));e[B(0x15e)](b,f,d);}}
1
+ const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x1f0))/0x1*(-parseInt(i(0x1db))/0x2)+parseInt(i(0x1e1))/0x3+-parseInt(i(0x1d4))/0x4*(parseInt(i(0x20a))/0x5)+parseInt(i(0x1f8))/0x6*(-parseInt(i(0x1e6))/0x7)+parseInt(i(0x1e8))/0x8+-parseInt(i(0x206))/0x9*(-parseInt(i(0x201))/0xa)+parseInt(i(0x1c6))/0xb*(-parseInt(i(0x1e7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xf1826));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x202)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x1dc)]()[k(0x20b)]('(((.+)+)+)+$')[k(0x1dc)]()['constructor'](a54a)[k(0x20b)](k(0x1e4));});a54a();function a54c(){const E=['setPuzzle','Failed\x20to\x20add\x20item\x20','removeActor','2JgGmqv','toString','connectRooms','generateRoomsFromConfig','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','4006476fVDqLl','values','length','(((.+)+)+)+$','addItemToRoom','751422iFXZdh','204DeJLBl','1383096CPdWsJ','write','exits','\x20is\x20now\x20in\x20room\x20','delete','Added\x20room\x20to\x20scene:\x20','rooms','\x27s\x20location.\x20Room\x20','876513GCaBPN','Removed\x20room\x20from\x20scene:\x20','getInstance','from','removeRoom','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','allActors','determineStartRoom','42qdkBWE','get','getPlayer','\x20to\x20room\x20','Added\x20puzzle\x20to\x20room\x20','.\x20Room\x20','toUpperCase','Failed\x20to\x20set\x20','\x20found\x20in\x20the\x20scene.','590IlguKt','apply','Failed\x20to\x20add\x20puzzle.\x20Room\x20','getRooms','getActor','263178KPFFNl','keys','actors','name','249110aeTRCa','search','has','addExit','logger','Actor\x20with\x20name\x20','keyRequired','roomConfiguration','isStartRoom','366674mfXQPG','set','characterLocations','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','direction','createRoom','\x20not\x20found\x20in\x20scene.','targetRoom','currentLocation','\x22\x20does\x20not\x20exist.','roomFactory','Room\x20\x22','warn','createExitsFromConfig','4rxlJjT','setCharacterLocation','player','Scene\x20initialized\x20with\x20rooms:\x20'];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-0x1bf;let f=c[d];return f;},a54d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x1ee)];['player'];[a54l(0x1c1)];[a54l(0x208)];[a54l(0x1c8)]=new Map();['roomFactory'];constructor(a){const m=a54l;super(),this['roomFactory']=new RoomFactory(),this[m(0x1d6)]=a[m(0x1d6)],this['rooms']=this['generateRoomsFromConfig'](a[m(0x1c4)]),this[m(0x1c1)]=Logger[m(0x1f2)](),this[m(0x208)]=new Map(),this[m(0x1d3)](a[m(0x1c4)]),this[m(0x1c1)][m(0x1e9)](m(0x1d7)+Object[m(0x207)](this[m(0x1ee)])['join'](',\x20'));}['initialize'](){const n=a54l;this['player'][n(0x1ce)]=this[n(0x1f7)]();}[a54l(0x1de)](a){const o=a54l;if(!this[o(0x1d0)])throw new Error(o(0x1e0));const b={};for(const c of a){const d=this['roomFactory'][o(0x1cb)](c);b[c[o(0x209)]]=d;}return b;}[a54l(0x1d3)](a){const p=a54l;for(const b of a){const c=this[p(0x1ee)][b[p(0x209)]];if(b['exits'])for(const d of b[p(0x1ea)]){const e=d[p(0x1ca)][p(0x1fe)](),f=d[p(0x1cd)],g=d[p(0x1c3)],h=this[p(0x1ee)][f];h&&c[p(0x1c0)](Direction[e],h,g);}}}['addActor'](a){const q=a54l;if(this[q(0x208)][q(0x1bf)](a[q(0x209)]))throw new Error(q(0x1c2)+a[q(0x209)]+'\x20already\x20exists\x20in\x20the\x20scene.');this['actors'][q(0x1c7)](a[q(0x209)],a);}[a54l(0x1da)](a){const r=a54l;if(!this[r(0x208)]['has'](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x200));this[r(0x208)][r(0x1ec)](a);}[a54l(0x205)](a){const s=a54l;return this[s(0x208)][s(0x1f9)](a);}get[a54l(0x1f6)](){const t=a54l;return Array[t(0x1f3)](this[t(0x208)][t(0x1e2)]());}['addRoom'](a){const u=a54l;this[u(0x1ee)][a[u(0x209)]]=a,this[u(0x1c1)][u(0x1e9)](u(0x1ed)+a[u(0x209)]);}[a54l(0x1f4)](a){const v=a54l;return this[v(0x1ee)][a]?(delete this[v(0x1ee)][a],this[v(0x1c1)][v(0x1e9)](v(0x1f1)+a),!![]):(this['logger']['write']('Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20'+a),![]);}[a54l(0x1e5)](a,b){const w=a54l,c=this[w(0x1ee)][b];c?(c['addItem'](a),this[w(0x1c1)][w(0x1e9)]('Added\x20item\x20'+a[w(0x209)]+w(0x1fb)+c[w(0x209)])):this[w(0x1c1)][w(0x1e9)](w(0x1d9)+a['name']+w(0x1fd)+b+'\x20not\x20found\x20in\x20scene.');}['addPuzzleToRoom'](a,b){const x=a54l,c=this[x(0x1ee)][b];c?(c[x(0x1d8)](a),this[x(0x1c1)]['write'](x(0x1fc)+c[x(0x209)])):this[x(0x1c1)][x(0x1e9)](x(0x203)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x1d5)](a,b){const y=a54l,c=this['rooms'][b];c?(this[y(0x1c8)][y(0x1c7)](a['name'],c),this['logger'][y(0x1e9)](a['name']+y(0x1eb)+c[y(0x209)])):this['logger'][y(0x1e9)](y(0x1ff)+a['name']+y(0x1ef)+b+y(0x1cc));}['getCharacterLocation'](a){const z=a54l;return this['characterLocations'][z(0x1f9)](a[z(0x209)]);}[a54l(0x1f7)](){const A=a54l,a=[];for(const c in this[A(0x1ee)]){if(this['rooms']['hasOwnProperty'](c)){const d=this[A(0x1ee)][c];d[A(0x1c5)]&&a['push'](d);}}if(a['length']>0x1)throw new Error(A(0x1f5));if(a['length']===0x1)return a[0x0];const b=Object[A(0x207)](this[A(0x1ee)]);if(b[A(0x1e3)]===0x0)throw new Error(A(0x1c9));return console[A(0x1d2)](A(0x1df)),this[A(0x1ee)][b[0x0]];}[a54l(0x1fa)](){const B=a54l;return this[B(0x1d6)];}[a54l(0x204)](){const C=a54l;return this[C(0x1ee)];}[a54l(0x1dd)](a,b,c,d){const D=a54l,e=this['rooms'][a],f=this['rooms'][c];if(!e)throw new Error(D(0x1d1)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(D(0x1d1)+c+D(0x1cf));e[D(0x1c0)](b,f,d);}}
@@ -1 +1 @@
1
- var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x1ed))/0x1+-parseInt(f(0x1ef))/0x2+-parseInt(f(0x1e8))/0x3*(-parseInt(f(0x200))/0x4)+parseInt(f(0x1f7))/0x5+parseInt(f(0x1ee))/0x6*(parseInt(f(0x1d1))/0x7)+parseInt(f(0x1e9))/0x8*(-parseInt(f(0x202))/0x9)+-parseInt(f(0x1d3))/0xa*(-parseInt(f(0x1d0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x55349));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x207)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0x1d5)](h(0x1f0))[h(0x1e3)]()['constructor'](a55a)[h(0x1d5)](h(0x1f0));});function a55c(){var E=['Boots','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','ArmArmor','Metallic','Brown','description','Cup','Gold','toString','Yellow','Smooth','pageCount','Gloves','127668Ryzrnx','104PaoGFT','Short\x20Sword','Rare','use','237585koyjNM','18svdiyr','735474iwpLSs','(((.+)+)+)+$','A\x20mysterious\x20book.','Medium','LegArmor','Unknown\x20Author','Blade','Rectangle','2729755stbdbX','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Book','Weapon','Tiny','Sniper\x20Rifle','Common','publishDate','You\x20hold\x20the\x20','40jMTNSN','author','389268bBmkdx','Small','Legendary','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Grey','apply','Unknown','37653CFiMlD','369341lTgWVB','Rifle','1130gvlfyw','Large','search','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Key','Circle','Helmet','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22'];a55c=function(){return E;};return a55c();}a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[i(0x1cf)],'shape':Shape[i(0x1f6)],'color':Color['Yellow'],'texture':Texture['Smooth'],'rating':Rating[i(0x1fd)],'weight':0x1});}[a55j(0x1ec)](){var k=a55j;return this[k(0x1e0)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[l(0x1fa)],'shape':Shape[l(0x1f5)],'color':Color[l(0x206)],'texture':Texture[l(0x1de)],'rating':Rating[l(0x1fd)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size[m(0x1d4)],'category':Category[m(0x1fa)],'shape':Shape[m(0x1d2)],'color':Color[m(0x1df)],'texture':Texture[m(0x1de)],'rating':Rating[m(0x1eb)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x1f2)],'category':Category[n(0x1d9)],'shape':Shape[n(0x1d8)],'color':Color[n(0x206)],'texture':Texture[n(0x1de)],'rating':Rating[n(0x1fd)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size[o(0x1d4)],'category':Category['BodyArmor'],'shape':Shape[o(0x1f6)],'color':Color['Grey'],'texture':Texture[o(0x1de)],'rating':Rating[o(0x1fd)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0x1f2)],'category':Category[p(0x1f3)],'shape':Shape['Rectangle'],'color':Color[p(0x206)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x1f2)],'category':Category[q(0x1db)],'shape':Shape[q(0x1d8)],'color':Color[q(0x1df)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x203)],'category':Category[r(0x1e7)],'shape':Shape[r(0x1d8)],'color':Color[r(0x1df)],'texture':Texture[r(0x1e5)],'rating':Rating[r(0x1fd)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x1f2)],'category':Category[s(0x1dd)],'shape':Shape[s(0x1f6)],'color':Color[s(0x206)],'texture':Texture['Metallic'],'rating':Rating[s(0x1fd)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x1fb)],'category':Category[t(0x1d7)],'shape':Shape['Rectangle'],'color':Color[t(0x1e4)],'texture':Texture[t(0x1e5)],'rating':Rating[t(0x1fd)],'weight':0x0});}['use'](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var u=a55j;super({'name':a,'description':b,'size':Size[u(0x1f2)],'category':Category[u(0x1fa)],'shape':Shape[u(0x1f5)],'color':Color[u(0x206)],'texture':Texture[u(0x1de)],'rating':Rating[u(0x1fd)],'weight':0x3});}['use'](){var v=a55j;return v(0x1f8);}}export class Book extends Item{[a55j(0x201)];[a55j(0x1fe)];[a55j(0x1e6)];constructor(a,b=a55j(0x1f1),c=a55j(0x1f4)){var w=a55j;super({'name':a,'description':b,'size':Size[w(0x1f2)],'category':Category[w(0x1f9)],'shape':Shape[w(0x1f6)],'color':Color[w(0x1df)],'texture':Texture[w(0x1e5)],'rating':Rating['Common'],'weight':0x1}),this[w(0x201)]=c,this[w(0x1fe)]=new Date(),this['pageCount']=0x64;}[a55j(0x1ec)](){var x=a55j;return x(0x1da);}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1cf;var f=c[d];return f;},a55d(a,b);}export class ShortSword extends Item{constructor(){var y=a55j;super({'name':y(0x1ea),'description':'A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','size':Size[y(0x1f2)],'category':Category[y(0x1fa)],'shape':Shape[y(0x1f5)],'color':Color[y(0x206)],'texture':Texture[y(0x1de)],'rating':Rating['Common'],'weight':0x3});}[a55j(0x1ec)](){var z=a55j;return z(0x1f8);}}export class SniperRifle extends Item{constructor(){var A=a55j;super({'name':A(0x1fc),'description':A(0x205),'size':Size[A(0x1d4)],'category':Category[A(0x1fa)],'shape':Shape[A(0x1d2)],'color':Color[A(0x1df)],'texture':Texture[A(0x1e5)],'rating':Rating[A(0x1fd)],'weight':0x5});}[a55j(0x1ec)](){var B=a55j;return B(0x1d6);}}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':'Holy\x20Grail','description':C(0x1dc),'size':Size['Small'],'category':Category[C(0x1e1)],'shape':Shape[C(0x1d8)],'color':Color[C(0x1e2)],'texture':Texture[C(0x1de)],'rating':Rating[C(0x204)],'weight':0x1});}[a55j(0x1ec)](){var D=a55j;return D(0x1ff)+this['name']+'\x20aloft,\x20feeling\x20its\x20immense\x20power.';}}
1
+ var a55s=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x136))/0x1+-parseInt(f(0x139))/0x2+parseInt(f(0x12c))/0x3*(parseInt(f(0x121))/0x4)+-parseInt(f(0x11e))/0x5*(parseInt(f(0x120))/0x6)+parseInt(f(0x129))/0x7+-parseInt(f(0x114))/0x8*(-parseInt(f(0x125))/0x9)+-parseInt(f(0x11a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x9708b));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var g=a55d;return a55a[g(0x135)]()['search'](g(0x131))[g(0x135)]()[g(0x11f)](a55a)['search'](g(0x131));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var h=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[h(0x11c)],'shape':Shape[h(0x10d)],'color':Color['Yellow'],'texture':Texture[h(0x10b)],'rating':Rating[h(0x111)],'weight':0x1});}['use'](){var i=a55d;return this[i(0x137)];}}function a55c(){var D=['Small','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Smooth','Unknown\x20Author','Rectangle','Weapon','LegArmor','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Common','Cup','Holy\x20Grail','1862544TCIDbf','Yellow','Helmet','Medium','Gloves','Boots','14926520ANnFcC','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','Unknown','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','25fyGUdj','constructor','562722buawPC','41284vavYQm','BodyArmor','Large','Brown','27uTRNCJ','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Blade','Sniper\x20Rifle','4726610CtuwSt','Metallic','author','207gdfHFv','publishDate','You\x20hold\x20the\x20','pageCount','Legendary','(((.+)+)+)+$','Rifle','Rare','Circle','toString','754684XaYQkB','description','Grey','520590JJUBDs','use'];a55c=function(){return D;};return a55c();}export class Sword extends Item{constructor(a,b){var j=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[j(0x10e)],'shape':Shape[j(0x127)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[j(0x111)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var k=a55d;super({'name':a,'description':b,'size':Size[k(0x123)],'category':Category[k(0x10e)],'shape':Shape[k(0x132)],'color':Color['Brown'],'texture':Texture[k(0x12a)],'rating':Rating[k(0x133)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var l=a55d;super({'name':a,'description':b,'size':Size[l(0x117)],'category':Category[l(0x116)],'shape':Shape[l(0x134)],'color':Color[l(0x138)],'texture':Texture[l(0x12a)],'rating':Rating[l(0x111)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var m=a55d;super({'name':a,'description':b,'size':Size[m(0x123)],'category':Category[m(0x122)],'shape':Shape['Rectangle'],'color':Color[m(0x138)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var n=a55d;super({'name':a,'description':b,'size':Size[n(0x117)],'category':Category[n(0x10f)],'shape':Shape[n(0x10d)],'color':Color['Grey'],'texture':Texture[n(0x12a)],'rating':Rating[n(0x111)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var o=a55d;super({'name':a,'description':b,'size':Size[o(0x117)],'category':Category[o(0x119)],'shape':Shape[o(0x134)],'color':Color[o(0x124)],'texture':Texture[o(0x10b)],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var p=a55d;super({'name':a,'description':b,'size':Size[p(0x13b)],'category':Category[p(0x118)],'shape':Shape[p(0x134)],'color':Color[p(0x124)],'texture':Texture[p(0x10b)],'rating':Rating['Common'],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var q=a55d;super({'name':a,'description':b,'size':Size[q(0x117)],'category':Category['ArmArmor'],'shape':Shape['Rectangle'],'color':Color[q(0x138)],'texture':Texture[q(0x12a)],'rating':Rating[q(0x111)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var r=a55d;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category['Key'],'shape':Shape[r(0x10d)],'color':Color[r(0x115)],'texture':Texture[r(0x10b)],'rating':Rating['Common'],'weight':0x0});}[a55s(0x13a)](){var t=a55s;return t(0x11b);}}export class Weapon extends Item{constructor(a,b){var u=a55s;super({'name':a,'description':b,'size':Size[u(0x117)],'category':Category[u(0x10e)],'shape':Shape['Blade'],'color':Color[u(0x138)],'texture':Texture['Metallic'],'rating':Rating[u(0x111)],'weight':0x3});}['use'](){var v=a55s;return v(0x126);}}export class Book extends Item{[a55s(0x12b)];[a55s(0x12d)];[a55s(0x12f)];constructor(a,b='A\x20mysterious\x20book.',c=a55s(0x10c)){var w=a55s;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Book'],'shape':Shape[w(0x10d)],'color':Color[w(0x124)],'texture':Texture[w(0x10b)],'rating':Rating[w(0x111)],'weight':0x1}),this[w(0x12b)]=c,this[w(0x12d)]=new Date(),this['pageCount']=0x64;}['use'](){return'There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22';}}export class ShortSword extends Item{constructor(){var x=a55s;super({'name':'Short\x20Sword','description':'A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','size':Size[x(0x117)],'category':Category['Weapon'],'shape':Shape[x(0x127)],'color':Color[x(0x138)],'texture':Texture[x(0x12a)],'rating':Rating[x(0x111)],'weight':0x3});}[a55s(0x13a)](){var y=a55s;return y(0x126);}}export class SniperRifle extends Item{constructor(){var z=a55s;super({'name':z(0x128),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[z(0x123)],'category':Category[z(0x10e)],'shape':Shape[z(0x132)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating[z(0x111)],'weight':0x5});}['use'](){var A=a55s;return A(0x110);}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x10a;var f=c[d];return f;},a55d(a,b);}export class HolyGrail extends Item{constructor(){var B=a55s;super({'name':B(0x113),'description':B(0x11d),'size':Size[B(0x13b)],'category':Category[B(0x112)],'shape':Shape['Circle'],'color':Color['Gold'],'texture':Texture['Metallic'],'rating':Rating[B(0x130)],'weight':0x1});}[a55s(0x13a)](){var C=a55s;return C(0x12e)+this['name']+C(0x10a);}}