@maka/maka-cli 4.9.13 → 4.9.15

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 (155) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/patreon.js +1 -1
  84. package/bundle/obf/src/commands/proxy.js +1 -1
  85. package/bundle/obf/src/commands/reconfig.js +1 -1
  86. package/bundle/obf/src/commands/register.js +1 -1
  87. package/bundle/obf/src/commands/run/_index.js +1 -1
  88. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  89. package/bundle/obf/src/commands/run/run.command.js +1 -1
  90. package/bundle/obf/src/commands/set/_index.js +1 -1
  91. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/set/set.command.js +1 -1
  94. package/bundle/obf/src/commands/ssh.js +1 -1
  95. package/bundle/obf/src/commands/ssl.js +1 -1
  96. package/bundle/obf/src/commands/test.js +1 -1
  97. package/bundle/obf/src/commands/undo.js +1 -1
  98. package/bundle/obf/src/commands/version.js +1 -1
  99. package/bundle/obf/src/error.js +1 -1
  100. package/bundle/obf/src/exec.js +1 -1
  101. package/bundle/obf/src/generator.js +1 -1
  102. package/bundle/obf/src/generators/_index.js +1 -1
  103. package/bundle/obf/src/generators/api.js +1 -1
  104. package/bundle/obf/src/generators/collection.js +1 -1
  105. package/bundle/obf/src/generators/component.js +1 -1
  106. package/bundle/obf/src/generators/config.js +1 -1
  107. package/bundle/obf/src/generators/dbc.js +1 -1
  108. package/bundle/obf/src/generators/dockerfile.js +1 -1
  109. package/bundle/obf/src/generators/hook.js +1 -1
  110. package/bundle/obf/src/generators/kits/_index.js +1 -1
  111. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  112. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  113. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/kit.js +1 -1
  115. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  117. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  118. package/bundle/obf/src/generators/layout.js +1 -1
  119. package/bundle/obf/src/generators/maka.gen.js +1 -1
  120. package/bundle/obf/src/generators/methods.js +1 -1
  121. package/bundle/obf/src/generators/package.js +1 -1
  122. package/bundle/obf/src/generators/page.js +1 -1
  123. package/bundle/obf/src/generators/publish.js +1 -1
  124. package/bundle/obf/src/generators/route.js +1 -1
  125. package/bundle/obf/src/generators/service.js +1 -1
  126. package/bundle/obf/src/generators/services/_index.js +1 -1
  127. package/bundle/obf/src/generators/services/openssl.js +1 -1
  128. package/bundle/obf/src/generators/services/translation.js +1 -1
  129. package/bundle/obf/src/maka.js +1 -1
  130. package/bundle/obf/src/templates/meteor/api/api.js +6 -1
  131. package/bundle/obf/src/templates/meteor/api/api.js.ts +6 -1
  132. package/bundle/obf/src/templates/meteor/api/methods.js +5 -6
  133. package/bundle/obf/src/templates/meteor/api/methods.js.ts +5 -5
  134. package/bundle/obf/src/templates/meteor/api/register-api.js +2 -2
  135. package/bundle/obf/src/templates/meteor/api/register-api.js.ts +2 -2
  136. package/bundle/obf/src/tool.js +1 -1
  137. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  138. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  139. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  141. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  142. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  143. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/https/https.class.js +1 -1
  145. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  146. package/bundle/obf/src/tools/log/log.class.js +1 -1
  147. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/options/options.class.js +1 -1
  149. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  150. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  151. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  153. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  154. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  155. package/package.json +1 -1
@@ -1 +1 @@
1
- const a36i=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=-parseInt(g(0x18a))/0x1+-parseInt(g(0x1a4))/0x2*(-parseInt(g(0x194))/0x3)+parseInt(g(0x18b))/0x4+-parseInt(g(0x1a1))/0x5*(parseInt(g(0x19e))/0x6)+-parseInt(g(0x189))/0x7*(-parseInt(g(0x192))/0x8)+-parseInt(g(0x18f))/0x9+-parseInt(g(0x18d))/0xa*(-parseInt(g(0x196))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x6c473));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const h=a36d;return a36a[h(0x19b)]()['search'](h(0x187))[h(0x19b)]()['constructor'](a36a)[h(0x195)](h(0x187));});function a36c(){const l=['4361MZdHEF','152258sjixXG','626600fqvgRk','You\x20say:\x20\x22','5843990pnPnHg','length','1895292ErNvZP','allActors','say','16AWhfUD','description','1105161DgXtlP','search','11TwRnFX','Scene\x20is\x20missing\x20from\x20context.','context','join','log','toString','actor','An\x20error\x20occurred.','6UeHiMc','currentLocation','logger','1521645KXFgCG','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','name','2osbAsu','\x20says\x20to\x20',':\x20\x22','(((.+)+)+)+$','verb'];a36c=function(){return l;};return a36c();}a36a();function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x186;let f=c[d];return f;},a36d(a,b);}import{Command}from'./command.js';export class SayCommand extends Command{static [a36i(0x188)]=a36i(0x191);static [a36i(0x193)]=a36i(0x1a2);[a36i(0x198)];constructor(a){const j=a36i;super(a),this[j(0x198)]=a;}['execute'](a){const k=a36i;if(a[k(0x18e)]===0x0)return'What\x20do\x20you\x20want\x20to\x20say?';const b=a[k(0x199)]('\x20'),c=this['actor'],d=this[k(0x198)]['scene'];if(!d)return this['logger'][k(0x19a)](k(0x197)),k(0x19d);const e=d[k(0x190)]['filter'](f=>f[k(0x19f)]===c[k(0x19f)]);for(const f of e){this[k(0x1a0)][k(0x19a)](c[k(0x1a3)]+k(0x1a5)+f[k(0x1a3)]+k(0x186)+b+'\x22'),this[k(0x19c)][k(0x19f)]['say'](f,b);}return k(0x18c)+b+'\x22';}}
1
+ const a36j=a36d;(function(a,b){const g=a36d,c=a();while(!![]){try{const d=-parseInt(g(0x163))/0x1*(parseInt(g(0x173))/0x2)+-parseInt(g(0x17b))/0x3+-parseInt(g(0x170))/0x4*(parseInt(g(0x17d))/0x5)+-parseInt(g(0x166))/0x6*(-parseInt(g(0x177))/0x7)+-parseInt(g(0x176))/0x8*(parseInt(g(0x16b))/0x9)+-parseInt(g(0x17e))/0xa*(-parseInt(g(0x178))/0xb)+parseInt(g(0x184))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x71fa7));function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x163;let f=c[d];return f;},a36d(a,b);}const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a36d;if(c){const e=c[h(0x179)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const i=a36d;return a36a[i(0x183)]()['search']('(((.+)+)+)+$')[i(0x183)]()['constructor'](a36a)[i(0x16c)](i(0x16d));});function a36c(){const m=['filter','context','2cdMbYQ','say','join','236184RLSlRP','489293fUmVdb','22yktAHl','apply','logger','575490WIpDeN','Broadcast\x20a\x20message\x20to\x20everyone\x20in\x20the\x20current\x20room.','745DFLneX','1208170aKSEJL','description','Scene\x20is\x20missing\x20from\x20context.','name','What\x20do\x20you\x20want\x20to\x20say?','toString','16528044RspcaO','531718WFlQWt','actor','You\x20say:\x20\x22','42PPmDwV','log','execute','currentLocation','\x20says\x20to\x20','9XpZaxG','search','(((.+)+)+)+$',':\x20\x22','allActors','23848gNeuiG'];a36c=function(){return m;};return a36c();}a36a();import{Command}from'./command.js';export class SayCommand extends Command{static ['verb']=a36j(0x174);static [a36j(0x17f)]=a36j(0x17c);[a36j(0x172)];constructor(a){const k=a36j;super(a),this[k(0x172)]=a;}[a36j(0x168)](a){const l=a36j;if(a['length']===0x0)return l(0x182);const b=a[l(0x175)]('\x20'),c=this[l(0x164)],d=this['context']['scene'];if(!d)return this[l(0x17a)][l(0x167)](l(0x180)),'An\x20error\x20occurred.';const e=d[l(0x16f)][l(0x171)](f=>f['currentLocation']===c[l(0x169)]);for(const f of e){this['logger'][l(0x167)](c['name']+l(0x16a)+f[l(0x181)]+l(0x16e)+b+'\x22'),this['actor'][l(0x169)]['say'](f,b);}return l(0x165)+b+'\x22';}}
@@ -1 +1 @@
1
- function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x95;let f=c[d];return f;},a37d(a,b);}const a37i=a37d;function a37c(){const k=['SearchCommand:\x20','constructor','336tqKTwR','execute','verb','actor','4369244VQTYES','2heusts','toString','\x20found\x20the\x20following\x20items:\x20','13334312pYeKIY','You\x20search\x20the\x20area\x20and\x20find:\x20','774020lDAqCo','110958fYgjay','inventory','Search\x20for\x20items\x20in\x20your\x20area','description','4350855UAURUH','name','apply','233392kdBhwr','write','search','currentLocation','(((.+)+)+)+$','17390727aTZXmz','logger'];a37c=function(){return k;};return a37c();}(function(a,b){const f=a37d,c=a();while(!![]){try{const d=parseInt(f(0xa2))/0x1*(-parseInt(f(0x95))/0x2)+parseInt(f(0x9f))/0x3+-parseInt(f(0xaf))/0x4+parseInt(f(0x9a))/0x5+parseInt(f(0x9b))/0x6*(parseInt(f(0xab))/0x7)+parseInt(f(0x98))/0x8+-parseInt(f(0xa7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xdc1a0));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0x96)]()[h(0xa4)](h(0xa6))['toString']()[h(0xaa)](a37a)['search'](h(0xa6));});a37a();import{Command}from'./command.js';export class SearchCommand extends Command{static [a37i(0xad)]=a37i(0xa4);static [a37i(0x9e)]=a37i(0x9d);[a37i(0xac)](){const j=a37i,a=this[j(0xae)][j(0xa5)][j(0x9c)]['listItems']();if(a['length']===0x0)return this['logger'][j(0xa3)](j(0xa9)+this[j(0xae)]['name']+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a['join'](',\x20');return this[j(0xa8)]['write'](j(0xa9)+this['actor'][j(0xa0)]+j(0x97)+b),j(0x99)+b;}}
1
+ const a37i=a37d;(function(a,b){const f=a37d,c=a();while(!![]){try{const d=-parseInt(f(0xec))/0x1*(parseInt(f(0xea))/0x2)+parseInt(f(0xdc))/0x3+parseInt(f(0xda))/0x4+-parseInt(f(0xe4))/0x5*(-parseInt(f(0xe1))/0x6)+-parseInt(f(0xef))/0x7*(-parseInt(f(0xdd))/0x8)+parseInt(f(0xdf))/0x9*(-parseInt(f(0xe8))/0xa)+-parseInt(f(0xf1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x5f1c9));function a37c(){const k=['8725783bjuFqn','name','toString','2073840BxAqed','length','1697718SLyHae','8nVwpFJ','constructor','549UhUmAX','currentLocation','6rrkCxj','listItems','search','3564425byfwQZ','write','apply','verb','115490JloGjr','SearchCommand:\x20','3594qTKDpj','execute','154QZwpIg','(((.+)+)+)+$','actor','2567642dRqbWf','Search\x20for\x20items\x20in\x20your\x20area'];a37c=function(){return k;};return a37c();}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a37d;if(c){const e=c[g(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const h=a37d;return a37a[h(0xd9)]()[h(0xe3)]('(((.+)+)+)+$')[h(0xd9)]()[h(0xde)](a37a)['search'](h(0xed));});a37a();import{Command}from'./command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xd8;let f=c[d];return f;},a37d(a,b);}export class SearchCommand extends Command{static [a37i(0xe7)]=a37i(0xe3);static ['description']=a37i(0xf0);[a37i(0xeb)](){const j=a37i,a=this['actor'][j(0xe0)]['inventory'][j(0xe2)]();if(a[j(0xdb)]===0x0)return this['logger'][j(0xe5)](j(0xe9)+this[j(0xee)][j(0xd8)]+'\x20searched\x20the\x20room\x20but\x20found\x20nothing.'),'You\x20search\x20the\x20area\x20thoroughly,\x20but\x20don\x27t\x20find\x20anything\x20of\x20interest.';const b=a['join'](',\x20');return this['logger'][j(0xe5)](j(0xe9)+this[j(0xee)][j(0xd8)]+'\x20found\x20the\x20following\x20items:\x20'+b),'You\x20search\x20the\x20area\x20and\x20find:\x20'+b;}}
@@ -1 +1 @@
1
- const a38h=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0x87))/0x1+-parseInt(f(0x7a))/0x2+-parseInt(f(0x7b))/0x3*(parseInt(f(0x80))/0x4)+parseInt(f(0x81))/0x5+-parseInt(f(0x7f))/0x6*(parseInt(f(0x70))/0x7)+-parseInt(f(0x7e))/0x8+parseInt(f(0x86))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x62d36));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const g=a38d;return a38a[g(0x72)]()[g(0x83)](g(0x6e))['toString']()[g(0x6f)](a38a)['search'](g(0x6e));});a38a();function a38c(){const j=['message','logger','puzzle','Attempt\x20to\x20solve\x20a\x20puzzle.','inventory','actor','toLowerCase','794252fjeZfy','13503FBAJyW','rewardItem','addItem','106472jksDjX','2460066nQxAVj','68mgfdWK','661650psHviL','SolveCommand:\x20','search','verb','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','10994940TOlhRm','52237rGqiBI','success','(((.+)+)+)+$','constructor','7UBfUuV','execute','toString'];a38c=function(){return j;};return a38c();}import{Command}from'./command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x6e;let f=c[d];return f;},a38d(a,b);}export class SolveCommand extends Command{static [a38h(0x84)]='solve';static ['description']=a38h(0x76);[a38h(0x71)](a){const i=a38h,b=a['join']('\x20')[i(0x79)](),c=this[i(0x78)]['currentLocation'];if(!c||!c[i(0x75)])return this[i(0x74)]['write'](i(0x85)),'There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.';const d=c[i(0x75)]['solve'](b,this[i(0x78)][i(0x77)]);return d[i(0x88)]&&c[i(0x75)][i(0x7c)]&&this[i(0x78)][i(0x77)][i(0x7d)](c[i(0x75)][i(0x7c)]),this['logger']['write'](i(0x82)+d[i(0x73)]),d['message'];}}
1
+ const a38i=a38d;(function(a,b){const f=a38d,c=a();while(!![]){try{const d=-parseInt(f(0xbe))/0x1*(-parseInt(f(0xc2))/0x2)+-parseInt(f(0xdb))/0x3*(-parseInt(f(0xc6))/0x4)+-parseInt(f(0xda))/0x5+-parseInt(f(0xcc))/0x6+parseInt(f(0xbf))/0x7+-parseInt(f(0xd0))/0x8*(parseInt(f(0xd9))/0x9)+parseInt(f(0xc1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x1a817));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a38d;if(c){const e=c[g(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const h=a38d;return a38a[h(0xd3)]()[h(0xcf)]('(((.+)+)+)+$')[h(0xd3)]()[h(0xd6)](a38a)[h(0xcf)]('(((.+)+)+)+$');});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xbe;let f=c[d];return f;},a38d(a,b);}function a38c(){const k=['1754217nsKuix','693265AeemDD','56115WXNUTv','163XHYnbE','617295CXFgZQ','rewardItem','2005920TruInj','1852sGLEaZ','addItem','toLowerCase','currentLocation','28trmcIS','puzzle','There\x20doesn\x27t\x20seem\x20to\x20be\x20a\x20riddle\x20here\x20to\x20solve.','solve','Attempt\x20to\x20solve\x20a\x20puzzle.','inventory','771102FSnAjY','actor','verb','search','8dEiRvA','message','execute','toString','join','SolveCommand:\x20${this.actor.name}\x20attempt\x20to\x20solve\x20a\x20riddle\x20in\x20a\x20room\x20with\x20no\x20puzzle.','constructor','write','apply'];a38c=function(){return k;};return a38c();}import{Command}from'./command.js';export class SolveCommand extends Command{static [a38i(0xce)]=a38i(0xc9);static ['description']=a38i(0xca);[a38i(0xd2)](a){const j=a38i,b=a[j(0xd4)]('\x20')[j(0xc4)](),c=this['actor'][j(0xc5)];if(!c||!c[j(0xc7)])return this['logger'][j(0xd7)](j(0xd5)),j(0xc8);const d=c[j(0xc7)]['solve'](b,this['actor'][j(0xcb)]);return d['success']&&c[j(0xc7)]['rewardItem']&&this[j(0xcd)][j(0xcb)][j(0xc3)](c[j(0xc7)][j(0xc0)]),this['logger'][j(0xd7)]('SolveCommand:\x20'+d[j(0xd1)]),d[j(0xd1)];}}
@@ -1 +1 @@
1
- function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a39d(a,b);}const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x21e))/0x1+-parseInt(f(0x216))/0x2*(parseInt(f(0x1f4))/0x3)+parseInt(f(0x1f6))/0x4*(parseInt(f(0x204))/0x5)+-parseInt(f(0x20b))/0x6*(-parseInt(f(0x20d))/0x7)+parseInt(f(0x211))/0x8*(parseInt(f(0x21c))/0x9)+-parseInt(f(0x1f7))/0xa*(parseInt(f(0x1fb))/0xb)+parseInt(f(0x1f5))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xaecd1));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(0x214)]()[g(0x1f8)](g(0x1ff))['toString']()[g(0x21d)](a39a)[g(0x1f8)]('(((.+)+)+)+$');});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39h(0x217)]=a39h(0x20a);static ['description']=a39h(0x215);['execute'](a){const i=a39h;return this[i(0x20f)]['write'](i(0x203)+a[i(0x207)]('\x20')),this[i(0x20a)](a);}['take'](a){const j=a39h,b=a[j(0x207)]('\x20')[j(0x1fe)](),c=this[j(0x21b)][j(0x20c)];if(!c[j(0x201)][j(0x1f0)](b))return this[j(0x20f)][j(0x1f2)](j(0x208)+b+'\x22\x20not\x20found\x20in\x20'+c[j(0x205)]+j(0x1fd)),j(0x1fa)+b+j(0x20e);const d=c[j(0x201)][j(0x212)](b);if(!d)return this[j(0x20f)][j(0x1f2)](j(0x208)+b+j(0x200)+c['name']+j(0x1fc)),j(0x1fa)+b+j(0x20e);try{return this[j(0x21b)][j(0x202)](d),this[j(0x20f)][j(0x1f2)](j(0x1f3)+b+j(0x218)+this[j(0x21b)][j(0x205)]+j(0x209)),c[j(0x201)][j(0x1f1)](b),this[j(0x20f)][j(0x1f2)](j(0x213)+b+j(0x21a)+c[j(0x205)]+j(0x1fc)),j(0x1f9)+b+'.';}catch(e){return this[j(0x20f)][j(0x1f2)](j(0x206)+e[j(0x210)]),'The\x20item\x20\x22'+b+j(0x219);}}}function a39c(){const k=['join','Item\x20\x22','\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','take','7162326zspFeg','currentLocation','7MMPqTA','\x22\x20in\x20this\x20room.','logger','message','212720cDCkhP','getItem','Successfully\x20removed\x20\x22','toString','Pick\x20up\x20an\x20item.','6unQZiJ','verb','\x22\x20to\x20','\x22\x20is\x20too\x20heavy\x20to\x20carry.','\x22\x20from\x20','actor','117xypGGz','constructor','204349vfchRm','hasItem','removeItem','write','Successfully\x20added\x20\x22','149595XSjNYj','6321864rAZPge','224888lIPzEy','40YQjpOG','search','You\x20have\x20taken\x20the\x20','There\x20is\x20no\x20item\x20\x22','3358223rhoETz','\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','\x20during\x20\x27Take\x27\x20command.','toLowerCase','(((.+)+)+)+$','\x22\x20not\x20retrieved\x20from\x20','inventory','addInventory','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','20PiSsnr','name','Error\x20during\x20\x27Take\x27\x20command:\x20'];a39c=function(){return k;};return a39c();}
1
+ const a39h=a39d;(function(a,b){const f=a39d,c=a();while(!![]){try{const d=-parseInt(f(0x17e))/0x1*(-parseInt(f(0x16a))/0x2)+parseInt(f(0x180))/0x3+parseInt(f(0x181))/0x4+-parseInt(f(0x15e))/0x5+parseInt(f(0x161))/0x6*(parseInt(f(0x175))/0x7)+parseInt(f(0x164))/0x8*(-parseInt(f(0x17d))/0x9)+-parseInt(f(0x171))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x4b37a));function a39c(){const k=['\x20room\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.','description','constructor','56063ZhKWeC','Successfully\x20added\x20\x22','verb','\x22\x20is\x20too\x20heavy\x20to\x20carry.','addInventory','\x22\x20in\x20this\x20room.','Item\x20\x22','write','2580183VBjHGk','78938ZlBSlR','toLowerCase','1425723atQXSQ','2213756FAqXMu','message','\x22\x20not\x20retrieved\x20from\x20','search','name','join','toString','1762810BGBbYB','Error\x20during\x20\x27Take\x27\x20command:\x20','actor','78XfeNYX','Pick\x20up\x20an\x20item.','removeItem','16zuTUpA','inventory','execute','\x22\x20from\x20','The\x20item\x20\x22','(((.+)+)+)+$','12eeaglF','getItem','There\x20is\x20no\x20item\x20\x22','take','logger','Successfully\x20removed\x20\x22','Attempting\x20\x27Take\x27\x20command\x20with\x20item:\x20','3723990XmQwGQ'];a39c=function(){return k;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x15c;let f=c[d];return f;},a39d(a,b);}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(0x15d)]()[g(0x184)]('(((.+)+)+)+$')['toString']()[g(0x174)](a39a)['search'](g(0x169));});a39a();import{Command}from'./command.js';export class TakeCommand extends Command{static [a39h(0x177)]='take';static [a39h(0x173)]=a39h(0x162);[a39h(0x166)](a){const i=a39h;return this[i(0x16e)][i(0x17c)](i(0x170)+a[i(0x15c)]('\x20')),this[i(0x16d)](a);}[a39h(0x16d)](a){const j=a39h,b=a[j(0x15c)]('\x20')[j(0x17f)](),c=this[j(0x160)]['currentLocation'];if(!c[j(0x165)]['hasItem'](b))return this['logger'][j(0x17c)](j(0x17b)+b+'\x22\x20not\x20found\x20in\x20'+c['name']+'\x20during\x20\x27Take\x27\x20command.'),'There\x20is\x20no\x20item\x20\x22'+b+j(0x17a);const d=c[j(0x165)][j(0x16b)](b);if(!d)return this[j(0x16e)][j(0x17c)]('Item\x20\x22'+b+j(0x183)+c['name']+j(0x172)),j(0x16c)+b+j(0x17a);try{return this[j(0x160)][j(0x179)](d),this[j(0x16e)][j(0x17c)](j(0x176)+b+'\x22\x20to\x20'+this[j(0x160)][j(0x185)]+'\x27s\x20inventory\x20during\x20\x27Take\x27\x20command.'),c[j(0x165)][j(0x163)](b),this[j(0x16e)][j(0x17c)](j(0x16f)+b+j(0x167)+c[j(0x185)]+j(0x172)),'You\x20have\x20taken\x20the\x20'+b+'.';}catch(e){return this['logger'][j(0x17c)](j(0x15f)+e[j(0x182)]),j(0x168)+b+j(0x178);}}}
@@ -1 +1 @@
1
- const a40i=a40d;function a40c(){const k=['6PIZnhR','8067942mcfbAR','4098864ZzbsVa','1546lrSOrZ','apply','2119YdFYiI','actor','UnequipCommand:\x20','2756250muZCXr','109640BqMETn','constructor','unequip','write','toString','3096856VBfxpo','join','logger','search','(((.+)+)+)+$','toLowerCase','unqeuip','Unequip\x20an\x20item.','\x20unqeuiped\x20','3175892nGJiLV'];a40c=function(){return k;};return a40c();}(function(a,b){const f=a40d,c=a();while(!![]){try{const d=-parseInt(f(0xd8))/0x1*(-parseInt(f(0xd6))/0x2)+-parseInt(f(0xd3))/0x3*(parseInt(f(0xd2))/0x4)+parseInt(f(0xc3))/0x5+parseInt(f(0xd5))/0x6+parseInt(f(0xc9))/0x7+parseInt(f(0xc4))/0x8+-parseInt(f(0xd4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xce14e));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0xc3;let f=c[d];return f;},a40d(a,b);}const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0xc8)]()[h(0xcc)](h(0xcd))[h(0xc8)]()[h(0xc5)](a40a)['search'](h(0xcd));});a40a();import{Command}from'./command.js';export class UnequipCommand extends Command{static ['verb']=a40i(0xcf);static ['description']=a40i(0xd0);['execute'](a){const j=a40i,b=a[j(0xca)]('\x20')[j(0xce)](),c=this['actor'][j(0xc6)](b);return this[j(0xcb)][j(0xc7)](j(0xda)+this[j(0xd9)]['name']+j(0xd1)+c),c;}}
1
+ function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x1a8;let f=c[d];return f;},a40d(a,b);}const a40i=a40d;(function(a,b){const f=a40d,c=a();while(!![]){try{const d=parseInt(f(0x1b9))/0x1+parseInt(f(0x1a8))/0x2*(parseInt(f(0x1ae))/0x3)+-parseInt(f(0x1ad))/0x4+-parseInt(f(0x1b4))/0x5*(parseInt(f(0x1b6))/0x6)+-parseInt(f(0x1b7))/0x7+parseInt(f(0x1aa))/0x8+-parseInt(f(0x1bc))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x9aa07));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a40d;if(c){const e=c[g(0x1b2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const h=a40d;return a40a[h(0x1af)]()['search'](h(0x1b3))['toString']()[h(0x1ba)](a40a)['search'](h(0x1b3));});a40a();function a40c(){const k=['2660658cpchuG','description','1096795JFdSen','constructor','unequip','6740784Alkfok','20108qpauqR','UnequipCommand:\x20','6030072GhgaOF','join','actor','4692492vqGvKq','366ezxKzu','toString','name','verb','apply','(((.+)+)+)+$','5LSboZM','unqeuip','849588hNlUxR'];a40c=function(){return k;};return a40c();}import{Command}from'./command.js';export class UnequipCommand extends Command{static [a40i(0x1b1)]=a40i(0x1b5);static [a40i(0x1b8)]='Unequip\x20an\x20item.';['execute'](a){const j=a40i,b=a[j(0x1ab)]('\x20')['toLowerCase'](),c=this[j(0x1ac)][j(0x1bb)](b);return this['logger']['write'](j(0x1a9)+this[j(0x1ac)][j(0x1b0)]+'\x20unqeuiped\x20'+c),c;}}
@@ -1 +1 @@
1
- const a41k=a41d;function a41c(){const n=['\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','unlockItemOrSolution','\x20is\x20not\x20a\x20valid\x20exit\x20in\x20','7732980KVQvjS','execute','inventory','10024StsBdQ','toLowerCase','has','Unlock\x20a\x20door.','attemptUnlockExit','description','constructor','834KkEZtV','915463owwQfO','\x20is\x20attempted\x20to\x20unlock\x20','actor','toString','\x22\x20here.','Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.','length','3245598dCuSLq','search','get','verb','hasItem','UnlockCommand:\x20','You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.','3870496COffRq','5028416gSPYMb','unlock','2298212xTNDoO','name','currentLocation','error','logger','apply','write'];a41c=function(){return n;};return a41c();}(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x103))/0x1+-parseInt(h(0xee))/0x2+parseInt(h(0xe4))/0x3+-parseInt(h(0xeb))/0x4+parseInt(h(0xf8))/0x5+parseInt(h(0x102))/0x6*(parseInt(h(0xfb))/0x7)+-parseInt(h(0xec))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xf393b));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xe2;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(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a['toString']()[j(0xe5)]('(((.+)+)+)+$')[j(0x106)]()[j(0x101)](a41a)[j(0xe5)]('(((.+)+)+)+$');});a41a();import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0xe7)]=a41k(0xed);static [a41k(0x100)]=a41k(0xfe);[a41k(0xf9)](a){const l=a41k;return this[l(0xed)](a);}['unlock'](a){const m=a41k;if(a[m(0xe3)]===0x0)return this['logger'][m(0xf1)]('UnlockCommand:\x20No\x20target\x20specified.'),m(0xe2);const b=a[0x0][m(0xfc)](),c=this[m(0x105)][m(0xf0)];if(this['isValidDirection'](b)&&c['exits'][m(0xfd)](b)){const d=c['exits'][m(0xe6)](b);if(d instanceof Door){const e=d[m(0xf6)]?.['toLowerCase']();if(e&&this[m(0x105)][m(0xfa)][m(0xe8)](e)){const f=this[m(0x105)][m(0xfa)]['getItem'](e);if(f){const g=c[m(0xff)](b,f[m(0xef)]);return this['logger'][m(0xf4)](m(0xe9)+this[m(0x105)][m(0xef)]+m(0x104)+b+'.\x20Result:\x20'+g),g;}}return this[m(0xf2)][m(0xf4)](m(0xe9)+this[m(0x105)][m(0xef)]+m(0xf5)+b+'.'),m(0xea);}else return this[m(0xf2)][m(0xf4)](m(0xe9)+b+m(0xf7)+c[m(0xef)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x107);}else return this[m(0xf2)][m(0xf4)](m(0xe9)+b+m(0xf7)+c[m(0xef)]+'.'),'There\x27s\x20no\x20door\x20named\x20\x22'+b+m(0x107);}}
1
+ function a41c(){const n=['UnlockCommand:\x20','getItem','unlockItemOrSolution','error','UnlockCommand:\x20No\x20target\x20specified.','1202994zsgBVj','execute','13595vgjTnV','actor','7713hSXCGJ','560pRmUtg','2rmmKHo','hasItem','verb','write','1544124EymzrX','\x20does\x20not\x20have\x20the\x20necessary\x20key\x20for\x20','unlock','has','\x22\x20here.','toString','logger','Unlock\x20a\x20door.','get','118286bkmAFM','1208Pmnuqb','constructor','.\x20Result:\x20','(((.+)+)+)+$','attemptUnlockExit','search','\x20is\x20attempted\x20to\x20unlock\x20','6679780MFYlnV','29115etwSrK','name','apply','toLowerCase','There\x27s\x20no\x20door\x20named\x20\x22'];a41c=function(){return n;};return a41c();}const a41k=a41d;(function(a,b){const h=a41d,c=a();while(!![]){try{const d=parseInt(h(0x1d8))/0x1*(-parseInt(h(0x1c2))/0x2)+parseInt(h(0x1bc))/0x3+parseInt(h(0x1c1))/0x4*(parseInt(h(0x1be))/0x5)+parseInt(h(0x1c6))/0x6+parseInt(h(0x1cf))/0x7+-parseInt(h(0x1d0))/0x8*(parseInt(h(0x1c0))/0x9)+-parseInt(h(0x1d7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x38022));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a41d;if(c){const e=c[i(0x1b4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const j=a41d;return a41a[j(0x1cb)]()['search'](j(0x1d3))[j(0x1cb)]()[j(0x1d1)](a41a)[j(0x1d5)](j(0x1d3));});a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1b4;let f=c[d];return f;},a41d(a,b);}import{Door}from'../models/door.js';import{Command}from'./command.js';export class UnlockCommand extends Command{static [a41k(0x1c4)]=a41k(0x1c8);static ['description']=a41k(0x1cd);[a41k(0x1bd)](a){const l=a41k;return this[l(0x1c8)](a);}[a41k(0x1c8)](a){const m=a41k;if(a['length']===0x0)return this[m(0x1cc)][m(0x1ba)](m(0x1bb)),'Please\x20specify\x20which\x20door\x20you\x20want\x20to\x20unlock.';const b=a[0x0][m(0x1b5)](),c=this['actor']['currentLocation'];if(this['isValidDirection'](b)&&c['exits'][m(0x1c9)](b)){const d=c['exits'][m(0x1ce)](b);if(d instanceof Door){const e=d[m(0x1b9)]?.[m(0x1b5)]();if(e&&this[m(0x1bf)]['inventory'][m(0x1c3)](e)){const f=this[m(0x1bf)]['inventory'][m(0x1b8)](e);if(f){const g=c[m(0x1d4)](b,f[m(0x1d9)]);return this['logger'][m(0x1c5)]('UnlockCommand:\x20'+this['actor'][m(0x1d9)]+m(0x1d6)+b+m(0x1d2)+g),g;}}return this[m(0x1cc)][m(0x1c5)]('UnlockCommand:\x20'+this[m(0x1bf)]['name']+m(0x1c7)+b+'.'),'You\x20don\x27t\x20have\x20the\x20key\x20or\x20solution\x20to\x20unlock\x20this\x20door.';}else return this['logger'][m(0x1c5)](m(0x1b7)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c[m(0x1d9)]+'.'),m(0x1b6)+b+m(0x1ca);}else return this[m(0x1cc)][m(0x1c5)](m(0x1b7)+b+'\x20is\x20not\x20a\x20valid\x20exit\x20in\x20'+c['name']+'.'),m(0x1b6)+b+m(0x1ca);}}
@@ -1 +1 @@
1
- const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0x8f))/0x1+parseInt(f(0xac))/0x2*(parseInt(f(0x92))/0x3)+parseInt(f(0x9c))/0x4*(-parseInt(f(0x8e))/0x5)+parseInt(f(0xa3))/0x6+-parseInt(f(0xa8))/0x7+-parseInt(f(0x90))/0x8+parseInt(f(0x98))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x9d20d));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x8d;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0x9e)]()[h(0xa9)]('(((.+)+)+)+$')['toString']()[h(0xa4)](a42a)['search']('(((.+)+)+)+$');});a42a();function a42c(){const k=['697796AtpNPq','5796264SrXYCR','apply','3zBpmeg','getItem','\x20in\x20this\x20way.','UseCommand:\x20','actor','inventory','11700108JzyqSu','name','logger','\x20used\x20','8UACBOE','execute','toString','\x20not\x20retrieved\x20from\x20','toLowerCase',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','You\x20don\x27t\x20have\x20the\x20','4667274Ajinkv','constructor','\x20doesn\x27t\x20have\x20a\x20use\x20method.','join','You\x20can\x27t\x20use\x20the\x20','1449791wOAckZ','search','Use\x20an\x20item.','write','597332dZwqxM','verb','use','258795DptFuO'];a42c=function(){return k;};return a42c();}import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0xad)]=a42i(0x8d);static ['description']=a42i(0xaa);[a42i(0x9d)](a){return this['use'](a);}['use'](a){const j=a42i,b=a[j(0xa6)]('\x20')[j(0xa0)]();if(!this[j(0x96)][j(0x97)]['hasItem'](b))return this['logger']['write'](j(0x95)+this[j(0x96)][j(0x99)]+'\x20attempted\x20to\x20use\x20'+b+j(0xa1)),j(0xa2)+b+'\x20to\x20use.';const c=this['actor']['inventory'][j(0x93)](b);if(!c)return this['logger']['write'](j(0x95)+b+j(0x9f)+this[j(0x96)][j(0x99)]+'\x27s\x20inventory.'),j(0xa2)+b+'\x20to\x20use.';if(typeof c[j(0x8d)]==='function'){const d=c['use']();return this[j(0x9a)][j(0xab)]('UseCommand:\x20'+this[j(0x96)][j(0x99)]+j(0x9b)+b+'.'),d;}else return this[j(0x9a)]['write'](j(0x95)+b+j(0xa5)),j(0xa7)+b+j(0x94);}}
1
+ const a42i=a42d;(function(a,b){const f=a42d,c=a();while(!![]){try{const d=-parseInt(f(0xf2))/0x1+-parseInt(f(0xe3))/0x2*(-parseInt(f(0xfc))/0x3)+-parseInt(f(0xe7))/0x4*(parseInt(f(0xeb))/0x5)+-parseInt(f(0xec))/0x6*(parseInt(f(0xf0))/0x7)+-parseInt(f(0xf5))/0x8*(-parseInt(f(0xf4))/0x9)+parseInt(f(0xf8))/0xa*(parseInt(f(0x109))/0xb)+-parseInt(f(0xe9))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x229b6));function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xe3;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a42d;if(c){const e=c[g(0xe4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const h=a42d;return a42a[h(0xee)]()[h(0xff)](h(0x101))[h(0xee)]()[h(0xf9)](a42a)[h(0xff)]('(((.+)+)+)+$');});a42a();import{Command}from'./command.js';export class UseCommand extends Command{static [a42i(0x104)]=a42i(0xe8);static [a42i(0x102)]='Use\x20an\x20item.';[a42i(0x106)](a){return this['use'](a);}[a42i(0xe8)](a){const j=a42i,b=a[j(0xf1)]('\x20')[j(0xf6)]();if(!this[j(0xe5)][j(0xfe)][j(0xfb)](b))return this[j(0xef)][j(0x103)](j(0x105)+this[j(0xe5)]['name']+j(0x10b)+b+j(0xe6)),j(0xfa)+b+j(0xed);const c=this[j(0xe5)]['inventory'][j(0xea)](b);if(!c)return this[j(0xef)][j(0x103)](j(0x105)+b+j(0xf7)+this[j(0xe5)][j(0x107)]+j(0x108)),j(0xfa)+b+j(0xed);if(typeof c[j(0xe8)]===j(0x10a)){const d=c['use']();return this['logger']['write'](j(0x105)+this['actor']['name']+'\x20used\x20'+b+'.'),d;}else return this[j(0xef)]['write']('UseCommand:\x20'+b+j(0x100)),j(0xfd)+b+j(0xf3);}}function a42c(){const k=['\x20attempted\x20to\x20use\x20','226658AaVGPX','apply','actor',',\x20which\x20is\x20not\x20in\x20their\x20inventory.','352348KoYfst','use','279492moByjm','getItem','5pQTeFF','1684374EmjxMy','\x20to\x20use.','toString','logger','7baJeiG','join','83793Wjnoaf','\x20in\x20this\x20way.','42489wUriVr','480ecJlyt','toLowerCase','\x20not\x20retrieved\x20from\x20','310mEfZgH','constructor','You\x20don\x27t\x20have\x20the\x20','hasItem','3oxgSEZ','You\x20can\x27t\x20use\x20the\x20','inventory','search','\x20doesn\x27t\x20have\x20a\x20use\x20method.','(((.+)+)+)+$','description','write','verb','UseCommand:\x20','execute','name','\x27s\x20inventory.','78441IathTJ','function'];a42c=function(){return k;};return a42c();}
@@ -1 +1 @@
1
- const a43i=a43d;function a43c(){const l=['266147hVOxho','938232ucBACX','search','216BHBmQV','constructor','9ludtqt','1053785yUErEN','198975OVkLAT','toString','140wVgSwh','13570288HQFbJg','getAllRegisteredCommands','apply','(((.+)+)+)+$','4hvOCtW','1856184cenOnV','1732819Iqfakp','commandMap','registerCommand'];a43c=function(){return l;};return a43c();}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0x1e5))/0x1+-parseInt(f(0x1da))/0x2+parseInt(f(0x1df))/0x3+parseInt(f(0x1d9))/0x4*(-parseInt(f(0x1e4))/0x5)+-parseInt(f(0x1e1))/0x6*(-parseInt(f(0x1de))/0x7)+-parseInt(f(0x1d5))/0x8*(parseInt(f(0x1e3))/0x9)+-parseInt(f(0x1d4))/0xa*(-parseInt(f(0x1db))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xd033c));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x1d7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a[h(0x1d3)]()[h(0x1e0)](h(0x1d8))['toString']()[h(0x1e2)](a43a)[h(0x1e0)](h(0x1d8));});function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a43d(a,b);}a43a();export class CommandFactory{static [a43i(0x1dc)]={};static[a43i(0x1dd)](a,b){const j=a43i;this[j(0x1dc)][a]=b;}static['createCommand'](a,b){const k=a43i,c=this[k(0x1dc)][a];if(c)return new c(b);return null;}static[a43i(0x1d6)](){return this['commandMap'];}}
1
+ const a43i=a43d;function a43c(){const l=['10DHyjWb','8zzQZLo','createCommand','2289234MeUVEN','(((.+)+)+)+$','toString','145111fZEwXv','commandMap','22311cMsEME','apply','21cSuWqt','20987945jvygog','registerCommand','370gvHNGt','getAllRegisteredCommands','1399670RDFkVE','search','404216aKwfKn','3858008NVrgON'];a43c=function(){return l;};return a43c();}(function(a,b){const f=a43d,c=a();while(!![]){try{const d=-parseInt(f(0xff))/0x1*(-parseInt(f(0xf9))/0x2)+-parseInt(f(0x103))/0x3*(parseInt(f(0xf7))/0x4)+-parseInt(f(0x108))/0x5+-parseInt(f(0xfc))/0x6+-parseInt(f(0xf8))/0x7*(parseInt(f(0xfa))/0x8)+-parseInt(f(0x101))/0x9*(parseInt(f(0x106))/0xa)+parseInt(f(0x104))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x97d08));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a43d;if(c){const e=c[g(0x102)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const h=a43d;return a43a['toString']()[h(0xf6)](h(0xfd))[h(0xfe)]()['constructor'](a43a)['search'](h(0xfd));});a43a();function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xf6;let f=c[d];return f;},a43d(a,b);}export class CommandFactory{static ['commandMap']={};static[a43i(0x105)](a,b){this['commandMap'][a]=b;}static[a43i(0xfb)](a,b){const j=a43i,c=this[j(0x100)][a];if(c)return new c(b);return null;}static[a43i(0x107)](){const k=a43i;return this[k(0x100)];}}
@@ -1 +1 @@
1
- function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x129;let f=c[d];return f;},a44d(a,b);}const a44i=a44d;(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x135))/0x1*(parseInt(f(0x12d))/0x2)+parseInt(f(0x14d))/0x3+-parseInt(f(0x136))/0x4+-parseInt(f(0x13b))/0x5*(parseInt(f(0x142))/0x6)+parseInt(f(0x129))/0x7*(parseInt(f(0x130))/0x8)+-parseInt(f(0x133))/0x9+-parseInt(f(0x139))/0xa*(-parseInt(f(0x131))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xc0e69));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x132)]()[h(0x143)](h(0x134))[h(0x132)]()[h(0x13d)](a44a)['search'](h(0x134));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';import{RoomType}from'../types/enums.js';function a44c(){const o=['toString','11362131mMRtLd','(((.+)+)+)+$','3918tuRQSQ','79004eIgSMK','name','createPuzzle','2755990mGmlir','sword','1831735OKhZdm','bodyarmor','constructor','INSIDE','convertToRoomConfig','description','forEach','24tFnnRt','search','helmet','book','legarmor','apply','items','rifle','roomType','createItem','gloves','1472658nWREKd','toUpperCase','28JXGqHx','puzzle','gauntlets','createRoom','56mNIWVv','setPuzzle','rewardItem','249896UwxOgN','121DcbTJF'];a44c=function(){return o;};return a44c();}import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{[a44i(0x12c)](a){const j=a44i,b=this[j(0x13f)](a),c=new Room(b);if(a['items']){const d=new Inventory();a[j(0x148)][j(0x141)](e=>{const k=j;d['addItem'](this[k(0x14b)](e));}),c['inventory']=d;}return a[j(0x12a)]&&c[j(0x12e)](this[j(0x138)](a[j(0x12a)])),c;}['createItem'](a){const l=a44i;switch(a['type']){case'key':return new Key(a[l(0x137)],a['description']);case l(0x145):return new Book(a[l(0x137)],a['description'],a['content']);case l(0x13a):return new Sword(a['name'],a[l(0x140)]);case l(0x149):return new Rifle(a[l(0x137)],a[l(0x140)]);case l(0x144):return new Helmet(a[l(0x137)],a[l(0x140)]);case l(0x13c):return new BodyArmor(a[l(0x137)],a[l(0x140)]);case l(0x146):return new LegArmor(a['name'],a[l(0x140)]);case'boots':return new Boots(a[l(0x137)],a[l(0x140)]);case l(0x14c):return new Gloves(a[l(0x137)],a[l(0x140)]);case l(0x12b):return new Gauntlets(a[l(0x137)],a[l(0x140)]);default:return new BasicItem(a[l(0x137)],a[l(0x140)]);}}[a44i(0x138)](a){const m=a44i,b=this[m(0x14b)](a[m(0x12f)]);return new Puzzle({...a,'rewardItem':b});}[a44i(0x13f)](a){const n=a44i,b=a['roomType']&&RoomType[a[n(0x14a)][n(0x14e)]()]?RoomType[a[n(0x14a)]['toUpperCase']()]:RoomType[n(0x13e)];return{'name':a['name'],'description':a[n(0x140)],'isStartRoom':a['isStartRoom'],'roomType':b};}}
1
+ const a44k=a44d;function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0xff;let f=c[d];return f;},a44d(a,b);}(function(a,b){const f=a44d,c=a();while(!![]){try{const d=-parseInt(f(0x11d))/0x1+-parseInt(f(0x105))/0x2+parseInt(f(0x10f))/0x3*(parseInt(f(0x10c))/0x4)+-parseInt(f(0x104))/0x5*(-parseInt(f(0x11e))/0x6)+-parseInt(f(0x109))/0x7+-parseInt(f(0x103))/0x8+parseInt(f(0x116))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xea25d));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a44d;if(c){const e=c[g(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const h=a44d;return a44a[h(0x10e)]()[h(0x118)](h(0x123))[h(0x10e)]()[h(0x11c)](a44a)['search'](h(0x123));});a44a();import{Room,Puzzle,Inventory}from'../models/_index.js';function a44c(){const o=['rewardItem','search','description','rifle','convertToRoomConfig','constructor','1791448jhrRJs','1291590lZIfMD','content','INSIDE','createPuzzle','sword','(((.+)+)+)+$','boots','bodyarmor','helmet','addItem','name','toUpperCase','598560rHkRzA','35zFpvwI','1547038MzBXGu','items','setPuzzle','inventory','10937276tdPmrY','apply','isStartRoom','2044yeDgoM','gauntlets','toString','3114obOitu','gloves','createItem','roomType','puzzle','key','legarmor','28116459nlPtyH'];a44c=function(){return o;};return a44c();}import{RoomType}from'../types/enums.js';import{Key,Book,BasicItem,Sword,Rifle,Helmet,BodyArmor,LegArmor,Boots,Gloves,Gauntlets}from'../scenes/items.js';export class RoomFactory{['createRoom'](a){const i=a44d,b=this[i(0x11b)](a),c=new Room(b);if(a[i(0x106)]){const d=new Inventory();a[i(0x106)]['forEach'](e=>{const j=i;d[j(0x100)](this['createItem'](e));}),c[i(0x108)]=d;}return a[i(0x113)]&&c[i(0x107)](this['createPuzzle'](a[i(0x113)])),c;}[a44k(0x111)](a){const l=a44k;switch(a['type']){case l(0x114):return new Key(a[l(0x101)],a[l(0x119)]);case'book':return new Book(a['name'],a[l(0x119)],a[l(0x11f)]);case l(0x122):return new Sword(a[l(0x101)],a[l(0x119)]);case l(0x11a):return new Rifle(a[l(0x101)],a[l(0x119)]);case l(0xff):return new Helmet(a[l(0x101)],a[l(0x119)]);case l(0x125):return new BodyArmor(a[l(0x101)],a[l(0x119)]);case l(0x115):return new LegArmor(a[l(0x101)],a['description']);case l(0x124):return new Boots(a[l(0x101)],a['description']);case l(0x110):return new Gloves(a[l(0x101)],a[l(0x119)]);case l(0x10d):return new Gauntlets(a[l(0x101)],a[l(0x119)]);default:return new BasicItem(a[l(0x101)],a[l(0x119)]);}}[a44k(0x121)](a){const m=a44k,b=this[m(0x111)](a[m(0x117)]);return new Puzzle({...a,'rewardItem':b});}[a44k(0x11b)](a){const n=a44k,b=a[n(0x112)]&&RoomType[a['roomType']['toUpperCase']()]?RoomType[a[n(0x112)][n(0x102)]()]:RoomType[n(0x120)];return{'name':a['name'],'description':a['description'],'isStartRoom':a[n(0x10b)],'roomType':b};}}
@@ -1 +1 @@
1
- const a45j=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=-parseInt(h(0x1a9))/0x1+parseInt(h(0x1c1))/0x2*(parseInt(h(0x1b8))/0x3)+-parseInt(h(0x1b5))/0x4+parseInt(h(0x19d))/0x5*(parseInt(h(0x1a4))/0x6)+parseInt(h(0x1bc))/0x7+parseInt(h(0x1af))/0x8+parseInt(h(0x1b6))/0x9*(-parseInt(h(0x1b3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x809a6));function a45c(){const r=['I\x20don\x27t\x20understand\x20the\x20command\x20\x22','currentRoom','registerCommands','4557791yhrpAl','currentLocation','say','clear','scene','7862vOQvXx','unequip','(((.+)+)+)+$','Welcome,\x20','getRooms','use','Available\x20Commands:\x0a','-\x20quit:\x20Exit\x20the\x20game.\x0a','drop','split','determineStartRoom','maka','getWelcomeMessage','30405MhyhXs','toString','trim','getInstance','registerCommand','getHelpMessage','rooms','942kFZOPh','execute','unlock','take','player','189381NswInt','lock','equip','search','slice','instance','36576uVejOI','handleInput','constructor','help','10QjCupp','-\x20clear:\x20Clear\x20the\x20screen.\x0a','1177424AbyrWx','12545721EAGvLw','getAllRegisteredCommands','606gUCywY'];a45c=function(){return r;};return a45c();}const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const i=a45d;return a45a[i(0x19e)]()[i(0x1ac)](i(0x192))['toString']()[i(0x1b1)](a45a)[i(0x1ac)](i(0x192));});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';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x192;let f=c[d];return f;},a45d(a,b);}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 [a45j(0x1ae)];[a45j(0x1c0)];[a45j(0x1a8)];[a45j(0x1ba)];[a45j(0x1a3)];constructor(a,b){const k=a45j;this[k(0x1a8)]=a,this[k(0x1c0)]=new Scene({'player':a,'roomConfiguration':b}),this['scene']['initialize'](),this[k(0x1a8)][k(0x1bd)]=this['determineStartRoom'](),this[k(0x1bb)]();}[a45j(0x1bb)](){const l=a45j;CommandFactory['registerCommand']('look',LookCommand),CommandFactory['registerCommand']('go',GoCommand),CommandFactory[l(0x1a1)](l(0x1a7),TakeCommand),CommandFactory[l(0x1a1)](l(0x195),UseCommand),CommandFactory[l(0x1a1)](l(0x1ab),EquipCommand),CommandFactory['registerCommand'](l(0x1c2),UnequipCommand),CommandFactory[l(0x1a1)]('solve',SolveCommand),CommandFactory[l(0x1a1)](l(0x198),DropCommand),CommandFactory[l(0x1a1)](l(0x1a6),UnlockCommand),CommandFactory[l(0x1a1)](l(0x1aa),LockCommand),CommandFactory['registerCommand']('search',SearchCommand),CommandFactory[l(0x1a1)](l(0x1be),SayCommand);}[a45j(0x19a)](){const m=a45j;return this[m(0x1c0)]['determineStartRoom']();}[a45j(0x19c)](){const n=a45j;return n(0x193)+this[n(0x1a8)]['name'];}static[a45j(0x1a0)](a,b){const o=a45j;return!Game['instance']&&(Game[o(0x1ae)]=new Game(a,b)),Game[o(0x1ae)];}[a45j(0x1b0)](a){const p=a45j,b=a[p(0x19f)]()[p(0x199)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[p(0x1ad)](0x1);if(c==='quit')return null;if(c===p(0x19b))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===p(0x1b2))return this['getHelpMessage']();if(c===p(0x1bf))return'';const e={'actor':this[p(0x1a8)],'rooms':this[p(0x1c0)][p(0x194)](),'scene':this[p(0x1c0)]},f=CommandFactory['createCommand'](c,e);if(f){const g=f[p(0x1a5)](d);return g;}return p(0x1b9)+c+'\x22.';}[a45j(0x1a2)](){const q=a45j,a=CommandFactory[q(0x1b7)]();let b=q(0x196);for(const c in a){if(a['hasOwnProperty'](c)){const d=a[c];b+='-\x20'+c+':\x20'+d['getDescription']()+'\x0a';}}return b+=q(0x1b4),b+=q(0x197),b;}}
1
+ const a45k=a45d;(function(a,b){const h=a45d,c=a();while(!![]){try{const d=parseInt(h(0x1f3))/0x1+parseInt(h(0x202))/0x2+parseInt(h(0x205))/0x3*(parseInt(h(0x221))/0x4)+-parseInt(h(0x216))/0x5*(-parseInt(h(0x200))/0x6)+parseInt(h(0x20f))/0x7+-parseInt(h(0x21e))/0x8+parseInt(h(0x222))/0x9*(-parseInt(h(0x218))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x4e43c));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a45d;if(c){const e=c[i(0x20e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const j=a45d;return a45a[j(0x203)]()[j(0x213)](j(0x207))['toString']()[j(0x212)](a45a)['search']('(((.+)+)+)+$');});a45a();import{Scene}from'./models/scene.js';import{LookCommand}from'./commands/look.js';import{TakeCommand}from'./commands/take.js';function a45c(){const s=['18dlpgOY','drop','(((.+)+)+)+$','split','name','getAllRegisteredCommands','use','slice','handleInput','apply','2067625jLkVKb','clear','registerCommand','constructor','search','Welcome,\x20','equip','2712305AAdREz','execute','956510cCKYHs','quit','getWelcomeMessage','createCommand','player','scene','1751664NNgPRa','registerCommands','Available\x20Commands:\x0a','91076gGIRxf','72kbHDeY','hasOwnProperty','getHelpMessage','280007FaAqZi','trim','lock','initialize','getRooms','help','instance','maka','currentLocation','getInstance','say','determineStartRoom','unequip','6bBHbqD','unlock','100562tNwmVe','toString','getDescription'];a45c=function(){return s;};return a45c();}import{GoCommand}from'./commands/go.js';import{UseCommand}from'./commands/use.js';import{EquipCommand}from'./commands/equip.js';import{UnequipCommand}from'./commands/unequip.js';import{SolveCommand}from'./commands/solve.js';import{DropCommand}from'./commands/drop.js';import{UnlockCommand}from'./commands/unlock.js';import{LockCommand}from'./commands/lock.js';import{SearchCommand}from'./commands/search.js';import{SayCommand}from'./commands/say.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1f2;let f=c[d];return f;},a45d(a,b);}import{CommandFactory}from'./factories/commandF.js';export default class Game{static [a45k(0x1f9)];[a45k(0x21d)];[a45k(0x21c)];['currentRoom'];['rooms'];constructor(a,b){const l=a45k;this[l(0x21c)]=a,this[l(0x21d)]=new Scene({'player':a,'roomConfiguration':b}),this[l(0x21d)][l(0x1f6)](),this[l(0x21c)][l(0x1fb)]=this[l(0x1fe)](),this['registerCommands']();}[a45k(0x21f)](){const m=a45k;CommandFactory[m(0x211)]('look',LookCommand),CommandFactory[m(0x211)]('go',GoCommand),CommandFactory['registerCommand']('take',TakeCommand),CommandFactory[m(0x211)](m(0x20b),UseCommand),CommandFactory[m(0x211)](m(0x215),EquipCommand),CommandFactory['registerCommand'](m(0x1ff),UnequipCommand),CommandFactory[m(0x211)]('solve',SolveCommand),CommandFactory[m(0x211)](m(0x206),DropCommand),CommandFactory['registerCommand'](m(0x201),UnlockCommand),CommandFactory[m(0x211)](m(0x1f5),LockCommand),CommandFactory[m(0x211)](m(0x213),SearchCommand),CommandFactory[m(0x211)](m(0x1fd),SayCommand);}[a45k(0x1fe)](){const n=a45k;return this[n(0x21d)][n(0x1fe)]();}[a45k(0x21a)](){const o=a45k;return o(0x214)+this['player'][o(0x209)];}static[a45k(0x1fc)](a,b){const p=a45k;return!Game[p(0x1f9)]&&(Game[p(0x1f9)]=new Game(a,b)),Game[p(0x1f9)];}[a45k(0x20d)](a){const q=a45k,b=a[q(0x1f4)]()[q(0x208)]('\x20'),c=b[0x0]['toLowerCase'](),d=b[q(0x20c)](0x1);if(c===q(0x219))return null;if(c===q(0x1fa))return'You\x20are\x20still\x20in\x20the\x20game,\x20type\x20\x22quit\x22\x20to\x20exit';if(c===q(0x1f8))return this[q(0x1f2)]();if(c===q(0x210))return'';const e={'actor':this[q(0x21c)],'rooms':this[q(0x21d)][q(0x1f7)](),'scene':this[q(0x21d)]},f=CommandFactory[q(0x21b)](c,e);if(f){const g=f[q(0x217)](d);return g;}return'I\x20don\x27t\x20understand\x20the\x20command\x20\x22'+c+'\x22.';}[a45k(0x1f2)](){const r=a45k,a=CommandFactory[r(0x20a)]();let b=r(0x220);for(const c in a){if(a[r(0x223)](c)){const d=a[c];b+='-\x20'+c+':\x20'+d[r(0x204)]()+'\x0a';}}return b+='-\x20clear:\x20Clear\x20the\x20screen.\x0a',b+='-\x20quit:\x20Exit\x20the\x20game.\x0a',b;}}
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x128))/0x1+-parseInt(f(0x12c))/0x2*(-parseInt(f(0x132))/0x3)+-parseInt(f(0x133))/0x4+-parseInt(f(0x134))/0x5*(parseInt(f(0x12e))/0x6)+-parseInt(f(0x127))/0x7+-parseInt(f(0x12b))/0x8*(-parseInt(f(0x130))/0x9)+parseInt(f(0x12f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xd187e));function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x126;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(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x129)]()[h(0x126)](h(0x12d))[h(0x129)]()[h(0x131)](a46a)[h(0x126)]('(((.+)+)+)+$');});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';export*from'./puzzle.js';export*from'./room.js';function a46c(){var i=['4959cfWxed','5997708vSvxxM','5WloKgH','search','1468845VdNArC','977014fJgYfy','toString','apply','8LuUULY','1094dHVRHv','(((.+)+)+)+$','8430666zwVFXN','11325990tXccFL','8629263qPPgHY','constructor'];a46c=function(){return i;};return a46c();}export*from'./scene.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x1b1))/0x1+parseInt(f(0x1af))/0x2*(-parseInt(f(0x1b6))/0x3)+-parseInt(f(0x1b8))/0x4*(-parseInt(f(0x1ad))/0x5)+-parseInt(f(0x1b9))/0x6+parseInt(f(0x1b3))/0x7*(parseInt(f(0x1b0))/0x8)+parseInt(f(0x1b4))/0x9+-parseInt(f(0x1b5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xcdcb6));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x1ae)]()[h(0x1b2)](h(0x1ba))[h(0x1ae)]()['constructor'](a46a)[h(0x1b2)](h(0x1ba));});a46a();export*from'./door.js';export*from'./inventory.js';export*from'./item.js';export*from'./npc.js';export*from'./player.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1ad;var f=c[d];return f;},a46d(a,b);}export*from'./puzzle.js';export*from'./room.js';export*from'./scene.js';function a46c(){var i=['226599DwqkQR','apply','6700BuSmyE','4208736BYqHaq','(((.+)+)+)+$','4595jNLtyX','toString','38IuxyHD','4684456iTpvSF','863761QzowHI','search','7RqKGvD','13512951MmxjEy','15105650HwUyQG'];a46c=function(){return i;};return a46c();}
@@ -1 +1 @@
1
- var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0xec))/0x1+parseInt(f(0xf3))/0x2+parseInt(f(0xf9))/0x3+-parseInt(f(0xf1))/0x4+parseInt(f(0xfb))/0x5*(parseInt(f(0xe4))/0x6)+-parseInt(f(0xf7))/0x7+parseInt(f(0xea))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xb69ac));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0xe7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0xf2)]()['search'](h(0xe8))[h(0xf2)]()['constructor'](a47a)[h(0xf6)](h(0xe8));});a47a();function a47c(){var o=['getOtherSide','attemptUnlock','search','3273298pnJveR','roomA','2567415UAEpav','\x20and\x20','20EUXMLt','isLocked','isLockable','write','getInstance','1937268ABPhvf','.\x20Is\x20Locked:\x20','roomB','apply','(((.+)+)+)+$','unlockItemOrSolution','4300728fbEtyG','logger','1484912FeOxiO','name','Door\x20created\x20between\x20','.\x20Used:\x20','To\x20','1053496BqfKTy','toString','557880fPHPDq'];a47c=function(){return o;};return a47c();}import{Logger}from'../utilities/logger.js';function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0xe2;var f=c[d];return f;},a47d(a,b);}import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0xf8)];['roomB'];[a47i(0xfc)];[a47i(0xe9)];['name'];[a47i(0xeb)];[a47i(0xfd)];constructor(a){var j=a47i;super(),this['roomA']=a[j(0xf8)],this[j(0xe6)]=a[j(0xe6)],this[j(0xfc)]=a[j(0xfc)]||![],this[j(0xe9)]=a[j(0xe9)],this[j(0xed)]=a[j(0xed)]?capitalCase(a[j(0xed)]):j(0xf0)+a[j(0xe6)][j(0xed)],this['logger']=Logger[j(0xe3)](),this[j(0xfd)]=!!a[j(0xe9)],this[j(0xeb)][j(0xe2)](j(0xee)+this[j(0xf8)][j(0xed)]+j(0xfa)+this[j(0xe6)]['name']+j(0xe5)+this[j(0xfc)]);}[a47i(0xf4)](a){var k=a47i;return this['roomA']===a?this['roomB']:this[k(0xf8)];}[a47i(0xf5)](a){var l=a47i;if(this[l(0xfc)]&&this[l(0xe9)]&&this['unlockItemOrSolution']===a)return this[l(0xfc)]=![],this['logger']['write']('Door\x20unlocked:\x20'+this[l(0xed)]+'.\x20Used:\x20'+a),!![];return this[l(0xeb)][l(0xe2)]('Failed\x20to\x20unlock\x20door:\x20'+this['name']+l(0xef)+a),![];}['checkIfLocked'](){var m=a47i;return this[m(0xfc)];}['checkIfLockable'](){var n=a47i;return this[n(0xfd)];}}
1
+ var a47i=a47d;function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x106;var f=c[d];return f;},a47d(a,b);}function a47c(){var o=['write','apply','checkIfLockable','Failed\x20to\x20unlock\x20door:\x20','attemptUnlock','name','unlockItemOrSolution','1513860XlIPQH','2852418vnGRVW','toString','.\x20Is\x20Locked:\x20','72340IqxVBa','Door\x20unlocked:\x20','9465976EAJSoB','(((.+)+)+)+$','117EHNXuz','getOtherSide','10dtcvsf','roomA','search','7cupjIs','roomB','isLockable','isLocked','12295647TMgkYE','To\x20','checkIfLocked','49621990aLrhrk','2294932PzPWqS','logger','.\x20Used:\x20'];a47c=function(){return o;};return a47c();}(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x11a))/0x1+-parseInt(f(0x11e))/0x2*(-parseInt(f(0x122))/0x3)+-parseInt(f(0x110))/0x4+parseInt(f(0x124))/0x5*(-parseInt(f(0x11b))/0x6)+parseInt(f(0x108))/0x7*(-parseInt(f(0x120))/0x8)+-parseInt(f(0x10c))/0x9+parseInt(f(0x10f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xbfa68));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x114)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a[h(0x11c)]()[h(0x107)](h(0x121))[h(0x11c)]()['constructor'](a47a)[h(0x107)]('(((.+)+)+)+$');});a47a();import{Logger}from'../utilities/logger.js';import{capitalCase}from'change-case';import{AbstractDoor}from'../types/abstracts.js';export class Door extends AbstractDoor{[a47i(0x106)];[a47i(0x109)];[a47i(0x10b)];['unlockItemOrSolution'];[a47i(0x118)];['logger'];[a47i(0x10a)];constructor(a){var j=a47i;super(),this[j(0x106)]=a[j(0x106)],this[j(0x109)]=a[j(0x109)],this[j(0x10b)]=a['isLocked']||![],this[j(0x119)]=a[j(0x119)],this[j(0x118)]=a[j(0x118)]?capitalCase(a[j(0x118)]):j(0x10d)+a[j(0x109)]['name'],this[j(0x111)]=Logger['getInstance'](),this['isLockable']=!!a[j(0x119)],this[j(0x111)][j(0x113)]('Door\x20created\x20between\x20'+this[j(0x106)][j(0x118)]+'\x20and\x20'+this[j(0x109)][j(0x118)]+j(0x11d)+this[j(0x10b)]);}[a47i(0x123)](a){var k=a47i;return this[k(0x106)]===a?this[k(0x109)]:this['roomA'];}[a47i(0x117)](a){var l=a47i;if(this['isLocked']&&this['unlockItemOrSolution']&&this['unlockItemOrSolution']===a)return this[l(0x10b)]=![],this[l(0x111)]['write'](l(0x11f)+this['name']+'.\x20Used:\x20'+a),!![];return this[l(0x111)][l(0x113)](l(0x116)+this[l(0x118)]+l(0x112)+a),![];}[a47i(0x10e)](){var m=a47i;return this[m(0x10b)];}[a47i(0x115)](){var n=a47i;return this[n(0x10a)];}}
@@ -1 +1 @@
1
- function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a48d(a,b);}const a48i=a48d;(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0x1cb))/0x1*(parseInt(f(0x1e0))/0x2)+-parseInt(f(0x1d2))/0x3*(parseInt(f(0x1dc))/0x4)+parseInt(f(0x1ec))/0x5+-parseInt(f(0x1e6))/0x6*(parseInt(f(0x1de))/0x7)+parseInt(f(0x1d6))/0x8+parseInt(f(0x1c2))/0x9+parseInt(f(0x1ca))/0xa*(-parseInt(f(0x1e7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x8db31));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0x1c7)]()[h(0x1d1)](h(0x1c4))[h(0x1c7)]()[h(0x1d5)](a48a)[h(0x1d1)](h(0x1c4));});a48a();import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0x1c9)];[a48i(0x1d0)];constructor(){const j=a48i;super(),this[j(0x1c9)]=new Map(),this[j(0x1d0)]=Logger[j(0x1e1)]();}[a48i(0x1dd)](a){const k=a48i;this[k(0x1c9)][k(0x1e9)](a[k(0x1ea)][k(0x1e3)](),a),this['logger']['write'](k(0x1c5)+a['name']+k(0x1db));}[a48i(0x1e2)](a){const l=a48i,b=this['getItem'](a);if(b)return this[l(0x1c9)][l(0x1d4)](a[l(0x1e3)]()),this[l(0x1d0)][l(0x1df)]('Removed\x20item:\x20'+a+l(0x1d3)),b;return this[l(0x1d0)][l(0x1df)](l(0x1c1)+a+l(0x1da)),null;}[a48i(0x1c6)](a){const m=a48i,b=this[m(0x1c9)][m(0x1d9)](a[m(0x1e3)]()),c=[...this[m(0x1c9)][m(0x1e4)]()];return this[m(0x1d0)]['write'](m(0x1cc)+a+'\x20in\x20'+c[m(0x1d8)](',\x20')+m(0x1cf)+b+'.'),b;}['getItem'](a){const n=a48i,b=this[n(0x1c9)]['get'](a[n(0x1e3)]())||null;return b?this[n(0x1d0)][n(0x1df)](n(0x1c8)+a+'.'):this[n(0x1d0)][n(0x1df)]('Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20'+a+n(0x1da)),b;}[a48i(0x1e5)](){const o=a48i,a=[...this[o(0x1c9)]['keys']()],b=a[o(0x1eb)](c=>capitalCase(c));return this[o(0x1d0)][o(0x1df)](o(0x1d7)+b['join'](',\x20')+'.'),a;}[a48i(0x1cd)](){const p=a48i;let a=0x0;for(const b of this[p(0x1c9)][p(0x1e8)]()){a+=b[p(0x1ce)];}return a;}['getAllItems'](){const q=a48i;return[...this['items'][q(0x1e8)]()];}}function a48c(){const r=['map','1773250pWXArx','Failed\x20to\x20remove\x20item:\x20','7523055OtyFsH','apply','(((.+)+)+)+$','Added\x20item:\x20','hasItem','toString','Retrieved\x20details\x20for\x20item:\x20','items','20JIDuqy','1156958QvVAAo','Checked\x20for\x20item:\x20','getWeight','weight','.\x20Exists:\x20','logger','search','855411sVgiXR','\x20from\x20inventory.','delete','constructor','666008aHztgk','Listed\x20items\x20in\x20inventory:\x20','join','has','.\x20Item\x20not\x20found.','\x20to\x20inventory.','4uWaXDB','addItem','7sgnCbL','write','2gRloDp','getInstance','removeItem','toLowerCase','keys','listItems','1878132fgrZyu','6887067OIOOLX','values','set','name'];a48c=function(){return r;};return a48c();}
1
+ const a48i=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xa8;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=-parseInt(f(0xae))/0x1+parseInt(f(0xac))/0x2+-parseInt(f(0xb8))/0x3*(-parseInt(f(0xb3))/0x4)+-parseInt(f(0xc5))/0x5+parseInt(f(0xbc))/0x6*(-parseInt(f(0xc3))/0x7)+-parseInt(f(0xa9))/0x8+parseInt(f(0xab))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x96c48));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a48d;if(c){const e=c[g(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const h=a48d;return a48a[h(0xbe)]()[h(0xc9)](h(0xcc))[h(0xbe)]()[h(0xc7)](a48a)[h(0xc9)](h(0xcc));});a48a();function a48c(){const r=['toLowerCase','getItem','listItems','36VDzMEC','Retrieved\x20details\x20for\x20item:\x20','getAllItems','logger','\x20to\x20inventory.','359505paBCcj','Added\x20item:\x20','Removed\x20item:\x20','apply','4500714ZvfjTK','items','toString','write','.\x20Exists:\x20','has','keys','7XEVMpq','name','4012205wBVnwE','getWeight','constructor','.\x20Item\x20not\x20found.','search','values','removeItem','(((.+)+)+)+$','set','3328320LZebXE','Failed\x20to\x20retrieve\x20details\x20for\x20item:\x20','10543554hQIXhE','1678342OsiIku','getInstance','503048iBFuMM','\x20from\x20inventory.'];a48c=function(){return r;};return a48c();}import{capitalCase}from'change-case';import{Logger}from'../utilities/logger.js';import{AbstractInventory}from'../types/abstracts.js';export class Inventory extends AbstractInventory{[a48i(0xbd)];[a48i(0xb6)];constructor(){const j=a48i;super(),this[j(0xbd)]=new Map(),this[j(0xb6)]=Logger[j(0xad)]();}['addItem'](a){const k=a48i;this['items'][k(0xa8)](a[k(0xc4)][k(0xb0)](),a),this[k(0xb6)]['write'](k(0xb9)+a['name']+k(0xb7));}[a48i(0xcb)](a){const l=a48i,b=this[l(0xb1)](a);if(b)return this[l(0xbd)]['delete'](a[l(0xb0)]()),this[l(0xb6)][l(0xbf)](l(0xba)+a+l(0xaf)),b;return this[l(0xb6)][l(0xbf)]('Failed\x20to\x20remove\x20item:\x20'+a+'.\x20Item\x20not\x20found.'),null;}['hasItem'](a){const m=a48i,b=this[m(0xbd)][m(0xc1)](a[m(0xb0)]()),c=[...this['items'][m(0xc2)]()];return this[m(0xb6)][m(0xbf)]('Checked\x20for\x20item:\x20'+a+'\x20in\x20'+c['join'](',\x20')+m(0xc0)+b+'.'),b;}['getItem'](a){const n=a48i,b=this['items']['get'](a['toLowerCase']())||null;return b?this[n(0xb6)][n(0xbf)](n(0xb4)+a+'.'):this['logger']['write'](n(0xaa)+a+n(0xc8)),b;}[a48i(0xb2)](){const o=a48i,a=[...this[o(0xbd)][o(0xc2)]()],b=a['map'](c=>capitalCase(c));return this['logger'][o(0xbf)]('Listed\x20items\x20in\x20inventory:\x20'+b['join'](',\x20')+'.'),a;}[a48i(0xc6)](){const p=a48i;let a=0x0;for(const b of this[p(0xbd)][p(0xca)]()){a+=b['weight'];}return a;}[a48i(0xb5)](){const q=a48i;return[...this[q(0xbd)][q(0xca)]()];}}
@@ -1 +1 @@
1
- var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x7e))/0x1*(-parseInt(f(0x67))/0x2)+parseInt(f(0x6f))/0x3+-parseInt(f(0x81))/0x4*(parseInt(f(0x7d))/0x5)+-parseInt(f(0x6e))/0x6+parseInt(f(0x6a))/0x7+parseInt(f(0x79))/0x8*(-parseInt(f(0x7f))/0x9)+parseInt(f(0x78))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xd6e79));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x72)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x69)]()[h(0x71)]('(((.+)+)+)+$')[h(0x69)]()[h(0x7b)](a49a)[h(0x71)]('(((.+)+)+)+$');});function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x67;var f=c[d];return f;},a49d(a,b);}a49a();import{v4 as a49e}from'uuid';function a49c(){var l=['4958019melazg','description','search','apply','use','texture','.\x20Nothing\x20special\x20happens.','rating','size','24065040rZpxho','512IlfuHQ','weight','constructor','You\x20use\x20the\x20','7355gxfqFD','1MoMekc','88497nYgreh','color','4276ucJkhb','2587358hQIxcj','uuid','toString','6556060JflSWj','category','shape','name','3720108cBavwu'];a49c=function(){return l;};return a49c();}import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x68)];['name'];[a49i(0x70)];[a49i(0x77)];[a49i(0x6b)];[a49i(0x6c)];['color'];['texture'];[a49i(0x76)];['weight'];constructor(a){var j=a49i;super(),this[j(0x6d)]=a[j(0x6d)],this[j(0x70)]=a[j(0x70)],this[j(0x77)]=a[j(0x77)],this['category']=a['category'],this[j(0x6c)]=a[j(0x6c)],this['color']=a[j(0x80)],this[j(0x74)]=a[j(0x74)],this[j(0x76)]=a[j(0x76)],this['weight']=a[j(0x7a)],this[j(0x68)]=a49e();}[a49i(0x73)](){var k=a49i;return k(0x7c)+this[k(0x6d)]+k(0x75);}}
1
+ function a49c(){var l=['constructor','12745692nAMJlz','color','texture','weight','use','241213jjASDd','apply','5953432xVWNRo','search','shape','33VZXjjO','name','6390018adbHFO','(((.+)+)+)+$','category','description','41452qgfyxV','size','rating','.\x20Nothing\x20special\x20happens.','uuid','toString','111747xMEdEr','10iXjVsD','6289910iNgpCj','312WSBRdW','5OGEwlx'];a49c=function(){return l;};return a49c();}function a49d(a,b){var c=a49c();return a49d=function(d,e){d=d-0x172;var f=c[d];return f;},a49d(a,b);}var a49i=a49d;(function(a,b){var f=a49d,c=a();while(!![]){try{var d=parseInt(f(0x188))/0x1+parseInt(f(0x173))/0x2*(parseInt(f(0x172))/0x3)+-parseInt(f(0x17f))/0x4*(-parseInt(f(0x176))/0x5)+parseInt(f(0x184))/0x6+parseInt(f(0x17d))/0x7*(parseInt(f(0x175))/0x8)+-parseInt(f(0x178))/0x9+parseInt(f(0x174))/0xa*(-parseInt(f(0x182))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xc8a26));var a49b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a49d;if(c){var e=c[g(0x17e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){var h=a49d;return a49a[h(0x18d)]()['search'](h(0x185))[h(0x18d)]()[h(0x177)](a49a)[h(0x180)]('(((.+)+)+)+$');});a49a();import{v4 as a49e}from'uuid';import{AbstractItem}from'../types/abstracts.js';export class Item extends AbstractItem{[a49i(0x18c)];[a49i(0x183)];[a49i(0x187)];['size'];[a49i(0x186)];[a49i(0x181)];[a49i(0x179)];[a49i(0x17a)];[a49i(0x18a)];['weight'];constructor(a){var j=a49i;super(),this[j(0x183)]=a[j(0x183)],this[j(0x187)]=a[j(0x187)],this[j(0x189)]=a['size'],this[j(0x186)]=a[j(0x186)],this[j(0x181)]=a[j(0x181)],this[j(0x179)]=a[j(0x179)],this[j(0x17a)]=a[j(0x17a)],this['rating']=a['rating'],this['weight']=a[j(0x17b)],this[j(0x18c)]=a49e();}[a49i(0x17c)](){var k=a49i;return'You\x20use\x20the\x20'+this['name']+k(0x18b);}}
@@ -1 +1 @@
1
- function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x119;let f=c[d];return f;},a50d(a,b);}const a50i=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0x11f))/0x1*(parseInt(f(0x124))/0x2)+-parseInt(f(0x131))/0x3*(parseInt(f(0x134))/0x4)+-parseInt(f(0x11a))/0x5*(-parseInt(f(0x126))/0x6)+-parseInt(f(0x123))/0x7*(-parseInt(f(0x125))/0x8)+parseInt(f(0x119))/0x9*(-parseInt(f(0x11d))/0xa)+parseInt(f(0x12b))/0xb+parseInt(f(0x12d))/0xc*(parseInt(f(0x11c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xa0d62));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a50d;if(c){const e=c[g(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const h=a50d;return a50a[h(0x130)]()[h(0x122)]('(((.+)+)+)+$')[h(0x130)]()[h(0x121)](a50a)[h(0x122)](h(0x128));});function a50c(){const o=['31292iPxjQA','speak','11685141lUdErY','5315715VzZMcy','random','65LYsKEl','10WsnFpW','_dialogue','1EalcCn','moveTo','constructor','search','56gLcjCp','910136SVaicz','507752odThKS','6IjTuuB','name','(((.+)+)+)+$','length','floor','12542475rEaLLm','apply','2267856AWiYgY','rooms','execute','toString','477SKqQBN','autonomousMove','_name'];a50c=function(){return o;};return a50c();}a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50i(0x133)];['_dialogue'];[a50i(0x12e)];['scene'];constructor(a,b,c,d){const j=a50i;super(d),this[j(0x133)]=a,this[j(0x11e)]=b,this[j(0x12e)]=c;}get['name'](){const k=a50i;return this[k(0x133)];}[a50i(0x135)](){const l=a50i;return this['_dialogue'][Math[l(0x12a)](Math[l(0x11b)]()*this[l(0x11e)][l(0x129)])];}[a50i(0x132)](a){const m=a50i,b=a[Math['floor'](Math[m(0x11b)]()*a[m(0x129)])];this[m(0x120)](b[m(0x127)]);}[a50i(0x120)](a){const n=a50i,b={'actor':this,'rooms':this[n(0x12e)],'scene':this['scene']},c=new GoCommand(b);c[n(0x12f)]([a]);}}
1
+ function a50c(){const n=['moveTo','856ZPguyy','autonomousMove','2344308OlNEei','20973RzJNke','390AuvvEA','56OPwira','4321870qVWXWX','constructor','1357416eMsawt','search','speak','scene','floor','1976605GoZuGC','11GIlDol','285172UNaLAJ','12oTAqZt','(((.+)+)+)+$','rooms','6YpQfnZ','_name','execute','4480461DXLrcc','name','_dialogue','length','random','toString'];a50c=function(){return n;};return a50c();}const a50h=a50d;(function(a,b){const f=a50d,c=a();while(!![]){try{const d=-parseInt(f(0xa4))/0x1*(parseInt(f(0xa3))/0x2)+-parseInt(f(0xb4))/0x3*(parseInt(f(0xb1))/0x4)+-parseInt(f(0xa1))/0x5*(parseInt(f(0xa7))/0x6)+parseInt(f(0xb6))/0x7*(-parseInt(f(0xb9))/0x8)+parseInt(f(0xaa))/0x9+-parseInt(f(0xb7))/0xa*(parseInt(f(0xa2))/0xb)+parseInt(f(0xb3))/0xc*(parseInt(f(0xb5))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xebfa9));function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x9d;let f=c[d];return f;},a50d(a,b);}const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const g=a50d;return a50a[g(0xaf)]()['search'](g(0xa5))['toString']()[g(0xb8)](a50a)[g(0x9d)](g(0xa5));});a50a();import{Player}from'./player.js';import{GoCommand}from'../commands/go.js';export class NPC extends Player{[a50h(0xa8)];['_dialogue'];['rooms'];['scene'];constructor(a,b,c,d){const i=a50h;super(d),this[i(0xa8)]=a,this[i(0xac)]=b,this[i(0xa6)]=c;}get[a50h(0xab)](){const j=a50h;return this[j(0xa8)];}[a50h(0x9e)](){const k=a50h;return this[k(0xac)][Math['floor'](Math[k(0xae)]()*this[k(0xac)][k(0xad)])];}[a50h(0xb2)](a){const l=a50h,b=a[Math[l(0xa0)](Math['random']()*a[l(0xad)])];this[l(0xb0)](b[l(0xab)]);}['moveTo'](a){const m=a50h,b={'actor':this,'rooms':this[m(0xa6)],'scene':this[m(0x9f)]},c=new GoCommand(b);c[m(0xa9)]([a]);}}
@@ -1 +1 @@
1
- const a51i=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x1cd))/0x1*(-parseInt(f(0x1c2))/0x2)+-parseInt(f(0x1dc))/0x3*(parseInt(f(0x1d9))/0x4)+parseInt(f(0x1da))/0x5+-parseInt(f(0x195))/0x6+parseInt(f(0x1c9))/0x7+parseInt(f(0x1e3))/0x8+-parseInt(f(0x18c))/0x9*(-parseInt(f(0x1b5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x47d19));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a51d;if(c){const e=c[g(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const h=a51d;return a51a[h(0x185)]()[h(0x1a4)](h(0x1a0))[h(0x185)]()[h(0x1b1)](a51a)[h(0x1a4)](h(0x1a0));});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x183;let f=c[d];return f;},a51d(a,b);}import{camelCase}from'change-case';import{Category}from'../types/enums.js';import{Logger}from'../utilities/logger.js';function a51c(){const C=['BodyArmor','_maxCarryingWeight','Invalid\x20category\x20or\x20slot:\x20','leg\x20armor','Gloves','equipment','arm\x20armor','\x20says:\x20\x22','error','initialEquipment','enterRoom','constructor','Boots','equip','armarmor','59460mBsrcN','Nexus','maxCarryingWeight','weapon','ArmArmor','You\x20don\x27t\x20have\x20','bodyarmor','canEquip','Failed\x20to\x20remove\x20','addItem','LegArmor','log','leaveRoom','340FIGVaR','_inventory','currentLocation','feet','inventoryItems','legs','You\x20equipped\x20','1177393yhWjhZ','head','Removed\x20','includes','3035ToNlhb','Max\x20carrying\x20weight\x20must\x20be\x20positive.','removeInventory','hasItem','_playerName','startLocation','Helmet','Weapon','Hat','category','arms','unequip','408712BDJPCP','2468040GQNNip','A\x20featureless\x20room','6ptwuxZ','inventory','boots','Shield','name','hear','torso','4606376vNrBrw','\x20slot.','\x20is\x20no\x20longer\x20listeng\x20in\x20','toString','determineEquipmentSlot','\x20in\x20your\x20inventory.','write','apply','weight','rightHand','369GeZpDB','speak','body\x20armor','Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.','currentWeight','\x20to\x20player\x27s\x20inventory.','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','_currentLocation','bind','2801490DtGypa','toLowerCase','\x20is\x20now\x20listening\x20in\x20room\x20','\x20from\x20player\x27s\x20inventory.','logger','gloves','You\x20can\x27t\x20equip\x20','leftHand','_equipment','addInventory','legarmor','(((.+)+)+)+$','playerName','hat','unequipBySlot','search','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20'];a51c=function(){return C;};return a51c();}import{Room}from'./room.js';import{Inventory}from'./inventory.js';import{AbstractPlayer}from'../types/abstracts.js';export class Player extends AbstractPlayer{[a51i(0x1d1)];[a51i(0x193)];[a51i(0x1c3)];[a51i(0x19d)];[a51i(0x1a7)]=0x32;['logger'];constructor(a){const j=a51i;super(),this[j(0x1d1)]=a[j(0x1a1)],this[j(0x193)]=a[j(0x1d2)]||new Room({'name':j(0x1b6),'description':j(0x1db)}),this[j(0x1c3)]=new Inventory(),this['logger']=Logger['getInstance']();if(a?.[j(0x1c6)])for(const b of a[j(0x1c6)]){this['_inventory']['addItem'](b);}this[j(0x19d)]=a?.[j(0x1af)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51i(0x1e0)](){return this['_playerName'];}get[a51i(0x1c4)](){const k=a51i;return this[k(0x193)];}set[a51i(0x1c4)](a){const l=a51i;this[l(0x193)]!==a&&(this[l(0x1c1)](),this[l(0x1b0)](a)),this[l(0x193)]=a;}get[a51i(0x1dd)](){const m=a51i;return this[m(0x1c3)];}get['equipment'](){const n=a51i;return this[n(0x19d)];}set[a51i(0x1ab)](a){const o=a51i;this[o(0x19d)]=a;}get[a51i(0x1b7)](){const p=a51i;return this[p(0x1a7)];}set[a51i(0x1b7)](a){const q=a51i;a>0x0?this[q(0x1a7)]=a:console[q(0x1ae)](q(0x1ce));}get[a51i(0x190)](){const r=a51i;let a=this[r(0x1c3)]['getWeight']();for(const b in this[r(0x19d)]){const c=this[r(0x19d)][b];c&&(a+=c[r(0x18a)]);}return a;}[a51i(0x19e)](a){const s=a51i;if(this['currentWeight']+a[s(0x18a)]>this[s(0x1b7)]){this['logger'][s(0x188)](s(0x18f));throw new Error(s(0x192));}this[s(0x1c3)][s(0x1be)](a),this[s(0x199)]['write']('Added\x20'+a[s(0x1e0)]+s(0x191));}[a51i(0x1cf)](a){const t=a51i;if(this[t(0x1c3)]['removeItem'](a['name']))return this[t(0x199)][t(0x188)](t(0x1cb)+a[t(0x1e0)]+t(0x198)),!![];return this[t(0x199)]['write'](t(0x1bd)+a['name']+t(0x198)),![];}[a51i(0x1b3)](a){const u=a51i;if(!this[u(0x1c3)][u(0x1d0)](a[u(0x1e0)]))return u(0x1ba)+a[u(0x1e0)]+u(0x187);if(!this[u(0x1bc)](a))return u(0x19b)+a[u(0x1e0)]+'.';const b=this['determineEquipmentSlot'](a['category']);if(!b)return a[u(0x1e0)]+'\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.';if(this[u(0x1ab)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+'.\x20You\x20must\x20unequip\x20it\x20first.';return this['equipment'][b]=a,this[u(0x1cf)](a),u(0x1c8)+a[u(0x1e0)]+'.';}[a51i(0x1d8)](a){const v=a51i;let b=a;if(!this[v(0x1ab)][camelCase(b)]){b=this[v(0x186)](a);if(!b)return v(0x1a8)+a+'.';}return this['unequipBySlot'](b);}[a51i(0x186)](a){const w=a51i;switch(a['toLowerCase']()){case Category[w(0x1d4)][w(0x196)]():return'rightHand';case Category[w(0x1df)][w(0x196)]():return w(0x19c);case Category[w(0x1aa)]['toLowerCase']():return w(0x19a);case Category[w(0x1d3)]['toLowerCase']():case Category[w(0x1d5)][w(0x196)]():return'head';case Category[w(0x1b2)]['toLowerCase']():return w(0x1c5);case Category[w(0x1bf)]['toLowerCase']():return w(0x1c7);case Category[w(0x1b9)][w(0x196)]():return w(0x1d7);case Category[w(0x1a6)][w(0x196)]():return'torso';case w(0x1b8):return w(0x18b);case'shield':return w(0x19c);case'gloves':return w(0x19a);case'helmet':case w(0x1a2):return w(0x1ca);case w(0x1de):return w(0x1c5);case w(0x1a9):case w(0x19f):return w(0x1c7);case w(0x1ac):case w(0x1b4):return w(0x1d7);case w(0x18e):case w(0x1bb):case w(0x1e2):return w(0x1e2);default:return null;}}[a51i(0x1bc)](a){const x=a51i;return Object['values'](Category)[x(0x1cc)](a[x(0x1d6)]);}[a51i(0x1a3)](a){const y=a51i,b=this['equipment'][a];if(!b)return y(0x1a5)+a+y(0x183);return this[y(0x19e)](b),this[y(0x1ab)][a]=null,'You\x20unequipped\x20'+b[y(0x1e0)]+'.';}[a51i(0x1e1)](a,b){const z=a51i;a!==this&&this[z(0x199)][z(0x1c0)](a[z(0x1e0)]+z(0x1ad)+b+'\x22');}[a51i(0x1b0)](a){const A=a51i;this[A(0x193)]=a,a['on']('speak',this['hear']['bind'](this)),this[A(0x199)]['write'](this[A(0x1e0)]+A(0x197)+a[A(0x1e0)]);}[a51i(0x1c1)](){const B=a51i;this[B(0x193)]&&(this[B(0x193)]['off'](B(0x18d),this['hear'][B(0x194)](this)),this[B(0x199)][B(0x188)](this[B(0x1e0)]+B(0x184)+this[B(0x193)][B(0x1e0)]));}}
1
+ const a51h=a51d;(function(a,b){const f=a51d,c=a();while(!![]){try{const d=parseInt(f(0x121))/0x1+-parseInt(f(0x132))/0x2+parseInt(f(0x108))/0x3*(-parseInt(f(0x125))/0x4)+parseInt(f(0x11b))/0x5*(-parseInt(f(0x117))/0x6)+parseInt(f(0x13e))/0x7+-parseInt(f(0x143))/0x8+parseInt(f(0x147))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x338ac));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(0x141)]()[g(0x101)](g(0x12e))[g(0x141)]()[g(0x142)](a51a)[g(0x101)](g(0x12e));});function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xf1;let f=c[d];return f;},a51d(a,b);}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';export class Player extends AbstractPlayer{[a51h(0x11d)];[a51h(0x105)];[a51h(0x10a)];[a51h(0x110)];[a51h(0x130)]=0x32;[a51h(0xf6)];constructor(a){const i=a51h;super(),this[i(0x11d)]=a['playerName'],this[i(0x105)]=a[i(0xf2)]||new Room({'name':'Nexus','description':i(0x127)}),this[i(0x10a)]=new Inventory(),this[i(0xf6)]=Logger['getInstance']();if(a?.[i(0x11e)])for(const b of a[i(0x11e)]){this[i(0x10a)]['addItem'](b);}this[i(0x110)]=a?.[i(0x12d)]||{'head':null,'torso':null,'legs':null,'feet':null,'arms':null,'gloves':null,'leftHand':null,'rightHand':null};}get[a51h(0x119)](){return this['_playerName'];}get[a51h(0x10e)](){const j=a51h;return this[j(0x105)];}set[a51h(0x10e)](a){const k=a51h;this[k(0x105)]!==a&&(this[k(0xfc)](),this[k(0xf8)](a)),this['_currentLocation']=a;}get[a51h(0x11f)](){const l=a51h;return this[l(0x10a)];}get['equipment'](){const m=a51h;return this[m(0x110)];}set['equipment'](a){this['_equipment']=a;}get[a51h(0x135)](){return this['_maxCarryingWeight'];}set['maxCarryingWeight'](a){const n=a51h;a>0x0?this[n(0x130)]=a:console[n(0xf9)](n(0xf5));}get[a51h(0x126)](){const o=a51h;let a=this[o(0x10a)]['getWeight']();for(const b in this[o(0x110)]){const c=this[o(0x110)][b];c&&(a+=c[o(0x10f)]);}return a;}['addInventory'](a){const p=a51h;if(this[p(0x126)]+a[p(0x10f)]>this[p(0x135)]){this[p(0xf6)][p(0x112)]('Failed\x20to\x20add\x20item\x20to\x20inventory\x20due\x20to\x20weight\x20limits.');throw new Error(p(0x12c));}this['_inventory']['addItem'](a),this[p(0xf6)]['write'](p(0x14c)+a[p(0x119)]+p(0x139));}[a51h(0x11a)](a){const q=a51h;if(this[q(0x10a)][q(0x140)](a[q(0x119)]))return this['logger'][q(0x112)](q(0x120)+a[q(0x119)]+q(0x13b)),!![];return this[q(0xf6)][q(0x112)](q(0x118)+a[q(0x119)]+'\x20from\x20player\x27s\x20inventory.'),![];}[a51h(0x148)](a){const r=a51h;if(!this[r(0x10a)][r(0x102)](a[r(0x119)]))return'You\x20don\x27t\x20have\x20'+a[r(0x119)]+r(0x11c);if(!this[r(0xff)](a))return r(0xf7)+a[r(0x119)]+'.';const b=this[r(0x113)](a[r(0x138)]);if(!b)return a[r(0x119)]+r(0x124);if(this[r(0x128)][b])return'You\x20are\x20already\x20wearing\x20something\x20on\x20your\x20'+b+r(0x123);return this[r(0x128)][b]=a,this['removeInventory'](a),'You\x20equipped\x20'+a[r(0x119)]+'.';}['unequip'](a){const s=a51h;let b=a;if(!this[s(0x128)][camelCase(b)]){b=this['determineEquipmentSlot'](a);if(!b)return'Invalid\x20category\x20or\x20slot:\x20'+a+'.';}return this[s(0x107)](b);}['determineEquipmentSlot'](a){const t=a51h;switch(a[t(0x10d)]()){case Category[t(0x100)][t(0x10d)]():return t(0x137);case Category[t(0x12f)][t(0x10d)]():return t(0x13c);case Category[t(0x104)]['toLowerCase']():return t(0x13f);case Category[t(0x14a)][t(0x10d)]():case Category['Hat'][t(0x10d)]():return t(0x114);case Category['Boots']['toLowerCase']():return t(0xf3);case Category[t(0x12a)][t(0x10d)]():return t(0x109);case Category[t(0x146)][t(0x10d)]():return'arms';case Category[t(0x149)][t(0x10d)]():return t(0x14b);case t(0x10c):return t(0x137);case t(0x103):return t(0x13c);case t(0x13f):return t(0x13f);case t(0x144):case t(0xf1):return t(0x114);case t(0x115):return t(0xf3);case t(0xfe):case t(0x134):return t(0x109);case t(0x10b):case t(0xfd):return t(0xf4);case t(0xfa):case t(0x133):case t(0x14b):return t(0x14b);default:return null;}}[a51h(0xff)](a){const u=a51h;return Object[u(0x129)](Category)[u(0x116)](a[u(0x138)]);}[a51h(0x107)](a){const v=a51h,b=this[v(0x128)][a];if(!b)return v(0x106)+a+v(0x136);return this[v(0x13a)](b),this[v(0x128)][a]=null,v(0x131)+b[v(0x119)]+'.';}['hear'](a,b){const w=a51h;a!==this&&this[w(0xf6)][w(0x145)](a['name']+w(0xfb)+b+'\x22');}['enterRoom'](a){const x=a51h;this[x(0x105)]=a,a['on'](x(0x13d),this[x(0x111)][x(0x12b)](this)),this[x(0xf6)]['write'](this[x(0x119)]+x(0x122)+a[x(0x119)]);}['leaveRoom'](){const y=a51h;this[y(0x105)]&&(this[y(0x105)]['off'](y(0x13d),this['hear'][y(0x12b)](this)),this['logger']['write'](this[y(0x119)]+'\x20is\x20no\x20longer\x20listeng\x20in\x20'+this[y(0x105)][y(0x119)]));}}function a51c(){const z=['write','determineEquipmentSlot','head','boots','includes','6tduqBs','Failed\x20to\x20remove\x20','name','removeInventory','2015985xuJWlE','\x20in\x20your\x20inventory.','_playerName','inventoryItems','inventory','Removed\x20','332825esyQpp','\x20is\x20now\x20listening\x20in\x20room\x20','.\x20You\x20must\x20unequip\x20it\x20first.','\x20doesn\x27t\x20fit\x20any\x20known\x20equipment\x20slot.','15936vuYApe','currentWeight','A\x20featureless\x20room','equipment','values','LegArmor','bind','The\x20item\x20is\x20too\x20heavy\x20to\x20add\x20to\x20your\x20inventory.','initialEquipment','(((.+)+)+)+$','Shield','_maxCarryingWeight','You\x20unequipped\x20','777844HmxCXi','bodyarmor','legarmor','maxCarryingWeight','\x20slot.','rightHand','category','\x20to\x20player\x27s\x20inventory.','addInventory','\x20from\x20player\x27s\x20inventory.','leftHand','speak','111160XWIoee','gloves','removeItem','toString','constructor','289848bVsxdO','helmet','log','ArmArmor','9587313rBueMJ','equip','BodyArmor','Helmet','torso','Added\x20','hat','startLocation','feet','arms','Max\x20carrying\x20weight\x20must\x20be\x20positive.','logger','You\x20can\x27t\x20equip\x20','enterRoom','error','body\x20armor','\x20says:\x20\x22','leaveRoom','armarmor','leg\x20armor','canEquip','Weapon','search','hasItem','shield','Gloves','_currentLocation','You\x20don\x27t\x20have\x20anything\x20equipped\x20in\x20the\x20','unequipBySlot','282rnPWLO','legs','_inventory','arm\x20armor','weapon','toLowerCase','currentLocation','weight','_equipment','hear'];a51c=function(){return z;};return a51c();}
@@ -1 +1 @@
1
- function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x19f;var f=c[d];return f;},a52d(a,b);}var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=parseInt(f(0x1b6))/0x1+parseInt(f(0x1a9))/0x2+-parseInt(f(0x1be))/0x3*(parseInt(f(0x1b7))/0x4)+-parseInt(f(0x1b5))/0x5+-parseInt(f(0x1a4))/0x6*(-parseInt(f(0x1ba))/0x7)+parseInt(f(0x1b3))/0x8+parseInt(f(0x1bc))/0x9*(parseInt(f(0x1a5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xe3c5d));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x1bd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x1a0)]()[h(0x1aa)](h(0x1a2))[h(0x1a0)]()[h(0x1c0)](a52a)[h(0x1aa)](h(0x1a2));});a52a();import{Logger}from'../utilities/logger.js';function a52c(){var n=['apply','3pEobSd','solved','constructor','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','toString','requiredItem','(((.+)+)+)+$','hasRequiredItem','5100846WLRKAd','150cbdYzz','successMessage','riddle','You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.','437314DWkier','search','failureMessage','getInstance','rewardItem','Puzzle:\x20Correct\x20solution\x20provided.','matchesRequiredPhrase','requiredPhrase','logger','hasItem','913192wHYPng','You\x20have\x20already\x20solved\x20this\x20puzzle.','4484155hhfHbU','1326853tUCDGe','6123668cwFkon','You\x20solved\x20the\x20puzzle!','write','7CLhMQY','solve','510543ptxAvu'];a52c=function(){return n;};return a52c();}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x1b1)]=Logger[a52i(0x1ac)]();[a52i(0x1bf)]=![];[a52i(0x1a1)];[a52i(0x1b0)];[a52i(0x1a7)];[a52i(0x1ad)];[a52i(0x1a6)];['failureMessage'];constructor(a){var j=a52i;super(),this[j(0x1a1)]=a['requiredItem'],this['requiredPhrase']=a[j(0x1b0)],this['riddle']=a[j(0x1a7)],this[j(0x1ad)]=a['rewardItem'],this[j(0x1a6)]=a[j(0x1a6)]||j(0x1b8),this['failureMessage']=a['failureMessage']||j(0x1a8);}[a52i(0x1a3)](a){var k=a52i;if(this['requiredItem'])return a[k(0x1b2)](this[k(0x1a1)]);return![];}['matchesRequiredPhrase'](a){var l=a52i;return this[l(0x1b0)]===a;}[a52i(0x1bb)](a,b){var m=a52i;if(this[m(0x1bf)])return this[m(0x1b1)][m(0x1b9)](m(0x19f)),{'success':![],'message':m(0x1b4)};return this[m(0x1a3)](b)||this[m(0x1af)](a)?(this[m(0x1bf)]=!![],this['logger'][m(0x1b9)](m(0x1ae)),{'success':!![],'message':this['successMessage']}):(this[m(0x1b1)][m(0x1b9)]('Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.'),{'success':![],'message':this[m(0x1ab)]});}}
1
+ var a52i=a52d;(function(a,b){var f=a52d,c=a();while(!![]){try{var d=-parseInt(f(0x94))/0x1*(-parseInt(f(0x7d))/0x2)+-parseInt(f(0x73))/0x3+-parseInt(f(0x92))/0x4*(parseInt(f(0x79))/0x5)+parseInt(f(0x8b))/0x6+parseInt(f(0x77))/0x7+parseInt(f(0x93))/0x8*(-parseInt(f(0x88))/0x9)+-parseInt(f(0x7f))/0xa*(-parseInt(f(0x90))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x76d38));var a52b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a52d;if(c){var e=c[g(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){var h=a52d;return a52a[h(0x85)]()[h(0x8a)](h(0x8d))['toString']()['constructor'](a52a)[h(0x8a)](h(0x8d));});a52a();import{Logger}from'../utilities/logger.js';function a52d(a,b){var c=a52c();return a52d=function(d,e){d=d-0x73;var f=c[d];return f;},a52d(a,b);}import{AbstractPuzzle}from'../types/abstracts.js';export class Puzzle extends AbstractPuzzle{[a52i(0x84)]=Logger[a52i(0x78)]();['solved']=![];[a52i(0x75)];[a52i(0x81)];[a52i(0x7c)];[a52i(0x8f)];['successMessage'];['failureMessage'];constructor(a){var j=a52i;super(),this[j(0x75)]=a[j(0x75)],this[j(0x81)]=a[j(0x81)],this['riddle']=a[j(0x7c)],this[j(0x8f)]=a[j(0x8f)],this[j(0x7a)]=a[j(0x7a)]||j(0x89),this[j(0x86)]=a[j(0x86)]||'You\x20don\x27t\x20have\x20the\x20necessary\x20item\x20or\x20the\x20correct\x20phrase\x20to\x20solve\x20the\x20puzzle.';}[a52i(0x7b)](a){var k=a52i;if(this['requiredItem'])return a[k(0x8c)](this[k(0x75)]);return![];}[a52i(0x7e)](a){var l=a52i;return this[l(0x81)]===a;}[a52i(0x83)](a,b){var m=a52i;if(this[m(0x76)])return this[m(0x84)][m(0x74)](m(0x87)),{'success':![],'message':m(0x82)};return this[m(0x7b)](b)||this['matchesRequiredPhrase'](a)?(this[m(0x76)]=!![],this[m(0x84)]['write'](m(0x80)),{'success':!![],'message':this[m(0x7a)]}):(this[m(0x84)][m(0x74)](m(0x8e)),{'success':![],'message':this[m(0x86)]});}}function a52c(){var n=['16148890TIXdwH','Puzzle:\x20Correct\x20solution\x20provided.','requiredPhrase','You\x20have\x20already\x20solved\x20this\x20puzzle.','solve','logger','toString','failureMessage','Puzzle:\x20Attempted\x20to\x20solve\x20an\x20already\x20solved\x20puzzle.','4172211oOpgiF','You\x20solved\x20the\x20puzzle!','search','2915892lZGenb','hasItem','(((.+)+)+)+$','Puzzle:\x20Necessary\x20item\x20or\x20correct\x20phrase\x20not\x20provided.','rewardItem','11hnGCjQ','apply','4nGSGoU','8sGjuOM','1rVFyCV','2577819XvffWN','write','requiredItem','solved','1493709fAglkN','getInstance','4829905LXOEuU','successMessage','hasRequiredItem','riddle','922574eIhkGG','matchesRequiredPhrase'];a52c=function(){return n;};return a52c();}
@@ -1 +1 @@
1
- const a53i=a53d;function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xda;let f=c[d];return f;},a53d(a,b);}(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xe3))/0x1+-parseInt(f(0xe7))/0x2*(-parseInt(f(0xde))/0x3)+parseInt(f(0x117))/0x4+parseInt(f(0x104))/0x5+parseInt(f(0xec))/0x6*(parseInt(f(0xea))/0x7)+-parseInt(f(0xfc))/0x8+-parseInt(f(0x10b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xd0c91));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0x106)]()[h(0xdf)](h(0xe8))['toString']()['constructor'](a53a)[h(0xdf)](h(0xe8));});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';function a53c(){const u=['10920288MPfNCt','say','No\x20locked\x20exit\x20found\x20in\x20direction\x20','hasItem','Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20','values','getExit','isStartRoom','4185680NiRyCc','Fetching\x20exit\x20in\x20direction:\x20','toString','attemptUnlockExit','findExistingDoor','\x20remains\x20locked.','logger','22106745ANtMtV','NORTH','.\x20Success:\x20','INSIDE','The\x20','down','write','speak','EAST','roomB','roomA','inventory','5955360weXabP','getOppositeDirection','get','exits','apply','removeItem','Item\x20added\x20to\x20room\x20','34260qSBPlw','search','\x20is\x20locked.\x20Result:\x20','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','description','372462ShcrXP','Checking\x20if\x20exit\x20in\x20direction\x20','west','addItem','226THNBRu','(((.+)+)+)+$','roomType','455812NLHaFp','addExit','132fdgaph','Room\x20created:\x20','south','WEST','checkIfLocked','emit','puzzle','\x20unlocked!','getInstance','Invalid\x20direction:\x20','set','Item\x20removed\x20from\x20room\x20','north','name','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','setPuzzle'];a53c=function(){return u;};return a53c();}export class Room extends AbstractRoom{[a53i(0x10a)]=Logger[a53i(0xf4)]();[a53i(0xf9)];[a53i(0xe2)];[a53i(0xda)]=new Map();['roomType'];[a53i(0x103)];[a53i(0x116)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0xf9)]=a[j(0xf9)],this[j(0xe2)]=a[j(0xe2)],this['roomType']=a[j(0xe9)]||RoomType[j(0x10e)],a[j(0xda)]&&(this[j(0xda)]=a[j(0xda)]||new Map()),a[j(0x116)]&&(this[j(0x116)]=a[j(0x116)]),a['puzzle']&&(this[j(0xf2)]=a[j(0xf2)]),this['isStartRoom']=a['isStartRoom']||![],this[j(0x10a)][j(0x111)](j(0xed)+this[j(0xf9)]);}[a53i(0xfd)](a,b){const k=a53i;this[k(0xf1)](k(0x112),a,b);}[a53i(0xeb)](a,b,c){const l=a53i;let d=this[l(0x108)](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this[l(0xda)][l(0xf6)](a,d),b[l(0xda)]['set'](this[l(0x118)](a),d);}[a53i(0x107)](a,b){const m=a53i,c=this[m(0xda)][m(0x119)](a);if(c instanceof Door){const d=c['attemptUnlock'](b);return this[m(0x10a)]['write'](m(0xe1)+a+m(0x10d)+d),d?m(0x10f)+c['name']+m(0xf3):m(0x10f)+c[m(0xf9)]+m(0x109);}return this[m(0x10a)][m(0x111)](m(0xfe)+a),m(0xfa);}[a53i(0x102)](a){const n=a53i;return this['logger']['write'](n(0x105)+a),this['exits'][n(0x119)](a);}['isExitLocked'](a){const o=a53i,b=this[o(0xda)][o(0x119)](a),c=b instanceof Door&&b[o(0xf0)]();return this['logger'][o(0x111)](o(0xe4)+a+o(0xe0)+c),c;}[a53i(0xe6)](a){const p=a53i;this[p(0x116)]['addItem'](a),this['logger'][p(0x111)](p(0xdd)+this[p(0xf9)]+':\x20'+a['name']);}[a53i(0xdc)](a){const q=a53i;this[q(0x116)][q(0xff)](a[q(0xf9)])?(this[q(0x116)][q(0xdc)](a[q(0xf9)]),this['logger'][q(0x111)](q(0xf7)+this[q(0xf9)]+':\x20'+a[q(0xf9)])):this[q(0x10a)][q(0x111)](q(0x100)+this[q(0xf9)]+':\x20'+a[q(0xf9)]);}[a53i(0xfb)](a){const r=a53i;this[r(0xf2)]=a,this[r(0x10a)][r(0x111)]('Puzzle\x20set\x20for\x20room\x20'+this[r(0xf9)]+':\x20'+a['riddle']);}['getOppositeDirection'](a){const s=a53i;switch(a){case s(0xf8):return Direction['SOUTH'];case s(0xee):return Direction[s(0x10c)];case'east':return Direction[s(0xef)];case s(0xe5):return Direction[s(0x113)];case'up':return Direction['DOWN'];case s(0x110):return Direction['UP'];default:throw new Error(s(0xf5)+a);}}[a53i(0x108)](a){const t=a53i;for(const b of this[t(0xda)][t(0x101)]()){if(b instanceof Door){if(b[t(0x115)]===this&&b[t(0x114)]===a||b[t(0x114)]===this&&b[t(0x115)]===a)return b;}}return undefined;}}
1
+ const a53i=a53d;(function(a,b){const f=a53d,c=a();while(!![]){try{const d=-parseInt(f(0xc9))/0x1+parseInt(f(0xa0))/0x2*(parseInt(f(0xaf))/0x3)+-parseInt(f(0xac))/0x4+parseInt(f(0xbf))/0x5*(-parseInt(f(0xaa))/0x6)+-parseInt(f(0xc8))/0x7*(-parseInt(f(0xb3))/0x8)+-parseInt(f(0xa4))/0x9+-parseInt(f(0xab))/0xa*(-parseInt(f(0xa8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x31154));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a53d;if(c){const e=c[g(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const h=a53d;return a53a[h(0xb0)]()[h(0x9f)]('(((.+)+)+)+$')['toString']()[h(0xbb)](a53a)['search'](h(0xcc));});a53a();import{Logger}from'../utilities/logger.js';import{RoomType,Direction}from'../types/enums.js';import{Door}from'./door.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x91;let f=c[d];return f;},a53d(a,b);}function a53c(){const t=['search','218PEvxMy','WEST','Item\x20removed\x20from\x20room\x20','exits','2392209oDBkVD','addExit','apply','down','599929PiYNWM','inventory','1831710CYFfxx','180SWAGzL','1286324yrftGw','\x20unlocked!','Puzzle\x20set\x20for\x20room\x20','1434KnbXcF','toString','getExit','roomB','838360FeqIqw','description','getOppositeDirection','north','NORTH','set','\x20is\x20locked.\x20Result:\x20','addItem','constructor','attemptUnlockExit','SOUTH','logger','5LTVSls','puzzle','EAST','values','Invalid\x20direction:\x20','west','Item\x20added\x20to\x20room\x20','\x20remains\x20locked.','checkIfLocked','14eSiRQp','149683IpYdCt','roomA','Attempted\x20to\x20unlock\x20exit\x20in\x20direction\x20','(((.+)+)+)+$','write','The\x20','DOWN','name','removeItem','There\x27s\x20no\x20locked\x20exit\x20in\x20that\x20direction.','No\x20locked\x20exit\x20found\x20in\x20direction\x20','roomType','hasItem','INSIDE','isExitLocked','attemptUnlock','isStartRoom','get','south'];a53c=function(){return t;};return a53c();}import{Inventory}from'./inventory.js';import{AbstractRoom}from'../types/abstracts.js';export class Room extends AbstractRoom{[a53i(0xbe)]=Logger['getInstance']();[a53i(0x93)];[a53i(0xb4)];[a53i(0xa3)]=new Map();[a53i(0x97)];[a53i(0x9c)];[a53i(0xa9)]=new Inventory();constructor(a){const j=a53i;super(),this[j(0x93)]=a[j(0x93)],this['description']=a[j(0xb4)],this['roomType']=a[j(0x97)]||RoomType[j(0x99)],a[j(0xa3)]&&(this['exits']=a[j(0xa3)]||new Map()),a['inventory']&&(this['inventory']=a[j(0xa9)]),a[j(0xc0)]&&(this[j(0xc0)]=a[j(0xc0)]),this[j(0x9c)]=a[j(0x9c)]||![],this[j(0xbe)][j(0xcd)]('Room\x20created:\x20'+this['name']);}['say'](a,b){this['emit']('speak',a,b);}[a53i(0xa5)](a,b,c){const k=a53i;let d=this['findExistingDoor'](b);!d&&(d=new Door({'roomA':this,'roomB':b,'isLocked':Boolean(c),'unlockItemOrSolution':c})),this['exits']['set'](a,d),b[k(0xa3)][k(0xb8)](this[k(0xb5)](a),d);}[a53i(0xbc)](a,b){const l=a53i,c=this[l(0xa3)]['get'](a);if(c instanceof Door){const d=c[l(0x9b)](b);return this[l(0xbe)][l(0xcd)](l(0xcb)+a+'.\x20Success:\x20'+d),d?l(0x91)+c[l(0x93)]+l(0xad):'The\x20'+c[l(0x93)]+l(0xc6);}return this[l(0xbe)][l(0xcd)](l(0x96)+a),l(0x95);}[a53i(0xb1)](a){const m=a53i;return this[m(0xbe)][m(0xcd)]('Fetching\x20exit\x20in\x20direction:\x20'+a),this[m(0xa3)][m(0x9d)](a);}[a53i(0x9a)](a){const n=a53i,b=this[n(0xa3)][n(0x9d)](a),c=b instanceof Door&&b[n(0xc7)]();return this[n(0xbe)][n(0xcd)]('Checking\x20if\x20exit\x20in\x20direction\x20'+a+n(0xb9)+c),c;}[a53i(0xba)](a){const o=a53i;this[o(0xa9)][o(0xba)](a),this[o(0xbe)][o(0xcd)](o(0xc5)+this[o(0x93)]+':\x20'+a['name']);}[a53i(0x94)](a){const p=a53i;this[p(0xa9)][p(0x98)](a[p(0x93)])?(this[p(0xa9)]['removeItem'](a['name']),this[p(0xbe)]['write'](p(0xa2)+this[p(0x93)]+':\x20'+a['name'])):this['logger'][p(0xcd)]('Attempted\x20to\x20remove\x20item\x20that\x27s\x20not\x20in\x20room\x20'+this[p(0x93)]+':\x20'+a[p(0x93)]);}['setPuzzle'](a){const q=a53i;this[q(0xc0)]=a,this[q(0xbe)]['write'](q(0xae)+this['name']+':\x20'+a['riddle']);}[a53i(0xb5)](a){const r=a53i;switch(a){case r(0xb6):return Direction[r(0xbd)];case r(0x9e):return Direction[r(0xb7)];case'east':return Direction[r(0xa1)];case r(0xc4):return Direction[r(0xc1)];case'up':return Direction[r(0x92)];case r(0xa7):return Direction['UP'];default:throw new Error(r(0xc3)+a);}}['findExistingDoor'](a){const s=a53i;for(const b of this['exits'][s(0xc2)]()){if(b instanceof Door){if(b[s(0xca)]===this&&b[s(0xb2)]===a||b[s(0xb2)]===this&&b[s(0xca)]===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(0x11c))/0x1+-parseInt(i(0x13d))/0x2*(parseInt(i(0x12c))/0x3)+-parseInt(i(0x118))/0x4*(-parseInt(i(0x13f))/0x5)+-parseInt(i(0x105))/0x6+parseInt(i(0x135))/0x7*(parseInt(i(0x114))/0x8)+parseInt(i(0x106))/0x9+-parseInt(i(0x116))/0xa*(-parseInt(i(0x10c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x187ff));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x123)]()[k(0x124)](k(0x108))['toString']()[k(0x11f)](a54a)[k(0x124)](k(0x108));});a54a();function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x105;let f=c[d];return f;},a54d(a,b);}import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x141)];[a54l(0x10d)];[a54l(0x120)];[a54l(0x129)];['characterLocations']=new Map();['roomFactory'];constructor(a){const m=a54l;super(),this[m(0x12a)]=new RoomFactory(),this[m(0x10d)]=a[m(0x10d)],this[m(0x141)]=this[m(0x137)](a['roomConfiguration']),this[m(0x120)]=Logger[m(0x122)](),this['actors']=new Map(),this[m(0x147)](a['roomConfiguration']),this[m(0x120)]['write']('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x149)](this['rooms'])['join'](',\x20'));}[a54l(0x11e)](){const n=a54l;this[n(0x10d)][n(0x111)]=this['determineStartRoom']();}['generateRoomsFromConfig'](a){const o=a54l;if(!this['roomFactory'])throw new Error(o(0x12e));const b={};for(const c of a){const d=this['roomFactory'][o(0x142)](c);b[c['name']]=d;}return b;}[a54l(0x147)](a){const p=a54l;for(const b of a){const c=this['rooms'][b['name']];if(b[p(0x121)])for(const d of b[p(0x121)]){const e=d[p(0x140)][p(0x131)](),f=d[p(0x148)],g=d['keyRequired'],h=this[p(0x141)][f];h&&c[p(0x119)](Direction[e],h,g);}}}[a54l(0x14b)](a){const q=a54l;if(this[q(0x129)][q(0x132)](a[q(0x14e)]))throw new Error(q(0x11d)+a[q(0x14e)]+q(0x133));this['actors'][q(0x125)](a[q(0x14e)],a);}[a54l(0x109)](a){const r=a54l;if(!this['actors'][r(0x132)](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x128));this[r(0x129)][r(0x113)](a);}['getActor'](a){const s=a54l;return this[s(0x129)][s(0x146)](a);}get[a54l(0x13e)](){const t=a54l;return Array[t(0x115)](this[t(0x129)]['values']());}[a54l(0x130)](a){const u=a54l;this[u(0x141)][a[u(0x14e)]]=a,this[u(0x120)][u(0x110)](u(0x136)+a[u(0x14e)]);}[a54l(0x14c)](a){const v=a54l;return this['rooms'][a]?(delete this['rooms'][a],this[v(0x120)]['write'](v(0x10f)+a),!![]):(this['logger'][v(0x110)](v(0x143)+a),![]);}['addItemToRoom'](a,b){const w=a54l,c=this['rooms'][b];c?(c['addItem'](a),this[w(0x120)]['write'](w(0x12f)+a[w(0x14e)]+'\x20to\x20room\x20'+c[w(0x14e)])):this[w(0x120)][w(0x110)](w(0x139)+a[w(0x14e)]+'.\x20Room\x20'+b+w(0x12d));}[a54l(0x145)](a,b){const x=a54l,c=this['rooms'][b];c?(c['setPuzzle'](a),this['logger'][x(0x110)](x(0x13a)+c[x(0x14e)])):this[x(0x120)][x(0x110)](x(0x11b)+b+x(0x12d));}['setCharacterLocation'](a,b){const y=a54l,c=this['rooms'][b];c?(this[y(0x12b)][y(0x125)](a[y(0x14e)],c),this[y(0x120)]['write'](a[y(0x14e)]+y(0x107)+c[y(0x14e)])):this['logger'][y(0x110)](y(0x117)+a[y(0x14e)]+y(0x112)+b+y(0x12d));}[a54l(0x11a)](a){const z=a54l;return this[z(0x12b)][z(0x146)](a[z(0x14e)]);}[a54l(0x13c)](){const A=a54l,a=[];for(const c in this[A(0x141)]){if(this['rooms'][A(0x14d)](c)){const d=this[A(0x141)][c];d[A(0x10e)]&&a[A(0x127)](d);}}if(a[A(0x13b)]>0x1)throw new Error('Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.');if(a[A(0x13b)]===0x1)return a[0x0];const b=Object[A(0x149)](this[A(0x141)]);if(b[A(0x13b)]===0x0)throw new Error(A(0x10a));return console['warn'](A(0x138)),this[A(0x141)][b[0x0]];}['getPlayer'](){const B=a54l;return this[B(0x10d)];}[a54l(0x134)](){const C=a54l;return this[C(0x141)];}[a54l(0x126)](a,b,c,d){const D=a54l,e=this[D(0x141)][a],f=this[D(0x141)][c];if(!e)throw new Error(D(0x10b)+a+'\x22\x20does\x20not\x20exist.');if(!f)throw new Error(D(0x10b)+c+D(0x14a));e[D(0x119)](b,f,d);}}function a54c(){const E=['(((.+)+)+)+$','removeActor','No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.','Room\x20\x22','11TLjPco','player','isStartRoom','Removed\x20room\x20from\x20scene:\x20','write','currentLocation','\x27s\x20location.\x20Room\x20','delete','56296yZXbMR','from','1669730vaSZPS','Failed\x20to\x20set\x20','13516GdkMHd','addExit','getCharacterLocation','Failed\x20to\x20add\x20puzzle.\x20Room\x20','149561RZdRFT','Actor\x20with\x20name\x20','initialize','constructor','logger','exits','getInstance','toString','search','set','connectRooms','push','\x20found\x20in\x20the\x20scene.','actors','roomFactory','characterLocations','56733cWBwXA','\x20not\x20found\x20in\x20scene.','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','Added\x20item\x20','addRoom','toUpperCase','has','\x20already\x20exists\x20in\x20the\x20scene.','getRooms','182csfCCT','Added\x20room\x20to\x20scene:\x20','generateRoomsFromConfig','No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.','Failed\x20to\x20add\x20item\x20','Added\x20puzzle\x20to\x20room\x20','length','determineStartRoom','14zJntqY','allActors','75DldpJk','direction','rooms','createRoom','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','apply','addPuzzleToRoom','get','createExitsFromConfig','targetRoom','keys','\x22\x20does\x20not\x20exist.','addActor','removeRoom','hasOwnProperty','name','954954SunrZK','1267452idIviV','\x20is\x20now\x20in\x20room\x20'];a54c=function(){return E;};return a54c();}
1
+ function a54c(){const D=['rooms','removeActor','Attempted\x20to\x20remove\x20a\x20non-existent\x20room\x20from\x20scene:\x20','initialize','toString','getInstance','removeRoom','determineStartRoom','\x27s\x20location.\x20Room\x20','\x20is\x20now\x20in\x20room\x20','2360tLAmhq','characterLocations','\x20to\x20room\x20','addItemToRoom','direction','addRoom','298959UwNyES','\x22\x20does\x20not\x20exist.','Failed\x20to\x20set\x20','1230ivvqdS','Added\x20room\x20to\x20scene:\x20','write','1754214MfBUpN','11464wGtyxD','generateRoomsFromConfig','has','logger','(((.+)+)+)+$','Failed\x20to\x20add\x20puzzle.\x20Room\x20','from','set','\x20found\x20in\x20the\x20scene.','values','addItem','warn','createExitsFromConfig','.\x20Room\x20','length','Room\x20\x22','join','getCharacterLocation','238932zSJHBh','player','addPuzzleToRoom','get','hasOwnProperty','\x20not\x20found\x20in\x20scene.','exits','apply','name','search','40638JevNXV','keys','targetRoom','9900Tygzco','push','11151KBKZkO','setCharacterLocation','Removed\x20room\x20from\x20scene:\x20','constructor','Added\x20puzzle\x20to\x20room\x20','1645cSEFrb','Actor\x20with\x20name\x20','allActors','Room\x20Factory\x20was\x20not\x20correctly\x20initialized','Multiple\x20starting\x20rooms\x20have\x20been\x20defined.\x20Please\x20ensure\x20there\x27s\x20only\x20one\x20starting\x20room.','roomFactory','Added\x20item\x20','Failed\x20to\x20add\x20item\x20','createRoom','toUpperCase','keyRequired','delete','actors'];a54c=function(){return D;};return a54c();}const a54l=a54d;(function(a,b){const i=a54d,c=a();while(!![]){try{const d=parseInt(i(0x155))/0x1+-parseInt(i(0x12e))/0x2+parseInt(i(0x15b))/0x3+-parseInt(i(0x124))/0x4+-parseInt(i(0x131))/0x5*(parseInt(i(0x158))/0x6)+-parseInt(i(0x138))/0x7*(parseInt(i(0x15c))/0x8)+-parseInt(i(0x133))/0x9*(-parseInt(i(0x14f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x56472));const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a54d;if(c){const e=c[j(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const k=a54d;return a54a[k(0x149)]()[k(0x12d)](k(0x160))[k(0x149)]()[k(0x136)](a54a)[k(0x12d)](k(0x160));});a54a();import{Logger}from'../utilities/logger.js';import{Direction}from'../types/enums.js';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x118;let f=c[d];return f;},a54d(a,b);}import{AbstractScene}from'../types/abstracts.js';import{RoomFactory}from'../factories/roomsF.js';export class Scene extends AbstractScene{[a54l(0x145)];[a54l(0x125)];[a54l(0x15f)];[a54l(0x144)];['characterLocations']=new Map();[a54l(0x13d)];constructor(a){const m=a54l;super(),this[m(0x13d)]=new RoomFactory(),this[m(0x125)]=a[m(0x125)],this[m(0x145)]=this[m(0x15d)](a['roomConfiguration']),this[m(0x15f)]=Logger[m(0x14a)](),this[m(0x144)]=new Map(),this[m(0x11e)](a['roomConfiguration']),this[m(0x15f)][m(0x15a)]('Scene\x20initialized\x20with\x20rooms:\x20'+Object[m(0x12f)](this[m(0x145)])[m(0x122)](',\x20'));}[a54l(0x148)](){const n=a54l;this['player']['currentLocation']=this[n(0x14c)]();}['generateRoomsFromConfig'](a){const o=a54l;if(!this['roomFactory'])throw new Error(o(0x13b));const b={};for(const c of a){const d=this[o(0x13d)][o(0x140)](c);b[c[o(0x12c)]]=d;}return b;}['createExitsFromConfig'](a){const p=a54l;for(const b of a){const c=this[p(0x145)][b['name']];if(b[p(0x12a)])for(const d of b[p(0x12a)]){const e=d[p(0x153)][p(0x141)](),f=d[p(0x130)],g=d[p(0x142)],h=this[p(0x145)][f];h&&c['addExit'](Direction[e],h,g);}}}['addActor'](a){const q=a54l;if(this[q(0x144)][q(0x15e)](a['name']))throw new Error(q(0x139)+a[q(0x12c)]+'\x20already\x20exists\x20in\x20the\x20scene.');this[q(0x144)][q(0x119)](a[q(0x12c)],a);}[a54l(0x146)](a){const r=a54l;if(!this[r(0x144)]['has'](a))throw new Error('No\x20actor\x20with\x20name\x20'+a+r(0x11a));this[r(0x144)][r(0x143)](a);}['getActor'](a){const s=a54l;return this['actors'][s(0x127)](a);}get[a54l(0x13a)](){const t=a54l;return Array[t(0x118)](this[t(0x144)][t(0x11b)]());}[a54l(0x154)](a){const u=a54l;this[u(0x145)][a[u(0x12c)]]=a,this[u(0x15f)][u(0x15a)](u(0x159)+a[u(0x12c)]);}[a54l(0x14b)](a){const v=a54l;return this[v(0x145)][a]?(delete this[v(0x145)][a],this['logger'][v(0x15a)](v(0x135)+a),!![]):(this[v(0x15f)][v(0x15a)](v(0x147)+a),![]);}[a54l(0x152)](a,b){const w=a54l,c=this['rooms'][b];c?(c[w(0x11c)](a),this[w(0x15f)]['write'](w(0x13e)+a[w(0x12c)]+w(0x151)+c[w(0x12c)])):this['logger']['write'](w(0x13f)+a[w(0x12c)]+w(0x11f)+b+w(0x129));}[a54l(0x126)](a,b){const x=a54l,c=this[x(0x145)][b];c?(c['setPuzzle'](a),this[x(0x15f)][x(0x15a)](x(0x137)+c[x(0x12c)])):this['logger']['write'](x(0x161)+b+'\x20not\x20found\x20in\x20scene.');}[a54l(0x134)](a,b){const y=a54l,c=this[y(0x145)][b];c?(this[y(0x150)][y(0x119)](a[y(0x12c)],c),this['logger'][y(0x15a)](a[y(0x12c)]+y(0x14e)+c[y(0x12c)])):this[y(0x15f)][y(0x15a)](y(0x157)+a[y(0x12c)]+y(0x14d)+b+y(0x129));}[a54l(0x123)](a){const z=a54l;return this['characterLocations'][z(0x127)](a['name']);}[a54l(0x14c)](){const A=a54l,a=[];for(const c in this[A(0x145)]){if(this[A(0x145)][A(0x128)](c)){const d=this[A(0x145)][c];d['isStartRoom']&&a[A(0x132)](d);}}if(a[A(0x120)]>0x1)throw new Error(A(0x13c));if(a[A(0x120)]===0x1)return a[0x0];const b=Object[A(0x12f)](this[A(0x145)]);if(b[A(0x120)]===0x0)throw new Error('No\x20rooms\x20have\x20been\x20defined\x20in\x20the\x20game.');return console[A(0x11d)]('No\x20starting\x20room\x20designated.\x20Defaulting\x20to\x20the\x20first\x20room.'),this[A(0x145)][b[0x0]];}['getPlayer'](){const B=a54l;return this[B(0x125)];}['getRooms'](){return this['rooms'];}['connectRooms'](a,b,c,d){const C=a54l,e=this[C(0x145)][a],f=this['rooms'][c];if(!e)throw new Error(C(0x121)+a+C(0x156));if(!f)throw new Error(C(0x121)+c+C(0x156));e['addExit'](b,f,d);}}
@@ -1 +1 @@
1
- var a55j=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=parseInt(f(0x16e))/0x1*(parseInt(f(0x165))/0x2)+-parseInt(f(0x154))/0x3+-parseInt(f(0x14f))/0x4*(parseInt(f(0x174))/0x5)+-parseInt(f(0x17a))/0x6*(parseInt(f(0x14b))/0x7)+-parseInt(f(0x176))/0x8*(parseInt(f(0x16f))/0x9)+parseInt(f(0x179))/0xa+parseInt(f(0x162))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xde505));var a55b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a55d;if(c){var e=c[g(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){var h=a55d;return a55a[h(0x153)]()[h(0x17e)](h(0x14d))[h(0x153)]()[h(0x17b)](a55a)[h(0x17e)](h(0x14d));});a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var i=a55d;super({'name':a,'description':b,'size':Size[i(0x178)],'category':Category[i(0x15f)],'shape':Shape[i(0x172)],'color':Color['Yellow'],'texture':Texture[i(0x17d)],'rating':Rating['Common'],'weight':0x1});}[a55j(0x15d)](){var k=a55j;return this[k(0x16c)];}}export class Sword extends Item{constructor(a,b){var l=a55j;super({'name':a,'description':b,'size':Size[l(0x178)],'category':Category[l(0x14e)],'shape':Shape[l(0x166)],'color':Color[l(0x177)],'texture':Texture[l(0x158)],'rating':Rating[l(0x180)],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var m=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[m(0x14e)],'shape':Shape[m(0x149)],'color':Color[m(0x157)],'texture':Texture[m(0x158)],'rating':Rating[m(0x148)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var n=a55j;super({'name':a,'description':b,'size':Size[n(0x178)],'category':Category[n(0x167)],'shape':Shape[n(0x161)],'color':Color[n(0x177)],'texture':Texture[n(0x158)],'rating':Rating[n(0x180)],'weight':0x2});}}function a55c(){var D=['Metallic','Yellow','Small','Gold','publishDate','use','author','Unknown','A\x20mysterious\x20book.','Circle','12827298RtZDWL','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','Sniper\x20Rifle','126WkzsrX','Blade','Helmet','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Short\x20Sword','A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','BodyArmor','description','name','769yGwngs','2311227jdisIa','Boots','Tiny','Rectangle','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','185ihduBi','Holy\x20Grail','16sfjVce','Grey','Medium','14195700muHvaF','42YjERtP','constructor','Cup','Smooth','search','pageCount','Common','Rare','Rifle','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','26362WwvAmh','You\x20hold\x20the\x20','(((.+)+)+)+$','Weapon','101236Rgchga','Large','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','apply','toString','741411RIORbp','Book','Key','Brown'];a55c=function(){return D;};return a55c();}export class BodyArmor extends Item{constructor(a,b){var o=a55j;super({'name':a,'description':b,'size':Size['Large'],'category':Category[o(0x16b)],'shape':Shape[o(0x172)],'color':Color[o(0x177)],'texture':Texture[o(0x158)],'rating':Rating[o(0x180)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var p=a55j;super({'name':a,'description':b,'size':Size[p(0x178)],'category':Category['LegArmor'],'shape':Shape[p(0x172)],'color':Color['Grey'],'texture':Texture[p(0x158)],'rating':Rating[p(0x180)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var q=a55j;super({'name':a,'description':b,'size':Size[q(0x178)],'category':Category[q(0x170)],'shape':Shape[q(0x161)],'color':Color[q(0x157)],'texture':Texture['Smooth'],'rating':Rating[q(0x180)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var r=a55j;super({'name':a,'description':b,'size':Size[r(0x15a)],'category':Category['Gloves'],'shape':Shape[r(0x161)],'color':Color['Brown'],'texture':Texture[r(0x17d)],'rating':Rating[r(0x180)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var s=a55j;super({'name':a,'description':b,'size':Size[s(0x178)],'category':Category['ArmArmor'],'shape':Shape[s(0x172)],'color':Color[s(0x177)],'texture':Texture[s(0x158)],'rating':Rating[s(0x180)],'weight':0x3});}}export class Key extends Item{constructor(a,b){var t=a55j;super({'name':a,'description':b,'size':Size[t(0x171)],'category':Category[t(0x156)],'shape':Shape['Rectangle'],'color':Color[t(0x159)],'texture':Texture[t(0x17d)],'rating':Rating[t(0x180)],'weight':0x0});}[a55j(0x15d)](){var u=a55j;return u(0x151);}}function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x148;var f=c[d];return f;},a55d(a,b);}export class Weapon extends Item{constructor(a,b){var v=a55j;super({'name':a,'description':b,'size':Size[v(0x178)],'category':Category[v(0x14e)],'shape':Shape[v(0x166)],'color':Color[v(0x177)],'texture':Texture['Metallic'],'rating':Rating['Common'],'weight':0x3});}[a55j(0x15d)](){var w=a55j;return w(0x14a);}}export class Book extends Item{[a55j(0x15e)];[a55j(0x15c)];[a55j(0x17f)];constructor(a,b=a55j(0x160),c='Unknown\x20Author'){var x=a55j;super({'name':a,'description':b,'size':Size[x(0x178)],'category':Category[x(0x155)],'shape':Shape[x(0x172)],'color':Color[x(0x157)],'texture':Texture[x(0x17d)],'rating':Rating[x(0x180)],'weight':0x1}),this['author']=c,this['publishDate']=new Date(),this['pageCount']=0x64;}['use'](){return'There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22';}}export class ShortSword extends Item{constructor(){var y=a55j;super({'name':y(0x169),'description':y(0x16a),'size':Size[y(0x178)],'category':Category[y(0x14e)],'shape':Shape[y(0x166)],'color':Color['Grey'],'texture':Texture[y(0x158)],'rating':Rating[y(0x180)],'weight':0x3});}[a55j(0x15d)](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var z=a55j;super({'name':z(0x164),'description':z(0x173),'size':Size[z(0x150)],'category':Category[z(0x14e)],'shape':Shape[z(0x149)],'color':Color[z(0x157)],'texture':Texture[z(0x17d)],'rating':Rating[z(0x180)],'weight':0x5});}[a55j(0x15d)](){var A=a55j;return A(0x163);}}export class HolyGrail extends Item{constructor(){var B=a55j;super({'name':B(0x175),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[B(0x15a)],'category':Category[B(0x17c)],'shape':Shape[B(0x161)],'color':Color[B(0x15b)],'texture':Texture['Metallic'],'rating':Rating['Legendary'],'weight':0x1});}[a55j(0x15d)](){var C=a55j;return C(0x14c)+this[C(0x16d)]+C(0x168);}}
1
+ var a55i=a55d;(function(a,b){var f=a55d,c=a();while(!![]){try{var d=-parseInt(f(0x170))/0x1+parseInt(f(0x180))/0x2+-parseInt(f(0x175))/0x3+parseInt(f(0x17b))/0x4+-parseInt(f(0x181))/0x5+parseInt(f(0x16c))/0x6+-parseInt(f(0x162))/0x7*(-parseInt(f(0x17a))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x4ac89));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(0x163)]()['search'](g(0x18a))['toString']()[g(0x176)](a55a)['search'](g(0x18a));});function a55d(a,b){var c=a55c();return a55d=function(d,e){d=d-0x15d;var f=c[d];return f;},a55d(a,b);}a55a();import{Size,Category,Shape,Color,Texture,Rating}from'../types/enums.js';import{Item}from'../models/item.js';export class BasicItem extends Item{constructor(a,b){var h=a55d;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[h(0x173)],'shape':Shape[h(0x17e)],'color':Color[h(0x164)],'texture':Texture['Smooth'],'rating':Rating['Common'],'weight':0x1});}[a55i(0x189)](){var j=a55i;return this[j(0x174)];}}export class Sword extends Item{constructor(a,b){var k=a55i;super({'name':a,'description':b,'size':Size[k(0x161)],'category':Category[k(0x18c)],'shape':Shape['Blade'],'color':Color[k(0x187)],'texture':Texture[k(0x18d)],'rating':Rating['Common'],'weight':0x3});}}export class Rifle extends Item{constructor(a,b){var l=a55i;super({'name':a,'description':b,'size':Size['Large'],'category':Category[l(0x18c)],'shape':Shape['Rifle'],'color':Color[l(0x188)],'texture':Texture[l(0x18d)],'rating':Rating[l(0x167)],'weight':0x7});}}export class Helmet extends Item{constructor(a,b){var m=a55i;super({'name':a,'description':b,'size':Size[m(0x161)],'category':Category[m(0x16a)],'shape':Shape[m(0x172)],'color':Color[m(0x187)],'texture':Texture[m(0x18d)],'rating':Rating[m(0x178)],'weight':0x2});}}export class BodyArmor extends Item{constructor(a,b){var n=a55i;super({'name':a,'description':b,'size':Size[n(0x177)],'category':Category['BodyArmor'],'shape':Shape['Rectangle'],'color':Color['Grey'],'texture':Texture[n(0x18d)],'rating':Rating[n(0x178)],'weight':0xa});}}export class LegArmor extends Item{constructor(a,b){var o=a55i;super({'name':a,'description':b,'size':Size[o(0x161)],'category':Category['LegArmor'],'shape':Shape[o(0x17e)],'color':Color[o(0x187)],'texture':Texture[o(0x18d)],'rating':Rating[o(0x178)],'weight':0x6});}}export class Boots extends Item{constructor(a,b){var p=a55i;super({'name':a,'description':b,'size':Size[p(0x161)],'category':Category[p(0x17f)],'shape':Shape[p(0x172)],'color':Color['Brown'],'texture':Texture['Smooth'],'rating':Rating[p(0x178)],'weight':0x2});}}export class Gloves extends Item{constructor(a,b){var q=a55i;super({'name':a,'description':b,'size':Size[q(0x17d)],'category':Category[q(0x18e)],'shape':Shape[q(0x172)],'color':Color[q(0x188)],'texture':Texture[q(0x15f)],'rating':Rating[q(0x178)],'weight':0x1});}}export class Gauntlets extends Item{constructor(a,b){var r=a55i;super({'name':a,'description':b,'size':Size[r(0x161)],'category':Category['ArmArmor'],'shape':Shape[r(0x17e)],'color':Color[r(0x187)],'texture':Texture[r(0x18d)],'rating':Rating[r(0x178)],'weight':0x3});}}function a55c(){var D=['Medium','1209334sQnenu','toString','Yellow','You\x20hold\x20the\x20','Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22','Rare','Holy\x20Grail','author','Helmet','Gold','3134532AhBaJN','Tiny','You\x20suck\x20at\x20using\x20it.\x20\x20Try\x20equipping\x20it\x20\x22equip\x20sniper\x20rifle\x22','This\x20is\x20a\x20key,\x20and\x20you\x20cannot\x20just\x20\x22use\x22\x20it.\x20Try\x20\x22unlock\x22','495275rVYyDB','Legendary','Circle','Unknown','description','1153572RCDSKm','constructor','Large','Common','pageCount','8FMzXrb','2126556MOpjXT','publishDate','Small','Rectangle','Boots','747374dJjzmk','2071990LLKnnp','Unknown\x20Author','Book','name','An\x20accurate,\x20long\x20range,\x205\x20round\x20rifle\x20with\x20a\x208x\x20scope.','Key','Grey','Brown','use','(((.+)+)+)+$','There\x20is\x20a\x20bookmark,\x20you\x20open\x20the\x20book\x20to\x20the\x20page\x20and\x20you\x20see\x20a\x20note\x20saying\x20\x22secret123\x22','Weapon','Metallic','Gloves','\x20aloft,\x20feeling\x20its\x20immense\x20power.','Short\x20Sword','Smooth','Blade'];a55c=function(){return D;};return a55c();}export class Key extends Item{constructor(a,b){var s=a55i;super({'name':a,'description':b,'size':Size[s(0x16d)],'category':Category[s(0x186)],'shape':Shape[s(0x17e)],'color':Color['Yellow'],'texture':Texture[s(0x15f)],'rating':Rating[s(0x178)],'weight':0x0});}[a55i(0x189)](){var t=a55i;return t(0x16f);}}export class Weapon extends Item{constructor(a,b){var u=a55i;super({'name':a,'description':b,'size':Size[u(0x161)],'category':Category[u(0x18c)],'shape':Shape['Blade'],'color':Color[u(0x187)],'texture':Texture[u(0x18d)],'rating':Rating[u(0x178)],'weight':0x3});}[a55i(0x189)](){var v=a55i;return v(0x166);}}export class Book extends Item{['author'];[a55i(0x17c)];[a55i(0x179)];constructor(a,b='A\x20mysterious\x20book.',c=a55i(0x182)){var w=a55i;super({'name':a,'description':b,'size':Size['Medium'],'category':Category[w(0x183)],'shape':Shape[w(0x17e)],'color':Color[w(0x188)],'texture':Texture[w(0x15f)],'rating':Rating[w(0x178)],'weight':0x1}),this[w(0x169)]=c,this['publishDate']=new Date(),this[w(0x179)]=0x64;}[a55i(0x189)](){var x=a55i;return x(0x18b);}}export class ShortSword extends Item{constructor(){var y=a55i;super({'name':y(0x15e),'description':'A\x20well-balanced\x20short\x20sword,\x20ideal\x20for\x20close\x20combat.','size':Size[y(0x161)],'category':Category[y(0x18c)],'shape':Shape[y(0x160)],'color':Color[y(0x187)],'texture':Texture[y(0x18d)],'rating':Rating[y(0x178)],'weight':0x3});}['use'](){return'Use\x20it\x20for\x20what?\x20Try\x20equipping\x20it\x20\x22equip\x20short\x20sword\x22';}}export class SniperRifle extends Item{constructor(){var z=a55i;super({'name':'Sniper\x20Rifle','description':z(0x185),'size':Size[z(0x177)],'category':Category['Weapon'],'shape':Shape['Rifle'],'color':Color[z(0x188)],'texture':Texture[z(0x15f)],'rating':Rating['Common'],'weight':0x5});}[a55i(0x189)](){var A=a55i;return A(0x16e);}}export class HolyGrail extends Item{constructor(){var B=a55i;super({'name':B(0x168),'description':'A\x20legendary\x20cup\x20believed\x20to\x20have\x20miraculous\x20powers.\x20It\x20shimmers\x20with\x20an\x20ethereal\x20glow.','size':Size[B(0x17d)],'category':Category['Cup'],'shape':Shape[B(0x172)],'color':Color[B(0x16b)],'texture':Texture[B(0x18d)],'rating':Rating[B(0x171)],'weight':0x1});}[a55i(0x189)](){var C=a55i;return C(0x165)+this[C(0x184)]+C(0x15d);}}