@maka/maka-cli 4.8.10 → 4.8.12

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 +2 -2
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/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 +1 -1
  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 +2 -2
@@ -1 +1 @@
1
- const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=-parseInt(g(0xf8))/0x1*(parseInt(g(0x107))/0x2)+parseInt(g(0xf5))/0x3+parseInt(g(0xf2))/0x4+-parseInt(g(0x103))/0x5+parseInt(g(0x108))/0x6*(-parseInt(g(0xfc))/0x7)+parseInt(g(0x10d))/0x8+-parseInt(g(0x101))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x79448));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a[i(0xf9)]()[i(0x10c)](i(0x10e))[i(0xf9)]()[i(0x109)](a36a)[i(0x10c)](i(0x10e));});a36a();import{Command}from'./command.js';export class SayCommand extends Command{static ['verb']='say';static [a36j(0x104)]=a36j(0xfd);[a36j(0xf3)];constructor(a){const k=a36j;super(a),this[k(0xf3)]=a;}[a36j(0xfb)](a){const l=a36j;if(a['length']===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[l(0xf6)]('\x20'),c=this['actor'],d=this['context']['scene'];if(!d)return this[l(0x102)][l(0x10a)](l(0x10b)),l(0x106);const e=d['allActors']['filter'](f=>f['currentLocation']===c[l(0xff)]);for(const f of e){this[l(0x102)][l(0x10a)](c[l(0xf7)]+l(0xf1)+f[l(0xf7)]+l(0xfe)+b+'\x22'),this[l(0x100)][l(0xff)][l(0xf4)](f,b);}return l(0x105)+b+'\x22';}}function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xf1;let f=c[d];return f;},a36d(a,b);}function a36c(){const m=['556387AiXEHC','toString','apply','execute','930797anLtSX','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.',':\x20\x22','currentLocation','actor','2513034yvRprz','logger','3006930DaHBnX','description','You\x20say:\x20\x22','An\x20error\x20occurred.','2WrnSEy','6aTmYWk','constructor','log','Scene\x20is\x20missing\x20from\x20context.','search','2201248yLmGtL','(((.+)+)+)+$','\x20says\x20to\x20','3683872osVpig','context','say','2611674YhuhXW','join','name'];a36c=function(){return m;};return a36c();}
1
+ const a36i=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=-parseInt(g(0x143))/0x1*(-parseInt(g(0x13e))/0x2)+parseInt(g(0x140))/0x3+parseInt(g(0x13d))/0x4*(-parseInt(g(0x132))/0x5)+parseInt(g(0x13a))/0x6*(-parseInt(g(0x135))/0x7)+-parseInt(g(0x131))/0x8+parseInt(g(0x145))/0x9*(parseInt(g(0x141))/0xa)+parseInt(g(0x12a))/0xb*(parseInt(g(0x12e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x53be9));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['toString']()[h(0x127)](h(0x125))[h(0x142)]()[h(0x12c)](a36a)['search'](h(0x125));});function a36c(){const l=['2IeWyHr','log','709038PMUfJe','1802260SddOBM','toString','396529CDMmsV','currentLocation','27ahixOt','filter','context','(((.+)+)+)+$','length','search','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','logger','11DFoJYn','What\x20do\x20you\x20want\x20to\x20say?','constructor','description','3026028HMaWdW','Scene\x20is\x20missing\x20from\x20context.','name','5040216nkFvDe','10bOEDaE','scene',':\x20\x22','7FPlDqB','actor','verb','An\x20error\x20occurred.','allActors','2412360HizLcR','execute','say','101236ICHjBw'];a36c=function(){return l;};return a36c();}a36a();function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x123;let f=c[d];return f;},a36d(a,b);}import{Command}from'./command.js';export class SayCommand extends Command{static [a36i(0x137)]=a36i(0x13c);static [a36i(0x12d)]=a36i(0x128);[a36i(0x124)];constructor(a){const j=a36i;super(a),this[j(0x124)]=a;}[a36i(0x13b)](a){const k=a36i;if(a[k(0x126)]===0x0)return k(0x12b);const b=a['join']('\x20'),c=this[k(0x136)],d=this[k(0x124)][k(0x133)];if(!d)return this[k(0x129)][k(0x13f)](k(0x12f)),k(0x138);const e=d[k(0x139)][k(0x123)](f=>f[k(0x144)]===c['currentLocation']);for(const f of e){this[k(0x129)]['log'](c[k(0x130)]+'\x20says\x20to\x20'+f[k(0x130)]+k(0x134)+b+'\x22'),this['actor']['currentLocation'][k(0x13c)](f,b);}return'You\x20say:\x20\x22'+b+'\x22';}}
@@ -1 +1 @@
1
- function a37c(){const k=['1105350pqBuVf','8uUANtK','204975NWmaJi','119272lNfOBy','constructor','651CvmPTA','Search\x20for\x20items\x20in\x20your\x20area','2652915Dwzslz','toString','1638850yWVbsn','\x20found\x20the\x20following\x20items:\x20','currentLocation','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','search','1466334iqWwMk','description','name','actor','listItems','apply','join','4089666iXwtsi','250sgQCOm','logger','(((.+)+)+)+$','inventory','write'];a37c=function(){return k;};return a37c();}const a37i=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xf7;let f=c[d];return f;},a37d(a,b);}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0x111))/0x1+-parseInt(f(0x10c))/0x2+-parseInt(f(0x103))/0x3*(-parseInt(f(0x104))/0x4)+-parseInt(f(0x10a))/0x5+-parseInt(f(0xfd))/0x6+-parseInt(f(0x108))/0x7*(-parseInt(f(0x106))/0x8)+parseInt(f(0x105))/0x9*(-parseInt(f(0xfe))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xf1669));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xfb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x10b)]()['search']('(((.+)+)+)+$')[h(0x10b)]()[h(0x107)](a37a)['search'](h(0x100));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static ['verb']=a37i(0x110);static [a37i(0xf7)]=a37i(0x109);['execute'](){const j=a37i,a=this[j(0xf9)][j(0x10e)][j(0x101)][j(0xfa)]();if(a['length']===0x0)return this[j(0xff)][j(0x102)]('SearchCommand:\x20'+this[j(0xf9)][j(0xf8)]+j(0x10f)),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a[j(0xfc)](',\x20');return this['logger'][j(0x102)]('SearchCommand:\x20'+this['actor']['name']+j(0x10d)+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
1
+ const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0x143))/0x1*(-parseInt(f(0x152))/0x2)+-parseInt(f(0x13a))/0x3+-parseInt(f(0x144))/0x4*(parseInt(f(0x141))/0x5)+-parseInt(f(0x153))/0x6*(-parseInt(f(0x14e))/0x7)+parseInt(f(0x147))/0x8+parseInt(f(0x154))/0x9+-parseInt(f(0x13b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xa0a6f));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x14d)]()[h(0x136)]('(((.+)+)+)+$')[h(0x14d)]()[h(0x14f)](a37a)[h(0x136)]('(((.+)+)+)+$');});function a37c(){const k=['6PzotHC','2688diefgE','length','verb','574448mLVbiU','execute','You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.','Search\x20for\x20items\x20in\x20your\x20area','\x20searched\x20the\x20room\x20but\x20found\x20nothing.','listItems','toString','1771SMlOJI','constructor','name','currentLocation','385180FMGYnv','26298SiwWhd','8232732FvetQH','actor','search','\x20found\x20the\x20following\x20items:\x20','write','apply','2577309UwOrvc','9160350BbANcm','SearchCommand:\x20','logger','inventory','You\x20search\x20the\x20area\x20and\x20find:\x20','description','6085uvbBRf','join'];a37c=function(){return k;};return a37c();}a37a();import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x135;let f=c[d];return f;},a37d(a,b);}export class SearchCommand extends Command{static [a37i(0x146)]='search';static [a37i(0x140)]=a37i(0x14a);[a37i(0x148)](){const j=a37i,a=this[j(0x135)][j(0x151)][j(0x13e)][j(0x14c)]();if(a[j(0x145)]===0x0)return this[j(0x13d)]['write'](j(0x13c)+this[j(0x135)][j(0x150)]+j(0x14b)),j(0x149);const b=a[j(0x142)](',\x20');return this[j(0x13d)][j(0x138)](j(0x13c)+this['actor'][j(0x150)]+j(0x137)+b),j(0x13f)+b;}}
@@ -1 +1 @@
1
- function a38c(){const j=['puzzle','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','117TDtJSN','logger','toString','addItem','(((.+)+)+)+$','write','23848lngMIj','message','11114IUNBoM','verb','inventory','description','112nuQZlV','rewardItem','solve','actor','397550DAvZpR','SolveCommand:\x20','toLowerCase','579912NGuBtP','49968luyQjM','success','Attempt\x20to\x20solve\x20a\x20puzzle.','18YOlqij','search','constructor','775848gVoBri','2408170AKNTzY','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.'];a38c=function(){return j;};return a38c();}const a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x124))/0x1+parseInt(f(0x126))/0x2*(-parseInt(f(0x13d))/0x3)+parseInt(f(0x131))/0x4+-parseInt(f(0x12e))/0x5+parseInt(f(0x132))/0x6*(-parseInt(f(0x12a))/0x7)+-parseInt(f(0x138))/0x8*(-parseInt(f(0x135))/0x9)+parseInt(f(0x139))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x1eddc));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a['toString']()[g(0x136)](g(0x122))[g(0x120)]()[g(0x137)](a38a)[g(0x136)](g(0x122));});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x11f;let f=c[d];return f;},a38d(a,b);}import{Command}from'./command.js';export class SolveCommand extends Command{static [a38h(0x127)]='solve';static [a38h(0x129)]=a38h(0x134);['execute'](a){const i=a38h,b=a['join']('\x20')[i(0x130)](),c=this[i(0x12d)]['currentLocation'];if(!c||!c['puzzle'])return this['logger'][i(0x123)](i(0x13a)),i(0x13c);const d=c[i(0x13b)][i(0x12c)](b,this[i(0x12d)][i(0x128)]);return d[i(0x133)]&&c[i(0x13b)][i(0x12b)]&&this[i(0x12d)][i(0x128)][i(0x121)](c[i(0x13b)][i(0x12b)]),this[i(0x11f)]['write'](i(0x12f)+d[i(0x125)]),d[i(0x125)];}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x152))/0x1*(parseInt(f(0x156))/0x2)+parseInt(f(0x15a))/0x3*(-parseInt(f(0x158))/0x4)+-parseInt(f(0x161))/0x5+parseInt(f(0x16b))/0x6+-parseInt(f(0x166))/0x7*(parseInt(f(0x15c))/0x8)+-parseInt(f(0x155))/0x9+-parseInt(f(0x162))/0xa*(-parseInt(f(0x154))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xb127c));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x14e;let f=c[d];return f;},a38d(a,b);}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0x165)]()[h(0x15f)](h(0x169))['toString']()['constructor'](a38a)[h(0x15f)](h(0x169));});a38a();function a38c(){const k=['message','66033ipYeqj','10203426lGhaSG','2Cyampp','description','16FmFOEa','logger','316578mYYgHI','solve','15304vcJOBe','inventory','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','search','SolveCommand:\x20','6310465xcjvlk','6610kqqhQS','puzzle','toLowerCase','toString','1218BqxFJC','write','verb','(((.+)+)+)+$','join','7318428gpZbPT','rewardItem','actor','currentLocation','addItem','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','Attempt\x20to\x20solve\x20a\x20puzzle.','apply','execute','1311320cgifuh'];a38c=function(){return k;};return a38c();}import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0x168)]=a38i(0x15b);static [a38i(0x157)]=a38i(0x14f);[a38i(0x151)](a){const j=a38i,b=a[j(0x16a)]('\x20')[j(0x164)](),c=this['actor'][j(0x16e)];if(!c||!c['puzzle'])return this[j(0x159)][j(0x167)](j(0x14e)),j(0x15e);const d=c[j(0x163)]['solve'](b,this[j(0x16d)][j(0x15d)]);return d['success']&&c[j(0x163)][j(0x16c)]&&this[j(0x16d)][j(0x15d)][j(0x16f)](c[j(0x163)]['rewardItem']),this[j(0x159)][j(0x167)](j(0x160)+d['message']),d[j(0x153)];}}
@@ -1 +1 @@
1
- const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x157))/0x1*(-parseInt(f(0x159))/0x2)+parseInt(f(0x16a))/0x3*(parseInt(f(0x172))/0x4)+-parseInt(f(0x171))/0x5*(-parseInt(f(0x166))/0x6)+-parseInt(f(0x16e))/0x7+-parseInt(f(0x15f))/0x8*(-parseInt(f(0x14f))/0x9)+-parseInt(f(0x170))/0xa+parseInt(f(0x164))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x853a6));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(0x156)]()['search']('(((.+)+)+)+$')[g(0x156)]()[g(0x15e)](a39a)['search'](g(0x174));});function a39c(){const k=['getItem','description','constructor','6634136JIULJP','verb','actor','name','take','2946064XfQEhC','inventory','24SwYhEn','removeItem','addInventory','\x22\x20not\x20found\x20in\x20','1583679wHpuqp','\x20during\x20\x27Take\x27\x20command.','\x22\x20not\x20retrieved\x20from\x20','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','3488814LkigEl','Successfully\x20removed\x20\x22','3375780oDsUpG','678480OPaxVL','4RzzwOX','\x22\x20from\x20','(((.+)+)+)+$','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','Item\x20\x22','logger','9QuHfvP','join','You\x20have\x20taken\x20the\x20','toLowerCase','message','\x22\x20in\x20this\x20room.','Successfully\x20added\x20\x22','toString','56149wiiljs','The\x20item\x20\x22','28UsyzeI','There\x20is\x20no\x20item\x20\x22','write'];a39c=function(){return k;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x14c;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39h(0x160)]='take';static [a39h(0x15d)]='Pick\x20up\x20an\x20item.';['execute'](a){const i=a39h;return this[i(0x14e)][i(0x15b)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[i(0x150)]('\x20')),this[i(0x163)](a);}['take'](a){const j=a39h,b=a['join']('\x20')[j(0x152)](),c=this[j(0x161)]['currentLocation'];if(!c[j(0x165)]['hasItem'](b))return this[j(0x14e)][j(0x15b)](j(0x14d)+b+j(0x169)+c['name']+j(0x16b)),'There\x20is\x20no\x20item\x20\x22'+b+j(0x154);const d=c[j(0x165)][j(0x15c)](b);if(!d)return this[j(0x14e)][j(0x15b)](j(0x14d)+b+j(0x16c)+c[j(0x162)]+'\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),j(0x15a)+b+j(0x154);try{return this[j(0x161)][j(0x168)](d),this[j(0x14e)][j(0x15b)](j(0x155)+b+'\x22\x20to\x20'+this['actor'][j(0x162)]+j(0x14c)),c[j(0x165)][j(0x167)](b),this[j(0x14e)]['write'](j(0x16f)+b+j(0x173)+c[j(0x162)]+j(0x16d)),j(0x151)+b+'.';}catch(e){return this[j(0x14e)][j(0x15b)]('Error\x20during\x20\x27Take\x27\x20command:\x20'+e[j(0x153)]),j(0x158)+b+'\x22\x20is\x20too\x20heavy\x20to\x20carry.';}}}
1
+ const a39i=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=parseInt(f(0x133))/0x1*(parseInt(f(0x116))/0x2)+-parseInt(f(0x12c))/0x3+-parseInt(f(0x12e))/0x4+parseInt(f(0x132))/0x5+-parseInt(f(0x120))/0x6*(-parseInt(f(0x10e))/0x7)+-parseInt(f(0x125))/0x8+-parseInt(f(0x10b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xb0f45));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x10a;let f=c[d];return f;},a39d(a,b);}function a39c(){const l=['1950648kELYQo','currentLocation','write','inventory','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','logger','\x20during\x20\x27Take\x27\x20command.','1598544liZczU','Pick\x20up\x20an\x20item.','4311504USkzRZ','execute','toLowerCase','There\x20is\x20no\x20item\x20\x22','6677340dbJnoV','104717cvMDGz','getItem','3086487TtbSks','The\x20item\x20\x22','\x22\x20from\x20','1358ByFVCB','actor','\x22\x20in\x20this\x20room.','Successfully\x20removed\x20\x22','\x22\x20is\x20too\x20heavy\x20to\x20carry.','toString','constructor','name','22OncQwg','\x22\x20to\x20','apply','(((.+)+)+)+$','description','Error\x20during\x20\x27Take\x27\x20command:\x20','Successfully\x20added\x20\x22','addInventory','take','join','13452VIfFUU','search','\x22\x20not\x20found\x20in\x20','Item\x20\x22','hasItem'];a39c=function(){return l;};return a39c();}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a39d;if(c){const e=c[g(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0x113)]()[h(0x121)](h(0x119))[h(0x113)]()[h(0x114)](a39a)[h(0x121)](h(0x119));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static ['verb']='take';static [a39i(0x11a)]=a39i(0x12d);[a39i(0x12f)](a){const j=a39i;return this[j(0x12a)][j(0x127)]('Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20'+a[j(0x11f)]('\x20')),this[j(0x11e)](a);}[a39i(0x11e)](a){const k=a39i,b=a[k(0x11f)]('\x20')[k(0x130)](),c=this[k(0x10f)][k(0x126)];if(!c['inventory'][k(0x124)](b))return this[k(0x12a)][k(0x127)](k(0x123)+b+k(0x122)+c[k(0x115)]+k(0x12b)),'There\x20is\x20no\x20item\x20\x22'+b+k(0x110);const d=c['inventory'][k(0x10a)](b);if(!d)return this['logger']['write']('Item\x20\x22'+b+'\x22\x20not\x20retrieved\x20from\x20'+c['name']+k(0x129)),k(0x131)+b+'\x22\x20in\x20this\x20room.';try{return this[k(0x10f)][k(0x11d)](d),this[k(0x12a)][k(0x127)](k(0x11c)+b+k(0x117)+this[k(0x10f)][k(0x115)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[k(0x128)]['removeItem'](b),this[k(0x12a)]['write'](k(0x111)+b+k(0x10d)+c['name']+k(0x129)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this[k(0x12a)][k(0x127)](k(0x11b)+e['message']),k(0x10c)+b+k(0x112);}}}
@@ -1 +1 @@
1
- const a40h=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0x1d7))/0x1*(parseInt(f(0x1e5))/0x2)+parseInt(f(0x1d2))/0x3+-parseInt(f(0x1d3))/0x4+-parseInt(f(0x1e6))/0x5*(-parseInt(f(0x1df))/0x6)+parseInt(f(0x1e0))/0x7*(-parseInt(f(0x1e1))/0x8)+-parseInt(f(0x1d4))/0x9+parseInt(f(0x1dc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xd30f6));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['toString']()[g(0x1e3)](g(0x1db))[g(0x1d0)]()['constructor'](a40a)[g(0x1e3)](g(0x1db));});function a40c(){const j=['toString','actor','1211925cuPcxj','5907248DVkFRK','3671424zwAmZz','execute','unqeuip','2sCjvlc','join','write','unequip','(((.+)+)+)+$','28593860qupYWZ','toLowerCase','Unequip\x20an\x20item.','3119970yFdcUl','18158QuJQBS','3088IGIeXf','\x20unqeuiped\x20','search','logger','32822JjlsWd','5eaGPOy'];a40c=function(){return j;};return a40c();}function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a40h(0x1d6);static ['description']=a40h(0x1de);[a40h(0x1d5)](a){const i=a40h,b=a[i(0x1d8)]('\x20')[i(0x1dd)](),c=this['actor'][i(0x1da)](b);return this[i(0x1e4)][i(0x1d9)]('UnequipCommand:\x20'+this[i(0x1d1)]['name']+i(0x1e2)+c),c;}}
1
+ const a40h=a40d;function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x179;let f=c[d];return f;},a40d(a,b);}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x179))/0x1*(-parseInt(f(0x182))/0x2)+-parseInt(f(0x17b))/0x3+-parseInt(f(0x189))/0x4+-parseInt(f(0x191))/0x5+-parseInt(f(0x18f))/0x6*(parseInt(f(0x18b))/0x7)+parseInt(f(0x17e))/0x8+parseInt(f(0x187))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x94b77));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(0x190)]()[g(0x18a)](g(0x186))[g(0x190)]()[g(0x185)](a40a)['search'](g(0x186));});a40a();function a40c(){const j=['name','28731GjdVXi','actor','680796NaXEXr','write','execute','3932400ONuBMb','join','unqeuip','UnequipCommand:\x20','78PrvSOt','description','unequip','constructor','(((.+)+)+)+$','33706215SLcdUU','toLowerCase','3177580nSeqCI','search','5141626AywzcG','logger','Unequip\x20an\x20item.','verb','6LAjDdp','toString','3755940UakUFW'];a40c=function(){return j;};return a40c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40h(0x18e)]=a40h(0x180);static [a40h(0x183)]=a40h(0x18d);[a40h(0x17d)](a){const i=a40h,b=a[i(0x17f)]('\x20')[i(0x188)](),c=this[i(0x17a)][i(0x184)](b);return this[i(0x18c)][i(0x17c)](i(0x181)+this[i(0x17a)][i(0x192)]+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a41k=a41d;function a41c(){const n=['currentLocation','There\x27s\x20no\x20door\x20named\x20\x22','description','55WvQEcd','exits','1211PmPWjw','toLowerCase','logger','\x22\x20here.','659499tIfgUi','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','isValidDirection','212900YpVnqn','name','execute','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','get','UnlockCommand:\x20','verb','59844rjgmWS','inventory','write','error','\x20is\x20attempted\x20to\x20unlock\x20','actor','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','hasItem','2GLPMCW','unlockItemOrSolution','UnlockCommand:\x20No\x20target\x20specified.','unlock','constructor','toString','7441130wyBEbk','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','3226674RKLTOL','1128519kmFGhl','length','17144morTYV','(((.+)+)+)+$','search','.\x20Result:\x20','apply'];a41c=function(){return n;};return a41c();}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=-parseInt(h(0xcb))/0x1+-parseInt(h(0xda))/0x2*(-parseInt(h(0xf3))/0x3)+-parseInt(h(0xd2))/0x4*(parseInt(h(0xed))/0x5)+-parseInt(h(0xe2))/0x6+-parseInt(h(0xef))/0x7*(-parseInt(h(0xe5))/0x8)+-parseInt(h(0xe3))/0x9+parseInt(h(0xe0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x47c9c));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xc9;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0xe9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0xdf)]()[j(0xe7)](j(0xe6))[j(0xdf)]()[j(0xde)](a41a)[j(0xe7)](j(0xe6));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0xd1)]='unlock';static [a41k(0xec)]='Unlock\x20a\x20door.';[a41k(0xcd)](a){const l=a41k;return this[l(0xdd)](a);}[a41k(0xdd)](a){const m=a41k;if(a[m(0xe4)]===0x0)return this[m(0xf1)][m(0xd5)](m(0xdc)),m(0xe1);const b=a[0x0]['toLowerCase'](),c=this[m(0xd7)][m(0xea)];if(this[m(0xca)](b)&&c[m(0xee)]['has'](b)){const d=c[m(0xee)][m(0xcf)](b);if(d instanceof Door){const e=d[m(0xdb)]?.[m(0xf0)]();if(e&&this[m(0xd7)][m(0xd3)][m(0xd9)](e)){const f=this['actor'][m(0xd3)]['getItem'](e);if(f){const g=c['attemptUnlockExit'](b,f['name']);return this['logger']['write'](m(0xd0)+this[m(0xd7)][m(0xcc)]+m(0xd6)+b+m(0xe8)+g),g;}}return this['logger']['write'](m(0xd0)+this[m(0xd7)]['name']+m(0xd8)+b+'.'),m(0xce);}else return this[m(0xf1)][m(0xd4)](m(0xd0)+b+m(0xc9)+c[m(0xcc)]+'.'),m(0xeb)+b+m(0xf2);}else return this[m(0xf1)]['write'](m(0xd0)+b+m(0xc9)+c[m(0xcc)]+'.'),m(0xeb)+b+m(0xf2);}}
1
+ const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x129))/0x1*(-parseInt(h(0x116))/0x2)+-parseInt(h(0x115))/0x3+-parseInt(h(0x11f))/0x4+parseInt(h(0x108))/0x5+-parseInt(h(0x107))/0x6*(parseInt(h(0x11b))/0x7)+parseInt(h(0x110))/0x8+parseInt(h(0x114))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x8486c));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x107;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x12f)]()[j(0x10b)](j(0x123))['toString']()['constructor'](a41a)[j(0x10b)](j(0x123));});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';function a41c(){const n=['5962264ChSCVA','UnlockCommand:\x20','logger','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','7666236sRjEcP','2094909Mcxkot','14FQYMiy','description','execute','length','inventory','5943eefNZa','\x22\x20here.','error','unlockItemOrSolution','536776WEkimD','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','isValidDirection','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','(((.+)+)+)+$','Unlock\x20a\x20door.','.\x20Result:\x20','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','\x20is\x20attempted\x20to\x20unlock\x20','apply','78499NOXSmV','getItem','verb','unlock','write','exits','toString','3438UkrjjY','4071040IsDUyF','hasItem','actor','search','UnlockCommand:\x20No\x20target\x20specified.','attemptUnlockExit','toLowerCase','name'];a41c=function(){return n;};return a41c();}export class UnlockCommand extends Command{static [a41k(0x12b)]=a41k(0x12c);static [a41k(0x117)]=a41k(0x124);[a41k(0x118)](a){const l=a41k;return this[l(0x12c)](a);}[a41k(0x12c)](a){const m=a41k;if(a[m(0x119)]===0x0)return this['logger'][m(0x11d)](m(0x10c)),m(0x126);const b=a[0x0][m(0x10e)](),c=this[m(0x10a)]['currentLocation'];if(this[m(0x121)](b)&&c[m(0x12e)]['has'](b)){const d=c[m(0x12e)]['get'](b);if(d instanceof Door){const e=d[m(0x11e)]?.[m(0x10e)]();if(e&&this[m(0x10a)][m(0x11a)][m(0x109)](e)){const f=this[m(0x10a)][m(0x11a)][m(0x12a)](e);if(f){const g=c[m(0x10d)](b,f['name']);return this[m(0x112)][m(0x12d)](m(0x111)+this['actor'][m(0x10f)]+m(0x127)+b+m(0x125)+g),g;}}return this[m(0x112)][m(0x12d)](m(0x111)+this[m(0x10a)][m(0x10f)]+m(0x122)+b+'.'),m(0x113);}else return this[m(0x112)][m(0x12d)](m(0x111)+b+m(0x120)+c['name']+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+'\x22\x20here.';}else return this[m(0x112)][m(0x12d)](m(0x111)+b+m(0x120)+c[m(0x10f)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x11c);}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x111))/0x1+parseInt(f(0x127))/0x2+parseInt(f(0x12d))/0x3*(parseInt(f(0x117))/0x4)+parseInt(f(0x12e))/0x5*(-parseInt(f(0x130))/0x6)+-parseInt(f(0x12f))/0x7+-parseInt(f(0x10f))/0x8*(parseInt(f(0x125))/0x9)+parseInt(f(0x11c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xbd24f));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a['toString']()[h(0x122)](h(0x11b))[h(0x11d)]()[h(0x119)](a42a)[h(0x122)](h(0x11b));});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x10f;let f=c[d];return f;},a42d(a,b);}function a42c(){const l=['34134190RuyXxZ','toString','You\x20don\x27t\x20have\x20the\x20','getItem','actor','apply','search','hasItem','toLowerCase','11812959wmPWJi','logger','170440wESvKu','use','description','\x27s\x20inventory.','\x20used\x20','verb','198186ZAUSeU','5NLcrDW','5114249seoGQV','9134430lQjfDP','name','Use\x20an\x20item.','join','8yasmBi','\x20to\x20use.','611705zkMnEx','\x20not\x20retrieved\x20from\x20','UseCommand:\x20','You\x20can\x27t\x20use\x20the\x20','write','inventory','88zxIjqU','\x20attempted\x20to\x20use\x20','constructor',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','(((.+)+)+)+$'];a42c=function(){return l;};return a42c();}a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x12c)]=a42i(0x128);static [a42i(0x129)]=a42i(0x132);['execute'](a){const j=a42i;return this[j(0x128)](a);}[a42i(0x128)](a){const k=a42i,b=a[k(0x133)]('\x20')[k(0x124)]();if(!this[k(0x120)]['inventory'][k(0x123)](b))return this[k(0x126)][k(0x115)](k(0x113)+this['actor'][k(0x131)]+k(0x118)+b+k(0x11a)),k(0x11e)+b+'\x20to\x20use.';const c=this['actor'][k(0x116)][k(0x11f)](b);if(!c)return this[k(0x126)][k(0x115)](k(0x113)+b+k(0x112)+this[k(0x120)][k(0x131)]+k(0x12a)),k(0x11e)+b+k(0x110);if(typeof c[k(0x128)]==='function'){const d=c['use']();return this[k(0x126)][k(0x115)]('UseCommand:\x20'+this[k(0x120)][k(0x131)]+k(0x12b)+b+'.'),d;}else return this[k(0x126)][k(0x115)](k(0x113)+b+'\x20doesn\x27t\x20have\x20a\x20use\x20method.'),k(0x114)+b+'\x20in\x20this\x20way.';}}
1
+ const a42i=a42d;function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1c9;let f=c[d];return f;},a42d(a,b);}(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x1cc))/0x1*(-parseInt(f(0x1ed))/0x2)+parseInt(f(0x1cf))/0x3*(parseInt(f(0x1e1))/0x4)+parseInt(f(0x1d8))/0x5+-parseInt(f(0x1d6))/0x6*(-parseInt(f(0x1db))/0x7)+parseInt(f(0x1ee))/0x8+-parseInt(f(0x1d1))/0x9*(parseInt(f(0x1ec))/0xa)+-parseInt(f(0x1e9))/0xb*(parseInt(f(0x1de))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x8cd97));function a42c(){const k=['1014929dKJUnm','constructor','Use\x20an\x20item.','27MRiQjM','\x20attempted\x20to\x20use\x20','96849svLWmq','toString','\x20not\x20retrieved\x20from\x20','\x20to\x20use.','getItem','618qLvhCS','description','4959215uZGbEf','search','apply','22505KAUsJk','You\x20can\x27t\x20use\x20the\x20','actor','1344pwsPYY',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','name','17348UyWatg','inventory','verb','\x27s\x20inventory.','logger','function','UseCommand:\x20','use','217833cftIir','write','You\x20don\x27t\x20have\x20the\x20','10OFcIQW','2KIaRwB','3429328HzuYZF','\x20in\x20this\x20way.','hasItem','\x20doesn\x27t\x20have\x20a\x20use\x20method.'];a42c=function(){return k;};return a42c();}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x1d2)]()[h(0x1d9)]('(((.+)+)+)+$')['toString']()[h(0x1cd)](a42a)['search']('(((.+)+)+)+$');});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x1e3)]=a42i(0x1e8);static [a42i(0x1d7)]=a42i(0x1ce);['execute'](a){return this['use'](a);}['use'](a){const j=a42i,b=a['join']('\x20')['toLowerCase']();if(!this[j(0x1dd)][j(0x1e2)][j(0x1ca)](b))return this[j(0x1e5)][j(0x1ea)](j(0x1e7)+this[j(0x1dd)][j(0x1e0)]+j(0x1d0)+b+j(0x1df)),j(0x1eb)+b+j(0x1d4);const c=this['actor'][j(0x1e2)][j(0x1d5)](b);if(!c)return this[j(0x1e5)][j(0x1ea)](j(0x1e7)+b+j(0x1d3)+this['actor'][j(0x1e0)]+j(0x1e4)),'You\x20don\x27t\x20have\x20the\x20'+b+j(0x1d4);if(typeof c['use']===j(0x1e6)){const d=c[j(0x1e8)]();return this['logger'][j(0x1ea)](j(0x1e7)+this[j(0x1dd)][j(0x1e0)]+'\x20used\x20'+b+'.'),d;}else return this[j(0x1e5)]['write']('UseCommand:\x20'+b+j(0x1cb)),j(0x1dc)+b+j(0x1c9);}}
@@ -1 +1 @@
1
- function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xd7;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(0xe0))/0x1+parseInt(f(0xd8))/0x2*(-parseInt(f(0xe2))/0x3)+-parseInt(f(0xe3))/0x4*(parseInt(f(0xe1))/0x5)+parseInt(f(0xe5))/0x6*(parseInt(f(0xea))/0x7)+-parseInt(f(0xe6))/0x8*(-parseInt(f(0xdd))/0x9)+-parseInt(f(0xdf))/0xa+parseInt(f(0xe9))/0xb*(parseInt(f(0xe4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x5d4f4));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0xde)]()[h(0xe7)](h(0xda))[h(0xde)]()['constructor'](a43a)[h(0xe7)](h(0xda));});function a43c(){const m=['apply','715bjsFyV','7mqQJll','commandMap','326byRrmu','getAllRegisteredCommands','(((.+)+)+)+$','registerCommand','createCommand','19989Ypnpmm','toString','5087080OiwVIr','547595AtBeUO','35SMqtLf','3156zjtstM','402092GMLZZV','369732SlfleV','439644BGUYHQ','856cJbgtl','search'];a43c=function(){return m;};return a43c();}a43a();export class CommandFactory{static ['commandMap']={};static[a43i(0xdb)](a,b){const j=a43i;this[j(0xd7)][a]=b;}static[a43i(0xdc)](a,b){const k=a43i,c=this[k(0xd7)][a];if(c)return new c(b);return null;}static[a43i(0xd9)](){const l=a43i;return this[l(0xd7)];}}
1
+ const a43i=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x12d;let f=c[d];return f;},a43d(a,b);}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=parseInt(f(0x130))/0x1+parseInt(f(0x13d))/0x2*(-parseInt(f(0x137))/0x3)+parseInt(f(0x133))/0x4+-parseInt(f(0x134))/0x5*(-parseInt(f(0x136))/0x6)+-parseInt(f(0x13b))/0x7+-parseInt(f(0x12d))/0x8+parseInt(f(0x132))/0x9*(-parseInt(f(0x12e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x27b7e));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x12f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x13c)]()[h(0x139)]('(((.+)+)+)+$')[h(0x13c)]()[h(0x138)](a43a)['search'](h(0x131));});a43a();export class CommandFactory{static ['commandMap']={};static[a43i(0x13a)](a,b){this['commandMap'][a]=b;}static['createCommand'](a,b){const j=a43i,c=this[j(0x13e)][a];if(c)return new c(b);return null;}static[a43i(0x135)](){const k=a43i;return this[k(0x13e)];}}function a43c(){const l=['2146KDtDyM','commandMap','436024nYWRpQ','30SbgtvT','apply','106148EbrWmw','(((.+)+)+)+$','485127hbvupe','1241076lfWMMp','80ejdUDh','getAllRegisteredCommands','67278MOOZDe','573mBXKJc','constructor','search','registerCommand','83888VpQRHx','toString'];a43c=function(){return l;};return a43c();}
@@ -1 +1 @@
1
- const a44h=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=parseInt(f(0x171))/0x1+-parseInt(f(0x174))/0x2*(parseInt(f(0x16e))/0x3)+-parseInt(f(0x175))/0x4+parseInt(f(0x16a))/0x5+-parseInt(f(0x180))/0x6+parseInt(f(0x17f))/0x7*(-parseInt(f(0x187))/0x8)+parseInt(f(0x17b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xad837));const a44b=(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;};}()),a44a=a44b(this,function(){const g=a44d;return a44a[g(0x16f)]()['search'](g(0x18b))[g(0x16f)]()[g(0x16d)](a44a)[g(0x176)](g(0x18b));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x169;let f=c[d];return f;},a44d(a,b);}export class RoomFactory{[a44h(0x181)](a){const i=a44h,b=this['convertToRoomConfig'](a),c=new Room(b);if(a['items']){const d=new Inventory();a[i(0x17d)][i(0x173)](e=>{const j=i;d[j(0x169)](this['createItem'](e));}),c[i(0x186)]=d;}return a['puzzle']&&c['setPuzzle'](this[i(0x177)](a[i(0x16c)])),c;}['createItem'](a){const k=a44h;switch(a['type']){case k(0x17c):return new Key(a['name'],a[k(0x16b)]);case k(0x18c):return new Book(a[k(0x17e)],a[k(0x16b)],a['content']);case k(0x18d):return new Sword(a[k(0x17e)],a[k(0x16b)]);case k(0x170):return new Rifle(a['name'],a[k(0x16b)]);case k(0x179):return new Helmet(a['name'],a[k(0x16b)]);case k(0x182):return new BodyArmor(a[k(0x17e)],a[k(0x16b)]);case k(0x184):return new LegArmor(a['name'],a[k(0x16b)]);case k(0x189):return new Boots(a[k(0x17e)],a[k(0x16b)]);case k(0x183):return new Gloves(a[k(0x17e)],a['description']);case k(0x18a):return new Gauntlets(a[k(0x17e)],a['description']);default:return new BasicItem(a[k(0x17e)],a[k(0x16b)]);}}['createPuzzle'](a){const l=a44h,b=this['createItem'](a[l(0x172)]);return new Puzzle({...a,'rewardItem':b});}[a44h(0x17a)](a){const m=a44h,b=a[m(0x178)]&&RoomType[a[m(0x178)]['toUpperCase']()]?RoomType[a[m(0x178)][m(0x188)]()]:RoomType['INSIDE'];return{'name':a[m(0x17e)],'description':a['description'],'isStartRoom':a[m(0x185)],'roomType':b};}}function a44c(){const n=['717830FtjIiE','rewardItem','forEach','9122vMErUs','5553260WlYtFW','search','createPuzzle','roomType','helmet','convertToRoomConfig','30512502rESeht','key','items','name','4130GyPjKw','6386928fIdgoV','createRoom','bodyarmor','gloves','legarmor','isStartRoom','inventory','16648IqQxYF','toUpperCase','boots','gauntlets','(((.+)+)+)+$','book','sword','addItem','4449045HZvRpp','description','puzzle','constructor','399wGeMqZ','toString','rifle'];a44c=function(){return n;};return a44c();}
1
+ const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x7a))/0x1+parseInt(f(0x7e))/0x2+parseInt(f(0x8f))/0x3+-parseInt(f(0x82))/0x4+parseInt(f(0x79))/0x5*(-parseInt(f(0x99))/0x6)+-parseInt(f(0x83))/0x7+parseInt(f(0x78))/0x8*(parseInt(f(0x97))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x69eb3));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x8a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a['toString']()[h(0x90)](h(0x7f))[h(0x87)]()[h(0x91)](a44a)[h(0x90)](h(0x7f));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a44c(){const o=['4540XQLCfV','704946NOpUYG','description','inventory','forEach','229540eGsRAW','(((.+)+)+)+$','rifle','addItem','1584144ezLasM','2084418CQouFK','convertToRoomConfig','items','sword','toString','roomType','createRoom','apply','createItem','legarmor','toUpperCase','name','1995372jpDhbv','search','constructor','bodyarmor','boots','isStartRoom','rewardItem','createPuzzle','261ujJfEH','gauntlets','5178tKArNV','setPuzzle','gloves','506568ZFvTUF'];a44c=function(){return o;};return a44c();}import{RoomType}from'../types/enums.js';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x77;let f=c[d];return f;},a44d(a,b);}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0x89)](a){const j=a44i,b=this[j(0x84)](a),c=new Room(b);if(a[j(0x85)]){const d=new Inventory();a[j(0x85)][j(0x7d)](e=>{const k=j;d[k(0x81)](this[k(0x8b)](e));}),c[j(0x7c)]=d;}return a['puzzle']&&c[j(0x9a)](this['createPuzzle'](a['puzzle'])),c;}[a44i(0x8b)](a){const l=a44i;switch(a['type']){case'key':return new Key(a[l(0x8e)],a[l(0x7b)]);case'book':return new Book(a['name'],a['description'],a['content']);case l(0x86):return new Sword(a[l(0x8e)],a[l(0x7b)]);case l(0x80):return new Rifle(a[l(0x8e)],a[l(0x7b)]);case'helmet':return new Helmet(a[l(0x8e)],a[l(0x7b)]);case l(0x92):return new BodyArmor(a['name'],a[l(0x7b)]);case l(0x8c):return new LegArmor(a['name'],a[l(0x7b)]);case l(0x93):return new Boots(a[l(0x8e)],a['description']);case l(0x77):return new Gloves(a[l(0x8e)],a[l(0x7b)]);case l(0x98):return new Gauntlets(a[l(0x8e)],a[l(0x7b)]);default:return new BasicItem(a['name'],a[l(0x7b)]);}}[a44i(0x96)](a){const m=a44i,b=this[m(0x8b)](a[m(0x95)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0x84)](a){const n=a44i,b=a[n(0x88)]&&RoomType[a[n(0x88)][n(0x8d)]()]?RoomType[a[n(0x88)]['toUpperCase']()]:RoomType['INSIDE'];return{'name':a['name'],'description':a[n(0x7b)],'isStartRoom':a[n(0x94)],'roomType':b};}}
@@ -1 +1 @@
1
- const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0x1cd))/0x1*(-parseInt(h(0x1b6))/0x2)+parseInt(h(0x1c2))/0x3*(parseInt(h(0x1b2))/0x4)+-parseInt(h(0x1ab))/0x5+parseInt(h(0x1ce))/0x6+-parseInt(h(0x1af))/0x7*(parseInt(h(0x1a7))/0x8)+-parseInt(h(0x1ac))/0x9+parseInt(h(0x1b7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x3e805));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x1be)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x1bb)]()[j(0x1b1)](j(0x1cb))[j(0x1bb)]()[j(0x1c7)](a45a)[j(0x1b1)](j(0x1cb));});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';function a45c(){const s=['Welcome,\x20','7swIlxu','split','search','4ElfHrs','createCommand','drop','-\x20quit:\x20Exit\x20the\x20game.\x0a','172082wYTjZe','2136090qhmSgg','unlock','quit','registerCommand','toString','take','getInstance','apply','registerCommands','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','look','823773owgWTe','name','getAllRegisteredCommands','instance','getDescription','constructor','clear','getHelpMessage','slice','(((.+)+)+)+$','getRooms','4sgrOuV','464574SefvPw','help','initialize','determineStartRoom','equip','currentRoom','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','hasOwnProperty','maka','scene','handleInput','getWelcomeMessage','1163080yRZVyN','player','-\x20clear:\x20Clear\x20the\x20screen.\x0a','say','1918180qvNCIj','1122903TUkHyt','currentLocation'];a45c=function(){return s;};return a45c();}import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a45d(a,b);}import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a45k(0x1d7)];[a45k(0x1a8)];[a45k(0x1d3)];['rooms'];constructor(a,b){const l=a45k;this[l(0x1a8)]=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[l(0x1d7)][l(0x1d0)](),this[l(0x1a8)][l(0x1ad)]=this[l(0x1d1)](),this[l(0x1bf)]();}[a45k(0x1bf)](){const m=a45k;CommandFactory[m(0x1ba)](m(0x1c1),LookCommand),CommandFactory[m(0x1ba)]('go',GoCommand),CommandFactory[m(0x1ba)](m(0x1bc),TakeCommand),CommandFactory[m(0x1ba)]('use',UseCommand),CommandFactory['registerCommand'](m(0x1d2),EquipCommand),CommandFactory[m(0x1ba)]('unequip',UnequipCommand),CommandFactory[m(0x1ba)]('solve',SolveCommand),CommandFactory[m(0x1ba)](m(0x1b4),DropCommand),CommandFactory[m(0x1ba)](m(0x1b8),UnlockCommand),CommandFactory[m(0x1ba)]('lock',LockCommand),CommandFactory['registerCommand'](m(0x1b1),SearchCommand),CommandFactory[m(0x1ba)](m(0x1aa),SayCommand);}[a45k(0x1d1)](){const n=a45k;return this[n(0x1d7)][n(0x1d1)]();}[a45k(0x1a6)](){const o=a45k;return o(0x1ae)+this['player'][o(0x1c3)];}static[a45k(0x1bd)](a,b){const p=a45k;return!Game[p(0x1c5)]&&(Game['instance']=new Game(a,b)),Game[p(0x1c5)];}[a45k(0x1a5)](a){const q=a45k,b=a['trim']()[q(0x1b0)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0x1ca)](0x1);if(c===q(0x1b9))return null;if(c===q(0x1d6))return q(0x1c0);if(c===q(0x1cf))return this[q(0x1c9)]();if(c===q(0x1c8))return'';const e={'actor':this[q(0x1a8)],'rooms':this[q(0x1d7)][q(0x1cc)](),'scene':this[q(0x1d7)]},f=CommandFactory[q(0x1b3)](c,e);if(f){const g=f['execute'](d);return g;}return q(0x1d4)+c+'\x22.';}[a45k(0x1c9)](){const r=a45k,a=CommandFactory[r(0x1c4)]();let b='Available\x20Commands:\x0a';for(const c in a){if(a[r(0x1d5)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x1c6)]()+'\x0a';}}return b+=r(0x1a9),b+=r(0x1b5),b;}}
1
+ const a45j=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x164;let f=c[d];return f;},a45d(a,b);}(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x17c))/0x1+-parseInt(h(0x174))/0x2+parseInt(h(0x176))/0x3*(parseInt(h(0x175))/0x4)+parseInt(h(0x18b))/0x5+parseInt(h(0x179))/0x6*(parseInt(h(0x18e))/0x7)+-parseInt(h(0x189))/0x8*(parseInt(h(0x182))/0x9)+-parseInt(h(0x171))/0xa*(parseInt(h(0x167))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xd6869));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const i=a45d;return a45a['toString']()['search'](i(0x18c))['toString']()[i(0x18a)](a45a)[i(0x172)]('(((.+)+)+)+$');});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';function a45c(){const r=['hasOwnProperty','solve','-\x20quit:\x20Exit\x20the\x20game.\x0a','9460yDMhaY','search','currentLocation','3026106DchGrB','7312DdzPjY','948tEgOkb','maka','You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit','27906IwDPvj','execute','handleInput','913262zyluxB','createCommand','getHelpMessage','take','getDescription','getWelcomeMessage','2995947pvKtJD','registerCommands','I\x20don\x27t\x20understand\x20the\x20command\x20\x22','getRooms','-\x20clear:\x20Clear\x20the\x20screen.\x0a','scene','player','16LLyKod','constructor','3406740UTxOfT','(((.+)+)+)+$','Available\x20Commands:\x0a','1694VDOUwY','name','drop','clear','registerCommand','slice','rooms','equip','say','Welcome,\x20','2794dxMXtp','determineStartRoom','quit','help','instance','getAllRegisteredCommands','lock'];a45c=function(){return r;};return a45c();}import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';import{CommandFactory}from'./factories/commandF.js';export default class Game{static ['instance'];[a45j(0x187)];[a45j(0x188)];['currentRoom'];[a45j(0x194)];constructor(a,b){const k=a45j;this['player']=a,this['scene']=new Scene({'player':a,'roomConfiguration':b}),this[k(0x187)]['initialize'](),this[k(0x188)][k(0x173)]=this[k(0x168)](),this[k(0x183)]();}[a45j(0x183)](){const l=a45j;CommandFactory[l(0x192)]('look',LookCommand),CommandFactory[l(0x192)]('go',GoCommand),CommandFactory[l(0x192)](l(0x17f),TakeCommand),CommandFactory[l(0x192)]('use',UseCommand),CommandFactory[l(0x192)](l(0x164),EquipCommand),CommandFactory[l(0x192)]('unequip',UnequipCommand),CommandFactory[l(0x192)](l(0x16f),SolveCommand),CommandFactory[l(0x192)](l(0x190),DropCommand),CommandFactory[l(0x192)]('unlock',UnlockCommand),CommandFactory[l(0x192)](l(0x16d),LockCommand),CommandFactory[l(0x192)](l(0x172),SearchCommand),CommandFactory[l(0x192)](l(0x165),SayCommand);}[a45j(0x168)](){const m=a45j;return this[m(0x187)][m(0x168)]();}[a45j(0x181)](){const n=a45j;return n(0x166)+this[n(0x188)][n(0x18f)];}static['getInstance'](a,b){const o=a45j;return!Game[o(0x16b)]&&(Game[o(0x16b)]=new Game(a,b)),Game['instance'];}[a45j(0x17b)](a){const p=a45j,b=a['trim']()['split']('\x20'),c=b[0x0]['toLowerCase'](),d=b[p(0x193)](0x1);if(c===p(0x169))return null;if(c===p(0x177))return p(0x178);if(c===p(0x16a))return this[p(0x17e)]();if(c===p(0x191))return'';const e={'actor':this[p(0x188)],'rooms':this[p(0x187)][p(0x185)](),'scene':this[p(0x187)]},f=CommandFactory[p(0x17d)](c,e);if(f){const g=f[p(0x17a)](d);return g;}return p(0x184)+c+'\x22.';}[a45j(0x17e)](){const q=a45j,a=CommandFactory[q(0x16c)]();let b=q(0x18d);for(const c in a){if(a[q(0x16e)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[q(0x180)]()+'\x0a';}}return b+=q(0x186),b+=q(0x170),b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x7e))/0x1*(-parseInt(f(0x76))/0x2)+parseInt(f(0x79))/0x3+parseInt(f(0x80))/0x4+-parseInt(f(0x7b))/0x5+-parseInt(f(0x7d))/0x6*(-parseInt(f(0x7c))/0x7)+-parseInt(f(0x7a))/0x8*(-parseInt(f(0x82))/0x9)+-parseInt(f(0x7f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x2814f));function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x74;var f=c[d];return f;},a46d(a,b);}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x74)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x81)]()[h(0x77)](h(0x78))[h(0x81)]()[h(0x75)](a46a)[h(0x77)](h(0x78));});function a46c(){var i=['search','(((.+)+)+)+$','588279bXXiEh','8tYvsDj','1518200DamMBb','5208EOgpXK','1200DvtquZ','51385knodmQ','184130OQawzU','1297068vzvbcm','toString','665937PvVmEv','apply','constructor','10iSUvAu'];a46c=function(){return i;};return a46c();}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';export*from'./scene.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x84))/0x1+parseInt(f(0x7b))/0x2+-parseInt(f(0x82))/0x3*(parseInt(f(0x7e))/0x4)+parseInt(f(0x83))/0x5*(-parseInt(f(0x7c))/0x6)+-parseInt(f(0x87))/0x7*(-parseInt(f(0x81))/0x8)+parseInt(f(0x86))/0x9*(-parseInt(f(0x7d))/0xa)+parseInt(f(0x80))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x8b874));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var g=a46d;return a46a['toString']()[g(0x79)]('(((.+)+)+)+$')[g(0x85)]()[g(0x7f)](a46a)[g(0x79)](g(0x7a));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';function a46c(){var h=['960610NuTTYN','toString','1850481EDBHes','21BdTSEV','search','(((.+)+)+)+$','1552774nRXHKa','718602FoQtmE','30KizlpC','8ElKABe','constructor','4790467oCukZE','1496904oxAnze','881043xVCdZl','40kcuyDn'];a46c=function(){return h;};return a46c();}export*from'./room.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x79;var f=c[d];return f;},a46d(a,b);}export*from'./scene.js';
@@ -1 +1 @@
1
- var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x147))/0x1+parseInt(f(0x13b))/0x2*(-parseInt(f(0x12e))/0x3)+parseInt(f(0x13e))/0x4+parseInt(f(0x13c))/0x5+parseInt(f(0x138))/0x6+parseInt(f(0x140))/0x7+parseInt(f(0x142))/0x8*(parseInt(f(0x149))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xa58de));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a['toString']()[h(0x12b)](h(0x144))[h(0x141)]()['constructor'](a47a)[h(0x12b)]('(((.+)+)+)+$');});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x133)];['roomB'];[a47i(0x148)];['unlockItemOrSolution'];[a47i(0x12c)];[a47i(0x136)];[a47i(0x137)];constructor(a){var j=a47i;super(),this[j(0x133)]=a[j(0x133)],this[j(0x134)]=a[j(0x134)],this[j(0x148)]=a[j(0x148)]||![],this['unlockItemOrSolution']=a[j(0x13d)],this[j(0x12c)]=a[j(0x12c)]?capitalCase(a[j(0x12c)]):j(0x12f)+a[j(0x134)][j(0x12c)],this['logger']=Logger[j(0x13f)](),this[j(0x137)]=!!a[j(0x13d)],this[j(0x136)]['write'](j(0x132)+this['roomA'][j(0x12c)]+j(0x12d)+this[j(0x134)][j(0x12c)]+j(0x145)+this[j(0x148)]);}['getOtherSide'](a){var k=a47i;return this[k(0x133)]===a?this[k(0x134)]:this['roomA'];}[a47i(0x13a)](a){var l=a47i;if(this[l(0x148)]&&this['unlockItemOrSolution']&&this[l(0x13d)]===a)return this[l(0x148)]=![],this['logger'][l(0x146)](l(0x131)+this[l(0x12c)]+l(0x14a)+a),!![];return this[l(0x136)][l(0x146)](l(0x135)+this[l(0x12c)]+l(0x14a)+a),![];}[a47i(0x143)](){var m=a47i;return this[m(0x148)];}[a47i(0x139)](){var n=a47i;return this[n(0x137)];}}function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x12b;var f=c[d];return f;},a47d(a,b);}function a47c(){var o=['name','\x20and\x20','465519tuaqxc','To\x20','apply','Door\x20unlocked:\x20','Door\x20created\x20between\x20','roomA','roomB','Failed\x20to\x20unlock\x20door:\x20','logger','isLockable','4673538zYxMYl','checkIfLockable','attemptUnlock','14TEvzQd','131955vCyPXb','unlockItemOrSolution','2643500kzUEaE','getInstance','4020835ntvfDb','toString','8iIVgpe','checkIfLocked','(((.+)+)+)+$','.\x20Is\x20Locked:\x20','write','670141djJyQD','isLocked','3544812TAaMFv','.\x20Used:\x20','search'];a47c=function(){return o;};return a47c();}
1
+ var a47h=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=parseInt(f(0xa3))/0x1*(-parseInt(f(0xac))/0x2)+parseInt(f(0xc0))/0x3*(parseInt(f(0xbe))/0x4)+parseInt(f(0xaf))/0x5+parseInt(f(0xb5))/0x6*(parseInt(f(0xc1))/0x7)+parseInt(f(0xa8))/0x8+-parseInt(f(0xb7))/0x9+-parseInt(f(0xa9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x38a27));function a47c(){var n=['1329rlxUUG','5495zhaEYn','unlockItemOrSolution','getInstance','179SYrmEh','search','To\x20','logger','getOtherSide','2863544YTlkao','546410DTWttn','checkIfLocked','constructor','4864KBIqJE','\x20and\x20','write','1451955JGHywx','Door\x20created\x20between\x20','roomB','(((.+)+)+)+$','toString','isLocked','2676uGQQyF','checkIfLockable','3242043WMYOfl','roomA','attemptUnlock','Door\x20unlocked:\x20','name','isLockable','.\x20Is\x20Locked:\x20','756gbtsHt','.\x20Used:\x20'];a47c=function(){return n;};return a47c();}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(0xb3)]()['search'](g(0xb2))[g(0xb3)]()[g(0xab)](a47a)[g(0xa4)](g(0xb2));});function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0xa1;var f=c[d];return f;},a47d(a,b);}a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47h(0xb8)];[a47h(0xb1)];[a47h(0xb4)];[a47h(0xa1)];[a47h(0xbb)];[a47h(0xa6)];['isLockable'];constructor(a){var i=a47h;super(),this[i(0xb8)]=a[i(0xb8)],this[i(0xb1)]=a[i(0xb1)],this['isLocked']=a['isLocked']||![],this[i(0xa1)]=a[i(0xa1)],this[i(0xbb)]=a['name']?capitalCase(a[i(0xbb)]):i(0xa5)+a[i(0xb1)][i(0xbb)],this[i(0xa6)]=Logger[i(0xa2)](),this[i(0xbc)]=!!a[i(0xa1)],this[i(0xa6)][i(0xae)](i(0xb0)+this['roomA'][i(0xbb)]+i(0xad)+this['roomB']['name']+i(0xbd)+this[i(0xb4)]);}[a47h(0xa7)](a){var j=a47h;return this['roomA']===a?this[j(0xb1)]:this[j(0xb8)];}[a47h(0xb9)](a){var k=a47h;if(this[k(0xb4)]&&this[k(0xa1)]&&this[k(0xa1)]===a)return this[k(0xb4)]=![],this[k(0xa6)][k(0xae)](k(0xba)+this[k(0xbb)]+k(0xbf)+a),!![];return this['logger'][k(0xae)]('Failed\x20to\x20unlock\x20door:\x20'+this[k(0xbb)]+k(0xbf)+a),![];}[a47h(0xaa)](){var l=a47h;return this[l(0xb4)];}[a47h(0xb6)](){var m=a47h;return this[m(0xbc)];}}
@@ -1 +1 @@
1
- const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0xe1))/0x1*(-parseInt(f(0xe2))/0x2)+-parseInt(f(0xf7))/0x3*(-parseInt(f(0xea))/0x4)+-parseInt(f(0xdd))/0x5*(parseInt(f(0xdc))/0x6)+-parseInt(f(0xe6))/0x7*(parseInt(f(0xd9))/0x8)+-parseInt(f(0xef))/0x9+-parseInt(f(0xe5))/0xa*(-parseInt(f(0xf8))/0xb)+parseInt(f(0xf2))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xf1ad3));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0xd6)]()[h(0xf4)](h(0xf0))['toString']()['constructor'](a48a)['search'](h(0xf0));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xd5;let f=c[d];return f;},a48d(a,b);}export class Inventory extends AbstractInventory{[a48i(0xda)];[a48i(0xec)];constructor(){const j=a48i;super(),this[j(0xda)]=new Map(),this[j(0xec)]=Logger[j(0xd8)]();}['addItem'](a){const k=a48i;this[k(0xda)][k(0xf5)](a['name'][k(0xe3)](),a),this['logger'][k(0xfb)]('Added\x20item:\x20'+a['name']+k(0xe7));}[a48i(0xdf)](a){const l=a48i,b=this[l(0xeb)](a);if(b)return this[l(0xda)][l(0xed)](a[l(0xe3)]()),this[l(0xec)][l(0xfb)]('Removed\x20item:\x20'+a+l(0xf6)),b;return this['logger'][l(0xfb)](l(0xde)+a+l(0xee)),null;}[a48i(0xfa)](a){const m=a48i,b=this[m(0xda)]['has'](a['toLowerCase']()),c=[...this[m(0xda)][m(0xe0)]()];return this[m(0xec)][m(0xfb)]('Checked\x20for\x20item:\x20'+a+m(0xe4)+c[m(0xf9)](',\x20')+'.\x20Exists:\x20'+b+'.'),b;}[a48i(0xeb)](a){const n=a48i,b=this[n(0xda)][n(0xdb)](a['toLowerCase']())||null;return b?this['logger']['write'](n(0xd5)+a+'.'):this[n(0xec)][n(0xfb)](n(0xe8)+a+n(0xee)),b;}[a48i(0xd7)](){const o=a48i,a=[...this['items'][o(0xe0)]()],b=a['map'](c=>capitalCase(c));return this[o(0xec)][o(0xfb)]('Listed\x20items\x20in\x20inventory:\x20'+b[o(0xf9)](',\x20')+'.'),a;}['getWeight'](){const p=a48i;let a=0x0;for(const b of this['items'][p(0xe9)]()){a+=b[p(0xf1)];}return a;}['getAllItems'](){const q=a48i;return[...this[q(0xda)][q(0xe9)]()];}}function a48c(){const r=['179050RQmbqx','toLowerCase','\x20in\x20','10oJAEyo','5159jfAuza','\x20to\x20inventory.','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','values','3178636ctmpTl','getItem','logger','delete','.\x20Item\x20not\x20found.','10253682AsTDAf','(((.+)+)+)+$','weight','37316436EnzlNM','apply','search','set','\x20from\x20inventory.','3fTomQI','6220588hzlHuS','join','hasItem','write','Retrieved\x20details\x20for\x20item:\x20','toString','listItems','getInstance','21104HtlXrP','items','get','6XbLtmW','6458545wrpDnA','Failed\x20to\x20remove\x20item:\x20','removeItem','keys','10XtjEgu'];a48c=function(){return r;};return a48c();}
1
+ const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0x1d4))/0x1+parseInt(f(0x1c2))/0x2+parseInt(f(0x1dd))/0x3+parseInt(f(0x1c1))/0x4*(-parseInt(f(0x1d7))/0x5)+-parseInt(f(0x1cd))/0x6*(parseInt(f(0x1bf))/0x7)+-parseInt(f(0x1d5))/0x8*(-parseInt(f(0x1ea))/0x9)+-parseInt(f(0x1ce))/0xa*(-parseInt(f(0x1df))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x60a83));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1e6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1cf)]()[h(0x1c6)](h(0x1e9))[h(0x1cf)]()[h(0x1e5)](a48a)[h(0x1c6)]('(((.+)+)+)+$');});function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a48d(a,b);}a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';function a48c(){const r=['.\x20Exists:\x20','535372vFmzJb','768470PPzJlY','getAllItems','Failed\x20to\x20remove\x20item:\x20','has','search','Added\x20item:\x20','listItems','Retrieved\x20details\x20for\x20item:\x20','write','map','logger','12xHqlIl','28590fxIMCC','toString','getItem','delete','keys','items','544218WzbTzB','1032864zjXJMF','toLowerCase','25pKIkeE','.\x20Item\x20not\x20found.','join','\x20in\x20','addItem','\x20from\x20inventory.','1325910vMZfXi','name','517OKxhNS','\x20to\x20inventory.','Listed\x20items\x20in\x20inventory:\x20','get','values','removeItem','constructor','apply','set','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','(((.+)+)+)+$','54LIvXrK','getInstance','Removed\x20item:\x20','440601BrunQf'];a48c=function(){return r;};return a48c();}export class Inventory extends AbstractInventory{['items'];[a48i(0x1cc)];constructor(){const j=a48i;super(),this[j(0x1d3)]=new Map(),this[j(0x1cc)]=Logger[j(0x1bd)]();}[a48i(0x1db)](a){const k=a48i;this[k(0x1d3)][k(0x1e7)](a[k(0x1de)][k(0x1d6)](),a),this['logger'][k(0x1ca)](k(0x1c7)+a['name']+k(0x1e0));}[a48i(0x1e4)](a){const l=a48i,b=this[l(0x1d0)](a);if(b)return this['items'][l(0x1d1)](a[l(0x1d6)]()),this[l(0x1cc)][l(0x1ca)](l(0x1be)+a+l(0x1dc)),b;return this[l(0x1cc)]['write'](l(0x1c4)+a+l(0x1d8)),null;}['hasItem'](a){const m=a48i,b=this[m(0x1d3)][m(0x1c5)](a[m(0x1d6)]()),c=[...this[m(0x1d3)][m(0x1d2)]()];return this[m(0x1cc)]['write']('Checked\x20for\x20item:\x20'+a+m(0x1da)+c[m(0x1d9)](',\x20')+m(0x1c0)+b+'.'),b;}[a48i(0x1d0)](a){const n=a48i,b=this[n(0x1d3)][n(0x1e2)](a[n(0x1d6)]())||null;return b?this['logger'][n(0x1ca)](n(0x1c9)+a+'.'):this['logger'][n(0x1ca)](n(0x1e8)+a+n(0x1d8)),b;}[a48i(0x1c8)](){const o=a48i,a=[...this[o(0x1d3)][o(0x1d2)]()],b=a[o(0x1cb)](c=>capitalCase(c));return this['logger'][o(0x1ca)](o(0x1e1)+b[o(0x1d9)](',\x20')+'.'),a;}['getWeight'](){const p=a48i;let a=0x0;for(const b of this['items'][p(0x1e3)]()){a+=b['weight'];}return a;}[a48i(0x1c3)](){const q=a48i;return[...this[q(0x1d3)][q(0x1e3)]()];}}
@@ -1 +1 @@
1
- var a49i=a49d;function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x1b1;var f=c[d];return f;},a49d(a,b);}(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x1bc))/0x1*(-parseInt(f(0x1bf))/0x2)+parseInt(f(0x1bd))/0x3+-parseInt(f(0x1b3))/0x4+parseInt(f(0x1b2))/0x5+parseInt(f(0x1c2))/0x6+parseInt(f(0x1b9))/0x7+-parseInt(f(0x1c1))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x6d1fd));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x1b4)]()[h(0x1bb)]('(((.+)+)+)+$')['toString']()[h(0x1c4)](a49a)[h(0x1bb)](h(0x1b6));});a49a();function a49c(){var l=['470499MugSuY','description','2seeroM','You\x20use\x20the\x20','4785248nqHihD','2525874XwJpBq','apply','constructor','weight','texture','category','2957130vQyCOH','1222628HrskQb','toString','name','(((.+)+)+)+$','color','rating','1803977CindAo','shape','search','76163igZrou'];a49c=function(){return l;};return a49c();}import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];[a49i(0x1b5)];[a49i(0x1be)];['size'];['category'];[a49i(0x1ba)];[a49i(0x1b7)];['texture'];[a49i(0x1b8)];[a49i(0x1c5)];constructor(a){var j=a49i;super(),this[j(0x1b5)]=a[j(0x1b5)],this['description']=a['description'],this['size']=a['size'],this[j(0x1b1)]=a[j(0x1b1)],this[j(0x1ba)]=a[j(0x1ba)],this['color']=a['color'],this[j(0x1c6)]=a['texture'],this['rating']=a['rating'],this['weight']=a[j(0x1c5)],this['uuid']=a49e();}['use'](){var k=a49i;return k(0x1c0)+this[k(0x1b5)]+'.\x20Nothing\x20special\x20happens.';}}
1
+ var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=-parseInt(f(0xea))/0x1*(parseInt(f(0xed))/0x2)+-parseInt(f(0xf8))/0x3*(-parseInt(f(0xeb))/0x4)+-parseInt(f(0xfc))/0x5+parseInt(f(0xf5))/0x6+-parseInt(f(0xf7))/0x7*(parseInt(f(0xe8))/0x8)+-parseInt(f(0xf6))/0x9*(parseInt(f(0xe7))/0xa)+parseInt(f(0xef))/0xb*(parseInt(f(0xec))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xe78c5));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0xf1)]()[h(0xf9)]('(((.+)+)+)+$')[h(0xf1)]()[h(0xf4)](a49a)[h(0xf9)](h(0x101));});a49a();function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0xe6;var f=c[d];return f;},a49d(a,b);}import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{['uuid'];[a49i(0xe9)];[a49i(0xfb)];[a49i(0xff)];[a49i(0xfe)];[a49i(0xf0)];['color'];['texture'];[a49i(0x100)];[a49i(0xe6)];constructor(a){var j=a49i;super(),this[j(0xe9)]=a[j(0xe9)],this[j(0xfb)]=a[j(0xfb)],this[j(0xff)]=a[j(0xff)],this[j(0xfe)]=a[j(0xfe)],this[j(0xf0)]=a['shape'],this[j(0xf2)]=a['color'],this[j(0xfd)]=a[j(0xfd)],this[j(0x100)]=a[j(0x100)],this['weight']=a[j(0xe6)],this['uuid']=a49e();}[a49i(0xee)](){var k=a49i;return k(0xf3)+this[k(0xe9)]+'.\x20Nothing\x20special\x20happens.';}}function a49c(){var l=['19356Fpirlh','28wCMTvA','use','12023jodlqw','shape','toString','color','You\x20use\x20the\x20','constructor','4745454kRiLLR','36rDUfir','917LisDJV','15351LoPspZ','search','apply','description','2888145WcCSQQ','texture','category','size','rating','(((.+)+)+)+$','weight','3142010rbIxRl','65216LVLyGM','name','14825ZTVbfP','1176AggIMf'];a49c=function(){return l;};return a49c();}
@@ -1 +1 @@
1
- const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=parseInt(f(0x1cb))/0x1+parseInt(f(0x1c5))/0x2+parseInt(f(0x1cd))/0x3*(-parseInt(f(0x1da))/0x4)+-parseInt(f(0x1c4))/0x5+parseInt(f(0x1ca))/0x6+-parseInt(f(0x1db))/0x7*(parseInt(f(0x1d5))/0x8)+-parseInt(f(0x1ce))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x7ffb1));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x1c2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x1c6)]()[h(0x1d1)](h(0x1d9))['toString']()[h(0x1c9)](a50a)[h(0x1d1)](h(0x1d9));});a50a();function a50c(){const o=['toString','autonomousMove','length','constructor','4679574TfsbKU','425436SdFAlc','speak','647736BSDWQw','6148602EBFQzG','moveTo','scene','search','name','execute','_name','8OyfAVa','random','_dialogue','floor','(((.+)+)+)+$','4dqsHga','1341480FhLfhF','apply','rooms','2566735OTdboF','1845842wJkxQc'];a50c=function(){return o;};return a50c();}import{Player}from'./player.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a50d(a,b);}import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x1d4)];[a50i(0x1d7)];[a50i(0x1c3)];[a50i(0x1d0)];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x1d4)]=a,this[j(0x1d7)]=b,this[j(0x1c3)]=c;}get[a50i(0x1d2)](){const k=a50i;return this[k(0x1d4)];}[a50i(0x1cc)](){const l=a50i;return this[l(0x1d7)][Math[l(0x1d8)](Math[l(0x1d6)]()*this['_dialogue'][l(0x1c8)])];}[a50i(0x1c7)](a){const m=a50i,b=a[Math['floor'](Math[m(0x1d6)]()*a[m(0x1c8)])];this['moveTo'](b[m(0x1d2)]);}[a50i(0x1cf)](a){const n=a50i,b={'actor':this,'rooms':this[n(0x1c3)],'scene':this[n(0x1d0)]},c=new GoCommand(b);c[n(0x1d3)]([a]);}}
1
+ function a50c(){const n=['12eyLgAU','3034215yrlgMQ','(((.+)+)+)+$','16kuVVWn','31090LVWSWI','apply','execute','moveTo','24886121oZnZxr','76lmuTkH','469230dVuBmh','7HQaSED','rooms','_name','floor','178295YDrjCm','length','constructor','scene','528CJLeWk','4petBBy','_dialogue','357036gbSNlw','toString','308769RFoxYE','autonomousMove','speak','search','name'];a50c=function(){return n;};return a50c();}const a50i=a50d;function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x14e;let f=c[d];return f;},a50d(a,b);}(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x167))/0x1+parseInt(f(0x163))/0x2*(parseInt(f(0x165))/0x3)+parseInt(f(0x158))/0x4*(-parseInt(f(0x15e))/0x5)+-parseInt(f(0x159))/0x6*(-parseInt(f(0x15a))/0x7)+-parseInt(f(0x152))/0x8*(parseInt(f(0x150))/0x9)+-parseInt(f(0x153))/0xa*(parseInt(f(0x162))/0xb)+parseInt(f(0x14f))/0xc*(parseInt(f(0x157))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x66b92));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x166)]()[h(0x16a)]('(((.+)+)+)+$')[h(0x166)]()[h(0x160)](a50a)['search'](h(0x151));});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x15c)];[a50i(0x164)];[a50i(0x15b)];['scene'];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x15c)]=a,this[j(0x164)]=b,this['rooms']=c;}get[a50i(0x14e)](){return this['_name'];}[a50i(0x169)](){const k=a50i;return this[k(0x164)][Math[k(0x15d)](Math['random']()*this[k(0x164)][k(0x15f)])];}[a50i(0x168)](a){const l=a50i,b=a[Math[l(0x15d)](Math['random']()*a[l(0x15f)])];this[l(0x156)](b[l(0x14e)]);}['moveTo'](a){const m=a50i,b={'actor':this,'rooms':this[m(0x15b)],'scene':this[m(0x161)]},c=new GoCommand(b);c[m(0x155)]([a]);}}
@@ -1 +1 @@
1
- function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x14c;let f=c[d];return f;},a51d(a,b);}const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=-parseInt(f(0x1a4))/0x1+parseInt(f(0x190))/0x2*(parseInt(f(0x154))/0x3)+-parseInt(f(0x164))/0x4*(-parseInt(f(0x172))/0x5)+parseInt(f(0x16a))/0x6+-parseInt(f(0x15a))/0x7*(parseInt(f(0x19e))/0x8)+parseInt(f(0x18f))/0x9*(parseInt(f(0x1a0))/0xa)+-parseInt(f(0x17b))/0xb*(parseInt(f(0x15f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xbaea0));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(0x1a2)]()[g(0x188)](g(0x163))[g(0x1a2)]()['constructor'](a51a)['search'](g(0x163));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';function a51c(){const A=['log','weapon','legs','Weapon','290172YokdRP','You\x20can\x27t\x20equip\x20','Hat','equip','(((.+)+)+)+$','12140fsDHNE','weight','_equipment','\x20is\x20now\x20listening\x20in\x20room\x20','feet','You\x20don\x27t\x20have\x20','4578360LhwfPt','error','bind','boots','\x20to\x20player\x27s\x20inventory.','Failed\x20to\x20remove\x20','currentLocation','torso','745bUZgyu','playerName','body\x20armor','addItem','equipment','LegArmor','_currentLocation','_maxCarryingWeight','addInventory','902pUybZl','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','rightHand','hasItem','\x20in\x20your\x20inventory.','arms','inventory','determineEquipmentSlot','.\x20You\x20must\x20unequip\x20it\x20first.','leaveRoom','Max\x20carrying\x20weight\x20must\x20be\x20positive.','Added\x20','hear','search','arm\x20armor','initialEquipment','values','category','Nexus','enterRoom','9jGpDlI','83802afTtSW','leftHand','maxCarryingWeight','off','logger','unequipBySlot','Shield','Helmet','_playerName','unequip','head','name','\x20from\x20player\x27s\x20inventory.','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','208pjlFHU','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','11383150wvlFAG','legarmor','toString','speak','730726ODkQsx','toLowerCase','armarmor','inventoryItems','startLocation','\x20says:\x20\x22','removeInventory','_inventory','gloves','BodyArmor','96ZFVHrF','getInstance','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','write','includes','57953oQKjsy'];a51c=function(){return A;};return a51c();}export class Player extends AbstractPlayer{[a51h(0x198)];['_currentLocation'];[a51h(0x151)];['_equipment'];[a51h(0x179)]=0x32;[a51h(0x194)];constructor(a){const i=a51h;super(),this[i(0x198)]=a[i(0x173)],this[i(0x178)]=a[i(0x14e)]||new Room({'name':i(0x18d),'description':'A\x20featureless\x20room'}),this['_inventory']=new Inventory(),this[i(0x194)]=Logger[i(0x155)]();if(a?.[i(0x14d)])for(const b of a[i(0x14d)]){this[i(0x151)][i(0x175)](b);}this[i(0x166)]=a?.[i(0x18a)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0x19b)](){const j=a51h;return this[j(0x198)];}get['currentLocation'](){const k=a51h;return this[k(0x178)];}set[a51h(0x170)](a){const l=a51h;this[l(0x178)]!==a&&(this['leaveRoom'](),this[l(0x18e)](a)),this[l(0x178)]=a;}get[a51h(0x181)](){const m=a51h;return this[m(0x151)];}get['equipment'](){return this['_equipment'];}set[a51h(0x176)](a){const n=a51h;this[n(0x166)]=a;}get[a51h(0x192)](){return this['_maxCarryingWeight'];}set['maxCarryingWeight'](a){const o=a51h;a>0x0?this[o(0x179)]=a:console[o(0x16b)](o(0x185));}get['currentWeight'](){const p=a51h;let a=this[p(0x151)]['getWeight']();for(const b in this[p(0x166)]){const c=this[p(0x166)][b];c&&(a+=c[p(0x165)]);}return a;}[a51h(0x17a)](a){const q=a51h;if(this['currentWeight']+a['weight']>this[q(0x192)]){this[q(0x194)][q(0x158)](q(0x156));throw new Error(q(0x157));}this[q(0x151)]['addItem'](a),this[q(0x194)][q(0x158)](q(0x186)+a[q(0x19b)]+q(0x16e));}[a51h(0x150)](a){const r=a51h;if(this['_inventory']['removeItem'](a[r(0x19b)]))return this['logger'][r(0x158)]('Removed\x20'+a['name']+'\x20from\x20player\x27s\x20inventory.'),!![];return this[r(0x194)][r(0x158)](r(0x16f)+a[r(0x19b)]+r(0x19c)),![];}[a51h(0x162)](a){const s=a51h;if(!this['_inventory'][s(0x17e)](a['name']))return s(0x169)+a[s(0x19b)]+s(0x17f);if(!this['canEquip'](a))return s(0x160)+a['name']+'.';const b=this[s(0x182)](a[s(0x18c)]);if(!b)return a[s(0x19b)]+s(0x17c);if(this['equipment'][b])return s(0x19d)+b+s(0x183);return this[s(0x176)][b]=a,this[s(0x150)](a),'You\x20equipped\x20'+a[s(0x19b)]+'.';}[a51h(0x199)](a){const t=a51h;let b=a;if(!this[t(0x176)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[t(0x195)](b);}['determineEquipmentSlot'](a){const u=a51h;switch(a[u(0x1a5)]()){case Category[u(0x15e)][u(0x1a5)]():return'rightHand';case Category[u(0x196)][u(0x1a5)]():return u(0x191);case Category['Gloves'][u(0x1a5)]():return'gloves';case Category[u(0x197)][u(0x1a5)]():case Category[u(0x161)][u(0x1a5)]():return u(0x19a);case Category['Boots'][u(0x1a5)]():return u(0x168);case Category[u(0x177)][u(0x1a5)]():return u(0x15d);case Category['ArmArmor']['toLowerCase']():return u(0x180);case Category[u(0x153)][u(0x1a5)]():return u(0x171);case u(0x15c):return u(0x17d);case'shield':return u(0x191);case u(0x152):return u(0x152);case'helmet':case'hat':return u(0x19a);case u(0x16d):return'feet';case'leg\x20armor':case u(0x1a1):return'legs';case u(0x189):case u(0x14c):return u(0x180);case u(0x174):case'bodyarmor':case u(0x171):return u(0x171);default:return null;}}['canEquip'](a){const v=a51h;return Object[v(0x18b)](Category)[v(0x159)](a[v(0x18c)]);}[a51h(0x195)](a){const w=a51h,b=this['equipment'][a];if(!b)return w(0x19f)+a+'\x20slot.';return this[w(0x17a)](b),this[w(0x176)][a]=null,'You\x20unequipped\x20'+b[w(0x19b)]+'.';}[a51h(0x187)](a,b){const x=a51h;a!==this&&this[x(0x194)][x(0x15b)](a['name']+x(0x14f)+b+'\x22');}['enterRoom'](a){const y=a51h;this[y(0x178)]=a,a['on'](y(0x1a3),this[y(0x187)][y(0x16c)](this)),this[y(0x194)][y(0x158)](this[y(0x19b)]+y(0x167)+a[y(0x19b)]);}[a51h(0x184)](){const z=a51h;this['_currentLocation']&&(this['_currentLocation'][z(0x193)](z(0x1a3),this[z(0x187)]['bind'](this)),this['logger'][z(0x158)](this[z(0x19b)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[z(0x178)][z(0x19b)]));}}
1
+ const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x189))/0x1*(parseInt(f(0x1a0))/0x2)+-parseInt(f(0x178))/0x3*(parseInt(f(0x1b1))/0x4)+-parseInt(f(0x160))/0x5+-parseInt(f(0x1a1))/0x6+parseInt(f(0x16c))/0x7+parseInt(f(0x16d))/0x8*(-parseInt(f(0x15f))/0x9)+-parseInt(f(0x183))/0xa*(-parseInt(f(0x16b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xe8f25));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x159)]()[h(0x177)]('(((.+)+)+)+$')['toString']()['constructor'](a51a)[h(0x177)](h(0x190));});a51a();import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';function a51c(){const B=['equip','You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20','rightHand','Failed\x20to\x20remove\x20','You\x20can\x27t\x20equip\x20','Helmet','\x20from\x20player\x27s\x20inventory.','488948WrwWSu','1198164ryFkdJ','feet','weapon','unequipBySlot','_maxCarryingWeight','enterRoom','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','_playerName','You\x20unequipped\x20','speak','getInstance','off','log','logger','You\x20don\x27t\x20have\x20','error','13988uCrCNN','addInventory','weight','Gloves','addItem','torso','maxCarryingWeight','Max\x20carrying\x20weight\x20must\x20be\x20positive.','_currentLocation','toString','canEquip','head','gloves','legarmor','Weapon','117rZfgTt','9440510WGNXPg','leftHand','inventoryItems','category','\x20slot.','leaveRoom','currentWeight','Removed\x20','initialEquipment','startLocation','hear','14674JSiYMy','11290013vfZUzR','905088fIUIPC','helmet','ArmArmor','equipment','determineEquipmentSlot','_equipment','You\x20equipped\x20','name','getWeight','Shield','search','408SNjhJP','\x20in\x20your\x20inventory.','hasItem','unequip','hat','_inventory','bodyarmor','body\x20armor','Boots','currentLocation','\x20is\x20no\x20longer\x20listeng\x20in\x20','16140LiaiIo','leg\x20armor','write','A\x20featureless\x20room','apply','BodyArmor','5JJjDdq','boots','\x20is\x20now\x20listening\x20in\x20room\x20','.\x20You\x20must\x20unequip\x20it\x20first.','playerName','arms','removeInventory','(((.+)+)+)+$','bind','removeItem','includes','toLowerCase','legs','inventory','Nexus','armarmor'];a51c=function(){return B;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x152;let f=c[d];return f;},a51d(a,b);}export class Player extends AbstractPlayer{['_playerName'];[a51i(0x158)];[a51i(0x17d)];[a51i(0x172)];[a51i(0x1a5)]=0x32;[a51i(0x1ae)];constructor(a){const j=a51i;super(),this[j(0x1a8)]=a[j(0x18d)],this[j(0x158)]=a[j(0x169)]||new Room({'name':j(0x197),'description':j(0x186)}),this[j(0x17d)]=new Inventory(),this[j(0x1ae)]=Logger[j(0x1ab)]();if(a?.[j(0x162)])for(const b of a['inventoryItems']){this[j(0x17d)][j(0x154)](b);}this['_equipment']=a?.[j(0x168)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x174)](){const k=a51i;return this[k(0x1a8)];}get[a51i(0x181)](){return this['_currentLocation'];}set[a51i(0x181)](a){const l=a51i;this[l(0x158)]!==a&&(this[l(0x165)](),this[l(0x1a6)](a)),this[l(0x158)]=a;}get[a51i(0x196)](){const m=a51i;return this[m(0x17d)];}get[a51i(0x170)](){const n=a51i;return this[n(0x172)];}set[a51i(0x170)](a){this['_equipment']=a;}get[a51i(0x156)](){const o=a51i;return this[o(0x1a5)];}set[a51i(0x156)](a){const p=a51i;a>0x0?this[p(0x1a5)]=a:console[p(0x1b0)](p(0x157));}get[a51i(0x166)](){const q=a51i;let a=this[q(0x17d)][q(0x175)]();for(const b in this[q(0x172)]){const c=this['_equipment'][b];c&&(a+=c[q(0x152)]);}return a;}['addInventory'](a){const r=a51i;if(this[r(0x166)]+a[r(0x152)]>this['maxCarryingWeight']){this[r(0x1ae)][r(0x185)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error('The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.');}this['_inventory'][r(0x154)](a),this[r(0x1ae)][r(0x185)]('Added\x20'+a['name']+'\x20to\x20player\x27s\x20inventory.');}[a51i(0x18f)](a){const s=a51i;if(this[s(0x17d)][s(0x192)](a[s(0x174)]))return this[s(0x1ae)][s(0x185)](s(0x167)+a['name']+s(0x19f)),!![];return this['logger'][s(0x185)](s(0x19c)+a[s(0x174)]+s(0x19f)),![];}[a51i(0x199)](a){const t=a51i;if(!this['_inventory'][t(0x17a)](a[t(0x174)]))return t(0x1af)+a[t(0x174)]+t(0x179);if(!this['canEquip'](a))return t(0x19d)+a[t(0x174)]+'.';const b=this['determineEquipmentSlot'](a['category']);if(!b)return a['name']+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[t(0x170)][b])return t(0x19a)+b+t(0x18c);return this['equipment'][b]=a,this['removeInventory'](a),t(0x173)+a[t(0x174)]+'.';}[a51i(0x17b)](a){const u=a51i;let b=a;if(!this[u(0x170)][camelCase(b)]){b=this[u(0x171)](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[u(0x1a4)](b);}[a51i(0x171)](a){const v=a51i;switch(a['toLowerCase']()){case Category[v(0x15e)][v(0x194)]():return v(0x19b);case Category[v(0x176)][v(0x194)]():return v(0x161);case Category[v(0x153)][v(0x194)]():return v(0x15c);case Category[v(0x19e)]['toLowerCase']():case Category['Hat'][v(0x194)]():return v(0x15b);case Category[v(0x180)][v(0x194)]():return v(0x1a2);case Category['LegArmor'][v(0x194)]():return v(0x195);case Category[v(0x16f)][v(0x194)]():return v(0x18e);case Category[v(0x188)][v(0x194)]():return v(0x155);case v(0x1a3):return v(0x19b);case'shield':return'leftHand';case v(0x15c):return'gloves';case v(0x16e):case v(0x17c):return v(0x15b);case v(0x18a):return v(0x1a2);case v(0x184):case v(0x15d):return v(0x195);case'arm\x20armor':case v(0x198):return v(0x18e);case v(0x17f):case v(0x17e):case v(0x155):return v(0x155);default:return null;}}[a51i(0x15a)](a){const w=a51i;return Object['values'](Category)[w(0x193)](a[w(0x163)]);}['unequipBySlot'](a){const x=a51i,b=this['equipment'][a];if(!b)return x(0x1a7)+a+x(0x164);return this[x(0x1b2)](b),this[x(0x170)][a]=null,x(0x1a9)+b['name']+'.';}['hear'](a,b){const y=a51i;a!==this&&this[y(0x1ae)][y(0x1ad)](a[y(0x174)]+'\x20says:\x20\x22'+b+'\x22');}[a51i(0x1a6)](a){const z=a51i;this[z(0x158)]=a,a['on'](z(0x1aa),this[z(0x16a)][z(0x191)](this)),this[z(0x1ae)][z(0x185)](this[z(0x174)]+z(0x18b)+a[z(0x174)]);}[a51i(0x165)](){const A=a51i;this[A(0x158)]&&(this['_currentLocation'][A(0x1ac)](A(0x1aa),this[A(0x16a)]['bind'](this)),this[A(0x1ae)]['write'](this[A(0x174)]+A(0x182)+this[A(0x158)][A(0x174)]));}}
@@ -1 +1 @@
1
- var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x1be))/0x1*(parseInt(f(0x1ca))/0x2)+parseInt(f(0x1b2))/0x3*(parseInt(f(0x1b8))/0x4)+parseInt(f(0x1c0))/0x5*(parseInt(f(0x1ba))/0x6)+parseInt(f(0x1bb))/0x7+-parseInt(f(0x1cb))/0x8*(parseInt(f(0x1c1))/0x9)+-parseInt(f(0x1c6))/0xa+parseInt(f(0x1c8))/0xb*(parseInt(f(0x1c7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x38c5d));function a52c(){var n=['Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','toString','528mJHTbl','search','Puzzle:\x20Correct\x20solution\x20provided.','matchesRequiredPhrase','constructor','hasRequiredItem','3628dXaBes','requiredItem','258ZxMoWp','945840acKIrh','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','hasItem','18926daRsgE','(((.+)+)+)+$','15165LDzuDl','79803vTvPZQ','You\x20solved\x20the\x20puzzle!','failureMessage','solved','apply','3792850oFgNNF','4173900NlNrxW','22bfJXMZ','riddle','6tLvlLp','408wIZrdT','rewardItem','write','successMessage','requiredPhrase'];a52c=function(){return n;};return a52c();}function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1b1;var f=c[d];return f;},a52d(a,b);}var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1c5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1b1)]()['search'](h(0x1bf))[h(0x1b1)]()[h(0x1b6)](a52a)[h(0x1b3)](h(0x1bf));});a52a();import{Logger}from'../utilities/logger.js';import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{['logger']=Logger['getInstance']();['solved']=![];['requiredItem'];[a52i(0x1cf)];[a52i(0x1c9)];[a52i(0x1cc)];[a52i(0x1ce)];[a52i(0x1c3)];constructor(a){var j=a52i;super(),this[j(0x1b9)]=a['requiredItem'],this[j(0x1cf)]=a['requiredPhrase'],this[j(0x1c9)]=a[j(0x1c9)],this[j(0x1cc)]=a['rewardItem'],this['successMessage']=a[j(0x1ce)]||j(0x1c2),this['failureMessage']=a[j(0x1c3)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a52i(0x1b7)](a){var k=a52i;if(this[k(0x1b9)])return a[k(0x1bd)](this['requiredItem']);return![];}['matchesRequiredPhrase'](a){var l=a52i;return this[l(0x1cf)]===a;}['solve'](a,b){var m=a52i;if(this['solved'])return this['logger']['write'](m(0x1bc)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[m(0x1b7)](b)||this[m(0x1b5)](a)?(this[m(0x1c4)]=!![],this['logger'][m(0x1cd)](m(0x1b4)),{'success':!![],'message':this[m(0x1ce)]}):(this['logger'][m(0x1cd)](m(0x1d0)),{'success':![],'message':this[m(0x1c3)]});}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x1fd))/0x1+-parseInt(f(0x202))/0x2+-parseInt(f(0x1f7))/0x3+-parseInt(f(0x1f9))/0x4+parseInt(f(0x201))/0x5*(-parseInt(f(0x1eb))/0x6)+-parseInt(f(0x1f1))/0x7+parseInt(f(0x205))/0x8*(parseInt(f(0x1f4))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xcf5f1));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x204)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1f2)]()[h(0x200)](h(0x1ef))['toString']()[h(0x1ed)](a52a)[h(0x200)]('(((.+)+)+)+$');});function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x1e9;var f=c[d];return f;},a52d(a,b);}a52a();import{Logger}from'../utilities/logger.js';function a52c(){var n=['logger','successMessage','search','2790580TmDeqB','3033044DTNCDs','requiredItem','apply','8eFVpJI','write','solve','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','rewardItem','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','12HdpQYn','failureMessage','constructor','hasItem','(((.+)+)+)+$','riddle','1998759lVDpCD','toString','hasRequiredItem','36461511OqHqgp','getInstance','solved','1077204AeHvOn','You\x20solved\x20the\x20puzzle!','4913364dzpVJo','Puzzle:\x20Correct\x20solution\x20provided.','matchesRequiredPhrase','requiredPhrase','1303814mDjzQQ'];a52c=function(){return n;};return a52c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x1fe)]=Logger[a52i(0x1f5)]();[a52i(0x1f6)]=![];[a52i(0x203)];[a52i(0x1fc)];['riddle'];[a52i(0x209)];[a52i(0x1ff)];[a52i(0x1ec)];constructor(a){var j=a52i;super(),this[j(0x203)]=a['requiredItem'],this['requiredPhrase']=a[j(0x1fc)],this[j(0x1f0)]=a['riddle'],this[j(0x209)]=a[j(0x209)],this[j(0x1ff)]=a[j(0x1ff)]||j(0x1f8),this[j(0x1ec)]=a[j(0x1ec)]||j(0x208);}['hasRequiredItem'](a){var k=a52i;if(this[k(0x203)])return a[k(0x1ee)](this[k(0x203)]);return![];}[a52i(0x1fb)](a){var l=a52i;return this[l(0x1fc)]===a;}[a52i(0x207)](a,b){var m=a52i;if(this[m(0x1f6)])return this[m(0x1fe)][m(0x206)](m(0x1e9)),{'success':![],'message':'You\x20have\x20already\x20solved\x20this\x20puzzle.'};return this[m(0x1f3)](b)||this[m(0x1fb)](a)?(this[m(0x1f6)]=!![],this[m(0x1fe)][m(0x206)](m(0x1fa)),{'success':!![],'message':this[m(0x1ff)]}):(this['logger']['write'](m(0x1ea)),{'success':![],'message':this['failureMessage']});}}
@@ -1 +1 @@
1
- const a53h=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x1aa))/0x1*(-parseInt(f(0x1b0))/0x2)+-parseInt(f(0x1af))/0x3*(parseInt(f(0x1b7))/0x4)+parseInt(f(0x1d1))/0x5*(parseInt(f(0x1b9))/0x6)+-parseInt(f(0x1bc))/0x7*(-parseInt(f(0x199))/0x8)+parseInt(f(0x1c1))/0x9+-parseInt(f(0x1c6))/0xa+-parseInt(f(0x19c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x411c0));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[g(0x1b4)]()[g(0x1a9)](g(0x1b2))['toString']()[g(0x1c8)](a53a)[g(0x1a9)](g(0x1b2));});function a53c(){const s=['roomType','Invalid\x20direction:\x20','description','691812aeGUIY','setPuzzle','isStartRoom','WEST','Item\x20removed\x20from\x20room\x20','285140AcukdO','DOWN','constructor','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','Fetching\x20exit\x20in\x20direction:\x20','findExistingDoor','values','\x20is\x20locked.\x20Result:\x20','riddle','get','south','5bqwkPB','exits','getInstance','Item\x20added\x20to\x20room\x20','2930568FRNKhw','SOUTH','west','2185469UUKWwy','addItem','roomB','roomA','getExit','getOppositeDirection','EAST','removeItem','say','name','\x20remains\x20locked.','The\x20','set','search','68531eCOrve','hasItem','write','Puzzle\x20set\x20for\x20room\x20','puzzle','687bLWdHf','6fKVVIT','logger','(((.+)+)+)+$','checkIfLocked','toString','east','inventory','3656sdWdNn','Checking\x20if\x20exit\x20in\x20direction\x20','2793546xquCoH','\x20unlocked!','.\x20Success:\x20','7GmQHoM','Room\x20created:\x20'];a53c=function(){return s;};return a53c();}a53a();import{Logger}from'../utilities/logger.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x199;let f=c[d];return f;},a53d(a,b);}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(0x1b1)]=Logger[a53h(0x1d3)]();['name'];[a53h(0x1c0)];[a53h(0x1d2)]=new Map();[a53h(0x1be)];[a53h(0x1c3)];[a53h(0x1b6)]=new Inventory();constructor(a){const i=a53h;super(),this[i(0x1a5)]=a['name'],this[i(0x1c0)]=a['description'],this[i(0x1be)]=a[i(0x1be)]||RoomType['INSIDE'],a[i(0x1d2)]&&(this['exits']=a[i(0x1d2)]||new Map()),a[i(0x1b6)]&&(this[i(0x1b6)]=a[i(0x1b6)]),a['puzzle']&&(this[i(0x1ae)]=a[i(0x1ae)]),this['isStartRoom']=a[i(0x1c3)]||![],this[i(0x1b1)][i(0x1ac)](i(0x1bd)+this['name']);}[a53h(0x1a4)](a,b){this['emit']('speak',a,b);}['addExit'](a,b,c){const j=a53h;let d=this[j(0x1cb)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[j(0x1d2)]['set'](a,d),b[j(0x1d2)][j(0x1a8)](this[j(0x1a1)](a),d);}['attemptUnlockExit'](a,b){const k=a53h,c=this[k(0x1d2)][k(0x1cf)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[k(0x1b1)][k(0x1ac)]('Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20'+a+k(0x1bb)+d),d?k(0x1a7)+c[k(0x1a5)]+k(0x1ba):k(0x1a7)+c['name']+k(0x1a6);}return this[k(0x1b1)]['write']('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),'There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.';}[a53h(0x1a0)](a){const l=a53h;return this['logger']['write'](l(0x1ca)+a),this[l(0x1d2)][l(0x1cf)](a);}['isExitLocked'](a){const m=a53h,b=this[m(0x1d2)][m(0x1cf)](a),c=b instanceof Door&&b[m(0x1b3)]();return this[m(0x1b1)][m(0x1ac)](m(0x1b8)+a+m(0x1cd)+c),c;}[a53h(0x19d)](a){const n=a53h;this['inventory'][n(0x19d)](a),this[n(0x1b1)]['write'](n(0x1d4)+this[n(0x1a5)]+':\x20'+a[n(0x1a5)]);}[a53h(0x1a3)](a){const o=a53h;this['inventory'][o(0x1ab)](a['name'])?(this['inventory']['removeItem'](a[o(0x1a5)]),this['logger'][o(0x1ac)](o(0x1c5)+this[o(0x1a5)]+':\x20'+a['name'])):this['logger'][o(0x1ac)](o(0x1c9)+this[o(0x1a5)]+':\x20'+a['name']);}[a53h(0x1c2)](a){const p=a53h;this[p(0x1ae)]=a,this['logger']['write'](p(0x1ad)+this[p(0x1a5)]+':\x20'+a[p(0x1ce)]);}['getOppositeDirection'](a){const q=a53h;switch(a){case'north':return Direction[q(0x19a)];case q(0x1d0):return Direction['NORTH'];case q(0x1b5):return Direction[q(0x1c4)];case q(0x19b):return Direction[q(0x1a2)];case'up':return Direction[q(0x1c7)];case'down':return Direction['UP'];default:throw new Error(q(0x1bf)+a);}}[a53h(0x1cb)](a){const r=a53h;for(const b of this[r(0x1d2)][r(0x1cc)]()){if(b instanceof Door){if(b[r(0x19f)]===this&&b['roomB']===a||b[r(0x19e)]===this&&b['roomA']===a)return b;}}return undefined;}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=parseInt(f(0x153))/0x1+parseInt(f(0x180))/0x2+-parseInt(f(0x183))/0x3+parseInt(f(0x14f))/0x4+-parseInt(f(0x17b))/0x5+parseInt(f(0x151))/0x6*(-parseInt(f(0x16d))/0x7)+parseInt(f(0x16f))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xc0b68));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x14d;let f=c[d];return f;},a53d(a,b);}function a53c(){const u=['4801912UkUaJl','attemptUnlockExit','402hLBmvn','say','1411806gZOGRW','hasItem','Item\x20added\x20to\x20room\x20','getExit','down','\x20unlocked!','riddle','Invalid\x20direction:\x20','constructor','EAST','getOppositeDirection','INSIDE','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','SOUTH','toString','isExitLocked','search','Item\x20removed\x20from\x20room\x20','write','\x20remains\x20locked.','north','emit','Room\x20created:\x20','south','The\x20','inventory','157346AaTuJf','Checking\x20if\x20exit\x20in\x20direction\x20','2406432ZewmoO','puzzle','removeItem','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','name','apply','get','west','addItem','logger','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','NORTH','6535455bmvxAT','Puzzle\x20set\x20for\x20room\x20','exits','WEST','set','2742274sSCvLM','(((.+)+)+)+$','roomA','2045268XCXQjr','DOWN','isStartRoom','description','.\x20Success:\x20','checkIfLocked'];a53c=function(){return u;};return a53c();}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0x174)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x161)]()[h(0x163)](h(0x181))[h(0x161)]()[h(0x15b)](a53a)[h(0x163)](h(0x181));});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0x178)]=Logger['getInstance']();[a53i(0x173)];[a53i(0x186)];['exits']=new Map();['roomType'];[a53i(0x185)];['inventory']=new Inventory();constructor(a){const j=a53i;super(),this[j(0x173)]=a[j(0x173)],this[j(0x186)]=a[j(0x186)],this['roomType']=a['roomType']||RoomType[j(0x15e)],a[j(0x17d)]&&(this[j(0x17d)]=a[j(0x17d)]||new Map()),a[j(0x16c)]&&(this[j(0x16c)]=a[j(0x16c)]),a['puzzle']&&(this[j(0x170)]=a['puzzle']),this[j(0x185)]=a[j(0x185)]||![],this[j(0x178)]['write'](j(0x169)+this[j(0x173)]);}[a53i(0x152)](a,b){const k=a53i;this[k(0x168)]('speak',a,b);}['addExit'](a,b,c){const l=a53i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits'][l(0x17f)](a,d),b['exits']['set'](this['getOppositeDirection'](a),d);}[a53i(0x150)](a,b){const m=a53i,c=this['exits'][m(0x175)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0x178)][m(0x165)](m(0x179)+a+m(0x14d)+d),d?'The\x20'+c[m(0x173)]+m(0x158):m(0x16b)+c['name']+m(0x166);}return this['logger'][m(0x165)]('No\x20locked\x20exit\x20found\x20in\x20direction\x20'+a),m(0x172);}[a53i(0x156)](a){const n=a53i;return this[n(0x178)][n(0x165)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[n(0x17d)][n(0x175)](a);}[a53i(0x162)](a){const o=a53i,b=this[o(0x17d)][o(0x175)](a),c=b instanceof Door&&b[o(0x14e)]();return this['logger']['write'](o(0x16e)+a+'\x20is\x20locked.\x20Result:\x20'+c),c;}['addItem'](a){const p=a53i;this[p(0x16c)][p(0x177)](a),this[p(0x178)][p(0x165)](p(0x155)+this['name']+':\x20'+a['name']);}['removeItem'](a){const q=a53i;this[q(0x16c)][q(0x154)](a['name'])?(this[q(0x16c)][q(0x171)](a[q(0x173)]),this['logger'][q(0x165)](q(0x164)+this[q(0x173)]+':\x20'+a[q(0x173)])):this[q(0x178)][q(0x165)](q(0x15f)+this[q(0x173)]+':\x20'+a[q(0x173)]);}['setPuzzle'](a){const r=a53i;this[r(0x170)]=a,this['logger'][r(0x165)](r(0x17c)+this[r(0x173)]+':\x20'+a[r(0x159)]);}[a53i(0x15d)](a){const s=a53i;switch(a){case s(0x167):return Direction[s(0x160)];case s(0x16a):return Direction[s(0x17a)];case'east':return Direction[s(0x17e)];case s(0x176):return Direction[s(0x15c)];case'up':return Direction[s(0x184)];case s(0x157):return Direction['UP'];default:throw new Error(s(0x15a)+a);}}['findExistingDoor'](a){const t=a53i;for(const b of this[t(0x17d)]['values']()){if(b instanceof Door){if(b[t(0x182)]===this&&b['roomB']===a||b['roomB']===this&&b[t(0x182)]===a)return b;}}return undefined;}}
@@ -1 +1 @@
1
- const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x13f))/0x1*(-parseInt(i(0x132))/0x2)+-parseInt(i(0x128))/0x3*(-parseInt(i(0x143))/0x4)+parseInt(i(0x14d))/0x5*(-parseInt(i(0x118))/0x6)+-parseInt(i(0x149))/0x7*(-parseInt(i(0x126))/0x8)+parseInt(i(0x140))/0x9*(parseInt(i(0x11b))/0xa)+parseInt(i(0x12d))/0xb*(parseInt(i(0x112))/0xc)+parseInt(i(0x120))/0xd*(-parseInt(i(0x133))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xe442d));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x115)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x124)]()[k(0x137)]('(((.+)+)+)+$')[k(0x124)]()['constructor'](a54a)[k(0x137)](k(0x117));});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';function a54c(){const E=['targetRoom','write','74396uBolgY','setPuzzle','Failed\x20to\x20set\x20','createExitsFromConfig','875PLlTvg','getRooms','length','player','initialize','actors','\x20not\x20found\x20in\x20scene.','\x20is\x20now\x20in\x20room\x20','setCharacterLocation','set','hasOwnProperty','addItemToRoom','removeRoom','exits','rooms','values','180BGqeRw','addExit','Scene\x20initialized\x20with\x20rooms:\x20','apply','addRoom','(((.+)+)+)+$','35430SvWRNg','Room\x20\x22','get','70BMaEXX','addPuzzleToRoom','Added\x20room\x20to\x20scene:\x20','connectRooms','keyRequired','42906565ychPXZ','\x20already\x20exists\x20in\x20the\x20scene.','roomFactory','push','toString','Actor\x20with\x20name\x20','768DqZaWP','getCharacterLocation','652341kMEkBt','warn','currentLocation','Failed\x20to\x20add\x20puzzle.\x20Room\x20','name','521444BtbgIS','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','Added\x20item\x20','join','determineStartRoom','10ejHcud','14BQCejf','generateRoomsFromConfig','roomConfiguration','.\x20Room\x20','search','logger','getInstance','Failed\x20to\x20add\x20item\x20','\x22\x20does\x20not\x20exist.','No\x20actor\x20with\x20name\x20','keys','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','315259VoDEwW','1682811cfsNfV','addActor','from','12Wblfwm','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','characterLocations','has'];a54c=function(){return E;};return a54c();}function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x10c;let f=c[d];return f;},a54d(a,b);}export class Scene extends AbstractScene{[a54l(0x110)];[a54l(0x150)];['logger'];['actors'];[a54l(0x145)]=new Map();[a54l(0x122)];constructor(a){const m=a54l;super(),this[m(0x122)]=new RoomFactory(),this['player']=a[m(0x150)],this[m(0x110)]=this[m(0x134)](a[m(0x135)]),this[m(0x138)]=Logger[m(0x139)](),this[m(0x152)]=new Map(),this[m(0x14c)](a['roomConfiguration']),this[m(0x138)][m(0x148)](m(0x114)+Object[m(0x13d)](this[m(0x110)])[m(0x130)](',\x20'));}[a54l(0x151)](){const n=a54l;this['player'][n(0x12a)]=this[n(0x131)]();}[a54l(0x134)](a){const o=a54l;if(!this['roomFactory'])throw new Error('Room\x20Factory\x20was\x20not\x20correctly\x20initialized');const b={};for(const c of a){const d=this[o(0x122)]['createRoom'](c);b[c['name']]=d;}return b;}[a54l(0x14c)](a){const p=a54l;for(const b of a){const c=this[p(0x110)][b[p(0x12c)]];if(b['exits'])for(const d of b[p(0x10f)]){const e=d['direction']['toUpperCase'](),f=d[p(0x147)],g=d[p(0x11f)],h=this[p(0x110)][f];h&&c['addExit'](Direction[e],h,g);}}}[a54l(0x141)](a){const q=a54l;if(this[q(0x152)][q(0x146)](a[q(0x12c)]))throw new Error(q(0x125)+a[q(0x12c)]+q(0x121));this[q(0x152)][q(0x156)](a[q(0x12c)],a);}['removeActor'](a){const r=a54l;if(!this[r(0x152)][r(0x146)](a))throw new Error(r(0x13c)+a+'\x20found\x20in\x20the\x20scene.');this[r(0x152)]['delete'](a);}['getActor'](a){const s=a54l;return this[s(0x152)][s(0x11a)](a);}get['allActors'](){const t=a54l;return Array[t(0x142)](this[t(0x152)][t(0x111)]());}[a54l(0x116)](a){const u=a54l;this['rooms'][a[u(0x12c)]]=a,this['logger'][u(0x148)](u(0x11d)+a[u(0x12c)]);}[a54l(0x10e)](a){const v=a54l;return this[v(0x110)][a]?(delete this['rooms'][a],this[v(0x138)]['write']('Removed\x20room\x20from\x20scene:\x20'+a),!![]):(this[v(0x138)][v(0x148)](v(0x12e)+a),![]);}[a54l(0x10d)](a,b){const w=a54l,c=this['rooms'][b];c?(c['addItem'](a),this[w(0x138)][w(0x148)](w(0x12f)+a[w(0x12c)]+'\x20to\x20room\x20'+c[w(0x12c)])):this[w(0x138)][w(0x148)](w(0x13a)+a[w(0x12c)]+w(0x136)+b+w(0x153));}[a54l(0x11c)](a,b){const x=a54l,c=this['rooms'][b];c?(c[x(0x14a)](a),this[x(0x138)]['write']('Added\x20puzzle\x20to\x20room\x20'+c[x(0x12c)])):this[x(0x138)][x(0x148)](x(0x12b)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x155)](a,b){const y=a54l,c=this[y(0x110)][b];c?(this[y(0x145)][y(0x156)](a[y(0x12c)],c),this['logger'][y(0x148)](a[y(0x12c)]+y(0x154)+c['name'])):this[y(0x138)][y(0x148)](y(0x14b)+a['name']+'\x27s\x20location.\x20Room\x20'+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x127)](a){const z=a54l;return this[z(0x145)][z(0x11a)](a[z(0x12c)]);}[a54l(0x131)](){const A=a54l,a=[];for(const c in this[A(0x110)]){if(this['rooms'][A(0x10c)](c)){const d=this[A(0x110)][c];d['isStartRoom']&&a[A(0x123)](d);}}if(a[A(0x14f)]>0x1)throw new Error(A(0x144));if(a[A(0x14f)]===0x1)return a[0x0];const b=Object[A(0x13d)](this[A(0x110)]);if(b[A(0x14f)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[A(0x129)](A(0x13e)),this[A(0x110)][b[0x0]];}['getPlayer'](){const B=a54l;return this[B(0x150)];}[a54l(0x14e)](){const C=a54l;return this[C(0x110)];}[a54l(0x11e)](a,b,c,d){const D=a54l,e=this[D(0x110)][a],f=this['rooms'][c];if(!e)throw new Error(D(0x119)+a+D(0x13b));if(!f)throw new Error('Room\x20\x22'+c+D(0x13b));e[D(0x113)](b,f,d);}}
1
+ const a54k=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=-parseInt(i(0x123))/0x1*(parseInt(i(0x134))/0x2)+parseInt(i(0x146))/0x3+-parseInt(i(0x147))/0x4+parseInt(i(0x12c))/0x5+-parseInt(i(0x160))/0x6*(-parseInt(i(0x137))/0x7)+-parseInt(i(0x126))/0x8*(-parseInt(i(0x138))/0x9)+parseInt(i(0x15e))/0xa*(-parseInt(i(0x14f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xb2de1));const a54b=(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;};}()),a54a=a54b(this,function(){const j=a54d;return a54a['toString']()[j(0x131)]('(((.+)+)+)+$')['toString']()[j(0x15a)](a54a)['search'](j(0x11f));});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x11b;let f=c[d];return f;},a54d(a,b);}import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54k(0x13b)];['player'];[a54k(0x158)];[a54k(0x127)];[a54k(0x150)]=new Map();[a54k(0x139)];constructor(a){const l=a54k;super(),this[l(0x139)]=new RoomFactory(),this['player']=a[l(0x15d)],this[l(0x13b)]=this[l(0x12d)](a[l(0x151)]),this['logger']=Logger['getInstance'](),this[l(0x127)]=new Map(),this['createExitsFromConfig'](a['roomConfiguration']),this['logger'][l(0x130)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[l(0x129)](this[l(0x13b)])['join'](',\x20'));}[a54k(0x13d)](){const m=a54k;this[m(0x15d)][m(0x122)]=this[m(0x14b)]();}['generateRoomsFromConfig'](a){const n=a54k;if(!this['roomFactory'])throw new Error(n(0x13e));const b={};for(const c of a){const d=this[n(0x139)][n(0x133)](c);b[c['name']]=d;}return b;}['createExitsFromConfig'](a){const o=a54k;for(const b of a){const c=this[o(0x13b)][b[o(0x13c)]];if(b[o(0x157)])for(const d of b[o(0x157)]){const e=d['direction'][o(0x136)](),f=d[o(0x12b)],g=d['keyRequired'],h=this[o(0x13b)][f];h&&c['addExit'](Direction[e],h,g);}}}[a54k(0x161)](a){const p=a54k;if(this['actors'][p(0x140)](a[p(0x13c)]))throw new Error(p(0x125)+a[p(0x13c)]+'\x20already\x20exists\x20in\x20the\x20scene.');this['actors']['set'](a[p(0x13c)],a);}[a54k(0x132)](a){const q=a54k;if(!this[q(0x127)][q(0x140)](a))throw new Error(q(0x11e)+a+q(0x13a));this[q(0x127)][q(0x14c)](a);}['getActor'](a){const r=a54k;return this[r(0x127)][r(0x144)](a);}get['allActors'](){const s=a54k;return Array[s(0x11c)](this[s(0x127)]['values']());}[a54k(0x154)](a){const t=a54k;this[t(0x13b)][a['name']]=a,this[t(0x158)][t(0x130)]('Added\x20room\x20to\x20scene:\x20'+a[t(0x13c)]);}[a54k(0x124)](a){const u=a54k;return this[u(0x13b)][a]?(delete this[u(0x13b)][a],this[u(0x158)][u(0x130)](u(0x14e)+a),!![]):(this[u(0x158)]['write'](u(0x152)+a),![]);}[a54k(0x135)](a,b){const v=a54k,c=this[v(0x13b)][b];c?(c[v(0x121)](a),this[v(0x158)]['write']('Added\x20item\x20'+a[v(0x13c)]+v(0x143)+c['name'])):this[v(0x158)]['write'](v(0x12a)+a['name']+v(0x153)+b+v(0x145));}['addPuzzleToRoom'](a,b){const w=a54k,c=this[w(0x13b)][b];c?(c[w(0x155)](a),this['logger'][w(0x130)]('Added\x20puzzle\x20to\x20room\x20'+c[w(0x13c)])):this[w(0x158)][w(0x130)](w(0x15c)+b+'\x20not\x20found\x20in\x20scene.');}['setCharacterLocation'](a,b){const x=a54k,c=this[x(0x13b)][b];c?(this['characterLocations'][x(0x148)](a[x(0x13c)],c),this[x(0x158)]['write'](a[x(0x13c)]+x(0x128)+c[x(0x13c)])):this[x(0x158)][x(0x130)](x(0x15f)+a[x(0x13c)]+'\x27s\x20location.\x20Room\x20'+b+x(0x145));}[a54k(0x149)](a){const y=a54k;return this['characterLocations'][y(0x144)](a[y(0x13c)]);}[a54k(0x14b)](){const z=a54k,a=[];for(const c in this['rooms']){if(this[z(0x13b)][z(0x13f)](c)){const d=this['rooms'][c];d[z(0x11b)]&&a[z(0x12e)](d);}}if(a[z(0x142)]>0x1)throw new Error(z(0x15b));if(a[z(0x142)]===0x1)return a[0x0];const b=Object[z(0x129)](this[z(0x13b)]);if(b[z(0x142)]===0x0)throw new Error(z(0x141));return console['warn'](z(0x14a)),this[z(0x13b)][b[0x0]];}[a54k(0x120)](){return this['player'];}[a54k(0x159)](){const A=a54k;return this[A(0x13b)];}[a54k(0x12f)](a,b,c,d){const B=a54k,e=this['rooms'][a],f=this['rooms'][c];if(!e)throw new Error(B(0x156)+a+B(0x14d));if(!f)throw new Error(B(0x156)+c+B(0x14d));e[B(0x11d)](b,f,d);}}function a54c(){const C=['toUpperCase','385UPcgiU','5463gjbjsE','roomFactory','\x20found\x20in\x20the\x20scene.','rooms','name','initialize','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','hasOwnProperty','has','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','length','\x20to\x20room\x20','get','\x20not\x20found\x20in\x20scene.','3920943CaZtLj','3417716SgOpwW','set','getCharacterLocation','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','determineStartRoom','delete','\x22\x20does\x20not\x20exist.','Removed\x20room\x20from\x20scene:\x20','451PMIOLu','characterLocations','roomConfiguration','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','.\x20Room\x20','addRoom','setPuzzle','Room\x20\x22','exits','logger','getRooms','constructor','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','Failed\x20to\x20add\x20puzzle.\x20Room\x20','player','66440SxcmEl','Failed\x20to\x20set\x20','33822GGSwtm','addActor','isStartRoom','from','addExit','No\x20actor\x20with\x20name\x20','(((.+)+)+)+$','getPlayer','addItem','currentLocation','96350nKcIAi','removeRoom','Actor\x20with\x20name\x20','6088HDngyC','actors','\x20is\x20now\x20in\x20room\x20','keys','Failed\x20to\x20add\x20item\x20','targetRoom','2274905glposG','generateRoomsFromConfig','push','connectRooms','write','search','removeActor','createRoom','14oiCZPY','addItemToRoom'];a54c=function(){return C;};return a54c();}
@@ -1 +1 @@
1
- var a55s=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x1fc))/0x1*(-parseInt(f(0x217))/0x2)+-parseInt(f(0x201))/0x3+parseInt(f(0x225))/0x4+parseInt(f(0x1f4))/0x5*(-parseInt(f(0x202))/0x6)+parseInt(f(0x203))/0x7+parseInt(f(0x211))/0x8+-parseInt(f(0x205))/0x9*(parseInt(f(0x219))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x30b64));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x20d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a['toString']()[h(0x1fe)]('(((.+)+)+)+$')[h(0x214)]()[h(0x222)](a55a)[h(0x1fe)](h(0x207));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';function a55c(){var C=['Grey','Rectangle','toString','Common','LegArmor','6tmHtOG','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','160mRRmbX','Tiny','Book','Unknown\x20Author','A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','Blade','Short\x20Sword','Large','You\x20hold\x20the\x20','constructor','Boots','Metallic','417852uuWmOI','ArmArmor','Brown','Gold','Weapon','35ALyAMM','Holy\x20Grail','Rifle','\x20aloft,\x20feeling\x20its\x20immense\x20power.','use','pageCount','Key','Medium','22951MufNjW','Circle','search','name','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','579513tXBkOF','1146pNtNRV','2664627peLPuf','author','230247OVqpax','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','(((.+)+)+)+$','Smooth','BodyArmor','Small','publishDate','Yellow','apply','Sniper\x20Rifle','Legendary','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','1995064LuAhVH'];a55c=function(){return C;};return a55c();}export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size[i(0x1fb)],'category':Category['Unknown'],'shape':Shape[i(0x213)],'color':Color[i(0x20c)],'texture':Texture[i(0x208)],'rating':Rating[i(0x215)],'weight':0x1});}['use'](){return this['description'];}}export class Sword extends Item{constructor(a,b){var j=a55d;super({'name':a,'description':b,'size':Size[j(0x1fb)],'category':Category[j(0x229)],'shape':Shape['Blade'],'color':Color[j(0x212)],'texture':Texture[j(0x224)],'rating':Rating[j(0x215)],'weight':0x3});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1f4;var f=c[d];return f;},a55d(a,b);}export class Rifle extends Item{constructor(a,b){var k=a55d;super({'name':a,'description':b,'size':Size[k(0x220)],'category':Category['Weapon'],'shape':Shape[k(0x1f6)],'color':Color[k(0x227)],'texture':Texture[k(0x224)],'rating':Rating['Rare'],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var l=a55d;super({'name':a,'description':b,'size':Size[l(0x1fb)],'category':Category['Helmet'],'shape':Shape[l(0x1fd)],'color':Color[l(0x212)],'texture':Texture['Metallic'],'rating':Rating[l(0x215)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var m=a55d;super({'name':a,'description':b,'size':Size[m(0x220)],'category':Category[m(0x209)],'shape':Shape[m(0x213)],'color':Color[m(0x212)],'texture':Texture['Metallic'],'rating':Rating[m(0x215)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var n=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[n(0x216)],'shape':Shape[n(0x213)],'color':Color['Grey'],'texture':Texture[n(0x224)],'rating':Rating[n(0x215)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var o=a55d;super({'name':a,'description':b,'size':Size[o(0x1fb)],'category':Category[o(0x223)],'shape':Shape[o(0x1fd)],'color':Color['Brown'],'texture':Texture[o(0x208)],'rating':Rating[o(0x215)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var p=a55d;super({'name':a,'description':b,'size':Size['Small'],'category':Category['Gloves'],'shape':Shape[p(0x1fd)],'color':Color[p(0x227)],'texture':Texture[p(0x208)],'rating':Rating[p(0x215)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var q=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[q(0x226)],'shape':Shape[q(0x213)],'color':Color[q(0x212)],'texture':Texture['Metallic'],'rating':Rating[q(0x215)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var r=a55d;super({'name':a,'description':b,'size':Size[r(0x21a)],'category':Category[r(0x1fa)],'shape':Shape[r(0x213)],'color':Color[r(0x20c)],'texture':Texture[r(0x208)],'rating':Rating[r(0x215)],'weight':0x0});}[a55s(0x1f8)](){var t=a55s;return t(0x218);}}export class Weapon extends Item{constructor(a,b){var u=a55s;super({'name':a,'description':b,'size':Size[u(0x1fb)],'category':Category[u(0x229)],'shape':Shape[u(0x21e)],'color':Color[u(0x212)],'texture':Texture[u(0x224)],'rating':Rating[u(0x215)],'weight':0x3});}['use'](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class Book extends Item{['author'];['publishDate'];[a55s(0x1f9)];constructor(a,b='A\x20mysterious\x20book.',c=a55s(0x21c)){var v=a55s;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[v(0x21b)],'shape':Shape['Rectangle'],'color':Color[v(0x227)],'texture':Texture[v(0x208)],'rating':Rating[v(0x215)],'weight':0x1}),this[v(0x204)]=c,this[v(0x20b)]=new Date(),this[v(0x1f9)]=0x64;}[a55s(0x1f8)](){var w=a55s;return w(0x210);}}export class ShortSword extends Item{constructor(){var x=a55s;super({'name':x(0x21f),'description':x(0x200),'size':Size[x(0x1fb)],'category':Category[x(0x229)],'shape':Shape[x(0x21e)],'color':Color[x(0x212)],'texture':Texture['Metallic'],'rating':Rating[x(0x215)],'weight':0x3});}[a55s(0x1f8)](){var y=a55s;return y(0x206);}}export class SniperRifle extends Item{constructor(){var z=a55s;super({'name':z(0x20e),'description':'An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','size':Size[z(0x220)],'category':Category['Weapon'],'shape':Shape['Rifle'],'color':Color[z(0x227)],'texture':Texture[z(0x208)],'rating':Rating[z(0x215)],'weight':0x5});}['use'](){return'You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22';}}export class HolyGrail extends Item{constructor(){var A=a55s;super({'name':A(0x1f5),'description':A(0x21d),'size':Size[A(0x20a)],'category':Category['Cup'],'shape':Shape[A(0x1fd)],'color':Color[A(0x228)],'texture':Texture['Metallic'],'rating':Rating[A(0x20f)],'weight':0x1});}[a55s(0x1f8)](){var B=a55s;return B(0x221)+this[B(0x1ff)]+B(0x1f7);}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x20a))/0x1+parseInt(f(0x1fe))/0x2+-parseInt(f(0x1f9))/0x3+parseInt(f(0x224))/0x4*(-parseInt(f(0x219))/0x5)+parseInt(f(0x211))/0x6*(parseInt(f(0x214))/0x7)+parseInt(f(0x1f5))/0x8+-parseInt(f(0x220))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xd6e09));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(0x21a)]()['search'](g(0x1fa))['toString']()['constructor'](a55a)[g(0x205)](g(0x1fa));});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[h(0x20b)],'category':Category[h(0x1f4)],'shape':Shape[h(0x201)],'color':Color[h(0x1fb)],'texture':Texture[h(0x20e)],'rating':Rating[h(0x222)],'weight':0x1});}[a55i(0x226)](){return this['description'];}}export class Sword extends Item{constructor(a,b){var j=a55i;super({'name':a,'description':b,'size':Size[j(0x20b)],'category':Category['Weapon'],'shape':Shape[j(0x221)],'color':Color[j(0x212)],'texture':Texture['Metallic'],'rating':Rating[j(0x222)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var k=a55i;super({'name':a,'description':b,'size':Size[k(0x21b)],'category':Category[k(0x223)],'shape':Shape[k(0x200)],'color':Color['Brown'],'texture':Texture['Metallic'],'rating':Rating[k(0x20d)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var l=a55i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[l(0x208)],'shape':Shape[l(0x206)],'color':Color[l(0x212)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var m=a55i;super({'name':a,'description':b,'size':Size[m(0x21b)],'category':Category['BodyArmor'],'shape':Shape[m(0x201)],'color':Color[m(0x212)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var n=a55i;super({'name':a,'description':b,'size':Size[n(0x20b)],'category':Category[n(0x213)],'shape':Shape[n(0x201)],'color':Color[n(0x212)],'texture':Texture[n(0x209)],'rating':Rating['Common'],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var o=a55i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category['Boots'],'shape':Shape[o(0x206)],'color':Color['Brown'],'texture':Texture[o(0x20e)],'rating':Rating['Common'],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var p=a55i;super({'name':a,'description':b,'size':Size[p(0x1fd)],'category':Category[p(0x218)],'shape':Shape[p(0x206)],'color':Color[p(0x1f3)],'texture':Texture['Smooth'],'rating':Rating[p(0x222)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var q=a55i;super({'name':a,'description':b,'size':Size[q(0x20b)],'category':Category[q(0x210)],'shape':Shape[q(0x201)],'color':Color[q(0x212)],'texture':Texture[q(0x209)],'rating':Rating[q(0x222)],'weight':0x3});}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x1f3;var f=c[d];return f;},a55d(a,b);}export class Key extends Item{constructor(a,b){var r=a55i;super({'name':a,'description':b,'size':Size[r(0x21e)],'category':Category[r(0x225)],'shape':Shape[r(0x201)],'color':Color[r(0x1fb)],'texture':Texture[r(0x20e)],'rating':Rating['Common'],'weight':0x0});}[a55i(0x226)](){return'This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22';}}export class Weapon extends Item{constructor(a,b){var s=a55i;super({'name':a,'description':b,'size':Size[s(0x20b)],'category':Category['Weapon'],'shape':Shape[s(0x221)],'color':Color[s(0x212)],'texture':Texture[s(0x209)],'rating':Rating[s(0x222)],'weight':0x3});}['use'](){var t=a55i;return t(0x1ff);}}export class Book extends Item{[a55i(0x21f)];[a55i(0x203)];[a55i(0x1f7)];constructor(a,b=a55i(0x207),c=a55i(0x20c)){var u=a55i;super({'name':a,'description':b,'size':Size[u(0x20b)],'category':Category[u(0x204)],'shape':Shape[u(0x201)],'color':Color[u(0x1f3)],'texture':Texture[u(0x20e)],'rating':Rating[u(0x222)],'weight':0x1}),this[u(0x21f)]=c,this[u(0x203)]=new Date(),this[u(0x1f7)]=0x64;}[a55i(0x226)](){var v=a55i;return v(0x21c);}}function a55c(){var C=['1518070DQxGgV','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Rifle','Rectangle','\x20aloft,\x20feeling\x20its\x20immense\x20power.','publishDate','Book','search','Circle','A\x20mysterious\x20book.','Helmet','Metallic','225316lykRcf','Medium','Unknown\x20Author','Rare','Smooth','Short\x20Sword','ArmArmor','6jFPkRe','Grey','LegArmor','10998799pmbWZf','Cup','You\x20hold\x20the\x20','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Gloves','6540nvcbjM','toString','Large','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Gold','Tiny','author','5585886XFwHbk','Blade','Common','Weapon','1144yYrUiX','Key','use','Brown','Unknown','12073352QJwsSt','Holy\x20Grail','pageCount','name','5217798YizQJc','(((.+)+)+)+$','Yellow','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Small'];a55c=function(){return C;};return a55c();}export class ShortSword extends Item{constructor(){var w=a55i;super({'name':w(0x20f),'description':'A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','size':Size[w(0x20b)],'category':Category['Weapon'],'shape':Shape['Blade'],'color':Color['Grey'],'texture':Texture[w(0x209)],'rating':Rating[w(0x222)],'weight':0x3});}[a55i(0x226)](){var x=a55i;return x(0x1ff);}}export class SniperRifle extends Item{constructor(){var y=a55i;super({'name':'Sniper\x20Rifle','description':y(0x1fc),'size':Size['Large'],'category':Category[y(0x223)],'shape':Shape['Rifle'],'color':Color[y(0x1f3)],'texture':Texture[y(0x20e)],'rating':Rating[y(0x222)],'weight':0x5});}[a55i(0x226)](){var z=a55i;return z(0x217);}}export class HolyGrail extends Item{constructor(){var A=a55i;super({'name':A(0x1f6),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[A(0x1fd)],'category':Category[A(0x215)],'shape':Shape[A(0x206)],'color':Color[A(0x21d)],'texture':Texture['Metallic'],'rating':Rating['Legendary'],'weight':0x1});}[a55i(0x226)](){var B=a55i;return B(0x216)+this[B(0x1f8)]+B(0x202);}}