@maka/maka-cli 4.7.17 → 4.7.22

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 (147) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/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/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  109. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/kit.js +1 -1
  112. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  115. package/bundle/obf/src/generators/layout.js +1 -1
  116. package/bundle/obf/src/generators/maka.gen.js +1 -1
  117. package/bundle/obf/src/generators/methods.js +1 -1
  118. package/bundle/obf/src/generators/package.js +1 -1
  119. package/bundle/obf/src/generators/page.js +1 -1
  120. package/bundle/obf/src/generators/publish.js +1 -1
  121. package/bundle/obf/src/generators/route.js +1 -1
  122. package/bundle/obf/src/generators/service.js +1 -1
  123. package/bundle/obf/src/generators/services/_index.js +1 -1
  124. package/bundle/obf/src/generators/services/openssl.js +1 -1
  125. package/bundle/obf/src/generators/services/translation.js +1 -1
  126. package/bundle/obf/src/maka.js +1 -1
  127. package/bundle/obf/src/templates/meteor/project/package.json +3 -2
  128. package/bundle/obf/src/tool.js +1 -1
  129. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  130. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/https/https.class.js +1 -1
  137. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  138. package/bundle/obf/src/tools/log/log.class.js +1 -1
  139. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/options/options.class.js +1 -1
  141. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  142. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  147. package/package.json +1 -1
@@ -1 +1 @@
1
- const a36i=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=-parseInt(g(0xe4))/0x1+parseInt(g(0xef))/0x2*(parseInt(g(0xe2))/0x3)+-parseInt(g(0xf2))/0x4+parseInt(g(0xde))/0x5+parseInt(g(0xe8))/0x6*(parseInt(g(0xe6))/0x7)+-parseInt(g(0xdd))/0x8+-parseInt(g(0xe5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xbfe20));function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xd6;let f=c[d];return f;},a36d(a,b);}const a36b=(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;};}()),a36a=a36b(this,function(){const h=a36d;return a36a[h(0xf3)]()['search'](h(0xdf))[h(0xf3)]()[h(0xeb)](a36a)[h(0xf0)]('(((.+)+)+)+$');});a36a();import{Command}from'./command.js';export class SayCommand extends Command{static ['verb']='say';static ['description']=a36i(0xed);[a36i(0xee)];constructor(a){const j=a36i;super(a),this[j(0xee)]=a;}[a36i(0xe3)](a){const k=a36i;if(a[k(0xdb)]===0x0)return k(0xda);const b=a['join']('\x20'),c=this['actor'],d=this[k(0xee)][k(0xd7)];if(!d)return this[k(0xd8)][k(0xe9)](k(0xd9)),k(0xdc);const e=d['allActors'][k(0xf1)](f=>f[k(0xea)]===c[k(0xea)]);for(const f of e){this[k(0xd8)][k(0xe9)](c[k(0xd6)]+'\x20says\x20to\x20'+f[k(0xd6)]+k(0xe7)+b+'\x22'),this[k(0xe1)][k(0xea)][k(0xec)](f,b);}return k(0xe0)+b+'\x22';}}function a36c(){const l=['You\x20say:\x20\x22','actor','83466cJAQdx','execute','15514zokdtr','3239037xYGuSS','1024226BPhwIh',':\x20\x22','36qLIScN','log','currentLocation','constructor','say','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','context','40wgYiCM','search','filter','3962156VMMztV','toString','name','scene','logger','Scene\x20is\x20missing\x20from\x20context.','What\x20do\x20you\x20want\x20to\x20say?','length','An\x20error\x20occurred.','1242016QwownD','4364010eeGcXF','(((.+)+)+)+$'];a36c=function(){return l;};return a36c();}
1
+ const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=-parseInt(g(0x99))/0x1+parseInt(g(0xad))/0x2*(parseInt(g(0xa9))/0x3)+parseInt(g(0x94))/0x4+parseInt(g(0xac))/0x5*(parseInt(g(0xa5))/0x6)+parseInt(g(0xae))/0x7*(-parseInt(g(0xb4))/0x8)+parseInt(g(0x97))/0x9*(parseInt(g(0xb7))/0xa)+-parseInt(g(0xb0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x8187e));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a[i(0x9a)]()['search'](i(0x9f))[i(0x9a)]()[i(0xa0)](a36a)[i(0xaf)](i(0x9f));});a36a();function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x93;let f=c[d];return f;},a36d(a,b);}function a36c(){const m=['actor','\x20says\x20to\x20','6OjCEvd','apply','execute','1085bQIuAQ','299990fCGjjI','12082MKoCXE','search','11047597dnBVcL','currentLocation','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','name','472pPaXZR','join','verb','8822270ZMVYYM','An\x20error\x20occurred.','context','1309324MXAmRu','logger','scene','9POBpdM',':\x20\x22','278836fHoCkB','toString','allActors','You\x20say:\x20\x22','length','description','(((.+)+)+)+$','constructor','say','What\x20do\x20you\x20want\x20to\x20say?','Scene\x20is\x20missing\x20from\x20context.','log','11226jWnlXR','filter'];a36c=function(){return m;};return a36c();}import{Command}from'./command.js';export class SayCommand extends Command{static [a36j(0xb6)]=a36j(0xa1);static [a36j(0x9e)]=a36j(0xb2);[a36j(0x93)];constructor(a){const k=a36j;super(a),this[k(0x93)]=a;}[a36j(0xab)](a){const l=a36j;if(a[l(0x9d)]===0x0)return l(0xa2);const b=a[l(0xb5)]('\x20'),c=this[l(0xa7)],d=this[l(0x93)][l(0x96)];if(!d)return this[l(0x95)][l(0xa4)](l(0xa3)),l(0xb8);const e=d[l(0x9b)][l(0xa6)](f=>f[l(0xb1)]===c[l(0xb1)]);for(const f of e){this[l(0x95)][l(0xa4)](c[l(0xb3)]+l(0xa8)+f['name']+l(0x98)+b+'\x22'),this['actor'][l(0xb1)][l(0xa1)](f,b);}return l(0x9c)+b+'\x22';}}
@@ -1 +1 @@
1
- const a37h=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0xd6))/0x1+parseInt(f(0xcb))/0x2+parseInt(f(0xc6))/0x3*(-parseInt(f(0xd8))/0x4)+parseInt(f(0xd0))/0x5*(parseInt(f(0xdf))/0x6)+parseInt(f(0xc5))/0x7*(parseInt(f(0xc9))/0x8)+-parseInt(f(0xd3))/0x9+parseInt(f(0xda))/0xa*(parseInt(f(0xd5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xa697d));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const g=a37d;return a37a[g(0xe0)]()[g(0xdd)]('(((.+)+)+)+$')[g(0xe0)]()[g(0xd1)](a37a)['search'](g(0xc4));});a37a();import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xc2;let f=c[d];return f;},a37d(a,b);}function a37c(){const j=['SearchCommand:\x20','Search\x20for\x20items\x20in\x20your\x20area','search','name','30294xSsjIJ','toString','You\x20search\x20the\x20area\x20and\x20find:\x20','write','(((.+)+)+)+$','7xucqhf','1465293vPvYjN','length','logger','3005648lcXhqu','execute','2255290rFLnVS','join','listItems','actor','currentLocation','35FCXtNf','constructor','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','1013499IgoMov','inventory','42339yBmpuo','259136hYmMPq','description','4ZSVSZr','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','10BzriJc'];a37c=function(){return j;};return a37c();}export class SearchCommand extends Command{static ['verb']='search';static [a37h(0xd7)]=a37h(0xdc);[a37h(0xca)](){const i=a37h,a=this[i(0xce)][i(0xcf)][i(0xd4)][i(0xcd)]();if(a[i(0xc7)]===0x0)return this[i(0xc8)][i(0xc3)](i(0xdb)+this['actor'][i(0xde)]+i(0xd9)),i(0xd2);const b=a[i(0xcc)](',\x20');return this[i(0xc8)][i(0xc3)]('SearchCommand:\x20'+this[i(0xce)][i(0xde)]+'\x20found\x20the\x20following\x20items:\x20'+b),i(0xc2)+b;}}
1
+ function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x13e;let f=c[d];return f;},a37d(a,b);}const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x156))/0x1*(parseInt(f(0x152))/0x2)+parseInt(f(0x155))/0x3*(parseInt(f(0x148))/0x4)+parseInt(f(0x14c))/0x5+-parseInt(f(0x145))/0x6+parseInt(f(0x13e))/0x7*(parseInt(f(0x143))/0x8)+-parseInt(f(0x14b))/0x9*(parseInt(f(0x14f))/0xa)+parseInt(f(0x141))/0xb*(parseInt(f(0x150))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xdb7bc));function a37c(){const k=['77tjsmgf','currentLocation','1953512SOpcgD','verb','6520896UnMews','actor','(((.+)+)+)+$','31412mPsuQL','description','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','1368rTIXzm','1496285JwCCLg','You\x20search\x20the\x20area\x20and\x20find:\x20','\x20found\x20the\x20following\x20items:\x20','94810IYzjNw','1822488SAbJxb','search','6mUCKcv','write','toString','411kgxpfh','248169lNxwKl','SearchCommand:\x20','apply','listItems','Search\x20for\x20items\x20in\x20your\x20area','7aidEfi','name','logger'];a37c=function(){return k;};return a37c();}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x158)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x154)]()['search'](h(0x147))[h(0x154)]()['constructor'](a37a)[h(0x151)](h(0x147));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0x144)]=a37i(0x151);static [a37i(0x149)]=a37i(0x15a);['execute'](){const j=a37i,a=this[j(0x146)][j(0x142)]['inventory'][j(0x159)]();if(a['length']===0x0)return this['logger'][j(0x153)](j(0x157)+this[j(0x146)][j(0x13f)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),j(0x14a);const b=a['join'](',\x20');return this[j(0x140)][j(0x153)](j(0x157)+this[j(0x146)][j(0x13f)]+j(0x14e)+b),j(0x14d)+b;}}
@@ -1 +1 @@
1
- const a38i=a38d;function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x128;let f=c[d];return f;},a38d(a,b);}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=parseInt(f(0x142))/0x1+-parseInt(f(0x133))/0x2+parseInt(f(0x128))/0x3*(-parseInt(f(0x145))/0x4)+-parseInt(f(0x12c))/0x5+-parseInt(f(0x139))/0x6+-parseInt(f(0x13d))/0x7*(parseInt(f(0x13b))/0x8)+parseInt(f(0x13a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xa2e43));function a38c(){const k=['Attempt\x20to\x20solve\x20a\x20puzzle.','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','apply','join','actor','1138016aLvXhP','inventory','verb','execute','currentLocation','logger','7761306nICVeX','30180582wHhZxU','656JzhbFA','search','72310LNIPxq','toString','puzzle','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','description','619098wUaGIP','rewardItem','SolveCommand:\x20','120sgiZUs','constructor','(((.+)+)+)+$','55911AmdjwX','addItem','write','success','182820WriGzN','toLowerCase'];a38c=function(){return k;};return a38c();}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x13e)]()['search'](h(0x147))[h(0x13e)]()[h(0x146)](a38a)[h(0x13c)](h(0x147));});a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x135)]='solve';static [a38i(0x141)]=a38i(0x12e);[a38i(0x136)](a){const j=a38i,b=a[j(0x131)]('\x20')[j(0x12d)](),c=this[j(0x132)][j(0x137)];if(!c||!c[j(0x13f)])return this['logger'][j(0x12a)](j(0x140)),j(0x12f);const d=c[j(0x13f)]['solve'](b,this['actor'][j(0x134)]);return d[j(0x12b)]&&c[j(0x13f)]['rewardItem']&&this['actor']['inventory'][j(0x129)](c['puzzle'][j(0x143)]),this[j(0x138)][j(0x12a)](j(0x144)+d['message']),d['message'];}}
1
+ const a38i=a38d;function a38c(){const k=['22586364VLOkjV','actor','56490HKUBmf','currentLocation','verb','SolveCommand:\x20','puzzle','695154gdoCCf','3618918xQFzdW','join','inventory','1059505DBpnkD','toString','Attempt\x20to\x20solve\x20a\x20puzzle.','apply','message','(((.+)+)+)+$','logger','solve','88XwEPhh','760821ZrzvqS','search','success','execute','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','toLowerCase','12JXTXjA','3525OrIPUO','rewardItem','write'];a38c=function(){return k;};return a38c();}(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x117))/0x1+-parseInt(f(0x10a))/0x2+parseInt(f(0x11e))/0x3*(-parseInt(f(0x11d))/0x4)+-parseInt(f(0x10e))/0x5+-parseInt(f(0x10b))/0x6+parseInt(f(0x105))/0x7*(-parseInt(f(0x116))/0x8)+parseInt(f(0x121))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x78919));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x10f)]()[h(0x118)](h(0x113))[h(0x10f)]()['constructor'](a38a)[h(0x118)](h(0x113));});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x104;let f=c[d];return f;},a38d(a,b);}a38a();import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x107)]=a38i(0x115);static ['description']=a38i(0x110);[a38i(0x11a)](a){const j=a38i,b=a[j(0x10c)]('\x20')[j(0x11c)](),c=this[j(0x104)][j(0x106)];if(!c||!c[j(0x109)])return this[j(0x114)]['write']('SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'),j(0x11b);const d=c[j(0x109)]['solve'](b,this[j(0x104)][j(0x10d)]);return d[j(0x119)]&&c[j(0x109)][j(0x11f)]&&this[j(0x104)]['inventory']['addItem'](c[j(0x109)]['rewardItem']),this[j(0x114)][j(0x120)](j(0x108)+d[j(0x112)]),d[j(0x112)];}}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x17f))/0x1*(-parseInt(f(0x184))/0x2)+-parseInt(f(0x185))/0x3*(parseInt(f(0x172))/0x4)+-parseInt(f(0x177))/0x5+-parseInt(f(0x183))/0x6+-parseInt(f(0x17d))/0x7*(parseInt(f(0x187))/0x8)+-parseInt(f(0x16f))/0x9+parseInt(f(0x173))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x97c19));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x162)]()[h(0x179)](h(0x165))['toString']()[h(0x174)](a39a)[h(0x179)](h(0x165));});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x15e;let f=c[d];return f;},a39d(a,b);}function a39c(){const l=['318mTEdVl','9gLPVSM','Error\x20during\x20\x27Take\x27\x20command:\x20','649984kxFFRF','You\x20have\x20taken\x20the\x20','Successfully\x20removed\x20\x22','inventory','The\x20item\x20\x22','logger','hasItem','toString','actor','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','(((.+)+)+)+$','Item\x20\x22','\x22\x20in\x20this\x20room.','apply','write','Pick\x20up\x20an\x20item.','currentLocation','description','Successfully\x20added\x20\x22','\x20during\x20\x27Take\x27\x20command.','7502274nFapvf','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','take','813184YEwJLK','50279580LqmHJv','constructor','\x22\x20is\x20too\x20heavy\x20to\x20carry.','There\x20is\x20no\x20item\x20\x22','1230670XroesJ','message','search','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','verb','toLowerCase','98UKVAMI','execute','2783feSWPm','name','addInventory','getItem','6820728woaCIM'];a39c=function(){return l;};return a39c();}import{Command}from'./command.js';export class TakeCommand extends Command{static [a39i(0x17b)]=a39i(0x171);static [a39i(0x16c)]=a39i(0x16a);[a39i(0x17e)](a){const j=a39i;return this[j(0x160)][j(0x169)](j(0x170)+a['join']('\x20')),this[j(0x171)](a);}[a39i(0x171)](a){const k=a39i,b=a['join']('\x20')[k(0x17c)](),c=this[k(0x163)][k(0x16b)];if(!c[k(0x15e)][k(0x161)](b))return this[k(0x160)][k(0x169)](k(0x166)+b+'\x22\x20not\x20found\x20in\x20'+c[k(0x180)]+k(0x16e)),k(0x176)+b+'\x22\x20in\x20this\x20room.';const d=c[k(0x15e)][k(0x182)](b);if(!d)return this[k(0x160)]['write'](k(0x166)+b+'\x22\x20not\x20retrieved\x20from\x20'+c[k(0x180)]+k(0x164)),k(0x176)+b+k(0x167);try{return this[k(0x163)][k(0x181)](d),this[k(0x160)][k(0x169)](k(0x16d)+b+'\x22\x20to\x20'+this[k(0x163)][k(0x180)]+k(0x17a)),c[k(0x15e)]['removeItem'](b),this[k(0x160)]['write'](k(0x189)+b+'\x22\x20from\x20'+c['name']+k(0x164)),k(0x188)+b+'.';}catch(e){return this['logger'][k(0x169)](k(0x186)+e[k(0x178)]),k(0x15f)+b+k(0x175);}}}
1
+ function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a39d(a,b);}function a39c(){const k=['inventory','Item\x20\x22','addInventory','\x22\x20is\x20too\x20heavy\x20to\x20carry.','130920oqqjZj','202974tQtVPX','You\x20have\x20taken\x20the\x20','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','toLowerCase','toString','Successfully\x20removed\x20\x22','currentLocation','\x22\x20to\x20','\x22\x20not\x20found\x20in\x20','description','\x22\x20not\x20retrieved\x20from\x20','actor','\x20during\x20\x27Take\x27\x20command.','take','The\x20item\x20\x22','8456PwvvSZ','search','2326540mekMXA','constructor','(((.+)+)+)+$','hasItem','\x22\x20in\x20this\x20room.','190539thktIL','300WyTBdi','join','15111288pJMygc','getItem','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','write','Pick\x20up\x20an\x20item.','logger','execute','Successfully\x20added\x20\x22','There\x20is\x20no\x20item\x20\x22','2216tpODwK','name','1174964SUbDPK','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'];a39c=function(){return k;};return a39c();}const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x1d4))/0x1+parseInt(f(0x1cf))/0x2+parseInt(f(0x1be))/0x3+-parseInt(f(0x1e2))/0x4+-parseInt(f(0x1d5))/0x5*(-parseInt(f(0x1bd))/0x6)+-parseInt(f(0x1cd))/0x7*(-parseInt(f(0x1e0))/0x8)+-parseInt(f(0x1d7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xadb08));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const g=a39d;return a39a[g(0x1c2)]()[g(0x1ce)](g(0x1d1))[g(0x1c2)]()[g(0x1d0)](a39a)[g(0x1ce)](g(0x1d1));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']=a39h(0x1cb);static [a39h(0x1c7)]=a39h(0x1db);[a39h(0x1dd)](a){const i=a39h;return this[i(0x1dc)][i(0x1da)](i(0x1c0)+a[i(0x1d6)]('\x20')),this[i(0x1cb)](a);}[a39h(0x1cb)](a){const j=a39h,b=a[j(0x1d6)]('\x20')[j(0x1c1)](),c=this[j(0x1c9)][j(0x1c4)];if(!c[j(0x1e4)][j(0x1d2)](b))return this['logger']['write'](j(0x1e5)+b+j(0x1c6)+c['name']+j(0x1ca)),j(0x1df)+b+'\x22\x20in\x20this\x20room.';const d=c['inventory'][j(0x1d8)](b);if(!d)return this['logger']['write'](j(0x1e5)+b+j(0x1c8)+c[j(0x1e1)]+j(0x1e3)),'There\x20is\x20no\x20item\x20\x22'+b+j(0x1d3);try{return this[j(0x1c9)][j(0x1e6)](d),this[j(0x1dc)][j(0x1da)](j(0x1de)+b+j(0x1c5)+this[j(0x1c9)]['name']+j(0x1d9)),c[j(0x1e4)]['removeItem'](b),this[j(0x1dc)][j(0x1da)](j(0x1c3)+b+'\x22\x20from\x20'+c[j(0x1e1)]+j(0x1e3)),j(0x1bf)+b+'.';}catch(e){return this['logger'][j(0x1da)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e['message']),j(0x1cc)+b+j(0x1e7);}}}
@@ -1 +1 @@
1
- const a40h=a40d;function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1e9;let f=c[d];return f;},a40d(a,b);}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1fc))/0x1+-parseInt(f(0x1f8))/0x2+-parseInt(f(0x1ed))/0x3+parseInt(f(0x1f9))/0x4+-parseInt(f(0x1f4))/0x5*(-parseInt(f(0x1fb))/0x6)+parseInt(f(0x1f5))/0x7+-parseInt(f(0x1f7))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x6d223));function a40c(){const j=['3340884uaLfUy','name','2461614QMGKuG','496351SthwbX','\x20unqeuiped\x20','(((.+)+)+)+$','toString','actor','unequip','join','unqeuip','2656848LHnwSL','write','Unequip\x20an\x20item.','constructor','verb','logger','UnequipCommand:\x20','5xHGkTz','2875817JDdVTK','toLowerCase','5344896txdjiT','303866pTpjDo'];a40c=function(){return j;};return a40c();}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(0x1ff)]()['search']('(((.+)+)+)+$')[g(0x1ff)]()[g(0x1f0)](a40a)['search'](g(0x1fe));});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40h(0x1f1)]=a40h(0x1ec);static ['description']=a40h(0x1ef);['execute'](a){const i=a40h,b=a[i(0x1eb)]('\x20')[i(0x1f6)](),c=this[i(0x1e9)][i(0x1ea)](b);return this[i(0x1f2)][i(0x1ee)](i(0x1f3)+this[i(0x1e9)][i(0x1fa)]+i(0x1fd)+c),c;}}
1
+ const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x123))/0x1+-parseInt(f(0x12a))/0x2*(parseInt(f(0x130))/0x3)+-parseInt(f(0x12e))/0x4*(-parseInt(f(0x132))/0x5)+-parseInt(f(0x131))/0x6*(parseInt(f(0x124))/0x7)+parseInt(f(0x127))/0x8+parseInt(f(0x126))/0x9*(-parseInt(f(0x134))/0xa)+parseInt(f(0x12f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x95e0c));function a40c(){const k=['18JMXlgn','2431944uzqbCb','unequip','unqeuip','49666WlsEgA','description','UnequipCommand:\x20','(((.+)+)+)+$','217292EbMvUn','24779128LDKtVp','33AQQSCy','12rUeNht','5mhgoBq','apply','3327940LpKUnK','toString','actor','search','toLowerCase','logger','name','join','\x20unqeuiped\x20','4283RQXlcj','3689105CtyaZA','write'];a40c=function(){return k;};return a40c();}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x135)]()['search']('(((.+)+)+)+$')[h(0x135)]()['constructor'](a40a)[h(0x137)](h(0x12d));});function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x11e;let f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a40i(0x129);static [a40i(0x12b)]='Unequip\x20an\x20item.';['execute'](a){const j=a40i,b=a[j(0x121)]('\x20')[j(0x11e)](),c=this[j(0x136)][j(0x128)](b);return this[j(0x11f)][j(0x125)](j(0x12c)+this['actor'][j(0x120)]+j(0x122)+c),c;}}
@@ -1 +1 @@
1
- const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x156))/0x1*(-parseInt(h(0x170))/0x2)+parseInt(h(0x17a))/0x3+parseInt(h(0x163))/0x4*(-parseInt(h(0x153))/0x5)+-parseInt(h(0x157))/0x6*(-parseInt(h(0x15e))/0x7)+parseInt(h(0x167))/0x8*(-parseInt(h(0x160))/0x9)+parseInt(h(0x158))/0xa*(-parseInt(h(0x16a))/0xb)+parseInt(h(0x165))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x5e62c));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x15a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x172)]()[j(0x178)](j(0x174))['toString']()[j(0x159)](a41a)[j(0x178)]('(((.+)+)+)+$');});function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x153;let f=c[d];return f;},a41d(a,b);}function a41c(){const n=['(((.+)+)+)+$','verb','UnlockCommand:\x20','logger','search','exits','2012121MtZycG','execute','185eiBYsQ','get','isValidDirection','360989yooSLq','534YzuqaA','441710MlZUtM','constructor','apply','actor','error','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','59549QPbodh','unlock','2384631kdekfM','UnlockCommand:\x20No\x20target\x20specified.','Unlock\x20a\x20door.','52008mplwim','name','7771680aCmEXP','getItem','8FwgpBF','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','55zYuSet','toLowerCase','There\x27s\x20no\x20door\x20named\x20\x22','\x22\x20here.','unlockItemOrSolution','.\x20Result:\x20','4tVvmYK','write','toString','inventory'];a41c=function(){return n;};return a41c();}a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x175)]=a41k(0x15f);static ['description']=a41k(0x162);[a41k(0x17b)](a){const l=a41k;return this[l(0x15f)](a);}['unlock'](a){const m=a41k;if(a['length']===0x0)return this[m(0x177)][m(0x15c)](m(0x161)),m(0x15d);const b=a[0x0][m(0x16b)](),c=this[m(0x15b)]['currentLocation'];if(this[m(0x155)](b)&&c[m(0x179)]['has'](b)){const d=c[m(0x179)][m(0x154)](b);if(d instanceof Door){const e=d[m(0x16e)]?.[m(0x16b)]();if(e&&this[m(0x15b)]['inventory']['hasItem'](e)){const f=this['actor'][m(0x173)][m(0x166)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0x164)]);return this[m(0x177)][m(0x171)](m(0x176)+this['actor'][m(0x164)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+m(0x16f)+g),g;}}return this[m(0x177)][m(0x171)](m(0x176)+this[m(0x15b)][m(0x164)]+m(0x168)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this['logger'][m(0x171)]('UnlockCommand:\x20'+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x164)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x16d);}else return this[m(0x177)][m(0x171)](m(0x176)+b+m(0x169)+c[m(0x164)]+'.'),m(0x16c)+b+'\x22\x20here.';}}
1
+ const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x7f))/0x1+parseInt(h(0x84))/0x2+parseInt(h(0x7a))/0x3*(parseInt(h(0x6b))/0x4)+-parseInt(h(0x91))/0x5+parseInt(h(0x79))/0x6+-parseInt(h(0x8d))/0x7*(parseInt(h(0x81))/0x8)+parseInt(h(0x74))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x6b988));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x93)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()[j(0x8a)](j(0x7d))[j(0x76)]()[j(0x85)](a41a)[j(0x8a)]('(((.+)+)+)+$');});a41a();function a41c(){const n=['Unlock\x20a\x20door.','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','\x22\x20here.','inventory','search','UnlockCommand:\x20','name','808465pkbkQM','unlock','toLowerCase','.\x20Result:\x20','3140200bXvlcD','exits','apply','11168JLePOr','write','has','unlockItemOrSolution','execute','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','get','actor','currentLocation','1328967cRZhXk','verb','toString','hasItem','logger','4290162ivShWu','48rOMLyG','length','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','(((.+)+)+)+$','There\x27s\x20no\x20door\x20named\x20\x22','672788CTnCZY','error','40KBIzcu','UnlockCommand:\x20No\x20target\x20specified.','getItem','132154UagSjH','constructor'];a41c=function(){return n;};return a41c();}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x6b;let f=c[d];return f;},a41d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x75)]=a41k(0x8e);static ['description']=a41k(0x86);[a41k(0x6f)](a){const l=a41k;return this[l(0x8e)](a);}['unlock'](a){const m=a41k;if(a[m(0x7b)]===0x0)return this[m(0x78)][m(0x80)](m(0x82)),m(0x70);const b=a[0x0][m(0x8f)](),c=this[m(0x72)][m(0x73)];if(this['isValidDirection'](b)&&c[m(0x92)][m(0x6d)](b)){const d=c[m(0x92)][m(0x71)](b);if(d instanceof Door){const e=d[m(0x6e)]?.['toLowerCase']();if(e&&this['actor'][m(0x89)][m(0x77)](e)){const f=this[m(0x72)][m(0x89)][m(0x83)](e);if(f){const g=c['attemptUnlockExit'](b,f[m(0x8c)]);return this[m(0x78)][m(0x6c)](m(0x8b)+this[m(0x72)][m(0x8c)]+'\x20is\x20attempted\x20to\x20unlock\x20'+b+m(0x90)+g),g;}}return this['logger'][m(0x6c)](m(0x8b)+this[m(0x72)]['name']+'\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20'+b+'.'),m(0x7c);}else return this[m(0x78)]['write'](m(0x8b)+b+m(0x87)+c[m(0x8c)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x88);}else return this['logger'][m(0x6c)](m(0x8b)+b+m(0x87)+c[m(0x8c)]+'.'),m(0x7e)+b+m(0x88);}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=parseInt(f(0x171))/0x1+parseInt(f(0x15f))/0x2*(-parseInt(f(0x15d))/0x3)+-parseInt(f(0x160))/0x4+parseInt(f(0x168))/0x5*(-parseInt(f(0x159))/0x6)+-parseInt(f(0x178))/0x7*(parseInt(f(0x172))/0x8)+parseInt(f(0x15b))/0x9*(parseInt(f(0x158))/0xa)+parseInt(f(0x177))/0xb*(parseInt(f(0x175))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x84162));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x179)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x167)]()[h(0x166)]('(((.+)+)+)+$')[h(0x167)]()[h(0x16c)](a42a)[h(0x166)]('(((.+)+)+)+$');});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x155;let f=c[d];return f;},a42d(a,b);}a42a();function a42c(){const l=['search','toString','295JcDfaX','actor','hasItem','UseCommand:\x20','constructor','description','\x20used\x20','inventory','execute','345659Fdzopo','304josWVn','\x20doesn\x27t\x20have\x20a\x20use\x20method.','use','982812eiRlEC','write','77isntYe','137774zyUaFk','apply','logger','You\x20don\x27t\x20have\x20the\x20','You\x20can\x27t\x20use\x20the\x20','3374530iyMemO','20448hxMXKS','getItem','27wZcrIC','name','2736agoEvC','Use\x20an\x20item.','12RjVocU','1743356qileqF','\x20attempted\x20to\x20use\x20','toLowerCase',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','join','verb'];a42c=function(){return l;};return a42c();}import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x165)]='use';static [a42i(0x16d)]=a42i(0x15e);[a42i(0x170)](a){const j=a42i;return this[j(0x174)](a);}['use'](a){const k=a42i,b=a[k(0x164)]('\x20')[k(0x162)]();if(!this[k(0x169)][k(0x16f)][k(0x16a)](b))return this[k(0x155)][k(0x176)](k(0x16b)+this[k(0x169)][k(0x15c)]+k(0x161)+b+k(0x163)),k(0x156)+b+'\x20to\x20use.';const c=this[k(0x169)][k(0x16f)][k(0x15a)](b);if(!c)return this[k(0x155)][k(0x176)]('UseCommand:\x20'+b+'\x20not\x20retrieved\x20from\x20'+this['actor']['name']+'\x27s\x20inventory.'),k(0x156)+b+'\x20to\x20use.';if(typeof c[k(0x174)]==='function'){const d=c[k(0x174)]();return this[k(0x155)]['write'](k(0x16b)+this[k(0x169)][k(0x15c)]+k(0x16e)+b+'.'),d;}else return this['logger'][k(0x176)](k(0x16b)+b+k(0x173)),k(0x157)+b+'\x20in\x20this\x20way.';}}
1
+ const a42i=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xdb;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0xed))/0x1*(parseInt(f(0xe6))/0x2)+-parseInt(f(0xde))/0x3+parseInt(f(0xdc))/0x4*(parseInt(f(0xe0))/0x5)+parseInt(f(0xf4))/0x6*(parseInt(f(0xe2))/0x7)+parseInt(f(0xf1))/0x8+parseInt(f(0xe1))/0x9+-parseInt(f(0xe4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xf13e7));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xea)]()['search'](h(0xf7))[h(0xea)]()['constructor'](a42a)[h(0xdf)](h(0xf7));});a42a();function a42c(){const l=['\x20doesn\x27t\x20have\x20a\x20use\x20method.','apply','46612VLRMiz','UseCommand:\x20','323943vefrTy','search','435IOOcOs','9410931OCSTMA','553AkazQz','use','5974020UbjuIF','\x20to\x20use.','1244qdBvfG',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','write','function','toString','name','\x27s\x20inventory.','1222PVcSOB','Use\x20an\x20item.','inventory','getItem','2421832KmIHae','You\x20don\x27t\x20have\x20the\x20','verb','6942qwPEaI','actor','toLowerCase','(((.+)+)+)+$','logger','\x20used\x20'];a42c=function(){return l;};return a42c();}import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0xf3)]=a42i(0xe3);static ['description']=a42i(0xee);['execute'](a){const j=a42i;return this[j(0xe3)](a);}[a42i(0xe3)](a){const k=a42i,b=a['join']('\x20')[k(0xf6)]();if(!this[k(0xf5)]['inventory']['hasItem'](b))return this[k(0xf8)]['write'](k(0xdd)+this[k(0xf5)][k(0xeb)]+'\x20attempted\x20to\x20use\x20'+b+k(0xe7)),k(0xf2)+b+k(0xe5);const c=this[k(0xf5)][k(0xef)][k(0xf0)](b);if(!c)return this[k(0xf8)][k(0xe8)](k(0xdd)+b+'\x20not\x20retrieved\x20from\x20'+this[k(0xf5)][k(0xeb)]+k(0xec)),k(0xf2)+b+'\x20to\x20use.';if(typeof c['use']===k(0xe9)){const d=c[k(0xe3)]();return this[k(0xf8)][k(0xe8)](k(0xdd)+this[k(0xf5)][k(0xeb)]+k(0xf9)+b+'.'),d;}else return this[k(0xf8)]['write'](k(0xdd)+b+k(0xfa)),'You\x20can\x27t\x20use\x20the\x20'+b+'\x20in\x20this\x20way.';}}
@@ -1 +1 @@
1
- const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0xac))/0x1+parseInt(f(0xaf))/0x2*(-parseInt(f(0xa9))/0x3)+-parseInt(f(0xb3))/0x4+parseInt(f(0xb1))/0x5*(-parseInt(f(0xb2))/0x6)+parseInt(f(0xaa))/0x7*(parseInt(f(0xad))/0x8)+parseInt(f(0xae))/0x9+-parseInt(f(0xb5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xddd27));function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xa5;let f=c[d];return f;},a43d(a,b);}const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0xa8)]()[h(0xb4)]('(((.+)+)+)+$')[h(0xa8)]()['constructor'](a43a)['search'](h(0xa7));});function a43c(){const l=['42UwRFio','apply','1170718qFdmmw','421808AODdhZ','5053320djdxTz','8apOaef','createCommand','5325QuUVMp','390XgeobZ','1096916tYojwv','search','450pEjSFQ','commandMap','getAllRegisteredCommands','(((.+)+)+)+$','toString','597354BRPKcS'];a43c=function(){return l;};return a43c();}a43a();export class CommandFactory{static [a43i(0xa5)]={};static['registerCommand'](a,b){this['commandMap'][a]=b;}static[a43i(0xb0)](a,b){const j=a43i,c=this[j(0xa5)][a];if(c)return new c(b);return null;}static[a43i(0xa6)](){const k=a43i;return this[k(0xa5)];}}
1
+ function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x17c;let f=c[d];return f;},a43d(a,b);}const a43i=a43d;(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x185))/0x1+-parseInt(f(0x18c))/0x2+parseInt(f(0x184))/0x3+parseInt(f(0x17e))/0x4*(-parseInt(f(0x17c))/0x5)+-parseInt(f(0x180))/0x6+-parseInt(f(0x182))/0x7*(parseInt(f(0x188))/0x8)+parseInt(f(0x18d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xde0a0));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x18b)]()['search'](h(0x186))['toString']()[h(0x17f)](a43a)[h(0x187)](h(0x186));});a43a();function a43c(){const m=['1388112MKBTua','(((.+)+)+)+$','search','8cZaRQO','getAllRegisteredCommands','commandMap','toString','3612752LXiqme','28294371KYEMNF','5aBppxI','apply','1253068nTWboB','constructor','6426072bYewxp','registerCommand','6210659duQdXf','createCommand','1366299OfdNPj'];a43c=function(){return m;};return a43c();}export class CommandFactory{static [a43i(0x18a)]={};static[a43i(0x181)](a,b){const j=a43i;this[j(0x18a)][a]=b;}static[a43i(0x183)](a,b){const k=a43i,c=this[k(0x18a)][a];if(c)return new c(b);return null;}static[a43i(0x189)](){const l=a43i;return this[l(0x18a)];}}
@@ -1 +1 @@
1
- const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x10c))/0x1+parseInt(f(0x110))/0x2*(parseInt(f(0x120))/0x3)+-parseInt(f(0x125))/0x4+-parseInt(f(0x11e))/0x5*(parseInt(f(0x11c))/0x6)+parseInt(f(0x12a))/0x7*(parseInt(f(0x12e))/0x8)+parseInt(f(0x10f))/0x9*(parseInt(f(0x115))/0xa)+parseInt(f(0x128))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xd6ee1));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x127)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x133)]()['search'](h(0x111))[h(0x133)]()[h(0x130)](a44a)['search'](h(0x111));});function a44c(){const o=['1478202rovaBO','convertToRoomConfig','5CqvQZI','key','6PFCdnY','items','rewardItem','name','bodyarmor','4552080kXbVwT','content','apply','4924458CUaeeg','roomType','1120966lGlazo','createRoom','boots','sword','16qJYblD','isStartRoom','constructor','rifle','inventory','toString','INSIDE','createPuzzle','1439021oouByG','legarmor','setPuzzle','9YUDAmX','1332610kalEMe','(((.+)+)+)+$','description','puzzle','addItem','16031970tverkX','forEach','gauntlets','helmet','createItem','toUpperCase','book'];a44c=function(){return o;};return a44c();}a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x10c;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{[a44i(0x12b)](a){const j=a44i,b=this[j(0x11d)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[j(0x121)][j(0x116)](e=>{const k=j;d[k(0x114)](this[k(0x119)](e));}),c[j(0x132)]=d;}return a['puzzle']&&c[j(0x10e)](this[j(0x135)](a[j(0x113)])),c;}[a44i(0x119)](a){const l=a44i;switch(a['type']){case l(0x11f):return new Key(a['name'],a[l(0x112)]);case l(0x11b):return new Book(a['name'],a[l(0x112)],a[l(0x126)]);case l(0x12d):return new Sword(a[l(0x123)],a[l(0x112)]);case l(0x131):return new Rifle(a['name'],a[l(0x112)]);case l(0x118):return new Helmet(a[l(0x123)],a[l(0x112)]);case l(0x124):return new BodyArmor(a[l(0x123)],a[l(0x112)]);case l(0x10d):return new LegArmor(a[l(0x123)],a[l(0x112)]);case l(0x12c):return new Boots(a[l(0x123)],a[l(0x112)]);case'gloves':return new Gloves(a[l(0x123)],a[l(0x112)]);case l(0x117):return new Gauntlets(a[l(0x123)],a[l(0x112)]);default:return new BasicItem(a[l(0x123)],a['description']);}}[a44i(0x135)](a){const m=a44i,b=this[m(0x119)](a[m(0x122)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0x11d)](a){const n=a44i,b=a[n(0x129)]&&RoomType[a['roomType'][n(0x11a)]()]?RoomType[a[n(0x129)]['toUpperCase']()]:RoomType[n(0x134)];return{'name':a[n(0x123)],'description':a[n(0x112)],'isStartRoom':a[n(0x12f)],'roomType':b};}}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x9f))/0x1*(-parseInt(f(0xaa))/0x2)+parseInt(f(0x8a))/0x3+parseInt(f(0x9e))/0x4+-parseInt(f(0x95))/0x5*(-parseInt(f(0xab))/0x6)+-parseInt(f(0x9b))/0x7*(parseInt(f(0x88))/0x8)+parseInt(f(0x97))/0x9+-parseInt(f(0xac))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x53fb3));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0xa2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x8f)]()[h(0x9d)]('(((.+)+)+)+$')[h(0x8f)]()[h(0x89)](a44a)[h(0x9d)](h(0x96));});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x86;let f=c[d];return f;},a44d(a,b);}import{Room,Puzzle,Inventory}from'../models/_index.js';function a44c(){const o=['130465mIdQUf','(((.+)+)+)+$','5798853wybCtg','INSIDE','name','sword','10633VYJUIX','createItem','search','1156508QPxyPO','5BNsMLv','items','gauntlets','apply','setPuzzle','bodyarmor','key','boots','rewardItem','createRoom','puzzle','236766MCfbQc','138tQGpwK','19985590sEOiqn','toUpperCase','content','1160CGECUP','constructor','1311909ghauke','createPuzzle','inventory','roomType','description','toString','type','rifle','forEach','gloves','book'];a44c=function(){return o;};return a44c();}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(0xa8)](a){const j=a44i,b=this['convertToRoomConfig'](a),c=new Room(b);if(a[j(0xa0)]){const d=new Inventory();a[j(0xa0)][j(0x92)](e=>{const k=j;d['addItem'](this[k(0x9c)](e));}),c[j(0x8c)]=d;}return a[j(0xa9)]&&c[j(0xa3)](this[j(0x8b)](a[j(0xa9)])),c;}[a44i(0x9c)](a){const l=a44i;switch(a[l(0x90)]){case l(0xa5):return new Key(a[l(0x99)],a[l(0x8e)]);case l(0x94):return new Book(a[l(0x99)],a['description'],a[l(0x87)]);case l(0x9a):return new Sword(a[l(0x99)],a[l(0x8e)]);case l(0x91):return new Rifle(a[l(0x99)],a[l(0x8e)]);case'helmet':return new Helmet(a[l(0x99)],a[l(0x8e)]);case l(0xa4):return new BodyArmor(a[l(0x99)],a[l(0x8e)]);case'legarmor':return new LegArmor(a[l(0x99)],a[l(0x8e)]);case l(0xa6):return new Boots(a[l(0x99)],a[l(0x8e)]);case l(0x93):return new Gloves(a[l(0x99)],a['description']);case l(0xa1):return new Gauntlets(a[l(0x99)],a[l(0x8e)]);default:return new BasicItem(a[l(0x99)],a['description']);}}[a44i(0x8b)](a){const m=a44i,b=this['createItem'](a[m(0xa7)]);return new Puzzle({...a,'rewardItem':b});}['convertToRoomConfig'](a){const n=a44i,b=a[n(0x8d)]&&RoomType[a[n(0x8d)]['toUpperCase']()]?RoomType[a[n(0x8d)][n(0x86)]()]:RoomType[n(0x98)];return{'name':a[n(0x99)],'description':a[n(0x8e)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x134))/0x1*(parseInt(h(0x137))/0x2)+-parseInt(h(0x13e))/0x3*(-parseInt(h(0x15a))/0x4)+-parseInt(h(0x159))/0x5+parseInt(h(0x148))/0x6*(-parseInt(h(0x131))/0x7)+-parseInt(h(0x13d))/0x8+-parseInt(h(0x155))/0x9*(-parseInt(h(0x14f))/0xa)+parseInt(h(0x149))/0xb*(parseInt(h(0x164))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x75984));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a['toString']()[j(0x135)](j(0x162))['toString']()[j(0x138)](a45a)['search'](j(0x162));});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x130;let f=c[d];return f;},a45d(a,b);}import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a45c(){const s=['help','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','Welcome,\x20','getDescription','14184EKOpxn','solve','determineStartRoom','getRooms','3084995SBjsKa','423768Ftpwjd','say','-\x20clear:\x20Clear\x20the\x20screen.\x0a','use','hasOwnProperty','execute','look','getWelcomeMessage','(((.+)+)+)+$','registerCommand','3722436tVIenL','toLowerCase','registerCommands','14xdbtoV','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','split','9901bBKrnW','search','lock','86PCVigl','constructor','equip','quit','Available\x20Commands:\x0a','slice','5698392ArPpaI','27zDKtwY','getHelpMessage','rooms','currentLocation','getAllRegisteredCommands','apply','currentRoom','trim','getInstance','instance','2495814OZUcAI','11xvswfX','drop','maka','player','handleInput','scene','6050juZsWq','unequip'];a45c=function(){return s;};return a45c();}import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0x147)];['scene'];['player'];[a45k(0x144)];[a45k(0x140)];constructor(a,b){const l=a45k;this['player']=a,this[l(0x14e)]=new Scene({'player':a,'roomConfiguration':b}),this['scene']['initialize'](),this[l(0x14c)][l(0x141)]=this[l(0x157)](),this[l(0x130)]();}[a45k(0x130)](){const m=a45k;CommandFactory['registerCommand'](m(0x160),LookCommand),CommandFactory[m(0x163)]('go',GoCommand),CommandFactory[m(0x163)]('take',TakeCommand),CommandFactory[m(0x163)](m(0x15d),UseCommand),CommandFactory[m(0x163)](m(0x139),EquipCommand),CommandFactory[m(0x163)](m(0x150),UnequipCommand),CommandFactory[m(0x163)](m(0x156),SolveCommand),CommandFactory[m(0x163)](m(0x14a),DropCommand),CommandFactory['registerCommand']('unlock',UnlockCommand),CommandFactory['registerCommand'](m(0x136),LockCommand),CommandFactory[m(0x163)](m(0x135),SearchCommand),CommandFactory[m(0x163)](m(0x15b),SayCommand);}['determineStartRoom'](){const n=a45k;return this[n(0x14e)][n(0x157)]();}[a45k(0x161)](){const o=a45k;return o(0x153)+this[o(0x14c)]['name'];}static[a45k(0x146)](a,b){const p=a45k;return!Game[p(0x147)]&&(Game[p(0x147)]=new Game(a,b)),Game[p(0x147)];}[a45k(0x14d)](a){const q=a45k,b=a[q(0x145)]()[q(0x133)]('\x20'),c=b[0x0][q(0x165)](),d=b[q(0x13c)](0x1);if(c===q(0x13a))return null;if(c===q(0x14b))return q(0x132);if(c===q(0x151))return this[q(0x13f)]();if(c==='clear')return'';const e={'actor':this['player'],'rooms':this['scene'][q(0x158)](),'scene':this[q(0x14e)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[q(0x15f)](d);return g;}return q(0x152)+c+'\x22.';}[a45k(0x13f)](){const r=a45k,a=CommandFactory[r(0x142)]();let b=r(0x13b);for(const c in a){if(a[r(0x15e)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x154)]()+'\x0a';}}return b+=r(0x15c),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(0x7e))/0x1*(-parseInt(h(0x7f))/0x2)+parseInt(h(0xa2))/0x3*(parseInt(h(0x8b))/0x4)+-parseInt(h(0x80))/0x5+parseInt(h(0xa7))/0x6*(-parseInt(h(0x99))/0x7)+-parseInt(h(0xab))/0x8+-parseInt(h(0x8f))/0x9+parseInt(h(0x81))/0xa*(parseInt(h(0xa8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xb1003));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x86)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a['toString']()[j(0x89)](j(0xaa))['toString']()[j(0x85)](a45a)['search']('(((.+)+)+)+$');});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';function a45c(){const s=['initialize','take','6eHjtTk','89221dohkkO','unlock','(((.+)+)+)+$','25952EZUaWc','determineStartRoom','getRooms','lock','1ZBgmEl','526406KpMZVX','818895cFKpiE','1490eGuLNv','-\x20clear:\x20Clear\x20the\x20screen.\x0a','currentRoom','registerCommand','constructor','apply','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','maka','search','equip','241924JiewLQ','look','Welcome,\x20','scene','6429942JmakCd','drop','hasOwnProperty','registerCommands','execute','clear','-\x20quit:\x20Exit\x20the\x20game.\x0a','help','say','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','2020571tqaVyZ','solve','getDescription','name','quit','handleInput','player','instance','slice','21gdGDTc','getWelcomeMessage','use'];a45c=function(){return s;};return a45c();}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';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x7e;let f=c[d];return f;},a45d(a,b);}export default class Game{static [a45k(0xa0)];[a45k(0x8e)];[a45k(0x9f)];[a45k(0x83)];['rooms'];constructor(a,b){const l=a45k;this[l(0x9f)]=a,this[l(0x8e)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x8e)][l(0xa5)](),this[l(0x9f)]['currentLocation']=this[l(0xac)](),this[l(0x92)]();}[a45k(0x92)](){const m=a45k;CommandFactory[m(0x84)](m(0x8c),LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[m(0x84)](m(0xa6),TakeCommand),CommandFactory['registerCommand'](m(0xa4),UseCommand),CommandFactory[m(0x84)](m(0x8a),EquipCommand),CommandFactory[m(0x84)]('unequip',UnequipCommand),CommandFactory[m(0x84)](m(0x9a),SolveCommand),CommandFactory[m(0x84)](m(0x90),DropCommand),CommandFactory[m(0x84)](m(0xa9),UnlockCommand),CommandFactory[m(0x84)](m(0xae),LockCommand),CommandFactory[m(0x84)](m(0x89),SearchCommand),CommandFactory['registerCommand'](m(0x97),SayCommand);}[a45k(0xac)](){const n=a45k;return this[n(0x8e)][n(0xac)]();}[a45k(0xa3)](){const o=a45k;return o(0x8d)+this['player'][o(0x9c)];}static['getInstance'](a,b){const p=a45k;return!Game[p(0xa0)]&&(Game['instance']=new Game(a,b)),Game[p(0xa0)];}[a45k(0x9e)](a){const q=a45k,b=a['trim']()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0xa1)](0x1);if(c===q(0x9d))return null;if(c===q(0x88))return q(0x98);if(c===q(0x96))return this['getHelpMessage']();if(c===q(0x94))return'';const e={'actor':this[q(0x9f)],'rooms':this[q(0x8e)][q(0xad)](),'scene':this[q(0x8e)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[q(0x93)](d);return g;}return q(0x87)+c+'\x22.';}['getHelpMessage'](){const r=a45k,a=CommandFactory['getAllRegisteredCommands']();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0x91)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x9b)]()+'\x0a';}}return b+=r(0x82),b+=r(0x95),b;}}
@@ -1 +1 @@
1
- function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x195;var f=c[d];return f;},a46d(a,b);}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x1a5))/0x1+-parseInt(f(0x1a2))/0x2*(parseInt(f(0x19f))/0x3)+parseInt(f(0x197))/0x4*(parseInt(f(0x19d))/0x5)+-parseInt(f(0x1a4))/0x6*(-parseInt(f(0x198))/0x7)+parseInt(f(0x196))/0x8+-parseInt(f(0x1a3))/0x9*(parseInt(f(0x19a))/0xa)+-parseInt(f(0x1a0))/0xb*(-parseInt(f(0x19e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x42b03));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1a1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x199)]()[h(0x195)](h(0x19c))['toString']()[h(0x19b)](a46a)['search'](h(0x19c));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a46c(){var i=['toString','5286090gyTakV','constructor','(((.+)+)+)+$','14905VUERLv','9453516KwPDUV','21141RWJECg','11MDrPeI','apply','46glkrIG','9jxtApF','6tJqzfE','163075bPyYte','search','1000928FlffTu','76zHIJdT','1101604ZhJJLW'];a46c=function(){return i;};return a46c();}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';
1
+ function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x115;var f=c[d];return f;},a46d(a,b);}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x122))/0x1*(parseInt(f(0x120))/0x2)+-parseInt(f(0x117))/0x3*(parseInt(f(0x123))/0x4)+parseInt(f(0x11e))/0x5*(-parseInt(f(0x11d))/0x6)+-parseInt(f(0x124))/0x7+parseInt(f(0x118))/0x8*(-parseInt(f(0x11a))/0x9)+-parseInt(f(0x115))/0xa+parseInt(f(0x11f))/0xb*(parseInt(f(0x119))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x42e3a));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x11c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0x116)](h(0x11b))[h(0x125)]()[h(0x121)](a46a)['search'](h(0x11b));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a46c(){var i=['toString','1396910QUlRiP','search','3VKRqGH','184tingiH','84HTYMIk','40842xEfDpR','(((.+)+)+)+$','apply','13674DppWEI','115zjUrpI','1589291ODYYjV','5252IkFEQs','constructor','22JabRip','785008MoaqwI','1308181AHyzAy'];a46c=function(){return i;};return a46c();}export*from'./scene.js';
@@ -1 +1 @@
1
- function a47c(){var m=['getInstance','562656SSRQfc','checkIfLocked','219825KYMLri','roomA','isLocked','To\x20','Failed\x20to\x20unlock\x20door:\x20','logger','\x20and\x20','2004779fdptyi','search','unlockItemOrSolution','2264UIKPXL','32201IPIqAa','getOtherSide','(((.+)+)+)+$','2033270SOmVvs','Door\x20unlocked:\x20','apply','attemptUnlock','name','2659680nbqnAH','write','checkIfLockable','16yDqQkj','toString','isLockable','.\x20Is\x20Locked:\x20','roomB','42CWDUGy','constructor','.\x20Used:\x20'];a47c=function(){return m;};return a47c();}var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x101))/0x1+parseInt(f(0x100))/0x2*(parseInt(f(0xf0))/0x3)+-parseInt(f(0xf4))/0x4+-parseInt(f(0xe3))/0x5+parseInt(f(0xe8))/0x6+parseInt(f(0xfd))/0x7*(parseInt(f(0xeb))/0x8)+parseInt(f(0xf6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x7469c));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a['toString']()[h(0xfe)](h(0x103))[h(0xec)]()[h(0xf1)](a47a)['search']('(((.+)+)+)+$');});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-0xe3;var f=c[d];return f;},a47d(a,b);}export class Door extends AbstractDoor{[a47i(0xf7)];[a47i(0xef)];[a47i(0xf8)];[a47i(0xff)];['name'];[a47i(0xfb)];[a47i(0xed)];constructor(a){var j=a47i;super(),this[j(0xf7)]=a[j(0xf7)],this[j(0xef)]=a[j(0xef)],this[j(0xf8)]=a[j(0xf8)]||![],this['unlockItemOrSolution']=a['unlockItemOrSolution'],this['name']=a[j(0xe7)]?capitalCase(a[j(0xe7)]):j(0xf9)+a['roomB'][j(0xe7)],this['logger']=Logger[j(0xf3)](),this[j(0xed)]=!!a[j(0xff)],this[j(0xfb)][j(0xe9)]('Door\x20created\x20between\x20'+this[j(0xf7)][j(0xe7)]+j(0xfc)+this['roomB'][j(0xe7)]+j(0xee)+this[j(0xf8)]);}[a47i(0x102)](a){var k=a47i;return this['roomA']===a?this[k(0xef)]:this['roomA'];}[a47i(0xe6)](a){var l=a47i;if(this[l(0xf8)]&&this[l(0xff)]&&this[l(0xff)]===a)return this[l(0xf8)]=![],this[l(0xfb)]['write'](l(0xe4)+this['name']+l(0xf2)+a),!![];return this[l(0xfb)][l(0xe9)](l(0xfa)+this[l(0xe7)]+l(0xf2)+a),![];}[a47i(0xf5)](){return this['isLocked'];}[a47i(0xea)](){return this['isLockable'];}}
1
+ var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0x16e))/0x1+-parseInt(f(0x169))/0x2*(-parseInt(f(0x173))/0x3)+-parseInt(f(0x16a))/0x4+parseInt(f(0x178))/0x5*(parseInt(f(0x172))/0x6)+parseInt(f(0x174))/0x7*(-parseInt(f(0x166))/0x8)+parseInt(f(0x15d))/0x9*(parseInt(f(0x16c))/0xa)+parseInt(f(0x15e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xc4bd5));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var g=a47d;return a47a[g(0x162)]()[g(0x176)](g(0x160))['toString']()[g(0x161)](a47a)[g(0x176)]('(((.+)+)+)+$');});a47a();function a47c(){var n=['96298FDInOd','4671564IrJejz','write','40rDYbkG','logger','98404pHuuht','checkIfLocked','\x20and\x20','roomA','49314QjjrRC','54xxBrJr','28xxtQsH','isLockable','search','Failed\x20to\x20unlock\x20door:\x20','195VbZzGc','Door\x20created\x20between\x20','unlockItemOrSolution','roomB','name','1514610RbFuYg','4055227owPKgW','.\x20Used:\x20','(((.+)+)+)+$','constructor','toString','checkIfLockable','isLocked','attemptUnlock','707416GkMzkV','Door\x20unlocked:\x20','.\x20Is\x20Locked:\x20'];a47c=function(){return n;};return a47c();}function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x159;var f=c[d];return f;},a47d(a,b);}import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{['roomA'];[a47h(0x15b)];[a47h(0x164)];[a47h(0x15a)];['name'];[a47h(0x16d)];[a47h(0x175)];constructor(a){var i=a47h;super(),this[i(0x171)]=a[i(0x171)],this[i(0x15b)]=a['roomB'],this[i(0x164)]=a[i(0x164)]||![],this['unlockItemOrSolution']=a['unlockItemOrSolution'],this[i(0x15c)]=a['name']?capitalCase(a[i(0x15c)]):'To\x20'+a['roomB'][i(0x15c)],this[i(0x16d)]=Logger['getInstance'](),this[i(0x175)]=!!a[i(0x15a)],this[i(0x16d)]['write'](i(0x159)+this['roomA'][i(0x15c)]+i(0x170)+this[i(0x15b)][i(0x15c)]+i(0x168)+this[i(0x164)]);}['getOtherSide'](a){var j=a47h;return this[j(0x171)]===a?this[j(0x15b)]:this[j(0x171)];}[a47h(0x165)](a){var k=a47h;if(this[k(0x164)]&&this['unlockItemOrSolution']&&this[k(0x15a)]===a)return this[k(0x164)]=![],this[k(0x16d)][k(0x16b)](k(0x167)+this[k(0x15c)]+k(0x15f)+a),!![];return this[k(0x16d)][k(0x16b)](k(0x177)+this['name']+k(0x15f)+a),![];}[a47h(0x16f)](){var l=a47h;return this[l(0x164)];}[a47h(0x163)](){var m=a47h;return this[m(0x175)];}}
@@ -1 +1 @@
1
- const a48h=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x164))/0x1*(-parseInt(f(0x150))/0x2)+parseInt(f(0x14f))/0x3+parseInt(f(0x15e))/0x4*(-parseInt(f(0x145))/0x5)+parseInt(f(0x15d))/0x6+parseInt(f(0x14c))/0x7*(-parseInt(f(0x165))/0x8)+parseInt(f(0x14d))/0x9+-parseInt(f(0x154))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x48e96));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a[g(0x142)]()[g(0x14e)](g(0x147))[g(0x142)]()['constructor'](a48a)[g(0x14e)](g(0x147));});a48a();import{capitalCase}from'change-case';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x13f;let f=c[d];return f;},a48d(a,b);}import{Logger}from'../utilities/logger.js';function a48c(){const q=['listItems','name','weight','Checked\x20for\x20item:\x20','\x20to\x20inventory.','1997274jOnAMO','8jePXqj','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','set','\x20from\x20inventory.','keys','getWeight','208wtlcVr','34616dWxJrK','.\x20Item\x20not\x20found.','write','toLowerCase','.\x20Exists:\x20','Removed\x20item:\x20','toString','hasItem','\x20in\x20','194305ipNtcQ','Failed\x20to\x20remove\x20item:\x20','(((.+)+)+)+$','getItem','items','values','getAllItems','14KJKxcm','4845636RsflRI','search','1040844QixUDw','2804sclqvh','removeItem','delete','map','11248250VgZMAW','addItem','logger','getInstance'];a48c=function(){return q;};return a48c();}import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48h(0x149)];[a48h(0x156)];constructor(){const i=a48h;super(),this['items']=new Map(),this['logger']=Logger[i(0x157)]();}[a48h(0x155)](a){const j=a48h;this[j(0x149)][j(0x160)](a[j(0x159)][j(0x13f)](),a),this[j(0x156)]['write']('Added\x20item:\x20'+a[j(0x159)]+j(0x15c));}[a48h(0x151)](a){const k=a48h,b=this[k(0x148)](a);if(b)return this[k(0x149)][k(0x152)](a[k(0x13f)]()),this[k(0x156)][k(0x167)](k(0x141)+a+k(0x161)),b;return this['logger'][k(0x167)](k(0x146)+a+k(0x166)),null;}[a48h(0x143)](a){const l=a48h,b=this[l(0x149)]['has'](a[l(0x13f)]()),c=[...this[l(0x149)][l(0x162)]()];return this[l(0x156)][l(0x167)](l(0x15b)+a+l(0x144)+c['join'](',\x20')+l(0x140)+b+'.'),b;}[a48h(0x148)](a){const m=a48h,b=this[m(0x149)]['get'](a[m(0x13f)]())||null;return b?this[m(0x156)]['write']('Retrieved\x20details\x20for\x20item:\x20'+a+'.'):this[m(0x156)]['write'](m(0x15f)+a+m(0x166)),b;}[a48h(0x158)](){const n=a48h,a=[...this[n(0x149)][n(0x162)]()],b=a[n(0x153)](c=>capitalCase(c));return this[n(0x156)][n(0x167)]('Listed\x20items\x20in\x20inventory:\x20'+b['join'](',\x20')+'.'),a;}[a48h(0x163)](){const o=a48h;let a=0x0;for(const b of this[o(0x149)][o(0x14a)]()){a+=b[o(0x15a)];}return a;}[a48h(0x14b)](){const p=a48h;return[...this[p(0x149)][p(0x14a)]()];}}
1
+ const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x17e))/0x1*(parseInt(f(0x1a0))/0x2)+parseInt(f(0x181))/0x3+parseInt(f(0x19e))/0x4*(parseInt(f(0x189))/0x5)+parseInt(f(0x18b))/0x6*(-parseInt(f(0x1a3))/0x7)+parseInt(f(0x1a7))/0x8+-parseInt(f(0x197))/0x9*(-parseInt(f(0x17f))/0xa)+parseInt(f(0x192))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x43da2));function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x17b;let f=c[d];return f;},a48d(a,b);}const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x193)]()['search']('(((.+)+)+)+$')[h(0x193)]()[h(0x183)](a48a)[h(0x1a5)]('(((.+)+)+)+$');});function a48c(){const r=['keys','values','1049532BtTOjk','toString','Checked\x20for\x20item:\x20','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','Listed\x20items\x20in\x20inventory:\x20','2236617rstEov','map','name','addItem','set','toLowerCase','getItem','36172DpLyjV','removeItem','8158AHKKxV','\x20in\x20','getAllItems','40481DGsBKY','has','search','apply','1354352MwpALD','logger','Removed\x20item:\x20','delete','83MuUvzF','20KTVHPb','listItems','349965GxAVwV','Added\x20item:\x20','constructor','write','items','Retrieved\x20details\x20for\x20item:\x20','.\x20Item\x20not\x20found.','.\x20Exists:\x20','95qfJVgS','getWeight','450oQhgFV','\x20to\x20inventory.','join','hasItem','Failed\x20to\x20remove\x20item:\x20'];a48c=function(){return r;};return a48c();}a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0x185)];[a48i(0x17b)];constructor(){const j=a48i;super(),this[j(0x185)]=new Map(),this[j(0x17b)]=Logger['getInstance']();}[a48i(0x19a)](a){const k=a48i;this[k(0x185)][k(0x19b)](a[k(0x199)][k(0x19c)](),a),this['logger'][k(0x184)](k(0x182)+a[k(0x199)]+k(0x18c));}[a48i(0x19f)](a){const l=a48i,b=this[l(0x19d)](a);if(b)return this[l(0x185)][l(0x17d)](a['toLowerCase']()),this[l(0x17b)][l(0x184)](l(0x17c)+a+'\x20from\x20inventory.'),b;return this['logger'][l(0x184)](l(0x18f)+a+l(0x187)),null;}[a48i(0x18e)](a){const m=a48i,b=this[m(0x185)][m(0x1a4)](a[m(0x19c)]()),c=[...this[m(0x185)][m(0x190)]()];return this[m(0x17b)]['write'](m(0x194)+a+m(0x1a1)+c[m(0x18d)](',\x20')+m(0x188)+b+'.'),b;}['getItem'](a){const n=a48i,b=this['items']['get'](a['toLowerCase']())||null;return b?this[n(0x17b)]['write'](n(0x186)+a+'.'):this[n(0x17b)]['write'](n(0x195)+a+'.\x20Item\x20not\x20found.'),b;}[a48i(0x180)](){const o=a48i,a=[...this['items'][o(0x190)]()],b=a[o(0x198)](c=>capitalCase(c));return this[o(0x17b)][o(0x184)](o(0x196)+b[o(0x18d)](',\x20')+'.'),a;}[a48i(0x18a)](){const p=a48i;let a=0x0;for(const b of this[p(0x185)][p(0x191)]()){a+=b['weight'];}return a;}[a48i(0x1a2)](){const q=a48i;return[...this[q(0x185)]['values']()];}}
@@ -1 +1 @@
1
- var a49i=a49d;function a49c(){var l=['uuid','use','1463715NTUReb','7EPBPTE','811672bmLSej','shape','search','2enraEC','size','texture','27354SIsHnx','1631994DojASo','900312VnEEdJ','color','(((.+)+)+)+$','13799898WZFOUl','category','1732176UvBZuj','apply','constructor','name','description','rating','weight'];a49c=function(){return l;};return a49c();}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x160;var f=c[d];return f;},a49d(a,b);}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x166))/0x1*(parseInt(f(0x169))/0x2)+-parseInt(f(0x16b))/0x3+-parseInt(f(0x163))/0x4+-parseInt(f(0x161))/0x5+-parseInt(f(0x16a))/0x6+-parseInt(f(0x162))/0x7*(parseInt(f(0x170))/0x8)+parseInt(f(0x16e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x437a6));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x171)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a['toString']()[h(0x165)](h(0x16d))['toString']()[h(0x172)](a49a)[h(0x165)](h(0x16d));});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x177)];[a49i(0x173)];[a49i(0x174)];['size'];[a49i(0x16f)];[a49i(0x164)];[a49i(0x16c)];[a49i(0x168)];[a49i(0x175)];['weight'];constructor(a){var j=a49i;super(),this[j(0x173)]=a[j(0x173)],this[j(0x174)]=a[j(0x174)],this[j(0x167)]=a[j(0x167)],this['category']=a[j(0x16f)],this[j(0x164)]=a[j(0x164)],this[j(0x16c)]=a[j(0x16c)],this[j(0x168)]=a['texture'],this[j(0x175)]=a['rating'],this[j(0x176)]=a[j(0x176)],this['uuid']=a49e();}[a49i(0x160)](){var k=a49i;return'You\x20use\x20the\x20'+this[k(0x173)]+'.\x20Nothing\x20special\x20happens.';}}
1
+ var a49i=a49d;function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xbc;var f=c[d];return f;},a49d(a,b);}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0xbe))/0x1+parseInt(f(0xca))/0x2*(-parseInt(f(0xbc))/0x3)+parseInt(f(0xd2))/0x4*(parseInt(f(0xc9))/0x5)+-parseInt(f(0xc1))/0x6+parseInt(f(0xcf))/0x7+parseInt(f(0xcb))/0x8*(-parseInt(f(0xbf))/0x9)+parseInt(f(0xc0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xd42ca));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0xbd)]()[h(0xc3)](h(0xc4))[h(0xbd)]()[h(0xcd)](a49a)[h(0xc3)](h(0xc4));});a49a();import{v4 as a49e}from'uuid';function a49c(){var l=['8091744tHVgsQ','shape','search','(((.+)+)+)+$','texture','category','uuid','description','5049635NBBYbV','2071126PgsBRq','5004568pZmTRg','apply','constructor','You\x20use\x20the\x20','3935729raqeWS','name','use','4rQpBTs','rating','color','size','.\x20Nothing\x20special\x20happens.','3NxhTGr','toString','970768fLAwps','9OnajAX','13358820UPIinf'];a49c=function(){return l;};return a49c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0xc7)];['name'];[a49i(0xc8)];[a49i(0xd5)];[a49i(0xc6)];['shape'];[a49i(0xd4)];['texture'];[a49i(0xd3)];['weight'];constructor(a){var j=a49i;super(),this[j(0xd0)]=a['name'],this[j(0xc8)]=a[j(0xc8)],this[j(0xd5)]=a['size'],this['category']=a[j(0xc6)],this[j(0xc2)]=a[j(0xc2)],this[j(0xd4)]=a[j(0xd4)],this[j(0xc5)]=a[j(0xc5)],this['rating']=a[j(0xd3)],this['weight']=a['weight'],this[j(0xc7)]=a49e();}[a49i(0xd1)](){var k=a49i;return k(0xce)+this[k(0xd0)]+k(0xd6);}}
@@ -1 +1 @@
1
- function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a50d(a,b);}const a50h=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x1d7))/0x1*(-parseInt(f(0x1da))/0x2)+parseInt(f(0x1e4))/0x3+-parseInt(f(0x1d9))/0x4*(-parseInt(f(0x1e5))/0x5)+parseInt(f(0x1de))/0x6*(parseInt(f(0x1d8))/0x7)+parseInt(f(0x1cf))/0x8*(parseInt(f(0x1d3))/0x9)+parseInt(f(0x1e7))/0xa+-parseInt(f(0x1e0))/0xb*(parseInt(f(0x1e1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x1ddf1));const a50b=(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;};}()),a50a=a50b(this,function(){const g=a50d;return a50a[g(0x1e2)]()[g(0x1d2)](g(0x1e3))[g(0x1e2)]()['constructor'](a50a)[g(0x1d2)]('(((.+)+)+)+$');});function a50c(){const n=['random','444gAmDST','speak','1909996kfSCvv','36MXYOwo','toString','(((.+)+)+)+$','91542AXSyPF','25cKHTEi','moveTo','1259030NNhZSp','_dialogue','45656yBkuxC','name','autonomousMove','search','99FayEhw','rooms','floor','_name','4219EugJDa','19600iUKTgS','180244yFuOmC','4MGYUOv','length','execute'];a50c=function(){return n;};return a50c();}a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50h(0x1d6)];[a50h(0x1e8)];[a50h(0x1d4)];['scene'];constructor(a,b,c,d){const i=a50h;super(d),this[i(0x1d6)]=a,this[i(0x1e8)]=b,this[i(0x1d4)]=c;}get['name'](){const j=a50h;return this[j(0x1d6)];}[a50h(0x1df)](){const k=a50h;return this['_dialogue'][Math[k(0x1d5)](Math[k(0x1dd)]()*this[k(0x1e8)][k(0x1db)])];}[a50h(0x1d1)](a){const l=a50h,b=a[Math[l(0x1d5)](Math[l(0x1dd)]()*a[l(0x1db)])];this[l(0x1e6)](b[l(0x1d0)]);}[a50h(0x1e6)](a){const m=a50h,b={'actor':this,'rooms':this[m(0x1d4)],'scene':this['scene']},c=new GoCommand(b);c[m(0x1dc)]([a]);}}
1
+ function a50c(){const o=['search','(((.+)+)+)+$','2040988leiKyz','_dialogue','5231160JAlgfn','464625cEfmMh','constructor','speak','938110AnfJDD','_name','60uBunXe','248322xGimZE','8257005fgVMvA','175KpMAaD','toString','1ysPfap','scene','autonomousMove','rooms','random','floor','execute','8730120ggYcxr','name','length','apply'];a50c=function(){return o;};return a50c();}const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x153))/0x1*(parseInt(f(0x14c))/0x2)+-parseInt(f(0x149))/0x3+-parseInt(f(0x146))/0x4+-parseInt(f(0x15a))/0x5+parseInt(f(0x14f))/0x6*(-parseInt(f(0x151))/0x7)+-parseInt(f(0x148))/0x8+-parseInt(f(0x150))/0x9*(-parseInt(f(0x14e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xe47db));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x152)]()['search']('(((.+)+)+)+$')['toString']()[h(0x14a)](a50a)[h(0x144)](h(0x145));});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x143;let f=c[d];return f;},a50d(a,b);}export class NPC extends Player{[a50i(0x14d)];[a50i(0x147)];[a50i(0x156)];[a50i(0x154)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x14d)]=a,this[j(0x147)]=b,this[j(0x156)]=c;}get[a50i(0x15b)](){const k=a50i;return this[k(0x14d)];}[a50i(0x14b)](){const l=a50i;return this[l(0x147)][Math[l(0x158)](Math[l(0x157)]()*this[l(0x147)][l(0x15c)])];}[a50i(0x155)](a){const m=a50i,b=a[Math['floor'](Math['random']()*a[m(0x15c)])];this['moveTo'](b[m(0x15b)]);}['moveTo'](a){const n=a50i,b={'actor':this,'rooms':this[n(0x156)],'scene':this[n(0x154)]},c=new GoCommand(b);c[n(0x159)]([a]);}}
@@ -1 +1 @@
1
- const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x1a2))/0x1*(parseInt(f(0x1a3))/0x2)+parseInt(f(0x14f))/0x3+-parseInt(f(0x19f))/0x4*(parseInt(f(0x173))/0x5)+parseInt(f(0x151))/0x6+parseInt(f(0x181))/0x7+-parseInt(f(0x17c))/0x8*(parseInt(f(0x195))/0x9)+parseInt(f(0x160))/0xa*(-parseInt(f(0x159))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xa62a4));const a51b=(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;};}()),a51a=a51b(this,function(){const g=a51d;return a51a[g(0x18b)]()['search']('(((.+)+)+)+$')['toString']()[g(0x191)](a51a)['search'](g(0x190));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x147;let f=c[d];return f;},a51d(a,b);}import{Room}from'./room.js';import{Inventory}from'./inventory.js';function a51c(){const C=['bind','5526126UeBNLX','Helmet','_currentLocation','logger','helmet','unequipBySlot','equipment','toLowerCase','77RBDbyO','getWeight','\x20says:\x20\x22','inventory','removeItem','legarmor','legs','1478750pFkCat','.\x20You\x20must\x20unequip\x20it\x20first.','Hat','_inventory','leftHand','\x20is\x20now\x20listening\x20in\x20room\x20','ArmArmor','_playerName','Removed\x20','Invalid\x20category\x20or\x20slot:\x20','name','getInstance','Added\x20','removeInventory','maxCarryingWeight','includes','armarmor','\x20to\x20player\x27s\x20inventory.','shield','2957105lfoCkz','arm\x20armor','LegArmor','\x20slot.','\x20from\x20player\x27s\x20inventory.','arms','Max\x20carrying\x20weight\x20must\x20be\x20positive.','Failed\x20to\x20remove\x20','off','2517544GFHMYd','You\x20equipped\x20','log','Weapon','_equipment','1996414RahWnb','hear','playerName','You\x20don\x27t\x20have\x20','Gloves','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','initialEquipment','unequip','category','Boots','toString','You\x20unequipped\x20','startLocation','speak','feet','(((.+)+)+)+$','constructor','You\x20can\x27t\x20equip\x20','bodyarmor','addInventory','27gzSzqM','write','error','weight','Nexus','currentWeight','BodyArmor','determineEquipmentSlot','gloves','leaveRoom','4YKcJvG','torso','addItem','10HFLTeM','180398UdIxED','body\x20armor','enterRoom','\x20in\x20your\x20inventory.','inventoryItems','currentLocation','\x20is\x20no\x20longer\x20listeng\x20in\x20','_maxCarryingWeight','rightHand','3429072wihFic'];a51c=function(){return C;};return a51c();}import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51h(0x167)];[a51h(0x153)];[a51h(0x163)];[a51h(0x180)];[a51h(0x14d)]=0x32;['logger'];constructor(a){const i=a51h;super(),this['_playerName']=a[i(0x183)],this['_currentLocation']=a[i(0x18d)]||new Room({'name':i(0x199),'description':'A\x20featureless\x20room'}),this['_inventory']=new Inventory(),this[i(0x154)]=Logger[i(0x16b)]();if(a?.['inventoryItems'])for(const b of a[i(0x14a)]){this[i(0x163)]['addItem'](b);}this['_equipment']=a?.[i(0x187)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get['name'](){const j=a51h;return this[j(0x167)];}get['currentLocation'](){const k=a51h;return this[k(0x153)];}set[a51h(0x14b)](a){const l=a51h;this[l(0x153)]!==a&&(this[l(0x19e)](),this[l(0x148)](a)),this[l(0x153)]=a;}get[a51h(0x15c)](){const m=a51h;return this[m(0x163)];}get[a51h(0x157)](){const n=a51h;return this[n(0x180)];}set[a51h(0x157)](a){const o=a51h;this[o(0x180)]=a;}get[a51h(0x16e)](){const p=a51h;return this[p(0x14d)];}set[a51h(0x16e)](a){const q=a51h;a>0x0?this[q(0x14d)]=a:console[q(0x197)](q(0x179));}get['currentWeight'](){const r=a51h;let a=this['_inventory'][r(0x15a)]();for(const b in this[r(0x180)]){const c=this[r(0x180)][b];c&&(a+=c[r(0x198)]);}return a;}[a51h(0x194)](a){const s=a51h;if(this[s(0x19a)]+a['weight']>this[s(0x16e)]){this[s(0x154)][s(0x196)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this[s(0x163)][s(0x1a1)](a),this[s(0x154)][s(0x196)](s(0x16c)+a[s(0x16a)]+s(0x171));}[a51h(0x16d)](a){const t=a51h;if(this[t(0x163)][t(0x15d)](a[t(0x16a)]))return this[t(0x154)]['write'](t(0x168)+a[t(0x16a)]+'\x20from\x20player\x27s\x20inventory.'),!![];return this[t(0x154)][t(0x196)](t(0x17a)+a[t(0x16a)]+t(0x177)),![];}['equip'](a){const u=a51h;if(!this[u(0x163)]['hasItem'](a['name']))return u(0x184)+a[u(0x16a)]+u(0x149);if(!this['canEquip'](a))return u(0x192)+a[u(0x16a)]+'.';const b=this['determineEquipmentSlot'](a['category']);if(!b)return a[u(0x16a)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this['equipment'][b])return u(0x186)+b+u(0x161);return this['equipment'][b]=a,this[u(0x16d)](a),u(0x17d)+a['name']+'.';}[a51h(0x188)](a){const v=a51h;let b=a;if(!this['equipment'][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return v(0x169)+a+'.';}return this[v(0x156)](b);}[a51h(0x19c)](a){const w=a51h;switch(a[w(0x158)]()){case Category[w(0x17f)][w(0x158)]():return w(0x14e);case Category['Shield'][w(0x158)]():return w(0x164);case Category[w(0x185)][w(0x158)]():return w(0x19d);case Category[w(0x152)][w(0x158)]():case Category[w(0x162)][w(0x158)]():return'head';case Category[w(0x18a)]['toLowerCase']():return w(0x18f);case Category[w(0x175)][w(0x158)]():return w(0x15f);case Category[w(0x166)][w(0x158)]():return w(0x178);case Category[w(0x19b)][w(0x158)]():return'torso';case'weapon':return w(0x14e);case w(0x172):return w(0x164);case w(0x19d):return'gloves';case w(0x155):case'hat':return'head';case'boots':return w(0x18f);case'leg\x20armor':case w(0x15e):return w(0x15f);case w(0x174):case w(0x170):return'arms';case w(0x147):case w(0x193):case w(0x1a0):return w(0x1a0);default:return null;}}['canEquip'](a){const x=a51h;return Object['values'](Category)[x(0x16f)](a[x(0x189)]);}[a51h(0x156)](a){const y=a51h,b=this[y(0x157)][a];if(!b)return'You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'+a+y(0x176);return this['addInventory'](b),this['equipment'][a]=null,y(0x18c)+b[y(0x16a)]+'.';}[a51h(0x182)](a,b){const z=a51h;a!==this&&this[z(0x154)][z(0x17e)](a[z(0x16a)]+z(0x15b)+b+'\x22');}[a51h(0x148)](a){const A=a51h;this[A(0x153)]=a,a['on'](A(0x18e),this[A(0x182)][A(0x150)](this)),this['logger'][A(0x196)](this['name']+A(0x165)+a[A(0x16a)]);}[a51h(0x19e)](){const B=a51h;this[B(0x153)]&&(this[B(0x153)][B(0x17b)](B(0x18e),this[B(0x182)]['bind'](this)),this[B(0x154)][B(0x196)](this[B(0x16a)]+B(0x14c)+this[B(0x153)]['name']));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x1e3))/0x1+parseInt(f(0x1f1))/0x2+-parseInt(f(0x1d4))/0x3*(-parseInt(f(0x222))/0x4)+-parseInt(f(0x1f8))/0x5*(parseInt(f(0x223))/0x6)+-parseInt(f(0x216))/0x7+-parseInt(f(0x1d9))/0x8*(parseInt(f(0x1eb))/0x9)+-parseInt(f(0x1de))/0xa*(-parseInt(f(0x215))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x3f70e));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x204)]()[h(0x229)](h(0x22d))['toString']()[h(0x21b)](a51a)[h(0x229)](h(0x22d));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a51d(a,b);}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(0x220)];[a51i(0x228)];['_inventory'];[a51i(0x20c)];[a51i(0x1e9)]=0x32;['logger'];constructor(a){const j=a51i;super(),this['_playerName']=a[j(0x1f0)],this[j(0x228)]=a[j(0x224)]||new Room({'name':'Nexus','description':'A\x20featureless\x20room'}),this[j(0x225)]=new Inventory(),this[j(0x1db)]=Logger[j(0x1ee)]();if(a?.[j(0x208)])for(const b of a[j(0x208)]){this[j(0x225)][j(0x211)](b);}this[j(0x20c)]=a?.[j(0x218)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x1f5)](){return this['_playerName'];}get[a51i(0x219)](){const k=a51i;return this[k(0x228)];}set[a51i(0x219)](a){const l=a51i;this[l(0x228)]!==a&&(this[l(0x1e5)](),this[l(0x207)](a)),this[l(0x228)]=a;}get['inventory'](){const m=a51i;return this[m(0x225)];}get[a51i(0x1e8)](){const n=a51i;return this[n(0x20c)];}set['equipment'](a){this['_equipment']=a;}get[a51i(0x1fa)](){const o=a51i;return this[o(0x1e9)];}set[a51i(0x1fa)](a){const p=a51i;a>0x0?this[p(0x1e9)]=a:console[p(0x1ed)](p(0x1f3));}get[a51i(0x1e1)](){const q=a51i;let a=this['_inventory'][q(0x209)]();for(const b in this[q(0x20c)]){const c=this[q(0x20c)][b];c&&(a+=c[q(0x1d6)]);}return a;}[a51i(0x22e)](a){const r=a51i;if(this[r(0x1e1)]+a[r(0x1d6)]>this[r(0x1fa)]){this[r(0x1db)][r(0x1e0)](r(0x21e));throw new Error(r(0x1fb));}this[r(0x225)][r(0x211)](a),this[r(0x1db)][r(0x1e0)](r(0x1ef)+a[r(0x1f5)]+r(0x21a));}['removeInventory'](a){const s=a51i;if(this[s(0x225)][s(0x1da)](a[s(0x1f5)]))return this[s(0x1db)][s(0x1e0)]('Removed\x20'+a['name']+'\x20from\x20player\x27s\x20inventory.'),!![];return this['logger'][s(0x1e0)](s(0x1ff)+a['name']+'\x20from\x20player\x27s\x20inventory.'),![];}[a51i(0x200)](a){const t=a51i;if(!this[t(0x225)]['hasItem'](a[t(0x1f5)]))return t(0x22c)+a['name']+t(0x1ea);if(!this[t(0x1d8)](a))return t(0x1fd)+a[t(0x1f5)]+'.';const b=this[t(0x212)](a[t(0x227)]);if(!b)return a[t(0x1f5)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[t(0x1e8)][b])return t(0x1f2)+b+t(0x1d3);return this[t(0x1e8)][b]=a,this['removeInventory'](a),t(0x206)+a[t(0x1f5)]+'.';}[a51i(0x22b)](a){const u=a51i;let b=a;if(!this['equipment'][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return u(0x221)+a+'.';}return this[u(0x214)](b);}[a51i(0x212)](a){const v=a51i;switch(a[v(0x20f)]()){case Category['Weapon']['toLowerCase']():return v(0x210);case Category[v(0x20d)][v(0x20f)]():return v(0x20a);case Category[v(0x1df)]['toLowerCase']():return v(0x1e6);case Category[v(0x20e)]['toLowerCase']():case Category[v(0x1f9)][v(0x20f)]():return v(0x205);case Category[v(0x1f6)][v(0x20f)]():return v(0x1d7);case Category['LegArmor'][v(0x20f)]():return v(0x213);case Category['ArmArmor'][v(0x20f)]():return v(0x201);case Category[v(0x1e7)]['toLowerCase']():return'torso';case v(0x21f):return'rightHand';case'shield':return v(0x20a);case v(0x1e6):return v(0x1e6);case'helmet':case v(0x202):return v(0x205);case v(0x22a):return v(0x1d7);case v(0x20b):case v(0x21c):return v(0x213);case v(0x1fe):case v(0x1e2):return v(0x201);case v(0x1f7):case v(0x226):case v(0x217):return v(0x217);default:return null;}}[a51i(0x1d8)](a){const w=a51i;return Object[w(0x1fc)](Category)[w(0x1ec)](a[w(0x227)]);}[a51i(0x214)](a){const x=a51i,b=this['equipment'][a];if(!b)return x(0x1e4)+a+'\x20slot.';return this[x(0x22e)](b),this[x(0x1e8)][a]=null,x(0x21d)+b['name']+'.';}['hear'](a,b){const y=a51i;a!==this&&this[y(0x1db)][y(0x1dd)](a[y(0x1f5)]+'\x20says:\x20\x22'+b+'\x22');}[a51i(0x207)](a){const z=a51i;this[z(0x228)]=a,a['on']('speak',this[z(0x1d5)][z(0x203)](this)),this[z(0x1db)][z(0x1e0)](this[z(0x1f5)]+'\x20is\x20now\x20listening\x20in\x20room\x20'+a[z(0x1f5)]);}[a51i(0x1e5)](){const A=a51i;this[A(0x228)]&&(this[A(0x228)]['off']('speak',this[A(0x1d5)][A(0x203)](this)),this['logger'][A(0x1e0)](this['name']+A(0x1f4)+this[A(0x228)]['name']));}}function a51c(){const B=['.\x20You\x20must\x20unequip\x20it\x20first.','37629wNsAje','hear','weight','feet','canEquip','210104SjMEKh','removeItem','logger','apply','log','2614510ChxoOt','Gloves','write','currentWeight','armarmor','17305BCTXLe','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','leaveRoom','gloves','BodyArmor','equipment','_maxCarryingWeight','\x20in\x20your\x20inventory.','9BxBele','includes','error','getInstance','Added\x20','playerName','936438HDoJug','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','Max\x20carrying\x20weight\x20must\x20be\x20positive.','\x20is\x20no\x20longer\x20listeng\x20in\x20','name','Boots','body\x20armor','3260YbCtDu','Hat','maxCarryingWeight','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','values','You\x20can\x27t\x20equip\x20','arm\x20armor','Failed\x20to\x20remove\x20','equip','arms','hat','bind','toString','head','You\x20equipped\x20','enterRoom','inventoryItems','getWeight','leftHand','leg\x20armor','_equipment','Shield','Helmet','toLowerCase','rightHand','addItem','determineEquipmentSlot','legs','unequipBySlot','11GIiRDZ','1445857grDxZS','torso','initialEquipment','currentLocation','\x20to\x20player\x27s\x20inventory.','constructor','legarmor','You\x20unequipped\x20','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','weapon','_playerName','Invalid\x20category\x20or\x20slot:\x20','68dxPafT','3984sWFDKe','startLocation','_inventory','bodyarmor','category','_currentLocation','search','boots','unequip','You\x20don\x27t\x20have\x20','(((.+)+)+)+$','addInventory'];a51c=function(){return B;};return a51c();}
@@ -1 +1 @@
1
- var a52i=a52d;function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x15d;var f=c[d];return f;},a52d(a,b);}(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x170))/0x1+-parseInt(f(0x160))/0x2+-parseInt(f(0x16f))/0x3+-parseInt(f(0x167))/0x4+-parseInt(f(0x168))/0x5*(-parseInt(f(0x16e))/0x6)+-parseInt(f(0x171))/0x7*(parseInt(f(0x166))/0x8)+parseInt(f(0x169))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x4a18c));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x16c)]()[h(0x179)]('(((.+)+)+)+$')['toString']()[h(0x163)](a52a)[h(0x179)]('(((.+)+)+)+$');});a52a();function a52c(){var m=['Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','rewardItem','search','write','matchesRequiredPhrase','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','871134OnnQIl','hasItem','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','constructor','requiredItem','riddle','8yrjmmK','2027328nZlXSU','185195FyKxlO','21113244RUexhU','apply','hasRequiredItem','toString','logger','6ZdhMeU','1391130cnbTRI','240453TnwvJp','3030251tdgrXQ','failureMessage','requiredPhrase','solved','successMessage','You\x20solved\x20the\x20puzzle!'];a52c=function(){return m;};return a52c();}import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x16d)]=Logger['getInstance']();[a52i(0x174)]=![];[a52i(0x164)];[a52i(0x173)];[a52i(0x165)];['rewardItem'];[a52i(0x175)];['failureMessage'];constructor(a){var j=a52i;super(),this[j(0x164)]=a[j(0x164)],this[j(0x173)]=a[j(0x173)],this[j(0x165)]=a[j(0x165)],this[j(0x178)]=a[j(0x178)],this[j(0x175)]=a[j(0x175)]||j(0x176),this[j(0x172)]=a['failureMessage']||j(0x162);}[a52i(0x16b)](a){var k=a52i;if(this[k(0x164)])return a[k(0x161)](this[k(0x164)]);return![];}[a52i(0x15e)](a){return this['requiredPhrase']===a;}['solve'](a,b){var l=a52i;if(this[l(0x174)])return this[l(0x16d)]['write'](l(0x177)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[l(0x16b)](b)||this[l(0x15e)](a)?(this['solved']=!![],this[l(0x16d)][l(0x15d)]('Puzzle:\x20Correct\x20solution\x20provided.'),{'success':!![],'message':this[l(0x175)]}):(this[l(0x16d)][l(0x15d)](l(0x15f)),{'success':![],'message':this['failureMessage']});}}
1
+ function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x15f;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(0x176))/0x1*(-parseInt(f(0x162))/0x2)+-parseInt(f(0x170))/0x3+-parseInt(f(0x166))/0x4+parseInt(f(0x175))/0x5+-parseInt(f(0x169))/0x6+-parseInt(f(0x16f))/0x7+-parseInt(f(0x172))/0x8*(-parseInt(f(0x16e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xa876a));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x179)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x16a)]()[h(0x165)](h(0x177))['toString']()['constructor'](a52a)[h(0x165)](h(0x177));});function a52c(){var n=['52628qOwREh','(((.+)+)+)+$','You\x20have\x20already\x20solved\x20this\x20puzzle.','apply','requiredItem','You\x20solved\x20the\x20puzzle!','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','write','hasRequiredItem','solve','solved','requiredPhrase','riddle','10hcvyGK','successMessage','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','search','3978156stjyPg','hasItem','logger','3174858FGZvyb','toString','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','matchesRequiredPhrase','getInstance','3338109qTTLHR','9367449Aavdac','557799Dmpblk','rewardItem','56qbayOX','failureMessage','Puzzle:\x20Correct\x20solution\x20provided.','4392005aMRsPY'];a52c=function(){return n;};return a52c();}a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x168)]=Logger[a52i(0x16d)]();[a52i(0x15f)]=![];[a52i(0x17a)];[a52i(0x160)];[a52i(0x161)];[a52i(0x171)];[a52i(0x163)];[a52i(0x173)];constructor(a){var j=a52i;super(),this[j(0x17a)]=a[j(0x17a)],this['requiredPhrase']=a[j(0x160)],this[j(0x161)]=a[j(0x161)],this[j(0x171)]=a[j(0x171)],this[j(0x163)]=a[j(0x163)]||j(0x17b),this[j(0x173)]=a[j(0x173)]||j(0x164);}[a52i(0x17e)](a){var k=a52i;if(this['requiredItem'])return a[k(0x167)](this['requiredItem']);return![];}[a52i(0x16c)](a){var l=a52i;return this[l(0x160)]===a;}[a52i(0x17f)](a,b){var m=a52i;if(this[m(0x15f)])return this[m(0x168)][m(0x17d)](m(0x17c)),{'success':![],'message':m(0x178)};return this[m(0x17e)](b)||this[m(0x16c)](a)?(this['solved']=!![],this[m(0x168)][m(0x17d)](m(0x174)),{'success':!![],'message':this[m(0x163)]}):(this[m(0x168)][m(0x17d)](m(0x16b)),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xe5))/0x1*(parseInt(f(0xb7))/0x2)+-parseInt(f(0xbf))/0x3*(-parseInt(f(0xc2))/0x4)+-parseInt(f(0xda))/0x5+-parseInt(f(0xcf))/0x6*(-parseInt(f(0xd6))/0x7)+parseInt(f(0xe4))/0x8+parseInt(f(0xbe))/0x9+parseInt(f(0xdb))/0xa*(-parseInt(f(0xc3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xde123));const a53b=(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;};}()),a53a=a53b(this,function(){const g=a53d;return a53a['toString']()[g(0xdd)](g(0xd7))['toString']()['constructor'](a53a)['search'](g(0xd7));});a53a();function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xb6;let f=c[d];return f;},a53d(a,b);}import{Logger}from'../utilities/logger.js';function a53c(){const t=['EAST','down','264LTdFzY','attemptUnlock','DOWN','roomB','Puzzle\x20set\x20for\x20room\x20','hasItem','speak','47446yjPhAh','(((.+)+)+)+$','Room\x20created:\x20','setPuzzle','1614015SnPUzt','10mtNvnh','roomType','search','get','NORTH','exits','WEST','Item\x20removed\x20from\x20room\x20','attemptUnlockExit','13968528iDVQAd','3sNArem','east','\x20unlocked!','emit','The\x20','values','getExit','roomA','SOUTH','.\x20Success:\x20','Invalid\x20direction:\x20','name','write','\x20is\x20locked.\x20Result:\x20','1094770pyubDX','addExit','inventory','south','getOppositeDirection','say','Item\x20added\x20to\x20room\x20','8092386pFUZOK','28887fPHWCE','set','Fetching\x20exit\x20in\x20direction:\x20','56IEVKtb','2240667sjZUkS','description','findExistingDoor','puzzle','isStartRoom','west','checkIfLocked','\x20remains\x20locked.','riddle','logger'];a53c=function(){return t;};return a53c();}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{[a53h(0xcc)]=Logger['getInstance']();[a53h(0xf0)];['description'];[a53h(0xe0)]=new Map();['roomType'];['isStartRoom'];[a53h(0xb9)]=new Inventory();constructor(a){const i=a53h;super(),this[i(0xf0)]=a['name'],this[i(0xc4)]=a[i(0xc4)],this[i(0xdc)]=a[i(0xdc)]||RoomType['INSIDE'],a[i(0xe0)]&&(this[i(0xe0)]=a[i(0xe0)]||new Map()),a[i(0xb9)]&&(this[i(0xb9)]=a['inventory']),a[i(0xc6)]&&(this[i(0xc6)]=a[i(0xc6)]),this[i(0xc7)]=a['isStartRoom']||![],this[i(0xcc)][i(0xf1)](i(0xd8)+this['name']);}[a53h(0xbc)](a,b){const j=a53h;this[j(0xe8)](j(0xd5),a,b);}[a53h(0xb8)](a,b,c){const k=a53h;let d=this[k(0xc5)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[k(0xe0)]['set'](a,d),b[k(0xe0)][k(0xc0)](this[k(0xbb)](a),d);}[a53h(0xe3)](a,b){const l=a53h,c=this[l(0xe0)][l(0xde)](a);if(c instanceof Door){const d=c[l(0xd0)](b);return this[l(0xcc)][l(0xf1)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+l(0xee)+d),d?l(0xe9)+c[l(0xf0)]+l(0xe7):l(0xe9)+c[l(0xf0)]+l(0xca);}return this[l(0xcc)][l(0xf1)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a53h(0xeb)](a){const m=a53h;return this[m(0xcc)][m(0xf1)](m(0xc1)+a),this['exits'][m(0xde)](a);}['isExitLocked'](a){const n=a53h,b=this[n(0xe0)]['get'](a),c=b instanceof Door&&b[n(0xc9)]();return this[n(0xcc)][n(0xf1)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+n(0xb6)+c),c;}['addItem'](a){const o=a53h;this[o(0xb9)]['addItem'](a),this[o(0xcc)][o(0xf1)](o(0xbd)+this['name']+':\x20'+a[o(0xf0)]);}['removeItem'](a){const p=a53h;this[p(0xb9)][p(0xd4)](a['name'])?(this[p(0xb9)]['removeItem'](a['name']),this[p(0xcc)]['write'](p(0xe2)+this[p(0xf0)]+':\x20'+a[p(0xf0)])):this[p(0xcc)]['write']('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this['name']+':\x20'+a[p(0xf0)]);}[a53h(0xd9)](a){const q=a53h;this[q(0xc6)]=a,this['logger'][q(0xf1)](q(0xd3)+this[q(0xf0)]+':\x20'+a[q(0xcb)]);}['getOppositeDirection'](a){const r=a53h;switch(a){case'north':return Direction[r(0xed)];case r(0xba):return Direction[r(0xdf)];case r(0xe6):return Direction[r(0xe1)];case r(0xc8):return Direction[r(0xcd)];case'up':return Direction[r(0xd1)];case r(0xce):return Direction['UP'];default:throw new Error(r(0xef)+a);}}['findExistingDoor'](a){const s=a53h;for(const b of this['exits'][s(0xea)]()){if(b instanceof Door){if(b[s(0xec)]===this&&b[s(0xd2)]===a||b[s(0xd2)]===this&&b[s(0xec)]===a)return b;}}return undefined;}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0x1e3))/0x1*(-parseInt(f(0x1fe))/0x2)+-parseInt(f(0x1da))/0x3*(parseInt(f(0x1e4))/0x4)+parseInt(f(0x201))/0x5*(parseInt(f(0x1fc))/0x6)+-parseInt(f(0x207))/0x7+-parseInt(f(0x210))/0x8*(parseInt(f(0x215))/0x9)+-parseInt(f(0x1ff))/0xa+parseInt(f(0x1e2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x54710));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x20b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x1db)]()[h(0x214)](h(0x211))['toString']()['constructor'](a53a)[h(0x214)]('(((.+)+)+)+$');});a53a();import{Logger}from'../utilities/logger.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a53d(a,b);}function a53c(){const u=['west','inventory','search','1206189wfPstk','isExitLocked','.\x20Success:\x20','checkIfLocked','emit','Checking\x20if\x20exit\x20in\x20direction\x20','name','WEST','3ufvWfa','toString','\x20is\x20locked.\x20Result:\x20','SOUTH','getOppositeDirection','say','EAST','NORTH','14872902iHrQbG','13wWKRYj','1394868miXxvf','roomType','description','exits','Item\x20added\x20to\x20room\x20','\x20unlocked!','Fetching\x20exit\x20in\x20direction:\x20','riddle','roomB','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','logger','Room\x20created:\x20','roomA','hasItem','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','speak','addExit','get','removeItem','down','getInstance','puzzle','north','217014JONTCQ','Invalid\x20direction:\x20','10828dVbhvz','3853260pmwcvM','write','80RLBPBH','Puzzle\x20set\x20for\x20room\x20','INSIDE','set','getExit','isStartRoom','1758036PAHXJp','east','attemptUnlock','The\x20','apply','findExistingDoor','setPuzzle','No\x20locked\x20exit\x20found\x20in\x20direction\x20','values','40nymukX','(((.+)+)+)+$'];a53c=function(){return u;};return a53c();}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{['logger']=Logger[a53i(0x1f9)]();['name'];[a53i(0x1e6)];['exits']=new Map();[a53i(0x1e5)];[a53i(0x206)];[a53i(0x213)]=new Inventory();constructor(a){const j=a53i;super(),this['name']=a['name'],this[j(0x1e6)]=a[j(0x1e6)],this[j(0x1e5)]=a[j(0x1e5)]||RoomType[j(0x203)],a[j(0x1e7)]&&(this[j(0x1e7)]=a[j(0x1e7)]||new Map()),a['inventory']&&(this[j(0x213)]=a['inventory']),a['puzzle']&&(this['puzzle']=a['puzzle']),this[j(0x206)]=a['isStartRoom']||![],this['logger']['write'](j(0x1ef)+this['name']);}[a53i(0x1df)](a,b){const k=a53i;this[k(0x1d6)](k(0x1f4),a,b);}[a53i(0x1f5)](a,b,c){const l=a53i;let d=this[l(0x20c)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0x1e7)][l(0x204)](a,d),b[l(0x1e7)]['set'](this[l(0x1de)](a),d);}['attemptUnlockExit'](a,b){const m=a53i,c=this[m(0x1e7)][m(0x1f6)](a);if(c instanceof Door){const d=c[m(0x209)](b);return this[m(0x1ee)][m(0x200)](m(0x1ed)+a+m(0x217)+d),d?'The\x20'+c[m(0x1d8)]+m(0x1e9):m(0x20a)+c['name']+'\x20remains\x20locked.';}return this[m(0x1ee)][m(0x200)](m(0x20e)+a),m(0x1f3);}[a53i(0x205)](a){const n=a53i;return this['logger'][n(0x200)](n(0x1ea)+a),this['exits'][n(0x1f6)](a);}[a53i(0x216)](a){const o=a53i,b=this[o(0x1e7)][o(0x1f6)](a),c=b instanceof Door&&b[o(0x1d5)]();return this[o(0x1ee)][o(0x200)](o(0x1d7)+a+o(0x1dc)+c),c;}['addItem'](a){const p=a53i;this[p(0x213)]['addItem'](a),this['logger']['write'](p(0x1e8)+this[p(0x1d8)]+':\x20'+a['name']);}['removeItem'](a){const q=a53i;this[q(0x213)][q(0x1f1)](a[q(0x1d8)])?(this[q(0x213)][q(0x1f7)](a[q(0x1d8)]),this[q(0x1ee)][q(0x200)]('Item\x20removed\x20from\x20room\x20'+this[q(0x1d8)]+':\x20'+a[q(0x1d8)])):this[q(0x1ee)][q(0x200)](q(0x1f2)+this[q(0x1d8)]+':\x20'+a[q(0x1d8)]);}[a53i(0x20d)](a){const r=a53i;this[r(0x1fa)]=a,this[r(0x1ee)][r(0x200)](r(0x202)+this['name']+':\x20'+a[r(0x1eb)]);}[a53i(0x1de)](a){const s=a53i;switch(a){case s(0x1fb):return Direction[s(0x1dd)];case'south':return Direction[s(0x1e1)];case s(0x208):return Direction[s(0x1d9)];case s(0x212):return Direction[s(0x1e0)];case'up':return Direction['DOWN'];case s(0x1f8):return Direction['UP'];default:throw new Error(s(0x1fd)+a);}}[a53i(0x20c)](a){const t=a53i;for(const b of this[t(0x1e7)][t(0x20f)]()){if(b instanceof Door){if(b['roomA']===this&&b[t(0x1ec)]===a||b[t(0x1ec)]===this&&b[t(0x1f0)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x155;let f=c[d];return f;},a54d(a,b);}const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x155))/0x1*(parseInt(i(0x194))/0x2)+-parseInt(i(0x162))/0x3*(parseInt(i(0x177))/0x4)+parseInt(i(0x17b))/0x5*(parseInt(i(0x196))/0x6)+-parseInt(i(0x157))/0x7*(-parseInt(i(0x16d))/0x8)+-parseInt(i(0x171))/0x9+-parseInt(i(0x166))/0xa*(parseInt(i(0x188))/0xb)+-parseInt(i(0x16a))/0xc*(-parseInt(i(0x193))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xbb2b0));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x17e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x189)]()[k(0x17f)]('(((.+)+)+)+$')[k(0x189)]()[k(0x16b)](a54a)['search'](k(0x169));});function a54c(){const D=['has','currentLocation','2165810iEePFG','removeActor','getRooms','apply','search','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','player','Failed\x20to\x20add\x20puzzle.\x20Room\x20','\x20to\x20room\x20','addPuzzleToRoom','Room\x20\x22','getActor','characterLocations','24068ZpHhEJ','toString','rooms','warn','\x20not\x20found\x20in\x20scene.','isStartRoom','length','\x22\x20does\x20not\x20exist.','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','createExitsFromConfig','logger','3211KtPtzN','2sdHEHg','actors','6Qgwulf','get','name','Added\x20room\x20to\x20scene:\x20','Scene\x20initialized\x20with\x20rooms:\x20','keyRequired','getCharacterLocation','values','1021994kudSYH','keys','21pKtUIN','write','removeRoom','generateRoomsFromConfig','\x20already\x20exists\x20in\x20the\x20scene.','exits','initialize','Added\x20puzzle\x20to\x20room\x20','addExit','hasOwnProperty','addItem','174rOCjaS','determineStartRoom','No\x20actor\x20with\x20name\x20','push','6430GCszhW','Failed\x20to\x20add\x20item\x20','set','(((.+)+)+)+$','28068tKSbfM','constructor','join','2797896tLdnPC','Failed\x20to\x20set\x20','roomFactory','delete','1733094CfTmBW','Actor\x20with\x20name\x20','toUpperCase','addActor','Added\x20item\x20','from','49380gncOeg','connectRooms'];a54c=function(){return D;};return a54c();}a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x18a)];['player'];[a54l(0x192)];[a54l(0x195)];['characterLocations']=new Map();[a54l(0x16f)];constructor(a){const m=a54l;super(),this[m(0x16f)]=new RoomFactory(),this[m(0x181)]=a['player'],this['rooms']=this['generateRoomsFromConfig'](a['roomConfiguration']),this[m(0x192)]=Logger['getInstance'](),this[m(0x195)]=new Map(),this[m(0x191)](a['roomConfiguration']),this['logger'][m(0x158)](m(0x19a)+Object[m(0x156)](this[m(0x18a)])[m(0x16c)](',\x20'));}[a54l(0x15d)](){const n=a54l;this[n(0x181)][n(0x17a)]=this[n(0x163)]();}[a54l(0x15a)](a){const o=a54l;if(!this[o(0x16f)])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[o(0x16f)]['createRoom'](c);b[c[o(0x198)]]=d;}return b;}[a54l(0x191)](a){const p=a54l;for(const b of a){const c=this['rooms'][b[p(0x198)]];if(b[p(0x15c)])for(const d of b[p(0x15c)]){const e=d['direction'][p(0x173)](),f=d['targetRoom'],g=d[p(0x19b)],h=this[p(0x18a)][f];h&&c[p(0x15f)](Direction[e],h,g);}}}[a54l(0x174)](a){const q=a54l;if(this['actors'][q(0x179)](a[q(0x198)]))throw new Error(q(0x172)+a[q(0x198)]+q(0x15b));this['actors'][q(0x168)](a[q(0x198)],a);}[a54l(0x17c)](a){const r=a54l;if(!this['actors'][r(0x179)](a))throw new Error(r(0x164)+a+'\x20found\x20in\x20the\x20scene.');this[r(0x195)][r(0x170)](a);}[a54l(0x186)](a){const s=a54l;return this[s(0x195)][s(0x197)](a);}get['allActors'](){const t=a54l;return Array[t(0x176)](this[t(0x195)][t(0x19d)]());}['addRoom'](a){const u=a54l;this[u(0x18a)][a[u(0x198)]]=a,this['logger'][u(0x158)](u(0x199)+a['name']);}[a54l(0x159)](a){const v=a54l;return this[v(0x18a)][a]?(delete this['rooms'][a],this[v(0x192)]['write']('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0x192)]['write'](v(0x190)+a),![]);}['addItemToRoom'](a,b){const w=a54l,c=this['rooms'][b];c?(c[w(0x161)](a),this[w(0x192)]['write'](w(0x175)+a[w(0x198)]+w(0x183)+c[w(0x198)])):this[w(0x192)][w(0x158)](w(0x167)+a[w(0x198)]+'.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x184)](a,b){const x=a54l,c=this[x(0x18a)][b];c?(c['setPuzzle'](a),this[x(0x192)]['write'](x(0x15e)+c[x(0x198)])):this[x(0x192)][x(0x158)](x(0x182)+b+x(0x18c));}['setCharacterLocation'](a,b){const y=a54l,c=this[y(0x18a)][b];c?(this[y(0x187)]['set'](a[y(0x198)],c),this[y(0x192)]['write'](a[y(0x198)]+'\x20is\x20now\x20in\x20room\x20'+c[y(0x198)])):this[y(0x192)][y(0x158)](y(0x16e)+a[y(0x198)]+'\x27s\x20location.\x20Room\x20'+b+y(0x18c));}[a54l(0x19c)](a){const z=a54l;return this[z(0x187)]['get'](a[z(0x198)]);}[a54l(0x163)](){const A=a54l,a=[];for(const c in this[A(0x18a)]){if(this[A(0x18a)][A(0x160)](c)){const d=this[A(0x18a)][c];d[A(0x18d)]&&a[A(0x165)](d);}}if(a['length']>0x1)throw new Error(A(0x180));if(a[A(0x18e)]===0x1)return a[0x0];const b=Object[A(0x156)](this[A(0x18a)]);if(b['length']===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[A(0x18b)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0x18a)][b[0x0]];}['getPlayer'](){const B=a54l;return this[B(0x181)];}[a54l(0x17d)](){return this['rooms'];}[a54l(0x178)](a,b,c,d){const C=a54l,e=this[C(0x18a)][a],f=this['rooms'][c];if(!e)throw new Error(C(0x185)+a+C(0x18f));if(!f)throw new Error('Room\x20\x22'+c+C(0x18f));e[C(0x15f)](b,f,d);}}
1
+ const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x1e3))/0x1+-parseInt(i(0x1d6))/0x2+parseInt(i(0x1dc))/0x3+-parseInt(i(0x1a9))/0x4+-parseInt(i(0x1b2))/0x5*(-parseInt(i(0x1c1))/0x6)+parseInt(i(0x1c7))/0x7+-parseInt(i(0x1d9))/0x8*(-parseInt(i(0x1d1))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x6cca1));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x1b0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x1c3)]()[k(0x1d5)]('(((.+)+)+)+$')[k(0x1c3)]()[k(0x1eb)](a54a)['search'](k(0x1e4));});a54a();function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a54d(a,b);}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a54c(){const E=['Scene\x20initialized\x20with\x20rooms:\x20','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','addActor','logger','Removed\x20room\x20from\x20scene:\x20','26099xStSSo','(((.+)+)+)+$','Added\x20room\x20to\x20scene:\x20','isStartRoom','has','roomConfiguration','allActors','\x20not\x20found\x20in\x20scene.','constructor','rooms','keys','setCharacterLocation','Added\x20puzzle\x20to\x20room\x20','.\x20Room\x20','2631488ybSoXe','player','getInstance','setPuzzle','warn','currentLocation','characterLocations','apply','\x20found\x20in\x20the\x20scene.','10TlIWlR','getRooms','keyRequired','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','Failed\x20to\x20add\x20puzzle.\x20Room\x20','Added\x20item\x20','join','\x20already\x20exists\x20in\x20the\x20scene.','exits','write','\x27s\x20location.\x20Room\x20','direction','generateRoomsFromConfig','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','values','1468158HCKUmr','addItem','toString','\x20to\x20room\x20','\x22\x20does\x20not\x20exist.','roomFactory','1870848juIjbQ','from','initialize','targetRoom','name','actors','addPuzzleToRoom','determineStartRoom','addRoom','addExit','35298SgZRSX','getCharacterLocation','get','getActor','search','628532gfJpJl','length','createRoom','664vWjZHH','toUpperCase','createExitsFromConfig','1084986SJlRUB','set'];a54c=function(){return E;};return a54c();}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{['rooms'];['player'];[a54l(0x1e1)];[a54l(0x1cc)];[a54l(0x1af)]=new Map();[a54l(0x1c6)];constructor(a){const m=a54l;super(),this[m(0x1c6)]=new RoomFactory(),this[m(0x1aa)]=a[m(0x1aa)],this[m(0x1ec)]=this[m(0x1be)](a[m(0x1e8)]),this[m(0x1e1)]=Logger[m(0x1ab)](),this[m(0x1cc)]=new Map(),this[m(0x1db)](a['roomConfiguration']),this[m(0x1e1)][m(0x1bb)](m(0x1de)+Object[m(0x1a5)](this[m(0x1ec)])[m(0x1b8)](',\x20'));}[a54l(0x1c9)](){const n=a54l;this['player'][n(0x1ae)]=this[n(0x1ce)]();}[a54l(0x1be)](a){const o=a54l;if(!this['roomFactory'])throw new Error(o(0x1bf));const b={};for(const c of a){const d=this[o(0x1c6)][o(0x1d8)](c);b[c[o(0x1cb)]]=d;}return b;}[a54l(0x1db)](a){const p=a54l;for(const b of a){const c=this[p(0x1ec)][b[p(0x1cb)]];if(b[p(0x1ba)])for(const d of b[p(0x1ba)]){const e=d[p(0x1bd)][p(0x1da)](),f=d[p(0x1ca)],g=d[p(0x1b4)],h=this[p(0x1ec)][f];h&&c[p(0x1d0)](Direction[e],h,g);}}}[a54l(0x1e0)](a){const q=a54l;if(this[q(0x1cc)][q(0x1e7)](a[q(0x1cb)]))throw new Error('Actor\x20with\x20name\x20'+a['name']+q(0x1b9));this[q(0x1cc)]['set'](a['name'],a);}['removeActor'](a){const r=a54l;if(!this[r(0x1cc)][r(0x1e7)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x1b1));this[r(0x1cc)]['delete'](a);}[a54l(0x1d4)](a){const s=a54l;return this[s(0x1cc)][s(0x1d3)](a);}get[a54l(0x1e9)](){const t=a54l;return Array[t(0x1c8)](this[t(0x1cc)][t(0x1c0)]());}[a54l(0x1cf)](a){const u=a54l;this[u(0x1ec)][a[u(0x1cb)]]=a,this[u(0x1e1)][u(0x1bb)](u(0x1e5)+a[u(0x1cb)]);}['removeRoom'](a){const v=a54l;return this['rooms'][a]?(delete this[v(0x1ec)][a],this['logger'][v(0x1bb)](v(0x1e2)+a),!![]):(this['logger'][v(0x1bb)](v(0x1b5)+a),![]);}['addItemToRoom'](a,b){const w=a54l,c=this[w(0x1ec)][b];c?(c[w(0x1c2)](a),this[w(0x1e1)][w(0x1bb)](w(0x1b7)+a[w(0x1cb)]+w(0x1c4)+c[w(0x1cb)])):this[w(0x1e1)][w(0x1bb)]('Failed\x20to\x20add\x20item\x20'+a[w(0x1cb)]+w(0x1a8)+b+w(0x1ea));}[a54l(0x1cd)](a,b){const x=a54l,c=this['rooms'][b];c?(c[x(0x1ac)](a),this[x(0x1e1)][x(0x1bb)](x(0x1a7)+c['name'])):this[x(0x1e1)][x(0x1bb)](x(0x1b6)+b+x(0x1ea));}[a54l(0x1a6)](a,b){const y=a54l,c=this[y(0x1ec)][b];c?(this[y(0x1af)][y(0x1dd)](a[y(0x1cb)],c),this['logger'][y(0x1bb)](a[y(0x1cb)]+'\x20is\x20now\x20in\x20room\x20'+c[y(0x1cb)])):this['logger'][y(0x1bb)]('Failed\x20to\x20set\x20'+a['name']+y(0x1bc)+b+y(0x1ea));}[a54l(0x1d2)](a){const z=a54l;return this[z(0x1af)]['get'](a[z(0x1cb)]);}[a54l(0x1ce)](){const A=a54l,a=[];for(const c in this[A(0x1ec)]){if(this[A(0x1ec)]['hasOwnProperty'](c)){const d=this[A(0x1ec)][c];d[A(0x1e6)]&&a['push'](d);}}if(a[A(0x1d7)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a['length']===0x1)return a[0x0];const b=Object[A(0x1a5)](this[A(0x1ec)]);if(b[A(0x1d7)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[A(0x1ad)](A(0x1df)),this[A(0x1ec)][b[0x0]];}['getPlayer'](){const B=a54l;return this[B(0x1aa)];}[a54l(0x1b3)](){const C=a54l;return this[C(0x1ec)];}['connectRooms'](a,b,c,d){const D=a54l,e=this['rooms'][a],f=this[D(0x1ec)][c];if(!e)throw new Error('Room\x20\x22'+a+D(0x1c5));if(!f)throw new Error('Room\x20\x22'+c+D(0x1c5));e[D(0x1d0)](b,f,d);}}
@@ -1 +1 @@
1
- var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0xfd))/0x1*(parseInt(f(0xf5))/0x2)+-parseInt(f(0xea))/0x3*(-parseInt(f(0xfa))/0x4)+-parseInt(f(0xdb))/0x5*(-parseInt(f(0xd0))/0x6)+-parseInt(f(0xd9))/0x7+-parseInt(f(0x102))/0x8*(parseInt(f(0xd8))/0x9)+parseInt(f(0xe5))/0xa*(-parseInt(f(0xd2))/0xb)+-parseInt(f(0xf4))/0xc*(-parseInt(f(0x104))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x2071a));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0xde)]()[h(0xf6)]('(((.+)+)+)+$')['toString']()[h(0xef)](a55a)['search'](h(0xd1));});function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xd0;var f=c[d];return f;},a55d(a,b);}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[i(0xe6)],'category':Category[i(0xe1)],'shape':Shape[i(0xf1)],'color':Color['Yellow'],'texture':Texture[i(0xd3)],'rating':Rating[i(0xfb)],'weight':0x1});}[a55j(0xfe)](){var k=a55j;return this[k(0xed)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size[l(0xe6)],'category':Category['Weapon'],'shape':Shape[l(0xe8)],'color':Color['Grey'],'texture':Texture['Metallic'],'rating':Rating[l(0xfb)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[m(0xe4)],'shape':Shape['Rifle'],'color':Color[m(0x100)],'texture':Texture['Metallic'],'rating':Rating[m(0xe0)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Helmet'],'shape':Shape['Circle'],'color':Color[n(0xf7)],'texture':Texture[n(0x101)],'rating':Rating[n(0xfb)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size[o(0x103)],'category':Category['BodyArmor'],'shape':Shape['Rectangle'],'color':Color[o(0xf7)],'texture':Texture[o(0x101)],'rating':Rating[o(0xfb)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0xe6)],'category':Category['LegArmor'],'shape':Shape[p(0xf1)],'color':Color['Grey'],'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['Medium'],'category':Category[q(0xf2)],'shape':Shape[q(0xf3)],'color':Color['Brown'],'texture':Texture[q(0xd3)],'rating':Rating[q(0xfb)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0xdc)],'category':Category[r(0xee)],'shape':Shape[r(0xf3)],'color':Color[r(0x100)],'texture':Texture[r(0xd3)],'rating':Rating[r(0xfb)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0xe6)],'category':Category[s(0xec)],'shape':Shape[s(0xf1)],'color':Color[s(0xf7)],'texture':Texture[s(0x101)],'rating':Rating[s(0xfb)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0xd6)],'category':Category[t(0xdd)],'shape':Shape[t(0xf1)],'color':Color['Yellow'],'texture':Texture[t(0xd3)],'rating':Rating[t(0xfb)],'weight':0x0});}[a55j(0xfe)](){var u=a55j;return u(0xeb);}}export class Weapon extends Item{constructor(a,b){var v=a55j;super({'name':a,'description':b,'size':Size[v(0xe6)],'category':Category[v(0xe4)],'shape':Shape[v(0xe8)],'color':Color['Grey'],'texture':Texture[v(0x101)],'rating':Rating[v(0xfb)],'weight':0x3});}['use'](){var w=a55j;return w(0xe2);}}export class Book extends Item{[a55j(0xdf)];[a55j(0xda)];['pageCount'];constructor(a,b=a55j(0xd5),c='Unknown\x20Author'){var x=a55j;super({'name':a,'description':b,'size':Size[x(0xe6)],'category':Category['Book'],'shape':Shape[x(0xf1)],'color':Color[x(0x100)],'texture':Texture[x(0xd3)],'rating':Rating[x(0xfb)],'weight':0x1}),this['author']=c,this[x(0xda)]=new Date(),this['pageCount']=0x64;}[a55j(0xfe)](){var y=a55j;return y(0xff);}}function a55c(){var E=['Rectangle','Boots','Circle','12WhYYKq','2406ibKiBB','search','Grey','Gold','apply','892vbXPuV','Common','name','23Cqncvv','use','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Brown','Metallic','741624Najfqz','Large','1626612eUjbrU','41766YxbMTG','(((.+)+)+)+$','4378dlRGtU','Smooth','Rifle','A\x20mysterious\x20book.','Tiny','Legendary','9THuYLH','665014xFGZpX','publishDate','80jCHjEY','Small','Key','toString','author','Rare','Unknown','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Weapon','1170hPmbQS','Medium','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Blade','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','2130ISJSXs','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','ArmArmor','description','Gloves','constructor','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.'];a55c=function(){return E;};return a55c();}export class ShortSword extends Item{constructor(){var z=a55j;super({'name':'Short\x20Sword','description':z(0xf0),'size':Size['Medium'],'category':Category['Weapon'],'shape':Shape[z(0xe8)],'color':Color[z(0xf7)],'texture':Texture['Metallic'],'rating':Rating[z(0xfb)],'weight':0x3});}[a55j(0xfe)](){var A=a55j;return A(0xe2);}}export class SniperRifle extends Item{constructor(){var B=a55j;super({'name':'Sniper\x20Rifle','description':B(0xe9),'size':Size['Large'],'category':Category[B(0xe4)],'shape':Shape[B(0xd4)],'color':Color[B(0x100)],'texture':Texture[B(0xd3)],'rating':Rating[B(0xfb)],'weight':0x5});}[a55j(0xfe)](){return'You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22';}}export class HolyGrail extends Item{constructor(){var C=a55j;super({'name':'Holy\x20Grail','description':C(0xe3),'size':Size['Small'],'category':Category['Cup'],'shape':Shape['Circle'],'color':Color[C(0xf8)],'texture':Texture['Metallic'],'rating':Rating[C(0xd7)],'weight':0x1});}['use'](){var D=a55j;return'You\x20hold\x20the\x20'+this[D(0xfc)]+D(0xe7);}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x11f))/0x1+-parseInt(f(0x10d))/0x2+-parseInt(f(0x104))/0x3*(parseInt(f(0xfe))/0x4)+-parseInt(f(0xf8))/0x5+parseInt(f(0xee))/0x6*(-parseInt(f(0x106))/0x7)+-parseInt(f(0xec))/0x8+parseInt(f(0x119))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x4b847));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(0xf4)]()[g(0x11c)](g(0x10c))[g(0xf4)]()[g(0xea)](a55a)[g(0x11c)](g(0x10c));});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['Unknown'],'shape':Shape[h(0xfd)],'color':Color['Yellow'],'texture':Texture[h(0x112)],'rating':Rating[h(0x101)],'weight':0x1});}[a55i(0xed)](){var j=a55i;return this[j(0x114)];}}export class Sword extends Item{constructor(a,b){var k=a55i;super({'name':a,'description':b,'size':Size[k(0x117)],'category':Category[k(0x102)],'shape':Shape[k(0x10b)],'color':Color['Grey'],'texture':Texture[k(0x11b)],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55i;super({'name':a,'description':b,'size':Size[l(0x11d)],'category':Category[l(0x102)],'shape':Shape[l(0xef)],'color':Color['Brown'],'texture':Texture[l(0x11b)],'rating':Rating[l(0x109)],'weight':0x7});}}function a55c(){var C=['Book','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Rectangle','1236584uRUpzZ','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','A\x20mysterious\x20book.','Common','Weapon','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','3EYuKTt','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','534849opgOxR','Short\x20Sword','Circle','Rare','name','Blade','(((.+)+)+)+$','275766llAAyH','Key','BodyArmor','LegArmor','Gloves','Smooth','Unknown\x20Author','description','pageCount','Small','Medium','Holy\x20Grail','26714421LixhPs','author','Metallic','search','Large','Cup','569774DpBgBM','\x20aloft,\x20feeling\x20its\x20immense\x20power.','constructor','ArmArmor','4272800GKhUei','use','48aOnVXj','Rifle','Helmet','Grey','Yellow','You\x20hold\x20the\x20','toString','Legendary','publishDate','Boots','2483955okrupm','Brown','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.'];a55c=function(){return C;};return a55c();}export class Helmet extends Item{constructor(a,b){var m=a55i;super({'name':a,'description':b,'size':Size[m(0x117)],'category':Category[m(0xf0)],'shape':Shape[m(0x108)],'color':Color[m(0xf1)],'texture':Texture[m(0x11b)],'rating':Rating[m(0x101)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55i;super({'name':a,'description':b,'size':Size['Large'],'category':Category[n(0x10f)],'shape':Shape[n(0xfd)],'color':Color[n(0xf1)],'texture':Texture[n(0x11b)],'rating':Rating[n(0x101)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55i;super({'name':a,'description':b,'size':Size[o(0x117)],'category':Category[o(0x110)],'shape':Shape[o(0xfd)],'color':Color[o(0xf1)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55i;super({'name':a,'description':b,'size':Size[p(0x117)],'category':Category[p(0xf7)],'shape':Shape['Circle'],'color':Color[p(0xf9)],'texture':Texture[p(0x112)],'rating':Rating[p(0x101)],'weight':0x2});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0xe9;var f=c[d];return f;},a55d(a,b);}export class Gloves extends Item{constructor(a,b){var q=a55i;super({'name':a,'description':b,'size':Size[q(0x116)],'category':Category[q(0x111)],'shape':Shape[q(0x108)],'color':Color['Brown'],'texture':Texture[q(0x112)],'rating':Rating[q(0x101)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a55i;super({'name':a,'description':b,'size':Size[r(0x117)],'category':Category[r(0xeb)],'shape':Shape[r(0xfd)],'color':Color[r(0xf1)],'texture':Texture[r(0x11b)],'rating':Rating['Common'],'weight':0x3});}}export class Key extends Item{constructor(a,b){var s=a55i;super({'name':a,'description':b,'size':Size['Tiny'],'category':Category[s(0x10e)],'shape':Shape[s(0xfd)],'color':Color[s(0xf2)],'texture':Texture['Smooth'],'rating':Rating[s(0x101)],'weight':0x0});}[a55i(0xed)](){var t=a55i;return t(0xff);}}export class Weapon extends Item{constructor(a,b){var u=a55i;super({'name':a,'description':b,'size':Size[u(0x117)],'category':Category[u(0x102)],'shape':Shape[u(0x10b)],'color':Color['Grey'],'texture':Texture[u(0x11b)],'rating':Rating[u(0x101)],'weight':0x3});}[a55i(0xed)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class Book extends Item{[a55i(0x11a)];[a55i(0xf6)];['pageCount'];constructor(a,b=a55i(0x100),c=a55i(0x113)){var v=a55i;super({'name':a,'description':b,'size':Size[v(0x117)],'category':Category[v(0xfb)],'shape':Shape[v(0xfd)],'color':Color[v(0xf9)],'texture':Texture[v(0x112)],'rating':Rating[v(0x101)],'weight':0x1}),this[v(0x11a)]=c,this[v(0xf6)]=new Date(),this[v(0x115)]=0x64;}[a55i(0xed)](){var w=a55i;return w(0xfc);}}export class ShortSword extends Item{constructor(){var x=a55i;super({'name':x(0x107),'description':x(0x105),'size':Size[x(0x117)],'category':Category[x(0x102)],'shape':Shape['Blade'],'color':Color[x(0xf1)],'texture':Texture[x(0x11b)],'rating':Rating[x(0x101)],'weight':0x3});}['use'](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var y=a55i;super({'name':'Sniper\x20Rifle','description':y(0xfa),'size':Size[y(0x11d)],'category':Category[y(0x102)],'shape':Shape[y(0xef)],'color':Color[y(0xf9)],'texture':Texture[y(0x112)],'rating':Rating[y(0x101)],'weight':0x5});}[a55i(0xed)](){var z=a55i;return z(0x103);}}export class HolyGrail extends Item{constructor(){var A=a55i;super({'name':A(0x118),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size['Small'],'category':Category[A(0x11e)],'shape':Shape['Circle'],'color':Color['Gold'],'texture':Texture[A(0x11b)],'rating':Rating[A(0xf5)],'weight':0x1});}[a55i(0xed)](){var B=a55i;return B(0xf3)+this[B(0x10a)]+B(0xe9);}}